@camstack/addon-smtp-nodemailer 1.2.105 → 1.2.107
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/smtp.addon.js +187 -2
- package/dist/smtp.addon.mjs +187 -2
- package/package.json +1 -1
package/dist/smtp.addon.js
CHANGED
|
@@ -12284,7 +12284,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
12284
12284
|
* This is what lets one picker serve both the bypass and the full source
|
|
12285
12285
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
12286
12286
|
*/
|
|
12287
|
-
allowTranscode: boolean().optional()
|
|
12287
|
+
allowTranscode: boolean().optional(),
|
|
12288
|
+
/**
|
|
12289
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
12290
|
+
*
|
|
12291
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
12292
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
12293
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
12294
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
12295
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
12296
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
12297
|
+
*
|
|
12298
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
12299
|
+
* here when it decides which source to BIND to a slot
|
|
12300
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
12301
|
+
* could never bind them.
|
|
12302
|
+
*/
|
|
12303
|
+
requireProfileBound: boolean().optional()
|
|
12288
12304
|
}).readonly();
|
|
12289
12305
|
var PickStreamPreferencesSchema = object({
|
|
12290
12306
|
/**
|
|
@@ -12325,7 +12341,43 @@ var PickedCamStreamSchema = object({
|
|
|
12325
12341
|
*/
|
|
12326
12342
|
transcodes: boolean(),
|
|
12327
12343
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12328
|
-
reason: string()
|
|
12344
|
+
reason: string(),
|
|
12345
|
+
/**
|
|
12346
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
12347
|
+
*
|
|
12348
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
12349
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
12350
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
12351
|
+
* the same function a second time.
|
|
12352
|
+
*
|
|
12353
|
+
* Absent when the source has no slot, which a caller passing
|
|
12354
|
+
* `requireProfileBound` can never see.
|
|
12355
|
+
*/
|
|
12356
|
+
profile: CamProfileSchema.optional(),
|
|
12357
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
12358
|
+
brokerId: string().optional(),
|
|
12359
|
+
/**
|
|
12360
|
+
* The broker restream URL to dial for this stream.
|
|
12361
|
+
*
|
|
12362
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
12363
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
12364
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
12365
|
+
* naming a source and leaving each caller to look the URL up.
|
|
12366
|
+
*/
|
|
12367
|
+
url: string().optional(),
|
|
12368
|
+
/**
|
|
12369
|
+
* Frames per second this stream really delivers, and where the number came
|
|
12370
|
+
* from.
|
|
12371
|
+
*
|
|
12372
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
12373
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
12374
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
12375
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
12376
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
12377
|
+
* are not interchangeable.
|
|
12378
|
+
*/
|
|
12379
|
+
fps: number().positive().optional(),
|
|
12380
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
12329
12381
|
});
|
|
12330
12382
|
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), array(CameraStreamSchema).readonly()), method(object({ deviceId: number().int().nonnegative() }), array(ProfileSlotSchema).readonly()), method(object({
|
|
12331
12383
|
deviceId: number().int().nonnegative(),
|
|
@@ -13299,6 +13351,70 @@ var LocationIconAssignmentSchema = object({
|
|
|
13299
13351
|
locationKey: string(),
|
|
13300
13352
|
icon: LocationIconIdSchema
|
|
13301
13353
|
});
|
|
13354
|
+
/**
|
|
13355
|
+
* One (location, description) assignment as it travels.
|
|
13356
|
+
*
|
|
13357
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
13358
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
13359
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
13360
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
13361
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
13362
|
+
* off the location itself, on `locationIconKey`.
|
|
13363
|
+
*/
|
|
13364
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
13365
|
+
locationKey: string(),
|
|
13366
|
+
description: string()
|
|
13367
|
+
});
|
|
13368
|
+
/**
|
|
13369
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
13370
|
+
*
|
|
13371
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
13372
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
13373
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
13374
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
13375
|
+
*
|
|
13376
|
+
* ## Why not `zone`
|
|
13377
|
+
*
|
|
13378
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
13379
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
13380
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
13381
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
13382
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
13383
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
13384
|
+
*
|
|
13385
|
+
* ## The key
|
|
13386
|
+
*
|
|
13387
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
13388
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
13389
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
13390
|
+
* silently-dropped location description.
|
|
13391
|
+
*
|
|
13392
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
13393
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
13394
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
13395
|
+
*/
|
|
13396
|
+
/**
|
|
13397
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
13398
|
+
* the locations inside it.
|
|
13399
|
+
*
|
|
13400
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
13401
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
13402
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
13403
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
13404
|
+
* it has not fetched yet.
|
|
13405
|
+
*
|
|
13406
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
13407
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
13408
|
+
*/
|
|
13409
|
+
var SiteZoneSchema = object({
|
|
13410
|
+
zoneKey: string(),
|
|
13411
|
+
label: string(),
|
|
13412
|
+
icon: LocationIconIdSchema.nullable(),
|
|
13413
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
13414
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
13415
|
+
* the ones that most want grouping. */
|
|
13416
|
+
locationKeys: array(string())
|
|
13417
|
+
});
|
|
13302
13418
|
var ProviderStatusSchema = object({
|
|
13303
13419
|
connected: boolean(),
|
|
13304
13420
|
deviceCount: number(),
|
|
@@ -13816,6 +13932,33 @@ method(object({
|
|
|
13816
13932
|
}), _void(), {
|
|
13817
13933
|
kind: "mutation",
|
|
13818
13934
|
auth: "admin"
|
|
13935
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
13936
|
+
location: string(),
|
|
13937
|
+
description: string().max(400).nullable()
|
|
13938
|
+
}), _void(), {
|
|
13939
|
+
kind: "mutation",
|
|
13940
|
+
auth: "admin"
|
|
13941
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
13942
|
+
name: string(),
|
|
13943
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
13944
|
+
}), _void(), {
|
|
13945
|
+
kind: "mutation",
|
|
13946
|
+
auth: "admin"
|
|
13947
|
+
}), method(object({ name: string() }), _void(), {
|
|
13948
|
+
kind: "mutation",
|
|
13949
|
+
auth: "admin"
|
|
13950
|
+
}), method(object({
|
|
13951
|
+
from: string(),
|
|
13952
|
+
to: string()
|
|
13953
|
+
}), _void(), {
|
|
13954
|
+
kind: "mutation",
|
|
13955
|
+
auth: "admin"
|
|
13956
|
+
}), method(object({
|
|
13957
|
+
location: string(),
|
|
13958
|
+
zone: string().nullable()
|
|
13959
|
+
}), _void(), {
|
|
13960
|
+
kind: "mutation",
|
|
13961
|
+
auth: "admin"
|
|
13819
13962
|
}), method(object({
|
|
13820
13963
|
deviceId: number(),
|
|
13821
13964
|
disabled: boolean()
|
|
@@ -32652,6 +32795,12 @@ Object.freeze({
|
|
|
32652
32795
|
addonId: null,
|
|
32653
32796
|
access: "view"
|
|
32654
32797
|
},
|
|
32798
|
+
"deviceManager.listLocationDescriptions": {
|
|
32799
|
+
capName: "device-manager",
|
|
32800
|
+
capScope: "system",
|
|
32801
|
+
addonId: null,
|
|
32802
|
+
access: "view"
|
|
32803
|
+
},
|
|
32655
32804
|
"deviceManager.listLocationIcons": {
|
|
32656
32805
|
capName: "device-manager",
|
|
32657
32806
|
capScope: "system",
|
|
@@ -32670,6 +32819,12 @@ Object.freeze({
|
|
|
32670
32819
|
addonId: null,
|
|
32671
32820
|
access: "view"
|
|
32672
32821
|
},
|
|
32822
|
+
"deviceManager.listSiteZones": {
|
|
32823
|
+
capName: "device-manager",
|
|
32824
|
+
capScope: "system",
|
|
32825
|
+
addonId: null,
|
|
32826
|
+
access: "view"
|
|
32827
|
+
},
|
|
32673
32828
|
"deviceManager.listWrappersForCap": {
|
|
32674
32829
|
capName: "device-manager",
|
|
32675
32830
|
capScope: "system",
|
|
@@ -32754,12 +32909,24 @@ Object.freeze({
|
|
|
32754
32909
|
addonId: null,
|
|
32755
32910
|
access: "delete"
|
|
32756
32911
|
},
|
|
32912
|
+
"deviceManager.removeSiteZone": {
|
|
32913
|
+
capName: "device-manager",
|
|
32914
|
+
capScope: "system",
|
|
32915
|
+
addonId: null,
|
|
32916
|
+
access: "delete"
|
|
32917
|
+
},
|
|
32757
32918
|
"deviceManager.renameLocation": {
|
|
32758
32919
|
capName: "device-manager",
|
|
32759
32920
|
capScope: "system",
|
|
32760
32921
|
addonId: null,
|
|
32761
32922
|
access: "create"
|
|
32762
32923
|
},
|
|
32924
|
+
"deviceManager.renameSiteZone": {
|
|
32925
|
+
capName: "device-manager",
|
|
32926
|
+
capScope: "system",
|
|
32927
|
+
addonId: null,
|
|
32928
|
+
access: "create"
|
|
32929
|
+
},
|
|
32763
32930
|
"deviceManager.runDeviceAction": {
|
|
32764
32931
|
capName: "device-manager",
|
|
32765
32932
|
capScope: "system",
|
|
@@ -32802,12 +32969,24 @@ Object.freeze({
|
|
|
32802
32969
|
addonId: null,
|
|
32803
32970
|
access: "create"
|
|
32804
32971
|
},
|
|
32972
|
+
"deviceManager.setLocationDescription": {
|
|
32973
|
+
capName: "device-manager",
|
|
32974
|
+
capScope: "system",
|
|
32975
|
+
addonId: null,
|
|
32976
|
+
access: "create"
|
|
32977
|
+
},
|
|
32805
32978
|
"deviceManager.setLocationIcon": {
|
|
32806
32979
|
capName: "device-manager",
|
|
32807
32980
|
capScope: "system",
|
|
32808
32981
|
addonId: null,
|
|
32809
32982
|
access: "create"
|
|
32810
32983
|
},
|
|
32984
|
+
"deviceManager.setLocationZone": {
|
|
32985
|
+
capName: "device-manager",
|
|
32986
|
+
capScope: "system",
|
|
32987
|
+
addonId: null,
|
|
32988
|
+
access: "create"
|
|
32989
|
+
},
|
|
32811
32990
|
"deviceManager.setMetadata": {
|
|
32812
32991
|
capName: "device-manager",
|
|
32813
32992
|
capScope: "system",
|
|
@@ -32838,6 +33017,12 @@ Object.freeze({
|
|
|
32838
33017
|
addonId: null,
|
|
32839
33018
|
access: "create"
|
|
32840
33019
|
},
|
|
33020
|
+
"deviceManager.setSiteZone": {
|
|
33021
|
+
capName: "device-manager",
|
|
33022
|
+
capScope: "system",
|
|
33023
|
+
addonId: null,
|
|
33024
|
+
access: "create"
|
|
33025
|
+
},
|
|
32841
33026
|
"deviceManager.setStreamProfileMap": {
|
|
32842
33027
|
capName: "device-manager",
|
|
32843
33028
|
capScope: "system",
|
package/dist/smtp.addon.mjs
CHANGED
|
@@ -12282,7 +12282,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
12282
12282
|
* This is what lets one picker serve both the bypass and the full source
|
|
12283
12283
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
12284
12284
|
*/
|
|
12285
|
-
allowTranscode: boolean().optional()
|
|
12285
|
+
allowTranscode: boolean().optional(),
|
|
12286
|
+
/**
|
|
12287
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
12288
|
+
*
|
|
12289
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
12290
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
12291
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
12292
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
12293
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
12294
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
12295
|
+
*
|
|
12296
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
12297
|
+
* here when it decides which source to BIND to a slot
|
|
12298
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
12299
|
+
* could never bind them.
|
|
12300
|
+
*/
|
|
12301
|
+
requireProfileBound: boolean().optional()
|
|
12286
12302
|
}).readonly();
|
|
12287
12303
|
var PickStreamPreferencesSchema = object({
|
|
12288
12304
|
/**
|
|
@@ -12323,7 +12339,43 @@ var PickedCamStreamSchema = object({
|
|
|
12323
12339
|
*/
|
|
12324
12340
|
transcodes: boolean(),
|
|
12325
12341
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12326
|
-
reason: string()
|
|
12342
|
+
reason: string(),
|
|
12343
|
+
/**
|
|
12344
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
12345
|
+
*
|
|
12346
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
12347
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
12348
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
12349
|
+
* the same function a second time.
|
|
12350
|
+
*
|
|
12351
|
+
* Absent when the source has no slot, which a caller passing
|
|
12352
|
+
* `requireProfileBound` can never see.
|
|
12353
|
+
*/
|
|
12354
|
+
profile: CamProfileSchema.optional(),
|
|
12355
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
12356
|
+
brokerId: string().optional(),
|
|
12357
|
+
/**
|
|
12358
|
+
* The broker restream URL to dial for this stream.
|
|
12359
|
+
*
|
|
12360
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
12361
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
12362
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
12363
|
+
* naming a source and leaving each caller to look the URL up.
|
|
12364
|
+
*/
|
|
12365
|
+
url: string().optional(),
|
|
12366
|
+
/**
|
|
12367
|
+
* Frames per second this stream really delivers, and where the number came
|
|
12368
|
+
* from.
|
|
12369
|
+
*
|
|
12370
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
12371
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
12372
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
12373
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
12374
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
12375
|
+
* are not interchangeable.
|
|
12376
|
+
*/
|
|
12377
|
+
fps: number().positive().optional(),
|
|
12378
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
12327
12379
|
});
|
|
12328
12380
|
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), array(CameraStreamSchema).readonly()), method(object({ deviceId: number().int().nonnegative() }), array(ProfileSlotSchema).readonly()), method(object({
|
|
12329
12381
|
deviceId: number().int().nonnegative(),
|
|
@@ -13297,6 +13349,70 @@ var LocationIconAssignmentSchema = object({
|
|
|
13297
13349
|
locationKey: string(),
|
|
13298
13350
|
icon: LocationIconIdSchema
|
|
13299
13351
|
});
|
|
13352
|
+
/**
|
|
13353
|
+
* One (location, description) assignment as it travels.
|
|
13354
|
+
*
|
|
13355
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
13356
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
13357
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
13358
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
13359
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
13360
|
+
* off the location itself, on `locationIconKey`.
|
|
13361
|
+
*/
|
|
13362
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
13363
|
+
locationKey: string(),
|
|
13364
|
+
description: string()
|
|
13365
|
+
});
|
|
13366
|
+
/**
|
|
13367
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
13368
|
+
*
|
|
13369
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
13370
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
13371
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
13372
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
13373
|
+
*
|
|
13374
|
+
* ## Why not `zone`
|
|
13375
|
+
*
|
|
13376
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
13377
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
13378
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
13379
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
13380
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
13381
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
13382
|
+
*
|
|
13383
|
+
* ## The key
|
|
13384
|
+
*
|
|
13385
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
13386
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
13387
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
13388
|
+
* silently-dropped location description.
|
|
13389
|
+
*
|
|
13390
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
13391
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
13392
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
13393
|
+
*/
|
|
13394
|
+
/**
|
|
13395
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
13396
|
+
* the locations inside it.
|
|
13397
|
+
*
|
|
13398
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
13399
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
13400
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
13401
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
13402
|
+
* it has not fetched yet.
|
|
13403
|
+
*
|
|
13404
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
13405
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
13406
|
+
*/
|
|
13407
|
+
var SiteZoneSchema = object({
|
|
13408
|
+
zoneKey: string(),
|
|
13409
|
+
label: string(),
|
|
13410
|
+
icon: LocationIconIdSchema.nullable(),
|
|
13411
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
13412
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
13413
|
+
* the ones that most want grouping. */
|
|
13414
|
+
locationKeys: array(string())
|
|
13415
|
+
});
|
|
13300
13416
|
var ProviderStatusSchema = object({
|
|
13301
13417
|
connected: boolean(),
|
|
13302
13418
|
deviceCount: number(),
|
|
@@ -13814,6 +13930,33 @@ method(object({
|
|
|
13814
13930
|
}), _void(), {
|
|
13815
13931
|
kind: "mutation",
|
|
13816
13932
|
auth: "admin"
|
|
13933
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
13934
|
+
location: string(),
|
|
13935
|
+
description: string().max(400).nullable()
|
|
13936
|
+
}), _void(), {
|
|
13937
|
+
kind: "mutation",
|
|
13938
|
+
auth: "admin"
|
|
13939
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
13940
|
+
name: string(),
|
|
13941
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
13942
|
+
}), _void(), {
|
|
13943
|
+
kind: "mutation",
|
|
13944
|
+
auth: "admin"
|
|
13945
|
+
}), method(object({ name: string() }), _void(), {
|
|
13946
|
+
kind: "mutation",
|
|
13947
|
+
auth: "admin"
|
|
13948
|
+
}), method(object({
|
|
13949
|
+
from: string(),
|
|
13950
|
+
to: string()
|
|
13951
|
+
}), _void(), {
|
|
13952
|
+
kind: "mutation",
|
|
13953
|
+
auth: "admin"
|
|
13954
|
+
}), method(object({
|
|
13955
|
+
location: string(),
|
|
13956
|
+
zone: string().nullable()
|
|
13957
|
+
}), _void(), {
|
|
13958
|
+
kind: "mutation",
|
|
13959
|
+
auth: "admin"
|
|
13817
13960
|
}), method(object({
|
|
13818
13961
|
deviceId: number(),
|
|
13819
13962
|
disabled: boolean()
|
|
@@ -32650,6 +32793,12 @@ Object.freeze({
|
|
|
32650
32793
|
addonId: null,
|
|
32651
32794
|
access: "view"
|
|
32652
32795
|
},
|
|
32796
|
+
"deviceManager.listLocationDescriptions": {
|
|
32797
|
+
capName: "device-manager",
|
|
32798
|
+
capScope: "system",
|
|
32799
|
+
addonId: null,
|
|
32800
|
+
access: "view"
|
|
32801
|
+
},
|
|
32653
32802
|
"deviceManager.listLocationIcons": {
|
|
32654
32803
|
capName: "device-manager",
|
|
32655
32804
|
capScope: "system",
|
|
@@ -32668,6 +32817,12 @@ Object.freeze({
|
|
|
32668
32817
|
addonId: null,
|
|
32669
32818
|
access: "view"
|
|
32670
32819
|
},
|
|
32820
|
+
"deviceManager.listSiteZones": {
|
|
32821
|
+
capName: "device-manager",
|
|
32822
|
+
capScope: "system",
|
|
32823
|
+
addonId: null,
|
|
32824
|
+
access: "view"
|
|
32825
|
+
},
|
|
32671
32826
|
"deviceManager.listWrappersForCap": {
|
|
32672
32827
|
capName: "device-manager",
|
|
32673
32828
|
capScope: "system",
|
|
@@ -32752,12 +32907,24 @@ Object.freeze({
|
|
|
32752
32907
|
addonId: null,
|
|
32753
32908
|
access: "delete"
|
|
32754
32909
|
},
|
|
32910
|
+
"deviceManager.removeSiteZone": {
|
|
32911
|
+
capName: "device-manager",
|
|
32912
|
+
capScope: "system",
|
|
32913
|
+
addonId: null,
|
|
32914
|
+
access: "delete"
|
|
32915
|
+
},
|
|
32755
32916
|
"deviceManager.renameLocation": {
|
|
32756
32917
|
capName: "device-manager",
|
|
32757
32918
|
capScope: "system",
|
|
32758
32919
|
addonId: null,
|
|
32759
32920
|
access: "create"
|
|
32760
32921
|
},
|
|
32922
|
+
"deviceManager.renameSiteZone": {
|
|
32923
|
+
capName: "device-manager",
|
|
32924
|
+
capScope: "system",
|
|
32925
|
+
addonId: null,
|
|
32926
|
+
access: "create"
|
|
32927
|
+
},
|
|
32761
32928
|
"deviceManager.runDeviceAction": {
|
|
32762
32929
|
capName: "device-manager",
|
|
32763
32930
|
capScope: "system",
|
|
@@ -32800,12 +32967,24 @@ Object.freeze({
|
|
|
32800
32967
|
addonId: null,
|
|
32801
32968
|
access: "create"
|
|
32802
32969
|
},
|
|
32970
|
+
"deviceManager.setLocationDescription": {
|
|
32971
|
+
capName: "device-manager",
|
|
32972
|
+
capScope: "system",
|
|
32973
|
+
addonId: null,
|
|
32974
|
+
access: "create"
|
|
32975
|
+
},
|
|
32803
32976
|
"deviceManager.setLocationIcon": {
|
|
32804
32977
|
capName: "device-manager",
|
|
32805
32978
|
capScope: "system",
|
|
32806
32979
|
addonId: null,
|
|
32807
32980
|
access: "create"
|
|
32808
32981
|
},
|
|
32982
|
+
"deviceManager.setLocationZone": {
|
|
32983
|
+
capName: "device-manager",
|
|
32984
|
+
capScope: "system",
|
|
32985
|
+
addonId: null,
|
|
32986
|
+
access: "create"
|
|
32987
|
+
},
|
|
32809
32988
|
"deviceManager.setMetadata": {
|
|
32810
32989
|
capName: "device-manager",
|
|
32811
32990
|
capScope: "system",
|
|
@@ -32836,6 +33015,12 @@ Object.freeze({
|
|
|
32836
33015
|
addonId: null,
|
|
32837
33016
|
access: "create"
|
|
32838
33017
|
},
|
|
33018
|
+
"deviceManager.setSiteZone": {
|
|
33019
|
+
capName: "device-manager",
|
|
33020
|
+
capScope: "system",
|
|
33021
|
+
addonId: null,
|
|
33022
|
+
access: "create"
|
|
33023
|
+
},
|
|
32839
33024
|
"deviceManager.setStreamProfileMap": {
|
|
32840
33025
|
capName: "device-manager",
|
|
32841
33026
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-smtp-nodemailer",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.107",
|
|
4
4
|
"description": "SMTP email provider addon for CamStack — wraps `nodemailer` and registers a `smtp-provider` cap collection entry. Used by magic-link login + notifier addons.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|