const apiToken: string = "SEU TOKEN";
const signerToken: string = "TOKEN DO SIGNATÁRIO";
async function exempleDetailSigner() {
try {
const signerRequest: SignerRequest = await new SignerRequest(apiToken).detailSigner(signerToken);
const jsonDocResponse: string = new JsonConverter().signerToJson(docResponse);
console.log(jsonDocResponse);
} catch(Err) {
console.log(Err);
}
}
}
import SignerRequest from "sdk-node-typescript-zapsign/src/signer/SignerRequest";
import { JsonConverter } from "sdk-node-typescript-zapsign/src/services/JsonConverter";
const apiToken: string = "SEU TOKEN";
const signerToken: string = "TOKEN DO SIGNATÁRIO";
async function exempleDetailSigner() {
try {
const signerRequest: SignerRequest = await new SignerRequest(apiToken).detailSigner(signerToken);
const jsonDocResponse: string = new JsonConverter().signerToJson(docResponse);
console.log(jsonDocResponse);
} catch(Err) {
console.log(Err);
}
}
}