@kb-labs/rest-api-contracts 2.62.0 → 2.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +305 -61
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -82,13 +82,61 @@ declare const errorEnvelopeSchema: z.ZodObject<{
|
|
|
82
82
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
83
83
|
cause: z.ZodOptional<z.ZodUnknown>;
|
|
84
84
|
traceId: z.ZodOptional<z.ZodString>;
|
|
85
|
-
}, z.
|
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
|
86
|
+
code: string;
|
|
87
|
+
message: string;
|
|
88
|
+
details?: Record<string, unknown> | undefined;
|
|
89
|
+
cause?: unknown;
|
|
90
|
+
traceId?: string | undefined;
|
|
91
|
+
}, {
|
|
92
|
+
code: string;
|
|
93
|
+
message: string;
|
|
94
|
+
details?: Record<string, unknown> | undefined;
|
|
95
|
+
cause?: unknown;
|
|
96
|
+
traceId?: string | undefined;
|
|
97
|
+
}>;
|
|
86
98
|
meta: z.ZodObject<{
|
|
87
99
|
requestId: z.ZodString;
|
|
88
100
|
durationMs: z.ZodNumber;
|
|
89
101
|
apiVersion: z.ZodString;
|
|
90
|
-
}, z.
|
|
91
|
-
|
|
102
|
+
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
requestId: string;
|
|
104
|
+
durationMs: number;
|
|
105
|
+
apiVersion: string;
|
|
106
|
+
}, {
|
|
107
|
+
requestId: string;
|
|
108
|
+
durationMs: number;
|
|
109
|
+
apiVersion: string;
|
|
110
|
+
}>;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
112
|
+
ok: false;
|
|
113
|
+
error: {
|
|
114
|
+
code: string;
|
|
115
|
+
message: string;
|
|
116
|
+
details?: Record<string, unknown> | undefined;
|
|
117
|
+
cause?: unknown;
|
|
118
|
+
traceId?: string | undefined;
|
|
119
|
+
};
|
|
120
|
+
meta: {
|
|
121
|
+
requestId: string;
|
|
122
|
+
durationMs: number;
|
|
123
|
+
apiVersion: string;
|
|
124
|
+
};
|
|
125
|
+
}, {
|
|
126
|
+
ok: false;
|
|
127
|
+
error: {
|
|
128
|
+
code: string;
|
|
129
|
+
message: string;
|
|
130
|
+
details?: Record<string, unknown> | undefined;
|
|
131
|
+
cause?: unknown;
|
|
132
|
+
traceId?: string | undefined;
|
|
133
|
+
};
|
|
134
|
+
meta: {
|
|
135
|
+
requestId: string;
|
|
136
|
+
durationMs: number;
|
|
137
|
+
apiVersion: string;
|
|
138
|
+
};
|
|
139
|
+
}>;
|
|
92
140
|
/**
|
|
93
141
|
* Structured error produced by the plugin runtime.
|
|
94
142
|
*/
|
|
@@ -448,90 +496,234 @@ declare const ErrorResponseSchema: z.ZodObject<{
|
|
|
448
496
|
error: z.ZodObject<{
|
|
449
497
|
code: z.ZodString;
|
|
450
498
|
message: z.ZodString;
|
|
451
|
-
}, z.
|
|
452
|
-
|
|
499
|
+
}, "strip", z.ZodTypeAny, {
|
|
500
|
+
code: string;
|
|
501
|
+
message: string;
|
|
502
|
+
}, {
|
|
503
|
+
code: string;
|
|
504
|
+
message: string;
|
|
505
|
+
}>;
|
|
506
|
+
}, "strip", z.ZodTypeAny, {
|
|
507
|
+
ok: false;
|
|
508
|
+
error: {
|
|
509
|
+
code: string;
|
|
510
|
+
message: string;
|
|
511
|
+
};
|
|
512
|
+
message?: string | undefined;
|
|
513
|
+
}, {
|
|
514
|
+
ok: false;
|
|
515
|
+
error: {
|
|
516
|
+
code: string;
|
|
517
|
+
message: string;
|
|
518
|
+
};
|
|
519
|
+
message?: string | undefined;
|
|
520
|
+
}>;
|
|
453
521
|
declare const OkResponseSchema: z.ZodObject<{
|
|
454
522
|
ok: z.ZodLiteral<true>;
|
|
455
|
-
}, z.
|
|
523
|
+
}, "strip", z.ZodTypeAny, {
|
|
524
|
+
ok: true;
|
|
525
|
+
}, {
|
|
526
|
+
ok: true;
|
|
527
|
+
}>;
|
|
456
528
|
declare const ListJobsQuerySchema: z.ZodObject<{
|
|
457
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
529
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
530
|
+
}, "strip", z.ZodTypeAny, {
|
|
531
|
+
status?: "active" | "paused" | undefined;
|
|
532
|
+
}, {
|
|
533
|
+
status?: "active" | "paused" | undefined;
|
|
534
|
+
}>;
|
|
462
535
|
declare const JobSchema: z.ZodObject<{
|
|
463
536
|
id: z.ZodString;
|
|
464
537
|
name: z.ZodOptional<z.ZodString>;
|
|
465
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
538
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
539
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
540
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
541
|
+
id: z.ZodString;
|
|
542
|
+
name: z.ZodOptional<z.ZodString>;
|
|
543
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
544
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
545
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
546
|
+
id: z.ZodString;
|
|
547
|
+
name: z.ZodOptional<z.ZodString>;
|
|
548
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
469
549
|
schedule: z.ZodOptional<z.ZodString>;
|
|
470
|
-
}, z.
|
|
550
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
471
551
|
declare const JobsListResponseSchema: z.ZodObject<{
|
|
472
552
|
jobs: z.ZodArray<z.ZodObject<{
|
|
473
553
|
id: z.ZodString;
|
|
474
554
|
name: z.ZodOptional<z.ZodString>;
|
|
475
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
555
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
556
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
557
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
558
|
+
id: z.ZodString;
|
|
559
|
+
name: z.ZodOptional<z.ZodString>;
|
|
560
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
561
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
562
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
563
|
+
id: z.ZodString;
|
|
564
|
+
name: z.ZodOptional<z.ZodString>;
|
|
565
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
566
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
567
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
568
|
+
}, "strip", z.ZodTypeAny, {
|
|
569
|
+
jobs: z.objectOutputType<{
|
|
570
|
+
id: z.ZodString;
|
|
571
|
+
name: z.ZodOptional<z.ZodString>;
|
|
572
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
573
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
574
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
575
|
+
}, {
|
|
576
|
+
jobs: z.objectInputType<{
|
|
577
|
+
id: z.ZodString;
|
|
578
|
+
name: z.ZodOptional<z.ZodString>;
|
|
579
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
479
580
|
schedule: z.ZodOptional<z.ZodString>;
|
|
480
|
-
}, z.
|
|
481
|
-
}
|
|
581
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
582
|
+
}>;
|
|
482
583
|
declare const JobResponseSchema: z.ZodObject<{
|
|
483
584
|
job: z.ZodObject<{
|
|
484
585
|
id: z.ZodString;
|
|
485
586
|
name: z.ZodOptional<z.ZodString>;
|
|
486
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
487
|
-
active: "active";
|
|
488
|
-
paused: "paused";
|
|
489
|
-
}>>;
|
|
587
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
490
588
|
schedule: z.ZodOptional<z.ZodString>;
|
|
491
|
-
}, z.
|
|
492
|
-
|
|
589
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
590
|
+
id: z.ZodString;
|
|
591
|
+
name: z.ZodOptional<z.ZodString>;
|
|
592
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
593
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
594
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
595
|
+
id: z.ZodString;
|
|
596
|
+
name: z.ZodOptional<z.ZodString>;
|
|
597
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
598
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
599
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
600
|
+
}, "strip", z.ZodTypeAny, {
|
|
601
|
+
job: {
|
|
602
|
+
id: string;
|
|
603
|
+
status?: "active" | "paused" | undefined;
|
|
604
|
+
name?: string | undefined;
|
|
605
|
+
schedule?: string | undefined;
|
|
606
|
+
} & {
|
|
607
|
+
[k: string]: unknown;
|
|
608
|
+
};
|
|
609
|
+
}, {
|
|
610
|
+
job: {
|
|
611
|
+
id: string;
|
|
612
|
+
status?: "active" | "paused" | undefined;
|
|
613
|
+
name?: string | undefined;
|
|
614
|
+
schedule?: string | undefined;
|
|
615
|
+
} & {
|
|
616
|
+
[k: string]: unknown;
|
|
617
|
+
};
|
|
618
|
+
}>;
|
|
493
619
|
declare const JobStatsResponseSchema: z.ZodObject<{
|
|
494
620
|
stats: z.ZodObject<{
|
|
495
621
|
total: z.ZodNumber;
|
|
496
622
|
jobs: z.ZodArray<z.ZodObject<{
|
|
497
623
|
id: z.ZodString;
|
|
498
624
|
name: z.ZodOptional<z.ZodString>;
|
|
499
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
625
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
626
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
627
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
628
|
+
id: z.ZodString;
|
|
629
|
+
name: z.ZodOptional<z.ZodString>;
|
|
630
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
503
631
|
schedule: z.ZodOptional<z.ZodString>;
|
|
504
|
-
}, z.
|
|
505
|
-
|
|
506
|
-
|
|
632
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
633
|
+
id: z.ZodString;
|
|
634
|
+
name: z.ZodOptional<z.ZodString>;
|
|
635
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
636
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
637
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
638
|
+
}, "strip", z.ZodTypeAny, {
|
|
639
|
+
jobs: z.objectOutputType<{
|
|
640
|
+
id: z.ZodString;
|
|
641
|
+
name: z.ZodOptional<z.ZodString>;
|
|
642
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
643
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
644
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
645
|
+
total: number;
|
|
646
|
+
}, {
|
|
647
|
+
jobs: z.objectInputType<{
|
|
648
|
+
id: z.ZodString;
|
|
649
|
+
name: z.ZodOptional<z.ZodString>;
|
|
650
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
651
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
652
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
653
|
+
total: number;
|
|
654
|
+
}>;
|
|
655
|
+
}, "strip", z.ZodTypeAny, {
|
|
656
|
+
stats: {
|
|
657
|
+
jobs: z.objectOutputType<{
|
|
658
|
+
id: z.ZodString;
|
|
659
|
+
name: z.ZodOptional<z.ZodString>;
|
|
660
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
661
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
662
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
663
|
+
total: number;
|
|
664
|
+
};
|
|
665
|
+
}, {
|
|
666
|
+
stats: {
|
|
667
|
+
jobs: z.objectInputType<{
|
|
668
|
+
id: z.ZodString;
|
|
669
|
+
name: z.ZodOptional<z.ZodString>;
|
|
670
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
|
|
671
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
672
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
673
|
+
total: number;
|
|
674
|
+
};
|
|
675
|
+
}>;
|
|
507
676
|
declare const JobActionResponseSchema: z.ZodObject<{
|
|
508
677
|
success: z.ZodLiteral<true>;
|
|
509
678
|
message: z.ZodString;
|
|
510
|
-
}, z.
|
|
679
|
+
}, "strip", z.ZodTypeAny, {
|
|
680
|
+
message: string;
|
|
681
|
+
success: true;
|
|
682
|
+
}, {
|
|
683
|
+
message: string;
|
|
684
|
+
success: true;
|
|
685
|
+
}>;
|
|
511
686
|
declare const ListWorkflowsQuerySchema: z.ZodObject<{
|
|
512
|
-
source: z.ZodOptional<z.ZodEnum<
|
|
513
|
-
|
|
514
|
-
standalone: "standalone";
|
|
515
|
-
}>>;
|
|
516
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
517
|
-
active: "active";
|
|
518
|
-
paused: "paused";
|
|
519
|
-
disabled: "disabled";
|
|
520
|
-
}>>;
|
|
687
|
+
source: z.ZodOptional<z.ZodEnum<["manifest", "standalone"]>>;
|
|
688
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused", "disabled"]>>;
|
|
521
689
|
tags: z.ZodOptional<z.ZodString>;
|
|
522
690
|
search: z.ZodOptional<z.ZodString>;
|
|
523
|
-
}, z.
|
|
691
|
+
}, "strip", z.ZodTypeAny, {
|
|
692
|
+
status?: "active" | "paused" | "disabled" | undefined;
|
|
693
|
+
source?: "manifest" | "standalone" | undefined;
|
|
694
|
+
tags?: string | undefined;
|
|
695
|
+
search?: string | undefined;
|
|
696
|
+
}, {
|
|
697
|
+
status?: "active" | "paused" | "disabled" | undefined;
|
|
698
|
+
source?: "manifest" | "standalone" | undefined;
|
|
699
|
+
tags?: string | undefined;
|
|
700
|
+
search?: string | undefined;
|
|
701
|
+
}>;
|
|
524
702
|
declare const WorkflowSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
525
703
|
declare const WorkflowsListResponseSchema: z.ZodObject<{
|
|
526
|
-
workflows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
704
|
+
workflows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
527
705
|
total: z.ZodNumber;
|
|
528
|
-
}, z.
|
|
706
|
+
}, "strip", z.ZodTypeAny, {
|
|
707
|
+
total: number;
|
|
708
|
+
workflows: Record<string, unknown>[];
|
|
709
|
+
}, {
|
|
710
|
+
total: number;
|
|
711
|
+
workflows: Record<string, unknown>[];
|
|
712
|
+
}>;
|
|
529
713
|
declare const WorkflowResponseSchema: z.ZodObject<{
|
|
530
714
|
workflow: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
531
|
-
}, z.
|
|
715
|
+
}, "strip", z.ZodTypeAny, {
|
|
716
|
+
workflow: Record<string, unknown> | null;
|
|
717
|
+
}, {
|
|
718
|
+
workflow: Record<string, unknown> | null;
|
|
719
|
+
}>;
|
|
532
720
|
declare const CreateWorkflowBodySchema: z.ZodObject<{
|
|
533
721
|
spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
534
|
-
}, z.
|
|
722
|
+
}, "strip", z.ZodTypeAny, {
|
|
723
|
+
spec: Record<string, unknown>;
|
|
724
|
+
}, {
|
|
725
|
+
spec: Record<string, unknown>;
|
|
726
|
+
}>;
|
|
535
727
|
declare const UpdateWorkflowBodySchema: z.ZodObject<{
|
|
536
728
|
spec: z.ZodOptional<z.ZodObject<{
|
|
537
729
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -539,26 +731,78 @@ declare const UpdateWorkflowBodySchema: z.ZodObject<{
|
|
|
539
731
|
description: z.ZodOptional<z.ZodString>;
|
|
540
732
|
on: z.ZodOptional<z.ZodAny>;
|
|
541
733
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
542
|
-
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
734
|
+
secrets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
543
735
|
jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
544
|
-
}, z.
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
736
|
+
}, "strip", z.ZodTypeAny, {
|
|
737
|
+
name?: string | undefined;
|
|
738
|
+
jobs?: Record<string, any> | undefined;
|
|
739
|
+
version?: string | undefined;
|
|
740
|
+
description?: string | undefined;
|
|
741
|
+
on?: any;
|
|
742
|
+
env?: Record<string, string> | undefined;
|
|
743
|
+
secrets?: string[] | undefined;
|
|
744
|
+
}, {
|
|
745
|
+
name?: string | undefined;
|
|
746
|
+
jobs?: Record<string, any> | undefined;
|
|
747
|
+
version?: string | undefined;
|
|
748
|
+
description?: string | undefined;
|
|
749
|
+
on?: any;
|
|
750
|
+
env?: Record<string, string> | undefined;
|
|
751
|
+
secrets?: string[] | undefined;
|
|
549
752
|
}>>;
|
|
550
|
-
|
|
753
|
+
status: z.ZodOptional<z.ZodEnum<["active", "paused", "disabled"]>>;
|
|
754
|
+
}, "strip", z.ZodTypeAny, {
|
|
755
|
+
status?: "active" | "paused" | "disabled" | undefined;
|
|
756
|
+
spec?: {
|
|
757
|
+
name?: string | undefined;
|
|
758
|
+
jobs?: Record<string, any> | undefined;
|
|
759
|
+
version?: string | undefined;
|
|
760
|
+
description?: string | undefined;
|
|
761
|
+
on?: any;
|
|
762
|
+
env?: Record<string, string> | undefined;
|
|
763
|
+
secrets?: string[] | undefined;
|
|
764
|
+
} | undefined;
|
|
765
|
+
}, {
|
|
766
|
+
status?: "active" | "paused" | "disabled" | undefined;
|
|
767
|
+
spec?: {
|
|
768
|
+
name?: string | undefined;
|
|
769
|
+
jobs?: Record<string, any> | undefined;
|
|
770
|
+
version?: string | undefined;
|
|
771
|
+
description?: string | undefined;
|
|
772
|
+
on?: any;
|
|
773
|
+
env?: Record<string, string> | undefined;
|
|
774
|
+
secrets?: string[] | undefined;
|
|
775
|
+
} | undefined;
|
|
776
|
+
}>;
|
|
551
777
|
declare const ScheduleConfigBodySchema: z.ZodObject<{
|
|
552
778
|
cron: z.ZodString;
|
|
553
779
|
enabled: z.ZodBoolean;
|
|
554
780
|
timezone: z.ZodOptional<z.ZodString>;
|
|
555
|
-
}, z.
|
|
781
|
+
}, "strip", z.ZodTypeAny, {
|
|
782
|
+
cron: string;
|
|
783
|
+
enabled: boolean;
|
|
784
|
+
timezone?: string | undefined;
|
|
785
|
+
}, {
|
|
786
|
+
cron: string;
|
|
787
|
+
enabled: boolean;
|
|
788
|
+
timezone?: string | undefined;
|
|
789
|
+
}>;
|
|
556
790
|
declare const ValidateWorkflowBodySchema: z.ZodObject<{
|
|
557
791
|
spec: z.ZodAny;
|
|
558
|
-
}, z.
|
|
792
|
+
}, "strip", z.ZodTypeAny, {
|
|
793
|
+
spec?: any;
|
|
794
|
+
}, {
|
|
795
|
+
spec?: any;
|
|
796
|
+
}>;
|
|
559
797
|
declare const HandlersListResponseSchema: z.ZodObject<{
|
|
560
|
-
handlers: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
798
|
+
handlers: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
561
799
|
total: z.ZodNumber;
|
|
562
|
-
}, z.
|
|
800
|
+
}, "strip", z.ZodTypeAny, {
|
|
801
|
+
total: number;
|
|
802
|
+
handlers: Record<string, unknown>[];
|
|
803
|
+
}, {
|
|
804
|
+
total: number;
|
|
805
|
+
handlers: Record<string, unknown>[];
|
|
806
|
+
}>;
|
|
563
807
|
|
|
564
808
|
export { type AdapterValue, type CapabilitiesResponse, type ConfigResponse, CreateWorkflowBodySchema, type DevKitHealthPayload, type DevKitHealthSnapshot, type EnvelopeMeta, ErrorCode, type ErrorEnvelope, ErrorResponseSchema, HandlersListResponseSchema, type HeatmapCell, type HelloPayload, type HelloResponse, type HistoricalDataPoint, type InfoResponse, JobActionResponseSchema, JobResponseSchema, JobSchema, JobStatsResponseSchema, JobsListResponseSchema, ListJobsQuerySchema, ListWorkflowsQuerySchema, type MetricsHeatmapPayload, type MetricsHistoryPayload, type NamespaceStats, type NotReadyResponse, OkResponseSchema, type PermissionDiff, type PermissionSummary, type PlatformConfigPayload, type PlatformConfigResponse, type PluginErrorEnvelope, type ReadyComponents, type ReadyResponse, ScheduleConfigBodySchema, type StateBrokerStats, type StateBrokerStatsPayload, type StudioPluginEntryV2, type StudioRegistryV2, type SuccessEnvelope, type SystemCapabilitiesPayload, type SystemConfigPayload, type SystemHealthSnapshot, type SystemInfoPayload, type TenantStats, UpdateWorkflowBodySchema, ValidateWorkflowBodySchema, WorkflowResponseSchema, WorkflowSchema, WorkflowsListResponseSchema, errorEnvelopeSchema };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kb-labs/rest-api-contracts",
|
|
3
3
|
"description": "Shared API contracts for KB Labs REST/CLI/Studio surfaces",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.65.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"zod": "^3.25.76",
|
|
20
|
-
"@kb-labs/plugin-contracts": "2.
|
|
20
|
+
"@kb-labs/plugin-contracts": "2.65.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^24.3.3",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"tsup": "^8.5.0",
|
|
26
26
|
"typescript": "^5.6.3",
|
|
27
27
|
"vitest": "^3.2.4",
|
|
28
|
-
"@kb-labs/devkit": "2.
|
|
28
|
+
"@kb-labs/devkit": "2.65.0"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
31
|
"node": ">=20.0.0",
|