@camstack/types 1.2.36 → 1.2.38
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 +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/pipeline-analytics.cap.d.ts +21 -3
- package/dist/generated/addon-api.d.ts +14 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/index.js +68 -2
- package/dist/index.mjs +68 -2
- package/dist/{sleep-BeLSE-Rr.mjs → sleep-BFsQ039l.mjs} +2 -0
- package/dist/{sleep-C6W2qcHX.js → sleep-ByC1qJu7.js} +2 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_event_category = require("./event-category-BE4PDZ_3.js");
|
|
3
|
-
const require_sleep = require("./sleep-
|
|
3
|
+
const require_sleep = require("./sleep-ByC1qJu7.js");
|
|
4
4
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
5
5
|
//#region src/generated/collection-array-methods.ts
|
|
6
6
|
/**
|
package/dist/addon.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as EventCategory } from "./event-category-41fKf-q9.mjs";
|
|
2
|
-
import { B as scopeKey, C as DeviceType, F as readNodePin, I as ReadinessRegistry, L as ReadinessTimeoutError, O as expandCapMethods, P as nodePin, a as asJsonObject, d as DEVICE_SCOPED_CAPS, f as isDeviceScopedCap, ft as DATAPLANE_SECRET_HEADER, ht as normalizeAddonInitResult, mt as BaseAddon, p as createDeviceProxy, pt as DisposerChain, s as asString, t as sleep, u as parseJsonUnknown, v as deviceOpsCapability, vt as emitReadiness, w as adminUiCapability, y as viewerUiCapability } from "./sleep-
|
|
2
|
+
import { B as scopeKey, C as DeviceType, F as readNodePin, I as ReadinessRegistry, L as ReadinessTimeoutError, O as expandCapMethods, P as nodePin, a as asJsonObject, d as DEVICE_SCOPED_CAPS, f as isDeviceScopedCap, ft as DATAPLANE_SECRET_HEADER, ht as normalizeAddonInitResult, mt as BaseAddon, p as createDeviceProxy, pt as DisposerChain, s as asString, t as sleep, u as parseJsonUnknown, v as deviceOpsCapability, vt as emitReadiness, w as adminUiCapability, y as viewerUiCapability } from "./sleep-BFsQ039l.mjs";
|
|
3
3
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
4
4
|
//#region src/generated/collection-array-methods.ts
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { type InferProvider } from './capability-definition.js';
|
|
3
2
|
import { DeviceType } from '../device/device-type.js';
|
|
3
|
+
import { type InferProvider } from './capability-definition.js';
|
|
4
4
|
/**
|
|
5
5
|
* pipeline-analytics — device-scoped wrapper cap. Refines raw
|
|
6
6
|
* per-frame detections emitted by the pipeline runner into tracked
|
|
@@ -1657,6 +1657,24 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1657
1657
|
timestamp: z.ZodNumber;
|
|
1658
1658
|
score: z.ZodNumber;
|
|
1659
1659
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1660
|
+
readonly wipeObjectEmbeddings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
1661
|
+
deleted: z.ZodNumber;
|
|
1662
|
+
}, z.core.$strip>, "mutation">;
|
|
1663
|
+
readonly rebuildObjectEmbeddings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
1664
|
+
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
1665
|
+
since: z.ZodOptional<z.ZodNumber>;
|
|
1666
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
1667
|
+
cropMargin: z.ZodOptional<z.ZodNumber>;
|
|
1668
|
+
square: z.ZodOptional<z.ZodBoolean>;
|
|
1669
|
+
maxTracks: z.ZodOptional<z.ZodNumber>;
|
|
1670
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1671
|
+
scanned: z.ZodNumber;
|
|
1672
|
+
rebuilt: z.ZodNumber;
|
|
1673
|
+
missingKeyFrame: z.ZodNumber;
|
|
1674
|
+
missingBbox: z.ZodNumber;
|
|
1675
|
+
failed: z.ZodNumber;
|
|
1676
|
+
complete: z.ZodBoolean;
|
|
1677
|
+
}, z.core.$strip>, "mutation">;
|
|
1660
1678
|
};
|
|
1661
1679
|
readonly events: {
|
|
1662
1680
|
/**
|
|
@@ -1728,6 +1746,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1728
1746
|
};
|
|
1729
1747
|
};
|
|
1730
1748
|
export type IPipelineAnalyticsProvider = InferProvider<typeof pipelineAnalyticsCapability>;
|
|
1731
|
-
export {
|
|
1749
|
+
export { AudioEventSchema, EventKindDescriptorSchema, EventKindSchema, EventKindsForDeviceSchema, KeyEventSchema, MediaFileInfoSchema, MediaFileKindEnum, MediaFileSchema, MotionEventSchema, ObjectEventSchema, RecentTracksPageSchema, RecentTracksQueryInput, SensorEventSchema, TrackAudioLabelSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema,
|
|
1732
1750
|
/** No longer carried on onFrameTracked (two-plane re-injection) — kept for compat. */
|
|
1733
|
-
TrackedDetectionSchema, };
|
|
1751
|
+
TrackedDetectionSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, };
|
|
@@ -4812,6 +4812,20 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
4812
4812
|
output: z.infer<typeof pipelineAnalyticsCapability.methods.searchObjectEvents.output>;
|
|
4813
4813
|
meta: object;
|
|
4814
4814
|
}>;
|
|
4815
|
+
wipeObjectEmbeddings: TRPCMutationProcedure<{
|
|
4816
|
+
input: {
|
|
4817
|
+
nodeId?: string | undefined;
|
|
4818
|
+
} | undefined;
|
|
4819
|
+
output: z.infer<typeof pipelineAnalyticsCapability.methods.wipeObjectEmbeddings.output>;
|
|
4820
|
+
meta: object;
|
|
4821
|
+
}>;
|
|
4822
|
+
rebuildObjectEmbeddings: TRPCMutationProcedure<{
|
|
4823
|
+
input: {
|
|
4824
|
+
[x: string]: unknown;
|
|
4825
|
+
} & z.input<typeof pipelineAnalyticsCapability.methods.rebuildObjectEmbeddings.input>;
|
|
4826
|
+
output: z.infer<typeof pipelineAnalyticsCapability.methods.rebuildObjectEmbeddings.output>;
|
|
4827
|
+
meta: object;
|
|
4828
|
+
}>;
|
|
4815
4829
|
}>>;
|
|
4816
4830
|
pipelineExecutor: TRPCBuiltRouter<{
|
|
4817
4831
|
ctx: TrpcContext;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* scope+access check inside `protectedProcedure` (see
|
|
7
7
|
* `server/backend/src/api/trpc/trpc.middleware.ts`).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 865 method paths across 120 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
12
12
|
export interface MethodAccessRecord {
|
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-BE4PDZ_3.js");
|
|
3
|
-
const require_sleep = require("./sleep-
|
|
3
|
+
const require_sleep = require("./sleep-ByC1qJu7.js");
|
|
4
4
|
const require_enums = require("./enums.js");
|
|
5
5
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
6
6
|
let zod = require("zod");
|
|
@@ -11707,6 +11707,51 @@ var EventPruneCountsSchema = zod.z.object({
|
|
|
11707
11707
|
object: zod.z.number().int(),
|
|
11708
11708
|
audio: zod.z.number().int()
|
|
11709
11709
|
});
|
|
11710
|
+
/**
|
|
11711
|
+
* Re-embed stored tracks from their key frames.
|
|
11712
|
+
*
|
|
11713
|
+
* The reason this is an operator-callable method and not a migration script:
|
|
11714
|
+
* every knob that decides what a vector MEANS — encoder model, crop margin,
|
|
11715
|
+
* squaring — is only changeable if the existing vectors can be regenerated.
|
|
11716
|
+
* Mixing feature spaces in one index makes cosine scores incomparable, and the
|
|
11717
|
+
* symptom is a quality regression with no visible cause.
|
|
11718
|
+
*/
|
|
11719
|
+
var RebuildObjectEmbeddingsInput = zod.z.object({
|
|
11720
|
+
/** Restrict to one camera. Omit for the whole fleet. */
|
|
11721
|
+
deviceId: zod.z.number().optional(),
|
|
11722
|
+
since: zod.z.number().optional(),
|
|
11723
|
+
until: zod.z.number().optional(),
|
|
11724
|
+
/**
|
|
11725
|
+
* Fraction added on EACH side of the detection box before cropping.
|
|
11726
|
+
* ~0.2 (a 1.4x window) gives CLIP the surroundings it is trained on; 0 is
|
|
11727
|
+
* the pixel-tight crop the first implementation used.
|
|
11728
|
+
*/
|
|
11729
|
+
cropMargin: zod.z.number().min(0).max(4).optional(),
|
|
11730
|
+
/** Square the window before extracting, so a tall subject is not squashed. */
|
|
11731
|
+
square: zod.z.boolean().optional(),
|
|
11732
|
+
/** Stop after this many tracks; the result reports whether more remain. */
|
|
11733
|
+
maxTracks: zod.z.number().int().positive().optional()
|
|
11734
|
+
});
|
|
11735
|
+
/**
|
|
11736
|
+
* Result of emptying the CLIP index.
|
|
11737
|
+
*
|
|
11738
|
+
* The clean slate before a policy change: a new crop margin or encoder model
|
|
11739
|
+
* leaves two feature spaces in one index whose cosine scores are not
|
|
11740
|
+
* comparable, so wiping and rebuilding is the only way to be sure every vector
|
|
11741
|
+
* means the same thing.
|
|
11742
|
+
*/
|
|
11743
|
+
var WipeObjectEmbeddingsResultSchema = zod.z.object({ deleted: zod.z.number() });
|
|
11744
|
+
var RebuildObjectEmbeddingsResultSchema = zod.z.object({
|
|
11745
|
+
scanned: zod.z.number(),
|
|
11746
|
+
rebuilt: zod.z.number(),
|
|
11747
|
+
/** Tracks whose key frame is gone — nothing to re-embed from. */
|
|
11748
|
+
missingKeyFrame: zod.z.number(),
|
|
11749
|
+
/** Tracks with no usable detection box. */
|
|
11750
|
+
missingBbox: zod.z.number(),
|
|
11751
|
+
failed: zod.z.number(),
|
|
11752
|
+
/** False when the pass stopped at `maxTracks` with tracks left. */
|
|
11753
|
+
complete: zod.z.boolean()
|
|
11754
|
+
});
|
|
11710
11755
|
var pipelineAnalyticsCapability = {
|
|
11711
11756
|
name: "pipeline-analytics",
|
|
11712
11757
|
scope: "device",
|
|
@@ -11979,7 +12024,16 @@ var pipelineAnalyticsCapability = {
|
|
|
11979
12024
|
* ObjectEvents by trackId. Returns up to `limit` events scored ≥
|
|
11980
12025
|
* `minScore`, sorted descending by score.
|
|
11981
12026
|
*/
|
|
11982
|
-
searchObjectEvents: require_sleep.method(SearchObjectEventsInput, zod.z.array(ScoredObjectEventSchema).readonly())
|
|
12027
|
+
searchObjectEvents: require_sleep.method(SearchObjectEventsInput, zod.z.array(ScoredObjectEventSchema).readonly()),
|
|
12028
|
+
wipeObjectEmbeddings: require_sleep.method(zod.z.void(), WipeObjectEmbeddingsResultSchema, {
|
|
12029
|
+
kind: "mutation",
|
|
12030
|
+
auth: "admin"
|
|
12031
|
+
}),
|
|
12032
|
+
rebuildObjectEmbeddings: require_sleep.method(RebuildObjectEmbeddingsInput, RebuildObjectEmbeddingsResultSchema, {
|
|
12033
|
+
kind: "mutation",
|
|
12034
|
+
auth: "admin",
|
|
12035
|
+
timeoutMs: 30 * 6e4
|
|
12036
|
+
})
|
|
11983
12037
|
},
|
|
11984
12038
|
events: {
|
|
11985
12039
|
/**
|
|
@@ -30321,6 +30375,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
30321
30375
|
addonId: null,
|
|
30322
30376
|
access: "create"
|
|
30323
30377
|
},
|
|
30378
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": {
|
|
30379
|
+
capName: "pipeline-analytics",
|
|
30380
|
+
capScope: "device",
|
|
30381
|
+
addonId: null,
|
|
30382
|
+
access: "create"
|
|
30383
|
+
},
|
|
30324
30384
|
"pipelineAnalytics.relocateMedia": {
|
|
30325
30385
|
capName: "pipeline-analytics",
|
|
30326
30386
|
capScope: "device",
|
|
@@ -30339,6 +30399,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
30339
30399
|
addonId: null,
|
|
30340
30400
|
access: "delete"
|
|
30341
30401
|
},
|
|
30402
|
+
"pipelineAnalytics.wipeObjectEmbeddings": {
|
|
30403
|
+
capName: "pipeline-analytics",
|
|
30404
|
+
capScope: "device",
|
|
30405
|
+
addonId: null,
|
|
30406
|
+
access: "delete"
|
|
30407
|
+
},
|
|
30342
30408
|
"pipelineExecutor.cacheFrameInPool": {
|
|
30343
30409
|
capName: "pipeline-executor",
|
|
30344
30410
|
capScope: "system",
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as EventCategory } from "./event-category-41fKf-q9.mjs";
|
|
2
|
-
import { $ as ProfileRtspEntrySchema, A as method, B as scopeKey, C as DeviceType, Ct as collectHydratedFieldValues, D as event, E as DEVICE_STATUS_METHOD, F as readNodePin, G as CamStreamKindSchema, H as BrokerStatusSchema, I as ReadinessRegistry, J as DecodedAudioChunkSchema, K as CamStreamResolutionSchema, L as ReadinessTimeoutError, M as systemMethod, N as CAP_NODE_PIN_CONTEXT_KEY, O as expandCapMethods, P as nodePin, Q as FrameHandleSchema, R as emitDownForOwnedCaps, S as DeviceRole, St as collectHydratedFieldEntries, T as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Tt as resolveHydratedFieldValue, U as CAM_PROFILE_ORDER, V as BrokerStatsSchema, W as CamProfileSchema, X as EncodedPacketSchema, Y as DecodedFrameSchema, Z as FrameHandleFormatSchema, _ as RawStateResultSchema, _t as createEvent, a as asJsonObject, at as SubscribeAudioChunksResultSchema, b as ChargingStatus, bt as WELL_KNOWN_TABS, c as parseJsonArray, ct as makeProfileBrokerId, d as DEVICE_SCOPED_CAPS, dt as selectAssignedProfileSlots, et as ProfileSlotSchema, f as isDeviceScopedCap, ft as DATAPLANE_SECRET_HEADER, g as createSliceHandle, gt as createDurableState, h as createMirrorSource, ht as normalizeAddonInitResult, i as asJsonArray, it as SubscribeAudioChunksInputSchema, j as resolveCapMount, k as isDeviceConfigCap, l as parseJsonObject, lt as makeSourceBrokerId, m as createLazyTrpcSource, mt as BaseAddon, n as sleepCancellable, nt as StreamSourceEntrySchema, o as asNumber, ot as SubscribeFramesInputSchema, p as createDeviceProxy, pt as DisposerChain, q as CameraStreamSchema, r as asBoolean, rt as StreamSourceSchema, s as asString, st as SubscribeFramesResultSchema, t as sleep, tt as ProfileSlotStatusSchema, u as parseJsonUnknown, ut as parseProfileBrokerId, v as deviceOpsCapability, vt as emitReadiness, w as adminUiCapability, wt as hydrateSchema, x as DeviceFeature, xt as WELL_KNOWN_TAB_MAP, y as viewerUiCapability, yt as isEvent, z as readinessKey } from "./sleep-
|
|
2
|
+
import { $ as ProfileRtspEntrySchema, A as method, B as scopeKey, C as DeviceType, Ct as collectHydratedFieldValues, D as event, E as DEVICE_STATUS_METHOD, F as readNodePin, G as CamStreamKindSchema, H as BrokerStatusSchema, I as ReadinessRegistry, J as DecodedAudioChunkSchema, K as CamStreamResolutionSchema, L as ReadinessTimeoutError, M as systemMethod, N as CAP_NODE_PIN_CONTEXT_KEY, O as expandCapMethods, P as nodePin, Q as FrameHandleSchema, R as emitDownForOwnedCaps, S as DeviceRole, St as collectHydratedFieldEntries, T as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Tt as resolveHydratedFieldValue, U as CAM_PROFILE_ORDER, V as BrokerStatsSchema, W as CamProfileSchema, X as EncodedPacketSchema, Y as DecodedFrameSchema, Z as FrameHandleFormatSchema, _ as RawStateResultSchema, _t as createEvent, a as asJsonObject, at as SubscribeAudioChunksResultSchema, b as ChargingStatus, bt as WELL_KNOWN_TABS, c as parseJsonArray, ct as makeProfileBrokerId, d as DEVICE_SCOPED_CAPS, dt as selectAssignedProfileSlots, et as ProfileSlotSchema, f as isDeviceScopedCap, ft as DATAPLANE_SECRET_HEADER, g as createSliceHandle, gt as createDurableState, h as createMirrorSource, ht as normalizeAddonInitResult, i as asJsonArray, it as SubscribeAudioChunksInputSchema, j as resolveCapMount, k as isDeviceConfigCap, l as parseJsonObject, lt as makeSourceBrokerId, m as createLazyTrpcSource, mt as BaseAddon, n as sleepCancellable, nt as StreamSourceEntrySchema, o as asNumber, ot as SubscribeFramesInputSchema, p as createDeviceProxy, pt as DisposerChain, q as CameraStreamSchema, r as asBoolean, rt as StreamSourceSchema, s as asString, st as SubscribeFramesResultSchema, t as sleep, tt as ProfileSlotStatusSchema, u as parseJsonUnknown, ut as parseProfileBrokerId, v as deviceOpsCapability, vt as emitReadiness, w as adminUiCapability, wt as hydrateSchema, x as DeviceFeature, xt as WELL_KNOWN_TAB_MAP, y as viewerUiCapability, yt as isEvent, z as readinessKey } from "./sleep-BFsQ039l.mjs";
|
|
3
3
|
import { EventSourceType } from "./enums.mjs";
|
|
4
4
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -11706,6 +11706,51 @@ var EventPruneCountsSchema = z.object({
|
|
|
11706
11706
|
object: z.number().int(),
|
|
11707
11707
|
audio: z.number().int()
|
|
11708
11708
|
});
|
|
11709
|
+
/**
|
|
11710
|
+
* Re-embed stored tracks from their key frames.
|
|
11711
|
+
*
|
|
11712
|
+
* The reason this is an operator-callable method and not a migration script:
|
|
11713
|
+
* every knob that decides what a vector MEANS — encoder model, crop margin,
|
|
11714
|
+
* squaring — is only changeable if the existing vectors can be regenerated.
|
|
11715
|
+
* Mixing feature spaces in one index makes cosine scores incomparable, and the
|
|
11716
|
+
* symptom is a quality regression with no visible cause.
|
|
11717
|
+
*/
|
|
11718
|
+
var RebuildObjectEmbeddingsInput = z.object({
|
|
11719
|
+
/** Restrict to one camera. Omit for the whole fleet. */
|
|
11720
|
+
deviceId: z.number().optional(),
|
|
11721
|
+
since: z.number().optional(),
|
|
11722
|
+
until: z.number().optional(),
|
|
11723
|
+
/**
|
|
11724
|
+
* Fraction added on EACH side of the detection box before cropping.
|
|
11725
|
+
* ~0.2 (a 1.4x window) gives CLIP the surroundings it is trained on; 0 is
|
|
11726
|
+
* the pixel-tight crop the first implementation used.
|
|
11727
|
+
*/
|
|
11728
|
+
cropMargin: z.number().min(0).max(4).optional(),
|
|
11729
|
+
/** Square the window before extracting, so a tall subject is not squashed. */
|
|
11730
|
+
square: z.boolean().optional(),
|
|
11731
|
+
/** Stop after this many tracks; the result reports whether more remain. */
|
|
11732
|
+
maxTracks: z.number().int().positive().optional()
|
|
11733
|
+
});
|
|
11734
|
+
/**
|
|
11735
|
+
* Result of emptying the CLIP index.
|
|
11736
|
+
*
|
|
11737
|
+
* The clean slate before a policy change: a new crop margin or encoder model
|
|
11738
|
+
* leaves two feature spaces in one index whose cosine scores are not
|
|
11739
|
+
* comparable, so wiping and rebuilding is the only way to be sure every vector
|
|
11740
|
+
* means the same thing.
|
|
11741
|
+
*/
|
|
11742
|
+
var WipeObjectEmbeddingsResultSchema = z.object({ deleted: z.number() });
|
|
11743
|
+
var RebuildObjectEmbeddingsResultSchema = z.object({
|
|
11744
|
+
scanned: z.number(),
|
|
11745
|
+
rebuilt: z.number(),
|
|
11746
|
+
/** Tracks whose key frame is gone — nothing to re-embed from. */
|
|
11747
|
+
missingKeyFrame: z.number(),
|
|
11748
|
+
/** Tracks with no usable detection box. */
|
|
11749
|
+
missingBbox: z.number(),
|
|
11750
|
+
failed: z.number(),
|
|
11751
|
+
/** False when the pass stopped at `maxTracks` with tracks left. */
|
|
11752
|
+
complete: z.boolean()
|
|
11753
|
+
});
|
|
11709
11754
|
var pipelineAnalyticsCapability = {
|
|
11710
11755
|
name: "pipeline-analytics",
|
|
11711
11756
|
scope: "device",
|
|
@@ -11978,7 +12023,16 @@ var pipelineAnalyticsCapability = {
|
|
|
11978
12023
|
* ObjectEvents by trackId. Returns up to `limit` events scored ≥
|
|
11979
12024
|
* `minScore`, sorted descending by score.
|
|
11980
12025
|
*/
|
|
11981
|
-
searchObjectEvents: method(SearchObjectEventsInput, z.array(ScoredObjectEventSchema).readonly())
|
|
12026
|
+
searchObjectEvents: method(SearchObjectEventsInput, z.array(ScoredObjectEventSchema).readonly()),
|
|
12027
|
+
wipeObjectEmbeddings: method(z.void(), WipeObjectEmbeddingsResultSchema, {
|
|
12028
|
+
kind: "mutation",
|
|
12029
|
+
auth: "admin"
|
|
12030
|
+
}),
|
|
12031
|
+
rebuildObjectEmbeddings: method(RebuildObjectEmbeddingsInput, RebuildObjectEmbeddingsResultSchema, {
|
|
12032
|
+
kind: "mutation",
|
|
12033
|
+
auth: "admin",
|
|
12034
|
+
timeoutMs: 30 * 6e4
|
|
12035
|
+
})
|
|
11982
12036
|
},
|
|
11983
12037
|
events: {
|
|
11984
12038
|
/**
|
|
@@ -30320,6 +30374,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
30320
30374
|
addonId: null,
|
|
30321
30375
|
access: "create"
|
|
30322
30376
|
},
|
|
30377
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": {
|
|
30378
|
+
capName: "pipeline-analytics",
|
|
30379
|
+
capScope: "device",
|
|
30380
|
+
addonId: null,
|
|
30381
|
+
access: "create"
|
|
30382
|
+
},
|
|
30323
30383
|
"pipelineAnalytics.relocateMedia": {
|
|
30324
30384
|
capName: "pipeline-analytics",
|
|
30325
30385
|
capScope: "device",
|
|
@@ -30338,6 +30398,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
30338
30398
|
addonId: null,
|
|
30339
30399
|
access: "delete"
|
|
30340
30400
|
},
|
|
30401
|
+
"pipelineAnalytics.wipeObjectEmbeddings": {
|
|
30402
|
+
capName: "pipeline-analytics",
|
|
30403
|
+
capScope: "device",
|
|
30404
|
+
addonId: null,
|
|
30405
|
+
access: "delete"
|
|
30406
|
+
},
|
|
30341
30407
|
"pipelineExecutor.cacheFrameInPool": {
|
|
30342
30408
|
capName: "pipeline-executor",
|
|
30343
30409
|
capScope: "system",
|
|
@@ -3164,6 +3164,8 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3164
3164
|
getTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getTrackMedia", "query", input),
|
|
3165
3165
|
listTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listTrackMedia", "query", input),
|
|
3166
3166
|
searchObjectEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "searchObjectEvents", "query", input),
|
|
3167
|
+
wipeObjectEmbeddings: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "wipeObjectEmbeddings", "mutation", input),
|
|
3168
|
+
rebuildObjectEmbeddings: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "rebuildObjectEmbeddings", "mutation", input),
|
|
3167
3169
|
getDeviceSettingsContribution: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getDeviceSettingsContribution", "query", input),
|
|
3168
3170
|
getDeviceLiveContribution: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getDeviceLiveContribution", "query", input),
|
|
3169
3171
|
applyDeviceSettingsPatch: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "applyDeviceSettingsPatch", "mutation", input)
|
|
@@ -3164,6 +3164,8 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3164
3164
|
getTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getTrackMedia", "query", input),
|
|
3165
3165
|
listTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listTrackMedia", "query", input),
|
|
3166
3166
|
searchObjectEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "searchObjectEvents", "query", input),
|
|
3167
|
+
wipeObjectEmbeddings: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "wipeObjectEmbeddings", "mutation", input),
|
|
3168
|
+
rebuildObjectEmbeddings: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "rebuildObjectEmbeddings", "mutation", input),
|
|
3167
3169
|
getDeviceSettingsContribution: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getDeviceSettingsContribution", "query", input),
|
|
3168
3170
|
getDeviceLiveContribution: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getDeviceLiveContribution", "query", input),
|
|
3169
3171
|
applyDeviceSettingsPatch: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "applyDeviceSettingsPatch", "mutation", input)
|