@seamapi/types 1.540.0 → 1.542.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 +52 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +176 -2
- package/dist/index.cjs +52 -6
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +20 -0
- package/lib/seam/connect/models/events/connect-webviews.d.ts +6 -0
- package/lib/seam/connect/models/events/connect-webviews.js +4 -0
- package/lib/seam/connect/models/events/connect-webviews.js.map +1 -1
- package/lib/seam/connect/models/events/connected-accounts.d.ts +6 -0
- package/lib/seam/connect/models/events/connected-accounts.js +4 -0
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +6 -0
- package/lib/seam/connect/openapi.d.ts +138 -0
- package/lib/seam/connect/openapi.js +44 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +22 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/connect-webviews.ts +6 -0
- package/src/lib/seam/connect/models/events/connected-accounts.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +46 -4
- package/src/lib/seam/connect/route-types.ts +42 -2
|
@@ -35431,6 +35431,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
35431
35431
|
} & {
|
|
35432
35432
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
35433
35433
|
connect_webview_id: z.ZodString;
|
|
35434
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
35434
35435
|
}, "strip", z.ZodTypeAny, {
|
|
35435
35436
|
workspace_id: string;
|
|
35436
35437
|
created_at: string;
|
|
@@ -35439,6 +35440,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
35439
35440
|
event_id: string;
|
|
35440
35441
|
occurred_at: string;
|
|
35441
35442
|
event_type: "connected_account.connected";
|
|
35443
|
+
customer_key?: string | undefined;
|
|
35442
35444
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
35443
35445
|
}, {
|
|
35444
35446
|
workspace_id: string;
|
|
@@ -35448,6 +35450,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
35448
35450
|
event_id: string;
|
|
35449
35451
|
occurred_at: string;
|
|
35450
35452
|
event_type: "connected_account.connected";
|
|
35453
|
+
customer_key?: string | undefined;
|
|
35451
35454
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
35452
35455
|
}>, z.ZodObject<{
|
|
35453
35456
|
event_id: z.ZodString;
|
|
@@ -35738,6 +35741,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
35738
35741
|
event_type: z.ZodLiteral<"connect_webview.login_succeeded">;
|
|
35739
35742
|
connected_account_id: z.ZodString;
|
|
35740
35743
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
35744
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
35741
35745
|
}, "strip", z.ZodTypeAny, {
|
|
35742
35746
|
workspace_id: string;
|
|
35743
35747
|
created_at: string;
|
|
@@ -35746,6 +35750,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
35746
35750
|
event_id: string;
|
|
35747
35751
|
occurred_at: string;
|
|
35748
35752
|
event_type: "connect_webview.login_succeeded";
|
|
35753
|
+
customer_key?: string | undefined;
|
|
35749
35754
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
35750
35755
|
}, {
|
|
35751
35756
|
workspace_id: string;
|
|
@@ -35755,6 +35760,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
35755
35760
|
event_id: string;
|
|
35756
35761
|
occurred_at: string;
|
|
35757
35762
|
event_type: "connect_webview.login_succeeded";
|
|
35763
|
+
customer_key?: string | undefined;
|
|
35758
35764
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
35759
35765
|
}>, z.ZodObject<{
|
|
35760
35766
|
event_id: z.ZodString;
|
|
@@ -43106,6 +43112,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
43106
43112
|
event_id: string;
|
|
43107
43113
|
occurred_at: string;
|
|
43108
43114
|
event_type: "connect_webview.login_succeeded";
|
|
43115
|
+
customer_key?: string | undefined;
|
|
43109
43116
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
43110
43117
|
} | {
|
|
43111
43118
|
workspace_id: string;
|
|
@@ -43122,6 +43129,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
43122
43129
|
event_id: string;
|
|
43123
43130
|
occurred_at: string;
|
|
43124
43131
|
event_type: "connected_account.connected";
|
|
43132
|
+
customer_key?: string | undefined;
|
|
43125
43133
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
43126
43134
|
} | {
|
|
43127
43135
|
workspace_id: string;
|
|
@@ -47034,6 +47042,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
47034
47042
|
event_id: string;
|
|
47035
47043
|
occurred_at: string;
|
|
47036
47044
|
event_type: "connect_webview.login_succeeded";
|
|
47045
|
+
customer_key?: string | undefined;
|
|
47037
47046
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
47038
47047
|
} | {
|
|
47039
47048
|
workspace_id: string;
|
|
@@ -47050,6 +47059,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
47050
47059
|
event_id: string;
|
|
47051
47060
|
occurred_at: string;
|
|
47052
47061
|
event_type: "connected_account.connected";
|
|
47062
|
+
customer_key?: string | undefined;
|
|
47053
47063
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
47054
47064
|
} | {
|
|
47055
47065
|
workspace_id: string;
|
|
@@ -63691,6 +63701,7 @@ export declare const batch: z.ZodObject<{
|
|
|
63691
63701
|
} & {
|
|
63692
63702
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
63693
63703
|
connect_webview_id: z.ZodString;
|
|
63704
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
63694
63705
|
}, "strip", z.ZodTypeAny, {
|
|
63695
63706
|
workspace_id: string;
|
|
63696
63707
|
created_at: string;
|
|
@@ -63699,6 +63710,7 @@ export declare const batch: z.ZodObject<{
|
|
|
63699
63710
|
event_id: string;
|
|
63700
63711
|
occurred_at: string;
|
|
63701
63712
|
event_type: "connected_account.connected";
|
|
63713
|
+
customer_key?: string | undefined;
|
|
63702
63714
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
63703
63715
|
}, {
|
|
63704
63716
|
workspace_id: string;
|
|
@@ -63708,6 +63720,7 @@ export declare const batch: z.ZodObject<{
|
|
|
63708
63720
|
event_id: string;
|
|
63709
63721
|
occurred_at: string;
|
|
63710
63722
|
event_type: "connected_account.connected";
|
|
63723
|
+
customer_key?: string | undefined;
|
|
63711
63724
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
63712
63725
|
}>, z.ZodObject<{
|
|
63713
63726
|
event_id: z.ZodString;
|
|
@@ -63998,6 +64011,7 @@ export declare const batch: z.ZodObject<{
|
|
|
63998
64011
|
event_type: z.ZodLiteral<"connect_webview.login_succeeded">;
|
|
63999
64012
|
connected_account_id: z.ZodString;
|
|
64000
64013
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
64014
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
64001
64015
|
}, "strip", z.ZodTypeAny, {
|
|
64002
64016
|
workspace_id: string;
|
|
64003
64017
|
created_at: string;
|
|
@@ -64006,6 +64020,7 @@ export declare const batch: z.ZodObject<{
|
|
|
64006
64020
|
event_id: string;
|
|
64007
64021
|
occurred_at: string;
|
|
64008
64022
|
event_type: "connect_webview.login_succeeded";
|
|
64023
|
+
customer_key?: string | undefined;
|
|
64009
64024
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
64010
64025
|
}, {
|
|
64011
64026
|
workspace_id: string;
|
|
@@ -64015,6 +64030,7 @@ export declare const batch: z.ZodObject<{
|
|
|
64015
64030
|
event_id: string;
|
|
64016
64031
|
occurred_at: string;
|
|
64017
64032
|
event_type: "connect_webview.login_succeeded";
|
|
64033
|
+
customer_key?: string | undefined;
|
|
64018
64034
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
64019
64035
|
}>, z.ZodObject<{
|
|
64020
64036
|
event_id: z.ZodString;
|
|
@@ -71295,6 +71311,7 @@ export declare const batch: z.ZodObject<{
|
|
|
71295
71311
|
event_id: string;
|
|
71296
71312
|
occurred_at: string;
|
|
71297
71313
|
event_type: "connect_webview.login_succeeded";
|
|
71314
|
+
customer_key?: string | undefined;
|
|
71298
71315
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
71299
71316
|
} | {
|
|
71300
71317
|
workspace_id: string;
|
|
@@ -71311,6 +71328,7 @@ export declare const batch: z.ZodObject<{
|
|
|
71311
71328
|
event_id: string;
|
|
71312
71329
|
occurred_at: string;
|
|
71313
71330
|
event_type: "connected_account.connected";
|
|
71331
|
+
customer_key?: string | undefined;
|
|
71314
71332
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
71315
71333
|
} | {
|
|
71316
71334
|
workspace_id: string;
|
|
@@ -75152,6 +75170,7 @@ export declare const batch: z.ZodObject<{
|
|
|
75152
75170
|
event_id: string;
|
|
75153
75171
|
occurred_at: string;
|
|
75154
75172
|
event_type: "connect_webview.login_succeeded";
|
|
75173
|
+
customer_key?: string | undefined;
|
|
75155
75174
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
75156
75175
|
} | {
|
|
75157
75176
|
workspace_id: string;
|
|
@@ -75168,6 +75187,7 @@ export declare const batch: z.ZodObject<{
|
|
|
75168
75187
|
event_id: string;
|
|
75169
75188
|
occurred_at: string;
|
|
75170
75189
|
event_type: "connected_account.connected";
|
|
75190
|
+
customer_key?: string | undefined;
|
|
75171
75191
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
75172
75192
|
} | {
|
|
75173
75193
|
workspace_id: string;
|
|
@@ -10,6 +10,7 @@ export declare const connect_webview_login_succeeded_event: z.ZodObject<{
|
|
|
10
10
|
event_type: z.ZodLiteral<"connect_webview.login_succeeded">;
|
|
11
11
|
connected_account_id: z.ZodString;
|
|
12
12
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
13
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
13
14
|
}, "strip", z.ZodTypeAny, {
|
|
14
15
|
workspace_id: string;
|
|
15
16
|
created_at: string;
|
|
@@ -18,6 +19,7 @@ export declare const connect_webview_login_succeeded_event: z.ZodObject<{
|
|
|
18
19
|
event_id: string;
|
|
19
20
|
occurred_at: string;
|
|
20
21
|
event_type: "connect_webview.login_succeeded";
|
|
22
|
+
customer_key?: string | undefined;
|
|
21
23
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
22
24
|
}, {
|
|
23
25
|
workspace_id: string;
|
|
@@ -27,6 +29,7 @@ export declare const connect_webview_login_succeeded_event: z.ZodObject<{
|
|
|
27
29
|
event_id: string;
|
|
28
30
|
occurred_at: string;
|
|
29
31
|
event_type: "connect_webview.login_succeeded";
|
|
32
|
+
customer_key?: string | undefined;
|
|
30
33
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
31
34
|
}>;
|
|
32
35
|
export type ConnectWebviewLoginSucceededEvent = z.infer<typeof connect_webview_login_succeeded_event>;
|
|
@@ -66,6 +69,7 @@ export declare const connect_webview_events: readonly [z.ZodObject<{
|
|
|
66
69
|
event_type: z.ZodLiteral<"connect_webview.login_succeeded">;
|
|
67
70
|
connected_account_id: z.ZodString;
|
|
68
71
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
72
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
69
73
|
}, "strip", z.ZodTypeAny, {
|
|
70
74
|
workspace_id: string;
|
|
71
75
|
created_at: string;
|
|
@@ -74,6 +78,7 @@ export declare const connect_webview_events: readonly [z.ZodObject<{
|
|
|
74
78
|
event_id: string;
|
|
75
79
|
occurred_at: string;
|
|
76
80
|
event_type: "connect_webview.login_succeeded";
|
|
81
|
+
customer_key?: string | undefined;
|
|
77
82
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
78
83
|
}, {
|
|
79
84
|
workspace_id: string;
|
|
@@ -83,6 +88,7 @@ export declare const connect_webview_events: readonly [z.ZodObject<{
|
|
|
83
88
|
event_id: string;
|
|
84
89
|
occurred_at: string;
|
|
85
90
|
event_type: "connect_webview.login_succeeded";
|
|
91
|
+
customer_key?: string | undefined;
|
|
86
92
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
87
93
|
}>, z.ZodObject<{
|
|
88
94
|
event_id: z.ZodString;
|
|
@@ -18,6 +18,10 @@ export const connect_webview_login_succeeded_event = connect_webview_event.exten
|
|
|
18
18
|
event_type: z.literal('connect_webview.login_succeeded'),
|
|
19
19
|
connected_account_id,
|
|
20
20
|
connected_account_custom_metadata,
|
|
21
|
+
customer_key: z
|
|
22
|
+
.string()
|
|
23
|
+
.optional()
|
|
24
|
+
.describe('The customer key associated with this connect webview, if any.'),
|
|
21
25
|
}).describe(`
|
|
22
26
|
---
|
|
23
27
|
route_path: /connect_webviews
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect-webviews.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/connect-webviews.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,qBAAqB,GAAG,YAAY,CAAC,MAAM,CAAC;IAChD,kBAAkB,EAAE,CAAC;SAClB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,mGAAmG,CACpG;CACJ,CAAC,CAAA;AAEF,MAAM,oBAAoB,GAAG,CAAC;KAC3B,MAAM,EAAE;KACR,IAAI,EAAE;KACN,QAAQ,CACP,wHAAwH,CACzH,CAAA;AAEH,MAAM,iCAAiC,GAAG,eAAe;KACtD,QAAQ,EAAE;KACV,QAAQ,CACP,0FAA0F,CAC3F,CAAA;AAEH,MAAM,CAAC,MAAM,qCAAqC,GAChD,qBAAqB,CAAC,MAAM,CAAC;IAC3B,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,iCAAiC,CAAC;IACxD,oBAAoB;IACpB,iCAAiC;
|
|
1
|
+
{"version":3,"file":"connect-webviews.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/connect-webviews.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,qBAAqB,GAAG,YAAY,CAAC,MAAM,CAAC;IAChD,kBAAkB,EAAE,CAAC;SAClB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,mGAAmG,CACpG;CACJ,CAAC,CAAA;AAEF,MAAM,oBAAoB,GAAG,CAAC;KAC3B,MAAM,EAAE;KACR,IAAI,EAAE;KACN,QAAQ,CACP,wHAAwH,CACzH,CAAA;AAEH,MAAM,iCAAiC,GAAG,eAAe;KACtD,QAAQ,EAAE;KACV,QAAQ,CACP,0FAA0F,CAC3F,CAAA;AAEH,MAAM,CAAC,MAAM,qCAAqC,GAChD,qBAAqB,CAAC,MAAM,CAAC;IAC3B,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,iCAAiC,CAAC;IACxD,oBAAoB;IACpB,iCAAiC;IACjC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,gEAAgE,CACjE;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;GAKX,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,kCAAkC,GAAG,qBAAqB,CAAC,MAAM,CAAC;IAC7E,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,8BAA8B,CAAC;CACtD,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,qCAAqC;IACrC,kCAAkC;CAC1B,CAAA"}
|
|
@@ -10,6 +10,7 @@ export declare const connected_account_connected_event: z.ZodObject<{
|
|
|
10
10
|
} & {
|
|
11
11
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
12
12
|
connect_webview_id: z.ZodString;
|
|
13
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
13
14
|
}, "strip", z.ZodTypeAny, {
|
|
14
15
|
workspace_id: string;
|
|
15
16
|
created_at: string;
|
|
@@ -18,6 +19,7 @@ export declare const connected_account_connected_event: z.ZodObject<{
|
|
|
18
19
|
event_id: string;
|
|
19
20
|
occurred_at: string;
|
|
20
21
|
event_type: "connected_account.connected";
|
|
22
|
+
customer_key?: string | undefined;
|
|
21
23
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
22
24
|
}, {
|
|
23
25
|
workspace_id: string;
|
|
@@ -27,6 +29,7 @@ export declare const connected_account_connected_event: z.ZodObject<{
|
|
|
27
29
|
event_id: string;
|
|
28
30
|
occurred_at: string;
|
|
29
31
|
event_type: "connected_account.connected";
|
|
32
|
+
customer_key?: string | undefined;
|
|
30
33
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
31
34
|
}>;
|
|
32
35
|
export type ConnectedAccountConnectedEvent = z.infer<typeof connected_account_connected_event>;
|
|
@@ -217,6 +220,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
217
220
|
} & {
|
|
218
221
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
219
222
|
connect_webview_id: z.ZodString;
|
|
223
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
220
224
|
}, "strip", z.ZodTypeAny, {
|
|
221
225
|
workspace_id: string;
|
|
222
226
|
created_at: string;
|
|
@@ -225,6 +229,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
225
229
|
event_id: string;
|
|
226
230
|
occurred_at: string;
|
|
227
231
|
event_type: "connected_account.connected";
|
|
232
|
+
customer_key?: string | undefined;
|
|
228
233
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
229
234
|
}, {
|
|
230
235
|
workspace_id: string;
|
|
@@ -234,6 +239,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
234
239
|
event_id: string;
|
|
235
240
|
occurred_at: string;
|
|
236
241
|
event_type: "connected_account.connected";
|
|
242
|
+
customer_key?: string | undefined;
|
|
237
243
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
238
244
|
}>, z.ZodObject<{
|
|
239
245
|
event_id: z.ZodString;
|
|
@@ -17,6 +17,10 @@ const connect_webview_id = z
|
|
|
17
17
|
export const connected_account_connected_event = connected_account_event.extend({
|
|
18
18
|
event_type: z.literal('connected_account.connected'),
|
|
19
19
|
connect_webview_id,
|
|
20
|
+
customer_key: z
|
|
21
|
+
.string()
|
|
22
|
+
.optional()
|
|
23
|
+
.describe('The customer key associated with this connected account, if any.'),
|
|
20
24
|
}).describe(`
|
|
21
25
|
---
|
|
22
26
|
route_path: /connected_accounts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connected-accounts.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/connected-accounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,uBAAuB,GAAG,YAAY,CAAC,MAAM,CAAC;IAClD,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,uGAAuG,CACxG;IACH,iCAAiC,EAAE,eAAe;SAC/C,QAAQ,EAAE;SACV,QAAQ,CACP,0FAA0F,CAC3F;CACJ,CAAC,CAAA;AAEF,MAAM,kBAAkB,GAAG,CAAC;KACzB,MAAM,EAAE;KACR,IAAI,EAAE;KACN,QAAQ,CACP,oHAAoH,CACrH,CAAA;AAEH,MAAM,CAAC,MAAM,iCAAiC,GAAG,uBAAuB,CAAC,MAAM,CAC7E;IACE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,6BAA6B,CAAC;IACpD,kBAAkB;
|
|
1
|
+
{"version":3,"file":"connected-accounts.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/connected-accounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,uBAAuB,GAAG,YAAY,CAAC,MAAM,CAAC;IAClD,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,uGAAuG,CACxG;IACH,iCAAiC,EAAE,eAAe;SAC/C,QAAQ,EAAE;SACV,QAAQ,CACP,0FAA0F,CAC3F;CACJ,CAAC,CAAA;AAEF,MAAM,kBAAkB,GAAG,CAAC;KACzB,MAAM,EAAE;KACR,IAAI,EAAE;KACN,QAAQ,CACP,oHAAoH,CACrH,CAAA;AAEH,MAAM,CAAC,MAAM,iCAAiC,GAAG,uBAAuB,CAAC,MAAM,CAC7E;IACE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,6BAA6B,CAAC;IACpD,kBAAkB;IAClB,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,kEAAkE,CACnE;CACJ,CACF,CAAC,QAAQ,CAAC;;;;;CAKV,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,+BAA+B,GAAG,uBAAuB,CAAC,MAAM,CAAC;IAC5E,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC;IAClD,kBAAkB;CACnB,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA;AAKF,kBAAkB;AAClB,MAAM,CAAC,MAAM,wCAAwC,GACnD,uBAAuB,CAAC,MAAM,CAAC;IAC7B,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,oCAAoC,CAAC;IAC3D,kBAAkB;CACnB,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMX,CAAC,CAAA;AAOJ,MAAM,CAAC,MAAM,oCAAoC,GAC/C,uBAAuB,CAAC,MAAM,CAAC;IAC7B,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC;CACxD,CAAC,CAAC,QAAQ,CAAC;;;;;GAKX,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,4CAA4C,GACvD,uBAAuB,CAAC,MAAM,CAAC;IAC7B,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,wCAAwC,CAAC;CAChE,CAAC,CAAC,QAAQ,CAAC;;;;;GAKX,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,+BAA+B,GAAG,uBAAuB,CAAC,MAAM,CAAC;IAC5E,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC;CACnD,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,+DAA+D,GAC1E,uBAAuB,CAAC,MAAM,CAAC;IAC7B,UAAU,EAAE,CAAC,CAAC,OAAO,CACnB,2DAA2D,CAC5D;CACF,CAAC,CAAC,QAAQ,CAAC;;;;;GAKX,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,iCAAiC;IACjC,+BAA+B;IAC/B,wCAAwC;IACxC,oCAAoC;IACpC,4CAA4C;IAC5C,+BAA+B;IAC/B,+DAA+D;CACvD,CAAA"}
|
|
@@ -1320,6 +1320,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1320
1320
|
} & {
|
|
1321
1321
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
1322
1322
|
connect_webview_id: z.ZodString;
|
|
1323
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1323
1324
|
}, "strip", z.ZodTypeAny, {
|
|
1324
1325
|
workspace_id: string;
|
|
1325
1326
|
created_at: string;
|
|
@@ -1328,6 +1329,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1328
1329
|
event_id: string;
|
|
1329
1330
|
occurred_at: string;
|
|
1330
1331
|
event_type: "connected_account.connected";
|
|
1332
|
+
customer_key?: string | undefined;
|
|
1331
1333
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1332
1334
|
}, {
|
|
1333
1335
|
workspace_id: string;
|
|
@@ -1337,6 +1339,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1337
1339
|
event_id: string;
|
|
1338
1340
|
occurred_at: string;
|
|
1339
1341
|
event_type: "connected_account.connected";
|
|
1342
|
+
customer_key?: string | undefined;
|
|
1340
1343
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1341
1344
|
}>, z.ZodObject<{
|
|
1342
1345
|
event_id: z.ZodString;
|
|
@@ -1627,6 +1630,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1627
1630
|
event_type: z.ZodLiteral<"connect_webview.login_succeeded">;
|
|
1628
1631
|
connected_account_id: z.ZodString;
|
|
1629
1632
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1633
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1630
1634
|
}, "strip", z.ZodTypeAny, {
|
|
1631
1635
|
workspace_id: string;
|
|
1632
1636
|
created_at: string;
|
|
@@ -1635,6 +1639,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1635
1639
|
event_id: string;
|
|
1636
1640
|
occurred_at: string;
|
|
1637
1641
|
event_type: "connect_webview.login_succeeded";
|
|
1642
|
+
customer_key?: string | undefined;
|
|
1638
1643
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1639
1644
|
}, {
|
|
1640
1645
|
workspace_id: string;
|
|
@@ -1644,6 +1649,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1644
1649
|
event_id: string;
|
|
1645
1650
|
occurred_at: string;
|
|
1646
1651
|
event_type: "connect_webview.login_succeeded";
|
|
1652
|
+
customer_key?: string | undefined;
|
|
1647
1653
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1648
1654
|
}>, z.ZodObject<{
|
|
1649
1655
|
event_id: z.ZodString;
|