@seamapi/types 1.800.0 → 1.801.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 +176 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +269 -0
- package/dist/index.cjs +176 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +226 -0
- package/lib/seam/connect/openapi.js +176 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +43 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +184 -0
- package/src/lib/seam/connect/route-types.ts +43 -0
|
@@ -61324,6 +61324,49 @@ export type Routes = {
|
|
|
61324
61324
|
};
|
|
61325
61325
|
maxDuration: undefined;
|
|
61326
61326
|
};
|
|
61327
|
+
'/seam/connect_webview/v1/get_current_pane': {
|
|
61328
|
+
route: '/seam/connect_webview/v1/get_current_pane';
|
|
61329
|
+
method: 'GET' | 'POST';
|
|
61330
|
+
queryParams: {};
|
|
61331
|
+
jsonBody: {};
|
|
61332
|
+
commonParams: {
|
|
61333
|
+
connect_webview_id: string;
|
|
61334
|
+
};
|
|
61335
|
+
formData: {};
|
|
61336
|
+
jsonResponse: {
|
|
61337
|
+
pane?: any;
|
|
61338
|
+
};
|
|
61339
|
+
maxDuration: undefined;
|
|
61340
|
+
};
|
|
61341
|
+
'/seam/connect_webview/v1/reset': {
|
|
61342
|
+
route: '/seam/connect_webview/v1/reset';
|
|
61343
|
+
method: 'POST';
|
|
61344
|
+
queryParams: {};
|
|
61345
|
+
jsonBody: {
|
|
61346
|
+
connect_webview_id: string;
|
|
61347
|
+
};
|
|
61348
|
+
commonParams: {};
|
|
61349
|
+
formData: {};
|
|
61350
|
+
jsonResponse: {
|
|
61351
|
+
ok: boolean;
|
|
61352
|
+
};
|
|
61353
|
+
maxDuration: undefined;
|
|
61354
|
+
};
|
|
61355
|
+
'/seam/connect_webview/v1/submit': {
|
|
61356
|
+
route: '/seam/connect_webview/v1/submit';
|
|
61357
|
+
method: 'POST';
|
|
61358
|
+
queryParams: {};
|
|
61359
|
+
jsonBody: {
|
|
61360
|
+
connect_webview_id: string;
|
|
61361
|
+
submit_args?: any;
|
|
61362
|
+
};
|
|
61363
|
+
commonParams: {};
|
|
61364
|
+
formData: {};
|
|
61365
|
+
jsonResponse: {
|
|
61366
|
+
ok: boolean;
|
|
61367
|
+
};
|
|
61368
|
+
maxDuration: undefined;
|
|
61369
|
+
};
|
|
61327
61370
|
'/seam/console/v1/get_resource_locator': {
|
|
61328
61371
|
route: '/seam/console/v1/get_resource_locator';
|
|
61329
61372
|
method: 'GET' | 'POST';
|
package/package.json
CHANGED
|
@@ -61305,6 +61305,190 @@ export default {
|
|
|
61305
61305
|
'x-undocumented': 'Seam Bridge Client only.',
|
|
61306
61306
|
},
|
|
61307
61307
|
},
|
|
61308
|
+
'/seam/connect_webview/v1/get_current_pane': {
|
|
61309
|
+
get: {
|
|
61310
|
+
description:
|
|
61311
|
+
'Returns the current render pane for a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews).',
|
|
61312
|
+
operationId: 'seamConnectWebviewV1GetCurrentPaneGet',
|
|
61313
|
+
parameters: [
|
|
61314
|
+
{
|
|
61315
|
+
in: 'query',
|
|
61316
|
+
name: 'connect_webview_id',
|
|
61317
|
+
required: true,
|
|
61318
|
+
schema: { format: 'uuid', type: 'string' },
|
|
61319
|
+
},
|
|
61320
|
+
],
|
|
61321
|
+
responses: {
|
|
61322
|
+
200: {
|
|
61323
|
+
content: {
|
|
61324
|
+
'application/json': {
|
|
61325
|
+
schema: {
|
|
61326
|
+
properties: {
|
|
61327
|
+
ok: { type: 'boolean' },
|
|
61328
|
+
pane: { $ref: '#/components/schemas/access_code' },
|
|
61329
|
+
},
|
|
61330
|
+
required: ['ok'],
|
|
61331
|
+
type: 'object',
|
|
61332
|
+
},
|
|
61333
|
+
},
|
|
61334
|
+
},
|
|
61335
|
+
description: 'OK',
|
|
61336
|
+
},
|
|
61337
|
+
400: { description: 'Bad Request' },
|
|
61338
|
+
401: { description: 'Unauthorized' },
|
|
61339
|
+
},
|
|
61340
|
+
security: [{ console_session_with_workspace: [] }],
|
|
61341
|
+
summary: '/seam/connect_webview/v1/get_current_pane',
|
|
61342
|
+
tags: [],
|
|
61343
|
+
'x-fern-sdk-group-name': ['seam', 'connect_webview', 'v1'],
|
|
61344
|
+
'x-fern-sdk-method-name': 'get_current_pane',
|
|
61345
|
+
'x-fern-sdk-return-value': 'pane',
|
|
61346
|
+
'x-response-key': 'pane',
|
|
61347
|
+
'x-title': 'Get Current Pane',
|
|
61348
|
+
'x-undocumented':
|
|
61349
|
+
'Internal endpoint for driving Connect Webview flows programmatically.',
|
|
61350
|
+
},
|
|
61351
|
+
post: {
|
|
61352
|
+
description:
|
|
61353
|
+
'Returns the current render pane for a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews).',
|
|
61354
|
+
operationId: 'seamConnectWebviewV1GetCurrentPanePost',
|
|
61355
|
+
requestBody: {
|
|
61356
|
+
content: {
|
|
61357
|
+
'application/json': {
|
|
61358
|
+
schema: {
|
|
61359
|
+
properties: {
|
|
61360
|
+
connect_webview_id: { format: 'uuid', type: 'string' },
|
|
61361
|
+
},
|
|
61362
|
+
required: ['connect_webview_id'],
|
|
61363
|
+
type: 'object',
|
|
61364
|
+
},
|
|
61365
|
+
},
|
|
61366
|
+
},
|
|
61367
|
+
},
|
|
61368
|
+
responses: {
|
|
61369
|
+
200: {
|
|
61370
|
+
content: {
|
|
61371
|
+
'application/json': {
|
|
61372
|
+
schema: {
|
|
61373
|
+
properties: {
|
|
61374
|
+
ok: { type: 'boolean' },
|
|
61375
|
+
pane: { $ref: '#/components/schemas/access_code' },
|
|
61376
|
+
},
|
|
61377
|
+
required: ['ok'],
|
|
61378
|
+
type: 'object',
|
|
61379
|
+
},
|
|
61380
|
+
},
|
|
61381
|
+
},
|
|
61382
|
+
description: 'OK',
|
|
61383
|
+
},
|
|
61384
|
+
400: { description: 'Bad Request' },
|
|
61385
|
+
401: { description: 'Unauthorized' },
|
|
61386
|
+
},
|
|
61387
|
+
security: [{ console_session_with_workspace: [] }],
|
|
61388
|
+
summary: '/seam/connect_webview/v1/get_current_pane',
|
|
61389
|
+
tags: [],
|
|
61390
|
+
'x-fern-sdk-group-name': ['seam', 'connect_webview', 'v1'],
|
|
61391
|
+
'x-fern-sdk-method-name': 'get_current_pane',
|
|
61392
|
+
'x-fern-sdk-return-value': 'pane',
|
|
61393
|
+
'x-response-key': 'pane',
|
|
61394
|
+
'x-title': 'Get Current Pane',
|
|
61395
|
+
'x-undocumented':
|
|
61396
|
+
'Internal endpoint for driving Connect Webview flows programmatically.',
|
|
61397
|
+
},
|
|
61398
|
+
},
|
|
61399
|
+
'/seam/connect_webview/v1/reset': {
|
|
61400
|
+
post: {
|
|
61401
|
+
description:
|
|
61402
|
+
'Resets an errored [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) so its login flow can be retried.',
|
|
61403
|
+
operationId: 'seamConnectWebviewV1ResetPost',
|
|
61404
|
+
requestBody: {
|
|
61405
|
+
content: {
|
|
61406
|
+
'application/json': {
|
|
61407
|
+
schema: {
|
|
61408
|
+
properties: {
|
|
61409
|
+
connect_webview_id: { format: 'uuid', type: 'string' },
|
|
61410
|
+
},
|
|
61411
|
+
required: ['connect_webview_id'],
|
|
61412
|
+
type: 'object',
|
|
61413
|
+
},
|
|
61414
|
+
},
|
|
61415
|
+
},
|
|
61416
|
+
},
|
|
61417
|
+
responses: {
|
|
61418
|
+
200: {
|
|
61419
|
+
content: {
|
|
61420
|
+
'application/json': {
|
|
61421
|
+
schema: {
|
|
61422
|
+
properties: { ok: { type: 'boolean' } },
|
|
61423
|
+
required: ['ok'],
|
|
61424
|
+
type: 'object',
|
|
61425
|
+
},
|
|
61426
|
+
},
|
|
61427
|
+
},
|
|
61428
|
+
description: 'OK',
|
|
61429
|
+
},
|
|
61430
|
+
400: { description: 'Bad Request' },
|
|
61431
|
+
401: { description: 'Unauthorized' },
|
|
61432
|
+
},
|
|
61433
|
+
security: [{ console_session_with_workspace: [] }],
|
|
61434
|
+
summary: '/seam/connect_webview/v1/reset',
|
|
61435
|
+
tags: [],
|
|
61436
|
+
'x-fern-sdk-group-name': ['seam', 'connect_webview', 'v1'],
|
|
61437
|
+
'x-fern-sdk-method-name': 'reset',
|
|
61438
|
+
'x-fern-sdk-return-value': 'ok',
|
|
61439
|
+
'x-response-key': 'ok',
|
|
61440
|
+
'x-title': 'Reset Connect Webview',
|
|
61441
|
+
'x-undocumented':
|
|
61442
|
+
'Internal endpoint for driving Connect Webview flows programmatically.',
|
|
61443
|
+
},
|
|
61444
|
+
},
|
|
61445
|
+
'/seam/connect_webview/v1/submit': {
|
|
61446
|
+
post: {
|
|
61447
|
+
description:
|
|
61448
|
+
'Submits pane arguments to advance a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) login state machine.',
|
|
61449
|
+
operationId: 'seamConnectWebviewV1SubmitPost',
|
|
61450
|
+
requestBody: {
|
|
61451
|
+
content: {
|
|
61452
|
+
'application/json': {
|
|
61453
|
+
schema: {
|
|
61454
|
+
properties: {
|
|
61455
|
+
connect_webview_id: { format: 'uuid', type: 'string' },
|
|
61456
|
+
submit_args: {},
|
|
61457
|
+
},
|
|
61458
|
+
required: ['connect_webview_id'],
|
|
61459
|
+
type: 'object',
|
|
61460
|
+
},
|
|
61461
|
+
},
|
|
61462
|
+
},
|
|
61463
|
+
},
|
|
61464
|
+
responses: {
|
|
61465
|
+
200: {
|
|
61466
|
+
content: {
|
|
61467
|
+
'application/json': {
|
|
61468
|
+
schema: {
|
|
61469
|
+
properties: { ok: { type: 'boolean' } },
|
|
61470
|
+
required: ['ok'],
|
|
61471
|
+
type: 'object',
|
|
61472
|
+
},
|
|
61473
|
+
},
|
|
61474
|
+
},
|
|
61475
|
+
description: 'OK',
|
|
61476
|
+
},
|
|
61477
|
+
400: { description: 'Bad Request' },
|
|
61478
|
+
401: { description: 'Unauthorized' },
|
|
61479
|
+
},
|
|
61480
|
+
security: [{ console_session_with_workspace: [] }],
|
|
61481
|
+
summary: '/seam/connect_webview/v1/submit',
|
|
61482
|
+
tags: [],
|
|
61483
|
+
'x-fern-sdk-group-name': ['seam', 'connect_webview', 'v1'],
|
|
61484
|
+
'x-fern-sdk-method-name': 'submit',
|
|
61485
|
+
'x-fern-sdk-return-value': 'ok',
|
|
61486
|
+
'x-response-key': 'ok',
|
|
61487
|
+
'x-title': 'Submit Connect Webview Pane',
|
|
61488
|
+
'x-undocumented':
|
|
61489
|
+
'Internal endpoint for driving Connect Webview flows programmatically.',
|
|
61490
|
+
},
|
|
61491
|
+
},
|
|
61308
61492
|
'/seam/console/v1/get_resource_locator': {
|
|
61309
61493
|
get: {
|
|
61310
61494
|
description:
|
|
@@ -73323,6 +73323,49 @@ export type Routes = {
|
|
|
73323
73323
|
}
|
|
73324
73324
|
maxDuration: undefined
|
|
73325
73325
|
}
|
|
73326
|
+
'/seam/connect_webview/v1/get_current_pane': {
|
|
73327
|
+
route: '/seam/connect_webview/v1/get_current_pane'
|
|
73328
|
+
method: 'GET' | 'POST'
|
|
73329
|
+
queryParams: {}
|
|
73330
|
+
jsonBody: {}
|
|
73331
|
+
commonParams: {
|
|
73332
|
+
connect_webview_id: string
|
|
73333
|
+
}
|
|
73334
|
+
formData: {}
|
|
73335
|
+
jsonResponse: {
|
|
73336
|
+
pane?: any
|
|
73337
|
+
}
|
|
73338
|
+
maxDuration: undefined
|
|
73339
|
+
}
|
|
73340
|
+
'/seam/connect_webview/v1/reset': {
|
|
73341
|
+
route: '/seam/connect_webview/v1/reset'
|
|
73342
|
+
method: 'POST'
|
|
73343
|
+
queryParams: {}
|
|
73344
|
+
jsonBody: {
|
|
73345
|
+
connect_webview_id: string
|
|
73346
|
+
}
|
|
73347
|
+
commonParams: {}
|
|
73348
|
+
formData: {}
|
|
73349
|
+
jsonResponse: {
|
|
73350
|
+
ok: boolean
|
|
73351
|
+
}
|
|
73352
|
+
maxDuration: undefined
|
|
73353
|
+
}
|
|
73354
|
+
'/seam/connect_webview/v1/submit': {
|
|
73355
|
+
route: '/seam/connect_webview/v1/submit'
|
|
73356
|
+
method: 'POST'
|
|
73357
|
+
queryParams: {}
|
|
73358
|
+
jsonBody: {
|
|
73359
|
+
connect_webview_id: string
|
|
73360
|
+
submit_args?: any
|
|
73361
|
+
}
|
|
73362
|
+
commonParams: {}
|
|
73363
|
+
formData: {}
|
|
73364
|
+
jsonResponse: {
|
|
73365
|
+
ok: boolean
|
|
73366
|
+
}
|
|
73367
|
+
maxDuration: undefined
|
|
73368
|
+
}
|
|
73326
73369
|
'/seam/console/v1/get_resource_locator': {
|
|
73327
73370
|
route: '/seam/console/v1/get_resource_locator'
|
|
73328
73371
|
method: 'GET' | 'POST'
|