@seamapi/types 1.1211.0 → 1.1213.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/lib/seam/connect/models/events/access-codes.d.ts +156 -156
- package/lib/seam/connect/models/events/access-grants.d.ts +42 -42
- package/lib/seam/connect/models/events/access-methods.d.ts +48 -48
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +6 -6
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
- package/lib/seam/connect/models/events/acs/credentials.d.ts +24 -24
- package/lib/seam/connect/models/events/acs/encoders.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/entrances.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/index.d.ts +42 -42
- package/lib/seam/connect/models/events/acs/systems.d.ts +18 -18
- package/lib/seam/connect/models/events/acs/users.d.ts +12 -12
- package/lib/seam/connect/models/events/action-attempts.d.ts +48 -48
- package/lib/seam/connect/models/events/client-sessions.d.ts +6 -6
- package/lib/seam/connect/models/events/common.d.ts +3 -3
- package/lib/seam/connect/models/events/common.js +0 -1
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/connect-webviews.d.ts +12 -12
- package/lib/seam/connect/models/events/connected-accounts.d.ts +48 -48
- package/lib/seam/connect/models/events/devices.d.ts +246 -246
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +6 -6
- package/lib/seam/connect/models/events/phones.d.ts +6 -6
- package/lib/seam/connect/models/events/seam-event.d.ts +360 -360
- package/lib/seam/connect/models/events/spaces.d.ts +18 -18
- package/lib/seam/connect/models/instant-keys/instant-key.js +1 -1
- package/lib/seam/connect/openapi.js +121 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +602 -602
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/common.ts +0 -1
- package/src/lib/seam/connect/models/instant-keys/instant-key.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +121 -1
- package/src/lib/seam/connect/route-types.ts +602 -602
|
@@ -4,7 +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.
|
|
7
|
+
event_description: z.ZodString;
|
|
8
8
|
} & {
|
|
9
9
|
access_grant_id: z.ZodString;
|
|
10
10
|
} & {
|
|
@@ -15,23 +15,23 @@ export declare const access_grant_created_event: z.ZodObject<{
|
|
|
15
15
|
access_grant_id: string;
|
|
16
16
|
event_id: string;
|
|
17
17
|
occurred_at: string;
|
|
18
|
+
event_description: string;
|
|
18
19
|
event_type: "access_grant.created";
|
|
19
|
-
event_description?: string | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
workspace_id: string;
|
|
22
22
|
created_at: string;
|
|
23
23
|
access_grant_id: string;
|
|
24
24
|
event_id: string;
|
|
25
25
|
occurred_at: string;
|
|
26
|
+
event_description: string;
|
|
26
27
|
event_type: "access_grant.created";
|
|
27
|
-
event_description?: string | undefined;
|
|
28
28
|
}>;
|
|
29
29
|
export declare const access_grant_deleted_event: z.ZodObject<{
|
|
30
30
|
event_id: z.ZodString;
|
|
31
31
|
workspace_id: z.ZodString;
|
|
32
32
|
created_at: z.ZodString;
|
|
33
33
|
occurred_at: z.ZodString;
|
|
34
|
-
event_description: z.
|
|
34
|
+
event_description: z.ZodString;
|
|
35
35
|
} & {
|
|
36
36
|
access_grant_id: z.ZodString;
|
|
37
37
|
} & {
|
|
@@ -42,23 +42,23 @@ export declare const access_grant_deleted_event: z.ZodObject<{
|
|
|
42
42
|
access_grant_id: string;
|
|
43
43
|
event_id: string;
|
|
44
44
|
occurred_at: string;
|
|
45
|
+
event_description: string;
|
|
45
46
|
event_type: "access_grant.deleted";
|
|
46
|
-
event_description?: string | undefined;
|
|
47
47
|
}, {
|
|
48
48
|
workspace_id: string;
|
|
49
49
|
created_at: string;
|
|
50
50
|
access_grant_id: string;
|
|
51
51
|
event_id: string;
|
|
52
52
|
occurred_at: string;
|
|
53
|
+
event_description: string;
|
|
53
54
|
event_type: "access_grant.deleted";
|
|
54
|
-
event_description?: string | undefined;
|
|
55
55
|
}>;
|
|
56
56
|
export declare const access_grant_access_granted_to_all_doors_event: z.ZodObject<{
|
|
57
57
|
event_id: z.ZodString;
|
|
58
58
|
workspace_id: z.ZodString;
|
|
59
59
|
created_at: z.ZodString;
|
|
60
60
|
occurred_at: z.ZodString;
|
|
61
|
-
event_description: z.
|
|
61
|
+
event_description: z.ZodString;
|
|
62
62
|
} & {
|
|
63
63
|
access_grant_id: z.ZodString;
|
|
64
64
|
} & {
|
|
@@ -69,16 +69,16 @@ export declare const access_grant_access_granted_to_all_doors_event: z.ZodObject
|
|
|
69
69
|
access_grant_id: string;
|
|
70
70
|
event_id: string;
|
|
71
71
|
occurred_at: string;
|
|
72
|
+
event_description: string;
|
|
72
73
|
event_type: "access_grant.access_granted_to_all_doors";
|
|
73
|
-
event_description?: string | undefined;
|
|
74
74
|
}, {
|
|
75
75
|
workspace_id: string;
|
|
76
76
|
created_at: string;
|
|
77
77
|
access_grant_id: string;
|
|
78
78
|
event_id: string;
|
|
79
79
|
occurred_at: string;
|
|
80
|
+
event_description: string;
|
|
80
81
|
event_type: "access_grant.access_granted_to_all_doors";
|
|
81
|
-
event_description?: string | undefined;
|
|
82
82
|
}>;
|
|
83
83
|
export type AccessGrantAccessGrantedToAllDoorsEvent = z.infer<typeof access_grant_access_granted_to_all_doors_event>;
|
|
84
84
|
export declare const access_grant_access_granted_to_door_event: z.ZodObject<{
|
|
@@ -86,7 +86,7 @@ export declare const access_grant_access_granted_to_door_event: z.ZodObject<{
|
|
|
86
86
|
workspace_id: z.ZodString;
|
|
87
87
|
created_at: z.ZodString;
|
|
88
88
|
occurred_at: z.ZodString;
|
|
89
|
-
event_description: z.
|
|
89
|
+
event_description: z.ZodString;
|
|
90
90
|
} & {
|
|
91
91
|
access_grant_id: z.ZodString;
|
|
92
92
|
} & {
|
|
@@ -99,8 +99,8 @@ export declare const access_grant_access_granted_to_door_event: z.ZodObject<{
|
|
|
99
99
|
acs_entrance_id: string;
|
|
100
100
|
event_id: string;
|
|
101
101
|
occurred_at: string;
|
|
102
|
+
event_description: string;
|
|
102
103
|
event_type: "access_grant.access_granted_to_door";
|
|
103
|
-
event_description?: string | undefined;
|
|
104
104
|
}, {
|
|
105
105
|
workspace_id: string;
|
|
106
106
|
created_at: string;
|
|
@@ -108,8 +108,8 @@ export declare const access_grant_access_granted_to_door_event: z.ZodObject<{
|
|
|
108
108
|
acs_entrance_id: string;
|
|
109
109
|
event_id: string;
|
|
110
110
|
occurred_at: string;
|
|
111
|
+
event_description: string;
|
|
111
112
|
event_type: "access_grant.access_granted_to_door";
|
|
112
|
-
event_description?: string | undefined;
|
|
113
113
|
}>;
|
|
114
114
|
export type AccessGrantAccessGrantedToDoorEvent = z.infer<typeof access_grant_access_granted_to_door_event>;
|
|
115
115
|
export declare const access_grant_access_to_door_lost_event: z.ZodObject<{
|
|
@@ -117,7 +117,7 @@ export declare const access_grant_access_to_door_lost_event: z.ZodObject<{
|
|
|
117
117
|
workspace_id: z.ZodString;
|
|
118
118
|
created_at: z.ZodString;
|
|
119
119
|
occurred_at: z.ZodString;
|
|
120
|
-
event_description: z.
|
|
120
|
+
event_description: z.ZodString;
|
|
121
121
|
} & {
|
|
122
122
|
access_grant_id: z.ZodString;
|
|
123
123
|
} & {
|
|
@@ -130,8 +130,8 @@ export declare const access_grant_access_to_door_lost_event: z.ZodObject<{
|
|
|
130
130
|
acs_entrance_id: string;
|
|
131
131
|
event_id: string;
|
|
132
132
|
occurred_at: string;
|
|
133
|
+
event_description: string;
|
|
133
134
|
event_type: "access_grant.access_to_door_lost";
|
|
134
|
-
event_description?: string | undefined;
|
|
135
135
|
}, {
|
|
136
136
|
workspace_id: string;
|
|
137
137
|
created_at: string;
|
|
@@ -139,8 +139,8 @@ export declare const access_grant_access_to_door_lost_event: z.ZodObject<{
|
|
|
139
139
|
acs_entrance_id: string;
|
|
140
140
|
event_id: string;
|
|
141
141
|
occurred_at: string;
|
|
142
|
+
event_description: string;
|
|
142
143
|
event_type: "access_grant.access_to_door_lost";
|
|
143
|
-
event_description?: string | undefined;
|
|
144
144
|
}>;
|
|
145
145
|
export type AccessGrantAccessToDoorLostEvent = z.infer<typeof access_grant_access_to_door_lost_event>;
|
|
146
146
|
export declare const access_grant_access_times_changed_event: z.ZodObject<{
|
|
@@ -148,7 +148,7 @@ export declare const access_grant_access_times_changed_event: z.ZodObject<{
|
|
|
148
148
|
workspace_id: z.ZodString;
|
|
149
149
|
created_at: z.ZodString;
|
|
150
150
|
occurred_at: z.ZodString;
|
|
151
|
-
event_description: z.
|
|
151
|
+
event_description: z.ZodString;
|
|
152
152
|
} & {
|
|
153
153
|
access_grant_id: z.ZodString;
|
|
154
154
|
} & {
|
|
@@ -162,22 +162,22 @@ export declare const access_grant_access_times_changed_event: z.ZodObject<{
|
|
|
162
162
|
access_grant_id: string;
|
|
163
163
|
event_id: string;
|
|
164
164
|
occurred_at: string;
|
|
165
|
+
event_description: string;
|
|
165
166
|
event_type: "access_grant.access_times_changed";
|
|
166
167
|
starts_at?: string | undefined;
|
|
167
168
|
ends_at?: string | undefined;
|
|
168
169
|
access_grant_key?: string | undefined;
|
|
169
|
-
event_description?: string | undefined;
|
|
170
170
|
}, {
|
|
171
171
|
workspace_id: string;
|
|
172
172
|
created_at: string;
|
|
173
173
|
access_grant_id: string;
|
|
174
174
|
event_id: string;
|
|
175
175
|
occurred_at: string;
|
|
176
|
+
event_description: string;
|
|
176
177
|
event_type: "access_grant.access_times_changed";
|
|
177
178
|
starts_at?: string | undefined;
|
|
178
179
|
ends_at?: string | undefined;
|
|
179
180
|
access_grant_key?: string | undefined;
|
|
180
|
-
event_description?: string | undefined;
|
|
181
181
|
}>;
|
|
182
182
|
export type AccessGrantAccessTimesChangedEvent = z.infer<typeof access_grant_access_times_changed_event>;
|
|
183
183
|
export declare const access_grant_could_not_create_requested_access_methods_event: z.ZodObject<{
|
|
@@ -185,7 +185,7 @@ export declare const access_grant_could_not_create_requested_access_methods_even
|
|
|
185
185
|
workspace_id: z.ZodString;
|
|
186
186
|
created_at: z.ZodString;
|
|
187
187
|
occurred_at: z.ZodString;
|
|
188
|
-
event_description: z.
|
|
188
|
+
event_description: z.ZodString;
|
|
189
189
|
} & {
|
|
190
190
|
access_grant_id: z.ZodString;
|
|
191
191
|
} & {
|
|
@@ -198,20 +198,20 @@ export declare const access_grant_could_not_create_requested_access_methods_even
|
|
|
198
198
|
access_grant_id: string;
|
|
199
199
|
event_id: string;
|
|
200
200
|
occurred_at: string;
|
|
201
|
+
event_description: string;
|
|
201
202
|
event_type: "access_grant.could_not_create_requested_access_methods";
|
|
202
203
|
error_message: string;
|
|
203
204
|
missing_device_ids?: string[] | undefined;
|
|
204
|
-
event_description?: string | undefined;
|
|
205
205
|
}, {
|
|
206
206
|
workspace_id: string;
|
|
207
207
|
created_at: string;
|
|
208
208
|
access_grant_id: string;
|
|
209
209
|
event_id: string;
|
|
210
210
|
occurred_at: string;
|
|
211
|
+
event_description: string;
|
|
211
212
|
event_type: "access_grant.could_not_create_requested_access_methods";
|
|
212
213
|
error_message: string;
|
|
213
214
|
missing_device_ids?: string[] | undefined;
|
|
214
|
-
event_description?: string | undefined;
|
|
215
215
|
}>;
|
|
216
216
|
export type AccessGrantCouldNotCreateRequestedAccessMethodsEvent = z.infer<typeof access_grant_could_not_create_requested_access_methods_event>;
|
|
217
217
|
export declare const access_grant_events: readonly [z.ZodObject<{
|
|
@@ -219,7 +219,7 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
219
219
|
workspace_id: z.ZodString;
|
|
220
220
|
created_at: z.ZodString;
|
|
221
221
|
occurred_at: z.ZodString;
|
|
222
|
-
event_description: z.
|
|
222
|
+
event_description: z.ZodString;
|
|
223
223
|
} & {
|
|
224
224
|
access_grant_id: z.ZodString;
|
|
225
225
|
} & {
|
|
@@ -230,22 +230,22 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
230
230
|
access_grant_id: string;
|
|
231
231
|
event_id: string;
|
|
232
232
|
occurred_at: string;
|
|
233
|
+
event_description: string;
|
|
233
234
|
event_type: "access_grant.created";
|
|
234
|
-
event_description?: string | undefined;
|
|
235
235
|
}, {
|
|
236
236
|
workspace_id: string;
|
|
237
237
|
created_at: string;
|
|
238
238
|
access_grant_id: string;
|
|
239
239
|
event_id: string;
|
|
240
240
|
occurred_at: string;
|
|
241
|
+
event_description: string;
|
|
241
242
|
event_type: "access_grant.created";
|
|
242
|
-
event_description?: string | undefined;
|
|
243
243
|
}>, z.ZodObject<{
|
|
244
244
|
event_id: z.ZodString;
|
|
245
245
|
workspace_id: z.ZodString;
|
|
246
246
|
created_at: z.ZodString;
|
|
247
247
|
occurred_at: z.ZodString;
|
|
248
|
-
event_description: z.
|
|
248
|
+
event_description: z.ZodString;
|
|
249
249
|
} & {
|
|
250
250
|
access_grant_id: z.ZodString;
|
|
251
251
|
} & {
|
|
@@ -256,22 +256,22 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
256
256
|
access_grant_id: string;
|
|
257
257
|
event_id: string;
|
|
258
258
|
occurred_at: string;
|
|
259
|
+
event_description: string;
|
|
259
260
|
event_type: "access_grant.deleted";
|
|
260
|
-
event_description?: string | undefined;
|
|
261
261
|
}, {
|
|
262
262
|
workspace_id: string;
|
|
263
263
|
created_at: string;
|
|
264
264
|
access_grant_id: string;
|
|
265
265
|
event_id: string;
|
|
266
266
|
occurred_at: string;
|
|
267
|
+
event_description: string;
|
|
267
268
|
event_type: "access_grant.deleted";
|
|
268
|
-
event_description?: string | undefined;
|
|
269
269
|
}>, z.ZodObject<{
|
|
270
270
|
event_id: z.ZodString;
|
|
271
271
|
workspace_id: z.ZodString;
|
|
272
272
|
created_at: z.ZodString;
|
|
273
273
|
occurred_at: z.ZodString;
|
|
274
|
-
event_description: z.
|
|
274
|
+
event_description: z.ZodString;
|
|
275
275
|
} & {
|
|
276
276
|
access_grant_id: z.ZodString;
|
|
277
277
|
} & {
|
|
@@ -282,22 +282,22 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
282
282
|
access_grant_id: string;
|
|
283
283
|
event_id: string;
|
|
284
284
|
occurred_at: string;
|
|
285
|
+
event_description: string;
|
|
285
286
|
event_type: "access_grant.access_granted_to_all_doors";
|
|
286
|
-
event_description?: string | undefined;
|
|
287
287
|
}, {
|
|
288
288
|
workspace_id: string;
|
|
289
289
|
created_at: string;
|
|
290
290
|
access_grant_id: string;
|
|
291
291
|
event_id: string;
|
|
292
292
|
occurred_at: string;
|
|
293
|
+
event_description: string;
|
|
293
294
|
event_type: "access_grant.access_granted_to_all_doors";
|
|
294
|
-
event_description?: string | undefined;
|
|
295
295
|
}>, z.ZodObject<{
|
|
296
296
|
event_id: z.ZodString;
|
|
297
297
|
workspace_id: z.ZodString;
|
|
298
298
|
created_at: z.ZodString;
|
|
299
299
|
occurred_at: z.ZodString;
|
|
300
|
-
event_description: z.
|
|
300
|
+
event_description: z.ZodString;
|
|
301
301
|
} & {
|
|
302
302
|
access_grant_id: z.ZodString;
|
|
303
303
|
} & {
|
|
@@ -310,8 +310,8 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
310
310
|
acs_entrance_id: string;
|
|
311
311
|
event_id: string;
|
|
312
312
|
occurred_at: string;
|
|
313
|
+
event_description: string;
|
|
313
314
|
event_type: "access_grant.access_granted_to_door";
|
|
314
|
-
event_description?: string | undefined;
|
|
315
315
|
}, {
|
|
316
316
|
workspace_id: string;
|
|
317
317
|
created_at: string;
|
|
@@ -319,14 +319,14 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
319
319
|
acs_entrance_id: string;
|
|
320
320
|
event_id: string;
|
|
321
321
|
occurred_at: string;
|
|
322
|
+
event_description: string;
|
|
322
323
|
event_type: "access_grant.access_granted_to_door";
|
|
323
|
-
event_description?: string | undefined;
|
|
324
324
|
}>, z.ZodObject<{
|
|
325
325
|
event_id: z.ZodString;
|
|
326
326
|
workspace_id: z.ZodString;
|
|
327
327
|
created_at: z.ZodString;
|
|
328
328
|
occurred_at: z.ZodString;
|
|
329
|
-
event_description: z.
|
|
329
|
+
event_description: z.ZodString;
|
|
330
330
|
} & {
|
|
331
331
|
access_grant_id: z.ZodString;
|
|
332
332
|
} & {
|
|
@@ -339,8 +339,8 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
339
339
|
acs_entrance_id: string;
|
|
340
340
|
event_id: string;
|
|
341
341
|
occurred_at: string;
|
|
342
|
+
event_description: string;
|
|
342
343
|
event_type: "access_grant.access_to_door_lost";
|
|
343
|
-
event_description?: string | undefined;
|
|
344
344
|
}, {
|
|
345
345
|
workspace_id: string;
|
|
346
346
|
created_at: string;
|
|
@@ -348,14 +348,14 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
348
348
|
acs_entrance_id: string;
|
|
349
349
|
event_id: string;
|
|
350
350
|
occurred_at: string;
|
|
351
|
+
event_description: string;
|
|
351
352
|
event_type: "access_grant.access_to_door_lost";
|
|
352
|
-
event_description?: string | undefined;
|
|
353
353
|
}>, z.ZodObject<{
|
|
354
354
|
event_id: z.ZodString;
|
|
355
355
|
workspace_id: z.ZodString;
|
|
356
356
|
created_at: z.ZodString;
|
|
357
357
|
occurred_at: z.ZodString;
|
|
358
|
-
event_description: z.
|
|
358
|
+
event_description: z.ZodString;
|
|
359
359
|
} & {
|
|
360
360
|
access_grant_id: z.ZodString;
|
|
361
361
|
} & {
|
|
@@ -369,28 +369,28 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
369
369
|
access_grant_id: string;
|
|
370
370
|
event_id: string;
|
|
371
371
|
occurred_at: string;
|
|
372
|
+
event_description: string;
|
|
372
373
|
event_type: "access_grant.access_times_changed";
|
|
373
374
|
starts_at?: string | undefined;
|
|
374
375
|
ends_at?: string | undefined;
|
|
375
376
|
access_grant_key?: string | undefined;
|
|
376
|
-
event_description?: string | undefined;
|
|
377
377
|
}, {
|
|
378
378
|
workspace_id: string;
|
|
379
379
|
created_at: string;
|
|
380
380
|
access_grant_id: string;
|
|
381
381
|
event_id: string;
|
|
382
382
|
occurred_at: string;
|
|
383
|
+
event_description: string;
|
|
383
384
|
event_type: "access_grant.access_times_changed";
|
|
384
385
|
starts_at?: string | undefined;
|
|
385
386
|
ends_at?: string | undefined;
|
|
386
387
|
access_grant_key?: string | undefined;
|
|
387
|
-
event_description?: string | undefined;
|
|
388
388
|
}>, z.ZodObject<{
|
|
389
389
|
event_id: z.ZodString;
|
|
390
390
|
workspace_id: z.ZodString;
|
|
391
391
|
created_at: z.ZodString;
|
|
392
392
|
occurred_at: z.ZodString;
|
|
393
|
-
event_description: z.
|
|
393
|
+
event_description: z.ZodString;
|
|
394
394
|
} & {
|
|
395
395
|
access_grant_id: z.ZodString;
|
|
396
396
|
} & {
|
|
@@ -403,18 +403,18 @@ export declare const access_grant_events: readonly [z.ZodObject<{
|
|
|
403
403
|
access_grant_id: string;
|
|
404
404
|
event_id: string;
|
|
405
405
|
occurred_at: string;
|
|
406
|
+
event_description: string;
|
|
406
407
|
event_type: "access_grant.could_not_create_requested_access_methods";
|
|
407
408
|
error_message: string;
|
|
408
409
|
missing_device_ids?: string[] | undefined;
|
|
409
|
-
event_description?: string | undefined;
|
|
410
410
|
}, {
|
|
411
411
|
workspace_id: string;
|
|
412
412
|
created_at: string;
|
|
413
413
|
access_grant_id: string;
|
|
414
414
|
event_id: string;
|
|
415
415
|
occurred_at: string;
|
|
416
|
+
event_description: string;
|
|
416
417
|
event_type: "access_grant.could_not_create_requested_access_methods";
|
|
417
418
|
error_message: string;
|
|
418
419
|
missing_device_ids?: string[] | undefined;
|
|
419
|
-
event_description?: string | undefined;
|
|
420
420
|
}>];
|