@seamapi/types 1.918.0 → 1.920.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 +592 -184
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +210 -4
- package/dist/index.cjs +592 -184
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.js +78 -44
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.js +7 -4
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.js +7 -3
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.js +58 -31
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +42 -24
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.js +29 -19
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.js +51 -27
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/events/access-codes.d.ts +118 -0
- package/lib/seam/connect/models/events/access-codes.js +34 -0
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +59 -1
- package/lib/seam/connect/openapi.js +230 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +152 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +136 -114
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +10 -9
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +7 -5
- package/src/lib/seam/connect/models/acs/acs-system.ts +73 -56
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +48 -40
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +78 -73
- package/src/lib/seam/connect/models/devices/device.ts +70 -46
- package/src/lib/seam/connect/models/events/access-codes.ts +48 -0
- package/src/lib/seam/connect/openapi.ts +239 -3
- package/src/lib/seam/connect/route-types.ts +212 -0
|
@@ -134,6 +134,7 @@ const openapi: OpenAPISpec = {
|
|
|
134
134
|
},
|
|
135
135
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
136
136
|
type: 'object',
|
|
137
|
+
'x-resource-type': 'access_code',
|
|
137
138
|
},
|
|
138
139
|
{
|
|
139
140
|
description: 'Failed to set code on device.',
|
|
@@ -164,6 +165,7 @@ const openapi: OpenAPISpec = {
|
|
|
164
165
|
},
|
|
165
166
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
166
167
|
type: 'object',
|
|
168
|
+
'x-resource-type': 'access_code',
|
|
167
169
|
},
|
|
168
170
|
{
|
|
169
171
|
description: 'Failed to remove code from device.',
|
|
@@ -194,6 +196,7 @@ const openapi: OpenAPISpec = {
|
|
|
194
196
|
},
|
|
195
197
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
196
198
|
type: 'object',
|
|
199
|
+
'x-resource-type': 'access_code',
|
|
197
200
|
},
|
|
198
201
|
{
|
|
199
202
|
description: 'Duplicate access code detected on device.',
|
|
@@ -236,6 +239,7 @@ const openapi: OpenAPISpec = {
|
|
|
236
239
|
},
|
|
237
240
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
238
241
|
type: 'object',
|
|
242
|
+
'x-resource-type': 'access_code',
|
|
239
243
|
},
|
|
240
244
|
{
|
|
241
245
|
description:
|
|
@@ -267,6 +271,7 @@ const openapi: OpenAPISpec = {
|
|
|
267
271
|
},
|
|
268
272
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
269
273
|
type: 'object',
|
|
274
|
+
'x-resource-type': 'access_code',
|
|
270
275
|
},
|
|
271
276
|
{
|
|
272
277
|
description: 'No space for access code on device.',
|
|
@@ -297,6 +302,7 @@ const openapi: OpenAPISpec = {
|
|
|
297
302
|
},
|
|
298
303
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
299
304
|
type: 'object',
|
|
305
|
+
'x-resource-type': 'access_code',
|
|
300
306
|
},
|
|
301
307
|
{
|
|
302
308
|
description:
|
|
@@ -328,6 +334,7 @@ const openapi: OpenAPISpec = {
|
|
|
328
334
|
},
|
|
329
335
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
330
336
|
type: 'object',
|
|
337
|
+
'x-resource-type': 'access_code',
|
|
331
338
|
},
|
|
332
339
|
{
|
|
333
340
|
description:
|
|
@@ -391,6 +398,7 @@ const openapi: OpenAPISpec = {
|
|
|
391
398
|
},
|
|
392
399
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
393
400
|
type: 'object',
|
|
401
|
+
'x-resource-type': 'access_code',
|
|
394
402
|
},
|
|
395
403
|
{
|
|
396
404
|
description:
|
|
@@ -422,6 +430,7 @@ const openapi: OpenAPISpec = {
|
|
|
422
430
|
},
|
|
423
431
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
424
432
|
type: 'object',
|
|
433
|
+
'x-resource-type': 'access_code',
|
|
425
434
|
},
|
|
426
435
|
{
|
|
427
436
|
deprecated: true,
|
|
@@ -454,6 +463,7 @@ const openapi: OpenAPISpec = {
|
|
|
454
463
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
455
464
|
type: 'object',
|
|
456
465
|
'x-deprecated': 'Use `access_code_inactive` instead.',
|
|
466
|
+
'x-resource-type': 'access_code',
|
|
457
467
|
},
|
|
458
468
|
{
|
|
459
469
|
description:
|
|
@@ -485,6 +495,7 @@ const openapi: OpenAPISpec = {
|
|
|
485
495
|
},
|
|
486
496
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
487
497
|
type: 'object',
|
|
498
|
+
'x-resource-type': 'access_code',
|
|
488
499
|
},
|
|
489
500
|
{
|
|
490
501
|
description:
|
|
@@ -516,6 +527,7 @@ const openapi: OpenAPISpec = {
|
|
|
516
527
|
},
|
|
517
528
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
518
529
|
type: 'object',
|
|
530
|
+
'x-resource-type': 'access_code',
|
|
519
531
|
},
|
|
520
532
|
{
|
|
521
533
|
description: 'Indicates that the account is disconnected.',
|
|
@@ -558,6 +570,7 @@ const openapi: OpenAPISpec = {
|
|
|
558
570
|
'is_connected_account_error',
|
|
559
571
|
],
|
|
560
572
|
type: 'object',
|
|
573
|
+
'x-resource-type': 'connected_account',
|
|
561
574
|
},
|
|
562
575
|
{
|
|
563
576
|
description:
|
|
@@ -601,6 +614,7 @@ const openapi: OpenAPISpec = {
|
|
|
601
614
|
'is_connected_account_error',
|
|
602
615
|
],
|
|
603
616
|
type: 'object',
|
|
617
|
+
'x-resource-type': 'connected_account',
|
|
604
618
|
'x-variant-group-key': 'locks',
|
|
605
619
|
},
|
|
606
620
|
{
|
|
@@ -639,6 +653,7 @@ const openapi: OpenAPISpec = {
|
|
|
639
653
|
],
|
|
640
654
|
type: 'object',
|
|
641
655
|
'x-deprecated': 'Use `device_disconnected` instead.',
|
|
656
|
+
'x-resource-type': 'device',
|
|
642
657
|
},
|
|
643
658
|
{
|
|
644
659
|
description: 'Indicates that the device has been removed.',
|
|
@@ -674,6 +689,7 @@ const openapi: OpenAPISpec = {
|
|
|
674
689
|
'error_code',
|
|
675
690
|
],
|
|
676
691
|
type: 'object',
|
|
692
|
+
'x-resource-type': 'device',
|
|
677
693
|
},
|
|
678
694
|
{
|
|
679
695
|
description: 'Indicates that the hub is disconnected.',
|
|
@@ -709,6 +725,7 @@ const openapi: OpenAPISpec = {
|
|
|
709
725
|
'error_code',
|
|
710
726
|
],
|
|
711
727
|
type: 'object',
|
|
728
|
+
'x-resource-type': 'device',
|
|
712
729
|
},
|
|
713
730
|
{
|
|
714
731
|
description: 'Indicates that the device is disconnected.',
|
|
@@ -744,6 +761,7 @@ const openapi: OpenAPISpec = {
|
|
|
744
761
|
'error_code',
|
|
745
762
|
],
|
|
746
763
|
type: 'object',
|
|
764
|
+
'x-resource-type': 'device',
|
|
747
765
|
},
|
|
748
766
|
{
|
|
749
767
|
description:
|
|
@@ -780,6 +798,7 @@ const openapi: OpenAPISpec = {
|
|
|
780
798
|
'error_code',
|
|
781
799
|
],
|
|
782
800
|
type: 'object',
|
|
801
|
+
'x-resource-type': 'device',
|
|
783
802
|
'x-variant-group-key': 'access_codes',
|
|
784
803
|
},
|
|
785
804
|
{
|
|
@@ -817,6 +836,7 @@ const openapi: OpenAPISpec = {
|
|
|
817
836
|
'error_code',
|
|
818
837
|
],
|
|
819
838
|
type: 'object',
|
|
839
|
+
'x-resource-type': 'device',
|
|
820
840
|
'x-variant-group-key': 'locks',
|
|
821
841
|
},
|
|
822
842
|
{
|
|
@@ -856,6 +876,7 @@ const openapi: OpenAPISpec = {
|
|
|
856
876
|
],
|
|
857
877
|
type: 'object',
|
|
858
878
|
'x-deprecated': 'Use `hub_disconnected` instead.',
|
|
879
|
+
'x-resource-type': 'device',
|
|
859
880
|
'x-variant-group-key': 'locks',
|
|
860
881
|
},
|
|
861
882
|
{
|
|
@@ -895,6 +916,7 @@ const openapi: OpenAPISpec = {
|
|
|
895
916
|
],
|
|
896
917
|
type: 'object',
|
|
897
918
|
'x-deprecated': 'Use `hub_disconnected` instead.',
|
|
919
|
+
'x-resource-type': 'device',
|
|
898
920
|
},
|
|
899
921
|
{
|
|
900
922
|
description: 'Indicates that device credentials are missing.',
|
|
@@ -930,6 +952,7 @@ const openapi: OpenAPISpec = {
|
|
|
930
952
|
'error_code',
|
|
931
953
|
],
|
|
932
954
|
type: 'object',
|
|
955
|
+
'x-resource-type': 'device',
|
|
933
956
|
},
|
|
934
957
|
{
|
|
935
958
|
description: 'Indicates that the auxiliary heat is running.',
|
|
@@ -965,6 +988,7 @@ const openapi: OpenAPISpec = {
|
|
|
965
988
|
'error_code',
|
|
966
989
|
],
|
|
967
990
|
type: 'object',
|
|
991
|
+
'x-resource-type': 'device',
|
|
968
992
|
'x-variant-group-key': 'thermostats',
|
|
969
993
|
},
|
|
970
994
|
{
|
|
@@ -1002,6 +1026,7 @@ const openapi: OpenAPISpec = {
|
|
|
1002
1026
|
'error_code',
|
|
1003
1027
|
],
|
|
1004
1028
|
type: 'object',
|
|
1029
|
+
'x-resource-type': 'device',
|
|
1005
1030
|
},
|
|
1006
1031
|
{
|
|
1007
1032
|
deprecated: true,
|
|
@@ -1040,6 +1065,7 @@ const openapi: OpenAPISpec = {
|
|
|
1040
1065
|
],
|
|
1041
1066
|
type: 'object',
|
|
1042
1067
|
'x-deprecated': 'Use `hub_disconnected` instead.',
|
|
1068
|
+
'x-resource-type': 'device',
|
|
1043
1069
|
},
|
|
1044
1070
|
{
|
|
1045
1071
|
description:
|
|
@@ -1075,6 +1101,7 @@ const openapi: OpenAPISpec = {
|
|
|
1075
1101
|
},
|
|
1076
1102
|
required: ['created_at', 'message', 'error_code'],
|
|
1077
1103
|
type: 'object',
|
|
1104
|
+
'x-resource-type': 'connected_account',
|
|
1078
1105
|
},
|
|
1079
1106
|
{
|
|
1080
1107
|
description:
|
|
@@ -1110,6 +1137,7 @@ const openapi: OpenAPISpec = {
|
|
|
1110
1137
|
},
|
|
1111
1138
|
required: ['created_at', 'message', 'error_code'],
|
|
1112
1139
|
type: 'object',
|
|
1140
|
+
'x-resource-type': 'connected_account',
|
|
1113
1141
|
},
|
|
1114
1142
|
],
|
|
1115
1143
|
},
|
|
@@ -2958,6 +2986,7 @@ const openapi: OpenAPISpec = {
|
|
|
2958
2986
|
},
|
|
2959
2987
|
required: ['created_at', 'message', 'error_code'],
|
|
2960
2988
|
type: 'object',
|
|
2989
|
+
'x-resource-type': 'acs_access_group',
|
|
2961
2990
|
},
|
|
2962
2991
|
],
|
|
2963
2992
|
},
|
|
@@ -3972,6 +4001,7 @@ const openapi: OpenAPISpec = {
|
|
|
3972
4001
|
},
|
|
3973
4002
|
required: ['created_at', 'message', 'error_code'],
|
|
3974
4003
|
type: 'object',
|
|
4004
|
+
'x-resource-type': 'acs_encoder',
|
|
3975
4005
|
},
|
|
3976
4006
|
type: 'array',
|
|
3977
4007
|
},
|
|
@@ -4579,7 +4609,7 @@ const openapi: OpenAPISpec = {
|
|
|
4579
4609
|
oneOf: [
|
|
4580
4610
|
{
|
|
4581
4611
|
description:
|
|
4582
|
-
'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.\
|
|
4612
|
+
'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.\nThis error might also occur if Seam Bridge is connected to the wrong [workspace](https://docs.seam.co/core-concepts/workspaces).\nSee also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
4583
4613
|
properties: {
|
|
4584
4614
|
created_at: {
|
|
4585
4615
|
description:
|
|
@@ -4601,10 +4631,11 @@ const openapi: OpenAPISpec = {
|
|
|
4601
4631
|
},
|
|
4602
4632
|
required: ['created_at', 'message', 'error_code'],
|
|
4603
4633
|
type: 'object',
|
|
4634
|
+
'x-resource-type': 'acs_system',
|
|
4604
4635
|
},
|
|
4605
4636
|
{
|
|
4606
4637
|
description:
|
|
4607
|
-
'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.\
|
|
4638
|
+
'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.\nSee also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
4608
4639
|
properties: {
|
|
4609
4640
|
created_at: {
|
|
4610
4641
|
description:
|
|
@@ -4631,10 +4662,11 @@ const openapi: OpenAPISpec = {
|
|
|
4631
4662
|
},
|
|
4632
4663
|
required: ['created_at', 'message', 'error_code'],
|
|
4633
4664
|
type: 'object',
|
|
4665
|
+
'x-resource-type': 'acs_system',
|
|
4634
4666
|
},
|
|
4635
4667
|
{
|
|
4636
4668
|
description:
|
|
4637
|
-
'Indicates that [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge) is functioning correctly and the Seam API can communicate with Seam Bridge, but the Seam API cannot connect to the on-premises [Visionline access control system](https://docs.seam.co/device-and-system-integration-guides/assa-abloy-visionline-access-control-system).\
|
|
4669
|
+
'Indicates that [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge) is functioning correctly and the Seam API can communicate with Seam Bridge, but the Seam API cannot connect to the on-premises [Visionline access control system](https://docs.seam.co/device-and-system-integration-guides/assa-abloy-visionline-access-control-system).\nFor example, the IP address of the on-premises access control system may be set incorrectly within the Seam [workspace](https://docs.seam.co/core-concepts/workspaces).\nSee also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.visionline_instance_unreachable).',
|
|
4638
4670
|
properties: {
|
|
4639
4671
|
created_at: {
|
|
4640
4672
|
description:
|
|
@@ -4656,6 +4688,7 @@ const openapi: OpenAPISpec = {
|
|
|
4656
4688
|
},
|
|
4657
4689
|
required: ['created_at', 'message', 'error_code'],
|
|
4658
4690
|
type: 'object',
|
|
4691
|
+
'x-resource-type': 'acs_system',
|
|
4659
4692
|
},
|
|
4660
4693
|
{
|
|
4661
4694
|
description:
|
|
@@ -4681,6 +4714,7 @@ const openapi: OpenAPISpec = {
|
|
|
4681
4714
|
},
|
|
4682
4715
|
required: ['created_at', 'message', 'error_code'],
|
|
4683
4716
|
type: 'object',
|
|
4717
|
+
'x-resource-type': 'acs_system',
|
|
4684
4718
|
},
|
|
4685
4719
|
{
|
|
4686
4720
|
description:
|
|
@@ -4706,6 +4740,7 @@ const openapi: OpenAPISpec = {
|
|
|
4706
4740
|
},
|
|
4707
4741
|
required: ['created_at', 'message', 'error_code'],
|
|
4708
4742
|
type: 'object',
|
|
4743
|
+
'x-resource-type': 'acs_system',
|
|
4709
4744
|
},
|
|
4710
4745
|
{
|
|
4711
4746
|
description:
|
|
@@ -4731,6 +4766,7 @@ const openapi: OpenAPISpec = {
|
|
|
4731
4766
|
},
|
|
4732
4767
|
required: ['created_at', 'message', 'error_code'],
|
|
4733
4768
|
type: 'object',
|
|
4769
|
+
'x-resource-type': 'acs_system',
|
|
4734
4770
|
},
|
|
4735
4771
|
{
|
|
4736
4772
|
description:
|
|
@@ -4756,6 +4792,7 @@ const openapi: OpenAPISpec = {
|
|
|
4756
4792
|
},
|
|
4757
4793
|
required: ['created_at', 'message', 'error_code'],
|
|
4758
4794
|
type: 'object',
|
|
4795
|
+
'x-resource-type': 'acs_system',
|
|
4759
4796
|
},
|
|
4760
4797
|
{
|
|
4761
4798
|
description:
|
|
@@ -4781,6 +4818,7 @@ const openapi: OpenAPISpec = {
|
|
|
4781
4818
|
},
|
|
4782
4819
|
required: ['created_at', 'message', 'error_code'],
|
|
4783
4820
|
type: 'object',
|
|
4821
|
+
'x-resource-type': 'acs_system',
|
|
4784
4822
|
},
|
|
4785
4823
|
],
|
|
4786
4824
|
},
|
|
@@ -5110,6 +5148,7 @@ const openapi: OpenAPISpec = {
|
|
|
5110
5148
|
},
|
|
5111
5149
|
required: ['created_at', 'message', 'error_code'],
|
|
5112
5150
|
type: 'object',
|
|
5151
|
+
'x-resource-type': 'acs_user',
|
|
5113
5152
|
},
|
|
5114
5153
|
{
|
|
5115
5154
|
description:
|
|
@@ -5133,6 +5172,7 @@ const openapi: OpenAPISpec = {
|
|
|
5133
5172
|
},
|
|
5134
5173
|
required: ['created_at', 'message', 'error_code'],
|
|
5135
5174
|
type: 'object',
|
|
5175
|
+
'x-resource-type': 'acs_user',
|
|
5136
5176
|
},
|
|
5137
5177
|
{
|
|
5138
5178
|
description:
|
|
@@ -5156,6 +5196,7 @@ const openapi: OpenAPISpec = {
|
|
|
5156
5196
|
},
|
|
5157
5197
|
required: ['created_at', 'message', 'error_code'],
|
|
5158
5198
|
type: 'object',
|
|
5199
|
+
'x-resource-type': 'acs_user',
|
|
5159
5200
|
},
|
|
5160
5201
|
{
|
|
5161
5202
|
description:
|
|
@@ -5179,6 +5220,7 @@ const openapi: OpenAPISpec = {
|
|
|
5179
5220
|
},
|
|
5180
5221
|
required: ['created_at', 'message', 'error_code'],
|
|
5181
5222
|
type: 'object',
|
|
5223
|
+
'x-resource-type': 'acs_user',
|
|
5182
5224
|
},
|
|
5183
5225
|
{
|
|
5184
5226
|
description:
|
|
@@ -5202,6 +5244,7 @@ const openapi: OpenAPISpec = {
|
|
|
5202
5244
|
},
|
|
5203
5245
|
required: ['created_at', 'message', 'error_code'],
|
|
5204
5246
|
type: 'object',
|
|
5247
|
+
'x-resource-type': 'acs_user',
|
|
5205
5248
|
},
|
|
5206
5249
|
{
|
|
5207
5250
|
description:
|
|
@@ -5225,6 +5268,7 @@ const openapi: OpenAPISpec = {
|
|
|
5225
5268
|
},
|
|
5226
5269
|
required: ['created_at', 'message', 'error_code'],
|
|
5227
5270
|
type: 'object',
|
|
5271
|
+
'x-resource-type': 'acs_user',
|
|
5228
5272
|
},
|
|
5229
5273
|
],
|
|
5230
5274
|
},
|
|
@@ -12200,6 +12244,7 @@ const openapi: OpenAPISpec = {
|
|
|
12200
12244
|
},
|
|
12201
12245
|
required: ['created_at', 'message', 'error_code'],
|
|
12202
12246
|
type: 'object',
|
|
12247
|
+
'x-resource-type': 'connected_account',
|
|
12203
12248
|
},
|
|
12204
12249
|
{
|
|
12205
12250
|
description:
|
|
@@ -12235,6 +12280,7 @@ const openapi: OpenAPISpec = {
|
|
|
12235
12280
|
},
|
|
12236
12281
|
required: ['created_at', 'message', 'error_code'],
|
|
12237
12282
|
type: 'object',
|
|
12283
|
+
'x-resource-type': 'connected_account',
|
|
12238
12284
|
},
|
|
12239
12285
|
{
|
|
12240
12286
|
description:
|
|
@@ -12323,6 +12369,7 @@ const openapi: OpenAPISpec = {
|
|
|
12323
12369
|
'salto_ks_metadata',
|
|
12324
12370
|
],
|
|
12325
12371
|
type: 'object',
|
|
12372
|
+
'x-resource-type': 'connected_account',
|
|
12326
12373
|
},
|
|
12327
12374
|
{
|
|
12328
12375
|
description:
|
|
@@ -12358,6 +12405,7 @@ const openapi: OpenAPISpec = {
|
|
|
12358
12405
|
},
|
|
12359
12406
|
required: ['created_at', 'message', 'error_code'],
|
|
12360
12407
|
type: 'object',
|
|
12408
|
+
'x-resource-type': 'connected_account',
|
|
12361
12409
|
},
|
|
12362
12410
|
],
|
|
12363
12411
|
},
|
|
@@ -13123,6 +13171,7 @@ const openapi: OpenAPISpec = {
|
|
|
13123
13171
|
'is_connected_account_error',
|
|
13124
13172
|
],
|
|
13125
13173
|
type: 'object',
|
|
13174
|
+
'x-resource-type': 'connected_account',
|
|
13126
13175
|
},
|
|
13127
13176
|
{
|
|
13128
13177
|
description:
|
|
@@ -13166,6 +13215,7 @@ const openapi: OpenAPISpec = {
|
|
|
13166
13215
|
'is_connected_account_error',
|
|
13167
13216
|
],
|
|
13168
13217
|
type: 'object',
|
|
13218
|
+
'x-resource-type': 'connected_account',
|
|
13169
13219
|
'x-variant-group-key': 'locks',
|
|
13170
13220
|
},
|
|
13171
13221
|
{
|
|
@@ -13204,6 +13254,7 @@ const openapi: OpenAPISpec = {
|
|
|
13204
13254
|
],
|
|
13205
13255
|
type: 'object',
|
|
13206
13256
|
'x-deprecated': 'Use `device_disconnected` instead.',
|
|
13257
|
+
'x-resource-type': 'device',
|
|
13207
13258
|
},
|
|
13208
13259
|
{
|
|
13209
13260
|
description: 'Indicates that the device has been removed.',
|
|
@@ -13239,6 +13290,7 @@ const openapi: OpenAPISpec = {
|
|
|
13239
13290
|
'error_code',
|
|
13240
13291
|
],
|
|
13241
13292
|
type: 'object',
|
|
13293
|
+
'x-resource-type': 'device',
|
|
13242
13294
|
},
|
|
13243
13295
|
{
|
|
13244
13296
|
description: 'Indicates that the hub is disconnected.',
|
|
@@ -13274,6 +13326,7 @@ const openapi: OpenAPISpec = {
|
|
|
13274
13326
|
'error_code',
|
|
13275
13327
|
],
|
|
13276
13328
|
type: 'object',
|
|
13329
|
+
'x-resource-type': 'device',
|
|
13277
13330
|
},
|
|
13278
13331
|
{
|
|
13279
13332
|
description: 'Indicates that the device is disconnected.',
|
|
@@ -13309,6 +13362,7 @@ const openapi: OpenAPISpec = {
|
|
|
13309
13362
|
'error_code',
|
|
13310
13363
|
],
|
|
13311
13364
|
type: 'object',
|
|
13365
|
+
'x-resource-type': 'device',
|
|
13312
13366
|
},
|
|
13313
13367
|
{
|
|
13314
13368
|
description:
|
|
@@ -13345,6 +13399,7 @@ const openapi: OpenAPISpec = {
|
|
|
13345
13399
|
'error_code',
|
|
13346
13400
|
],
|
|
13347
13401
|
type: 'object',
|
|
13402
|
+
'x-resource-type': 'device',
|
|
13348
13403
|
'x-variant-group-key': 'access_codes',
|
|
13349
13404
|
},
|
|
13350
13405
|
{
|
|
@@ -13382,6 +13437,7 @@ const openapi: OpenAPISpec = {
|
|
|
13382
13437
|
'error_code',
|
|
13383
13438
|
],
|
|
13384
13439
|
type: 'object',
|
|
13440
|
+
'x-resource-type': 'device',
|
|
13385
13441
|
'x-variant-group-key': 'locks',
|
|
13386
13442
|
},
|
|
13387
13443
|
{
|
|
@@ -13421,6 +13477,7 @@ const openapi: OpenAPISpec = {
|
|
|
13421
13477
|
],
|
|
13422
13478
|
type: 'object',
|
|
13423
13479
|
'x-deprecated': 'Use `hub_disconnected` instead.',
|
|
13480
|
+
'x-resource-type': 'device',
|
|
13424
13481
|
'x-variant-group-key': 'locks',
|
|
13425
13482
|
},
|
|
13426
13483
|
{
|
|
@@ -13460,6 +13517,7 @@ const openapi: OpenAPISpec = {
|
|
|
13460
13517
|
],
|
|
13461
13518
|
type: 'object',
|
|
13462
13519
|
'x-deprecated': 'Use `hub_disconnected` instead.',
|
|
13520
|
+
'x-resource-type': 'device',
|
|
13463
13521
|
},
|
|
13464
13522
|
{
|
|
13465
13523
|
description: 'Indicates that device credentials are missing.',
|
|
@@ -13495,6 +13553,7 @@ const openapi: OpenAPISpec = {
|
|
|
13495
13553
|
'error_code',
|
|
13496
13554
|
],
|
|
13497
13555
|
type: 'object',
|
|
13556
|
+
'x-resource-type': 'device',
|
|
13498
13557
|
},
|
|
13499
13558
|
{
|
|
13500
13559
|
description: 'Indicates that the auxiliary heat is running.',
|
|
@@ -13530,6 +13589,7 @@ const openapi: OpenAPISpec = {
|
|
|
13530
13589
|
'error_code',
|
|
13531
13590
|
],
|
|
13532
13591
|
type: 'object',
|
|
13592
|
+
'x-resource-type': 'device',
|
|
13533
13593
|
'x-variant-group-key': 'thermostats',
|
|
13534
13594
|
},
|
|
13535
13595
|
{
|
|
@@ -13567,6 +13627,7 @@ const openapi: OpenAPISpec = {
|
|
|
13567
13627
|
'error_code',
|
|
13568
13628
|
],
|
|
13569
13629
|
type: 'object',
|
|
13630
|
+
'x-resource-type': 'device',
|
|
13570
13631
|
},
|
|
13571
13632
|
{
|
|
13572
13633
|
deprecated: true,
|
|
@@ -13605,6 +13666,7 @@ const openapi: OpenAPISpec = {
|
|
|
13605
13666
|
],
|
|
13606
13667
|
type: 'object',
|
|
13607
13668
|
'x-deprecated': 'Use `hub_disconnected` instead.',
|
|
13669
|
+
'x-resource-type': 'device',
|
|
13608
13670
|
},
|
|
13609
13671
|
{
|
|
13610
13672
|
description:
|
|
@@ -13640,6 +13702,7 @@ const openapi: OpenAPISpec = {
|
|
|
13640
13702
|
},
|
|
13641
13703
|
required: ['created_at', 'message', 'error_code'],
|
|
13642
13704
|
type: 'object',
|
|
13705
|
+
'x-resource-type': 'connected_account',
|
|
13643
13706
|
},
|
|
13644
13707
|
{
|
|
13645
13708
|
description:
|
|
@@ -13675,6 +13738,7 @@ const openapi: OpenAPISpec = {
|
|
|
13675
13738
|
},
|
|
13676
13739
|
required: ['created_at', 'message', 'error_code'],
|
|
13677
13740
|
type: 'object',
|
|
13741
|
+
'x-resource-type': 'connected_account',
|
|
13678
13742
|
},
|
|
13679
13743
|
],
|
|
13680
13744
|
},
|
|
@@ -17921,6 +17985,119 @@ const openapi: OpenAPISpec = {
|
|
|
17921
17985
|
type: 'object',
|
|
17922
17986
|
'x-route-path': '/access_codes',
|
|
17923
17987
|
},
|
|
17988
|
+
{
|
|
17989
|
+
description:
|
|
17990
|
+
'Mutations were requested on an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes). This event fires at request time, before the change is confirmed on the device.',
|
|
17991
|
+
properties: {
|
|
17992
|
+
access_code_id: {
|
|
17993
|
+
description: 'ID of the affected access code.',
|
|
17994
|
+
format: 'uuid',
|
|
17995
|
+
type: 'string',
|
|
17996
|
+
},
|
|
17997
|
+
connected_account_custom_metadata: {
|
|
17998
|
+
additionalProperties: {
|
|
17999
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
18000
|
+
},
|
|
18001
|
+
description:
|
|
18002
|
+
'Custom metadata of the connected account, present when connected_account_id is provided.',
|
|
18003
|
+
type: 'object',
|
|
18004
|
+
},
|
|
18005
|
+
connected_account_id: {
|
|
18006
|
+
description:
|
|
18007
|
+
'ID of the connected account associated with the affected access code.',
|
|
18008
|
+
format: 'uuid',
|
|
18009
|
+
type: 'string',
|
|
18010
|
+
},
|
|
18011
|
+
created_at: {
|
|
18012
|
+
description: 'Date and time at which the event was created.',
|
|
18013
|
+
format: 'date-time',
|
|
18014
|
+
type: 'string',
|
|
18015
|
+
},
|
|
18016
|
+
device_custom_metadata: {
|
|
18017
|
+
additionalProperties: {
|
|
18018
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
18019
|
+
},
|
|
18020
|
+
description:
|
|
18021
|
+
'Custom metadata of the device, present when device_id is provided.',
|
|
18022
|
+
type: 'object',
|
|
18023
|
+
},
|
|
18024
|
+
device_id: {
|
|
18025
|
+
description:
|
|
18026
|
+
'ID of the device associated with the affected access code.',
|
|
18027
|
+
format: 'uuid',
|
|
18028
|
+
type: 'string',
|
|
18029
|
+
},
|
|
18030
|
+
event_id: {
|
|
18031
|
+
description: 'ID of the event.',
|
|
18032
|
+
format: 'uuid',
|
|
18033
|
+
type: 'string',
|
|
18034
|
+
},
|
|
18035
|
+
event_type: {
|
|
18036
|
+
enum: ['access_code.mutations_requested'],
|
|
18037
|
+
type: 'string',
|
|
18038
|
+
},
|
|
18039
|
+
occurred_at: {
|
|
18040
|
+
description: 'Date and time at which the event occurred.',
|
|
18041
|
+
format: 'date-time',
|
|
18042
|
+
type: 'string',
|
|
18043
|
+
},
|
|
18044
|
+
requested_mutations: {
|
|
18045
|
+
description:
|
|
18046
|
+
'Array of mutations requested on the access code, each containing the mutation type and from/to values.',
|
|
18047
|
+
items: {
|
|
18048
|
+
description: 'Record describing a single requested mutation.',
|
|
18049
|
+
properties: {
|
|
18050
|
+
from: {
|
|
18051
|
+
additionalProperties: {},
|
|
18052
|
+
description:
|
|
18053
|
+
'Previous property values before the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`.',
|
|
18054
|
+
type: 'object',
|
|
18055
|
+
},
|
|
18056
|
+
mutation_code: {
|
|
18057
|
+
description:
|
|
18058
|
+
'Code identifying the type of mutation requested, such as `updating_name`, `updating_code`, `updating_time_frame`, or `deleting`.',
|
|
18059
|
+
enum: [
|
|
18060
|
+
'updating_name',
|
|
18061
|
+
'updating_code',
|
|
18062
|
+
'updating_time_frame',
|
|
18063
|
+
'deleting',
|
|
18064
|
+
'creating',
|
|
18065
|
+
'deferring_creation',
|
|
18066
|
+
],
|
|
18067
|
+
type: 'string',
|
|
18068
|
+
},
|
|
18069
|
+
to: {
|
|
18070
|
+
additionalProperties: {},
|
|
18071
|
+
description:
|
|
18072
|
+
'New property values after the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`.',
|
|
18073
|
+
type: 'object',
|
|
18074
|
+
},
|
|
18075
|
+
},
|
|
18076
|
+
required: ['mutation_code'],
|
|
18077
|
+
type: 'object',
|
|
18078
|
+
},
|
|
18079
|
+
type: 'array',
|
|
18080
|
+
},
|
|
18081
|
+
workspace_id: {
|
|
18082
|
+
description: 'ID of the workspace associated with the event.',
|
|
18083
|
+
format: 'uuid',
|
|
18084
|
+
type: 'string',
|
|
18085
|
+
},
|
|
18086
|
+
},
|
|
18087
|
+
required: [
|
|
18088
|
+
'event_id',
|
|
18089
|
+
'workspace_id',
|
|
18090
|
+
'created_at',
|
|
18091
|
+
'occurred_at',
|
|
18092
|
+
'access_code_id',
|
|
18093
|
+
'device_id',
|
|
18094
|
+
'connected_account_id',
|
|
18095
|
+
'event_type',
|
|
18096
|
+
'requested_mutations',
|
|
18097
|
+
],
|
|
18098
|
+
type: 'object',
|
|
18099
|
+
'x-route-path': '/access_codes',
|
|
18100
|
+
},
|
|
17924
18101
|
{
|
|
17925
18102
|
description:
|
|
17926
18103
|
'An [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) was [scheduled natively](https://docs.seam.co/low-level-apis/smart-locks/access-codes#native-scheduling) on a device.',
|
|
@@ -28676,6 +28853,7 @@ const openapi: OpenAPISpec = {
|
|
|
28676
28853
|
},
|
|
28677
28854
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
28678
28855
|
type: 'object',
|
|
28856
|
+
'x-resource-type': 'access_code',
|
|
28679
28857
|
},
|
|
28680
28858
|
{
|
|
28681
28859
|
description: 'Failed to set code on device.',
|
|
@@ -28706,6 +28884,7 @@ const openapi: OpenAPISpec = {
|
|
|
28706
28884
|
},
|
|
28707
28885
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
28708
28886
|
type: 'object',
|
|
28887
|
+
'x-resource-type': 'access_code',
|
|
28709
28888
|
},
|
|
28710
28889
|
{
|
|
28711
28890
|
description: 'Failed to remove code from device.',
|
|
@@ -28736,6 +28915,7 @@ const openapi: OpenAPISpec = {
|
|
|
28736
28915
|
},
|
|
28737
28916
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
28738
28917
|
type: 'object',
|
|
28918
|
+
'x-resource-type': 'access_code',
|
|
28739
28919
|
},
|
|
28740
28920
|
{
|
|
28741
28921
|
description: 'Duplicate access code detected on device.',
|
|
@@ -28778,6 +28958,7 @@ const openapi: OpenAPISpec = {
|
|
|
28778
28958
|
},
|
|
28779
28959
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
28780
28960
|
type: 'object',
|
|
28961
|
+
'x-resource-type': 'access_code',
|
|
28781
28962
|
},
|
|
28782
28963
|
{
|
|
28783
28964
|
description:
|
|
@@ -28809,6 +28990,7 @@ const openapi: OpenAPISpec = {
|
|
|
28809
28990
|
},
|
|
28810
28991
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
28811
28992
|
type: 'object',
|
|
28993
|
+
'x-resource-type': 'access_code',
|
|
28812
28994
|
},
|
|
28813
28995
|
{
|
|
28814
28996
|
description: 'No space for access code on device.',
|
|
@@ -28839,6 +29021,7 @@ const openapi: OpenAPISpec = {
|
|
|
28839
29021
|
},
|
|
28840
29022
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
28841
29023
|
type: 'object',
|
|
29024
|
+
'x-resource-type': 'access_code',
|
|
28842
29025
|
},
|
|
28843
29026
|
{
|
|
28844
29027
|
description:
|
|
@@ -28870,6 +29053,7 @@ const openapi: OpenAPISpec = {
|
|
|
28870
29053
|
},
|
|
28871
29054
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
28872
29055
|
type: 'object',
|
|
29056
|
+
'x-resource-type': 'access_code',
|
|
28873
29057
|
},
|
|
28874
29058
|
{
|
|
28875
29059
|
description:
|
|
@@ -28933,6 +29117,7 @@ const openapi: OpenAPISpec = {
|
|
|
28933
29117
|
},
|
|
28934
29118
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
28935
29119
|
type: 'object',
|
|
29120
|
+
'x-resource-type': 'access_code',
|
|
28936
29121
|
},
|
|
28937
29122
|
{
|
|
28938
29123
|
description:
|
|
@@ -28964,6 +29149,7 @@ const openapi: OpenAPISpec = {
|
|
|
28964
29149
|
},
|
|
28965
29150
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
28966
29151
|
type: 'object',
|
|
29152
|
+
'x-resource-type': 'access_code',
|
|
28967
29153
|
},
|
|
28968
29154
|
{
|
|
28969
29155
|
deprecated: true,
|
|
@@ -28996,6 +29182,7 @@ const openapi: OpenAPISpec = {
|
|
|
28996
29182
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
28997
29183
|
type: 'object',
|
|
28998
29184
|
'x-deprecated': 'Use `access_code_inactive` instead.',
|
|
29185
|
+
'x-resource-type': 'access_code',
|
|
28999
29186
|
},
|
|
29000
29187
|
{
|
|
29001
29188
|
description:
|
|
@@ -29027,6 +29214,7 @@ const openapi: OpenAPISpec = {
|
|
|
29027
29214
|
},
|
|
29028
29215
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
29029
29216
|
type: 'object',
|
|
29217
|
+
'x-resource-type': 'access_code',
|
|
29030
29218
|
},
|
|
29031
29219
|
{
|
|
29032
29220
|
description:
|
|
@@ -29058,6 +29246,7 @@ const openapi: OpenAPISpec = {
|
|
|
29058
29246
|
},
|
|
29059
29247
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
29060
29248
|
type: 'object',
|
|
29249
|
+
'x-resource-type': 'access_code',
|
|
29061
29250
|
},
|
|
29062
29251
|
{
|
|
29063
29252
|
description: 'Indicates that the account is disconnected.',
|
|
@@ -29100,6 +29289,7 @@ const openapi: OpenAPISpec = {
|
|
|
29100
29289
|
'is_connected_account_error',
|
|
29101
29290
|
],
|
|
29102
29291
|
type: 'object',
|
|
29292
|
+
'x-resource-type': 'connected_account',
|
|
29103
29293
|
},
|
|
29104
29294
|
{
|
|
29105
29295
|
description:
|
|
@@ -29143,6 +29333,7 @@ const openapi: OpenAPISpec = {
|
|
|
29143
29333
|
'is_connected_account_error',
|
|
29144
29334
|
],
|
|
29145
29335
|
type: 'object',
|
|
29336
|
+
'x-resource-type': 'connected_account',
|
|
29146
29337
|
'x-variant-group-key': 'locks',
|
|
29147
29338
|
},
|
|
29148
29339
|
{
|
|
@@ -29181,6 +29372,7 @@ const openapi: OpenAPISpec = {
|
|
|
29181
29372
|
],
|
|
29182
29373
|
type: 'object',
|
|
29183
29374
|
'x-deprecated': 'Use `device_disconnected` instead.',
|
|
29375
|
+
'x-resource-type': 'device',
|
|
29184
29376
|
},
|
|
29185
29377
|
{
|
|
29186
29378
|
description: 'Indicates that the device has been removed.',
|
|
@@ -29216,6 +29408,7 @@ const openapi: OpenAPISpec = {
|
|
|
29216
29408
|
'error_code',
|
|
29217
29409
|
],
|
|
29218
29410
|
type: 'object',
|
|
29411
|
+
'x-resource-type': 'device',
|
|
29219
29412
|
},
|
|
29220
29413
|
{
|
|
29221
29414
|
description: 'Indicates that the hub is disconnected.',
|
|
@@ -29251,6 +29444,7 @@ const openapi: OpenAPISpec = {
|
|
|
29251
29444
|
'error_code',
|
|
29252
29445
|
],
|
|
29253
29446
|
type: 'object',
|
|
29447
|
+
'x-resource-type': 'device',
|
|
29254
29448
|
},
|
|
29255
29449
|
{
|
|
29256
29450
|
description: 'Indicates that the device is disconnected.',
|
|
@@ -29286,6 +29480,7 @@ const openapi: OpenAPISpec = {
|
|
|
29286
29480
|
'error_code',
|
|
29287
29481
|
],
|
|
29288
29482
|
type: 'object',
|
|
29483
|
+
'x-resource-type': 'device',
|
|
29289
29484
|
},
|
|
29290
29485
|
{
|
|
29291
29486
|
description:
|
|
@@ -29322,6 +29517,7 @@ const openapi: OpenAPISpec = {
|
|
|
29322
29517
|
'error_code',
|
|
29323
29518
|
],
|
|
29324
29519
|
type: 'object',
|
|
29520
|
+
'x-resource-type': 'device',
|
|
29325
29521
|
'x-variant-group-key': 'access_codes',
|
|
29326
29522
|
},
|
|
29327
29523
|
{
|
|
@@ -29359,6 +29555,7 @@ const openapi: OpenAPISpec = {
|
|
|
29359
29555
|
'error_code',
|
|
29360
29556
|
],
|
|
29361
29557
|
type: 'object',
|
|
29558
|
+
'x-resource-type': 'device',
|
|
29362
29559
|
'x-variant-group-key': 'locks',
|
|
29363
29560
|
},
|
|
29364
29561
|
{
|
|
@@ -29398,6 +29595,7 @@ const openapi: OpenAPISpec = {
|
|
|
29398
29595
|
],
|
|
29399
29596
|
type: 'object',
|
|
29400
29597
|
'x-deprecated': 'Use `hub_disconnected` instead.',
|
|
29598
|
+
'x-resource-type': 'device',
|
|
29401
29599
|
'x-variant-group-key': 'locks',
|
|
29402
29600
|
},
|
|
29403
29601
|
{
|
|
@@ -29437,6 +29635,7 @@ const openapi: OpenAPISpec = {
|
|
|
29437
29635
|
],
|
|
29438
29636
|
type: 'object',
|
|
29439
29637
|
'x-deprecated': 'Use `hub_disconnected` instead.',
|
|
29638
|
+
'x-resource-type': 'device',
|
|
29440
29639
|
},
|
|
29441
29640
|
{
|
|
29442
29641
|
description: 'Indicates that device credentials are missing.',
|
|
@@ -29472,6 +29671,7 @@ const openapi: OpenAPISpec = {
|
|
|
29472
29671
|
'error_code',
|
|
29473
29672
|
],
|
|
29474
29673
|
type: 'object',
|
|
29674
|
+
'x-resource-type': 'device',
|
|
29475
29675
|
},
|
|
29476
29676
|
{
|
|
29477
29677
|
description: 'Indicates that the auxiliary heat is running.',
|
|
@@ -29507,6 +29707,7 @@ const openapi: OpenAPISpec = {
|
|
|
29507
29707
|
'error_code',
|
|
29508
29708
|
],
|
|
29509
29709
|
type: 'object',
|
|
29710
|
+
'x-resource-type': 'device',
|
|
29510
29711
|
'x-variant-group-key': 'thermostats',
|
|
29511
29712
|
},
|
|
29512
29713
|
{
|
|
@@ -29544,6 +29745,7 @@ const openapi: OpenAPISpec = {
|
|
|
29544
29745
|
'error_code',
|
|
29545
29746
|
],
|
|
29546
29747
|
type: 'object',
|
|
29748
|
+
'x-resource-type': 'device',
|
|
29547
29749
|
},
|
|
29548
29750
|
{
|
|
29549
29751
|
deprecated: true,
|
|
@@ -29582,6 +29784,7 @@ const openapi: OpenAPISpec = {
|
|
|
29582
29784
|
],
|
|
29583
29785
|
type: 'object',
|
|
29584
29786
|
'x-deprecated': 'Use `hub_disconnected` instead.',
|
|
29787
|
+
'x-resource-type': 'device',
|
|
29585
29788
|
},
|
|
29586
29789
|
{
|
|
29587
29790
|
description:
|
|
@@ -29617,6 +29820,7 @@ const openapi: OpenAPISpec = {
|
|
|
29617
29820
|
},
|
|
29618
29821
|
required: ['created_at', 'message', 'error_code'],
|
|
29619
29822
|
type: 'object',
|
|
29823
|
+
'x-resource-type': 'connected_account',
|
|
29620
29824
|
},
|
|
29621
29825
|
{
|
|
29622
29826
|
description:
|
|
@@ -29652,6 +29856,7 @@ const openapi: OpenAPISpec = {
|
|
|
29652
29856
|
},
|
|
29653
29857
|
required: ['created_at', 'message', 'error_code'],
|
|
29654
29858
|
type: 'object',
|
|
29859
|
+
'x-resource-type': 'connected_account',
|
|
29655
29860
|
},
|
|
29656
29861
|
],
|
|
29657
29862
|
},
|
|
@@ -30169,6 +30374,7 @@ const openapi: OpenAPISpec = {
|
|
|
30169
30374
|
},
|
|
30170
30375
|
required: ['created_at', 'message', 'error_code'],
|
|
30171
30376
|
type: 'object',
|
|
30377
|
+
'x-resource-type': 'acs_access_group',
|
|
30172
30378
|
},
|
|
30173
30379
|
],
|
|
30174
30380
|
},
|
|
@@ -31165,6 +31371,7 @@ const openapi: OpenAPISpec = {
|
|
|
31165
31371
|
},
|
|
31166
31372
|
required: ['created_at', 'message', 'error_code'],
|
|
31167
31373
|
type: 'object',
|
|
31374
|
+
'x-resource-type': 'acs_user',
|
|
31168
31375
|
},
|
|
31169
31376
|
{
|
|
31170
31377
|
description:
|
|
@@ -31188,6 +31395,7 @@ const openapi: OpenAPISpec = {
|
|
|
31188
31395
|
},
|
|
31189
31396
|
required: ['created_at', 'message', 'error_code'],
|
|
31190
31397
|
type: 'object',
|
|
31398
|
+
'x-resource-type': 'acs_user',
|
|
31191
31399
|
},
|
|
31192
31400
|
{
|
|
31193
31401
|
description:
|
|
@@ -31211,6 +31419,7 @@ const openapi: OpenAPISpec = {
|
|
|
31211
31419
|
},
|
|
31212
31420
|
required: ['created_at', 'message', 'error_code'],
|
|
31213
31421
|
type: 'object',
|
|
31422
|
+
'x-resource-type': 'acs_user',
|
|
31214
31423
|
},
|
|
31215
31424
|
{
|
|
31216
31425
|
description:
|
|
@@ -31234,6 +31443,7 @@ const openapi: OpenAPISpec = {
|
|
|
31234
31443
|
},
|
|
31235
31444
|
required: ['created_at', 'message', 'error_code'],
|
|
31236
31445
|
type: 'object',
|
|
31446
|
+
'x-resource-type': 'acs_user',
|
|
31237
31447
|
},
|
|
31238
31448
|
{
|
|
31239
31449
|
description:
|
|
@@ -31257,6 +31467,7 @@ const openapi: OpenAPISpec = {
|
|
|
31257
31467
|
},
|
|
31258
31468
|
required: ['created_at', 'message', 'error_code'],
|
|
31259
31469
|
type: 'object',
|
|
31470
|
+
'x-resource-type': 'acs_user',
|
|
31260
31471
|
},
|
|
31261
31472
|
{
|
|
31262
31473
|
description:
|
|
@@ -31280,6 +31491,7 @@ const openapi: OpenAPISpec = {
|
|
|
31280
31491
|
},
|
|
31281
31492
|
required: ['created_at', 'message', 'error_code'],
|
|
31282
31493
|
type: 'object',
|
|
31494
|
+
'x-resource-type': 'acs_user',
|
|
31283
31495
|
},
|
|
31284
31496
|
],
|
|
31285
31497
|
},
|
|
@@ -32190,6 +32402,7 @@ const openapi: OpenAPISpec = {
|
|
|
32190
32402
|
'is_connected_account_error',
|
|
32191
32403
|
],
|
|
32192
32404
|
type: 'object',
|
|
32405
|
+
'x-resource-type': 'connected_account',
|
|
32193
32406
|
},
|
|
32194
32407
|
{
|
|
32195
32408
|
description:
|
|
@@ -32233,6 +32446,7 @@ const openapi: OpenAPISpec = {
|
|
|
32233
32446
|
'is_connected_account_error',
|
|
32234
32447
|
],
|
|
32235
32448
|
type: 'object',
|
|
32449
|
+
'x-resource-type': 'connected_account',
|
|
32236
32450
|
'x-variant-group-key': 'locks',
|
|
32237
32451
|
},
|
|
32238
32452
|
{
|
|
@@ -32271,6 +32485,7 @@ const openapi: OpenAPISpec = {
|
|
|
32271
32485
|
],
|
|
32272
32486
|
type: 'object',
|
|
32273
32487
|
'x-deprecated': 'Use `device_disconnected` instead.',
|
|
32488
|
+
'x-resource-type': 'device',
|
|
32274
32489
|
},
|
|
32275
32490
|
{
|
|
32276
32491
|
description: 'Indicates that the device has been removed.',
|
|
@@ -32306,6 +32521,7 @@ const openapi: OpenAPISpec = {
|
|
|
32306
32521
|
'error_code',
|
|
32307
32522
|
],
|
|
32308
32523
|
type: 'object',
|
|
32524
|
+
'x-resource-type': 'device',
|
|
32309
32525
|
},
|
|
32310
32526
|
{
|
|
32311
32527
|
description: 'Indicates that the hub is disconnected.',
|
|
@@ -32341,6 +32557,7 @@ const openapi: OpenAPISpec = {
|
|
|
32341
32557
|
'error_code',
|
|
32342
32558
|
],
|
|
32343
32559
|
type: 'object',
|
|
32560
|
+
'x-resource-type': 'device',
|
|
32344
32561
|
},
|
|
32345
32562
|
{
|
|
32346
32563
|
description: 'Indicates that the device is disconnected.',
|
|
@@ -32376,6 +32593,7 @@ const openapi: OpenAPISpec = {
|
|
|
32376
32593
|
'error_code',
|
|
32377
32594
|
],
|
|
32378
32595
|
type: 'object',
|
|
32596
|
+
'x-resource-type': 'device',
|
|
32379
32597
|
},
|
|
32380
32598
|
{
|
|
32381
32599
|
description:
|
|
@@ -32412,6 +32630,7 @@ const openapi: OpenAPISpec = {
|
|
|
32412
32630
|
'error_code',
|
|
32413
32631
|
],
|
|
32414
32632
|
type: 'object',
|
|
32633
|
+
'x-resource-type': 'device',
|
|
32415
32634
|
'x-variant-group-key': 'access_codes',
|
|
32416
32635
|
},
|
|
32417
32636
|
{
|
|
@@ -32449,6 +32668,7 @@ const openapi: OpenAPISpec = {
|
|
|
32449
32668
|
'error_code',
|
|
32450
32669
|
],
|
|
32451
32670
|
type: 'object',
|
|
32671
|
+
'x-resource-type': 'device',
|
|
32452
32672
|
'x-variant-group-key': 'locks',
|
|
32453
32673
|
},
|
|
32454
32674
|
{
|
|
@@ -32488,6 +32708,7 @@ const openapi: OpenAPISpec = {
|
|
|
32488
32708
|
],
|
|
32489
32709
|
type: 'object',
|
|
32490
32710
|
'x-deprecated': 'Use `hub_disconnected` instead.',
|
|
32711
|
+
'x-resource-type': 'device',
|
|
32491
32712
|
'x-variant-group-key': 'locks',
|
|
32492
32713
|
},
|
|
32493
32714
|
{
|
|
@@ -32527,6 +32748,7 @@ const openapi: OpenAPISpec = {
|
|
|
32527
32748
|
],
|
|
32528
32749
|
type: 'object',
|
|
32529
32750
|
'x-deprecated': 'Use `hub_disconnected` instead.',
|
|
32751
|
+
'x-resource-type': 'device',
|
|
32530
32752
|
},
|
|
32531
32753
|
{
|
|
32532
32754
|
description: 'Indicates that device credentials are missing.',
|
|
@@ -32562,6 +32784,7 @@ const openapi: OpenAPISpec = {
|
|
|
32562
32784
|
'error_code',
|
|
32563
32785
|
],
|
|
32564
32786
|
type: 'object',
|
|
32787
|
+
'x-resource-type': 'device',
|
|
32565
32788
|
},
|
|
32566
32789
|
{
|
|
32567
32790
|
description: 'Indicates that the auxiliary heat is running.',
|
|
@@ -32597,6 +32820,7 @@ const openapi: OpenAPISpec = {
|
|
|
32597
32820
|
'error_code',
|
|
32598
32821
|
],
|
|
32599
32822
|
type: 'object',
|
|
32823
|
+
'x-resource-type': 'device',
|
|
32600
32824
|
'x-variant-group-key': 'thermostats',
|
|
32601
32825
|
},
|
|
32602
32826
|
{
|
|
@@ -32634,6 +32858,7 @@ const openapi: OpenAPISpec = {
|
|
|
32634
32858
|
'error_code',
|
|
32635
32859
|
],
|
|
32636
32860
|
type: 'object',
|
|
32861
|
+
'x-resource-type': 'device',
|
|
32637
32862
|
},
|
|
32638
32863
|
{
|
|
32639
32864
|
deprecated: true,
|
|
@@ -32672,6 +32897,7 @@ const openapi: OpenAPISpec = {
|
|
|
32672
32897
|
],
|
|
32673
32898
|
type: 'object',
|
|
32674
32899
|
'x-deprecated': 'Use `hub_disconnected` instead.',
|
|
32900
|
+
'x-resource-type': 'device',
|
|
32675
32901
|
},
|
|
32676
32902
|
{
|
|
32677
32903
|
description:
|
|
@@ -32707,6 +32933,7 @@ const openapi: OpenAPISpec = {
|
|
|
32707
32933
|
},
|
|
32708
32934
|
required: ['created_at', 'message', 'error_code'],
|
|
32709
32935
|
type: 'object',
|
|
32936
|
+
'x-resource-type': 'connected_account',
|
|
32710
32937
|
},
|
|
32711
32938
|
{
|
|
32712
32939
|
description:
|
|
@@ -32742,6 +32969,7 @@ const openapi: OpenAPISpec = {
|
|
|
32742
32969
|
},
|
|
32743
32970
|
required: ['created_at', 'message', 'error_code'],
|
|
32744
32971
|
type: 'object',
|
|
32972
|
+
'x-resource-type': 'connected_account',
|
|
32745
32973
|
},
|
|
32746
32974
|
],
|
|
32747
32975
|
},
|
|
@@ -60575,6 +60803,7 @@ const openapi: OpenAPISpec = {
|
|
|
60575
60803
|
'access_code.name_changed',
|
|
60576
60804
|
'access_code.code_changed',
|
|
60577
60805
|
'access_code.time_frame_changed',
|
|
60806
|
+
'access_code.mutations_requested',
|
|
60578
60807
|
'access_code.scheduled_on_device',
|
|
60579
60808
|
'access_code.set_on_device',
|
|
60580
60809
|
'access_code.removed_from_device',
|
|
@@ -60692,6 +60921,7 @@ const openapi: OpenAPISpec = {
|
|
|
60692
60921
|
'access_code.name_changed',
|
|
60693
60922
|
'access_code.code_changed',
|
|
60694
60923
|
'access_code.time_frame_changed',
|
|
60924
|
+
'access_code.mutations_requested',
|
|
60695
60925
|
'access_code.scheduled_on_device',
|
|
60696
60926
|
'access_code.set_on_device',
|
|
60697
60927
|
'access_code.removed_from_device',
|
|
@@ -61142,6 +61372,7 @@ const openapi: OpenAPISpec = {
|
|
|
61142
61372
|
'access_code.name_changed',
|
|
61143
61373
|
'access_code.code_changed',
|
|
61144
61374
|
'access_code.time_frame_changed',
|
|
61375
|
+
'access_code.mutations_requested',
|
|
61145
61376
|
'access_code.scheduled_on_device',
|
|
61146
61377
|
'access_code.set_on_device',
|
|
61147
61378
|
'access_code.removed_from_device',
|
|
@@ -61255,6 +61486,7 @@ const openapi: OpenAPISpec = {
|
|
|
61255
61486
|
'access_code.name_changed',
|
|
61256
61487
|
'access_code.code_changed',
|
|
61257
61488
|
'access_code.time_frame_changed',
|
|
61489
|
+
'access_code.mutations_requested',
|
|
61258
61490
|
'access_code.scheduled_on_device',
|
|
61259
61491
|
'access_code.set_on_device',
|
|
61260
61492
|
'access_code.removed_from_device',
|
|
@@ -71526,6 +71758,7 @@ const openapi: OpenAPISpec = {
|
|
|
71526
71758
|
'access_code.name_changed',
|
|
71527
71759
|
'access_code.code_changed',
|
|
71528
71760
|
'access_code.time_frame_changed',
|
|
71761
|
+
'access_code.mutations_requested',
|
|
71529
71762
|
'access_code.scheduled_on_device',
|
|
71530
71763
|
'access_code.set_on_device',
|
|
71531
71764
|
'access_code.removed_from_device',
|
|
@@ -71644,6 +71877,7 @@ const openapi: OpenAPISpec = {
|
|
|
71644
71877
|
'access_code.name_changed',
|
|
71645
71878
|
'access_code.code_changed',
|
|
71646
71879
|
'access_code.time_frame_changed',
|
|
71880
|
+
'access_code.mutations_requested',
|
|
71647
71881
|
'access_code.scheduled_on_device',
|
|
71648
71882
|
'access_code.set_on_device',
|
|
71649
71883
|
'access_code.removed_from_device',
|
|
@@ -71825,6 +72059,7 @@ const openapi: OpenAPISpec = {
|
|
|
71825
72059
|
'access_code.name_changed',
|
|
71826
72060
|
'access_code.code_changed',
|
|
71827
72061
|
'access_code.time_frame_changed',
|
|
72062
|
+
'access_code.mutations_requested',
|
|
71828
72063
|
'access_code.scheduled_on_device',
|
|
71829
72064
|
'access_code.set_on_device',
|
|
71830
72065
|
'access_code.removed_from_device',
|
|
@@ -71938,6 +72173,7 @@ const openapi: OpenAPISpec = {
|
|
|
71938
72173
|
'access_code.name_changed',
|
|
71939
72174
|
'access_code.code_changed',
|
|
71940
72175
|
'access_code.time_frame_changed',
|
|
72176
|
+
'access_code.mutations_requested',
|
|
71941
72177
|
'access_code.scheduled_on_device',
|
|
71942
72178
|
'access_code.set_on_device',
|
|
71943
72179
|
'access_code.removed_from_device',
|