@seamapi/types 1.909.0 → 1.910.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +143 -1152
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +0 -2497
- package/dist/index.cjs +143 -1152
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +97 -1168
- package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -229
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +0 -391
- package/lib/seam/connect/openapi.js +69 -907
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +0 -1474
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -276
- package/src/lib/seam/connect/openapi.ts +182 -1158
- package/src/lib/seam/connect/route-types.ts +0 -1650
|
@@ -108,64 +108,6 @@ const openapi = {
|
|
|
108
108
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
109
109
|
type: 'object',
|
|
110
110
|
},
|
|
111
|
-
{
|
|
112
|
-
deprecated: true,
|
|
113
|
-
description: 'Failed to set code on SmartThings device.',
|
|
114
|
-
properties: {
|
|
115
|
-
created_at: {
|
|
116
|
-
description: 'Date and time at which Seam created the error.',
|
|
117
|
-
format: 'date-time',
|
|
118
|
-
type: 'string',
|
|
119
|
-
},
|
|
120
|
-
error_code: {
|
|
121
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
122
|
-
enum: ['smartthings_failed_to_set_access_code'],
|
|
123
|
-
type: 'string',
|
|
124
|
-
},
|
|
125
|
-
is_access_code_error: {
|
|
126
|
-
description: 'Indicates that this is an access code error.',
|
|
127
|
-
enum: [true],
|
|
128
|
-
type: 'boolean',
|
|
129
|
-
},
|
|
130
|
-
message: {
|
|
131
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
132
|
-
type: 'string',
|
|
133
|
-
},
|
|
134
|
-
},
|
|
135
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
136
|
-
type: 'object',
|
|
137
|
-
'x-deprecated': 'Handled by the generic `failed_to_set_on_device` system.',
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
deprecated: true,
|
|
141
|
-
description: 'Failed to set code after multiple retries.',
|
|
142
|
-
properties: {
|
|
143
|
-
created_at: {
|
|
144
|
-
description: 'Date and time at which Seam created the error.',
|
|
145
|
-
format: 'date-time',
|
|
146
|
-
type: 'string',
|
|
147
|
-
},
|
|
148
|
-
error_code: {
|
|
149
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
150
|
-
enum: [
|
|
151
|
-
'smartthings_failed_to_set_after_multiple_retries',
|
|
152
|
-
],
|
|
153
|
-
type: 'string',
|
|
154
|
-
},
|
|
155
|
-
is_access_code_error: {
|
|
156
|
-
description: 'Indicates that this is an access code error.',
|
|
157
|
-
enum: [true],
|
|
158
|
-
type: 'boolean',
|
|
159
|
-
},
|
|
160
|
-
message: {
|
|
161
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
162
|
-
type: 'string',
|
|
163
|
-
},
|
|
164
|
-
},
|
|
165
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
166
|
-
type: 'object',
|
|
167
|
-
'x-deprecated': 'Handled by the generic `failed_to_set_on_device` system.',
|
|
168
|
-
},
|
|
169
111
|
{
|
|
170
112
|
description: 'Failed to set code on device.',
|
|
171
113
|
properties: {
|
|
@@ -332,62 +274,6 @@ const openapi = {
|
|
|
332
274
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
333
275
|
type: 'object',
|
|
334
276
|
},
|
|
335
|
-
{
|
|
336
|
-
deprecated: true,
|
|
337
|
-
description: 'Unable to confirm that the access code is set on Kwikset device.',
|
|
338
|
-
properties: {
|
|
339
|
-
created_at: {
|
|
340
|
-
description: 'Date and time at which Seam created the error.',
|
|
341
|
-
format: 'date-time',
|
|
342
|
-
type: 'string',
|
|
343
|
-
},
|
|
344
|
-
error_code: {
|
|
345
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
346
|
-
enum: ['kwikset_unable_to_confirm_code'],
|
|
347
|
-
type: 'string',
|
|
348
|
-
},
|
|
349
|
-
is_access_code_error: {
|
|
350
|
-
description: 'Indicates that this is an access code error.',
|
|
351
|
-
enum: [true],
|
|
352
|
-
type: 'boolean',
|
|
353
|
-
},
|
|
354
|
-
message: {
|
|
355
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
356
|
-
type: 'string',
|
|
357
|
-
},
|
|
358
|
-
},
|
|
359
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
360
|
-
type: 'object',
|
|
361
|
-
'x-deprecated': 'Use `access_code_state_unconfirmed` instead.',
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
deprecated: true,
|
|
365
|
-
description: 'Unable to confirm the deletion of the access code on Kwikset device.',
|
|
366
|
-
properties: {
|
|
367
|
-
created_at: {
|
|
368
|
-
description: 'Date and time at which Seam created the error.',
|
|
369
|
-
format: 'date-time',
|
|
370
|
-
type: 'string',
|
|
371
|
-
},
|
|
372
|
-
error_code: {
|
|
373
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
374
|
-
enum: ['kwikset_unable_to_confirm_deletion'],
|
|
375
|
-
type: 'string',
|
|
376
|
-
},
|
|
377
|
-
is_access_code_error: {
|
|
378
|
-
description: 'Indicates that this is an access code error.',
|
|
379
|
-
enum: [true],
|
|
380
|
-
type: 'boolean',
|
|
381
|
-
},
|
|
382
|
-
message: {
|
|
383
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
384
|
-
type: 'string',
|
|
385
|
-
},
|
|
386
|
-
},
|
|
387
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
388
|
-
type: 'object',
|
|
389
|
-
'x-deprecated': 'Use `access_code_state_unconfirmed` instead.',
|
|
390
|
-
},
|
|
391
277
|
{
|
|
392
278
|
description: 'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
393
279
|
properties: {
|
|
@@ -443,90 +329,6 @@ const openapi = {
|
|
|
443
329
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
444
330
|
type: 'object',
|
|
445
331
|
},
|
|
446
|
-
{
|
|
447
|
-
deprecated: true,
|
|
448
|
-
description: 'Invalid code length for August lock.',
|
|
449
|
-
properties: {
|
|
450
|
-
created_at: {
|
|
451
|
-
description: 'Date and time at which Seam created the error.',
|
|
452
|
-
format: 'date-time',
|
|
453
|
-
type: 'string',
|
|
454
|
-
},
|
|
455
|
-
error_code: {
|
|
456
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
457
|
-
enum: ['august_lock_invalid_code_length'],
|
|
458
|
-
type: 'string',
|
|
459
|
-
},
|
|
460
|
-
is_access_code_error: {
|
|
461
|
-
description: 'Indicates that this is an access code error.',
|
|
462
|
-
enum: [true],
|
|
463
|
-
type: 'boolean',
|
|
464
|
-
},
|
|
465
|
-
message: {
|
|
466
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
467
|
-
type: 'string',
|
|
468
|
-
},
|
|
469
|
-
},
|
|
470
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
471
|
-
type: 'object',
|
|
472
|
-
'x-deprecated': 'Use `provider_issue` instead.',
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
deprecated: true,
|
|
476
|
-
description: 'August lock is missing a keypad.',
|
|
477
|
-
properties: {
|
|
478
|
-
created_at: {
|
|
479
|
-
description: 'Date and time at which Seam created the error.',
|
|
480
|
-
format: 'date-time',
|
|
481
|
-
type: 'string',
|
|
482
|
-
},
|
|
483
|
-
error_code: {
|
|
484
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
485
|
-
enum: ['august_lock_missing_keypad'],
|
|
486
|
-
type: 'string',
|
|
487
|
-
},
|
|
488
|
-
is_access_code_error: {
|
|
489
|
-
description: 'Indicates that this is an access code error.',
|
|
490
|
-
enum: [true],
|
|
491
|
-
type: 'boolean',
|
|
492
|
-
},
|
|
493
|
-
message: {
|
|
494
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
495
|
-
type: 'string',
|
|
496
|
-
},
|
|
497
|
-
},
|
|
498
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
499
|
-
type: 'object',
|
|
500
|
-
'x-deprecated': 'Use `provider_issue` instead.',
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
deprecated: true,
|
|
504
|
-
description: 'August lock is temporarily offline.',
|
|
505
|
-
properties: {
|
|
506
|
-
created_at: {
|
|
507
|
-
description: 'Date and time at which Seam created the error.',
|
|
508
|
-
format: 'date-time',
|
|
509
|
-
type: 'string',
|
|
510
|
-
},
|
|
511
|
-
error_code: {
|
|
512
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
513
|
-
enum: ['august_lock_temporarily_offline'],
|
|
514
|
-
type: 'string',
|
|
515
|
-
},
|
|
516
|
-
is_access_code_error: {
|
|
517
|
-
description: 'Indicates that this is an access code error.',
|
|
518
|
-
enum: [true],
|
|
519
|
-
type: 'boolean',
|
|
520
|
-
},
|
|
521
|
-
message: {
|
|
522
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
523
|
-
type: 'string',
|
|
524
|
-
},
|
|
525
|
-
},
|
|
526
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
527
|
-
type: 'object',
|
|
528
|
-
'x-deprecated': 'Use `provider_issue` instead.',
|
|
529
|
-
},
|
|
530
332
|
{
|
|
531
333
|
description: 'Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.',
|
|
532
334
|
properties: {
|
|
@@ -581,90 +383,6 @@ const openapi = {
|
|
|
581
383
|
type: 'object',
|
|
582
384
|
'x-deprecated': 'Use `access_code_inactive` instead.',
|
|
583
385
|
},
|
|
584
|
-
{
|
|
585
|
-
deprecated: true,
|
|
586
|
-
description: 'Duplicate access code name detected.',
|
|
587
|
-
properties: {
|
|
588
|
-
created_at: {
|
|
589
|
-
description: 'Date and time at which Seam created the error.',
|
|
590
|
-
format: 'date-time',
|
|
591
|
-
type: 'string',
|
|
592
|
-
},
|
|
593
|
-
error_code: {
|
|
594
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
595
|
-
enum: ['wyze_duplicate_code_name'],
|
|
596
|
-
type: 'string',
|
|
597
|
-
},
|
|
598
|
-
is_access_code_error: {
|
|
599
|
-
description: 'Indicates that this is an access code error.',
|
|
600
|
-
enum: [true],
|
|
601
|
-
type: 'boolean',
|
|
602
|
-
},
|
|
603
|
-
message: {
|
|
604
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
605
|
-
type: 'string',
|
|
606
|
-
},
|
|
607
|
-
},
|
|
608
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
609
|
-
type: 'object',
|
|
610
|
-
'x-deprecated': 'Use `duplicate_code_on_device` instead.',
|
|
611
|
-
},
|
|
612
|
-
{
|
|
613
|
-
deprecated: true,
|
|
614
|
-
description: 'Potential duplicate access code detected.',
|
|
615
|
-
properties: {
|
|
616
|
-
created_at: {
|
|
617
|
-
description: 'Date and time at which Seam created the error.',
|
|
618
|
-
format: 'date-time',
|
|
619
|
-
type: 'string',
|
|
620
|
-
},
|
|
621
|
-
error_code: {
|
|
622
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
623
|
-
enum: ['wyze_potential_duplicate_code'],
|
|
624
|
-
type: 'string',
|
|
625
|
-
},
|
|
626
|
-
is_access_code_error: {
|
|
627
|
-
description: 'Indicates that this is an access code error.',
|
|
628
|
-
enum: [true],
|
|
629
|
-
type: 'boolean',
|
|
630
|
-
},
|
|
631
|
-
message: {
|
|
632
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
633
|
-
type: 'string',
|
|
634
|
-
},
|
|
635
|
-
},
|
|
636
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
637
|
-
type: 'object',
|
|
638
|
-
'x-deprecated': 'Use `duplicate_code_on_device` instead.',
|
|
639
|
-
},
|
|
640
|
-
{
|
|
641
|
-
deprecated: true,
|
|
642
|
-
description: 'No Dormakaba Oracode user levels configured for the requested time range.',
|
|
643
|
-
properties: {
|
|
644
|
-
created_at: {
|
|
645
|
-
description: 'Date and time at which Seam created the error.',
|
|
646
|
-
format: 'date-time',
|
|
647
|
-
type: 'string',
|
|
648
|
-
},
|
|
649
|
-
error_code: {
|
|
650
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
651
|
-
enum: ['dormakaba_oracode_invalid_time_range'],
|
|
652
|
-
type: 'string',
|
|
653
|
-
},
|
|
654
|
-
is_access_code_error: {
|
|
655
|
-
description: 'Indicates that this is an access code error.',
|
|
656
|
-
enum: [true],
|
|
657
|
-
type: 'boolean',
|
|
658
|
-
},
|
|
659
|
-
message: {
|
|
660
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
661
|
-
type: 'string',
|
|
662
|
-
},
|
|
663
|
-
},
|
|
664
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
665
|
-
type: 'object',
|
|
666
|
-
'x-deprecated': 'Use `provider_issue` instead.',
|
|
667
|
-
},
|
|
668
386
|
{
|
|
669
387
|
description: 'Admin role required—insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.',
|
|
670
388
|
properties: {
|
|
@@ -691,34 +409,6 @@ const openapi = {
|
|
|
691
409
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
692
410
|
type: 'object',
|
|
693
411
|
},
|
|
694
|
-
{
|
|
695
|
-
deprecated: true,
|
|
696
|
-
description: 'KeyNest locker is not supported.',
|
|
697
|
-
properties: {
|
|
698
|
-
created_at: {
|
|
699
|
-
description: 'Date and time at which Seam created the error.',
|
|
700
|
-
format: 'date-time',
|
|
701
|
-
type: 'string',
|
|
702
|
-
},
|
|
703
|
-
error_code: {
|
|
704
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
705
|
-
enum: ['keynest_unsupported_third_party_locker'],
|
|
706
|
-
type: 'string',
|
|
707
|
-
},
|
|
708
|
-
is_access_code_error: {
|
|
709
|
-
description: 'Indicates that this is an access code error.',
|
|
710
|
-
enum: [true],
|
|
711
|
-
type: 'boolean',
|
|
712
|
-
},
|
|
713
|
-
message: {
|
|
714
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
715
|
-
type: 'string',
|
|
716
|
-
},
|
|
717
|
-
},
|
|
718
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
719
|
-
type: 'object',
|
|
720
|
-
'x-deprecated': 'Use `provider_issue` instead.',
|
|
721
|
-
},
|
|
722
412
|
{
|
|
723
413
|
description: 'This access code was overridden on the device by a newer access code programmed to the same slot.',
|
|
724
414
|
properties: {
|
|
@@ -1611,27 +1301,6 @@ const openapi = {
|
|
|
1611
1301
|
required: ['message', 'warning_code'],
|
|
1612
1302
|
type: 'object',
|
|
1613
1303
|
},
|
|
1614
|
-
{
|
|
1615
|
-
description: 'Failed to set code on SmartThings device.',
|
|
1616
|
-
properties: {
|
|
1617
|
-
created_at: {
|
|
1618
|
-
description: 'Date and time at which Seam created the warning.',
|
|
1619
|
-
format: 'date-time',
|
|
1620
|
-
type: 'string',
|
|
1621
|
-
},
|
|
1622
|
-
message: {
|
|
1623
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
1624
|
-
type: 'string',
|
|
1625
|
-
},
|
|
1626
|
-
warning_code: {
|
|
1627
|
-
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
1628
|
-
enum: ['smartthings_failed_to_set_access_code'],
|
|
1629
|
-
type: 'string',
|
|
1630
|
-
},
|
|
1631
|
-
},
|
|
1632
|
-
required: ['message', 'warning_code'],
|
|
1633
|
-
type: 'object',
|
|
1634
|
-
},
|
|
1635
1304
|
{
|
|
1636
1305
|
deprecated: true,
|
|
1637
1306
|
description: 'Duplicate access code detected.',
|
|
@@ -1655,29 +1324,6 @@ const openapi = {
|
|
|
1655
1324
|
type: 'object',
|
|
1656
1325
|
'x-deprecated': 'Use `duplicate_code_on_device` error instead.',
|
|
1657
1326
|
},
|
|
1658
|
-
{
|
|
1659
|
-
deprecated: true,
|
|
1660
|
-
description: 'Received an error when attempting to create this code.',
|
|
1661
|
-
properties: {
|
|
1662
|
-
created_at: {
|
|
1663
|
-
description: 'Date and time at which Seam created the warning.',
|
|
1664
|
-
format: 'date-time',
|
|
1665
|
-
type: 'string',
|
|
1666
|
-
},
|
|
1667
|
-
message: {
|
|
1668
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
1669
|
-
type: 'string',
|
|
1670
|
-
},
|
|
1671
|
-
warning_code: {
|
|
1672
|
-
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
1673
|
-
enum: ['schlage_creation_outage'],
|
|
1674
|
-
type: 'string',
|
|
1675
|
-
},
|
|
1676
|
-
},
|
|
1677
|
-
required: ['message', 'warning_code'],
|
|
1678
|
-
type: 'object',
|
|
1679
|
-
'x-deprecated': 'Use `provider_issue` instead.',
|
|
1680
|
-
},
|
|
1681
1327
|
{
|
|
1682
1328
|
description: "The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift — the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling.",
|
|
1683
1329
|
properties: {
|
|
@@ -1812,27 +1458,6 @@ const openapi = {
|
|
|
1812
1458
|
required: ['message', 'warning_code'],
|
|
1813
1459
|
type: 'object',
|
|
1814
1460
|
},
|
|
1815
|
-
{
|
|
1816
|
-
description: 'August lock is temporarily offline.',
|
|
1817
|
-
properties: {
|
|
1818
|
-
created_at: {
|
|
1819
|
-
description: 'Date and time at which Seam created the warning.',
|
|
1820
|
-
format: 'date-time',
|
|
1821
|
-
type: 'string',
|
|
1822
|
-
},
|
|
1823
|
-
message: {
|
|
1824
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
1825
|
-
type: 'string',
|
|
1826
|
-
},
|
|
1827
|
-
warning_code: {
|
|
1828
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
1829
|
-
enum: ['august_lock_temporarily_offline'],
|
|
1830
|
-
type: 'string',
|
|
1831
|
-
},
|
|
1832
|
-
},
|
|
1833
|
-
required: ['message', 'warning_code'],
|
|
1834
|
-
type: 'object',
|
|
1835
|
-
},
|
|
1836
1461
|
{
|
|
1837
1462
|
description: 'Algopins must be used within 24 hours.',
|
|
1838
1463
|
properties: {
|
|
@@ -1876,50 +1501,7 @@ const openapi = {
|
|
|
1876
1501
|
type: 'object',
|
|
1877
1502
|
},
|
|
1878
1503
|
{
|
|
1879
|
-
description: '
|
|
1880
|
-
properties: {
|
|
1881
|
-
created_at: {
|
|
1882
|
-
description: 'Date and time at which Seam created the warning.',
|
|
1883
|
-
format: 'date-time',
|
|
1884
|
-
type: 'string',
|
|
1885
|
-
},
|
|
1886
|
-
message: {
|
|
1887
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
1888
|
-
type: 'string',
|
|
1889
|
-
},
|
|
1890
|
-
warning_code: {
|
|
1891
|
-
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
1892
|
-
enum: ['kwikset_unable_to_confirm_code'],
|
|
1893
|
-
type: 'string',
|
|
1894
|
-
},
|
|
1895
|
-
},
|
|
1896
|
-
required: ['message', 'warning_code'],
|
|
1897
|
-
type: 'object',
|
|
1898
|
-
},
|
|
1899
|
-
{
|
|
1900
|
-
description: 'Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.',
|
|
1901
|
-
properties: {
|
|
1902
|
-
created_at: {
|
|
1903
|
-
description: 'Date and time at which Seam created the warning.',
|
|
1904
|
-
format: 'date-time',
|
|
1905
|
-
type: 'string',
|
|
1906
|
-
},
|
|
1907
|
-
message: {
|
|
1908
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
1909
|
-
type: 'string',
|
|
1910
|
-
},
|
|
1911
|
-
warning_code: {
|
|
1912
|
-
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
1913
|
-
enum: ['access_code_inactive'],
|
|
1914
|
-
type: 'string',
|
|
1915
|
-
},
|
|
1916
|
-
},
|
|
1917
|
-
required: ['message', 'warning_code'],
|
|
1918
|
-
type: 'object',
|
|
1919
|
-
},
|
|
1920
|
-
{
|
|
1921
|
-
deprecated: true,
|
|
1922
|
-
description: 'Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app.',
|
|
1504
|
+
description: 'Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.',
|
|
1923
1505
|
properties: {
|
|
1924
1506
|
created_at: {
|
|
1925
1507
|
description: 'Date and time at which Seam created the warning.',
|
|
@@ -1932,13 +1514,12 @@ const openapi = {
|
|
|
1932
1514
|
},
|
|
1933
1515
|
warning_code: {
|
|
1934
1516
|
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
1935
|
-
enum: ['
|
|
1517
|
+
enum: ['access_code_inactive'],
|
|
1936
1518
|
type: 'string',
|
|
1937
1519
|
},
|
|
1938
1520
|
},
|
|
1939
1521
|
required: ['message', 'warning_code'],
|
|
1940
1522
|
type: 'object',
|
|
1941
|
-
'x-deprecated': 'Use `access_code_inactive` instead.',
|
|
1942
1523
|
},
|
|
1943
1524
|
{
|
|
1944
1525
|
description: 'A backup access code has been pulled and is being used in place of this access code.',
|
|
@@ -25529,268 +25110,17 @@ const openapi = {
|
|
|
25529
25110
|
},
|
|
25530
25111
|
ends_at: {
|
|
25531
25112
|
description: 'Date and time after which the time-bound access code becomes inactive.',
|
|
25532
|
-
format: 'date-time',
|
|
25533
|
-
nullable: true,
|
|
25534
|
-
type: 'string',
|
|
25535
|
-
},
|
|
25536
|
-
errors: {
|
|
25537
|
-
description: 'Errors associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).',
|
|
25538
|
-
items: {
|
|
25539
|
-
discriminator: { propertyName: 'error_code' },
|
|
25540
|
-
oneOf: [
|
|
25541
|
-
{
|
|
25542
|
-
description: 'Indicates a provider-specific issue that prevents the access code from being set or managed. Check the error message for details.',
|
|
25543
|
-
properties: {
|
|
25544
|
-
created_at: {
|
|
25545
|
-
description: 'Date and time at which Seam created the error.',
|
|
25546
|
-
format: 'date-time',
|
|
25547
|
-
type: 'string',
|
|
25548
|
-
},
|
|
25549
|
-
error_code: {
|
|
25550
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25551
|
-
enum: ['provider_issue'],
|
|
25552
|
-
type: 'string',
|
|
25553
|
-
},
|
|
25554
|
-
is_access_code_error: {
|
|
25555
|
-
description: 'Indicates that this is an access code error.',
|
|
25556
|
-
enum: [true],
|
|
25557
|
-
type: 'boolean',
|
|
25558
|
-
},
|
|
25559
|
-
message: {
|
|
25560
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
25561
|
-
type: 'string',
|
|
25562
|
-
},
|
|
25563
|
-
},
|
|
25564
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
25565
|
-
type: 'object',
|
|
25566
|
-
},
|
|
25567
|
-
{
|
|
25568
|
-
deprecated: true,
|
|
25569
|
-
description: 'Failed to set code on SmartThings device.',
|
|
25570
|
-
properties: {
|
|
25571
|
-
created_at: {
|
|
25572
|
-
description: 'Date and time at which Seam created the error.',
|
|
25573
|
-
format: 'date-time',
|
|
25574
|
-
type: 'string',
|
|
25575
|
-
},
|
|
25576
|
-
error_code: {
|
|
25577
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25578
|
-
enum: ['smartthings_failed_to_set_access_code'],
|
|
25579
|
-
type: 'string',
|
|
25580
|
-
},
|
|
25581
|
-
is_access_code_error: {
|
|
25582
|
-
description: 'Indicates that this is an access code error.',
|
|
25583
|
-
enum: [true],
|
|
25584
|
-
type: 'boolean',
|
|
25585
|
-
},
|
|
25586
|
-
message: {
|
|
25587
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
25588
|
-
type: 'string',
|
|
25589
|
-
},
|
|
25590
|
-
},
|
|
25591
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
25592
|
-
type: 'object',
|
|
25593
|
-
'x-deprecated': 'Handled by the generic `failed_to_set_on_device` system.',
|
|
25594
|
-
},
|
|
25595
|
-
{
|
|
25596
|
-
deprecated: true,
|
|
25597
|
-
description: 'Failed to set code after multiple retries.',
|
|
25598
|
-
properties: {
|
|
25599
|
-
created_at: {
|
|
25600
|
-
description: 'Date and time at which Seam created the error.',
|
|
25601
|
-
format: 'date-time',
|
|
25602
|
-
type: 'string',
|
|
25603
|
-
},
|
|
25604
|
-
error_code: {
|
|
25605
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25606
|
-
enum: [
|
|
25607
|
-
'smartthings_failed_to_set_after_multiple_retries',
|
|
25608
|
-
],
|
|
25609
|
-
type: 'string',
|
|
25610
|
-
},
|
|
25611
|
-
is_access_code_error: {
|
|
25612
|
-
description: 'Indicates that this is an access code error.',
|
|
25613
|
-
enum: [true],
|
|
25614
|
-
type: 'boolean',
|
|
25615
|
-
},
|
|
25616
|
-
message: {
|
|
25617
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
25618
|
-
type: 'string',
|
|
25619
|
-
},
|
|
25620
|
-
},
|
|
25621
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
25622
|
-
type: 'object',
|
|
25623
|
-
'x-deprecated': 'Handled by the generic `failed_to_set_on_device` system.',
|
|
25624
|
-
},
|
|
25625
|
-
{
|
|
25626
|
-
description: 'Failed to set code on device.',
|
|
25627
|
-
properties: {
|
|
25628
|
-
created_at: {
|
|
25629
|
-
description: 'Date and time at which Seam created the error.',
|
|
25630
|
-
format: 'date-time',
|
|
25631
|
-
type: 'string',
|
|
25632
|
-
},
|
|
25633
|
-
error_code: {
|
|
25634
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25635
|
-
enum: ['failed_to_set_on_device'],
|
|
25636
|
-
type: 'string',
|
|
25637
|
-
},
|
|
25638
|
-
is_access_code_error: {
|
|
25639
|
-
description: 'Indicates that this is an access code error.',
|
|
25640
|
-
enum: [true],
|
|
25641
|
-
type: 'boolean',
|
|
25642
|
-
},
|
|
25643
|
-
message: {
|
|
25644
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
25645
|
-
type: 'string',
|
|
25646
|
-
},
|
|
25647
|
-
},
|
|
25648
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
25649
|
-
type: 'object',
|
|
25650
|
-
},
|
|
25651
|
-
{
|
|
25652
|
-
description: 'Failed to remove code from device.',
|
|
25653
|
-
properties: {
|
|
25654
|
-
created_at: {
|
|
25655
|
-
description: 'Date and time at which Seam created the error.',
|
|
25656
|
-
format: 'date-time',
|
|
25657
|
-
type: 'string',
|
|
25658
|
-
},
|
|
25659
|
-
error_code: {
|
|
25660
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25661
|
-
enum: ['failed_to_remove_from_device'],
|
|
25662
|
-
type: 'string',
|
|
25663
|
-
},
|
|
25664
|
-
is_access_code_error: {
|
|
25665
|
-
description: 'Indicates that this is an access code error.',
|
|
25666
|
-
enum: [true],
|
|
25667
|
-
type: 'boolean',
|
|
25668
|
-
},
|
|
25669
|
-
message: {
|
|
25670
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
25671
|
-
type: 'string',
|
|
25672
|
-
},
|
|
25673
|
-
},
|
|
25674
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
25675
|
-
type: 'object',
|
|
25676
|
-
},
|
|
25677
|
-
{
|
|
25678
|
-
description: 'Duplicate access code detected on device.',
|
|
25679
|
-
properties: {
|
|
25680
|
-
created_at: {
|
|
25681
|
-
description: 'Date and time at which Seam created the error.',
|
|
25682
|
-
format: 'date-time',
|
|
25683
|
-
type: 'string',
|
|
25684
|
-
},
|
|
25685
|
-
error_code: {
|
|
25686
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25687
|
-
enum: ['duplicate_code_on_device'],
|
|
25688
|
-
type: 'string',
|
|
25689
|
-
},
|
|
25690
|
-
is_access_code_error: {
|
|
25691
|
-
description: 'Indicates that this is an access code error.',
|
|
25692
|
-
enum: [true],
|
|
25693
|
-
type: 'boolean',
|
|
25694
|
-
},
|
|
25695
|
-
managed_access_code_id: {
|
|
25696
|
-
description: 'ID of the managed access code that conflicts with this managed access code, when Seam can identify it.',
|
|
25697
|
-
format: 'uuid',
|
|
25698
|
-
type: 'string',
|
|
25699
|
-
},
|
|
25700
|
-
message: {
|
|
25701
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
25702
|
-
type: 'string',
|
|
25703
|
-
},
|
|
25704
|
-
unmanaged_access_code_id: {
|
|
25705
|
-
description: 'ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.',
|
|
25706
|
-
format: 'uuid',
|
|
25707
|
-
type: 'string',
|
|
25708
|
-
},
|
|
25709
|
-
},
|
|
25710
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
25711
|
-
type: 'object',
|
|
25712
|
-
},
|
|
25713
|
-
{
|
|
25714
|
-
description: 'An attempt to modify this access code was prevented.',
|
|
25715
|
-
properties: {
|
|
25716
|
-
created_at: {
|
|
25717
|
-
description: 'Date and time at which Seam created the error.',
|
|
25718
|
-
format: 'date-time',
|
|
25719
|
-
type: 'string',
|
|
25720
|
-
},
|
|
25721
|
-
error_code: {
|
|
25722
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25723
|
-
enum: ['duplicate_code_attempt_prevented'],
|
|
25724
|
-
type: 'string',
|
|
25725
|
-
},
|
|
25726
|
-
is_access_code_error: {
|
|
25727
|
-
description: 'Indicates that this is an access code error.',
|
|
25728
|
-
enum: [true],
|
|
25729
|
-
type: 'boolean',
|
|
25730
|
-
},
|
|
25731
|
-
message: {
|
|
25732
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
25733
|
-
type: 'string',
|
|
25734
|
-
},
|
|
25735
|
-
},
|
|
25736
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
25737
|
-
type: 'object',
|
|
25738
|
-
},
|
|
25739
|
-
{
|
|
25740
|
-
description: 'No space for access code on device.',
|
|
25741
|
-
properties: {
|
|
25742
|
-
created_at: {
|
|
25743
|
-
description: 'Date and time at which Seam created the error.',
|
|
25744
|
-
format: 'date-time',
|
|
25745
|
-
type: 'string',
|
|
25746
|
-
},
|
|
25747
|
-
error_code: {
|
|
25748
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25749
|
-
enum: ['no_space_for_access_code_on_device'],
|
|
25750
|
-
type: 'string',
|
|
25751
|
-
},
|
|
25752
|
-
is_access_code_error: {
|
|
25753
|
-
description: 'Indicates that this is an access code error.',
|
|
25754
|
-
enum: [true],
|
|
25755
|
-
type: 'boolean',
|
|
25756
|
-
},
|
|
25757
|
-
message: {
|
|
25758
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
25759
|
-
type: 'string',
|
|
25760
|
-
},
|
|
25761
|
-
},
|
|
25762
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
25763
|
-
type: 'object',
|
|
25764
|
-
},
|
|
25765
|
-
{
|
|
25766
|
-
description: 'Indicates that the provider cannot confirm whether the access code was set or removed on the device.',
|
|
25767
|
-
properties: {
|
|
25768
|
-
created_at: {
|
|
25769
|
-
description: 'Date and time at which Seam created the error.',
|
|
25770
|
-
format: 'date-time',
|
|
25771
|
-
type: 'string',
|
|
25772
|
-
},
|
|
25773
|
-
error_code: {
|
|
25774
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25775
|
-
enum: ['access_code_state_unconfirmed'],
|
|
25776
|
-
type: 'string',
|
|
25777
|
-
},
|
|
25778
|
-
is_access_code_error: {
|
|
25779
|
-
description: 'Indicates that this is an access code error.',
|
|
25780
|
-
enum: [true],
|
|
25781
|
-
type: 'boolean',
|
|
25782
|
-
},
|
|
25783
|
-
message: {
|
|
25784
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
25785
|
-
type: 'string',
|
|
25786
|
-
},
|
|
25787
|
-
},
|
|
25788
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
25789
|
-
type: 'object',
|
|
25790
|
-
},
|
|
25113
|
+
format: 'date-time',
|
|
25114
|
+
nullable: true,
|
|
25115
|
+
type: 'string',
|
|
25116
|
+
},
|
|
25117
|
+
errors: {
|
|
25118
|
+
description: 'Errors associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).',
|
|
25119
|
+
items: {
|
|
25120
|
+
discriminator: { propertyName: 'error_code' },
|
|
25121
|
+
oneOf: [
|
|
25791
25122
|
{
|
|
25792
|
-
|
|
25793
|
-
description: 'Unable to confirm that the access code is set on Kwikset device.',
|
|
25123
|
+
description: 'Indicates a provider-specific issue that prevents the access code from being set or managed. Check the error message for details.',
|
|
25794
25124
|
properties: {
|
|
25795
25125
|
created_at: {
|
|
25796
25126
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -25799,7 +25129,7 @@ const openapi = {
|
|
|
25799
25129
|
},
|
|
25800
25130
|
error_code: {
|
|
25801
25131
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25802
|
-
enum: ['
|
|
25132
|
+
enum: ['provider_issue'],
|
|
25803
25133
|
type: 'string',
|
|
25804
25134
|
},
|
|
25805
25135
|
is_access_code_error: {
|
|
@@ -25814,11 +25144,9 @@ const openapi = {
|
|
|
25814
25144
|
},
|
|
25815
25145
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
25816
25146
|
type: 'object',
|
|
25817
|
-
'x-deprecated': 'Use `access_code_state_unconfirmed` instead.',
|
|
25818
25147
|
},
|
|
25819
25148
|
{
|
|
25820
|
-
|
|
25821
|
-
description: 'Unable to confirm the deletion of the access code on Kwikset device.',
|
|
25149
|
+
description: 'Failed to set code on device.',
|
|
25822
25150
|
properties: {
|
|
25823
25151
|
created_at: {
|
|
25824
25152
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -25827,7 +25155,7 @@ const openapi = {
|
|
|
25827
25155
|
},
|
|
25828
25156
|
error_code: {
|
|
25829
25157
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25830
|
-
enum: ['
|
|
25158
|
+
enum: ['failed_to_set_on_device'],
|
|
25831
25159
|
type: 'string',
|
|
25832
25160
|
},
|
|
25833
25161
|
is_access_code_error: {
|
|
@@ -25842,16 +25170,10 @@ const openapi = {
|
|
|
25842
25170
|
},
|
|
25843
25171
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
25844
25172
|
type: 'object',
|
|
25845
|
-
'x-deprecated': 'Use `access_code_state_unconfirmed` instead.',
|
|
25846
25173
|
},
|
|
25847
25174
|
{
|
|
25848
|
-
description: '
|
|
25175
|
+
description: 'Failed to remove code from device.',
|
|
25849
25176
|
properties: {
|
|
25850
|
-
change_type: {
|
|
25851
|
-
description: "Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device.",
|
|
25852
|
-
enum: ['modified', 'removed'],
|
|
25853
|
-
type: 'string',
|
|
25854
|
-
},
|
|
25855
25177
|
created_at: {
|
|
25856
25178
|
description: 'Date and time at which Seam created the error.',
|
|
25857
25179
|
format: 'date-time',
|
|
@@ -25859,7 +25181,7 @@ const openapi = {
|
|
|
25859
25181
|
},
|
|
25860
25182
|
error_code: {
|
|
25861
25183
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25862
|
-
enum: ['
|
|
25184
|
+
enum: ['failed_to_remove_from_device'],
|
|
25863
25185
|
type: 'string',
|
|
25864
25186
|
},
|
|
25865
25187
|
is_access_code_error: {
|
|
@@ -25871,37 +25193,12 @@ const openapi = {
|
|
|
25871
25193
|
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
25872
25194
|
type: 'string',
|
|
25873
25195
|
},
|
|
25874
|
-
modified_fields: {
|
|
25875
|
-
description: 'List of fields that were changed externally, with their previous and new values.',
|
|
25876
|
-
items: {
|
|
25877
|
-
properties: {
|
|
25878
|
-
field: {
|
|
25879
|
-
description: 'The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`).',
|
|
25880
|
-
type: 'string',
|
|
25881
|
-
},
|
|
25882
|
-
from: {
|
|
25883
|
-
description: 'The previous value of the field.',
|
|
25884
|
-
nullable: true,
|
|
25885
|
-
type: 'string',
|
|
25886
|
-
},
|
|
25887
|
-
to: {
|
|
25888
|
-
description: 'The new value of the field.',
|
|
25889
|
-
nullable: true,
|
|
25890
|
-
type: 'string',
|
|
25891
|
-
},
|
|
25892
|
-
},
|
|
25893
|
-
required: ['field', 'from', 'to'],
|
|
25894
|
-
type: 'object',
|
|
25895
|
-
},
|
|
25896
|
-
type: 'array',
|
|
25897
|
-
},
|
|
25898
25196
|
},
|
|
25899
25197
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
25900
25198
|
type: 'object',
|
|
25901
25199
|
},
|
|
25902
25200
|
{
|
|
25903
|
-
|
|
25904
|
-
description: 'Invalid code length for August lock.',
|
|
25201
|
+
description: 'Duplicate access code detected on device.',
|
|
25905
25202
|
properties: {
|
|
25906
25203
|
created_at: {
|
|
25907
25204
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -25910,7 +25207,7 @@ const openapi = {
|
|
|
25910
25207
|
},
|
|
25911
25208
|
error_code: {
|
|
25912
25209
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25913
|
-
enum: ['
|
|
25210
|
+
enum: ['duplicate_code_on_device'],
|
|
25914
25211
|
type: 'string',
|
|
25915
25212
|
},
|
|
25916
25213
|
is_access_code_error: {
|
|
@@ -25918,46 +25215,26 @@ const openapi = {
|
|
|
25918
25215
|
enum: [true],
|
|
25919
25216
|
type: 'boolean',
|
|
25920
25217
|
},
|
|
25921
|
-
|
|
25922
|
-
description: '
|
|
25923
|
-
|
|
25924
|
-
},
|
|
25925
|
-
},
|
|
25926
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
25927
|
-
type: 'object',
|
|
25928
|
-
'x-deprecated': 'Use `provider_issue` instead.',
|
|
25929
|
-
},
|
|
25930
|
-
{
|
|
25931
|
-
deprecated: true,
|
|
25932
|
-
description: 'August lock is missing a keypad.',
|
|
25933
|
-
properties: {
|
|
25934
|
-
created_at: {
|
|
25935
|
-
description: 'Date and time at which Seam created the error.',
|
|
25936
|
-
format: 'date-time',
|
|
25937
|
-
type: 'string',
|
|
25938
|
-
},
|
|
25939
|
-
error_code: {
|
|
25940
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25941
|
-
enum: ['august_lock_missing_keypad'],
|
|
25218
|
+
managed_access_code_id: {
|
|
25219
|
+
description: 'ID of the managed access code that conflicts with this managed access code, when Seam can identify it.',
|
|
25220
|
+
format: 'uuid',
|
|
25942
25221
|
type: 'string',
|
|
25943
25222
|
},
|
|
25944
|
-
is_access_code_error: {
|
|
25945
|
-
description: 'Indicates that this is an access code error.',
|
|
25946
|
-
enum: [true],
|
|
25947
|
-
type: 'boolean',
|
|
25948
|
-
},
|
|
25949
25223
|
message: {
|
|
25950
25224
|
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
25951
25225
|
type: 'string',
|
|
25952
25226
|
},
|
|
25227
|
+
unmanaged_access_code_id: {
|
|
25228
|
+
description: 'ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.',
|
|
25229
|
+
format: 'uuid',
|
|
25230
|
+
type: 'string',
|
|
25231
|
+
},
|
|
25953
25232
|
},
|
|
25954
25233
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
25955
25234
|
type: 'object',
|
|
25956
|
-
'x-deprecated': 'Use `provider_issue` instead.',
|
|
25957
25235
|
},
|
|
25958
25236
|
{
|
|
25959
|
-
|
|
25960
|
-
description: 'August lock is temporarily offline.',
|
|
25237
|
+
description: 'An attempt to modify this access code was prevented.',
|
|
25961
25238
|
properties: {
|
|
25962
25239
|
created_at: {
|
|
25963
25240
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -25966,7 +25243,7 @@ const openapi = {
|
|
|
25966
25243
|
},
|
|
25967
25244
|
error_code: {
|
|
25968
25245
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25969
|
-
enum: ['
|
|
25246
|
+
enum: ['duplicate_code_attempt_prevented'],
|
|
25970
25247
|
type: 'string',
|
|
25971
25248
|
},
|
|
25972
25249
|
is_access_code_error: {
|
|
@@ -25981,10 +25258,9 @@ const openapi = {
|
|
|
25981
25258
|
},
|
|
25982
25259
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
25983
25260
|
type: 'object',
|
|
25984
|
-
'x-deprecated': 'Use `provider_issue` instead.',
|
|
25985
25261
|
},
|
|
25986
25262
|
{
|
|
25987
|
-
description: '
|
|
25263
|
+
description: 'No space for access code on device.',
|
|
25988
25264
|
properties: {
|
|
25989
25265
|
created_at: {
|
|
25990
25266
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -25993,7 +25269,7 @@ const openapi = {
|
|
|
25993
25269
|
},
|
|
25994
25270
|
error_code: {
|
|
25995
25271
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25996
|
-
enum: ['
|
|
25272
|
+
enum: ['no_space_for_access_code_on_device'],
|
|
25997
25273
|
type: 'string',
|
|
25998
25274
|
},
|
|
25999
25275
|
is_access_code_error: {
|
|
@@ -26010,8 +25286,7 @@ const openapi = {
|
|
|
26010
25286
|
type: 'object',
|
|
26011
25287
|
},
|
|
26012
25288
|
{
|
|
26013
|
-
|
|
26014
|
-
description: 'Salto site user is not subscribed.',
|
|
25289
|
+
description: 'Indicates that the provider cannot confirm whether the access code was set or removed on the device.',
|
|
26015
25290
|
properties: {
|
|
26016
25291
|
created_at: {
|
|
26017
25292
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -26020,7 +25295,7 @@ const openapi = {
|
|
|
26020
25295
|
},
|
|
26021
25296
|
error_code: {
|
|
26022
25297
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
26023
|
-
enum: ['
|
|
25298
|
+
enum: ['access_code_state_unconfirmed'],
|
|
26024
25299
|
type: 'string',
|
|
26025
25300
|
},
|
|
26026
25301
|
is_access_code_error: {
|
|
@@ -26035,12 +25310,15 @@ const openapi = {
|
|
|
26035
25310
|
},
|
|
26036
25311
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
26037
25312
|
type: 'object',
|
|
26038
|
-
'x-deprecated': 'Use `access_code_inactive` instead.',
|
|
26039
25313
|
},
|
|
26040
25314
|
{
|
|
26041
|
-
|
|
26042
|
-
description: 'Duplicate access code name detected.',
|
|
25315
|
+
description: 'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
26043
25316
|
properties: {
|
|
25317
|
+
change_type: {
|
|
25318
|
+
description: "Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device.",
|
|
25319
|
+
enum: ['modified', 'removed'],
|
|
25320
|
+
type: 'string',
|
|
25321
|
+
},
|
|
26044
25322
|
created_at: {
|
|
26045
25323
|
description: 'Date and time at which Seam created the error.',
|
|
26046
25324
|
format: 'date-time',
|
|
@@ -26048,7 +25326,7 @@ const openapi = {
|
|
|
26048
25326
|
},
|
|
26049
25327
|
error_code: {
|
|
26050
25328
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
26051
|
-
enum: ['
|
|
25329
|
+
enum: ['code_modified_external_to_seam'],
|
|
26052
25330
|
type: 'string',
|
|
26053
25331
|
},
|
|
26054
25332
|
is_access_code_error: {
|
|
@@ -26060,14 +25338,36 @@ const openapi = {
|
|
|
26060
25338
|
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
26061
25339
|
type: 'string',
|
|
26062
25340
|
},
|
|
25341
|
+
modified_fields: {
|
|
25342
|
+
description: 'List of fields that were changed externally, with their previous and new values.',
|
|
25343
|
+
items: {
|
|
25344
|
+
properties: {
|
|
25345
|
+
field: {
|
|
25346
|
+
description: 'The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`).',
|
|
25347
|
+
type: 'string',
|
|
25348
|
+
},
|
|
25349
|
+
from: {
|
|
25350
|
+
description: 'The previous value of the field.',
|
|
25351
|
+
nullable: true,
|
|
25352
|
+
type: 'string',
|
|
25353
|
+
},
|
|
25354
|
+
to: {
|
|
25355
|
+
description: 'The new value of the field.',
|
|
25356
|
+
nullable: true,
|
|
25357
|
+
type: 'string',
|
|
25358
|
+
},
|
|
25359
|
+
},
|
|
25360
|
+
required: ['field', 'from', 'to'],
|
|
25361
|
+
type: 'object',
|
|
25362
|
+
},
|
|
25363
|
+
type: 'array',
|
|
25364
|
+
},
|
|
26063
25365
|
},
|
|
26064
25366
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
26065
25367
|
type: 'object',
|
|
26066
|
-
'x-deprecated': 'Use `duplicate_code_on_device` instead.',
|
|
26067
25368
|
},
|
|
26068
25369
|
{
|
|
26069
|
-
|
|
26070
|
-
description: 'Potential duplicate access code detected.',
|
|
25370
|
+
description: 'Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.',
|
|
26071
25371
|
properties: {
|
|
26072
25372
|
created_at: {
|
|
26073
25373
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -26076,7 +25376,7 @@ const openapi = {
|
|
|
26076
25376
|
},
|
|
26077
25377
|
error_code: {
|
|
26078
25378
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
26079
|
-
enum: ['
|
|
25379
|
+
enum: ['access_code_inactive'],
|
|
26080
25380
|
type: 'string',
|
|
26081
25381
|
},
|
|
26082
25382
|
is_access_code_error: {
|
|
@@ -26091,11 +25391,10 @@ const openapi = {
|
|
|
26091
25391
|
},
|
|
26092
25392
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
26093
25393
|
type: 'object',
|
|
26094
|
-
'x-deprecated': 'Use `duplicate_code_on_device` instead.',
|
|
26095
25394
|
},
|
|
26096
25395
|
{
|
|
26097
25396
|
deprecated: true,
|
|
26098
|
-
description: '
|
|
25397
|
+
description: 'Salto site user is not subscribed.',
|
|
26099
25398
|
properties: {
|
|
26100
25399
|
created_at: {
|
|
26101
25400
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -26104,7 +25403,7 @@ const openapi = {
|
|
|
26104
25403
|
},
|
|
26105
25404
|
error_code: {
|
|
26106
25405
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
26107
|
-
enum: ['
|
|
25406
|
+
enum: ['salto_ks_user_not_subscribed'],
|
|
26108
25407
|
type: 'string',
|
|
26109
25408
|
},
|
|
26110
25409
|
is_access_code_error: {
|
|
@@ -26119,7 +25418,7 @@ const openapi = {
|
|
|
26119
25418
|
},
|
|
26120
25419
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
26121
25420
|
type: 'object',
|
|
26122
|
-
'x-deprecated': 'Use `
|
|
25421
|
+
'x-deprecated': 'Use `access_code_inactive` instead.',
|
|
26123
25422
|
},
|
|
26124
25423
|
{
|
|
26125
25424
|
description: 'Admin role required—insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.',
|
|
@@ -26147,34 +25446,6 @@ const openapi = {
|
|
|
26147
25446
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
26148
25447
|
type: 'object',
|
|
26149
25448
|
},
|
|
26150
|
-
{
|
|
26151
|
-
deprecated: true,
|
|
26152
|
-
description: 'KeyNest locker is not supported.',
|
|
26153
|
-
properties: {
|
|
26154
|
-
created_at: {
|
|
26155
|
-
description: 'Date and time at which Seam created the error.',
|
|
26156
|
-
format: 'date-time',
|
|
26157
|
-
type: 'string',
|
|
26158
|
-
},
|
|
26159
|
-
error_code: {
|
|
26160
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
26161
|
-
enum: ['keynest_unsupported_third_party_locker'],
|
|
26162
|
-
type: 'string',
|
|
26163
|
-
},
|
|
26164
|
-
is_access_code_error: {
|
|
26165
|
-
description: 'Indicates that this is an access code error.',
|
|
26166
|
-
enum: [true],
|
|
26167
|
-
type: 'boolean',
|
|
26168
|
-
},
|
|
26169
|
-
message: {
|
|
26170
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
26171
|
-
type: 'string',
|
|
26172
|
-
},
|
|
26173
|
-
},
|
|
26174
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
26175
|
-
type: 'object',
|
|
26176
|
-
'x-deprecated': 'Use `provider_issue` instead.',
|
|
26177
|
-
},
|
|
26178
25449
|
{
|
|
26179
25450
|
description: 'This access code was overridden on the device by a newer access code programmed to the same slot.',
|
|
26180
25451
|
properties: {
|
|
@@ -26784,27 +26055,6 @@ const openapi = {
|
|
|
26784
26055
|
required: ['message', 'warning_code'],
|
|
26785
26056
|
type: 'object',
|
|
26786
26057
|
},
|
|
26787
|
-
{
|
|
26788
|
-
description: 'Failed to set code on SmartThings device.',
|
|
26789
|
-
properties: {
|
|
26790
|
-
created_at: {
|
|
26791
|
-
description: 'Date and time at which Seam created the warning.',
|
|
26792
|
-
format: 'date-time',
|
|
26793
|
-
type: 'string',
|
|
26794
|
-
},
|
|
26795
|
-
message: {
|
|
26796
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
26797
|
-
type: 'string',
|
|
26798
|
-
},
|
|
26799
|
-
warning_code: {
|
|
26800
|
-
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
26801
|
-
enum: ['smartthings_failed_to_set_access_code'],
|
|
26802
|
-
type: 'string',
|
|
26803
|
-
},
|
|
26804
|
-
},
|
|
26805
|
-
required: ['message', 'warning_code'],
|
|
26806
|
-
type: 'object',
|
|
26807
|
-
},
|
|
26808
26058
|
{
|
|
26809
26059
|
deprecated: true,
|
|
26810
26060
|
description: 'Duplicate access code detected.',
|
|
@@ -26828,29 +26078,6 @@ const openapi = {
|
|
|
26828
26078
|
type: 'object',
|
|
26829
26079
|
'x-deprecated': 'Use `duplicate_code_on_device` error instead.',
|
|
26830
26080
|
},
|
|
26831
|
-
{
|
|
26832
|
-
deprecated: true,
|
|
26833
|
-
description: 'Received an error when attempting to create this code.',
|
|
26834
|
-
properties: {
|
|
26835
|
-
created_at: {
|
|
26836
|
-
description: 'Date and time at which Seam created the warning.',
|
|
26837
|
-
format: 'date-time',
|
|
26838
|
-
type: 'string',
|
|
26839
|
-
},
|
|
26840
|
-
message: {
|
|
26841
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
26842
|
-
type: 'string',
|
|
26843
|
-
},
|
|
26844
|
-
warning_code: {
|
|
26845
|
-
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
26846
|
-
enum: ['schlage_creation_outage'],
|
|
26847
|
-
type: 'string',
|
|
26848
|
-
},
|
|
26849
|
-
},
|
|
26850
|
-
required: ['message', 'warning_code'],
|
|
26851
|
-
type: 'object',
|
|
26852
|
-
'x-deprecated': 'Use `provider_issue` instead.',
|
|
26853
|
-
},
|
|
26854
26081
|
{
|
|
26855
26082
|
description: "The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift — the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling.",
|
|
26856
26083
|
properties: {
|
|
@@ -26985,27 +26212,6 @@ const openapi = {
|
|
|
26985
26212
|
required: ['message', 'warning_code'],
|
|
26986
26213
|
type: 'object',
|
|
26987
26214
|
},
|
|
26988
|
-
{
|
|
26989
|
-
description: 'August lock is temporarily offline.',
|
|
26990
|
-
properties: {
|
|
26991
|
-
created_at: {
|
|
26992
|
-
description: 'Date and time at which Seam created the warning.',
|
|
26993
|
-
format: 'date-time',
|
|
26994
|
-
type: 'string',
|
|
26995
|
-
},
|
|
26996
|
-
message: {
|
|
26997
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
26998
|
-
type: 'string',
|
|
26999
|
-
},
|
|
27000
|
-
warning_code: {
|
|
27001
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
27002
|
-
enum: ['august_lock_temporarily_offline'],
|
|
27003
|
-
type: 'string',
|
|
27004
|
-
},
|
|
27005
|
-
},
|
|
27006
|
-
required: ['message', 'warning_code'],
|
|
27007
|
-
type: 'object',
|
|
27008
|
-
},
|
|
27009
26215
|
{
|
|
27010
26216
|
description: 'Algopins must be used within 24 hours.',
|
|
27011
26217
|
properties: {
|
|
@@ -27048,27 +26254,6 @@ const openapi = {
|
|
|
27048
26254
|
required: ['message', 'warning_code'],
|
|
27049
26255
|
type: 'object',
|
|
27050
26256
|
},
|
|
27051
|
-
{
|
|
27052
|
-
description: 'Unable to confirm that the access code is set on Kwikset device.',
|
|
27053
|
-
properties: {
|
|
27054
|
-
created_at: {
|
|
27055
|
-
description: 'Date and time at which Seam created the warning.',
|
|
27056
|
-
format: 'date-time',
|
|
27057
|
-
type: 'string',
|
|
27058
|
-
},
|
|
27059
|
-
message: {
|
|
27060
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
27061
|
-
type: 'string',
|
|
27062
|
-
},
|
|
27063
|
-
warning_code: {
|
|
27064
|
-
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
27065
|
-
enum: ['kwikset_unable_to_confirm_code'],
|
|
27066
|
-
type: 'string',
|
|
27067
|
-
},
|
|
27068
|
-
},
|
|
27069
|
-
required: ['message', 'warning_code'],
|
|
27070
|
-
type: 'object',
|
|
27071
|
-
},
|
|
27072
26257
|
{
|
|
27073
26258
|
description: 'Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.',
|
|
27074
26259
|
properties: {
|
|
@@ -27090,29 +26275,6 @@ const openapi = {
|
|
|
27090
26275
|
required: ['message', 'warning_code'],
|
|
27091
26276
|
type: 'object',
|
|
27092
26277
|
},
|
|
27093
|
-
{
|
|
27094
|
-
deprecated: true,
|
|
27095
|
-
description: 'Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app.',
|
|
27096
|
-
properties: {
|
|
27097
|
-
created_at: {
|
|
27098
|
-
description: 'Date and time at which Seam created the warning.',
|
|
27099
|
-
format: 'date-time',
|
|
27100
|
-
type: 'string',
|
|
27101
|
-
},
|
|
27102
|
-
message: {
|
|
27103
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
27104
|
-
type: 'string',
|
|
27105
|
-
},
|
|
27106
|
-
warning_code: {
|
|
27107
|
-
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
27108
|
-
enum: ['ultraloq_access_code_disabled'],
|
|
27109
|
-
type: 'string',
|
|
27110
|
-
},
|
|
27111
|
-
},
|
|
27112
|
-
required: ['message', 'warning_code'],
|
|
27113
|
-
type: 'object',
|
|
27114
|
-
'x-deprecated': 'Use `access_code_inactive` instead.',
|
|
27115
|
-
},
|
|
27116
26278
|
{
|
|
27117
26279
|
description: 'A backup access code has been pulled and is being used in place of this access code.',
|
|
27118
26280
|
properties: {
|