@kya-os/contracts 1.7.32 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (335) hide show
  1. package/dist/__fixtures__/index.d.ts +8 -0
  2. package/dist/__fixtures__/index.d.ts.map +1 -0
  3. package/dist/__fixtures__/index.js +29 -0
  4. package/dist/__fixtures__/index.js.map +1 -0
  5. package/dist/__fixtures__/proof/ed25519-fixtures.d.ts +253 -0
  6. package/dist/__fixtures__/proof/ed25519-fixtures.d.ts.map +1 -0
  7. package/dist/__fixtures__/proof/ed25519-fixtures.js +247 -0
  8. package/dist/__fixtures__/proof/ed25519-fixtures.js.map +1 -0
  9. package/dist/__fixtures__/proof/keys-and-payloads.json +103 -0
  10. package/dist/agent-deployment-utils.d.ts +1 -0
  11. package/dist/agent-deployment-utils.d.ts.map +1 -0
  12. package/dist/agent-deployment-utils.js +1 -0
  13. package/dist/agent-deployment-utils.js.map +1 -0
  14. package/dist/agent-deployment.d.ts +19 -18
  15. package/dist/agent-deployment.d.ts.map +1 -0
  16. package/dist/agent-deployment.js +1 -0
  17. package/dist/agent-deployment.js.map +1 -0
  18. package/dist/agentshield-api/admin-schemas.d.ts +3 -2
  19. package/dist/agentshield-api/admin-schemas.d.ts.map +1 -0
  20. package/dist/agentshield-api/admin-schemas.js +1 -0
  21. package/dist/agentshield-api/admin-schemas.js.map +1 -0
  22. package/dist/agentshield-api/admin-types.d.ts +1 -0
  23. package/dist/agentshield-api/admin-types.d.ts.map +1 -0
  24. package/dist/agentshield-api/admin-types.js +1 -0
  25. package/dist/agentshield-api/admin-types.js.map +1 -0
  26. package/dist/agentshield-api/endpoints.d.ts +1 -0
  27. package/dist/agentshield-api/endpoints.d.ts.map +1 -0
  28. package/dist/agentshield-api/endpoints.js +1 -0
  29. package/dist/agentshield-api/endpoints.js.map +1 -0
  30. package/dist/agentshield-api/index.d.ts +1 -0
  31. package/dist/agentshield-api/index.d.ts.map +1 -0
  32. package/dist/agentshield-api/index.js +1 -0
  33. package/dist/agentshield-api/index.js.map +1 -0
  34. package/dist/agentshield-api/schemas.d.ts +463 -462
  35. package/dist/agentshield-api/schemas.d.ts.map +1 -0
  36. package/dist/agentshield-api/schemas.js +1 -0
  37. package/dist/agentshield-api/schemas.js.map +1 -0
  38. package/dist/agentshield-api/types.d.ts +1 -0
  39. package/dist/agentshield-api/types.d.ts.map +1 -0
  40. package/dist/agentshield-api/types.js +1 -0
  41. package/dist/agentshield-api/types.js.map +1 -0
  42. package/dist/audit/index.d.ts +4 -4
  43. package/dist/audit/index.d.ts.map +1 -0
  44. package/dist/audit/index.js.map +1 -0
  45. package/dist/cli.d.ts +45 -44
  46. package/dist/cli.d.ts.map +1 -0
  47. package/dist/cli.js +1 -0
  48. package/dist/cli.js.map +1 -0
  49. package/dist/compute-binding.d.ts +7 -6
  50. package/dist/compute-binding.d.ts.map +1 -0
  51. package/dist/compute-binding.js +1 -0
  52. package/dist/compute-binding.js.map +1 -0
  53. package/dist/compute.d.ts +9 -8
  54. package/dist/compute.d.ts.map +1 -0
  55. package/dist/compute.js +1 -0
  56. package/dist/compute.js.map +1 -0
  57. package/dist/config/base.d.ts +1 -0
  58. package/dist/config/base.d.ts.map +1 -0
  59. package/dist/config/base.js +1 -0
  60. package/dist/config/base.js.map +1 -0
  61. package/dist/config/builder.d.ts +1 -0
  62. package/dist/config/builder.d.ts.map +1 -0
  63. package/dist/config/builder.js +1 -0
  64. package/dist/config/builder.js.map +1 -0
  65. package/dist/config/client-messages.d.ts +1 -0
  66. package/dist/config/client-messages.d.ts.map +1 -0
  67. package/dist/config/client-messages.js +1 -0
  68. package/dist/config/client-messages.js.map +1 -0
  69. package/dist/config/delegation.d.ts +1 -0
  70. package/dist/config/delegation.d.ts.map +1 -0
  71. package/dist/config/delegation.js +1 -0
  72. package/dist/config/delegation.js.map +1 -0
  73. package/dist/config/identity.d.ts +99 -98
  74. package/dist/config/identity.d.ts.map +1 -0
  75. package/dist/config/identity.js +1 -0
  76. package/dist/config/identity.js.map +1 -0
  77. package/dist/config/index.d.ts +1 -0
  78. package/dist/config/index.d.ts.map +1 -0
  79. package/dist/config/index.js +1 -0
  80. package/dist/config/index.js.map +1 -0
  81. package/dist/config/proofing.d.ts +1 -0
  82. package/dist/config/proofing.d.ts.map +1 -0
  83. package/dist/config/proofing.js +1 -0
  84. package/dist/config/proofing.js.map +1 -0
  85. package/dist/config/tool-context.d.ts +1 -0
  86. package/dist/config/tool-context.d.ts.map +1 -0
  87. package/dist/config/tool-context.js +1 -0
  88. package/dist/config/tool-context.js.map +1 -0
  89. package/dist/config/tool-protection.d.ts +1 -0
  90. package/dist/config/tool-protection.d.ts.map +1 -0
  91. package/dist/config/tool-protection.js.map +1 -0
  92. package/dist/consent/index.d.ts +1 -0
  93. package/dist/consent/index.d.ts.map +1 -0
  94. package/dist/consent/index.js +1 -0
  95. package/dist/consent/index.js.map +1 -0
  96. package/dist/consent/schemas.d.ts +73 -72
  97. package/dist/consent/schemas.d.ts.map +1 -0
  98. package/dist/consent/schemas.js +1 -0
  99. package/dist/consent/schemas.js.map +1 -0
  100. package/dist/consent/types.d.ts +1 -0
  101. package/dist/consent/types.d.ts.map +1 -0
  102. package/dist/consent/types.js +1 -0
  103. package/dist/consent/types.js.map +1 -0
  104. package/dist/dashboard-config/default-config.d.ts +1 -0
  105. package/dist/dashboard-config/default-config.d.ts.map +1 -0
  106. package/dist/dashboard-config/default-config.js.map +1 -0
  107. package/dist/dashboard-config/index.d.ts +1 -0
  108. package/dist/dashboard-config/index.d.ts.map +1 -0
  109. package/dist/dashboard-config/index.js.map +1 -0
  110. package/dist/dashboard-config/schemas.d.ts +2905 -2381
  111. package/dist/dashboard-config/schemas.d.ts.map +1 -0
  112. package/dist/dashboard-config/schemas.js.map +1 -0
  113. package/dist/dashboard-config/types.d.ts +1 -0
  114. package/dist/dashboard-config/types.d.ts.map +1 -0
  115. package/dist/dashboard-config/types.js.map +1 -0
  116. package/dist/delegation/constraints.d.ts +33 -32
  117. package/dist/delegation/constraints.d.ts.map +1 -0
  118. package/dist/delegation/constraints.js +1 -0
  119. package/dist/delegation/constraints.js.map +1 -0
  120. package/dist/delegation/index.d.ts +1 -0
  121. package/dist/delegation/index.d.ts.map +1 -0
  122. package/dist/delegation/index.js +1 -0
  123. package/dist/delegation/index.js.map +1 -0
  124. package/dist/delegation/schemas.d.ts +611 -610
  125. package/dist/delegation/schemas.d.ts.map +1 -0
  126. package/dist/delegation/schemas.js +1 -0
  127. package/dist/delegation/schemas.js.map +1 -0
  128. package/dist/deploy/index.d.ts +1 -0
  129. package/dist/deploy/index.d.ts.map +1 -0
  130. package/dist/deploy/index.js +1 -0
  131. package/dist/deploy/index.js.map +1 -0
  132. package/dist/deploy/schemas.d.ts +85 -84
  133. package/dist/deploy/schemas.d.ts.map +1 -0
  134. package/dist/deploy/schemas.js +1 -0
  135. package/dist/deploy/schemas.js.map +1 -0
  136. package/dist/deploy/types.d.ts +1 -0
  137. package/dist/deploy/types.d.ts.map +1 -0
  138. package/dist/deploy/types.js +1 -0
  139. package/dist/deploy/types.js.map +1 -0
  140. package/dist/did/index.d.ts +1 -0
  141. package/dist/did/index.d.ts.map +1 -0
  142. package/dist/did/index.js +1 -0
  143. package/dist/did/index.js.map +1 -0
  144. package/dist/did/resolve-contract.d.ts +1 -0
  145. package/dist/did/resolve-contract.d.ts.map +1 -0
  146. package/dist/did/resolve-contract.js +1 -0
  147. package/dist/did/resolve-contract.js.map +1 -0
  148. package/dist/did/schemas.d.ts +1 -0
  149. package/dist/did/schemas.d.ts.map +1 -0
  150. package/dist/did/schemas.js +1 -0
  151. package/dist/did/schemas.js.map +1 -0
  152. package/dist/did/types.d.ts +1 -0
  153. package/dist/did/types.d.ts.map +1 -0
  154. package/dist/did/types.js +1 -0
  155. package/dist/did/types.js.map +1 -0
  156. package/dist/env/constants.d.ts +1 -0
  157. package/dist/env/constants.d.ts.map +1 -0
  158. package/dist/env/constants.js +1 -0
  159. package/dist/env/constants.js.map +1 -0
  160. package/dist/env/index.d.ts +1 -0
  161. package/dist/env/index.d.ts.map +1 -0
  162. package/dist/env/index.js +1 -0
  163. package/dist/env/index.js.map +1 -0
  164. package/dist/gateway/agents.d.ts +22 -0
  165. package/dist/gateway/agents.d.ts.map +1 -0
  166. package/dist/gateway/agents.js +13 -0
  167. package/dist/gateway/agents.js.map +1 -0
  168. package/dist/gateway/cron.d.ts +34 -0
  169. package/dist/gateway/cron.d.ts.map +1 -0
  170. package/dist/gateway/cron.js +17 -0
  171. package/dist/gateway/cron.js.map +1 -0
  172. package/dist/gateway/index.d.ts +16 -574
  173. package/dist/gateway/index.d.ts.map +1 -0
  174. package/dist/gateway/index.js +30 -95
  175. package/dist/gateway/index.js.map +1 -0
  176. package/dist/gateway/sessions.d.ts +31 -0
  177. package/dist/gateway/sessions.d.ts.map +1 -0
  178. package/dist/gateway/sessions.js +16 -0
  179. package/dist/gateway/sessions.js.map +1 -0
  180. package/dist/gateway/skills.d.ts +446 -0
  181. package/dist/gateway/skills.d.ts.map +1 -0
  182. package/dist/gateway/skills.js +48 -0
  183. package/dist/gateway/skills.js.map +1 -0
  184. package/dist/gateway/usage.d.ts +44 -0
  185. package/dist/gateway/usage.d.ts.map +1 -0
  186. package/dist/gateway/usage.js +19 -0
  187. package/dist/gateway/usage.js.map +1 -0
  188. package/dist/handshake.d.ts +79 -56
  189. package/dist/handshake.d.ts.map +1 -0
  190. package/dist/handshake.js +17 -0
  191. package/dist/handshake.js.map +1 -0
  192. package/dist/identity/index.d.ts +1 -0
  193. package/dist/identity/index.d.ts.map +1 -0
  194. package/dist/identity/index.js +1 -0
  195. package/dist/identity/index.js.map +1 -0
  196. package/dist/identity/schemas.d.ts +1 -0
  197. package/dist/identity/schemas.d.ts.map +1 -0
  198. package/dist/identity/schemas.js +1 -0
  199. package/dist/identity/schemas.js.map +1 -0
  200. package/dist/index.d.ts +1 -0
  201. package/dist/index.d.ts.map +1 -0
  202. package/dist/index.js.map +1 -0
  203. package/dist/molti/admin-ws.d.ts +117 -116
  204. package/dist/molti/admin-ws.d.ts.map +1 -0
  205. package/dist/molti/admin-ws.js +1 -0
  206. package/dist/molti/admin-ws.js.map +1 -0
  207. package/dist/molti/index.d.ts +1 -0
  208. package/dist/molti/index.d.ts.map +1 -0
  209. package/dist/molti/index.js +1 -0
  210. package/dist/molti/index.js.map +1 -0
  211. package/dist/molti/schemas.d.ts +99 -98
  212. package/dist/molti/schemas.d.ts.map +1 -0
  213. package/dist/molti/schemas.js +1 -0
  214. package/dist/molti/schemas.js.map +1 -0
  215. package/dist/molti/types.d.ts +1 -0
  216. package/dist/molti/types.d.ts.map +1 -0
  217. package/dist/molti/types.js +1 -0
  218. package/dist/molti/types.js.map +1 -0
  219. package/dist/org-secret-definitions.d.ts +18 -0
  220. package/dist/org-secret-definitions.js +72 -0
  221. package/dist/pairing/index.d.ts +1 -0
  222. package/dist/pairing/index.d.ts.map +1 -0
  223. package/dist/pairing/index.js +1 -0
  224. package/dist/pairing/index.js.map +1 -0
  225. package/dist/policy/index.d.ts +1 -0
  226. package/dist/policy/index.d.ts.map +1 -0
  227. package/dist/policy/index.js +1 -0
  228. package/dist/policy/index.js.map +1 -0
  229. package/dist/policy/schemas.d.ts +554 -553
  230. package/dist/policy/schemas.d.ts.map +1 -0
  231. package/dist/policy/schemas.js +1 -0
  232. package/dist/policy/schemas.js.map +1 -0
  233. package/dist/proof/index.d.ts +1 -0
  234. package/dist/proof/index.d.ts.map +1 -0
  235. package/dist/proof/index.js +1 -0
  236. package/dist/proof/index.js.map +1 -0
  237. package/dist/proof/proof-record.d.ts +49 -48
  238. package/dist/proof/proof-record.d.ts.map +1 -0
  239. package/dist/proof/proof-record.js +1 -0
  240. package/dist/proof/proof-record.js.map +1 -0
  241. package/dist/proof/signing-spec.d.ts +9 -8
  242. package/dist/proof/signing-spec.d.ts.map +1 -0
  243. package/dist/proof/signing-spec.js +1 -0
  244. package/dist/proof/signing-spec.js.map +1 -0
  245. package/dist/proof.d.ts +69 -68
  246. package/dist/proof.d.ts.map +1 -0
  247. package/dist/proof.js +1 -0
  248. package/dist/proof.js.map +1 -0
  249. package/dist/registry.d.ts +25 -24
  250. package/dist/registry.d.ts.map +1 -0
  251. package/dist/registry.js +1 -0
  252. package/dist/registry.js.map +1 -0
  253. package/dist/reputation/api.d.ts +157 -156
  254. package/dist/reputation/api.d.ts.map +1 -0
  255. package/dist/reputation/api.js +1 -0
  256. package/dist/reputation/api.js.map +1 -0
  257. package/dist/reputation/constants.d.ts +1 -0
  258. package/dist/reputation/constants.d.ts.map +1 -0
  259. package/dist/reputation/constants.js +1 -0
  260. package/dist/reputation/constants.js.map +1 -0
  261. package/dist/reputation/credentials.d.ts +49 -48
  262. package/dist/reputation/credentials.d.ts.map +1 -0
  263. package/dist/reputation/credentials.js +1 -0
  264. package/dist/reputation/credentials.js.map +1 -0
  265. package/dist/reputation/index.d.ts +1 -0
  266. package/dist/reputation/index.d.ts.map +1 -0
  267. package/dist/reputation/index.js +1 -0
  268. package/dist/reputation/index.js.map +1 -0
  269. package/dist/reputation/schemas.d.ts +49 -48
  270. package/dist/reputation/schemas.d.ts.map +1 -0
  271. package/dist/reputation/schemas.js +1 -0
  272. package/dist/reputation/schemas.js.map +1 -0
  273. package/dist/runtime/errors.d.ts +1 -0
  274. package/dist/runtime/errors.d.ts.map +1 -0
  275. package/dist/runtime/errors.js +1 -0
  276. package/dist/runtime/errors.js.map +1 -0
  277. package/dist/runtime/headers.d.ts +15 -15
  278. package/dist/runtime/headers.d.ts.map +1 -0
  279. package/dist/runtime/headers.js +14 -14
  280. package/dist/runtime/headers.js.map +1 -0
  281. package/dist/runtime/index.d.ts +1 -0
  282. package/dist/runtime/index.d.ts.map +1 -0
  283. package/dist/runtime/index.js.map +1 -0
  284. package/dist/test.d.ts +23 -22
  285. package/dist/test.d.ts.map +1 -0
  286. package/dist/test.js +1 -0
  287. package/dist/test.js.map +1 -0
  288. package/dist/tlkrc/index.d.ts +1 -0
  289. package/dist/tlkrc/index.d.ts.map +1 -0
  290. package/dist/tlkrc/index.js +1 -0
  291. package/dist/tlkrc/index.js.map +1 -0
  292. package/dist/tlkrc/rotation.d.ts +13 -12
  293. package/dist/tlkrc/rotation.d.ts.map +1 -0
  294. package/dist/tlkrc/rotation.js +1 -0
  295. package/dist/tlkrc/rotation.js.map +1 -0
  296. package/dist/tool-protection/index.d.ts +203 -48
  297. package/dist/tool-protection/index.d.ts.map +1 -0
  298. package/dist/tool-protection/index.js +58 -1
  299. package/dist/tool-protection/index.js.map +1 -0
  300. package/dist/utils/validation.d.ts +1 -0
  301. package/dist/utils/validation.d.ts.map +1 -0
  302. package/dist/utils/validation.js +1 -0
  303. package/dist/utils/validation.js.map +1 -0
  304. package/dist/vault/audit-events.d.ts +21 -0
  305. package/dist/vault/audit-events.js +23 -0
  306. package/dist/vault/index.d.ts +10 -0
  307. package/dist/vault/index.js +18 -0
  308. package/dist/vault/schemas.d.ts +71 -0
  309. package/dist/vault/schemas.js +52 -0
  310. package/dist/vault/types.d.ts +15 -0
  311. package/dist/vault/types.js +9 -0
  312. package/dist/vc/index.d.ts +1 -0
  313. package/dist/vc/index.d.ts.map +1 -0
  314. package/dist/vc/index.js +1 -0
  315. package/dist/vc/index.js.map +1 -0
  316. package/dist/vc/schemas.d.ts +1 -0
  317. package/dist/vc/schemas.d.ts.map +1 -0
  318. package/dist/vc/schemas.js +1 -0
  319. package/dist/vc/schemas.js.map +1 -0
  320. package/dist/vc/statuslist.d.ts +1 -0
  321. package/dist/vc/statuslist.d.ts.map +1 -0
  322. package/dist/vc/statuslist.js +1 -0
  323. package/dist/vc/statuslist.js.map +1 -0
  324. package/dist/verifier/index.d.ts +1 -0
  325. package/dist/verifier/index.d.ts.map +1 -0
  326. package/dist/verifier/index.js.map +1 -0
  327. package/dist/verifier.d.ts +36 -36
  328. package/dist/verifier.d.ts.map +1 -0
  329. package/dist/verifier.js +9 -9
  330. package/dist/verifier.js.map +1 -0
  331. package/dist/well-known/index.d.ts +73 -72
  332. package/dist/well-known/index.d.ts.map +1 -0
  333. package/dist/well-known/index.js +1 -0
  334. package/dist/well-known/index.js.map +1 -0
  335. package/package.json +8 -4
@@ -61,16 +61,16 @@ export declare const ThresholdConfigSchema: z.ZodObject<{
61
61
  */
62
62
  trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
63
63
  }, "strip", z.ZodTypeAny, {
64
- minReputationScore: number;
65
64
  confidenceThreshold: number;
66
65
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
66
+ minReputationScore: number;
67
67
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
68
68
  trustedReputationThreshold: number;
69
69
  trustSignedRequests: boolean;
70
70
  }, {
71
- minReputationScore?: number | undefined;
72
71
  confidenceThreshold?: number | undefined;
73
72
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
73
+ minReputationScore?: number | undefined;
74
74
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
75
75
  trustedReputationThreshold?: number | undefined;
76
76
  trustSignedRequests?: boolean | undefined;
@@ -103,41 +103,41 @@ export declare const DenyListEntrySchema: z.ZodEffects<z.ZodObject<{
103
103
  }, "strip", z.ZodTypeAny, {
104
104
  active: boolean;
105
105
  agentDid?: string | undefined;
106
+ clientDid?: string | undefined;
106
107
  expiresAt?: string | undefined;
107
- agentType?: string | undefined;
108
108
  reason?: string | undefined;
109
- clientDid?: string | undefined;
110
109
  clientName?: string | undefined;
110
+ agentType?: string | undefined;
111
111
  blockedAt?: string | undefined;
112
112
  addedBy?: string | undefined;
113
113
  }, {
114
114
  agentDid?: string | undefined;
115
+ clientDid?: string | undefined;
115
116
  expiresAt?: string | undefined;
116
- agentType?: string | undefined;
117
117
  reason?: string | undefined;
118
118
  active?: boolean | undefined;
119
- clientDid?: string | undefined;
120
119
  clientName?: string | undefined;
120
+ agentType?: string | undefined;
121
121
  blockedAt?: string | undefined;
122
122
  addedBy?: string | undefined;
123
123
  }>, {
124
124
  active: boolean;
125
125
  agentDid?: string | undefined;
126
+ clientDid?: string | undefined;
126
127
  expiresAt?: string | undefined;
127
- agentType?: string | undefined;
128
128
  reason?: string | undefined;
129
- clientDid?: string | undefined;
130
129
  clientName?: string | undefined;
130
+ agentType?: string | undefined;
131
131
  blockedAt?: string | undefined;
132
132
  addedBy?: string | undefined;
133
133
  }, {
134
134
  agentDid?: string | undefined;
135
+ clientDid?: string | undefined;
135
136
  expiresAt?: string | undefined;
136
- agentType?: string | undefined;
137
137
  reason?: string | undefined;
138
138
  active?: boolean | undefined;
139
- clientDid?: string | undefined;
140
139
  clientName?: string | undefined;
140
+ agentType?: string | undefined;
141
141
  blockedAt?: string | undefined;
142
142
  addedBy?: string | undefined;
143
143
  }>;
@@ -164,34 +164,34 @@ export declare const AllowListEntrySchema: z.ZodEffects<z.ZodObject<{
164
164
  addedBy: z.ZodOptional<z.ZodString>;
165
165
  }, "strip", z.ZodTypeAny, {
166
166
  agentDid?: string | undefined;
167
- agentType?: string | undefined;
168
- reason?: string | undefined;
169
167
  clientDid?: string | undefined;
168
+ reason?: string | undefined;
170
169
  clientName?: string | undefined;
170
+ agentType?: string | undefined;
171
171
  addedBy?: string | undefined;
172
172
  addedAt?: string | undefined;
173
173
  }, {
174
174
  agentDid?: string | undefined;
175
- agentType?: string | undefined;
176
- reason?: string | undefined;
177
175
  clientDid?: string | undefined;
176
+ reason?: string | undefined;
178
177
  clientName?: string | undefined;
178
+ agentType?: string | undefined;
179
179
  addedBy?: string | undefined;
180
180
  addedAt?: string | undefined;
181
181
  }>, {
182
182
  agentDid?: string | undefined;
183
- agentType?: string | undefined;
184
- reason?: string | undefined;
185
183
  clientDid?: string | undefined;
184
+ reason?: string | undefined;
186
185
  clientName?: string | undefined;
186
+ agentType?: string | undefined;
187
187
  addedBy?: string | undefined;
188
188
  addedAt?: string | undefined;
189
189
  }, {
190
190
  agentDid?: string | undefined;
191
- agentType?: string | undefined;
192
- reason?: string | undefined;
193
191
  clientDid?: string | undefined;
192
+ reason?: string | undefined;
194
193
  clientName?: string | undefined;
194
+ agentType?: string | undefined;
195
195
  addedBy?: string | undefined;
196
196
  addedAt?: string | undefined;
197
197
  }>;
@@ -210,13 +210,13 @@ export declare const PolicyConditionSchema: z.ZodObject<{
210
210
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
211
211
  }, "strip", z.ZodTypeAny, {
212
212
  value: string | number | boolean | string[];
213
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
214
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
213
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
214
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
215
215
  caseInsensitive?: boolean | undefined;
216
216
  }, {
217
217
  value: string | number | boolean | string[];
218
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
219
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
218
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
219
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
220
220
  caseInsensitive?: boolean | undefined;
221
221
  }>;
222
222
  export type PolicyCondition = z.infer<typeof PolicyConditionSchema>;
@@ -247,13 +247,13 @@ export declare const PolicyRuleSchema: z.ZodEffects<z.ZodObject<{
247
247
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
248
248
  }, "strip", z.ZodTypeAny, {
249
249
  value: string | number | boolean | string[];
250
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
251
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
250
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
251
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
252
252
  caseInsensitive?: boolean | undefined;
253
253
  }, {
254
254
  value: string | number | boolean | string[];
255
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
256
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
255
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
256
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
257
257
  caseInsensitive?: boolean | undefined;
258
258
  }>, "many">;
259
259
  /** Action to take when conditions match */
@@ -279,83 +279,83 @@ export declare const PolicyRuleSchema: z.ZodEffects<z.ZodObject<{
279
279
  createdBy?: string | undefined;
280
280
  }>>;
281
281
  }, "strip", z.ZodTypeAny, {
282
- id: string;
283
282
  name: string;
283
+ id: string;
284
284
  enabled: boolean;
285
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
285
286
  priority: number;
286
287
  conditions: {
287
288
  value: string | number | boolean | string[];
288
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
289
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
289
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
290
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
290
291
  caseInsensitive?: boolean | undefined;
291
292
  }[];
292
- action: "allow" | "block" | "redirect" | "challenge" | "log";
293
293
  message?: string | undefined;
294
- description?: string | undefined;
295
294
  metadata?: {
296
295
  createdAt?: string | undefined;
297
296
  updatedAt?: string | undefined;
298
297
  createdBy?: string | undefined;
299
298
  } | undefined;
299
+ description?: string | undefined;
300
300
  redirectUrl?: string | undefined;
301
301
  }, {
302
- id: string;
303
302
  name: string;
303
+ id: string;
304
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
304
305
  conditions: {
305
306
  value: string | number | boolean | string[];
306
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
307
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
307
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
308
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
308
309
  caseInsensitive?: boolean | undefined;
309
310
  }[];
310
- action: "allow" | "block" | "redirect" | "challenge" | "log";
311
311
  message?: string | undefined;
312
- description?: string | undefined;
313
312
  metadata?: {
314
313
  createdAt?: string | undefined;
315
314
  updatedAt?: string | undefined;
316
315
  createdBy?: string | undefined;
317
316
  } | undefined;
318
317
  enabled?: boolean | undefined;
318
+ description?: string | undefined;
319
319
  priority?: number | undefined;
320
320
  redirectUrl?: string | undefined;
321
321
  }>, {
322
- id: string;
323
322
  name: string;
323
+ id: string;
324
324
  enabled: boolean;
325
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
325
326
  priority: number;
326
327
  conditions: {
327
328
  value: string | number | boolean | string[];
328
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
329
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
329
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
330
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
330
331
  caseInsensitive?: boolean | undefined;
331
332
  }[];
332
- action: "allow" | "block" | "redirect" | "challenge" | "log";
333
333
  message?: string | undefined;
334
- description?: string | undefined;
335
334
  metadata?: {
336
335
  createdAt?: string | undefined;
337
336
  updatedAt?: string | undefined;
338
337
  createdBy?: string | undefined;
339
338
  } | undefined;
339
+ description?: string | undefined;
340
340
  redirectUrl?: string | undefined;
341
341
  }, {
342
- id: string;
343
342
  name: string;
343
+ id: string;
344
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
344
345
  conditions: {
345
346
  value: string | number | boolean | string[];
346
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
347
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
347
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
348
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
348
349
  caseInsensitive?: boolean | undefined;
349
350
  }[];
350
- action: "allow" | "block" | "redirect" | "challenge" | "log";
351
351
  message?: string | undefined;
352
- description?: string | undefined;
353
352
  metadata?: {
354
353
  createdAt?: string | undefined;
355
354
  updatedAt?: string | undefined;
356
355
  createdBy?: string | undefined;
357
356
  } | undefined;
358
357
  enabled?: boolean | undefined;
358
+ description?: string | undefined;
359
359
  priority?: number | undefined;
360
360
  redirectUrl?: string | undefined;
361
361
  }>;
@@ -416,16 +416,16 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
416
416
  */
417
417
  trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
418
418
  }, "strip", z.ZodTypeAny, {
419
- minReputationScore: number;
420
419
  confidenceThreshold: number;
421
420
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
421
+ minReputationScore: number;
422
422
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
423
423
  trustedReputationThreshold: number;
424
424
  trustSignedRequests: boolean;
425
425
  }, {
426
- minReputationScore?: number | undefined;
427
426
  confidenceThreshold?: number | undefined;
428
427
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
428
+ minReputationScore?: number | undefined;
429
429
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
430
430
  trustedReputationThreshold?: number | undefined;
431
431
  trustSignedRequests?: boolean | undefined;
@@ -453,41 +453,41 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
453
453
  }, "strip", z.ZodTypeAny, {
454
454
  active: boolean;
455
455
  agentDid?: string | undefined;
456
+ clientDid?: string | undefined;
456
457
  expiresAt?: string | undefined;
457
- agentType?: string | undefined;
458
458
  reason?: string | undefined;
459
- clientDid?: string | undefined;
460
459
  clientName?: string | undefined;
460
+ agentType?: string | undefined;
461
461
  blockedAt?: string | undefined;
462
462
  addedBy?: string | undefined;
463
463
  }, {
464
464
  agentDid?: string | undefined;
465
+ clientDid?: string | undefined;
465
466
  expiresAt?: string | undefined;
466
- agentType?: string | undefined;
467
467
  reason?: string | undefined;
468
468
  active?: boolean | undefined;
469
- clientDid?: string | undefined;
470
469
  clientName?: string | undefined;
470
+ agentType?: string | undefined;
471
471
  blockedAt?: string | undefined;
472
472
  addedBy?: string | undefined;
473
473
  }>, {
474
474
  active: boolean;
475
475
  agentDid?: string | undefined;
476
+ clientDid?: string | undefined;
476
477
  expiresAt?: string | undefined;
477
- agentType?: string | undefined;
478
478
  reason?: string | undefined;
479
- clientDid?: string | undefined;
480
479
  clientName?: string | undefined;
480
+ agentType?: string | undefined;
481
481
  blockedAt?: string | undefined;
482
482
  addedBy?: string | undefined;
483
483
  }, {
484
484
  agentDid?: string | undefined;
485
+ clientDid?: string | undefined;
485
486
  expiresAt?: string | undefined;
486
- agentType?: string | undefined;
487
487
  reason?: string | undefined;
488
488
  active?: boolean | undefined;
489
- clientDid?: string | undefined;
490
489
  clientName?: string | undefined;
490
+ agentType?: string | undefined;
491
491
  blockedAt?: string | undefined;
492
492
  addedBy?: string | undefined;
493
493
  }>, "many">>;
@@ -509,34 +509,34 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
509
509
  addedBy: z.ZodOptional<z.ZodString>;
510
510
  }, "strip", z.ZodTypeAny, {
511
511
  agentDid?: string | undefined;
512
- agentType?: string | undefined;
513
- reason?: string | undefined;
514
512
  clientDid?: string | undefined;
513
+ reason?: string | undefined;
515
514
  clientName?: string | undefined;
515
+ agentType?: string | undefined;
516
516
  addedBy?: string | undefined;
517
517
  addedAt?: string | undefined;
518
518
  }, {
519
519
  agentDid?: string | undefined;
520
- agentType?: string | undefined;
521
- reason?: string | undefined;
522
520
  clientDid?: string | undefined;
521
+ reason?: string | undefined;
523
522
  clientName?: string | undefined;
523
+ agentType?: string | undefined;
524
524
  addedBy?: string | undefined;
525
525
  addedAt?: string | undefined;
526
526
  }>, {
527
527
  agentDid?: string | undefined;
528
- agentType?: string | undefined;
529
- reason?: string | undefined;
530
528
  clientDid?: string | undefined;
529
+ reason?: string | undefined;
531
530
  clientName?: string | undefined;
531
+ agentType?: string | undefined;
532
532
  addedBy?: string | undefined;
533
533
  addedAt?: string | undefined;
534
534
  }, {
535
535
  agentDid?: string | undefined;
536
- agentType?: string | undefined;
537
- reason?: string | undefined;
538
536
  clientDid?: string | undefined;
537
+ reason?: string | undefined;
539
538
  clientName?: string | undefined;
539
+ agentType?: string | undefined;
540
540
  addedBy?: string | undefined;
541
541
  addedAt?: string | undefined;
542
542
  }>, "many">>;
@@ -565,13 +565,13 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
565
565
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
566
566
  }, "strip", z.ZodTypeAny, {
567
567
  value: string | number | boolean | string[];
568
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
569
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
568
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
569
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
570
570
  caseInsensitive?: boolean | undefined;
571
571
  }, {
572
572
  value: string | number | boolean | string[];
573
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
574
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
573
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
574
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
575
575
  caseInsensitive?: boolean | undefined;
576
576
  }>, "many">;
577
577
  /** Action to take when conditions match */
@@ -597,83 +597,83 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
597
597
  createdBy?: string | undefined;
598
598
  }>>;
599
599
  }, "strip", z.ZodTypeAny, {
600
- id: string;
601
600
  name: string;
601
+ id: string;
602
602
  enabled: boolean;
603
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
603
604
  priority: number;
604
605
  conditions: {
605
606
  value: string | number | boolean | string[];
606
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
607
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
607
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
608
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
608
609
  caseInsensitive?: boolean | undefined;
609
610
  }[];
610
- action: "allow" | "block" | "redirect" | "challenge" | "log";
611
611
  message?: string | undefined;
612
- description?: string | undefined;
613
612
  metadata?: {
614
613
  createdAt?: string | undefined;
615
614
  updatedAt?: string | undefined;
616
615
  createdBy?: string | undefined;
617
616
  } | undefined;
617
+ description?: string | undefined;
618
618
  redirectUrl?: string | undefined;
619
619
  }, {
620
- id: string;
621
620
  name: string;
621
+ id: string;
622
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
622
623
  conditions: {
623
624
  value: string | number | boolean | string[];
624
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
625
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
625
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
626
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
626
627
  caseInsensitive?: boolean | undefined;
627
628
  }[];
628
- action: "allow" | "block" | "redirect" | "challenge" | "log";
629
629
  message?: string | undefined;
630
- description?: string | undefined;
631
630
  metadata?: {
632
631
  createdAt?: string | undefined;
633
632
  updatedAt?: string | undefined;
634
633
  createdBy?: string | undefined;
635
634
  } | undefined;
636
635
  enabled?: boolean | undefined;
636
+ description?: string | undefined;
637
637
  priority?: number | undefined;
638
638
  redirectUrl?: string | undefined;
639
639
  }>, {
640
- id: string;
641
640
  name: string;
641
+ id: string;
642
642
  enabled: boolean;
643
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
643
644
  priority: number;
644
645
  conditions: {
645
646
  value: string | number | boolean | string[];
646
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
647
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
647
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
648
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
648
649
  caseInsensitive?: boolean | undefined;
649
650
  }[];
650
- action: "allow" | "block" | "redirect" | "challenge" | "log";
651
651
  message?: string | undefined;
652
- description?: string | undefined;
653
652
  metadata?: {
654
653
  createdAt?: string | undefined;
655
654
  updatedAt?: string | undefined;
656
655
  createdBy?: string | undefined;
657
656
  } | undefined;
657
+ description?: string | undefined;
658
658
  redirectUrl?: string | undefined;
659
659
  }, {
660
- id: string;
661
660
  name: string;
661
+ id: string;
662
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
662
663
  conditions: {
663
664
  value: string | number | boolean | string[];
664
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
665
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
665
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
666
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
666
667
  caseInsensitive?: boolean | undefined;
667
668
  }[];
668
- action: "allow" | "block" | "redirect" | "challenge" | "log";
669
669
  message?: string | undefined;
670
- description?: string | undefined;
671
670
  metadata?: {
672
671
  createdAt?: string | undefined;
673
672
  updatedAt?: string | undefined;
674
673
  createdBy?: string | undefined;
675
674
  } | undefined;
676
675
  enabled?: boolean | undefined;
676
+ description?: string | undefined;
677
677
  priority?: number | undefined;
678
678
  redirectUrl?: string | undefined;
679
679
  }>, "many">>;
@@ -700,9 +700,9 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
700
700
  enabled: boolean;
701
701
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
702
702
  thresholds: {
703
- minReputationScore: number;
704
703
  confidenceThreshold: number;
705
704
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
705
+ minReputationScore: number;
706
706
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
707
707
  trustedReputationThreshold: number;
708
708
  trustSignedRequests: boolean;
@@ -710,42 +710,42 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
710
710
  denyList: {
711
711
  active: boolean;
712
712
  agentDid?: string | undefined;
713
+ clientDid?: string | undefined;
713
714
  expiresAt?: string | undefined;
714
- agentType?: string | undefined;
715
715
  reason?: string | undefined;
716
- clientDid?: string | undefined;
717
716
  clientName?: string | undefined;
717
+ agentType?: string | undefined;
718
718
  blockedAt?: string | undefined;
719
719
  addedBy?: string | undefined;
720
720
  }[];
721
721
  allowList: {
722
722
  agentDid?: string | undefined;
723
- agentType?: string | undefined;
724
- reason?: string | undefined;
725
723
  clientDid?: string | undefined;
724
+ reason?: string | undefined;
726
725
  clientName?: string | undefined;
726
+ agentType?: string | undefined;
727
727
  addedBy?: string | undefined;
728
728
  addedAt?: string | undefined;
729
729
  }[];
730
730
  rules: {
731
- id: string;
732
731
  name: string;
732
+ id: string;
733
733
  enabled: boolean;
734
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
734
735
  priority: number;
735
736
  conditions: {
736
737
  value: string | number | boolean | string[];
737
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
738
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
738
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
739
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
739
740
  caseInsensitive?: boolean | undefined;
740
741
  }[];
741
- action: "allow" | "block" | "redirect" | "challenge" | "log";
742
742
  message?: string | undefined;
743
- description?: string | undefined;
744
743
  metadata?: {
745
744
  createdAt?: string | undefined;
746
745
  updatedAt?: string | undefined;
747
746
  createdBy?: string | undefined;
748
747
  } | undefined;
748
+ description?: string | undefined;
749
749
  redirectUrl?: string | undefined;
750
750
  }[];
751
751
  excludedPaths: string[];
@@ -757,61 +757,61 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
757
757
  redirectUrl?: string | undefined;
758
758
  includedPaths?: string[] | undefined;
759
759
  }, {
760
- version?: string | undefined;
761
760
  metadata?: {
762
761
  lastUpdated?: string | undefined;
763
762
  updatedBy?: string | undefined;
764
763
  policyId?: string | undefined;
765
764
  } | undefined;
765
+ version?: string | undefined;
766
766
  enabled?: boolean | undefined;
767
767
  redirectUrl?: string | undefined;
768
768
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
769
769
  thresholds?: {
770
- minReputationScore?: number | undefined;
771
770
  confidenceThreshold?: number | undefined;
772
771
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
772
+ minReputationScore?: number | undefined;
773
773
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
774
774
  trustedReputationThreshold?: number | undefined;
775
775
  trustSignedRequests?: boolean | undefined;
776
776
  } | undefined;
777
777
  denyList?: {
778
778
  agentDid?: string | undefined;
779
+ clientDid?: string | undefined;
779
780
  expiresAt?: string | undefined;
780
- agentType?: string | undefined;
781
781
  reason?: string | undefined;
782
782
  active?: boolean | undefined;
783
- clientDid?: string | undefined;
784
783
  clientName?: string | undefined;
784
+ agentType?: string | undefined;
785
785
  blockedAt?: string | undefined;
786
786
  addedBy?: string | undefined;
787
787
  }[] | undefined;
788
788
  allowList?: {
789
789
  agentDid?: string | undefined;
790
- agentType?: string | undefined;
791
- reason?: string | undefined;
792
790
  clientDid?: string | undefined;
791
+ reason?: string | undefined;
793
792
  clientName?: string | undefined;
793
+ agentType?: string | undefined;
794
794
  addedBy?: string | undefined;
795
795
  addedAt?: string | undefined;
796
796
  }[] | undefined;
797
797
  rules?: {
798
- id: string;
799
798
  name: string;
799
+ id: string;
800
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
800
801
  conditions: {
801
802
  value: string | number | boolean | string[];
802
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
803
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
803
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
804
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
804
805
  caseInsensitive?: boolean | undefined;
805
806
  }[];
806
- action: "allow" | "block" | "redirect" | "challenge" | "log";
807
807
  message?: string | undefined;
808
- description?: string | undefined;
809
808
  metadata?: {
810
809
  createdAt?: string | undefined;
811
810
  updatedAt?: string | undefined;
812
811
  createdBy?: string | undefined;
813
812
  } | undefined;
814
813
  enabled?: boolean | undefined;
814
+ description?: string | undefined;
815
815
  priority?: number | undefined;
816
816
  redirectUrl?: string | undefined;
817
817
  }[] | undefined;
@@ -822,9 +822,9 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
822
822
  enabled: boolean;
823
823
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
824
824
  thresholds: {
825
- minReputationScore: number;
826
825
  confidenceThreshold: number;
827
826
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
827
+ minReputationScore: number;
828
828
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
829
829
  trustedReputationThreshold: number;
830
830
  trustSignedRequests: boolean;
@@ -832,42 +832,42 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
832
832
  denyList: {
833
833
  active: boolean;
834
834
  agentDid?: string | undefined;
835
+ clientDid?: string | undefined;
835
836
  expiresAt?: string | undefined;
836
- agentType?: string | undefined;
837
837
  reason?: string | undefined;
838
- clientDid?: string | undefined;
839
838
  clientName?: string | undefined;
839
+ agentType?: string | undefined;
840
840
  blockedAt?: string | undefined;
841
841
  addedBy?: string | undefined;
842
842
  }[];
843
843
  allowList: {
844
844
  agentDid?: string | undefined;
845
- agentType?: string | undefined;
846
- reason?: string | undefined;
847
845
  clientDid?: string | undefined;
846
+ reason?: string | undefined;
848
847
  clientName?: string | undefined;
848
+ agentType?: string | undefined;
849
849
  addedBy?: string | undefined;
850
850
  addedAt?: string | undefined;
851
851
  }[];
852
852
  rules: {
853
- id: string;
854
853
  name: string;
854
+ id: string;
855
855
  enabled: boolean;
856
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
856
857
  priority: number;
857
858
  conditions: {
858
859
  value: string | number | boolean | string[];
859
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
860
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
860
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
861
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
861
862
  caseInsensitive?: boolean | undefined;
862
863
  }[];
863
- action: "allow" | "block" | "redirect" | "challenge" | "log";
864
864
  message?: string | undefined;
865
- description?: string | undefined;
866
865
  metadata?: {
867
866
  createdAt?: string | undefined;
868
867
  updatedAt?: string | undefined;
869
868
  createdBy?: string | undefined;
870
869
  } | undefined;
870
+ description?: string | undefined;
871
871
  redirectUrl?: string | undefined;
872
872
  }[];
873
873
  excludedPaths: string[];
@@ -879,61 +879,61 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
879
879
  redirectUrl?: string | undefined;
880
880
  includedPaths?: string[] | undefined;
881
881
  }, {
882
- version?: string | undefined;
883
882
  metadata?: {
884
883
  lastUpdated?: string | undefined;
885
884
  updatedBy?: string | undefined;
886
885
  policyId?: string | undefined;
887
886
  } | undefined;
887
+ version?: string | undefined;
888
888
  enabled?: boolean | undefined;
889
889
  redirectUrl?: string | undefined;
890
890
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
891
891
  thresholds?: {
892
- minReputationScore?: number | undefined;
893
892
  confidenceThreshold?: number | undefined;
894
893
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
894
+ minReputationScore?: number | undefined;
895
895
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
896
896
  trustedReputationThreshold?: number | undefined;
897
897
  trustSignedRequests?: boolean | undefined;
898
898
  } | undefined;
899
899
  denyList?: {
900
900
  agentDid?: string | undefined;
901
+ clientDid?: string | undefined;
901
902
  expiresAt?: string | undefined;
902
- agentType?: string | undefined;
903
903
  reason?: string | undefined;
904
904
  active?: boolean | undefined;
905
- clientDid?: string | undefined;
906
905
  clientName?: string | undefined;
906
+ agentType?: string | undefined;
907
907
  blockedAt?: string | undefined;
908
908
  addedBy?: string | undefined;
909
909
  }[] | undefined;
910
910
  allowList?: {
911
911
  agentDid?: string | undefined;
912
- agentType?: string | undefined;
913
- reason?: string | undefined;
914
912
  clientDid?: string | undefined;
913
+ reason?: string | undefined;
915
914
  clientName?: string | undefined;
915
+ agentType?: string | undefined;
916
916
  addedBy?: string | undefined;
917
917
  addedAt?: string | undefined;
918
918
  }[] | undefined;
919
919
  rules?: {
920
- id: string;
921
920
  name: string;
921
+ id: string;
922
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
922
923
  conditions: {
923
924
  value: string | number | boolean | string[];
924
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
925
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
925
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
926
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
926
927
  caseInsensitive?: boolean | undefined;
927
928
  }[];
928
- action: "allow" | "block" | "redirect" | "challenge" | "log";
929
929
  message?: string | undefined;
930
- description?: string | undefined;
931
930
  metadata?: {
932
931
  createdAt?: string | undefined;
933
932
  updatedAt?: string | undefined;
934
933
  createdBy?: string | undefined;
935
934
  } | undefined;
936
935
  enabled?: boolean | undefined;
936
+ description?: string | undefined;
937
937
  priority?: number | undefined;
938
938
  redirectUrl?: string | undefined;
939
939
  }[] | undefined;
@@ -982,16 +982,16 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
982
982
  */
983
983
  trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
984
984
  }, "strip", z.ZodTypeAny, {
985
- minReputationScore: number;
986
985
  confidenceThreshold: number;
987
986
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
987
+ minReputationScore: number;
988
988
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
989
989
  trustedReputationThreshold: number;
990
990
  trustSignedRequests: boolean;
991
991
  }, {
992
- minReputationScore?: number | undefined;
993
992
  confidenceThreshold?: number | undefined;
994
993
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
994
+ minReputationScore?: number | undefined;
995
995
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
996
996
  trustedReputationThreshold?: number | undefined;
997
997
  trustSignedRequests?: boolean | undefined;
@@ -1018,41 +1018,41 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
1018
1018
  }, "strip", z.ZodTypeAny, {
1019
1019
  active: boolean;
1020
1020
  agentDid?: string | undefined;
1021
+ clientDid?: string | undefined;
1021
1022
  expiresAt?: string | undefined;
1022
- agentType?: string | undefined;
1023
1023
  reason?: string | undefined;
1024
- clientDid?: string | undefined;
1025
1024
  clientName?: string | undefined;
1025
+ agentType?: string | undefined;
1026
1026
  blockedAt?: string | undefined;
1027
1027
  addedBy?: string | undefined;
1028
1028
  }, {
1029
1029
  agentDid?: string | undefined;
1030
+ clientDid?: string | undefined;
1030
1031
  expiresAt?: string | undefined;
1031
- agentType?: string | undefined;
1032
1032
  reason?: string | undefined;
1033
1033
  active?: boolean | undefined;
1034
- clientDid?: string | undefined;
1035
1034
  clientName?: string | undefined;
1035
+ agentType?: string | undefined;
1036
1036
  blockedAt?: string | undefined;
1037
1037
  addedBy?: string | undefined;
1038
1038
  }>, {
1039
1039
  active: boolean;
1040
1040
  agentDid?: string | undefined;
1041
+ clientDid?: string | undefined;
1041
1042
  expiresAt?: string | undefined;
1042
- agentType?: string | undefined;
1043
1043
  reason?: string | undefined;
1044
- clientDid?: string | undefined;
1045
1044
  clientName?: string | undefined;
1045
+ agentType?: string | undefined;
1046
1046
  blockedAt?: string | undefined;
1047
1047
  addedBy?: string | undefined;
1048
1048
  }, {
1049
1049
  agentDid?: string | undefined;
1050
+ clientDid?: string | undefined;
1050
1051
  expiresAt?: string | undefined;
1051
- agentType?: string | undefined;
1052
1052
  reason?: string | undefined;
1053
1053
  active?: boolean | undefined;
1054
- clientDid?: string | undefined;
1055
1054
  clientName?: string | undefined;
1055
+ agentType?: string | undefined;
1056
1056
  blockedAt?: string | undefined;
1057
1057
  addedBy?: string | undefined;
1058
1058
  }>, "many">>>;
@@ -1073,34 +1073,34 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
1073
1073
  addedBy: z.ZodOptional<z.ZodString>;
1074
1074
  }, "strip", z.ZodTypeAny, {
1075
1075
  agentDid?: string | undefined;
1076
- agentType?: string | undefined;
1077
- reason?: string | undefined;
1078
1076
  clientDid?: string | undefined;
1077
+ reason?: string | undefined;
1079
1078
  clientName?: string | undefined;
1079
+ agentType?: string | undefined;
1080
1080
  addedBy?: string | undefined;
1081
1081
  addedAt?: string | undefined;
1082
1082
  }, {
1083
1083
  agentDid?: string | undefined;
1084
- agentType?: string | undefined;
1085
- reason?: string | undefined;
1086
1084
  clientDid?: string | undefined;
1085
+ reason?: string | undefined;
1087
1086
  clientName?: string | undefined;
1087
+ agentType?: string | undefined;
1088
1088
  addedBy?: string | undefined;
1089
1089
  addedAt?: string | undefined;
1090
1090
  }>, {
1091
1091
  agentDid?: string | undefined;
1092
- agentType?: string | undefined;
1093
- reason?: string | undefined;
1094
1092
  clientDid?: string | undefined;
1093
+ reason?: string | undefined;
1095
1094
  clientName?: string | undefined;
1095
+ agentType?: string | undefined;
1096
1096
  addedBy?: string | undefined;
1097
1097
  addedAt?: string | undefined;
1098
1098
  }, {
1099
1099
  agentDid?: string | undefined;
1100
- agentType?: string | undefined;
1101
- reason?: string | undefined;
1102
1100
  clientDid?: string | undefined;
1101
+ reason?: string | undefined;
1103
1102
  clientName?: string | undefined;
1103
+ agentType?: string | undefined;
1104
1104
  addedBy?: string | undefined;
1105
1105
  addedAt?: string | undefined;
1106
1106
  }>, "many">>>;
@@ -1128,13 +1128,13 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
1128
1128
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
1129
1129
  }, "strip", z.ZodTypeAny, {
1130
1130
  value: string | number | boolean | string[];
1131
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1132
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1131
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1132
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1133
1133
  caseInsensitive?: boolean | undefined;
1134
1134
  }, {
1135
1135
  value: string | number | boolean | string[];
1136
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1137
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1136
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1137
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1138
1138
  caseInsensitive?: boolean | undefined;
1139
1139
  }>, "many">;
1140
1140
  /** Action to take when conditions match */
@@ -1160,83 +1160,83 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
1160
1160
  createdBy?: string | undefined;
1161
1161
  }>>;
1162
1162
  }, "strip", z.ZodTypeAny, {
1163
- id: string;
1164
1163
  name: string;
1164
+ id: string;
1165
1165
  enabled: boolean;
1166
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1166
1167
  priority: number;
1167
1168
  conditions: {
1168
1169
  value: string | number | boolean | string[];
1169
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1170
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1170
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1171
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1171
1172
  caseInsensitive?: boolean | undefined;
1172
1173
  }[];
1173
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1174
1174
  message?: string | undefined;
1175
- description?: string | undefined;
1176
1175
  metadata?: {
1177
1176
  createdAt?: string | undefined;
1178
1177
  updatedAt?: string | undefined;
1179
1178
  createdBy?: string | undefined;
1180
1179
  } | undefined;
1180
+ description?: string | undefined;
1181
1181
  redirectUrl?: string | undefined;
1182
1182
  }, {
1183
- id: string;
1184
1183
  name: string;
1184
+ id: string;
1185
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1185
1186
  conditions: {
1186
1187
  value: string | number | boolean | string[];
1187
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1188
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1188
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1189
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1189
1190
  caseInsensitive?: boolean | undefined;
1190
1191
  }[];
1191
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1192
1192
  message?: string | undefined;
1193
- description?: string | undefined;
1194
1193
  metadata?: {
1195
1194
  createdAt?: string | undefined;
1196
1195
  updatedAt?: string | undefined;
1197
1196
  createdBy?: string | undefined;
1198
1197
  } | undefined;
1199
1198
  enabled?: boolean | undefined;
1199
+ description?: string | undefined;
1200
1200
  priority?: number | undefined;
1201
1201
  redirectUrl?: string | undefined;
1202
1202
  }>, {
1203
- id: string;
1204
1203
  name: string;
1204
+ id: string;
1205
1205
  enabled: boolean;
1206
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1206
1207
  priority: number;
1207
1208
  conditions: {
1208
1209
  value: string | number | boolean | string[];
1209
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1210
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1210
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1211
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1211
1212
  caseInsensitive?: boolean | undefined;
1212
1213
  }[];
1213
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1214
1214
  message?: string | undefined;
1215
- description?: string | undefined;
1216
1215
  metadata?: {
1217
1216
  createdAt?: string | undefined;
1218
1217
  updatedAt?: string | undefined;
1219
1218
  createdBy?: string | undefined;
1220
1219
  } | undefined;
1220
+ description?: string | undefined;
1221
1221
  redirectUrl?: string | undefined;
1222
1222
  }, {
1223
- id: string;
1224
1223
  name: string;
1224
+ id: string;
1225
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1225
1226
  conditions: {
1226
1227
  value: string | number | boolean | string[];
1227
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1228
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1228
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1229
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1229
1230
  caseInsensitive?: boolean | undefined;
1230
1231
  }[];
1231
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1232
1232
  message?: string | undefined;
1233
- description?: string | undefined;
1234
1233
  metadata?: {
1235
1234
  createdAt?: string | undefined;
1236
1235
  updatedAt?: string | undefined;
1237
1236
  createdBy?: string | undefined;
1238
1237
  } | undefined;
1239
1238
  enabled?: boolean | undefined;
1239
+ description?: string | undefined;
1240
1240
  priority?: number | undefined;
1241
1241
  redirectUrl?: string | undefined;
1242
1242
  }>, "many">>>;
@@ -1256,19 +1256,19 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
1256
1256
  policyId?: string | undefined;
1257
1257
  }>>>;
1258
1258
  }, "strip", z.ZodTypeAny, {
1259
- version?: string | undefined;
1260
1259
  metadata?: {
1261
1260
  lastUpdated?: string | undefined;
1262
1261
  updatedBy?: string | undefined;
1263
1262
  policyId?: string | undefined;
1264
1263
  } | undefined;
1264
+ version?: string | undefined;
1265
1265
  enabled?: boolean | undefined;
1266
1266
  redirectUrl?: string | undefined;
1267
1267
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
1268
1268
  thresholds?: {
1269
- minReputationScore: number;
1270
1269
  confidenceThreshold: number;
1271
1270
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
1271
+ minReputationScore: number;
1272
1272
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
1273
1273
  trustedReputationThreshold: number;
1274
1274
  trustSignedRequests: boolean;
@@ -1276,102 +1276,102 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
1276
1276
  denyList?: {
1277
1277
  active: boolean;
1278
1278
  agentDid?: string | undefined;
1279
+ clientDid?: string | undefined;
1279
1280
  expiresAt?: string | undefined;
1280
- agentType?: string | undefined;
1281
1281
  reason?: string | undefined;
1282
- clientDid?: string | undefined;
1283
1282
  clientName?: string | undefined;
1283
+ agentType?: string | undefined;
1284
1284
  blockedAt?: string | undefined;
1285
1285
  addedBy?: string | undefined;
1286
1286
  }[] | undefined;
1287
1287
  allowList?: {
1288
1288
  agentDid?: string | undefined;
1289
- agentType?: string | undefined;
1290
- reason?: string | undefined;
1291
1289
  clientDid?: string | undefined;
1290
+ reason?: string | undefined;
1292
1291
  clientName?: string | undefined;
1292
+ agentType?: string | undefined;
1293
1293
  addedBy?: string | undefined;
1294
1294
  addedAt?: string | undefined;
1295
1295
  }[] | undefined;
1296
1296
  rules?: {
1297
- id: string;
1298
1297
  name: string;
1298
+ id: string;
1299
1299
  enabled: boolean;
1300
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1300
1301
  priority: number;
1301
1302
  conditions: {
1302
1303
  value: string | number | boolean | string[];
1303
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1304
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1304
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1305
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1305
1306
  caseInsensitive?: boolean | undefined;
1306
1307
  }[];
1307
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1308
1308
  message?: string | undefined;
1309
- description?: string | undefined;
1310
1309
  metadata?: {
1311
1310
  createdAt?: string | undefined;
1312
1311
  updatedAt?: string | undefined;
1313
1312
  createdBy?: string | undefined;
1314
1313
  } | undefined;
1314
+ description?: string | undefined;
1315
1315
  redirectUrl?: string | undefined;
1316
1316
  }[] | undefined;
1317
1317
  excludedPaths?: string[] | undefined;
1318
1318
  includedPaths?: string[] | undefined;
1319
1319
  }, {
1320
- version?: string | undefined;
1321
1320
  metadata?: {
1322
1321
  lastUpdated?: string | undefined;
1323
1322
  updatedBy?: string | undefined;
1324
1323
  policyId?: string | undefined;
1325
1324
  } | undefined;
1325
+ version?: string | undefined;
1326
1326
  enabled?: boolean | undefined;
1327
1327
  redirectUrl?: string | undefined;
1328
1328
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
1329
1329
  thresholds?: {
1330
- minReputationScore?: number | undefined;
1331
1330
  confidenceThreshold?: number | undefined;
1332
1331
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
1332
+ minReputationScore?: number | undefined;
1333
1333
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
1334
1334
  trustedReputationThreshold?: number | undefined;
1335
1335
  trustSignedRequests?: boolean | undefined;
1336
1336
  } | undefined;
1337
1337
  denyList?: {
1338
1338
  agentDid?: string | undefined;
1339
+ clientDid?: string | undefined;
1339
1340
  expiresAt?: string | undefined;
1340
- agentType?: string | undefined;
1341
1341
  reason?: string | undefined;
1342
1342
  active?: boolean | undefined;
1343
- clientDid?: string | undefined;
1344
1343
  clientName?: string | undefined;
1344
+ agentType?: string | undefined;
1345
1345
  blockedAt?: string | undefined;
1346
1346
  addedBy?: string | undefined;
1347
1347
  }[] | undefined;
1348
1348
  allowList?: {
1349
1349
  agentDid?: string | undefined;
1350
- agentType?: string | undefined;
1351
- reason?: string | undefined;
1352
1350
  clientDid?: string | undefined;
1351
+ reason?: string | undefined;
1353
1352
  clientName?: string | undefined;
1353
+ agentType?: string | undefined;
1354
1354
  addedBy?: string | undefined;
1355
1355
  addedAt?: string | undefined;
1356
1356
  }[] | undefined;
1357
1357
  rules?: {
1358
- id: string;
1359
1358
  name: string;
1359
+ id: string;
1360
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1360
1361
  conditions: {
1361
1362
  value: string | number | boolean | string[];
1362
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1363
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1363
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1364
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1364
1365
  caseInsensitive?: boolean | undefined;
1365
1366
  }[];
1366
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1367
1367
  message?: string | undefined;
1368
- description?: string | undefined;
1369
1368
  metadata?: {
1370
1369
  createdAt?: string | undefined;
1371
1370
  updatedAt?: string | undefined;
1372
1371
  createdBy?: string | undefined;
1373
1372
  } | undefined;
1374
1373
  enabled?: boolean | undefined;
1374
+ description?: string | undefined;
1375
1375
  priority?: number | undefined;
1376
1376
  redirectUrl?: string | undefined;
1377
1377
  }[] | undefined;
@@ -1443,16 +1443,16 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1443
1443
  */
1444
1444
  trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
1445
1445
  }, "strip", z.ZodTypeAny, {
1446
- minReputationScore: number;
1447
1446
  confidenceThreshold: number;
1448
1447
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
1448
+ minReputationScore: number;
1449
1449
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
1450
1450
  trustedReputationThreshold: number;
1451
1451
  trustSignedRequests: boolean;
1452
1452
  }, {
1453
- minReputationScore?: number | undefined;
1454
1453
  confidenceThreshold?: number | undefined;
1455
1454
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
1455
+ minReputationScore?: number | undefined;
1456
1456
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
1457
1457
  trustedReputationThreshold?: number | undefined;
1458
1458
  trustSignedRequests?: boolean | undefined;
@@ -1480,41 +1480,41 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1480
1480
  }, "strip", z.ZodTypeAny, {
1481
1481
  active: boolean;
1482
1482
  agentDid?: string | undefined;
1483
+ clientDid?: string | undefined;
1483
1484
  expiresAt?: string | undefined;
1484
- agentType?: string | undefined;
1485
1485
  reason?: string | undefined;
1486
- clientDid?: string | undefined;
1487
1486
  clientName?: string | undefined;
1487
+ agentType?: string | undefined;
1488
1488
  blockedAt?: string | undefined;
1489
1489
  addedBy?: string | undefined;
1490
1490
  }, {
1491
1491
  agentDid?: string | undefined;
1492
+ clientDid?: string | undefined;
1492
1493
  expiresAt?: string | undefined;
1493
- agentType?: string | undefined;
1494
1494
  reason?: string | undefined;
1495
1495
  active?: boolean | undefined;
1496
- clientDid?: string | undefined;
1497
1496
  clientName?: string | undefined;
1497
+ agentType?: string | undefined;
1498
1498
  blockedAt?: string | undefined;
1499
1499
  addedBy?: string | undefined;
1500
1500
  }>, {
1501
1501
  active: boolean;
1502
1502
  agentDid?: string | undefined;
1503
+ clientDid?: string | undefined;
1503
1504
  expiresAt?: string | undefined;
1504
- agentType?: string | undefined;
1505
1505
  reason?: string | undefined;
1506
- clientDid?: string | undefined;
1507
1506
  clientName?: string | undefined;
1507
+ agentType?: string | undefined;
1508
1508
  blockedAt?: string | undefined;
1509
1509
  addedBy?: string | undefined;
1510
1510
  }, {
1511
1511
  agentDid?: string | undefined;
1512
+ clientDid?: string | undefined;
1512
1513
  expiresAt?: string | undefined;
1513
- agentType?: string | undefined;
1514
1514
  reason?: string | undefined;
1515
1515
  active?: boolean | undefined;
1516
- clientDid?: string | undefined;
1517
1516
  clientName?: string | undefined;
1517
+ agentType?: string | undefined;
1518
1518
  blockedAt?: string | undefined;
1519
1519
  addedBy?: string | undefined;
1520
1520
  }>, "many">>;
@@ -1536,34 +1536,34 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1536
1536
  addedBy: z.ZodOptional<z.ZodString>;
1537
1537
  }, "strip", z.ZodTypeAny, {
1538
1538
  agentDid?: string | undefined;
1539
- agentType?: string | undefined;
1540
- reason?: string | undefined;
1541
1539
  clientDid?: string | undefined;
1540
+ reason?: string | undefined;
1542
1541
  clientName?: string | undefined;
1542
+ agentType?: string | undefined;
1543
1543
  addedBy?: string | undefined;
1544
1544
  addedAt?: string | undefined;
1545
1545
  }, {
1546
1546
  agentDid?: string | undefined;
1547
- agentType?: string | undefined;
1548
- reason?: string | undefined;
1549
1547
  clientDid?: string | undefined;
1548
+ reason?: string | undefined;
1550
1549
  clientName?: string | undefined;
1550
+ agentType?: string | undefined;
1551
1551
  addedBy?: string | undefined;
1552
1552
  addedAt?: string | undefined;
1553
1553
  }>, {
1554
1554
  agentDid?: string | undefined;
1555
- agentType?: string | undefined;
1556
- reason?: string | undefined;
1557
1555
  clientDid?: string | undefined;
1556
+ reason?: string | undefined;
1558
1557
  clientName?: string | undefined;
1558
+ agentType?: string | undefined;
1559
1559
  addedBy?: string | undefined;
1560
1560
  addedAt?: string | undefined;
1561
1561
  }, {
1562
1562
  agentDid?: string | undefined;
1563
- agentType?: string | undefined;
1564
- reason?: string | undefined;
1565
1563
  clientDid?: string | undefined;
1564
+ reason?: string | undefined;
1566
1565
  clientName?: string | undefined;
1566
+ agentType?: string | undefined;
1567
1567
  addedBy?: string | undefined;
1568
1568
  addedAt?: string | undefined;
1569
1569
  }>, "many">>;
@@ -1592,13 +1592,13 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1592
1592
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
1593
1593
  }, "strip", z.ZodTypeAny, {
1594
1594
  value: string | number | boolean | string[];
1595
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1596
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1595
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1596
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1597
1597
  caseInsensitive?: boolean | undefined;
1598
1598
  }, {
1599
1599
  value: string | number | boolean | string[];
1600
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1601
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1600
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1601
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1602
1602
  caseInsensitive?: boolean | undefined;
1603
1603
  }>, "many">;
1604
1604
  /** Action to take when conditions match */
@@ -1624,83 +1624,83 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1624
1624
  createdBy?: string | undefined;
1625
1625
  }>>;
1626
1626
  }, "strip", z.ZodTypeAny, {
1627
- id: string;
1628
1627
  name: string;
1628
+ id: string;
1629
1629
  enabled: boolean;
1630
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1630
1631
  priority: number;
1631
1632
  conditions: {
1632
1633
  value: string | number | boolean | string[];
1633
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1634
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1634
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1635
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1635
1636
  caseInsensitive?: boolean | undefined;
1636
1637
  }[];
1637
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1638
1638
  message?: string | undefined;
1639
- description?: string | undefined;
1640
1639
  metadata?: {
1641
1640
  createdAt?: string | undefined;
1642
1641
  updatedAt?: string | undefined;
1643
1642
  createdBy?: string | undefined;
1644
1643
  } | undefined;
1644
+ description?: string | undefined;
1645
1645
  redirectUrl?: string | undefined;
1646
1646
  }, {
1647
- id: string;
1648
1647
  name: string;
1648
+ id: string;
1649
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1649
1650
  conditions: {
1650
1651
  value: string | number | boolean | string[];
1651
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1652
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1652
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1653
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1653
1654
  caseInsensitive?: boolean | undefined;
1654
1655
  }[];
1655
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1656
1656
  message?: string | undefined;
1657
- description?: string | undefined;
1658
1657
  metadata?: {
1659
1658
  createdAt?: string | undefined;
1660
1659
  updatedAt?: string | undefined;
1661
1660
  createdBy?: string | undefined;
1662
1661
  } | undefined;
1663
1662
  enabled?: boolean | undefined;
1663
+ description?: string | undefined;
1664
1664
  priority?: number | undefined;
1665
1665
  redirectUrl?: string | undefined;
1666
1666
  }>, {
1667
- id: string;
1668
1667
  name: string;
1668
+ id: string;
1669
1669
  enabled: boolean;
1670
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1670
1671
  priority: number;
1671
1672
  conditions: {
1672
1673
  value: string | number | boolean | string[];
1673
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1674
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1674
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1675
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1675
1676
  caseInsensitive?: boolean | undefined;
1676
1677
  }[];
1677
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1678
1678
  message?: string | undefined;
1679
- description?: string | undefined;
1680
1679
  metadata?: {
1681
1680
  createdAt?: string | undefined;
1682
1681
  updatedAt?: string | undefined;
1683
1682
  createdBy?: string | undefined;
1684
1683
  } | undefined;
1684
+ description?: string | undefined;
1685
1685
  redirectUrl?: string | undefined;
1686
1686
  }, {
1687
- id: string;
1688
1687
  name: string;
1688
+ id: string;
1689
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1689
1690
  conditions: {
1690
1691
  value: string | number | boolean | string[];
1691
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1692
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1692
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1693
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1693
1694
  caseInsensitive?: boolean | undefined;
1694
1695
  }[];
1695
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1696
1696
  message?: string | undefined;
1697
- description?: string | undefined;
1698
1697
  metadata?: {
1699
1698
  createdAt?: string | undefined;
1700
1699
  updatedAt?: string | undefined;
1701
1700
  createdBy?: string | undefined;
1702
1701
  } | undefined;
1703
1702
  enabled?: boolean | undefined;
1703
+ description?: string | undefined;
1704
1704
  priority?: number | undefined;
1705
1705
  redirectUrl?: string | undefined;
1706
1706
  }>, "many">>;
@@ -1727,9 +1727,9 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1727
1727
  enabled: boolean;
1728
1728
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
1729
1729
  thresholds: {
1730
- minReputationScore: number;
1731
1730
  confidenceThreshold: number;
1732
1731
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
1732
+ minReputationScore: number;
1733
1733
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
1734
1734
  trustedReputationThreshold: number;
1735
1735
  trustSignedRequests: boolean;
@@ -1737,42 +1737,42 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1737
1737
  denyList: {
1738
1738
  active: boolean;
1739
1739
  agentDid?: string | undefined;
1740
+ clientDid?: string | undefined;
1740
1741
  expiresAt?: string | undefined;
1741
- agentType?: string | undefined;
1742
1742
  reason?: string | undefined;
1743
- clientDid?: string | undefined;
1744
1743
  clientName?: string | undefined;
1744
+ agentType?: string | undefined;
1745
1745
  blockedAt?: string | undefined;
1746
1746
  addedBy?: string | undefined;
1747
1747
  }[];
1748
1748
  allowList: {
1749
1749
  agentDid?: string | undefined;
1750
- agentType?: string | undefined;
1751
- reason?: string | undefined;
1752
1750
  clientDid?: string | undefined;
1751
+ reason?: string | undefined;
1753
1752
  clientName?: string | undefined;
1753
+ agentType?: string | undefined;
1754
1754
  addedBy?: string | undefined;
1755
1755
  addedAt?: string | undefined;
1756
1756
  }[];
1757
1757
  rules: {
1758
- id: string;
1759
1758
  name: string;
1759
+ id: string;
1760
1760
  enabled: boolean;
1761
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1761
1762
  priority: number;
1762
1763
  conditions: {
1763
1764
  value: string | number | boolean | string[];
1764
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1765
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1765
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1766
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1766
1767
  caseInsensitive?: boolean | undefined;
1767
1768
  }[];
1768
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1769
1769
  message?: string | undefined;
1770
- description?: string | undefined;
1771
1770
  metadata?: {
1772
1771
  createdAt?: string | undefined;
1773
1772
  updatedAt?: string | undefined;
1774
1773
  createdBy?: string | undefined;
1775
1774
  } | undefined;
1775
+ description?: string | undefined;
1776
1776
  redirectUrl?: string | undefined;
1777
1777
  }[];
1778
1778
  excludedPaths: string[];
@@ -1784,61 +1784,61 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1784
1784
  redirectUrl?: string | undefined;
1785
1785
  includedPaths?: string[] | undefined;
1786
1786
  }, {
1787
- version?: string | undefined;
1788
1787
  metadata?: {
1789
1788
  lastUpdated?: string | undefined;
1790
1789
  updatedBy?: string | undefined;
1791
1790
  policyId?: string | undefined;
1792
1791
  } | undefined;
1792
+ version?: string | undefined;
1793
1793
  enabled?: boolean | undefined;
1794
1794
  redirectUrl?: string | undefined;
1795
1795
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
1796
1796
  thresholds?: {
1797
- minReputationScore?: number | undefined;
1798
1797
  confidenceThreshold?: number | undefined;
1799
1798
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
1799
+ minReputationScore?: number | undefined;
1800
1800
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
1801
1801
  trustedReputationThreshold?: number | undefined;
1802
1802
  trustSignedRequests?: boolean | undefined;
1803
1803
  } | undefined;
1804
1804
  denyList?: {
1805
1805
  agentDid?: string | undefined;
1806
+ clientDid?: string | undefined;
1806
1807
  expiresAt?: string | undefined;
1807
- agentType?: string | undefined;
1808
1808
  reason?: string | undefined;
1809
1809
  active?: boolean | undefined;
1810
- clientDid?: string | undefined;
1811
1810
  clientName?: string | undefined;
1811
+ agentType?: string | undefined;
1812
1812
  blockedAt?: string | undefined;
1813
1813
  addedBy?: string | undefined;
1814
1814
  }[] | undefined;
1815
1815
  allowList?: {
1816
1816
  agentDid?: string | undefined;
1817
- agentType?: string | undefined;
1818
- reason?: string | undefined;
1819
1817
  clientDid?: string | undefined;
1818
+ reason?: string | undefined;
1820
1819
  clientName?: string | undefined;
1820
+ agentType?: string | undefined;
1821
1821
  addedBy?: string | undefined;
1822
1822
  addedAt?: string | undefined;
1823
1823
  }[] | undefined;
1824
1824
  rules?: {
1825
- id: string;
1826
1825
  name: string;
1826
+ id: string;
1827
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1827
1828
  conditions: {
1828
1829
  value: string | number | boolean | string[];
1829
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1830
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1830
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1831
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1831
1832
  caseInsensitive?: boolean | undefined;
1832
1833
  }[];
1833
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1834
1834
  message?: string | undefined;
1835
- description?: string | undefined;
1836
1835
  metadata?: {
1837
1836
  createdAt?: string | undefined;
1838
1837
  updatedAt?: string | undefined;
1839
1838
  createdBy?: string | undefined;
1840
1839
  } | undefined;
1841
1840
  enabled?: boolean | undefined;
1841
+ description?: string | undefined;
1842
1842
  priority?: number | undefined;
1843
1843
  redirectUrl?: string | undefined;
1844
1844
  }[] | undefined;
@@ -1849,9 +1849,9 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1849
1849
  enabled: boolean;
1850
1850
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
1851
1851
  thresholds: {
1852
- minReputationScore: number;
1853
1852
  confidenceThreshold: number;
1854
1853
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
1854
+ minReputationScore: number;
1855
1855
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
1856
1856
  trustedReputationThreshold: number;
1857
1857
  trustSignedRequests: boolean;
@@ -1859,42 +1859,42 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1859
1859
  denyList: {
1860
1860
  active: boolean;
1861
1861
  agentDid?: string | undefined;
1862
+ clientDid?: string | undefined;
1862
1863
  expiresAt?: string | undefined;
1863
- agentType?: string | undefined;
1864
1864
  reason?: string | undefined;
1865
- clientDid?: string | undefined;
1866
1865
  clientName?: string | undefined;
1866
+ agentType?: string | undefined;
1867
1867
  blockedAt?: string | undefined;
1868
1868
  addedBy?: string | undefined;
1869
1869
  }[];
1870
1870
  allowList: {
1871
1871
  agentDid?: string | undefined;
1872
- agentType?: string | undefined;
1873
- reason?: string | undefined;
1874
1872
  clientDid?: string | undefined;
1873
+ reason?: string | undefined;
1875
1874
  clientName?: string | undefined;
1875
+ agentType?: string | undefined;
1876
1876
  addedBy?: string | undefined;
1877
1877
  addedAt?: string | undefined;
1878
1878
  }[];
1879
1879
  rules: {
1880
- id: string;
1881
1880
  name: string;
1881
+ id: string;
1882
1882
  enabled: boolean;
1883
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1883
1884
  priority: number;
1884
1885
  conditions: {
1885
1886
  value: string | number | boolean | string[];
1886
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1887
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1887
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1888
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1888
1889
  caseInsensitive?: boolean | undefined;
1889
1890
  }[];
1890
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1891
1891
  message?: string | undefined;
1892
- description?: string | undefined;
1893
1892
  metadata?: {
1894
1893
  createdAt?: string | undefined;
1895
1894
  updatedAt?: string | undefined;
1896
1895
  createdBy?: string | undefined;
1897
1896
  } | undefined;
1897
+ description?: string | undefined;
1898
1898
  redirectUrl?: string | undefined;
1899
1899
  }[];
1900
1900
  excludedPaths: string[];
@@ -1906,61 +1906,61 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1906
1906
  redirectUrl?: string | undefined;
1907
1907
  includedPaths?: string[] | undefined;
1908
1908
  }, {
1909
- version?: string | undefined;
1910
1909
  metadata?: {
1911
1910
  lastUpdated?: string | undefined;
1912
1911
  updatedBy?: string | undefined;
1913
1912
  policyId?: string | undefined;
1914
1913
  } | undefined;
1914
+ version?: string | undefined;
1915
1915
  enabled?: boolean | undefined;
1916
1916
  redirectUrl?: string | undefined;
1917
1917
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
1918
1918
  thresholds?: {
1919
- minReputationScore?: number | undefined;
1920
1919
  confidenceThreshold?: number | undefined;
1921
1920
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
1921
+ minReputationScore?: number | undefined;
1922
1922
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
1923
1923
  trustedReputationThreshold?: number | undefined;
1924
1924
  trustSignedRequests?: boolean | undefined;
1925
1925
  } | undefined;
1926
1926
  denyList?: {
1927
1927
  agentDid?: string | undefined;
1928
+ clientDid?: string | undefined;
1928
1929
  expiresAt?: string | undefined;
1929
- agentType?: string | undefined;
1930
1930
  reason?: string | undefined;
1931
1931
  active?: boolean | undefined;
1932
- clientDid?: string | undefined;
1933
1932
  clientName?: string | undefined;
1933
+ agentType?: string | undefined;
1934
1934
  blockedAt?: string | undefined;
1935
1935
  addedBy?: string | undefined;
1936
1936
  }[] | undefined;
1937
1937
  allowList?: {
1938
1938
  agentDid?: string | undefined;
1939
- agentType?: string | undefined;
1940
- reason?: string | undefined;
1941
1939
  clientDid?: string | undefined;
1940
+ reason?: string | undefined;
1942
1941
  clientName?: string | undefined;
1942
+ agentType?: string | undefined;
1943
1943
  addedBy?: string | undefined;
1944
1944
  addedAt?: string | undefined;
1945
1945
  }[] | undefined;
1946
1946
  rules?: {
1947
- id: string;
1948
1947
  name: string;
1948
+ id: string;
1949
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1949
1950
  conditions: {
1950
1951
  value: string | number | boolean | string[];
1951
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1952
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1952
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1953
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1953
1954
  caseInsensitive?: boolean | undefined;
1954
1955
  }[];
1955
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1956
1956
  message?: string | undefined;
1957
- description?: string | undefined;
1958
1957
  metadata?: {
1959
1958
  createdAt?: string | undefined;
1960
1959
  updatedAt?: string | undefined;
1961
1960
  createdBy?: string | undefined;
1962
1961
  } | undefined;
1963
1962
  enabled?: boolean | undefined;
1963
+ description?: string | undefined;
1964
1964
  priority?: number | undefined;
1965
1965
  redirectUrl?: string | undefined;
1966
1966
  }[] | undefined;
@@ -1973,9 +1973,9 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1973
1973
  enabled: boolean;
1974
1974
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
1975
1975
  thresholds: {
1976
- minReputationScore: number;
1977
1976
  confidenceThreshold: number;
1978
1977
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
1978
+ minReputationScore: number;
1979
1979
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
1980
1980
  trustedReputationThreshold: number;
1981
1981
  trustSignedRequests: boolean;
@@ -1983,42 +1983,42 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1983
1983
  denyList: {
1984
1984
  active: boolean;
1985
1985
  agentDid?: string | undefined;
1986
+ clientDid?: string | undefined;
1986
1987
  expiresAt?: string | undefined;
1987
- agentType?: string | undefined;
1988
1988
  reason?: string | undefined;
1989
- clientDid?: string | undefined;
1990
1989
  clientName?: string | undefined;
1990
+ agentType?: string | undefined;
1991
1991
  blockedAt?: string | undefined;
1992
1992
  addedBy?: string | undefined;
1993
1993
  }[];
1994
1994
  allowList: {
1995
1995
  agentDid?: string | undefined;
1996
- agentType?: string | undefined;
1997
- reason?: string | undefined;
1998
1996
  clientDid?: string | undefined;
1997
+ reason?: string | undefined;
1999
1998
  clientName?: string | undefined;
1999
+ agentType?: string | undefined;
2000
2000
  addedBy?: string | undefined;
2001
2001
  addedAt?: string | undefined;
2002
2002
  }[];
2003
2003
  rules: {
2004
- id: string;
2005
2004
  name: string;
2005
+ id: string;
2006
2006
  enabled: boolean;
2007
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2007
2008
  priority: number;
2008
2009
  conditions: {
2009
2010
  value: string | number | boolean | string[];
2010
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2011
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2011
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2012
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2012
2013
  caseInsensitive?: boolean | undefined;
2013
2014
  }[];
2014
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2015
2015
  message?: string | undefined;
2016
- description?: string | undefined;
2017
2016
  metadata?: {
2018
2017
  createdAt?: string | undefined;
2019
2018
  updatedAt?: string | undefined;
2020
2019
  createdBy?: string | undefined;
2021
2020
  } | undefined;
2021
+ description?: string | undefined;
2022
2022
  redirectUrl?: string | undefined;
2023
2023
  }[];
2024
2024
  excludedPaths: string[];
@@ -2032,61 +2032,61 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
2032
2032
  };
2033
2033
  }, {
2034
2034
  policy: {
2035
- version?: string | undefined;
2036
2035
  metadata?: {
2037
2036
  lastUpdated?: string | undefined;
2038
2037
  updatedBy?: string | undefined;
2039
2038
  policyId?: string | undefined;
2040
2039
  } | undefined;
2040
+ version?: string | undefined;
2041
2041
  enabled?: boolean | undefined;
2042
2042
  redirectUrl?: string | undefined;
2043
2043
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2044
2044
  thresholds?: {
2045
- minReputationScore?: number | undefined;
2046
2045
  confidenceThreshold?: number | undefined;
2047
2046
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2047
+ minReputationScore?: number | undefined;
2048
2048
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2049
2049
  trustedReputationThreshold?: number | undefined;
2050
2050
  trustSignedRequests?: boolean | undefined;
2051
2051
  } | undefined;
2052
2052
  denyList?: {
2053
2053
  agentDid?: string | undefined;
2054
+ clientDid?: string | undefined;
2054
2055
  expiresAt?: string | undefined;
2055
- agentType?: string | undefined;
2056
2056
  reason?: string | undefined;
2057
2057
  active?: boolean | undefined;
2058
- clientDid?: string | undefined;
2059
2058
  clientName?: string | undefined;
2059
+ agentType?: string | undefined;
2060
2060
  blockedAt?: string | undefined;
2061
2061
  addedBy?: string | undefined;
2062
2062
  }[] | undefined;
2063
2063
  allowList?: {
2064
2064
  agentDid?: string | undefined;
2065
- agentType?: string | undefined;
2066
- reason?: string | undefined;
2067
2065
  clientDid?: string | undefined;
2066
+ reason?: string | undefined;
2068
2067
  clientName?: string | undefined;
2068
+ agentType?: string | undefined;
2069
2069
  addedBy?: string | undefined;
2070
2070
  addedAt?: string | undefined;
2071
2071
  }[] | undefined;
2072
2072
  rules?: {
2073
- id: string;
2074
2073
  name: string;
2074
+ id: string;
2075
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2075
2076
  conditions: {
2076
2077
  value: string | number | boolean | string[];
2077
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2078
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2078
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2079
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2079
2080
  caseInsensitive?: boolean | undefined;
2080
2081
  }[];
2081
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2082
2082
  message?: string | undefined;
2083
- description?: string | undefined;
2084
2083
  metadata?: {
2085
2084
  createdAt?: string | undefined;
2086
2085
  updatedAt?: string | undefined;
2087
2086
  createdBy?: string | undefined;
2088
2087
  } | undefined;
2089
2088
  enabled?: boolean | undefined;
2089
+ description?: string | undefined;
2090
2090
  priority?: number | undefined;
2091
2091
  redirectUrl?: string | undefined;
2092
2092
  }[] | undefined;
@@ -2115,9 +2115,9 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
2115
2115
  enabled: boolean;
2116
2116
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
2117
2117
  thresholds: {
2118
- minReputationScore: number;
2119
2118
  confidenceThreshold: number;
2120
2119
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
2120
+ minReputationScore: number;
2121
2121
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
2122
2122
  trustedReputationThreshold: number;
2123
2123
  trustSignedRequests: boolean;
@@ -2125,42 +2125,42 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
2125
2125
  denyList: {
2126
2126
  active: boolean;
2127
2127
  agentDid?: string | undefined;
2128
+ clientDid?: string | undefined;
2128
2129
  expiresAt?: string | undefined;
2129
- agentType?: string | undefined;
2130
2130
  reason?: string | undefined;
2131
- clientDid?: string | undefined;
2132
2131
  clientName?: string | undefined;
2132
+ agentType?: string | undefined;
2133
2133
  blockedAt?: string | undefined;
2134
2134
  addedBy?: string | undefined;
2135
2135
  }[];
2136
2136
  allowList: {
2137
2137
  agentDid?: string | undefined;
2138
- agentType?: string | undefined;
2139
- reason?: string | undefined;
2140
2138
  clientDid?: string | undefined;
2139
+ reason?: string | undefined;
2141
2140
  clientName?: string | undefined;
2141
+ agentType?: string | undefined;
2142
2142
  addedBy?: string | undefined;
2143
2143
  addedAt?: string | undefined;
2144
2144
  }[];
2145
2145
  rules: {
2146
- id: string;
2147
2146
  name: string;
2147
+ id: string;
2148
2148
  enabled: boolean;
2149
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2149
2150
  priority: number;
2150
2151
  conditions: {
2151
2152
  value: string | number | boolean | string[];
2152
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2153
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2153
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2154
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2154
2155
  caseInsensitive?: boolean | undefined;
2155
2156
  }[];
2156
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2157
2157
  message?: string | undefined;
2158
- description?: string | undefined;
2159
2158
  metadata?: {
2160
2159
  createdAt?: string | undefined;
2161
2160
  updatedAt?: string | undefined;
2162
2161
  createdBy?: string | undefined;
2163
2162
  } | undefined;
2163
+ description?: string | undefined;
2164
2164
  redirectUrl?: string | undefined;
2165
2165
  }[];
2166
2166
  excludedPaths: string[];
@@ -2182,61 +2182,61 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
2182
2182
  success: boolean;
2183
2183
  data: {
2184
2184
  policy: {
2185
- version?: string | undefined;
2186
2185
  metadata?: {
2187
2186
  lastUpdated?: string | undefined;
2188
2187
  updatedBy?: string | undefined;
2189
2188
  policyId?: string | undefined;
2190
2189
  } | undefined;
2190
+ version?: string | undefined;
2191
2191
  enabled?: boolean | undefined;
2192
2192
  redirectUrl?: string | undefined;
2193
2193
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2194
2194
  thresholds?: {
2195
- minReputationScore?: number | undefined;
2196
2195
  confidenceThreshold?: number | undefined;
2197
2196
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2197
+ minReputationScore?: number | undefined;
2198
2198
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2199
2199
  trustedReputationThreshold?: number | undefined;
2200
2200
  trustSignedRequests?: boolean | undefined;
2201
2201
  } | undefined;
2202
2202
  denyList?: {
2203
2203
  agentDid?: string | undefined;
2204
+ clientDid?: string | undefined;
2204
2205
  expiresAt?: string | undefined;
2205
- agentType?: string | undefined;
2206
2206
  reason?: string | undefined;
2207
2207
  active?: boolean | undefined;
2208
- clientDid?: string | undefined;
2209
2208
  clientName?: string | undefined;
2209
+ agentType?: string | undefined;
2210
2210
  blockedAt?: string | undefined;
2211
2211
  addedBy?: string | undefined;
2212
2212
  }[] | undefined;
2213
2213
  allowList?: {
2214
2214
  agentDid?: string | undefined;
2215
- agentType?: string | undefined;
2216
- reason?: string | undefined;
2217
2215
  clientDid?: string | undefined;
2216
+ reason?: string | undefined;
2218
2217
  clientName?: string | undefined;
2218
+ agentType?: string | undefined;
2219
2219
  addedBy?: string | undefined;
2220
2220
  addedAt?: string | undefined;
2221
2221
  }[] | undefined;
2222
2222
  rules?: {
2223
- id: string;
2224
2223
  name: string;
2224
+ id: string;
2225
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2225
2226
  conditions: {
2226
2227
  value: string | number | boolean | string[];
2227
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2228
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2228
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2229
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2229
2230
  caseInsensitive?: boolean | undefined;
2230
2231
  }[];
2231
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2232
2232
  message?: string | undefined;
2233
- description?: string | undefined;
2234
2233
  metadata?: {
2235
2234
  createdAt?: string | undefined;
2236
2235
  updatedAt?: string | undefined;
2237
2236
  createdBy?: string | undefined;
2238
2237
  } | undefined;
2239
2238
  enabled?: boolean | undefined;
2239
+ description?: string | undefined;
2240
2240
  priority?: number | undefined;
2241
2241
  redirectUrl?: string | undefined;
2242
2242
  }[] | undefined;
@@ -2297,16 +2297,16 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2297
2297
  */
2298
2298
  trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
2299
2299
  }, "strip", z.ZodTypeAny, {
2300
- minReputationScore: number;
2301
2300
  confidenceThreshold: number;
2302
2301
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
2302
+ minReputationScore: number;
2303
2303
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
2304
2304
  trustedReputationThreshold: number;
2305
2305
  trustSignedRequests: boolean;
2306
2306
  }, {
2307
- minReputationScore?: number | undefined;
2308
2307
  confidenceThreshold?: number | undefined;
2309
2308
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2309
+ minReputationScore?: number | undefined;
2310
2310
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2311
2311
  trustedReputationThreshold?: number | undefined;
2312
2312
  trustSignedRequests?: boolean | undefined;
@@ -2333,41 +2333,41 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2333
2333
  }, "strip", z.ZodTypeAny, {
2334
2334
  active: boolean;
2335
2335
  agentDid?: string | undefined;
2336
+ clientDid?: string | undefined;
2336
2337
  expiresAt?: string | undefined;
2337
- agentType?: string | undefined;
2338
2338
  reason?: string | undefined;
2339
- clientDid?: string | undefined;
2340
2339
  clientName?: string | undefined;
2340
+ agentType?: string | undefined;
2341
2341
  blockedAt?: string | undefined;
2342
2342
  addedBy?: string | undefined;
2343
2343
  }, {
2344
2344
  agentDid?: string | undefined;
2345
+ clientDid?: string | undefined;
2345
2346
  expiresAt?: string | undefined;
2346
- agentType?: string | undefined;
2347
2347
  reason?: string | undefined;
2348
2348
  active?: boolean | undefined;
2349
- clientDid?: string | undefined;
2350
2349
  clientName?: string | undefined;
2350
+ agentType?: string | undefined;
2351
2351
  blockedAt?: string | undefined;
2352
2352
  addedBy?: string | undefined;
2353
2353
  }>, {
2354
2354
  active: boolean;
2355
2355
  agentDid?: string | undefined;
2356
+ clientDid?: string | undefined;
2356
2357
  expiresAt?: string | undefined;
2357
- agentType?: string | undefined;
2358
2358
  reason?: string | undefined;
2359
- clientDid?: string | undefined;
2360
2359
  clientName?: string | undefined;
2360
+ agentType?: string | undefined;
2361
2361
  blockedAt?: string | undefined;
2362
2362
  addedBy?: string | undefined;
2363
2363
  }, {
2364
2364
  agentDid?: string | undefined;
2365
+ clientDid?: string | undefined;
2365
2366
  expiresAt?: string | undefined;
2366
- agentType?: string | undefined;
2367
2367
  reason?: string | undefined;
2368
2368
  active?: boolean | undefined;
2369
- clientDid?: string | undefined;
2370
2369
  clientName?: string | undefined;
2370
+ agentType?: string | undefined;
2371
2371
  blockedAt?: string | undefined;
2372
2372
  addedBy?: string | undefined;
2373
2373
  }>, "many">>>;
@@ -2388,34 +2388,34 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2388
2388
  addedBy: z.ZodOptional<z.ZodString>;
2389
2389
  }, "strip", z.ZodTypeAny, {
2390
2390
  agentDid?: string | undefined;
2391
- agentType?: string | undefined;
2392
- reason?: string | undefined;
2393
2391
  clientDid?: string | undefined;
2392
+ reason?: string | undefined;
2394
2393
  clientName?: string | undefined;
2394
+ agentType?: string | undefined;
2395
2395
  addedBy?: string | undefined;
2396
2396
  addedAt?: string | undefined;
2397
2397
  }, {
2398
2398
  agentDid?: string | undefined;
2399
- agentType?: string | undefined;
2400
- reason?: string | undefined;
2401
2399
  clientDid?: string | undefined;
2400
+ reason?: string | undefined;
2402
2401
  clientName?: string | undefined;
2402
+ agentType?: string | undefined;
2403
2403
  addedBy?: string | undefined;
2404
2404
  addedAt?: string | undefined;
2405
2405
  }>, {
2406
2406
  agentDid?: string | undefined;
2407
- agentType?: string | undefined;
2408
- reason?: string | undefined;
2409
2407
  clientDid?: string | undefined;
2408
+ reason?: string | undefined;
2410
2409
  clientName?: string | undefined;
2410
+ agentType?: string | undefined;
2411
2411
  addedBy?: string | undefined;
2412
2412
  addedAt?: string | undefined;
2413
2413
  }, {
2414
2414
  agentDid?: string | undefined;
2415
- agentType?: string | undefined;
2416
- reason?: string | undefined;
2417
2415
  clientDid?: string | undefined;
2416
+ reason?: string | undefined;
2418
2417
  clientName?: string | undefined;
2418
+ agentType?: string | undefined;
2419
2419
  addedBy?: string | undefined;
2420
2420
  addedAt?: string | undefined;
2421
2421
  }>, "many">>>;
@@ -2443,13 +2443,13 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2443
2443
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
2444
2444
  }, "strip", z.ZodTypeAny, {
2445
2445
  value: string | number | boolean | string[];
2446
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2447
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2446
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2447
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2448
2448
  caseInsensitive?: boolean | undefined;
2449
2449
  }, {
2450
2450
  value: string | number | boolean | string[];
2451
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2452
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2451
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2452
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2453
2453
  caseInsensitive?: boolean | undefined;
2454
2454
  }>, "many">;
2455
2455
  /** Action to take when conditions match */
@@ -2475,83 +2475,83 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2475
2475
  createdBy?: string | undefined;
2476
2476
  }>>;
2477
2477
  }, "strip", z.ZodTypeAny, {
2478
- id: string;
2479
2478
  name: string;
2479
+ id: string;
2480
2480
  enabled: boolean;
2481
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2481
2482
  priority: number;
2482
2483
  conditions: {
2483
2484
  value: string | number | boolean | string[];
2484
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2485
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2485
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2486
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2486
2487
  caseInsensitive?: boolean | undefined;
2487
2488
  }[];
2488
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2489
2489
  message?: string | undefined;
2490
- description?: string | undefined;
2491
2490
  metadata?: {
2492
2491
  createdAt?: string | undefined;
2493
2492
  updatedAt?: string | undefined;
2494
2493
  createdBy?: string | undefined;
2495
2494
  } | undefined;
2495
+ description?: string | undefined;
2496
2496
  redirectUrl?: string | undefined;
2497
2497
  }, {
2498
- id: string;
2499
2498
  name: string;
2499
+ id: string;
2500
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2500
2501
  conditions: {
2501
2502
  value: string | number | boolean | string[];
2502
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2503
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2503
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2504
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2504
2505
  caseInsensitive?: boolean | undefined;
2505
2506
  }[];
2506
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2507
2507
  message?: string | undefined;
2508
- description?: string | undefined;
2509
2508
  metadata?: {
2510
2509
  createdAt?: string | undefined;
2511
2510
  updatedAt?: string | undefined;
2512
2511
  createdBy?: string | undefined;
2513
2512
  } | undefined;
2514
2513
  enabled?: boolean | undefined;
2514
+ description?: string | undefined;
2515
2515
  priority?: number | undefined;
2516
2516
  redirectUrl?: string | undefined;
2517
2517
  }>, {
2518
- id: string;
2519
2518
  name: string;
2519
+ id: string;
2520
2520
  enabled: boolean;
2521
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2521
2522
  priority: number;
2522
2523
  conditions: {
2523
2524
  value: string | number | boolean | string[];
2524
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2525
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2525
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2526
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2526
2527
  caseInsensitive?: boolean | undefined;
2527
2528
  }[];
2528
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2529
2529
  message?: string | undefined;
2530
- description?: string | undefined;
2531
2530
  metadata?: {
2532
2531
  createdAt?: string | undefined;
2533
2532
  updatedAt?: string | undefined;
2534
2533
  createdBy?: string | undefined;
2535
2534
  } | undefined;
2535
+ description?: string | undefined;
2536
2536
  redirectUrl?: string | undefined;
2537
2537
  }, {
2538
- id: string;
2539
2538
  name: string;
2539
+ id: string;
2540
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2540
2541
  conditions: {
2541
2542
  value: string | number | boolean | string[];
2542
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2543
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2543
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2544
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2544
2545
  caseInsensitive?: boolean | undefined;
2545
2546
  }[];
2546
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2547
2547
  message?: string | undefined;
2548
- description?: string | undefined;
2549
2548
  metadata?: {
2550
2549
  createdAt?: string | undefined;
2551
2550
  updatedAt?: string | undefined;
2552
2551
  createdBy?: string | undefined;
2553
2552
  } | undefined;
2554
2553
  enabled?: boolean | undefined;
2554
+ description?: string | undefined;
2555
2555
  priority?: number | undefined;
2556
2556
  redirectUrl?: string | undefined;
2557
2557
  }>, "many">>>;
@@ -2571,19 +2571,19 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2571
2571
  policyId?: string | undefined;
2572
2572
  }>>>;
2573
2573
  }, "strip", z.ZodTypeAny, {
2574
- version?: string | undefined;
2575
2574
  metadata?: {
2576
2575
  lastUpdated?: string | undefined;
2577
2576
  updatedBy?: string | undefined;
2578
2577
  policyId?: string | undefined;
2579
2578
  } | undefined;
2579
+ version?: string | undefined;
2580
2580
  enabled?: boolean | undefined;
2581
2581
  redirectUrl?: string | undefined;
2582
2582
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2583
2583
  thresholds?: {
2584
- minReputationScore: number;
2585
2584
  confidenceThreshold: number;
2586
2585
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
2586
+ minReputationScore: number;
2587
2587
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
2588
2588
  trustedReputationThreshold: number;
2589
2589
  trustSignedRequests: boolean;
@@ -2591,102 +2591,102 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2591
2591
  denyList?: {
2592
2592
  active: boolean;
2593
2593
  agentDid?: string | undefined;
2594
+ clientDid?: string | undefined;
2594
2595
  expiresAt?: string | undefined;
2595
- agentType?: string | undefined;
2596
2596
  reason?: string | undefined;
2597
- clientDid?: string | undefined;
2598
2597
  clientName?: string | undefined;
2598
+ agentType?: string | undefined;
2599
2599
  blockedAt?: string | undefined;
2600
2600
  addedBy?: string | undefined;
2601
2601
  }[] | undefined;
2602
2602
  allowList?: {
2603
2603
  agentDid?: string | undefined;
2604
- agentType?: string | undefined;
2605
- reason?: string | undefined;
2606
2604
  clientDid?: string | undefined;
2605
+ reason?: string | undefined;
2607
2606
  clientName?: string | undefined;
2607
+ agentType?: string | undefined;
2608
2608
  addedBy?: string | undefined;
2609
2609
  addedAt?: string | undefined;
2610
2610
  }[] | undefined;
2611
2611
  rules?: {
2612
- id: string;
2613
2612
  name: string;
2613
+ id: string;
2614
2614
  enabled: boolean;
2615
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2615
2616
  priority: number;
2616
2617
  conditions: {
2617
2618
  value: string | number | boolean | string[];
2618
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2619
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2619
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2620
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2620
2621
  caseInsensitive?: boolean | undefined;
2621
2622
  }[];
2622
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2623
2623
  message?: string | undefined;
2624
- description?: string | undefined;
2625
2624
  metadata?: {
2626
2625
  createdAt?: string | undefined;
2627
2626
  updatedAt?: string | undefined;
2628
2627
  createdBy?: string | undefined;
2629
2628
  } | undefined;
2629
+ description?: string | undefined;
2630
2630
  redirectUrl?: string | undefined;
2631
2631
  }[] | undefined;
2632
2632
  excludedPaths?: string[] | undefined;
2633
2633
  includedPaths?: string[] | undefined;
2634
2634
  }, {
2635
- version?: string | undefined;
2636
2635
  metadata?: {
2637
2636
  lastUpdated?: string | undefined;
2638
2637
  updatedBy?: string | undefined;
2639
2638
  policyId?: string | undefined;
2640
2639
  } | undefined;
2640
+ version?: string | undefined;
2641
2641
  enabled?: boolean | undefined;
2642
2642
  redirectUrl?: string | undefined;
2643
2643
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2644
2644
  thresholds?: {
2645
- minReputationScore?: number | undefined;
2646
2645
  confidenceThreshold?: number | undefined;
2647
2646
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2647
+ minReputationScore?: number | undefined;
2648
2648
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2649
2649
  trustedReputationThreshold?: number | undefined;
2650
2650
  trustSignedRequests?: boolean | undefined;
2651
2651
  } | undefined;
2652
2652
  denyList?: {
2653
2653
  agentDid?: string | undefined;
2654
+ clientDid?: string | undefined;
2654
2655
  expiresAt?: string | undefined;
2655
- agentType?: string | undefined;
2656
2656
  reason?: string | undefined;
2657
2657
  active?: boolean | undefined;
2658
- clientDid?: string | undefined;
2659
2658
  clientName?: string | undefined;
2659
+ agentType?: string | undefined;
2660
2660
  blockedAt?: string | undefined;
2661
2661
  addedBy?: string | undefined;
2662
2662
  }[] | undefined;
2663
2663
  allowList?: {
2664
2664
  agentDid?: string | undefined;
2665
- agentType?: string | undefined;
2666
- reason?: string | undefined;
2667
2665
  clientDid?: string | undefined;
2666
+ reason?: string | undefined;
2668
2667
  clientName?: string | undefined;
2668
+ agentType?: string | undefined;
2669
2669
  addedBy?: string | undefined;
2670
2670
  addedAt?: string | undefined;
2671
2671
  }[] | undefined;
2672
2672
  rules?: {
2673
- id: string;
2674
2673
  name: string;
2674
+ id: string;
2675
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2675
2676
  conditions: {
2676
2677
  value: string | number | boolean | string[];
2677
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2678
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2678
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2679
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2679
2680
  caseInsensitive?: boolean | undefined;
2680
2681
  }[];
2681
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2682
2682
  message?: string | undefined;
2683
- description?: string | undefined;
2684
2683
  metadata?: {
2685
2684
  createdAt?: string | undefined;
2686
2685
  updatedAt?: string | undefined;
2687
2686
  createdBy?: string | undefined;
2688
2687
  } | undefined;
2689
2688
  enabled?: boolean | undefined;
2689
+ description?: string | undefined;
2690
2690
  priority?: number | undefined;
2691
2691
  redirectUrl?: string | undefined;
2692
2692
  }[] | undefined;
@@ -2696,19 +2696,19 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2696
2696
  }, "strip", z.ZodTypeAny, {
2697
2697
  projectId: string;
2698
2698
  policy: {
2699
- version?: string | undefined;
2700
2699
  metadata?: {
2701
2700
  lastUpdated?: string | undefined;
2702
2701
  updatedBy?: string | undefined;
2703
2702
  policyId?: string | undefined;
2704
2703
  } | undefined;
2704
+ version?: string | undefined;
2705
2705
  enabled?: boolean | undefined;
2706
2706
  redirectUrl?: string | undefined;
2707
2707
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2708
2708
  thresholds?: {
2709
- minReputationScore: number;
2710
2709
  confidenceThreshold: number;
2711
2710
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
2711
+ minReputationScore: number;
2712
2712
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
2713
2713
  trustedReputationThreshold: number;
2714
2714
  trustSignedRequests: boolean;
@@ -2716,42 +2716,42 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2716
2716
  denyList?: {
2717
2717
  active: boolean;
2718
2718
  agentDid?: string | undefined;
2719
+ clientDid?: string | undefined;
2719
2720
  expiresAt?: string | undefined;
2720
- agentType?: string | undefined;
2721
2721
  reason?: string | undefined;
2722
- clientDid?: string | undefined;
2723
2722
  clientName?: string | undefined;
2723
+ agentType?: string | undefined;
2724
2724
  blockedAt?: string | undefined;
2725
2725
  addedBy?: string | undefined;
2726
2726
  }[] | undefined;
2727
2727
  allowList?: {
2728
2728
  agentDid?: string | undefined;
2729
- agentType?: string | undefined;
2730
- reason?: string | undefined;
2731
2729
  clientDid?: string | undefined;
2730
+ reason?: string | undefined;
2732
2731
  clientName?: string | undefined;
2732
+ agentType?: string | undefined;
2733
2733
  addedBy?: string | undefined;
2734
2734
  addedAt?: string | undefined;
2735
2735
  }[] | undefined;
2736
2736
  rules?: {
2737
- id: string;
2738
2737
  name: string;
2738
+ id: string;
2739
2739
  enabled: boolean;
2740
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2740
2741
  priority: number;
2741
2742
  conditions: {
2742
2743
  value: string | number | boolean | string[];
2743
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2744
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2744
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2745
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2745
2746
  caseInsensitive?: boolean | undefined;
2746
2747
  }[];
2747
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2748
2748
  message?: string | undefined;
2749
- description?: string | undefined;
2750
2749
  metadata?: {
2751
2750
  createdAt?: string | undefined;
2752
2751
  updatedAt?: string | undefined;
2753
2752
  createdBy?: string | undefined;
2754
2753
  } | undefined;
2754
+ description?: string | undefined;
2755
2755
  redirectUrl?: string | undefined;
2756
2756
  }[] | undefined;
2757
2757
  excludedPaths?: string[] | undefined;
@@ -2760,61 +2760,61 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2760
2760
  }, {
2761
2761
  projectId: string;
2762
2762
  policy: {
2763
- version?: string | undefined;
2764
2763
  metadata?: {
2765
2764
  lastUpdated?: string | undefined;
2766
2765
  updatedBy?: string | undefined;
2767
2766
  policyId?: string | undefined;
2768
2767
  } | undefined;
2768
+ version?: string | undefined;
2769
2769
  enabled?: boolean | undefined;
2770
2770
  redirectUrl?: string | undefined;
2771
2771
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2772
2772
  thresholds?: {
2773
- minReputationScore?: number | undefined;
2774
2773
  confidenceThreshold?: number | undefined;
2775
2774
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2775
+ minReputationScore?: number | undefined;
2776
2776
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2777
2777
  trustedReputationThreshold?: number | undefined;
2778
2778
  trustSignedRequests?: boolean | undefined;
2779
2779
  } | undefined;
2780
2780
  denyList?: {
2781
2781
  agentDid?: string | undefined;
2782
+ clientDid?: string | undefined;
2782
2783
  expiresAt?: string | undefined;
2783
- agentType?: string | undefined;
2784
2784
  reason?: string | undefined;
2785
2785
  active?: boolean | undefined;
2786
- clientDid?: string | undefined;
2787
2786
  clientName?: string | undefined;
2787
+ agentType?: string | undefined;
2788
2788
  blockedAt?: string | undefined;
2789
2789
  addedBy?: string | undefined;
2790
2790
  }[] | undefined;
2791
2791
  allowList?: {
2792
2792
  agentDid?: string | undefined;
2793
- agentType?: string | undefined;
2794
- reason?: string | undefined;
2795
2793
  clientDid?: string | undefined;
2794
+ reason?: string | undefined;
2796
2795
  clientName?: string | undefined;
2796
+ agentType?: string | undefined;
2797
2797
  addedBy?: string | undefined;
2798
2798
  addedAt?: string | undefined;
2799
2799
  }[] | undefined;
2800
2800
  rules?: {
2801
- id: string;
2802
2801
  name: string;
2802
+ id: string;
2803
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2803
2804
  conditions: {
2804
2805
  value: string | number | boolean | string[];
2805
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2806
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2806
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2807
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2807
2808
  caseInsensitive?: boolean | undefined;
2808
2809
  }[];
2809
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2810
2810
  message?: string | undefined;
2811
- description?: string | undefined;
2812
2811
  metadata?: {
2813
2812
  createdAt?: string | undefined;
2814
2813
  updatedAt?: string | undefined;
2815
2814
  createdBy?: string | undefined;
2816
2815
  } | undefined;
2817
2816
  enabled?: boolean | undefined;
2817
+ description?: string | undefined;
2818
2818
  priority?: number | undefined;
2819
2819
  redirectUrl?: string | undefined;
2820
2820
  }[] | undefined;
@@ -2875,16 +2875,16 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
2875
2875
  */
2876
2876
  trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
2877
2877
  }, "strip", z.ZodTypeAny, {
2878
- minReputationScore: number;
2879
2878
  confidenceThreshold: number;
2880
2879
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
2880
+ minReputationScore: number;
2881
2881
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
2882
2882
  trustedReputationThreshold: number;
2883
2883
  trustSignedRequests: boolean;
2884
2884
  }, {
2885
- minReputationScore?: number | undefined;
2886
2885
  confidenceThreshold?: number | undefined;
2887
2886
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2887
+ minReputationScore?: number | undefined;
2888
2888
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2889
2889
  trustedReputationThreshold?: number | undefined;
2890
2890
  trustSignedRequests?: boolean | undefined;
@@ -2912,41 +2912,41 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
2912
2912
  }, "strip", z.ZodTypeAny, {
2913
2913
  active: boolean;
2914
2914
  agentDid?: string | undefined;
2915
+ clientDid?: string | undefined;
2915
2916
  expiresAt?: string | undefined;
2916
- agentType?: string | undefined;
2917
2917
  reason?: string | undefined;
2918
- clientDid?: string | undefined;
2919
2918
  clientName?: string | undefined;
2919
+ agentType?: string | undefined;
2920
2920
  blockedAt?: string | undefined;
2921
2921
  addedBy?: string | undefined;
2922
2922
  }, {
2923
2923
  agentDid?: string | undefined;
2924
+ clientDid?: string | undefined;
2924
2925
  expiresAt?: string | undefined;
2925
- agentType?: string | undefined;
2926
2926
  reason?: string | undefined;
2927
2927
  active?: boolean | undefined;
2928
- clientDid?: string | undefined;
2929
2928
  clientName?: string | undefined;
2929
+ agentType?: string | undefined;
2930
2930
  blockedAt?: string | undefined;
2931
2931
  addedBy?: string | undefined;
2932
2932
  }>, {
2933
2933
  active: boolean;
2934
2934
  agentDid?: string | undefined;
2935
+ clientDid?: string | undefined;
2935
2936
  expiresAt?: string | undefined;
2936
- agentType?: string | undefined;
2937
2937
  reason?: string | undefined;
2938
- clientDid?: string | undefined;
2939
2938
  clientName?: string | undefined;
2939
+ agentType?: string | undefined;
2940
2940
  blockedAt?: string | undefined;
2941
2941
  addedBy?: string | undefined;
2942
2942
  }, {
2943
2943
  agentDid?: string | undefined;
2944
+ clientDid?: string | undefined;
2944
2945
  expiresAt?: string | undefined;
2945
- agentType?: string | undefined;
2946
2946
  reason?: string | undefined;
2947
2947
  active?: boolean | undefined;
2948
- clientDid?: string | undefined;
2949
2948
  clientName?: string | undefined;
2949
+ agentType?: string | undefined;
2950
2950
  blockedAt?: string | undefined;
2951
2951
  addedBy?: string | undefined;
2952
2952
  }>, "many">>;
@@ -2968,34 +2968,34 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
2968
2968
  addedBy: z.ZodOptional<z.ZodString>;
2969
2969
  }, "strip", z.ZodTypeAny, {
2970
2970
  agentDid?: string | undefined;
2971
- agentType?: string | undefined;
2972
- reason?: string | undefined;
2973
2971
  clientDid?: string | undefined;
2972
+ reason?: string | undefined;
2974
2973
  clientName?: string | undefined;
2974
+ agentType?: string | undefined;
2975
2975
  addedBy?: string | undefined;
2976
2976
  addedAt?: string | undefined;
2977
2977
  }, {
2978
2978
  agentDid?: string | undefined;
2979
- agentType?: string | undefined;
2980
- reason?: string | undefined;
2981
2979
  clientDid?: string | undefined;
2980
+ reason?: string | undefined;
2982
2981
  clientName?: string | undefined;
2982
+ agentType?: string | undefined;
2983
2983
  addedBy?: string | undefined;
2984
2984
  addedAt?: string | undefined;
2985
2985
  }>, {
2986
2986
  agentDid?: string | undefined;
2987
- agentType?: string | undefined;
2988
- reason?: string | undefined;
2989
2987
  clientDid?: string | undefined;
2988
+ reason?: string | undefined;
2990
2989
  clientName?: string | undefined;
2990
+ agentType?: string | undefined;
2991
2991
  addedBy?: string | undefined;
2992
2992
  addedAt?: string | undefined;
2993
2993
  }, {
2994
2994
  agentDid?: string | undefined;
2995
- agentType?: string | undefined;
2996
- reason?: string | undefined;
2997
2995
  clientDid?: string | undefined;
2996
+ reason?: string | undefined;
2998
2997
  clientName?: string | undefined;
2998
+ agentType?: string | undefined;
2999
2999
  addedBy?: string | undefined;
3000
3000
  addedAt?: string | undefined;
3001
3001
  }>, "many">>;
@@ -3024,13 +3024,13 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3024
3024
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
3025
3025
  }, "strip", z.ZodTypeAny, {
3026
3026
  value: string | number | boolean | string[];
3027
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3028
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3027
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3028
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3029
3029
  caseInsensitive?: boolean | undefined;
3030
3030
  }, {
3031
3031
  value: string | number | boolean | string[];
3032
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3033
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3032
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3033
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3034
3034
  caseInsensitive?: boolean | undefined;
3035
3035
  }>, "many">;
3036
3036
  /** Action to take when conditions match */
@@ -3056,83 +3056,83 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3056
3056
  createdBy?: string | undefined;
3057
3057
  }>>;
3058
3058
  }, "strip", z.ZodTypeAny, {
3059
- id: string;
3060
3059
  name: string;
3060
+ id: string;
3061
3061
  enabled: boolean;
3062
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3062
3063
  priority: number;
3063
3064
  conditions: {
3064
3065
  value: string | number | boolean | string[];
3065
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3066
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3066
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3067
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3067
3068
  caseInsensitive?: boolean | undefined;
3068
3069
  }[];
3069
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3070
3070
  message?: string | undefined;
3071
- description?: string | undefined;
3072
3071
  metadata?: {
3073
3072
  createdAt?: string | undefined;
3074
3073
  updatedAt?: string | undefined;
3075
3074
  createdBy?: string | undefined;
3076
3075
  } | undefined;
3076
+ description?: string | undefined;
3077
3077
  redirectUrl?: string | undefined;
3078
3078
  }, {
3079
- id: string;
3080
3079
  name: string;
3080
+ id: string;
3081
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3081
3082
  conditions: {
3082
3083
  value: string | number | boolean | string[];
3083
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3084
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3084
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3085
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3085
3086
  caseInsensitive?: boolean | undefined;
3086
3087
  }[];
3087
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3088
3088
  message?: string | undefined;
3089
- description?: string | undefined;
3090
3089
  metadata?: {
3091
3090
  createdAt?: string | undefined;
3092
3091
  updatedAt?: string | undefined;
3093
3092
  createdBy?: string | undefined;
3094
3093
  } | undefined;
3095
3094
  enabled?: boolean | undefined;
3095
+ description?: string | undefined;
3096
3096
  priority?: number | undefined;
3097
3097
  redirectUrl?: string | undefined;
3098
3098
  }>, {
3099
- id: string;
3100
3099
  name: string;
3100
+ id: string;
3101
3101
  enabled: boolean;
3102
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3102
3103
  priority: number;
3103
3104
  conditions: {
3104
3105
  value: string | number | boolean | string[];
3105
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3106
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3106
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3107
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3107
3108
  caseInsensitive?: boolean | undefined;
3108
3109
  }[];
3109
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3110
3110
  message?: string | undefined;
3111
- description?: string | undefined;
3112
3111
  metadata?: {
3113
3112
  createdAt?: string | undefined;
3114
3113
  updatedAt?: string | undefined;
3115
3114
  createdBy?: string | undefined;
3116
3115
  } | undefined;
3116
+ description?: string | undefined;
3117
3117
  redirectUrl?: string | undefined;
3118
3118
  }, {
3119
- id: string;
3120
3119
  name: string;
3120
+ id: string;
3121
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3121
3122
  conditions: {
3122
3123
  value: string | number | boolean | string[];
3123
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3124
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3124
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3125
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3125
3126
  caseInsensitive?: boolean | undefined;
3126
3127
  }[];
3127
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3128
3128
  message?: string | undefined;
3129
- description?: string | undefined;
3130
3129
  metadata?: {
3131
3130
  createdAt?: string | undefined;
3132
3131
  updatedAt?: string | undefined;
3133
3132
  createdBy?: string | undefined;
3134
3133
  } | undefined;
3135
3134
  enabled?: boolean | undefined;
3135
+ description?: string | undefined;
3136
3136
  priority?: number | undefined;
3137
3137
  redirectUrl?: string | undefined;
3138
3138
  }>, "many">>;
@@ -3159,9 +3159,9 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3159
3159
  enabled: boolean;
3160
3160
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
3161
3161
  thresholds: {
3162
- minReputationScore: number;
3163
3162
  confidenceThreshold: number;
3164
3163
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
3164
+ minReputationScore: number;
3165
3165
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
3166
3166
  trustedReputationThreshold: number;
3167
3167
  trustSignedRequests: boolean;
@@ -3169,42 +3169,42 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3169
3169
  denyList: {
3170
3170
  active: boolean;
3171
3171
  agentDid?: string | undefined;
3172
+ clientDid?: string | undefined;
3172
3173
  expiresAt?: string | undefined;
3173
- agentType?: string | undefined;
3174
3174
  reason?: string | undefined;
3175
- clientDid?: string | undefined;
3176
3175
  clientName?: string | undefined;
3176
+ agentType?: string | undefined;
3177
3177
  blockedAt?: string | undefined;
3178
3178
  addedBy?: string | undefined;
3179
3179
  }[];
3180
3180
  allowList: {
3181
3181
  agentDid?: string | undefined;
3182
- agentType?: string | undefined;
3183
- reason?: string | undefined;
3184
3182
  clientDid?: string | undefined;
3183
+ reason?: string | undefined;
3185
3184
  clientName?: string | undefined;
3185
+ agentType?: string | undefined;
3186
3186
  addedBy?: string | undefined;
3187
3187
  addedAt?: string | undefined;
3188
3188
  }[];
3189
3189
  rules: {
3190
- id: string;
3191
3190
  name: string;
3191
+ id: string;
3192
3192
  enabled: boolean;
3193
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3193
3194
  priority: number;
3194
3195
  conditions: {
3195
3196
  value: string | number | boolean | string[];
3196
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3197
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3197
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3198
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3198
3199
  caseInsensitive?: boolean | undefined;
3199
3200
  }[];
3200
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3201
3201
  message?: string | undefined;
3202
- description?: string | undefined;
3203
3202
  metadata?: {
3204
3203
  createdAt?: string | undefined;
3205
3204
  updatedAt?: string | undefined;
3206
3205
  createdBy?: string | undefined;
3207
3206
  } | undefined;
3207
+ description?: string | undefined;
3208
3208
  redirectUrl?: string | undefined;
3209
3209
  }[];
3210
3210
  excludedPaths: string[];
@@ -3216,61 +3216,61 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3216
3216
  redirectUrl?: string | undefined;
3217
3217
  includedPaths?: string[] | undefined;
3218
3218
  }, {
3219
- version?: string | undefined;
3220
3219
  metadata?: {
3221
3220
  lastUpdated?: string | undefined;
3222
3221
  updatedBy?: string | undefined;
3223
3222
  policyId?: string | undefined;
3224
3223
  } | undefined;
3224
+ version?: string | undefined;
3225
3225
  enabled?: boolean | undefined;
3226
3226
  redirectUrl?: string | undefined;
3227
3227
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3228
3228
  thresholds?: {
3229
- minReputationScore?: number | undefined;
3230
3229
  confidenceThreshold?: number | undefined;
3231
3230
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3231
+ minReputationScore?: number | undefined;
3232
3232
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3233
3233
  trustedReputationThreshold?: number | undefined;
3234
3234
  trustSignedRequests?: boolean | undefined;
3235
3235
  } | undefined;
3236
3236
  denyList?: {
3237
3237
  agentDid?: string | undefined;
3238
+ clientDid?: string | undefined;
3238
3239
  expiresAt?: string | undefined;
3239
- agentType?: string | undefined;
3240
3240
  reason?: string | undefined;
3241
3241
  active?: boolean | undefined;
3242
- clientDid?: string | undefined;
3243
3242
  clientName?: string | undefined;
3243
+ agentType?: string | undefined;
3244
3244
  blockedAt?: string | undefined;
3245
3245
  addedBy?: string | undefined;
3246
3246
  }[] | undefined;
3247
3247
  allowList?: {
3248
3248
  agentDid?: string | undefined;
3249
- agentType?: string | undefined;
3250
- reason?: string | undefined;
3251
3249
  clientDid?: string | undefined;
3250
+ reason?: string | undefined;
3252
3251
  clientName?: string | undefined;
3252
+ agentType?: string | undefined;
3253
3253
  addedBy?: string | undefined;
3254
3254
  addedAt?: string | undefined;
3255
3255
  }[] | undefined;
3256
3256
  rules?: {
3257
- id: string;
3258
3257
  name: string;
3258
+ id: string;
3259
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3259
3260
  conditions: {
3260
3261
  value: string | number | boolean | string[];
3261
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3262
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3262
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3263
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3263
3264
  caseInsensitive?: boolean | undefined;
3264
3265
  }[];
3265
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3266
3266
  message?: string | undefined;
3267
- description?: string | undefined;
3268
3267
  metadata?: {
3269
3268
  createdAt?: string | undefined;
3270
3269
  updatedAt?: string | undefined;
3271
3270
  createdBy?: string | undefined;
3272
3271
  } | undefined;
3273
3272
  enabled?: boolean | undefined;
3273
+ description?: string | undefined;
3274
3274
  priority?: number | undefined;
3275
3275
  redirectUrl?: string | undefined;
3276
3276
  }[] | undefined;
@@ -3281,9 +3281,9 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3281
3281
  enabled: boolean;
3282
3282
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
3283
3283
  thresholds: {
3284
- minReputationScore: number;
3285
3284
  confidenceThreshold: number;
3286
3285
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
3286
+ minReputationScore: number;
3287
3287
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
3288
3288
  trustedReputationThreshold: number;
3289
3289
  trustSignedRequests: boolean;
@@ -3291,42 +3291,42 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3291
3291
  denyList: {
3292
3292
  active: boolean;
3293
3293
  agentDid?: string | undefined;
3294
+ clientDid?: string | undefined;
3294
3295
  expiresAt?: string | undefined;
3295
- agentType?: string | undefined;
3296
3296
  reason?: string | undefined;
3297
- clientDid?: string | undefined;
3298
3297
  clientName?: string | undefined;
3298
+ agentType?: string | undefined;
3299
3299
  blockedAt?: string | undefined;
3300
3300
  addedBy?: string | undefined;
3301
3301
  }[];
3302
3302
  allowList: {
3303
3303
  agentDid?: string | undefined;
3304
- agentType?: string | undefined;
3305
- reason?: string | undefined;
3306
3304
  clientDid?: string | undefined;
3305
+ reason?: string | undefined;
3307
3306
  clientName?: string | undefined;
3307
+ agentType?: string | undefined;
3308
3308
  addedBy?: string | undefined;
3309
3309
  addedAt?: string | undefined;
3310
3310
  }[];
3311
3311
  rules: {
3312
- id: string;
3313
3312
  name: string;
3313
+ id: string;
3314
3314
  enabled: boolean;
3315
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3315
3316
  priority: number;
3316
3317
  conditions: {
3317
3318
  value: string | number | boolean | string[];
3318
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3319
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3319
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3320
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3320
3321
  caseInsensitive?: boolean | undefined;
3321
3322
  }[];
3322
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3323
3323
  message?: string | undefined;
3324
- description?: string | undefined;
3325
3324
  metadata?: {
3326
3325
  createdAt?: string | undefined;
3327
3326
  updatedAt?: string | undefined;
3328
3327
  createdBy?: string | undefined;
3329
3328
  } | undefined;
3329
+ description?: string | undefined;
3330
3330
  redirectUrl?: string | undefined;
3331
3331
  }[];
3332
3332
  excludedPaths: string[];
@@ -3338,61 +3338,61 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3338
3338
  redirectUrl?: string | undefined;
3339
3339
  includedPaths?: string[] | undefined;
3340
3340
  }, {
3341
- version?: string | undefined;
3342
3341
  metadata?: {
3343
3342
  lastUpdated?: string | undefined;
3344
3343
  updatedBy?: string | undefined;
3345
3344
  policyId?: string | undefined;
3346
3345
  } | undefined;
3346
+ version?: string | undefined;
3347
3347
  enabled?: boolean | undefined;
3348
3348
  redirectUrl?: string | undefined;
3349
3349
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3350
3350
  thresholds?: {
3351
- minReputationScore?: number | undefined;
3352
3351
  confidenceThreshold?: number | undefined;
3353
3352
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3353
+ minReputationScore?: number | undefined;
3354
3354
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3355
3355
  trustedReputationThreshold?: number | undefined;
3356
3356
  trustSignedRequests?: boolean | undefined;
3357
3357
  } | undefined;
3358
3358
  denyList?: {
3359
3359
  agentDid?: string | undefined;
3360
+ clientDid?: string | undefined;
3360
3361
  expiresAt?: string | undefined;
3361
- agentType?: string | undefined;
3362
3362
  reason?: string | undefined;
3363
3363
  active?: boolean | undefined;
3364
- clientDid?: string | undefined;
3365
3364
  clientName?: string | undefined;
3365
+ agentType?: string | undefined;
3366
3366
  blockedAt?: string | undefined;
3367
3367
  addedBy?: string | undefined;
3368
3368
  }[] | undefined;
3369
3369
  allowList?: {
3370
3370
  agentDid?: string | undefined;
3371
- agentType?: string | undefined;
3372
- reason?: string | undefined;
3373
3371
  clientDid?: string | undefined;
3372
+ reason?: string | undefined;
3374
3373
  clientName?: string | undefined;
3374
+ agentType?: string | undefined;
3375
3375
  addedBy?: string | undefined;
3376
3376
  addedAt?: string | undefined;
3377
3377
  }[] | undefined;
3378
3378
  rules?: {
3379
- id: string;
3380
3379
  name: string;
3380
+ id: string;
3381
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3381
3382
  conditions: {
3382
3383
  value: string | number | boolean | string[];
3383
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3384
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3384
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3385
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3385
3386
  caseInsensitive?: boolean | undefined;
3386
3387
  }[];
3387
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3388
3388
  message?: string | undefined;
3389
- description?: string | undefined;
3390
3389
  metadata?: {
3391
3390
  createdAt?: string | undefined;
3392
3391
  updatedAt?: string | undefined;
3393
3392
  createdBy?: string | undefined;
3394
3393
  } | undefined;
3395
3394
  enabled?: boolean | undefined;
3395
+ description?: string | undefined;
3396
3396
  priority?: number | undefined;
3397
3397
  redirectUrl?: string | undefined;
3398
3398
  }[] | undefined;
@@ -3406,9 +3406,9 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3406
3406
  enabled: boolean;
3407
3407
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
3408
3408
  thresholds: {
3409
- minReputationScore: number;
3410
3409
  confidenceThreshold: number;
3411
3410
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
3411
+ minReputationScore: number;
3412
3412
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
3413
3413
  trustedReputationThreshold: number;
3414
3414
  trustSignedRequests: boolean;
@@ -3416,42 +3416,42 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3416
3416
  denyList: {
3417
3417
  active: boolean;
3418
3418
  agentDid?: string | undefined;
3419
+ clientDid?: string | undefined;
3419
3420
  expiresAt?: string | undefined;
3420
- agentType?: string | undefined;
3421
3421
  reason?: string | undefined;
3422
- clientDid?: string | undefined;
3423
3422
  clientName?: string | undefined;
3423
+ agentType?: string | undefined;
3424
3424
  blockedAt?: string | undefined;
3425
3425
  addedBy?: string | undefined;
3426
3426
  }[];
3427
3427
  allowList: {
3428
3428
  agentDid?: string | undefined;
3429
- agentType?: string | undefined;
3430
- reason?: string | undefined;
3431
3429
  clientDid?: string | undefined;
3430
+ reason?: string | undefined;
3432
3431
  clientName?: string | undefined;
3432
+ agentType?: string | undefined;
3433
3433
  addedBy?: string | undefined;
3434
3434
  addedAt?: string | undefined;
3435
3435
  }[];
3436
3436
  rules: {
3437
- id: string;
3438
3437
  name: string;
3438
+ id: string;
3439
3439
  enabled: boolean;
3440
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3440
3441
  priority: number;
3441
3442
  conditions: {
3442
3443
  value: string | number | boolean | string[];
3443
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3444
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3444
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3445
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3445
3446
  caseInsensitive?: boolean | undefined;
3446
3447
  }[];
3447
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3448
3448
  message?: string | undefined;
3449
- description?: string | undefined;
3450
3449
  metadata?: {
3451
3450
  createdAt?: string | undefined;
3452
3451
  updatedAt?: string | undefined;
3453
3452
  createdBy?: string | undefined;
3454
3453
  } | undefined;
3454
+ description?: string | undefined;
3455
3455
  redirectUrl?: string | undefined;
3456
3456
  }[];
3457
3457
  excludedPaths: string[];
@@ -3466,61 +3466,61 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3466
3466
  changes?: string[] | undefined;
3467
3467
  }, {
3468
3468
  policy: {
3469
- version?: string | undefined;
3470
3469
  metadata?: {
3471
3470
  lastUpdated?: string | undefined;
3472
3471
  updatedBy?: string | undefined;
3473
3472
  policyId?: string | undefined;
3474
3473
  } | undefined;
3474
+ version?: string | undefined;
3475
3475
  enabled?: boolean | undefined;
3476
3476
  redirectUrl?: string | undefined;
3477
3477
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3478
3478
  thresholds?: {
3479
- minReputationScore?: number | undefined;
3480
3479
  confidenceThreshold?: number | undefined;
3481
3480
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3481
+ minReputationScore?: number | undefined;
3482
3482
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3483
3483
  trustedReputationThreshold?: number | undefined;
3484
3484
  trustSignedRequests?: boolean | undefined;
3485
3485
  } | undefined;
3486
3486
  denyList?: {
3487
3487
  agentDid?: string | undefined;
3488
+ clientDid?: string | undefined;
3488
3489
  expiresAt?: string | undefined;
3489
- agentType?: string | undefined;
3490
3490
  reason?: string | undefined;
3491
3491
  active?: boolean | undefined;
3492
- clientDid?: string | undefined;
3493
3492
  clientName?: string | undefined;
3493
+ agentType?: string | undefined;
3494
3494
  blockedAt?: string | undefined;
3495
3495
  addedBy?: string | undefined;
3496
3496
  }[] | undefined;
3497
3497
  allowList?: {
3498
3498
  agentDid?: string | undefined;
3499
- agentType?: string | undefined;
3500
- reason?: string | undefined;
3501
3499
  clientDid?: string | undefined;
3500
+ reason?: string | undefined;
3502
3501
  clientName?: string | undefined;
3502
+ agentType?: string | undefined;
3503
3503
  addedBy?: string | undefined;
3504
3504
  addedAt?: string | undefined;
3505
3505
  }[] | undefined;
3506
3506
  rules?: {
3507
- id: string;
3508
3507
  name: string;
3508
+ id: string;
3509
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3509
3510
  conditions: {
3510
3511
  value: string | number | boolean | string[];
3511
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3512
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3512
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3513
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3513
3514
  caseInsensitive?: boolean | undefined;
3514
3515
  }[];
3515
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3516
3516
  message?: string | undefined;
3517
- description?: string | undefined;
3518
3517
  metadata?: {
3519
3518
  createdAt?: string | undefined;
3520
3519
  updatedAt?: string | undefined;
3521
3520
  createdBy?: string | undefined;
3522
3521
  } | undefined;
3523
3522
  enabled?: boolean | undefined;
3523
+ description?: string | undefined;
3524
3524
  priority?: number | undefined;
3525
3525
  redirectUrl?: string | undefined;
3526
3526
  }[] | undefined;
@@ -3547,9 +3547,9 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3547
3547
  enabled: boolean;
3548
3548
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
3549
3549
  thresholds: {
3550
- minReputationScore: number;
3551
3550
  confidenceThreshold: number;
3552
3551
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
3552
+ minReputationScore: number;
3553
3553
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
3554
3554
  trustedReputationThreshold: number;
3555
3555
  trustSignedRequests: boolean;
@@ -3557,42 +3557,42 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3557
3557
  denyList: {
3558
3558
  active: boolean;
3559
3559
  agentDid?: string | undefined;
3560
+ clientDid?: string | undefined;
3560
3561
  expiresAt?: string | undefined;
3561
- agentType?: string | undefined;
3562
3562
  reason?: string | undefined;
3563
- clientDid?: string | undefined;
3564
3563
  clientName?: string | undefined;
3564
+ agentType?: string | undefined;
3565
3565
  blockedAt?: string | undefined;
3566
3566
  addedBy?: string | undefined;
3567
3567
  }[];
3568
3568
  allowList: {
3569
3569
  agentDid?: string | undefined;
3570
- agentType?: string | undefined;
3571
- reason?: string | undefined;
3572
3570
  clientDid?: string | undefined;
3571
+ reason?: string | undefined;
3573
3572
  clientName?: string | undefined;
3573
+ agentType?: string | undefined;
3574
3574
  addedBy?: string | undefined;
3575
3575
  addedAt?: string | undefined;
3576
3576
  }[];
3577
3577
  rules: {
3578
- id: string;
3579
3578
  name: string;
3579
+ id: string;
3580
3580
  enabled: boolean;
3581
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3581
3582
  priority: number;
3582
3583
  conditions: {
3583
3584
  value: string | number | boolean | string[];
3584
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3585
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3585
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3586
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3586
3587
  caseInsensitive?: boolean | undefined;
3587
3588
  }[];
3588
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3589
3589
  message?: string | undefined;
3590
- description?: string | undefined;
3591
3590
  metadata?: {
3592
3591
  createdAt?: string | undefined;
3593
3592
  updatedAt?: string | undefined;
3594
3593
  createdBy?: string | undefined;
3595
3594
  } | undefined;
3595
+ description?: string | undefined;
3596
3596
  redirectUrl?: string | undefined;
3597
3597
  }[];
3598
3598
  excludedPaths: string[];
@@ -3614,61 +3614,61 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3614
3614
  success: boolean;
3615
3615
  data: {
3616
3616
  policy: {
3617
- version?: string | undefined;
3618
3617
  metadata?: {
3619
3618
  lastUpdated?: string | undefined;
3620
3619
  updatedBy?: string | undefined;
3621
3620
  policyId?: string | undefined;
3622
3621
  } | undefined;
3622
+ version?: string | undefined;
3623
3623
  enabled?: boolean | undefined;
3624
3624
  redirectUrl?: string | undefined;
3625
3625
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3626
3626
  thresholds?: {
3627
- minReputationScore?: number | undefined;
3628
3627
  confidenceThreshold?: number | undefined;
3629
3628
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3629
+ minReputationScore?: number | undefined;
3630
3630
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3631
3631
  trustedReputationThreshold?: number | undefined;
3632
3632
  trustSignedRequests?: boolean | undefined;
3633
3633
  } | undefined;
3634
3634
  denyList?: {
3635
3635
  agentDid?: string | undefined;
3636
+ clientDid?: string | undefined;
3636
3637
  expiresAt?: string | undefined;
3637
- agentType?: string | undefined;
3638
3638
  reason?: string | undefined;
3639
3639
  active?: boolean | undefined;
3640
- clientDid?: string | undefined;
3641
3640
  clientName?: string | undefined;
3641
+ agentType?: string | undefined;
3642
3642
  blockedAt?: string | undefined;
3643
3643
  addedBy?: string | undefined;
3644
3644
  }[] | undefined;
3645
3645
  allowList?: {
3646
3646
  agentDid?: string | undefined;
3647
- agentType?: string | undefined;
3648
- reason?: string | undefined;
3649
3647
  clientDid?: string | undefined;
3648
+ reason?: string | undefined;
3650
3649
  clientName?: string | undefined;
3650
+ agentType?: string | undefined;
3651
3651
  addedBy?: string | undefined;
3652
3652
  addedAt?: string | undefined;
3653
3653
  }[] | undefined;
3654
3654
  rules?: {
3655
- id: string;
3656
3655
  name: string;
3656
+ id: string;
3657
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3657
3658
  conditions: {
3658
3659
  value: string | number | boolean | string[];
3659
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3660
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3660
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3661
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3661
3662
  caseInsensitive?: boolean | undefined;
3662
3663
  }[];
3663
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3664
3664
  message?: string | undefined;
3665
- description?: string | undefined;
3666
3665
  metadata?: {
3667
3666
  createdAt?: string | undefined;
3668
3667
  updatedAt?: string | undefined;
3669
3668
  createdBy?: string | undefined;
3670
3669
  } | undefined;
3671
3670
  enabled?: boolean | undefined;
3671
+ description?: string | undefined;
3672
3672
  priority?: number | undefined;
3673
3673
  redirectUrl?: string | undefined;
3674
3674
  }[] | undefined;
@@ -3691,61 +3691,61 @@ export declare function validatePolicyConfig(data: unknown): PolicyConfig;
3691
3691
  * Safely validate a policy configuration (returns result object)
3692
3692
  */
3693
3693
  export declare function safeParsePolicyConfig(data: unknown): z.SafeParseReturnType<{
3694
- version?: string | undefined;
3695
3694
  metadata?: {
3696
3695
  lastUpdated?: string | undefined;
3697
3696
  updatedBy?: string | undefined;
3698
3697
  policyId?: string | undefined;
3699
3698
  } | undefined;
3699
+ version?: string | undefined;
3700
3700
  enabled?: boolean | undefined;
3701
3701
  redirectUrl?: string | undefined;
3702
3702
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3703
3703
  thresholds?: {
3704
- minReputationScore?: number | undefined;
3705
3704
  confidenceThreshold?: number | undefined;
3706
3705
  confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3706
+ minReputationScore?: number | undefined;
3707
3707
  lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3708
3708
  trustedReputationThreshold?: number | undefined;
3709
3709
  trustSignedRequests?: boolean | undefined;
3710
3710
  } | undefined;
3711
3711
  denyList?: {
3712
3712
  agentDid?: string | undefined;
3713
+ clientDid?: string | undefined;
3713
3714
  expiresAt?: string | undefined;
3714
- agentType?: string | undefined;
3715
3715
  reason?: string | undefined;
3716
3716
  active?: boolean | undefined;
3717
- clientDid?: string | undefined;
3718
3717
  clientName?: string | undefined;
3718
+ agentType?: string | undefined;
3719
3719
  blockedAt?: string | undefined;
3720
3720
  addedBy?: string | undefined;
3721
3721
  }[] | undefined;
3722
3722
  allowList?: {
3723
3723
  agentDid?: string | undefined;
3724
- agentType?: string | undefined;
3725
- reason?: string | undefined;
3726
3724
  clientDid?: string | undefined;
3725
+ reason?: string | undefined;
3727
3726
  clientName?: string | undefined;
3727
+ agentType?: string | undefined;
3728
3728
  addedBy?: string | undefined;
3729
3729
  addedAt?: string | undefined;
3730
3730
  }[] | undefined;
3731
3731
  rules?: {
3732
- id: string;
3733
3732
  name: string;
3733
+ id: string;
3734
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3734
3735
  conditions: {
3735
3736
  value: string | number | boolean | string[];
3736
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3737
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3737
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3738
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3738
3739
  caseInsensitive?: boolean | undefined;
3739
3740
  }[];
3740
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3741
3741
  message?: string | undefined;
3742
- description?: string | undefined;
3743
3742
  metadata?: {
3744
3743
  createdAt?: string | undefined;
3745
3744
  updatedAt?: string | undefined;
3746
3745
  createdBy?: string | undefined;
3747
3746
  } | undefined;
3748
3747
  enabled?: boolean | undefined;
3748
+ description?: string | undefined;
3749
3749
  priority?: number | undefined;
3750
3750
  redirectUrl?: string | undefined;
3751
3751
  }[] | undefined;
@@ -3756,9 +3756,9 @@ export declare function safeParsePolicyConfig(data: unknown): z.SafeParseReturnT
3756
3756
  enabled: boolean;
3757
3757
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
3758
3758
  thresholds: {
3759
- minReputationScore: number;
3760
3759
  confidenceThreshold: number;
3761
3760
  confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
3761
+ minReputationScore: number;
3762
3762
  lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
3763
3763
  trustedReputationThreshold: number;
3764
3764
  trustSignedRequests: boolean;
@@ -3766,42 +3766,42 @@ export declare function safeParsePolicyConfig(data: unknown): z.SafeParseReturnT
3766
3766
  denyList: {
3767
3767
  active: boolean;
3768
3768
  agentDid?: string | undefined;
3769
+ clientDid?: string | undefined;
3769
3770
  expiresAt?: string | undefined;
3770
- agentType?: string | undefined;
3771
3771
  reason?: string | undefined;
3772
- clientDid?: string | undefined;
3773
3772
  clientName?: string | undefined;
3773
+ agentType?: string | undefined;
3774
3774
  blockedAt?: string | undefined;
3775
3775
  addedBy?: string | undefined;
3776
3776
  }[];
3777
3777
  allowList: {
3778
3778
  agentDid?: string | undefined;
3779
- agentType?: string | undefined;
3780
- reason?: string | undefined;
3781
3779
  clientDid?: string | undefined;
3780
+ reason?: string | undefined;
3782
3781
  clientName?: string | undefined;
3782
+ agentType?: string | undefined;
3783
3783
  addedBy?: string | undefined;
3784
3784
  addedAt?: string | undefined;
3785
3785
  }[];
3786
3786
  rules: {
3787
- id: string;
3788
3787
  name: string;
3788
+ id: string;
3789
3789
  enabled: boolean;
3790
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3790
3791
  priority: number;
3791
3792
  conditions: {
3792
3793
  value: string | number | boolean | string[];
3793
- field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3794
- operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3794
+ field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3795
+ operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3795
3796
  caseInsensitive?: boolean | undefined;
3796
3797
  }[];
3797
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3798
3798
  message?: string | undefined;
3799
- description?: string | undefined;
3800
3799
  metadata?: {
3801
3800
  createdAt?: string | undefined;
3802
3801
  updatedAt?: string | undefined;
3803
3802
  createdBy?: string | undefined;
3804
3803
  } | undefined;
3804
+ description?: string | undefined;
3805
3805
  redirectUrl?: string | undefined;
3806
3806
  }[];
3807
3807
  excludedPaths: string[];
@@ -3837,3 +3837,4 @@ export declare const EXAMPLE_ALLOW_CHATGPT: AllowListEntry;
3837
3837
  * Example: Challenge low-reputation agents
3838
3838
  */
3839
3839
  export declare const EXAMPLE_CHALLENGE_LOW_REP: PolicyRule;
3840
+ //# sourceMappingURL=schemas.d.ts.map