@seamapi/types 1.549.0 → 1.551.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 +22 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +91 -0
- package/dist/index.cjs +22 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +20 -0
- package/lib/seam/connect/models/events/access-methods.d.ts +12 -0
- package/lib/seam/connect/models/events/access-methods.js +8 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +6 -0
- package/lib/seam/connect/openapi.d.ts +50 -0
- package/lib/seam/connect/openapi.js +16 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +25 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-methods.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +18 -0
- package/src/lib/seam/connect/route-types.ts +27 -0
|
@@ -17753,6 +17753,8 @@ export type Routes = {
|
|
|
17753
17753
|
event_type: 'access_method.issued';
|
|
17754
17754
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
17755
17755
|
code?: string | undefined;
|
|
17756
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
17757
|
+
is_backup_code?: boolean | undefined;
|
|
17756
17758
|
} | {
|
|
17757
17759
|
/** ID of the event. */
|
|
17758
17760
|
event_id: string;
|
|
@@ -17819,6 +17821,8 @@ export type Routes = {
|
|
|
17819
17821
|
event_type: 'access_method.reissued';
|
|
17820
17822
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
17821
17823
|
code?: string | undefined;
|
|
17824
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
17825
|
+
is_backup_code?: boolean | undefined;
|
|
17822
17826
|
} | {
|
|
17823
17827
|
/** ID of the event. */
|
|
17824
17828
|
event_id: string;
|
|
@@ -21095,6 +21099,11 @@ export type Routes = {
|
|
|
21095
21099
|
join_all_guest_acs_entrances?: boolean | undefined;
|
|
21096
21100
|
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
21097
21101
|
} | undefined;
|
|
21102
|
+
/** */
|
|
21103
|
+
hotek_metadata?: {
|
|
21104
|
+
override?: boolean | undefined;
|
|
21105
|
+
auto_join?: boolean | undefined;
|
|
21106
|
+
} | undefined;
|
|
21098
21107
|
/** Salto Space-specific metadata for the new credential. */
|
|
21099
21108
|
salto_space_metadata?: {
|
|
21100
21109
|
/** Indicates whether to assign a first, new card to a user. See also [Programming Salto Space Card-based Credentials](https://docs.seam.co/latest/device-and-system-integration-guides/salto-proaccess-space-access-system/programming-salto-space-card-based-credentials). */
|
|
@@ -35628,6 +35637,8 @@ export type Routes = {
|
|
|
35628
35637
|
event_type: 'access_method.issued';
|
|
35629
35638
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
35630
35639
|
code?: string | undefined;
|
|
35640
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
35641
|
+
is_backup_code?: boolean | undefined;
|
|
35631
35642
|
} | {
|
|
35632
35643
|
/** ID of the event. */
|
|
35633
35644
|
event_id: string;
|
|
@@ -35694,6 +35705,8 @@ export type Routes = {
|
|
|
35694
35705
|
event_type: 'access_method.reissued';
|
|
35695
35706
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
35696
35707
|
code?: string | undefined;
|
|
35708
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
35709
|
+
is_backup_code?: boolean | undefined;
|
|
35697
35710
|
} | {
|
|
35698
35711
|
/** ID of the event. */
|
|
35699
35712
|
event_id: string;
|
|
@@ -37530,6 +37543,8 @@ export type Routes = {
|
|
|
37530
37543
|
event_type: 'access_method.issued';
|
|
37531
37544
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
37532
37545
|
code?: string | undefined;
|
|
37546
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
37547
|
+
is_backup_code?: boolean | undefined;
|
|
37533
37548
|
} | {
|
|
37534
37549
|
/** ID of the event. */
|
|
37535
37550
|
event_id: string;
|
|
@@ -37596,6 +37611,8 @@ export type Routes = {
|
|
|
37596
37611
|
event_type: 'access_method.reissued';
|
|
37597
37612
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
37598
37613
|
code?: string | undefined;
|
|
37614
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
37615
|
+
is_backup_code?: boolean | undefined;
|
|
37599
37616
|
} | {
|
|
37600
37617
|
/** ID of the event. */
|
|
37601
37618
|
event_id: string;
|
|
@@ -56367,6 +56384,8 @@ export type Routes = {
|
|
|
56367
56384
|
event_type: 'access_method.issued';
|
|
56368
56385
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
56369
56386
|
code?: string | undefined;
|
|
56387
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
56388
|
+
is_backup_code?: boolean | undefined;
|
|
56370
56389
|
} | {
|
|
56371
56390
|
/** ID of the event. */
|
|
56372
56391
|
event_id: string;
|
|
@@ -56433,6 +56452,8 @@ export type Routes = {
|
|
|
56433
56452
|
event_type: 'access_method.reissued';
|
|
56434
56453
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
56435
56454
|
code?: string | undefined;
|
|
56455
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
56456
|
+
is_backup_code?: boolean | undefined;
|
|
56436
56457
|
} | {
|
|
56437
56458
|
/** ID of the event. */
|
|
56438
56459
|
event_id: string;
|
|
@@ -83734,6 +83755,8 @@ export type Routes = {
|
|
|
83734
83755
|
event_type: 'access_method.issued';
|
|
83735
83756
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
83736
83757
|
code?: string | undefined;
|
|
83758
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
83759
|
+
is_backup_code?: boolean | undefined;
|
|
83737
83760
|
} | {
|
|
83738
83761
|
/** ID of the event. */
|
|
83739
83762
|
event_id: string;
|
|
@@ -83800,6 +83823,8 @@ export type Routes = {
|
|
|
83800
83823
|
event_type: 'access_method.reissued';
|
|
83801
83824
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
83802
83825
|
code?: string | undefined;
|
|
83826
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
83827
|
+
is_backup_code?: boolean | undefined;
|
|
83803
83828
|
} | {
|
|
83804
83829
|
/** ID of the event. */
|
|
83805
83830
|
event_id: string;
|
package/package.json
CHANGED
|
@@ -26,6 +26,12 @@ export const access_method_issued_event = access_method_event.extend({
|
|
|
26
26
|
.describe(
|
|
27
27
|
"The actual PIN code for code access methods (only present when mode is 'code').",
|
|
28
28
|
),
|
|
29
|
+
is_backup_code: z
|
|
30
|
+
.boolean()
|
|
31
|
+
.optional()
|
|
32
|
+
.describe(
|
|
33
|
+
"Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used).",
|
|
34
|
+
),
|
|
29
35
|
}).describe(`
|
|
30
36
|
---
|
|
31
37
|
route_path: /access_methods
|
|
@@ -75,6 +81,12 @@ export const access_method_reissued_event = access_method_event.extend({
|
|
|
75
81
|
.describe(
|
|
76
82
|
"The actual PIN code for code access methods (only present when mode is 'code').",
|
|
77
83
|
),
|
|
84
|
+
is_backup_code: z
|
|
85
|
+
.boolean()
|
|
86
|
+
.optional()
|
|
87
|
+
.describe(
|
|
88
|
+
"Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used).",
|
|
89
|
+
),
|
|
78
90
|
}).describe(`
|
|
79
91
|
---
|
|
80
92
|
route_path: /access_methods
|
|
@@ -14665,6 +14665,11 @@ export default {
|
|
|
14665
14665
|
type: 'string',
|
|
14666
14666
|
},
|
|
14667
14667
|
event_type: { enum: ['access_method.issued'], type: 'string' },
|
|
14668
|
+
is_backup_code: {
|
|
14669
|
+
description:
|
|
14670
|
+
"Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used).",
|
|
14671
|
+
type: 'boolean',
|
|
14672
|
+
},
|
|
14668
14673
|
occurred_at: {
|
|
14669
14674
|
description: 'Date and time at which the event occurred.',
|
|
14670
14675
|
format: 'date-time',
|
|
@@ -14895,6 +14900,11 @@ export default {
|
|
|
14895
14900
|
type: 'string',
|
|
14896
14901
|
},
|
|
14897
14902
|
event_type: { enum: ['access_method.reissued'], type: 'string' },
|
|
14903
|
+
is_backup_code: {
|
|
14904
|
+
description:
|
|
14905
|
+
"Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used).",
|
|
14906
|
+
type: 'boolean',
|
|
14907
|
+
},
|
|
14898
14908
|
occurred_at: {
|
|
14899
14909
|
description: 'Date and time at which the event occurred.',
|
|
14900
14910
|
format: 'date-time',
|
|
@@ -31325,6 +31335,14 @@ export default {
|
|
|
31325
31335
|
format: 'date-time',
|
|
31326
31336
|
type: 'string',
|
|
31327
31337
|
},
|
|
31338
|
+
hotek_metadata: {
|
|
31339
|
+
properties: {
|
|
31340
|
+
auto_join: { type: 'boolean' },
|
|
31341
|
+
override: { type: 'boolean' },
|
|
31342
|
+
},
|
|
31343
|
+
type: 'object',
|
|
31344
|
+
'x-undocumented': 'in development',
|
|
31345
|
+
},
|
|
31328
31346
|
is_multi_phone_sync_credential: {
|
|
31329
31347
|
default: false,
|
|
31330
31348
|
description:
|
|
@@ -20680,6 +20680,8 @@ export type Routes = {
|
|
|
20680
20680
|
event_type: 'access_method.issued'
|
|
20681
20681
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
20682
20682
|
code?: string | undefined
|
|
20683
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
20684
|
+
is_backup_code?: boolean | undefined
|
|
20683
20685
|
}
|
|
20684
20686
|
| {
|
|
20685
20687
|
/** ID of the event. */
|
|
@@ -20750,6 +20752,8 @@ export type Routes = {
|
|
|
20750
20752
|
event_type: 'access_method.reissued'
|
|
20751
20753
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
20752
20754
|
code?: string | undefined
|
|
20755
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
20756
|
+
is_backup_code?: boolean | undefined
|
|
20753
20757
|
}
|
|
20754
20758
|
| {
|
|
20755
20759
|
/** ID of the event. */
|
|
@@ -24548,6 +24552,13 @@ export type Routes = {
|
|
|
24548
24552
|
override_guest_acs_entrance_ids?: string[] | undefined
|
|
24549
24553
|
}
|
|
24550
24554
|
| undefined
|
|
24555
|
+
/** */
|
|
24556
|
+
hotek_metadata?:
|
|
24557
|
+
| {
|
|
24558
|
+
override?: boolean | undefined
|
|
24559
|
+
auto_join?: boolean | undefined
|
|
24560
|
+
}
|
|
24561
|
+
| undefined
|
|
24551
24562
|
/** Salto Space-specific metadata for the new credential. */
|
|
24552
24563
|
salto_space_metadata?:
|
|
24553
24564
|
| {
|
|
@@ -42039,6 +42050,8 @@ export type Routes = {
|
|
|
42039
42050
|
event_type: 'access_method.issued'
|
|
42040
42051
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
42041
42052
|
code?: string | undefined
|
|
42053
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
42054
|
+
is_backup_code?: boolean | undefined
|
|
42042
42055
|
}
|
|
42043
42056
|
| {
|
|
42044
42057
|
/** ID of the event. */
|
|
@@ -42109,6 +42122,8 @@ export type Routes = {
|
|
|
42109
42122
|
event_type: 'access_method.reissued'
|
|
42110
42123
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
42111
42124
|
code?: string | undefined
|
|
42125
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
42126
|
+
is_backup_code?: boolean | undefined
|
|
42112
42127
|
}
|
|
42113
42128
|
| {
|
|
42114
42129
|
/** ID of the event. */
|
|
@@ -44464,6 +44479,8 @@ export type Routes = {
|
|
|
44464
44479
|
event_type: 'access_method.issued'
|
|
44465
44480
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
44466
44481
|
code?: string | undefined
|
|
44482
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
44483
|
+
is_backup_code?: boolean | undefined
|
|
44467
44484
|
}
|
|
44468
44485
|
| {
|
|
44469
44486
|
/** ID of the event. */
|
|
@@ -44534,6 +44551,8 @@ export type Routes = {
|
|
|
44534
44551
|
event_type: 'access_method.reissued'
|
|
44535
44552
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
44536
44553
|
code?: string | undefined
|
|
44554
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
44555
|
+
is_backup_code?: boolean | undefined
|
|
44537
44556
|
}
|
|
44538
44557
|
| {
|
|
44539
44558
|
/** ID of the event. */
|
|
@@ -67194,6 +67213,8 @@ export type Routes = {
|
|
|
67194
67213
|
event_type: 'access_method.issued'
|
|
67195
67214
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
67196
67215
|
code?: string | undefined
|
|
67216
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
67217
|
+
is_backup_code?: boolean | undefined
|
|
67197
67218
|
}
|
|
67198
67219
|
| {
|
|
67199
67220
|
/** ID of the event. */
|
|
@@ -67264,6 +67285,8 @@ export type Routes = {
|
|
|
67264
67285
|
event_type: 'access_method.reissued'
|
|
67265
67286
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
67266
67287
|
code?: string | undefined
|
|
67288
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
67289
|
+
is_backup_code?: boolean | undefined
|
|
67267
67290
|
}
|
|
67268
67291
|
| {
|
|
67269
67292
|
/** ID of the event. */
|
|
@@ -99796,6 +99819,8 @@ export type Routes = {
|
|
|
99796
99819
|
event_type: 'access_method.issued'
|
|
99797
99820
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
99798
99821
|
code?: string | undefined
|
|
99822
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
99823
|
+
is_backup_code?: boolean | undefined
|
|
99799
99824
|
}
|
|
99800
99825
|
| {
|
|
99801
99826
|
/** ID of the event. */
|
|
@@ -99866,6 +99891,8 @@ export type Routes = {
|
|
|
99866
99891
|
event_type: 'access_method.reissued'
|
|
99867
99892
|
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
99868
99893
|
code?: string | undefined
|
|
99894
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
99895
|
+
is_backup_code?: boolean | undefined
|
|
99869
99896
|
}
|
|
99870
99897
|
| {
|
|
99871
99898
|
/** ID of the event. */
|