@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
|
@@ -27,9 +27,9 @@ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchPara
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* ESignPublicApi - axios parameter creator
|
|
31
31
|
*/
|
|
32
|
-
export const
|
|
32
|
+
export const ESignPublicApiAxiosParamCreator = function (configuration) {
|
|
33
33
|
return {
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
@@ -145,7 +145,41 @@ export const DigitalSignaturePublicApiAxiosParamCreator = function (configuratio
|
|
|
145
145
|
}),
|
|
146
146
|
/**
|
|
147
147
|
*
|
|
148
|
-
* @summary
|
|
148
|
+
* @summary Send a one-time access code to the recipient (EMAIL_OTP / SMS_OTP)
|
|
149
|
+
* @param {string} token
|
|
150
|
+
* @param {*} [options] Override http request option.
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
*/
|
|
153
|
+
requestOtp: (token_1, ...args_1) => __awaiter(this, [token_1, ...args_1], void 0, function* (token, options = {}) {
|
|
154
|
+
// verify required parameter 'token' is not null or undefined
|
|
155
|
+
assertParamExists('requestOtp', 'token', token);
|
|
156
|
+
const localVarPath = `/api/v1/public/signatures/otp/request`;
|
|
157
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
158
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
159
|
+
let baseOptions;
|
|
160
|
+
if (configuration) {
|
|
161
|
+
baseOptions = configuration.baseOptions;
|
|
162
|
+
}
|
|
163
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
164
|
+
const localVarHeaderParameter = {};
|
|
165
|
+
const localVarQueryParameter = {};
|
|
166
|
+
// authentication keycloak_auth required
|
|
167
|
+
// http bearer authentication required
|
|
168
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
169
|
+
if (token !== undefined) {
|
|
170
|
+
localVarQueryParameter['token'] = token;
|
|
171
|
+
}
|
|
172
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
173
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
174
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
175
|
+
return {
|
|
176
|
+
url: toPathString(localVarUrlObj),
|
|
177
|
+
options: localVarRequestOptions,
|
|
178
|
+
};
|
|
179
|
+
}),
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @summary Submit the recipient\'s fields and sign
|
|
149
183
|
* @param {string} token
|
|
150
184
|
* @param {ApplySignatureRequest} applySignatureRequest
|
|
151
185
|
* @param {string} [userAgent]
|
|
@@ -187,6 +221,46 @@ export const DigitalSignaturePublicApiAxiosParamCreator = function (configuratio
|
|
|
187
221
|
options: localVarRequestOptions,
|
|
188
222
|
};
|
|
189
223
|
}),
|
|
224
|
+
/**
|
|
225
|
+
*
|
|
226
|
+
* @summary Verify the one-time access code
|
|
227
|
+
* @param {string} token
|
|
228
|
+
* @param {VerifyOtpRequest} verifyOtpRequest
|
|
229
|
+
* @param {*} [options] Override http request option.
|
|
230
|
+
* @throws {RequiredError}
|
|
231
|
+
*/
|
|
232
|
+
verifyOtp: (token_1, verifyOtpRequest_1, ...args_1) => __awaiter(this, [token_1, verifyOtpRequest_1, ...args_1], void 0, function* (token, verifyOtpRequest, options = {}) {
|
|
233
|
+
// verify required parameter 'token' is not null or undefined
|
|
234
|
+
assertParamExists('verifyOtp', 'token', token);
|
|
235
|
+
// verify required parameter 'verifyOtpRequest' is not null or undefined
|
|
236
|
+
assertParamExists('verifyOtp', 'verifyOtpRequest', verifyOtpRequest);
|
|
237
|
+
const localVarPath = `/api/v1/public/signatures/otp/verify`;
|
|
238
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
239
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
240
|
+
let baseOptions;
|
|
241
|
+
if (configuration) {
|
|
242
|
+
baseOptions = configuration.baseOptions;
|
|
243
|
+
}
|
|
244
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
245
|
+
const localVarHeaderParameter = {};
|
|
246
|
+
const localVarQueryParameter = {};
|
|
247
|
+
// authentication keycloak_auth required
|
|
248
|
+
// http bearer authentication required
|
|
249
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
250
|
+
if (token !== undefined) {
|
|
251
|
+
localVarQueryParameter['token'] = token;
|
|
252
|
+
}
|
|
253
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
254
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
255
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
256
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
257
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
258
|
+
localVarRequestOptions.data = serializeDataIfNeeded(verifyOtpRequest, localVarRequestOptions, configuration);
|
|
259
|
+
return {
|
|
260
|
+
url: toPathString(localVarUrlObj),
|
|
261
|
+
options: localVarRequestOptions,
|
|
262
|
+
};
|
|
263
|
+
}),
|
|
190
264
|
/**
|
|
191
265
|
*
|
|
192
266
|
* @summary Resolve a signing token to its envelope view
|
|
@@ -225,10 +299,10 @@ export const DigitalSignaturePublicApiAxiosParamCreator = function (configuratio
|
|
|
225
299
|
};
|
|
226
300
|
};
|
|
227
301
|
/**
|
|
228
|
-
*
|
|
302
|
+
* ESignPublicApi - functional programming interface
|
|
229
303
|
*/
|
|
230
|
-
export const
|
|
231
|
-
const localVarAxiosParamCreator =
|
|
304
|
+
export const ESignPublicApiFp = function (configuration) {
|
|
305
|
+
const localVarAxiosParamCreator = ESignPublicApiAxiosParamCreator(configuration);
|
|
232
306
|
return {
|
|
233
307
|
/**
|
|
234
308
|
*
|
|
@@ -243,7 +317,7 @@ export const DigitalSignaturePublicApiFp = function (configuration) {
|
|
|
243
317
|
var _a, _b, _c;
|
|
244
318
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.decline1(token, declineSignatureRequest, options);
|
|
245
319
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
246
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
320
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ESignPublicApi.decline1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
247
321
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
248
322
|
});
|
|
249
323
|
},
|
|
@@ -259,7 +333,7 @@ export const DigitalSignaturePublicApiFp = function (configuration) {
|
|
|
259
333
|
var _a, _b, _c;
|
|
260
334
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.document(token, options);
|
|
261
335
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
262
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
336
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ESignPublicApi.document']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
263
337
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
264
338
|
});
|
|
265
339
|
},
|
|
@@ -276,13 +350,29 @@ export const DigitalSignaturePublicApiFp = function (configuration) {
|
|
|
276
350
|
var _a, _b, _c;
|
|
277
351
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.markViewed(token, userAgent, options);
|
|
278
352
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
279
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
353
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ESignPublicApi.markViewed']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
280
354
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
281
355
|
});
|
|
282
356
|
},
|
|
283
357
|
/**
|
|
284
358
|
*
|
|
285
|
-
* @summary
|
|
359
|
+
* @summary Send a one-time access code to the recipient (EMAIL_OTP / SMS_OTP)
|
|
360
|
+
* @param {string} token
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
*/
|
|
364
|
+
requestOtp(token, options) {
|
|
365
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
366
|
+
var _a, _b, _c;
|
|
367
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.requestOtp(token, options);
|
|
368
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
369
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ESignPublicApi.requestOtp']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
370
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
371
|
+
});
|
|
372
|
+
},
|
|
373
|
+
/**
|
|
374
|
+
*
|
|
375
|
+
* @summary Submit the recipient\'s fields and sign
|
|
286
376
|
* @param {string} token
|
|
287
377
|
* @param {ApplySignatureRequest} applySignatureRequest
|
|
288
378
|
* @param {string} [userAgent]
|
|
@@ -294,7 +384,24 @@ export const DigitalSignaturePublicApiFp = function (configuration) {
|
|
|
294
384
|
var _a, _b, _c;
|
|
295
385
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.sign(token, applySignatureRequest, userAgent, options);
|
|
296
386
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
297
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
387
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ESignPublicApi.sign']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
388
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
389
|
+
});
|
|
390
|
+
},
|
|
391
|
+
/**
|
|
392
|
+
*
|
|
393
|
+
* @summary Verify the one-time access code
|
|
394
|
+
* @param {string} token
|
|
395
|
+
* @param {VerifyOtpRequest} verifyOtpRequest
|
|
396
|
+
* @param {*} [options] Override http request option.
|
|
397
|
+
* @throws {RequiredError}
|
|
398
|
+
*/
|
|
399
|
+
verifyOtp(token, verifyOtpRequest, options) {
|
|
400
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
401
|
+
var _a, _b, _c;
|
|
402
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.verifyOtp(token, verifyOtpRequest, options);
|
|
403
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
404
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ESignPublicApi.verifyOtp']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
298
405
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
299
406
|
});
|
|
300
407
|
},
|
|
@@ -310,17 +417,17 @@ export const DigitalSignaturePublicApiFp = function (configuration) {
|
|
|
310
417
|
var _a, _b, _c;
|
|
311
418
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.view(token, options);
|
|
312
419
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
313
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
420
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ESignPublicApi.view']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
314
421
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
315
422
|
});
|
|
316
423
|
},
|
|
317
424
|
};
|
|
318
425
|
};
|
|
319
426
|
/**
|
|
320
|
-
*
|
|
427
|
+
* ESignPublicApi - factory interface
|
|
321
428
|
*/
|
|
322
|
-
export const
|
|
323
|
-
const localVarFp =
|
|
429
|
+
export const ESignPublicApiFactory = function (configuration, basePath, axios) {
|
|
430
|
+
const localVarFp = ESignPublicApiFp(configuration);
|
|
324
431
|
return {
|
|
325
432
|
/**
|
|
326
433
|
*
|
|
@@ -356,7 +463,17 @@ export const DigitalSignaturePublicApiFactory = function (configuration, basePat
|
|
|
356
463
|
},
|
|
357
464
|
/**
|
|
358
465
|
*
|
|
359
|
-
* @summary
|
|
466
|
+
* @summary Send a one-time access code to the recipient (EMAIL_OTP / SMS_OTP)
|
|
467
|
+
* @param {string} token
|
|
468
|
+
* @param {*} [options] Override http request option.
|
|
469
|
+
* @throws {RequiredError}
|
|
470
|
+
*/
|
|
471
|
+
requestOtp(token, options) {
|
|
472
|
+
return localVarFp.requestOtp(token, options).then((request) => request(axios, basePath));
|
|
473
|
+
},
|
|
474
|
+
/**
|
|
475
|
+
*
|
|
476
|
+
* @summary Submit the recipient\'s fields and sign
|
|
360
477
|
* @param {string} token
|
|
361
478
|
* @param {ApplySignatureRequest} applySignatureRequest
|
|
362
479
|
* @param {string} [userAgent]
|
|
@@ -366,6 +483,17 @@ export const DigitalSignaturePublicApiFactory = function (configuration, basePat
|
|
|
366
483
|
sign(token, applySignatureRequest, userAgent, options) {
|
|
367
484
|
return localVarFp.sign(token, applySignatureRequest, userAgent, options).then((request) => request(axios, basePath));
|
|
368
485
|
},
|
|
486
|
+
/**
|
|
487
|
+
*
|
|
488
|
+
* @summary Verify the one-time access code
|
|
489
|
+
* @param {string} token
|
|
490
|
+
* @param {VerifyOtpRequest} verifyOtpRequest
|
|
491
|
+
* @param {*} [options] Override http request option.
|
|
492
|
+
* @throws {RequiredError}
|
|
493
|
+
*/
|
|
494
|
+
verifyOtp(token, verifyOtpRequest, options) {
|
|
495
|
+
return localVarFp.verifyOtp(token, verifyOtpRequest, options).then((request) => request(axios, basePath));
|
|
496
|
+
},
|
|
369
497
|
/**
|
|
370
498
|
*
|
|
371
499
|
* @summary Resolve a signing token to its envelope view
|
|
@@ -379,9 +507,9 @@ export const DigitalSignaturePublicApiFactory = function (configuration, basePat
|
|
|
379
507
|
};
|
|
380
508
|
};
|
|
381
509
|
/**
|
|
382
|
-
*
|
|
510
|
+
* ESignPublicApi - object-oriented interface
|
|
383
511
|
*/
|
|
384
|
-
export class
|
|
512
|
+
export class ESignPublicApi extends BaseAPI {
|
|
385
513
|
/**
|
|
386
514
|
*
|
|
387
515
|
* @summary Decline to sign (voids the envelope)
|
|
@@ -391,7 +519,7 @@ export class DigitalSignaturePublicApi extends BaseAPI {
|
|
|
391
519
|
* @throws {RequiredError}
|
|
392
520
|
*/
|
|
393
521
|
decline1(token, declineSignatureRequest, options) {
|
|
394
|
-
return
|
|
522
|
+
return ESignPublicApiFp(this.configuration).decline1(token, declineSignatureRequest, options).then((request) => request(this.axios, this.basePath));
|
|
395
523
|
}
|
|
396
524
|
/**
|
|
397
525
|
*
|
|
@@ -401,7 +529,7 @@ export class DigitalSignaturePublicApi extends BaseAPI {
|
|
|
401
529
|
* @throws {RequiredError}
|
|
402
530
|
*/
|
|
403
531
|
document(token, options) {
|
|
404
|
-
return
|
|
532
|
+
return ESignPublicApiFp(this.configuration).document(token, options).then((request) => request(this.axios, this.basePath));
|
|
405
533
|
}
|
|
406
534
|
/**
|
|
407
535
|
*
|
|
@@ -412,11 +540,21 @@ export class DigitalSignaturePublicApi extends BaseAPI {
|
|
|
412
540
|
* @throws {RequiredError}
|
|
413
541
|
*/
|
|
414
542
|
markViewed(token, userAgent, options) {
|
|
415
|
-
return
|
|
543
|
+
return ESignPublicApiFp(this.configuration).markViewed(token, userAgent, options).then((request) => request(this.axios, this.basePath));
|
|
416
544
|
}
|
|
417
545
|
/**
|
|
418
546
|
*
|
|
419
|
-
* @summary
|
|
547
|
+
* @summary Send a one-time access code to the recipient (EMAIL_OTP / SMS_OTP)
|
|
548
|
+
* @param {string} token
|
|
549
|
+
* @param {*} [options] Override http request option.
|
|
550
|
+
* @throws {RequiredError}
|
|
551
|
+
*/
|
|
552
|
+
requestOtp(token, options) {
|
|
553
|
+
return ESignPublicApiFp(this.configuration).requestOtp(token, options).then((request) => request(this.axios, this.basePath));
|
|
554
|
+
}
|
|
555
|
+
/**
|
|
556
|
+
*
|
|
557
|
+
* @summary Submit the recipient\'s fields and sign
|
|
420
558
|
* @param {string} token
|
|
421
559
|
* @param {ApplySignatureRequest} applySignatureRequest
|
|
422
560
|
* @param {string} [userAgent]
|
|
@@ -424,7 +562,18 @@ export class DigitalSignaturePublicApi extends BaseAPI {
|
|
|
424
562
|
* @throws {RequiredError}
|
|
425
563
|
*/
|
|
426
564
|
sign(token, applySignatureRequest, userAgent, options) {
|
|
427
|
-
return
|
|
565
|
+
return ESignPublicApiFp(this.configuration).sign(token, applySignatureRequest, userAgent, options).then((request) => request(this.axios, this.basePath));
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
*
|
|
569
|
+
* @summary Verify the one-time access code
|
|
570
|
+
* @param {string} token
|
|
571
|
+
* @param {VerifyOtpRequest} verifyOtpRequest
|
|
572
|
+
* @param {*} [options] Override http request option.
|
|
573
|
+
* @throws {RequiredError}
|
|
574
|
+
*/
|
|
575
|
+
verifyOtp(token, verifyOtpRequest, options) {
|
|
576
|
+
return ESignPublicApiFp(this.configuration).verifyOtp(token, verifyOtpRequest, options).then((request) => request(this.axios, this.basePath));
|
|
428
577
|
}
|
|
429
578
|
/**
|
|
430
579
|
*
|
|
@@ -434,6 +583,6 @@ export class DigitalSignaturePublicApi extends BaseAPI {
|
|
|
434
583
|
* @throws {RequiredError}
|
|
435
584
|
*/
|
|
436
585
|
view(token, options) {
|
|
437
|
-
return
|
|
586
|
+
return ESignPublicApiFp(this.configuration).view(token, options).then((request) => request(this.axios, this.basePath));
|
|
438
587
|
}
|
|
439
588
|
}
|
|
@@ -0,0 +1,234 @@
|
|
|
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 { InstantiateTemplateRequest } from '../models';
|
|
16
|
+
import type { SignatureEnvelopeDTO } from '../models';
|
|
17
|
+
import type { SignatureTemplateDTO } from '../models';
|
|
18
|
+
import type { SignatureTemplateRequest } from '../models';
|
|
19
|
+
/**
|
|
20
|
+
* ESignTemplatesApi - axios parameter creator
|
|
21
|
+
*/
|
|
22
|
+
export declare const ESignTemplatesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @summary Delete a template
|
|
26
|
+
* @param {string} id
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
*/
|
|
30
|
+
_delete: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @summary Create a template
|
|
34
|
+
* @param {SignatureTemplateRequest} signatureTemplateRequest
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
create1: (signatureTemplateRequest: SignatureTemplateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @summary Get a template
|
|
42
|
+
* @param {string} id
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
get1: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @summary Create (and send) an envelope from a template
|
|
50
|
+
* @param {string} id
|
|
51
|
+
* @param {InstantiateTemplateRequest} instantiateTemplateRequest
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @throws {RequiredError}
|
|
54
|
+
*/
|
|
55
|
+
instantiate: (id: string, instantiateTemplateRequest: InstantiateTemplateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @summary List my templates
|
|
59
|
+
* @param {*} [options] Override http request option.
|
|
60
|
+
* @throws {RequiredError}
|
|
61
|
+
*/
|
|
62
|
+
list: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @summary Update a template
|
|
66
|
+
* @param {string} id
|
|
67
|
+
* @param {SignatureTemplateRequest} signatureTemplateRequest
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
update1: (id: string, signatureTemplateRequest: SignatureTemplateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* ESignTemplatesApi - functional programming interface
|
|
75
|
+
*/
|
|
76
|
+
export declare const ESignTemplatesApiFp: (configuration?: Configuration) => {
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @summary Delete a template
|
|
80
|
+
* @param {string} id
|
|
81
|
+
* @param {*} [options] Override http request option.
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
*/
|
|
84
|
+
_delete(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @summary Create a template
|
|
88
|
+
* @param {SignatureTemplateRequest} signatureTemplateRequest
|
|
89
|
+
* @param {*} [options] Override http request option.
|
|
90
|
+
* @throws {RequiredError}
|
|
91
|
+
*/
|
|
92
|
+
create1(signatureTemplateRequest: SignatureTemplateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureTemplateDTO>>;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @summary Get a template
|
|
96
|
+
* @param {string} id
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @throws {RequiredError}
|
|
99
|
+
*/
|
|
100
|
+
get1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureTemplateDTO>>;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @summary Create (and send) an envelope from a template
|
|
104
|
+
* @param {string} id
|
|
105
|
+
* @param {InstantiateTemplateRequest} instantiateTemplateRequest
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
instantiate(id: string, instantiateTemplateRequest: InstantiateTemplateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureEnvelopeDTO>>;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @summary List my templates
|
|
113
|
+
* @param {*} [options] Override http request option.
|
|
114
|
+
* @throws {RequiredError}
|
|
115
|
+
*/
|
|
116
|
+
list(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SignatureTemplateDTO>>>;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @summary Update a template
|
|
120
|
+
* @param {string} id
|
|
121
|
+
* @param {SignatureTemplateRequest} signatureTemplateRequest
|
|
122
|
+
* @param {*} [options] Override http request option.
|
|
123
|
+
* @throws {RequiredError}
|
|
124
|
+
*/
|
|
125
|
+
update1(id: string, signatureTemplateRequest: SignatureTemplateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureTemplateDTO>>;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* ESignTemplatesApi - factory interface
|
|
129
|
+
*/
|
|
130
|
+
export declare const ESignTemplatesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @summary Delete a template
|
|
134
|
+
* @param {string} id
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
*/
|
|
138
|
+
_delete(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @summary Create a template
|
|
142
|
+
* @param {SignatureTemplateRequest} signatureTemplateRequest
|
|
143
|
+
* @param {*} [options] Override http request option.
|
|
144
|
+
* @throws {RequiredError}
|
|
145
|
+
*/
|
|
146
|
+
create1(signatureTemplateRequest: SignatureTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<SignatureTemplateDTO>;
|
|
147
|
+
/**
|
|
148
|
+
*
|
|
149
|
+
* @summary Get a template
|
|
150
|
+
* @param {string} id
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
*/
|
|
154
|
+
get1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureTemplateDTO>;
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* @summary Create (and send) an envelope from a template
|
|
158
|
+
* @param {string} id
|
|
159
|
+
* @param {InstantiateTemplateRequest} instantiateTemplateRequest
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
instantiate(id: string, instantiateTemplateRequest: InstantiateTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<SignatureEnvelopeDTO>;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @summary List my templates
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
list(options?: RawAxiosRequestConfig): AxiosPromise<Array<SignatureTemplateDTO>>;
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @summary Update a template
|
|
174
|
+
* @param {string} id
|
|
175
|
+
* @param {SignatureTemplateRequest} signatureTemplateRequest
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
update1(id: string, signatureTemplateRequest: SignatureTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<SignatureTemplateDTO>;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* ESignTemplatesApi - object-oriented interface
|
|
183
|
+
*/
|
|
184
|
+
export declare class ESignTemplatesApi extends BaseAPI {
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @summary Delete a template
|
|
188
|
+
* @param {string} id
|
|
189
|
+
* @param {*} [options] Override http request option.
|
|
190
|
+
* @throws {RequiredError}
|
|
191
|
+
*/
|
|
192
|
+
_delete(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @summary Create a template
|
|
196
|
+
* @param {SignatureTemplateRequest} signatureTemplateRequest
|
|
197
|
+
* @param {*} [options] Override http request option.
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
*/
|
|
200
|
+
create1(signatureTemplateRequest: SignatureTemplateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureTemplateDTO, any, {}, any>>;
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @summary Get a template
|
|
204
|
+
* @param {string} id
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
*/
|
|
208
|
+
get1(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureTemplateDTO, any, {}, any>>;
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* @summary Create (and send) an envelope from a template
|
|
212
|
+
* @param {string} id
|
|
213
|
+
* @param {InstantiateTemplateRequest} instantiateTemplateRequest
|
|
214
|
+
* @param {*} [options] Override http request option.
|
|
215
|
+
* @throws {RequiredError}
|
|
216
|
+
*/
|
|
217
|
+
instantiate(id: string, instantiateTemplateRequest: InstantiateTemplateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureEnvelopeDTO, any, {}, any>>;
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* @summary List my templates
|
|
221
|
+
* @param {*} [options] Override http request option.
|
|
222
|
+
* @throws {RequiredError}
|
|
223
|
+
*/
|
|
224
|
+
list(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureTemplateDTO[], any, {}, any>>;
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* @summary Update a template
|
|
228
|
+
* @param {string} id
|
|
229
|
+
* @param {SignatureTemplateRequest} signatureTemplateRequest
|
|
230
|
+
* @param {*} [options] Override http request option.
|
|
231
|
+
* @throws {RequiredError}
|
|
232
|
+
*/
|
|
233
|
+
update1(id: string, signatureTemplateRequest: SignatureTemplateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureTemplateDTO, any, {}, any>>;
|
|
234
|
+
}
|