@peac/schema 0.10.0 → 0.10.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/agent-identity.d.ts +12 -12
- package/dist/attribution.d.ts +54 -54
- package/dist/constants.d.ts +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/dispute.d.ts +22 -22
- package/dist/errors.d.ts +25 -8
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +50 -13
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +31 -1
- package/dist/index.js.map +1 -1
- package/dist/obligations.d.ts +10 -10
- package/dist/validators.d.ts +12 -12
- package/dist/workflow.d.ts +655 -0
- package/dist/workflow.d.ts.map +1 -0
- package/dist/workflow.js +523 -0
- package/dist/workflow.js.map +1 -0
- package/package.json +2 -2
package/dist/validators.d.ts
CHANGED
|
@@ -210,7 +210,7 @@ export declare const ReceiptClaimsSchema: z.ZodObject<{
|
|
|
210
210
|
}>>;
|
|
211
211
|
}, z.ZodUnknown, "strip"> | undefined;
|
|
212
212
|
purpose_declared?: string[] | undefined;
|
|
213
|
-
purpose_enforced?: "inference" | "
|
|
213
|
+
purpose_enforced?: "inference" | "index" | "train" | "user_action" | "search" | undefined;
|
|
214
214
|
purpose_reason?: "allowed" | "constrained" | "denied" | "downgraded" | "undeclared_default" | "unknown_preserved" | undefined;
|
|
215
215
|
}, {
|
|
216
216
|
iss: string;
|
|
@@ -246,7 +246,7 @@ export declare const ReceiptClaimsSchema: z.ZodObject<{
|
|
|
246
246
|
}>>;
|
|
247
247
|
}, z.ZodUnknown, "strip"> | undefined;
|
|
248
248
|
purpose_declared?: string[] | undefined;
|
|
249
|
-
purpose_enforced?: "inference" | "
|
|
249
|
+
purpose_enforced?: "inference" | "index" | "train" | "user_action" | "search" | undefined;
|
|
250
250
|
purpose_reason?: "allowed" | "constrained" | "denied" | "downgraded" | "undeclared_default" | "unknown_preserved" | undefined;
|
|
251
251
|
}>;
|
|
252
252
|
/**
|
|
@@ -373,7 +373,7 @@ export declare const ReceiptClaims: z.ZodObject<{
|
|
|
373
373
|
}>>;
|
|
374
374
|
}, z.ZodUnknown, "strip"> | undefined;
|
|
375
375
|
purpose_declared?: string[] | undefined;
|
|
376
|
-
purpose_enforced?: "inference" | "
|
|
376
|
+
purpose_enforced?: "inference" | "index" | "train" | "user_action" | "search" | undefined;
|
|
377
377
|
purpose_reason?: "allowed" | "constrained" | "denied" | "downgraded" | "undeclared_default" | "unknown_preserved" | undefined;
|
|
378
378
|
}, {
|
|
379
379
|
iss: string;
|
|
@@ -409,7 +409,7 @@ export declare const ReceiptClaims: z.ZodObject<{
|
|
|
409
409
|
}>>;
|
|
410
410
|
}, z.ZodUnknown, "strip"> | undefined;
|
|
411
411
|
purpose_declared?: string[] | undefined;
|
|
412
|
-
purpose_enforced?: "inference" | "
|
|
412
|
+
purpose_enforced?: "inference" | "index" | "train" | "user_action" | "search" | undefined;
|
|
413
413
|
purpose_reason?: "allowed" | "constrained" | "denied" | "downgraded" | "undeclared_default" | "unknown_preserved" | undefined;
|
|
414
414
|
}>;
|
|
415
415
|
export declare const VerifyRequest: z.ZodObject<{
|
|
@@ -458,7 +458,7 @@ export declare const ControlStepSchema: z.ZodObject<{
|
|
|
458
458
|
version?: string | undefined;
|
|
459
459
|
policy_id?: string | undefined;
|
|
460
460
|
reason?: string | undefined;
|
|
461
|
-
purpose?: "inference" | "
|
|
461
|
+
purpose?: "inference" | "crawl" | "index" | "train" | "user_action" | "ai_input" | "ai_index" | "search" | undefined;
|
|
462
462
|
licensing_mode?: "subscription" | "pay_per_crawl" | "pay_per_inference" | undefined;
|
|
463
463
|
scope?: string | string[] | undefined;
|
|
464
464
|
limits_snapshot?: unknown;
|
|
@@ -469,7 +469,7 @@ export declare const ControlStepSchema: z.ZodObject<{
|
|
|
469
469
|
version?: string | undefined;
|
|
470
470
|
policy_id?: string | undefined;
|
|
471
471
|
reason?: string | undefined;
|
|
472
|
-
purpose?: "inference" | "
|
|
472
|
+
purpose?: "inference" | "crawl" | "index" | "train" | "user_action" | "ai_input" | "ai_index" | "search" | undefined;
|
|
473
473
|
licensing_mode?: "subscription" | "pay_per_crawl" | "pay_per_inference" | undefined;
|
|
474
474
|
scope?: string | string[] | undefined;
|
|
475
475
|
limits_snapshot?: unknown;
|
|
@@ -496,7 +496,7 @@ export declare const ControlBlockSchema: z.ZodEffects<z.ZodObject<{
|
|
|
496
496
|
version?: string | undefined;
|
|
497
497
|
policy_id?: string | undefined;
|
|
498
498
|
reason?: string | undefined;
|
|
499
|
-
purpose?: "inference" | "
|
|
499
|
+
purpose?: "inference" | "crawl" | "index" | "train" | "user_action" | "ai_input" | "ai_index" | "search" | undefined;
|
|
500
500
|
licensing_mode?: "subscription" | "pay_per_crawl" | "pay_per_inference" | undefined;
|
|
501
501
|
scope?: string | string[] | undefined;
|
|
502
502
|
limits_snapshot?: unknown;
|
|
@@ -507,7 +507,7 @@ export declare const ControlBlockSchema: z.ZodEffects<z.ZodObject<{
|
|
|
507
507
|
version?: string | undefined;
|
|
508
508
|
policy_id?: string | undefined;
|
|
509
509
|
reason?: string | undefined;
|
|
510
|
-
purpose?: "inference" | "
|
|
510
|
+
purpose?: "inference" | "crawl" | "index" | "train" | "user_action" | "ai_input" | "ai_index" | "search" | undefined;
|
|
511
511
|
licensing_mode?: "subscription" | "pay_per_crawl" | "pay_per_inference" | undefined;
|
|
512
512
|
scope?: string | string[] | undefined;
|
|
513
513
|
limits_snapshot?: unknown;
|
|
@@ -522,7 +522,7 @@ export declare const ControlBlockSchema: z.ZodEffects<z.ZodObject<{
|
|
|
522
522
|
version?: string | undefined;
|
|
523
523
|
policy_id?: string | undefined;
|
|
524
524
|
reason?: string | undefined;
|
|
525
|
-
purpose?: "inference" | "
|
|
525
|
+
purpose?: "inference" | "crawl" | "index" | "train" | "user_action" | "ai_input" | "ai_index" | "search" | undefined;
|
|
526
526
|
licensing_mode?: "subscription" | "pay_per_crawl" | "pay_per_inference" | undefined;
|
|
527
527
|
scope?: string | string[] | undefined;
|
|
528
528
|
limits_snapshot?: unknown;
|
|
@@ -537,7 +537,7 @@ export declare const ControlBlockSchema: z.ZodEffects<z.ZodObject<{
|
|
|
537
537
|
version?: string | undefined;
|
|
538
538
|
policy_id?: string | undefined;
|
|
539
539
|
reason?: string | undefined;
|
|
540
|
-
purpose?: "inference" | "
|
|
540
|
+
purpose?: "inference" | "crawl" | "index" | "train" | "user_action" | "ai_input" | "ai_index" | "search" | undefined;
|
|
541
541
|
licensing_mode?: "subscription" | "pay_per_crawl" | "pay_per_inference" | undefined;
|
|
542
542
|
scope?: string | string[] | undefined;
|
|
543
543
|
limits_snapshot?: unknown;
|
|
@@ -552,7 +552,7 @@ export declare const ControlBlockSchema: z.ZodEffects<z.ZodObject<{
|
|
|
552
552
|
version?: string | undefined;
|
|
553
553
|
policy_id?: string | undefined;
|
|
554
554
|
reason?: string | undefined;
|
|
555
|
-
purpose?: "inference" | "
|
|
555
|
+
purpose?: "inference" | "crawl" | "index" | "train" | "user_action" | "ai_input" | "ai_index" | "search" | undefined;
|
|
556
556
|
licensing_mode?: "subscription" | "pay_per_crawl" | "pay_per_inference" | undefined;
|
|
557
557
|
scope?: string | string[] | undefined;
|
|
558
558
|
limits_snapshot?: unknown;
|
|
@@ -567,7 +567,7 @@ export declare const ControlBlockSchema: z.ZodEffects<z.ZodObject<{
|
|
|
567
567
|
version?: string | undefined;
|
|
568
568
|
policy_id?: string | undefined;
|
|
569
569
|
reason?: string | undefined;
|
|
570
|
-
purpose?: "inference" | "
|
|
570
|
+
purpose?: "inference" | "crawl" | "index" | "train" | "user_action" | "ai_input" | "ai_index" | "search" | undefined;
|
|
571
571
|
licensing_mode?: "subscription" | "pay_per_crawl" | "pay_per_inference" | undefined;
|
|
572
572
|
scope?: string | string[] | undefined;
|
|
573
573
|
limits_snapshot?: unknown;
|