@seamapi/types 1.539.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 +22 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +181 -23
- package/dist/index.cjs +22 -8
- 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 +143 -22
- package/lib/seam/connect/openapi.js +14 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +22 -1
- 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 +18 -6
- package/src/lib/seam/connect/route-types.ts +22 -1
|
@@ -4181,7 +4181,8 @@ export type Routes = {
|
|
|
4181
4181
|
queryParams: {};
|
|
4182
4182
|
jsonBody: {};
|
|
4183
4183
|
commonParams: {
|
|
4184
|
-
|
|
4184
|
+
/** Customer key for which you want to list access codes. */
|
|
4185
|
+
customer_key?: string | undefined;
|
|
4185
4186
|
/** ID of the device for which you want to list access codes. Specify either `device_id` or `access_code_ids`. */
|
|
4186
4187
|
device_id?: string | undefined;
|
|
4187
4188
|
/** IDs of the access codes that you want to retrieve. Specify either `device_id` or `access_code_ids`. */
|
|
@@ -18050,6 +18051,8 @@ export type Routes = {
|
|
|
18050
18051
|
event_type: 'connected_account.connected';
|
|
18051
18052
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
18052
18053
|
connect_webview_id: string;
|
|
18054
|
+
/** The customer key associated with this connected account, if any. */
|
|
18055
|
+
customer_key?: string | undefined;
|
|
18053
18056
|
} | {
|
|
18054
18057
|
/** ID of the event. */
|
|
18055
18058
|
event_id: string;
|
|
@@ -18232,6 +18235,8 @@ export type Routes = {
|
|
|
18232
18235
|
connected_account_custom_metadata?: {
|
|
18233
18236
|
[x: string]: string | boolean;
|
|
18234
18237
|
} | undefined;
|
|
18238
|
+
/** The customer key associated with this connect webview, if any. */
|
|
18239
|
+
customer_key?: string | undefined;
|
|
18235
18240
|
} | {
|
|
18236
18241
|
/** ID of the event. */
|
|
18237
18242
|
event_id: string;
|
|
@@ -35891,6 +35896,8 @@ export type Routes = {
|
|
|
35891
35896
|
event_type: 'connected_account.connected';
|
|
35892
35897
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
35893
35898
|
connect_webview_id: string;
|
|
35899
|
+
/** The customer key associated with this connected account, if any. */
|
|
35900
|
+
customer_key?: string | undefined;
|
|
35894
35901
|
} | {
|
|
35895
35902
|
/** ID of the event. */
|
|
35896
35903
|
event_id: string;
|
|
@@ -36073,6 +36080,8 @@ export type Routes = {
|
|
|
36073
36080
|
connected_account_custom_metadata?: {
|
|
36074
36081
|
[x: string]: string | boolean;
|
|
36075
36082
|
} | undefined;
|
|
36083
|
+
/** The customer key associated with this connect webview, if any. */
|
|
36084
|
+
customer_key?: string | undefined;
|
|
36076
36085
|
} | {
|
|
36077
36086
|
/** ID of the event. */
|
|
36078
36087
|
event_id: string;
|
|
@@ -37789,6 +37798,8 @@ export type Routes = {
|
|
|
37789
37798
|
event_type: 'connected_account.connected';
|
|
37790
37799
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
37791
37800
|
connect_webview_id: string;
|
|
37801
|
+
/** The customer key associated with this connected account, if any. */
|
|
37802
|
+
customer_key?: string | undefined;
|
|
37792
37803
|
} | {
|
|
37793
37804
|
/** ID of the event. */
|
|
37794
37805
|
event_id: string;
|
|
@@ -37971,6 +37982,8 @@ export type Routes = {
|
|
|
37971
37982
|
connected_account_custom_metadata?: {
|
|
37972
37983
|
[x: string]: string | boolean;
|
|
37973
37984
|
} | undefined;
|
|
37985
|
+
/** The customer key associated with this connect webview, if any. */
|
|
37986
|
+
customer_key?: string | undefined;
|
|
37974
37987
|
} | {
|
|
37975
37988
|
/** ID of the event. */
|
|
37976
37989
|
event_id: string;
|
|
@@ -56615,6 +56628,8 @@ export type Routes = {
|
|
|
56615
56628
|
event_type: 'connected_account.connected';
|
|
56616
56629
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
56617
56630
|
connect_webview_id: string;
|
|
56631
|
+
/** The customer key associated with this connected account, if any. */
|
|
56632
|
+
customer_key?: string | undefined;
|
|
56618
56633
|
} | {
|
|
56619
56634
|
/** ID of the event. */
|
|
56620
56635
|
event_id: string;
|
|
@@ -56797,6 +56812,8 @@ export type Routes = {
|
|
|
56797
56812
|
connected_account_custom_metadata?: {
|
|
56798
56813
|
[x: string]: string | boolean;
|
|
56799
56814
|
} | undefined;
|
|
56815
|
+
/** The customer key associated with this connect webview, if any. */
|
|
56816
|
+
customer_key?: string | undefined;
|
|
56800
56817
|
} | {
|
|
56801
56818
|
/** ID of the event. */
|
|
56802
56819
|
event_id: string;
|
|
@@ -83960,6 +83977,8 @@ export type Routes = {
|
|
|
83960
83977
|
event_type: 'connected_account.connected';
|
|
83961
83978
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
83962
83979
|
connect_webview_id: string;
|
|
83980
|
+
/** The customer key associated with this connected account, if any. */
|
|
83981
|
+
customer_key?: string | undefined;
|
|
83963
83982
|
} | {
|
|
83964
83983
|
/** ID of the event. */
|
|
83965
83984
|
event_id: string;
|
|
@@ -84142,6 +84161,8 @@ export type Routes = {
|
|
|
84142
84161
|
connected_account_custom_metadata?: {
|
|
84143
84162
|
[x: string]: string | boolean;
|
|
84144
84163
|
} | undefined;
|
|
84164
|
+
/** The customer key associated with this connect webview, if any. */
|
|
84165
|
+
customer_key?: string | undefined;
|
|
84145
84166
|
} | {
|
|
84146
84167
|
/** ID of the event. */
|
|
84147
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',
|
|
@@ -26261,10 +26271,11 @@ export default {
|
|
|
26261
26271
|
parameters: [
|
|
26262
26272
|
{
|
|
26263
26273
|
in: 'query',
|
|
26264
|
-
name: '
|
|
26274
|
+
name: 'customer_key',
|
|
26265
26275
|
schema: {
|
|
26266
|
-
|
|
26267
|
-
|
|
26276
|
+
description:
|
|
26277
|
+
'Customer key for which you want to list access codes.',
|
|
26278
|
+
type: 'string',
|
|
26268
26279
|
},
|
|
26269
26280
|
},
|
|
26270
26281
|
{
|
|
@@ -26371,9 +26382,10 @@ export default {
|
|
|
26371
26382
|
items: { format: 'uuid', type: 'string' },
|
|
26372
26383
|
type: 'array',
|
|
26373
26384
|
},
|
|
26374
|
-
|
|
26375
|
-
|
|
26376
|
-
|
|
26385
|
+
customer_key: {
|
|
26386
|
+
description:
|
|
26387
|
+
'Customer key for which you want to list access codes.',
|
|
26388
|
+
type: 'string',
|
|
26377
26389
|
},
|
|
26378
26390
|
device_id: {
|
|
26379
26391
|
description:
|
|
@@ -4716,7 +4716,8 @@ export type Routes = {
|
|
|
4716
4716
|
queryParams: {}
|
|
4717
4717
|
jsonBody: {}
|
|
4718
4718
|
commonParams: {
|
|
4719
|
-
|
|
4719
|
+
/** Customer key for which you want to list access codes. */
|
|
4720
|
+
customer_key?: string | undefined
|
|
4720
4721
|
/** ID of the device for which you want to list access codes. Specify either `device_id` or `access_code_ids`. */
|
|
4721
4722
|
device_id?: string | undefined
|
|
4722
4723
|
/** IDs of the access codes that you want to retrieve. Specify either `device_id` or `access_code_ids`. */
|
|
@@ -20949,6 +20950,8 @@ export type Routes = {
|
|
|
20949
20950
|
event_type: 'connected_account.connected'
|
|
20950
20951
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
20951
20952
|
connect_webview_id: string
|
|
20953
|
+
/** The customer key associated with this connected account, if any. */
|
|
20954
|
+
customer_key?: string | undefined
|
|
20952
20955
|
}
|
|
20953
20956
|
| {
|
|
20954
20957
|
/** ID of the event. */
|
|
@@ -21156,6 +21159,8 @@ export type Routes = {
|
|
|
21156
21159
|
[x: string]: string | boolean
|
|
21157
21160
|
}
|
|
21158
21161
|
| undefined
|
|
21162
|
+
/** The customer key associated with this connect webview, if any. */
|
|
21163
|
+
customer_key?: string | undefined
|
|
21159
21164
|
}
|
|
21160
21165
|
| {
|
|
21161
21166
|
/** ID of the event. */
|
|
@@ -42242,6 +42247,8 @@ export type Routes = {
|
|
|
42242
42247
|
event_type: 'connected_account.connected'
|
|
42243
42248
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
42244
42249
|
connect_webview_id: string
|
|
42250
|
+
/** The customer key associated with this connected account, if any. */
|
|
42251
|
+
customer_key?: string | undefined
|
|
42245
42252
|
}
|
|
42246
42253
|
| {
|
|
42247
42254
|
/** ID of the event. */
|
|
@@ -42449,6 +42456,8 @@ export type Routes = {
|
|
|
42449
42456
|
[x: string]: string | boolean
|
|
42450
42457
|
}
|
|
42451
42458
|
| undefined
|
|
42459
|
+
/** The customer key associated with this connect webview, if any. */
|
|
42460
|
+
customer_key?: string | undefined
|
|
42452
42461
|
}
|
|
42453
42462
|
| {
|
|
42454
42463
|
/** ID of the event. */
|
|
@@ -44663,6 +44672,8 @@ export type Routes = {
|
|
|
44663
44672
|
event_type: 'connected_account.connected'
|
|
44664
44673
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
44665
44674
|
connect_webview_id: string
|
|
44675
|
+
/** The customer key associated with this connected account, if any. */
|
|
44676
|
+
customer_key?: string | undefined
|
|
44666
44677
|
}
|
|
44667
44678
|
| {
|
|
44668
44679
|
/** ID of the event. */
|
|
@@ -44870,6 +44881,8 @@ export type Routes = {
|
|
|
44870
44881
|
[x: string]: string | boolean
|
|
44871
44882
|
}
|
|
44872
44883
|
| undefined
|
|
44884
|
+
/** The customer key associated with this connect webview, if any. */
|
|
44885
|
+
customer_key?: string | undefined
|
|
44873
44886
|
}
|
|
44874
44887
|
| {
|
|
44875
44888
|
/** ID of the event. */
|
|
@@ -67354,6 +67367,8 @@ export type Routes = {
|
|
|
67354
67367
|
event_type: 'connected_account.connected'
|
|
67355
67368
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
67356
67369
|
connect_webview_id: string
|
|
67370
|
+
/** The customer key associated with this connected account, if any. */
|
|
67371
|
+
customer_key?: string | undefined
|
|
67357
67372
|
}
|
|
67358
67373
|
| {
|
|
67359
67374
|
/** ID of the event. */
|
|
@@ -67561,6 +67576,8 @@ export type Routes = {
|
|
|
67561
67576
|
[x: string]: string | boolean
|
|
67562
67577
|
}
|
|
67563
67578
|
| undefined
|
|
67579
|
+
/** The customer key associated with this connect webview, if any. */
|
|
67580
|
+
customer_key?: string | undefined
|
|
67564
67581
|
}
|
|
67565
67582
|
| {
|
|
67566
67583
|
/** ID of the event. */
|
|
@@ -99884,6 +99901,8 @@ export type Routes = {
|
|
|
99884
99901
|
event_type: 'connected_account.connected'
|
|
99885
99902
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
99886
99903
|
connect_webview_id: string
|
|
99904
|
+
/** The customer key associated with this connected account, if any. */
|
|
99905
|
+
customer_key?: string | undefined
|
|
99887
99906
|
}
|
|
99888
99907
|
| {
|
|
99889
99908
|
/** ID of the event. */
|
|
@@ -100091,6 +100110,8 @@ export type Routes = {
|
|
|
100091
100110
|
[x: string]: string | boolean
|
|
100092
100111
|
}
|
|
100093
100112
|
| undefined
|
|
100113
|
+
/** The customer key associated with this connect webview, if any. */
|
|
100114
|
+
customer_key?: string | undefined
|
|
100094
100115
|
}
|
|
100095
100116
|
| {
|
|
100096
100117
|
/** ID of the event. */
|