@seamapi/types 1.558.0 → 1.559.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 +0 -150
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +0 -775
- package/dist/index.cjs +0 -150
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -31
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +0 -31
- package/lib/seam/connect/models/batch.d.ts +0 -602
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +0 -104
- package/lib/seam/connect/models/connected-accounts/connected-account.js +0 -9
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +0 -50
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +0 -31
- package/lib/seam/connect/openapi.js +0 -145
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +0 -429
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +0 -10
- package/src/lib/seam/connect/openapi.ts +0 -175
- package/src/lib/seam/connect/route-types.ts +0 -468
package/package.json
CHANGED
|
@@ -53,14 +53,6 @@ export const account_disconnected = common_connected_account_error
|
|
|
53
53
|
})
|
|
54
54
|
.describe('Indicates that the account is disconnected.')
|
|
55
55
|
|
|
56
|
-
export const invalid_credentials = common_connected_account_error
|
|
57
|
-
.extend({
|
|
58
|
-
error_code: z
|
|
59
|
-
.literal('invalid_credentials')
|
|
60
|
-
.describe(error_code_description),
|
|
61
|
-
})
|
|
62
|
-
.describe('Indicates that the credentials provided were invalid.')
|
|
63
|
-
|
|
64
56
|
export const bridge_disconnected = common_connected_account_error
|
|
65
57
|
.extend({
|
|
66
58
|
error_code: z
|
|
@@ -126,7 +118,6 @@ export const salto_ks_subscription_limit_exceeded =
|
|
|
126
118
|
|
|
127
119
|
export const connected_account_error = z.discriminatedUnion('error_code', [
|
|
128
120
|
account_disconnected,
|
|
129
|
-
invalid_credentials,
|
|
130
121
|
bridge_disconnected,
|
|
131
122
|
salto_ks_subscription_limit_exceeded,
|
|
132
123
|
])
|
|
@@ -137,7 +128,6 @@ export type ConnectedAccountWarning = z.infer<typeof connected_account_warning>
|
|
|
137
128
|
|
|
138
129
|
const _connected_account_error_map = z.object({
|
|
139
130
|
account_disconnected: account_disconnected.nullable().optional(),
|
|
140
|
-
invalid_credentials: invalid_credentials.nullable().optional(),
|
|
141
131
|
bridge_disconnected: bridge_disconnected.nullable().optional(),
|
|
142
132
|
salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded
|
|
143
133
|
.nullable()
|
|
@@ -1323,41 +1323,6 @@ export default {
|
|
|
1323
1323
|
],
|
|
1324
1324
|
type: 'object',
|
|
1325
1325
|
},
|
|
1326
|
-
{
|
|
1327
|
-
description:
|
|
1328
|
-
'Indicates that the credentials provided were invalid.',
|
|
1329
|
-
properties: {
|
|
1330
|
-
created_at: {
|
|
1331
|
-
description:
|
|
1332
|
-
'Date and time at which Seam created the error.',
|
|
1333
|
-
format: 'date-time',
|
|
1334
|
-
type: 'string',
|
|
1335
|
-
},
|
|
1336
|
-
error_code: {
|
|
1337
|
-
description:
|
|
1338
|
-
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
1339
|
-
enum: ['invalid_credentials'],
|
|
1340
|
-
type: 'string',
|
|
1341
|
-
},
|
|
1342
|
-
is_bridge_error: {
|
|
1343
|
-
description:
|
|
1344
|
-
'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
|
|
1345
|
-
type: 'boolean',
|
|
1346
|
-
},
|
|
1347
|
-
is_connected_account_error: {
|
|
1348
|
-
description:
|
|
1349
|
-
'Indicates whether the error is related specifically to the connected account.',
|
|
1350
|
-
type: 'boolean',
|
|
1351
|
-
},
|
|
1352
|
-
message: {
|
|
1353
|
-
description:
|
|
1354
|
-
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
1355
|
-
type: 'string',
|
|
1356
|
-
},
|
|
1357
|
-
},
|
|
1358
|
-
required: ['created_at', 'message', 'error_code'],
|
|
1359
|
-
type: 'object',
|
|
1360
|
-
},
|
|
1361
1326
|
{
|
|
1362
1327
|
description:
|
|
1363
1328
|
'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/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/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
@@ -8996,41 +8961,6 @@ export default {
|
|
|
8996
8961
|
required: ['created_at', 'message', 'error_code'],
|
|
8997
8962
|
type: 'object',
|
|
8998
8963
|
},
|
|
8999
|
-
{
|
|
9000
|
-
description:
|
|
9001
|
-
'Indicates that the credentials provided were invalid.',
|
|
9002
|
-
properties: {
|
|
9003
|
-
created_at: {
|
|
9004
|
-
description:
|
|
9005
|
-
'Date and time at which Seam created the error.',
|
|
9006
|
-
format: 'date-time',
|
|
9007
|
-
type: 'string',
|
|
9008
|
-
},
|
|
9009
|
-
error_code: {
|
|
9010
|
-
description:
|
|
9011
|
-
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
9012
|
-
enum: ['invalid_credentials'],
|
|
9013
|
-
type: 'string',
|
|
9014
|
-
},
|
|
9015
|
-
is_bridge_error: {
|
|
9016
|
-
description:
|
|
9017
|
-
'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
|
|
9018
|
-
type: 'boolean',
|
|
9019
|
-
},
|
|
9020
|
-
is_connected_account_error: {
|
|
9021
|
-
description:
|
|
9022
|
-
'Indicates whether the error is related specifically to the connected account.',
|
|
9023
|
-
type: 'boolean',
|
|
9024
|
-
},
|
|
9025
|
-
message: {
|
|
9026
|
-
description:
|
|
9027
|
-
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
9028
|
-
type: 'string',
|
|
9029
|
-
},
|
|
9030
|
-
},
|
|
9031
|
-
required: ['created_at', 'message', 'error_code'],
|
|
9032
|
-
type: 'object',
|
|
9033
|
-
},
|
|
9034
8964
|
{
|
|
9035
8965
|
description:
|
|
9036
8966
|
'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/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/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
@@ -10018,41 +9948,6 @@ export default {
|
|
|
10018
9948
|
],
|
|
10019
9949
|
type: 'object',
|
|
10020
9950
|
},
|
|
10021
|
-
{
|
|
10022
|
-
description:
|
|
10023
|
-
'Indicates that the credentials provided were invalid.',
|
|
10024
|
-
properties: {
|
|
10025
|
-
created_at: {
|
|
10026
|
-
description:
|
|
10027
|
-
'Date and time at which Seam created the error.',
|
|
10028
|
-
format: 'date-time',
|
|
10029
|
-
type: 'string',
|
|
10030
|
-
},
|
|
10031
|
-
error_code: {
|
|
10032
|
-
description:
|
|
10033
|
-
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10034
|
-
enum: ['invalid_credentials'],
|
|
10035
|
-
type: 'string',
|
|
10036
|
-
},
|
|
10037
|
-
is_bridge_error: {
|
|
10038
|
-
description:
|
|
10039
|
-
'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
|
|
10040
|
-
type: 'boolean',
|
|
10041
|
-
},
|
|
10042
|
-
is_connected_account_error: {
|
|
10043
|
-
description:
|
|
10044
|
-
'Indicates whether the error is related specifically to the connected account.',
|
|
10045
|
-
type: 'boolean',
|
|
10046
|
-
},
|
|
10047
|
-
message: {
|
|
10048
|
-
description:
|
|
10049
|
-
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
10050
|
-
type: 'string',
|
|
10051
|
-
},
|
|
10052
|
-
},
|
|
10053
|
-
required: ['created_at', 'message', 'error_code'],
|
|
10054
|
-
type: 'object',
|
|
10055
|
-
},
|
|
10056
9951
|
{
|
|
10057
9952
|
description:
|
|
10058
9953
|
'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/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/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
@@ -22284,41 +22179,6 @@ export default {
|
|
|
22284
22179
|
],
|
|
22285
22180
|
type: 'object',
|
|
22286
22181
|
},
|
|
22287
|
-
{
|
|
22288
|
-
description:
|
|
22289
|
-
'Indicates that the credentials provided were invalid.',
|
|
22290
|
-
properties: {
|
|
22291
|
-
created_at: {
|
|
22292
|
-
description:
|
|
22293
|
-
'Date and time at which Seam created the error.',
|
|
22294
|
-
format: 'date-time',
|
|
22295
|
-
type: 'string',
|
|
22296
|
-
},
|
|
22297
|
-
error_code: {
|
|
22298
|
-
description:
|
|
22299
|
-
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
22300
|
-
enum: ['invalid_credentials'],
|
|
22301
|
-
type: 'string',
|
|
22302
|
-
},
|
|
22303
|
-
is_bridge_error: {
|
|
22304
|
-
description:
|
|
22305
|
-
'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
|
|
22306
|
-
type: 'boolean',
|
|
22307
|
-
},
|
|
22308
|
-
is_connected_account_error: {
|
|
22309
|
-
description:
|
|
22310
|
-
'Indicates whether the error is related specifically to the connected account.',
|
|
22311
|
-
type: 'boolean',
|
|
22312
|
-
},
|
|
22313
|
-
message: {
|
|
22314
|
-
description:
|
|
22315
|
-
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
22316
|
-
type: 'string',
|
|
22317
|
-
},
|
|
22318
|
-
},
|
|
22319
|
-
required: ['created_at', 'message', 'error_code'],
|
|
22320
|
-
type: 'object',
|
|
22321
|
-
},
|
|
22322
22182
|
{
|
|
22323
22183
|
description:
|
|
22324
22184
|
'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/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/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
@@ -24636,41 +24496,6 @@ export default {
|
|
|
24636
24496
|
],
|
|
24637
24497
|
type: 'object',
|
|
24638
24498
|
},
|
|
24639
|
-
{
|
|
24640
|
-
description:
|
|
24641
|
-
'Indicates that the credentials provided were invalid.',
|
|
24642
|
-
properties: {
|
|
24643
|
-
created_at: {
|
|
24644
|
-
description:
|
|
24645
|
-
'Date and time at which Seam created the error.',
|
|
24646
|
-
format: 'date-time',
|
|
24647
|
-
type: 'string',
|
|
24648
|
-
},
|
|
24649
|
-
error_code: {
|
|
24650
|
-
description:
|
|
24651
|
-
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
24652
|
-
enum: ['invalid_credentials'],
|
|
24653
|
-
type: 'string',
|
|
24654
|
-
},
|
|
24655
|
-
is_bridge_error: {
|
|
24656
|
-
description:
|
|
24657
|
-
'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
|
|
24658
|
-
type: 'boolean',
|
|
24659
|
-
},
|
|
24660
|
-
is_connected_account_error: {
|
|
24661
|
-
description:
|
|
24662
|
-
'Indicates whether the error is related specifically to the connected account.',
|
|
24663
|
-
type: 'boolean',
|
|
24664
|
-
},
|
|
24665
|
-
message: {
|
|
24666
|
-
description:
|
|
24667
|
-
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
24668
|
-
type: 'string',
|
|
24669
|
-
},
|
|
24670
|
-
},
|
|
24671
|
-
required: ['created_at', 'message', 'error_code'],
|
|
24672
|
-
type: 'object',
|
|
24673
|
-
},
|
|
24674
24499
|
{
|
|
24675
24500
|
description:
|
|
24676
24501
|
'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/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/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|