@seamapi/types 1.557.0 → 1.558.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 +2 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +13 -13
- package/dist/index.cjs +2 -3
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +10 -10
- package/lib/seam/connect/models/events/connected-accounts.d.ts +6 -6
- package/lib/seam/connect/models/events/connected-accounts.js +1 -1
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -3
- package/lib/seam/connect/openapi.js +0 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +5 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/connected-accounts.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +0 -1
- package/src/lib/seam/connect/route-types.ts +5 -5
package/dist/connect.d.cts
CHANGED
|
@@ -26142,27 +26142,27 @@ declare const batch: z.ZodObject<{
|
|
|
26142
26142
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
26143
26143
|
} & {
|
|
26144
26144
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
26145
|
-
connect_webview_id: z.ZodString
|
|
26145
|
+
connect_webview_id: z.ZodOptional<z.ZodString>;
|
|
26146
26146
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
26147
26147
|
}, "strip", z.ZodTypeAny, {
|
|
26148
26148
|
workspace_id: string;
|
|
26149
26149
|
created_at: string;
|
|
26150
26150
|
connected_account_id: string;
|
|
26151
|
-
connect_webview_id: string;
|
|
26152
26151
|
event_id: string;
|
|
26153
26152
|
occurred_at: string;
|
|
26154
26153
|
event_type: "connected_account.connected";
|
|
26155
26154
|
customer_key?: string | undefined;
|
|
26155
|
+
connect_webview_id?: string | undefined;
|
|
26156
26156
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
26157
26157
|
}, {
|
|
26158
26158
|
workspace_id: string;
|
|
26159
26159
|
created_at: string;
|
|
26160
26160
|
connected_account_id: string;
|
|
26161
|
-
connect_webview_id: string;
|
|
26162
26161
|
event_id: string;
|
|
26163
26162
|
occurred_at: string;
|
|
26164
26163
|
event_type: "connected_account.connected";
|
|
26165
26164
|
customer_key?: string | undefined;
|
|
26165
|
+
connect_webview_id?: string | undefined;
|
|
26166
26166
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
26167
26167
|
}>, z.ZodObject<{
|
|
26168
26168
|
event_id: z.ZodString;
|
|
@@ -33812,11 +33812,11 @@ declare const batch: z.ZodObject<{
|
|
|
33812
33812
|
workspace_id: string;
|
|
33813
33813
|
created_at: string;
|
|
33814
33814
|
connected_account_id: string;
|
|
33815
|
-
connect_webview_id: string;
|
|
33816
33815
|
event_id: string;
|
|
33817
33816
|
occurred_at: string;
|
|
33818
33817
|
event_type: "connected_account.connected";
|
|
33819
33818
|
customer_key?: string | undefined;
|
|
33819
|
+
connect_webview_id?: string | undefined;
|
|
33820
33820
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
33821
33821
|
} | {
|
|
33822
33822
|
workspace_id: string;
|
|
@@ -37717,11 +37717,11 @@ declare const batch: z.ZodObject<{
|
|
|
37717
37717
|
workspace_id: string;
|
|
37718
37718
|
created_at: string;
|
|
37719
37719
|
connected_account_id: string;
|
|
37720
|
-
connect_webview_id: string;
|
|
37721
37720
|
event_id: string;
|
|
37722
37721
|
occurred_at: string;
|
|
37723
37722
|
event_type: "connected_account.connected";
|
|
37724
37723
|
customer_key?: string | undefined;
|
|
37724
|
+
connect_webview_id?: string | undefined;
|
|
37725
37725
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
37726
37726
|
} | {
|
|
37727
37727
|
workspace_id: string;
|
|
@@ -49252,27 +49252,27 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
49252
49252
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
49253
49253
|
} & {
|
|
49254
49254
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
49255
|
-
connect_webview_id: z.ZodString
|
|
49255
|
+
connect_webview_id: z.ZodOptional<z.ZodString>;
|
|
49256
49256
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
49257
49257
|
}, "strip", z.ZodTypeAny, {
|
|
49258
49258
|
workspace_id: string;
|
|
49259
49259
|
created_at: string;
|
|
49260
49260
|
connected_account_id: string;
|
|
49261
|
-
connect_webview_id: string;
|
|
49262
49261
|
event_id: string;
|
|
49263
49262
|
occurred_at: string;
|
|
49264
49263
|
event_type: "connected_account.connected";
|
|
49265
49264
|
customer_key?: string | undefined;
|
|
49265
|
+
connect_webview_id?: string | undefined;
|
|
49266
49266
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
49267
49267
|
}, {
|
|
49268
49268
|
workspace_id: string;
|
|
49269
49269
|
created_at: string;
|
|
49270
49270
|
connected_account_id: string;
|
|
49271
|
-
connect_webview_id: string;
|
|
49272
49271
|
event_id: string;
|
|
49273
49272
|
occurred_at: string;
|
|
49274
49273
|
event_type: "connected_account.connected";
|
|
49275
49274
|
customer_key?: string | undefined;
|
|
49275
|
+
connect_webview_id?: string | undefined;
|
|
49276
49276
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
49277
49277
|
}>, z.ZodObject<{
|
|
49278
49278
|
event_id: z.ZodString;
|
|
@@ -121836,7 +121836,7 @@ type Routes = {
|
|
|
121836
121836
|
} | undefined;
|
|
121837
121837
|
event_type: 'connected_account.connected';
|
|
121838
121838
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
121839
|
-
connect_webview_id
|
|
121839
|
+
connect_webview_id?: string | undefined;
|
|
121840
121840
|
/** The customer key associated with this connected account, if any. */
|
|
121841
121841
|
customer_key?: string | undefined;
|
|
121842
121842
|
} | {
|
|
@@ -139823,7 +139823,7 @@ type Routes = {
|
|
|
139823
139823
|
} | undefined;
|
|
139824
139824
|
event_type: 'connected_account.connected';
|
|
139825
139825
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
139826
|
-
connect_webview_id
|
|
139826
|
+
connect_webview_id?: string | undefined;
|
|
139827
139827
|
/** The customer key associated with this connected account, if any. */
|
|
139828
139828
|
customer_key?: string | undefined;
|
|
139829
139829
|
} | {
|
|
@@ -141747,7 +141747,7 @@ type Routes = {
|
|
|
141747
141747
|
} | undefined;
|
|
141748
141748
|
event_type: 'connected_account.connected';
|
|
141749
141749
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
141750
|
-
connect_webview_id
|
|
141750
|
+
connect_webview_id?: string | undefined;
|
|
141751
141751
|
/** The customer key associated with this connected account, if any. */
|
|
141752
141752
|
customer_key?: string | undefined;
|
|
141753
141753
|
} | {
|
|
@@ -160834,7 +160834,7 @@ type Routes = {
|
|
|
160834
160834
|
} | undefined;
|
|
160835
160835
|
event_type: 'connected_account.connected';
|
|
160836
160836
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
160837
|
-
connect_webview_id
|
|
160837
|
+
connect_webview_id?: string | undefined;
|
|
160838
160838
|
/** The customer key associated with this connected account, if any. */
|
|
160839
160839
|
customer_key?: string | undefined;
|
|
160840
160840
|
} | {
|
|
@@ -188515,7 +188515,7 @@ type Routes = {
|
|
|
188515
188515
|
} | undefined;
|
|
188516
188516
|
event_type: 'connected_account.connected';
|
|
188517
188517
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
188518
|
-
connect_webview_id
|
|
188518
|
+
connect_webview_id?: string | undefined;
|
|
188519
188519
|
/** The customer key associated with this connected account, if any. */
|
|
188520
188520
|
customer_key?: string | undefined;
|
|
188521
188521
|
} | {
|
package/dist/index.cjs
CHANGED
|
@@ -4710,7 +4710,7 @@ var connect_webview_id = zod.z.string().uuid().describe(
|
|
|
4710
4710
|
var connected_account_connected_event = connected_account_event.extend(
|
|
4711
4711
|
{
|
|
4712
4712
|
event_type: zod.z.literal("connected_account.connected"),
|
|
4713
|
-
connect_webview_id,
|
|
4713
|
+
connect_webview_id: connect_webview_id.optional(),
|
|
4714
4714
|
customer_key: zod.z.string().optional().describe(
|
|
4715
4715
|
"The customer key associated with this connected account, if any."
|
|
4716
4716
|
)
|
|
@@ -19987,8 +19987,7 @@ var openapi_default = {
|
|
|
19987
19987
|
"created_at",
|
|
19988
19988
|
"occurred_at",
|
|
19989
19989
|
"connected_account_id",
|
|
19990
|
-
"event_type"
|
|
19991
|
-
"connect_webview_id"
|
|
19990
|
+
"event_type"
|
|
19992
19991
|
],
|
|
19993
19992
|
type: "object",
|
|
19994
19993
|
"x-route-path": "/connected_accounts"
|