nfets 0.0.92 → 0.0.93
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/dist/chunk-3QLHNM2Q.mjs +20 -0
- package/dist/{chunk-4WBTBSE6.mjs → chunk-POAIEFMR.mjs} +39 -39
- package/dist/core/index.cjs +40 -40
- package/dist/core/index.d.cts +3 -2
- package/dist/core/index.d.ts +3 -2
- package/dist/core/index.mjs +1 -1
- package/dist/index.cjs +68 -74
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/nfe/index.cjs +68 -74
- package/dist/nfe/index.d.cts +1 -7
- package/dist/nfe/index.d.ts +1 -7
- package/dist/nfe/index.mjs +1 -1
- package/dist/{xml-signer-CCwIT1uC.d.cts → xml-signer-E-132bo8.d.cts} +1 -0
- package/dist/{xml-signer-CCwIT1uC.d.ts → xml-signer-E-132bo8.d.ts} +1 -0
- package/package.json +1 -1
- package/dist/chunk-DUZ2ZQ2D.mjs +0 -26
package/dist/nfe/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as StateCode, j as EnvironmentCode, D as DecimalValue, l as Signature, i as StateAcronym, f as StateCodes, p as TransmitterOptions, q as Transmitter, m as Client, a1 as RequestConfig, a6 as SignedEntity, ac as Either, x as NFeTsError, a as ReadCertificateResponse, O as RowBuilderOptions, V as PdfBuilder, a7 as SignerRepository, d as SignatureAlgorithm, ad as Left, ae as Right, R as ReadCertificateRequest, a3 as HttpClient, w as XmlToolkit, W as CacheAdapter, Y as CertificateRepository, a4 as RemoteTransmissionRepository, a9 as EntitySigner, aa as XmlSigner, N as Namespaced } from '../xml-signer-
|
|
1
|
+
import { h as StateCode, j as EnvironmentCode, D as DecimalValue, l as Signature, i as StateAcronym, f as StateCodes, p as TransmitterOptions, q as Transmitter, m as Client, a1 as RequestConfig, a6 as SignedEntity, ac as Either, x as NFeTsError, a as ReadCertificateResponse, O as RowBuilderOptions, V as PdfBuilder, a7 as SignerRepository, d as SignatureAlgorithm, ad as Left, ae as Right, R as ReadCertificateRequest, a3 as HttpClient, w as XmlToolkit, W as CacheAdapter, Y as CertificateRepository, a4 as RemoteTransmissionRepository, a9 as EntitySigner, aa as XmlSigner, N as Namespaced } from '../xml-signer-E-132bo8.cjs';
|
|
2
2
|
import { Writable } from 'node:stream';
|
|
3
3
|
import 'node:crypto';
|
|
4
4
|
|
|
@@ -4839,12 +4839,6 @@ declare class NfceAuthorizerPipeline extends NfeAuthorizerPipeline {
|
|
|
4839
4839
|
protected readonly qrCode: NfceQrcode;
|
|
4840
4840
|
protected readonly transmitter: NfceRemoteTransmitter;
|
|
4841
4841
|
constructor(certificate: ReadCertificateRequest);
|
|
4842
|
-
options: Pick<NfceTransmitterOptions, 'schema' | 'qrCode'>;
|
|
4843
|
-
execute<E extends NFCe$1, T extends E | E[]>(payload: AutorizacaoPayload<E, T>, options: Pick<NfceTransmitterOptions, 'schema' | 'qrCode'>): Promise<Either<NFeTsError, PipelineAuthorizerResponse<E, T>>>;
|
|
4844
|
-
protected signNfe(certificate: ReadCertificateResponse, NFe: NFCe$1): Promise<Either<NFeTsError, SignedEntity<NFe>>>;
|
|
4845
|
-
private attachInfNfeSupl;
|
|
4846
|
-
private attachQrCode;
|
|
4847
|
-
private generateQrCode;
|
|
4848
4842
|
}
|
|
4849
4843
|
|
|
4850
4844
|
declare class NfceVoidRangePipeline extends NfeVoidRangePipeline {
|
package/dist/nfe/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as StateCode, j as EnvironmentCode, D as DecimalValue, l as Signature, i as StateAcronym, f as StateCodes, p as TransmitterOptions, q as Transmitter, m as Client, a1 as RequestConfig, a6 as SignedEntity, ac as Either, x as NFeTsError, a as ReadCertificateResponse, O as RowBuilderOptions, V as PdfBuilder, a7 as SignerRepository, d as SignatureAlgorithm, ad as Left, ae as Right, R as ReadCertificateRequest, a3 as HttpClient, w as XmlToolkit, W as CacheAdapter, Y as CertificateRepository, a4 as RemoteTransmissionRepository, a9 as EntitySigner, aa as XmlSigner, N as Namespaced } from '../xml-signer-
|
|
1
|
+
import { h as StateCode, j as EnvironmentCode, D as DecimalValue, l as Signature, i as StateAcronym, f as StateCodes, p as TransmitterOptions, q as Transmitter, m as Client, a1 as RequestConfig, a6 as SignedEntity, ac as Either, x as NFeTsError, a as ReadCertificateResponse, O as RowBuilderOptions, V as PdfBuilder, a7 as SignerRepository, d as SignatureAlgorithm, ad as Left, ae as Right, R as ReadCertificateRequest, a3 as HttpClient, w as XmlToolkit, W as CacheAdapter, Y as CertificateRepository, a4 as RemoteTransmissionRepository, a9 as EntitySigner, aa as XmlSigner, N as Namespaced } from '../xml-signer-E-132bo8.js';
|
|
2
2
|
import { Writable } from 'node:stream';
|
|
3
3
|
import 'node:crypto';
|
|
4
4
|
|
|
@@ -4839,12 +4839,6 @@ declare class NfceAuthorizerPipeline extends NfeAuthorizerPipeline {
|
|
|
4839
4839
|
protected readonly qrCode: NfceQrcode;
|
|
4840
4840
|
protected readonly transmitter: NfceRemoteTransmitter;
|
|
4841
4841
|
constructor(certificate: ReadCertificateRequest);
|
|
4842
|
-
options: Pick<NfceTransmitterOptions, 'schema' | 'qrCode'>;
|
|
4843
|
-
execute<E extends NFCe$1, T extends E | E[]>(payload: AutorizacaoPayload<E, T>, options: Pick<NfceTransmitterOptions, 'schema' | 'qrCode'>): Promise<Either<NFeTsError, PipelineAuthorizerResponse<E, T>>>;
|
|
4844
|
-
protected signNfe(certificate: ReadCertificateResponse, NFe: NFCe$1): Promise<Either<NFeTsError, SignedEntity<NFe>>>;
|
|
4845
|
-
private attachInfNfeSupl;
|
|
4846
|
-
private attachQrCode;
|
|
4847
|
-
private generateQrCode;
|
|
4848
4842
|
}
|
|
4849
4843
|
|
|
4850
4844
|
declare class NfceVoidRangePipeline extends NfeVoidRangePipeline {
|
package/dist/nfe/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire } from 'module'; const require = createRequire(import.meta.url);
|
|
2
|
-
import{A,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-
|
|
2
|
+
import{A,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-3QLHNM2Q.mjs";import"../chunk-POAIEFMR.mjs";import"../chunk-W6MRGYXP.mjs";export{d as AccessKeyBuilder,z as DanfceDefaultPdfDocument,A as DanfceReducedPdfDocument,e as DefaultDetBuilderAggregator,f as DefaultTotalBuilderAggregator,w as NFCeDto,s as NFeDto,p as NfceAuthorizerPipeline,o as NfceCancelPipeline,r as NfceConsultStatusPipeline,m as NfceQrcode,n as NfceRemoteTransmitter,q as NfceVoidRangePipeline,x as NfceXmlBuilder,y as NfceXmlBuilderPipeline,l as NfeAuthorizationResponsePipeline,i as NfeAuthorizerPipeline,h as NfeCancelPipeline,k as NfeConsultStatusPipeline,t as NfeDetXmlBuilder,g as NfeRemoteTransmitter,j as NfeVoidRangePipeline,u as NfeXmlBuilder,v as NfeXmlBuilderPipeline,a as TpEmis,b as TpEvent,c as schemas};
|
|
@@ -304,6 +304,7 @@ interface XmlToolkit {
|
|
|
304
304
|
getFirstNode(xml: string): string | null;
|
|
305
305
|
getAttribute(xml: string, tag: string): string | null;
|
|
306
306
|
appendNode(xml: string, node: string): string;
|
|
307
|
+
insertBefore(xml: string, referenceTag: string, node: string): string;
|
|
307
308
|
}
|
|
308
309
|
|
|
309
310
|
type DocumentOptions = PDFKit.PDFDocumentOptions;
|
|
@@ -304,6 +304,7 @@ interface XmlToolkit {
|
|
|
304
304
|
getFirstNode(xml: string): string | null;
|
|
305
305
|
getAttribute(xml: string, tag: string): string | null;
|
|
306
306
|
appendNode(xml: string, node: string): string;
|
|
307
|
+
insertBefore(xml: string, referenceTag: string, node: string): string;
|
|
307
308
|
}
|
|
308
309
|
|
|
309
310
|
type DocumentOptions = PDFKit.PDFDocumentOptions;
|