@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
|
@@ -13193,8 +13193,8 @@ export type Routes = {
|
|
|
13193
13193
|
commonParams: {
|
|
13194
13194
|
/** IDs of the access methods that you want to get along with their related resources. */
|
|
13195
13195
|
access_method_ids: string[];
|
|
13196
|
-
include?: ('spaces' | 'devices' | 'acs_entrances')[] | undefined;
|
|
13197
|
-
exclude?: ('spaces' | 'devices' | 'acs_entrances')[] | undefined;
|
|
13196
|
+
include?: ('spaces' | 'devices' | 'acs_entrances' | 'access_grants' | 'access_methods' | 'instant_keys' | 'client_sessions')[] | undefined;
|
|
13197
|
+
exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'access_grants' | 'access_methods' | 'instant_keys' | 'client_sessions')[] | undefined;
|
|
13198
13198
|
};
|
|
13199
13199
|
formData: {};
|
|
13200
13200
|
jsonResponse: {
|
|
@@ -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',
|
|
@@ -29270,7 +29280,15 @@ export default {
|
|
|
29270
29280
|
required: false,
|
|
29271
29281
|
schema: {
|
|
29272
29282
|
items: {
|
|
29273
|
-
enum: [
|
|
29283
|
+
enum: [
|
|
29284
|
+
'spaces',
|
|
29285
|
+
'devices',
|
|
29286
|
+
'acs_entrances',
|
|
29287
|
+
'access_grants',
|
|
29288
|
+
'access_methods',
|
|
29289
|
+
'instant_keys',
|
|
29290
|
+
'client_sessions',
|
|
29291
|
+
],
|
|
29274
29292
|
type: 'string',
|
|
29275
29293
|
},
|
|
29276
29294
|
type: 'array',
|
|
@@ -29282,7 +29300,15 @@ export default {
|
|
|
29282
29300
|
required: false,
|
|
29283
29301
|
schema: {
|
|
29284
29302
|
items: {
|
|
29285
|
-
enum: [
|
|
29303
|
+
enum: [
|
|
29304
|
+
'spaces',
|
|
29305
|
+
'devices',
|
|
29306
|
+
'acs_entrances',
|
|
29307
|
+
'access_grants',
|
|
29308
|
+
'access_methods',
|
|
29309
|
+
'instant_keys',
|
|
29310
|
+
'client_sessions',
|
|
29311
|
+
],
|
|
29286
29312
|
type: 'string',
|
|
29287
29313
|
},
|
|
29288
29314
|
type: 'array',
|
|
@@ -29491,14 +29517,30 @@ export default {
|
|
|
29491
29517
|
},
|
|
29492
29518
|
exclude: {
|
|
29493
29519
|
items: {
|
|
29494
|
-
enum: [
|
|
29520
|
+
enum: [
|
|
29521
|
+
'spaces',
|
|
29522
|
+
'devices',
|
|
29523
|
+
'acs_entrances',
|
|
29524
|
+
'access_grants',
|
|
29525
|
+
'access_methods',
|
|
29526
|
+
'instant_keys',
|
|
29527
|
+
'client_sessions',
|
|
29528
|
+
],
|
|
29495
29529
|
type: 'string',
|
|
29496
29530
|
},
|
|
29497
29531
|
type: 'array',
|
|
29498
29532
|
},
|
|
29499
29533
|
include: {
|
|
29500
29534
|
items: {
|
|
29501
|
-
enum: [
|
|
29535
|
+
enum: [
|
|
29536
|
+
'spaces',
|
|
29537
|
+
'devices',
|
|
29538
|
+
'acs_entrances',
|
|
29539
|
+
'access_grants',
|
|
29540
|
+
'access_methods',
|
|
29541
|
+
'instant_keys',
|
|
29542
|
+
'client_sessions',
|
|
29543
|
+
],
|
|
29502
29544
|
type: 'string',
|
|
29503
29545
|
},
|
|
29504
29546
|
type: 'array',
|
|
@@ -15085,8 +15085,28 @@ export type Routes = {
|
|
|
15085
15085
|
commonParams: {
|
|
15086
15086
|
/** IDs of the access methods that you want to get along with their related resources. */
|
|
15087
15087
|
access_method_ids: string[]
|
|
15088
|
-
include?:
|
|
15089
|
-
|
|
15088
|
+
include?:
|
|
15089
|
+
| (
|
|
15090
|
+
| 'spaces'
|
|
15091
|
+
| 'devices'
|
|
15092
|
+
| 'acs_entrances'
|
|
15093
|
+
| 'access_grants'
|
|
15094
|
+
| 'access_methods'
|
|
15095
|
+
| 'instant_keys'
|
|
15096
|
+
| 'client_sessions'
|
|
15097
|
+
)[]
|
|
15098
|
+
| undefined
|
|
15099
|
+
exclude?:
|
|
15100
|
+
| (
|
|
15101
|
+
| 'spaces'
|
|
15102
|
+
| 'devices'
|
|
15103
|
+
| 'acs_entrances'
|
|
15104
|
+
| 'access_grants'
|
|
15105
|
+
| 'access_methods'
|
|
15106
|
+
| 'instant_keys'
|
|
15107
|
+
| 'client_sessions'
|
|
15108
|
+
)[]
|
|
15109
|
+
| undefined
|
|
15090
15110
|
}
|
|
15091
15111
|
formData: {}
|
|
15092
15112
|
jsonResponse: {
|
|
@@ -20950,6 +20970,8 @@ export type Routes = {
|
|
|
20950
20970
|
event_type: 'connected_account.connected'
|
|
20951
20971
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
20952
20972
|
connect_webview_id: string
|
|
20973
|
+
/** The customer key associated with this connected account, if any. */
|
|
20974
|
+
customer_key?: string | undefined
|
|
20953
20975
|
}
|
|
20954
20976
|
| {
|
|
20955
20977
|
/** ID of the event. */
|
|
@@ -21157,6 +21179,8 @@ export type Routes = {
|
|
|
21157
21179
|
[x: string]: string | boolean
|
|
21158
21180
|
}
|
|
21159
21181
|
| undefined
|
|
21182
|
+
/** The customer key associated with this connect webview, if any. */
|
|
21183
|
+
customer_key?: string | undefined
|
|
21160
21184
|
}
|
|
21161
21185
|
| {
|
|
21162
21186
|
/** ID of the event. */
|
|
@@ -42243,6 +42267,8 @@ export type Routes = {
|
|
|
42243
42267
|
event_type: 'connected_account.connected'
|
|
42244
42268
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
42245
42269
|
connect_webview_id: string
|
|
42270
|
+
/** The customer key associated with this connected account, if any. */
|
|
42271
|
+
customer_key?: string | undefined
|
|
42246
42272
|
}
|
|
42247
42273
|
| {
|
|
42248
42274
|
/** ID of the event. */
|
|
@@ -42450,6 +42476,8 @@ export type Routes = {
|
|
|
42450
42476
|
[x: string]: string | boolean
|
|
42451
42477
|
}
|
|
42452
42478
|
| undefined
|
|
42479
|
+
/** The customer key associated with this connect webview, if any. */
|
|
42480
|
+
customer_key?: string | undefined
|
|
42453
42481
|
}
|
|
42454
42482
|
| {
|
|
42455
42483
|
/** ID of the event. */
|
|
@@ -44664,6 +44692,8 @@ export type Routes = {
|
|
|
44664
44692
|
event_type: 'connected_account.connected'
|
|
44665
44693
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
44666
44694
|
connect_webview_id: string
|
|
44695
|
+
/** The customer key associated with this connected account, if any. */
|
|
44696
|
+
customer_key?: string | undefined
|
|
44667
44697
|
}
|
|
44668
44698
|
| {
|
|
44669
44699
|
/** ID of the event. */
|
|
@@ -44871,6 +44901,8 @@ export type Routes = {
|
|
|
44871
44901
|
[x: string]: string | boolean
|
|
44872
44902
|
}
|
|
44873
44903
|
| undefined
|
|
44904
|
+
/** The customer key associated with this connect webview, if any. */
|
|
44905
|
+
customer_key?: string | undefined
|
|
44874
44906
|
}
|
|
44875
44907
|
| {
|
|
44876
44908
|
/** ID of the event. */
|
|
@@ -67355,6 +67387,8 @@ export type Routes = {
|
|
|
67355
67387
|
event_type: 'connected_account.connected'
|
|
67356
67388
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
67357
67389
|
connect_webview_id: string
|
|
67390
|
+
/** The customer key associated with this connected account, if any. */
|
|
67391
|
+
customer_key?: string | undefined
|
|
67358
67392
|
}
|
|
67359
67393
|
| {
|
|
67360
67394
|
/** ID of the event. */
|
|
@@ -67562,6 +67596,8 @@ export type Routes = {
|
|
|
67562
67596
|
[x: string]: string | boolean
|
|
67563
67597
|
}
|
|
67564
67598
|
| undefined
|
|
67599
|
+
/** The customer key associated with this connect webview, if any. */
|
|
67600
|
+
customer_key?: string | undefined
|
|
67565
67601
|
}
|
|
67566
67602
|
| {
|
|
67567
67603
|
/** ID of the event. */
|
|
@@ -99885,6 +99921,8 @@ export type Routes = {
|
|
|
99885
99921
|
event_type: 'connected_account.connected'
|
|
99886
99922
|
/** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
|
|
99887
99923
|
connect_webview_id: string
|
|
99924
|
+
/** The customer key associated with this connected account, if any. */
|
|
99925
|
+
customer_key?: string | undefined
|
|
99888
99926
|
}
|
|
99889
99927
|
| {
|
|
99890
99928
|
/** ID of the event. */
|
|
@@ -100092,6 +100130,8 @@ export type Routes = {
|
|
|
100092
100130
|
[x: string]: string | boolean
|
|
100093
100131
|
}
|
|
100094
100132
|
| undefined
|
|
100133
|
+
/** The customer key associated with this connect webview, if any. */
|
|
100134
|
+
customer_key?: string | undefined
|
|
100095
100135
|
}
|
|
100096
100136
|
| {
|
|
100097
100137
|
/** ID of the event. */
|