@camstack/types 1.2.396 → 1.2.398
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 +17 -2
- package/dist/addon.mjs +15 -3
- package/dist/capabilities/dishwasher.cap.d.ts +9 -0
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/notification-rules.cap.d.ts +138 -0
- package/dist/capabilities/osd-manager.cap.d.ts +36 -0
- package/dist/capabilities/records.cap.d.ts +67 -3
- package/dist/capabilities/storage-admin.cap.d.ts +0 -2
- package/dist/capabilities/user-management.cap.d.ts +2 -28
- package/dist/client.d.ts +1 -1
- package/dist/client.js +324 -13
- package/dist/client.mjs +320 -14
- package/dist/enums/event-category.d.ts +17 -0
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-eSqkye-K.js → event-category-7AwNbPjm.js} +17 -0
- package/dist/{event-category-DOl51-Ij.mjs → event-category-BfJwUd2S.mjs} +17 -0
- package/dist/generated/addon-api.d.ts +7 -14
- package/dist/generated/addon-cap-facts.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +426 -62
- package/dist/index.mjs +415 -61
- package/dist/interfaces/auth.d.ts +1 -1
- package/dist/interfaces/event-bus.d.ts +43 -5
- package/dist/notification/alert-episode.d.ts +7 -0
- package/dist/notification/system-event-classes.d.ts +73 -0
- package/dist/records/errors.d.ts +9 -1
- package/dist/records/index.d.ts +1 -0
- package/dist/records/record-kind.d.ts +62 -2
- package/dist/records/records-access.d.ts +36 -1
- package/dist/records/transact-rules.d.ts +7 -0
- package/dist/schemas/auth-records.d.ts +0 -12
- package/dist/{sleep-Re8daN0Y.js → sleep-CD18m9HF.js} +478 -311
- package/dist/{sleep-_sV1BE2f.mjs → sleep-DJFUfKvA.mjs} +461 -312
- package/package.json +1 -1
|
@@ -231,6 +231,8 @@ export declare const OsdSlotBindingSchema: z.ZodObject<{
|
|
|
231
231
|
"camera-offline": "camera-offline";
|
|
232
232
|
"camera-online": "camera-online";
|
|
233
233
|
"detection-blind": "detection-blind";
|
|
234
|
+
"device-attention-required": "device-attention-required";
|
|
235
|
+
"device-attention-resolved": "device-attention-resolved";
|
|
234
236
|
"device-battery-low": "device-battery-low";
|
|
235
237
|
"device-battery-normal": "device-battery-normal";
|
|
236
238
|
"device-consumable-low": "device-consumable-low";
|
|
@@ -243,6 +245,8 @@ export declare const OsdSlotBindingSchema: z.ZodObject<{
|
|
|
243
245
|
"device-tank-low": "device-tank-low";
|
|
244
246
|
"device-tank-normal": "device-tank-normal";
|
|
245
247
|
"export-completed": "export-completed";
|
|
248
|
+
"motion-calm": "motion-calm";
|
|
249
|
+
"motion-noisy": "motion-noisy";
|
|
246
250
|
"node-inference-unavailable": "node-inference-unavailable";
|
|
247
251
|
"node-offline": "node-offline";
|
|
248
252
|
"node-online": "node-online";
|
|
@@ -251,6 +255,8 @@ export declare const OsdSlotBindingSchema: z.ZodObject<{
|
|
|
251
255
|
"recording-degraded": "recording-degraded";
|
|
252
256
|
"recording-healthy": "recording-healthy";
|
|
253
257
|
"recording-stalled": "recording-stalled";
|
|
258
|
+
"rule-broken": "rule-broken";
|
|
259
|
+
"rule-repaired": "rule-repaired";
|
|
254
260
|
"server-update-available": "server-update-available";
|
|
255
261
|
"server-updated": "server-updated";
|
|
256
262
|
"storage-location-critical": "storage-location-critical";
|
|
@@ -430,6 +436,8 @@ export declare const OsdSlotViewSchema: z.ZodObject<{
|
|
|
430
436
|
"camera-offline": "camera-offline";
|
|
431
437
|
"camera-online": "camera-online";
|
|
432
438
|
"detection-blind": "detection-blind";
|
|
439
|
+
"device-attention-required": "device-attention-required";
|
|
440
|
+
"device-attention-resolved": "device-attention-resolved";
|
|
433
441
|
"device-battery-low": "device-battery-low";
|
|
434
442
|
"device-battery-normal": "device-battery-normal";
|
|
435
443
|
"device-consumable-low": "device-consumable-low";
|
|
@@ -442,6 +450,8 @@ export declare const OsdSlotViewSchema: z.ZodObject<{
|
|
|
442
450
|
"device-tank-low": "device-tank-low";
|
|
443
451
|
"device-tank-normal": "device-tank-normal";
|
|
444
452
|
"export-completed": "export-completed";
|
|
453
|
+
"motion-calm": "motion-calm";
|
|
454
|
+
"motion-noisy": "motion-noisy";
|
|
445
455
|
"node-inference-unavailable": "node-inference-unavailable";
|
|
446
456
|
"node-offline": "node-offline";
|
|
447
457
|
"node-online": "node-online";
|
|
@@ -450,6 +460,8 @@ export declare const OsdSlotViewSchema: z.ZodObject<{
|
|
|
450
460
|
"recording-degraded": "recording-degraded";
|
|
451
461
|
"recording-healthy": "recording-healthy";
|
|
452
462
|
"recording-stalled": "recording-stalled";
|
|
463
|
+
"rule-broken": "rule-broken";
|
|
464
|
+
"rule-repaired": "rule-repaired";
|
|
453
465
|
"server-update-available": "server-update-available";
|
|
454
466
|
"server-updated": "server-updated";
|
|
455
467
|
"storage-location-critical": "storage-location-critical";
|
|
@@ -701,6 +713,8 @@ export declare const osdManagerCapability: {
|
|
|
701
713
|
"camera-offline": "camera-offline";
|
|
702
714
|
"camera-online": "camera-online";
|
|
703
715
|
"detection-blind": "detection-blind";
|
|
716
|
+
"device-attention-required": "device-attention-required";
|
|
717
|
+
"device-attention-resolved": "device-attention-resolved";
|
|
704
718
|
"device-battery-low": "device-battery-low";
|
|
705
719
|
"device-battery-normal": "device-battery-normal";
|
|
706
720
|
"device-consumable-low": "device-consumable-low";
|
|
@@ -713,6 +727,8 @@ export declare const osdManagerCapability: {
|
|
|
713
727
|
"device-tank-low": "device-tank-low";
|
|
714
728
|
"device-tank-normal": "device-tank-normal";
|
|
715
729
|
"export-completed": "export-completed";
|
|
730
|
+
"motion-calm": "motion-calm";
|
|
731
|
+
"motion-noisy": "motion-noisy";
|
|
716
732
|
"node-inference-unavailable": "node-inference-unavailable";
|
|
717
733
|
"node-offline": "node-offline";
|
|
718
734
|
"node-online": "node-online";
|
|
@@ -721,6 +737,8 @@ export declare const osdManagerCapability: {
|
|
|
721
737
|
"recording-degraded": "recording-degraded";
|
|
722
738
|
"recording-healthy": "recording-healthy";
|
|
723
739
|
"recording-stalled": "recording-stalled";
|
|
740
|
+
"rule-broken": "rule-broken";
|
|
741
|
+
"rule-repaired": "rule-repaired";
|
|
724
742
|
"server-update-available": "server-update-available";
|
|
725
743
|
"server-updated": "server-updated";
|
|
726
744
|
"storage-location-critical": "storage-location-critical";
|
|
@@ -991,6 +1009,8 @@ export declare const osdManagerCapability: {
|
|
|
991
1009
|
"camera-offline": "camera-offline";
|
|
992
1010
|
"camera-online": "camera-online";
|
|
993
1011
|
"detection-blind": "detection-blind";
|
|
1012
|
+
"device-attention-required": "device-attention-required";
|
|
1013
|
+
"device-attention-resolved": "device-attention-resolved";
|
|
994
1014
|
"device-battery-low": "device-battery-low";
|
|
995
1015
|
"device-battery-normal": "device-battery-normal";
|
|
996
1016
|
"device-consumable-low": "device-consumable-low";
|
|
@@ -1003,6 +1023,8 @@ export declare const osdManagerCapability: {
|
|
|
1003
1023
|
"device-tank-low": "device-tank-low";
|
|
1004
1024
|
"device-tank-normal": "device-tank-normal";
|
|
1005
1025
|
"export-completed": "export-completed";
|
|
1026
|
+
"motion-calm": "motion-calm";
|
|
1027
|
+
"motion-noisy": "motion-noisy";
|
|
1006
1028
|
"node-inference-unavailable": "node-inference-unavailable";
|
|
1007
1029
|
"node-offline": "node-offline";
|
|
1008
1030
|
"node-online": "node-online";
|
|
@@ -1011,6 +1033,8 @@ export declare const osdManagerCapability: {
|
|
|
1011
1033
|
"recording-degraded": "recording-degraded";
|
|
1012
1034
|
"recording-healthy": "recording-healthy";
|
|
1013
1035
|
"recording-stalled": "recording-stalled";
|
|
1036
|
+
"rule-broken": "rule-broken";
|
|
1037
|
+
"rule-repaired": "rule-repaired";
|
|
1014
1038
|
"server-update-available": "server-update-available";
|
|
1015
1039
|
"server-updated": "server-updated";
|
|
1016
1040
|
"storage-location-critical": "storage-location-critical";
|
|
@@ -1189,6 +1213,8 @@ export declare const osdManagerCapability: {
|
|
|
1189
1213
|
"camera-offline": "camera-offline";
|
|
1190
1214
|
"camera-online": "camera-online";
|
|
1191
1215
|
"detection-blind": "detection-blind";
|
|
1216
|
+
"device-attention-required": "device-attention-required";
|
|
1217
|
+
"device-attention-resolved": "device-attention-resolved";
|
|
1192
1218
|
"device-battery-low": "device-battery-low";
|
|
1193
1219
|
"device-battery-normal": "device-battery-normal";
|
|
1194
1220
|
"device-consumable-low": "device-consumable-low";
|
|
@@ -1201,6 +1227,8 @@ export declare const osdManagerCapability: {
|
|
|
1201
1227
|
"device-tank-low": "device-tank-low";
|
|
1202
1228
|
"device-tank-normal": "device-tank-normal";
|
|
1203
1229
|
"export-completed": "export-completed";
|
|
1230
|
+
"motion-calm": "motion-calm";
|
|
1231
|
+
"motion-noisy": "motion-noisy";
|
|
1204
1232
|
"node-inference-unavailable": "node-inference-unavailable";
|
|
1205
1233
|
"node-offline": "node-offline";
|
|
1206
1234
|
"node-online": "node-online";
|
|
@@ -1209,6 +1237,8 @@ export declare const osdManagerCapability: {
|
|
|
1209
1237
|
"recording-degraded": "recording-degraded";
|
|
1210
1238
|
"recording-healthy": "recording-healthy";
|
|
1211
1239
|
"recording-stalled": "recording-stalled";
|
|
1240
|
+
"rule-broken": "rule-broken";
|
|
1241
|
+
"rule-repaired": "rule-repaired";
|
|
1212
1242
|
"server-update-available": "server-update-available";
|
|
1213
1243
|
"server-updated": "server-updated";
|
|
1214
1244
|
"storage-location-critical": "storage-location-critical";
|
|
@@ -1431,6 +1461,8 @@ export declare const osdManagerCapability: {
|
|
|
1431
1461
|
"camera-offline": "camera-offline";
|
|
1432
1462
|
"camera-online": "camera-online";
|
|
1433
1463
|
"detection-blind": "detection-blind";
|
|
1464
|
+
"device-attention-required": "device-attention-required";
|
|
1465
|
+
"device-attention-resolved": "device-attention-resolved";
|
|
1434
1466
|
"device-battery-low": "device-battery-low";
|
|
1435
1467
|
"device-battery-normal": "device-battery-normal";
|
|
1436
1468
|
"device-consumable-low": "device-consumable-low";
|
|
@@ -1443,6 +1475,8 @@ export declare const osdManagerCapability: {
|
|
|
1443
1475
|
"device-tank-low": "device-tank-low";
|
|
1444
1476
|
"device-tank-normal": "device-tank-normal";
|
|
1445
1477
|
"export-completed": "export-completed";
|
|
1478
|
+
"motion-calm": "motion-calm";
|
|
1479
|
+
"motion-noisy": "motion-noisy";
|
|
1446
1480
|
"node-inference-unavailable": "node-inference-unavailable";
|
|
1447
1481
|
"node-offline": "node-offline";
|
|
1448
1482
|
"node-online": "node-online";
|
|
@@ -1451,6 +1485,8 @@ export declare const osdManagerCapability: {
|
|
|
1451
1485
|
"recording-degraded": "recording-degraded";
|
|
1452
1486
|
"recording-healthy": "recording-healthy";
|
|
1453
1487
|
"recording-stalled": "recording-stalled";
|
|
1488
|
+
"rule-broken": "rule-broken";
|
|
1489
|
+
"rule-repaired": "rule-repaired";
|
|
1454
1490
|
"server-update-available": "server-update-available";
|
|
1455
1491
|
"server-updated": "server-updated";
|
|
1456
1492
|
"storage-location-critical": "storage-location-critical";
|
|
@@ -109,9 +109,37 @@ export declare const DeclareKindResultSchema: z.ZodObject<{
|
|
|
109
109
|
updated: "updated";
|
|
110
110
|
}>;
|
|
111
111
|
createdIndexes: z.ZodArray<z.ZodString>;
|
|
112
|
-
adoptionPending: z.ZodNull;
|
|
113
112
|
}, z.core.$strip>;
|
|
114
113
|
export type DeclareKindResult = z.infer<typeof DeclareKindResultSchema>;
|
|
114
|
+
/**
|
|
115
|
+
* One op of a `transact`: the single-row writes, each on a kind of the caller.
|
|
116
|
+
* All ops of one call share ONE database file and ONE `transactFamily`.
|
|
117
|
+
*/
|
|
118
|
+
export declare const RecordTransactOpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
119
|
+
op: z.ZodLiteral<"put">;
|
|
120
|
+
kind: z.ZodString;
|
|
121
|
+
record: z.ZodObject<{
|
|
122
|
+
id: z.ZodString;
|
|
123
|
+
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
124
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
125
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
126
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
127
|
+
}, z.core.$strip>;
|
|
128
|
+
ifRev: z.ZodOptional<z.ZodNumber>;
|
|
129
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
130
|
+
op: z.ZodLiteral<"patch">;
|
|
131
|
+
kind: z.ZodString;
|
|
132
|
+
id: z.ZodString;
|
|
133
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
134
|
+
at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
135
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
136
|
+
ifRev: z.ZodOptional<z.ZodNumber>;
|
|
137
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
138
|
+
op: z.ZodLiteral<"delete">;
|
|
139
|
+
kind: z.ZodString;
|
|
140
|
+
id: z.ZodString;
|
|
141
|
+
}, z.core.$strip>], "op">;
|
|
142
|
+
export type RecordTransactOp = z.infer<typeof RecordTransactOpSchema>;
|
|
115
143
|
export declare const RecordSecretRefsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
116
144
|
export declare const recordsCapability: {
|
|
117
145
|
readonly name: 'records';
|
|
@@ -170,7 +198,6 @@ export declare const recordsCapability: {
|
|
|
170
198
|
maxDataBytes: z.ZodDefault<z.ZodNumber>;
|
|
171
199
|
secretPaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
172
200
|
secretArrayKeys: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
173
|
-
adoptsFrom: z.ZodOptional<z.ZodString>;
|
|
174
201
|
transactFamily: z.ZodOptional<z.ZodString>;
|
|
175
202
|
entry: z.ZodOptional<z.ZodObject<{
|
|
176
203
|
title: z.ZodString;
|
|
@@ -187,7 +214,6 @@ export declare const recordsCapability: {
|
|
|
187
214
|
updated: "updated";
|
|
188
215
|
}>;
|
|
189
216
|
createdIndexes: z.ZodArray<z.ZodString>;
|
|
190
|
-
adoptionPending: z.ZodNull;
|
|
191
217
|
}, z.core.$strip>>;
|
|
192
218
|
}, z.core.$strip>, "mutation">;
|
|
193
219
|
readonly get: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -374,6 +400,44 @@ export declare const recordsCapability: {
|
|
|
374
400
|
deleted: z.ZodNumber;
|
|
375
401
|
secretRefs: z.ZodArray<z.ZodString>;
|
|
376
402
|
}, z.core.$strip>, "mutation">;
|
|
403
|
+
/**
|
|
404
|
+
* Several single-row writes (put / patch / delete) in ONE SQLite transaction:
|
|
405
|
+
* all land or none does. Every op's kind must sit in one file and share one
|
|
406
|
+
* `transactFamily` (`records/transact-refused` otherwise). Results are in op order.
|
|
407
|
+
*/
|
|
408
|
+
readonly transact: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
409
|
+
ops: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
410
|
+
op: z.ZodLiteral<"put">;
|
|
411
|
+
kind: z.ZodString;
|
|
412
|
+
record: z.ZodObject<{
|
|
413
|
+
id: z.ZodString;
|
|
414
|
+
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
415
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
416
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
417
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
418
|
+
}, z.core.$strip>;
|
|
419
|
+
ifRev: z.ZodOptional<z.ZodNumber>;
|
|
420
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
421
|
+
op: z.ZodLiteral<"patch">;
|
|
422
|
+
kind: z.ZodString;
|
|
423
|
+
id: z.ZodString;
|
|
424
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
425
|
+
at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
426
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
427
|
+
ifRev: z.ZodOptional<z.ZodNumber>;
|
|
428
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
429
|
+
op: z.ZodLiteral<"delete">;
|
|
430
|
+
kind: z.ZodString;
|
|
431
|
+
id: z.ZodString;
|
|
432
|
+
}, z.core.$strip>], "op">>;
|
|
433
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
434
|
+
results: z.ZodArray<z.ZodObject<{
|
|
435
|
+
rev: z.ZodNullable<z.ZodNumber>;
|
|
436
|
+
deleted: z.ZodBoolean;
|
|
437
|
+
}, z.core.$strip>>;
|
|
438
|
+
releasedRefs: z.ZodArray<z.ZodString>;
|
|
439
|
+
secretRefs: z.ZodArray<z.ZodString>;
|
|
440
|
+
}, z.core.$strip>, "mutation">;
|
|
377
441
|
/** The D865 hook body: every kind of this addon declared `deviceRemoval: 'delete'`. */
|
|
378
442
|
readonly deleteDevice: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
379
443
|
deviceId: z.ZodNumber;
|
|
@@ -91,7 +91,6 @@ export declare const StorageKindSchema: z.ZodObject<{
|
|
|
91
91
|
maxDataBytes: z.ZodDefault<z.ZodNumber>;
|
|
92
92
|
secretPaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
93
93
|
secretArrayKeys: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
94
|
-
adoptsFrom: z.ZodOptional<z.ZodString>;
|
|
95
94
|
transactFamily: z.ZodOptional<z.ZodString>;
|
|
96
95
|
entry: z.ZodOptional<z.ZodObject<{
|
|
97
96
|
title: z.ZodString;
|
|
@@ -220,7 +219,6 @@ export declare const storageAdminCapability: {
|
|
|
220
219
|
maxDataBytes: z.ZodDefault<z.ZodNumber>;
|
|
221
220
|
secretPaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
222
221
|
secretArrayKeys: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
223
|
-
adoptsFrom: z.ZodOptional<z.ZodString>;
|
|
224
222
|
transactFamily: z.ZodOptional<z.ZodString>;
|
|
225
223
|
entry: z.ZodOptional<z.ZodObject<{
|
|
226
224
|
title: z.ZodString;
|
|
@@ -167,16 +167,6 @@ declare const UpdateUserInputSchema: z.ZodObject<{
|
|
|
167
167
|
includeLinked: z.ZodOptional<z.ZodBoolean>;
|
|
168
168
|
}, z.core.$strip>], "type">>>>;
|
|
169
169
|
}, z.core.$strip>;
|
|
170
|
-
declare const ApiKeySummarySchema: z.ZodObject<{
|
|
171
|
-
id: z.ZodString;
|
|
172
|
-
label: z.ZodString;
|
|
173
|
-
isAdmin: z.ZodDefault<z.ZodBoolean>;
|
|
174
|
-
allowedProviders: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"*">]>>;
|
|
175
|
-
allowedDevices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"*">]>>>;
|
|
176
|
-
tokenPrefix: z.ZodString;
|
|
177
|
-
createdAt: z.ZodNumber;
|
|
178
|
-
lastUsedAt: z.ZodOptional<z.ZodNumber>;
|
|
179
|
-
}, z.core.$strip>;
|
|
180
170
|
declare const OauthSessionSummarySchema: z.ZodObject<{
|
|
181
171
|
id: z.ZodString;
|
|
182
172
|
userId: z.ZodString;
|
|
@@ -235,8 +225,7 @@ declare const OauthSessionSummarySchema: z.ZodObject<{
|
|
|
235
225
|
revokedAt: z.ZodNullable<z.ZodNumber>;
|
|
236
226
|
}, z.core.$strip>;
|
|
237
227
|
/**
|
|
238
|
-
* user-management — singleton capability for user accounts
|
|
239
|
-
* legacy API-key rows.
|
|
228
|
+
* user-management — singleton capability for user accounts.
|
|
240
229
|
*
|
|
241
230
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
242
231
|
* — the subset check on `setUserScopes` is moot
|
|
@@ -613,21 +602,6 @@ export declare const userManagementCapability: {
|
|
|
613
602
|
updatedAt: z.ZodNumber;
|
|
614
603
|
passwordHash: z.ZodString;
|
|
615
604
|
}, z.core.$strip>>, "mutation">;
|
|
616
|
-
readonly listApiKeys: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodArray<z.ZodObject<{
|
|
617
|
-
id: z.ZodString;
|
|
618
|
-
label: z.ZodString;
|
|
619
|
-
isAdmin: z.ZodDefault<z.ZodBoolean>;
|
|
620
|
-
allowedProviders: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"*">]>>;
|
|
621
|
-
allowedDevices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"*">]>>>;
|
|
622
|
-
tokenPrefix: z.ZodString;
|
|
623
|
-
createdAt: z.ZodNumber;
|
|
624
|
-
lastUsedAt: z.ZodOptional<z.ZodNumber>;
|
|
625
|
-
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
626
|
-
readonly revokeApiKey: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
627
|
-
id: z.ZodString;
|
|
628
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
629
|
-
success: z.ZodLiteral<true>;
|
|
630
|
-
}, z.core.$strip>, "mutation">;
|
|
631
605
|
readonly setupTotp: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
632
606
|
userId: z.ZodString;
|
|
633
607
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -896,4 +870,4 @@ export declare const userManagementCapability: {
|
|
|
896
870
|
};
|
|
897
871
|
};
|
|
898
872
|
export type IUserManagementProvider = InferProvider<typeof userManagementCapability>;
|
|
899
|
-
export {
|
|
873
|
+
export { CreateUserInputSchema, ExternalIdentityKeySchema, ExternalIdentitySchema, OauthSessionSummarySchema, UpdateUserInputSchema, UserSummarySchema, };
|
package/dist/client.d.ts
CHANGED
|
@@ -14,4 +14,4 @@
|
|
|
14
14
|
* value this entry does not export — a missing name here is `undefined` at
|
|
15
15
|
* runtime, not a build error.
|
|
16
16
|
*/
|
|
17
|
-
export { APPLE_SA_TO_MACRO, AUDIO_MACRO_LABELS, AlarmArmModeSchema, CLIP_BROKER_PACED_RATES, COCO_TO_MACRO, CamProfileSchema, ICON_CATEGORIES, ICON_ENTRIES, ICON_KEYS, ICON_VIEWER_MODULES, IconKeySchema, LOCATION_ICON_FALLBACK, DEFINITIVE_DEVICE_REFUSALS, DEVICE_CERT_RENEW_WINDOW_DAYS, DEVICE_DEFINITIVE_REFUSALS_BEFORE_DELETE, DEVICE_REFRESH_REFUSAL_PREFIX, DEVICE_CERT_SIGNATURE, DEVICE_SIGNATURE_MESSAGE_VERSION, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DeviceType, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_TAXONOMY, MACRO_LABELS, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CAMERA_SCOPE_CAP_NAME, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_SENSOR_TRANSITION_UNSUPPORTED_REASON, NC_SYSTEM_EVENT_FAMILY_FILTERS, NC_SYSTEM_EVENT_KIND_GROUP_SPECS, NC_SYSTEM_EVENT_SUMMARY_FAMILIES, NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, NC_TEMPLATE_VARS, NcAlarmConfigSchema, NcAlarmSensorsSchema, NcAlarmSettingsPatchSchema, NcHistoryEntrySchema, NcRuleLastRunsSchema, NodeDirectorySchema, RECORDING_EXPORT_MAX_READ_BYTES, RETRAIN_REVIEW_ADJUSTED_IOU, RETRAIN_REVIEW_MATCH_IOU, RETRAIN_REVIEW_STATUSES, RETRAIN_REVISION_CONFLICT, SystemMirror, TIMELAPSE_DENSE_FLOOR_SEC, TimelapseRuleSchema, YAMNET_TO_MACRO, alarmDeviceBlocksArming, alarmDeviceSecureOnArm, alarmPatchLanded, canonicalIconKey, buildDeviceEnrollmentLink, buildDeviceSignatureMessage, deviceRefusalFromMessage, isDefinitiveDeviceRefusal, classifyRetrainReview, conditionVisibleForKind, createSystemProxy, droppedConditionsForKind, iconCategoryLabel, iconEntry, iconsInCategory, isIconKey, isHeldBackTemplateVar, isSystemRuleKind, kindsForDiscriminator, locationIconKey, knownValues, nodePickerItems, parseDeviceEnrollmentLink, packagePickerItems, pickerForCondition, pickerForRuleClasses, parseRetrainRevisionConflict, resolveIconKey, resolveModeDelays, retrainBoxIou, retrainRevisionConflictMessage, ruleDeviceCompatCapNames, ruleEditorSectionsForKind, ruleGroupingApplies, ruleKindOf, ruleKindSpec, ruleSeedForSection, searchIcons, sensorTransitionNeverFires, sensorTransitionOffered, stateLabel, summarizeReview, systemEventDeliveryProblems, systemEventFilterAppliesToAnyKind, systemEventKindsOfFamily, systemFamilyOfKind, templateCarriesSummary, templateVarDeliveryApplies, templateVarKindApplies, templateVarSystemEventApplies, buildSubjectPath, isDrawableSubjectPath, projectSubjectPath, subjectPathSampleFromBox, subjectPathSvgPoints, } from './index.js';
|
|
17
|
+
export { APPLE_SA_TO_MACRO, AUDIO_MACRO_LABELS, AlarmArmModeSchema, CLIP_BROKER_PACED_RATES, COCO_TO_MACRO, CamProfileSchema, ICON_CATEGORIES, ICON_ENTRIES, ICON_KEYS, ICON_VIEWER_MODULES, IconKeySchema, LOCATION_ICON_FALLBACK, DEFINITIVE_DEVICE_REFUSALS, DEVICE_CERT_RENEW_WINDOW_DAYS, DEVICE_DEFINITIVE_REFUSALS_BEFORE_DELETE, DEVICE_REFRESH_REFUSAL_PREFIX, DEVICE_CERT_SIGNATURE, DEVICE_SIGNATURE_MESSAGE_VERSION, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DeviceType, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_TAXONOMY, MACRO_LABELS, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CAMERA_SCOPE_CAP_NAME, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_SENSOR_TRANSITION_UNSUPPORTED_REASON, NC_SYSTEM_EVENT_FAMILY_FILTERS, NC_SYSTEM_EVENT_CLASS_SPECS, NC_SYSTEM_EVENT_KIND_GROUP_SPECS, NC_SYSTEM_EVENT_SUMMARY_FAMILIES, NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, NC_TEMPLATE_VARS, NcAlarmConfigSchema, NcAlarmSensorsSchema, NcAlarmSettingsPatchSchema, NcHistoryEntrySchema, NcRuleLastRunsSchema, NodeDirectorySchema, RECORDING_EXPORT_MAX_READ_BYTES, RETRAIN_REVIEW_ADJUSTED_IOU, RETRAIN_REVIEW_MATCH_IOU, RETRAIN_REVIEW_STATUSES, RETRAIN_REVISION_CONFLICT, SystemMirror, TIMELAPSE_DENSE_FLOOR_SEC, TimelapseRuleSchema, YAMNET_TO_MACRO, alarmDeviceBlocksArming, alarmDeviceSecureOnArm, alarmPatchLanded, canonicalIconKey, buildDeviceEnrollmentLink, buildDeviceSignatureMessage, deviceRefusalFromMessage, isDefinitiveDeviceRefusal, classifyRetrainReview, conditionVisibleForKind, createSystemProxy, droppedConditionsForKind, iconCategoryLabel, iconEntry, iconsInCategory, isIconKey, isHeldBackTemplateVar, isSystemRuleKind, kindsForDiscriminator, locationIconKey, knownValues, nodePickerItems, parseDeviceEnrollmentLink, packagePickerItems, pickerForCondition, pickerForRuleClasses, parseRetrainRevisionConflict, resolveIconKey, resolveModeDelays, retrainBoxIou, retrainRevisionConflictMessage, ruleDeviceCompatCapNames, ruleEditorSectionsForKind, ruleGroupingApplies, ruleKindOf, ruleKindSpec, ruleSeedForSection, searchIcons, sensorTransitionNeverFires, sensorTransitionOffered, stateLabel, summarizeReview, systemEventClassesFor, systemEventClassKinds, systemEventDeliveryProblems, systemEventFilterAppliesToAnyKind, systemEventKindsOfFamily, systemFamilyOfKind, templateCarriesSummary, templateVarDeliveryApplies, templateVarKindApplies, templateVarSystemEventApplies, buildSubjectPath, isDrawableSubjectPath, projectSubjectPath, subjectPathSampleFromBox, subjectPathSvgPoints, expandSystemEventClasses, withSystemEventClasses, } from './index.js';
|