@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
|
@@ -10,7 +10,7 @@ export declare const access_method: z.ZodObject<{
|
|
|
10
10
|
instant_key_url: z.ZodOptional<z.ZodString>;
|
|
11
11
|
client_session_token: z.ZodOptional<z.ZodString>;
|
|
12
12
|
is_encoding_required: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
-
code: z.ZodOptional<z.ZodString
|
|
13
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
customization_profile_id: z.ZodOptional<z.ZodString>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
display_name: string;
|
|
@@ -20,7 +20,7 @@ export declare const access_method: z.ZodObject<{
|
|
|
20
20
|
access_method_id: string;
|
|
21
21
|
issued_at: string | null;
|
|
22
22
|
is_issued: boolean;
|
|
23
|
-
code?: string | undefined;
|
|
23
|
+
code?: string | null | undefined;
|
|
24
24
|
client_session_token?: string | undefined;
|
|
25
25
|
instant_key_url?: string | undefined;
|
|
26
26
|
customization_profile_id?: string | undefined;
|
|
@@ -33,7 +33,7 @@ export declare const access_method: z.ZodObject<{
|
|
|
33
33
|
access_method_id: string;
|
|
34
34
|
issued_at: string | null;
|
|
35
35
|
is_issued: boolean;
|
|
36
|
-
code?: string | undefined;
|
|
36
|
+
code?: string | null | undefined;
|
|
37
37
|
client_session_token?: string | undefined;
|
|
38
38
|
instant_key_url?: string | undefined;
|
|
39
39
|
customization_profile_id?: string | undefined;
|
|
@@ -36,6 +36,7 @@ export const access_method = z.object({
|
|
|
36
36
|
.describe('Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method.'),
|
|
37
37
|
code: z
|
|
38
38
|
.string()
|
|
39
|
+
.nullable()
|
|
39
40
|
.optional()
|
|
40
41
|
.describe('The actual PIN code for code access methods.'),
|
|
41
42
|
customization_profile_id: z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACxE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IACvE,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;SACpC,QAAQ,CACP,qEAAqE,CACtE;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,SAAS,EAAE,CAAC;SACT,OAAO,EAAE;SACT,QAAQ,CAAC,sDAAsD,CAAC;IACnE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gEAAgE,CAAC;IAC7E,oBAAoB,EAAE,CAAC;SACpB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qIAAqI,CACtI;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,oEAAoE,CACrE;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACxE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IACvE,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;SACpC,QAAQ,CACP,qEAAqE,CACtE;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,SAAS,EAAE,CAAC;SACT,OAAO,EAAE;SACT,QAAQ,CAAC,sDAAsD,CAAC;IACnE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gEAAgE,CAAC;IAC7E,oBAAoB,EAAE,CAAC;SACpB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qIAAqI,CACtI;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,oEAAoE,CACrE;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
|
|
@@ -33999,7 +33999,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
33999
33999
|
instant_key_url: z.ZodOptional<z.ZodString>;
|
|
34000
34000
|
client_session_token: z.ZodOptional<z.ZodString>;
|
|
34001
34001
|
is_encoding_required: z.ZodOptional<z.ZodBoolean>;
|
|
34002
|
-
code: z.ZodOptional<z.ZodString
|
|
34002
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34003
34003
|
customization_profile_id: z.ZodOptional<z.ZodString>;
|
|
34004
34004
|
}, "strip", z.ZodTypeAny, {
|
|
34005
34005
|
display_name: string;
|
|
@@ -34009,7 +34009,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
34009
34009
|
access_method_id: string;
|
|
34010
34010
|
issued_at: string | null;
|
|
34011
34011
|
is_issued: boolean;
|
|
34012
|
-
code?: string | undefined;
|
|
34012
|
+
code?: string | null | undefined;
|
|
34013
34013
|
client_session_token?: string | undefined;
|
|
34014
34014
|
instant_key_url?: string | undefined;
|
|
34015
34015
|
customization_profile_id?: string | undefined;
|
|
@@ -34022,7 +34022,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
34022
34022
|
access_method_id: string;
|
|
34023
34023
|
issued_at: string | null;
|
|
34024
34024
|
is_issued: boolean;
|
|
34025
|
-
code?: string | undefined;
|
|
34025
|
+
code?: string | null | undefined;
|
|
34026
34026
|
client_session_token?: string | undefined;
|
|
34027
34027
|
instant_key_url?: string | undefined;
|
|
34028
34028
|
customization_profile_id?: string | undefined;
|
|
@@ -34968,6 +34968,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
34968
34968
|
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
34969
34969
|
} & {
|
|
34970
34970
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
34971
|
+
code: z.ZodOptional<z.ZodString>;
|
|
34971
34972
|
}, "strip", z.ZodTypeAny, {
|
|
34972
34973
|
workspace_id: string;
|
|
34973
34974
|
created_at: string;
|
|
@@ -34976,6 +34977,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
34976
34977
|
occurred_at: string;
|
|
34977
34978
|
event_type: "access_method.reissued";
|
|
34978
34979
|
access_grant_ids: string[];
|
|
34980
|
+
code?: string | undefined;
|
|
34979
34981
|
access_grant_keys?: string[] | undefined;
|
|
34980
34982
|
}, {
|
|
34981
34983
|
workspace_id: string;
|
|
@@ -34985,6 +34987,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
34985
34987
|
occurred_at: string;
|
|
34986
34988
|
event_type: "access_method.reissued";
|
|
34987
34989
|
access_grant_ids: string[];
|
|
34990
|
+
code?: string | undefined;
|
|
34988
34991
|
access_grant_keys?: string[] | undefined;
|
|
34989
34992
|
}>, z.ZodObject<{
|
|
34990
34993
|
event_id: z.ZodString;
|
|
@@ -41219,7 +41222,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
41219
41222
|
access_method_id: string;
|
|
41220
41223
|
issued_at: string | null;
|
|
41221
41224
|
is_issued: boolean;
|
|
41222
|
-
code?: string | undefined;
|
|
41225
|
+
code?: string | null | undefined;
|
|
41223
41226
|
client_session_token?: string | undefined;
|
|
41224
41227
|
instant_key_url?: string | undefined;
|
|
41225
41228
|
customization_profile_id?: string | undefined;
|
|
@@ -42927,6 +42930,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
42927
42930
|
occurred_at: string;
|
|
42928
42931
|
event_type: "access_method.reissued";
|
|
42929
42932
|
access_grant_ids: string[];
|
|
42933
|
+
code?: string | undefined;
|
|
42930
42934
|
access_grant_keys?: string[] | undefined;
|
|
42931
42935
|
} | {
|
|
42932
42936
|
workspace_id: string;
|
|
@@ -45146,7 +45150,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
45146
45150
|
access_method_id: string;
|
|
45147
45151
|
issued_at: string | null;
|
|
45148
45152
|
is_issued: boolean;
|
|
45149
|
-
code?: string | undefined;
|
|
45153
|
+
code?: string | null | undefined;
|
|
45150
45154
|
client_session_token?: string | undefined;
|
|
45151
45155
|
instant_key_url?: string | undefined;
|
|
45152
45156
|
customization_profile_id?: string | undefined;
|
|
@@ -46854,6 +46858,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
46854
46858
|
occurred_at: string;
|
|
46855
46859
|
event_type: "access_method.reissued";
|
|
46856
46860
|
access_grant_ids: string[];
|
|
46861
|
+
code?: string | undefined;
|
|
46857
46862
|
access_grant_keys?: string[] | undefined;
|
|
46858
46863
|
} | {
|
|
46859
46864
|
workspace_id: string;
|
|
@@ -62254,7 +62259,7 @@ export declare const batch: z.ZodObject<{
|
|
|
62254
62259
|
instant_key_url: z.ZodOptional<z.ZodString>;
|
|
62255
62260
|
client_session_token: z.ZodOptional<z.ZodString>;
|
|
62256
62261
|
is_encoding_required: z.ZodOptional<z.ZodBoolean>;
|
|
62257
|
-
code: z.ZodOptional<z.ZodString
|
|
62262
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62258
62263
|
customization_profile_id: z.ZodOptional<z.ZodString>;
|
|
62259
62264
|
}, "strip", z.ZodTypeAny, {
|
|
62260
62265
|
display_name: string;
|
|
@@ -62264,7 +62269,7 @@ export declare const batch: z.ZodObject<{
|
|
|
62264
62269
|
access_method_id: string;
|
|
62265
62270
|
issued_at: string | null;
|
|
62266
62271
|
is_issued: boolean;
|
|
62267
|
-
code?: string | undefined;
|
|
62272
|
+
code?: string | null | undefined;
|
|
62268
62273
|
client_session_token?: string | undefined;
|
|
62269
62274
|
instant_key_url?: string | undefined;
|
|
62270
62275
|
customization_profile_id?: string | undefined;
|
|
@@ -62277,7 +62282,7 @@ export declare const batch: z.ZodObject<{
|
|
|
62277
62282
|
access_method_id: string;
|
|
62278
62283
|
issued_at: string | null;
|
|
62279
62284
|
is_issued: boolean;
|
|
62280
|
-
code?: string | undefined;
|
|
62285
|
+
code?: string | null | undefined;
|
|
62281
62286
|
client_session_token?: string | undefined;
|
|
62282
62287
|
instant_key_url?: string | undefined;
|
|
62283
62288
|
customization_profile_id?: string | undefined;
|
|
@@ -63223,6 +63228,7 @@ export declare const batch: z.ZodObject<{
|
|
|
63223
63228
|
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
63224
63229
|
} & {
|
|
63225
63230
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
63231
|
+
code: z.ZodOptional<z.ZodString>;
|
|
63226
63232
|
}, "strip", z.ZodTypeAny, {
|
|
63227
63233
|
workspace_id: string;
|
|
63228
63234
|
created_at: string;
|
|
@@ -63231,6 +63237,7 @@ export declare const batch: z.ZodObject<{
|
|
|
63231
63237
|
occurred_at: string;
|
|
63232
63238
|
event_type: "access_method.reissued";
|
|
63233
63239
|
access_grant_ids: string[];
|
|
63240
|
+
code?: string | undefined;
|
|
63234
63241
|
access_grant_keys?: string[] | undefined;
|
|
63235
63242
|
}, {
|
|
63236
63243
|
workspace_id: string;
|
|
@@ -63240,6 +63247,7 @@ export declare const batch: z.ZodObject<{
|
|
|
63240
63247
|
occurred_at: string;
|
|
63241
63248
|
event_type: "access_method.reissued";
|
|
63242
63249
|
access_grant_ids: string[];
|
|
63250
|
+
code?: string | undefined;
|
|
63243
63251
|
access_grant_keys?: string[] | undefined;
|
|
63244
63252
|
}>, z.ZodObject<{
|
|
63245
63253
|
event_id: z.ZodString;
|
|
@@ -69403,7 +69411,7 @@ export declare const batch: z.ZodObject<{
|
|
|
69403
69411
|
access_method_id: string;
|
|
69404
69412
|
issued_at: string | null;
|
|
69405
69413
|
is_issued: boolean;
|
|
69406
|
-
code?: string | undefined;
|
|
69414
|
+
code?: string | null | undefined;
|
|
69407
69415
|
client_session_token?: string | undefined;
|
|
69408
69416
|
instant_key_url?: string | undefined;
|
|
69409
69417
|
customization_profile_id?: string | undefined;
|
|
@@ -71111,6 +71119,7 @@ export declare const batch: z.ZodObject<{
|
|
|
71111
71119
|
occurred_at: string;
|
|
71112
71120
|
event_type: "access_method.reissued";
|
|
71113
71121
|
access_grant_ids: string[];
|
|
71122
|
+
code?: string | undefined;
|
|
71114
71123
|
access_grant_keys?: string[] | undefined;
|
|
71115
71124
|
} | {
|
|
71116
71125
|
workspace_id: string;
|
|
@@ -73259,7 +73268,7 @@ export declare const batch: z.ZodObject<{
|
|
|
73259
73268
|
access_method_id: string;
|
|
73260
73269
|
issued_at: string | null;
|
|
73261
73270
|
is_issued: boolean;
|
|
73262
|
-
code?: string | undefined;
|
|
73271
|
+
code?: string | null | undefined;
|
|
73263
73272
|
client_session_token?: string | undefined;
|
|
73264
73273
|
instant_key_url?: string | undefined;
|
|
73265
73274
|
customization_profile_id?: string | undefined;
|
|
@@ -74967,6 +74976,7 @@ export declare const batch: z.ZodObject<{
|
|
|
74967
74976
|
occurred_at: string;
|
|
74968
74977
|
event_type: "access_method.reissued";
|
|
74969
74978
|
access_grant_ids: string[];
|
|
74979
|
+
code?: string | undefined;
|
|
74970
74980
|
access_grant_keys?: string[] | undefined;
|
|
74971
74981
|
} | {
|
|
74972
74982
|
workspace_id: string;
|
|
@@ -135,6 +135,7 @@ export declare const access_method_reissued_event: z.ZodObject<{
|
|
|
135
135
|
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
136
136
|
} & {
|
|
137
137
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
138
|
+
code: z.ZodOptional<z.ZodString>;
|
|
138
139
|
}, "strip", z.ZodTypeAny, {
|
|
139
140
|
workspace_id: string;
|
|
140
141
|
created_at: string;
|
|
@@ -143,6 +144,7 @@ export declare const access_method_reissued_event: z.ZodObject<{
|
|
|
143
144
|
occurred_at: string;
|
|
144
145
|
event_type: "access_method.reissued";
|
|
145
146
|
access_grant_ids: string[];
|
|
147
|
+
code?: string | undefined;
|
|
146
148
|
access_grant_keys?: string[] | undefined;
|
|
147
149
|
}, {
|
|
148
150
|
workspace_id: string;
|
|
@@ -152,6 +154,7 @@ export declare const access_method_reissued_event: z.ZodObject<{
|
|
|
152
154
|
occurred_at: string;
|
|
153
155
|
event_type: "access_method.reissued";
|
|
154
156
|
access_grant_ids: string[];
|
|
157
|
+
code?: string | undefined;
|
|
155
158
|
access_grant_keys?: string[] | undefined;
|
|
156
159
|
}>;
|
|
157
160
|
export type AccessMethodRevokedEvent = z.infer<typeof access_method_revoked_event>;
|
|
@@ -285,6 +288,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
285
288
|
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
286
289
|
} & {
|
|
287
290
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
291
|
+
code: z.ZodOptional<z.ZodString>;
|
|
288
292
|
}, "strip", z.ZodTypeAny, {
|
|
289
293
|
workspace_id: string;
|
|
290
294
|
created_at: string;
|
|
@@ -293,6 +297,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
293
297
|
occurred_at: string;
|
|
294
298
|
event_type: "access_method.reissued";
|
|
295
299
|
access_grant_ids: string[];
|
|
300
|
+
code?: string | undefined;
|
|
296
301
|
access_grant_keys?: string[] | undefined;
|
|
297
302
|
}, {
|
|
298
303
|
workspace_id: string;
|
|
@@ -302,5 +307,6 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
302
307
|
occurred_at: string;
|
|
303
308
|
event_type: "access_method.reissued";
|
|
304
309
|
access_grant_ids: string[];
|
|
310
|
+
code?: string | undefined;
|
|
305
311
|
access_grant_keys?: string[] | undefined;
|
|
306
312
|
}>];
|
|
@@ -51,6 +51,10 @@ export const access_method_deleted_event = access_method_event.extend({
|
|
|
51
51
|
`);
|
|
52
52
|
export const access_method_reissued_event = access_method_event.extend({
|
|
53
53
|
event_type: z.literal('access_method.reissued'),
|
|
54
|
+
code: z
|
|
55
|
+
.string()
|
|
56
|
+
.optional()
|
|
57
|
+
.describe("The actual PIN code for code access methods (only present when mode is 'code')."),
|
|
54
58
|
}).describe(`
|
|
55
59
|
---
|
|
56
60
|
route_path: /access_methods
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-methods.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/access-methods.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAA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KX,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,2BAA2B,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACpE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC;CAC/C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,2BAA2B,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACpE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC;CAC/C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,4BAA4B,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACrE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;IAC/C,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,iFAAiF,CAClF;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,0BAA0B;IAC1B,2BAA2B;IAC3B,0CAA0C;IAC1C,2BAA2B;IAC3B,4BAA4B;CACpB,CAAA"}
|
|
@@ -857,6 +857,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
857
857
|
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
858
858
|
} & {
|
|
859
859
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
860
|
+
code: z.ZodOptional<z.ZodString>;
|
|
860
861
|
}, "strip", z.ZodTypeAny, {
|
|
861
862
|
workspace_id: string;
|
|
862
863
|
created_at: string;
|
|
@@ -865,6 +866,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
865
866
|
occurred_at: string;
|
|
866
867
|
event_type: "access_method.reissued";
|
|
867
868
|
access_grant_ids: string[];
|
|
869
|
+
code?: string | undefined;
|
|
868
870
|
access_grant_keys?: string[] | undefined;
|
|
869
871
|
}, {
|
|
870
872
|
workspace_id: string;
|
|
@@ -874,6 +876,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
874
876
|
occurred_at: string;
|
|
875
877
|
event_type: "access_method.reissued";
|
|
876
878
|
access_grant_ids: string[];
|
|
879
|
+
code?: string | undefined;
|
|
877
880
|
access_grant_keys?: string[] | undefined;
|
|
878
881
|
}>, z.ZodObject<{
|
|
879
882
|
event_id: z.ZodString;
|
|
@@ -1725,6 +1725,7 @@ export default {
|
|
|
1725
1725
|
},
|
|
1726
1726
|
code: {
|
|
1727
1727
|
description: 'The actual PIN code for code access methods.',
|
|
1728
|
+
nullable: true,
|
|
1728
1729
|
type: 'string',
|
|
1729
1730
|
},
|
|
1730
1731
|
created_at: {
|
|
@@ -13240,6 +13241,10 @@ export default {
|
|
|
13240
13241
|
format: 'uuid',
|
|
13241
13242
|
type: 'string',
|
|
13242
13243
|
},
|
|
13244
|
+
code: {
|
|
13245
|
+
description: "The actual PIN code for code access methods (only present when mode is 'code').",
|
|
13246
|
+
type: 'string',
|
|
13247
|
+
},
|
|
13243
13248
|
created_at: {
|
|
13244
13249
|
description: 'Date and time at which the event was created.',
|
|
13245
13250
|
format: 'date-time',
|