@openfilz-sdk/typescript-ee 1.8.15 → 1.8.16
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/.openapi-generator/FILES +10 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +10 -2
- package/api/mcp-discovery-controller-api.ts +175 -0
- package/api/mcp-token-admin-controller-api.ts +269 -0
- package/api.ts +2 -0
- package/dist/api/mcp-discovery-controller-api.d.ts +88 -0
- package/dist/api/mcp-discovery-controller-api.js +178 -0
- package/dist/api/mcp-token-admin-controller-api.d.ts +129 -0
- package/dist/api/mcp-token-admin-controller-api.js +263 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/esm/api/mcp-discovery-controller-api.d.ts +88 -0
- package/dist/esm/api/mcp-discovery-controller-api.js +171 -0
- package/dist/esm/api/mcp-token-admin-controller-api.d.ts +129 -0
- package/dist/esm/api/mcp-token-admin-controller-api.js +256 -0
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/models/mcp-agent-token-info.d.ts +27 -0
- package/dist/esm/models/mcp-agent-token-info.js +17 -0
- package/dist/esm/models/mcp-agent-token-response.d.ts +26 -0
- package/dist/esm/models/mcp-agent-token-response.js +17 -0
- package/dist/esm/models/mint-mcp-agent-token-request.d.ts +34 -0
- package/dist/esm/models/mint-mcp-agent-token-request.js +17 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/mcp-agent-token-info.d.ts +27 -0
- package/dist/models/mcp-agent-token-info.js +20 -0
- package/dist/models/mcp-agent-token-response.d.ts +26 -0
- package/dist/models/mcp-agent-token-response.js +20 -0
- package/dist/models/mint-mcp-agent-token-request.d.ts +34 -0
- package/dist/models/mint-mcp-agent-token-request.js +20 -0
- package/docs/McpAgentTokenInfo.md +36 -0
- package/docs/McpAgentTokenResponse.md +28 -0
- package/docs/McpDiscoveryControllerApi.md +95 -0
- package/docs/McpTokenAdminControllerApi.md +154 -0
- package/docs/MintMcpAgentTokenRequest.md +26 -0
- package/models/index.ts +3 -0
- package/models/mcp-agent-token-info.ts +36 -0
- package/models/mcp-agent-token-response.ts +35 -0
- package/models/mint-mcp-agent-token-request.ts +43 -0
- package/package.json +1 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface MintMcpAgentTokenRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Email of the existing OpenFilz user the agent acts as
|
|
20
|
+
*/
|
|
21
|
+
'subjectEmail': string;
|
|
22
|
+
/**
|
|
23
|
+
* Capability cap: READ_ONLY or READ_WRITE
|
|
24
|
+
*/
|
|
25
|
+
'mode'?: MintMcpAgentTokenRequestModeEnum;
|
|
26
|
+
/**
|
|
27
|
+
* Human-readable label for the agent, shown in the admin list
|
|
28
|
+
*/
|
|
29
|
+
'label'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Token lifetime in seconds; capped by openfilz.mcp.tokens.max-ttl-seconds
|
|
32
|
+
*/
|
|
33
|
+
'ttlSeconds'?: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export const MintMcpAgentTokenRequestModeEnum = {
|
|
37
|
+
ReadOnly: 'READ_ONLY',
|
|
38
|
+
ReadWrite: 'READ_WRITE',
|
|
39
|
+
} as const;
|
|
40
|
+
|
|
41
|
+
export type MintMcpAgentTokenRequestModeEnum = typeof MintMcpAgentTokenRequestModeEnum[keyof typeof MintMcpAgentTokenRequestModeEnum];
|
|
42
|
+
|
|
43
|
+
|