@seamapi/types 1.990.0 → 1.992.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/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -71
- package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -21
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +0 -26
- package/lib/seam/connect/models/devices/device.d.ts +0 -58
- package/lib/seam/connect/models/devices/device.js +3 -20
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +0 -21
- package/lib/seam/connect/openapi.js +46 -66
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +90 -208
- package/package.json +2 -2
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +1 -26
- package/src/lib/seam/connect/models/devices/device.ts +3 -21
- package/src/lib/seam/connect/openapi.ts +50 -76
- package/src/lib/seam/connect/route-types.ts +90 -226
|
@@ -310,7 +310,7 @@ const openapi = {
|
|
|
310
310
|
'x-resource-type': 'access_code',
|
|
311
311
|
},
|
|
312
312
|
{
|
|
313
|
-
description: '
|
|
313
|
+
description: 'Indicates that the account is disconnected.',
|
|
314
314
|
properties: {
|
|
315
315
|
created_at: {
|
|
316
316
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -319,25 +319,36 @@ const openapi = {
|
|
|
319
319
|
},
|
|
320
320
|
error_code: {
|
|
321
321
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
322
|
-
enum: ['
|
|
322
|
+
enum: ['account_disconnected'],
|
|
323
323
|
type: 'string',
|
|
324
324
|
},
|
|
325
|
-
|
|
326
|
-
description: 'Indicates that
|
|
325
|
+
is_connected_account_error: {
|
|
326
|
+
description: 'Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.',
|
|
327
327
|
enum: [true],
|
|
328
328
|
type: 'boolean',
|
|
329
329
|
},
|
|
330
|
+
is_device_error: {
|
|
331
|
+
description: 'Indicates that the error is not a device error.',
|
|
332
|
+
enum: [false],
|
|
333
|
+
type: 'boolean',
|
|
334
|
+
},
|
|
330
335
|
message: {
|
|
331
336
|
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
332
337
|
type: 'string',
|
|
333
338
|
},
|
|
334
339
|
},
|
|
335
|
-
required: [
|
|
340
|
+
required: [
|
|
341
|
+
'message',
|
|
342
|
+
'is_device_error',
|
|
343
|
+
'created_at',
|
|
344
|
+
'error_code',
|
|
345
|
+
'is_connected_account_error',
|
|
346
|
+
],
|
|
336
347
|
type: 'object',
|
|
337
|
-
'x-resource-type': '
|
|
348
|
+
'x-resource-type': 'connected_account',
|
|
338
349
|
},
|
|
339
350
|
{
|
|
340
|
-
description: 'Indicates that the
|
|
351
|
+
description: 'Indicates that the Salto site user limit has been reached.',
|
|
341
352
|
properties: {
|
|
342
353
|
created_at: {
|
|
343
354
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -346,7 +357,7 @@ const openapi = {
|
|
|
346
357
|
},
|
|
347
358
|
error_code: {
|
|
348
359
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
349
|
-
enum: ['
|
|
360
|
+
enum: ['salto_ks_subscription_limit_exceeded'],
|
|
350
361
|
type: 'string',
|
|
351
362
|
},
|
|
352
363
|
is_connected_account_error: {
|
|
@@ -373,9 +384,10 @@ const openapi = {
|
|
|
373
384
|
],
|
|
374
385
|
type: 'object',
|
|
375
386
|
'x-resource-type': 'connected_account',
|
|
387
|
+
'x-variant-group-key': 'locks',
|
|
376
388
|
},
|
|
377
389
|
{
|
|
378
|
-
description:
|
|
390
|
+
description: "Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.",
|
|
379
391
|
properties: {
|
|
380
392
|
created_at: {
|
|
381
393
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -384,7 +396,7 @@ const openapi = {
|
|
|
384
396
|
},
|
|
385
397
|
error_code: {
|
|
386
398
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
387
|
-
enum: ['
|
|
399
|
+
enum: ['insufficient_permissions'],
|
|
388
400
|
type: 'string',
|
|
389
401
|
},
|
|
390
402
|
is_connected_account_error: {
|
|
@@ -411,7 +423,6 @@ const openapi = {
|
|
|
411
423
|
],
|
|
412
424
|
type: 'object',
|
|
413
425
|
'x-resource-type': 'connected_account',
|
|
414
|
-
'x-variant-group-key': 'locks',
|
|
415
426
|
},
|
|
416
427
|
{
|
|
417
428
|
description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
|
|
@@ -15320,28 +15331,6 @@ const openapi = {
|
|
|
15320
15331
|
type: 'object',
|
|
15321
15332
|
'x-variant-group-key': 'access_codes',
|
|
15322
15333
|
},
|
|
15323
|
-
{
|
|
15324
|
-
description: "Indicates that the connected Kwikset account has member-level access to this lock's home. Admin or owner access is required to manage access codes and control the lock remotely.",
|
|
15325
|
-
properties: {
|
|
15326
|
-
created_at: {
|
|
15327
|
-
description: 'Date and time at which Seam created the warning.',
|
|
15328
|
-
format: 'date-time',
|
|
15329
|
-
type: 'string',
|
|
15330
|
-
},
|
|
15331
|
-
message: {
|
|
15332
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
15333
|
-
type: 'string',
|
|
15334
|
-
},
|
|
15335
|
-
warning_code: {
|
|
15336
|
-
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
15337
|
-
enum: ['insufficient_permissions'],
|
|
15338
|
-
type: 'string',
|
|
15339
|
-
},
|
|
15340
|
-
},
|
|
15341
|
-
required: ['message', 'created_at', 'warning_code'],
|
|
15342
|
-
type: 'object',
|
|
15343
|
-
'x-variant-group-key': 'locks',
|
|
15344
|
-
},
|
|
15345
15334
|
],
|
|
15346
15335
|
},
|
|
15347
15336
|
type: 'array',
|
|
@@ -26980,7 +26969,7 @@ const openapi = {
|
|
|
26980
26969
|
'x-resource-type': 'access_code',
|
|
26981
26970
|
},
|
|
26982
26971
|
{
|
|
26983
|
-
description: '
|
|
26972
|
+
description: 'Indicates that the account is disconnected.',
|
|
26984
26973
|
properties: {
|
|
26985
26974
|
created_at: {
|
|
26986
26975
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -26989,25 +26978,36 @@ const openapi = {
|
|
|
26989
26978
|
},
|
|
26990
26979
|
error_code: {
|
|
26991
26980
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
26992
|
-
enum: ['
|
|
26981
|
+
enum: ['account_disconnected'],
|
|
26993
26982
|
type: 'string',
|
|
26994
26983
|
},
|
|
26995
|
-
|
|
26996
|
-
description: 'Indicates that
|
|
26984
|
+
is_connected_account_error: {
|
|
26985
|
+
description: 'Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.',
|
|
26997
26986
|
enum: [true],
|
|
26998
26987
|
type: 'boolean',
|
|
26999
26988
|
},
|
|
26989
|
+
is_device_error: {
|
|
26990
|
+
description: 'Indicates that the error is not a device error.',
|
|
26991
|
+
enum: [false],
|
|
26992
|
+
type: 'boolean',
|
|
26993
|
+
},
|
|
27000
26994
|
message: {
|
|
27001
26995
|
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
27002
26996
|
type: 'string',
|
|
27003
26997
|
},
|
|
27004
26998
|
},
|
|
27005
|
-
required: [
|
|
26999
|
+
required: [
|
|
27000
|
+
'message',
|
|
27001
|
+
'is_device_error',
|
|
27002
|
+
'created_at',
|
|
27003
|
+
'error_code',
|
|
27004
|
+
'is_connected_account_error',
|
|
27005
|
+
],
|
|
27006
27006
|
type: 'object',
|
|
27007
|
-
'x-resource-type': '
|
|
27007
|
+
'x-resource-type': 'connected_account',
|
|
27008
27008
|
},
|
|
27009
27009
|
{
|
|
27010
|
-
description: 'Indicates that the
|
|
27010
|
+
description: 'Indicates that the Salto site user limit has been reached.',
|
|
27011
27011
|
properties: {
|
|
27012
27012
|
created_at: {
|
|
27013
27013
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -27016,7 +27016,7 @@ const openapi = {
|
|
|
27016
27016
|
},
|
|
27017
27017
|
error_code: {
|
|
27018
27018
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
27019
|
-
enum: ['
|
|
27019
|
+
enum: ['salto_ks_subscription_limit_exceeded'],
|
|
27020
27020
|
type: 'string',
|
|
27021
27021
|
},
|
|
27022
27022
|
is_connected_account_error: {
|
|
@@ -27043,9 +27043,10 @@ const openapi = {
|
|
|
27043
27043
|
],
|
|
27044
27044
|
type: 'object',
|
|
27045
27045
|
'x-resource-type': 'connected_account',
|
|
27046
|
+
'x-variant-group-key': 'locks',
|
|
27046
27047
|
},
|
|
27047
27048
|
{
|
|
27048
|
-
description:
|
|
27049
|
+
description: "Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.",
|
|
27049
27050
|
properties: {
|
|
27050
27051
|
created_at: {
|
|
27051
27052
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -27054,7 +27055,7 @@ const openapi = {
|
|
|
27054
27055
|
},
|
|
27055
27056
|
error_code: {
|
|
27056
27057
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
27057
|
-
enum: ['
|
|
27058
|
+
enum: ['insufficient_permissions'],
|
|
27058
27059
|
type: 'string',
|
|
27059
27060
|
},
|
|
27060
27061
|
is_connected_account_error: {
|
|
@@ -27081,7 +27082,6 @@ const openapi = {
|
|
|
27081
27082
|
],
|
|
27082
27083
|
type: 'object',
|
|
27083
27084
|
'x-resource-type': 'connected_account',
|
|
27084
|
-
'x-variant-group-key': 'locks',
|
|
27085
27085
|
},
|
|
27086
27086
|
{
|
|
27087
27087
|
description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
|
|
@@ -31901,28 +31901,6 @@ const openapi = {
|
|
|
31901
31901
|
type: 'object',
|
|
31902
31902
|
'x-variant-group-key': 'access_codes',
|
|
31903
31903
|
},
|
|
31904
|
-
{
|
|
31905
|
-
description: "Indicates that the connected Kwikset account has member-level access to this lock's home. Admin or owner access is required to manage access codes and control the lock remotely.",
|
|
31906
|
-
properties: {
|
|
31907
|
-
created_at: {
|
|
31908
|
-
description: 'Date and time at which Seam created the warning.',
|
|
31909
|
-
format: 'date-time',
|
|
31910
|
-
type: 'string',
|
|
31911
|
-
},
|
|
31912
|
-
message: {
|
|
31913
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
31914
|
-
type: 'string',
|
|
31915
|
-
},
|
|
31916
|
-
warning_code: {
|
|
31917
|
-
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
31918
|
-
enum: ['insufficient_permissions'],
|
|
31919
|
-
type: 'string',
|
|
31920
|
-
},
|
|
31921
|
-
},
|
|
31922
|
-
required: ['message', 'created_at', 'warning_code'],
|
|
31923
|
-
type: 'object',
|
|
31924
|
-
'x-variant-group-key': 'locks',
|
|
31925
|
-
},
|
|
31926
31904
|
],
|
|
31927
31905
|
},
|
|
31928
31906
|
type: 'array',
|
|
@@ -62146,6 +62124,7 @@ const openapi = {
|
|
|
62146
62124
|
'AUTOMATION_IMMINENT_CHECK_IN_QUEUE',
|
|
62147
62125
|
'ACCESS_METHOD_DEADLINE_ERRORS',
|
|
62148
62126
|
'GUARD_MATERIALIZATION_ON_UNREACHABLE_DEVICE',
|
|
62127
|
+
'TARGETED_ACCESS_GRANT_ISSUANCE',
|
|
62149
62128
|
],
|
|
62150
62129
|
type: 'string',
|
|
62151
62130
|
},
|
|
@@ -62180,6 +62159,7 @@ const openapi = {
|
|
|
62180
62159
|
'AUTOMATION_IMMINENT_CHECK_IN_QUEUE',
|
|
62181
62160
|
'ACCESS_METHOD_DEADLINE_ERRORS',
|
|
62182
62161
|
'GUARD_MATERIALIZATION_ON_UNREACHABLE_DEVICE',
|
|
62162
|
+
'TARGETED_ACCESS_GRANT_ISSUANCE',
|
|
62183
62163
|
],
|
|
62184
62164
|
type: 'string',
|
|
62185
62165
|
},
|