@seamapi/types 1.540.0 → 1.541.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 +16 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +174 -0
- package/dist/index.cjs +16 -2
- 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 +8 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -0
- 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 +10 -0
- package/src/lib/seam/connect/route-types.ts +20 -0
|
@@ -18051,6 +18051,8 @@ export type Routes = {
|
|
|
18051
18051
|
event_type: 'connected_account.connected';
|
|
18052
18052
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
18053
18053
|
connect_webview_id: string;
|
|
18054
|
+
/** The customer key associated with this connected account, if any. */
|
|
18055
|
+
customer_key?: string | undefined;
|
|
18054
18056
|
} | {
|
|
18055
18057
|
/** ID of the event. */
|
|
18056
18058
|
event_id: string;
|
|
@@ -18233,6 +18235,8 @@ export type Routes = {
|
|
|
18233
18235
|
connected_account_custom_metadata?: {
|
|
18234
18236
|
[x: string]: string | boolean;
|
|
18235
18237
|
} | undefined;
|
|
18238
|
+
/** The customer key associated with this connect webview, if any. */
|
|
18239
|
+
customer_key?: string | undefined;
|
|
18236
18240
|
} | {
|
|
18237
18241
|
/** ID of the event. */
|
|
18238
18242
|
event_id: string;
|
|
@@ -35892,6 +35896,8 @@ export type Routes = {
|
|
|
35892
35896
|
event_type: 'connected_account.connected';
|
|
35893
35897
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
35894
35898
|
connect_webview_id: string;
|
|
35899
|
+
/** The customer key associated with this connected account, if any. */
|
|
35900
|
+
customer_key?: string | undefined;
|
|
35895
35901
|
} | {
|
|
35896
35902
|
/** ID of the event. */
|
|
35897
35903
|
event_id: string;
|
|
@@ -36074,6 +36080,8 @@ export type Routes = {
|
|
|
36074
36080
|
connected_account_custom_metadata?: {
|
|
36075
36081
|
[x: string]: string | boolean;
|
|
36076
36082
|
} | undefined;
|
|
36083
|
+
/** The customer key associated with this connect webview, if any. */
|
|
36084
|
+
customer_key?: string | undefined;
|
|
36077
36085
|
} | {
|
|
36078
36086
|
/** ID of the event. */
|
|
36079
36087
|
event_id: string;
|
|
@@ -37790,6 +37798,8 @@ export type Routes = {
|
|
|
37790
37798
|
event_type: 'connected_account.connected';
|
|
37791
37799
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
37792
37800
|
connect_webview_id: string;
|
|
37801
|
+
/** The customer key associated with this connected account, if any. */
|
|
37802
|
+
customer_key?: string | undefined;
|
|
37793
37803
|
} | {
|
|
37794
37804
|
/** ID of the event. */
|
|
37795
37805
|
event_id: string;
|
|
@@ -37972,6 +37982,8 @@ export type Routes = {
|
|
|
37972
37982
|
connected_account_custom_metadata?: {
|
|
37973
37983
|
[x: string]: string | boolean;
|
|
37974
37984
|
} | undefined;
|
|
37985
|
+
/** The customer key associated with this connect webview, if any. */
|
|
37986
|
+
customer_key?: string | undefined;
|
|
37975
37987
|
} | {
|
|
37976
37988
|
/** ID of the event. */
|
|
37977
37989
|
event_id: string;
|
|
@@ -56616,6 +56628,8 @@ export type Routes = {
|
|
|
56616
56628
|
event_type: 'connected_account.connected';
|
|
56617
56629
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
56618
56630
|
connect_webview_id: string;
|
|
56631
|
+
/** The customer key associated with this connected account, if any. */
|
|
56632
|
+
customer_key?: string | undefined;
|
|
56619
56633
|
} | {
|
|
56620
56634
|
/** ID of the event. */
|
|
56621
56635
|
event_id: string;
|
|
@@ -56798,6 +56812,8 @@ export type Routes = {
|
|
|
56798
56812
|
connected_account_custom_metadata?: {
|
|
56799
56813
|
[x: string]: string | boolean;
|
|
56800
56814
|
} | undefined;
|
|
56815
|
+
/** The customer key associated with this connect webview, if any. */
|
|
56816
|
+
customer_key?: string | undefined;
|
|
56801
56817
|
} | {
|
|
56802
56818
|
/** ID of the event. */
|
|
56803
56819
|
event_id: string;
|
|
@@ -83961,6 +83977,8 @@ export type Routes = {
|
|
|
83961
83977
|
event_type: 'connected_account.connected';
|
|
83962
83978
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
83963
83979
|
connect_webview_id: string;
|
|
83980
|
+
/** The customer key associated with this connected account, if any. */
|
|
83981
|
+
customer_key?: string | undefined;
|
|
83964
83982
|
} | {
|
|
83965
83983
|
/** ID of the event. */
|
|
83966
83984
|
event_id: string;
|
|
@@ -84143,6 +84161,8 @@ export type Routes = {
|
|
|
84143
84161
|
connected_account_custom_metadata?: {
|
|
84144
84162
|
[x: string]: string | boolean;
|
|
84145
84163
|
} | undefined;
|
|
84164
|
+
/** The customer key associated with this connect webview, if any. */
|
|
84165
|
+
customer_key?: string | undefined;
|
|
84146
84166
|
} | {
|
|
84147
84167
|
/** ID of the event. */
|
|
84148
84168
|
event_id: string;
|
package/package.json
CHANGED
|
@@ -30,6 +30,12 @@ export const connect_webview_login_succeeded_event =
|
|
|
30
30
|
event_type: z.literal('connect_webview.login_succeeded'),
|
|
31
31
|
connected_account_id,
|
|
32
32
|
connected_account_custom_metadata,
|
|
33
|
+
customer_key: z
|
|
34
|
+
.string()
|
|
35
|
+
.optional()
|
|
36
|
+
.describe(
|
|
37
|
+
'The customer key associated with this connect webview, if any.',
|
|
38
|
+
),
|
|
33
39
|
}).describe(`
|
|
34
40
|
---
|
|
35
41
|
route_path: /connect_webviews
|
|
@@ -28,6 +28,12 @@ export const connected_account_connected_event = connected_account_event.extend(
|
|
|
28
28
|
{
|
|
29
29
|
event_type: z.literal('connected_account.connected'),
|
|
30
30
|
connect_webview_id,
|
|
31
|
+
customer_key: z
|
|
32
|
+
.string()
|
|
33
|
+
.optional()
|
|
34
|
+
.describe(
|
|
35
|
+
'The customer key associated with this connected account, if any.',
|
|
36
|
+
),
|
|
31
37
|
},
|
|
32
38
|
).describe(`
|
|
33
39
|
---
|
|
@@ -15698,6 +15698,11 @@ export default {
|
|
|
15698
15698
|
format: 'date-time',
|
|
15699
15699
|
type: 'string',
|
|
15700
15700
|
},
|
|
15701
|
+
customer_key: {
|
|
15702
|
+
description:
|
|
15703
|
+
'The customer key associated with this connected account, if any.',
|
|
15704
|
+
type: 'string',
|
|
15705
|
+
},
|
|
15701
15706
|
event_id: {
|
|
15702
15707
|
description: 'ID of the event.',
|
|
15703
15708
|
format: 'uuid',
|
|
@@ -16320,6 +16325,11 @@ export default {
|
|
|
16320
16325
|
format: 'date-time',
|
|
16321
16326
|
type: 'string',
|
|
16322
16327
|
},
|
|
16328
|
+
customer_key: {
|
|
16329
|
+
description:
|
|
16330
|
+
'The customer key associated with this connect webview, if any.',
|
|
16331
|
+
type: 'string',
|
|
16332
|
+
},
|
|
16323
16333
|
event_id: {
|
|
16324
16334
|
description: 'ID of the event.',
|
|
16325
16335
|
format: 'uuid',
|
|
@@ -20950,6 +20950,8 @@ export type Routes = {
|
|
|
20950
20950
|
event_type: 'connected_account.connected'
|
|
20951
20951
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
20952
20952
|
connect_webview_id: string
|
|
20953
|
+
/** The customer key associated with this connected account, if any. */
|
|
20954
|
+
customer_key?: string | undefined
|
|
20953
20955
|
}
|
|
20954
20956
|
| {
|
|
20955
20957
|
/** ID of the event. */
|
|
@@ -21157,6 +21159,8 @@ export type Routes = {
|
|
|
21157
21159
|
[x: string]: string | boolean
|
|
21158
21160
|
}
|
|
21159
21161
|
| undefined
|
|
21162
|
+
/** The customer key associated with this connect webview, if any. */
|
|
21163
|
+
customer_key?: string | undefined
|
|
21160
21164
|
}
|
|
21161
21165
|
| {
|
|
21162
21166
|
/** ID of the event. */
|
|
@@ -42243,6 +42247,8 @@ export type Routes = {
|
|
|
42243
42247
|
event_type: 'connected_account.connected'
|
|
42244
42248
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
42245
42249
|
connect_webview_id: string
|
|
42250
|
+
/** The customer key associated with this connected account, if any. */
|
|
42251
|
+
customer_key?: string | undefined
|
|
42246
42252
|
}
|
|
42247
42253
|
| {
|
|
42248
42254
|
/** ID of the event. */
|
|
@@ -42450,6 +42456,8 @@ export type Routes = {
|
|
|
42450
42456
|
[x: string]: string | boolean
|
|
42451
42457
|
}
|
|
42452
42458
|
| undefined
|
|
42459
|
+
/** The customer key associated with this connect webview, if any. */
|
|
42460
|
+
customer_key?: string | undefined
|
|
42453
42461
|
}
|
|
42454
42462
|
| {
|
|
42455
42463
|
/** ID of the event. */
|
|
@@ -44664,6 +44672,8 @@ export type Routes = {
|
|
|
44664
44672
|
event_type: 'connected_account.connected'
|
|
44665
44673
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
44666
44674
|
connect_webview_id: string
|
|
44675
|
+
/** The customer key associated with this connected account, if any. */
|
|
44676
|
+
customer_key?: string | undefined
|
|
44667
44677
|
}
|
|
44668
44678
|
| {
|
|
44669
44679
|
/** ID of the event. */
|
|
@@ -44871,6 +44881,8 @@ export type Routes = {
|
|
|
44871
44881
|
[x: string]: string | boolean
|
|
44872
44882
|
}
|
|
44873
44883
|
| undefined
|
|
44884
|
+
/** The customer key associated with this connect webview, if any. */
|
|
44885
|
+
customer_key?: string | undefined
|
|
44874
44886
|
}
|
|
44875
44887
|
| {
|
|
44876
44888
|
/** ID of the event. */
|
|
@@ -67355,6 +67367,8 @@ export type Routes = {
|
|
|
67355
67367
|
event_type: 'connected_account.connected'
|
|
67356
67368
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
67357
67369
|
connect_webview_id: string
|
|
67370
|
+
/** The customer key associated with this connected account, if any. */
|
|
67371
|
+
customer_key?: string | undefined
|
|
67358
67372
|
}
|
|
67359
67373
|
| {
|
|
67360
67374
|
/** ID of the event. */
|
|
@@ -67562,6 +67576,8 @@ export type Routes = {
|
|
|
67562
67576
|
[x: string]: string | boolean
|
|
67563
67577
|
}
|
|
67564
67578
|
| undefined
|
|
67579
|
+
/** The customer key associated with this connect webview, if any. */
|
|
67580
|
+
customer_key?: string | undefined
|
|
67565
67581
|
}
|
|
67566
67582
|
| {
|
|
67567
67583
|
/** ID of the event. */
|
|
@@ -99885,6 +99901,8 @@ export type Routes = {
|
|
|
99885
99901
|
event_type: 'connected_account.connected'
|
|
99886
99902
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
99887
99903
|
connect_webview_id: string
|
|
99904
|
+
/** The customer key associated with this connected account, if any. */
|
|
99905
|
+
customer_key?: string | undefined
|
|
99888
99906
|
}
|
|
99889
99907
|
| {
|
|
99890
99908
|
/** ID of the event. */
|
|
@@ -100092,6 +100110,8 @@ export type Routes = {
|
|
|
100092
100110
|
[x: string]: string | boolean
|
|
100093
100111
|
}
|
|
100094
100112
|
| undefined
|
|
100113
|
+
/** The customer key associated with this connect webview, if any. */
|
|
100114
|
+
customer_key?: string | undefined
|
|
100095
100115
|
}
|
|
100096
100116
|
| {
|
|
100097
100117
|
/** ID of the event. */
|