@seamapi/types 1.931.0 → 1.932.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 +38 -0
- package/dist/index.cjs +14 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +12 -0
- package/lib/seam/connect/models/events/devices.js +6 -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.js +8 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +32 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +10 -0
- package/src/lib/seam/connect/route-types.ts +32 -0
|
@@ -47740,6 +47740,10 @@ export type Routes = {
|
|
|
47740
47740
|
event_type: 'lock.locked';
|
|
47741
47741
|
/** ID of the access code that was used to lock the device. */
|
|
47742
47742
|
access_code_id?: string | undefined;
|
|
47743
|
+
/**
|
|
47744
|
+
Code (PIN) that was used to lock the device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
47745
|
+
*/
|
|
47746
|
+
code?: string | undefined;
|
|
47743
47747
|
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
47744
47748
|
access_code_is_managed?: boolean | undefined;
|
|
47745
47749
|
/** ID of the Seam action attempt that triggered this lock. Present only when the lock was initiated through Seam (via a `LOCK_DOOR` action attempt). */
|
|
@@ -47780,6 +47784,10 @@ export type Routes = {
|
|
|
47780
47784
|
event_type: 'lock.unlocked';
|
|
47781
47785
|
/** ID of the access code that was used to unlock the affected device. */
|
|
47782
47786
|
access_code_id?: string | undefined;
|
|
47787
|
+
/**
|
|
47788
|
+
Code (PIN) that was used to unlock the affected device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
47789
|
+
*/
|
|
47790
|
+
code?: string | undefined;
|
|
47783
47791
|
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
47784
47792
|
access_code_is_managed?: boolean | undefined;
|
|
47785
47793
|
/** ID of the Seam action attempt that triggered this unlock. Present only when the unlock was initiated through Seam (via an `UNLOCK_DOOR` action attempt). */
|
|
@@ -50777,6 +50785,10 @@ export type Routes = {
|
|
|
50777
50785
|
event_type: 'lock.locked';
|
|
50778
50786
|
/** ID of the access code that was used to lock the device. */
|
|
50779
50787
|
access_code_id?: string | undefined;
|
|
50788
|
+
/**
|
|
50789
|
+
Code (PIN) that was used to lock the device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
50790
|
+
*/
|
|
50791
|
+
code?: string | undefined;
|
|
50780
50792
|
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
50781
50793
|
access_code_is_managed?: boolean | undefined;
|
|
50782
50794
|
/** ID of the Seam action attempt that triggered this lock. Present only when the lock was initiated through Seam (via a `LOCK_DOOR` action attempt). */
|
|
@@ -50817,6 +50829,10 @@ export type Routes = {
|
|
|
50817
50829
|
event_type: 'lock.unlocked';
|
|
50818
50830
|
/** ID of the access code that was used to unlock the affected device. */
|
|
50819
50831
|
access_code_id?: string | undefined;
|
|
50832
|
+
/**
|
|
50833
|
+
Code (PIN) that was used to unlock the affected device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
50834
|
+
*/
|
|
50835
|
+
code?: string | undefined;
|
|
50820
50836
|
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
50821
50837
|
access_code_is_managed?: boolean | undefined;
|
|
50822
50838
|
/** ID of the Seam action attempt that triggered this unlock. Present only when the unlock was initiated through Seam (via an `UNLOCK_DOOR` action attempt). */
|
|
@@ -79962,6 +79978,10 @@ export type Routes = {
|
|
|
79962
79978
|
event_type: 'lock.locked';
|
|
79963
79979
|
/** ID of the access code that was used to lock the device. */
|
|
79964
79980
|
access_code_id?: string | undefined;
|
|
79981
|
+
/**
|
|
79982
|
+
Code (PIN) that was used to lock the device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
79983
|
+
*/
|
|
79984
|
+
code?: string | undefined;
|
|
79965
79985
|
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
79966
79986
|
access_code_is_managed?: boolean | undefined;
|
|
79967
79987
|
/** ID of the Seam action attempt that triggered this lock. Present only when the lock was initiated through Seam (via a `LOCK_DOOR` action attempt). */
|
|
@@ -80002,6 +80022,10 @@ export type Routes = {
|
|
|
80002
80022
|
event_type: 'lock.unlocked';
|
|
80003
80023
|
/** ID of the access code that was used to unlock the affected device. */
|
|
80004
80024
|
access_code_id?: string | undefined;
|
|
80025
|
+
/**
|
|
80026
|
+
Code (PIN) that was used to unlock the affected device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
80027
|
+
*/
|
|
80028
|
+
code?: string | undefined;
|
|
80005
80029
|
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
80006
80030
|
access_code_is_managed?: boolean | undefined;
|
|
80007
80031
|
/** ID of the Seam action attempt that triggered this unlock. Present only when the unlock was initiated through Seam (via an `UNLOCK_DOOR` action attempt). */
|
|
@@ -117520,6 +117544,10 @@ export type Routes = {
|
|
|
117520
117544
|
event_type: 'lock.locked';
|
|
117521
117545
|
/** ID of the access code that was used to lock the device. */
|
|
117522
117546
|
access_code_id?: string | undefined;
|
|
117547
|
+
/**
|
|
117548
|
+
Code (PIN) that was used to lock the device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
117549
|
+
*/
|
|
117550
|
+
code?: string | undefined;
|
|
117523
117551
|
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
117524
117552
|
access_code_is_managed?: boolean | undefined;
|
|
117525
117553
|
/** ID of the Seam action attempt that triggered this lock. Present only when the lock was initiated through Seam (via a `LOCK_DOOR` action attempt). */
|
|
@@ -117560,6 +117588,10 @@ export type Routes = {
|
|
|
117560
117588
|
event_type: 'lock.unlocked';
|
|
117561
117589
|
/** ID of the access code that was used to unlock the affected device. */
|
|
117562
117590
|
access_code_id?: string | undefined;
|
|
117591
|
+
/**
|
|
117592
|
+
Code (PIN) that was used to unlock the affected device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
117593
|
+
*/
|
|
117594
|
+
code?: string | undefined;
|
|
117563
117595
|
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
117564
117596
|
access_code_is_managed?: boolean | undefined;
|
|
117565
117597
|
/** ID of the Seam action attempt that triggered this unlock. Present only when the unlock was initiated through Seam (via an `UNLOCK_DOOR` action attempt). */
|
package/package.json
CHANGED
|
@@ -415,6 +415,9 @@ export const lock_locked_event = device_event.extend({
|
|
|
415
415
|
.uuid()
|
|
416
416
|
.optional()
|
|
417
417
|
.describe('ID of the access code that was used to lock the device.'),
|
|
418
|
+
code: z.string().optional().describe(`
|
|
419
|
+
Code (PIN) that was used to lock the device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
420
|
+
`),
|
|
418
421
|
access_code_is_managed: z
|
|
419
422
|
.boolean()
|
|
420
423
|
.optional()
|
|
@@ -455,6 +458,9 @@ export const lock_unlocked_event = device_event.extend({
|
|
|
455
458
|
.describe(
|
|
456
459
|
'ID of the access code that was used to unlock the affected device.',
|
|
457
460
|
),
|
|
461
|
+
code: z.string().optional().describe(`
|
|
462
|
+
Code (PIN) that was used to unlock the affected device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
463
|
+
`),
|
|
458
464
|
access_code_is_managed: z
|
|
459
465
|
.boolean()
|
|
460
466
|
.optional()
|
|
@@ -25336,6 +25336,11 @@ const openapi: OpenAPISpec = {
|
|
|
25336
25336
|
format: 'uuid',
|
|
25337
25337
|
type: 'string',
|
|
25338
25338
|
},
|
|
25339
|
+
code: {
|
|
25340
|
+
description:
|
|
25341
|
+
'\n Code (PIN) that was used to lock the device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.\n ',
|
|
25342
|
+
type: 'string',
|
|
25343
|
+
},
|
|
25339
25344
|
connected_account_custom_metadata: {
|
|
25340
25345
|
additionalProperties: {
|
|
25341
25346
|
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
@@ -25458,6 +25463,11 @@ const openapi: OpenAPISpec = {
|
|
|
25458
25463
|
format: 'uuid',
|
|
25459
25464
|
type: 'string',
|
|
25460
25465
|
},
|
|
25466
|
+
code: {
|
|
25467
|
+
description:
|
|
25468
|
+
'\n Code (PIN) that was used to unlock the affected device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.\n ',
|
|
25469
|
+
type: 'string',
|
|
25470
|
+
},
|
|
25461
25471
|
connected_account_custom_metadata: {
|
|
25462
25472
|
additionalProperties: {
|
|
25463
25473
|
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
@@ -57235,6 +57235,10 @@ export type Routes = {
|
|
|
57235
57235
|
event_type: 'lock.locked'
|
|
57236
57236
|
/** ID of the access code that was used to lock the device. */
|
|
57237
57237
|
access_code_id?: string | undefined
|
|
57238
|
+
/**
|
|
57239
|
+
Code (PIN) that was used to lock the device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
57240
|
+
*/
|
|
57241
|
+
code?: string | undefined
|
|
57238
57242
|
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
57239
57243
|
access_code_is_managed?: boolean | undefined
|
|
57240
57244
|
/** ID of the Seam action attempt that triggered this lock. Present only when the lock was initiated through Seam (via a `LOCK_DOOR` action attempt). */
|
|
@@ -57285,6 +57289,10 @@ export type Routes = {
|
|
|
57285
57289
|
event_type: 'lock.unlocked'
|
|
57286
57290
|
/** ID of the access code that was used to unlock the affected device. */
|
|
57287
57291
|
access_code_id?: string | undefined
|
|
57292
|
+
/**
|
|
57293
|
+
Code (PIN) that was used to unlock the affected device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
57294
|
+
*/
|
|
57295
|
+
code?: string | undefined
|
|
57288
57296
|
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
57289
57297
|
access_code_is_managed?: boolean | undefined
|
|
57290
57298
|
/** ID of the Seam action attempt that triggered this unlock. Present only when the unlock was initiated through Seam (via an `UNLOCK_DOOR` action attempt). */
|
|
@@ -60886,6 +60894,10 @@ export type Routes = {
|
|
|
60886
60894
|
event_type: 'lock.locked'
|
|
60887
60895
|
/** ID of the access code that was used to lock the device. */
|
|
60888
60896
|
access_code_id?: string | undefined
|
|
60897
|
+
/**
|
|
60898
|
+
Code (PIN) that was used to lock the device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
60899
|
+
*/
|
|
60900
|
+
code?: string | undefined
|
|
60889
60901
|
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
60890
60902
|
access_code_is_managed?: boolean | undefined
|
|
60891
60903
|
/** ID of the Seam action attempt that triggered this lock. Present only when the lock was initiated through Seam (via a `LOCK_DOOR` action attempt). */
|
|
@@ -60931,6 +60943,10 @@ export type Routes = {
|
|
|
60931
60943
|
event_type: 'lock.unlocked'
|
|
60932
60944
|
/** ID of the access code that was used to unlock the affected device. */
|
|
60933
60945
|
access_code_id?: string | undefined
|
|
60946
|
+
/**
|
|
60947
|
+
Code (PIN) that was used to unlock the affected device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
60948
|
+
*/
|
|
60949
|
+
code?: string | undefined
|
|
60934
60950
|
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
60935
60951
|
access_code_is_managed?: boolean | undefined
|
|
60936
60952
|
/** ID of the Seam action attempt that triggered this unlock. Present only when the unlock was initiated through Seam (via an `UNLOCK_DOOR` action attempt). */
|
|
@@ -95593,6 +95609,10 @@ export type Routes = {
|
|
|
95593
95609
|
event_type: 'lock.locked'
|
|
95594
95610
|
/** ID of the access code that was used to lock the device. */
|
|
95595
95611
|
access_code_id?: string | undefined
|
|
95612
|
+
/**
|
|
95613
|
+
Code (PIN) that was used to lock the device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
95614
|
+
*/
|
|
95615
|
+
code?: string | undefined
|
|
95596
95616
|
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
95597
95617
|
access_code_is_managed?: boolean | undefined
|
|
95598
95618
|
/** ID of the Seam action attempt that triggered this lock. Present only when the lock was initiated through Seam (via a `LOCK_DOOR` action attempt). */
|
|
@@ -95638,6 +95658,10 @@ export type Routes = {
|
|
|
95638
95658
|
event_type: 'lock.unlocked'
|
|
95639
95659
|
/** ID of the access code that was used to unlock the affected device. */
|
|
95640
95660
|
access_code_id?: string | undefined
|
|
95661
|
+
/**
|
|
95662
|
+
Code (PIN) that was used to unlock the affected device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
95663
|
+
*/
|
|
95664
|
+
code?: string | undefined
|
|
95641
95665
|
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
95642
95666
|
access_code_is_managed?: boolean | undefined
|
|
95643
95667
|
/** ID of the Seam action attempt that triggered this unlock. Present only when the unlock was initiated through Seam (via an `UNLOCK_DOOR` action attempt). */
|
|
@@ -139884,6 +139908,10 @@ export type Routes = {
|
|
|
139884
139908
|
event_type: 'lock.locked'
|
|
139885
139909
|
/** ID of the access code that was used to lock the device. */
|
|
139886
139910
|
access_code_id?: string | undefined
|
|
139911
|
+
/**
|
|
139912
|
+
Code (PIN) that was used to lock the device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
139913
|
+
*/
|
|
139914
|
+
code?: string | undefined
|
|
139887
139915
|
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
139888
139916
|
access_code_is_managed?: boolean | undefined
|
|
139889
139917
|
/** ID of the Seam action attempt that triggered this lock. Present only when the lock was initiated through Seam (via a `LOCK_DOOR` action attempt). */
|
|
@@ -139934,6 +139962,10 @@ export type Routes = {
|
|
|
139934
139962
|
event_type: 'lock.unlocked'
|
|
139935
139963
|
/** ID of the access code that was used to unlock the affected device. */
|
|
139936
139964
|
access_code_id?: string | undefined
|
|
139965
|
+
/**
|
|
139966
|
+
Code (PIN) that was used to unlock the affected device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
139967
|
+
*/
|
|
139968
|
+
code?: string | undefined
|
|
139937
139969
|
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
139938
139970
|
access_code_is_managed?: boolean | undefined
|
|
139939
139971
|
/** ID of the Seam action attempt that triggered this unlock. Present only when the unlock was initiated through Seam (via an `UNLOCK_DOOR` action attempt). */
|