node-mde
Version:
Biblioteca para consultar notas destinadas e enviar evento de manifestação do destinatário
59 lines (58 loc) • 1.66 kB
TypeScript
export = controller;
declare const controller: Readonly<{
DistribuicaoController: {
new (): {};
enviar(opts: any): Promise<{
data: {
tpAmb: string;
verAplic: string;
cStat: string;
xMotivo: string;
dhResp: string;
ultNSU: string;
maxNSU: string;
docZip: [{
xml: string;
json: any;
nsu: string;
schema: string;
}];
};
error: string;
reqXml: string;
resXml: string;
status: number;
}>;
};
RecepcaoController: {
new (): {};
enviar(opts: any): Promise<{
data: {
idLote: string;
tpAmb: string;
verAplic: string;
cOrgao: string;
cStat: string;
xMotivo: string;
infEvento: [{
tpAmb: string;
verAplic: string;
cOrgao: string;
cStat: string;
xMotivo: string;
chNFe: string;
tpEvento: string;
xEvento: string;
nSeqEvento: string;
CNPJDest: string;
dhRegEvento: string;
nProt: string;
}];
};
error: string;
reqXml: string;
resXml: string;
status: number;
}>;
};
}>;