@seamapi/types 1.374.0 → 1.375.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +154 -63
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +767 -116
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +93 -15
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +93 -15
- package/lib/seam/connect/models/acs/acs-system.d.ts +55 -0
- package/lib/seam/connect/models/acs/acs-system.js +9 -1
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +200 -48
- package/lib/seam/connect/models/connected-accounts/connected-account.js +9 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +118 -24
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +61 -15
- package/lib/seam/connect/openapi.d.ts +58 -8
- package/lib/seam/connect/openapi.js +138 -61
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +314 -33
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +10 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +10 -1
- package/src/lib/seam/connect/openapi.ts +157 -61
- package/src/lib/seam/connect/route-types.ts +345 -33
|
@@ -686,18 +686,31 @@ export default {
|
|
|
686
686
|
enum: ['invalid_credentials'],
|
|
687
687
|
type: 'string',
|
|
688
688
|
},
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
689
|
+
is_bridge_error: { type: 'boolean' },
|
|
690
|
+
is_connected_account_error: { type: 'boolean' },
|
|
691
|
+
message: { type: 'string' },
|
|
692
|
+
},
|
|
693
|
+
required: ['created_at', 'message', 'error_code'],
|
|
694
|
+
type: 'object',
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/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/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
698
|
+
properties: {
|
|
699
|
+
created_at: {
|
|
700
|
+
description: 'Date and time at which Seam created the error.',
|
|
701
|
+
format: 'date-time',
|
|
702
|
+
type: 'string',
|
|
703
|
+
},
|
|
704
|
+
error_code: {
|
|
705
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
706
|
+
enum: ['bridge_disconnected'],
|
|
707
|
+
type: 'string',
|
|
692
708
|
},
|
|
709
|
+
is_bridge_error: { type: 'boolean' },
|
|
710
|
+
is_connected_account_error: { type: 'boolean' },
|
|
693
711
|
message: { type: 'string' },
|
|
694
712
|
},
|
|
695
|
-
required: [
|
|
696
|
-
'created_at',
|
|
697
|
-
'message',
|
|
698
|
-
'is_connected_account_error',
|
|
699
|
-
'error_code',
|
|
700
|
-
],
|
|
713
|
+
required: ['created_at', 'message', 'error_code'],
|
|
701
714
|
type: 'object',
|
|
702
715
|
},
|
|
703
716
|
],
|
|
@@ -1691,7 +1704,7 @@ export default {
|
|
|
1691
1704
|
discriminator: { propertyName: 'error_code' },
|
|
1692
1705
|
oneOf: [
|
|
1693
1706
|
{
|
|
1694
|
-
description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/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/latest/core-concepts/workspaces).\n See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/
|
|
1707
|
+
description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/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/latest/core-concepts/workspaces).\n See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
1695
1708
|
properties: {
|
|
1696
1709
|
created_at: {
|
|
1697
1710
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -1711,6 +1724,28 @@ export default {
|
|
|
1711
1724
|
required: ['created_at', 'message', 'error_code'],
|
|
1712
1725
|
type: 'object',
|
|
1713
1726
|
},
|
|
1727
|
+
{
|
|
1728
|
+
description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/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/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
1729
|
+
properties: {
|
|
1730
|
+
created_at: {
|
|
1731
|
+
description: 'Date and time at which Seam created the error.',
|
|
1732
|
+
format: 'date-time',
|
|
1733
|
+
type: 'string',
|
|
1734
|
+
},
|
|
1735
|
+
error_code: {
|
|
1736
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
1737
|
+
enum: ['bridge_disconnected'],
|
|
1738
|
+
type: 'string',
|
|
1739
|
+
},
|
|
1740
|
+
is_bridge_error: { type: 'boolean' },
|
|
1741
|
+
message: {
|
|
1742
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
1743
|
+
type: 'string',
|
|
1744
|
+
},
|
|
1745
|
+
},
|
|
1746
|
+
required: ['created_at', 'message', 'error_code'],
|
|
1747
|
+
type: 'object',
|
|
1748
|
+
},
|
|
1714
1749
|
{
|
|
1715
1750
|
description: 'Indicates that [Seam Bridge](https://docs.seam.co/latest/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/latest/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/latest/core-concepts/workspaces).\n See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.visionline_instance_unreachable).',
|
|
1716
1751
|
properties: {
|
|
@@ -5525,18 +5560,11 @@ export default {
|
|
|
5525
5560
|
enum: ['account_disconnected'],
|
|
5526
5561
|
type: 'string',
|
|
5527
5562
|
},
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
type: 'boolean',
|
|
5531
|
-
},
|
|
5563
|
+
is_bridge_error: { type: 'boolean' },
|
|
5564
|
+
is_connected_account_error: { type: 'boolean' },
|
|
5532
5565
|
message: { type: 'string' },
|
|
5533
5566
|
},
|
|
5534
|
-
required: [
|
|
5535
|
-
'created_at',
|
|
5536
|
-
'message',
|
|
5537
|
-
'is_connected_account_error',
|
|
5538
|
-
'error_code',
|
|
5539
|
-
],
|
|
5567
|
+
required: ['created_at', 'message', 'error_code'],
|
|
5540
5568
|
type: 'object',
|
|
5541
5569
|
},
|
|
5542
5570
|
{
|
|
@@ -5552,18 +5580,31 @@ export default {
|
|
|
5552
5580
|
enum: ['invalid_credentials'],
|
|
5553
5581
|
type: 'string',
|
|
5554
5582
|
},
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5583
|
+
is_bridge_error: { type: 'boolean' },
|
|
5584
|
+
is_connected_account_error: { type: 'boolean' },
|
|
5585
|
+
message: { type: 'string' },
|
|
5586
|
+
},
|
|
5587
|
+
required: ['created_at', 'message', 'error_code'],
|
|
5588
|
+
type: 'object',
|
|
5589
|
+
},
|
|
5590
|
+
{
|
|
5591
|
+
description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/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/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
5592
|
+
properties: {
|
|
5593
|
+
created_at: {
|
|
5594
|
+
description: 'Date and time at which Seam created the error.',
|
|
5595
|
+
format: 'date-time',
|
|
5596
|
+
type: 'string',
|
|
5597
|
+
},
|
|
5598
|
+
error_code: {
|
|
5599
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
5600
|
+
enum: ['bridge_disconnected'],
|
|
5601
|
+
type: 'string',
|
|
5558
5602
|
},
|
|
5603
|
+
is_bridge_error: { type: 'boolean' },
|
|
5604
|
+
is_connected_account_error: { type: 'boolean' },
|
|
5559
5605
|
message: { type: 'string' },
|
|
5560
5606
|
},
|
|
5561
|
-
required: [
|
|
5562
|
-
'created_at',
|
|
5563
|
-
'message',
|
|
5564
|
-
'is_connected_account_error',
|
|
5565
|
-
'error_code',
|
|
5566
|
-
],
|
|
5607
|
+
required: ['created_at', 'message', 'error_code'],
|
|
5567
5608
|
type: 'object',
|
|
5568
5609
|
},
|
|
5569
5610
|
{
|
|
@@ -5579,10 +5620,8 @@ export default {
|
|
|
5579
5620
|
enum: ['salto_ks_subscription_limit_exceeded'],
|
|
5580
5621
|
type: 'string',
|
|
5581
5622
|
},
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
type: 'boolean',
|
|
5585
|
-
},
|
|
5623
|
+
is_bridge_error: { type: 'boolean' },
|
|
5624
|
+
is_connected_account_error: { type: 'boolean' },
|
|
5586
5625
|
message: { type: 'string' },
|
|
5587
5626
|
salto_ks_metadata: {
|
|
5588
5627
|
properties: {
|
|
@@ -5618,7 +5657,6 @@ export default {
|
|
|
5618
5657
|
required: [
|
|
5619
5658
|
'created_at',
|
|
5620
5659
|
'message',
|
|
5621
|
-
'is_connected_account_error',
|
|
5622
5660
|
'error_code',
|
|
5623
5661
|
'salto_ks_metadata',
|
|
5624
5662
|
],
|
|
@@ -6144,18 +6182,31 @@ export default {
|
|
|
6144
6182
|
enum: ['invalid_credentials'],
|
|
6145
6183
|
type: 'string',
|
|
6146
6184
|
},
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
|
|
6185
|
+
is_bridge_error: { type: 'boolean' },
|
|
6186
|
+
is_connected_account_error: { type: 'boolean' },
|
|
6187
|
+
message: { type: 'string' },
|
|
6188
|
+
},
|
|
6189
|
+
required: ['created_at', 'message', 'error_code'],
|
|
6190
|
+
type: 'object',
|
|
6191
|
+
},
|
|
6192
|
+
{
|
|
6193
|
+
description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/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/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
6194
|
+
properties: {
|
|
6195
|
+
created_at: {
|
|
6196
|
+
description: 'Date and time at which Seam created the error.',
|
|
6197
|
+
format: 'date-time',
|
|
6198
|
+
type: 'string',
|
|
6199
|
+
},
|
|
6200
|
+
error_code: {
|
|
6201
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
6202
|
+
enum: ['bridge_disconnected'],
|
|
6203
|
+
type: 'string',
|
|
6150
6204
|
},
|
|
6205
|
+
is_bridge_error: { type: 'boolean' },
|
|
6206
|
+
is_connected_account_error: { type: 'boolean' },
|
|
6151
6207
|
message: { type: 'string' },
|
|
6152
6208
|
},
|
|
6153
|
-
required: [
|
|
6154
|
-
'created_at',
|
|
6155
|
-
'message',
|
|
6156
|
-
'is_connected_account_error',
|
|
6157
|
-
'error_code',
|
|
6158
|
-
],
|
|
6209
|
+
required: ['created_at', 'message', 'error_code'],
|
|
6159
6210
|
type: 'object',
|
|
6160
6211
|
},
|
|
6161
6212
|
],
|
|
@@ -12978,18 +13029,31 @@ export default {
|
|
|
12978
13029
|
enum: ['invalid_credentials'],
|
|
12979
13030
|
type: 'string',
|
|
12980
13031
|
},
|
|
12981
|
-
|
|
12982
|
-
|
|
12983
|
-
|
|
13032
|
+
is_bridge_error: { type: 'boolean' },
|
|
13033
|
+
is_connected_account_error: { type: 'boolean' },
|
|
13034
|
+
message: { type: 'string' },
|
|
13035
|
+
},
|
|
13036
|
+
required: ['created_at', 'message', 'error_code'],
|
|
13037
|
+
type: 'object',
|
|
13038
|
+
},
|
|
13039
|
+
{
|
|
13040
|
+
description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/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/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
13041
|
+
properties: {
|
|
13042
|
+
created_at: {
|
|
13043
|
+
description: 'Date and time at which Seam created the error.',
|
|
13044
|
+
format: 'date-time',
|
|
13045
|
+
type: 'string',
|
|
13046
|
+
},
|
|
13047
|
+
error_code: {
|
|
13048
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
13049
|
+
enum: ['bridge_disconnected'],
|
|
13050
|
+
type: 'string',
|
|
12984
13051
|
},
|
|
13052
|
+
is_bridge_error: { type: 'boolean' },
|
|
13053
|
+
is_connected_account_error: { type: 'boolean' },
|
|
12985
13054
|
message: { type: 'string' },
|
|
12986
13055
|
},
|
|
12987
|
-
required: [
|
|
12988
|
-
'created_at',
|
|
12989
|
-
'message',
|
|
12990
|
-
'is_connected_account_error',
|
|
12991
|
-
'error_code',
|
|
12992
|
-
],
|
|
13056
|
+
required: ['created_at', 'message', 'error_code'],
|
|
12993
13057
|
type: 'object',
|
|
12994
13058
|
},
|
|
12995
13059
|
],
|
|
@@ -14483,18 +14547,31 @@ export default {
|
|
|
14483
14547
|
enum: ['invalid_credentials'],
|
|
14484
14548
|
type: 'string',
|
|
14485
14549
|
},
|
|
14486
|
-
|
|
14487
|
-
|
|
14488
|
-
|
|
14550
|
+
is_bridge_error: { type: 'boolean' },
|
|
14551
|
+
is_connected_account_error: { type: 'boolean' },
|
|
14552
|
+
message: { type: 'string' },
|
|
14553
|
+
},
|
|
14554
|
+
required: ['created_at', 'message', 'error_code'],
|
|
14555
|
+
type: 'object',
|
|
14556
|
+
},
|
|
14557
|
+
{
|
|
14558
|
+
description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/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/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
14559
|
+
properties: {
|
|
14560
|
+
created_at: {
|
|
14561
|
+
description: 'Date and time at which Seam created the error.',
|
|
14562
|
+
format: 'date-time',
|
|
14563
|
+
type: 'string',
|
|
14564
|
+
},
|
|
14565
|
+
error_code: {
|
|
14566
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
14567
|
+
enum: ['bridge_disconnected'],
|
|
14568
|
+
type: 'string',
|
|
14489
14569
|
},
|
|
14570
|
+
is_bridge_error: { type: 'boolean' },
|
|
14571
|
+
is_connected_account_error: { type: 'boolean' },
|
|
14490
14572
|
message: { type: 'string' },
|
|
14491
14573
|
},
|
|
14492
|
-
required: [
|
|
14493
|
-
'created_at',
|
|
14494
|
-
'message',
|
|
14495
|
-
'is_connected_account_error',
|
|
14496
|
-
'error_code',
|
|
14497
|
-
],
|
|
14574
|
+
required: ['created_at', 'message', 'error_code'],
|
|
14498
14575
|
type: 'object',
|
|
14499
14576
|
},
|
|
14500
14577
|
],
|