@seamapi/http 2.45.0 → 2.46.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/space.d.ts +19 -0
- package/lib/routes/customers/customers.d.ts +4 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -2
- package/src/lib/resources/space.ts +37 -14
- package/src/lib/routes/customers/customers.ts +4 -0
- package/src/lib/version.ts +1 -1
package/lib/resources/space.d.ts
CHANGED
|
@@ -88,6 +88,25 @@ export type Space = {
|
|
|
88
88
|
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
89
89
|
*/
|
|
90
90
|
warning_code: 'being_deleted';
|
|
91
|
+
} /**
|
|
92
|
+
* Indicates that Seam could not apply the noise sensor automation to one or more noise sensors in the space, for example because their settings keep changing back after Seam re-applies it, Seam does not know the sensor's time zone yet, or the sensor is shared with spaces that configure it differently.
|
|
93
|
+
*/ | {
|
|
94
|
+
/**
|
|
95
|
+
* Date and time at which Seam created the warning.
|
|
96
|
+
*/
|
|
97
|
+
created_at: string;
|
|
98
|
+
/**
|
|
99
|
+
* IDs of the noise sensors in the space that Seam could not bring in line with the noise sensor automation.
|
|
100
|
+
*/
|
|
101
|
+
device_ids: Array<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
104
|
+
*/
|
|
105
|
+
message: string;
|
|
106
|
+
/**
|
|
107
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
108
|
+
*/
|
|
109
|
+
warning_code: 'noise_sensor_configuration_mismatch';
|
|
91
110
|
}>;
|
|
92
111
|
/**
|
|
93
112
|
* ID of the workspace associated with the space.
|
|
@@ -691,6 +691,10 @@ export type CustomersCreatePortalParameters = {
|
|
|
691
691
|
* Indicates whether the customer can customize their notification settings, such as the low-battery alert threshold.
|
|
692
692
|
*/
|
|
693
693
|
allow_notification_customization?: boolean | undefined;
|
|
694
|
+
/**
|
|
695
|
+
* Indicates whether the customer can customize the sensor automation rules for their properties.
|
|
696
|
+
*/
|
|
697
|
+
allow_sensor_automation_rule_customization?: boolean | undefined;
|
|
694
698
|
/**
|
|
695
699
|
* Indicates whether the customer can customize the sound automation rules for their properties.
|
|
696
700
|
*/
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const seamapiJavascriptHttpVersion = "2.
|
|
1
|
+
declare const seamapiJavascriptHttpVersion = "2.46.0";
|
|
2
2
|
export default seamapiJavascriptHttpVersion;
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seamapi/http",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.46.0",
|
|
4
4
|
"description": "JavaScript HTTP client for the Seam API written in TypeScript.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@seamapi/blueprint": "^1.10.0",
|
|
89
89
|
"@seamapi/fake-seam-connect": "^2.0.4",
|
|
90
90
|
"@seamapi/smith": "^1.1.0",
|
|
91
|
-
"@seamapi/types": "1.
|
|
91
|
+
"@seamapi/types": "1.1142.0",
|
|
92
92
|
"@types/jsonwebtoken": "^9.0.6",
|
|
93
93
|
"@types/node": "^24.10.9",
|
|
94
94
|
"ava": "^8.0.1",
|
|
@@ -92,22 +92,45 @@ export type Space = {
|
|
|
92
92
|
/**
|
|
93
93
|
* Indicates that the space is being deleted. Seam removes it, revokes its access grants, and detaches its devices and entrances shortly.
|
|
94
94
|
*/
|
|
95
|
-
{
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
95
|
+
| {
|
|
96
|
+
/**
|
|
97
|
+
* Date and time at which Seam created the warning.
|
|
98
|
+
*/
|
|
99
|
+
created_at: string
|
|
100
100
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
101
|
+
/**
|
|
102
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
103
|
+
*/
|
|
104
|
+
message: string
|
|
105
105
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
106
|
+
/**
|
|
107
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
108
|
+
*/
|
|
109
|
+
warning_code: 'being_deleted'
|
|
110
|
+
} /**
|
|
111
|
+
* Indicates that Seam could not apply the noise sensor automation to one or more noise sensors in the space, for example because their settings keep changing back after Seam re-applies it, Seam does not know the sensor's time zone yet, or the sensor is shared with spaces that configure it differently.
|
|
112
|
+
*/
|
|
113
|
+
| {
|
|
114
|
+
/**
|
|
115
|
+
* Date and time at which Seam created the warning.
|
|
116
|
+
*/
|
|
117
|
+
created_at: string
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* IDs of the noise sensors in the space that Seam could not bring in line with the noise sensor automation.
|
|
121
|
+
*/
|
|
122
|
+
device_ids: Array<string>
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
126
|
+
*/
|
|
127
|
+
message: string
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
131
|
+
*/
|
|
132
|
+
warning_code: 'noise_sensor_configuration_mismatch'
|
|
133
|
+
}
|
|
111
134
|
>
|
|
112
135
|
|
|
113
136
|
/**
|
|
@@ -938,6 +938,10 @@ export type CustomersCreatePortalParameters = {
|
|
|
938
938
|
* Indicates whether the customer can customize their notification settings, such as the low-battery alert threshold.
|
|
939
939
|
*/
|
|
940
940
|
allow_notification_customization?: boolean | undefined
|
|
941
|
+
/**
|
|
942
|
+
* Indicates whether the customer can customize the sensor automation rules for their properties.
|
|
943
|
+
*/
|
|
944
|
+
allow_sensor_automation_rule_customization?: boolean | undefined
|
|
941
945
|
/**
|
|
942
946
|
* Indicates whether the customer can customize the sound automation rules for their properties.
|
|
943
947
|
*/
|
package/src/lib/version.ts
CHANGED