@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,162 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { JobStatus } from '../models';
16
+ import type { StartRequest } from '../models';
17
+ /**
18
+ * AIMaintenanceApi - axios parameter creator
19
+ */
20
+ export declare const AIMaintenanceApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ *
23
+ * @param {*} [options] Override http request option.
24
+ * @throws {RequiredError}
25
+ */
26
+ jobs1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
27
+ /**
28
+ *
29
+ * @summary What can run here, and the recent library-wide jobs of this instance
30
+ * @param {*} [options] Override http request option.
31
+ * @throws {RequiredError}
32
+ */
33
+ overview1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
34
+ /**
35
+ *
36
+ * @summary Start a library-wide job: embeddings (re-embed) or insights (re-enrich). force=true redoes documents that are already up to date
37
+ * @param {string} kind
38
+ * @param {StartRequest} [startRequest]
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ start2: (kind: string, startRequest?: StartRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43
+ /**
44
+ *
45
+ * @summary Progress of a library-wide job (sum of its per-owner jobs)
46
+ * @param {string} jobId
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ status2: (jobId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
51
+ };
52
+ /**
53
+ * AIMaintenanceApi - functional programming interface
54
+ */
55
+ export declare const AIMaintenanceApiFp: (configuration?: Configuration) => {
56
+ /**
57
+ *
58
+ * @param {*} [options] Override http request option.
59
+ * @throws {RequiredError}
60
+ */
61
+ jobs1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<JobStatus>>>;
62
+ /**
63
+ *
64
+ * @summary What can run here, and the recent library-wide jobs of this instance
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ overview1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
69
+ [key: string]: any;
70
+ }>>;
71
+ /**
72
+ *
73
+ * @summary Start a library-wide job: embeddings (re-embed) or insights (re-enrich). force=true redoes documents that are already up to date
74
+ * @param {string} kind
75
+ * @param {StartRequest} [startRequest]
76
+ * @param {*} [options] Override http request option.
77
+ * @throws {RequiredError}
78
+ */
79
+ start2(kind: string, startRequest?: StartRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobStatus>>;
80
+ /**
81
+ *
82
+ * @summary Progress of a library-wide job (sum of its per-owner jobs)
83
+ * @param {string} jobId
84
+ * @param {*} [options] Override http request option.
85
+ * @throws {RequiredError}
86
+ */
87
+ status2(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobStatus>>;
88
+ };
89
+ /**
90
+ * AIMaintenanceApi - factory interface
91
+ */
92
+ export declare const AIMaintenanceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
93
+ /**
94
+ *
95
+ * @param {*} [options] Override http request option.
96
+ * @throws {RequiredError}
97
+ */
98
+ jobs1(options?: RawAxiosRequestConfig): AxiosPromise<Array<JobStatus>>;
99
+ /**
100
+ *
101
+ * @summary What can run here, and the recent library-wide jobs of this instance
102
+ * @param {*} [options] Override http request option.
103
+ * @throws {RequiredError}
104
+ */
105
+ overview1(options?: RawAxiosRequestConfig): AxiosPromise<{
106
+ [key: string]: any;
107
+ }>;
108
+ /**
109
+ *
110
+ * @summary Start a library-wide job: embeddings (re-embed) or insights (re-enrich). force=true redoes documents that are already up to date
111
+ * @param {string} kind
112
+ * @param {StartRequest} [startRequest]
113
+ * @param {*} [options] Override http request option.
114
+ * @throws {RequiredError}
115
+ */
116
+ start2(kind: string, startRequest?: StartRequest, options?: RawAxiosRequestConfig): AxiosPromise<JobStatus>;
117
+ /**
118
+ *
119
+ * @summary Progress of a library-wide job (sum of its per-owner jobs)
120
+ * @param {string} jobId
121
+ * @param {*} [options] Override http request option.
122
+ * @throws {RequiredError}
123
+ */
124
+ status2(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<JobStatus>;
125
+ };
126
+ /**
127
+ * AIMaintenanceApi - object-oriented interface
128
+ */
129
+ export declare class AIMaintenanceApi extends BaseAPI {
130
+ /**
131
+ *
132
+ * @param {*} [options] Override http request option.
133
+ * @throws {RequiredError}
134
+ */
135
+ jobs1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JobStatus[], any, {}, any>>;
136
+ /**
137
+ *
138
+ * @summary What can run here, and the recent library-wide jobs of this instance
139
+ * @param {*} [options] Override http request option.
140
+ * @throws {RequiredError}
141
+ */
142
+ overview1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
143
+ [key: string]: any;
144
+ }, any, {}, any>>;
145
+ /**
146
+ *
147
+ * @summary Start a library-wide job: embeddings (re-embed) or insights (re-enrich). force=true redoes documents that are already up to date
148
+ * @param {string} kind
149
+ * @param {StartRequest} [startRequest]
150
+ * @param {*} [options] Override http request option.
151
+ * @throws {RequiredError}
152
+ */
153
+ start2(kind: string, startRequest?: StartRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JobStatus, any, {}, any>>;
154
+ /**
155
+ *
156
+ * @summary Progress of a library-wide job (sum of its per-owner jobs)
157
+ * @param {string} jobId
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ */
161
+ status2(jobId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JobStatus, any, {}, any>>;
162
+ }
@@ -0,0 +1,320 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import globalAxios from 'axios';
24
+ // Some imports not used depending on template conditions
25
+ // @ts-ignore
26
+ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
27
+ // @ts-ignore
28
+ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
+ /**
30
+ * AIMaintenanceApi - axios parameter creator
31
+ */
32
+ export const AIMaintenanceApiAxiosParamCreator = function (configuration) {
33
+ return {
34
+ /**
35
+ *
36
+ * @param {*} [options] Override http request option.
37
+ * @throws {RequiredError}
38
+ */
39
+ jobs1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
40
+ const localVarPath = `/api/v1/admin/ai/maintenance/jobs`;
41
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
42
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43
+ let baseOptions;
44
+ if (configuration) {
45
+ baseOptions = configuration.baseOptions;
46
+ }
47
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
48
+ const localVarHeaderParameter = {};
49
+ const localVarQueryParameter = {};
50
+ // authentication keycloak_auth required
51
+ // http bearer authentication required
52
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
53
+ localVarHeaderParameter['Accept'] = '*/*';
54
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
55
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
56
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
57
+ return {
58
+ url: toPathString(localVarUrlObj),
59
+ options: localVarRequestOptions,
60
+ };
61
+ }),
62
+ /**
63
+ *
64
+ * @summary What can run here, and the recent library-wide jobs of this instance
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ overview1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
69
+ const localVarPath = `/api/v1/admin/ai/maintenance`;
70
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
71
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
72
+ let baseOptions;
73
+ if (configuration) {
74
+ baseOptions = configuration.baseOptions;
75
+ }
76
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
77
+ const localVarHeaderParameter = {};
78
+ const localVarQueryParameter = {};
79
+ // authentication keycloak_auth required
80
+ // http bearer authentication required
81
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
82
+ localVarHeaderParameter['Accept'] = '*/*';
83
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
84
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
86
+ return {
87
+ url: toPathString(localVarUrlObj),
88
+ options: localVarRequestOptions,
89
+ };
90
+ }),
91
+ /**
92
+ *
93
+ * @summary Start a library-wide job: embeddings (re-embed) or insights (re-enrich). force=true redoes documents that are already up to date
94
+ * @param {string} kind
95
+ * @param {StartRequest} [startRequest]
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ start2: (kind_1, startRequest_1, ...args_1) => __awaiter(this, [kind_1, startRequest_1, ...args_1], void 0, function* (kind, startRequest, options = {}) {
100
+ // verify required parameter 'kind' is not null or undefined
101
+ assertParamExists('start2', 'kind', kind);
102
+ const localVarPath = `/api/v1/admin/ai/maintenance/{kind}`
103
+ .replace('{kind}', encodeURIComponent(String(kind)));
104
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
105
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
106
+ let baseOptions;
107
+ if (configuration) {
108
+ baseOptions = configuration.baseOptions;
109
+ }
110
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
111
+ const localVarHeaderParameter = {};
112
+ const localVarQueryParameter = {};
113
+ // authentication keycloak_auth required
114
+ // http bearer authentication required
115
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
116
+ localVarHeaderParameter['Content-Type'] = 'application/json';
117
+ localVarHeaderParameter['Accept'] = '*/*';
118
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
119
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
120
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
121
+ localVarRequestOptions.data = serializeDataIfNeeded(startRequest, localVarRequestOptions, configuration);
122
+ return {
123
+ url: toPathString(localVarUrlObj),
124
+ options: localVarRequestOptions,
125
+ };
126
+ }),
127
+ /**
128
+ *
129
+ * @summary Progress of a library-wide job (sum of its per-owner jobs)
130
+ * @param {string} jobId
131
+ * @param {*} [options] Override http request option.
132
+ * @throws {RequiredError}
133
+ */
134
+ status2: (jobId_1, ...args_1) => __awaiter(this, [jobId_1, ...args_1], void 0, function* (jobId, options = {}) {
135
+ // verify required parameter 'jobId' is not null or undefined
136
+ assertParamExists('status2', 'jobId', jobId);
137
+ const localVarPath = `/api/v1/admin/ai/maintenance/jobs/{jobId}`
138
+ .replace('{jobId}', encodeURIComponent(String(jobId)));
139
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
140
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
141
+ let baseOptions;
142
+ if (configuration) {
143
+ baseOptions = configuration.baseOptions;
144
+ }
145
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
146
+ const localVarHeaderParameter = {};
147
+ const localVarQueryParameter = {};
148
+ // authentication keycloak_auth required
149
+ // http bearer authentication required
150
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
151
+ localVarHeaderParameter['Accept'] = '*/*';
152
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
153
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
154
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
155
+ return {
156
+ url: toPathString(localVarUrlObj),
157
+ options: localVarRequestOptions,
158
+ };
159
+ }),
160
+ };
161
+ };
162
+ /**
163
+ * AIMaintenanceApi - functional programming interface
164
+ */
165
+ export const AIMaintenanceApiFp = function (configuration) {
166
+ const localVarAxiosParamCreator = AIMaintenanceApiAxiosParamCreator(configuration);
167
+ return {
168
+ /**
169
+ *
170
+ * @param {*} [options] Override http request option.
171
+ * @throws {RequiredError}
172
+ */
173
+ jobs1(options) {
174
+ return __awaiter(this, void 0, void 0, function* () {
175
+ var _a, _b, _c;
176
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.jobs1(options);
177
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
178
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIMaintenanceApi.jobs1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
179
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
180
+ });
181
+ },
182
+ /**
183
+ *
184
+ * @summary What can run here, and the recent library-wide jobs of this instance
185
+ * @param {*} [options] Override http request option.
186
+ * @throws {RequiredError}
187
+ */
188
+ overview1(options) {
189
+ return __awaiter(this, void 0, void 0, function* () {
190
+ var _a, _b, _c;
191
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.overview1(options);
192
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
193
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIMaintenanceApi.overview1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
194
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
195
+ });
196
+ },
197
+ /**
198
+ *
199
+ * @summary Start a library-wide job: embeddings (re-embed) or insights (re-enrich). force=true redoes documents that are already up to date
200
+ * @param {string} kind
201
+ * @param {StartRequest} [startRequest]
202
+ * @param {*} [options] Override http request option.
203
+ * @throws {RequiredError}
204
+ */
205
+ start2(kind, startRequest, options) {
206
+ return __awaiter(this, void 0, void 0, function* () {
207
+ var _a, _b, _c;
208
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.start2(kind, startRequest, options);
209
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
210
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIMaintenanceApi.start2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
211
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
212
+ });
213
+ },
214
+ /**
215
+ *
216
+ * @summary Progress of a library-wide job (sum of its per-owner jobs)
217
+ * @param {string} jobId
218
+ * @param {*} [options] Override http request option.
219
+ * @throws {RequiredError}
220
+ */
221
+ status2(jobId, options) {
222
+ return __awaiter(this, void 0, void 0, function* () {
223
+ var _a, _b, _c;
224
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.status2(jobId, options);
225
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
226
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIMaintenanceApi.status2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
227
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
228
+ });
229
+ },
230
+ };
231
+ };
232
+ /**
233
+ * AIMaintenanceApi - factory interface
234
+ */
235
+ export const AIMaintenanceApiFactory = function (configuration, basePath, axios) {
236
+ const localVarFp = AIMaintenanceApiFp(configuration);
237
+ return {
238
+ /**
239
+ *
240
+ * @param {*} [options] Override http request option.
241
+ * @throws {RequiredError}
242
+ */
243
+ jobs1(options) {
244
+ return localVarFp.jobs1(options).then((request) => request(axios, basePath));
245
+ },
246
+ /**
247
+ *
248
+ * @summary What can run here, and the recent library-wide jobs of this instance
249
+ * @param {*} [options] Override http request option.
250
+ * @throws {RequiredError}
251
+ */
252
+ overview1(options) {
253
+ return localVarFp.overview1(options).then((request) => request(axios, basePath));
254
+ },
255
+ /**
256
+ *
257
+ * @summary Start a library-wide job: embeddings (re-embed) or insights (re-enrich). force=true redoes documents that are already up to date
258
+ * @param {string} kind
259
+ * @param {StartRequest} [startRequest]
260
+ * @param {*} [options] Override http request option.
261
+ * @throws {RequiredError}
262
+ */
263
+ start2(kind, startRequest, options) {
264
+ return localVarFp.start2(kind, startRequest, options).then((request) => request(axios, basePath));
265
+ },
266
+ /**
267
+ *
268
+ * @summary Progress of a library-wide job (sum of its per-owner jobs)
269
+ * @param {string} jobId
270
+ * @param {*} [options] Override http request option.
271
+ * @throws {RequiredError}
272
+ */
273
+ status2(jobId, options) {
274
+ return localVarFp.status2(jobId, options).then((request) => request(axios, basePath));
275
+ },
276
+ };
277
+ };
278
+ /**
279
+ * AIMaintenanceApi - object-oriented interface
280
+ */
281
+ export class AIMaintenanceApi extends BaseAPI {
282
+ /**
283
+ *
284
+ * @param {*} [options] Override http request option.
285
+ * @throws {RequiredError}
286
+ */
287
+ jobs1(options) {
288
+ return AIMaintenanceApiFp(this.configuration).jobs1(options).then((request) => request(this.axios, this.basePath));
289
+ }
290
+ /**
291
+ *
292
+ * @summary What can run here, and the recent library-wide jobs of this instance
293
+ * @param {*} [options] Override http request option.
294
+ * @throws {RequiredError}
295
+ */
296
+ overview1(options) {
297
+ return AIMaintenanceApiFp(this.configuration).overview1(options).then((request) => request(this.axios, this.basePath));
298
+ }
299
+ /**
300
+ *
301
+ * @summary Start a library-wide job: embeddings (re-embed) or insights (re-enrich). force=true redoes documents that are already up to date
302
+ * @param {string} kind
303
+ * @param {StartRequest} [startRequest]
304
+ * @param {*} [options] Override http request option.
305
+ * @throws {RequiredError}
306
+ */
307
+ start2(kind, startRequest, options) {
308
+ return AIMaintenanceApiFp(this.configuration).start2(kind, startRequest, options).then((request) => request(this.axios, this.basePath));
309
+ }
310
+ /**
311
+ *
312
+ * @summary Progress of a library-wide job (sum of its per-owner jobs)
313
+ * @param {string} jobId
314
+ * @param {*} [options] Override http request option.
315
+ * @throws {RequiredError}
316
+ */
317
+ status2(jobId, options) {
318
+ return AIMaintenanceApiFp(this.configuration).status2(jobId, options).then((request) => request(this.axios, this.basePath));
319
+ }
320
+ }
@@ -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
  }
@@ -136,7 +136,7 @@ export const AITeamInboxesApiAxiosParamCreator = function (configuration) {
136
136
  * @param {*} [options] Override http request option.
137
137
  * @throws {RequiredError}
138
138
  */
139
- list2: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
139
+ list3: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
140
140
  const localVarPath = `/api/v1/admin/ai/team-inboxes`;
141
141
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
142
142
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -200,11 +200,11 @@ export const AITeamInboxesApiAxiosParamCreator = function (configuration) {
200
200
  * @param {*} [options] Override http request option.
201
201
  * @throws {RequiredError}
202
202
  */
203
- update2: (id_1, teamInboxRequest_1, ...args_1) => __awaiter(this, [id_1, teamInboxRequest_1, ...args_1], void 0, function* (id, teamInboxRequest, options = {}) {
203
+ update3: (id_1, teamInboxRequest_1, ...args_1) => __awaiter(this, [id_1, teamInboxRequest_1, ...args_1], void 0, function* (id, teamInboxRequest, options = {}) {
204
204
  // verify required parameter 'id' is not null or undefined
205
- assertParamExists('update2', 'id', id);
205
+ assertParamExists('update3', 'id', id);
206
206
  // verify required parameter 'teamInboxRequest' is not null or undefined
207
- assertParamExists('update2', 'teamInboxRequest', teamInboxRequest);
207
+ assertParamExists('update3', 'teamInboxRequest', teamInboxRequest);
208
208
  const localVarPath = `/api/v1/admin/ai/team-inboxes/{id}`
209
209
  .replace('{id}', encodeURIComponent(String(id)));
210
210
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -292,12 +292,12 @@ export const AITeamInboxesApiFp = function (configuration) {
292
292
  * @param {*} [options] Override http request option.
293
293
  * @throws {RequiredError}
294
294
  */
295
- list2(options) {
295
+ list3(options) {
296
296
  return __awaiter(this, void 0, void 0, function* () {
297
297
  var _a, _b, _c;
298
- const localVarAxiosArgs = yield localVarAxiosParamCreator.list2(options);
298
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.list3(options);
299
299
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
300
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AITeamInboxesApi.list2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
300
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AITeamInboxesApi.list3']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
301
301
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
302
302
  });
303
303
  },
@@ -325,12 +325,12 @@ export const AITeamInboxesApiFp = function (configuration) {
325
325
  * @param {*} [options] Override http request option.
326
326
  * @throws {RequiredError}
327
327
  */
328
- update2(id, teamInboxRequest, options) {
328
+ update3(id, teamInboxRequest, options) {
329
329
  return __awaiter(this, void 0, void 0, function* () {
330
330
  var _a, _b, _c;
331
- const localVarAxiosArgs = yield localVarAxiosParamCreator.update2(id, teamInboxRequest, options);
331
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.update3(id, teamInboxRequest, options);
332
332
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
333
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AITeamInboxesApi.update2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
333
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AITeamInboxesApi.update3']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
334
334
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
335
335
  });
336
336
  },
@@ -378,8 +378,8 @@ export const AITeamInboxesApiFactory = function (configuration, basePath, axios)
378
378
  * @param {*} [options] Override http request option.
379
379
  * @throws {RequiredError}
380
380
  */
381
- list2(options) {
382
- return localVarFp.list2(options).then((request) => request(axios, basePath));
381
+ list3(options) {
382
+ return localVarFp.list3(options).then((request) => request(axios, basePath));
383
383
  },
384
384
  /**
385
385
  * 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.
@@ -399,8 +399,8 @@ export const AITeamInboxesApiFactory = function (configuration, basePath, axios)
399
399
  * @param {*} [options] Override http request option.
400
400
  * @throws {RequiredError}
401
401
  */
402
- update2(id, teamInboxRequest, options) {
403
- return localVarFp.update2(id, teamInboxRequest, options).then((request) => request(axios, basePath));
402
+ update3(id, teamInboxRequest, options) {
403
+ return localVarFp.update3(id, teamInboxRequest, options).then((request) => request(axios, basePath));
404
404
  },
405
405
  };
406
406
  };
@@ -444,8 +444,8 @@ export class AITeamInboxesApi extends BaseAPI {
444
444
  * @param {*} [options] Override http request option.
445
445
  * @throws {RequiredError}
446
446
  */
447
- list2(options) {
448
- return AITeamInboxesApiFp(this.configuration).list2(options).then((request) => request(this.axios, this.basePath));
447
+ list3(options) {
448
+ return AITeamInboxesApiFp(this.configuration).list3(options).then((request) => request(this.axios, this.basePath));
449
449
  }
450
450
  /**
451
451
  * 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.
@@ -465,7 +465,7 @@ export class AITeamInboxesApi extends BaseAPI {
465
465
  * @param {*} [options] Override http request option.
466
466
  * @throws {RequiredError}
467
467
  */
468
- update2(id, teamInboxRequest, options) {
469
- return AITeamInboxesApiFp(this.configuration).update2(id, teamInboxRequest, options).then((request) => request(this.axios, this.basePath));
468
+ update3(id, teamInboxRequest, options) {
469
+ return AITeamInboxesApiFp(this.configuration).update3(id, teamInboxRequest, options).then((request) => request(this.axios, this.basePath));
470
470
  }
471
471
  }