@openfilz-sdk/typescript 1.2.36 → 1.2.37

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.
@@ -16,6 +16,7 @@ api/esign-templates-api.ts
16
16
  api/favorites-api.ts
17
17
  api/file-controller-api.ts
18
18
  api/folder-controller-api.ts
19
+ api/mcp-discovery-controller-api.ts
19
20
  api/settings-api.ts
20
21
  api/tus-controller-api.ts
21
22
  base.ts
@@ -71,6 +72,7 @@ docs/FolderElementInfo.md
71
72
  docs/FolderResponse.md
72
73
  docs/InstantiateTemplateRequest.md
73
74
  docs/ListAiModelsRequest.md
75
+ docs/McpDiscoveryControllerApi.md
74
76
  docs/MoveAudit.md
75
77
  docs/MoveRequest.md
76
78
  docs/PublicSignatureView.md
@@ -1 +1 @@
1
- 3a3416e67055c5b6766c590a2d4bb0b3ee1b3e2ed7696515cb807ad3da982d48
1
+ 8bfea091c71637a00f33f0d1859d884f31d2656f546b36a406ae88b2493decbc
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @openfilz-sdk/typescript@1.2.36
1
+ ## @openfilz-sdk/typescript@1.2.37
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @openfilz-sdk/typescript@1.2.36 --save
39
+ npm install @openfilz-sdk/typescript@1.2.37 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -121,6 +121,8 @@ Class | Method | HTTP request | Description
121
121
  *FolderControllerApi* | [**listFolder**](docs/FolderControllerApi.md#listfolder) | **GET** /api/v1/folders/list | List files and subfolders contained in a given folder
122
122
  *FolderControllerApi* | [**moveFolders**](docs/FolderControllerApi.md#movefolders) | **POST** /api/v1/folders/move | Move folders
123
123
  *FolderControllerApi* | [**renameFolder**](docs/FolderControllerApi.md#renamefolder) | **PUT** /api/v1/folders/{folderId}/rename | Rename a folder
124
+ *McpDiscoveryControllerApi* | [**authorizationServerMetadata**](docs/McpDiscoveryControllerApi.md#authorizationservermetadata) | **GET** /.well-known/oauth-authorization-server |
125
+ *McpDiscoveryControllerApi* | [**protectedResourceMetadata**](docs/McpDiscoveryControllerApi.md#protectedresourcemetadata) | **GET** /.well-known/oauth-protected-resource |
124
126
  *SettingsApi* | [**getSettings1**](docs/SettingsApi.md#getsettings1) | **GET** /api/v1/settings | Get user\'s settings
125
127
  *TusControllerApi* | [**_options**](docs/TusControllerApi.md#_options) | **OPTIONS** /api/v1/tus | TUS capability discovery
126
128
  *TusControllerApi* | [**cancelUpload**](docs/TusControllerApi.md#cancelupload) | **DELETE** /api/v1/tus/{uploadId} | Cancel upload
@@ -0,0 +1,175 @@
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
+ import type { Configuration } from '../configuration';
17
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
+ import globalAxios from 'axios';
19
+ // Some imports not used depending on template conditions
20
+ // @ts-ignore
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
22
+ // @ts-ignore
23
+ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
+ /**
25
+ * McpDiscoveryControllerApi - axios parameter creator
26
+ */
27
+ export const McpDiscoveryControllerApiAxiosParamCreator = function (configuration?: Configuration) {
28
+ return {
29
+ /**
30
+ *
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ authorizationServerMetadata: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35
+ const localVarPath = `/.well-known/oauth-authorization-server`;
36
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38
+ let baseOptions;
39
+ if (configuration) {
40
+ baseOptions = configuration.baseOptions;
41
+ }
42
+
43
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
44
+ const localVarHeaderParameter = {} as any;
45
+ const localVarQueryParameter = {} as any;
46
+
47
+ // authentication keycloak_auth required
48
+ // http bearer authentication required
49
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
50
+
51
+
52
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
53
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
54
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
55
+
56
+ return {
57
+ url: toPathString(localVarUrlObj),
58
+ options: localVarRequestOptions,
59
+ };
60
+ },
61
+ /**
62
+ *
63
+ * @param {*} [options] Override http request option.
64
+ * @throws {RequiredError}
65
+ */
66
+ protectedResourceMetadata: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
67
+ const localVarPath = `/.well-known/oauth-protected-resource`;
68
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
69
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
70
+ let baseOptions;
71
+ if (configuration) {
72
+ baseOptions = configuration.baseOptions;
73
+ }
74
+
75
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
76
+ const localVarHeaderParameter = {} as any;
77
+ const localVarQueryParameter = {} as any;
78
+
79
+ // authentication keycloak_auth required
80
+ // http bearer authentication required
81
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
82
+
83
+ localVarHeaderParameter['Accept'] = '*/*';
84
+
85
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
86
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
87
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
88
+
89
+ return {
90
+ url: toPathString(localVarUrlObj),
91
+ options: localVarRequestOptions,
92
+ };
93
+ },
94
+ }
95
+ };
96
+
97
+ /**
98
+ * McpDiscoveryControllerApi - functional programming interface
99
+ */
100
+ export const McpDiscoveryControllerApiFp = function(configuration?: Configuration) {
101
+ const localVarAxiosParamCreator = McpDiscoveryControllerApiAxiosParamCreator(configuration)
102
+ return {
103
+ /**
104
+ *
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ async authorizationServerMetadata(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
109
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authorizationServerMetadata(options);
110
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
111
+ const localVarOperationServerBasePath = operationServerMap['McpDiscoveryControllerApi.authorizationServerMetadata']?.[localVarOperationServerIndex]?.url;
112
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
113
+ },
114
+ /**
115
+ *
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ */
119
+ async protectedResourceMetadata(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
120
+ const localVarAxiosArgs = await localVarAxiosParamCreator.protectedResourceMetadata(options);
121
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
122
+ const localVarOperationServerBasePath = operationServerMap['McpDiscoveryControllerApi.protectedResourceMetadata']?.[localVarOperationServerIndex]?.url;
123
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
124
+ },
125
+ }
126
+ };
127
+
128
+ /**
129
+ * McpDiscoveryControllerApi - factory interface
130
+ */
131
+ export const McpDiscoveryControllerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
132
+ const localVarFp = McpDiscoveryControllerApiFp(configuration)
133
+ return {
134
+ /**
135
+ *
136
+ * @param {*} [options] Override http request option.
137
+ * @throws {RequiredError}
138
+ */
139
+ authorizationServerMetadata(options?: RawAxiosRequestConfig): AxiosPromise<void> {
140
+ return localVarFp.authorizationServerMetadata(options).then((request) => request(axios, basePath));
141
+ },
142
+ /**
143
+ *
144
+ * @param {*} [options] Override http request option.
145
+ * @throws {RequiredError}
146
+ */
147
+ protectedResourceMetadata(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
148
+ return localVarFp.protectedResourceMetadata(options).then((request) => request(axios, basePath));
149
+ },
150
+ };
151
+ };
152
+
153
+ /**
154
+ * McpDiscoveryControllerApi - object-oriented interface
155
+ */
156
+ export class McpDiscoveryControllerApi extends BaseAPI {
157
+ /**
158
+ *
159
+ * @param {*} [options] Override http request option.
160
+ * @throws {RequiredError}
161
+ */
162
+ public authorizationServerMetadata(options?: RawAxiosRequestConfig) {
163
+ return McpDiscoveryControllerApiFp(this.configuration).authorizationServerMetadata(options).then((request) => request(this.axios, this.basePath));
164
+ }
165
+
166
+ /**
167
+ *
168
+ * @param {*} [options] Override http request option.
169
+ * @throws {RequiredError}
170
+ */
171
+ public protectedResourceMetadata(options?: RawAxiosRequestConfig) {
172
+ return McpDiscoveryControllerApiFp(this.configuration).protectedResourceMetadata(options).then((request) => request(this.axios, this.basePath));
173
+ }
174
+ }
175
+
package/api.ts CHANGED
@@ -27,6 +27,7 @@ export * from './api/esign-templates-api';
27
27
  export * from './api/favorites-api';
28
28
  export * from './api/file-controller-api';
29
29
  export * from './api/folder-controller-api';
30
+ export * from './api/mcp-discovery-controller-api';
30
31
  export * from './api/settings-api';
31
32
  export * from './api/tus-controller-api';
32
33
 
@@ -0,0 +1,88 @@
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
+ /**
16
+ * McpDiscoveryControllerApi - axios parameter creator
17
+ */
18
+ export declare const McpDiscoveryControllerApiAxiosParamCreator: (configuration?: Configuration) => {
19
+ /**
20
+ *
21
+ * @param {*} [options] Override http request option.
22
+ * @throws {RequiredError}
23
+ */
24
+ authorizationServerMetadata: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25
+ /**
26
+ *
27
+ * @param {*} [options] Override http request option.
28
+ * @throws {RequiredError}
29
+ */
30
+ protectedResourceMetadata: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
+ };
32
+ /**
33
+ * McpDiscoveryControllerApi - functional programming interface
34
+ */
35
+ export declare const McpDiscoveryControllerApiFp: (configuration?: Configuration) => {
36
+ /**
37
+ *
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ authorizationServerMetadata(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
42
+ /**
43
+ *
44
+ * @param {*} [options] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ protectedResourceMetadata(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
48
+ [key: string]: any;
49
+ }>>;
50
+ };
51
+ /**
52
+ * McpDiscoveryControllerApi - factory interface
53
+ */
54
+ export declare const McpDiscoveryControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
55
+ /**
56
+ *
57
+ * @param {*} [options] Override http request option.
58
+ * @throws {RequiredError}
59
+ */
60
+ authorizationServerMetadata(options?: RawAxiosRequestConfig): AxiosPromise<void>;
61
+ /**
62
+ *
63
+ * @param {*} [options] Override http request option.
64
+ * @throws {RequiredError}
65
+ */
66
+ protectedResourceMetadata(options?: RawAxiosRequestConfig): AxiosPromise<{
67
+ [key: string]: any;
68
+ }>;
69
+ };
70
+ /**
71
+ * McpDiscoveryControllerApi - object-oriented interface
72
+ */
73
+ export declare class McpDiscoveryControllerApi extends BaseAPI {
74
+ /**
75
+ *
76
+ * @param {*} [options] Override http request option.
77
+ * @throws {RequiredError}
78
+ */
79
+ authorizationServerMetadata(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
80
+ /**
81
+ *
82
+ * @param {*} [options] Override http request option.
83
+ * @throws {RequiredError}
84
+ */
85
+ protectedResourceMetadata(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
86
+ [key: string]: any;
87
+ }, any, {}>>;
88
+ }
@@ -0,0 +1,178 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * openfilz-api
6
+ * API for Document Management System
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.McpDiscoveryControllerApi = exports.McpDiscoveryControllerApiFactory = exports.McpDiscoveryControllerApiFp = exports.McpDiscoveryControllerApiAxiosParamCreator = void 0;
26
+ const axios_1 = require("axios");
27
+ // Some imports not used depending on template conditions
28
+ // @ts-ignore
29
+ const common_1 = require("../common");
30
+ // @ts-ignore
31
+ const base_1 = require("../base");
32
+ /**
33
+ * McpDiscoveryControllerApi - axios parameter creator
34
+ */
35
+ const McpDiscoveryControllerApiAxiosParamCreator = function (configuration) {
36
+ return {
37
+ /**
38
+ *
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ authorizationServerMetadata: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
43
+ const localVarPath = `/.well-known/oauth-authorization-server`;
44
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
45
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
46
+ let baseOptions;
47
+ if (configuration) {
48
+ baseOptions = configuration.baseOptions;
49
+ }
50
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
51
+ const localVarHeaderParameter = {};
52
+ const localVarQueryParameter = {};
53
+ // authentication keycloak_auth required
54
+ // http bearer authentication required
55
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
56
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
57
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
59
+ return {
60
+ url: (0, common_1.toPathString)(localVarUrlObj),
61
+ options: localVarRequestOptions,
62
+ };
63
+ }),
64
+ /**
65
+ *
66
+ * @param {*} [options] Override http request option.
67
+ * @throws {RequiredError}
68
+ */
69
+ protectedResourceMetadata: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
70
+ const localVarPath = `/.well-known/oauth-protected-resource`;
71
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
72
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
73
+ let baseOptions;
74
+ if (configuration) {
75
+ baseOptions = configuration.baseOptions;
76
+ }
77
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
78
+ const localVarHeaderParameter = {};
79
+ const localVarQueryParameter = {};
80
+ // authentication keycloak_auth required
81
+ // http bearer authentication required
82
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
83
+ localVarHeaderParameter['Accept'] = '*/*';
84
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
85
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
86
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
87
+ return {
88
+ url: (0, common_1.toPathString)(localVarUrlObj),
89
+ options: localVarRequestOptions,
90
+ };
91
+ }),
92
+ };
93
+ };
94
+ exports.McpDiscoveryControllerApiAxiosParamCreator = McpDiscoveryControllerApiAxiosParamCreator;
95
+ /**
96
+ * McpDiscoveryControllerApi - functional programming interface
97
+ */
98
+ const McpDiscoveryControllerApiFp = function (configuration) {
99
+ const localVarAxiosParamCreator = (0, exports.McpDiscoveryControllerApiAxiosParamCreator)(configuration);
100
+ return {
101
+ /**
102
+ *
103
+ * @param {*} [options] Override http request option.
104
+ * @throws {RequiredError}
105
+ */
106
+ authorizationServerMetadata(options) {
107
+ return __awaiter(this, void 0, void 0, function* () {
108
+ var _a, _b, _c;
109
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.authorizationServerMetadata(options);
110
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
111
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['McpDiscoveryControllerApi.authorizationServerMetadata']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
112
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
113
+ });
114
+ },
115
+ /**
116
+ *
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ protectedResourceMetadata(options) {
121
+ return __awaiter(this, void 0, void 0, function* () {
122
+ var _a, _b, _c;
123
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.protectedResourceMetadata(options);
124
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
125
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['McpDiscoveryControllerApi.protectedResourceMetadata']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
126
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
127
+ });
128
+ },
129
+ };
130
+ };
131
+ exports.McpDiscoveryControllerApiFp = McpDiscoveryControllerApiFp;
132
+ /**
133
+ * McpDiscoveryControllerApi - factory interface
134
+ */
135
+ const McpDiscoveryControllerApiFactory = function (configuration, basePath, axios) {
136
+ const localVarFp = (0, exports.McpDiscoveryControllerApiFp)(configuration);
137
+ return {
138
+ /**
139
+ *
140
+ * @param {*} [options] Override http request option.
141
+ * @throws {RequiredError}
142
+ */
143
+ authorizationServerMetadata(options) {
144
+ return localVarFp.authorizationServerMetadata(options).then((request) => request(axios, basePath));
145
+ },
146
+ /**
147
+ *
148
+ * @param {*} [options] Override http request option.
149
+ * @throws {RequiredError}
150
+ */
151
+ protectedResourceMetadata(options) {
152
+ return localVarFp.protectedResourceMetadata(options).then((request) => request(axios, basePath));
153
+ },
154
+ };
155
+ };
156
+ exports.McpDiscoveryControllerApiFactory = McpDiscoveryControllerApiFactory;
157
+ /**
158
+ * McpDiscoveryControllerApi - object-oriented interface
159
+ */
160
+ class McpDiscoveryControllerApi extends base_1.BaseAPI {
161
+ /**
162
+ *
163
+ * @param {*} [options] Override http request option.
164
+ * @throws {RequiredError}
165
+ */
166
+ authorizationServerMetadata(options) {
167
+ return (0, exports.McpDiscoveryControllerApiFp)(this.configuration).authorizationServerMetadata(options).then((request) => request(this.axios, this.basePath));
168
+ }
169
+ /**
170
+ *
171
+ * @param {*} [options] Override http request option.
172
+ * @throws {RequiredError}
173
+ */
174
+ protectedResourceMetadata(options) {
175
+ return (0, exports.McpDiscoveryControllerApiFp)(this.configuration).protectedResourceMetadata(options).then((request) => request(this.axios, this.basePath));
176
+ }
177
+ }
178
+ exports.McpDiscoveryControllerApi = McpDiscoveryControllerApi;
package/dist/api.d.ts CHANGED
@@ -22,5 +22,6 @@ export * from './api/esign-templates-api';
22
22
  export * from './api/favorites-api';
23
23
  export * from './api/file-controller-api';
24
24
  export * from './api/folder-controller-api';
25
+ export * from './api/mcp-discovery-controller-api';
25
26
  export * from './api/settings-api';
26
27
  export * from './api/tus-controller-api';
package/dist/api.js CHANGED
@@ -40,5 +40,6 @@ __exportStar(require("./api/esign-templates-api"), exports);
40
40
  __exportStar(require("./api/favorites-api"), exports);
41
41
  __exportStar(require("./api/file-controller-api"), exports);
42
42
  __exportStar(require("./api/folder-controller-api"), exports);
43
+ __exportStar(require("./api/mcp-discovery-controller-api"), exports);
43
44
  __exportStar(require("./api/settings-api"), exports);
44
45
  __exportStar(require("./api/tus-controller-api"), exports);
@@ -0,0 +1,88 @@
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
+ /**
16
+ * McpDiscoveryControllerApi - axios parameter creator
17
+ */
18
+ export declare const McpDiscoveryControllerApiAxiosParamCreator: (configuration?: Configuration) => {
19
+ /**
20
+ *
21
+ * @param {*} [options] Override http request option.
22
+ * @throws {RequiredError}
23
+ */
24
+ authorizationServerMetadata: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25
+ /**
26
+ *
27
+ * @param {*} [options] Override http request option.
28
+ * @throws {RequiredError}
29
+ */
30
+ protectedResourceMetadata: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
+ };
32
+ /**
33
+ * McpDiscoveryControllerApi - functional programming interface
34
+ */
35
+ export declare const McpDiscoveryControllerApiFp: (configuration?: Configuration) => {
36
+ /**
37
+ *
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ authorizationServerMetadata(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
42
+ /**
43
+ *
44
+ * @param {*} [options] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ protectedResourceMetadata(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
48
+ [key: string]: any;
49
+ }>>;
50
+ };
51
+ /**
52
+ * McpDiscoveryControllerApi - factory interface
53
+ */
54
+ export declare const McpDiscoveryControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
55
+ /**
56
+ *
57
+ * @param {*} [options] Override http request option.
58
+ * @throws {RequiredError}
59
+ */
60
+ authorizationServerMetadata(options?: RawAxiosRequestConfig): AxiosPromise<void>;
61
+ /**
62
+ *
63
+ * @param {*} [options] Override http request option.
64
+ * @throws {RequiredError}
65
+ */
66
+ protectedResourceMetadata(options?: RawAxiosRequestConfig): AxiosPromise<{
67
+ [key: string]: any;
68
+ }>;
69
+ };
70
+ /**
71
+ * McpDiscoveryControllerApi - object-oriented interface
72
+ */
73
+ export declare class McpDiscoveryControllerApi extends BaseAPI {
74
+ /**
75
+ *
76
+ * @param {*} [options] Override http request option.
77
+ * @throws {RequiredError}
78
+ */
79
+ authorizationServerMetadata(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
80
+ /**
81
+ *
82
+ * @param {*} [options] Override http request option.
83
+ * @throws {RequiredError}
84
+ */
85
+ protectedResourceMetadata(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
86
+ [key: string]: any;
87
+ }, any, {}>>;
88
+ }
@@ -0,0 +1,171 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import globalAxios from 'axios';
24
+ // Some imports not used depending on template conditions
25
+ // @ts-ignore
26
+ import { DUMMY_BASE_URL, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
27
+ // @ts-ignore
28
+ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
+ /**
30
+ * McpDiscoveryControllerApi - axios parameter creator
31
+ */
32
+ export const McpDiscoveryControllerApiAxiosParamCreator = function (configuration) {
33
+ return {
34
+ /**
35
+ *
36
+ * @param {*} [options] Override http request option.
37
+ * @throws {RequiredError}
38
+ */
39
+ authorizationServerMetadata: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
40
+ const localVarPath = `/.well-known/oauth-authorization-server`;
41
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
42
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43
+ let baseOptions;
44
+ if (configuration) {
45
+ baseOptions = configuration.baseOptions;
46
+ }
47
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
48
+ const localVarHeaderParameter = {};
49
+ const localVarQueryParameter = {};
50
+ // authentication keycloak_auth required
51
+ // http bearer authentication required
52
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
53
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
54
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
56
+ return {
57
+ url: toPathString(localVarUrlObj),
58
+ options: localVarRequestOptions,
59
+ };
60
+ }),
61
+ /**
62
+ *
63
+ * @param {*} [options] Override http request option.
64
+ * @throws {RequiredError}
65
+ */
66
+ protectedResourceMetadata: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
67
+ const localVarPath = `/.well-known/oauth-protected-resource`;
68
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
69
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
70
+ let baseOptions;
71
+ if (configuration) {
72
+ baseOptions = configuration.baseOptions;
73
+ }
74
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
75
+ const localVarHeaderParameter = {};
76
+ const localVarQueryParameter = {};
77
+ // authentication keycloak_auth required
78
+ // http bearer authentication required
79
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
80
+ localVarHeaderParameter['Accept'] = '*/*';
81
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
82
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
83
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
84
+ return {
85
+ url: toPathString(localVarUrlObj),
86
+ options: localVarRequestOptions,
87
+ };
88
+ }),
89
+ };
90
+ };
91
+ /**
92
+ * McpDiscoveryControllerApi - functional programming interface
93
+ */
94
+ export const McpDiscoveryControllerApiFp = function (configuration) {
95
+ const localVarAxiosParamCreator = McpDiscoveryControllerApiAxiosParamCreator(configuration);
96
+ return {
97
+ /**
98
+ *
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ authorizationServerMetadata(options) {
103
+ return __awaiter(this, void 0, void 0, function* () {
104
+ var _a, _b, _c;
105
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.authorizationServerMetadata(options);
106
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
107
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['McpDiscoveryControllerApi.authorizationServerMetadata']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
108
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
109
+ });
110
+ },
111
+ /**
112
+ *
113
+ * @param {*} [options] Override http request option.
114
+ * @throws {RequiredError}
115
+ */
116
+ protectedResourceMetadata(options) {
117
+ return __awaiter(this, void 0, void 0, function* () {
118
+ var _a, _b, _c;
119
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.protectedResourceMetadata(options);
120
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
121
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['McpDiscoveryControllerApi.protectedResourceMetadata']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
122
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
123
+ });
124
+ },
125
+ };
126
+ };
127
+ /**
128
+ * McpDiscoveryControllerApi - factory interface
129
+ */
130
+ export const McpDiscoveryControllerApiFactory = function (configuration, basePath, axios) {
131
+ const localVarFp = McpDiscoveryControllerApiFp(configuration);
132
+ return {
133
+ /**
134
+ *
135
+ * @param {*} [options] Override http request option.
136
+ * @throws {RequiredError}
137
+ */
138
+ authorizationServerMetadata(options) {
139
+ return localVarFp.authorizationServerMetadata(options).then((request) => request(axios, basePath));
140
+ },
141
+ /**
142
+ *
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ protectedResourceMetadata(options) {
147
+ return localVarFp.protectedResourceMetadata(options).then((request) => request(axios, basePath));
148
+ },
149
+ };
150
+ };
151
+ /**
152
+ * McpDiscoveryControllerApi - object-oriented interface
153
+ */
154
+ export class McpDiscoveryControllerApi extends BaseAPI {
155
+ /**
156
+ *
157
+ * @param {*} [options] Override http request option.
158
+ * @throws {RequiredError}
159
+ */
160
+ authorizationServerMetadata(options) {
161
+ return McpDiscoveryControllerApiFp(this.configuration).authorizationServerMetadata(options).then((request) => request(this.axios, this.basePath));
162
+ }
163
+ /**
164
+ *
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ */
168
+ protectedResourceMetadata(options) {
169
+ return McpDiscoveryControllerApiFp(this.configuration).protectedResourceMetadata(options).then((request) => request(this.axios, this.basePath));
170
+ }
171
+ }
package/dist/esm/api.d.ts CHANGED
@@ -22,5 +22,6 @@ export * from './api/esign-templates-api';
22
22
  export * from './api/favorites-api';
23
23
  export * from './api/file-controller-api';
24
24
  export * from './api/folder-controller-api';
25
+ export * from './api/mcp-discovery-controller-api';
25
26
  export * from './api/settings-api';
26
27
  export * from './api/tus-controller-api';
package/dist/esm/api.js CHANGED
@@ -24,5 +24,6 @@ export * from './api/esign-templates-api';
24
24
  export * from './api/favorites-api';
25
25
  export * from './api/file-controller-api';
26
26
  export * from './api/folder-controller-api';
27
+ export * from './api/mcp-discovery-controller-api';
27
28
  export * from './api/settings-api';
28
29
  export * from './api/tus-controller-api';
@@ -0,0 +1,95 @@
1
+ # McpDiscoveryControllerApi
2
+
3
+ All URIs are relative to *http://localhost:8081*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**authorizationServerMetadata**](#authorizationservermetadata) | **GET** /.well-known/oauth-authorization-server | |
8
+ |[**protectedResourceMetadata**](#protectedresourcemetadata) | **GET** /.well-known/oauth-protected-resource | |
9
+
10
+ # **authorizationServerMetadata**
11
+ > authorizationServerMetadata()
12
+
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ McpDiscoveryControllerApi,
19
+ Configuration
20
+ } from '@openfilz-sdk/typescript';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new McpDiscoveryControllerApi(configuration);
24
+
25
+ const { status, data } = await apiInstance.authorizationServerMetadata();
26
+ ```
27
+
28
+ ### Parameters
29
+ This endpoint does not have any parameters.
30
+
31
+
32
+ ### Return type
33
+
34
+ void (empty response body)
35
+
36
+ ### Authorization
37
+
38
+ [keycloak_auth](../README.md#keycloak_auth)
39
+
40
+ ### HTTP request headers
41
+
42
+ - **Content-Type**: Not defined
43
+ - **Accept**: Not defined
44
+
45
+
46
+ ### HTTP response details
47
+ | Status code | Description | Response headers |
48
+ |-------------|-------------|------------------|
49
+ |**200** | OK | - |
50
+
51
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
52
+
53
+ # **protectedResourceMetadata**
54
+ > { [key: string]: any; } protectedResourceMetadata()
55
+
56
+
57
+ ### Example
58
+
59
+ ```typescript
60
+ import {
61
+ McpDiscoveryControllerApi,
62
+ Configuration
63
+ } from '@openfilz-sdk/typescript';
64
+
65
+ const configuration = new Configuration();
66
+ const apiInstance = new McpDiscoveryControllerApi(configuration);
67
+
68
+ const { status, data } = await apiInstance.protectedResourceMetadata();
69
+ ```
70
+
71
+ ### Parameters
72
+ This endpoint does not have any parameters.
73
+
74
+
75
+ ### Return type
76
+
77
+ **{ [key: string]: any; }**
78
+
79
+ ### Authorization
80
+
81
+ [keycloak_auth](../README.md#keycloak_auth)
82
+
83
+ ### HTTP request headers
84
+
85
+ - **Content-Type**: Not defined
86
+ - **Accept**: */*
87
+
88
+
89
+ ### HTTP response details
90
+ | Status code | Description | Response headers |
91
+ |-------------|-------------|------------------|
92
+ |**200** | OK | - |
93
+
94
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
95
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfilz-sdk/typescript",
3
- "version": "1.2.36",
3
+ "version": "1.2.37",
4
4
  "description": "OpenAPI client for @openfilz-sdk/typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {