@kya-os/contracts 1.7.21 → 1.7.23

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.
@@ -102,44 +102,44 @@ export declare const DenyListEntrySchema: z.ZodEffects<z.ZodObject<{
102
102
  expiresAt: z.ZodOptional<z.ZodString>;
103
103
  }, "strip", z.ZodTypeAny, {
104
104
  active: boolean;
105
- agentDid?: string | undefined;
106
105
  clientDid?: string | undefined;
107
- expiresAt?: string | undefined;
108
- reason?: string | undefined;
106
+ agentDid?: string | undefined;
109
107
  clientName?: string | undefined;
110
108
  agentType?: string | undefined;
109
+ reason?: string | undefined;
111
110
  blockedAt?: string | undefined;
112
111
  addedBy?: string | undefined;
112
+ expiresAt?: string | undefined;
113
113
  }, {
114
- agentDid?: string | undefined;
115
114
  clientDid?: string | undefined;
116
- expiresAt?: string | undefined;
117
- reason?: string | undefined;
118
- active?: boolean | undefined;
115
+ agentDid?: string | undefined;
119
116
  clientName?: string | undefined;
120
117
  agentType?: string | undefined;
118
+ reason?: string | undefined;
121
119
  blockedAt?: string | undefined;
122
120
  addedBy?: string | undefined;
121
+ active?: boolean | undefined;
122
+ expiresAt?: string | undefined;
123
123
  }>, {
124
124
  active: boolean;
125
- agentDid?: string | undefined;
126
125
  clientDid?: string | undefined;
127
- expiresAt?: string | undefined;
128
- reason?: string | undefined;
126
+ agentDid?: string | undefined;
129
127
  clientName?: string | undefined;
130
128
  agentType?: string | undefined;
129
+ reason?: string | undefined;
131
130
  blockedAt?: string | undefined;
132
131
  addedBy?: string | undefined;
132
+ expiresAt?: string | undefined;
133
133
  }, {
134
- agentDid?: string | undefined;
135
134
  clientDid?: string | undefined;
136
- expiresAt?: string | undefined;
137
- reason?: string | undefined;
138
- active?: boolean | undefined;
135
+ agentDid?: string | undefined;
139
136
  clientName?: string | undefined;
140
137
  agentType?: string | undefined;
138
+ reason?: string | undefined;
141
139
  blockedAt?: string | undefined;
142
140
  addedBy?: string | undefined;
141
+ active?: boolean | undefined;
142
+ expiresAt?: string | undefined;
143
143
  }>;
144
144
  export type DenyListEntry = z.infer<typeof DenyListEntrySchema>;
145
145
  /**
@@ -163,35 +163,35 @@ export declare const AllowListEntrySchema: z.ZodEffects<z.ZodObject<{
163
163
  /** Who added this entry */
164
164
  addedBy: z.ZodOptional<z.ZodString>;
165
165
  }, "strip", z.ZodTypeAny, {
166
- agentDid?: string | undefined;
167
166
  clientDid?: string | undefined;
168
- reason?: string | undefined;
167
+ agentDid?: string | undefined;
169
168
  clientName?: string | undefined;
170
169
  agentType?: string | undefined;
170
+ reason?: string | undefined;
171
171
  addedBy?: string | undefined;
172
172
  addedAt?: string | undefined;
173
173
  }, {
174
- agentDid?: string | undefined;
175
174
  clientDid?: string | undefined;
176
- reason?: string | undefined;
175
+ agentDid?: string | undefined;
177
176
  clientName?: string | undefined;
178
177
  agentType?: string | undefined;
178
+ reason?: string | undefined;
179
179
  addedBy?: string | undefined;
180
180
  addedAt?: string | undefined;
181
181
  }>, {
182
- agentDid?: string | undefined;
183
182
  clientDid?: string | undefined;
184
- reason?: string | undefined;
183
+ agentDid?: string | undefined;
185
184
  clientName?: string | undefined;
186
185
  agentType?: string | undefined;
186
+ reason?: string | undefined;
187
187
  addedBy?: string | undefined;
188
188
  addedAt?: string | undefined;
189
189
  }, {
190
- agentDid?: string | undefined;
191
190
  clientDid?: string | undefined;
192
- reason?: string | undefined;
191
+ agentDid?: string | undefined;
193
192
  clientName?: string | undefined;
194
193
  agentType?: string | undefined;
194
+ reason?: string | undefined;
195
195
  addedBy?: string | undefined;
196
196
  addedAt?: string | undefined;
197
197
  }>;
@@ -210,12 +210,12 @@ 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" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
213
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
214
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" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
218
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
219
219
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
220
220
  caseInsensitive?: boolean | undefined;
221
221
  }>;
@@ -247,12 +247,12 @@ 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" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
250
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
251
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" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
255
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
256
256
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
257
257
  caseInsensitive?: boolean | undefined;
258
258
  }>, "many">;
@@ -279,85 +279,85 @@ export declare const PolicyRuleSchema: z.ZodEffects<z.ZodObject<{
279
279
  createdBy?: string | undefined;
280
280
  }>>;
281
281
  }, "strip", z.ZodTypeAny, {
282
- name: string;
283
- action: "allow" | "block" | "redirect" | "challenge" | "log";
284
282
  id: string;
283
+ name: string;
285
284
  priority: number;
286
285
  conditions: {
287
286
  value: string | number | boolean | string[];
288
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
287
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
289
288
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
290
289
  caseInsensitive?: boolean | undefined;
291
290
  }[];
291
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
292
292
  enabled: boolean;
293
293
  message?: string | undefined;
294
+ description?: string | undefined;
295
+ redirectUrl?: string | undefined;
294
296
  metadata?: {
295
297
  createdAt?: string | undefined;
296
298
  updatedAt?: string | undefined;
297
299
  createdBy?: string | undefined;
298
300
  } | undefined;
299
- description?: string | undefined;
300
- redirectUrl?: string | undefined;
301
301
  }, {
302
- name: string;
303
- action: "allow" | "block" | "redirect" | "challenge" | "log";
304
302
  id: string;
303
+ name: string;
305
304
  conditions: {
306
305
  value: string | number | boolean | string[];
307
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
306
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
308
307
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
309
308
  caseInsensitive?: boolean | undefined;
310
309
  }[];
310
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
311
311
  message?: string | undefined;
312
+ description?: string | undefined;
313
+ priority?: number | undefined;
314
+ redirectUrl?: string | undefined;
315
+ enabled?: boolean | undefined;
312
316
  metadata?: {
313
317
  createdAt?: string | undefined;
314
318
  updatedAt?: string | undefined;
315
319
  createdBy?: string | undefined;
316
320
  } | undefined;
317
- description?: string | undefined;
318
- priority?: number | undefined;
319
- redirectUrl?: string | undefined;
320
- enabled?: boolean | undefined;
321
321
  }>, {
322
- name: string;
323
- action: "allow" | "block" | "redirect" | "challenge" | "log";
324
322
  id: string;
323
+ name: string;
325
324
  priority: number;
326
325
  conditions: {
327
326
  value: string | number | boolean | string[];
328
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
327
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
329
328
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
330
329
  caseInsensitive?: boolean | undefined;
331
330
  }[];
331
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
332
332
  enabled: boolean;
333
333
  message?: string | undefined;
334
+ description?: string | undefined;
335
+ redirectUrl?: string | undefined;
334
336
  metadata?: {
335
337
  createdAt?: string | undefined;
336
338
  updatedAt?: string | undefined;
337
339
  createdBy?: string | undefined;
338
340
  } | undefined;
339
- description?: string | undefined;
340
- redirectUrl?: string | undefined;
341
341
  }, {
342
- name: string;
343
- action: "allow" | "block" | "redirect" | "challenge" | "log";
344
342
  id: string;
343
+ name: string;
345
344
  conditions: {
346
345
  value: string | number | boolean | string[];
347
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
346
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
348
347
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
349
348
  caseInsensitive?: boolean | undefined;
350
349
  }[];
350
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
351
351
  message?: string | undefined;
352
+ description?: string | undefined;
353
+ priority?: number | undefined;
354
+ redirectUrl?: string | undefined;
355
+ enabled?: boolean | undefined;
352
356
  metadata?: {
353
357
  createdAt?: string | undefined;
354
358
  updatedAt?: string | undefined;
355
359
  createdBy?: string | undefined;
356
360
  } | undefined;
357
- description?: string | undefined;
358
- priority?: number | undefined;
359
- redirectUrl?: string | undefined;
360
- enabled?: boolean | undefined;
361
361
  }>;
362
362
  export type PolicyRule = z.infer<typeof PolicyRuleSchema>;
363
363
  /**
@@ -452,44 +452,44 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
452
452
  expiresAt: z.ZodOptional<z.ZodString>;
453
453
  }, "strip", z.ZodTypeAny, {
454
454
  active: boolean;
455
- agentDid?: string | undefined;
456
455
  clientDid?: string | undefined;
457
- expiresAt?: string | undefined;
458
- reason?: string | undefined;
456
+ agentDid?: string | undefined;
459
457
  clientName?: string | undefined;
460
458
  agentType?: string | undefined;
459
+ reason?: string | undefined;
461
460
  blockedAt?: string | undefined;
462
461
  addedBy?: string | undefined;
462
+ expiresAt?: string | undefined;
463
463
  }, {
464
- agentDid?: string | undefined;
465
464
  clientDid?: string | undefined;
466
- expiresAt?: string | undefined;
467
- reason?: string | undefined;
468
- active?: boolean | undefined;
465
+ agentDid?: string | undefined;
469
466
  clientName?: string | undefined;
470
467
  agentType?: string | undefined;
468
+ reason?: string | undefined;
471
469
  blockedAt?: string | undefined;
472
470
  addedBy?: string | undefined;
471
+ active?: boolean | undefined;
472
+ expiresAt?: string | undefined;
473
473
  }>, {
474
474
  active: boolean;
475
- agentDid?: string | undefined;
476
475
  clientDid?: string | undefined;
477
- expiresAt?: string | undefined;
478
- reason?: string | undefined;
476
+ agentDid?: string | undefined;
479
477
  clientName?: string | undefined;
480
478
  agentType?: string | undefined;
479
+ reason?: string | undefined;
481
480
  blockedAt?: string | undefined;
482
481
  addedBy?: string | undefined;
482
+ expiresAt?: string | undefined;
483
483
  }, {
484
- agentDid?: string | undefined;
485
484
  clientDid?: string | undefined;
486
- expiresAt?: string | undefined;
487
- reason?: string | undefined;
488
- active?: boolean | undefined;
485
+ agentDid?: string | undefined;
489
486
  clientName?: string | undefined;
490
487
  agentType?: string | undefined;
488
+ reason?: string | undefined;
491
489
  blockedAt?: string | undefined;
492
490
  addedBy?: string | undefined;
491
+ active?: boolean | undefined;
492
+ expiresAt?: string | undefined;
493
493
  }>, "many">>;
494
494
  /** Allow list entries (exempt from all checks) */
495
495
  allowList: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
@@ -508,35 +508,35 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
508
508
  /** Who added this entry */
509
509
  addedBy: z.ZodOptional<z.ZodString>;
510
510
  }, "strip", z.ZodTypeAny, {
511
- agentDid?: string | undefined;
512
511
  clientDid?: string | undefined;
513
- reason?: string | undefined;
512
+ agentDid?: string | undefined;
514
513
  clientName?: string | undefined;
515
514
  agentType?: string | undefined;
515
+ reason?: string | undefined;
516
516
  addedBy?: string | undefined;
517
517
  addedAt?: string | undefined;
518
518
  }, {
519
- agentDid?: string | undefined;
520
519
  clientDid?: string | undefined;
521
- reason?: string | undefined;
520
+ agentDid?: string | undefined;
522
521
  clientName?: string | undefined;
523
522
  agentType?: string | undefined;
523
+ reason?: string | undefined;
524
524
  addedBy?: string | undefined;
525
525
  addedAt?: string | undefined;
526
526
  }>, {
527
- agentDid?: string | undefined;
528
527
  clientDid?: string | undefined;
529
- reason?: string | undefined;
528
+ agentDid?: string | undefined;
530
529
  clientName?: string | undefined;
531
530
  agentType?: string | undefined;
531
+ reason?: string | undefined;
532
532
  addedBy?: string | undefined;
533
533
  addedAt?: string | undefined;
534
534
  }, {
535
- agentDid?: string | undefined;
536
535
  clientDid?: string | undefined;
537
- reason?: string | undefined;
536
+ agentDid?: string | undefined;
538
537
  clientName?: string | undefined;
539
538
  agentType?: string | undefined;
539
+ reason?: string | undefined;
540
540
  addedBy?: string | undefined;
541
541
  addedAt?: string | undefined;
542
542
  }>, "many">>;
@@ -565,12 +565,12 @@ 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" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
568
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
569
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" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
573
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
574
574
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
575
575
  caseInsensitive?: boolean | undefined;
576
576
  }>, "many">;
@@ -597,85 +597,85 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
597
597
  createdBy?: string | undefined;
598
598
  }>>;
599
599
  }, "strip", z.ZodTypeAny, {
600
- name: string;
601
- action: "allow" | "block" | "redirect" | "challenge" | "log";
602
600
  id: string;
601
+ name: string;
603
602
  priority: number;
604
603
  conditions: {
605
604
  value: string | number | boolean | string[];
606
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
605
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
607
606
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
608
607
  caseInsensitive?: boolean | undefined;
609
608
  }[];
609
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
610
610
  enabled: boolean;
611
611
  message?: string | undefined;
612
+ description?: string | undefined;
613
+ redirectUrl?: string | undefined;
612
614
  metadata?: {
613
615
  createdAt?: string | undefined;
614
616
  updatedAt?: string | undefined;
615
617
  createdBy?: string | undefined;
616
618
  } | undefined;
617
- description?: string | undefined;
618
- redirectUrl?: string | undefined;
619
619
  }, {
620
- name: string;
621
- action: "allow" | "block" | "redirect" | "challenge" | "log";
622
620
  id: string;
621
+ name: string;
623
622
  conditions: {
624
623
  value: string | number | boolean | string[];
625
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
624
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
626
625
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
627
626
  caseInsensitive?: boolean | undefined;
628
627
  }[];
628
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
629
629
  message?: string | undefined;
630
+ description?: string | undefined;
631
+ priority?: number | undefined;
632
+ redirectUrl?: string | undefined;
633
+ enabled?: boolean | undefined;
630
634
  metadata?: {
631
635
  createdAt?: string | undefined;
632
636
  updatedAt?: string | undefined;
633
637
  createdBy?: string | undefined;
634
638
  } | undefined;
635
- description?: string | undefined;
636
- priority?: number | undefined;
637
- redirectUrl?: string | undefined;
638
- enabled?: boolean | undefined;
639
639
  }>, {
640
- name: string;
641
- action: "allow" | "block" | "redirect" | "challenge" | "log";
642
640
  id: string;
641
+ name: string;
643
642
  priority: number;
644
643
  conditions: {
645
644
  value: string | number | boolean | string[];
646
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
645
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
647
646
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
648
647
  caseInsensitive?: boolean | undefined;
649
648
  }[];
649
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
650
650
  enabled: boolean;
651
651
  message?: string | undefined;
652
+ description?: string | undefined;
653
+ redirectUrl?: string | undefined;
652
654
  metadata?: {
653
655
  createdAt?: string | undefined;
654
656
  updatedAt?: string | undefined;
655
657
  createdBy?: string | undefined;
656
658
  } | undefined;
657
- description?: string | undefined;
658
- redirectUrl?: string | undefined;
659
659
  }, {
660
- name: string;
661
- action: "allow" | "block" | "redirect" | "challenge" | "log";
662
660
  id: string;
661
+ name: string;
663
662
  conditions: {
664
663
  value: string | number | boolean | string[];
665
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
664
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
666
665
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
667
666
  caseInsensitive?: boolean | undefined;
668
667
  }[];
668
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
669
669
  message?: string | undefined;
670
+ description?: string | undefined;
671
+ priority?: number | undefined;
672
+ redirectUrl?: string | undefined;
673
+ enabled?: boolean | undefined;
670
674
  metadata?: {
671
675
  createdAt?: string | undefined;
672
676
  updatedAt?: string | undefined;
673
677
  createdBy?: string | undefined;
674
678
  } | undefined;
675
- description?: string | undefined;
676
- priority?: number | undefined;
677
- redirectUrl?: string | undefined;
678
- enabled?: boolean | undefined;
679
679
  }>, "many">>;
680
680
  /** Paths to exclude from policy enforcement (glob patterns supported) */
681
681
  excludedPaths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -696,8 +696,8 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
696
696
  policyId?: string | undefined;
697
697
  }>>;
698
698
  }, "strip", z.ZodTypeAny, {
699
- version: string;
700
699
  enabled: boolean;
700
+ version: string;
701
701
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
702
702
  thresholds: {
703
703
  confidenceThreshold: number;
@@ -709,62 +709,62 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
709
709
  };
710
710
  denyList: {
711
711
  active: boolean;
712
- agentDid?: string | undefined;
713
712
  clientDid?: string | undefined;
714
- expiresAt?: string | undefined;
715
- reason?: string | undefined;
713
+ agentDid?: string | undefined;
716
714
  clientName?: string | undefined;
717
715
  agentType?: string | undefined;
716
+ reason?: string | undefined;
718
717
  blockedAt?: string | undefined;
719
718
  addedBy?: string | undefined;
719
+ expiresAt?: string | undefined;
720
720
  }[];
721
721
  allowList: {
722
- agentDid?: string | undefined;
723
722
  clientDid?: string | undefined;
724
- reason?: string | undefined;
723
+ agentDid?: string | undefined;
725
724
  clientName?: string | undefined;
726
725
  agentType?: string | undefined;
726
+ reason?: string | undefined;
727
727
  addedBy?: string | undefined;
728
728
  addedAt?: string | undefined;
729
729
  }[];
730
730
  rules: {
731
- name: string;
732
- action: "allow" | "block" | "redirect" | "challenge" | "log";
733
731
  id: string;
732
+ name: string;
734
733
  priority: number;
735
734
  conditions: {
736
735
  value: string | number | boolean | string[];
737
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
736
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
738
737
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
739
738
  caseInsensitive?: boolean | undefined;
740
739
  }[];
740
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
741
741
  enabled: boolean;
742
742
  message?: string | undefined;
743
+ description?: string | undefined;
744
+ redirectUrl?: string | undefined;
743
745
  metadata?: {
744
746
  createdAt?: string | undefined;
745
747
  updatedAt?: string | undefined;
746
748
  createdBy?: string | undefined;
747
749
  } | undefined;
748
- description?: string | undefined;
749
- redirectUrl?: string | undefined;
750
750
  }[];
751
751
  excludedPaths: string[];
752
+ redirectUrl?: string | undefined;
752
753
  metadata?: {
753
754
  lastUpdated?: string | undefined;
754
755
  updatedBy?: string | undefined;
755
756
  policyId?: string | undefined;
756
757
  } | undefined;
757
- redirectUrl?: string | undefined;
758
758
  includedPaths?: string[] | undefined;
759
759
  }, {
760
+ redirectUrl?: string | undefined;
761
+ enabled?: boolean | undefined;
760
762
  metadata?: {
761
763
  lastUpdated?: string | undefined;
762
764
  updatedBy?: string | undefined;
763
765
  policyId?: string | undefined;
764
766
  } | undefined;
765
767
  version?: string | undefined;
766
- redirectUrl?: string | undefined;
767
- enabled?: boolean | undefined;
768
768
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
769
769
  thresholds?: {
770
770
  confidenceThreshold?: number | undefined;
@@ -775,51 +775,51 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
775
775
  trustSignedRequests?: boolean | undefined;
776
776
  } | undefined;
777
777
  denyList?: {
778
- agentDid?: string | undefined;
779
778
  clientDid?: string | undefined;
780
- expiresAt?: string | undefined;
781
- reason?: string | undefined;
782
- active?: boolean | undefined;
779
+ agentDid?: string | undefined;
783
780
  clientName?: string | undefined;
784
781
  agentType?: string | undefined;
782
+ reason?: string | undefined;
785
783
  blockedAt?: string | undefined;
786
784
  addedBy?: string | undefined;
785
+ active?: boolean | undefined;
786
+ expiresAt?: string | undefined;
787
787
  }[] | undefined;
788
788
  allowList?: {
789
- agentDid?: string | undefined;
790
789
  clientDid?: string | undefined;
791
- reason?: string | undefined;
790
+ agentDid?: string | undefined;
792
791
  clientName?: string | undefined;
793
792
  agentType?: string | undefined;
793
+ reason?: string | undefined;
794
794
  addedBy?: string | undefined;
795
795
  addedAt?: string | undefined;
796
796
  }[] | undefined;
797
797
  rules?: {
798
- name: string;
799
- action: "allow" | "block" | "redirect" | "challenge" | "log";
800
798
  id: string;
799
+ name: string;
801
800
  conditions: {
802
801
  value: string | number | boolean | string[];
803
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
802
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
804
803
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
805
804
  caseInsensitive?: boolean | undefined;
806
805
  }[];
806
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
807
807
  message?: string | undefined;
808
+ description?: string | undefined;
809
+ priority?: number | undefined;
810
+ redirectUrl?: string | undefined;
811
+ enabled?: boolean | undefined;
808
812
  metadata?: {
809
813
  createdAt?: string | undefined;
810
814
  updatedAt?: string | undefined;
811
815
  createdBy?: string | undefined;
812
816
  } | undefined;
813
- description?: string | undefined;
814
- priority?: number | undefined;
815
- redirectUrl?: string | undefined;
816
- enabled?: boolean | undefined;
817
817
  }[] | undefined;
818
818
  excludedPaths?: string[] | undefined;
819
819
  includedPaths?: string[] | undefined;
820
820
  }>, {
821
- version: string;
822
821
  enabled: boolean;
822
+ version: string;
823
823
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
824
824
  thresholds: {
825
825
  confidenceThreshold: number;
@@ -831,62 +831,62 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
831
831
  };
832
832
  denyList: {
833
833
  active: boolean;
834
- agentDid?: string | undefined;
835
834
  clientDid?: string | undefined;
836
- expiresAt?: string | undefined;
837
- reason?: string | undefined;
835
+ agentDid?: string | undefined;
838
836
  clientName?: string | undefined;
839
837
  agentType?: string | undefined;
838
+ reason?: string | undefined;
840
839
  blockedAt?: string | undefined;
841
840
  addedBy?: string | undefined;
841
+ expiresAt?: string | undefined;
842
842
  }[];
843
843
  allowList: {
844
- agentDid?: string | undefined;
845
844
  clientDid?: string | undefined;
846
- reason?: string | undefined;
845
+ agentDid?: string | undefined;
847
846
  clientName?: string | undefined;
848
847
  agentType?: string | undefined;
848
+ reason?: string | undefined;
849
849
  addedBy?: string | undefined;
850
850
  addedAt?: string | undefined;
851
851
  }[];
852
852
  rules: {
853
- name: string;
854
- action: "allow" | "block" | "redirect" | "challenge" | "log";
855
853
  id: string;
854
+ name: string;
856
855
  priority: number;
857
856
  conditions: {
858
857
  value: string | number | boolean | string[];
859
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
858
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
860
859
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
861
860
  caseInsensitive?: boolean | undefined;
862
861
  }[];
862
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
863
863
  enabled: boolean;
864
864
  message?: string | undefined;
865
+ description?: string | undefined;
866
+ redirectUrl?: string | undefined;
865
867
  metadata?: {
866
868
  createdAt?: string | undefined;
867
869
  updatedAt?: string | undefined;
868
870
  createdBy?: string | undefined;
869
871
  } | undefined;
870
- description?: string | undefined;
871
- redirectUrl?: string | undefined;
872
872
  }[];
873
873
  excludedPaths: string[];
874
+ redirectUrl?: string | undefined;
874
875
  metadata?: {
875
876
  lastUpdated?: string | undefined;
876
877
  updatedBy?: string | undefined;
877
878
  policyId?: string | undefined;
878
879
  } | undefined;
879
- redirectUrl?: string | undefined;
880
880
  includedPaths?: string[] | undefined;
881
881
  }, {
882
+ redirectUrl?: string | undefined;
883
+ enabled?: boolean | undefined;
882
884
  metadata?: {
883
885
  lastUpdated?: string | undefined;
884
886
  updatedBy?: string | undefined;
885
887
  policyId?: string | undefined;
886
888
  } | undefined;
887
889
  version?: string | undefined;
888
- redirectUrl?: string | undefined;
889
- enabled?: boolean | undefined;
890
890
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
891
891
  thresholds?: {
892
892
  confidenceThreshold?: number | undefined;
@@ -897,45 +897,45 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
897
897
  trustSignedRequests?: boolean | undefined;
898
898
  } | undefined;
899
899
  denyList?: {
900
- agentDid?: string | undefined;
901
900
  clientDid?: string | undefined;
902
- expiresAt?: string | undefined;
903
- reason?: string | undefined;
904
- active?: boolean | undefined;
901
+ agentDid?: string | undefined;
905
902
  clientName?: string | undefined;
906
903
  agentType?: string | undefined;
904
+ reason?: string | undefined;
907
905
  blockedAt?: string | undefined;
908
906
  addedBy?: string | undefined;
907
+ active?: boolean | undefined;
908
+ expiresAt?: string | undefined;
909
909
  }[] | undefined;
910
910
  allowList?: {
911
- agentDid?: string | undefined;
912
911
  clientDid?: string | undefined;
913
- reason?: string | undefined;
912
+ agentDid?: string | undefined;
914
913
  clientName?: string | undefined;
915
914
  agentType?: string | undefined;
915
+ reason?: string | undefined;
916
916
  addedBy?: string | undefined;
917
917
  addedAt?: string | undefined;
918
918
  }[] | undefined;
919
919
  rules?: {
920
- name: string;
921
- action: "allow" | "block" | "redirect" | "challenge" | "log";
922
920
  id: string;
921
+ name: string;
923
922
  conditions: {
924
923
  value: string | number | boolean | string[];
925
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
924
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
926
925
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
927
926
  caseInsensitive?: boolean | undefined;
928
927
  }[];
928
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
929
929
  message?: string | undefined;
930
+ description?: string | undefined;
931
+ priority?: number | undefined;
932
+ redirectUrl?: string | undefined;
933
+ enabled?: boolean | undefined;
930
934
  metadata?: {
931
935
  createdAt?: string | undefined;
932
936
  updatedAt?: string | undefined;
933
937
  createdBy?: string | undefined;
934
938
  } | undefined;
935
- description?: string | undefined;
936
- priority?: number | undefined;
937
- redirectUrl?: string | undefined;
938
- enabled?: boolean | undefined;
939
939
  }[] | undefined;
940
940
  excludedPaths?: string[] | undefined;
941
941
  includedPaths?: string[] | undefined;
@@ -1017,44 +1017,44 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
1017
1017
  expiresAt: z.ZodOptional<z.ZodString>;
1018
1018
  }, "strip", z.ZodTypeAny, {
1019
1019
  active: boolean;
1020
- agentDid?: string | undefined;
1021
1020
  clientDid?: string | undefined;
1022
- expiresAt?: string | undefined;
1023
- reason?: string | undefined;
1021
+ agentDid?: string | undefined;
1024
1022
  clientName?: string | undefined;
1025
1023
  agentType?: string | undefined;
1024
+ reason?: string | undefined;
1026
1025
  blockedAt?: string | undefined;
1027
1026
  addedBy?: string | undefined;
1027
+ expiresAt?: string | undefined;
1028
1028
  }, {
1029
- agentDid?: string | undefined;
1030
1029
  clientDid?: string | undefined;
1031
- expiresAt?: string | undefined;
1032
- reason?: string | undefined;
1033
- active?: boolean | undefined;
1030
+ agentDid?: string | undefined;
1034
1031
  clientName?: string | undefined;
1035
1032
  agentType?: string | undefined;
1033
+ reason?: string | undefined;
1036
1034
  blockedAt?: string | undefined;
1037
1035
  addedBy?: string | undefined;
1036
+ active?: boolean | undefined;
1037
+ expiresAt?: string | undefined;
1038
1038
  }>, {
1039
1039
  active: boolean;
1040
- agentDid?: string | undefined;
1041
1040
  clientDid?: string | undefined;
1042
- expiresAt?: string | undefined;
1043
- reason?: string | undefined;
1041
+ agentDid?: string | undefined;
1044
1042
  clientName?: string | undefined;
1045
1043
  agentType?: string | undefined;
1044
+ reason?: string | undefined;
1046
1045
  blockedAt?: string | undefined;
1047
1046
  addedBy?: string | undefined;
1047
+ expiresAt?: string | undefined;
1048
1048
  }, {
1049
- agentDid?: string | undefined;
1050
1049
  clientDid?: string | undefined;
1051
- expiresAt?: string | undefined;
1052
- reason?: string | undefined;
1053
- active?: boolean | undefined;
1050
+ agentDid?: string | undefined;
1054
1051
  clientName?: string | undefined;
1055
1052
  agentType?: string | undefined;
1053
+ reason?: string | undefined;
1056
1054
  blockedAt?: string | undefined;
1057
1055
  addedBy?: string | undefined;
1056
+ active?: boolean | undefined;
1057
+ expiresAt?: string | undefined;
1058
1058
  }>, "many">>>;
1059
1059
  allowList: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
1060
1060
  /** MCP-I client DID (e.g., "did:key:z6Mk...") */
@@ -1072,35 +1072,35 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
1072
1072
  /** Who added this entry */
1073
1073
  addedBy: z.ZodOptional<z.ZodString>;
1074
1074
  }, "strip", z.ZodTypeAny, {
1075
- agentDid?: string | undefined;
1076
1075
  clientDid?: string | undefined;
1077
- reason?: string | undefined;
1076
+ agentDid?: string | undefined;
1078
1077
  clientName?: string | undefined;
1079
1078
  agentType?: string | undefined;
1079
+ reason?: string | undefined;
1080
1080
  addedBy?: string | undefined;
1081
1081
  addedAt?: string | undefined;
1082
1082
  }, {
1083
- agentDid?: string | undefined;
1084
1083
  clientDid?: string | undefined;
1085
- reason?: string | undefined;
1084
+ agentDid?: string | undefined;
1086
1085
  clientName?: string | undefined;
1087
1086
  agentType?: string | undefined;
1087
+ reason?: string | undefined;
1088
1088
  addedBy?: string | undefined;
1089
1089
  addedAt?: string | undefined;
1090
1090
  }>, {
1091
- agentDid?: string | undefined;
1092
1091
  clientDid?: string | undefined;
1093
- reason?: string | undefined;
1092
+ agentDid?: string | undefined;
1094
1093
  clientName?: string | undefined;
1095
1094
  agentType?: string | undefined;
1095
+ reason?: string | undefined;
1096
1096
  addedBy?: string | undefined;
1097
1097
  addedAt?: string | undefined;
1098
1098
  }, {
1099
- agentDid?: string | undefined;
1100
1099
  clientDid?: string | undefined;
1101
- reason?: string | undefined;
1100
+ agentDid?: string | undefined;
1102
1101
  clientName?: string | undefined;
1103
1102
  agentType?: string | undefined;
1103
+ reason?: string | undefined;
1104
1104
  addedBy?: string | undefined;
1105
1105
  addedAt?: string | undefined;
1106
1106
  }>, "many">>>;
@@ -1128,12 +1128,12 @@ 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" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1131
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1132
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" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1136
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1137
1137
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1138
1138
  caseInsensitive?: boolean | undefined;
1139
1139
  }>, "many">;
@@ -1160,85 +1160,85 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
1160
1160
  createdBy?: string | undefined;
1161
1161
  }>>;
1162
1162
  }, "strip", z.ZodTypeAny, {
1163
- name: string;
1164
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1165
1163
  id: string;
1164
+ name: string;
1166
1165
  priority: number;
1167
1166
  conditions: {
1168
1167
  value: string | number | boolean | string[];
1169
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1168
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1170
1169
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1171
1170
  caseInsensitive?: boolean | undefined;
1172
1171
  }[];
1172
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1173
1173
  enabled: boolean;
1174
1174
  message?: string | undefined;
1175
+ description?: string | undefined;
1176
+ redirectUrl?: string | undefined;
1175
1177
  metadata?: {
1176
1178
  createdAt?: string | undefined;
1177
1179
  updatedAt?: string | undefined;
1178
1180
  createdBy?: string | undefined;
1179
1181
  } | undefined;
1180
- description?: string | undefined;
1181
- redirectUrl?: string | undefined;
1182
1182
  }, {
1183
- name: string;
1184
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1185
1183
  id: string;
1184
+ name: string;
1186
1185
  conditions: {
1187
1186
  value: string | number | boolean | string[];
1188
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1187
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1189
1188
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1190
1189
  caseInsensitive?: boolean | undefined;
1191
1190
  }[];
1191
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1192
1192
  message?: string | undefined;
1193
+ description?: string | undefined;
1194
+ priority?: number | undefined;
1195
+ redirectUrl?: string | undefined;
1196
+ enabled?: boolean | undefined;
1193
1197
  metadata?: {
1194
1198
  createdAt?: string | undefined;
1195
1199
  updatedAt?: string | undefined;
1196
1200
  createdBy?: string | undefined;
1197
1201
  } | undefined;
1198
- description?: string | undefined;
1199
- priority?: number | undefined;
1200
- redirectUrl?: string | undefined;
1201
- enabled?: boolean | undefined;
1202
1202
  }>, {
1203
- name: string;
1204
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1205
1203
  id: string;
1204
+ name: string;
1206
1205
  priority: number;
1207
1206
  conditions: {
1208
1207
  value: string | number | boolean | string[];
1209
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1208
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1210
1209
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1211
1210
  caseInsensitive?: boolean | undefined;
1212
1211
  }[];
1212
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1213
1213
  enabled: boolean;
1214
1214
  message?: string | undefined;
1215
+ description?: string | undefined;
1216
+ redirectUrl?: string | undefined;
1215
1217
  metadata?: {
1216
1218
  createdAt?: string | undefined;
1217
1219
  updatedAt?: string | undefined;
1218
1220
  createdBy?: string | undefined;
1219
1221
  } | undefined;
1220
- description?: string | undefined;
1221
- redirectUrl?: string | undefined;
1222
1222
  }, {
1223
- name: string;
1224
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1225
1223
  id: string;
1224
+ name: string;
1226
1225
  conditions: {
1227
1226
  value: string | number | boolean | string[];
1228
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1227
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1229
1228
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1230
1229
  caseInsensitive?: boolean | undefined;
1231
1230
  }[];
1231
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1232
1232
  message?: string | undefined;
1233
+ description?: string | undefined;
1234
+ priority?: number | undefined;
1235
+ redirectUrl?: string | undefined;
1236
+ enabled?: boolean | undefined;
1233
1237
  metadata?: {
1234
1238
  createdAt?: string | undefined;
1235
1239
  updatedAt?: string | undefined;
1236
1240
  createdBy?: string | undefined;
1237
1241
  } | undefined;
1238
- description?: string | undefined;
1239
- priority?: number | undefined;
1240
- redirectUrl?: string | undefined;
1241
- enabled?: boolean | undefined;
1242
1242
  }>, "many">>>;
1243
1243
  excludedPaths: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1244
1244
  includedPaths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
@@ -1256,14 +1256,14 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
1256
1256
  policyId?: string | undefined;
1257
1257
  }>>>;
1258
1258
  }, "strip", z.ZodTypeAny, {
1259
+ redirectUrl?: string | undefined;
1260
+ enabled?: boolean | undefined;
1259
1261
  metadata?: {
1260
1262
  lastUpdated?: string | undefined;
1261
1263
  updatedBy?: string | undefined;
1262
1264
  policyId?: string | undefined;
1263
1265
  } | undefined;
1264
1266
  version?: string | undefined;
1265
- redirectUrl?: string | undefined;
1266
- enabled?: boolean | undefined;
1267
1267
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
1268
1268
  thresholds?: {
1269
1269
  confidenceThreshold: number;
@@ -1275,56 +1275,56 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
1275
1275
  } | undefined;
1276
1276
  denyList?: {
1277
1277
  active: boolean;
1278
- agentDid?: string | undefined;
1279
1278
  clientDid?: string | undefined;
1280
- expiresAt?: string | undefined;
1281
- reason?: string | undefined;
1279
+ agentDid?: string | undefined;
1282
1280
  clientName?: string | undefined;
1283
1281
  agentType?: string | undefined;
1282
+ reason?: string | undefined;
1284
1283
  blockedAt?: string | undefined;
1285
1284
  addedBy?: string | undefined;
1285
+ expiresAt?: string | undefined;
1286
1286
  }[] | undefined;
1287
1287
  allowList?: {
1288
- agentDid?: string | undefined;
1289
1288
  clientDid?: string | undefined;
1290
- reason?: string | undefined;
1289
+ agentDid?: string | undefined;
1291
1290
  clientName?: string | undefined;
1292
1291
  agentType?: string | undefined;
1292
+ reason?: string | undefined;
1293
1293
  addedBy?: string | undefined;
1294
1294
  addedAt?: string | undefined;
1295
1295
  }[] | undefined;
1296
1296
  rules?: {
1297
- name: string;
1298
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1299
1297
  id: string;
1298
+ name: string;
1300
1299
  priority: number;
1301
1300
  conditions: {
1302
1301
  value: string | number | boolean | string[];
1303
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1302
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1304
1303
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1305
1304
  caseInsensitive?: boolean | undefined;
1306
1305
  }[];
1306
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1307
1307
  enabled: boolean;
1308
1308
  message?: string | undefined;
1309
+ description?: string | undefined;
1310
+ redirectUrl?: string | undefined;
1309
1311
  metadata?: {
1310
1312
  createdAt?: string | undefined;
1311
1313
  updatedAt?: string | undefined;
1312
1314
  createdBy?: string | undefined;
1313
1315
  } | undefined;
1314
- description?: string | undefined;
1315
- redirectUrl?: string | undefined;
1316
1316
  }[] | undefined;
1317
1317
  excludedPaths?: string[] | undefined;
1318
1318
  includedPaths?: string[] | undefined;
1319
1319
  }, {
1320
+ redirectUrl?: string | undefined;
1321
+ enabled?: boolean | undefined;
1320
1322
  metadata?: {
1321
1323
  lastUpdated?: string | undefined;
1322
1324
  updatedBy?: string | undefined;
1323
1325
  policyId?: string | undefined;
1324
1326
  } | undefined;
1325
1327
  version?: string | undefined;
1326
- redirectUrl?: string | undefined;
1327
- enabled?: boolean | undefined;
1328
1328
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
1329
1329
  thresholds?: {
1330
1330
  confidenceThreshold?: number | undefined;
@@ -1335,45 +1335,45 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
1335
1335
  trustSignedRequests?: boolean | undefined;
1336
1336
  } | undefined;
1337
1337
  denyList?: {
1338
- agentDid?: string | undefined;
1339
1338
  clientDid?: string | undefined;
1340
- expiresAt?: string | undefined;
1341
- reason?: string | undefined;
1342
- active?: boolean | undefined;
1339
+ agentDid?: string | undefined;
1343
1340
  clientName?: string | undefined;
1344
1341
  agentType?: string | undefined;
1342
+ reason?: string | undefined;
1345
1343
  blockedAt?: string | undefined;
1346
1344
  addedBy?: string | undefined;
1345
+ active?: boolean | undefined;
1346
+ expiresAt?: string | undefined;
1347
1347
  }[] | undefined;
1348
1348
  allowList?: {
1349
- agentDid?: string | undefined;
1350
1349
  clientDid?: string | undefined;
1351
- reason?: string | undefined;
1350
+ agentDid?: string | undefined;
1352
1351
  clientName?: string | undefined;
1353
1352
  agentType?: string | undefined;
1353
+ reason?: string | undefined;
1354
1354
  addedBy?: string | undefined;
1355
1355
  addedAt?: string | undefined;
1356
1356
  }[] | undefined;
1357
1357
  rules?: {
1358
- name: string;
1359
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1360
1358
  id: string;
1359
+ name: string;
1361
1360
  conditions: {
1362
1361
  value: string | number | boolean | string[];
1363
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1362
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1364
1363
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1365
1364
  caseInsensitive?: boolean | undefined;
1366
1365
  }[];
1366
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1367
1367
  message?: string | undefined;
1368
+ description?: string | undefined;
1369
+ priority?: number | undefined;
1370
+ redirectUrl?: string | undefined;
1371
+ enabled?: boolean | undefined;
1368
1372
  metadata?: {
1369
1373
  createdAt?: string | undefined;
1370
1374
  updatedAt?: string | undefined;
1371
1375
  createdBy?: string | undefined;
1372
1376
  } | undefined;
1373
- description?: string | undefined;
1374
- priority?: number | undefined;
1375
- redirectUrl?: string | undefined;
1376
- enabled?: boolean | undefined;
1377
1377
  }[] | undefined;
1378
1378
  excludedPaths?: string[] | undefined;
1379
1379
  includedPaths?: string[] | undefined;
@@ -1479,44 +1479,44 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1479
1479
  expiresAt: z.ZodOptional<z.ZodString>;
1480
1480
  }, "strip", z.ZodTypeAny, {
1481
1481
  active: boolean;
1482
- agentDid?: string | undefined;
1483
1482
  clientDid?: string | undefined;
1484
- expiresAt?: string | undefined;
1485
- reason?: string | undefined;
1483
+ agentDid?: string | undefined;
1486
1484
  clientName?: string | undefined;
1487
1485
  agentType?: string | undefined;
1486
+ reason?: string | undefined;
1488
1487
  blockedAt?: string | undefined;
1489
1488
  addedBy?: string | undefined;
1489
+ expiresAt?: string | undefined;
1490
1490
  }, {
1491
- agentDid?: string | undefined;
1492
1491
  clientDid?: string | undefined;
1493
- expiresAt?: string | undefined;
1494
- reason?: string | undefined;
1495
- active?: boolean | undefined;
1492
+ agentDid?: string | undefined;
1496
1493
  clientName?: string | undefined;
1497
1494
  agentType?: string | undefined;
1495
+ reason?: string | undefined;
1498
1496
  blockedAt?: string | undefined;
1499
1497
  addedBy?: string | undefined;
1498
+ active?: boolean | undefined;
1499
+ expiresAt?: string | undefined;
1500
1500
  }>, {
1501
1501
  active: boolean;
1502
- agentDid?: string | undefined;
1503
1502
  clientDid?: string | undefined;
1504
- expiresAt?: string | undefined;
1505
- reason?: string | undefined;
1503
+ agentDid?: string | undefined;
1506
1504
  clientName?: string | undefined;
1507
1505
  agentType?: string | undefined;
1506
+ reason?: string | undefined;
1508
1507
  blockedAt?: string | undefined;
1509
1508
  addedBy?: string | undefined;
1509
+ expiresAt?: string | undefined;
1510
1510
  }, {
1511
- agentDid?: string | undefined;
1512
1511
  clientDid?: string | undefined;
1513
- expiresAt?: string | undefined;
1514
- reason?: string | undefined;
1515
- active?: boolean | undefined;
1512
+ agentDid?: string | undefined;
1516
1513
  clientName?: string | undefined;
1517
1514
  agentType?: string | undefined;
1515
+ reason?: string | undefined;
1518
1516
  blockedAt?: string | undefined;
1519
1517
  addedBy?: string | undefined;
1518
+ active?: boolean | undefined;
1519
+ expiresAt?: string | undefined;
1520
1520
  }>, "many">>;
1521
1521
  /** Allow list entries (exempt from all checks) */
1522
1522
  allowList: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
@@ -1535,35 +1535,35 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1535
1535
  /** Who added this entry */
1536
1536
  addedBy: z.ZodOptional<z.ZodString>;
1537
1537
  }, "strip", z.ZodTypeAny, {
1538
- agentDid?: string | undefined;
1539
1538
  clientDid?: string | undefined;
1540
- reason?: string | undefined;
1539
+ agentDid?: string | undefined;
1541
1540
  clientName?: string | undefined;
1542
1541
  agentType?: string | undefined;
1542
+ reason?: string | undefined;
1543
1543
  addedBy?: string | undefined;
1544
1544
  addedAt?: string | undefined;
1545
1545
  }, {
1546
- agentDid?: string | undefined;
1547
1546
  clientDid?: string | undefined;
1548
- reason?: string | undefined;
1547
+ agentDid?: string | undefined;
1549
1548
  clientName?: string | undefined;
1550
1549
  agentType?: string | undefined;
1550
+ reason?: string | undefined;
1551
1551
  addedBy?: string | undefined;
1552
1552
  addedAt?: string | undefined;
1553
1553
  }>, {
1554
- agentDid?: string | undefined;
1555
1554
  clientDid?: string | undefined;
1556
- reason?: string | undefined;
1555
+ agentDid?: string | undefined;
1557
1556
  clientName?: string | undefined;
1558
1557
  agentType?: string | undefined;
1558
+ reason?: string | undefined;
1559
1559
  addedBy?: string | undefined;
1560
1560
  addedAt?: string | undefined;
1561
1561
  }, {
1562
- agentDid?: string | undefined;
1563
1562
  clientDid?: string | undefined;
1564
- reason?: string | undefined;
1563
+ agentDid?: string | undefined;
1565
1564
  clientName?: string | undefined;
1566
1565
  agentType?: string | undefined;
1566
+ reason?: string | undefined;
1567
1567
  addedBy?: string | undefined;
1568
1568
  addedAt?: string | undefined;
1569
1569
  }>, "many">>;
@@ -1592,12 +1592,12 @@ 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" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1595
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1596
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" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1600
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1601
1601
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1602
1602
  caseInsensitive?: boolean | undefined;
1603
1603
  }>, "many">;
@@ -1624,85 +1624,85 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1624
1624
  createdBy?: string | undefined;
1625
1625
  }>>;
1626
1626
  }, "strip", z.ZodTypeAny, {
1627
- name: string;
1628
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1629
1627
  id: string;
1628
+ name: string;
1630
1629
  priority: number;
1631
1630
  conditions: {
1632
1631
  value: string | number | boolean | string[];
1633
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1632
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1634
1633
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1635
1634
  caseInsensitive?: boolean | undefined;
1636
1635
  }[];
1636
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1637
1637
  enabled: boolean;
1638
1638
  message?: string | undefined;
1639
+ description?: string | undefined;
1640
+ redirectUrl?: string | undefined;
1639
1641
  metadata?: {
1640
1642
  createdAt?: string | undefined;
1641
1643
  updatedAt?: string | undefined;
1642
1644
  createdBy?: string | undefined;
1643
1645
  } | undefined;
1644
- description?: string | undefined;
1645
- redirectUrl?: string | undefined;
1646
1646
  }, {
1647
- name: string;
1648
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1649
1647
  id: string;
1648
+ name: string;
1650
1649
  conditions: {
1651
1650
  value: string | number | boolean | string[];
1652
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1651
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1653
1652
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1654
1653
  caseInsensitive?: boolean | undefined;
1655
1654
  }[];
1655
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1656
1656
  message?: string | undefined;
1657
+ description?: string | undefined;
1658
+ priority?: number | undefined;
1659
+ redirectUrl?: string | undefined;
1660
+ enabled?: boolean | undefined;
1657
1661
  metadata?: {
1658
1662
  createdAt?: string | undefined;
1659
1663
  updatedAt?: string | undefined;
1660
1664
  createdBy?: string | undefined;
1661
1665
  } | undefined;
1662
- description?: string | undefined;
1663
- priority?: number | undefined;
1664
- redirectUrl?: string | undefined;
1665
- enabled?: boolean | undefined;
1666
1666
  }>, {
1667
- name: string;
1668
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1669
1667
  id: string;
1668
+ name: string;
1670
1669
  priority: number;
1671
1670
  conditions: {
1672
1671
  value: string | number | boolean | string[];
1673
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1672
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1674
1673
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1675
1674
  caseInsensitive?: boolean | undefined;
1676
1675
  }[];
1676
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1677
1677
  enabled: boolean;
1678
1678
  message?: string | undefined;
1679
+ description?: string | undefined;
1680
+ redirectUrl?: string | undefined;
1679
1681
  metadata?: {
1680
1682
  createdAt?: string | undefined;
1681
1683
  updatedAt?: string | undefined;
1682
1684
  createdBy?: string | undefined;
1683
1685
  } | undefined;
1684
- description?: string | undefined;
1685
- redirectUrl?: string | undefined;
1686
1686
  }, {
1687
- name: string;
1688
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1689
1687
  id: string;
1688
+ name: string;
1690
1689
  conditions: {
1691
1690
  value: string | number | boolean | string[];
1692
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1691
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1693
1692
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1694
1693
  caseInsensitive?: boolean | undefined;
1695
1694
  }[];
1695
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1696
1696
  message?: string | undefined;
1697
+ description?: string | undefined;
1698
+ priority?: number | undefined;
1699
+ redirectUrl?: string | undefined;
1700
+ enabled?: boolean | undefined;
1697
1701
  metadata?: {
1698
1702
  createdAt?: string | undefined;
1699
1703
  updatedAt?: string | undefined;
1700
1704
  createdBy?: string | undefined;
1701
1705
  } | undefined;
1702
- description?: string | undefined;
1703
- priority?: number | undefined;
1704
- redirectUrl?: string | undefined;
1705
- enabled?: boolean | undefined;
1706
1706
  }>, "many">>;
1707
1707
  /** Paths to exclude from policy enforcement (glob patterns supported) */
1708
1708
  excludedPaths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -1723,8 +1723,8 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1723
1723
  policyId?: string | undefined;
1724
1724
  }>>;
1725
1725
  }, "strip", z.ZodTypeAny, {
1726
- version: string;
1727
1726
  enabled: boolean;
1727
+ version: string;
1728
1728
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
1729
1729
  thresholds: {
1730
1730
  confidenceThreshold: number;
@@ -1736,62 +1736,62 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1736
1736
  };
1737
1737
  denyList: {
1738
1738
  active: boolean;
1739
- agentDid?: string | undefined;
1740
1739
  clientDid?: string | undefined;
1741
- expiresAt?: string | undefined;
1742
- reason?: string | undefined;
1740
+ agentDid?: string | undefined;
1743
1741
  clientName?: string | undefined;
1744
1742
  agentType?: string | undefined;
1743
+ reason?: string | undefined;
1745
1744
  blockedAt?: string | undefined;
1746
1745
  addedBy?: string | undefined;
1746
+ expiresAt?: string | undefined;
1747
1747
  }[];
1748
1748
  allowList: {
1749
- agentDid?: string | undefined;
1750
1749
  clientDid?: string | undefined;
1751
- reason?: string | undefined;
1750
+ agentDid?: string | undefined;
1752
1751
  clientName?: string | undefined;
1753
1752
  agentType?: string | undefined;
1753
+ reason?: string | undefined;
1754
1754
  addedBy?: string | undefined;
1755
1755
  addedAt?: string | undefined;
1756
1756
  }[];
1757
1757
  rules: {
1758
- name: string;
1759
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1760
1758
  id: string;
1759
+ name: string;
1761
1760
  priority: number;
1762
1761
  conditions: {
1763
1762
  value: string | number | boolean | string[];
1764
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1763
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1765
1764
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1766
1765
  caseInsensitive?: boolean | undefined;
1767
1766
  }[];
1767
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1768
1768
  enabled: boolean;
1769
1769
  message?: string | undefined;
1770
+ description?: string | undefined;
1771
+ redirectUrl?: string | undefined;
1770
1772
  metadata?: {
1771
1773
  createdAt?: string | undefined;
1772
1774
  updatedAt?: string | undefined;
1773
1775
  createdBy?: string | undefined;
1774
1776
  } | undefined;
1775
- description?: string | undefined;
1776
- redirectUrl?: string | undefined;
1777
1777
  }[];
1778
1778
  excludedPaths: string[];
1779
+ redirectUrl?: string | undefined;
1779
1780
  metadata?: {
1780
1781
  lastUpdated?: string | undefined;
1781
1782
  updatedBy?: string | undefined;
1782
1783
  policyId?: string | undefined;
1783
1784
  } | undefined;
1784
- redirectUrl?: string | undefined;
1785
1785
  includedPaths?: string[] | undefined;
1786
1786
  }, {
1787
+ redirectUrl?: string | undefined;
1788
+ enabled?: boolean | undefined;
1787
1789
  metadata?: {
1788
1790
  lastUpdated?: string | undefined;
1789
1791
  updatedBy?: string | undefined;
1790
1792
  policyId?: string | undefined;
1791
1793
  } | undefined;
1792
1794
  version?: string | undefined;
1793
- redirectUrl?: string | undefined;
1794
- enabled?: boolean | undefined;
1795
1795
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
1796
1796
  thresholds?: {
1797
1797
  confidenceThreshold?: number | undefined;
@@ -1802,51 +1802,51 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1802
1802
  trustSignedRequests?: boolean | undefined;
1803
1803
  } | undefined;
1804
1804
  denyList?: {
1805
- agentDid?: string | undefined;
1806
1805
  clientDid?: string | undefined;
1807
- expiresAt?: string | undefined;
1808
- reason?: string | undefined;
1809
- active?: boolean | undefined;
1806
+ agentDid?: string | undefined;
1810
1807
  clientName?: string | undefined;
1811
1808
  agentType?: string | undefined;
1809
+ reason?: string | undefined;
1812
1810
  blockedAt?: string | undefined;
1813
1811
  addedBy?: string | undefined;
1812
+ active?: boolean | undefined;
1813
+ expiresAt?: string | undefined;
1814
1814
  }[] | undefined;
1815
1815
  allowList?: {
1816
- agentDid?: string | undefined;
1817
1816
  clientDid?: string | undefined;
1818
- reason?: string | undefined;
1817
+ agentDid?: string | undefined;
1819
1818
  clientName?: string | undefined;
1820
1819
  agentType?: string | undefined;
1820
+ reason?: string | undefined;
1821
1821
  addedBy?: string | undefined;
1822
1822
  addedAt?: string | undefined;
1823
1823
  }[] | undefined;
1824
1824
  rules?: {
1825
- name: string;
1826
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1827
1825
  id: string;
1826
+ name: string;
1828
1827
  conditions: {
1829
1828
  value: string | number | boolean | string[];
1830
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1829
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1831
1830
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1832
1831
  caseInsensitive?: boolean | undefined;
1833
1832
  }[];
1833
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1834
1834
  message?: string | undefined;
1835
+ description?: string | undefined;
1836
+ priority?: number | undefined;
1837
+ redirectUrl?: string | undefined;
1838
+ enabled?: boolean | undefined;
1835
1839
  metadata?: {
1836
1840
  createdAt?: string | undefined;
1837
1841
  updatedAt?: string | undefined;
1838
1842
  createdBy?: string | undefined;
1839
1843
  } | undefined;
1840
- description?: string | undefined;
1841
- priority?: number | undefined;
1842
- redirectUrl?: string | undefined;
1843
- enabled?: boolean | undefined;
1844
1844
  }[] | undefined;
1845
1845
  excludedPaths?: string[] | undefined;
1846
1846
  includedPaths?: string[] | undefined;
1847
1847
  }>, {
1848
- version: string;
1849
1848
  enabled: boolean;
1849
+ version: string;
1850
1850
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
1851
1851
  thresholds: {
1852
1852
  confidenceThreshold: number;
@@ -1858,62 +1858,62 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1858
1858
  };
1859
1859
  denyList: {
1860
1860
  active: boolean;
1861
- agentDid?: string | undefined;
1862
1861
  clientDid?: string | undefined;
1863
- expiresAt?: string | undefined;
1864
- reason?: string | undefined;
1862
+ agentDid?: string | undefined;
1865
1863
  clientName?: string | undefined;
1866
1864
  agentType?: string | undefined;
1865
+ reason?: string | undefined;
1867
1866
  blockedAt?: string | undefined;
1868
1867
  addedBy?: string | undefined;
1868
+ expiresAt?: string | undefined;
1869
1869
  }[];
1870
1870
  allowList: {
1871
- agentDid?: string | undefined;
1872
1871
  clientDid?: string | undefined;
1873
- reason?: string | undefined;
1872
+ agentDid?: string | undefined;
1874
1873
  clientName?: string | undefined;
1875
1874
  agentType?: string | undefined;
1875
+ reason?: string | undefined;
1876
1876
  addedBy?: string | undefined;
1877
1877
  addedAt?: string | undefined;
1878
1878
  }[];
1879
1879
  rules: {
1880
- name: string;
1881
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1882
1880
  id: string;
1881
+ name: string;
1883
1882
  priority: number;
1884
1883
  conditions: {
1885
1884
  value: string | number | boolean | string[];
1886
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1885
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1887
1886
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1888
1887
  caseInsensitive?: boolean | undefined;
1889
1888
  }[];
1889
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1890
1890
  enabled: boolean;
1891
1891
  message?: string | undefined;
1892
+ description?: string | undefined;
1893
+ redirectUrl?: string | undefined;
1892
1894
  metadata?: {
1893
1895
  createdAt?: string | undefined;
1894
1896
  updatedAt?: string | undefined;
1895
1897
  createdBy?: string | undefined;
1896
1898
  } | undefined;
1897
- description?: string | undefined;
1898
- redirectUrl?: string | undefined;
1899
1899
  }[];
1900
1900
  excludedPaths: string[];
1901
+ redirectUrl?: string | undefined;
1901
1902
  metadata?: {
1902
1903
  lastUpdated?: string | undefined;
1903
1904
  updatedBy?: string | undefined;
1904
1905
  policyId?: string | undefined;
1905
1906
  } | undefined;
1906
- redirectUrl?: string | undefined;
1907
1907
  includedPaths?: string[] | undefined;
1908
1908
  }, {
1909
+ redirectUrl?: string | undefined;
1910
+ enabled?: boolean | undefined;
1909
1911
  metadata?: {
1910
1912
  lastUpdated?: string | undefined;
1911
1913
  updatedBy?: string | undefined;
1912
1914
  policyId?: string | undefined;
1913
1915
  } | undefined;
1914
1916
  version?: string | undefined;
1915
- redirectUrl?: string | undefined;
1916
- enabled?: boolean | undefined;
1917
1917
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
1918
1918
  thresholds?: {
1919
1919
  confidenceThreshold?: number | undefined;
@@ -1924,53 +1924,53 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1924
1924
  trustSignedRequests?: boolean | undefined;
1925
1925
  } | undefined;
1926
1926
  denyList?: {
1927
- agentDid?: string | undefined;
1928
1927
  clientDid?: string | undefined;
1929
- expiresAt?: string | undefined;
1930
- reason?: string | undefined;
1931
- active?: boolean | undefined;
1928
+ agentDid?: string | undefined;
1932
1929
  clientName?: string | undefined;
1933
1930
  agentType?: string | undefined;
1931
+ reason?: string | undefined;
1934
1932
  blockedAt?: string | undefined;
1935
1933
  addedBy?: string | undefined;
1934
+ active?: boolean | undefined;
1935
+ expiresAt?: string | undefined;
1936
1936
  }[] | undefined;
1937
1937
  allowList?: {
1938
- agentDid?: string | undefined;
1939
1938
  clientDid?: string | undefined;
1940
- reason?: string | undefined;
1939
+ agentDid?: string | undefined;
1941
1940
  clientName?: string | undefined;
1942
1941
  agentType?: string | undefined;
1942
+ reason?: string | undefined;
1943
1943
  addedBy?: string | undefined;
1944
1944
  addedAt?: string | undefined;
1945
1945
  }[] | undefined;
1946
1946
  rules?: {
1947
- name: string;
1948
- action: "allow" | "block" | "redirect" | "challenge" | "log";
1949
1947
  id: string;
1948
+ name: string;
1950
1949
  conditions: {
1951
1950
  value: string | number | boolean | string[];
1952
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1951
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
1953
1952
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
1954
1953
  caseInsensitive?: boolean | undefined;
1955
1954
  }[];
1955
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
1956
1956
  message?: string | undefined;
1957
+ description?: string | undefined;
1958
+ priority?: number | undefined;
1959
+ redirectUrl?: string | undefined;
1960
+ enabled?: boolean | undefined;
1957
1961
  metadata?: {
1958
1962
  createdAt?: string | undefined;
1959
1963
  updatedAt?: string | undefined;
1960
1964
  createdBy?: string | undefined;
1961
1965
  } | undefined;
1962
- description?: string | undefined;
1963
- priority?: number | undefined;
1964
- redirectUrl?: string | undefined;
1965
- enabled?: boolean | undefined;
1966
1966
  }[] | undefined;
1967
1967
  excludedPaths?: string[] | undefined;
1968
1968
  includedPaths?: string[] | undefined;
1969
1969
  }>;
1970
1970
  }, "strip", z.ZodTypeAny, {
1971
1971
  policy: {
1972
- version: string;
1973
1972
  enabled: boolean;
1973
+ version: string;
1974
1974
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
1975
1975
  thresholds: {
1976
1976
  confidenceThreshold: number;
@@ -1982,64 +1982,64 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
1982
1982
  };
1983
1983
  denyList: {
1984
1984
  active: boolean;
1985
- agentDid?: string | undefined;
1986
1985
  clientDid?: string | undefined;
1987
- expiresAt?: string | undefined;
1988
- reason?: string | undefined;
1986
+ agentDid?: string | undefined;
1989
1987
  clientName?: string | undefined;
1990
1988
  agentType?: string | undefined;
1989
+ reason?: string | undefined;
1991
1990
  blockedAt?: string | undefined;
1992
1991
  addedBy?: string | undefined;
1992
+ expiresAt?: string | undefined;
1993
1993
  }[];
1994
1994
  allowList: {
1995
- agentDid?: string | undefined;
1996
1995
  clientDid?: string | undefined;
1997
- reason?: string | undefined;
1996
+ agentDid?: string | undefined;
1998
1997
  clientName?: string | undefined;
1999
1998
  agentType?: string | undefined;
1999
+ reason?: string | undefined;
2000
2000
  addedBy?: string | undefined;
2001
2001
  addedAt?: string | undefined;
2002
2002
  }[];
2003
2003
  rules: {
2004
- name: string;
2005
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2006
2004
  id: string;
2005
+ name: string;
2007
2006
  priority: number;
2008
2007
  conditions: {
2009
2008
  value: string | number | boolean | string[];
2010
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2009
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2011
2010
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2012
2011
  caseInsensitive?: boolean | undefined;
2013
2012
  }[];
2013
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2014
2014
  enabled: boolean;
2015
2015
  message?: string | undefined;
2016
+ description?: string | undefined;
2017
+ redirectUrl?: string | undefined;
2016
2018
  metadata?: {
2017
2019
  createdAt?: string | undefined;
2018
2020
  updatedAt?: string | undefined;
2019
2021
  createdBy?: string | undefined;
2020
2022
  } | undefined;
2021
- description?: string | undefined;
2022
- redirectUrl?: string | undefined;
2023
2023
  }[];
2024
2024
  excludedPaths: string[];
2025
+ redirectUrl?: string | undefined;
2025
2026
  metadata?: {
2026
2027
  lastUpdated?: string | undefined;
2027
2028
  updatedBy?: string | undefined;
2028
2029
  policyId?: string | undefined;
2029
2030
  } | undefined;
2030
- redirectUrl?: string | undefined;
2031
2031
  includedPaths?: string[] | undefined;
2032
2032
  };
2033
2033
  }, {
2034
2034
  policy: {
2035
+ redirectUrl?: string | undefined;
2036
+ enabled?: boolean | undefined;
2035
2037
  metadata?: {
2036
2038
  lastUpdated?: string | undefined;
2037
2039
  updatedBy?: string | undefined;
2038
2040
  policyId?: string | undefined;
2039
2041
  } | undefined;
2040
2042
  version?: string | undefined;
2041
- redirectUrl?: string | undefined;
2042
- enabled?: boolean | undefined;
2043
2043
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2044
2044
  thresholds?: {
2045
2045
  confidenceThreshold?: number | undefined;
@@ -2050,45 +2050,45 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
2050
2050
  trustSignedRequests?: boolean | undefined;
2051
2051
  } | undefined;
2052
2052
  denyList?: {
2053
- agentDid?: string | undefined;
2054
2053
  clientDid?: string | undefined;
2055
- expiresAt?: string | undefined;
2056
- reason?: string | undefined;
2057
- active?: boolean | undefined;
2054
+ agentDid?: string | undefined;
2058
2055
  clientName?: string | undefined;
2059
2056
  agentType?: string | undefined;
2057
+ reason?: string | undefined;
2060
2058
  blockedAt?: string | undefined;
2061
2059
  addedBy?: string | undefined;
2060
+ active?: boolean | undefined;
2061
+ expiresAt?: string | undefined;
2062
2062
  }[] | undefined;
2063
2063
  allowList?: {
2064
- agentDid?: string | undefined;
2065
2064
  clientDid?: string | undefined;
2066
- reason?: string | undefined;
2065
+ agentDid?: string | undefined;
2067
2066
  clientName?: string | undefined;
2068
2067
  agentType?: string | undefined;
2068
+ reason?: string | undefined;
2069
2069
  addedBy?: string | undefined;
2070
2070
  addedAt?: string | undefined;
2071
2071
  }[] | undefined;
2072
2072
  rules?: {
2073
- name: string;
2074
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2075
2073
  id: string;
2074
+ name: string;
2076
2075
  conditions: {
2077
2076
  value: string | number | boolean | string[];
2078
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2077
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2079
2078
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2080
2079
  caseInsensitive?: boolean | undefined;
2081
2080
  }[];
2081
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2082
2082
  message?: string | undefined;
2083
+ description?: string | undefined;
2084
+ priority?: number | undefined;
2085
+ redirectUrl?: string | undefined;
2086
+ enabled?: boolean | undefined;
2083
2087
  metadata?: {
2084
2088
  createdAt?: string | undefined;
2085
2089
  updatedAt?: string | undefined;
2086
2090
  createdBy?: string | undefined;
2087
2091
  } | undefined;
2088
- description?: string | undefined;
2089
- priority?: number | undefined;
2090
- redirectUrl?: string | undefined;
2091
- enabled?: boolean | undefined;
2092
2092
  }[] | undefined;
2093
2093
  excludedPaths?: string[] | undefined;
2094
2094
  includedPaths?: string[] | undefined;
@@ -2099,20 +2099,20 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
2099
2099
  timestamp: z.ZodOptional<z.ZodString>;
2100
2100
  cachedUntil: z.ZodOptional<z.ZodString>;
2101
2101
  }, "strip", z.ZodTypeAny, {
2102
- timestamp?: string | undefined;
2103
2102
  requestId?: string | undefined;
2103
+ timestamp?: string | undefined;
2104
2104
  cachedUntil?: string | undefined;
2105
2105
  }, {
2106
- timestamp?: string | undefined;
2107
2106
  requestId?: string | undefined;
2107
+ timestamp?: string | undefined;
2108
2108
  cachedUntil?: string | undefined;
2109
2109
  }>>;
2110
2110
  }, "strip", z.ZodTypeAny, {
2111
2111
  success: boolean;
2112
2112
  data: {
2113
2113
  policy: {
2114
- version: string;
2115
2114
  enabled: boolean;
2115
+ version: string;
2116
2116
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
2117
2117
  thresholds: {
2118
2118
  confidenceThreshold: number;
@@ -2124,72 +2124,72 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
2124
2124
  };
2125
2125
  denyList: {
2126
2126
  active: boolean;
2127
- agentDid?: string | undefined;
2128
2127
  clientDid?: string | undefined;
2129
- expiresAt?: string | undefined;
2130
- reason?: string | undefined;
2128
+ agentDid?: string | undefined;
2131
2129
  clientName?: string | undefined;
2132
2130
  agentType?: string | undefined;
2131
+ reason?: string | undefined;
2133
2132
  blockedAt?: string | undefined;
2134
2133
  addedBy?: string | undefined;
2134
+ expiresAt?: string | undefined;
2135
2135
  }[];
2136
2136
  allowList: {
2137
- agentDid?: string | undefined;
2138
2137
  clientDid?: string | undefined;
2139
- reason?: string | undefined;
2138
+ agentDid?: string | undefined;
2140
2139
  clientName?: string | undefined;
2141
2140
  agentType?: string | undefined;
2141
+ reason?: string | undefined;
2142
2142
  addedBy?: string | undefined;
2143
2143
  addedAt?: string | undefined;
2144
2144
  }[];
2145
2145
  rules: {
2146
- name: string;
2147
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2148
2146
  id: string;
2147
+ name: string;
2149
2148
  priority: number;
2150
2149
  conditions: {
2151
2150
  value: string | number | boolean | string[];
2152
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2151
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2153
2152
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2154
2153
  caseInsensitive?: boolean | undefined;
2155
2154
  }[];
2155
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2156
2156
  enabled: boolean;
2157
2157
  message?: string | undefined;
2158
+ description?: string | undefined;
2159
+ redirectUrl?: string | undefined;
2158
2160
  metadata?: {
2159
2161
  createdAt?: string | undefined;
2160
2162
  updatedAt?: string | undefined;
2161
2163
  createdBy?: string | undefined;
2162
2164
  } | undefined;
2163
- description?: string | undefined;
2164
- redirectUrl?: string | undefined;
2165
2165
  }[];
2166
2166
  excludedPaths: string[];
2167
+ redirectUrl?: string | undefined;
2167
2168
  metadata?: {
2168
2169
  lastUpdated?: string | undefined;
2169
2170
  updatedBy?: string | undefined;
2170
2171
  policyId?: string | undefined;
2171
2172
  } | undefined;
2172
- redirectUrl?: string | undefined;
2173
2173
  includedPaths?: string[] | undefined;
2174
2174
  };
2175
2175
  };
2176
2176
  metadata?: {
2177
- timestamp?: string | undefined;
2178
2177
  requestId?: string | undefined;
2178
+ timestamp?: string | undefined;
2179
2179
  cachedUntil?: string | undefined;
2180
2180
  } | undefined;
2181
2181
  }, {
2182
2182
  success: boolean;
2183
2183
  data: {
2184
2184
  policy: {
2185
+ redirectUrl?: string | undefined;
2186
+ enabled?: boolean | undefined;
2185
2187
  metadata?: {
2186
2188
  lastUpdated?: string | undefined;
2187
2189
  updatedBy?: string | undefined;
2188
2190
  policyId?: string | undefined;
2189
2191
  } | undefined;
2190
2192
  version?: string | undefined;
2191
- redirectUrl?: string | undefined;
2192
- enabled?: boolean | undefined;
2193
2193
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2194
2194
  thresholds?: {
2195
2195
  confidenceThreshold?: number | undefined;
@@ -2200,53 +2200,53 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
2200
2200
  trustSignedRequests?: boolean | undefined;
2201
2201
  } | undefined;
2202
2202
  denyList?: {
2203
- agentDid?: string | undefined;
2204
2203
  clientDid?: string | undefined;
2205
- expiresAt?: string | undefined;
2206
- reason?: string | undefined;
2207
- active?: boolean | undefined;
2204
+ agentDid?: string | undefined;
2208
2205
  clientName?: string | undefined;
2209
2206
  agentType?: string | undefined;
2207
+ reason?: string | undefined;
2210
2208
  blockedAt?: string | undefined;
2211
2209
  addedBy?: string | undefined;
2210
+ active?: boolean | undefined;
2211
+ expiresAt?: string | undefined;
2212
2212
  }[] | undefined;
2213
2213
  allowList?: {
2214
- agentDid?: string | undefined;
2215
2214
  clientDid?: string | undefined;
2216
- reason?: string | undefined;
2215
+ agentDid?: string | undefined;
2217
2216
  clientName?: string | undefined;
2218
2217
  agentType?: string | undefined;
2218
+ reason?: string | undefined;
2219
2219
  addedBy?: string | undefined;
2220
2220
  addedAt?: string | undefined;
2221
2221
  }[] | undefined;
2222
2222
  rules?: {
2223
- name: string;
2224
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2225
2223
  id: string;
2224
+ name: string;
2226
2225
  conditions: {
2227
2226
  value: string | number | boolean | string[];
2228
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2227
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2229
2228
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2230
2229
  caseInsensitive?: boolean | undefined;
2231
2230
  }[];
2231
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2232
2232
  message?: string | undefined;
2233
+ description?: string | undefined;
2234
+ priority?: number | undefined;
2235
+ redirectUrl?: string | undefined;
2236
+ enabled?: boolean | undefined;
2233
2237
  metadata?: {
2234
2238
  createdAt?: string | undefined;
2235
2239
  updatedAt?: string | undefined;
2236
2240
  createdBy?: string | undefined;
2237
2241
  } | undefined;
2238
- description?: string | undefined;
2239
- priority?: number | undefined;
2240
- redirectUrl?: string | undefined;
2241
- enabled?: boolean | undefined;
2242
2242
  }[] | undefined;
2243
2243
  excludedPaths?: string[] | undefined;
2244
2244
  includedPaths?: string[] | undefined;
2245
2245
  };
2246
2246
  };
2247
2247
  metadata?: {
2248
- timestamp?: string | undefined;
2249
2248
  requestId?: string | undefined;
2249
+ timestamp?: string | undefined;
2250
2250
  cachedUntil?: string | undefined;
2251
2251
  } | undefined;
2252
2252
  }>;
@@ -2332,44 +2332,44 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2332
2332
  expiresAt: z.ZodOptional<z.ZodString>;
2333
2333
  }, "strip", z.ZodTypeAny, {
2334
2334
  active: boolean;
2335
- agentDid?: string | undefined;
2336
2335
  clientDid?: string | undefined;
2337
- expiresAt?: string | undefined;
2338
- reason?: string | undefined;
2336
+ agentDid?: string | undefined;
2339
2337
  clientName?: string | undefined;
2340
2338
  agentType?: string | undefined;
2339
+ reason?: string | undefined;
2341
2340
  blockedAt?: string | undefined;
2342
2341
  addedBy?: string | undefined;
2342
+ expiresAt?: string | undefined;
2343
2343
  }, {
2344
- agentDid?: string | undefined;
2345
2344
  clientDid?: string | undefined;
2346
- expiresAt?: string | undefined;
2347
- reason?: string | undefined;
2348
- active?: boolean | undefined;
2345
+ agentDid?: string | undefined;
2349
2346
  clientName?: string | undefined;
2350
2347
  agentType?: string | undefined;
2348
+ reason?: string | undefined;
2351
2349
  blockedAt?: string | undefined;
2352
2350
  addedBy?: string | undefined;
2351
+ active?: boolean | undefined;
2352
+ expiresAt?: string | undefined;
2353
2353
  }>, {
2354
2354
  active: boolean;
2355
- agentDid?: string | undefined;
2356
2355
  clientDid?: string | undefined;
2357
- expiresAt?: string | undefined;
2358
- reason?: string | undefined;
2356
+ agentDid?: string | undefined;
2359
2357
  clientName?: string | undefined;
2360
2358
  agentType?: string | undefined;
2359
+ reason?: string | undefined;
2361
2360
  blockedAt?: string | undefined;
2362
2361
  addedBy?: string | undefined;
2362
+ expiresAt?: string | undefined;
2363
2363
  }, {
2364
- agentDid?: string | undefined;
2365
2364
  clientDid?: string | undefined;
2366
- expiresAt?: string | undefined;
2367
- reason?: string | undefined;
2368
- active?: boolean | undefined;
2365
+ agentDid?: string | undefined;
2369
2366
  clientName?: string | undefined;
2370
2367
  agentType?: string | undefined;
2368
+ reason?: string | undefined;
2371
2369
  blockedAt?: string | undefined;
2372
2370
  addedBy?: string | undefined;
2371
+ active?: boolean | undefined;
2372
+ expiresAt?: string | undefined;
2373
2373
  }>, "many">>>;
2374
2374
  allowList: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
2375
2375
  /** MCP-I client DID (e.g., "did:key:z6Mk...") */
@@ -2387,35 +2387,35 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2387
2387
  /** Who added this entry */
2388
2388
  addedBy: z.ZodOptional<z.ZodString>;
2389
2389
  }, "strip", z.ZodTypeAny, {
2390
- agentDid?: string | undefined;
2391
2390
  clientDid?: string | undefined;
2392
- reason?: string | undefined;
2391
+ agentDid?: string | undefined;
2393
2392
  clientName?: string | undefined;
2394
2393
  agentType?: string | undefined;
2394
+ reason?: string | undefined;
2395
2395
  addedBy?: string | undefined;
2396
2396
  addedAt?: string | undefined;
2397
2397
  }, {
2398
- agentDid?: string | undefined;
2399
2398
  clientDid?: string | undefined;
2400
- reason?: string | undefined;
2399
+ agentDid?: string | undefined;
2401
2400
  clientName?: string | undefined;
2402
2401
  agentType?: string | undefined;
2402
+ reason?: string | undefined;
2403
2403
  addedBy?: string | undefined;
2404
2404
  addedAt?: string | undefined;
2405
2405
  }>, {
2406
- agentDid?: string | undefined;
2407
2406
  clientDid?: string | undefined;
2408
- reason?: string | undefined;
2407
+ agentDid?: string | undefined;
2409
2408
  clientName?: string | undefined;
2410
2409
  agentType?: string | undefined;
2410
+ reason?: string | undefined;
2411
2411
  addedBy?: string | undefined;
2412
2412
  addedAt?: string | undefined;
2413
2413
  }, {
2414
- agentDid?: string | undefined;
2415
2414
  clientDid?: string | undefined;
2416
- reason?: string | undefined;
2415
+ agentDid?: string | undefined;
2417
2416
  clientName?: string | undefined;
2418
2417
  agentType?: string | undefined;
2418
+ reason?: string | undefined;
2419
2419
  addedBy?: string | undefined;
2420
2420
  addedAt?: string | undefined;
2421
2421
  }>, "many">>>;
@@ -2443,12 +2443,12 @@ 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" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2446
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2447
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" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2451
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2452
2452
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2453
2453
  caseInsensitive?: boolean | undefined;
2454
2454
  }>, "many">;
@@ -2475,85 +2475,85 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2475
2475
  createdBy?: string | undefined;
2476
2476
  }>>;
2477
2477
  }, "strip", z.ZodTypeAny, {
2478
- name: string;
2479
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2480
2478
  id: string;
2479
+ name: string;
2481
2480
  priority: number;
2482
2481
  conditions: {
2483
2482
  value: string | number | boolean | string[];
2484
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2483
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2485
2484
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2486
2485
  caseInsensitive?: boolean | undefined;
2487
2486
  }[];
2487
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2488
2488
  enabled: boolean;
2489
2489
  message?: string | undefined;
2490
+ description?: string | undefined;
2491
+ redirectUrl?: string | undefined;
2490
2492
  metadata?: {
2491
2493
  createdAt?: string | undefined;
2492
2494
  updatedAt?: string | undefined;
2493
2495
  createdBy?: string | undefined;
2494
2496
  } | undefined;
2495
- description?: string | undefined;
2496
- redirectUrl?: string | undefined;
2497
2497
  }, {
2498
- name: string;
2499
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2500
2498
  id: string;
2499
+ name: string;
2501
2500
  conditions: {
2502
2501
  value: string | number | boolean | string[];
2503
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2502
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2504
2503
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2505
2504
  caseInsensitive?: boolean | undefined;
2506
2505
  }[];
2506
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2507
2507
  message?: string | undefined;
2508
+ description?: string | undefined;
2509
+ priority?: number | undefined;
2510
+ redirectUrl?: string | undefined;
2511
+ enabled?: boolean | undefined;
2508
2512
  metadata?: {
2509
2513
  createdAt?: string | undefined;
2510
2514
  updatedAt?: string | undefined;
2511
2515
  createdBy?: string | undefined;
2512
2516
  } | undefined;
2513
- description?: string | undefined;
2514
- priority?: number | undefined;
2515
- redirectUrl?: string | undefined;
2516
- enabled?: boolean | undefined;
2517
2517
  }>, {
2518
- name: string;
2519
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2520
2518
  id: string;
2519
+ name: string;
2521
2520
  priority: number;
2522
2521
  conditions: {
2523
2522
  value: string | number | boolean | string[];
2524
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2523
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2525
2524
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2526
2525
  caseInsensitive?: boolean | undefined;
2527
2526
  }[];
2527
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2528
2528
  enabled: boolean;
2529
2529
  message?: string | undefined;
2530
+ description?: string | undefined;
2531
+ redirectUrl?: string | undefined;
2530
2532
  metadata?: {
2531
2533
  createdAt?: string | undefined;
2532
2534
  updatedAt?: string | undefined;
2533
2535
  createdBy?: string | undefined;
2534
2536
  } | undefined;
2535
- description?: string | undefined;
2536
- redirectUrl?: string | undefined;
2537
2537
  }, {
2538
- name: string;
2539
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2540
2538
  id: string;
2539
+ name: string;
2541
2540
  conditions: {
2542
2541
  value: string | number | boolean | string[];
2543
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2542
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2544
2543
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2545
2544
  caseInsensitive?: boolean | undefined;
2546
2545
  }[];
2546
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2547
2547
  message?: string | undefined;
2548
+ description?: string | undefined;
2549
+ priority?: number | undefined;
2550
+ redirectUrl?: string | undefined;
2551
+ enabled?: boolean | undefined;
2548
2552
  metadata?: {
2549
2553
  createdAt?: string | undefined;
2550
2554
  updatedAt?: string | undefined;
2551
2555
  createdBy?: string | undefined;
2552
2556
  } | undefined;
2553
- description?: string | undefined;
2554
- priority?: number | undefined;
2555
- redirectUrl?: string | undefined;
2556
- enabled?: boolean | undefined;
2557
2557
  }>, "many">>>;
2558
2558
  excludedPaths: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
2559
2559
  includedPaths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
@@ -2571,14 +2571,14 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2571
2571
  policyId?: string | undefined;
2572
2572
  }>>>;
2573
2573
  }, "strip", z.ZodTypeAny, {
2574
+ redirectUrl?: string | undefined;
2575
+ enabled?: boolean | undefined;
2574
2576
  metadata?: {
2575
2577
  lastUpdated?: string | undefined;
2576
2578
  updatedBy?: string | undefined;
2577
2579
  policyId?: string | undefined;
2578
2580
  } | undefined;
2579
2581
  version?: string | undefined;
2580
- redirectUrl?: string | undefined;
2581
- enabled?: boolean | undefined;
2582
2582
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2583
2583
  thresholds?: {
2584
2584
  confidenceThreshold: number;
@@ -2590,56 +2590,56 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2590
2590
  } | undefined;
2591
2591
  denyList?: {
2592
2592
  active: boolean;
2593
- agentDid?: string | undefined;
2594
2593
  clientDid?: string | undefined;
2595
- expiresAt?: string | undefined;
2596
- reason?: string | undefined;
2594
+ agentDid?: string | undefined;
2597
2595
  clientName?: string | undefined;
2598
2596
  agentType?: string | undefined;
2597
+ reason?: string | undefined;
2599
2598
  blockedAt?: string | undefined;
2600
2599
  addedBy?: string | undefined;
2600
+ expiresAt?: string | undefined;
2601
2601
  }[] | undefined;
2602
2602
  allowList?: {
2603
- agentDid?: string | undefined;
2604
2603
  clientDid?: string | undefined;
2605
- reason?: string | undefined;
2604
+ agentDid?: string | undefined;
2606
2605
  clientName?: string | undefined;
2607
2606
  agentType?: string | undefined;
2607
+ reason?: string | undefined;
2608
2608
  addedBy?: string | undefined;
2609
2609
  addedAt?: string | undefined;
2610
2610
  }[] | undefined;
2611
2611
  rules?: {
2612
- name: string;
2613
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2614
2612
  id: string;
2613
+ name: string;
2615
2614
  priority: number;
2616
2615
  conditions: {
2617
2616
  value: string | number | boolean | string[];
2618
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2617
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2619
2618
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2620
2619
  caseInsensitive?: boolean | undefined;
2621
2620
  }[];
2621
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2622
2622
  enabled: boolean;
2623
2623
  message?: string | undefined;
2624
+ description?: string | undefined;
2625
+ redirectUrl?: string | undefined;
2624
2626
  metadata?: {
2625
2627
  createdAt?: string | undefined;
2626
2628
  updatedAt?: string | undefined;
2627
2629
  createdBy?: string | undefined;
2628
2630
  } | undefined;
2629
- description?: string | undefined;
2630
- redirectUrl?: string | undefined;
2631
2631
  }[] | undefined;
2632
2632
  excludedPaths?: string[] | undefined;
2633
2633
  includedPaths?: string[] | undefined;
2634
2634
  }, {
2635
+ redirectUrl?: string | undefined;
2636
+ enabled?: boolean | undefined;
2635
2637
  metadata?: {
2636
2638
  lastUpdated?: string | undefined;
2637
2639
  updatedBy?: string | undefined;
2638
2640
  policyId?: string | undefined;
2639
2641
  } | undefined;
2640
2642
  version?: string | undefined;
2641
- redirectUrl?: string | undefined;
2642
- enabled?: boolean | undefined;
2643
2643
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2644
2644
  thresholds?: {
2645
2645
  confidenceThreshold?: number | undefined;
@@ -2650,45 +2650,45 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2650
2650
  trustSignedRequests?: boolean | undefined;
2651
2651
  } | undefined;
2652
2652
  denyList?: {
2653
- agentDid?: string | undefined;
2654
2653
  clientDid?: string | undefined;
2655
- expiresAt?: string | undefined;
2656
- reason?: string | undefined;
2657
- active?: boolean | undefined;
2654
+ agentDid?: string | undefined;
2658
2655
  clientName?: string | undefined;
2659
2656
  agentType?: string | undefined;
2657
+ reason?: string | undefined;
2660
2658
  blockedAt?: string | undefined;
2661
2659
  addedBy?: string | undefined;
2660
+ active?: boolean | undefined;
2661
+ expiresAt?: string | undefined;
2662
2662
  }[] | undefined;
2663
2663
  allowList?: {
2664
- agentDid?: string | undefined;
2665
2664
  clientDid?: string | undefined;
2666
- reason?: string | undefined;
2665
+ agentDid?: string | undefined;
2667
2666
  clientName?: string | undefined;
2668
2667
  agentType?: string | undefined;
2668
+ reason?: string | undefined;
2669
2669
  addedBy?: string | undefined;
2670
2670
  addedAt?: string | undefined;
2671
2671
  }[] | undefined;
2672
2672
  rules?: {
2673
- name: string;
2674
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2675
2673
  id: string;
2674
+ name: string;
2676
2675
  conditions: {
2677
2676
  value: string | number | boolean | string[];
2678
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2677
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2679
2678
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2680
2679
  caseInsensitive?: boolean | undefined;
2681
2680
  }[];
2681
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2682
2682
  message?: string | undefined;
2683
+ description?: string | undefined;
2684
+ priority?: number | undefined;
2685
+ redirectUrl?: string | undefined;
2686
+ enabled?: boolean | undefined;
2683
2687
  metadata?: {
2684
2688
  createdAt?: string | undefined;
2685
2689
  updatedAt?: string | undefined;
2686
2690
  createdBy?: string | undefined;
2687
2691
  } | undefined;
2688
- description?: string | undefined;
2689
- priority?: number | undefined;
2690
- redirectUrl?: string | undefined;
2691
- enabled?: boolean | undefined;
2692
2692
  }[] | undefined;
2693
2693
  excludedPaths?: string[] | undefined;
2694
2694
  includedPaths?: string[] | undefined;
@@ -2696,14 +2696,14 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2696
2696
  }, "strip", z.ZodTypeAny, {
2697
2697
  projectId: string;
2698
2698
  policy: {
2699
+ redirectUrl?: string | undefined;
2700
+ enabled?: boolean | undefined;
2699
2701
  metadata?: {
2700
2702
  lastUpdated?: string | undefined;
2701
2703
  updatedBy?: string | undefined;
2702
2704
  policyId?: string | undefined;
2703
2705
  } | undefined;
2704
2706
  version?: string | undefined;
2705
- redirectUrl?: string | undefined;
2706
- enabled?: boolean | undefined;
2707
2707
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2708
2708
  thresholds?: {
2709
2709
  confidenceThreshold: number;
@@ -2715,44 +2715,44 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2715
2715
  } | undefined;
2716
2716
  denyList?: {
2717
2717
  active: boolean;
2718
- agentDid?: string | undefined;
2719
2718
  clientDid?: string | undefined;
2720
- expiresAt?: string | undefined;
2721
- reason?: string | undefined;
2719
+ agentDid?: string | undefined;
2722
2720
  clientName?: string | undefined;
2723
2721
  agentType?: string | undefined;
2722
+ reason?: string | undefined;
2724
2723
  blockedAt?: string | undefined;
2725
2724
  addedBy?: string | undefined;
2725
+ expiresAt?: string | undefined;
2726
2726
  }[] | undefined;
2727
2727
  allowList?: {
2728
- agentDid?: string | undefined;
2729
2728
  clientDid?: string | undefined;
2730
- reason?: string | undefined;
2729
+ agentDid?: string | undefined;
2731
2730
  clientName?: string | undefined;
2732
2731
  agentType?: string | undefined;
2732
+ reason?: string | undefined;
2733
2733
  addedBy?: string | undefined;
2734
2734
  addedAt?: string | undefined;
2735
2735
  }[] | undefined;
2736
2736
  rules?: {
2737
- name: string;
2738
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2739
2737
  id: string;
2738
+ name: string;
2740
2739
  priority: number;
2741
2740
  conditions: {
2742
2741
  value: string | number | boolean | string[];
2743
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2742
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2744
2743
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2745
2744
  caseInsensitive?: boolean | undefined;
2746
2745
  }[];
2746
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2747
2747
  enabled: boolean;
2748
2748
  message?: string | undefined;
2749
+ description?: string | undefined;
2750
+ redirectUrl?: string | undefined;
2749
2751
  metadata?: {
2750
2752
  createdAt?: string | undefined;
2751
2753
  updatedAt?: string | undefined;
2752
2754
  createdBy?: string | undefined;
2753
2755
  } | undefined;
2754
- description?: string | undefined;
2755
- redirectUrl?: string | undefined;
2756
2756
  }[] | undefined;
2757
2757
  excludedPaths?: string[] | undefined;
2758
2758
  includedPaths?: string[] | undefined;
@@ -2760,14 +2760,14 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2760
2760
  }, {
2761
2761
  projectId: string;
2762
2762
  policy: {
2763
+ redirectUrl?: string | undefined;
2764
+ enabled?: boolean | undefined;
2763
2765
  metadata?: {
2764
2766
  lastUpdated?: string | undefined;
2765
2767
  updatedBy?: string | undefined;
2766
2768
  policyId?: string | undefined;
2767
2769
  } | undefined;
2768
2770
  version?: string | undefined;
2769
- redirectUrl?: string | undefined;
2770
- enabled?: boolean | undefined;
2771
2771
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
2772
2772
  thresholds?: {
2773
2773
  confidenceThreshold?: number | undefined;
@@ -2778,45 +2778,45 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
2778
2778
  trustSignedRequests?: boolean | undefined;
2779
2779
  } | undefined;
2780
2780
  denyList?: {
2781
- agentDid?: string | undefined;
2782
2781
  clientDid?: string | undefined;
2783
- expiresAt?: string | undefined;
2784
- reason?: string | undefined;
2785
- active?: boolean | undefined;
2782
+ agentDid?: string | undefined;
2786
2783
  clientName?: string | undefined;
2787
2784
  agentType?: string | undefined;
2785
+ reason?: string | undefined;
2788
2786
  blockedAt?: string | undefined;
2789
2787
  addedBy?: string | undefined;
2788
+ active?: boolean | undefined;
2789
+ expiresAt?: string | undefined;
2790
2790
  }[] | undefined;
2791
2791
  allowList?: {
2792
- agentDid?: string | undefined;
2793
2792
  clientDid?: string | undefined;
2794
- reason?: string | undefined;
2793
+ agentDid?: string | undefined;
2795
2794
  clientName?: string | undefined;
2796
2795
  agentType?: string | undefined;
2796
+ reason?: string | undefined;
2797
2797
  addedBy?: string | undefined;
2798
2798
  addedAt?: string | undefined;
2799
2799
  }[] | undefined;
2800
2800
  rules?: {
2801
- name: string;
2802
- action: "allow" | "block" | "redirect" | "challenge" | "log";
2803
2801
  id: string;
2802
+ name: string;
2804
2803
  conditions: {
2805
2804
  value: string | number | boolean | string[];
2806
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2805
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
2807
2806
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
2808
2807
  caseInsensitive?: boolean | undefined;
2809
2808
  }[];
2809
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
2810
2810
  message?: string | undefined;
2811
+ description?: string | undefined;
2812
+ priority?: number | undefined;
2813
+ redirectUrl?: string | undefined;
2814
+ enabled?: boolean | undefined;
2811
2815
  metadata?: {
2812
2816
  createdAt?: string | undefined;
2813
2817
  updatedAt?: string | undefined;
2814
2818
  createdBy?: string | undefined;
2815
2819
  } | undefined;
2816
- description?: string | undefined;
2817
- priority?: number | undefined;
2818
- redirectUrl?: string | undefined;
2819
- enabled?: boolean | undefined;
2820
2820
  }[] | undefined;
2821
2821
  excludedPaths?: string[] | undefined;
2822
2822
  includedPaths?: string[] | undefined;
@@ -2911,44 +2911,44 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
2911
2911
  expiresAt: z.ZodOptional<z.ZodString>;
2912
2912
  }, "strip", z.ZodTypeAny, {
2913
2913
  active: boolean;
2914
- agentDid?: string | undefined;
2915
2914
  clientDid?: string | undefined;
2916
- expiresAt?: string | undefined;
2917
- reason?: string | undefined;
2915
+ agentDid?: string | undefined;
2918
2916
  clientName?: string | undefined;
2919
2917
  agentType?: string | undefined;
2918
+ reason?: string | undefined;
2920
2919
  blockedAt?: string | undefined;
2921
2920
  addedBy?: string | undefined;
2921
+ expiresAt?: string | undefined;
2922
2922
  }, {
2923
- agentDid?: string | undefined;
2924
2923
  clientDid?: string | undefined;
2925
- expiresAt?: string | undefined;
2926
- reason?: string | undefined;
2927
- active?: boolean | undefined;
2924
+ agentDid?: string | undefined;
2928
2925
  clientName?: string | undefined;
2929
2926
  agentType?: string | undefined;
2927
+ reason?: string | undefined;
2930
2928
  blockedAt?: string | undefined;
2931
2929
  addedBy?: string | undefined;
2930
+ active?: boolean | undefined;
2931
+ expiresAt?: string | undefined;
2932
2932
  }>, {
2933
2933
  active: boolean;
2934
- agentDid?: string | undefined;
2935
2934
  clientDid?: string | undefined;
2936
- expiresAt?: string | undefined;
2937
- reason?: string | undefined;
2935
+ agentDid?: string | undefined;
2938
2936
  clientName?: string | undefined;
2939
2937
  agentType?: string | undefined;
2938
+ reason?: string | undefined;
2940
2939
  blockedAt?: string | undefined;
2941
2940
  addedBy?: string | undefined;
2941
+ expiresAt?: string | undefined;
2942
2942
  }, {
2943
- agentDid?: string | undefined;
2944
2943
  clientDid?: string | undefined;
2945
- expiresAt?: string | undefined;
2946
- reason?: string | undefined;
2947
- active?: boolean | undefined;
2944
+ agentDid?: string | undefined;
2948
2945
  clientName?: string | undefined;
2949
2946
  agentType?: string | undefined;
2947
+ reason?: string | undefined;
2950
2948
  blockedAt?: string | undefined;
2951
2949
  addedBy?: string | undefined;
2950
+ active?: boolean | undefined;
2951
+ expiresAt?: string | undefined;
2952
2952
  }>, "many">>;
2953
2953
  /** Allow list entries (exempt from all checks) */
2954
2954
  allowList: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
@@ -2967,35 +2967,35 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
2967
2967
  /** Who added this entry */
2968
2968
  addedBy: z.ZodOptional<z.ZodString>;
2969
2969
  }, "strip", z.ZodTypeAny, {
2970
- agentDid?: string | undefined;
2971
2970
  clientDid?: string | undefined;
2972
- reason?: string | undefined;
2971
+ agentDid?: string | undefined;
2973
2972
  clientName?: string | undefined;
2974
2973
  agentType?: string | undefined;
2974
+ reason?: string | undefined;
2975
2975
  addedBy?: string | undefined;
2976
2976
  addedAt?: string | undefined;
2977
2977
  }, {
2978
- agentDid?: string | undefined;
2979
2978
  clientDid?: string | undefined;
2980
- reason?: string | undefined;
2979
+ agentDid?: string | undefined;
2981
2980
  clientName?: string | undefined;
2982
2981
  agentType?: string | undefined;
2982
+ reason?: string | undefined;
2983
2983
  addedBy?: string | undefined;
2984
2984
  addedAt?: string | undefined;
2985
2985
  }>, {
2986
- agentDid?: string | undefined;
2987
2986
  clientDid?: string | undefined;
2988
- reason?: string | undefined;
2987
+ agentDid?: string | undefined;
2989
2988
  clientName?: string | undefined;
2990
2989
  agentType?: string | undefined;
2990
+ reason?: string | undefined;
2991
2991
  addedBy?: string | undefined;
2992
2992
  addedAt?: string | undefined;
2993
2993
  }, {
2994
- agentDid?: string | undefined;
2995
2994
  clientDid?: string | undefined;
2996
- reason?: string | undefined;
2995
+ agentDid?: string | undefined;
2997
2996
  clientName?: string | undefined;
2998
2997
  agentType?: string | undefined;
2998
+ reason?: string | undefined;
2999
2999
  addedBy?: string | undefined;
3000
3000
  addedAt?: string | undefined;
3001
3001
  }>, "many">>;
@@ -3024,12 +3024,12 @@ 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" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3027
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3028
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" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3032
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3033
3033
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3034
3034
  caseInsensitive?: boolean | undefined;
3035
3035
  }>, "many">;
@@ -3056,85 +3056,85 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3056
3056
  createdBy?: string | undefined;
3057
3057
  }>>;
3058
3058
  }, "strip", z.ZodTypeAny, {
3059
- name: string;
3060
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3061
3059
  id: string;
3060
+ name: string;
3062
3061
  priority: number;
3063
3062
  conditions: {
3064
3063
  value: string | number | boolean | string[];
3065
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3064
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3066
3065
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3067
3066
  caseInsensitive?: boolean | undefined;
3068
3067
  }[];
3068
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3069
3069
  enabled: boolean;
3070
3070
  message?: string | undefined;
3071
+ description?: string | undefined;
3072
+ redirectUrl?: string | undefined;
3071
3073
  metadata?: {
3072
3074
  createdAt?: string | undefined;
3073
3075
  updatedAt?: string | undefined;
3074
3076
  createdBy?: string | undefined;
3075
3077
  } | undefined;
3076
- description?: string | undefined;
3077
- redirectUrl?: string | undefined;
3078
3078
  }, {
3079
- name: string;
3080
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3081
3079
  id: string;
3080
+ name: string;
3082
3081
  conditions: {
3083
3082
  value: string | number | boolean | string[];
3084
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3083
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3085
3084
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3086
3085
  caseInsensitive?: boolean | undefined;
3087
3086
  }[];
3087
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3088
3088
  message?: string | undefined;
3089
+ description?: string | undefined;
3090
+ priority?: number | undefined;
3091
+ redirectUrl?: string | undefined;
3092
+ enabled?: boolean | undefined;
3089
3093
  metadata?: {
3090
3094
  createdAt?: string | undefined;
3091
3095
  updatedAt?: string | undefined;
3092
3096
  createdBy?: string | undefined;
3093
3097
  } | undefined;
3094
- description?: string | undefined;
3095
- priority?: number | undefined;
3096
- redirectUrl?: string | undefined;
3097
- enabled?: boolean | undefined;
3098
3098
  }>, {
3099
- name: string;
3100
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3101
3099
  id: string;
3100
+ name: string;
3102
3101
  priority: number;
3103
3102
  conditions: {
3104
3103
  value: string | number | boolean | string[];
3105
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3104
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3106
3105
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3107
3106
  caseInsensitive?: boolean | undefined;
3108
3107
  }[];
3108
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3109
3109
  enabled: boolean;
3110
3110
  message?: string | undefined;
3111
+ description?: string | undefined;
3112
+ redirectUrl?: string | undefined;
3111
3113
  metadata?: {
3112
3114
  createdAt?: string | undefined;
3113
3115
  updatedAt?: string | undefined;
3114
3116
  createdBy?: string | undefined;
3115
3117
  } | undefined;
3116
- description?: string | undefined;
3117
- redirectUrl?: string | undefined;
3118
3118
  }, {
3119
- name: string;
3120
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3121
3119
  id: string;
3120
+ name: string;
3122
3121
  conditions: {
3123
3122
  value: string | number | boolean | string[];
3124
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3123
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3125
3124
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3126
3125
  caseInsensitive?: boolean | undefined;
3127
3126
  }[];
3127
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3128
3128
  message?: string | undefined;
3129
+ description?: string | undefined;
3130
+ priority?: number | undefined;
3131
+ redirectUrl?: string | undefined;
3132
+ enabled?: boolean | undefined;
3129
3133
  metadata?: {
3130
3134
  createdAt?: string | undefined;
3131
3135
  updatedAt?: string | undefined;
3132
3136
  createdBy?: string | undefined;
3133
3137
  } | undefined;
3134
- description?: string | undefined;
3135
- priority?: number | undefined;
3136
- redirectUrl?: string | undefined;
3137
- enabled?: boolean | undefined;
3138
3138
  }>, "many">>;
3139
3139
  /** Paths to exclude from policy enforcement (glob patterns supported) */
3140
3140
  excludedPaths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -3155,8 +3155,8 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3155
3155
  policyId?: string | undefined;
3156
3156
  }>>;
3157
3157
  }, "strip", z.ZodTypeAny, {
3158
- version: string;
3159
3158
  enabled: boolean;
3159
+ version: string;
3160
3160
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
3161
3161
  thresholds: {
3162
3162
  confidenceThreshold: number;
@@ -3168,62 +3168,62 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3168
3168
  };
3169
3169
  denyList: {
3170
3170
  active: boolean;
3171
- agentDid?: string | undefined;
3172
3171
  clientDid?: string | undefined;
3173
- expiresAt?: string | undefined;
3174
- reason?: string | undefined;
3172
+ agentDid?: string | undefined;
3175
3173
  clientName?: string | undefined;
3176
3174
  agentType?: string | undefined;
3175
+ reason?: string | undefined;
3177
3176
  blockedAt?: string | undefined;
3178
3177
  addedBy?: string | undefined;
3178
+ expiresAt?: string | undefined;
3179
3179
  }[];
3180
3180
  allowList: {
3181
- agentDid?: string | undefined;
3182
3181
  clientDid?: string | undefined;
3183
- reason?: string | undefined;
3182
+ agentDid?: string | undefined;
3184
3183
  clientName?: string | undefined;
3185
3184
  agentType?: string | undefined;
3185
+ reason?: string | undefined;
3186
3186
  addedBy?: string | undefined;
3187
3187
  addedAt?: string | undefined;
3188
3188
  }[];
3189
3189
  rules: {
3190
- name: string;
3191
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3192
3190
  id: string;
3191
+ name: string;
3193
3192
  priority: number;
3194
3193
  conditions: {
3195
3194
  value: string | number | boolean | string[];
3196
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3195
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3197
3196
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3198
3197
  caseInsensitive?: boolean | undefined;
3199
3198
  }[];
3199
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3200
3200
  enabled: boolean;
3201
3201
  message?: string | undefined;
3202
+ description?: string | undefined;
3203
+ redirectUrl?: string | undefined;
3202
3204
  metadata?: {
3203
3205
  createdAt?: string | undefined;
3204
3206
  updatedAt?: string | undefined;
3205
3207
  createdBy?: string | undefined;
3206
3208
  } | undefined;
3207
- description?: string | undefined;
3208
- redirectUrl?: string | undefined;
3209
3209
  }[];
3210
3210
  excludedPaths: string[];
3211
+ redirectUrl?: string | undefined;
3211
3212
  metadata?: {
3212
3213
  lastUpdated?: string | undefined;
3213
3214
  updatedBy?: string | undefined;
3214
3215
  policyId?: string | undefined;
3215
3216
  } | undefined;
3216
- redirectUrl?: string | undefined;
3217
3217
  includedPaths?: string[] | undefined;
3218
3218
  }, {
3219
+ redirectUrl?: string | undefined;
3220
+ enabled?: boolean | undefined;
3219
3221
  metadata?: {
3220
3222
  lastUpdated?: string | undefined;
3221
3223
  updatedBy?: string | undefined;
3222
3224
  policyId?: string | undefined;
3223
3225
  } | undefined;
3224
3226
  version?: string | undefined;
3225
- redirectUrl?: string | undefined;
3226
- enabled?: boolean | undefined;
3227
3227
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3228
3228
  thresholds?: {
3229
3229
  confidenceThreshold?: number | undefined;
@@ -3234,51 +3234,51 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3234
3234
  trustSignedRequests?: boolean | undefined;
3235
3235
  } | undefined;
3236
3236
  denyList?: {
3237
- agentDid?: string | undefined;
3238
3237
  clientDid?: string | undefined;
3239
- expiresAt?: string | undefined;
3240
- reason?: string | undefined;
3241
- active?: boolean | undefined;
3238
+ agentDid?: string | undefined;
3242
3239
  clientName?: string | undefined;
3243
3240
  agentType?: string | undefined;
3241
+ reason?: string | undefined;
3244
3242
  blockedAt?: string | undefined;
3245
3243
  addedBy?: string | undefined;
3244
+ active?: boolean | undefined;
3245
+ expiresAt?: string | undefined;
3246
3246
  }[] | undefined;
3247
3247
  allowList?: {
3248
- agentDid?: string | undefined;
3249
3248
  clientDid?: string | undefined;
3250
- reason?: string | undefined;
3249
+ agentDid?: string | undefined;
3251
3250
  clientName?: string | undefined;
3252
3251
  agentType?: string | undefined;
3252
+ reason?: string | undefined;
3253
3253
  addedBy?: string | undefined;
3254
3254
  addedAt?: string | undefined;
3255
3255
  }[] | undefined;
3256
3256
  rules?: {
3257
- name: string;
3258
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3259
3257
  id: string;
3258
+ name: string;
3260
3259
  conditions: {
3261
3260
  value: string | number | boolean | string[];
3262
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3261
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3263
3262
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3264
3263
  caseInsensitive?: boolean | undefined;
3265
3264
  }[];
3265
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3266
3266
  message?: string | undefined;
3267
+ description?: string | undefined;
3268
+ priority?: number | undefined;
3269
+ redirectUrl?: string | undefined;
3270
+ enabled?: boolean | undefined;
3267
3271
  metadata?: {
3268
3272
  createdAt?: string | undefined;
3269
3273
  updatedAt?: string | undefined;
3270
3274
  createdBy?: string | undefined;
3271
3275
  } | undefined;
3272
- description?: string | undefined;
3273
- priority?: number | undefined;
3274
- redirectUrl?: string | undefined;
3275
- enabled?: boolean | undefined;
3276
3276
  }[] | undefined;
3277
3277
  excludedPaths?: string[] | undefined;
3278
3278
  includedPaths?: string[] | undefined;
3279
3279
  }>, {
3280
- version: string;
3281
3280
  enabled: boolean;
3281
+ version: string;
3282
3282
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
3283
3283
  thresholds: {
3284
3284
  confidenceThreshold: number;
@@ -3290,62 +3290,62 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3290
3290
  };
3291
3291
  denyList: {
3292
3292
  active: boolean;
3293
- agentDid?: string | undefined;
3294
3293
  clientDid?: string | undefined;
3295
- expiresAt?: string | undefined;
3296
- reason?: string | undefined;
3294
+ agentDid?: string | undefined;
3297
3295
  clientName?: string | undefined;
3298
3296
  agentType?: string | undefined;
3297
+ reason?: string | undefined;
3299
3298
  blockedAt?: string | undefined;
3300
3299
  addedBy?: string | undefined;
3300
+ expiresAt?: string | undefined;
3301
3301
  }[];
3302
3302
  allowList: {
3303
- agentDid?: string | undefined;
3304
3303
  clientDid?: string | undefined;
3305
- reason?: string | undefined;
3304
+ agentDid?: string | undefined;
3306
3305
  clientName?: string | undefined;
3307
3306
  agentType?: string | undefined;
3307
+ reason?: string | undefined;
3308
3308
  addedBy?: string | undefined;
3309
3309
  addedAt?: string | undefined;
3310
3310
  }[];
3311
3311
  rules: {
3312
- name: string;
3313
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3314
3312
  id: string;
3313
+ name: string;
3315
3314
  priority: number;
3316
3315
  conditions: {
3317
3316
  value: string | number | boolean | string[];
3318
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3317
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3319
3318
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3320
3319
  caseInsensitive?: boolean | undefined;
3321
3320
  }[];
3321
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3322
3322
  enabled: boolean;
3323
3323
  message?: string | undefined;
3324
+ description?: string | undefined;
3325
+ redirectUrl?: string | undefined;
3324
3326
  metadata?: {
3325
3327
  createdAt?: string | undefined;
3326
3328
  updatedAt?: string | undefined;
3327
3329
  createdBy?: string | undefined;
3328
3330
  } | undefined;
3329
- description?: string | undefined;
3330
- redirectUrl?: string | undefined;
3331
3331
  }[];
3332
3332
  excludedPaths: string[];
3333
+ redirectUrl?: string | undefined;
3333
3334
  metadata?: {
3334
3335
  lastUpdated?: string | undefined;
3335
3336
  updatedBy?: string | undefined;
3336
3337
  policyId?: string | undefined;
3337
3338
  } | undefined;
3338
- redirectUrl?: string | undefined;
3339
3339
  includedPaths?: string[] | undefined;
3340
3340
  }, {
3341
+ redirectUrl?: string | undefined;
3342
+ enabled?: boolean | undefined;
3341
3343
  metadata?: {
3342
3344
  lastUpdated?: string | undefined;
3343
3345
  updatedBy?: string | undefined;
3344
3346
  policyId?: string | undefined;
3345
3347
  } | undefined;
3346
3348
  version?: string | undefined;
3347
- redirectUrl?: string | undefined;
3348
- enabled?: boolean | undefined;
3349
3349
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3350
3350
  thresholds?: {
3351
3351
  confidenceThreshold?: number | undefined;
@@ -3356,45 +3356,45 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3356
3356
  trustSignedRequests?: boolean | undefined;
3357
3357
  } | undefined;
3358
3358
  denyList?: {
3359
- agentDid?: string | undefined;
3360
3359
  clientDid?: string | undefined;
3361
- expiresAt?: string | undefined;
3362
- reason?: string | undefined;
3363
- active?: boolean | undefined;
3360
+ agentDid?: string | undefined;
3364
3361
  clientName?: string | undefined;
3365
3362
  agentType?: string | undefined;
3363
+ reason?: string | undefined;
3366
3364
  blockedAt?: string | undefined;
3367
3365
  addedBy?: string | undefined;
3366
+ active?: boolean | undefined;
3367
+ expiresAt?: string | undefined;
3368
3368
  }[] | undefined;
3369
3369
  allowList?: {
3370
- agentDid?: string | undefined;
3371
3370
  clientDid?: string | undefined;
3372
- reason?: string | undefined;
3371
+ agentDid?: string | undefined;
3373
3372
  clientName?: string | undefined;
3374
3373
  agentType?: string | undefined;
3374
+ reason?: string | undefined;
3375
3375
  addedBy?: string | undefined;
3376
3376
  addedAt?: string | undefined;
3377
3377
  }[] | undefined;
3378
3378
  rules?: {
3379
- name: string;
3380
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3381
3379
  id: string;
3380
+ name: string;
3382
3381
  conditions: {
3383
3382
  value: string | number | boolean | string[];
3384
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3383
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3385
3384
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3386
3385
  caseInsensitive?: boolean | undefined;
3387
3386
  }[];
3387
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3388
3388
  message?: string | undefined;
3389
+ description?: string | undefined;
3390
+ priority?: number | undefined;
3391
+ redirectUrl?: string | undefined;
3392
+ enabled?: boolean | undefined;
3389
3393
  metadata?: {
3390
3394
  createdAt?: string | undefined;
3391
3395
  updatedAt?: string | undefined;
3392
3396
  createdBy?: string | undefined;
3393
3397
  } | undefined;
3394
- description?: string | undefined;
3395
- priority?: number | undefined;
3396
- redirectUrl?: string | undefined;
3397
- enabled?: boolean | undefined;
3398
3398
  }[] | undefined;
3399
3399
  excludedPaths?: string[] | undefined;
3400
3400
  includedPaths?: string[] | undefined;
@@ -3402,8 +3402,8 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3402
3402
  changes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3403
3403
  }, "strip", z.ZodTypeAny, {
3404
3404
  policy: {
3405
- version: string;
3406
3405
  enabled: boolean;
3406
+ version: string;
3407
3407
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
3408
3408
  thresholds: {
3409
3409
  confidenceThreshold: number;
@@ -3415,65 +3415,65 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3415
3415
  };
3416
3416
  denyList: {
3417
3417
  active: boolean;
3418
- agentDid?: string | undefined;
3419
3418
  clientDid?: string | undefined;
3420
- expiresAt?: string | undefined;
3421
- reason?: string | undefined;
3419
+ agentDid?: string | undefined;
3422
3420
  clientName?: string | undefined;
3423
3421
  agentType?: string | undefined;
3422
+ reason?: string | undefined;
3424
3423
  blockedAt?: string | undefined;
3425
3424
  addedBy?: string | undefined;
3425
+ expiresAt?: string | undefined;
3426
3426
  }[];
3427
3427
  allowList: {
3428
- agentDid?: string | undefined;
3429
3428
  clientDid?: string | undefined;
3430
- reason?: string | undefined;
3429
+ agentDid?: string | undefined;
3431
3430
  clientName?: string | undefined;
3432
3431
  agentType?: string | undefined;
3432
+ reason?: string | undefined;
3433
3433
  addedBy?: string | undefined;
3434
3434
  addedAt?: string | undefined;
3435
3435
  }[];
3436
3436
  rules: {
3437
- name: string;
3438
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3439
3437
  id: string;
3438
+ name: string;
3440
3439
  priority: number;
3441
3440
  conditions: {
3442
3441
  value: string | number | boolean | string[];
3443
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3442
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3444
3443
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3445
3444
  caseInsensitive?: boolean | undefined;
3446
3445
  }[];
3446
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3447
3447
  enabled: boolean;
3448
3448
  message?: string | undefined;
3449
+ description?: string | undefined;
3450
+ redirectUrl?: string | undefined;
3449
3451
  metadata?: {
3450
3452
  createdAt?: string | undefined;
3451
3453
  updatedAt?: string | undefined;
3452
3454
  createdBy?: string | undefined;
3453
3455
  } | undefined;
3454
- description?: string | undefined;
3455
- redirectUrl?: string | undefined;
3456
3456
  }[];
3457
3457
  excludedPaths: string[];
3458
+ redirectUrl?: string | undefined;
3458
3459
  metadata?: {
3459
3460
  lastUpdated?: string | undefined;
3460
3461
  updatedBy?: string | undefined;
3461
3462
  policyId?: string | undefined;
3462
3463
  } | undefined;
3463
- redirectUrl?: string | undefined;
3464
3464
  includedPaths?: string[] | undefined;
3465
3465
  };
3466
3466
  changes?: string[] | undefined;
3467
3467
  }, {
3468
3468
  policy: {
3469
+ redirectUrl?: string | undefined;
3470
+ enabled?: boolean | undefined;
3469
3471
  metadata?: {
3470
3472
  lastUpdated?: string | undefined;
3471
3473
  updatedBy?: string | undefined;
3472
3474
  policyId?: string | undefined;
3473
3475
  } | undefined;
3474
3476
  version?: string | undefined;
3475
- redirectUrl?: string | undefined;
3476
- enabled?: boolean | undefined;
3477
3477
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3478
3478
  thresholds?: {
3479
3479
  confidenceThreshold?: number | undefined;
@@ -3484,45 +3484,45 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3484
3484
  trustSignedRequests?: boolean | undefined;
3485
3485
  } | undefined;
3486
3486
  denyList?: {
3487
- agentDid?: string | undefined;
3488
3487
  clientDid?: string | undefined;
3489
- expiresAt?: string | undefined;
3490
- reason?: string | undefined;
3491
- active?: boolean | undefined;
3488
+ agentDid?: string | undefined;
3492
3489
  clientName?: string | undefined;
3493
3490
  agentType?: string | undefined;
3491
+ reason?: string | undefined;
3494
3492
  blockedAt?: string | undefined;
3495
3493
  addedBy?: string | undefined;
3494
+ active?: boolean | undefined;
3495
+ expiresAt?: string | undefined;
3496
3496
  }[] | undefined;
3497
3497
  allowList?: {
3498
- agentDid?: string | undefined;
3499
3498
  clientDid?: string | undefined;
3500
- reason?: string | undefined;
3499
+ agentDid?: string | undefined;
3501
3500
  clientName?: string | undefined;
3502
3501
  agentType?: string | undefined;
3502
+ reason?: string | undefined;
3503
3503
  addedBy?: string | undefined;
3504
3504
  addedAt?: string | undefined;
3505
3505
  }[] | undefined;
3506
3506
  rules?: {
3507
- name: string;
3508
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3509
3507
  id: string;
3508
+ name: string;
3510
3509
  conditions: {
3511
3510
  value: string | number | boolean | string[];
3512
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3511
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3513
3512
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3514
3513
  caseInsensitive?: boolean | undefined;
3515
3514
  }[];
3515
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3516
3516
  message?: string | undefined;
3517
+ description?: string | undefined;
3518
+ priority?: number | undefined;
3519
+ redirectUrl?: string | undefined;
3520
+ enabled?: boolean | undefined;
3517
3521
  metadata?: {
3518
3522
  createdAt?: string | undefined;
3519
3523
  updatedAt?: string | undefined;
3520
3524
  createdBy?: string | undefined;
3521
3525
  } | undefined;
3522
- description?: string | undefined;
3523
- priority?: number | undefined;
3524
- redirectUrl?: string | undefined;
3525
- enabled?: boolean | undefined;
3526
3526
  }[] | undefined;
3527
3527
  excludedPaths?: string[] | undefined;
3528
3528
  includedPaths?: string[] | undefined;
@@ -3533,18 +3533,18 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3533
3533
  requestId: z.ZodOptional<z.ZodString>;
3534
3534
  timestamp: z.ZodOptional<z.ZodString>;
3535
3535
  }, "strip", z.ZodTypeAny, {
3536
- timestamp?: string | undefined;
3537
3536
  requestId?: string | undefined;
3538
- }, {
3539
3537
  timestamp?: string | undefined;
3538
+ }, {
3540
3539
  requestId?: string | undefined;
3540
+ timestamp?: string | undefined;
3541
3541
  }>>;
3542
3542
  }, "strip", z.ZodTypeAny, {
3543
3543
  success: boolean;
3544
3544
  data: {
3545
3545
  policy: {
3546
- version: string;
3547
3546
  enabled: boolean;
3547
+ version: string;
3548
3548
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
3549
3549
  thresholds: {
3550
3550
  confidenceThreshold: number;
@@ -3556,72 +3556,72 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3556
3556
  };
3557
3557
  denyList: {
3558
3558
  active: boolean;
3559
- agentDid?: string | undefined;
3560
3559
  clientDid?: string | undefined;
3561
- expiresAt?: string | undefined;
3562
- reason?: string | undefined;
3560
+ agentDid?: string | undefined;
3563
3561
  clientName?: string | undefined;
3564
3562
  agentType?: string | undefined;
3563
+ reason?: string | undefined;
3565
3564
  blockedAt?: string | undefined;
3566
3565
  addedBy?: string | undefined;
3566
+ expiresAt?: string | undefined;
3567
3567
  }[];
3568
3568
  allowList: {
3569
- agentDid?: string | undefined;
3570
3569
  clientDid?: string | undefined;
3571
- reason?: string | undefined;
3570
+ agentDid?: string | undefined;
3572
3571
  clientName?: string | undefined;
3573
3572
  agentType?: string | undefined;
3573
+ reason?: string | undefined;
3574
3574
  addedBy?: string | undefined;
3575
3575
  addedAt?: string | undefined;
3576
3576
  }[];
3577
3577
  rules: {
3578
- name: string;
3579
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3580
3578
  id: string;
3579
+ name: string;
3581
3580
  priority: number;
3582
3581
  conditions: {
3583
3582
  value: string | number | boolean | string[];
3584
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3583
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3585
3584
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3586
3585
  caseInsensitive?: boolean | undefined;
3587
3586
  }[];
3587
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3588
3588
  enabled: boolean;
3589
3589
  message?: string | undefined;
3590
+ description?: string | undefined;
3591
+ redirectUrl?: string | undefined;
3590
3592
  metadata?: {
3591
3593
  createdAt?: string | undefined;
3592
3594
  updatedAt?: string | undefined;
3593
3595
  createdBy?: string | undefined;
3594
3596
  } | undefined;
3595
- description?: string | undefined;
3596
- redirectUrl?: string | undefined;
3597
3597
  }[];
3598
3598
  excludedPaths: string[];
3599
+ redirectUrl?: string | undefined;
3599
3600
  metadata?: {
3600
3601
  lastUpdated?: string | undefined;
3601
3602
  updatedBy?: string | undefined;
3602
3603
  policyId?: string | undefined;
3603
3604
  } | undefined;
3604
- redirectUrl?: string | undefined;
3605
3605
  includedPaths?: string[] | undefined;
3606
3606
  };
3607
3607
  changes?: string[] | undefined;
3608
3608
  };
3609
3609
  metadata?: {
3610
- timestamp?: string | undefined;
3611
3610
  requestId?: string | undefined;
3611
+ timestamp?: string | undefined;
3612
3612
  } | undefined;
3613
3613
  }, {
3614
3614
  success: boolean;
3615
3615
  data: {
3616
3616
  policy: {
3617
+ redirectUrl?: string | undefined;
3618
+ enabled?: boolean | undefined;
3617
3619
  metadata?: {
3618
3620
  lastUpdated?: string | undefined;
3619
3621
  updatedBy?: string | undefined;
3620
3622
  policyId?: string | undefined;
3621
3623
  } | undefined;
3622
3624
  version?: string | undefined;
3623
- redirectUrl?: string | undefined;
3624
- enabled?: boolean | undefined;
3625
3625
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3626
3626
  thresholds?: {
3627
3627
  confidenceThreshold?: number | undefined;
@@ -3632,45 +3632,45 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3632
3632
  trustSignedRequests?: boolean | undefined;
3633
3633
  } | undefined;
3634
3634
  denyList?: {
3635
- agentDid?: string | undefined;
3636
3635
  clientDid?: string | undefined;
3637
- expiresAt?: string | undefined;
3638
- reason?: string | undefined;
3639
- active?: boolean | undefined;
3636
+ agentDid?: string | undefined;
3640
3637
  clientName?: string | undefined;
3641
3638
  agentType?: string | undefined;
3639
+ reason?: string | undefined;
3642
3640
  blockedAt?: string | undefined;
3643
3641
  addedBy?: string | undefined;
3642
+ active?: boolean | undefined;
3643
+ expiresAt?: string | undefined;
3644
3644
  }[] | undefined;
3645
3645
  allowList?: {
3646
- agentDid?: string | undefined;
3647
3646
  clientDid?: string | undefined;
3648
- reason?: string | undefined;
3647
+ agentDid?: string | undefined;
3649
3648
  clientName?: string | undefined;
3650
3649
  agentType?: string | undefined;
3650
+ reason?: string | undefined;
3651
3651
  addedBy?: string | undefined;
3652
3652
  addedAt?: string | undefined;
3653
3653
  }[] | undefined;
3654
3654
  rules?: {
3655
- name: string;
3656
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3657
3655
  id: string;
3656
+ name: string;
3658
3657
  conditions: {
3659
3658
  value: string | number | boolean | string[];
3660
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3659
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3661
3660
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3662
3661
  caseInsensitive?: boolean | undefined;
3663
3662
  }[];
3663
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3664
3664
  message?: string | undefined;
3665
+ description?: string | undefined;
3666
+ priority?: number | undefined;
3667
+ redirectUrl?: string | undefined;
3668
+ enabled?: boolean | undefined;
3665
3669
  metadata?: {
3666
3670
  createdAt?: string | undefined;
3667
3671
  updatedAt?: string | undefined;
3668
3672
  createdBy?: string | undefined;
3669
3673
  } | undefined;
3670
- description?: string | undefined;
3671
- priority?: number | undefined;
3672
- redirectUrl?: string | undefined;
3673
- enabled?: boolean | undefined;
3674
3674
  }[] | undefined;
3675
3675
  excludedPaths?: string[] | undefined;
3676
3676
  includedPaths?: string[] | undefined;
@@ -3678,8 +3678,8 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
3678
3678
  changes?: string[] | undefined;
3679
3679
  };
3680
3680
  metadata?: {
3681
- timestamp?: string | undefined;
3682
3681
  requestId?: string | undefined;
3682
+ timestamp?: string | undefined;
3683
3683
  } | undefined;
3684
3684
  }>;
3685
3685
  export type UpdatePolicyResponse = z.infer<typeof UpdatePolicyResponseSchema>;
@@ -3691,14 +3691,14 @@ 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
+ redirectUrl?: string | undefined;
3695
+ enabled?: boolean | undefined;
3694
3696
  metadata?: {
3695
3697
  lastUpdated?: string | undefined;
3696
3698
  updatedBy?: string | undefined;
3697
3699
  policyId?: string | undefined;
3698
3700
  } | undefined;
3699
3701
  version?: string | undefined;
3700
- redirectUrl?: string | undefined;
3701
- enabled?: boolean | undefined;
3702
3702
  defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
3703
3703
  thresholds?: {
3704
3704
  confidenceThreshold?: number | undefined;
@@ -3709,51 +3709,51 @@ export declare function safeParsePolicyConfig(data: unknown): z.SafeParseReturnT
3709
3709
  trustSignedRequests?: boolean | undefined;
3710
3710
  } | undefined;
3711
3711
  denyList?: {
3712
- agentDid?: string | undefined;
3713
3712
  clientDid?: string | undefined;
3714
- expiresAt?: string | undefined;
3715
- reason?: string | undefined;
3716
- active?: boolean | undefined;
3713
+ agentDid?: string | undefined;
3717
3714
  clientName?: string | undefined;
3718
3715
  agentType?: string | undefined;
3716
+ reason?: string | undefined;
3719
3717
  blockedAt?: string | undefined;
3720
3718
  addedBy?: string | undefined;
3719
+ active?: boolean | undefined;
3720
+ expiresAt?: string | undefined;
3721
3721
  }[] | undefined;
3722
3722
  allowList?: {
3723
- agentDid?: string | undefined;
3724
3723
  clientDid?: string | undefined;
3725
- reason?: string | undefined;
3724
+ agentDid?: string | undefined;
3726
3725
  clientName?: string | undefined;
3727
3726
  agentType?: string | undefined;
3727
+ reason?: string | undefined;
3728
3728
  addedBy?: string | undefined;
3729
3729
  addedAt?: string | undefined;
3730
3730
  }[] | undefined;
3731
3731
  rules?: {
3732
- name: string;
3733
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3734
3732
  id: string;
3733
+ name: string;
3735
3734
  conditions: {
3736
3735
  value: string | number | boolean | string[];
3737
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3736
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3738
3737
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3739
3738
  caseInsensitive?: boolean | undefined;
3740
3739
  }[];
3740
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3741
3741
  message?: string | undefined;
3742
+ description?: string | undefined;
3743
+ priority?: number | undefined;
3744
+ redirectUrl?: string | undefined;
3745
+ enabled?: boolean | undefined;
3742
3746
  metadata?: {
3743
3747
  createdAt?: string | undefined;
3744
3748
  updatedAt?: string | undefined;
3745
3749
  createdBy?: string | undefined;
3746
3750
  } | undefined;
3747
- description?: string | undefined;
3748
- priority?: number | undefined;
3749
- redirectUrl?: string | undefined;
3750
- enabled?: boolean | undefined;
3751
3751
  }[] | undefined;
3752
3752
  excludedPaths?: string[] | undefined;
3753
3753
  includedPaths?: string[] | undefined;
3754
3754
  }, {
3755
- version: string;
3756
3755
  enabled: boolean;
3756
+ version: string;
3757
3757
  defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
3758
3758
  thresholds: {
3759
3759
  confidenceThreshold: number;
@@ -3765,52 +3765,52 @@ export declare function safeParsePolicyConfig(data: unknown): z.SafeParseReturnT
3765
3765
  };
3766
3766
  denyList: {
3767
3767
  active: boolean;
3768
- agentDid?: string | undefined;
3769
3768
  clientDid?: string | undefined;
3770
- expiresAt?: string | undefined;
3771
- reason?: string | undefined;
3769
+ agentDid?: string | undefined;
3772
3770
  clientName?: string | undefined;
3773
3771
  agentType?: string | undefined;
3772
+ reason?: string | undefined;
3774
3773
  blockedAt?: string | undefined;
3775
3774
  addedBy?: string | undefined;
3775
+ expiresAt?: string | undefined;
3776
3776
  }[];
3777
3777
  allowList: {
3778
- agentDid?: string | undefined;
3779
3778
  clientDid?: string | undefined;
3780
- reason?: string | undefined;
3779
+ agentDid?: string | undefined;
3781
3780
  clientName?: string | undefined;
3782
3781
  agentType?: string | undefined;
3782
+ reason?: string | undefined;
3783
3783
  addedBy?: string | undefined;
3784
3784
  addedAt?: string | undefined;
3785
3785
  }[];
3786
3786
  rules: {
3787
- name: string;
3788
- action: "allow" | "block" | "redirect" | "challenge" | "log";
3789
3787
  id: string;
3788
+ name: string;
3790
3789
  priority: number;
3791
3790
  conditions: {
3792
3791
  value: string | number | boolean | string[];
3793
- field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3792
+ field: "path" | "clientDid" | "agentDid" | "agentType" | "agentName" | "agentVendor" | "confidence" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
3794
3793
  operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
3795
3794
  caseInsensitive?: boolean | undefined;
3796
3795
  }[];
3796
+ action: "allow" | "block" | "redirect" | "challenge" | "log";
3797
3797
  enabled: boolean;
3798
3798
  message?: string | undefined;
3799
+ description?: string | undefined;
3800
+ redirectUrl?: string | undefined;
3799
3801
  metadata?: {
3800
3802
  createdAt?: string | undefined;
3801
3803
  updatedAt?: string | undefined;
3802
3804
  createdBy?: string | undefined;
3803
3805
  } | undefined;
3804
- description?: string | undefined;
3805
- redirectUrl?: string | undefined;
3806
3806
  }[];
3807
3807
  excludedPaths: string[];
3808
+ redirectUrl?: string | undefined;
3808
3809
  metadata?: {
3809
3810
  lastUpdated?: string | undefined;
3810
3811
  updatedBy?: string | undefined;
3811
3812
  policyId?: string | undefined;
3812
3813
  } | undefined;
3813
- redirectUrl?: string | undefined;
3814
3814
  includedPaths?: string[] | undefined;
3815
3815
  }>;
3816
3816
  /**