@camstack/addon-provider-bosch 0.1.41 → 0.1.43
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/CHANGELOG.md +12 -0
- package/dist/{account-integration-offline-B0GiHxM5.mjs → account-integration-offline-BrrnCsrl.mjs} +1 -1
- package/dist/{account-integration-offline-bVxt6lq-.js → account-integration-offline-Ctzpu6DI.js} +1 -1
- package/dist/{bosch-instances-C1zZd1KP.mjs → bosch-instances-BtKXLOoG.mjs} +1835 -1859
- package/dist/{bosch-instances-CNLo570R.js → bosch-instances-CppS1lTA.js} +1835 -1859
- package/dist/home-connect/addon.js +9 -3
- package/dist/home-connect/addon.mjs +9 -3
- package/dist/homecom/addon.js +9 -3
- package/dist/homecom/addon.mjs +9 -3
- package/dist/shc/addon.js +8 -2
- package/dist/shc/addon.mjs +8 -2
- package/i18n/en.json +4 -17
- package/i18n/it.json +4 -17
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_bosch_instances = require("../bosch-instances-
|
|
3
|
-
const require_account_integration_offline = require("../account-integration-offline-
|
|
2
|
+
const require_bosch_instances = require("../bosch-instances-CppS1lTA.js");
|
|
3
|
+
const require_account_integration_offline = require("../account-integration-offline-Ctzpu6DI.js");
|
|
4
4
|
let node_crypto = require("node:crypto");
|
|
5
5
|
let node_tls = require("node:tls");
|
|
6
6
|
let node_zlib = require("node:zlib");
|
|
@@ -5337,7 +5337,13 @@ function buildHomeConnectInstances(records, deps) {
|
|
|
5337
5337
|
role: "devices",
|
|
5338
5338
|
instanceMode: "multiple",
|
|
5339
5339
|
kind: "account",
|
|
5340
|
-
canTest: true
|
|
5340
|
+
canTest: true,
|
|
5341
|
+
kinds: [{
|
|
5342
|
+
id: "connection",
|
|
5343
|
+
label: "Bosch Home Connect",
|
|
5344
|
+
functionCap: "device-provider",
|
|
5345
|
+
role: "devices"
|
|
5346
|
+
}]
|
|
5341
5347
|
},
|
|
5342
5348
|
formSchema: () => buildHomeConnectFormSchema(),
|
|
5343
5349
|
initialBody: (name) => ({ name }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as RecordIntegrationInstances, B as array, C as powerMeterCapability, E as runningStateCapability, F as entryBody, G as record, H as literal, I as isSecretMarker, J as unknown, K as string, L as isSecretMarkerLike, M as customAction, N as defineCustomActions, P as defineEntryKind, Q as EventCategory, R as rowsDepsOver, S as numericSensorCapability, T as runningFromDishwasherOperation, V as boolean, W as object, X as DeviceType, Y as DeviceRole, Z as errMsg, _ as enumSensorCapability, a as BaseDevice, b as ingestReading, c as RUNNING_STATE_COLD, f as binaryCapability, g as dishwasherCapability, h as deviceAdoptionCapability, i as testBoschInstance, j as createEvent, m as consumablesCapability, n as boschRowsPorts, o as BaseDeviceProvider, q as union, r as keepBodyKeys, s as DishwasherOperationStateSchema, t as boschRowsMigration, u as VendorLoginProxy, v as eventEmitterCapability, w as quantityFromUnit, x as integrationInstancesCapability, z as _enum } from "../bosch-instances-
|
|
2
|
-
import { a as createSignInAttemptStore, i as openSignInProxy, n as cascadeRemoveDevicesForIntegration, o as loginFailureForAttempt, r as createSignInClaims, s as parseOAuthCallback, t as setIntegrationDevicesOnline } from "../account-integration-offline-
|
|
1
|
+
import { A as RecordIntegrationInstances, B as array, C as powerMeterCapability, E as runningStateCapability, F as entryBody, G as record, H as literal, I as isSecretMarker, J as unknown, K as string, L as isSecretMarkerLike, M as customAction, N as defineCustomActions, P as defineEntryKind, Q as EventCategory, R as rowsDepsOver, S as numericSensorCapability, T as runningFromDishwasherOperation, V as boolean, W as object, X as DeviceType, Y as DeviceRole, Z as errMsg, _ as enumSensorCapability, a as BaseDevice, b as ingestReading, c as RUNNING_STATE_COLD, f as binaryCapability, g as dishwasherCapability, h as deviceAdoptionCapability, i as testBoschInstance, j as createEvent, m as consumablesCapability, n as boschRowsPorts, o as BaseDeviceProvider, q as union, r as keepBodyKeys, s as DishwasherOperationStateSchema, t as boschRowsMigration, u as VendorLoginProxy, v as eventEmitterCapability, w as quantityFromUnit, x as integrationInstancesCapability, z as _enum } from "../bosch-instances-BtKXLOoG.mjs";
|
|
2
|
+
import { a as createSignInAttemptStore, i as openSignInProxy, n as cascadeRemoveDevicesForIntegration, o as loginFailureForAttempt, r as createSignInClaims, s as parseOAuthCallback, t as setIntegrationDevicesOnline } from "../account-integration-offline-BrrnCsrl.mjs";
|
|
3
3
|
import { createHash, randomBytes } from "node:crypto";
|
|
4
4
|
import { connect } from "node:tls";
|
|
5
5
|
import { inflateRawSync } from "node:zlib";
|
|
@@ -5336,7 +5336,13 @@ function buildHomeConnectInstances(records, deps) {
|
|
|
5336
5336
|
role: "devices",
|
|
5337
5337
|
instanceMode: "multiple",
|
|
5338
5338
|
kind: "account",
|
|
5339
|
-
canTest: true
|
|
5339
|
+
canTest: true,
|
|
5340
|
+
kinds: [{
|
|
5341
|
+
id: "connection",
|
|
5342
|
+
label: "Bosch Home Connect",
|
|
5343
|
+
functionCap: "device-provider",
|
|
5344
|
+
role: "devices"
|
|
5345
|
+
}]
|
|
5340
5346
|
},
|
|
5341
5347
|
formSchema: () => buildHomeConnectFormSchema(),
|
|
5342
5348
|
initialBody: (name) => ({ name }),
|
package/dist/homecom/addon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_bosch_instances = require("../bosch-instances-
|
|
3
|
-
const require_account_integration_offline = require("../account-integration-offline-
|
|
2
|
+
const require_bosch_instances = require("../bosch-instances-CppS1lTA.js");
|
|
3
|
+
const require_account_integration_offline = require("../account-integration-offline-Ctzpu6DI.js");
|
|
4
4
|
let node_crypto = require("node:crypto");
|
|
5
5
|
//#region src/homecom/config.ts
|
|
6
6
|
var HOMECOM_BRANDS = ["bosch", "buderus"];
|
|
@@ -1965,7 +1965,13 @@ function buildHomeComInstances(records, deps) {
|
|
|
1965
1965
|
role: "devices",
|
|
1966
1966
|
instanceMode: "multiple",
|
|
1967
1967
|
kind: "account",
|
|
1968
|
-
canTest: true
|
|
1968
|
+
canTest: true,
|
|
1969
|
+
kinds: [{
|
|
1970
|
+
id: "connection",
|
|
1971
|
+
label: "Bosch HomeCom",
|
|
1972
|
+
functionCap: "device-provider",
|
|
1973
|
+
role: "devices"
|
|
1974
|
+
}]
|
|
1969
1975
|
},
|
|
1970
1976
|
formSchema: () => buildHomeComFormSchema(),
|
|
1971
1977
|
initialBody: (name) => ({ name }),
|
package/dist/homecom/addon.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as RecordIntegrationInstances, B as array, F as entryBody, H as literal, K as string, M as customAction, N as defineCustomActions, P as defineEntryKind, Q as EventCategory, R as rowsDepsOver, U as number, V as boolean, W as object, X as DeviceType, Z as errMsg, a as BaseDevice, h as deviceAdoptionCapability, i as testBoschInstance, k as waterHeaterCapability, n as boschRowsPorts, o as BaseDeviceProvider, p as climateControlCapability, r as keepBodyKeys, t as boschRowsMigration, u as VendorLoginProxy, x as integrationInstancesCapability, z as _enum } from "../bosch-instances-
|
|
2
|
-
import { a as createSignInAttemptStore, i as openSignInProxy, n as cascadeRemoveDevicesForIntegration, o as loginFailureForAttempt, r as createSignInClaims, s as parseOAuthCallback, t as setIntegrationDevicesOnline } from "../account-integration-offline-
|
|
1
|
+
import { A as RecordIntegrationInstances, B as array, F as entryBody, H as literal, K as string, M as customAction, N as defineCustomActions, P as defineEntryKind, Q as EventCategory, R as rowsDepsOver, U as number, V as boolean, W as object, X as DeviceType, Z as errMsg, a as BaseDevice, h as deviceAdoptionCapability, i as testBoschInstance, k as waterHeaterCapability, n as boschRowsPorts, o as BaseDeviceProvider, p as climateControlCapability, r as keepBodyKeys, t as boschRowsMigration, u as VendorLoginProxy, x as integrationInstancesCapability, z as _enum } from "../bosch-instances-BtKXLOoG.mjs";
|
|
2
|
+
import { a as createSignInAttemptStore, i as openSignInProxy, n as cascadeRemoveDevicesForIntegration, o as loginFailureForAttempt, r as createSignInClaims, s as parseOAuthCallback, t as setIntegrationDevicesOnline } from "../account-integration-offline-BrrnCsrl.mjs";
|
|
3
3
|
import { createHash, randomBytes } from "node:crypto";
|
|
4
4
|
//#region src/homecom/config.ts
|
|
5
5
|
var HOMECOM_BRANDS = ["bosch", "buderus"];
|
|
@@ -1964,7 +1964,13 @@ function buildHomeComInstances(records, deps) {
|
|
|
1964
1964
|
role: "devices",
|
|
1965
1965
|
instanceMode: "multiple",
|
|
1966
1966
|
kind: "account",
|
|
1967
|
-
canTest: true
|
|
1967
|
+
canTest: true,
|
|
1968
|
+
kinds: [{
|
|
1969
|
+
id: "connection",
|
|
1970
|
+
label: "Bosch HomeCom",
|
|
1971
|
+
functionCap: "device-provider",
|
|
1972
|
+
role: "devices"
|
|
1973
|
+
}]
|
|
1968
1974
|
},
|
|
1969
1975
|
formSchema: () => buildHomeComFormSchema(),
|
|
1970
1976
|
initialBody: (name) => ({ name }),
|
package/dist/shc/addon.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
//#region \0rolldown/runtime.js
|
|
3
3
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
4
4
|
//#endregion
|
|
5
|
-
const require_bosch_instances = require("../bosch-instances-
|
|
5
|
+
const require_bosch_instances = require("../bosch-instances-CppS1lTA.js");
|
|
6
6
|
let node_crypto = require("node:crypto");
|
|
7
7
|
let node_https = require("node:https");
|
|
8
8
|
let node_child_process = require("node:child_process");
|
|
@@ -279,7 +279,13 @@ function buildShcInstances(records, deps) {
|
|
|
279
279
|
role: "devices",
|
|
280
280
|
instanceMode: "multiple",
|
|
281
281
|
kind: "controller",
|
|
282
|
-
canTest: true
|
|
282
|
+
canTest: true,
|
|
283
|
+
kinds: [{
|
|
284
|
+
id: "connection",
|
|
285
|
+
label: "Bosch Smart Home",
|
|
286
|
+
functionCap: "device-provider",
|
|
287
|
+
role: "devices"
|
|
288
|
+
}]
|
|
283
289
|
},
|
|
284
290
|
formSchema: () => buildConnectionFormSchema(),
|
|
285
291
|
initialBody: (name) => ({ name }),
|
package/dist/shc/addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as RecordIntegrationInstances, B as array, D as switchCapability, F as entryBody, H as literal, K as string, M as customAction, N as defineCustomActions, O as temperatureSensorCapability, P as defineEntryKind, Q as EventCategory, R as rowsDepsOver, U as number, W as object, X as DeviceType, Z as errMsg, a as BaseDevice, d as batteryCapability, h as deviceAdoptionCapability, i as testBoschInstance, n as boschRowsPorts, o as BaseDeviceProvider, p as climateControlCapability, r as keepBodyKeys, t as boschRowsMigration, x as integrationInstancesCapability, y as heatingValveCapability, z as _enum } from "../bosch-instances-
|
|
1
|
+
import { A as RecordIntegrationInstances, B as array, D as switchCapability, F as entryBody, H as literal, K as string, M as customAction, N as defineCustomActions, O as temperatureSensorCapability, P as defineEntryKind, Q as EventCategory, R as rowsDepsOver, U as number, W as object, X as DeviceType, Z as errMsg, a as BaseDevice, d as batteryCapability, h as deviceAdoptionCapability, i as testBoschInstance, n as boschRowsPorts, o as BaseDeviceProvider, p as climateControlCapability, r as keepBodyKeys, t as boschRowsMigration, x as integrationInstancesCapability, y as heatingValveCapability, z as _enum } from "../bosch-instances-BtKXLOoG.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
import { request } from "node:https";
|
|
@@ -280,7 +280,13 @@ function buildShcInstances(records, deps) {
|
|
|
280
280
|
role: "devices",
|
|
281
281
|
instanceMode: "multiple",
|
|
282
282
|
kind: "controller",
|
|
283
|
-
canTest: true
|
|
283
|
+
canTest: true,
|
|
284
|
+
kinds: [{
|
|
285
|
+
id: "connection",
|
|
286
|
+
label: "Bosch Smart Home",
|
|
287
|
+
functionCap: "device-provider",
|
|
288
|
+
role: "devices"
|
|
289
|
+
}]
|
|
284
290
|
},
|
|
285
291
|
formSchema: () => buildConnectionFormSchema(),
|
|
286
292
|
initialBody: (name) => ({ name }),
|
package/i18n/en.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"bosch-home-connect.name": "Bosch Home Connect",
|
|
4
4
|
"bosch-homecom.name": "Bosch HomeCom",
|
|
5
5
|
"homecom.s_account.title": "HomeCom account",
|
|
6
|
-
"homecom.s_account.description": "Sign in with your SingleKey ID.
|
|
6
|
+
"homecom.s_account.description": "Sign in with your SingleKey ID. A new tab opens the sign-in page through this hub and finishes on its own.",
|
|
7
7
|
"homecom.s_account.__homecom-sign-in.label": "HomeCom",
|
|
8
8
|
"homecom.s_account.accountLabel.label": "Account",
|
|
9
9
|
"homecom.s_account.gatewayCount.label": "Gateways",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"homecom.s_account.brand.label": "Brand",
|
|
16
16
|
"homecom.s_account.region.label": "Region",
|
|
17
17
|
"home-connect.s_gateway.title": "Home Connect",
|
|
18
|
-
"home-connect.s_gateway.description": "Sign in with your Home Connect account.
|
|
18
|
+
"home-connect.s_gateway.description": "Sign in with your Home Connect account. A new tab opens the sign-in page through this hub and finishes on its own.",
|
|
19
19
|
"home-connect.s_gateway.__home-connect-sign-in.label": "Home Connect",
|
|
20
20
|
"home-connect.s_gateway.accountLabel.label": "Account",
|
|
21
21
|
"home-connect.s_gateway.appliances.label": "Appliances",
|
|
@@ -32,19 +32,6 @@
|
|
|
32
32
|
"shc.s_connection.token.label": "Controller token",
|
|
33
33
|
"shc.s_connection.sslCertificate.label": "Client certificate (PEM)",
|
|
34
34
|
"shc.s_connection.sslKey.label": "Client private key (PEM)",
|
|
35
|
-
"homecom.s_account.__homecom-code-help.label": "
|
|
36
|
-
"homecom.s_account.gatewayId.description": "Filled from the account. Type one only when you need to override the choice."
|
|
37
|
-
"homecom": {
|
|
38
|
-
"s_account": {
|
|
39
|
-
"description": "Sign in with your SingleKey ID. A new tab opens the sign-in page through this hub and finishes on its own.",
|
|
40
|
-
"__homecom-code-help": {
|
|
41
|
-
"label": "If the page does not finish, copy the address it stops on (it starts with com.bosch.tt.dashtt.pointt://app/login?code=) or only the code, and paste it in the box under the sign-in button."
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"home-connect": {
|
|
46
|
-
"s_gateway": {
|
|
47
|
-
"description": "Sign in with your Home Connect account. A new tab opens the sign-in page through this hub and finishes on its own."
|
|
48
|
-
}
|
|
49
|
-
}
|
|
35
|
+
"homecom.s_account.__homecom-code-help.label": "If the page does not finish, copy the address it stops on (it starts with com.bosch.tt.dashtt.pointt://app/login?code=) or only the code, and paste it in the box under the sign-in button.",
|
|
36
|
+
"homecom.s_account.gatewayId.description": "Filled from the account. Type one only when you need to override the choice."
|
|
50
37
|
}
|
package/i18n/it.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"bosch-home-connect.name": "Bosch Home Connect",
|
|
4
4
|
"bosch-homecom.name": "Bosch HomeCom",
|
|
5
5
|
"homecom.s_account.title": "Account HomeCom",
|
|
6
|
-
"homecom.s_account.description": "Accedi con il tuo SingleKey ID.
|
|
6
|
+
"homecom.s_account.description": "Accedi con il tuo SingleKey ID. Si apre una nuova scheda con la pagina di accesso tramite questo hub e si conclude da sola.",
|
|
7
7
|
"homecom.s_account.__homecom-sign-in.label": "HomeCom",
|
|
8
8
|
"homecom.s_account.accountLabel.label": "Account",
|
|
9
9
|
"homecom.s_account.gatewayCount.label": "Gateway",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"homecom.s_account.brand.label": "Marchio",
|
|
16
16
|
"homecom.s_account.region.label": "Regione",
|
|
17
17
|
"home-connect.s_gateway.title": "Home Connect",
|
|
18
|
-
"home-connect.s_gateway.description": "Accedi con il tuo account Home Connect.
|
|
18
|
+
"home-connect.s_gateway.description": "Accedi con il tuo account Home Connect. Si apre una nuova scheda con la pagina di accesso tramite questo hub e si conclude da sola.",
|
|
19
19
|
"home-connect.s_gateway.__home-connect-sign-in.label": "Home Connect",
|
|
20
20
|
"home-connect.s_gateway.accountLabel.label": "Account",
|
|
21
21
|
"home-connect.s_gateway.appliances.label": "Elettrodomestici",
|
|
@@ -32,19 +32,6 @@
|
|
|
32
32
|
"shc.s_connection.token.label": "Token del controller",
|
|
33
33
|
"shc.s_connection.sslCertificate.label": "Certificato client (PEM)",
|
|
34
34
|
"shc.s_connection.sslKey.label": "Chiave privata client (PEM)",
|
|
35
|
-
"homecom.s_account.__homecom-code-help.label": "
|
|
36
|
-
"homecom.s_account.gatewayId.description": "Compilato dall'account. Scrivilo solo se devi sostituire la scelta."
|
|
37
|
-
"homecom": {
|
|
38
|
-
"s_account": {
|
|
39
|
-
"description": "Accedi con il tuo SingleKey ID. Si apre una nuova scheda con la pagina di accesso tramite questo hub e si conclude da sola.",
|
|
40
|
-
"__homecom-code-help": {
|
|
41
|
-
"label": "Se la pagina non si conclude, copia l indirizzo su cui si ferma (inizia con com.bosch.tt.dashtt.pointt://app/login?code=) oppure solo il codice, e incollalo nel riquadro sotto il pulsante di accesso."
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"home-connect": {
|
|
46
|
-
"s_gateway": {
|
|
47
|
-
"description": "Accedi con il tuo account Home Connect. Si apre una nuova scheda con la pagina di accesso tramite questo hub e si conclude da sola."
|
|
48
|
-
}
|
|
49
|
-
}
|
|
35
|
+
"homecom.s_account.__homecom-code-help.label": "Se la pagina non si conclude, copia l indirizzo su cui si ferma (inizia con com.bosch.tt.dashtt.pointt://app/login?code=) oppure solo il codice, e incollalo nel riquadro sotto il pulsante di accesso.",
|
|
36
|
+
"homecom.s_account.gatewayId.description": "Compilato dall'account. Scrivilo solo se devi sostituire la scelta."
|
|
50
37
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-bosch",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.43",
|
|
4
4
|
"description": "Bosch smart-home device-provider addons for CamStack — SHC, Home Connect, and HomeCom cloud integrations (scaffold)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
}
|
|
133
133
|
],
|
|
134
134
|
"requires": {
|
|
135
|
-
"server": ">=1.2.
|
|
135
|
+
"server": ">=1.2.810"
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
138
|
"files": [
|