@seamapi/types 1.946.0 → 1.948.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 +441 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1201 -24
- package/dist/index.cjs +441 -10
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +16 -16
- package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -5
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -5
- package/lib/seam/connect/models/events/access-codes.d.ts +126 -0
- package/lib/seam/connect/models/events/access-grants.d.ts +42 -0
- package/lib/seam/connect/models/events/access-methods.d.ts +36 -0
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +6 -0
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -0
- package/lib/seam/connect/models/events/acs/credentials.d.ts +24 -0
- package/lib/seam/connect/models/events/acs/encoders.d.ts +12 -0
- package/lib/seam/connect/models/events/acs/entrances.d.ts +12 -0
- package/lib/seam/connect/models/events/acs/index.d.ts +42 -0
- package/lib/seam/connect/models/events/acs/systems.d.ts +18 -0
- package/lib/seam/connect/models/events/acs/users.d.ts +12 -0
- package/lib/seam/connect/models/events/action-attempts.d.ts +48 -0
- package/lib/seam/connect/models/events/client-sessions.d.ts +6 -0
- package/lib/seam/connect/models/events/common.d.ts +3 -0
- package/lib/seam/connect/models/events/common.js +4 -0
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/connect-webviews.d.ts +12 -0
- package/lib/seam/connect/models/events/connected-accounts.d.ts +48 -0
- package/lib/seam/connect/models/events/devices.d.ts +210 -0
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +6 -0
- package/lib/seam/connect/models/events/phones.d.ts +6 -0
- package/lib/seam/connect/models/events/seam-event.d.ts +321 -0
- package/lib/seam/connect/models/events/spaces.d.ts +18 -0
- package/lib/seam/connect/openapi.js +432 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +867 -11
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +12 -13
- package/src/lib/seam/connect/models/events/common.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +539 -4
- package/src/lib/seam/connect/route-types.ts +867 -11
|
@@ -4,6 +4,7 @@ export declare const access_grant_created_event: z.ZodObject<{
|
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
7
8
|
} & {
|
|
8
9
|
access_grant_id: z.ZodString;
|
|
9
10
|
} & {
|
|
@@ -15,6 +16,7 @@ export declare const access_grant_created_event: z.ZodObject<{
|
|
|
15
16
|
event_id: string;
|
|
16
17
|
occurred_at: string;
|
|
17
18
|
event_type: "access_grant.created";
|
|
19
|
+
event_description?: string | undefined;
|
|
18
20
|
}, {
|
|
19
21
|
workspace_id: string;
|
|
20
22
|
created_at: string;
|
|
@@ -22,12 +24,14 @@ export declare const access_grant_created_event: z.ZodObject<{
|
|
|
22
24
|
event_id: string;
|
|
23
25
|
occurred_at: string;
|
|
24
26
|
event_type: "access_grant.created";
|
|
27
|
+
event_description?: string | undefined;
|
|
25
28
|
}>;
|
|
26
29
|
export declare const access_grant_deleted_event: z.ZodObject<{
|
|
27
30
|
event_id: z.ZodString;
|
|
28
31
|
workspace_id: z.ZodString;
|
|
29
32
|
created_at: z.ZodString;
|
|
30
33
|
occurred_at: z.ZodString;
|
|
34
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
31
35
|
} & {
|
|
32
36
|
access_grant_id: z.ZodString;
|
|
33
37
|
} & {
|
|
@@ -39,6 +43,7 @@ export declare const access_grant_deleted_event: z.ZodObject<{
|
|
|
39
43
|
event_id: string;
|
|
40
44
|
occurred_at: string;
|
|
41
45
|
event_type: "access_grant.deleted";
|
|
46
|
+
event_description?: string | undefined;
|
|
42
47
|
}, {
|
|
43
48
|
workspace_id: string;
|
|
44
49
|
created_at: string;
|
|
@@ -46,12 +51,14 @@ export declare const access_grant_deleted_event: z.ZodObject<{
|
|
|
46
51
|
event_id: string;
|
|
47
52
|
occurred_at: string;
|
|
48
53
|
event_type: "access_grant.deleted";
|
|
54
|
+
event_description?: string | undefined;
|
|
49
55
|
}>;
|
|
50
56
|
export declare const access_grant_access_granted_to_all_doors_event: z.ZodObject<{
|
|
51
57
|
event_id: z.ZodString;
|
|
52
58
|
workspace_id: z.ZodString;
|
|
53
59
|
created_at: z.ZodString;
|
|
54
60
|
occurred_at: z.ZodString;
|
|
61
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
55
62
|
} & {
|
|
56
63
|
access_grant_id: z.ZodString;
|
|
57
64
|
} & {
|
|
@@ -63,6 +70,7 @@ export declare const access_grant_access_granted_to_all_doors_event: z.ZodObject
|
|
|
63
70
|
event_id: string;
|
|
64
71
|
occurred_at: string;
|
|
65
72
|
event_type: "access_grant.access_granted_to_all_doors";
|
|
73
|
+
event_description?: string | undefined;
|
|
66
74
|
}, {
|
|
67
75
|
workspace_id: string;
|
|
68
76
|
created_at: string;
|
|
@@ -70,6 +78,7 @@ export declare const access_grant_access_granted_to_all_doors_event: z.ZodObject
|
|
|
70
78
|
event_id: string;
|
|
71
79
|
occurred_at: string;
|
|
72
80
|
event_type: "access_grant.access_granted_to_all_doors";
|
|
81
|
+
event_description?: string | undefined;
|
|
73
82
|
}>;
|
|
74
83
|
export type AccessGrantAccessGrantedToAllDoorsEvent = z.infer<typeof access_grant_access_granted_to_all_doors_event>;
|
|
75
84
|
export declare const access_grant_access_granted_to_door_event: z.ZodObject<{
|
|
@@ -77,6 +86,7 @@ export declare const access_grant_access_granted_to_door_event: z.ZodObject<{
|
|
|
77
86
|
workspace_id: z.ZodString;
|
|
78
87
|
created_at: z.ZodString;
|
|
79
88
|
occurred_at: z.ZodString;
|
|
89
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
80
90
|
} & {
|
|
81
91
|
access_grant_id: z.ZodString;
|
|
82
92
|
} & {
|
|
@@ -90,6 +100,7 @@ export declare const access_grant_access_granted_to_door_event: z.ZodObject<{
|
|
|
90
100
|
event_id: string;
|
|
91
101
|
occurred_at: string;
|
|
92
102
|
event_type: "access_grant.access_granted_to_door";
|
|
103
|
+
event_description?: string | undefined;
|
|
93
104
|
}, {
|
|
94
105
|
workspace_id: string;
|
|
95
106
|
created_at: string;
|
|
@@ -98,6 +109,7 @@ export declare const access_grant_access_granted_to_door_event: z.ZodObject<{
|
|
|
98
109
|
event_id: string;
|
|
99
110
|
occurred_at: string;
|
|
100
111
|
event_type: "access_grant.access_granted_to_door";
|
|
112
|
+
event_description?: string | undefined;
|
|
101
113
|
}>;
|
|
102
114
|
export type AccessGrantAccessGrantedToDoorEvent = z.infer<typeof access_grant_access_granted_to_door_event>;
|
|
103
115
|
export declare const access_grant_access_to_door_lost_event: z.ZodObject<{
|
|
@@ -105,6 +117,7 @@ export declare const access_grant_access_to_door_lost_event: z.ZodObject<{
|
|
|
105
117
|
workspace_id: z.ZodString;
|
|
106
118
|
created_at: z.ZodString;
|
|
107
119
|
occurred_at: z.ZodString;
|
|
120
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
108
121
|
} & {
|
|
109
122
|
access_grant_id: z.ZodString;
|
|
110
123
|
} & {
|
|
@@ -118,6 +131,7 @@ export declare const access_grant_access_to_door_lost_event: z.ZodObject<{
|
|
|
118
131
|
event_id: string;
|
|
119
132
|
occurred_at: string;
|
|
120
133
|
event_type: "access_grant.access_to_door_lost";
|
|
134
|
+
event_description?: string | undefined;
|
|
121
135
|
}, {
|
|
122
136
|
workspace_id: string;
|
|
123
137
|
created_at: string;
|
|
@@ -126,6 +140,7 @@ export declare const access_grant_access_to_door_lost_event: z.ZodObject<{
|
|
|
126
140
|
event_id: string;
|
|
127
141
|
occurred_at: string;
|
|
128
142
|
event_type: "access_grant.access_to_door_lost";
|
|
143
|
+
event_description?: string | undefined;
|
|
129
144
|
}>;
|
|
130
145
|
export type AccessGrantAccessToDoorLostEvent = z.infer<typeof access_grant_access_to_door_lost_event>;
|
|
131
146
|
export declare const access_grant_access_times_changed_event: z.ZodObject<{
|
|
@@ -133,6 +148,7 @@ export declare const access_grant_access_times_changed_event: z.ZodObject<{
|
|
|
133
148
|
workspace_id: z.ZodString;
|
|
134
149
|
created_at: z.ZodString;
|
|
135
150
|
occurred_at: z.ZodString;
|
|
151
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
136
152
|
} & {
|
|
137
153
|
access_grant_id: z.ZodString;
|
|
138
154
|
} & {
|
|
@@ -150,6 +166,7 @@ export declare const access_grant_access_times_changed_event: z.ZodObject<{
|
|
|
150
166
|
starts_at?: string | undefined;
|
|
151
167
|
ends_at?: string | undefined;
|
|
152
168
|
access_grant_key?: string | undefined;
|
|
169
|
+
event_description?: string | undefined;
|
|
153
170
|
}, {
|
|
154
171
|
workspace_id: string;
|
|
155
172
|
created_at: string;
|
|
@@ -160,6 +177,7 @@ export declare const access_grant_access_times_changed_event: z.ZodObject<{
|
|
|
160
177
|
starts_at?: string | undefined;
|
|
161
178
|
ends_at?: string | undefined;
|
|
162
179
|
access_grant_key?: string | undefined;
|
|
180
|
+
event_description?: string | undefined;
|
|
163
181
|
}>;
|
|
164
182
|
export type AccessGrantAccessTimesChangedEvent = z.infer<typeof access_grant_access_times_changed_event>;
|
|
165
183
|
export declare const access_grant_could_not_create_requested_access_methods_event: z.ZodObject<{
|
|
@@ -167,6 +185,7 @@ export declare const access_grant_could_not_create_requested_access_methods_even
|
|
|
167
185
|
workspace_id: z.ZodString;
|
|
168
186
|
created_at: z.ZodString;
|
|
169
187
|
occurred_at: z.ZodString;
|
|
188
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
170
189
|
} & {
|
|
171
190
|
access_grant_id: z.ZodString;
|
|
172
191
|
} & {
|
|
@@ -182,6 +201,7 @@ export declare const access_grant_could_not_create_requested_access_methods_even
|
|
|
182
201
|
event_type: "access_grant.could_not_create_requested_access_methods";
|
|
183
202
|
error_message: string;
|
|
184
203
|
missing_device_ids?: string[] | undefined;
|
|
204
|
+
event_description?: string | undefined;
|
|
185
205
|
}, {
|
|
186
206
|
workspace_id: string;
|
|
187
207
|
created_at: string;
|
|
@@ -191,6 +211,7 @@ export declare const access_grant_could_not_create_requested_access_methods_even
|
|
|
191
211
|
event_type: "access_grant.could_not_create_requested_access_methods";
|
|
192
212
|
error_message: string;
|
|
193
213
|
missing_device_ids?: string[] | undefined;
|
|
214
|
+
event_description?: string | undefined;
|
|
194
215
|
}>;
|
|
195
216
|
export type AccessGrantCouldNotCreateRequestedAccessMethodsEvent = z.infer<typeof access_grant_could_not_create_requested_access_methods_event>;
|
|
196
217
|
export declare const access_grant_events: readonly [z.ZodObject<{
|
|
@@ -198,6 +219,7 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
198
219
|
workspace_id: z.ZodString;
|
|
199
220
|
created_at: z.ZodString;
|
|
200
221
|
occurred_at: z.ZodString;
|
|
222
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
201
223
|
} & {
|
|
202
224
|
access_grant_id: z.ZodString;
|
|
203
225
|
} & {
|
|
@@ -209,6 +231,7 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
209
231
|
event_id: string;
|
|
210
232
|
occurred_at: string;
|
|
211
233
|
event_type: "access_grant.created";
|
|
234
|
+
event_description?: string | undefined;
|
|
212
235
|
}, {
|
|
213
236
|
workspace_id: string;
|
|
214
237
|
created_at: string;
|
|
@@ -216,11 +239,13 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
216
239
|
event_id: string;
|
|
217
240
|
occurred_at: string;
|
|
218
241
|
event_type: "access_grant.created";
|
|
242
|
+
event_description?: string | undefined;
|
|
219
243
|
}>, z.ZodObject<{
|
|
220
244
|
event_id: z.ZodString;
|
|
221
245
|
workspace_id: z.ZodString;
|
|
222
246
|
created_at: z.ZodString;
|
|
223
247
|
occurred_at: z.ZodString;
|
|
248
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
224
249
|
} & {
|
|
225
250
|
access_grant_id: z.ZodString;
|
|
226
251
|
} & {
|
|
@@ -232,6 +257,7 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
232
257
|
event_id: string;
|
|
233
258
|
occurred_at: string;
|
|
234
259
|
event_type: "access_grant.deleted";
|
|
260
|
+
event_description?: string | undefined;
|
|
235
261
|
}, {
|
|
236
262
|
workspace_id: string;
|
|
237
263
|
created_at: string;
|
|
@@ -239,11 +265,13 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
239
265
|
event_id: string;
|
|
240
266
|
occurred_at: string;
|
|
241
267
|
event_type: "access_grant.deleted";
|
|
268
|
+
event_description?: string | undefined;
|
|
242
269
|
}>, z.ZodObject<{
|
|
243
270
|
event_id: z.ZodString;
|
|
244
271
|
workspace_id: z.ZodString;
|
|
245
272
|
created_at: z.ZodString;
|
|
246
273
|
occurred_at: z.ZodString;
|
|
274
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
247
275
|
} & {
|
|
248
276
|
access_grant_id: z.ZodString;
|
|
249
277
|
} & {
|
|
@@ -255,6 +283,7 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
255
283
|
event_id: string;
|
|
256
284
|
occurred_at: string;
|
|
257
285
|
event_type: "access_grant.access_granted_to_all_doors";
|
|
286
|
+
event_description?: string | undefined;
|
|
258
287
|
}, {
|
|
259
288
|
workspace_id: string;
|
|
260
289
|
created_at: string;
|
|
@@ -262,11 +291,13 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
262
291
|
event_id: string;
|
|
263
292
|
occurred_at: string;
|
|
264
293
|
event_type: "access_grant.access_granted_to_all_doors";
|
|
294
|
+
event_description?: string | undefined;
|
|
265
295
|
}>, z.ZodObject<{
|
|
266
296
|
event_id: z.ZodString;
|
|
267
297
|
workspace_id: z.ZodString;
|
|
268
298
|
created_at: z.ZodString;
|
|
269
299
|
occurred_at: z.ZodString;
|
|
300
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
270
301
|
} & {
|
|
271
302
|
access_grant_id: z.ZodString;
|
|
272
303
|
} & {
|
|
@@ -280,6 +311,7 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
280
311
|
event_id: string;
|
|
281
312
|
occurred_at: string;
|
|
282
313
|
event_type: "access_grant.access_granted_to_door";
|
|
314
|
+
event_description?: string | undefined;
|
|
283
315
|
}, {
|
|
284
316
|
workspace_id: string;
|
|
285
317
|
created_at: string;
|
|
@@ -288,11 +320,13 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
288
320
|
event_id: string;
|
|
289
321
|
occurred_at: string;
|
|
290
322
|
event_type: "access_grant.access_granted_to_door";
|
|
323
|
+
event_description?: string | undefined;
|
|
291
324
|
}>, z.ZodObject<{
|
|
292
325
|
event_id: z.ZodString;
|
|
293
326
|
workspace_id: z.ZodString;
|
|
294
327
|
created_at: z.ZodString;
|
|
295
328
|
occurred_at: z.ZodString;
|
|
329
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
296
330
|
} & {
|
|
297
331
|
access_grant_id: z.ZodString;
|
|
298
332
|
} & {
|
|
@@ -306,6 +340,7 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
306
340
|
event_id: string;
|
|
307
341
|
occurred_at: string;
|
|
308
342
|
event_type: "access_grant.access_to_door_lost";
|
|
343
|
+
event_description?: string | undefined;
|
|
309
344
|
}, {
|
|
310
345
|
workspace_id: string;
|
|
311
346
|
created_at: string;
|
|
@@ -314,11 +349,13 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
314
349
|
event_id: string;
|
|
315
350
|
occurred_at: string;
|
|
316
351
|
event_type: "access_grant.access_to_door_lost";
|
|
352
|
+
event_description?: string | undefined;
|
|
317
353
|
}>, z.ZodObject<{
|
|
318
354
|
event_id: z.ZodString;
|
|
319
355
|
workspace_id: z.ZodString;
|
|
320
356
|
created_at: z.ZodString;
|
|
321
357
|
occurred_at: z.ZodString;
|
|
358
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
322
359
|
} & {
|
|
323
360
|
access_grant_id: z.ZodString;
|
|
324
361
|
} & {
|
|
@@ -336,6 +373,7 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
336
373
|
starts_at?: string | undefined;
|
|
337
374
|
ends_at?: string | undefined;
|
|
338
375
|
access_grant_key?: string | undefined;
|
|
376
|
+
event_description?: string | undefined;
|
|
339
377
|
}, {
|
|
340
378
|
workspace_id: string;
|
|
341
379
|
created_at: string;
|
|
@@ -346,11 +384,13 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
346
384
|
starts_at?: string | undefined;
|
|
347
385
|
ends_at?: string | undefined;
|
|
348
386
|
access_grant_key?: string | undefined;
|
|
387
|
+
event_description?: string | undefined;
|
|
349
388
|
}>, z.ZodObject<{
|
|
350
389
|
event_id: z.ZodString;
|
|
351
390
|
workspace_id: z.ZodString;
|
|
352
391
|
created_at: z.ZodString;
|
|
353
392
|
occurred_at: z.ZodString;
|
|
393
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
354
394
|
} & {
|
|
355
395
|
access_grant_id: z.ZodString;
|
|
356
396
|
} & {
|
|
@@ -366,6 +406,7 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
366
406
|
event_type: "access_grant.could_not_create_requested_access_methods";
|
|
367
407
|
error_message: string;
|
|
368
408
|
missing_device_ids?: string[] | undefined;
|
|
409
|
+
event_description?: string | undefined;
|
|
369
410
|
}, {
|
|
370
411
|
workspace_id: string;
|
|
371
412
|
created_at: string;
|
|
@@ -375,4 +416,5 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
375
416
|
event_type: "access_grant.could_not_create_requested_access_methods";
|
|
376
417
|
error_message: string;
|
|
377
418
|
missing_device_ids?: string[] | undefined;
|
|
419
|
+
event_description?: string | undefined;
|
|
378
420
|
}>];
|
|
@@ -4,6 +4,7 @@ export declare const access_method_issued_event: z.ZodObject<{
|
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
7
8
|
} & {
|
|
8
9
|
access_method_id: z.ZodString;
|
|
9
10
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -21,6 +22,7 @@ export declare const access_method_issued_event: z.ZodObject<{
|
|
|
21
22
|
event_type: "access_method.issued";
|
|
22
23
|
access_grant_ids: string[];
|
|
23
24
|
code?: string | undefined;
|
|
25
|
+
event_description?: string | undefined;
|
|
24
26
|
access_grant_keys?: string[] | undefined;
|
|
25
27
|
is_backup_code?: boolean | undefined;
|
|
26
28
|
}, {
|
|
@@ -32,6 +34,7 @@ export declare const access_method_issued_event: z.ZodObject<{
|
|
|
32
34
|
event_type: "access_method.issued";
|
|
33
35
|
access_grant_ids: string[];
|
|
34
36
|
code?: string | undefined;
|
|
37
|
+
event_description?: string | undefined;
|
|
35
38
|
access_grant_keys?: string[] | undefined;
|
|
36
39
|
is_backup_code?: boolean | undefined;
|
|
37
40
|
}>;
|
|
@@ -41,6 +44,7 @@ export declare const access_method_card_encoding_required_event: z.ZodObject<{
|
|
|
41
44
|
workspace_id: z.ZodString;
|
|
42
45
|
created_at: z.ZodString;
|
|
43
46
|
occurred_at: z.ZodString;
|
|
47
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
44
48
|
} & {
|
|
45
49
|
access_method_id: z.ZodString;
|
|
46
50
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -55,6 +59,7 @@ export declare const access_method_card_encoding_required_event: z.ZodObject<{
|
|
|
55
59
|
occurred_at: string;
|
|
56
60
|
event_type: "access_method.card_encoding_required";
|
|
57
61
|
access_grant_ids: string[];
|
|
62
|
+
event_description?: string | undefined;
|
|
58
63
|
access_grant_keys?: string[] | undefined;
|
|
59
64
|
}, {
|
|
60
65
|
workspace_id: string;
|
|
@@ -64,6 +69,7 @@ export declare const access_method_card_encoding_required_event: z.ZodObject<{
|
|
|
64
69
|
occurred_at: string;
|
|
65
70
|
event_type: "access_method.card_encoding_required";
|
|
66
71
|
access_grant_ids: string[];
|
|
72
|
+
event_description?: string | undefined;
|
|
67
73
|
access_grant_keys?: string[] | undefined;
|
|
68
74
|
}>;
|
|
69
75
|
export type AccessMethodCardEncodingRequiredEvent = z.infer<typeof access_method_card_encoding_required_event>;
|
|
@@ -72,6 +78,7 @@ export declare const access_method_revoked_event: z.ZodObject<{
|
|
|
72
78
|
workspace_id: z.ZodString;
|
|
73
79
|
created_at: z.ZodString;
|
|
74
80
|
occurred_at: z.ZodString;
|
|
81
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
75
82
|
} & {
|
|
76
83
|
access_method_id: z.ZodString;
|
|
77
84
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -86,6 +93,7 @@ export declare const access_method_revoked_event: z.ZodObject<{
|
|
|
86
93
|
occurred_at: string;
|
|
87
94
|
event_type: "access_method.revoked";
|
|
88
95
|
access_grant_ids: string[];
|
|
96
|
+
event_description?: string | undefined;
|
|
89
97
|
access_grant_keys?: string[] | undefined;
|
|
90
98
|
}, {
|
|
91
99
|
workspace_id: string;
|
|
@@ -95,6 +103,7 @@ export declare const access_method_revoked_event: z.ZodObject<{
|
|
|
95
103
|
occurred_at: string;
|
|
96
104
|
event_type: "access_method.revoked";
|
|
97
105
|
access_grant_ids: string[];
|
|
106
|
+
event_description?: string | undefined;
|
|
98
107
|
access_grant_keys?: string[] | undefined;
|
|
99
108
|
}>;
|
|
100
109
|
export declare const access_method_deleted_event: z.ZodObject<{
|
|
@@ -102,6 +111,7 @@ export declare const access_method_deleted_event: z.ZodObject<{
|
|
|
102
111
|
workspace_id: z.ZodString;
|
|
103
112
|
created_at: z.ZodString;
|
|
104
113
|
occurred_at: z.ZodString;
|
|
114
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
105
115
|
} & {
|
|
106
116
|
access_method_id: z.ZodString;
|
|
107
117
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -116,6 +126,7 @@ export declare const access_method_deleted_event: z.ZodObject<{
|
|
|
116
126
|
occurred_at: string;
|
|
117
127
|
event_type: "access_method.deleted";
|
|
118
128
|
access_grant_ids: string[];
|
|
129
|
+
event_description?: string | undefined;
|
|
119
130
|
access_grant_keys?: string[] | undefined;
|
|
120
131
|
}, {
|
|
121
132
|
workspace_id: string;
|
|
@@ -125,6 +136,7 @@ export declare const access_method_deleted_event: z.ZodObject<{
|
|
|
125
136
|
occurred_at: string;
|
|
126
137
|
event_type: "access_method.deleted";
|
|
127
138
|
access_grant_ids: string[];
|
|
139
|
+
event_description?: string | undefined;
|
|
128
140
|
access_grant_keys?: string[] | undefined;
|
|
129
141
|
}>;
|
|
130
142
|
export declare const access_method_reissued_event: z.ZodObject<{
|
|
@@ -132,6 +144,7 @@ export declare const access_method_reissued_event: z.ZodObject<{
|
|
|
132
144
|
workspace_id: z.ZodString;
|
|
133
145
|
created_at: z.ZodString;
|
|
134
146
|
occurred_at: z.ZodString;
|
|
147
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
135
148
|
access_method_id: z.ZodString;
|
|
136
149
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
137
150
|
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -148,6 +161,7 @@ export declare const access_method_reissued_event: z.ZodObject<{
|
|
|
148
161
|
event_type: "access_method.reissued";
|
|
149
162
|
access_grant_ids: string[];
|
|
150
163
|
code?: string | undefined;
|
|
164
|
+
event_description?: string | undefined;
|
|
151
165
|
access_grant_keys?: string[] | undefined;
|
|
152
166
|
is_backup_code?: boolean | undefined;
|
|
153
167
|
}, {
|
|
@@ -159,6 +173,7 @@ export declare const access_method_reissued_event: z.ZodObject<{
|
|
|
159
173
|
event_type: "access_method.reissued";
|
|
160
174
|
access_grant_ids: string[];
|
|
161
175
|
code?: string | undefined;
|
|
176
|
+
event_description?: string | undefined;
|
|
162
177
|
access_grant_keys?: string[] | undefined;
|
|
163
178
|
is_backup_code?: boolean | undefined;
|
|
164
179
|
}>;
|
|
@@ -167,6 +182,7 @@ export declare const access_method_created_event: z.ZodObject<{
|
|
|
167
182
|
workspace_id: z.ZodString;
|
|
168
183
|
created_at: z.ZodString;
|
|
169
184
|
occurred_at: z.ZodString;
|
|
185
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
170
186
|
} & {
|
|
171
187
|
access_method_id: z.ZodString;
|
|
172
188
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -181,6 +197,7 @@ export declare const access_method_created_event: z.ZodObject<{
|
|
|
181
197
|
occurred_at: string;
|
|
182
198
|
event_type: "access_method.created";
|
|
183
199
|
access_grant_ids: string[];
|
|
200
|
+
event_description?: string | undefined;
|
|
184
201
|
access_grant_keys?: string[] | undefined;
|
|
185
202
|
}, {
|
|
186
203
|
workspace_id: string;
|
|
@@ -190,6 +207,7 @@ export declare const access_method_created_event: z.ZodObject<{
|
|
|
190
207
|
occurred_at: string;
|
|
191
208
|
event_type: "access_method.created";
|
|
192
209
|
access_grant_ids: string[];
|
|
210
|
+
event_description?: string | undefined;
|
|
193
211
|
access_grant_keys?: string[] | undefined;
|
|
194
212
|
}>;
|
|
195
213
|
export type AccessMethodCreatedEvent = z.infer<typeof access_method_created_event>;
|
|
@@ -199,6 +217,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
199
217
|
workspace_id: z.ZodString;
|
|
200
218
|
created_at: z.ZodString;
|
|
201
219
|
occurred_at: z.ZodString;
|
|
220
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
202
221
|
} & {
|
|
203
222
|
access_method_id: z.ZodString;
|
|
204
223
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -216,6 +235,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
216
235
|
event_type: "access_method.issued";
|
|
217
236
|
access_grant_ids: string[];
|
|
218
237
|
code?: string | undefined;
|
|
238
|
+
event_description?: string | undefined;
|
|
219
239
|
access_grant_keys?: string[] | undefined;
|
|
220
240
|
is_backup_code?: boolean | undefined;
|
|
221
241
|
}, {
|
|
@@ -227,6 +247,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
227
247
|
event_type: "access_method.issued";
|
|
228
248
|
access_grant_ids: string[];
|
|
229
249
|
code?: string | undefined;
|
|
250
|
+
event_description?: string | undefined;
|
|
230
251
|
access_grant_keys?: string[] | undefined;
|
|
231
252
|
is_backup_code?: boolean | undefined;
|
|
232
253
|
}>, z.ZodObject<{
|
|
@@ -234,6 +255,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
234
255
|
workspace_id: z.ZodString;
|
|
235
256
|
created_at: z.ZodString;
|
|
236
257
|
occurred_at: z.ZodString;
|
|
258
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
237
259
|
} & {
|
|
238
260
|
access_method_id: z.ZodString;
|
|
239
261
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -248,6 +270,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
248
270
|
occurred_at: string;
|
|
249
271
|
event_type: "access_method.revoked";
|
|
250
272
|
access_grant_ids: string[];
|
|
273
|
+
event_description?: string | undefined;
|
|
251
274
|
access_grant_keys?: string[] | undefined;
|
|
252
275
|
}, {
|
|
253
276
|
workspace_id: string;
|
|
@@ -257,12 +280,14 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
257
280
|
occurred_at: string;
|
|
258
281
|
event_type: "access_method.revoked";
|
|
259
282
|
access_grant_ids: string[];
|
|
283
|
+
event_description?: string | undefined;
|
|
260
284
|
access_grant_keys?: string[] | undefined;
|
|
261
285
|
}>, z.ZodObject<{
|
|
262
286
|
event_id: z.ZodString;
|
|
263
287
|
workspace_id: z.ZodString;
|
|
264
288
|
created_at: z.ZodString;
|
|
265
289
|
occurred_at: z.ZodString;
|
|
290
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
266
291
|
} & {
|
|
267
292
|
access_method_id: z.ZodString;
|
|
268
293
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -277,6 +302,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
277
302
|
occurred_at: string;
|
|
278
303
|
event_type: "access_method.card_encoding_required";
|
|
279
304
|
access_grant_ids: string[];
|
|
305
|
+
event_description?: string | undefined;
|
|
280
306
|
access_grant_keys?: string[] | undefined;
|
|
281
307
|
}, {
|
|
282
308
|
workspace_id: string;
|
|
@@ -286,12 +312,14 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
286
312
|
occurred_at: string;
|
|
287
313
|
event_type: "access_method.card_encoding_required";
|
|
288
314
|
access_grant_ids: string[];
|
|
315
|
+
event_description?: string | undefined;
|
|
289
316
|
access_grant_keys?: string[] | undefined;
|
|
290
317
|
}>, z.ZodObject<{
|
|
291
318
|
event_id: z.ZodString;
|
|
292
319
|
workspace_id: z.ZodString;
|
|
293
320
|
created_at: z.ZodString;
|
|
294
321
|
occurred_at: z.ZodString;
|
|
322
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
295
323
|
} & {
|
|
296
324
|
access_method_id: z.ZodString;
|
|
297
325
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -306,6 +334,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
306
334
|
occurred_at: string;
|
|
307
335
|
event_type: "access_method.deleted";
|
|
308
336
|
access_grant_ids: string[];
|
|
337
|
+
event_description?: string | undefined;
|
|
309
338
|
access_grant_keys?: string[] | undefined;
|
|
310
339
|
}, {
|
|
311
340
|
workspace_id: string;
|
|
@@ -315,12 +344,14 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
315
344
|
occurred_at: string;
|
|
316
345
|
event_type: "access_method.deleted";
|
|
317
346
|
access_grant_ids: string[];
|
|
347
|
+
event_description?: string | undefined;
|
|
318
348
|
access_grant_keys?: string[] | undefined;
|
|
319
349
|
}>, z.ZodObject<{
|
|
320
350
|
event_id: z.ZodString;
|
|
321
351
|
workspace_id: z.ZodString;
|
|
322
352
|
created_at: z.ZodString;
|
|
323
353
|
occurred_at: z.ZodString;
|
|
354
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
324
355
|
access_method_id: z.ZodString;
|
|
325
356
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
326
357
|
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -337,6 +368,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
337
368
|
event_type: "access_method.reissued";
|
|
338
369
|
access_grant_ids: string[];
|
|
339
370
|
code?: string | undefined;
|
|
371
|
+
event_description?: string | undefined;
|
|
340
372
|
access_grant_keys?: string[] | undefined;
|
|
341
373
|
is_backup_code?: boolean | undefined;
|
|
342
374
|
}, {
|
|
@@ -348,6 +380,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
348
380
|
event_type: "access_method.reissued";
|
|
349
381
|
access_grant_ids: string[];
|
|
350
382
|
code?: string | undefined;
|
|
383
|
+
event_description?: string | undefined;
|
|
351
384
|
access_grant_keys?: string[] | undefined;
|
|
352
385
|
is_backup_code?: boolean | undefined;
|
|
353
386
|
}>, z.ZodObject<{
|
|
@@ -355,6 +388,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
355
388
|
workspace_id: z.ZodString;
|
|
356
389
|
created_at: z.ZodString;
|
|
357
390
|
occurred_at: z.ZodString;
|
|
391
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
358
392
|
} & {
|
|
359
393
|
access_method_id: z.ZodString;
|
|
360
394
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -369,6 +403,7 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
369
403
|
occurred_at: string;
|
|
370
404
|
event_type: "access_method.created";
|
|
371
405
|
access_grant_ids: string[];
|
|
406
|
+
event_description?: string | undefined;
|
|
372
407
|
access_grant_keys?: string[] | undefined;
|
|
373
408
|
}, {
|
|
374
409
|
workspace_id: string;
|
|
@@ -378,5 +413,6 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
378
413
|
occurred_at: string;
|
|
379
414
|
event_type: "access_method.created";
|
|
380
415
|
access_grant_ids: string[];
|
|
416
|
+
event_description?: string | undefined;
|
|
381
417
|
access_grant_keys?: string[] | undefined;
|
|
382
418
|
}>];
|
|
@@ -4,6 +4,7 @@ export declare const acs_access_group_deleted_event: z.ZodObject<{
|
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
7
8
|
} & {
|
|
8
9
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
9
10
|
acs_system_id: z.ZodString;
|
|
@@ -20,6 +21,7 @@ export declare const acs_access_group_deleted_event: z.ZodObject<{
|
|
|
20
21
|
occurred_at: string;
|
|
21
22
|
event_type: "acs_access_group.deleted";
|
|
22
23
|
connected_account_id?: string | undefined;
|
|
24
|
+
event_description?: string | undefined;
|
|
23
25
|
}, {
|
|
24
26
|
workspace_id: string;
|
|
25
27
|
created_at: string;
|
|
@@ -29,6 +31,7 @@ export declare const acs_access_group_deleted_event: z.ZodObject<{
|
|
|
29
31
|
occurred_at: string;
|
|
30
32
|
event_type: "acs_access_group.deleted";
|
|
31
33
|
connected_account_id?: string | undefined;
|
|
34
|
+
event_description?: string | undefined;
|
|
32
35
|
}>;
|
|
33
36
|
export type AcsAccessGroupDeletedEvent = z.infer<typeof acs_access_group_deleted_event>;
|
|
34
37
|
export declare const acs_access_group_events: readonly [z.ZodObject<{
|
|
@@ -36,6 +39,7 @@ export declare const acs_access_group_events: readonly [z.ZodObject<{
|
|
|
36
39
|
workspace_id: z.ZodString;
|
|
37
40
|
created_at: z.ZodString;
|
|
38
41
|
occurred_at: z.ZodString;
|
|
42
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
39
43
|
} & {
|
|
40
44
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
41
45
|
acs_system_id: z.ZodString;
|
|
@@ -52,6 +56,7 @@ export declare const acs_access_group_events: readonly [z.ZodObject<{
|
|
|
52
56
|
occurred_at: string;
|
|
53
57
|
event_type: "acs_access_group.deleted";
|
|
54
58
|
connected_account_id?: string | undefined;
|
|
59
|
+
event_description?: string | undefined;
|
|
55
60
|
}, {
|
|
56
61
|
workspace_id: string;
|
|
57
62
|
created_at: string;
|
|
@@ -61,4 +66,5 @@ export declare const acs_access_group_events: readonly [z.ZodObject<{
|
|
|
61
66
|
occurred_at: string;
|
|
62
67
|
event_type: "acs_access_group.deleted";
|
|
63
68
|
connected_account_id?: string | undefined;
|
|
69
|
+
event_description?: string | undefined;
|
|
64
70
|
}>];
|
|
@@ -4,6 +4,7 @@ export declare const common_acs_event: z.ZodObject<{
|
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
7
8
|
} & {
|
|
8
9
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
9
10
|
acs_system_id: z.ZodString;
|
|
@@ -14,6 +15,7 @@ export declare const common_acs_event: z.ZodObject<{
|
|
|
14
15
|
event_id: string;
|
|
15
16
|
occurred_at: string;
|
|
16
17
|
connected_account_id?: string | undefined;
|
|
18
|
+
event_description?: string | undefined;
|
|
17
19
|
}, {
|
|
18
20
|
workspace_id: string;
|
|
19
21
|
created_at: string;
|
|
@@ -21,4 +23,5 @@ export declare const common_acs_event: z.ZodObject<{
|
|
|
21
23
|
event_id: string;
|
|
22
24
|
occurred_at: string;
|
|
23
25
|
connected_account_id?: string | undefined;
|
|
26
|
+
event_description?: string | undefined;
|
|
24
27
|
}>;
|