@seamapi/types 1.917.0 → 1.918.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 +42 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +115 -8
- package/dist/index.cjs +42 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +30 -8
- package/lib/seam/connect/models/events/devices.js +25 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +15 -4
- package/lib/seam/connect/openapi.js +20 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +100 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +25 -0
- package/src/lib/seam/connect/openapi.ts +24 -1
- package/src/lib/seam/connect/route-types.ts +100 -4
|
@@ -47790,7 +47790,7 @@ export type Routes = {
|
|
|
47790
47790
|
/** Date and time at which the event occurred. */
|
|
47791
47791
|
occurred_at: string;
|
|
47792
47792
|
/** ID of the affected device. */
|
|
47793
|
-
device_id
|
|
47793
|
+
device_id?: string | undefined;
|
|
47794
47794
|
/** ID of the connected account associated with the event. */
|
|
47795
47795
|
connected_account_id: string;
|
|
47796
47796
|
/** The customer key associated with the device, if any. */
|
|
@@ -47806,6 +47806,30 @@ export type Routes = {
|
|
|
47806
47806
|
event_type: 'lock.access_denied';
|
|
47807
47807
|
/** ID of the access code that was used in the unlock attempts. */
|
|
47808
47808
|
access_code_id?: string | undefined;
|
|
47809
|
+
/**
|
|
47810
|
+
undocumented: Unreleased.
|
|
47811
|
+
---
|
|
47812
|
+
ID of the user identity associated with the access-denied event.
|
|
47813
|
+
*/
|
|
47814
|
+
user_identity_id?: string | undefined;
|
|
47815
|
+
/**
|
|
47816
|
+
undocumented: Unreleased.
|
|
47817
|
+
---
|
|
47818
|
+
ID of the ACS system associated with the access-denied event.
|
|
47819
|
+
*/
|
|
47820
|
+
acs_system_id?: string | undefined;
|
|
47821
|
+
/**
|
|
47822
|
+
undocumented: Unreleased.
|
|
47823
|
+
---
|
|
47824
|
+
ID of the ACS user associated with the access-denied event.
|
|
47825
|
+
*/
|
|
47826
|
+
acs_user_id?: string | undefined;
|
|
47827
|
+
/**
|
|
47828
|
+
undocumented: Unreleased.
|
|
47829
|
+
---
|
|
47830
|
+
ID of the ACS entrance associated with the access-denied event.
|
|
47831
|
+
*/
|
|
47832
|
+
acs_entrance_id?: string | undefined;
|
|
47809
47833
|
} | {
|
|
47810
47834
|
/** ID of the event. */
|
|
47811
47835
|
event_id: string;
|
|
@@ -50766,7 +50790,7 @@ export type Routes = {
|
|
|
50766
50790
|
/** Date and time at which the event occurred. */
|
|
50767
50791
|
occurred_at: string;
|
|
50768
50792
|
/** ID of the affected device. */
|
|
50769
|
-
device_id
|
|
50793
|
+
device_id?: string | undefined;
|
|
50770
50794
|
/** ID of the connected account associated with the event. */
|
|
50771
50795
|
connected_account_id: string;
|
|
50772
50796
|
/** The customer key associated with the device, if any. */
|
|
@@ -50782,6 +50806,30 @@ export type Routes = {
|
|
|
50782
50806
|
event_type: 'lock.access_denied';
|
|
50783
50807
|
/** ID of the access code that was used in the unlock attempts. */
|
|
50784
50808
|
access_code_id?: string | undefined;
|
|
50809
|
+
/**
|
|
50810
|
+
undocumented: Unreleased.
|
|
50811
|
+
---
|
|
50812
|
+
ID of the user identity associated with the access-denied event.
|
|
50813
|
+
*/
|
|
50814
|
+
user_identity_id?: string | undefined;
|
|
50815
|
+
/**
|
|
50816
|
+
undocumented: Unreleased.
|
|
50817
|
+
---
|
|
50818
|
+
ID of the ACS system associated with the access-denied event.
|
|
50819
|
+
*/
|
|
50820
|
+
acs_system_id?: string | undefined;
|
|
50821
|
+
/**
|
|
50822
|
+
undocumented: Unreleased.
|
|
50823
|
+
---
|
|
50824
|
+
ID of the ACS user associated with the access-denied event.
|
|
50825
|
+
*/
|
|
50826
|
+
acs_user_id?: string | undefined;
|
|
50827
|
+
/**
|
|
50828
|
+
undocumented: Unreleased.
|
|
50829
|
+
---
|
|
50830
|
+
ID of the ACS entrance associated with the access-denied event.
|
|
50831
|
+
*/
|
|
50832
|
+
acs_entrance_id?: string | undefined;
|
|
50785
50833
|
} | {
|
|
50786
50834
|
/** ID of the event. */
|
|
50787
50835
|
event_id: string;
|
|
@@ -79578,7 +79626,7 @@ export type Routes = {
|
|
|
79578
79626
|
/** Date and time at which the event occurred. */
|
|
79579
79627
|
occurred_at: string;
|
|
79580
79628
|
/** ID of the affected device. */
|
|
79581
|
-
device_id
|
|
79629
|
+
device_id?: string | undefined;
|
|
79582
79630
|
/** ID of the connected account associated with the event. */
|
|
79583
79631
|
connected_account_id: string;
|
|
79584
79632
|
/** The customer key associated with the device, if any. */
|
|
@@ -79594,6 +79642,30 @@ export type Routes = {
|
|
|
79594
79642
|
event_type: 'lock.access_denied';
|
|
79595
79643
|
/** ID of the access code that was used in the unlock attempts. */
|
|
79596
79644
|
access_code_id?: string | undefined;
|
|
79645
|
+
/**
|
|
79646
|
+
undocumented: Unreleased.
|
|
79647
|
+
---
|
|
79648
|
+
ID of the user identity associated with the access-denied event.
|
|
79649
|
+
*/
|
|
79650
|
+
user_identity_id?: string | undefined;
|
|
79651
|
+
/**
|
|
79652
|
+
undocumented: Unreleased.
|
|
79653
|
+
---
|
|
79654
|
+
ID of the ACS system associated with the access-denied event.
|
|
79655
|
+
*/
|
|
79656
|
+
acs_system_id?: string | undefined;
|
|
79657
|
+
/**
|
|
79658
|
+
undocumented: Unreleased.
|
|
79659
|
+
---
|
|
79660
|
+
ID of the ACS user associated with the access-denied event.
|
|
79661
|
+
*/
|
|
79662
|
+
acs_user_id?: string | undefined;
|
|
79663
|
+
/**
|
|
79664
|
+
undocumented: Unreleased.
|
|
79665
|
+
---
|
|
79666
|
+
ID of the ACS entrance associated with the access-denied event.
|
|
79667
|
+
*/
|
|
79668
|
+
acs_entrance_id?: string | undefined;
|
|
79597
79669
|
} | {
|
|
79598
79670
|
/** ID of the event. */
|
|
79599
79671
|
event_id: string;
|
|
@@ -116711,7 +116783,7 @@ export type Routes = {
|
|
|
116711
116783
|
/** Date and time at which the event occurred. */
|
|
116712
116784
|
occurred_at: string;
|
|
116713
116785
|
/** ID of the affected device. */
|
|
116714
|
-
device_id
|
|
116786
|
+
device_id?: string | undefined;
|
|
116715
116787
|
/** ID of the connected account associated with the event. */
|
|
116716
116788
|
connected_account_id: string;
|
|
116717
116789
|
/** The customer key associated with the device, if any. */
|
|
@@ -116727,6 +116799,30 @@ export type Routes = {
|
|
|
116727
116799
|
event_type: 'lock.access_denied';
|
|
116728
116800
|
/** ID of the access code that was used in the unlock attempts. */
|
|
116729
116801
|
access_code_id?: string | undefined;
|
|
116802
|
+
/**
|
|
116803
|
+
undocumented: Unreleased.
|
|
116804
|
+
---
|
|
116805
|
+
ID of the user identity associated with the access-denied event.
|
|
116806
|
+
*/
|
|
116807
|
+
user_identity_id?: string | undefined;
|
|
116808
|
+
/**
|
|
116809
|
+
undocumented: Unreleased.
|
|
116810
|
+
---
|
|
116811
|
+
ID of the ACS system associated with the access-denied event.
|
|
116812
|
+
*/
|
|
116813
|
+
acs_system_id?: string | undefined;
|
|
116814
|
+
/**
|
|
116815
|
+
undocumented: Unreleased.
|
|
116816
|
+
---
|
|
116817
|
+
ID of the ACS user associated with the access-denied event.
|
|
116818
|
+
*/
|
|
116819
|
+
acs_user_id?: string | undefined;
|
|
116820
|
+
/**
|
|
116821
|
+
undocumented: Unreleased.
|
|
116822
|
+
---
|
|
116823
|
+
ID of the ACS entrance associated with the access-denied event.
|
|
116824
|
+
*/
|
|
116825
|
+
acs_entrance_id?: string | undefined;
|
|
116730
116826
|
} | {
|
|
116731
116827
|
/** ID of the event. */
|
|
116732
116828
|
event_id: string;
|
package/package.json
CHANGED
|
@@ -518,6 +518,31 @@ export const lock_access_denied_event = device_event.extend({
|
|
|
518
518
|
.uuid()
|
|
519
519
|
.optional()
|
|
520
520
|
.describe('ID of the access code that was used in the unlock attempts.'),
|
|
521
|
+
user_identity_id: z.string().uuid().optional().describe(`
|
|
522
|
+
undocumented: Unreleased.
|
|
523
|
+
---
|
|
524
|
+
ID of the user identity associated with the access-denied event.
|
|
525
|
+
`),
|
|
526
|
+
acs_system_id: z.string().uuid().optional().describe(`
|
|
527
|
+
undocumented: Unreleased.
|
|
528
|
+
---
|
|
529
|
+
ID of the ACS system associated with the access-denied event.
|
|
530
|
+
`),
|
|
531
|
+
acs_user_id: z.string().uuid().optional().describe(`
|
|
532
|
+
undocumented: Unreleased.
|
|
533
|
+
---
|
|
534
|
+
ID of the ACS user associated with the access-denied event.
|
|
535
|
+
`),
|
|
536
|
+
acs_entrance_id: z.string().uuid().optional().describe(`
|
|
537
|
+
undocumented: Unreleased.
|
|
538
|
+
---
|
|
539
|
+
ID of the ACS entrance associated with the access-denied event.
|
|
540
|
+
`),
|
|
541
|
+
device_id: z
|
|
542
|
+
.string()
|
|
543
|
+
.uuid()
|
|
544
|
+
.optional()
|
|
545
|
+
.describe('ID of the affected device.'),
|
|
521
546
|
}).describe(`
|
|
522
547
|
---
|
|
523
548
|
route_path: /locks
|
|
@@ -25267,6 +25267,24 @@ const openapi: OpenAPISpec = {
|
|
|
25267
25267
|
format: 'uuid',
|
|
25268
25268
|
type: 'string',
|
|
25269
25269
|
},
|
|
25270
|
+
acs_entrance_id: {
|
|
25271
|
+
description:
|
|
25272
|
+
'\n undocumented: Unreleased.\n ---\n ID of the ACS entrance associated with the access-denied event.\n ',
|
|
25273
|
+
format: 'uuid',
|
|
25274
|
+
type: 'string',
|
|
25275
|
+
},
|
|
25276
|
+
acs_system_id: {
|
|
25277
|
+
description:
|
|
25278
|
+
'\n undocumented: Unreleased.\n ---\n ID of the ACS system associated with the access-denied event.\n ',
|
|
25279
|
+
format: 'uuid',
|
|
25280
|
+
type: 'string',
|
|
25281
|
+
},
|
|
25282
|
+
acs_user_id: {
|
|
25283
|
+
description:
|
|
25284
|
+
'\n undocumented: Unreleased.\n ---\n ID of the ACS user associated with the access-denied event.\n ',
|
|
25285
|
+
format: 'uuid',
|
|
25286
|
+
type: 'string',
|
|
25287
|
+
},
|
|
25270
25288
|
connected_account_custom_metadata: {
|
|
25271
25289
|
additionalProperties: {
|
|
25272
25290
|
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
@@ -25315,6 +25333,12 @@ const openapi: OpenAPISpec = {
|
|
|
25315
25333
|
format: 'date-time',
|
|
25316
25334
|
type: 'string',
|
|
25317
25335
|
},
|
|
25336
|
+
user_identity_id: {
|
|
25337
|
+
description:
|
|
25338
|
+
'\n undocumented: Unreleased.\n ---\n ID of the user identity associated with the access-denied event.\n ',
|
|
25339
|
+
format: 'uuid',
|
|
25340
|
+
type: 'string',
|
|
25341
|
+
},
|
|
25318
25342
|
workspace_id: {
|
|
25319
25343
|
description: 'ID of the workspace associated with the event.',
|
|
25320
25344
|
format: 'uuid',
|
|
@@ -25326,7 +25350,6 @@ const openapi: OpenAPISpec = {
|
|
|
25326
25350
|
'workspace_id',
|
|
25327
25351
|
'created_at',
|
|
25328
25352
|
'occurred_at',
|
|
25329
|
-
'device_id',
|
|
25330
25353
|
'connected_account_id',
|
|
25331
25354
|
'event_type',
|
|
25332
25355
|
],
|
|
@@ -57255,7 +57255,7 @@ export type Routes = {
|
|
|
57255
57255
|
/** Date and time at which the event occurred. */
|
|
57256
57256
|
occurred_at: string
|
|
57257
57257
|
/** ID of the affected device. */
|
|
57258
|
-
device_id
|
|
57258
|
+
device_id?: string | undefined
|
|
57259
57259
|
/** ID of the connected account associated with the event. */
|
|
57260
57260
|
connected_account_id: string
|
|
57261
57261
|
/** The customer key associated with the device, if any. */
|
|
@@ -57275,6 +57275,30 @@ export type Routes = {
|
|
|
57275
57275
|
event_type: 'lock.access_denied'
|
|
57276
57276
|
/** ID of the access code that was used in the unlock attempts. */
|
|
57277
57277
|
access_code_id?: string | undefined
|
|
57278
|
+
/**
|
|
57279
|
+
undocumented: Unreleased.
|
|
57280
|
+
---
|
|
57281
|
+
ID of the user identity associated with the access-denied event.
|
|
57282
|
+
*/
|
|
57283
|
+
user_identity_id?: string | undefined
|
|
57284
|
+
/**
|
|
57285
|
+
undocumented: Unreleased.
|
|
57286
|
+
---
|
|
57287
|
+
ID of the ACS system associated with the access-denied event.
|
|
57288
|
+
*/
|
|
57289
|
+
acs_system_id?: string | undefined
|
|
57290
|
+
/**
|
|
57291
|
+
undocumented: Unreleased.
|
|
57292
|
+
---
|
|
57293
|
+
ID of the ACS user associated with the access-denied event.
|
|
57294
|
+
*/
|
|
57295
|
+
acs_user_id?: string | undefined
|
|
57296
|
+
/**
|
|
57297
|
+
undocumented: Unreleased.
|
|
57298
|
+
---
|
|
57299
|
+
ID of the ACS entrance associated with the access-denied event.
|
|
57300
|
+
*/
|
|
57301
|
+
acs_entrance_id?: string | undefined
|
|
57278
57302
|
}
|
|
57279
57303
|
| {
|
|
57280
57304
|
/** ID of the event. */
|
|
@@ -60818,7 +60842,7 @@ export type Routes = {
|
|
|
60818
60842
|
/** Date and time at which the event occurred. */
|
|
60819
60843
|
occurred_at: string
|
|
60820
60844
|
/** ID of the affected device. */
|
|
60821
|
-
device_id
|
|
60845
|
+
device_id?: string | undefined
|
|
60822
60846
|
/** ID of the connected account associated with the event. */
|
|
60823
60847
|
connected_account_id: string
|
|
60824
60848
|
/** The customer key associated with the device, if any. */
|
|
@@ -60838,6 +60862,30 @@ export type Routes = {
|
|
|
60838
60862
|
event_type: 'lock.access_denied'
|
|
60839
60863
|
/** ID of the access code that was used in the unlock attempts. */
|
|
60840
60864
|
access_code_id?: string | undefined
|
|
60865
|
+
/**
|
|
60866
|
+
undocumented: Unreleased.
|
|
60867
|
+
---
|
|
60868
|
+
ID of the user identity associated with the access-denied event.
|
|
60869
|
+
*/
|
|
60870
|
+
user_identity_id?: string | undefined
|
|
60871
|
+
/**
|
|
60872
|
+
undocumented: Unreleased.
|
|
60873
|
+
---
|
|
60874
|
+
ID of the ACS system associated with the access-denied event.
|
|
60875
|
+
*/
|
|
60876
|
+
acs_system_id?: string | undefined
|
|
60877
|
+
/**
|
|
60878
|
+
undocumented: Unreleased.
|
|
60879
|
+
---
|
|
60880
|
+
ID of the ACS user associated with the access-denied event.
|
|
60881
|
+
*/
|
|
60882
|
+
acs_user_id?: string | undefined
|
|
60883
|
+
/**
|
|
60884
|
+
undocumented: Unreleased.
|
|
60885
|
+
---
|
|
60886
|
+
ID of the ACS entrance associated with the access-denied event.
|
|
60887
|
+
*/
|
|
60888
|
+
acs_entrance_id?: string | undefined
|
|
60841
60889
|
}
|
|
60842
60890
|
| {
|
|
60843
60891
|
/** ID of the event. */
|
|
@@ -95051,7 +95099,7 @@ export type Routes = {
|
|
|
95051
95099
|
/** Date and time at which the event occurred. */
|
|
95052
95100
|
occurred_at: string
|
|
95053
95101
|
/** ID of the affected device. */
|
|
95054
|
-
device_id
|
|
95102
|
+
device_id?: string | undefined
|
|
95055
95103
|
/** ID of the connected account associated with the event. */
|
|
95056
95104
|
connected_account_id: string
|
|
95057
95105
|
/** The customer key associated with the device, if any. */
|
|
@@ -95071,6 +95119,30 @@ export type Routes = {
|
|
|
95071
95119
|
event_type: 'lock.access_denied'
|
|
95072
95120
|
/** ID of the access code that was used in the unlock attempts. */
|
|
95073
95121
|
access_code_id?: string | undefined
|
|
95122
|
+
/**
|
|
95123
|
+
undocumented: Unreleased.
|
|
95124
|
+
---
|
|
95125
|
+
ID of the user identity associated with the access-denied event.
|
|
95126
|
+
*/
|
|
95127
|
+
user_identity_id?: string | undefined
|
|
95128
|
+
/**
|
|
95129
|
+
undocumented: Unreleased.
|
|
95130
|
+
---
|
|
95131
|
+
ID of the ACS system associated with the access-denied event.
|
|
95132
|
+
*/
|
|
95133
|
+
acs_system_id?: string | undefined
|
|
95134
|
+
/**
|
|
95135
|
+
undocumented: Unreleased.
|
|
95136
|
+
---
|
|
95137
|
+
ID of the ACS user associated with the access-denied event.
|
|
95138
|
+
*/
|
|
95139
|
+
acs_user_id?: string | undefined
|
|
95140
|
+
/**
|
|
95141
|
+
undocumented: Unreleased.
|
|
95142
|
+
---
|
|
95143
|
+
ID of the ACS entrance associated with the access-denied event.
|
|
95144
|
+
*/
|
|
95145
|
+
acs_entrance_id?: string | undefined
|
|
95074
95146
|
}
|
|
95075
95147
|
| {
|
|
95076
95148
|
/** ID of the event. */
|
|
@@ -138814,7 +138886,7 @@ export type Routes = {
|
|
|
138814
138886
|
/** Date and time at which the event occurred. */
|
|
138815
138887
|
occurred_at: string
|
|
138816
138888
|
/** ID of the affected device. */
|
|
138817
|
-
device_id
|
|
138889
|
+
device_id?: string | undefined
|
|
138818
138890
|
/** ID of the connected account associated with the event. */
|
|
138819
138891
|
connected_account_id: string
|
|
138820
138892
|
/** The customer key associated with the device, if any. */
|
|
@@ -138834,6 +138906,30 @@ export type Routes = {
|
|
|
138834
138906
|
event_type: 'lock.access_denied'
|
|
138835
138907
|
/** ID of the access code that was used in the unlock attempts. */
|
|
138836
138908
|
access_code_id?: string | undefined
|
|
138909
|
+
/**
|
|
138910
|
+
undocumented: Unreleased.
|
|
138911
|
+
---
|
|
138912
|
+
ID of the user identity associated with the access-denied event.
|
|
138913
|
+
*/
|
|
138914
|
+
user_identity_id?: string | undefined
|
|
138915
|
+
/**
|
|
138916
|
+
undocumented: Unreleased.
|
|
138917
|
+
---
|
|
138918
|
+
ID of the ACS system associated with the access-denied event.
|
|
138919
|
+
*/
|
|
138920
|
+
acs_system_id?: string | undefined
|
|
138921
|
+
/**
|
|
138922
|
+
undocumented: Unreleased.
|
|
138923
|
+
---
|
|
138924
|
+
ID of the ACS user associated with the access-denied event.
|
|
138925
|
+
*/
|
|
138926
|
+
acs_user_id?: string | undefined
|
|
138927
|
+
/**
|
|
138928
|
+
undocumented: Unreleased.
|
|
138929
|
+
---
|
|
138930
|
+
ID of the ACS entrance associated with the access-denied event.
|
|
138931
|
+
*/
|
|
138932
|
+
acs_entrance_id?: string | undefined
|
|
138837
138933
|
}
|
|
138838
138934
|
| {
|
|
138839
138935
|
/** ID of the event. */
|