UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

29 lines 771 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SignerAdd = void 0; const index_1 = require("./../index"); class SignerAdd { constructor(data) { this.keyPair = index_1.KeyPair.fromJson(data.keyPair); } static getKeyPairDescription() { return ""; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new SignerAdd(data); } toJson() { var _a; return { 'keyPair': (_a = this.keyPair) === null || _a === void 0 ? void 0 : _a.toJson(), }; } clone() { return SignerAdd.fromJson(this.toJson()); } } exports.SignerAdd = SignerAdd; //# sourceMappingURL=SignerAdd.js.map