@seamapi/types 1.332.1 → 1.333.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.
@@ -1,31 +1,355 @@
1
1
  import { z } from 'zod';
2
2
 
3
- declare const access_code_error: z.ZodObject<z.objectUtil.extendShape<{
3
+ declare const access_code_error: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
4
4
  message: z.ZodString;
5
5
  is_access_code_error: z.ZodLiteral<true>;
6
6
  }, {
7
- error_code: z.ZodString;
7
+ error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
8
8
  }>, "strip", z.ZodTypeAny, {
9
9
  message: string;
10
- error_code: string;
10
+ error_code: "smartthings_failed_to_set_access_code";
11
11
  is_access_code_error: true;
12
12
  }, {
13
13
  message: string;
14
- error_code: string;
14
+ error_code: "smartthings_failed_to_set_access_code";
15
15
  is_access_code_error: true;
16
- }>;
16
+ }>, z.ZodObject<z.objectUtil.extendShape<{
17
+ message: z.ZodString;
18
+ is_access_code_error: z.ZodLiteral<true>;
19
+ }, {
20
+ error_code: z.ZodLiteral<"smartthings_failed_to_set_after_multiple_retries">;
21
+ }>, "strip", z.ZodTypeAny, {
22
+ message: string;
23
+ error_code: "smartthings_failed_to_set_after_multiple_retries";
24
+ is_access_code_error: true;
25
+ }, {
26
+ message: string;
27
+ error_code: "smartthings_failed_to_set_after_multiple_retries";
28
+ is_access_code_error: true;
29
+ }>, z.ZodObject<z.objectUtil.extendShape<{
30
+ message: z.ZodString;
31
+ is_access_code_error: z.ZodLiteral<true>;
32
+ }, {
33
+ error_code: z.ZodLiteral<"failed_to_set_on_device">;
34
+ }>, "strip", z.ZodTypeAny, {
35
+ message: string;
36
+ error_code: "failed_to_set_on_device";
37
+ is_access_code_error: true;
38
+ }, {
39
+ message: string;
40
+ error_code: "failed_to_set_on_device";
41
+ is_access_code_error: true;
42
+ }>, z.ZodObject<z.objectUtil.extendShape<{
43
+ message: z.ZodString;
44
+ is_access_code_error: z.ZodLiteral<true>;
45
+ }, {
46
+ error_code: z.ZodLiteral<"failed_to_remove_from_device">;
47
+ }>, "strip", z.ZodTypeAny, {
48
+ message: string;
49
+ error_code: "failed_to_remove_from_device";
50
+ is_access_code_error: true;
51
+ }, {
52
+ message: string;
53
+ error_code: "failed_to_remove_from_device";
54
+ is_access_code_error: true;
55
+ }>, z.ZodObject<z.objectUtil.extendShape<{
56
+ message: z.ZodString;
57
+ is_access_code_error: z.ZodLiteral<true>;
58
+ }, {
59
+ error_code: z.ZodLiteral<"duplicate_code_on_device">;
60
+ }>, "strip", z.ZodTypeAny, {
61
+ message: string;
62
+ error_code: "duplicate_code_on_device";
63
+ is_access_code_error: true;
64
+ }, {
65
+ message: string;
66
+ error_code: "duplicate_code_on_device";
67
+ is_access_code_error: true;
68
+ }>, z.ZodObject<z.objectUtil.extendShape<{
69
+ message: z.ZodString;
70
+ is_access_code_error: z.ZodLiteral<true>;
71
+ }, {
72
+ error_code: z.ZodLiteral<"duplicate_code_attempt_prevented">;
73
+ }>, "strip", z.ZodTypeAny, {
74
+ message: string;
75
+ error_code: "duplicate_code_attempt_prevented";
76
+ is_access_code_error: true;
77
+ }, {
78
+ message: string;
79
+ error_code: "duplicate_code_attempt_prevented";
80
+ is_access_code_error: true;
81
+ }>, z.ZodObject<z.objectUtil.extendShape<{
82
+ message: z.ZodString;
83
+ is_access_code_error: z.ZodLiteral<true>;
84
+ }, {
85
+ error_code: z.ZodLiteral<"igloohome_bridge_too_many_pending_jobs">;
86
+ }>, "strip", z.ZodTypeAny, {
87
+ message: string;
88
+ error_code: "igloohome_bridge_too_many_pending_jobs";
89
+ is_access_code_error: true;
90
+ }, {
91
+ message: string;
92
+ error_code: "igloohome_bridge_too_many_pending_jobs";
93
+ is_access_code_error: true;
94
+ }>, z.ZodObject<z.objectUtil.extendShape<{
95
+ message: z.ZodString;
96
+ is_access_code_error: z.ZodLiteral<true>;
97
+ }, {
98
+ error_code: z.ZodLiteral<"igloohome_bridge_offline">;
99
+ }>, "strip", z.ZodTypeAny, {
100
+ message: string;
101
+ error_code: "igloohome_bridge_offline";
102
+ is_access_code_error: true;
103
+ }, {
104
+ message: string;
105
+ error_code: "igloohome_bridge_offline";
106
+ is_access_code_error: true;
107
+ }>, z.ZodObject<z.objectUtil.extendShape<{
108
+ message: z.ZodString;
109
+ is_access_code_error: z.ZodLiteral<true>;
110
+ }, {
111
+ error_code: z.ZodLiteral<"igloohome_offline_access_code_no_variance_available">;
112
+ }>, "strip", z.ZodTypeAny, {
113
+ message: string;
114
+ error_code: "igloohome_offline_access_code_no_variance_available";
115
+ is_access_code_error: true;
116
+ }, {
117
+ message: string;
118
+ error_code: "igloohome_offline_access_code_no_variance_available";
119
+ is_access_code_error: true;
120
+ }>, z.ZodObject<z.objectUtil.extendShape<{
121
+ message: z.ZodString;
122
+ is_access_code_error: z.ZodLiteral<true>;
123
+ }, {
124
+ error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
125
+ }>, "strip", z.ZodTypeAny, {
126
+ message: string;
127
+ error_code: "kwikset_unable_to_confirm_code";
128
+ is_access_code_error: true;
129
+ }, {
130
+ message: string;
131
+ error_code: "kwikset_unable_to_confirm_code";
132
+ is_access_code_error: true;
133
+ }>, z.ZodObject<z.objectUtil.extendShape<{
134
+ message: z.ZodString;
135
+ is_access_code_error: z.ZodLiteral<true>;
136
+ }, {
137
+ error_code: z.ZodLiteral<"kwikset_unable_to_confirm_deletion">;
138
+ }>, "strip", z.ZodTypeAny, {
139
+ message: string;
140
+ error_code: "kwikset_unable_to_confirm_deletion";
141
+ is_access_code_error: true;
142
+ }, {
143
+ message: string;
144
+ error_code: "kwikset_unable_to_confirm_deletion";
145
+ is_access_code_error: true;
146
+ }>, z.ZodObject<z.objectUtil.extendShape<{
147
+ message: z.ZodString;
148
+ is_access_code_error: z.ZodLiteral<true>;
149
+ }, {
150
+ error_code: z.ZodLiteral<"code_modified_external_to_seam">;
151
+ }>, "strip", z.ZodTypeAny, {
152
+ message: string;
153
+ error_code: "code_modified_external_to_seam";
154
+ is_access_code_error: true;
155
+ }, {
156
+ message: string;
157
+ error_code: "code_modified_external_to_seam";
158
+ is_access_code_error: true;
159
+ }>, z.ZodObject<z.objectUtil.extendShape<{
160
+ message: z.ZodString;
161
+ is_access_code_error: z.ZodLiteral<true>;
162
+ }, {
163
+ error_code: z.ZodLiteral<"august_lock_invalid_code_length">;
164
+ }>, "strip", z.ZodTypeAny, {
165
+ message: string;
166
+ error_code: "august_lock_invalid_code_length";
167
+ is_access_code_error: true;
168
+ }, {
169
+ message: string;
170
+ error_code: "august_lock_invalid_code_length";
171
+ is_access_code_error: true;
172
+ }>, z.ZodObject<z.objectUtil.extendShape<{
173
+ message: z.ZodString;
174
+ is_access_code_error: z.ZodLiteral<true>;
175
+ }, {
176
+ error_code: z.ZodLiteral<"august_device_programming_delay">;
177
+ }>, "strip", z.ZodTypeAny, {
178
+ message: string;
179
+ error_code: "august_device_programming_delay";
180
+ is_access_code_error: true;
181
+ }, {
182
+ message: string;
183
+ error_code: "august_device_programming_delay";
184
+ is_access_code_error: true;
185
+ }>, z.ZodObject<z.objectUtil.extendShape<{
186
+ message: z.ZodString;
187
+ is_access_code_error: z.ZodLiteral<true>;
188
+ }, {
189
+ error_code: z.ZodLiteral<"august_device_slots_full">;
190
+ }>, "strip", z.ZodTypeAny, {
191
+ message: string;
192
+ error_code: "august_device_slots_full";
193
+ is_access_code_error: true;
194
+ }, {
195
+ message: string;
196
+ error_code: "august_device_slots_full";
197
+ is_access_code_error: true;
198
+ }>, z.ZodObject<z.objectUtil.extendShape<{
199
+ message: z.ZodString;
200
+ is_access_code_error: z.ZodLiteral<true>;
201
+ }, {
202
+ error_code: z.ZodLiteral<"august_lock_missing_keypad">;
203
+ }>, "strip", z.ZodTypeAny, {
204
+ message: string;
205
+ error_code: "august_lock_missing_keypad";
206
+ is_access_code_error: true;
207
+ }, {
208
+ message: string;
209
+ error_code: "august_lock_missing_keypad";
210
+ is_access_code_error: true;
211
+ }>, z.ZodObject<z.objectUtil.extendShape<{
212
+ message: z.ZodString;
213
+ is_access_code_error: z.ZodLiteral<true>;
214
+ }, {
215
+ error_code: z.ZodLiteral<"salto_site_user_not_subscribed">;
216
+ }>, "strip", z.ZodTypeAny, {
217
+ message: string;
218
+ error_code: "salto_site_user_not_subscribed";
219
+ is_access_code_error: true;
220
+ }, {
221
+ message: string;
222
+ error_code: "salto_site_user_not_subscribed";
223
+ is_access_code_error: true;
224
+ }>, z.ZodObject<z.objectUtil.extendShape<{
225
+ message: z.ZodString;
226
+ is_access_code_error: z.ZodLiteral<true>;
227
+ }, {
228
+ error_code: z.ZodLiteral<"hubitat_device_programming_delay">;
229
+ }>, "strip", z.ZodTypeAny, {
230
+ message: string;
231
+ error_code: "hubitat_device_programming_delay";
232
+ is_access_code_error: true;
233
+ }, {
234
+ message: string;
235
+ error_code: "hubitat_device_programming_delay";
236
+ is_access_code_error: true;
237
+ }>, z.ZodObject<z.objectUtil.extendShape<{
238
+ message: z.ZodString;
239
+ is_access_code_error: z.ZodLiteral<true>;
240
+ }, {
241
+ error_code: z.ZodLiteral<"hubitat_no_free_positions_available">;
242
+ }>, "strip", z.ZodTypeAny, {
243
+ message: string;
244
+ error_code: "hubitat_no_free_positions_available";
245
+ is_access_code_error: true;
246
+ }, {
247
+ message: string;
248
+ error_code: "hubitat_no_free_positions_available";
249
+ is_access_code_error: true;
250
+ }>]>;
17
251
  type AccessCodeError = z.infer<typeof access_code_error>;
18
- declare const access_code_warning: z.ZodObject<z.objectUtil.extendShape<{
252
+ declare const access_code_warning: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
19
253
  message: z.ZodString;
20
254
  }, {
21
- warning_code: z.ZodString;
255
+ warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
22
256
  }>, "strip", z.ZodTypeAny, {
23
257
  message: string;
24
- warning_code: string;
258
+ warning_code: "smartthings_failed_to_set_access_code";
25
259
  }, {
26
260
  message: string;
27
- warning_code: string;
28
- }>;
261
+ warning_code: "smartthings_failed_to_set_access_code";
262
+ }>, z.ZodObject<z.objectUtil.extendShape<{
263
+ message: z.ZodString;
264
+ }, {
265
+ warning_code: z.ZodLiteral<"schlage_detected_duplicate">;
266
+ }>, "strip", z.ZodTypeAny, {
267
+ message: string;
268
+ warning_code: "schlage_detected_duplicate";
269
+ }, {
270
+ message: string;
271
+ warning_code: "schlage_detected_duplicate";
272
+ }>, z.ZodObject<z.objectUtil.extendShape<{
273
+ message: z.ZodString;
274
+ }, {
275
+ warning_code: z.ZodLiteral<"schlage_creation_outage">;
276
+ }>, "strip", z.ZodTypeAny, {
277
+ message: string;
278
+ warning_code: "schlage_creation_outage";
279
+ }, {
280
+ message: string;
281
+ warning_code: "schlage_creation_outage";
282
+ }>, z.ZodObject<z.objectUtil.extendShape<{
283
+ message: z.ZodString;
284
+ }, {
285
+ warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
286
+ }>, "strip", z.ZodTypeAny, {
287
+ message: string;
288
+ warning_code: "code_modified_external_to_seam";
289
+ }, {
290
+ message: string;
291
+ warning_code: "code_modified_external_to_seam";
292
+ }>, z.ZodObject<z.objectUtil.extendShape<{
293
+ message: z.ZodString;
294
+ }, {
295
+ warning_code: z.ZodLiteral<"delay_in_setting_on_device">;
296
+ }>, "strip", z.ZodTypeAny, {
297
+ message: string;
298
+ warning_code: "delay_in_setting_on_device";
299
+ }, {
300
+ message: string;
301
+ warning_code: "delay_in_setting_on_device";
302
+ }>, z.ZodObject<z.objectUtil.extendShape<{
303
+ message: z.ZodString;
304
+ }, {
305
+ warning_code: z.ZodLiteral<"delay_in_removing_from_device">;
306
+ }>, "strip", z.ZodTypeAny, {
307
+ message: string;
308
+ warning_code: "delay_in_removing_from_device";
309
+ }, {
310
+ message: string;
311
+ warning_code: "delay_in_removing_from_device";
312
+ }>, z.ZodObject<z.objectUtil.extendShape<{
313
+ message: z.ZodString;
314
+ }, {
315
+ warning_code: z.ZodLiteral<"third_party_integration_detected">;
316
+ }>, "strip", z.ZodTypeAny, {
317
+ message: string;
318
+ warning_code: "third_party_integration_detected";
319
+ }, {
320
+ message: string;
321
+ warning_code: "third_party_integration_detected";
322
+ }>, z.ZodObject<z.objectUtil.extendShape<{
323
+ message: z.ZodString;
324
+ }, {
325
+ warning_code: z.ZodLiteral<"august_device_programming_delay">;
326
+ }>, "strip", z.ZodTypeAny, {
327
+ message: string;
328
+ warning_code: "august_device_programming_delay";
329
+ }, {
330
+ message: string;
331
+ warning_code: "august_device_programming_delay";
332
+ }>, z.ZodObject<z.objectUtil.extendShape<{
333
+ message: z.ZodString;
334
+ }, {
335
+ warning_code: z.ZodLiteral<"igloo_algopin_must_be_used_within_24_hours">;
336
+ }>, "strip", z.ZodTypeAny, {
337
+ message: string;
338
+ warning_code: "igloo_algopin_must_be_used_within_24_hours";
339
+ }, {
340
+ message: string;
341
+ warning_code: "igloo_algopin_must_be_used_within_24_hours";
342
+ }>, z.ZodObject<z.objectUtil.extendShape<{
343
+ message: z.ZodString;
344
+ }, {
345
+ warning_code: z.ZodLiteral<"management_transferred">;
346
+ }>, "strip", z.ZodTypeAny, {
347
+ message: string;
348
+ warning_code: "management_transferred";
349
+ }, {
350
+ message: string;
351
+ warning_code: "management_transferred";
352
+ }>]>;
29
353
  type AccessCodeWarning = z.infer<typeof access_code_warning>;
30
354
  declare const access_code: z.ZodObject<{
31
355
  common_code_key: z.ZodNullable<z.ZodString>;
@@ -37,20 +361,254 @@ declare const access_code: z.ZodObject<{
37
361
  name: z.ZodNullable<z.ZodString>;
38
362
  code: z.ZodNullable<z.ZodString>;
39
363
  created_at: z.ZodString;
40
- errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
364
+ errors: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
41
365
  message: z.ZodString;
42
366
  is_access_code_error: z.ZodLiteral<true>;
43
367
  }, {
44
- error_code: z.ZodString;
368
+ error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
45
369
  }>, "strip", z.ZodTypeAny, {
46
370
  message: string;
47
- error_code: string;
371
+ error_code: "smartthings_failed_to_set_access_code";
48
372
  is_access_code_error: true;
49
373
  }, {
50
374
  message: string;
51
- error_code: string;
375
+ error_code: "smartthings_failed_to_set_access_code";
52
376
  is_access_code_error: true;
53
- }>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
377
+ }>, z.ZodObject<z.objectUtil.extendShape<{
378
+ message: z.ZodString;
379
+ is_access_code_error: z.ZodLiteral<true>;
380
+ }, {
381
+ error_code: z.ZodLiteral<"smartthings_failed_to_set_after_multiple_retries">;
382
+ }>, "strip", z.ZodTypeAny, {
383
+ message: string;
384
+ error_code: "smartthings_failed_to_set_after_multiple_retries";
385
+ is_access_code_error: true;
386
+ }, {
387
+ message: string;
388
+ error_code: "smartthings_failed_to_set_after_multiple_retries";
389
+ is_access_code_error: true;
390
+ }>, z.ZodObject<z.objectUtil.extendShape<{
391
+ message: z.ZodString;
392
+ is_access_code_error: z.ZodLiteral<true>;
393
+ }, {
394
+ error_code: z.ZodLiteral<"failed_to_set_on_device">;
395
+ }>, "strip", z.ZodTypeAny, {
396
+ message: string;
397
+ error_code: "failed_to_set_on_device";
398
+ is_access_code_error: true;
399
+ }, {
400
+ message: string;
401
+ error_code: "failed_to_set_on_device";
402
+ is_access_code_error: true;
403
+ }>, z.ZodObject<z.objectUtil.extendShape<{
404
+ message: z.ZodString;
405
+ is_access_code_error: z.ZodLiteral<true>;
406
+ }, {
407
+ error_code: z.ZodLiteral<"failed_to_remove_from_device">;
408
+ }>, "strip", z.ZodTypeAny, {
409
+ message: string;
410
+ error_code: "failed_to_remove_from_device";
411
+ is_access_code_error: true;
412
+ }, {
413
+ message: string;
414
+ error_code: "failed_to_remove_from_device";
415
+ is_access_code_error: true;
416
+ }>, z.ZodObject<z.objectUtil.extendShape<{
417
+ message: z.ZodString;
418
+ is_access_code_error: z.ZodLiteral<true>;
419
+ }, {
420
+ error_code: z.ZodLiteral<"duplicate_code_on_device">;
421
+ }>, "strip", z.ZodTypeAny, {
422
+ message: string;
423
+ error_code: "duplicate_code_on_device";
424
+ is_access_code_error: true;
425
+ }, {
426
+ message: string;
427
+ error_code: "duplicate_code_on_device";
428
+ is_access_code_error: true;
429
+ }>, z.ZodObject<z.objectUtil.extendShape<{
430
+ message: z.ZodString;
431
+ is_access_code_error: z.ZodLiteral<true>;
432
+ }, {
433
+ error_code: z.ZodLiteral<"duplicate_code_attempt_prevented">;
434
+ }>, "strip", z.ZodTypeAny, {
435
+ message: string;
436
+ error_code: "duplicate_code_attempt_prevented";
437
+ is_access_code_error: true;
438
+ }, {
439
+ message: string;
440
+ error_code: "duplicate_code_attempt_prevented";
441
+ is_access_code_error: true;
442
+ }>, z.ZodObject<z.objectUtil.extendShape<{
443
+ message: z.ZodString;
444
+ is_access_code_error: z.ZodLiteral<true>;
445
+ }, {
446
+ error_code: z.ZodLiteral<"igloohome_bridge_too_many_pending_jobs">;
447
+ }>, "strip", z.ZodTypeAny, {
448
+ message: string;
449
+ error_code: "igloohome_bridge_too_many_pending_jobs";
450
+ is_access_code_error: true;
451
+ }, {
452
+ message: string;
453
+ error_code: "igloohome_bridge_too_many_pending_jobs";
454
+ is_access_code_error: true;
455
+ }>, z.ZodObject<z.objectUtil.extendShape<{
456
+ message: z.ZodString;
457
+ is_access_code_error: z.ZodLiteral<true>;
458
+ }, {
459
+ error_code: z.ZodLiteral<"igloohome_bridge_offline">;
460
+ }>, "strip", z.ZodTypeAny, {
461
+ message: string;
462
+ error_code: "igloohome_bridge_offline";
463
+ is_access_code_error: true;
464
+ }, {
465
+ message: string;
466
+ error_code: "igloohome_bridge_offline";
467
+ is_access_code_error: true;
468
+ }>, z.ZodObject<z.objectUtil.extendShape<{
469
+ message: z.ZodString;
470
+ is_access_code_error: z.ZodLiteral<true>;
471
+ }, {
472
+ error_code: z.ZodLiteral<"igloohome_offline_access_code_no_variance_available">;
473
+ }>, "strip", z.ZodTypeAny, {
474
+ message: string;
475
+ error_code: "igloohome_offline_access_code_no_variance_available";
476
+ is_access_code_error: true;
477
+ }, {
478
+ message: string;
479
+ error_code: "igloohome_offline_access_code_no_variance_available";
480
+ is_access_code_error: true;
481
+ }>, z.ZodObject<z.objectUtil.extendShape<{
482
+ message: z.ZodString;
483
+ is_access_code_error: z.ZodLiteral<true>;
484
+ }, {
485
+ error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
486
+ }>, "strip", z.ZodTypeAny, {
487
+ message: string;
488
+ error_code: "kwikset_unable_to_confirm_code";
489
+ is_access_code_error: true;
490
+ }, {
491
+ message: string;
492
+ error_code: "kwikset_unable_to_confirm_code";
493
+ is_access_code_error: true;
494
+ }>, z.ZodObject<z.objectUtil.extendShape<{
495
+ message: z.ZodString;
496
+ is_access_code_error: z.ZodLiteral<true>;
497
+ }, {
498
+ error_code: z.ZodLiteral<"kwikset_unable_to_confirm_deletion">;
499
+ }>, "strip", z.ZodTypeAny, {
500
+ message: string;
501
+ error_code: "kwikset_unable_to_confirm_deletion";
502
+ is_access_code_error: true;
503
+ }, {
504
+ message: string;
505
+ error_code: "kwikset_unable_to_confirm_deletion";
506
+ is_access_code_error: true;
507
+ }>, z.ZodObject<z.objectUtil.extendShape<{
508
+ message: z.ZodString;
509
+ is_access_code_error: z.ZodLiteral<true>;
510
+ }, {
511
+ error_code: z.ZodLiteral<"code_modified_external_to_seam">;
512
+ }>, "strip", z.ZodTypeAny, {
513
+ message: string;
514
+ error_code: "code_modified_external_to_seam";
515
+ is_access_code_error: true;
516
+ }, {
517
+ message: string;
518
+ error_code: "code_modified_external_to_seam";
519
+ is_access_code_error: true;
520
+ }>, z.ZodObject<z.objectUtil.extendShape<{
521
+ message: z.ZodString;
522
+ is_access_code_error: z.ZodLiteral<true>;
523
+ }, {
524
+ error_code: z.ZodLiteral<"august_lock_invalid_code_length">;
525
+ }>, "strip", z.ZodTypeAny, {
526
+ message: string;
527
+ error_code: "august_lock_invalid_code_length";
528
+ is_access_code_error: true;
529
+ }, {
530
+ message: string;
531
+ error_code: "august_lock_invalid_code_length";
532
+ is_access_code_error: true;
533
+ }>, z.ZodObject<z.objectUtil.extendShape<{
534
+ message: z.ZodString;
535
+ is_access_code_error: z.ZodLiteral<true>;
536
+ }, {
537
+ error_code: z.ZodLiteral<"august_device_programming_delay">;
538
+ }>, "strip", z.ZodTypeAny, {
539
+ message: string;
540
+ error_code: "august_device_programming_delay";
541
+ is_access_code_error: true;
542
+ }, {
543
+ message: string;
544
+ error_code: "august_device_programming_delay";
545
+ is_access_code_error: true;
546
+ }>, z.ZodObject<z.objectUtil.extendShape<{
547
+ message: z.ZodString;
548
+ is_access_code_error: z.ZodLiteral<true>;
549
+ }, {
550
+ error_code: z.ZodLiteral<"august_device_slots_full">;
551
+ }>, "strip", z.ZodTypeAny, {
552
+ message: string;
553
+ error_code: "august_device_slots_full";
554
+ is_access_code_error: true;
555
+ }, {
556
+ message: string;
557
+ error_code: "august_device_slots_full";
558
+ is_access_code_error: true;
559
+ }>, z.ZodObject<z.objectUtil.extendShape<{
560
+ message: z.ZodString;
561
+ is_access_code_error: z.ZodLiteral<true>;
562
+ }, {
563
+ error_code: z.ZodLiteral<"august_lock_missing_keypad">;
564
+ }>, "strip", z.ZodTypeAny, {
565
+ message: string;
566
+ error_code: "august_lock_missing_keypad";
567
+ is_access_code_error: true;
568
+ }, {
569
+ message: string;
570
+ error_code: "august_lock_missing_keypad";
571
+ is_access_code_error: true;
572
+ }>, z.ZodObject<z.objectUtil.extendShape<{
573
+ message: z.ZodString;
574
+ is_access_code_error: z.ZodLiteral<true>;
575
+ }, {
576
+ error_code: z.ZodLiteral<"salto_site_user_not_subscribed">;
577
+ }>, "strip", z.ZodTypeAny, {
578
+ message: string;
579
+ error_code: "salto_site_user_not_subscribed";
580
+ is_access_code_error: true;
581
+ }, {
582
+ message: string;
583
+ error_code: "salto_site_user_not_subscribed";
584
+ is_access_code_error: true;
585
+ }>, z.ZodObject<z.objectUtil.extendShape<{
586
+ message: z.ZodString;
587
+ is_access_code_error: z.ZodLiteral<true>;
588
+ }, {
589
+ error_code: z.ZodLiteral<"hubitat_device_programming_delay">;
590
+ }>, "strip", z.ZodTypeAny, {
591
+ message: string;
592
+ error_code: "hubitat_device_programming_delay";
593
+ is_access_code_error: true;
594
+ }, {
595
+ message: string;
596
+ error_code: "hubitat_device_programming_delay";
597
+ is_access_code_error: true;
598
+ }>, z.ZodObject<z.objectUtil.extendShape<{
599
+ message: z.ZodString;
600
+ is_access_code_error: z.ZodLiteral<true>;
601
+ }, {
602
+ error_code: z.ZodLiteral<"hubitat_no_free_positions_available">;
603
+ }>, "strip", z.ZodTypeAny, {
604
+ message: string;
605
+ error_code: "hubitat_no_free_positions_available";
606
+ is_access_code_error: true;
607
+ }, {
608
+ message: string;
609
+ error_code: "hubitat_no_free_positions_available";
610
+ is_access_code_error: true;
611
+ }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
54
612
  message: z.ZodString;
55
613
  is_device_error: z.ZodLiteral<true>;
56
614
  }, {
@@ -219,31 +777,134 @@ declare const access_code: z.ZodObject<{
219
777
  message: string;
220
778
  error_code: "subscription_required";
221
779
  is_device_error: true;
222
- }>]>, z.ZodObject<z.objectUtil.extendShape<{
780
+ }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
223
781
  message: z.ZodString;
224
782
  is_connected_account_error: z.ZodLiteral<true>;
225
783
  }, {
226
- error_code: z.ZodString;
784
+ error_code: z.ZodLiteral<"account_disconnected">;
227
785
  }>, "strip", z.ZodTypeAny, {
228
786
  message: string;
229
787
  is_connected_account_error: true;
230
- error_code: string;
788
+ error_code: "account_disconnected";
231
789
  }, {
232
790
  message: string;
233
791
  is_connected_account_error: true;
234
- error_code: string;
235
- }>]>, "many">;
236
- warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
792
+ error_code: "account_disconnected";
793
+ }>, z.ZodObject<z.objectUtil.extendShape<{
237
794
  message: z.ZodString;
795
+ is_connected_account_error: z.ZodLiteral<true>;
238
796
  }, {
239
- warning_code: z.ZodString;
797
+ error_code: z.ZodLiteral<"invalid_credentials">;
240
798
  }>, "strip", z.ZodTypeAny, {
241
799
  message: string;
242
- warning_code: string;
800
+ is_connected_account_error: true;
801
+ error_code: "invalid_credentials";
243
802
  }, {
244
803
  message: string;
245
- warning_code: string;
246
- }>, "many">;
804
+ is_connected_account_error: true;
805
+ error_code: "invalid_credentials";
806
+ }>]>]>, "many">;
807
+ warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
808
+ message: z.ZodString;
809
+ }, {
810
+ warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
811
+ }>, "strip", z.ZodTypeAny, {
812
+ message: string;
813
+ warning_code: "smartthings_failed_to_set_access_code";
814
+ }, {
815
+ message: string;
816
+ warning_code: "smartthings_failed_to_set_access_code";
817
+ }>, z.ZodObject<z.objectUtil.extendShape<{
818
+ message: z.ZodString;
819
+ }, {
820
+ warning_code: z.ZodLiteral<"schlage_detected_duplicate">;
821
+ }>, "strip", z.ZodTypeAny, {
822
+ message: string;
823
+ warning_code: "schlage_detected_duplicate";
824
+ }, {
825
+ message: string;
826
+ warning_code: "schlage_detected_duplicate";
827
+ }>, z.ZodObject<z.objectUtil.extendShape<{
828
+ message: z.ZodString;
829
+ }, {
830
+ warning_code: z.ZodLiteral<"schlage_creation_outage">;
831
+ }>, "strip", z.ZodTypeAny, {
832
+ message: string;
833
+ warning_code: "schlage_creation_outage";
834
+ }, {
835
+ message: string;
836
+ warning_code: "schlage_creation_outage";
837
+ }>, z.ZodObject<z.objectUtil.extendShape<{
838
+ message: z.ZodString;
839
+ }, {
840
+ warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
841
+ }>, "strip", z.ZodTypeAny, {
842
+ message: string;
843
+ warning_code: "code_modified_external_to_seam";
844
+ }, {
845
+ message: string;
846
+ warning_code: "code_modified_external_to_seam";
847
+ }>, z.ZodObject<z.objectUtil.extendShape<{
848
+ message: z.ZodString;
849
+ }, {
850
+ warning_code: z.ZodLiteral<"delay_in_setting_on_device">;
851
+ }>, "strip", z.ZodTypeAny, {
852
+ message: string;
853
+ warning_code: "delay_in_setting_on_device";
854
+ }, {
855
+ message: string;
856
+ warning_code: "delay_in_setting_on_device";
857
+ }>, z.ZodObject<z.objectUtil.extendShape<{
858
+ message: z.ZodString;
859
+ }, {
860
+ warning_code: z.ZodLiteral<"delay_in_removing_from_device">;
861
+ }>, "strip", z.ZodTypeAny, {
862
+ message: string;
863
+ warning_code: "delay_in_removing_from_device";
864
+ }, {
865
+ message: string;
866
+ warning_code: "delay_in_removing_from_device";
867
+ }>, z.ZodObject<z.objectUtil.extendShape<{
868
+ message: z.ZodString;
869
+ }, {
870
+ warning_code: z.ZodLiteral<"third_party_integration_detected">;
871
+ }>, "strip", z.ZodTypeAny, {
872
+ message: string;
873
+ warning_code: "third_party_integration_detected";
874
+ }, {
875
+ message: string;
876
+ warning_code: "third_party_integration_detected";
877
+ }>, z.ZodObject<z.objectUtil.extendShape<{
878
+ message: z.ZodString;
879
+ }, {
880
+ warning_code: z.ZodLiteral<"august_device_programming_delay">;
881
+ }>, "strip", z.ZodTypeAny, {
882
+ message: string;
883
+ warning_code: "august_device_programming_delay";
884
+ }, {
885
+ message: string;
886
+ warning_code: "august_device_programming_delay";
887
+ }>, z.ZodObject<z.objectUtil.extendShape<{
888
+ message: z.ZodString;
889
+ }, {
890
+ warning_code: z.ZodLiteral<"igloo_algopin_must_be_used_within_24_hours">;
891
+ }>, "strip", z.ZodTypeAny, {
892
+ message: string;
893
+ warning_code: "igloo_algopin_must_be_used_within_24_hours";
894
+ }, {
895
+ message: string;
896
+ warning_code: "igloo_algopin_must_be_used_within_24_hours";
897
+ }>, z.ZodObject<z.objectUtil.extendShape<{
898
+ message: z.ZodString;
899
+ }, {
900
+ warning_code: z.ZodLiteral<"management_transferred">;
901
+ }>, "strip", z.ZodTypeAny, {
902
+ message: string;
903
+ warning_code: "management_transferred";
904
+ }, {
905
+ message: string;
906
+ warning_code: "management_transferred";
907
+ }>]>, "many">;
247
908
  is_managed: z.ZodLiteral<true>;
248
909
  starts_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
249
910
  ends_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -262,7 +923,11 @@ declare const access_code: z.ZodObject<{
262
923
  errors: ({
263
924
  message: string;
264
925
  is_connected_account_error: true;
265
- error_code: string;
926
+ error_code: "account_disconnected";
927
+ } | {
928
+ message: string;
929
+ is_connected_account_error: true;
930
+ error_code: "invalid_credentials";
266
931
  } | {
267
932
  message: string;
268
933
  error_code: "device_offline";
@@ -317,13 +982,112 @@ declare const access_code: z.ZodObject<{
317
982
  is_device_error: true;
318
983
  } | {
319
984
  message: string;
320
- error_code: string;
985
+ error_code: "smartthings_failed_to_set_access_code";
986
+ is_access_code_error: true;
987
+ } | {
988
+ message: string;
989
+ error_code: "smartthings_failed_to_set_after_multiple_retries";
990
+ is_access_code_error: true;
991
+ } | {
992
+ message: string;
993
+ error_code: "code_modified_external_to_seam";
994
+ is_access_code_error: true;
995
+ } | {
996
+ message: string;
997
+ error_code: "failed_to_set_on_device";
998
+ is_access_code_error: true;
999
+ } | {
1000
+ message: string;
1001
+ error_code: "failed_to_remove_from_device";
1002
+ is_access_code_error: true;
1003
+ } | {
1004
+ message: string;
1005
+ error_code: "duplicate_code_on_device";
1006
+ is_access_code_error: true;
1007
+ } | {
1008
+ message: string;
1009
+ error_code: "duplicate_code_attempt_prevented";
1010
+ is_access_code_error: true;
1011
+ } | {
1012
+ message: string;
1013
+ error_code: "igloohome_bridge_too_many_pending_jobs";
1014
+ is_access_code_error: true;
1015
+ } | {
1016
+ message: string;
1017
+ error_code: "igloohome_bridge_offline";
1018
+ is_access_code_error: true;
1019
+ } | {
1020
+ message: string;
1021
+ error_code: "kwikset_unable_to_confirm_code";
1022
+ is_access_code_error: true;
1023
+ } | {
1024
+ message: string;
1025
+ error_code: "kwikset_unable_to_confirm_deletion";
1026
+ is_access_code_error: true;
1027
+ } | {
1028
+ message: string;
1029
+ error_code: "igloohome_offline_access_code_no_variance_available";
1030
+ is_access_code_error: true;
1031
+ } | {
1032
+ message: string;
1033
+ error_code: "august_lock_invalid_code_length";
1034
+ is_access_code_error: true;
1035
+ } | {
1036
+ message: string;
1037
+ error_code: "august_device_programming_delay";
1038
+ is_access_code_error: true;
1039
+ } | {
1040
+ message: string;
1041
+ error_code: "august_device_slots_full";
1042
+ is_access_code_error: true;
1043
+ } | {
1044
+ message: string;
1045
+ error_code: "august_lock_missing_keypad";
1046
+ is_access_code_error: true;
1047
+ } | {
1048
+ message: string;
1049
+ error_code: "salto_site_user_not_subscribed";
1050
+ is_access_code_error: true;
1051
+ } | {
1052
+ message: string;
1053
+ error_code: "hubitat_device_programming_delay";
1054
+ is_access_code_error: true;
1055
+ } | {
1056
+ message: string;
1057
+ error_code: "hubitat_no_free_positions_available";
321
1058
  is_access_code_error: true;
322
1059
  })[];
323
- warnings: {
1060
+ warnings: ({
324
1061
  message: string;
325
- warning_code: string;
326
- }[];
1062
+ warning_code: "smartthings_failed_to_set_access_code";
1063
+ } | {
1064
+ message: string;
1065
+ warning_code: "august_device_programming_delay";
1066
+ } | {
1067
+ message: string;
1068
+ warning_code: "code_modified_external_to_seam";
1069
+ } | {
1070
+ message: string;
1071
+ warning_code: "schlage_detected_duplicate";
1072
+ } | {
1073
+ message: string;
1074
+ warning_code: "schlage_creation_outage";
1075
+ } | {
1076
+ message: string;
1077
+ warning_code: "delay_in_setting_on_device";
1078
+ } | {
1079
+ message: string;
1080
+ warning_code: "delay_in_removing_from_device";
1081
+ } | {
1082
+ message: string;
1083
+ warning_code: "third_party_integration_detected";
1084
+ } | {
1085
+ message: string;
1086
+ warning_code: "igloo_algopin_must_be_used_within_24_hours";
1087
+ } | {
1088
+ message: string;
1089
+ warning_code: "management_transferred";
1090
+ })[];
327
1091
  name: string | null;
328
1092
  device_id: string;
329
1093
  is_managed: true;
@@ -347,7 +1111,11 @@ declare const access_code: z.ZodObject<{
347
1111
  errors: ({
348
1112
  message: string;
349
1113
  is_connected_account_error: true;
350
- error_code: string;
1114
+ error_code: "account_disconnected";
1115
+ } | {
1116
+ message: string;
1117
+ is_connected_account_error: true;
1118
+ error_code: "invalid_credentials";
351
1119
  } | {
352
1120
  message: string;
353
1121
  error_code: "device_offline";
@@ -402,13 +1170,112 @@ declare const access_code: z.ZodObject<{
402
1170
  is_device_error: true;
403
1171
  } | {
404
1172
  message: string;
405
- error_code: string;
1173
+ error_code: "smartthings_failed_to_set_access_code";
1174
+ is_access_code_error: true;
1175
+ } | {
1176
+ message: string;
1177
+ error_code: "smartthings_failed_to_set_after_multiple_retries";
1178
+ is_access_code_error: true;
1179
+ } | {
1180
+ message: string;
1181
+ error_code: "code_modified_external_to_seam";
1182
+ is_access_code_error: true;
1183
+ } | {
1184
+ message: string;
1185
+ error_code: "failed_to_set_on_device";
1186
+ is_access_code_error: true;
1187
+ } | {
1188
+ message: string;
1189
+ error_code: "failed_to_remove_from_device";
1190
+ is_access_code_error: true;
1191
+ } | {
1192
+ message: string;
1193
+ error_code: "duplicate_code_on_device";
1194
+ is_access_code_error: true;
1195
+ } | {
1196
+ message: string;
1197
+ error_code: "duplicate_code_attempt_prevented";
1198
+ is_access_code_error: true;
1199
+ } | {
1200
+ message: string;
1201
+ error_code: "igloohome_bridge_too_many_pending_jobs";
1202
+ is_access_code_error: true;
1203
+ } | {
1204
+ message: string;
1205
+ error_code: "igloohome_bridge_offline";
1206
+ is_access_code_error: true;
1207
+ } | {
1208
+ message: string;
1209
+ error_code: "kwikset_unable_to_confirm_code";
1210
+ is_access_code_error: true;
1211
+ } | {
1212
+ message: string;
1213
+ error_code: "kwikset_unable_to_confirm_deletion";
1214
+ is_access_code_error: true;
1215
+ } | {
1216
+ message: string;
1217
+ error_code: "igloohome_offline_access_code_no_variance_available";
1218
+ is_access_code_error: true;
1219
+ } | {
1220
+ message: string;
1221
+ error_code: "august_lock_invalid_code_length";
1222
+ is_access_code_error: true;
1223
+ } | {
1224
+ message: string;
1225
+ error_code: "august_device_programming_delay";
1226
+ is_access_code_error: true;
1227
+ } | {
1228
+ message: string;
1229
+ error_code: "august_device_slots_full";
1230
+ is_access_code_error: true;
1231
+ } | {
1232
+ message: string;
1233
+ error_code: "august_lock_missing_keypad";
1234
+ is_access_code_error: true;
1235
+ } | {
1236
+ message: string;
1237
+ error_code: "salto_site_user_not_subscribed";
1238
+ is_access_code_error: true;
1239
+ } | {
1240
+ message: string;
1241
+ error_code: "hubitat_device_programming_delay";
1242
+ is_access_code_error: true;
1243
+ } | {
1244
+ message: string;
1245
+ error_code: "hubitat_no_free_positions_available";
406
1246
  is_access_code_error: true;
407
1247
  })[];
408
- warnings: {
1248
+ warnings: ({
409
1249
  message: string;
410
- warning_code: string;
411
- }[];
1250
+ warning_code: "smartthings_failed_to_set_access_code";
1251
+ } | {
1252
+ message: string;
1253
+ warning_code: "august_device_programming_delay";
1254
+ } | {
1255
+ message: string;
1256
+ warning_code: "code_modified_external_to_seam";
1257
+ } | {
1258
+ message: string;
1259
+ warning_code: "schlage_detected_duplicate";
1260
+ } | {
1261
+ message: string;
1262
+ warning_code: "schlage_creation_outage";
1263
+ } | {
1264
+ message: string;
1265
+ warning_code: "delay_in_setting_on_device";
1266
+ } | {
1267
+ message: string;
1268
+ warning_code: "delay_in_removing_from_device";
1269
+ } | {
1270
+ message: string;
1271
+ warning_code: "third_party_integration_detected";
1272
+ } | {
1273
+ message: string;
1274
+ warning_code: "igloo_algopin_must_be_used_within_24_hours";
1275
+ } | {
1276
+ message: string;
1277
+ warning_code: "management_transferred";
1278
+ })[];
412
1279
  name: string | null;
413
1280
  device_id: string;
414
1281
  is_managed: true;
@@ -437,20 +1304,254 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
437
1304
  name: z.ZodNullable<z.ZodString>;
438
1305
  code: z.ZodNullable<z.ZodString>;
439
1306
  created_at: z.ZodString;
440
- errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1307
+ errors: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
441
1308
  message: z.ZodString;
442
1309
  is_access_code_error: z.ZodLiteral<true>;
443
1310
  }, {
444
- error_code: z.ZodString;
1311
+ error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
445
1312
  }>, "strip", z.ZodTypeAny, {
446
1313
  message: string;
447
- error_code: string;
1314
+ error_code: "smartthings_failed_to_set_access_code";
448
1315
  is_access_code_error: true;
449
1316
  }, {
450
1317
  message: string;
451
- error_code: string;
1318
+ error_code: "smartthings_failed_to_set_access_code";
1319
+ is_access_code_error: true;
1320
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1321
+ message: z.ZodString;
1322
+ is_access_code_error: z.ZodLiteral<true>;
1323
+ }, {
1324
+ error_code: z.ZodLiteral<"smartthings_failed_to_set_after_multiple_retries">;
1325
+ }>, "strip", z.ZodTypeAny, {
1326
+ message: string;
1327
+ error_code: "smartthings_failed_to_set_after_multiple_retries";
1328
+ is_access_code_error: true;
1329
+ }, {
1330
+ message: string;
1331
+ error_code: "smartthings_failed_to_set_after_multiple_retries";
1332
+ is_access_code_error: true;
1333
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1334
+ message: z.ZodString;
1335
+ is_access_code_error: z.ZodLiteral<true>;
1336
+ }, {
1337
+ error_code: z.ZodLiteral<"failed_to_set_on_device">;
1338
+ }>, "strip", z.ZodTypeAny, {
1339
+ message: string;
1340
+ error_code: "failed_to_set_on_device";
1341
+ is_access_code_error: true;
1342
+ }, {
1343
+ message: string;
1344
+ error_code: "failed_to_set_on_device";
1345
+ is_access_code_error: true;
1346
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1347
+ message: z.ZodString;
1348
+ is_access_code_error: z.ZodLiteral<true>;
1349
+ }, {
1350
+ error_code: z.ZodLiteral<"failed_to_remove_from_device">;
1351
+ }>, "strip", z.ZodTypeAny, {
1352
+ message: string;
1353
+ error_code: "failed_to_remove_from_device";
1354
+ is_access_code_error: true;
1355
+ }, {
1356
+ message: string;
1357
+ error_code: "failed_to_remove_from_device";
1358
+ is_access_code_error: true;
1359
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1360
+ message: z.ZodString;
1361
+ is_access_code_error: z.ZodLiteral<true>;
1362
+ }, {
1363
+ error_code: z.ZodLiteral<"duplicate_code_on_device">;
1364
+ }>, "strip", z.ZodTypeAny, {
1365
+ message: string;
1366
+ error_code: "duplicate_code_on_device";
1367
+ is_access_code_error: true;
1368
+ }, {
1369
+ message: string;
1370
+ error_code: "duplicate_code_on_device";
452
1371
  is_access_code_error: true;
453
- }>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1372
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1373
+ message: z.ZodString;
1374
+ is_access_code_error: z.ZodLiteral<true>;
1375
+ }, {
1376
+ error_code: z.ZodLiteral<"duplicate_code_attempt_prevented">;
1377
+ }>, "strip", z.ZodTypeAny, {
1378
+ message: string;
1379
+ error_code: "duplicate_code_attempt_prevented";
1380
+ is_access_code_error: true;
1381
+ }, {
1382
+ message: string;
1383
+ error_code: "duplicate_code_attempt_prevented";
1384
+ is_access_code_error: true;
1385
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1386
+ message: z.ZodString;
1387
+ is_access_code_error: z.ZodLiteral<true>;
1388
+ }, {
1389
+ error_code: z.ZodLiteral<"igloohome_bridge_too_many_pending_jobs">;
1390
+ }>, "strip", z.ZodTypeAny, {
1391
+ message: string;
1392
+ error_code: "igloohome_bridge_too_many_pending_jobs";
1393
+ is_access_code_error: true;
1394
+ }, {
1395
+ message: string;
1396
+ error_code: "igloohome_bridge_too_many_pending_jobs";
1397
+ is_access_code_error: true;
1398
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1399
+ message: z.ZodString;
1400
+ is_access_code_error: z.ZodLiteral<true>;
1401
+ }, {
1402
+ error_code: z.ZodLiteral<"igloohome_bridge_offline">;
1403
+ }>, "strip", z.ZodTypeAny, {
1404
+ message: string;
1405
+ error_code: "igloohome_bridge_offline";
1406
+ is_access_code_error: true;
1407
+ }, {
1408
+ message: string;
1409
+ error_code: "igloohome_bridge_offline";
1410
+ is_access_code_error: true;
1411
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1412
+ message: z.ZodString;
1413
+ is_access_code_error: z.ZodLiteral<true>;
1414
+ }, {
1415
+ error_code: z.ZodLiteral<"igloohome_offline_access_code_no_variance_available">;
1416
+ }>, "strip", z.ZodTypeAny, {
1417
+ message: string;
1418
+ error_code: "igloohome_offline_access_code_no_variance_available";
1419
+ is_access_code_error: true;
1420
+ }, {
1421
+ message: string;
1422
+ error_code: "igloohome_offline_access_code_no_variance_available";
1423
+ is_access_code_error: true;
1424
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1425
+ message: z.ZodString;
1426
+ is_access_code_error: z.ZodLiteral<true>;
1427
+ }, {
1428
+ error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
1429
+ }>, "strip", z.ZodTypeAny, {
1430
+ message: string;
1431
+ error_code: "kwikset_unable_to_confirm_code";
1432
+ is_access_code_error: true;
1433
+ }, {
1434
+ message: string;
1435
+ error_code: "kwikset_unable_to_confirm_code";
1436
+ is_access_code_error: true;
1437
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1438
+ message: z.ZodString;
1439
+ is_access_code_error: z.ZodLiteral<true>;
1440
+ }, {
1441
+ error_code: z.ZodLiteral<"kwikset_unable_to_confirm_deletion">;
1442
+ }>, "strip", z.ZodTypeAny, {
1443
+ message: string;
1444
+ error_code: "kwikset_unable_to_confirm_deletion";
1445
+ is_access_code_error: true;
1446
+ }, {
1447
+ message: string;
1448
+ error_code: "kwikset_unable_to_confirm_deletion";
1449
+ is_access_code_error: true;
1450
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1451
+ message: z.ZodString;
1452
+ is_access_code_error: z.ZodLiteral<true>;
1453
+ }, {
1454
+ error_code: z.ZodLiteral<"code_modified_external_to_seam">;
1455
+ }>, "strip", z.ZodTypeAny, {
1456
+ message: string;
1457
+ error_code: "code_modified_external_to_seam";
1458
+ is_access_code_error: true;
1459
+ }, {
1460
+ message: string;
1461
+ error_code: "code_modified_external_to_seam";
1462
+ is_access_code_error: true;
1463
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1464
+ message: z.ZodString;
1465
+ is_access_code_error: z.ZodLiteral<true>;
1466
+ }, {
1467
+ error_code: z.ZodLiteral<"august_lock_invalid_code_length">;
1468
+ }>, "strip", z.ZodTypeAny, {
1469
+ message: string;
1470
+ error_code: "august_lock_invalid_code_length";
1471
+ is_access_code_error: true;
1472
+ }, {
1473
+ message: string;
1474
+ error_code: "august_lock_invalid_code_length";
1475
+ is_access_code_error: true;
1476
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1477
+ message: z.ZodString;
1478
+ is_access_code_error: z.ZodLiteral<true>;
1479
+ }, {
1480
+ error_code: z.ZodLiteral<"august_device_programming_delay">;
1481
+ }>, "strip", z.ZodTypeAny, {
1482
+ message: string;
1483
+ error_code: "august_device_programming_delay";
1484
+ is_access_code_error: true;
1485
+ }, {
1486
+ message: string;
1487
+ error_code: "august_device_programming_delay";
1488
+ is_access_code_error: true;
1489
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1490
+ message: z.ZodString;
1491
+ is_access_code_error: z.ZodLiteral<true>;
1492
+ }, {
1493
+ error_code: z.ZodLiteral<"august_device_slots_full">;
1494
+ }>, "strip", z.ZodTypeAny, {
1495
+ message: string;
1496
+ error_code: "august_device_slots_full";
1497
+ is_access_code_error: true;
1498
+ }, {
1499
+ message: string;
1500
+ error_code: "august_device_slots_full";
1501
+ is_access_code_error: true;
1502
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1503
+ message: z.ZodString;
1504
+ is_access_code_error: z.ZodLiteral<true>;
1505
+ }, {
1506
+ error_code: z.ZodLiteral<"august_lock_missing_keypad">;
1507
+ }>, "strip", z.ZodTypeAny, {
1508
+ message: string;
1509
+ error_code: "august_lock_missing_keypad";
1510
+ is_access_code_error: true;
1511
+ }, {
1512
+ message: string;
1513
+ error_code: "august_lock_missing_keypad";
1514
+ is_access_code_error: true;
1515
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1516
+ message: z.ZodString;
1517
+ is_access_code_error: z.ZodLiteral<true>;
1518
+ }, {
1519
+ error_code: z.ZodLiteral<"salto_site_user_not_subscribed">;
1520
+ }>, "strip", z.ZodTypeAny, {
1521
+ message: string;
1522
+ error_code: "salto_site_user_not_subscribed";
1523
+ is_access_code_error: true;
1524
+ }, {
1525
+ message: string;
1526
+ error_code: "salto_site_user_not_subscribed";
1527
+ is_access_code_error: true;
1528
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1529
+ message: z.ZodString;
1530
+ is_access_code_error: z.ZodLiteral<true>;
1531
+ }, {
1532
+ error_code: z.ZodLiteral<"hubitat_device_programming_delay">;
1533
+ }>, "strip", z.ZodTypeAny, {
1534
+ message: string;
1535
+ error_code: "hubitat_device_programming_delay";
1536
+ is_access_code_error: true;
1537
+ }, {
1538
+ message: string;
1539
+ error_code: "hubitat_device_programming_delay";
1540
+ is_access_code_error: true;
1541
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1542
+ message: z.ZodString;
1543
+ is_access_code_error: z.ZodLiteral<true>;
1544
+ }, {
1545
+ error_code: z.ZodLiteral<"hubitat_no_free_positions_available">;
1546
+ }>, "strip", z.ZodTypeAny, {
1547
+ message: string;
1548
+ error_code: "hubitat_no_free_positions_available";
1549
+ is_access_code_error: true;
1550
+ }, {
1551
+ message: string;
1552
+ error_code: "hubitat_no_free_positions_available";
1553
+ is_access_code_error: true;
1554
+ }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
454
1555
  message: z.ZodString;
455
1556
  is_device_error: z.ZodLiteral<true>;
456
1557
  }, {
@@ -619,31 +1720,134 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
619
1720
  message: string;
620
1721
  error_code: "subscription_required";
621
1722
  is_device_error: true;
622
- }>]>, z.ZodObject<z.objectUtil.extendShape<{
1723
+ }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
623
1724
  message: z.ZodString;
624
1725
  is_connected_account_error: z.ZodLiteral<true>;
625
1726
  }, {
626
- error_code: z.ZodString;
1727
+ error_code: z.ZodLiteral<"account_disconnected">;
627
1728
  }>, "strip", z.ZodTypeAny, {
628
1729
  message: string;
629
1730
  is_connected_account_error: true;
630
- error_code: string;
1731
+ error_code: "account_disconnected";
631
1732
  }, {
632
1733
  message: string;
633
1734
  is_connected_account_error: true;
634
- error_code: string;
635
- }>]>, "many">;
636
- warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1735
+ error_code: "account_disconnected";
1736
+ }>, z.ZodObject<z.objectUtil.extendShape<{
637
1737
  message: z.ZodString;
1738
+ is_connected_account_error: z.ZodLiteral<true>;
638
1739
  }, {
639
- warning_code: z.ZodString;
1740
+ error_code: z.ZodLiteral<"invalid_credentials">;
640
1741
  }>, "strip", z.ZodTypeAny, {
641
1742
  message: string;
642
- warning_code: string;
1743
+ is_connected_account_error: true;
1744
+ error_code: "invalid_credentials";
643
1745
  }, {
644
1746
  message: string;
645
- warning_code: string;
646
- }>, "many">;
1747
+ is_connected_account_error: true;
1748
+ error_code: "invalid_credentials";
1749
+ }>]>]>, "many">;
1750
+ warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1751
+ message: z.ZodString;
1752
+ }, {
1753
+ warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
1754
+ }>, "strip", z.ZodTypeAny, {
1755
+ message: string;
1756
+ warning_code: "smartthings_failed_to_set_access_code";
1757
+ }, {
1758
+ message: string;
1759
+ warning_code: "smartthings_failed_to_set_access_code";
1760
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1761
+ message: z.ZodString;
1762
+ }, {
1763
+ warning_code: z.ZodLiteral<"schlage_detected_duplicate">;
1764
+ }>, "strip", z.ZodTypeAny, {
1765
+ message: string;
1766
+ warning_code: "schlage_detected_duplicate";
1767
+ }, {
1768
+ message: string;
1769
+ warning_code: "schlage_detected_duplicate";
1770
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1771
+ message: z.ZodString;
1772
+ }, {
1773
+ warning_code: z.ZodLiteral<"schlage_creation_outage">;
1774
+ }>, "strip", z.ZodTypeAny, {
1775
+ message: string;
1776
+ warning_code: "schlage_creation_outage";
1777
+ }, {
1778
+ message: string;
1779
+ warning_code: "schlage_creation_outage";
1780
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1781
+ message: z.ZodString;
1782
+ }, {
1783
+ warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
1784
+ }>, "strip", z.ZodTypeAny, {
1785
+ message: string;
1786
+ warning_code: "code_modified_external_to_seam";
1787
+ }, {
1788
+ message: string;
1789
+ warning_code: "code_modified_external_to_seam";
1790
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1791
+ message: z.ZodString;
1792
+ }, {
1793
+ warning_code: z.ZodLiteral<"delay_in_setting_on_device">;
1794
+ }>, "strip", z.ZodTypeAny, {
1795
+ message: string;
1796
+ warning_code: "delay_in_setting_on_device";
1797
+ }, {
1798
+ message: string;
1799
+ warning_code: "delay_in_setting_on_device";
1800
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1801
+ message: z.ZodString;
1802
+ }, {
1803
+ warning_code: z.ZodLiteral<"delay_in_removing_from_device">;
1804
+ }>, "strip", z.ZodTypeAny, {
1805
+ message: string;
1806
+ warning_code: "delay_in_removing_from_device";
1807
+ }, {
1808
+ message: string;
1809
+ warning_code: "delay_in_removing_from_device";
1810
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1811
+ message: z.ZodString;
1812
+ }, {
1813
+ warning_code: z.ZodLiteral<"third_party_integration_detected">;
1814
+ }>, "strip", z.ZodTypeAny, {
1815
+ message: string;
1816
+ warning_code: "third_party_integration_detected";
1817
+ }, {
1818
+ message: string;
1819
+ warning_code: "third_party_integration_detected";
1820
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1821
+ message: z.ZodString;
1822
+ }, {
1823
+ warning_code: z.ZodLiteral<"august_device_programming_delay">;
1824
+ }>, "strip", z.ZodTypeAny, {
1825
+ message: string;
1826
+ warning_code: "august_device_programming_delay";
1827
+ }, {
1828
+ message: string;
1829
+ warning_code: "august_device_programming_delay";
1830
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1831
+ message: z.ZodString;
1832
+ }, {
1833
+ warning_code: z.ZodLiteral<"igloo_algopin_must_be_used_within_24_hours">;
1834
+ }>, "strip", z.ZodTypeAny, {
1835
+ message: string;
1836
+ warning_code: "igloo_algopin_must_be_used_within_24_hours";
1837
+ }, {
1838
+ message: string;
1839
+ warning_code: "igloo_algopin_must_be_used_within_24_hours";
1840
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1841
+ message: z.ZodString;
1842
+ }, {
1843
+ warning_code: z.ZodLiteral<"management_transferred">;
1844
+ }>, "strip", z.ZodTypeAny, {
1845
+ message: string;
1846
+ warning_code: "management_transferred";
1847
+ }, {
1848
+ message: string;
1849
+ warning_code: "management_transferred";
1850
+ }>]>, "many">;
647
1851
  is_managed: z.ZodLiteral<true>;
648
1852
  starts_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
649
1853
  ends_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -665,7 +1869,11 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
665
1869
  errors: ({
666
1870
  message: string;
667
1871
  is_connected_account_error: true;
668
- error_code: string;
1872
+ error_code: "account_disconnected";
1873
+ } | {
1874
+ message: string;
1875
+ is_connected_account_error: true;
1876
+ error_code: "invalid_credentials";
669
1877
  } | {
670
1878
  message: string;
671
1879
  error_code: "device_offline";
@@ -720,13 +1928,112 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
720
1928
  is_device_error: true;
721
1929
  } | {
722
1930
  message: string;
723
- error_code: string;
1931
+ error_code: "smartthings_failed_to_set_access_code";
1932
+ is_access_code_error: true;
1933
+ } | {
1934
+ message: string;
1935
+ error_code: "smartthings_failed_to_set_after_multiple_retries";
1936
+ is_access_code_error: true;
1937
+ } | {
1938
+ message: string;
1939
+ error_code: "code_modified_external_to_seam";
1940
+ is_access_code_error: true;
1941
+ } | {
1942
+ message: string;
1943
+ error_code: "failed_to_set_on_device";
1944
+ is_access_code_error: true;
1945
+ } | {
1946
+ message: string;
1947
+ error_code: "failed_to_remove_from_device";
1948
+ is_access_code_error: true;
1949
+ } | {
1950
+ message: string;
1951
+ error_code: "duplicate_code_on_device";
1952
+ is_access_code_error: true;
1953
+ } | {
1954
+ message: string;
1955
+ error_code: "duplicate_code_attempt_prevented";
1956
+ is_access_code_error: true;
1957
+ } | {
1958
+ message: string;
1959
+ error_code: "igloohome_bridge_too_many_pending_jobs";
1960
+ is_access_code_error: true;
1961
+ } | {
1962
+ message: string;
1963
+ error_code: "igloohome_bridge_offline";
1964
+ is_access_code_error: true;
1965
+ } | {
1966
+ message: string;
1967
+ error_code: "kwikset_unable_to_confirm_code";
1968
+ is_access_code_error: true;
1969
+ } | {
1970
+ message: string;
1971
+ error_code: "kwikset_unable_to_confirm_deletion";
1972
+ is_access_code_error: true;
1973
+ } | {
1974
+ message: string;
1975
+ error_code: "igloohome_offline_access_code_no_variance_available";
1976
+ is_access_code_error: true;
1977
+ } | {
1978
+ message: string;
1979
+ error_code: "august_lock_invalid_code_length";
1980
+ is_access_code_error: true;
1981
+ } | {
1982
+ message: string;
1983
+ error_code: "august_device_programming_delay";
1984
+ is_access_code_error: true;
1985
+ } | {
1986
+ message: string;
1987
+ error_code: "august_device_slots_full";
1988
+ is_access_code_error: true;
1989
+ } | {
1990
+ message: string;
1991
+ error_code: "august_lock_missing_keypad";
1992
+ is_access_code_error: true;
1993
+ } | {
1994
+ message: string;
1995
+ error_code: "salto_site_user_not_subscribed";
1996
+ is_access_code_error: true;
1997
+ } | {
1998
+ message: string;
1999
+ error_code: "hubitat_device_programming_delay";
2000
+ is_access_code_error: true;
2001
+ } | {
2002
+ message: string;
2003
+ error_code: "hubitat_no_free_positions_available";
724
2004
  is_access_code_error: true;
725
2005
  })[];
726
- warnings: {
2006
+ warnings: ({
727
2007
  message: string;
728
- warning_code: string;
729
- }[];
2008
+ warning_code: "smartthings_failed_to_set_access_code";
2009
+ } | {
2010
+ message: string;
2011
+ warning_code: "august_device_programming_delay";
2012
+ } | {
2013
+ message: string;
2014
+ warning_code: "code_modified_external_to_seam";
2015
+ } | {
2016
+ message: string;
2017
+ warning_code: "schlage_detected_duplicate";
2018
+ } | {
2019
+ message: string;
2020
+ warning_code: "schlage_creation_outage";
2021
+ } | {
2022
+ message: string;
2023
+ warning_code: "delay_in_setting_on_device";
2024
+ } | {
2025
+ message: string;
2026
+ warning_code: "delay_in_removing_from_device";
2027
+ } | {
2028
+ message: string;
2029
+ warning_code: "third_party_integration_detected";
2030
+ } | {
2031
+ message: string;
2032
+ warning_code: "igloo_algopin_must_be_used_within_24_hours";
2033
+ } | {
2034
+ message: string;
2035
+ warning_code: "management_transferred";
2036
+ })[];
730
2037
  name: string | null;
731
2038
  device_id: string;
732
2039
  is_managed: false;
@@ -741,7 +2048,11 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
741
2048
  errors: ({
742
2049
  message: string;
743
2050
  is_connected_account_error: true;
744
- error_code: string;
2051
+ error_code: "account_disconnected";
2052
+ } | {
2053
+ message: string;
2054
+ is_connected_account_error: true;
2055
+ error_code: "invalid_credentials";
745
2056
  } | {
746
2057
  message: string;
747
2058
  error_code: "device_offline";
@@ -796,13 +2107,112 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
796
2107
  is_device_error: true;
797
2108
  } | {
798
2109
  message: string;
799
- error_code: string;
2110
+ error_code: "smartthings_failed_to_set_access_code";
2111
+ is_access_code_error: true;
2112
+ } | {
2113
+ message: string;
2114
+ error_code: "smartthings_failed_to_set_after_multiple_retries";
2115
+ is_access_code_error: true;
2116
+ } | {
2117
+ message: string;
2118
+ error_code: "code_modified_external_to_seam";
2119
+ is_access_code_error: true;
2120
+ } | {
2121
+ message: string;
2122
+ error_code: "failed_to_set_on_device";
2123
+ is_access_code_error: true;
2124
+ } | {
2125
+ message: string;
2126
+ error_code: "failed_to_remove_from_device";
2127
+ is_access_code_error: true;
2128
+ } | {
2129
+ message: string;
2130
+ error_code: "duplicate_code_on_device";
2131
+ is_access_code_error: true;
2132
+ } | {
2133
+ message: string;
2134
+ error_code: "duplicate_code_attempt_prevented";
2135
+ is_access_code_error: true;
2136
+ } | {
2137
+ message: string;
2138
+ error_code: "igloohome_bridge_too_many_pending_jobs";
2139
+ is_access_code_error: true;
2140
+ } | {
2141
+ message: string;
2142
+ error_code: "igloohome_bridge_offline";
2143
+ is_access_code_error: true;
2144
+ } | {
2145
+ message: string;
2146
+ error_code: "kwikset_unable_to_confirm_code";
2147
+ is_access_code_error: true;
2148
+ } | {
2149
+ message: string;
2150
+ error_code: "kwikset_unable_to_confirm_deletion";
2151
+ is_access_code_error: true;
2152
+ } | {
2153
+ message: string;
2154
+ error_code: "igloohome_offline_access_code_no_variance_available";
2155
+ is_access_code_error: true;
2156
+ } | {
2157
+ message: string;
2158
+ error_code: "august_lock_invalid_code_length";
2159
+ is_access_code_error: true;
2160
+ } | {
2161
+ message: string;
2162
+ error_code: "august_device_programming_delay";
2163
+ is_access_code_error: true;
2164
+ } | {
2165
+ message: string;
2166
+ error_code: "august_device_slots_full";
2167
+ is_access_code_error: true;
2168
+ } | {
2169
+ message: string;
2170
+ error_code: "august_lock_missing_keypad";
2171
+ is_access_code_error: true;
2172
+ } | {
2173
+ message: string;
2174
+ error_code: "salto_site_user_not_subscribed";
2175
+ is_access_code_error: true;
2176
+ } | {
2177
+ message: string;
2178
+ error_code: "hubitat_device_programming_delay";
2179
+ is_access_code_error: true;
2180
+ } | {
2181
+ message: string;
2182
+ error_code: "hubitat_no_free_positions_available";
800
2183
  is_access_code_error: true;
801
2184
  })[];
802
- warnings: {
2185
+ warnings: ({
803
2186
  message: string;
804
- warning_code: string;
805
- }[];
2187
+ warning_code: "smartthings_failed_to_set_access_code";
2188
+ } | {
2189
+ message: string;
2190
+ warning_code: "august_device_programming_delay";
2191
+ } | {
2192
+ message: string;
2193
+ warning_code: "code_modified_external_to_seam";
2194
+ } | {
2195
+ message: string;
2196
+ warning_code: "schlage_detected_duplicate";
2197
+ } | {
2198
+ message: string;
2199
+ warning_code: "schlage_creation_outage";
2200
+ } | {
2201
+ message: string;
2202
+ warning_code: "delay_in_setting_on_device";
2203
+ } | {
2204
+ message: string;
2205
+ warning_code: "delay_in_removing_from_device";
2206
+ } | {
2207
+ message: string;
2208
+ warning_code: "third_party_integration_detected";
2209
+ } | {
2210
+ message: string;
2211
+ warning_code: "igloo_algopin_must_be_used_within_24_hours";
2212
+ } | {
2213
+ message: string;
2214
+ warning_code: "management_transferred";
2215
+ })[];
806
2216
  name: string | null;
807
2217
  device_id: string;
808
2218
  is_managed: false;
@@ -5983,31 +7393,44 @@ declare const connect_webview: z.ZodObject<{
5983
7393
  }>;
5984
7394
  type ConnectWebview = z.infer<typeof connect_webview>;
5985
7395
 
5986
- declare const connected_account_error: z.ZodObject<z.objectUtil.extendShape<{
7396
+ declare const connected_account_error: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
5987
7397
  message: z.ZodString;
5988
7398
  is_connected_account_error: z.ZodLiteral<true>;
5989
7399
  }, {
5990
- error_code: z.ZodString;
7400
+ error_code: z.ZodLiteral<"account_disconnected">;
5991
7401
  }>, "strip", z.ZodTypeAny, {
5992
7402
  message: string;
5993
7403
  is_connected_account_error: true;
5994
- error_code: string;
7404
+ error_code: "account_disconnected";
5995
7405
  }, {
5996
7406
  message: string;
5997
7407
  is_connected_account_error: true;
5998
- error_code: string;
5999
- }>;
7408
+ error_code: "account_disconnected";
7409
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7410
+ message: z.ZodString;
7411
+ is_connected_account_error: z.ZodLiteral<true>;
7412
+ }, {
7413
+ error_code: z.ZodLiteral<"invalid_credentials">;
7414
+ }>, "strip", z.ZodTypeAny, {
7415
+ message: string;
7416
+ is_connected_account_error: true;
7417
+ error_code: "invalid_credentials";
7418
+ }, {
7419
+ message: string;
7420
+ is_connected_account_error: true;
7421
+ error_code: "invalid_credentials";
7422
+ }>]>;
6000
7423
  type ConnectedAccountError = z.infer<typeof connected_account_error>;
6001
7424
  declare const connected_account_warning: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
6002
7425
  message: z.ZodString;
6003
7426
  }, {
6004
- warning_code: z.ZodString;
7427
+ warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
6005
7428
  }>, "strip", z.ZodTypeAny, {
6006
7429
  message: string;
6007
- warning_code: string;
7430
+ warning_code: "scheduled_maintenance_window";
6008
7431
  }, {
6009
7432
  message: string;
6010
- warning_code: string;
7433
+ warning_code: "scheduled_maintenance_window";
6011
7434
  }>, z.ZodObject<z.objectUtil.extendShape<{
6012
7435
  message: z.ZodString;
6013
7436
  }, {
@@ -6044,30 +7467,43 @@ declare const connected_account: z.ZodObject<{
6044
7467
  }>>;
6045
7468
  account_type: z.ZodOptional<z.ZodString>;
6046
7469
  account_type_display_name: z.ZodString;
6047
- errors: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
7470
+ errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
6048
7471
  message: z.ZodString;
6049
7472
  is_connected_account_error: z.ZodLiteral<true>;
6050
7473
  }, {
6051
- error_code: z.ZodString;
7474
+ error_code: z.ZodLiteral<"account_disconnected">;
6052
7475
  }>, "strip", z.ZodTypeAny, {
6053
7476
  message: string;
6054
7477
  is_connected_account_error: true;
6055
- error_code: string;
7478
+ error_code: "account_disconnected";
6056
7479
  }, {
6057
7480
  message: string;
6058
7481
  is_connected_account_error: true;
6059
- error_code: string;
6060
- }>, "many">;
7482
+ error_code: "account_disconnected";
7483
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7484
+ message: z.ZodString;
7485
+ is_connected_account_error: z.ZodLiteral<true>;
7486
+ }, {
7487
+ error_code: z.ZodLiteral<"invalid_credentials">;
7488
+ }>, "strip", z.ZodTypeAny, {
7489
+ message: string;
7490
+ is_connected_account_error: true;
7491
+ error_code: "invalid_credentials";
7492
+ }, {
7493
+ message: string;
7494
+ is_connected_account_error: true;
7495
+ error_code: "invalid_credentials";
7496
+ }>]>, "many">;
6061
7497
  warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
6062
7498
  message: z.ZodString;
6063
7499
  }, {
6064
- warning_code: z.ZodString;
7500
+ warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
6065
7501
  }>, "strip", z.ZodTypeAny, {
6066
7502
  message: string;
6067
- warning_code: string;
7503
+ warning_code: "scheduled_maintenance_window";
6068
7504
  }, {
6069
7505
  message: string;
6070
- warning_code: string;
7506
+ warning_code: "scheduled_maintenance_window";
6071
7507
  }>, z.ZodObject<z.objectUtil.extendShape<{
6072
7508
  message: z.ZodString;
6073
7509
  }, {
@@ -6083,17 +7519,21 @@ declare const connected_account: z.ZodObject<{
6083
7519
  automatically_manage_new_devices: z.ZodBoolean;
6084
7520
  }, "strip", z.ZodTypeAny, {
6085
7521
  account_type_display_name: string;
6086
- errors: {
7522
+ errors: ({
6087
7523
  message: string;
6088
7524
  is_connected_account_error: true;
6089
- error_code: string;
6090
- }[];
7525
+ error_code: "account_disconnected";
7526
+ } | {
7527
+ message: string;
7528
+ is_connected_account_error: true;
7529
+ error_code: "invalid_credentials";
7530
+ })[];
6091
7531
  warnings: ({
6092
7532
  message: string;
6093
7533
  warning_code: "unknown_issue_with_connected_account";
6094
7534
  } | {
6095
7535
  message: string;
6096
- warning_code: string;
7536
+ warning_code: "scheduled_maintenance_window";
6097
7537
  })[];
6098
7538
  custom_metadata: Record<string, string | boolean>;
6099
7539
  automatically_manage_new_devices: boolean;
@@ -6109,17 +7549,21 @@ declare const connected_account: z.ZodObject<{
6109
7549
  account_type?: string | undefined;
6110
7550
  }, {
6111
7551
  account_type_display_name: string;
6112
- errors: {
7552
+ errors: ({
6113
7553
  message: string;
6114
7554
  is_connected_account_error: true;
6115
- error_code: string;
6116
- }[];
7555
+ error_code: "account_disconnected";
7556
+ } | {
7557
+ message: string;
7558
+ is_connected_account_error: true;
7559
+ error_code: "invalid_credentials";
7560
+ })[];
6117
7561
  warnings: ({
6118
7562
  message: string;
6119
7563
  warning_code: "unknown_issue_with_connected_account";
6120
7564
  } | {
6121
7565
  message: string;
6122
- warning_code: string;
7566
+ warning_code: "scheduled_maintenance_window";
6123
7567
  })[];
6124
7568
  custom_metadata: Record<string, string | boolean>;
6125
7569
  automatically_manage_new_devices: boolean;
@@ -8474,20 +9918,33 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
8474
9918
  message: string;
8475
9919
  error_code: "subscription_required";
8476
9920
  is_device_error: true;
8477
- }>]>, z.ZodObject<z.objectUtil.extendShape<{
9921
+ }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
8478
9922
  message: z.ZodString;
8479
9923
  is_connected_account_error: z.ZodLiteral<true>;
8480
9924
  }, {
8481
- error_code: z.ZodString;
9925
+ error_code: z.ZodLiteral<"account_disconnected">;
8482
9926
  }>, "strip", z.ZodTypeAny, {
8483
9927
  message: string;
8484
9928
  is_connected_account_error: true;
8485
- error_code: string;
9929
+ error_code: "account_disconnected";
8486
9930
  }, {
8487
9931
  message: string;
8488
9932
  is_connected_account_error: true;
8489
- error_code: string;
8490
- }>]>, "many">;
9933
+ error_code: "account_disconnected";
9934
+ }>, z.ZodObject<z.objectUtil.extendShape<{
9935
+ message: z.ZodString;
9936
+ is_connected_account_error: z.ZodLiteral<true>;
9937
+ }, {
9938
+ error_code: z.ZodLiteral<"invalid_credentials">;
9939
+ }>, "strip", z.ZodTypeAny, {
9940
+ message: string;
9941
+ is_connected_account_error: true;
9942
+ error_code: "invalid_credentials";
9943
+ }, {
9944
+ message: string;
9945
+ is_connected_account_error: true;
9946
+ error_code: "invalid_credentials";
9947
+ }>]>]>, "many">;
8491
9948
  warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
8492
9949
  message: z.ZodString;
8493
9950
  }, {
@@ -8661,7 +10118,11 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
8661
10118
  errors: ({
8662
10119
  message: string;
8663
10120
  is_connected_account_error: true;
8664
- error_code: string;
10121
+ error_code: "account_disconnected";
10122
+ } | {
10123
+ message: string;
10124
+ is_connected_account_error: true;
10125
+ error_code: "invalid_credentials";
8665
10126
  } | {
8666
10127
  message: string;
8667
10128
  error_code: "device_offline";
@@ -9166,7 +10627,11 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
9166
10627
  errors: ({
9167
10628
  message: string;
9168
10629
  is_connected_account_error: true;
9169
- error_code: string;
10630
+ error_code: "account_disconnected";
10631
+ } | {
10632
+ message: string;
10633
+ is_connected_account_error: true;
10634
+ error_code: "invalid_credentials";
9170
10635
  } | {
9171
10636
  message: string;
9172
10637
  error_code: "device_offline";
@@ -11781,20 +13246,33 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
11781
13246
  message: string;
11782
13247
  error_code: "subscription_required";
11783
13248
  is_device_error: true;
11784
- }>]>, z.ZodObject<z.objectUtil.extendShape<{
13249
+ }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
11785
13250
  message: z.ZodString;
11786
13251
  is_connected_account_error: z.ZodLiteral<true>;
11787
13252
  }, {
11788
- error_code: z.ZodString;
13253
+ error_code: z.ZodLiteral<"account_disconnected">;
11789
13254
  }>, "strip", z.ZodTypeAny, {
11790
13255
  message: string;
11791
13256
  is_connected_account_error: true;
11792
- error_code: string;
13257
+ error_code: "account_disconnected";
11793
13258
  }, {
11794
13259
  message: string;
11795
13260
  is_connected_account_error: true;
11796
- error_code: string;
11797
- }>]>, "many">;
13261
+ error_code: "account_disconnected";
13262
+ }>, z.ZodObject<z.objectUtil.extendShape<{
13263
+ message: z.ZodString;
13264
+ is_connected_account_error: z.ZodLiteral<true>;
13265
+ }, {
13266
+ error_code: z.ZodLiteral<"invalid_credentials">;
13267
+ }>, "strip", z.ZodTypeAny, {
13268
+ message: string;
13269
+ is_connected_account_error: true;
13270
+ error_code: "invalid_credentials";
13271
+ }, {
13272
+ message: string;
13273
+ is_connected_account_error: true;
13274
+ error_code: "invalid_credentials";
13275
+ }>]>]>, "many">;
11798
13276
  warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
11799
13277
  message: z.ZodString;
11800
13278
  }, {
@@ -12117,7 +13595,11 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
12117
13595
  errors: ({
12118
13596
  message: string;
12119
13597
  is_connected_account_error: true;
12120
- error_code: string;
13598
+ error_code: "account_disconnected";
13599
+ } | {
13600
+ message: string;
13601
+ is_connected_account_error: true;
13602
+ error_code: "invalid_credentials";
12121
13603
  } | {
12122
13604
  message: string;
12123
13605
  error_code: "device_offline";
@@ -12272,7 +13754,11 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
12272
13754
  errors: ({
12273
13755
  message: string;
12274
13756
  is_connected_account_error: true;
12275
- error_code: string;
13757
+ error_code: "account_disconnected";
13758
+ } | {
13759
+ message: string;
13760
+ is_connected_account_error: true;
13761
+ error_code: "invalid_credentials";
12276
13762
  } | {
12277
13763
  message: string;
12278
13764
  error_code: "device_offline";
@@ -14789,23 +16275,26 @@ declare const _default: {
14789
16275
  description: string;
14790
16276
  items: {
14791
16277
  oneOf: ({
14792
- properties: {
14793
- error_code: {
14794
- type: string;
14795
- };
14796
- is_access_code_error: {
14797
- enum: boolean[];
14798
- type: string;
14799
- };
14800
- message: {
14801
- type: string;
16278
+ oneOf: {
16279
+ description: string;
16280
+ properties: {
16281
+ error_code: {
16282
+ description: string;
16283
+ enum: string[];
16284
+ type: string;
16285
+ };
16286
+ is_access_code_error: {
16287
+ enum: boolean[];
16288
+ type: string;
16289
+ };
16290
+ message: {
16291
+ type: string;
16292
+ };
14802
16293
  };
14803
- is_connected_account_error?: never;
14804
- };
14805
- required: string[];
14806
- type: string;
16294
+ required: string[];
16295
+ type: string;
16296
+ }[];
14807
16297
  description?: never;
14808
- oneOf?: never;
14809
16298
  } | {
14810
16299
  description: string;
14811
16300
  oneOf: {
@@ -14827,27 +16316,27 @@ declare const _default: {
14827
16316
  required: string[];
14828
16317
  type: string;
14829
16318
  }[];
14830
- properties?: never;
14831
- required?: never;
14832
- type?: never;
14833
16319
  } | {
14834
- properties: {
14835
- error_code: {
14836
- type: string;
14837
- };
14838
- is_connected_account_error: {
14839
- enum: boolean[];
14840
- type: string;
14841
- };
14842
- message: {
14843
- type: string;
16320
+ oneOf: {
16321
+ description: string;
16322
+ properties: {
16323
+ error_code: {
16324
+ description: string;
16325
+ enum: string[];
16326
+ type: string;
16327
+ };
16328
+ is_connected_account_error: {
16329
+ enum: boolean[];
16330
+ type: string;
16331
+ };
16332
+ message: {
16333
+ type: string;
16334
+ };
14844
16335
  };
14845
- is_access_code_error?: never;
14846
- };
14847
- required: string[];
14848
- type: string;
16336
+ required: string[];
16337
+ type: string;
16338
+ }[];
14849
16339
  description?: never;
14850
- oneOf?: never;
14851
16340
  })[];
14852
16341
  };
14853
16342
  type: string;
@@ -14915,16 +16404,21 @@ declare const _default: {
14915
16404
  warnings: {
14916
16405
  description: string;
14917
16406
  items: {
14918
- properties: {
14919
- message: {
14920
- type: string;
14921
- };
14922
- warning_code: {
14923
- type: string;
16407
+ oneOf: {
16408
+ description: string;
16409
+ properties: {
16410
+ message: {
16411
+ type: string;
16412
+ };
16413
+ warning_code: {
16414
+ description: string;
16415
+ enum: string[];
16416
+ type: string;
16417
+ };
14924
16418
  };
14925
- };
14926
- required: string[];
14927
- type: string;
16419
+ required: string[];
16420
+ type: string;
16421
+ }[];
14928
16422
  };
14929
16423
  type: string;
14930
16424
  };
@@ -16959,20 +18453,25 @@ declare const _default: {
16959
18453
  };
16960
18454
  errors: {
16961
18455
  items: {
16962
- properties: {
16963
- error_code: {
16964
- type: string;
16965
- };
16966
- is_connected_account_error: {
16967
- enum: boolean[];
16968
- type: string;
16969
- };
16970
- message: {
16971
- type: string;
18456
+ oneOf: {
18457
+ description: string;
18458
+ properties: {
18459
+ error_code: {
18460
+ description: string;
18461
+ enum: string[];
18462
+ type: string;
18463
+ };
18464
+ is_connected_account_error: {
18465
+ enum: boolean[];
18466
+ type: string;
18467
+ };
18468
+ message: {
18469
+ type: string;
18470
+ };
16972
18471
  };
16973
- };
16974
- required: string[];
16975
- type: string;
18472
+ required: string[];
18473
+ type: string;
18474
+ }[];
16976
18475
  };
16977
18476
  type: string;
16978
18477
  };
@@ -16999,21 +18498,7 @@ declare const _default: {
16999
18498
  warnings: {
17000
18499
  items: {
17001
18500
  description: string;
17002
- oneOf: ({
17003
- properties: {
17004
- message: {
17005
- type: string;
17006
- };
17007
- warning_code: {
17008
- type: string;
17009
- description?: never;
17010
- enum?: never;
17011
- };
17012
- };
17013
- required: string[];
17014
- type: string;
17015
- description?: never;
17016
- } | {
18501
+ oneOf: {
17017
18502
  description: string;
17018
18503
  properties: {
17019
18504
  message: {
@@ -17027,7 +18512,7 @@ declare const _default: {
17027
18512
  };
17028
18513
  required: string[];
17029
18514
  type: string;
17030
- })[];
18515
+ }[];
17031
18516
  };
17032
18517
  type: string;
17033
18518
  };
@@ -17137,26 +18622,27 @@ declare const _default: {
17137
18622
  required: string[];
17138
18623
  type: string;
17139
18624
  }[];
17140
- properties?: never;
17141
- required?: never;
17142
- type?: never;
17143
18625
  } | {
17144
- properties: {
17145
- error_code: {
17146
- type: string;
17147
- };
17148
- is_connected_account_error: {
17149
- enum: boolean[];
17150
- type: string;
17151
- };
17152
- message: {
17153
- type: string;
18626
+ oneOf: {
18627
+ description: string;
18628
+ properties: {
18629
+ error_code: {
18630
+ description: string;
18631
+ enum: string[];
18632
+ type: string;
18633
+ };
18634
+ is_connected_account_error: {
18635
+ enum: boolean[];
18636
+ type: string;
18637
+ };
18638
+ message: {
18639
+ type: string;
18640
+ };
17154
18641
  };
17155
- };
17156
- required: string[];
17157
- type: string;
18642
+ required: string[];
18643
+ type: string;
18644
+ }[];
17158
18645
  description?: never;
17159
- oneOf?: never;
17160
18646
  })[];
17161
18647
  };
17162
18648
  type: string;
@@ -21420,26 +22906,27 @@ declare const _default: {
21420
22906
  required: string[];
21421
22907
  type: string;
21422
22908
  }[];
21423
- properties?: never;
21424
- required?: never;
21425
- type?: never;
21426
22909
  } | {
21427
- properties: {
21428
- error_code: {
21429
- type: string;
21430
- };
21431
- is_connected_account_error: {
21432
- enum: boolean[];
21433
- type: string;
21434
- };
21435
- message: {
21436
- type: string;
22910
+ oneOf: {
22911
+ description: string;
22912
+ properties: {
22913
+ error_code: {
22914
+ description: string;
22915
+ enum: string[];
22916
+ type: string;
22917
+ };
22918
+ is_connected_account_error: {
22919
+ enum: boolean[];
22920
+ type: string;
22921
+ };
22922
+ message: {
22923
+ type: string;
22924
+ };
21437
22925
  };
21438
- };
21439
- required: string[];
21440
- type: string;
22926
+ required: string[];
22927
+ type: string;
22928
+ }[];
21441
22929
  description?: never;
21442
- oneOf?: never;
21443
22930
  })[];
21444
22931
  };
21445
22932
  type: string;
@@ -21644,23 +23131,26 @@ declare const _default: {
21644
23131
  description: string;
21645
23132
  items: {
21646
23133
  oneOf: ({
21647
- properties: {
21648
- error_code: {
21649
- type: string;
21650
- };
21651
- is_access_code_error: {
21652
- enum: boolean[];
21653
- type: string;
21654
- };
21655
- message: {
21656
- type: string;
23134
+ oneOf: {
23135
+ description: string;
23136
+ properties: {
23137
+ error_code: {
23138
+ description: string;
23139
+ enum: string[];
23140
+ type: string;
23141
+ };
23142
+ is_access_code_error: {
23143
+ enum: boolean[];
23144
+ type: string;
23145
+ };
23146
+ message: {
23147
+ type: string;
23148
+ };
21657
23149
  };
21658
- is_connected_account_error?: never;
21659
- };
21660
- required: string[];
21661
- type: string;
23150
+ required: string[];
23151
+ type: string;
23152
+ }[];
21662
23153
  description?: never;
21663
- oneOf?: never;
21664
23154
  } | {
21665
23155
  description: string;
21666
23156
  oneOf: {
@@ -21682,27 +23172,27 @@ declare const _default: {
21682
23172
  required: string[];
21683
23173
  type: string;
21684
23174
  }[];
21685
- properties?: never;
21686
- required?: never;
21687
- type?: never;
21688
23175
  } | {
21689
- properties: {
21690
- error_code: {
21691
- type: string;
21692
- };
21693
- is_connected_account_error: {
21694
- enum: boolean[];
21695
- type: string;
21696
- };
21697
- message: {
21698
- type: string;
23176
+ oneOf: {
23177
+ description: string;
23178
+ properties: {
23179
+ error_code: {
23180
+ description: string;
23181
+ enum: string[];
23182
+ type: string;
23183
+ };
23184
+ is_connected_account_error: {
23185
+ enum: boolean[];
23186
+ type: string;
23187
+ };
23188
+ message: {
23189
+ type: string;
23190
+ };
21699
23191
  };
21700
- is_access_code_error?: never;
21701
- };
21702
- required: string[];
21703
- type: string;
23192
+ required: string[];
23193
+ type: string;
23194
+ }[];
21704
23195
  description?: never;
21705
- oneOf?: never;
21706
23196
  })[];
21707
23197
  };
21708
23198
  type: string;
@@ -21734,16 +23224,21 @@ declare const _default: {
21734
23224
  warnings: {
21735
23225
  description: string;
21736
23226
  items: {
21737
- properties: {
21738
- message: {
21739
- type: string;
21740
- };
21741
- warning_code: {
21742
- type: string;
23227
+ oneOf: {
23228
+ description: string;
23229
+ properties: {
23230
+ message: {
23231
+ type: string;
23232
+ };
23233
+ warning_code: {
23234
+ description: string;
23235
+ enum: string[];
23236
+ type: string;
23237
+ };
21743
23238
  };
21744
- };
21745
- required: string[];
21746
- type: string;
23239
+ required: string[];
23240
+ type: string;
23241
+ }[];
21747
23242
  };
21748
23243
  type: string;
21749
23244
  };
@@ -21841,26 +23336,27 @@ declare const _default: {
21841
23336
  required: string[];
21842
23337
  type: string;
21843
23338
  }[];
21844
- properties?: never;
21845
- required?: never;
21846
- type?: never;
21847
23339
  } | {
21848
- properties: {
21849
- error_code: {
21850
- type: string;
21851
- };
21852
- is_connected_account_error: {
21853
- enum: boolean[];
21854
- type: string;
21855
- };
21856
- message: {
21857
- type: string;
23340
+ oneOf: {
23341
+ description: string;
23342
+ properties: {
23343
+ error_code: {
23344
+ description: string;
23345
+ enum: string[];
23346
+ type: string;
23347
+ };
23348
+ is_connected_account_error: {
23349
+ enum: boolean[];
23350
+ type: string;
23351
+ };
23352
+ message: {
23353
+ type: string;
23354
+ };
21858
23355
  };
21859
- };
21860
- required: string[];
21861
- type: string;
23356
+ required: string[];
23357
+ type: string;
23358
+ }[];
21862
23359
  description?: never;
21863
- oneOf?: never;
21864
23360
  })[];
21865
23361
  };
21866
23362
  type: string;
@@ -39474,11 +40970,102 @@ interface Routes {
39474
40970
  /** Date and time at which the access code was created. */
39475
40971
  created_at: string;
39476
40972
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
39477
- errors: Array<{
40973
+ errors: Array<({
39478
40974
  message: string;
39479
40975
  is_access_code_error: true;
39480
- error_code: string;
39481
- } | ({
40976
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40977
+ error_code: 'smartthings_failed_to_set_access_code';
40978
+ } | {
40979
+ message: string;
40980
+ is_access_code_error: true;
40981
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40982
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
40983
+ } | {
40984
+ message: string;
40985
+ is_access_code_error: true;
40986
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40987
+ error_code: 'failed_to_set_on_device';
40988
+ } | {
40989
+ message: string;
40990
+ is_access_code_error: true;
40991
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40992
+ error_code: 'failed_to_remove_from_device';
40993
+ } | {
40994
+ message: string;
40995
+ is_access_code_error: true;
40996
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40997
+ error_code: 'duplicate_code_on_device';
40998
+ } | {
40999
+ message: string;
41000
+ is_access_code_error: true;
41001
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41002
+ error_code: 'duplicate_code_attempt_prevented';
41003
+ } | {
41004
+ message: string;
41005
+ is_access_code_error: true;
41006
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41007
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
41008
+ } | {
41009
+ message: string;
41010
+ is_access_code_error: true;
41011
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41012
+ error_code: 'igloohome_bridge_offline';
41013
+ } | {
41014
+ message: string;
41015
+ is_access_code_error: true;
41016
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41017
+ error_code: 'igloohome_offline_access_code_no_variance_available';
41018
+ } | {
41019
+ message: string;
41020
+ is_access_code_error: true;
41021
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41022
+ error_code: 'kwikset_unable_to_confirm_code';
41023
+ } | {
41024
+ message: string;
41025
+ is_access_code_error: true;
41026
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41027
+ error_code: 'kwikset_unable_to_confirm_deletion';
41028
+ } | {
41029
+ message: string;
41030
+ is_access_code_error: true;
41031
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41032
+ error_code: 'code_modified_external_to_seam';
41033
+ } | {
41034
+ message: string;
41035
+ is_access_code_error: true;
41036
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41037
+ error_code: 'august_lock_invalid_code_length';
41038
+ } | {
41039
+ message: string;
41040
+ is_access_code_error: true;
41041
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41042
+ error_code: 'august_device_programming_delay';
41043
+ } | {
41044
+ message: string;
41045
+ is_access_code_error: true;
41046
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41047
+ error_code: 'august_device_slots_full';
41048
+ } | {
41049
+ message: string;
41050
+ is_access_code_error: true;
41051
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41052
+ error_code: 'august_lock_missing_keypad';
41053
+ } | {
41054
+ message: string;
41055
+ is_access_code_error: true;
41056
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41057
+ error_code: 'salto_site_user_not_subscribed';
41058
+ } | {
41059
+ message: string;
41060
+ is_access_code_error: true;
41061
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41062
+ error_code: 'hubitat_device_programming_delay';
41063
+ } | {
41064
+ message: string;
41065
+ is_access_code_error: true;
41066
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41067
+ error_code: 'hubitat_no_free_positions_available';
41068
+ }) | ({
39482
41069
  message: string;
39483
41070
  is_device_error: true;
39484
41071
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -39543,15 +41130,58 @@ interface Routes {
39543
41130
  is_device_error: true;
39544
41131
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39545
41132
  error_code: 'subscription_required';
39546
- }) | {
41133
+ }) | ({
39547
41134
  message: string;
39548
41135
  is_connected_account_error: true;
39549
- error_code: string;
39550
- }>;
41136
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41137
+ error_code: 'account_disconnected';
41138
+ } | {
41139
+ message: string;
41140
+ is_connected_account_error: true;
41141
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41142
+ error_code: 'invalid_credentials';
41143
+ })>;
39551
41144
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
39552
41145
  warnings: Array<{
39553
41146
  message: string;
39554
- warning_code: string;
41147
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41148
+ warning_code: 'smartthings_failed_to_set_access_code';
41149
+ } | {
41150
+ message: string;
41151
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41152
+ warning_code: 'schlage_detected_duplicate';
41153
+ } | {
41154
+ message: string;
41155
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41156
+ warning_code: 'schlage_creation_outage';
41157
+ } | {
41158
+ message: string;
41159
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41160
+ warning_code: 'code_modified_external_to_seam';
41161
+ } | {
41162
+ message: string;
41163
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41164
+ warning_code: 'delay_in_setting_on_device';
41165
+ } | {
41166
+ message: string;
41167
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41168
+ warning_code: 'delay_in_removing_from_device';
41169
+ } | {
41170
+ message: string;
41171
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41172
+ warning_code: 'third_party_integration_detected';
41173
+ } | {
41174
+ message: string;
41175
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41176
+ warning_code: 'august_device_programming_delay';
41177
+ } | {
41178
+ message: string;
41179
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41180
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
41181
+ } | {
41182
+ message: string;
41183
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41184
+ warning_code: 'management_transferred';
39555
41185
  }>;
39556
41186
  /** Indicates whether Seam manages the access code. */
39557
41187
  is_managed: true;
@@ -39623,11 +41253,102 @@ interface Routes {
39623
41253
  /** Date and time at which the access code was created. */
39624
41254
  created_at: string;
39625
41255
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
39626
- errors: Array<{
41256
+ errors: Array<({
39627
41257
  message: string;
39628
41258
  is_access_code_error: true;
39629
- error_code: string;
39630
- } | ({
41259
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41260
+ error_code: 'smartthings_failed_to_set_access_code';
41261
+ } | {
41262
+ message: string;
41263
+ is_access_code_error: true;
41264
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41265
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
41266
+ } | {
41267
+ message: string;
41268
+ is_access_code_error: true;
41269
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41270
+ error_code: 'failed_to_set_on_device';
41271
+ } | {
41272
+ message: string;
41273
+ is_access_code_error: true;
41274
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41275
+ error_code: 'failed_to_remove_from_device';
41276
+ } | {
41277
+ message: string;
41278
+ is_access_code_error: true;
41279
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41280
+ error_code: 'duplicate_code_on_device';
41281
+ } | {
41282
+ message: string;
41283
+ is_access_code_error: true;
41284
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41285
+ error_code: 'duplicate_code_attempt_prevented';
41286
+ } | {
41287
+ message: string;
41288
+ is_access_code_error: true;
41289
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41290
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
41291
+ } | {
41292
+ message: string;
41293
+ is_access_code_error: true;
41294
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41295
+ error_code: 'igloohome_bridge_offline';
41296
+ } | {
41297
+ message: string;
41298
+ is_access_code_error: true;
41299
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41300
+ error_code: 'igloohome_offline_access_code_no_variance_available';
41301
+ } | {
41302
+ message: string;
41303
+ is_access_code_error: true;
41304
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41305
+ error_code: 'kwikset_unable_to_confirm_code';
41306
+ } | {
41307
+ message: string;
41308
+ is_access_code_error: true;
41309
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41310
+ error_code: 'kwikset_unable_to_confirm_deletion';
41311
+ } | {
41312
+ message: string;
41313
+ is_access_code_error: true;
41314
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41315
+ error_code: 'code_modified_external_to_seam';
41316
+ } | {
41317
+ message: string;
41318
+ is_access_code_error: true;
41319
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41320
+ error_code: 'august_lock_invalid_code_length';
41321
+ } | {
41322
+ message: string;
41323
+ is_access_code_error: true;
41324
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41325
+ error_code: 'august_device_programming_delay';
41326
+ } | {
41327
+ message: string;
41328
+ is_access_code_error: true;
41329
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41330
+ error_code: 'august_device_slots_full';
41331
+ } | {
41332
+ message: string;
41333
+ is_access_code_error: true;
41334
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41335
+ error_code: 'august_lock_missing_keypad';
41336
+ } | {
41337
+ message: string;
41338
+ is_access_code_error: true;
41339
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41340
+ error_code: 'salto_site_user_not_subscribed';
41341
+ } | {
41342
+ message: string;
41343
+ is_access_code_error: true;
41344
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41345
+ error_code: 'hubitat_device_programming_delay';
41346
+ } | {
41347
+ message: string;
41348
+ is_access_code_error: true;
41349
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41350
+ error_code: 'hubitat_no_free_positions_available';
41351
+ }) | ({
39631
41352
  message: string;
39632
41353
  is_device_error: true;
39633
41354
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -39692,15 +41413,58 @@ interface Routes {
39692
41413
  is_device_error: true;
39693
41414
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39694
41415
  error_code: 'subscription_required';
39695
- }) | {
41416
+ }) | ({
39696
41417
  message: string;
39697
41418
  is_connected_account_error: true;
39698
- error_code: string;
39699
- }>;
41419
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41420
+ error_code: 'account_disconnected';
41421
+ } | {
41422
+ message: string;
41423
+ is_connected_account_error: true;
41424
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41425
+ error_code: 'invalid_credentials';
41426
+ })>;
39700
41427
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
39701
41428
  warnings: Array<{
39702
41429
  message: string;
39703
- warning_code: string;
41430
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41431
+ warning_code: 'smartthings_failed_to_set_access_code';
41432
+ } | {
41433
+ message: string;
41434
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41435
+ warning_code: 'schlage_detected_duplicate';
41436
+ } | {
41437
+ message: string;
41438
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41439
+ warning_code: 'schlage_creation_outage';
41440
+ } | {
41441
+ message: string;
41442
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41443
+ warning_code: 'code_modified_external_to_seam';
41444
+ } | {
41445
+ message: string;
41446
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41447
+ warning_code: 'delay_in_setting_on_device';
41448
+ } | {
41449
+ message: string;
41450
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41451
+ warning_code: 'delay_in_removing_from_device';
41452
+ } | {
41453
+ message: string;
41454
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41455
+ warning_code: 'third_party_integration_detected';
41456
+ } | {
41457
+ message: string;
41458
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41459
+ warning_code: 'august_device_programming_delay';
41460
+ } | {
41461
+ message: string;
41462
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41463
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
41464
+ } | {
41465
+ message: string;
41466
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41467
+ warning_code: 'management_transferred';
39704
41468
  }>;
39705
41469
  /** Indicates whether Seam manages the access code. */
39706
41470
  is_managed: true;
@@ -40611,11 +42375,102 @@ interface Routes {
40611
42375
  /** Date and time at which the access code was created. */
40612
42376
  created_at: string;
40613
42377
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
40614
- errors: Array<{
42378
+ errors: Array<({
42379
+ message: string;
42380
+ is_access_code_error: true;
42381
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42382
+ error_code: 'smartthings_failed_to_set_access_code';
42383
+ } | {
42384
+ message: string;
42385
+ is_access_code_error: true;
42386
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42387
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
42388
+ } | {
42389
+ message: string;
42390
+ is_access_code_error: true;
42391
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42392
+ error_code: 'failed_to_set_on_device';
42393
+ } | {
42394
+ message: string;
42395
+ is_access_code_error: true;
42396
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42397
+ error_code: 'failed_to_remove_from_device';
42398
+ } | {
42399
+ message: string;
42400
+ is_access_code_error: true;
42401
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42402
+ error_code: 'duplicate_code_on_device';
42403
+ } | {
42404
+ message: string;
42405
+ is_access_code_error: true;
42406
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42407
+ error_code: 'duplicate_code_attempt_prevented';
42408
+ } | {
42409
+ message: string;
42410
+ is_access_code_error: true;
42411
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42412
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
42413
+ } | {
42414
+ message: string;
42415
+ is_access_code_error: true;
42416
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42417
+ error_code: 'igloohome_bridge_offline';
42418
+ } | {
42419
+ message: string;
42420
+ is_access_code_error: true;
42421
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42422
+ error_code: 'igloohome_offline_access_code_no_variance_available';
42423
+ } | {
42424
+ message: string;
42425
+ is_access_code_error: true;
42426
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42427
+ error_code: 'kwikset_unable_to_confirm_code';
42428
+ } | {
42429
+ message: string;
42430
+ is_access_code_error: true;
42431
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42432
+ error_code: 'kwikset_unable_to_confirm_deletion';
42433
+ } | {
42434
+ message: string;
42435
+ is_access_code_error: true;
42436
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42437
+ error_code: 'code_modified_external_to_seam';
42438
+ } | {
42439
+ message: string;
42440
+ is_access_code_error: true;
42441
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42442
+ error_code: 'august_lock_invalid_code_length';
42443
+ } | {
40615
42444
  message: string;
40616
42445
  is_access_code_error: true;
40617
- error_code: string;
40618
- } | ({
42446
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42447
+ error_code: 'august_device_programming_delay';
42448
+ } | {
42449
+ message: string;
42450
+ is_access_code_error: true;
42451
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42452
+ error_code: 'august_device_slots_full';
42453
+ } | {
42454
+ message: string;
42455
+ is_access_code_error: true;
42456
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42457
+ error_code: 'august_lock_missing_keypad';
42458
+ } | {
42459
+ message: string;
42460
+ is_access_code_error: true;
42461
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42462
+ error_code: 'salto_site_user_not_subscribed';
42463
+ } | {
42464
+ message: string;
42465
+ is_access_code_error: true;
42466
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42467
+ error_code: 'hubitat_device_programming_delay';
42468
+ } | {
42469
+ message: string;
42470
+ is_access_code_error: true;
42471
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42472
+ error_code: 'hubitat_no_free_positions_available';
42473
+ }) | ({
40619
42474
  message: string;
40620
42475
  is_device_error: true;
40621
42476
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -40680,15 +42535,58 @@ interface Routes {
40680
42535
  is_device_error: true;
40681
42536
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40682
42537
  error_code: 'subscription_required';
40683
- }) | {
42538
+ }) | ({
40684
42539
  message: string;
40685
42540
  is_connected_account_error: true;
40686
- error_code: string;
40687
- }>;
42541
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42542
+ error_code: 'account_disconnected';
42543
+ } | {
42544
+ message: string;
42545
+ is_connected_account_error: true;
42546
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42547
+ error_code: 'invalid_credentials';
42548
+ })>;
40688
42549
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
40689
42550
  warnings: Array<{
40690
42551
  message: string;
40691
- warning_code: string;
42552
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42553
+ warning_code: 'smartthings_failed_to_set_access_code';
42554
+ } | {
42555
+ message: string;
42556
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42557
+ warning_code: 'schlage_detected_duplicate';
42558
+ } | {
42559
+ message: string;
42560
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42561
+ warning_code: 'schlage_creation_outage';
42562
+ } | {
42563
+ message: string;
42564
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42565
+ warning_code: 'code_modified_external_to_seam';
42566
+ } | {
42567
+ message: string;
42568
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42569
+ warning_code: 'delay_in_setting_on_device';
42570
+ } | {
42571
+ message: string;
42572
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42573
+ warning_code: 'delay_in_removing_from_device';
42574
+ } | {
42575
+ message: string;
42576
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42577
+ warning_code: 'third_party_integration_detected';
42578
+ } | {
42579
+ message: string;
42580
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42581
+ warning_code: 'august_device_programming_delay';
42582
+ } | {
42583
+ message: string;
42584
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42585
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
42586
+ } | {
42587
+ message: string;
42588
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42589
+ warning_code: 'management_transferred';
40692
42590
  }>;
40693
42591
  /** Indicates whether Seam manages the access code. */
40694
42592
  is_managed: true;
@@ -40747,11 +42645,102 @@ interface Routes {
40747
42645
  /** Date and time at which the access code was created. */
40748
42646
  created_at: string;
40749
42647
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
40750
- errors: Array<{
42648
+ errors: Array<({
40751
42649
  message: string;
40752
42650
  is_access_code_error: true;
40753
- error_code: string;
40754
- } | ({
42651
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42652
+ error_code: 'smartthings_failed_to_set_access_code';
42653
+ } | {
42654
+ message: string;
42655
+ is_access_code_error: true;
42656
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42657
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
42658
+ } | {
42659
+ message: string;
42660
+ is_access_code_error: true;
42661
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42662
+ error_code: 'failed_to_set_on_device';
42663
+ } | {
42664
+ message: string;
42665
+ is_access_code_error: true;
42666
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42667
+ error_code: 'failed_to_remove_from_device';
42668
+ } | {
42669
+ message: string;
42670
+ is_access_code_error: true;
42671
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42672
+ error_code: 'duplicate_code_on_device';
42673
+ } | {
42674
+ message: string;
42675
+ is_access_code_error: true;
42676
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42677
+ error_code: 'duplicate_code_attempt_prevented';
42678
+ } | {
42679
+ message: string;
42680
+ is_access_code_error: true;
42681
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42682
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
42683
+ } | {
42684
+ message: string;
42685
+ is_access_code_error: true;
42686
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42687
+ error_code: 'igloohome_bridge_offline';
42688
+ } | {
42689
+ message: string;
42690
+ is_access_code_error: true;
42691
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42692
+ error_code: 'igloohome_offline_access_code_no_variance_available';
42693
+ } | {
42694
+ message: string;
42695
+ is_access_code_error: true;
42696
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42697
+ error_code: 'kwikset_unable_to_confirm_code';
42698
+ } | {
42699
+ message: string;
42700
+ is_access_code_error: true;
42701
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42702
+ error_code: 'kwikset_unable_to_confirm_deletion';
42703
+ } | {
42704
+ message: string;
42705
+ is_access_code_error: true;
42706
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42707
+ error_code: 'code_modified_external_to_seam';
42708
+ } | {
42709
+ message: string;
42710
+ is_access_code_error: true;
42711
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42712
+ error_code: 'august_lock_invalid_code_length';
42713
+ } | {
42714
+ message: string;
42715
+ is_access_code_error: true;
42716
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42717
+ error_code: 'august_device_programming_delay';
42718
+ } | {
42719
+ message: string;
42720
+ is_access_code_error: true;
42721
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42722
+ error_code: 'august_device_slots_full';
42723
+ } | {
42724
+ message: string;
42725
+ is_access_code_error: true;
42726
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42727
+ error_code: 'august_lock_missing_keypad';
42728
+ } | {
42729
+ message: string;
42730
+ is_access_code_error: true;
42731
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42732
+ error_code: 'salto_site_user_not_subscribed';
42733
+ } | {
42734
+ message: string;
42735
+ is_access_code_error: true;
42736
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42737
+ error_code: 'hubitat_device_programming_delay';
42738
+ } | {
42739
+ message: string;
42740
+ is_access_code_error: true;
42741
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42742
+ error_code: 'hubitat_no_free_positions_available';
42743
+ }) | ({
40755
42744
  message: string;
40756
42745
  is_device_error: true;
40757
42746
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -40816,15 +42805,58 @@ interface Routes {
40816
42805
  is_device_error: true;
40817
42806
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40818
42807
  error_code: 'subscription_required';
40819
- }) | {
42808
+ }) | ({
40820
42809
  message: string;
40821
42810
  is_connected_account_error: true;
40822
- error_code: string;
40823
- }>;
42811
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42812
+ error_code: 'account_disconnected';
42813
+ } | {
42814
+ message: string;
42815
+ is_connected_account_error: true;
42816
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42817
+ error_code: 'invalid_credentials';
42818
+ })>;
40824
42819
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
40825
42820
  warnings: Array<{
40826
42821
  message: string;
40827
- warning_code: string;
42822
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42823
+ warning_code: 'smartthings_failed_to_set_access_code';
42824
+ } | {
42825
+ message: string;
42826
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42827
+ warning_code: 'schlage_detected_duplicate';
42828
+ } | {
42829
+ message: string;
42830
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42831
+ warning_code: 'schlage_creation_outage';
42832
+ } | {
42833
+ message: string;
42834
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42835
+ warning_code: 'code_modified_external_to_seam';
42836
+ } | {
42837
+ message: string;
42838
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42839
+ warning_code: 'delay_in_setting_on_device';
42840
+ } | {
42841
+ message: string;
42842
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42843
+ warning_code: 'delay_in_removing_from_device';
42844
+ } | {
42845
+ message: string;
42846
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42847
+ warning_code: 'third_party_integration_detected';
42848
+ } | {
42849
+ message: string;
42850
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42851
+ warning_code: 'august_device_programming_delay';
42852
+ } | {
42853
+ message: string;
42854
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42855
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
42856
+ } | {
42857
+ message: string;
42858
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42859
+ warning_code: 'management_transferred';
40828
42860
  }>;
40829
42861
  /** Indicates whether Seam manages the access code. */
40830
42862
  is_managed: true;
@@ -40882,11 +42914,102 @@ interface Routes {
40882
42914
  /** Date and time at which the access code was created. */
40883
42915
  created_at: string;
40884
42916
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
40885
- errors: Array<{
42917
+ errors: Array<({
40886
42918
  message: string;
40887
42919
  is_access_code_error: true;
40888
- error_code: string;
40889
- } | ({
42920
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42921
+ error_code: 'smartthings_failed_to_set_access_code';
42922
+ } | {
42923
+ message: string;
42924
+ is_access_code_error: true;
42925
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42926
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
42927
+ } | {
42928
+ message: string;
42929
+ is_access_code_error: true;
42930
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42931
+ error_code: 'failed_to_set_on_device';
42932
+ } | {
42933
+ message: string;
42934
+ is_access_code_error: true;
42935
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42936
+ error_code: 'failed_to_remove_from_device';
42937
+ } | {
42938
+ message: string;
42939
+ is_access_code_error: true;
42940
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42941
+ error_code: 'duplicate_code_on_device';
42942
+ } | {
42943
+ message: string;
42944
+ is_access_code_error: true;
42945
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42946
+ error_code: 'duplicate_code_attempt_prevented';
42947
+ } | {
42948
+ message: string;
42949
+ is_access_code_error: true;
42950
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42951
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
42952
+ } | {
42953
+ message: string;
42954
+ is_access_code_error: true;
42955
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42956
+ error_code: 'igloohome_bridge_offline';
42957
+ } | {
42958
+ message: string;
42959
+ is_access_code_error: true;
42960
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42961
+ error_code: 'igloohome_offline_access_code_no_variance_available';
42962
+ } | {
42963
+ message: string;
42964
+ is_access_code_error: true;
42965
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42966
+ error_code: 'kwikset_unable_to_confirm_code';
42967
+ } | {
42968
+ message: string;
42969
+ is_access_code_error: true;
42970
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42971
+ error_code: 'kwikset_unable_to_confirm_deletion';
42972
+ } | {
42973
+ message: string;
42974
+ is_access_code_error: true;
42975
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42976
+ error_code: 'code_modified_external_to_seam';
42977
+ } | {
42978
+ message: string;
42979
+ is_access_code_error: true;
42980
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42981
+ error_code: 'august_lock_invalid_code_length';
42982
+ } | {
42983
+ message: string;
42984
+ is_access_code_error: true;
42985
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42986
+ error_code: 'august_device_programming_delay';
42987
+ } | {
42988
+ message: string;
42989
+ is_access_code_error: true;
42990
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42991
+ error_code: 'august_device_slots_full';
42992
+ } | {
42993
+ message: string;
42994
+ is_access_code_error: true;
42995
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42996
+ error_code: 'august_lock_missing_keypad';
42997
+ } | {
42998
+ message: string;
42999
+ is_access_code_error: true;
43000
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43001
+ error_code: 'salto_site_user_not_subscribed';
43002
+ } | {
43003
+ message: string;
43004
+ is_access_code_error: true;
43005
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43006
+ error_code: 'hubitat_device_programming_delay';
43007
+ } | {
43008
+ message: string;
43009
+ is_access_code_error: true;
43010
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43011
+ error_code: 'hubitat_no_free_positions_available';
43012
+ }) | ({
40890
43013
  message: string;
40891
43014
  is_device_error: true;
40892
43015
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -40951,15 +43074,58 @@ interface Routes {
40951
43074
  is_device_error: true;
40952
43075
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40953
43076
  error_code: 'subscription_required';
40954
- }) | {
43077
+ }) | ({
40955
43078
  message: string;
40956
43079
  is_connected_account_error: true;
40957
- error_code: string;
40958
- }>;
43080
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43081
+ error_code: 'account_disconnected';
43082
+ } | {
43083
+ message: string;
43084
+ is_connected_account_error: true;
43085
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43086
+ error_code: 'invalid_credentials';
43087
+ })>;
40959
43088
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
40960
43089
  warnings: Array<{
40961
43090
  message: string;
40962
- warning_code: string;
43091
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43092
+ warning_code: 'smartthings_failed_to_set_access_code';
43093
+ } | {
43094
+ message: string;
43095
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43096
+ warning_code: 'schlage_detected_duplicate';
43097
+ } | {
43098
+ message: string;
43099
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43100
+ warning_code: 'schlage_creation_outage';
43101
+ } | {
43102
+ message: string;
43103
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43104
+ warning_code: 'code_modified_external_to_seam';
43105
+ } | {
43106
+ message: string;
43107
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43108
+ warning_code: 'delay_in_setting_on_device';
43109
+ } | {
43110
+ message: string;
43111
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43112
+ warning_code: 'delay_in_removing_from_device';
43113
+ } | {
43114
+ message: string;
43115
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43116
+ warning_code: 'third_party_integration_detected';
43117
+ } | {
43118
+ message: string;
43119
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43120
+ warning_code: 'august_device_programming_delay';
43121
+ } | {
43122
+ message: string;
43123
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43124
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
43125
+ } | {
43126
+ message: string;
43127
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43128
+ warning_code: 'management_transferred';
40963
43129
  }>;
40964
43130
  /** Indicates whether Seam manages the access code. */
40965
43131
  is_managed: true;
@@ -41005,11 +43171,102 @@ interface Routes {
41005
43171
  /** Date and time at which the access code was created. */
41006
43172
  created_at: string;
41007
43173
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
41008
- errors: Array<{
43174
+ errors: Array<({
41009
43175
  message: string;
41010
43176
  is_access_code_error: true;
41011
- error_code: string;
41012
- } | ({
43177
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43178
+ error_code: 'smartthings_failed_to_set_access_code';
43179
+ } | {
43180
+ message: string;
43181
+ is_access_code_error: true;
43182
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43183
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
43184
+ } | {
43185
+ message: string;
43186
+ is_access_code_error: true;
43187
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43188
+ error_code: 'failed_to_set_on_device';
43189
+ } | {
43190
+ message: string;
43191
+ is_access_code_error: true;
43192
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43193
+ error_code: 'failed_to_remove_from_device';
43194
+ } | {
43195
+ message: string;
43196
+ is_access_code_error: true;
43197
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43198
+ error_code: 'duplicate_code_on_device';
43199
+ } | {
43200
+ message: string;
43201
+ is_access_code_error: true;
43202
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43203
+ error_code: 'duplicate_code_attempt_prevented';
43204
+ } | {
43205
+ message: string;
43206
+ is_access_code_error: true;
43207
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43208
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
43209
+ } | {
43210
+ message: string;
43211
+ is_access_code_error: true;
43212
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43213
+ error_code: 'igloohome_bridge_offline';
43214
+ } | {
43215
+ message: string;
43216
+ is_access_code_error: true;
43217
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43218
+ error_code: 'igloohome_offline_access_code_no_variance_available';
43219
+ } | {
43220
+ message: string;
43221
+ is_access_code_error: true;
43222
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43223
+ error_code: 'kwikset_unable_to_confirm_code';
43224
+ } | {
43225
+ message: string;
43226
+ is_access_code_error: true;
43227
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43228
+ error_code: 'kwikset_unable_to_confirm_deletion';
43229
+ } | {
43230
+ message: string;
43231
+ is_access_code_error: true;
43232
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43233
+ error_code: 'code_modified_external_to_seam';
43234
+ } | {
43235
+ message: string;
43236
+ is_access_code_error: true;
43237
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43238
+ error_code: 'august_lock_invalid_code_length';
43239
+ } | {
43240
+ message: string;
43241
+ is_access_code_error: true;
43242
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43243
+ error_code: 'august_device_programming_delay';
43244
+ } | {
43245
+ message: string;
43246
+ is_access_code_error: true;
43247
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43248
+ error_code: 'august_device_slots_full';
43249
+ } | {
43250
+ message: string;
43251
+ is_access_code_error: true;
43252
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43253
+ error_code: 'august_lock_missing_keypad';
43254
+ } | {
43255
+ message: string;
43256
+ is_access_code_error: true;
43257
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43258
+ error_code: 'salto_site_user_not_subscribed';
43259
+ } | {
43260
+ message: string;
43261
+ is_access_code_error: true;
43262
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43263
+ error_code: 'hubitat_device_programming_delay';
43264
+ } | {
43265
+ message: string;
43266
+ is_access_code_error: true;
43267
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43268
+ error_code: 'hubitat_no_free_positions_available';
43269
+ }) | ({
41013
43270
  message: string;
41014
43271
  is_device_error: true;
41015
43272
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -41074,15 +43331,58 @@ interface Routes {
41074
43331
  is_device_error: true;
41075
43332
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41076
43333
  error_code: 'subscription_required';
41077
- }) | {
43334
+ }) | ({
41078
43335
  message: string;
41079
43336
  is_connected_account_error: true;
41080
- error_code: string;
41081
- }>;
43337
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43338
+ error_code: 'account_disconnected';
43339
+ } | {
43340
+ message: string;
43341
+ is_connected_account_error: true;
43342
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43343
+ error_code: 'invalid_credentials';
43344
+ })>;
41082
43345
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
41083
43346
  warnings: Array<{
41084
43347
  message: string;
41085
- warning_code: string;
43348
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43349
+ warning_code: 'smartthings_failed_to_set_access_code';
43350
+ } | {
43351
+ message: string;
43352
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43353
+ warning_code: 'schlage_detected_duplicate';
43354
+ } | {
43355
+ message: string;
43356
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43357
+ warning_code: 'schlage_creation_outage';
43358
+ } | {
43359
+ message: string;
43360
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43361
+ warning_code: 'code_modified_external_to_seam';
43362
+ } | {
43363
+ message: string;
43364
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43365
+ warning_code: 'delay_in_setting_on_device';
43366
+ } | {
43367
+ message: string;
43368
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43369
+ warning_code: 'delay_in_removing_from_device';
43370
+ } | {
43371
+ message: string;
43372
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43373
+ warning_code: 'third_party_integration_detected';
43374
+ } | {
43375
+ message: string;
43376
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43377
+ warning_code: 'august_device_programming_delay';
43378
+ } | {
43379
+ message: string;
43380
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43381
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
43382
+ } | {
43383
+ message: string;
43384
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43385
+ warning_code: 'management_transferred';
41086
43386
  }>;
41087
43387
  /** Indicates whether Seam manages the access code. */
41088
43388
  is_managed: true;
@@ -41136,11 +43436,102 @@ interface Routes {
41136
43436
  /** Date and time at which the access code was created. */
41137
43437
  created_at: string;
41138
43438
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
41139
- errors: Array<{
43439
+ errors: Array<({
41140
43440
  message: string;
41141
43441
  is_access_code_error: true;
41142
- error_code: string;
41143
- } | ({
43442
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43443
+ error_code: 'smartthings_failed_to_set_access_code';
43444
+ } | {
43445
+ message: string;
43446
+ is_access_code_error: true;
43447
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43448
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
43449
+ } | {
43450
+ message: string;
43451
+ is_access_code_error: true;
43452
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43453
+ error_code: 'failed_to_set_on_device';
43454
+ } | {
43455
+ message: string;
43456
+ is_access_code_error: true;
43457
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43458
+ error_code: 'failed_to_remove_from_device';
43459
+ } | {
43460
+ message: string;
43461
+ is_access_code_error: true;
43462
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43463
+ error_code: 'duplicate_code_on_device';
43464
+ } | {
43465
+ message: string;
43466
+ is_access_code_error: true;
43467
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43468
+ error_code: 'duplicate_code_attempt_prevented';
43469
+ } | {
43470
+ message: string;
43471
+ is_access_code_error: true;
43472
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43473
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
43474
+ } | {
43475
+ message: string;
43476
+ is_access_code_error: true;
43477
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43478
+ error_code: 'igloohome_bridge_offline';
43479
+ } | {
43480
+ message: string;
43481
+ is_access_code_error: true;
43482
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43483
+ error_code: 'igloohome_offline_access_code_no_variance_available';
43484
+ } | {
43485
+ message: string;
43486
+ is_access_code_error: true;
43487
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43488
+ error_code: 'kwikset_unable_to_confirm_code';
43489
+ } | {
43490
+ message: string;
43491
+ is_access_code_error: true;
43492
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43493
+ error_code: 'kwikset_unable_to_confirm_deletion';
43494
+ } | {
43495
+ message: string;
43496
+ is_access_code_error: true;
43497
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43498
+ error_code: 'code_modified_external_to_seam';
43499
+ } | {
43500
+ message: string;
43501
+ is_access_code_error: true;
43502
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43503
+ error_code: 'august_lock_invalid_code_length';
43504
+ } | {
43505
+ message: string;
43506
+ is_access_code_error: true;
43507
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43508
+ error_code: 'august_device_programming_delay';
43509
+ } | {
43510
+ message: string;
43511
+ is_access_code_error: true;
43512
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43513
+ error_code: 'august_device_slots_full';
43514
+ } | {
43515
+ message: string;
43516
+ is_access_code_error: true;
43517
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43518
+ error_code: 'august_lock_missing_keypad';
43519
+ } | {
43520
+ message: string;
43521
+ is_access_code_error: true;
43522
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43523
+ error_code: 'salto_site_user_not_subscribed';
43524
+ } | {
43525
+ message: string;
43526
+ is_access_code_error: true;
43527
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43528
+ error_code: 'hubitat_device_programming_delay';
43529
+ } | {
43530
+ message: string;
43531
+ is_access_code_error: true;
43532
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43533
+ error_code: 'hubitat_no_free_positions_available';
43534
+ }) | ({
41144
43535
  message: string;
41145
43536
  is_device_error: true;
41146
43537
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -41205,15 +43596,58 @@ interface Routes {
41205
43596
  is_device_error: true;
41206
43597
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41207
43598
  error_code: 'subscription_required';
41208
- }) | {
43599
+ }) | ({
41209
43600
  message: string;
41210
43601
  is_connected_account_error: true;
41211
- error_code: string;
41212
- }>;
43602
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43603
+ error_code: 'account_disconnected';
43604
+ } | {
43605
+ message: string;
43606
+ is_connected_account_error: true;
43607
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43608
+ error_code: 'invalid_credentials';
43609
+ })>;
41213
43610
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
41214
43611
  warnings: Array<{
41215
43612
  message: string;
41216
- warning_code: string;
43613
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43614
+ warning_code: 'smartthings_failed_to_set_access_code';
43615
+ } | {
43616
+ message: string;
43617
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43618
+ warning_code: 'schlage_detected_duplicate';
43619
+ } | {
43620
+ message: string;
43621
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43622
+ warning_code: 'schlage_creation_outage';
43623
+ } | {
43624
+ message: string;
43625
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43626
+ warning_code: 'code_modified_external_to_seam';
43627
+ } | {
43628
+ message: string;
43629
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43630
+ warning_code: 'delay_in_setting_on_device';
43631
+ } | {
43632
+ message: string;
43633
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43634
+ warning_code: 'delay_in_removing_from_device';
43635
+ } | {
43636
+ message: string;
43637
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43638
+ warning_code: 'third_party_integration_detected';
43639
+ } | {
43640
+ message: string;
43641
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43642
+ warning_code: 'august_device_programming_delay';
43643
+ } | {
43644
+ message: string;
43645
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43646
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
43647
+ } | {
43648
+ message: string;
43649
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43650
+ warning_code: 'management_transferred';
41217
43651
  }>;
41218
43652
  is_managed: false;
41219
43653
  /** Date and time at which the time-bound access code becomes active. */
@@ -42100,11 +44534,349 @@ interface Routes {
42100
44534
  /** Date and time at which the access code was created. */
42101
44535
  created_at: string;
42102
44536
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
42103
- errors: Array<{
44537
+ errors: Array<({
42104
44538
  message: string;
42105
44539
  is_access_code_error: true;
42106
- error_code: string;
42107
- } | ({
44540
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44541
+ error_code: 'smartthings_failed_to_set_access_code';
44542
+ } | {
44543
+ message: string;
44544
+ is_access_code_error: true;
44545
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44546
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
44547
+ } | {
44548
+ message: string;
44549
+ is_access_code_error: true;
44550
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44551
+ error_code: 'failed_to_set_on_device';
44552
+ } | {
44553
+ message: string;
44554
+ is_access_code_error: true;
44555
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44556
+ error_code: 'failed_to_remove_from_device';
44557
+ } | {
44558
+ message: string;
44559
+ is_access_code_error: true;
44560
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44561
+ error_code: 'duplicate_code_on_device';
44562
+ } | {
44563
+ message: string;
44564
+ is_access_code_error: true;
44565
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44566
+ error_code: 'duplicate_code_attempt_prevented';
44567
+ } | {
44568
+ message: string;
44569
+ is_access_code_error: true;
44570
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44571
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
44572
+ } | {
44573
+ message: string;
44574
+ is_access_code_error: true;
44575
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44576
+ error_code: 'igloohome_bridge_offline';
44577
+ } | {
44578
+ message: string;
44579
+ is_access_code_error: true;
44580
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44581
+ error_code: 'igloohome_offline_access_code_no_variance_available';
44582
+ } | {
44583
+ message: string;
44584
+ is_access_code_error: true;
44585
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44586
+ error_code: 'kwikset_unable_to_confirm_code';
44587
+ } | {
44588
+ message: string;
44589
+ is_access_code_error: true;
44590
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44591
+ error_code: 'kwikset_unable_to_confirm_deletion';
44592
+ } | {
44593
+ message: string;
44594
+ is_access_code_error: true;
44595
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44596
+ error_code: 'code_modified_external_to_seam';
44597
+ } | {
44598
+ message: string;
44599
+ is_access_code_error: true;
44600
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44601
+ error_code: 'august_lock_invalid_code_length';
44602
+ } | {
44603
+ message: string;
44604
+ is_access_code_error: true;
44605
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44606
+ error_code: 'august_device_programming_delay';
44607
+ } | {
44608
+ message: string;
44609
+ is_access_code_error: true;
44610
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44611
+ error_code: 'august_device_slots_full';
44612
+ } | {
44613
+ message: string;
44614
+ is_access_code_error: true;
44615
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44616
+ error_code: 'august_lock_missing_keypad';
44617
+ } | {
44618
+ message: string;
44619
+ is_access_code_error: true;
44620
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44621
+ error_code: 'salto_site_user_not_subscribed';
44622
+ } | {
44623
+ message: string;
44624
+ is_access_code_error: true;
44625
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44626
+ error_code: 'hubitat_device_programming_delay';
44627
+ } | {
44628
+ message: string;
44629
+ is_access_code_error: true;
44630
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44631
+ error_code: 'hubitat_no_free_positions_available';
44632
+ }) | ({
44633
+ message: string;
44634
+ is_device_error: true;
44635
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44636
+ error_code: 'device_offline';
44637
+ } | {
44638
+ message: string;
44639
+ is_device_error: true;
44640
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44641
+ error_code: 'device_removed';
44642
+ } | {
44643
+ message: string;
44644
+ is_device_error: true;
44645
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44646
+ error_code: 'account_disconnected';
44647
+ } | {
44648
+ message: string;
44649
+ is_device_error: true;
44650
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44651
+ error_code: 'hub_disconnected';
44652
+ } | {
44653
+ message: string;
44654
+ is_device_error: true;
44655
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44656
+ error_code: 'device_disconnected';
44657
+ } | {
44658
+ message: string;
44659
+ is_device_error: true;
44660
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44661
+ error_code: 'empty_backup_access_code_pool';
44662
+ } | {
44663
+ message: string;
44664
+ is_device_error: true;
44665
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44666
+ error_code: 'august_lock_not_authorized';
44667
+ } | {
44668
+ message: string;
44669
+ is_device_error: true;
44670
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44671
+ error_code: 'august_lock_missing_bridge';
44672
+ } | {
44673
+ message: string;
44674
+ is_device_error: true;
44675
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44676
+ error_code: 'salto_site_user_limit_reached';
44677
+ } | {
44678
+ message: string;
44679
+ is_device_error: true;
44680
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44681
+ error_code: 'ttlock_lock_not_paired_to_gateway';
44682
+ } | {
44683
+ message: string;
44684
+ is_device_error: true;
44685
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44686
+ error_code: 'missing_device_credentials';
44687
+ } | {
44688
+ message: string;
44689
+ is_device_error: true;
44690
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44691
+ error_code: 'auxiliary_heat_running';
44692
+ } | {
44693
+ message: string;
44694
+ is_device_error: true;
44695
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44696
+ error_code: 'subscription_required';
44697
+ }) | ({
44698
+ message: string;
44699
+ is_connected_account_error: true;
44700
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44701
+ error_code: 'account_disconnected';
44702
+ } | {
44703
+ message: string;
44704
+ is_connected_account_error: true;
44705
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44706
+ error_code: 'invalid_credentials';
44707
+ })>;
44708
+ /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
44709
+ warnings: Array<{
44710
+ message: string;
44711
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44712
+ warning_code: 'smartthings_failed_to_set_access_code';
44713
+ } | {
44714
+ message: string;
44715
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44716
+ warning_code: 'schlage_detected_duplicate';
44717
+ } | {
44718
+ message: string;
44719
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44720
+ warning_code: 'schlage_creation_outage';
44721
+ } | {
44722
+ message: string;
44723
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44724
+ warning_code: 'code_modified_external_to_seam';
44725
+ } | {
44726
+ message: string;
44727
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44728
+ warning_code: 'delay_in_setting_on_device';
44729
+ } | {
44730
+ message: string;
44731
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44732
+ warning_code: 'delay_in_removing_from_device';
44733
+ } | {
44734
+ message: string;
44735
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44736
+ warning_code: 'third_party_integration_detected';
44737
+ } | {
44738
+ message: string;
44739
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44740
+ warning_code: 'august_device_programming_delay';
44741
+ } | {
44742
+ message: string;
44743
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44744
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
44745
+ } | {
44746
+ message: string;
44747
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44748
+ warning_code: 'management_transferred';
44749
+ }>;
44750
+ is_managed: false;
44751
+ /** Date and time at which the time-bound access code becomes active. */
44752
+ starts_at?: (string | null) | undefined;
44753
+ /** Date and time after which the time-bound access code becomes inactive. */
44754
+ ends_at?: (string | null) | undefined;
44755
+ status: 'set';
44756
+ };
44757
+ };
44758
+ };
44759
+ '/access_codes/unmanaged/list': {
44760
+ route: '/access_codes/unmanaged/list';
44761
+ method: 'GET' | 'POST';
44762
+ queryParams: {};
44763
+ jsonBody: {};
44764
+ commonParams: {
44765
+ device_id: string;
44766
+ user_identifier_key?: string | undefined;
44767
+ };
44768
+ formData: {};
44769
+ jsonResponse: {
44770
+ access_codes: Array<{
44771
+ /** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
44772
+ type: 'time_bound' | 'ongoing';
44773
+ /** Unique identifier for the access code. */
44774
+ access_code_id: string;
44775
+ /** Unique identifier for the device associated with the access code. */
44776
+ device_id: string;
44777
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
44778
+ name: string | null;
44779
+ /** Code used for access. Typically, a numeric or alphanumeric string. */
44780
+ code: string | null;
44781
+ /** Date and time at which the access code was created. */
44782
+ created_at: string;
44783
+ /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
44784
+ errors: Array<({
44785
+ message: string;
44786
+ is_access_code_error: true;
44787
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44788
+ error_code: 'smartthings_failed_to_set_access_code';
44789
+ } | {
44790
+ message: string;
44791
+ is_access_code_error: true;
44792
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44793
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
44794
+ } | {
44795
+ message: string;
44796
+ is_access_code_error: true;
44797
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44798
+ error_code: 'failed_to_set_on_device';
44799
+ } | {
44800
+ message: string;
44801
+ is_access_code_error: true;
44802
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44803
+ error_code: 'failed_to_remove_from_device';
44804
+ } | {
44805
+ message: string;
44806
+ is_access_code_error: true;
44807
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44808
+ error_code: 'duplicate_code_on_device';
44809
+ } | {
44810
+ message: string;
44811
+ is_access_code_error: true;
44812
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44813
+ error_code: 'duplicate_code_attempt_prevented';
44814
+ } | {
44815
+ message: string;
44816
+ is_access_code_error: true;
44817
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44818
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
44819
+ } | {
44820
+ message: string;
44821
+ is_access_code_error: true;
44822
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44823
+ error_code: 'igloohome_bridge_offline';
44824
+ } | {
44825
+ message: string;
44826
+ is_access_code_error: true;
44827
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44828
+ error_code: 'igloohome_offline_access_code_no_variance_available';
44829
+ } | {
44830
+ message: string;
44831
+ is_access_code_error: true;
44832
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44833
+ error_code: 'kwikset_unable_to_confirm_code';
44834
+ } | {
44835
+ message: string;
44836
+ is_access_code_error: true;
44837
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44838
+ error_code: 'kwikset_unable_to_confirm_deletion';
44839
+ } | {
44840
+ message: string;
44841
+ is_access_code_error: true;
44842
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44843
+ error_code: 'code_modified_external_to_seam';
44844
+ } | {
44845
+ message: string;
44846
+ is_access_code_error: true;
44847
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44848
+ error_code: 'august_lock_invalid_code_length';
44849
+ } | {
44850
+ message: string;
44851
+ is_access_code_error: true;
44852
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44853
+ error_code: 'august_device_programming_delay';
44854
+ } | {
44855
+ message: string;
44856
+ is_access_code_error: true;
44857
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44858
+ error_code: 'august_device_slots_full';
44859
+ } | {
44860
+ message: string;
44861
+ is_access_code_error: true;
44862
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44863
+ error_code: 'august_lock_missing_keypad';
44864
+ } | {
44865
+ message: string;
44866
+ is_access_code_error: true;
44867
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44868
+ error_code: 'salto_site_user_not_subscribed';
44869
+ } | {
44870
+ message: string;
44871
+ is_access_code_error: true;
44872
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44873
+ error_code: 'hubitat_device_programming_delay';
44874
+ } | {
44875
+ message: string;
44876
+ is_access_code_error: true;
44877
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44878
+ error_code: 'hubitat_no_free_positions_available';
44879
+ }) | ({
42108
44880
  message: string;
42109
44881
  is_device_error: true;
42110
44882
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -42169,128 +44941,58 @@ interface Routes {
42169
44941
  is_device_error: true;
42170
44942
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42171
44943
  error_code: 'subscription_required';
42172
- }) | {
44944
+ }) | ({
42173
44945
  message: string;
42174
44946
  is_connected_account_error: true;
42175
- error_code: string;
42176
- }>;
42177
- /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
42178
- warnings: Array<{
42179
- message: string;
42180
- warning_code: string;
42181
- }>;
42182
- is_managed: false;
42183
- /** Date and time at which the time-bound access code becomes active. */
42184
- starts_at?: (string | null) | undefined;
42185
- /** Date and time after which the time-bound access code becomes inactive. */
42186
- ends_at?: (string | null) | undefined;
42187
- status: 'set';
42188
- };
42189
- };
42190
- };
42191
- '/access_codes/unmanaged/list': {
42192
- route: '/access_codes/unmanaged/list';
42193
- method: 'GET' | 'POST';
42194
- queryParams: {};
42195
- jsonBody: {};
42196
- commonParams: {
42197
- device_id: string;
42198
- user_identifier_key?: string | undefined;
42199
- };
42200
- formData: {};
42201
- jsonResponse: {
42202
- access_codes: Array<{
42203
- /** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
42204
- type: 'time_bound' | 'ongoing';
42205
- /** Unique identifier for the access code. */
42206
- access_code_id: string;
42207
- /** Unique identifier for the device associated with the access code. */
42208
- device_id: string;
42209
- /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
42210
- name: string | null;
42211
- /** Code used for access. Typically, a numeric or alphanumeric string. */
42212
- code: string | null;
42213
- /** Date and time at which the access code was created. */
42214
- created_at: string;
42215
- /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
42216
- errors: Array<{
42217
- message: string;
42218
- is_access_code_error: true;
42219
- error_code: string;
42220
- } | ({
42221
- message: string;
42222
- is_device_error: true;
42223
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42224
- error_code: 'device_offline';
42225
- } | {
42226
- message: string;
42227
- is_device_error: true;
42228
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42229
- error_code: 'device_removed';
42230
- } | {
42231
- message: string;
42232
- is_device_error: true;
42233
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44947
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42234
44948
  error_code: 'account_disconnected';
42235
44949
  } | {
42236
44950
  message: string;
42237
- is_device_error: true;
42238
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42239
- error_code: 'hub_disconnected';
42240
- } | {
44951
+ is_connected_account_error: true;
44952
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44953
+ error_code: 'invalid_credentials';
44954
+ })>;
44955
+ /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
44956
+ warnings: Array<{
42241
44957
  message: string;
42242
- is_device_error: true;
42243
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42244
- error_code: 'device_disconnected';
44958
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44959
+ warning_code: 'smartthings_failed_to_set_access_code';
42245
44960
  } | {
42246
44961
  message: string;
42247
- is_device_error: true;
42248
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42249
- error_code: 'empty_backup_access_code_pool';
44962
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44963
+ warning_code: 'schlage_detected_duplicate';
42250
44964
  } | {
42251
44965
  message: string;
42252
- is_device_error: true;
42253
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42254
- error_code: 'august_lock_not_authorized';
44966
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44967
+ warning_code: 'schlage_creation_outage';
42255
44968
  } | {
42256
44969
  message: string;
42257
- is_device_error: true;
42258
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42259
- error_code: 'august_lock_missing_bridge';
44970
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44971
+ warning_code: 'code_modified_external_to_seam';
42260
44972
  } | {
42261
44973
  message: string;
42262
- is_device_error: true;
42263
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42264
- error_code: 'salto_site_user_limit_reached';
44974
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44975
+ warning_code: 'delay_in_setting_on_device';
42265
44976
  } | {
42266
44977
  message: string;
42267
- is_device_error: true;
42268
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42269
- error_code: 'ttlock_lock_not_paired_to_gateway';
44978
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44979
+ warning_code: 'delay_in_removing_from_device';
42270
44980
  } | {
42271
44981
  message: string;
42272
- is_device_error: true;
42273
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42274
- error_code: 'missing_device_credentials';
44982
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44983
+ warning_code: 'third_party_integration_detected';
42275
44984
  } | {
42276
44985
  message: string;
42277
- is_device_error: true;
42278
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42279
- error_code: 'auxiliary_heat_running';
44986
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44987
+ warning_code: 'august_device_programming_delay';
42280
44988
  } | {
42281
44989
  message: string;
42282
- is_device_error: true;
42283
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42284
- error_code: 'subscription_required';
42285
- }) | {
42286
- message: string;
42287
- is_connected_account_error: true;
42288
- error_code: string;
42289
- }>;
42290
- /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
42291
- warnings: Array<{
44990
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44991
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
44992
+ } | {
42292
44993
  message: string;
42293
- warning_code: string;
44994
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44995
+ warning_code: 'management_transferred';
42294
44996
  }>;
42295
44997
  is_managed: false;
42296
44998
  /** Date and time at which the time-bound access code becomes active. */
@@ -49992,11 +52694,18 @@ interface Routes {
49992
52694
  errors: Array<{
49993
52695
  message: string;
49994
52696
  is_connected_account_error: true;
49995
- error_code: string;
52697
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52698
+ error_code: 'account_disconnected';
52699
+ } | {
52700
+ message: string;
52701
+ is_connected_account_error: true;
52702
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52703
+ error_code: 'invalid_credentials';
49996
52704
  }>;
49997
52705
  warnings: Array<{
49998
52706
  message: string;
49999
- warning_code: string;
52707
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52708
+ warning_code: 'scheduled_maintenance_window';
50000
52709
  } | {
50001
52710
  message: string;
50002
52711
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -50035,11 +52744,18 @@ interface Routes {
50035
52744
  errors: Array<{
50036
52745
  message: string;
50037
52746
  is_connected_account_error: true;
50038
- error_code: string;
52747
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52748
+ error_code: 'account_disconnected';
52749
+ } | {
52750
+ message: string;
52751
+ is_connected_account_error: true;
52752
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52753
+ error_code: 'invalid_credentials';
50039
52754
  }>;
50040
52755
  warnings: Array<{
50041
52756
  message: string;
50042
- warning_code: string;
52757
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52758
+ warning_code: 'scheduled_maintenance_window';
50043
52759
  } | {
50044
52760
  message: string;
50045
52761
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -50078,11 +52794,18 @@ interface Routes {
50078
52794
  errors: Array<{
50079
52795
  message: string;
50080
52796
  is_connected_account_error: true;
50081
- error_code: string;
52797
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52798
+ error_code: 'account_disconnected';
52799
+ } | {
52800
+ message: string;
52801
+ is_connected_account_error: true;
52802
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52803
+ error_code: 'invalid_credentials';
50082
52804
  }>;
50083
52805
  warnings: Array<{
50084
52806
  message: string;
50085
- warning_code: string;
52807
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52808
+ warning_code: 'scheduled_maintenance_window';
50086
52809
  } | {
50087
52810
  message: string;
50088
52811
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -50670,11 +53393,17 @@ interface Routes {
50670
53393
  is_device_error: true;
50671
53394
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50672
53395
  error_code: 'subscription_required';
50673
- }) | {
53396
+ }) | ({
50674
53397
  message: string;
50675
53398
  is_connected_account_error: true;
50676
- error_code: string;
50677
- }>;
53399
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53400
+ error_code: 'account_disconnected';
53401
+ } | {
53402
+ message: string;
53403
+ is_connected_account_error: true;
53404
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53405
+ error_code: 'invalid_credentials';
53406
+ })>;
50678
53407
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
50679
53408
  warnings: Array<{
50680
53409
  message: string;
@@ -51345,11 +54074,17 @@ interface Routes {
51345
54074
  is_device_error: true;
51346
54075
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
51347
54076
  error_code: 'subscription_required';
51348
- }) | {
54077
+ }) | ({
51349
54078
  message: string;
51350
54079
  is_connected_account_error: true;
51351
- error_code: string;
51352
- }>;
54080
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54081
+ error_code: 'account_disconnected';
54082
+ } | {
54083
+ message: string;
54084
+ is_connected_account_error: true;
54085
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54086
+ error_code: 'invalid_credentials';
54087
+ })>;
51353
54088
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
51354
54089
  warnings: Array<{
51355
54090
  message: string;
@@ -51589,11 +54324,17 @@ interface Routes {
51589
54324
  is_device_error: true;
51590
54325
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
51591
54326
  error_code: 'subscription_required';
51592
- }) | {
54327
+ }) | ({
51593
54328
  message: string;
51594
54329
  is_connected_account_error: true;
51595
- error_code: string;
51596
- }>;
54330
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54331
+ error_code: 'account_disconnected';
54332
+ } | {
54333
+ message: string;
54334
+ is_connected_account_error: true;
54335
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54336
+ error_code: 'invalid_credentials';
54337
+ })>;
51597
54338
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
51598
54339
  warnings: Array<{
51599
54340
  message: string;
@@ -51842,11 +54583,17 @@ interface Routes {
51842
54583
  is_device_error: true;
51843
54584
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
51844
54585
  error_code: 'subscription_required';
51845
- }) | {
54586
+ }) | ({
51846
54587
  message: string;
51847
54588
  is_connected_account_error: true;
51848
- error_code: string;
51849
- }>;
54589
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54590
+ error_code: 'account_disconnected';
54591
+ } | {
54592
+ message: string;
54593
+ is_connected_account_error: true;
54594
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54595
+ error_code: 'invalid_credentials';
54596
+ })>;
51850
54597
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
51851
54598
  warnings: Array<{
51852
54599
  message: string;
@@ -54946,11 +57693,17 @@ interface Routes {
54946
57693
  is_device_error: true;
54947
57694
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54948
57695
  error_code: 'subscription_required';
54949
- }) | {
57696
+ }) | ({
54950
57697
  message: string;
54951
57698
  is_connected_account_error: true;
54952
- error_code: string;
54953
- }>;
57699
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
57700
+ error_code: 'account_disconnected';
57701
+ } | {
57702
+ message: string;
57703
+ is_connected_account_error: true;
57704
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
57705
+ error_code: 'invalid_credentials';
57706
+ })>;
54954
57707
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
54955
57708
  warnings: Array<{
54956
57709
  message: string;
@@ -55585,11 +58338,17 @@ interface Routes {
55585
58338
  is_device_error: true;
55586
58339
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55587
58340
  error_code: 'subscription_required';
55588
- }) | {
58341
+ }) | ({
55589
58342
  message: string;
55590
58343
  is_connected_account_error: true;
55591
- error_code: string;
55592
- }>;
58344
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58345
+ error_code: 'account_disconnected';
58346
+ } | {
58347
+ message: string;
58348
+ is_connected_account_error: true;
58349
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58350
+ error_code: 'invalid_credentials';
58351
+ })>;
55593
58352
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
55594
58353
  warnings: Array<{
55595
58354
  message: string;
@@ -56260,11 +59019,17 @@ interface Routes {
56260
59019
  is_device_error: true;
56261
59020
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56262
59021
  error_code: 'subscription_required';
56263
- }) | {
59022
+ }) | ({
56264
59023
  message: string;
56265
59024
  is_connected_account_error: true;
56266
- error_code: string;
56267
- }>;
59025
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59026
+ error_code: 'account_disconnected';
59027
+ } | {
59028
+ message: string;
59029
+ is_connected_account_error: true;
59030
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59031
+ error_code: 'invalid_credentials';
59032
+ })>;
56268
59033
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
56269
59034
  warnings: Array<{
56270
59035
  message: string;
@@ -56898,11 +59663,17 @@ interface Routes {
56898
59663
  is_device_error: true;
56899
59664
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56900
59665
  error_code: 'subscription_required';
56901
- }) | {
59666
+ }) | ({
56902
59667
  message: string;
56903
59668
  is_connected_account_error: true;
56904
- error_code: string;
56905
- }>;
59669
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59670
+ error_code: 'account_disconnected';
59671
+ } | {
59672
+ message: string;
59673
+ is_connected_account_error: true;
59674
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59675
+ error_code: 'invalid_credentials';
59676
+ })>;
56906
59677
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
56907
59678
  warnings: Array<{
56908
59679
  message: string;
@@ -59276,11 +62047,17 @@ interface Routes {
59276
62047
  is_device_error: true;
59277
62048
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59278
62049
  error_code: 'subscription_required';
59279
- }) | {
62050
+ }) | ({
59280
62051
  message: string;
59281
62052
  is_connected_account_error: true;
59282
- error_code: string;
59283
- }>;
62053
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62054
+ error_code: 'account_disconnected';
62055
+ } | {
62056
+ message: string;
62057
+ is_connected_account_error: true;
62058
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62059
+ error_code: 'invalid_credentials';
62060
+ })>;
59284
62061
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
59285
62062
  warnings: Array<{
59286
62063
  message: string;
@@ -59914,11 +62691,17 @@ interface Routes {
59914
62691
  is_device_error: true;
59915
62692
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59916
62693
  error_code: 'subscription_required';
59917
- }) | {
62694
+ }) | ({
59918
62695
  message: string;
59919
62696
  is_connected_account_error: true;
59920
- error_code: string;
59921
- }>;
62697
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62698
+ error_code: 'account_disconnected';
62699
+ } | {
62700
+ message: string;
62701
+ is_connected_account_error: true;
62702
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62703
+ error_code: 'invalid_credentials';
62704
+ })>;
59922
62705
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
59923
62706
  warnings: Array<{
59924
62707
  message: string;
@@ -62695,11 +65478,17 @@ interface Routes {
62695
65478
  is_device_error: true;
62696
65479
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62697
65480
  error_code: 'subscription_required';
62698
- }) | {
65481
+ }) | ({
62699
65482
  message: string;
62700
65483
  is_connected_account_error: true;
62701
- error_code: string;
62702
- }>;
65484
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65485
+ error_code: 'account_disconnected';
65486
+ } | {
65487
+ message: string;
65488
+ is_connected_account_error: true;
65489
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65490
+ error_code: 'invalid_credentials';
65491
+ })>;
62703
65492
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
62704
65493
  warnings: Array<{
62705
65494
  message: string;
@@ -62901,11 +65690,17 @@ interface Routes {
62901
65690
  is_device_error: true;
62902
65691
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62903
65692
  error_code: 'subscription_required';
62904
- }) | {
65693
+ }) | ({
62905
65694
  message: string;
62906
65695
  is_connected_account_error: true;
62907
- error_code: string;
62908
- }>;
65696
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65697
+ error_code: 'account_disconnected';
65698
+ } | {
65699
+ message: string;
65700
+ is_connected_account_error: true;
65701
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65702
+ error_code: 'invalid_credentials';
65703
+ })>;
62909
65704
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
62910
65705
  warnings: Array<{
62911
65706
  message: string;
@@ -65276,11 +68071,17 @@ interface Routes {
65276
68071
  is_device_error: true;
65277
68072
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65278
68073
  error_code: 'subscription_required';
65279
- }) | {
68074
+ }) | ({
65280
68075
  message: string;
65281
68076
  is_connected_account_error: true;
65282
- error_code: string;
65283
- }>;
68077
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68078
+ error_code: 'account_disconnected';
68079
+ } | {
68080
+ message: string;
68081
+ is_connected_account_error: true;
68082
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68083
+ error_code: 'invalid_credentials';
68084
+ })>;
65284
68085
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
65285
68086
  warnings: Array<{
65286
68087
  message: string;
@@ -67635,11 +70436,17 @@ interface Routes {
67635
70436
  is_device_error: true;
67636
70437
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
67637
70438
  error_code: 'subscription_required';
67638
- }) | {
70439
+ }) | ({
67639
70440
  message: string;
67640
70441
  is_connected_account_error: true;
67641
- error_code: string;
67642
- }>;
70442
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
70443
+ error_code: 'account_disconnected';
70444
+ } | {
70445
+ message: string;
70446
+ is_connected_account_error: true;
70447
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
70448
+ error_code: 'invalid_credentials';
70449
+ })>;
67643
70450
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
67644
70451
  warnings: Array<{
67645
70452
  message: string;
@@ -68273,11 +71080,17 @@ interface Routes {
68273
71080
  is_device_error: true;
68274
71081
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68275
71082
  error_code: 'subscription_required';
68276
- }) | {
71083
+ }) | ({
68277
71084
  message: string;
68278
71085
  is_connected_account_error: true;
68279
- error_code: string;
68280
- }>;
71086
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71087
+ error_code: 'account_disconnected';
71088
+ } | {
71089
+ message: string;
71090
+ is_connected_account_error: true;
71091
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71092
+ error_code: 'invalid_credentials';
71093
+ })>;
68281
71094
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
68282
71095
  warnings: Array<{
68283
71096
  message: string;
@@ -71922,11 +74735,17 @@ interface Routes {
71922
74735
  is_device_error: true;
71923
74736
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71924
74737
  error_code: 'subscription_required';
71925
- }) | {
74738
+ }) | ({
71926
74739
  message: string;
71927
74740
  is_connected_account_error: true;
71928
- error_code: string;
71929
- }>;
74741
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
74742
+ error_code: 'account_disconnected';
74743
+ } | {
74744
+ message: string;
74745
+ is_connected_account_error: true;
74746
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
74747
+ error_code: 'invalid_credentials';
74748
+ })>;
71930
74749
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
71931
74750
  warnings: Array<{
71932
74751
  message: string;
@@ -72562,11 +75381,17 @@ interface Routes {
72562
75381
  is_device_error: true;
72563
75382
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72564
75383
  error_code: 'subscription_required';
72565
- }) | {
75384
+ }) | ({
72566
75385
  message: string;
72567
75386
  is_connected_account_error: true;
72568
- error_code: string;
72569
- }>;
75387
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
75388
+ error_code: 'account_disconnected';
75389
+ } | {
75390
+ message: string;
75391
+ is_connected_account_error: true;
75392
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
75393
+ error_code: 'invalid_credentials';
75394
+ })>;
72570
75395
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
72571
75396
  warnings: Array<{
72572
75397
  message: string;