@seamapi/types 1.242.0 → 1.243.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/dist/connect.cjs +134 -45
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +484 -62
- package/dist/devicedb.cjs +9 -6
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +123 -70
- package/lib/seam/connect/models/acs/acs-system.d.ts +86 -42
- package/lib/seam/connect/models/acs/acs-system.js +23 -20
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-user.d.ts +8 -8
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +5 -5
- package/lib/seam/connect/models/devices/device-metadata.d.ts +78 -0
- package/lib/seam/connect/models/devices/device-metadata.js +14 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +108 -6
- package/lib/seam/connect/models/devices/phone.d.ts +83 -5
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +83 -5
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +3 -3
- package/lib/seam/connect/models/thermostats/climate-preset.js +1 -1
- package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
- package/lib/seam/connect/models/thermostats/index.d.ts +1 -1
- package/lib/seam/connect/models/thermostats/index.js +1 -1
- package/lib/seam/connect/models/thermostats/index.js.map +1 -1
- package/lib/seam/connect/models/thermostats/{climate-setting-schedule.js → thermostat-schedule.js} +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +49 -0
- package/lib/seam/connect/openapi.js +87 -22
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +208 -36
- package/lib/seam/devicedb/models/device-model.d.ts +59 -24
- package/lib/seam/devicedb/models/device-model.js +9 -6
- package/lib/seam/devicedb/models/device-model.js.map +1 -1
- package/lib/seam/devicedb/route-specs.d.ts +56 -38
- package/lib/seam/devicedb/route-types.d.ts +8 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +32 -24
- package/src/lib/seam/connect/models/devices/device-metadata.ts +16 -0
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +1 -1
- package/src/lib/seam/connect/models/thermostats/index.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +90 -22
- package/src/lib/seam/connect/route-types.ts +236 -36
- package/src/lib/seam/devicedb/models/device-model.ts +24 -19
- package/src/lib/seam/devicedb/route-types.ts +8 -8
- package/lib/seam/connect/models/thermostats/climate-setting-schedule.js.map +0 -1
- /package/lib/seam/connect/models/thermostats/{climate-setting-schedule.d.ts → thermostat-schedule.d.ts} +0 -0
- /package/src/lib/seam/connect/models/thermostats/{climate-setting-schedule.ts → thermostat-schedule.ts} +0 -0
|
@@ -17,7 +17,7 @@ export declare const acs_system_capability_flags: z.ZodObject<{
|
|
|
17
17
|
}>;
|
|
18
18
|
export declare const acs_system_external_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building"]>;
|
|
19
19
|
export type AcsSystemExternalType = z.infer<typeof acs_system_external_type>;
|
|
20
|
-
declare const acs_system_error_map: z.ZodObject<{
|
|
20
|
+
export declare const acs_system_error_map: z.ZodObject<{
|
|
21
21
|
seam_bridge_disconnected: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
22
22
|
created_at: z.ZodString;
|
|
23
23
|
message: z.ZodString;
|
|
@@ -46,32 +46,46 @@ declare const acs_system_error_map: z.ZodObject<{
|
|
|
46
46
|
error_code: "visionline_instance_unreachable";
|
|
47
47
|
created_at: string;
|
|
48
48
|
}>>>;
|
|
49
|
-
|
|
49
|
+
salto_ks_subscription_limit_exceeded: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
50
50
|
created_at: z.ZodString;
|
|
51
51
|
message: z.ZodString;
|
|
52
52
|
}, {
|
|
53
|
-
error_code: z.ZodLiteral<"
|
|
53
|
+
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
54
54
|
}>, "strip", z.ZodTypeAny, {
|
|
55
55
|
message: string;
|
|
56
|
-
error_code: "
|
|
56
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
57
57
|
created_at: string;
|
|
58
58
|
}, {
|
|
59
59
|
message: string;
|
|
60
|
-
error_code: "
|
|
60
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
61
61
|
created_at: string;
|
|
62
62
|
}>>>;
|
|
63
|
-
|
|
63
|
+
acs_system_disconnected: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
64
64
|
created_at: z.ZodString;
|
|
65
65
|
message: z.ZodString;
|
|
66
66
|
}, {
|
|
67
|
-
error_code: z.ZodLiteral<"
|
|
67
|
+
error_code: z.ZodLiteral<"acs_system_disconnected">;
|
|
68
68
|
}>, "strip", z.ZodTypeAny, {
|
|
69
69
|
message: string;
|
|
70
|
-
error_code: "
|
|
70
|
+
error_code: "acs_system_disconnected";
|
|
71
71
|
created_at: string;
|
|
72
72
|
}, {
|
|
73
73
|
message: string;
|
|
74
|
-
error_code: "
|
|
74
|
+
error_code: "acs_system_disconnected";
|
|
75
|
+
created_at: string;
|
|
76
|
+
}>>>;
|
|
77
|
+
account_disconnected: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
78
|
+
created_at: z.ZodString;
|
|
79
|
+
message: z.ZodString;
|
|
80
|
+
}, {
|
|
81
|
+
error_code: z.ZodLiteral<"account_disconnected">;
|
|
82
|
+
}>, "strip", z.ZodTypeAny, {
|
|
83
|
+
message: string;
|
|
84
|
+
error_code: "account_disconnected";
|
|
85
|
+
created_at: string;
|
|
86
|
+
}, {
|
|
87
|
+
message: string;
|
|
88
|
+
error_code: "account_disconnected";
|
|
75
89
|
created_at: string;
|
|
76
90
|
}>>>;
|
|
77
91
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -85,14 +99,19 @@ declare const acs_system_error_map: z.ZodObject<{
|
|
|
85
99
|
error_code: "visionline_instance_unreachable";
|
|
86
100
|
created_at: string;
|
|
87
101
|
} | null | undefined;
|
|
88
|
-
|
|
102
|
+
salto_ks_subscription_limit_exceeded?: {
|
|
103
|
+
message: string;
|
|
104
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
105
|
+
created_at: string;
|
|
106
|
+
} | null | undefined;
|
|
107
|
+
acs_system_disconnected?: {
|
|
89
108
|
message: string;
|
|
90
|
-
error_code: "
|
|
109
|
+
error_code: "acs_system_disconnected";
|
|
91
110
|
created_at: string;
|
|
92
111
|
} | null | undefined;
|
|
93
|
-
|
|
112
|
+
account_disconnected?: {
|
|
94
113
|
message: string;
|
|
95
|
-
error_code: "
|
|
114
|
+
error_code: "account_disconnected";
|
|
96
115
|
created_at: string;
|
|
97
116
|
} | null | undefined;
|
|
98
117
|
}, {
|
|
@@ -106,43 +125,48 @@ declare const acs_system_error_map: z.ZodObject<{
|
|
|
106
125
|
error_code: "visionline_instance_unreachable";
|
|
107
126
|
created_at: string;
|
|
108
127
|
} | null | undefined;
|
|
109
|
-
|
|
128
|
+
salto_ks_subscription_limit_exceeded?: {
|
|
129
|
+
message: string;
|
|
130
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
131
|
+
created_at: string;
|
|
132
|
+
} | null | undefined;
|
|
133
|
+
acs_system_disconnected?: {
|
|
110
134
|
message: string;
|
|
111
|
-
error_code: "
|
|
135
|
+
error_code: "acs_system_disconnected";
|
|
112
136
|
created_at: string;
|
|
113
137
|
} | null | undefined;
|
|
114
|
-
|
|
138
|
+
account_disconnected?: {
|
|
115
139
|
message: string;
|
|
116
|
-
error_code: "
|
|
140
|
+
error_code: "account_disconnected";
|
|
117
141
|
created_at: string;
|
|
118
142
|
} | null | undefined;
|
|
119
143
|
}>;
|
|
120
144
|
export type AcsSystemErrorMap = z.infer<typeof acs_system_error_map>;
|
|
121
|
-
declare const acs_system_warning_map: z.ZodObject<{
|
|
122
|
-
|
|
145
|
+
export declare const acs_system_warning_map: z.ZodObject<{
|
|
146
|
+
salto_ks_subscription_limit_almost_reached: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
123
147
|
created_at: z.ZodString;
|
|
124
148
|
message: z.ZodString;
|
|
125
149
|
}, {
|
|
126
|
-
warning_code: z.ZodLiteral<"
|
|
150
|
+
warning_code: z.ZodLiteral<"salto_ks_subscription_limit_almost_reached">;
|
|
127
151
|
}>, "strip", z.ZodTypeAny, {
|
|
128
152
|
message: string;
|
|
129
|
-
warning_code: "
|
|
153
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
130
154
|
created_at: string;
|
|
131
155
|
}, {
|
|
132
156
|
message: string;
|
|
133
|
-
warning_code: "
|
|
157
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
134
158
|
created_at: string;
|
|
135
159
|
}>>>;
|
|
136
160
|
}, "strip", z.ZodTypeAny, {
|
|
137
|
-
|
|
161
|
+
salto_ks_subscription_limit_almost_reached?: {
|
|
138
162
|
message: string;
|
|
139
|
-
warning_code: "
|
|
163
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
140
164
|
created_at: string;
|
|
141
165
|
} | null | undefined;
|
|
142
166
|
}, {
|
|
143
|
-
|
|
167
|
+
salto_ks_subscription_limit_almost_reached?: {
|
|
144
168
|
message: string;
|
|
145
|
-
warning_code: "
|
|
169
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
146
170
|
created_at: string;
|
|
147
171
|
} | null | undefined;
|
|
148
172
|
}>;
|
|
@@ -202,41 +226,54 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
202
226
|
created_at: z.ZodString;
|
|
203
227
|
message: z.ZodString;
|
|
204
228
|
}, {
|
|
205
|
-
error_code: z.ZodLiteral<"
|
|
229
|
+
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
206
230
|
}>, "strip", z.ZodTypeAny, {
|
|
207
231
|
message: string;
|
|
208
|
-
error_code: "
|
|
232
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
209
233
|
created_at: string;
|
|
210
234
|
}, {
|
|
211
235
|
message: string;
|
|
212
|
-
error_code: "
|
|
236
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
213
237
|
created_at: string;
|
|
214
238
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
215
239
|
created_at: z.ZodString;
|
|
216
240
|
message: z.ZodString;
|
|
217
241
|
}, {
|
|
218
|
-
error_code: z.ZodLiteral<"
|
|
242
|
+
error_code: z.ZodLiteral<"acs_system_disconnected">;
|
|
219
243
|
}>, "strip", z.ZodTypeAny, {
|
|
220
244
|
message: string;
|
|
221
|
-
error_code: "
|
|
245
|
+
error_code: "acs_system_disconnected";
|
|
222
246
|
created_at: string;
|
|
223
247
|
}, {
|
|
224
248
|
message: string;
|
|
225
|
-
error_code: "
|
|
249
|
+
error_code: "acs_system_disconnected";
|
|
250
|
+
created_at: string;
|
|
251
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
252
|
+
created_at: z.ZodString;
|
|
253
|
+
message: z.ZodString;
|
|
254
|
+
}, {
|
|
255
|
+
error_code: z.ZodLiteral<"account_disconnected">;
|
|
256
|
+
}>, "strip", z.ZodTypeAny, {
|
|
257
|
+
message: string;
|
|
258
|
+
error_code: "account_disconnected";
|
|
259
|
+
created_at: string;
|
|
260
|
+
}, {
|
|
261
|
+
message: string;
|
|
262
|
+
error_code: "account_disconnected";
|
|
226
263
|
created_at: string;
|
|
227
264
|
}>]>, "many">;
|
|
228
265
|
warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
229
266
|
created_at: z.ZodString;
|
|
230
267
|
message: z.ZodString;
|
|
231
268
|
}, {
|
|
232
|
-
warning_code: z.ZodLiteral<"
|
|
269
|
+
warning_code: z.ZodLiteral<"salto_ks_subscription_limit_almost_reached">;
|
|
233
270
|
}>, "strip", z.ZodTypeAny, {
|
|
234
271
|
message: string;
|
|
235
|
-
warning_code: "
|
|
272
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
236
273
|
created_at: string;
|
|
237
274
|
}, {
|
|
238
275
|
message: string;
|
|
239
|
-
warning_code: "
|
|
276
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
240
277
|
created_at: string;
|
|
241
278
|
}>, "many">;
|
|
242
279
|
}, {
|
|
@@ -257,16 +294,20 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
257
294
|
created_at: string;
|
|
258
295
|
} | {
|
|
259
296
|
message: string;
|
|
260
|
-
error_code: "
|
|
297
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
298
|
+
created_at: string;
|
|
299
|
+
} | {
|
|
300
|
+
message: string;
|
|
301
|
+
error_code: "acs_system_disconnected";
|
|
261
302
|
created_at: string;
|
|
262
303
|
} | {
|
|
263
304
|
message: string;
|
|
264
|
-
error_code: "
|
|
305
|
+
error_code: "account_disconnected";
|
|
265
306
|
created_at: string;
|
|
266
307
|
})[];
|
|
267
308
|
warnings: {
|
|
268
309
|
message: string;
|
|
269
|
-
warning_code: "
|
|
310
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
270
311
|
created_at: string;
|
|
271
312
|
}[];
|
|
272
313
|
image_url: string;
|
|
@@ -300,16 +341,20 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
300
341
|
created_at: string;
|
|
301
342
|
} | {
|
|
302
343
|
message: string;
|
|
303
|
-
error_code: "
|
|
344
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
345
|
+
created_at: string;
|
|
346
|
+
} | {
|
|
347
|
+
message: string;
|
|
348
|
+
error_code: "acs_system_disconnected";
|
|
304
349
|
created_at: string;
|
|
305
350
|
} | {
|
|
306
351
|
message: string;
|
|
307
|
-
error_code: "
|
|
352
|
+
error_code: "account_disconnected";
|
|
308
353
|
created_at: string;
|
|
309
354
|
})[];
|
|
310
355
|
warnings: {
|
|
311
356
|
message: string;
|
|
312
|
-
warning_code: "
|
|
357
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
313
358
|
created_at: string;
|
|
314
359
|
}[];
|
|
315
360
|
image_url: string;
|
|
@@ -332,4 +377,3 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
332
377
|
system_type_display_name?: string | undefined;
|
|
333
378
|
}>;
|
|
334
379
|
export type AcsSystem = z.output<typeof acs_system>;
|
|
335
|
-
export {};
|
|
@@ -54,35 +54,40 @@ const visionline_instance_unreachable = common_acs_system_error.extend({
|
|
|
54
54
|
.describe(`Indicates that the Seam Bridge is functioning correctly and the Seam API can communicate with the Seam Bridge, but the Seam API cannot connect to the on-premises [Visionline access control system](https://docs.seam.co/latest/device-and-system-integration-guides/assa-abloy-visionline-access-control-system).
|
|
55
55
|
For example, the IP address of the on-premises access control system may be set incorrectly within the Seam [workspace](https://docs.seam.co/latest/core-concepts/workspaces).
|
|
56
56
|
See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.visionline_instance_unreachable).`);
|
|
57
|
-
const
|
|
57
|
+
const salto_ks_subscription_limit_exceeded = common_acs_system_error.extend({
|
|
58
58
|
error_code: z
|
|
59
|
-
.literal('
|
|
59
|
+
.literal('salto_ks_subscription_limit_exceeded')
|
|
60
60
|
.describe('Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.'),
|
|
61
61
|
});
|
|
62
|
-
const
|
|
62
|
+
const acs_system_disconnected = common_acs_system_error.extend({
|
|
63
63
|
error_code: z
|
|
64
|
-
.literal('
|
|
65
|
-
.describe(
|
|
64
|
+
.literal('acs_system_disconnected')
|
|
65
|
+
.describe('Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue.'),
|
|
66
|
+
});
|
|
67
|
+
const account_disconnected = common_acs_system_error.extend({
|
|
68
|
+
error_code: z
|
|
69
|
+
.literal('account_disconnected')
|
|
70
|
+
.describe('Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access.'),
|
|
66
71
|
});
|
|
67
72
|
const acs_system_error = z
|
|
68
73
|
.union([
|
|
69
74
|
seam_bridge_disconnected,
|
|
70
75
|
visionline_instance_unreachable,
|
|
71
|
-
|
|
72
|
-
|
|
76
|
+
salto_ks_subscription_limit_exceeded,
|
|
77
|
+
acs_system_disconnected,
|
|
78
|
+
account_disconnected,
|
|
73
79
|
])
|
|
74
80
|
.describe('Error associated with the `acs_system`.');
|
|
75
|
-
const acs_system_error_map = z.object({
|
|
81
|
+
export const acs_system_error_map = z.object({
|
|
76
82
|
seam_bridge_disconnected: seam_bridge_disconnected.optional().nullable(),
|
|
77
83
|
visionline_instance_unreachable: visionline_instance_unreachable
|
|
78
84
|
.optional()
|
|
79
85
|
.nullable(),
|
|
80
|
-
|
|
81
|
-
.optional()
|
|
82
|
-
.nullable(),
|
|
83
|
-
salto_seam_integration_blocked: salto_seam_integration_blocked
|
|
86
|
+
salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded
|
|
84
87
|
.optional()
|
|
85
88
|
.nullable(),
|
|
89
|
+
acs_system_disconnected: acs_system_disconnected.optional().nullable(),
|
|
90
|
+
account_disconnected: account_disconnected.optional().nullable(),
|
|
86
91
|
});
|
|
87
92
|
const common_acs_system_warning = z.object({
|
|
88
93
|
created_at: z
|
|
@@ -93,20 +98,18 @@ const common_acs_system_warning = z.object({
|
|
|
93
98
|
.string()
|
|
94
99
|
.describe('Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.'),
|
|
95
100
|
});
|
|
96
|
-
const
|
|
101
|
+
const salto_ks_subscription_limit_almost_reached = common_acs_system_warning.extend({
|
|
97
102
|
warning_code: z
|
|
98
|
-
.literal('
|
|
99
|
-
.describe('
|
|
103
|
+
.literal('salto_ks_subscription_limit_almost_reached')
|
|
104
|
+
.describe('Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this.'),
|
|
100
105
|
});
|
|
101
106
|
const acs_system_warning =
|
|
102
107
|
// z.union([
|
|
103
|
-
|
|
108
|
+
salto_ks_subscription_limit_almost_reached
|
|
104
109
|
// ])
|
|
105
110
|
.describe('Warning associated with the `acs_system`.');
|
|
106
|
-
const acs_system_warning_map = z.object({
|
|
107
|
-
|
|
108
|
-
.optional()
|
|
109
|
-
.nullable(),
|
|
111
|
+
export const acs_system_warning_map = z.object({
|
|
112
|
+
salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached.optional().nullable(),
|
|
110
113
|
});
|
|
111
114
|
export const acs_system = z
|
|
112
115
|
.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-system.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,uBAAuB,EAAE,CAAC;SACvB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qUAAqU,CACtU;IACH,4BAA4B,EAAE,CAAC;SAC5B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,oXAAoX,CACrX;IACH,2CAA2C,EAAE,CAAC;SAC3C,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,uaAAua,CACxa;IACH,sCAAsC,EAAE,CAAC;SACtC,OAAO,EAAE;SACT,QAAQ,EAAE;S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C;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,6GAA6G,CAC9G;IACH,qBAAqB,EAAE,CAAC;SACrB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CACP,iIAAiI,CAClI;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,CAAC,qDAAqD,CAAC;IAClE,cAAc,EAAE,CAAC;SACd,MAAM,EAAE;SACR,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,gBAAgB,CAAC;SACvB,QAAQ,CAAC,0CAA0C,CAAC;IACvD,QAAQ,EAAE,CAAC;SACR,KAAK,CAAC,kBAAkB,CAAC;SACzB,QAAQ,CAAC,4CAA4C,CAAC;CAC1D,CAAC;KACD,KAAK,CAAC,2BAA2B,CAAC;KAClC,QAAQ,CACP,sGAAsG,CACvG,CAAA"}
|
|
@@ -73,14 +73,14 @@ export declare const acs_users_error_map: z.ZodObject<{
|
|
|
73
73
|
created_at: string;
|
|
74
74
|
}>>>;
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
|
|
76
|
+
salto_ks_subscription_limit_exceeded?: {
|
|
77
77
|
message: string;
|
|
78
|
-
error_code: "
|
|
78
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
79
79
|
created_at: string;
|
|
80
80
|
} | null | undefined;
|
|
81
|
-
|
|
81
|
+
deleted_externally?: {
|
|
82
82
|
message: string;
|
|
83
|
-
error_code: "
|
|
83
|
+
error_code: "deleted_externally";
|
|
84
84
|
created_at: string;
|
|
85
85
|
} | null | undefined;
|
|
86
86
|
failed_to_create_on_acs_system?: {
|
|
@@ -99,14 +99,14 @@ export declare const acs_users_error_map: z.ZodObject<{
|
|
|
99
99
|
created_at: string;
|
|
100
100
|
} | null | undefined;
|
|
101
101
|
}, {
|
|
102
|
-
|
|
102
|
+
salto_ks_subscription_limit_exceeded?: {
|
|
103
103
|
message: string;
|
|
104
|
-
error_code: "
|
|
104
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
105
105
|
created_at: string;
|
|
106
106
|
} | null | undefined;
|
|
107
|
-
|
|
107
|
+
deleted_externally?: {
|
|
108
108
|
message: string;
|
|
109
|
-
error_code: "
|
|
109
|
+
error_code: "deleted_externally";
|
|
110
110
|
created_at: string;
|
|
111
111
|
} | null | undefined;
|
|
112
112
|
failed_to_create_on_acs_system?: {
|
|
@@ -88,7 +88,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
88
88
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
89
89
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
90
90
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
91
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
92
92
|
display_name: z.ZodOptional<z.ZodString>;
|
|
93
93
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
|
|
94
94
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -128,7 +128,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
128
128
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
129
129
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
130
130
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
131
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
131
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
132
132
|
display_name: z.ZodOptional<z.ZodString>;
|
|
133
133
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
|
|
134
134
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -168,7 +168,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
168
168
|
climate_preset_key: z.ZodString;
|
|
169
169
|
can_edit: z.ZodBoolean;
|
|
170
170
|
can_delete: z.ZodBoolean;
|
|
171
|
-
name: z.ZodNullable<z.ZodString
|
|
171
|
+
name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
172
172
|
display_name: z.ZodString;
|
|
173
173
|
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
174
174
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
@@ -191,12 +191,12 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
191
191
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
192
192
|
heating_set_point_fahrenheit?: number | undefined;
|
|
193
193
|
}, {
|
|
194
|
-
name: string | null;
|
|
195
194
|
climate_preset_key: string;
|
|
196
195
|
can_edit: boolean;
|
|
197
196
|
can_delete: boolean;
|
|
198
197
|
display_name: string;
|
|
199
198
|
manual_override_allowed: boolean;
|
|
199
|
+
name?: string | null | undefined;
|
|
200
200
|
fan_mode_setting?: "auto" | "on" | undefined;
|
|
201
201
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
202
202
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -359,12 +359,12 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
359
359
|
manual_override_allowed?: boolean | undefined;
|
|
360
360
|
} | undefined;
|
|
361
361
|
available_climate_presets?: {
|
|
362
|
-
name: string | null;
|
|
363
362
|
climate_preset_key: string;
|
|
364
363
|
can_edit: boolean;
|
|
365
364
|
can_delete: boolean;
|
|
366
365
|
display_name: string;
|
|
367
366
|
manual_override_allowed: boolean;
|
|
367
|
+
name?: string | null | undefined;
|
|
368
368
|
fan_mode_setting?: "auto" | "on" | undefined;
|
|
369
369
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
370
370
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -13,7 +13,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
13
13
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
14
14
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
15
15
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
16
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
17
17
|
display_name: z.ZodOptional<z.ZodString>;
|
|
18
18
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
|
|
19
19
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -53,7 +53,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
53
53
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
54
54
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
55
55
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
56
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
57
57
|
display_name: z.ZodOptional<z.ZodString>;
|
|
58
58
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
|
|
59
59
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -93,7 +93,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
93
93
|
climate_preset_key: z.ZodString;
|
|
94
94
|
can_edit: z.ZodBoolean;
|
|
95
95
|
can_delete: z.ZodBoolean;
|
|
96
|
-
name: z.ZodNullable<z.ZodString
|
|
96
|
+
name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
97
97
|
display_name: z.ZodString;
|
|
98
98
|
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
99
99
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
@@ -116,12 +116,12 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
116
116
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
117
117
|
heating_set_point_fahrenheit?: number | undefined;
|
|
118
118
|
}, {
|
|
119
|
-
name: string | null;
|
|
120
119
|
climate_preset_key: string;
|
|
121
120
|
can_edit: boolean;
|
|
122
121
|
can_delete: boolean;
|
|
123
122
|
display_name: string;
|
|
124
123
|
manual_override_allowed: boolean;
|
|
124
|
+
name?: string | null | undefined;
|
|
125
125
|
fan_mode_setting?: "auto" | "on" | undefined;
|
|
126
126
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
127
127
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -284,12 +284,12 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
284
284
|
manual_override_allowed?: boolean | undefined;
|
|
285
285
|
} | undefined;
|
|
286
286
|
available_climate_presets?: {
|
|
287
|
-
name: string | null;
|
|
288
287
|
climate_preset_key: string;
|
|
289
288
|
can_edit: boolean;
|
|
290
289
|
can_delete: boolean;
|
|
291
290
|
display_name: string;
|
|
292
291
|
manual_override_allowed: boolean;
|
|
292
|
+
name?: string | null | undefined;
|
|
293
293
|
fan_mode_setting?: "auto" | "on" | undefined;
|
|
294
294
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
295
295
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -420,14 +420,68 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
420
420
|
lock_id: z.ZodNumber;
|
|
421
421
|
lock_alias: z.ZodString;
|
|
422
422
|
feature_value: z.ZodString;
|
|
423
|
+
features: z.ZodObject<{
|
|
424
|
+
passcode: z.ZodBoolean;
|
|
425
|
+
passcode_management: z.ZodBoolean;
|
|
426
|
+
unlock_via_gateway: z.ZodBoolean;
|
|
427
|
+
lock_command: z.ZodBoolean;
|
|
428
|
+
incomplete_keyboard_passcode: z.ZodBoolean;
|
|
429
|
+
}, "strip", z.ZodTypeAny, {
|
|
430
|
+
passcode: boolean;
|
|
431
|
+
passcode_management: boolean;
|
|
432
|
+
unlock_via_gateway: boolean;
|
|
433
|
+
lock_command: boolean;
|
|
434
|
+
incomplete_keyboard_passcode: boolean;
|
|
435
|
+
}, {
|
|
436
|
+
passcode: boolean;
|
|
437
|
+
passcode_management: boolean;
|
|
438
|
+
unlock_via_gateway: boolean;
|
|
439
|
+
lock_command: boolean;
|
|
440
|
+
incomplete_keyboard_passcode: boolean;
|
|
441
|
+
}>;
|
|
442
|
+
has_gateway: z.ZodOptional<z.ZodBoolean>;
|
|
443
|
+
wireless_keypads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
444
|
+
wireless_keypad_id: z.ZodNumber;
|
|
445
|
+
wireless_keypad_name: z.ZodString;
|
|
446
|
+
}, "strip", z.ZodTypeAny, {
|
|
447
|
+
wireless_keypad_id: number;
|
|
448
|
+
wireless_keypad_name: string;
|
|
449
|
+
}, {
|
|
450
|
+
wireless_keypad_id: number;
|
|
451
|
+
wireless_keypad_name: string;
|
|
452
|
+
}>, "many">>;
|
|
423
453
|
}, "strip", z.ZodTypeAny, {
|
|
424
454
|
lock_id: number;
|
|
425
455
|
lock_alias: string;
|
|
426
456
|
feature_value: string;
|
|
457
|
+
features: {
|
|
458
|
+
passcode: boolean;
|
|
459
|
+
passcode_management: boolean;
|
|
460
|
+
unlock_via_gateway: boolean;
|
|
461
|
+
lock_command: boolean;
|
|
462
|
+
incomplete_keyboard_passcode: boolean;
|
|
463
|
+
};
|
|
464
|
+
has_gateway?: boolean | undefined;
|
|
465
|
+
wireless_keypads?: {
|
|
466
|
+
wireless_keypad_id: number;
|
|
467
|
+
wireless_keypad_name: string;
|
|
468
|
+
}[] | undefined;
|
|
427
469
|
}, {
|
|
428
470
|
lock_id: number;
|
|
429
471
|
lock_alias: string;
|
|
430
472
|
feature_value: string;
|
|
473
|
+
features: {
|
|
474
|
+
passcode: boolean;
|
|
475
|
+
passcode_management: boolean;
|
|
476
|
+
unlock_via_gateway: boolean;
|
|
477
|
+
lock_command: boolean;
|
|
478
|
+
incomplete_keyboard_passcode: boolean;
|
|
479
|
+
};
|
|
480
|
+
has_gateway?: boolean | undefined;
|
|
481
|
+
wireless_keypads?: {
|
|
482
|
+
wireless_keypad_id: number;
|
|
483
|
+
wireless_keypad_name: string;
|
|
484
|
+
}[] | undefined;
|
|
431
485
|
}>>;
|
|
432
486
|
seam_bridge_metadata: z.ZodOptional<z.ZodObject<{
|
|
433
487
|
unlock_method: z.ZodOptional<z.ZodEnum<["bridge", "doorking"]>>;
|
|
@@ -762,6 +816,18 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
762
816
|
lock_id: number;
|
|
763
817
|
lock_alias: string;
|
|
764
818
|
feature_value: string;
|
|
819
|
+
features: {
|
|
820
|
+
passcode: boolean;
|
|
821
|
+
passcode_management: boolean;
|
|
822
|
+
unlock_via_gateway: boolean;
|
|
823
|
+
lock_command: boolean;
|
|
824
|
+
incomplete_keyboard_passcode: boolean;
|
|
825
|
+
};
|
|
826
|
+
has_gateway?: boolean | undefined;
|
|
827
|
+
wireless_keypads?: {
|
|
828
|
+
wireless_keypad_id: number;
|
|
829
|
+
wireless_keypad_name: string;
|
|
830
|
+
}[] | undefined;
|
|
765
831
|
} | undefined;
|
|
766
832
|
seam_bridge_metadata?: {
|
|
767
833
|
name: string;
|
|
@@ -952,6 +1018,18 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
952
1018
|
lock_id: number;
|
|
953
1019
|
lock_alias: string;
|
|
954
1020
|
feature_value: string;
|
|
1021
|
+
features: {
|
|
1022
|
+
passcode: boolean;
|
|
1023
|
+
passcode_management: boolean;
|
|
1024
|
+
unlock_via_gateway: boolean;
|
|
1025
|
+
lock_command: boolean;
|
|
1026
|
+
incomplete_keyboard_passcode: boolean;
|
|
1027
|
+
};
|
|
1028
|
+
has_gateway?: boolean | undefined;
|
|
1029
|
+
wireless_keypads?: {
|
|
1030
|
+
wireless_keypad_id: number;
|
|
1031
|
+
wireless_keypad_name: string;
|
|
1032
|
+
}[] | undefined;
|
|
955
1033
|
} | undefined;
|
|
956
1034
|
seam_bridge_metadata?: {
|
|
957
1035
|
name: string;
|
|
@@ -133,6 +133,20 @@ export const device_metadata = z
|
|
|
133
133
|
lock_id: z.number(),
|
|
134
134
|
lock_alias: z.string(),
|
|
135
135
|
feature_value: z.string(),
|
|
136
|
+
features: z.object({
|
|
137
|
+
passcode: z.boolean(),
|
|
138
|
+
passcode_management: z.boolean(),
|
|
139
|
+
unlock_via_gateway: z.boolean(),
|
|
140
|
+
lock_command: z.boolean(),
|
|
141
|
+
incomplete_keyboard_passcode: z.boolean(),
|
|
142
|
+
}),
|
|
143
|
+
has_gateway: z.boolean().optional(),
|
|
144
|
+
wireless_keypads: z
|
|
145
|
+
.array(z.object({
|
|
146
|
+
wireless_keypad_id: z.number(),
|
|
147
|
+
wireless_keypad_name: z.string(),
|
|
148
|
+
}))
|
|
149
|
+
.optional(),
|
|
136
150
|
}),
|
|
137
151
|
seam_bridge_metadata: z.object({
|
|
138
152
|
unlock_method: z.enum(['bridge', 'doorking']).optional(),
|