@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
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
25
|
+
exports.ESignPublicApi = exports.ESignPublicApiFactory = exports.ESignPublicApiFp = exports.ESignPublicApiAxiosParamCreator = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -30,9 +30,9 @@ const common_1 = require("../common");
|
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
const base_1 = require("../base");
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* ESignPublicApi - axios parameter creator
|
|
34
34
|
*/
|
|
35
|
-
const
|
|
35
|
+
const ESignPublicApiAxiosParamCreator = function (configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
@@ -148,7 +148,41 @@ const DigitalSignaturePublicApiAxiosParamCreator = function (configuration) {
|
|
|
148
148
|
}),
|
|
149
149
|
/**
|
|
150
150
|
*
|
|
151
|
-
* @summary
|
|
151
|
+
* @summary Send a one-time access code to the recipient (EMAIL_OTP / SMS_OTP)
|
|
152
|
+
* @param {string} token
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
requestOtp: (token_1, ...args_1) => __awaiter(this, [token_1, ...args_1], void 0, function* (token, options = {}) {
|
|
157
|
+
// verify required parameter 'token' is not null or undefined
|
|
158
|
+
(0, common_1.assertParamExists)('requestOtp', 'token', token);
|
|
159
|
+
const localVarPath = `/api/v1/public/signatures/otp/request`;
|
|
160
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
161
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
162
|
+
let baseOptions;
|
|
163
|
+
if (configuration) {
|
|
164
|
+
baseOptions = configuration.baseOptions;
|
|
165
|
+
}
|
|
166
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
167
|
+
const localVarHeaderParameter = {};
|
|
168
|
+
const localVarQueryParameter = {};
|
|
169
|
+
// authentication keycloak_auth required
|
|
170
|
+
// http bearer authentication required
|
|
171
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
172
|
+
if (token !== undefined) {
|
|
173
|
+
localVarQueryParameter['token'] = token;
|
|
174
|
+
}
|
|
175
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
176
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
177
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
178
|
+
return {
|
|
179
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
180
|
+
options: localVarRequestOptions,
|
|
181
|
+
};
|
|
182
|
+
}),
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @summary Submit the recipient\'s fields and sign
|
|
152
186
|
* @param {string} token
|
|
153
187
|
* @param {ApplySignatureRequest} applySignatureRequest
|
|
154
188
|
* @param {string} [userAgent]
|
|
@@ -190,6 +224,46 @@ const DigitalSignaturePublicApiAxiosParamCreator = function (configuration) {
|
|
|
190
224
|
options: localVarRequestOptions,
|
|
191
225
|
};
|
|
192
226
|
}),
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @summary Verify the one-time access code
|
|
230
|
+
* @param {string} token
|
|
231
|
+
* @param {VerifyOtpRequest} verifyOtpRequest
|
|
232
|
+
* @param {*} [options] Override http request option.
|
|
233
|
+
* @throws {RequiredError}
|
|
234
|
+
*/
|
|
235
|
+
verifyOtp: (token_1, verifyOtpRequest_1, ...args_1) => __awaiter(this, [token_1, verifyOtpRequest_1, ...args_1], void 0, function* (token, verifyOtpRequest, options = {}) {
|
|
236
|
+
// verify required parameter 'token' is not null or undefined
|
|
237
|
+
(0, common_1.assertParamExists)('verifyOtp', 'token', token);
|
|
238
|
+
// verify required parameter 'verifyOtpRequest' is not null or undefined
|
|
239
|
+
(0, common_1.assertParamExists)('verifyOtp', 'verifyOtpRequest', verifyOtpRequest);
|
|
240
|
+
const localVarPath = `/api/v1/public/signatures/otp/verify`;
|
|
241
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
242
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
243
|
+
let baseOptions;
|
|
244
|
+
if (configuration) {
|
|
245
|
+
baseOptions = configuration.baseOptions;
|
|
246
|
+
}
|
|
247
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
248
|
+
const localVarHeaderParameter = {};
|
|
249
|
+
const localVarQueryParameter = {};
|
|
250
|
+
// authentication keycloak_auth required
|
|
251
|
+
// http bearer authentication required
|
|
252
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
253
|
+
if (token !== undefined) {
|
|
254
|
+
localVarQueryParameter['token'] = token;
|
|
255
|
+
}
|
|
256
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
257
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
258
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
259
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
260
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
261
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(verifyOtpRequest, localVarRequestOptions, configuration);
|
|
262
|
+
return {
|
|
263
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
264
|
+
options: localVarRequestOptions,
|
|
265
|
+
};
|
|
266
|
+
}),
|
|
193
267
|
/**
|
|
194
268
|
*
|
|
195
269
|
* @summary Resolve a signing token to its envelope view
|
|
@@ -227,12 +301,12 @@ const DigitalSignaturePublicApiAxiosParamCreator = function (configuration) {
|
|
|
227
301
|
}),
|
|
228
302
|
};
|
|
229
303
|
};
|
|
230
|
-
exports.
|
|
304
|
+
exports.ESignPublicApiAxiosParamCreator = ESignPublicApiAxiosParamCreator;
|
|
231
305
|
/**
|
|
232
|
-
*
|
|
306
|
+
* ESignPublicApi - functional programming interface
|
|
233
307
|
*/
|
|
234
|
-
const
|
|
235
|
-
const localVarAxiosParamCreator = (0, exports.
|
|
308
|
+
const ESignPublicApiFp = function (configuration) {
|
|
309
|
+
const localVarAxiosParamCreator = (0, exports.ESignPublicApiAxiosParamCreator)(configuration);
|
|
236
310
|
return {
|
|
237
311
|
/**
|
|
238
312
|
*
|
|
@@ -247,7 +321,7 @@ const DigitalSignaturePublicApiFp = function (configuration) {
|
|
|
247
321
|
var _a, _b, _c;
|
|
248
322
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.decline1(token, declineSignatureRequest, options);
|
|
249
323
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
250
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
324
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignPublicApi.decline1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
251
325
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
252
326
|
});
|
|
253
327
|
},
|
|
@@ -263,7 +337,7 @@ const DigitalSignaturePublicApiFp = function (configuration) {
|
|
|
263
337
|
var _a, _b, _c;
|
|
264
338
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.document(token, options);
|
|
265
339
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
266
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
340
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignPublicApi.document']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
267
341
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
268
342
|
});
|
|
269
343
|
},
|
|
@@ -280,13 +354,29 @@ const DigitalSignaturePublicApiFp = function (configuration) {
|
|
|
280
354
|
var _a, _b, _c;
|
|
281
355
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.markViewed(token, userAgent, options);
|
|
282
356
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
283
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
357
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignPublicApi.markViewed']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
284
358
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
285
359
|
});
|
|
286
360
|
},
|
|
287
361
|
/**
|
|
288
362
|
*
|
|
289
|
-
* @summary
|
|
363
|
+
* @summary Send a one-time access code to the recipient (EMAIL_OTP / SMS_OTP)
|
|
364
|
+
* @param {string} token
|
|
365
|
+
* @param {*} [options] Override http request option.
|
|
366
|
+
* @throws {RequiredError}
|
|
367
|
+
*/
|
|
368
|
+
requestOtp(token, options) {
|
|
369
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
370
|
+
var _a, _b, _c;
|
|
371
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.requestOtp(token, options);
|
|
372
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
373
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignPublicApi.requestOtp']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
374
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
375
|
+
});
|
|
376
|
+
},
|
|
377
|
+
/**
|
|
378
|
+
*
|
|
379
|
+
* @summary Submit the recipient\'s fields and sign
|
|
290
380
|
* @param {string} token
|
|
291
381
|
* @param {ApplySignatureRequest} applySignatureRequest
|
|
292
382
|
* @param {string} [userAgent]
|
|
@@ -298,7 +388,24 @@ const DigitalSignaturePublicApiFp = function (configuration) {
|
|
|
298
388
|
var _a, _b, _c;
|
|
299
389
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.sign(token, applySignatureRequest, userAgent, options);
|
|
300
390
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
301
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
391
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignPublicApi.sign']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
392
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
393
|
+
});
|
|
394
|
+
},
|
|
395
|
+
/**
|
|
396
|
+
*
|
|
397
|
+
* @summary Verify the one-time access code
|
|
398
|
+
* @param {string} token
|
|
399
|
+
* @param {VerifyOtpRequest} verifyOtpRequest
|
|
400
|
+
* @param {*} [options] Override http request option.
|
|
401
|
+
* @throws {RequiredError}
|
|
402
|
+
*/
|
|
403
|
+
verifyOtp(token, verifyOtpRequest, options) {
|
|
404
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
405
|
+
var _a, _b, _c;
|
|
406
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.verifyOtp(token, verifyOtpRequest, options);
|
|
407
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
408
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignPublicApi.verifyOtp']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
302
409
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
303
410
|
});
|
|
304
411
|
},
|
|
@@ -314,18 +421,18 @@ const DigitalSignaturePublicApiFp = function (configuration) {
|
|
|
314
421
|
var _a, _b, _c;
|
|
315
422
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.view(token, options);
|
|
316
423
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
317
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
424
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignPublicApi.view']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
318
425
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
319
426
|
});
|
|
320
427
|
},
|
|
321
428
|
};
|
|
322
429
|
};
|
|
323
|
-
exports.
|
|
430
|
+
exports.ESignPublicApiFp = ESignPublicApiFp;
|
|
324
431
|
/**
|
|
325
|
-
*
|
|
432
|
+
* ESignPublicApi - factory interface
|
|
326
433
|
*/
|
|
327
|
-
const
|
|
328
|
-
const localVarFp = (0, exports.
|
|
434
|
+
const ESignPublicApiFactory = function (configuration, basePath, axios) {
|
|
435
|
+
const localVarFp = (0, exports.ESignPublicApiFp)(configuration);
|
|
329
436
|
return {
|
|
330
437
|
/**
|
|
331
438
|
*
|
|
@@ -361,7 +468,17 @@ const DigitalSignaturePublicApiFactory = function (configuration, basePath, axio
|
|
|
361
468
|
},
|
|
362
469
|
/**
|
|
363
470
|
*
|
|
364
|
-
* @summary
|
|
471
|
+
* @summary Send a one-time access code to the recipient (EMAIL_OTP / SMS_OTP)
|
|
472
|
+
* @param {string} token
|
|
473
|
+
* @param {*} [options] Override http request option.
|
|
474
|
+
* @throws {RequiredError}
|
|
475
|
+
*/
|
|
476
|
+
requestOtp(token, options) {
|
|
477
|
+
return localVarFp.requestOtp(token, options).then((request) => request(axios, basePath));
|
|
478
|
+
},
|
|
479
|
+
/**
|
|
480
|
+
*
|
|
481
|
+
* @summary Submit the recipient\'s fields and sign
|
|
365
482
|
* @param {string} token
|
|
366
483
|
* @param {ApplySignatureRequest} applySignatureRequest
|
|
367
484
|
* @param {string} [userAgent]
|
|
@@ -371,6 +488,17 @@ const DigitalSignaturePublicApiFactory = function (configuration, basePath, axio
|
|
|
371
488
|
sign(token, applySignatureRequest, userAgent, options) {
|
|
372
489
|
return localVarFp.sign(token, applySignatureRequest, userAgent, options).then((request) => request(axios, basePath));
|
|
373
490
|
},
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
* @summary Verify the one-time access code
|
|
494
|
+
* @param {string} token
|
|
495
|
+
* @param {VerifyOtpRequest} verifyOtpRequest
|
|
496
|
+
* @param {*} [options] Override http request option.
|
|
497
|
+
* @throws {RequiredError}
|
|
498
|
+
*/
|
|
499
|
+
verifyOtp(token, verifyOtpRequest, options) {
|
|
500
|
+
return localVarFp.verifyOtp(token, verifyOtpRequest, options).then((request) => request(axios, basePath));
|
|
501
|
+
},
|
|
374
502
|
/**
|
|
375
503
|
*
|
|
376
504
|
* @summary Resolve a signing token to its envelope view
|
|
@@ -383,11 +511,11 @@ const DigitalSignaturePublicApiFactory = function (configuration, basePath, axio
|
|
|
383
511
|
},
|
|
384
512
|
};
|
|
385
513
|
};
|
|
386
|
-
exports.
|
|
514
|
+
exports.ESignPublicApiFactory = ESignPublicApiFactory;
|
|
387
515
|
/**
|
|
388
|
-
*
|
|
516
|
+
* ESignPublicApi - object-oriented interface
|
|
389
517
|
*/
|
|
390
|
-
class
|
|
518
|
+
class ESignPublicApi extends base_1.BaseAPI {
|
|
391
519
|
/**
|
|
392
520
|
*
|
|
393
521
|
* @summary Decline to sign (voids the envelope)
|
|
@@ -397,7 +525,7 @@ class DigitalSignaturePublicApi extends base_1.BaseAPI {
|
|
|
397
525
|
* @throws {RequiredError}
|
|
398
526
|
*/
|
|
399
527
|
decline1(token, declineSignatureRequest, options) {
|
|
400
|
-
return (0, exports.
|
|
528
|
+
return (0, exports.ESignPublicApiFp)(this.configuration).decline1(token, declineSignatureRequest, options).then((request) => request(this.axios, this.basePath));
|
|
401
529
|
}
|
|
402
530
|
/**
|
|
403
531
|
*
|
|
@@ -407,7 +535,7 @@ class DigitalSignaturePublicApi extends base_1.BaseAPI {
|
|
|
407
535
|
* @throws {RequiredError}
|
|
408
536
|
*/
|
|
409
537
|
document(token, options) {
|
|
410
|
-
return (0, exports.
|
|
538
|
+
return (0, exports.ESignPublicApiFp)(this.configuration).document(token, options).then((request) => request(this.axios, this.basePath));
|
|
411
539
|
}
|
|
412
540
|
/**
|
|
413
541
|
*
|
|
@@ -418,11 +546,21 @@ class DigitalSignaturePublicApi extends base_1.BaseAPI {
|
|
|
418
546
|
* @throws {RequiredError}
|
|
419
547
|
*/
|
|
420
548
|
markViewed(token, userAgent, options) {
|
|
421
|
-
return (0, exports.
|
|
549
|
+
return (0, exports.ESignPublicApiFp)(this.configuration).markViewed(token, userAgent, options).then((request) => request(this.axios, this.basePath));
|
|
422
550
|
}
|
|
423
551
|
/**
|
|
424
552
|
*
|
|
425
|
-
* @summary
|
|
553
|
+
* @summary Send a one-time access code to the recipient (EMAIL_OTP / SMS_OTP)
|
|
554
|
+
* @param {string} token
|
|
555
|
+
* @param {*} [options] Override http request option.
|
|
556
|
+
* @throws {RequiredError}
|
|
557
|
+
*/
|
|
558
|
+
requestOtp(token, options) {
|
|
559
|
+
return (0, exports.ESignPublicApiFp)(this.configuration).requestOtp(token, options).then((request) => request(this.axios, this.basePath));
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
*
|
|
563
|
+
* @summary Submit the recipient\'s fields and sign
|
|
426
564
|
* @param {string} token
|
|
427
565
|
* @param {ApplySignatureRequest} applySignatureRequest
|
|
428
566
|
* @param {string} [userAgent]
|
|
@@ -430,7 +568,18 @@ class DigitalSignaturePublicApi extends base_1.BaseAPI {
|
|
|
430
568
|
* @throws {RequiredError}
|
|
431
569
|
*/
|
|
432
570
|
sign(token, applySignatureRequest, userAgent, options) {
|
|
433
|
-
return (0, exports.
|
|
571
|
+
return (0, exports.ESignPublicApiFp)(this.configuration).sign(token, applySignatureRequest, userAgent, options).then((request) => request(this.axios, this.basePath));
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
*
|
|
575
|
+
* @summary Verify the one-time access code
|
|
576
|
+
* @param {string} token
|
|
577
|
+
* @param {VerifyOtpRequest} verifyOtpRequest
|
|
578
|
+
* @param {*} [options] Override http request option.
|
|
579
|
+
* @throws {RequiredError}
|
|
580
|
+
*/
|
|
581
|
+
verifyOtp(token, verifyOtpRequest, options) {
|
|
582
|
+
return (0, exports.ESignPublicApiFp)(this.configuration).verifyOtp(token, verifyOtpRequest, options).then((request) => request(this.axios, this.basePath));
|
|
434
583
|
}
|
|
435
584
|
/**
|
|
436
585
|
*
|
|
@@ -440,7 +589,7 @@ class DigitalSignaturePublicApi extends base_1.BaseAPI {
|
|
|
440
589
|
* @throws {RequiredError}
|
|
441
590
|
*/
|
|
442
591
|
view(token, options) {
|
|
443
|
-
return (0, exports.
|
|
592
|
+
return (0, exports.ESignPublicApiFp)(this.configuration).view(token, options).then((request) => request(this.axios, this.basePath));
|
|
444
593
|
}
|
|
445
594
|
}
|
|
446
|
-
exports.
|
|
595
|
+
exports.ESignPublicApi = ESignPublicApi;
|
|
@@ -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
|
+
}
|