@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,16 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const connected_account_connected_event: z.ZodObject<
|
|
2
|
+
export declare const connected_account_connected_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
|
connected_account_id: z.ZodString;
|
|
9
9
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
10
|
-
}
|
|
10
|
+
} & {
|
|
11
11
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
12
12
|
connect_webview_id: z.ZodString;
|
|
13
|
-
}
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
workspace_id: string;
|
|
15
15
|
created_at: string;
|
|
16
16
|
connected_account_id: string;
|
|
@@ -30,18 +30,18 @@ export declare const connected_account_connected_event: z.ZodObject<z.objectUtil
|
|
|
30
30
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
31
31
|
}>;
|
|
32
32
|
export type ConnectedAccountConnectedEvent = z.infer<typeof connected_account_connected_event>;
|
|
33
|
-
export declare const connected_account_created_event: z.ZodObject<
|
|
33
|
+
export declare const connected_account_created_event: z.ZodObject<{
|
|
34
34
|
event_id: z.ZodString;
|
|
35
35
|
workspace_id: z.ZodString;
|
|
36
36
|
created_at: z.ZodString;
|
|
37
37
|
occurred_at: z.ZodString;
|
|
38
|
-
}
|
|
38
|
+
} & {
|
|
39
39
|
connected_account_id: z.ZodString;
|
|
40
40
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
41
|
-
}
|
|
41
|
+
} & {
|
|
42
42
|
event_type: z.ZodLiteral<"connected_account.created">;
|
|
43
43
|
connect_webview_id: z.ZodString;
|
|
44
|
-
}
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
45
|
workspace_id: string;
|
|
46
46
|
created_at: string;
|
|
47
47
|
connected_account_id: string;
|
|
@@ -62,18 +62,18 @@ export declare const connected_account_created_event: z.ZodObject<z.objectUtil.e
|
|
|
62
62
|
}>;
|
|
63
63
|
export type ConnectedAccountCreatedEvent = z.infer<typeof connected_account_created_event>;
|
|
64
64
|
/** @deprecated */
|
|
65
|
-
export declare const connected_account_successful_login_event: z.ZodObject<
|
|
65
|
+
export declare const connected_account_successful_login_event: z.ZodObject<{
|
|
66
66
|
event_id: z.ZodString;
|
|
67
67
|
workspace_id: z.ZodString;
|
|
68
68
|
created_at: z.ZodString;
|
|
69
69
|
occurred_at: z.ZodString;
|
|
70
|
-
}
|
|
70
|
+
} & {
|
|
71
71
|
connected_account_id: z.ZodString;
|
|
72
72
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
73
|
-
}
|
|
73
|
+
} & {
|
|
74
74
|
event_type: z.ZodLiteral<"connected_account.successful_login">;
|
|
75
75
|
connect_webview_id: z.ZodString;
|
|
76
|
-
}
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
77
77
|
workspace_id: string;
|
|
78
78
|
created_at: string;
|
|
79
79
|
connected_account_id: string;
|
|
@@ -94,17 +94,17 @@ export declare const connected_account_successful_login_event: z.ZodObject<z.obj
|
|
|
94
94
|
}>;
|
|
95
95
|
/** @deprecated Rely on ConnectWebviewLoginSucceededEvent instead */
|
|
96
96
|
export type ConnectedAccountSuccessfulLoginEvent = z.infer<typeof connected_account_successful_login_event>;
|
|
97
|
-
export declare const connected_account_disconnected_event: z.ZodObject<
|
|
97
|
+
export declare const connected_account_disconnected_event: z.ZodObject<{
|
|
98
98
|
event_id: z.ZodString;
|
|
99
99
|
workspace_id: z.ZodString;
|
|
100
100
|
created_at: z.ZodString;
|
|
101
101
|
occurred_at: z.ZodString;
|
|
102
|
-
}
|
|
102
|
+
} & {
|
|
103
103
|
connected_account_id: z.ZodString;
|
|
104
104
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
105
|
-
}
|
|
105
|
+
} & {
|
|
106
106
|
event_type: z.ZodLiteral<"connected_account.disconnected">;
|
|
107
|
-
}
|
|
107
|
+
}, "strip", z.ZodTypeAny, {
|
|
108
108
|
workspace_id: string;
|
|
109
109
|
created_at: string;
|
|
110
110
|
connected_account_id: string;
|
|
@@ -122,17 +122,17 @@ export declare const connected_account_disconnected_event: z.ZodObject<z.objectU
|
|
|
122
122
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
123
123
|
}>;
|
|
124
124
|
export type ConnectedAccountDisconnectedEvent = z.infer<typeof connected_account_disconnected_event>;
|
|
125
|
-
export declare const connected_account_completed_first_sync_event: z.ZodObject<
|
|
125
|
+
export declare const connected_account_completed_first_sync_event: z.ZodObject<{
|
|
126
126
|
event_id: z.ZodString;
|
|
127
127
|
workspace_id: z.ZodString;
|
|
128
128
|
created_at: z.ZodString;
|
|
129
129
|
occurred_at: z.ZodString;
|
|
130
|
-
}
|
|
130
|
+
} & {
|
|
131
131
|
connected_account_id: z.ZodString;
|
|
132
132
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
133
|
-
}
|
|
133
|
+
} & {
|
|
134
134
|
event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
|
|
135
|
-
}
|
|
135
|
+
}, "strip", z.ZodTypeAny, {
|
|
136
136
|
workspace_id: string;
|
|
137
137
|
created_at: string;
|
|
138
138
|
connected_account_id: string;
|
|
@@ -150,17 +150,17 @@ export declare const connected_account_completed_first_sync_event: z.ZodObject<z
|
|
|
150
150
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
151
151
|
}>;
|
|
152
152
|
export type ConnectedAccountCompletedFirstSyncEvent = z.infer<typeof connected_account_completed_first_sync_event>;
|
|
153
|
-
export declare const connected_account_deleted_event: z.ZodObject<
|
|
153
|
+
export declare const connected_account_deleted_event: z.ZodObject<{
|
|
154
154
|
event_id: z.ZodString;
|
|
155
155
|
workspace_id: z.ZodString;
|
|
156
156
|
created_at: z.ZodString;
|
|
157
157
|
occurred_at: z.ZodString;
|
|
158
|
-
}
|
|
158
|
+
} & {
|
|
159
159
|
connected_account_id: z.ZodString;
|
|
160
160
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
161
|
-
}
|
|
161
|
+
} & {
|
|
162
162
|
event_type: z.ZodLiteral<"connected_account.deleted">;
|
|
163
|
-
}
|
|
163
|
+
}, "strip", z.ZodTypeAny, {
|
|
164
164
|
workspace_id: string;
|
|
165
165
|
created_at: string;
|
|
166
166
|
connected_account_id: string;
|
|
@@ -178,17 +178,17 @@ export declare const connected_account_deleted_event: z.ZodObject<z.objectUtil.e
|
|
|
178
178
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
179
179
|
}>;
|
|
180
180
|
export type ConnectedAccountDeletedEvent = z.infer<typeof connected_account_deleted_event>;
|
|
181
|
-
export declare const connected_account_completed_first_sync_after_reconnection_event: z.ZodObject<
|
|
181
|
+
export declare const connected_account_completed_first_sync_after_reconnection_event: z.ZodObject<{
|
|
182
182
|
event_id: z.ZodString;
|
|
183
183
|
workspace_id: z.ZodString;
|
|
184
184
|
created_at: z.ZodString;
|
|
185
185
|
occurred_at: z.ZodString;
|
|
186
|
-
}
|
|
186
|
+
} & {
|
|
187
187
|
connected_account_id: z.ZodString;
|
|
188
188
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
189
|
-
}
|
|
189
|
+
} & {
|
|
190
190
|
event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
|
|
191
|
-
}
|
|
191
|
+
}, "strip", z.ZodTypeAny, {
|
|
192
192
|
workspace_id: string;
|
|
193
193
|
created_at: string;
|
|
194
194
|
connected_account_id: string;
|
|
@@ -206,18 +206,18 @@ export declare const connected_account_completed_first_sync_after_reconnection_e
|
|
|
206
206
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
207
207
|
}>;
|
|
208
208
|
export type ConnectedAccountCompletedFirstSyncAfterReconnectionEvent = z.infer<typeof connected_account_completed_first_sync_after_reconnection_event>;
|
|
209
|
-
export declare const connected_account_events: readonly [z.ZodObject<
|
|
209
|
+
export declare const connected_account_events: readonly [z.ZodObject<{
|
|
210
210
|
event_id: z.ZodString;
|
|
211
211
|
workspace_id: z.ZodString;
|
|
212
212
|
created_at: z.ZodString;
|
|
213
213
|
occurred_at: z.ZodString;
|
|
214
|
-
}
|
|
214
|
+
} & {
|
|
215
215
|
connected_account_id: z.ZodString;
|
|
216
216
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
217
|
-
}
|
|
217
|
+
} & {
|
|
218
218
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
219
219
|
connect_webview_id: z.ZodString;
|
|
220
|
-
}
|
|
220
|
+
}, "strip", z.ZodTypeAny, {
|
|
221
221
|
workspace_id: string;
|
|
222
222
|
created_at: string;
|
|
223
223
|
connected_account_id: string;
|
|
@@ -235,18 +235,18 @@ export declare const connected_account_events: readonly [z.ZodObject<z.objectUti
|
|
|
235
235
|
occurred_at: string;
|
|
236
236
|
event_type: "connected_account.connected";
|
|
237
237
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
238
|
-
}>, z.ZodObject<
|
|
238
|
+
}>, z.ZodObject<{
|
|
239
239
|
event_id: z.ZodString;
|
|
240
240
|
workspace_id: z.ZodString;
|
|
241
241
|
created_at: z.ZodString;
|
|
242
242
|
occurred_at: z.ZodString;
|
|
243
|
-
}
|
|
243
|
+
} & {
|
|
244
244
|
connected_account_id: z.ZodString;
|
|
245
245
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
246
|
-
}
|
|
246
|
+
} & {
|
|
247
247
|
event_type: z.ZodLiteral<"connected_account.created">;
|
|
248
248
|
connect_webview_id: z.ZodString;
|
|
249
|
-
}
|
|
249
|
+
}, "strip", z.ZodTypeAny, {
|
|
250
250
|
workspace_id: string;
|
|
251
251
|
created_at: string;
|
|
252
252
|
connected_account_id: string;
|
|
@@ -264,18 +264,18 @@ export declare const connected_account_events: readonly [z.ZodObject<z.objectUti
|
|
|
264
264
|
occurred_at: string;
|
|
265
265
|
event_type: "connected_account.created";
|
|
266
266
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
267
|
-
}>, z.ZodObject<
|
|
267
|
+
}>, 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
|
connected_account_id: z.ZodString;
|
|
274
274
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
275
|
-
}
|
|
275
|
+
} & {
|
|
276
276
|
event_type: z.ZodLiteral<"connected_account.successful_login">;
|
|
277
277
|
connect_webview_id: z.ZodString;
|
|
278
|
-
}
|
|
278
|
+
}, "strip", z.ZodTypeAny, {
|
|
279
279
|
workspace_id: string;
|
|
280
280
|
created_at: string;
|
|
281
281
|
connected_account_id: string;
|
|
@@ -293,17 +293,17 @@ export declare const connected_account_events: readonly [z.ZodObject<z.objectUti
|
|
|
293
293
|
occurred_at: string;
|
|
294
294
|
event_type: "connected_account.successful_login";
|
|
295
295
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
296
|
-
}>, z.ZodObject<
|
|
296
|
+
}>, z.ZodObject<{
|
|
297
297
|
event_id: z.ZodString;
|
|
298
298
|
workspace_id: z.ZodString;
|
|
299
299
|
created_at: z.ZodString;
|
|
300
300
|
occurred_at: z.ZodString;
|
|
301
|
-
}
|
|
301
|
+
} & {
|
|
302
302
|
connected_account_id: z.ZodString;
|
|
303
303
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
304
|
-
}
|
|
304
|
+
} & {
|
|
305
305
|
event_type: z.ZodLiteral<"connected_account.disconnected">;
|
|
306
|
-
}
|
|
306
|
+
}, "strip", z.ZodTypeAny, {
|
|
307
307
|
workspace_id: string;
|
|
308
308
|
created_at: string;
|
|
309
309
|
connected_account_id: string;
|
|
@@ -319,17 +319,17 @@ export declare const connected_account_events: readonly [z.ZodObject<z.objectUti
|
|
|
319
319
|
occurred_at: string;
|
|
320
320
|
event_type: "connected_account.disconnected";
|
|
321
321
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
322
|
-
}>, z.ZodObject<
|
|
322
|
+
}>, z.ZodObject<{
|
|
323
323
|
event_id: z.ZodString;
|
|
324
324
|
workspace_id: z.ZodString;
|
|
325
325
|
created_at: z.ZodString;
|
|
326
326
|
occurred_at: z.ZodString;
|
|
327
|
-
}
|
|
327
|
+
} & {
|
|
328
328
|
connected_account_id: z.ZodString;
|
|
329
329
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
330
|
-
}
|
|
330
|
+
} & {
|
|
331
331
|
event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
|
|
332
|
-
}
|
|
332
|
+
}, "strip", z.ZodTypeAny, {
|
|
333
333
|
workspace_id: string;
|
|
334
334
|
created_at: string;
|
|
335
335
|
connected_account_id: string;
|
|
@@ -345,17 +345,17 @@ export declare const connected_account_events: readonly [z.ZodObject<z.objectUti
|
|
|
345
345
|
occurred_at: string;
|
|
346
346
|
event_type: "connected_account.completed_first_sync";
|
|
347
347
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
348
|
-
}>, z.ZodObject<
|
|
348
|
+
}>, z.ZodObject<{
|
|
349
349
|
event_id: z.ZodString;
|
|
350
350
|
workspace_id: z.ZodString;
|
|
351
351
|
created_at: z.ZodString;
|
|
352
352
|
occurred_at: z.ZodString;
|
|
353
|
-
}
|
|
353
|
+
} & {
|
|
354
354
|
connected_account_id: z.ZodString;
|
|
355
355
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
356
|
-
}
|
|
356
|
+
} & {
|
|
357
357
|
event_type: z.ZodLiteral<"connected_account.deleted">;
|
|
358
|
-
}
|
|
358
|
+
}, "strip", z.ZodTypeAny, {
|
|
359
359
|
workspace_id: string;
|
|
360
360
|
created_at: string;
|
|
361
361
|
connected_account_id: string;
|
|
@@ -371,17 +371,17 @@ export declare const connected_account_events: readonly [z.ZodObject<z.objectUti
|
|
|
371
371
|
occurred_at: string;
|
|
372
372
|
event_type: "connected_account.deleted";
|
|
373
373
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
374
|
-
}>, z.ZodObject<
|
|
374
|
+
}>, z.ZodObject<{
|
|
375
375
|
event_id: z.ZodString;
|
|
376
376
|
workspace_id: z.ZodString;
|
|
377
377
|
created_at: z.ZodString;
|
|
378
378
|
occurred_at: z.ZodString;
|
|
379
|
-
}
|
|
379
|
+
} & {
|
|
380
380
|
connected_account_id: z.ZodString;
|
|
381
381
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
382
|
-
}
|
|
382
|
+
} & {
|
|
383
383
|
event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
|
|
384
|
-
}
|
|
384
|
+
}, "strip", z.ZodTypeAny, {
|
|
385
385
|
workspace_id: string;
|
|
386
386
|
created_at: string;
|
|
387
387
|
connected_account_id: string;
|