@openfilz-sdk/typescript-ee 1.8.12 → 1.8.13

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.
@@ -101,6 +101,7 @@ docs/FolderElementInfo.md
101
101
  docs/FolderResponse.md
102
102
  docs/IngestionStatusDto.md
103
103
  docs/InstantiateTemplateRequest.md
104
+ docs/LicenseInfo.md
104
105
  docs/ListAiModelsRequest.md
105
106
  docs/MintUploadTokenRequest.md
106
107
  docs/MoveAudit.md
@@ -220,6 +221,7 @@ models/folder-response.ts
220
221
  models/index.ts
221
222
  models/ingestion-status-dto.ts
222
223
  models/instantiate-template-request.ts
224
+ models/license-info.ts
223
225
  models/list-ai-models-request.ts
224
226
  models/mint-upload-token-request.ts
225
227
  models/move-audit.ts
@@ -1 +1 @@
1
- f79cae24dc8a30429dc9c45bec64e84a37098f9f44e5eaa9eec829d1d4f189ea
1
+ 2f6728277686d6c8fbb9e5a508cf99fd14be0baa1cc8faae35711ca3800b465b
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @openfilz-sdk/typescript-ee@1.8.12
1
+ ## @openfilz-sdk/typescript-ee@1.8.13
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-ee@1.8.12 --save
39
+ npm install @openfilz-sdk/typescript-ee@1.8.13 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -168,6 +168,7 @@ Class | Method | HTTP request | Description
168
168
  *SearchAdministrationApi* | [**deleteIndex**](docs/SearchAdministrationApi.md#deleteindex) | **DELETE** /api/v1/admin/search | Delete search index
169
169
  *SearchAdministrationApi* | [**getStatus**](docs/SearchAdministrationApi.md#getstatus) | **GET** /api/v1/admin/search/status | Get reindexation status
170
170
  *SearchAdministrationApi* | [**reindexAll**](docs/SearchAdministrationApi.md#reindexall) | **POST** /api/v1/admin/search/reindex | Reindex all documents
171
+ *SettingsApi* | [**getLicenseInfo**](docs/SettingsApi.md#getlicenseinfo) | **GET** /api/v1/settings/license | Coarse license info
171
172
  *SettingsApi* | [**getSettings**](docs/SettingsApi.md#getsettings) | **GET** /api/v1/settings | Get user\'s settings
172
173
  *SettingsApi* | [**saveSettings**](docs/SettingsApi.md#savesettings) | **PUT** /api/v1/settings | Save user preferences
173
174
  *TusControllerApi* | [**_options**](docs/TusControllerApi.md#_options) | **OPTIONS** /api/v1/tus | TUS capability discovery
@@ -244,6 +245,7 @@ Class | Method | HTTP request | Description
244
245
  - [FolderResponse](docs/FolderResponse.md)
245
246
  - [IngestionStatusDto](docs/IngestionStatusDto.md)
246
247
  - [InstantiateTemplateRequest](docs/InstantiateTemplateRequest.md)
248
+ - [LicenseInfo](docs/LicenseInfo.md)
247
249
  - [ListAiModelsRequest](docs/ListAiModelsRequest.md)
248
250
  - [MintUploadTokenRequest](docs/MintUploadTokenRequest.md)
249
251
  - [MoveAudit](docs/MoveAudit.md)
@@ -22,6 +22,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
22
22
  // @ts-ignore
23
23
  import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
24
  // @ts-ignore
25
+ import type { LicenseInfo } from '../models';
26
+ // @ts-ignore
25
27
  import type { Settings } from '../models';
26
28
  // @ts-ignore
27
29
  import type { UserPreferencesRequest } from '../models';
@@ -30,6 +32,40 @@ import type { UserPreferencesRequest } from '../models';
30
32
  */
31
33
  export const SettingsApiAxiosParamCreator = function (configuration?: Configuration) {
32
34
  return {
35
+ /**
36
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
37
+ * @summary Coarse license info
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ getLicenseInfo: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42
+ const localVarPath = `/api/v1/settings/license`;
43
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
44
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
45
+ let baseOptions;
46
+ if (configuration) {
47
+ baseOptions = configuration.baseOptions;
48
+ }
49
+
50
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
51
+ const localVarHeaderParameter = {} as any;
52
+ const localVarQueryParameter = {} as any;
53
+
54
+ // authentication keycloak_auth required
55
+ // http bearer authentication required
56
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
57
+
58
+ localVarHeaderParameter['Accept'] = '*/*';
59
+
60
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
61
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
62
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
63
+
64
+ return {
65
+ url: toPathString(localVarUrlObj),
66
+ options: localVarRequestOptions,
67
+ };
68
+ },
33
69
  /**
34
70
  * Retrieve user\'s settings : global settings and user\'s preferences
35
71
  * @summary Get user\'s settings
@@ -112,6 +148,18 @@ export const SettingsApiAxiosParamCreator = function (configuration?: Configurat
112
148
  export const SettingsApiFp = function(configuration?: Configuration) {
113
149
  const localVarAxiosParamCreator = SettingsApiAxiosParamCreator(configuration)
114
150
  return {
151
+ /**
152
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
153
+ * @summary Coarse license info
154
+ * @param {*} [options] Override http request option.
155
+ * @throws {RequiredError}
156
+ */
157
+ async getLicenseInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LicenseInfo>> {
158
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getLicenseInfo(options);
159
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
160
+ const localVarOperationServerBasePath = operationServerMap['SettingsApi.getLicenseInfo']?.[localVarOperationServerIndex]?.url;
161
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
162
+ },
115
163
  /**
116
164
  * Retrieve user\'s settings : global settings and user\'s preferences
117
165
  * @summary Get user\'s settings
@@ -146,6 +194,15 @@ export const SettingsApiFp = function(configuration?: Configuration) {
146
194
  export const SettingsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
147
195
  const localVarFp = SettingsApiFp(configuration)
148
196
  return {
197
+ /**
198
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
199
+ * @summary Coarse license info
200
+ * @param {*} [options] Override http request option.
201
+ * @throws {RequiredError}
202
+ */
203
+ getLicenseInfo(options?: RawAxiosRequestConfig): AxiosPromise<LicenseInfo> {
204
+ return localVarFp.getLicenseInfo(options).then((request) => request(axios, basePath));
205
+ },
149
206
  /**
150
207
  * Retrieve user\'s settings : global settings and user\'s preferences
151
208
  * @summary Get user\'s settings
@@ -172,6 +229,16 @@ export const SettingsApiFactory = function (configuration?: Configuration, baseP
172
229
  * SettingsApi - object-oriented interface
173
230
  */
174
231
  export class SettingsApi extends BaseAPI {
232
+ /**
233
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
234
+ * @summary Coarse license info
235
+ * @param {*} [options] Override http request option.
236
+ * @throws {RequiredError}
237
+ */
238
+ public getLicenseInfo(options?: RawAxiosRequestConfig) {
239
+ return SettingsApiFp(this.configuration).getLicenseInfo(options).then((request) => request(this.axios, this.basePath));
240
+ }
241
+
175
242
  /**
176
243
  * Retrieve user\'s settings : global settings and user\'s preferences
177
244
  * @summary Get user\'s settings
@@ -12,12 +12,20 @@
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 { LicenseInfo } from '../models';
15
16
  import type { Settings } from '../models';
16
17
  import type { UserPreferencesRequest } from '../models';
17
18
  /**
18
19
  * SettingsApi - axios parameter creator
19
20
  */
20
21
  export declare const SettingsApiAxiosParamCreator: (configuration?: Configuration) => {
22
+ /**
23
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
24
+ * @summary Coarse license info
25
+ * @param {*} [options] Override http request option.
26
+ * @throws {RequiredError}
27
+ */
28
+ getLicenseInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21
29
  /**
22
30
  * Retrieve user\'s settings : global settings and user\'s preferences
23
31
  * @summary Get user\'s settings
@@ -38,6 +46,13 @@ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuratio
38
46
  * SettingsApi - functional programming interface
39
47
  */
40
48
  export declare const SettingsApiFp: (configuration?: Configuration) => {
49
+ /**
50
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
51
+ * @summary Coarse license info
52
+ * @param {*} [options] Override http request option.
53
+ * @throws {RequiredError}
54
+ */
55
+ getLicenseInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LicenseInfo>>;
41
56
  /**
42
57
  * Retrieve user\'s settings : global settings and user\'s preferences
43
58
  * @summary Get user\'s settings
@@ -58,6 +73,13 @@ export declare const SettingsApiFp: (configuration?: Configuration) => {
58
73
  * SettingsApi - factory interface
59
74
  */
60
75
  export declare const SettingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
76
+ /**
77
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
78
+ * @summary Coarse license info
79
+ * @param {*} [options] Override http request option.
80
+ * @throws {RequiredError}
81
+ */
82
+ getLicenseInfo(options?: RawAxiosRequestConfig): AxiosPromise<LicenseInfo>;
61
83
  /**
62
84
  * Retrieve user\'s settings : global settings and user\'s preferences
63
85
  * @summary Get user\'s settings
@@ -78,6 +100,13 @@ export declare const SettingsApiFactory: (configuration?: Configuration, basePat
78
100
  * SettingsApi - object-oriented interface
79
101
  */
80
102
  export declare class SettingsApi extends BaseAPI {
103
+ /**
104
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
105
+ * @summary Coarse license info
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ getLicenseInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LicenseInfo, any, {}, any>>;
81
110
  /**
82
111
  * Retrieve user\'s settings : global settings and user\'s preferences
83
112
  * @summary Get user\'s settings
@@ -34,6 +34,35 @@ const base_1 = require("../base");
34
34
  */
35
35
  const SettingsApiAxiosParamCreator = function (configuration) {
36
36
  return {
37
+ /**
38
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
39
+ * @summary Coarse license info
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ getLicenseInfo: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
44
+ const localVarPath = `/api/v1/settings/license`;
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
  * Retrieve user\'s settings : global settings and user\'s preferences
39
68
  * @summary Get user\'s settings
@@ -106,6 +135,21 @@ exports.SettingsApiAxiosParamCreator = SettingsApiAxiosParamCreator;
106
135
  const SettingsApiFp = function (configuration) {
107
136
  const localVarAxiosParamCreator = (0, exports.SettingsApiAxiosParamCreator)(configuration);
108
137
  return {
138
+ /**
139
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
140
+ * @summary Coarse license info
141
+ * @param {*} [options] Override http request option.
142
+ * @throws {RequiredError}
143
+ */
144
+ getLicenseInfo(options) {
145
+ return __awaiter(this, void 0, void 0, function* () {
146
+ var _a, _b, _c;
147
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getLicenseInfo(options);
148
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
149
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SettingsApi.getLicenseInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
150
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
151
+ });
152
+ },
109
153
  /**
110
154
  * Retrieve user\'s settings : global settings and user\'s preferences
111
155
  * @summary Get user\'s settings
@@ -146,6 +190,15 @@ exports.SettingsApiFp = SettingsApiFp;
146
190
  const SettingsApiFactory = function (configuration, basePath, axios) {
147
191
  const localVarFp = (0, exports.SettingsApiFp)(configuration);
148
192
  return {
193
+ /**
194
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
195
+ * @summary Coarse license info
196
+ * @param {*} [options] Override http request option.
197
+ * @throws {RequiredError}
198
+ */
199
+ getLicenseInfo(options) {
200
+ return localVarFp.getLicenseInfo(options).then((request) => request(axios, basePath));
201
+ },
149
202
  /**
150
203
  * Retrieve user\'s settings : global settings and user\'s preferences
151
204
  * @summary Get user\'s settings
@@ -172,6 +225,15 @@ exports.SettingsApiFactory = SettingsApiFactory;
172
225
  * SettingsApi - object-oriented interface
173
226
  */
174
227
  class SettingsApi extends base_1.BaseAPI {
228
+ /**
229
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
230
+ * @summary Coarse license info
231
+ * @param {*} [options] Override http request option.
232
+ * @throws {RequiredError}
233
+ */
234
+ getLicenseInfo(options) {
235
+ return (0, exports.SettingsApiFp)(this.configuration).getLicenseInfo(options).then((request) => request(this.axios, this.basePath));
236
+ }
175
237
  /**
176
238
  * Retrieve user\'s settings : global settings and user\'s preferences
177
239
  * @summary Get user\'s settings
@@ -12,12 +12,20 @@
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 { LicenseInfo } from '../models';
15
16
  import type { Settings } from '../models';
16
17
  import type { UserPreferencesRequest } from '../models';
17
18
  /**
18
19
  * SettingsApi - axios parameter creator
19
20
  */
20
21
  export declare const SettingsApiAxiosParamCreator: (configuration?: Configuration) => {
22
+ /**
23
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
24
+ * @summary Coarse license info
25
+ * @param {*} [options] Override http request option.
26
+ * @throws {RequiredError}
27
+ */
28
+ getLicenseInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21
29
  /**
22
30
  * Retrieve user\'s settings : global settings and user\'s preferences
23
31
  * @summary Get user\'s settings
@@ -38,6 +46,13 @@ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuratio
38
46
  * SettingsApi - functional programming interface
39
47
  */
40
48
  export declare const SettingsApiFp: (configuration?: Configuration) => {
49
+ /**
50
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
51
+ * @summary Coarse license info
52
+ * @param {*} [options] Override http request option.
53
+ * @throws {RequiredError}
54
+ */
55
+ getLicenseInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LicenseInfo>>;
41
56
  /**
42
57
  * Retrieve user\'s settings : global settings and user\'s preferences
43
58
  * @summary Get user\'s settings
@@ -58,6 +73,13 @@ export declare const SettingsApiFp: (configuration?: Configuration) => {
58
73
  * SettingsApi - factory interface
59
74
  */
60
75
  export declare const SettingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
76
+ /**
77
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
78
+ * @summary Coarse license info
79
+ * @param {*} [options] Override http request option.
80
+ * @throws {RequiredError}
81
+ */
82
+ getLicenseInfo(options?: RawAxiosRequestConfig): AxiosPromise<LicenseInfo>;
61
83
  /**
62
84
  * Retrieve user\'s settings : global settings and user\'s preferences
63
85
  * @summary Get user\'s settings
@@ -78,6 +100,13 @@ export declare const SettingsApiFactory: (configuration?: Configuration, basePat
78
100
  * SettingsApi - object-oriented interface
79
101
  */
80
102
  export declare class SettingsApi extends BaseAPI {
103
+ /**
104
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
105
+ * @summary Coarse license info
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ getLicenseInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LicenseInfo, any, {}, any>>;
81
110
  /**
82
111
  * Retrieve user\'s settings : global settings and user\'s preferences
83
112
  * @summary Get user\'s settings
@@ -31,6 +31,35 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
31
31
  */
32
32
  export const SettingsApiAxiosParamCreator = function (configuration) {
33
33
  return {
34
+ /**
35
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
36
+ * @summary Coarse license info
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ getLicenseInfo: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
41
+ const localVarPath = `/api/v1/settings/license`;
42
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44
+ let baseOptions;
45
+ if (configuration) {
46
+ baseOptions = configuration.baseOptions;
47
+ }
48
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
49
+ const localVarHeaderParameter = {};
50
+ const localVarQueryParameter = {};
51
+ // authentication keycloak_auth required
52
+ // http bearer authentication required
53
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
54
+ localVarHeaderParameter['Accept'] = '*/*';
55
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
56
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
57
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
58
+ return {
59
+ url: toPathString(localVarUrlObj),
60
+ options: localVarRequestOptions,
61
+ };
62
+ }),
34
63
  /**
35
64
  * Retrieve user\'s settings : global settings and user\'s preferences
36
65
  * @summary Get user\'s settings
@@ -102,6 +131,21 @@ export const SettingsApiAxiosParamCreator = function (configuration) {
102
131
  export const SettingsApiFp = function (configuration) {
103
132
  const localVarAxiosParamCreator = SettingsApiAxiosParamCreator(configuration);
104
133
  return {
134
+ /**
135
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
136
+ * @summary Coarse license info
137
+ * @param {*} [options] Override http request option.
138
+ * @throws {RequiredError}
139
+ */
140
+ getLicenseInfo(options) {
141
+ return __awaiter(this, void 0, void 0, function* () {
142
+ var _a, _b, _c;
143
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getLicenseInfo(options);
144
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
145
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SettingsApi.getLicenseInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
146
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
147
+ });
148
+ },
105
149
  /**
106
150
  * Retrieve user\'s settings : global settings and user\'s preferences
107
151
  * @summary Get user\'s settings
@@ -141,6 +185,15 @@ export const SettingsApiFp = function (configuration) {
141
185
  export const SettingsApiFactory = function (configuration, basePath, axios) {
142
186
  const localVarFp = SettingsApiFp(configuration);
143
187
  return {
188
+ /**
189
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
190
+ * @summary Coarse license info
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ */
194
+ getLicenseInfo(options) {
195
+ return localVarFp.getLicenseInfo(options).then((request) => request(axios, basePath));
196
+ },
144
197
  /**
145
198
  * Retrieve user\'s settings : global settings and user\'s preferences
146
199
  * @summary Get user\'s settings
@@ -166,6 +219,15 @@ export const SettingsApiFactory = function (configuration, basePath, axios) {
166
219
  * SettingsApi - object-oriented interface
167
220
  */
168
221
  export class SettingsApi extends BaseAPI {
222
+ /**
223
+ * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
224
+ * @summary Coarse license info
225
+ * @param {*} [options] Override http request option.
226
+ * @throws {RequiredError}
227
+ */
228
+ getLicenseInfo(options) {
229
+ return SettingsApiFp(this.configuration).getLicenseInfo(options).then((request) => request(this.axios, this.basePath));
230
+ }
169
231
  /**
170
232
  * Retrieve user\'s settings : global settings and user\'s preferences
171
233
  * @summary Get user\'s settings
@@ -48,6 +48,7 @@ export * from './folder-element-info';
48
48
  export * from './folder-response';
49
49
  export * from './ingestion-status-dto';
50
50
  export * from './instantiate-template-request';
51
+ export * from './license-info';
51
52
  export * from './list-ai-models-request';
52
53
  export * from './mint-upload-token-request';
53
54
  export * from './move-audit';
@@ -48,6 +48,7 @@ export * from './folder-element-info';
48
48
  export * from './folder-response';
49
49
  export * from './ingestion-status-dto';
50
50
  export * from './instantiate-template-request';
51
+ export * from './license-info';
51
52
  export * from './list-ai-models-request';
52
53
  export * from './mint-upload-token-request';
53
54
  export * from './move-audit';
@@ -0,0 +1,15 @@
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
+ export interface LicenseInfo {
13
+ 'licenseType'?: string;
14
+ 'trialDaysRemaining'?: number;
15
+ }
@@ -0,0 +1,14 @@
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
+ export {};
@@ -22,4 +22,6 @@ export interface Settings {
22
22
  'signatureAuthMethods'?: Array<string>;
23
23
  'signatureRemindersActive'?: boolean;
24
24
  'signatureCloudActive'?: boolean;
25
+ 'demoMode'?: boolean;
26
+ 'sealProvider'?: string;
25
27
  }
@@ -48,6 +48,7 @@ export * from './folder-element-info';
48
48
  export * from './folder-response';
49
49
  export * from './ingestion-status-dto';
50
50
  export * from './instantiate-template-request';
51
+ export * from './license-info';
51
52
  export * from './list-ai-models-request';
52
53
  export * from './mint-upload-token-request';
53
54
  export * from './move-audit';
@@ -64,6 +64,7 @@ __exportStar(require("./folder-element-info"), exports);
64
64
  __exportStar(require("./folder-response"), exports);
65
65
  __exportStar(require("./ingestion-status-dto"), exports);
66
66
  __exportStar(require("./instantiate-template-request"), exports);
67
+ __exportStar(require("./license-info"), exports);
67
68
  __exportStar(require("./list-ai-models-request"), exports);
68
69
  __exportStar(require("./mint-upload-token-request"), exports);
69
70
  __exportStar(require("./move-audit"), exports);
@@ -0,0 +1,15 @@
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
+ export interface LicenseInfo {
13
+ 'licenseType'?: string;
14
+ 'trialDaysRemaining'?: number;
15
+ }
@@ -0,0 +1,15 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -22,4 +22,6 @@ export interface Settings {
22
22
  'signatureAuthMethods'?: Array<string>;
23
23
  'signatureRemindersActive'?: boolean;
24
24
  'signatureCloudActive'?: boolean;
25
+ 'demoMode'?: boolean;
26
+ 'sealProvider'?: string;
25
27
  }
@@ -0,0 +1,22 @@
1
+ # LicenseInfo
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **licenseType** | **string** | | [optional] [default to undefined]
9
+ **trialDaysRemaining** | **number** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { LicenseInfo } from '@openfilz-sdk/typescript-ee';
15
+
16
+ const instance: LicenseInfo = {
17
+ licenseType,
18
+ trialDaysRemaining,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/Settings.md CHANGED
@@ -17,6 +17,8 @@ Name | Type | Description | Notes
17
17
  **signatureAuthMethods** | **Array&lt;string&gt;** | | [optional] [default to undefined]
18
18
  **signatureRemindersActive** | **boolean** | | [optional] [default to undefined]
19
19
  **signatureCloudActive** | **boolean** | | [optional] [default to undefined]
20
+ **demoMode** | **boolean** | | [optional] [default to undefined]
21
+ **sealProvider** | **string** | | [optional] [default to undefined]
20
22
 
21
23
  ## Example
22
24
 
@@ -36,6 +38,8 @@ const instance: Settings = {
36
38
  signatureAuthMethods,
37
39
  signatureRemindersActive,
38
40
  signatureCloudActive,
41
+ demoMode,
42
+ sealProvider,
39
43
  };
40
44
  ```
41
45
 
@@ -4,9 +4,54 @@ All URIs are relative to *http://localhost:8081*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
+ |[**getLicenseInfo**](#getlicenseinfo) | **GET** /api/v1/settings/license | Coarse license info|
7
8
  |[**getSettings**](#getsettings) | **GET** /api/v1/settings | Get user\&#39;s settings|
8
9
  |[**saveSettings**](#savesettings) | **PUT** /api/v1/settings | Save user preferences|
9
10
 
11
+ # **getLicenseInfo**
12
+ > LicenseInfo getLicenseInfo()
13
+
14
+ License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ SettingsApi,
21
+ Configuration
22
+ } from '@openfilz-sdk/typescript-ee';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new SettingsApi(configuration);
26
+
27
+ const { status, data } = await apiInstance.getLicenseInfo();
28
+ ```
29
+
30
+ ### Parameters
31
+ This endpoint does not have any parameters.
32
+
33
+
34
+ ### Return type
35
+
36
+ **LicenseInfo**
37
+
38
+ ### Authorization
39
+
40
+ [keycloak_auth](../README.md#keycloak_auth)
41
+
42
+ ### HTTP request headers
43
+
44
+ - **Content-Type**: Not defined
45
+ - **Accept**: */*
46
+
47
+
48
+ ### HTTP response details
49
+ | Status code | Description | Response headers |
50
+ |-------------|-------------|------------------|
51
+ |**200** | OK | - |
52
+
53
+ [[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)
54
+
10
55
  # **getSettings**
11
56
  > Settings getSettings()
12
57
 
package/models/index.ts CHANGED
@@ -48,6 +48,7 @@ export * from './folder-element-info';
48
48
  export * from './folder-response';
49
49
  export * from './ingestion-status-dto';
50
50
  export * from './instantiate-template-request';
51
+ export * from './license-info';
51
52
  export * from './list-ai-models-request';
52
53
  export * from './mint-upload-token-request';
53
54
  export * from './move-audit';
@@ -0,0 +1,21 @@
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 LicenseInfo {
18
+ 'licenseType'?: string;
19
+ 'trialDaysRemaining'?: number;
20
+ }
21
+
@@ -27,5 +27,7 @@ export interface Settings {
27
27
  'signatureAuthMethods'?: Array<string>;
28
28
  'signatureRemindersActive'?: boolean;
29
29
  'signatureCloudActive'?: boolean;
30
+ 'demoMode'?: boolean;
31
+ 'sealProvider'?: string;
30
32
  }
31
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfilz-sdk/typescript-ee",
3
- "version": "1.8.12",
3
+ "version": "1.8.13",
4
4
  "description": "OpenAPI client for @openfilz-sdk/typescript-ee",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {