@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
package/dist/connect.d.cts
CHANGED
|
@@ -3701,7 +3701,7 @@ declare const access_method: z.ZodObject<{
|
|
|
3701
3701
|
instant_key_url: z.ZodOptional<z.ZodString>;
|
|
3702
3702
|
client_session_token: z.ZodOptional<z.ZodString>;
|
|
3703
3703
|
is_encoding_required: z.ZodOptional<z.ZodBoolean>;
|
|
3704
|
-
code: z.ZodOptional<z.ZodString
|
|
3704
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3705
3705
|
customization_profile_id: z.ZodOptional<z.ZodString>;
|
|
3706
3706
|
}, "strip", z.ZodTypeAny, {
|
|
3707
3707
|
display_name: string;
|
|
@@ -3711,7 +3711,7 @@ declare const access_method: z.ZodObject<{
|
|
|
3711
3711
|
access_method_id: string;
|
|
3712
3712
|
issued_at: string | null;
|
|
3713
3713
|
is_issued: boolean;
|
|
3714
|
-
code?: string | undefined;
|
|
3714
|
+
code?: string | null | undefined;
|
|
3715
3715
|
client_session_token?: string | undefined;
|
|
3716
3716
|
instant_key_url?: string | undefined;
|
|
3717
3717
|
customization_profile_id?: string | undefined;
|
|
@@ -3724,7 +3724,7 @@ declare const access_method: z.ZodObject<{
|
|
|
3724
3724
|
access_method_id: string;
|
|
3725
3725
|
issued_at: string | null;
|
|
3726
3726
|
is_issued: boolean;
|
|
3727
|
-
code?: string | undefined;
|
|
3727
|
+
code?: string | null | undefined;
|
|
3728
3728
|
client_session_token?: string | undefined;
|
|
3729
3729
|
instant_key_url?: string | undefined;
|
|
3730
3730
|
customization_profile_id?: string | undefined;
|
|
@@ -24314,7 +24314,7 @@ declare const batch: z.ZodObject<{
|
|
|
24314
24314
|
instant_key_url: z.ZodOptional<z.ZodString>;
|
|
24315
24315
|
client_session_token: z.ZodOptional<z.ZodString>;
|
|
24316
24316
|
is_encoding_required: z.ZodOptional<z.ZodBoolean>;
|
|
24317
|
-
code: z.ZodOptional<z.ZodString
|
|
24317
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24318
24318
|
customization_profile_id: z.ZodOptional<z.ZodString>;
|
|
24319
24319
|
}, "strip", z.ZodTypeAny, {
|
|
24320
24320
|
display_name: string;
|
|
@@ -24324,7 +24324,7 @@ declare const batch: z.ZodObject<{
|
|
|
24324
24324
|
access_method_id: string;
|
|
24325
24325
|
issued_at: string | null;
|
|
24326
24326
|
is_issued: boolean;
|
|
24327
|
-
code?: string | undefined;
|
|
24327
|
+
code?: string | null | undefined;
|
|
24328
24328
|
client_session_token?: string | undefined;
|
|
24329
24329
|
instant_key_url?: string | undefined;
|
|
24330
24330
|
customization_profile_id?: string | undefined;
|
|
@@ -24337,7 +24337,7 @@ declare const batch: z.ZodObject<{
|
|
|
24337
24337
|
access_method_id: string;
|
|
24338
24338
|
issued_at: string | null;
|
|
24339
24339
|
is_issued: boolean;
|
|
24340
|
-
code?: string | undefined;
|
|
24340
|
+
code?: string | null | undefined;
|
|
24341
24341
|
client_session_token?: string | undefined;
|
|
24342
24342
|
instant_key_url?: string | undefined;
|
|
24343
24343
|
customization_profile_id?: string | undefined;
|
|
@@ -25283,6 +25283,7 @@ declare const batch: z.ZodObject<{
|
|
|
25283
25283
|
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
25284
25284
|
} & {
|
|
25285
25285
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
25286
|
+
code: z.ZodOptional<z.ZodString>;
|
|
25286
25287
|
}, "strip", z.ZodTypeAny, {
|
|
25287
25288
|
workspace_id: string;
|
|
25288
25289
|
created_at: string;
|
|
@@ -25291,6 +25292,7 @@ declare const batch: z.ZodObject<{
|
|
|
25291
25292
|
occurred_at: string;
|
|
25292
25293
|
event_type: "access_method.reissued";
|
|
25293
25294
|
access_grant_ids: string[];
|
|
25295
|
+
code?: string | undefined;
|
|
25294
25296
|
access_grant_keys?: string[] | undefined;
|
|
25295
25297
|
}, {
|
|
25296
25298
|
workspace_id: string;
|
|
@@ -25300,6 +25302,7 @@ declare const batch: z.ZodObject<{
|
|
|
25300
25302
|
occurred_at: string;
|
|
25301
25303
|
event_type: "access_method.reissued";
|
|
25302
25304
|
access_grant_ids: string[];
|
|
25305
|
+
code?: string | undefined;
|
|
25303
25306
|
access_grant_keys?: string[] | undefined;
|
|
25304
25307
|
}>, z.ZodObject<{
|
|
25305
25308
|
event_id: z.ZodString;
|
|
@@ -31463,7 +31466,7 @@ declare const batch: z.ZodObject<{
|
|
|
31463
31466
|
access_method_id: string;
|
|
31464
31467
|
issued_at: string | null;
|
|
31465
31468
|
is_issued: boolean;
|
|
31466
|
-
code?: string | undefined;
|
|
31469
|
+
code?: string | null | undefined;
|
|
31467
31470
|
client_session_token?: string | undefined;
|
|
31468
31471
|
instant_key_url?: string | undefined;
|
|
31469
31472
|
customization_profile_id?: string | undefined;
|
|
@@ -33171,6 +33174,7 @@ declare const batch: z.ZodObject<{
|
|
|
33171
33174
|
occurred_at: string;
|
|
33172
33175
|
event_type: "access_method.reissued";
|
|
33173
33176
|
access_grant_ids: string[];
|
|
33177
|
+
code?: string | undefined;
|
|
33174
33178
|
access_grant_keys?: string[] | undefined;
|
|
33175
33179
|
} | {
|
|
33176
33180
|
workspace_id: string;
|
|
@@ -35319,7 +35323,7 @@ declare const batch: z.ZodObject<{
|
|
|
35319
35323
|
access_method_id: string;
|
|
35320
35324
|
issued_at: string | null;
|
|
35321
35325
|
is_issued: boolean;
|
|
35322
|
-
code?: string | undefined;
|
|
35326
|
+
code?: string | null | undefined;
|
|
35323
35327
|
client_session_token?: string | undefined;
|
|
35324
35328
|
instant_key_url?: string | undefined;
|
|
35325
35329
|
customization_profile_id?: string | undefined;
|
|
@@ -37027,6 +37031,7 @@ declare const batch: z.ZodObject<{
|
|
|
37027
37031
|
occurred_at: string;
|
|
37028
37032
|
event_type: "access_method.reissued";
|
|
37029
37033
|
access_grant_ids: string[];
|
|
37034
|
+
code?: string | undefined;
|
|
37030
37035
|
access_grant_keys?: string[] | undefined;
|
|
37031
37036
|
} | {
|
|
37032
37037
|
workspace_id: string;
|
|
@@ -48021,6 +48026,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
48021
48026
|
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
48022
48027
|
} & {
|
|
48023
48028
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
48029
|
+
code: z.ZodOptional<z.ZodString>;
|
|
48024
48030
|
}, "strip", z.ZodTypeAny, {
|
|
48025
48031
|
workspace_id: string;
|
|
48026
48032
|
created_at: string;
|
|
@@ -48029,6 +48035,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
48029
48035
|
occurred_at: string;
|
|
48030
48036
|
event_type: "access_method.reissued";
|
|
48031
48037
|
access_grant_ids: string[];
|
|
48038
|
+
code?: string | undefined;
|
|
48032
48039
|
access_grant_keys?: string[] | undefined;
|
|
48033
48040
|
}, {
|
|
48034
48041
|
workspace_id: string;
|
|
@@ -48038,6 +48045,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
48038
48045
|
occurred_at: string;
|
|
48039
48046
|
event_type: "access_method.reissued";
|
|
48040
48047
|
access_grant_ids: string[];
|
|
48048
|
+
code?: string | undefined;
|
|
48041
48049
|
access_grant_keys?: string[] | undefined;
|
|
48042
48050
|
}>, z.ZodObject<{
|
|
48043
48051
|
event_id: z.ZodString;
|
|
@@ -51198,6 +51206,7 @@ declare const _default: {
|
|
|
51198
51206
|
};
|
|
51199
51207
|
code: {
|
|
51200
51208
|
description: string;
|
|
51209
|
+
nullable: boolean;
|
|
51201
51210
|
type: string;
|
|
51202
51211
|
};
|
|
51203
51212
|
created_at: {
|
|
@@ -114597,7 +114606,7 @@ type Routes = {
|
|
|
114597
114606
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
114598
114607
|
is_encoding_required?: boolean | undefined;
|
|
114599
114608
|
/** The actual PIN code for code access methods. */
|
|
114600
|
-
code?: string | undefined;
|
|
114609
|
+
code?: (string | null) | undefined;
|
|
114601
114610
|
/** ID of the customization profile associated with the access method. */
|
|
114602
114611
|
customization_profile_id?: string | undefined;
|
|
114603
114612
|
};
|
|
@@ -118612,7 +118621,7 @@ type Routes = {
|
|
|
118612
118621
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
118613
118622
|
is_encoding_required?: boolean | undefined;
|
|
118614
118623
|
/** The actual PIN code for code access methods. */
|
|
118615
|
-
code?: string | undefined;
|
|
118624
|
+
code?: (string | null) | undefined;
|
|
118616
118625
|
/** ID of the customization profile associated with the access method. */
|
|
118617
118626
|
customization_profile_id?: string | undefined;
|
|
118618
118627
|
}[] | undefined;
|
|
@@ -119223,6 +119232,8 @@ type Routes = {
|
|
|
119223
119232
|
/** Keys of the access grants associated with this access method (if present). */
|
|
119224
119233
|
access_grant_keys?: string[] | undefined;
|
|
119225
119234
|
event_type: 'access_method.reissued';
|
|
119235
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
119236
|
+
code?: string | undefined;
|
|
119226
119237
|
} | {
|
|
119227
119238
|
/** ID of the event. */
|
|
119228
119239
|
event_id: string;
|
|
@@ -121652,7 +121663,7 @@ type Routes = {
|
|
|
121652
121663
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
121653
121664
|
is_encoding_required?: boolean | undefined;
|
|
121654
121665
|
/** The actual PIN code for code access methods. */
|
|
121655
|
-
code?: string | undefined;
|
|
121666
|
+
code?: (string | null) | undefined;
|
|
121656
121667
|
/** ID of the customization profile associated with the access method. */
|
|
121657
121668
|
customization_profile_id?: string | undefined;
|
|
121658
121669
|
}[];
|
|
@@ -137048,6 +137059,8 @@ type Routes = {
|
|
|
137048
137059
|
/** Keys of the access grants associated with this access method (if present). */
|
|
137049
137060
|
access_grant_keys?: string[] | undefined;
|
|
137050
137061
|
event_type: 'access_method.reissued';
|
|
137062
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
137063
|
+
code?: string | undefined;
|
|
137051
137064
|
} | {
|
|
137052
137065
|
/** ID of the event. */
|
|
137053
137066
|
event_id: string;
|
|
@@ -138944,6 +138957,8 @@ type Routes = {
|
|
|
138944
138957
|
/** Keys of the access grants associated with this access method (if present). */
|
|
138945
138958
|
access_grant_keys?: string[] | undefined;
|
|
138946
138959
|
event_type: 'access_method.reissued';
|
|
138960
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
138961
|
+
code?: string | undefined;
|
|
138947
138962
|
} | {
|
|
138948
138963
|
/** ID of the event. */
|
|
138949
138964
|
event_id: string;
|
|
@@ -157772,6 +157787,8 @@ type Routes = {
|
|
|
157772
157787
|
/** Keys of the access grants associated with this access method (if present). */
|
|
157773
157788
|
access_grant_keys?: string[] | undefined;
|
|
157774
157789
|
event_type: 'access_method.reissued';
|
|
157790
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
157791
|
+
code?: string | undefined;
|
|
157775
157792
|
} | {
|
|
157776
157793
|
/** ID of the event. */
|
|
157777
157794
|
event_id: string;
|
|
@@ -184434,7 +184451,7 @@ type Routes = {
|
|
|
184434
184451
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
184435
184452
|
is_encoding_required?: boolean | undefined;
|
|
184436
184453
|
/** The actual PIN code for code access methods. */
|
|
184437
|
-
code?: string | undefined;
|
|
184454
|
+
code?: (string | null) | undefined;
|
|
184438
184455
|
/** ID of the customization profile associated with the access method. */
|
|
184439
184456
|
customization_profile_id?: string | undefined;
|
|
184440
184457
|
}[] | undefined;
|
|
@@ -185045,6 +185062,8 @@ type Routes = {
|
|
|
185045
185062
|
/** Keys of the access grants associated with this access method (if present). */
|
|
185046
185063
|
access_grant_keys?: string[] | undefined;
|
|
185047
185064
|
event_type: 'access_method.reissued';
|
|
185065
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
185066
|
+
code?: string | undefined;
|
|
185048
185067
|
} | {
|
|
185049
185068
|
/** ID of the event. */
|
|
185050
185069
|
event_id: string;
|
package/dist/index.cjs
CHANGED
|
@@ -2334,7 +2334,7 @@ var access_method = zod.z.object({
|
|
|
2334
2334
|
is_encoding_required: zod.z.boolean().optional().describe(
|
|
2335
2335
|
"Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method."
|
|
2336
2336
|
),
|
|
2337
|
-
code: zod.z.string().optional().describe("The actual PIN code for code access methods."),
|
|
2337
|
+
code: zod.z.string().nullable().optional().describe("The actual PIN code for code access methods."),
|
|
2338
2338
|
customization_profile_id: zod.z.string().uuid().optional().describe(
|
|
2339
2339
|
"ID of the customization profile associated with the access method."
|
|
2340
2340
|
)
|
|
@@ -4331,7 +4331,10 @@ var access_method_deleted_event = access_method_event.extend({
|
|
|
4331
4331
|
An access method was deleted.
|
|
4332
4332
|
`);
|
|
4333
4333
|
var access_method_reissued_event = access_method_event.extend({
|
|
4334
|
-
event_type: zod.z.literal("access_method.reissued")
|
|
4334
|
+
event_type: zod.z.literal("access_method.reissued"),
|
|
4335
|
+
code: zod.z.string().optional().describe(
|
|
4336
|
+
"The actual PIN code for code access methods (only present when mode is 'code')."
|
|
4337
|
+
)
|
|
4335
4338
|
}).describe(`
|
|
4336
4339
|
---
|
|
4337
4340
|
route_path: /access_methods
|
|
@@ -7292,6 +7295,7 @@ var openapi_default = {
|
|
|
7292
7295
|
},
|
|
7293
7296
|
code: {
|
|
7294
7297
|
description: "The actual PIN code for code access methods.",
|
|
7298
|
+
nullable: true,
|
|
7295
7299
|
type: "string"
|
|
7296
7300
|
},
|
|
7297
7301
|
created_at: {
|
|
@@ -18807,6 +18811,10 @@ var openapi_default = {
|
|
|
18807
18811
|
format: "uuid",
|
|
18808
18812
|
type: "string"
|
|
18809
18813
|
},
|
|
18814
|
+
code: {
|
|
18815
|
+
description: "The actual PIN code for code access methods (only present when mode is 'code').",
|
|
18816
|
+
type: "string"
|
|
18817
|
+
},
|
|
18810
18818
|
created_at: {
|
|
18811
18819
|
description: "Date and time at which the event was created.",
|
|
18812
18820
|
format: "date-time",
|