@seamapi/types 1.522.0 → 1.524.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 +63 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +259 -0
- package/dist/index.cjs +63 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +100 -0
- package/lib/seam/connect/models/customer/customer-delete-data.d.ts +2 -2
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/events/access-methods.d.ts +60 -0
- package/lib/seam/connect/models/events/access-methods.js +7 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +30 -0
- package/lib/seam/connect/openapi.d.ts +79 -0
- package/lib/seam/connect/openapi.js +55 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +100 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
- package/src/lib/seam/connect/models/events/access-methods.ts +9 -0
- package/src/lib/seam/connect/openapi.ts +65 -0
- package/src/lib/seam/connect/route-types.ts +100 -0
|
@@ -6,6 +6,8 @@ export declare const access_method_issued_event: z.ZodObject<{
|
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
7
|
} & {
|
|
8
8
|
access_method_id: z.ZodString;
|
|
9
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
10
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9
11
|
} & {
|
|
10
12
|
event_type: z.ZodLiteral<"access_method.issued">;
|
|
11
13
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -15,6 +17,8 @@ export declare const access_method_issued_event: z.ZodObject<{
|
|
|
15
17
|
event_id: string;
|
|
16
18
|
occurred_at: string;
|
|
17
19
|
event_type: "access_method.issued";
|
|
20
|
+
access_grant_ids: string[];
|
|
21
|
+
access_grant_keys?: string[] | undefined;
|
|
18
22
|
}, {
|
|
19
23
|
workspace_id: string;
|
|
20
24
|
created_at: string;
|
|
@@ -22,6 +26,8 @@ export declare const access_method_issued_event: z.ZodObject<{
|
|
|
22
26
|
event_id: string;
|
|
23
27
|
occurred_at: string;
|
|
24
28
|
event_type: "access_method.issued";
|
|
29
|
+
access_grant_ids: string[];
|
|
30
|
+
access_grant_keys?: string[] | undefined;
|
|
25
31
|
}>;
|
|
26
32
|
export type AccessMethodIssuedEvent = z.infer<typeof access_method_issued_event>;
|
|
27
33
|
export declare const access_method_card_encoding_required_event: z.ZodObject<{
|
|
@@ -31,6 +37,8 @@ export declare const access_method_card_encoding_required_event: z.ZodObject<{
|
|
|
31
37
|
occurred_at: z.ZodString;
|
|
32
38
|
} & {
|
|
33
39
|
access_method_id: z.ZodString;
|
|
40
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
41
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
34
42
|
} & {
|
|
35
43
|
event_type: z.ZodLiteral<"access_method.card_encoding_required">;
|
|
36
44
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -40,6 +48,8 @@ export declare const access_method_card_encoding_required_event: z.ZodObject<{
|
|
|
40
48
|
event_id: string;
|
|
41
49
|
occurred_at: string;
|
|
42
50
|
event_type: "access_method.card_encoding_required";
|
|
51
|
+
access_grant_ids: string[];
|
|
52
|
+
access_grant_keys?: string[] | undefined;
|
|
43
53
|
}, {
|
|
44
54
|
workspace_id: string;
|
|
45
55
|
created_at: string;
|
|
@@ -47,6 +57,8 @@ export declare const access_method_card_encoding_required_event: z.ZodObject<{
|
|
|
47
57
|
event_id: string;
|
|
48
58
|
occurred_at: string;
|
|
49
59
|
event_type: "access_method.card_encoding_required";
|
|
60
|
+
access_grant_ids: string[];
|
|
61
|
+
access_grant_keys?: string[] | undefined;
|
|
50
62
|
}>;
|
|
51
63
|
export type AccessMethodCardEncodingRequiredEvent = z.infer<typeof access_method_card_encoding_required_event>;
|
|
52
64
|
export declare const access_method_revoked_event: z.ZodObject<{
|
|
@@ -56,6 +68,8 @@ export declare const access_method_revoked_event: z.ZodObject<{
|
|
|
56
68
|
occurred_at: z.ZodString;
|
|
57
69
|
} & {
|
|
58
70
|
access_method_id: z.ZodString;
|
|
71
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
72
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
59
73
|
} & {
|
|
60
74
|
event_type: z.ZodLiteral<"access_method.revoked">;
|
|
61
75
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -65,6 +79,8 @@ export declare const access_method_revoked_event: z.ZodObject<{
|
|
|
65
79
|
event_id: string;
|
|
66
80
|
occurred_at: string;
|
|
67
81
|
event_type: "access_method.revoked";
|
|
82
|
+
access_grant_ids: string[];
|
|
83
|
+
access_grant_keys?: string[] | undefined;
|
|
68
84
|
}, {
|
|
69
85
|
workspace_id: string;
|
|
70
86
|
created_at: string;
|
|
@@ -72,6 +88,8 @@ export declare const access_method_revoked_event: z.ZodObject<{
|
|
|
72
88
|
event_id: string;
|
|
73
89
|
occurred_at: string;
|
|
74
90
|
event_type: "access_method.revoked";
|
|
91
|
+
access_grant_ids: string[];
|
|
92
|
+
access_grant_keys?: string[] | undefined;
|
|
75
93
|
}>;
|
|
76
94
|
export declare const access_method_deleted_event: z.ZodObject<{
|
|
77
95
|
event_id: z.ZodString;
|
|
@@ -80,6 +98,8 @@ export declare const access_method_deleted_event: z.ZodObject<{
|
|
|
80
98
|
occurred_at: z.ZodString;
|
|
81
99
|
} & {
|
|
82
100
|
access_method_id: z.ZodString;
|
|
101
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
102
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
83
103
|
} & {
|
|
84
104
|
event_type: z.ZodLiteral<"access_method.deleted">;
|
|
85
105
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -89,6 +109,8 @@ export declare const access_method_deleted_event: z.ZodObject<{
|
|
|
89
109
|
event_id: string;
|
|
90
110
|
occurred_at: string;
|
|
91
111
|
event_type: "access_method.deleted";
|
|
112
|
+
access_grant_ids: string[];
|
|
113
|
+
access_grant_keys?: string[] | undefined;
|
|
92
114
|
}, {
|
|
93
115
|
workspace_id: string;
|
|
94
116
|
created_at: string;
|
|
@@ -96,6 +118,8 @@ export declare const access_method_deleted_event: z.ZodObject<{
|
|
|
96
118
|
event_id: string;
|
|
97
119
|
occurred_at: string;
|
|
98
120
|
event_type: "access_method.deleted";
|
|
121
|
+
access_grant_ids: string[];
|
|
122
|
+
access_grant_keys?: string[] | undefined;
|
|
99
123
|
}>;
|
|
100
124
|
export declare const access_method_reissued_event: z.ZodObject<{
|
|
101
125
|
event_id: z.ZodString;
|
|
@@ -104,6 +128,8 @@ export declare const access_method_reissued_event: z.ZodObject<{
|
|
|
104
128
|
occurred_at: z.ZodString;
|
|
105
129
|
} & {
|
|
106
130
|
access_method_id: z.ZodString;
|
|
131
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
132
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
107
133
|
} & {
|
|
108
134
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
109
135
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -113,6 +139,8 @@ export declare const access_method_reissued_event: z.ZodObject<{
|
|
|
113
139
|
event_id: string;
|
|
114
140
|
occurred_at: string;
|
|
115
141
|
event_type: "access_method.reissued";
|
|
142
|
+
access_grant_ids: string[];
|
|
143
|
+
access_grant_keys?: string[] | undefined;
|
|
116
144
|
}, {
|
|
117
145
|
workspace_id: string;
|
|
118
146
|
created_at: string;
|
|
@@ -120,6 +148,8 @@ export declare const access_method_reissued_event: z.ZodObject<{
|
|
|
120
148
|
event_id: string;
|
|
121
149
|
occurred_at: string;
|
|
122
150
|
event_type: "access_method.reissued";
|
|
151
|
+
access_grant_ids: string[];
|
|
152
|
+
access_grant_keys?: string[] | undefined;
|
|
123
153
|
}>;
|
|
124
154
|
export type AccessMethodRevokedEvent = z.infer<typeof access_method_revoked_event>;
|
|
125
155
|
export declare const access_method_events: readonly [z.ZodObject<{
|
|
@@ -129,6 +159,8 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
129
159
|
occurred_at: z.ZodString;
|
|
130
160
|
} & {
|
|
131
161
|
access_method_id: z.ZodString;
|
|
162
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
163
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
132
164
|
} & {
|
|
133
165
|
event_type: z.ZodLiteral<"access_method.issued">;
|
|
134
166
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -138,6 +170,8 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
138
170
|
event_id: string;
|
|
139
171
|
occurred_at: string;
|
|
140
172
|
event_type: "access_method.issued";
|
|
173
|
+
access_grant_ids: string[];
|
|
174
|
+
access_grant_keys?: string[] | undefined;
|
|
141
175
|
}, {
|
|
142
176
|
workspace_id: string;
|
|
143
177
|
created_at: string;
|
|
@@ -145,6 +179,8 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
145
179
|
event_id: string;
|
|
146
180
|
occurred_at: string;
|
|
147
181
|
event_type: "access_method.issued";
|
|
182
|
+
access_grant_ids: string[];
|
|
183
|
+
access_grant_keys?: string[] | undefined;
|
|
148
184
|
}>, z.ZodObject<{
|
|
149
185
|
event_id: z.ZodString;
|
|
150
186
|
workspace_id: z.ZodString;
|
|
@@ -152,6 +188,8 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
152
188
|
occurred_at: z.ZodString;
|
|
153
189
|
} & {
|
|
154
190
|
access_method_id: z.ZodString;
|
|
191
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
192
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
155
193
|
} & {
|
|
156
194
|
event_type: z.ZodLiteral<"access_method.revoked">;
|
|
157
195
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -161,6 +199,8 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
161
199
|
event_id: string;
|
|
162
200
|
occurred_at: string;
|
|
163
201
|
event_type: "access_method.revoked";
|
|
202
|
+
access_grant_ids: string[];
|
|
203
|
+
access_grant_keys?: string[] | undefined;
|
|
164
204
|
}, {
|
|
165
205
|
workspace_id: string;
|
|
166
206
|
created_at: string;
|
|
@@ -168,6 +208,8 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
168
208
|
event_id: string;
|
|
169
209
|
occurred_at: string;
|
|
170
210
|
event_type: "access_method.revoked";
|
|
211
|
+
access_grant_ids: string[];
|
|
212
|
+
access_grant_keys?: string[] | undefined;
|
|
171
213
|
}>, z.ZodObject<{
|
|
172
214
|
event_id: z.ZodString;
|
|
173
215
|
workspace_id: z.ZodString;
|
|
@@ -175,6 +217,8 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
175
217
|
occurred_at: z.ZodString;
|
|
176
218
|
} & {
|
|
177
219
|
access_method_id: z.ZodString;
|
|
220
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
221
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
178
222
|
} & {
|
|
179
223
|
event_type: z.ZodLiteral<"access_method.card_encoding_required">;
|
|
180
224
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -184,6 +228,8 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
184
228
|
event_id: string;
|
|
185
229
|
occurred_at: string;
|
|
186
230
|
event_type: "access_method.card_encoding_required";
|
|
231
|
+
access_grant_ids: string[];
|
|
232
|
+
access_grant_keys?: string[] | undefined;
|
|
187
233
|
}, {
|
|
188
234
|
workspace_id: string;
|
|
189
235
|
created_at: string;
|
|
@@ -191,6 +237,8 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
191
237
|
event_id: string;
|
|
192
238
|
occurred_at: string;
|
|
193
239
|
event_type: "access_method.card_encoding_required";
|
|
240
|
+
access_grant_ids: string[];
|
|
241
|
+
access_grant_keys?: string[] | undefined;
|
|
194
242
|
}>, z.ZodObject<{
|
|
195
243
|
event_id: z.ZodString;
|
|
196
244
|
workspace_id: z.ZodString;
|
|
@@ -198,6 +246,8 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
198
246
|
occurred_at: z.ZodString;
|
|
199
247
|
} & {
|
|
200
248
|
access_method_id: z.ZodString;
|
|
249
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
250
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
201
251
|
} & {
|
|
202
252
|
event_type: z.ZodLiteral<"access_method.deleted">;
|
|
203
253
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -207,6 +257,8 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
207
257
|
event_id: string;
|
|
208
258
|
occurred_at: string;
|
|
209
259
|
event_type: "access_method.deleted";
|
|
260
|
+
access_grant_ids: string[];
|
|
261
|
+
access_grant_keys?: string[] | undefined;
|
|
210
262
|
}, {
|
|
211
263
|
workspace_id: string;
|
|
212
264
|
created_at: string;
|
|
@@ -214,6 +266,8 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
214
266
|
event_id: string;
|
|
215
267
|
occurred_at: string;
|
|
216
268
|
event_type: "access_method.deleted";
|
|
269
|
+
access_grant_ids: string[];
|
|
270
|
+
access_grant_keys?: string[] | undefined;
|
|
217
271
|
}>, z.ZodObject<{
|
|
218
272
|
event_id: z.ZodString;
|
|
219
273
|
workspace_id: z.ZodString;
|
|
@@ -221,6 +275,8 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
221
275
|
occurred_at: z.ZodString;
|
|
222
276
|
} & {
|
|
223
277
|
access_method_id: z.ZodString;
|
|
278
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
279
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
224
280
|
} & {
|
|
225
281
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
226
282
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -230,6 +286,8 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
230
286
|
event_id: string;
|
|
231
287
|
occurred_at: string;
|
|
232
288
|
event_type: "access_method.reissued";
|
|
289
|
+
access_grant_ids: string[];
|
|
290
|
+
access_grant_keys?: string[] | undefined;
|
|
233
291
|
}, {
|
|
234
292
|
workspace_id: string;
|
|
235
293
|
created_at: string;
|
|
@@ -237,4 +295,6 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
237
295
|
event_id: string;
|
|
238
296
|
occurred_at: string;
|
|
239
297
|
event_type: "access_method.reissued";
|
|
298
|
+
access_grant_ids: string[];
|
|
299
|
+
access_grant_keys?: string[] | undefined;
|
|
240
300
|
}>];
|
|
@@ -5,6 +5,13 @@ const access_method_event = common_event.extend({
|
|
|
5
5
|
.string()
|
|
6
6
|
.uuid()
|
|
7
7
|
.describe('ID of the affected access method.'),
|
|
8
|
+
access_grant_ids: z
|
|
9
|
+
.array(z.string().uuid())
|
|
10
|
+
.describe('IDs of the access grants associated with this access method.'),
|
|
11
|
+
access_grant_keys: z
|
|
12
|
+
.array(z.string())
|
|
13
|
+
.optional()
|
|
14
|
+
.describe('Keys of the access grants associated with this access method (if present).'),
|
|
8
15
|
});
|
|
9
16
|
export const access_method_issued_event = access_method_event.extend({
|
|
10
17
|
event_type: z.literal('access_method.issued'),
|
|
@@ -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;
|
|
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;CAC9C,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;CAChD,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"}
|
|
@@ -734,6 +734,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
734
734
|
occurred_at: z.ZodString;
|
|
735
735
|
} & {
|
|
736
736
|
access_method_id: z.ZodString;
|
|
737
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
738
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
737
739
|
} & {
|
|
738
740
|
event_type: z.ZodLiteral<"access_method.issued">;
|
|
739
741
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -743,6 +745,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
743
745
|
event_id: string;
|
|
744
746
|
occurred_at: string;
|
|
745
747
|
event_type: "access_method.issued";
|
|
748
|
+
access_grant_ids: string[];
|
|
749
|
+
access_grant_keys?: string[] | undefined;
|
|
746
750
|
}, {
|
|
747
751
|
workspace_id: string;
|
|
748
752
|
created_at: string;
|
|
@@ -750,6 +754,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
750
754
|
event_id: string;
|
|
751
755
|
occurred_at: string;
|
|
752
756
|
event_type: "access_method.issued";
|
|
757
|
+
access_grant_ids: string[];
|
|
758
|
+
access_grant_keys?: string[] | undefined;
|
|
753
759
|
}>, z.ZodObject<{
|
|
754
760
|
event_id: z.ZodString;
|
|
755
761
|
workspace_id: z.ZodString;
|
|
@@ -757,6 +763,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
757
763
|
occurred_at: z.ZodString;
|
|
758
764
|
} & {
|
|
759
765
|
access_method_id: z.ZodString;
|
|
766
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
767
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
760
768
|
} & {
|
|
761
769
|
event_type: z.ZodLiteral<"access_method.revoked">;
|
|
762
770
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -766,6 +774,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
766
774
|
event_id: string;
|
|
767
775
|
occurred_at: string;
|
|
768
776
|
event_type: "access_method.revoked";
|
|
777
|
+
access_grant_ids: string[];
|
|
778
|
+
access_grant_keys?: string[] | undefined;
|
|
769
779
|
}, {
|
|
770
780
|
workspace_id: string;
|
|
771
781
|
created_at: string;
|
|
@@ -773,6 +783,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
773
783
|
event_id: string;
|
|
774
784
|
occurred_at: string;
|
|
775
785
|
event_type: "access_method.revoked";
|
|
786
|
+
access_grant_ids: string[];
|
|
787
|
+
access_grant_keys?: string[] | undefined;
|
|
776
788
|
}>, z.ZodObject<{
|
|
777
789
|
event_id: z.ZodString;
|
|
778
790
|
workspace_id: z.ZodString;
|
|
@@ -780,6 +792,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
780
792
|
occurred_at: z.ZodString;
|
|
781
793
|
} & {
|
|
782
794
|
access_method_id: z.ZodString;
|
|
795
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
796
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
783
797
|
} & {
|
|
784
798
|
event_type: z.ZodLiteral<"access_method.card_encoding_required">;
|
|
785
799
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -789,6 +803,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
789
803
|
event_id: string;
|
|
790
804
|
occurred_at: string;
|
|
791
805
|
event_type: "access_method.card_encoding_required";
|
|
806
|
+
access_grant_ids: string[];
|
|
807
|
+
access_grant_keys?: string[] | undefined;
|
|
792
808
|
}, {
|
|
793
809
|
workspace_id: string;
|
|
794
810
|
created_at: string;
|
|
@@ -796,6 +812,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
796
812
|
event_id: string;
|
|
797
813
|
occurred_at: string;
|
|
798
814
|
event_type: "access_method.card_encoding_required";
|
|
815
|
+
access_grant_ids: string[];
|
|
816
|
+
access_grant_keys?: string[] | undefined;
|
|
799
817
|
}>, z.ZodObject<{
|
|
800
818
|
event_id: z.ZodString;
|
|
801
819
|
workspace_id: z.ZodString;
|
|
@@ -803,6 +821,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
803
821
|
occurred_at: z.ZodString;
|
|
804
822
|
} & {
|
|
805
823
|
access_method_id: z.ZodString;
|
|
824
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
825
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
806
826
|
} & {
|
|
807
827
|
event_type: z.ZodLiteral<"access_method.deleted">;
|
|
808
828
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -812,6 +832,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
812
832
|
event_id: string;
|
|
813
833
|
occurred_at: string;
|
|
814
834
|
event_type: "access_method.deleted";
|
|
835
|
+
access_grant_ids: string[];
|
|
836
|
+
access_grant_keys?: string[] | undefined;
|
|
815
837
|
}, {
|
|
816
838
|
workspace_id: string;
|
|
817
839
|
created_at: string;
|
|
@@ -819,6 +841,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
819
841
|
event_id: string;
|
|
820
842
|
occurred_at: string;
|
|
821
843
|
event_type: "access_method.deleted";
|
|
844
|
+
access_grant_ids: string[];
|
|
845
|
+
access_grant_keys?: string[] | undefined;
|
|
822
846
|
}>, z.ZodObject<{
|
|
823
847
|
event_id: z.ZodString;
|
|
824
848
|
workspace_id: z.ZodString;
|
|
@@ -826,6 +850,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
826
850
|
occurred_at: z.ZodString;
|
|
827
851
|
} & {
|
|
828
852
|
access_method_id: z.ZodString;
|
|
853
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
854
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
829
855
|
} & {
|
|
830
856
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
831
857
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -835,6 +861,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
835
861
|
event_id: string;
|
|
836
862
|
occurred_at: string;
|
|
837
863
|
event_type: "access_method.reissued";
|
|
864
|
+
access_grant_ids: string[];
|
|
865
|
+
access_grant_keys?: string[] | undefined;
|
|
838
866
|
}, {
|
|
839
867
|
workspace_id: string;
|
|
840
868
|
created_at: string;
|
|
@@ -842,6 +870,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
842
870
|
event_id: string;
|
|
843
871
|
occurred_at: string;
|
|
844
872
|
event_type: "access_method.reissued";
|
|
873
|
+
access_grant_ids: string[];
|
|
874
|
+
access_grant_keys?: string[] | undefined;
|
|
845
875
|
}>, z.ZodObject<{
|
|
846
876
|
event_id: z.ZodString;
|
|
847
877
|
workspace_id: z.ZodString;
|