@camstack/addon-provider-bosch 0.1.38 → 0.1.39
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 +6 -0
- package/dist/{account-integration-offline-CeMaWElV.js → account-integration-offline-CG1-xGSm.js} +1 -1
- package/dist/{account-integration-offline-DhHNdL3k.mjs → account-integration-offline-etjkhGaj.mjs} +1 -1
- package/dist/{bosch-instances-CIuDwXQ8.mjs → bosch-instances-GrNuqDFv.mjs} +605 -592
- package/dist/{bosch-instances-Y9sMCElY.js → bosch-instances-WlrW2PAy.js} +610 -603
- package/dist/home-connect/addon.js +3 -8
- package/dist/home-connect/addon.mjs +3 -8
- package/dist/homecom/addon.js +3 -8
- package/dist/homecom/addon.mjs +3 -8
- package/dist/shc/addon.js +2 -7
- package/dist/shc/addon.mjs +2 -7
- 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-WlrW2PAy.js");
|
|
3
|
+
const require_account_integration_offline = require("../account-integration-offline-CG1-xGSm.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");
|
|
@@ -5386,12 +5386,7 @@ var BoschHomeConnectProviderAddon = class extends require_bosch_instances.BaseDe
|
|
|
5386
5386
|
const records = this.ctx.records;
|
|
5387
5387
|
if (records === void 0) throw new Error("bosch-home-connect: ctx.records is required (hub-only addon)");
|
|
5388
5388
|
await records.declare(homeConnectRecordKinds);
|
|
5389
|
-
await this.runMigrations(
|
|
5390
|
-
api: require_bosch_instances.defaultIntegrationApiOver(this.ctx.api),
|
|
5391
|
-
secrets: this.ctx.secrets ?? null,
|
|
5392
|
-
records,
|
|
5393
|
-
warn: (message) => this.ctx.logger.warn(message)
|
|
5394
|
-
})));
|
|
5389
|
+
await this.runMigrations(HOME_CONNECT_MIGRATIONS, (api) => homeConnectRowsPorts({ ...require_bosch_instances.rowsDepsOver(api) }));
|
|
5395
5390
|
const built = buildHomeConnectInstances(records, {
|
|
5396
5391
|
onChanged: () => this.reconcileIntegrations(),
|
|
5397
5392
|
tester: this.buildConnectionTestProvider()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as
|
|
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 { $ as EventCategory, B as _enum, C as integrationInstancesCapability, D as rowsDepsOver, E as quantityFromUnit, F as defineCustomActions, G as object, H as boolean, I as defineEntryKind, J as union, K as record, L as entryBody, N as createEvent, O as runningFromDishwasherOperation, P as customAction, Q as errMsg, R as isSecretMarker, S as ingestReading, T as powerMeterCapability, U as literal, V as array, X as DeviceRole, Y as unknown, Z as DeviceType, _ as deviceAdoptionCapability, a as BaseDevice, b as eventEmitterCapability, c as RUNNING_STATE_COLD, d as VendorLoginProxy, g as consumablesCapability, h as connectionTestCapability, i as testBoschInstance, k as runningStateCapability, l as RecordIntegrationInstances, n as boschRowsPorts, o as BaseDeviceProvider, p as binaryCapability, q as string, r as keepBodyKeys, s as DishwasherOperationStateSchema, t as boschRowsMigration, v as dishwasherCapability, w as numericSensorCapability, y as enumSensorCapability, z as isSecretMarkerLike } from "../bosch-instances-GrNuqDFv.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-etjkhGaj.mjs";
|
|
3
3
|
import { createHash, randomBytes } from "node:crypto";
|
|
4
4
|
import { connect } from "node:tls";
|
|
5
5
|
import { inflateRawSync } from "node:zlib";
|
|
@@ -5385,12 +5385,7 @@ var BoschHomeConnectProviderAddon = class extends BaseDeviceProvider {
|
|
|
5385
5385
|
const records = this.ctx.records;
|
|
5386
5386
|
if (records === void 0) throw new Error("bosch-home-connect: ctx.records is required (hub-only addon)");
|
|
5387
5387
|
await records.declare(homeConnectRecordKinds);
|
|
5388
|
-
await this.runMigrations(
|
|
5389
|
-
api: defaultIntegrationApiOver(this.ctx.api),
|
|
5390
|
-
secrets: this.ctx.secrets ?? null,
|
|
5391
|
-
records,
|
|
5392
|
-
warn: (message) => this.ctx.logger.warn(message)
|
|
5393
|
-
})));
|
|
5388
|
+
await this.runMigrations(HOME_CONNECT_MIGRATIONS, (api) => homeConnectRowsPorts({ ...rowsDepsOver(api) }));
|
|
5394
5389
|
const built = buildHomeConnectInstances(records, {
|
|
5395
5390
|
onChanged: () => this.reconcileIntegrations(),
|
|
5396
5391
|
tester: this.buildConnectionTestProvider()
|
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-WlrW2PAy.js");
|
|
3
|
+
const require_account_integration_offline = require("../account-integration-offline-CG1-xGSm.js");
|
|
4
4
|
let node_crypto = require("node:crypto");
|
|
5
5
|
//#region src/homecom/config.ts
|
|
6
6
|
var HOMECOM_BRANDS = ["bosch", "buderus"];
|
|
@@ -2196,12 +2196,7 @@ var BoschHomeComProviderAddon = class extends require_bosch_instances.BaseDevice
|
|
|
2196
2196
|
const records = this.ctx.records;
|
|
2197
2197
|
if (records === void 0) throw new Error("bosch-homecom: ctx.records is required (hub-only addon)");
|
|
2198
2198
|
await records.declare(homeComRecordKinds);
|
|
2199
|
-
await this.runMigrations(
|
|
2200
|
-
api: require_bosch_instances.defaultIntegrationApiOver(this.ctx.api),
|
|
2201
|
-
secrets: this.ctx.secrets ?? null,
|
|
2202
|
-
records,
|
|
2203
|
-
warn: (message) => this.ctx.logger.warn(message)
|
|
2204
|
-
})));
|
|
2199
|
+
await this.runMigrations(HOMECOM_MIGRATIONS, (api) => homeComRowsPorts({ ...require_bosch_instances.rowsDepsOver(api) }));
|
|
2205
2200
|
const built = buildHomeComInstances(records, {
|
|
2206
2201
|
onChanged: () => this.reconcileIntegrations(),
|
|
2207
2202
|
tester: this.buildConnectionTestProvider()
|
package/dist/homecom/addon.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as
|
|
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 { $ as EventCategory, B as _enum, C as integrationInstancesCapability, D as rowsDepsOver, F as defineCustomActions, G as object, H as boolean, I as defineEntryKind, L as entryBody, M as waterHeaterCapability, P as customAction, Q as errMsg, U as literal, V as array, W as number, Z as DeviceType, _ as deviceAdoptionCapability, a as BaseDevice, d as VendorLoginProxy, h as connectionTestCapability, i as testBoschInstance, l as RecordIntegrationInstances, m as climateControlCapability, n as boschRowsPorts, o as BaseDeviceProvider, q as string, r as keepBodyKeys, t as boschRowsMigration } from "../bosch-instances-GrNuqDFv.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-etjkhGaj.mjs";
|
|
3
3
|
import { createHash, randomBytes } from "node:crypto";
|
|
4
4
|
//#region src/homecom/config.ts
|
|
5
5
|
var HOMECOM_BRANDS = ["bosch", "buderus"];
|
|
@@ -2195,12 +2195,7 @@ var BoschHomeComProviderAddon = class extends BaseDeviceProvider {
|
|
|
2195
2195
|
const records = this.ctx.records;
|
|
2196
2196
|
if (records === void 0) throw new Error("bosch-homecom: ctx.records is required (hub-only addon)");
|
|
2197
2197
|
await records.declare(homeComRecordKinds);
|
|
2198
|
-
await this.runMigrations(
|
|
2199
|
-
api: defaultIntegrationApiOver(this.ctx.api),
|
|
2200
|
-
secrets: this.ctx.secrets ?? null,
|
|
2201
|
-
records,
|
|
2202
|
-
warn: (message) => this.ctx.logger.warn(message)
|
|
2203
|
-
})));
|
|
2198
|
+
await this.runMigrations(HOMECOM_MIGRATIONS, (api) => homeComRowsPorts({ ...rowsDepsOver(api) }));
|
|
2204
2199
|
const built = buildHomeComInstances(records, {
|
|
2205
2200
|
onChanged: () => this.reconcileIntegrations(),
|
|
2206
2201
|
tester: this.buildConnectionTestProvider()
|
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-WlrW2PAy.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");
|
|
@@ -23843,12 +23843,7 @@ var BoschShcProviderAddon = class extends require_bosch_instances.BaseDeviceProv
|
|
|
23843
23843
|
const records = this.ctx.records;
|
|
23844
23844
|
if (records === void 0) throw new Error("bosch-shc: ctx.records is required (hub-only addon)");
|
|
23845
23845
|
await records.declare(shcRecordKinds);
|
|
23846
|
-
await this.runMigrations(
|
|
23847
|
-
api: require_bosch_instances.defaultIntegrationApiOver(this.ctx.api),
|
|
23848
|
-
secrets: this.ctx.secrets ?? null,
|
|
23849
|
-
records,
|
|
23850
|
-
warn: (message) => this.ctx.logger.warn(message)
|
|
23851
|
-
})));
|
|
23846
|
+
await this.runMigrations(SHC_MIGRATIONS, (api) => shcRowsPorts({ ...require_bosch_instances.rowsDepsOver(api) }));
|
|
23852
23847
|
const built = buildShcInstances(records, {
|
|
23853
23848
|
onChanged: () => this.reconcileIntegrations(),
|
|
23854
23849
|
tester: this.buildConnectionTestProvider()
|
package/dist/shc/addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as EventCategory, A as switchCapability, B as _enum, C as integrationInstancesCapability, D as rowsDepsOver, F as defineCustomActions, G as object, I as defineEntryKind, L as entryBody, P as customAction, Q as errMsg, U as literal, V as array, W as number, Z as DeviceType, _ as deviceAdoptionCapability, a as BaseDevice, f as batteryCapability, h as connectionTestCapability, i as testBoschInstance, j as temperatureSensorCapability, l as RecordIntegrationInstances, m as climateControlCapability, n as boschRowsPorts, o as BaseDeviceProvider, q as string, r as keepBodyKeys, t as boschRowsMigration, x as heatingValveCapability } from "../bosch-instances-GrNuqDFv.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
import { request } from "node:https";
|
|
@@ -23844,12 +23844,7 @@ var BoschShcProviderAddon = class extends BaseDeviceProvider {
|
|
|
23844
23844
|
const records = this.ctx.records;
|
|
23845
23845
|
if (records === void 0) throw new Error("bosch-shc: ctx.records is required (hub-only addon)");
|
|
23846
23846
|
await records.declare(shcRecordKinds);
|
|
23847
|
-
await this.runMigrations(
|
|
23848
|
-
api: defaultIntegrationApiOver(this.ctx.api),
|
|
23849
|
-
secrets: this.ctx.secrets ?? null,
|
|
23850
|
-
records,
|
|
23851
|
-
warn: (message) => this.ctx.logger.warn(message)
|
|
23852
|
-
})));
|
|
23847
|
+
await this.runMigrations(SHC_MIGRATIONS, (api) => shcRowsPorts({ ...rowsDepsOver(api) }));
|
|
23853
23848
|
const built = buildShcInstances(records, {
|
|
23854
23849
|
onChanged: () => this.reconcileIntegrations(),
|
|
23855
23850
|
tester: this.buildConnectionTestProvider()
|
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.39",
|
|
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",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
}
|
|
142
142
|
],
|
|
143
143
|
"requires": {
|
|
144
|
-
"server": ">=1.2.
|
|
144
|
+
"server": ">=1.2.780"
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
147
|
"files": [
|