@camstack/addon-smtp-nodemailer 1.2.71 → 1.2.73
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 +87 -1
- package/dist/smtp.addon.mjs +87 -1
- package/package.json +1 -1
package/dist/smtp.addon.js
CHANGED
|
@@ -6482,6 +6482,21 @@ var CameraStreamSchema = object({
|
|
|
6482
6482
|
*/
|
|
6483
6483
|
autoEligible: boolean().optional(),
|
|
6484
6484
|
/**
|
|
6485
|
+
* The profile slot the PUBLISHER says this stream is: `low` for a stream
|
|
6486
|
+
* whose only sensible role is the low-bandwidth one, `high` for a main
|
|
6487
|
+
* stream. Consulted by the broker's automatic ranking
|
|
6488
|
+
* (`rankInitialAssignment`) BEFORE the pixel-count heuristic, and only there:
|
|
6489
|
+
* an operator's manual assignment still wins, and an absent hint is the
|
|
6490
|
+
* pixel-ranked default every camera had before this field existed.
|
|
6491
|
+
*
|
|
6492
|
+
* Why it exists: a camera with ONE stream ranked to `mid` — the slot no
|
|
6493
|
+
* storage class is written for on its own (`recordings` is high|mid,
|
|
6494
|
+
* `recordingsLow` is low) and the one profile scrub does not read. The robot
|
|
6495
|
+
* camera's single 720p relay is a `low` in every respect except the slot the
|
|
6496
|
+
* heuristic put it in.
|
|
6497
|
+
*/
|
|
6498
|
+
profileHint: CamProfileSchema.optional(),
|
|
6499
|
+
/**
|
|
6485
6500
|
* Transport-specific opaque metadata. The broker passes it through to
|
|
6486
6501
|
* the source reader without inspecting it. Currently used by
|
|
6487
6502
|
* `pull-rfc4571` streams to carry the upstream SDP (so the reader can
|
|
@@ -7915,7 +7930,22 @@ var RecordingTriggersSchema = object({
|
|
|
7915
7930
|
* il livello: un contatto trovato già aperto al riavvio del runner non fa
|
|
7916
7931
|
* registrare.
|
|
7917
7932
|
*/
|
|
7918
|
-
sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional()
|
|
7933
|
+
sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional(),
|
|
7934
|
+
/**
|
|
7935
|
+
* La camera registra per tutta la durata del SEGNALE che lei stessa
|
|
7936
|
+
* pubblica — la cap `recording-signal` (`active: true` mentre il device è in
|
|
7937
|
+
* funzione: un robot che pulisce). È un LIVELLO, non un fronte: la finestra
|
|
7938
|
+
* resta aperta finché il segnale è alto e si chiude `postBufferSec` dopo la
|
|
7939
|
+
* caduta, così una pulizia di quaranta minuti è UNA clip.
|
|
7940
|
+
*
|
|
7941
|
+
* Non nomina un device: il segnale è della camera stessa, tenuto fresco dal
|
|
7942
|
+
* suo provider (D224); il recorder lo ascolta su `DeviceStateChanged` e lo
|
|
7943
|
+
* riconcilia leggendo la slice via RPC, con un tetto oltre il quale un
|
|
7944
|
+
* segnale mai abbassato (un evento perso) non può tenere aperta una
|
|
7945
|
+
* registrazione (D11). Vedi `recorder/addon/band-decision.ts`
|
|
7946
|
+
* (`holdTrigger` / `releaseTrigger`).
|
|
7947
|
+
*/
|
|
7948
|
+
deviceSignal: boolean().optional()
|
|
7919
7949
|
});
|
|
7920
7950
|
/**
|
|
7921
7951
|
* Mode of a single recording band — the recorder per-band vocabulary.
|
|
@@ -11379,6 +11409,8 @@ method(object({
|
|
|
11379
11409
|
label: string().optional(),
|
|
11380
11410
|
deviceFeatures: array(string()).optional(),
|
|
11381
11411
|
autoEligible: boolean().optional(),
|
|
11412
|
+
/** The slot the publisher says this stream IS — see `CameraStreamSchema.profileHint`. */
|
|
11413
|
+
profileHint: CamProfileSchema.optional(),
|
|
11382
11414
|
metadata: record(string(), unknown()).optional(),
|
|
11383
11415
|
/** Required when kind === 'derived' — the source camStreamId the
|
|
11384
11416
|
* derived broker reads its encoded plane from.
|
|
@@ -27701,6 +27733,47 @@ method(object({
|
|
|
27701
27733
|
auth: "protected"
|
|
27702
27734
|
});
|
|
27703
27735
|
/**
|
|
27736
|
+
* A camera's own "record me NOW" LEVEL — a signal the device raises while
|
|
27737
|
+
* something it knows about is happening (a robot vacuum cleaning, a machine
|
|
27738
|
+
* running, a gate open) and lowers when it stops.
|
|
27739
|
+
*
|
|
27740
|
+
* It is a level, not an edge. The sensor triggers the recorder already listens
|
|
27741
|
+
* to (`SOURCE_CAP_ACTIVE_FIELD`) fire on a rising edge and record for a fixed
|
|
27742
|
+
* post-buffer; a cleaning lasts forty minutes, and forty minutes of "this is
|
|
27743
|
+
* still happening" cannot be expressed as an edge plus a post-buffer without
|
|
27744
|
+
* either re-triggering on a timer (polling — D224 forbids the consumer keeping
|
|
27745
|
+
* the fact fresh) or picking a post-buffer long enough to cover every job,
|
|
27746
|
+
* which records the dock for that long after every short one. So the recorder
|
|
27747
|
+
* reads the LEVEL: it records for as long as `active` is true, plus the band's
|
|
27748
|
+
* own post-buffer once it falls.
|
|
27749
|
+
*
|
|
27750
|
+
* Who owns the fact: the PROVIDER of the device, which already reads the state
|
|
27751
|
+
* the signal is derived from (the vacuum's lifecycle state, for Dreame). It
|
|
27752
|
+
* writes this slice on every change; consumers subscribe to the kernel's
|
|
27753
|
+
* `DeviceStateChanged` for it and read it back through
|
|
27754
|
+
* `deviceState.getCapSlice` to reconcile — never a second copy, never a poll
|
|
27755
|
+
* against the device (D224, D8/D11).
|
|
27756
|
+
*
|
|
27757
|
+
* Deliberately NOT a `binary` sensor on the camera: a binary sensor is exported
|
|
27758
|
+
* to Home Assistant, HomeKit and the sensor picker as a thing an operator can
|
|
27759
|
+
* bind, and "the camera wants to record" is not a room sensor. It is a fact
|
|
27760
|
+
* about the camera, on the camera.
|
|
27761
|
+
*/
|
|
27762
|
+
var RecordingSignalStatusSchema = object({
|
|
27763
|
+
/** True while the device asks to be recorded. */
|
|
27764
|
+
active: boolean(),
|
|
27765
|
+
/**
|
|
27766
|
+
* Why, in the provider's own vocabulary (a vacuum's `cleaning` / `docked`,
|
|
27767
|
+
* …). Free text for the log line and the UI badge; the recorder never
|
|
27768
|
+
* branches on it.
|
|
27769
|
+
*/
|
|
27770
|
+
reason: string(),
|
|
27771
|
+
/** Ms epoch of the last `active` transition. 0 if never observed. */
|
|
27772
|
+
lastChangedAt: number()
|
|
27773
|
+
});
|
|
27774
|
+
RecordingSignalStatusSchema.extend({ lastFetchedAt: number() });
|
|
27775
|
+
DeviceType.Camera, method(object({ deviceId: number() }), RecordingSignalStatusSchema);
|
|
27776
|
+
/**
|
|
27704
27777
|
* scene-monitor — device-scoped reference-region state cap. An operator marks
|
|
27705
27778
|
* a rect ROI on a camera frame and names one or more states; the engine
|
|
27706
27779
|
* (pipeline-analytics, designated post-processing node) reports which state is
|
|
@@ -28073,6 +28146,8 @@ var CamStreamDescriptorSchema = object({
|
|
|
28073
28146
|
deviceFeatures: array(string()).optional(),
|
|
28074
28147
|
/** Eligible for automatic profile assignment. Absent = `true`. */
|
|
28075
28148
|
autoEligible: boolean().optional(),
|
|
28149
|
+
/** The slot the publisher says this stream IS — see `CameraStreamSchema.profileHint`. */
|
|
28150
|
+
profileHint: CamProfileSchema.optional(),
|
|
28076
28151
|
/** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
|
|
28077
28152
|
metadata: record(string(), unknown()).optional()
|
|
28078
28153
|
});
|
|
@@ -34018,6 +34093,12 @@ Object.freeze({
|
|
|
34018
34093
|
addonId: null,
|
|
34019
34094
|
access: "view"
|
|
34020
34095
|
},
|
|
34096
|
+
"recordingSignal.getStatus": {
|
|
34097
|
+
capName: "recording-signal",
|
|
34098
|
+
capScope: "device",
|
|
34099
|
+
addonId: null,
|
|
34100
|
+
access: "view"
|
|
34101
|
+
},
|
|
34021
34102
|
"sceneMonitor.captureReference": {
|
|
34022
34103
|
capName: "scene-monitor",
|
|
34023
34104
|
capScope: "device",
|
|
@@ -37010,6 +37091,11 @@ Object.freeze({
|
|
|
37010
37091
|
form: "single",
|
|
37011
37092
|
optional: true
|
|
37012
37093
|
}],
|
|
37094
|
+
"recordingSignal.getStatus": [{
|
|
37095
|
+
name: "deviceId",
|
|
37096
|
+
form: "single",
|
|
37097
|
+
optional: false
|
|
37098
|
+
}],
|
|
37013
37099
|
"sceneMonitor.captureReference": [{
|
|
37014
37100
|
name: "deviceId",
|
|
37015
37101
|
form: "single",
|
package/dist/smtp.addon.mjs
CHANGED
|
@@ -6480,6 +6480,21 @@ var CameraStreamSchema = object({
|
|
|
6480
6480
|
*/
|
|
6481
6481
|
autoEligible: boolean().optional(),
|
|
6482
6482
|
/**
|
|
6483
|
+
* The profile slot the PUBLISHER says this stream is: `low` for a stream
|
|
6484
|
+
* whose only sensible role is the low-bandwidth one, `high` for a main
|
|
6485
|
+
* stream. Consulted by the broker's automatic ranking
|
|
6486
|
+
* (`rankInitialAssignment`) BEFORE the pixel-count heuristic, and only there:
|
|
6487
|
+
* an operator's manual assignment still wins, and an absent hint is the
|
|
6488
|
+
* pixel-ranked default every camera had before this field existed.
|
|
6489
|
+
*
|
|
6490
|
+
* Why it exists: a camera with ONE stream ranked to `mid` — the slot no
|
|
6491
|
+
* storage class is written for on its own (`recordings` is high|mid,
|
|
6492
|
+
* `recordingsLow` is low) and the one profile scrub does not read. The robot
|
|
6493
|
+
* camera's single 720p relay is a `low` in every respect except the slot the
|
|
6494
|
+
* heuristic put it in.
|
|
6495
|
+
*/
|
|
6496
|
+
profileHint: CamProfileSchema.optional(),
|
|
6497
|
+
/**
|
|
6483
6498
|
* Transport-specific opaque metadata. The broker passes it through to
|
|
6484
6499
|
* the source reader without inspecting it. Currently used by
|
|
6485
6500
|
* `pull-rfc4571` streams to carry the upstream SDP (so the reader can
|
|
@@ -7913,7 +7928,22 @@ var RecordingTriggersSchema = object({
|
|
|
7913
7928
|
* il livello: un contatto trovato già aperto al riavvio del runner non fa
|
|
7914
7929
|
* registrare.
|
|
7915
7930
|
*/
|
|
7916
|
-
sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional()
|
|
7931
|
+
sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional(),
|
|
7932
|
+
/**
|
|
7933
|
+
* La camera registra per tutta la durata del SEGNALE che lei stessa
|
|
7934
|
+
* pubblica — la cap `recording-signal` (`active: true` mentre il device è in
|
|
7935
|
+
* funzione: un robot che pulisce). È un LIVELLO, non un fronte: la finestra
|
|
7936
|
+
* resta aperta finché il segnale è alto e si chiude `postBufferSec` dopo la
|
|
7937
|
+
* caduta, così una pulizia di quaranta minuti è UNA clip.
|
|
7938
|
+
*
|
|
7939
|
+
* Non nomina un device: il segnale è della camera stessa, tenuto fresco dal
|
|
7940
|
+
* suo provider (D224); il recorder lo ascolta su `DeviceStateChanged` e lo
|
|
7941
|
+
* riconcilia leggendo la slice via RPC, con un tetto oltre il quale un
|
|
7942
|
+
* segnale mai abbassato (un evento perso) non può tenere aperta una
|
|
7943
|
+
* registrazione (D11). Vedi `recorder/addon/band-decision.ts`
|
|
7944
|
+
* (`holdTrigger` / `releaseTrigger`).
|
|
7945
|
+
*/
|
|
7946
|
+
deviceSignal: boolean().optional()
|
|
7917
7947
|
});
|
|
7918
7948
|
/**
|
|
7919
7949
|
* Mode of a single recording band — the recorder per-band vocabulary.
|
|
@@ -11377,6 +11407,8 @@ method(object({
|
|
|
11377
11407
|
label: string().optional(),
|
|
11378
11408
|
deviceFeatures: array(string()).optional(),
|
|
11379
11409
|
autoEligible: boolean().optional(),
|
|
11410
|
+
/** The slot the publisher says this stream IS — see `CameraStreamSchema.profileHint`. */
|
|
11411
|
+
profileHint: CamProfileSchema.optional(),
|
|
11380
11412
|
metadata: record(string(), unknown()).optional(),
|
|
11381
11413
|
/** Required when kind === 'derived' — the source camStreamId the
|
|
11382
11414
|
* derived broker reads its encoded plane from.
|
|
@@ -27699,6 +27731,47 @@ method(object({
|
|
|
27699
27731
|
auth: "protected"
|
|
27700
27732
|
});
|
|
27701
27733
|
/**
|
|
27734
|
+
* A camera's own "record me NOW" LEVEL — a signal the device raises while
|
|
27735
|
+
* something it knows about is happening (a robot vacuum cleaning, a machine
|
|
27736
|
+
* running, a gate open) and lowers when it stops.
|
|
27737
|
+
*
|
|
27738
|
+
* It is a level, not an edge. The sensor triggers the recorder already listens
|
|
27739
|
+
* to (`SOURCE_CAP_ACTIVE_FIELD`) fire on a rising edge and record for a fixed
|
|
27740
|
+
* post-buffer; a cleaning lasts forty minutes, and forty minutes of "this is
|
|
27741
|
+
* still happening" cannot be expressed as an edge plus a post-buffer without
|
|
27742
|
+
* either re-triggering on a timer (polling — D224 forbids the consumer keeping
|
|
27743
|
+
* the fact fresh) or picking a post-buffer long enough to cover every job,
|
|
27744
|
+
* which records the dock for that long after every short one. So the recorder
|
|
27745
|
+
* reads the LEVEL: it records for as long as `active` is true, plus the band's
|
|
27746
|
+
* own post-buffer once it falls.
|
|
27747
|
+
*
|
|
27748
|
+
* Who owns the fact: the PROVIDER of the device, which already reads the state
|
|
27749
|
+
* the signal is derived from (the vacuum's lifecycle state, for Dreame). It
|
|
27750
|
+
* writes this slice on every change; consumers subscribe to the kernel's
|
|
27751
|
+
* `DeviceStateChanged` for it and read it back through
|
|
27752
|
+
* `deviceState.getCapSlice` to reconcile — never a second copy, never a poll
|
|
27753
|
+
* against the device (D224, D8/D11).
|
|
27754
|
+
*
|
|
27755
|
+
* Deliberately NOT a `binary` sensor on the camera: a binary sensor is exported
|
|
27756
|
+
* to Home Assistant, HomeKit and the sensor picker as a thing an operator can
|
|
27757
|
+
* bind, and "the camera wants to record" is not a room sensor. It is a fact
|
|
27758
|
+
* about the camera, on the camera.
|
|
27759
|
+
*/
|
|
27760
|
+
var RecordingSignalStatusSchema = object({
|
|
27761
|
+
/** True while the device asks to be recorded. */
|
|
27762
|
+
active: boolean(),
|
|
27763
|
+
/**
|
|
27764
|
+
* Why, in the provider's own vocabulary (a vacuum's `cleaning` / `docked`,
|
|
27765
|
+
* …). Free text for the log line and the UI badge; the recorder never
|
|
27766
|
+
* branches on it.
|
|
27767
|
+
*/
|
|
27768
|
+
reason: string(),
|
|
27769
|
+
/** Ms epoch of the last `active` transition. 0 if never observed. */
|
|
27770
|
+
lastChangedAt: number()
|
|
27771
|
+
});
|
|
27772
|
+
RecordingSignalStatusSchema.extend({ lastFetchedAt: number() });
|
|
27773
|
+
DeviceType.Camera, method(object({ deviceId: number() }), RecordingSignalStatusSchema);
|
|
27774
|
+
/**
|
|
27702
27775
|
* scene-monitor — device-scoped reference-region state cap. An operator marks
|
|
27703
27776
|
* a rect ROI on a camera frame and names one or more states; the engine
|
|
27704
27777
|
* (pipeline-analytics, designated post-processing node) reports which state is
|
|
@@ -28071,6 +28144,8 @@ var CamStreamDescriptorSchema = object({
|
|
|
28071
28144
|
deviceFeatures: array(string()).optional(),
|
|
28072
28145
|
/** Eligible for automatic profile assignment. Absent = `true`. */
|
|
28073
28146
|
autoEligible: boolean().optional(),
|
|
28147
|
+
/** The slot the publisher says this stream IS — see `CameraStreamSchema.profileHint`. */
|
|
28148
|
+
profileHint: CamProfileSchema.optional(),
|
|
28074
28149
|
/** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
|
|
28075
28150
|
metadata: record(string(), unknown()).optional()
|
|
28076
28151
|
});
|
|
@@ -34016,6 +34091,12 @@ Object.freeze({
|
|
|
34016
34091
|
addonId: null,
|
|
34017
34092
|
access: "view"
|
|
34018
34093
|
},
|
|
34094
|
+
"recordingSignal.getStatus": {
|
|
34095
|
+
capName: "recording-signal",
|
|
34096
|
+
capScope: "device",
|
|
34097
|
+
addonId: null,
|
|
34098
|
+
access: "view"
|
|
34099
|
+
},
|
|
34019
34100
|
"sceneMonitor.captureReference": {
|
|
34020
34101
|
capName: "scene-monitor",
|
|
34021
34102
|
capScope: "device",
|
|
@@ -37008,6 +37089,11 @@ Object.freeze({
|
|
|
37008
37089
|
form: "single",
|
|
37009
37090
|
optional: true
|
|
37010
37091
|
}],
|
|
37092
|
+
"recordingSignal.getStatus": [{
|
|
37093
|
+
name: "deviceId",
|
|
37094
|
+
form: "single",
|
|
37095
|
+
optional: false
|
|
37096
|
+
}],
|
|
37011
37097
|
"sceneMonitor.captureReference": [{
|
|
37012
37098
|
name: "deviceId",
|
|
37013
37099
|
form: "single",
|
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.73",
|
|
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",
|