@camstack/types 1.2.62 → 1.2.64

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.
@@ -136,16 +136,26 @@ export declare const OsdSlotBindingSchema: z.ZodObject<{
136
136
  }>>;
137
137
  systemEvent: z.ZodOptional<z.ZodObject<{
138
138
  kinds: z.ZodArray<z.ZodEnum<{
139
- "camera-online": "camera-online";
140
- "camera-offline": "camera-offline";
139
+ "device-online": "device-online";
140
+ "device-offline": "device-offline";
141
+ "device-disabled": "device-disabled";
142
+ "device-enabled": "device-enabled";
141
143
  "stream-online": "stream-online";
142
144
  "stream-offline": "stream-offline";
143
145
  "node-online": "node-online";
144
146
  "node-offline": "node-offline";
145
147
  "addon-update-available": "addon-update-available";
146
148
  "server-update-available": "server-update-available";
149
+ "alarm-triggered": "alarm-triggered";
150
+ "alarm-armed": "alarm-armed";
151
+ "alarm-disarmed": "alarm-disarmed";
152
+ "camera-online": "camera-online";
153
+ "camera-offline": "camera-offline";
154
+ "camera-disabled": "camera-disabled";
155
+ "camera-enabled": "camera-enabled";
147
156
  }>>;
148
157
  deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
158
+ deviceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
149
159
  nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
150
160
  packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
151
161
  }, z.core.$strip>>;
@@ -168,6 +178,12 @@ export declare const OsdSlotBindingSchema: z.ZodObject<{
168
178
  count: z.ZodDefault<z.ZodNumber>;
169
179
  sustainSeconds: z.ZodDefault<z.ZodNumber>;
170
180
  }, z.core.$strip>>;
181
+ audio: z.ZodOptional<z.ZodObject<{
182
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
183
+ dbThreshold: z.ZodOptional<z.ZodNumber>;
184
+ hitPercent: z.ZodDefault<z.ZodNumber>;
185
+ samplingSeconds: z.ZodDefault<z.ZodNumber>;
186
+ }, z.core.$strip>>;
171
187
  }, z.core.$strip>>;
172
188
  fallbackText: z.ZodDefault<z.ZodString>;
173
189
  }, z.core.$strip>;
@@ -266,16 +282,26 @@ export declare const OsdSlotViewSchema: z.ZodObject<{
266
282
  }>>;
267
283
  systemEvent: z.ZodOptional<z.ZodObject<{
268
284
  kinds: z.ZodArray<z.ZodEnum<{
269
- "camera-online": "camera-online";
270
- "camera-offline": "camera-offline";
285
+ "device-online": "device-online";
286
+ "device-offline": "device-offline";
287
+ "device-disabled": "device-disabled";
288
+ "device-enabled": "device-enabled";
271
289
  "stream-online": "stream-online";
272
290
  "stream-offline": "stream-offline";
273
291
  "node-online": "node-online";
274
292
  "node-offline": "node-offline";
275
293
  "addon-update-available": "addon-update-available";
276
294
  "server-update-available": "server-update-available";
295
+ "alarm-triggered": "alarm-triggered";
296
+ "alarm-armed": "alarm-armed";
297
+ "alarm-disarmed": "alarm-disarmed";
298
+ "camera-online": "camera-online";
299
+ "camera-offline": "camera-offline";
300
+ "camera-disabled": "camera-disabled";
301
+ "camera-enabled": "camera-enabled";
277
302
  }>>;
278
303
  deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
304
+ deviceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
279
305
  nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
280
306
  packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
281
307
  }, z.core.$strip>>;
@@ -298,6 +324,12 @@ export declare const OsdSlotViewSchema: z.ZodObject<{
298
324
  count: z.ZodDefault<z.ZodNumber>;
299
325
  sustainSeconds: z.ZodDefault<z.ZodNumber>;
300
326
  }, z.core.$strip>>;
327
+ audio: z.ZodOptional<z.ZodObject<{
328
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
329
+ dbThreshold: z.ZodOptional<z.ZodNumber>;
330
+ hitPercent: z.ZodDefault<z.ZodNumber>;
331
+ samplingSeconds: z.ZodDefault<z.ZodNumber>;
332
+ }, z.core.$strip>>;
301
333
  }, z.core.$strip>>;
302
334
  fallbackText: z.ZodDefault<z.ZodString>;
303
335
  }, z.core.$strip>>;
@@ -468,16 +500,26 @@ export declare const osdManagerCapability: {
468
500
  }>>;
469
501
  systemEvent: z.ZodOptional<z.ZodObject<{
470
502
  kinds: z.ZodArray<z.ZodEnum<{
471
- "camera-online": "camera-online";
472
- "camera-offline": "camera-offline";
503
+ "device-online": "device-online";
504
+ "device-offline": "device-offline";
505
+ "device-disabled": "device-disabled";
506
+ "device-enabled": "device-enabled";
473
507
  "stream-online": "stream-online";
474
508
  "stream-offline": "stream-offline";
475
509
  "node-online": "node-online";
476
510
  "node-offline": "node-offline";
477
511
  "addon-update-available": "addon-update-available";
478
512
  "server-update-available": "server-update-available";
513
+ "alarm-triggered": "alarm-triggered";
514
+ "alarm-armed": "alarm-armed";
515
+ "alarm-disarmed": "alarm-disarmed";
516
+ "camera-online": "camera-online";
517
+ "camera-offline": "camera-offline";
518
+ "camera-disabled": "camera-disabled";
519
+ "camera-enabled": "camera-enabled";
479
520
  }>>;
480
521
  deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
522
+ deviceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
481
523
  nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
482
524
  packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
483
525
  }, z.core.$strip>>;
@@ -500,6 +542,12 @@ export declare const osdManagerCapability: {
500
542
  count: z.ZodDefault<z.ZodNumber>;
501
543
  sustainSeconds: z.ZodDefault<z.ZodNumber>;
502
544
  }, z.core.$strip>>;
545
+ audio: z.ZodOptional<z.ZodObject<{
546
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
547
+ dbThreshold: z.ZodOptional<z.ZodNumber>;
548
+ hitPercent: z.ZodDefault<z.ZodNumber>;
549
+ samplingSeconds: z.ZodDefault<z.ZodNumber>;
550
+ }, z.core.$strip>>;
503
551
  }, z.core.$strip>>;
504
552
  fallbackText: z.ZodDefault<z.ZodString>;
505
553
  }, z.core.$strip>>;
@@ -684,16 +732,26 @@ export declare const osdManagerCapability: {
684
732
  }>>;
685
733
  systemEvent: z.ZodOptional<z.ZodObject<{
686
734
  kinds: z.ZodArray<z.ZodEnum<{
687
- "camera-online": "camera-online";
688
- "camera-offline": "camera-offline";
735
+ "device-online": "device-online";
736
+ "device-offline": "device-offline";
737
+ "device-disabled": "device-disabled";
738
+ "device-enabled": "device-enabled";
689
739
  "stream-online": "stream-online";
690
740
  "stream-offline": "stream-offline";
691
741
  "node-online": "node-online";
692
742
  "node-offline": "node-offline";
693
743
  "addon-update-available": "addon-update-available";
694
744
  "server-update-available": "server-update-available";
745
+ "alarm-triggered": "alarm-triggered";
746
+ "alarm-armed": "alarm-armed";
747
+ "alarm-disarmed": "alarm-disarmed";
748
+ "camera-online": "camera-online";
749
+ "camera-offline": "camera-offline";
750
+ "camera-disabled": "camera-disabled";
751
+ "camera-enabled": "camera-enabled";
695
752
  }>>;
696
753
  deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
754
+ deviceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
697
755
  nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
698
756
  packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
699
757
  }, z.core.$strip>>;
@@ -716,6 +774,12 @@ export declare const osdManagerCapability: {
716
774
  count: z.ZodDefault<z.ZodNumber>;
717
775
  sustainSeconds: z.ZodDefault<z.ZodNumber>;
718
776
  }, z.core.$strip>>;
777
+ audio: z.ZodOptional<z.ZodObject<{
778
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
779
+ dbThreshold: z.ZodOptional<z.ZodNumber>;
780
+ hitPercent: z.ZodDefault<z.ZodNumber>;
781
+ samplingSeconds: z.ZodDefault<z.ZodNumber>;
782
+ }, z.core.$strip>>;
719
783
  }, z.core.$strip>>;
720
784
  fallbackText: z.ZodDefault<z.ZodString>;
721
785
  }, z.core.$strip>;
@@ -813,16 +877,26 @@ export declare const osdManagerCapability: {
813
877
  }>>;
814
878
  systemEvent: z.ZodOptional<z.ZodObject<{
815
879
  kinds: z.ZodArray<z.ZodEnum<{
816
- "camera-online": "camera-online";
817
- "camera-offline": "camera-offline";
880
+ "device-online": "device-online";
881
+ "device-offline": "device-offline";
882
+ "device-disabled": "device-disabled";
883
+ "device-enabled": "device-enabled";
818
884
  "stream-online": "stream-online";
819
885
  "stream-offline": "stream-offline";
820
886
  "node-online": "node-online";
821
887
  "node-offline": "node-offline";
822
888
  "addon-update-available": "addon-update-available";
823
889
  "server-update-available": "server-update-available";
890
+ "alarm-triggered": "alarm-triggered";
891
+ "alarm-armed": "alarm-armed";
892
+ "alarm-disarmed": "alarm-disarmed";
893
+ "camera-online": "camera-online";
894
+ "camera-offline": "camera-offline";
895
+ "camera-disabled": "camera-disabled";
896
+ "camera-enabled": "camera-enabled";
824
897
  }>>;
825
898
  deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
899
+ deviceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
826
900
  nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
827
901
  packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
828
902
  }, z.core.$strip>>;
@@ -845,6 +919,12 @@ export declare const osdManagerCapability: {
845
919
  count: z.ZodDefault<z.ZodNumber>;
846
920
  sustainSeconds: z.ZodDefault<z.ZodNumber>;
847
921
  }, z.core.$strip>>;
922
+ audio: z.ZodOptional<z.ZodObject<{
923
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
924
+ dbThreshold: z.ZodOptional<z.ZodNumber>;
925
+ hitPercent: z.ZodDefault<z.ZodNumber>;
926
+ samplingSeconds: z.ZodDefault<z.ZodNumber>;
927
+ }, z.core.$strip>>;
848
928
  }, z.core.$strip>>;
849
929
  fallbackText: z.ZodDefault<z.ZodString>;
850
930
  }, z.core.$strip>>;
@@ -974,16 +1054,26 @@ export declare const osdManagerCapability: {
974
1054
  }>>;
975
1055
  systemEvent: z.ZodOptional<z.ZodObject<{
976
1056
  kinds: z.ZodArray<z.ZodEnum<{
977
- "camera-online": "camera-online";
978
- "camera-offline": "camera-offline";
1057
+ "device-online": "device-online";
1058
+ "device-offline": "device-offline";
1059
+ "device-disabled": "device-disabled";
1060
+ "device-enabled": "device-enabled";
979
1061
  "stream-online": "stream-online";
980
1062
  "stream-offline": "stream-offline";
981
1063
  "node-online": "node-online";
982
1064
  "node-offline": "node-offline";
983
1065
  "addon-update-available": "addon-update-available";
984
1066
  "server-update-available": "server-update-available";
1067
+ "alarm-triggered": "alarm-triggered";
1068
+ "alarm-armed": "alarm-armed";
1069
+ "alarm-disarmed": "alarm-disarmed";
1070
+ "camera-online": "camera-online";
1071
+ "camera-offline": "camera-offline";
1072
+ "camera-disabled": "camera-disabled";
1073
+ "camera-enabled": "camera-enabled";
985
1074
  }>>;
986
1075
  deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1076
+ deviceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
987
1077
  nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
988
1078
  packageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
989
1079
  }, z.core.$strip>>;
@@ -1006,6 +1096,12 @@ export declare const osdManagerCapability: {
1006
1096
  count: z.ZodDefault<z.ZodNumber>;
1007
1097
  sustainSeconds: z.ZodDefault<z.ZodNumber>;
1008
1098
  }, z.core.$strip>>;
1099
+ audio: z.ZodOptional<z.ZodObject<{
1100
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
1101
+ dbThreshold: z.ZodOptional<z.ZodNumber>;
1102
+ hitPercent: z.ZodDefault<z.ZodNumber>;
1103
+ samplingSeconds: z.ZodDefault<z.ZodNumber>;
1104
+ }, z.core.$strip>>;
1009
1105
  }, z.core.$strip>>;
1010
1106
  fallbackText: z.ZodDefault<z.ZodString>;
1011
1107
  }, z.core.$strip>>;
@@ -2174,6 +2174,7 @@ export declare const pipelineAnalyticsCapability: {
2174
2174
  }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
2175
2175
  jobId: z.ZodString;
2176
2176
  state: z.ZodEnum<{
2177
+ queued: "queued";
2177
2178
  done: "done";
2178
2179
  failed: "failed";
2179
2180
  running: "running";
@@ -53,6 +53,7 @@ export type RecordingManifest = z.infer<typeof RecordingManifestSchema>;
53
53
  export declare const RecordingDeviceUsageSchema: z.ZodObject<{
54
54
  deviceId: z.ZodNumber;
55
55
  usedBytes: z.ZodNumber;
56
+ oldestMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
57
  }, z.core.$strip>;
57
58
  export type RecordingDeviceUsage = z.infer<typeof RecordingDeviceUsageSchema>;
58
59
  /** Recording storage usage + capacity for one storage location. */
@@ -73,6 +74,7 @@ export declare const RecordingStorageUsageSchema: z.ZodObject<{
73
74
  devices: z.ZodArray<z.ZodObject<{
74
75
  deviceId: z.ZodNumber;
75
76
  usedBytes: z.ZodNumber;
77
+ oldestMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
76
78
  }, z.core.$strip>>;
77
79
  locations: z.ZodArray<z.ZodObject<{
78
80
  locationId: z.ZodNullable<z.ZodString>;
@@ -83,6 +85,82 @@ export declare const RecordingStorageUsageSchema: z.ZodObject<{
83
85
  }, z.core.$strip>>;
84
86
  }, z.core.$strip>;
85
87
  export type RecordingStorageUsage = z.infer<typeof RecordingStorageUsageSchema>;
88
+ /**
89
+ * The OPERATOR-ARMED half of multi-location recordings (D116).
90
+ *
91
+ * The placement plan decides where NEW writes go and moves nothing. A rebalance
92
+ * is the operator asking for the EXISTING archive to be brought into line with
93
+ * that plan: one relocate job per (camera, profile) pile that sits on the wrong
94
+ * location, run FIFO behind the single-flight mover.
95
+ *
96
+ * `plan…` and `start…` return the SAME shape deliberately — what the operator
97
+ * confirms is exactly what gets enqueued, and `jobIds` is the only difference
98
+ * (empty on the plan).
99
+ */
100
+ export declare const RecordingRebalanceMoveSchema: z.ZodObject<{
101
+ deviceId: z.ZodNumber;
102
+ profile: z.ZodString;
103
+ fromLocationId: z.ZodString;
104
+ toLocationId: z.ZodString;
105
+ bytes: z.ZodNumber;
106
+ files: z.ZodNumber;
107
+ }, z.core.$strip>;
108
+ export type RecordingRebalanceMove = z.infer<typeof RecordingRebalanceMoveSchema>;
109
+ /** Why a pile that is out of place is staying there. Every refusal is
110
+ * reported: a rebalance that silently drops a camera reads exactly like one
111
+ * that had nothing to do. */
112
+ export declare const RecordingRebalanceSkipReasonSchema: z.ZodEnum<{
113
+ "below-threshold": "below-threshold";
114
+ unassigned: "unassigned";
115
+ "target-not-writable": "target-not-writable";
116
+ "no-headroom": "no-headroom";
117
+ }>;
118
+ export type RecordingRebalanceSkipReason = z.infer<typeof RecordingRebalanceSkipReasonSchema>;
119
+ export declare const RecordingRebalanceSkipSchema: z.ZodObject<{
120
+ deviceId: z.ZodNumber;
121
+ profile: z.ZodString;
122
+ fromLocationId: z.ZodString;
123
+ toLocationId: z.ZodNullable<z.ZodString>;
124
+ bytes: z.ZodNumber;
125
+ reason: z.ZodEnum<{
126
+ "below-threshold": "below-threshold";
127
+ unassigned: "unassigned";
128
+ "target-not-writable": "target-not-writable";
129
+ "no-headroom": "no-headroom";
130
+ }>;
131
+ }, z.core.$strip>;
132
+ export type RecordingRebalanceSkip = z.infer<typeof RecordingRebalanceSkipSchema>;
133
+ export declare const RecordingRebalancePlanSchema: z.ZodObject<{
134
+ moves: z.ZodArray<z.ZodObject<{
135
+ deviceId: z.ZodNumber;
136
+ profile: z.ZodString;
137
+ fromLocationId: z.ZodString;
138
+ toLocationId: z.ZodString;
139
+ bytes: z.ZodNumber;
140
+ files: z.ZodNumber;
141
+ }, z.core.$strip>>;
142
+ skipped: z.ZodArray<z.ZodObject<{
143
+ deviceId: z.ZodNumber;
144
+ profile: z.ZodString;
145
+ fromLocationId: z.ZodString;
146
+ toLocationId: z.ZodNullable<z.ZodString>;
147
+ bytes: z.ZodNumber;
148
+ reason: z.ZodEnum<{
149
+ "below-threshold": "below-threshold";
150
+ unassigned: "unassigned";
151
+ "target-not-writable": "target-not-writable";
152
+ "no-headroom": "no-headroom";
153
+ }>;
154
+ }, z.core.$strip>>;
155
+ bytesToMove: z.ZodNumber;
156
+ jobIds: z.ZodArray<z.ZodString>;
157
+ }, z.core.$strip>;
158
+ export type RecordingRebalancePlan = z.infer<typeof RecordingRebalancePlanSchema>;
159
+ export declare const RecordingRebalanceInputSchema: z.ZodObject<{
160
+ throttleMbps: z.ZodOptional<z.ZodNumber>;
161
+ minMoveGb: z.ZodOptional<z.ZodNumber>;
162
+ }, z.core.$strip>;
163
+ export type RecordingRebalanceInput = z.infer<typeof RecordingRebalanceInputSchema>;
86
164
  /**
87
165
  * Result of locating footage at a wall-clock instant for one device/profile.
88
166
  * `segment` carries the covering segment's window; `gap` reports the forward
@@ -183,6 +261,7 @@ export declare const recordingCapability: {
183
261
  devices: z.ZodArray<z.ZodObject<{
184
262
  deviceId: z.ZodNumber;
185
263
  usedBytes: z.ZodNumber;
264
+ oldestMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
186
265
  }, z.core.$strip>>;
187
266
  locations: z.ZodArray<z.ZodObject<{
188
267
  locationId: z.ZodNullable<z.ZodString>;
@@ -512,6 +591,8 @@ export declare const recordingCapability: {
512
591
  recordings: "recordings";
513
592
  recordingsLow: "recordingsLow";
514
593
  }>>;
594
+ deviceId: z.ZodOptional<z.ZodNumber>;
595
+ profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
515
596
  throttleMbps: z.ZodOptional<z.ZodNumber>;
516
597
  leaseId: z.ZodString;
517
598
  }, z.core.$strip>, z.ZodObject<{
@@ -522,6 +603,7 @@ export declare const recordingCapability: {
522
603
  }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
523
604
  jobId: z.ZodString;
524
605
  state: z.ZodEnum<{
606
+ queued: "queued";
525
607
  done: "done";
526
608
  failed: "failed";
527
609
  running: "running";
@@ -543,6 +625,113 @@ export declare const recordingCapability: {
543
625
  }, z.core.$strip>, z.ZodObject<{
544
626
  cancelled: z.ZodBoolean;
545
627
  }, z.core.$strip>, "mutation">;
628
+ /**
629
+ * Move footage between locations — the OPERATOR's mover, scoped to one
630
+ * camera (and optionally to specific profiles) rather than a whole disk.
631
+ * Queued FIFO behind the single-flight engine, so arming several is safe.
632
+ */
633
+ readonly relocateFootage: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
634
+ fromLocationId: z.ZodString;
635
+ toLocationId: z.ZodString;
636
+ entities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
637
+ segments: "segments";
638
+ }>>>;
639
+ footageClass: z.ZodOptional<z.ZodEnum<{
640
+ recordings: "recordings";
641
+ recordingsLow: "recordingsLow";
642
+ }>>;
643
+ deviceId: z.ZodOptional<z.ZodNumber>;
644
+ profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
645
+ throttleMbps: z.ZodOptional<z.ZodNumber>;
646
+ }, z.core.$strip>, z.ZodObject<{
647
+ jobId: z.ZodString;
648
+ }, z.core.$strip>, "mutation">;
649
+ /** Every relocate job this recorder knows about, newest first (in RAM: the
650
+ * move is resumable, so a lost list costs nothing but the display). */
651
+ readonly listRelocateJobs: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
652
+ jobId: z.ZodString;
653
+ state: z.ZodEnum<{
654
+ queued: "queued";
655
+ done: "done";
656
+ failed: "failed";
657
+ running: "running";
658
+ cancelled: "cancelled";
659
+ }>;
660
+ fromLocationId: z.ZodString;
661
+ toLocationId: z.ZodString;
662
+ deviceId: z.ZodNullable<z.ZodNumber>;
663
+ entities: z.ZodArray<z.ZodString>;
664
+ filesMoved: z.ZodNumber;
665
+ bytesMoved: z.ZodNumber;
666
+ filesTotal: z.ZodNullable<z.ZodNumber>;
667
+ startedAt: z.ZodNumber;
668
+ finishedAt: z.ZodNullable<z.ZodNumber>;
669
+ error: z.ZodNullable<z.ZodString>;
670
+ }, z.core.$strip>>>, "query">;
671
+ /** Cancel a running or queued relocate job. A queued job never runs. */
672
+ readonly cancelRelocateJob: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
673
+ jobId: z.ZodString;
674
+ }, z.core.$strip>, z.ZodObject<{
675
+ cancelled: z.ZodBoolean;
676
+ }, z.core.$strip>, "mutation">;
677
+ /** What a rebalance WOULD move, and what it would refuse. Moves nothing. */
678
+ readonly planStorageRebalance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
679
+ throttleMbps: z.ZodOptional<z.ZodNumber>;
680
+ minMoveGb: z.ZodOptional<z.ZodNumber>;
681
+ }, z.core.$strip>, z.ZodObject<{
682
+ moves: z.ZodArray<z.ZodObject<{
683
+ deviceId: z.ZodNumber;
684
+ profile: z.ZodString;
685
+ fromLocationId: z.ZodString;
686
+ toLocationId: z.ZodString;
687
+ bytes: z.ZodNumber;
688
+ files: z.ZodNumber;
689
+ }, z.core.$strip>>;
690
+ skipped: z.ZodArray<z.ZodObject<{
691
+ deviceId: z.ZodNumber;
692
+ profile: z.ZodString;
693
+ fromLocationId: z.ZodString;
694
+ toLocationId: z.ZodNullable<z.ZodString>;
695
+ bytes: z.ZodNumber;
696
+ reason: z.ZodEnum<{
697
+ "below-threshold": "below-threshold";
698
+ unassigned: "unassigned";
699
+ "target-not-writable": "target-not-writable";
700
+ "no-headroom": "no-headroom";
701
+ }>;
702
+ }, z.core.$strip>>;
703
+ bytesToMove: z.ZodNumber;
704
+ jobIds: z.ZodArray<z.ZodString>;
705
+ }, z.core.$strip>, "query">;
706
+ /** Arm the rebalance: enqueue one relocate job per planned move. */
707
+ readonly startStorageRebalance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
708
+ throttleMbps: z.ZodOptional<z.ZodNumber>;
709
+ minMoveGb: z.ZodOptional<z.ZodNumber>;
710
+ }, z.core.$strip>, z.ZodObject<{
711
+ moves: z.ZodArray<z.ZodObject<{
712
+ deviceId: z.ZodNumber;
713
+ profile: z.ZodString;
714
+ fromLocationId: z.ZodString;
715
+ toLocationId: z.ZodString;
716
+ bytes: z.ZodNumber;
717
+ files: z.ZodNumber;
718
+ }, z.core.$strip>>;
719
+ skipped: z.ZodArray<z.ZodObject<{
720
+ deviceId: z.ZodNumber;
721
+ profile: z.ZodString;
722
+ fromLocationId: z.ZodString;
723
+ toLocationId: z.ZodNullable<z.ZodString>;
724
+ bytes: z.ZodNumber;
725
+ reason: z.ZodEnum<{
726
+ "below-threshold": "below-threshold";
727
+ unassigned: "unassigned";
728
+ "target-not-writable": "target-not-writable";
729
+ "no-headroom": "no-headroom";
730
+ }>;
731
+ }, z.core.$strip>>;
732
+ bytesToMove: z.ZodNumber;
733
+ jobIds: z.ZodArray<z.ZodString>;
734
+ }, z.core.$strip>, "mutation">;
546
735
  };
547
736
  };
548
737
  export type IRecordingProvider = InferProvider<typeof recordingCapability>;
@@ -75,6 +75,7 @@ export declare const storageMigrationCapability: {
75
75
  toLocationId: z.ZodString;
76
76
  moverJobId: z.ZodNullable<z.ZodString>;
77
77
  state: z.ZodNullable<z.ZodEnum<{
78
+ queued: "queued";
78
79
  done: "done";
79
80
  failed: "failed";
80
81
  running: "running";
@@ -29,6 +29,7 @@ declare const BeginUploadInputSchema: z.ZodObject<{
29
29
  nodeId: z.ZodOptional<z.ZodString>;
30
30
  isDefault: z.ZodDefault<z.ZodBoolean>;
31
31
  isSystem: z.ZodDefault<z.ZodBoolean>;
32
+ enabled: z.ZodOptional<z.ZodBoolean>;
32
33
  capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33
34
  totalBytes: z.ZodNumber;
34
35
  availableBytes: z.ZodNumber;
@@ -63,6 +64,7 @@ declare const BeginDownloadInputSchema: z.ZodObject<{
63
64
  nodeId: z.ZodOptional<z.ZodString>;
64
65
  isDefault: z.ZodDefault<z.ZodBoolean>;
65
66
  isSystem: z.ZodDefault<z.ZodBoolean>;
67
+ enabled: z.ZodOptional<z.ZodBoolean>;
66
68
  capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
67
69
  totalBytes: z.ZodNumber;
68
70
  availableBytes: z.ZodNumber;
@@ -143,6 +145,7 @@ export declare const storageProviderCapability: {
143
145
  nodeId: z.ZodOptional<z.ZodString>;
144
146
  isDefault: z.ZodDefault<z.ZodBoolean>;
145
147
  isSystem: z.ZodDefault<z.ZodBoolean>;
148
+ enabled: z.ZodOptional<z.ZodBoolean>;
146
149
  capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
147
150
  totalBytes: z.ZodNumber;
148
151
  availableBytes: z.ZodNumber;
@@ -162,6 +165,7 @@ export declare const storageProviderCapability: {
162
165
  nodeId: z.ZodOptional<z.ZodString>;
163
166
  isDefault: z.ZodDefault<z.ZodBoolean>;
164
167
  isSystem: z.ZodDefault<z.ZodBoolean>;
168
+ enabled: z.ZodOptional<z.ZodBoolean>;
165
169
  capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
166
170
  totalBytes: z.ZodNumber;
167
171
  availableBytes: z.ZodNumber;
@@ -182,6 +186,7 @@ export declare const storageProviderCapability: {
182
186
  nodeId: z.ZodOptional<z.ZodString>;
183
187
  isDefault: z.ZodDefault<z.ZodBoolean>;
184
188
  isSystem: z.ZodDefault<z.ZodBoolean>;
189
+ enabled: z.ZodOptional<z.ZodBoolean>;
185
190
  capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
186
191
  totalBytes: z.ZodNumber;
187
192
  availableBytes: z.ZodNumber;
@@ -201,6 +206,7 @@ export declare const storageProviderCapability: {
201
206
  nodeId: z.ZodOptional<z.ZodString>;
202
207
  isDefault: z.ZodDefault<z.ZodBoolean>;
203
208
  isSystem: z.ZodDefault<z.ZodBoolean>;
209
+ enabled: z.ZodOptional<z.ZodBoolean>;
204
210
  capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
205
211
  totalBytes: z.ZodNumber;
206
212
  availableBytes: z.ZodNumber;
@@ -220,6 +226,7 @@ export declare const storageProviderCapability: {
220
226
  nodeId: z.ZodOptional<z.ZodString>;
221
227
  isDefault: z.ZodDefault<z.ZodBoolean>;
222
228
  isSystem: z.ZodDefault<z.ZodBoolean>;
229
+ enabled: z.ZodOptional<z.ZodBoolean>;
223
230
  capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
224
231
  totalBytes: z.ZodNumber;
225
232
  availableBytes: z.ZodNumber;
@@ -239,6 +246,7 @@ export declare const storageProviderCapability: {
239
246
  nodeId: z.ZodOptional<z.ZodString>;
240
247
  isDefault: z.ZodDefault<z.ZodBoolean>;
241
248
  isSystem: z.ZodDefault<z.ZodBoolean>;
249
+ enabled: z.ZodOptional<z.ZodBoolean>;
242
250
  capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
243
251
  totalBytes: z.ZodNumber;
244
252
  availableBytes: z.ZodNumber;
@@ -258,6 +266,7 @@ export declare const storageProviderCapability: {
258
266
  nodeId: z.ZodOptional<z.ZodString>;
259
267
  isDefault: z.ZodDefault<z.ZodBoolean>;
260
268
  isSystem: z.ZodDefault<z.ZodBoolean>;
269
+ enabled: z.ZodOptional<z.ZodBoolean>;
261
270
  capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
262
271
  totalBytes: z.ZodNumber;
263
272
  availableBytes: z.ZodNumber;
@@ -276,6 +285,7 @@ export declare const storageProviderCapability: {
276
285
  nodeId: z.ZodOptional<z.ZodString>;
277
286
  isDefault: z.ZodDefault<z.ZodBoolean>;
278
287
  isSystem: z.ZodDefault<z.ZodBoolean>;
288
+ enabled: z.ZodOptional<z.ZodBoolean>;
279
289
  capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
280
290
  totalBytes: z.ZodNumber;
281
291
  availableBytes: z.ZodNumber;
@@ -309,6 +319,7 @@ export declare const storageProviderCapability: {
309
319
  nodeId: z.ZodOptional<z.ZodString>;
310
320
  isDefault: z.ZodDefault<z.ZodBoolean>;
311
321
  isSystem: z.ZodDefault<z.ZodBoolean>;
322
+ enabled: z.ZodOptional<z.ZodBoolean>;
312
323
  capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
313
324
  totalBytes: z.ZodNumber;
314
325
  availableBytes: z.ZodNumber;
@@ -96,6 +96,7 @@ export declare const storageCapability: {
96
96
  nodeId: z.ZodOptional<z.ZodString>;
97
97
  isDefault: z.ZodDefault<z.ZodBoolean>;
98
98
  isSystem: z.ZodDefault<z.ZodBoolean>;
99
+ enabled: z.ZodOptional<z.ZodBoolean>;
99
100
  capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
100
101
  totalBytes: z.ZodNumber;
101
102
  availableBytes: z.ZodNumber;
@@ -114,6 +115,7 @@ export declare const storageCapability: {
114
115
  nodeId: z.ZodOptional<z.ZodString>;
115
116
  isDefault: z.ZodDefault<z.ZodBoolean>;
116
117
  isSystem: z.ZodDefault<z.ZodBoolean>;
118
+ enabled: z.ZodOptional<z.ZodBoolean>;
117
119
  capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
118
120
  totalBytes: z.ZodNumber;
119
121
  availableBytes: z.ZodNumber;
@@ -145,6 +147,7 @@ export declare const storageCapability: {
145
147
  nodeId: z.ZodOptional<z.ZodString>;
146
148
  isDefault: z.ZodDefault<z.ZodBoolean>;
147
149
  isSystem: z.ZodDefault<z.ZodBoolean>;
150
+ enabled: z.ZodOptional<z.ZodBoolean>;
148
151
  capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
149
152
  totalBytes: z.ZodNumber;
150
153
  availableBytes: z.ZodNumber;
@@ -158,6 +161,7 @@ export declare const storageCapability: {
158
161
  nodeId: z.ZodOptional<z.ZodString>;
159
162
  isDefault: z.ZodDefault<z.ZodBoolean>;
160
163
  isSystem: z.ZodDefault<z.ZodBoolean>;
164
+ enabled: z.ZodOptional<z.ZodBoolean>;
161
165
  capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
162
166
  totalBytes: z.ZodNumber;
163
167
  availableBytes: z.ZodNumber;