@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.
- package/.openapi-generator/FILES +45 -4
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +46 -13
- package/api/aisettings-api.ts +77 -0
- package/api/esign-api.ts +719 -0
- package/api/esign-enterprise-api.ts +286 -0
- package/api/{digital-signature-public-api.ts → esign-public-api.ts} +183 -24
- package/api/{digital-signature-api.ts → esign-templates-api.ts} +137 -113
- package/api.ts +4 -2
- package/dist/api/aisettings-api.d.ts +34 -0
- package/dist/api/aisettings-api.js +70 -0
- package/dist/api/esign-api.d.ts +334 -0
- package/dist/api/esign-api.js +693 -0
- package/dist/api/esign-enterprise-api.d.ts +138 -0
- package/dist/api/esign-enterprise-api.js +278 -0
- package/dist/{esm/api/digital-signature-public-api.d.ts → api/esign-public-api.d.ts} +81 -12
- package/dist/api/{digital-signature-public-api.js → esign-public-api.js} +178 -29
- package/dist/api/esign-templates-api.d.ts +234 -0
- package/dist/api/{digital-signature-api.js → esign-templates-api.js} +137 -115
- package/dist/api.d.ts +4 -2
- package/dist/api.js +4 -2
- package/dist/esm/api/aisettings-api.d.ts +34 -0
- package/dist/esm/api/aisettings-api.js +70 -0
- package/dist/esm/api/esign-api.d.ts +334 -0
- package/dist/esm/api/esign-api.js +686 -0
- package/dist/esm/api/esign-enterprise-api.d.ts +138 -0
- package/dist/esm/api/esign-enterprise-api.js +271 -0
- package/dist/{api/digital-signature-public-api.d.ts → esm/api/esign-public-api.d.ts} +81 -12
- package/dist/esm/api/{digital-signature-public-api.js → esign-public-api.js} +173 -24
- package/dist/esm/api/esign-templates-api.d.ts +234 -0
- package/dist/esm/api/{digital-signature-api.js → esign-templates-api.js} +132 -110
- package/dist/esm/api.d.ts +4 -2
- package/dist/esm/api.js +4 -2
- package/dist/esm/models/ai-models-response.d.ts +41 -0
- package/dist/esm/models/ai-models-response.js +23 -0
- package/dist/esm/models/apply-signature-request.d.ts +3 -0
- package/dist/esm/models/bulk-row-result.d.ts +17 -0
- package/dist/esm/models/bulk-row-result.js +14 -0
- package/dist/esm/models/bulk-row.d.ts +19 -0
- package/dist/esm/models/bulk-row.js +14 -0
- package/dist/esm/models/bulk-send-request.d.ts +19 -0
- package/dist/esm/models/bulk-send-request.js +14 -0
- package/dist/esm/models/bulk-send-response.d.ts +18 -0
- package/dist/esm/models/bulk-send-response.js +14 -0
- package/dist/esm/models/create-signature-envelope-request.d.ts +5 -0
- package/dist/esm/models/embed-url-response.d.ts +16 -0
- package/dist/esm/models/embed-url-response.js +14 -0
- package/dist/esm/models/enriched-audit-log.d.ts +3 -0
- package/dist/esm/models/enriched-audit-log.js +3 -0
- package/dist/esm/models/index.d.ts +18 -0
- package/dist/esm/models/index.js +18 -0
- package/dist/esm/models/instantiate-template-request.d.ts +22 -0
- package/dist/esm/models/instantiate-template-request.js +14 -0
- package/dist/esm/models/list-ai-models-request.d.ts +32 -0
- package/dist/esm/models/list-ai-models-request.js +19 -0
- package/dist/esm/models/public-signature-view.d.ts +13 -0
- package/dist/esm/models/public-signature-view.js +5 -0
- package/dist/esm/models/role-binding.d.ts +19 -0
- package/dist/esm/models/role-binding.js +14 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +3 -0
- package/dist/esm/models/search-by-audit-log-request.js +3 -0
- package/dist/esm/models/settings.d.ts +3 -0
- package/dist/esm/models/signature-envelope-dto.d.ts +6 -0
- package/dist/esm/models/signature-event-dto.d.ts +33 -0
- package/dist/esm/models/signature-event-dto.js +26 -0
- package/dist/esm/models/signature-field-dto.d.ts +44 -0
- package/dist/esm/models/signature-field-dto.js +27 -0
- package/dist/esm/models/signature-field-input.d.ts +39 -0
- package/dist/esm/models/signature-field-input.js +27 -0
- package/dist/esm/models/signature-field-value.d.ts +16 -0
- package/dist/esm/models/signature-field-value.js +14 -0
- package/dist/esm/models/signature-recipient-dto.d.ts +16 -0
- package/dist/esm/models/signature-recipient-dto.js +9 -0
- package/dist/esm/models/signature-recipient-input.d.ts +19 -1
- package/dist/esm/models/signature-recipient-input.js +9 -1
- package/dist/esm/models/signature-template-dto.d.ts +27 -0
- package/dist/esm/models/signature-template-dto.js +14 -0
- package/dist/esm/models/signature-template-field.d.ts +40 -0
- package/dist/esm/models/signature-template-field.js +27 -0
- package/dist/esm/models/signature-template-request.d.ts +23 -0
- package/dist/esm/models/signature-template-request.js +14 -0
- package/dist/esm/models/signature-template-role.d.ts +28 -0
- package/dist/esm/models/signature-template-role.js +22 -0
- package/dist/esm/models/verify-otp-request.d.ts +14 -0
- package/dist/esm/models/verify-otp-request.js +14 -0
- package/dist/models/ai-models-response.d.ts +41 -0
- package/dist/models/ai-models-response.js +26 -0
- package/dist/models/apply-signature-request.d.ts +3 -0
- package/dist/models/bulk-row-result.d.ts +17 -0
- package/dist/models/bulk-row-result.js +15 -0
- package/dist/models/bulk-row.d.ts +19 -0
- package/dist/models/bulk-row.js +15 -0
- package/dist/models/bulk-send-request.d.ts +19 -0
- package/dist/models/bulk-send-request.js +15 -0
- package/dist/models/bulk-send-response.d.ts +18 -0
- package/dist/models/bulk-send-response.js +15 -0
- package/dist/models/create-signature-envelope-request.d.ts +5 -0
- package/dist/models/embed-url-response.d.ts +16 -0
- package/dist/models/embed-url-response.js +15 -0
- package/dist/models/enriched-audit-log.d.ts +3 -0
- package/dist/models/enriched-audit-log.js +3 -0
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.js +18 -0
- package/dist/models/instantiate-template-request.d.ts +22 -0
- package/dist/models/instantiate-template-request.js +15 -0
- package/dist/models/list-ai-models-request.d.ts +32 -0
- package/dist/models/list-ai-models-request.js +22 -0
- package/dist/models/public-signature-view.d.ts +13 -0
- package/dist/models/public-signature-view.js +6 -1
- package/dist/models/role-binding.d.ts +19 -0
- package/dist/models/role-binding.js +15 -0
- package/dist/models/search-by-audit-log-request.d.ts +3 -0
- package/dist/models/search-by-audit-log-request.js +3 -0
- package/dist/models/settings.d.ts +3 -0
- package/dist/models/signature-envelope-dto.d.ts +6 -0
- package/dist/models/signature-event-dto.d.ts +33 -0
- package/dist/models/signature-event-dto.js +29 -0
- package/dist/models/signature-field-dto.d.ts +44 -0
- package/dist/models/signature-field-dto.js +30 -0
- package/dist/models/signature-field-input.d.ts +39 -0
- package/dist/models/signature-field-input.js +30 -0
- package/dist/models/signature-field-value.d.ts +16 -0
- package/dist/models/signature-field-value.js +15 -0
- package/dist/models/signature-recipient-dto.d.ts +16 -0
- package/dist/models/signature-recipient-dto.js +10 -1
- package/dist/models/signature-recipient-input.d.ts +19 -1
- package/dist/models/signature-recipient-input.js +10 -0
- package/dist/models/signature-template-dto.d.ts +27 -0
- package/dist/models/signature-template-dto.js +15 -0
- package/dist/models/signature-template-field.d.ts +40 -0
- package/dist/models/signature-template-field.js +30 -0
- package/dist/models/signature-template-request.d.ts +23 -0
- package/dist/models/signature-template-request.js +15 -0
- package/dist/models/signature-template-role.d.ts +28 -0
- package/dist/models/signature-template-role.js +25 -0
- package/dist/models/verify-otp-request.d.ts +14 -0
- package/dist/models/verify-otp-request.js +15 -0
- package/docs/AISettingsApi.md +53 -0
- package/docs/AiModelsResponse.md +26 -0
- package/docs/ApplySignatureRequest.md +4 -0
- package/docs/BulkRow.md +28 -0
- package/docs/BulkRowResult.md +26 -0
- package/docs/BulkSendRequest.md +28 -0
- package/docs/BulkSendResponse.md +26 -0
- package/docs/CreateSignatureEnvelopeRequest.md +10 -0
- package/docs/ESignApi.md +463 -0
- package/docs/ESignEnterpriseApi.md +164 -0
- package/docs/{DigitalSignaturePublicApi.md → ESignPublicApi.md} +118 -12
- package/docs/{DigitalSignatureApi.md → ESignTemplatesApi.md} +76 -61
- package/docs/EmbedUrlResponse.md +24 -0
- package/docs/InstantiateTemplateRequest.md +34 -0
- package/docs/ListAiModelsRequest.md +24 -0
- package/docs/PublicSignatureView.md +12 -0
- package/docs/RoleBinding.md +30 -0
- package/docs/Settings.md +6 -0
- package/docs/SignatureEnvelopeDTO.md +12 -0
- package/docs/SignatureEventDTO.md +30 -0
- package/docs/SignatureFieldDTO.md +46 -0
- package/docs/SignatureFieldInput.md +36 -0
- package/docs/SignatureFieldValue.md +24 -0
- package/docs/SignatureRecipientDTO.md +8 -0
- package/docs/SignatureRecipientInput.md +13 -1
- package/docs/SignatureTemplateDTO.md +42 -0
- package/docs/SignatureTemplateField.md +38 -0
- package/docs/SignatureTemplateRequest.md +34 -0
- package/docs/SignatureTemplateRole.md +26 -0
- package/docs/VerifyOtpRequest.md +20 -0
- package/models/ai-models-response.ts +51 -0
- package/models/apply-signature-request.ts +5 -0
- package/models/bulk-row-result.ts +23 -0
- package/models/bulk-row.ts +27 -0
- package/models/bulk-send-request.ts +27 -0
- package/models/bulk-send-response.ts +26 -0
- package/models/create-signature-envelope-request.ts +5 -0
- package/models/embed-url-response.ts +22 -0
- package/models/enriched-audit-log.ts +3 -0
- package/models/index.ts +18 -0
- package/models/instantiate-template-request.ts +30 -0
- package/models/list-ai-models-request.ts +41 -0
- package/models/public-signature-view.ts +16 -0
- package/models/role-binding.ts +25 -0
- package/models/search-by-audit-log-request.ts +3 -0
- package/models/settings.ts +3 -0
- package/models/signature-envelope-dto.ts +6 -0
- package/models/signature-event-dto.ts +42 -0
- package/models/signature-field-dto.ts +51 -0
- package/models/signature-field-input.ts +46 -0
- package/models/signature-field-value.ts +22 -0
- package/models/signature-recipient-dto.ts +20 -0
- package/models/signature-recipient-input.ts +25 -1
- package/models/signature-template-dto.ts +37 -0
- package/models/signature-template-field.ts +47 -0
- package/models/signature-template-request.ts +33 -0
- package/models/signature-template-role.ts +38 -0
- package/models/verify-otp-request.ts +20 -0
- package/package.json +1 -1
- package/dist/api/digital-signature-api.d.ts +0 -221
- 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
|
|
@@ -91,6 +91,40 @@ const AISettingsApiAxiosParamCreator = function (configuration) {
|
|
|
91
91
|
options: localVarRequestOptions,
|
|
92
92
|
};
|
|
93
93
|
}),
|
|
94
|
+
/**
|
|
95
|
+
* 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.
|
|
96
|
+
* @summary List the provider\'s chat models
|
|
97
|
+
* @param {ListAiModelsRequest} listAiModelsRequest
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
*/
|
|
101
|
+
listModels: (listAiModelsRequest_1, ...args_1) => __awaiter(this, [listAiModelsRequest_1, ...args_1], void 0, function* (listAiModelsRequest, options = {}) {
|
|
102
|
+
// verify required parameter 'listAiModelsRequest' is not null or undefined
|
|
103
|
+
(0, common_1.assertParamExists)('listModels', 'listAiModelsRequest', listAiModelsRequest);
|
|
104
|
+
const localVarPath = `/api/v1/settings/ai/models`;
|
|
105
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
106
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
107
|
+
let baseOptions;
|
|
108
|
+
if (configuration) {
|
|
109
|
+
baseOptions = configuration.baseOptions;
|
|
110
|
+
}
|
|
111
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
112
|
+
const localVarHeaderParameter = {};
|
|
113
|
+
const localVarQueryParameter = {};
|
|
114
|
+
// authentication keycloak_auth required
|
|
115
|
+
// http bearer authentication required
|
|
116
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
117
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
118
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
119
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
120
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
121
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
122
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(listAiModelsRequest, localVarRequestOptions, configuration);
|
|
123
|
+
return {
|
|
124
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
125
|
+
options: localVarRequestOptions,
|
|
126
|
+
};
|
|
127
|
+
}),
|
|
94
128
|
/**
|
|
95
129
|
* Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
|
|
96
130
|
* @summary Save my AI settings
|
|
@@ -198,6 +232,22 @@ const AISettingsApiFp = function (configuration) {
|
|
|
198
232
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
199
233
|
});
|
|
200
234
|
},
|
|
235
|
+
/**
|
|
236
|
+
* 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.
|
|
237
|
+
* @summary List the provider\'s chat models
|
|
238
|
+
* @param {ListAiModelsRequest} listAiModelsRequest
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
listModels(listAiModelsRequest, options) {
|
|
243
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
244
|
+
var _a, _b, _c;
|
|
245
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listModels(listAiModelsRequest, options);
|
|
246
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
247
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AISettingsApi.listModels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
248
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
249
|
+
});
|
|
250
|
+
},
|
|
201
251
|
/**
|
|
202
252
|
* Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
|
|
203
253
|
* @summary Save my AI settings
|
|
@@ -257,6 +307,16 @@ const AISettingsApiFactory = function (configuration, basePath, axios) {
|
|
|
257
307
|
getSettings1(options) {
|
|
258
308
|
return localVarFp.getSettings1(options).then((request) => request(axios, basePath));
|
|
259
309
|
},
|
|
310
|
+
/**
|
|
311
|
+
* 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.
|
|
312
|
+
* @summary List the provider\'s chat models
|
|
313
|
+
* @param {ListAiModelsRequest} listAiModelsRequest
|
|
314
|
+
* @param {*} [options] Override http request option.
|
|
315
|
+
* @throws {RequiredError}
|
|
316
|
+
*/
|
|
317
|
+
listModels(listAiModelsRequest, options) {
|
|
318
|
+
return localVarFp.listModels(listAiModelsRequest, options).then((request) => request(axios, basePath));
|
|
319
|
+
},
|
|
260
320
|
/**
|
|
261
321
|
* Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
|
|
262
322
|
* @summary Save my AI settings
|
|
@@ -302,6 +362,16 @@ class AISettingsApi extends base_1.BaseAPI {
|
|
|
302
362
|
getSettings1(options) {
|
|
303
363
|
return (0, exports.AISettingsApiFp)(this.configuration).getSettings1(options).then((request) => request(this.axios, this.basePath));
|
|
304
364
|
}
|
|
365
|
+
/**
|
|
366
|
+
* 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.
|
|
367
|
+
* @summary List the provider\'s chat models
|
|
368
|
+
* @param {ListAiModelsRequest} listAiModelsRequest
|
|
369
|
+
* @param {*} [options] Override http request option.
|
|
370
|
+
* @throws {RequiredError}
|
|
371
|
+
*/
|
|
372
|
+
listModels(listAiModelsRequest, options) {
|
|
373
|
+
return (0, exports.AISettingsApiFp)(this.configuration).listModels(listAiModelsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
374
|
+
}
|
|
305
375
|
/**
|
|
306
376
|
* Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
|
|
307
377
|
* @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];
|