@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 access_code_created_event: z.ZodObject<
|
|
2
|
+
export declare const access_code_created_event: 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;
|
|
@@ -36,20 +36,20 @@ export declare const access_code_created_event: z.ZodObject<z.objectUtil.extendS
|
|
|
36
36
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
37
37
|
}>;
|
|
38
38
|
export type AccessCodeCreatedEvent = z.infer<typeof access_code_created_event>;
|
|
39
|
-
export declare const access_code_changed_event: z.ZodObject<
|
|
39
|
+
export declare const access_code_changed_event: z.ZodObject<{
|
|
40
40
|
event_id: z.ZodString;
|
|
41
41
|
workspace_id: z.ZodString;
|
|
42
42
|
created_at: z.ZodString;
|
|
43
43
|
occurred_at: z.ZodString;
|
|
44
|
-
}
|
|
44
|
+
} & {
|
|
45
45
|
access_code_id: z.ZodString;
|
|
46
46
|
device_id: z.ZodString;
|
|
47
47
|
connected_account_id: z.ZodString;
|
|
48
48
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
49
49
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
50
|
-
}
|
|
50
|
+
} & {
|
|
51
51
|
event_type: z.ZodLiteral<"access_code.changed">;
|
|
52
|
-
}
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
53
|
device_id: string;
|
|
54
54
|
workspace_id: string;
|
|
55
55
|
created_at: string;
|
|
@@ -73,21 +73,21 @@ export declare const access_code_changed_event: z.ZodObject<z.objectUtil.extendS
|
|
|
73
73
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
74
74
|
}>;
|
|
75
75
|
export type AccessCodeChangedEvent = z.infer<typeof access_code_changed_event>;
|
|
76
|
-
export declare const access_code_scheduled_on_device_event: z.ZodObject<
|
|
76
|
+
export declare const access_code_scheduled_on_device_event: z.ZodObject<{
|
|
77
77
|
event_id: z.ZodString;
|
|
78
78
|
workspace_id: z.ZodString;
|
|
79
79
|
created_at: z.ZodString;
|
|
80
80
|
occurred_at: z.ZodString;
|
|
81
|
-
}
|
|
81
|
+
} & {
|
|
82
82
|
access_code_id: z.ZodString;
|
|
83
83
|
device_id: z.ZodString;
|
|
84
84
|
connected_account_id: z.ZodString;
|
|
85
85
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
86
86
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
87
|
-
}
|
|
87
|
+
} & {
|
|
88
88
|
event_type: z.ZodLiteral<"access_code.scheduled_on_device">;
|
|
89
89
|
code: z.ZodString;
|
|
90
|
-
}
|
|
90
|
+
}, "strip", z.ZodTypeAny, {
|
|
91
91
|
code: string;
|
|
92
92
|
device_id: string;
|
|
93
93
|
workspace_id: string;
|
|
@@ -113,21 +113,21 @@ export declare const access_code_scheduled_on_device_event: z.ZodObject<z.object
|
|
|
113
113
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
114
114
|
}>;
|
|
115
115
|
export type AccessCodeScheduledOnDeviceEvent = z.infer<typeof access_code_scheduled_on_device_event>;
|
|
116
|
-
export declare const access_code_set_on_device_event: z.ZodObject<
|
|
116
|
+
export declare const access_code_set_on_device_event: z.ZodObject<{
|
|
117
117
|
event_id: z.ZodString;
|
|
118
118
|
workspace_id: z.ZodString;
|
|
119
119
|
created_at: z.ZodString;
|
|
120
120
|
occurred_at: z.ZodString;
|
|
121
|
-
}
|
|
121
|
+
} & {
|
|
122
122
|
access_code_id: z.ZodString;
|
|
123
123
|
device_id: z.ZodString;
|
|
124
124
|
connected_account_id: z.ZodString;
|
|
125
125
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
126
126
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
127
|
-
}
|
|
127
|
+
} & {
|
|
128
128
|
event_type: z.ZodLiteral<"access_code.set_on_device">;
|
|
129
129
|
code: z.ZodString;
|
|
130
|
-
}
|
|
130
|
+
}, "strip", z.ZodTypeAny, {
|
|
131
131
|
code: string;
|
|
132
132
|
device_id: string;
|
|
133
133
|
workspace_id: string;
|
|
@@ -153,20 +153,20 @@ export declare const access_code_set_on_device_event: z.ZodObject<z.objectUtil.e
|
|
|
153
153
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
154
154
|
}>;
|
|
155
155
|
export type AccessCodeSetOnDeviceEvent = z.infer<typeof access_code_set_on_device_event>;
|
|
156
|
-
export declare const access_code_removed_from_device_event: z.ZodObject<
|
|
156
|
+
export declare const access_code_removed_from_device_event: z.ZodObject<{
|
|
157
157
|
event_id: z.ZodString;
|
|
158
158
|
workspace_id: z.ZodString;
|
|
159
159
|
created_at: z.ZodString;
|
|
160
160
|
occurred_at: z.ZodString;
|
|
161
|
-
}
|
|
161
|
+
} & {
|
|
162
162
|
access_code_id: z.ZodString;
|
|
163
163
|
device_id: z.ZodString;
|
|
164
164
|
connected_account_id: z.ZodString;
|
|
165
165
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
166
166
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
167
|
-
}
|
|
167
|
+
} & {
|
|
168
168
|
event_type: z.ZodLiteral<"access_code.removed_from_device">;
|
|
169
|
-
}
|
|
169
|
+
}, "strip", z.ZodTypeAny, {
|
|
170
170
|
device_id: string;
|
|
171
171
|
workspace_id: string;
|
|
172
172
|
created_at: string;
|
|
@@ -190,20 +190,20 @@ export declare const access_code_removed_from_device_event: z.ZodObject<z.object
|
|
|
190
190
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
191
191
|
}>;
|
|
192
192
|
export type AccessCodeRemovedFromDeviceEvent = z.infer<typeof access_code_removed_from_device_event>;
|
|
193
|
-
export declare const access_code_delay_in_setting_on_device_event: z.ZodObject<
|
|
193
|
+
export declare const access_code_delay_in_setting_on_device_event: z.ZodObject<{
|
|
194
194
|
event_id: z.ZodString;
|
|
195
195
|
workspace_id: z.ZodString;
|
|
196
196
|
created_at: z.ZodString;
|
|
197
197
|
occurred_at: z.ZodString;
|
|
198
|
-
}
|
|
198
|
+
} & {
|
|
199
199
|
access_code_id: z.ZodString;
|
|
200
200
|
device_id: z.ZodString;
|
|
201
201
|
connected_account_id: z.ZodString;
|
|
202
202
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
203
203
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
204
|
-
}
|
|
204
|
+
} & {
|
|
205
205
|
event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
|
|
206
|
-
}
|
|
206
|
+
}, "strip", z.ZodTypeAny, {
|
|
207
207
|
device_id: string;
|
|
208
208
|
workspace_id: string;
|
|
209
209
|
created_at: string;
|
|
@@ -227,20 +227,20 @@ export declare const access_code_delay_in_setting_on_device_event: z.ZodObject<z
|
|
|
227
227
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
228
228
|
}>;
|
|
229
229
|
export type AccessCodeDelayInSettingOnDeviceEvent = z.infer<typeof access_code_delay_in_setting_on_device_event>;
|
|
230
|
-
export declare const access_code_failed_to_set_on_device_event: z.ZodObject<
|
|
230
|
+
export declare const access_code_failed_to_set_on_device_event: z.ZodObject<{
|
|
231
231
|
event_id: z.ZodString;
|
|
232
232
|
workspace_id: z.ZodString;
|
|
233
233
|
created_at: z.ZodString;
|
|
234
234
|
occurred_at: z.ZodString;
|
|
235
|
-
}
|
|
235
|
+
} & {
|
|
236
236
|
access_code_id: z.ZodString;
|
|
237
237
|
device_id: z.ZodString;
|
|
238
238
|
connected_account_id: z.ZodString;
|
|
239
239
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
240
240
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
241
|
-
}
|
|
241
|
+
} & {
|
|
242
242
|
event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
|
|
243
|
-
}
|
|
243
|
+
}, "strip", z.ZodTypeAny, {
|
|
244
244
|
device_id: string;
|
|
245
245
|
workspace_id: string;
|
|
246
246
|
created_at: string;
|
|
@@ -264,21 +264,21 @@ export declare const access_code_failed_to_set_on_device_event: z.ZodObject<z.ob
|
|
|
264
264
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
265
265
|
}>;
|
|
266
266
|
export type AccessCodeFailedToSetOnDeviceEvent = z.infer<typeof access_code_failed_to_set_on_device_event>;
|
|
267
|
-
export declare const access_code_deleted_event: z.ZodObject<
|
|
267
|
+
export declare const access_code_deleted_event: z.ZodObject<{
|
|
268
268
|
event_id: z.ZodString;
|
|
269
269
|
workspace_id: z.ZodString;
|
|
270
270
|
created_at: z.ZodString;
|
|
271
271
|
occurred_at: z.ZodString;
|
|
272
|
-
}
|
|
272
|
+
} & {
|
|
273
273
|
access_code_id: z.ZodString;
|
|
274
274
|
device_id: z.ZodString;
|
|
275
275
|
connected_account_id: z.ZodString;
|
|
276
276
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
277
277
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
278
|
-
}
|
|
278
|
+
} & {
|
|
279
279
|
event_type: z.ZodLiteral<"access_code.deleted">;
|
|
280
280
|
code: z.ZodNullable<z.ZodString>;
|
|
281
|
-
}
|
|
281
|
+
}, "strip", z.ZodTypeAny, {
|
|
282
282
|
code: string | null;
|
|
283
283
|
device_id: string;
|
|
284
284
|
workspace_id: string;
|
|
@@ -304,20 +304,20 @@ export declare const access_code_deleted_event: z.ZodObject<z.objectUtil.extendS
|
|
|
304
304
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
305
305
|
}>;
|
|
306
306
|
export type AccessCodeDeletedEvent = z.infer<typeof access_code_deleted_event>;
|
|
307
|
-
export declare const access_code_delay_in_removing_from_device_event: z.ZodObject<
|
|
307
|
+
export declare const access_code_delay_in_removing_from_device_event: z.ZodObject<{
|
|
308
308
|
event_id: z.ZodString;
|
|
309
309
|
workspace_id: z.ZodString;
|
|
310
310
|
created_at: z.ZodString;
|
|
311
311
|
occurred_at: z.ZodString;
|
|
312
|
-
}
|
|
312
|
+
} & {
|
|
313
313
|
access_code_id: z.ZodString;
|
|
314
314
|
device_id: z.ZodString;
|
|
315
315
|
connected_account_id: z.ZodString;
|
|
316
316
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
317
317
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
318
|
-
}
|
|
318
|
+
} & {
|
|
319
319
|
event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
|
|
320
|
-
}
|
|
320
|
+
}, "strip", z.ZodTypeAny, {
|
|
321
321
|
device_id: string;
|
|
322
322
|
workspace_id: string;
|
|
323
323
|
created_at: string;
|
|
@@ -341,20 +341,20 @@ export declare const access_code_delay_in_removing_from_device_event: z.ZodObjec
|
|
|
341
341
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
342
342
|
}>;
|
|
343
343
|
export type AccessCodeDelayInRemovingFromDeviceEvent = z.infer<typeof access_code_delay_in_removing_from_device_event>;
|
|
344
|
-
export declare const access_code_failed_to_remove_from_device_event: z.ZodObject<
|
|
344
|
+
export declare const access_code_failed_to_remove_from_device_event: z.ZodObject<{
|
|
345
345
|
event_id: z.ZodString;
|
|
346
346
|
workspace_id: z.ZodString;
|
|
347
347
|
created_at: z.ZodString;
|
|
348
348
|
occurred_at: z.ZodString;
|
|
349
|
-
}
|
|
349
|
+
} & {
|
|
350
350
|
access_code_id: z.ZodString;
|
|
351
351
|
device_id: z.ZodString;
|
|
352
352
|
connected_account_id: z.ZodString;
|
|
353
353
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
354
354
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
355
|
-
}
|
|
355
|
+
} & {
|
|
356
356
|
event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
|
|
357
|
-
}
|
|
357
|
+
}, "strip", z.ZodTypeAny, {
|
|
358
358
|
device_id: string;
|
|
359
359
|
workspace_id: string;
|
|
360
360
|
created_at: string;
|
|
@@ -378,20 +378,20 @@ export declare const access_code_failed_to_remove_from_device_event: z.ZodObject
|
|
|
378
378
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
379
379
|
}>;
|
|
380
380
|
export type AccessCodeFailedToRemoveFromDeviceEvent = z.infer<typeof access_code_failed_to_remove_from_device_event>;
|
|
381
|
-
export declare const access_code_modified_external_to_seam_event: z.ZodObject<
|
|
381
|
+
export declare const access_code_modified_external_to_seam_event: z.ZodObject<{
|
|
382
382
|
event_id: z.ZodString;
|
|
383
383
|
workspace_id: z.ZodString;
|
|
384
384
|
created_at: z.ZodString;
|
|
385
385
|
occurred_at: z.ZodString;
|
|
386
|
-
}
|
|
386
|
+
} & {
|
|
387
387
|
access_code_id: z.ZodString;
|
|
388
388
|
device_id: z.ZodString;
|
|
389
389
|
connected_account_id: z.ZodString;
|
|
390
390
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
391
391
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
392
|
-
}
|
|
392
|
+
} & {
|
|
393
393
|
event_type: z.ZodLiteral<"access_code.modified_external_to_seam">;
|
|
394
|
-
}
|
|
394
|
+
}, "strip", z.ZodTypeAny, {
|
|
395
395
|
device_id: string;
|
|
396
396
|
workspace_id: string;
|
|
397
397
|
created_at: string;
|
|
@@ -415,20 +415,20 @@ export declare const access_code_modified_external_to_seam_event: z.ZodObject<z.
|
|
|
415
415
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
416
416
|
}>;
|
|
417
417
|
export type AccessCodeModifiedExternalToSeamEvent = z.infer<typeof access_code_modified_external_to_seam_event>;
|
|
418
|
-
export declare const access_code_deleted_external_to_seam_event: z.ZodObject<
|
|
418
|
+
export declare const access_code_deleted_external_to_seam_event: z.ZodObject<{
|
|
419
419
|
event_id: z.ZodString;
|
|
420
420
|
workspace_id: z.ZodString;
|
|
421
421
|
created_at: z.ZodString;
|
|
422
422
|
occurred_at: z.ZodString;
|
|
423
|
-
}
|
|
423
|
+
} & {
|
|
424
424
|
access_code_id: z.ZodString;
|
|
425
425
|
device_id: z.ZodString;
|
|
426
426
|
connected_account_id: z.ZodString;
|
|
427
427
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
428
428
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
429
|
-
}
|
|
429
|
+
} & {
|
|
430
430
|
event_type: z.ZodLiteral<"access_code.deleted_external_to_seam">;
|
|
431
|
-
}
|
|
431
|
+
}, "strip", z.ZodTypeAny, {
|
|
432
432
|
device_id: string;
|
|
433
433
|
workspace_id: string;
|
|
434
434
|
created_at: string;
|
|
@@ -452,21 +452,21 @@ export declare const access_code_deleted_external_to_seam_event: z.ZodObject<z.o
|
|
|
452
452
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
453
453
|
}>;
|
|
454
454
|
export type AccessCodeDeletedExternalToSeamEvent = z.infer<typeof access_code_deleted_external_to_seam_event>;
|
|
455
|
-
export declare const access_code_backup_access_code_pulled_event: z.ZodObject<
|
|
455
|
+
export declare const access_code_backup_access_code_pulled_event: z.ZodObject<{
|
|
456
456
|
event_id: z.ZodString;
|
|
457
457
|
workspace_id: z.ZodString;
|
|
458
458
|
created_at: z.ZodString;
|
|
459
459
|
occurred_at: z.ZodString;
|
|
460
|
-
}
|
|
460
|
+
} & {
|
|
461
461
|
access_code_id: z.ZodString;
|
|
462
462
|
device_id: z.ZodString;
|
|
463
463
|
connected_account_id: z.ZodString;
|
|
464
464
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
465
465
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
466
|
-
}
|
|
466
|
+
} & {
|
|
467
467
|
event_type: z.ZodLiteral<"access_code.backup_access_code_pulled">;
|
|
468
468
|
backup_access_code_id: z.ZodString;
|
|
469
|
-
}
|
|
469
|
+
}, "strip", z.ZodTypeAny, {
|
|
470
470
|
device_id: string;
|
|
471
471
|
workspace_id: string;
|
|
472
472
|
created_at: string;
|
|
@@ -492,20 +492,20 @@ export declare const access_code_backup_access_code_pulled_event: z.ZodObject<z.
|
|
|
492
492
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
493
493
|
}>;
|
|
494
494
|
export type AccessCodeBackupAccessCodePulledEvent = z.infer<typeof access_code_backup_access_code_pulled_event>;
|
|
495
|
-
export declare const unmanaged_access_code_converted_to_managed_event: z.ZodObject<
|
|
495
|
+
export declare const unmanaged_access_code_converted_to_managed_event: z.ZodObject<{
|
|
496
496
|
event_id: z.ZodString;
|
|
497
497
|
workspace_id: z.ZodString;
|
|
498
498
|
created_at: z.ZodString;
|
|
499
499
|
occurred_at: z.ZodString;
|
|
500
|
-
}
|
|
500
|
+
} & {
|
|
501
501
|
access_code_id: z.ZodString;
|
|
502
502
|
device_id: z.ZodString;
|
|
503
503
|
connected_account_id: z.ZodString;
|
|
504
504
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
505
505
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
506
|
-
}
|
|
506
|
+
} & {
|
|
507
507
|
event_type: z.ZodLiteral<"access_code.unmanaged.converted_to_managed">;
|
|
508
|
-
}
|
|
508
|
+
}, "strip", z.ZodTypeAny, {
|
|
509
509
|
device_id: string;
|
|
510
510
|
workspace_id: string;
|
|
511
511
|
created_at: string;
|
|
@@ -529,20 +529,20 @@ export declare const unmanaged_access_code_converted_to_managed_event: z.ZodObje
|
|
|
529
529
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
530
530
|
}>;
|
|
531
531
|
export type UnmanagedAccessCodeConvertedToManagedEvent = z.infer<typeof unmanaged_access_code_converted_to_managed_event>;
|
|
532
|
-
export declare const unmanaged_access_code_failed_to_convert_to_managed_event: z.ZodObject<
|
|
532
|
+
export declare const unmanaged_access_code_failed_to_convert_to_managed_event: z.ZodObject<{
|
|
533
533
|
event_id: z.ZodString;
|
|
534
534
|
workspace_id: z.ZodString;
|
|
535
535
|
created_at: z.ZodString;
|
|
536
536
|
occurred_at: z.ZodString;
|
|
537
|
-
}
|
|
537
|
+
} & {
|
|
538
538
|
access_code_id: z.ZodString;
|
|
539
539
|
device_id: z.ZodString;
|
|
540
540
|
connected_account_id: z.ZodString;
|
|
541
541
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
542
542
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
543
|
-
}
|
|
543
|
+
} & {
|
|
544
544
|
event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
|
|
545
|
-
}
|
|
545
|
+
}, "strip", z.ZodTypeAny, {
|
|
546
546
|
device_id: string;
|
|
547
547
|
workspace_id: string;
|
|
548
548
|
created_at: string;
|
|
@@ -566,20 +566,20 @@ export declare const unmanaged_access_code_failed_to_convert_to_managed_event: z
|
|
|
566
566
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
567
567
|
}>;
|
|
568
568
|
export type UnmanagedAccessCodeFailedToConvertToManagedEvent = z.infer<typeof unmanaged_access_code_failed_to_convert_to_managed_event>;
|
|
569
|
-
export declare const unmanaged_access_code_created_event: z.ZodObject<
|
|
569
|
+
export declare const unmanaged_access_code_created_event: z.ZodObject<{
|
|
570
570
|
event_id: z.ZodString;
|
|
571
571
|
workspace_id: z.ZodString;
|
|
572
572
|
created_at: z.ZodString;
|
|
573
573
|
occurred_at: z.ZodString;
|
|
574
|
-
}
|
|
574
|
+
} & {
|
|
575
575
|
access_code_id: z.ZodString;
|
|
576
576
|
device_id: z.ZodString;
|
|
577
577
|
connected_account_id: z.ZodString;
|
|
578
578
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
579
579
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
580
|
-
}
|
|
580
|
+
} & {
|
|
581
581
|
event_type: z.ZodLiteral<"access_code.unmanaged.created">;
|
|
582
|
-
}
|
|
582
|
+
}, "strip", z.ZodTypeAny, {
|
|
583
583
|
device_id: string;
|
|
584
584
|
workspace_id: string;
|
|
585
585
|
created_at: string;
|
|
@@ -603,20 +603,20 @@ export declare const unmanaged_access_code_created_event: z.ZodObject<z.objectUt
|
|
|
603
603
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
604
604
|
}>;
|
|
605
605
|
export type UnmanagedAccessCodeCreatedEvent = z.infer<typeof unmanaged_access_code_created_event>;
|
|
606
|
-
export declare const unmanaged_access_code_removed_event: z.ZodObject<
|
|
606
|
+
export declare const unmanaged_access_code_removed_event: z.ZodObject<{
|
|
607
607
|
event_id: z.ZodString;
|
|
608
608
|
workspace_id: z.ZodString;
|
|
609
609
|
created_at: z.ZodString;
|
|
610
610
|
occurred_at: z.ZodString;
|
|
611
|
-
}
|
|
611
|
+
} & {
|
|
612
612
|
access_code_id: z.ZodString;
|
|
613
613
|
device_id: z.ZodString;
|
|
614
614
|
connected_account_id: z.ZodString;
|
|
615
615
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
616
616
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
617
|
-
}
|
|
617
|
+
} & {
|
|
618
618
|
event_type: z.ZodLiteral<"access_code.unmanaged.removed">;
|
|
619
|
-
}
|
|
619
|
+
}, "strip", z.ZodTypeAny, {
|
|
620
620
|
device_id: string;
|
|
621
621
|
workspace_id: string;
|
|
622
622
|
created_at: string;
|
|
@@ -640,20 +640,20 @@ export declare const unmanaged_access_code_removed_event: z.ZodObject<z.objectUt
|
|
|
640
640
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
641
641
|
}>;
|
|
642
642
|
export type UnmanagedAccessCodeRemovedEvent = z.infer<typeof unmanaged_access_code_removed_event>;
|
|
643
|
-
export declare const access_code_events: readonly [z.ZodObject<
|
|
643
|
+
export declare const access_code_events: readonly [z.ZodObject<{
|
|
644
644
|
event_id: z.ZodString;
|
|
645
645
|
workspace_id: z.ZodString;
|
|
646
646
|
created_at: z.ZodString;
|
|
647
647
|
occurred_at: z.ZodString;
|
|
648
|
-
}
|
|
648
|
+
} & {
|
|
649
649
|
access_code_id: z.ZodString;
|
|
650
650
|
device_id: z.ZodString;
|
|
651
651
|
connected_account_id: z.ZodString;
|
|
652
652
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
653
653
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
654
|
-
}
|
|
654
|
+
} & {
|
|
655
655
|
event_type: z.ZodLiteral<"access_code.created">;
|
|
656
|
-
}
|
|
656
|
+
}, "strip", z.ZodTypeAny, {
|
|
657
657
|
device_id: string;
|
|
658
658
|
workspace_id: string;
|
|
659
659
|
created_at: string;
|
|
@@ -675,20 +675,20 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
|
|
|
675
675
|
event_type: "access_code.created";
|
|
676
676
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
677
677
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
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_code_id: z.ZodString;
|
|
685
685
|
device_id: z.ZodString;
|
|
686
686
|
connected_account_id: z.ZodString;
|
|
687
687
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
688
688
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
689
|
-
}
|
|
689
|
+
} & {
|
|
690
690
|
event_type: z.ZodLiteral<"access_code.changed">;
|
|
691
|
-
}
|
|
691
|
+
}, "strip", z.ZodTypeAny, {
|
|
692
692
|
device_id: string;
|
|
693
693
|
workspace_id: string;
|
|
694
694
|
created_at: string;
|
|
@@ -710,21 +710,21 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
|
|
|
710
710
|
event_type: "access_code.changed";
|
|
711
711
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
712
712
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
713
|
-
}>, z.ZodObject<
|
|
713
|
+
}>, z.ZodObject<{
|
|
714
714
|
event_id: z.ZodString;
|
|
715
715
|
workspace_id: z.ZodString;
|
|
716
716
|
created_at: z.ZodString;
|
|
717
717
|
occurred_at: z.ZodString;
|
|
718
|
-
}
|
|
718
|
+
} & {
|
|
719
719
|
access_code_id: z.ZodString;
|
|
720
720
|
device_id: z.ZodString;
|
|
721
721
|
connected_account_id: z.ZodString;
|
|
722
722
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
723
723
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
724
|
-
}
|
|
724
|
+
} & {
|
|
725
725
|
event_type: z.ZodLiteral<"access_code.scheduled_on_device">;
|
|
726
726
|
code: z.ZodString;
|
|
727
|
-
}
|
|
727
|
+
}, "strip", z.ZodTypeAny, {
|
|
728
728
|
code: string;
|
|
729
729
|
device_id: string;
|
|
730
730
|
workspace_id: string;
|
|
@@ -748,21 +748,21 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
|
|
|
748
748
|
event_type: "access_code.scheduled_on_device";
|
|
749
749
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
750
750
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
751
|
-
}>, z.ZodObject<
|
|
751
|
+
}>, z.ZodObject<{
|
|
752
752
|
event_id: z.ZodString;
|
|
753
753
|
workspace_id: z.ZodString;
|
|
754
754
|
created_at: z.ZodString;
|
|
755
755
|
occurred_at: z.ZodString;
|
|
756
|
-
}
|
|
756
|
+
} & {
|
|
757
757
|
access_code_id: z.ZodString;
|
|
758
758
|
device_id: z.ZodString;
|
|
759
759
|
connected_account_id: z.ZodString;
|
|
760
760
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
761
761
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
762
|
-
}
|
|
762
|
+
} & {
|
|
763
763
|
event_type: z.ZodLiteral<"access_code.set_on_device">;
|
|
764
764
|
code: z.ZodString;
|
|
765
|
-
}
|
|
765
|
+
}, "strip", z.ZodTypeAny, {
|
|
766
766
|
code: string;
|
|
767
767
|
device_id: string;
|
|
768
768
|
workspace_id: string;
|
|
@@ -786,20 +786,20 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
|
|
|
786
786
|
event_type: "access_code.set_on_device";
|
|
787
787
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
788
788
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
789
|
-
}>, z.ZodObject<
|
|
789
|
+
}>, z.ZodObject<{
|
|
790
790
|
event_id: z.ZodString;
|
|
791
791
|
workspace_id: z.ZodString;
|
|
792
792
|
created_at: z.ZodString;
|
|
793
793
|
occurred_at: z.ZodString;
|
|
794
|
-
}
|
|
794
|
+
} & {
|
|
795
795
|
access_code_id: z.ZodString;
|
|
796
796
|
device_id: z.ZodString;
|
|
797
797
|
connected_account_id: z.ZodString;
|
|
798
798
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
799
799
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
800
|
-
}
|
|
800
|
+
} & {
|
|
801
801
|
event_type: z.ZodLiteral<"access_code.removed_from_device">;
|
|
802
|
-
}
|
|
802
|
+
}, "strip", z.ZodTypeAny, {
|
|
803
803
|
device_id: string;
|
|
804
804
|
workspace_id: string;
|
|
805
805
|
created_at: string;
|
|
@@ -821,20 +821,20 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
|
|
|
821
821
|
event_type: "access_code.removed_from_device";
|
|
822
822
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
823
823
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
824
|
-
}>, z.ZodObject<
|
|
824
|
+
}>, z.ZodObject<{
|
|
825
825
|
event_id: z.ZodString;
|
|
826
826
|
workspace_id: z.ZodString;
|
|
827
827
|
created_at: z.ZodString;
|
|
828
828
|
occurred_at: z.ZodString;
|
|
829
|
-
}
|
|
829
|
+
} & {
|
|
830
830
|
access_code_id: z.ZodString;
|
|
831
831
|
device_id: z.ZodString;
|
|
832
832
|
connected_account_id: z.ZodString;
|
|
833
833
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
834
834
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
835
|
-
}
|
|
835
|
+
} & {
|
|
836
836
|
event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
|
|
837
|
-
}
|
|
837
|
+
}, "strip", z.ZodTypeAny, {
|
|
838
838
|
device_id: string;
|
|
839
839
|
workspace_id: string;
|
|
840
840
|
created_at: string;
|
|
@@ -856,20 +856,20 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
|
|
|
856
856
|
event_type: "access_code.delay_in_setting_on_device";
|
|
857
857
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
858
858
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
859
|
-
}>, z.ZodObject<
|
|
859
|
+
}>, z.ZodObject<{
|
|
860
860
|
event_id: z.ZodString;
|
|
861
861
|
workspace_id: z.ZodString;
|
|
862
862
|
created_at: z.ZodString;
|
|
863
863
|
occurred_at: z.ZodString;
|
|
864
|
-
}
|
|
864
|
+
} & {
|
|
865
865
|
access_code_id: z.ZodString;
|
|
866
866
|
device_id: z.ZodString;
|
|
867
867
|
connected_account_id: z.ZodString;
|
|
868
868
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
869
869
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
870
|
-
}
|
|
870
|
+
} & {
|
|
871
871
|
event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
|
|
872
|
-
}
|
|
872
|
+
}, "strip", z.ZodTypeAny, {
|
|
873
873
|
device_id: string;
|
|
874
874
|
workspace_id: string;
|
|
875
875
|
created_at: string;
|
|
@@ -891,21 +891,21 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
|
|
|
891
891
|
event_type: "access_code.failed_to_set_on_device";
|
|
892
892
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
893
893
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
894
|
-
}>, z.ZodObject<
|
|
894
|
+
}>, z.ZodObject<{
|
|
895
895
|
event_id: z.ZodString;
|
|
896
896
|
workspace_id: z.ZodString;
|
|
897
897
|
created_at: z.ZodString;
|
|
898
898
|
occurred_at: z.ZodString;
|
|
899
|
-
}
|
|
899
|
+
} & {
|
|
900
900
|
access_code_id: z.ZodString;
|
|
901
901
|
device_id: z.ZodString;
|
|
902
902
|
connected_account_id: z.ZodString;
|
|
903
903
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
904
904
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
905
|
-
}
|
|
905
|
+
} & {
|
|
906
906
|
event_type: z.ZodLiteral<"access_code.deleted">;
|
|
907
907
|
code: z.ZodNullable<z.ZodString>;
|
|
908
|
-
}
|
|
908
|
+
}, "strip", z.ZodTypeAny, {
|
|
909
909
|
code: string | null;
|
|
910
910
|
device_id: string;
|
|
911
911
|
workspace_id: string;
|
|
@@ -929,20 +929,20 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
|
|
|
929
929
|
event_type: "access_code.deleted";
|
|
930
930
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
931
931
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
932
|
-
}>, z.ZodObject<
|
|
932
|
+
}>, z.ZodObject<{
|
|
933
933
|
event_id: z.ZodString;
|
|
934
934
|
workspace_id: z.ZodString;
|
|
935
935
|
created_at: z.ZodString;
|
|
936
936
|
occurred_at: z.ZodString;
|
|
937
|
-
}
|
|
937
|
+
} & {
|
|
938
938
|
access_code_id: z.ZodString;
|
|
939
939
|
device_id: z.ZodString;
|
|
940
940
|
connected_account_id: z.ZodString;
|
|
941
941
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
942
942
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
943
|
-
}
|
|
943
|
+
} & {
|
|
944
944
|
event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
|
|
945
|
-
}
|
|
945
|
+
}, "strip", z.ZodTypeAny, {
|
|
946
946
|
device_id: string;
|
|
947
947
|
workspace_id: string;
|
|
948
948
|
created_at: string;
|
|
@@ -964,20 +964,20 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
|
|
|
964
964
|
event_type: "access_code.delay_in_removing_from_device";
|
|
965
965
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
966
966
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
967
|
-
}>, z.ZodObject<
|
|
967
|
+
}>, z.ZodObject<{
|
|
968
968
|
event_id: z.ZodString;
|
|
969
969
|
workspace_id: z.ZodString;
|
|
970
970
|
created_at: z.ZodString;
|
|
971
971
|
occurred_at: z.ZodString;
|
|
972
|
-
}
|
|
972
|
+
} & {
|
|
973
973
|
access_code_id: z.ZodString;
|
|
974
974
|
device_id: z.ZodString;
|
|
975
975
|
connected_account_id: z.ZodString;
|
|
976
976
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
977
977
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
978
|
-
}
|
|
978
|
+
} & {
|
|
979
979
|
event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
|
|
980
|
-
}
|
|
980
|
+
}, "strip", z.ZodTypeAny, {
|
|
981
981
|
device_id: string;
|
|
982
982
|
workspace_id: string;
|
|
983
983
|
created_at: string;
|
|
@@ -999,20 +999,20 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
|
|
|
999
999
|
event_type: "access_code.failed_to_remove_from_device";
|
|
1000
1000
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1001
1001
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1002
|
-
}>, z.ZodObject<
|
|
1002
|
+
}>, z.ZodObject<{
|
|
1003
1003
|
event_id: z.ZodString;
|
|
1004
1004
|
workspace_id: z.ZodString;
|
|
1005
1005
|
created_at: z.ZodString;
|
|
1006
1006
|
occurred_at: z.ZodString;
|
|
1007
|
-
}
|
|
1007
|
+
} & {
|
|
1008
1008
|
access_code_id: z.ZodString;
|
|
1009
1009
|
device_id: z.ZodString;
|
|
1010
1010
|
connected_account_id: z.ZodString;
|
|
1011
1011
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1012
1012
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1013
|
-
}
|
|
1013
|
+
} & {
|
|
1014
1014
|
event_type: z.ZodLiteral<"access_code.modified_external_to_seam">;
|
|
1015
|
-
}
|
|
1015
|
+
}, "strip", z.ZodTypeAny, {
|
|
1016
1016
|
device_id: string;
|
|
1017
1017
|
workspace_id: string;
|
|
1018
1018
|
created_at: string;
|
|
@@ -1034,20 +1034,20 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
|
|
|
1034
1034
|
event_type: "access_code.modified_external_to_seam";
|
|
1035
1035
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1036
1036
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1037
|
-
}>, z.ZodObject<
|
|
1037
|
+
}>, z.ZodObject<{
|
|
1038
1038
|
event_id: z.ZodString;
|
|
1039
1039
|
workspace_id: z.ZodString;
|
|
1040
1040
|
created_at: z.ZodString;
|
|
1041
1041
|
occurred_at: z.ZodString;
|
|
1042
|
-
}
|
|
1042
|
+
} & {
|
|
1043
1043
|
access_code_id: z.ZodString;
|
|
1044
1044
|
device_id: z.ZodString;
|
|
1045
1045
|
connected_account_id: z.ZodString;
|
|
1046
1046
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1047
1047
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1048
|
-
}
|
|
1048
|
+
} & {
|
|
1049
1049
|
event_type: z.ZodLiteral<"access_code.deleted_external_to_seam">;
|
|
1050
|
-
}
|
|
1050
|
+
}, "strip", z.ZodTypeAny, {
|
|
1051
1051
|
device_id: string;
|
|
1052
1052
|
workspace_id: string;
|
|
1053
1053
|
created_at: string;
|
|
@@ -1069,21 +1069,21 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
|
|
|
1069
1069
|
event_type: "access_code.deleted_external_to_seam";
|
|
1070
1070
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1071
1071
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1072
|
-
}>, z.ZodObject<
|
|
1072
|
+
}>, z.ZodObject<{
|
|
1073
1073
|
event_id: z.ZodString;
|
|
1074
1074
|
workspace_id: z.ZodString;
|
|
1075
1075
|
created_at: z.ZodString;
|
|
1076
1076
|
occurred_at: z.ZodString;
|
|
1077
|
-
}
|
|
1077
|
+
} & {
|
|
1078
1078
|
access_code_id: z.ZodString;
|
|
1079
1079
|
device_id: z.ZodString;
|
|
1080
1080
|
connected_account_id: z.ZodString;
|
|
1081
1081
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1082
1082
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1083
|
-
}
|
|
1083
|
+
} & {
|
|
1084
1084
|
event_type: z.ZodLiteral<"access_code.backup_access_code_pulled">;
|
|
1085
1085
|
backup_access_code_id: z.ZodString;
|
|
1086
|
-
}
|
|
1086
|
+
}, "strip", z.ZodTypeAny, {
|
|
1087
1087
|
device_id: string;
|
|
1088
1088
|
workspace_id: string;
|
|
1089
1089
|
created_at: string;
|
|
@@ -1107,20 +1107,20 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
|
|
|
1107
1107
|
backup_access_code_id: string;
|
|
1108
1108
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1109
1109
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1110
|
-
}>, z.ZodObject<
|
|
1110
|
+
}>, z.ZodObject<{
|
|
1111
1111
|
event_id: z.ZodString;
|
|
1112
1112
|
workspace_id: z.ZodString;
|
|
1113
1113
|
created_at: z.ZodString;
|
|
1114
1114
|
occurred_at: z.ZodString;
|
|
1115
|
-
}
|
|
1115
|
+
} & {
|
|
1116
1116
|
access_code_id: z.ZodString;
|
|
1117
1117
|
device_id: z.ZodString;
|
|
1118
1118
|
connected_account_id: z.ZodString;
|
|
1119
1119
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1120
1120
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1121
|
-
}
|
|
1121
|
+
} & {
|
|
1122
1122
|
event_type: z.ZodLiteral<"access_code.unmanaged.converted_to_managed">;
|
|
1123
|
-
}
|
|
1123
|
+
}, "strip", z.ZodTypeAny, {
|
|
1124
1124
|
device_id: string;
|
|
1125
1125
|
workspace_id: string;
|
|
1126
1126
|
created_at: string;
|
|
@@ -1142,20 +1142,20 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
|
|
|
1142
1142
|
event_type: "access_code.unmanaged.converted_to_managed";
|
|
1143
1143
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1144
1144
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1145
|
-
}>, z.ZodObject<
|
|
1145
|
+
}>, z.ZodObject<{
|
|
1146
1146
|
event_id: z.ZodString;
|
|
1147
1147
|
workspace_id: z.ZodString;
|
|
1148
1148
|
created_at: z.ZodString;
|
|
1149
1149
|
occurred_at: z.ZodString;
|
|
1150
|
-
}
|
|
1150
|
+
} & {
|
|
1151
1151
|
access_code_id: z.ZodString;
|
|
1152
1152
|
device_id: z.ZodString;
|
|
1153
1153
|
connected_account_id: z.ZodString;
|
|
1154
1154
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1155
1155
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1156
|
-
}
|
|
1156
|
+
} & {
|
|
1157
1157
|
event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
|
|
1158
|
-
}
|
|
1158
|
+
}, "strip", z.ZodTypeAny, {
|
|
1159
1159
|
device_id: string;
|
|
1160
1160
|
workspace_id: string;
|
|
1161
1161
|
created_at: string;
|
|
@@ -1177,20 +1177,20 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
|
|
|
1177
1177
|
event_type: "access_code.unmanaged.failed_to_convert_to_managed";
|
|
1178
1178
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1179
1179
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1180
|
-
}>, z.ZodObject<
|
|
1180
|
+
}>, z.ZodObject<{
|
|
1181
1181
|
event_id: z.ZodString;
|
|
1182
1182
|
workspace_id: z.ZodString;
|
|
1183
1183
|
created_at: z.ZodString;
|
|
1184
1184
|
occurred_at: z.ZodString;
|
|
1185
|
-
}
|
|
1185
|
+
} & {
|
|
1186
1186
|
access_code_id: z.ZodString;
|
|
1187
1187
|
device_id: z.ZodString;
|
|
1188
1188
|
connected_account_id: z.ZodString;
|
|
1189
1189
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1190
1190
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1191
|
-
}
|
|
1191
|
+
} & {
|
|
1192
1192
|
event_type: z.ZodLiteral<"access_code.unmanaged.created">;
|
|
1193
|
-
}
|
|
1193
|
+
}, "strip", z.ZodTypeAny, {
|
|
1194
1194
|
device_id: string;
|
|
1195
1195
|
workspace_id: string;
|
|
1196
1196
|
created_at: string;
|
|
@@ -1212,20 +1212,20 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
|
|
|
1212
1212
|
event_type: "access_code.unmanaged.created";
|
|
1213
1213
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1214
1214
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1215
|
-
}>, z.ZodObject<
|
|
1215
|
+
}>, z.ZodObject<{
|
|
1216
1216
|
event_id: z.ZodString;
|
|
1217
1217
|
workspace_id: z.ZodString;
|
|
1218
1218
|
created_at: z.ZodString;
|
|
1219
1219
|
occurred_at: z.ZodString;
|
|
1220
|
-
}
|
|
1220
|
+
} & {
|
|
1221
1221
|
access_code_id: z.ZodString;
|
|
1222
1222
|
device_id: z.ZodString;
|
|
1223
1223
|
connected_account_id: z.ZodString;
|
|
1224
1224
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1225
1225
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1226
|
-
}
|
|
1226
|
+
} & {
|
|
1227
1227
|
event_type: z.ZodLiteral<"access_code.unmanaged.removed">;
|
|
1228
|
-
}
|
|
1228
|
+
}, "strip", z.ZodTypeAny, {
|
|
1229
1229
|
device_id: string;
|
|
1230
1230
|
workspace_id: string;
|
|
1231
1231
|
created_at: string;
|