@seamapi/types 1.550.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 +14 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +74 -0
- package/dist/index.cjs +14 -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 +38 -0
- package/lib/seam/connect/openapi.js +8 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -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 +10 -0
- package/src/lib/seam/connect/route-types.ts +20 -0
|
@@ -34928,6 +34928,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
34928
34928
|
} & {
|
|
34929
34929
|
event_type: z.ZodLiteral<"access_method.issued">;
|
|
34930
34930
|
code: z.ZodOptional<z.ZodString>;
|
|
34931
|
+
is_backup_code: z.ZodOptional<z.ZodBoolean>;
|
|
34931
34932
|
}, "strip", z.ZodTypeAny, {
|
|
34932
34933
|
workspace_id: string;
|
|
34933
34934
|
created_at: string;
|
|
@@ -34938,6 +34939,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
34938
34939
|
access_grant_ids: string[];
|
|
34939
34940
|
code?: string | undefined;
|
|
34940
34941
|
access_grant_keys?: string[] | undefined;
|
|
34942
|
+
is_backup_code?: boolean | undefined;
|
|
34941
34943
|
}, {
|
|
34942
34944
|
workspace_id: string;
|
|
34943
34945
|
created_at: string;
|
|
@@ -34948,6 +34950,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
34948
34950
|
access_grant_ids: string[];
|
|
34949
34951
|
code?: string | undefined;
|
|
34950
34952
|
access_grant_keys?: string[] | undefined;
|
|
34953
|
+
is_backup_code?: boolean | undefined;
|
|
34951
34954
|
}>, z.ZodObject<{
|
|
34952
34955
|
event_id: z.ZodString;
|
|
34953
34956
|
workspace_id: z.ZodString;
|
|
@@ -35047,6 +35050,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
35047
35050
|
} & {
|
|
35048
35051
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
35049
35052
|
code: z.ZodOptional<z.ZodString>;
|
|
35053
|
+
is_backup_code: z.ZodOptional<z.ZodBoolean>;
|
|
35050
35054
|
}, "strip", z.ZodTypeAny, {
|
|
35051
35055
|
workspace_id: string;
|
|
35052
35056
|
created_at: string;
|
|
@@ -35057,6 +35061,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
35057
35061
|
access_grant_ids: string[];
|
|
35058
35062
|
code?: string | undefined;
|
|
35059
35063
|
access_grant_keys?: string[] | undefined;
|
|
35064
|
+
is_backup_code?: boolean | undefined;
|
|
35060
35065
|
}, {
|
|
35061
35066
|
workspace_id: string;
|
|
35062
35067
|
created_at: string;
|
|
@@ -35067,6 +35072,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
35067
35072
|
access_grant_ids: string[];
|
|
35068
35073
|
code?: string | undefined;
|
|
35069
35074
|
access_grant_keys?: string[] | undefined;
|
|
35075
|
+
is_backup_code?: boolean | undefined;
|
|
35070
35076
|
}>, z.ZodObject<{
|
|
35071
35077
|
event_id: z.ZodString;
|
|
35072
35078
|
workspace_id: z.ZodString;
|
|
@@ -42982,6 +42988,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
42982
42988
|
access_grant_ids: string[];
|
|
42983
42989
|
code?: string | undefined;
|
|
42984
42990
|
access_grant_keys?: string[] | undefined;
|
|
42991
|
+
is_backup_code?: boolean | undefined;
|
|
42985
42992
|
} | {
|
|
42986
42993
|
workspace_id: string;
|
|
42987
42994
|
created_at: string;
|
|
@@ -43019,6 +43026,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
43019
43026
|
access_grant_ids: string[];
|
|
43020
43027
|
code?: string | undefined;
|
|
43021
43028
|
access_grant_keys?: string[] | undefined;
|
|
43029
|
+
is_backup_code?: boolean | undefined;
|
|
43022
43030
|
} | {
|
|
43023
43031
|
workspace_id: string;
|
|
43024
43032
|
created_at: string;
|
|
@@ -46915,6 +46923,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
46915
46923
|
access_grant_ids: string[];
|
|
46916
46924
|
code?: string | undefined;
|
|
46917
46925
|
access_grant_keys?: string[] | undefined;
|
|
46926
|
+
is_backup_code?: boolean | undefined;
|
|
46918
46927
|
} | {
|
|
46919
46928
|
workspace_id: string;
|
|
46920
46929
|
created_at: string;
|
|
@@ -46952,6 +46961,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
46952
46961
|
access_grant_ids: string[];
|
|
46953
46962
|
code?: string | undefined;
|
|
46954
46963
|
access_grant_keys?: string[] | undefined;
|
|
46964
|
+
is_backup_code?: boolean | undefined;
|
|
46955
46965
|
} | {
|
|
46956
46966
|
workspace_id: string;
|
|
46957
46967
|
created_at: string;
|
|
@@ -63219,6 +63229,7 @@ export declare const batch: z.ZodObject<{
|
|
|
63219
63229
|
} & {
|
|
63220
63230
|
event_type: z.ZodLiteral<"access_method.issued">;
|
|
63221
63231
|
code: z.ZodOptional<z.ZodString>;
|
|
63232
|
+
is_backup_code: z.ZodOptional<z.ZodBoolean>;
|
|
63222
63233
|
}, "strip", z.ZodTypeAny, {
|
|
63223
63234
|
workspace_id: string;
|
|
63224
63235
|
created_at: string;
|
|
@@ -63229,6 +63240,7 @@ export declare const batch: z.ZodObject<{
|
|
|
63229
63240
|
access_grant_ids: string[];
|
|
63230
63241
|
code?: string | undefined;
|
|
63231
63242
|
access_grant_keys?: string[] | undefined;
|
|
63243
|
+
is_backup_code?: boolean | undefined;
|
|
63232
63244
|
}, {
|
|
63233
63245
|
workspace_id: string;
|
|
63234
63246
|
created_at: string;
|
|
@@ -63239,6 +63251,7 @@ export declare const batch: z.ZodObject<{
|
|
|
63239
63251
|
access_grant_ids: string[];
|
|
63240
63252
|
code?: string | undefined;
|
|
63241
63253
|
access_grant_keys?: string[] | undefined;
|
|
63254
|
+
is_backup_code?: boolean | undefined;
|
|
63242
63255
|
}>, z.ZodObject<{
|
|
63243
63256
|
event_id: z.ZodString;
|
|
63244
63257
|
workspace_id: z.ZodString;
|
|
@@ -63338,6 +63351,7 @@ export declare const batch: z.ZodObject<{
|
|
|
63338
63351
|
} & {
|
|
63339
63352
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
63340
63353
|
code: z.ZodOptional<z.ZodString>;
|
|
63354
|
+
is_backup_code: z.ZodOptional<z.ZodBoolean>;
|
|
63341
63355
|
}, "strip", z.ZodTypeAny, {
|
|
63342
63356
|
workspace_id: string;
|
|
63343
63357
|
created_at: string;
|
|
@@ -63348,6 +63362,7 @@ export declare const batch: z.ZodObject<{
|
|
|
63348
63362
|
access_grant_ids: string[];
|
|
63349
63363
|
code?: string | undefined;
|
|
63350
63364
|
access_grant_keys?: string[] | undefined;
|
|
63365
|
+
is_backup_code?: boolean | undefined;
|
|
63351
63366
|
}, {
|
|
63352
63367
|
workspace_id: string;
|
|
63353
63368
|
created_at: string;
|
|
@@ -63358,6 +63373,7 @@ export declare const batch: z.ZodObject<{
|
|
|
63358
63373
|
access_grant_ids: string[];
|
|
63359
63374
|
code?: string | undefined;
|
|
63360
63375
|
access_grant_keys?: string[] | undefined;
|
|
63376
|
+
is_backup_code?: boolean | undefined;
|
|
63361
63377
|
}>, z.ZodObject<{
|
|
63362
63378
|
event_id: z.ZodString;
|
|
63363
63379
|
workspace_id: z.ZodString;
|
|
@@ -71202,6 +71218,7 @@ export declare const batch: z.ZodObject<{
|
|
|
71202
71218
|
access_grant_ids: string[];
|
|
71203
71219
|
code?: string | undefined;
|
|
71204
71220
|
access_grant_keys?: string[] | undefined;
|
|
71221
|
+
is_backup_code?: boolean | undefined;
|
|
71205
71222
|
} | {
|
|
71206
71223
|
workspace_id: string;
|
|
71207
71224
|
created_at: string;
|
|
@@ -71239,6 +71256,7 @@ export declare const batch: z.ZodObject<{
|
|
|
71239
71256
|
access_grant_ids: string[];
|
|
71240
71257
|
code?: string | undefined;
|
|
71241
71258
|
access_grant_keys?: string[] | undefined;
|
|
71259
|
+
is_backup_code?: boolean | undefined;
|
|
71242
71260
|
} | {
|
|
71243
71261
|
workspace_id: string;
|
|
71244
71262
|
created_at: string;
|
|
@@ -75064,6 +75082,7 @@ export declare const batch: z.ZodObject<{
|
|
|
75064
75082
|
access_grant_ids: string[];
|
|
75065
75083
|
code?: string | undefined;
|
|
75066
75084
|
access_grant_keys?: string[] | undefined;
|
|
75085
|
+
is_backup_code?: boolean | undefined;
|
|
75067
75086
|
} | {
|
|
75068
75087
|
workspace_id: string;
|
|
75069
75088
|
created_at: string;
|
|
@@ -75101,6 +75120,7 @@ export declare const batch: z.ZodObject<{
|
|
|
75101
75120
|
access_grant_ids: string[];
|
|
75102
75121
|
code?: string | undefined;
|
|
75103
75122
|
access_grant_keys?: string[] | undefined;
|
|
75123
|
+
is_backup_code?: boolean | undefined;
|
|
75104
75124
|
} | {
|
|
75105
75125
|
workspace_id: string;
|
|
75106
75126
|
created_at: string;
|
|
@@ -11,6 +11,7 @@ export declare const access_method_issued_event: z.ZodObject<{
|
|
|
11
11
|
} & {
|
|
12
12
|
event_type: z.ZodLiteral<"access_method.issued">;
|
|
13
13
|
code: z.ZodOptional<z.ZodString>;
|
|
14
|
+
is_backup_code: z.ZodOptional<z.ZodBoolean>;
|
|
14
15
|
}, "strip", z.ZodTypeAny, {
|
|
15
16
|
workspace_id: string;
|
|
16
17
|
created_at: string;
|
|
@@ -21,6 +22,7 @@ export declare const access_method_issued_event: z.ZodObject<{
|
|
|
21
22
|
access_grant_ids: string[];
|
|
22
23
|
code?: string | undefined;
|
|
23
24
|
access_grant_keys?: string[] | undefined;
|
|
25
|
+
is_backup_code?: boolean | undefined;
|
|
24
26
|
}, {
|
|
25
27
|
workspace_id: string;
|
|
26
28
|
created_at: string;
|
|
@@ -31,6 +33,7 @@ export declare const access_method_issued_event: z.ZodObject<{
|
|
|
31
33
|
access_grant_ids: string[];
|
|
32
34
|
code?: string | undefined;
|
|
33
35
|
access_grant_keys?: string[] | undefined;
|
|
36
|
+
is_backup_code?: boolean | undefined;
|
|
34
37
|
}>;
|
|
35
38
|
export type AccessMethodIssuedEvent = z.infer<typeof access_method_issued_event>;
|
|
36
39
|
export declare const access_method_card_encoding_required_event: z.ZodObject<{
|
|
@@ -136,6 +139,7 @@ export declare const access_method_reissued_event: z.ZodObject<{
|
|
|
136
139
|
} & {
|
|
137
140
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
138
141
|
code: z.ZodOptional<z.ZodString>;
|
|
142
|
+
is_backup_code: z.ZodOptional<z.ZodBoolean>;
|
|
139
143
|
}, "strip", z.ZodTypeAny, {
|
|
140
144
|
workspace_id: string;
|
|
141
145
|
created_at: string;
|
|
@@ -146,6 +150,7 @@ export declare const access_method_reissued_event: z.ZodObject<{
|
|
|
146
150
|
access_grant_ids: string[];
|
|
147
151
|
code?: string | undefined;
|
|
148
152
|
access_grant_keys?: string[] | undefined;
|
|
153
|
+
is_backup_code?: boolean | undefined;
|
|
149
154
|
}, {
|
|
150
155
|
workspace_id: string;
|
|
151
156
|
created_at: string;
|
|
@@ -156,6 +161,7 @@ export declare const access_method_reissued_event: z.ZodObject<{
|
|
|
156
161
|
access_grant_ids: string[];
|
|
157
162
|
code?: string | undefined;
|
|
158
163
|
access_grant_keys?: string[] | undefined;
|
|
164
|
+
is_backup_code?: boolean | undefined;
|
|
159
165
|
}>;
|
|
160
166
|
export type AccessMethodRevokedEvent = z.infer<typeof access_method_revoked_event>;
|
|
161
167
|
export declare const access_method_events: readonly [z.ZodObject<{
|
|
@@ -170,6 +176,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
170
176
|
} & {
|
|
171
177
|
event_type: z.ZodLiteral<"access_method.issued">;
|
|
172
178
|
code: z.ZodOptional<z.ZodString>;
|
|
179
|
+
is_backup_code: z.ZodOptional<z.ZodBoolean>;
|
|
173
180
|
}, "strip", z.ZodTypeAny, {
|
|
174
181
|
workspace_id: string;
|
|
175
182
|
created_at: string;
|
|
@@ -180,6 +187,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
180
187
|
access_grant_ids: string[];
|
|
181
188
|
code?: string | undefined;
|
|
182
189
|
access_grant_keys?: string[] | undefined;
|
|
190
|
+
is_backup_code?: boolean | undefined;
|
|
183
191
|
}, {
|
|
184
192
|
workspace_id: string;
|
|
185
193
|
created_at: string;
|
|
@@ -190,6 +198,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
190
198
|
access_grant_ids: string[];
|
|
191
199
|
code?: string | undefined;
|
|
192
200
|
access_grant_keys?: string[] | undefined;
|
|
201
|
+
is_backup_code?: boolean | undefined;
|
|
193
202
|
}>, z.ZodObject<{
|
|
194
203
|
event_id: z.ZodString;
|
|
195
204
|
workspace_id: z.ZodString;
|
|
@@ -289,6 +298,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
289
298
|
} & {
|
|
290
299
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
291
300
|
code: z.ZodOptional<z.ZodString>;
|
|
301
|
+
is_backup_code: z.ZodOptional<z.ZodBoolean>;
|
|
292
302
|
}, "strip", z.ZodTypeAny, {
|
|
293
303
|
workspace_id: string;
|
|
294
304
|
created_at: string;
|
|
@@ -299,6 +309,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
299
309
|
access_grant_ids: string[];
|
|
300
310
|
code?: string | undefined;
|
|
301
311
|
access_grant_keys?: string[] | undefined;
|
|
312
|
+
is_backup_code?: boolean | undefined;
|
|
302
313
|
}, {
|
|
303
314
|
workspace_id: string;
|
|
304
315
|
created_at: string;
|
|
@@ -309,4 +320,5 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
309
320
|
access_grant_ids: string[];
|
|
310
321
|
code?: string | undefined;
|
|
311
322
|
access_grant_keys?: string[] | undefined;
|
|
323
|
+
is_backup_code?: boolean | undefined;
|
|
312
324
|
}>];
|
|
@@ -19,6 +19,10 @@ export const access_method_issued_event = access_method_event.extend({
|
|
|
19
19
|
.string()
|
|
20
20
|
.optional()
|
|
21
21
|
.describe("The actual PIN code for code access methods (only present when mode is 'code')."),
|
|
22
|
+
is_backup_code: z
|
|
23
|
+
.boolean()
|
|
24
|
+
.optional()
|
|
25
|
+
.describe("Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used)."),
|
|
22
26
|
}).describe(`
|
|
23
27
|
---
|
|
24
28
|
route_path: /access_methods
|
|
@@ -55,6 +59,10 @@ export const access_method_reissued_event = access_method_event.extend({
|
|
|
55
59
|
.string()
|
|
56
60
|
.optional()
|
|
57
61
|
.describe("The actual PIN code for code access methods (only present when mode is 'code')."),
|
|
62
|
+
is_backup_code: z
|
|
63
|
+
.boolean()
|
|
64
|
+
.optional()
|
|
65
|
+
.describe("Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used)."),
|
|
58
66
|
}).describe(`
|
|
59
67
|
---
|
|
60
68
|
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,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,mBAAmB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC9C,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,mCAAmC,CAAC;IAChD,gBAAgB,EAAE,CAAC;SAChB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,8DAA8D,CAAC;IAC3E,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CACP,4EAA4E,CAC7E;CACJ,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACnE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;IAC7C,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,iFAAiF,CAClF;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,0CAA0C,GACrD,mBAAmB,CAAC,MAAM,CAAC;IACzB,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sCAAsC,CAAC;CAC9D,CAAC,CAAC,QAAQ,CAAC;;;;;GAKX,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"}
|
|
1
|
+
{"version":3,"file":"access-methods.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/access-methods.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,mBAAmB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC9C,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,mCAAmC,CAAC;IAChD,gBAAgB,EAAE,CAAC;SAChB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,8DAA8D,CAAC;IAC3E,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CACP,4EAA4E,CAC7E;CACJ,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACnE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;IAC7C,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,iFAAiF,CAClF;IACH,cAAc,EAAE,CAAC;SACd,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,4GAA4G,CAC7G;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,0CAA0C,GACrD,mBAAmB,CAAC,MAAM,CAAC;IACzB,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sCAAsC,CAAC;CAC9D,CAAC,CAAC,QAAQ,CAAC;;;;;GAKX,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;IACH,cAAc,EAAE,CAAC;SACd,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,4GAA4G,CAC7G;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"}
|
|
@@ -739,6 +739,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
739
739
|
} & {
|
|
740
740
|
event_type: z.ZodLiteral<"access_method.issued">;
|
|
741
741
|
code: z.ZodOptional<z.ZodString>;
|
|
742
|
+
is_backup_code: z.ZodOptional<z.ZodBoolean>;
|
|
742
743
|
}, "strip", z.ZodTypeAny, {
|
|
743
744
|
workspace_id: string;
|
|
744
745
|
created_at: string;
|
|
@@ -749,6 +750,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
749
750
|
access_grant_ids: string[];
|
|
750
751
|
code?: string | undefined;
|
|
751
752
|
access_grant_keys?: string[] | undefined;
|
|
753
|
+
is_backup_code?: boolean | undefined;
|
|
752
754
|
}, {
|
|
753
755
|
workspace_id: string;
|
|
754
756
|
created_at: string;
|
|
@@ -759,6 +761,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
759
761
|
access_grant_ids: string[];
|
|
760
762
|
code?: string | undefined;
|
|
761
763
|
access_grant_keys?: string[] | undefined;
|
|
764
|
+
is_backup_code?: boolean | undefined;
|
|
762
765
|
}>, z.ZodObject<{
|
|
763
766
|
event_id: z.ZodString;
|
|
764
767
|
workspace_id: z.ZodString;
|
|
@@ -858,6 +861,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
858
861
|
} & {
|
|
859
862
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
860
863
|
code: z.ZodOptional<z.ZodString>;
|
|
864
|
+
is_backup_code: z.ZodOptional<z.ZodBoolean>;
|
|
861
865
|
}, "strip", z.ZodTypeAny, {
|
|
862
866
|
workspace_id: string;
|
|
863
867
|
created_at: string;
|
|
@@ -868,6 +872,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
868
872
|
access_grant_ids: string[];
|
|
869
873
|
code?: string | undefined;
|
|
870
874
|
access_grant_keys?: string[] | undefined;
|
|
875
|
+
is_backup_code?: boolean | undefined;
|
|
871
876
|
}, {
|
|
872
877
|
workspace_id: string;
|
|
873
878
|
created_at: string;
|
|
@@ -878,6 +883,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
878
883
|
access_grant_ids: string[];
|
|
879
884
|
code?: string | undefined;
|
|
880
885
|
access_grant_keys?: string[] | undefined;
|
|
886
|
+
is_backup_code?: boolean | undefined;
|
|
881
887
|
}>, z.ZodObject<{
|
|
882
888
|
event_id: z.ZodString;
|
|
883
889
|
workspace_id: z.ZodString;
|
|
@@ -6993,6 +6993,7 @@ declare const _default: {
|
|
|
6993
6993
|
access_grant_ids?: never;
|
|
6994
6994
|
access_grant_keys?: never;
|
|
6995
6995
|
access_method_id?: never;
|
|
6996
|
+
is_backup_code?: never;
|
|
6996
6997
|
acs_system_id?: never;
|
|
6997
6998
|
acs_credential_id?: never;
|
|
6998
6999
|
acs_user_id?: never;
|
|
@@ -7110,6 +7111,7 @@ declare const _default: {
|
|
|
7110
7111
|
access_grant_ids?: never;
|
|
7111
7112
|
access_grant_keys?: never;
|
|
7112
7113
|
access_method_id?: never;
|
|
7114
|
+
is_backup_code?: never;
|
|
7113
7115
|
acs_system_id?: never;
|
|
7114
7116
|
acs_credential_id?: never;
|
|
7115
7117
|
acs_user_id?: never;
|
|
@@ -7227,6 +7229,7 @@ declare const _default: {
|
|
|
7227
7229
|
access_grant_ids?: never;
|
|
7228
7230
|
access_grant_keys?: never;
|
|
7229
7231
|
access_method_id?: never;
|
|
7232
|
+
is_backup_code?: never;
|
|
7230
7233
|
acs_system_id?: never;
|
|
7231
7234
|
acs_credential_id?: never;
|
|
7232
7235
|
acs_user_id?: never;
|
|
@@ -7342,6 +7345,7 @@ declare const _default: {
|
|
|
7342
7345
|
access_grant_ids?: never;
|
|
7343
7346
|
access_grant_keys?: never;
|
|
7344
7347
|
access_method_id?: never;
|
|
7348
|
+
is_backup_code?: never;
|
|
7345
7349
|
acs_system_id?: never;
|
|
7346
7350
|
acs_credential_id?: never;
|
|
7347
7351
|
acs_user_id?: never;
|
|
@@ -7431,6 +7435,7 @@ declare const _default: {
|
|
|
7431
7435
|
access_grant_ids?: never;
|
|
7432
7436
|
access_grant_keys?: never;
|
|
7433
7437
|
access_method_id?: never;
|
|
7438
|
+
is_backup_code?: never;
|
|
7434
7439
|
acs_system_id?: never;
|
|
7435
7440
|
acs_credential_id?: never;
|
|
7436
7441
|
acs_user_id?: never;
|
|
@@ -7524,6 +7529,7 @@ declare const _default: {
|
|
|
7524
7529
|
access_grant_ids?: never;
|
|
7525
7530
|
access_grant_keys?: never;
|
|
7526
7531
|
access_method_id?: never;
|
|
7532
|
+
is_backup_code?: never;
|
|
7527
7533
|
acs_system_id?: never;
|
|
7528
7534
|
acs_credential_id?: never;
|
|
7529
7535
|
acs_user_id?: never;
|
|
@@ -7612,6 +7618,10 @@ declare const _default: {
|
|
|
7612
7618
|
enum: string[];
|
|
7613
7619
|
type: string;
|
|
7614
7620
|
};
|
|
7621
|
+
is_backup_code: {
|
|
7622
|
+
description: string;
|
|
7623
|
+
type: string;
|
|
7624
|
+
};
|
|
7615
7625
|
occurred_at: {
|
|
7616
7626
|
description: string;
|
|
7617
7627
|
format: string;
|
|
@@ -7732,6 +7742,7 @@ declare const _default: {
|
|
|
7732
7742
|
backup_access_code_id?: never;
|
|
7733
7743
|
access_grant_id?: never;
|
|
7734
7744
|
acs_entrance_id?: never;
|
|
7745
|
+
is_backup_code?: never;
|
|
7735
7746
|
acs_system_id?: never;
|
|
7736
7747
|
acs_credential_id?: never;
|
|
7737
7748
|
acs_user_id?: never;
|
|
@@ -7826,6 +7837,7 @@ declare const _default: {
|
|
|
7826
7837
|
access_grant_ids?: never;
|
|
7827
7838
|
access_grant_keys?: never;
|
|
7828
7839
|
access_method_id?: never;
|
|
7840
|
+
is_backup_code?: never;
|
|
7829
7841
|
acs_credential_id?: never;
|
|
7830
7842
|
acs_user_id?: never;
|
|
7831
7843
|
acs_encoder_id?: never;
|
|
@@ -7924,6 +7936,7 @@ declare const _default: {
|
|
|
7924
7936
|
access_grant_ids?: never;
|
|
7925
7937
|
access_grant_keys?: never;
|
|
7926
7938
|
access_method_id?: never;
|
|
7939
|
+
is_backup_code?: never;
|
|
7927
7940
|
acs_user_id?: never;
|
|
7928
7941
|
acs_encoder_id?: never;
|
|
7929
7942
|
acs_access_group_id?: never;
|
|
@@ -8020,6 +8033,7 @@ declare const _default: {
|
|
|
8020
8033
|
access_grant_ids?: never;
|
|
8021
8034
|
access_grant_keys?: never;
|
|
8022
8035
|
access_method_id?: never;
|
|
8036
|
+
is_backup_code?: never;
|
|
8023
8037
|
acs_credential_id?: never;
|
|
8024
8038
|
acs_encoder_id?: never;
|
|
8025
8039
|
acs_access_group_id?: never;
|
|
@@ -8117,6 +8131,7 @@ declare const _default: {
|
|
|
8117
8131
|
access_grant_ids?: never;
|
|
8118
8132
|
access_grant_keys?: never;
|
|
8119
8133
|
access_method_id?: never;
|
|
8134
|
+
is_backup_code?: never;
|
|
8120
8135
|
acs_credential_id?: never;
|
|
8121
8136
|
acs_user_id?: never;
|
|
8122
8137
|
acs_access_group_id?: never;
|
|
@@ -8214,6 +8229,7 @@ declare const _default: {
|
|
|
8214
8229
|
access_grant_ids?: never;
|
|
8215
8230
|
access_grant_keys?: never;
|
|
8216
8231
|
access_method_id?: never;
|
|
8232
|
+
is_backup_code?: never;
|
|
8217
8233
|
acs_credential_id?: never;
|
|
8218
8234
|
acs_user_id?: never;
|
|
8219
8235
|
acs_encoder_id?: never;
|
|
@@ -8310,6 +8326,7 @@ declare const _default: {
|
|
|
8310
8326
|
access_grant_ids?: never;
|
|
8311
8327
|
access_grant_keys?: never;
|
|
8312
8328
|
access_method_id?: never;
|
|
8329
|
+
is_backup_code?: never;
|
|
8313
8330
|
acs_credential_id?: never;
|
|
8314
8331
|
acs_user_id?: never;
|
|
8315
8332
|
acs_encoder_id?: never;
|
|
@@ -8399,6 +8416,7 @@ declare const _default: {
|
|
|
8399
8416
|
access_grant_ids?: never;
|
|
8400
8417
|
access_grant_keys?: never;
|
|
8401
8418
|
access_method_id?: never;
|
|
8419
|
+
is_backup_code?: never;
|
|
8402
8420
|
acs_system_id?: never;
|
|
8403
8421
|
acs_credential_id?: never;
|
|
8404
8422
|
acs_user_id?: never;
|
|
@@ -8504,6 +8522,7 @@ declare const _default: {
|
|
|
8504
8522
|
access_grant_ids?: never;
|
|
8505
8523
|
access_grant_keys?: never;
|
|
8506
8524
|
access_method_id?: never;
|
|
8525
|
+
is_backup_code?: never;
|
|
8507
8526
|
acs_system_id?: never;
|
|
8508
8527
|
acs_credential_id?: never;
|
|
8509
8528
|
acs_user_id?: never;
|
|
@@ -8604,6 +8623,7 @@ declare const _default: {
|
|
|
8604
8623
|
access_grant_ids?: never;
|
|
8605
8624
|
access_grant_keys?: never;
|
|
8606
8625
|
access_method_id?: never;
|
|
8626
|
+
is_backup_code?: never;
|
|
8607
8627
|
acs_system_id?: never;
|
|
8608
8628
|
acs_credential_id?: never;
|
|
8609
8629
|
acs_user_id?: never;
|
|
@@ -8706,6 +8726,7 @@ declare const _default: {
|
|
|
8706
8726
|
access_grant_ids?: never;
|
|
8707
8727
|
access_grant_keys?: never;
|
|
8708
8728
|
access_method_id?: never;
|
|
8729
|
+
is_backup_code?: never;
|
|
8709
8730
|
acs_system_id?: never;
|
|
8710
8731
|
acs_credential_id?: never;
|
|
8711
8732
|
acs_user_id?: never;
|
|
@@ -8801,6 +8822,7 @@ declare const _default: {
|
|
|
8801
8822
|
access_grant_ids?: never;
|
|
8802
8823
|
access_grant_keys?: never;
|
|
8803
8824
|
access_method_id?: never;
|
|
8825
|
+
is_backup_code?: never;
|
|
8804
8826
|
acs_system_id?: never;
|
|
8805
8827
|
acs_credential_id?: never;
|
|
8806
8828
|
acs_user_id?: never;
|
|
@@ -8899,6 +8921,7 @@ declare const _default: {
|
|
|
8899
8921
|
access_grant_ids?: never;
|
|
8900
8922
|
access_grant_keys?: never;
|
|
8901
8923
|
access_method_id?: never;
|
|
8924
|
+
is_backup_code?: never;
|
|
8902
8925
|
acs_system_id?: never;
|
|
8903
8926
|
acs_credential_id?: never;
|
|
8904
8927
|
acs_user_id?: never;
|
|
@@ -8986,6 +9009,7 @@ declare const _default: {
|
|
|
8986
9009
|
access_grant_ids?: never;
|
|
8987
9010
|
access_grant_keys?: never;
|
|
8988
9011
|
access_method_id?: never;
|
|
9012
|
+
is_backup_code?: never;
|
|
8989
9013
|
acs_system_id?: never;
|
|
8990
9014
|
acs_credential_id?: never;
|
|
8991
9015
|
acs_user_id?: never;
|
|
@@ -9094,6 +9118,7 @@ declare const _default: {
|
|
|
9094
9118
|
access_grant_ids?: never;
|
|
9095
9119
|
access_grant_keys?: never;
|
|
9096
9120
|
access_method_id?: never;
|
|
9121
|
+
is_backup_code?: never;
|
|
9097
9122
|
acs_system_id?: never;
|
|
9098
9123
|
acs_credential_id?: never;
|
|
9099
9124
|
acs_user_id?: never;
|
|
@@ -9208,6 +9233,7 @@ declare const _default: {
|
|
|
9208
9233
|
access_grant_ids?: never;
|
|
9209
9234
|
access_grant_keys?: never;
|
|
9210
9235
|
access_method_id?: never;
|
|
9236
|
+
is_backup_code?: never;
|
|
9211
9237
|
acs_system_id?: never;
|
|
9212
9238
|
acs_credential_id?: never;
|
|
9213
9239
|
acs_user_id?: never;
|
|
@@ -9323,6 +9349,7 @@ declare const _default: {
|
|
|
9323
9349
|
access_grant_ids?: never;
|
|
9324
9350
|
access_grant_keys?: never;
|
|
9325
9351
|
access_method_id?: never;
|
|
9352
|
+
is_backup_code?: never;
|
|
9326
9353
|
acs_system_id?: never;
|
|
9327
9354
|
acs_credential_id?: never;
|
|
9328
9355
|
acs_user_id?: never;
|
|
@@ -9443,6 +9470,7 @@ declare const _default: {
|
|
|
9443
9470
|
access_grant_ids?: never;
|
|
9444
9471
|
access_grant_keys?: never;
|
|
9445
9472
|
access_method_id?: never;
|
|
9473
|
+
is_backup_code?: never;
|
|
9446
9474
|
acs_system_id?: never;
|
|
9447
9475
|
acs_credential_id?: never;
|
|
9448
9476
|
acs_user_id?: never;
|
|
@@ -9579,6 +9607,7 @@ declare const _default: {
|
|
|
9579
9607
|
access_grant_ids?: never;
|
|
9580
9608
|
access_grant_keys?: never;
|
|
9581
9609
|
access_method_id?: never;
|
|
9610
|
+
is_backup_code?: never;
|
|
9582
9611
|
acs_system_id?: never;
|
|
9583
9612
|
acs_credential_id?: never;
|
|
9584
9613
|
acs_user_id?: never;
|
|
@@ -9696,6 +9725,7 @@ declare const _default: {
|
|
|
9696
9725
|
access_grant_ids?: never;
|
|
9697
9726
|
access_grant_keys?: never;
|
|
9698
9727
|
access_method_id?: never;
|
|
9728
|
+
is_backup_code?: never;
|
|
9699
9729
|
acs_system_id?: never;
|
|
9700
9730
|
acs_credential_id?: never;
|
|
9701
9731
|
acs_user_id?: never;
|
|
@@ -9817,6 +9847,7 @@ declare const _default: {
|
|
|
9817
9847
|
access_grant_ids?: never;
|
|
9818
9848
|
access_grant_keys?: never;
|
|
9819
9849
|
access_method_id?: never;
|
|
9850
|
+
is_backup_code?: never;
|
|
9820
9851
|
acs_system_id?: never;
|
|
9821
9852
|
acs_credential_id?: never;
|
|
9822
9853
|
acs_user_id?: never;
|
|
@@ -9958,6 +9989,7 @@ declare const _default: {
|
|
|
9958
9989
|
access_grant_ids?: never;
|
|
9959
9990
|
access_grant_keys?: never;
|
|
9960
9991
|
access_method_id?: never;
|
|
9992
|
+
is_backup_code?: never;
|
|
9961
9993
|
acs_system_id?: never;
|
|
9962
9994
|
acs_credential_id?: never;
|
|
9963
9995
|
acs_user_id?: never;
|
|
@@ -10094,6 +10126,7 @@ declare const _default: {
|
|
|
10094
10126
|
access_grant_ids?: never;
|
|
10095
10127
|
access_grant_keys?: never;
|
|
10096
10128
|
access_method_id?: never;
|
|
10129
|
+
is_backup_code?: never;
|
|
10097
10130
|
acs_system_id?: never;
|
|
10098
10131
|
acs_credential_id?: never;
|
|
10099
10132
|
acs_user_id?: never;
|
|
@@ -10217,6 +10250,7 @@ declare const _default: {
|
|
|
10217
10250
|
access_grant_ids?: never;
|
|
10218
10251
|
access_grant_keys?: never;
|
|
10219
10252
|
access_method_id?: never;
|
|
10253
|
+
is_backup_code?: never;
|
|
10220
10254
|
acs_system_id?: never;
|
|
10221
10255
|
acs_credential_id?: never;
|
|
10222
10256
|
acs_user_id?: never;
|
|
@@ -10332,6 +10366,7 @@ declare const _default: {
|
|
|
10332
10366
|
access_grant_ids?: never;
|
|
10333
10367
|
access_grant_keys?: never;
|
|
10334
10368
|
access_method_id?: never;
|
|
10369
|
+
is_backup_code?: never;
|
|
10335
10370
|
acs_system_id?: never;
|
|
10336
10371
|
acs_credential_id?: never;
|
|
10337
10372
|
acs_user_id?: never;
|
|
@@ -10443,6 +10478,7 @@ declare const _default: {
|
|
|
10443
10478
|
access_grant_ids?: never;
|
|
10444
10479
|
access_grant_keys?: never;
|
|
10445
10480
|
access_method_id?: never;
|
|
10481
|
+
is_backup_code?: never;
|
|
10446
10482
|
acs_system_id?: never;
|
|
10447
10483
|
acs_credential_id?: never;
|
|
10448
10484
|
acs_user_id?: never;
|
|
@@ -10532,6 +10568,7 @@ declare const _default: {
|
|
|
10532
10568
|
access_grant_ids?: never;
|
|
10533
10569
|
access_grant_keys?: never;
|
|
10534
10570
|
access_method_id?: never;
|
|
10571
|
+
is_backup_code?: never;
|
|
10535
10572
|
acs_system_id?: never;
|
|
10536
10573
|
acs_credential_id?: never;
|
|
10537
10574
|
acs_user_id?: never;
|
|
@@ -10628,6 +10665,7 @@ declare const _default: {
|
|
|
10628
10665
|
access_grant_ids?: never;
|
|
10629
10666
|
access_grant_keys?: never;
|
|
10630
10667
|
access_method_id?: never;
|
|
10668
|
+
is_backup_code?: never;
|
|
10631
10669
|
acs_system_id?: never;
|
|
10632
10670
|
acs_credential_id?: never;
|
|
10633
10671
|
acs_user_id?: never;
|
|
@@ -13060,6 +13060,10 @@ export default {
|
|
|
13060
13060
|
type: 'string',
|
|
13061
13061
|
},
|
|
13062
13062
|
event_type: { enum: ['access_method.issued'], type: 'string' },
|
|
13063
|
+
is_backup_code: {
|
|
13064
|
+
description: "Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used).",
|
|
13065
|
+
type: 'boolean',
|
|
13066
|
+
},
|
|
13063
13067
|
occurred_at: {
|
|
13064
13068
|
description: 'Date and time at which the event occurred.',
|
|
13065
13069
|
format: 'date-time',
|
|
@@ -13275,6 +13279,10 @@ export default {
|
|
|
13275
13279
|
type: 'string',
|
|
13276
13280
|
},
|
|
13277
13281
|
event_type: { enum: ['access_method.reissued'], type: 'string' },
|
|
13282
|
+
is_backup_code: {
|
|
13283
|
+
description: "Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used).",
|
|
13284
|
+
type: 'boolean',
|
|
13285
|
+
},
|
|
13278
13286
|
occurred_at: {
|
|
13279
13287
|
description: 'Date and time at which the event occurred.',
|
|
13280
13288
|
format: 'date-time',
|