@openfilz-sdk/typescript-ee 1.12.0 → 1.12.2

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.
Files changed (158) hide show
  1. package/.openapi-generator/FILES +30 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +37 -9
  4. package/api/ai-archiving-admin-controller-api.ts +10 -10
  5. package/api/aifiling-rules-api.ts +18 -18
  6. package/api/aimaintenance-api.ts +334 -0
  7. package/api/aiteam-inboxes-api.ts +18 -18
  8. package/api/esign-templates-api.ts +8 -8
  9. package/api/mcp-token-admin-controller-api.ts +75 -8
  10. package/api/organisation-settings-api.ts +266 -0
  11. package/api/quota-administration-api.ts +677 -0
  12. package/api/quotas-api.ts +121 -0
  13. package/api/tus-controller-api.ts +8 -4
  14. package/api.ts +4 -0
  15. package/dist/api/ai-archiving-admin-controller-api.d.ts +4 -4
  16. package/dist/api/ai-archiving-admin-controller-api.js +10 -10
  17. package/dist/api/aifiling-rules-api.d.ts +8 -8
  18. package/dist/api/aifiling-rules-api.js +18 -18
  19. package/dist/api/aimaintenance-api.d.ts +162 -0
  20. package/dist/api/aimaintenance-api.js +327 -0
  21. package/dist/api/aiteam-inboxes-api.d.ts +8 -8
  22. package/dist/api/aiteam-inboxes-api.js +18 -18
  23. package/dist/api/esign-templates-api.d.ts +4 -4
  24. package/dist/api/esign-templates-api.js +8 -8
  25. package/dist/api/mcp-token-admin-controller-api.d.ts +33 -4
  26. package/dist/api/mcp-token-admin-controller-api.js +70 -8
  27. package/dist/api/organisation-settings-api.d.ts +135 -0
  28. package/dist/api/organisation-settings-api.js +264 -0
  29. package/dist/api/quota-administration-api.d.ts +312 -0
  30. package/dist/api/quota-administration-api.js +645 -0
  31. package/dist/api/quotas-api.d.ts +63 -0
  32. package/dist/api/quotas-api.js +125 -0
  33. package/dist/api/tus-controller-api.d.ts +6 -6
  34. package/dist/api/tus-controller-api.js +2 -0
  35. package/dist/api.d.ts +4 -0
  36. package/dist/api.js +4 -0
  37. package/dist/esm/api/ai-archiving-admin-controller-api.d.ts +4 -4
  38. package/dist/esm/api/ai-archiving-admin-controller-api.js +10 -10
  39. package/dist/esm/api/aifiling-rules-api.d.ts +8 -8
  40. package/dist/esm/api/aifiling-rules-api.js +18 -18
  41. package/dist/esm/api/aimaintenance-api.d.ts +162 -0
  42. package/dist/esm/api/aimaintenance-api.js +320 -0
  43. package/dist/esm/api/aiteam-inboxes-api.d.ts +8 -8
  44. package/dist/esm/api/aiteam-inboxes-api.js +18 -18
  45. package/dist/esm/api/esign-templates-api.d.ts +4 -4
  46. package/dist/esm/api/esign-templates-api.js +8 -8
  47. package/dist/esm/api/mcp-token-admin-controller-api.d.ts +33 -4
  48. package/dist/esm/api/mcp-token-admin-controller-api.js +70 -8
  49. package/dist/esm/api/organisation-settings-api.d.ts +135 -0
  50. package/dist/esm/api/organisation-settings-api.js +257 -0
  51. package/dist/esm/api/quota-administration-api.d.ts +312 -0
  52. package/dist/esm/api/quota-administration-api.js +638 -0
  53. package/dist/esm/api/quotas-api.d.ts +63 -0
  54. package/dist/esm/api/quotas-api.js +118 -0
  55. package/dist/esm/api/tus-controller-api.d.ts +6 -6
  56. package/dist/esm/api/tus-controller-api.js +2 -0
  57. package/dist/esm/api.d.ts +4 -0
  58. package/dist/esm/api.js +4 -0
  59. package/dist/esm/models/enriched-audit-log.d.ts +4 -0
  60. package/dist/esm/models/enriched-audit-log.js +4 -0
  61. package/dist/esm/models/error-response.d.ts +16 -0
  62. package/dist/esm/models/error-response.js +14 -0
  63. package/dist/esm/models/index.d.ts +11 -0
  64. package/dist/esm/models/index.js +11 -0
  65. package/dist/esm/models/mcp-agent-token-config.d.ts +31 -0
  66. package/dist/esm/models/mcp-agent-token-config.js +14 -0
  67. package/dist/esm/models/mcp-agent-token-info.d.ts +1 -0
  68. package/dist/esm/models/my-storage-quota.d.ts +24 -0
  69. package/dist/esm/models/my-storage-quota.js +18 -0
  70. package/dist/esm/models/quota-overview.d.ts +19 -0
  71. package/dist/esm/models/quota-overview.js +14 -0
  72. package/dist/esm/models/quota-usage.d.ts +27 -0
  73. package/dist/esm/models/quota-usage.js +18 -0
  74. package/dist/esm/models/quota-user-page.d.ts +18 -0
  75. package/dist/esm/models/quota-user-page.js +14 -0
  76. package/dist/esm/models/search-by-audit-log-request.d.ts +4 -0
  77. package/dist/esm/models/search-by-audit-log-request.js +4 -0
  78. package/dist/esm/models/setting-dto.d.ts +26 -0
  79. package/dist/esm/models/setting-dto.js +14 -0
  80. package/dist/esm/models/start-request.d.ts +14 -0
  81. package/dist/esm/models/start-request.js +14 -0
  82. package/dist/esm/models/storage-breakdown.d.ts +2 -0
  83. package/dist/esm/models/team-quota-request.d.ts +17 -0
  84. package/dist/esm/models/team-quota-request.js +14 -0
  85. package/dist/esm/models/team-quota-view.d.ts +19 -0
  86. package/dist/esm/models/team-quota-view.js +14 -0
  87. package/dist/esm/models/user-quota-request.d.ts +17 -0
  88. package/dist/esm/models/user-quota-request.js +14 -0
  89. package/dist/models/enriched-audit-log.d.ts +4 -0
  90. package/dist/models/enriched-audit-log.js +4 -0
  91. package/dist/models/error-response.d.ts +16 -0
  92. package/dist/models/error-response.js +15 -0
  93. package/dist/models/index.d.ts +11 -0
  94. package/dist/models/index.js +11 -0
  95. package/dist/models/mcp-agent-token-config.d.ts +31 -0
  96. package/dist/models/mcp-agent-token-config.js +15 -0
  97. package/dist/models/mcp-agent-token-info.d.ts +1 -0
  98. package/dist/models/my-storage-quota.d.ts +24 -0
  99. package/dist/models/my-storage-quota.js +21 -0
  100. package/dist/models/quota-overview.d.ts +19 -0
  101. package/dist/models/quota-overview.js +15 -0
  102. package/dist/models/quota-usage.d.ts +27 -0
  103. package/dist/models/quota-usage.js +21 -0
  104. package/dist/models/quota-user-page.d.ts +18 -0
  105. package/dist/models/quota-user-page.js +15 -0
  106. package/dist/models/search-by-audit-log-request.d.ts +4 -0
  107. package/dist/models/search-by-audit-log-request.js +4 -0
  108. package/dist/models/setting-dto.d.ts +26 -0
  109. package/dist/models/setting-dto.js +15 -0
  110. package/dist/models/start-request.d.ts +14 -0
  111. package/dist/models/start-request.js +15 -0
  112. package/dist/models/storage-breakdown.d.ts +2 -0
  113. package/dist/models/team-quota-request.d.ts +17 -0
  114. package/dist/models/team-quota-request.js +15 -0
  115. package/dist/models/team-quota-view.d.ts +19 -0
  116. package/dist/models/team-quota-view.js +15 -0
  117. package/dist/models/user-quota-request.d.ts +17 -0
  118. package/dist/models/user-quota-request.js +15 -0
  119. package/docs/AIFilingRulesApi.md +8 -8
  120. package/docs/AIMaintenanceApi.md +201 -0
  121. package/docs/AITeamInboxesApi.md +8 -8
  122. package/docs/AiArchivingAdminControllerApi.md +4 -4
  123. package/docs/ESignTemplatesApi.md +4 -4
  124. package/docs/ErrorResponse.md +24 -0
  125. package/docs/McpAgentTokenConfig.md +30 -0
  126. package/docs/McpAgentTokenInfo.md +2 -0
  127. package/docs/McpTokenAdminControllerApi.md +48 -4
  128. package/docs/MyStorageQuota.md +28 -0
  129. package/docs/OrganisationSettingsApi.md +153 -0
  130. package/docs/QuotaAdministrationApi.md +427 -0
  131. package/docs/QuotaOverview.md +30 -0
  132. package/docs/QuotaUsage.md +34 -0
  133. package/docs/QuotaUserPage.md +26 -0
  134. package/docs/QuotasApi.md +52 -0
  135. package/docs/SettingDto.md +44 -0
  136. package/docs/StartRequest.md +20 -0
  137. package/docs/StorageBreakdown.md +2 -0
  138. package/docs/TeamQuotaRequest.md +20 -0
  139. package/docs/TeamQuotaView.md +30 -0
  140. package/docs/TusControllerApi.md +8 -7
  141. package/docs/UserQuotaRequest.md +20 -0
  142. package/models/enriched-audit-log.ts +4 -0
  143. package/models/error-response.ts +22 -0
  144. package/models/index.ts +11 -0
  145. package/models/mcp-agent-token-config.ts +37 -0
  146. package/models/mcp-agent-token-info.ts +1 -0
  147. package/models/my-storage-quota.ts +33 -0
  148. package/models/quota-overview.ts +25 -0
  149. package/models/quota-usage.ts +36 -0
  150. package/models/quota-user-page.ts +26 -0
  151. package/models/search-by-audit-log-request.ts +4 -0
  152. package/models/setting-dto.ts +32 -0
  153. package/models/start-request.ts +20 -0
  154. package/models/storage-breakdown.ts +4 -0
  155. package/models/team-quota-request.ts +23 -0
  156. package/models/team-quota-view.ts +25 -0
  157. package/models/user-quota-request.ts +23 -0
  158. package/package.json +1 -1
@@ -0,0 +1,334 @@
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
+ // @ts-ignore
25
+ import type { JobStatus } from '../models';
26
+ // @ts-ignore
27
+ import type { StartRequest } from '../models';
28
+ /**
29
+ * AIMaintenanceApi - axios parameter creator
30
+ */
31
+ export const AIMaintenanceApiAxiosParamCreator = function (configuration?: Configuration) {
32
+ return {
33
+ /**
34
+ *
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ jobs1: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
39
+ const localVarPath = `/api/v1/admin/ai/maintenance/jobs`;
40
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
41
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42
+ let baseOptions;
43
+ if (configuration) {
44
+ baseOptions = configuration.baseOptions;
45
+ }
46
+
47
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
48
+ const localVarHeaderParameter = {} as any;
49
+ const localVarQueryParameter = {} as any;
50
+
51
+ // authentication keycloak_auth required
52
+ // http bearer authentication required
53
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
54
+
55
+ localVarHeaderParameter['Accept'] = '*/*';
56
+
57
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
58
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
59
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
60
+
61
+ return {
62
+ url: toPathString(localVarUrlObj),
63
+ options: localVarRequestOptions,
64
+ };
65
+ },
66
+ /**
67
+ *
68
+ * @summary What can run here, and the recent library-wide jobs of this instance
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ overview1: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
73
+ const localVarPath = `/api/v1/admin/ai/maintenance`;
74
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
75
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
76
+ let baseOptions;
77
+ if (configuration) {
78
+ baseOptions = configuration.baseOptions;
79
+ }
80
+
81
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
82
+ const localVarHeaderParameter = {} as any;
83
+ const localVarQueryParameter = {} as any;
84
+
85
+ // authentication keycloak_auth required
86
+ // http bearer authentication required
87
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
88
+
89
+ localVarHeaderParameter['Accept'] = '*/*';
90
+
91
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
92
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
93
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
94
+
95
+ return {
96
+ url: toPathString(localVarUrlObj),
97
+ options: localVarRequestOptions,
98
+ };
99
+ },
100
+ /**
101
+ *
102
+ * @summary Start a library-wide job: embeddings (re-embed) or insights (re-enrich). force=true redoes documents that are already up to date
103
+ * @param {string} kind
104
+ * @param {StartRequest} [startRequest]
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ start2: async (kind: string, startRequest?: StartRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
109
+ // verify required parameter 'kind' is not null or undefined
110
+ assertParamExists('start2', 'kind', kind)
111
+ const localVarPath = `/api/v1/admin/ai/maintenance/{kind}`
112
+ .replace('{kind}', encodeURIComponent(String(kind)));
113
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
114
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
115
+ let baseOptions;
116
+ if (configuration) {
117
+ baseOptions = configuration.baseOptions;
118
+ }
119
+
120
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
121
+ const localVarHeaderParameter = {} as any;
122
+ const localVarQueryParameter = {} as any;
123
+
124
+ // authentication keycloak_auth required
125
+ // http bearer authentication required
126
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
127
+
128
+ localVarHeaderParameter['Content-Type'] = 'application/json';
129
+ localVarHeaderParameter['Accept'] = '*/*';
130
+
131
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
132
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
133
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
134
+ localVarRequestOptions.data = serializeDataIfNeeded(startRequest, localVarRequestOptions, configuration)
135
+
136
+ return {
137
+ url: toPathString(localVarUrlObj),
138
+ options: localVarRequestOptions,
139
+ };
140
+ },
141
+ /**
142
+ *
143
+ * @summary Progress of a library-wide job (sum of its per-owner jobs)
144
+ * @param {string} jobId
145
+ * @param {*} [options] Override http request option.
146
+ * @throws {RequiredError}
147
+ */
148
+ status2: async (jobId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
149
+ // verify required parameter 'jobId' is not null or undefined
150
+ assertParamExists('status2', 'jobId', jobId)
151
+ const localVarPath = `/api/v1/admin/ai/maintenance/jobs/{jobId}`
152
+ .replace('{jobId}', encodeURIComponent(String(jobId)));
153
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
154
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
155
+ let baseOptions;
156
+ if (configuration) {
157
+ baseOptions = configuration.baseOptions;
158
+ }
159
+
160
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
161
+ const localVarHeaderParameter = {} as any;
162
+ const localVarQueryParameter = {} as any;
163
+
164
+ // authentication keycloak_auth required
165
+ // http bearer authentication required
166
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
167
+
168
+ localVarHeaderParameter['Accept'] = '*/*';
169
+
170
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
171
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
172
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
173
+
174
+ return {
175
+ url: toPathString(localVarUrlObj),
176
+ options: localVarRequestOptions,
177
+ };
178
+ },
179
+ }
180
+ };
181
+
182
+ /**
183
+ * AIMaintenanceApi - functional programming interface
184
+ */
185
+ export const AIMaintenanceApiFp = function(configuration?: Configuration) {
186
+ const localVarAxiosParamCreator = AIMaintenanceApiAxiosParamCreator(configuration)
187
+ return {
188
+ /**
189
+ *
190
+ * @param {*} [options] Override http request option.
191
+ * @throws {RequiredError}
192
+ */
193
+ async jobs1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<JobStatus>>> {
194
+ const localVarAxiosArgs = await localVarAxiosParamCreator.jobs1(options);
195
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
196
+ const localVarOperationServerBasePath = operationServerMap['AIMaintenanceApi.jobs1']?.[localVarOperationServerIndex]?.url;
197
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
198
+ },
199
+ /**
200
+ *
201
+ * @summary What can run here, and the recent library-wide jobs of this instance
202
+ * @param {*} [options] Override http request option.
203
+ * @throws {RequiredError}
204
+ */
205
+ async overview1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
206
+ const localVarAxiosArgs = await localVarAxiosParamCreator.overview1(options);
207
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
208
+ const localVarOperationServerBasePath = operationServerMap['AIMaintenanceApi.overview1']?.[localVarOperationServerIndex]?.url;
209
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
210
+ },
211
+ /**
212
+ *
213
+ * @summary Start a library-wide job: embeddings (re-embed) or insights (re-enrich). force=true redoes documents that are already up to date
214
+ * @param {string} kind
215
+ * @param {StartRequest} [startRequest]
216
+ * @param {*} [options] Override http request option.
217
+ * @throws {RequiredError}
218
+ */
219
+ async start2(kind: string, startRequest?: StartRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobStatus>> {
220
+ const localVarAxiosArgs = await localVarAxiosParamCreator.start2(kind, startRequest, options);
221
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
222
+ const localVarOperationServerBasePath = operationServerMap['AIMaintenanceApi.start2']?.[localVarOperationServerIndex]?.url;
223
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
224
+ },
225
+ /**
226
+ *
227
+ * @summary Progress of a library-wide job (sum of its per-owner jobs)
228
+ * @param {string} jobId
229
+ * @param {*} [options] Override http request option.
230
+ * @throws {RequiredError}
231
+ */
232
+ async status2(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobStatus>> {
233
+ const localVarAxiosArgs = await localVarAxiosParamCreator.status2(jobId, options);
234
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
235
+ const localVarOperationServerBasePath = operationServerMap['AIMaintenanceApi.status2']?.[localVarOperationServerIndex]?.url;
236
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
237
+ },
238
+ }
239
+ };
240
+
241
+ /**
242
+ * AIMaintenanceApi - factory interface
243
+ */
244
+ export const AIMaintenanceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
245
+ const localVarFp = AIMaintenanceApiFp(configuration)
246
+ return {
247
+ /**
248
+ *
249
+ * @param {*} [options] Override http request option.
250
+ * @throws {RequiredError}
251
+ */
252
+ jobs1(options?: RawAxiosRequestConfig): AxiosPromise<Array<JobStatus>> {
253
+ return localVarFp.jobs1(options).then((request) => request(axios, basePath));
254
+ },
255
+ /**
256
+ *
257
+ * @summary What can run here, and the recent library-wide jobs of this instance
258
+ * @param {*} [options] Override http request option.
259
+ * @throws {RequiredError}
260
+ */
261
+ overview1(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
262
+ return localVarFp.overview1(options).then((request) => request(axios, basePath));
263
+ },
264
+ /**
265
+ *
266
+ * @summary Start a library-wide job: embeddings (re-embed) or insights (re-enrich). force=true redoes documents that are already up to date
267
+ * @param {string} kind
268
+ * @param {StartRequest} [startRequest]
269
+ * @param {*} [options] Override http request option.
270
+ * @throws {RequiredError}
271
+ */
272
+ start2(kind: string, startRequest?: StartRequest, options?: RawAxiosRequestConfig): AxiosPromise<JobStatus> {
273
+ return localVarFp.start2(kind, startRequest, options).then((request) => request(axios, basePath));
274
+ },
275
+ /**
276
+ *
277
+ * @summary Progress of a library-wide job (sum of its per-owner jobs)
278
+ * @param {string} jobId
279
+ * @param {*} [options] Override http request option.
280
+ * @throws {RequiredError}
281
+ */
282
+ status2(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<JobStatus> {
283
+ return localVarFp.status2(jobId, options).then((request) => request(axios, basePath));
284
+ },
285
+ };
286
+ };
287
+
288
+ /**
289
+ * AIMaintenanceApi - object-oriented interface
290
+ */
291
+ export class AIMaintenanceApi extends BaseAPI {
292
+ /**
293
+ *
294
+ * @param {*} [options] Override http request option.
295
+ * @throws {RequiredError}
296
+ */
297
+ public jobs1(options?: RawAxiosRequestConfig) {
298
+ return AIMaintenanceApiFp(this.configuration).jobs1(options).then((request) => request(this.axios, this.basePath));
299
+ }
300
+
301
+ /**
302
+ *
303
+ * @summary What can run here, and the recent library-wide jobs of this instance
304
+ * @param {*} [options] Override http request option.
305
+ * @throws {RequiredError}
306
+ */
307
+ public overview1(options?: RawAxiosRequestConfig) {
308
+ return AIMaintenanceApiFp(this.configuration).overview1(options).then((request) => request(this.axios, this.basePath));
309
+ }
310
+
311
+ /**
312
+ *
313
+ * @summary Start a library-wide job: embeddings (re-embed) or insights (re-enrich). force=true redoes documents that are already up to date
314
+ * @param {string} kind
315
+ * @param {StartRequest} [startRequest]
316
+ * @param {*} [options] Override http request option.
317
+ * @throws {RequiredError}
318
+ */
319
+ public start2(kind: string, startRequest?: StartRequest, options?: RawAxiosRequestConfig) {
320
+ return AIMaintenanceApiFp(this.configuration).start2(kind, startRequest, options).then((request) => request(this.axios, this.basePath));
321
+ }
322
+
323
+ /**
324
+ *
325
+ * @summary Progress of a library-wide job (sum of its per-owner jobs)
326
+ * @param {string} jobId
327
+ * @param {*} [options] Override http request option.
328
+ * @throws {RequiredError}
329
+ */
330
+ public status2(jobId: string, options?: RawAxiosRequestConfig) {
331
+ return AIMaintenanceApiFp(this.configuration).status2(jobId, options).then((request) => request(this.axios, this.basePath));
332
+ }
333
+ }
334
+
@@ -150,7 +150,7 @@ export const AITeamInboxesApiAxiosParamCreator = function (configuration?: Confi
150
150
  * @param {*} [options] Override http request option.
151
151
  * @throws {RequiredError}
152
152
  */
153
- list2: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
153
+ list3: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
154
154
  const localVarPath = `/api/v1/admin/ai/team-inboxes`;
155
155
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
156
156
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -224,11 +224,11 @@ export const AITeamInboxesApiAxiosParamCreator = function (configuration?: Confi
224
224
  * @param {*} [options] Override http request option.
225
225
  * @throws {RequiredError}
226
226
  */
227
- update2: async (id: string, teamInboxRequest: TeamInboxRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
227
+ update3: async (id: string, teamInboxRequest: TeamInboxRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
228
228
  // verify required parameter 'id' is not null or undefined
229
- assertParamExists('update2', 'id', id)
229
+ assertParamExists('update3', 'id', id)
230
230
  // verify required parameter 'teamInboxRequest' is not null or undefined
231
- assertParamExists('update2', 'teamInboxRequest', teamInboxRequest)
231
+ assertParamExists('update3', 'teamInboxRequest', teamInboxRequest)
232
232
  const localVarPath = `/api/v1/admin/ai/team-inboxes/{id}`
233
233
  .replace('{id}', encodeURIComponent(String(id)));
234
234
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -313,10 +313,10 @@ export const AITeamInboxesApiFp = function(configuration?: Configuration) {
313
313
  * @param {*} [options] Override http request option.
314
314
  * @throws {RequiredError}
315
315
  */
316
- async list2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TeamInboxView>>> {
317
- const localVarAxiosArgs = await localVarAxiosParamCreator.list2(options);
316
+ async list3(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TeamInboxView>>> {
317
+ const localVarAxiosArgs = await localVarAxiosParamCreator.list3(options);
318
318
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
319
- const localVarOperationServerBasePath = operationServerMap['AITeamInboxesApi.list2']?.[localVarOperationServerIndex]?.url;
319
+ const localVarOperationServerBasePath = operationServerMap['AITeamInboxesApi.list3']?.[localVarOperationServerIndex]?.url;
320
320
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
321
321
  },
322
322
  /**
@@ -340,10 +340,10 @@ export const AITeamInboxesApiFp = function(configuration?: Configuration) {
340
340
  * @param {*} [options] Override http request option.
341
341
  * @throws {RequiredError}
342
342
  */
343
- async update2(id: string, teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeamInboxView>> {
344
- const localVarAxiosArgs = await localVarAxiosParamCreator.update2(id, teamInboxRequest, options);
343
+ async update3(id: string, teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeamInboxView>> {
344
+ const localVarAxiosArgs = await localVarAxiosParamCreator.update3(id, teamInboxRequest, options);
345
345
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
346
- const localVarOperationServerBasePath = operationServerMap['AITeamInboxesApi.update2']?.[localVarOperationServerIndex]?.url;
346
+ const localVarOperationServerBasePath = operationServerMap['AITeamInboxesApi.update3']?.[localVarOperationServerIndex]?.url;
347
347
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
348
348
  },
349
349
  }
@@ -391,8 +391,8 @@ export const AITeamInboxesApiFactory = function (configuration?: Configuration,
391
391
  * @param {*} [options] Override http request option.
392
392
  * @throws {RequiredError}
393
393
  */
394
- list2(options?: RawAxiosRequestConfig): AxiosPromise<Array<TeamInboxView>> {
395
- return localVarFp.list2(options).then((request) => request(axios, basePath));
394
+ list3(options?: RawAxiosRequestConfig): AxiosPromise<Array<TeamInboxView>> {
395
+ return localVarFp.list3(options).then((request) => request(axios, basePath));
396
396
  },
397
397
  /**
398
398
  * Schedules one smart-filing job for every file lying loose in the inbox, as the technical user, whatever the inbox\'s interval, and returns the inbox with its lastRunAt / lastJobId. 400 when the inbox is disabled or smart filing is off.
@@ -412,8 +412,8 @@ export const AITeamInboxesApiFactory = function (configuration?: Configuration,
412
412
  * @param {*} [options] Override http request option.
413
413
  * @throws {RequiredError}
414
414
  */
415
- update2(id: string, teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig): AxiosPromise<TeamInboxView> {
416
- return localVarFp.update2(id, teamInboxRequest, options).then((request) => request(axios, basePath));
415
+ update3(id: string, teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig): AxiosPromise<TeamInboxView> {
416
+ return localVarFp.update3(id, teamInboxRequest, options).then((request) => request(axios, basePath));
417
417
  },
418
418
  };
419
419
  };
@@ -461,8 +461,8 @@ export class AITeamInboxesApi extends BaseAPI {
461
461
  * @param {*} [options] Override http request option.
462
462
  * @throws {RequiredError}
463
463
  */
464
- public list2(options?: RawAxiosRequestConfig) {
465
- return AITeamInboxesApiFp(this.configuration).list2(options).then((request) => request(this.axios, this.basePath));
464
+ public list3(options?: RawAxiosRequestConfig) {
465
+ return AITeamInboxesApiFp(this.configuration).list3(options).then((request) => request(this.axios, this.basePath));
466
466
  }
467
467
 
468
468
  /**
@@ -484,8 +484,8 @@ export class AITeamInboxesApi extends BaseAPI {
484
484
  * @param {*} [options] Override http request option.
485
485
  * @throws {RequiredError}
486
486
  */
487
- public update2(id: string, teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig) {
488
- return AITeamInboxesApiFp(this.configuration).update2(id, teamInboxRequest, options).then((request) => request(this.axios, this.basePath));
487
+ public update3(id: string, teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig) {
488
+ return AITeamInboxesApiFp(this.configuration).update3(id, teamInboxRequest, options).then((request) => request(this.axios, this.basePath));
489
489
  }
490
490
  }
491
491
 
@@ -197,7 +197,7 @@ export const ESignTemplatesApiAxiosParamCreator = function (configuration?: Conf
197
197
  * @param {*} [options] Override http request option.
198
198
  * @throws {RequiredError}
199
199
  */
200
- list: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
200
+ list1: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
201
201
  const localVarPath = `/api/v1/signature-templates`;
202
202
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
203
203
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -336,10 +336,10 @@ export const ESignTemplatesApiFp = function(configuration?: Configuration) {
336
336
  * @param {*} [options] Override http request option.
337
337
  * @throws {RequiredError}
338
338
  */
339
- async list(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SignatureTemplateDTO>>> {
340
- const localVarAxiosArgs = await localVarAxiosParamCreator.list(options);
339
+ async list1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SignatureTemplateDTO>>> {
340
+ const localVarAxiosArgs = await localVarAxiosParamCreator.list1(options);
341
341
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
342
- const localVarOperationServerBasePath = operationServerMap['ESignTemplatesApi.list']?.[localVarOperationServerIndex]?.url;
342
+ const localVarOperationServerBasePath = operationServerMap['ESignTemplatesApi.list1']?.[localVarOperationServerIndex]?.url;
343
343
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
344
344
  },
345
345
  /**
@@ -412,8 +412,8 @@ export const ESignTemplatesApiFactory = function (configuration?: Configuration,
412
412
  * @param {*} [options] Override http request option.
413
413
  * @throws {RequiredError}
414
414
  */
415
- list(options?: RawAxiosRequestConfig): AxiosPromise<Array<SignatureTemplateDTO>> {
416
- return localVarFp.list(options).then((request) => request(axios, basePath));
415
+ list1(options?: RawAxiosRequestConfig): AxiosPromise<Array<SignatureTemplateDTO>> {
416
+ return localVarFp.list1(options).then((request) => request(axios, basePath));
417
417
  },
418
418
  /**
419
419
  *
@@ -484,8 +484,8 @@ export class ESignTemplatesApi extends BaseAPI {
484
484
  * @param {*} [options] Override http request option.
485
485
  * @throws {RequiredError}
486
486
  */
487
- public list(options?: RawAxiosRequestConfig) {
488
- return ESignTemplatesApiFp(this.configuration).list(options).then((request) => request(this.axios, this.basePath));
487
+ public list1(options?: RawAxiosRequestConfig) {
488
+ return ESignTemplatesApiFp(this.configuration).list1(options).then((request) => request(this.axios, this.basePath));
489
489
  }
490
490
 
491
491
  /**
@@ -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 { McpAgentTokenConfig } from '../models';
26
+ // @ts-ignore
25
27
  import type { McpAgentTokenInfo } from '../models';
26
28
  // @ts-ignore
27
29
  import type { McpAgentTokenResponse } from '../models';
@@ -32,13 +34,47 @@ import type { MintMcpAgentTokenRequest } from '../models';
32
34
  */
33
35
  export const McpTokenAdminControllerApiAxiosParamCreator = function (configuration?: Configuration) {
34
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: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
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, DUMMY_BASE_URL);
47
+ let baseOptions;
48
+ if (configuration) {
49
+ baseOptions = configuration.baseOptions;
50
+ }
51
+
52
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
53
+ const localVarHeaderParameter = {} as any;
54
+ const localVarQueryParameter = {} as any;
55
+
56
+ // authentication keycloak_auth required
57
+ // http bearer authentication required
58
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
59
+
60
+ localVarHeaderParameter['Accept'] = '*/*';
61
+
62
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
64
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
65
+
66
+ return {
67
+ url: toPathString(localVarUrlObj),
68
+ options: localVarRequestOptions,
69
+ };
70
+ },
35
71
  /**
36
72
  *
37
73
  * @summary List minted MCP agent tokens (never returns the credentials)
38
74
  * @param {*} [options] Override http request option.
39
75
  * @throws {RequiredError}
40
76
  */
41
- list1: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
77
+ list2: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42
78
  const localVarPath = `/api/v1/admin/mcp/tokens`;
43
79
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
44
80
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -151,16 +187,28 @@ export const McpTokenAdminControllerApiAxiosParamCreator = function (configurati
151
187
  export const McpTokenAdminControllerApiFp = function(configuration?: Configuration) {
152
188
  const localVarAxiosParamCreator = McpTokenAdminControllerApiAxiosParamCreator(configuration)
153
189
  return {
190
+ /**
191
+ *
192
+ * @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
193
+ * @param {*} [options] Override http request option.
194
+ * @throws {RequiredError}
195
+ */
196
+ async config(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpAgentTokenConfig>> {
197
+ const localVarAxiosArgs = await localVarAxiosParamCreator.config(options);
198
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
199
+ const localVarOperationServerBasePath = operationServerMap['McpTokenAdminControllerApi.config']?.[localVarOperationServerIndex]?.url;
200
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
201
+ },
154
202
  /**
155
203
  *
156
204
  * @summary List minted MCP agent tokens (never returns the credentials)
157
205
  * @param {*} [options] Override http request option.
158
206
  * @throws {RequiredError}
159
207
  */
160
- async list1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<McpAgentTokenInfo>>> {
161
- const localVarAxiosArgs = await localVarAxiosParamCreator.list1(options);
208
+ async list2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<McpAgentTokenInfo>>> {
209
+ const localVarAxiosArgs = await localVarAxiosParamCreator.list2(options);
162
210
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
163
- const localVarOperationServerBasePath = operationServerMap['McpTokenAdminControllerApi.list1']?.[localVarOperationServerIndex]?.url;
211
+ const localVarOperationServerBasePath = operationServerMap['McpTokenAdminControllerApi.list2']?.[localVarOperationServerIndex]?.url;
164
212
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
165
213
  },
166
214
  /**
@@ -198,14 +246,23 @@ export const McpTokenAdminControllerApiFp = function(configuration?: Configurati
198
246
  export const McpTokenAdminControllerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
199
247
  const localVarFp = McpTokenAdminControllerApiFp(configuration)
200
248
  return {
249
+ /**
250
+ *
251
+ * @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
252
+ * @param {*} [options] Override http request option.
253
+ * @throws {RequiredError}
254
+ */
255
+ config(options?: RawAxiosRequestConfig): AxiosPromise<McpAgentTokenConfig> {
256
+ return localVarFp.config(options).then((request) => request(axios, basePath));
257
+ },
201
258
  /**
202
259
  *
203
260
  * @summary List minted MCP agent tokens (never returns the credentials)
204
261
  * @param {*} [options] Override http request option.
205
262
  * @throws {RequiredError}
206
263
  */
207
- list1(options?: RawAxiosRequestConfig): AxiosPromise<Array<McpAgentTokenInfo>> {
208
- return localVarFp.list1(options).then((request) => request(axios, basePath));
264
+ list2(options?: RawAxiosRequestConfig): AxiosPromise<Array<McpAgentTokenInfo>> {
265
+ return localVarFp.list2(options).then((request) => request(axios, basePath));
209
266
  },
210
267
  /**
211
268
  *
@@ -234,14 +291,24 @@ export const McpTokenAdminControllerApiFactory = function (configuration?: Confi
234
291
  * McpTokenAdminControllerApi - object-oriented interface
235
292
  */
236
293
  export class McpTokenAdminControllerApi extends BaseAPI {
294
+ /**
295
+ *
296
+ * @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
297
+ * @param {*} [options] Override http request option.
298
+ * @throws {RequiredError}
299
+ */
300
+ public config(options?: RawAxiosRequestConfig) {
301
+ return McpTokenAdminControllerApiFp(this.configuration).config(options).then((request) => request(this.axios, this.basePath));
302
+ }
303
+
237
304
  /**
238
305
  *
239
306
  * @summary List minted MCP agent tokens (never returns the credentials)
240
307
  * @param {*} [options] Override http request option.
241
308
  * @throws {RequiredError}
242
309
  */
243
- public list1(options?: RawAxiosRequestConfig) {
244
- return McpTokenAdminControllerApiFp(this.configuration).list1(options).then((request) => request(this.axios, this.basePath));
310
+ public list2(options?: RawAxiosRequestConfig) {
311
+ return McpTokenAdminControllerApiFp(this.configuration).list2(options).then((request) => request(this.axios, this.basePath));
245
312
  }
246
313
 
247
314
  /**