@openfilz-sdk/typescript-ee 1.11.0 → 1.12.1
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 +30 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +38 -9
- package/api/ai-archiving-admin-controller-api.ts +10 -10
- package/api/aifiling-rules-api.ts +18 -18
- package/api/aimaintenance-api.ts +334 -0
- package/api/aiteam-inboxes-api.ts +18 -18
- package/api/esign-templates-api.ts +8 -8
- package/api/mcp-token-admin-controller-api.ts +75 -8
- package/api/organisation-settings-api.ts +266 -0
- package/api/quota-administration-api.ts +677 -0
- package/api/quotas-api.ts +121 -0
- package/api/search-administration-api.ts +65 -0
- package/api/tus-controller-api.ts +8 -4
- package/api.ts +4 -0
- package/dist/api/ai-archiving-admin-controller-api.d.ts +4 -4
- package/dist/api/ai-archiving-admin-controller-api.js +10 -10
- package/dist/api/aifiling-rules-api.d.ts +8 -8
- package/dist/api/aifiling-rules-api.js +18 -18
- package/dist/api/aimaintenance-api.d.ts +162 -0
- package/dist/api/aimaintenance-api.js +327 -0
- package/dist/api/aiteam-inboxes-api.d.ts +8 -8
- package/dist/api/aiteam-inboxes-api.js +18 -18
- package/dist/api/esign-templates-api.d.ts +4 -4
- package/dist/api/esign-templates-api.js +8 -8
- package/dist/api/mcp-token-admin-controller-api.d.ts +33 -4
- package/dist/api/mcp-token-admin-controller-api.js +70 -8
- package/dist/api/organisation-settings-api.d.ts +135 -0
- package/dist/api/organisation-settings-api.js +264 -0
- package/dist/api/quota-administration-api.d.ts +312 -0
- package/dist/api/quota-administration-api.js +645 -0
- package/dist/api/quotas-api.d.ts +63 -0
- package/dist/api/quotas-api.js +125 -0
- package/dist/api/search-administration-api.d.ts +28 -0
- package/dist/api/search-administration-api.js +62 -0
- package/dist/api/tus-controller-api.d.ts +6 -6
- package/dist/api/tus-controller-api.js +2 -0
- package/dist/api.d.ts +4 -0
- package/dist/api.js +4 -0
- package/dist/esm/api/ai-archiving-admin-controller-api.d.ts +4 -4
- package/dist/esm/api/ai-archiving-admin-controller-api.js +10 -10
- package/dist/esm/api/aifiling-rules-api.d.ts +8 -8
- package/dist/esm/api/aifiling-rules-api.js +18 -18
- package/dist/esm/api/aimaintenance-api.d.ts +162 -0
- package/dist/esm/api/aimaintenance-api.js +320 -0
- package/dist/esm/api/aiteam-inboxes-api.d.ts +8 -8
- package/dist/esm/api/aiteam-inboxes-api.js +18 -18
- package/dist/esm/api/esign-templates-api.d.ts +4 -4
- package/dist/esm/api/esign-templates-api.js +8 -8
- package/dist/esm/api/mcp-token-admin-controller-api.d.ts +33 -4
- package/dist/esm/api/mcp-token-admin-controller-api.js +70 -8
- package/dist/esm/api/organisation-settings-api.d.ts +135 -0
- package/dist/esm/api/organisation-settings-api.js +257 -0
- package/dist/esm/api/quota-administration-api.d.ts +312 -0
- package/dist/esm/api/quota-administration-api.js +638 -0
- package/dist/esm/api/quotas-api.d.ts +63 -0
- package/dist/esm/api/quotas-api.js +118 -0
- package/dist/esm/api/search-administration-api.d.ts +28 -0
- package/dist/esm/api/search-administration-api.js +62 -0
- package/dist/esm/api/tus-controller-api.d.ts +6 -6
- package/dist/esm/api/tus-controller-api.js +2 -0
- package/dist/esm/api.d.ts +4 -0
- package/dist/esm/api.js +4 -0
- package/dist/esm/models/enriched-audit-log.d.ts +4 -0
- package/dist/esm/models/enriched-audit-log.js +4 -0
- package/dist/esm/models/error-response.d.ts +16 -0
- package/dist/esm/models/error-response.js +14 -0
- package/dist/esm/models/index.d.ts +11 -0
- package/dist/esm/models/index.js +11 -0
- package/dist/esm/models/mcp-agent-token-config.d.ts +31 -0
- package/dist/esm/models/mcp-agent-token-config.js +14 -0
- package/dist/esm/models/mcp-agent-token-info.d.ts +1 -0
- package/dist/esm/models/my-storage-quota.d.ts +24 -0
- package/dist/esm/models/my-storage-quota.js +18 -0
- package/dist/esm/models/quota-overview.d.ts +19 -0
- package/dist/esm/models/quota-overview.js +14 -0
- package/dist/esm/models/quota-usage.d.ts +27 -0
- package/dist/esm/models/quota-usage.js +18 -0
- package/dist/esm/models/quota-user-page.d.ts +18 -0
- package/dist/esm/models/quota-user-page.js +14 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +4 -0
- package/dist/esm/models/search-by-audit-log-request.js +4 -0
- package/dist/esm/models/setting-dto.d.ts +26 -0
- package/dist/esm/models/setting-dto.js +14 -0
- package/dist/esm/models/start-request.d.ts +14 -0
- package/dist/esm/models/start-request.js +14 -0
- package/dist/esm/models/storage-breakdown.d.ts +2 -0
- package/dist/esm/models/team-quota-request.d.ts +17 -0
- package/dist/esm/models/team-quota-request.js +14 -0
- package/dist/esm/models/team-quota-view.d.ts +19 -0
- package/dist/esm/models/team-quota-view.js +14 -0
- package/dist/esm/models/user-quota-request.d.ts +17 -0
- package/dist/esm/models/user-quota-request.js +14 -0
- package/dist/models/enriched-audit-log.d.ts +4 -0
- package/dist/models/enriched-audit-log.js +4 -0
- package/dist/models/error-response.d.ts +16 -0
- package/dist/models/error-response.js +15 -0
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/dist/models/mcp-agent-token-config.d.ts +31 -0
- package/dist/models/mcp-agent-token-config.js +15 -0
- package/dist/models/mcp-agent-token-info.d.ts +1 -0
- package/dist/models/my-storage-quota.d.ts +24 -0
- package/dist/models/my-storage-quota.js +21 -0
- package/dist/models/quota-overview.d.ts +19 -0
- package/dist/models/quota-overview.js +15 -0
- package/dist/models/quota-usage.d.ts +27 -0
- package/dist/models/quota-usage.js +21 -0
- package/dist/models/quota-user-page.d.ts +18 -0
- package/dist/models/quota-user-page.js +15 -0
- package/dist/models/search-by-audit-log-request.d.ts +4 -0
- package/dist/models/search-by-audit-log-request.js +4 -0
- package/dist/models/setting-dto.d.ts +26 -0
- package/dist/models/setting-dto.js +15 -0
- package/dist/models/start-request.d.ts +14 -0
- package/dist/models/start-request.js +15 -0
- package/dist/models/storage-breakdown.d.ts +2 -0
- package/dist/models/team-quota-request.d.ts +17 -0
- package/dist/models/team-quota-request.js +15 -0
- package/dist/models/team-quota-view.d.ts +19 -0
- package/dist/models/team-quota-view.js +15 -0
- package/dist/models/user-quota-request.d.ts +17 -0
- package/dist/models/user-quota-request.js +15 -0
- package/docs/AIFilingRulesApi.md +8 -8
- package/docs/AIMaintenanceApi.md +201 -0
- package/docs/AITeamInboxesApi.md +8 -8
- package/docs/AiArchivingAdminControllerApi.md +4 -4
- package/docs/ESignTemplatesApi.md +4 -4
- package/docs/ErrorResponse.md +24 -0
- package/docs/McpAgentTokenConfig.md +30 -0
- package/docs/McpAgentTokenInfo.md +2 -0
- package/docs/McpTokenAdminControllerApi.md +48 -4
- package/docs/MyStorageQuota.md +28 -0
- package/docs/OrganisationSettingsApi.md +153 -0
- package/docs/QuotaAdministrationApi.md +427 -0
- package/docs/QuotaOverview.md +30 -0
- package/docs/QuotaUsage.md +34 -0
- package/docs/QuotaUserPage.md +26 -0
- package/docs/QuotasApi.md +52 -0
- package/docs/SearchAdministrationApi.md +45 -0
- package/docs/SettingDto.md +44 -0
- package/docs/StartRequest.md +20 -0
- package/docs/StorageBreakdown.md +2 -0
- package/docs/TeamQuotaRequest.md +20 -0
- package/docs/TeamQuotaView.md +30 -0
- package/docs/TusControllerApi.md +8 -7
- package/docs/UserQuotaRequest.md +20 -0
- package/models/enriched-audit-log.ts +4 -0
- package/models/error-response.ts +22 -0
- package/models/index.ts +11 -0
- package/models/mcp-agent-token-config.ts +37 -0
- package/models/mcp-agent-token-info.ts +1 -0
- package/models/my-storage-quota.ts +33 -0
- package/models/quota-overview.ts +25 -0
- package/models/quota-usage.ts +36 -0
- package/models/quota-user-page.ts +26 -0
- package/models/search-by-audit-log-request.ts +4 -0
- package/models/setting-dto.ts +32 -0
- package/models/start-request.ts +20 -0
- package/models/storage-breakdown.ts +4 -0
- package/models/team-quota-request.ts +23 -0
- package/models/team-quota-view.ts +25 -0
- package/models/user-quota-request.ts +23 -0
- package/package.json +1 -1
|
@@ -59,7 +59,7 @@ export declare const ESignTemplatesApiAxiosParamCreator: (configuration?: Config
|
|
|
59
59
|
* @param {*} [options] Override http request option.
|
|
60
60
|
* @throws {RequiredError}
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
list1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
* @summary Update a template
|
|
@@ -113,7 +113,7 @@ export declare const ESignTemplatesApiFp: (configuration?: Configuration) => {
|
|
|
113
113
|
* @param {*} [options] Override http request option.
|
|
114
114
|
* @throws {RequiredError}
|
|
115
115
|
*/
|
|
116
|
-
|
|
116
|
+
list1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SignatureTemplateDTO>>>;
|
|
117
117
|
/**
|
|
118
118
|
*
|
|
119
119
|
* @summary Update a template
|
|
@@ -167,7 +167,7 @@ export declare const ESignTemplatesApiFactory: (configuration?: Configuration, b
|
|
|
167
167
|
* @param {*} [options] Override http request option.
|
|
168
168
|
* @throws {RequiredError}
|
|
169
169
|
*/
|
|
170
|
-
|
|
170
|
+
list1(options?: RawAxiosRequestConfig): AxiosPromise<Array<SignatureTemplateDTO>>;
|
|
171
171
|
/**
|
|
172
172
|
*
|
|
173
173
|
* @summary Update a template
|
|
@@ -221,7 +221,7 @@ export declare class ESignTemplatesApi extends BaseAPI {
|
|
|
221
221
|
* @param {*} [options] Override http request option.
|
|
222
222
|
* @throws {RequiredError}
|
|
223
223
|
*/
|
|
224
|
-
|
|
224
|
+
list1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureTemplateDTO[], any, {}, any>>;
|
|
225
225
|
/**
|
|
226
226
|
*
|
|
227
227
|
* @summary Update a template
|
|
@@ -177,7 +177,7 @@ const ESignTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
177
177
|
* @param {*} [options] Override http request option.
|
|
178
178
|
* @throws {RequiredError}
|
|
179
179
|
*/
|
|
180
|
-
|
|
180
|
+
list1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
181
181
|
const localVarPath = `/api/v1/signature-templates`;
|
|
182
182
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
183
183
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -318,12 +318,12 @@ const ESignTemplatesApiFp = function (configuration) {
|
|
|
318
318
|
* @param {*} [options] Override http request option.
|
|
319
319
|
* @throws {RequiredError}
|
|
320
320
|
*/
|
|
321
|
-
|
|
321
|
+
list1(options) {
|
|
322
322
|
return __awaiter(this, void 0, void 0, function* () {
|
|
323
323
|
var _a, _b, _c;
|
|
324
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
324
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.list1(options);
|
|
325
325
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
326
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignTemplatesApi.
|
|
326
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignTemplatesApi.list1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
327
327
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
328
328
|
});
|
|
329
329
|
},
|
|
@@ -400,8 +400,8 @@ const ESignTemplatesApiFactory = function (configuration, basePath, axios) {
|
|
|
400
400
|
* @param {*} [options] Override http request option.
|
|
401
401
|
* @throws {RequiredError}
|
|
402
402
|
*/
|
|
403
|
-
|
|
404
|
-
return localVarFp.
|
|
403
|
+
list1(options) {
|
|
404
|
+
return localVarFp.list1(options).then((request) => request(axios, basePath));
|
|
405
405
|
},
|
|
406
406
|
/**
|
|
407
407
|
*
|
|
@@ -468,8 +468,8 @@ class ESignTemplatesApi extends base_1.BaseAPI {
|
|
|
468
468
|
* @param {*} [options] Override http request option.
|
|
469
469
|
* @throws {RequiredError}
|
|
470
470
|
*/
|
|
471
|
-
|
|
472
|
-
return (0, exports.ESignTemplatesApiFp)(this.configuration).
|
|
471
|
+
list1(options) {
|
|
472
|
+
return (0, exports.ESignTemplatesApiFp)(this.configuration).list1(options).then((request) => request(this.axios, this.basePath));
|
|
473
473
|
}
|
|
474
474
|
/**
|
|
475
475
|
*
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { McpAgentTokenConfig } from '../models';
|
|
15
16
|
import type { McpAgentTokenInfo } from '../models';
|
|
16
17
|
import type { McpAgentTokenResponse } from '../models';
|
|
17
18
|
import type { MintMcpAgentTokenRequest } from '../models';
|
|
@@ -19,13 +20,20 @@ import type { MintMcpAgentTokenRequest } from '../models';
|
|
|
19
20
|
* McpTokenAdminControllerApi - axios parameter creator
|
|
20
21
|
*/
|
|
21
22
|
export declare const McpTokenAdminControllerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
|
|
26
|
+
* @param {*} [options] Override http request option.
|
|
27
|
+
* @throws {RequiredError}
|
|
28
|
+
*/
|
|
29
|
+
config: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22
30
|
/**
|
|
23
31
|
*
|
|
24
32
|
* @summary List minted MCP agent tokens (never returns the credentials)
|
|
25
33
|
* @param {*} [options] Override http request option.
|
|
26
34
|
* @throws {RequiredError}
|
|
27
35
|
*/
|
|
28
|
-
|
|
36
|
+
list2: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
37
|
/**
|
|
30
38
|
*
|
|
31
39
|
* @summary Mint an MCP agent token for a dedicated user (admin only)
|
|
@@ -47,13 +55,20 @@ export declare const McpTokenAdminControllerApiAxiosParamCreator: (configuration
|
|
|
47
55
|
* McpTokenAdminControllerApi - functional programming interface
|
|
48
56
|
*/
|
|
49
57
|
export declare const McpTokenAdminControllerApiFp: (configuration?: Configuration) => {
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
config(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpAgentTokenConfig>>;
|
|
50
65
|
/**
|
|
51
66
|
*
|
|
52
67
|
* @summary List minted MCP agent tokens (never returns the credentials)
|
|
53
68
|
* @param {*} [options] Override http request option.
|
|
54
69
|
* @throws {RequiredError}
|
|
55
70
|
*/
|
|
56
|
-
|
|
71
|
+
list2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<McpAgentTokenInfo>>>;
|
|
57
72
|
/**
|
|
58
73
|
*
|
|
59
74
|
* @summary Mint an MCP agent token for a dedicated user (admin only)
|
|
@@ -75,13 +90,20 @@ export declare const McpTokenAdminControllerApiFp: (configuration?: Configuratio
|
|
|
75
90
|
* McpTokenAdminControllerApi - factory interface
|
|
76
91
|
*/
|
|
77
92
|
export declare const McpTokenAdminControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
config(options?: RawAxiosRequestConfig): AxiosPromise<McpAgentTokenConfig>;
|
|
78
100
|
/**
|
|
79
101
|
*
|
|
80
102
|
* @summary List minted MCP agent tokens (never returns the credentials)
|
|
81
103
|
* @param {*} [options] Override http request option.
|
|
82
104
|
* @throws {RequiredError}
|
|
83
105
|
*/
|
|
84
|
-
|
|
106
|
+
list2(options?: RawAxiosRequestConfig): AxiosPromise<Array<McpAgentTokenInfo>>;
|
|
85
107
|
/**
|
|
86
108
|
*
|
|
87
109
|
* @summary Mint an MCP agent token for a dedicated user (admin only)
|
|
@@ -103,13 +125,20 @@ export declare const McpTokenAdminControllerApiFactory: (configuration?: Configu
|
|
|
103
125
|
* McpTokenAdminControllerApi - object-oriented interface
|
|
104
126
|
*/
|
|
105
127
|
export declare class McpTokenAdminControllerApi extends BaseAPI {
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
|
|
131
|
+
* @param {*} [options] Override http request option.
|
|
132
|
+
* @throws {RequiredError}
|
|
133
|
+
*/
|
|
134
|
+
config(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<McpAgentTokenConfig, any, {}, any>>;
|
|
106
135
|
/**
|
|
107
136
|
*
|
|
108
137
|
* @summary List minted MCP agent tokens (never returns the credentials)
|
|
109
138
|
* @param {*} [options] Override http request option.
|
|
110
139
|
* @throws {RequiredError}
|
|
111
140
|
*/
|
|
112
|
-
|
|
141
|
+
list2(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<McpAgentTokenInfo[], any, {}, any>>;
|
|
113
142
|
/**
|
|
114
143
|
*
|
|
115
144
|
* @summary Mint an MCP agent token for a dedicated user (admin only)
|
|
@@ -34,13 +34,42 @@ const base_1 = require("../base");
|
|
|
34
34
|
*/
|
|
35
35
|
const McpTokenAdminControllerApiAxiosParamCreator = function (configuration) {
|
|
36
36
|
return {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
config: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
44
|
+
const localVarPath = `/api/v1/admin/mcp/tokens/config`;
|
|
45
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
47
|
+
let baseOptions;
|
|
48
|
+
if (configuration) {
|
|
49
|
+
baseOptions = configuration.baseOptions;
|
|
50
|
+
}
|
|
51
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
52
|
+
const localVarHeaderParameter = {};
|
|
53
|
+
const localVarQueryParameter = {};
|
|
54
|
+
// authentication keycloak_auth required
|
|
55
|
+
// http bearer authentication required
|
|
56
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
57
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
58
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
59
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
61
|
+
return {
|
|
62
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
63
|
+
options: localVarRequestOptions,
|
|
64
|
+
};
|
|
65
|
+
}),
|
|
37
66
|
/**
|
|
38
67
|
*
|
|
39
68
|
* @summary List minted MCP agent tokens (never returns the credentials)
|
|
40
69
|
* @param {*} [options] Override http request option.
|
|
41
70
|
* @throws {RequiredError}
|
|
42
71
|
*/
|
|
43
|
-
|
|
72
|
+
list2: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
44
73
|
const localVarPath = `/api/v1/admin/mcp/tokens`;
|
|
45
74
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
75
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -138,18 +167,33 @@ exports.McpTokenAdminControllerApiAxiosParamCreator = McpTokenAdminControllerApi
|
|
|
138
167
|
const McpTokenAdminControllerApiFp = function (configuration) {
|
|
139
168
|
const localVarAxiosParamCreator = (0, exports.McpTokenAdminControllerApiAxiosParamCreator)(configuration);
|
|
140
169
|
return {
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
|
|
173
|
+
* @param {*} [options] Override http request option.
|
|
174
|
+
* @throws {RequiredError}
|
|
175
|
+
*/
|
|
176
|
+
config(options) {
|
|
177
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
178
|
+
var _a, _b, _c;
|
|
179
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.config(options);
|
|
180
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
181
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['McpTokenAdminControllerApi.config']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
182
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
183
|
+
});
|
|
184
|
+
},
|
|
141
185
|
/**
|
|
142
186
|
*
|
|
143
187
|
* @summary List minted MCP agent tokens (never returns the credentials)
|
|
144
188
|
* @param {*} [options] Override http request option.
|
|
145
189
|
* @throws {RequiredError}
|
|
146
190
|
*/
|
|
147
|
-
|
|
191
|
+
list2(options) {
|
|
148
192
|
return __awaiter(this, void 0, void 0, function* () {
|
|
149
193
|
var _a, _b, _c;
|
|
150
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
194
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.list2(options);
|
|
151
195
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
152
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['McpTokenAdminControllerApi.
|
|
196
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['McpTokenAdminControllerApi.list2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
153
197
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
154
198
|
});
|
|
155
199
|
},
|
|
@@ -194,14 +238,23 @@ exports.McpTokenAdminControllerApiFp = McpTokenAdminControllerApiFp;
|
|
|
194
238
|
const McpTokenAdminControllerApiFactory = function (configuration, basePath, axios) {
|
|
195
239
|
const localVarFp = (0, exports.McpTokenAdminControllerApiFp)(configuration);
|
|
196
240
|
return {
|
|
241
|
+
/**
|
|
242
|
+
*
|
|
243
|
+
* @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
|
|
244
|
+
* @param {*} [options] Override http request option.
|
|
245
|
+
* @throws {RequiredError}
|
|
246
|
+
*/
|
|
247
|
+
config(options) {
|
|
248
|
+
return localVarFp.config(options).then((request) => request(axios, basePath));
|
|
249
|
+
},
|
|
197
250
|
/**
|
|
198
251
|
*
|
|
199
252
|
* @summary List minted MCP agent tokens (never returns the credentials)
|
|
200
253
|
* @param {*} [options] Override http request option.
|
|
201
254
|
* @throws {RequiredError}
|
|
202
255
|
*/
|
|
203
|
-
|
|
204
|
-
return localVarFp.
|
|
256
|
+
list2(options) {
|
|
257
|
+
return localVarFp.list2(options).then((request) => request(axios, basePath));
|
|
205
258
|
},
|
|
206
259
|
/**
|
|
207
260
|
*
|
|
@@ -230,14 +283,23 @@ exports.McpTokenAdminControllerApiFactory = McpTokenAdminControllerApiFactory;
|
|
|
230
283
|
* McpTokenAdminControllerApi - object-oriented interface
|
|
231
284
|
*/
|
|
232
285
|
class McpTokenAdminControllerApi extends base_1.BaseAPI {
|
|
286
|
+
/**
|
|
287
|
+
*
|
|
288
|
+
* @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
|
|
289
|
+
* @param {*} [options] Override http request option.
|
|
290
|
+
* @throws {RequiredError}
|
|
291
|
+
*/
|
|
292
|
+
config(options) {
|
|
293
|
+
return (0, exports.McpTokenAdminControllerApiFp)(this.configuration).config(options).then((request) => request(this.axios, this.basePath));
|
|
294
|
+
}
|
|
233
295
|
/**
|
|
234
296
|
*
|
|
235
297
|
* @summary List minted MCP agent tokens (never returns the credentials)
|
|
236
298
|
* @param {*} [options] Override http request option.
|
|
237
299
|
* @throws {RequiredError}
|
|
238
300
|
*/
|
|
239
|
-
|
|
240
|
-
return (0, exports.McpTokenAdminControllerApiFp)(this.configuration).
|
|
301
|
+
list2(options) {
|
|
302
|
+
return (0, exports.McpTokenAdminControllerApiFp)(this.configuration).list2(options).then((request) => request(this.axios, this.basePath));
|
|
241
303
|
}
|
|
242
304
|
/**
|
|
243
305
|
*
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openfilz-api
|
|
3
|
+
* API for Document Management System
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { SettingDto } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* OrganisationSettingsApi - axios parameter creator
|
|
18
|
+
*/
|
|
19
|
+
export declare const OrganisationSettingsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @summary List the organisation settings with their effective and deployment values
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
list: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @summary Reset a setting to its deployment value
|
|
30
|
+
* @param {string} key
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
reset1: (key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary Change settings (map of key → value). All are validated before any is stored; a locked key answers 409, an unknown key or invalid value 400
|
|
38
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
update2: (requestBody: {
|
|
43
|
+
[key: string]: string;
|
|
44
|
+
}, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* OrganisationSettingsApi - functional programming interface
|
|
48
|
+
*/
|
|
49
|
+
export declare const OrganisationSettingsApiFp: (configuration?: Configuration) => {
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @summary List the organisation settings with their effective and deployment values
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
list(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SettingDto>>>;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @summary Reset a setting to its deployment value
|
|
60
|
+
* @param {string} key
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
reset1(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SettingDto>>>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @summary Change settings (map of key → value). All are validated before any is stored; a locked key answers 409, an unknown key or invalid value 400
|
|
68
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
*/
|
|
72
|
+
update2(requestBody: {
|
|
73
|
+
[key: string]: string;
|
|
74
|
+
}, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SettingDto>>>;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* OrganisationSettingsApi - factory interface
|
|
78
|
+
*/
|
|
79
|
+
export declare const OrganisationSettingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @summary List the organisation settings with their effective and deployment values
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
list(options?: RawAxiosRequestConfig): AxiosPromise<Array<SettingDto>>;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @summary Reset a setting to its deployment value
|
|
90
|
+
* @param {string} key
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
reset1(key: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<SettingDto>>;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @summary Change settings (map of key → value). All are validated before any is stored; a locked key answers 409, an unknown key or invalid value 400
|
|
98
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
update2(requestBody: {
|
|
103
|
+
[key: string]: string;
|
|
104
|
+
}, options?: RawAxiosRequestConfig): AxiosPromise<Array<SettingDto>>;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* OrganisationSettingsApi - object-oriented interface
|
|
108
|
+
*/
|
|
109
|
+
export declare class OrganisationSettingsApi extends BaseAPI {
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @summary List the organisation settings with their effective and deployment values
|
|
113
|
+
* @param {*} [options] Override http request option.
|
|
114
|
+
* @throws {RequiredError}
|
|
115
|
+
*/
|
|
116
|
+
list(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SettingDto[], any, {}, any>>;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @summary Reset a setting to its deployment value
|
|
120
|
+
* @param {string} key
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
*/
|
|
124
|
+
reset1(key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SettingDto[], any, {}, any>>;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @summary Change settings (map of key → value). All are validated before any is stored; a locked key answers 409, an unknown key or invalid value 400
|
|
128
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
129
|
+
* @param {*} [options] Override http request option.
|
|
130
|
+
* @throws {RequiredError}
|
|
131
|
+
*/
|
|
132
|
+
update2(requestBody: {
|
|
133
|
+
[key: string]: string;
|
|
134
|
+
}, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SettingDto[], any, {}, any>>;
|
|
135
|
+
}
|