@openfilz-sdk/typescript-ee 1.9.6 → 1.9.7

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 (116) hide show
  1. package/.openapi-generator/FILES +22 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +23 -4
  4. package/api/aichat-api.ts +9 -9
  5. package/api/document-controller-api.ts +30 -14
  6. package/api/document-insights-api.ts +275 -0
  7. package/api/esign-api.ts +9 -9
  8. package/api/settings-api.ts +142 -0
  9. package/api/smart-filing-api.ts +421 -0
  10. package/api.ts +2 -0
  11. package/dist/api/aichat-api.d.ts +4 -4
  12. package/dist/api/aichat-api.js +9 -9
  13. package/dist/api/document-controller-api.d.ts +16 -8
  14. package/dist/api/document-controller-api.js +28 -14
  15. package/dist/api/document-insights-api.d.ts +133 -0
  16. package/dist/api/document-insights-api.js +269 -0
  17. package/dist/api/esign-api.d.ts +4 -4
  18. package/dist/api/esign-api.js +9 -9
  19. package/dist/api/settings-api.d.ts +62 -0
  20. package/dist/api/settings-api.js +132 -0
  21. package/dist/api/smart-filing-api.d.ts +197 -0
  22. package/dist/api/smart-filing-api.js +409 -0
  23. package/dist/api.d.ts +2 -0
  24. package/dist/api.js +2 -0
  25. package/dist/esm/api/aichat-api.d.ts +4 -4
  26. package/dist/esm/api/aichat-api.js +9 -9
  27. package/dist/esm/api/document-controller-api.d.ts +16 -8
  28. package/dist/esm/api/document-controller-api.js +28 -14
  29. package/dist/esm/api/document-insights-api.d.ts +133 -0
  30. package/dist/esm/api/document-insights-api.js +262 -0
  31. package/dist/esm/api/esign-api.d.ts +4 -4
  32. package/dist/esm/api/esign-api.js +9 -9
  33. package/dist/esm/api/settings-api.d.ts +62 -0
  34. package/dist/esm/api/settings-api.js +132 -0
  35. package/dist/esm/api/smart-filing-api.d.ts +197 -0
  36. package/dist/esm/api/smart-filing-api.js +402 -0
  37. package/dist/esm/api.d.ts +2 -0
  38. package/dist/esm/api.js +2 -0
  39. package/dist/esm/models/ai-preferences-view.d.ts +16 -0
  40. package/dist/esm/models/ai-preferences-view.js +14 -0
  41. package/dist/esm/models/auto-file-job-view.d.ts +25 -0
  42. package/dist/esm/models/auto-file-job-view.js +14 -0
  43. package/dist/esm/models/auto-file-request.d.ts +15 -0
  44. package/dist/esm/models/auto-file-request.js +14 -0
  45. package/dist/esm/models/auto-file-ticket.d.ts +15 -0
  46. package/dist/esm/models/auto-file-ticket.js +14 -0
  47. package/dist/esm/models/document-insight-view.d.ts +33 -0
  48. package/dist/esm/models/document-insight-view.js +14 -0
  49. package/dist/esm/models/filing-outcome.d.ts +25 -0
  50. package/dist/esm/models/filing-outcome.js +14 -0
  51. package/dist/esm/models/index.d.ts +9 -0
  52. package/dist/esm/models/index.js +9 -0
  53. package/dist/esm/models/insight-backfill-request.d.ts +15 -0
  54. package/dist/esm/models/insight-backfill-request.js +14 -0
  55. package/dist/esm/models/insight-backfill-status.d.ts +23 -0
  56. package/dist/esm/models/insight-backfill-status.js +14 -0
  57. package/dist/esm/models/save-ai-preferences-request.d.ts +15 -0
  58. package/dist/esm/models/save-ai-preferences-request.js +14 -0
  59. package/dist/esm/models/settings.d.ts +2 -0
  60. package/dist/esm/models/tus-finalize-request.d.ts +1 -0
  61. package/dist/esm/models/upload-response.d.ts +2 -0
  62. package/dist/models/ai-preferences-view.d.ts +16 -0
  63. package/dist/models/ai-preferences-view.js +15 -0
  64. package/dist/models/auto-file-job-view.d.ts +25 -0
  65. package/dist/models/auto-file-job-view.js +15 -0
  66. package/dist/models/auto-file-request.d.ts +15 -0
  67. package/dist/models/auto-file-request.js +15 -0
  68. package/dist/models/auto-file-ticket.d.ts +15 -0
  69. package/dist/models/auto-file-ticket.js +15 -0
  70. package/dist/models/document-insight-view.d.ts +33 -0
  71. package/dist/models/document-insight-view.js +15 -0
  72. package/dist/models/filing-outcome.d.ts +25 -0
  73. package/dist/models/filing-outcome.js +15 -0
  74. package/dist/models/index.d.ts +9 -0
  75. package/dist/models/index.js +9 -0
  76. package/dist/models/insight-backfill-request.d.ts +15 -0
  77. package/dist/models/insight-backfill-request.js +15 -0
  78. package/dist/models/insight-backfill-status.d.ts +23 -0
  79. package/dist/models/insight-backfill-status.js +15 -0
  80. package/dist/models/save-ai-preferences-request.d.ts +15 -0
  81. package/dist/models/save-ai-preferences-request.js +15 -0
  82. package/dist/models/settings.d.ts +2 -0
  83. package/dist/models/tus-finalize-request.d.ts +1 -0
  84. package/dist/models/upload-response.d.ts +2 -0
  85. package/docs/AIChatApi.md +4 -4
  86. package/docs/AiPreferencesView.md +24 -0
  87. package/docs/AutoFileJobView.md +40 -0
  88. package/docs/AutoFileRequest.md +22 -0
  89. package/docs/AutoFileTicket.md +22 -0
  90. package/docs/DocumentControllerApi.md +6 -0
  91. package/docs/DocumentInsightView.md +54 -0
  92. package/docs/DocumentInsightsApi.md +163 -0
  93. package/docs/ESignApi.md +4 -4
  94. package/docs/FilingOutcome.md +42 -0
  95. package/docs/InsightBackfillRequest.md +22 -0
  96. package/docs/InsightBackfillStatus.md +38 -0
  97. package/docs/SaveAiPreferencesRequest.md +22 -0
  98. package/docs/Settings.md +4 -0
  99. package/docs/SettingsApi.md +97 -0
  100. package/docs/SmartFilingApi.md +264 -0
  101. package/docs/TusFinalizeRequest.md +2 -0
  102. package/docs/UploadResponse.md +2 -0
  103. package/models/ai-preferences-view.ts +22 -0
  104. package/models/auto-file-job-view.ts +33 -0
  105. package/models/auto-file-request.ts +21 -0
  106. package/models/auto-file-ticket.ts +21 -0
  107. package/models/document-insight-view.ts +37 -0
  108. package/models/filing-outcome.ts +31 -0
  109. package/models/index.ts +9 -0
  110. package/models/insight-backfill-request.ts +21 -0
  111. package/models/insight-backfill-status.ts +29 -0
  112. package/models/save-ai-preferences-request.ts +21 -0
  113. package/models/settings.ts +2 -0
  114. package/models/tus-finalize-request.ts +1 -0
  115. package/models/upload-response.ts +4 -0
  116. package/package.json +1 -1
@@ -0,0 +1,262 @@
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
+ * DocumentInsightsApi - axios parameter creator
31
+ */
32
+ export const DocumentInsightsApiAxiosParamCreator = function (configuration) {
33
+ return {
34
+ /**
35
+ * Queues every FILE without a tier-2 insight (or with an older prompt version when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}.
36
+ * @summary Enrich existing documents
37
+ * @param {InsightBackfillRequest} [insightBackfillRequest]
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ backfill: (insightBackfillRequest_1, ...args_1) => __awaiter(this, [insightBackfillRequest_1, ...args_1], void 0, function* (insightBackfillRequest, options = {}) {
42
+ const localVarPath = `/api/v1/ai/insights/backfill`;
43
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
44
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
45
+ let baseOptions;
46
+ if (configuration) {
47
+ baseOptions = configuration.baseOptions;
48
+ }
49
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
50
+ const localVarHeaderParameter = {};
51
+ const localVarQueryParameter = {};
52
+ // authentication keycloak_auth required
53
+ // http bearer authentication required
54
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
55
+ localVarHeaderParameter['Content-Type'] = 'application/json';
56
+ localVarHeaderParameter['Accept'] = 'application/json';
57
+ 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
+ localVarRequestOptions.data = serializeDataIfNeeded(insightBackfillRequest, localVarRequestOptions, configuration);
61
+ return {
62
+ url: toPathString(localVarUrlObj),
63
+ options: localVarRequestOptions,
64
+ };
65
+ }),
66
+ /**
67
+ *
68
+ * @summary Progress of a backfill job
69
+ * @param {string} jobId
70
+ * @param {*} [options] Override http request option.
71
+ * @throws {RequiredError}
72
+ */
73
+ backfillStatus: (jobId_1, ...args_1) => __awaiter(this, [jobId_1, ...args_1], void 0, function* (jobId, options = {}) {
74
+ // verify required parameter 'jobId' is not null or undefined
75
+ assertParamExists('backfillStatus', 'jobId', jobId);
76
+ const localVarPath = `/api/v1/ai/insights/backfill/{jobId}`
77
+ .replace('{jobId}', encodeURIComponent(String(jobId)));
78
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
79
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80
+ let baseOptions;
81
+ if (configuration) {
82
+ baseOptions = configuration.baseOptions;
83
+ }
84
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
85
+ const localVarHeaderParameter = {};
86
+ const localVarQueryParameter = {};
87
+ // authentication keycloak_auth required
88
+ // http bearer authentication required
89
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
90
+ localVarHeaderParameter['Accept'] = 'application/json';
91
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
92
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
93
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
94
+ return {
95
+ url: toPathString(localVarUrlObj),
96
+ options: localVarRequestOptions,
97
+ };
98
+ }),
99
+ /**
100
+ * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
101
+ * @summary Get the insights of a document
102
+ * @param {string} documentId
103
+ * @param {*} [options] Override http request option.
104
+ * @throws {RequiredError}
105
+ */
106
+ getInsights: (documentId_1, ...args_1) => __awaiter(this, [documentId_1, ...args_1], void 0, function* (documentId, options = {}) {
107
+ // verify required parameter 'documentId' is not null or undefined
108
+ assertParamExists('getInsights', 'documentId', documentId);
109
+ const localVarPath = `/api/v1/documents/{documentId}/insights`
110
+ .replace('{documentId}', encodeURIComponent(String(documentId)));
111
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
112
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
113
+ let baseOptions;
114
+ if (configuration) {
115
+ baseOptions = configuration.baseOptions;
116
+ }
117
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
118
+ const localVarHeaderParameter = {};
119
+ const localVarQueryParameter = {};
120
+ // authentication keycloak_auth required
121
+ // http bearer authentication required
122
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
123
+ localVarHeaderParameter['Accept'] = 'application/json';
124
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
125
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
126
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
127
+ return {
128
+ url: toPathString(localVarUrlObj),
129
+ options: localVarRequestOptions,
130
+ };
131
+ }),
132
+ };
133
+ };
134
+ /**
135
+ * DocumentInsightsApi - functional programming interface
136
+ */
137
+ export const DocumentInsightsApiFp = function (configuration) {
138
+ const localVarAxiosParamCreator = DocumentInsightsApiAxiosParamCreator(configuration);
139
+ return {
140
+ /**
141
+ * Queues every FILE without a tier-2 insight (or with an older prompt version when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}.
142
+ * @summary Enrich existing documents
143
+ * @param {InsightBackfillRequest} [insightBackfillRequest]
144
+ * @param {*} [options] Override http request option.
145
+ * @throws {RequiredError}
146
+ */
147
+ backfill(insightBackfillRequest, options) {
148
+ return __awaiter(this, void 0, void 0, function* () {
149
+ var _a, _b, _c;
150
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.backfill(insightBackfillRequest, options);
151
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
152
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DocumentInsightsApi.backfill']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
153
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
154
+ });
155
+ },
156
+ /**
157
+ *
158
+ * @summary Progress of a backfill job
159
+ * @param {string} jobId
160
+ * @param {*} [options] Override http request option.
161
+ * @throws {RequiredError}
162
+ */
163
+ backfillStatus(jobId, options) {
164
+ return __awaiter(this, void 0, void 0, function* () {
165
+ var _a, _b, _c;
166
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.backfillStatus(jobId, options);
167
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
168
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DocumentInsightsApi.backfillStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
169
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
170
+ });
171
+ },
172
+ /**
173
+ * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
174
+ * @summary Get the insights of a document
175
+ * @param {string} documentId
176
+ * @param {*} [options] Override http request option.
177
+ * @throws {RequiredError}
178
+ */
179
+ getInsights(documentId, options) {
180
+ return __awaiter(this, void 0, void 0, function* () {
181
+ var _a, _b, _c;
182
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getInsights(documentId, options);
183
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
184
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DocumentInsightsApi.getInsights']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
185
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
186
+ });
187
+ },
188
+ };
189
+ };
190
+ /**
191
+ * DocumentInsightsApi - factory interface
192
+ */
193
+ export const DocumentInsightsApiFactory = function (configuration, basePath, axios) {
194
+ const localVarFp = DocumentInsightsApiFp(configuration);
195
+ return {
196
+ /**
197
+ * Queues every FILE without a tier-2 insight (or with an older prompt version when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}.
198
+ * @summary Enrich existing documents
199
+ * @param {InsightBackfillRequest} [insightBackfillRequest]
200
+ * @param {*} [options] Override http request option.
201
+ * @throws {RequiredError}
202
+ */
203
+ backfill(insightBackfillRequest, options) {
204
+ return localVarFp.backfill(insightBackfillRequest, options).then((request) => request(axios, basePath));
205
+ },
206
+ /**
207
+ *
208
+ * @summary Progress of a backfill job
209
+ * @param {string} jobId
210
+ * @param {*} [options] Override http request option.
211
+ * @throws {RequiredError}
212
+ */
213
+ backfillStatus(jobId, options) {
214
+ return localVarFp.backfillStatus(jobId, options).then((request) => request(axios, basePath));
215
+ },
216
+ /**
217
+ * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
218
+ * @summary Get the insights of a document
219
+ * @param {string} documentId
220
+ * @param {*} [options] Override http request option.
221
+ * @throws {RequiredError}
222
+ */
223
+ getInsights(documentId, options) {
224
+ return localVarFp.getInsights(documentId, options).then((request) => request(axios, basePath));
225
+ },
226
+ };
227
+ };
228
+ /**
229
+ * DocumentInsightsApi - object-oriented interface
230
+ */
231
+ export class DocumentInsightsApi extends BaseAPI {
232
+ /**
233
+ * Queues every FILE without a tier-2 insight (or with an older prompt version when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}.
234
+ * @summary Enrich existing documents
235
+ * @param {InsightBackfillRequest} [insightBackfillRequest]
236
+ * @param {*} [options] Override http request option.
237
+ * @throws {RequiredError}
238
+ */
239
+ backfill(insightBackfillRequest, options) {
240
+ return DocumentInsightsApiFp(this.configuration).backfill(insightBackfillRequest, options).then((request) => request(this.axios, this.basePath));
241
+ }
242
+ /**
243
+ *
244
+ * @summary Progress of a backfill job
245
+ * @param {string} jobId
246
+ * @param {*} [options] Override http request option.
247
+ * @throws {RequiredError}
248
+ */
249
+ backfillStatus(jobId, options) {
250
+ return DocumentInsightsApiFp(this.configuration).backfillStatus(jobId, options).then((request) => request(this.axios, this.basePath));
251
+ }
252
+ /**
253
+ * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
254
+ * @summary Get the insights of a document
255
+ * @param {string} documentId
256
+ * @param {*} [options] Override http request option.
257
+ * @throws {RequiredError}
258
+ */
259
+ getInsights(documentId, options) {
260
+ return DocumentInsightsApiFp(this.configuration).getInsights(documentId, options).then((request) => request(this.axios, this.basePath));
261
+ }
262
+ }
@@ -58,7 +58,7 @@ export declare const ESignApiAxiosParamCreator: (configuration?: Configuration)
58
58
  * @param {*} [options] Override http request option.
59
59
  * @throws {RequiredError}
60
60
  */
61
- get2: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
61
+ get3: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
62
62
  /**
63
63
  *
64
64
  * @summary List envelopes I sent for signature
@@ -142,7 +142,7 @@ export declare const ESignApiFp: (configuration?: Configuration) => {
142
142
  * @param {*} [options] Override http request option.
143
143
  * @throws {RequiredError}
144
144
  */
145
- get2(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureEnvelopeDTO>>;
145
+ get3(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureEnvelopeDTO>>;
146
146
  /**
147
147
  *
148
148
  * @summary List envelopes I sent for signature
@@ -226,7 +226,7 @@ export declare const ESignApiFactory: (configuration?: Configuration, basePath?:
226
226
  * @param {*} [options] Override http request option.
227
227
  * @throws {RequiredError}
228
228
  */
229
- get2(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureEnvelopeDTO>;
229
+ get3(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureEnvelopeDTO>;
230
230
  /**
231
231
  *
232
232
  * @summary List envelopes I sent for signature
@@ -310,7 +310,7 @@ export declare class ESignApi extends BaseAPI {
310
310
  * @param {*} [options] Override http request option.
311
311
  * @throws {RequiredError}
312
312
  */
313
- get2(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureEnvelopeDTO, any, {}, any>>;
313
+ get3(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureEnvelopeDTO, any, {}, any>>;
314
314
  /**
315
315
  *
316
316
  * @summary List envelopes I sent for signature
@@ -167,9 +167,9 @@ export const ESignApiAxiosParamCreator = function (configuration) {
167
167
  * @param {*} [options] Override http request option.
168
168
  * @throws {RequiredError}
169
169
  */
170
- get2: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
170
+ get3: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
171
171
  // verify required parameter 'id' is not null or undefined
172
- assertParamExists('get2', 'id', id);
172
+ assertParamExists('get3', 'id', id);
173
173
  const localVarPath = `/api/v1/signatures/{id}`
174
174
  .replace('{id}', encodeURIComponent(String(id)));
175
175
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -436,12 +436,12 @@ export const ESignApiFp = function (configuration) {
436
436
  * @param {*} [options] Override http request option.
437
437
  * @throws {RequiredError}
438
438
  */
439
- get2(id, options) {
439
+ get3(id, options) {
440
440
  return __awaiter(this, void 0, void 0, function* () {
441
441
  var _a, _b, _c;
442
- const localVarAxiosArgs = yield localVarAxiosParamCreator.get2(id, options);
442
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.get3(id, options);
443
443
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
444
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ESignApi.get2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
444
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ESignApi.get3']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
445
445
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
446
446
  });
447
447
  },
@@ -579,8 +579,8 @@ export const ESignApiFactory = function (configuration, basePath, axios) {
579
579
  * @param {*} [options] Override http request option.
580
580
  * @throws {RequiredError}
581
581
  */
582
- get2(id, options) {
583
- return localVarFp.get2(id, options).then((request) => request(axios, basePath));
582
+ get3(id, options) {
583
+ return localVarFp.get3(id, options).then((request) => request(axios, basePath));
584
584
  },
585
585
  /**
586
586
  *
@@ -684,8 +684,8 @@ export class ESignApi extends BaseAPI {
684
684
  * @param {*} [options] Override http request option.
685
685
  * @throws {RequiredError}
686
686
  */
687
- get2(id, options) {
688
- return ESignApiFp(this.configuration).get2(id, options).then((request) => request(this.axios, this.basePath));
687
+ get3(id, options) {
688
+ return ESignApiFp(this.configuration).get3(id, options).then((request) => request(this.axios, this.basePath));
689
689
  }
690
690
  /**
691
691
  *
@@ -12,13 +12,22 @@
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { AiPreferencesView } from '../models';
15
16
  import type { LicenseInfo } from '../models';
17
+ import type { SaveAiPreferencesRequest } from '../models';
16
18
  import type { Settings } from '../models';
17
19
  import type { UserPreferencesRequest } from '../models';
18
20
  /**
19
21
  * SettingsApi - axios parameter creator
20
22
  */
21
23
  export declare const SettingsApiAxiosParamCreator: (configuration?: Configuration) => {
24
+ /**
25
+ *
26
+ * @summary The caller\'s smart-filing preferences
27
+ * @param {*} [options] Override http request option.
28
+ * @throws {RequiredError}
29
+ */
30
+ get2: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22
31
  /**
23
32
  * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
24
33
  * @summary Coarse license info
@@ -33,6 +42,14 @@ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuratio
33
42
  * @throws {RequiredError}
34
43
  */
35
44
  getSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45
+ /**
46
+ * A null field leaves the current value unchanged.
47
+ * @summary Save the caller\'s smart-filing preferences
48
+ * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
49
+ * @param {*} [options] Override http request option.
50
+ * @throws {RequiredError}
51
+ */
52
+ save: (saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
36
53
  /**
37
54
  * Save user\'s language and theme preferences
38
55
  * @summary Save user preferences
@@ -46,6 +63,13 @@ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuratio
46
63
  * SettingsApi - functional programming interface
47
64
  */
48
65
  export declare const SettingsApiFp: (configuration?: Configuration) => {
66
+ /**
67
+ *
68
+ * @summary The caller\'s smart-filing preferences
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ get2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiPreferencesView>>;
49
73
  /**
50
74
  * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
51
75
  * @summary Coarse license info
@@ -60,6 +84,14 @@ export declare const SettingsApiFp: (configuration?: Configuration) => {
60
84
  * @throws {RequiredError}
61
85
  */
62
86
  getSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>>;
87
+ /**
88
+ * A null field leaves the current value unchanged.
89
+ * @summary Save the caller\'s smart-filing preferences
90
+ * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiPreferencesView>>;
63
95
  /**
64
96
  * Save user\'s language and theme preferences
65
97
  * @summary Save user preferences
@@ -73,6 +105,13 @@ export declare const SettingsApiFp: (configuration?: Configuration) => {
73
105
  * SettingsApi - factory interface
74
106
  */
75
107
  export declare const SettingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
108
+ /**
109
+ *
110
+ * @summary The caller\'s smart-filing preferences
111
+ * @param {*} [options] Override http request option.
112
+ * @throws {RequiredError}
113
+ */
114
+ get2(options?: RawAxiosRequestConfig): AxiosPromise<AiPreferencesView>;
76
115
  /**
77
116
  * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
78
117
  * @summary Coarse license info
@@ -87,6 +126,14 @@ export declare const SettingsApiFactory: (configuration?: Configuration, basePat
87
126
  * @throws {RequiredError}
88
127
  */
89
128
  getSettings(options?: RawAxiosRequestConfig): AxiosPromise<Settings>;
129
+ /**
130
+ * A null field leaves the current value unchanged.
131
+ * @summary Save the caller\'s smart-filing preferences
132
+ * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
133
+ * @param {*} [options] Override http request option.
134
+ * @throws {RequiredError}
135
+ */
136
+ save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiPreferencesView>;
90
137
  /**
91
138
  * Save user\'s language and theme preferences
92
139
  * @summary Save user preferences
@@ -100,6 +147,13 @@ export declare const SettingsApiFactory: (configuration?: Configuration, basePat
100
147
  * SettingsApi - object-oriented interface
101
148
  */
102
149
  export declare class SettingsApi extends BaseAPI {
150
+ /**
151
+ *
152
+ * @summary The caller\'s smart-filing preferences
153
+ * @param {*} [options] Override http request option.
154
+ * @throws {RequiredError}
155
+ */
156
+ get2(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiPreferencesView, any, {}, any>>;
103
157
  /**
104
158
  * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
105
159
  * @summary Coarse license info
@@ -114,6 +168,14 @@ export declare class SettingsApi extends BaseAPI {
114
168
  * @throws {RequiredError}
115
169
  */
116
170
  getSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Settings, any, {}, any>>;
171
+ /**
172
+ * A null field leaves the current value unchanged.
173
+ * @summary Save the caller\'s smart-filing preferences
174
+ * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
175
+ * @param {*} [options] Override http request option.
176
+ * @throws {RequiredError}
177
+ */
178
+ save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiPreferencesView, any, {}, any>>;
117
179
  /**
118
180
  * Save user\'s language and theme preferences
119
181
  * @summary Save user preferences
@@ -31,6 +31,35 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
31
31
  */
32
32
  export const SettingsApiAxiosParamCreator = function (configuration) {
33
33
  return {
34
+ /**
35
+ *
36
+ * @summary The caller\'s smart-filing preferences
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ get2: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
41
+ const localVarPath = `/api/v1/settings/ai/preferences`;
42
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44
+ let baseOptions;
45
+ if (configuration) {
46
+ baseOptions = configuration.baseOptions;
47
+ }
48
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
49
+ const localVarHeaderParameter = {};
50
+ const localVarQueryParameter = {};
51
+ // authentication keycloak_auth required
52
+ // http bearer authentication required
53
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
54
+ localVarHeaderParameter['Accept'] = 'application/json';
55
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
56
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
57
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
58
+ return {
59
+ url: toPathString(localVarUrlObj),
60
+ options: localVarRequestOptions,
61
+ };
62
+ }),
34
63
  /**
35
64
  * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
36
65
  * @summary Coarse license info
@@ -89,6 +118,40 @@ export const SettingsApiAxiosParamCreator = function (configuration) {
89
118
  options: localVarRequestOptions,
90
119
  };
91
120
  }),
121
+ /**
122
+ * A null field leaves the current value unchanged.
123
+ * @summary Save the caller\'s smart-filing preferences
124
+ * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
125
+ * @param {*} [options] Override http request option.
126
+ * @throws {RequiredError}
127
+ */
128
+ save: (saveAiPreferencesRequest_1, ...args_1) => __awaiter(this, [saveAiPreferencesRequest_1, ...args_1], void 0, function* (saveAiPreferencesRequest, options = {}) {
129
+ // verify required parameter 'saveAiPreferencesRequest' is not null or undefined
130
+ assertParamExists('save', 'saveAiPreferencesRequest', saveAiPreferencesRequest);
131
+ const localVarPath = `/api/v1/settings/ai/preferences`;
132
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
133
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
134
+ let baseOptions;
135
+ if (configuration) {
136
+ baseOptions = configuration.baseOptions;
137
+ }
138
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
139
+ const localVarHeaderParameter = {};
140
+ const localVarQueryParameter = {};
141
+ // authentication keycloak_auth required
142
+ // http bearer authentication required
143
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
144
+ localVarHeaderParameter['Content-Type'] = 'application/json';
145
+ localVarHeaderParameter['Accept'] = 'application/json';
146
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
147
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
148
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
149
+ localVarRequestOptions.data = serializeDataIfNeeded(saveAiPreferencesRequest, localVarRequestOptions, configuration);
150
+ return {
151
+ url: toPathString(localVarUrlObj),
152
+ options: localVarRequestOptions,
153
+ };
154
+ }),
92
155
  /**
93
156
  * Save user\'s language and theme preferences
94
157
  * @summary Save user preferences
@@ -131,6 +194,21 @@ export const SettingsApiAxiosParamCreator = function (configuration) {
131
194
  export const SettingsApiFp = function (configuration) {
132
195
  const localVarAxiosParamCreator = SettingsApiAxiosParamCreator(configuration);
133
196
  return {
197
+ /**
198
+ *
199
+ * @summary The caller\'s smart-filing preferences
200
+ * @param {*} [options] Override http request option.
201
+ * @throws {RequiredError}
202
+ */
203
+ get2(options) {
204
+ return __awaiter(this, void 0, void 0, function* () {
205
+ var _a, _b, _c;
206
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.get2(options);
207
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
208
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SettingsApi.get2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
209
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
210
+ });
211
+ },
134
212
  /**
135
213
  * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
136
214
  * @summary Coarse license info
@@ -161,6 +239,22 @@ export const SettingsApiFp = function (configuration) {
161
239
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
162
240
  });
163
241
  },
242
+ /**
243
+ * A null field leaves the current value unchanged.
244
+ * @summary Save the caller\'s smart-filing preferences
245
+ * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
246
+ * @param {*} [options] Override http request option.
247
+ * @throws {RequiredError}
248
+ */
249
+ save(saveAiPreferencesRequest, options) {
250
+ return __awaiter(this, void 0, void 0, function* () {
251
+ var _a, _b, _c;
252
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.save(saveAiPreferencesRequest, options);
253
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
254
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SettingsApi.save']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
255
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
256
+ });
257
+ },
164
258
  /**
165
259
  * Save user\'s language and theme preferences
166
260
  * @summary Save user preferences
@@ -185,6 +279,15 @@ export const SettingsApiFp = function (configuration) {
185
279
  export const SettingsApiFactory = function (configuration, basePath, axios) {
186
280
  const localVarFp = SettingsApiFp(configuration);
187
281
  return {
282
+ /**
283
+ *
284
+ * @summary The caller\'s smart-filing preferences
285
+ * @param {*} [options] Override http request option.
286
+ * @throws {RequiredError}
287
+ */
288
+ get2(options) {
289
+ return localVarFp.get2(options).then((request) => request(axios, basePath));
290
+ },
188
291
  /**
189
292
  * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
190
293
  * @summary Coarse license info
@@ -203,6 +306,16 @@ export const SettingsApiFactory = function (configuration, basePath, axios) {
203
306
  getSettings(options) {
204
307
  return localVarFp.getSettings(options).then((request) => request(axios, basePath));
205
308
  },
309
+ /**
310
+ * A null field leaves the current value unchanged.
311
+ * @summary Save the caller\'s smart-filing preferences
312
+ * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
313
+ * @param {*} [options] Override http request option.
314
+ * @throws {RequiredError}
315
+ */
316
+ save(saveAiPreferencesRequest, options) {
317
+ return localVarFp.save(saveAiPreferencesRequest, options).then((request) => request(axios, basePath));
318
+ },
206
319
  /**
207
320
  * Save user\'s language and theme preferences
208
321
  * @summary Save user preferences
@@ -219,6 +332,15 @@ export const SettingsApiFactory = function (configuration, basePath, axios) {
219
332
  * SettingsApi - object-oriented interface
220
333
  */
221
334
  export class SettingsApi extends BaseAPI {
335
+ /**
336
+ *
337
+ * @summary The caller\'s smart-filing preferences
338
+ * @param {*} [options] Override http request option.
339
+ * @throws {RequiredError}
340
+ */
341
+ get2(options) {
342
+ return SettingsApiFp(this.configuration).get2(options).then((request) => request(this.axios, this.basePath));
343
+ }
222
344
  /**
223
345
  * License type and, for trials, the days remaining — drives the frontend trial banner. No license internals are exposed; the browser never talks to license-server.
224
346
  * @summary Coarse license info
@@ -237,6 +359,16 @@ export class SettingsApi extends BaseAPI {
237
359
  getSettings(options) {
238
360
  return SettingsApiFp(this.configuration).getSettings(options).then((request) => request(this.axios, this.basePath));
239
361
  }
362
+ /**
363
+ * A null field leaves the current value unchanged.
364
+ * @summary Save the caller\'s smart-filing preferences
365
+ * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
366
+ * @param {*} [options] Override http request option.
367
+ * @throws {RequiredError}
368
+ */
369
+ save(saveAiPreferencesRequest, options) {
370
+ return SettingsApiFp(this.configuration).save(saveAiPreferencesRequest, options).then((request) => request(this.axios, this.basePath));
371
+ }
240
372
  /**
241
373
  * Save user\'s language and theme preferences
242
374
  * @summary Save user preferences