@seamapi/types 1.921.0 → 1.923.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 (27) hide show
  1. package/dist/connect.cjs +315 -186
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +484 -341
  4. package/dist/index.cjs +315 -186
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +31 -0
  7. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +31 -0
  8. package/lib/seam/connect/models/access-grants/access-grant.js +6 -1
  9. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  10. package/lib/seam/connect/models/bridges/bridge-client-session.js +14 -8
  11. package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
  12. package/lib/seam/connect/models/devices/device.d.ts +103 -0
  13. package/lib/seam/connect/models/devices/device.js +55 -16
  14. package/lib/seam/connect/models/devices/device.js.map +1 -1
  15. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +31 -0
  16. package/lib/seam/connect/models/user-identities/user-identity.js +7 -4
  17. package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
  18. package/lib/seam/connect/openapi.js +196 -122
  19. package/lib/seam/connect/openapi.js.map +1 -1
  20. package/lib/seam/connect/route-types.d.ts +341 -341
  21. package/package.json +2 -2
  22. package/src/lib/seam/connect/models/access-grants/access-grant.ts +6 -1
  23. package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +17 -8
  24. package/src/lib/seam/connect/models/devices/device.ts +69 -33
  25. package/src/lib/seam/connect/models/user-identities/user-identity.ts +22 -21
  26. package/src/lib/seam/connect/openapi.ts +225 -148
  27. package/src/lib/seam/connect/route-types.ts +372 -372
@@ -524,6 +524,45 @@ const openapi = {
524
524
  'x-resource-type': 'connected_account',
525
525
  'x-variant-group-key': 'locks',
526
526
  },
527
+ {
528
+ description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
529
+ properties: {
530
+ created_at: {
531
+ description: 'Date and time at which Seam created the error.',
532
+ format: 'date-time',
533
+ type: 'string',
534
+ },
535
+ error_code: {
536
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
537
+ enum: ['dormakaba_sites_disconnected'],
538
+ type: 'string',
539
+ },
540
+ is_connected_account_error: {
541
+ description: 'Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.',
542
+ enum: [true],
543
+ type: 'boolean',
544
+ },
545
+ is_device_error: {
546
+ description: 'Indicates that the error is not a device error.',
547
+ enum: [false],
548
+ type: 'boolean',
549
+ },
550
+ message: {
551
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
552
+ type: 'string',
553
+ },
554
+ },
555
+ required: [
556
+ 'message',
557
+ 'is_device_error',
558
+ 'created_at',
559
+ 'error_code',
560
+ 'is_connected_account_error',
561
+ ],
562
+ type: 'object',
563
+ 'x-resource-type': 'connected_account',
564
+ 'x-variant-group-key': 'locks',
565
+ },
527
566
  {
528
567
  deprecated: true,
529
568
  description: 'Indicates that the device is offline.',
@@ -788,6 +827,7 @@ const openapi = {
788
827
  type: 'object',
789
828
  'x-deprecated': 'Use `hub_disconnected` instead.',
790
829
  'x-resource-type': 'device',
830
+ 'x-variant-group-key': 'locks',
791
831
  },
792
832
  {
793
833
  description: 'Indicates that device credentials are missing.',
@@ -919,6 +959,7 @@ const openapi = {
919
959
  type: 'object',
920
960
  'x-deprecated': 'Use `hub_disconnected` instead.',
921
961
  'x-resource-type': 'device',
962
+ 'x-variant-group-key': 'locks',
922
963
  },
923
964
  {
924
965
  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).',
@@ -950,36 +991,6 @@ const openapi = {
950
991
  type: 'object',
951
992
  'x-resource-type': 'connected_account',
952
993
  },
953
- {
954
- description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
955
- properties: {
956
- created_at: {
957
- description: 'Date and time at which Seam created the error.',
958
- format: 'date-time',
959
- type: 'string',
960
- },
961
- error_code: {
962
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
963
- enum: ['dormakaba_sites_disconnected'],
964
- type: 'string',
965
- },
966
- is_bridge_error: {
967
- description: 'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).',
968
- type: 'boolean',
969
- },
970
- is_connected_account_error: {
971
- description: 'Indicates whether the error is related specifically to the connected account.',
972
- type: 'boolean',
973
- },
974
- message: {
975
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
976
- type: 'string',
977
- },
978
- },
979
- required: ['created_at', 'message', 'error_code'],
980
- type: 'object',
981
- 'x-resource-type': 'connected_account',
982
- },
983
994
  ],
984
995
  },
985
996
  type: 'array',
@@ -1679,6 +1690,7 @@ const openapi = {
1679
1690
  discriminator: { propertyName: 'error_code' },
1680
1691
  oneOf: [
1681
1692
  {
1693
+ description: 'Indicates that Seam could not create one or more of the requested access methods for the access grant.',
1682
1694
  properties: {
1683
1695
  created_at: {
1684
1696
  description: 'Date and time at which Seam created the error.',
@@ -1702,6 +1714,7 @@ const openapi = {
1702
1714
  },
1703
1715
  required: ['created_at', 'message', 'error_code'],
1704
1716
  type: 'object',
1717
+ 'x-resource-type': 'access_grant',
1705
1718
  },
1706
1719
  ],
1707
1720
  },
@@ -10382,6 +10395,7 @@ const openapi = {
10382
10395
  'is_bridge_socks_server_healthy',
10383
10396
  ],
10384
10397
  type: 'object',
10398
+ 'x-resource-type': 'bridge_client_session',
10385
10399
  },
10386
10400
  {
10387
10401
  description: 'Indicates that Seam Bridge has stopped communicating with Seam.',
@@ -10403,6 +10417,7 @@ const openapi = {
10403
10417
  },
10404
10418
  required: ['message', 'created_at', 'error_code'],
10405
10419
  type: 'object',
10420
+ 'x-resource-type': 'bridge_client_session',
10406
10421
  },
10407
10422
  ],
10408
10423
  },
@@ -11698,6 +11713,45 @@ const openapi = {
11698
11713
  'x-resource-type': 'connected_account',
11699
11714
  'x-variant-group-key': 'locks',
11700
11715
  },
11716
+ {
11717
+ description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
11718
+ properties: {
11719
+ created_at: {
11720
+ description: 'Date and time at which Seam created the error.',
11721
+ format: 'date-time',
11722
+ type: 'string',
11723
+ },
11724
+ error_code: {
11725
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11726
+ enum: ['dormakaba_sites_disconnected'],
11727
+ type: 'string',
11728
+ },
11729
+ is_connected_account_error: {
11730
+ description: 'Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.',
11731
+ enum: [true],
11732
+ type: 'boolean',
11733
+ },
11734
+ is_device_error: {
11735
+ description: 'Indicates that the error is not a device error.',
11736
+ enum: [false],
11737
+ type: 'boolean',
11738
+ },
11739
+ message: {
11740
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
11741
+ type: 'string',
11742
+ },
11743
+ },
11744
+ required: [
11745
+ 'message',
11746
+ 'is_device_error',
11747
+ 'created_at',
11748
+ 'error_code',
11749
+ 'is_connected_account_error',
11750
+ ],
11751
+ type: 'object',
11752
+ 'x-resource-type': 'connected_account',
11753
+ 'x-variant-group-key': 'locks',
11754
+ },
11701
11755
  {
11702
11756
  deprecated: true,
11703
11757
  description: 'Indicates that the device is offline.',
@@ -11962,6 +12016,7 @@ const openapi = {
11962
12016
  type: 'object',
11963
12017
  'x-deprecated': 'Use `hub_disconnected` instead.',
11964
12018
  'x-resource-type': 'device',
12019
+ 'x-variant-group-key': 'locks',
11965
12020
  },
11966
12021
  {
11967
12022
  description: 'Indicates that device credentials are missing.',
@@ -12093,6 +12148,7 @@ const openapi = {
12093
12148
  type: 'object',
12094
12149
  'x-deprecated': 'Use `hub_disconnected` instead.',
12095
12150
  'x-resource-type': 'device',
12151
+ 'x-variant-group-key': 'locks',
12096
12152
  },
12097
12153
  {
12098
12154
  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).',
@@ -12124,36 +12180,6 @@ const openapi = {
12124
12180
  type: 'object',
12125
12181
  'x-resource-type': 'connected_account',
12126
12182
  },
12127
- {
12128
- description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
12129
- properties: {
12130
- created_at: {
12131
- description: 'Date and time at which Seam created the error.',
12132
- format: 'date-time',
12133
- type: 'string',
12134
- },
12135
- error_code: {
12136
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12137
- enum: ['dormakaba_sites_disconnected'],
12138
- type: 'string',
12139
- },
12140
- is_bridge_error: {
12141
- description: 'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).',
12142
- type: 'boolean',
12143
- },
12144
- is_connected_account_error: {
12145
- description: 'Indicates whether the error is related specifically to the connected account.',
12146
- type: 'boolean',
12147
- },
12148
- message: {
12149
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
12150
- type: 'string',
12151
- },
12152
- },
12153
- required: ['created_at', 'message', 'error_code'],
12154
- type: 'object',
12155
- 'x-resource-type': 'connected_account',
12156
- },
12157
12183
  ],
12158
12184
  },
12159
12185
  type: 'array',
@@ -14689,6 +14715,7 @@ const openapi = {
14689
14715
  required: ['message', 'created_at', 'warning_code'],
14690
14716
  type: 'object',
14691
14717
  'x-deprecated': 'Use `hub_disconnected` device error instead.',
14718
+ 'x-variant-group-key': 'locks',
14692
14719
  },
14693
14720
  {
14694
14721
  description: 'Indicates that a third-party integration has been detected.',
@@ -14734,7 +14761,7 @@ const openapi = {
14734
14761
  'x-variant-group-key': 'locks',
14735
14762
  },
14736
14763
  {
14737
- description: '\n Indicates that the gateway signal is weak.\n ',
14764
+ description: 'Indicates that the gateway signal is weak.',
14738
14765
  properties: {
14739
14766
  created_at: {
14740
14767
  description: 'Date and time at which Seam created the warning.',
@@ -14753,6 +14780,7 @@ const openapi = {
14753
14780
  },
14754
14781
  required: ['message', 'created_at', 'warning_code'],
14755
14782
  type: 'object',
14783
+ 'x-variant-group-key': 'locks',
14756
14784
  },
14757
14785
  {
14758
14786
  description: 'Indicates that the device is in power saving mode and may have limited functionality.',
@@ -14925,6 +14953,7 @@ const openapi = {
14925
14953
  },
14926
14954
  required: ['message', 'created_at', 'warning_code'],
14927
14955
  type: 'object',
14956
+ 'x-variant-group-key': 'locks',
14928
14957
  },
14929
14958
  {
14930
14959
  description: 'Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.',
@@ -14990,6 +15019,7 @@ const openapi = {
14990
15019
  },
14991
15020
  required: ['message', 'created_at', 'warning_code'],
14992
15021
  type: 'object',
15022
+ 'x-variant-group-key': 'locks',
14993
15023
  },
14994
15024
  {
14995
15025
  description: 'Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.',
@@ -15011,6 +15041,7 @@ const openapi = {
15011
15041
  },
15012
15042
  required: ['message', 'created_at', 'warning_code'],
15013
15043
  type: 'object',
15044
+ 'x-variant-group-key': 'locks',
15014
15045
  },
15015
15046
  {
15016
15047
  description: 'Indicates that the 2N device does not have a time zone configured. Configure a time zone on the device to enable access codes.',
@@ -15032,6 +15063,7 @@ const openapi = {
15032
15063
  },
15033
15064
  required: ['message', 'created_at', 'warning_code'],
15034
15065
  type: 'object',
15066
+ 'x-variant-group-key': 'locks',
15035
15067
  },
15036
15068
  {
15037
15069
  description: 'Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.',
@@ -25376,6 +25408,7 @@ const openapi = {
25376
25408
  'acs_system_id',
25377
25409
  ],
25378
25410
  type: 'object',
25411
+ 'x-resource-type': 'user_identity',
25379
25412
  },
25380
25413
  ],
25381
25414
  },
@@ -26349,6 +26382,45 @@ const openapi = {
26349
26382
  'x-resource-type': 'connected_account',
26350
26383
  'x-variant-group-key': 'locks',
26351
26384
  },
26385
+ {
26386
+ description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
26387
+ properties: {
26388
+ created_at: {
26389
+ description: 'Date and time at which Seam created the error.',
26390
+ format: 'date-time',
26391
+ type: 'string',
26392
+ },
26393
+ error_code: {
26394
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
26395
+ enum: ['dormakaba_sites_disconnected'],
26396
+ type: 'string',
26397
+ },
26398
+ is_connected_account_error: {
26399
+ description: 'Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.',
26400
+ enum: [true],
26401
+ type: 'boolean',
26402
+ },
26403
+ is_device_error: {
26404
+ description: 'Indicates that the error is not a device error.',
26405
+ enum: [false],
26406
+ type: 'boolean',
26407
+ },
26408
+ message: {
26409
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
26410
+ type: 'string',
26411
+ },
26412
+ },
26413
+ required: [
26414
+ 'message',
26415
+ 'is_device_error',
26416
+ 'created_at',
26417
+ 'error_code',
26418
+ 'is_connected_account_error',
26419
+ ],
26420
+ type: 'object',
26421
+ 'x-resource-type': 'connected_account',
26422
+ 'x-variant-group-key': 'locks',
26423
+ },
26352
26424
  {
26353
26425
  deprecated: true,
26354
26426
  description: 'Indicates that the device is offline.',
@@ -26613,6 +26685,7 @@ const openapi = {
26613
26685
  type: 'object',
26614
26686
  'x-deprecated': 'Use `hub_disconnected` instead.',
26615
26687
  'x-resource-type': 'device',
26688
+ 'x-variant-group-key': 'locks',
26616
26689
  },
26617
26690
  {
26618
26691
  description: 'Indicates that device credentials are missing.',
@@ -26744,6 +26817,7 @@ const openapi = {
26744
26817
  type: 'object',
26745
26818
  'x-deprecated': 'Use `hub_disconnected` instead.',
26746
26819
  'x-resource-type': 'device',
26820
+ 'x-variant-group-key': 'locks',
26747
26821
  },
26748
26822
  {
26749
26823
  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).',
@@ -26775,36 +26849,6 @@ const openapi = {
26775
26849
  type: 'object',
26776
26850
  'x-resource-type': 'connected_account',
26777
26851
  },
26778
- {
26779
- description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
26780
- properties: {
26781
- created_at: {
26782
- description: 'Date and time at which Seam created the error.',
26783
- format: 'date-time',
26784
- type: 'string',
26785
- },
26786
- error_code: {
26787
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
26788
- enum: ['dormakaba_sites_disconnected'],
26789
- type: 'string',
26790
- },
26791
- is_bridge_error: {
26792
- description: 'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).',
26793
- type: 'boolean',
26794
- },
26795
- is_connected_account_error: {
26796
- description: 'Indicates whether the error is related specifically to the connected account.',
26797
- type: 'boolean',
26798
- },
26799
- message: {
26800
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
26801
- type: 'string',
26802
- },
26803
- },
26804
- required: ['created_at', 'message', 'error_code'],
26805
- type: 'object',
26806
- 'x-resource-type': 'connected_account',
26807
- },
26808
26852
  ],
26809
26853
  },
26810
26854
  type: 'array',
@@ -29106,6 +29150,45 @@ const openapi = {
29106
29150
  'x-resource-type': 'connected_account',
29107
29151
  'x-variant-group-key': 'locks',
29108
29152
  },
29153
+ {
29154
+ description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
29155
+ properties: {
29156
+ created_at: {
29157
+ description: 'Date and time at which Seam created the error.',
29158
+ format: 'date-time',
29159
+ type: 'string',
29160
+ },
29161
+ error_code: {
29162
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
29163
+ enum: ['dormakaba_sites_disconnected'],
29164
+ type: 'string',
29165
+ },
29166
+ is_connected_account_error: {
29167
+ description: 'Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.',
29168
+ enum: [true],
29169
+ type: 'boolean',
29170
+ },
29171
+ is_device_error: {
29172
+ description: 'Indicates that the error is not a device error.',
29173
+ enum: [false],
29174
+ type: 'boolean',
29175
+ },
29176
+ message: {
29177
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
29178
+ type: 'string',
29179
+ },
29180
+ },
29181
+ required: [
29182
+ 'message',
29183
+ 'is_device_error',
29184
+ 'created_at',
29185
+ 'error_code',
29186
+ 'is_connected_account_error',
29187
+ ],
29188
+ type: 'object',
29189
+ 'x-resource-type': 'connected_account',
29190
+ 'x-variant-group-key': 'locks',
29191
+ },
29109
29192
  {
29110
29193
  deprecated: true,
29111
29194
  description: 'Indicates that the device is offline.',
@@ -29370,6 +29453,7 @@ const openapi = {
29370
29453
  type: 'object',
29371
29454
  'x-deprecated': 'Use `hub_disconnected` instead.',
29372
29455
  'x-resource-type': 'device',
29456
+ 'x-variant-group-key': 'locks',
29373
29457
  },
29374
29458
  {
29375
29459
  description: 'Indicates that device credentials are missing.',
@@ -29501,6 +29585,7 @@ const openapi = {
29501
29585
  type: 'object',
29502
29586
  'x-deprecated': 'Use `hub_disconnected` instead.',
29503
29587
  'x-resource-type': 'device',
29588
+ 'x-variant-group-key': 'locks',
29504
29589
  },
29505
29590
  {
29506
29591
  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).',
@@ -29532,36 +29617,6 @@ const openapi = {
29532
29617
  type: 'object',
29533
29618
  'x-resource-type': 'connected_account',
29534
29619
  },
29535
- {
29536
- description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
29537
- properties: {
29538
- created_at: {
29539
- description: 'Date and time at which Seam created the error.',
29540
- format: 'date-time',
29541
- type: 'string',
29542
- },
29543
- error_code: {
29544
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
29545
- enum: ['dormakaba_sites_disconnected'],
29546
- type: 'string',
29547
- },
29548
- is_bridge_error: {
29549
- description: 'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).',
29550
- type: 'boolean',
29551
- },
29552
- is_connected_account_error: {
29553
- description: 'Indicates whether the error is related specifically to the connected account.',
29554
- type: 'boolean',
29555
- },
29556
- message: {
29557
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
29558
- type: 'string',
29559
- },
29560
- },
29561
- required: ['created_at', 'message', 'error_code'],
29562
- type: 'object',
29563
- 'x-resource-type': 'connected_account',
29564
- },
29565
29620
  ],
29566
29621
  },
29567
29622
  type: 'array',
@@ -29819,6 +29874,7 @@ const openapi = {
29819
29874
  required: ['message', 'created_at', 'warning_code'],
29820
29875
  type: 'object',
29821
29876
  'x-deprecated': 'Use `hub_disconnected` device error instead.',
29877
+ 'x-variant-group-key': 'locks',
29822
29878
  },
29823
29879
  {
29824
29880
  description: 'Indicates that a third-party integration has been detected.',
@@ -29864,7 +29920,7 @@ const openapi = {
29864
29920
  'x-variant-group-key': 'locks',
29865
29921
  },
29866
29922
  {
29867
- description: '\n Indicates that the gateway signal is weak.\n ',
29923
+ description: 'Indicates that the gateway signal is weak.',
29868
29924
  properties: {
29869
29925
  created_at: {
29870
29926
  description: 'Date and time at which Seam created the warning.',
@@ -29883,6 +29939,7 @@ const openapi = {
29883
29939
  },
29884
29940
  required: ['message', 'created_at', 'warning_code'],
29885
29941
  type: 'object',
29942
+ 'x-variant-group-key': 'locks',
29886
29943
  },
29887
29944
  {
29888
29945
  description: 'Indicates that the device is in power saving mode and may have limited functionality.',
@@ -30055,6 +30112,7 @@ const openapi = {
30055
30112
  },
30056
30113
  required: ['message', 'created_at', 'warning_code'],
30057
30114
  type: 'object',
30115
+ 'x-variant-group-key': 'locks',
30058
30116
  },
30059
30117
  {
30060
30118
  description: 'Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.',
@@ -30120,6 +30178,7 @@ const openapi = {
30120
30178
  },
30121
30179
  required: ['message', 'created_at', 'warning_code'],
30122
30180
  type: 'object',
30181
+ 'x-variant-group-key': 'locks',
30123
30182
  },
30124
30183
  {
30125
30184
  description: 'Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.',
@@ -30141,6 +30200,7 @@ const openapi = {
30141
30200
  },
30142
30201
  required: ['message', 'created_at', 'warning_code'],
30143
30202
  type: 'object',
30203
+ 'x-variant-group-key': 'locks',
30144
30204
  },
30145
30205
  {
30146
30206
  description: 'Indicates that the 2N device does not have a time zone configured. Configure a time zone on the device to enable access codes.',
@@ -30162,6 +30222,7 @@ const openapi = {
30162
30222
  },
30163
30223
  required: ['message', 'created_at', 'warning_code'],
30164
30224
  type: 'object',
30225
+ 'x-variant-group-key': 'locks',
30165
30226
  },
30166
30227
  {
30167
30228
  description: 'Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.',
@@ -30441,6 +30502,7 @@ const openapi = {
30441
30502
  'acs_system_id',
30442
30503
  ],
30443
30504
  type: 'object',
30505
+ 'x-resource-type': 'user_identity',
30444
30506
  },
30445
30507
  ],
30446
30508
  },
@@ -34643,6 +34705,7 @@ const openapi = {
34643
34705
  discriminator: { propertyName: 'error_code' },
34644
34706
  oneOf: [
34645
34707
  {
34708
+ description: 'Indicates that Seam could not create one or more of the requested access methods for the access grant.',
34646
34709
  properties: {
34647
34710
  created_at: {
34648
34711
  description: 'Date and time at which Seam created the error.',
@@ -34672,6 +34735,7 @@ const openapi = {
34672
34735
  'error_code',
34673
34736
  ],
34674
34737
  type: 'object',
34738
+ 'x-resource-type': 'access_grant',
34675
34739
  },
34676
34740
  ],
34677
34741
  },
@@ -35270,6 +35334,7 @@ const openapi = {
35270
35334
  discriminator: { propertyName: 'error_code' },
35271
35335
  oneOf: [
35272
35336
  {
35337
+ description: 'Indicates that Seam could not create one or more of the requested access methods for the access grant.',
35273
35338
  properties: {
35274
35339
  created_at: {
35275
35340
  description: 'Date and time at which Seam created the error.',
@@ -35299,6 +35364,7 @@ const openapi = {
35299
35364
  'error_code',
35300
35365
  ],
35301
35366
  type: 'object',
35367
+ 'x-resource-type': 'access_grant',
35302
35368
  },
35303
35369
  ],
35304
35370
  },
@@ -35939,6 +36005,7 @@ const openapi = {
35939
36005
  discriminator: { propertyName: 'error_code' },
35940
36006
  oneOf: [
35941
36007
  {
36008
+ description: 'Indicates that Seam could not create one or more of the requested access methods for the access grant.',
35942
36009
  properties: {
35943
36010
  created_at: {
35944
36011
  description: 'Date and time at which Seam created the error.',
@@ -35968,6 +36035,7 @@ const openapi = {
35968
36035
  'error_code',
35969
36036
  ],
35970
36037
  type: 'object',
36038
+ 'x-resource-type': 'access_grant',
35971
36039
  },
35972
36040
  ],
35973
36041
  },
@@ -36596,6 +36664,7 @@ const openapi = {
36596
36664
  discriminator: { propertyName: 'error_code' },
36597
36665
  oneOf: [
36598
36666
  {
36667
+ description: 'Indicates that Seam could not create one or more of the requested access methods for the access grant.',
36599
36668
  properties: {
36600
36669
  created_at: {
36601
36670
  description: 'Date and time at which Seam created the error.',
@@ -36625,6 +36694,7 @@ const openapi = {
36625
36694
  'error_code',
36626
36695
  ],
36627
36696
  type: 'object',
36697
+ 'x-resource-type': 'access_grant',
36628
36698
  },
36629
36699
  ],
36630
36700
  },
@@ -79104,6 +79174,7 @@ const openapi = {
79104
79174
  'acs_system_id',
79105
79175
  ],
79106
79176
  type: 'object',
79177
+ 'x-resource-type': 'user_identity',
79107
79178
  },
79108
79179
  ],
79109
79180
  },
@@ -79326,6 +79397,7 @@ const openapi = {
79326
79397
  'acs_system_id',
79327
79398
  ],
79328
79399
  type: 'object',
79400
+ 'x-resource-type': 'user_identity',
79329
79401
  },
79330
79402
  ],
79331
79403
  },
@@ -79574,6 +79646,7 @@ const openapi = {
79574
79646
  'acs_system_id',
79575
79647
  ],
79576
79648
  type: 'object',
79649
+ 'x-resource-type': 'user_identity',
79577
79650
  },
79578
79651
  ],
79579
79652
  },
@@ -79816,6 +79889,7 @@ const openapi = {
79816
79889
  'acs_system_id',
79817
79890
  ],
79818
79891
  type: 'object',
79892
+ 'x-resource-type': 'user_identity',
79819
79893
  },
79820
79894
  ],
79821
79895
  },