@seamapi/types 1.441.2 → 1.443.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 +127 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1966 -1914
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +27 -27
- package/dist/index.cjs +127 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +387 -389
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +173 -186
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +18 -18
- package/lib/seam/connect/models/acs/acs-credential.d.ts +63 -63
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +6 -6
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -3
- package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +152 -152
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -45
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -354
- package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/common.d.ts +9 -12
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -105
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +54 -57
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +54 -57
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -15
- package/lib/seam/connect/models/batches/batch.d.ts +128 -120
- package/lib/seam/connect/models/batches/spaces.d.ts +128 -120
- package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +24 -24
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +78 -78
- package/lib/seam/connect/models/customer/access-grant-resources.d.ts +30 -30
- package/lib/seam/connect/models/customer/customer-data.d.ts +57 -57
- package/lib/seam/connect/models/customer/location-resources.d.ts +54 -54
- package/lib/seam/connect/models/customer/user-identity-resources.d.ts +30 -30
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
- package/lib/seam/connect/models/devices/device-provider.d.ts +4 -4
- package/lib/seam/connect/models/devices/device.d.ts +368 -376
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +118 -120
- package/lib/seam/connect/models/events/access-codes.d.ts +136 -136
- package/lib/seam/connect/models/events/access-grants.d.ts +40 -40
- package/lib/seam/connect/models/events/access-methods.d.ts +40 -40
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +10 -10
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
- package/lib/seam/connect/models/events/acs/credentials.d.ts +40 -40
- package/lib/seam/connect/models/events/acs/encoders.d.ts +20 -20
- package/lib/seam/connect/models/events/acs/entrances.d.ts +20 -20
- package/lib/seam/connect/models/events/acs/index.d.ts +67 -67
- package/lib/seam/connect/models/events/acs/systems.d.ts +24 -24
- package/lib/seam/connect/models/events/acs/users.d.ts +20 -20
- package/lib/seam/connect/models/events/action-attempts.d.ts +32 -32
- package/lib/seam/connect/models/events/client-sessions.d.ts +8 -8
- package/lib/seam/connect/models/events/connect-webviews.d.ts +16 -16
- package/lib/seam/connect/models/events/connected-accounts.d.ts +56 -56
- package/lib/seam/connect/models/events/devices.d.ts +266 -266
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +8 -8
- package/lib/seam/connect/models/events/phones.d.ts +8 -8
- package/lib/seam/connect/models/events/seam-event.d.ts +372 -372
- package/lib/seam/connect/models/phones/phone-session.d.ts +50 -50
- package/lib/seam/connect/models/spaces/space.d.ts +6 -0
- package/lib/seam/connect/models/spaces/space.js +2 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +18 -18
- package/lib/seam/connect/openapi.d.ts +81 -0
- package/lib/seam/connect/openapi.js +123 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +36 -1
- package/lib/seam/devicedb/models/device-model.d.ts +15 -15
- package/lib/seam/devicedb/route-specs.d.ts +12 -12
- package/package.json +8 -7
- package/src/lib/seam/connect/models/spaces/space.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +137 -0
- package/src/lib/seam/connect/route-types.ts +36 -1
- package/lib/seam/connect/internal/enums.d.ts +0 -1
- package/lib/seam/connect/internal/enums.js +0 -2
- package/lib/seam/connect/internal/enums.js.map +0 -1
- package/lib/seam/connect/internal/index.d.ts +0 -4
- package/lib/seam/connect/internal/index.js +0 -5
- package/lib/seam/connect/internal/index.js.map +0 -1
- package/lib/seam/connect/internal/model-types.d.ts +0 -2
- package/lib/seam/connect/internal/model-types.js +0 -2
- package/lib/seam/connect/internal/model-types.js.map +0 -1
- package/lib/seam/connect/internal/schemas.d.ts +0 -2
- package/lib/seam/connect/internal/schemas.js +0 -3
- package/lib/seam/connect/internal/schemas.js.map +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<
|
|
2
|
+
export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
3
3
|
event_id: z.ZodString;
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
-
}
|
|
7
|
+
} & {
|
|
8
8
|
access_code_id: z.ZodString;
|
|
9
9
|
device_id: z.ZodString;
|
|
10
10
|
connected_account_id: z.ZodString;
|
|
11
11
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
12
12
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
13
|
-
}
|
|
13
|
+
} & {
|
|
14
14
|
event_type: z.ZodLiteral<"access_code.created">;
|
|
15
|
-
}
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
device_id: string;
|
|
17
17
|
workspace_id: string;
|
|
18
18
|
created_at: string;
|
|
@@ -34,20 +34,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
34
34
|
event_type: "access_code.created";
|
|
35
35
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
36
36
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
37
|
-
}>, z.ZodObject<
|
|
37
|
+
}>, z.ZodObject<{
|
|
38
38
|
event_id: z.ZodString;
|
|
39
39
|
workspace_id: z.ZodString;
|
|
40
40
|
created_at: z.ZodString;
|
|
41
41
|
occurred_at: z.ZodString;
|
|
42
|
-
}
|
|
42
|
+
} & {
|
|
43
43
|
access_code_id: z.ZodString;
|
|
44
44
|
device_id: z.ZodString;
|
|
45
45
|
connected_account_id: z.ZodString;
|
|
46
46
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
47
47
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
48
|
-
}
|
|
48
|
+
} & {
|
|
49
49
|
event_type: z.ZodLiteral<"access_code.changed">;
|
|
50
|
-
}
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
51
|
device_id: string;
|
|
52
52
|
workspace_id: string;
|
|
53
53
|
created_at: string;
|
|
@@ -69,21 +69,21 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
69
69
|
event_type: "access_code.changed";
|
|
70
70
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
71
71
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
72
|
-
}>, z.ZodObject<
|
|
72
|
+
}>, z.ZodObject<{
|
|
73
73
|
event_id: z.ZodString;
|
|
74
74
|
workspace_id: z.ZodString;
|
|
75
75
|
created_at: z.ZodString;
|
|
76
76
|
occurred_at: z.ZodString;
|
|
77
|
-
}
|
|
77
|
+
} & {
|
|
78
78
|
access_code_id: z.ZodString;
|
|
79
79
|
device_id: z.ZodString;
|
|
80
80
|
connected_account_id: z.ZodString;
|
|
81
81
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
82
82
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
83
|
-
}
|
|
83
|
+
} & {
|
|
84
84
|
event_type: z.ZodLiteral<"access_code.scheduled_on_device">;
|
|
85
85
|
code: z.ZodString;
|
|
86
|
-
}
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
87
|
code: string;
|
|
88
88
|
device_id: string;
|
|
89
89
|
workspace_id: string;
|
|
@@ -107,21 +107,21 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
107
107
|
event_type: "access_code.scheduled_on_device";
|
|
108
108
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
109
109
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
110
|
-
}>, z.ZodObject<
|
|
110
|
+
}>, z.ZodObject<{
|
|
111
111
|
event_id: z.ZodString;
|
|
112
112
|
workspace_id: z.ZodString;
|
|
113
113
|
created_at: z.ZodString;
|
|
114
114
|
occurred_at: z.ZodString;
|
|
115
|
-
}
|
|
115
|
+
} & {
|
|
116
116
|
access_code_id: z.ZodString;
|
|
117
117
|
device_id: z.ZodString;
|
|
118
118
|
connected_account_id: z.ZodString;
|
|
119
119
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
120
120
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
121
|
-
}
|
|
121
|
+
} & {
|
|
122
122
|
event_type: z.ZodLiteral<"access_code.set_on_device">;
|
|
123
123
|
code: z.ZodString;
|
|
124
|
-
}
|
|
124
|
+
}, "strip", z.ZodTypeAny, {
|
|
125
125
|
code: string;
|
|
126
126
|
device_id: string;
|
|
127
127
|
workspace_id: string;
|
|
@@ -145,20 +145,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
145
145
|
event_type: "access_code.set_on_device";
|
|
146
146
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
147
147
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
148
|
-
}>, z.ZodObject<
|
|
148
|
+
}>, z.ZodObject<{
|
|
149
149
|
event_id: z.ZodString;
|
|
150
150
|
workspace_id: z.ZodString;
|
|
151
151
|
created_at: z.ZodString;
|
|
152
152
|
occurred_at: z.ZodString;
|
|
153
|
-
}
|
|
153
|
+
} & {
|
|
154
154
|
access_code_id: z.ZodString;
|
|
155
155
|
device_id: z.ZodString;
|
|
156
156
|
connected_account_id: z.ZodString;
|
|
157
157
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
158
158
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
159
|
-
}
|
|
159
|
+
} & {
|
|
160
160
|
event_type: z.ZodLiteral<"access_code.removed_from_device">;
|
|
161
|
-
}
|
|
161
|
+
}, "strip", z.ZodTypeAny, {
|
|
162
162
|
device_id: string;
|
|
163
163
|
workspace_id: string;
|
|
164
164
|
created_at: string;
|
|
@@ -180,20 +180,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
180
180
|
event_type: "access_code.removed_from_device";
|
|
181
181
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
182
182
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
183
|
-
}>, z.ZodObject<
|
|
183
|
+
}>, z.ZodObject<{
|
|
184
184
|
event_id: z.ZodString;
|
|
185
185
|
workspace_id: z.ZodString;
|
|
186
186
|
created_at: z.ZodString;
|
|
187
187
|
occurred_at: z.ZodString;
|
|
188
|
-
}
|
|
188
|
+
} & {
|
|
189
189
|
access_code_id: z.ZodString;
|
|
190
190
|
device_id: z.ZodString;
|
|
191
191
|
connected_account_id: z.ZodString;
|
|
192
192
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
193
193
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
194
|
-
}
|
|
194
|
+
} & {
|
|
195
195
|
event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
|
|
196
|
-
}
|
|
196
|
+
}, "strip", z.ZodTypeAny, {
|
|
197
197
|
device_id: string;
|
|
198
198
|
workspace_id: string;
|
|
199
199
|
created_at: string;
|
|
@@ -215,20 +215,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
215
215
|
event_type: "access_code.delay_in_setting_on_device";
|
|
216
216
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
217
217
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
218
|
-
}>, z.ZodObject<
|
|
218
|
+
}>, z.ZodObject<{
|
|
219
219
|
event_id: z.ZodString;
|
|
220
220
|
workspace_id: z.ZodString;
|
|
221
221
|
created_at: z.ZodString;
|
|
222
222
|
occurred_at: z.ZodString;
|
|
223
|
-
}
|
|
223
|
+
} & {
|
|
224
224
|
access_code_id: z.ZodString;
|
|
225
225
|
device_id: z.ZodString;
|
|
226
226
|
connected_account_id: z.ZodString;
|
|
227
227
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
228
228
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
229
|
-
}
|
|
229
|
+
} & {
|
|
230
230
|
event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
|
|
231
|
-
}
|
|
231
|
+
}, "strip", z.ZodTypeAny, {
|
|
232
232
|
device_id: string;
|
|
233
233
|
workspace_id: string;
|
|
234
234
|
created_at: string;
|
|
@@ -250,21 +250,21 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
250
250
|
event_type: "access_code.failed_to_set_on_device";
|
|
251
251
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
252
252
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
253
|
-
}>, z.ZodObject<
|
|
253
|
+
}>, z.ZodObject<{
|
|
254
254
|
event_id: z.ZodString;
|
|
255
255
|
workspace_id: z.ZodString;
|
|
256
256
|
created_at: z.ZodString;
|
|
257
257
|
occurred_at: z.ZodString;
|
|
258
|
-
}
|
|
258
|
+
} & {
|
|
259
259
|
access_code_id: z.ZodString;
|
|
260
260
|
device_id: z.ZodString;
|
|
261
261
|
connected_account_id: z.ZodString;
|
|
262
262
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
263
263
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
264
|
-
}
|
|
264
|
+
} & {
|
|
265
265
|
event_type: z.ZodLiteral<"access_code.deleted">;
|
|
266
266
|
code: z.ZodNullable<z.ZodString>;
|
|
267
|
-
}
|
|
267
|
+
}, "strip", z.ZodTypeAny, {
|
|
268
268
|
code: string | null;
|
|
269
269
|
device_id: string;
|
|
270
270
|
workspace_id: string;
|
|
@@ -288,20 +288,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
288
288
|
event_type: "access_code.deleted";
|
|
289
289
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
290
290
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
291
|
-
}>, z.ZodObject<
|
|
291
|
+
}>, z.ZodObject<{
|
|
292
292
|
event_id: z.ZodString;
|
|
293
293
|
workspace_id: z.ZodString;
|
|
294
294
|
created_at: z.ZodString;
|
|
295
295
|
occurred_at: z.ZodString;
|
|
296
|
-
}
|
|
296
|
+
} & {
|
|
297
297
|
access_code_id: z.ZodString;
|
|
298
298
|
device_id: z.ZodString;
|
|
299
299
|
connected_account_id: z.ZodString;
|
|
300
300
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
301
301
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
302
|
-
}
|
|
302
|
+
} & {
|
|
303
303
|
event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
|
|
304
|
-
}
|
|
304
|
+
}, "strip", z.ZodTypeAny, {
|
|
305
305
|
device_id: string;
|
|
306
306
|
workspace_id: string;
|
|
307
307
|
created_at: string;
|
|
@@ -323,20 +323,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
323
323
|
event_type: "access_code.delay_in_removing_from_device";
|
|
324
324
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
325
325
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
326
|
-
}>, z.ZodObject<
|
|
326
|
+
}>, z.ZodObject<{
|
|
327
327
|
event_id: z.ZodString;
|
|
328
328
|
workspace_id: z.ZodString;
|
|
329
329
|
created_at: z.ZodString;
|
|
330
330
|
occurred_at: z.ZodString;
|
|
331
|
-
}
|
|
331
|
+
} & {
|
|
332
332
|
access_code_id: z.ZodString;
|
|
333
333
|
device_id: z.ZodString;
|
|
334
334
|
connected_account_id: z.ZodString;
|
|
335
335
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
336
336
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
337
|
-
}
|
|
337
|
+
} & {
|
|
338
338
|
event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
|
|
339
|
-
}
|
|
339
|
+
}, "strip", z.ZodTypeAny, {
|
|
340
340
|
device_id: string;
|
|
341
341
|
workspace_id: string;
|
|
342
342
|
created_at: string;
|
|
@@ -358,20 +358,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
358
358
|
event_type: "access_code.failed_to_remove_from_device";
|
|
359
359
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
360
360
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
361
|
-
}>, z.ZodObject<
|
|
361
|
+
}>, z.ZodObject<{
|
|
362
362
|
event_id: z.ZodString;
|
|
363
363
|
workspace_id: z.ZodString;
|
|
364
364
|
created_at: z.ZodString;
|
|
365
365
|
occurred_at: z.ZodString;
|
|
366
|
-
}
|
|
366
|
+
} & {
|
|
367
367
|
access_code_id: z.ZodString;
|
|
368
368
|
device_id: z.ZodString;
|
|
369
369
|
connected_account_id: z.ZodString;
|
|
370
370
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
371
371
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
372
|
-
}
|
|
372
|
+
} & {
|
|
373
373
|
event_type: z.ZodLiteral<"access_code.modified_external_to_seam">;
|
|
374
|
-
}
|
|
374
|
+
}, "strip", z.ZodTypeAny, {
|
|
375
375
|
device_id: string;
|
|
376
376
|
workspace_id: string;
|
|
377
377
|
created_at: string;
|
|
@@ -393,20 +393,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
393
393
|
event_type: "access_code.modified_external_to_seam";
|
|
394
394
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
395
395
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
396
|
-
}>, z.ZodObject<
|
|
396
|
+
}>, z.ZodObject<{
|
|
397
397
|
event_id: z.ZodString;
|
|
398
398
|
workspace_id: z.ZodString;
|
|
399
399
|
created_at: z.ZodString;
|
|
400
400
|
occurred_at: z.ZodString;
|
|
401
|
-
}
|
|
401
|
+
} & {
|
|
402
402
|
access_code_id: z.ZodString;
|
|
403
403
|
device_id: z.ZodString;
|
|
404
404
|
connected_account_id: z.ZodString;
|
|
405
405
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
406
406
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
407
|
-
}
|
|
407
|
+
} & {
|
|
408
408
|
event_type: z.ZodLiteral<"access_code.deleted_external_to_seam">;
|
|
409
|
-
}
|
|
409
|
+
}, "strip", z.ZodTypeAny, {
|
|
410
410
|
device_id: string;
|
|
411
411
|
workspace_id: string;
|
|
412
412
|
created_at: string;
|
|
@@ -428,21 +428,21 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
428
428
|
event_type: "access_code.deleted_external_to_seam";
|
|
429
429
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
430
430
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
431
|
-
}>, z.ZodObject<
|
|
431
|
+
}>, z.ZodObject<{
|
|
432
432
|
event_id: z.ZodString;
|
|
433
433
|
workspace_id: z.ZodString;
|
|
434
434
|
created_at: z.ZodString;
|
|
435
435
|
occurred_at: z.ZodString;
|
|
436
|
-
}
|
|
436
|
+
} & {
|
|
437
437
|
access_code_id: z.ZodString;
|
|
438
438
|
device_id: z.ZodString;
|
|
439
439
|
connected_account_id: z.ZodString;
|
|
440
440
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
441
441
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
442
|
-
}
|
|
442
|
+
} & {
|
|
443
443
|
event_type: z.ZodLiteral<"access_code.backup_access_code_pulled">;
|
|
444
444
|
backup_access_code_id: z.ZodString;
|
|
445
|
-
}
|
|
445
|
+
}, "strip", z.ZodTypeAny, {
|
|
446
446
|
device_id: string;
|
|
447
447
|
workspace_id: string;
|
|
448
448
|
created_at: string;
|
|
@@ -466,20 +466,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
466
466
|
backup_access_code_id: string;
|
|
467
467
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
468
468
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
469
|
-
}>, z.ZodObject<
|
|
469
|
+
}>, z.ZodObject<{
|
|
470
470
|
event_id: z.ZodString;
|
|
471
471
|
workspace_id: z.ZodString;
|
|
472
472
|
created_at: z.ZodString;
|
|
473
473
|
occurred_at: z.ZodString;
|
|
474
|
-
}
|
|
474
|
+
} & {
|
|
475
475
|
access_code_id: z.ZodString;
|
|
476
476
|
device_id: z.ZodString;
|
|
477
477
|
connected_account_id: z.ZodString;
|
|
478
478
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
479
479
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
480
|
-
}
|
|
480
|
+
} & {
|
|
481
481
|
event_type: z.ZodLiteral<"access_code.unmanaged.converted_to_managed">;
|
|
482
|
-
}
|
|
482
|
+
}, "strip", z.ZodTypeAny, {
|
|
483
483
|
device_id: string;
|
|
484
484
|
workspace_id: string;
|
|
485
485
|
created_at: string;
|
|
@@ -501,20 +501,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
501
501
|
event_type: "access_code.unmanaged.converted_to_managed";
|
|
502
502
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
503
503
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
504
|
-
}>, z.ZodObject<
|
|
504
|
+
}>, z.ZodObject<{
|
|
505
505
|
event_id: z.ZodString;
|
|
506
506
|
workspace_id: z.ZodString;
|
|
507
507
|
created_at: z.ZodString;
|
|
508
508
|
occurred_at: z.ZodString;
|
|
509
|
-
}
|
|
509
|
+
} & {
|
|
510
510
|
access_code_id: z.ZodString;
|
|
511
511
|
device_id: z.ZodString;
|
|
512
512
|
connected_account_id: z.ZodString;
|
|
513
513
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
514
514
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
515
|
-
}
|
|
515
|
+
} & {
|
|
516
516
|
event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
|
|
517
|
-
}
|
|
517
|
+
}, "strip", z.ZodTypeAny, {
|
|
518
518
|
device_id: string;
|
|
519
519
|
workspace_id: string;
|
|
520
520
|
created_at: string;
|
|
@@ -536,20 +536,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
536
536
|
event_type: "access_code.unmanaged.failed_to_convert_to_managed";
|
|
537
537
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
538
538
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
539
|
-
}>, z.ZodObject<
|
|
539
|
+
}>, z.ZodObject<{
|
|
540
540
|
event_id: z.ZodString;
|
|
541
541
|
workspace_id: z.ZodString;
|
|
542
542
|
created_at: z.ZodString;
|
|
543
543
|
occurred_at: z.ZodString;
|
|
544
|
-
}
|
|
544
|
+
} & {
|
|
545
545
|
access_code_id: z.ZodString;
|
|
546
546
|
device_id: z.ZodString;
|
|
547
547
|
connected_account_id: z.ZodString;
|
|
548
548
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
549
549
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
550
|
-
}
|
|
550
|
+
} & {
|
|
551
551
|
event_type: z.ZodLiteral<"access_code.unmanaged.created">;
|
|
552
|
-
}
|
|
552
|
+
}, "strip", z.ZodTypeAny, {
|
|
553
553
|
device_id: string;
|
|
554
554
|
workspace_id: string;
|
|
555
555
|
created_at: string;
|
|
@@ -571,20 +571,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
571
571
|
event_type: "access_code.unmanaged.created";
|
|
572
572
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
573
573
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
574
|
-
}>, z.ZodObject<
|
|
574
|
+
}>, z.ZodObject<{
|
|
575
575
|
event_id: z.ZodString;
|
|
576
576
|
workspace_id: z.ZodString;
|
|
577
577
|
created_at: z.ZodString;
|
|
578
578
|
occurred_at: z.ZodString;
|
|
579
|
-
}
|
|
579
|
+
} & {
|
|
580
580
|
access_code_id: z.ZodString;
|
|
581
581
|
device_id: z.ZodString;
|
|
582
582
|
connected_account_id: z.ZodString;
|
|
583
583
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
584
584
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
585
|
-
}
|
|
585
|
+
} & {
|
|
586
586
|
event_type: z.ZodLiteral<"access_code.unmanaged.removed">;
|
|
587
|
-
}
|
|
587
|
+
}, "strip", z.ZodTypeAny, {
|
|
588
588
|
device_id: string;
|
|
589
589
|
workspace_id: string;
|
|
590
590
|
created_at: string;
|
|
@@ -606,16 +606,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
606
606
|
event_type: "access_code.unmanaged.removed";
|
|
607
607
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
608
608
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
609
|
-
}>, z.ZodObject<
|
|
609
|
+
}>, z.ZodObject<{
|
|
610
610
|
event_id: z.ZodString;
|
|
611
611
|
workspace_id: z.ZodString;
|
|
612
612
|
created_at: z.ZodString;
|
|
613
613
|
occurred_at: z.ZodString;
|
|
614
|
-
}
|
|
614
|
+
} & {
|
|
615
615
|
access_grant_id: z.ZodString;
|
|
616
|
-
}
|
|
616
|
+
} & {
|
|
617
617
|
event_type: z.ZodLiteral<"access_grant.created">;
|
|
618
|
-
}
|
|
618
|
+
}, "strip", z.ZodTypeAny, {
|
|
619
619
|
workspace_id: string;
|
|
620
620
|
created_at: string;
|
|
621
621
|
access_grant_id: string;
|
|
@@ -629,16 +629,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
629
629
|
event_id: string;
|
|
630
630
|
occurred_at: string;
|
|
631
631
|
event_type: "access_grant.created";
|
|
632
|
-
}>, z.ZodObject<
|
|
632
|
+
}>, z.ZodObject<{
|
|
633
633
|
event_id: z.ZodString;
|
|
634
634
|
workspace_id: z.ZodString;
|
|
635
635
|
created_at: z.ZodString;
|
|
636
636
|
occurred_at: z.ZodString;
|
|
637
|
-
}
|
|
637
|
+
} & {
|
|
638
638
|
access_grant_id: z.ZodString;
|
|
639
|
-
}
|
|
639
|
+
} & {
|
|
640
640
|
event_type: z.ZodLiteral<"access_grant.deleted">;
|
|
641
|
-
}
|
|
641
|
+
}, "strip", z.ZodTypeAny, {
|
|
642
642
|
workspace_id: string;
|
|
643
643
|
created_at: string;
|
|
644
644
|
access_grant_id: string;
|
|
@@ -652,16 +652,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
652
652
|
event_id: string;
|
|
653
653
|
occurred_at: string;
|
|
654
654
|
event_type: "access_grant.deleted";
|
|
655
|
-
}>, z.ZodObject<
|
|
655
|
+
}>, z.ZodObject<{
|
|
656
656
|
event_id: z.ZodString;
|
|
657
657
|
workspace_id: z.ZodString;
|
|
658
658
|
created_at: z.ZodString;
|
|
659
659
|
occurred_at: z.ZodString;
|
|
660
|
-
}
|
|
660
|
+
} & {
|
|
661
661
|
access_grant_id: z.ZodString;
|
|
662
|
-
}
|
|
662
|
+
} & {
|
|
663
663
|
event_type: z.ZodLiteral<"access_grant.access_granted_to_all_doors">;
|
|
664
|
-
}
|
|
664
|
+
}, "strip", z.ZodTypeAny, {
|
|
665
665
|
workspace_id: string;
|
|
666
666
|
created_at: string;
|
|
667
667
|
access_grant_id: string;
|
|
@@ -675,17 +675,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
675
675
|
event_id: string;
|
|
676
676
|
occurred_at: string;
|
|
677
677
|
event_type: "access_grant.access_granted_to_all_doors";
|
|
678
|
-
}>, z.ZodObject<
|
|
678
|
+
}>, z.ZodObject<{
|
|
679
679
|
event_id: z.ZodString;
|
|
680
680
|
workspace_id: z.ZodString;
|
|
681
681
|
created_at: z.ZodString;
|
|
682
682
|
occurred_at: z.ZodString;
|
|
683
|
-
}
|
|
683
|
+
} & {
|
|
684
684
|
access_grant_id: z.ZodString;
|
|
685
|
-
}
|
|
685
|
+
} & {
|
|
686
686
|
event_type: z.ZodLiteral<"access_grant.access_granted_to_door">;
|
|
687
687
|
acs_entrance_id: z.ZodString;
|
|
688
|
-
}
|
|
688
|
+
}, "strip", z.ZodTypeAny, {
|
|
689
689
|
workspace_id: string;
|
|
690
690
|
created_at: string;
|
|
691
691
|
access_grant_id: string;
|
|
@@ -701,17 +701,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
701
701
|
event_id: string;
|
|
702
702
|
occurred_at: string;
|
|
703
703
|
event_type: "access_grant.access_granted_to_door";
|
|
704
|
-
}>, z.ZodObject<
|
|
704
|
+
}>, z.ZodObject<{
|
|
705
705
|
event_id: z.ZodString;
|
|
706
706
|
workspace_id: z.ZodString;
|
|
707
707
|
created_at: z.ZodString;
|
|
708
708
|
occurred_at: z.ZodString;
|
|
709
|
-
}
|
|
709
|
+
} & {
|
|
710
710
|
access_grant_id: z.ZodString;
|
|
711
|
-
}
|
|
711
|
+
} & {
|
|
712
712
|
event_type: z.ZodLiteral<"access_grant.access_to_door_lost">;
|
|
713
713
|
acs_entrance_id: z.ZodString;
|
|
714
|
-
}
|
|
714
|
+
}, "strip", z.ZodTypeAny, {
|
|
715
715
|
workspace_id: string;
|
|
716
716
|
created_at: string;
|
|
717
717
|
access_grant_id: string;
|
|
@@ -727,16 +727,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
727
727
|
event_id: string;
|
|
728
728
|
occurred_at: string;
|
|
729
729
|
event_type: "access_grant.access_to_door_lost";
|
|
730
|
-
}>, z.ZodObject<
|
|
730
|
+
}>, z.ZodObject<{
|
|
731
731
|
event_id: z.ZodString;
|
|
732
732
|
workspace_id: z.ZodString;
|
|
733
733
|
created_at: z.ZodString;
|
|
734
734
|
occurred_at: z.ZodString;
|
|
735
|
-
}
|
|
735
|
+
} & {
|
|
736
736
|
access_method_id: z.ZodString;
|
|
737
|
-
}
|
|
737
|
+
} & {
|
|
738
738
|
event_type: z.ZodLiteral<"access_method.issued">;
|
|
739
|
-
}
|
|
739
|
+
}, "strip", z.ZodTypeAny, {
|
|
740
740
|
workspace_id: string;
|
|
741
741
|
created_at: string;
|
|
742
742
|
access_method_id: string;
|
|
@@ -750,16 +750,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
750
750
|
event_id: string;
|
|
751
751
|
occurred_at: string;
|
|
752
752
|
event_type: "access_method.issued";
|
|
753
|
-
}>, z.ZodObject<
|
|
753
|
+
}>, z.ZodObject<{
|
|
754
754
|
event_id: z.ZodString;
|
|
755
755
|
workspace_id: z.ZodString;
|
|
756
756
|
created_at: z.ZodString;
|
|
757
757
|
occurred_at: z.ZodString;
|
|
758
|
-
}
|
|
758
|
+
} & {
|
|
759
759
|
access_method_id: z.ZodString;
|
|
760
|
-
}
|
|
760
|
+
} & {
|
|
761
761
|
event_type: z.ZodLiteral<"access_method.revoked">;
|
|
762
|
-
}
|
|
762
|
+
}, "strip", z.ZodTypeAny, {
|
|
763
763
|
workspace_id: string;
|
|
764
764
|
created_at: string;
|
|
765
765
|
access_method_id: string;
|
|
@@ -773,16 +773,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
773
773
|
event_id: string;
|
|
774
774
|
occurred_at: string;
|
|
775
775
|
event_type: "access_method.revoked";
|
|
776
|
-
}>, z.ZodObject<
|
|
776
|
+
}>, z.ZodObject<{
|
|
777
777
|
event_id: z.ZodString;
|
|
778
778
|
workspace_id: z.ZodString;
|
|
779
779
|
created_at: z.ZodString;
|
|
780
780
|
occurred_at: z.ZodString;
|
|
781
|
-
}
|
|
781
|
+
} & {
|
|
782
782
|
access_method_id: z.ZodString;
|
|
783
|
-
}
|
|
783
|
+
} & {
|
|
784
784
|
event_type: z.ZodLiteral<"access_method.card_encoding_required">;
|
|
785
|
-
}
|
|
785
|
+
}, "strip", z.ZodTypeAny, {
|
|
786
786
|
workspace_id: string;
|
|
787
787
|
created_at: string;
|
|
788
788
|
access_method_id: string;
|
|
@@ -796,16 +796,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
796
796
|
event_id: string;
|
|
797
797
|
occurred_at: string;
|
|
798
798
|
event_type: "access_method.card_encoding_required";
|
|
799
|
-
}>, z.ZodObject<
|
|
799
|
+
}>, z.ZodObject<{
|
|
800
800
|
event_id: z.ZodString;
|
|
801
801
|
workspace_id: z.ZodString;
|
|
802
802
|
created_at: z.ZodString;
|
|
803
803
|
occurred_at: z.ZodString;
|
|
804
|
-
}
|
|
804
|
+
} & {
|
|
805
805
|
access_method_id: z.ZodString;
|
|
806
|
-
}
|
|
806
|
+
} & {
|
|
807
807
|
event_type: z.ZodLiteral<"access_method.deleted">;
|
|
808
|
-
}
|
|
808
|
+
}, "strip", z.ZodTypeAny, {
|
|
809
809
|
workspace_id: string;
|
|
810
810
|
created_at: string;
|
|
811
811
|
access_method_id: string;
|
|
@@ -819,16 +819,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
819
819
|
event_id: string;
|
|
820
820
|
occurred_at: string;
|
|
821
821
|
event_type: "access_method.deleted";
|
|
822
|
-
}>, z.ZodObject<
|
|
822
|
+
}>, z.ZodObject<{
|
|
823
823
|
event_id: z.ZodString;
|
|
824
824
|
workspace_id: z.ZodString;
|
|
825
825
|
created_at: z.ZodString;
|
|
826
826
|
occurred_at: z.ZodString;
|
|
827
|
-
}
|
|
827
|
+
} & {
|
|
828
828
|
access_method_id: z.ZodString;
|
|
829
|
-
}
|
|
829
|
+
} & {
|
|
830
830
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
831
|
-
}
|
|
831
|
+
}, "strip", z.ZodTypeAny, {
|
|
832
832
|
workspace_id: string;
|
|
833
833
|
created_at: string;
|
|
834
834
|
access_method_id: string;
|
|
@@ -842,17 +842,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
842
842
|
event_id: string;
|
|
843
843
|
occurred_at: string;
|
|
844
844
|
event_type: "access_method.reissued";
|
|
845
|
-
}>, z.ZodObject<
|
|
845
|
+
}>, z.ZodObject<{
|
|
846
846
|
event_id: z.ZodString;
|
|
847
847
|
workspace_id: z.ZodString;
|
|
848
848
|
created_at: z.ZodString;
|
|
849
849
|
occurred_at: z.ZodString;
|
|
850
|
-
}
|
|
850
|
+
} & {
|
|
851
851
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
852
852
|
acs_system_id: z.ZodString;
|
|
853
|
-
}
|
|
853
|
+
} & {
|
|
854
854
|
event_type: z.ZodLiteral<"acs_system.connected">;
|
|
855
|
-
}
|
|
855
|
+
}, "strip", z.ZodTypeAny, {
|
|
856
856
|
workspace_id: string;
|
|
857
857
|
created_at: string;
|
|
858
858
|
acs_system_id: string;
|
|
@@ -868,17 +868,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
868
868
|
occurred_at: string;
|
|
869
869
|
event_type: "acs_system.connected";
|
|
870
870
|
connected_account_id?: string | undefined;
|
|
871
|
-
}>, z.ZodObject<
|
|
871
|
+
}>, z.ZodObject<{
|
|
872
872
|
event_id: z.ZodString;
|
|
873
873
|
workspace_id: z.ZodString;
|
|
874
874
|
created_at: z.ZodString;
|
|
875
875
|
occurred_at: z.ZodString;
|
|
876
|
-
}
|
|
876
|
+
} & {
|
|
877
877
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
878
878
|
acs_system_id: z.ZodString;
|
|
879
|
-
}
|
|
879
|
+
} & {
|
|
880
880
|
event_type: z.ZodLiteral<"acs_system.added">;
|
|
881
|
-
}
|
|
881
|
+
}, "strip", z.ZodTypeAny, {
|
|
882
882
|
workspace_id: string;
|
|
883
883
|
created_at: string;
|
|
884
884
|
acs_system_id: string;
|
|
@@ -894,17 +894,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
894
894
|
occurred_at: string;
|
|
895
895
|
event_type: "acs_system.added";
|
|
896
896
|
connected_account_id?: string | undefined;
|
|
897
|
-
}>, z.ZodObject<
|
|
897
|
+
}>, z.ZodObject<{
|
|
898
898
|
event_id: z.ZodString;
|
|
899
899
|
workspace_id: z.ZodString;
|
|
900
900
|
created_at: z.ZodString;
|
|
901
901
|
occurred_at: z.ZodString;
|
|
902
|
-
}
|
|
902
|
+
} & {
|
|
903
903
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
904
904
|
acs_system_id: z.ZodString;
|
|
905
|
-
}
|
|
905
|
+
} & {
|
|
906
906
|
event_type: z.ZodLiteral<"acs_system.disconnected">;
|
|
907
|
-
}
|
|
907
|
+
}, "strip", z.ZodTypeAny, {
|
|
908
908
|
workspace_id: string;
|
|
909
909
|
created_at: string;
|
|
910
910
|
acs_system_id: string;
|
|
@@ -920,19 +920,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
920
920
|
occurred_at: string;
|
|
921
921
|
event_type: "acs_system.disconnected";
|
|
922
922
|
connected_account_id?: string | undefined;
|
|
923
|
-
}>, z.ZodObject<
|
|
923
|
+
}>, z.ZodObject<{
|
|
924
924
|
event_id: z.ZodString;
|
|
925
925
|
workspace_id: z.ZodString;
|
|
926
926
|
created_at: z.ZodString;
|
|
927
927
|
occurred_at: z.ZodString;
|
|
928
|
-
}
|
|
928
|
+
} & {
|
|
929
929
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
930
930
|
acs_system_id: z.ZodString;
|
|
931
|
-
}
|
|
931
|
+
} & {
|
|
932
932
|
acs_credential_id: z.ZodString;
|
|
933
|
-
}
|
|
933
|
+
} & {
|
|
934
934
|
event_type: z.ZodLiteral<"acs_credential.deleted">;
|
|
935
|
-
}
|
|
935
|
+
}, "strip", z.ZodTypeAny, {
|
|
936
936
|
workspace_id: string;
|
|
937
937
|
created_at: string;
|
|
938
938
|
acs_system_id: string;
|
|
@@ -950,19 +950,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
950
950
|
occurred_at: string;
|
|
951
951
|
event_type: "acs_credential.deleted";
|
|
952
952
|
connected_account_id?: string | undefined;
|
|
953
|
-
}>, z.ZodObject<
|
|
953
|
+
}>, z.ZodObject<{
|
|
954
954
|
event_id: z.ZodString;
|
|
955
955
|
workspace_id: z.ZodString;
|
|
956
956
|
created_at: z.ZodString;
|
|
957
957
|
occurred_at: z.ZodString;
|
|
958
|
-
}
|
|
958
|
+
} & {
|
|
959
959
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
960
960
|
acs_system_id: z.ZodString;
|
|
961
|
-
}
|
|
961
|
+
} & {
|
|
962
962
|
acs_credential_id: z.ZodString;
|
|
963
|
-
}
|
|
963
|
+
} & {
|
|
964
964
|
event_type: z.ZodLiteral<"acs_credential.issued">;
|
|
965
|
-
}
|
|
965
|
+
}, "strip", z.ZodTypeAny, {
|
|
966
966
|
workspace_id: string;
|
|
967
967
|
created_at: string;
|
|
968
968
|
acs_system_id: string;
|
|
@@ -980,19 +980,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
980
980
|
occurred_at: string;
|
|
981
981
|
event_type: "acs_credential.issued";
|
|
982
982
|
connected_account_id?: string | undefined;
|
|
983
|
-
}>, z.ZodObject<
|
|
983
|
+
}>, z.ZodObject<{
|
|
984
984
|
event_id: z.ZodString;
|
|
985
985
|
workspace_id: z.ZodString;
|
|
986
986
|
created_at: z.ZodString;
|
|
987
987
|
occurred_at: z.ZodString;
|
|
988
|
-
}
|
|
988
|
+
} & {
|
|
989
989
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
990
990
|
acs_system_id: z.ZodString;
|
|
991
|
-
}
|
|
991
|
+
} & {
|
|
992
992
|
acs_credential_id: z.ZodString;
|
|
993
|
-
}
|
|
993
|
+
} & {
|
|
994
994
|
event_type: z.ZodLiteral<"acs_credential.reissued">;
|
|
995
|
-
}
|
|
995
|
+
}, "strip", z.ZodTypeAny, {
|
|
996
996
|
workspace_id: string;
|
|
997
997
|
created_at: string;
|
|
998
998
|
acs_system_id: string;
|
|
@@ -1010,19 +1010,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1010
1010
|
occurred_at: string;
|
|
1011
1011
|
event_type: "acs_credential.reissued";
|
|
1012
1012
|
connected_account_id?: string | undefined;
|
|
1013
|
-
}>, z.ZodObject<
|
|
1013
|
+
}>, z.ZodObject<{
|
|
1014
1014
|
event_id: z.ZodString;
|
|
1015
1015
|
workspace_id: z.ZodString;
|
|
1016
1016
|
created_at: z.ZodString;
|
|
1017
1017
|
occurred_at: z.ZodString;
|
|
1018
|
-
}
|
|
1018
|
+
} & {
|
|
1019
1019
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
1020
1020
|
acs_system_id: z.ZodString;
|
|
1021
|
-
}
|
|
1021
|
+
} & {
|
|
1022
1022
|
acs_credential_id: z.ZodString;
|
|
1023
|
-
}
|
|
1023
|
+
} & {
|
|
1024
1024
|
event_type: z.ZodLiteral<"acs_credential.invalidated">;
|
|
1025
|
-
}
|
|
1025
|
+
}, "strip", z.ZodTypeAny, {
|
|
1026
1026
|
workspace_id: string;
|
|
1027
1027
|
created_at: string;
|
|
1028
1028
|
acs_system_id: string;
|
|
@@ -1040,19 +1040,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1040
1040
|
occurred_at: string;
|
|
1041
1041
|
event_type: "acs_credential.invalidated";
|
|
1042
1042
|
connected_account_id?: string | undefined;
|
|
1043
|
-
}>, z.ZodObject<
|
|
1043
|
+
}>, z.ZodObject<{
|
|
1044
1044
|
event_id: z.ZodString;
|
|
1045
1045
|
workspace_id: z.ZodString;
|
|
1046
1046
|
created_at: z.ZodString;
|
|
1047
1047
|
occurred_at: z.ZodString;
|
|
1048
|
-
}
|
|
1048
|
+
} & {
|
|
1049
1049
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
1050
1050
|
acs_system_id: z.ZodString;
|
|
1051
|
-
}
|
|
1051
|
+
} & {
|
|
1052
1052
|
acs_user_id: z.ZodString;
|
|
1053
|
-
}
|
|
1053
|
+
} & {
|
|
1054
1054
|
event_type: z.ZodLiteral<"acs_user.created">;
|
|
1055
|
-
}
|
|
1055
|
+
}, "strip", z.ZodTypeAny, {
|
|
1056
1056
|
workspace_id: string;
|
|
1057
1057
|
created_at: string;
|
|
1058
1058
|
acs_system_id: string;
|
|
@@ -1070,19 +1070,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1070
1070
|
occurred_at: string;
|
|
1071
1071
|
event_type: "acs_user.created";
|
|
1072
1072
|
connected_account_id?: string | undefined;
|
|
1073
|
-
}>, z.ZodObject<
|
|
1073
|
+
}>, z.ZodObject<{
|
|
1074
1074
|
event_id: z.ZodString;
|
|
1075
1075
|
workspace_id: z.ZodString;
|
|
1076
1076
|
created_at: z.ZodString;
|
|
1077
1077
|
occurred_at: z.ZodString;
|
|
1078
|
-
}
|
|
1078
|
+
} & {
|
|
1079
1079
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
1080
1080
|
acs_system_id: z.ZodString;
|
|
1081
|
-
}
|
|
1081
|
+
} & {
|
|
1082
1082
|
acs_user_id: z.ZodString;
|
|
1083
|
-
}
|
|
1083
|
+
} & {
|
|
1084
1084
|
event_type: z.ZodLiteral<"acs_user.deleted">;
|
|
1085
|
-
}
|
|
1085
|
+
}, "strip", z.ZodTypeAny, {
|
|
1086
1086
|
workspace_id: string;
|
|
1087
1087
|
created_at: string;
|
|
1088
1088
|
acs_system_id: string;
|
|
@@ -1100,19 +1100,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1100
1100
|
occurred_at: string;
|
|
1101
1101
|
event_type: "acs_user.deleted";
|
|
1102
1102
|
connected_account_id?: string | undefined;
|
|
1103
|
-
}>, z.ZodObject<
|
|
1103
|
+
}>, z.ZodObject<{
|
|
1104
1104
|
event_id: z.ZodString;
|
|
1105
1105
|
workspace_id: z.ZodString;
|
|
1106
1106
|
created_at: z.ZodString;
|
|
1107
1107
|
occurred_at: z.ZodString;
|
|
1108
|
-
}
|
|
1108
|
+
} & {
|
|
1109
1109
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
1110
1110
|
acs_system_id: z.ZodString;
|
|
1111
|
-
}
|
|
1111
|
+
} & {
|
|
1112
1112
|
acs_encoder_id: z.ZodString;
|
|
1113
|
-
}
|
|
1113
|
+
} & {
|
|
1114
1114
|
event_type: z.ZodLiteral<"acs_encoder.added">;
|
|
1115
|
-
}
|
|
1115
|
+
}, "strip", z.ZodTypeAny, {
|
|
1116
1116
|
workspace_id: string;
|
|
1117
1117
|
created_at: string;
|
|
1118
1118
|
acs_system_id: string;
|
|
@@ -1130,19 +1130,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1130
1130
|
occurred_at: string;
|
|
1131
1131
|
event_type: "acs_encoder.added";
|
|
1132
1132
|
connected_account_id?: string | undefined;
|
|
1133
|
-
}>, z.ZodObject<
|
|
1133
|
+
}>, z.ZodObject<{
|
|
1134
1134
|
event_id: z.ZodString;
|
|
1135
1135
|
workspace_id: z.ZodString;
|
|
1136
1136
|
created_at: z.ZodString;
|
|
1137
1137
|
occurred_at: z.ZodString;
|
|
1138
|
-
}
|
|
1138
|
+
} & {
|
|
1139
1139
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
1140
1140
|
acs_system_id: z.ZodString;
|
|
1141
|
-
}
|
|
1141
|
+
} & {
|
|
1142
1142
|
acs_encoder_id: z.ZodString;
|
|
1143
|
-
}
|
|
1143
|
+
} & {
|
|
1144
1144
|
event_type: z.ZodLiteral<"acs_encoder.removed">;
|
|
1145
|
-
}
|
|
1145
|
+
}, "strip", z.ZodTypeAny, {
|
|
1146
1146
|
workspace_id: string;
|
|
1147
1147
|
created_at: string;
|
|
1148
1148
|
acs_system_id: string;
|
|
@@ -1160,19 +1160,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1160
1160
|
occurred_at: string;
|
|
1161
1161
|
event_type: "acs_encoder.removed";
|
|
1162
1162
|
connected_account_id?: string | undefined;
|
|
1163
|
-
}>, z.ZodObject<
|
|
1163
|
+
}>, z.ZodObject<{
|
|
1164
1164
|
event_id: z.ZodString;
|
|
1165
1165
|
workspace_id: z.ZodString;
|
|
1166
1166
|
created_at: z.ZodString;
|
|
1167
1167
|
occurred_at: z.ZodString;
|
|
1168
|
-
}
|
|
1168
|
+
} & {
|
|
1169
1169
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
1170
1170
|
acs_system_id: z.ZodString;
|
|
1171
|
-
}
|
|
1171
|
+
} & {
|
|
1172
1172
|
acs_access_group_id: z.ZodString;
|
|
1173
|
-
}
|
|
1173
|
+
} & {
|
|
1174
1174
|
event_type: z.ZodLiteral<"acs_access_group.deleted">;
|
|
1175
|
-
}
|
|
1175
|
+
}, "strip", z.ZodTypeAny, {
|
|
1176
1176
|
workspace_id: string;
|
|
1177
1177
|
created_at: string;
|
|
1178
1178
|
acs_access_group_id: string;
|
|
@@ -1190,19 +1190,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1190
1190
|
occurred_at: string;
|
|
1191
1191
|
event_type: "acs_access_group.deleted";
|
|
1192
1192
|
connected_account_id?: string | undefined;
|
|
1193
|
-
}>, z.ZodObject<
|
|
1193
|
+
}>, z.ZodObject<{
|
|
1194
1194
|
event_id: z.ZodString;
|
|
1195
1195
|
workspace_id: z.ZodString;
|
|
1196
1196
|
created_at: z.ZodString;
|
|
1197
1197
|
occurred_at: z.ZodString;
|
|
1198
|
-
}
|
|
1198
|
+
} & {
|
|
1199
1199
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
1200
1200
|
acs_system_id: z.ZodString;
|
|
1201
|
-
}
|
|
1201
|
+
} & {
|
|
1202
1202
|
acs_entrance_id: z.ZodString;
|
|
1203
|
-
}
|
|
1203
|
+
} & {
|
|
1204
1204
|
event_type: z.ZodLiteral<"acs_entrance.added">;
|
|
1205
|
-
}
|
|
1205
|
+
}, "strip", z.ZodTypeAny, {
|
|
1206
1206
|
workspace_id: string;
|
|
1207
1207
|
created_at: string;
|
|
1208
1208
|
acs_system_id: string;
|
|
@@ -1220,19 +1220,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1220
1220
|
occurred_at: string;
|
|
1221
1221
|
event_type: "acs_entrance.added";
|
|
1222
1222
|
connected_account_id?: string | undefined;
|
|
1223
|
-
}>, z.ZodObject<
|
|
1223
|
+
}>, z.ZodObject<{
|
|
1224
1224
|
event_id: z.ZodString;
|
|
1225
1225
|
workspace_id: z.ZodString;
|
|
1226
1226
|
created_at: z.ZodString;
|
|
1227
1227
|
occurred_at: z.ZodString;
|
|
1228
|
-
}
|
|
1228
|
+
} & {
|
|
1229
1229
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
1230
1230
|
acs_system_id: z.ZodString;
|
|
1231
|
-
}
|
|
1231
|
+
} & {
|
|
1232
1232
|
acs_entrance_id: z.ZodString;
|
|
1233
|
-
}
|
|
1233
|
+
} & {
|
|
1234
1234
|
event_type: z.ZodLiteral<"acs_entrance.removed">;
|
|
1235
|
-
}
|
|
1235
|
+
}, "strip", z.ZodTypeAny, {
|
|
1236
1236
|
workspace_id: string;
|
|
1237
1237
|
created_at: string;
|
|
1238
1238
|
acs_system_id: string;
|
|
@@ -1250,16 +1250,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1250
1250
|
occurred_at: string;
|
|
1251
1251
|
event_type: "acs_entrance.removed";
|
|
1252
1252
|
connected_account_id?: string | undefined;
|
|
1253
|
-
}>, z.ZodObject<
|
|
1253
|
+
}>, z.ZodObject<{
|
|
1254
1254
|
event_id: z.ZodString;
|
|
1255
1255
|
workspace_id: z.ZodString;
|
|
1256
1256
|
created_at: z.ZodString;
|
|
1257
1257
|
occurred_at: z.ZodString;
|
|
1258
|
-
}
|
|
1258
|
+
} & {
|
|
1259
1259
|
client_session_id: z.ZodString;
|
|
1260
|
-
}
|
|
1260
|
+
} & {
|
|
1261
1261
|
event_type: z.ZodLiteral<"client_session.deleted">;
|
|
1262
|
-
}
|
|
1262
|
+
}, "strip", z.ZodTypeAny, {
|
|
1263
1263
|
workspace_id: string;
|
|
1264
1264
|
created_at: string;
|
|
1265
1265
|
client_session_id: string;
|
|
@@ -1273,18 +1273,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1273
1273
|
event_id: string;
|
|
1274
1274
|
occurred_at: string;
|
|
1275
1275
|
event_type: "client_session.deleted";
|
|
1276
|
-
}>, z.ZodObject<
|
|
1276
|
+
}>, z.ZodObject<{
|
|
1277
1277
|
event_id: z.ZodString;
|
|
1278
1278
|
workspace_id: z.ZodString;
|
|
1279
1279
|
created_at: z.ZodString;
|
|
1280
1280
|
occurred_at: z.ZodString;
|
|
1281
|
-
}
|
|
1281
|
+
} & {
|
|
1282
1282
|
connected_account_id: z.ZodString;
|
|
1283
1283
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1284
|
-
}
|
|
1284
|
+
} & {
|
|
1285
1285
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
1286
1286
|
connect_webview_id: z.ZodString;
|
|
1287
|
-
}
|
|
1287
|
+
}, "strip", z.ZodTypeAny, {
|
|
1288
1288
|
workspace_id: string;
|
|
1289
1289
|
created_at: string;
|
|
1290
1290
|
connected_account_id: string;
|
|
@@ -1302,18 +1302,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1302
1302
|
occurred_at: string;
|
|
1303
1303
|
event_type: "connected_account.connected";
|
|
1304
1304
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1305
|
-
}>, z.ZodObject<
|
|
1305
|
+
}>, z.ZodObject<{
|
|
1306
1306
|
event_id: z.ZodString;
|
|
1307
1307
|
workspace_id: z.ZodString;
|
|
1308
1308
|
created_at: z.ZodString;
|
|
1309
1309
|
occurred_at: z.ZodString;
|
|
1310
|
-
}
|
|
1310
|
+
} & {
|
|
1311
1311
|
connected_account_id: z.ZodString;
|
|
1312
1312
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1313
|
-
}
|
|
1313
|
+
} & {
|
|
1314
1314
|
event_type: z.ZodLiteral<"connected_account.created">;
|
|
1315
1315
|
connect_webview_id: z.ZodString;
|
|
1316
|
-
}
|
|
1316
|
+
}, "strip", z.ZodTypeAny, {
|
|
1317
1317
|
workspace_id: string;
|
|
1318
1318
|
created_at: string;
|
|
1319
1319
|
connected_account_id: string;
|
|
@@ -1331,18 +1331,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1331
1331
|
occurred_at: string;
|
|
1332
1332
|
event_type: "connected_account.created";
|
|
1333
1333
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1334
|
-
}>, z.ZodObject<
|
|
1334
|
+
}>, z.ZodObject<{
|
|
1335
1335
|
event_id: z.ZodString;
|
|
1336
1336
|
workspace_id: z.ZodString;
|
|
1337
1337
|
created_at: z.ZodString;
|
|
1338
1338
|
occurred_at: z.ZodString;
|
|
1339
|
-
}
|
|
1339
|
+
} & {
|
|
1340
1340
|
connected_account_id: z.ZodString;
|
|
1341
1341
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1342
|
-
}
|
|
1342
|
+
} & {
|
|
1343
1343
|
event_type: z.ZodLiteral<"connected_account.successful_login">;
|
|
1344
1344
|
connect_webview_id: z.ZodString;
|
|
1345
|
-
}
|
|
1345
|
+
}, "strip", z.ZodTypeAny, {
|
|
1346
1346
|
workspace_id: string;
|
|
1347
1347
|
created_at: string;
|
|
1348
1348
|
connected_account_id: string;
|
|
@@ -1360,17 +1360,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1360
1360
|
occurred_at: string;
|
|
1361
1361
|
event_type: "connected_account.successful_login";
|
|
1362
1362
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1363
|
-
}>, z.ZodObject<
|
|
1363
|
+
}>, z.ZodObject<{
|
|
1364
1364
|
event_id: z.ZodString;
|
|
1365
1365
|
workspace_id: z.ZodString;
|
|
1366
1366
|
created_at: z.ZodString;
|
|
1367
1367
|
occurred_at: z.ZodString;
|
|
1368
|
-
}
|
|
1368
|
+
} & {
|
|
1369
1369
|
connected_account_id: z.ZodString;
|
|
1370
1370
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1371
|
-
}
|
|
1371
|
+
} & {
|
|
1372
1372
|
event_type: z.ZodLiteral<"connected_account.disconnected">;
|
|
1373
|
-
}
|
|
1373
|
+
}, "strip", z.ZodTypeAny, {
|
|
1374
1374
|
workspace_id: string;
|
|
1375
1375
|
created_at: string;
|
|
1376
1376
|
connected_account_id: string;
|
|
@@ -1386,17 +1386,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1386
1386
|
occurred_at: string;
|
|
1387
1387
|
event_type: "connected_account.disconnected";
|
|
1388
1388
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1389
|
-
}>, z.ZodObject<
|
|
1389
|
+
}>, z.ZodObject<{
|
|
1390
1390
|
event_id: z.ZodString;
|
|
1391
1391
|
workspace_id: z.ZodString;
|
|
1392
1392
|
created_at: z.ZodString;
|
|
1393
1393
|
occurred_at: z.ZodString;
|
|
1394
|
-
}
|
|
1394
|
+
} & {
|
|
1395
1395
|
connected_account_id: z.ZodString;
|
|
1396
1396
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1397
|
-
}
|
|
1397
|
+
} & {
|
|
1398
1398
|
event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
|
|
1399
|
-
}
|
|
1399
|
+
}, "strip", z.ZodTypeAny, {
|
|
1400
1400
|
workspace_id: string;
|
|
1401
1401
|
created_at: string;
|
|
1402
1402
|
connected_account_id: string;
|
|
@@ -1412,17 +1412,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1412
1412
|
occurred_at: string;
|
|
1413
1413
|
event_type: "connected_account.completed_first_sync";
|
|
1414
1414
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1415
|
-
}>, z.ZodObject<
|
|
1415
|
+
}>, z.ZodObject<{
|
|
1416
1416
|
event_id: z.ZodString;
|
|
1417
1417
|
workspace_id: z.ZodString;
|
|
1418
1418
|
created_at: z.ZodString;
|
|
1419
1419
|
occurred_at: z.ZodString;
|
|
1420
|
-
}
|
|
1420
|
+
} & {
|
|
1421
1421
|
connected_account_id: z.ZodString;
|
|
1422
1422
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1423
|
-
}
|
|
1423
|
+
} & {
|
|
1424
1424
|
event_type: z.ZodLiteral<"connected_account.deleted">;
|
|
1425
|
-
}
|
|
1425
|
+
}, "strip", z.ZodTypeAny, {
|
|
1426
1426
|
workspace_id: string;
|
|
1427
1427
|
created_at: string;
|
|
1428
1428
|
connected_account_id: string;
|
|
@@ -1438,17 +1438,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1438
1438
|
occurred_at: string;
|
|
1439
1439
|
event_type: "connected_account.deleted";
|
|
1440
1440
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1441
|
-
}>, z.ZodObject<
|
|
1441
|
+
}>, z.ZodObject<{
|
|
1442
1442
|
event_id: z.ZodString;
|
|
1443
1443
|
workspace_id: z.ZodString;
|
|
1444
1444
|
created_at: z.ZodString;
|
|
1445
1445
|
occurred_at: z.ZodString;
|
|
1446
|
-
}
|
|
1446
|
+
} & {
|
|
1447
1447
|
connected_account_id: z.ZodString;
|
|
1448
1448
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1449
|
-
}
|
|
1449
|
+
} & {
|
|
1450
1450
|
event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
|
|
1451
|
-
}
|
|
1451
|
+
}, "strip", z.ZodTypeAny, {
|
|
1452
1452
|
workspace_id: string;
|
|
1453
1453
|
created_at: string;
|
|
1454
1454
|
connected_account_id: string;
|
|
@@ -1464,18 +1464,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1464
1464
|
occurred_at: string;
|
|
1465
1465
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
1466
1466
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1467
|
-
}>, ...(z.ZodObject<
|
|
1467
|
+
}>, ...(z.ZodObject<{
|
|
1468
1468
|
event_id: z.ZodString;
|
|
1469
1469
|
workspace_id: z.ZodString;
|
|
1470
1470
|
created_at: z.ZodString;
|
|
1471
1471
|
occurred_at: z.ZodString;
|
|
1472
|
-
}
|
|
1472
|
+
} & {
|
|
1473
1473
|
action_attempt_id: z.ZodString;
|
|
1474
1474
|
action_type: z.ZodString;
|
|
1475
1475
|
status: z.ZodString;
|
|
1476
|
-
}
|
|
1476
|
+
} & {
|
|
1477
1477
|
event_type: z.ZodLiteral<"action_attempt.lock_door.succeeded">;
|
|
1478
|
-
}
|
|
1478
|
+
}, "strip", z.ZodTypeAny, {
|
|
1479
1479
|
status: string;
|
|
1480
1480
|
workspace_id: string;
|
|
1481
1481
|
created_at: string;
|
|
@@ -1493,18 +1493,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1493
1493
|
event_id: string;
|
|
1494
1494
|
occurred_at: string;
|
|
1495
1495
|
event_type: "action_attempt.lock_door.succeeded";
|
|
1496
|
-
}> | z.ZodObject<
|
|
1496
|
+
}> | z.ZodObject<{
|
|
1497
1497
|
event_id: z.ZodString;
|
|
1498
1498
|
workspace_id: z.ZodString;
|
|
1499
1499
|
created_at: z.ZodString;
|
|
1500
1500
|
occurred_at: z.ZodString;
|
|
1501
|
-
}
|
|
1501
|
+
} & {
|
|
1502
1502
|
action_attempt_id: z.ZodString;
|
|
1503
1503
|
action_type: z.ZodString;
|
|
1504
1504
|
status: z.ZodString;
|
|
1505
|
-
}
|
|
1505
|
+
} & {
|
|
1506
1506
|
event_type: z.ZodLiteral<"action_attempt.lock_door.failed">;
|
|
1507
|
-
}
|
|
1507
|
+
}, "strip", z.ZodTypeAny, {
|
|
1508
1508
|
status: string;
|
|
1509
1509
|
workspace_id: string;
|
|
1510
1510
|
created_at: string;
|
|
@@ -1522,18 +1522,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1522
1522
|
event_id: string;
|
|
1523
1523
|
occurred_at: string;
|
|
1524
1524
|
event_type: "action_attempt.lock_door.failed";
|
|
1525
|
-
}> | z.ZodObject<
|
|
1525
|
+
}> | z.ZodObject<{
|
|
1526
1526
|
event_id: z.ZodString;
|
|
1527
1527
|
workspace_id: z.ZodString;
|
|
1528
1528
|
created_at: z.ZodString;
|
|
1529
1529
|
occurred_at: z.ZodString;
|
|
1530
|
-
}
|
|
1530
|
+
} & {
|
|
1531
1531
|
action_attempt_id: z.ZodString;
|
|
1532
1532
|
action_type: z.ZodString;
|
|
1533
1533
|
status: z.ZodString;
|
|
1534
|
-
}
|
|
1534
|
+
} & {
|
|
1535
1535
|
event_type: z.ZodLiteral<"action_attempt.unlock_door.succeeded">;
|
|
1536
|
-
}
|
|
1536
|
+
}, "strip", z.ZodTypeAny, {
|
|
1537
1537
|
status: string;
|
|
1538
1538
|
workspace_id: string;
|
|
1539
1539
|
created_at: string;
|
|
@@ -1551,18 +1551,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1551
1551
|
event_id: string;
|
|
1552
1552
|
occurred_at: string;
|
|
1553
1553
|
event_type: "action_attempt.unlock_door.succeeded";
|
|
1554
|
-
}> | z.ZodObject<
|
|
1554
|
+
}> | z.ZodObject<{
|
|
1555
1555
|
event_id: z.ZodString;
|
|
1556
1556
|
workspace_id: z.ZodString;
|
|
1557
1557
|
created_at: z.ZodString;
|
|
1558
1558
|
occurred_at: z.ZodString;
|
|
1559
|
-
}
|
|
1559
|
+
} & {
|
|
1560
1560
|
action_attempt_id: z.ZodString;
|
|
1561
1561
|
action_type: z.ZodString;
|
|
1562
1562
|
status: z.ZodString;
|
|
1563
|
-
}
|
|
1563
|
+
} & {
|
|
1564
1564
|
event_type: z.ZodLiteral<"action_attempt.unlock_door.failed">;
|
|
1565
|
-
}
|
|
1565
|
+
}, "strip", z.ZodTypeAny, {
|
|
1566
1566
|
status: string;
|
|
1567
1567
|
workspace_id: string;
|
|
1568
1568
|
created_at: string;
|
|
@@ -1580,18 +1580,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1580
1580
|
event_id: string;
|
|
1581
1581
|
occurred_at: string;
|
|
1582
1582
|
event_type: "action_attempt.unlock_door.failed";
|
|
1583
|
-
}>)[], z.ZodObject<
|
|
1583
|
+
}>)[], z.ZodObject<{
|
|
1584
1584
|
event_id: z.ZodString;
|
|
1585
1585
|
workspace_id: z.ZodString;
|
|
1586
1586
|
created_at: z.ZodString;
|
|
1587
1587
|
occurred_at: z.ZodString;
|
|
1588
|
-
}
|
|
1588
|
+
} & {
|
|
1589
1589
|
connect_webview_id: z.ZodString;
|
|
1590
|
-
}
|
|
1590
|
+
} & {
|
|
1591
1591
|
event_type: z.ZodLiteral<"connect_webview.login_succeeded">;
|
|
1592
1592
|
connected_account_id: z.ZodString;
|
|
1593
1593
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1594
|
-
}
|
|
1594
|
+
}, "strip", z.ZodTypeAny, {
|
|
1595
1595
|
workspace_id: string;
|
|
1596
1596
|
created_at: string;
|
|
1597
1597
|
connected_account_id: string;
|
|
@@ -1609,16 +1609,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1609
1609
|
occurred_at: string;
|
|
1610
1610
|
event_type: "connect_webview.login_succeeded";
|
|
1611
1611
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1612
|
-
}>, z.ZodObject<
|
|
1612
|
+
}>, z.ZodObject<{
|
|
1613
1613
|
event_id: z.ZodString;
|
|
1614
1614
|
workspace_id: z.ZodString;
|
|
1615
1615
|
created_at: z.ZodString;
|
|
1616
1616
|
occurred_at: z.ZodString;
|
|
1617
|
-
}
|
|
1617
|
+
} & {
|
|
1618
1618
|
connect_webview_id: z.ZodString;
|
|
1619
|
-
}
|
|
1619
|
+
} & {
|
|
1620
1620
|
event_type: z.ZodLiteral<"connect_webview.login_failed">;
|
|
1621
|
-
}
|
|
1621
|
+
}, "strip", z.ZodTypeAny, {
|
|
1622
1622
|
workspace_id: string;
|
|
1623
1623
|
created_at: string;
|
|
1624
1624
|
connect_webview_id: string;
|
|
@@ -1632,19 +1632,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1632
1632
|
event_id: string;
|
|
1633
1633
|
occurred_at: string;
|
|
1634
1634
|
event_type: "connect_webview.login_failed";
|
|
1635
|
-
}>, z.ZodObject<
|
|
1635
|
+
}>, z.ZodObject<{
|
|
1636
1636
|
event_id: z.ZodString;
|
|
1637
1637
|
workspace_id: z.ZodString;
|
|
1638
1638
|
created_at: z.ZodString;
|
|
1639
1639
|
occurred_at: z.ZodString;
|
|
1640
|
-
}
|
|
1640
|
+
} & {
|
|
1641
1641
|
device_id: z.ZodString;
|
|
1642
1642
|
connected_account_id: z.ZodString;
|
|
1643
1643
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1644
1644
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1645
|
-
}
|
|
1645
|
+
} & {
|
|
1646
1646
|
event_type: z.ZodLiteral<"device.connected">;
|
|
1647
|
-
}
|
|
1647
|
+
}, "strip", z.ZodTypeAny, {
|
|
1648
1648
|
device_id: string;
|
|
1649
1649
|
workspace_id: string;
|
|
1650
1650
|
created_at: string;
|
|
@@ -1664,19 +1664,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1664
1664
|
event_type: "device.connected";
|
|
1665
1665
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1666
1666
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1667
|
-
}>, z.ZodObject<
|
|
1667
|
+
}>, z.ZodObject<{
|
|
1668
1668
|
event_id: z.ZodString;
|
|
1669
1669
|
workspace_id: z.ZodString;
|
|
1670
1670
|
created_at: z.ZodString;
|
|
1671
1671
|
occurred_at: z.ZodString;
|
|
1672
|
-
}
|
|
1672
|
+
} & {
|
|
1673
1673
|
device_id: z.ZodString;
|
|
1674
1674
|
connected_account_id: z.ZodString;
|
|
1675
1675
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1676
1676
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1677
|
-
}
|
|
1677
|
+
} & {
|
|
1678
1678
|
event_type: z.ZodLiteral<"device.added">;
|
|
1679
|
-
}
|
|
1679
|
+
}, "strip", z.ZodTypeAny, {
|
|
1680
1680
|
device_id: string;
|
|
1681
1681
|
workspace_id: string;
|
|
1682
1682
|
created_at: string;
|
|
@@ -1696,19 +1696,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1696
1696
|
event_type: "device.added";
|
|
1697
1697
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1698
1698
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1699
|
-
}>, z.ZodObject<
|
|
1699
|
+
}>, z.ZodObject<{
|
|
1700
1700
|
event_id: z.ZodString;
|
|
1701
1701
|
workspace_id: z.ZodString;
|
|
1702
1702
|
created_at: z.ZodString;
|
|
1703
1703
|
occurred_at: z.ZodString;
|
|
1704
|
-
}
|
|
1704
|
+
} & {
|
|
1705
1705
|
device_id: z.ZodString;
|
|
1706
1706
|
connected_account_id: z.ZodString;
|
|
1707
1707
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1708
1708
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1709
|
-
}
|
|
1709
|
+
} & {
|
|
1710
1710
|
event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
|
|
1711
|
-
}
|
|
1711
|
+
}, "strip", z.ZodTypeAny, {
|
|
1712
1712
|
device_id: string;
|
|
1713
1713
|
workspace_id: string;
|
|
1714
1714
|
created_at: string;
|
|
@@ -1728,19 +1728,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1728
1728
|
event_type: "device.converted_to_unmanaged";
|
|
1729
1729
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1730
1730
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1731
|
-
}>, z.ZodObject<
|
|
1731
|
+
}>, z.ZodObject<{
|
|
1732
1732
|
event_id: z.ZodString;
|
|
1733
1733
|
workspace_id: z.ZodString;
|
|
1734
1734
|
created_at: z.ZodString;
|
|
1735
1735
|
occurred_at: z.ZodString;
|
|
1736
|
-
}
|
|
1736
|
+
} & {
|
|
1737
1737
|
device_id: z.ZodString;
|
|
1738
1738
|
connected_account_id: z.ZodString;
|
|
1739
1739
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1740
1740
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1741
|
-
}
|
|
1741
|
+
} & {
|
|
1742
1742
|
event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
|
|
1743
|
-
}
|
|
1743
|
+
}, "strip", z.ZodTypeAny, {
|
|
1744
1744
|
device_id: string;
|
|
1745
1745
|
workspace_id: string;
|
|
1746
1746
|
created_at: string;
|
|
@@ -1760,19 +1760,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1760
1760
|
event_type: "device.unmanaged.converted_to_managed";
|
|
1761
1761
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1762
1762
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1763
|
-
}>, z.ZodObject<
|
|
1763
|
+
}>, z.ZodObject<{
|
|
1764
1764
|
event_id: z.ZodString;
|
|
1765
1765
|
workspace_id: z.ZodString;
|
|
1766
1766
|
created_at: z.ZodString;
|
|
1767
1767
|
occurred_at: z.ZodString;
|
|
1768
|
-
}
|
|
1768
|
+
} & {
|
|
1769
1769
|
device_id: z.ZodString;
|
|
1770
1770
|
connected_account_id: z.ZodString;
|
|
1771
1771
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1772
1772
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1773
|
-
}
|
|
1773
|
+
} & {
|
|
1774
1774
|
event_type: z.ZodLiteral<"device.unmanaged.connected">;
|
|
1775
|
-
}
|
|
1775
|
+
}, "strip", z.ZodTypeAny, {
|
|
1776
1776
|
device_id: string;
|
|
1777
1777
|
workspace_id: string;
|
|
1778
1778
|
created_at: string;
|
|
@@ -1792,20 +1792,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1792
1792
|
event_type: "device.unmanaged.connected";
|
|
1793
1793
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1794
1794
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1795
|
-
}>, z.ZodObject<
|
|
1795
|
+
}>, z.ZodObject<{
|
|
1796
1796
|
event_id: z.ZodString;
|
|
1797
1797
|
workspace_id: z.ZodString;
|
|
1798
1798
|
created_at: z.ZodString;
|
|
1799
1799
|
occurred_at: z.ZodString;
|
|
1800
|
-
}
|
|
1800
|
+
} & {
|
|
1801
1801
|
device_id: z.ZodString;
|
|
1802
1802
|
connected_account_id: z.ZodString;
|
|
1803
1803
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1804
1804
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1805
|
-
}
|
|
1805
|
+
} & {
|
|
1806
1806
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
1807
1807
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
1808
|
-
}
|
|
1808
|
+
}, "strip", z.ZodTypeAny, {
|
|
1809
1809
|
device_id: string;
|
|
1810
1810
|
workspace_id: string;
|
|
1811
1811
|
created_at: string;
|
|
@@ -1827,20 +1827,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1827
1827
|
event_type: "device.disconnected";
|
|
1828
1828
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1829
1829
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1830
|
-
}>, z.ZodObject<
|
|
1830
|
+
}>, z.ZodObject<{
|
|
1831
1831
|
event_id: z.ZodString;
|
|
1832
1832
|
workspace_id: z.ZodString;
|
|
1833
1833
|
created_at: z.ZodString;
|
|
1834
1834
|
occurred_at: z.ZodString;
|
|
1835
|
-
}
|
|
1835
|
+
} & {
|
|
1836
1836
|
device_id: z.ZodString;
|
|
1837
1837
|
connected_account_id: z.ZodString;
|
|
1838
1838
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1839
1839
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1840
|
-
}
|
|
1840
|
+
} & {
|
|
1841
1841
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
1842
1842
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
1843
|
-
}
|
|
1843
|
+
}, "strip", z.ZodTypeAny, {
|
|
1844
1844
|
device_id: string;
|
|
1845
1845
|
workspace_id: string;
|
|
1846
1846
|
created_at: string;
|
|
@@ -1862,19 +1862,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1862
1862
|
event_type: "device.unmanaged.disconnected";
|
|
1863
1863
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1864
1864
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1865
|
-
}>, z.ZodObject<
|
|
1865
|
+
}>, z.ZodObject<{
|
|
1866
1866
|
event_id: z.ZodString;
|
|
1867
1867
|
workspace_id: z.ZodString;
|
|
1868
1868
|
created_at: z.ZodString;
|
|
1869
1869
|
occurred_at: z.ZodString;
|
|
1870
|
-
}
|
|
1870
|
+
} & {
|
|
1871
1871
|
device_id: z.ZodString;
|
|
1872
1872
|
connected_account_id: z.ZodString;
|
|
1873
1873
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1874
1874
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1875
|
-
}
|
|
1875
|
+
} & {
|
|
1876
1876
|
event_type: z.ZodLiteral<"device.tampered">;
|
|
1877
|
-
}
|
|
1877
|
+
}, "strip", z.ZodTypeAny, {
|
|
1878
1878
|
device_id: string;
|
|
1879
1879
|
workspace_id: string;
|
|
1880
1880
|
created_at: string;
|
|
@@ -1894,20 +1894,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1894
1894
|
event_type: "device.tampered";
|
|
1895
1895
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1896
1896
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1897
|
-
}>, z.ZodObject<
|
|
1897
|
+
}>, z.ZodObject<{
|
|
1898
1898
|
event_id: z.ZodString;
|
|
1899
1899
|
workspace_id: z.ZodString;
|
|
1900
1900
|
created_at: z.ZodString;
|
|
1901
1901
|
occurred_at: z.ZodString;
|
|
1902
|
-
}
|
|
1902
|
+
} & {
|
|
1903
1903
|
device_id: z.ZodString;
|
|
1904
1904
|
connected_account_id: z.ZodString;
|
|
1905
1905
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1906
1906
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1907
|
-
}
|
|
1907
|
+
} & {
|
|
1908
1908
|
event_type: z.ZodLiteral<"device.low_battery">;
|
|
1909
1909
|
battery_level: z.ZodNumber;
|
|
1910
|
-
}
|
|
1910
|
+
}, "strip", z.ZodTypeAny, {
|
|
1911
1911
|
device_id: string;
|
|
1912
1912
|
workspace_id: string;
|
|
1913
1913
|
created_at: string;
|
|
@@ -1929,21 +1929,21 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1929
1929
|
event_type: "device.low_battery";
|
|
1930
1930
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1931
1931
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1932
|
-
}>, z.ZodObject<
|
|
1932
|
+
}>, z.ZodObject<{
|
|
1933
1933
|
event_id: z.ZodString;
|
|
1934
1934
|
workspace_id: z.ZodString;
|
|
1935
1935
|
created_at: z.ZodString;
|
|
1936
1936
|
occurred_at: z.ZodString;
|
|
1937
|
-
}
|
|
1937
|
+
} & {
|
|
1938
1938
|
device_id: z.ZodString;
|
|
1939
1939
|
connected_account_id: z.ZodString;
|
|
1940
1940
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1941
1941
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1942
|
-
}
|
|
1942
|
+
} & {
|
|
1943
1943
|
event_type: z.ZodLiteral<"device.battery_status_changed">;
|
|
1944
1944
|
battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
1945
1945
|
battery_level: z.ZodNumber;
|
|
1946
|
-
}
|
|
1946
|
+
}, "strip", z.ZodTypeAny, {
|
|
1947
1947
|
device_id: string;
|
|
1948
1948
|
workspace_id: string;
|
|
1949
1949
|
created_at: string;
|
|
@@ -1967,19 +1967,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1967
1967
|
battery_status: "low" | "full" | "critical" | "good";
|
|
1968
1968
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1969
1969
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1970
|
-
}>, z.ZodObject<
|
|
1970
|
+
}>, z.ZodObject<{
|
|
1971
1971
|
event_id: z.ZodString;
|
|
1972
1972
|
workspace_id: z.ZodString;
|
|
1973
1973
|
created_at: z.ZodString;
|
|
1974
1974
|
occurred_at: z.ZodString;
|
|
1975
|
-
}
|
|
1975
|
+
} & {
|
|
1976
1976
|
device_id: z.ZodString;
|
|
1977
1977
|
connected_account_id: z.ZodString;
|
|
1978
1978
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1979
1979
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1980
|
-
}
|
|
1980
|
+
} & {
|
|
1981
1981
|
event_type: z.ZodLiteral<"device.removed">;
|
|
1982
|
-
}
|
|
1982
|
+
}, "strip", z.ZodTypeAny, {
|
|
1983
1983
|
device_id: string;
|
|
1984
1984
|
workspace_id: string;
|
|
1985
1985
|
created_at: string;
|
|
@@ -1999,19 +1999,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1999
1999
|
event_type: "device.removed";
|
|
2000
2000
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2001
2001
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2002
|
-
}>, z.ZodObject<
|
|
2002
|
+
}>, z.ZodObject<{
|
|
2003
2003
|
event_id: z.ZodString;
|
|
2004
2004
|
workspace_id: z.ZodString;
|
|
2005
2005
|
created_at: z.ZodString;
|
|
2006
2006
|
occurred_at: z.ZodString;
|
|
2007
|
-
}
|
|
2007
|
+
} & {
|
|
2008
2008
|
device_id: z.ZodString;
|
|
2009
2009
|
connected_account_id: z.ZodString;
|
|
2010
2010
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2011
2011
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2012
|
-
}
|
|
2012
|
+
} & {
|
|
2013
2013
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
2014
|
-
}
|
|
2014
|
+
}, "strip", z.ZodTypeAny, {
|
|
2015
2015
|
device_id: string;
|
|
2016
2016
|
workspace_id: string;
|
|
2017
2017
|
created_at: string;
|
|
@@ -2031,19 +2031,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2031
2031
|
event_type: "device.deleted";
|
|
2032
2032
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2033
2033
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2034
|
-
}>, z.ZodObject<
|
|
2034
|
+
}>, z.ZodObject<{
|
|
2035
2035
|
event_id: z.ZodString;
|
|
2036
2036
|
workspace_id: z.ZodString;
|
|
2037
2037
|
created_at: z.ZodString;
|
|
2038
2038
|
occurred_at: z.ZodString;
|
|
2039
|
-
}
|
|
2039
|
+
} & {
|
|
2040
2040
|
device_id: z.ZodString;
|
|
2041
2041
|
connected_account_id: z.ZodString;
|
|
2042
2042
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2043
2043
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2044
|
-
}
|
|
2044
|
+
} & {
|
|
2045
2045
|
event_type: z.ZodLiteral<"device.third_party_integration_detected">;
|
|
2046
|
-
}
|
|
2046
|
+
}, "strip", z.ZodTypeAny, {
|
|
2047
2047
|
device_id: string;
|
|
2048
2048
|
workspace_id: string;
|
|
2049
2049
|
created_at: string;
|
|
@@ -2063,19 +2063,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2063
2063
|
event_type: "device.third_party_integration_detected";
|
|
2064
2064
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2065
2065
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2066
|
-
}>, z.ZodObject<
|
|
2066
|
+
}>, z.ZodObject<{
|
|
2067
2067
|
event_id: z.ZodString;
|
|
2068
2068
|
workspace_id: z.ZodString;
|
|
2069
2069
|
created_at: z.ZodString;
|
|
2070
2070
|
occurred_at: z.ZodString;
|
|
2071
|
-
}
|
|
2071
|
+
} & {
|
|
2072
2072
|
device_id: z.ZodString;
|
|
2073
2073
|
connected_account_id: z.ZodString;
|
|
2074
2074
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2075
2075
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2076
|
-
}
|
|
2076
|
+
} & {
|
|
2077
2077
|
event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
|
|
2078
|
-
}
|
|
2078
|
+
}, "strip", z.ZodTypeAny, {
|
|
2079
2079
|
device_id: string;
|
|
2080
2080
|
workspace_id: string;
|
|
2081
2081
|
created_at: string;
|
|
@@ -2095,19 +2095,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2095
2095
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
2096
2096
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2097
2097
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2098
|
-
}>, z.ZodObject<
|
|
2098
|
+
}>, z.ZodObject<{
|
|
2099
2099
|
event_id: z.ZodString;
|
|
2100
2100
|
workspace_id: z.ZodString;
|
|
2101
2101
|
created_at: z.ZodString;
|
|
2102
2102
|
occurred_at: z.ZodString;
|
|
2103
|
-
}
|
|
2103
|
+
} & {
|
|
2104
2104
|
device_id: z.ZodString;
|
|
2105
2105
|
connected_account_id: z.ZodString;
|
|
2106
2106
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2107
2107
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2108
|
-
}
|
|
2108
|
+
} & {
|
|
2109
2109
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
|
|
2110
|
-
}
|
|
2110
|
+
}, "strip", z.ZodTypeAny, {
|
|
2111
2111
|
device_id: string;
|
|
2112
2112
|
workspace_id: string;
|
|
2113
2113
|
created_at: string;
|
|
@@ -2127,19 +2127,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2127
2127
|
event_type: "device.salto.privacy_mode_activated";
|
|
2128
2128
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2129
2129
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2130
|
-
}>, z.ZodObject<
|
|
2130
|
+
}>, z.ZodObject<{
|
|
2131
2131
|
event_id: z.ZodString;
|
|
2132
2132
|
workspace_id: z.ZodString;
|
|
2133
2133
|
created_at: z.ZodString;
|
|
2134
2134
|
occurred_at: z.ZodString;
|
|
2135
|
-
}
|
|
2135
|
+
} & {
|
|
2136
2136
|
device_id: z.ZodString;
|
|
2137
2137
|
connected_account_id: z.ZodString;
|
|
2138
2138
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2139
2139
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2140
|
-
}
|
|
2140
|
+
} & {
|
|
2141
2141
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
|
|
2142
|
-
}
|
|
2142
|
+
}, "strip", z.ZodTypeAny, {
|
|
2143
2143
|
device_id: string;
|
|
2144
2144
|
workspace_id: string;
|
|
2145
2145
|
created_at: string;
|
|
@@ -2159,19 +2159,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2159
2159
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
2160
2160
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2161
2161
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2162
|
-
}>, z.ZodObject<
|
|
2162
|
+
}>, z.ZodObject<{
|
|
2163
2163
|
event_id: z.ZodString;
|
|
2164
2164
|
workspace_id: z.ZodString;
|
|
2165
2165
|
created_at: z.ZodString;
|
|
2166
2166
|
occurred_at: z.ZodString;
|
|
2167
|
-
}
|
|
2167
|
+
} & {
|
|
2168
2168
|
device_id: z.ZodString;
|
|
2169
2169
|
connected_account_id: z.ZodString;
|
|
2170
2170
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2171
2171
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2172
|
-
}
|
|
2172
|
+
} & {
|
|
2173
2173
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
2174
|
-
}
|
|
2174
|
+
}, "strip", z.ZodTypeAny, {
|
|
2175
2175
|
device_id: string;
|
|
2176
2176
|
workspace_id: string;
|
|
2177
2177
|
created_at: string;
|
|
@@ -2191,19 +2191,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2191
2191
|
event_type: "device.connection_became_flaky";
|
|
2192
2192
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2193
2193
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2194
|
-
}>, z.ZodObject<
|
|
2194
|
+
}>, z.ZodObject<{
|
|
2195
2195
|
event_id: z.ZodString;
|
|
2196
2196
|
workspace_id: z.ZodString;
|
|
2197
2197
|
created_at: z.ZodString;
|
|
2198
2198
|
occurred_at: z.ZodString;
|
|
2199
|
-
}
|
|
2199
|
+
} & {
|
|
2200
2200
|
device_id: z.ZodString;
|
|
2201
2201
|
connected_account_id: z.ZodString;
|
|
2202
2202
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2203
2203
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2204
|
-
}
|
|
2204
|
+
} & {
|
|
2205
2205
|
event_type: z.ZodLiteral<"device.connection_stabilized">;
|
|
2206
|
-
}
|
|
2206
|
+
}, "strip", z.ZodTypeAny, {
|
|
2207
2207
|
device_id: string;
|
|
2208
2208
|
workspace_id: string;
|
|
2209
2209
|
created_at: string;
|
|
@@ -2223,19 +2223,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2223
2223
|
event_type: "device.connection_stabilized";
|
|
2224
2224
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2225
2225
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2226
|
-
}>, z.ZodObject<
|
|
2226
|
+
}>, z.ZodObject<{
|
|
2227
2227
|
event_id: z.ZodString;
|
|
2228
2228
|
workspace_id: z.ZodString;
|
|
2229
2229
|
created_at: z.ZodString;
|
|
2230
2230
|
occurred_at: z.ZodString;
|
|
2231
|
-
}
|
|
2231
|
+
} & {
|
|
2232
2232
|
device_id: z.ZodString;
|
|
2233
2233
|
connected_account_id: z.ZodString;
|
|
2234
2234
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2235
2235
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2236
|
-
}
|
|
2236
|
+
} & {
|
|
2237
2237
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
2238
|
-
}
|
|
2238
|
+
}, "strip", z.ZodTypeAny, {
|
|
2239
2239
|
device_id: string;
|
|
2240
2240
|
workspace_id: string;
|
|
2241
2241
|
created_at: string;
|
|
@@ -2255,19 +2255,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2255
2255
|
event_type: "device.error.subscription_required";
|
|
2256
2256
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2257
2257
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2258
|
-
}>, z.ZodObject<
|
|
2258
|
+
}>, z.ZodObject<{
|
|
2259
2259
|
event_id: z.ZodString;
|
|
2260
2260
|
workspace_id: z.ZodString;
|
|
2261
2261
|
created_at: z.ZodString;
|
|
2262
2262
|
occurred_at: z.ZodString;
|
|
2263
|
-
}
|
|
2263
|
+
} & {
|
|
2264
2264
|
device_id: z.ZodString;
|
|
2265
2265
|
connected_account_id: z.ZodString;
|
|
2266
2266
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2267
2267
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2268
|
-
}
|
|
2268
|
+
} & {
|
|
2269
2269
|
event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
|
|
2270
|
-
}
|
|
2270
|
+
}, "strip", z.ZodTypeAny, {
|
|
2271
2271
|
device_id: string;
|
|
2272
2272
|
workspace_id: string;
|
|
2273
2273
|
created_at: string;
|
|
@@ -2287,19 +2287,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2287
2287
|
event_type: "device.error.subscription_required.resolved";
|
|
2288
2288
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2289
2289
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2290
|
-
}>, z.ZodObject<
|
|
2290
|
+
}>, z.ZodObject<{
|
|
2291
2291
|
event_id: z.ZodString;
|
|
2292
2292
|
workspace_id: z.ZodString;
|
|
2293
2293
|
created_at: z.ZodString;
|
|
2294
2294
|
occurred_at: z.ZodString;
|
|
2295
|
-
}
|
|
2295
|
+
} & {
|
|
2296
2296
|
device_id: z.ZodString;
|
|
2297
2297
|
connected_account_id: z.ZodString;
|
|
2298
2298
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2299
2299
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2300
|
-
}
|
|
2300
|
+
} & {
|
|
2301
2301
|
event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
|
|
2302
|
-
}
|
|
2302
|
+
}, "strip", z.ZodTypeAny, {
|
|
2303
2303
|
device_id: string;
|
|
2304
2304
|
workspace_id: string;
|
|
2305
2305
|
created_at: string;
|
|
@@ -2319,19 +2319,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2319
2319
|
event_type: "device.accessory_keypad_connected";
|
|
2320
2320
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2321
2321
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2322
|
-
}>, z.ZodObject<
|
|
2322
|
+
}>, z.ZodObject<{
|
|
2323
2323
|
event_id: z.ZodString;
|
|
2324
2324
|
workspace_id: z.ZodString;
|
|
2325
2325
|
created_at: z.ZodString;
|
|
2326
2326
|
occurred_at: z.ZodString;
|
|
2327
|
-
}
|
|
2327
|
+
} & {
|
|
2328
2328
|
device_id: z.ZodString;
|
|
2329
2329
|
connected_account_id: z.ZodString;
|
|
2330
2330
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2331
2331
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2332
|
-
}
|
|
2332
|
+
} & {
|
|
2333
2333
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
2334
|
-
}
|
|
2334
|
+
}, "strip", z.ZodTypeAny, {
|
|
2335
2335
|
device_id: string;
|
|
2336
2336
|
workspace_id: string;
|
|
2337
2337
|
created_at: string;
|
|
@@ -2351,17 +2351,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2351
2351
|
event_type: "device.accessory_keypad_disconnected";
|
|
2352
2352
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2353
2353
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2354
|
-
}>, z.ZodObject<
|
|
2354
|
+
}>, z.ZodObject<{
|
|
2355
2355
|
event_id: z.ZodString;
|
|
2356
2356
|
workspace_id: z.ZodString;
|
|
2357
2357
|
created_at: z.ZodString;
|
|
2358
2358
|
occurred_at: z.ZodString;
|
|
2359
|
-
}
|
|
2359
|
+
} & {
|
|
2360
2360
|
device_id: z.ZodString;
|
|
2361
2361
|
connected_account_id: z.ZodString;
|
|
2362
2362
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2363
2363
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2364
|
-
}
|
|
2364
|
+
} & {
|
|
2365
2365
|
event_type: z.ZodLiteral<"noise_sensor.noise_threshold_triggered">;
|
|
2366
2366
|
noise_level_decibels: z.ZodOptional<z.ZodNumber>;
|
|
2367
2367
|
noise_level_nrs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2369,7 +2369,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2369
2369
|
noise_threshold_name: z.ZodOptional<z.ZodString>;
|
|
2370
2370
|
noiseaware_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2371
2371
|
minut_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2372
|
-
}
|
|
2372
|
+
}, "strip", z.ZodTypeAny, {
|
|
2373
2373
|
device_id: string;
|
|
2374
2374
|
workspace_id: string;
|
|
2375
2375
|
created_at: string;
|
|
@@ -2401,22 +2401,22 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2401
2401
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2402
2402
|
noise_threshold_id?: string | undefined;
|
|
2403
2403
|
noise_threshold_name?: string | undefined;
|
|
2404
|
-
}>, z.ZodObject<
|
|
2404
|
+
}>, z.ZodObject<{
|
|
2405
2405
|
event_id: z.ZodString;
|
|
2406
2406
|
workspace_id: z.ZodString;
|
|
2407
2407
|
created_at: z.ZodString;
|
|
2408
2408
|
occurred_at: z.ZodString;
|
|
2409
|
-
}
|
|
2409
|
+
} & {
|
|
2410
2410
|
device_id: z.ZodString;
|
|
2411
2411
|
connected_account_id: z.ZodString;
|
|
2412
2412
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2413
2413
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2414
|
-
}
|
|
2414
|
+
} & {
|
|
2415
2415
|
event_type: z.ZodLiteral<"lock.locked">;
|
|
2416
2416
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
2417
2417
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
2418
2418
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
2419
|
-
}
|
|
2419
|
+
}, "strip", z.ZodTypeAny, {
|
|
2420
2420
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2421
2421
|
device_id: string;
|
|
2422
2422
|
workspace_id: string;
|
|
@@ -2442,22 +2442,22 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2442
2442
|
action_attempt_id?: string | undefined;
|
|
2443
2443
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2444
2444
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2445
|
-
}>, z.ZodObject<
|
|
2445
|
+
}>, z.ZodObject<{
|
|
2446
2446
|
event_id: z.ZodString;
|
|
2447
2447
|
workspace_id: z.ZodString;
|
|
2448
2448
|
created_at: z.ZodString;
|
|
2449
2449
|
occurred_at: z.ZodString;
|
|
2450
|
-
}
|
|
2450
|
+
} & {
|
|
2451
2451
|
device_id: z.ZodString;
|
|
2452
2452
|
connected_account_id: z.ZodString;
|
|
2453
2453
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2454
2454
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2455
|
-
}
|
|
2455
|
+
} & {
|
|
2456
2456
|
event_type: z.ZodLiteral<"lock.unlocked">;
|
|
2457
2457
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
2458
2458
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
2459
2459
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
2460
|
-
}
|
|
2460
|
+
}, "strip", z.ZodTypeAny, {
|
|
2461
2461
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2462
2462
|
device_id: string;
|
|
2463
2463
|
workspace_id: string;
|
|
@@ -2483,20 +2483,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2483
2483
|
action_attempt_id?: string | undefined;
|
|
2484
2484
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2485
2485
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2486
|
-
}>, z.ZodObject<
|
|
2486
|
+
}>, z.ZodObject<{
|
|
2487
2487
|
event_id: z.ZodString;
|
|
2488
2488
|
workspace_id: z.ZodString;
|
|
2489
2489
|
created_at: z.ZodString;
|
|
2490
2490
|
occurred_at: z.ZodString;
|
|
2491
|
-
}
|
|
2491
|
+
} & {
|
|
2492
2492
|
device_id: z.ZodString;
|
|
2493
2493
|
connected_account_id: z.ZodString;
|
|
2494
2494
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2495
2495
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2496
|
-
}
|
|
2496
|
+
} & {
|
|
2497
2497
|
event_type: z.ZodLiteral<"lock.access_denied">;
|
|
2498
2498
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
2499
|
-
}
|
|
2499
|
+
}, "strip", z.ZodTypeAny, {
|
|
2500
2500
|
device_id: string;
|
|
2501
2501
|
workspace_id: string;
|
|
2502
2502
|
created_at: string;
|
|
@@ -2518,22 +2518,22 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2518
2518
|
access_code_id?: string | undefined;
|
|
2519
2519
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2520
2520
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2521
|
-
}>, z.ZodObject<
|
|
2521
|
+
}>, z.ZodObject<{
|
|
2522
2522
|
event_id: z.ZodString;
|
|
2523
2523
|
workspace_id: z.ZodString;
|
|
2524
2524
|
created_at: z.ZodString;
|
|
2525
2525
|
occurred_at: z.ZodString;
|
|
2526
|
-
}
|
|
2526
|
+
} & {
|
|
2527
2527
|
device_id: z.ZodString;
|
|
2528
2528
|
connected_account_id: z.ZodString;
|
|
2529
2529
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2530
2530
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2531
|
-
}
|
|
2531
|
+
} & {
|
|
2532
2532
|
event_type: z.ZodLiteral<"thermostat.climate_preset_activated">;
|
|
2533
2533
|
thermostat_schedule_id: z.ZodNullable<z.ZodString>;
|
|
2534
2534
|
climate_preset_key: z.ZodString;
|
|
2535
2535
|
is_fallback_climate_preset: z.ZodBoolean;
|
|
2536
|
-
}
|
|
2536
|
+
}, "strip", z.ZodTypeAny, {
|
|
2537
2537
|
climate_preset_key: string;
|
|
2538
2538
|
device_id: string;
|
|
2539
2539
|
workspace_id: string;
|
|
@@ -2559,20 +2559,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2559
2559
|
is_fallback_climate_preset: boolean;
|
|
2560
2560
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2561
2561
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2562
|
-
}>, z.ZodObject<
|
|
2562
|
+
}>, z.ZodObject<{
|
|
2563
2563
|
event_id: z.ZodString;
|
|
2564
2564
|
workspace_id: z.ZodString;
|
|
2565
2565
|
created_at: z.ZodString;
|
|
2566
2566
|
occurred_at: z.ZodString;
|
|
2567
|
-
}
|
|
2567
|
+
} & {
|
|
2568
2568
|
device_id: z.ZodString;
|
|
2569
2569
|
connected_account_id: z.ZodString;
|
|
2570
2570
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2571
2571
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2572
|
-
}
|
|
2572
|
+
} & {
|
|
2573
2573
|
event_type: z.ZodLiteral<"thermostat.manually_adjusted">;
|
|
2574
2574
|
method: z.ZodEnum<["seam", "external"]>;
|
|
2575
|
-
}
|
|
2575
|
+
} & Pick<{
|
|
2576
2576
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
2577
2577
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
2578
2578
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2600,7 +2600,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2600
2600
|
is_optimized: boolean;
|
|
2601
2601
|
owner: "user" | "system";
|
|
2602
2602
|
}>>>;
|
|
2603
|
-
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit"
|
|
2603
|
+
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">, "strip", z.ZodTypeAny, {
|
|
2604
2604
|
method: "external" | "seam";
|
|
2605
2605
|
device_id: string;
|
|
2606
2606
|
workspace_id: string;
|
|
@@ -2634,17 +2634,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2634
2634
|
heating_set_point_fahrenheit?: number | undefined;
|
|
2635
2635
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2636
2636
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2637
|
-
}>, z.ZodObject<
|
|
2637
|
+
}>, z.ZodObject<{
|
|
2638
2638
|
event_id: z.ZodString;
|
|
2639
2639
|
workspace_id: z.ZodString;
|
|
2640
2640
|
created_at: z.ZodString;
|
|
2641
2641
|
occurred_at: z.ZodString;
|
|
2642
|
-
}
|
|
2642
|
+
} & {
|
|
2643
2643
|
device_id: z.ZodString;
|
|
2644
2644
|
connected_account_id: z.ZodString;
|
|
2645
2645
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2646
2646
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2647
|
-
}
|
|
2647
|
+
} & {
|
|
2648
2648
|
event_type: z.ZodLiteral<"thermostat.temperature_threshold_exceeded">;
|
|
2649
2649
|
temperature_celsius: z.ZodNumber;
|
|
2650
2650
|
temperature_fahrenheit: z.ZodNumber;
|
|
@@ -2652,7 +2652,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2652
2652
|
upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
2653
2653
|
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
2654
2654
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
2655
|
-
}
|
|
2655
|
+
}, "strip", z.ZodTypeAny, {
|
|
2656
2656
|
device_id: string;
|
|
2657
2657
|
workspace_id: string;
|
|
2658
2658
|
created_at: string;
|
|
@@ -2684,17 +2684,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2684
2684
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
2685
2685
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2686
2686
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2687
|
-
}>, z.ZodObject<
|
|
2687
|
+
}>, z.ZodObject<{
|
|
2688
2688
|
event_id: z.ZodString;
|
|
2689
2689
|
workspace_id: z.ZodString;
|
|
2690
2690
|
created_at: z.ZodString;
|
|
2691
2691
|
occurred_at: z.ZodString;
|
|
2692
|
-
}
|
|
2692
|
+
} & {
|
|
2693
2693
|
device_id: z.ZodString;
|
|
2694
2694
|
connected_account_id: z.ZodString;
|
|
2695
2695
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2696
2696
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2697
|
-
}
|
|
2697
|
+
} & {
|
|
2698
2698
|
event_type: z.ZodLiteral<"thermostat.temperature_threshold_no_longer_exceeded">;
|
|
2699
2699
|
temperature_celsius: z.ZodNumber;
|
|
2700
2700
|
temperature_fahrenheit: z.ZodNumber;
|
|
@@ -2702,7 +2702,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2702
2702
|
upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
2703
2703
|
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
2704
2704
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
2705
|
-
}
|
|
2705
|
+
}, "strip", z.ZodTypeAny, {
|
|
2706
2706
|
device_id: string;
|
|
2707
2707
|
workspace_id: string;
|
|
2708
2708
|
created_at: string;
|
|
@@ -2734,23 +2734,23 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2734
2734
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
2735
2735
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2736
2736
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2737
|
-
}>, z.ZodObject<
|
|
2737
|
+
}>, z.ZodObject<{
|
|
2738
2738
|
event_id: z.ZodString;
|
|
2739
2739
|
workspace_id: z.ZodString;
|
|
2740
2740
|
created_at: z.ZodString;
|
|
2741
2741
|
occurred_at: z.ZodString;
|
|
2742
|
-
}
|
|
2742
|
+
} & {
|
|
2743
2743
|
device_id: z.ZodString;
|
|
2744
2744
|
connected_account_id: z.ZodString;
|
|
2745
2745
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2746
2746
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2747
|
-
}
|
|
2747
|
+
} & {
|
|
2748
2748
|
event_type: z.ZodLiteral<"thermostat.temperature_reached_set_point">;
|
|
2749
2749
|
temperature_celsius: z.ZodNumber;
|
|
2750
2750
|
temperature_fahrenheit: z.ZodNumber;
|
|
2751
2751
|
desired_temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
2752
2752
|
desired_temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
2753
|
-
}
|
|
2753
|
+
}, "strip", z.ZodTypeAny, {
|
|
2754
2754
|
device_id: string;
|
|
2755
2755
|
workspace_id: string;
|
|
2756
2756
|
created_at: string;
|
|
@@ -2778,21 +2778,21 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2778
2778
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2779
2779
|
desired_temperature_celsius?: number | undefined;
|
|
2780
2780
|
desired_temperature_fahrenheit?: number | undefined;
|
|
2781
|
-
}>, z.ZodObject<
|
|
2781
|
+
}>, z.ZodObject<{
|
|
2782
2782
|
event_id: z.ZodString;
|
|
2783
2783
|
workspace_id: z.ZodString;
|
|
2784
2784
|
created_at: z.ZodString;
|
|
2785
2785
|
occurred_at: z.ZodString;
|
|
2786
|
-
}
|
|
2786
|
+
} & {
|
|
2787
2787
|
device_id: z.ZodString;
|
|
2788
2788
|
connected_account_id: z.ZodString;
|
|
2789
2789
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2790
2790
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2791
|
-
}
|
|
2791
|
+
} & {
|
|
2792
2792
|
event_type: z.ZodLiteral<"thermostat.temperature_changed">;
|
|
2793
2793
|
temperature_celsius: z.ZodNumber;
|
|
2794
2794
|
temperature_fahrenheit: z.ZodNumber;
|
|
2795
|
-
}
|
|
2795
|
+
}, "strip", z.ZodTypeAny, {
|
|
2796
2796
|
device_id: string;
|
|
2797
2797
|
workspace_id: string;
|
|
2798
2798
|
created_at: string;
|
|
@@ -2816,20 +2816,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2816
2816
|
event_type: "thermostat.temperature_changed";
|
|
2817
2817
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2818
2818
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2819
|
-
}>, z.ZodObject<
|
|
2819
|
+
}>, z.ZodObject<{
|
|
2820
2820
|
event_id: z.ZodString;
|
|
2821
2821
|
workspace_id: z.ZodString;
|
|
2822
2822
|
created_at: z.ZodString;
|
|
2823
2823
|
occurred_at: z.ZodString;
|
|
2824
|
-
}
|
|
2824
|
+
} & {
|
|
2825
2825
|
device_id: z.ZodString;
|
|
2826
2826
|
connected_account_id: z.ZodString;
|
|
2827
2827
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2828
2828
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2829
|
-
}
|
|
2829
|
+
} & {
|
|
2830
2830
|
event_type: z.ZodLiteral<"device.name_changed">;
|
|
2831
2831
|
device_name: z.ZodString;
|
|
2832
|
-
}
|
|
2832
|
+
}, "strip", z.ZodTypeAny, {
|
|
2833
2833
|
device_id: string;
|
|
2834
2834
|
workspace_id: string;
|
|
2835
2835
|
created_at: string;
|
|
@@ -2851,16 +2851,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2851
2851
|
event_type: "device.name_changed";
|
|
2852
2852
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2853
2853
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2854
|
-
}>, z.ZodObject<
|
|
2854
|
+
}>, z.ZodObject<{
|
|
2855
2855
|
event_id: z.ZodString;
|
|
2856
2856
|
workspace_id: z.ZodString;
|
|
2857
2857
|
created_at: z.ZodString;
|
|
2858
2858
|
occurred_at: z.ZodString;
|
|
2859
|
-
}
|
|
2859
|
+
} & {
|
|
2860
2860
|
enrollment_automation_id: z.ZodString;
|
|
2861
|
-
}
|
|
2861
|
+
} & {
|
|
2862
2862
|
event_type: z.ZodLiteral<"enrollment_automation.deleted">;
|
|
2863
|
-
}
|
|
2863
|
+
}, "strip", z.ZodTypeAny, {
|
|
2864
2864
|
workspace_id: string;
|
|
2865
2865
|
created_at: string;
|
|
2866
2866
|
enrollment_automation_id: string;
|
|
@@ -2874,17 +2874,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2874
2874
|
event_id: string;
|
|
2875
2875
|
occurred_at: string;
|
|
2876
2876
|
event_type: "enrollment_automation.deleted";
|
|
2877
|
-
}>, z.ZodObject<
|
|
2877
|
+
}>, z.ZodObject<{
|
|
2878
2878
|
event_id: z.ZodString;
|
|
2879
2879
|
workspace_id: z.ZodString;
|
|
2880
2880
|
created_at: z.ZodString;
|
|
2881
2881
|
occurred_at: z.ZodString;
|
|
2882
|
-
}
|
|
2882
|
+
} & {
|
|
2883
2883
|
device_id: z.ZodString;
|
|
2884
2884
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2885
|
-
}
|
|
2885
|
+
} & {
|
|
2886
2886
|
event_type: z.ZodLiteral<"phone.deactivated">;
|
|
2887
|
-
}
|
|
2887
|
+
}, "strip", z.ZodTypeAny, {
|
|
2888
2888
|
device_id: string;
|
|
2889
2889
|
workspace_id: string;
|
|
2890
2890
|
created_at: string;
|