@seamapi/types 1.918.0 → 1.919.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.
Files changed (29) hide show
  1. package/dist/connect.cjs +450 -184
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/index.cjs +450 -184
  4. package/dist/index.cjs.map +1 -1
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +78 -44
  6. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  7. package/lib/seam/connect/models/acs/acs-access-group.js +7 -4
  8. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  9. package/lib/seam/connect/models/acs/acs-encoder.js +7 -3
  10. package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
  11. package/lib/seam/connect/models/acs/acs-system.js +58 -31
  12. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  13. package/lib/seam/connect/models/acs/acs-users/acs-user.js +42 -24
  14. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
  15. package/lib/seam/connect/models/connected-accounts/connected-account.js +29 -19
  16. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  17. package/lib/seam/connect/models/devices/device.js +51 -27
  18. package/lib/seam/connect/models/devices/device.js.map +1 -1
  19. package/lib/seam/connect/openapi.js +118 -3
  20. package/lib/seam/connect/openapi.js.map +1 -1
  21. package/package.json +1 -1
  22. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +136 -114
  23. package/src/lib/seam/connect/models/acs/acs-access-group.ts +10 -9
  24. package/src/lib/seam/connect/models/acs/acs-encoder.ts +7 -5
  25. package/src/lib/seam/connect/models/acs/acs-system.ts +73 -56
  26. package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +48 -40
  27. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +78 -73
  28. package/src/lib/seam/connect/models/devices/device.ts +70 -46
  29. package/src/lib/seam/connect/openapi.ts +118 -3
@@ -107,6 +107,7 @@ const openapi = {
107
107
  },
108
108
  required: ['message', 'is_access_code_error', 'error_code'],
109
109
  type: 'object',
110
+ 'x-resource-type': 'access_code',
110
111
  },
111
112
  {
112
113
  description: 'Failed to set code on device.',
@@ -133,6 +134,7 @@ const openapi = {
133
134
  },
134
135
  required: ['message', 'is_access_code_error', 'error_code'],
135
136
  type: 'object',
137
+ 'x-resource-type': 'access_code',
136
138
  },
137
139
  {
138
140
  description: 'Failed to remove code from device.',
@@ -159,6 +161,7 @@ const openapi = {
159
161
  },
160
162
  required: ['message', 'is_access_code_error', 'error_code'],
161
163
  type: 'object',
164
+ 'x-resource-type': 'access_code',
162
165
  },
163
166
  {
164
167
  description: 'Duplicate access code detected on device.',
@@ -195,6 +198,7 @@ const openapi = {
195
198
  },
196
199
  required: ['message', 'is_access_code_error', 'error_code'],
197
200
  type: 'object',
201
+ 'x-resource-type': 'access_code',
198
202
  },
199
203
  {
200
204
  description: 'An attempt to modify this access code was prevented.',
@@ -221,6 +225,7 @@ const openapi = {
221
225
  },
222
226
  required: ['message', 'is_access_code_error', 'error_code'],
223
227
  type: 'object',
228
+ 'x-resource-type': 'access_code',
224
229
  },
225
230
  {
226
231
  description: 'No space for access code on device.',
@@ -247,6 +252,7 @@ const openapi = {
247
252
  },
248
253
  required: ['message', 'is_access_code_error', 'error_code'],
249
254
  type: 'object',
255
+ 'x-resource-type': 'access_code',
250
256
  },
251
257
  {
252
258
  description: 'Indicates that the provider cannot confirm whether the access code was set or removed on the device.',
@@ -273,6 +279,7 @@ const openapi = {
273
279
  },
274
280
  required: ['message', 'is_access_code_error', 'error_code'],
275
281
  type: 'object',
282
+ 'x-resource-type': 'access_code',
276
283
  },
277
284
  {
278
285
  description: 'Code was modified or removed externally after Seam successfully set it on the device.',
@@ -328,6 +335,7 @@ const openapi = {
328
335
  },
329
336
  required: ['message', 'is_access_code_error', 'error_code'],
330
337
  type: 'object',
338
+ 'x-resource-type': 'access_code',
331
339
  },
332
340
  {
333
341
  description: 'Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.',
@@ -354,6 +362,7 @@ const openapi = {
354
362
  },
355
363
  required: ['message', 'is_access_code_error', 'error_code'],
356
364
  type: 'object',
365
+ 'x-resource-type': 'access_code',
357
366
  },
358
367
  {
359
368
  deprecated: true,
@@ -382,6 +391,7 @@ const openapi = {
382
391
  required: ['message', 'is_access_code_error', 'error_code'],
383
392
  type: 'object',
384
393
  'x-deprecated': 'Use `access_code_inactive` instead.',
394
+ 'x-resource-type': 'access_code',
385
395
  },
386
396
  {
387
397
  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.',
@@ -408,6 +418,7 @@ const openapi = {
408
418
  },
409
419
  required: ['message', 'is_access_code_error', 'error_code'],
410
420
  type: 'object',
421
+ 'x-resource-type': 'access_code',
411
422
  },
412
423
  {
413
424
  description: 'This access code was overridden on the device by a newer access code programmed to the same slot.',
@@ -434,6 +445,7 @@ const openapi = {
434
445
  },
435
446
  required: ['message', 'is_access_code_error', 'error_code'],
436
447
  type: 'object',
448
+ 'x-resource-type': 'access_code',
437
449
  },
438
450
  {
439
451
  description: 'Indicates that the account is disconnected.',
@@ -471,6 +483,7 @@ const openapi = {
471
483
  'is_connected_account_error',
472
484
  ],
473
485
  type: 'object',
486
+ 'x-resource-type': 'connected_account',
474
487
  },
475
488
  {
476
489
  description: 'Indicates that the Salto site user limit has been reached.',
@@ -508,6 +521,7 @@ const openapi = {
508
521
  'is_connected_account_error',
509
522
  ],
510
523
  type: 'object',
524
+ 'x-resource-type': 'connected_account',
511
525
  'x-variant-group-key': 'locks',
512
526
  },
513
527
  {
@@ -542,6 +556,7 @@ const openapi = {
542
556
  ],
543
557
  type: 'object',
544
558
  'x-deprecated': 'Use `device_disconnected` instead.',
559
+ 'x-resource-type': 'device',
545
560
  },
546
561
  {
547
562
  description: 'Indicates that the device has been removed.',
@@ -573,6 +588,7 @@ const openapi = {
573
588
  'error_code',
574
589
  ],
575
590
  type: 'object',
591
+ 'x-resource-type': 'device',
576
592
  },
577
593
  {
578
594
  description: 'Indicates that the hub is disconnected.',
@@ -604,6 +620,7 @@ const openapi = {
604
620
  'error_code',
605
621
  ],
606
622
  type: 'object',
623
+ 'x-resource-type': 'device',
607
624
  },
608
625
  {
609
626
  description: 'Indicates that the device is disconnected.',
@@ -635,6 +652,7 @@ const openapi = {
635
652
  'error_code',
636
653
  ],
637
654
  type: 'object',
655
+ 'x-resource-type': 'device',
638
656
  },
639
657
  {
640
658
  description: 'Indicates that the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is empty.',
@@ -666,6 +684,7 @@ const openapi = {
666
684
  'error_code',
667
685
  ],
668
686
  type: 'object',
687
+ 'x-resource-type': 'device',
669
688
  'x-variant-group-key': 'access_codes',
670
689
  },
671
690
  {
@@ -698,6 +717,7 @@ const openapi = {
698
717
  'error_code',
699
718
  ],
700
719
  type: 'object',
720
+ 'x-resource-type': 'device',
701
721
  'x-variant-group-key': 'locks',
702
722
  },
703
723
  {
@@ -732,6 +752,7 @@ const openapi = {
732
752
  ],
733
753
  type: 'object',
734
754
  'x-deprecated': 'Use `hub_disconnected` instead.',
755
+ 'x-resource-type': 'device',
735
756
  'x-variant-group-key': 'locks',
736
757
  },
737
758
  {
@@ -766,6 +787,7 @@ const openapi = {
766
787
  ],
767
788
  type: 'object',
768
789
  'x-deprecated': 'Use `hub_disconnected` instead.',
790
+ 'x-resource-type': 'device',
769
791
  },
770
792
  {
771
793
  description: 'Indicates that device credentials are missing.',
@@ -797,6 +819,7 @@ const openapi = {
797
819
  'error_code',
798
820
  ],
799
821
  type: 'object',
822
+ 'x-resource-type': 'device',
800
823
  },
801
824
  {
802
825
  description: 'Indicates that the auxiliary heat is running.',
@@ -828,6 +851,7 @@ const openapi = {
828
851
  'error_code',
829
852
  ],
830
853
  type: 'object',
854
+ 'x-resource-type': 'device',
831
855
  'x-variant-group-key': 'thermostats',
832
856
  },
833
857
  {
@@ -860,6 +884,7 @@ const openapi = {
860
884
  'error_code',
861
885
  ],
862
886
  type: 'object',
887
+ 'x-resource-type': 'device',
863
888
  },
864
889
  {
865
890
  deprecated: true,
@@ -893,6 +918,7 @@ const openapi = {
893
918
  ],
894
919
  type: 'object',
895
920
  'x-deprecated': 'Use `hub_disconnected` instead.',
921
+ 'x-resource-type': 'device',
896
922
  },
897
923
  {
898
924
  description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See 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).',
@@ -922,6 +948,7 @@ const openapi = {
922
948
  },
923
949
  required: ['created_at', 'message', 'error_code'],
924
950
  type: 'object',
951
+ 'x-resource-type': 'connected_account',
925
952
  },
926
953
  {
927
954
  description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
@@ -951,6 +978,7 @@ const openapi = {
951
978
  },
952
979
  required: ['created_at', 'message', 'error_code'],
953
980
  type: 'object',
981
+ 'x-resource-type': 'connected_account',
954
982
  },
955
983
  ],
956
984
  },
@@ -2596,6 +2624,7 @@ const openapi = {
2596
2624
  },
2597
2625
  required: ['created_at', 'message', 'error_code'],
2598
2626
  type: 'object',
2627
+ 'x-resource-type': 'acs_access_group',
2599
2628
  },
2600
2629
  ],
2601
2630
  },
@@ -3500,6 +3529,7 @@ const openapi = {
3500
3529
  },
3501
3530
  required: ['created_at', 'message', 'error_code'],
3502
3531
  type: 'object',
3532
+ 'x-resource-type': 'acs_encoder',
3503
3533
  },
3504
3534
  type: 'array',
3505
3535
  },
@@ -4032,7 +4062,7 @@ const openapi = {
4032
4062
  discriminator: { propertyName: 'error_code' },
4033
4063
  oneOf: [
4034
4064
  {
4035
- description: '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.\n This error might also occur if Seam Bridge is connected to the wrong [workspace](https://docs.seam.co/core-concepts/workspaces).\n See 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).',
4065
+ description: '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).',
4036
4066
  properties: {
4037
4067
  created_at: {
4038
4068
  description: 'Date and time at which Seam created the error.',
@@ -4051,9 +4081,10 @@ const openapi = {
4051
4081
  },
4052
4082
  required: ['created_at', 'message', 'error_code'],
4053
4083
  type: 'object',
4084
+ 'x-resource-type': 'acs_system',
4054
4085
  },
4055
4086
  {
4056
- description: '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.\n See 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).',
4087
+ description: '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).',
4057
4088
  properties: {
4058
4089
  created_at: {
4059
4090
  description: 'Date and time at which Seam created the error.',
@@ -4076,9 +4107,10 @@ const openapi = {
4076
4107
  },
4077
4108
  required: ['created_at', 'message', 'error_code'],
4078
4109
  type: 'object',
4110
+ 'x-resource-type': 'acs_system',
4079
4111
  },
4080
4112
  {
4081
- description: '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).\n For 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).\n See 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).',
4113
+ description: '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).',
4082
4114
  properties: {
4083
4115
  created_at: {
4084
4116
  description: 'Date and time at which Seam created the error.',
@@ -4097,6 +4129,7 @@ const openapi = {
4097
4129
  },
4098
4130
  required: ['created_at', 'message', 'error_code'],
4099
4131
  type: 'object',
4132
+ 'x-resource-type': 'acs_system',
4100
4133
  },
4101
4134
  {
4102
4135
  description: 'Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.',
@@ -4118,6 +4151,7 @@ const openapi = {
4118
4151
  },
4119
4152
  required: ['created_at', 'message', 'error_code'],
4120
4153
  type: 'object',
4154
+ 'x-resource-type': 'acs_system',
4121
4155
  },
4122
4156
  {
4123
4157
  description: 'Indicates that the [access control system](https://docs.seam.co/low-level-apis/access-systems) has been disconnected. See [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system) to resolve the issue.',
@@ -4139,6 +4173,7 @@ const openapi = {
4139
4173
  },
4140
4174
  required: ['created_at', 'message', 'error_code'],
4141
4175
  type: 'object',
4176
+ 'x-resource-type': 'acs_system',
4142
4177
  },
4143
4178
  {
4144
4179
  description: 'Indicates that the login credentials are invalid. Reconnect the account using a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews) to restore access.',
@@ -4160,6 +4195,7 @@ const openapi = {
4160
4195
  },
4161
4196
  required: ['created_at', 'message', 'error_code'],
4162
4197
  type: 'object',
4198
+ 'x-resource-type': 'acs_system',
4163
4199
  },
4164
4200
  {
4165
4201
  description: 'Indicates that the [access control system](https://docs.seam.co/low-level-apis/access-systems) has lost its Salto KS certification. Contact [support](mailto:support@seam.co) to regain access.',
@@ -4181,6 +4217,7 @@ const openapi = {
4181
4217
  },
4182
4218
  required: ['created_at', 'message', 'error_code'],
4183
4219
  type: 'object',
4220
+ 'x-resource-type': 'acs_system',
4184
4221
  },
4185
4222
  {
4186
4223
  description: "Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again.",
@@ -4202,6 +4239,7 @@ const openapi = {
4202
4239
  },
4203
4240
  required: ['created_at', 'message', 'error_code'],
4204
4241
  type: 'object',
4242
+ 'x-resource-type': 'acs_system',
4205
4243
  },
4206
4244
  ],
4207
4245
  },
@@ -4489,6 +4527,7 @@ const openapi = {
4489
4527
  },
4490
4528
  required: ['created_at', 'message', 'error_code'],
4491
4529
  type: 'object',
4530
+ 'x-resource-type': 'acs_user',
4492
4531
  },
4493
4532
  {
4494
4533
  description: 'Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) could not be subscribed on Salto KS because the subscription limit has been exceeded.',
@@ -4509,6 +4548,7 @@ const openapi = {
4509
4548
  },
4510
4549
  required: ['created_at', 'message', 'error_code'],
4511
4550
  type: 'object',
4551
+ 'x-resource-type': 'acs_user',
4512
4552
  },
4513
4553
  {
4514
4554
  description: 'Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not created on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).',
@@ -4529,6 +4569,7 @@ const openapi = {
4529
4569
  },
4530
4570
  required: ['created_at', 'message', 'error_code'],
4531
4571
  type: 'object',
4572
+ 'x-resource-type': 'acs_user',
4532
4573
  },
4533
4574
  {
4534
4575
  description: 'Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not updated on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).',
@@ -4549,6 +4590,7 @@ const openapi = {
4549
4590
  },
4550
4591
  required: ['created_at', 'message', 'error_code'],
4551
4592
  type: 'object',
4593
+ 'x-resource-type': 'acs_user',
4552
4594
  },
4553
4595
  {
4554
4596
  description: 'Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not deleted on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).',
@@ -4569,6 +4611,7 @@ const openapi = {
4569
4611
  },
4570
4612
  required: ['created_at', 'message', 'error_code'],
4571
4613
  type: 'object',
4614
+ 'x-resource-type': 'acs_user',
4572
4615
  },
4573
4616
  {
4574
4617
  description: 'Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was created from the Seam API but also exists on Mission Control. This is unsupported. Contact Seam [support](mailto:support@seam.co).',
@@ -4589,6 +4632,7 @@ const openapi = {
4589
4632
  },
4590
4633
  required: ['created_at', 'message', 'error_code'],
4591
4634
  type: 'object',
4635
+ 'x-resource-type': 'acs_user',
4592
4636
  },
4593
4637
  ],
4594
4638
  },
@@ -10800,6 +10844,7 @@ const openapi = {
10800
10844
  },
10801
10845
  required: ['created_at', 'message', 'error_code'],
10802
10846
  type: 'object',
10847
+ 'x-resource-type': 'connected_account',
10803
10848
  },
10804
10849
  {
10805
10850
  description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See 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).',
@@ -10829,6 +10874,7 @@ const openapi = {
10829
10874
  },
10830
10875
  required: ['created_at', 'message', 'error_code'],
10831
10876
  type: 'object',
10877
+ 'x-resource-type': 'connected_account',
10832
10878
  },
10833
10879
  {
10834
10880
  description: 'Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.',
@@ -10904,6 +10950,7 @@ const openapi = {
10904
10950
  'salto_ks_metadata',
10905
10951
  ],
10906
10952
  type: 'object',
10953
+ 'x-resource-type': 'connected_account',
10907
10954
  },
10908
10955
  {
10909
10956
  description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
@@ -10933,6 +10980,7 @@ const openapi = {
10933
10980
  },
10934
10981
  required: ['created_at', 'message', 'error_code'],
10935
10982
  type: 'object',
10983
+ 'x-resource-type': 'connected_account',
10936
10984
  },
10937
10985
  ],
10938
10986
  },
@@ -11609,6 +11657,7 @@ const openapi = {
11609
11657
  'is_connected_account_error',
11610
11658
  ],
11611
11659
  type: 'object',
11660
+ 'x-resource-type': 'connected_account',
11612
11661
  },
11613
11662
  {
11614
11663
  description: 'Indicates that the Salto site user limit has been reached.',
@@ -11646,6 +11695,7 @@ const openapi = {
11646
11695
  'is_connected_account_error',
11647
11696
  ],
11648
11697
  type: 'object',
11698
+ 'x-resource-type': 'connected_account',
11649
11699
  'x-variant-group-key': 'locks',
11650
11700
  },
11651
11701
  {
@@ -11680,6 +11730,7 @@ const openapi = {
11680
11730
  ],
11681
11731
  type: 'object',
11682
11732
  'x-deprecated': 'Use `device_disconnected` instead.',
11733
+ 'x-resource-type': 'device',
11683
11734
  },
11684
11735
  {
11685
11736
  description: 'Indicates that the device has been removed.',
@@ -11711,6 +11762,7 @@ const openapi = {
11711
11762
  'error_code',
11712
11763
  ],
11713
11764
  type: 'object',
11765
+ 'x-resource-type': 'device',
11714
11766
  },
11715
11767
  {
11716
11768
  description: 'Indicates that the hub is disconnected.',
@@ -11742,6 +11794,7 @@ const openapi = {
11742
11794
  'error_code',
11743
11795
  ],
11744
11796
  type: 'object',
11797
+ 'x-resource-type': 'device',
11745
11798
  },
11746
11799
  {
11747
11800
  description: 'Indicates that the device is disconnected.',
@@ -11773,6 +11826,7 @@ const openapi = {
11773
11826
  'error_code',
11774
11827
  ],
11775
11828
  type: 'object',
11829
+ 'x-resource-type': 'device',
11776
11830
  },
11777
11831
  {
11778
11832
  description: 'Indicates that the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is empty.',
@@ -11804,6 +11858,7 @@ const openapi = {
11804
11858
  'error_code',
11805
11859
  ],
11806
11860
  type: 'object',
11861
+ 'x-resource-type': 'device',
11807
11862
  'x-variant-group-key': 'access_codes',
11808
11863
  },
11809
11864
  {
@@ -11836,6 +11891,7 @@ const openapi = {
11836
11891
  'error_code',
11837
11892
  ],
11838
11893
  type: 'object',
11894
+ 'x-resource-type': 'device',
11839
11895
  'x-variant-group-key': 'locks',
11840
11896
  },
11841
11897
  {
@@ -11870,6 +11926,7 @@ const openapi = {
11870
11926
  ],
11871
11927
  type: 'object',
11872
11928
  'x-deprecated': 'Use `hub_disconnected` instead.',
11929
+ 'x-resource-type': 'device',
11873
11930
  'x-variant-group-key': 'locks',
11874
11931
  },
11875
11932
  {
@@ -11904,6 +11961,7 @@ const openapi = {
11904
11961
  ],
11905
11962
  type: 'object',
11906
11963
  'x-deprecated': 'Use `hub_disconnected` instead.',
11964
+ 'x-resource-type': 'device',
11907
11965
  },
11908
11966
  {
11909
11967
  description: 'Indicates that device credentials are missing.',
@@ -11935,6 +11993,7 @@ const openapi = {
11935
11993
  'error_code',
11936
11994
  ],
11937
11995
  type: 'object',
11996
+ 'x-resource-type': 'device',
11938
11997
  },
11939
11998
  {
11940
11999
  description: 'Indicates that the auxiliary heat is running.',
@@ -11966,6 +12025,7 @@ const openapi = {
11966
12025
  'error_code',
11967
12026
  ],
11968
12027
  type: 'object',
12028
+ 'x-resource-type': 'device',
11969
12029
  'x-variant-group-key': 'thermostats',
11970
12030
  },
11971
12031
  {
@@ -11998,6 +12058,7 @@ const openapi = {
11998
12058
  'error_code',
11999
12059
  ],
12000
12060
  type: 'object',
12061
+ 'x-resource-type': 'device',
12001
12062
  },
12002
12063
  {
12003
12064
  deprecated: true,
@@ -12031,6 +12092,7 @@ const openapi = {
12031
12092
  ],
12032
12093
  type: 'object',
12033
12094
  'x-deprecated': 'Use `hub_disconnected` instead.',
12095
+ 'x-resource-type': 'device',
12034
12096
  },
12035
12097
  {
12036
12098
  description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See 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).',
@@ -12060,6 +12122,7 @@ const openapi = {
12060
12122
  },
12061
12123
  required: ['created_at', 'message', 'error_code'],
12062
12124
  type: 'object',
12125
+ 'x-resource-type': 'connected_account',
12063
12126
  },
12064
12127
  {
12065
12128
  description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
@@ -12089,6 +12152,7 @@ const openapi = {
12089
12152
  },
12090
12153
  required: ['created_at', 'message', 'error_code'],
12091
12154
  type: 'object',
12155
+ 'x-resource-type': 'connected_account',
12092
12156
  },
12093
12157
  ],
12094
12158
  },
@@ -25764,6 +25828,7 @@ const openapi = {
25764
25828
  },
25765
25829
  required: ['message', 'is_access_code_error', 'error_code'],
25766
25830
  type: 'object',
25831
+ 'x-resource-type': 'access_code',
25767
25832
  },
25768
25833
  {
25769
25834
  description: 'Failed to set code on device.',
@@ -25790,6 +25855,7 @@ const openapi = {
25790
25855
  },
25791
25856
  required: ['message', 'is_access_code_error', 'error_code'],
25792
25857
  type: 'object',
25858
+ 'x-resource-type': 'access_code',
25793
25859
  },
25794
25860
  {
25795
25861
  description: 'Failed to remove code from device.',
@@ -25816,6 +25882,7 @@ const openapi = {
25816
25882
  },
25817
25883
  required: ['message', 'is_access_code_error', 'error_code'],
25818
25884
  type: 'object',
25885
+ 'x-resource-type': 'access_code',
25819
25886
  },
25820
25887
  {
25821
25888
  description: 'Duplicate access code detected on device.',
@@ -25852,6 +25919,7 @@ const openapi = {
25852
25919
  },
25853
25920
  required: ['message', 'is_access_code_error', 'error_code'],
25854
25921
  type: 'object',
25922
+ 'x-resource-type': 'access_code',
25855
25923
  },
25856
25924
  {
25857
25925
  description: 'An attempt to modify this access code was prevented.',
@@ -25878,6 +25946,7 @@ const openapi = {
25878
25946
  },
25879
25947
  required: ['message', 'is_access_code_error', 'error_code'],
25880
25948
  type: 'object',
25949
+ 'x-resource-type': 'access_code',
25881
25950
  },
25882
25951
  {
25883
25952
  description: 'No space for access code on device.',
@@ -25904,6 +25973,7 @@ const openapi = {
25904
25973
  },
25905
25974
  required: ['message', 'is_access_code_error', 'error_code'],
25906
25975
  type: 'object',
25976
+ 'x-resource-type': 'access_code',
25907
25977
  },
25908
25978
  {
25909
25979
  description: 'Indicates that the provider cannot confirm whether the access code was set or removed on the device.',
@@ -25930,6 +26000,7 @@ const openapi = {
25930
26000
  },
25931
26001
  required: ['message', 'is_access_code_error', 'error_code'],
25932
26002
  type: 'object',
26003
+ 'x-resource-type': 'access_code',
25933
26004
  },
25934
26005
  {
25935
26006
  description: 'Code was modified or removed externally after Seam successfully set it on the device.',
@@ -25985,6 +26056,7 @@ const openapi = {
25985
26056
  },
25986
26057
  required: ['message', 'is_access_code_error', 'error_code'],
25987
26058
  type: 'object',
26059
+ 'x-resource-type': 'access_code',
25988
26060
  },
25989
26061
  {
25990
26062
  description: 'Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.',
@@ -26011,6 +26083,7 @@ const openapi = {
26011
26083
  },
26012
26084
  required: ['message', 'is_access_code_error', 'error_code'],
26013
26085
  type: 'object',
26086
+ 'x-resource-type': 'access_code',
26014
26087
  },
26015
26088
  {
26016
26089
  deprecated: true,
@@ -26039,6 +26112,7 @@ const openapi = {
26039
26112
  required: ['message', 'is_access_code_error', 'error_code'],
26040
26113
  type: 'object',
26041
26114
  'x-deprecated': 'Use `access_code_inactive` instead.',
26115
+ 'x-resource-type': 'access_code',
26042
26116
  },
26043
26117
  {
26044
26118
  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.',
@@ -26065,6 +26139,7 @@ const openapi = {
26065
26139
  },
26066
26140
  required: ['message', 'is_access_code_error', 'error_code'],
26067
26141
  type: 'object',
26142
+ 'x-resource-type': 'access_code',
26068
26143
  },
26069
26144
  {
26070
26145
  description: 'This access code was overridden on the device by a newer access code programmed to the same slot.',
@@ -26091,6 +26166,7 @@ const openapi = {
26091
26166
  },
26092
26167
  required: ['message', 'is_access_code_error', 'error_code'],
26093
26168
  type: 'object',
26169
+ 'x-resource-type': 'access_code',
26094
26170
  },
26095
26171
  {
26096
26172
  description: 'Indicates that the account is disconnected.',
@@ -26128,6 +26204,7 @@ const openapi = {
26128
26204
  'is_connected_account_error',
26129
26205
  ],
26130
26206
  type: 'object',
26207
+ 'x-resource-type': 'connected_account',
26131
26208
  },
26132
26209
  {
26133
26210
  description: 'Indicates that the Salto site user limit has been reached.',
@@ -26165,6 +26242,7 @@ const openapi = {
26165
26242
  'is_connected_account_error',
26166
26243
  ],
26167
26244
  type: 'object',
26245
+ 'x-resource-type': 'connected_account',
26168
26246
  'x-variant-group-key': 'locks',
26169
26247
  },
26170
26248
  {
@@ -26199,6 +26277,7 @@ const openapi = {
26199
26277
  ],
26200
26278
  type: 'object',
26201
26279
  'x-deprecated': 'Use `device_disconnected` instead.',
26280
+ 'x-resource-type': 'device',
26202
26281
  },
26203
26282
  {
26204
26283
  description: 'Indicates that the device has been removed.',
@@ -26230,6 +26309,7 @@ const openapi = {
26230
26309
  'error_code',
26231
26310
  ],
26232
26311
  type: 'object',
26312
+ 'x-resource-type': 'device',
26233
26313
  },
26234
26314
  {
26235
26315
  description: 'Indicates that the hub is disconnected.',
@@ -26261,6 +26341,7 @@ const openapi = {
26261
26341
  'error_code',
26262
26342
  ],
26263
26343
  type: 'object',
26344
+ 'x-resource-type': 'device',
26264
26345
  },
26265
26346
  {
26266
26347
  description: 'Indicates that the device is disconnected.',
@@ -26292,6 +26373,7 @@ const openapi = {
26292
26373
  'error_code',
26293
26374
  ],
26294
26375
  type: 'object',
26376
+ 'x-resource-type': 'device',
26295
26377
  },
26296
26378
  {
26297
26379
  description: 'Indicates that the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is empty.',
@@ -26323,6 +26405,7 @@ const openapi = {
26323
26405
  'error_code',
26324
26406
  ],
26325
26407
  type: 'object',
26408
+ 'x-resource-type': 'device',
26326
26409
  'x-variant-group-key': 'access_codes',
26327
26410
  },
26328
26411
  {
@@ -26355,6 +26438,7 @@ const openapi = {
26355
26438
  'error_code',
26356
26439
  ],
26357
26440
  type: 'object',
26441
+ 'x-resource-type': 'device',
26358
26442
  'x-variant-group-key': 'locks',
26359
26443
  },
26360
26444
  {
@@ -26389,6 +26473,7 @@ const openapi = {
26389
26473
  ],
26390
26474
  type: 'object',
26391
26475
  'x-deprecated': 'Use `hub_disconnected` instead.',
26476
+ 'x-resource-type': 'device',
26392
26477
  'x-variant-group-key': 'locks',
26393
26478
  },
26394
26479
  {
@@ -26423,6 +26508,7 @@ const openapi = {
26423
26508
  ],
26424
26509
  type: 'object',
26425
26510
  'x-deprecated': 'Use `hub_disconnected` instead.',
26511
+ 'x-resource-type': 'device',
26426
26512
  },
26427
26513
  {
26428
26514
  description: 'Indicates that device credentials are missing.',
@@ -26454,6 +26540,7 @@ const openapi = {
26454
26540
  'error_code',
26455
26541
  ],
26456
26542
  type: 'object',
26543
+ 'x-resource-type': 'device',
26457
26544
  },
26458
26545
  {
26459
26546
  description: 'Indicates that the auxiliary heat is running.',
@@ -26485,6 +26572,7 @@ const openapi = {
26485
26572
  'error_code',
26486
26573
  ],
26487
26574
  type: 'object',
26575
+ 'x-resource-type': 'device',
26488
26576
  'x-variant-group-key': 'thermostats',
26489
26577
  },
26490
26578
  {
@@ -26517,6 +26605,7 @@ const openapi = {
26517
26605
  'error_code',
26518
26606
  ],
26519
26607
  type: 'object',
26608
+ 'x-resource-type': 'device',
26520
26609
  },
26521
26610
  {
26522
26611
  deprecated: true,
@@ -26550,6 +26639,7 @@ const openapi = {
26550
26639
  ],
26551
26640
  type: 'object',
26552
26641
  'x-deprecated': 'Use `hub_disconnected` instead.',
26642
+ 'x-resource-type': 'device',
26553
26643
  },
26554
26644
  {
26555
26645
  description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See 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).',
@@ -26579,6 +26669,7 @@ const openapi = {
26579
26669
  },
26580
26670
  required: ['created_at', 'message', 'error_code'],
26581
26671
  type: 'object',
26672
+ 'x-resource-type': 'connected_account',
26582
26673
  },
26583
26674
  {
26584
26675
  description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
@@ -26608,6 +26699,7 @@ const openapi = {
26608
26699
  },
26609
26700
  required: ['created_at', 'message', 'error_code'],
26610
26701
  type: 'object',
26702
+ 'x-resource-type': 'connected_account',
26611
26703
  },
26612
26704
  ],
26613
26705
  },
@@ -27062,6 +27154,7 @@ const openapi = {
27062
27154
  },
27063
27155
  required: ['created_at', 'message', 'error_code'],
27064
27156
  type: 'object',
27157
+ 'x-resource-type': 'acs_access_group',
27065
27158
  },
27066
27159
  ],
27067
27160
  },
@@ -27943,6 +28036,7 @@ const openapi = {
27943
28036
  },
27944
28037
  required: ['created_at', 'message', 'error_code'],
27945
28038
  type: 'object',
28039
+ 'x-resource-type': 'acs_user',
27946
28040
  },
27947
28041
  {
27948
28042
  description: 'Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) could not be subscribed on Salto KS because the subscription limit has been exceeded.',
@@ -27963,6 +28057,7 @@ const openapi = {
27963
28057
  },
27964
28058
  required: ['created_at', 'message', 'error_code'],
27965
28059
  type: 'object',
28060
+ 'x-resource-type': 'acs_user',
27966
28061
  },
27967
28062
  {
27968
28063
  description: 'Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not created on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).',
@@ -27983,6 +28078,7 @@ const openapi = {
27983
28078
  },
27984
28079
  required: ['created_at', 'message', 'error_code'],
27985
28080
  type: 'object',
28081
+ 'x-resource-type': 'acs_user',
27986
28082
  },
27987
28083
  {
27988
28084
  description: 'Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not updated on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).',
@@ -28003,6 +28099,7 @@ const openapi = {
28003
28099
  },
28004
28100
  required: ['created_at', 'message', 'error_code'],
28005
28101
  type: 'object',
28102
+ 'x-resource-type': 'acs_user',
28006
28103
  },
28007
28104
  {
28008
28105
  description: 'Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not deleted on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).',
@@ -28023,6 +28120,7 @@ const openapi = {
28023
28120
  },
28024
28121
  required: ['created_at', 'message', 'error_code'],
28025
28122
  type: 'object',
28123
+ 'x-resource-type': 'acs_user',
28026
28124
  },
28027
28125
  {
28028
28126
  description: 'Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was created from the Seam API but also exists on Mission Control. This is unsupported. Contact Seam [support](mailto:support@seam.co).',
@@ -28043,6 +28141,7 @@ const openapi = {
28043
28141
  },
28044
28142
  required: ['created_at', 'message', 'error_code'],
28045
28143
  type: 'object',
28144
+ 'x-resource-type': 'acs_user',
28046
28145
  },
28047
28146
  ],
28048
28147
  },
@@ -28862,6 +28961,7 @@ const openapi = {
28862
28961
  'is_connected_account_error',
28863
28962
  ],
28864
28963
  type: 'object',
28964
+ 'x-resource-type': 'connected_account',
28865
28965
  },
28866
28966
  {
28867
28967
  description: 'Indicates that the Salto site user limit has been reached.',
@@ -28899,6 +28999,7 @@ const openapi = {
28899
28999
  'is_connected_account_error',
28900
29000
  ],
28901
29001
  type: 'object',
29002
+ 'x-resource-type': 'connected_account',
28902
29003
  'x-variant-group-key': 'locks',
28903
29004
  },
28904
29005
  {
@@ -28933,6 +29034,7 @@ const openapi = {
28933
29034
  ],
28934
29035
  type: 'object',
28935
29036
  'x-deprecated': 'Use `device_disconnected` instead.',
29037
+ 'x-resource-type': 'device',
28936
29038
  },
28937
29039
  {
28938
29040
  description: 'Indicates that the device has been removed.',
@@ -28964,6 +29066,7 @@ const openapi = {
28964
29066
  'error_code',
28965
29067
  ],
28966
29068
  type: 'object',
29069
+ 'x-resource-type': 'device',
28967
29070
  },
28968
29071
  {
28969
29072
  description: 'Indicates that the hub is disconnected.',
@@ -28995,6 +29098,7 @@ const openapi = {
28995
29098
  'error_code',
28996
29099
  ],
28997
29100
  type: 'object',
29101
+ 'x-resource-type': 'device',
28998
29102
  },
28999
29103
  {
29000
29104
  description: 'Indicates that the device is disconnected.',
@@ -29026,6 +29130,7 @@ const openapi = {
29026
29130
  'error_code',
29027
29131
  ],
29028
29132
  type: 'object',
29133
+ 'x-resource-type': 'device',
29029
29134
  },
29030
29135
  {
29031
29136
  description: 'Indicates that the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is empty.',
@@ -29057,6 +29162,7 @@ const openapi = {
29057
29162
  'error_code',
29058
29163
  ],
29059
29164
  type: 'object',
29165
+ 'x-resource-type': 'device',
29060
29166
  'x-variant-group-key': 'access_codes',
29061
29167
  },
29062
29168
  {
@@ -29089,6 +29195,7 @@ const openapi = {
29089
29195
  'error_code',
29090
29196
  ],
29091
29197
  type: 'object',
29198
+ 'x-resource-type': 'device',
29092
29199
  'x-variant-group-key': 'locks',
29093
29200
  },
29094
29201
  {
@@ -29123,6 +29230,7 @@ const openapi = {
29123
29230
  ],
29124
29231
  type: 'object',
29125
29232
  'x-deprecated': 'Use `hub_disconnected` instead.',
29233
+ 'x-resource-type': 'device',
29126
29234
  'x-variant-group-key': 'locks',
29127
29235
  },
29128
29236
  {
@@ -29157,6 +29265,7 @@ const openapi = {
29157
29265
  ],
29158
29266
  type: 'object',
29159
29267
  'x-deprecated': 'Use `hub_disconnected` instead.',
29268
+ 'x-resource-type': 'device',
29160
29269
  },
29161
29270
  {
29162
29271
  description: 'Indicates that device credentials are missing.',
@@ -29188,6 +29297,7 @@ const openapi = {
29188
29297
  'error_code',
29189
29298
  ],
29190
29299
  type: 'object',
29300
+ 'x-resource-type': 'device',
29191
29301
  },
29192
29302
  {
29193
29303
  description: 'Indicates that the auxiliary heat is running.',
@@ -29219,6 +29329,7 @@ const openapi = {
29219
29329
  'error_code',
29220
29330
  ],
29221
29331
  type: 'object',
29332
+ 'x-resource-type': 'device',
29222
29333
  'x-variant-group-key': 'thermostats',
29223
29334
  },
29224
29335
  {
@@ -29251,6 +29362,7 @@ const openapi = {
29251
29362
  'error_code',
29252
29363
  ],
29253
29364
  type: 'object',
29365
+ 'x-resource-type': 'device',
29254
29366
  },
29255
29367
  {
29256
29368
  deprecated: true,
@@ -29284,6 +29396,7 @@ const openapi = {
29284
29396
  ],
29285
29397
  type: 'object',
29286
29398
  'x-deprecated': 'Use `hub_disconnected` instead.',
29399
+ 'x-resource-type': 'device',
29287
29400
  },
29288
29401
  {
29289
29402
  description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See 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).',
@@ -29313,6 +29426,7 @@ const openapi = {
29313
29426
  },
29314
29427
  required: ['created_at', 'message', 'error_code'],
29315
29428
  type: 'object',
29429
+ 'x-resource-type': 'connected_account',
29316
29430
  },
29317
29431
  {
29318
29432
  description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
@@ -29342,6 +29456,7 @@ const openapi = {
29342
29456
  },
29343
29457
  required: ['created_at', 'message', 'error_code'],
29344
29458
  type: 'object',
29459
+ 'x-resource-type': 'connected_account',
29345
29460
  },
29346
29461
  ],
29347
29462
  },