@zgeoff/imp-client 0.15.0 → 0.17.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/README.md +45 -10
- package/dist/index.d.ts +3250 -162
- package/dist/index.js +377 -23
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -119,6 +119,11 @@ declare const ImpEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
119
119
|
netTxBytes: z.ZodInt;
|
|
120
120
|
}, z.core.$strip>>;
|
|
121
121
|
}, z.core.$strip>>;
|
|
122
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
123
|
+
moved: "moved";
|
|
124
|
+
receiving: "receiving";
|
|
125
|
+
sending: "sending";
|
|
126
|
+
}>>;
|
|
122
127
|
}, z.core.$strip>;
|
|
123
128
|
}, z.core.$strip>, z.ZodObject<{
|
|
124
129
|
v: z.ZodLiteral<1>;
|
|
@@ -217,6 +222,11 @@ declare const ImpEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
217
222
|
netTxBytes: z.ZodInt;
|
|
218
223
|
}, z.core.$strip>>;
|
|
219
224
|
}, z.core.$strip>>;
|
|
225
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
226
|
+
moved: "moved";
|
|
227
|
+
receiving: "receiving";
|
|
228
|
+
sending: "sending";
|
|
229
|
+
}>>;
|
|
220
230
|
}, z.core.$strip>;
|
|
221
231
|
detail: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
222
232
|
durationMs: z.ZodOptional<z.ZodInt>;
|
|
@@ -307,6 +317,11 @@ declare const ImpEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
307
317
|
netTxBytes: z.ZodInt;
|
|
308
318
|
}, z.core.$strip>>;
|
|
309
319
|
}, z.core.$strip>>;
|
|
320
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
321
|
+
moved: "moved";
|
|
322
|
+
receiving: "receiving";
|
|
323
|
+
sending: "sending";
|
|
324
|
+
}>>;
|
|
310
325
|
}, z.core.$strip>;
|
|
311
326
|
}, z.core.$strip>, z.ZodObject<{
|
|
312
327
|
v: z.ZodLiteral<1>;
|
|
@@ -465,6 +480,11 @@ declare const impContract: {
|
|
|
465
480
|
netTxBytes: z.ZodInt;
|
|
466
481
|
}, z.core.$strip>>;
|
|
467
482
|
}, z.core.$strip>>;
|
|
483
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
484
|
+
moved: "moved";
|
|
485
|
+
receiving: "receiving";
|
|
486
|
+
sending: "sending";
|
|
487
|
+
}>>;
|
|
468
488
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
469
489
|
NOT_FOUND: {
|
|
470
490
|
readonly message: "Not found";
|
|
@@ -548,7 +568,27 @@ declare const impContract: {
|
|
|
548
568
|
sleeping: "sleeping";
|
|
549
569
|
stopped: "stopped";
|
|
550
570
|
}>>;
|
|
551
|
-
|
|
571
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
572
|
+
bootId: z.ZodString;
|
|
573
|
+
cause: z.ZodEnum<{
|
|
574
|
+
recovery: "recovery";
|
|
575
|
+
restore: "restore";
|
|
576
|
+
start: "start";
|
|
577
|
+
unknown: "unknown";
|
|
578
|
+
wake_fallback: "wake_fallback";
|
|
579
|
+
watchdog: "watchdog";
|
|
580
|
+
}>;
|
|
581
|
+
at: z.ZodISODateTime;
|
|
582
|
+
}, z.core.$strip>>>>>;
|
|
583
|
+
}, z.core.$strip>;
|
|
584
|
+
};
|
|
585
|
+
INVALID_RESUME: {
|
|
586
|
+
readonly message: "The resume offset is past the end of the output";
|
|
587
|
+
readonly status: 409;
|
|
588
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
589
|
+
end: z.ZodInt;
|
|
590
|
+
bufferStart: z.ZodInt;
|
|
591
|
+
}, z.core.$strip>>;
|
|
552
592
|
};
|
|
553
593
|
DISK_FULL: {
|
|
554
594
|
readonly message: "Not enough free disk on the host";
|
|
@@ -583,6 +623,13 @@ declare const impContract: {
|
|
|
583
623
|
readonly message: "The imp's agent is too old for this";
|
|
584
624
|
readonly status: 409;
|
|
585
625
|
};
|
|
626
|
+
MOVING: {
|
|
627
|
+
readonly message: "The imp is moving between hosts";
|
|
628
|
+
readonly status: 409;
|
|
629
|
+
readonly data: z.ZodObject<{
|
|
630
|
+
retryAfterS: z.ZodInt;
|
|
631
|
+
}, z.core.$strip>;
|
|
632
|
+
};
|
|
586
633
|
}>, Record<never, never>>;
|
|
587
634
|
list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
|
|
588
635
|
id: z.ZodString;
|
|
@@ -662,6 +709,11 @@ declare const impContract: {
|
|
|
662
709
|
netTxBytes: z.ZodInt;
|
|
663
710
|
}, z.core.$strip>>;
|
|
664
711
|
}, z.core.$strip>>;
|
|
712
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
713
|
+
moved: "moved";
|
|
714
|
+
receiving: "receiving";
|
|
715
|
+
sending: "sending";
|
|
716
|
+
}>>;
|
|
665
717
|
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
666
718
|
NOT_FOUND: {
|
|
667
719
|
readonly message: "Not found";
|
|
@@ -745,7 +797,27 @@ declare const impContract: {
|
|
|
745
797
|
sleeping: "sleeping";
|
|
746
798
|
stopped: "stopped";
|
|
747
799
|
}>>;
|
|
748
|
-
|
|
800
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
801
|
+
bootId: z.ZodString;
|
|
802
|
+
cause: z.ZodEnum<{
|
|
803
|
+
recovery: "recovery";
|
|
804
|
+
restore: "restore";
|
|
805
|
+
start: "start";
|
|
806
|
+
unknown: "unknown";
|
|
807
|
+
wake_fallback: "wake_fallback";
|
|
808
|
+
watchdog: "watchdog";
|
|
809
|
+
}>;
|
|
810
|
+
at: z.ZodISODateTime;
|
|
811
|
+
}, z.core.$strip>>>>>;
|
|
812
|
+
}, z.core.$strip>;
|
|
813
|
+
};
|
|
814
|
+
INVALID_RESUME: {
|
|
815
|
+
readonly message: "The resume offset is past the end of the output";
|
|
816
|
+
readonly status: 409;
|
|
817
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
818
|
+
end: z.ZodInt;
|
|
819
|
+
bufferStart: z.ZodInt;
|
|
820
|
+
}, z.core.$strip>>;
|
|
749
821
|
};
|
|
750
822
|
DISK_FULL: {
|
|
751
823
|
readonly message: "Not enough free disk on the host";
|
|
@@ -780,6 +852,13 @@ declare const impContract: {
|
|
|
780
852
|
readonly message: "The imp's agent is too old for this";
|
|
781
853
|
readonly status: 409;
|
|
782
854
|
};
|
|
855
|
+
MOVING: {
|
|
856
|
+
readonly message: "The imp is moving between hosts";
|
|
857
|
+
readonly status: 409;
|
|
858
|
+
readonly data: z.ZodObject<{
|
|
859
|
+
retryAfterS: z.ZodInt;
|
|
860
|
+
}, z.core.$strip>;
|
|
861
|
+
};
|
|
783
862
|
}>, Record<never, never>>;
|
|
784
863
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
785
864
|
name: z.ZodString;
|
|
@@ -861,6 +940,11 @@ declare const impContract: {
|
|
|
861
940
|
netTxBytes: z.ZodInt;
|
|
862
941
|
}, z.core.$strip>>;
|
|
863
942
|
}, z.core.$strip>>;
|
|
943
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
944
|
+
moved: "moved";
|
|
945
|
+
receiving: "receiving";
|
|
946
|
+
sending: "sending";
|
|
947
|
+
}>>;
|
|
864
948
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
865
949
|
NOT_FOUND: {
|
|
866
950
|
readonly message: "Not found";
|
|
@@ -944,7 +1028,27 @@ declare const impContract: {
|
|
|
944
1028
|
sleeping: "sleeping";
|
|
945
1029
|
stopped: "stopped";
|
|
946
1030
|
}>>;
|
|
947
|
-
|
|
1031
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1032
|
+
bootId: z.ZodString;
|
|
1033
|
+
cause: z.ZodEnum<{
|
|
1034
|
+
recovery: "recovery";
|
|
1035
|
+
restore: "restore";
|
|
1036
|
+
start: "start";
|
|
1037
|
+
unknown: "unknown";
|
|
1038
|
+
wake_fallback: "wake_fallback";
|
|
1039
|
+
watchdog: "watchdog";
|
|
1040
|
+
}>;
|
|
1041
|
+
at: z.ZodISODateTime;
|
|
1042
|
+
}, z.core.$strip>>>>>;
|
|
1043
|
+
}, z.core.$strip>;
|
|
1044
|
+
};
|
|
1045
|
+
INVALID_RESUME: {
|
|
1046
|
+
readonly message: "The resume offset is past the end of the output";
|
|
1047
|
+
readonly status: 409;
|
|
1048
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
1049
|
+
end: z.ZodInt;
|
|
1050
|
+
bufferStart: z.ZodInt;
|
|
1051
|
+
}, z.core.$strip>>;
|
|
948
1052
|
};
|
|
949
1053
|
DISK_FULL: {
|
|
950
1054
|
readonly message: "Not enough free disk on the host";
|
|
@@ -979,6 +1083,13 @@ declare const impContract: {
|
|
|
979
1083
|
readonly message: "The imp's agent is too old for this";
|
|
980
1084
|
readonly status: 409;
|
|
981
1085
|
};
|
|
1086
|
+
MOVING: {
|
|
1087
|
+
readonly message: "The imp is moving between hosts";
|
|
1088
|
+
readonly status: 409;
|
|
1089
|
+
readonly data: z.ZodObject<{
|
|
1090
|
+
retryAfterS: z.ZodInt;
|
|
1091
|
+
}, z.core.$strip>;
|
|
1092
|
+
};
|
|
982
1093
|
}>, Record<never, never>>;
|
|
983
1094
|
destroy: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
984
1095
|
name: z.ZodString;
|
|
@@ -1065,7 +1176,27 @@ declare const impContract: {
|
|
|
1065
1176
|
sleeping: "sleeping";
|
|
1066
1177
|
stopped: "stopped";
|
|
1067
1178
|
}>>;
|
|
1068
|
-
|
|
1179
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1180
|
+
bootId: z.ZodString;
|
|
1181
|
+
cause: z.ZodEnum<{
|
|
1182
|
+
recovery: "recovery";
|
|
1183
|
+
restore: "restore";
|
|
1184
|
+
start: "start";
|
|
1185
|
+
unknown: "unknown";
|
|
1186
|
+
wake_fallback: "wake_fallback";
|
|
1187
|
+
watchdog: "watchdog";
|
|
1188
|
+
}>;
|
|
1189
|
+
at: z.ZodISODateTime;
|
|
1190
|
+
}, z.core.$strip>>>>>;
|
|
1191
|
+
}, z.core.$strip>;
|
|
1192
|
+
};
|
|
1193
|
+
INVALID_RESUME: {
|
|
1194
|
+
readonly message: "The resume offset is past the end of the output";
|
|
1195
|
+
readonly status: 409;
|
|
1196
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
1197
|
+
end: z.ZodInt;
|
|
1198
|
+
bufferStart: z.ZodInt;
|
|
1199
|
+
}, z.core.$strip>>;
|
|
1069
1200
|
};
|
|
1070
1201
|
DISK_FULL: {
|
|
1071
1202
|
readonly message: "Not enough free disk on the host";
|
|
@@ -1100,6 +1231,13 @@ declare const impContract: {
|
|
|
1100
1231
|
readonly message: "The imp's agent is too old for this";
|
|
1101
1232
|
readonly status: 409;
|
|
1102
1233
|
};
|
|
1234
|
+
MOVING: {
|
|
1235
|
+
readonly message: "The imp is moving between hosts";
|
|
1236
|
+
readonly status: 409;
|
|
1237
|
+
readonly data: z.ZodObject<{
|
|
1238
|
+
retryAfterS: z.ZodInt;
|
|
1239
|
+
}, z.core.$strip>;
|
|
1240
|
+
};
|
|
1103
1241
|
}>, Record<never, never>>;
|
|
1104
1242
|
start: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1105
1243
|
name: z.ZodString;
|
|
@@ -1181,6 +1319,11 @@ declare const impContract: {
|
|
|
1181
1319
|
netTxBytes: z.ZodInt;
|
|
1182
1320
|
}, z.core.$strip>>;
|
|
1183
1321
|
}, z.core.$strip>>;
|
|
1322
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
1323
|
+
moved: "moved";
|
|
1324
|
+
receiving: "receiving";
|
|
1325
|
+
sending: "sending";
|
|
1326
|
+
}>>;
|
|
1184
1327
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
1185
1328
|
NOT_FOUND: {
|
|
1186
1329
|
readonly message: "Not found";
|
|
@@ -1264,7 +1407,27 @@ declare const impContract: {
|
|
|
1264
1407
|
sleeping: "sleeping";
|
|
1265
1408
|
stopped: "stopped";
|
|
1266
1409
|
}>>;
|
|
1267
|
-
|
|
1410
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1411
|
+
bootId: z.ZodString;
|
|
1412
|
+
cause: z.ZodEnum<{
|
|
1413
|
+
recovery: "recovery";
|
|
1414
|
+
restore: "restore";
|
|
1415
|
+
start: "start";
|
|
1416
|
+
unknown: "unknown";
|
|
1417
|
+
wake_fallback: "wake_fallback";
|
|
1418
|
+
watchdog: "watchdog";
|
|
1419
|
+
}>;
|
|
1420
|
+
at: z.ZodISODateTime;
|
|
1421
|
+
}, z.core.$strip>>>>>;
|
|
1422
|
+
}, z.core.$strip>;
|
|
1423
|
+
};
|
|
1424
|
+
INVALID_RESUME: {
|
|
1425
|
+
readonly message: "The resume offset is past the end of the output";
|
|
1426
|
+
readonly status: 409;
|
|
1427
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
1428
|
+
end: z.ZodInt;
|
|
1429
|
+
bufferStart: z.ZodInt;
|
|
1430
|
+
}, z.core.$strip>>;
|
|
1268
1431
|
};
|
|
1269
1432
|
DISK_FULL: {
|
|
1270
1433
|
readonly message: "Not enough free disk on the host";
|
|
@@ -1299,6 +1462,13 @@ declare const impContract: {
|
|
|
1299
1462
|
readonly message: "The imp's agent is too old for this";
|
|
1300
1463
|
readonly status: 409;
|
|
1301
1464
|
};
|
|
1465
|
+
MOVING: {
|
|
1466
|
+
readonly message: "The imp is moving between hosts";
|
|
1467
|
+
readonly status: 409;
|
|
1468
|
+
readonly data: z.ZodObject<{
|
|
1469
|
+
retryAfterS: z.ZodInt;
|
|
1470
|
+
}, z.core.$strip>;
|
|
1471
|
+
};
|
|
1302
1472
|
}>, Record<never, never>>;
|
|
1303
1473
|
stop: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1304
1474
|
name: z.ZodString;
|
|
@@ -1381,6 +1551,11 @@ declare const impContract: {
|
|
|
1381
1551
|
netTxBytes: z.ZodInt;
|
|
1382
1552
|
}, z.core.$strip>>;
|
|
1383
1553
|
}, z.core.$strip>>;
|
|
1554
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
1555
|
+
moved: "moved";
|
|
1556
|
+
receiving: "receiving";
|
|
1557
|
+
sending: "sending";
|
|
1558
|
+
}>>;
|
|
1384
1559
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
1385
1560
|
NOT_FOUND: {
|
|
1386
1561
|
readonly message: "Not found";
|
|
@@ -1464,7 +1639,27 @@ declare const impContract: {
|
|
|
1464
1639
|
sleeping: "sleeping";
|
|
1465
1640
|
stopped: "stopped";
|
|
1466
1641
|
}>>;
|
|
1467
|
-
|
|
1642
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1643
|
+
bootId: z.ZodString;
|
|
1644
|
+
cause: z.ZodEnum<{
|
|
1645
|
+
recovery: "recovery";
|
|
1646
|
+
restore: "restore";
|
|
1647
|
+
start: "start";
|
|
1648
|
+
unknown: "unknown";
|
|
1649
|
+
wake_fallback: "wake_fallback";
|
|
1650
|
+
watchdog: "watchdog";
|
|
1651
|
+
}>;
|
|
1652
|
+
at: z.ZodISODateTime;
|
|
1653
|
+
}, z.core.$strip>>>>>;
|
|
1654
|
+
}, z.core.$strip>;
|
|
1655
|
+
};
|
|
1656
|
+
INVALID_RESUME: {
|
|
1657
|
+
readonly message: "The resume offset is past the end of the output";
|
|
1658
|
+
readonly status: 409;
|
|
1659
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
1660
|
+
end: z.ZodInt;
|
|
1661
|
+
bufferStart: z.ZodInt;
|
|
1662
|
+
}, z.core.$strip>>;
|
|
1468
1663
|
};
|
|
1469
1664
|
DISK_FULL: {
|
|
1470
1665
|
readonly message: "Not enough free disk on the host";
|
|
@@ -1499,6 +1694,13 @@ declare const impContract: {
|
|
|
1499
1694
|
readonly message: "The imp's agent is too old for this";
|
|
1500
1695
|
readonly status: 409;
|
|
1501
1696
|
};
|
|
1697
|
+
MOVING: {
|
|
1698
|
+
readonly message: "The imp is moving between hosts";
|
|
1699
|
+
readonly status: 409;
|
|
1700
|
+
readonly data: z.ZodObject<{
|
|
1701
|
+
retryAfterS: z.ZodInt;
|
|
1702
|
+
}, z.core.$strip>;
|
|
1703
|
+
};
|
|
1502
1704
|
}>, Record<never, never>>;
|
|
1503
1705
|
sleep: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1504
1706
|
name: z.ZodString;
|
|
@@ -1581,6 +1783,11 @@ declare const impContract: {
|
|
|
1581
1783
|
netTxBytes: z.ZodInt;
|
|
1582
1784
|
}, z.core.$strip>>;
|
|
1583
1785
|
}, z.core.$strip>>;
|
|
1786
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
1787
|
+
moved: "moved";
|
|
1788
|
+
receiving: "receiving";
|
|
1789
|
+
sending: "sending";
|
|
1790
|
+
}>>;
|
|
1584
1791
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
1585
1792
|
NOT_FOUND: {
|
|
1586
1793
|
readonly message: "Not found";
|
|
@@ -1664,7 +1871,27 @@ declare const impContract: {
|
|
|
1664
1871
|
sleeping: "sleeping";
|
|
1665
1872
|
stopped: "stopped";
|
|
1666
1873
|
}>>;
|
|
1667
|
-
|
|
1874
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1875
|
+
bootId: z.ZodString;
|
|
1876
|
+
cause: z.ZodEnum<{
|
|
1877
|
+
recovery: "recovery";
|
|
1878
|
+
restore: "restore";
|
|
1879
|
+
start: "start";
|
|
1880
|
+
unknown: "unknown";
|
|
1881
|
+
wake_fallback: "wake_fallback";
|
|
1882
|
+
watchdog: "watchdog";
|
|
1883
|
+
}>;
|
|
1884
|
+
at: z.ZodISODateTime;
|
|
1885
|
+
}, z.core.$strip>>>>>;
|
|
1886
|
+
}, z.core.$strip>;
|
|
1887
|
+
};
|
|
1888
|
+
INVALID_RESUME: {
|
|
1889
|
+
readonly message: "The resume offset is past the end of the output";
|
|
1890
|
+
readonly status: 409;
|
|
1891
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
1892
|
+
end: z.ZodInt;
|
|
1893
|
+
bufferStart: z.ZodInt;
|
|
1894
|
+
}, z.core.$strip>>;
|
|
1668
1895
|
};
|
|
1669
1896
|
DISK_FULL: {
|
|
1670
1897
|
readonly message: "Not enough free disk on the host";
|
|
@@ -1699,6 +1926,13 @@ declare const impContract: {
|
|
|
1699
1926
|
readonly message: "The imp's agent is too old for this";
|
|
1700
1927
|
readonly status: 409;
|
|
1701
1928
|
};
|
|
1929
|
+
MOVING: {
|
|
1930
|
+
readonly message: "The imp is moving between hosts";
|
|
1931
|
+
readonly status: 409;
|
|
1932
|
+
readonly data: z.ZodObject<{
|
|
1933
|
+
retryAfterS: z.ZodInt;
|
|
1934
|
+
}, z.core.$strip>;
|
|
1935
|
+
};
|
|
1702
1936
|
}>, Record<never, never>>;
|
|
1703
1937
|
wake: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1704
1938
|
name: z.ZodString;
|
|
@@ -1781,6 +2015,11 @@ declare const impContract: {
|
|
|
1781
2015
|
netTxBytes: z.ZodInt;
|
|
1782
2016
|
}, z.core.$strip>>;
|
|
1783
2017
|
}, z.core.$strip>>;
|
|
2018
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
2019
|
+
moved: "moved";
|
|
2020
|
+
receiving: "receiving";
|
|
2021
|
+
sending: "sending";
|
|
2022
|
+
}>>;
|
|
1784
2023
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
1785
2024
|
NOT_FOUND: {
|
|
1786
2025
|
readonly message: "Not found";
|
|
@@ -1864,7 +2103,27 @@ declare const impContract: {
|
|
|
1864
2103
|
sleeping: "sleeping";
|
|
1865
2104
|
stopped: "stopped";
|
|
1866
2105
|
}>>;
|
|
1867
|
-
|
|
2106
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2107
|
+
bootId: z.ZodString;
|
|
2108
|
+
cause: z.ZodEnum<{
|
|
2109
|
+
recovery: "recovery";
|
|
2110
|
+
restore: "restore";
|
|
2111
|
+
start: "start";
|
|
2112
|
+
unknown: "unknown";
|
|
2113
|
+
wake_fallback: "wake_fallback";
|
|
2114
|
+
watchdog: "watchdog";
|
|
2115
|
+
}>;
|
|
2116
|
+
at: z.ZodISODateTime;
|
|
2117
|
+
}, z.core.$strip>>>>>;
|
|
2118
|
+
}, z.core.$strip>;
|
|
2119
|
+
};
|
|
2120
|
+
INVALID_RESUME: {
|
|
2121
|
+
readonly message: "The resume offset is past the end of the output";
|
|
2122
|
+
readonly status: 409;
|
|
2123
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
2124
|
+
end: z.ZodInt;
|
|
2125
|
+
bufferStart: z.ZodInt;
|
|
2126
|
+
}, z.core.$strip>>;
|
|
1868
2127
|
};
|
|
1869
2128
|
DISK_FULL: {
|
|
1870
2129
|
readonly message: "Not enough free disk on the host";
|
|
@@ -1899,6 +2158,13 @@ declare const impContract: {
|
|
|
1899
2158
|
readonly message: "The imp's agent is too old for this";
|
|
1900
2159
|
readonly status: 409;
|
|
1901
2160
|
};
|
|
2161
|
+
MOVING: {
|
|
2162
|
+
readonly message: "The imp is moving between hosts";
|
|
2163
|
+
readonly status: 409;
|
|
2164
|
+
readonly data: z.ZodObject<{
|
|
2165
|
+
retryAfterS: z.ZodInt;
|
|
2166
|
+
}, z.core.$strip>;
|
|
2167
|
+
};
|
|
1902
2168
|
}>, Record<never, never>>;
|
|
1903
2169
|
hold: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1904
2170
|
name: z.ZodString;
|
|
@@ -1981,6 +2247,11 @@ declare const impContract: {
|
|
|
1981
2247
|
netTxBytes: z.ZodInt;
|
|
1982
2248
|
}, z.core.$strip>>;
|
|
1983
2249
|
}, z.core.$strip>>;
|
|
2250
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
2251
|
+
moved: "moved";
|
|
2252
|
+
receiving: "receiving";
|
|
2253
|
+
sending: "sending";
|
|
2254
|
+
}>>;
|
|
1984
2255
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
1985
2256
|
NOT_FOUND: {
|
|
1986
2257
|
readonly message: "Not found";
|
|
@@ -2064,7 +2335,27 @@ declare const impContract: {
|
|
|
2064
2335
|
sleeping: "sleeping";
|
|
2065
2336
|
stopped: "stopped";
|
|
2066
2337
|
}>>;
|
|
2067
|
-
|
|
2338
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2339
|
+
bootId: z.ZodString;
|
|
2340
|
+
cause: z.ZodEnum<{
|
|
2341
|
+
recovery: "recovery";
|
|
2342
|
+
restore: "restore";
|
|
2343
|
+
start: "start";
|
|
2344
|
+
unknown: "unknown";
|
|
2345
|
+
wake_fallback: "wake_fallback";
|
|
2346
|
+
watchdog: "watchdog";
|
|
2347
|
+
}>;
|
|
2348
|
+
at: z.ZodISODateTime;
|
|
2349
|
+
}, z.core.$strip>>>>>;
|
|
2350
|
+
}, z.core.$strip>;
|
|
2351
|
+
};
|
|
2352
|
+
INVALID_RESUME: {
|
|
2353
|
+
readonly message: "The resume offset is past the end of the output";
|
|
2354
|
+
readonly status: 409;
|
|
2355
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
2356
|
+
end: z.ZodInt;
|
|
2357
|
+
bufferStart: z.ZodInt;
|
|
2358
|
+
}, z.core.$strip>>;
|
|
2068
2359
|
};
|
|
2069
2360
|
DISK_FULL: {
|
|
2070
2361
|
readonly message: "Not enough free disk on the host";
|
|
@@ -2099,6 +2390,13 @@ declare const impContract: {
|
|
|
2099
2390
|
readonly message: "The imp's agent is too old for this";
|
|
2100
2391
|
readonly status: 409;
|
|
2101
2392
|
};
|
|
2393
|
+
MOVING: {
|
|
2394
|
+
readonly message: "The imp is moving between hosts";
|
|
2395
|
+
readonly status: 409;
|
|
2396
|
+
readonly data: z.ZodObject<{
|
|
2397
|
+
retryAfterS: z.ZodInt;
|
|
2398
|
+
}, z.core.$strip>;
|
|
2399
|
+
};
|
|
2102
2400
|
}>, Record<never, never>>;
|
|
2103
2401
|
resizeDisk: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2104
2402
|
name: z.ZodString;
|
|
@@ -2181,6 +2479,11 @@ declare const impContract: {
|
|
|
2181
2479
|
netTxBytes: z.ZodInt;
|
|
2182
2480
|
}, z.core.$strip>>;
|
|
2183
2481
|
}, z.core.$strip>>;
|
|
2482
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
2483
|
+
moved: "moved";
|
|
2484
|
+
receiving: "receiving";
|
|
2485
|
+
sending: "sending";
|
|
2486
|
+
}>>;
|
|
2184
2487
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2185
2488
|
NOT_FOUND: {
|
|
2186
2489
|
readonly message: "Not found";
|
|
@@ -2264,7 +2567,27 @@ declare const impContract: {
|
|
|
2264
2567
|
sleeping: "sleeping";
|
|
2265
2568
|
stopped: "stopped";
|
|
2266
2569
|
}>>;
|
|
2267
|
-
|
|
2570
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2571
|
+
bootId: z.ZodString;
|
|
2572
|
+
cause: z.ZodEnum<{
|
|
2573
|
+
recovery: "recovery";
|
|
2574
|
+
restore: "restore";
|
|
2575
|
+
start: "start";
|
|
2576
|
+
unknown: "unknown";
|
|
2577
|
+
wake_fallback: "wake_fallback";
|
|
2578
|
+
watchdog: "watchdog";
|
|
2579
|
+
}>;
|
|
2580
|
+
at: z.ZodISODateTime;
|
|
2581
|
+
}, z.core.$strip>>>>>;
|
|
2582
|
+
}, z.core.$strip>;
|
|
2583
|
+
};
|
|
2584
|
+
INVALID_RESUME: {
|
|
2585
|
+
readonly message: "The resume offset is past the end of the output";
|
|
2586
|
+
readonly status: 409;
|
|
2587
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
2588
|
+
end: z.ZodInt;
|
|
2589
|
+
bufferStart: z.ZodInt;
|
|
2590
|
+
}, z.core.$strip>>;
|
|
2268
2591
|
};
|
|
2269
2592
|
DISK_FULL: {
|
|
2270
2593
|
readonly message: "Not enough free disk on the host";
|
|
@@ -2299,6 +2622,13 @@ declare const impContract: {
|
|
|
2299
2622
|
readonly message: "The imp's agent is too old for this";
|
|
2300
2623
|
readonly status: 409;
|
|
2301
2624
|
};
|
|
2625
|
+
MOVING: {
|
|
2626
|
+
readonly message: "The imp is moving between hosts";
|
|
2627
|
+
readonly status: 409;
|
|
2628
|
+
readonly data: z.ZodObject<{
|
|
2629
|
+
retryAfterS: z.ZodInt;
|
|
2630
|
+
}, z.core.$strip>;
|
|
2631
|
+
};
|
|
2302
2632
|
}>, Record<never, never>>;
|
|
2303
2633
|
url: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2304
2634
|
name: z.ZodString;
|
|
@@ -2391,7 +2721,27 @@ declare const impContract: {
|
|
|
2391
2721
|
sleeping: "sleeping";
|
|
2392
2722
|
stopped: "stopped";
|
|
2393
2723
|
}>>;
|
|
2394
|
-
|
|
2724
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2725
|
+
bootId: z.ZodString;
|
|
2726
|
+
cause: z.ZodEnum<{
|
|
2727
|
+
recovery: "recovery";
|
|
2728
|
+
restore: "restore";
|
|
2729
|
+
start: "start";
|
|
2730
|
+
unknown: "unknown";
|
|
2731
|
+
wake_fallback: "wake_fallback";
|
|
2732
|
+
watchdog: "watchdog";
|
|
2733
|
+
}>;
|
|
2734
|
+
at: z.ZodISODateTime;
|
|
2735
|
+
}, z.core.$strip>>>>>;
|
|
2736
|
+
}, z.core.$strip>;
|
|
2737
|
+
};
|
|
2738
|
+
INVALID_RESUME: {
|
|
2739
|
+
readonly message: "The resume offset is past the end of the output";
|
|
2740
|
+
readonly status: 409;
|
|
2741
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
2742
|
+
end: z.ZodInt;
|
|
2743
|
+
bufferStart: z.ZodInt;
|
|
2744
|
+
}, z.core.$strip>>;
|
|
2395
2745
|
};
|
|
2396
2746
|
DISK_FULL: {
|
|
2397
2747
|
readonly message: "Not enough free disk on the host";
|
|
@@ -2426,6 +2776,13 @@ declare const impContract: {
|
|
|
2426
2776
|
readonly message: "The imp's agent is too old for this";
|
|
2427
2777
|
readonly status: 409;
|
|
2428
2778
|
};
|
|
2779
|
+
MOVING: {
|
|
2780
|
+
readonly message: "The imp is moving between hosts";
|
|
2781
|
+
readonly status: 409;
|
|
2782
|
+
readonly data: z.ZodObject<{
|
|
2783
|
+
retryAfterS: z.ZodInt;
|
|
2784
|
+
}, z.core.$strip>;
|
|
2785
|
+
};
|
|
2429
2786
|
}>, Record<never, never>>;
|
|
2430
2787
|
policy: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2431
2788
|
name: z.ZodString;
|
|
@@ -2519,7 +2876,27 @@ declare const impContract: {
|
|
|
2519
2876
|
sleeping: "sleeping";
|
|
2520
2877
|
stopped: "stopped";
|
|
2521
2878
|
}>>;
|
|
2522
|
-
|
|
2879
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2880
|
+
bootId: z.ZodString;
|
|
2881
|
+
cause: z.ZodEnum<{
|
|
2882
|
+
recovery: "recovery";
|
|
2883
|
+
restore: "restore";
|
|
2884
|
+
start: "start";
|
|
2885
|
+
unknown: "unknown";
|
|
2886
|
+
wake_fallback: "wake_fallback";
|
|
2887
|
+
watchdog: "watchdog";
|
|
2888
|
+
}>;
|
|
2889
|
+
at: z.ZodISODateTime;
|
|
2890
|
+
}, z.core.$strip>>>>>;
|
|
2891
|
+
}, z.core.$strip>;
|
|
2892
|
+
};
|
|
2893
|
+
INVALID_RESUME: {
|
|
2894
|
+
readonly message: "The resume offset is past the end of the output";
|
|
2895
|
+
readonly status: 409;
|
|
2896
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
2897
|
+
end: z.ZodInt;
|
|
2898
|
+
bufferStart: z.ZodInt;
|
|
2899
|
+
}, z.core.$strip>>;
|
|
2523
2900
|
};
|
|
2524
2901
|
DISK_FULL: {
|
|
2525
2902
|
readonly message: "Not enough free disk on the host";
|
|
@@ -2554,6 +2931,13 @@ declare const impContract: {
|
|
|
2554
2931
|
readonly message: "The imp's agent is too old for this";
|
|
2555
2932
|
readonly status: 409;
|
|
2556
2933
|
};
|
|
2934
|
+
MOVING: {
|
|
2935
|
+
readonly message: "The imp is moving between hosts";
|
|
2936
|
+
readonly status: 409;
|
|
2937
|
+
readonly data: z.ZodObject<{
|
|
2938
|
+
retryAfterS: z.ZodInt;
|
|
2939
|
+
}, z.core.$strip>;
|
|
2940
|
+
};
|
|
2557
2941
|
}>, Record<never, never>>;
|
|
2558
2942
|
setPolicy: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2559
2943
|
name: z.ZodString;
|
|
@@ -2655,7 +3039,27 @@ declare const impContract: {
|
|
|
2655
3039
|
sleeping: "sleeping";
|
|
2656
3040
|
stopped: "stopped";
|
|
2657
3041
|
}>>;
|
|
2658
|
-
|
|
3042
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
3043
|
+
bootId: z.ZodString;
|
|
3044
|
+
cause: z.ZodEnum<{
|
|
3045
|
+
recovery: "recovery";
|
|
3046
|
+
restore: "restore";
|
|
3047
|
+
start: "start";
|
|
3048
|
+
unknown: "unknown";
|
|
3049
|
+
wake_fallback: "wake_fallback";
|
|
3050
|
+
watchdog: "watchdog";
|
|
3051
|
+
}>;
|
|
3052
|
+
at: z.ZodISODateTime;
|
|
3053
|
+
}, z.core.$strip>>>>>;
|
|
3054
|
+
}, z.core.$strip>;
|
|
3055
|
+
};
|
|
3056
|
+
INVALID_RESUME: {
|
|
3057
|
+
readonly message: "The resume offset is past the end of the output";
|
|
3058
|
+
readonly status: 409;
|
|
3059
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
3060
|
+
end: z.ZodInt;
|
|
3061
|
+
bufferStart: z.ZodInt;
|
|
3062
|
+
}, z.core.$strip>>;
|
|
2659
3063
|
};
|
|
2660
3064
|
DISK_FULL: {
|
|
2661
3065
|
readonly message: "Not enough free disk on the host";
|
|
@@ -2690,6 +3094,13 @@ declare const impContract: {
|
|
|
2690
3094
|
readonly message: "The imp's agent is too old for this";
|
|
2691
3095
|
readonly status: 409;
|
|
2692
3096
|
};
|
|
3097
|
+
MOVING: {
|
|
3098
|
+
readonly message: "The imp is moving between hosts";
|
|
3099
|
+
readonly status: 409;
|
|
3100
|
+
readonly data: z.ZodObject<{
|
|
3101
|
+
retryAfterS: z.ZodInt;
|
|
3102
|
+
}, z.core.$strip>;
|
|
3103
|
+
};
|
|
2693
3104
|
}>, Record<never, never>>;
|
|
2694
3105
|
expose: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2695
3106
|
name: z.ZodString;
|
|
@@ -2792,7 +3203,27 @@ declare const impContract: {
|
|
|
2792
3203
|
sleeping: "sleeping";
|
|
2793
3204
|
stopped: "stopped";
|
|
2794
3205
|
}>>;
|
|
2795
|
-
|
|
3206
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
3207
|
+
bootId: z.ZodString;
|
|
3208
|
+
cause: z.ZodEnum<{
|
|
3209
|
+
recovery: "recovery";
|
|
3210
|
+
restore: "restore";
|
|
3211
|
+
start: "start";
|
|
3212
|
+
unknown: "unknown";
|
|
3213
|
+
wake_fallback: "wake_fallback";
|
|
3214
|
+
watchdog: "watchdog";
|
|
3215
|
+
}>;
|
|
3216
|
+
at: z.ZodISODateTime;
|
|
3217
|
+
}, z.core.$strip>>>>>;
|
|
3218
|
+
}, z.core.$strip>;
|
|
3219
|
+
};
|
|
3220
|
+
INVALID_RESUME: {
|
|
3221
|
+
readonly message: "The resume offset is past the end of the output";
|
|
3222
|
+
readonly status: 409;
|
|
3223
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
3224
|
+
end: z.ZodInt;
|
|
3225
|
+
bufferStart: z.ZodInt;
|
|
3226
|
+
}, z.core.$strip>>;
|
|
2796
3227
|
};
|
|
2797
3228
|
DISK_FULL: {
|
|
2798
3229
|
readonly message: "Not enough free disk on the host";
|
|
@@ -2827,6 +3258,13 @@ declare const impContract: {
|
|
|
2827
3258
|
readonly message: "The imp's agent is too old for this";
|
|
2828
3259
|
readonly status: 409;
|
|
2829
3260
|
};
|
|
3261
|
+
MOVING: {
|
|
3262
|
+
readonly message: "The imp is moving between hosts";
|
|
3263
|
+
readonly status: 409;
|
|
3264
|
+
readonly data: z.ZodObject<{
|
|
3265
|
+
retryAfterS: z.ZodInt;
|
|
3266
|
+
}, z.core.$strip>;
|
|
3267
|
+
};
|
|
2830
3268
|
}>, Record<never, never>>;
|
|
2831
3269
|
unexpose: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2832
3270
|
name: z.ZodString;
|
|
@@ -2908,6 +3346,11 @@ declare const impContract: {
|
|
|
2908
3346
|
netTxBytes: z.ZodInt;
|
|
2909
3347
|
}, z.core.$strip>>;
|
|
2910
3348
|
}, z.core.$strip>>;
|
|
3349
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
3350
|
+
moved: "moved";
|
|
3351
|
+
receiving: "receiving";
|
|
3352
|
+
sending: "sending";
|
|
3353
|
+
}>>;
|
|
2911
3354
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2912
3355
|
NOT_FOUND: {
|
|
2913
3356
|
readonly message: "Not found";
|
|
@@ -2991,7 +3434,27 @@ declare const impContract: {
|
|
|
2991
3434
|
sleeping: "sleeping";
|
|
2992
3435
|
stopped: "stopped";
|
|
2993
3436
|
}>>;
|
|
2994
|
-
|
|
3437
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
3438
|
+
bootId: z.ZodString;
|
|
3439
|
+
cause: z.ZodEnum<{
|
|
3440
|
+
recovery: "recovery";
|
|
3441
|
+
restore: "restore";
|
|
3442
|
+
start: "start";
|
|
3443
|
+
unknown: "unknown";
|
|
3444
|
+
wake_fallback: "wake_fallback";
|
|
3445
|
+
watchdog: "watchdog";
|
|
3446
|
+
}>;
|
|
3447
|
+
at: z.ZodISODateTime;
|
|
3448
|
+
}, z.core.$strip>>>>>;
|
|
3449
|
+
}, z.core.$strip>;
|
|
3450
|
+
};
|
|
3451
|
+
INVALID_RESUME: {
|
|
3452
|
+
readonly message: "The resume offset is past the end of the output";
|
|
3453
|
+
readonly status: 409;
|
|
3454
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
3455
|
+
end: z.ZodInt;
|
|
3456
|
+
bufferStart: z.ZodInt;
|
|
3457
|
+
}, z.core.$strip>>;
|
|
2995
3458
|
};
|
|
2996
3459
|
DISK_FULL: {
|
|
2997
3460
|
readonly message: "Not enough free disk on the host";
|
|
@@ -3026,6 +3489,13 @@ declare const impContract: {
|
|
|
3026
3489
|
readonly message: "The imp's agent is too old for this";
|
|
3027
3490
|
readonly status: 409;
|
|
3028
3491
|
};
|
|
3492
|
+
MOVING: {
|
|
3493
|
+
readonly message: "The imp is moving between hosts";
|
|
3494
|
+
readonly status: 409;
|
|
3495
|
+
readonly data: z.ZodObject<{
|
|
3496
|
+
retryAfterS: z.ZodInt;
|
|
3497
|
+
}, z.core.$strip>;
|
|
3498
|
+
};
|
|
3029
3499
|
}>, Record<never, never>>;
|
|
3030
3500
|
fork: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3031
3501
|
source: z.ZodString;
|
|
@@ -3109,6 +3579,11 @@ declare const impContract: {
|
|
|
3109
3579
|
netTxBytes: z.ZodInt;
|
|
3110
3580
|
}, z.core.$strip>>;
|
|
3111
3581
|
}, z.core.$strip>>;
|
|
3582
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
3583
|
+
moved: "moved";
|
|
3584
|
+
receiving: "receiving";
|
|
3585
|
+
sending: "sending";
|
|
3586
|
+
}>>;
|
|
3112
3587
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3113
3588
|
NOT_FOUND: {
|
|
3114
3589
|
readonly message: "Not found";
|
|
@@ -3192,7 +3667,27 @@ declare const impContract: {
|
|
|
3192
3667
|
sleeping: "sleeping";
|
|
3193
3668
|
stopped: "stopped";
|
|
3194
3669
|
}>>;
|
|
3195
|
-
|
|
3670
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
3671
|
+
bootId: z.ZodString;
|
|
3672
|
+
cause: z.ZodEnum<{
|
|
3673
|
+
recovery: "recovery";
|
|
3674
|
+
restore: "restore";
|
|
3675
|
+
start: "start";
|
|
3676
|
+
unknown: "unknown";
|
|
3677
|
+
wake_fallback: "wake_fallback";
|
|
3678
|
+
watchdog: "watchdog";
|
|
3679
|
+
}>;
|
|
3680
|
+
at: z.ZodISODateTime;
|
|
3681
|
+
}, z.core.$strip>>>>>;
|
|
3682
|
+
}, z.core.$strip>;
|
|
3683
|
+
};
|
|
3684
|
+
INVALID_RESUME: {
|
|
3685
|
+
readonly message: "The resume offset is past the end of the output";
|
|
3686
|
+
readonly status: 409;
|
|
3687
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
3688
|
+
end: z.ZodInt;
|
|
3689
|
+
bufferStart: z.ZodInt;
|
|
3690
|
+
}, z.core.$strip>>;
|
|
3196
3691
|
};
|
|
3197
3692
|
DISK_FULL: {
|
|
3198
3693
|
readonly message: "Not enough free disk on the host";
|
|
@@ -3227,6 +3722,13 @@ declare const impContract: {
|
|
|
3227
3722
|
readonly message: "The imp's agent is too old for this";
|
|
3228
3723
|
readonly status: 409;
|
|
3229
3724
|
};
|
|
3725
|
+
MOVING: {
|
|
3726
|
+
readonly message: "The imp is moving between hosts";
|
|
3727
|
+
readonly status: 409;
|
|
3728
|
+
readonly data: z.ZodObject<{
|
|
3729
|
+
retryAfterS: z.ZodInt;
|
|
3730
|
+
}, z.core.$strip>;
|
|
3731
|
+
};
|
|
3230
3732
|
}>, Record<never, never>>;
|
|
3231
3733
|
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3232
3734
|
name: z.ZodString;
|
|
@@ -3312,6 +3814,11 @@ declare const impContract: {
|
|
|
3312
3814
|
netTxBytes: z.ZodInt;
|
|
3313
3815
|
}, z.core.$strip>>;
|
|
3314
3816
|
}, z.core.$strip>>;
|
|
3817
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
3818
|
+
moved: "moved";
|
|
3819
|
+
receiving: "receiving";
|
|
3820
|
+
sending: "sending";
|
|
3821
|
+
}>>;
|
|
3315
3822
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3316
3823
|
NOT_FOUND: {
|
|
3317
3824
|
readonly message: "Not found";
|
|
@@ -3395,7 +3902,27 @@ declare const impContract: {
|
|
|
3395
3902
|
sleeping: "sleeping";
|
|
3396
3903
|
stopped: "stopped";
|
|
3397
3904
|
}>>;
|
|
3398
|
-
|
|
3905
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
3906
|
+
bootId: z.ZodString;
|
|
3907
|
+
cause: z.ZodEnum<{
|
|
3908
|
+
recovery: "recovery";
|
|
3909
|
+
restore: "restore";
|
|
3910
|
+
start: "start";
|
|
3911
|
+
unknown: "unknown";
|
|
3912
|
+
wake_fallback: "wake_fallback";
|
|
3913
|
+
watchdog: "watchdog";
|
|
3914
|
+
}>;
|
|
3915
|
+
at: z.ZodISODateTime;
|
|
3916
|
+
}, z.core.$strip>>>>>;
|
|
3917
|
+
}, z.core.$strip>;
|
|
3918
|
+
};
|
|
3919
|
+
INVALID_RESUME: {
|
|
3920
|
+
readonly message: "The resume offset is past the end of the output";
|
|
3921
|
+
readonly status: 409;
|
|
3922
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
3923
|
+
end: z.ZodInt;
|
|
3924
|
+
bufferStart: z.ZodInt;
|
|
3925
|
+
}, z.core.$strip>>;
|
|
3399
3926
|
};
|
|
3400
3927
|
DISK_FULL: {
|
|
3401
3928
|
readonly message: "Not enough free disk on the host";
|
|
@@ -3430,6 +3957,13 @@ declare const impContract: {
|
|
|
3430
3957
|
readonly message: "The imp's agent is too old for this";
|
|
3431
3958
|
readonly status: 409;
|
|
3432
3959
|
};
|
|
3960
|
+
MOVING: {
|
|
3961
|
+
readonly message: "The imp is moving between hosts";
|
|
3962
|
+
readonly status: 409;
|
|
3963
|
+
readonly data: z.ZodObject<{
|
|
3964
|
+
retryAfterS: z.ZodInt;
|
|
3965
|
+
}, z.core.$strip>;
|
|
3966
|
+
};
|
|
3433
3967
|
}>, Record<never, never>>;
|
|
3434
3968
|
};
|
|
3435
3969
|
leases: {
|
|
@@ -3528,7 +4062,27 @@ declare const impContract: {
|
|
|
3528
4062
|
sleeping: "sleeping";
|
|
3529
4063
|
stopped: "stopped";
|
|
3530
4064
|
}>>;
|
|
3531
|
-
|
|
4065
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
4066
|
+
bootId: z.ZodString;
|
|
4067
|
+
cause: z.ZodEnum<{
|
|
4068
|
+
recovery: "recovery";
|
|
4069
|
+
restore: "restore";
|
|
4070
|
+
start: "start";
|
|
4071
|
+
unknown: "unknown";
|
|
4072
|
+
wake_fallback: "wake_fallback";
|
|
4073
|
+
watchdog: "watchdog";
|
|
4074
|
+
}>;
|
|
4075
|
+
at: z.ZodISODateTime;
|
|
4076
|
+
}, z.core.$strip>>>>>;
|
|
4077
|
+
}, z.core.$strip>;
|
|
4078
|
+
};
|
|
4079
|
+
INVALID_RESUME: {
|
|
4080
|
+
readonly message: "The resume offset is past the end of the output";
|
|
4081
|
+
readonly status: 409;
|
|
4082
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
4083
|
+
end: z.ZodInt;
|
|
4084
|
+
bufferStart: z.ZodInt;
|
|
4085
|
+
}, z.core.$strip>>;
|
|
3532
4086
|
};
|
|
3533
4087
|
DISK_FULL: {
|
|
3534
4088
|
readonly message: "Not enough free disk on the host";
|
|
@@ -3563,6 +4117,13 @@ declare const impContract: {
|
|
|
3563
4117
|
readonly message: "The imp's agent is too old for this";
|
|
3564
4118
|
readonly status: 409;
|
|
3565
4119
|
};
|
|
4120
|
+
MOVING: {
|
|
4121
|
+
readonly message: "The imp is moving between hosts";
|
|
4122
|
+
readonly status: 409;
|
|
4123
|
+
readonly data: z.ZodObject<{
|
|
4124
|
+
retryAfterS: z.ZodInt;
|
|
4125
|
+
}, z.core.$strip>;
|
|
4126
|
+
};
|
|
3566
4127
|
}>, Record<never, never>>;
|
|
3567
4128
|
renew: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3568
4129
|
name: z.ZodString;
|
|
@@ -3659,7 +4220,27 @@ declare const impContract: {
|
|
|
3659
4220
|
sleeping: "sleeping";
|
|
3660
4221
|
stopped: "stopped";
|
|
3661
4222
|
}>>;
|
|
3662
|
-
|
|
4223
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
4224
|
+
bootId: z.ZodString;
|
|
4225
|
+
cause: z.ZodEnum<{
|
|
4226
|
+
recovery: "recovery";
|
|
4227
|
+
restore: "restore";
|
|
4228
|
+
start: "start";
|
|
4229
|
+
unknown: "unknown";
|
|
4230
|
+
wake_fallback: "wake_fallback";
|
|
4231
|
+
watchdog: "watchdog";
|
|
4232
|
+
}>;
|
|
4233
|
+
at: z.ZodISODateTime;
|
|
4234
|
+
}, z.core.$strip>>>>>;
|
|
4235
|
+
}, z.core.$strip>;
|
|
4236
|
+
};
|
|
4237
|
+
INVALID_RESUME: {
|
|
4238
|
+
readonly message: "The resume offset is past the end of the output";
|
|
4239
|
+
readonly status: 409;
|
|
4240
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
4241
|
+
end: z.ZodInt;
|
|
4242
|
+
bufferStart: z.ZodInt;
|
|
4243
|
+
}, z.core.$strip>>;
|
|
3663
4244
|
};
|
|
3664
4245
|
DISK_FULL: {
|
|
3665
4246
|
readonly message: "Not enough free disk on the host";
|
|
@@ -3694,6 +4275,13 @@ declare const impContract: {
|
|
|
3694
4275
|
readonly message: "The imp's agent is too old for this";
|
|
3695
4276
|
readonly status: 409;
|
|
3696
4277
|
};
|
|
4278
|
+
MOVING: {
|
|
4279
|
+
readonly message: "The imp is moving between hosts";
|
|
4280
|
+
readonly status: 409;
|
|
4281
|
+
readonly data: z.ZodObject<{
|
|
4282
|
+
retryAfterS: z.ZodInt;
|
|
4283
|
+
}, z.core.$strip>;
|
|
4284
|
+
};
|
|
3697
4285
|
}>, Record<never, never>>;
|
|
3698
4286
|
release: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3699
4287
|
name: z.ZodString;
|
|
@@ -3783,7 +4371,27 @@ declare const impContract: {
|
|
|
3783
4371
|
sleeping: "sleeping";
|
|
3784
4372
|
stopped: "stopped";
|
|
3785
4373
|
}>>;
|
|
3786
|
-
|
|
4374
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
4375
|
+
bootId: z.ZodString;
|
|
4376
|
+
cause: z.ZodEnum<{
|
|
4377
|
+
recovery: "recovery";
|
|
4378
|
+
restore: "restore";
|
|
4379
|
+
start: "start";
|
|
4380
|
+
unknown: "unknown";
|
|
4381
|
+
wake_fallback: "wake_fallback";
|
|
4382
|
+
watchdog: "watchdog";
|
|
4383
|
+
}>;
|
|
4384
|
+
at: z.ZodISODateTime;
|
|
4385
|
+
}, z.core.$strip>>>>>;
|
|
4386
|
+
}, z.core.$strip>;
|
|
4387
|
+
};
|
|
4388
|
+
INVALID_RESUME: {
|
|
4389
|
+
readonly message: "The resume offset is past the end of the output";
|
|
4390
|
+
readonly status: 409;
|
|
4391
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
4392
|
+
end: z.ZodInt;
|
|
4393
|
+
bufferStart: z.ZodInt;
|
|
4394
|
+
}, z.core.$strip>>;
|
|
3787
4395
|
};
|
|
3788
4396
|
DISK_FULL: {
|
|
3789
4397
|
readonly message: "Not enough free disk on the host";
|
|
@@ -3818,6 +4426,13 @@ declare const impContract: {
|
|
|
3818
4426
|
readonly message: "The imp's agent is too old for this";
|
|
3819
4427
|
readonly status: 409;
|
|
3820
4428
|
};
|
|
4429
|
+
MOVING: {
|
|
4430
|
+
readonly message: "The imp is moving between hosts";
|
|
4431
|
+
readonly status: 409;
|
|
4432
|
+
readonly data: z.ZodObject<{
|
|
4433
|
+
retryAfterS: z.ZodInt;
|
|
4434
|
+
}, z.core.$strip>;
|
|
4435
|
+
};
|
|
3821
4436
|
}>, Record<never, never>>;
|
|
3822
4437
|
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3823
4438
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -3913,7 +4528,27 @@ declare const impContract: {
|
|
|
3913
4528
|
sleeping: "sleeping";
|
|
3914
4529
|
stopped: "stopped";
|
|
3915
4530
|
}>>;
|
|
3916
|
-
|
|
4531
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
4532
|
+
bootId: z.ZodString;
|
|
4533
|
+
cause: z.ZodEnum<{
|
|
4534
|
+
recovery: "recovery";
|
|
4535
|
+
restore: "restore";
|
|
4536
|
+
start: "start";
|
|
4537
|
+
unknown: "unknown";
|
|
4538
|
+
wake_fallback: "wake_fallback";
|
|
4539
|
+
watchdog: "watchdog";
|
|
4540
|
+
}>;
|
|
4541
|
+
at: z.ZodISODateTime;
|
|
4542
|
+
}, z.core.$strip>>>>>;
|
|
4543
|
+
}, z.core.$strip>;
|
|
4544
|
+
};
|
|
4545
|
+
INVALID_RESUME: {
|
|
4546
|
+
readonly message: "The resume offset is past the end of the output";
|
|
4547
|
+
readonly status: 409;
|
|
4548
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
4549
|
+
end: z.ZodInt;
|
|
4550
|
+
bufferStart: z.ZodInt;
|
|
4551
|
+
}, z.core.$strip>>;
|
|
3917
4552
|
};
|
|
3918
4553
|
DISK_FULL: {
|
|
3919
4554
|
readonly message: "Not enough free disk on the host";
|
|
@@ -3948,18 +4583,26 @@ declare const impContract: {
|
|
|
3948
4583
|
readonly message: "The imp's agent is too old for this";
|
|
3949
4584
|
readonly status: 409;
|
|
3950
4585
|
};
|
|
4586
|
+
MOVING: {
|
|
4587
|
+
readonly message: "The imp is moving between hosts";
|
|
4588
|
+
readonly status: 409;
|
|
4589
|
+
readonly data: z.ZodObject<{
|
|
4590
|
+
retryAfterS: z.ZodInt;
|
|
4591
|
+
}, z.core.$strip>;
|
|
4592
|
+
};
|
|
3951
4593
|
}>, Record<never, never>>;
|
|
3952
4594
|
};
|
|
3953
|
-
|
|
3954
|
-
|
|
4595
|
+
moves: {
|
|
4596
|
+
prepare: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3955
4597
|
name: z.ZodString;
|
|
3956
|
-
|
|
4598
|
+
stop: z.ZodOptional<z.ZodBoolean>;
|
|
4599
|
+
targetStorage: z.ZodOptional<z.ZodEnum<{
|
|
4600
|
+
xfs: "xfs";
|
|
4601
|
+
zfs: "zfs";
|
|
4602
|
+
}>>;
|
|
3957
4603
|
}, z.core.$strip>, z.ZodObject<{
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
createdAt: z.ZodDate;
|
|
3961
|
-
sizeBytes: z.ZodOptional<z.ZodInt>;
|
|
3962
|
-
diskMib: z.ZodInt;
|
|
4604
|
+
bytes: z.ZodInt;
|
|
4605
|
+
checkpoints: z.ZodInt;
|
|
3963
4606
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3964
4607
|
NOT_FOUND: {
|
|
3965
4608
|
readonly message: "Not found";
|
|
@@ -4043,7 +4686,27 @@ declare const impContract: {
|
|
|
4043
4686
|
sleeping: "sleeping";
|
|
4044
4687
|
stopped: "stopped";
|
|
4045
4688
|
}>>;
|
|
4046
|
-
|
|
4689
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
4690
|
+
bootId: z.ZodString;
|
|
4691
|
+
cause: z.ZodEnum<{
|
|
4692
|
+
recovery: "recovery";
|
|
4693
|
+
restore: "restore";
|
|
4694
|
+
start: "start";
|
|
4695
|
+
unknown: "unknown";
|
|
4696
|
+
wake_fallback: "wake_fallback";
|
|
4697
|
+
watchdog: "watchdog";
|
|
4698
|
+
}>;
|
|
4699
|
+
at: z.ZodISODateTime;
|
|
4700
|
+
}, z.core.$strip>>>>>;
|
|
4701
|
+
}, z.core.$strip>;
|
|
4702
|
+
};
|
|
4703
|
+
INVALID_RESUME: {
|
|
4704
|
+
readonly message: "The resume offset is past the end of the output";
|
|
4705
|
+
readonly status: 409;
|
|
4706
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
4707
|
+
end: z.ZodInt;
|
|
4708
|
+
bufferStart: z.ZodInt;
|
|
4709
|
+
}, z.core.$strip>>;
|
|
4047
4710
|
};
|
|
4048
4711
|
DISK_FULL: {
|
|
4049
4712
|
readonly message: "Not enough free disk on the host";
|
|
@@ -4078,16 +4741,22 @@ declare const impContract: {
|
|
|
4078
4741
|
readonly message: "The imp's agent is too old for this";
|
|
4079
4742
|
readonly status: 409;
|
|
4080
4743
|
};
|
|
4744
|
+
MOVING: {
|
|
4745
|
+
readonly message: "The imp is moving between hosts";
|
|
4746
|
+
readonly status: 409;
|
|
4747
|
+
readonly data: z.ZodObject<{
|
|
4748
|
+
retryAfterS: z.ZodInt;
|
|
4749
|
+
}, z.core.$strip>;
|
|
4750
|
+
};
|
|
4081
4751
|
}>, Record<never, never>>;
|
|
4082
|
-
|
|
4752
|
+
receive: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4083
4753
|
name: z.ZodString;
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
4754
|
+
bytes: z.ZodInt;
|
|
4755
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4756
|
+
ticket: z.ZodString;
|
|
4757
|
+
expiresAt: z.ZodDate;
|
|
4758
|
+
peerUrl: z.ZodURL;
|
|
4759
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
4091
4760
|
NOT_FOUND: {
|
|
4092
4761
|
readonly message: "Not found";
|
|
4093
4762
|
readonly data: z.ZodObject<{
|
|
@@ -4170,7 +4839,27 @@ declare const impContract: {
|
|
|
4170
4839
|
sleeping: "sleeping";
|
|
4171
4840
|
stopped: "stopped";
|
|
4172
4841
|
}>>;
|
|
4173
|
-
|
|
4842
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
4843
|
+
bootId: z.ZodString;
|
|
4844
|
+
cause: z.ZodEnum<{
|
|
4845
|
+
recovery: "recovery";
|
|
4846
|
+
restore: "restore";
|
|
4847
|
+
start: "start";
|
|
4848
|
+
unknown: "unknown";
|
|
4849
|
+
wake_fallback: "wake_fallback";
|
|
4850
|
+
watchdog: "watchdog";
|
|
4851
|
+
}>;
|
|
4852
|
+
at: z.ZodISODateTime;
|
|
4853
|
+
}, z.core.$strip>>>>>;
|
|
4854
|
+
}, z.core.$strip>;
|
|
4855
|
+
};
|
|
4856
|
+
INVALID_RESUME: {
|
|
4857
|
+
readonly message: "The resume offset is past the end of the output";
|
|
4858
|
+
readonly status: 409;
|
|
4859
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
4860
|
+
end: z.ZodInt;
|
|
4861
|
+
bufferStart: z.ZodInt;
|
|
4862
|
+
}, z.core.$strip>>;
|
|
4174
4863
|
};
|
|
4175
4864
|
DISK_FULL: {
|
|
4176
4865
|
readonly message: "Not enough free disk on the host";
|
|
@@ -4205,88 +4894,29 @@ declare const impContract: {
|
|
|
4205
4894
|
readonly message: "The imp's agent is too old for this";
|
|
4206
4895
|
readonly status: 409;
|
|
4207
4896
|
};
|
|
4897
|
+
MOVING: {
|
|
4898
|
+
readonly message: "The imp is moving between hosts";
|
|
4899
|
+
readonly status: 409;
|
|
4900
|
+
readonly data: z.ZodObject<{
|
|
4901
|
+
retryAfterS: z.ZodInt;
|
|
4902
|
+
}, z.core.$strip>;
|
|
4903
|
+
};
|
|
4208
4904
|
}>, Record<never, never>>;
|
|
4209
|
-
|
|
4905
|
+
send: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4210
4906
|
name: z.ZodString;
|
|
4211
|
-
|
|
4907
|
+
to: z.ZodURL;
|
|
4908
|
+
ticket: z.ZodString;
|
|
4212
4909
|
}, z.core.$strip>, z.ZodObject<{
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
vcpus: z.ZodInt;
|
|
4224
|
-
memoryMib: z.ZodInt;
|
|
4225
|
-
diskMib: z.ZodInt;
|
|
4226
|
-
diskUsage: z.ZodOptional<z.ZodObject<{
|
|
4227
|
-
exclusiveBytes: z.ZodInt;
|
|
4228
|
-
sharedBytes: z.ZodInt;
|
|
4229
|
-
measuredAt: z.ZodDate;
|
|
4230
|
-
isPartial: z.ZodBoolean;
|
|
4231
|
-
isUpperBound: z.ZodBoolean;
|
|
4232
|
-
}, z.core.$strip>>;
|
|
4233
|
-
ip: z.ZodIPv4;
|
|
4234
|
-
slot: z.ZodInt;
|
|
4235
|
-
port: z.ZodInt;
|
|
4236
|
-
httpPort: z.ZodInt;
|
|
4237
|
-
url: z.ZodURL;
|
|
4238
|
-
public: z.ZodOptional<z.ZodObject<{
|
|
4239
|
-
auth: z.ZodEnum<{
|
|
4240
|
-
basic: "basic";
|
|
4241
|
-
none: "none";
|
|
4242
|
-
token: "token";
|
|
4243
|
-
}>;
|
|
4244
|
-
}, z.core.$strip>>;
|
|
4245
|
-
createdAt: z.ZodDate;
|
|
4246
|
-
lastActiveAt: z.ZodDate;
|
|
4247
|
-
ramMib: z.ZodOptional<z.ZodInt>;
|
|
4248
|
-
rssMib: z.ZodOptional<z.ZodInt>;
|
|
4249
|
-
sleptAt: z.ZodOptional<z.ZodDate>;
|
|
4250
|
-
holdUntil: z.ZodOptional<z.ZodDate>;
|
|
4251
|
-
leases: z.ZodOptional<z.ZodObject<{
|
|
4252
|
-
leases: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
4253
|
-
name: z.ZodString;
|
|
4254
|
-
owner: z.ZodObject<{
|
|
4255
|
-
principal: z.ZodString;
|
|
4256
|
-
display: z.ZodString;
|
|
4257
|
-
label: z.ZodString;
|
|
4258
|
-
}, z.core.$strip>;
|
|
4259
|
-
until: z.ZodNullable<z.ZodDate>;
|
|
4260
|
-
}, z.core.$strip>>>;
|
|
4261
|
-
otherCount: z.ZodInt;
|
|
4262
|
-
}, z.core.$strip>>;
|
|
4263
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4264
|
-
sessions: z.ZodOptional<z.ZodInt>;
|
|
4265
|
-
coldBootReason: z.ZodOptional<z.ZodString>;
|
|
4266
|
-
agentSilentSince: z.ZodOptional<z.ZodDate>;
|
|
4267
|
-
outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
4268
|
-
agent: "agent";
|
|
4269
|
-
firecracker: "firecracker";
|
|
4270
|
-
impd: "impd";
|
|
4271
|
-
ipv6: "ipv6";
|
|
4272
|
-
kernel: "kernel";
|
|
4273
|
-
}>>>>;
|
|
4274
|
-
cpu: z.ZodOptional<z.ZodObject<{
|
|
4275
|
-
limit: z.ZodNullable<z.ZodNumber>;
|
|
4276
|
-
weight: z.ZodInt;
|
|
4277
|
-
}, z.core.$strip>>;
|
|
4278
|
-
resources: z.ZodOptional<z.ZodObject<{
|
|
4279
|
-
wakeCount: z.ZodInt;
|
|
4280
|
-
awakeMs: z.ZodInt;
|
|
4281
|
-
sample: z.ZodOptional<z.ZodObject<{
|
|
4282
|
-
measuredAt: z.ZodDate;
|
|
4283
|
-
since: z.ZodDate;
|
|
4284
|
-
cpuPercent: z.ZodOptional<z.ZodNumber>;
|
|
4285
|
-
cpuThrottledMs: z.ZodInt;
|
|
4286
|
-
netRxBytes: z.ZodInt;
|
|
4287
|
-
netTxBytes: z.ZodInt;
|
|
4288
|
-
}, z.core.$strip>>;
|
|
4289
|
-
}, z.core.$strip>>;
|
|
4910
|
+
state: z.ZodNullable<z.ZodEnum<{
|
|
4911
|
+
moved: "moved";
|
|
4912
|
+
receiving: "receiving";
|
|
4913
|
+
sending: "sending";
|
|
4914
|
+
}>>;
|
|
4915
|
+
peer: z.ZodNullable<z.ZodString>;
|
|
4916
|
+
sentBytes: z.ZodInt;
|
|
4917
|
+
totalBytes: z.ZodInt;
|
|
4918
|
+
isDone: z.ZodBoolean;
|
|
4919
|
+
error: z.ZodNullable<z.ZodString>;
|
|
4290
4920
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
4291
4921
|
NOT_FOUND: {
|
|
4292
4922
|
readonly message: "Not found";
|
|
@@ -4370,7 +5000,27 @@ declare const impContract: {
|
|
|
4370
5000
|
sleeping: "sleeping";
|
|
4371
5001
|
stopped: "stopped";
|
|
4372
5002
|
}>>;
|
|
4373
|
-
|
|
5003
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
5004
|
+
bootId: z.ZodString;
|
|
5005
|
+
cause: z.ZodEnum<{
|
|
5006
|
+
recovery: "recovery";
|
|
5007
|
+
restore: "restore";
|
|
5008
|
+
start: "start";
|
|
5009
|
+
unknown: "unknown";
|
|
5010
|
+
wake_fallback: "wake_fallback";
|
|
5011
|
+
watchdog: "watchdog";
|
|
5012
|
+
}>;
|
|
5013
|
+
at: z.ZodISODateTime;
|
|
5014
|
+
}, z.core.$strip>>>>>;
|
|
5015
|
+
}, z.core.$strip>;
|
|
5016
|
+
};
|
|
5017
|
+
INVALID_RESUME: {
|
|
5018
|
+
readonly message: "The resume offset is past the end of the output";
|
|
5019
|
+
readonly status: 409;
|
|
5020
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
5021
|
+
end: z.ZodInt;
|
|
5022
|
+
bufferStart: z.ZodInt;
|
|
5023
|
+
}, z.core.$strip>>;
|
|
4374
5024
|
};
|
|
4375
5025
|
DISK_FULL: {
|
|
4376
5026
|
readonly message: "Not enough free disk on the host";
|
|
@@ -4405,7 +5055,1187 @@ declare const impContract: {
|
|
|
4405
5055
|
readonly message: "The imp's agent is too old for this";
|
|
4406
5056
|
readonly status: 409;
|
|
4407
5057
|
};
|
|
4408
|
-
|
|
5058
|
+
MOVING: {
|
|
5059
|
+
readonly message: "The imp is moving between hosts";
|
|
5060
|
+
readonly status: 409;
|
|
5061
|
+
readonly data: z.ZodObject<{
|
|
5062
|
+
retryAfterS: z.ZodInt;
|
|
5063
|
+
}, z.core.$strip>;
|
|
5064
|
+
};
|
|
5065
|
+
}>, Record<never, never>>;
|
|
5066
|
+
status: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5067
|
+
name: z.ZodString;
|
|
5068
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5069
|
+
state: z.ZodNullable<z.ZodEnum<{
|
|
5070
|
+
moved: "moved";
|
|
5071
|
+
receiving: "receiving";
|
|
5072
|
+
sending: "sending";
|
|
5073
|
+
}>>;
|
|
5074
|
+
peer: z.ZodNullable<z.ZodString>;
|
|
5075
|
+
sentBytes: z.ZodInt;
|
|
5076
|
+
totalBytes: z.ZodInt;
|
|
5077
|
+
isDone: z.ZodBoolean;
|
|
5078
|
+
error: z.ZodNullable<z.ZodString>;
|
|
5079
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
5080
|
+
NOT_FOUND: {
|
|
5081
|
+
readonly message: "Not found";
|
|
5082
|
+
readonly data: z.ZodObject<{
|
|
5083
|
+
kind: z.ZodEnum<{
|
|
5084
|
+
backup: "backup";
|
|
5085
|
+
checkpoint: "checkpoint";
|
|
5086
|
+
grant: "grant";
|
|
5087
|
+
image: "image";
|
|
5088
|
+
imp: "imp";
|
|
5089
|
+
network: "network";
|
|
5090
|
+
secret: "secret";
|
|
5091
|
+
service: "service";
|
|
5092
|
+
session: "session";
|
|
5093
|
+
"ssh-key": "ssh-key";
|
|
5094
|
+
token: "token";
|
|
5095
|
+
}>;
|
|
5096
|
+
name: z.ZodString;
|
|
5097
|
+
}, z.core.$strip>;
|
|
5098
|
+
};
|
|
5099
|
+
CONFLICT: {
|
|
5100
|
+
readonly message: "Already exists";
|
|
5101
|
+
readonly data: z.ZodObject<{
|
|
5102
|
+
kind: z.ZodEnum<{
|
|
5103
|
+
backup: "backup";
|
|
5104
|
+
checkpoint: "checkpoint";
|
|
5105
|
+
grant: "grant";
|
|
5106
|
+
image: "image";
|
|
5107
|
+
imp: "imp";
|
|
5108
|
+
network: "network";
|
|
5109
|
+
secret: "secret";
|
|
5110
|
+
service: "service";
|
|
5111
|
+
session: "session";
|
|
5112
|
+
"ssh-key": "ssh-key";
|
|
5113
|
+
token: "token";
|
|
5114
|
+
}>;
|
|
5115
|
+
name: z.ZodString;
|
|
5116
|
+
}, z.core.$strip>;
|
|
5117
|
+
};
|
|
5118
|
+
FORBIDDEN: {
|
|
5119
|
+
readonly message: "Not allowed";
|
|
5120
|
+
};
|
|
5121
|
+
PRECONDITION_FAILED: {
|
|
5122
|
+
readonly message: "Not possible on this host";
|
|
5123
|
+
};
|
|
5124
|
+
RAM_BUDGET_EXCEEDED: {
|
|
5125
|
+
readonly message: "Not enough RAM budget, even after sleeping idle imps";
|
|
5126
|
+
readonly status: 503;
|
|
5127
|
+
readonly data: z.ZodObject<{
|
|
5128
|
+
budgetMib: z.ZodInt;
|
|
5129
|
+
usedMib: z.ZodInt;
|
|
5130
|
+
requestedMib: z.ZodInt;
|
|
5131
|
+
neededMib: z.ZodOptional<z.ZodInt>;
|
|
5132
|
+
protected: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
5133
|
+
name: z.ZodString;
|
|
5134
|
+
ramMib: z.ZodInt;
|
|
5135
|
+
leased: z.ZodBoolean;
|
|
5136
|
+
busy: z.ZodBoolean;
|
|
5137
|
+
}, z.core.$strip>>>>;
|
|
5138
|
+
protectedHidden: z.ZodOptional<z.ZodInt>;
|
|
5139
|
+
}, z.core.$strip>;
|
|
5140
|
+
};
|
|
5141
|
+
SERVICE_UNAVAILABLE: {
|
|
5142
|
+
readonly message: "impd is stopping";
|
|
5143
|
+
};
|
|
5144
|
+
INVALID_STATE: {
|
|
5145
|
+
readonly message: "The imp is not in a state that allows this";
|
|
5146
|
+
readonly status: 409;
|
|
5147
|
+
readonly data: z.ZodObject<{
|
|
5148
|
+
state: z.ZodEnum<{
|
|
5149
|
+
creating: "creating";
|
|
5150
|
+
error: "error";
|
|
5151
|
+
running: "running";
|
|
5152
|
+
sleeping: "sleeping";
|
|
5153
|
+
stopped: "stopped";
|
|
5154
|
+
}>;
|
|
5155
|
+
allowed: z.ZodArray<z.ZodEnum<{
|
|
5156
|
+
creating: "creating";
|
|
5157
|
+
error: "error";
|
|
5158
|
+
running: "running";
|
|
5159
|
+
sleeping: "sleeping";
|
|
5160
|
+
stopped: "stopped";
|
|
5161
|
+
}>>;
|
|
5162
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
5163
|
+
bootId: z.ZodString;
|
|
5164
|
+
cause: z.ZodEnum<{
|
|
5165
|
+
recovery: "recovery";
|
|
5166
|
+
restore: "restore";
|
|
5167
|
+
start: "start";
|
|
5168
|
+
unknown: "unknown";
|
|
5169
|
+
wake_fallback: "wake_fallback";
|
|
5170
|
+
watchdog: "watchdog";
|
|
5171
|
+
}>;
|
|
5172
|
+
at: z.ZodISODateTime;
|
|
5173
|
+
}, z.core.$strip>>>>>;
|
|
5174
|
+
}, z.core.$strip>;
|
|
5175
|
+
};
|
|
5176
|
+
INVALID_RESUME: {
|
|
5177
|
+
readonly message: "The resume offset is past the end of the output";
|
|
5178
|
+
readonly status: 409;
|
|
5179
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
5180
|
+
end: z.ZodInt;
|
|
5181
|
+
bufferStart: z.ZodInt;
|
|
5182
|
+
}, z.core.$strip>>;
|
|
5183
|
+
};
|
|
5184
|
+
DISK_FULL: {
|
|
5185
|
+
readonly message: "Not enough free disk on the host";
|
|
5186
|
+
readonly status: 507;
|
|
5187
|
+
readonly data: z.ZodObject<{
|
|
5188
|
+
availableBytes: z.ZodInt;
|
|
5189
|
+
reserveBytes: z.ZodInt;
|
|
5190
|
+
requestedBytes: z.ZodInt;
|
|
5191
|
+
}, z.core.$strip>;
|
|
5192
|
+
};
|
|
5193
|
+
LEASED: {
|
|
5194
|
+
readonly message: "The imp is leased";
|
|
5195
|
+
readonly status: 409;
|
|
5196
|
+
readonly data: z.ZodObject<{
|
|
5197
|
+
leases: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
5198
|
+
name: z.ZodString;
|
|
5199
|
+
owner: z.ZodObject<{
|
|
5200
|
+
principal: z.ZodString;
|
|
5201
|
+
display: z.ZodString;
|
|
5202
|
+
label: z.ZodString;
|
|
5203
|
+
}, z.core.$strip>;
|
|
5204
|
+
until: z.ZodNullable<z.ZodDate>;
|
|
5205
|
+
}, z.core.$strip>>>;
|
|
5206
|
+
otherCount: z.ZodInt;
|
|
5207
|
+
}, z.core.$strip>;
|
|
5208
|
+
};
|
|
5209
|
+
LEASE_NOT_HELD: {
|
|
5210
|
+
readonly message: "The caller holds no such lease";
|
|
5211
|
+
readonly status: 409;
|
|
5212
|
+
};
|
|
5213
|
+
AGENT_OUTDATED: {
|
|
5214
|
+
readonly message: "The imp's agent is too old for this";
|
|
5215
|
+
readonly status: 409;
|
|
5216
|
+
};
|
|
5217
|
+
MOVING: {
|
|
5218
|
+
readonly message: "The imp is moving between hosts";
|
|
5219
|
+
readonly status: 409;
|
|
5220
|
+
readonly data: z.ZodObject<{
|
|
5221
|
+
retryAfterS: z.ZodInt;
|
|
5222
|
+
}, z.core.$strip>;
|
|
5223
|
+
};
|
|
5224
|
+
}>, Record<never, never>>;
|
|
5225
|
+
reissue: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5226
|
+
name: z.ZodString;
|
|
5227
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5228
|
+
ticket: z.ZodString;
|
|
5229
|
+
expiresAt: z.ZodDate;
|
|
5230
|
+
peerUrl: z.ZodURL;
|
|
5231
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
5232
|
+
NOT_FOUND: {
|
|
5233
|
+
readonly message: "Not found";
|
|
5234
|
+
readonly data: z.ZodObject<{
|
|
5235
|
+
kind: z.ZodEnum<{
|
|
5236
|
+
backup: "backup";
|
|
5237
|
+
checkpoint: "checkpoint";
|
|
5238
|
+
grant: "grant";
|
|
5239
|
+
image: "image";
|
|
5240
|
+
imp: "imp";
|
|
5241
|
+
network: "network";
|
|
5242
|
+
secret: "secret";
|
|
5243
|
+
service: "service";
|
|
5244
|
+
session: "session";
|
|
5245
|
+
"ssh-key": "ssh-key";
|
|
5246
|
+
token: "token";
|
|
5247
|
+
}>;
|
|
5248
|
+
name: z.ZodString;
|
|
5249
|
+
}, z.core.$strip>;
|
|
5250
|
+
};
|
|
5251
|
+
CONFLICT: {
|
|
5252
|
+
readonly message: "Already exists";
|
|
5253
|
+
readonly data: z.ZodObject<{
|
|
5254
|
+
kind: z.ZodEnum<{
|
|
5255
|
+
backup: "backup";
|
|
5256
|
+
checkpoint: "checkpoint";
|
|
5257
|
+
grant: "grant";
|
|
5258
|
+
image: "image";
|
|
5259
|
+
imp: "imp";
|
|
5260
|
+
network: "network";
|
|
5261
|
+
secret: "secret";
|
|
5262
|
+
service: "service";
|
|
5263
|
+
session: "session";
|
|
5264
|
+
"ssh-key": "ssh-key";
|
|
5265
|
+
token: "token";
|
|
5266
|
+
}>;
|
|
5267
|
+
name: z.ZodString;
|
|
5268
|
+
}, z.core.$strip>;
|
|
5269
|
+
};
|
|
5270
|
+
FORBIDDEN: {
|
|
5271
|
+
readonly message: "Not allowed";
|
|
5272
|
+
};
|
|
5273
|
+
PRECONDITION_FAILED: {
|
|
5274
|
+
readonly message: "Not possible on this host";
|
|
5275
|
+
};
|
|
5276
|
+
RAM_BUDGET_EXCEEDED: {
|
|
5277
|
+
readonly message: "Not enough RAM budget, even after sleeping idle imps";
|
|
5278
|
+
readonly status: 503;
|
|
5279
|
+
readonly data: z.ZodObject<{
|
|
5280
|
+
budgetMib: z.ZodInt;
|
|
5281
|
+
usedMib: z.ZodInt;
|
|
5282
|
+
requestedMib: z.ZodInt;
|
|
5283
|
+
neededMib: z.ZodOptional<z.ZodInt>;
|
|
5284
|
+
protected: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
5285
|
+
name: z.ZodString;
|
|
5286
|
+
ramMib: z.ZodInt;
|
|
5287
|
+
leased: z.ZodBoolean;
|
|
5288
|
+
busy: z.ZodBoolean;
|
|
5289
|
+
}, z.core.$strip>>>>;
|
|
5290
|
+
protectedHidden: z.ZodOptional<z.ZodInt>;
|
|
5291
|
+
}, z.core.$strip>;
|
|
5292
|
+
};
|
|
5293
|
+
SERVICE_UNAVAILABLE: {
|
|
5294
|
+
readonly message: "impd is stopping";
|
|
5295
|
+
};
|
|
5296
|
+
INVALID_STATE: {
|
|
5297
|
+
readonly message: "The imp is not in a state that allows this";
|
|
5298
|
+
readonly status: 409;
|
|
5299
|
+
readonly data: z.ZodObject<{
|
|
5300
|
+
state: z.ZodEnum<{
|
|
5301
|
+
creating: "creating";
|
|
5302
|
+
error: "error";
|
|
5303
|
+
running: "running";
|
|
5304
|
+
sleeping: "sleeping";
|
|
5305
|
+
stopped: "stopped";
|
|
5306
|
+
}>;
|
|
5307
|
+
allowed: z.ZodArray<z.ZodEnum<{
|
|
5308
|
+
creating: "creating";
|
|
5309
|
+
error: "error";
|
|
5310
|
+
running: "running";
|
|
5311
|
+
sleeping: "sleeping";
|
|
5312
|
+
stopped: "stopped";
|
|
5313
|
+
}>>;
|
|
5314
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
5315
|
+
bootId: z.ZodString;
|
|
5316
|
+
cause: z.ZodEnum<{
|
|
5317
|
+
recovery: "recovery";
|
|
5318
|
+
restore: "restore";
|
|
5319
|
+
start: "start";
|
|
5320
|
+
unknown: "unknown";
|
|
5321
|
+
wake_fallback: "wake_fallback";
|
|
5322
|
+
watchdog: "watchdog";
|
|
5323
|
+
}>;
|
|
5324
|
+
at: z.ZodISODateTime;
|
|
5325
|
+
}, z.core.$strip>>>>>;
|
|
5326
|
+
}, z.core.$strip>;
|
|
5327
|
+
};
|
|
5328
|
+
INVALID_RESUME: {
|
|
5329
|
+
readonly message: "The resume offset is past the end of the output";
|
|
5330
|
+
readonly status: 409;
|
|
5331
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
5332
|
+
end: z.ZodInt;
|
|
5333
|
+
bufferStart: z.ZodInt;
|
|
5334
|
+
}, z.core.$strip>>;
|
|
5335
|
+
};
|
|
5336
|
+
DISK_FULL: {
|
|
5337
|
+
readonly message: "Not enough free disk on the host";
|
|
5338
|
+
readonly status: 507;
|
|
5339
|
+
readonly data: z.ZodObject<{
|
|
5340
|
+
availableBytes: z.ZodInt;
|
|
5341
|
+
reserveBytes: z.ZodInt;
|
|
5342
|
+
requestedBytes: z.ZodInt;
|
|
5343
|
+
}, z.core.$strip>;
|
|
5344
|
+
};
|
|
5345
|
+
LEASED: {
|
|
5346
|
+
readonly message: "The imp is leased";
|
|
5347
|
+
readonly status: 409;
|
|
5348
|
+
readonly data: z.ZodObject<{
|
|
5349
|
+
leases: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
5350
|
+
name: z.ZodString;
|
|
5351
|
+
owner: z.ZodObject<{
|
|
5352
|
+
principal: z.ZodString;
|
|
5353
|
+
display: z.ZodString;
|
|
5354
|
+
label: z.ZodString;
|
|
5355
|
+
}, z.core.$strip>;
|
|
5356
|
+
until: z.ZodNullable<z.ZodDate>;
|
|
5357
|
+
}, z.core.$strip>>>;
|
|
5358
|
+
otherCount: z.ZodInt;
|
|
5359
|
+
}, z.core.$strip>;
|
|
5360
|
+
};
|
|
5361
|
+
LEASE_NOT_HELD: {
|
|
5362
|
+
readonly message: "The caller holds no such lease";
|
|
5363
|
+
readonly status: 409;
|
|
5364
|
+
};
|
|
5365
|
+
AGENT_OUTDATED: {
|
|
5366
|
+
readonly message: "The imp's agent is too old for this";
|
|
5367
|
+
readonly status: 409;
|
|
5368
|
+
};
|
|
5369
|
+
MOVING: {
|
|
5370
|
+
readonly message: "The imp is moving between hosts";
|
|
5371
|
+
readonly status: 409;
|
|
5372
|
+
readonly data: z.ZodObject<{
|
|
5373
|
+
retryAfterS: z.ZodInt;
|
|
5374
|
+
}, z.core.$strip>;
|
|
5375
|
+
};
|
|
5376
|
+
}>, Record<never, never>>;
|
|
5377
|
+
resume: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5378
|
+
name: z.ZodString;
|
|
5379
|
+
ticket: z.ZodOptional<z.ZodString>;
|
|
5380
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5381
|
+
state: z.ZodNullable<z.ZodEnum<{
|
|
5382
|
+
moved: "moved";
|
|
5383
|
+
receiving: "receiving";
|
|
5384
|
+
sending: "sending";
|
|
5385
|
+
}>>;
|
|
5386
|
+
peer: z.ZodNullable<z.ZodString>;
|
|
5387
|
+
sentBytes: z.ZodInt;
|
|
5388
|
+
totalBytes: z.ZodInt;
|
|
5389
|
+
isDone: z.ZodBoolean;
|
|
5390
|
+
error: z.ZodNullable<z.ZodString>;
|
|
5391
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
5392
|
+
NOT_FOUND: {
|
|
5393
|
+
readonly message: "Not found";
|
|
5394
|
+
readonly data: z.ZodObject<{
|
|
5395
|
+
kind: z.ZodEnum<{
|
|
5396
|
+
backup: "backup";
|
|
5397
|
+
checkpoint: "checkpoint";
|
|
5398
|
+
grant: "grant";
|
|
5399
|
+
image: "image";
|
|
5400
|
+
imp: "imp";
|
|
5401
|
+
network: "network";
|
|
5402
|
+
secret: "secret";
|
|
5403
|
+
service: "service";
|
|
5404
|
+
session: "session";
|
|
5405
|
+
"ssh-key": "ssh-key";
|
|
5406
|
+
token: "token";
|
|
5407
|
+
}>;
|
|
5408
|
+
name: z.ZodString;
|
|
5409
|
+
}, z.core.$strip>;
|
|
5410
|
+
};
|
|
5411
|
+
CONFLICT: {
|
|
5412
|
+
readonly message: "Already exists";
|
|
5413
|
+
readonly data: z.ZodObject<{
|
|
5414
|
+
kind: z.ZodEnum<{
|
|
5415
|
+
backup: "backup";
|
|
5416
|
+
checkpoint: "checkpoint";
|
|
5417
|
+
grant: "grant";
|
|
5418
|
+
image: "image";
|
|
5419
|
+
imp: "imp";
|
|
5420
|
+
network: "network";
|
|
5421
|
+
secret: "secret";
|
|
5422
|
+
service: "service";
|
|
5423
|
+
session: "session";
|
|
5424
|
+
"ssh-key": "ssh-key";
|
|
5425
|
+
token: "token";
|
|
5426
|
+
}>;
|
|
5427
|
+
name: z.ZodString;
|
|
5428
|
+
}, z.core.$strip>;
|
|
5429
|
+
};
|
|
5430
|
+
FORBIDDEN: {
|
|
5431
|
+
readonly message: "Not allowed";
|
|
5432
|
+
};
|
|
5433
|
+
PRECONDITION_FAILED: {
|
|
5434
|
+
readonly message: "Not possible on this host";
|
|
5435
|
+
};
|
|
5436
|
+
RAM_BUDGET_EXCEEDED: {
|
|
5437
|
+
readonly message: "Not enough RAM budget, even after sleeping idle imps";
|
|
5438
|
+
readonly status: 503;
|
|
5439
|
+
readonly data: z.ZodObject<{
|
|
5440
|
+
budgetMib: z.ZodInt;
|
|
5441
|
+
usedMib: z.ZodInt;
|
|
5442
|
+
requestedMib: z.ZodInt;
|
|
5443
|
+
neededMib: z.ZodOptional<z.ZodInt>;
|
|
5444
|
+
protected: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
5445
|
+
name: z.ZodString;
|
|
5446
|
+
ramMib: z.ZodInt;
|
|
5447
|
+
leased: z.ZodBoolean;
|
|
5448
|
+
busy: z.ZodBoolean;
|
|
5449
|
+
}, z.core.$strip>>>>;
|
|
5450
|
+
protectedHidden: z.ZodOptional<z.ZodInt>;
|
|
5451
|
+
}, z.core.$strip>;
|
|
5452
|
+
};
|
|
5453
|
+
SERVICE_UNAVAILABLE: {
|
|
5454
|
+
readonly message: "impd is stopping";
|
|
5455
|
+
};
|
|
5456
|
+
INVALID_STATE: {
|
|
5457
|
+
readonly message: "The imp is not in a state that allows this";
|
|
5458
|
+
readonly status: 409;
|
|
5459
|
+
readonly data: z.ZodObject<{
|
|
5460
|
+
state: z.ZodEnum<{
|
|
5461
|
+
creating: "creating";
|
|
5462
|
+
error: "error";
|
|
5463
|
+
running: "running";
|
|
5464
|
+
sleeping: "sleeping";
|
|
5465
|
+
stopped: "stopped";
|
|
5466
|
+
}>;
|
|
5467
|
+
allowed: z.ZodArray<z.ZodEnum<{
|
|
5468
|
+
creating: "creating";
|
|
5469
|
+
error: "error";
|
|
5470
|
+
running: "running";
|
|
5471
|
+
sleeping: "sleeping";
|
|
5472
|
+
stopped: "stopped";
|
|
5473
|
+
}>>;
|
|
5474
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
5475
|
+
bootId: z.ZodString;
|
|
5476
|
+
cause: z.ZodEnum<{
|
|
5477
|
+
recovery: "recovery";
|
|
5478
|
+
restore: "restore";
|
|
5479
|
+
start: "start";
|
|
5480
|
+
unknown: "unknown";
|
|
5481
|
+
wake_fallback: "wake_fallback";
|
|
5482
|
+
watchdog: "watchdog";
|
|
5483
|
+
}>;
|
|
5484
|
+
at: z.ZodISODateTime;
|
|
5485
|
+
}, z.core.$strip>>>>>;
|
|
5486
|
+
}, z.core.$strip>;
|
|
5487
|
+
};
|
|
5488
|
+
INVALID_RESUME: {
|
|
5489
|
+
readonly message: "The resume offset is past the end of the output";
|
|
5490
|
+
readonly status: 409;
|
|
5491
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
5492
|
+
end: z.ZodInt;
|
|
5493
|
+
bufferStart: z.ZodInt;
|
|
5494
|
+
}, z.core.$strip>>;
|
|
5495
|
+
};
|
|
5496
|
+
DISK_FULL: {
|
|
5497
|
+
readonly message: "Not enough free disk on the host";
|
|
5498
|
+
readonly status: 507;
|
|
5499
|
+
readonly data: z.ZodObject<{
|
|
5500
|
+
availableBytes: z.ZodInt;
|
|
5501
|
+
reserveBytes: z.ZodInt;
|
|
5502
|
+
requestedBytes: z.ZodInt;
|
|
5503
|
+
}, z.core.$strip>;
|
|
5504
|
+
};
|
|
5505
|
+
LEASED: {
|
|
5506
|
+
readonly message: "The imp is leased";
|
|
5507
|
+
readonly status: 409;
|
|
5508
|
+
readonly data: z.ZodObject<{
|
|
5509
|
+
leases: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
5510
|
+
name: z.ZodString;
|
|
5511
|
+
owner: z.ZodObject<{
|
|
5512
|
+
principal: z.ZodString;
|
|
5513
|
+
display: z.ZodString;
|
|
5514
|
+
label: z.ZodString;
|
|
5515
|
+
}, z.core.$strip>;
|
|
5516
|
+
until: z.ZodNullable<z.ZodDate>;
|
|
5517
|
+
}, z.core.$strip>>>;
|
|
5518
|
+
otherCount: z.ZodInt;
|
|
5519
|
+
}, z.core.$strip>;
|
|
5520
|
+
};
|
|
5521
|
+
LEASE_NOT_HELD: {
|
|
5522
|
+
readonly message: "The caller holds no such lease";
|
|
5523
|
+
readonly status: 409;
|
|
5524
|
+
};
|
|
5525
|
+
AGENT_OUTDATED: {
|
|
5526
|
+
readonly message: "The imp's agent is too old for this";
|
|
5527
|
+
readonly status: 409;
|
|
5528
|
+
};
|
|
5529
|
+
MOVING: {
|
|
5530
|
+
readonly message: "The imp is moving between hosts";
|
|
5531
|
+
readonly status: 409;
|
|
5532
|
+
readonly data: z.ZodObject<{
|
|
5533
|
+
retryAfterS: z.ZodInt;
|
|
5534
|
+
}, z.core.$strip>;
|
|
5535
|
+
};
|
|
5536
|
+
}>, Record<never, never>>;
|
|
5537
|
+
abort: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5538
|
+
name: z.ZodString;
|
|
5539
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5540
|
+
state: z.ZodNullable<z.ZodEnum<{
|
|
5541
|
+
moved: "moved";
|
|
5542
|
+
receiving: "receiving";
|
|
5543
|
+
sending: "sending";
|
|
5544
|
+
}>>;
|
|
5545
|
+
peer: z.ZodNullable<z.ZodString>;
|
|
5546
|
+
sentBytes: z.ZodInt;
|
|
5547
|
+
totalBytes: z.ZodInt;
|
|
5548
|
+
isDone: z.ZodBoolean;
|
|
5549
|
+
error: z.ZodNullable<z.ZodString>;
|
|
5550
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
5551
|
+
NOT_FOUND: {
|
|
5552
|
+
readonly message: "Not found";
|
|
5553
|
+
readonly data: z.ZodObject<{
|
|
5554
|
+
kind: z.ZodEnum<{
|
|
5555
|
+
backup: "backup";
|
|
5556
|
+
checkpoint: "checkpoint";
|
|
5557
|
+
grant: "grant";
|
|
5558
|
+
image: "image";
|
|
5559
|
+
imp: "imp";
|
|
5560
|
+
network: "network";
|
|
5561
|
+
secret: "secret";
|
|
5562
|
+
service: "service";
|
|
5563
|
+
session: "session";
|
|
5564
|
+
"ssh-key": "ssh-key";
|
|
5565
|
+
token: "token";
|
|
5566
|
+
}>;
|
|
5567
|
+
name: z.ZodString;
|
|
5568
|
+
}, z.core.$strip>;
|
|
5569
|
+
};
|
|
5570
|
+
CONFLICT: {
|
|
5571
|
+
readonly message: "Already exists";
|
|
5572
|
+
readonly data: z.ZodObject<{
|
|
5573
|
+
kind: z.ZodEnum<{
|
|
5574
|
+
backup: "backup";
|
|
5575
|
+
checkpoint: "checkpoint";
|
|
5576
|
+
grant: "grant";
|
|
5577
|
+
image: "image";
|
|
5578
|
+
imp: "imp";
|
|
5579
|
+
network: "network";
|
|
5580
|
+
secret: "secret";
|
|
5581
|
+
service: "service";
|
|
5582
|
+
session: "session";
|
|
5583
|
+
"ssh-key": "ssh-key";
|
|
5584
|
+
token: "token";
|
|
5585
|
+
}>;
|
|
5586
|
+
name: z.ZodString;
|
|
5587
|
+
}, z.core.$strip>;
|
|
5588
|
+
};
|
|
5589
|
+
FORBIDDEN: {
|
|
5590
|
+
readonly message: "Not allowed";
|
|
5591
|
+
};
|
|
5592
|
+
PRECONDITION_FAILED: {
|
|
5593
|
+
readonly message: "Not possible on this host";
|
|
5594
|
+
};
|
|
5595
|
+
RAM_BUDGET_EXCEEDED: {
|
|
5596
|
+
readonly message: "Not enough RAM budget, even after sleeping idle imps";
|
|
5597
|
+
readonly status: 503;
|
|
5598
|
+
readonly data: z.ZodObject<{
|
|
5599
|
+
budgetMib: z.ZodInt;
|
|
5600
|
+
usedMib: z.ZodInt;
|
|
5601
|
+
requestedMib: z.ZodInt;
|
|
5602
|
+
neededMib: z.ZodOptional<z.ZodInt>;
|
|
5603
|
+
protected: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
5604
|
+
name: z.ZodString;
|
|
5605
|
+
ramMib: z.ZodInt;
|
|
5606
|
+
leased: z.ZodBoolean;
|
|
5607
|
+
busy: z.ZodBoolean;
|
|
5608
|
+
}, z.core.$strip>>>>;
|
|
5609
|
+
protectedHidden: z.ZodOptional<z.ZodInt>;
|
|
5610
|
+
}, z.core.$strip>;
|
|
5611
|
+
};
|
|
5612
|
+
SERVICE_UNAVAILABLE: {
|
|
5613
|
+
readonly message: "impd is stopping";
|
|
5614
|
+
};
|
|
5615
|
+
INVALID_STATE: {
|
|
5616
|
+
readonly message: "The imp is not in a state that allows this";
|
|
5617
|
+
readonly status: 409;
|
|
5618
|
+
readonly data: z.ZodObject<{
|
|
5619
|
+
state: z.ZodEnum<{
|
|
5620
|
+
creating: "creating";
|
|
5621
|
+
error: "error";
|
|
5622
|
+
running: "running";
|
|
5623
|
+
sleeping: "sleeping";
|
|
5624
|
+
stopped: "stopped";
|
|
5625
|
+
}>;
|
|
5626
|
+
allowed: z.ZodArray<z.ZodEnum<{
|
|
5627
|
+
creating: "creating";
|
|
5628
|
+
error: "error";
|
|
5629
|
+
running: "running";
|
|
5630
|
+
sleeping: "sleeping";
|
|
5631
|
+
stopped: "stopped";
|
|
5632
|
+
}>>;
|
|
5633
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
5634
|
+
bootId: z.ZodString;
|
|
5635
|
+
cause: z.ZodEnum<{
|
|
5636
|
+
recovery: "recovery";
|
|
5637
|
+
restore: "restore";
|
|
5638
|
+
start: "start";
|
|
5639
|
+
unknown: "unknown";
|
|
5640
|
+
wake_fallback: "wake_fallback";
|
|
5641
|
+
watchdog: "watchdog";
|
|
5642
|
+
}>;
|
|
5643
|
+
at: z.ZodISODateTime;
|
|
5644
|
+
}, z.core.$strip>>>>>;
|
|
5645
|
+
}, z.core.$strip>;
|
|
5646
|
+
};
|
|
5647
|
+
INVALID_RESUME: {
|
|
5648
|
+
readonly message: "The resume offset is past the end of the output";
|
|
5649
|
+
readonly status: 409;
|
|
5650
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
5651
|
+
end: z.ZodInt;
|
|
5652
|
+
bufferStart: z.ZodInt;
|
|
5653
|
+
}, z.core.$strip>>;
|
|
5654
|
+
};
|
|
5655
|
+
DISK_FULL: {
|
|
5656
|
+
readonly message: "Not enough free disk on the host";
|
|
5657
|
+
readonly status: 507;
|
|
5658
|
+
readonly data: z.ZodObject<{
|
|
5659
|
+
availableBytes: z.ZodInt;
|
|
5660
|
+
reserveBytes: z.ZodInt;
|
|
5661
|
+
requestedBytes: z.ZodInt;
|
|
5662
|
+
}, z.core.$strip>;
|
|
5663
|
+
};
|
|
5664
|
+
LEASED: {
|
|
5665
|
+
readonly message: "The imp is leased";
|
|
5666
|
+
readonly status: 409;
|
|
5667
|
+
readonly data: z.ZodObject<{
|
|
5668
|
+
leases: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
5669
|
+
name: z.ZodString;
|
|
5670
|
+
owner: z.ZodObject<{
|
|
5671
|
+
principal: z.ZodString;
|
|
5672
|
+
display: z.ZodString;
|
|
5673
|
+
label: z.ZodString;
|
|
5674
|
+
}, z.core.$strip>;
|
|
5675
|
+
until: z.ZodNullable<z.ZodDate>;
|
|
5676
|
+
}, z.core.$strip>>>;
|
|
5677
|
+
otherCount: z.ZodInt;
|
|
5678
|
+
}, z.core.$strip>;
|
|
5679
|
+
};
|
|
5680
|
+
LEASE_NOT_HELD: {
|
|
5681
|
+
readonly message: "The caller holds no such lease";
|
|
5682
|
+
readonly status: 409;
|
|
5683
|
+
};
|
|
5684
|
+
AGENT_OUTDATED: {
|
|
5685
|
+
readonly message: "The imp's agent is too old for this";
|
|
5686
|
+
readonly status: 409;
|
|
5687
|
+
};
|
|
5688
|
+
MOVING: {
|
|
5689
|
+
readonly message: "The imp is moving between hosts";
|
|
5690
|
+
readonly status: 409;
|
|
5691
|
+
readonly data: z.ZodObject<{
|
|
5692
|
+
retryAfterS: z.ZodInt;
|
|
5693
|
+
}, z.core.$strip>;
|
|
5694
|
+
};
|
|
5695
|
+
}>, Record<never, never>>;
|
|
5696
|
+
};
|
|
5697
|
+
checkpoints: {
|
|
5698
|
+
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5699
|
+
name: z.ZodString;
|
|
5700
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5701
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5702
|
+
id: z.ZodString;
|
|
5703
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5704
|
+
createdAt: z.ZodDate;
|
|
5705
|
+
sizeBytes: z.ZodOptional<z.ZodInt>;
|
|
5706
|
+
diskMib: z.ZodInt;
|
|
5707
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
5708
|
+
NOT_FOUND: {
|
|
5709
|
+
readonly message: "Not found";
|
|
5710
|
+
readonly data: z.ZodObject<{
|
|
5711
|
+
kind: z.ZodEnum<{
|
|
5712
|
+
backup: "backup";
|
|
5713
|
+
checkpoint: "checkpoint";
|
|
5714
|
+
grant: "grant";
|
|
5715
|
+
image: "image";
|
|
5716
|
+
imp: "imp";
|
|
5717
|
+
network: "network";
|
|
5718
|
+
secret: "secret";
|
|
5719
|
+
service: "service";
|
|
5720
|
+
session: "session";
|
|
5721
|
+
"ssh-key": "ssh-key";
|
|
5722
|
+
token: "token";
|
|
5723
|
+
}>;
|
|
5724
|
+
name: z.ZodString;
|
|
5725
|
+
}, z.core.$strip>;
|
|
5726
|
+
};
|
|
5727
|
+
CONFLICT: {
|
|
5728
|
+
readonly message: "Already exists";
|
|
5729
|
+
readonly data: z.ZodObject<{
|
|
5730
|
+
kind: z.ZodEnum<{
|
|
5731
|
+
backup: "backup";
|
|
5732
|
+
checkpoint: "checkpoint";
|
|
5733
|
+
grant: "grant";
|
|
5734
|
+
image: "image";
|
|
5735
|
+
imp: "imp";
|
|
5736
|
+
network: "network";
|
|
5737
|
+
secret: "secret";
|
|
5738
|
+
service: "service";
|
|
5739
|
+
session: "session";
|
|
5740
|
+
"ssh-key": "ssh-key";
|
|
5741
|
+
token: "token";
|
|
5742
|
+
}>;
|
|
5743
|
+
name: z.ZodString;
|
|
5744
|
+
}, z.core.$strip>;
|
|
5745
|
+
};
|
|
5746
|
+
FORBIDDEN: {
|
|
5747
|
+
readonly message: "Not allowed";
|
|
5748
|
+
};
|
|
5749
|
+
PRECONDITION_FAILED: {
|
|
5750
|
+
readonly message: "Not possible on this host";
|
|
5751
|
+
};
|
|
5752
|
+
RAM_BUDGET_EXCEEDED: {
|
|
5753
|
+
readonly message: "Not enough RAM budget, even after sleeping idle imps";
|
|
5754
|
+
readonly status: 503;
|
|
5755
|
+
readonly data: z.ZodObject<{
|
|
5756
|
+
budgetMib: z.ZodInt;
|
|
5757
|
+
usedMib: z.ZodInt;
|
|
5758
|
+
requestedMib: z.ZodInt;
|
|
5759
|
+
neededMib: z.ZodOptional<z.ZodInt>;
|
|
5760
|
+
protected: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
5761
|
+
name: z.ZodString;
|
|
5762
|
+
ramMib: z.ZodInt;
|
|
5763
|
+
leased: z.ZodBoolean;
|
|
5764
|
+
busy: z.ZodBoolean;
|
|
5765
|
+
}, z.core.$strip>>>>;
|
|
5766
|
+
protectedHidden: z.ZodOptional<z.ZodInt>;
|
|
5767
|
+
}, z.core.$strip>;
|
|
5768
|
+
};
|
|
5769
|
+
SERVICE_UNAVAILABLE: {
|
|
5770
|
+
readonly message: "impd is stopping";
|
|
5771
|
+
};
|
|
5772
|
+
INVALID_STATE: {
|
|
5773
|
+
readonly message: "The imp is not in a state that allows this";
|
|
5774
|
+
readonly status: 409;
|
|
5775
|
+
readonly data: z.ZodObject<{
|
|
5776
|
+
state: z.ZodEnum<{
|
|
5777
|
+
creating: "creating";
|
|
5778
|
+
error: "error";
|
|
5779
|
+
running: "running";
|
|
5780
|
+
sleeping: "sleeping";
|
|
5781
|
+
stopped: "stopped";
|
|
5782
|
+
}>;
|
|
5783
|
+
allowed: z.ZodArray<z.ZodEnum<{
|
|
5784
|
+
creating: "creating";
|
|
5785
|
+
error: "error";
|
|
5786
|
+
running: "running";
|
|
5787
|
+
sleeping: "sleeping";
|
|
5788
|
+
stopped: "stopped";
|
|
5789
|
+
}>>;
|
|
5790
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
5791
|
+
bootId: z.ZodString;
|
|
5792
|
+
cause: z.ZodEnum<{
|
|
5793
|
+
recovery: "recovery";
|
|
5794
|
+
restore: "restore";
|
|
5795
|
+
start: "start";
|
|
5796
|
+
unknown: "unknown";
|
|
5797
|
+
wake_fallback: "wake_fallback";
|
|
5798
|
+
watchdog: "watchdog";
|
|
5799
|
+
}>;
|
|
5800
|
+
at: z.ZodISODateTime;
|
|
5801
|
+
}, z.core.$strip>>>>>;
|
|
5802
|
+
}, z.core.$strip>;
|
|
5803
|
+
};
|
|
5804
|
+
INVALID_RESUME: {
|
|
5805
|
+
readonly message: "The resume offset is past the end of the output";
|
|
5806
|
+
readonly status: 409;
|
|
5807
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
5808
|
+
end: z.ZodInt;
|
|
5809
|
+
bufferStart: z.ZodInt;
|
|
5810
|
+
}, z.core.$strip>>;
|
|
5811
|
+
};
|
|
5812
|
+
DISK_FULL: {
|
|
5813
|
+
readonly message: "Not enough free disk on the host";
|
|
5814
|
+
readonly status: 507;
|
|
5815
|
+
readonly data: z.ZodObject<{
|
|
5816
|
+
availableBytes: z.ZodInt;
|
|
5817
|
+
reserveBytes: z.ZodInt;
|
|
5818
|
+
requestedBytes: z.ZodInt;
|
|
5819
|
+
}, z.core.$strip>;
|
|
5820
|
+
};
|
|
5821
|
+
LEASED: {
|
|
5822
|
+
readonly message: "The imp is leased";
|
|
5823
|
+
readonly status: 409;
|
|
5824
|
+
readonly data: z.ZodObject<{
|
|
5825
|
+
leases: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
5826
|
+
name: z.ZodString;
|
|
5827
|
+
owner: z.ZodObject<{
|
|
5828
|
+
principal: z.ZodString;
|
|
5829
|
+
display: z.ZodString;
|
|
5830
|
+
label: z.ZodString;
|
|
5831
|
+
}, z.core.$strip>;
|
|
5832
|
+
until: z.ZodNullable<z.ZodDate>;
|
|
5833
|
+
}, z.core.$strip>>>;
|
|
5834
|
+
otherCount: z.ZodInt;
|
|
5835
|
+
}, z.core.$strip>;
|
|
5836
|
+
};
|
|
5837
|
+
LEASE_NOT_HELD: {
|
|
5838
|
+
readonly message: "The caller holds no such lease";
|
|
5839
|
+
readonly status: 409;
|
|
5840
|
+
};
|
|
5841
|
+
AGENT_OUTDATED: {
|
|
5842
|
+
readonly message: "The imp's agent is too old for this";
|
|
5843
|
+
readonly status: 409;
|
|
5844
|
+
};
|
|
5845
|
+
MOVING: {
|
|
5846
|
+
readonly message: "The imp is moving between hosts";
|
|
5847
|
+
readonly status: 409;
|
|
5848
|
+
readonly data: z.ZodObject<{
|
|
5849
|
+
retryAfterS: z.ZodInt;
|
|
5850
|
+
}, z.core.$strip>;
|
|
5851
|
+
};
|
|
5852
|
+
}>, Record<never, never>>;
|
|
5853
|
+
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5854
|
+
name: z.ZodString;
|
|
5855
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
5856
|
+
id: z.ZodString;
|
|
5857
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5858
|
+
createdAt: z.ZodDate;
|
|
5859
|
+
sizeBytes: z.ZodOptional<z.ZodInt>;
|
|
5860
|
+
diskMib: z.ZodInt;
|
|
5861
|
+
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
5862
|
+
NOT_FOUND: {
|
|
5863
|
+
readonly message: "Not found";
|
|
5864
|
+
readonly data: z.ZodObject<{
|
|
5865
|
+
kind: z.ZodEnum<{
|
|
5866
|
+
backup: "backup";
|
|
5867
|
+
checkpoint: "checkpoint";
|
|
5868
|
+
grant: "grant";
|
|
5869
|
+
image: "image";
|
|
5870
|
+
imp: "imp";
|
|
5871
|
+
network: "network";
|
|
5872
|
+
secret: "secret";
|
|
5873
|
+
service: "service";
|
|
5874
|
+
session: "session";
|
|
5875
|
+
"ssh-key": "ssh-key";
|
|
5876
|
+
token: "token";
|
|
5877
|
+
}>;
|
|
5878
|
+
name: z.ZodString;
|
|
5879
|
+
}, z.core.$strip>;
|
|
5880
|
+
};
|
|
5881
|
+
CONFLICT: {
|
|
5882
|
+
readonly message: "Already exists";
|
|
5883
|
+
readonly data: z.ZodObject<{
|
|
5884
|
+
kind: z.ZodEnum<{
|
|
5885
|
+
backup: "backup";
|
|
5886
|
+
checkpoint: "checkpoint";
|
|
5887
|
+
grant: "grant";
|
|
5888
|
+
image: "image";
|
|
5889
|
+
imp: "imp";
|
|
5890
|
+
network: "network";
|
|
5891
|
+
secret: "secret";
|
|
5892
|
+
service: "service";
|
|
5893
|
+
session: "session";
|
|
5894
|
+
"ssh-key": "ssh-key";
|
|
5895
|
+
token: "token";
|
|
5896
|
+
}>;
|
|
5897
|
+
name: z.ZodString;
|
|
5898
|
+
}, z.core.$strip>;
|
|
5899
|
+
};
|
|
5900
|
+
FORBIDDEN: {
|
|
5901
|
+
readonly message: "Not allowed";
|
|
5902
|
+
};
|
|
5903
|
+
PRECONDITION_FAILED: {
|
|
5904
|
+
readonly message: "Not possible on this host";
|
|
5905
|
+
};
|
|
5906
|
+
RAM_BUDGET_EXCEEDED: {
|
|
5907
|
+
readonly message: "Not enough RAM budget, even after sleeping idle imps";
|
|
5908
|
+
readonly status: 503;
|
|
5909
|
+
readonly data: z.ZodObject<{
|
|
5910
|
+
budgetMib: z.ZodInt;
|
|
5911
|
+
usedMib: z.ZodInt;
|
|
5912
|
+
requestedMib: z.ZodInt;
|
|
5913
|
+
neededMib: z.ZodOptional<z.ZodInt>;
|
|
5914
|
+
protected: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
5915
|
+
name: z.ZodString;
|
|
5916
|
+
ramMib: z.ZodInt;
|
|
5917
|
+
leased: z.ZodBoolean;
|
|
5918
|
+
busy: z.ZodBoolean;
|
|
5919
|
+
}, z.core.$strip>>>>;
|
|
5920
|
+
protectedHidden: z.ZodOptional<z.ZodInt>;
|
|
5921
|
+
}, z.core.$strip>;
|
|
5922
|
+
};
|
|
5923
|
+
SERVICE_UNAVAILABLE: {
|
|
5924
|
+
readonly message: "impd is stopping";
|
|
5925
|
+
};
|
|
5926
|
+
INVALID_STATE: {
|
|
5927
|
+
readonly message: "The imp is not in a state that allows this";
|
|
5928
|
+
readonly status: 409;
|
|
5929
|
+
readonly data: z.ZodObject<{
|
|
5930
|
+
state: z.ZodEnum<{
|
|
5931
|
+
creating: "creating";
|
|
5932
|
+
error: "error";
|
|
5933
|
+
running: "running";
|
|
5934
|
+
sleeping: "sleeping";
|
|
5935
|
+
stopped: "stopped";
|
|
5936
|
+
}>;
|
|
5937
|
+
allowed: z.ZodArray<z.ZodEnum<{
|
|
5938
|
+
creating: "creating";
|
|
5939
|
+
error: "error";
|
|
5940
|
+
running: "running";
|
|
5941
|
+
sleeping: "sleeping";
|
|
5942
|
+
stopped: "stopped";
|
|
5943
|
+
}>>;
|
|
5944
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
5945
|
+
bootId: z.ZodString;
|
|
5946
|
+
cause: z.ZodEnum<{
|
|
5947
|
+
recovery: "recovery";
|
|
5948
|
+
restore: "restore";
|
|
5949
|
+
start: "start";
|
|
5950
|
+
unknown: "unknown";
|
|
5951
|
+
wake_fallback: "wake_fallback";
|
|
5952
|
+
watchdog: "watchdog";
|
|
5953
|
+
}>;
|
|
5954
|
+
at: z.ZodISODateTime;
|
|
5955
|
+
}, z.core.$strip>>>>>;
|
|
5956
|
+
}, z.core.$strip>;
|
|
5957
|
+
};
|
|
5958
|
+
INVALID_RESUME: {
|
|
5959
|
+
readonly message: "The resume offset is past the end of the output";
|
|
5960
|
+
readonly status: 409;
|
|
5961
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
5962
|
+
end: z.ZodInt;
|
|
5963
|
+
bufferStart: z.ZodInt;
|
|
5964
|
+
}, z.core.$strip>>;
|
|
5965
|
+
};
|
|
5966
|
+
DISK_FULL: {
|
|
5967
|
+
readonly message: "Not enough free disk on the host";
|
|
5968
|
+
readonly status: 507;
|
|
5969
|
+
readonly data: z.ZodObject<{
|
|
5970
|
+
availableBytes: z.ZodInt;
|
|
5971
|
+
reserveBytes: z.ZodInt;
|
|
5972
|
+
requestedBytes: z.ZodInt;
|
|
5973
|
+
}, z.core.$strip>;
|
|
5974
|
+
};
|
|
5975
|
+
LEASED: {
|
|
5976
|
+
readonly message: "The imp is leased";
|
|
5977
|
+
readonly status: 409;
|
|
5978
|
+
readonly data: z.ZodObject<{
|
|
5979
|
+
leases: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
5980
|
+
name: z.ZodString;
|
|
5981
|
+
owner: z.ZodObject<{
|
|
5982
|
+
principal: z.ZodString;
|
|
5983
|
+
display: z.ZodString;
|
|
5984
|
+
label: z.ZodString;
|
|
5985
|
+
}, z.core.$strip>;
|
|
5986
|
+
until: z.ZodNullable<z.ZodDate>;
|
|
5987
|
+
}, z.core.$strip>>>;
|
|
5988
|
+
otherCount: z.ZodInt;
|
|
5989
|
+
}, z.core.$strip>;
|
|
5990
|
+
};
|
|
5991
|
+
LEASE_NOT_HELD: {
|
|
5992
|
+
readonly message: "The caller holds no such lease";
|
|
5993
|
+
readonly status: 409;
|
|
5994
|
+
};
|
|
5995
|
+
AGENT_OUTDATED: {
|
|
5996
|
+
readonly message: "The imp's agent is too old for this";
|
|
5997
|
+
readonly status: 409;
|
|
5998
|
+
};
|
|
5999
|
+
MOVING: {
|
|
6000
|
+
readonly message: "The imp is moving between hosts";
|
|
6001
|
+
readonly status: 409;
|
|
6002
|
+
readonly data: z.ZodObject<{
|
|
6003
|
+
retryAfterS: z.ZodInt;
|
|
6004
|
+
}, z.core.$strip>;
|
|
6005
|
+
};
|
|
6006
|
+
}>, Record<never, never>>;
|
|
6007
|
+
restore: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
6008
|
+
name: z.ZodString;
|
|
6009
|
+
checkpoint: z.ZodString;
|
|
6010
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6011
|
+
id: z.ZodString;
|
|
6012
|
+
name: z.ZodString;
|
|
6013
|
+
image: z.ZodString;
|
|
6014
|
+
state: z.ZodEnum<{
|
|
6015
|
+
creating: "creating";
|
|
6016
|
+
error: "error";
|
|
6017
|
+
running: "running";
|
|
6018
|
+
sleeping: "sleeping";
|
|
6019
|
+
stopped: "stopped";
|
|
6020
|
+
}>;
|
|
6021
|
+
vcpus: z.ZodInt;
|
|
6022
|
+
memoryMib: z.ZodInt;
|
|
6023
|
+
diskMib: z.ZodInt;
|
|
6024
|
+
diskUsage: z.ZodOptional<z.ZodObject<{
|
|
6025
|
+
exclusiveBytes: z.ZodInt;
|
|
6026
|
+
sharedBytes: z.ZodInt;
|
|
6027
|
+
measuredAt: z.ZodDate;
|
|
6028
|
+
isPartial: z.ZodBoolean;
|
|
6029
|
+
isUpperBound: z.ZodBoolean;
|
|
6030
|
+
}, z.core.$strip>>;
|
|
6031
|
+
ip: z.ZodIPv4;
|
|
6032
|
+
slot: z.ZodInt;
|
|
6033
|
+
port: z.ZodInt;
|
|
6034
|
+
httpPort: z.ZodInt;
|
|
6035
|
+
url: z.ZodURL;
|
|
6036
|
+
public: z.ZodOptional<z.ZodObject<{
|
|
6037
|
+
auth: z.ZodEnum<{
|
|
6038
|
+
basic: "basic";
|
|
6039
|
+
none: "none";
|
|
6040
|
+
token: "token";
|
|
6041
|
+
}>;
|
|
6042
|
+
}, z.core.$strip>>;
|
|
6043
|
+
createdAt: z.ZodDate;
|
|
6044
|
+
lastActiveAt: z.ZodDate;
|
|
6045
|
+
ramMib: z.ZodOptional<z.ZodInt>;
|
|
6046
|
+
rssMib: z.ZodOptional<z.ZodInt>;
|
|
6047
|
+
sleptAt: z.ZodOptional<z.ZodDate>;
|
|
6048
|
+
holdUntil: z.ZodOptional<z.ZodDate>;
|
|
6049
|
+
leases: z.ZodOptional<z.ZodObject<{
|
|
6050
|
+
leases: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
6051
|
+
name: z.ZodString;
|
|
6052
|
+
owner: z.ZodObject<{
|
|
6053
|
+
principal: z.ZodString;
|
|
6054
|
+
display: z.ZodString;
|
|
6055
|
+
label: z.ZodString;
|
|
6056
|
+
}, z.core.$strip>;
|
|
6057
|
+
until: z.ZodNullable<z.ZodDate>;
|
|
6058
|
+
}, z.core.$strip>>>;
|
|
6059
|
+
otherCount: z.ZodInt;
|
|
6060
|
+
}, z.core.$strip>>;
|
|
6061
|
+
error: z.ZodOptional<z.ZodString>;
|
|
6062
|
+
sessions: z.ZodOptional<z.ZodInt>;
|
|
6063
|
+
coldBootReason: z.ZodOptional<z.ZodString>;
|
|
6064
|
+
agentSilentSince: z.ZodOptional<z.ZodDate>;
|
|
6065
|
+
outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
6066
|
+
agent: "agent";
|
|
6067
|
+
firecracker: "firecracker";
|
|
6068
|
+
impd: "impd";
|
|
6069
|
+
ipv6: "ipv6";
|
|
6070
|
+
kernel: "kernel";
|
|
6071
|
+
}>>>>;
|
|
6072
|
+
cpu: z.ZodOptional<z.ZodObject<{
|
|
6073
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
6074
|
+
weight: z.ZodInt;
|
|
6075
|
+
}, z.core.$strip>>;
|
|
6076
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
6077
|
+
wakeCount: z.ZodInt;
|
|
6078
|
+
awakeMs: z.ZodInt;
|
|
6079
|
+
sample: z.ZodOptional<z.ZodObject<{
|
|
6080
|
+
measuredAt: z.ZodDate;
|
|
6081
|
+
since: z.ZodDate;
|
|
6082
|
+
cpuPercent: z.ZodOptional<z.ZodNumber>;
|
|
6083
|
+
cpuThrottledMs: z.ZodInt;
|
|
6084
|
+
netRxBytes: z.ZodInt;
|
|
6085
|
+
netTxBytes: z.ZodInt;
|
|
6086
|
+
}, z.core.$strip>>;
|
|
6087
|
+
}, z.core.$strip>>;
|
|
6088
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
6089
|
+
moved: "moved";
|
|
6090
|
+
receiving: "receiving";
|
|
6091
|
+
sending: "sending";
|
|
6092
|
+
}>>;
|
|
6093
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
6094
|
+
NOT_FOUND: {
|
|
6095
|
+
readonly message: "Not found";
|
|
6096
|
+
readonly data: z.ZodObject<{
|
|
6097
|
+
kind: z.ZodEnum<{
|
|
6098
|
+
backup: "backup";
|
|
6099
|
+
checkpoint: "checkpoint";
|
|
6100
|
+
grant: "grant";
|
|
6101
|
+
image: "image";
|
|
6102
|
+
imp: "imp";
|
|
6103
|
+
network: "network";
|
|
6104
|
+
secret: "secret";
|
|
6105
|
+
service: "service";
|
|
6106
|
+
session: "session";
|
|
6107
|
+
"ssh-key": "ssh-key";
|
|
6108
|
+
token: "token";
|
|
6109
|
+
}>;
|
|
6110
|
+
name: z.ZodString;
|
|
6111
|
+
}, z.core.$strip>;
|
|
6112
|
+
};
|
|
6113
|
+
CONFLICT: {
|
|
6114
|
+
readonly message: "Already exists";
|
|
6115
|
+
readonly data: z.ZodObject<{
|
|
6116
|
+
kind: z.ZodEnum<{
|
|
6117
|
+
backup: "backup";
|
|
6118
|
+
checkpoint: "checkpoint";
|
|
6119
|
+
grant: "grant";
|
|
6120
|
+
image: "image";
|
|
6121
|
+
imp: "imp";
|
|
6122
|
+
network: "network";
|
|
6123
|
+
secret: "secret";
|
|
6124
|
+
service: "service";
|
|
6125
|
+
session: "session";
|
|
6126
|
+
"ssh-key": "ssh-key";
|
|
6127
|
+
token: "token";
|
|
6128
|
+
}>;
|
|
6129
|
+
name: z.ZodString;
|
|
6130
|
+
}, z.core.$strip>;
|
|
6131
|
+
};
|
|
6132
|
+
FORBIDDEN: {
|
|
6133
|
+
readonly message: "Not allowed";
|
|
6134
|
+
};
|
|
6135
|
+
PRECONDITION_FAILED: {
|
|
6136
|
+
readonly message: "Not possible on this host";
|
|
6137
|
+
};
|
|
6138
|
+
RAM_BUDGET_EXCEEDED: {
|
|
6139
|
+
readonly message: "Not enough RAM budget, even after sleeping idle imps";
|
|
6140
|
+
readonly status: 503;
|
|
6141
|
+
readonly data: z.ZodObject<{
|
|
6142
|
+
budgetMib: z.ZodInt;
|
|
6143
|
+
usedMib: z.ZodInt;
|
|
6144
|
+
requestedMib: z.ZodInt;
|
|
6145
|
+
neededMib: z.ZodOptional<z.ZodInt>;
|
|
6146
|
+
protected: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
6147
|
+
name: z.ZodString;
|
|
6148
|
+
ramMib: z.ZodInt;
|
|
6149
|
+
leased: z.ZodBoolean;
|
|
6150
|
+
busy: z.ZodBoolean;
|
|
6151
|
+
}, z.core.$strip>>>>;
|
|
6152
|
+
protectedHidden: z.ZodOptional<z.ZodInt>;
|
|
6153
|
+
}, z.core.$strip>;
|
|
6154
|
+
};
|
|
6155
|
+
SERVICE_UNAVAILABLE: {
|
|
6156
|
+
readonly message: "impd is stopping";
|
|
6157
|
+
};
|
|
6158
|
+
INVALID_STATE: {
|
|
6159
|
+
readonly message: "The imp is not in a state that allows this";
|
|
6160
|
+
readonly status: 409;
|
|
6161
|
+
readonly data: z.ZodObject<{
|
|
6162
|
+
state: z.ZodEnum<{
|
|
6163
|
+
creating: "creating";
|
|
6164
|
+
error: "error";
|
|
6165
|
+
running: "running";
|
|
6166
|
+
sleeping: "sleeping";
|
|
6167
|
+
stopped: "stopped";
|
|
6168
|
+
}>;
|
|
6169
|
+
allowed: z.ZodArray<z.ZodEnum<{
|
|
6170
|
+
creating: "creating";
|
|
6171
|
+
error: "error";
|
|
6172
|
+
running: "running";
|
|
6173
|
+
sleeping: "sleeping";
|
|
6174
|
+
stopped: "stopped";
|
|
6175
|
+
}>>;
|
|
6176
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
6177
|
+
bootId: z.ZodString;
|
|
6178
|
+
cause: z.ZodEnum<{
|
|
6179
|
+
recovery: "recovery";
|
|
6180
|
+
restore: "restore";
|
|
6181
|
+
start: "start";
|
|
6182
|
+
unknown: "unknown";
|
|
6183
|
+
wake_fallback: "wake_fallback";
|
|
6184
|
+
watchdog: "watchdog";
|
|
6185
|
+
}>;
|
|
6186
|
+
at: z.ZodISODateTime;
|
|
6187
|
+
}, z.core.$strip>>>>>;
|
|
6188
|
+
}, z.core.$strip>;
|
|
6189
|
+
};
|
|
6190
|
+
INVALID_RESUME: {
|
|
6191
|
+
readonly message: "The resume offset is past the end of the output";
|
|
6192
|
+
readonly status: 409;
|
|
6193
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
6194
|
+
end: z.ZodInt;
|
|
6195
|
+
bufferStart: z.ZodInt;
|
|
6196
|
+
}, z.core.$strip>>;
|
|
6197
|
+
};
|
|
6198
|
+
DISK_FULL: {
|
|
6199
|
+
readonly message: "Not enough free disk on the host";
|
|
6200
|
+
readonly status: 507;
|
|
6201
|
+
readonly data: z.ZodObject<{
|
|
6202
|
+
availableBytes: z.ZodInt;
|
|
6203
|
+
reserveBytes: z.ZodInt;
|
|
6204
|
+
requestedBytes: z.ZodInt;
|
|
6205
|
+
}, z.core.$strip>;
|
|
6206
|
+
};
|
|
6207
|
+
LEASED: {
|
|
6208
|
+
readonly message: "The imp is leased";
|
|
6209
|
+
readonly status: 409;
|
|
6210
|
+
readonly data: z.ZodObject<{
|
|
6211
|
+
leases: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
6212
|
+
name: z.ZodString;
|
|
6213
|
+
owner: z.ZodObject<{
|
|
6214
|
+
principal: z.ZodString;
|
|
6215
|
+
display: z.ZodString;
|
|
6216
|
+
label: z.ZodString;
|
|
6217
|
+
}, z.core.$strip>;
|
|
6218
|
+
until: z.ZodNullable<z.ZodDate>;
|
|
6219
|
+
}, z.core.$strip>>>;
|
|
6220
|
+
otherCount: z.ZodInt;
|
|
6221
|
+
}, z.core.$strip>;
|
|
6222
|
+
};
|
|
6223
|
+
LEASE_NOT_HELD: {
|
|
6224
|
+
readonly message: "The caller holds no such lease";
|
|
6225
|
+
readonly status: 409;
|
|
6226
|
+
};
|
|
6227
|
+
AGENT_OUTDATED: {
|
|
6228
|
+
readonly message: "The imp's agent is too old for this";
|
|
6229
|
+
readonly status: 409;
|
|
6230
|
+
};
|
|
6231
|
+
MOVING: {
|
|
6232
|
+
readonly message: "The imp is moving between hosts";
|
|
6233
|
+
readonly status: 409;
|
|
6234
|
+
readonly data: z.ZodObject<{
|
|
6235
|
+
retryAfterS: z.ZodInt;
|
|
6236
|
+
}, z.core.$strip>;
|
|
6237
|
+
};
|
|
6238
|
+
}>, Record<never, never>>;
|
|
4409
6239
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4410
6240
|
name: z.ZodString;
|
|
4411
6241
|
checkpoint: z.ZodString;
|
|
@@ -4492,7 +6322,27 @@ declare const impContract: {
|
|
|
4492
6322
|
sleeping: "sleeping";
|
|
4493
6323
|
stopped: "stopped";
|
|
4494
6324
|
}>>;
|
|
4495
|
-
|
|
6325
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
6326
|
+
bootId: z.ZodString;
|
|
6327
|
+
cause: z.ZodEnum<{
|
|
6328
|
+
recovery: "recovery";
|
|
6329
|
+
restore: "restore";
|
|
6330
|
+
start: "start";
|
|
6331
|
+
unknown: "unknown";
|
|
6332
|
+
wake_fallback: "wake_fallback";
|
|
6333
|
+
watchdog: "watchdog";
|
|
6334
|
+
}>;
|
|
6335
|
+
at: z.ZodISODateTime;
|
|
6336
|
+
}, z.core.$strip>>>>>;
|
|
6337
|
+
}, z.core.$strip>;
|
|
6338
|
+
};
|
|
6339
|
+
INVALID_RESUME: {
|
|
6340
|
+
readonly message: "The resume offset is past the end of the output";
|
|
6341
|
+
readonly status: 409;
|
|
6342
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
6343
|
+
end: z.ZodInt;
|
|
6344
|
+
bufferStart: z.ZodInt;
|
|
6345
|
+
}, z.core.$strip>>;
|
|
4496
6346
|
};
|
|
4497
6347
|
DISK_FULL: {
|
|
4498
6348
|
readonly message: "Not enough free disk on the host";
|
|
@@ -4527,6 +6377,13 @@ declare const impContract: {
|
|
|
4527
6377
|
readonly message: "The imp's agent is too old for this";
|
|
4528
6378
|
readonly status: 409;
|
|
4529
6379
|
};
|
|
6380
|
+
MOVING: {
|
|
6381
|
+
readonly message: "The imp is moving between hosts";
|
|
6382
|
+
readonly status: 409;
|
|
6383
|
+
readonly data: z.ZodObject<{
|
|
6384
|
+
retryAfterS: z.ZodInt;
|
|
6385
|
+
}, z.core.$strip>;
|
|
6386
|
+
};
|
|
4530
6387
|
}>, Record<never, never>>;
|
|
4531
6388
|
};
|
|
4532
6389
|
backups: {
|
|
@@ -4622,7 +6479,27 @@ declare const impContract: {
|
|
|
4622
6479
|
sleeping: "sleeping";
|
|
4623
6480
|
stopped: "stopped";
|
|
4624
6481
|
}>>;
|
|
4625
|
-
|
|
6482
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
6483
|
+
bootId: z.ZodString;
|
|
6484
|
+
cause: z.ZodEnum<{
|
|
6485
|
+
recovery: "recovery";
|
|
6486
|
+
restore: "restore";
|
|
6487
|
+
start: "start";
|
|
6488
|
+
unknown: "unknown";
|
|
6489
|
+
wake_fallback: "wake_fallback";
|
|
6490
|
+
watchdog: "watchdog";
|
|
6491
|
+
}>;
|
|
6492
|
+
at: z.ZodISODateTime;
|
|
6493
|
+
}, z.core.$strip>>>>>;
|
|
6494
|
+
}, z.core.$strip>;
|
|
6495
|
+
};
|
|
6496
|
+
INVALID_RESUME: {
|
|
6497
|
+
readonly message: "The resume offset is past the end of the output";
|
|
6498
|
+
readonly status: 409;
|
|
6499
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
6500
|
+
end: z.ZodInt;
|
|
6501
|
+
bufferStart: z.ZodInt;
|
|
6502
|
+
}, z.core.$strip>>;
|
|
4626
6503
|
};
|
|
4627
6504
|
DISK_FULL: {
|
|
4628
6505
|
readonly message: "Not enough free disk on the host";
|
|
@@ -4657,6 +6534,13 @@ declare const impContract: {
|
|
|
4657
6534
|
readonly message: "The imp's agent is too old for this";
|
|
4658
6535
|
readonly status: 409;
|
|
4659
6536
|
};
|
|
6537
|
+
MOVING: {
|
|
6538
|
+
readonly message: "The imp is moving between hosts";
|
|
6539
|
+
readonly status: 409;
|
|
6540
|
+
readonly data: z.ZodObject<{
|
|
6541
|
+
retryAfterS: z.ZodInt;
|
|
6542
|
+
}, z.core.$strip>;
|
|
6543
|
+
};
|
|
4660
6544
|
}>, Record<never, never>>;
|
|
4661
6545
|
list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
4662
6546
|
points: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
@@ -4753,7 +6637,27 @@ declare const impContract: {
|
|
|
4753
6637
|
sleeping: "sleeping";
|
|
4754
6638
|
stopped: "stopped";
|
|
4755
6639
|
}>>;
|
|
4756
|
-
|
|
6640
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
6641
|
+
bootId: z.ZodString;
|
|
6642
|
+
cause: z.ZodEnum<{
|
|
6643
|
+
recovery: "recovery";
|
|
6644
|
+
restore: "restore";
|
|
6645
|
+
start: "start";
|
|
6646
|
+
unknown: "unknown";
|
|
6647
|
+
wake_fallback: "wake_fallback";
|
|
6648
|
+
watchdog: "watchdog";
|
|
6649
|
+
}>;
|
|
6650
|
+
at: z.ZodISODateTime;
|
|
6651
|
+
}, z.core.$strip>>>>>;
|
|
6652
|
+
}, z.core.$strip>;
|
|
6653
|
+
};
|
|
6654
|
+
INVALID_RESUME: {
|
|
6655
|
+
readonly message: "The resume offset is past the end of the output";
|
|
6656
|
+
readonly status: 409;
|
|
6657
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
6658
|
+
end: z.ZodInt;
|
|
6659
|
+
bufferStart: z.ZodInt;
|
|
6660
|
+
}, z.core.$strip>>;
|
|
4757
6661
|
};
|
|
4758
6662
|
DISK_FULL: {
|
|
4759
6663
|
readonly message: "Not enough free disk on the host";
|
|
@@ -4788,6 +6692,13 @@ declare const impContract: {
|
|
|
4788
6692
|
readonly message: "The imp's agent is too old for this";
|
|
4789
6693
|
readonly status: 409;
|
|
4790
6694
|
};
|
|
6695
|
+
MOVING: {
|
|
6696
|
+
readonly message: "The imp is moving between hosts";
|
|
6697
|
+
readonly status: 409;
|
|
6698
|
+
readonly data: z.ZodObject<{
|
|
6699
|
+
retryAfterS: z.ZodInt;
|
|
6700
|
+
}, z.core.$strip>;
|
|
6701
|
+
};
|
|
4791
6702
|
}>, Record<never, never>>;
|
|
4792
6703
|
restore: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4793
6704
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -4874,6 +6785,11 @@ declare const impContract: {
|
|
|
4874
6785
|
netTxBytes: z.ZodInt;
|
|
4875
6786
|
}, z.core.$strip>>;
|
|
4876
6787
|
}, z.core.$strip>>;
|
|
6788
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
6789
|
+
moved: "moved";
|
|
6790
|
+
receiving: "receiving";
|
|
6791
|
+
sending: "sending";
|
|
6792
|
+
}>>;
|
|
4877
6793
|
}, z.core.$strip>>>;
|
|
4878
6794
|
skippedGrants: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
4879
6795
|
imp: z.ZodString;
|
|
@@ -4963,7 +6879,27 @@ declare const impContract: {
|
|
|
4963
6879
|
sleeping: "sleeping";
|
|
4964
6880
|
stopped: "stopped";
|
|
4965
6881
|
}>>;
|
|
4966
|
-
|
|
6882
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
6883
|
+
bootId: z.ZodString;
|
|
6884
|
+
cause: z.ZodEnum<{
|
|
6885
|
+
recovery: "recovery";
|
|
6886
|
+
restore: "restore";
|
|
6887
|
+
start: "start";
|
|
6888
|
+
unknown: "unknown";
|
|
6889
|
+
wake_fallback: "wake_fallback";
|
|
6890
|
+
watchdog: "watchdog";
|
|
6891
|
+
}>;
|
|
6892
|
+
at: z.ZodISODateTime;
|
|
6893
|
+
}, z.core.$strip>>>>>;
|
|
6894
|
+
}, z.core.$strip>;
|
|
6895
|
+
};
|
|
6896
|
+
INVALID_RESUME: {
|
|
6897
|
+
readonly message: "The resume offset is past the end of the output";
|
|
6898
|
+
readonly status: 409;
|
|
6899
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
6900
|
+
end: z.ZodInt;
|
|
6901
|
+
bufferStart: z.ZodInt;
|
|
6902
|
+
}, z.core.$strip>>;
|
|
4967
6903
|
};
|
|
4968
6904
|
DISK_FULL: {
|
|
4969
6905
|
readonly message: "Not enough free disk on the host";
|
|
@@ -4998,6 +6934,13 @@ declare const impContract: {
|
|
|
4998
6934
|
readonly message: "The imp's agent is too old for this";
|
|
4999
6935
|
readonly status: 409;
|
|
5000
6936
|
};
|
|
6937
|
+
MOVING: {
|
|
6938
|
+
readonly message: "The imp is moving between hosts";
|
|
6939
|
+
readonly status: 409;
|
|
6940
|
+
readonly data: z.ZodObject<{
|
|
6941
|
+
retryAfterS: z.ZodInt;
|
|
6942
|
+
}, z.core.$strip>;
|
|
6943
|
+
};
|
|
5001
6944
|
}>, Record<never, never>>;
|
|
5002
6945
|
check: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5003
6946
|
subset: z.ZodOptional<z.ZodString>;
|
|
@@ -5084,7 +7027,27 @@ declare const impContract: {
|
|
|
5084
7027
|
sleeping: "sleeping";
|
|
5085
7028
|
stopped: "stopped";
|
|
5086
7029
|
}>>;
|
|
5087
|
-
|
|
7030
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
7031
|
+
bootId: z.ZodString;
|
|
7032
|
+
cause: z.ZodEnum<{
|
|
7033
|
+
recovery: "recovery";
|
|
7034
|
+
restore: "restore";
|
|
7035
|
+
start: "start";
|
|
7036
|
+
unknown: "unknown";
|
|
7037
|
+
wake_fallback: "wake_fallback";
|
|
7038
|
+
watchdog: "watchdog";
|
|
7039
|
+
}>;
|
|
7040
|
+
at: z.ZodISODateTime;
|
|
7041
|
+
}, z.core.$strip>>>>>;
|
|
7042
|
+
}, z.core.$strip>;
|
|
7043
|
+
};
|
|
7044
|
+
INVALID_RESUME: {
|
|
7045
|
+
readonly message: "The resume offset is past the end of the output";
|
|
7046
|
+
readonly status: 409;
|
|
7047
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
7048
|
+
end: z.ZodInt;
|
|
7049
|
+
bufferStart: z.ZodInt;
|
|
7050
|
+
}, z.core.$strip>>;
|
|
5088
7051
|
};
|
|
5089
7052
|
DISK_FULL: {
|
|
5090
7053
|
readonly message: "Not enough free disk on the host";
|
|
@@ -5119,6 +7082,13 @@ declare const impContract: {
|
|
|
5119
7082
|
readonly message: "The imp's agent is too old for this";
|
|
5120
7083
|
readonly status: 409;
|
|
5121
7084
|
};
|
|
7085
|
+
MOVING: {
|
|
7086
|
+
readonly message: "The imp is moving between hosts";
|
|
7087
|
+
readonly status: 409;
|
|
7088
|
+
readonly data: z.ZodObject<{
|
|
7089
|
+
retryAfterS: z.ZodInt;
|
|
7090
|
+
}, z.core.$strip>;
|
|
7091
|
+
};
|
|
5122
7092
|
}>, Record<never, never>>;
|
|
5123
7093
|
};
|
|
5124
7094
|
images: {
|
|
@@ -5216,7 +7186,27 @@ declare const impContract: {
|
|
|
5216
7186
|
sleeping: "sleeping";
|
|
5217
7187
|
stopped: "stopped";
|
|
5218
7188
|
}>>;
|
|
5219
|
-
|
|
7189
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
7190
|
+
bootId: z.ZodString;
|
|
7191
|
+
cause: z.ZodEnum<{
|
|
7192
|
+
recovery: "recovery";
|
|
7193
|
+
restore: "restore";
|
|
7194
|
+
start: "start";
|
|
7195
|
+
unknown: "unknown";
|
|
7196
|
+
wake_fallback: "wake_fallback";
|
|
7197
|
+
watchdog: "watchdog";
|
|
7198
|
+
}>;
|
|
7199
|
+
at: z.ZodISODateTime;
|
|
7200
|
+
}, z.core.$strip>>>>>;
|
|
7201
|
+
}, z.core.$strip>;
|
|
7202
|
+
};
|
|
7203
|
+
INVALID_RESUME: {
|
|
7204
|
+
readonly message: "The resume offset is past the end of the output";
|
|
7205
|
+
readonly status: 409;
|
|
7206
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
7207
|
+
end: z.ZodInt;
|
|
7208
|
+
bufferStart: z.ZodInt;
|
|
7209
|
+
}, z.core.$strip>>;
|
|
5220
7210
|
};
|
|
5221
7211
|
DISK_FULL: {
|
|
5222
7212
|
readonly message: "Not enough free disk on the host";
|
|
@@ -5251,6 +7241,13 @@ declare const impContract: {
|
|
|
5251
7241
|
readonly message: "The imp's agent is too old for this";
|
|
5252
7242
|
readonly status: 409;
|
|
5253
7243
|
};
|
|
7244
|
+
MOVING: {
|
|
7245
|
+
readonly message: "The imp is moving between hosts";
|
|
7246
|
+
readonly status: 409;
|
|
7247
|
+
readonly data: z.ZodObject<{
|
|
7248
|
+
retryAfterS: z.ZodInt;
|
|
7249
|
+
}, z.core.$strip>;
|
|
7250
|
+
};
|
|
5254
7251
|
}>, Record<never, never>>;
|
|
5255
7252
|
add: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodUnion<readonly [z.ZodObject<{
|
|
5256
7253
|
ref: z.ZodString;
|
|
@@ -5352,7 +7349,27 @@ declare const impContract: {
|
|
|
5352
7349
|
sleeping: "sleeping";
|
|
5353
7350
|
stopped: "stopped";
|
|
5354
7351
|
}>>;
|
|
5355
|
-
|
|
7352
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
7353
|
+
bootId: z.ZodString;
|
|
7354
|
+
cause: z.ZodEnum<{
|
|
7355
|
+
recovery: "recovery";
|
|
7356
|
+
restore: "restore";
|
|
7357
|
+
start: "start";
|
|
7358
|
+
unknown: "unknown";
|
|
7359
|
+
wake_fallback: "wake_fallback";
|
|
7360
|
+
watchdog: "watchdog";
|
|
7361
|
+
}>;
|
|
7362
|
+
at: z.ZodISODateTime;
|
|
7363
|
+
}, z.core.$strip>>>>>;
|
|
7364
|
+
}, z.core.$strip>;
|
|
7365
|
+
};
|
|
7366
|
+
INVALID_RESUME: {
|
|
7367
|
+
readonly message: "The resume offset is past the end of the output";
|
|
7368
|
+
readonly status: 409;
|
|
7369
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
7370
|
+
end: z.ZodInt;
|
|
7371
|
+
bufferStart: z.ZodInt;
|
|
7372
|
+
}, z.core.$strip>>;
|
|
5356
7373
|
};
|
|
5357
7374
|
DISK_FULL: {
|
|
5358
7375
|
readonly message: "Not enough free disk on the host";
|
|
@@ -5387,6 +7404,13 @@ declare const impContract: {
|
|
|
5387
7404
|
readonly message: "The imp's agent is too old for this";
|
|
5388
7405
|
readonly status: 409;
|
|
5389
7406
|
};
|
|
7407
|
+
MOVING: {
|
|
7408
|
+
readonly message: "The imp is moving between hosts";
|
|
7409
|
+
readonly status: 409;
|
|
7410
|
+
readonly data: z.ZodObject<{
|
|
7411
|
+
retryAfterS: z.ZodInt;
|
|
7412
|
+
}, z.core.$strip>;
|
|
7413
|
+
};
|
|
5390
7414
|
}>, Record<never, never>>;
|
|
5391
7415
|
build: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5392
7416
|
contextDir: z.ZodString;
|
|
@@ -5486,7 +7510,27 @@ declare const impContract: {
|
|
|
5486
7510
|
sleeping: "sleeping";
|
|
5487
7511
|
stopped: "stopped";
|
|
5488
7512
|
}>>;
|
|
5489
|
-
|
|
7513
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
7514
|
+
bootId: z.ZodString;
|
|
7515
|
+
cause: z.ZodEnum<{
|
|
7516
|
+
recovery: "recovery";
|
|
7517
|
+
restore: "restore";
|
|
7518
|
+
start: "start";
|
|
7519
|
+
unknown: "unknown";
|
|
7520
|
+
wake_fallback: "wake_fallback";
|
|
7521
|
+
watchdog: "watchdog";
|
|
7522
|
+
}>;
|
|
7523
|
+
at: z.ZodISODateTime;
|
|
7524
|
+
}, z.core.$strip>>>>>;
|
|
7525
|
+
}, z.core.$strip>;
|
|
7526
|
+
};
|
|
7527
|
+
INVALID_RESUME: {
|
|
7528
|
+
readonly message: "The resume offset is past the end of the output";
|
|
7529
|
+
readonly status: 409;
|
|
7530
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
7531
|
+
end: z.ZodInt;
|
|
7532
|
+
bufferStart: z.ZodInt;
|
|
7533
|
+
}, z.core.$strip>>;
|
|
5490
7534
|
};
|
|
5491
7535
|
DISK_FULL: {
|
|
5492
7536
|
readonly message: "Not enough free disk on the host";
|
|
@@ -5521,6 +7565,13 @@ declare const impContract: {
|
|
|
5521
7565
|
readonly message: "The imp's agent is too old for this";
|
|
5522
7566
|
readonly status: 409;
|
|
5523
7567
|
};
|
|
7568
|
+
MOVING: {
|
|
7569
|
+
readonly message: "The imp is moving between hosts";
|
|
7570
|
+
readonly status: 409;
|
|
7571
|
+
readonly data: z.ZodObject<{
|
|
7572
|
+
retryAfterS: z.ZodInt;
|
|
7573
|
+
}, z.core.$strip>;
|
|
7574
|
+
};
|
|
5524
7575
|
}>, Record<never, never>>;
|
|
5525
7576
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5526
7577
|
name: z.ZodString;
|
|
@@ -5607,7 +7658,27 @@ declare const impContract: {
|
|
|
5607
7658
|
sleeping: "sleeping";
|
|
5608
7659
|
stopped: "stopped";
|
|
5609
7660
|
}>>;
|
|
5610
|
-
|
|
7661
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
7662
|
+
bootId: z.ZodString;
|
|
7663
|
+
cause: z.ZodEnum<{
|
|
7664
|
+
recovery: "recovery";
|
|
7665
|
+
restore: "restore";
|
|
7666
|
+
start: "start";
|
|
7667
|
+
unknown: "unknown";
|
|
7668
|
+
wake_fallback: "wake_fallback";
|
|
7669
|
+
watchdog: "watchdog";
|
|
7670
|
+
}>;
|
|
7671
|
+
at: z.ZodISODateTime;
|
|
7672
|
+
}, z.core.$strip>>>>>;
|
|
7673
|
+
}, z.core.$strip>;
|
|
7674
|
+
};
|
|
7675
|
+
INVALID_RESUME: {
|
|
7676
|
+
readonly message: "The resume offset is past the end of the output";
|
|
7677
|
+
readonly status: 409;
|
|
7678
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
7679
|
+
end: z.ZodInt;
|
|
7680
|
+
bufferStart: z.ZodInt;
|
|
7681
|
+
}, z.core.$strip>>;
|
|
5611
7682
|
};
|
|
5612
7683
|
DISK_FULL: {
|
|
5613
7684
|
readonly message: "Not enough free disk on the host";
|
|
@@ -5642,6 +7713,13 @@ declare const impContract: {
|
|
|
5642
7713
|
readonly message: "The imp's agent is too old for this";
|
|
5643
7714
|
readonly status: 409;
|
|
5644
7715
|
};
|
|
7716
|
+
MOVING: {
|
|
7717
|
+
readonly message: "The imp is moving between hosts";
|
|
7718
|
+
readonly status: 409;
|
|
7719
|
+
readonly data: z.ZodObject<{
|
|
7720
|
+
retryAfterS: z.ZodInt;
|
|
7721
|
+
}, z.core.$strip>;
|
|
7722
|
+
};
|
|
5645
7723
|
}>, Record<never, never>>;
|
|
5646
7724
|
};
|
|
5647
7725
|
exec: {
|
|
@@ -5733,7 +7811,27 @@ declare const impContract: {
|
|
|
5733
7811
|
sleeping: "sleeping";
|
|
5734
7812
|
stopped: "stopped";
|
|
5735
7813
|
}>>;
|
|
5736
|
-
|
|
7814
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
7815
|
+
bootId: z.ZodString;
|
|
7816
|
+
cause: z.ZodEnum<{
|
|
7817
|
+
recovery: "recovery";
|
|
7818
|
+
restore: "restore";
|
|
7819
|
+
start: "start";
|
|
7820
|
+
unknown: "unknown";
|
|
7821
|
+
wake_fallback: "wake_fallback";
|
|
7822
|
+
watchdog: "watchdog";
|
|
7823
|
+
}>;
|
|
7824
|
+
at: z.ZodISODateTime;
|
|
7825
|
+
}, z.core.$strip>>>>>;
|
|
7826
|
+
}, z.core.$strip>;
|
|
7827
|
+
};
|
|
7828
|
+
INVALID_RESUME: {
|
|
7829
|
+
readonly message: "The resume offset is past the end of the output";
|
|
7830
|
+
readonly status: 409;
|
|
7831
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
7832
|
+
end: z.ZodInt;
|
|
7833
|
+
bufferStart: z.ZodInt;
|
|
7834
|
+
}, z.core.$strip>>;
|
|
5737
7835
|
};
|
|
5738
7836
|
DISK_FULL: {
|
|
5739
7837
|
readonly message: "Not enough free disk on the host";
|
|
@@ -5768,6 +7866,13 @@ declare const impContract: {
|
|
|
5768
7866
|
readonly message: "The imp's agent is too old for this";
|
|
5769
7867
|
readonly status: 409;
|
|
5770
7868
|
};
|
|
7869
|
+
MOVING: {
|
|
7870
|
+
readonly message: "The imp is moving between hosts";
|
|
7871
|
+
readonly status: 409;
|
|
7872
|
+
readonly data: z.ZodObject<{
|
|
7873
|
+
retryAfterS: z.ZodInt;
|
|
7874
|
+
}, z.core.$strip>;
|
|
7875
|
+
};
|
|
5771
7876
|
}>, Record<never, never>>;
|
|
5772
7877
|
};
|
|
5773
7878
|
sessions: {
|
|
@@ -5789,6 +7894,14 @@ declare const impContract: {
|
|
|
5789
7894
|
code: z.ZodNullable<z.ZodInt>;
|
|
5790
7895
|
signal: z.ZodNullable<z.ZodString>;
|
|
5791
7896
|
}, z.core.$strip>>>;
|
|
7897
|
+
continuity: z.ZodOptional<z.ZodEnum<{
|
|
7898
|
+
none: "none";
|
|
7899
|
+
offsets: "offsets";
|
|
7900
|
+
}>>;
|
|
7901
|
+
executionGeneration: z.ZodOptional<z.ZodString>;
|
|
7902
|
+
bootId: z.ZodOptional<z.ZodString>;
|
|
7903
|
+
end: z.ZodOptional<z.ZodInt>;
|
|
7904
|
+
endObservedAt: z.ZodOptional<z.ZodDate>;
|
|
5792
7905
|
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
5793
7906
|
NOT_FOUND: {
|
|
5794
7907
|
readonly message: "Not found";
|
|
@@ -5872,7 +7985,27 @@ declare const impContract: {
|
|
|
5872
7985
|
sleeping: "sleeping";
|
|
5873
7986
|
stopped: "stopped";
|
|
5874
7987
|
}>>;
|
|
5875
|
-
|
|
7988
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
7989
|
+
bootId: z.ZodString;
|
|
7990
|
+
cause: z.ZodEnum<{
|
|
7991
|
+
recovery: "recovery";
|
|
7992
|
+
restore: "restore";
|
|
7993
|
+
start: "start";
|
|
7994
|
+
unknown: "unknown";
|
|
7995
|
+
wake_fallback: "wake_fallback";
|
|
7996
|
+
watchdog: "watchdog";
|
|
7997
|
+
}>;
|
|
7998
|
+
at: z.ZodISODateTime;
|
|
7999
|
+
}, z.core.$strip>>>>>;
|
|
8000
|
+
}, z.core.$strip>;
|
|
8001
|
+
};
|
|
8002
|
+
INVALID_RESUME: {
|
|
8003
|
+
readonly message: "The resume offset is past the end of the output";
|
|
8004
|
+
readonly status: 409;
|
|
8005
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
8006
|
+
end: z.ZodInt;
|
|
8007
|
+
bufferStart: z.ZodInt;
|
|
8008
|
+
}, z.core.$strip>>;
|
|
5876
8009
|
};
|
|
5877
8010
|
DISK_FULL: {
|
|
5878
8011
|
readonly message: "Not enough free disk on the host";
|
|
@@ -5907,6 +8040,13 @@ declare const impContract: {
|
|
|
5907
8040
|
readonly message: "The imp's agent is too old for this";
|
|
5908
8041
|
readonly status: 409;
|
|
5909
8042
|
};
|
|
8043
|
+
MOVING: {
|
|
8044
|
+
readonly message: "The imp is moving between hosts";
|
|
8045
|
+
readonly status: 409;
|
|
8046
|
+
readonly data: z.ZodObject<{
|
|
8047
|
+
retryAfterS: z.ZodInt;
|
|
8048
|
+
}, z.core.$strip>;
|
|
8049
|
+
};
|
|
5910
8050
|
}>, Record<never, never>>;
|
|
5911
8051
|
kill: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5912
8052
|
name: z.ZodString;
|
|
@@ -5994,7 +8134,27 @@ declare const impContract: {
|
|
|
5994
8134
|
sleeping: "sleeping";
|
|
5995
8135
|
stopped: "stopped";
|
|
5996
8136
|
}>>;
|
|
5997
|
-
|
|
8137
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
8138
|
+
bootId: z.ZodString;
|
|
8139
|
+
cause: z.ZodEnum<{
|
|
8140
|
+
recovery: "recovery";
|
|
8141
|
+
restore: "restore";
|
|
8142
|
+
start: "start";
|
|
8143
|
+
unknown: "unknown";
|
|
8144
|
+
wake_fallback: "wake_fallback";
|
|
8145
|
+
watchdog: "watchdog";
|
|
8146
|
+
}>;
|
|
8147
|
+
at: z.ZodISODateTime;
|
|
8148
|
+
}, z.core.$strip>>>>>;
|
|
8149
|
+
}, z.core.$strip>;
|
|
8150
|
+
};
|
|
8151
|
+
INVALID_RESUME: {
|
|
8152
|
+
readonly message: "The resume offset is past the end of the output";
|
|
8153
|
+
readonly status: 409;
|
|
8154
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
8155
|
+
end: z.ZodInt;
|
|
8156
|
+
bufferStart: z.ZodInt;
|
|
8157
|
+
}, z.core.$strip>>;
|
|
5998
8158
|
};
|
|
5999
8159
|
DISK_FULL: {
|
|
6000
8160
|
readonly message: "Not enough free disk on the host";
|
|
@@ -6029,6 +8189,13 @@ declare const impContract: {
|
|
|
6029
8189
|
readonly message: "The imp's agent is too old for this";
|
|
6030
8190
|
readonly status: 409;
|
|
6031
8191
|
};
|
|
8192
|
+
MOVING: {
|
|
8193
|
+
readonly message: "The imp is moving between hosts";
|
|
8194
|
+
readonly status: 409;
|
|
8195
|
+
readonly data: z.ZodObject<{
|
|
8196
|
+
retryAfterS: z.ZodInt;
|
|
8197
|
+
}, z.core.$strip>;
|
|
8198
|
+
};
|
|
6032
8199
|
}>, Record<never, never>>;
|
|
6033
8200
|
};
|
|
6034
8201
|
services: {
|
|
@@ -6149,7 +8316,27 @@ declare const impContract: {
|
|
|
6149
8316
|
sleeping: "sleeping";
|
|
6150
8317
|
stopped: "stopped";
|
|
6151
8318
|
}>>;
|
|
6152
|
-
|
|
8319
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
8320
|
+
bootId: z.ZodString;
|
|
8321
|
+
cause: z.ZodEnum<{
|
|
8322
|
+
recovery: "recovery";
|
|
8323
|
+
restore: "restore";
|
|
8324
|
+
start: "start";
|
|
8325
|
+
unknown: "unknown";
|
|
8326
|
+
wake_fallback: "wake_fallback";
|
|
8327
|
+
watchdog: "watchdog";
|
|
8328
|
+
}>;
|
|
8329
|
+
at: z.ZodISODateTime;
|
|
8330
|
+
}, z.core.$strip>>>>>;
|
|
8331
|
+
}, z.core.$strip>;
|
|
8332
|
+
};
|
|
8333
|
+
INVALID_RESUME: {
|
|
8334
|
+
readonly message: "The resume offset is past the end of the output";
|
|
8335
|
+
readonly status: 409;
|
|
8336
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
8337
|
+
end: z.ZodInt;
|
|
8338
|
+
bufferStart: z.ZodInt;
|
|
8339
|
+
}, z.core.$strip>>;
|
|
6153
8340
|
};
|
|
6154
8341
|
DISK_FULL: {
|
|
6155
8342
|
readonly message: "Not enough free disk on the host";
|
|
@@ -6184,6 +8371,13 @@ declare const impContract: {
|
|
|
6184
8371
|
readonly message: "The imp's agent is too old for this";
|
|
6185
8372
|
readonly status: 409;
|
|
6186
8373
|
};
|
|
8374
|
+
MOVING: {
|
|
8375
|
+
readonly message: "The imp is moving between hosts";
|
|
8376
|
+
readonly status: 409;
|
|
8377
|
+
readonly data: z.ZodObject<{
|
|
8378
|
+
retryAfterS: z.ZodInt;
|
|
8379
|
+
}, z.core.$strip>;
|
|
8380
|
+
};
|
|
6187
8381
|
}>, Record<never, never>>;
|
|
6188
8382
|
add: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
6189
8383
|
name: z.ZodString;
|
|
@@ -6283,7 +8477,27 @@ declare const impContract: {
|
|
|
6283
8477
|
sleeping: "sleeping";
|
|
6284
8478
|
stopped: "stopped";
|
|
6285
8479
|
}>>;
|
|
6286
|
-
|
|
8480
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
8481
|
+
bootId: z.ZodString;
|
|
8482
|
+
cause: z.ZodEnum<{
|
|
8483
|
+
recovery: "recovery";
|
|
8484
|
+
restore: "restore";
|
|
8485
|
+
start: "start";
|
|
8486
|
+
unknown: "unknown";
|
|
8487
|
+
wake_fallback: "wake_fallback";
|
|
8488
|
+
watchdog: "watchdog";
|
|
8489
|
+
}>;
|
|
8490
|
+
at: z.ZodISODateTime;
|
|
8491
|
+
}, z.core.$strip>>>>>;
|
|
8492
|
+
}, z.core.$strip>;
|
|
8493
|
+
};
|
|
8494
|
+
INVALID_RESUME: {
|
|
8495
|
+
readonly message: "The resume offset is past the end of the output";
|
|
8496
|
+
readonly status: 409;
|
|
8497
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
8498
|
+
end: z.ZodInt;
|
|
8499
|
+
bufferStart: z.ZodInt;
|
|
8500
|
+
}, z.core.$strip>>;
|
|
6287
8501
|
};
|
|
6288
8502
|
DISK_FULL: {
|
|
6289
8503
|
readonly message: "Not enough free disk on the host";
|
|
@@ -6318,6 +8532,13 @@ declare const impContract: {
|
|
|
6318
8532
|
readonly message: "The imp's agent is too old for this";
|
|
6319
8533
|
readonly status: 409;
|
|
6320
8534
|
};
|
|
8535
|
+
MOVING: {
|
|
8536
|
+
readonly message: "The imp is moving between hosts";
|
|
8537
|
+
readonly status: 409;
|
|
8538
|
+
readonly data: z.ZodObject<{
|
|
8539
|
+
retryAfterS: z.ZodInt;
|
|
8540
|
+
}, z.core.$strip>;
|
|
8541
|
+
};
|
|
6321
8542
|
}>, Record<never, never>>;
|
|
6322
8543
|
remove: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
6323
8544
|
name: z.ZodString;
|
|
@@ -6405,7 +8626,27 @@ declare const impContract: {
|
|
|
6405
8626
|
sleeping: "sleeping";
|
|
6406
8627
|
stopped: "stopped";
|
|
6407
8628
|
}>>;
|
|
6408
|
-
|
|
8629
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
8630
|
+
bootId: z.ZodString;
|
|
8631
|
+
cause: z.ZodEnum<{
|
|
8632
|
+
recovery: "recovery";
|
|
8633
|
+
restore: "restore";
|
|
8634
|
+
start: "start";
|
|
8635
|
+
unknown: "unknown";
|
|
8636
|
+
wake_fallback: "wake_fallback";
|
|
8637
|
+
watchdog: "watchdog";
|
|
8638
|
+
}>;
|
|
8639
|
+
at: z.ZodISODateTime;
|
|
8640
|
+
}, z.core.$strip>>>>>;
|
|
8641
|
+
}, z.core.$strip>;
|
|
8642
|
+
};
|
|
8643
|
+
INVALID_RESUME: {
|
|
8644
|
+
readonly message: "The resume offset is past the end of the output";
|
|
8645
|
+
readonly status: 409;
|
|
8646
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
8647
|
+
end: z.ZodInt;
|
|
8648
|
+
bufferStart: z.ZodInt;
|
|
8649
|
+
}, z.core.$strip>>;
|
|
6409
8650
|
};
|
|
6410
8651
|
DISK_FULL: {
|
|
6411
8652
|
readonly message: "Not enough free disk on the host";
|
|
@@ -6440,6 +8681,13 @@ declare const impContract: {
|
|
|
6440
8681
|
readonly message: "The imp's agent is too old for this";
|
|
6441
8682
|
readonly status: 409;
|
|
6442
8683
|
};
|
|
8684
|
+
MOVING: {
|
|
8685
|
+
readonly message: "The imp is moving between hosts";
|
|
8686
|
+
readonly status: 409;
|
|
8687
|
+
readonly data: z.ZodObject<{
|
|
8688
|
+
retryAfterS: z.ZodInt;
|
|
8689
|
+
}, z.core.$strip>;
|
|
8690
|
+
};
|
|
6443
8691
|
}>, Record<never, never>>;
|
|
6444
8692
|
restart: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
6445
8693
|
name: z.ZodString;
|
|
@@ -6527,7 +8775,27 @@ declare const impContract: {
|
|
|
6527
8775
|
sleeping: "sleeping";
|
|
6528
8776
|
stopped: "stopped";
|
|
6529
8777
|
}>>;
|
|
6530
|
-
|
|
8778
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
8779
|
+
bootId: z.ZodString;
|
|
8780
|
+
cause: z.ZodEnum<{
|
|
8781
|
+
recovery: "recovery";
|
|
8782
|
+
restore: "restore";
|
|
8783
|
+
start: "start";
|
|
8784
|
+
unknown: "unknown";
|
|
8785
|
+
wake_fallback: "wake_fallback";
|
|
8786
|
+
watchdog: "watchdog";
|
|
8787
|
+
}>;
|
|
8788
|
+
at: z.ZodISODateTime;
|
|
8789
|
+
}, z.core.$strip>>>>>;
|
|
8790
|
+
}, z.core.$strip>;
|
|
8791
|
+
};
|
|
8792
|
+
INVALID_RESUME: {
|
|
8793
|
+
readonly message: "The resume offset is past the end of the output";
|
|
8794
|
+
readonly status: 409;
|
|
8795
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
8796
|
+
end: z.ZodInt;
|
|
8797
|
+
bufferStart: z.ZodInt;
|
|
8798
|
+
}, z.core.$strip>>;
|
|
6531
8799
|
};
|
|
6532
8800
|
DISK_FULL: {
|
|
6533
8801
|
readonly message: "Not enough free disk on the host";
|
|
@@ -6562,6 +8830,13 @@ declare const impContract: {
|
|
|
6562
8830
|
readonly message: "The imp's agent is too old for this";
|
|
6563
8831
|
readonly status: 409;
|
|
6564
8832
|
};
|
|
8833
|
+
MOVING: {
|
|
8834
|
+
readonly message: "The imp is moving between hosts";
|
|
8835
|
+
readonly status: 409;
|
|
8836
|
+
readonly data: z.ZodObject<{
|
|
8837
|
+
retryAfterS: z.ZodInt;
|
|
8838
|
+
}, z.core.$strip>;
|
|
8839
|
+
};
|
|
6565
8840
|
}>, Record<never, never>>;
|
|
6566
8841
|
logs: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
6567
8842
|
name: z.ZodString;
|
|
@@ -6673,7 +8948,27 @@ declare const impContract: {
|
|
|
6673
8948
|
sleeping: "sleeping";
|
|
6674
8949
|
stopped: "stopped";
|
|
6675
8950
|
}>>;
|
|
6676
|
-
|
|
8951
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
8952
|
+
bootId: z.ZodString;
|
|
8953
|
+
cause: z.ZodEnum<{
|
|
8954
|
+
recovery: "recovery";
|
|
8955
|
+
restore: "restore";
|
|
8956
|
+
start: "start";
|
|
8957
|
+
unknown: "unknown";
|
|
8958
|
+
wake_fallback: "wake_fallback";
|
|
8959
|
+
watchdog: "watchdog";
|
|
8960
|
+
}>;
|
|
8961
|
+
at: z.ZodISODateTime;
|
|
8962
|
+
}, z.core.$strip>>>>>;
|
|
8963
|
+
}, z.core.$strip>;
|
|
8964
|
+
};
|
|
8965
|
+
INVALID_RESUME: {
|
|
8966
|
+
readonly message: "The resume offset is past the end of the output";
|
|
8967
|
+
readonly status: 409;
|
|
8968
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
8969
|
+
end: z.ZodInt;
|
|
8970
|
+
bufferStart: z.ZodInt;
|
|
8971
|
+
}, z.core.$strip>>;
|
|
6677
8972
|
};
|
|
6678
8973
|
DISK_FULL: {
|
|
6679
8974
|
readonly message: "Not enough free disk on the host";
|
|
@@ -6708,6 +9003,13 @@ declare const impContract: {
|
|
|
6708
9003
|
readonly message: "The imp's agent is too old for this";
|
|
6709
9004
|
readonly status: 409;
|
|
6710
9005
|
};
|
|
9006
|
+
MOVING: {
|
|
9007
|
+
readonly message: "The imp is moving between hosts";
|
|
9008
|
+
readonly status: 409;
|
|
9009
|
+
readonly data: z.ZodObject<{
|
|
9010
|
+
retryAfterS: z.ZodInt;
|
|
9011
|
+
}, z.core.$strip>;
|
|
9012
|
+
};
|
|
6711
9013
|
}>, Record<never, never>>;
|
|
6712
9014
|
};
|
|
6713
9015
|
secrets: {
|
|
@@ -6834,7 +9136,27 @@ declare const impContract: {
|
|
|
6834
9136
|
sleeping: "sleeping";
|
|
6835
9137
|
stopped: "stopped";
|
|
6836
9138
|
}>>;
|
|
6837
|
-
|
|
9139
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
9140
|
+
bootId: z.ZodString;
|
|
9141
|
+
cause: z.ZodEnum<{
|
|
9142
|
+
recovery: "recovery";
|
|
9143
|
+
restore: "restore";
|
|
9144
|
+
start: "start";
|
|
9145
|
+
unknown: "unknown";
|
|
9146
|
+
wake_fallback: "wake_fallback";
|
|
9147
|
+
watchdog: "watchdog";
|
|
9148
|
+
}>;
|
|
9149
|
+
at: z.ZodISODateTime;
|
|
9150
|
+
}, z.core.$strip>>>>>;
|
|
9151
|
+
}, z.core.$strip>;
|
|
9152
|
+
};
|
|
9153
|
+
INVALID_RESUME: {
|
|
9154
|
+
readonly message: "The resume offset is past the end of the output";
|
|
9155
|
+
readonly status: 409;
|
|
9156
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
9157
|
+
end: z.ZodInt;
|
|
9158
|
+
bufferStart: z.ZodInt;
|
|
9159
|
+
}, z.core.$strip>>;
|
|
6838
9160
|
};
|
|
6839
9161
|
DISK_FULL: {
|
|
6840
9162
|
readonly message: "Not enough free disk on the host";
|
|
@@ -6869,6 +9191,13 @@ declare const impContract: {
|
|
|
6869
9191
|
readonly message: "The imp's agent is too old for this";
|
|
6870
9192
|
readonly status: 409;
|
|
6871
9193
|
};
|
|
9194
|
+
MOVING: {
|
|
9195
|
+
readonly message: "The imp is moving between hosts";
|
|
9196
|
+
readonly status: 409;
|
|
9197
|
+
readonly data: z.ZodObject<{
|
|
9198
|
+
retryAfterS: z.ZodInt;
|
|
9199
|
+
}, z.core.$strip>;
|
|
9200
|
+
};
|
|
6872
9201
|
}>, Record<never, never>>;
|
|
6873
9202
|
list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
|
|
6874
9203
|
name: z.ZodString;
|
|
@@ -6973,7 +9302,27 @@ declare const impContract: {
|
|
|
6973
9302
|
sleeping: "sleeping";
|
|
6974
9303
|
stopped: "stopped";
|
|
6975
9304
|
}>>;
|
|
6976
|
-
|
|
9305
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
9306
|
+
bootId: z.ZodString;
|
|
9307
|
+
cause: z.ZodEnum<{
|
|
9308
|
+
recovery: "recovery";
|
|
9309
|
+
restore: "restore";
|
|
9310
|
+
start: "start";
|
|
9311
|
+
unknown: "unknown";
|
|
9312
|
+
wake_fallback: "wake_fallback";
|
|
9313
|
+
watchdog: "watchdog";
|
|
9314
|
+
}>;
|
|
9315
|
+
at: z.ZodISODateTime;
|
|
9316
|
+
}, z.core.$strip>>>>>;
|
|
9317
|
+
}, z.core.$strip>;
|
|
9318
|
+
};
|
|
9319
|
+
INVALID_RESUME: {
|
|
9320
|
+
readonly message: "The resume offset is past the end of the output";
|
|
9321
|
+
readonly status: 409;
|
|
9322
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
9323
|
+
end: z.ZodInt;
|
|
9324
|
+
bufferStart: z.ZodInt;
|
|
9325
|
+
}, z.core.$strip>>;
|
|
6977
9326
|
};
|
|
6978
9327
|
DISK_FULL: {
|
|
6979
9328
|
readonly message: "Not enough free disk on the host";
|
|
@@ -7008,6 +9357,13 @@ declare const impContract: {
|
|
|
7008
9357
|
readonly message: "The imp's agent is too old for this";
|
|
7009
9358
|
readonly status: 409;
|
|
7010
9359
|
};
|
|
9360
|
+
MOVING: {
|
|
9361
|
+
readonly message: "The imp is moving between hosts";
|
|
9362
|
+
readonly status: 409;
|
|
9363
|
+
readonly data: z.ZodObject<{
|
|
9364
|
+
retryAfterS: z.ZodInt;
|
|
9365
|
+
}, z.core.$strip>;
|
|
9366
|
+
};
|
|
7011
9367
|
}>, Record<never, never>>;
|
|
7012
9368
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7013
9369
|
name: z.ZodString;
|
|
@@ -7094,7 +9450,27 @@ declare const impContract: {
|
|
|
7094
9450
|
sleeping: "sleeping";
|
|
7095
9451
|
stopped: "stopped";
|
|
7096
9452
|
}>>;
|
|
7097
|
-
|
|
9453
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
9454
|
+
bootId: z.ZodString;
|
|
9455
|
+
cause: z.ZodEnum<{
|
|
9456
|
+
recovery: "recovery";
|
|
9457
|
+
restore: "restore";
|
|
9458
|
+
start: "start";
|
|
9459
|
+
unknown: "unknown";
|
|
9460
|
+
wake_fallback: "wake_fallback";
|
|
9461
|
+
watchdog: "watchdog";
|
|
9462
|
+
}>;
|
|
9463
|
+
at: z.ZodISODateTime;
|
|
9464
|
+
}, z.core.$strip>>>>>;
|
|
9465
|
+
}, z.core.$strip>;
|
|
9466
|
+
};
|
|
9467
|
+
INVALID_RESUME: {
|
|
9468
|
+
readonly message: "The resume offset is past the end of the output";
|
|
9469
|
+
readonly status: 409;
|
|
9470
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
9471
|
+
end: z.ZodInt;
|
|
9472
|
+
bufferStart: z.ZodInt;
|
|
9473
|
+
}, z.core.$strip>>;
|
|
7098
9474
|
};
|
|
7099
9475
|
DISK_FULL: {
|
|
7100
9476
|
readonly message: "Not enough free disk on the host";
|
|
@@ -7129,6 +9505,13 @@ declare const impContract: {
|
|
|
7129
9505
|
readonly message: "The imp's agent is too old for this";
|
|
7130
9506
|
readonly status: 409;
|
|
7131
9507
|
};
|
|
9508
|
+
MOVING: {
|
|
9509
|
+
readonly message: "The imp is moving between hosts";
|
|
9510
|
+
readonly status: 409;
|
|
9511
|
+
readonly data: z.ZodObject<{
|
|
9512
|
+
retryAfterS: z.ZodInt;
|
|
9513
|
+
}, z.core.$strip>;
|
|
9514
|
+
};
|
|
7132
9515
|
}>, Record<never, never>>;
|
|
7133
9516
|
};
|
|
7134
9517
|
networks: {
|
|
@@ -7219,7 +9602,27 @@ declare const impContract: {
|
|
|
7219
9602
|
sleeping: "sleeping";
|
|
7220
9603
|
stopped: "stopped";
|
|
7221
9604
|
}>>;
|
|
7222
|
-
|
|
9605
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
9606
|
+
bootId: z.ZodString;
|
|
9607
|
+
cause: z.ZodEnum<{
|
|
9608
|
+
recovery: "recovery";
|
|
9609
|
+
restore: "restore";
|
|
9610
|
+
start: "start";
|
|
9611
|
+
unknown: "unknown";
|
|
9612
|
+
wake_fallback: "wake_fallback";
|
|
9613
|
+
watchdog: "watchdog";
|
|
9614
|
+
}>;
|
|
9615
|
+
at: z.ZodISODateTime;
|
|
9616
|
+
}, z.core.$strip>>>>>;
|
|
9617
|
+
}, z.core.$strip>;
|
|
9618
|
+
};
|
|
9619
|
+
INVALID_RESUME: {
|
|
9620
|
+
readonly message: "The resume offset is past the end of the output";
|
|
9621
|
+
readonly status: 409;
|
|
9622
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
9623
|
+
end: z.ZodInt;
|
|
9624
|
+
bufferStart: z.ZodInt;
|
|
9625
|
+
}, z.core.$strip>>;
|
|
7223
9626
|
};
|
|
7224
9627
|
DISK_FULL: {
|
|
7225
9628
|
readonly message: "Not enough free disk on the host";
|
|
@@ -7254,6 +9657,13 @@ declare const impContract: {
|
|
|
7254
9657
|
readonly message: "The imp's agent is too old for this";
|
|
7255
9658
|
readonly status: 409;
|
|
7256
9659
|
};
|
|
9660
|
+
MOVING: {
|
|
9661
|
+
readonly message: "The imp is moving between hosts";
|
|
9662
|
+
readonly status: 409;
|
|
9663
|
+
readonly data: z.ZodObject<{
|
|
9664
|
+
retryAfterS: z.ZodInt;
|
|
9665
|
+
}, z.core.$strip>;
|
|
9666
|
+
};
|
|
7257
9667
|
}>, Record<never, never>>;
|
|
7258
9668
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7259
9669
|
name: z.ZodString;
|
|
@@ -7344,7 +9754,27 @@ declare const impContract: {
|
|
|
7344
9754
|
sleeping: "sleeping";
|
|
7345
9755
|
stopped: "stopped";
|
|
7346
9756
|
}>>;
|
|
7347
|
-
|
|
9757
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
9758
|
+
bootId: z.ZodString;
|
|
9759
|
+
cause: z.ZodEnum<{
|
|
9760
|
+
recovery: "recovery";
|
|
9761
|
+
restore: "restore";
|
|
9762
|
+
start: "start";
|
|
9763
|
+
unknown: "unknown";
|
|
9764
|
+
wake_fallback: "wake_fallback";
|
|
9765
|
+
watchdog: "watchdog";
|
|
9766
|
+
}>;
|
|
9767
|
+
at: z.ZodISODateTime;
|
|
9768
|
+
}, z.core.$strip>>>>>;
|
|
9769
|
+
}, z.core.$strip>;
|
|
9770
|
+
};
|
|
9771
|
+
INVALID_RESUME: {
|
|
9772
|
+
readonly message: "The resume offset is past the end of the output";
|
|
9773
|
+
readonly status: 409;
|
|
9774
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
9775
|
+
end: z.ZodInt;
|
|
9776
|
+
bufferStart: z.ZodInt;
|
|
9777
|
+
}, z.core.$strip>>;
|
|
7348
9778
|
};
|
|
7349
9779
|
DISK_FULL: {
|
|
7350
9780
|
readonly message: "Not enough free disk on the host";
|
|
@@ -7379,6 +9809,13 @@ declare const impContract: {
|
|
|
7379
9809
|
readonly message: "The imp's agent is too old for this";
|
|
7380
9810
|
readonly status: 409;
|
|
7381
9811
|
};
|
|
9812
|
+
MOVING: {
|
|
9813
|
+
readonly message: "The imp is moving between hosts";
|
|
9814
|
+
readonly status: 409;
|
|
9815
|
+
readonly data: z.ZodObject<{
|
|
9816
|
+
retryAfterS: z.ZodInt;
|
|
9817
|
+
}, z.core.$strip>;
|
|
9818
|
+
};
|
|
7382
9819
|
}>, Record<never, never>>;
|
|
7383
9820
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7384
9821
|
name: z.ZodString;
|
|
@@ -7465,7 +9902,27 @@ declare const impContract: {
|
|
|
7465
9902
|
sleeping: "sleeping";
|
|
7466
9903
|
stopped: "stopped";
|
|
7467
9904
|
}>>;
|
|
7468
|
-
|
|
9905
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
9906
|
+
bootId: z.ZodString;
|
|
9907
|
+
cause: z.ZodEnum<{
|
|
9908
|
+
recovery: "recovery";
|
|
9909
|
+
restore: "restore";
|
|
9910
|
+
start: "start";
|
|
9911
|
+
unknown: "unknown";
|
|
9912
|
+
wake_fallback: "wake_fallback";
|
|
9913
|
+
watchdog: "watchdog";
|
|
9914
|
+
}>;
|
|
9915
|
+
at: z.ZodISODateTime;
|
|
9916
|
+
}, z.core.$strip>>>>>;
|
|
9917
|
+
}, z.core.$strip>;
|
|
9918
|
+
};
|
|
9919
|
+
INVALID_RESUME: {
|
|
9920
|
+
readonly message: "The resume offset is past the end of the output";
|
|
9921
|
+
readonly status: 409;
|
|
9922
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
9923
|
+
end: z.ZodInt;
|
|
9924
|
+
bufferStart: z.ZodInt;
|
|
9925
|
+
}, z.core.$strip>>;
|
|
7469
9926
|
};
|
|
7470
9927
|
DISK_FULL: {
|
|
7471
9928
|
readonly message: "Not enough free disk on the host";
|
|
@@ -7500,6 +9957,13 @@ declare const impContract: {
|
|
|
7500
9957
|
readonly message: "The imp's agent is too old for this";
|
|
7501
9958
|
readonly status: 409;
|
|
7502
9959
|
};
|
|
9960
|
+
MOVING: {
|
|
9961
|
+
readonly message: "The imp is moving between hosts";
|
|
9962
|
+
readonly status: 409;
|
|
9963
|
+
readonly data: z.ZodObject<{
|
|
9964
|
+
retryAfterS: z.ZodInt;
|
|
9965
|
+
}, z.core.$strip>;
|
|
9966
|
+
};
|
|
7503
9967
|
}>, Record<never, never>>;
|
|
7504
9968
|
join: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7505
9969
|
network: z.ZodString;
|
|
@@ -7592,7 +10056,27 @@ declare const impContract: {
|
|
|
7592
10056
|
sleeping: "sleeping";
|
|
7593
10057
|
stopped: "stopped";
|
|
7594
10058
|
}>>;
|
|
7595
|
-
|
|
10059
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
10060
|
+
bootId: z.ZodString;
|
|
10061
|
+
cause: z.ZodEnum<{
|
|
10062
|
+
recovery: "recovery";
|
|
10063
|
+
restore: "restore";
|
|
10064
|
+
start: "start";
|
|
10065
|
+
unknown: "unknown";
|
|
10066
|
+
wake_fallback: "wake_fallback";
|
|
10067
|
+
watchdog: "watchdog";
|
|
10068
|
+
}>;
|
|
10069
|
+
at: z.ZodISODateTime;
|
|
10070
|
+
}, z.core.$strip>>>>>;
|
|
10071
|
+
}, z.core.$strip>;
|
|
10072
|
+
};
|
|
10073
|
+
INVALID_RESUME: {
|
|
10074
|
+
readonly message: "The resume offset is past the end of the output";
|
|
10075
|
+
readonly status: 409;
|
|
10076
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
10077
|
+
end: z.ZodInt;
|
|
10078
|
+
bufferStart: z.ZodInt;
|
|
10079
|
+
}, z.core.$strip>>;
|
|
7596
10080
|
};
|
|
7597
10081
|
DISK_FULL: {
|
|
7598
10082
|
readonly message: "Not enough free disk on the host";
|
|
@@ -7627,6 +10111,13 @@ declare const impContract: {
|
|
|
7627
10111
|
readonly message: "The imp's agent is too old for this";
|
|
7628
10112
|
readonly status: 409;
|
|
7629
10113
|
};
|
|
10114
|
+
MOVING: {
|
|
10115
|
+
readonly message: "The imp is moving between hosts";
|
|
10116
|
+
readonly status: 409;
|
|
10117
|
+
readonly data: z.ZodObject<{
|
|
10118
|
+
retryAfterS: z.ZodInt;
|
|
10119
|
+
}, z.core.$strip>;
|
|
10120
|
+
};
|
|
7630
10121
|
}>, Record<never, never>>;
|
|
7631
10122
|
warnings: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7632
10123
|
name: z.ZodString;
|
|
@@ -7713,7 +10204,27 @@ declare const impContract: {
|
|
|
7713
10204
|
sleeping: "sleeping";
|
|
7714
10205
|
stopped: "stopped";
|
|
7715
10206
|
}>>;
|
|
7716
|
-
|
|
10207
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
10208
|
+
bootId: z.ZodString;
|
|
10209
|
+
cause: z.ZodEnum<{
|
|
10210
|
+
recovery: "recovery";
|
|
10211
|
+
restore: "restore";
|
|
10212
|
+
start: "start";
|
|
10213
|
+
unknown: "unknown";
|
|
10214
|
+
wake_fallback: "wake_fallback";
|
|
10215
|
+
watchdog: "watchdog";
|
|
10216
|
+
}>;
|
|
10217
|
+
at: z.ZodISODateTime;
|
|
10218
|
+
}, z.core.$strip>>>>>;
|
|
10219
|
+
}, z.core.$strip>;
|
|
10220
|
+
};
|
|
10221
|
+
INVALID_RESUME: {
|
|
10222
|
+
readonly message: "The resume offset is past the end of the output";
|
|
10223
|
+
readonly status: 409;
|
|
10224
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
10225
|
+
end: z.ZodInt;
|
|
10226
|
+
bufferStart: z.ZodInt;
|
|
10227
|
+
}, z.core.$strip>>;
|
|
7717
10228
|
};
|
|
7718
10229
|
DISK_FULL: {
|
|
7719
10230
|
readonly message: "Not enough free disk on the host";
|
|
@@ -7748,6 +10259,13 @@ declare const impContract: {
|
|
|
7748
10259
|
readonly message: "The imp's agent is too old for this";
|
|
7749
10260
|
readonly status: 409;
|
|
7750
10261
|
};
|
|
10262
|
+
MOVING: {
|
|
10263
|
+
readonly message: "The imp is moving between hosts";
|
|
10264
|
+
readonly status: 409;
|
|
10265
|
+
readonly data: z.ZodObject<{
|
|
10266
|
+
retryAfterS: z.ZodInt;
|
|
10267
|
+
}, z.core.$strip>;
|
|
10268
|
+
};
|
|
7751
10269
|
}>, Record<never, never>>;
|
|
7752
10270
|
leave: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7753
10271
|
network: z.ZodString;
|
|
@@ -7839,7 +10357,27 @@ declare const impContract: {
|
|
|
7839
10357
|
sleeping: "sleeping";
|
|
7840
10358
|
stopped: "stopped";
|
|
7841
10359
|
}>>;
|
|
7842
|
-
|
|
10360
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
10361
|
+
bootId: z.ZodString;
|
|
10362
|
+
cause: z.ZodEnum<{
|
|
10363
|
+
recovery: "recovery";
|
|
10364
|
+
restore: "restore";
|
|
10365
|
+
start: "start";
|
|
10366
|
+
unknown: "unknown";
|
|
10367
|
+
wake_fallback: "wake_fallback";
|
|
10368
|
+
watchdog: "watchdog";
|
|
10369
|
+
}>;
|
|
10370
|
+
at: z.ZodISODateTime;
|
|
10371
|
+
}, z.core.$strip>>>>>;
|
|
10372
|
+
}, z.core.$strip>;
|
|
10373
|
+
};
|
|
10374
|
+
INVALID_RESUME: {
|
|
10375
|
+
readonly message: "The resume offset is past the end of the output";
|
|
10376
|
+
readonly status: 409;
|
|
10377
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
10378
|
+
end: z.ZodInt;
|
|
10379
|
+
bufferStart: z.ZodInt;
|
|
10380
|
+
}, z.core.$strip>>;
|
|
7843
10381
|
};
|
|
7844
10382
|
DISK_FULL: {
|
|
7845
10383
|
readonly message: "Not enough free disk on the host";
|
|
@@ -7874,6 +10412,13 @@ declare const impContract: {
|
|
|
7874
10412
|
readonly message: "The imp's agent is too old for this";
|
|
7875
10413
|
readonly status: 409;
|
|
7876
10414
|
};
|
|
10415
|
+
MOVING: {
|
|
10416
|
+
readonly message: "The imp is moving between hosts";
|
|
10417
|
+
readonly status: 409;
|
|
10418
|
+
readonly data: z.ZodObject<{
|
|
10419
|
+
retryAfterS: z.ZodInt;
|
|
10420
|
+
}, z.core.$strip>;
|
|
10421
|
+
};
|
|
7877
10422
|
}>, Record<never, never>>;
|
|
7878
10423
|
};
|
|
7879
10424
|
grants: {
|
|
@@ -7963,7 +10508,27 @@ declare const impContract: {
|
|
|
7963
10508
|
sleeping: "sleeping";
|
|
7964
10509
|
stopped: "stopped";
|
|
7965
10510
|
}>>;
|
|
7966
|
-
|
|
10511
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
10512
|
+
bootId: z.ZodString;
|
|
10513
|
+
cause: z.ZodEnum<{
|
|
10514
|
+
recovery: "recovery";
|
|
10515
|
+
restore: "restore";
|
|
10516
|
+
start: "start";
|
|
10517
|
+
unknown: "unknown";
|
|
10518
|
+
wake_fallback: "wake_fallback";
|
|
10519
|
+
watchdog: "watchdog";
|
|
10520
|
+
}>;
|
|
10521
|
+
at: z.ZodISODateTime;
|
|
10522
|
+
}, z.core.$strip>>>>>;
|
|
10523
|
+
}, z.core.$strip>;
|
|
10524
|
+
};
|
|
10525
|
+
INVALID_RESUME: {
|
|
10526
|
+
readonly message: "The resume offset is past the end of the output";
|
|
10527
|
+
readonly status: 409;
|
|
10528
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
10529
|
+
end: z.ZodInt;
|
|
10530
|
+
bufferStart: z.ZodInt;
|
|
10531
|
+
}, z.core.$strip>>;
|
|
7967
10532
|
};
|
|
7968
10533
|
DISK_FULL: {
|
|
7969
10534
|
readonly message: "Not enough free disk on the host";
|
|
@@ -7998,6 +10563,13 @@ declare const impContract: {
|
|
|
7998
10563
|
readonly message: "The imp's agent is too old for this";
|
|
7999
10564
|
readonly status: 409;
|
|
8000
10565
|
};
|
|
10566
|
+
MOVING: {
|
|
10567
|
+
readonly message: "The imp is moving between hosts";
|
|
10568
|
+
readonly status: 409;
|
|
10569
|
+
readonly data: z.ZodObject<{
|
|
10570
|
+
retryAfterS: z.ZodInt;
|
|
10571
|
+
}, z.core.$strip>;
|
|
10572
|
+
};
|
|
8001
10573
|
}>, Record<never, never>>;
|
|
8002
10574
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8003
10575
|
name: z.ZodString;
|
|
@@ -8085,7 +10657,27 @@ declare const impContract: {
|
|
|
8085
10657
|
sleeping: "sleeping";
|
|
8086
10658
|
stopped: "stopped";
|
|
8087
10659
|
}>>;
|
|
8088
|
-
|
|
10660
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
10661
|
+
bootId: z.ZodString;
|
|
10662
|
+
cause: z.ZodEnum<{
|
|
10663
|
+
recovery: "recovery";
|
|
10664
|
+
restore: "restore";
|
|
10665
|
+
start: "start";
|
|
10666
|
+
unknown: "unknown";
|
|
10667
|
+
wake_fallback: "wake_fallback";
|
|
10668
|
+
watchdog: "watchdog";
|
|
10669
|
+
}>;
|
|
10670
|
+
at: z.ZodISODateTime;
|
|
10671
|
+
}, z.core.$strip>>>>>;
|
|
10672
|
+
}, z.core.$strip>;
|
|
10673
|
+
};
|
|
10674
|
+
INVALID_RESUME: {
|
|
10675
|
+
readonly message: "The resume offset is past the end of the output";
|
|
10676
|
+
readonly status: 409;
|
|
10677
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
10678
|
+
end: z.ZodInt;
|
|
10679
|
+
bufferStart: z.ZodInt;
|
|
10680
|
+
}, z.core.$strip>>;
|
|
8089
10681
|
};
|
|
8090
10682
|
DISK_FULL: {
|
|
8091
10683
|
readonly message: "Not enough free disk on the host";
|
|
@@ -8120,6 +10712,13 @@ declare const impContract: {
|
|
|
8120
10712
|
readonly message: "The imp's agent is too old for this";
|
|
8121
10713
|
readonly status: 409;
|
|
8122
10714
|
};
|
|
10715
|
+
MOVING: {
|
|
10716
|
+
readonly message: "The imp is moving between hosts";
|
|
10717
|
+
readonly status: 409;
|
|
10718
|
+
readonly data: z.ZodObject<{
|
|
10719
|
+
retryAfterS: z.ZodInt;
|
|
10720
|
+
}, z.core.$strip>;
|
|
10721
|
+
};
|
|
8123
10722
|
}>, Record<never, never>>;
|
|
8124
10723
|
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8125
10724
|
name: z.ZodString;
|
|
@@ -8206,7 +10805,27 @@ declare const impContract: {
|
|
|
8206
10805
|
sleeping: "sleeping";
|
|
8207
10806
|
stopped: "stopped";
|
|
8208
10807
|
}>>;
|
|
8209
|
-
|
|
10808
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
10809
|
+
bootId: z.ZodString;
|
|
10810
|
+
cause: z.ZodEnum<{
|
|
10811
|
+
recovery: "recovery";
|
|
10812
|
+
restore: "restore";
|
|
10813
|
+
start: "start";
|
|
10814
|
+
unknown: "unknown";
|
|
10815
|
+
wake_fallback: "wake_fallback";
|
|
10816
|
+
watchdog: "watchdog";
|
|
10817
|
+
}>;
|
|
10818
|
+
at: z.ZodISODateTime;
|
|
10819
|
+
}, z.core.$strip>>>>>;
|
|
10820
|
+
}, z.core.$strip>;
|
|
10821
|
+
};
|
|
10822
|
+
INVALID_RESUME: {
|
|
10823
|
+
readonly message: "The resume offset is past the end of the output";
|
|
10824
|
+
readonly status: 409;
|
|
10825
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
10826
|
+
end: z.ZodInt;
|
|
10827
|
+
bufferStart: z.ZodInt;
|
|
10828
|
+
}, z.core.$strip>>;
|
|
8210
10829
|
};
|
|
8211
10830
|
DISK_FULL: {
|
|
8212
10831
|
readonly message: "Not enough free disk on the host";
|
|
@@ -8241,6 +10860,13 @@ declare const impContract: {
|
|
|
8241
10860
|
readonly message: "The imp's agent is too old for this";
|
|
8242
10861
|
readonly status: 409;
|
|
8243
10862
|
};
|
|
10863
|
+
MOVING: {
|
|
10864
|
+
readonly message: "The imp is moving between hosts";
|
|
10865
|
+
readonly status: 409;
|
|
10866
|
+
readonly data: z.ZodObject<{
|
|
10867
|
+
retryAfterS: z.ZodInt;
|
|
10868
|
+
}, z.core.$strip>;
|
|
10869
|
+
};
|
|
8244
10870
|
}>, Record<never, never>>;
|
|
8245
10871
|
};
|
|
8246
10872
|
audit: {
|
|
@@ -8341,7 +10967,27 @@ declare const impContract: {
|
|
|
8341
10967
|
sleeping: "sleeping";
|
|
8342
10968
|
stopped: "stopped";
|
|
8343
10969
|
}>>;
|
|
8344
|
-
|
|
10970
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
10971
|
+
bootId: z.ZodString;
|
|
10972
|
+
cause: z.ZodEnum<{
|
|
10973
|
+
recovery: "recovery";
|
|
10974
|
+
restore: "restore";
|
|
10975
|
+
start: "start";
|
|
10976
|
+
unknown: "unknown";
|
|
10977
|
+
wake_fallback: "wake_fallback";
|
|
10978
|
+
watchdog: "watchdog";
|
|
10979
|
+
}>;
|
|
10980
|
+
at: z.ZodISODateTime;
|
|
10981
|
+
}, z.core.$strip>>>>>;
|
|
10982
|
+
}, z.core.$strip>;
|
|
10983
|
+
};
|
|
10984
|
+
INVALID_RESUME: {
|
|
10985
|
+
readonly message: "The resume offset is past the end of the output";
|
|
10986
|
+
readonly status: 409;
|
|
10987
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
10988
|
+
end: z.ZodInt;
|
|
10989
|
+
bufferStart: z.ZodInt;
|
|
10990
|
+
}, z.core.$strip>>;
|
|
8345
10991
|
};
|
|
8346
10992
|
DISK_FULL: {
|
|
8347
10993
|
readonly message: "Not enough free disk on the host";
|
|
@@ -8376,6 +11022,13 @@ declare const impContract: {
|
|
|
8376
11022
|
readonly message: "The imp's agent is too old for this";
|
|
8377
11023
|
readonly status: 409;
|
|
8378
11024
|
};
|
|
11025
|
+
MOVING: {
|
|
11026
|
+
readonly message: "The imp is moving between hosts";
|
|
11027
|
+
readonly status: 409;
|
|
11028
|
+
readonly data: z.ZodObject<{
|
|
11029
|
+
retryAfterS: z.ZodInt;
|
|
11030
|
+
}, z.core.$strip>;
|
|
11031
|
+
};
|
|
8379
11032
|
}>, Record<never, never>>;
|
|
8380
11033
|
calls: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8381
11034
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -8476,7 +11129,27 @@ declare const impContract: {
|
|
|
8476
11129
|
sleeping: "sleeping";
|
|
8477
11130
|
stopped: "stopped";
|
|
8478
11131
|
}>>;
|
|
8479
|
-
|
|
11132
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
11133
|
+
bootId: z.ZodString;
|
|
11134
|
+
cause: z.ZodEnum<{
|
|
11135
|
+
recovery: "recovery";
|
|
11136
|
+
restore: "restore";
|
|
11137
|
+
start: "start";
|
|
11138
|
+
unknown: "unknown";
|
|
11139
|
+
wake_fallback: "wake_fallback";
|
|
11140
|
+
watchdog: "watchdog";
|
|
11141
|
+
}>;
|
|
11142
|
+
at: z.ZodISODateTime;
|
|
11143
|
+
}, z.core.$strip>>>>>;
|
|
11144
|
+
}, z.core.$strip>;
|
|
11145
|
+
};
|
|
11146
|
+
INVALID_RESUME: {
|
|
11147
|
+
readonly message: "The resume offset is past the end of the output";
|
|
11148
|
+
readonly status: 409;
|
|
11149
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
11150
|
+
end: z.ZodInt;
|
|
11151
|
+
bufferStart: z.ZodInt;
|
|
11152
|
+
}, z.core.$strip>>;
|
|
8480
11153
|
};
|
|
8481
11154
|
DISK_FULL: {
|
|
8482
11155
|
readonly message: "Not enough free disk on the host";
|
|
@@ -8511,6 +11184,13 @@ declare const impContract: {
|
|
|
8511
11184
|
readonly message: "The imp's agent is too old for this";
|
|
8512
11185
|
readonly status: 409;
|
|
8513
11186
|
};
|
|
11187
|
+
MOVING: {
|
|
11188
|
+
readonly message: "The imp is moving between hosts";
|
|
11189
|
+
readonly status: 409;
|
|
11190
|
+
readonly data: z.ZodObject<{
|
|
11191
|
+
retryAfterS: z.ZodInt;
|
|
11192
|
+
}, z.core.$strip>;
|
|
11193
|
+
};
|
|
8514
11194
|
}>, Record<never, never>>;
|
|
8515
11195
|
};
|
|
8516
11196
|
events: {
|
|
@@ -8581,6 +11261,7 @@ declare const impContract: {
|
|
|
8581
11261
|
netTxBytes: number;
|
|
8582
11262
|
} | undefined;
|
|
8583
11263
|
} | undefined;
|
|
11264
|
+
move?: "moved" | "receiving" | "sending" | undefined;
|
|
8584
11265
|
};
|
|
8585
11266
|
} | {
|
|
8586
11267
|
v: 1;
|
|
@@ -8649,6 +11330,7 @@ declare const impContract: {
|
|
|
8649
11330
|
netTxBytes: number;
|
|
8650
11331
|
} | undefined;
|
|
8651
11332
|
} | undefined;
|
|
11333
|
+
move?: "moved" | "receiving" | "sending" | undefined;
|
|
8652
11334
|
};
|
|
8653
11335
|
detail?: Readonly<{
|
|
8654
11336
|
durationMs?: number | undefined;
|
|
@@ -8723,6 +11405,7 @@ declare const impContract: {
|
|
|
8723
11405
|
netTxBytes: number;
|
|
8724
11406
|
} | undefined;
|
|
8725
11407
|
} | undefined;
|
|
11408
|
+
move?: "moved" | "receiving" | "sending" | undefined;
|
|
8726
11409
|
};
|
|
8727
11410
|
} | {
|
|
8728
11411
|
v: 1;
|
|
@@ -8827,6 +11510,7 @@ declare const impContract: {
|
|
|
8827
11510
|
netTxBytes: number;
|
|
8828
11511
|
} | undefined;
|
|
8829
11512
|
} | undefined;
|
|
11513
|
+
move?: "moved" | "receiving" | "sending" | undefined;
|
|
8830
11514
|
};
|
|
8831
11515
|
} | {
|
|
8832
11516
|
v: 1;
|
|
@@ -8895,6 +11579,7 @@ declare const impContract: {
|
|
|
8895
11579
|
netTxBytes: number;
|
|
8896
11580
|
} | undefined;
|
|
8897
11581
|
} | undefined;
|
|
11582
|
+
move?: "moved" | "receiving" | "sending" | undefined;
|
|
8898
11583
|
};
|
|
8899
11584
|
detail?: Readonly<{
|
|
8900
11585
|
durationMs?: number | undefined;
|
|
@@ -8969,6 +11654,7 @@ declare const impContract: {
|
|
|
8969
11654
|
netTxBytes: number;
|
|
8970
11655
|
} | undefined;
|
|
8971
11656
|
} | undefined;
|
|
11657
|
+
move?: "moved" | "receiving" | "sending" | undefined;
|
|
8972
11658
|
};
|
|
8973
11659
|
} | {
|
|
8974
11660
|
v: 1;
|
|
@@ -9089,7 +11775,27 @@ declare const impContract: {
|
|
|
9089
11775
|
sleeping: "sleeping";
|
|
9090
11776
|
stopped: "stopped";
|
|
9091
11777
|
}>>;
|
|
9092
|
-
|
|
11778
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
11779
|
+
bootId: z.ZodString;
|
|
11780
|
+
cause: z.ZodEnum<{
|
|
11781
|
+
recovery: "recovery";
|
|
11782
|
+
restore: "restore";
|
|
11783
|
+
start: "start";
|
|
11784
|
+
unknown: "unknown";
|
|
11785
|
+
wake_fallback: "wake_fallback";
|
|
11786
|
+
watchdog: "watchdog";
|
|
11787
|
+
}>;
|
|
11788
|
+
at: z.ZodISODateTime;
|
|
11789
|
+
}, z.core.$strip>>>>>;
|
|
11790
|
+
}, z.core.$strip>;
|
|
11791
|
+
};
|
|
11792
|
+
INVALID_RESUME: {
|
|
11793
|
+
readonly message: "The resume offset is past the end of the output";
|
|
11794
|
+
readonly status: 409;
|
|
11795
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
11796
|
+
end: z.ZodInt;
|
|
11797
|
+
bufferStart: z.ZodInt;
|
|
11798
|
+
}, z.core.$strip>>;
|
|
9093
11799
|
};
|
|
9094
11800
|
DISK_FULL: {
|
|
9095
11801
|
readonly message: "Not enough free disk on the host";
|
|
@@ -9124,6 +11830,13 @@ declare const impContract: {
|
|
|
9124
11830
|
readonly message: "The imp's agent is too old for this";
|
|
9125
11831
|
readonly status: 409;
|
|
9126
11832
|
};
|
|
11833
|
+
MOVING: {
|
|
11834
|
+
readonly message: "The imp is moving between hosts";
|
|
11835
|
+
readonly status: 409;
|
|
11836
|
+
readonly data: z.ZodObject<{
|
|
11837
|
+
retryAfterS: z.ZodInt;
|
|
11838
|
+
}, z.core.$strip>;
|
|
11839
|
+
};
|
|
9127
11840
|
}>, Record<never, never>>;
|
|
9128
11841
|
};
|
|
9129
11842
|
system: {
|
|
@@ -9278,7 +11991,27 @@ declare const impContract: {
|
|
|
9278
11991
|
sleeping: "sleeping";
|
|
9279
11992
|
stopped: "stopped";
|
|
9280
11993
|
}>>;
|
|
9281
|
-
|
|
11994
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
11995
|
+
bootId: z.ZodString;
|
|
11996
|
+
cause: z.ZodEnum<{
|
|
11997
|
+
recovery: "recovery";
|
|
11998
|
+
restore: "restore";
|
|
11999
|
+
start: "start";
|
|
12000
|
+
unknown: "unknown";
|
|
12001
|
+
wake_fallback: "wake_fallback";
|
|
12002
|
+
watchdog: "watchdog";
|
|
12003
|
+
}>;
|
|
12004
|
+
at: z.ZodISODateTime;
|
|
12005
|
+
}, z.core.$strip>>>>>;
|
|
12006
|
+
}, z.core.$strip>;
|
|
12007
|
+
};
|
|
12008
|
+
INVALID_RESUME: {
|
|
12009
|
+
readonly message: "The resume offset is past the end of the output";
|
|
12010
|
+
readonly status: 409;
|
|
12011
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
12012
|
+
end: z.ZodInt;
|
|
12013
|
+
bufferStart: z.ZodInt;
|
|
12014
|
+
}, z.core.$strip>>;
|
|
9282
12015
|
};
|
|
9283
12016
|
DISK_FULL: {
|
|
9284
12017
|
readonly message: "Not enough free disk on the host";
|
|
@@ -9313,6 +12046,13 @@ declare const impContract: {
|
|
|
9313
12046
|
readonly message: "The imp's agent is too old for this";
|
|
9314
12047
|
readonly status: 409;
|
|
9315
12048
|
};
|
|
12049
|
+
MOVING: {
|
|
12050
|
+
readonly message: "The imp is moving between hosts";
|
|
12051
|
+
readonly status: 409;
|
|
12052
|
+
readonly data: z.ZodObject<{
|
|
12053
|
+
retryAfterS: z.ZodInt;
|
|
12054
|
+
}, z.core.$strip>;
|
|
12055
|
+
};
|
|
9316
12056
|
}>, Record<never, never>>;
|
|
9317
12057
|
gc: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9318
12058
|
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -9425,7 +12165,27 @@ declare const impContract: {
|
|
|
9425
12165
|
sleeping: "sleeping";
|
|
9426
12166
|
stopped: "stopped";
|
|
9427
12167
|
}>>;
|
|
9428
|
-
|
|
12168
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
12169
|
+
bootId: z.ZodString;
|
|
12170
|
+
cause: z.ZodEnum<{
|
|
12171
|
+
recovery: "recovery";
|
|
12172
|
+
restore: "restore";
|
|
12173
|
+
start: "start";
|
|
12174
|
+
unknown: "unknown";
|
|
12175
|
+
wake_fallback: "wake_fallback";
|
|
12176
|
+
watchdog: "watchdog";
|
|
12177
|
+
}>;
|
|
12178
|
+
at: z.ZodISODateTime;
|
|
12179
|
+
}, z.core.$strip>>>>>;
|
|
12180
|
+
}, z.core.$strip>;
|
|
12181
|
+
};
|
|
12182
|
+
INVALID_RESUME: {
|
|
12183
|
+
readonly message: "The resume offset is past the end of the output";
|
|
12184
|
+
readonly status: 409;
|
|
12185
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
12186
|
+
end: z.ZodInt;
|
|
12187
|
+
bufferStart: z.ZodInt;
|
|
12188
|
+
}, z.core.$strip>>;
|
|
9429
12189
|
};
|
|
9430
12190
|
DISK_FULL: {
|
|
9431
12191
|
readonly message: "Not enough free disk on the host";
|
|
@@ -9460,6 +12220,13 @@ declare const impContract: {
|
|
|
9460
12220
|
readonly message: "The imp's agent is too old for this";
|
|
9461
12221
|
readonly status: 409;
|
|
9462
12222
|
};
|
|
12223
|
+
MOVING: {
|
|
12224
|
+
readonly message: "The imp is moving between hosts";
|
|
12225
|
+
readonly status: 409;
|
|
12226
|
+
readonly data: z.ZodObject<{
|
|
12227
|
+
retryAfterS: z.ZodInt;
|
|
12228
|
+
}, z.core.$strip>;
|
|
12229
|
+
};
|
|
9463
12230
|
}>, Record<never, never>>;
|
|
9464
12231
|
};
|
|
9465
12232
|
tokens: {
|
|
@@ -9560,7 +12327,27 @@ declare const impContract: {
|
|
|
9560
12327
|
sleeping: "sleeping";
|
|
9561
12328
|
stopped: "stopped";
|
|
9562
12329
|
}>>;
|
|
9563
|
-
|
|
12330
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
12331
|
+
bootId: z.ZodString;
|
|
12332
|
+
cause: z.ZodEnum<{
|
|
12333
|
+
recovery: "recovery";
|
|
12334
|
+
restore: "restore";
|
|
12335
|
+
start: "start";
|
|
12336
|
+
unknown: "unknown";
|
|
12337
|
+
wake_fallback: "wake_fallback";
|
|
12338
|
+
watchdog: "watchdog";
|
|
12339
|
+
}>;
|
|
12340
|
+
at: z.ZodISODateTime;
|
|
12341
|
+
}, z.core.$strip>>>>>;
|
|
12342
|
+
}, z.core.$strip>;
|
|
12343
|
+
};
|
|
12344
|
+
INVALID_RESUME: {
|
|
12345
|
+
readonly message: "The resume offset is past the end of the output";
|
|
12346
|
+
readonly status: 409;
|
|
12347
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
12348
|
+
end: z.ZodInt;
|
|
12349
|
+
bufferStart: z.ZodInt;
|
|
12350
|
+
}, z.core.$strip>>;
|
|
9564
12351
|
};
|
|
9565
12352
|
DISK_FULL: {
|
|
9566
12353
|
readonly message: "Not enough free disk on the host";
|
|
@@ -9595,6 +12382,13 @@ declare const impContract: {
|
|
|
9595
12382
|
readonly message: "The imp's agent is too old for this";
|
|
9596
12383
|
readonly status: 409;
|
|
9597
12384
|
};
|
|
12385
|
+
MOVING: {
|
|
12386
|
+
readonly message: "The imp is moving between hosts";
|
|
12387
|
+
readonly status: 409;
|
|
12388
|
+
readonly data: z.ZodObject<{
|
|
12389
|
+
retryAfterS: z.ZodInt;
|
|
12390
|
+
}, z.core.$strip>;
|
|
12391
|
+
};
|
|
9598
12392
|
}>, Record<never, never>>;
|
|
9599
12393
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9600
12394
|
name: z.ZodString;
|
|
@@ -9705,7 +12499,27 @@ declare const impContract: {
|
|
|
9705
12499
|
sleeping: "sleeping";
|
|
9706
12500
|
stopped: "stopped";
|
|
9707
12501
|
}>>;
|
|
9708
|
-
|
|
12502
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
12503
|
+
bootId: z.ZodString;
|
|
12504
|
+
cause: z.ZodEnum<{
|
|
12505
|
+
recovery: "recovery";
|
|
12506
|
+
restore: "restore";
|
|
12507
|
+
start: "start";
|
|
12508
|
+
unknown: "unknown";
|
|
12509
|
+
wake_fallback: "wake_fallback";
|
|
12510
|
+
watchdog: "watchdog";
|
|
12511
|
+
}>;
|
|
12512
|
+
at: z.ZodISODateTime;
|
|
12513
|
+
}, z.core.$strip>>>>>;
|
|
12514
|
+
}, z.core.$strip>;
|
|
12515
|
+
};
|
|
12516
|
+
INVALID_RESUME: {
|
|
12517
|
+
readonly message: "The resume offset is past the end of the output";
|
|
12518
|
+
readonly status: 409;
|
|
12519
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
12520
|
+
end: z.ZodInt;
|
|
12521
|
+
bufferStart: z.ZodInt;
|
|
12522
|
+
}, z.core.$strip>>;
|
|
9709
12523
|
};
|
|
9710
12524
|
DISK_FULL: {
|
|
9711
12525
|
readonly message: "Not enough free disk on the host";
|
|
@@ -9740,6 +12554,13 @@ declare const impContract: {
|
|
|
9740
12554
|
readonly message: "The imp's agent is too old for this";
|
|
9741
12555
|
readonly status: 409;
|
|
9742
12556
|
};
|
|
12557
|
+
MOVING: {
|
|
12558
|
+
readonly message: "The imp is moving between hosts";
|
|
12559
|
+
readonly status: 409;
|
|
12560
|
+
readonly data: z.ZodObject<{
|
|
12561
|
+
retryAfterS: z.ZodInt;
|
|
12562
|
+
}, z.core.$strip>;
|
|
12563
|
+
};
|
|
9743
12564
|
}>, Record<never, never>>;
|
|
9744
12565
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9745
12566
|
name: z.ZodString;
|
|
@@ -9826,7 +12647,27 @@ declare const impContract: {
|
|
|
9826
12647
|
sleeping: "sleeping";
|
|
9827
12648
|
stopped: "stopped";
|
|
9828
12649
|
}>>;
|
|
9829
|
-
|
|
12650
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
12651
|
+
bootId: z.ZodString;
|
|
12652
|
+
cause: z.ZodEnum<{
|
|
12653
|
+
recovery: "recovery";
|
|
12654
|
+
restore: "restore";
|
|
12655
|
+
start: "start";
|
|
12656
|
+
unknown: "unknown";
|
|
12657
|
+
wake_fallback: "wake_fallback";
|
|
12658
|
+
watchdog: "watchdog";
|
|
12659
|
+
}>;
|
|
12660
|
+
at: z.ZodISODateTime;
|
|
12661
|
+
}, z.core.$strip>>>>>;
|
|
12662
|
+
}, z.core.$strip>;
|
|
12663
|
+
};
|
|
12664
|
+
INVALID_RESUME: {
|
|
12665
|
+
readonly message: "The resume offset is past the end of the output";
|
|
12666
|
+
readonly status: 409;
|
|
12667
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
12668
|
+
end: z.ZodInt;
|
|
12669
|
+
bufferStart: z.ZodInt;
|
|
12670
|
+
}, z.core.$strip>>;
|
|
9830
12671
|
};
|
|
9831
12672
|
DISK_FULL: {
|
|
9832
12673
|
readonly message: "Not enough free disk on the host";
|
|
@@ -9861,6 +12702,13 @@ declare const impContract: {
|
|
|
9861
12702
|
readonly message: "The imp's agent is too old for this";
|
|
9862
12703
|
readonly status: 409;
|
|
9863
12704
|
};
|
|
12705
|
+
MOVING: {
|
|
12706
|
+
readonly message: "The imp is moving between hosts";
|
|
12707
|
+
readonly status: 409;
|
|
12708
|
+
readonly data: z.ZodObject<{
|
|
12709
|
+
retryAfterS: z.ZodInt;
|
|
12710
|
+
}, z.core.$strip>;
|
|
12711
|
+
};
|
|
9864
12712
|
}>, Record<never, never>>;
|
|
9865
12713
|
addKey: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9866
12714
|
name: z.ZodString;
|
|
@@ -9952,7 +12800,27 @@ declare const impContract: {
|
|
|
9952
12800
|
sleeping: "sleeping";
|
|
9953
12801
|
stopped: "stopped";
|
|
9954
12802
|
}>>;
|
|
9955
|
-
|
|
12803
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
12804
|
+
bootId: z.ZodString;
|
|
12805
|
+
cause: z.ZodEnum<{
|
|
12806
|
+
recovery: "recovery";
|
|
12807
|
+
restore: "restore";
|
|
12808
|
+
start: "start";
|
|
12809
|
+
unknown: "unknown";
|
|
12810
|
+
wake_fallback: "wake_fallback";
|
|
12811
|
+
watchdog: "watchdog";
|
|
12812
|
+
}>;
|
|
12813
|
+
at: z.ZodISODateTime;
|
|
12814
|
+
}, z.core.$strip>>>>>;
|
|
12815
|
+
}, z.core.$strip>;
|
|
12816
|
+
};
|
|
12817
|
+
INVALID_RESUME: {
|
|
12818
|
+
readonly message: "The resume offset is past the end of the output";
|
|
12819
|
+
readonly status: 409;
|
|
12820
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
12821
|
+
end: z.ZodInt;
|
|
12822
|
+
bufferStart: z.ZodInt;
|
|
12823
|
+
}, z.core.$strip>>;
|
|
9956
12824
|
};
|
|
9957
12825
|
DISK_FULL: {
|
|
9958
12826
|
readonly message: "Not enough free disk on the host";
|
|
@@ -9987,6 +12855,13 @@ declare const impContract: {
|
|
|
9987
12855
|
readonly message: "The imp's agent is too old for this";
|
|
9988
12856
|
readonly status: 409;
|
|
9989
12857
|
};
|
|
12858
|
+
MOVING: {
|
|
12859
|
+
readonly message: "The imp is moving between hosts";
|
|
12860
|
+
readonly status: 409;
|
|
12861
|
+
readonly data: z.ZodObject<{
|
|
12862
|
+
retryAfterS: z.ZodInt;
|
|
12863
|
+
}, z.core.$strip>;
|
|
12864
|
+
};
|
|
9990
12865
|
}>, Record<never, never>>;
|
|
9991
12866
|
removeKey: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9992
12867
|
name: z.ZodString;
|
|
@@ -10074,7 +12949,27 @@ declare const impContract: {
|
|
|
10074
12949
|
sleeping: "sleeping";
|
|
10075
12950
|
stopped: "stopped";
|
|
10076
12951
|
}>>;
|
|
10077
|
-
|
|
12952
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
12953
|
+
bootId: z.ZodString;
|
|
12954
|
+
cause: z.ZodEnum<{
|
|
12955
|
+
recovery: "recovery";
|
|
12956
|
+
restore: "restore";
|
|
12957
|
+
start: "start";
|
|
12958
|
+
unknown: "unknown";
|
|
12959
|
+
wake_fallback: "wake_fallback";
|
|
12960
|
+
watchdog: "watchdog";
|
|
12961
|
+
}>;
|
|
12962
|
+
at: z.ZodISODateTime;
|
|
12963
|
+
}, z.core.$strip>>>>>;
|
|
12964
|
+
}, z.core.$strip>;
|
|
12965
|
+
};
|
|
12966
|
+
INVALID_RESUME: {
|
|
12967
|
+
readonly message: "The resume offset is past the end of the output";
|
|
12968
|
+
readonly status: 409;
|
|
12969
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
12970
|
+
end: z.ZodInt;
|
|
12971
|
+
bufferStart: z.ZodInt;
|
|
12972
|
+
}, z.core.$strip>>;
|
|
10078
12973
|
};
|
|
10079
12974
|
DISK_FULL: {
|
|
10080
12975
|
readonly message: "Not enough free disk on the host";
|
|
@@ -10109,6 +13004,13 @@ declare const impContract: {
|
|
|
10109
13004
|
readonly message: "The imp's agent is too old for this";
|
|
10110
13005
|
readonly status: 409;
|
|
10111
13006
|
};
|
|
13007
|
+
MOVING: {
|
|
13008
|
+
readonly message: "The imp is moving between hosts";
|
|
13009
|
+
readonly status: 409;
|
|
13010
|
+
readonly data: z.ZodObject<{
|
|
13011
|
+
retryAfterS: z.ZodInt;
|
|
13012
|
+
}, z.core.$strip>;
|
|
13013
|
+
};
|
|
10112
13014
|
}>, Record<never, never>>;
|
|
10113
13015
|
whoami: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
10114
13016
|
kind: z.ZodEnum<{
|
|
@@ -10207,7 +13109,27 @@ declare const impContract: {
|
|
|
10207
13109
|
sleeping: "sleeping";
|
|
10208
13110
|
stopped: "stopped";
|
|
10209
13111
|
}>>;
|
|
10210
|
-
|
|
13112
|
+
coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
13113
|
+
bootId: z.ZodString;
|
|
13114
|
+
cause: z.ZodEnum<{
|
|
13115
|
+
recovery: "recovery";
|
|
13116
|
+
restore: "restore";
|
|
13117
|
+
start: "start";
|
|
13118
|
+
unknown: "unknown";
|
|
13119
|
+
wake_fallback: "wake_fallback";
|
|
13120
|
+
watchdog: "watchdog";
|
|
13121
|
+
}>;
|
|
13122
|
+
at: z.ZodISODateTime;
|
|
13123
|
+
}, z.core.$strip>>>>>;
|
|
13124
|
+
}, z.core.$strip>;
|
|
13125
|
+
};
|
|
13126
|
+
INVALID_RESUME: {
|
|
13127
|
+
readonly message: "The resume offset is past the end of the output";
|
|
13128
|
+
readonly status: 409;
|
|
13129
|
+
readonly data: z.ZodReadonly<z.ZodObject<{
|
|
13130
|
+
end: z.ZodInt;
|
|
13131
|
+
bufferStart: z.ZodInt;
|
|
13132
|
+
}, z.core.$strip>>;
|
|
10211
13133
|
};
|
|
10212
13134
|
DISK_FULL: {
|
|
10213
13135
|
readonly message: "Not enough free disk on the host";
|
|
@@ -10242,6 +13164,13 @@ declare const impContract: {
|
|
|
10242
13164
|
readonly message: "The imp's agent is too old for this";
|
|
10243
13165
|
readonly status: 409;
|
|
10244
13166
|
};
|
|
13167
|
+
MOVING: {
|
|
13168
|
+
readonly message: "The imp is moving between hosts";
|
|
13169
|
+
readonly status: 409;
|
|
13170
|
+
readonly data: z.ZodObject<{
|
|
13171
|
+
retryAfterS: z.ZodInt;
|
|
13172
|
+
}, z.core.$strip>;
|
|
13173
|
+
};
|
|
10245
13174
|
}>, Record<never, never>>;
|
|
10246
13175
|
};
|
|
10247
13176
|
};
|
|
@@ -10334,6 +13263,11 @@ declare const ImpSchema: z.ZodObject<{
|
|
|
10334
13263
|
netTxBytes: z.ZodInt;
|
|
10335
13264
|
}, z.core.$strip>>;
|
|
10336
13265
|
}, z.core.$strip>>;
|
|
13266
|
+
move: z.ZodOptional<z.ZodEnum<{
|
|
13267
|
+
moved: "moved";
|
|
13268
|
+
receiving: "receiving";
|
|
13269
|
+
sending: "sending";
|
|
13270
|
+
}>>;
|
|
10337
13271
|
}, z.core.$strip>;
|
|
10338
13272
|
type Imp = z.infer<typeof ImpSchema>;
|
|
10339
13273
|
//#endregion
|
|
@@ -10357,9 +13291,130 @@ declare const SessionSchema: z.ZodObject<{
|
|
|
10357
13291
|
code: z.ZodNullable<z.ZodInt>;
|
|
10358
13292
|
signal: z.ZodNullable<z.ZodString>;
|
|
10359
13293
|
}, z.core.$strip>>>;
|
|
13294
|
+
continuity: z.ZodOptional<z.ZodEnum<{
|
|
13295
|
+
none: "none";
|
|
13296
|
+
offsets: "offsets";
|
|
13297
|
+
}>>;
|
|
13298
|
+
executionGeneration: z.ZodOptional<z.ZodString>;
|
|
13299
|
+
bootId: z.ZodOptional<z.ZodString>;
|
|
13300
|
+
end: z.ZodOptional<z.ZodInt>;
|
|
13301
|
+
endObservedAt: z.ZodOptional<z.ZodDate>;
|
|
10360
13302
|
}, z.core.$strip>;
|
|
10361
13303
|
type Session = z.infer<typeof SessionSchema>;
|
|
10362
13304
|
//#endregion
|
|
13305
|
+
//#region ../api/src/session-output-schema.d.ts
|
|
13306
|
+
declare const ColdBootCauseSchema: z.ZodEnum<{
|
|
13307
|
+
recovery: "recovery";
|
|
13308
|
+
restore: "restore";
|
|
13309
|
+
start: "start";
|
|
13310
|
+
unknown: "unknown";
|
|
13311
|
+
wake_fallback: "wake_fallback";
|
|
13312
|
+
watchdog: "watchdog";
|
|
13313
|
+
}>;
|
|
13314
|
+
type ColdBootCause = z.infer<typeof ColdBootCauseSchema>;
|
|
13315
|
+
declare const ColdBootSchema: z.ZodReadonly<z.ZodObject<{
|
|
13316
|
+
bootId: z.ZodString;
|
|
13317
|
+
cause: z.ZodEnum<{
|
|
13318
|
+
recovery: "recovery";
|
|
13319
|
+
restore: "restore";
|
|
13320
|
+
start: "start";
|
|
13321
|
+
unknown: "unknown";
|
|
13322
|
+
wake_fallback: "wake_fallback";
|
|
13323
|
+
watchdog: "watchdog";
|
|
13324
|
+
}>;
|
|
13325
|
+
at: z.ZodISODateTime;
|
|
13326
|
+
}, z.core.$strip>>;
|
|
13327
|
+
type ColdBoot = z.infer<typeof ColdBootSchema>;
|
|
13328
|
+
declare const PreviousGenerationSchema: z.ZodReadonly<z.ZodObject<{
|
|
13329
|
+
executionGeneration: z.ZodString;
|
|
13330
|
+
end: z.ZodInt;
|
|
13331
|
+
exitCode: z.ZodNullable<z.ZodInt>;
|
|
13332
|
+
}, z.core.$strip>>;
|
|
13333
|
+
type PreviousGeneration = z.infer<typeof PreviousGenerationSchema>;
|
|
13334
|
+
declare const ResumeFromSchema: z.ZodReadonly<z.ZodObject<{
|
|
13335
|
+
executionGeneration: z.ZodString;
|
|
13336
|
+
offset: z.ZodInt;
|
|
13337
|
+
}, z.core.$strip>>;
|
|
13338
|
+
type ResumeFrom = z.infer<typeof ResumeFromSchema>;
|
|
13339
|
+
declare const ResumeResultSchema: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13340
|
+
kind: z.ZodLiteral<"exact">;
|
|
13341
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13342
|
+
kind: z.ZodLiteral<"gap">;
|
|
13343
|
+
from: z.ZodInt;
|
|
13344
|
+
to: z.ZodInt;
|
|
13345
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13346
|
+
kind: z.ZodLiteral<"generation_changed">;
|
|
13347
|
+
executionGeneration: z.ZodString;
|
|
13348
|
+
firstOffset: z.ZodInt;
|
|
13349
|
+
}, z.core.$strip>], "kind">>;
|
|
13350
|
+
type ResumeResult = z.infer<typeof ResumeResultSchema>;
|
|
13351
|
+
declare const SessionOutputSchema: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13352
|
+
continuity: z.ZodLiteral<"none">;
|
|
13353
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13354
|
+
continuity: z.ZodLiteral<"offsets">;
|
|
13355
|
+
bootId: z.ZodString;
|
|
13356
|
+
executionGeneration: z.ZodString;
|
|
13357
|
+
bufferStart: z.ZodInt;
|
|
13358
|
+
end: z.ZodInt;
|
|
13359
|
+
offset: z.ZodInt;
|
|
13360
|
+
prelude: z.ZodInt;
|
|
13361
|
+
coldBoots: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
13362
|
+
bootId: z.ZodString;
|
|
13363
|
+
cause: z.ZodEnum<{
|
|
13364
|
+
recovery: "recovery";
|
|
13365
|
+
restore: "restore";
|
|
13366
|
+
start: "start";
|
|
13367
|
+
unknown: "unknown";
|
|
13368
|
+
wake_fallback: "wake_fallback";
|
|
13369
|
+
watchdog: "watchdog";
|
|
13370
|
+
}>;
|
|
13371
|
+
at: z.ZodISODateTime;
|
|
13372
|
+
}, z.core.$strip>>>>;
|
|
13373
|
+
previous: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
13374
|
+
executionGeneration: z.ZodString;
|
|
13375
|
+
end: z.ZodInt;
|
|
13376
|
+
exitCode: z.ZodNullable<z.ZodInt>;
|
|
13377
|
+
}, z.core.$strip>>>;
|
|
13378
|
+
resume: z.ZodOptional<z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13379
|
+
kind: z.ZodLiteral<"exact">;
|
|
13380
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13381
|
+
kind: z.ZodLiteral<"gap">;
|
|
13382
|
+
from: z.ZodInt;
|
|
13383
|
+
to: z.ZodInt;
|
|
13384
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13385
|
+
kind: z.ZodLiteral<"generation_changed">;
|
|
13386
|
+
executionGeneration: z.ZodString;
|
|
13387
|
+
firstOffset: z.ZodInt;
|
|
13388
|
+
}, z.core.$strip>], "kind">>>;
|
|
13389
|
+
}, z.core.$strip>], "continuity">>;
|
|
13390
|
+
type SessionOutput = z.infer<typeof SessionOutputSchema>;
|
|
13391
|
+
declare const NoSessionDataSchema: z.ZodReadonly<z.ZodObject<{
|
|
13392
|
+
bootId: z.ZodString;
|
|
13393
|
+
coldBoots: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
13394
|
+
bootId: z.ZodString;
|
|
13395
|
+
cause: z.ZodEnum<{
|
|
13396
|
+
recovery: "recovery";
|
|
13397
|
+
restore: "restore";
|
|
13398
|
+
start: "start";
|
|
13399
|
+
unknown: "unknown";
|
|
13400
|
+
wake_fallback: "wake_fallback";
|
|
13401
|
+
watchdog: "watchdog";
|
|
13402
|
+
}>;
|
|
13403
|
+
at: z.ZodISODateTime;
|
|
13404
|
+
}, z.core.$strip>>>>;
|
|
13405
|
+
previous: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
13406
|
+
executionGeneration: z.ZodString;
|
|
13407
|
+
end: z.ZodInt;
|
|
13408
|
+
exitCode: z.ZodNullable<z.ZodInt>;
|
|
13409
|
+
}, z.core.$strip>>>;
|
|
13410
|
+
}, z.core.$strip>>;
|
|
13411
|
+
type NoSessionData = z.infer<typeof NoSessionDataSchema>;
|
|
13412
|
+
declare const InvalidResumeDataSchema: z.ZodReadonly<z.ZodObject<{
|
|
13413
|
+
end: z.ZodInt;
|
|
13414
|
+
bufferStart: z.ZodInt;
|
|
13415
|
+
}, z.core.$strip>>;
|
|
13416
|
+
type InvalidResumeData = z.infer<typeof InvalidResumeDataSchema>;
|
|
13417
|
+
//#endregion
|
|
10363
13418
|
//#region ../api/src/system-info-schema.d.ts
|
|
10364
13419
|
declare const SystemInfoSchema: z.ZodObject<{
|
|
10365
13420
|
version: z.ZodString;
|
|
@@ -10505,23 +13560,28 @@ interface ExecStart {
|
|
|
10505
13560
|
readonly rows?: number;
|
|
10506
13561
|
readonly session?: string;
|
|
10507
13562
|
readonly killGraceMs?: number;
|
|
13563
|
+
readonly resumeFrom?: ResumeFrom;
|
|
10508
13564
|
}
|
|
10509
13565
|
interface ExecAttach {
|
|
10510
13566
|
readonly name: string;
|
|
10511
13567
|
readonly session: string;
|
|
10512
13568
|
readonly cols?: number;
|
|
10513
13569
|
readonly rows?: number;
|
|
13570
|
+
readonly resumeFrom?: ResumeFrom;
|
|
13571
|
+
readonly wake?: boolean;
|
|
10514
13572
|
}
|
|
10515
13573
|
interface ExecStarted {
|
|
10516
13574
|
readonly pid: number;
|
|
10517
13575
|
readonly session: string | null;
|
|
10518
13576
|
readonly created: boolean;
|
|
10519
13577
|
readonly groupKill: boolean;
|
|
13578
|
+
readonly output: SessionOutput;
|
|
10520
13579
|
}
|
|
10521
13580
|
type ExecOutcome = {
|
|
10522
13581
|
readonly kind: 'exit';
|
|
10523
13582
|
readonly code: number | null;
|
|
10524
13583
|
readonly signal: string | null;
|
|
13584
|
+
readonly offset?: number;
|
|
10525
13585
|
} | {
|
|
10526
13586
|
readonly kind: 'failed';
|
|
10527
13587
|
readonly code: string | null;
|
|
@@ -10536,6 +13596,7 @@ type ExecOutcome = {
|
|
|
10536
13596
|
} | {
|
|
10537
13597
|
readonly kind: 'detached';
|
|
10538
13598
|
readonly reason: DetachReason;
|
|
13599
|
+
readonly offset?: number;
|
|
10539
13600
|
} | {
|
|
10540
13601
|
readonly kind: 'closed';
|
|
10541
13602
|
readonly reason: string;
|
|
@@ -10579,12 +13640,14 @@ interface ExecOptions {
|
|
|
10579
13640
|
readonly rows?: number;
|
|
10580
13641
|
readonly session?: string;
|
|
10581
13642
|
readonly killGraceMs?: number;
|
|
13643
|
+
readonly resumeFrom?: ResumeFrom;
|
|
10582
13644
|
readonly signal?: Readonly<AbortSignal>;
|
|
10583
13645
|
readonly maxUnreadBytes?: number;
|
|
10584
13646
|
}
|
|
10585
13647
|
interface ExecExit {
|
|
10586
13648
|
readonly code: number | null;
|
|
10587
13649
|
readonly signal: string | null;
|
|
13650
|
+
readonly offset?: number;
|
|
10588
13651
|
}
|
|
10589
13652
|
interface ExecHandle {
|
|
10590
13653
|
readonly started: Promise<ExecStarted>;
|
|
@@ -10597,7 +13660,9 @@ interface ExecHandle {
|
|
|
10597
13660
|
readonly sendSignal: (signal: string) => void;
|
|
10598
13661
|
readonly close: () => void;
|
|
10599
13662
|
}
|
|
10600
|
-
|
|
13663
|
+
interface AttachOptions extends Pick<ExecOptions, 'cols' | 'rows' | 'signal' | 'maxUnreadBytes' | 'resumeFrom'> {
|
|
13664
|
+
readonly wake?: boolean;
|
|
13665
|
+
}
|
|
10601
13666
|
type ConsoleOptions = Omit<ExecOptions, 'tty'>;
|
|
10602
13667
|
interface RunResult extends ExecExit {
|
|
10603
13668
|
readonly stdout: Uint8Array;
|
|
@@ -10698,4 +13763,27 @@ export declare class ExecError extends Error {
|
|
|
10698
13763
|
}>);
|
|
10699
13764
|
}
|
|
10700
13765
|
//#endregion
|
|
10701
|
-
|
|
13766
|
+
//#region src/exec/invalid-resume-error.d.ts
|
|
13767
|
+
export declare class InvalidResumeError extends ExecError {
|
|
13768
|
+
readonly data: InvalidResumeData;
|
|
13769
|
+
constructor(message: string, data: InvalidResumeData);
|
|
13770
|
+
}
|
|
13771
|
+
//#endregion
|
|
13772
|
+
//#region src/exec/invalid-state-error.d.ts
|
|
13773
|
+
interface InvalidStateData {
|
|
13774
|
+
readonly state: ImpState;
|
|
13775
|
+
readonly allowed: readonly ImpState[];
|
|
13776
|
+
readonly coldBoots?: readonly ColdBoot[] | undefined;
|
|
13777
|
+
}
|
|
13778
|
+
export declare class InvalidStateError extends ExecError {
|
|
13779
|
+
readonly data: InvalidStateData;
|
|
13780
|
+
constructor(message: string, data: Readonly<InvalidStateData>);
|
|
13781
|
+
}
|
|
13782
|
+
//#endregion
|
|
13783
|
+
//#region src/exec/no-session-error.d.ts
|
|
13784
|
+
export declare class NoSessionError extends ExecError {
|
|
13785
|
+
readonly data: NoSessionData | undefined;
|
|
13786
|
+
constructor(message: string, data: NoSessionData | undefined);
|
|
13787
|
+
}
|
|
13788
|
+
//#endregion
|
|
13789
|
+
export { type ApiCall, type AttachOptions, type BuildContext, type BuildImageOptions, type Checkpoint, type ColdBoot, type ColdBootCause, type ConsoleOptions, type DetachReason, type ExecClientErrorCode, type ExecExit, type ExecHandle, type ExecOptions, type ExecOutcome, type ExecSession, type ExecSessionOptions, type ExecSocket, type ExecStarted, type Identity, type Image, type Imp, type ImpClient, type ImpClientOptions, type ImpEvent, type ImpState, type InvalidResumeData, type InvalidStateData, type NoSessionData, ORPCError, type PreviousGeneration, type RequireAwakeOptions, type ResumeFrom, type ResumeResult, type ReverseForward, type ReverseForwardEnd, type ReverseForwardOptions, type ReverseGuest, type ReverseListening, type ReverseRelay, type ReverseRelayHandlers, type RunOptions, type RunResult, type Scope, type ServerCheck, type Session, type SessionOutput, type SshKey, type SystemInfo, type Token, isDefinedError, safe };
|