@seamapi/types 1.23.2 → 1.24.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 +98 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +145 -0
- package/lib/seam/connect/openapi.d.ts +124 -0
- package/lib/seam/connect/openapi.js +98 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +21 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +98 -0
- package/src/lib/seam/connect/route-types.ts +21 -0
package/dist/connect.d.cts
CHANGED
|
@@ -6255,6 +6255,130 @@ declare const _default: {
|
|
|
6255
6255
|
'x-fern-sdk-return-value': string;
|
|
6256
6256
|
};
|
|
6257
6257
|
};
|
|
6258
|
+
'/client_sessions/get_or_create': {
|
|
6259
|
+
post: {
|
|
6260
|
+
operationId: string;
|
|
6261
|
+
requestBody: {
|
|
6262
|
+
content: {
|
|
6263
|
+
'application/json': {
|
|
6264
|
+
schema: {
|
|
6265
|
+
properties: {
|
|
6266
|
+
connect_webview_ids: {
|
|
6267
|
+
items: {
|
|
6268
|
+
type: string;
|
|
6269
|
+
};
|
|
6270
|
+
type: string;
|
|
6271
|
+
};
|
|
6272
|
+
connected_account_ids: {
|
|
6273
|
+
items: {
|
|
6274
|
+
type: string;
|
|
6275
|
+
};
|
|
6276
|
+
type: string;
|
|
6277
|
+
};
|
|
6278
|
+
user_identifier_key: {
|
|
6279
|
+
minLength: number;
|
|
6280
|
+
type: string;
|
|
6281
|
+
};
|
|
6282
|
+
};
|
|
6283
|
+
type: string;
|
|
6284
|
+
};
|
|
6285
|
+
};
|
|
6286
|
+
};
|
|
6287
|
+
};
|
|
6288
|
+
responses: {
|
|
6289
|
+
200: {
|
|
6290
|
+
content: {
|
|
6291
|
+
'application/json': {
|
|
6292
|
+
schema: {
|
|
6293
|
+
properties: {
|
|
6294
|
+
client_session: {
|
|
6295
|
+
$ref: string;
|
|
6296
|
+
};
|
|
6297
|
+
ok: {
|
|
6298
|
+
type: string;
|
|
6299
|
+
};
|
|
6300
|
+
};
|
|
6301
|
+
required: string[];
|
|
6302
|
+
type: string;
|
|
6303
|
+
};
|
|
6304
|
+
};
|
|
6305
|
+
};
|
|
6306
|
+
description: string;
|
|
6307
|
+
};
|
|
6308
|
+
400: {
|
|
6309
|
+
description: string;
|
|
6310
|
+
};
|
|
6311
|
+
401: {
|
|
6312
|
+
description: string;
|
|
6313
|
+
};
|
|
6314
|
+
};
|
|
6315
|
+
summary: string;
|
|
6316
|
+
tags: string[];
|
|
6317
|
+
'x-fern-sdk-group-name': string[];
|
|
6318
|
+
'x-fern-sdk-method-name': string;
|
|
6319
|
+
'x-fern-sdk-return-value': string;
|
|
6320
|
+
};
|
|
6321
|
+
put: {
|
|
6322
|
+
operationId: string;
|
|
6323
|
+
requestBody: {
|
|
6324
|
+
content: {
|
|
6325
|
+
'application/json': {
|
|
6326
|
+
schema: {
|
|
6327
|
+
properties: {
|
|
6328
|
+
connect_webview_ids: {
|
|
6329
|
+
items: {
|
|
6330
|
+
type: string;
|
|
6331
|
+
};
|
|
6332
|
+
type: string;
|
|
6333
|
+
};
|
|
6334
|
+
connected_account_ids: {
|
|
6335
|
+
items: {
|
|
6336
|
+
type: string;
|
|
6337
|
+
};
|
|
6338
|
+
type: string;
|
|
6339
|
+
};
|
|
6340
|
+
user_identifier_key: {
|
|
6341
|
+
minLength: number;
|
|
6342
|
+
type: string;
|
|
6343
|
+
};
|
|
6344
|
+
};
|
|
6345
|
+
type: string;
|
|
6346
|
+
};
|
|
6347
|
+
};
|
|
6348
|
+
};
|
|
6349
|
+
};
|
|
6350
|
+
responses: {
|
|
6351
|
+
200: {
|
|
6352
|
+
content: {
|
|
6353
|
+
'application/json': {
|
|
6354
|
+
schema: {
|
|
6355
|
+
properties: {
|
|
6356
|
+
client_session: {
|
|
6357
|
+
$ref: string;
|
|
6358
|
+
};
|
|
6359
|
+
ok: {
|
|
6360
|
+
type: string;
|
|
6361
|
+
};
|
|
6362
|
+
};
|
|
6363
|
+
required: string[];
|
|
6364
|
+
type: string;
|
|
6365
|
+
};
|
|
6366
|
+
};
|
|
6367
|
+
};
|
|
6368
|
+
description: string;
|
|
6369
|
+
};
|
|
6370
|
+
400: {
|
|
6371
|
+
description: string;
|
|
6372
|
+
};
|
|
6373
|
+
401: {
|
|
6374
|
+
description: string;
|
|
6375
|
+
};
|
|
6376
|
+
};
|
|
6377
|
+
summary: string;
|
|
6378
|
+
tags: string[];
|
|
6379
|
+
'x-fern-ignore': boolean;
|
|
6380
|
+
};
|
|
6381
|
+
};
|
|
6258
6382
|
'/client_sessions/grant_access': {
|
|
6259
6383
|
patch: {
|
|
6260
6384
|
operationId: string;
|
|
@@ -12378,6 +12502,27 @@ interface Routes {
|
|
|
12378
12502
|
};
|
|
12379
12503
|
};
|
|
12380
12504
|
};
|
|
12505
|
+
'/client_sessions/get_or_create': {
|
|
12506
|
+
route: '/client_sessions/get_or_create';
|
|
12507
|
+
method: 'POST' | 'PUT';
|
|
12508
|
+
queryParams: {};
|
|
12509
|
+
jsonBody: {
|
|
12510
|
+
user_identifier_key?: string | undefined;
|
|
12511
|
+
connect_webview_ids?: string[] | undefined;
|
|
12512
|
+
connected_account_ids?: string[] | undefined;
|
|
12513
|
+
};
|
|
12514
|
+
commonParams: {};
|
|
12515
|
+
formData: {};
|
|
12516
|
+
jsonResponse: {
|
|
12517
|
+
client_session: {
|
|
12518
|
+
client_session_id: string;
|
|
12519
|
+
user_identifier_key: string | null;
|
|
12520
|
+
created_at: string;
|
|
12521
|
+
token: string;
|
|
12522
|
+
workspace_id: string;
|
|
12523
|
+
};
|
|
12524
|
+
};
|
|
12525
|
+
};
|
|
12381
12526
|
'/client_sessions/grant_access': {
|
|
12382
12527
|
route: '/client_sessions/grant_access';
|
|
12383
12528
|
method: 'PATCH' | 'POST';
|
|
@@ -6204,6 +6204,130 @@ declare const _default: {
|
|
|
6204
6204
|
'x-fern-sdk-return-value': string;
|
|
6205
6205
|
};
|
|
6206
6206
|
};
|
|
6207
|
+
'/client_sessions/get_or_create': {
|
|
6208
|
+
post: {
|
|
6209
|
+
operationId: string;
|
|
6210
|
+
requestBody: {
|
|
6211
|
+
content: {
|
|
6212
|
+
'application/json': {
|
|
6213
|
+
schema: {
|
|
6214
|
+
properties: {
|
|
6215
|
+
connect_webview_ids: {
|
|
6216
|
+
items: {
|
|
6217
|
+
type: string;
|
|
6218
|
+
};
|
|
6219
|
+
type: string;
|
|
6220
|
+
};
|
|
6221
|
+
connected_account_ids: {
|
|
6222
|
+
items: {
|
|
6223
|
+
type: string;
|
|
6224
|
+
};
|
|
6225
|
+
type: string;
|
|
6226
|
+
};
|
|
6227
|
+
user_identifier_key: {
|
|
6228
|
+
minLength: number;
|
|
6229
|
+
type: string;
|
|
6230
|
+
};
|
|
6231
|
+
};
|
|
6232
|
+
type: string;
|
|
6233
|
+
};
|
|
6234
|
+
};
|
|
6235
|
+
};
|
|
6236
|
+
};
|
|
6237
|
+
responses: {
|
|
6238
|
+
200: {
|
|
6239
|
+
content: {
|
|
6240
|
+
'application/json': {
|
|
6241
|
+
schema: {
|
|
6242
|
+
properties: {
|
|
6243
|
+
client_session: {
|
|
6244
|
+
$ref: string;
|
|
6245
|
+
};
|
|
6246
|
+
ok: {
|
|
6247
|
+
type: string;
|
|
6248
|
+
};
|
|
6249
|
+
};
|
|
6250
|
+
required: string[];
|
|
6251
|
+
type: string;
|
|
6252
|
+
};
|
|
6253
|
+
};
|
|
6254
|
+
};
|
|
6255
|
+
description: string;
|
|
6256
|
+
};
|
|
6257
|
+
400: {
|
|
6258
|
+
description: string;
|
|
6259
|
+
};
|
|
6260
|
+
401: {
|
|
6261
|
+
description: string;
|
|
6262
|
+
};
|
|
6263
|
+
};
|
|
6264
|
+
summary: string;
|
|
6265
|
+
tags: string[];
|
|
6266
|
+
'x-fern-sdk-group-name': string[];
|
|
6267
|
+
'x-fern-sdk-method-name': string;
|
|
6268
|
+
'x-fern-sdk-return-value': string;
|
|
6269
|
+
};
|
|
6270
|
+
put: {
|
|
6271
|
+
operationId: string;
|
|
6272
|
+
requestBody: {
|
|
6273
|
+
content: {
|
|
6274
|
+
'application/json': {
|
|
6275
|
+
schema: {
|
|
6276
|
+
properties: {
|
|
6277
|
+
connect_webview_ids: {
|
|
6278
|
+
items: {
|
|
6279
|
+
type: string;
|
|
6280
|
+
};
|
|
6281
|
+
type: string;
|
|
6282
|
+
};
|
|
6283
|
+
connected_account_ids: {
|
|
6284
|
+
items: {
|
|
6285
|
+
type: string;
|
|
6286
|
+
};
|
|
6287
|
+
type: string;
|
|
6288
|
+
};
|
|
6289
|
+
user_identifier_key: {
|
|
6290
|
+
minLength: number;
|
|
6291
|
+
type: string;
|
|
6292
|
+
};
|
|
6293
|
+
};
|
|
6294
|
+
type: string;
|
|
6295
|
+
};
|
|
6296
|
+
};
|
|
6297
|
+
};
|
|
6298
|
+
};
|
|
6299
|
+
responses: {
|
|
6300
|
+
200: {
|
|
6301
|
+
content: {
|
|
6302
|
+
'application/json': {
|
|
6303
|
+
schema: {
|
|
6304
|
+
properties: {
|
|
6305
|
+
client_session: {
|
|
6306
|
+
$ref: string;
|
|
6307
|
+
};
|
|
6308
|
+
ok: {
|
|
6309
|
+
type: string;
|
|
6310
|
+
};
|
|
6311
|
+
};
|
|
6312
|
+
required: string[];
|
|
6313
|
+
type: string;
|
|
6314
|
+
};
|
|
6315
|
+
};
|
|
6316
|
+
};
|
|
6317
|
+
description: string;
|
|
6318
|
+
};
|
|
6319
|
+
400: {
|
|
6320
|
+
description: string;
|
|
6321
|
+
};
|
|
6322
|
+
401: {
|
|
6323
|
+
description: string;
|
|
6324
|
+
};
|
|
6325
|
+
};
|
|
6326
|
+
summary: string;
|
|
6327
|
+
tags: string[];
|
|
6328
|
+
'x-fern-ignore': boolean;
|
|
6329
|
+
};
|
|
6330
|
+
};
|
|
6207
6331
|
'/client_sessions/grant_access': {
|
|
6208
6332
|
patch: {
|
|
6209
6333
|
operationId: string;
|
|
@@ -4226,6 +4226,104 @@ export default {
|
|
|
4226
4226
|
'x-fern-sdk-return-value': 'client_session',
|
|
4227
4227
|
},
|
|
4228
4228
|
},
|
|
4229
|
+
'/client_sessions/get_or_create': {
|
|
4230
|
+
post: {
|
|
4231
|
+
operationId: 'clientSessionsGetOrCreatePost',
|
|
4232
|
+
requestBody: {
|
|
4233
|
+
content: {
|
|
4234
|
+
'application/json': {
|
|
4235
|
+
schema: {
|
|
4236
|
+
properties: {
|
|
4237
|
+
connect_webview_ids: {
|
|
4238
|
+
items: { type: 'string' },
|
|
4239
|
+
type: 'array',
|
|
4240
|
+
},
|
|
4241
|
+
connected_account_ids: {
|
|
4242
|
+
items: { type: 'string' },
|
|
4243
|
+
type: 'array',
|
|
4244
|
+
},
|
|
4245
|
+
user_identifier_key: { minLength: 1, type: 'string' },
|
|
4246
|
+
},
|
|
4247
|
+
type: 'object',
|
|
4248
|
+
},
|
|
4249
|
+
},
|
|
4250
|
+
},
|
|
4251
|
+
},
|
|
4252
|
+
responses: {
|
|
4253
|
+
200: {
|
|
4254
|
+
content: {
|
|
4255
|
+
'application/json': {
|
|
4256
|
+
schema: {
|
|
4257
|
+
properties: {
|
|
4258
|
+
client_session: {
|
|
4259
|
+
$ref: '#/components/schemas/client_session',
|
|
4260
|
+
},
|
|
4261
|
+
ok: { type: 'boolean' },
|
|
4262
|
+
},
|
|
4263
|
+
required: ['client_session', 'ok'],
|
|
4264
|
+
type: 'object',
|
|
4265
|
+
},
|
|
4266
|
+
},
|
|
4267
|
+
},
|
|
4268
|
+
description: 'OK',
|
|
4269
|
+
},
|
|
4270
|
+
400: { description: 'Bad Request' },
|
|
4271
|
+
401: { description: 'Unauthorized' },
|
|
4272
|
+
},
|
|
4273
|
+
summary: '/client_sessions/get_or_create',
|
|
4274
|
+
tags: ['/client_sessions'],
|
|
4275
|
+
'x-fern-sdk-group-name': ['client_sessions'],
|
|
4276
|
+
'x-fern-sdk-method-name': 'get_or_create',
|
|
4277
|
+
'x-fern-sdk-return-value': 'client_session',
|
|
4278
|
+
},
|
|
4279
|
+
put: {
|
|
4280
|
+
operationId: 'clientSessionsGetOrCreatePut',
|
|
4281
|
+
requestBody: {
|
|
4282
|
+
content: {
|
|
4283
|
+
'application/json': {
|
|
4284
|
+
schema: {
|
|
4285
|
+
properties: {
|
|
4286
|
+
connect_webview_ids: {
|
|
4287
|
+
items: { type: 'string' },
|
|
4288
|
+
type: 'array',
|
|
4289
|
+
},
|
|
4290
|
+
connected_account_ids: {
|
|
4291
|
+
items: { type: 'string' },
|
|
4292
|
+
type: 'array',
|
|
4293
|
+
},
|
|
4294
|
+
user_identifier_key: { minLength: 1, type: 'string' },
|
|
4295
|
+
},
|
|
4296
|
+
type: 'object',
|
|
4297
|
+
},
|
|
4298
|
+
},
|
|
4299
|
+
},
|
|
4300
|
+
},
|
|
4301
|
+
responses: {
|
|
4302
|
+
200: {
|
|
4303
|
+
content: {
|
|
4304
|
+
'application/json': {
|
|
4305
|
+
schema: {
|
|
4306
|
+
properties: {
|
|
4307
|
+
client_session: {
|
|
4308
|
+
$ref: '#/components/schemas/client_session',
|
|
4309
|
+
},
|
|
4310
|
+
ok: { type: 'boolean' },
|
|
4311
|
+
},
|
|
4312
|
+
required: ['client_session', 'ok'],
|
|
4313
|
+
type: 'object',
|
|
4314
|
+
},
|
|
4315
|
+
},
|
|
4316
|
+
},
|
|
4317
|
+
description: 'OK',
|
|
4318
|
+
},
|
|
4319
|
+
400: { description: 'Bad Request' },
|
|
4320
|
+
401: { description: 'Unauthorized' },
|
|
4321
|
+
},
|
|
4322
|
+
summary: '/client_sessions/get_or_create',
|
|
4323
|
+
tags: ['/client_sessions'],
|
|
4324
|
+
'x-fern-ignore': true,
|
|
4325
|
+
},
|
|
4326
|
+
},
|
|
4229
4327
|
'/client_sessions/grant_access': {
|
|
4230
4328
|
patch: {
|
|
4231
4329
|
operationId: 'clientSessionsGrantAccessPatch',
|