@seamapi/types 1.966.0 → 1.967.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 +93 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +26 -0
- package/dist/index.cjs +93 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.js +92 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +26 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +99 -0
- package/src/lib/seam/connect/route-types.ts +26 -0
|
@@ -30889,6 +30889,11 @@ const openapi = {
|
|
|
30889
30889
|
scheme: 'bearer',
|
|
30890
30890
|
type: 'http',
|
|
30891
30891
|
},
|
|
30892
|
+
internal_service_agent: {
|
|
30893
|
+
bearerFormat: 'Internal Service Agent Key',
|
|
30894
|
+
scheme: 'bearer',
|
|
30895
|
+
type: 'http',
|
|
30896
|
+
},
|
|
30892
30897
|
pat_with_workspace: {
|
|
30893
30898
|
bearerFormat: 'API Token',
|
|
30894
30899
|
scheme: 'bearer',
|
|
@@ -30910,6 +30915,11 @@ const openapi = {
|
|
|
30910
30915
|
type: 'apiKey',
|
|
30911
30916
|
},
|
|
30912
30917
|
seam_workspace: { in: 'header', name: 'seam-workspace', type: 'apiKey' },
|
|
30918
|
+
support_read_only_token: {
|
|
30919
|
+
bearerFormat: 'Support Read-Only Token',
|
|
30920
|
+
scheme: 'bearer',
|
|
30921
|
+
type: 'http',
|
|
30922
|
+
},
|
|
30913
30923
|
},
|
|
30914
30924
|
},
|
|
30915
30925
|
info: { title: 'Seam Connect', version: '1.0.0' },
|
|
@@ -74471,6 +74481,88 @@ const openapi = {
|
|
|
74471
74481
|
'x-undocumented': 'Seam Instant Key only.',
|
|
74472
74482
|
},
|
|
74473
74483
|
},
|
|
74484
|
+
'/seam/mcp/v1/create_ro_token': {
|
|
74485
|
+
post: {
|
|
74486
|
+
description: 'Mints a short-lived, read-only token bound to a single workspace. Used by the Seam support agent to inspect a customer workspace via read-only public API endpoints.',
|
|
74487
|
+
operationId: 'seamMcpV1CreateRoTokenPost',
|
|
74488
|
+
requestBody: {
|
|
74489
|
+
content: {
|
|
74490
|
+
'application/json': {
|
|
74491
|
+
schema: {
|
|
74492
|
+
properties: {
|
|
74493
|
+
created_by: {
|
|
74494
|
+
description: 'Identity of the automation minting the token (e.g. an agent session ID), recorded for auditing.',
|
|
74495
|
+
type: 'string',
|
|
74496
|
+
},
|
|
74497
|
+
workspace_id: {
|
|
74498
|
+
description: 'ID of the workspace the token will be bound to.',
|
|
74499
|
+
format: 'uuid',
|
|
74500
|
+
type: 'string',
|
|
74501
|
+
},
|
|
74502
|
+
},
|
|
74503
|
+
required: ['workspace_id'],
|
|
74504
|
+
type: 'object',
|
|
74505
|
+
},
|
|
74506
|
+
},
|
|
74507
|
+
},
|
|
74508
|
+
},
|
|
74509
|
+
responses: {
|
|
74510
|
+
200: {
|
|
74511
|
+
content: {
|
|
74512
|
+
'application/json': {
|
|
74513
|
+
schema: {
|
|
74514
|
+
properties: {
|
|
74515
|
+
ok: { type: 'boolean' },
|
|
74516
|
+
support_read_only_token: {
|
|
74517
|
+
properties: {
|
|
74518
|
+
created_at: {
|
|
74519
|
+
description: 'Date and time at which the token was created.',
|
|
74520
|
+
type: 'string',
|
|
74521
|
+
},
|
|
74522
|
+
expires_at: {
|
|
74523
|
+
description: 'Date and time at which the token expires. Tokens live for one hour.',
|
|
74524
|
+
type: 'string',
|
|
74525
|
+
},
|
|
74526
|
+
token: {
|
|
74527
|
+
description: 'Support read-only token to use as a Bearer token.',
|
|
74528
|
+
type: 'string',
|
|
74529
|
+
},
|
|
74530
|
+
workspace_id: {
|
|
74531
|
+
description: 'ID of the workspace the token is bound to.',
|
|
74532
|
+
format: 'uuid',
|
|
74533
|
+
type: 'string',
|
|
74534
|
+
},
|
|
74535
|
+
},
|
|
74536
|
+
required: [
|
|
74537
|
+
'token',
|
|
74538
|
+
'workspace_id',
|
|
74539
|
+
'created_at',
|
|
74540
|
+
'expires_at',
|
|
74541
|
+
],
|
|
74542
|
+
type: 'object',
|
|
74543
|
+
},
|
|
74544
|
+
},
|
|
74545
|
+
required: ['support_read_only_token', 'ok'],
|
|
74546
|
+
type: 'object',
|
|
74547
|
+
},
|
|
74548
|
+
},
|
|
74549
|
+
},
|
|
74550
|
+
description: 'OK',
|
|
74551
|
+
},
|
|
74552
|
+
400: { description: 'Bad Request' },
|
|
74553
|
+
401: { description: 'Unauthorized' },
|
|
74554
|
+
},
|
|
74555
|
+
security: [{ internal_service_agent: [] }],
|
|
74556
|
+
summary: '/seam/mcp/v1/create_ro_token',
|
|
74557
|
+
tags: [],
|
|
74558
|
+
'x-fern-sdk-group-name': ['seam', 'mcp', 'v1'],
|
|
74559
|
+
'x-fern-sdk-method-name': 'create_ro_token',
|
|
74560
|
+
'x-fern-sdk-return-value': 'support_read_only_token',
|
|
74561
|
+
'x-response-key': 'support_read_only_token',
|
|
74562
|
+
'x-title': 'Create Support Read-Only Token',
|
|
74563
|
+
'x-undocumented': 'Seam support agent only.',
|
|
74564
|
+
},
|
|
74565
|
+
},
|
|
74474
74566
|
'/seam/mobile_sdk/v1/acs/credentials/list': {
|
|
74475
74567
|
get: {
|
|
74476
74568
|
description: 'Returns a list of all [credentials](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
|