@seamapi/types 1.1210.0 → 1.1212.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/lib/seam/connect/models/events/access-codes.d.ts +156 -156
- package/lib/seam/connect/models/events/access-grants.d.ts +42 -42
- package/lib/seam/connect/models/events/access-methods.d.ts +48 -48
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +6 -6
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
- package/lib/seam/connect/models/events/acs/credentials.d.ts +24 -24
- package/lib/seam/connect/models/events/acs/encoders.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/entrances.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/index.d.ts +42 -42
- package/lib/seam/connect/models/events/acs/systems.d.ts +18 -18
- package/lib/seam/connect/models/events/acs/users.d.ts +12 -12
- package/lib/seam/connect/models/events/action-attempts.d.ts +48 -48
- package/lib/seam/connect/models/events/client-sessions.d.ts +6 -6
- package/lib/seam/connect/models/events/common.d.ts +3 -3
- package/lib/seam/connect/models/events/common.js +0 -1
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/connect-webviews.d.ts +12 -12
- package/lib/seam/connect/models/events/connected-accounts.d.ts +48 -48
- package/lib/seam/connect/models/events/devices.d.ts +523 -228
- package/lib/seam/connect/models/events/devices.js +64 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +6 -6
- package/lib/seam/connect/models/events/phones.d.ts +6 -6
- package/lib/seam/connect/models/events/seam-event.d.ts +496 -352
- package/lib/seam/connect/models/events/spaces.d.ts +18 -18
- package/lib/seam/connect/openapi.js +411 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1081 -591
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/common.ts +0 -1
- package/src/lib/seam/connect/models/events/devices.ts +100 -0
- package/src/lib/seam/connect/openapi.ts +439 -0
- package/src/lib/seam/connect/route-types.ts +1168 -585
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,+CAA+C,CAChD;IACD,WAAW,EAAE,QAAQ,CAAC,QAAQ,CAAC,4CAA4C,CAAC;IAC5E,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,QAAQ,
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,+CAA+C,CAChD;IACD,WAAW,EAAE,QAAQ,CAAC,QAAQ,CAAC,4CAA4C,CAAC;IAC5E,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,QAAQ,CACP,oMAAoM,CACrM;CACJ,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAC1B,oGAAoG,CAAA;AACtG,MAAM,wBAAwB,GAC5B,sGAAsG,CAAA;AAExG,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC;KAChC,MAAM,CAAC;IACN,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,gDAAgD,CACjD;IACD,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;IACH,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;CACxD,CAAC;KACD,QAAQ,CACP,gGAAgG,CACjG,CAAA;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC;KAClC,MAAM,CAAC;IACN,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,kDAAkD,CACnD;IACD,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,0GAA0G,CAC3G;IACH,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;CAC5D,CAAC;KACD,QAAQ,CACP,oGAAoG,CACrG,CAAA;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC;KACvC,IAAI,CAAC;IACJ,cAAc;IACd,cAAc;IACd,kBAAkB;IAClB,mBAAmB;IACnB,yBAAyB;IACzB,kBAAkB;IAClB,kBAAkB;CACnB,CAAC;KACD,QAAQ,CACP,kGAAkG,CACnG,CAAA"}
|
|
@@ -4,7 +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.
|
|
7
|
+
event_description: z.ZodString;
|
|
8
8
|
} & {
|
|
9
9
|
connect_webview_id: z.ZodString;
|
|
10
10
|
} & {
|
|
@@ -19,9 +19,9 @@ export declare const connect_webview_login_succeeded_event: z.ZodObject<{
|
|
|
19
19
|
connect_webview_id: string;
|
|
20
20
|
event_id: string;
|
|
21
21
|
occurred_at: string;
|
|
22
|
+
event_description: string;
|
|
22
23
|
event_type: "connect_webview.login_succeeded";
|
|
23
24
|
customer_key?: string | undefined;
|
|
24
|
-
event_description?: string | undefined;
|
|
25
25
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
workspace_id: string;
|
|
@@ -30,9 +30,9 @@ export declare const connect_webview_login_succeeded_event: z.ZodObject<{
|
|
|
30
30
|
connect_webview_id: string;
|
|
31
31
|
event_id: string;
|
|
32
32
|
occurred_at: string;
|
|
33
|
+
event_description: string;
|
|
33
34
|
event_type: "connect_webview.login_succeeded";
|
|
34
35
|
customer_key?: string | undefined;
|
|
35
|
-
event_description?: string | undefined;
|
|
36
36
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
37
37
|
}>;
|
|
38
38
|
export type ConnectWebviewLoginSucceededEvent = z.infer<typeof connect_webview_login_succeeded_event>;
|
|
@@ -41,7 +41,7 @@ export declare const connect_webview_login_failed_event: z.ZodObject<{
|
|
|
41
41
|
workspace_id: z.ZodString;
|
|
42
42
|
created_at: z.ZodString;
|
|
43
43
|
occurred_at: z.ZodString;
|
|
44
|
-
event_description: z.
|
|
44
|
+
event_description: z.ZodString;
|
|
45
45
|
} & {
|
|
46
46
|
connect_webview_id: z.ZodString;
|
|
47
47
|
} & {
|
|
@@ -52,16 +52,16 @@ export declare const connect_webview_login_failed_event: z.ZodObject<{
|
|
|
52
52
|
connect_webview_id: string;
|
|
53
53
|
event_id: string;
|
|
54
54
|
occurred_at: string;
|
|
55
|
+
event_description: string;
|
|
55
56
|
event_type: "connect_webview.login_failed";
|
|
56
|
-
event_description?: string | undefined;
|
|
57
57
|
}, {
|
|
58
58
|
workspace_id: string;
|
|
59
59
|
created_at: string;
|
|
60
60
|
connect_webview_id: string;
|
|
61
61
|
event_id: string;
|
|
62
62
|
occurred_at: string;
|
|
63
|
+
event_description: string;
|
|
63
64
|
event_type: "connect_webview.login_failed";
|
|
64
|
-
event_description?: string | undefined;
|
|
65
65
|
}>;
|
|
66
66
|
export type ConnectWebviewLoginFailedEvent = z.infer<typeof connect_webview_login_failed_event>;
|
|
67
67
|
export declare const connect_webview_events: readonly [z.ZodObject<{
|
|
@@ -69,7 +69,7 @@ export declare const connect_webview_events: readonly [z.ZodObject<{
|
|
|
69
69
|
workspace_id: z.ZodString;
|
|
70
70
|
created_at: z.ZodString;
|
|
71
71
|
occurred_at: z.ZodString;
|
|
72
|
-
event_description: z.
|
|
72
|
+
event_description: z.ZodString;
|
|
73
73
|
} & {
|
|
74
74
|
connect_webview_id: z.ZodString;
|
|
75
75
|
} & {
|
|
@@ -84,9 +84,9 @@ export declare const connect_webview_events: readonly [z.ZodObject<{
|
|
|
84
84
|
connect_webview_id: string;
|
|
85
85
|
event_id: string;
|
|
86
86
|
occurred_at: string;
|
|
87
|
+
event_description: string;
|
|
87
88
|
event_type: "connect_webview.login_succeeded";
|
|
88
89
|
customer_key?: string | undefined;
|
|
89
|
-
event_description?: string | undefined;
|
|
90
90
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
91
91
|
}, {
|
|
92
92
|
workspace_id: string;
|
|
@@ -95,16 +95,16 @@ export declare const connect_webview_events: readonly [z.ZodObject<{
|
|
|
95
95
|
connect_webview_id: string;
|
|
96
96
|
event_id: string;
|
|
97
97
|
occurred_at: string;
|
|
98
|
+
event_description: string;
|
|
98
99
|
event_type: "connect_webview.login_succeeded";
|
|
99
100
|
customer_key?: string | undefined;
|
|
100
|
-
event_description?: string | undefined;
|
|
101
101
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
102
102
|
}>, z.ZodObject<{
|
|
103
103
|
event_id: z.ZodString;
|
|
104
104
|
workspace_id: z.ZodString;
|
|
105
105
|
created_at: z.ZodString;
|
|
106
106
|
occurred_at: z.ZodString;
|
|
107
|
-
event_description: z.
|
|
107
|
+
event_description: z.ZodString;
|
|
108
108
|
} & {
|
|
109
109
|
connect_webview_id: z.ZodString;
|
|
110
110
|
} & {
|
|
@@ -115,14 +115,14 @@ export declare const connect_webview_events: readonly [z.ZodObject<{
|
|
|
115
115
|
connect_webview_id: string;
|
|
116
116
|
event_id: string;
|
|
117
117
|
occurred_at: string;
|
|
118
|
+
event_description: string;
|
|
118
119
|
event_type: "connect_webview.login_failed";
|
|
119
|
-
event_description?: string | undefined;
|
|
120
120
|
}, {
|
|
121
121
|
workspace_id: string;
|
|
122
122
|
created_at: string;
|
|
123
123
|
connect_webview_id: string;
|
|
124
124
|
event_id: string;
|
|
125
125
|
occurred_at: string;
|
|
126
|
+
event_description: string;
|
|
126
127
|
event_type: "connect_webview.login_failed";
|
|
127
|
-
event_description?: string | undefined;
|
|
128
128
|
}>];
|
|
@@ -4,7 +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.
|
|
7
|
+
event_description: z.ZodString;
|
|
8
8
|
} & {
|
|
9
9
|
connected_account_id: z.ZodString;
|
|
10
10
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -18,10 +18,10 @@ export declare const connected_account_connected_event: z.ZodObject<{
|
|
|
18
18
|
connected_account_id: string;
|
|
19
19
|
event_id: string;
|
|
20
20
|
occurred_at: string;
|
|
21
|
+
event_description: string;
|
|
21
22
|
event_type: "connected_account.connected";
|
|
22
23
|
customer_key?: string | undefined;
|
|
23
24
|
connect_webview_id?: string | undefined;
|
|
24
|
-
event_description?: string | undefined;
|
|
25
25
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
workspace_id: string;
|
|
@@ -29,10 +29,10 @@ export declare const connected_account_connected_event: z.ZodObject<{
|
|
|
29
29
|
connected_account_id: string;
|
|
30
30
|
event_id: string;
|
|
31
31
|
occurred_at: string;
|
|
32
|
+
event_description: string;
|
|
32
33
|
event_type: "connected_account.connected";
|
|
33
34
|
customer_key?: string | undefined;
|
|
34
35
|
connect_webview_id?: string | undefined;
|
|
35
|
-
event_description?: string | undefined;
|
|
36
36
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
37
37
|
}>;
|
|
38
38
|
export type ConnectedAccountConnectedEvent = z.infer<typeof connected_account_connected_event>;
|
|
@@ -41,7 +41,7 @@ export declare const connected_account_created_event: z.ZodObject<{
|
|
|
41
41
|
workspace_id: z.ZodString;
|
|
42
42
|
created_at: z.ZodString;
|
|
43
43
|
occurred_at: z.ZodString;
|
|
44
|
-
event_description: z.
|
|
44
|
+
event_description: z.ZodString;
|
|
45
45
|
} & {
|
|
46
46
|
connected_account_id: z.ZodString;
|
|
47
47
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -55,8 +55,8 @@ export declare const connected_account_created_event: z.ZodObject<{
|
|
|
55
55
|
connect_webview_id: string;
|
|
56
56
|
event_id: string;
|
|
57
57
|
occurred_at: string;
|
|
58
|
+
event_description: string;
|
|
58
59
|
event_type: "connected_account.created";
|
|
59
|
-
event_description?: string | undefined;
|
|
60
60
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
61
61
|
}, {
|
|
62
62
|
workspace_id: string;
|
|
@@ -65,8 +65,8 @@ export declare const connected_account_created_event: z.ZodObject<{
|
|
|
65
65
|
connect_webview_id: string;
|
|
66
66
|
event_id: string;
|
|
67
67
|
occurred_at: string;
|
|
68
|
+
event_description: string;
|
|
68
69
|
event_type: "connected_account.created";
|
|
69
|
-
event_description?: string | undefined;
|
|
70
70
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
71
71
|
}>;
|
|
72
72
|
export type ConnectedAccountCreatedEvent = z.infer<typeof connected_account_created_event>;
|
|
@@ -76,7 +76,7 @@ export declare const connected_account_successful_login_event: z.ZodObject<{
|
|
|
76
76
|
workspace_id: z.ZodString;
|
|
77
77
|
created_at: z.ZodString;
|
|
78
78
|
occurred_at: z.ZodString;
|
|
79
|
-
event_description: z.
|
|
79
|
+
event_description: z.ZodString;
|
|
80
80
|
} & {
|
|
81
81
|
connected_account_id: z.ZodString;
|
|
82
82
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -90,8 +90,8 @@ export declare const connected_account_successful_login_event: z.ZodObject<{
|
|
|
90
90
|
connect_webview_id: string;
|
|
91
91
|
event_id: string;
|
|
92
92
|
occurred_at: string;
|
|
93
|
+
event_description: string;
|
|
93
94
|
event_type: "connected_account.successful_login";
|
|
94
|
-
event_description?: string | undefined;
|
|
95
95
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
96
96
|
}, {
|
|
97
97
|
workspace_id: string;
|
|
@@ -100,8 +100,8 @@ export declare const connected_account_successful_login_event: z.ZodObject<{
|
|
|
100
100
|
connect_webview_id: string;
|
|
101
101
|
event_id: string;
|
|
102
102
|
occurred_at: string;
|
|
103
|
+
event_description: string;
|
|
103
104
|
event_type: "connected_account.successful_login";
|
|
104
|
-
event_description?: string | undefined;
|
|
105
105
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
106
106
|
}>;
|
|
107
107
|
/** @deprecated Rely on ConnectWebviewLoginSucceededEvent instead */
|
|
@@ -111,7 +111,7 @@ export declare const connected_account_disconnected_event: z.ZodObject<{
|
|
|
111
111
|
workspace_id: z.ZodString;
|
|
112
112
|
created_at: z.ZodString;
|
|
113
113
|
occurred_at: z.ZodString;
|
|
114
|
-
event_description: z.
|
|
114
|
+
event_description: z.ZodString;
|
|
115
115
|
} & {
|
|
116
116
|
connected_account_id: z.ZodString;
|
|
117
117
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -150,6 +150,7 @@ export declare const connected_account_disconnected_event: z.ZodObject<{
|
|
|
150
150
|
connected_account_id: string;
|
|
151
151
|
event_id: string;
|
|
152
152
|
occurred_at: string;
|
|
153
|
+
event_description: string;
|
|
153
154
|
event_type: "connected_account.disconnected";
|
|
154
155
|
connected_account_errors: {
|
|
155
156
|
message: string;
|
|
@@ -161,7 +162,6 @@ export declare const connected_account_disconnected_event: z.ZodObject<{
|
|
|
161
162
|
created_at: string;
|
|
162
163
|
warning_code: string;
|
|
163
164
|
}[];
|
|
164
|
-
event_description?: string | undefined;
|
|
165
165
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
166
166
|
}, {
|
|
167
167
|
workspace_id: string;
|
|
@@ -169,6 +169,7 @@ export declare const connected_account_disconnected_event: z.ZodObject<{
|
|
|
169
169
|
connected_account_id: string;
|
|
170
170
|
event_id: string;
|
|
171
171
|
occurred_at: string;
|
|
172
|
+
event_description: string;
|
|
172
173
|
event_type: "connected_account.disconnected";
|
|
173
174
|
connected_account_errors: {
|
|
174
175
|
message: string;
|
|
@@ -180,7 +181,6 @@ export declare const connected_account_disconnected_event: z.ZodObject<{
|
|
|
180
181
|
created_at: string;
|
|
181
182
|
warning_code: string;
|
|
182
183
|
}[];
|
|
183
|
-
event_description?: string | undefined;
|
|
184
184
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
185
185
|
}>;
|
|
186
186
|
export type ConnectedAccountDisconnectedEvent = z.infer<typeof connected_account_disconnected_event>;
|
|
@@ -189,7 +189,7 @@ export declare const connected_account_completed_first_sync_event: z.ZodObject<{
|
|
|
189
189
|
workspace_id: z.ZodString;
|
|
190
190
|
created_at: z.ZodString;
|
|
191
191
|
occurred_at: z.ZodString;
|
|
192
|
-
event_description: z.
|
|
192
|
+
event_description: z.ZodString;
|
|
193
193
|
} & {
|
|
194
194
|
connected_account_id: z.ZodString;
|
|
195
195
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -201,8 +201,8 @@ export declare const connected_account_completed_first_sync_event: z.ZodObject<{
|
|
|
201
201
|
connected_account_id: string;
|
|
202
202
|
event_id: string;
|
|
203
203
|
occurred_at: string;
|
|
204
|
+
event_description: string;
|
|
204
205
|
event_type: "connected_account.completed_first_sync";
|
|
205
|
-
event_description?: string | undefined;
|
|
206
206
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
207
207
|
}, {
|
|
208
208
|
workspace_id: string;
|
|
@@ -210,8 +210,8 @@ export declare const connected_account_completed_first_sync_event: z.ZodObject<{
|
|
|
210
210
|
connected_account_id: string;
|
|
211
211
|
event_id: string;
|
|
212
212
|
occurred_at: string;
|
|
213
|
+
event_description: string;
|
|
213
214
|
event_type: "connected_account.completed_first_sync";
|
|
214
|
-
event_description?: string | undefined;
|
|
215
215
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
216
216
|
}>;
|
|
217
217
|
export type ConnectedAccountCompletedFirstSyncEvent = z.infer<typeof connected_account_completed_first_sync_event>;
|
|
@@ -220,7 +220,7 @@ export declare const connected_account_deleted_event: z.ZodObject<{
|
|
|
220
220
|
workspace_id: z.ZodString;
|
|
221
221
|
created_at: z.ZodString;
|
|
222
222
|
occurred_at: z.ZodString;
|
|
223
|
-
event_description: z.
|
|
223
|
+
event_description: z.ZodString;
|
|
224
224
|
} & {
|
|
225
225
|
connected_account_id: z.ZodString;
|
|
226
226
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -234,9 +234,9 @@ export declare const connected_account_deleted_event: z.ZodObject<{
|
|
|
234
234
|
connected_account_id: string;
|
|
235
235
|
event_id: string;
|
|
236
236
|
occurred_at: string;
|
|
237
|
+
event_description: string;
|
|
237
238
|
event_type: "connected_account.deleted";
|
|
238
239
|
customer_key?: string | undefined;
|
|
239
|
-
event_description?: string | undefined;
|
|
240
240
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
241
241
|
connected_account_type?: string | undefined;
|
|
242
242
|
}, {
|
|
@@ -245,9 +245,9 @@ export declare const connected_account_deleted_event: z.ZodObject<{
|
|
|
245
245
|
connected_account_id: string;
|
|
246
246
|
event_id: string;
|
|
247
247
|
occurred_at: string;
|
|
248
|
+
event_description: string;
|
|
248
249
|
event_type: "connected_account.deleted";
|
|
249
250
|
customer_key?: string | undefined;
|
|
250
|
-
event_description?: string | undefined;
|
|
251
251
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
252
252
|
connected_account_type?: string | undefined;
|
|
253
253
|
}>;
|
|
@@ -257,7 +257,7 @@ export declare const connected_account_completed_first_sync_after_reconnection_e
|
|
|
257
257
|
workspace_id: z.ZodString;
|
|
258
258
|
created_at: z.ZodString;
|
|
259
259
|
occurred_at: z.ZodString;
|
|
260
|
-
event_description: z.
|
|
260
|
+
event_description: z.ZodString;
|
|
261
261
|
} & {
|
|
262
262
|
connected_account_id: z.ZodString;
|
|
263
263
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -269,8 +269,8 @@ export declare const connected_account_completed_first_sync_after_reconnection_e
|
|
|
269
269
|
connected_account_id: string;
|
|
270
270
|
event_id: string;
|
|
271
271
|
occurred_at: string;
|
|
272
|
+
event_description: string;
|
|
272
273
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
273
|
-
event_description?: string | undefined;
|
|
274
274
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
275
275
|
}, {
|
|
276
276
|
workspace_id: string;
|
|
@@ -278,8 +278,8 @@ export declare const connected_account_completed_first_sync_after_reconnection_e
|
|
|
278
278
|
connected_account_id: string;
|
|
279
279
|
event_id: string;
|
|
280
280
|
occurred_at: string;
|
|
281
|
+
event_description: string;
|
|
281
282
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
282
|
-
event_description?: string | undefined;
|
|
283
283
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
284
284
|
}>;
|
|
285
285
|
export type ConnectedAccountCompletedFirstSyncAfterReconnectionEvent = z.infer<typeof connected_account_completed_first_sync_after_reconnection_event>;
|
|
@@ -288,7 +288,7 @@ export declare const connected_account_reauthorization_requested_event: z.ZodObj
|
|
|
288
288
|
workspace_id: z.ZodString;
|
|
289
289
|
created_at: z.ZodString;
|
|
290
290
|
occurred_at: z.ZodString;
|
|
291
|
-
event_description: z.
|
|
291
|
+
event_description: z.ZodString;
|
|
292
292
|
} & {
|
|
293
293
|
connected_account_id: z.ZodString;
|
|
294
294
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -327,6 +327,7 @@ export declare const connected_account_reauthorization_requested_event: z.ZodObj
|
|
|
327
327
|
connected_account_id: string;
|
|
328
328
|
event_id: string;
|
|
329
329
|
occurred_at: string;
|
|
330
|
+
event_description: string;
|
|
330
331
|
event_type: "connected_account.reauthorization_requested";
|
|
331
332
|
connected_account_errors: {
|
|
332
333
|
message: string;
|
|
@@ -338,7 +339,6 @@ export declare const connected_account_reauthorization_requested_event: z.ZodObj
|
|
|
338
339
|
created_at: string;
|
|
339
340
|
warning_code: string;
|
|
340
341
|
}[];
|
|
341
|
-
event_description?: string | undefined;
|
|
342
342
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
343
343
|
}, {
|
|
344
344
|
workspace_id: string;
|
|
@@ -346,6 +346,7 @@ export declare const connected_account_reauthorization_requested_event: z.ZodObj
|
|
|
346
346
|
connected_account_id: string;
|
|
347
347
|
event_id: string;
|
|
348
348
|
occurred_at: string;
|
|
349
|
+
event_description: string;
|
|
349
350
|
event_type: "connected_account.reauthorization_requested";
|
|
350
351
|
connected_account_errors: {
|
|
351
352
|
message: string;
|
|
@@ -357,7 +358,6 @@ export declare const connected_account_reauthorization_requested_event: z.ZodObj
|
|
|
357
358
|
created_at: string;
|
|
358
359
|
warning_code: string;
|
|
359
360
|
}[];
|
|
360
|
-
event_description?: string | undefined;
|
|
361
361
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
362
362
|
}>;
|
|
363
363
|
export type ConnectedAccountReauthorizationRequestedEvent = z.infer<typeof connected_account_reauthorization_requested_event>;
|
|
@@ -366,7 +366,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
366
366
|
workspace_id: z.ZodString;
|
|
367
367
|
created_at: z.ZodString;
|
|
368
368
|
occurred_at: z.ZodString;
|
|
369
|
-
event_description: z.
|
|
369
|
+
event_description: z.ZodString;
|
|
370
370
|
} & {
|
|
371
371
|
connected_account_id: z.ZodString;
|
|
372
372
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -380,10 +380,10 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
380
380
|
connected_account_id: string;
|
|
381
381
|
event_id: string;
|
|
382
382
|
occurred_at: string;
|
|
383
|
+
event_description: string;
|
|
383
384
|
event_type: "connected_account.connected";
|
|
384
385
|
customer_key?: string | undefined;
|
|
385
386
|
connect_webview_id?: string | undefined;
|
|
386
|
-
event_description?: string | undefined;
|
|
387
387
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
388
388
|
}, {
|
|
389
389
|
workspace_id: string;
|
|
@@ -391,17 +391,17 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
391
391
|
connected_account_id: string;
|
|
392
392
|
event_id: string;
|
|
393
393
|
occurred_at: string;
|
|
394
|
+
event_description: string;
|
|
394
395
|
event_type: "connected_account.connected";
|
|
395
396
|
customer_key?: string | undefined;
|
|
396
397
|
connect_webview_id?: string | undefined;
|
|
397
|
-
event_description?: string | undefined;
|
|
398
398
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
399
399
|
}>, z.ZodObject<{
|
|
400
400
|
event_id: z.ZodString;
|
|
401
401
|
workspace_id: z.ZodString;
|
|
402
402
|
created_at: z.ZodString;
|
|
403
403
|
occurred_at: z.ZodString;
|
|
404
|
-
event_description: z.
|
|
404
|
+
event_description: z.ZodString;
|
|
405
405
|
} & {
|
|
406
406
|
connected_account_id: z.ZodString;
|
|
407
407
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -415,8 +415,8 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
415
415
|
connect_webview_id: string;
|
|
416
416
|
event_id: string;
|
|
417
417
|
occurred_at: string;
|
|
418
|
+
event_description: string;
|
|
418
419
|
event_type: "connected_account.created";
|
|
419
|
-
event_description?: string | undefined;
|
|
420
420
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
421
421
|
}, {
|
|
422
422
|
workspace_id: string;
|
|
@@ -425,15 +425,15 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
425
425
|
connect_webview_id: string;
|
|
426
426
|
event_id: string;
|
|
427
427
|
occurred_at: string;
|
|
428
|
+
event_description: string;
|
|
428
429
|
event_type: "connected_account.created";
|
|
429
|
-
event_description?: string | undefined;
|
|
430
430
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
431
431
|
}>, z.ZodObject<{
|
|
432
432
|
event_id: z.ZodString;
|
|
433
433
|
workspace_id: z.ZodString;
|
|
434
434
|
created_at: z.ZodString;
|
|
435
435
|
occurred_at: z.ZodString;
|
|
436
|
-
event_description: z.
|
|
436
|
+
event_description: z.ZodString;
|
|
437
437
|
} & {
|
|
438
438
|
connected_account_id: z.ZodString;
|
|
439
439
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -447,8 +447,8 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
447
447
|
connect_webview_id: string;
|
|
448
448
|
event_id: string;
|
|
449
449
|
occurred_at: string;
|
|
450
|
+
event_description: string;
|
|
450
451
|
event_type: "connected_account.successful_login";
|
|
451
|
-
event_description?: string | undefined;
|
|
452
452
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
453
453
|
}, {
|
|
454
454
|
workspace_id: string;
|
|
@@ -457,15 +457,15 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
457
457
|
connect_webview_id: string;
|
|
458
458
|
event_id: string;
|
|
459
459
|
occurred_at: string;
|
|
460
|
+
event_description: string;
|
|
460
461
|
event_type: "connected_account.successful_login";
|
|
461
|
-
event_description?: string | undefined;
|
|
462
462
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
463
463
|
}>, z.ZodObject<{
|
|
464
464
|
event_id: z.ZodString;
|
|
465
465
|
workspace_id: z.ZodString;
|
|
466
466
|
created_at: z.ZodString;
|
|
467
467
|
occurred_at: z.ZodString;
|
|
468
|
-
event_description: z.
|
|
468
|
+
event_description: z.ZodString;
|
|
469
469
|
} & {
|
|
470
470
|
connected_account_id: z.ZodString;
|
|
471
471
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -504,6 +504,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
504
504
|
connected_account_id: string;
|
|
505
505
|
event_id: string;
|
|
506
506
|
occurred_at: string;
|
|
507
|
+
event_description: string;
|
|
507
508
|
event_type: "connected_account.disconnected";
|
|
508
509
|
connected_account_errors: {
|
|
509
510
|
message: string;
|
|
@@ -515,7 +516,6 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
515
516
|
created_at: string;
|
|
516
517
|
warning_code: string;
|
|
517
518
|
}[];
|
|
518
|
-
event_description?: string | undefined;
|
|
519
519
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
520
520
|
}, {
|
|
521
521
|
workspace_id: string;
|
|
@@ -523,6 +523,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
523
523
|
connected_account_id: string;
|
|
524
524
|
event_id: string;
|
|
525
525
|
occurred_at: string;
|
|
526
|
+
event_description: string;
|
|
526
527
|
event_type: "connected_account.disconnected";
|
|
527
528
|
connected_account_errors: {
|
|
528
529
|
message: string;
|
|
@@ -534,14 +535,13 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
534
535
|
created_at: string;
|
|
535
536
|
warning_code: string;
|
|
536
537
|
}[];
|
|
537
|
-
event_description?: string | undefined;
|
|
538
538
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
539
539
|
}>, z.ZodObject<{
|
|
540
540
|
event_id: z.ZodString;
|
|
541
541
|
workspace_id: z.ZodString;
|
|
542
542
|
created_at: z.ZodString;
|
|
543
543
|
occurred_at: z.ZodString;
|
|
544
|
-
event_description: z.
|
|
544
|
+
event_description: z.ZodString;
|
|
545
545
|
} & {
|
|
546
546
|
connected_account_id: z.ZodString;
|
|
547
547
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -553,8 +553,8 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
553
553
|
connected_account_id: string;
|
|
554
554
|
event_id: string;
|
|
555
555
|
occurred_at: string;
|
|
556
|
+
event_description: string;
|
|
556
557
|
event_type: "connected_account.completed_first_sync";
|
|
557
|
-
event_description?: string | undefined;
|
|
558
558
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
559
559
|
}, {
|
|
560
560
|
workspace_id: string;
|
|
@@ -562,15 +562,15 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
562
562
|
connected_account_id: string;
|
|
563
563
|
event_id: string;
|
|
564
564
|
occurred_at: string;
|
|
565
|
+
event_description: string;
|
|
565
566
|
event_type: "connected_account.completed_first_sync";
|
|
566
|
-
event_description?: string | undefined;
|
|
567
567
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
568
568
|
}>, z.ZodObject<{
|
|
569
569
|
event_id: z.ZodString;
|
|
570
570
|
workspace_id: z.ZodString;
|
|
571
571
|
created_at: z.ZodString;
|
|
572
572
|
occurred_at: z.ZodString;
|
|
573
|
-
event_description: z.
|
|
573
|
+
event_description: z.ZodString;
|
|
574
574
|
} & {
|
|
575
575
|
connected_account_id: z.ZodString;
|
|
576
576
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -584,9 +584,9 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
584
584
|
connected_account_id: string;
|
|
585
585
|
event_id: string;
|
|
586
586
|
occurred_at: string;
|
|
587
|
+
event_description: string;
|
|
587
588
|
event_type: "connected_account.deleted";
|
|
588
589
|
customer_key?: string | undefined;
|
|
589
|
-
event_description?: string | undefined;
|
|
590
590
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
591
591
|
connected_account_type?: string | undefined;
|
|
592
592
|
}, {
|
|
@@ -595,9 +595,9 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
595
595
|
connected_account_id: string;
|
|
596
596
|
event_id: string;
|
|
597
597
|
occurred_at: string;
|
|
598
|
+
event_description: string;
|
|
598
599
|
event_type: "connected_account.deleted";
|
|
599
600
|
customer_key?: string | undefined;
|
|
600
|
-
event_description?: string | undefined;
|
|
601
601
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
602
602
|
connected_account_type?: string | undefined;
|
|
603
603
|
}>, z.ZodObject<{
|
|
@@ -605,7 +605,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
605
605
|
workspace_id: z.ZodString;
|
|
606
606
|
created_at: z.ZodString;
|
|
607
607
|
occurred_at: z.ZodString;
|
|
608
|
-
event_description: z.
|
|
608
|
+
event_description: z.ZodString;
|
|
609
609
|
} & {
|
|
610
610
|
connected_account_id: z.ZodString;
|
|
611
611
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -617,8 +617,8 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
617
617
|
connected_account_id: string;
|
|
618
618
|
event_id: string;
|
|
619
619
|
occurred_at: string;
|
|
620
|
+
event_description: string;
|
|
620
621
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
621
|
-
event_description?: string | undefined;
|
|
622
622
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
623
623
|
}, {
|
|
624
624
|
workspace_id: string;
|
|
@@ -626,15 +626,15 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
626
626
|
connected_account_id: string;
|
|
627
627
|
event_id: string;
|
|
628
628
|
occurred_at: string;
|
|
629
|
+
event_description: string;
|
|
629
630
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
630
|
-
event_description?: string | undefined;
|
|
631
631
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
632
632
|
}>, z.ZodObject<{
|
|
633
633
|
event_id: z.ZodString;
|
|
634
634
|
workspace_id: z.ZodString;
|
|
635
635
|
created_at: z.ZodString;
|
|
636
636
|
occurred_at: z.ZodString;
|
|
637
|
-
event_description: z.
|
|
637
|
+
event_description: z.ZodString;
|
|
638
638
|
} & {
|
|
639
639
|
connected_account_id: z.ZodString;
|
|
640
640
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -673,6 +673,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
673
673
|
connected_account_id: string;
|
|
674
674
|
event_id: string;
|
|
675
675
|
occurred_at: string;
|
|
676
|
+
event_description: string;
|
|
676
677
|
event_type: "connected_account.reauthorization_requested";
|
|
677
678
|
connected_account_errors: {
|
|
678
679
|
message: string;
|
|
@@ -684,7 +685,6 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
684
685
|
created_at: string;
|
|
685
686
|
warning_code: string;
|
|
686
687
|
}[];
|
|
687
|
-
event_description?: string | undefined;
|
|
688
688
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
689
689
|
}, {
|
|
690
690
|
workspace_id: string;
|
|
@@ -692,6 +692,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
692
692
|
connected_account_id: string;
|
|
693
693
|
event_id: string;
|
|
694
694
|
occurred_at: string;
|
|
695
|
+
event_description: string;
|
|
695
696
|
event_type: "connected_account.reauthorization_requested";
|
|
696
697
|
connected_account_errors: {
|
|
697
698
|
message: string;
|
|
@@ -703,6 +704,5 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
703
704
|
created_at: string;
|
|
704
705
|
warning_code: string;
|
|
705
706
|
}[];
|
|
706
|
-
event_description?: string | undefined;
|
|
707
707
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
708
708
|
}>];
|