@seamapi/types 1.38.1 → 1.39.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 +65 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +100 -2
- package/lib/seam/connect/openapi.d.ts +86 -1
- package/lib/seam/connect/openapi.js +65 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +14 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +65 -2
- package/src/lib/seam/connect/route-types.ts +14 -1
package/dist/connect.d.cts
CHANGED
|
@@ -4768,7 +4768,7 @@ declare const _default: {
|
|
|
4768
4768
|
'application/json': {
|
|
4769
4769
|
schema: {
|
|
4770
4770
|
properties: {
|
|
4771
|
-
|
|
4771
|
+
acs_credential_id: {
|
|
4772
4772
|
format: string;
|
|
4773
4773
|
type: string;
|
|
4774
4774
|
};
|
|
@@ -6030,6 +6030,11 @@ declare const _default: {
|
|
|
6030
6030
|
};
|
|
6031
6031
|
type: string;
|
|
6032
6032
|
};
|
|
6033
|
+
expires_at: {
|
|
6034
|
+
format: string;
|
|
6035
|
+
nullable: boolean;
|
|
6036
|
+
type: string;
|
|
6037
|
+
};
|
|
6033
6038
|
user_identifier_key: {
|
|
6034
6039
|
minLength: number;
|
|
6035
6040
|
type: string;
|
|
@@ -6092,6 +6097,11 @@ declare const _default: {
|
|
|
6092
6097
|
};
|
|
6093
6098
|
type: string;
|
|
6094
6099
|
};
|
|
6100
|
+
expires_at: {
|
|
6101
|
+
format: string;
|
|
6102
|
+
nullable: boolean;
|
|
6103
|
+
type: string;
|
|
6104
|
+
};
|
|
6095
6105
|
user_identifier_key: {
|
|
6096
6106
|
minLength: number;
|
|
6097
6107
|
type: string;
|
|
@@ -6289,6 +6299,11 @@ declare const _default: {
|
|
|
6289
6299
|
};
|
|
6290
6300
|
type: string;
|
|
6291
6301
|
};
|
|
6302
|
+
expires_at: {
|
|
6303
|
+
format: string;
|
|
6304
|
+
nullable: boolean;
|
|
6305
|
+
type: string;
|
|
6306
|
+
};
|
|
6292
6307
|
user_identifier_key: {
|
|
6293
6308
|
minLength: number;
|
|
6294
6309
|
type: string;
|
|
@@ -6351,6 +6366,11 @@ declare const _default: {
|
|
|
6351
6366
|
};
|
|
6352
6367
|
type: string;
|
|
6353
6368
|
};
|
|
6369
|
+
expires_at: {
|
|
6370
|
+
format: string;
|
|
6371
|
+
nullable: boolean;
|
|
6372
|
+
type: string;
|
|
6373
|
+
};
|
|
6354
6374
|
user_identifier_key: {
|
|
6355
6375
|
minLength: number;
|
|
6356
6376
|
type: string;
|
|
@@ -6631,6 +6651,71 @@ declare const _default: {
|
|
|
6631
6651
|
'x-fern-sdk-return-value': string;
|
|
6632
6652
|
};
|
|
6633
6653
|
};
|
|
6654
|
+
'/client_sessions/revoke': {
|
|
6655
|
+
post: {
|
|
6656
|
+
operationId: string;
|
|
6657
|
+
requestBody: {
|
|
6658
|
+
content: {
|
|
6659
|
+
'application/json': {
|
|
6660
|
+
schema: {
|
|
6661
|
+
properties: {
|
|
6662
|
+
client_session_id: {
|
|
6663
|
+
format: string;
|
|
6664
|
+
type: string;
|
|
6665
|
+
};
|
|
6666
|
+
};
|
|
6667
|
+
required: string[];
|
|
6668
|
+
type: string;
|
|
6669
|
+
};
|
|
6670
|
+
};
|
|
6671
|
+
};
|
|
6672
|
+
};
|
|
6673
|
+
responses: {
|
|
6674
|
+
200: {
|
|
6675
|
+
content: {
|
|
6676
|
+
'application/json': {
|
|
6677
|
+
schema: {
|
|
6678
|
+
properties: {
|
|
6679
|
+
ok: {
|
|
6680
|
+
type: string;
|
|
6681
|
+
};
|
|
6682
|
+
};
|
|
6683
|
+
required: string[];
|
|
6684
|
+
type: string;
|
|
6685
|
+
};
|
|
6686
|
+
};
|
|
6687
|
+
};
|
|
6688
|
+
description: string;
|
|
6689
|
+
};
|
|
6690
|
+
400: {
|
|
6691
|
+
description: string;
|
|
6692
|
+
};
|
|
6693
|
+
401: {
|
|
6694
|
+
description: string;
|
|
6695
|
+
};
|
|
6696
|
+
};
|
|
6697
|
+
security: ({
|
|
6698
|
+
access_token: never[];
|
|
6699
|
+
seam_workspace: never[];
|
|
6700
|
+
seam_client_session_token?: never;
|
|
6701
|
+
client_session_token?: never;
|
|
6702
|
+
} | {
|
|
6703
|
+
seam_client_session_token: never[];
|
|
6704
|
+
access_token?: never;
|
|
6705
|
+
seam_workspace?: never;
|
|
6706
|
+
client_session_token?: never;
|
|
6707
|
+
} | {
|
|
6708
|
+
client_session_token: never[];
|
|
6709
|
+
access_token?: never;
|
|
6710
|
+
seam_workspace?: never;
|
|
6711
|
+
seam_client_session_token?: never;
|
|
6712
|
+
})[];
|
|
6713
|
+
summary: string;
|
|
6714
|
+
tags: string[];
|
|
6715
|
+
'x-fern-sdk-group-name': string[];
|
|
6716
|
+
'x-fern-sdk-method-name': string;
|
|
6717
|
+
};
|
|
6718
|
+
};
|
|
6634
6719
|
'/connect_webviews/create': {
|
|
6635
6720
|
post: {
|
|
6636
6721
|
operationId: string;
|
|
@@ -12921,7 +13006,7 @@ interface Routes {
|
|
|
12921
13006
|
queryParams: {};
|
|
12922
13007
|
jsonBody: {};
|
|
12923
13008
|
commonParams: {
|
|
12924
|
-
|
|
13009
|
+
acs_credential_id: string;
|
|
12925
13010
|
};
|
|
12926
13011
|
formData: {};
|
|
12927
13012
|
jsonResponse: {
|
|
@@ -13238,6 +13323,7 @@ interface Routes {
|
|
|
13238
13323
|
user_identifier_key?: string | undefined;
|
|
13239
13324
|
connect_webview_ids?: string[] | undefined;
|
|
13240
13325
|
connected_account_ids?: string[] | undefined;
|
|
13326
|
+
expires_at?: Date | undefined;
|
|
13241
13327
|
};
|
|
13242
13328
|
commonParams: {};
|
|
13243
13329
|
formData: {};
|
|
@@ -13293,6 +13379,7 @@ interface Routes {
|
|
|
13293
13379
|
user_identifier_key?: string | undefined;
|
|
13294
13380
|
connect_webview_ids?: string[] | undefined;
|
|
13295
13381
|
connected_account_ids?: string[] | undefined;
|
|
13382
|
+
expires_at?: Date | undefined;
|
|
13296
13383
|
};
|
|
13297
13384
|
commonParams: {};
|
|
13298
13385
|
formData: {};
|
|
@@ -13355,6 +13442,17 @@ interface Routes {
|
|
|
13355
13442
|
}>;
|
|
13356
13443
|
};
|
|
13357
13444
|
};
|
|
13445
|
+
'/client_sessions/revoke': {
|
|
13446
|
+
route: '/client_sessions/revoke';
|
|
13447
|
+
method: 'POST';
|
|
13448
|
+
queryParams: {};
|
|
13449
|
+
jsonBody: {};
|
|
13450
|
+
commonParams: {
|
|
13451
|
+
client_session_id: string;
|
|
13452
|
+
};
|
|
13453
|
+
formData: {};
|
|
13454
|
+
jsonResponse: {};
|
|
13455
|
+
};
|
|
13358
13456
|
'/connect_webviews/create': {
|
|
13359
13457
|
route: '/connect_webviews/create';
|
|
13360
13458
|
method: 'POST';
|
|
@@ -4717,7 +4717,7 @@ declare const _default: {
|
|
|
4717
4717
|
'application/json': {
|
|
4718
4718
|
schema: {
|
|
4719
4719
|
properties: {
|
|
4720
|
-
|
|
4720
|
+
acs_credential_id: {
|
|
4721
4721
|
format: string;
|
|
4722
4722
|
type: string;
|
|
4723
4723
|
};
|
|
@@ -5979,6 +5979,11 @@ declare const _default: {
|
|
|
5979
5979
|
};
|
|
5980
5980
|
type: string;
|
|
5981
5981
|
};
|
|
5982
|
+
expires_at: {
|
|
5983
|
+
format: string;
|
|
5984
|
+
nullable: boolean;
|
|
5985
|
+
type: string;
|
|
5986
|
+
};
|
|
5982
5987
|
user_identifier_key: {
|
|
5983
5988
|
minLength: number;
|
|
5984
5989
|
type: string;
|
|
@@ -6041,6 +6046,11 @@ declare const _default: {
|
|
|
6041
6046
|
};
|
|
6042
6047
|
type: string;
|
|
6043
6048
|
};
|
|
6049
|
+
expires_at: {
|
|
6050
|
+
format: string;
|
|
6051
|
+
nullable: boolean;
|
|
6052
|
+
type: string;
|
|
6053
|
+
};
|
|
6044
6054
|
user_identifier_key: {
|
|
6045
6055
|
minLength: number;
|
|
6046
6056
|
type: string;
|
|
@@ -6238,6 +6248,11 @@ declare const _default: {
|
|
|
6238
6248
|
};
|
|
6239
6249
|
type: string;
|
|
6240
6250
|
};
|
|
6251
|
+
expires_at: {
|
|
6252
|
+
format: string;
|
|
6253
|
+
nullable: boolean;
|
|
6254
|
+
type: string;
|
|
6255
|
+
};
|
|
6241
6256
|
user_identifier_key: {
|
|
6242
6257
|
minLength: number;
|
|
6243
6258
|
type: string;
|
|
@@ -6300,6 +6315,11 @@ declare const _default: {
|
|
|
6300
6315
|
};
|
|
6301
6316
|
type: string;
|
|
6302
6317
|
};
|
|
6318
|
+
expires_at: {
|
|
6319
|
+
format: string;
|
|
6320
|
+
nullable: boolean;
|
|
6321
|
+
type: string;
|
|
6322
|
+
};
|
|
6303
6323
|
user_identifier_key: {
|
|
6304
6324
|
minLength: number;
|
|
6305
6325
|
type: string;
|
|
@@ -6580,6 +6600,71 @@ declare const _default: {
|
|
|
6580
6600
|
'x-fern-sdk-return-value': string;
|
|
6581
6601
|
};
|
|
6582
6602
|
};
|
|
6603
|
+
'/client_sessions/revoke': {
|
|
6604
|
+
post: {
|
|
6605
|
+
operationId: string;
|
|
6606
|
+
requestBody: {
|
|
6607
|
+
content: {
|
|
6608
|
+
'application/json': {
|
|
6609
|
+
schema: {
|
|
6610
|
+
properties: {
|
|
6611
|
+
client_session_id: {
|
|
6612
|
+
format: string;
|
|
6613
|
+
type: string;
|
|
6614
|
+
};
|
|
6615
|
+
};
|
|
6616
|
+
required: string[];
|
|
6617
|
+
type: string;
|
|
6618
|
+
};
|
|
6619
|
+
};
|
|
6620
|
+
};
|
|
6621
|
+
};
|
|
6622
|
+
responses: {
|
|
6623
|
+
200: {
|
|
6624
|
+
content: {
|
|
6625
|
+
'application/json': {
|
|
6626
|
+
schema: {
|
|
6627
|
+
properties: {
|
|
6628
|
+
ok: {
|
|
6629
|
+
type: string;
|
|
6630
|
+
};
|
|
6631
|
+
};
|
|
6632
|
+
required: string[];
|
|
6633
|
+
type: string;
|
|
6634
|
+
};
|
|
6635
|
+
};
|
|
6636
|
+
};
|
|
6637
|
+
description: string;
|
|
6638
|
+
};
|
|
6639
|
+
400: {
|
|
6640
|
+
description: string;
|
|
6641
|
+
};
|
|
6642
|
+
401: {
|
|
6643
|
+
description: string;
|
|
6644
|
+
};
|
|
6645
|
+
};
|
|
6646
|
+
security: ({
|
|
6647
|
+
access_token: never[];
|
|
6648
|
+
seam_workspace: never[];
|
|
6649
|
+
seam_client_session_token?: never;
|
|
6650
|
+
client_session_token?: never;
|
|
6651
|
+
} | {
|
|
6652
|
+
seam_client_session_token: never[];
|
|
6653
|
+
access_token?: never;
|
|
6654
|
+
seam_workspace?: never;
|
|
6655
|
+
client_session_token?: never;
|
|
6656
|
+
} | {
|
|
6657
|
+
client_session_token: never[];
|
|
6658
|
+
access_token?: never;
|
|
6659
|
+
seam_workspace?: never;
|
|
6660
|
+
seam_client_session_token?: never;
|
|
6661
|
+
})[];
|
|
6662
|
+
summary: string;
|
|
6663
|
+
tags: string[];
|
|
6664
|
+
'x-fern-sdk-group-name': string[];
|
|
6665
|
+
'x-fern-sdk-method-name': string;
|
|
6666
|
+
};
|
|
6667
|
+
};
|
|
6583
6668
|
'/connect_webviews/create': {
|
|
6584
6669
|
post: {
|
|
6585
6670
|
operationId: string;
|
|
@@ -3203,9 +3203,9 @@ export default {
|
|
|
3203
3203
|
'application/json': {
|
|
3204
3204
|
schema: {
|
|
3205
3205
|
properties: {
|
|
3206
|
-
|
|
3206
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3207
3207
|
},
|
|
3208
|
-
required: ['
|
|
3208
|
+
required: ['acs_credential_id'],
|
|
3209
3209
|
type: 'object',
|
|
3210
3210
|
},
|
|
3211
3211
|
},
|
|
@@ -4020,6 +4020,11 @@ export default {
|
|
|
4020
4020
|
items: { type: 'string' },
|
|
4021
4021
|
type: 'array',
|
|
4022
4022
|
},
|
|
4023
|
+
expires_at: {
|
|
4024
|
+
format: 'date-time',
|
|
4025
|
+
nullable: true,
|
|
4026
|
+
type: 'string',
|
|
4027
|
+
},
|
|
4023
4028
|
user_identifier_key: { minLength: 1, type: 'string' },
|
|
4024
4029
|
},
|
|
4025
4030
|
type: 'object',
|
|
@@ -4069,6 +4074,11 @@ export default {
|
|
|
4069
4074
|
items: { type: 'string' },
|
|
4070
4075
|
type: 'array',
|
|
4071
4076
|
},
|
|
4077
|
+
expires_at: {
|
|
4078
|
+
format: 'date-time',
|
|
4079
|
+
nullable: true,
|
|
4080
|
+
type: 'string',
|
|
4081
|
+
},
|
|
4072
4082
|
user_identifier_key: { minLength: 1, type: 'string' },
|
|
4073
4083
|
},
|
|
4074
4084
|
type: 'object',
|
|
@@ -4210,6 +4220,11 @@ export default {
|
|
|
4210
4220
|
items: { type: 'string' },
|
|
4211
4221
|
type: 'array',
|
|
4212
4222
|
},
|
|
4223
|
+
expires_at: {
|
|
4224
|
+
format: 'date-time',
|
|
4225
|
+
nullable: true,
|
|
4226
|
+
type: 'string',
|
|
4227
|
+
},
|
|
4213
4228
|
user_identifier_key: { minLength: 1, type: 'string' },
|
|
4214
4229
|
},
|
|
4215
4230
|
type: 'object',
|
|
@@ -4259,6 +4274,11 @@ export default {
|
|
|
4259
4274
|
items: { type: 'string' },
|
|
4260
4275
|
type: 'array',
|
|
4261
4276
|
},
|
|
4277
|
+
expires_at: {
|
|
4278
|
+
format: 'date-time',
|
|
4279
|
+
nullable: true,
|
|
4280
|
+
type: 'string',
|
|
4281
|
+
},
|
|
4262
4282
|
user_identifier_key: { minLength: 1, type: 'string' },
|
|
4263
4283
|
},
|
|
4264
4284
|
type: 'object',
|
|
@@ -4453,6 +4473,49 @@ export default {
|
|
|
4453
4473
|
'x-fern-sdk-return-value': 'client_sessions',
|
|
4454
4474
|
},
|
|
4455
4475
|
},
|
|
4476
|
+
'/client_sessions/revoke': {
|
|
4477
|
+
post: {
|
|
4478
|
+
operationId: 'clientSessionsRevokePost',
|
|
4479
|
+
requestBody: {
|
|
4480
|
+
content: {
|
|
4481
|
+
'application/json': {
|
|
4482
|
+
schema: {
|
|
4483
|
+
properties: {
|
|
4484
|
+
client_session_id: { format: 'uuid', type: 'string' },
|
|
4485
|
+
},
|
|
4486
|
+
required: ['client_session_id'],
|
|
4487
|
+
type: 'object',
|
|
4488
|
+
},
|
|
4489
|
+
},
|
|
4490
|
+
},
|
|
4491
|
+
},
|
|
4492
|
+
responses: {
|
|
4493
|
+
200: {
|
|
4494
|
+
content: {
|
|
4495
|
+
'application/json': {
|
|
4496
|
+
schema: {
|
|
4497
|
+
properties: { ok: { type: 'boolean' } },
|
|
4498
|
+
required: ['ok'],
|
|
4499
|
+
type: 'object',
|
|
4500
|
+
},
|
|
4501
|
+
},
|
|
4502
|
+
},
|
|
4503
|
+
description: 'OK',
|
|
4504
|
+
},
|
|
4505
|
+
400: { description: 'Bad Request' },
|
|
4506
|
+
401: { description: 'Unauthorized' },
|
|
4507
|
+
},
|
|
4508
|
+
security: [
|
|
4509
|
+
{ access_token: [], seam_workspace: [] },
|
|
4510
|
+
{ seam_client_session_token: [] },
|
|
4511
|
+
{ client_session_token: [] },
|
|
4512
|
+
],
|
|
4513
|
+
summary: '/client_sessions/revoke',
|
|
4514
|
+
tags: ['/client_sessions'],
|
|
4515
|
+
'x-fern-sdk-group-name': ['client_sessions'],
|
|
4516
|
+
'x-fern-sdk-method-name': 'revoke',
|
|
4517
|
+
},
|
|
4518
|
+
},
|
|
4456
4519
|
'/connect_webviews/create': {
|
|
4457
4520
|
post: {
|
|
4458
4521
|
operationId: 'connectWebviewsCreatePost',
|