@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
|
@@ -49266,6 +49266,232 @@ declare const _default: {
|
|
|
49266
49266
|
'x-undocumented': string;
|
|
49267
49267
|
};
|
|
49268
49268
|
};
|
|
49269
|
+
'/seam/connect_webview/v1/get_current_pane': {
|
|
49270
|
+
get: {
|
|
49271
|
+
description: string;
|
|
49272
|
+
operationId: string;
|
|
49273
|
+
parameters: {
|
|
49274
|
+
in: string;
|
|
49275
|
+
name: string;
|
|
49276
|
+
required: boolean;
|
|
49277
|
+
schema: {
|
|
49278
|
+
format: string;
|
|
49279
|
+
type: string;
|
|
49280
|
+
};
|
|
49281
|
+
}[];
|
|
49282
|
+
responses: {
|
|
49283
|
+
200: {
|
|
49284
|
+
content: {
|
|
49285
|
+
'application/json': {
|
|
49286
|
+
schema: {
|
|
49287
|
+
properties: {
|
|
49288
|
+
ok: {
|
|
49289
|
+
type: string;
|
|
49290
|
+
};
|
|
49291
|
+
pane: {
|
|
49292
|
+
$ref: string;
|
|
49293
|
+
};
|
|
49294
|
+
};
|
|
49295
|
+
required: string[];
|
|
49296
|
+
type: string;
|
|
49297
|
+
};
|
|
49298
|
+
};
|
|
49299
|
+
};
|
|
49300
|
+
description: string;
|
|
49301
|
+
};
|
|
49302
|
+
400: {
|
|
49303
|
+
description: string;
|
|
49304
|
+
};
|
|
49305
|
+
401: {
|
|
49306
|
+
description: string;
|
|
49307
|
+
};
|
|
49308
|
+
};
|
|
49309
|
+
security: {
|
|
49310
|
+
console_session_with_workspace: never[];
|
|
49311
|
+
}[];
|
|
49312
|
+
summary: string;
|
|
49313
|
+
tags: never[];
|
|
49314
|
+
'x-fern-sdk-group-name': string[];
|
|
49315
|
+
'x-fern-sdk-method-name': string;
|
|
49316
|
+
'x-fern-sdk-return-value': string;
|
|
49317
|
+
'x-response-key': string;
|
|
49318
|
+
'x-title': string;
|
|
49319
|
+
'x-undocumented': string;
|
|
49320
|
+
};
|
|
49321
|
+
post: {
|
|
49322
|
+
description: string;
|
|
49323
|
+
operationId: string;
|
|
49324
|
+
requestBody: {
|
|
49325
|
+
content: {
|
|
49326
|
+
'application/json': {
|
|
49327
|
+
schema: {
|
|
49328
|
+
properties: {
|
|
49329
|
+
connect_webview_id: {
|
|
49330
|
+
format: string;
|
|
49331
|
+
type: string;
|
|
49332
|
+
};
|
|
49333
|
+
};
|
|
49334
|
+
required: string[];
|
|
49335
|
+
type: string;
|
|
49336
|
+
};
|
|
49337
|
+
};
|
|
49338
|
+
};
|
|
49339
|
+
};
|
|
49340
|
+
responses: {
|
|
49341
|
+
200: {
|
|
49342
|
+
content: {
|
|
49343
|
+
'application/json': {
|
|
49344
|
+
schema: {
|
|
49345
|
+
properties: {
|
|
49346
|
+
ok: {
|
|
49347
|
+
type: string;
|
|
49348
|
+
};
|
|
49349
|
+
pane: {
|
|
49350
|
+
$ref: string;
|
|
49351
|
+
};
|
|
49352
|
+
};
|
|
49353
|
+
required: string[];
|
|
49354
|
+
type: string;
|
|
49355
|
+
};
|
|
49356
|
+
};
|
|
49357
|
+
};
|
|
49358
|
+
description: string;
|
|
49359
|
+
};
|
|
49360
|
+
400: {
|
|
49361
|
+
description: string;
|
|
49362
|
+
};
|
|
49363
|
+
401: {
|
|
49364
|
+
description: string;
|
|
49365
|
+
};
|
|
49366
|
+
};
|
|
49367
|
+
security: {
|
|
49368
|
+
console_session_with_workspace: never[];
|
|
49369
|
+
}[];
|
|
49370
|
+
summary: string;
|
|
49371
|
+
tags: never[];
|
|
49372
|
+
'x-fern-sdk-group-name': string[];
|
|
49373
|
+
'x-fern-sdk-method-name': string;
|
|
49374
|
+
'x-fern-sdk-return-value': string;
|
|
49375
|
+
'x-response-key': string;
|
|
49376
|
+
'x-title': string;
|
|
49377
|
+
'x-undocumented': string;
|
|
49378
|
+
};
|
|
49379
|
+
};
|
|
49380
|
+
'/seam/connect_webview/v1/reset': {
|
|
49381
|
+
post: {
|
|
49382
|
+
description: string;
|
|
49383
|
+
operationId: string;
|
|
49384
|
+
requestBody: {
|
|
49385
|
+
content: {
|
|
49386
|
+
'application/json': {
|
|
49387
|
+
schema: {
|
|
49388
|
+
properties: {
|
|
49389
|
+
connect_webview_id: {
|
|
49390
|
+
format: string;
|
|
49391
|
+
type: string;
|
|
49392
|
+
};
|
|
49393
|
+
};
|
|
49394
|
+
required: string[];
|
|
49395
|
+
type: string;
|
|
49396
|
+
};
|
|
49397
|
+
};
|
|
49398
|
+
};
|
|
49399
|
+
};
|
|
49400
|
+
responses: {
|
|
49401
|
+
200: {
|
|
49402
|
+
content: {
|
|
49403
|
+
'application/json': {
|
|
49404
|
+
schema: {
|
|
49405
|
+
properties: {
|
|
49406
|
+
ok: {
|
|
49407
|
+
type: string;
|
|
49408
|
+
};
|
|
49409
|
+
};
|
|
49410
|
+
required: string[];
|
|
49411
|
+
type: string;
|
|
49412
|
+
};
|
|
49413
|
+
};
|
|
49414
|
+
};
|
|
49415
|
+
description: string;
|
|
49416
|
+
};
|
|
49417
|
+
400: {
|
|
49418
|
+
description: string;
|
|
49419
|
+
};
|
|
49420
|
+
401: {
|
|
49421
|
+
description: string;
|
|
49422
|
+
};
|
|
49423
|
+
};
|
|
49424
|
+
security: {
|
|
49425
|
+
console_session_with_workspace: never[];
|
|
49426
|
+
}[];
|
|
49427
|
+
summary: string;
|
|
49428
|
+
tags: never[];
|
|
49429
|
+
'x-fern-sdk-group-name': string[];
|
|
49430
|
+
'x-fern-sdk-method-name': string;
|
|
49431
|
+
'x-fern-sdk-return-value': string;
|
|
49432
|
+
'x-response-key': string;
|
|
49433
|
+
'x-title': string;
|
|
49434
|
+
'x-undocumented': string;
|
|
49435
|
+
};
|
|
49436
|
+
};
|
|
49437
|
+
'/seam/connect_webview/v1/submit': {
|
|
49438
|
+
post: {
|
|
49439
|
+
description: string;
|
|
49440
|
+
operationId: string;
|
|
49441
|
+
requestBody: {
|
|
49442
|
+
content: {
|
|
49443
|
+
'application/json': {
|
|
49444
|
+
schema: {
|
|
49445
|
+
properties: {
|
|
49446
|
+
connect_webview_id: {
|
|
49447
|
+
format: string;
|
|
49448
|
+
type: string;
|
|
49449
|
+
};
|
|
49450
|
+
submit_args: {};
|
|
49451
|
+
};
|
|
49452
|
+
required: string[];
|
|
49453
|
+
type: string;
|
|
49454
|
+
};
|
|
49455
|
+
};
|
|
49456
|
+
};
|
|
49457
|
+
};
|
|
49458
|
+
responses: {
|
|
49459
|
+
200: {
|
|
49460
|
+
content: {
|
|
49461
|
+
'application/json': {
|
|
49462
|
+
schema: {
|
|
49463
|
+
properties: {
|
|
49464
|
+
ok: {
|
|
49465
|
+
type: string;
|
|
49466
|
+
};
|
|
49467
|
+
};
|
|
49468
|
+
required: string[];
|
|
49469
|
+
type: string;
|
|
49470
|
+
};
|
|
49471
|
+
};
|
|
49472
|
+
};
|
|
49473
|
+
description: string;
|
|
49474
|
+
};
|
|
49475
|
+
400: {
|
|
49476
|
+
description: string;
|
|
49477
|
+
};
|
|
49478
|
+
401: {
|
|
49479
|
+
description: string;
|
|
49480
|
+
};
|
|
49481
|
+
};
|
|
49482
|
+
security: {
|
|
49483
|
+
console_session_with_workspace: never[];
|
|
49484
|
+
}[];
|
|
49485
|
+
summary: string;
|
|
49486
|
+
tags: never[];
|
|
49487
|
+
'x-fern-sdk-group-name': string[];
|
|
49488
|
+
'x-fern-sdk-method-name': string;
|
|
49489
|
+
'x-fern-sdk-return-value': string;
|
|
49490
|
+
'x-response-key': string;
|
|
49491
|
+
'x-title': string;
|
|
49492
|
+
'x-undocumented': string;
|
|
49493
|
+
};
|
|
49494
|
+
};
|
|
49269
49495
|
'/seam/console/v1/get_resource_locator': {
|
|
49270
49496
|
get: {
|
|
49271
49497
|
description: string;
|
|
@@ -56086,6 +56086,182 @@ export default {
|
|
|
56086
56086
|
'x-undocumented': 'Seam Bridge Client only.',
|
|
56087
56087
|
},
|
|
56088
56088
|
},
|
|
56089
|
+
'/seam/connect_webview/v1/get_current_pane': {
|
|
56090
|
+
get: {
|
|
56091
|
+
description: 'Returns the current render pane for a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews).',
|
|
56092
|
+
operationId: 'seamConnectWebviewV1GetCurrentPaneGet',
|
|
56093
|
+
parameters: [
|
|
56094
|
+
{
|
|
56095
|
+
in: 'query',
|
|
56096
|
+
name: 'connect_webview_id',
|
|
56097
|
+
required: true,
|
|
56098
|
+
schema: { format: 'uuid', type: 'string' },
|
|
56099
|
+
},
|
|
56100
|
+
],
|
|
56101
|
+
responses: {
|
|
56102
|
+
200: {
|
|
56103
|
+
content: {
|
|
56104
|
+
'application/json': {
|
|
56105
|
+
schema: {
|
|
56106
|
+
properties: {
|
|
56107
|
+
ok: { type: 'boolean' },
|
|
56108
|
+
pane: { $ref: '#/components/schemas/access_code' },
|
|
56109
|
+
},
|
|
56110
|
+
required: ['ok'],
|
|
56111
|
+
type: 'object',
|
|
56112
|
+
},
|
|
56113
|
+
},
|
|
56114
|
+
},
|
|
56115
|
+
description: 'OK',
|
|
56116
|
+
},
|
|
56117
|
+
400: { description: 'Bad Request' },
|
|
56118
|
+
401: { description: 'Unauthorized' },
|
|
56119
|
+
},
|
|
56120
|
+
security: [{ console_session_with_workspace: [] }],
|
|
56121
|
+
summary: '/seam/connect_webview/v1/get_current_pane',
|
|
56122
|
+
tags: [],
|
|
56123
|
+
'x-fern-sdk-group-name': ['seam', 'connect_webview', 'v1'],
|
|
56124
|
+
'x-fern-sdk-method-name': 'get_current_pane',
|
|
56125
|
+
'x-fern-sdk-return-value': 'pane',
|
|
56126
|
+
'x-response-key': 'pane',
|
|
56127
|
+
'x-title': 'Get Current Pane',
|
|
56128
|
+
'x-undocumented': 'Internal endpoint for driving Connect Webview flows programmatically.',
|
|
56129
|
+
},
|
|
56130
|
+
post: {
|
|
56131
|
+
description: 'Returns the current render pane for a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews).',
|
|
56132
|
+
operationId: 'seamConnectWebviewV1GetCurrentPanePost',
|
|
56133
|
+
requestBody: {
|
|
56134
|
+
content: {
|
|
56135
|
+
'application/json': {
|
|
56136
|
+
schema: {
|
|
56137
|
+
properties: {
|
|
56138
|
+
connect_webview_id: { format: 'uuid', type: 'string' },
|
|
56139
|
+
},
|
|
56140
|
+
required: ['connect_webview_id'],
|
|
56141
|
+
type: 'object',
|
|
56142
|
+
},
|
|
56143
|
+
},
|
|
56144
|
+
},
|
|
56145
|
+
},
|
|
56146
|
+
responses: {
|
|
56147
|
+
200: {
|
|
56148
|
+
content: {
|
|
56149
|
+
'application/json': {
|
|
56150
|
+
schema: {
|
|
56151
|
+
properties: {
|
|
56152
|
+
ok: { type: 'boolean' },
|
|
56153
|
+
pane: { $ref: '#/components/schemas/access_code' },
|
|
56154
|
+
},
|
|
56155
|
+
required: ['ok'],
|
|
56156
|
+
type: 'object',
|
|
56157
|
+
},
|
|
56158
|
+
},
|
|
56159
|
+
},
|
|
56160
|
+
description: 'OK',
|
|
56161
|
+
},
|
|
56162
|
+
400: { description: 'Bad Request' },
|
|
56163
|
+
401: { description: 'Unauthorized' },
|
|
56164
|
+
},
|
|
56165
|
+
security: [{ console_session_with_workspace: [] }],
|
|
56166
|
+
summary: '/seam/connect_webview/v1/get_current_pane',
|
|
56167
|
+
tags: [],
|
|
56168
|
+
'x-fern-sdk-group-name': ['seam', 'connect_webview', 'v1'],
|
|
56169
|
+
'x-fern-sdk-method-name': 'get_current_pane',
|
|
56170
|
+
'x-fern-sdk-return-value': 'pane',
|
|
56171
|
+
'x-response-key': 'pane',
|
|
56172
|
+
'x-title': 'Get Current Pane',
|
|
56173
|
+
'x-undocumented': 'Internal endpoint for driving Connect Webview flows programmatically.',
|
|
56174
|
+
},
|
|
56175
|
+
},
|
|
56176
|
+
'/seam/connect_webview/v1/reset': {
|
|
56177
|
+
post: {
|
|
56178
|
+
description: 'Resets an errored [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) so its login flow can be retried.',
|
|
56179
|
+
operationId: 'seamConnectWebviewV1ResetPost',
|
|
56180
|
+
requestBody: {
|
|
56181
|
+
content: {
|
|
56182
|
+
'application/json': {
|
|
56183
|
+
schema: {
|
|
56184
|
+
properties: {
|
|
56185
|
+
connect_webview_id: { format: 'uuid', type: 'string' },
|
|
56186
|
+
},
|
|
56187
|
+
required: ['connect_webview_id'],
|
|
56188
|
+
type: 'object',
|
|
56189
|
+
},
|
|
56190
|
+
},
|
|
56191
|
+
},
|
|
56192
|
+
},
|
|
56193
|
+
responses: {
|
|
56194
|
+
200: {
|
|
56195
|
+
content: {
|
|
56196
|
+
'application/json': {
|
|
56197
|
+
schema: {
|
|
56198
|
+
properties: { ok: { type: 'boolean' } },
|
|
56199
|
+
required: ['ok'],
|
|
56200
|
+
type: 'object',
|
|
56201
|
+
},
|
|
56202
|
+
},
|
|
56203
|
+
},
|
|
56204
|
+
description: 'OK',
|
|
56205
|
+
},
|
|
56206
|
+
400: { description: 'Bad Request' },
|
|
56207
|
+
401: { description: 'Unauthorized' },
|
|
56208
|
+
},
|
|
56209
|
+
security: [{ console_session_with_workspace: [] }],
|
|
56210
|
+
summary: '/seam/connect_webview/v1/reset',
|
|
56211
|
+
tags: [],
|
|
56212
|
+
'x-fern-sdk-group-name': ['seam', 'connect_webview', 'v1'],
|
|
56213
|
+
'x-fern-sdk-method-name': 'reset',
|
|
56214
|
+
'x-fern-sdk-return-value': 'ok',
|
|
56215
|
+
'x-response-key': 'ok',
|
|
56216
|
+
'x-title': 'Reset Connect Webview',
|
|
56217
|
+
'x-undocumented': 'Internal endpoint for driving Connect Webview flows programmatically.',
|
|
56218
|
+
},
|
|
56219
|
+
},
|
|
56220
|
+
'/seam/connect_webview/v1/submit': {
|
|
56221
|
+
post: {
|
|
56222
|
+
description: 'Submits pane arguments to advance a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) login state machine.',
|
|
56223
|
+
operationId: 'seamConnectWebviewV1SubmitPost',
|
|
56224
|
+
requestBody: {
|
|
56225
|
+
content: {
|
|
56226
|
+
'application/json': {
|
|
56227
|
+
schema: {
|
|
56228
|
+
properties: {
|
|
56229
|
+
connect_webview_id: { format: 'uuid', type: 'string' },
|
|
56230
|
+
submit_args: {},
|
|
56231
|
+
},
|
|
56232
|
+
required: ['connect_webview_id'],
|
|
56233
|
+
type: 'object',
|
|
56234
|
+
},
|
|
56235
|
+
},
|
|
56236
|
+
},
|
|
56237
|
+
},
|
|
56238
|
+
responses: {
|
|
56239
|
+
200: {
|
|
56240
|
+
content: {
|
|
56241
|
+
'application/json': {
|
|
56242
|
+
schema: {
|
|
56243
|
+
properties: { ok: { type: 'boolean' } },
|
|
56244
|
+
required: ['ok'],
|
|
56245
|
+
type: 'object',
|
|
56246
|
+
},
|
|
56247
|
+
},
|
|
56248
|
+
},
|
|
56249
|
+
description: 'OK',
|
|
56250
|
+
},
|
|
56251
|
+
400: { description: 'Bad Request' },
|
|
56252
|
+
401: { description: 'Unauthorized' },
|
|
56253
|
+
},
|
|
56254
|
+
security: [{ console_session_with_workspace: [] }],
|
|
56255
|
+
summary: '/seam/connect_webview/v1/submit',
|
|
56256
|
+
tags: [],
|
|
56257
|
+
'x-fern-sdk-group-name': ['seam', 'connect_webview', 'v1'],
|
|
56258
|
+
'x-fern-sdk-method-name': 'submit',
|
|
56259
|
+
'x-fern-sdk-return-value': 'ok',
|
|
56260
|
+
'x-response-key': 'ok',
|
|
56261
|
+
'x-title': 'Submit Connect Webview Pane',
|
|
56262
|
+
'x-undocumented': 'Internal endpoint for driving Connect Webview flows programmatically.',
|
|
56263
|
+
},
|
|
56264
|
+
},
|
|
56089
56265
|
'/seam/console/v1/get_resource_locator': {
|
|
56090
56266
|
get: {
|
|
56091
56267
|
description: 'Returns the type and system information of a resource given its UUID.',
|