@openfilz-sdk/typescript-ee 1.8.0 → 1.8.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 (198) hide show
  1. package/.openapi-generator/FILES +45 -4
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +46 -13
  4. package/api/aisettings-api.ts +77 -0
  5. package/api/esign-api.ts +719 -0
  6. package/api/esign-enterprise-api.ts +286 -0
  7. package/api/{digital-signature-public-api.ts → esign-public-api.ts} +183 -24
  8. package/api/{digital-signature-api.ts → esign-templates-api.ts} +137 -113
  9. package/api.ts +4 -2
  10. package/dist/api/aisettings-api.d.ts +34 -0
  11. package/dist/api/aisettings-api.js +70 -0
  12. package/dist/api/esign-api.d.ts +334 -0
  13. package/dist/api/esign-api.js +693 -0
  14. package/dist/api/esign-enterprise-api.d.ts +138 -0
  15. package/dist/api/esign-enterprise-api.js +278 -0
  16. package/dist/{esm/api/digital-signature-public-api.d.ts → api/esign-public-api.d.ts} +81 -12
  17. package/dist/api/{digital-signature-public-api.js → esign-public-api.js} +178 -29
  18. package/dist/api/esign-templates-api.d.ts +234 -0
  19. package/dist/api/{digital-signature-api.js → esign-templates-api.js} +137 -115
  20. package/dist/api.d.ts +4 -2
  21. package/dist/api.js +4 -2
  22. package/dist/esm/api/aisettings-api.d.ts +34 -0
  23. package/dist/esm/api/aisettings-api.js +70 -0
  24. package/dist/esm/api/esign-api.d.ts +334 -0
  25. package/dist/esm/api/esign-api.js +686 -0
  26. package/dist/esm/api/esign-enterprise-api.d.ts +138 -0
  27. package/dist/esm/api/esign-enterprise-api.js +271 -0
  28. package/dist/{api/digital-signature-public-api.d.ts → esm/api/esign-public-api.d.ts} +81 -12
  29. package/dist/esm/api/{digital-signature-public-api.js → esign-public-api.js} +173 -24
  30. package/dist/esm/api/esign-templates-api.d.ts +234 -0
  31. package/dist/esm/api/{digital-signature-api.js → esign-templates-api.js} +132 -110
  32. package/dist/esm/api.d.ts +4 -2
  33. package/dist/esm/api.js +4 -2
  34. package/dist/esm/models/ai-models-response.d.ts +41 -0
  35. package/dist/esm/models/ai-models-response.js +23 -0
  36. package/dist/esm/models/apply-signature-request.d.ts +3 -0
  37. package/dist/esm/models/bulk-row-result.d.ts +17 -0
  38. package/dist/esm/models/bulk-row-result.js +14 -0
  39. package/dist/esm/models/bulk-row.d.ts +19 -0
  40. package/dist/esm/models/bulk-row.js +14 -0
  41. package/dist/esm/models/bulk-send-request.d.ts +19 -0
  42. package/dist/esm/models/bulk-send-request.js +14 -0
  43. package/dist/esm/models/bulk-send-response.d.ts +18 -0
  44. package/dist/esm/models/bulk-send-response.js +14 -0
  45. package/dist/esm/models/create-signature-envelope-request.d.ts +5 -0
  46. package/dist/esm/models/embed-url-response.d.ts +16 -0
  47. package/dist/esm/models/embed-url-response.js +14 -0
  48. package/dist/esm/models/enriched-audit-log.d.ts +3 -0
  49. package/dist/esm/models/enriched-audit-log.js +3 -0
  50. package/dist/esm/models/index.d.ts +18 -0
  51. package/dist/esm/models/index.js +18 -0
  52. package/dist/esm/models/instantiate-template-request.d.ts +22 -0
  53. package/dist/esm/models/instantiate-template-request.js +14 -0
  54. package/dist/esm/models/list-ai-models-request.d.ts +32 -0
  55. package/dist/esm/models/list-ai-models-request.js +19 -0
  56. package/dist/esm/models/public-signature-view.d.ts +13 -0
  57. package/dist/esm/models/public-signature-view.js +5 -0
  58. package/dist/esm/models/role-binding.d.ts +19 -0
  59. package/dist/esm/models/role-binding.js +14 -0
  60. package/dist/esm/models/search-by-audit-log-request.d.ts +3 -0
  61. package/dist/esm/models/search-by-audit-log-request.js +3 -0
  62. package/dist/esm/models/settings.d.ts +3 -0
  63. package/dist/esm/models/signature-envelope-dto.d.ts +6 -0
  64. package/dist/esm/models/signature-event-dto.d.ts +33 -0
  65. package/dist/esm/models/signature-event-dto.js +26 -0
  66. package/dist/esm/models/signature-field-dto.d.ts +44 -0
  67. package/dist/esm/models/signature-field-dto.js +27 -0
  68. package/dist/esm/models/signature-field-input.d.ts +39 -0
  69. package/dist/esm/models/signature-field-input.js +27 -0
  70. package/dist/esm/models/signature-field-value.d.ts +16 -0
  71. package/dist/esm/models/signature-field-value.js +14 -0
  72. package/dist/esm/models/signature-recipient-dto.d.ts +16 -0
  73. package/dist/esm/models/signature-recipient-dto.js +9 -0
  74. package/dist/esm/models/signature-recipient-input.d.ts +19 -1
  75. package/dist/esm/models/signature-recipient-input.js +9 -1
  76. package/dist/esm/models/signature-template-dto.d.ts +27 -0
  77. package/dist/esm/models/signature-template-dto.js +14 -0
  78. package/dist/esm/models/signature-template-field.d.ts +40 -0
  79. package/dist/esm/models/signature-template-field.js +27 -0
  80. package/dist/esm/models/signature-template-request.d.ts +23 -0
  81. package/dist/esm/models/signature-template-request.js +14 -0
  82. package/dist/esm/models/signature-template-role.d.ts +28 -0
  83. package/dist/esm/models/signature-template-role.js +22 -0
  84. package/dist/esm/models/verify-otp-request.d.ts +14 -0
  85. package/dist/esm/models/verify-otp-request.js +14 -0
  86. package/dist/models/ai-models-response.d.ts +41 -0
  87. package/dist/models/ai-models-response.js +26 -0
  88. package/dist/models/apply-signature-request.d.ts +3 -0
  89. package/dist/models/bulk-row-result.d.ts +17 -0
  90. package/dist/models/bulk-row-result.js +15 -0
  91. package/dist/models/bulk-row.d.ts +19 -0
  92. package/dist/models/bulk-row.js +15 -0
  93. package/dist/models/bulk-send-request.d.ts +19 -0
  94. package/dist/models/bulk-send-request.js +15 -0
  95. package/dist/models/bulk-send-response.d.ts +18 -0
  96. package/dist/models/bulk-send-response.js +15 -0
  97. package/dist/models/create-signature-envelope-request.d.ts +5 -0
  98. package/dist/models/embed-url-response.d.ts +16 -0
  99. package/dist/models/embed-url-response.js +15 -0
  100. package/dist/models/enriched-audit-log.d.ts +3 -0
  101. package/dist/models/enriched-audit-log.js +3 -0
  102. package/dist/models/index.d.ts +18 -0
  103. package/dist/models/index.js +18 -0
  104. package/dist/models/instantiate-template-request.d.ts +22 -0
  105. package/dist/models/instantiate-template-request.js +15 -0
  106. package/dist/models/list-ai-models-request.d.ts +32 -0
  107. package/dist/models/list-ai-models-request.js +22 -0
  108. package/dist/models/public-signature-view.d.ts +13 -0
  109. package/dist/models/public-signature-view.js +6 -1
  110. package/dist/models/role-binding.d.ts +19 -0
  111. package/dist/models/role-binding.js +15 -0
  112. package/dist/models/search-by-audit-log-request.d.ts +3 -0
  113. package/dist/models/search-by-audit-log-request.js +3 -0
  114. package/dist/models/settings.d.ts +3 -0
  115. package/dist/models/signature-envelope-dto.d.ts +6 -0
  116. package/dist/models/signature-event-dto.d.ts +33 -0
  117. package/dist/models/signature-event-dto.js +29 -0
  118. package/dist/models/signature-field-dto.d.ts +44 -0
  119. package/dist/models/signature-field-dto.js +30 -0
  120. package/dist/models/signature-field-input.d.ts +39 -0
  121. package/dist/models/signature-field-input.js +30 -0
  122. package/dist/models/signature-field-value.d.ts +16 -0
  123. package/dist/models/signature-field-value.js +15 -0
  124. package/dist/models/signature-recipient-dto.d.ts +16 -0
  125. package/dist/models/signature-recipient-dto.js +10 -1
  126. package/dist/models/signature-recipient-input.d.ts +19 -1
  127. package/dist/models/signature-recipient-input.js +10 -0
  128. package/dist/models/signature-template-dto.d.ts +27 -0
  129. package/dist/models/signature-template-dto.js +15 -0
  130. package/dist/models/signature-template-field.d.ts +40 -0
  131. package/dist/models/signature-template-field.js +30 -0
  132. package/dist/models/signature-template-request.d.ts +23 -0
  133. package/dist/models/signature-template-request.js +15 -0
  134. package/dist/models/signature-template-role.d.ts +28 -0
  135. package/dist/models/signature-template-role.js +25 -0
  136. package/dist/models/verify-otp-request.d.ts +14 -0
  137. package/dist/models/verify-otp-request.js +15 -0
  138. package/docs/AISettingsApi.md +53 -0
  139. package/docs/AiModelsResponse.md +26 -0
  140. package/docs/ApplySignatureRequest.md +4 -0
  141. package/docs/BulkRow.md +28 -0
  142. package/docs/BulkRowResult.md +26 -0
  143. package/docs/BulkSendRequest.md +28 -0
  144. package/docs/BulkSendResponse.md +26 -0
  145. package/docs/CreateSignatureEnvelopeRequest.md +10 -0
  146. package/docs/ESignApi.md +463 -0
  147. package/docs/ESignEnterpriseApi.md +164 -0
  148. package/docs/{DigitalSignaturePublicApi.md → ESignPublicApi.md} +118 -12
  149. package/docs/{DigitalSignatureApi.md → ESignTemplatesApi.md} +76 -61
  150. package/docs/EmbedUrlResponse.md +24 -0
  151. package/docs/InstantiateTemplateRequest.md +34 -0
  152. package/docs/ListAiModelsRequest.md +24 -0
  153. package/docs/PublicSignatureView.md +12 -0
  154. package/docs/RoleBinding.md +30 -0
  155. package/docs/Settings.md +6 -0
  156. package/docs/SignatureEnvelopeDTO.md +12 -0
  157. package/docs/SignatureEventDTO.md +30 -0
  158. package/docs/SignatureFieldDTO.md +46 -0
  159. package/docs/SignatureFieldInput.md +36 -0
  160. package/docs/SignatureFieldValue.md +24 -0
  161. package/docs/SignatureRecipientDTO.md +8 -0
  162. package/docs/SignatureRecipientInput.md +13 -1
  163. package/docs/SignatureTemplateDTO.md +42 -0
  164. package/docs/SignatureTemplateField.md +38 -0
  165. package/docs/SignatureTemplateRequest.md +34 -0
  166. package/docs/SignatureTemplateRole.md +26 -0
  167. package/docs/VerifyOtpRequest.md +20 -0
  168. package/models/ai-models-response.ts +51 -0
  169. package/models/apply-signature-request.ts +5 -0
  170. package/models/bulk-row-result.ts +23 -0
  171. package/models/bulk-row.ts +27 -0
  172. package/models/bulk-send-request.ts +27 -0
  173. package/models/bulk-send-response.ts +26 -0
  174. package/models/create-signature-envelope-request.ts +5 -0
  175. package/models/embed-url-response.ts +22 -0
  176. package/models/enriched-audit-log.ts +3 -0
  177. package/models/index.ts +18 -0
  178. package/models/instantiate-template-request.ts +30 -0
  179. package/models/list-ai-models-request.ts +41 -0
  180. package/models/public-signature-view.ts +16 -0
  181. package/models/role-binding.ts +25 -0
  182. package/models/search-by-audit-log-request.ts +3 -0
  183. package/models/settings.ts +3 -0
  184. package/models/signature-envelope-dto.ts +6 -0
  185. package/models/signature-event-dto.ts +42 -0
  186. package/models/signature-field-dto.ts +51 -0
  187. package/models/signature-field-input.ts +46 -0
  188. package/models/signature-field-value.ts +22 -0
  189. package/models/signature-recipient-dto.ts +20 -0
  190. package/models/signature-recipient-input.ts +25 -1
  191. package/models/signature-template-dto.ts +37 -0
  192. package/models/signature-template-field.ts +47 -0
  193. package/models/signature-template-request.ts +33 -0
  194. package/models/signature-template-role.ts +38 -0
  195. package/models/verify-otp-request.ts +20 -0
  196. package/package.json +1 -1
  197. package/dist/api/digital-signature-api.d.ts +0 -221
  198. package/dist/esm/api/digital-signature-api.d.ts +0 -221
@@ -13,7 +13,9 @@ import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { AiConnectionTestResult } from '../models';
16
+ import type { AiModelsResponse } from '../models';
16
17
  import type { AiSettingsResponse } from '../models';
18
+ import type { ListAiModelsRequest } from '../models';
17
19
  import type { SaveAiSettingsRequest } from '../models';
18
20
  /**
19
21
  * AISettingsApi - axios parameter creator
@@ -33,6 +35,14 @@ export declare const AISettingsApiAxiosParamCreator: (configuration?: Configurat
33
35
  * @throws {RequiredError}
34
36
  */
35
37
  getSettings1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
38
+ /**
39
+ * Ask the provider which chat models this key can use, so the picker reflects what exists today rather than a list baked into a release. Falls back to a built-in list (source=FALLBACK) when the provider cannot be reached. POST rather than GET because the key travels in the body, never in a query string; omit apiKey to use the stored key.
40
+ * @summary List the provider\'s chat models
41
+ * @param {ListAiModelsRequest} listAiModelsRequest
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ listModels: (listAiModelsRequest: ListAiModelsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
36
46
  /**
37
47
  * Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
38
48
  * @summary Save my AI settings
@@ -68,6 +78,14 @@ export declare const AISettingsApiFp: (configuration?: Configuration) => {
68
78
  * @throws {RequiredError}
69
79
  */
70
80
  getSettings1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiSettingsResponse>>;
81
+ /**
82
+ * Ask the provider which chat models this key can use, so the picker reflects what exists today rather than a list baked into a release. Falls back to a built-in list (source=FALLBACK) when the provider cannot be reached. POST rather than GET because the key travels in the body, never in a query string; omit apiKey to use the stored key.
83
+ * @summary List the provider\'s chat models
84
+ * @param {ListAiModelsRequest} listAiModelsRequest
85
+ * @param {*} [options] Override http request option.
86
+ * @throws {RequiredError}
87
+ */
88
+ listModels(listAiModelsRequest: ListAiModelsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiModelsResponse>>;
71
89
  /**
72
90
  * Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
73
91
  * @summary Save my AI settings
@@ -103,6 +121,14 @@ export declare const AISettingsApiFactory: (configuration?: Configuration, baseP
103
121
  * @throws {RequiredError}
104
122
  */
105
123
  getSettings1(options?: RawAxiosRequestConfig): AxiosPromise<AiSettingsResponse>;
124
+ /**
125
+ * Ask the provider which chat models this key can use, so the picker reflects what exists today rather than a list baked into a release. Falls back to a built-in list (source=FALLBACK) when the provider cannot be reached. POST rather than GET because the key travels in the body, never in a query string; omit apiKey to use the stored key.
126
+ * @summary List the provider\'s chat models
127
+ * @param {ListAiModelsRequest} listAiModelsRequest
128
+ * @param {*} [options] Override http request option.
129
+ * @throws {RequiredError}
130
+ */
131
+ listModels(listAiModelsRequest: ListAiModelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiModelsResponse>;
106
132
  /**
107
133
  * Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
108
134
  * @summary Save my AI settings
@@ -138,6 +164,14 @@ export declare class AISettingsApi extends BaseAPI {
138
164
  * @throws {RequiredError}
139
165
  */
140
166
  getSettings1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiSettingsResponse, any, {}, any>>;
167
+ /**
168
+ * Ask the provider which chat models this key can use, so the picker reflects what exists today rather than a list baked into a release. Falls back to a built-in list (source=FALLBACK) when the provider cannot be reached. POST rather than GET because the key travels in the body, never in a query string; omit apiKey to use the stored key.
169
+ * @summary List the provider\'s chat models
170
+ * @param {ListAiModelsRequest} listAiModelsRequest
171
+ * @param {*} [options] Override http request option.
172
+ * @throws {RequiredError}
173
+ */
174
+ listModels(listAiModelsRequest: ListAiModelsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiModelsResponse, any, {}, any>>;
141
175
  /**
142
176
  * Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
143
177
  * @summary Save my AI settings
@@ -88,6 +88,40 @@ export const AISettingsApiAxiosParamCreator = function (configuration) {
88
88
  options: localVarRequestOptions,
89
89
  };
90
90
  }),
91
+ /**
92
+ * Ask the provider which chat models this key can use, so the picker reflects what exists today rather than a list baked into a release. Falls back to a built-in list (source=FALLBACK) when the provider cannot be reached. POST rather than GET because the key travels in the body, never in a query string; omit apiKey to use the stored key.
93
+ * @summary List the provider\'s chat models
94
+ * @param {ListAiModelsRequest} listAiModelsRequest
95
+ * @param {*} [options] Override http request option.
96
+ * @throws {RequiredError}
97
+ */
98
+ listModels: (listAiModelsRequest_1, ...args_1) => __awaiter(this, [listAiModelsRequest_1, ...args_1], void 0, function* (listAiModelsRequest, options = {}) {
99
+ // verify required parameter 'listAiModelsRequest' is not null or undefined
100
+ assertParamExists('listModels', 'listAiModelsRequest', listAiModelsRequest);
101
+ const localVarPath = `/api/v1/settings/ai/models`;
102
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
103
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
104
+ let baseOptions;
105
+ if (configuration) {
106
+ baseOptions = configuration.baseOptions;
107
+ }
108
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
109
+ const localVarHeaderParameter = {};
110
+ const localVarQueryParameter = {};
111
+ // authentication keycloak_auth required
112
+ // http bearer authentication required
113
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
114
+ localVarHeaderParameter['Content-Type'] = 'application/json';
115
+ localVarHeaderParameter['Accept'] = 'application/json';
116
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
117
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
118
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
119
+ localVarRequestOptions.data = serializeDataIfNeeded(listAiModelsRequest, localVarRequestOptions, configuration);
120
+ return {
121
+ url: toPathString(localVarUrlObj),
122
+ options: localVarRequestOptions,
123
+ };
124
+ }),
91
125
  /**
92
126
  * Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
93
127
  * @summary Save my AI settings
@@ -194,6 +228,22 @@ export const AISettingsApiFp = function (configuration) {
194
228
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
195
229
  });
196
230
  },
231
+ /**
232
+ * Ask the provider which chat models this key can use, so the picker reflects what exists today rather than a list baked into a release. Falls back to a built-in list (source=FALLBACK) when the provider cannot be reached. POST rather than GET because the key travels in the body, never in a query string; omit apiKey to use the stored key.
233
+ * @summary List the provider\'s chat models
234
+ * @param {ListAiModelsRequest} listAiModelsRequest
235
+ * @param {*} [options] Override http request option.
236
+ * @throws {RequiredError}
237
+ */
238
+ listModels(listAiModelsRequest, options) {
239
+ return __awaiter(this, void 0, void 0, function* () {
240
+ var _a, _b, _c;
241
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listModels(listAiModelsRequest, options);
242
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
243
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AISettingsApi.listModels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
244
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
245
+ });
246
+ },
197
247
  /**
198
248
  * Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
199
249
  * @summary Save my AI settings
@@ -252,6 +302,16 @@ export const AISettingsApiFactory = function (configuration, basePath, axios) {
252
302
  getSettings1(options) {
253
303
  return localVarFp.getSettings1(options).then((request) => request(axios, basePath));
254
304
  },
305
+ /**
306
+ * Ask the provider which chat models this key can use, so the picker reflects what exists today rather than a list baked into a release. Falls back to a built-in list (source=FALLBACK) when the provider cannot be reached. POST rather than GET because the key travels in the body, never in a query string; omit apiKey to use the stored key.
307
+ * @summary List the provider\'s chat models
308
+ * @param {ListAiModelsRequest} listAiModelsRequest
309
+ * @param {*} [options] Override http request option.
310
+ * @throws {RequiredError}
311
+ */
312
+ listModels(listAiModelsRequest, options) {
313
+ return localVarFp.listModels(listAiModelsRequest, options).then((request) => request(axios, basePath));
314
+ },
255
315
  /**
256
316
  * Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
257
317
  * @summary Save my AI settings
@@ -296,6 +356,16 @@ export class AISettingsApi extends BaseAPI {
296
356
  getSettings1(options) {
297
357
  return AISettingsApiFp(this.configuration).getSettings1(options).then((request) => request(this.axios, this.basePath));
298
358
  }
359
+ /**
360
+ * Ask the provider which chat models this key can use, so the picker reflects what exists today rather than a list baked into a release. Falls back to a built-in list (source=FALLBACK) when the provider cannot be reached. POST rather than GET because the key travels in the body, never in a query string; omit apiKey to use the stored key.
361
+ * @summary List the provider\'s chat models
362
+ * @param {ListAiModelsRequest} listAiModelsRequest
363
+ * @param {*} [options] Override http request option.
364
+ * @throws {RequiredError}
365
+ */
366
+ listModels(listAiModelsRequest, options) {
367
+ return AISettingsApiFp(this.configuration).listModels(listAiModelsRequest, options).then((request) => request(this.axios, this.basePath));
368
+ }
299
369
  /**
300
370
  * Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
301
371
  * @summary Save my AI settings
@@ -0,0 +1,334 @@
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 { CreateSignatureEnvelopeRequest } from '../models';
16
+ import type { SignatureEnvelopeDTO } from '../models';
17
+ import type { SignatureEventDTO } from '../models';
18
+ /**
19
+ * ESignApi - axios parameter creator
20
+ */
21
+ export declare const ESignApiAxiosParamCreator: (configuration?: Configuration) => {
22
+ /**
23
+ *
24
+ * @summary Cancel a non-terminal envelope
25
+ * @param {string} id
26
+ * @param {*} [options] Override http request option.
27
+ * @throws {RequiredError}
28
+ */
29
+ cancel: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
+ /**
31
+ *
32
+ * @summary Create an envelope (sent immediately unless send=false)
33
+ * @param {CreateSignatureEnvelopeRequest} createSignatureEnvelopeRequest
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ create: (createSignatureEnvelopeRequest: CreateSignatureEnvelopeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
38
+ /**
39
+ *
40
+ * @summary Audit trail of one of my envelopes
41
+ * @param {string} id
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ events: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
46
+ /**
47
+ *
48
+ * @summary Get one of my envelopes (recipients + fields)
49
+ * @param {string} id
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ get2: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
54
+ /**
55
+ *
56
+ * @summary List envelopes I sent for signature
57
+ * @param {ListSentStatusEnum} [status]
58
+ * @param {*} [options] Override http request option.
59
+ * @throws {RequiredError}
60
+ */
61
+ listSent: (status?: ListSentStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
62
+ /**
63
+ *
64
+ * @summary List envelopes waiting for my signature
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ listToSign: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
69
+ /**
70
+ *
71
+ * @summary Resend the signing link to a recipient (new token, previous one revoked)
72
+ * @param {string} id
73
+ * @param {string} recipientId
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ resend: (id: string, recipientId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
78
+ /**
79
+ *
80
+ * @summary Send a DRAFT envelope
81
+ * @param {string} id
82
+ * @param {*} [options] Override http request option.
83
+ * @throws {RequiredError}
84
+ */
85
+ send: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
86
+ /**
87
+ *
88
+ * @summary Download the sealed PDF of a completed envelope
89
+ * @param {string} id
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ signedDocument: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
94
+ };
95
+ /**
96
+ * ESignApi - functional programming interface
97
+ */
98
+ export declare const ESignApiFp: (configuration?: Configuration) => {
99
+ /**
100
+ *
101
+ * @summary Cancel a non-terminal envelope
102
+ * @param {string} id
103
+ * @param {*} [options] Override http request option.
104
+ * @throws {RequiredError}
105
+ */
106
+ cancel(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureEnvelopeDTO>>;
107
+ /**
108
+ *
109
+ * @summary Create an envelope (sent immediately unless send=false)
110
+ * @param {CreateSignatureEnvelopeRequest} createSignatureEnvelopeRequest
111
+ * @param {*} [options] Override http request option.
112
+ * @throws {RequiredError}
113
+ */
114
+ create(createSignatureEnvelopeRequest: CreateSignatureEnvelopeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureEnvelopeDTO>>;
115
+ /**
116
+ *
117
+ * @summary Audit trail of one of my envelopes
118
+ * @param {string} id
119
+ * @param {*} [options] Override http request option.
120
+ * @throws {RequiredError}
121
+ */
122
+ events(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SignatureEventDTO>>>;
123
+ /**
124
+ *
125
+ * @summary Get one of my envelopes (recipients + fields)
126
+ * @param {string} id
127
+ * @param {*} [options] Override http request option.
128
+ * @throws {RequiredError}
129
+ */
130
+ get2(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureEnvelopeDTO>>;
131
+ /**
132
+ *
133
+ * @summary List envelopes I sent for signature
134
+ * @param {ListSentStatusEnum} [status]
135
+ * @param {*} [options] Override http request option.
136
+ * @throws {RequiredError}
137
+ */
138
+ listSent(status?: ListSentStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SignatureEnvelopeDTO>>>;
139
+ /**
140
+ *
141
+ * @summary List envelopes waiting for my signature
142
+ * @param {*} [options] Override http request option.
143
+ * @throws {RequiredError}
144
+ */
145
+ listToSign(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SignatureEnvelopeDTO>>>;
146
+ /**
147
+ *
148
+ * @summary Resend the signing link to a recipient (new token, previous one revoked)
149
+ * @param {string} id
150
+ * @param {string} recipientId
151
+ * @param {*} [options] Override http request option.
152
+ * @throws {RequiredError}
153
+ */
154
+ resend(id: string, recipientId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureEnvelopeDTO>>;
155
+ /**
156
+ *
157
+ * @summary Send a DRAFT envelope
158
+ * @param {string} id
159
+ * @param {*} [options] Override http request option.
160
+ * @throws {RequiredError}
161
+ */
162
+ send(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureEnvelopeDTO>>;
163
+ /**
164
+ *
165
+ * @summary Download the sealed PDF of a completed envelope
166
+ * @param {string} id
167
+ * @param {*} [options] Override http request option.
168
+ * @throws {RequiredError}
169
+ */
170
+ signedDocument(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
171
+ };
172
+ /**
173
+ * ESignApi - factory interface
174
+ */
175
+ export declare const ESignApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
176
+ /**
177
+ *
178
+ * @summary Cancel a non-terminal envelope
179
+ * @param {string} id
180
+ * @param {*} [options] Override http request option.
181
+ * @throws {RequiredError}
182
+ */
183
+ cancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureEnvelopeDTO>;
184
+ /**
185
+ *
186
+ * @summary Create an envelope (sent immediately unless send=false)
187
+ * @param {CreateSignatureEnvelopeRequest} createSignatureEnvelopeRequest
188
+ * @param {*} [options] Override http request option.
189
+ * @throws {RequiredError}
190
+ */
191
+ create(createSignatureEnvelopeRequest: CreateSignatureEnvelopeRequest, options?: RawAxiosRequestConfig): AxiosPromise<SignatureEnvelopeDTO>;
192
+ /**
193
+ *
194
+ * @summary Audit trail of one of my envelopes
195
+ * @param {string} id
196
+ * @param {*} [options] Override http request option.
197
+ * @throws {RequiredError}
198
+ */
199
+ events(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<SignatureEventDTO>>;
200
+ /**
201
+ *
202
+ * @summary Get one of my envelopes (recipients + fields)
203
+ * @param {string} id
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ */
207
+ get2(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureEnvelopeDTO>;
208
+ /**
209
+ *
210
+ * @summary List envelopes I sent for signature
211
+ * @param {ListSentStatusEnum} [status]
212
+ * @param {*} [options] Override http request option.
213
+ * @throws {RequiredError}
214
+ */
215
+ listSent(status?: ListSentStatusEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<SignatureEnvelopeDTO>>;
216
+ /**
217
+ *
218
+ * @summary List envelopes waiting for my signature
219
+ * @param {*} [options] Override http request option.
220
+ * @throws {RequiredError}
221
+ */
222
+ listToSign(options?: RawAxiosRequestConfig): AxiosPromise<Array<SignatureEnvelopeDTO>>;
223
+ /**
224
+ *
225
+ * @summary Resend the signing link to a recipient (new token, previous one revoked)
226
+ * @param {string} id
227
+ * @param {string} recipientId
228
+ * @param {*} [options] Override http request option.
229
+ * @throws {RequiredError}
230
+ */
231
+ resend(id: string, recipientId: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureEnvelopeDTO>;
232
+ /**
233
+ *
234
+ * @summary Send a DRAFT envelope
235
+ * @param {string} id
236
+ * @param {*} [options] Override http request option.
237
+ * @throws {RequiredError}
238
+ */
239
+ send(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureEnvelopeDTO>;
240
+ /**
241
+ *
242
+ * @summary Download the sealed PDF of a completed envelope
243
+ * @param {string} id
244
+ * @param {*} [options] Override http request option.
245
+ * @throws {RequiredError}
246
+ */
247
+ signedDocument(id: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
248
+ };
249
+ /**
250
+ * ESignApi - object-oriented interface
251
+ */
252
+ export declare class ESignApi extends BaseAPI {
253
+ /**
254
+ *
255
+ * @summary Cancel a non-terminal envelope
256
+ * @param {string} id
257
+ * @param {*} [options] Override http request option.
258
+ * @throws {RequiredError}
259
+ */
260
+ cancel(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureEnvelopeDTO, any, {}, any>>;
261
+ /**
262
+ *
263
+ * @summary Create an envelope (sent immediately unless send=false)
264
+ * @param {CreateSignatureEnvelopeRequest} createSignatureEnvelopeRequest
265
+ * @param {*} [options] Override http request option.
266
+ * @throws {RequiredError}
267
+ */
268
+ create(createSignatureEnvelopeRequest: CreateSignatureEnvelopeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureEnvelopeDTO, any, {}, any>>;
269
+ /**
270
+ *
271
+ * @summary Audit trail of one of my envelopes
272
+ * @param {string} id
273
+ * @param {*} [options] Override http request option.
274
+ * @throws {RequiredError}
275
+ */
276
+ events(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureEventDTO[], any, {}, any>>;
277
+ /**
278
+ *
279
+ * @summary Get one of my envelopes (recipients + fields)
280
+ * @param {string} id
281
+ * @param {*} [options] Override http request option.
282
+ * @throws {RequiredError}
283
+ */
284
+ get2(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureEnvelopeDTO, any, {}, any>>;
285
+ /**
286
+ *
287
+ * @summary List envelopes I sent for signature
288
+ * @param {ListSentStatusEnum} [status]
289
+ * @param {*} [options] Override http request option.
290
+ * @throws {RequiredError}
291
+ */
292
+ listSent(status?: ListSentStatusEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureEnvelopeDTO[], any, {}, any>>;
293
+ /**
294
+ *
295
+ * @summary List envelopes waiting for my signature
296
+ * @param {*} [options] Override http request option.
297
+ * @throws {RequiredError}
298
+ */
299
+ listToSign(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureEnvelopeDTO[], any, {}, any>>;
300
+ /**
301
+ *
302
+ * @summary Resend the signing link to a recipient (new token, previous one revoked)
303
+ * @param {string} id
304
+ * @param {string} recipientId
305
+ * @param {*} [options] Override http request option.
306
+ * @throws {RequiredError}
307
+ */
308
+ resend(id: string, recipientId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureEnvelopeDTO, any, {}, any>>;
309
+ /**
310
+ *
311
+ * @summary Send a DRAFT envelope
312
+ * @param {string} id
313
+ * @param {*} [options] Override http request option.
314
+ * @throws {RequiredError}
315
+ */
316
+ send(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureEnvelopeDTO, any, {}, any>>;
317
+ /**
318
+ *
319
+ * @summary Download the sealed PDF of a completed envelope
320
+ * @param {string} id
321
+ * @param {*} [options] Override http request option.
322
+ * @throws {RequiredError}
323
+ */
324
+ signedDocument(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}, any>>;
325
+ }
326
+ export declare const ListSentStatusEnum: {
327
+ readonly Draft: "DRAFT";
328
+ readonly Sent: "SENT";
329
+ readonly Completed: "COMPLETED";
330
+ readonly Declined: "DECLINED";
331
+ readonly Cancelled: "CANCELLED";
332
+ readonly Expired: "EXPIRED";
333
+ };
334
+ export type ListSentStatusEnum = typeof ListSentStatusEnum[keyof typeof ListSentStatusEnum];