@seamapi/types 1.947.0 → 1.949.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 +432 -65
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1177 -167
- package/dist/index.cjs +432 -65
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -71
- package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -14
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +0 -26
- package/lib/seam/connect/models/events/access-codes.d.ts +126 -0
- package/lib/seam/connect/models/events/access-grants.d.ts +42 -0
- package/lib/seam/connect/models/events/access-methods.d.ts +36 -0
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +6 -0
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -0
- package/lib/seam/connect/models/events/acs/credentials.d.ts +24 -0
- package/lib/seam/connect/models/events/acs/encoders.d.ts +12 -0
- package/lib/seam/connect/models/events/acs/entrances.d.ts +12 -0
- package/lib/seam/connect/models/events/acs/index.d.ts +42 -0
- package/lib/seam/connect/models/events/acs/systems.d.ts +18 -0
- package/lib/seam/connect/models/events/acs/users.d.ts +12 -0
- package/lib/seam/connect/models/events/action-attempts.d.ts +48 -0
- package/lib/seam/connect/models/events/client-sessions.d.ts +6 -0
- package/lib/seam/connect/models/events/common.d.ts +3 -0
- package/lib/seam/connect/models/events/common.js +4 -0
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/connect-webviews.d.ts +12 -0
- package/lib/seam/connect/models/events/connected-accounts.d.ts +48 -0
- package/lib/seam/connect/models/events/devices.d.ts +210 -0
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +6 -0
- package/lib/seam/connect/models/events/phones.d.ts +6 -0
- package/lib/seam/connect/models/events/seam-event.d.ts +321 -0
- package/lib/seam/connect/models/events/spaces.d.ts +18 -0
- package/lib/seam/connect/openapi.js +428 -54
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +856 -99
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -15
- package/src/lib/seam/connect/models/events/common.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +535 -64
- package/src/lib/seam/connect/route-types.ts +856 -110
|
@@ -4,6 +4,7 @@ export declare const connect_webview_login_succeeded_event: z.ZodObject<{
|
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
7
8
|
} & {
|
|
8
9
|
connect_webview_id: z.ZodString;
|
|
9
10
|
} & {
|
|
@@ -20,6 +21,7 @@ export declare const connect_webview_login_succeeded_event: z.ZodObject<{
|
|
|
20
21
|
occurred_at: string;
|
|
21
22
|
event_type: "connect_webview.login_succeeded";
|
|
22
23
|
customer_key?: string | undefined;
|
|
24
|
+
event_description?: string | undefined;
|
|
23
25
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
24
26
|
}, {
|
|
25
27
|
workspace_id: string;
|
|
@@ -30,6 +32,7 @@ export declare const connect_webview_login_succeeded_event: z.ZodObject<{
|
|
|
30
32
|
occurred_at: string;
|
|
31
33
|
event_type: "connect_webview.login_succeeded";
|
|
32
34
|
customer_key?: string | undefined;
|
|
35
|
+
event_description?: string | undefined;
|
|
33
36
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
34
37
|
}>;
|
|
35
38
|
export type ConnectWebviewLoginSucceededEvent = z.infer<typeof connect_webview_login_succeeded_event>;
|
|
@@ -38,6 +41,7 @@ export declare const connect_webview_login_failed_event: z.ZodObject<{
|
|
|
38
41
|
workspace_id: z.ZodString;
|
|
39
42
|
created_at: z.ZodString;
|
|
40
43
|
occurred_at: z.ZodString;
|
|
44
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
41
45
|
} & {
|
|
42
46
|
connect_webview_id: z.ZodString;
|
|
43
47
|
} & {
|
|
@@ -49,6 +53,7 @@ export declare const connect_webview_login_failed_event: z.ZodObject<{
|
|
|
49
53
|
event_id: string;
|
|
50
54
|
occurred_at: string;
|
|
51
55
|
event_type: "connect_webview.login_failed";
|
|
56
|
+
event_description?: string | undefined;
|
|
52
57
|
}, {
|
|
53
58
|
workspace_id: string;
|
|
54
59
|
created_at: string;
|
|
@@ -56,6 +61,7 @@ export declare const connect_webview_login_failed_event: z.ZodObject<{
|
|
|
56
61
|
event_id: string;
|
|
57
62
|
occurred_at: string;
|
|
58
63
|
event_type: "connect_webview.login_failed";
|
|
64
|
+
event_description?: string | undefined;
|
|
59
65
|
}>;
|
|
60
66
|
export type ConnectWebviewLoginFailedEvent = z.infer<typeof connect_webview_login_failed_event>;
|
|
61
67
|
export declare const connect_webview_events: readonly [z.ZodObject<{
|
|
@@ -63,6 +69,7 @@ export declare const connect_webview_events: readonly [z.ZodObject<{
|
|
|
63
69
|
workspace_id: z.ZodString;
|
|
64
70
|
created_at: z.ZodString;
|
|
65
71
|
occurred_at: z.ZodString;
|
|
72
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
66
73
|
} & {
|
|
67
74
|
connect_webview_id: z.ZodString;
|
|
68
75
|
} & {
|
|
@@ -79,6 +86,7 @@ export declare const connect_webview_events: readonly [z.ZodObject<{
|
|
|
79
86
|
occurred_at: string;
|
|
80
87
|
event_type: "connect_webview.login_succeeded";
|
|
81
88
|
customer_key?: string | undefined;
|
|
89
|
+
event_description?: string | undefined;
|
|
82
90
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
83
91
|
}, {
|
|
84
92
|
workspace_id: string;
|
|
@@ -89,12 +97,14 @@ export declare const connect_webview_events: readonly [z.ZodObject<{
|
|
|
89
97
|
occurred_at: string;
|
|
90
98
|
event_type: "connect_webview.login_succeeded";
|
|
91
99
|
customer_key?: string | undefined;
|
|
100
|
+
event_description?: string | undefined;
|
|
92
101
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
93
102
|
}>, z.ZodObject<{
|
|
94
103
|
event_id: z.ZodString;
|
|
95
104
|
workspace_id: z.ZodString;
|
|
96
105
|
created_at: z.ZodString;
|
|
97
106
|
occurred_at: z.ZodString;
|
|
107
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
98
108
|
} & {
|
|
99
109
|
connect_webview_id: z.ZodString;
|
|
100
110
|
} & {
|
|
@@ -106,6 +116,7 @@ export declare const connect_webview_events: readonly [z.ZodObject<{
|
|
|
106
116
|
event_id: string;
|
|
107
117
|
occurred_at: string;
|
|
108
118
|
event_type: "connect_webview.login_failed";
|
|
119
|
+
event_description?: string | undefined;
|
|
109
120
|
}, {
|
|
110
121
|
workspace_id: string;
|
|
111
122
|
created_at: string;
|
|
@@ -113,4 +124,5 @@ export declare const connect_webview_events: readonly [z.ZodObject<{
|
|
|
113
124
|
event_id: string;
|
|
114
125
|
occurred_at: string;
|
|
115
126
|
event_type: "connect_webview.login_failed";
|
|
127
|
+
event_description?: string | undefined;
|
|
116
128
|
}>];
|
|
@@ -4,6 +4,7 @@ export declare const connected_account_connected_event: z.ZodObject<{
|
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
7
8
|
} & {
|
|
8
9
|
connected_account_id: z.ZodString;
|
|
9
10
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -20,6 +21,7 @@ export declare const connected_account_connected_event: z.ZodObject<{
|
|
|
20
21
|
event_type: "connected_account.connected";
|
|
21
22
|
customer_key?: string | undefined;
|
|
22
23
|
connect_webview_id?: string | undefined;
|
|
24
|
+
event_description?: string | undefined;
|
|
23
25
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
24
26
|
}, {
|
|
25
27
|
workspace_id: string;
|
|
@@ -30,6 +32,7 @@ export declare const connected_account_connected_event: z.ZodObject<{
|
|
|
30
32
|
event_type: "connected_account.connected";
|
|
31
33
|
customer_key?: string | undefined;
|
|
32
34
|
connect_webview_id?: string | undefined;
|
|
35
|
+
event_description?: string | undefined;
|
|
33
36
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
34
37
|
}>;
|
|
35
38
|
export type ConnectedAccountConnectedEvent = z.infer<typeof connected_account_connected_event>;
|
|
@@ -38,6 +41,7 @@ export declare const connected_account_created_event: z.ZodObject<{
|
|
|
38
41
|
workspace_id: z.ZodString;
|
|
39
42
|
created_at: z.ZodString;
|
|
40
43
|
occurred_at: z.ZodString;
|
|
44
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
41
45
|
} & {
|
|
42
46
|
connected_account_id: z.ZodString;
|
|
43
47
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -52,6 +56,7 @@ export declare const connected_account_created_event: z.ZodObject<{
|
|
|
52
56
|
event_id: string;
|
|
53
57
|
occurred_at: string;
|
|
54
58
|
event_type: "connected_account.created";
|
|
59
|
+
event_description?: string | undefined;
|
|
55
60
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
56
61
|
}, {
|
|
57
62
|
workspace_id: string;
|
|
@@ -61,6 +66,7 @@ export declare const connected_account_created_event: z.ZodObject<{
|
|
|
61
66
|
event_id: string;
|
|
62
67
|
occurred_at: string;
|
|
63
68
|
event_type: "connected_account.created";
|
|
69
|
+
event_description?: string | undefined;
|
|
64
70
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
65
71
|
}>;
|
|
66
72
|
export type ConnectedAccountCreatedEvent = z.infer<typeof connected_account_created_event>;
|
|
@@ -70,6 +76,7 @@ export declare const connected_account_successful_login_event: z.ZodObject<{
|
|
|
70
76
|
workspace_id: z.ZodString;
|
|
71
77
|
created_at: z.ZodString;
|
|
72
78
|
occurred_at: z.ZodString;
|
|
79
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
73
80
|
} & {
|
|
74
81
|
connected_account_id: z.ZodString;
|
|
75
82
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -84,6 +91,7 @@ export declare const connected_account_successful_login_event: z.ZodObject<{
|
|
|
84
91
|
event_id: string;
|
|
85
92
|
occurred_at: string;
|
|
86
93
|
event_type: "connected_account.successful_login";
|
|
94
|
+
event_description?: string | undefined;
|
|
87
95
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
88
96
|
}, {
|
|
89
97
|
workspace_id: string;
|
|
@@ -93,6 +101,7 @@ export declare const connected_account_successful_login_event: z.ZodObject<{
|
|
|
93
101
|
event_id: string;
|
|
94
102
|
occurred_at: string;
|
|
95
103
|
event_type: "connected_account.successful_login";
|
|
104
|
+
event_description?: string | undefined;
|
|
96
105
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
97
106
|
}>;
|
|
98
107
|
/** @deprecated Rely on ConnectWebviewLoginSucceededEvent instead */
|
|
@@ -102,6 +111,7 @@ export declare const connected_account_disconnected_event: z.ZodObject<{
|
|
|
102
111
|
workspace_id: z.ZodString;
|
|
103
112
|
created_at: z.ZodString;
|
|
104
113
|
occurred_at: z.ZodString;
|
|
114
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
105
115
|
} & {
|
|
106
116
|
connected_account_id: z.ZodString;
|
|
107
117
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -151,6 +161,7 @@ export declare const connected_account_disconnected_event: z.ZodObject<{
|
|
|
151
161
|
created_at: string;
|
|
152
162
|
warning_code: string;
|
|
153
163
|
}[];
|
|
164
|
+
event_description?: string | undefined;
|
|
154
165
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
155
166
|
}, {
|
|
156
167
|
workspace_id: string;
|
|
@@ -169,6 +180,7 @@ export declare const connected_account_disconnected_event: z.ZodObject<{
|
|
|
169
180
|
created_at: string;
|
|
170
181
|
warning_code: string;
|
|
171
182
|
}[];
|
|
183
|
+
event_description?: string | undefined;
|
|
172
184
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
173
185
|
}>;
|
|
174
186
|
export type ConnectedAccountDisconnectedEvent = z.infer<typeof connected_account_disconnected_event>;
|
|
@@ -177,6 +189,7 @@ export declare const connected_account_completed_first_sync_event: z.ZodObject<{
|
|
|
177
189
|
workspace_id: z.ZodString;
|
|
178
190
|
created_at: z.ZodString;
|
|
179
191
|
occurred_at: z.ZodString;
|
|
192
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
180
193
|
} & {
|
|
181
194
|
connected_account_id: z.ZodString;
|
|
182
195
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -189,6 +202,7 @@ export declare const connected_account_completed_first_sync_event: z.ZodObject<{
|
|
|
189
202
|
event_id: string;
|
|
190
203
|
occurred_at: string;
|
|
191
204
|
event_type: "connected_account.completed_first_sync";
|
|
205
|
+
event_description?: string | undefined;
|
|
192
206
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
193
207
|
}, {
|
|
194
208
|
workspace_id: string;
|
|
@@ -197,6 +211,7 @@ export declare const connected_account_completed_first_sync_event: z.ZodObject<{
|
|
|
197
211
|
event_id: string;
|
|
198
212
|
occurred_at: string;
|
|
199
213
|
event_type: "connected_account.completed_first_sync";
|
|
214
|
+
event_description?: string | undefined;
|
|
200
215
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
201
216
|
}>;
|
|
202
217
|
export type ConnectedAccountCompletedFirstSyncEvent = z.infer<typeof connected_account_completed_first_sync_event>;
|
|
@@ -205,6 +220,7 @@ export declare const connected_account_deleted_event: z.ZodObject<{
|
|
|
205
220
|
workspace_id: z.ZodString;
|
|
206
221
|
created_at: z.ZodString;
|
|
207
222
|
occurred_at: z.ZodString;
|
|
223
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
208
224
|
} & {
|
|
209
225
|
connected_account_id: z.ZodString;
|
|
210
226
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -220,6 +236,7 @@ export declare const connected_account_deleted_event: z.ZodObject<{
|
|
|
220
236
|
occurred_at: string;
|
|
221
237
|
event_type: "connected_account.deleted";
|
|
222
238
|
customer_key?: string | undefined;
|
|
239
|
+
event_description?: string | undefined;
|
|
223
240
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
224
241
|
connected_account_type?: string | undefined;
|
|
225
242
|
}, {
|
|
@@ -230,6 +247,7 @@ export declare const connected_account_deleted_event: z.ZodObject<{
|
|
|
230
247
|
occurred_at: string;
|
|
231
248
|
event_type: "connected_account.deleted";
|
|
232
249
|
customer_key?: string | undefined;
|
|
250
|
+
event_description?: string | undefined;
|
|
233
251
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
234
252
|
connected_account_type?: string | undefined;
|
|
235
253
|
}>;
|
|
@@ -239,6 +257,7 @@ export declare const connected_account_completed_first_sync_after_reconnection_e
|
|
|
239
257
|
workspace_id: z.ZodString;
|
|
240
258
|
created_at: z.ZodString;
|
|
241
259
|
occurred_at: z.ZodString;
|
|
260
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
242
261
|
} & {
|
|
243
262
|
connected_account_id: z.ZodString;
|
|
244
263
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -251,6 +270,7 @@ export declare const connected_account_completed_first_sync_after_reconnection_e
|
|
|
251
270
|
event_id: string;
|
|
252
271
|
occurred_at: string;
|
|
253
272
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
273
|
+
event_description?: string | undefined;
|
|
254
274
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
255
275
|
}, {
|
|
256
276
|
workspace_id: string;
|
|
@@ -259,6 +279,7 @@ export declare const connected_account_completed_first_sync_after_reconnection_e
|
|
|
259
279
|
event_id: string;
|
|
260
280
|
occurred_at: string;
|
|
261
281
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
282
|
+
event_description?: string | undefined;
|
|
262
283
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
263
284
|
}>;
|
|
264
285
|
export type ConnectedAccountCompletedFirstSyncAfterReconnectionEvent = z.infer<typeof connected_account_completed_first_sync_after_reconnection_event>;
|
|
@@ -267,6 +288,7 @@ export declare const connected_account_reauthorization_requested_event: z.ZodObj
|
|
|
267
288
|
workspace_id: z.ZodString;
|
|
268
289
|
created_at: z.ZodString;
|
|
269
290
|
occurred_at: z.ZodString;
|
|
291
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
270
292
|
} & {
|
|
271
293
|
connected_account_id: z.ZodString;
|
|
272
294
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -316,6 +338,7 @@ export declare const connected_account_reauthorization_requested_event: z.ZodObj
|
|
|
316
338
|
created_at: string;
|
|
317
339
|
warning_code: string;
|
|
318
340
|
}[];
|
|
341
|
+
event_description?: string | undefined;
|
|
319
342
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
320
343
|
}, {
|
|
321
344
|
workspace_id: string;
|
|
@@ -334,6 +357,7 @@ export declare const connected_account_reauthorization_requested_event: z.ZodObj
|
|
|
334
357
|
created_at: string;
|
|
335
358
|
warning_code: string;
|
|
336
359
|
}[];
|
|
360
|
+
event_description?: string | undefined;
|
|
337
361
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
338
362
|
}>;
|
|
339
363
|
export type ConnectedAccountReauthorizationRequestedEvent = z.infer<typeof connected_account_reauthorization_requested_event>;
|
|
@@ -342,6 +366,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
342
366
|
workspace_id: z.ZodString;
|
|
343
367
|
created_at: z.ZodString;
|
|
344
368
|
occurred_at: z.ZodString;
|
|
369
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
345
370
|
} & {
|
|
346
371
|
connected_account_id: z.ZodString;
|
|
347
372
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -358,6 +383,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
358
383
|
event_type: "connected_account.connected";
|
|
359
384
|
customer_key?: string | undefined;
|
|
360
385
|
connect_webview_id?: string | undefined;
|
|
386
|
+
event_description?: string | undefined;
|
|
361
387
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
362
388
|
}, {
|
|
363
389
|
workspace_id: string;
|
|
@@ -368,12 +394,14 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
368
394
|
event_type: "connected_account.connected";
|
|
369
395
|
customer_key?: string | undefined;
|
|
370
396
|
connect_webview_id?: string | undefined;
|
|
397
|
+
event_description?: string | undefined;
|
|
371
398
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
372
399
|
}>, z.ZodObject<{
|
|
373
400
|
event_id: z.ZodString;
|
|
374
401
|
workspace_id: z.ZodString;
|
|
375
402
|
created_at: z.ZodString;
|
|
376
403
|
occurred_at: z.ZodString;
|
|
404
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
377
405
|
} & {
|
|
378
406
|
connected_account_id: z.ZodString;
|
|
379
407
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -388,6 +416,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
388
416
|
event_id: string;
|
|
389
417
|
occurred_at: string;
|
|
390
418
|
event_type: "connected_account.created";
|
|
419
|
+
event_description?: string | undefined;
|
|
391
420
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
392
421
|
}, {
|
|
393
422
|
workspace_id: string;
|
|
@@ -397,12 +426,14 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
397
426
|
event_id: string;
|
|
398
427
|
occurred_at: string;
|
|
399
428
|
event_type: "connected_account.created";
|
|
429
|
+
event_description?: string | undefined;
|
|
400
430
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
401
431
|
}>, z.ZodObject<{
|
|
402
432
|
event_id: z.ZodString;
|
|
403
433
|
workspace_id: z.ZodString;
|
|
404
434
|
created_at: z.ZodString;
|
|
405
435
|
occurred_at: z.ZodString;
|
|
436
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
406
437
|
} & {
|
|
407
438
|
connected_account_id: z.ZodString;
|
|
408
439
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -417,6 +448,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
417
448
|
event_id: string;
|
|
418
449
|
occurred_at: string;
|
|
419
450
|
event_type: "connected_account.successful_login";
|
|
451
|
+
event_description?: string | undefined;
|
|
420
452
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
421
453
|
}, {
|
|
422
454
|
workspace_id: string;
|
|
@@ -426,12 +458,14 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
426
458
|
event_id: string;
|
|
427
459
|
occurred_at: string;
|
|
428
460
|
event_type: "connected_account.successful_login";
|
|
461
|
+
event_description?: string | undefined;
|
|
429
462
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
430
463
|
}>, z.ZodObject<{
|
|
431
464
|
event_id: z.ZodString;
|
|
432
465
|
workspace_id: z.ZodString;
|
|
433
466
|
created_at: z.ZodString;
|
|
434
467
|
occurred_at: z.ZodString;
|
|
468
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
435
469
|
} & {
|
|
436
470
|
connected_account_id: z.ZodString;
|
|
437
471
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -481,6 +515,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
481
515
|
created_at: string;
|
|
482
516
|
warning_code: string;
|
|
483
517
|
}[];
|
|
518
|
+
event_description?: string | undefined;
|
|
484
519
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
485
520
|
}, {
|
|
486
521
|
workspace_id: string;
|
|
@@ -499,12 +534,14 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
499
534
|
created_at: string;
|
|
500
535
|
warning_code: string;
|
|
501
536
|
}[];
|
|
537
|
+
event_description?: string | undefined;
|
|
502
538
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
503
539
|
}>, z.ZodObject<{
|
|
504
540
|
event_id: z.ZodString;
|
|
505
541
|
workspace_id: z.ZodString;
|
|
506
542
|
created_at: z.ZodString;
|
|
507
543
|
occurred_at: z.ZodString;
|
|
544
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
508
545
|
} & {
|
|
509
546
|
connected_account_id: z.ZodString;
|
|
510
547
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -517,6 +554,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
517
554
|
event_id: string;
|
|
518
555
|
occurred_at: string;
|
|
519
556
|
event_type: "connected_account.completed_first_sync";
|
|
557
|
+
event_description?: string | undefined;
|
|
520
558
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
521
559
|
}, {
|
|
522
560
|
workspace_id: string;
|
|
@@ -525,12 +563,14 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
525
563
|
event_id: string;
|
|
526
564
|
occurred_at: string;
|
|
527
565
|
event_type: "connected_account.completed_first_sync";
|
|
566
|
+
event_description?: string | undefined;
|
|
528
567
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
529
568
|
}>, z.ZodObject<{
|
|
530
569
|
event_id: z.ZodString;
|
|
531
570
|
workspace_id: z.ZodString;
|
|
532
571
|
created_at: z.ZodString;
|
|
533
572
|
occurred_at: z.ZodString;
|
|
573
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
534
574
|
} & {
|
|
535
575
|
connected_account_id: z.ZodString;
|
|
536
576
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -546,6 +586,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
546
586
|
occurred_at: string;
|
|
547
587
|
event_type: "connected_account.deleted";
|
|
548
588
|
customer_key?: string | undefined;
|
|
589
|
+
event_description?: string | undefined;
|
|
549
590
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
550
591
|
connected_account_type?: string | undefined;
|
|
551
592
|
}, {
|
|
@@ -556,6 +597,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
556
597
|
occurred_at: string;
|
|
557
598
|
event_type: "connected_account.deleted";
|
|
558
599
|
customer_key?: string | undefined;
|
|
600
|
+
event_description?: string | undefined;
|
|
559
601
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
560
602
|
connected_account_type?: string | undefined;
|
|
561
603
|
}>, z.ZodObject<{
|
|
@@ -563,6 +605,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
563
605
|
workspace_id: z.ZodString;
|
|
564
606
|
created_at: z.ZodString;
|
|
565
607
|
occurred_at: z.ZodString;
|
|
608
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
566
609
|
} & {
|
|
567
610
|
connected_account_id: z.ZodString;
|
|
568
611
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -575,6 +618,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
575
618
|
event_id: string;
|
|
576
619
|
occurred_at: string;
|
|
577
620
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
621
|
+
event_description?: string | undefined;
|
|
578
622
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
579
623
|
}, {
|
|
580
624
|
workspace_id: string;
|
|
@@ -583,12 +627,14 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
583
627
|
event_id: string;
|
|
584
628
|
occurred_at: string;
|
|
585
629
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
630
|
+
event_description?: string | undefined;
|
|
586
631
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
587
632
|
}>, z.ZodObject<{
|
|
588
633
|
event_id: z.ZodString;
|
|
589
634
|
workspace_id: z.ZodString;
|
|
590
635
|
created_at: z.ZodString;
|
|
591
636
|
occurred_at: z.ZodString;
|
|
637
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
592
638
|
} & {
|
|
593
639
|
connected_account_id: z.ZodString;
|
|
594
640
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -638,6 +684,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
638
684
|
created_at: string;
|
|
639
685
|
warning_code: string;
|
|
640
686
|
}[];
|
|
687
|
+
event_description?: string | undefined;
|
|
641
688
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
642
689
|
}, {
|
|
643
690
|
workspace_id: string;
|
|
@@ -656,5 +703,6 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
656
703
|
created_at: string;
|
|
657
704
|
warning_code: string;
|
|
658
705
|
}[];
|
|
706
|
+
event_description?: string | undefined;
|
|
659
707
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
660
708
|
}>];
|