@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
|
@@ -83550,6 +83550,32 @@ export type Routes = {
|
|
|
83550
83550
|
};
|
|
83551
83551
|
maxDuration: undefined;
|
|
83552
83552
|
};
|
|
83553
|
+
'/seam/mcp/v1/create_ro_token': {
|
|
83554
|
+
route: '/seam/mcp/v1/create_ro_token';
|
|
83555
|
+
method: 'POST';
|
|
83556
|
+
queryParams: {};
|
|
83557
|
+
jsonBody: {
|
|
83558
|
+
/** ID of the workspace the token will be bound to. */
|
|
83559
|
+
workspace_id: string;
|
|
83560
|
+
/** Identity of the automation minting the token (e.g. an agent session ID), recorded for auditing. */
|
|
83561
|
+
created_by?: string | undefined;
|
|
83562
|
+
};
|
|
83563
|
+
commonParams: {};
|
|
83564
|
+
formData: {};
|
|
83565
|
+
jsonResponse: {
|
|
83566
|
+
support_read_only_token: {
|
|
83567
|
+
/** Support read-only token to use as a Bearer token. */
|
|
83568
|
+
token: string;
|
|
83569
|
+
/** ID of the workspace the token is bound to. */
|
|
83570
|
+
workspace_id: string;
|
|
83571
|
+
/** Date and time at which the token was created. */
|
|
83572
|
+
created_at: string;
|
|
83573
|
+
/** Date and time at which the token expires. Tokens live for one hour. */
|
|
83574
|
+
expires_at: string;
|
|
83575
|
+
};
|
|
83576
|
+
};
|
|
83577
|
+
maxDuration: undefined;
|
|
83578
|
+
};
|
|
83553
83579
|
'/seam/mobile_sdk/v1/acs/credentials/list': {
|
|
83554
83580
|
route: '/seam/mobile_sdk/v1/acs/credentials/list';
|
|
83555
83581
|
method: 'GET' | 'POST';
|
package/package.json
CHANGED
|
@@ -34556,6 +34556,11 @@ const openapi: OpenAPISpec = {
|
|
|
34556
34556
|
scheme: 'bearer',
|
|
34557
34557
|
type: 'http',
|
|
34558
34558
|
},
|
|
34559
|
+
internal_service_agent: {
|
|
34560
|
+
bearerFormat: 'Internal Service Agent Key',
|
|
34561
|
+
scheme: 'bearer',
|
|
34562
|
+
type: 'http',
|
|
34563
|
+
},
|
|
34559
34564
|
pat_with_workspace: {
|
|
34560
34565
|
bearerFormat: 'API Token',
|
|
34561
34566
|
scheme: 'bearer',
|
|
@@ -34577,6 +34582,11 @@ const openapi: OpenAPISpec = {
|
|
|
34577
34582
|
type: 'apiKey',
|
|
34578
34583
|
},
|
|
34579
34584
|
seam_workspace: { in: 'header', name: 'seam-workspace', type: 'apiKey' },
|
|
34585
|
+
support_read_only_token: {
|
|
34586
|
+
bearerFormat: 'Support Read-Only Token',
|
|
34587
|
+
scheme: 'bearer',
|
|
34588
|
+
type: 'http',
|
|
34589
|
+
},
|
|
34580
34590
|
},
|
|
34581
34591
|
},
|
|
34582
34592
|
info: { title: 'Seam Connect', version: '1.0.0' },
|
|
@@ -80637,6 +80647,95 @@ const openapi: OpenAPISpec = {
|
|
|
80637
80647
|
'x-undocumented': 'Seam Instant Key only.',
|
|
80638
80648
|
},
|
|
80639
80649
|
},
|
|
80650
|
+
'/seam/mcp/v1/create_ro_token': {
|
|
80651
|
+
post: {
|
|
80652
|
+
description:
|
|
80653
|
+
'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.',
|
|
80654
|
+
operationId: 'seamMcpV1CreateRoTokenPost',
|
|
80655
|
+
requestBody: {
|
|
80656
|
+
content: {
|
|
80657
|
+
'application/json': {
|
|
80658
|
+
schema: {
|
|
80659
|
+
properties: {
|
|
80660
|
+
created_by: {
|
|
80661
|
+
description:
|
|
80662
|
+
'Identity of the automation minting the token (e.g. an agent session ID), recorded for auditing.',
|
|
80663
|
+
type: 'string',
|
|
80664
|
+
},
|
|
80665
|
+
workspace_id: {
|
|
80666
|
+
description:
|
|
80667
|
+
'ID of the workspace the token will be bound to.',
|
|
80668
|
+
format: 'uuid',
|
|
80669
|
+
type: 'string',
|
|
80670
|
+
},
|
|
80671
|
+
},
|
|
80672
|
+
required: ['workspace_id'],
|
|
80673
|
+
type: 'object',
|
|
80674
|
+
},
|
|
80675
|
+
},
|
|
80676
|
+
},
|
|
80677
|
+
},
|
|
80678
|
+
responses: {
|
|
80679
|
+
200: {
|
|
80680
|
+
content: {
|
|
80681
|
+
'application/json': {
|
|
80682
|
+
schema: {
|
|
80683
|
+
properties: {
|
|
80684
|
+
ok: { type: 'boolean' },
|
|
80685
|
+
support_read_only_token: {
|
|
80686
|
+
properties: {
|
|
80687
|
+
created_at: {
|
|
80688
|
+
description:
|
|
80689
|
+
'Date and time at which the token was created.',
|
|
80690
|
+
type: 'string',
|
|
80691
|
+
},
|
|
80692
|
+
expires_at: {
|
|
80693
|
+
description:
|
|
80694
|
+
'Date and time at which the token expires. Tokens live for one hour.',
|
|
80695
|
+
type: 'string',
|
|
80696
|
+
},
|
|
80697
|
+
token: {
|
|
80698
|
+
description:
|
|
80699
|
+
'Support read-only token to use as a Bearer token.',
|
|
80700
|
+
type: 'string',
|
|
80701
|
+
},
|
|
80702
|
+
workspace_id: {
|
|
80703
|
+
description:
|
|
80704
|
+
'ID of the workspace the token is bound to.',
|
|
80705
|
+
format: 'uuid',
|
|
80706
|
+
type: 'string',
|
|
80707
|
+
},
|
|
80708
|
+
},
|
|
80709
|
+
required: [
|
|
80710
|
+
'token',
|
|
80711
|
+
'workspace_id',
|
|
80712
|
+
'created_at',
|
|
80713
|
+
'expires_at',
|
|
80714
|
+
],
|
|
80715
|
+
type: 'object',
|
|
80716
|
+
},
|
|
80717
|
+
},
|
|
80718
|
+
required: ['support_read_only_token', 'ok'],
|
|
80719
|
+
type: 'object',
|
|
80720
|
+
},
|
|
80721
|
+
},
|
|
80722
|
+
},
|
|
80723
|
+
description: 'OK',
|
|
80724
|
+
},
|
|
80725
|
+
400: { description: 'Bad Request' },
|
|
80726
|
+
401: { description: 'Unauthorized' },
|
|
80727
|
+
},
|
|
80728
|
+
security: [{ internal_service_agent: [] }],
|
|
80729
|
+
summary: '/seam/mcp/v1/create_ro_token',
|
|
80730
|
+
tags: [],
|
|
80731
|
+
'x-fern-sdk-group-name': ['seam', 'mcp', 'v1'],
|
|
80732
|
+
'x-fern-sdk-method-name': 'create_ro_token',
|
|
80733
|
+
'x-fern-sdk-return-value': 'support_read_only_token',
|
|
80734
|
+
'x-response-key': 'support_read_only_token',
|
|
80735
|
+
'x-title': 'Create Support Read-Only Token',
|
|
80736
|
+
'x-undocumented': 'Seam support agent only.',
|
|
80737
|
+
},
|
|
80738
|
+
},
|
|
80640
80739
|
'/seam/mobile_sdk/v1/acs/credentials/list': {
|
|
80641
80740
|
get: {
|
|
80642
80741
|
description:
|
|
@@ -101710,6 +101710,32 @@ export type Routes = {
|
|
|
101710
101710
|
}
|
|
101711
101711
|
maxDuration: undefined
|
|
101712
101712
|
}
|
|
101713
|
+
'/seam/mcp/v1/create_ro_token': {
|
|
101714
|
+
route: '/seam/mcp/v1/create_ro_token'
|
|
101715
|
+
method: 'POST'
|
|
101716
|
+
queryParams: {}
|
|
101717
|
+
jsonBody: {
|
|
101718
|
+
/** ID of the workspace the token will be bound to. */
|
|
101719
|
+
workspace_id: string
|
|
101720
|
+
/** Identity of the automation minting the token (e.g. an agent session ID), recorded for auditing. */
|
|
101721
|
+
created_by?: string | undefined
|
|
101722
|
+
}
|
|
101723
|
+
commonParams: {}
|
|
101724
|
+
formData: {}
|
|
101725
|
+
jsonResponse: {
|
|
101726
|
+
support_read_only_token: {
|
|
101727
|
+
/** Support read-only token to use as a Bearer token. */
|
|
101728
|
+
token: string
|
|
101729
|
+
/** ID of the workspace the token is bound to. */
|
|
101730
|
+
workspace_id: string
|
|
101731
|
+
/** Date and time at which the token was created. */
|
|
101732
|
+
created_at: string
|
|
101733
|
+
/** Date and time at which the token expires. Tokens live for one hour. */
|
|
101734
|
+
expires_at: string
|
|
101735
|
+
}
|
|
101736
|
+
}
|
|
101737
|
+
maxDuration: undefined
|
|
101738
|
+
}
|
|
101713
101739
|
'/seam/mobile_sdk/v1/acs/credentials/list': {
|
|
101714
101740
|
route: '/seam/mobile_sdk/v1/acs/credentials/list'
|
|
101715
101741
|
method: 'GET' | 'POST'
|