@seamapi/types 1.693.0 → 1.694.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 +14 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +77 -0
- package/dist/index.cjs +14 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +10 -0
- package/lib/seam/connect/models/events/devices.d.ts +12 -0
- package/lib/seam/connect/models/events/devices.js +8 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +6 -0
- package/lib/seam/connect/openapi.d.ts +45 -0
- package/lib/seam/connect/openapi.js +8 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +16 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +10 -0
- package/src/lib/seam/connect/route-types.ts +16 -0
|
@@ -32661,6 +32661,8 @@ export type Routes = {
|
|
|
32661
32661
|
event_type: 'lock.locked';
|
|
32662
32662
|
/** ID of the access code that was used to lock the device. */
|
|
32663
32663
|
access_code_id?: string | undefined;
|
|
32664
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
32665
|
+
access_code_is_managed?: boolean | undefined;
|
|
32664
32666
|
/** ID of the action attempt associated with the lock action. */
|
|
32665
32667
|
action_attempt_id?: string | undefined;
|
|
32666
32668
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -32689,6 +32691,8 @@ export type Routes = {
|
|
|
32689
32691
|
event_type: 'lock.unlocked';
|
|
32690
32692
|
/** ID of the access code that was used to unlock the affected device. */
|
|
32691
32693
|
access_code_id?: string | undefined;
|
|
32694
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
32695
|
+
access_code_is_managed?: boolean | undefined;
|
|
32692
32696
|
/** ID of the action attempt associated with the unlock action. */
|
|
32693
32697
|
action_attempt_id?: string | undefined;
|
|
32694
32698
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
@@ -34655,6 +34659,8 @@ export type Routes = {
|
|
|
34655
34659
|
event_type: 'lock.locked';
|
|
34656
34660
|
/** ID of the access code that was used to lock the device. */
|
|
34657
34661
|
access_code_id?: string | undefined;
|
|
34662
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
34663
|
+
access_code_is_managed?: boolean | undefined;
|
|
34658
34664
|
/** ID of the action attempt associated with the lock action. */
|
|
34659
34665
|
action_attempt_id?: string | undefined;
|
|
34660
34666
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -34683,6 +34689,8 @@ export type Routes = {
|
|
|
34683
34689
|
event_type: 'lock.unlocked';
|
|
34684
34690
|
/** ID of the access code that was used to unlock the affected device. */
|
|
34685
34691
|
access_code_id?: string | undefined;
|
|
34692
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
34693
|
+
access_code_is_managed?: boolean | undefined;
|
|
34686
34694
|
/** ID of the action attempt associated with the unlock action. */
|
|
34687
34695
|
action_attempt_id?: string | undefined;
|
|
34688
34696
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
@@ -54508,6 +54516,8 @@ export type Routes = {
|
|
|
54508
54516
|
event_type: 'lock.locked';
|
|
54509
54517
|
/** ID of the access code that was used to lock the device. */
|
|
54510
54518
|
access_code_id?: string | undefined;
|
|
54519
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
54520
|
+
access_code_is_managed?: boolean | undefined;
|
|
54511
54521
|
/** ID of the action attempt associated with the lock action. */
|
|
54512
54522
|
action_attempt_id?: string | undefined;
|
|
54513
54523
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -54536,6 +54546,8 @@ export type Routes = {
|
|
|
54536
54546
|
event_type: 'lock.unlocked';
|
|
54537
54547
|
/** ID of the access code that was used to unlock the affected device. */
|
|
54538
54548
|
access_code_id?: string | undefined;
|
|
54549
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
54550
|
+
access_code_is_managed?: boolean | undefined;
|
|
54539
54551
|
/** ID of the action attempt associated with the unlock action. */
|
|
54540
54552
|
action_attempt_id?: string | undefined;
|
|
54541
54553
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
@@ -83231,6 +83243,8 @@ export type Routes = {
|
|
|
83231
83243
|
event_type: 'lock.locked';
|
|
83232
83244
|
/** ID of the access code that was used to lock the device. */
|
|
83233
83245
|
access_code_id?: string | undefined;
|
|
83246
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
83247
|
+
access_code_is_managed?: boolean | undefined;
|
|
83234
83248
|
/** ID of the action attempt associated with the lock action. */
|
|
83235
83249
|
action_attempt_id?: string | undefined;
|
|
83236
83250
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -83259,6 +83273,8 @@ export type Routes = {
|
|
|
83259
83273
|
event_type: 'lock.unlocked';
|
|
83260
83274
|
/** ID of the access code that was used to unlock the affected device. */
|
|
83261
83275
|
access_code_id?: string | undefined;
|
|
83276
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
83277
|
+
access_code_is_managed?: boolean | undefined;
|
|
83262
83278
|
/** ID of the action attempt associated with the unlock action. */
|
|
83263
83279
|
action_attempt_id?: string | undefined;
|
|
83264
83280
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
package/package.json
CHANGED
|
@@ -377,6 +377,12 @@ export const lock_locked_event = device_event.extend({
|
|
|
377
377
|
.uuid()
|
|
378
378
|
.optional()
|
|
379
379
|
.describe('ID of the access code that was used to lock the device.'),
|
|
380
|
+
access_code_is_managed: z
|
|
381
|
+
.boolean()
|
|
382
|
+
.optional()
|
|
383
|
+
.describe(
|
|
384
|
+
'Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set.',
|
|
385
|
+
),
|
|
380
386
|
action_attempt_id: z
|
|
381
387
|
.string()
|
|
382
388
|
.uuid()
|
|
@@ -403,6 +409,12 @@ export const lock_unlocked_event = device_event.extend({
|
|
|
403
409
|
.describe(
|
|
404
410
|
'ID of the access code that was used to unlock the affected device.',
|
|
405
411
|
),
|
|
412
|
+
access_code_is_managed: z
|
|
413
|
+
.boolean()
|
|
414
|
+
.optional()
|
|
415
|
+
.describe(
|
|
416
|
+
'Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set.',
|
|
417
|
+
),
|
|
406
418
|
action_attempt_id: z
|
|
407
419
|
.string()
|
|
408
420
|
.uuid()
|
|
@@ -18809,6 +18809,11 @@ export default {
|
|
|
18809
18809
|
format: 'uuid',
|
|
18810
18810
|
type: 'string',
|
|
18811
18811
|
},
|
|
18812
|
+
access_code_is_managed: {
|
|
18813
|
+
description:
|
|
18814
|
+
'Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set.',
|
|
18815
|
+
type: 'boolean',
|
|
18816
|
+
},
|
|
18812
18817
|
action_attempt_id: {
|
|
18813
18818
|
description:
|
|
18814
18819
|
'ID of the action attempt associated with the lock action.',
|
|
@@ -18894,6 +18899,11 @@ export default {
|
|
|
18894
18899
|
format: 'uuid',
|
|
18895
18900
|
type: 'string',
|
|
18896
18901
|
},
|
|
18902
|
+
access_code_is_managed: {
|
|
18903
|
+
description:
|
|
18904
|
+
'Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set.',
|
|
18905
|
+
type: 'boolean',
|
|
18906
|
+
},
|
|
18897
18907
|
acs_entrance_id: {
|
|
18898
18908
|
description:
|
|
18899
18909
|
'\n undocumented: Unreleased.\n ---\n ID of the ACS entrance associated with the unlock event.\n ',
|
|
@@ -38895,6 +38895,8 @@ export type Routes = {
|
|
|
38895
38895
|
event_type: 'lock.locked'
|
|
38896
38896
|
/** ID of the access code that was used to lock the device. */
|
|
38897
38897
|
access_code_id?: string | undefined
|
|
38898
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
38899
|
+
access_code_is_managed?: boolean | undefined
|
|
38898
38900
|
/** ID of the action attempt associated with the lock action. */
|
|
38899
38901
|
action_attempt_id?: string | undefined
|
|
38900
38902
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -38933,6 +38935,8 @@ export type Routes = {
|
|
|
38933
38935
|
event_type: 'lock.unlocked'
|
|
38934
38936
|
/** ID of the access code that was used to unlock the affected device. */
|
|
38935
38937
|
access_code_id?: string | undefined
|
|
38938
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
38939
|
+
access_code_is_managed?: boolean | undefined
|
|
38936
38940
|
/** ID of the action attempt associated with the unlock action. */
|
|
38937
38941
|
action_attempt_id?: string | undefined
|
|
38938
38942
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
@@ -41423,6 +41427,8 @@ export type Routes = {
|
|
|
41423
41427
|
event_type: 'lock.locked'
|
|
41424
41428
|
/** ID of the access code that was used to lock the device. */
|
|
41425
41429
|
access_code_id?: string | undefined
|
|
41430
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
41431
|
+
access_code_is_managed?: boolean | undefined
|
|
41426
41432
|
/** ID of the action attempt associated with the lock action. */
|
|
41427
41433
|
action_attempt_id?: string | undefined
|
|
41428
41434
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -41456,6 +41462,8 @@ export type Routes = {
|
|
|
41456
41462
|
event_type: 'lock.unlocked'
|
|
41457
41463
|
/** ID of the access code that was used to unlock the affected device. */
|
|
41458
41464
|
access_code_id?: string | undefined
|
|
41465
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
41466
|
+
access_code_is_managed?: boolean | undefined
|
|
41459
41467
|
/** ID of the action attempt associated with the unlock action. */
|
|
41460
41468
|
action_attempt_id?: string | undefined
|
|
41461
41469
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
@@ -65319,6 +65327,8 @@ export type Routes = {
|
|
|
65319
65327
|
event_type: 'lock.locked'
|
|
65320
65328
|
/** ID of the access code that was used to lock the device. */
|
|
65321
65329
|
access_code_id?: string | undefined
|
|
65330
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
65331
|
+
access_code_is_managed?: boolean | undefined
|
|
65322
65332
|
/** ID of the action attempt associated with the lock action. */
|
|
65323
65333
|
action_attempt_id?: string | undefined
|
|
65324
65334
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -65352,6 +65362,8 @@ export type Routes = {
|
|
|
65352
65362
|
event_type: 'lock.unlocked'
|
|
65353
65363
|
/** ID of the access code that was used to unlock the affected device. */
|
|
65354
65364
|
access_code_id?: string | undefined
|
|
65365
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
65366
|
+
access_code_is_managed?: boolean | undefined
|
|
65355
65367
|
/** ID of the action attempt associated with the unlock action. */
|
|
65356
65368
|
action_attempt_id?: string | undefined
|
|
65357
65369
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
@@ -99378,6 +99390,8 @@ export type Routes = {
|
|
|
99378
99390
|
event_type: 'lock.locked'
|
|
99379
99391
|
/** ID of the access code that was used to lock the device. */
|
|
99380
99392
|
access_code_id?: string | undefined
|
|
99393
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
99394
|
+
access_code_is_managed?: boolean | undefined
|
|
99381
99395
|
/** ID of the action attempt associated with the lock action. */
|
|
99382
99396
|
action_attempt_id?: string | undefined
|
|
99383
99397
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -99416,6 +99430,8 @@ export type Routes = {
|
|
|
99416
99430
|
event_type: 'lock.unlocked'
|
|
99417
99431
|
/** ID of the access code that was used to unlock the affected device. */
|
|
99418
99432
|
access_code_id?: string | undefined
|
|
99433
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
99434
|
+
access_code_is_managed?: boolean | undefined
|
|
99419
99435
|
/** ID of the action attempt associated with the unlock action. */
|
|
99420
99436
|
action_attempt_id?: string | undefined
|
|
99421
99437
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|