@cat-factory/contracts 0.240.0 → 0.241.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/entities.d.ts +32 -0
  2. package/dist/entities.d.ts.map +1 -1
  3. package/dist/entities.js +10 -0
  4. package/dist/entities.js.map +1 -1
  5. package/dist/execution.d.ts +38 -0
  6. package/dist/execution.d.ts.map +1 -1
  7. package/dist/form-fields.d.ts +26 -0
  8. package/dist/form-fields.d.ts.map +1 -1
  9. package/dist/form-fields.js +21 -0
  10. package/dist/form-fields.js.map +1 -1
  11. package/dist/gate-approval.d.ts +66 -0
  12. package/dist/gate-approval.d.ts.map +1 -0
  13. package/dist/gate-approval.js +67 -0
  14. package/dist/gate-approval.js.map +1 -0
  15. package/dist/gate-config.d.ts +134 -0
  16. package/dist/gate-config.d.ts.map +1 -0
  17. package/dist/gate-config.js +134 -0
  18. package/dist/gate-config.js.map +1 -0
  19. package/dist/gate.d.ts +10 -0
  20. package/dist/gate.d.ts.map +1 -1
  21. package/dist/gate.js +11 -0
  22. package/dist/gate.js.map +1 -1
  23. package/dist/index.d.ts +2 -0
  24. package/dist/index.d.ts.map +1 -1
  25. package/dist/index.js +2 -0
  26. package/dist/index.js.map +1 -1
  27. package/dist/initiative-preset.d.ts +4 -0
  28. package/dist/initiative-preset.d.ts.map +1 -1
  29. package/dist/public-decisions.d.ts +57 -0
  30. package/dist/public-decisions.d.ts.map +1 -1
  31. package/dist/public-decisions.js +19 -0
  32. package/dist/public-decisions.js.map +1 -1
  33. package/dist/requests.d.ts +16 -0
  34. package/dist/requests.d.ts.map +1 -1
  35. package/dist/routes/agent-runs.d.ts +38 -0
  36. package/dist/routes/agent-runs.d.ts.map +1 -1
  37. package/dist/routes/bug-hunt.d.ts +38 -0
  38. package/dist/routes/bug-hunt.d.ts.map +1 -1
  39. package/dist/routes/execution.d.ts +152 -0
  40. package/dist/routes/execution.d.ts.map +1 -1
  41. package/dist/routes/human-review.d.ts +19 -0
  42. package/dist/routes/human-review.d.ts.map +1 -1
  43. package/dist/routes/human-test.d.ts +95 -0
  44. package/dist/routes/human-test.d.ts.map +1 -1
  45. package/dist/routes/pipelines.d.ts +64 -0
  46. package/dist/routes/pipelines.d.ts.map +1 -1
  47. package/dist/routes/public-decisions.d.ts +68 -0
  48. package/dist/routes/public-decisions.d.ts.map +1 -1
  49. package/dist/routes/visual-confirm.d.ts +57 -0
  50. package/dist/routes/visual-confirm.d.ts.map +1 -1
  51. package/dist/routes/workspaces.d.ts +112 -0
  52. package/dist/routes/workspaces.d.ts.map +1 -1
  53. package/dist/snapshot.d.ts +65 -0
  54. package/dist/snapshot.d.ts.map +1 -1
  55. package/dist/snapshot.js +11 -0
  56. package/dist/snapshot.js.map +1 -1
  57. package/dist/step-decisions.d.ts +27 -0
  58. package/dist/step-decisions.d.ts.map +1 -1
  59. package/dist/step-decisions.js +24 -2
  60. package/dist/step-decisions.js.map +1 -1
  61. package/dist/task-types.d.ts +4 -0
  62. package/dist/task-types.d.ts.map +1 -1
  63. package/package.json +1 -1
@@ -81,6 +81,7 @@ export declare const confirmHumanTestContract: {
81
81
  readonly branch: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
82
82
  }, undefined>, undefined>, undefined>;
83
83
  readonly lastVerdict: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").PicklistSchema<["pass", "pending", "fail"], undefined>, undefined>, undefined>;
84
+ readonly config: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").RecordSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>, import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>, undefined>, undefined>;
84
85
  readonly lastFailureSummary: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
85
86
  readonly failingChecks: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
86
87
  readonly name: import("valibot").StringSchema<undefined>;
@@ -354,6 +355,16 @@ export declare const confirmHumanTestContract: {
354
355
  readonly anchorId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
355
356
  readonly body: import("valibot").StringSchema<undefined>;
356
357
  }, undefined>, undefined>, undefined>;
358
+ readonly requiredApprovals: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
359
+ readonly approverPolicy: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
360
+ readonly roles: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
361
+ readonly userIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
362
+ }, undefined>, undefined>;
363
+ readonly approvals: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
364
+ readonly actorId: import("valibot").StringSchema<undefined>;
365
+ readonly actorLabel: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
366
+ readonly at: import("valibot").NumberSchema<undefined>;
367
+ }, undefined>, undefined>, undefined>;
357
368
  }, undefined>, undefined>, undefined>;
358
369
  readonly companion: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
359
370
  readonly threshold: import("valibot").NumberSchema<undefined>;
@@ -651,6 +662,14 @@ export declare const confirmHumanTestContract: {
651
662
  readonly modalities: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
652
663
  readonly mediaTypes: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").ToLowerCaseAction, import("valibot").MinLengthAction<string, 3, undefined>, import("valibot").MaxLengthAction<string, 128, undefined>, import("valibot").RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
653
664
  }, undefined>, undefined>;
665
+ readonly gateConfig: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
666
+ readonly approvers: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
667
+ readonly roles: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
668
+ readonly userIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
669
+ }, undefined>, undefined>;
670
+ readonly minApprovals: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 10, undefined>]>, undefined>;
671
+ readonly fields: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>, import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>, undefined>;
672
+ }, undefined>, undefined>;
654
673
  }, undefined>, undefined>, undefined>;
655
674
  readonly skipped: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
656
675
  readonly noBusinessSpecs: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
@@ -1144,6 +1163,7 @@ export declare const requestHumanTestFixContract: {
1144
1163
  readonly branch: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
1145
1164
  }, undefined>, undefined>, undefined>;
1146
1165
  readonly lastVerdict: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").PicklistSchema<["pass", "pending", "fail"], undefined>, undefined>, undefined>;
1166
+ readonly config: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").RecordSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>, import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>, undefined>, undefined>;
1147
1167
  readonly lastFailureSummary: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
1148
1168
  readonly failingChecks: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
1149
1169
  readonly name: import("valibot").StringSchema<undefined>;
@@ -1417,6 +1437,16 @@ export declare const requestHumanTestFixContract: {
1417
1437
  readonly anchorId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
1418
1438
  readonly body: import("valibot").StringSchema<undefined>;
1419
1439
  }, undefined>, undefined>, undefined>;
1440
+ readonly requiredApprovals: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
1441
+ readonly approverPolicy: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
1442
+ readonly roles: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
1443
+ readonly userIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
1444
+ }, undefined>, undefined>;
1445
+ readonly approvals: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
1446
+ readonly actorId: import("valibot").StringSchema<undefined>;
1447
+ readonly actorLabel: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
1448
+ readonly at: import("valibot").NumberSchema<undefined>;
1449
+ }, undefined>, undefined>, undefined>;
1420
1450
  }, undefined>, undefined>, undefined>;
1421
1451
  readonly companion: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
1422
1452
  readonly threshold: import("valibot").NumberSchema<undefined>;
@@ -1714,6 +1744,14 @@ export declare const requestHumanTestFixContract: {
1714
1744
  readonly modalities: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
1715
1745
  readonly mediaTypes: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").ToLowerCaseAction, import("valibot").MinLengthAction<string, 3, undefined>, import("valibot").MaxLengthAction<string, 128, undefined>, import("valibot").RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
1716
1746
  }, undefined>, undefined>;
1747
+ readonly gateConfig: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
1748
+ readonly approvers: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
1749
+ readonly roles: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
1750
+ readonly userIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
1751
+ }, undefined>, undefined>;
1752
+ readonly minApprovals: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 10, undefined>]>, undefined>;
1753
+ readonly fields: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>, import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>, undefined>;
1754
+ }, undefined>, undefined>;
1717
1755
  }, undefined>, undefined>, undefined>;
1718
1756
  readonly skipped: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
1719
1757
  readonly noBusinessSpecs: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
@@ -2205,6 +2243,7 @@ export declare const pullMainHumanTestContract: {
2205
2243
  readonly branch: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
2206
2244
  }, undefined>, undefined>, undefined>;
2207
2245
  readonly lastVerdict: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").PicklistSchema<["pass", "pending", "fail"], undefined>, undefined>, undefined>;
2246
+ readonly config: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").RecordSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>, import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>, undefined>, undefined>;
2208
2247
  readonly lastFailureSummary: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
2209
2248
  readonly failingChecks: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
2210
2249
  readonly name: import("valibot").StringSchema<undefined>;
@@ -2478,6 +2517,16 @@ export declare const pullMainHumanTestContract: {
2478
2517
  readonly anchorId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
2479
2518
  readonly body: import("valibot").StringSchema<undefined>;
2480
2519
  }, undefined>, undefined>, undefined>;
2520
+ readonly requiredApprovals: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
2521
+ readonly approverPolicy: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
2522
+ readonly roles: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
2523
+ readonly userIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
2524
+ }, undefined>, undefined>;
2525
+ readonly approvals: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
2526
+ readonly actorId: import("valibot").StringSchema<undefined>;
2527
+ readonly actorLabel: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
2528
+ readonly at: import("valibot").NumberSchema<undefined>;
2529
+ }, undefined>, undefined>, undefined>;
2481
2530
  }, undefined>, undefined>, undefined>;
2482
2531
  readonly companion: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
2483
2532
  readonly threshold: import("valibot").NumberSchema<undefined>;
@@ -2775,6 +2824,14 @@ export declare const pullMainHumanTestContract: {
2775
2824
  readonly modalities: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
2776
2825
  readonly mediaTypes: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").ToLowerCaseAction, import("valibot").MinLengthAction<string, 3, undefined>, import("valibot").MaxLengthAction<string, 128, undefined>, import("valibot").RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
2777
2826
  }, undefined>, undefined>;
2827
+ readonly gateConfig: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
2828
+ readonly approvers: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
2829
+ readonly roles: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
2830
+ readonly userIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
2831
+ }, undefined>, undefined>;
2832
+ readonly minApprovals: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 10, undefined>]>, undefined>;
2833
+ readonly fields: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>, import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>, undefined>;
2834
+ }, undefined>, undefined>;
2778
2835
  }, undefined>, undefined>, undefined>;
2779
2836
  readonly skipped: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
2780
2837
  readonly noBusinessSpecs: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
@@ -3266,6 +3323,7 @@ export declare const recreateHumanTestEnvContract: {
3266
3323
  readonly branch: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
3267
3324
  }, undefined>, undefined>, undefined>;
3268
3325
  readonly lastVerdict: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").PicklistSchema<["pass", "pending", "fail"], undefined>, undefined>, undefined>;
3326
+ readonly config: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").RecordSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>, import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>, undefined>, undefined>;
3269
3327
  readonly lastFailureSummary: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
3270
3328
  readonly failingChecks: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
3271
3329
  readonly name: import("valibot").StringSchema<undefined>;
@@ -3539,6 +3597,16 @@ export declare const recreateHumanTestEnvContract: {
3539
3597
  readonly anchorId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
3540
3598
  readonly body: import("valibot").StringSchema<undefined>;
3541
3599
  }, undefined>, undefined>, undefined>;
3600
+ readonly requiredApprovals: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
3601
+ readonly approverPolicy: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
3602
+ readonly roles: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
3603
+ readonly userIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
3604
+ }, undefined>, undefined>;
3605
+ readonly approvals: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
3606
+ readonly actorId: import("valibot").StringSchema<undefined>;
3607
+ readonly actorLabel: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
3608
+ readonly at: import("valibot").NumberSchema<undefined>;
3609
+ }, undefined>, undefined>, undefined>;
3542
3610
  }, undefined>, undefined>, undefined>;
3543
3611
  readonly companion: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
3544
3612
  readonly threshold: import("valibot").NumberSchema<undefined>;
@@ -3836,6 +3904,14 @@ export declare const recreateHumanTestEnvContract: {
3836
3904
  readonly modalities: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
3837
3905
  readonly mediaTypes: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").ToLowerCaseAction, import("valibot").MinLengthAction<string, 3, undefined>, import("valibot").MaxLengthAction<string, 128, undefined>, import("valibot").RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
3838
3906
  }, undefined>, undefined>;
3907
+ readonly gateConfig: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
3908
+ readonly approvers: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
3909
+ readonly roles: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
3910
+ readonly userIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
3911
+ }, undefined>, undefined>;
3912
+ readonly minApprovals: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 10, undefined>]>, undefined>;
3913
+ readonly fields: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>, import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>, undefined>;
3914
+ }, undefined>, undefined>;
3839
3915
  }, undefined>, undefined>, undefined>;
3840
3916
  readonly skipped: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
3841
3917
  readonly noBusinessSpecs: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
@@ -4327,6 +4403,7 @@ export declare const destroyHumanTestEnvContract: {
4327
4403
  readonly branch: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
4328
4404
  }, undefined>, undefined>, undefined>;
4329
4405
  readonly lastVerdict: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").PicklistSchema<["pass", "pending", "fail"], undefined>, undefined>, undefined>;
4406
+ readonly config: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").RecordSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>, import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>, undefined>, undefined>;
4330
4407
  readonly lastFailureSummary: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
4331
4408
  readonly failingChecks: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
4332
4409
  readonly name: import("valibot").StringSchema<undefined>;
@@ -4600,6 +4677,16 @@ export declare const destroyHumanTestEnvContract: {
4600
4677
  readonly anchorId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
4601
4678
  readonly body: import("valibot").StringSchema<undefined>;
4602
4679
  }, undefined>, undefined>, undefined>;
4680
+ readonly requiredApprovals: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
4681
+ readonly approverPolicy: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
4682
+ readonly roles: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
4683
+ readonly userIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
4684
+ }, undefined>, undefined>;
4685
+ readonly approvals: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
4686
+ readonly actorId: import("valibot").StringSchema<undefined>;
4687
+ readonly actorLabel: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
4688
+ readonly at: import("valibot").NumberSchema<undefined>;
4689
+ }, undefined>, undefined>, undefined>;
4603
4690
  }, undefined>, undefined>, undefined>;
4604
4691
  readonly companion: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
4605
4692
  readonly threshold: import("valibot").NumberSchema<undefined>;
@@ -4897,6 +4984,14 @@ export declare const destroyHumanTestEnvContract: {
4897
4984
  readonly modalities: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
4898
4985
  readonly mediaTypes: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").ToLowerCaseAction, import("valibot").MinLengthAction<string, 3, undefined>, import("valibot").MaxLengthAction<string, 128, undefined>, import("valibot").RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
4899
4986
  }, undefined>, undefined>;
4987
+ readonly gateConfig: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
4988
+ readonly approvers: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
4989
+ readonly roles: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
4990
+ readonly userIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
4991
+ }, undefined>, undefined>;
4992
+ readonly minApprovals: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 10, undefined>]>, undefined>;
4993
+ readonly fields: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>, import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>, undefined>;
4994
+ }, undefined>, undefined>;
4900
4995
  }, undefined>, undefined>, undefined>;
4901
4996
  readonly skipped: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
4902
4997
  readonly noBusinessSpecs: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"human-test.d.ts","sourceRoot":"","sources":["../../src/routes/human-test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAc3E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA"}
@@ -88,6 +88,14 @@ export declare const listPipelinesContract: {
88
88
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
89
89
  readonly mediaTypes: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToLowerCaseAction, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
90
90
  }, undefined>, undefined>;
91
+ readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
92
+ readonly approvers: v.OptionalSchema<v.ObjectSchema<{
93
+ readonly roles: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
94
+ readonly userIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
95
+ }, undefined>, undefined>;
96
+ readonly minApprovals: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
97
+ readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
98
+ }, undefined>, undefined>;
91
99
  }, undefined>, undefined>, undefined>, undefined>;
92
100
  readonly labels: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
93
101
  readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -163,6 +171,14 @@ export declare const createPipelineContract: {
163
171
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
164
172
  readonly mediaTypes: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToLowerCaseAction, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
165
173
  }, undefined>, undefined>;
174
+ readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
175
+ readonly approvers: v.OptionalSchema<v.ObjectSchema<{
176
+ readonly roles: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
177
+ readonly userIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
178
+ }, undefined>, undefined>;
179
+ readonly minApprovals: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
180
+ readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
181
+ }, undefined>, undefined>;
166
182
  }, undefined>, undefined>, undefined>, undefined>;
167
183
  readonly labels: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>, undefined>, undefined>;
168
184
  readonly availability: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"one-off", undefined>, v.LiteralSchema<"recurring", undefined>, v.LiteralSchema<"both", undefined>], undefined>, undefined>;
@@ -253,6 +269,14 @@ export declare const createPipelineContract: {
253
269
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
254
270
  readonly mediaTypes: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToLowerCaseAction, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
255
271
  }, undefined>, undefined>;
272
+ readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
273
+ readonly approvers: v.OptionalSchema<v.ObjectSchema<{
274
+ readonly roles: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
275
+ readonly userIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
276
+ }, undefined>, undefined>;
277
+ readonly minApprovals: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
278
+ readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
279
+ }, undefined>, undefined>;
256
280
  }, undefined>, undefined>, undefined>, undefined>;
257
281
  readonly labels: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
258
282
  readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -360,6 +384,14 @@ export declare const clonePipelineContract: {
360
384
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
361
385
  readonly mediaTypes: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToLowerCaseAction, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
362
386
  }, undefined>, undefined>;
387
+ readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
388
+ readonly approvers: v.OptionalSchema<v.ObjectSchema<{
389
+ readonly roles: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
390
+ readonly userIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
391
+ }, undefined>, undefined>;
392
+ readonly minApprovals: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
393
+ readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
394
+ }, undefined>, undefined>;
363
395
  }, undefined>, undefined>, undefined>, undefined>;
364
396
  readonly labels: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
365
397
  readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -465,6 +497,14 @@ export declare const reseedPipelineContract: {
465
497
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
466
498
  readonly mediaTypes: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToLowerCaseAction, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
467
499
  }, undefined>, undefined>;
500
+ readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
501
+ readonly approvers: v.OptionalSchema<v.ObjectSchema<{
502
+ readonly roles: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
503
+ readonly userIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
504
+ }, undefined>, undefined>;
505
+ readonly minApprovals: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
506
+ readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
507
+ }, undefined>, undefined>;
468
508
  }, undefined>, undefined>, undefined>, undefined>;
469
509
  readonly labels: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
470
510
  readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -545,6 +585,14 @@ export declare const updatePipelineContract: {
545
585
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
546
586
  readonly mediaTypes: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToLowerCaseAction, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
547
587
  }, undefined>, undefined>;
588
+ readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
589
+ readonly approvers: v.OptionalSchema<v.ObjectSchema<{
590
+ readonly roles: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
591
+ readonly userIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
592
+ }, undefined>, undefined>;
593
+ readonly minApprovals: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
594
+ readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
595
+ }, undefined>, undefined>;
548
596
  }, undefined>, undefined>, undefined>, undefined>;
549
597
  readonly labels: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>, undefined>, undefined>;
550
598
  readonly availability: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"one-off", undefined>, v.LiteralSchema<"recurring", undefined>, v.LiteralSchema<"both", undefined>], undefined>, undefined>;
@@ -635,6 +683,14 @@ export declare const updatePipelineContract: {
635
683
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
636
684
  readonly mediaTypes: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToLowerCaseAction, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
637
685
  }, undefined>, undefined>;
686
+ readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
687
+ readonly approvers: v.OptionalSchema<v.ObjectSchema<{
688
+ readonly roles: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
689
+ readonly userIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
690
+ }, undefined>, undefined>;
691
+ readonly minApprovals: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
692
+ readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
693
+ }, undefined>, undefined>;
638
694
  }, undefined>, undefined>, undefined>, undefined>;
639
695
  readonly labels: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
640
696
  readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -743,6 +799,14 @@ export declare const organizePipelineContract: {
743
799
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
744
800
  readonly mediaTypes: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToLowerCaseAction, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
745
801
  }, undefined>, undefined>;
802
+ readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
803
+ readonly approvers: v.OptionalSchema<v.ObjectSchema<{
804
+ readonly roles: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
805
+ readonly userIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
806
+ }, undefined>, undefined>;
807
+ readonly minApprovals: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
808
+ readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
809
+ }, undefined>, undefined>;
746
810
  }, undefined>, undefined>, undefined>, undefined>;
747
811
  readonly labels: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
748
812
  readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmB5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;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