@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
package/dist/connect.d.cts
CHANGED
|
@@ -113669,6 +113669,32 @@ type Routes = {
|
|
|
113669
113669
|
};
|
|
113670
113670
|
maxDuration: undefined;
|
|
113671
113671
|
};
|
|
113672
|
+
'/seam/mcp/v1/create_ro_token': {
|
|
113673
|
+
route: '/seam/mcp/v1/create_ro_token';
|
|
113674
|
+
method: 'POST';
|
|
113675
|
+
queryParams: {};
|
|
113676
|
+
jsonBody: {
|
|
113677
|
+
/** ID of the workspace the token will be bound to. */
|
|
113678
|
+
workspace_id: string;
|
|
113679
|
+
/** Identity of the automation minting the token (e.g. an agent session ID), recorded for auditing. */
|
|
113680
|
+
created_by?: string | undefined;
|
|
113681
|
+
};
|
|
113682
|
+
commonParams: {};
|
|
113683
|
+
formData: {};
|
|
113684
|
+
jsonResponse: {
|
|
113685
|
+
support_read_only_token: {
|
|
113686
|
+
/** Support read-only token to use as a Bearer token. */
|
|
113687
|
+
token: string;
|
|
113688
|
+
/** ID of the workspace the token is bound to. */
|
|
113689
|
+
workspace_id: string;
|
|
113690
|
+
/** Date and time at which the token was created. */
|
|
113691
|
+
created_at: string;
|
|
113692
|
+
/** Date and time at which the token expires. Tokens live for one hour. */
|
|
113693
|
+
expires_at: string;
|
|
113694
|
+
};
|
|
113695
|
+
};
|
|
113696
|
+
maxDuration: undefined;
|
|
113697
|
+
};
|
|
113672
113698
|
'/seam/mobile_sdk/v1/acs/credentials/list': {
|
|
113673
113699
|
route: '/seam/mobile_sdk/v1/acs/credentials/list';
|
|
113674
113700
|
method: 'GET' | 'POST';
|
package/dist/index.cjs
CHANGED
|
@@ -38490,6 +38490,11 @@ var openapi = {
|
|
|
38490
38490
|
scheme: "bearer",
|
|
38491
38491
|
type: "http"
|
|
38492
38492
|
},
|
|
38493
|
+
internal_service_agent: {
|
|
38494
|
+
bearerFormat: "Internal Service Agent Key",
|
|
38495
|
+
scheme: "bearer",
|
|
38496
|
+
type: "http"
|
|
38497
|
+
},
|
|
38493
38498
|
pat_with_workspace: {
|
|
38494
38499
|
bearerFormat: "API Token",
|
|
38495
38500
|
scheme: "bearer",
|
|
@@ -38510,7 +38515,12 @@ var openapi = {
|
|
|
38510
38515
|
name: "seam-client-session-token",
|
|
38511
38516
|
type: "apiKey"
|
|
38512
38517
|
},
|
|
38513
|
-
seam_workspace: { in: "header", name: "seam-workspace", type: "apiKey" }
|
|
38518
|
+
seam_workspace: { in: "header", name: "seam-workspace", type: "apiKey" },
|
|
38519
|
+
support_read_only_token: {
|
|
38520
|
+
bearerFormat: "Support Read-Only Token",
|
|
38521
|
+
scheme: "bearer",
|
|
38522
|
+
type: "http"
|
|
38523
|
+
}
|
|
38514
38524
|
}
|
|
38515
38525
|
},
|
|
38516
38526
|
info: { title: "Seam Connect", version: "1.0.0" },
|
|
@@ -82072,6 +82082,88 @@ var openapi = {
|
|
|
82072
82082
|
"x-undocumented": "Seam Instant Key only."
|
|
82073
82083
|
}
|
|
82074
82084
|
},
|
|
82085
|
+
"/seam/mcp/v1/create_ro_token": {
|
|
82086
|
+
post: {
|
|
82087
|
+
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.",
|
|
82088
|
+
operationId: "seamMcpV1CreateRoTokenPost",
|
|
82089
|
+
requestBody: {
|
|
82090
|
+
content: {
|
|
82091
|
+
"application/json": {
|
|
82092
|
+
schema: {
|
|
82093
|
+
properties: {
|
|
82094
|
+
created_by: {
|
|
82095
|
+
description: "Identity of the automation minting the token (e.g. an agent session ID), recorded for auditing.",
|
|
82096
|
+
type: "string"
|
|
82097
|
+
},
|
|
82098
|
+
workspace_id: {
|
|
82099
|
+
description: "ID of the workspace the token will be bound to.",
|
|
82100
|
+
format: "uuid",
|
|
82101
|
+
type: "string"
|
|
82102
|
+
}
|
|
82103
|
+
},
|
|
82104
|
+
required: ["workspace_id"],
|
|
82105
|
+
type: "object"
|
|
82106
|
+
}
|
|
82107
|
+
}
|
|
82108
|
+
}
|
|
82109
|
+
},
|
|
82110
|
+
responses: {
|
|
82111
|
+
200: {
|
|
82112
|
+
content: {
|
|
82113
|
+
"application/json": {
|
|
82114
|
+
schema: {
|
|
82115
|
+
properties: {
|
|
82116
|
+
ok: { type: "boolean" },
|
|
82117
|
+
support_read_only_token: {
|
|
82118
|
+
properties: {
|
|
82119
|
+
created_at: {
|
|
82120
|
+
description: "Date and time at which the token was created.",
|
|
82121
|
+
type: "string"
|
|
82122
|
+
},
|
|
82123
|
+
expires_at: {
|
|
82124
|
+
description: "Date and time at which the token expires. Tokens live for one hour.",
|
|
82125
|
+
type: "string"
|
|
82126
|
+
},
|
|
82127
|
+
token: {
|
|
82128
|
+
description: "Support read-only token to use as a Bearer token.",
|
|
82129
|
+
type: "string"
|
|
82130
|
+
},
|
|
82131
|
+
workspace_id: {
|
|
82132
|
+
description: "ID of the workspace the token is bound to.",
|
|
82133
|
+
format: "uuid",
|
|
82134
|
+
type: "string"
|
|
82135
|
+
}
|
|
82136
|
+
},
|
|
82137
|
+
required: [
|
|
82138
|
+
"token",
|
|
82139
|
+
"workspace_id",
|
|
82140
|
+
"created_at",
|
|
82141
|
+
"expires_at"
|
|
82142
|
+
],
|
|
82143
|
+
type: "object"
|
|
82144
|
+
}
|
|
82145
|
+
},
|
|
82146
|
+
required: ["support_read_only_token", "ok"],
|
|
82147
|
+
type: "object"
|
|
82148
|
+
}
|
|
82149
|
+
}
|
|
82150
|
+
},
|
|
82151
|
+
description: "OK"
|
|
82152
|
+
},
|
|
82153
|
+
400: { description: "Bad Request" },
|
|
82154
|
+
401: { description: "Unauthorized" }
|
|
82155
|
+
},
|
|
82156
|
+
security: [{ internal_service_agent: [] }],
|
|
82157
|
+
summary: "/seam/mcp/v1/create_ro_token",
|
|
82158
|
+
tags: [],
|
|
82159
|
+
"x-fern-sdk-group-name": ["seam", "mcp", "v1"],
|
|
82160
|
+
"x-fern-sdk-method-name": "create_ro_token",
|
|
82161
|
+
"x-fern-sdk-return-value": "support_read_only_token",
|
|
82162
|
+
"x-response-key": "support_read_only_token",
|
|
82163
|
+
"x-title": "Create Support Read-Only Token",
|
|
82164
|
+
"x-undocumented": "Seam support agent only."
|
|
82165
|
+
}
|
|
82166
|
+
},
|
|
82075
82167
|
"/seam/mobile_sdk/v1/acs/credentials/list": {
|
|
82076
82168
|
get: {
|
|
82077
82169
|
description: "Returns a list of all [credentials](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).",
|