@seamapi/types 1.437.1 → 1.438.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 +913 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1333 -0
- package/lib/seam/connect/models/events/access-codes.d.ts +204 -0
- package/lib/seam/connect/models/events/access-codes.js +7 -0
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/connect-webviews.d.ts +6 -0
- package/lib/seam/connect/models/events/connect-webviews.js +5 -0
- package/lib/seam/connect/models/events/connect-webviews.js.map +1 -1
- package/lib/seam/connect/models/events/connected-accounts.d.ts +42 -0
- package/lib/seam/connect/models/events/connected-accounts.js +4 -0
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +396 -0
- package/lib/seam/connect/models/events/devices.js +7 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/phones.d.ts +6 -0
- package/lib/seam/connect/models/events/phones.js +4 -0
- package/lib/seam/connect/models/events/phones.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +327 -0
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +3 -0
- package/lib/seam/connect/models/user-identities/user-identity.js +3 -0
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +535 -0
- package/lib/seam/connect/openapi.js +885 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +468 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-codes.ts +11 -0
- package/src/lib/seam/connect/models/events/connect-webviews.ts +8 -0
- package/src/lib/seam/connect/models/events/connected-accounts.ts +6 -0
- package/src/lib/seam/connect/models/events/devices.ts +11 -0
- package/src/lib/seam/connect/models/events/phones.ts +6 -0
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +5 -0
- package/src/lib/seam/connect/openapi.ts +1001 -0
- package/src/lib/seam/connect/route-types.ts +904 -0
|
@@ -8,6 +8,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
8
8
|
access_code_id: z.ZodString;
|
|
9
9
|
device_id: z.ZodString;
|
|
10
10
|
connected_account_id: z.ZodString;
|
|
11
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
12
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
11
13
|
}>, {
|
|
12
14
|
event_type: z.ZodLiteral<"access_code.created">;
|
|
13
15
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -19,6 +21,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
19
21
|
event_id: string;
|
|
20
22
|
occurred_at: string;
|
|
21
23
|
event_type: "access_code.created";
|
|
24
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
25
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
22
26
|
}, {
|
|
23
27
|
device_id: string;
|
|
24
28
|
workspace_id: string;
|
|
@@ -28,6 +32,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
28
32
|
event_id: string;
|
|
29
33
|
occurred_at: string;
|
|
30
34
|
event_type: "access_code.created";
|
|
35
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
36
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
31
37
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
32
38
|
event_id: z.ZodString;
|
|
33
39
|
workspace_id: z.ZodString;
|
|
@@ -37,6 +43,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
37
43
|
access_code_id: z.ZodString;
|
|
38
44
|
device_id: z.ZodString;
|
|
39
45
|
connected_account_id: z.ZodString;
|
|
46
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
47
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
40
48
|
}>, {
|
|
41
49
|
event_type: z.ZodLiteral<"access_code.changed">;
|
|
42
50
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -48,6 +56,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
48
56
|
event_id: string;
|
|
49
57
|
occurred_at: string;
|
|
50
58
|
event_type: "access_code.changed";
|
|
59
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
60
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
51
61
|
}, {
|
|
52
62
|
device_id: string;
|
|
53
63
|
workspace_id: string;
|
|
@@ -57,6 +67,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
57
67
|
event_id: string;
|
|
58
68
|
occurred_at: string;
|
|
59
69
|
event_type: "access_code.changed";
|
|
70
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
71
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
60
72
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
61
73
|
event_id: z.ZodString;
|
|
62
74
|
workspace_id: z.ZodString;
|
|
@@ -66,6 +78,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
66
78
|
access_code_id: z.ZodString;
|
|
67
79
|
device_id: z.ZodString;
|
|
68
80
|
connected_account_id: z.ZodString;
|
|
81
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
82
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
69
83
|
}>, {
|
|
70
84
|
event_type: z.ZodLiteral<"access_code.scheduled_on_device">;
|
|
71
85
|
code: z.ZodString;
|
|
@@ -79,6 +93,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
79
93
|
event_id: string;
|
|
80
94
|
occurred_at: string;
|
|
81
95
|
event_type: "access_code.scheduled_on_device";
|
|
96
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
97
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
82
98
|
}, {
|
|
83
99
|
code: string;
|
|
84
100
|
device_id: string;
|
|
@@ -89,6 +105,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
89
105
|
event_id: string;
|
|
90
106
|
occurred_at: string;
|
|
91
107
|
event_type: "access_code.scheduled_on_device";
|
|
108
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
109
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
92
110
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
93
111
|
event_id: z.ZodString;
|
|
94
112
|
workspace_id: z.ZodString;
|
|
@@ -98,6 +116,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
98
116
|
access_code_id: z.ZodString;
|
|
99
117
|
device_id: z.ZodString;
|
|
100
118
|
connected_account_id: z.ZodString;
|
|
119
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
120
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
101
121
|
}>, {
|
|
102
122
|
event_type: z.ZodLiteral<"access_code.set_on_device">;
|
|
103
123
|
code: z.ZodString;
|
|
@@ -111,6 +131,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
111
131
|
event_id: string;
|
|
112
132
|
occurred_at: string;
|
|
113
133
|
event_type: "access_code.set_on_device";
|
|
134
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
135
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
114
136
|
}, {
|
|
115
137
|
code: string;
|
|
116
138
|
device_id: string;
|
|
@@ -121,6 +143,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
121
143
|
event_id: string;
|
|
122
144
|
occurred_at: string;
|
|
123
145
|
event_type: "access_code.set_on_device";
|
|
146
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
147
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
124
148
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
125
149
|
event_id: z.ZodString;
|
|
126
150
|
workspace_id: z.ZodString;
|
|
@@ -130,6 +154,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
130
154
|
access_code_id: z.ZodString;
|
|
131
155
|
device_id: z.ZodString;
|
|
132
156
|
connected_account_id: z.ZodString;
|
|
157
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
158
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
133
159
|
}>, {
|
|
134
160
|
event_type: z.ZodLiteral<"access_code.removed_from_device">;
|
|
135
161
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -141,6 +167,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
141
167
|
event_id: string;
|
|
142
168
|
occurred_at: string;
|
|
143
169
|
event_type: "access_code.removed_from_device";
|
|
170
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
171
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
144
172
|
}, {
|
|
145
173
|
device_id: string;
|
|
146
174
|
workspace_id: string;
|
|
@@ -150,6 +178,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
150
178
|
event_id: string;
|
|
151
179
|
occurred_at: string;
|
|
152
180
|
event_type: "access_code.removed_from_device";
|
|
181
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
182
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
153
183
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
154
184
|
event_id: z.ZodString;
|
|
155
185
|
workspace_id: z.ZodString;
|
|
@@ -159,6 +189,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
159
189
|
access_code_id: z.ZodString;
|
|
160
190
|
device_id: z.ZodString;
|
|
161
191
|
connected_account_id: z.ZodString;
|
|
192
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
193
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
162
194
|
}>, {
|
|
163
195
|
event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
|
|
164
196
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -170,6 +202,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
170
202
|
event_id: string;
|
|
171
203
|
occurred_at: string;
|
|
172
204
|
event_type: "access_code.delay_in_setting_on_device";
|
|
205
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
206
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
173
207
|
}, {
|
|
174
208
|
device_id: string;
|
|
175
209
|
workspace_id: string;
|
|
@@ -179,6 +213,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
179
213
|
event_id: string;
|
|
180
214
|
occurred_at: string;
|
|
181
215
|
event_type: "access_code.delay_in_setting_on_device";
|
|
216
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
217
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
182
218
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
183
219
|
event_id: z.ZodString;
|
|
184
220
|
workspace_id: z.ZodString;
|
|
@@ -188,6 +224,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
188
224
|
access_code_id: z.ZodString;
|
|
189
225
|
device_id: z.ZodString;
|
|
190
226
|
connected_account_id: z.ZodString;
|
|
227
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
228
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
191
229
|
}>, {
|
|
192
230
|
event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
|
|
193
231
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -199,6 +237,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
199
237
|
event_id: string;
|
|
200
238
|
occurred_at: string;
|
|
201
239
|
event_type: "access_code.failed_to_set_on_device";
|
|
240
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
241
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
202
242
|
}, {
|
|
203
243
|
device_id: string;
|
|
204
244
|
workspace_id: string;
|
|
@@ -208,6 +248,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
208
248
|
event_id: string;
|
|
209
249
|
occurred_at: string;
|
|
210
250
|
event_type: "access_code.failed_to_set_on_device";
|
|
251
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
252
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
211
253
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
212
254
|
event_id: z.ZodString;
|
|
213
255
|
workspace_id: z.ZodString;
|
|
@@ -217,6 +259,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
217
259
|
access_code_id: z.ZodString;
|
|
218
260
|
device_id: z.ZodString;
|
|
219
261
|
connected_account_id: z.ZodString;
|
|
262
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
263
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
220
264
|
}>, {
|
|
221
265
|
event_type: z.ZodLiteral<"access_code.deleted">;
|
|
222
266
|
code: z.ZodNullable<z.ZodString>;
|
|
@@ -230,6 +274,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
230
274
|
event_id: string;
|
|
231
275
|
occurred_at: string;
|
|
232
276
|
event_type: "access_code.deleted";
|
|
277
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
278
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
233
279
|
}, {
|
|
234
280
|
code: string | null;
|
|
235
281
|
device_id: string;
|
|
@@ -240,6 +286,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
240
286
|
event_id: string;
|
|
241
287
|
occurred_at: string;
|
|
242
288
|
event_type: "access_code.deleted";
|
|
289
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
290
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
243
291
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
244
292
|
event_id: z.ZodString;
|
|
245
293
|
workspace_id: z.ZodString;
|
|
@@ -249,6 +297,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
249
297
|
access_code_id: z.ZodString;
|
|
250
298
|
device_id: z.ZodString;
|
|
251
299
|
connected_account_id: z.ZodString;
|
|
300
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
301
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
252
302
|
}>, {
|
|
253
303
|
event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
|
|
254
304
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -260,6 +310,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
260
310
|
event_id: string;
|
|
261
311
|
occurred_at: string;
|
|
262
312
|
event_type: "access_code.delay_in_removing_from_device";
|
|
313
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
314
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
263
315
|
}, {
|
|
264
316
|
device_id: string;
|
|
265
317
|
workspace_id: string;
|
|
@@ -269,6 +321,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
269
321
|
event_id: string;
|
|
270
322
|
occurred_at: string;
|
|
271
323
|
event_type: "access_code.delay_in_removing_from_device";
|
|
324
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
325
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
272
326
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
273
327
|
event_id: z.ZodString;
|
|
274
328
|
workspace_id: z.ZodString;
|
|
@@ -278,6 +332,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
278
332
|
access_code_id: z.ZodString;
|
|
279
333
|
device_id: z.ZodString;
|
|
280
334
|
connected_account_id: z.ZodString;
|
|
335
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
336
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
281
337
|
}>, {
|
|
282
338
|
event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
|
|
283
339
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -289,6 +345,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
289
345
|
event_id: string;
|
|
290
346
|
occurred_at: string;
|
|
291
347
|
event_type: "access_code.failed_to_remove_from_device";
|
|
348
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
349
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
292
350
|
}, {
|
|
293
351
|
device_id: string;
|
|
294
352
|
workspace_id: string;
|
|
@@ -298,6 +356,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
298
356
|
event_id: string;
|
|
299
357
|
occurred_at: string;
|
|
300
358
|
event_type: "access_code.failed_to_remove_from_device";
|
|
359
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
360
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
301
361
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
302
362
|
event_id: z.ZodString;
|
|
303
363
|
workspace_id: z.ZodString;
|
|
@@ -307,6 +367,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
307
367
|
access_code_id: z.ZodString;
|
|
308
368
|
device_id: z.ZodString;
|
|
309
369
|
connected_account_id: z.ZodString;
|
|
370
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
371
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
310
372
|
}>, {
|
|
311
373
|
event_type: z.ZodLiteral<"access_code.modified_external_to_seam">;
|
|
312
374
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -318,6 +380,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
318
380
|
event_id: string;
|
|
319
381
|
occurred_at: string;
|
|
320
382
|
event_type: "access_code.modified_external_to_seam";
|
|
383
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
384
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
321
385
|
}, {
|
|
322
386
|
device_id: string;
|
|
323
387
|
workspace_id: string;
|
|
@@ -327,6 +391,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
327
391
|
event_id: string;
|
|
328
392
|
occurred_at: string;
|
|
329
393
|
event_type: "access_code.modified_external_to_seam";
|
|
394
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
395
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
330
396
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
331
397
|
event_id: z.ZodString;
|
|
332
398
|
workspace_id: z.ZodString;
|
|
@@ -336,6 +402,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
336
402
|
access_code_id: z.ZodString;
|
|
337
403
|
device_id: z.ZodString;
|
|
338
404
|
connected_account_id: z.ZodString;
|
|
405
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
406
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
339
407
|
}>, {
|
|
340
408
|
event_type: z.ZodLiteral<"access_code.deleted_external_to_seam">;
|
|
341
409
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -347,6 +415,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
347
415
|
event_id: string;
|
|
348
416
|
occurred_at: string;
|
|
349
417
|
event_type: "access_code.deleted_external_to_seam";
|
|
418
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
419
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
350
420
|
}, {
|
|
351
421
|
device_id: string;
|
|
352
422
|
workspace_id: string;
|
|
@@ -356,6 +426,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
356
426
|
event_id: string;
|
|
357
427
|
occurred_at: string;
|
|
358
428
|
event_type: "access_code.deleted_external_to_seam";
|
|
429
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
430
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
359
431
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
360
432
|
event_id: z.ZodString;
|
|
361
433
|
workspace_id: z.ZodString;
|
|
@@ -365,6 +437,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
365
437
|
access_code_id: z.ZodString;
|
|
366
438
|
device_id: z.ZodString;
|
|
367
439
|
connected_account_id: z.ZodString;
|
|
440
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
441
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
368
442
|
}>, {
|
|
369
443
|
event_type: z.ZodLiteral<"access_code.backup_access_code_pulled">;
|
|
370
444
|
backup_access_code_id: z.ZodString;
|
|
@@ -378,6 +452,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
378
452
|
occurred_at: string;
|
|
379
453
|
event_type: "access_code.backup_access_code_pulled";
|
|
380
454
|
backup_access_code_id: string;
|
|
455
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
456
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
381
457
|
}, {
|
|
382
458
|
device_id: string;
|
|
383
459
|
workspace_id: string;
|
|
@@ -388,6 +464,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
388
464
|
occurred_at: string;
|
|
389
465
|
event_type: "access_code.backup_access_code_pulled";
|
|
390
466
|
backup_access_code_id: string;
|
|
467
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
468
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
391
469
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
392
470
|
event_id: z.ZodString;
|
|
393
471
|
workspace_id: z.ZodString;
|
|
@@ -397,6 +475,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
397
475
|
access_code_id: z.ZodString;
|
|
398
476
|
device_id: z.ZodString;
|
|
399
477
|
connected_account_id: z.ZodString;
|
|
478
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
479
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
400
480
|
}>, {
|
|
401
481
|
event_type: z.ZodLiteral<"access_code.unmanaged.converted_to_managed">;
|
|
402
482
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -408,6 +488,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
408
488
|
event_id: string;
|
|
409
489
|
occurred_at: string;
|
|
410
490
|
event_type: "access_code.unmanaged.converted_to_managed";
|
|
491
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
492
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
411
493
|
}, {
|
|
412
494
|
device_id: string;
|
|
413
495
|
workspace_id: string;
|
|
@@ -417,6 +499,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
417
499
|
event_id: string;
|
|
418
500
|
occurred_at: string;
|
|
419
501
|
event_type: "access_code.unmanaged.converted_to_managed";
|
|
502
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
503
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
420
504
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
421
505
|
event_id: z.ZodString;
|
|
422
506
|
workspace_id: z.ZodString;
|
|
@@ -426,6 +510,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
426
510
|
access_code_id: z.ZodString;
|
|
427
511
|
device_id: z.ZodString;
|
|
428
512
|
connected_account_id: z.ZodString;
|
|
513
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
514
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
429
515
|
}>, {
|
|
430
516
|
event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
|
|
431
517
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -437,6 +523,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
437
523
|
event_id: string;
|
|
438
524
|
occurred_at: string;
|
|
439
525
|
event_type: "access_code.unmanaged.failed_to_convert_to_managed";
|
|
526
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
527
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
440
528
|
}, {
|
|
441
529
|
device_id: string;
|
|
442
530
|
workspace_id: string;
|
|
@@ -446,6 +534,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
446
534
|
event_id: string;
|
|
447
535
|
occurred_at: string;
|
|
448
536
|
event_type: "access_code.unmanaged.failed_to_convert_to_managed";
|
|
537
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
538
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
449
539
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
450
540
|
event_id: z.ZodString;
|
|
451
541
|
workspace_id: z.ZodString;
|
|
@@ -455,6 +545,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
455
545
|
access_code_id: z.ZodString;
|
|
456
546
|
device_id: z.ZodString;
|
|
457
547
|
connected_account_id: z.ZodString;
|
|
548
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
549
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
458
550
|
}>, {
|
|
459
551
|
event_type: z.ZodLiteral<"access_code.unmanaged.created">;
|
|
460
552
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -466,6 +558,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
466
558
|
event_id: string;
|
|
467
559
|
occurred_at: string;
|
|
468
560
|
event_type: "access_code.unmanaged.created";
|
|
561
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
562
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
469
563
|
}, {
|
|
470
564
|
device_id: string;
|
|
471
565
|
workspace_id: string;
|
|
@@ -475,6 +569,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
475
569
|
event_id: string;
|
|
476
570
|
occurred_at: string;
|
|
477
571
|
event_type: "access_code.unmanaged.created";
|
|
572
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
573
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
478
574
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
479
575
|
event_id: z.ZodString;
|
|
480
576
|
workspace_id: z.ZodString;
|
|
@@ -484,6 +580,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
484
580
|
access_code_id: z.ZodString;
|
|
485
581
|
device_id: z.ZodString;
|
|
486
582
|
connected_account_id: z.ZodString;
|
|
583
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
584
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
487
585
|
}>, {
|
|
488
586
|
event_type: z.ZodLiteral<"access_code.unmanaged.removed">;
|
|
489
587
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -495,6 +593,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
495
593
|
event_id: string;
|
|
496
594
|
occurred_at: string;
|
|
497
595
|
event_type: "access_code.unmanaged.removed";
|
|
596
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
597
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
498
598
|
}, {
|
|
499
599
|
device_id: string;
|
|
500
600
|
workspace_id: string;
|
|
@@ -504,6 +604,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
504
604
|
event_id: string;
|
|
505
605
|
occurred_at: string;
|
|
506
606
|
event_type: "access_code.unmanaged.removed";
|
|
607
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
608
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
507
609
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
508
610
|
event_id: z.ZodString;
|
|
509
611
|
workspace_id: z.ZodString;
|
|
@@ -1178,6 +1280,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1178
1280
|
occurred_at: z.ZodString;
|
|
1179
1281
|
}, {
|
|
1180
1282
|
connected_account_id: z.ZodString;
|
|
1283
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1181
1284
|
}>, {
|
|
1182
1285
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
1183
1286
|
connect_webview_id: z.ZodString;
|
|
@@ -1189,6 +1292,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1189
1292
|
event_id: string;
|
|
1190
1293
|
occurred_at: string;
|
|
1191
1294
|
event_type: "connected_account.connected";
|
|
1295
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1192
1296
|
}, {
|
|
1193
1297
|
workspace_id: string;
|
|
1194
1298
|
created_at: string;
|
|
@@ -1197,6 +1301,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1197
1301
|
event_id: string;
|
|
1198
1302
|
occurred_at: string;
|
|
1199
1303
|
event_type: "connected_account.connected";
|
|
1304
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1200
1305
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1201
1306
|
event_id: z.ZodString;
|
|
1202
1307
|
workspace_id: z.ZodString;
|
|
@@ -1204,6 +1309,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1204
1309
|
occurred_at: z.ZodString;
|
|
1205
1310
|
}, {
|
|
1206
1311
|
connected_account_id: z.ZodString;
|
|
1312
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1207
1313
|
}>, {
|
|
1208
1314
|
event_type: z.ZodLiteral<"connected_account.created">;
|
|
1209
1315
|
connect_webview_id: z.ZodString;
|
|
@@ -1215,6 +1321,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1215
1321
|
event_id: string;
|
|
1216
1322
|
occurred_at: string;
|
|
1217
1323
|
event_type: "connected_account.created";
|
|
1324
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1218
1325
|
}, {
|
|
1219
1326
|
workspace_id: string;
|
|
1220
1327
|
created_at: string;
|
|
@@ -1223,6 +1330,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1223
1330
|
event_id: string;
|
|
1224
1331
|
occurred_at: string;
|
|
1225
1332
|
event_type: "connected_account.created";
|
|
1333
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1226
1334
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1227
1335
|
event_id: z.ZodString;
|
|
1228
1336
|
workspace_id: z.ZodString;
|
|
@@ -1230,6 +1338,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1230
1338
|
occurred_at: z.ZodString;
|
|
1231
1339
|
}, {
|
|
1232
1340
|
connected_account_id: z.ZodString;
|
|
1341
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1233
1342
|
}>, {
|
|
1234
1343
|
event_type: z.ZodLiteral<"connected_account.successful_login">;
|
|
1235
1344
|
connect_webview_id: z.ZodString;
|
|
@@ -1241,6 +1350,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1241
1350
|
event_id: string;
|
|
1242
1351
|
occurred_at: string;
|
|
1243
1352
|
event_type: "connected_account.successful_login";
|
|
1353
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1244
1354
|
}, {
|
|
1245
1355
|
workspace_id: string;
|
|
1246
1356
|
created_at: string;
|
|
@@ -1249,6 +1359,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1249
1359
|
event_id: string;
|
|
1250
1360
|
occurred_at: string;
|
|
1251
1361
|
event_type: "connected_account.successful_login";
|
|
1362
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1252
1363
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1253
1364
|
event_id: z.ZodString;
|
|
1254
1365
|
workspace_id: z.ZodString;
|
|
@@ -1256,6 +1367,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1256
1367
|
occurred_at: z.ZodString;
|
|
1257
1368
|
}, {
|
|
1258
1369
|
connected_account_id: z.ZodString;
|
|
1370
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1259
1371
|
}>, {
|
|
1260
1372
|
event_type: z.ZodLiteral<"connected_account.disconnected">;
|
|
1261
1373
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1265,6 +1377,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1265
1377
|
event_id: string;
|
|
1266
1378
|
occurred_at: string;
|
|
1267
1379
|
event_type: "connected_account.disconnected";
|
|
1380
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1268
1381
|
}, {
|
|
1269
1382
|
workspace_id: string;
|
|
1270
1383
|
created_at: string;
|
|
@@ -1272,6 +1385,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1272
1385
|
event_id: string;
|
|
1273
1386
|
occurred_at: string;
|
|
1274
1387
|
event_type: "connected_account.disconnected";
|
|
1388
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1275
1389
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1276
1390
|
event_id: z.ZodString;
|
|
1277
1391
|
workspace_id: z.ZodString;
|
|
@@ -1279,6 +1393,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1279
1393
|
occurred_at: z.ZodString;
|
|
1280
1394
|
}, {
|
|
1281
1395
|
connected_account_id: z.ZodString;
|
|
1396
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1282
1397
|
}>, {
|
|
1283
1398
|
event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
|
|
1284
1399
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1288,6 +1403,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1288
1403
|
event_id: string;
|
|
1289
1404
|
occurred_at: string;
|
|
1290
1405
|
event_type: "connected_account.completed_first_sync";
|
|
1406
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1291
1407
|
}, {
|
|
1292
1408
|
workspace_id: string;
|
|
1293
1409
|
created_at: string;
|
|
@@ -1295,6 +1411,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1295
1411
|
event_id: string;
|
|
1296
1412
|
occurred_at: string;
|
|
1297
1413
|
event_type: "connected_account.completed_first_sync";
|
|
1414
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1298
1415
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1299
1416
|
event_id: z.ZodString;
|
|
1300
1417
|
workspace_id: z.ZodString;
|
|
@@ -1302,6 +1419,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1302
1419
|
occurred_at: z.ZodString;
|
|
1303
1420
|
}, {
|
|
1304
1421
|
connected_account_id: z.ZodString;
|
|
1422
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1305
1423
|
}>, {
|
|
1306
1424
|
event_type: z.ZodLiteral<"connected_account.deleted">;
|
|
1307
1425
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1311,6 +1429,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1311
1429
|
event_id: string;
|
|
1312
1430
|
occurred_at: string;
|
|
1313
1431
|
event_type: "connected_account.deleted";
|
|
1432
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1314
1433
|
}, {
|
|
1315
1434
|
workspace_id: string;
|
|
1316
1435
|
created_at: string;
|
|
@@ -1318,6 +1437,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1318
1437
|
event_id: string;
|
|
1319
1438
|
occurred_at: string;
|
|
1320
1439
|
event_type: "connected_account.deleted";
|
|
1440
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1321
1441
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1322
1442
|
event_id: z.ZodString;
|
|
1323
1443
|
workspace_id: z.ZodString;
|
|
@@ -1325,6 +1445,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1325
1445
|
occurred_at: z.ZodString;
|
|
1326
1446
|
}, {
|
|
1327
1447
|
connected_account_id: z.ZodString;
|
|
1448
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1328
1449
|
}>, {
|
|
1329
1450
|
event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
|
|
1330
1451
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1334,6 +1455,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1334
1455
|
event_id: string;
|
|
1335
1456
|
occurred_at: string;
|
|
1336
1457
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
1458
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1337
1459
|
}, {
|
|
1338
1460
|
workspace_id: string;
|
|
1339
1461
|
created_at: string;
|
|
@@ -1341,6 +1463,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1341
1463
|
event_id: string;
|
|
1342
1464
|
occurred_at: string;
|
|
1343
1465
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
1466
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1344
1467
|
}>, ...(z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1345
1468
|
event_id: z.ZodString;
|
|
1346
1469
|
workspace_id: z.ZodString;
|
|
@@ -1467,6 +1590,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1467
1590
|
}>, {
|
|
1468
1591
|
event_type: z.ZodLiteral<"connect_webview.login_succeeded">;
|
|
1469
1592
|
connected_account_id: z.ZodString;
|
|
1593
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1470
1594
|
}>, "strip", z.ZodTypeAny, {
|
|
1471
1595
|
workspace_id: string;
|
|
1472
1596
|
created_at: string;
|
|
@@ -1475,6 +1599,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1475
1599
|
event_id: string;
|
|
1476
1600
|
occurred_at: string;
|
|
1477
1601
|
event_type: "connect_webview.login_succeeded";
|
|
1602
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1478
1603
|
}, {
|
|
1479
1604
|
workspace_id: string;
|
|
1480
1605
|
created_at: string;
|
|
@@ -1483,6 +1608,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1483
1608
|
event_id: string;
|
|
1484
1609
|
occurred_at: string;
|
|
1485
1610
|
event_type: "connect_webview.login_succeeded";
|
|
1611
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1486
1612
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1487
1613
|
event_id: z.ZodString;
|
|
1488
1614
|
workspace_id: z.ZodString;
|
|
@@ -1514,6 +1640,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1514
1640
|
}, {
|
|
1515
1641
|
device_id: z.ZodString;
|
|
1516
1642
|
connected_account_id: z.ZodString;
|
|
1643
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1644
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1517
1645
|
}>, {
|
|
1518
1646
|
event_type: z.ZodLiteral<"device.connected">;
|
|
1519
1647
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1524,6 +1652,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1524
1652
|
event_id: string;
|
|
1525
1653
|
occurred_at: string;
|
|
1526
1654
|
event_type: "device.connected";
|
|
1655
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1656
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1527
1657
|
}, {
|
|
1528
1658
|
device_id: string;
|
|
1529
1659
|
workspace_id: string;
|
|
@@ -1532,6 +1662,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1532
1662
|
event_id: string;
|
|
1533
1663
|
occurred_at: string;
|
|
1534
1664
|
event_type: "device.connected";
|
|
1665
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1666
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1535
1667
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1536
1668
|
event_id: z.ZodString;
|
|
1537
1669
|
workspace_id: z.ZodString;
|
|
@@ -1540,6 +1672,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1540
1672
|
}, {
|
|
1541
1673
|
device_id: z.ZodString;
|
|
1542
1674
|
connected_account_id: z.ZodString;
|
|
1675
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1676
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1543
1677
|
}>, {
|
|
1544
1678
|
event_type: z.ZodLiteral<"device.added">;
|
|
1545
1679
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1550,6 +1684,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1550
1684
|
event_id: string;
|
|
1551
1685
|
occurred_at: string;
|
|
1552
1686
|
event_type: "device.added";
|
|
1687
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1688
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1553
1689
|
}, {
|
|
1554
1690
|
device_id: string;
|
|
1555
1691
|
workspace_id: string;
|
|
@@ -1558,6 +1694,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1558
1694
|
event_id: string;
|
|
1559
1695
|
occurred_at: string;
|
|
1560
1696
|
event_type: "device.added";
|
|
1697
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1698
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1561
1699
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1562
1700
|
event_id: z.ZodString;
|
|
1563
1701
|
workspace_id: z.ZodString;
|
|
@@ -1566,6 +1704,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1566
1704
|
}, {
|
|
1567
1705
|
device_id: z.ZodString;
|
|
1568
1706
|
connected_account_id: z.ZodString;
|
|
1707
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1708
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1569
1709
|
}>, {
|
|
1570
1710
|
event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
|
|
1571
1711
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1576,6 +1716,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1576
1716
|
event_id: string;
|
|
1577
1717
|
occurred_at: string;
|
|
1578
1718
|
event_type: "device.converted_to_unmanaged";
|
|
1719
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1720
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1579
1721
|
}, {
|
|
1580
1722
|
device_id: string;
|
|
1581
1723
|
workspace_id: string;
|
|
@@ -1584,6 +1726,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1584
1726
|
event_id: string;
|
|
1585
1727
|
occurred_at: string;
|
|
1586
1728
|
event_type: "device.converted_to_unmanaged";
|
|
1729
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1730
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1587
1731
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1588
1732
|
event_id: z.ZodString;
|
|
1589
1733
|
workspace_id: z.ZodString;
|
|
@@ -1592,6 +1736,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1592
1736
|
}, {
|
|
1593
1737
|
device_id: z.ZodString;
|
|
1594
1738
|
connected_account_id: z.ZodString;
|
|
1739
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1740
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1595
1741
|
}>, {
|
|
1596
1742
|
event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
|
|
1597
1743
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1602,6 +1748,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1602
1748
|
event_id: string;
|
|
1603
1749
|
occurred_at: string;
|
|
1604
1750
|
event_type: "device.unmanaged.converted_to_managed";
|
|
1751
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1752
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1605
1753
|
}, {
|
|
1606
1754
|
device_id: string;
|
|
1607
1755
|
workspace_id: string;
|
|
@@ -1610,6 +1758,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1610
1758
|
event_id: string;
|
|
1611
1759
|
occurred_at: string;
|
|
1612
1760
|
event_type: "device.unmanaged.converted_to_managed";
|
|
1761
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1762
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1613
1763
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1614
1764
|
event_id: z.ZodString;
|
|
1615
1765
|
workspace_id: z.ZodString;
|
|
@@ -1618,6 +1768,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1618
1768
|
}, {
|
|
1619
1769
|
device_id: z.ZodString;
|
|
1620
1770
|
connected_account_id: z.ZodString;
|
|
1771
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1772
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1621
1773
|
}>, {
|
|
1622
1774
|
event_type: z.ZodLiteral<"device.unmanaged.connected">;
|
|
1623
1775
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1628,6 +1780,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1628
1780
|
event_id: string;
|
|
1629
1781
|
occurred_at: string;
|
|
1630
1782
|
event_type: "device.unmanaged.connected";
|
|
1783
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1784
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1631
1785
|
}, {
|
|
1632
1786
|
device_id: string;
|
|
1633
1787
|
workspace_id: string;
|
|
@@ -1636,6 +1790,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1636
1790
|
event_id: string;
|
|
1637
1791
|
occurred_at: string;
|
|
1638
1792
|
event_type: "device.unmanaged.connected";
|
|
1793
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1794
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1639
1795
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1640
1796
|
event_id: z.ZodString;
|
|
1641
1797
|
workspace_id: z.ZodString;
|
|
@@ -1644,6 +1800,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1644
1800
|
}, {
|
|
1645
1801
|
device_id: z.ZodString;
|
|
1646
1802
|
connected_account_id: z.ZodString;
|
|
1803
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1804
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1647
1805
|
}>, {
|
|
1648
1806
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
1649
1807
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
@@ -1656,6 +1814,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1656
1814
|
event_id: string;
|
|
1657
1815
|
occurred_at: string;
|
|
1658
1816
|
event_type: "device.disconnected";
|
|
1817
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1818
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1659
1819
|
}, {
|
|
1660
1820
|
device_id: string;
|
|
1661
1821
|
workspace_id: string;
|
|
@@ -1665,6 +1825,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1665
1825
|
event_id: string;
|
|
1666
1826
|
occurred_at: string;
|
|
1667
1827
|
event_type: "device.disconnected";
|
|
1828
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1829
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1668
1830
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1669
1831
|
event_id: z.ZodString;
|
|
1670
1832
|
workspace_id: z.ZodString;
|
|
@@ -1673,6 +1835,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1673
1835
|
}, {
|
|
1674
1836
|
device_id: z.ZodString;
|
|
1675
1837
|
connected_account_id: z.ZodString;
|
|
1838
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1839
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1676
1840
|
}>, {
|
|
1677
1841
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
1678
1842
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
@@ -1685,6 +1849,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1685
1849
|
event_id: string;
|
|
1686
1850
|
occurred_at: string;
|
|
1687
1851
|
event_type: "device.unmanaged.disconnected";
|
|
1852
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1853
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1688
1854
|
}, {
|
|
1689
1855
|
device_id: string;
|
|
1690
1856
|
workspace_id: string;
|
|
@@ -1694,6 +1860,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1694
1860
|
event_id: string;
|
|
1695
1861
|
occurred_at: string;
|
|
1696
1862
|
event_type: "device.unmanaged.disconnected";
|
|
1863
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1864
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1697
1865
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1698
1866
|
event_id: z.ZodString;
|
|
1699
1867
|
workspace_id: z.ZodString;
|
|
@@ -1702,6 +1870,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1702
1870
|
}, {
|
|
1703
1871
|
device_id: z.ZodString;
|
|
1704
1872
|
connected_account_id: z.ZodString;
|
|
1873
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1874
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1705
1875
|
}>, {
|
|
1706
1876
|
event_type: z.ZodLiteral<"device.tampered">;
|
|
1707
1877
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1712,6 +1882,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1712
1882
|
event_id: string;
|
|
1713
1883
|
occurred_at: string;
|
|
1714
1884
|
event_type: "device.tampered";
|
|
1885
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1886
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1715
1887
|
}, {
|
|
1716
1888
|
device_id: string;
|
|
1717
1889
|
workspace_id: string;
|
|
@@ -1720,6 +1892,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1720
1892
|
event_id: string;
|
|
1721
1893
|
occurred_at: string;
|
|
1722
1894
|
event_type: "device.tampered";
|
|
1895
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1896
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1723
1897
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1724
1898
|
event_id: z.ZodString;
|
|
1725
1899
|
workspace_id: z.ZodString;
|
|
@@ -1728,6 +1902,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1728
1902
|
}, {
|
|
1729
1903
|
device_id: z.ZodString;
|
|
1730
1904
|
connected_account_id: z.ZodString;
|
|
1905
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1906
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1731
1907
|
}>, {
|
|
1732
1908
|
event_type: z.ZodLiteral<"device.low_battery">;
|
|
1733
1909
|
battery_level: z.ZodNumber;
|
|
@@ -1740,6 +1916,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1740
1916
|
event_id: string;
|
|
1741
1917
|
occurred_at: string;
|
|
1742
1918
|
event_type: "device.low_battery";
|
|
1919
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1920
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1743
1921
|
}, {
|
|
1744
1922
|
device_id: string;
|
|
1745
1923
|
workspace_id: string;
|
|
@@ -1749,6 +1927,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1749
1927
|
event_id: string;
|
|
1750
1928
|
occurred_at: string;
|
|
1751
1929
|
event_type: "device.low_battery";
|
|
1930
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1931
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1752
1932
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1753
1933
|
event_id: z.ZodString;
|
|
1754
1934
|
workspace_id: z.ZodString;
|
|
@@ -1757,6 +1937,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1757
1937
|
}, {
|
|
1758
1938
|
device_id: z.ZodString;
|
|
1759
1939
|
connected_account_id: z.ZodString;
|
|
1940
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1941
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1760
1942
|
}>, {
|
|
1761
1943
|
event_type: z.ZodLiteral<"device.battery_status_changed">;
|
|
1762
1944
|
battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
@@ -1771,6 +1953,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1771
1953
|
occurred_at: string;
|
|
1772
1954
|
event_type: "device.battery_status_changed";
|
|
1773
1955
|
battery_status: "low" | "full" | "critical" | "good";
|
|
1956
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1957
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1774
1958
|
}, {
|
|
1775
1959
|
device_id: string;
|
|
1776
1960
|
workspace_id: string;
|
|
@@ -1781,6 +1965,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1781
1965
|
occurred_at: string;
|
|
1782
1966
|
event_type: "device.battery_status_changed";
|
|
1783
1967
|
battery_status: "low" | "full" | "critical" | "good";
|
|
1968
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1969
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1784
1970
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1785
1971
|
event_id: z.ZodString;
|
|
1786
1972
|
workspace_id: z.ZodString;
|
|
@@ -1789,6 +1975,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1789
1975
|
}, {
|
|
1790
1976
|
device_id: z.ZodString;
|
|
1791
1977
|
connected_account_id: z.ZodString;
|
|
1978
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1979
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1792
1980
|
}>, {
|
|
1793
1981
|
event_type: z.ZodLiteral<"device.removed">;
|
|
1794
1982
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1799,6 +1987,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1799
1987
|
event_id: string;
|
|
1800
1988
|
occurred_at: string;
|
|
1801
1989
|
event_type: "device.removed";
|
|
1990
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1991
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1802
1992
|
}, {
|
|
1803
1993
|
device_id: string;
|
|
1804
1994
|
workspace_id: string;
|
|
@@ -1807,6 +1997,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1807
1997
|
event_id: string;
|
|
1808
1998
|
occurred_at: string;
|
|
1809
1999
|
event_type: "device.removed";
|
|
2000
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2001
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1810
2002
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1811
2003
|
event_id: z.ZodString;
|
|
1812
2004
|
workspace_id: z.ZodString;
|
|
@@ -1815,6 +2007,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1815
2007
|
}, {
|
|
1816
2008
|
device_id: z.ZodString;
|
|
1817
2009
|
connected_account_id: z.ZodString;
|
|
2010
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2011
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1818
2012
|
}>, {
|
|
1819
2013
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
1820
2014
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1825,6 +2019,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1825
2019
|
event_id: string;
|
|
1826
2020
|
occurred_at: string;
|
|
1827
2021
|
event_type: "device.deleted";
|
|
2022
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2023
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1828
2024
|
}, {
|
|
1829
2025
|
device_id: string;
|
|
1830
2026
|
workspace_id: string;
|
|
@@ -1833,6 +2029,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1833
2029
|
event_id: string;
|
|
1834
2030
|
occurred_at: string;
|
|
1835
2031
|
event_type: "device.deleted";
|
|
2032
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2033
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1836
2034
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1837
2035
|
event_id: z.ZodString;
|
|
1838
2036
|
workspace_id: z.ZodString;
|
|
@@ -1841,6 +2039,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1841
2039
|
}, {
|
|
1842
2040
|
device_id: z.ZodString;
|
|
1843
2041
|
connected_account_id: z.ZodString;
|
|
2042
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2043
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1844
2044
|
}>, {
|
|
1845
2045
|
event_type: z.ZodLiteral<"device.third_party_integration_detected">;
|
|
1846
2046
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1851,6 +2051,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1851
2051
|
event_id: string;
|
|
1852
2052
|
occurred_at: string;
|
|
1853
2053
|
event_type: "device.third_party_integration_detected";
|
|
2054
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2055
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1854
2056
|
}, {
|
|
1855
2057
|
device_id: string;
|
|
1856
2058
|
workspace_id: string;
|
|
@@ -1859,6 +2061,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1859
2061
|
event_id: string;
|
|
1860
2062
|
occurred_at: string;
|
|
1861
2063
|
event_type: "device.third_party_integration_detected";
|
|
2064
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2065
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1862
2066
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1863
2067
|
event_id: z.ZodString;
|
|
1864
2068
|
workspace_id: z.ZodString;
|
|
@@ -1867,6 +2071,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1867
2071
|
}, {
|
|
1868
2072
|
device_id: z.ZodString;
|
|
1869
2073
|
connected_account_id: z.ZodString;
|
|
2074
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2075
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1870
2076
|
}>, {
|
|
1871
2077
|
event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
|
|
1872
2078
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1877,6 +2083,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1877
2083
|
event_id: string;
|
|
1878
2084
|
occurred_at: string;
|
|
1879
2085
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
2086
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2087
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1880
2088
|
}, {
|
|
1881
2089
|
device_id: string;
|
|
1882
2090
|
workspace_id: string;
|
|
@@ -1885,6 +2093,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1885
2093
|
event_id: string;
|
|
1886
2094
|
occurred_at: string;
|
|
1887
2095
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
2096
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2097
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1888
2098
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1889
2099
|
event_id: z.ZodString;
|
|
1890
2100
|
workspace_id: z.ZodString;
|
|
@@ -1893,6 +2103,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1893
2103
|
}, {
|
|
1894
2104
|
device_id: z.ZodString;
|
|
1895
2105
|
connected_account_id: z.ZodString;
|
|
2106
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2107
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1896
2108
|
}>, {
|
|
1897
2109
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
|
|
1898
2110
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1903,6 +2115,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1903
2115
|
event_id: string;
|
|
1904
2116
|
occurred_at: string;
|
|
1905
2117
|
event_type: "device.salto.privacy_mode_activated";
|
|
2118
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2119
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1906
2120
|
}, {
|
|
1907
2121
|
device_id: string;
|
|
1908
2122
|
workspace_id: string;
|
|
@@ -1911,6 +2125,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1911
2125
|
event_id: string;
|
|
1912
2126
|
occurred_at: string;
|
|
1913
2127
|
event_type: "device.salto.privacy_mode_activated";
|
|
2128
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2129
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1914
2130
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1915
2131
|
event_id: z.ZodString;
|
|
1916
2132
|
workspace_id: z.ZodString;
|
|
@@ -1919,6 +2135,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1919
2135
|
}, {
|
|
1920
2136
|
device_id: z.ZodString;
|
|
1921
2137
|
connected_account_id: z.ZodString;
|
|
2138
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2139
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1922
2140
|
}>, {
|
|
1923
2141
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
|
|
1924
2142
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1929,6 +2147,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1929
2147
|
event_id: string;
|
|
1930
2148
|
occurred_at: string;
|
|
1931
2149
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
2150
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2151
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1932
2152
|
}, {
|
|
1933
2153
|
device_id: string;
|
|
1934
2154
|
workspace_id: string;
|
|
@@ -1937,6 +2157,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1937
2157
|
event_id: string;
|
|
1938
2158
|
occurred_at: string;
|
|
1939
2159
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
2160
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2161
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1940
2162
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1941
2163
|
event_id: z.ZodString;
|
|
1942
2164
|
workspace_id: z.ZodString;
|
|
@@ -1945,6 +2167,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1945
2167
|
}, {
|
|
1946
2168
|
device_id: z.ZodString;
|
|
1947
2169
|
connected_account_id: z.ZodString;
|
|
2170
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2171
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1948
2172
|
}>, {
|
|
1949
2173
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
1950
2174
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1955,6 +2179,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1955
2179
|
event_id: string;
|
|
1956
2180
|
occurred_at: string;
|
|
1957
2181
|
event_type: "device.connection_became_flaky";
|
|
2182
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2183
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1958
2184
|
}, {
|
|
1959
2185
|
device_id: string;
|
|
1960
2186
|
workspace_id: string;
|
|
@@ -1963,6 +2189,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1963
2189
|
event_id: string;
|
|
1964
2190
|
occurred_at: string;
|
|
1965
2191
|
event_type: "device.connection_became_flaky";
|
|
2192
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2193
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1966
2194
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1967
2195
|
event_id: z.ZodString;
|
|
1968
2196
|
workspace_id: z.ZodString;
|
|
@@ -1971,6 +2199,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1971
2199
|
}, {
|
|
1972
2200
|
device_id: z.ZodString;
|
|
1973
2201
|
connected_account_id: z.ZodString;
|
|
2202
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2203
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1974
2204
|
}>, {
|
|
1975
2205
|
event_type: z.ZodLiteral<"device.connection_stabilized">;
|
|
1976
2206
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1981,6 +2211,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1981
2211
|
event_id: string;
|
|
1982
2212
|
occurred_at: string;
|
|
1983
2213
|
event_type: "device.connection_stabilized";
|
|
2214
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2215
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1984
2216
|
}, {
|
|
1985
2217
|
device_id: string;
|
|
1986
2218
|
workspace_id: string;
|
|
@@ -1989,6 +2221,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1989
2221
|
event_id: string;
|
|
1990
2222
|
occurred_at: string;
|
|
1991
2223
|
event_type: "device.connection_stabilized";
|
|
2224
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2225
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1992
2226
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1993
2227
|
event_id: z.ZodString;
|
|
1994
2228
|
workspace_id: z.ZodString;
|
|
@@ -1997,6 +2231,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1997
2231
|
}, {
|
|
1998
2232
|
device_id: z.ZodString;
|
|
1999
2233
|
connected_account_id: z.ZodString;
|
|
2234
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2235
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2000
2236
|
}>, {
|
|
2001
2237
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
2002
2238
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -2007,6 +2243,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2007
2243
|
event_id: string;
|
|
2008
2244
|
occurred_at: string;
|
|
2009
2245
|
event_type: "device.error.subscription_required";
|
|
2246
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2247
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2010
2248
|
}, {
|
|
2011
2249
|
device_id: string;
|
|
2012
2250
|
workspace_id: string;
|
|
@@ -2015,6 +2253,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2015
2253
|
event_id: string;
|
|
2016
2254
|
occurred_at: string;
|
|
2017
2255
|
event_type: "device.error.subscription_required";
|
|
2256
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2257
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2018
2258
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2019
2259
|
event_id: z.ZodString;
|
|
2020
2260
|
workspace_id: z.ZodString;
|
|
@@ -2023,6 +2263,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2023
2263
|
}, {
|
|
2024
2264
|
device_id: z.ZodString;
|
|
2025
2265
|
connected_account_id: z.ZodString;
|
|
2266
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2267
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2026
2268
|
}>, {
|
|
2027
2269
|
event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
|
|
2028
2270
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -2033,6 +2275,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2033
2275
|
event_id: string;
|
|
2034
2276
|
occurred_at: string;
|
|
2035
2277
|
event_type: "device.error.subscription_required.resolved";
|
|
2278
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2279
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2036
2280
|
}, {
|
|
2037
2281
|
device_id: string;
|
|
2038
2282
|
workspace_id: string;
|
|
@@ -2041,6 +2285,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2041
2285
|
event_id: string;
|
|
2042
2286
|
occurred_at: string;
|
|
2043
2287
|
event_type: "device.error.subscription_required.resolved";
|
|
2288
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2289
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2044
2290
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2045
2291
|
event_id: z.ZodString;
|
|
2046
2292
|
workspace_id: z.ZodString;
|
|
@@ -2049,6 +2295,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2049
2295
|
}, {
|
|
2050
2296
|
device_id: z.ZodString;
|
|
2051
2297
|
connected_account_id: z.ZodString;
|
|
2298
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2299
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2052
2300
|
}>, {
|
|
2053
2301
|
event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
|
|
2054
2302
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -2059,6 +2307,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2059
2307
|
event_id: string;
|
|
2060
2308
|
occurred_at: string;
|
|
2061
2309
|
event_type: "device.accessory_keypad_connected";
|
|
2310
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2311
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2062
2312
|
}, {
|
|
2063
2313
|
device_id: string;
|
|
2064
2314
|
workspace_id: string;
|
|
@@ -2067,6 +2317,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2067
2317
|
event_id: string;
|
|
2068
2318
|
occurred_at: string;
|
|
2069
2319
|
event_type: "device.accessory_keypad_connected";
|
|
2320
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2321
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2070
2322
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2071
2323
|
event_id: z.ZodString;
|
|
2072
2324
|
workspace_id: z.ZodString;
|
|
@@ -2075,6 +2327,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2075
2327
|
}, {
|
|
2076
2328
|
device_id: z.ZodString;
|
|
2077
2329
|
connected_account_id: z.ZodString;
|
|
2330
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2331
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2078
2332
|
}>, {
|
|
2079
2333
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
2080
2334
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -2085,6 +2339,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2085
2339
|
event_id: string;
|
|
2086
2340
|
occurred_at: string;
|
|
2087
2341
|
event_type: "device.accessory_keypad_disconnected";
|
|
2342
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2343
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2088
2344
|
}, {
|
|
2089
2345
|
device_id: string;
|
|
2090
2346
|
workspace_id: string;
|
|
@@ -2093,6 +2349,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2093
2349
|
event_id: string;
|
|
2094
2350
|
occurred_at: string;
|
|
2095
2351
|
event_type: "device.accessory_keypad_disconnected";
|
|
2352
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2353
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2096
2354
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2097
2355
|
event_id: z.ZodString;
|
|
2098
2356
|
workspace_id: z.ZodString;
|
|
@@ -2101,6 +2359,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2101
2359
|
}, {
|
|
2102
2360
|
device_id: z.ZodString;
|
|
2103
2361
|
connected_account_id: z.ZodString;
|
|
2362
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2363
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2104
2364
|
}>, {
|
|
2105
2365
|
event_type: z.ZodLiteral<"noise_sensor.noise_threshold_triggered">;
|
|
2106
2366
|
noise_level_decibels: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2121,6 +2381,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2121
2381
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
2122
2382
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
2123
2383
|
noise_level_decibels?: number | undefined;
|
|
2384
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2385
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2124
2386
|
noise_threshold_id?: string | undefined;
|
|
2125
2387
|
noise_threshold_name?: string | undefined;
|
|
2126
2388
|
}, {
|
|
@@ -2135,6 +2397,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2135
2397
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
2136
2398
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
2137
2399
|
noise_level_decibels?: number | undefined;
|
|
2400
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2401
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2138
2402
|
noise_threshold_id?: string | undefined;
|
|
2139
2403
|
noise_threshold_name?: string | undefined;
|
|
2140
2404
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -2145,6 +2409,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2145
2409
|
}, {
|
|
2146
2410
|
device_id: z.ZodString;
|
|
2147
2411
|
connected_account_id: z.ZodString;
|
|
2412
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2413
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2148
2414
|
}>, {
|
|
2149
2415
|
event_type: z.ZodLiteral<"lock.locked">;
|
|
2150
2416
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2161,6 +2427,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2161
2427
|
event_type: "lock.locked";
|
|
2162
2428
|
access_code_id?: string | undefined;
|
|
2163
2429
|
action_attempt_id?: string | undefined;
|
|
2430
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2431
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2164
2432
|
}, {
|
|
2165
2433
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2166
2434
|
device_id: string;
|
|
@@ -2172,6 +2440,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2172
2440
|
event_type: "lock.locked";
|
|
2173
2441
|
access_code_id?: string | undefined;
|
|
2174
2442
|
action_attempt_id?: string | undefined;
|
|
2443
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2444
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2175
2445
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2176
2446
|
event_id: z.ZodString;
|
|
2177
2447
|
workspace_id: z.ZodString;
|
|
@@ -2180,6 +2450,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2180
2450
|
}, {
|
|
2181
2451
|
device_id: z.ZodString;
|
|
2182
2452
|
connected_account_id: z.ZodString;
|
|
2453
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2454
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2183
2455
|
}>, {
|
|
2184
2456
|
event_type: z.ZodLiteral<"lock.unlocked">;
|
|
2185
2457
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2196,6 +2468,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2196
2468
|
event_type: "lock.unlocked";
|
|
2197
2469
|
access_code_id?: string | undefined;
|
|
2198
2470
|
action_attempt_id?: string | undefined;
|
|
2471
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2472
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2199
2473
|
}, {
|
|
2200
2474
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2201
2475
|
device_id: string;
|
|
@@ -2207,6 +2481,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2207
2481
|
event_type: "lock.unlocked";
|
|
2208
2482
|
access_code_id?: string | undefined;
|
|
2209
2483
|
action_attempt_id?: string | undefined;
|
|
2484
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2485
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2210
2486
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2211
2487
|
event_id: z.ZodString;
|
|
2212
2488
|
workspace_id: z.ZodString;
|
|
@@ -2215,6 +2491,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2215
2491
|
}, {
|
|
2216
2492
|
device_id: z.ZodString;
|
|
2217
2493
|
connected_account_id: z.ZodString;
|
|
2494
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2495
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2218
2496
|
}>, {
|
|
2219
2497
|
event_type: z.ZodLiteral<"lock.access_denied">;
|
|
2220
2498
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2227,6 +2505,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2227
2505
|
occurred_at: string;
|
|
2228
2506
|
event_type: "lock.access_denied";
|
|
2229
2507
|
access_code_id?: string | undefined;
|
|
2508
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2509
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2230
2510
|
}, {
|
|
2231
2511
|
device_id: string;
|
|
2232
2512
|
workspace_id: string;
|
|
@@ -2236,6 +2516,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2236
2516
|
occurred_at: string;
|
|
2237
2517
|
event_type: "lock.access_denied";
|
|
2238
2518
|
access_code_id?: string | undefined;
|
|
2519
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2520
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2239
2521
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2240
2522
|
event_id: z.ZodString;
|
|
2241
2523
|
workspace_id: z.ZodString;
|
|
@@ -2244,6 +2526,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2244
2526
|
}, {
|
|
2245
2527
|
device_id: z.ZodString;
|
|
2246
2528
|
connected_account_id: z.ZodString;
|
|
2529
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2530
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2247
2531
|
}>, {
|
|
2248
2532
|
event_type: z.ZodLiteral<"thermostat.climate_preset_activated">;
|
|
2249
2533
|
thermostat_schedule_id: z.ZodNullable<z.ZodString>;
|
|
@@ -2260,6 +2544,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2260
2544
|
occurred_at: string;
|
|
2261
2545
|
event_type: "thermostat.climate_preset_activated";
|
|
2262
2546
|
is_fallback_climate_preset: boolean;
|
|
2547
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2548
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2263
2549
|
}, {
|
|
2264
2550
|
climate_preset_key: string;
|
|
2265
2551
|
device_id: string;
|
|
@@ -2271,6 +2557,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2271
2557
|
occurred_at: string;
|
|
2272
2558
|
event_type: "thermostat.climate_preset_activated";
|
|
2273
2559
|
is_fallback_climate_preset: boolean;
|
|
2560
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2561
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2274
2562
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2275
2563
|
event_id: z.ZodString;
|
|
2276
2564
|
workspace_id: z.ZodString;
|
|
@@ -2279,6 +2567,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2279
2567
|
}, {
|
|
2280
2568
|
device_id: z.ZodString;
|
|
2281
2569
|
connected_account_id: z.ZodString;
|
|
2570
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2571
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2282
2572
|
}>, {
|
|
2283
2573
|
event_type: z.ZodLiteral<"thermostat.manually_adjusted">;
|
|
2284
2574
|
method: z.ZodEnum<["seam", "external"]>;
|
|
@@ -2325,6 +2615,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2325
2615
|
heating_set_point_celsius?: number | undefined;
|
|
2326
2616
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
2327
2617
|
heating_set_point_fahrenheit?: number | undefined;
|
|
2618
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2619
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2328
2620
|
}, {
|
|
2329
2621
|
method: "external" | "seam";
|
|
2330
2622
|
device_id: string;
|
|
@@ -2340,6 +2632,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2340
2632
|
heating_set_point_celsius?: number | undefined;
|
|
2341
2633
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
2342
2634
|
heating_set_point_fahrenheit?: number | undefined;
|
|
2635
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2636
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2343
2637
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2344
2638
|
event_id: z.ZodString;
|
|
2345
2639
|
workspace_id: z.ZodString;
|
|
@@ -2348,6 +2642,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2348
2642
|
}, {
|
|
2349
2643
|
device_id: z.ZodString;
|
|
2350
2644
|
connected_account_id: z.ZodString;
|
|
2645
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2646
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2351
2647
|
}>, {
|
|
2352
2648
|
event_type: z.ZodLiteral<"thermostat.temperature_threshold_exceeded">;
|
|
2353
2649
|
temperature_celsius: z.ZodNumber;
|
|
@@ -2370,6 +2666,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2370
2666
|
event_id: string;
|
|
2371
2667
|
occurred_at: string;
|
|
2372
2668
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
2669
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2670
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2373
2671
|
}, {
|
|
2374
2672
|
device_id: string;
|
|
2375
2673
|
workspace_id: string;
|
|
@@ -2384,6 +2682,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2384
2682
|
event_id: string;
|
|
2385
2683
|
occurred_at: string;
|
|
2386
2684
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
2685
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2686
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2387
2687
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2388
2688
|
event_id: z.ZodString;
|
|
2389
2689
|
workspace_id: z.ZodString;
|
|
@@ -2392,6 +2692,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2392
2692
|
}, {
|
|
2393
2693
|
device_id: z.ZodString;
|
|
2394
2694
|
connected_account_id: z.ZodString;
|
|
2695
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2696
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2395
2697
|
}>, {
|
|
2396
2698
|
event_type: z.ZodLiteral<"thermostat.temperature_threshold_no_longer_exceeded">;
|
|
2397
2699
|
temperature_celsius: z.ZodNumber;
|
|
@@ -2414,6 +2716,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2414
2716
|
event_id: string;
|
|
2415
2717
|
occurred_at: string;
|
|
2416
2718
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
2719
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2720
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2417
2721
|
}, {
|
|
2418
2722
|
device_id: string;
|
|
2419
2723
|
workspace_id: string;
|
|
@@ -2428,6 +2732,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2428
2732
|
event_id: string;
|
|
2429
2733
|
occurred_at: string;
|
|
2430
2734
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
2735
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2736
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2431
2737
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2432
2738
|
event_id: z.ZodString;
|
|
2433
2739
|
workspace_id: z.ZodString;
|
|
@@ -2436,6 +2742,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2436
2742
|
}, {
|
|
2437
2743
|
device_id: z.ZodString;
|
|
2438
2744
|
connected_account_id: z.ZodString;
|
|
2745
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2746
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2439
2747
|
}>, {
|
|
2440
2748
|
event_type: z.ZodLiteral<"thermostat.temperature_reached_set_point">;
|
|
2441
2749
|
temperature_celsius: z.ZodNumber;
|
|
@@ -2452,6 +2760,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2452
2760
|
event_id: string;
|
|
2453
2761
|
occurred_at: string;
|
|
2454
2762
|
event_type: "thermostat.temperature_reached_set_point";
|
|
2763
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2764
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2455
2765
|
desired_temperature_celsius?: number | undefined;
|
|
2456
2766
|
desired_temperature_fahrenheit?: number | undefined;
|
|
2457
2767
|
}, {
|
|
@@ -2464,6 +2774,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2464
2774
|
event_id: string;
|
|
2465
2775
|
occurred_at: string;
|
|
2466
2776
|
event_type: "thermostat.temperature_reached_set_point";
|
|
2777
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2778
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2467
2779
|
desired_temperature_celsius?: number | undefined;
|
|
2468
2780
|
desired_temperature_fahrenheit?: number | undefined;
|
|
2469
2781
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -2474,6 +2786,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2474
2786
|
}, {
|
|
2475
2787
|
device_id: z.ZodString;
|
|
2476
2788
|
connected_account_id: z.ZodString;
|
|
2789
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2790
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2477
2791
|
}>, {
|
|
2478
2792
|
event_type: z.ZodLiteral<"thermostat.temperature_changed">;
|
|
2479
2793
|
temperature_celsius: z.ZodNumber;
|
|
@@ -2488,6 +2802,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2488
2802
|
event_id: string;
|
|
2489
2803
|
occurred_at: string;
|
|
2490
2804
|
event_type: "thermostat.temperature_changed";
|
|
2805
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2806
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2491
2807
|
}, {
|
|
2492
2808
|
device_id: string;
|
|
2493
2809
|
workspace_id: string;
|
|
@@ -2498,6 +2814,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2498
2814
|
event_id: string;
|
|
2499
2815
|
occurred_at: string;
|
|
2500
2816
|
event_type: "thermostat.temperature_changed";
|
|
2817
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2818
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2501
2819
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2502
2820
|
event_id: z.ZodString;
|
|
2503
2821
|
workspace_id: z.ZodString;
|
|
@@ -2506,6 +2824,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2506
2824
|
}, {
|
|
2507
2825
|
device_id: z.ZodString;
|
|
2508
2826
|
connected_account_id: z.ZodString;
|
|
2827
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2828
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2509
2829
|
}>, {
|
|
2510
2830
|
event_type: z.ZodLiteral<"device.name_changed">;
|
|
2511
2831
|
device_name: z.ZodString;
|
|
@@ -2518,6 +2838,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2518
2838
|
event_id: string;
|
|
2519
2839
|
occurred_at: string;
|
|
2520
2840
|
event_type: "device.name_changed";
|
|
2841
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2842
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2521
2843
|
}, {
|
|
2522
2844
|
device_id: string;
|
|
2523
2845
|
workspace_id: string;
|
|
@@ -2527,6 +2849,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2527
2849
|
event_id: string;
|
|
2528
2850
|
occurred_at: string;
|
|
2529
2851
|
event_type: "device.name_changed";
|
|
2852
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2853
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2530
2854
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2531
2855
|
event_id: z.ZodString;
|
|
2532
2856
|
workspace_id: z.ZodString;
|
|
@@ -2557,6 +2881,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2557
2881
|
occurred_at: z.ZodString;
|
|
2558
2882
|
}, {
|
|
2559
2883
|
device_id: z.ZodString;
|
|
2884
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2560
2885
|
}>, {
|
|
2561
2886
|
event_type: z.ZodLiteral<"phone.deactivated">;
|
|
2562
2887
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -2566,6 +2891,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2566
2891
|
event_id: string;
|
|
2567
2892
|
occurred_at: string;
|
|
2568
2893
|
event_type: "phone.deactivated";
|
|
2894
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2569
2895
|
}, {
|
|
2570
2896
|
device_id: string;
|
|
2571
2897
|
workspace_id: string;
|
|
@@ -2573,6 +2899,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2573
2899
|
event_id: string;
|
|
2574
2900
|
occurred_at: string;
|
|
2575
2901
|
event_type: "phone.deactivated";
|
|
2902
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2576
2903
|
}>]>;
|
|
2577
2904
|
export type SeamEvent = z.infer<typeof seam_event>;
|
|
2578
2905
|
export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "connect_webview.login_succeeded" | "connect_webview.login_failed", ...("access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "connect_webview.login_succeeded" | "connect_webview.login_failed")[]]>;
|