@seamapi/types 1.872.0 → 1.874.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 +133 -24
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1446 -38602
- package/dist/index.cjs +133 -24
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +24 -24
- package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -12
- 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 +5 -5
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +48 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +13 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +5 -37478
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +58 -0
- package/lib/seam/connect/models/devices/device.js +12 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +98 -0
- package/lib/seam/connect/openapi.js +102 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +250 -11
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +5 -12
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +18 -0
- package/src/lib/seam/connect/models/batch.ts +38 -2
- package/src/lib/seam/connect/models/devices/device.ts +13 -0
- package/src/lib/seam/connect/openapi.ts +120 -8
- package/src/lib/seam/connect/route-types.ts +281 -11
|
@@ -666,8 +666,7 @@ const openapi = {
|
|
|
666
666
|
'x-deprecated': 'Use `provider_issue` instead.',
|
|
667
667
|
},
|
|
668
668
|
{
|
|
669
|
-
|
|
670
|
-
description: 'Admin role required—insufficient permissions to manage PINs on this Kwikset device. Please have a Home Admin update your role in the Kwikset app, or ask them to set the PIN.',
|
|
669
|
+
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.',
|
|
671
670
|
properties: {
|
|
672
671
|
created_at: {
|
|
673
672
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -676,7 +675,7 @@ const openapi = {
|
|
|
676
675
|
},
|
|
677
676
|
error_code: {
|
|
678
677
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
679
|
-
enum: ['
|
|
678
|
+
enum: ['insufficient_permissions'],
|
|
680
679
|
type: 'string',
|
|
681
680
|
},
|
|
682
681
|
is_access_code_error: {
|
|
@@ -691,7 +690,6 @@ const openapi = {
|
|
|
691
690
|
},
|
|
692
691
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
693
692
|
type: 'object',
|
|
694
|
-
'x-deprecated': 'Use `provider_issue` instead.',
|
|
695
693
|
},
|
|
696
694
|
{
|
|
697
695
|
deprecated: true,
|
|
@@ -4090,6 +4088,10 @@ const openapi = {
|
|
|
4090
4088
|
},
|
|
4091
4089
|
type: 'object',
|
|
4092
4090
|
},
|
|
4091
|
+
is_locked: {
|
|
4092
|
+
description: 'Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked.',
|
|
4093
|
+
type: 'boolean',
|
|
4094
|
+
},
|
|
4093
4095
|
latch_metadata: {
|
|
4094
4096
|
description: 'Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
4095
4097
|
properties: {
|
|
@@ -4310,6 +4312,27 @@ const openapi = {
|
|
|
4310
4312
|
required: ['created_at', 'message', 'warning_code'],
|
|
4311
4313
|
type: 'object',
|
|
4312
4314
|
},
|
|
4315
|
+
{
|
|
4316
|
+
description: 'Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.',
|
|
4317
|
+
properties: {
|
|
4318
|
+
created_at: {
|
|
4319
|
+
description: 'Date and time at which Seam created the warning.',
|
|
4320
|
+
format: 'date-time',
|
|
4321
|
+
type: 'string',
|
|
4322
|
+
},
|
|
4323
|
+
message: {
|
|
4324
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
4325
|
+
type: 'string',
|
|
4326
|
+
},
|
|
4327
|
+
warning_code: {
|
|
4328
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
4329
|
+
enum: ['salto_ks_privacy_mode'],
|
|
4330
|
+
type: 'string',
|
|
4331
|
+
},
|
|
4332
|
+
},
|
|
4333
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
4334
|
+
type: 'object',
|
|
4335
|
+
},
|
|
4313
4336
|
],
|
|
4314
4337
|
},
|
|
4315
4338
|
type: 'array',
|
|
@@ -14722,6 +14745,28 @@ const openapi = {
|
|
|
14722
14745
|
type: 'object',
|
|
14723
14746
|
'x-variant-group-key': 'access_codes',
|
|
14724
14747
|
},
|
|
14748
|
+
{
|
|
14749
|
+
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.",
|
|
14750
|
+
properties: {
|
|
14751
|
+
created_at: {
|
|
14752
|
+
description: 'Date and time at which Seam created the warning.',
|
|
14753
|
+
format: 'date-time',
|
|
14754
|
+
type: 'string',
|
|
14755
|
+
},
|
|
14756
|
+
message: {
|
|
14757
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
14758
|
+
type: 'string',
|
|
14759
|
+
},
|
|
14760
|
+
warning_code: {
|
|
14761
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
14762
|
+
enum: ['insufficient_permissions'],
|
|
14763
|
+
type: 'string',
|
|
14764
|
+
},
|
|
14765
|
+
},
|
|
14766
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
14767
|
+
type: 'object',
|
|
14768
|
+
'x-variant-group-key': 'locks',
|
|
14769
|
+
},
|
|
14725
14770
|
],
|
|
14726
14771
|
},
|
|
14727
14772
|
type: 'array',
|
|
@@ -23505,6 +23550,10 @@ const openapi = {
|
|
|
23505
23550
|
},
|
|
23506
23551
|
type: 'object',
|
|
23507
23552
|
},
|
|
23553
|
+
is_locked: {
|
|
23554
|
+
description: 'Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked.',
|
|
23555
|
+
type: 'boolean',
|
|
23556
|
+
},
|
|
23508
23557
|
latch_metadata: {
|
|
23509
23558
|
description: 'Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
23510
23559
|
properties: {
|
|
@@ -23739,6 +23788,31 @@ const openapi = {
|
|
|
23739
23788
|
],
|
|
23740
23789
|
type: 'object',
|
|
23741
23790
|
},
|
|
23791
|
+
{
|
|
23792
|
+
description: 'Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.',
|
|
23793
|
+
properties: {
|
|
23794
|
+
created_at: {
|
|
23795
|
+
description: 'Date and time at which Seam created the warning.',
|
|
23796
|
+
format: 'date-time',
|
|
23797
|
+
type: 'string',
|
|
23798
|
+
},
|
|
23799
|
+
message: {
|
|
23800
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
23801
|
+
type: 'string',
|
|
23802
|
+
},
|
|
23803
|
+
warning_code: {
|
|
23804
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
23805
|
+
enum: ['salto_ks_privacy_mode'],
|
|
23806
|
+
type: 'string',
|
|
23807
|
+
},
|
|
23808
|
+
},
|
|
23809
|
+
required: [
|
|
23810
|
+
'created_at',
|
|
23811
|
+
'message',
|
|
23812
|
+
'warning_code',
|
|
23813
|
+
],
|
|
23814
|
+
type: 'object',
|
|
23815
|
+
},
|
|
23742
23816
|
],
|
|
23743
23817
|
},
|
|
23744
23818
|
type: 'array',
|
|
@@ -25319,8 +25393,7 @@ const openapi = {
|
|
|
25319
25393
|
'x-deprecated': 'Use `provider_issue` instead.',
|
|
25320
25394
|
},
|
|
25321
25395
|
{
|
|
25322
|
-
|
|
25323
|
-
description: 'Admin role required—insufficient permissions to manage PINs on this Kwikset device. Please have a Home Admin update your role in the Kwikset app, or ask them to set the PIN.',
|
|
25396
|
+
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.',
|
|
25324
25397
|
properties: {
|
|
25325
25398
|
created_at: {
|
|
25326
25399
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -25329,7 +25402,7 @@ const openapi = {
|
|
|
25329
25402
|
},
|
|
25330
25403
|
error_code: {
|
|
25331
25404
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25332
|
-
enum: ['
|
|
25405
|
+
enum: ['insufficient_permissions'],
|
|
25333
25406
|
type: 'string',
|
|
25334
25407
|
},
|
|
25335
25408
|
is_access_code_error: {
|
|
@@ -25344,7 +25417,6 @@ const openapi = {
|
|
|
25344
25417
|
},
|
|
25345
25418
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
25346
25419
|
type: 'object',
|
|
25347
|
-
'x-deprecated': 'Use `provider_issue` instead.',
|
|
25348
25420
|
},
|
|
25349
25421
|
{
|
|
25350
25422
|
deprecated: true,
|
|
@@ -29356,6 +29428,28 @@ const openapi = {
|
|
|
29356
29428
|
type: 'object',
|
|
29357
29429
|
'x-variant-group-key': 'access_codes',
|
|
29358
29430
|
},
|
|
29431
|
+
{
|
|
29432
|
+
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.",
|
|
29433
|
+
properties: {
|
|
29434
|
+
created_at: {
|
|
29435
|
+
description: 'Date and time at which Seam created the warning.',
|
|
29436
|
+
format: 'date-time',
|
|
29437
|
+
type: 'string',
|
|
29438
|
+
},
|
|
29439
|
+
message: {
|
|
29440
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
29441
|
+
type: 'string',
|
|
29442
|
+
},
|
|
29443
|
+
warning_code: {
|
|
29444
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
29445
|
+
enum: ['insufficient_permissions'],
|
|
29446
|
+
type: 'string',
|
|
29447
|
+
},
|
|
29448
|
+
},
|
|
29449
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
29450
|
+
type: 'object',
|
|
29451
|
+
'x-variant-group-key': 'locks',
|
|
29452
|
+
},
|
|
29359
29453
|
],
|
|
29360
29454
|
},
|
|
29361
29455
|
type: 'array',
|