camstack 1.2.125 → 1.2.126
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.
|
@@ -23633,9 +23633,9 @@ var require_zod = __commonJS({
|
|
|
23633
23633
|
}
|
|
23634
23634
|
});
|
|
23635
23635
|
|
|
23636
|
-
// ../system/dist/dist-
|
|
23637
|
-
var
|
|
23638
|
-
"../system/dist/dist-
|
|
23636
|
+
// ../system/dist/dist-C_WvDOQ9.js
|
|
23637
|
+
var require_dist_C_WvDOQ9 = __commonJS({
|
|
23638
|
+
"../system/dist/dist-C_WvDOQ9.js"(exports) {
|
|
23639
23639
|
"use strict";
|
|
23640
23640
|
var zod = require_zod();
|
|
23641
23641
|
var EventCategory = /* @__PURE__ */ (function(EventCategory2) {
|
|
@@ -34742,14 +34742,14 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
34742
34742
|
code: zod.z.string().min(1).optional()
|
|
34743
34743
|
}), zod.z.void(), {
|
|
34744
34744
|
kind: "mutation",
|
|
34745
|
-
auth: "
|
|
34745
|
+
auth: "protected"
|
|
34746
34746
|
}),
|
|
34747
34747
|
disarm: method(zod.z.object({
|
|
34748
34748
|
deviceId: zod.z.number().int().nonnegative(),
|
|
34749
34749
|
code: zod.z.string().min(1).optional()
|
|
34750
34750
|
}), zod.z.void(), {
|
|
34751
34751
|
kind: "mutation",
|
|
34752
|
-
auth: "
|
|
34752
|
+
auth: "protected"
|
|
34753
34753
|
}),
|
|
34754
34754
|
/**
|
|
34755
34755
|
* Force the panel into the `triggered` state — used by HA
|
|
@@ -34760,7 +34760,7 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
34760
34760
|
*/
|
|
34761
34761
|
trigger: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
34762
34762
|
kind: "mutation",
|
|
34763
|
-
auth: "
|
|
34763
|
+
auth: "protected"
|
|
34764
34764
|
})
|
|
34765
34765
|
},
|
|
34766
34766
|
status: {
|
|
@@ -43020,7 +43020,7 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
43020
43020
|
percentage: zod.z.number().min(0).max(100)
|
|
43021
43021
|
}), zod.z.void(), {
|
|
43022
43022
|
kind: "mutation",
|
|
43023
|
-
auth: "
|
|
43023
|
+
auth: "protected"
|
|
43024
43024
|
}) },
|
|
43025
43025
|
events: {
|
|
43026
43026
|
/**
|
|
@@ -43060,7 +43060,7 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
43060
43060
|
deviceTypes: [DeviceType.Button],
|
|
43061
43061
|
methods: { press: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
43062
43062
|
kind: "mutation",
|
|
43063
|
-
auth: "
|
|
43063
|
+
auth: "protected"
|
|
43064
43064
|
}) }
|
|
43065
43065
|
};
|
|
43066
43066
|
var CameraCredentialsSchema = zod.z.object({
|
|
@@ -43207,28 +43207,28 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
43207
43207
|
mode: HvacModeSchema
|
|
43208
43208
|
}), zod.z.void(), {
|
|
43209
43209
|
kind: "mutation",
|
|
43210
|
-
auth: "
|
|
43210
|
+
auth: "protected"
|
|
43211
43211
|
}),
|
|
43212
43212
|
setFanMode: method(zod.z.object({
|
|
43213
43213
|
deviceId: zod.z.number().int().nonnegative(),
|
|
43214
43214
|
fanMode: zod.z.string().min(1)
|
|
43215
43215
|
}), zod.z.void(), {
|
|
43216
43216
|
kind: "mutation",
|
|
43217
|
-
auth: "
|
|
43217
|
+
auth: "protected"
|
|
43218
43218
|
}),
|
|
43219
43219
|
setPreset: method(zod.z.object({
|
|
43220
43220
|
deviceId: zod.z.number().int().nonnegative(),
|
|
43221
43221
|
preset: zod.z.string().min(1)
|
|
43222
43222
|
}), zod.z.void(), {
|
|
43223
43223
|
kind: "mutation",
|
|
43224
|
-
auth: "
|
|
43224
|
+
auth: "protected"
|
|
43225
43225
|
}),
|
|
43226
43226
|
setTarget: method(zod.z.object({
|
|
43227
43227
|
deviceId: zod.z.number().int().nonnegative(),
|
|
43228
43228
|
target: zod.z.number()
|
|
43229
43229
|
}), zod.z.void(), {
|
|
43230
43230
|
kind: "mutation",
|
|
43231
|
-
auth: "
|
|
43231
|
+
auth: "protected"
|
|
43232
43232
|
}),
|
|
43233
43233
|
setTargetRange: method(zod.z.object({
|
|
43234
43234
|
deviceId: zod.z.number().int().nonnegative(),
|
|
@@ -43236,28 +43236,28 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
43236
43236
|
targetHigh: zod.z.number()
|
|
43237
43237
|
}), zod.z.void(), {
|
|
43238
43238
|
kind: "mutation",
|
|
43239
|
-
auth: "
|
|
43239
|
+
auth: "protected"
|
|
43240
43240
|
}),
|
|
43241
43241
|
setTargetHumidity: method(zod.z.object({
|
|
43242
43242
|
deviceId: zod.z.number().int().nonnegative(),
|
|
43243
43243
|
targetHumidity: zod.z.number().min(0).max(100)
|
|
43244
43244
|
}), zod.z.void(), {
|
|
43245
43245
|
kind: "mutation",
|
|
43246
|
-
auth: "
|
|
43246
|
+
auth: "protected"
|
|
43247
43247
|
}),
|
|
43248
43248
|
setSwingVertical: method(zod.z.object({
|
|
43249
43249
|
deviceId: zod.z.number().int().nonnegative(),
|
|
43250
43250
|
on: zod.z.boolean()
|
|
43251
43251
|
}), zod.z.void(), {
|
|
43252
43252
|
kind: "mutation",
|
|
43253
|
-
auth: "
|
|
43253
|
+
auth: "protected"
|
|
43254
43254
|
}),
|
|
43255
43255
|
setSwingHorizontal: method(zod.z.object({
|
|
43256
43256
|
deviceId: zod.z.number().int().nonnegative(),
|
|
43257
43257
|
on: zod.z.boolean()
|
|
43258
43258
|
}), zod.z.void(), {
|
|
43259
43259
|
kind: "mutation",
|
|
43260
|
-
auth: "
|
|
43260
|
+
auth: "protected"
|
|
43261
43261
|
})
|
|
43262
43262
|
},
|
|
43263
43263
|
status: {
|
|
@@ -43333,7 +43333,7 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
43333
43333
|
color: ColorInputSchema
|
|
43334
43334
|
}), zod.z.void(), {
|
|
43335
43335
|
kind: "mutation",
|
|
43336
|
-
auth: "
|
|
43336
|
+
auth: "protected"
|
|
43337
43337
|
}) },
|
|
43338
43338
|
events: {
|
|
43339
43339
|
/**
|
|
@@ -43613,7 +43613,7 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
43613
43613
|
control: ControlSetValueInputSchema
|
|
43614
43614
|
}), zod.z.void(), {
|
|
43615
43615
|
kind: "mutation",
|
|
43616
|
-
auth: "
|
|
43616
|
+
auth: "protected"
|
|
43617
43617
|
}) },
|
|
43618
43618
|
status: {
|
|
43619
43619
|
schema: ControlStatusSchema,
|
|
@@ -43660,29 +43660,29 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
43660
43660
|
methods: {
|
|
43661
43661
|
open: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
43662
43662
|
kind: "mutation",
|
|
43663
|
-
auth: "
|
|
43663
|
+
auth: "protected"
|
|
43664
43664
|
}),
|
|
43665
43665
|
close: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
43666
43666
|
kind: "mutation",
|
|
43667
|
-
auth: "
|
|
43667
|
+
auth: "protected"
|
|
43668
43668
|
}),
|
|
43669
43669
|
stop: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
43670
43670
|
kind: "mutation",
|
|
43671
|
-
auth: "
|
|
43671
|
+
auth: "protected"
|
|
43672
43672
|
}),
|
|
43673
43673
|
setPosition: method(zod.z.object({
|
|
43674
43674
|
deviceId: zod.z.number().int().nonnegative(),
|
|
43675
43675
|
position: zod.z.number().min(0).max(100)
|
|
43676
43676
|
}), zod.z.void(), {
|
|
43677
43677
|
kind: "mutation",
|
|
43678
|
-
auth: "
|
|
43678
|
+
auth: "protected"
|
|
43679
43679
|
}),
|
|
43680
43680
|
setTiltPosition: method(zod.z.object({
|
|
43681
43681
|
deviceId: zod.z.number().int().nonnegative(),
|
|
43682
43682
|
tiltPosition: zod.z.number().min(0).max(100)
|
|
43683
43683
|
}), zod.z.void(), {
|
|
43684
43684
|
kind: "mutation",
|
|
43685
|
-
auth: "
|
|
43685
|
+
auth: "protected"
|
|
43686
43686
|
})
|
|
43687
43687
|
},
|
|
43688
43688
|
status: {
|
|
@@ -44363,28 +44363,28 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
44363
44363
|
percentage: zod.z.number().min(0).max(100)
|
|
44364
44364
|
}), zod.z.void(), {
|
|
44365
44365
|
kind: "mutation",
|
|
44366
|
-
auth: "
|
|
44366
|
+
auth: "protected"
|
|
44367
44367
|
}),
|
|
44368
44368
|
setPreset: method(zod.z.object({
|
|
44369
44369
|
deviceId: zod.z.number().int().nonnegative(),
|
|
44370
44370
|
preset: zod.z.string().min(1)
|
|
44371
44371
|
}), zod.z.void(), {
|
|
44372
44372
|
kind: "mutation",
|
|
44373
|
-
auth: "
|
|
44373
|
+
auth: "protected"
|
|
44374
44374
|
}),
|
|
44375
44375
|
setDirection: method(zod.z.object({
|
|
44376
44376
|
deviceId: zod.z.number().int().nonnegative(),
|
|
44377
44377
|
direction: FanDirectionSchema
|
|
44378
44378
|
}), zod.z.void(), {
|
|
44379
44379
|
kind: "mutation",
|
|
44380
|
-
auth: "
|
|
44380
|
+
auth: "protected"
|
|
44381
44381
|
}),
|
|
44382
44382
|
setOscillating: method(zod.z.object({
|
|
44383
44383
|
deviceId: zod.z.number().int().nonnegative(),
|
|
44384
44384
|
oscillating: zod.z.boolean()
|
|
44385
44385
|
}), zod.z.void(), {
|
|
44386
44386
|
kind: "mutation",
|
|
44387
|
-
auth: "
|
|
44387
|
+
auth: "protected"
|
|
44388
44388
|
})
|
|
44389
44389
|
},
|
|
44390
44390
|
status: {
|
|
@@ -44555,21 +44555,21 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
44555
44555
|
on: zod.z.boolean()
|
|
44556
44556
|
}), zod.z.void(), {
|
|
44557
44557
|
kind: "mutation",
|
|
44558
|
-
auth: "
|
|
44558
|
+
auth: "protected"
|
|
44559
44559
|
}),
|
|
44560
44560
|
setTargetHumidity: method(zod.z.object({
|
|
44561
44561
|
deviceId: zod.z.number().int().nonnegative(),
|
|
44562
44562
|
humidity: zod.z.number().min(0).max(100)
|
|
44563
44563
|
}), zod.z.void(), {
|
|
44564
44564
|
kind: "mutation",
|
|
44565
|
-
auth: "
|
|
44565
|
+
auth: "protected"
|
|
44566
44566
|
}),
|
|
44567
44567
|
setMode: method(zod.z.object({
|
|
44568
44568
|
deviceId: zod.z.number().int().nonnegative(),
|
|
44569
44569
|
mode: zod.z.string().min(1)
|
|
44570
44570
|
}), zod.z.void(), {
|
|
44571
44571
|
kind: "mutation",
|
|
44572
|
-
auth: "
|
|
44572
|
+
auth: "protected"
|
|
44573
44573
|
})
|
|
44574
44574
|
},
|
|
44575
44575
|
status: {
|
|
@@ -45140,15 +45140,15 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
45140
45140
|
methods: {
|
|
45141
45141
|
startMowing: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
45142
45142
|
kind: "mutation",
|
|
45143
|
-
auth: "
|
|
45143
|
+
auth: "protected"
|
|
45144
45144
|
}),
|
|
45145
45145
|
pause: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
45146
45146
|
kind: "mutation",
|
|
45147
|
-
auth: "
|
|
45147
|
+
auth: "protected"
|
|
45148
45148
|
}),
|
|
45149
45149
|
dock: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
45150
45150
|
kind: "mutation",
|
|
45151
|
-
auth: "
|
|
45151
|
+
auth: "protected"
|
|
45152
45152
|
})
|
|
45153
45153
|
},
|
|
45154
45154
|
status: {
|
|
@@ -45506,18 +45506,18 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
45506
45506
|
code: zod.z.string().min(1).optional()
|
|
45507
45507
|
}), zod.z.void(), {
|
|
45508
45508
|
kind: "mutation",
|
|
45509
|
-
auth: "
|
|
45509
|
+
auth: "protected"
|
|
45510
45510
|
}),
|
|
45511
45511
|
unlock: method(zod.z.object({
|
|
45512
45512
|
deviceId: zod.z.number().int().nonnegative(),
|
|
45513
45513
|
code: zod.z.string().min(1).optional()
|
|
45514
45514
|
}), zod.z.void(), {
|
|
45515
45515
|
kind: "mutation",
|
|
45516
|
-
auth: "
|
|
45516
|
+
auth: "protected"
|
|
45517
45517
|
}),
|
|
45518
45518
|
open: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
45519
45519
|
kind: "mutation",
|
|
45520
|
-
auth: "
|
|
45520
|
+
auth: "protected"
|
|
45521
45521
|
})
|
|
45522
45522
|
},
|
|
45523
45523
|
status: {
|
|
@@ -45608,65 +45608,65 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
45608
45608
|
methods: {
|
|
45609
45609
|
play: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
45610
45610
|
kind: "mutation",
|
|
45611
|
-
auth: "
|
|
45611
|
+
auth: "protected"
|
|
45612
45612
|
}),
|
|
45613
45613
|
pause: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
45614
45614
|
kind: "mutation",
|
|
45615
|
-
auth: "
|
|
45615
|
+
auth: "protected"
|
|
45616
45616
|
}),
|
|
45617
45617
|
stop: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
45618
45618
|
kind: "mutation",
|
|
45619
|
-
auth: "
|
|
45619
|
+
auth: "protected"
|
|
45620
45620
|
}),
|
|
45621
45621
|
next: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
45622
45622
|
kind: "mutation",
|
|
45623
|
-
auth: "
|
|
45623
|
+
auth: "protected"
|
|
45624
45624
|
}),
|
|
45625
45625
|
previous: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
45626
45626
|
kind: "mutation",
|
|
45627
|
-
auth: "
|
|
45627
|
+
auth: "protected"
|
|
45628
45628
|
}),
|
|
45629
45629
|
seek: method(zod.z.object({
|
|
45630
45630
|
deviceId: zod.z.number().int().nonnegative(),
|
|
45631
45631
|
positionMs: zod.z.number().int().nonnegative()
|
|
45632
45632
|
}), zod.z.void(), {
|
|
45633
45633
|
kind: "mutation",
|
|
45634
|
-
auth: "
|
|
45634
|
+
auth: "protected"
|
|
45635
45635
|
}),
|
|
45636
45636
|
setVolume: method(zod.z.object({
|
|
45637
45637
|
deviceId: zod.z.number().int().nonnegative(),
|
|
45638
45638
|
volumeLevel: zod.z.number().min(0).max(100)
|
|
45639
45639
|
}), zod.z.void(), {
|
|
45640
45640
|
kind: "mutation",
|
|
45641
|
-
auth: "
|
|
45641
|
+
auth: "protected"
|
|
45642
45642
|
}),
|
|
45643
45643
|
setMute: method(zod.z.object({
|
|
45644
45644
|
deviceId: zod.z.number().int().nonnegative(),
|
|
45645
45645
|
muted: zod.z.boolean()
|
|
45646
45646
|
}), zod.z.void(), {
|
|
45647
45647
|
kind: "mutation",
|
|
45648
|
-
auth: "
|
|
45648
|
+
auth: "protected"
|
|
45649
45649
|
}),
|
|
45650
45650
|
setShuffle: method(zod.z.object({
|
|
45651
45651
|
deviceId: zod.z.number().int().nonnegative(),
|
|
45652
45652
|
shuffle: zod.z.boolean()
|
|
45653
45653
|
}), zod.z.void(), {
|
|
45654
45654
|
kind: "mutation",
|
|
45655
|
-
auth: "
|
|
45655
|
+
auth: "protected"
|
|
45656
45656
|
}),
|
|
45657
45657
|
setRepeat: method(zod.z.object({
|
|
45658
45658
|
deviceId: zod.z.number().int().nonnegative(),
|
|
45659
45659
|
repeat: MediaPlayerRepeatSchema
|
|
45660
45660
|
}), zod.z.void(), {
|
|
45661
45661
|
kind: "mutation",
|
|
45662
|
-
auth: "
|
|
45662
|
+
auth: "protected"
|
|
45663
45663
|
}),
|
|
45664
45664
|
selectSource: method(zod.z.object({
|
|
45665
45665
|
deviceId: zod.z.number().int().nonnegative(),
|
|
45666
45666
|
source: zod.z.string().min(1)
|
|
45667
45667
|
}), zod.z.void(), {
|
|
45668
45668
|
kind: "mutation",
|
|
45669
|
-
auth: "
|
|
45669
|
+
auth: "protected"
|
|
45670
45670
|
}),
|
|
45671
45671
|
playMedia: method(zod.z.object({
|
|
45672
45672
|
deviceId: zod.z.number().int().nonnegative(),
|
|
@@ -45677,7 +45677,7 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
45677
45677
|
mediaType: zod.z.string().min(1)
|
|
45678
45678
|
}), zod.z.void(), {
|
|
45679
45679
|
kind: "mutation",
|
|
45680
|
-
auth: "
|
|
45680
|
+
auth: "protected"
|
|
45681
45681
|
})
|
|
45682
45682
|
},
|
|
45683
45683
|
status: {
|
|
@@ -47126,27 +47126,27 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
47126
47126
|
hopper2: gramsPortion.optional()
|
|
47127
47127
|
}), zod.z.void(), {
|
|
47128
47128
|
kind: "mutation",
|
|
47129
|
-
auth: "
|
|
47129
|
+
auth: "protected"
|
|
47130
47130
|
}),
|
|
47131
47131
|
/** Cancel an in-progress manual feed. */
|
|
47132
47132
|
cancelFeed: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
47133
47133
|
kind: "mutation",
|
|
47134
|
-
auth: "
|
|
47134
|
+
auth: "protected"
|
|
47135
47135
|
}),
|
|
47136
47136
|
/** Reset the desiccant "days remaining" counter after replacing it. */
|
|
47137
47137
|
resetDesiccant: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
47138
47138
|
kind: "mutation",
|
|
47139
|
-
auth: "
|
|
47139
|
+
auth: "protected"
|
|
47140
47140
|
}),
|
|
47141
47141
|
/** Mark a hopper as refilled (D4H/D4S/D4SH). */
|
|
47142
47142
|
markFoodReplenished: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
47143
47143
|
kind: "mutation",
|
|
47144
|
-
auth: "
|
|
47144
|
+
auth: "protected"
|
|
47145
47145
|
}),
|
|
47146
47146
|
/** Call the pet with the recorded prompt (D3). */
|
|
47147
47147
|
callPet: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
47148
47148
|
kind: "mutation",
|
|
47149
|
-
auth: "
|
|
47149
|
+
auth: "protected"
|
|
47150
47150
|
}),
|
|
47151
47151
|
/** Play a stored sound by id (D3 / D4H / D4SH). */
|
|
47152
47152
|
playSound: method(zod.z.object({
|
|
@@ -47154,7 +47154,7 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
47154
47154
|
soundId: zod.z.number().int().nonnegative()
|
|
47155
47155
|
}), zod.z.void(), {
|
|
47156
47156
|
kind: "mutation",
|
|
47157
|
-
auth: "
|
|
47157
|
+
auth: "protected"
|
|
47158
47158
|
}),
|
|
47159
47159
|
/** Toggle the child-lock (manual-lock) setting. */
|
|
47160
47160
|
setChildLock: method(zod.z.object({
|
|
@@ -47162,7 +47162,7 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
47162
47162
|
on: zod.z.boolean()
|
|
47163
47163
|
}), zod.z.void(), {
|
|
47164
47164
|
kind: "mutation",
|
|
47165
|
-
auth: "
|
|
47165
|
+
auth: "protected"
|
|
47166
47166
|
}),
|
|
47167
47167
|
/** Toggle the front indicator light. */
|
|
47168
47168
|
setIndicatorLight: method(zod.z.object({
|
|
@@ -47170,7 +47170,7 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
47170
47170
|
on: zod.z.boolean()
|
|
47171
47171
|
}), zod.z.void(), {
|
|
47172
47172
|
kind: "mutation",
|
|
47173
|
-
auth: "
|
|
47173
|
+
auth: "protected"
|
|
47174
47174
|
}),
|
|
47175
47175
|
/** Toggle the dispense chime. */
|
|
47176
47176
|
setFeedSound: method(zod.z.object({
|
|
@@ -47178,7 +47178,7 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
47178
47178
|
on: zod.z.boolean()
|
|
47179
47179
|
}), zod.z.void(), {
|
|
47180
47180
|
kind: "mutation",
|
|
47181
|
-
auth: "
|
|
47181
|
+
auth: "protected"
|
|
47182
47182
|
}),
|
|
47183
47183
|
/** Set the speaker / prompt volume level. */
|
|
47184
47184
|
setVolume: method(zod.z.object({
|
|
@@ -47186,7 +47186,7 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
47186
47186
|
level: zod.z.number().int().nonnegative()
|
|
47187
47187
|
}), zod.z.void(), {
|
|
47188
47188
|
kind: "mutation",
|
|
47189
|
-
auth: "
|
|
47189
|
+
auth: "protected"
|
|
47190
47190
|
})
|
|
47191
47191
|
},
|
|
47192
47192
|
status: {
|
|
@@ -49548,7 +49548,7 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
49548
49548
|
on: zod.z.boolean()
|
|
49549
49549
|
}), zod.z.void(), {
|
|
49550
49550
|
kind: "mutation",
|
|
49551
|
-
auth: "
|
|
49551
|
+
auth: "protected"
|
|
49552
49552
|
}) },
|
|
49553
49553
|
events: { onStateChanged: { data: zod.z.object({
|
|
49554
49554
|
deviceId: zod.z.number(),
|
|
@@ -50414,30 +50414,30 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
50414
50414
|
methods: {
|
|
50415
50415
|
start: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
50416
50416
|
kind: "mutation",
|
|
50417
|
-
auth: "
|
|
50417
|
+
auth: "protected"
|
|
50418
50418
|
}),
|
|
50419
50419
|
pause: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
50420
50420
|
kind: "mutation",
|
|
50421
|
-
auth: "
|
|
50421
|
+
auth: "protected"
|
|
50422
50422
|
}),
|
|
50423
50423
|
stop: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
50424
50424
|
kind: "mutation",
|
|
50425
|
-
auth: "
|
|
50425
|
+
auth: "protected"
|
|
50426
50426
|
}),
|
|
50427
50427
|
returnToBase: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
50428
50428
|
kind: "mutation",
|
|
50429
|
-
auth: "
|
|
50429
|
+
auth: "protected"
|
|
50430
50430
|
}),
|
|
50431
50431
|
locate: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
50432
50432
|
kind: "mutation",
|
|
50433
|
-
auth: "
|
|
50433
|
+
auth: "protected"
|
|
50434
50434
|
}),
|
|
50435
50435
|
setFanSpeed: method(zod.z.object({
|
|
50436
50436
|
deviceId: zod.z.number().int().nonnegative(),
|
|
50437
50437
|
speed: zod.z.string().min(1)
|
|
50438
50438
|
}), zod.z.void(), {
|
|
50439
50439
|
kind: "mutation",
|
|
50440
|
-
auth: "
|
|
50440
|
+
auth: "protected"
|
|
50441
50441
|
})
|
|
50442
50442
|
},
|
|
50443
50443
|
status: {
|
|
@@ -50482,22 +50482,22 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
50482
50482
|
methods: {
|
|
50483
50483
|
open: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
50484
50484
|
kind: "mutation",
|
|
50485
|
-
auth: "
|
|
50485
|
+
auth: "protected"
|
|
50486
50486
|
}),
|
|
50487
50487
|
close: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
50488
50488
|
kind: "mutation",
|
|
50489
|
-
auth: "
|
|
50489
|
+
auth: "protected"
|
|
50490
50490
|
}),
|
|
50491
50491
|
stop: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
50492
50492
|
kind: "mutation",
|
|
50493
|
-
auth: "
|
|
50493
|
+
auth: "protected"
|
|
50494
50494
|
}),
|
|
50495
50495
|
setPosition: method(zod.z.object({
|
|
50496
50496
|
deviceId: zod.z.number().int().nonnegative(),
|
|
50497
50497
|
position: zod.z.number().min(0).max(100)
|
|
50498
50498
|
}), zod.z.void(), {
|
|
50499
50499
|
kind: "mutation",
|
|
50500
|
-
auth: "
|
|
50500
|
+
auth: "protected"
|
|
50501
50501
|
})
|
|
50502
50502
|
},
|
|
50503
50503
|
status: {
|
|
@@ -50578,21 +50578,21 @@ var require_dist_CNxDnJwz = __commonJS({
|
|
|
50578
50578
|
temp: zod.z.number().finite()
|
|
50579
50579
|
}), zod.z.void(), {
|
|
50580
50580
|
kind: "mutation",
|
|
50581
|
-
auth: "
|
|
50581
|
+
auth: "protected"
|
|
50582
50582
|
}),
|
|
50583
50583
|
setOperationMode: method(zod.z.object({
|
|
50584
50584
|
deviceId: zod.z.number().int().nonnegative(),
|
|
50585
50585
|
mode: zod.z.string().min(1)
|
|
50586
50586
|
}), zod.z.void(), {
|
|
50587
50587
|
kind: "mutation",
|
|
50588
|
-
auth: "
|
|
50588
|
+
auth: "protected"
|
|
50589
50589
|
}),
|
|
50590
50590
|
setAway: method(zod.z.object({
|
|
50591
50591
|
deviceId: zod.z.number().int().nonnegative(),
|
|
50592
50592
|
on: zod.z.boolean()
|
|
50593
50593
|
}), zod.z.void(), {
|
|
50594
50594
|
kind: "mutation",
|
|
50595
|
-
auth: "
|
|
50595
|
+
auth: "protected"
|
|
50596
50596
|
})
|
|
50597
50597
|
},
|
|
50598
50598
|
status: {
|
|
@@ -61043,7 +61043,7 @@ var require_alerts_addon = __commonJS({
|
|
|
61043
61043
|
[Symbol.toStringTag]: { value: "Module" }
|
|
61044
61044
|
});
|
|
61045
61045
|
require_chunk_Cek0wNdY();
|
|
61046
|
-
var require_dist10 =
|
|
61046
|
+
var require_dist10 = require_dist_C_WvDOQ9();
|
|
61047
61047
|
function selectExpired(alerts, cutoffMs) {
|
|
61048
61048
|
return alerts.filter((a) => a.createdAt < cutoffMs).sort((a, b) => a.createdAt - b.createdAt).map((a) => a.id);
|
|
61049
61049
|
}
|
|
@@ -61862,7 +61862,7 @@ var require_console_logging = __commonJS({
|
|
|
61862
61862
|
[Symbol.toStringTag]: { value: "Module" }
|
|
61863
61863
|
});
|
|
61864
61864
|
require_chunk_Cek0wNdY();
|
|
61865
|
-
var require_dist10 =
|
|
61865
|
+
var require_dist10 = require_dist_C_WvDOQ9();
|
|
61866
61866
|
var require_formatter = require_formatter_DqAKDlvN();
|
|
61867
61867
|
var LEVEL_RANK = {
|
|
61868
61868
|
debug: 0,
|
|
@@ -61956,7 +61956,7 @@ var require_core_blocks_addon = __commonJS({
|
|
|
61956
61956
|
"use strict";
|
|
61957
61957
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
61958
61958
|
var require_chunk = require_chunk_Cek0wNdY();
|
|
61959
|
-
var require_dist10 =
|
|
61959
|
+
var require_dist10 = require_dist_C_WvDOQ9();
|
|
61960
61960
|
var node_crypto = __require("crypto");
|
|
61961
61961
|
var node_fs_promises = __require("fs/promises");
|
|
61962
61962
|
node_fs_promises = require_chunk.__toESM(node_fs_promises);
|
|
@@ -62853,11 +62853,11 @@ var require_core_blocks = __commonJS({
|
|
|
62853
62853
|
}
|
|
62854
62854
|
});
|
|
62855
62855
|
|
|
62856
|
-
// ../system/dist/retired-settings-keys-
|
|
62857
|
-
var
|
|
62858
|
-
"../system/dist/retired-settings-keys-
|
|
62856
|
+
// ../system/dist/retired-settings-keys-BpasSgff.js
|
|
62857
|
+
var require_retired_settings_keys_BpasSgff = __commonJS({
|
|
62858
|
+
"../system/dist/retired-settings-keys-BpasSgff.js"(exports) {
|
|
62859
62859
|
"use strict";
|
|
62860
|
-
var require_dist10 =
|
|
62860
|
+
var require_dist10 = require_dist_C_WvDOQ9();
|
|
62861
62861
|
function settingsStoreIsAuthoritativeHere(env) {
|
|
62862
62862
|
const raw = (env["CAMSTACK_ROLE"] ?? "").trim().toLowerCase();
|
|
62863
62863
|
return raw === "" || raw === "hub";
|
|
@@ -65092,8 +65092,8 @@ var require_device_manager_addon = __commonJS({
|
|
|
65092
65092
|
[Symbol.toStringTag]: { value: "Module" }
|
|
65093
65093
|
});
|
|
65094
65094
|
require_chunk_Cek0wNdY();
|
|
65095
|
-
var require_dist10 =
|
|
65096
|
-
var require_retired_settings_keys =
|
|
65095
|
+
var require_dist10 = require_dist_C_WvDOQ9();
|
|
65096
|
+
var require_retired_settings_keys = require_retired_settings_keys_BpasSgff();
|
|
65097
65097
|
var node_crypto = __require("crypto");
|
|
65098
65098
|
var _camstack_types_node = require_node();
|
|
65099
65099
|
var JOB_HISTORY = 20;
|
|
@@ -70718,7 +70718,7 @@ var require_hub_forwarder = __commonJS({
|
|
|
70718
70718
|
[Symbol.toStringTag]: { value: "Module" }
|
|
70719
70719
|
});
|
|
70720
70720
|
require_chunk_Cek0wNdY();
|
|
70721
|
-
var require_dist10 =
|
|
70721
|
+
var require_dist10 = require_dist_C_WvDOQ9();
|
|
70722
70722
|
var require_formatter = require_formatter_DqAKDlvN();
|
|
70723
70723
|
var DEFAULT_OUTBOUND_BUFFER_SIZE = 500;
|
|
70724
70724
|
var HubForwarderDestination = class {
|
|
@@ -70855,7 +70855,7 @@ var require_liveness_monitor_addon = __commonJS({
|
|
|
70855
70855
|
"use strict";
|
|
70856
70856
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
70857
70857
|
require_chunk_Cek0wNdY();
|
|
70858
|
-
var require_dist10 =
|
|
70858
|
+
var require_dist10 = require_dist_C_WvDOQ9();
|
|
70859
70859
|
var NO_DEVICES = "liveness:no-devices";
|
|
70860
70860
|
var ALL_OFFLINE = "liveness:all-devices-offline";
|
|
70861
70861
|
var NO_FOOTAGE_PREFIX = "liveness:no-footage:";
|
|
@@ -71051,7 +71051,7 @@ var require_local_auth_addon = __commonJS({
|
|
|
71051
71051
|
[Symbol.toStringTag]: { value: "Module" }
|
|
71052
71052
|
});
|
|
71053
71053
|
var require_chunk = require_chunk_Cek0wNdY();
|
|
71054
|
-
var require_dist10 =
|
|
71054
|
+
var require_dist10 = require_dist_C_WvDOQ9();
|
|
71055
71055
|
var node_crypto = __require("crypto");
|
|
71056
71056
|
node_crypto = require_chunk.__toESM(node_crypto);
|
|
71057
71057
|
var crypto$1 = __require("crypto");
|
|
@@ -78864,7 +78864,7 @@ var require_loki_logging = __commonJS({
|
|
|
78864
78864
|
[Symbol.toStringTag]: { value: "Module" }
|
|
78865
78865
|
});
|
|
78866
78866
|
require_chunk_Cek0wNdY();
|
|
78867
|
-
var require_dist10 =
|
|
78867
|
+
var require_dist10 = require_dist_C_WvDOQ9();
|
|
78868
78868
|
function sanitizeLabelName(raw) {
|
|
78869
78869
|
const replaced = raw.replaceAll(/[^a-zA-Z0-9_]/g, "_");
|
|
78870
78870
|
return /^[a-zA-Z_]/.test(replaced) ? replaced : `_${replaced}`;
|
|
@@ -79429,7 +79429,7 @@ var require_native_metrics_addon = __commonJS({
|
|
|
79429
79429
|
[Symbol.toStringTag]: { value: "Module" }
|
|
79430
79430
|
});
|
|
79431
79431
|
var require_chunk = require_chunk_Cek0wNdY();
|
|
79432
|
-
var require_dist10 =
|
|
79432
|
+
var require_dist10 = require_dist_C_WvDOQ9();
|
|
79433
79433
|
var node_fs_promises = __require("fs/promises");
|
|
79434
79434
|
var node_child_process = __require("child_process");
|
|
79435
79435
|
var node_util = __require("util");
|
|
@@ -82013,7 +82013,7 @@ var require_filesystem_storage_addon = __commonJS({
|
|
|
82013
82013
|
[Symbol.toStringTag]: { value: "Module" }
|
|
82014
82014
|
});
|
|
82015
82015
|
var require_chunk = require_chunk_Cek0wNdY();
|
|
82016
|
-
var require_dist10 =
|
|
82016
|
+
var require_dist10 = require_dist_C_WvDOQ9();
|
|
82017
82017
|
var node_crypto = __require("crypto");
|
|
82018
82018
|
var node_fs_promises = __require("fs/promises");
|
|
82019
82019
|
var node_path = __require("path");
|
|
@@ -83129,8 +83129,8 @@ var require_sqlite_settings_addon = __commonJS({
|
|
|
83129
83129
|
[Symbol.toStringTag]: { value: "Module" }
|
|
83130
83130
|
});
|
|
83131
83131
|
var require_chunk = require_chunk_Cek0wNdY();
|
|
83132
|
-
var require_dist10 =
|
|
83133
|
-
var require_retired_settings_keys =
|
|
83132
|
+
var require_dist10 = require_dist_C_WvDOQ9();
|
|
83133
|
+
var require_retired_settings_keys = require_retired_settings_keys_BpasSgff();
|
|
83134
83134
|
var node_crypto = __require("crypto");
|
|
83135
83135
|
var node_fs = __require("fs");
|
|
83136
83136
|
var node_module = __require("module");
|
|
@@ -85634,7 +85634,7 @@ var require_storage_orchestrator_addon = __commonJS({
|
|
|
85634
85634
|
[Symbol.toStringTag]: { value: "Module" }
|
|
85635
85635
|
});
|
|
85636
85636
|
var require_chunk = require_chunk_Cek0wNdY();
|
|
85637
|
-
var require_dist10 =
|
|
85637
|
+
var require_dist10 = require_dist_C_WvDOQ9();
|
|
85638
85638
|
var require_hub_cap_forward = require_hub_cap_forward_DmHNjbB0();
|
|
85639
85639
|
var zod = require_zod();
|
|
85640
85640
|
var node_crypto = __require("crypto");
|
|
@@ -86610,6 +86610,41 @@ var require_storage_orchestrator_addon = __commonJS({
|
|
|
86610
86610
|
}
|
|
86611
86611
|
};
|
|
86612
86612
|
}
|
|
86613
|
+
async function collectFiles(io, prefix) {
|
|
86614
|
+
const entries = await io.list(prefix);
|
|
86615
|
+
const files = [];
|
|
86616
|
+
for (const entry of entries) {
|
|
86617
|
+
if ((await io.list(entry)).length > 0) {
|
|
86618
|
+
files.push(...await collectFiles(io, entry));
|
|
86619
|
+
continue;
|
|
86620
|
+
}
|
|
86621
|
+
files.push(entry);
|
|
86622
|
+
}
|
|
86623
|
+
return files;
|
|
86624
|
+
}
|
|
86625
|
+
async function moveLocationTree(io) {
|
|
86626
|
+
const candidates = await collectFiles(io);
|
|
86627
|
+
const copied = [];
|
|
86628
|
+
let bytes = 0;
|
|
86629
|
+
for (const relativePath of candidates) {
|
|
86630
|
+
let data;
|
|
86631
|
+
try {
|
|
86632
|
+
data = await io.read(relativePath);
|
|
86633
|
+
} catch {
|
|
86634
|
+
continue;
|
|
86635
|
+
}
|
|
86636
|
+
await io.write(relativePath, data);
|
|
86637
|
+
const landed = await io.readBack(relativePath);
|
|
86638
|
+
if (landed.length !== data.length) throw new Error(`location repoint: size mismatch after copying "${relativePath}" (${String(landed.length)} != ${String(data.length)}) \u2014 nothing deleted`);
|
|
86639
|
+
copied.push(relativePath);
|
|
86640
|
+
bytes += data.length;
|
|
86641
|
+
}
|
|
86642
|
+
for (const relativePath of copied) await io.deleteSource(relativePath);
|
|
86643
|
+
return {
|
|
86644
|
+
files: copied.length,
|
|
86645
|
+
bytes
|
|
86646
|
+
};
|
|
86647
|
+
}
|
|
86613
86648
|
function resolveRefusalFor(location, locality) {
|
|
86614
86649
|
if (locality !== false) return null;
|
|
86615
86650
|
return `storage.resolve is a request for a path this node can open with node:fs, and location "${location.id}" is served by the remote provider "${location.providerId}" (nodeLocal: false) \u2014 the path it would return exists on the remote host, not here. Read and write this location through the storage cap (read/write, or beginUpload/writeChunk/finalizeUpload) instead.`;
|
|
@@ -88368,10 +88403,12 @@ var require_storage_orchestrator_addon = __commonJS({
|
|
|
88368
88403
|
upsertLocation: async (input) => {
|
|
88369
88404
|
const stored = service.getLocationById(input.id);
|
|
88370
88405
|
const config = restoreRedactedSecrets(input.config, stored?.config, this.secretKeysFor(input.providerId, stored?.config ?? {}));
|
|
88371
|
-
const
|
|
88406
|
+
const next = config === input.config ? input : {
|
|
88372
88407
|
...input,
|
|
88373
88408
|
config
|
|
88374
|
-
}
|
|
88409
|
+
};
|
|
88410
|
+
await this.carryDataOnRepoint(stored, next);
|
|
88411
|
+
const saved = service.upsertLocation(next);
|
|
88375
88412
|
this.announceLocationsChanged(saved.id, saved.type, "upsert");
|
|
88376
88413
|
return this.redacted(saved);
|
|
88377
88414
|
},
|
|
@@ -88866,6 +88903,63 @@ var require_storage_orchestrator_addon = __commonJS({
|
|
|
88866
88903
|
return this.secretKeysByProvider.get(providerId);
|
|
88867
88904
|
}
|
|
88868
88905
|
/** Which keys of a given stored config must never leave this process. */
|
|
88906
|
+
/**
|
|
88907
|
+
* Move a singleton location's bytes when its root changes.
|
|
88908
|
+
*
|
|
88909
|
+
* Runs BEFORE the row is saved: a copy that fails throws out of the mutation,
|
|
88910
|
+
* so the location keeps pointing at the intact original and the operator is
|
|
88911
|
+
* told why rather than discovering it in a blank panel weeks later.
|
|
88912
|
+
* `moveLocationTree` deletes nothing until every file has been read back from
|
|
88913
|
+
* the destination.
|
|
88914
|
+
*
|
|
88915
|
+
* A no-op for everything else — a rename, a mode change, a `multi` kind, or a
|
|
88916
|
+
* location being created for the first time.
|
|
88917
|
+
*/
|
|
88918
|
+
async carryDataOnRepoint(stored, next) {
|
|
88919
|
+
if (stored === void 0) return;
|
|
88920
|
+
const service = this.service;
|
|
88921
|
+
if (service === null) return;
|
|
88922
|
+
if (service.listDeclarations().find((entry) => entry.id === next.type)?.cardinality !== "single") return;
|
|
88923
|
+
const from = stored.config["basePath"];
|
|
88924
|
+
const to = next.config["basePath"];
|
|
88925
|
+
if (typeof from !== "string" || typeof to !== "string" || from === to) return;
|
|
88926
|
+
const source = await service.getProviderFor(stored);
|
|
88927
|
+
const target = {
|
|
88928
|
+
...stored,
|
|
88929
|
+
config: next.config
|
|
88930
|
+
};
|
|
88931
|
+
const destination = await service.getProviderFor(target);
|
|
88932
|
+
const moved = await moveLocationTree({
|
|
88933
|
+
list: (prefix) => source.list(prefix === void 0 ? { location: stored } : {
|
|
88934
|
+
location: stored,
|
|
88935
|
+
prefix
|
|
88936
|
+
}),
|
|
88937
|
+
read: (relativePath) => source.read({
|
|
88938
|
+
location: stored,
|
|
88939
|
+
relativePath
|
|
88940
|
+
}),
|
|
88941
|
+
write: (relativePath, data) => destination.write({
|
|
88942
|
+
location: target,
|
|
88943
|
+
relativePath,
|
|
88944
|
+
data
|
|
88945
|
+
}),
|
|
88946
|
+
readBack: (relativePath) => destination.read({
|
|
88947
|
+
location: target,
|
|
88948
|
+
relativePath
|
|
88949
|
+
}),
|
|
88950
|
+
deleteSource: (relativePath) => source.delete({
|
|
88951
|
+
location: stored,
|
|
88952
|
+
relativePath
|
|
88953
|
+
})
|
|
88954
|
+
});
|
|
88955
|
+
this.ctx.logger.info("storage-orchestrator: singleton location re-pointed \u2014 its data was carried over", { meta: {
|
|
88956
|
+
id: stored.id,
|
|
88957
|
+
type: stored.type,
|
|
88958
|
+
from,
|
|
88959
|
+
to,
|
|
88960
|
+
...moved
|
|
88961
|
+
} });
|
|
88962
|
+
}
|
|
88869
88963
|
secretKeysFor(providerId, config) {
|
|
88870
88964
|
return secretKeysForConfig(config, this.declaredSecretKeys(providerId));
|
|
88871
88965
|
}
|
|
@@ -89190,7 +89284,7 @@ var require_system_config_addon = __commonJS({
|
|
|
89190
89284
|
[Symbol.toStringTag]: { value: "Module" }
|
|
89191
89285
|
});
|
|
89192
89286
|
require_chunk_Cek0wNdY();
|
|
89193
|
-
var require_dist10 =
|
|
89287
|
+
var require_dist10 = require_dist_C_WvDOQ9();
|
|
89194
89288
|
var SECTION_TITLES = {
|
|
89195
89289
|
server: "Server",
|
|
89196
89290
|
auth: "Authentication"
|
|
@@ -107251,7 +107345,7 @@ var require_winston_logging = __commonJS({
|
|
|
107251
107345
|
[Symbol.toStringTag]: { value: "Module" }
|
|
107252
107346
|
});
|
|
107253
107347
|
var require_chunk = require_chunk_Cek0wNdY();
|
|
107254
|
-
var require_dist10 =
|
|
107348
|
+
var require_dist10 = require_dist_C_WvDOQ9();
|
|
107255
107349
|
var require_formatter = require_formatter_DqAKDlvN();
|
|
107256
107350
|
var node_path = __require("path");
|
|
107257
107351
|
node_path = require_chunk.__toESM(node_path);
|
|
@@ -131861,7 +131955,7 @@ var require_dist3 = __commonJS({
|
|
|
131861
131955
|
"use strict";
|
|
131862
131956
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
131863
131957
|
var require_chunk = require_chunk_Cek0wNdY();
|
|
131864
|
-
var require_dist10 =
|
|
131958
|
+
var require_dist10 = require_dist_C_WvDOQ9();
|
|
131865
131959
|
var require_builtins_alerts_alerts_addon = require_alerts_addon();
|
|
131866
131960
|
require_alerts();
|
|
131867
131961
|
var require_formatter = require_formatter_DqAKDlvN();
|
|
@@ -224367,14 +224461,14 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
224367
224461
|
code: zod.z.string().min(1).optional()
|
|
224368
224462
|
}), zod.z.void(), {
|
|
224369
224463
|
kind: "mutation",
|
|
224370
|
-
auth: "
|
|
224464
|
+
auth: "protected"
|
|
224371
224465
|
}),
|
|
224372
224466
|
disarm: require_sleep.method(zod.z.object({
|
|
224373
224467
|
deviceId: zod.z.number().int().nonnegative(),
|
|
224374
224468
|
code: zod.z.string().min(1).optional()
|
|
224375
224469
|
}), zod.z.void(), {
|
|
224376
224470
|
kind: "mutation",
|
|
224377
|
-
auth: "
|
|
224471
|
+
auth: "protected"
|
|
224378
224472
|
}),
|
|
224379
224473
|
/**
|
|
224380
224474
|
* Force the panel into the `triggered` state — used by HA
|
|
@@ -224385,7 +224479,7 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
224385
224479
|
*/
|
|
224386
224480
|
trigger: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
224387
224481
|
kind: "mutation",
|
|
224388
|
-
auth: "
|
|
224482
|
+
auth: "protected"
|
|
224389
224483
|
})
|
|
224390
224484
|
},
|
|
224391
224485
|
status: {
|
|
@@ -233279,7 +233373,7 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
233279
233373
|
percentage: zod.z.number().min(0).max(100)
|
|
233280
233374
|
}), zod.z.void(), {
|
|
233281
233375
|
kind: "mutation",
|
|
233282
|
-
auth: "
|
|
233376
|
+
auth: "protected"
|
|
233283
233377
|
}) },
|
|
233284
233378
|
events: {
|
|
233285
233379
|
/**
|
|
@@ -233319,7 +233413,7 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
233319
233413
|
deviceTypes: [require_sleep.DeviceType.Button],
|
|
233320
233414
|
methods: { press: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
233321
233415
|
kind: "mutation",
|
|
233322
|
-
auth: "
|
|
233416
|
+
auth: "protected"
|
|
233323
233417
|
}) }
|
|
233324
233418
|
};
|
|
233325
233419
|
var CameraCredentialsSchema = zod.z.object({
|
|
@@ -233466,28 +233560,28 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
233466
233560
|
mode: HvacModeSchema
|
|
233467
233561
|
}), zod.z.void(), {
|
|
233468
233562
|
kind: "mutation",
|
|
233469
|
-
auth: "
|
|
233563
|
+
auth: "protected"
|
|
233470
233564
|
}),
|
|
233471
233565
|
setFanMode: require_sleep.method(zod.z.object({
|
|
233472
233566
|
deviceId: zod.z.number().int().nonnegative(),
|
|
233473
233567
|
fanMode: zod.z.string().min(1)
|
|
233474
233568
|
}), zod.z.void(), {
|
|
233475
233569
|
kind: "mutation",
|
|
233476
|
-
auth: "
|
|
233570
|
+
auth: "protected"
|
|
233477
233571
|
}),
|
|
233478
233572
|
setPreset: require_sleep.method(zod.z.object({
|
|
233479
233573
|
deviceId: zod.z.number().int().nonnegative(),
|
|
233480
233574
|
preset: zod.z.string().min(1)
|
|
233481
233575
|
}), zod.z.void(), {
|
|
233482
233576
|
kind: "mutation",
|
|
233483
|
-
auth: "
|
|
233577
|
+
auth: "protected"
|
|
233484
233578
|
}),
|
|
233485
233579
|
setTarget: require_sleep.method(zod.z.object({
|
|
233486
233580
|
deviceId: zod.z.number().int().nonnegative(),
|
|
233487
233581
|
target: zod.z.number()
|
|
233488
233582
|
}), zod.z.void(), {
|
|
233489
233583
|
kind: "mutation",
|
|
233490
|
-
auth: "
|
|
233584
|
+
auth: "protected"
|
|
233491
233585
|
}),
|
|
233492
233586
|
setTargetRange: require_sleep.method(zod.z.object({
|
|
233493
233587
|
deviceId: zod.z.number().int().nonnegative(),
|
|
@@ -233495,28 +233589,28 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
233495
233589
|
targetHigh: zod.z.number()
|
|
233496
233590
|
}), zod.z.void(), {
|
|
233497
233591
|
kind: "mutation",
|
|
233498
|
-
auth: "
|
|
233592
|
+
auth: "protected"
|
|
233499
233593
|
}),
|
|
233500
233594
|
setTargetHumidity: require_sleep.method(zod.z.object({
|
|
233501
233595
|
deviceId: zod.z.number().int().nonnegative(),
|
|
233502
233596
|
targetHumidity: zod.z.number().min(0).max(100)
|
|
233503
233597
|
}), zod.z.void(), {
|
|
233504
233598
|
kind: "mutation",
|
|
233505
|
-
auth: "
|
|
233599
|
+
auth: "protected"
|
|
233506
233600
|
}),
|
|
233507
233601
|
setSwingVertical: require_sleep.method(zod.z.object({
|
|
233508
233602
|
deviceId: zod.z.number().int().nonnegative(),
|
|
233509
233603
|
on: zod.z.boolean()
|
|
233510
233604
|
}), zod.z.void(), {
|
|
233511
233605
|
kind: "mutation",
|
|
233512
|
-
auth: "
|
|
233606
|
+
auth: "protected"
|
|
233513
233607
|
}),
|
|
233514
233608
|
setSwingHorizontal: require_sleep.method(zod.z.object({
|
|
233515
233609
|
deviceId: zod.z.number().int().nonnegative(),
|
|
233516
233610
|
on: zod.z.boolean()
|
|
233517
233611
|
}), zod.z.void(), {
|
|
233518
233612
|
kind: "mutation",
|
|
233519
|
-
auth: "
|
|
233613
|
+
auth: "protected"
|
|
233520
233614
|
})
|
|
233521
233615
|
},
|
|
233522
233616
|
status: {
|
|
@@ -233592,7 +233686,7 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
233592
233686
|
color: ColorInputSchema
|
|
233593
233687
|
}), zod.z.void(), {
|
|
233594
233688
|
kind: "mutation",
|
|
233595
|
-
auth: "
|
|
233689
|
+
auth: "protected"
|
|
233596
233690
|
}) },
|
|
233597
233691
|
events: {
|
|
233598
233692
|
/**
|
|
@@ -233873,7 +233967,7 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
233873
233967
|
control: ControlSetValueInputSchema
|
|
233874
233968
|
}), zod.z.void(), {
|
|
233875
233969
|
kind: "mutation",
|
|
233876
|
-
auth: "
|
|
233970
|
+
auth: "protected"
|
|
233877
233971
|
}) },
|
|
233878
233972
|
status: {
|
|
233879
233973
|
schema: ControlStatusSchema,
|
|
@@ -233920,29 +234014,29 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
233920
234014
|
methods: {
|
|
233921
234015
|
open: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
233922
234016
|
kind: "mutation",
|
|
233923
|
-
auth: "
|
|
234017
|
+
auth: "protected"
|
|
233924
234018
|
}),
|
|
233925
234019
|
close: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
233926
234020
|
kind: "mutation",
|
|
233927
|
-
auth: "
|
|
234021
|
+
auth: "protected"
|
|
233928
234022
|
}),
|
|
233929
234023
|
stop: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
233930
234024
|
kind: "mutation",
|
|
233931
|
-
auth: "
|
|
234025
|
+
auth: "protected"
|
|
233932
234026
|
}),
|
|
233933
234027
|
setPosition: require_sleep.method(zod.z.object({
|
|
233934
234028
|
deviceId: zod.z.number().int().nonnegative(),
|
|
233935
234029
|
position: zod.z.number().min(0).max(100)
|
|
233936
234030
|
}), zod.z.void(), {
|
|
233937
234031
|
kind: "mutation",
|
|
233938
|
-
auth: "
|
|
234032
|
+
auth: "protected"
|
|
233939
234033
|
}),
|
|
233940
234034
|
setTiltPosition: require_sleep.method(zod.z.object({
|
|
233941
234035
|
deviceId: zod.z.number().int().nonnegative(),
|
|
233942
234036
|
tiltPosition: zod.z.number().min(0).max(100)
|
|
233943
234037
|
}), zod.z.void(), {
|
|
233944
234038
|
kind: "mutation",
|
|
233945
|
-
auth: "
|
|
234039
|
+
auth: "protected"
|
|
233946
234040
|
})
|
|
233947
234041
|
},
|
|
233948
234042
|
status: {
|
|
@@ -234623,28 +234717,28 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
234623
234717
|
percentage: zod.z.number().min(0).max(100)
|
|
234624
234718
|
}), zod.z.void(), {
|
|
234625
234719
|
kind: "mutation",
|
|
234626
|
-
auth: "
|
|
234720
|
+
auth: "protected"
|
|
234627
234721
|
}),
|
|
234628
234722
|
setPreset: require_sleep.method(zod.z.object({
|
|
234629
234723
|
deviceId: zod.z.number().int().nonnegative(),
|
|
234630
234724
|
preset: zod.z.string().min(1)
|
|
234631
234725
|
}), zod.z.void(), {
|
|
234632
234726
|
kind: "mutation",
|
|
234633
|
-
auth: "
|
|
234727
|
+
auth: "protected"
|
|
234634
234728
|
}),
|
|
234635
234729
|
setDirection: require_sleep.method(zod.z.object({
|
|
234636
234730
|
deviceId: zod.z.number().int().nonnegative(),
|
|
234637
234731
|
direction: FanDirectionSchema
|
|
234638
234732
|
}), zod.z.void(), {
|
|
234639
234733
|
kind: "mutation",
|
|
234640
|
-
auth: "
|
|
234734
|
+
auth: "protected"
|
|
234641
234735
|
}),
|
|
234642
234736
|
setOscillating: require_sleep.method(zod.z.object({
|
|
234643
234737
|
deviceId: zod.z.number().int().nonnegative(),
|
|
234644
234738
|
oscillating: zod.z.boolean()
|
|
234645
234739
|
}), zod.z.void(), {
|
|
234646
234740
|
kind: "mutation",
|
|
234647
|
-
auth: "
|
|
234741
|
+
auth: "protected"
|
|
234648
234742
|
})
|
|
234649
234743
|
},
|
|
234650
234744
|
status: {
|
|
@@ -234815,21 +234909,21 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
234815
234909
|
on: zod.z.boolean()
|
|
234816
234910
|
}), zod.z.void(), {
|
|
234817
234911
|
kind: "mutation",
|
|
234818
|
-
auth: "
|
|
234912
|
+
auth: "protected"
|
|
234819
234913
|
}),
|
|
234820
234914
|
setTargetHumidity: require_sleep.method(zod.z.object({
|
|
234821
234915
|
deviceId: zod.z.number().int().nonnegative(),
|
|
234822
234916
|
humidity: zod.z.number().min(0).max(100)
|
|
234823
234917
|
}), zod.z.void(), {
|
|
234824
234918
|
kind: "mutation",
|
|
234825
|
-
auth: "
|
|
234919
|
+
auth: "protected"
|
|
234826
234920
|
}),
|
|
234827
234921
|
setMode: require_sleep.method(zod.z.object({
|
|
234828
234922
|
deviceId: zod.z.number().int().nonnegative(),
|
|
234829
234923
|
mode: zod.z.string().min(1)
|
|
234830
234924
|
}), zod.z.void(), {
|
|
234831
234925
|
kind: "mutation",
|
|
234832
|
-
auth: "
|
|
234926
|
+
auth: "protected"
|
|
234833
234927
|
})
|
|
234834
234928
|
},
|
|
234835
234929
|
status: {
|
|
@@ -235400,15 +235494,15 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
235400
235494
|
methods: {
|
|
235401
235495
|
startMowing: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
235402
235496
|
kind: "mutation",
|
|
235403
|
-
auth: "
|
|
235497
|
+
auth: "protected"
|
|
235404
235498
|
}),
|
|
235405
235499
|
pause: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
235406
235500
|
kind: "mutation",
|
|
235407
|
-
auth: "
|
|
235501
|
+
auth: "protected"
|
|
235408
235502
|
}),
|
|
235409
235503
|
dock: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
235410
235504
|
kind: "mutation",
|
|
235411
|
-
auth: "
|
|
235505
|
+
auth: "protected"
|
|
235412
235506
|
})
|
|
235413
235507
|
},
|
|
235414
235508
|
status: {
|
|
@@ -235766,18 +235860,18 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
235766
235860
|
code: zod.z.string().min(1).optional()
|
|
235767
235861
|
}), zod.z.void(), {
|
|
235768
235862
|
kind: "mutation",
|
|
235769
|
-
auth: "
|
|
235863
|
+
auth: "protected"
|
|
235770
235864
|
}),
|
|
235771
235865
|
unlock: require_sleep.method(zod.z.object({
|
|
235772
235866
|
deviceId: zod.z.number().int().nonnegative(),
|
|
235773
235867
|
code: zod.z.string().min(1).optional()
|
|
235774
235868
|
}), zod.z.void(), {
|
|
235775
235869
|
kind: "mutation",
|
|
235776
|
-
auth: "
|
|
235870
|
+
auth: "protected"
|
|
235777
235871
|
}),
|
|
235778
235872
|
open: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
235779
235873
|
kind: "mutation",
|
|
235780
|
-
auth: "
|
|
235874
|
+
auth: "protected"
|
|
235781
235875
|
})
|
|
235782
235876
|
},
|
|
235783
235877
|
status: {
|
|
@@ -235868,65 +235962,65 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
235868
235962
|
methods: {
|
|
235869
235963
|
play: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
235870
235964
|
kind: "mutation",
|
|
235871
|
-
auth: "
|
|
235965
|
+
auth: "protected"
|
|
235872
235966
|
}),
|
|
235873
235967
|
pause: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
235874
235968
|
kind: "mutation",
|
|
235875
|
-
auth: "
|
|
235969
|
+
auth: "protected"
|
|
235876
235970
|
}),
|
|
235877
235971
|
stop: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
235878
235972
|
kind: "mutation",
|
|
235879
|
-
auth: "
|
|
235973
|
+
auth: "protected"
|
|
235880
235974
|
}),
|
|
235881
235975
|
next: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
235882
235976
|
kind: "mutation",
|
|
235883
|
-
auth: "
|
|
235977
|
+
auth: "protected"
|
|
235884
235978
|
}),
|
|
235885
235979
|
previous: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
235886
235980
|
kind: "mutation",
|
|
235887
|
-
auth: "
|
|
235981
|
+
auth: "protected"
|
|
235888
235982
|
}),
|
|
235889
235983
|
seek: require_sleep.method(zod.z.object({
|
|
235890
235984
|
deviceId: zod.z.number().int().nonnegative(),
|
|
235891
235985
|
positionMs: zod.z.number().int().nonnegative()
|
|
235892
235986
|
}), zod.z.void(), {
|
|
235893
235987
|
kind: "mutation",
|
|
235894
|
-
auth: "
|
|
235988
|
+
auth: "protected"
|
|
235895
235989
|
}),
|
|
235896
235990
|
setVolume: require_sleep.method(zod.z.object({
|
|
235897
235991
|
deviceId: zod.z.number().int().nonnegative(),
|
|
235898
235992
|
volumeLevel: zod.z.number().min(0).max(100)
|
|
235899
235993
|
}), zod.z.void(), {
|
|
235900
235994
|
kind: "mutation",
|
|
235901
|
-
auth: "
|
|
235995
|
+
auth: "protected"
|
|
235902
235996
|
}),
|
|
235903
235997
|
setMute: require_sleep.method(zod.z.object({
|
|
235904
235998
|
deviceId: zod.z.number().int().nonnegative(),
|
|
235905
235999
|
muted: zod.z.boolean()
|
|
235906
236000
|
}), zod.z.void(), {
|
|
235907
236001
|
kind: "mutation",
|
|
235908
|
-
auth: "
|
|
236002
|
+
auth: "protected"
|
|
235909
236003
|
}),
|
|
235910
236004
|
setShuffle: require_sleep.method(zod.z.object({
|
|
235911
236005
|
deviceId: zod.z.number().int().nonnegative(),
|
|
235912
236006
|
shuffle: zod.z.boolean()
|
|
235913
236007
|
}), zod.z.void(), {
|
|
235914
236008
|
kind: "mutation",
|
|
235915
|
-
auth: "
|
|
236009
|
+
auth: "protected"
|
|
235916
236010
|
}),
|
|
235917
236011
|
setRepeat: require_sleep.method(zod.z.object({
|
|
235918
236012
|
deviceId: zod.z.number().int().nonnegative(),
|
|
235919
236013
|
repeat: MediaPlayerRepeatSchema
|
|
235920
236014
|
}), zod.z.void(), {
|
|
235921
236015
|
kind: "mutation",
|
|
235922
|
-
auth: "
|
|
236016
|
+
auth: "protected"
|
|
235923
236017
|
}),
|
|
235924
236018
|
selectSource: require_sleep.method(zod.z.object({
|
|
235925
236019
|
deviceId: zod.z.number().int().nonnegative(),
|
|
235926
236020
|
source: zod.z.string().min(1)
|
|
235927
236021
|
}), zod.z.void(), {
|
|
235928
236022
|
kind: "mutation",
|
|
235929
|
-
auth: "
|
|
236023
|
+
auth: "protected"
|
|
235930
236024
|
}),
|
|
235931
236025
|
playMedia: require_sleep.method(zod.z.object({
|
|
235932
236026
|
deviceId: zod.z.number().int().nonnegative(),
|
|
@@ -235937,7 +236031,7 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
235937
236031
|
mediaType: zod.z.string().min(1)
|
|
235938
236032
|
}), zod.z.void(), {
|
|
235939
236033
|
kind: "mutation",
|
|
235940
|
-
auth: "
|
|
236034
|
+
auth: "protected"
|
|
235941
236035
|
})
|
|
235942
236036
|
},
|
|
235943
236037
|
status: {
|
|
@@ -237527,27 +237621,27 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
237527
237621
|
hopper2: gramsPortion.optional()
|
|
237528
237622
|
}), zod.z.void(), {
|
|
237529
237623
|
kind: "mutation",
|
|
237530
|
-
auth: "
|
|
237624
|
+
auth: "protected"
|
|
237531
237625
|
}),
|
|
237532
237626
|
/** Cancel an in-progress manual feed. */
|
|
237533
237627
|
cancelFeed: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
237534
237628
|
kind: "mutation",
|
|
237535
|
-
auth: "
|
|
237629
|
+
auth: "protected"
|
|
237536
237630
|
}),
|
|
237537
237631
|
/** Reset the desiccant "days remaining" counter after replacing it. */
|
|
237538
237632
|
resetDesiccant: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
237539
237633
|
kind: "mutation",
|
|
237540
|
-
auth: "
|
|
237634
|
+
auth: "protected"
|
|
237541
237635
|
}),
|
|
237542
237636
|
/** Mark a hopper as refilled (D4H/D4S/D4SH). */
|
|
237543
237637
|
markFoodReplenished: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
237544
237638
|
kind: "mutation",
|
|
237545
|
-
auth: "
|
|
237639
|
+
auth: "protected"
|
|
237546
237640
|
}),
|
|
237547
237641
|
/** Call the pet with the recorded prompt (D3). */
|
|
237548
237642
|
callPet: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
237549
237643
|
kind: "mutation",
|
|
237550
|
-
auth: "
|
|
237644
|
+
auth: "protected"
|
|
237551
237645
|
}),
|
|
237552
237646
|
/** Play a stored sound by id (D3 / D4H / D4SH). */
|
|
237553
237647
|
playSound: require_sleep.method(zod.z.object({
|
|
@@ -237555,7 +237649,7 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
237555
237649
|
soundId: zod.z.number().int().nonnegative()
|
|
237556
237650
|
}), zod.z.void(), {
|
|
237557
237651
|
kind: "mutation",
|
|
237558
|
-
auth: "
|
|
237652
|
+
auth: "protected"
|
|
237559
237653
|
}),
|
|
237560
237654
|
/** Toggle the child-lock (manual-lock) setting. */
|
|
237561
237655
|
setChildLock: require_sleep.method(zod.z.object({
|
|
@@ -237563,7 +237657,7 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
237563
237657
|
on: zod.z.boolean()
|
|
237564
237658
|
}), zod.z.void(), {
|
|
237565
237659
|
kind: "mutation",
|
|
237566
|
-
auth: "
|
|
237660
|
+
auth: "protected"
|
|
237567
237661
|
}),
|
|
237568
237662
|
/** Toggle the front indicator light. */
|
|
237569
237663
|
setIndicatorLight: require_sleep.method(zod.z.object({
|
|
@@ -237571,7 +237665,7 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
237571
237665
|
on: zod.z.boolean()
|
|
237572
237666
|
}), zod.z.void(), {
|
|
237573
237667
|
kind: "mutation",
|
|
237574
|
-
auth: "
|
|
237668
|
+
auth: "protected"
|
|
237575
237669
|
}),
|
|
237576
237670
|
/** Toggle the dispense chime. */
|
|
237577
237671
|
setFeedSound: require_sleep.method(zod.z.object({
|
|
@@ -237579,7 +237673,7 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
237579
237673
|
on: zod.z.boolean()
|
|
237580
237674
|
}), zod.z.void(), {
|
|
237581
237675
|
kind: "mutation",
|
|
237582
|
-
auth: "
|
|
237676
|
+
auth: "protected"
|
|
237583
237677
|
}),
|
|
237584
237678
|
/** Set the speaker / prompt volume level. */
|
|
237585
237679
|
setVolume: require_sleep.method(zod.z.object({
|
|
@@ -237587,7 +237681,7 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
237587
237681
|
level: zod.z.number().int().nonnegative()
|
|
237588
237682
|
}), zod.z.void(), {
|
|
237589
237683
|
kind: "mutation",
|
|
237590
|
-
auth: "
|
|
237684
|
+
auth: "protected"
|
|
237591
237685
|
})
|
|
237592
237686
|
},
|
|
237593
237687
|
status: {
|
|
@@ -239971,7 +240065,7 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
239971
240065
|
on: zod.z.boolean()
|
|
239972
240066
|
}), zod.z.void(), {
|
|
239973
240067
|
kind: "mutation",
|
|
239974
|
-
auth: "
|
|
240068
|
+
auth: "protected"
|
|
239975
240069
|
}) },
|
|
239976
240070
|
events: { onStateChanged: { data: zod.z.object({
|
|
239977
240071
|
deviceId: zod.z.number(),
|
|
@@ -240838,30 +240932,30 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
240838
240932
|
methods: {
|
|
240839
240933
|
start: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
240840
240934
|
kind: "mutation",
|
|
240841
|
-
auth: "
|
|
240935
|
+
auth: "protected"
|
|
240842
240936
|
}),
|
|
240843
240937
|
pause: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
240844
240938
|
kind: "mutation",
|
|
240845
|
-
auth: "
|
|
240939
|
+
auth: "protected"
|
|
240846
240940
|
}),
|
|
240847
240941
|
stop: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
240848
240942
|
kind: "mutation",
|
|
240849
|
-
auth: "
|
|
240943
|
+
auth: "protected"
|
|
240850
240944
|
}),
|
|
240851
240945
|
returnToBase: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
240852
240946
|
kind: "mutation",
|
|
240853
|
-
auth: "
|
|
240947
|
+
auth: "protected"
|
|
240854
240948
|
}),
|
|
240855
240949
|
locate: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
240856
240950
|
kind: "mutation",
|
|
240857
|
-
auth: "
|
|
240951
|
+
auth: "protected"
|
|
240858
240952
|
}),
|
|
240859
240953
|
setFanSpeed: require_sleep.method(zod.z.object({
|
|
240860
240954
|
deviceId: zod.z.number().int().nonnegative(),
|
|
240861
240955
|
speed: zod.z.string().min(1)
|
|
240862
240956
|
}), zod.z.void(), {
|
|
240863
240957
|
kind: "mutation",
|
|
240864
|
-
auth: "
|
|
240958
|
+
auth: "protected"
|
|
240865
240959
|
})
|
|
240866
240960
|
},
|
|
240867
240961
|
status: {
|
|
@@ -240906,22 +241000,22 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
240906
241000
|
methods: {
|
|
240907
241001
|
open: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
240908
241002
|
kind: "mutation",
|
|
240909
|
-
auth: "
|
|
241003
|
+
auth: "protected"
|
|
240910
241004
|
}),
|
|
240911
241005
|
close: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
240912
241006
|
kind: "mutation",
|
|
240913
|
-
auth: "
|
|
241007
|
+
auth: "protected"
|
|
240914
241008
|
}),
|
|
240915
241009
|
stop: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
240916
241010
|
kind: "mutation",
|
|
240917
|
-
auth: "
|
|
241011
|
+
auth: "protected"
|
|
240918
241012
|
}),
|
|
240919
241013
|
setPosition: require_sleep.method(zod.z.object({
|
|
240920
241014
|
deviceId: zod.z.number().int().nonnegative(),
|
|
240921
241015
|
position: zod.z.number().min(0).max(100)
|
|
240922
241016
|
}), zod.z.void(), {
|
|
240923
241017
|
kind: "mutation",
|
|
240924
|
-
auth: "
|
|
241018
|
+
auth: "protected"
|
|
240925
241019
|
})
|
|
240926
241020
|
},
|
|
240927
241021
|
status: {
|
|
@@ -241002,21 +241096,21 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
|
|
|
241002
241096
|
temp: zod.z.number().finite()
|
|
241003
241097
|
}), zod.z.void(), {
|
|
241004
241098
|
kind: "mutation",
|
|
241005
|
-
auth: "
|
|
241099
|
+
auth: "protected"
|
|
241006
241100
|
}),
|
|
241007
241101
|
setOperationMode: require_sleep.method(zod.z.object({
|
|
241008
241102
|
deviceId: zod.z.number().int().nonnegative(),
|
|
241009
241103
|
mode: zod.z.string().min(1)
|
|
241010
241104
|
}), zod.z.void(), {
|
|
241011
241105
|
kind: "mutation",
|
|
241012
|
-
auth: "
|
|
241106
|
+
auth: "protected"
|
|
241013
241107
|
}),
|
|
241014
241108
|
setAway: require_sleep.method(zod.z.object({
|
|
241015
241109
|
deviceId: zod.z.number().int().nonnegative(),
|
|
241016
241110
|
on: zod.z.boolean()
|
|
241017
241111
|
}), zod.z.void(), {
|
|
241018
241112
|
kind: "mutation",
|
|
241019
|
-
auth: "
|
|
241113
|
+
auth: "protected"
|
|
241020
241114
|
})
|
|
241021
241115
|
},
|
|
241022
241116
|
status: {
|