@seamapi/types 1.324.0 → 1.325.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 +991 -49
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +3076 -281
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +257 -5
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +257 -5
- package/lib/seam/connect/models/acs/acs-system.d.ts +10 -10
- package/lib/seam/connect/models/devices/device.d.ts +419 -11
- package/lib/seam/connect/models/devices/device.js +103 -3
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +258 -6
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +258 -6
- package/lib/seam/connect/openapi.d.ts +124 -79
- package/lib/seam/connect/openapi.js +925 -35
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1630 -44
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +118 -3
- package/src/lib/seam/connect/openapi.ts +995 -35
- package/src/lib/seam/connect/route-types.ts +2080 -130
|
@@ -49,20 +49,176 @@ export declare const access_code: z.ZodObject<{
|
|
|
49
49
|
message: string;
|
|
50
50
|
error_code: string;
|
|
51
51
|
is_access_code_error: true;
|
|
52
|
+
}>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
53
|
+
message: z.ZodString;
|
|
54
|
+
is_device_error: z.ZodLiteral<true>;
|
|
55
|
+
}, {
|
|
56
|
+
error_code: z.ZodLiteral<"device_offline">;
|
|
57
|
+
}>, "strip", z.ZodTypeAny, {
|
|
58
|
+
message: string;
|
|
59
|
+
error_code: "device_offline";
|
|
60
|
+
is_device_error: true;
|
|
61
|
+
}, {
|
|
62
|
+
message: string;
|
|
63
|
+
error_code: "device_offline";
|
|
64
|
+
is_device_error: true;
|
|
52
65
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
53
66
|
message: z.ZodString;
|
|
54
67
|
is_device_error: z.ZodLiteral<true>;
|
|
55
68
|
}, {
|
|
56
|
-
error_code: z.
|
|
69
|
+
error_code: z.ZodLiteral<"device_removed">;
|
|
57
70
|
}>, "strip", z.ZodTypeAny, {
|
|
58
71
|
message: string;
|
|
59
|
-
error_code:
|
|
72
|
+
error_code: "device_removed";
|
|
60
73
|
is_device_error: true;
|
|
61
74
|
}, {
|
|
62
75
|
message: string;
|
|
63
|
-
error_code:
|
|
76
|
+
error_code: "device_removed";
|
|
77
|
+
is_device_error: true;
|
|
78
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
79
|
+
message: z.ZodString;
|
|
80
|
+
is_device_error: z.ZodLiteral<true>;
|
|
81
|
+
}, {
|
|
82
|
+
error_code: z.ZodLiteral<"account_disconnected">;
|
|
83
|
+
}>, "strip", z.ZodTypeAny, {
|
|
84
|
+
message: string;
|
|
85
|
+
error_code: "account_disconnected";
|
|
86
|
+
is_device_error: true;
|
|
87
|
+
}, {
|
|
88
|
+
message: string;
|
|
89
|
+
error_code: "account_disconnected";
|
|
90
|
+
is_device_error: true;
|
|
91
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
92
|
+
message: z.ZodString;
|
|
93
|
+
is_device_error: z.ZodLiteral<true>;
|
|
94
|
+
}, {
|
|
95
|
+
error_code: z.ZodLiteral<"hub_disconnected">;
|
|
96
|
+
}>, "strip", z.ZodTypeAny, {
|
|
97
|
+
message: string;
|
|
98
|
+
error_code: "hub_disconnected";
|
|
99
|
+
is_device_error: true;
|
|
100
|
+
}, {
|
|
101
|
+
message: string;
|
|
102
|
+
error_code: "hub_disconnected";
|
|
103
|
+
is_device_error: true;
|
|
104
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
105
|
+
message: z.ZodString;
|
|
106
|
+
is_device_error: z.ZodLiteral<true>;
|
|
107
|
+
}, {
|
|
108
|
+
error_code: z.ZodLiteral<"device_disconnected">;
|
|
109
|
+
}>, "strip", z.ZodTypeAny, {
|
|
110
|
+
message: string;
|
|
111
|
+
error_code: "device_disconnected";
|
|
112
|
+
is_device_error: true;
|
|
113
|
+
}, {
|
|
114
|
+
message: string;
|
|
115
|
+
error_code: "device_disconnected";
|
|
116
|
+
is_device_error: true;
|
|
117
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
118
|
+
message: z.ZodString;
|
|
119
|
+
is_device_error: z.ZodLiteral<true>;
|
|
120
|
+
}, {
|
|
121
|
+
error_code: z.ZodLiteral<"empty_backup_access_code_pool">;
|
|
122
|
+
}>, "strip", z.ZodTypeAny, {
|
|
123
|
+
message: string;
|
|
124
|
+
error_code: "empty_backup_access_code_pool";
|
|
125
|
+
is_device_error: true;
|
|
126
|
+
}, {
|
|
127
|
+
message: string;
|
|
128
|
+
error_code: "empty_backup_access_code_pool";
|
|
129
|
+
is_device_error: true;
|
|
130
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
131
|
+
message: z.ZodString;
|
|
132
|
+
is_device_error: z.ZodLiteral<true>;
|
|
133
|
+
}, {
|
|
134
|
+
error_code: z.ZodLiteral<"august_lock_not_authorized">;
|
|
135
|
+
}>, "strip", z.ZodTypeAny, {
|
|
136
|
+
message: string;
|
|
137
|
+
error_code: "august_lock_not_authorized";
|
|
138
|
+
is_device_error: true;
|
|
139
|
+
}, {
|
|
140
|
+
message: string;
|
|
141
|
+
error_code: "august_lock_not_authorized";
|
|
64
142
|
is_device_error: true;
|
|
65
143
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
144
|
+
message: z.ZodString;
|
|
145
|
+
is_device_error: z.ZodLiteral<true>;
|
|
146
|
+
}, {
|
|
147
|
+
error_code: z.ZodLiteral<"august_lock_missing_bridge">;
|
|
148
|
+
}>, "strip", z.ZodTypeAny, {
|
|
149
|
+
message: string;
|
|
150
|
+
error_code: "august_lock_missing_bridge";
|
|
151
|
+
is_device_error: true;
|
|
152
|
+
}, {
|
|
153
|
+
message: string;
|
|
154
|
+
error_code: "august_lock_missing_bridge";
|
|
155
|
+
is_device_error: true;
|
|
156
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
157
|
+
message: z.ZodString;
|
|
158
|
+
is_device_error: z.ZodLiteral<true>;
|
|
159
|
+
}, {
|
|
160
|
+
error_code: z.ZodLiteral<"salto_site_user_limit_reached">;
|
|
161
|
+
}>, "strip", z.ZodTypeAny, {
|
|
162
|
+
message: string;
|
|
163
|
+
error_code: "salto_site_user_limit_reached";
|
|
164
|
+
is_device_error: true;
|
|
165
|
+
}, {
|
|
166
|
+
message: string;
|
|
167
|
+
error_code: "salto_site_user_limit_reached";
|
|
168
|
+
is_device_error: true;
|
|
169
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
170
|
+
message: z.ZodString;
|
|
171
|
+
is_device_error: z.ZodLiteral<true>;
|
|
172
|
+
}, {
|
|
173
|
+
error_code: z.ZodLiteral<"ttlock_lock_not_paired_to_gateway">;
|
|
174
|
+
}>, "strip", z.ZodTypeAny, {
|
|
175
|
+
message: string;
|
|
176
|
+
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
177
|
+
is_device_error: true;
|
|
178
|
+
}, {
|
|
179
|
+
message: string;
|
|
180
|
+
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
181
|
+
is_device_error: true;
|
|
182
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
183
|
+
message: z.ZodString;
|
|
184
|
+
is_device_error: z.ZodLiteral<true>;
|
|
185
|
+
}, {
|
|
186
|
+
error_code: z.ZodLiteral<"missing_device_credentials">;
|
|
187
|
+
}>, "strip", z.ZodTypeAny, {
|
|
188
|
+
message: string;
|
|
189
|
+
error_code: "missing_device_credentials";
|
|
190
|
+
is_device_error: true;
|
|
191
|
+
}, {
|
|
192
|
+
message: string;
|
|
193
|
+
error_code: "missing_device_credentials";
|
|
194
|
+
is_device_error: true;
|
|
195
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
196
|
+
message: z.ZodString;
|
|
197
|
+
is_device_error: z.ZodLiteral<true>;
|
|
198
|
+
}, {
|
|
199
|
+
error_code: z.ZodLiteral<"auxiliary_heat_running">;
|
|
200
|
+
}>, "strip", z.ZodTypeAny, {
|
|
201
|
+
message: string;
|
|
202
|
+
error_code: "auxiliary_heat_running";
|
|
203
|
+
is_device_error: true;
|
|
204
|
+
}, {
|
|
205
|
+
message: string;
|
|
206
|
+
error_code: "auxiliary_heat_running";
|
|
207
|
+
is_device_error: true;
|
|
208
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
209
|
+
message: z.ZodString;
|
|
210
|
+
is_device_error: z.ZodLiteral<true>;
|
|
211
|
+
}, {
|
|
212
|
+
error_code: z.ZodLiteral<"subscription_required">;
|
|
213
|
+
}>, "strip", z.ZodTypeAny, {
|
|
214
|
+
message: string;
|
|
215
|
+
error_code: "subscription_required";
|
|
216
|
+
is_device_error: true;
|
|
217
|
+
}, {
|
|
218
|
+
message: string;
|
|
219
|
+
error_code: "subscription_required";
|
|
220
|
+
is_device_error: true;
|
|
221
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
66
222
|
message: z.ZodString;
|
|
67
223
|
is_connected_account_error: z.ZodLiteral<true>;
|
|
68
224
|
}, {
|
|
@@ -109,7 +265,55 @@ export declare const access_code: z.ZodObject<{
|
|
|
109
265
|
error_code: string;
|
|
110
266
|
} | {
|
|
111
267
|
message: string;
|
|
112
|
-
error_code:
|
|
268
|
+
error_code: "device_offline";
|
|
269
|
+
is_device_error: true;
|
|
270
|
+
} | {
|
|
271
|
+
message: string;
|
|
272
|
+
error_code: "device_removed";
|
|
273
|
+
is_device_error: true;
|
|
274
|
+
} | {
|
|
275
|
+
message: string;
|
|
276
|
+
error_code: "account_disconnected";
|
|
277
|
+
is_device_error: true;
|
|
278
|
+
} | {
|
|
279
|
+
message: string;
|
|
280
|
+
error_code: "hub_disconnected";
|
|
281
|
+
is_device_error: true;
|
|
282
|
+
} | {
|
|
283
|
+
message: string;
|
|
284
|
+
error_code: "device_disconnected";
|
|
285
|
+
is_device_error: true;
|
|
286
|
+
} | {
|
|
287
|
+
message: string;
|
|
288
|
+
error_code: "empty_backup_access_code_pool";
|
|
289
|
+
is_device_error: true;
|
|
290
|
+
} | {
|
|
291
|
+
message: string;
|
|
292
|
+
error_code: "august_lock_not_authorized";
|
|
293
|
+
is_device_error: true;
|
|
294
|
+
} | {
|
|
295
|
+
message: string;
|
|
296
|
+
error_code: "august_lock_missing_bridge";
|
|
297
|
+
is_device_error: true;
|
|
298
|
+
} | {
|
|
299
|
+
message: string;
|
|
300
|
+
error_code: "salto_site_user_limit_reached";
|
|
301
|
+
is_device_error: true;
|
|
302
|
+
} | {
|
|
303
|
+
message: string;
|
|
304
|
+
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
305
|
+
is_device_error: true;
|
|
306
|
+
} | {
|
|
307
|
+
message: string;
|
|
308
|
+
error_code: "missing_device_credentials";
|
|
309
|
+
is_device_error: true;
|
|
310
|
+
} | {
|
|
311
|
+
message: string;
|
|
312
|
+
error_code: "auxiliary_heat_running";
|
|
313
|
+
is_device_error: true;
|
|
314
|
+
} | {
|
|
315
|
+
message: string;
|
|
316
|
+
error_code: "subscription_required";
|
|
113
317
|
is_device_error: true;
|
|
114
318
|
} | {
|
|
115
319
|
message: string;
|
|
@@ -146,7 +350,55 @@ export declare const access_code: z.ZodObject<{
|
|
|
146
350
|
error_code: string;
|
|
147
351
|
} | {
|
|
148
352
|
message: string;
|
|
149
|
-
error_code:
|
|
353
|
+
error_code: "device_offline";
|
|
354
|
+
is_device_error: true;
|
|
355
|
+
} | {
|
|
356
|
+
message: string;
|
|
357
|
+
error_code: "device_removed";
|
|
358
|
+
is_device_error: true;
|
|
359
|
+
} | {
|
|
360
|
+
message: string;
|
|
361
|
+
error_code: "account_disconnected";
|
|
362
|
+
is_device_error: true;
|
|
363
|
+
} | {
|
|
364
|
+
message: string;
|
|
365
|
+
error_code: "hub_disconnected";
|
|
366
|
+
is_device_error: true;
|
|
367
|
+
} | {
|
|
368
|
+
message: string;
|
|
369
|
+
error_code: "device_disconnected";
|
|
370
|
+
is_device_error: true;
|
|
371
|
+
} | {
|
|
372
|
+
message: string;
|
|
373
|
+
error_code: "empty_backup_access_code_pool";
|
|
374
|
+
is_device_error: true;
|
|
375
|
+
} | {
|
|
376
|
+
message: string;
|
|
377
|
+
error_code: "august_lock_not_authorized";
|
|
378
|
+
is_device_error: true;
|
|
379
|
+
} | {
|
|
380
|
+
message: string;
|
|
381
|
+
error_code: "august_lock_missing_bridge";
|
|
382
|
+
is_device_error: true;
|
|
383
|
+
} | {
|
|
384
|
+
message: string;
|
|
385
|
+
error_code: "salto_site_user_limit_reached";
|
|
386
|
+
is_device_error: true;
|
|
387
|
+
} | {
|
|
388
|
+
message: string;
|
|
389
|
+
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
390
|
+
is_device_error: true;
|
|
391
|
+
} | {
|
|
392
|
+
message: string;
|
|
393
|
+
error_code: "missing_device_credentials";
|
|
394
|
+
is_device_error: true;
|
|
395
|
+
} | {
|
|
396
|
+
message: string;
|
|
397
|
+
error_code: "auxiliary_heat_running";
|
|
398
|
+
is_device_error: true;
|
|
399
|
+
} | {
|
|
400
|
+
message: string;
|
|
401
|
+
error_code: "subscription_required";
|
|
150
402
|
is_device_error: true;
|
|
151
403
|
} | {
|
|
152
404
|
message: string;
|
|
@@ -22,20 +22,176 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
22
22
|
message: string;
|
|
23
23
|
error_code: string;
|
|
24
24
|
is_access_code_error: true;
|
|
25
|
+
}>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
26
|
+
message: z.ZodString;
|
|
27
|
+
is_device_error: z.ZodLiteral<true>;
|
|
28
|
+
}, {
|
|
29
|
+
error_code: z.ZodLiteral<"device_offline">;
|
|
30
|
+
}>, "strip", z.ZodTypeAny, {
|
|
31
|
+
message: string;
|
|
32
|
+
error_code: "device_offline";
|
|
33
|
+
is_device_error: true;
|
|
34
|
+
}, {
|
|
35
|
+
message: string;
|
|
36
|
+
error_code: "device_offline";
|
|
37
|
+
is_device_error: true;
|
|
25
38
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
26
39
|
message: z.ZodString;
|
|
27
40
|
is_device_error: z.ZodLiteral<true>;
|
|
28
41
|
}, {
|
|
29
|
-
error_code: z.
|
|
42
|
+
error_code: z.ZodLiteral<"device_removed">;
|
|
30
43
|
}>, "strip", z.ZodTypeAny, {
|
|
31
44
|
message: string;
|
|
32
|
-
error_code:
|
|
45
|
+
error_code: "device_removed";
|
|
33
46
|
is_device_error: true;
|
|
34
47
|
}, {
|
|
35
48
|
message: string;
|
|
36
|
-
error_code:
|
|
49
|
+
error_code: "device_removed";
|
|
50
|
+
is_device_error: true;
|
|
51
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
52
|
+
message: z.ZodString;
|
|
53
|
+
is_device_error: z.ZodLiteral<true>;
|
|
54
|
+
}, {
|
|
55
|
+
error_code: z.ZodLiteral<"account_disconnected">;
|
|
56
|
+
}>, "strip", z.ZodTypeAny, {
|
|
57
|
+
message: string;
|
|
58
|
+
error_code: "account_disconnected";
|
|
59
|
+
is_device_error: true;
|
|
60
|
+
}, {
|
|
61
|
+
message: string;
|
|
62
|
+
error_code: "account_disconnected";
|
|
63
|
+
is_device_error: true;
|
|
64
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
65
|
+
message: z.ZodString;
|
|
66
|
+
is_device_error: z.ZodLiteral<true>;
|
|
67
|
+
}, {
|
|
68
|
+
error_code: z.ZodLiteral<"hub_disconnected">;
|
|
69
|
+
}>, "strip", z.ZodTypeAny, {
|
|
70
|
+
message: string;
|
|
71
|
+
error_code: "hub_disconnected";
|
|
72
|
+
is_device_error: true;
|
|
73
|
+
}, {
|
|
74
|
+
message: string;
|
|
75
|
+
error_code: "hub_disconnected";
|
|
76
|
+
is_device_error: true;
|
|
77
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
78
|
+
message: z.ZodString;
|
|
79
|
+
is_device_error: z.ZodLiteral<true>;
|
|
80
|
+
}, {
|
|
81
|
+
error_code: z.ZodLiteral<"device_disconnected">;
|
|
82
|
+
}>, "strip", z.ZodTypeAny, {
|
|
83
|
+
message: string;
|
|
84
|
+
error_code: "device_disconnected";
|
|
85
|
+
is_device_error: true;
|
|
86
|
+
}, {
|
|
87
|
+
message: string;
|
|
88
|
+
error_code: "device_disconnected";
|
|
89
|
+
is_device_error: true;
|
|
90
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
91
|
+
message: z.ZodString;
|
|
92
|
+
is_device_error: z.ZodLiteral<true>;
|
|
93
|
+
}, {
|
|
94
|
+
error_code: z.ZodLiteral<"empty_backup_access_code_pool">;
|
|
95
|
+
}>, "strip", z.ZodTypeAny, {
|
|
96
|
+
message: string;
|
|
97
|
+
error_code: "empty_backup_access_code_pool";
|
|
98
|
+
is_device_error: true;
|
|
99
|
+
}, {
|
|
100
|
+
message: string;
|
|
101
|
+
error_code: "empty_backup_access_code_pool";
|
|
102
|
+
is_device_error: true;
|
|
103
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
104
|
+
message: z.ZodString;
|
|
105
|
+
is_device_error: z.ZodLiteral<true>;
|
|
106
|
+
}, {
|
|
107
|
+
error_code: z.ZodLiteral<"august_lock_not_authorized">;
|
|
108
|
+
}>, "strip", z.ZodTypeAny, {
|
|
109
|
+
message: string;
|
|
110
|
+
error_code: "august_lock_not_authorized";
|
|
111
|
+
is_device_error: true;
|
|
112
|
+
}, {
|
|
113
|
+
message: string;
|
|
114
|
+
error_code: "august_lock_not_authorized";
|
|
37
115
|
is_device_error: true;
|
|
38
116
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
117
|
+
message: z.ZodString;
|
|
118
|
+
is_device_error: z.ZodLiteral<true>;
|
|
119
|
+
}, {
|
|
120
|
+
error_code: z.ZodLiteral<"august_lock_missing_bridge">;
|
|
121
|
+
}>, "strip", z.ZodTypeAny, {
|
|
122
|
+
message: string;
|
|
123
|
+
error_code: "august_lock_missing_bridge";
|
|
124
|
+
is_device_error: true;
|
|
125
|
+
}, {
|
|
126
|
+
message: string;
|
|
127
|
+
error_code: "august_lock_missing_bridge";
|
|
128
|
+
is_device_error: true;
|
|
129
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
130
|
+
message: z.ZodString;
|
|
131
|
+
is_device_error: z.ZodLiteral<true>;
|
|
132
|
+
}, {
|
|
133
|
+
error_code: z.ZodLiteral<"salto_site_user_limit_reached">;
|
|
134
|
+
}>, "strip", z.ZodTypeAny, {
|
|
135
|
+
message: string;
|
|
136
|
+
error_code: "salto_site_user_limit_reached";
|
|
137
|
+
is_device_error: true;
|
|
138
|
+
}, {
|
|
139
|
+
message: string;
|
|
140
|
+
error_code: "salto_site_user_limit_reached";
|
|
141
|
+
is_device_error: true;
|
|
142
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
143
|
+
message: z.ZodString;
|
|
144
|
+
is_device_error: z.ZodLiteral<true>;
|
|
145
|
+
}, {
|
|
146
|
+
error_code: z.ZodLiteral<"ttlock_lock_not_paired_to_gateway">;
|
|
147
|
+
}>, "strip", z.ZodTypeAny, {
|
|
148
|
+
message: string;
|
|
149
|
+
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
150
|
+
is_device_error: true;
|
|
151
|
+
}, {
|
|
152
|
+
message: string;
|
|
153
|
+
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
154
|
+
is_device_error: true;
|
|
155
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
156
|
+
message: z.ZodString;
|
|
157
|
+
is_device_error: z.ZodLiteral<true>;
|
|
158
|
+
}, {
|
|
159
|
+
error_code: z.ZodLiteral<"missing_device_credentials">;
|
|
160
|
+
}>, "strip", z.ZodTypeAny, {
|
|
161
|
+
message: string;
|
|
162
|
+
error_code: "missing_device_credentials";
|
|
163
|
+
is_device_error: true;
|
|
164
|
+
}, {
|
|
165
|
+
message: string;
|
|
166
|
+
error_code: "missing_device_credentials";
|
|
167
|
+
is_device_error: true;
|
|
168
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
169
|
+
message: z.ZodString;
|
|
170
|
+
is_device_error: z.ZodLiteral<true>;
|
|
171
|
+
}, {
|
|
172
|
+
error_code: z.ZodLiteral<"auxiliary_heat_running">;
|
|
173
|
+
}>, "strip", z.ZodTypeAny, {
|
|
174
|
+
message: string;
|
|
175
|
+
error_code: "auxiliary_heat_running";
|
|
176
|
+
is_device_error: true;
|
|
177
|
+
}, {
|
|
178
|
+
message: string;
|
|
179
|
+
error_code: "auxiliary_heat_running";
|
|
180
|
+
is_device_error: true;
|
|
181
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
182
|
+
message: z.ZodString;
|
|
183
|
+
is_device_error: z.ZodLiteral<true>;
|
|
184
|
+
}, {
|
|
185
|
+
error_code: z.ZodLiteral<"subscription_required">;
|
|
186
|
+
}>, "strip", z.ZodTypeAny, {
|
|
187
|
+
message: string;
|
|
188
|
+
error_code: "subscription_required";
|
|
189
|
+
is_device_error: true;
|
|
190
|
+
}, {
|
|
191
|
+
message: string;
|
|
192
|
+
error_code: "subscription_required";
|
|
193
|
+
is_device_error: true;
|
|
194
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
39
195
|
message: z.ZodString;
|
|
40
196
|
is_connected_account_error: z.ZodLiteral<true>;
|
|
41
197
|
}, {
|
|
@@ -85,7 +241,55 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
85
241
|
error_code: string;
|
|
86
242
|
} | {
|
|
87
243
|
message: string;
|
|
88
|
-
error_code:
|
|
244
|
+
error_code: "device_offline";
|
|
245
|
+
is_device_error: true;
|
|
246
|
+
} | {
|
|
247
|
+
message: string;
|
|
248
|
+
error_code: "device_removed";
|
|
249
|
+
is_device_error: true;
|
|
250
|
+
} | {
|
|
251
|
+
message: string;
|
|
252
|
+
error_code: "account_disconnected";
|
|
253
|
+
is_device_error: true;
|
|
254
|
+
} | {
|
|
255
|
+
message: string;
|
|
256
|
+
error_code: "hub_disconnected";
|
|
257
|
+
is_device_error: true;
|
|
258
|
+
} | {
|
|
259
|
+
message: string;
|
|
260
|
+
error_code: "device_disconnected";
|
|
261
|
+
is_device_error: true;
|
|
262
|
+
} | {
|
|
263
|
+
message: string;
|
|
264
|
+
error_code: "empty_backup_access_code_pool";
|
|
265
|
+
is_device_error: true;
|
|
266
|
+
} | {
|
|
267
|
+
message: string;
|
|
268
|
+
error_code: "august_lock_not_authorized";
|
|
269
|
+
is_device_error: true;
|
|
270
|
+
} | {
|
|
271
|
+
message: string;
|
|
272
|
+
error_code: "august_lock_missing_bridge";
|
|
273
|
+
is_device_error: true;
|
|
274
|
+
} | {
|
|
275
|
+
message: string;
|
|
276
|
+
error_code: "salto_site_user_limit_reached";
|
|
277
|
+
is_device_error: true;
|
|
278
|
+
} | {
|
|
279
|
+
message: string;
|
|
280
|
+
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
281
|
+
is_device_error: true;
|
|
282
|
+
} | {
|
|
283
|
+
message: string;
|
|
284
|
+
error_code: "missing_device_credentials";
|
|
285
|
+
is_device_error: true;
|
|
286
|
+
} | {
|
|
287
|
+
message: string;
|
|
288
|
+
error_code: "auxiliary_heat_running";
|
|
289
|
+
is_device_error: true;
|
|
290
|
+
} | {
|
|
291
|
+
message: string;
|
|
292
|
+
error_code: "subscription_required";
|
|
89
293
|
is_device_error: true;
|
|
90
294
|
} | {
|
|
91
295
|
message: string;
|
|
@@ -113,7 +317,55 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
113
317
|
error_code: string;
|
|
114
318
|
} | {
|
|
115
319
|
message: string;
|
|
116
|
-
error_code:
|
|
320
|
+
error_code: "device_offline";
|
|
321
|
+
is_device_error: true;
|
|
322
|
+
} | {
|
|
323
|
+
message: string;
|
|
324
|
+
error_code: "device_removed";
|
|
325
|
+
is_device_error: true;
|
|
326
|
+
} | {
|
|
327
|
+
message: string;
|
|
328
|
+
error_code: "account_disconnected";
|
|
329
|
+
is_device_error: true;
|
|
330
|
+
} | {
|
|
331
|
+
message: string;
|
|
332
|
+
error_code: "hub_disconnected";
|
|
333
|
+
is_device_error: true;
|
|
334
|
+
} | {
|
|
335
|
+
message: string;
|
|
336
|
+
error_code: "device_disconnected";
|
|
337
|
+
is_device_error: true;
|
|
338
|
+
} | {
|
|
339
|
+
message: string;
|
|
340
|
+
error_code: "empty_backup_access_code_pool";
|
|
341
|
+
is_device_error: true;
|
|
342
|
+
} | {
|
|
343
|
+
message: string;
|
|
344
|
+
error_code: "august_lock_not_authorized";
|
|
345
|
+
is_device_error: true;
|
|
346
|
+
} | {
|
|
347
|
+
message: string;
|
|
348
|
+
error_code: "august_lock_missing_bridge";
|
|
349
|
+
is_device_error: true;
|
|
350
|
+
} | {
|
|
351
|
+
message: string;
|
|
352
|
+
error_code: "salto_site_user_limit_reached";
|
|
353
|
+
is_device_error: true;
|
|
354
|
+
} | {
|
|
355
|
+
message: string;
|
|
356
|
+
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
357
|
+
is_device_error: true;
|
|
358
|
+
} | {
|
|
359
|
+
message: string;
|
|
360
|
+
error_code: "missing_device_credentials";
|
|
361
|
+
is_device_error: true;
|
|
362
|
+
} | {
|
|
363
|
+
message: string;
|
|
364
|
+
error_code: "auxiliary_heat_running";
|
|
365
|
+
is_device_error: true;
|
|
366
|
+
} | {
|
|
367
|
+
message: string;
|
|
368
|
+
error_code: "subscription_required";
|
|
117
369
|
is_device_error: true;
|
|
118
370
|
} | {
|
|
119
371
|
message: string;
|
|
@@ -110,6 +110,11 @@ export declare const acs_system_error_map: z.ZodObject<{
|
|
|
110
110
|
created_at: string;
|
|
111
111
|
}>>>;
|
|
112
112
|
}, "strip", z.ZodTypeAny, {
|
|
113
|
+
account_disconnected?: {
|
|
114
|
+
message: string;
|
|
115
|
+
error_code: "account_disconnected";
|
|
116
|
+
created_at: string;
|
|
117
|
+
} | null | undefined;
|
|
113
118
|
seam_bridge_disconnected?: {
|
|
114
119
|
message: string;
|
|
115
120
|
error_code: "seam_bridge_disconnected";
|
|
@@ -130,17 +135,17 @@ export declare const acs_system_error_map: z.ZodObject<{
|
|
|
130
135
|
error_code: "acs_system_disconnected";
|
|
131
136
|
created_at: string;
|
|
132
137
|
} | null | undefined;
|
|
133
|
-
account_disconnected?: {
|
|
134
|
-
message: string;
|
|
135
|
-
error_code: "account_disconnected";
|
|
136
|
-
created_at: string;
|
|
137
|
-
} | null | undefined;
|
|
138
138
|
salto_ks_certification_expired?: {
|
|
139
139
|
message: string;
|
|
140
140
|
error_code: "salto_ks_certification_expired";
|
|
141
141
|
created_at: string;
|
|
142
142
|
} | null | undefined;
|
|
143
143
|
}, {
|
|
144
|
+
account_disconnected?: {
|
|
145
|
+
message: string;
|
|
146
|
+
error_code: "account_disconnected";
|
|
147
|
+
created_at: string;
|
|
148
|
+
} | null | undefined;
|
|
144
149
|
seam_bridge_disconnected?: {
|
|
145
150
|
message: string;
|
|
146
151
|
error_code: "seam_bridge_disconnected";
|
|
@@ -161,11 +166,6 @@ export declare const acs_system_error_map: z.ZodObject<{
|
|
|
161
166
|
error_code: "acs_system_disconnected";
|
|
162
167
|
created_at: string;
|
|
163
168
|
} | null | undefined;
|
|
164
|
-
account_disconnected?: {
|
|
165
|
-
message: string;
|
|
166
|
-
error_code: "account_disconnected";
|
|
167
|
-
created_at: string;
|
|
168
|
-
} | null | undefined;
|
|
169
169
|
salto_ks_certification_expired?: {
|
|
170
170
|
message: string;
|
|
171
171
|
error_code: "salto_ks_certification_expired";
|