@seamapi/types 1.532.0 → 1.534.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 +10 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +31 -12
- package/dist/index.cjs +10 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +3 -3
- package/lib/seam/connect/models/access-grants/access-method.js +1 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +20 -10
- package/lib/seam/connect/models/events/access-methods.d.ts +6 -0
- package/lib/seam/connect/models/events/access-methods.js +4 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -0
- package/lib/seam/connect/openapi.d.ts +1 -0
- package/lib/seam/connect/openapi.js +5 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +14 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-method.ts +1 -0
- package/src/lib/seam/connect/models/events/access-methods.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +6 -0
- package/src/lib/seam/connect/route-types.ts +14 -4
|
@@ -13178,7 +13178,7 @@ export type Routes = {
|
|
|
13178
13178
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
13179
13179
|
is_encoding_required?: boolean | undefined;
|
|
13180
13180
|
/** The actual PIN code for code access methods. */
|
|
13181
|
-
code?: string | undefined;
|
|
13181
|
+
code?: (string | null) | undefined;
|
|
13182
13182
|
/** ID of the customization profile associated with the access method. */
|
|
13183
13183
|
customization_profile_id?: string | undefined;
|
|
13184
13184
|
};
|
|
@@ -17193,7 +17193,7 @@ export type Routes = {
|
|
|
17193
17193
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
17194
17194
|
is_encoding_required?: boolean | undefined;
|
|
17195
17195
|
/** The actual PIN code for code access methods. */
|
|
17196
|
-
code?: string | undefined;
|
|
17196
|
+
code?: (string | null) | undefined;
|
|
17197
17197
|
/** ID of the customization profile associated with the access method. */
|
|
17198
17198
|
customization_profile_id?: string | undefined;
|
|
17199
17199
|
}[] | undefined;
|
|
@@ -17804,6 +17804,8 @@ export type Routes = {
|
|
|
17804
17804
|
/** Keys of the access grants associated with this access method (if present). */
|
|
17805
17805
|
access_grant_keys?: string[] | undefined;
|
|
17806
17806
|
event_type: 'access_method.reissued';
|
|
17807
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
17808
|
+
code?: string | undefined;
|
|
17807
17809
|
} | {
|
|
17808
17810
|
/** ID of the event. */
|
|
17809
17811
|
event_id: string;
|
|
@@ -20233,7 +20235,7 @@ export type Routes = {
|
|
|
20233
20235
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
20234
20236
|
is_encoding_required?: boolean | undefined;
|
|
20235
20237
|
/** The actual PIN code for code access methods. */
|
|
20236
|
-
code?: string | undefined;
|
|
20238
|
+
code?: (string | null) | undefined;
|
|
20237
20239
|
/** ID of the customization profile associated with the access method. */
|
|
20238
20240
|
customization_profile_id?: string | undefined;
|
|
20239
20241
|
}[];
|
|
@@ -35629,6 +35631,8 @@ export type Routes = {
|
|
|
35629
35631
|
/** Keys of the access grants associated with this access method (if present). */
|
|
35630
35632
|
access_grant_keys?: string[] | undefined;
|
|
35631
35633
|
event_type: 'access_method.reissued';
|
|
35634
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
35635
|
+
code?: string | undefined;
|
|
35632
35636
|
} | {
|
|
35633
35637
|
/** ID of the event. */
|
|
35634
35638
|
event_id: string;
|
|
@@ -37525,6 +37529,8 @@ export type Routes = {
|
|
|
37525
37529
|
/** Keys of the access grants associated with this access method (if present). */
|
|
37526
37530
|
access_grant_keys?: string[] | undefined;
|
|
37527
37531
|
event_type: 'access_method.reissued';
|
|
37532
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
37533
|
+
code?: string | undefined;
|
|
37528
37534
|
} | {
|
|
37529
37535
|
/** ID of the event. */
|
|
37530
37536
|
event_id: string;
|
|
@@ -56353,6 +56359,8 @@ export type Routes = {
|
|
|
56353
56359
|
/** Keys of the access grants associated with this access method (if present). */
|
|
56354
56360
|
access_grant_keys?: string[] | undefined;
|
|
56355
56361
|
event_type: 'access_method.reissued';
|
|
56362
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
56363
|
+
code?: string | undefined;
|
|
56356
56364
|
} | {
|
|
56357
56365
|
/** ID of the event. */
|
|
56358
56366
|
event_id: string;
|
|
@@ -83015,7 +83023,7 @@ export type Routes = {
|
|
|
83015
83023
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
83016
83024
|
is_encoding_required?: boolean | undefined;
|
|
83017
83025
|
/** The actual PIN code for code access methods. */
|
|
83018
|
-
code?: string | undefined;
|
|
83026
|
+
code?: (string | null) | undefined;
|
|
83019
83027
|
/** ID of the customization profile associated with the access method. */
|
|
83020
83028
|
customization_profile_id?: string | undefined;
|
|
83021
83029
|
}[] | undefined;
|
|
@@ -83626,6 +83634,8 @@ export type Routes = {
|
|
|
83626
83634
|
/** Keys of the access grants associated with this access method (if present). */
|
|
83627
83635
|
access_grant_keys?: string[] | undefined;
|
|
83628
83636
|
event_type: 'access_method.reissued';
|
|
83637
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
83638
|
+
code?: string | undefined;
|
|
83629
83639
|
} | {
|
|
83630
83640
|
/** ID of the event. */
|
|
83631
83641
|
event_id: string;
|
package/package.json
CHANGED
|
@@ -69,6 +69,12 @@ export const access_method_deleted_event = access_method_event.extend({
|
|
|
69
69
|
|
|
70
70
|
export const access_method_reissued_event = access_method_event.extend({
|
|
71
71
|
event_type: z.literal('access_method.reissued'),
|
|
72
|
+
code: z
|
|
73
|
+
.string()
|
|
74
|
+
.optional()
|
|
75
|
+
.describe(
|
|
76
|
+
"The actual PIN code for code access methods (only present when mode is 'code').",
|
|
77
|
+
),
|
|
72
78
|
}).describe(`
|
|
73
79
|
---
|
|
74
80
|
route_path: /access_methods
|
|
@@ -1988,6 +1988,7 @@ export default {
|
|
|
1988
1988
|
},
|
|
1989
1989
|
code: {
|
|
1990
1990
|
description: 'The actual PIN code for code access methods.',
|
|
1991
|
+
nullable: true,
|
|
1991
1992
|
type: 'string',
|
|
1992
1993
|
},
|
|
1993
1994
|
created_at: {
|
|
@@ -14858,6 +14859,11 @@ export default {
|
|
|
14858
14859
|
format: 'uuid',
|
|
14859
14860
|
type: 'string',
|
|
14860
14861
|
},
|
|
14862
|
+
code: {
|
|
14863
|
+
description:
|
|
14864
|
+
"The actual PIN code for code access methods (only present when mode is 'code').",
|
|
14865
|
+
type: 'string',
|
|
14866
|
+
},
|
|
14861
14867
|
created_at: {
|
|
14862
14868
|
description: 'Date and time at which the event was created.',
|
|
14863
14869
|
format: 'date-time',
|
|
@@ -15070,7 +15070,7 @@ export type Routes = {
|
|
|
15070
15070
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
15071
15071
|
is_encoding_required?: boolean | undefined
|
|
15072
15072
|
/** The actual PIN code for code access methods. */
|
|
15073
|
-
code?: string | undefined
|
|
15073
|
+
code?: (string | null) | undefined
|
|
15074
15074
|
/** ID of the customization profile associated with the access method. */
|
|
15075
15075
|
customization_profile_id?: string | undefined
|
|
15076
15076
|
}
|
|
@@ -19975,7 +19975,7 @@ export type Routes = {
|
|
|
19975
19975
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
19976
19976
|
is_encoding_required?: boolean | undefined
|
|
19977
19977
|
/** The actual PIN code for code access methods. */
|
|
19978
|
-
code?: string | undefined
|
|
19978
|
+
code?: (string | null) | undefined
|
|
19979
19979
|
/** ID of the customization profile associated with the access method. */
|
|
19980
19980
|
customization_profile_id?: string | undefined
|
|
19981
19981
|
}[]
|
|
@@ -20685,6 +20685,8 @@ export type Routes = {
|
|
|
20685
20685
|
/** Keys of the access grants associated with this access method (if present). */
|
|
20686
20686
|
access_grant_keys?: string[] | undefined
|
|
20687
20687
|
event_type: 'access_method.reissued'
|
|
20688
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
20689
|
+
code?: string | undefined
|
|
20688
20690
|
}
|
|
20689
20691
|
| {
|
|
20690
20692
|
/** ID of the event. */
|
|
@@ -23486,7 +23488,7 @@ export type Routes = {
|
|
|
23486
23488
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
23487
23489
|
is_encoding_required?: boolean | undefined
|
|
23488
23490
|
/** The actual PIN code for code access methods. */
|
|
23489
|
-
code?: string | undefined
|
|
23491
|
+
code?: (string | null) | undefined
|
|
23490
23492
|
/** ID of the customization profile associated with the access method. */
|
|
23491
23493
|
customization_profile_id?: string | undefined
|
|
23492
23494
|
}[]
|
|
@@ -41948,6 +41950,8 @@ export type Routes = {
|
|
|
41948
41950
|
/** Keys of the access grants associated with this access method (if present). */
|
|
41949
41951
|
access_grant_keys?: string[] | undefined
|
|
41950
41952
|
event_type: 'access_method.reissued'
|
|
41953
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
41954
|
+
code?: string | undefined
|
|
41951
41955
|
}
|
|
41952
41956
|
| {
|
|
41953
41957
|
/** ID of the event. */
|
|
@@ -44367,6 +44371,8 @@ export type Routes = {
|
|
|
44367
44371
|
/** Keys of the access grants associated with this access method (if present). */
|
|
44368
44372
|
access_grant_keys?: string[] | undefined
|
|
44369
44373
|
event_type: 'access_method.reissued'
|
|
44374
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
44375
|
+
code?: string | undefined
|
|
44370
44376
|
}
|
|
44371
44377
|
| {
|
|
44372
44378
|
/** ID of the event. */
|
|
@@ -67060,6 +67066,8 @@ export type Routes = {
|
|
|
67060
67066
|
/** Keys of the access grants associated with this access method (if present). */
|
|
67061
67067
|
access_grant_keys?: string[] | undefined
|
|
67062
67068
|
event_type: 'access_method.reissued'
|
|
67069
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
67070
|
+
code?: string | undefined
|
|
67063
67071
|
}
|
|
67064
67072
|
| {
|
|
67065
67073
|
/** ID of the event. */
|
|
@@ -98794,7 +98802,7 @@ export type Routes = {
|
|
|
98794
98802
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
98795
98803
|
is_encoding_required?: boolean | undefined
|
|
98796
98804
|
/** The actual PIN code for code access methods. */
|
|
98797
|
-
code?: string | undefined
|
|
98805
|
+
code?: (string | null) | undefined
|
|
98798
98806
|
/** ID of the customization profile associated with the access method. */
|
|
98799
98807
|
customization_profile_id?: string | undefined
|
|
98800
98808
|
}[]
|
|
@@ -99504,6 +99512,8 @@ export type Routes = {
|
|
|
99504
99512
|
/** Keys of the access grants associated with this access method (if present). */
|
|
99505
99513
|
access_grant_keys?: string[] | undefined
|
|
99506
99514
|
event_type: 'access_method.reissued'
|
|
99515
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
99516
|
+
code?: string | undefined
|
|
99507
99517
|
}
|
|
99508
99518
|
| {
|
|
99509
99519
|
/** ID of the event. */
|