@seamapi/http 2.9.0 → 2.11.0
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/lib/resources/device.d.ts +9 -1
- package/lib/routes/connect-webviews/connect-webviews.d.ts +1 -1
- package/lib/routes/connected-accounts/connected-accounts.d.ts +1 -1
- package/lib/routes/devices/devices.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/src/lib/resources/device.ts +9 -1
- package/src/lib/routes/connect-webviews/connect-webviews.ts +1 -1
- package/src/lib/routes/connected-accounts/connected-accounts.ts +1 -1
- package/src/lib/routes/devices/devices.ts +1 -1
- package/src/lib/version.ts +1 -1
|
@@ -1493,7 +1493,15 @@ export type Device = {
|
|
|
1493
1493
|
*/
|
|
1494
1494
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
1495
1495
|
/**
|
|
1496
|
-
* Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error.
|
|
1496
|
+
* Enforced cooling setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error.
|
|
1497
|
+
*/
|
|
1498
|
+
enforced_cooling_setpoint_range_celsius?: Array<number> | undefined;
|
|
1499
|
+
/**
|
|
1500
|
+
* Enforced heating setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error.
|
|
1501
|
+
*/
|
|
1502
|
+
enforced_heating_setpoint_range_celsius?: Array<number> | undefined;
|
|
1503
|
+
/**
|
|
1504
|
+
* Legacy combined enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. Read as a fallback for the per-mode ranges below; no longer written.
|
|
1497
1505
|
*/
|
|
1498
1506
|
enforced_setpoint_range_celsius?: Array<number> | undefined;
|
|
1499
1507
|
/**
|
|
@@ -123,7 +123,7 @@ export interface ConnectWebviewsGetOptions {
|
|
|
123
123
|
}
|
|
124
124
|
export type ConnectWebviewsListParameters = {
|
|
125
125
|
/**
|
|
126
|
-
* Custom metadata pairs by which you want to [filter Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). Returns Connect Webviews with `custom_metadata` that contains all of the provided key:value pairs. Key names cannot contain a period (.). Specify
|
|
126
|
+
* Custom metadata pairs by which you want to [filter Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). Returns Connect Webviews with `custom_metadata` that contains all of the provided key:value pairs. Key names cannot contain a period (.). Specify `null` to match a key that is unset. A key given an empty string is omitted from the filter.
|
|
127
127
|
*/
|
|
128
128
|
custom_metadata_has?: Record<string, unknown> | undefined;
|
|
129
129
|
/**
|
|
@@ -77,7 +77,7 @@ export interface ConnectedAccountsGetOptions {
|
|
|
77
77
|
}
|
|
78
78
|
export type ConnectedAccountsListParameters = {
|
|
79
79
|
/**
|
|
80
|
-
* Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with `custom_metadata` that contains all of the provided key:value pairs. Key names cannot contain a period (.). Specify
|
|
80
|
+
* Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with `custom_metadata` that contains all of the provided key:value pairs. Key names cannot contain a period (.). Specify `null` to match a key that is unset. A key given an empty string is omitted from the filter.
|
|
81
81
|
*/
|
|
82
82
|
custom_metadata_has?: Record<string, unknown> | undefined;
|
|
83
83
|
/**
|
|
@@ -87,7 +87,7 @@ export type DevicesListParameters = {
|
|
|
87
87
|
*/
|
|
88
88
|
created_before?: string | undefined;
|
|
89
89
|
/**
|
|
90
|
-
* Set of key:value [custom metadata](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices. Key names cannot contain a period (.). Specify
|
|
90
|
+
* Set of key:value [custom metadata](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices. Key names cannot contain a period (.). Specify `null` to match a key that is unset. A key given an empty string is omitted from the filter.
|
|
91
91
|
*/
|
|
92
92
|
custom_metadata_has?: Record<string, unknown> | undefined;
|
|
93
93
|
/**
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const seamapiJavascriptHttpVersion = "2.
|
|
1
|
+
declare const seamapiJavascriptHttpVersion = "2.11.0";
|
|
2
2
|
export default seamapiJavascriptHttpVersion;
|
package/lib/version.js
CHANGED
package/lib/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/lib/version.ts"],"names":[],"mappings":"AAAA,MAAM,4BAA4B,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/lib/version.ts"],"names":[],"mappings":"AAAA,MAAM,4BAA4B,GAAG,QAAQ,CAAA;AAE7C,eAAe,4BAA4B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seamapi/http",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
4
4
|
"description": "JavaScript HTTP client for the Seam API written in TypeScript.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"@seamapi/blueprint": "^1.5.1",
|
|
88
88
|
"@seamapi/fake-seam-connect": "^2.0.4",
|
|
89
89
|
"@seamapi/smith": "^1.1.0",
|
|
90
|
-
"@seamapi/types": "1.
|
|
90
|
+
"@seamapi/types": "1.1019.0",
|
|
91
91
|
"@types/jsonwebtoken": "^9.0.6",
|
|
92
92
|
"@types/node": "^24.10.9",
|
|
93
93
|
"ava": "^8.0.1",
|
|
@@ -1717,7 +1717,15 @@ export type Device = {
|
|
|
1717
1717
|
*/
|
|
1718
1718
|
dual_setpoints_not_supported?: boolean | undefined
|
|
1719
1719
|
/**
|
|
1720
|
-
* Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error.
|
|
1720
|
+
* Enforced cooling setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error.
|
|
1721
|
+
*/
|
|
1722
|
+
enforced_cooling_setpoint_range_celsius?: Array<number> | undefined
|
|
1723
|
+
/**
|
|
1724
|
+
* Enforced heating setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error.
|
|
1725
|
+
*/
|
|
1726
|
+
enforced_heating_setpoint_range_celsius?: Array<number> | undefined
|
|
1727
|
+
/**
|
|
1728
|
+
* Legacy combined enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. Read as a fallback for the per-mode ranges below; no longer written.
|
|
1721
1729
|
*/
|
|
1722
1730
|
enforced_setpoint_range_celsius?: Array<number> | undefined
|
|
1723
1731
|
/**
|
|
@@ -422,7 +422,7 @@ export interface ConnectWebviewsGetOptions {}
|
|
|
422
422
|
|
|
423
423
|
export type ConnectWebviewsListParameters = {
|
|
424
424
|
/**
|
|
425
|
-
* Custom metadata pairs by which you want to [filter Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). Returns Connect Webviews with `custom_metadata` that contains all of the provided key:value pairs. Key names cannot contain a period (.). Specify
|
|
425
|
+
* Custom metadata pairs by which you want to [filter Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). Returns Connect Webviews with `custom_metadata` that contains all of the provided key:value pairs. Key names cannot contain a period (.). Specify `null` to match a key that is unset. A key given an empty string is omitted from the filter.
|
|
426
426
|
*/
|
|
427
427
|
custom_metadata_has?: Record<string, unknown> | undefined
|
|
428
428
|
/**
|
|
@@ -311,7 +311,7 @@ export interface ConnectedAccountsGetOptions {}
|
|
|
311
311
|
|
|
312
312
|
export type ConnectedAccountsListParameters = {
|
|
313
313
|
/**
|
|
314
|
-
* Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with `custom_metadata` that contains all of the provided key:value pairs. Key names cannot contain a period (.). Specify
|
|
314
|
+
* Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with `custom_metadata` that contains all of the provided key:value pairs. Key names cannot contain a period (.). Specify `null` to match a key that is unset. A key given an empty string is omitted from the filter.
|
|
315
315
|
*/
|
|
316
316
|
custom_metadata_has?: Record<string, unknown> | undefined
|
|
317
317
|
/**
|
|
@@ -313,7 +313,7 @@ export type DevicesListParameters = {
|
|
|
313
313
|
*/
|
|
314
314
|
created_before?: string | undefined
|
|
315
315
|
/**
|
|
316
|
-
* Set of key:value [custom metadata](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices. Key names cannot contain a period (.). Specify
|
|
316
|
+
* Set of key:value [custom metadata](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices. Key names cannot contain a period (.). Specify `null` to match a key that is unset. A key given an empty string is omitted from the filter.
|
|
317
317
|
*/
|
|
318
318
|
custom_metadata_has?: Record<string, unknown> | undefined
|
|
319
319
|
/**
|
package/src/lib/version.ts
CHANGED