@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.
Files changed (37) hide show
  1. package/dist/connect.cjs +592 -184
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +210 -4
  4. package/dist/index.cjs +592 -184
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-codes/managed-access-code.js +78 -44
  7. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  8. package/lib/seam/connect/models/acs/acs-access-group.js +7 -4
  9. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-encoder.js +7 -3
  11. package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
  12. package/lib/seam/connect/models/acs/acs-system.js +58 -31
  13. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  14. package/lib/seam/connect/models/acs/acs-users/acs-user.js +42 -24
  15. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
  16. package/lib/seam/connect/models/connected-accounts/connected-account.js +29 -19
  17. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  18. package/lib/seam/connect/models/devices/device.js +51 -27
  19. package/lib/seam/connect/models/devices/device.js.map +1 -1
  20. package/lib/seam/connect/models/events/access-codes.d.ts +118 -0
  21. package/lib/seam/connect/models/events/access-codes.js +34 -0
  22. package/lib/seam/connect/models/events/access-codes.js.map +1 -1
  23. package/lib/seam/connect/models/events/seam-event.d.ts +59 -1
  24. package/lib/seam/connect/openapi.js +230 -3
  25. package/lib/seam/connect/openapi.js.map +1 -1
  26. package/lib/seam/connect/route-types.d.ts +152 -4
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +136 -114
  29. package/src/lib/seam/connect/models/acs/acs-access-group.ts +10 -9
  30. package/src/lib/seam/connect/models/acs/acs-encoder.ts +7 -5
  31. package/src/lib/seam/connect/models/acs/acs-system.ts +73 -56
  32. package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +48 -40
  33. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +78 -73
  34. package/src/lib/seam/connect/models/devices/device.ts +70 -46
  35. package/src/lib/seam/connect/models/events/access-codes.ts +48 -0
  36. package/src/lib/seam/connect/openapi.ts +239 -3
  37. package/src/lib/seam/connect/route-types.ts +212 -0
@@ -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
  },
@@ -15886,6 +15950,110 @@ const openapi = {
15886
15950
  type: 'object',
15887
15951
  'x-route-path': '/access_codes',
15888
15952
  },
15953
+ {
15954
+ description: '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.',
15955
+ properties: {
15956
+ access_code_id: {
15957
+ description: 'ID of the affected access code.',
15958
+ format: 'uuid',
15959
+ type: 'string',
15960
+ },
15961
+ connected_account_custom_metadata: {
15962
+ additionalProperties: {
15963
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
15964
+ },
15965
+ description: 'Custom metadata of the connected account, present when connected_account_id is provided.',
15966
+ type: 'object',
15967
+ },
15968
+ connected_account_id: {
15969
+ description: 'ID of the connected account associated with the affected access code.',
15970
+ format: 'uuid',
15971
+ type: 'string',
15972
+ },
15973
+ created_at: {
15974
+ description: 'Date and time at which the event was created.',
15975
+ format: 'date-time',
15976
+ type: 'string',
15977
+ },
15978
+ device_custom_metadata: {
15979
+ additionalProperties: {
15980
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
15981
+ },
15982
+ description: 'Custom metadata of the device, present when device_id is provided.',
15983
+ type: 'object',
15984
+ },
15985
+ device_id: {
15986
+ description: 'ID of the device associated with the affected access code.',
15987
+ format: 'uuid',
15988
+ type: 'string',
15989
+ },
15990
+ event_id: {
15991
+ description: 'ID of the event.',
15992
+ format: 'uuid',
15993
+ type: 'string',
15994
+ },
15995
+ event_type: {
15996
+ enum: ['access_code.mutations_requested'],
15997
+ type: 'string',
15998
+ },
15999
+ occurred_at: {
16000
+ description: 'Date and time at which the event occurred.',
16001
+ format: 'date-time',
16002
+ type: 'string',
16003
+ },
16004
+ requested_mutations: {
16005
+ description: 'Array of mutations requested on the access code, each containing the mutation type and from/to values.',
16006
+ items: {
16007
+ description: 'Record describing a single requested mutation.',
16008
+ properties: {
16009
+ from: {
16010
+ additionalProperties: {},
16011
+ description: 'Previous property values before the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`.',
16012
+ type: 'object',
16013
+ },
16014
+ mutation_code: {
16015
+ description: 'Code identifying the type of mutation requested, such as `updating_name`, `updating_code`, `updating_time_frame`, or `deleting`.',
16016
+ enum: [
16017
+ 'updating_name',
16018
+ 'updating_code',
16019
+ 'updating_time_frame',
16020
+ 'deleting',
16021
+ 'creating',
16022
+ 'deferring_creation',
16023
+ ],
16024
+ type: 'string',
16025
+ },
16026
+ to: {
16027
+ additionalProperties: {},
16028
+ description: 'New property values after the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`.',
16029
+ type: 'object',
16030
+ },
16031
+ },
16032
+ required: ['mutation_code'],
16033
+ type: 'object',
16034
+ },
16035
+ type: 'array',
16036
+ },
16037
+ workspace_id: {
16038
+ description: 'ID of the workspace associated with the event.',
16039
+ format: 'uuid',
16040
+ type: 'string',
16041
+ },
16042
+ },
16043
+ required: [
16044
+ 'event_id',
16045
+ 'workspace_id',
16046
+ 'created_at',
16047
+ 'occurred_at',
16048
+ 'access_code_id',
16049
+ 'device_id',
16050
+ 'connected_account_id',
16051
+ 'event_type',
16052
+ 'requested_mutations',
16053
+ ],
16054
+ type: 'object',
16055
+ 'x-route-path': '/access_codes',
16056
+ },
15889
16057
  {
15890
16058
  description: '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.',
15891
16059
  properties: {
@@ -25764,6 +25932,7 @@ const openapi = {
25764
25932
  },
25765
25933
  required: ['message', 'is_access_code_error', 'error_code'],
25766
25934
  type: 'object',
25935
+ 'x-resource-type': 'access_code',
25767
25936
  },
25768
25937
  {
25769
25938
  description: 'Failed to set code on device.',
@@ -25790,6 +25959,7 @@ const openapi = {
25790
25959
  },
25791
25960
  required: ['message', 'is_access_code_error', 'error_code'],
25792
25961
  type: 'object',
25962
+ 'x-resource-type': 'access_code',
25793
25963
  },
25794
25964
  {
25795
25965
  description: 'Failed to remove code from device.',
@@ -25816,6 +25986,7 @@ const openapi = {
25816
25986
  },
25817
25987
  required: ['message', 'is_access_code_error', 'error_code'],
25818
25988
  type: 'object',
25989
+ 'x-resource-type': 'access_code',
25819
25990
  },
25820
25991
  {
25821
25992
  description: 'Duplicate access code detected on device.',
@@ -25852,6 +26023,7 @@ const openapi = {
25852
26023
  },
25853
26024
  required: ['message', 'is_access_code_error', 'error_code'],
25854
26025
  type: 'object',
26026
+ 'x-resource-type': 'access_code',
25855
26027
  },
25856
26028
  {
25857
26029
  description: 'An attempt to modify this access code was prevented.',
@@ -25878,6 +26050,7 @@ const openapi = {
25878
26050
  },
25879
26051
  required: ['message', 'is_access_code_error', 'error_code'],
25880
26052
  type: 'object',
26053
+ 'x-resource-type': 'access_code',
25881
26054
  },
25882
26055
  {
25883
26056
  description: 'No space for access code on device.',
@@ -25904,6 +26077,7 @@ const openapi = {
25904
26077
  },
25905
26078
  required: ['message', 'is_access_code_error', 'error_code'],
25906
26079
  type: 'object',
26080
+ 'x-resource-type': 'access_code',
25907
26081
  },
25908
26082
  {
25909
26083
  description: 'Indicates that the provider cannot confirm whether the access code was set or removed on the device.',
@@ -25930,6 +26104,7 @@ const openapi = {
25930
26104
  },
25931
26105
  required: ['message', 'is_access_code_error', 'error_code'],
25932
26106
  type: 'object',
26107
+ 'x-resource-type': 'access_code',
25933
26108
  },
25934
26109
  {
25935
26110
  description: 'Code was modified or removed externally after Seam successfully set it on the device.',
@@ -25985,6 +26160,7 @@ const openapi = {
25985
26160
  },
25986
26161
  required: ['message', 'is_access_code_error', 'error_code'],
25987
26162
  type: 'object',
26163
+ 'x-resource-type': 'access_code',
25988
26164
  },
25989
26165
  {
25990
26166
  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 +26187,7 @@ const openapi = {
26011
26187
  },
26012
26188
  required: ['message', 'is_access_code_error', 'error_code'],
26013
26189
  type: 'object',
26190
+ 'x-resource-type': 'access_code',
26014
26191
  },
26015
26192
  {
26016
26193
  deprecated: true,
@@ -26039,6 +26216,7 @@ const openapi = {
26039
26216
  required: ['message', 'is_access_code_error', 'error_code'],
26040
26217
  type: 'object',
26041
26218
  'x-deprecated': 'Use `access_code_inactive` instead.',
26219
+ 'x-resource-type': 'access_code',
26042
26220
  },
26043
26221
  {
26044
26222
  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 +26243,7 @@ const openapi = {
26065
26243
  },
26066
26244
  required: ['message', 'is_access_code_error', 'error_code'],
26067
26245
  type: 'object',
26246
+ 'x-resource-type': 'access_code',
26068
26247
  },
26069
26248
  {
26070
26249
  description: 'This access code was overridden on the device by a newer access code programmed to the same slot.',
@@ -26091,6 +26270,7 @@ const openapi = {
26091
26270
  },
26092
26271
  required: ['message', 'is_access_code_error', 'error_code'],
26093
26272
  type: 'object',
26273
+ 'x-resource-type': 'access_code',
26094
26274
  },
26095
26275
  {
26096
26276
  description: 'Indicates that the account is disconnected.',
@@ -26128,6 +26308,7 @@ const openapi = {
26128
26308
  'is_connected_account_error',
26129
26309
  ],
26130
26310
  type: 'object',
26311
+ 'x-resource-type': 'connected_account',
26131
26312
  },
26132
26313
  {
26133
26314
  description: 'Indicates that the Salto site user limit has been reached.',
@@ -26165,6 +26346,7 @@ const openapi = {
26165
26346
  'is_connected_account_error',
26166
26347
  ],
26167
26348
  type: 'object',
26349
+ 'x-resource-type': 'connected_account',
26168
26350
  'x-variant-group-key': 'locks',
26169
26351
  },
26170
26352
  {
@@ -26199,6 +26381,7 @@ const openapi = {
26199
26381
  ],
26200
26382
  type: 'object',
26201
26383
  'x-deprecated': 'Use `device_disconnected` instead.',
26384
+ 'x-resource-type': 'device',
26202
26385
  },
26203
26386
  {
26204
26387
  description: 'Indicates that the device has been removed.',
@@ -26230,6 +26413,7 @@ const openapi = {
26230
26413
  'error_code',
26231
26414
  ],
26232
26415
  type: 'object',
26416
+ 'x-resource-type': 'device',
26233
26417
  },
26234
26418
  {
26235
26419
  description: 'Indicates that the hub is disconnected.',
@@ -26261,6 +26445,7 @@ const openapi = {
26261
26445
  'error_code',
26262
26446
  ],
26263
26447
  type: 'object',
26448
+ 'x-resource-type': 'device',
26264
26449
  },
26265
26450
  {
26266
26451
  description: 'Indicates that the device is disconnected.',
@@ -26292,6 +26477,7 @@ const openapi = {
26292
26477
  'error_code',
26293
26478
  ],
26294
26479
  type: 'object',
26480
+ 'x-resource-type': 'device',
26295
26481
  },
26296
26482
  {
26297
26483
  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 +26509,7 @@ const openapi = {
26323
26509
  'error_code',
26324
26510
  ],
26325
26511
  type: 'object',
26512
+ 'x-resource-type': 'device',
26326
26513
  'x-variant-group-key': 'access_codes',
26327
26514
  },
26328
26515
  {
@@ -26355,6 +26542,7 @@ const openapi = {
26355
26542
  'error_code',
26356
26543
  ],
26357
26544
  type: 'object',
26545
+ 'x-resource-type': 'device',
26358
26546
  'x-variant-group-key': 'locks',
26359
26547
  },
26360
26548
  {
@@ -26389,6 +26577,7 @@ const openapi = {
26389
26577
  ],
26390
26578
  type: 'object',
26391
26579
  'x-deprecated': 'Use `hub_disconnected` instead.',
26580
+ 'x-resource-type': 'device',
26392
26581
  'x-variant-group-key': 'locks',
26393
26582
  },
26394
26583
  {
@@ -26423,6 +26612,7 @@ const openapi = {
26423
26612
  ],
26424
26613
  type: 'object',
26425
26614
  'x-deprecated': 'Use `hub_disconnected` instead.',
26615
+ 'x-resource-type': 'device',
26426
26616
  },
26427
26617
  {
26428
26618
  description: 'Indicates that device credentials are missing.',
@@ -26454,6 +26644,7 @@ const openapi = {
26454
26644
  'error_code',
26455
26645
  ],
26456
26646
  type: 'object',
26647
+ 'x-resource-type': 'device',
26457
26648
  },
26458
26649
  {
26459
26650
  description: 'Indicates that the auxiliary heat is running.',
@@ -26485,6 +26676,7 @@ const openapi = {
26485
26676
  'error_code',
26486
26677
  ],
26487
26678
  type: 'object',
26679
+ 'x-resource-type': 'device',
26488
26680
  'x-variant-group-key': 'thermostats',
26489
26681
  },
26490
26682
  {
@@ -26517,6 +26709,7 @@ const openapi = {
26517
26709
  'error_code',
26518
26710
  ],
26519
26711
  type: 'object',
26712
+ 'x-resource-type': 'device',
26520
26713
  },
26521
26714
  {
26522
26715
  deprecated: true,
@@ -26550,6 +26743,7 @@ const openapi = {
26550
26743
  ],
26551
26744
  type: 'object',
26552
26745
  'x-deprecated': 'Use `hub_disconnected` instead.',
26746
+ 'x-resource-type': 'device',
26553
26747
  },
26554
26748
  {
26555
26749
  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 +26773,7 @@ const openapi = {
26579
26773
  },
26580
26774
  required: ['created_at', 'message', 'error_code'],
26581
26775
  type: 'object',
26776
+ 'x-resource-type': 'connected_account',
26582
26777
  },
26583
26778
  {
26584
26779
  description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
@@ -26608,6 +26803,7 @@ const openapi = {
26608
26803
  },
26609
26804
  required: ['created_at', 'message', 'error_code'],
26610
26805
  type: 'object',
26806
+ 'x-resource-type': 'connected_account',
26611
26807
  },
26612
26808
  ],
26613
26809
  },
@@ -27062,6 +27258,7 @@ const openapi = {
27062
27258
  },
27063
27259
  required: ['created_at', 'message', 'error_code'],
27064
27260
  type: 'object',
27261
+ 'x-resource-type': 'acs_access_group',
27065
27262
  },
27066
27263
  ],
27067
27264
  },
@@ -27943,6 +28140,7 @@ const openapi = {
27943
28140
  },
27944
28141
  required: ['created_at', 'message', 'error_code'],
27945
28142
  type: 'object',
28143
+ 'x-resource-type': 'acs_user',
27946
28144
  },
27947
28145
  {
27948
28146
  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 +28161,7 @@ const openapi = {
27963
28161
  },
27964
28162
  required: ['created_at', 'message', 'error_code'],
27965
28163
  type: 'object',
28164
+ 'x-resource-type': 'acs_user',
27966
28165
  },
27967
28166
  {
27968
28167
  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 +28182,7 @@ const openapi = {
27983
28182
  },
27984
28183
  required: ['created_at', 'message', 'error_code'],
27985
28184
  type: 'object',
28185
+ 'x-resource-type': 'acs_user',
27986
28186
  },
27987
28187
  {
27988
28188
  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 +28203,7 @@ const openapi = {
28003
28203
  },
28004
28204
  required: ['created_at', 'message', 'error_code'],
28005
28205
  type: 'object',
28206
+ 'x-resource-type': 'acs_user',
28006
28207
  },
28007
28208
  {
28008
28209
  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 +28224,7 @@ const openapi = {
28023
28224
  },
28024
28225
  required: ['created_at', 'message', 'error_code'],
28025
28226
  type: 'object',
28227
+ 'x-resource-type': 'acs_user',
28026
28228
  },
28027
28229
  {
28028
28230
  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 +28245,7 @@ const openapi = {
28043
28245
  },
28044
28246
  required: ['created_at', 'message', 'error_code'],
28045
28247
  type: 'object',
28248
+ 'x-resource-type': 'acs_user',
28046
28249
  },
28047
28250
  ],
28048
28251
  },
@@ -28862,6 +29065,7 @@ const openapi = {
28862
29065
  'is_connected_account_error',
28863
29066
  ],
28864
29067
  type: 'object',
29068
+ 'x-resource-type': 'connected_account',
28865
29069
  },
28866
29070
  {
28867
29071
  description: 'Indicates that the Salto site user limit has been reached.',
@@ -28899,6 +29103,7 @@ const openapi = {
28899
29103
  'is_connected_account_error',
28900
29104
  ],
28901
29105
  type: 'object',
29106
+ 'x-resource-type': 'connected_account',
28902
29107
  'x-variant-group-key': 'locks',
28903
29108
  },
28904
29109
  {
@@ -28933,6 +29138,7 @@ const openapi = {
28933
29138
  ],
28934
29139
  type: 'object',
28935
29140
  'x-deprecated': 'Use `device_disconnected` instead.',
29141
+ 'x-resource-type': 'device',
28936
29142
  },
28937
29143
  {
28938
29144
  description: 'Indicates that the device has been removed.',
@@ -28964,6 +29170,7 @@ const openapi = {
28964
29170
  'error_code',
28965
29171
  ],
28966
29172
  type: 'object',
29173
+ 'x-resource-type': 'device',
28967
29174
  },
28968
29175
  {
28969
29176
  description: 'Indicates that the hub is disconnected.',
@@ -28995,6 +29202,7 @@ const openapi = {
28995
29202
  'error_code',
28996
29203
  ],
28997
29204
  type: 'object',
29205
+ 'x-resource-type': 'device',
28998
29206
  },
28999
29207
  {
29000
29208
  description: 'Indicates that the device is disconnected.',
@@ -29026,6 +29234,7 @@ const openapi = {
29026
29234
  'error_code',
29027
29235
  ],
29028
29236
  type: 'object',
29237
+ 'x-resource-type': 'device',
29029
29238
  },
29030
29239
  {
29031
29240
  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 +29266,7 @@ const openapi = {
29057
29266
  'error_code',
29058
29267
  ],
29059
29268
  type: 'object',
29269
+ 'x-resource-type': 'device',
29060
29270
  'x-variant-group-key': 'access_codes',
29061
29271
  },
29062
29272
  {
@@ -29089,6 +29299,7 @@ const openapi = {
29089
29299
  'error_code',
29090
29300
  ],
29091
29301
  type: 'object',
29302
+ 'x-resource-type': 'device',
29092
29303
  'x-variant-group-key': 'locks',
29093
29304
  },
29094
29305
  {
@@ -29123,6 +29334,7 @@ const openapi = {
29123
29334
  ],
29124
29335
  type: 'object',
29125
29336
  'x-deprecated': 'Use `hub_disconnected` instead.',
29337
+ 'x-resource-type': 'device',
29126
29338
  'x-variant-group-key': 'locks',
29127
29339
  },
29128
29340
  {
@@ -29157,6 +29369,7 @@ const openapi = {
29157
29369
  ],
29158
29370
  type: 'object',
29159
29371
  'x-deprecated': 'Use `hub_disconnected` instead.',
29372
+ 'x-resource-type': 'device',
29160
29373
  },
29161
29374
  {
29162
29375
  description: 'Indicates that device credentials are missing.',
@@ -29188,6 +29401,7 @@ const openapi = {
29188
29401
  'error_code',
29189
29402
  ],
29190
29403
  type: 'object',
29404
+ 'x-resource-type': 'device',
29191
29405
  },
29192
29406
  {
29193
29407
  description: 'Indicates that the auxiliary heat is running.',
@@ -29219,6 +29433,7 @@ const openapi = {
29219
29433
  'error_code',
29220
29434
  ],
29221
29435
  type: 'object',
29436
+ 'x-resource-type': 'device',
29222
29437
  'x-variant-group-key': 'thermostats',
29223
29438
  },
29224
29439
  {
@@ -29251,6 +29466,7 @@ const openapi = {
29251
29466
  'error_code',
29252
29467
  ],
29253
29468
  type: 'object',
29469
+ 'x-resource-type': 'device',
29254
29470
  },
29255
29471
  {
29256
29472
  deprecated: true,
@@ -29284,6 +29500,7 @@ const openapi = {
29284
29500
  ],
29285
29501
  type: 'object',
29286
29502
  'x-deprecated': 'Use `hub_disconnected` instead.',
29503
+ 'x-resource-type': 'device',
29287
29504
  },
29288
29505
  {
29289
29506
  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 +29530,7 @@ const openapi = {
29313
29530
  },
29314
29531
  required: ['created_at', 'message', 'error_code'],
29315
29532
  type: 'object',
29533
+ 'x-resource-type': 'connected_account',
29316
29534
  },
29317
29535
  {
29318
29536
  description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
@@ -29342,6 +29560,7 @@ const openapi = {
29342
29560
  },
29343
29561
  required: ['created_at', 'message', 'error_code'],
29344
29562
  type: 'object',
29563
+ 'x-resource-type': 'connected_account',
29345
29564
  },
29346
29565
  ],
29347
29566
  },
@@ -55220,6 +55439,7 @@ const openapi = {
55220
55439
  'access_code.name_changed',
55221
55440
  'access_code.code_changed',
55222
55441
  'access_code.time_frame_changed',
55442
+ 'access_code.mutations_requested',
55223
55443
  'access_code.scheduled_on_device',
55224
55444
  'access_code.set_on_device',
55225
55445
  'access_code.removed_from_device',
@@ -55337,6 +55557,7 @@ const openapi = {
55337
55557
  'access_code.name_changed',
55338
55558
  'access_code.code_changed',
55339
55559
  'access_code.time_frame_changed',
55560
+ 'access_code.mutations_requested',
55340
55561
  'access_code.scheduled_on_device',
55341
55562
  'access_code.set_on_device',
55342
55563
  'access_code.removed_from_device',
@@ -55754,6 +55975,7 @@ const openapi = {
55754
55975
  'access_code.name_changed',
55755
55976
  'access_code.code_changed',
55756
55977
  'access_code.time_frame_changed',
55978
+ 'access_code.mutations_requested',
55757
55979
  'access_code.scheduled_on_device',
55758
55980
  'access_code.set_on_device',
55759
55981
  'access_code.removed_from_device',
@@ -55867,6 +56089,7 @@ const openapi = {
55867
56089
  'access_code.name_changed',
55868
56090
  'access_code.code_changed',
55869
56091
  'access_code.time_frame_changed',
56092
+ 'access_code.mutations_requested',
55870
56093
  'access_code.scheduled_on_device',
55871
56094
  'access_code.set_on_device',
55872
56095
  'access_code.removed_from_device',
@@ -65821,6 +66044,7 @@ const openapi = {
65821
66044
  'access_code.name_changed',
65822
66045
  'access_code.code_changed',
65823
66046
  'access_code.time_frame_changed',
66047
+ 'access_code.mutations_requested',
65824
66048
  'access_code.scheduled_on_device',
65825
66049
  'access_code.set_on_device',
65826
66050
  'access_code.removed_from_device',
@@ -65939,6 +66163,7 @@ const openapi = {
65939
66163
  'access_code.name_changed',
65940
66164
  'access_code.code_changed',
65941
66165
  'access_code.time_frame_changed',
66166
+ 'access_code.mutations_requested',
65942
66167
  'access_code.scheduled_on_device',
65943
66168
  'access_code.set_on_device',
65944
66169
  'access_code.removed_from_device',
@@ -66118,6 +66343,7 @@ const openapi = {
66118
66343
  'access_code.name_changed',
66119
66344
  'access_code.code_changed',
66120
66345
  'access_code.time_frame_changed',
66346
+ 'access_code.mutations_requested',
66121
66347
  'access_code.scheduled_on_device',
66122
66348
  'access_code.set_on_device',
66123
66349
  'access_code.removed_from_device',
@@ -66231,6 +66457,7 @@ const openapi = {
66231
66457
  'access_code.name_changed',
66232
66458
  'access_code.code_changed',
66233
66459
  'access_code.time_frame_changed',
66460
+ 'access_code.mutations_requested',
66234
66461
  'access_code.scheduled_on_device',
66235
66462
  'access_code.set_on_device',
66236
66463
  'access_code.removed_from_device',