@camstack/addon-provider-tuya 0.2.68 → 0.2.69
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 +45 -1
- package/dist/addon.mjs +45 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -20226,6 +20226,33 @@ var RecentTracksQueryInput = object({
|
|
|
20226
20226
|
*/
|
|
20227
20227
|
classes: array(string()).optional()
|
|
20228
20228
|
});
|
|
20229
|
+
/**
|
|
20230
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
20231
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
20232
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
20233
|
+
* member visible has been materialised.
|
|
20234
|
+
*/
|
|
20235
|
+
var SummarySchema = object({
|
|
20236
|
+
id: string(),
|
|
20237
|
+
deviceId: number(),
|
|
20238
|
+
openedAt: number(),
|
|
20239
|
+
lastActiveAt: number(),
|
|
20240
|
+
sealedAt: number().nullable(),
|
|
20241
|
+
memberCount: number().int().nonnegative(),
|
|
20242
|
+
groupShotKey: string().nullable()
|
|
20243
|
+
});
|
|
20244
|
+
var SummariesQueryInput = object({
|
|
20245
|
+
deviceIds: array(number()).min(1),
|
|
20246
|
+
since: number().optional(),
|
|
20247
|
+
until: number().optional(),
|
|
20248
|
+
limit: number().int().min(1).max(200).default(50)
|
|
20249
|
+
});
|
|
20250
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
20251
|
+
var SummaryDetailSchema = object({
|
|
20252
|
+
summary: SummarySchema,
|
|
20253
|
+
/** Member track ids, in absorption order. */
|
|
20254
|
+
trackIds: array(string()).readonly()
|
|
20255
|
+
});
|
|
20229
20256
|
var RecentTracksPageSchema = object({
|
|
20230
20257
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
20231
20258
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -20626,7 +20653,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20626
20653
|
* timeline would read as a camera that saw nothing.
|
|
20627
20654
|
*/
|
|
20628
20655
|
classes: array(string()).optional()
|
|
20629
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
20656
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
20630
20657
|
kind: "mutation",
|
|
20631
20658
|
auth: "admin"
|
|
20632
20659
|
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
|
|
@@ -37368,6 +37395,12 @@ Object.freeze({
|
|
|
37368
37395
|
addonId: null,
|
|
37369
37396
|
access: "view"
|
|
37370
37397
|
},
|
|
37398
|
+
"pipelineAnalytics.getSummary": {
|
|
37399
|
+
capName: "pipeline-analytics",
|
|
37400
|
+
capScope: "device",
|
|
37401
|
+
addonId: null,
|
|
37402
|
+
access: "view"
|
|
37403
|
+
},
|
|
37371
37404
|
"pipelineAnalytics.getTrack": {
|
|
37372
37405
|
capName: "pipeline-analytics",
|
|
37373
37406
|
capScope: "device",
|
|
@@ -37446,6 +37479,12 @@ Object.freeze({
|
|
|
37446
37479
|
addonId: null,
|
|
37447
37480
|
access: "view"
|
|
37448
37481
|
},
|
|
37482
|
+
"pipelineAnalytics.listSummaries": {
|
|
37483
|
+
capName: "pipeline-analytics",
|
|
37484
|
+
capScope: "device",
|
|
37485
|
+
addonId: null,
|
|
37486
|
+
access: "view"
|
|
37487
|
+
},
|
|
37449
37488
|
"pipelineAnalytics.listTrackMedia": {
|
|
37450
37489
|
capName: "pipeline-analytics",
|
|
37451
37490
|
capScope: "device",
|
|
@@ -41141,6 +41180,11 @@ Object.freeze({
|
|
|
41141
41180
|
form: "array",
|
|
41142
41181
|
optional: true
|
|
41143
41182
|
}],
|
|
41183
|
+
"pipelineAnalytics.listSummaries": [{
|
|
41184
|
+
name: "deviceIds",
|
|
41185
|
+
form: "array",
|
|
41186
|
+
optional: false
|
|
41187
|
+
}],
|
|
41144
41188
|
"pipelineAnalytics.listTrackMedia": [{
|
|
41145
41189
|
name: "deviceId",
|
|
41146
41190
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -20225,6 +20225,33 @@ var RecentTracksQueryInput = object({
|
|
|
20225
20225
|
*/
|
|
20226
20226
|
classes: array(string()).optional()
|
|
20227
20227
|
});
|
|
20228
|
+
/**
|
|
20229
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
20230
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
20231
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
20232
|
+
* member visible has been materialised.
|
|
20233
|
+
*/
|
|
20234
|
+
var SummarySchema = object({
|
|
20235
|
+
id: string(),
|
|
20236
|
+
deviceId: number(),
|
|
20237
|
+
openedAt: number(),
|
|
20238
|
+
lastActiveAt: number(),
|
|
20239
|
+
sealedAt: number().nullable(),
|
|
20240
|
+
memberCount: number().int().nonnegative(),
|
|
20241
|
+
groupShotKey: string().nullable()
|
|
20242
|
+
});
|
|
20243
|
+
var SummariesQueryInput = object({
|
|
20244
|
+
deviceIds: array(number()).min(1),
|
|
20245
|
+
since: number().optional(),
|
|
20246
|
+
until: number().optional(),
|
|
20247
|
+
limit: number().int().min(1).max(200).default(50)
|
|
20248
|
+
});
|
|
20249
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
20250
|
+
var SummaryDetailSchema = object({
|
|
20251
|
+
summary: SummarySchema,
|
|
20252
|
+
/** Member track ids, in absorption order. */
|
|
20253
|
+
trackIds: array(string()).readonly()
|
|
20254
|
+
});
|
|
20228
20255
|
var RecentTracksPageSchema = object({
|
|
20229
20256
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
20230
20257
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -20625,7 +20652,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20625
20652
|
* timeline would read as a camera that saw nothing.
|
|
20626
20653
|
*/
|
|
20627
20654
|
classes: array(string()).optional()
|
|
20628
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
20655
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
20629
20656
|
kind: "mutation",
|
|
20630
20657
|
auth: "admin"
|
|
20631
20658
|
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
|
|
@@ -37367,6 +37394,12 @@ Object.freeze({
|
|
|
37367
37394
|
addonId: null,
|
|
37368
37395
|
access: "view"
|
|
37369
37396
|
},
|
|
37397
|
+
"pipelineAnalytics.getSummary": {
|
|
37398
|
+
capName: "pipeline-analytics",
|
|
37399
|
+
capScope: "device",
|
|
37400
|
+
addonId: null,
|
|
37401
|
+
access: "view"
|
|
37402
|
+
},
|
|
37370
37403
|
"pipelineAnalytics.getTrack": {
|
|
37371
37404
|
capName: "pipeline-analytics",
|
|
37372
37405
|
capScope: "device",
|
|
@@ -37445,6 +37478,12 @@ Object.freeze({
|
|
|
37445
37478
|
addonId: null,
|
|
37446
37479
|
access: "view"
|
|
37447
37480
|
},
|
|
37481
|
+
"pipelineAnalytics.listSummaries": {
|
|
37482
|
+
capName: "pipeline-analytics",
|
|
37483
|
+
capScope: "device",
|
|
37484
|
+
addonId: null,
|
|
37485
|
+
access: "view"
|
|
37486
|
+
},
|
|
37448
37487
|
"pipelineAnalytics.listTrackMedia": {
|
|
37449
37488
|
capName: "pipeline-analytics",
|
|
37450
37489
|
capScope: "device",
|
|
@@ -41140,6 +41179,11 @@ Object.freeze({
|
|
|
41140
41179
|
form: "array",
|
|
41141
41180
|
optional: true
|
|
41142
41181
|
}],
|
|
41182
|
+
"pipelineAnalytics.listSummaries": [{
|
|
41183
|
+
name: "deviceIds",
|
|
41184
|
+
form: "array",
|
|
41185
|
+
optional: false
|
|
41186
|
+
}],
|
|
41143
41187
|
"pipelineAnalytics.listTrackMedia": [{
|
|
41144
41188
|
name: "deviceId",
|
|
41145
41189
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-tuya",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.69",
|
|
4
4
|
"description": "Tuya / Smart Life device-provider addon for CamStack — account-onboarded (Tuya IoT cloud fetch of device localKeys) + LOCAL DP control via the @apocaliss92/nodetuya encrypted-LAN client, exposing switch / water-heater-family kettle entities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|