@camstack/types 1.2.104 → 1.2.106
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/capabilities/addons.cap.d.ts +4 -4
- package/dist/capabilities/battery.cap.d.ts +4 -4
- package/dist/capabilities/control.cap.d.ts +4 -4
- package/dist/capabilities/core-blocks.cap.d.ts +8 -8
- package/dist/capabilities/custom-model-registry.cap.d.ts +4 -4
- package/dist/capabilities/data-store-provider.cap.d.ts +1 -0
- package/dist/capabilities/device-manager.cap.d.ts +1 -1
- package/dist/capabilities/face-gallery.cap.d.ts +3 -1
- package/dist/capabilities/llm-runtime.cap.d.ts +3 -3
- package/dist/capabilities/llm.cap.d.ts +4 -4
- package/dist/capabilities/model-convert.cap.d.ts +6 -6
- package/dist/capabilities/model-distributor.cap.d.ts +4 -4
- package/dist/capabilities/native-object-detection.cap.d.ts +15 -15
- package/dist/capabilities/notification-output.cap.d.ts +18 -18
- package/dist/capabilities/notification-rules.cap.d.ts +26 -26
- package/dist/capabilities/oauth-integration.cap.d.ts +2 -2
- package/dist/capabilities/osd-manager.cap.d.ts +14 -14
- package/dist/capabilities/pipeline-analytics.cap.d.ts +53 -53
- package/dist/capabilities/pipeline-executor.cap.d.ts +7 -7
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +19 -19
- package/dist/capabilities/plate-gallery.cap.d.ts +5 -1
- package/dist/capabilities/platform-probe.cap.d.ts +2 -2
- package/dist/capabilities/recording-export.cap.d.ts +7 -7
- package/dist/capabilities/recording.cap.d.ts +9 -30
- package/dist/capabilities/scene-monitor.cap.d.ts +8 -8
- package/dist/capabilities/settings-store.cap.d.ts +17 -2
- package/dist/capabilities/sso-bridge.cap.d.ts +3 -3
- package/dist/capabilities/storage-migration.cap.d.ts +1 -1
- package/dist/capabilities/stream-broker.cap.d.ts +6 -6
- package/dist/capabilities/user-management.cap.d.ts +20 -20
- package/dist/capabilities/vacuum-control.cap.d.ts +13 -13
- package/dist/encode-profile.d.ts +2 -2
- package/dist/generated/addon-api.d.ts +2 -6
- package/dist/health/wiring-health.d.ts +8 -8
- package/dist/index.js +88 -101
- package/dist/index.mjs +89 -96
- package/dist/interfaces/addon.d.ts +29 -7
- package/dist/interfaces/adoption-job.d.ts +2 -2
- package/dist/interfaces/ops-log.d.ts +2 -2
- package/dist/interfaces/recording-config.d.ts +7 -57
- package/dist/interfaces/relocate.d.ts +4 -4
- package/dist/interfaces/storage.d.ts +23 -0
- package/dist/lifecycle/job.d.ts +4 -4
- package/dist/schemas/auth-records.d.ts +4 -4
- package/dist/types/models.d.ts +7 -7
- package/package.json +1 -1
|
@@ -586,9 +586,9 @@ export declare const addonsCapability: {
|
|
|
586
586
|
createdAtMs: z.ZodNumber;
|
|
587
587
|
createdBy: z.ZodString;
|
|
588
588
|
scope: z.ZodEnum<{
|
|
589
|
+
cluster: "cluster";
|
|
589
590
|
single: "single";
|
|
590
591
|
bulk: "bulk";
|
|
591
|
-
cluster: "cluster";
|
|
592
592
|
}>;
|
|
593
593
|
tasks: z.ZodArray<z.ZodObject<{
|
|
594
594
|
taskId: z.ZodString;
|
|
@@ -637,8 +637,8 @@ export declare const addonsCapability: {
|
|
|
637
637
|
finishedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
638
638
|
}, z.core.$strip>>;
|
|
639
639
|
state: z.ZodEnum<{
|
|
640
|
-
failed: "failed";
|
|
641
640
|
running: "running";
|
|
641
|
+
failed: "failed";
|
|
642
642
|
completed: "completed";
|
|
643
643
|
"partially-failed": "partially-failed";
|
|
644
644
|
cancelled: "cancelled";
|
|
@@ -662,9 +662,9 @@ export declare const addonsCapability: {
|
|
|
662
662
|
createdAtMs: z.ZodNumber;
|
|
663
663
|
createdBy: z.ZodString;
|
|
664
664
|
scope: z.ZodEnum<{
|
|
665
|
+
cluster: "cluster";
|
|
665
666
|
single: "single";
|
|
666
667
|
bulk: "bulk";
|
|
667
|
-
cluster: "cluster";
|
|
668
668
|
}>;
|
|
669
669
|
tasks: z.ZodArray<z.ZodObject<{
|
|
670
670
|
taskId: z.ZodString;
|
|
@@ -713,8 +713,8 @@ export declare const addonsCapability: {
|
|
|
713
713
|
finishedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
714
714
|
}, z.core.$strip>>;
|
|
715
715
|
state: z.ZodEnum<{
|
|
716
|
-
failed: "failed";
|
|
717
716
|
running: "running";
|
|
717
|
+
failed: "failed";
|
|
718
718
|
completed: "completed";
|
|
719
719
|
"partially-failed": "partially-failed";
|
|
720
720
|
cancelled: "cancelled";
|
|
@@ -11,9 +11,9 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
11
11
|
export declare const BatteryStatusSchema: z.ZodObject<{
|
|
12
12
|
percentage: z.ZodNumber;
|
|
13
13
|
charging: z.ZodEnum<{
|
|
14
|
+
none: "none";
|
|
14
15
|
dc: "dc";
|
|
15
16
|
solar: "solar";
|
|
16
|
-
none: "none";
|
|
17
17
|
}>;
|
|
18
18
|
sleeping: z.ZodBoolean;
|
|
19
19
|
lastUpdated: z.ZodNumber;
|
|
@@ -65,9 +65,9 @@ export declare const batteryCapability: {
|
|
|
65
65
|
status: z.ZodObject<{
|
|
66
66
|
percentage: z.ZodNumber;
|
|
67
67
|
charging: z.ZodEnum<{
|
|
68
|
+
none: "none";
|
|
68
69
|
dc: "dc";
|
|
69
70
|
solar: "solar";
|
|
70
|
-
none: "none";
|
|
71
71
|
}>;
|
|
72
72
|
sleeping: z.ZodBoolean;
|
|
73
73
|
lastUpdated: z.ZodNumber;
|
|
@@ -81,9 +81,9 @@ export declare const batteryCapability: {
|
|
|
81
81
|
readonly schema: z.ZodObject<{
|
|
82
82
|
percentage: z.ZodNumber;
|
|
83
83
|
charging: z.ZodEnum<{
|
|
84
|
+
none: "none";
|
|
84
85
|
dc: "dc";
|
|
85
86
|
solar: "solar";
|
|
86
|
-
none: "none";
|
|
87
87
|
}>;
|
|
88
88
|
sleeping: z.ZodBoolean;
|
|
89
89
|
lastUpdated: z.ZodNumber;
|
|
@@ -110,9 +110,9 @@ export declare const batteryCapability: {
|
|
|
110
110
|
readonly runtimeState: z.ZodObject<{
|
|
111
111
|
percentage: z.ZodNumber;
|
|
112
112
|
charging: z.ZodEnum<{
|
|
113
|
+
none: "none";
|
|
113
114
|
dc: "dc";
|
|
114
115
|
solar: "solar";
|
|
115
|
-
none: "none";
|
|
116
116
|
}>;
|
|
117
117
|
sleeping: z.ZodBoolean;
|
|
118
118
|
lastUpdated: z.ZodNumber;
|
|
@@ -26,8 +26,8 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
26
26
|
*/
|
|
27
27
|
export declare const ControlKindSchema: z.ZodEnum<{
|
|
28
28
|
text: "text";
|
|
29
|
-
select: "select";
|
|
30
29
|
numeric: "numeric";
|
|
30
|
+
select: "select";
|
|
31
31
|
datetime: "datetime";
|
|
32
32
|
}>;
|
|
33
33
|
export type ControlKind = z.infer<typeof ControlKindSchema>;
|
|
@@ -54,8 +54,8 @@ export type ControlKind = z.infer<typeof ControlKindSchema>;
|
|
|
54
54
|
export declare const ControlStatusSchema: z.ZodObject<{
|
|
55
55
|
kind: z.ZodEnum<{
|
|
56
56
|
text: "text";
|
|
57
|
-
select: "select";
|
|
58
57
|
numeric: "numeric";
|
|
58
|
+
select: "select";
|
|
59
59
|
datetime: "datetime";
|
|
60
60
|
}>;
|
|
61
61
|
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
@@ -115,8 +115,8 @@ export declare const controlCapability: {
|
|
|
115
115
|
readonly schema: z.ZodObject<{
|
|
116
116
|
kind: z.ZodEnum<{
|
|
117
117
|
text: "text";
|
|
118
|
-
select: "select";
|
|
119
118
|
numeric: "numeric";
|
|
119
|
+
select: "select";
|
|
120
120
|
datetime: "datetime";
|
|
121
121
|
}>;
|
|
122
122
|
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
@@ -143,8 +143,8 @@ export declare const controlCapability: {
|
|
|
143
143
|
readonly runtimeState: z.ZodObject<{
|
|
144
144
|
kind: z.ZodEnum<{
|
|
145
145
|
text: "text";
|
|
146
|
-
select: "select";
|
|
147
146
|
numeric: "numeric";
|
|
147
|
+
select: "select";
|
|
148
148
|
datetime: "datetime";
|
|
149
149
|
}>;
|
|
150
150
|
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
@@ -59,8 +59,8 @@ export type CoreBlockPlacement = z.infer<typeof CoreBlockPlacementSchema>;
|
|
|
59
59
|
/** What a block's process is doing. Mirrors the addon runner's own lifecycle so
|
|
60
60
|
* a failing block reads the same way a failing addon does. */
|
|
61
61
|
export declare const CoreBlockStatusSchema: z.ZodEnum<{
|
|
62
|
-
failed: "failed";
|
|
63
62
|
running: "running";
|
|
63
|
+
failed: "failed";
|
|
64
64
|
stopped: "stopped";
|
|
65
65
|
starting: "starting";
|
|
66
66
|
}>;
|
|
@@ -86,8 +86,8 @@ export declare const CoreBlockSchema: z.ZodObject<{
|
|
|
86
86
|
updatedAt: z.ZodNumber;
|
|
87
87
|
createdBy: z.ZodString;
|
|
88
88
|
status: z.ZodEnum<{
|
|
89
|
-
failed: "failed";
|
|
90
89
|
running: "running";
|
|
90
|
+
failed: "failed";
|
|
91
91
|
stopped: "stopped";
|
|
92
92
|
starting: "starting";
|
|
93
93
|
}>;
|
|
@@ -120,8 +120,8 @@ export declare const coreBlocksCapability: {
|
|
|
120
120
|
updatedAt: z.ZodNumber;
|
|
121
121
|
createdBy: z.ZodString;
|
|
122
122
|
status: z.ZodEnum<{
|
|
123
|
-
failed: "failed";
|
|
124
123
|
running: "running";
|
|
124
|
+
failed: "failed";
|
|
125
125
|
stopped: "stopped";
|
|
126
126
|
starting: "starting";
|
|
127
127
|
}>;
|
|
@@ -143,8 +143,8 @@ export declare const coreBlocksCapability: {
|
|
|
143
143
|
updatedAt: z.ZodNumber;
|
|
144
144
|
createdBy: z.ZodString;
|
|
145
145
|
status: z.ZodEnum<{
|
|
146
|
-
failed: "failed";
|
|
147
146
|
running: "running";
|
|
147
|
+
failed: "failed";
|
|
148
148
|
stopped: "stopped";
|
|
149
149
|
starting: "starting";
|
|
150
150
|
}>;
|
|
@@ -177,8 +177,8 @@ export declare const coreBlocksCapability: {
|
|
|
177
177
|
updatedAt: z.ZodNumber;
|
|
178
178
|
createdBy: z.ZodString;
|
|
179
179
|
status: z.ZodEnum<{
|
|
180
|
-
failed: "failed";
|
|
181
180
|
running: "running";
|
|
181
|
+
failed: "failed";
|
|
182
182
|
stopped: "stopped";
|
|
183
183
|
starting: "starting";
|
|
184
184
|
}>;
|
|
@@ -209,8 +209,8 @@ export declare const coreBlocksCapability: {
|
|
|
209
209
|
updatedAt: z.ZodNumber;
|
|
210
210
|
createdBy: z.ZodString;
|
|
211
211
|
status: z.ZodEnum<{
|
|
212
|
-
failed: "failed";
|
|
213
212
|
running: "running";
|
|
213
|
+
failed: "failed";
|
|
214
214
|
stopped: "stopped";
|
|
215
215
|
starting: "starting";
|
|
216
216
|
}>;
|
|
@@ -240,8 +240,8 @@ export declare const coreBlocksCapability: {
|
|
|
240
240
|
updatedAt: z.ZodNumber;
|
|
241
241
|
createdBy: z.ZodString;
|
|
242
242
|
status: z.ZodEnum<{
|
|
243
|
-
failed: "failed";
|
|
244
243
|
running: "running";
|
|
244
|
+
failed: "failed";
|
|
245
245
|
stopped: "stopped";
|
|
246
246
|
starting: "starting";
|
|
247
247
|
}>;
|
|
@@ -276,8 +276,8 @@ export declare const coreBlocksCapability: {
|
|
|
276
276
|
updatedAt: z.ZodNumber;
|
|
277
277
|
createdBy: z.ZodString;
|
|
278
278
|
status: z.ZodEnum<{
|
|
279
|
-
failed: "failed";
|
|
280
279
|
running: "running";
|
|
280
|
+
failed: "failed";
|
|
281
281
|
stopped: "stopped";
|
|
282
282
|
starting: "starting";
|
|
283
283
|
}>;
|
|
@@ -102,9 +102,9 @@ export declare const CustomModelDescriptorSchema: z.ZodObject<{
|
|
|
102
102
|
nhwc: "nhwc";
|
|
103
103
|
}>>;
|
|
104
104
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
105
|
-
none: "none";
|
|
106
105
|
"zero-one": "zero-one";
|
|
107
106
|
imagenet: "imagenet";
|
|
107
|
+
none: "none";
|
|
108
108
|
}>>;
|
|
109
109
|
outputProbabilities: z.ZodOptional<z.ZodBoolean>;
|
|
110
110
|
preprocessMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -132,8 +132,8 @@ export declare const CustomModelDescriptorSchema: z.ZodObject<{
|
|
|
132
132
|
int8: "int8";
|
|
133
133
|
}>>;
|
|
134
134
|
optimization: z.ZodOptional<z.ZodEnum<{
|
|
135
|
-
fast: "fast";
|
|
136
135
|
standard: "standard";
|
|
136
|
+
fast: "fast";
|
|
137
137
|
}>>;
|
|
138
138
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
139
139
|
}, z.core.$strip>>;
|
|
@@ -246,9 +246,9 @@ export declare const customModelRegistryCapability: {
|
|
|
246
246
|
nhwc: "nhwc";
|
|
247
247
|
}>>;
|
|
248
248
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
249
|
-
none: "none";
|
|
250
249
|
"zero-one": "zero-one";
|
|
251
250
|
imagenet: "imagenet";
|
|
251
|
+
none: "none";
|
|
252
252
|
}>>;
|
|
253
253
|
outputProbabilities: z.ZodOptional<z.ZodBoolean>;
|
|
254
254
|
preprocessMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -276,8 +276,8 @@ export declare const customModelRegistryCapability: {
|
|
|
276
276
|
int8: "int8";
|
|
277
277
|
}>>;
|
|
278
278
|
optimization: z.ZodOptional<z.ZodEnum<{
|
|
279
|
-
fast: "fast";
|
|
280
279
|
standard: "standard";
|
|
280
|
+
fast: "fast";
|
|
281
281
|
}>>;
|
|
282
282
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
283
283
|
}, z.core.$strip>>;
|
|
@@ -86,6 +86,7 @@ export declare const dataStoreProviderCapability: {
|
|
|
86
86
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
87
87
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
88
88
|
}, z.core.$strip>>;
|
|
89
|
+
columns: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
89
90
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
90
91
|
id: z.ZodString;
|
|
91
92
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1289,9 +1289,9 @@ export declare const deviceManagerCapability: {
|
|
|
1289
1289
|
addonId: z.ZodString;
|
|
1290
1290
|
integrationId: z.ZodString;
|
|
1291
1291
|
state: z.ZodEnum<{
|
|
1292
|
+
running: "running";
|
|
1292
1293
|
done: "done";
|
|
1293
1294
|
failed: "failed";
|
|
1294
|
-
running: "running";
|
|
1295
1295
|
cancelled: "cancelled";
|
|
1296
1296
|
}>;
|
|
1297
1297
|
total: z.ZodNumber;
|
|
@@ -47,7 +47,9 @@ export declare const faceGalleryCapability: {
|
|
|
47
47
|
readonly scope: "system";
|
|
48
48
|
readonly mode: "singleton";
|
|
49
49
|
readonly methods: {
|
|
50
|
-
readonly listIdentities: import("./capability-definition.js").CapabilityMethodSchema<z.
|
|
50
|
+
readonly listIdentities: import("./capability-definition.js").CapabilityMethodSchema<z.ZodOptional<z.ZodObject<{
|
|
51
|
+
includeCrops: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
51
53
|
id: z.ZodString;
|
|
52
54
|
name: z.ZodString;
|
|
53
55
|
sampleCount: z.ZodNumber;
|
|
@@ -121,10 +121,10 @@ export type LlmDownloadProgress = z.infer<typeof LlmDownloadProgressSchema>;
|
|
|
121
121
|
export declare const LlmRuntimeStatusSchema: z.ZodObject<{
|
|
122
122
|
nodeId: z.ZodString;
|
|
123
123
|
state: z.ZodEnum<{
|
|
124
|
+
ready: "ready";
|
|
124
125
|
failed: "failed";
|
|
125
126
|
stopped: "stopped";
|
|
126
127
|
starting: "starting";
|
|
127
|
-
ready: "ready";
|
|
128
128
|
crashed: "crashed";
|
|
129
129
|
downloading: "downloading";
|
|
130
130
|
}>;
|
|
@@ -409,10 +409,10 @@ export declare const llmRuntimeCapability: {
|
|
|
409
409
|
}, z.core.$strip>, z.ZodObject<{
|
|
410
410
|
nodeId: z.ZodString;
|
|
411
411
|
state: z.ZodEnum<{
|
|
412
|
+
ready: "ready";
|
|
412
413
|
failed: "failed";
|
|
413
414
|
stopped: "stopped";
|
|
414
415
|
starting: "starting";
|
|
415
|
-
ready: "ready";
|
|
416
416
|
crashed: "crashed";
|
|
417
417
|
downloading: "downloading";
|
|
418
418
|
}>;
|
|
@@ -441,10 +441,10 @@ export declare const llmRuntimeCapability: {
|
|
|
441
441
|
readonly status: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
442
442
|
nodeId: z.ZodString;
|
|
443
443
|
state: z.ZodEnum<{
|
|
444
|
+
ready: "ready";
|
|
444
445
|
failed: "failed";
|
|
445
446
|
stopped: "stopped";
|
|
446
447
|
starting: "starting";
|
|
447
|
-
ready: "ready";
|
|
448
448
|
crashed: "crashed";
|
|
449
449
|
downloading: "downloading";
|
|
450
450
|
}>;
|
|
@@ -230,10 +230,10 @@ export declare const LlmRuntimeNodeSchema: z.ZodObject<{
|
|
|
230
230
|
status: z.ZodOptional<z.ZodObject<{
|
|
231
231
|
nodeId: z.ZodString;
|
|
232
232
|
state: z.ZodEnum<{
|
|
233
|
+
ready: "ready";
|
|
233
234
|
failed: "failed";
|
|
234
235
|
stopped: "stopped";
|
|
235
236
|
starting: "starting";
|
|
236
|
-
ready: "ready";
|
|
237
237
|
crashed: "crashed";
|
|
238
238
|
downloading: "downloading";
|
|
239
239
|
}>;
|
|
@@ -752,10 +752,10 @@ export declare const llmCapability: {
|
|
|
752
752
|
status: z.ZodOptional<z.ZodObject<{
|
|
753
753
|
nodeId: z.ZodString;
|
|
754
754
|
state: z.ZodEnum<{
|
|
755
|
+
ready: "ready";
|
|
755
756
|
failed: "failed";
|
|
756
757
|
stopped: "stopped";
|
|
757
758
|
starting: "starting";
|
|
758
|
-
ready: "ready";
|
|
759
759
|
crashed: "crashed";
|
|
760
760
|
downloading: "downloading";
|
|
761
761
|
}>;
|
|
@@ -877,10 +877,10 @@ export declare const llmCapability: {
|
|
|
877
877
|
}, z.core.$strip>, z.ZodObject<{
|
|
878
878
|
nodeId: z.ZodString;
|
|
879
879
|
state: z.ZodEnum<{
|
|
880
|
+
ready: "ready";
|
|
880
881
|
failed: "failed";
|
|
881
882
|
stopped: "stopped";
|
|
882
883
|
starting: "starting";
|
|
883
|
-
ready: "ready";
|
|
884
884
|
crashed: "crashed";
|
|
885
885
|
downloading: "downloading";
|
|
886
886
|
}>;
|
|
@@ -911,10 +911,10 @@ export declare const llmCapability: {
|
|
|
911
911
|
}, z.core.$strip>, z.ZodObject<{
|
|
912
912
|
nodeId: z.ZodString;
|
|
913
913
|
state: z.ZodEnum<{
|
|
914
|
+
ready: "ready";
|
|
914
915
|
failed: "failed";
|
|
915
916
|
stopped: "stopped";
|
|
916
917
|
starting: "starting";
|
|
917
|
-
ready: "ready";
|
|
918
918
|
crashed: "crashed";
|
|
919
919
|
downloading: "downloading";
|
|
920
920
|
}>;
|
|
@@ -21,19 +21,19 @@ export declare const ModelConvertInputSchema: z.ZodObject<{
|
|
|
21
21
|
nhwc: "nhwc";
|
|
22
22
|
}>>;
|
|
23
23
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
24
|
-
none: "none";
|
|
25
24
|
"zero-one": "zero-one";
|
|
26
25
|
imagenet: "imagenet";
|
|
26
|
+
none: "none";
|
|
27
27
|
}>>;
|
|
28
28
|
preprocessMode: z.ZodOptional<z.ZodEnum<{
|
|
29
29
|
letterbox: "letterbox";
|
|
30
30
|
resize: "resize";
|
|
31
31
|
}>>;
|
|
32
32
|
outputFormat: z.ZodEnum<{
|
|
33
|
-
classification: "classification";
|
|
34
33
|
yolo: "yolo";
|
|
35
34
|
ssd: "ssd";
|
|
36
35
|
embedding: "embedding";
|
|
36
|
+
classification: "classification";
|
|
37
37
|
ocr: "ocr";
|
|
38
38
|
segmentation: "segmentation";
|
|
39
39
|
}>;
|
|
@@ -88,19 +88,19 @@ export declare const modelConvertCapability: {
|
|
|
88
88
|
nhwc: "nhwc";
|
|
89
89
|
}>>;
|
|
90
90
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
91
|
-
none: "none";
|
|
92
91
|
"zero-one": "zero-one";
|
|
93
92
|
imagenet: "imagenet";
|
|
93
|
+
none: "none";
|
|
94
94
|
}>>;
|
|
95
95
|
preprocessMode: z.ZodOptional<z.ZodEnum<{
|
|
96
96
|
letterbox: "letterbox";
|
|
97
97
|
resize: "resize";
|
|
98
98
|
}>>;
|
|
99
99
|
outputFormat: z.ZodEnum<{
|
|
100
|
-
classification: "classification";
|
|
101
100
|
yolo: "yolo";
|
|
102
101
|
ssd: "ssd";
|
|
103
102
|
embedding: "embedding";
|
|
103
|
+
classification: "classification";
|
|
104
104
|
ocr: "ocr";
|
|
105
105
|
segmentation: "segmentation";
|
|
106
106
|
}>;
|
|
@@ -210,9 +210,9 @@ export declare const modelConvertCapability: {
|
|
|
210
210
|
nhwc: "nhwc";
|
|
211
211
|
}>>;
|
|
212
212
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
213
|
-
none: "none";
|
|
214
213
|
"zero-one": "zero-one";
|
|
215
214
|
imagenet: "imagenet";
|
|
215
|
+
none: "none";
|
|
216
216
|
}>>;
|
|
217
217
|
outputProbabilities: z.ZodOptional<z.ZodBoolean>;
|
|
218
218
|
preprocessMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -240,8 +240,8 @@ export declare const modelConvertCapability: {
|
|
|
240
240
|
int8: "int8";
|
|
241
241
|
}>>;
|
|
242
242
|
optimization: z.ZodOptional<z.ZodEnum<{
|
|
243
|
-
fast: "fast";
|
|
244
243
|
standard: "standard";
|
|
244
|
+
fast: "fast";
|
|
245
245
|
}>>;
|
|
246
246
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
247
247
|
}, z.core.$strip>>;
|
|
@@ -104,9 +104,9 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
|
|
|
104
104
|
nhwc: "nhwc";
|
|
105
105
|
}>>;
|
|
106
106
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
107
|
-
none: "none";
|
|
108
107
|
"zero-one": "zero-one";
|
|
109
108
|
imagenet: "imagenet";
|
|
109
|
+
none: "none";
|
|
110
110
|
}>>;
|
|
111
111
|
outputProbabilities: z.ZodOptional<z.ZodBoolean>;
|
|
112
112
|
preprocessMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -134,8 +134,8 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
|
|
|
134
134
|
int8: "int8";
|
|
135
135
|
}>>;
|
|
136
136
|
optimization: z.ZodOptional<z.ZodEnum<{
|
|
137
|
-
fast: "fast";
|
|
138
137
|
standard: "standard";
|
|
138
|
+
fast: "fast";
|
|
139
139
|
}>>;
|
|
140
140
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
141
141
|
}, z.core.$strip>>;
|
|
@@ -262,9 +262,9 @@ export declare const modelDistributorCapability: {
|
|
|
262
262
|
nhwc: "nhwc";
|
|
263
263
|
}>>;
|
|
264
264
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
265
|
-
none: "none";
|
|
266
265
|
"zero-one": "zero-one";
|
|
267
266
|
imagenet: "imagenet";
|
|
267
|
+
none: "none";
|
|
268
268
|
}>>;
|
|
269
269
|
outputProbabilities: z.ZodOptional<z.ZodBoolean>;
|
|
270
270
|
preprocessMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -292,8 +292,8 @@ export declare const modelDistributorCapability: {
|
|
|
292
292
|
int8: "int8";
|
|
293
293
|
}>>;
|
|
294
294
|
optimization: z.ZodOptional<z.ZodEnum<{
|
|
295
|
-
fast: "fast";
|
|
296
295
|
standard: "standard";
|
|
296
|
+
fast: "fast";
|
|
297
297
|
}>>;
|
|
298
298
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
299
299
|
}, z.core.$strip>>;
|
|
@@ -17,8 +17,8 @@ export declare const NativeObjectClassEnum: z.ZodEnum<{
|
|
|
17
17
|
person: "person";
|
|
18
18
|
vehicle: "vehicle";
|
|
19
19
|
animal: "animal";
|
|
20
|
-
face: "face";
|
|
21
20
|
package: "package";
|
|
21
|
+
face: "face";
|
|
22
22
|
other: "other";
|
|
23
23
|
}>;
|
|
24
24
|
export type NativeObjectClass = z.infer<typeof NativeObjectClassEnum>;
|
|
@@ -27,8 +27,8 @@ export declare const NativeDetectionSchema: z.ZodObject<{
|
|
|
27
27
|
person: "person";
|
|
28
28
|
vehicle: "vehicle";
|
|
29
29
|
animal: "animal";
|
|
30
|
-
face: "face";
|
|
31
30
|
package: "package";
|
|
31
|
+
face: "face";
|
|
32
32
|
other: "other";
|
|
33
33
|
}>;
|
|
34
34
|
timestamp: z.ZodNumber;
|
|
@@ -40,16 +40,16 @@ export declare const NativeObjectDetectionStatusSchema: z.ZodObject<{
|
|
|
40
40
|
person: "person";
|
|
41
41
|
vehicle: "vehicle";
|
|
42
42
|
animal: "animal";
|
|
43
|
-
face: "face";
|
|
44
43
|
package: "package";
|
|
44
|
+
face: "face";
|
|
45
45
|
other: "other";
|
|
46
46
|
}> & z.core.$partial, z.ZodNullable<z.ZodObject<{
|
|
47
47
|
class: z.ZodEnum<{
|
|
48
48
|
person: "person";
|
|
49
49
|
vehicle: "vehicle";
|
|
50
50
|
animal: "animal";
|
|
51
|
-
face: "face";
|
|
52
51
|
package: "package";
|
|
52
|
+
face: "face";
|
|
53
53
|
other: "other";
|
|
54
54
|
}>;
|
|
55
55
|
timestamp: z.ZodNumber;
|
|
@@ -59,8 +59,8 @@ export declare const NativeObjectDetectionStatusSchema: z.ZodObject<{
|
|
|
59
59
|
person: "person";
|
|
60
60
|
vehicle: "vehicle";
|
|
61
61
|
animal: "animal";
|
|
62
|
-
face: "face";
|
|
63
62
|
package: "package";
|
|
63
|
+
face: "face";
|
|
64
64
|
other: "other";
|
|
65
65
|
}>>>;
|
|
66
66
|
enabled: z.ZodBoolean;
|
|
@@ -71,16 +71,16 @@ export declare const NativeObjectDetectionRuntimeStateSchema: z.ZodObject<{
|
|
|
71
71
|
person: "person";
|
|
72
72
|
vehicle: "vehicle";
|
|
73
73
|
animal: "animal";
|
|
74
|
-
face: "face";
|
|
75
74
|
package: "package";
|
|
75
|
+
face: "face";
|
|
76
76
|
other: "other";
|
|
77
77
|
}> & z.core.$partial, z.ZodNullable<z.ZodObject<{
|
|
78
78
|
class: z.ZodEnum<{
|
|
79
79
|
person: "person";
|
|
80
80
|
vehicle: "vehicle";
|
|
81
81
|
animal: "animal";
|
|
82
|
-
face: "face";
|
|
83
82
|
package: "package";
|
|
83
|
+
face: "face";
|
|
84
84
|
other: "other";
|
|
85
85
|
}>;
|
|
86
86
|
timestamp: z.ZodNumber;
|
|
@@ -90,8 +90,8 @@ export declare const NativeObjectDetectionRuntimeStateSchema: z.ZodObject<{
|
|
|
90
90
|
person: "person";
|
|
91
91
|
vehicle: "vehicle";
|
|
92
92
|
animal: "animal";
|
|
93
|
-
face: "face";
|
|
94
93
|
package: "package";
|
|
94
|
+
face: "face";
|
|
95
95
|
other: "other";
|
|
96
96
|
}>>>;
|
|
97
97
|
enabled: z.ZodBoolean;
|
|
@@ -119,8 +119,8 @@ export declare const nativeObjectDetectionCapability: {
|
|
|
119
119
|
person: "person";
|
|
120
120
|
vehicle: "vehicle";
|
|
121
121
|
animal: "animal";
|
|
122
|
-
face: "face";
|
|
123
122
|
package: "package";
|
|
123
|
+
face: "face";
|
|
124
124
|
other: "other";
|
|
125
125
|
}>;
|
|
126
126
|
timestamp: z.ZodNumber;
|
|
@@ -135,16 +135,16 @@ export declare const nativeObjectDetectionCapability: {
|
|
|
135
135
|
person: "person";
|
|
136
136
|
vehicle: "vehicle";
|
|
137
137
|
animal: "animal";
|
|
138
|
-
face: "face";
|
|
139
138
|
package: "package";
|
|
139
|
+
face: "face";
|
|
140
140
|
other: "other";
|
|
141
141
|
}> & z.core.$partial, z.ZodNullable<z.ZodObject<{
|
|
142
142
|
class: z.ZodEnum<{
|
|
143
143
|
person: "person";
|
|
144
144
|
vehicle: "vehicle";
|
|
145
145
|
animal: "animal";
|
|
146
|
-
face: "face";
|
|
147
146
|
package: "package";
|
|
147
|
+
face: "face";
|
|
148
148
|
other: "other";
|
|
149
149
|
}>;
|
|
150
150
|
timestamp: z.ZodNumber;
|
|
@@ -154,8 +154,8 @@ export declare const nativeObjectDetectionCapability: {
|
|
|
154
154
|
person: "person";
|
|
155
155
|
vehicle: "vehicle";
|
|
156
156
|
animal: "animal";
|
|
157
|
-
face: "face";
|
|
158
157
|
package: "package";
|
|
158
|
+
face: "face";
|
|
159
159
|
other: "other";
|
|
160
160
|
}>>>;
|
|
161
161
|
enabled: z.ZodBoolean;
|
|
@@ -167,16 +167,16 @@ export declare const nativeObjectDetectionCapability: {
|
|
|
167
167
|
person: "person";
|
|
168
168
|
vehicle: "vehicle";
|
|
169
169
|
animal: "animal";
|
|
170
|
-
face: "face";
|
|
171
170
|
package: "package";
|
|
171
|
+
face: "face";
|
|
172
172
|
other: "other";
|
|
173
173
|
}> & z.core.$partial, z.ZodNullable<z.ZodObject<{
|
|
174
174
|
class: z.ZodEnum<{
|
|
175
175
|
person: "person";
|
|
176
176
|
vehicle: "vehicle";
|
|
177
177
|
animal: "animal";
|
|
178
|
-
face: "face";
|
|
179
178
|
package: "package";
|
|
179
|
+
face: "face";
|
|
180
180
|
other: "other";
|
|
181
181
|
}>;
|
|
182
182
|
timestamp: z.ZodNumber;
|
|
@@ -186,8 +186,8 @@ export declare const nativeObjectDetectionCapability: {
|
|
|
186
186
|
person: "person";
|
|
187
187
|
vehicle: "vehicle";
|
|
188
188
|
animal: "animal";
|
|
189
|
-
face: "face";
|
|
190
189
|
package: "package";
|
|
190
|
+
face: "face";
|
|
191
191
|
other: "other";
|
|
192
192
|
}>>>;
|
|
193
193
|
enabled: z.ZodBoolean;
|