@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
|
@@ -0,0 +1,138 @@
|
|
|
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 { BulkSendRequest } from '../models';
|
|
16
|
+
import type { BulkSendResponse } from '../models';
|
|
17
|
+
import type { EmbedUrlResponse } from '../models';
|
|
18
|
+
import type { SignatureArchiveDTO } from '../models';
|
|
19
|
+
/**
|
|
20
|
+
* ESignEnterpriseApi - axios parameter creator
|
|
21
|
+
*/
|
|
22
|
+
export declare const ESignEnterpriseApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @summary PDF/A-2b archive + veraPDF compliance for a completed envelope
|
|
26
|
+
* @param {string} id
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
*/
|
|
30
|
+
archive: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @summary Create (and send) one envelope per row from a template
|
|
34
|
+
* @param {BulkSendRequest} bulkSendRequest
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
bulk: (bulkSendRequest: BulkSendRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @summary Mint an embedded-signing URL for a recipient (rotates the token; no email is sent)
|
|
42
|
+
* @param {string} id
|
|
43
|
+
* @param {string} recipientId
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
embedUrl: (id: string, recipientId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* ESignEnterpriseApi - functional programming interface
|
|
51
|
+
*/
|
|
52
|
+
export declare const ESignEnterpriseApiFp: (configuration?: Configuration) => {
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @summary PDF/A-2b archive + veraPDF compliance for a completed envelope
|
|
56
|
+
* @param {string} id
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
archive(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureArchiveDTO>>;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @summary Create (and send) one envelope per row from a template
|
|
64
|
+
* @param {BulkSendRequest} bulkSendRequest
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
bulk(bulkSendRequest: BulkSendRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkSendResponse>>;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @summary Mint an embedded-signing URL for a recipient (rotates the token; no email is sent)
|
|
72
|
+
* @param {string} id
|
|
73
|
+
* @param {string} recipientId
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
embedUrl(id: string, recipientId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmbedUrlResponse>>;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* ESignEnterpriseApi - factory interface
|
|
81
|
+
*/
|
|
82
|
+
export declare const ESignEnterpriseApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @summary PDF/A-2b archive + veraPDF compliance for a completed envelope
|
|
86
|
+
* @param {string} id
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
archive(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureArchiveDTO>;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @summary Create (and send) one envelope per row from a template
|
|
94
|
+
* @param {BulkSendRequest} bulkSendRequest
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
bulk(bulkSendRequest: BulkSendRequest, options?: RawAxiosRequestConfig): AxiosPromise<BulkSendResponse>;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @summary Mint an embedded-signing URL for a recipient (rotates the token; no email is sent)
|
|
102
|
+
* @param {string} id
|
|
103
|
+
* @param {string} recipientId
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
embedUrl(id: string, recipientId: string, options?: RawAxiosRequestConfig): AxiosPromise<EmbedUrlResponse>;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* ESignEnterpriseApi - object-oriented interface
|
|
111
|
+
*/
|
|
112
|
+
export declare class ESignEnterpriseApi extends BaseAPI {
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @summary PDF/A-2b archive + veraPDF compliance for a completed envelope
|
|
116
|
+
* @param {string} id
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
archive(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureArchiveDTO, any, {}, any>>;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @summary Create (and send) one envelope per row from a template
|
|
124
|
+
* @param {BulkSendRequest} bulkSendRequest
|
|
125
|
+
* @param {*} [options] Override http request option.
|
|
126
|
+
* @throws {RequiredError}
|
|
127
|
+
*/
|
|
128
|
+
bulk(bulkSendRequest: BulkSendRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BulkSendResponse, any, {}, any>>;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @summary Mint an embedded-signing URL for a recipient (rotates the token; no email is sent)
|
|
132
|
+
* @param {string} id
|
|
133
|
+
* @param {string} recipientId
|
|
134
|
+
* @param {*} [options] Override http request option.
|
|
135
|
+
* @throws {RequiredError}
|
|
136
|
+
*/
|
|
137
|
+
embedUrl(id: string, recipientId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EmbedUrlResponse, any, {}, any>>;
|
|
138
|
+
}
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* openfilz-api
|
|
6
|
+
* API for Document Management System
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.ESignEnterpriseApi = exports.ESignEnterpriseApiFactory = exports.ESignEnterpriseApiFp = exports.ESignEnterpriseApiAxiosParamCreator = void 0;
|
|
26
|
+
const axios_1 = require("axios");
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const common_1 = require("../common");
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
const base_1 = require("../base");
|
|
32
|
+
/**
|
|
33
|
+
* ESignEnterpriseApi - axios parameter creator
|
|
34
|
+
*/
|
|
35
|
+
const ESignEnterpriseApiAxiosParamCreator = function (configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @summary PDF/A-2b archive + veraPDF compliance for a completed envelope
|
|
40
|
+
* @param {string} id
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
archive: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
45
|
+
// verify required parameter 'id' is not null or undefined
|
|
46
|
+
(0, common_1.assertParamExists)('archive', 'id', id);
|
|
47
|
+
const localVarPath = `/api/v1/signatures/{id}/archive`
|
|
48
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
51
|
+
let baseOptions;
|
|
52
|
+
if (configuration) {
|
|
53
|
+
baseOptions = configuration.baseOptions;
|
|
54
|
+
}
|
|
55
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
56
|
+
const localVarHeaderParameter = {};
|
|
57
|
+
const localVarQueryParameter = {};
|
|
58
|
+
// authentication keycloak_auth required
|
|
59
|
+
// http bearer authentication required
|
|
60
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
61
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
62
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
+
return {
|
|
66
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
67
|
+
options: localVarRequestOptions,
|
|
68
|
+
};
|
|
69
|
+
}),
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @summary Create (and send) one envelope per row from a template
|
|
73
|
+
* @param {BulkSendRequest} bulkSendRequest
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
bulk: (bulkSendRequest_1, ...args_1) => __awaiter(this, [bulkSendRequest_1, ...args_1], void 0, function* (bulkSendRequest, options = {}) {
|
|
78
|
+
// verify required parameter 'bulkSendRequest' is not null or undefined
|
|
79
|
+
(0, common_1.assertParamExists)('bulk', 'bulkSendRequest', bulkSendRequest);
|
|
80
|
+
const localVarPath = `/api/v1/signatures/bulk`;
|
|
81
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
82
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
83
|
+
let baseOptions;
|
|
84
|
+
if (configuration) {
|
|
85
|
+
baseOptions = configuration.baseOptions;
|
|
86
|
+
}
|
|
87
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
88
|
+
const localVarHeaderParameter = {};
|
|
89
|
+
const localVarQueryParameter = {};
|
|
90
|
+
// authentication keycloak_auth required
|
|
91
|
+
// http bearer authentication required
|
|
92
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
93
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
94
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
95
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
96
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
98
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bulkSendRequest, localVarRequestOptions, configuration);
|
|
99
|
+
return {
|
|
100
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
101
|
+
options: localVarRequestOptions,
|
|
102
|
+
};
|
|
103
|
+
}),
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @summary Mint an embedded-signing URL for a recipient (rotates the token; no email is sent)
|
|
107
|
+
* @param {string} id
|
|
108
|
+
* @param {string} recipientId
|
|
109
|
+
* @param {*} [options] Override http request option.
|
|
110
|
+
* @throws {RequiredError}
|
|
111
|
+
*/
|
|
112
|
+
embedUrl: (id_1, recipientId_1, ...args_1) => __awaiter(this, [id_1, recipientId_1, ...args_1], void 0, function* (id, recipientId, options = {}) {
|
|
113
|
+
// verify required parameter 'id' is not null or undefined
|
|
114
|
+
(0, common_1.assertParamExists)('embedUrl', 'id', id);
|
|
115
|
+
// verify required parameter 'recipientId' is not null or undefined
|
|
116
|
+
(0, common_1.assertParamExists)('embedUrl', 'recipientId', recipientId);
|
|
117
|
+
const localVarPath = `/api/v1/signatures/{id}/recipients/{recipientId}/embed-url`
|
|
118
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
119
|
+
.replace('{recipientId}', encodeURIComponent(String(recipientId)));
|
|
120
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
121
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
122
|
+
let baseOptions;
|
|
123
|
+
if (configuration) {
|
|
124
|
+
baseOptions = configuration.baseOptions;
|
|
125
|
+
}
|
|
126
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
127
|
+
const localVarHeaderParameter = {};
|
|
128
|
+
const localVarQueryParameter = {};
|
|
129
|
+
// authentication keycloak_auth required
|
|
130
|
+
// http bearer authentication required
|
|
131
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
132
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
133
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
134
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
135
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
136
|
+
return {
|
|
137
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
138
|
+
options: localVarRequestOptions,
|
|
139
|
+
};
|
|
140
|
+
}),
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
exports.ESignEnterpriseApiAxiosParamCreator = ESignEnterpriseApiAxiosParamCreator;
|
|
144
|
+
/**
|
|
145
|
+
* ESignEnterpriseApi - functional programming interface
|
|
146
|
+
*/
|
|
147
|
+
const ESignEnterpriseApiFp = function (configuration) {
|
|
148
|
+
const localVarAxiosParamCreator = (0, exports.ESignEnterpriseApiAxiosParamCreator)(configuration);
|
|
149
|
+
return {
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @summary PDF/A-2b archive + veraPDF compliance for a completed envelope
|
|
153
|
+
* @param {string} id
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
archive(id, options) {
|
|
158
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
159
|
+
var _a, _b, _c;
|
|
160
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.archive(id, options);
|
|
161
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
162
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignEnterpriseApi.archive']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
163
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
164
|
+
});
|
|
165
|
+
},
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @summary Create (and send) one envelope per row from a template
|
|
169
|
+
* @param {BulkSendRequest} bulkSendRequest
|
|
170
|
+
* @param {*} [options] Override http request option.
|
|
171
|
+
* @throws {RequiredError}
|
|
172
|
+
*/
|
|
173
|
+
bulk(bulkSendRequest, options) {
|
|
174
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
175
|
+
var _a, _b, _c;
|
|
176
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.bulk(bulkSendRequest, options);
|
|
177
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
178
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignEnterpriseApi.bulk']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
179
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
180
|
+
});
|
|
181
|
+
},
|
|
182
|
+
/**
|
|
183
|
+
*
|
|
184
|
+
* @summary Mint an embedded-signing URL for a recipient (rotates the token; no email is sent)
|
|
185
|
+
* @param {string} id
|
|
186
|
+
* @param {string} recipientId
|
|
187
|
+
* @param {*} [options] Override http request option.
|
|
188
|
+
* @throws {RequiredError}
|
|
189
|
+
*/
|
|
190
|
+
embedUrl(id, recipientId, options) {
|
|
191
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
192
|
+
var _a, _b, _c;
|
|
193
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.embedUrl(id, recipientId, options);
|
|
194
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
195
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignEnterpriseApi.embedUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
196
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
197
|
+
});
|
|
198
|
+
},
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
exports.ESignEnterpriseApiFp = ESignEnterpriseApiFp;
|
|
202
|
+
/**
|
|
203
|
+
* ESignEnterpriseApi - factory interface
|
|
204
|
+
*/
|
|
205
|
+
const ESignEnterpriseApiFactory = function (configuration, basePath, axios) {
|
|
206
|
+
const localVarFp = (0, exports.ESignEnterpriseApiFp)(configuration);
|
|
207
|
+
return {
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @summary PDF/A-2b archive + veraPDF compliance for a completed envelope
|
|
211
|
+
* @param {string} id
|
|
212
|
+
* @param {*} [options] Override http request option.
|
|
213
|
+
* @throws {RequiredError}
|
|
214
|
+
*/
|
|
215
|
+
archive(id, options) {
|
|
216
|
+
return localVarFp.archive(id, options).then((request) => request(axios, basePath));
|
|
217
|
+
},
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* @summary Create (and send) one envelope per row from a template
|
|
221
|
+
* @param {BulkSendRequest} bulkSendRequest
|
|
222
|
+
* @param {*} [options] Override http request option.
|
|
223
|
+
* @throws {RequiredError}
|
|
224
|
+
*/
|
|
225
|
+
bulk(bulkSendRequest, options) {
|
|
226
|
+
return localVarFp.bulk(bulkSendRequest, options).then((request) => request(axios, basePath));
|
|
227
|
+
},
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @summary Mint an embedded-signing URL for a recipient (rotates the token; no email is sent)
|
|
231
|
+
* @param {string} id
|
|
232
|
+
* @param {string} recipientId
|
|
233
|
+
* @param {*} [options] Override http request option.
|
|
234
|
+
* @throws {RequiredError}
|
|
235
|
+
*/
|
|
236
|
+
embedUrl(id, recipientId, options) {
|
|
237
|
+
return localVarFp.embedUrl(id, recipientId, options).then((request) => request(axios, basePath));
|
|
238
|
+
},
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
exports.ESignEnterpriseApiFactory = ESignEnterpriseApiFactory;
|
|
242
|
+
/**
|
|
243
|
+
* ESignEnterpriseApi - object-oriented interface
|
|
244
|
+
*/
|
|
245
|
+
class ESignEnterpriseApi extends base_1.BaseAPI {
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @summary PDF/A-2b archive + veraPDF compliance for a completed envelope
|
|
249
|
+
* @param {string} id
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
*/
|
|
253
|
+
archive(id, options) {
|
|
254
|
+
return (0, exports.ESignEnterpriseApiFp)(this.configuration).archive(id, options).then((request) => request(this.axios, this.basePath));
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
*
|
|
258
|
+
* @summary Create (and send) one envelope per row from a template
|
|
259
|
+
* @param {BulkSendRequest} bulkSendRequest
|
|
260
|
+
* @param {*} [options] Override http request option.
|
|
261
|
+
* @throws {RequiredError}
|
|
262
|
+
*/
|
|
263
|
+
bulk(bulkSendRequest, options) {
|
|
264
|
+
return (0, exports.ESignEnterpriseApiFp)(this.configuration).bulk(bulkSendRequest, options).then((request) => request(this.axios, this.basePath));
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* @summary Mint an embedded-signing URL for a recipient (rotates the token; no email is sent)
|
|
269
|
+
* @param {string} id
|
|
270
|
+
* @param {string} recipientId
|
|
271
|
+
* @param {*} [options] Override http request option.
|
|
272
|
+
* @throws {RequiredError}
|
|
273
|
+
*/
|
|
274
|
+
embedUrl(id, recipientId, options) {
|
|
275
|
+
return (0, exports.ESignEnterpriseApiFp)(this.configuration).embedUrl(id, recipientId, options).then((request) => request(this.axios, this.basePath));
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
exports.ESignEnterpriseApi = ESignEnterpriseApi;
|
|
@@ -15,10 +15,11 @@ import { type RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import type { ApplySignatureRequest } from '../models';
|
|
16
16
|
import type { DeclineSignatureRequest } from '../models';
|
|
17
17
|
import type { PublicSignatureView } from '../models';
|
|
18
|
+
import type { VerifyOtpRequest } from '../models';
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
+
* ESignPublicApi - axios parameter creator
|
|
20
21
|
*/
|
|
21
|
-
export declare const
|
|
22
|
+
export declare const ESignPublicApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
23
|
/**
|
|
23
24
|
*
|
|
24
25
|
* @summary Decline to sign (voids the envelope)
|
|
@@ -47,7 +48,15 @@ export declare const DigitalSignaturePublicApiAxiosParamCreator: (configuration?
|
|
|
47
48
|
markViewed: (token: string, userAgent?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
49
|
/**
|
|
49
50
|
*
|
|
50
|
-
* @summary
|
|
51
|
+
* @summary Send a one-time access code to the recipient (EMAIL_OTP / SMS_OTP)
|
|
52
|
+
* @param {string} token
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
requestOtp: (token: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @summary Submit the recipient\'s fields and sign
|
|
51
60
|
* @param {string} token
|
|
52
61
|
* @param {ApplySignatureRequest} applySignatureRequest
|
|
53
62
|
* @param {string} [userAgent]
|
|
@@ -55,6 +64,15 @@ export declare const DigitalSignaturePublicApiAxiosParamCreator: (configuration?
|
|
|
55
64
|
* @throws {RequiredError}
|
|
56
65
|
*/
|
|
57
66
|
sign: (token: string, applySignatureRequest: ApplySignatureRequest, userAgent?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @summary Verify the one-time access code
|
|
70
|
+
* @param {string} token
|
|
71
|
+
* @param {VerifyOtpRequest} verifyOtpRequest
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
verifyOtp: (token: string, verifyOtpRequest: VerifyOtpRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
76
|
/**
|
|
59
77
|
*
|
|
60
78
|
* @summary Resolve a signing token to its envelope view
|
|
@@ -65,9 +83,9 @@ export declare const DigitalSignaturePublicApiAxiosParamCreator: (configuration?
|
|
|
65
83
|
view: (token: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
84
|
};
|
|
67
85
|
/**
|
|
68
|
-
*
|
|
86
|
+
* ESignPublicApi - functional programming interface
|
|
69
87
|
*/
|
|
70
|
-
export declare const
|
|
88
|
+
export declare const ESignPublicApiFp: (configuration?: Configuration) => {
|
|
71
89
|
/**
|
|
72
90
|
*
|
|
73
91
|
* @summary Decline to sign (voids the envelope)
|
|
@@ -96,7 +114,15 @@ export declare const DigitalSignaturePublicApiFp: (configuration?: Configuration
|
|
|
96
114
|
markViewed(token: string, userAgent?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicSignatureView>>;
|
|
97
115
|
/**
|
|
98
116
|
*
|
|
99
|
-
* @summary
|
|
117
|
+
* @summary Send a one-time access code to the recipient (EMAIL_OTP / SMS_OTP)
|
|
118
|
+
* @param {string} token
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
*/
|
|
122
|
+
requestOtp(token: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @summary Submit the recipient\'s fields and sign
|
|
100
126
|
* @param {string} token
|
|
101
127
|
* @param {ApplySignatureRequest} applySignatureRequest
|
|
102
128
|
* @param {string} [userAgent]
|
|
@@ -104,6 +130,15 @@ export declare const DigitalSignaturePublicApiFp: (configuration?: Configuration
|
|
|
104
130
|
* @throws {RequiredError}
|
|
105
131
|
*/
|
|
106
132
|
sign(token: string, applySignatureRequest: ApplySignatureRequest, userAgent?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicSignatureView>>;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @summary Verify the one-time access code
|
|
136
|
+
* @param {string} token
|
|
137
|
+
* @param {VerifyOtpRequest} verifyOtpRequest
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
*/
|
|
141
|
+
verifyOtp(token: string, verifyOtpRequest: VerifyOtpRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicSignatureView>>;
|
|
107
142
|
/**
|
|
108
143
|
*
|
|
109
144
|
* @summary Resolve a signing token to its envelope view
|
|
@@ -114,9 +149,9 @@ export declare const DigitalSignaturePublicApiFp: (configuration?: Configuration
|
|
|
114
149
|
view(token: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicSignatureView>>;
|
|
115
150
|
};
|
|
116
151
|
/**
|
|
117
|
-
*
|
|
152
|
+
* ESignPublicApi - factory interface
|
|
118
153
|
*/
|
|
119
|
-
export declare const
|
|
154
|
+
export declare const ESignPublicApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
120
155
|
/**
|
|
121
156
|
*
|
|
122
157
|
* @summary Decline to sign (voids the envelope)
|
|
@@ -145,7 +180,15 @@ export declare const DigitalSignaturePublicApiFactory: (configuration?: Configur
|
|
|
145
180
|
markViewed(token: string, userAgent?: string, options?: RawAxiosRequestConfig): AxiosPromise<PublicSignatureView>;
|
|
146
181
|
/**
|
|
147
182
|
*
|
|
148
|
-
* @summary
|
|
183
|
+
* @summary Send a one-time access code to the recipient (EMAIL_OTP / SMS_OTP)
|
|
184
|
+
* @param {string} token
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
requestOtp(token: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @summary Submit the recipient\'s fields and sign
|
|
149
192
|
* @param {string} token
|
|
150
193
|
* @param {ApplySignatureRequest} applySignatureRequest
|
|
151
194
|
* @param {string} [userAgent]
|
|
@@ -153,6 +196,15 @@ export declare const DigitalSignaturePublicApiFactory: (configuration?: Configur
|
|
|
153
196
|
* @throws {RequiredError}
|
|
154
197
|
*/
|
|
155
198
|
sign(token: string, applySignatureRequest: ApplySignatureRequest, userAgent?: string, options?: RawAxiosRequestConfig): AxiosPromise<PublicSignatureView>;
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @summary Verify the one-time access code
|
|
202
|
+
* @param {string} token
|
|
203
|
+
* @param {VerifyOtpRequest} verifyOtpRequest
|
|
204
|
+
* @param {*} [options] Override http request option.
|
|
205
|
+
* @throws {RequiredError}
|
|
206
|
+
*/
|
|
207
|
+
verifyOtp(token: string, verifyOtpRequest: VerifyOtpRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublicSignatureView>;
|
|
156
208
|
/**
|
|
157
209
|
*
|
|
158
210
|
* @summary Resolve a signing token to its envelope view
|
|
@@ -163,9 +215,9 @@ export declare const DigitalSignaturePublicApiFactory: (configuration?: Configur
|
|
|
163
215
|
view(token: string, options?: RawAxiosRequestConfig): AxiosPromise<PublicSignatureView>;
|
|
164
216
|
};
|
|
165
217
|
/**
|
|
166
|
-
*
|
|
218
|
+
* ESignPublicApi - object-oriented interface
|
|
167
219
|
*/
|
|
168
|
-
export declare class
|
|
220
|
+
export declare class ESignPublicApi extends BaseAPI {
|
|
169
221
|
/**
|
|
170
222
|
*
|
|
171
223
|
* @summary Decline to sign (voids the envelope)
|
|
@@ -194,7 +246,15 @@ export declare class DigitalSignaturePublicApi extends BaseAPI {
|
|
|
194
246
|
markViewed(token: string, userAgent?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublicSignatureView, any, {}, any>>;
|
|
195
247
|
/**
|
|
196
248
|
*
|
|
197
|
-
* @summary
|
|
249
|
+
* @summary Send a one-time access code to the recipient (EMAIL_OTP / SMS_OTP)
|
|
250
|
+
* @param {string} token
|
|
251
|
+
* @param {*} [options] Override http request option.
|
|
252
|
+
* @throws {RequiredError}
|
|
253
|
+
*/
|
|
254
|
+
requestOtp(token: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @summary Submit the recipient\'s fields and sign
|
|
198
258
|
* @param {string} token
|
|
199
259
|
* @param {ApplySignatureRequest} applySignatureRequest
|
|
200
260
|
* @param {string} [userAgent]
|
|
@@ -202,6 +262,15 @@ export declare class DigitalSignaturePublicApi extends BaseAPI {
|
|
|
202
262
|
* @throws {RequiredError}
|
|
203
263
|
*/
|
|
204
264
|
sign(token: string, applySignatureRequest: ApplySignatureRequest, userAgent?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublicSignatureView, any, {}, any>>;
|
|
265
|
+
/**
|
|
266
|
+
*
|
|
267
|
+
* @summary Verify the one-time access code
|
|
268
|
+
* @param {string} token
|
|
269
|
+
* @param {VerifyOtpRequest} verifyOtpRequest
|
|
270
|
+
* @param {*} [options] Override http request option.
|
|
271
|
+
* @throws {RequiredError}
|
|
272
|
+
*/
|
|
273
|
+
verifyOtp(token: string, verifyOtpRequest: VerifyOtpRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublicSignatureView, any, {}, any>>;
|
|
205
274
|
/**
|
|
206
275
|
*
|
|
207
276
|
* @summary Resolve a signing token to its envelope view
|