@camstack/addon-smtp-nodemailer 1.1.9 → 1.1.11
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 +90 -5
- package/dist/smtp.addon.mjs +90 -5
- package/package.json +1 -1
package/dist/smtp.addon.js
CHANGED
|
@@ -4665,7 +4665,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4665
4665
|
return inst;
|
|
4666
4666
|
}
|
|
4667
4667
|
//#endregion
|
|
4668
|
-
//#region ../types/dist/sleep-
|
|
4668
|
+
//#region ../types/dist/sleep-C2M2zF7x.mjs
|
|
4669
4669
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4670
4670
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4671
4671
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -6233,6 +6233,12 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
|
6233
6233
|
DeviceType["Switch"] = "switch";
|
|
6234
6234
|
DeviceType["Sensor"] = "sensor";
|
|
6235
6235
|
DeviceType["Thermostat"] = "thermostat";
|
|
6236
|
+
/** Air-conditioner / heat-pump climate device (HVAC) — shares the
|
|
6237
|
+
* `climate-control` cap surface with `Thermostat` but renders a
|
|
6238
|
+
* dedicated AC-appropriate control UI (mode chips, fan speed,
|
|
6239
|
+
* independent vertical/horizontal swing). Sources: native Gree, and
|
|
6240
|
+
* reusable by other AC integrations. */
|
|
6241
|
+
DeviceType["Climate"] = "climate";
|
|
6236
6242
|
DeviceType["Button"] = "button";
|
|
6237
6243
|
/** Generic stateless event emitter — carries a device's EXACT declared
|
|
6238
6244
|
* event vocabulary verbatim (no normalization). Installed with the
|
|
@@ -8387,7 +8393,7 @@ object({
|
|
|
8387
8393
|
/** Ms epoch when the slice was last updated (push or command). */
|
|
8388
8394
|
lastFetchedAt: number()
|
|
8389
8395
|
});
|
|
8390
|
-
DeviceType.Thermostat, method(object({
|
|
8396
|
+
DeviceType.Thermostat, DeviceType.Climate, method(object({
|
|
8391
8397
|
deviceId: number().int().nonnegative(),
|
|
8392
8398
|
mode: HvacModeSchema
|
|
8393
8399
|
}), _void(), {
|
|
@@ -11072,10 +11078,10 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
|
|
|
11072
11078
|
id: string(),
|
|
11073
11079
|
name: string(),
|
|
11074
11080
|
type: string()
|
|
11075
|
-
}))), method(object({}), boolean()), method(object({}), array(DiscoveryCandidateSchema), {
|
|
11081
|
+
}))), method(object({}), boolean()), method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
|
|
11076
11082
|
kind: "mutation",
|
|
11077
11083
|
auth: "admin"
|
|
11078
|
-
}), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
11084
|
+
}), method(object({}), CreationSchemaOutputSchema), method(object({}), object({ deviceType: _enum(DeviceType).nullable() })), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
11079
11085
|
kind: "mutation",
|
|
11080
11086
|
auth: "admin"
|
|
11081
11087
|
}), method(object({}), boolean()), method(object({ type: _enum(DeviceType) }), CreationSchemaOutputSchema), method(object({
|
|
@@ -12796,7 +12802,10 @@ method(object({
|
|
|
12796
12802
|
}), FieldProbeResultSchema, {
|
|
12797
12803
|
kind: "mutation",
|
|
12798
12804
|
auth: "admin"
|
|
12799
|
-
}), method(
|
|
12805
|
+
}), method(object({
|
|
12806
|
+
addonId: string(),
|
|
12807
|
+
integrationId: string()
|
|
12808
|
+
}), object({ filters: array(AdoptionFilterSchema) }), { auth: "admin" }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
|
|
12800
12809
|
addonId: string(),
|
|
12801
12810
|
integrationId: string()
|
|
12802
12811
|
}), AdoptionStatusSchema, {
|
|
@@ -12811,7 +12820,24 @@ method(object({
|
|
|
12811
12820
|
}), method(ResyncInputSchema, ResyncResultSchema, {
|
|
12812
12821
|
kind: "mutation",
|
|
12813
12822
|
auth: "admin"
|
|
12823
|
+
}), method(object({}), object({ providers: array(object({
|
|
12824
|
+
addonId: string(),
|
|
12825
|
+
label: string()
|
|
12826
|
+
})).readonly() }), { auth: "admin" }), method(object({}), object({ groups: array(object({
|
|
12827
|
+
addonId: string(),
|
|
12828
|
+
label: string(),
|
|
12829
|
+
candidates: array(DiscoveryCandidateSchema).readonly(),
|
|
12830
|
+
error: string().nullable()
|
|
12831
|
+
})).readonly() }), {
|
|
12832
|
+
kind: "mutation",
|
|
12833
|
+
auth: "admin"
|
|
12814
12834
|
}), method(object({
|
|
12835
|
+
addonId: string(),
|
|
12836
|
+
params: record(string(), unknown()).optional()
|
|
12837
|
+
}), object({ candidates: array(DiscoveryCandidateSchema).readonly() }), {
|
|
12838
|
+
kind: "mutation",
|
|
12839
|
+
auth: "admin"
|
|
12840
|
+
}), method(object({ addonId: string() }), object({ deviceType: _enum(DeviceType).nullable() }), { auth: "admin" }), method(object({ addonId: string() }), unknown(), { auth: "admin" }), method(object({
|
|
12815
12841
|
deviceId: number(),
|
|
12816
12842
|
key: string(),
|
|
12817
12843
|
value: unknown()
|
|
@@ -15476,6 +15502,17 @@ var AvailableIntegrationTypeSchema = object({
|
|
|
15476
15502
|
iconUrl: string().nullable(),
|
|
15477
15503
|
color: string(),
|
|
15478
15504
|
instanceMode: string(),
|
|
15505
|
+
/**
|
|
15506
|
+
* Integration wizard `mode` (LOCKED MODEL): `standalone` (create
|
|
15507
|
+
* immediately then add devices, no config step/button), `account` (config
|
|
15508
|
+
* step), or `broker` (broker step). Derived server-side by
|
|
15509
|
+
* `getAvailableTypes` when the addon manifest omits an explicit `mode`.
|
|
15510
|
+
*/
|
|
15511
|
+
mode: _enum([
|
|
15512
|
+
"standalone",
|
|
15513
|
+
"account",
|
|
15514
|
+
"broker"
|
|
15515
|
+
]),
|
|
15479
15516
|
discoveryMode: string(),
|
|
15480
15517
|
/**
|
|
15481
15518
|
* Which integration-marker cap the addon declared, so the wizard can
|
|
@@ -17936,6 +17973,12 @@ Object.freeze({
|
|
|
17936
17973
|
addonId: null,
|
|
17937
17974
|
access: "create"
|
|
17938
17975
|
},
|
|
17976
|
+
"deviceManager.adoptionListCandidateFilters": {
|
|
17977
|
+
capName: "device-manager",
|
|
17978
|
+
capScope: "system",
|
|
17979
|
+
addonId: null,
|
|
17980
|
+
access: "view"
|
|
17981
|
+
},
|
|
17939
17982
|
"deviceManager.adoptionListCandidates": {
|
|
17940
17983
|
capName: "device-manager",
|
|
17941
17984
|
capScope: "system",
|
|
@@ -17984,12 +18027,30 @@ Object.freeze({
|
|
|
17984
18027
|
addonId: null,
|
|
17985
18028
|
access: "create"
|
|
17986
18029
|
},
|
|
18030
|
+
"deviceManager.discoverAllProviders": {
|
|
18031
|
+
capName: "device-manager",
|
|
18032
|
+
capScope: "system",
|
|
18033
|
+
addonId: null,
|
|
18034
|
+
access: "create"
|
|
18035
|
+
},
|
|
17987
18036
|
"deviceManager.discoverDevices": {
|
|
17988
18037
|
capName: "device-manager",
|
|
17989
18038
|
capScope: "system",
|
|
17990
18039
|
addonId: null,
|
|
17991
18040
|
access: "create"
|
|
17992
18041
|
},
|
|
18042
|
+
"deviceManager.discoverProvider": {
|
|
18043
|
+
capName: "device-manager",
|
|
18044
|
+
capScope: "system",
|
|
18045
|
+
addonId: null,
|
|
18046
|
+
access: "create"
|
|
18047
|
+
},
|
|
18048
|
+
"deviceManager.discoveryProviders": {
|
|
18049
|
+
capName: "device-manager",
|
|
18050
|
+
capScope: "system",
|
|
18051
|
+
addonId: null,
|
|
18052
|
+
access: "view"
|
|
18053
|
+
},
|
|
17993
18054
|
"deviceManager.enable": {
|
|
17994
18055
|
capName: "device-manager",
|
|
17995
18056
|
capScope: "system",
|
|
@@ -18140,6 +18201,18 @@ Object.freeze({
|
|
|
18140
18201
|
addonId: null,
|
|
18141
18202
|
access: "create"
|
|
18142
18203
|
},
|
|
18204
|
+
"deviceManager.providerCreationType": {
|
|
18205
|
+
capName: "device-manager",
|
|
18206
|
+
capScope: "system",
|
|
18207
|
+
addonId: null,
|
|
18208
|
+
access: "view"
|
|
18209
|
+
},
|
|
18210
|
+
"deviceManager.providerDiscoveryParamsSchema": {
|
|
18211
|
+
capName: "device-manager",
|
|
18212
|
+
capScope: "system",
|
|
18213
|
+
addonId: null,
|
|
18214
|
+
access: "view"
|
|
18215
|
+
},
|
|
18143
18216
|
"deviceManager.registerDevice": {
|
|
18144
18217
|
capName: "device-manager",
|
|
18145
18218
|
capScope: "system",
|
|
@@ -18356,6 +18429,18 @@ Object.freeze({
|
|
|
18356
18429
|
addonId: null,
|
|
18357
18430
|
access: "view"
|
|
18358
18431
|
},
|
|
18432
|
+
"deviceProvider.getDiscoveryParamsSchema": {
|
|
18433
|
+
capName: "device-provider",
|
|
18434
|
+
capScope: "system",
|
|
18435
|
+
addonId: null,
|
|
18436
|
+
access: "view"
|
|
18437
|
+
},
|
|
18438
|
+
"deviceProvider.getManualCreationType": {
|
|
18439
|
+
capName: "device-provider",
|
|
18440
|
+
capScope: "system",
|
|
18441
|
+
addonId: null,
|
|
18442
|
+
access: "view"
|
|
18443
|
+
},
|
|
18359
18444
|
"deviceProvider.getStatus": {
|
|
18360
18445
|
capName: "device-provider",
|
|
18361
18446
|
capScope: "system",
|
package/dist/smtp.addon.mjs
CHANGED
|
@@ -4663,7 +4663,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4663
4663
|
return inst;
|
|
4664
4664
|
}
|
|
4665
4665
|
//#endregion
|
|
4666
|
-
//#region ../types/dist/sleep-
|
|
4666
|
+
//#region ../types/dist/sleep-C2M2zF7x.mjs
|
|
4667
4667
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4668
4668
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4669
4669
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -6231,6 +6231,12 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
|
6231
6231
|
DeviceType["Switch"] = "switch";
|
|
6232
6232
|
DeviceType["Sensor"] = "sensor";
|
|
6233
6233
|
DeviceType["Thermostat"] = "thermostat";
|
|
6234
|
+
/** Air-conditioner / heat-pump climate device (HVAC) — shares the
|
|
6235
|
+
* `climate-control` cap surface with `Thermostat` but renders a
|
|
6236
|
+
* dedicated AC-appropriate control UI (mode chips, fan speed,
|
|
6237
|
+
* independent vertical/horizontal swing). Sources: native Gree, and
|
|
6238
|
+
* reusable by other AC integrations. */
|
|
6239
|
+
DeviceType["Climate"] = "climate";
|
|
6234
6240
|
DeviceType["Button"] = "button";
|
|
6235
6241
|
/** Generic stateless event emitter — carries a device's EXACT declared
|
|
6236
6242
|
* event vocabulary verbatim (no normalization). Installed with the
|
|
@@ -8385,7 +8391,7 @@ object({
|
|
|
8385
8391
|
/** Ms epoch when the slice was last updated (push or command). */
|
|
8386
8392
|
lastFetchedAt: number()
|
|
8387
8393
|
});
|
|
8388
|
-
DeviceType.Thermostat, method(object({
|
|
8394
|
+
DeviceType.Thermostat, DeviceType.Climate, method(object({
|
|
8389
8395
|
deviceId: number().int().nonnegative(),
|
|
8390
8396
|
mode: HvacModeSchema
|
|
8391
8397
|
}), _void(), {
|
|
@@ -11070,10 +11076,10 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
|
|
|
11070
11076
|
id: string(),
|
|
11071
11077
|
name: string(),
|
|
11072
11078
|
type: string()
|
|
11073
|
-
}))), method(object({}), boolean()), method(object({}), array(DiscoveryCandidateSchema), {
|
|
11079
|
+
}))), method(object({}), boolean()), method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
|
|
11074
11080
|
kind: "mutation",
|
|
11075
11081
|
auth: "admin"
|
|
11076
|
-
}), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
11082
|
+
}), method(object({}), CreationSchemaOutputSchema), method(object({}), object({ deviceType: _enum(DeviceType).nullable() })), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
11077
11083
|
kind: "mutation",
|
|
11078
11084
|
auth: "admin"
|
|
11079
11085
|
}), method(object({}), boolean()), method(object({ type: _enum(DeviceType) }), CreationSchemaOutputSchema), method(object({
|
|
@@ -12794,7 +12800,10 @@ method(object({
|
|
|
12794
12800
|
}), FieldProbeResultSchema, {
|
|
12795
12801
|
kind: "mutation",
|
|
12796
12802
|
auth: "admin"
|
|
12797
|
-
}), method(
|
|
12803
|
+
}), method(object({
|
|
12804
|
+
addonId: string(),
|
|
12805
|
+
integrationId: string()
|
|
12806
|
+
}), object({ filters: array(AdoptionFilterSchema) }), { auth: "admin" }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
|
|
12798
12807
|
addonId: string(),
|
|
12799
12808
|
integrationId: string()
|
|
12800
12809
|
}), AdoptionStatusSchema, {
|
|
@@ -12809,7 +12818,24 @@ method(object({
|
|
|
12809
12818
|
}), method(ResyncInputSchema, ResyncResultSchema, {
|
|
12810
12819
|
kind: "mutation",
|
|
12811
12820
|
auth: "admin"
|
|
12821
|
+
}), method(object({}), object({ providers: array(object({
|
|
12822
|
+
addonId: string(),
|
|
12823
|
+
label: string()
|
|
12824
|
+
})).readonly() }), { auth: "admin" }), method(object({}), object({ groups: array(object({
|
|
12825
|
+
addonId: string(),
|
|
12826
|
+
label: string(),
|
|
12827
|
+
candidates: array(DiscoveryCandidateSchema).readonly(),
|
|
12828
|
+
error: string().nullable()
|
|
12829
|
+
})).readonly() }), {
|
|
12830
|
+
kind: "mutation",
|
|
12831
|
+
auth: "admin"
|
|
12812
12832
|
}), method(object({
|
|
12833
|
+
addonId: string(),
|
|
12834
|
+
params: record(string(), unknown()).optional()
|
|
12835
|
+
}), object({ candidates: array(DiscoveryCandidateSchema).readonly() }), {
|
|
12836
|
+
kind: "mutation",
|
|
12837
|
+
auth: "admin"
|
|
12838
|
+
}), method(object({ addonId: string() }), object({ deviceType: _enum(DeviceType).nullable() }), { auth: "admin" }), method(object({ addonId: string() }), unknown(), { auth: "admin" }), method(object({
|
|
12813
12839
|
deviceId: number(),
|
|
12814
12840
|
key: string(),
|
|
12815
12841
|
value: unknown()
|
|
@@ -15474,6 +15500,17 @@ var AvailableIntegrationTypeSchema = object({
|
|
|
15474
15500
|
iconUrl: string().nullable(),
|
|
15475
15501
|
color: string(),
|
|
15476
15502
|
instanceMode: string(),
|
|
15503
|
+
/**
|
|
15504
|
+
* Integration wizard `mode` (LOCKED MODEL): `standalone` (create
|
|
15505
|
+
* immediately then add devices, no config step/button), `account` (config
|
|
15506
|
+
* step), or `broker` (broker step). Derived server-side by
|
|
15507
|
+
* `getAvailableTypes` when the addon manifest omits an explicit `mode`.
|
|
15508
|
+
*/
|
|
15509
|
+
mode: _enum([
|
|
15510
|
+
"standalone",
|
|
15511
|
+
"account",
|
|
15512
|
+
"broker"
|
|
15513
|
+
]),
|
|
15477
15514
|
discoveryMode: string(),
|
|
15478
15515
|
/**
|
|
15479
15516
|
* Which integration-marker cap the addon declared, so the wizard can
|
|
@@ -17934,6 +17971,12 @@ Object.freeze({
|
|
|
17934
17971
|
addonId: null,
|
|
17935
17972
|
access: "create"
|
|
17936
17973
|
},
|
|
17974
|
+
"deviceManager.adoptionListCandidateFilters": {
|
|
17975
|
+
capName: "device-manager",
|
|
17976
|
+
capScope: "system",
|
|
17977
|
+
addonId: null,
|
|
17978
|
+
access: "view"
|
|
17979
|
+
},
|
|
17937
17980
|
"deviceManager.adoptionListCandidates": {
|
|
17938
17981
|
capName: "device-manager",
|
|
17939
17982
|
capScope: "system",
|
|
@@ -17982,12 +18025,30 @@ Object.freeze({
|
|
|
17982
18025
|
addonId: null,
|
|
17983
18026
|
access: "create"
|
|
17984
18027
|
},
|
|
18028
|
+
"deviceManager.discoverAllProviders": {
|
|
18029
|
+
capName: "device-manager",
|
|
18030
|
+
capScope: "system",
|
|
18031
|
+
addonId: null,
|
|
18032
|
+
access: "create"
|
|
18033
|
+
},
|
|
17985
18034
|
"deviceManager.discoverDevices": {
|
|
17986
18035
|
capName: "device-manager",
|
|
17987
18036
|
capScope: "system",
|
|
17988
18037
|
addonId: null,
|
|
17989
18038
|
access: "create"
|
|
17990
18039
|
},
|
|
18040
|
+
"deviceManager.discoverProvider": {
|
|
18041
|
+
capName: "device-manager",
|
|
18042
|
+
capScope: "system",
|
|
18043
|
+
addonId: null,
|
|
18044
|
+
access: "create"
|
|
18045
|
+
},
|
|
18046
|
+
"deviceManager.discoveryProviders": {
|
|
18047
|
+
capName: "device-manager",
|
|
18048
|
+
capScope: "system",
|
|
18049
|
+
addonId: null,
|
|
18050
|
+
access: "view"
|
|
18051
|
+
},
|
|
17991
18052
|
"deviceManager.enable": {
|
|
17992
18053
|
capName: "device-manager",
|
|
17993
18054
|
capScope: "system",
|
|
@@ -18138,6 +18199,18 @@ Object.freeze({
|
|
|
18138
18199
|
addonId: null,
|
|
18139
18200
|
access: "create"
|
|
18140
18201
|
},
|
|
18202
|
+
"deviceManager.providerCreationType": {
|
|
18203
|
+
capName: "device-manager",
|
|
18204
|
+
capScope: "system",
|
|
18205
|
+
addonId: null,
|
|
18206
|
+
access: "view"
|
|
18207
|
+
},
|
|
18208
|
+
"deviceManager.providerDiscoveryParamsSchema": {
|
|
18209
|
+
capName: "device-manager",
|
|
18210
|
+
capScope: "system",
|
|
18211
|
+
addonId: null,
|
|
18212
|
+
access: "view"
|
|
18213
|
+
},
|
|
18141
18214
|
"deviceManager.registerDevice": {
|
|
18142
18215
|
capName: "device-manager",
|
|
18143
18216
|
capScope: "system",
|
|
@@ -18354,6 +18427,18 @@ Object.freeze({
|
|
|
18354
18427
|
addonId: null,
|
|
18355
18428
|
access: "view"
|
|
18356
18429
|
},
|
|
18430
|
+
"deviceProvider.getDiscoveryParamsSchema": {
|
|
18431
|
+
capName: "device-provider",
|
|
18432
|
+
capScope: "system",
|
|
18433
|
+
addonId: null,
|
|
18434
|
+
access: "view"
|
|
18435
|
+
},
|
|
18436
|
+
"deviceProvider.getManualCreationType": {
|
|
18437
|
+
capName: "device-provider",
|
|
18438
|
+
capScope: "system",
|
|
18439
|
+
addonId: null,
|
|
18440
|
+
access: "view"
|
|
18441
|
+
},
|
|
18357
18442
|
"deviceProvider.getStatus": {
|
|
18358
18443
|
capName: "device-provider",
|
|
18359
18444
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-smtp-nodemailer",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.11",
|
|
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",
|