@openfilz-sdk/typescript-ee 1.12.0 → 1.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,327 @@
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.AIMaintenanceApi = exports.AIMaintenanceApiFactory = exports.AIMaintenanceApiFp = exports.AIMaintenanceApiAxiosParamCreator = 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
+ * AIMaintenanceApi - axios parameter creator
34
+ */
35
+ const AIMaintenanceApiAxiosParamCreator = function (configuration) {
36
+ return {
37
+ /**
38
+ *
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ jobs1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
43
+ const localVarPath = `/api/v1/admin/ai/maintenance/jobs`;
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
+ localVarHeaderParameter['Accept'] = '*/*';
57
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
58
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
59
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
60
+ return {
61
+ url: (0, common_1.toPathString)(localVarUrlObj),
62
+ options: localVarRequestOptions,
63
+ };
64
+ }),
65
+ /**
66
+ *
67
+ * @summary What can run here, and the recent library-wide jobs of this instance
68
+ * @param {*} [options] Override http request option.
69
+ * @throws {RequiredError}
70
+ */
71
+ overview1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
72
+ const localVarPath = `/api/v1/admin/ai/maintenance`;
73
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
74
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
75
+ let baseOptions;
76
+ if (configuration) {
77
+ baseOptions = configuration.baseOptions;
78
+ }
79
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
80
+ const localVarHeaderParameter = {};
81
+ const localVarQueryParameter = {};
82
+ // authentication keycloak_auth required
83
+ // http bearer authentication required
84
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
85
+ localVarHeaderParameter['Accept'] = '*/*';
86
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
87
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
88
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
89
+ return {
90
+ url: (0, common_1.toPathString)(localVarUrlObj),
91
+ options: localVarRequestOptions,
92
+ };
93
+ }),
94
+ /**
95
+ *
96
+ * @summary Start a library-wide job: embeddings (re-embed) or insights (re-enrich). force=true redoes documents that are already up to date
97
+ * @param {string} kind
98
+ * @param {StartRequest} [startRequest]
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ start2: (kind_1, startRequest_1, ...args_1) => __awaiter(this, [kind_1, startRequest_1, ...args_1], void 0, function* (kind, startRequest, options = {}) {
103
+ // verify required parameter 'kind' is not null or undefined
104
+ (0, common_1.assertParamExists)('start2', 'kind', kind);
105
+ const localVarPath = `/api/v1/admin/ai/maintenance/{kind}`
106
+ .replace('{kind}', encodeURIComponent(String(kind)));
107
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
108
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
109
+ let baseOptions;
110
+ if (configuration) {
111
+ baseOptions = configuration.baseOptions;
112
+ }
113
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
114
+ const localVarHeaderParameter = {};
115
+ const localVarQueryParameter = {};
116
+ // authentication keycloak_auth required
117
+ // http bearer authentication required
118
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
119
+ localVarHeaderParameter['Content-Type'] = 'application/json';
120
+ localVarHeaderParameter['Accept'] = '*/*';
121
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
122
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
123
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
124
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(startRequest, localVarRequestOptions, configuration);
125
+ return {
126
+ url: (0, common_1.toPathString)(localVarUrlObj),
127
+ options: localVarRequestOptions,
128
+ };
129
+ }),
130
+ /**
131
+ *
132
+ * @summary Progress of a library-wide job (sum of its per-owner jobs)
133
+ * @param {string} jobId
134
+ * @param {*} [options] Override http request option.
135
+ * @throws {RequiredError}
136
+ */
137
+ status2: (jobId_1, ...args_1) => __awaiter(this, [jobId_1, ...args_1], void 0, function* (jobId, options = {}) {
138
+ // verify required parameter 'jobId' is not null or undefined
139
+ (0, common_1.assertParamExists)('status2', 'jobId', jobId);
140
+ const localVarPath = `/api/v1/admin/ai/maintenance/jobs/{jobId}`
141
+ .replace('{jobId}', encodeURIComponent(String(jobId)));
142
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
143
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
144
+ let baseOptions;
145
+ if (configuration) {
146
+ baseOptions = configuration.baseOptions;
147
+ }
148
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
149
+ const localVarHeaderParameter = {};
150
+ const localVarQueryParameter = {};
151
+ // authentication keycloak_auth required
152
+ // http bearer authentication required
153
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
154
+ localVarHeaderParameter['Accept'] = '*/*';
155
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
156
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
157
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
158
+ return {
159
+ url: (0, common_1.toPathString)(localVarUrlObj),
160
+ options: localVarRequestOptions,
161
+ };
162
+ }),
163
+ };
164
+ };
165
+ exports.AIMaintenanceApiAxiosParamCreator = AIMaintenanceApiAxiosParamCreator;
166
+ /**
167
+ * AIMaintenanceApi - functional programming interface
168
+ */
169
+ const AIMaintenanceApiFp = function (configuration) {
170
+ const localVarAxiosParamCreator = (0, exports.AIMaintenanceApiAxiosParamCreator)(configuration);
171
+ return {
172
+ /**
173
+ *
174
+ * @param {*} [options] Override http request option.
175
+ * @throws {RequiredError}
176
+ */
177
+ jobs1(options) {
178
+ return __awaiter(this, void 0, void 0, function* () {
179
+ var _a, _b, _c;
180
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.jobs1(options);
181
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
182
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIMaintenanceApi.jobs1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
183
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
184
+ });
185
+ },
186
+ /**
187
+ *
188
+ * @summary What can run here, and the recent library-wide jobs of this instance
189
+ * @param {*} [options] Override http request option.
190
+ * @throws {RequiredError}
191
+ */
192
+ overview1(options) {
193
+ return __awaiter(this, void 0, void 0, function* () {
194
+ var _a, _b, _c;
195
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.overview1(options);
196
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
197
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIMaintenanceApi.overview1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
198
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
199
+ });
200
+ },
201
+ /**
202
+ *
203
+ * @summary Start a library-wide job: embeddings (re-embed) or insights (re-enrich). force=true redoes documents that are already up to date
204
+ * @param {string} kind
205
+ * @param {StartRequest} [startRequest]
206
+ * @param {*} [options] Override http request option.
207
+ * @throws {RequiredError}
208
+ */
209
+ start2(kind, startRequest, options) {
210
+ return __awaiter(this, void 0, void 0, function* () {
211
+ var _a, _b, _c;
212
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.start2(kind, startRequest, options);
213
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
214
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIMaintenanceApi.start2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
215
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
216
+ });
217
+ },
218
+ /**
219
+ *
220
+ * @summary Progress of a library-wide job (sum of its per-owner jobs)
221
+ * @param {string} jobId
222
+ * @param {*} [options] Override http request option.
223
+ * @throws {RequiredError}
224
+ */
225
+ status2(jobId, options) {
226
+ return __awaiter(this, void 0, void 0, function* () {
227
+ var _a, _b, _c;
228
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.status2(jobId, options);
229
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
230
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIMaintenanceApi.status2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
231
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
232
+ });
233
+ },
234
+ };
235
+ };
236
+ exports.AIMaintenanceApiFp = AIMaintenanceApiFp;
237
+ /**
238
+ * AIMaintenanceApi - factory interface
239
+ */
240
+ const AIMaintenanceApiFactory = function (configuration, basePath, axios) {
241
+ const localVarFp = (0, exports.AIMaintenanceApiFp)(configuration);
242
+ return {
243
+ /**
244
+ *
245
+ * @param {*} [options] Override http request option.
246
+ * @throws {RequiredError}
247
+ */
248
+ jobs1(options) {
249
+ return localVarFp.jobs1(options).then((request) => request(axios, basePath));
250
+ },
251
+ /**
252
+ *
253
+ * @summary What can run here, and the recent library-wide jobs of this instance
254
+ * @param {*} [options] Override http request option.
255
+ * @throws {RequiredError}
256
+ */
257
+ overview1(options) {
258
+ return localVarFp.overview1(options).then((request) => request(axios, basePath));
259
+ },
260
+ /**
261
+ *
262
+ * @summary Start a library-wide job: embeddings (re-embed) or insights (re-enrich). force=true redoes documents that are already up to date
263
+ * @param {string} kind
264
+ * @param {StartRequest} [startRequest]
265
+ * @param {*} [options] Override http request option.
266
+ * @throws {RequiredError}
267
+ */
268
+ start2(kind, startRequest, options) {
269
+ return localVarFp.start2(kind, startRequest, options).then((request) => request(axios, basePath));
270
+ },
271
+ /**
272
+ *
273
+ * @summary Progress of a library-wide job (sum of its per-owner jobs)
274
+ * @param {string} jobId
275
+ * @param {*} [options] Override http request option.
276
+ * @throws {RequiredError}
277
+ */
278
+ status2(jobId, options) {
279
+ return localVarFp.status2(jobId, options).then((request) => request(axios, basePath));
280
+ },
281
+ };
282
+ };
283
+ exports.AIMaintenanceApiFactory = AIMaintenanceApiFactory;
284
+ /**
285
+ * AIMaintenanceApi - object-oriented interface
286
+ */
287
+ class AIMaintenanceApi extends base_1.BaseAPI {
288
+ /**
289
+ *
290
+ * @param {*} [options] Override http request option.
291
+ * @throws {RequiredError}
292
+ */
293
+ jobs1(options) {
294
+ return (0, exports.AIMaintenanceApiFp)(this.configuration).jobs1(options).then((request) => request(this.axios, this.basePath));
295
+ }
296
+ /**
297
+ *
298
+ * @summary What can run here, and the recent library-wide jobs of this instance
299
+ * @param {*} [options] Override http request option.
300
+ * @throws {RequiredError}
301
+ */
302
+ overview1(options) {
303
+ return (0, exports.AIMaintenanceApiFp)(this.configuration).overview1(options).then((request) => request(this.axios, this.basePath));
304
+ }
305
+ /**
306
+ *
307
+ * @summary Start a library-wide job: embeddings (re-embed) or insights (re-enrich). force=true redoes documents that are already up to date
308
+ * @param {string} kind
309
+ * @param {StartRequest} [startRequest]
310
+ * @param {*} [options] Override http request option.
311
+ * @throws {RequiredError}
312
+ */
313
+ start2(kind, startRequest, options) {
314
+ return (0, exports.AIMaintenanceApiFp)(this.configuration).start2(kind, startRequest, options).then((request) => request(this.axios, this.basePath));
315
+ }
316
+ /**
317
+ *
318
+ * @summary Progress of a library-wide job (sum of its per-owner jobs)
319
+ * @param {string} jobId
320
+ * @param {*} [options] Override http request option.
321
+ * @throws {RequiredError}
322
+ */
323
+ status2(jobId, options) {
324
+ return (0, exports.AIMaintenanceApiFp)(this.configuration).status2(jobId, options).then((request) => request(this.axios, this.basePath));
325
+ }
326
+ }
327
+ exports.AIMaintenanceApi = AIMaintenanceApi;
@@ -48,7 +48,7 @@ export declare const AITeamInboxesApiAxiosParamCreator: (configuration?: Configu
48
48
  * @param {*} [options] Override http request option.
49
49
  * @throws {RequiredError}
50
50
  */
51
- list2: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
51
+ list3: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
52
52
  /**
53
53
  * 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.
54
54
  * @summary File the inbox now
@@ -65,7 +65,7 @@ export declare const AITeamInboxesApiAxiosParamCreator: (configuration?: Configu
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}
67
67
  */
68
- update2: (id: string, teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
68
+ update3: (id: string, teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
69
69
  };
70
70
  /**
71
71
  * AITeamInboxesApi - functional programming interface
@@ -101,7 +101,7 @@ export declare const AITeamInboxesApiFp: (configuration?: Configuration) => {
101
101
  * @param {*} [options] Override http request option.
102
102
  * @throws {RequiredError}
103
103
  */
104
- list2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TeamInboxView>>>;
104
+ list3(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TeamInboxView>>>;
105
105
  /**
106
106
  * 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.
107
107
  * @summary File the inbox now
@@ -118,7 +118,7 @@ export declare const AITeamInboxesApiFp: (configuration?: Configuration) => {
118
118
  * @param {*} [options] Override http request option.
119
119
  * @throws {RequiredError}
120
120
  */
121
- update2(id: string, teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeamInboxView>>;
121
+ update3(id: string, teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeamInboxView>>;
122
122
  };
123
123
  /**
124
124
  * AITeamInboxesApi - factory interface
@@ -154,7 +154,7 @@ export declare const AITeamInboxesApiFactory: (configuration?: Configuration, ba
154
154
  * @param {*} [options] Override http request option.
155
155
  * @throws {RequiredError}
156
156
  */
157
- list2(options?: RawAxiosRequestConfig): AxiosPromise<Array<TeamInboxView>>;
157
+ list3(options?: RawAxiosRequestConfig): AxiosPromise<Array<TeamInboxView>>;
158
158
  /**
159
159
  * 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.
160
160
  * @summary File the inbox now
@@ -171,7 +171,7 @@ export declare const AITeamInboxesApiFactory: (configuration?: Configuration, ba
171
171
  * @param {*} [options] Override http request option.
172
172
  * @throws {RequiredError}
173
173
  */
174
- update2(id: string, teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig): AxiosPromise<TeamInboxView>;
174
+ update3(id: string, teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig): AxiosPromise<TeamInboxView>;
175
175
  };
176
176
  /**
177
177
  * AITeamInboxesApi - object-oriented interface
@@ -207,7 +207,7 @@ export declare class AITeamInboxesApi extends BaseAPI {
207
207
  * @param {*} [options] Override http request option.
208
208
  * @throws {RequiredError}
209
209
  */
210
- list2(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeamInboxView[], any, {}, any>>;
210
+ list3(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeamInboxView[], any, {}, any>>;
211
211
  /**
212
212
  * 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.
213
213
  * @summary File the inbox now
@@ -224,5 +224,5 @@ export declare class AITeamInboxesApi extends BaseAPI {
224
224
  * @param {*} [options] Override http request option.
225
225
  * @throws {RequiredError}
226
226
  */
227
- update2(id: string, teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeamInboxView, any, {}, any>>;
227
+ update3(id: string, teamInboxRequest: TeamInboxRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeamInboxView, any, {}, any>>;
228
228
  }
@@ -139,7 +139,7 @@ const AITeamInboxesApiAxiosParamCreator = function (configuration) {
139
139
  * @param {*} [options] Override http request option.
140
140
  * @throws {RequiredError}
141
141
  */
142
- list2: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
142
+ list3: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
143
143
  const localVarPath = `/api/v1/admin/ai/team-inboxes`;
144
144
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
145
145
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -203,11 +203,11 @@ const AITeamInboxesApiAxiosParamCreator = function (configuration) {
203
203
  * @param {*} [options] Override http request option.
204
204
  * @throws {RequiredError}
205
205
  */
206
- update2: (id_1, teamInboxRequest_1, ...args_1) => __awaiter(this, [id_1, teamInboxRequest_1, ...args_1], void 0, function* (id, teamInboxRequest, options = {}) {
206
+ update3: (id_1, teamInboxRequest_1, ...args_1) => __awaiter(this, [id_1, teamInboxRequest_1, ...args_1], void 0, function* (id, teamInboxRequest, options = {}) {
207
207
  // verify required parameter 'id' is not null or undefined
208
- (0, common_1.assertParamExists)('update2', 'id', id);
208
+ (0, common_1.assertParamExists)('update3', 'id', id);
209
209
  // verify required parameter 'teamInboxRequest' is not null or undefined
210
- (0, common_1.assertParamExists)('update2', 'teamInboxRequest', teamInboxRequest);
210
+ (0, common_1.assertParamExists)('update3', 'teamInboxRequest', teamInboxRequest);
211
211
  const localVarPath = `/api/v1/admin/ai/team-inboxes/{id}`
212
212
  .replace('{id}', encodeURIComponent(String(id)));
213
213
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -296,12 +296,12 @@ const AITeamInboxesApiFp = function (configuration) {
296
296
  * @param {*} [options] Override http request option.
297
297
  * @throws {RequiredError}
298
298
  */
299
- list2(options) {
299
+ list3(options) {
300
300
  return __awaiter(this, void 0, void 0, function* () {
301
301
  var _a, _b, _c;
302
- const localVarAxiosArgs = yield localVarAxiosParamCreator.list2(options);
302
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.list3(options);
303
303
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
304
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AITeamInboxesApi.list2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
304
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AITeamInboxesApi.list3']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
305
305
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
306
306
  });
307
307
  },
@@ -329,12 +329,12 @@ const AITeamInboxesApiFp = function (configuration) {
329
329
  * @param {*} [options] Override http request option.
330
330
  * @throws {RequiredError}
331
331
  */
332
- update2(id, teamInboxRequest, options) {
332
+ update3(id, teamInboxRequest, options) {
333
333
  return __awaiter(this, void 0, void 0, function* () {
334
334
  var _a, _b, _c;
335
- const localVarAxiosArgs = yield localVarAxiosParamCreator.update2(id, teamInboxRequest, options);
335
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.update3(id, teamInboxRequest, options);
336
336
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
337
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AITeamInboxesApi.update2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
337
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AITeamInboxesApi.update3']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
338
338
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
339
339
  });
340
340
  },
@@ -383,8 +383,8 @@ const AITeamInboxesApiFactory = function (configuration, basePath, axios) {
383
383
  * @param {*} [options] Override http request option.
384
384
  * @throws {RequiredError}
385
385
  */
386
- list2(options) {
387
- return localVarFp.list2(options).then((request) => request(axios, basePath));
386
+ list3(options) {
387
+ return localVarFp.list3(options).then((request) => request(axios, basePath));
388
388
  },
389
389
  /**
390
390
  * 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.
@@ -404,8 +404,8 @@ const AITeamInboxesApiFactory = function (configuration, basePath, axios) {
404
404
  * @param {*} [options] Override http request option.
405
405
  * @throws {RequiredError}
406
406
  */
407
- update2(id, teamInboxRequest, options) {
408
- return localVarFp.update2(id, teamInboxRequest, options).then((request) => request(axios, basePath));
407
+ update3(id, teamInboxRequest, options) {
408
+ return localVarFp.update3(id, teamInboxRequest, options).then((request) => request(axios, basePath));
409
409
  },
410
410
  };
411
411
  };
@@ -450,8 +450,8 @@ class AITeamInboxesApi extends base_1.BaseAPI {
450
450
  * @param {*} [options] Override http request option.
451
451
  * @throws {RequiredError}
452
452
  */
453
- list2(options) {
454
- return (0, exports.AITeamInboxesApiFp)(this.configuration).list2(options).then((request) => request(this.axios, this.basePath));
453
+ list3(options) {
454
+ return (0, exports.AITeamInboxesApiFp)(this.configuration).list3(options).then((request) => request(this.axios, this.basePath));
455
455
  }
456
456
  /**
457
457
  * 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.
@@ -471,8 +471,8 @@ class AITeamInboxesApi extends base_1.BaseAPI {
471
471
  * @param {*} [options] Override http request option.
472
472
  * @throws {RequiredError}
473
473
  */
474
- update2(id, teamInboxRequest, options) {
475
- return (0, exports.AITeamInboxesApiFp)(this.configuration).update2(id, teamInboxRequest, options).then((request) => request(this.axios, this.basePath));
474
+ update3(id, teamInboxRequest, options) {
475
+ return (0, exports.AITeamInboxesApiFp)(this.configuration).update3(id, teamInboxRequest, options).then((request) => request(this.axios, this.basePath));
476
476
  }
477
477
  }
478
478
  exports.AITeamInboxesApi = AITeamInboxesApi;
@@ -59,7 +59,7 @@ export declare const ESignTemplatesApiAxiosParamCreator: (configuration?: Config
59
59
  * @param {*} [options] Override http request option.
60
60
  * @throws {RequiredError}
61
61
  */
62
- list: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
62
+ list1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
63
63
  /**
64
64
  *
65
65
  * @summary Update a template
@@ -113,7 +113,7 @@ export declare const ESignTemplatesApiFp: (configuration?: Configuration) => {
113
113
  * @param {*} [options] Override http request option.
114
114
  * @throws {RequiredError}
115
115
  */
116
- list(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SignatureTemplateDTO>>>;
116
+ list1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SignatureTemplateDTO>>>;
117
117
  /**
118
118
  *
119
119
  * @summary Update a template
@@ -167,7 +167,7 @@ export declare const ESignTemplatesApiFactory: (configuration?: Configuration, b
167
167
  * @param {*} [options] Override http request option.
168
168
  * @throws {RequiredError}
169
169
  */
170
- list(options?: RawAxiosRequestConfig): AxiosPromise<Array<SignatureTemplateDTO>>;
170
+ list1(options?: RawAxiosRequestConfig): AxiosPromise<Array<SignatureTemplateDTO>>;
171
171
  /**
172
172
  *
173
173
  * @summary Update a template
@@ -221,7 +221,7 @@ export declare class ESignTemplatesApi extends BaseAPI {
221
221
  * @param {*} [options] Override http request option.
222
222
  * @throws {RequiredError}
223
223
  */
224
- list(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureTemplateDTO[], any, {}, any>>;
224
+ list1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureTemplateDTO[], any, {}, any>>;
225
225
  /**
226
226
  *
227
227
  * @summary Update a template
@@ -177,7 +177,7 @@ const ESignTemplatesApiAxiosParamCreator = function (configuration) {
177
177
  * @param {*} [options] Override http request option.
178
178
  * @throws {RequiredError}
179
179
  */
180
- list: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
180
+ list1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
181
181
  const localVarPath = `/api/v1/signature-templates`;
182
182
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
183
183
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -318,12 +318,12 @@ const ESignTemplatesApiFp = function (configuration) {
318
318
  * @param {*} [options] Override http request option.
319
319
  * @throws {RequiredError}
320
320
  */
321
- list(options) {
321
+ list1(options) {
322
322
  return __awaiter(this, void 0, void 0, function* () {
323
323
  var _a, _b, _c;
324
- const localVarAxiosArgs = yield localVarAxiosParamCreator.list(options);
324
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.list1(options);
325
325
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
326
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignTemplatesApi.list']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
326
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignTemplatesApi.list1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
327
327
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
328
328
  });
329
329
  },
@@ -400,8 +400,8 @@ const ESignTemplatesApiFactory = function (configuration, basePath, axios) {
400
400
  * @param {*} [options] Override http request option.
401
401
  * @throws {RequiredError}
402
402
  */
403
- list(options) {
404
- return localVarFp.list(options).then((request) => request(axios, basePath));
403
+ list1(options) {
404
+ return localVarFp.list1(options).then((request) => request(axios, basePath));
405
405
  },
406
406
  /**
407
407
  *
@@ -468,8 +468,8 @@ class ESignTemplatesApi extends base_1.BaseAPI {
468
468
  * @param {*} [options] Override http request option.
469
469
  * @throws {RequiredError}
470
470
  */
471
- list(options) {
472
- return (0, exports.ESignTemplatesApiFp)(this.configuration).list(options).then((request) => request(this.axios, this.basePath));
471
+ list1(options) {
472
+ return (0, exports.ESignTemplatesApiFp)(this.configuration).list1(options).then((request) => request(this.axios, this.basePath));
473
473
  }
474
474
  /**
475
475
  *