@camstack/types 1.2.130 → 1.2.132
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +3 -2
- package/dist/addon.mjs +3 -2
- package/dist/capabilities/pipeline-analytics.cap.d.ts +48 -0
- package/dist/capabilities/recording.cap.d.ts +62 -0
- package/dist/capabilities/storage-migration.cap.d.ts +149 -0
- package/dist/generated/addon-api.d.ts +56 -0
- package/dist/generated/cap-input-defaults.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +2 -2
- package/dist/generated/system-proxy.d.ts +2 -2
- package/dist/index.js +266 -10
- package/dist/index.mjs +262 -11
- package/dist/interfaces/relocate.d.ts +92 -0
- package/dist/interfaces/storage-location.d.ts +4 -5
- package/dist/{sleep-DcA-CgqX.mjs → sleep-BBI0PDUc.mjs} +2 -0
- package/dist/{sleep-DIg3xuEw.js → sleep-CqVyhcl-.js} +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_event_category = require("./event-category-BaEgqJNv.js");
|
|
3
|
-
const require_sleep = require("./sleep-
|
|
3
|
+
const require_sleep = require("./sleep-CqVyhcl-.js");
|
|
4
4
|
const require_canonical_hash = require("./canonical-hash-DNV8S5ET.js");
|
|
5
5
|
const require_enums = require("./enums.js");
|
|
6
6
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
@@ -2345,6 +2345,13 @@ var MediaRelocateModeSchema = zod.z.enum([
|
|
|
2345
2345
|
]);
|
|
2346
2346
|
var RelocateMediaInputSchema = zod.z.object({
|
|
2347
2347
|
toLocationId: zod.z.string(),
|
|
2348
|
+
/**
|
|
2349
|
+
* Restrict the pass to rows currently on this location. Omitted / `'*'` =
|
|
2350
|
+
* every row that is not already on `toLocationId` (the historical
|
|
2351
|
+
* behaviour). A named source is what a from→to migration needs: without it
|
|
2352
|
+
* "move events off disk 2" also emptied disk 1.
|
|
2353
|
+
*/
|
|
2354
|
+
fromLocationId: zod.z.string().optional(),
|
|
2348
2355
|
throttleMbps: zod.z.number().min(1).max(1e3).optional(),
|
|
2349
2356
|
/** Omitted = `move`, the pre-existing behaviour. */
|
|
2350
2357
|
mode: MediaRelocateModeSchema.optional()
|
|
@@ -2412,6 +2419,19 @@ var StorageMigrationDestinationsSchema = zod.z.object({
|
|
|
2412
2419
|
galleryMedia: zod.z.string().min(1).optional()
|
|
2413
2420
|
}).refine((value) => Object.keys(value).length > 0, { message: "select at least one storage class" });
|
|
2414
2421
|
/**
|
|
2422
|
+
* Optional named source per class. Omitted = the class's current default
|
|
2423
|
+
* (the historical behaviour). A named source that is NOT the default is a
|
|
2424
|
+
* drain of that disk: bytes move, the default stays, and the source is
|
|
2425
|
+
* disabled when the move finishes.
|
|
2426
|
+
*/
|
|
2427
|
+
var StorageMigrationSourcesSchema = zod.z.object({
|
|
2428
|
+
recordings: zod.z.string().min(1).optional(),
|
|
2429
|
+
recordingsLow: zod.z.string().min(1).optional(),
|
|
2430
|
+
eventMedia: zod.z.string().min(1).optional(),
|
|
2431
|
+
backups: zod.z.string().min(1).optional(),
|
|
2432
|
+
galleryMedia: zod.z.string().min(1).optional()
|
|
2433
|
+
}).optional();
|
|
2434
|
+
/**
|
|
2415
2435
|
* How a migration sequences the cutover against the byte move.
|
|
2416
2436
|
*
|
|
2417
2437
|
* - `blocking` — the historical order: pause, move every byte, repoint,
|
|
@@ -2433,6 +2453,8 @@ var StorageMigrationModeSchema = zod.z.enum(["blocking", "nonBlocking"]);
|
|
|
2433
2453
|
/** Shared input for planning and starting an orchestrated storage migration. */
|
|
2434
2454
|
var StorageMigrationInputSchema = zod.z.object({
|
|
2435
2455
|
destinations: StorageMigrationDestinationsSchema,
|
|
2456
|
+
/** Omitted = each class's current default. */
|
|
2457
|
+
sources: StorageMigrationSourcesSchema,
|
|
2436
2458
|
throttleMbps: zod.z.number().min(1).max(1e3).optional(),
|
|
2437
2459
|
/** Omitted = `blocking`, which stays the default. */
|
|
2438
2460
|
mode: StorageMigrationModeSchema.optional()
|
|
@@ -2512,6 +2534,13 @@ var StorageMigrationMoveSchema = zod.z.object({
|
|
|
2512
2534
|
storageClass: StorageMigrationClassSchema,
|
|
2513
2535
|
fromLocationId: zod.z.string(),
|
|
2514
2536
|
toLocationId: zod.z.string(),
|
|
2537
|
+
/**
|
|
2538
|
+
* True when `from` was NOT the class default at plan time. The move still
|
|
2539
|
+
* copies bytes, but the default is left alone and the source is disabled
|
|
2540
|
+
* once the copy verifies. Absent on jobs planned before this field existed
|
|
2541
|
+
* — those jobs always repointed, which is `false`.
|
|
2542
|
+
*/
|
|
2543
|
+
freezeSource: zod.z.boolean().optional(),
|
|
2515
2544
|
moverJobId: zod.z.string().nullable(),
|
|
2516
2545
|
state: RelocateJobStateSchema.nullable(),
|
|
2517
2546
|
error: zod.z.string().nullable(),
|
|
@@ -2525,6 +2554,7 @@ var StorageMigrationJobSchema = zod.z.object({
|
|
|
2525
2554
|
* can tell a seconds-long cutover from a thirty-hour one. */
|
|
2526
2555
|
mode: StorageMigrationModeSchema,
|
|
2527
2556
|
destinations: StorageMigrationDestinationsSchema,
|
|
2557
|
+
sources: StorageMigrationSourcesSchema,
|
|
2528
2558
|
throttleMbps: zod.z.number(),
|
|
2529
2559
|
moves: zod.z.array(StorageMigrationMoveSchema),
|
|
2530
2560
|
pauseLeaseId: zod.z.string().nullable(),
|
|
@@ -2574,6 +2604,7 @@ var StorageMigrationFindingSchema = zod.z.object({
|
|
|
2574
2604
|
});
|
|
2575
2605
|
var StorageMigrationPlanSchema = zod.z.object({
|
|
2576
2606
|
destinations: StorageMigrationDestinationsSchema,
|
|
2607
|
+
sources: StorageMigrationSourcesSchema,
|
|
2577
2608
|
/** The mode this plan was built for. A plan is only valid for its mode: the
|
|
2578
2609
|
* `eventMedia` seal gate and the single-cardinality refusal both depend on
|
|
2579
2610
|
* it. */
|
|
@@ -2581,7 +2612,8 @@ var StorageMigrationPlanSchema = zod.z.object({
|
|
|
2581
2612
|
moves: zod.z.array(zod.z.object({
|
|
2582
2613
|
storageClass: StorageMigrationClassSchema,
|
|
2583
2614
|
fromLocationId: zod.z.string(),
|
|
2584
|
-
toLocationId: zod.z.string()
|
|
2615
|
+
toLocationId: zod.z.string(),
|
|
2616
|
+
freezeSource: zod.z.boolean().optional()
|
|
2585
2617
|
})),
|
|
2586
2618
|
findings: zod.z.array(StorageMigrationFindingSchema)
|
|
2587
2619
|
});
|
|
@@ -2768,9 +2800,50 @@ var LedgerWalkReportSchema = zod.z.object({
|
|
|
2768
2800
|
var RelocatableMediaCountSchema = zod.z.object({ rows: zod.z.number().int().nonnegative() }).nullable();
|
|
2769
2801
|
var RelocatableMediaCountInputSchema = zod.z.object({
|
|
2770
2802
|
toLocationId: zod.z.string().min(1),
|
|
2803
|
+
/** Restrict the count to one source; omitted / `'*'` = every non-target row. */
|
|
2804
|
+
fromLocationId: zod.z.string().optional(),
|
|
2771
2805
|
/** Omitted = `move`. */
|
|
2772
2806
|
mode: MediaRelocateModeSchema.optional()
|
|
2773
2807
|
});
|
|
2808
|
+
/**
|
|
2809
|
+
* Operator cleanup of leftover analytics rows, optional debug media, and
|
|
2810
|
+
* ghost ledger entries on frozen footage locations.
|
|
2811
|
+
*
|
|
2812
|
+
* A pass is tens of minutes on a standing backlog. The hub method RETURNS
|
|
2813
|
+
* `{ jobId }` immediately; progress is `cleanupStatus`. Awaiting the work
|
|
2814
|
+
* is how `addons.custom` hit the 60 s UDS deadline while reclaim continued
|
|
2815
|
+
* with no operator-visible status.
|
|
2816
|
+
*/
|
|
2817
|
+
var StorageCleanupPhaseSchema = zod.z.enum([
|
|
2818
|
+
"orphans",
|
|
2819
|
+
"debug-media",
|
|
2820
|
+
"ghost-ledger",
|
|
2821
|
+
"done",
|
|
2822
|
+
"failed",
|
|
2823
|
+
"cancelled"
|
|
2824
|
+
]);
|
|
2825
|
+
var StorageCleanupInputSchema = zod.z.object({
|
|
2826
|
+
/** Also walk motion stills / track filmstrips. Off by default. */
|
|
2827
|
+
includeDebugMedia: zod.z.boolean().optional() });
|
|
2828
|
+
var StorageCleanupJobSchema = zod.z.object({
|
|
2829
|
+
jobId: zod.z.string(),
|
|
2830
|
+
phase: StorageCleanupPhaseSchema,
|
|
2831
|
+
includeDebugMedia: zod.z.boolean(),
|
|
2832
|
+
orphansReclaimed: zod.z.number().int().nonnegative(),
|
|
2833
|
+
orphanBytesReclaimed: zod.z.number().int().nonnegative(),
|
|
2834
|
+
debugMediaReclaimed: zod.z.number().int().nonnegative(),
|
|
2835
|
+
debugMediaBytesReclaimed: zod.z.number().int().nonnegative(),
|
|
2836
|
+
ghostsForgotten: zod.z.number().int().nonnegative(),
|
|
2837
|
+
ghostBytesForgotten: zod.z.number().int().nonnegative(),
|
|
2838
|
+
/** Short operator-facing line: current collection, pass, or location. */
|
|
2839
|
+
detail: zod.z.string().nullable(),
|
|
2840
|
+
cancelRequested: zod.z.boolean(),
|
|
2841
|
+
startedAt: zod.z.number(),
|
|
2842
|
+
updatedAt: zod.z.number(),
|
|
2843
|
+
finishedAt: zod.z.number().nullable(),
|
|
2844
|
+
error: zod.z.string().nullable()
|
|
2845
|
+
});
|
|
2846
|
+
var StorageCleanupStatusInputSchema = zod.z.object({ jobId: zod.z.string().optional() });
|
|
2774
2847
|
//#endregion
|
|
2775
2848
|
//#region src/interfaces/server-analysis.ts
|
|
2776
2849
|
var SUB_DETECTION_TYPES = ["face", "plate"];
|
|
@@ -2810,11 +2883,10 @@ var StorageLocationTypeSchema = zod.z.string().regex(/^[a-z][a-zA-Z0-9-]*$/);
|
|
|
2810
2883
|
* The default location for a type uses `id === <type>:default` by
|
|
2811
2884
|
* convention (the bare type ref like `'backups'` resolves to it).
|
|
2812
2885
|
*
|
|
2813
|
-
* `isSystem
|
|
2814
|
-
*
|
|
2815
|
-
*
|
|
2816
|
-
*
|
|
2817
|
-
* deleting it is rejected at the cap level.
|
|
2886
|
+
* `isSystem` is a legacy persisted flag. Seed still creates the initial
|
|
2887
|
+
* `<type>:default` locations; the flag is no longer a lock, a badge, or a
|
|
2888
|
+
* prune selector. New writes leave it false. Deletion is gated on uniqueness
|
|
2889
|
+
* / last-enabled, not on this bit.
|
|
2818
2890
|
*/
|
|
2819
2891
|
var StorageLocationSchema = zod.z.object({
|
|
2820
2892
|
id: zod.z.string().regex(/^[a-z][a-zA-Z0-9-]*:[a-zA-Z0-9-]+$/),
|
|
@@ -18941,6 +19013,47 @@ var RebuildStatusSchema = zod.z.object({
|
|
|
18941
19013
|
/** Present when the pass ended by throwing. */
|
|
18942
19014
|
error: zod.z.string().nullable()
|
|
18943
19015
|
});
|
|
19016
|
+
/**
|
|
19017
|
+
* Acknowledgement that a debug-media reclaim STARTED.
|
|
19018
|
+
*
|
|
19019
|
+
* The pass is paced at ~2 MB/s over a standing 100 GB — tens of minutes — so
|
|
19020
|
+
* it runs detached and this returns immediately. Awaiting it is how the
|
|
19021
|
+
* `addons.custom` door hit the 60 s UDS deadline while the walk carried on
|
|
19022
|
+
* with no status. Poll {@link pipelineAnalyticsCapability.methods.getMediaReclaimStatus}.
|
|
19023
|
+
*/
|
|
19024
|
+
var MediaReclaimStartResultSchema = zod.z.object({
|
|
19025
|
+
started: zod.z.boolean(),
|
|
19026
|
+
/** True when a pass was already running; the new request is ignored. */
|
|
19027
|
+
alreadyRunning: zod.z.boolean()
|
|
19028
|
+
});
|
|
19029
|
+
var MediaReclaimInputSchema = zod.z.object({
|
|
19030
|
+
mode: zod.z.enum(["report", "reclaim"]).default("report"),
|
|
19031
|
+
scopes: zod.z.array(zod.z.enum(["motion-still", "track-filmstrip"])).min(1).optional(),
|
|
19032
|
+
deviceIds: zod.z.array(zod.z.number().int()).min(1).optional(),
|
|
19033
|
+
restart: zod.z.boolean().optional(),
|
|
19034
|
+
pageSize: zod.z.number().int().min(50).max(5e3).optional(),
|
|
19035
|
+
maxRowsPerDevice: zod.z.number().int().min(1).max(5e5).optional(),
|
|
19036
|
+
maxReclaimPerDevice: zod.z.number().int().min(1).max(5e5).optional(),
|
|
19037
|
+
maxBytesPerRun: zod.z.number().int().min(1).optional(),
|
|
19038
|
+
budgetMinutes: zod.z.number().int().min(1).max(720).optional(),
|
|
19039
|
+
throttleBytesPerSec: zod.z.number().int().min(64 * 1024).optional(),
|
|
19040
|
+
graceMinutes: zod.z.number().int().min(1).max(10080).optional()
|
|
19041
|
+
});
|
|
19042
|
+
var MediaReclaimStatusSchema = zod.z.object({
|
|
19043
|
+
running: zod.z.boolean(),
|
|
19044
|
+
mode: zod.z.enum(["report", "reclaim"]).nullable(),
|
|
19045
|
+
totalExamined: zod.z.number(),
|
|
19046
|
+
totalEligible: zod.z.number(),
|
|
19047
|
+
totalReclaimed: zod.z.number(),
|
|
19048
|
+
totalBytesReclaimed: zod.z.number(),
|
|
19049
|
+
totalRefused: zod.z.number(),
|
|
19050
|
+
/** Device+scope windows finished in this pass. */
|
|
19051
|
+
devicesDone: zod.z.number(),
|
|
19052
|
+
complete: zod.z.boolean().nullable(),
|
|
19053
|
+
startedAtMs: zod.z.number().nullable(),
|
|
19054
|
+
finishedAtMs: zod.z.number().nullable(),
|
|
19055
|
+
error: zod.z.string().nullable()
|
|
19056
|
+
});
|
|
18944
19057
|
var ReplayFrameInputSchema = zod.z.object({
|
|
18945
19058
|
timestamp: zod.z.number(),
|
|
18946
19059
|
frame: PipelineRunResultBridge
|
|
@@ -19364,6 +19477,20 @@ var pipelineAnalyticsCapability = {
|
|
|
19364
19477
|
auth: "admin"
|
|
19365
19478
|
}),
|
|
19366
19479
|
/**
|
|
19480
|
+
* Reclaim the standing debug-media backlog (motion-visit stills + track
|
|
19481
|
+
* filmstrips). DETACHED: returns `{ started }` immediately. The pass is
|
|
19482
|
+
* tens of minutes; awaiting it is a timeout, not a verdict. Dry-run unless
|
|
19483
|
+
* `mode: 'reclaim'`. Poll `getMediaReclaimStatus`.
|
|
19484
|
+
*/
|
|
19485
|
+
reclaimDebugMedia: require_sleep.method(MediaReclaimInputSchema, MediaReclaimStartResultSchema, {
|
|
19486
|
+
kind: "mutation",
|
|
19487
|
+
auth: "admin"
|
|
19488
|
+
}),
|
|
19489
|
+
getMediaReclaimStatus: require_sleep.method(zod.z.object({}), MediaReclaimStatusSchema, {
|
|
19490
|
+
kind: "query",
|
|
19491
|
+
auth: "admin"
|
|
19492
|
+
}),
|
|
19493
|
+
/**
|
|
19367
19494
|
* The CHEAP QUESTION, asked before any media moves: how big is the dataset
|
|
19368
19495
|
* the marked (`markForTrain`) tracks would produce?
|
|
19369
19496
|
*
|
|
@@ -22593,7 +22720,23 @@ var storageMigrationCapability = {
|
|
|
22593
22720
|
drain: require_sleep.method(StorageMigrationDrainInputSchema, zod.z.object({ jobId: zod.z.string() }), {
|
|
22594
22721
|
kind: "mutation",
|
|
22595
22722
|
auth: "admin"
|
|
22596
|
-
})
|
|
22723
|
+
}),
|
|
22724
|
+
/**
|
|
22725
|
+
* One operator cleanup of leftover analytics (DB + blobs) and ghost
|
|
22726
|
+
* ledger rows on frozen footage locations. Optional debug-media sweep.
|
|
22727
|
+
* Returns immediately; poll {@link cleanupStatus}.
|
|
22728
|
+
*/
|
|
22729
|
+
cleanupStart: require_sleep.method(StorageCleanupInputSchema, zod.z.object({ jobId: zod.z.string() }), {
|
|
22730
|
+
kind: "mutation",
|
|
22731
|
+
auth: "admin"
|
|
22732
|
+
}),
|
|
22733
|
+
cleanupStatus: require_sleep.method(StorageCleanupStatusInputSchema, StorageCleanupJobSchema.nullable(), { auth: "admin" }),
|
|
22734
|
+
cleanupCancel: require_sleep.method(zod.z.object({ jobId: zod.z.string() }), zod.z.object({ cancelled: zod.z.boolean() }), {
|
|
22735
|
+
kind: "mutation",
|
|
22736
|
+
auth: "admin"
|
|
22737
|
+
}),
|
|
22738
|
+
/** Recent finished migration jobs, newest first. The live job is `status`. */
|
|
22739
|
+
history: require_sleep.method(zod.z.object({}), zod.z.array(StorageMigrationJobSchema).readonly(), { auth: "admin" })
|
|
22597
22740
|
}
|
|
22598
22741
|
};
|
|
22599
22742
|
//#endregion
|
|
@@ -31130,6 +31273,33 @@ var RecordingRebalanceInputSchema = zod.z.object({
|
|
|
31130
31273
|
minMoveGb: zod.z.number().min(0).optional()
|
|
31131
31274
|
});
|
|
31132
31275
|
/**
|
|
31276
|
+
* Operator-facing placement of one camera onto a recordings location.
|
|
31277
|
+
*
|
|
31278
|
+
* `pinLocationId` is the operator instruction: a location id, or `null` for
|
|
31279
|
+
* Auto (the planner may move this camera). `locationId` is where high/mid
|
|
31280
|
+
* currently write — the plan, which may disagree with the pin when Auto.
|
|
31281
|
+
*/
|
|
31282
|
+
var RecordingDevicePlacementSchema = zod.z.object({
|
|
31283
|
+
deviceId: zod.z.number().int(),
|
|
31284
|
+
profile: zod.z.string(),
|
|
31285
|
+
locationId: zod.z.string()
|
|
31286
|
+
});
|
|
31287
|
+
var RecordingDevicePinSchema = zod.z.object({
|
|
31288
|
+
deviceId: zod.z.number().int(),
|
|
31289
|
+
/** Recordings-class location this camera is pinned to. */
|
|
31290
|
+
locationId: zod.z.string()
|
|
31291
|
+
});
|
|
31292
|
+
var RecordingPlacementViewSchema = zod.z.object({
|
|
31293
|
+
assignments: zod.z.array(RecordingDevicePlacementSchema),
|
|
31294
|
+
pins: zod.z.array(RecordingDevicePinSchema),
|
|
31295
|
+
defaultLocations: zod.z.record(zod.z.string(), zod.z.string())
|
|
31296
|
+
});
|
|
31297
|
+
var RecordingSetDevicePlacementInputSchema = zod.z.object({
|
|
31298
|
+
deviceId: zod.z.number().int(),
|
|
31299
|
+
/** `null` = Auto. Otherwise a `recordings:*` location id. */
|
|
31300
|
+
locationId: zod.z.string().nullable()
|
|
31301
|
+
});
|
|
31302
|
+
/**
|
|
31133
31303
|
* Result of locating footage at a wall-clock instant for one device/profile.
|
|
31134
31304
|
* `segment` carries the covering segment's window; `gap` reports the forward
|
|
31135
31305
|
* nearest covered edge (`null` past the end of footage / when none exists)
|
|
@@ -31482,6 +31652,22 @@ var recordingCapability = {
|
|
|
31482
31652
|
startStorageRebalance: require_sleep.method(RecordingRebalanceInputSchema, RecordingRebalancePlanSchema, {
|
|
31483
31653
|
kind: "mutation",
|
|
31484
31654
|
auth: "admin"
|
|
31655
|
+
}),
|
|
31656
|
+
/**
|
|
31657
|
+
* The placement plan in force plus operator pins. Drives the Locations
|
|
31658
|
+
* admin page: Auto vs a named recordings location, per camera.
|
|
31659
|
+
*/
|
|
31660
|
+
getPlacement: require_sleep.method(zod.z.object({}), RecordingPlacementViewSchema, {
|
|
31661
|
+
kind: "query",
|
|
31662
|
+
auth: "admin"
|
|
31663
|
+
}),
|
|
31664
|
+
/**
|
|
31665
|
+
* Pin a camera to a recordings location, or clear the pin (Auto). High and
|
|
31666
|
+
* mid follow the pin; low stays with the recordingsLow planner.
|
|
31667
|
+
*/
|
|
31668
|
+
setDevicePlacement: require_sleep.method(RecordingSetDevicePlacementInputSchema, zod.z.object({ ok: zod.z.literal(true) }), {
|
|
31669
|
+
kind: "mutation",
|
|
31670
|
+
auth: "admin"
|
|
31485
31671
|
})
|
|
31486
31672
|
}
|
|
31487
31673
|
};
|
|
@@ -41855,6 +42041,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
41855
42041
|
addonId: null,
|
|
41856
42042
|
access: "view"
|
|
41857
42043
|
},
|
|
42044
|
+
"pipelineAnalytics.getMediaReclaimStatus": {
|
|
42045
|
+
capName: "pipeline-analytics",
|
|
42046
|
+
capScope: "device",
|
|
42047
|
+
addonId: null,
|
|
42048
|
+
access: "view"
|
|
42049
|
+
},
|
|
41858
42050
|
"pipelineAnalytics.getMotionEvents": {
|
|
41859
42051
|
capName: "pipeline-analytics",
|
|
41860
42052
|
capScope: "device",
|
|
@@ -42029,6 +42221,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
42029
42221
|
addonId: null,
|
|
42030
42222
|
access: "create"
|
|
42031
42223
|
},
|
|
42224
|
+
"pipelineAnalytics.reclaimDebugMedia": {
|
|
42225
|
+
capName: "pipeline-analytics",
|
|
42226
|
+
capScope: "device",
|
|
42227
|
+
addonId: null,
|
|
42228
|
+
access: "create"
|
|
42229
|
+
},
|
|
42032
42230
|
"pipelineAnalytics.reconcileFromDisk": {
|
|
42033
42231
|
capName: "pipeline-analytics",
|
|
42034
42232
|
capScope: "device",
|
|
@@ -42953,6 +43151,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
42953
43151
|
addonId: null,
|
|
42954
43152
|
access: "view"
|
|
42955
43153
|
},
|
|
43154
|
+
"recording.getPlacement": {
|
|
43155
|
+
capName: "recording",
|
|
43156
|
+
capScope: "system",
|
|
43157
|
+
addonId: null,
|
|
43158
|
+
access: "view"
|
|
43159
|
+
},
|
|
42956
43160
|
"recording.getPlaybackManifest": {
|
|
42957
43161
|
capName: "recording",
|
|
42958
43162
|
capScope: "system",
|
|
@@ -43079,6 +43283,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
43079
43283
|
addonId: null,
|
|
43080
43284
|
access: "create"
|
|
43081
43285
|
},
|
|
43286
|
+
"recording.setDevicePlacement": {
|
|
43287
|
+
capName: "recording",
|
|
43288
|
+
capScope: "system",
|
|
43289
|
+
addonId: null,
|
|
43290
|
+
access: "create"
|
|
43291
|
+
},
|
|
43082
43292
|
"recording.startStorageMigrationMove": {
|
|
43083
43293
|
capName: "recording",
|
|
43084
43294
|
capScope: "system",
|
|
@@ -43523,12 +43733,36 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
43523
43733
|
addonId: null,
|
|
43524
43734
|
access: "create"
|
|
43525
43735
|
},
|
|
43736
|
+
"storageMigration.cleanupCancel": {
|
|
43737
|
+
capName: "storage-migration",
|
|
43738
|
+
capScope: "system",
|
|
43739
|
+
addonId: null,
|
|
43740
|
+
access: "create"
|
|
43741
|
+
},
|
|
43742
|
+
"storageMigration.cleanupStart": {
|
|
43743
|
+
capName: "storage-migration",
|
|
43744
|
+
capScope: "system",
|
|
43745
|
+
addonId: null,
|
|
43746
|
+
access: "create"
|
|
43747
|
+
},
|
|
43748
|
+
"storageMigration.cleanupStatus": {
|
|
43749
|
+
capName: "storage-migration",
|
|
43750
|
+
capScope: "system",
|
|
43751
|
+
addonId: null,
|
|
43752
|
+
access: "view"
|
|
43753
|
+
},
|
|
43526
43754
|
"storageMigration.drain": {
|
|
43527
43755
|
capName: "storage-migration",
|
|
43528
43756
|
capScope: "system",
|
|
43529
43757
|
addonId: null,
|
|
43530
43758
|
access: "create"
|
|
43531
43759
|
},
|
|
43760
|
+
"storageMigration.history": {
|
|
43761
|
+
capName: "storage-migration",
|
|
43762
|
+
capScope: "system",
|
|
43763
|
+
addonId: null,
|
|
43764
|
+
access: "view"
|
|
43765
|
+
},
|
|
43532
43766
|
"storageMigration.movers": {
|
|
43533
43767
|
capName: "storage-migration",
|
|
43534
43768
|
capScope: "system",
|
|
@@ -45908,6 +46142,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
|
|
|
45908
46142
|
form: "single",
|
|
45909
46143
|
optional: true
|
|
45910
46144
|
}],
|
|
46145
|
+
"pipelineAnalytics.reclaimDebugMedia": [{
|
|
46146
|
+
name: "deviceIds",
|
|
46147
|
+
form: "array",
|
|
46148
|
+
optional: true
|
|
46149
|
+
}],
|
|
45911
46150
|
"pipelineAnalytics.reconcileFromDisk": [{
|
|
45912
46151
|
name: "deviceId",
|
|
45913
46152
|
form: "single",
|
|
@@ -46273,6 +46512,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
|
|
|
46273
46512
|
form: "single",
|
|
46274
46513
|
optional: false
|
|
46275
46514
|
}],
|
|
46515
|
+
"recording.setDevicePlacement": [{
|
|
46516
|
+
name: "deviceId",
|
|
46517
|
+
form: "single",
|
|
46518
|
+
optional: false
|
|
46519
|
+
}],
|
|
46276
46520
|
"recording.startStorageMigrationMove": [{
|
|
46277
46521
|
name: "deviceId",
|
|
46278
46522
|
form: "single",
|
|
@@ -46744,6 +46988,7 @@ var SYSTEM_SCOPE_DEVICE_METHODS = [
|
|
|
46744
46988
|
"recording.renderGif",
|
|
46745
46989
|
"recording.rescanStorage",
|
|
46746
46990
|
"recording.setDeviceConfig",
|
|
46991
|
+
"recording.setDevicePlacement",
|
|
46747
46992
|
"recording.startStorageMigrationMove",
|
|
46748
46993
|
"recordingExport.createExport",
|
|
46749
46994
|
"recordingExport.listExports",
|
|
@@ -47672,7 +47917,9 @@ function createSystemProxy(api) {
|
|
|
47672
47917
|
reconcileLedgerAgainstDisk: (input) => dispatch("recording", "reconcileLedgerAgainstDisk", "mutation", input),
|
|
47673
47918
|
cancelRelocateJob: (input) => dispatch("recording", "cancelRelocateJob", "mutation", input),
|
|
47674
47919
|
planStorageRebalance: (input) => dispatch("recording", "planStorageRebalance", "query", input),
|
|
47675
|
-
startStorageRebalance: (input) => dispatch("recording", "startStorageRebalance", "mutation", input)
|
|
47920
|
+
startStorageRebalance: (input) => dispatch("recording", "startStorageRebalance", "mutation", input),
|
|
47921
|
+
getPlacement: (input) => dispatch("recording", "getPlacement", "query", input),
|
|
47922
|
+
setDevicePlacement: (input) => dispatch("recording", "setDevicePlacement", "mutation", input)
|
|
47676
47923
|
},
|
|
47677
47924
|
recordingExport: {
|
|
47678
47925
|
createExport: (input) => dispatch("recordingExport", "createExport", "mutation", input),
|
|
@@ -47736,7 +47983,11 @@ function createSystemProxy(api) {
|
|
|
47736
47983
|
cancel: (input) => dispatch("storageMigration", "cancel", "mutation", input),
|
|
47737
47984
|
movers: (input) => dispatch("storageMigration", "movers", "query", input),
|
|
47738
47985
|
residue: (input) => dispatch("storageMigration", "residue", "query", input),
|
|
47739
|
-
drain: (input) => dispatch("storageMigration", "drain", "mutation", input)
|
|
47986
|
+
drain: (input) => dispatch("storageMigration", "drain", "mutation", input),
|
|
47987
|
+
cleanupStart: (input) => dispatch("storageMigration", "cleanupStart", "mutation", input),
|
|
47988
|
+
cleanupStatus: (input) => dispatch("storageMigration", "cleanupStatus", "query", input),
|
|
47989
|
+
cleanupCancel: (input) => dispatch("storageMigration", "cleanupCancel", "mutation", input),
|
|
47990
|
+
history: (input) => dispatch("storageMigration", "history", "query", input)
|
|
47740
47991
|
},
|
|
47741
47992
|
streamBroker: {
|
|
47742
47993
|
fetchEventMedia: (input) => dispatch("streamBroker", "fetchEventMedia", "mutation", input),
|
|
@@ -52643,6 +52894,10 @@ exports.StorageBeginDownloadInputSchema = BeginDownloadInputSchema;
|
|
|
52643
52894
|
exports.StorageBeginDownloadResultSchema = BeginDownloadResultSchema;
|
|
52644
52895
|
exports.StorageBeginUploadInputSchema = BeginUploadInputSchema;
|
|
52645
52896
|
exports.StorageBeginUploadResultSchema = BeginUploadResultSchema;
|
|
52897
|
+
exports.StorageCleanupInputSchema = StorageCleanupInputSchema;
|
|
52898
|
+
exports.StorageCleanupJobSchema = StorageCleanupJobSchema;
|
|
52899
|
+
exports.StorageCleanupPhaseSchema = StorageCleanupPhaseSchema;
|
|
52900
|
+
exports.StorageCleanupStatusInputSchema = StorageCleanupStatusInputSchema;
|
|
52646
52901
|
exports.StorageEndDownloadInputSchema = EndDownloadInputSchema;
|
|
52647
52902
|
exports.StorageFinalizeUploadInputSchema = FinalizeUploadInputSchema;
|
|
52648
52903
|
exports.StorageLocationDeclarationSchema = StorageLocationDeclarationSchema;
|
|
@@ -52668,6 +52923,7 @@ exports.StorageMigrationParticipantSchema = StorageMigrationParticipantSchema;
|
|
|
52668
52923
|
exports.StorageMigrationPhaseSchema = StorageMigrationPhaseSchema;
|
|
52669
52924
|
exports.StorageMigrationPlanSchema = StorageMigrationPlanSchema;
|
|
52670
52925
|
exports.StorageMigrationResidueSchema = StorageMigrationResidueSchema;
|
|
52926
|
+
exports.StorageMigrationSourcesSchema = StorageMigrationSourcesSchema;
|
|
52671
52927
|
exports.StorageProviderInfoSchema = ProviderInfoSchema;
|
|
52672
52928
|
exports.StorageReadChunkInputSchema = ReadChunkInputSchema;
|
|
52673
52929
|
exports.StorageTestLocationResultSchema = TestLocationResultSchema;
|