nfets 0.0.94 → 0.0.97
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-6Q55WART.mjs +20 -0
- package/dist/{chunk-POAIEFMR.mjs → chunk-IJON6HO5.mjs} +1 -1
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.mjs +1 -1
- package/dist/index.cjs +75 -75
- 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 +75 -75
- package/dist/nfe/index.d.cts +38 -29
- package/dist/nfe/index.d.ts +38 -29
- package/dist/nfe/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-VPC3GCBK.mjs +0 -20
package/dist/nfe/index.d.cts
CHANGED
|
@@ -1439,9 +1439,9 @@ interface EventoLoteResponse {
|
|
|
1439
1439
|
}
|
|
1440
1440
|
|
|
1441
1441
|
interface ConsultaProtocoloPayload {
|
|
1442
|
-
tpAmb
|
|
1443
|
-
xServ?: 'CONSULTAR';
|
|
1442
|
+
tpAmb: EnvironmentCode;
|
|
1444
1443
|
chNFe: string;
|
|
1444
|
+
xServ?: 'CONSULTAR';
|
|
1445
1445
|
}
|
|
1446
1446
|
interface ConsultaProtocoloRequest {
|
|
1447
1447
|
consSitNFe: ConsultaProtocoloPayload;
|
|
@@ -1763,19 +1763,19 @@ interface EmitBuilder<T extends object> {
|
|
|
1763
1763
|
emit(payload: Emit): AvulsaBuilder<T> & DestBuilder<T> & RetiradaBuilder<T> & EntregaBuilder<T> & AutXMLBuilder<T> & DetGroupBuilder<T>;
|
|
1764
1764
|
}
|
|
1765
1765
|
interface AvulsaBuilder<T extends object> {
|
|
1766
|
-
avulsa(payload
|
|
1766
|
+
avulsa(payload?: Avulsa): DestBuilder<T> & RetiradaBuilder<T> & EntregaBuilder<T> & AutXMLBuilder<T> & DetGroupBuilder<T>;
|
|
1767
1767
|
}
|
|
1768
1768
|
interface DestBuilder<T extends object> {
|
|
1769
|
-
dest(payload
|
|
1769
|
+
dest(payload?: Dest): RetiradaBuilder<T> & EntregaBuilder<T> & AutXMLBuilder<T> & DetGroupBuilder<T>;
|
|
1770
1770
|
}
|
|
1771
1771
|
interface RetiradaBuilder<T extends object> {
|
|
1772
|
-
retirada(payload
|
|
1772
|
+
retirada(payload?: Local): DestBuilder<T> & EntregaBuilder<T> & AutXMLBuilder<T> & DetGroupBuilder<T>;
|
|
1773
1773
|
}
|
|
1774
1774
|
interface EntregaBuilder<T extends object> {
|
|
1775
|
-
entrega(payload
|
|
1775
|
+
entrega(payload?: Local): DestBuilder<T> & AutXMLBuilder<T> & DetGroupBuilder<T>;
|
|
1776
1776
|
}
|
|
1777
1777
|
interface AutXMLBuilder<T extends object> {
|
|
1778
|
-
autXML(payload
|
|
1778
|
+
autXML(payload?: AutXML): AutXMLBuilder<T> & DetGroupBuilder<T>;
|
|
1779
1779
|
}
|
|
1780
1780
|
interface DetGroupBuilder<T extends object> {
|
|
1781
1781
|
det<D>(items: [D, ...D[]], build: (ctx: ProdBuilder, item: D) => AssembleDetXmlBuilder): TotalBuilder<T> & TranspBuilder<T>;
|
|
@@ -1788,31 +1788,31 @@ interface TranspBuilder<T extends object> {
|
|
|
1788
1788
|
transp(payload: Transp): CobrBuilder<T> & PagBuilder<T>;
|
|
1789
1789
|
}
|
|
1790
1790
|
interface CobrBuilder<T extends object> {
|
|
1791
|
-
cobr(payload
|
|
1791
|
+
cobr(payload?: Cobr): PagBuilder<T>;
|
|
1792
1792
|
}
|
|
1793
1793
|
interface PagBuilder<T extends object> {
|
|
1794
1794
|
pag(payload: Pag): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & CanaBuilder<T> & CompraBuilder<T> & ExportaBuilder<T> & InfRespTecBuilder<T> & InfIntermedBuilder<T>;
|
|
1795
1795
|
}
|
|
1796
1796
|
interface InfIntermedBuilder<T extends object> {
|
|
1797
|
-
infIntermed(payload
|
|
1797
|
+
infIntermed(payload?: InfIntermed): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & CanaBuilder<T> & CompraBuilder<T> & InfRespTecBuilder<T> & ExportaBuilder<T>;
|
|
1798
1798
|
}
|
|
1799
1799
|
interface InfAdicBuilder<T extends object> {
|
|
1800
|
-
infAdic(payload
|
|
1800
|
+
infAdic(payload?: InfAdic): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & InfRespTecBuilder<T> & CanaBuilder<T> & CompraBuilder<T> & ExportaBuilder<T>;
|
|
1801
1801
|
}
|
|
1802
1802
|
interface ExportaBuilder<T extends object> {
|
|
1803
|
-
exporta(payload
|
|
1803
|
+
exporta(payload?: Exporta): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & InfRespTecBuilder<T> & CanaBuilder<T> & CompraBuilder<T>;
|
|
1804
1804
|
}
|
|
1805
1805
|
interface CompraBuilder<T extends object> {
|
|
1806
|
-
compra(payload
|
|
1806
|
+
compra(payload?: Compra): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & InfRespTecBuilder<T> & CanaBuilder<T>;
|
|
1807
1807
|
}
|
|
1808
1808
|
interface CanaBuilder<T extends object> {
|
|
1809
|
-
cana(payload
|
|
1809
|
+
cana(payload?: Cana): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & InfRespTecBuilder<T>;
|
|
1810
1810
|
}
|
|
1811
1811
|
interface InfRespTecBuilder<T extends object> {
|
|
1812
|
-
infRespTec(payload
|
|
1812
|
+
infRespTec(payload?: InfRespTec): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T>;
|
|
1813
1813
|
}
|
|
1814
1814
|
interface InfSolicNFFBuilder<T extends object> {
|
|
1815
|
-
infSolicNFF(payload
|
|
1815
|
+
infSolicNFF(payload?: InfSolicNFF): AssembleNfeBuilder<T> & InfAdicBuilder<T> & AvulsaBuilder<T>;
|
|
1816
1816
|
}
|
|
1817
1817
|
interface AssembleNfeBuilder<T extends object> {
|
|
1818
1818
|
quiet(): AssembleNfeBuilder<T>;
|
|
@@ -3307,6 +3307,10 @@ declare class NfeConsultStatusPipeline extends TransmissionPipeline {
|
|
|
3307
3307
|
execute(payload: ConsultStatusPayload): Promise<Either<NFeTsError, ConsultStatusResponse>>;
|
|
3308
3308
|
}
|
|
3309
3309
|
|
|
3310
|
+
declare class NfeConsultProtocoloPipeline extends TransmissionPipeline {
|
|
3311
|
+
execute(payload: ConsultaProtocoloPayload): Promise<Either<NFeTsError, ConsultaProtocoloResponse>>;
|
|
3312
|
+
}
|
|
3313
|
+
|
|
3310
3314
|
declare class NfeAuthorizationResponsePipeline extends TransmissionPipeline {
|
|
3311
3315
|
execute(payload: RetAutorizacaoPayload & {
|
|
3312
3316
|
cUF: StateCode;
|
|
@@ -4857,6 +4861,11 @@ declare class NfceConsultStatusPipeline extends NfeConsultStatusPipeline {
|
|
|
4857
4861
|
protected readonly transmitter: NfceRemoteTransmitter;
|
|
4858
4862
|
}
|
|
4859
4863
|
|
|
4864
|
+
declare class NfceConsultProtocoloPipeline extends NfeConsultProtocoloPipeline {
|
|
4865
|
+
protected readonly qrCode: NfceQrcode;
|
|
4866
|
+
protected readonly transmitter: NfceRemoteTransmitter;
|
|
4867
|
+
}
|
|
4868
|
+
|
|
4860
4869
|
declare class NfeXmlBuilderPipeline<T extends object> extends Pipeline {
|
|
4861
4870
|
protected readonly certificate?: ReadCertificateRequest | undefined;
|
|
4862
4871
|
protected readonly schema: Schema;
|
|
@@ -4950,25 +4959,25 @@ declare class NfeXmlBuilder<T extends object = NFe$1> implements INfeXmlBuilder<
|
|
|
4950
4959
|
infNFe($: InfNFeAttributes): this;
|
|
4951
4960
|
ide(payload: Ide): this;
|
|
4952
4961
|
emit(payload: Emit): this;
|
|
4953
|
-
avulsa(payload
|
|
4954
|
-
dest(payload
|
|
4955
|
-
retirada(payload
|
|
4956
|
-
entrega(payload
|
|
4957
|
-
autXML(payload
|
|
4962
|
+
avulsa(payload?: Avulsa): this;
|
|
4963
|
+
dest(payload?: Dest): this;
|
|
4964
|
+
retirada(payload?: Local): this;
|
|
4965
|
+
entrega(payload?: Local): this;
|
|
4966
|
+
autXML(payload?: AutXML): this;
|
|
4958
4967
|
det<D>(items: [D, ...D[]], build: (ctx: ProdBuilder, item: D) => AssembleDetXmlBuilder): TotalBuilder<T> & TranspBuilder<T>;
|
|
4959
4968
|
total(payload: Total): this;
|
|
4960
4969
|
increment(callback: (context: DeepPartial<Total>, det: DeepPartial<Det[]>) => DeepPartial<Total>): this;
|
|
4961
4970
|
private buildTotalForPL_010;
|
|
4962
4971
|
transp(payload: Transp): this;
|
|
4963
|
-
cobr(payload
|
|
4972
|
+
cobr(payload?: Cobr): this;
|
|
4964
4973
|
pag(payload: Pag): this;
|
|
4965
|
-
infIntermed(payload
|
|
4966
|
-
infAdic(payload
|
|
4967
|
-
exporta(payload
|
|
4968
|
-
compra(payload
|
|
4969
|
-
cana(payload
|
|
4970
|
-
infRespTec(payload
|
|
4971
|
-
infSolicNFF(payload
|
|
4974
|
+
infIntermed(payload?: InfIntermed): this;
|
|
4975
|
+
infAdic(payload?: InfAdic): this;
|
|
4976
|
+
exporta(payload?: Exporta): this;
|
|
4977
|
+
compra(payload?: Compra): this;
|
|
4978
|
+
cana(payload?: Cana): this;
|
|
4979
|
+
infRespTec(payload?: InfRespTec): this;
|
|
4980
|
+
infSolicNFF(payload?: InfSolicNFF): this;
|
|
4972
4981
|
quiet(): this;
|
|
4973
4982
|
protected toObject(): Left<NFeTsError> | Right<T>;
|
|
4974
4983
|
assemble(): Promise<Left<NFeTsError> | Right<string>>;
|
|
@@ -5154,4 +5163,4 @@ declare class NFCe implements NFCe$1 {
|
|
|
5154
5163
|
Signature?: Signature;
|
|
5155
5164
|
}
|
|
5156
5165
|
|
|
5157
|
-
export { type AccessKey, AccessKeyBuilder, type AssembleDetXmlBuilder, type AssembleNfeBuilder, type AsynchronousAutorizacaoResponse, type AutXMLBuilder, type AutorizacaoPayload, type AutorizacaoRequest, type AutorizacaoResponse, type AvulsaBuilder, type Builder, type CanaBuilder, type CobrBuilder, type CofinsBuilder, type CofinsStBuilder, type CompraBuilder, type ConsultStatusPayload, type ConsultStatusRequest, type ConsultStatusResponse, type ConsultaCadastroPayload, type ConsultaCadastroRequest, type ConsultaCadastroResponse, type ConsultaProtocoloPayload, type ConsultaProtocoloRequest, type ConsultaProtocoloResponse, type ContingencyOptions, DanfceDefaultPdfDocument, DanfceReducedPdfDocument, DefaultDetBuilderAggregator, DefaultTotalBuilderAggregator, type DestBuilder, type DetBuilder, type DetBuilderAggregator, type DetEventoCancelamento, type DetGroupBuilder, type EmitBuilder, type EntregaBuilder, type EventoCancelamento, type EventoItem, type EventoItemAttributes, type EventoLotePayload, type EventoLoteResponse, type EventoPayload, type EventoRequest, type EventoResponse, type ExportaBuilder, type ICMS, type ICMS00, type ICMS10, type ICMS20, type ICMS30, type ICMS40, type ICMS51, type ICMS60, type ICMS70, type ICMS90, type ICMSPart, type ICMSSN, type ICMSSN101, type ICMSSN102, type ICMSSN201, type ICMSSN202, type ICMSSN500, type ICMSSN900, type ICMSST, type ICMSStandard, type IIBuilder, type INfeDetXmlBuilder, type INfeXmlBuilder, type IbscbsBuilder, type IcmsBuilder, type IcmsIpiBuilder, type IcmsOrIssQnBuilder, type IcmsufdestBuilder, type IdeBuilder, type ImpostoBuilder, type InfAdicBuilder, type InfEvento, type InfEventoAttributes, type InfIntermedBuilder, type InfInut, type InfInutAttributes, type InfNFeBuilder, type InfRespTecBuilder, type InfSolicNFFBuilder, type InutNFeAttributes, type InutilizacaoPayload, type InutilizacaoRequest, type InutilizacaoResponse, type IssIpiBuilder, type IssQnBuilder, type NFCe$1 as NFCe, NFCe as NFCeDto, type NFCeProc, type NFe$1 as NFe, type NFeAttributes, NFe as NFeDto, type NFeProc, type NFeProcAttributes, NfceAuthorizerPipeline, NfceCancelPipeline, NfceConsultStatusPipeline, NfceQrcode, type NfceQrcodeOptions, type NfceQrcodeOptions200, type NfceQrcodeOptions300, type NfceQrcodeOptionsBase, type NfceRemoteClient, NfceRemoteTransmitter, type NfceTransmitter, type NfceTransmitterOptions, NfceVoidRangePipeline, NfceXmlBuilder, NfceXmlBuilderPipeline, NfeAuthorizationResponsePipeline, type NfeAuthorizerPayload, NfeAuthorizerPipeline, NfeCancelPipeline, NfeConsultStatusPipeline, NfeCstatToProtocol, NfeDetXmlBuilder, type NfeRemoteClient, NfeRemoteTransmitter, type NfeTransmitter, type NfeTransmitterOptions, NfeVoidRangePipeline, NfeXmlBuilder, NfeXmlBuilderPipeline, type OptionalSharedImpostoBuilder, type PagBuilder, type PipelineAuthorizerResponse, type PisBuilder, type PisStBuilder, type ProcEventoNFe, type ProdBuilder, type RetAutorizacaoPayload, type RetAutorizacaoRequest, type RetAutorizacaoResponse, type RetCancNFe, type RetEvento, type RetEventoItem, type RetiradaBuilder, type Schema, type SynchronousAutorizacaoResponse, type TotalBuilder, type TotalBuilderAggregator, TpEmis, TpEvent, type TranspBuilder, type VerifiedAccessKey, type VoidRangePayload, schemas, type vItemBuilder };
|
|
5166
|
+
export { type AccessKey, AccessKeyBuilder, type AssembleDetXmlBuilder, type AssembleNfeBuilder, type AsynchronousAutorizacaoResponse, type AutXMLBuilder, type AutorizacaoPayload, type AutorizacaoRequest, type AutorizacaoResponse, type AvulsaBuilder, type Builder, type CanaBuilder, type CobrBuilder, type CofinsBuilder, type CofinsStBuilder, type CompraBuilder, type ConsultStatusPayload, type ConsultStatusRequest, type ConsultStatusResponse, type ConsultaCadastroPayload, type ConsultaCadastroRequest, type ConsultaCadastroResponse, type ConsultaProtocoloPayload, type ConsultaProtocoloRequest, type ConsultaProtocoloResponse, type ContingencyOptions, DanfceDefaultPdfDocument, DanfceReducedPdfDocument, DefaultDetBuilderAggregator, DefaultTotalBuilderAggregator, type DestBuilder, type DetBuilder, type DetBuilderAggregator, type DetEventoCancelamento, type DetGroupBuilder, type EmitBuilder, type EntregaBuilder, type EventoCancelamento, type EventoItem, type EventoItemAttributes, type EventoLotePayload, type EventoLoteResponse, type EventoPayload, type EventoRequest, type EventoResponse, type ExportaBuilder, type ICMS, type ICMS00, type ICMS10, type ICMS20, type ICMS30, type ICMS40, type ICMS51, type ICMS60, type ICMS70, type ICMS90, type ICMSPart, type ICMSSN, type ICMSSN101, type ICMSSN102, type ICMSSN201, type ICMSSN202, type ICMSSN500, type ICMSSN900, type ICMSST, type ICMSStandard, type IIBuilder, type INfeDetXmlBuilder, type INfeXmlBuilder, type IbscbsBuilder, type IcmsBuilder, type IcmsIpiBuilder, type IcmsOrIssQnBuilder, type IcmsufdestBuilder, type IdeBuilder, type ImpostoBuilder, type InfAdicBuilder, type InfEvento, type InfEventoAttributes, type InfIntermedBuilder, type InfInut, type InfInutAttributes, type InfNFeBuilder, type InfRespTecBuilder, type InfSolicNFFBuilder, type InutNFeAttributes, type InutilizacaoPayload, type InutilizacaoRequest, type InutilizacaoResponse, type IssIpiBuilder, type IssQnBuilder, type NFCe$1 as NFCe, NFCe as NFCeDto, type NFCeProc, type NFe$1 as NFe, type NFeAttributes, NFe as NFeDto, type NFeProc, type NFeProcAttributes, NfceAuthorizerPipeline, NfceCancelPipeline, NfceConsultProtocoloPipeline, NfceConsultStatusPipeline, NfceQrcode, type NfceQrcodeOptions, type NfceQrcodeOptions200, type NfceQrcodeOptions300, type NfceQrcodeOptionsBase, type NfceRemoteClient, NfceRemoteTransmitter, type NfceTransmitter, type NfceTransmitterOptions, NfceVoidRangePipeline, NfceXmlBuilder, NfceXmlBuilderPipeline, NfeAuthorizationResponsePipeline, type NfeAuthorizerPayload, NfeAuthorizerPipeline, NfeCancelPipeline, NfeConsultProtocoloPipeline, NfeConsultStatusPipeline, NfeCstatToProtocol, NfeDetXmlBuilder, type NfeRemoteClient, NfeRemoteTransmitter, type NfeTransmitter, type NfeTransmitterOptions, NfeVoidRangePipeline, NfeXmlBuilder, NfeXmlBuilderPipeline, type OptionalSharedImpostoBuilder, type PagBuilder, type PipelineAuthorizerResponse, type PisBuilder, type PisStBuilder, type ProcEventoNFe, type ProdBuilder, type RetAutorizacaoPayload, type RetAutorizacaoRequest, type RetAutorizacaoResponse, type RetCancNFe, type RetEvento, type RetEventoItem, type RetiradaBuilder, type Schema, type SynchronousAutorizacaoResponse, type TotalBuilder, type TotalBuilderAggregator, TpEmis, TpEvent, type TranspBuilder, type VerifiedAccessKey, type VoidRangePayload, schemas, type vItemBuilder };
|
package/dist/nfe/index.d.ts
CHANGED
|
@@ -1439,9 +1439,9 @@ interface EventoLoteResponse {
|
|
|
1439
1439
|
}
|
|
1440
1440
|
|
|
1441
1441
|
interface ConsultaProtocoloPayload {
|
|
1442
|
-
tpAmb
|
|
1443
|
-
xServ?: 'CONSULTAR';
|
|
1442
|
+
tpAmb: EnvironmentCode;
|
|
1444
1443
|
chNFe: string;
|
|
1444
|
+
xServ?: 'CONSULTAR';
|
|
1445
1445
|
}
|
|
1446
1446
|
interface ConsultaProtocoloRequest {
|
|
1447
1447
|
consSitNFe: ConsultaProtocoloPayload;
|
|
@@ -1763,19 +1763,19 @@ interface EmitBuilder<T extends object> {
|
|
|
1763
1763
|
emit(payload: Emit): AvulsaBuilder<T> & DestBuilder<T> & RetiradaBuilder<T> & EntregaBuilder<T> & AutXMLBuilder<T> & DetGroupBuilder<T>;
|
|
1764
1764
|
}
|
|
1765
1765
|
interface AvulsaBuilder<T extends object> {
|
|
1766
|
-
avulsa(payload
|
|
1766
|
+
avulsa(payload?: Avulsa): DestBuilder<T> & RetiradaBuilder<T> & EntregaBuilder<T> & AutXMLBuilder<T> & DetGroupBuilder<T>;
|
|
1767
1767
|
}
|
|
1768
1768
|
interface DestBuilder<T extends object> {
|
|
1769
|
-
dest(payload
|
|
1769
|
+
dest(payload?: Dest): RetiradaBuilder<T> & EntregaBuilder<T> & AutXMLBuilder<T> & DetGroupBuilder<T>;
|
|
1770
1770
|
}
|
|
1771
1771
|
interface RetiradaBuilder<T extends object> {
|
|
1772
|
-
retirada(payload
|
|
1772
|
+
retirada(payload?: Local): DestBuilder<T> & EntregaBuilder<T> & AutXMLBuilder<T> & DetGroupBuilder<T>;
|
|
1773
1773
|
}
|
|
1774
1774
|
interface EntregaBuilder<T extends object> {
|
|
1775
|
-
entrega(payload
|
|
1775
|
+
entrega(payload?: Local): DestBuilder<T> & AutXMLBuilder<T> & DetGroupBuilder<T>;
|
|
1776
1776
|
}
|
|
1777
1777
|
interface AutXMLBuilder<T extends object> {
|
|
1778
|
-
autXML(payload
|
|
1778
|
+
autXML(payload?: AutXML): AutXMLBuilder<T> & DetGroupBuilder<T>;
|
|
1779
1779
|
}
|
|
1780
1780
|
interface DetGroupBuilder<T extends object> {
|
|
1781
1781
|
det<D>(items: [D, ...D[]], build: (ctx: ProdBuilder, item: D) => AssembleDetXmlBuilder): TotalBuilder<T> & TranspBuilder<T>;
|
|
@@ -1788,31 +1788,31 @@ interface TranspBuilder<T extends object> {
|
|
|
1788
1788
|
transp(payload: Transp): CobrBuilder<T> & PagBuilder<T>;
|
|
1789
1789
|
}
|
|
1790
1790
|
interface CobrBuilder<T extends object> {
|
|
1791
|
-
cobr(payload
|
|
1791
|
+
cobr(payload?: Cobr): PagBuilder<T>;
|
|
1792
1792
|
}
|
|
1793
1793
|
interface PagBuilder<T extends object> {
|
|
1794
1794
|
pag(payload: Pag): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & CanaBuilder<T> & CompraBuilder<T> & ExportaBuilder<T> & InfRespTecBuilder<T> & InfIntermedBuilder<T>;
|
|
1795
1795
|
}
|
|
1796
1796
|
interface InfIntermedBuilder<T extends object> {
|
|
1797
|
-
infIntermed(payload
|
|
1797
|
+
infIntermed(payload?: InfIntermed): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & CanaBuilder<T> & CompraBuilder<T> & InfRespTecBuilder<T> & ExportaBuilder<T>;
|
|
1798
1798
|
}
|
|
1799
1799
|
interface InfAdicBuilder<T extends object> {
|
|
1800
|
-
infAdic(payload
|
|
1800
|
+
infAdic(payload?: InfAdic): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & InfRespTecBuilder<T> & CanaBuilder<T> & CompraBuilder<T> & ExportaBuilder<T>;
|
|
1801
1801
|
}
|
|
1802
1802
|
interface ExportaBuilder<T extends object> {
|
|
1803
|
-
exporta(payload
|
|
1803
|
+
exporta(payload?: Exporta): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & InfRespTecBuilder<T> & CanaBuilder<T> & CompraBuilder<T>;
|
|
1804
1804
|
}
|
|
1805
1805
|
interface CompraBuilder<T extends object> {
|
|
1806
|
-
compra(payload
|
|
1806
|
+
compra(payload?: Compra): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & InfRespTecBuilder<T> & CanaBuilder<T>;
|
|
1807
1807
|
}
|
|
1808
1808
|
interface CanaBuilder<T extends object> {
|
|
1809
|
-
cana(payload
|
|
1809
|
+
cana(payload?: Cana): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & InfRespTecBuilder<T>;
|
|
1810
1810
|
}
|
|
1811
1811
|
interface InfRespTecBuilder<T extends object> {
|
|
1812
|
-
infRespTec(payload
|
|
1812
|
+
infRespTec(payload?: InfRespTec): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T>;
|
|
1813
1813
|
}
|
|
1814
1814
|
interface InfSolicNFFBuilder<T extends object> {
|
|
1815
|
-
infSolicNFF(payload
|
|
1815
|
+
infSolicNFF(payload?: InfSolicNFF): AssembleNfeBuilder<T> & InfAdicBuilder<T> & AvulsaBuilder<T>;
|
|
1816
1816
|
}
|
|
1817
1817
|
interface AssembleNfeBuilder<T extends object> {
|
|
1818
1818
|
quiet(): AssembleNfeBuilder<T>;
|
|
@@ -3307,6 +3307,10 @@ declare class NfeConsultStatusPipeline extends TransmissionPipeline {
|
|
|
3307
3307
|
execute(payload: ConsultStatusPayload): Promise<Either<NFeTsError, ConsultStatusResponse>>;
|
|
3308
3308
|
}
|
|
3309
3309
|
|
|
3310
|
+
declare class NfeConsultProtocoloPipeline extends TransmissionPipeline {
|
|
3311
|
+
execute(payload: ConsultaProtocoloPayload): Promise<Either<NFeTsError, ConsultaProtocoloResponse>>;
|
|
3312
|
+
}
|
|
3313
|
+
|
|
3310
3314
|
declare class NfeAuthorizationResponsePipeline extends TransmissionPipeline {
|
|
3311
3315
|
execute(payload: RetAutorizacaoPayload & {
|
|
3312
3316
|
cUF: StateCode;
|
|
@@ -4857,6 +4861,11 @@ declare class NfceConsultStatusPipeline extends NfeConsultStatusPipeline {
|
|
|
4857
4861
|
protected readonly transmitter: NfceRemoteTransmitter;
|
|
4858
4862
|
}
|
|
4859
4863
|
|
|
4864
|
+
declare class NfceConsultProtocoloPipeline extends NfeConsultProtocoloPipeline {
|
|
4865
|
+
protected readonly qrCode: NfceQrcode;
|
|
4866
|
+
protected readonly transmitter: NfceRemoteTransmitter;
|
|
4867
|
+
}
|
|
4868
|
+
|
|
4860
4869
|
declare class NfeXmlBuilderPipeline<T extends object> extends Pipeline {
|
|
4861
4870
|
protected readonly certificate?: ReadCertificateRequest | undefined;
|
|
4862
4871
|
protected readonly schema: Schema;
|
|
@@ -4950,25 +4959,25 @@ declare class NfeXmlBuilder<T extends object = NFe$1> implements INfeXmlBuilder<
|
|
|
4950
4959
|
infNFe($: InfNFeAttributes): this;
|
|
4951
4960
|
ide(payload: Ide): this;
|
|
4952
4961
|
emit(payload: Emit): this;
|
|
4953
|
-
avulsa(payload
|
|
4954
|
-
dest(payload
|
|
4955
|
-
retirada(payload
|
|
4956
|
-
entrega(payload
|
|
4957
|
-
autXML(payload
|
|
4962
|
+
avulsa(payload?: Avulsa): this;
|
|
4963
|
+
dest(payload?: Dest): this;
|
|
4964
|
+
retirada(payload?: Local): this;
|
|
4965
|
+
entrega(payload?: Local): this;
|
|
4966
|
+
autXML(payload?: AutXML): this;
|
|
4958
4967
|
det<D>(items: [D, ...D[]], build: (ctx: ProdBuilder, item: D) => AssembleDetXmlBuilder): TotalBuilder<T> & TranspBuilder<T>;
|
|
4959
4968
|
total(payload: Total): this;
|
|
4960
4969
|
increment(callback: (context: DeepPartial<Total>, det: DeepPartial<Det[]>) => DeepPartial<Total>): this;
|
|
4961
4970
|
private buildTotalForPL_010;
|
|
4962
4971
|
transp(payload: Transp): this;
|
|
4963
|
-
cobr(payload
|
|
4972
|
+
cobr(payload?: Cobr): this;
|
|
4964
4973
|
pag(payload: Pag): this;
|
|
4965
|
-
infIntermed(payload
|
|
4966
|
-
infAdic(payload
|
|
4967
|
-
exporta(payload
|
|
4968
|
-
compra(payload
|
|
4969
|
-
cana(payload
|
|
4970
|
-
infRespTec(payload
|
|
4971
|
-
infSolicNFF(payload
|
|
4974
|
+
infIntermed(payload?: InfIntermed): this;
|
|
4975
|
+
infAdic(payload?: InfAdic): this;
|
|
4976
|
+
exporta(payload?: Exporta): this;
|
|
4977
|
+
compra(payload?: Compra): this;
|
|
4978
|
+
cana(payload?: Cana): this;
|
|
4979
|
+
infRespTec(payload?: InfRespTec): this;
|
|
4980
|
+
infSolicNFF(payload?: InfSolicNFF): this;
|
|
4972
4981
|
quiet(): this;
|
|
4973
4982
|
protected toObject(): Left<NFeTsError> | Right<T>;
|
|
4974
4983
|
assemble(): Promise<Left<NFeTsError> | Right<string>>;
|
|
@@ -5154,4 +5163,4 @@ declare class NFCe implements NFCe$1 {
|
|
|
5154
5163
|
Signature?: Signature;
|
|
5155
5164
|
}
|
|
5156
5165
|
|
|
5157
|
-
export { type AccessKey, AccessKeyBuilder, type AssembleDetXmlBuilder, type AssembleNfeBuilder, type AsynchronousAutorizacaoResponse, type AutXMLBuilder, type AutorizacaoPayload, type AutorizacaoRequest, type AutorizacaoResponse, type AvulsaBuilder, type Builder, type CanaBuilder, type CobrBuilder, type CofinsBuilder, type CofinsStBuilder, type CompraBuilder, type ConsultStatusPayload, type ConsultStatusRequest, type ConsultStatusResponse, type ConsultaCadastroPayload, type ConsultaCadastroRequest, type ConsultaCadastroResponse, type ConsultaProtocoloPayload, type ConsultaProtocoloRequest, type ConsultaProtocoloResponse, type ContingencyOptions, DanfceDefaultPdfDocument, DanfceReducedPdfDocument, DefaultDetBuilderAggregator, DefaultTotalBuilderAggregator, type DestBuilder, type DetBuilder, type DetBuilderAggregator, type DetEventoCancelamento, type DetGroupBuilder, type EmitBuilder, type EntregaBuilder, type EventoCancelamento, type EventoItem, type EventoItemAttributes, type EventoLotePayload, type EventoLoteResponse, type EventoPayload, type EventoRequest, type EventoResponse, type ExportaBuilder, type ICMS, type ICMS00, type ICMS10, type ICMS20, type ICMS30, type ICMS40, type ICMS51, type ICMS60, type ICMS70, type ICMS90, type ICMSPart, type ICMSSN, type ICMSSN101, type ICMSSN102, type ICMSSN201, type ICMSSN202, type ICMSSN500, type ICMSSN900, type ICMSST, type ICMSStandard, type IIBuilder, type INfeDetXmlBuilder, type INfeXmlBuilder, type IbscbsBuilder, type IcmsBuilder, type IcmsIpiBuilder, type IcmsOrIssQnBuilder, type IcmsufdestBuilder, type IdeBuilder, type ImpostoBuilder, type InfAdicBuilder, type InfEvento, type InfEventoAttributes, type InfIntermedBuilder, type InfInut, type InfInutAttributes, type InfNFeBuilder, type InfRespTecBuilder, type InfSolicNFFBuilder, type InutNFeAttributes, type InutilizacaoPayload, type InutilizacaoRequest, type InutilizacaoResponse, type IssIpiBuilder, type IssQnBuilder, type NFCe$1 as NFCe, NFCe as NFCeDto, type NFCeProc, type NFe$1 as NFe, type NFeAttributes, NFe as NFeDto, type NFeProc, type NFeProcAttributes, NfceAuthorizerPipeline, NfceCancelPipeline, NfceConsultStatusPipeline, NfceQrcode, type NfceQrcodeOptions, type NfceQrcodeOptions200, type NfceQrcodeOptions300, type NfceQrcodeOptionsBase, type NfceRemoteClient, NfceRemoteTransmitter, type NfceTransmitter, type NfceTransmitterOptions, NfceVoidRangePipeline, NfceXmlBuilder, NfceXmlBuilderPipeline, NfeAuthorizationResponsePipeline, type NfeAuthorizerPayload, NfeAuthorizerPipeline, NfeCancelPipeline, NfeConsultStatusPipeline, NfeCstatToProtocol, NfeDetXmlBuilder, type NfeRemoteClient, NfeRemoteTransmitter, type NfeTransmitter, type NfeTransmitterOptions, NfeVoidRangePipeline, NfeXmlBuilder, NfeXmlBuilderPipeline, type OptionalSharedImpostoBuilder, type PagBuilder, type PipelineAuthorizerResponse, type PisBuilder, type PisStBuilder, type ProcEventoNFe, type ProdBuilder, type RetAutorizacaoPayload, type RetAutorizacaoRequest, type RetAutorizacaoResponse, type RetCancNFe, type RetEvento, type RetEventoItem, type RetiradaBuilder, type Schema, type SynchronousAutorizacaoResponse, type TotalBuilder, type TotalBuilderAggregator, TpEmis, TpEvent, type TranspBuilder, type VerifiedAccessKey, type VoidRangePayload, schemas, type vItemBuilder };
|
|
5166
|
+
export { type AccessKey, AccessKeyBuilder, type AssembleDetXmlBuilder, type AssembleNfeBuilder, type AsynchronousAutorizacaoResponse, type AutXMLBuilder, type AutorizacaoPayload, type AutorizacaoRequest, type AutorizacaoResponse, type AvulsaBuilder, type Builder, type CanaBuilder, type CobrBuilder, type CofinsBuilder, type CofinsStBuilder, type CompraBuilder, type ConsultStatusPayload, type ConsultStatusRequest, type ConsultStatusResponse, type ConsultaCadastroPayload, type ConsultaCadastroRequest, type ConsultaCadastroResponse, type ConsultaProtocoloPayload, type ConsultaProtocoloRequest, type ConsultaProtocoloResponse, type ContingencyOptions, DanfceDefaultPdfDocument, DanfceReducedPdfDocument, DefaultDetBuilderAggregator, DefaultTotalBuilderAggregator, type DestBuilder, type DetBuilder, type DetBuilderAggregator, type DetEventoCancelamento, type DetGroupBuilder, type EmitBuilder, type EntregaBuilder, type EventoCancelamento, type EventoItem, type EventoItemAttributes, type EventoLotePayload, type EventoLoteResponse, type EventoPayload, type EventoRequest, type EventoResponse, type ExportaBuilder, type ICMS, type ICMS00, type ICMS10, type ICMS20, type ICMS30, type ICMS40, type ICMS51, type ICMS60, type ICMS70, type ICMS90, type ICMSPart, type ICMSSN, type ICMSSN101, type ICMSSN102, type ICMSSN201, type ICMSSN202, type ICMSSN500, type ICMSSN900, type ICMSST, type ICMSStandard, type IIBuilder, type INfeDetXmlBuilder, type INfeXmlBuilder, type IbscbsBuilder, type IcmsBuilder, type IcmsIpiBuilder, type IcmsOrIssQnBuilder, type IcmsufdestBuilder, type IdeBuilder, type ImpostoBuilder, type InfAdicBuilder, type InfEvento, type InfEventoAttributes, type InfIntermedBuilder, type InfInut, type InfInutAttributes, type InfNFeBuilder, type InfRespTecBuilder, type InfSolicNFFBuilder, type InutNFeAttributes, type InutilizacaoPayload, type InutilizacaoRequest, type InutilizacaoResponse, type IssIpiBuilder, type IssQnBuilder, type NFCe$1 as NFCe, NFCe as NFCeDto, type NFCeProc, type NFe$1 as NFe, type NFeAttributes, NFe as NFeDto, type NFeProc, type NFeProcAttributes, NfceAuthorizerPipeline, NfceCancelPipeline, NfceConsultProtocoloPipeline, NfceConsultStatusPipeline, NfceQrcode, type NfceQrcodeOptions, type NfceQrcodeOptions200, type NfceQrcodeOptions300, type NfceQrcodeOptionsBase, type NfceRemoteClient, NfceRemoteTransmitter, type NfceTransmitter, type NfceTransmitterOptions, NfceVoidRangePipeline, NfceXmlBuilder, NfceXmlBuilderPipeline, NfeAuthorizationResponsePipeline, type NfeAuthorizerPayload, NfeAuthorizerPipeline, NfeCancelPipeline, NfeConsultProtocoloPipeline, NfeConsultStatusPipeline, NfeCstatToProtocol, NfeDetXmlBuilder, type NfeRemoteClient, NfeRemoteTransmitter, type NfeTransmitter, type NfeTransmitterOptions, NfeVoidRangePipeline, NfeXmlBuilder, NfeXmlBuilderPipeline, type OptionalSharedImpostoBuilder, type PagBuilder, type PipelineAuthorizerResponse, type PisBuilder, type PisStBuilder, type ProcEventoNFe, type ProdBuilder, type RetAutorizacaoPayload, type RetAutorizacaoRequest, type RetAutorizacaoResponse, type RetCancNFe, type RetEvento, type RetEventoItem, type RetiradaBuilder, type Schema, type SynchronousAutorizacaoResponse, type TotalBuilder, type TotalBuilderAggregator, TpEmis, TpEvent, type TranspBuilder, type VerifiedAccessKey, type VoidRangePayload, schemas, type vItemBuilder };
|
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,B,C,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-6Q55WART.mjs";import"../chunk-IJON6HO5.mjs";import"../chunk-W6MRGYXP.mjs";export{d as AccessKeyBuilder,B as DanfceDefaultPdfDocument,C as DanfceReducedPdfDocument,e as DefaultDetBuilderAggregator,f as DefaultTotalBuilderAggregator,y as NFCeDto,u as NFeDto,q as NfceAuthorizerPipeline,p as NfceCancelPipeline,t as NfceConsultProtocoloPipeline,s as NfceConsultStatusPipeline,n as NfceQrcode,o as NfceRemoteTransmitter,r as NfceVoidRangePipeline,z as NfceXmlBuilder,A as NfceXmlBuilderPipeline,m as NfeAuthorizationResponsePipeline,i as NfeAuthorizerPipeline,h as NfeCancelPipeline,l as NfeConsultProtocoloPipeline,k as NfeConsultStatusPipeline,v as NfeDetXmlBuilder,g as NfeRemoteTransmitter,j as NfeVoidRangePipeline,w as NfeXmlBuilder,x as NfeXmlBuilderPipeline,a as TpEmis,b as TpEvent,c as schemas};
|