nfets 0.0.119 → 0.0.121
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/core/index.cjs +1 -1
- package/dist/core/index.d.cts +4 -2
- package/dist/core/index.d.ts +4 -2
- package/dist/core/index.mjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/nfe/index.cjs +24 -24
- package/dist/nfe/index.d.cts +36 -7
- package/dist/nfe/index.d.ts +36 -7
- package/dist/nfe/index.mjs +16 -16
- package/dist/{types-BvZKQyK3.d.cts → types-BlTnVW8U.d.cts} +2 -0
- package/dist/{types-BvZKQyK3.d.ts → types-BlTnVW8U.d.ts} +2 -0
- package/package.json +1 -1
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, x as NFeTsError, f as StateCodes, p as TransmitterOptions, q as Transmitter, m as Client, a1 as RequestConfig, a6 as SignedEntity, ab as Either, a as ReadCertificateResponse, O as RowBuilderOptions, V as PdfBuilder, ag as DeepPartial,
|
|
1
|
+
import { h as StateCode, j as EnvironmentCode, D as DecimalValue, l as Signature, i as StateAcronym, x as NFeTsError, f as StateCodes, p as TransmitterOptions, q as Transmitter, m as Client, a1 as RequestConfig, a6 as SignedEntity, ab as Either, a as ReadCertificateResponse, O as RowBuilderOptions, V as PdfBuilder, ag as DeepPartial, w as XmlToolkit, R as ReadCertificateRequest, a3 as HttpClient, W as CacheAdapter, Y as CertificateRepository, a4 as RemoteTransmissionRepository, a9 as EntitySigner, aa as XmlSigner, ac as Left, ad as Right, N as Namespaced, d as SignatureAlgorithm } from '../types-BlTnVW8U.cjs';
|
|
2
2
|
import { Writable } from 'node:stream';
|
|
3
3
|
import 'node:crypto';
|
|
4
4
|
|
|
@@ -940,7 +940,7 @@ interface IS {
|
|
|
940
940
|
}
|
|
941
941
|
|
|
942
942
|
interface Imposto {
|
|
943
|
-
vTotTrib?:
|
|
943
|
+
vTotTrib?: DecimalValue;
|
|
944
944
|
ICMS?: ICMS;
|
|
945
945
|
IPI?: IPI;
|
|
946
946
|
II?: II;
|
|
@@ -1448,7 +1448,8 @@ interface ConsultaCadastroResponse {
|
|
|
1448
1448
|
}
|
|
1449
1449
|
|
|
1450
1450
|
declare enum TpEvent {
|
|
1451
|
-
Cancelamento = "110111"
|
|
1451
|
+
Cancelamento = "110111",
|
|
1452
|
+
CancelamentoSubstituicao = "110112"
|
|
1452
1453
|
}
|
|
1453
1454
|
|
|
1454
1455
|
interface EventoPayload<T> {
|
|
@@ -1477,6 +1478,7 @@ interface InfEvento<T> {
|
|
|
1477
1478
|
}
|
|
1478
1479
|
interface EventoItemAttributes {
|
|
1479
1480
|
xmlns: string;
|
|
1481
|
+
versao?: string;
|
|
1480
1482
|
}
|
|
1481
1483
|
interface EventoItem<T> {
|
|
1482
1484
|
$: EventoItemAttributes;
|
|
@@ -1541,6 +1543,10 @@ interface EventoLoteResponse {
|
|
|
1541
1543
|
retEvento?: RetEvento[];
|
|
1542
1544
|
};
|
|
1543
1545
|
}
|
|
1546
|
+
interface PipelineEventResponse {
|
|
1547
|
+
xml: string;
|
|
1548
|
+
response: EventoResponse;
|
|
1549
|
+
}
|
|
1544
1550
|
|
|
1545
1551
|
interface ConsultaProtocoloPayload {
|
|
1546
1552
|
tpAmb: EnvironmentCode;
|
|
@@ -1595,6 +1601,7 @@ interface RetEventoItem {
|
|
|
1595
1601
|
interface ProcEventoNFe {
|
|
1596
1602
|
$: {
|
|
1597
1603
|
versao: string;
|
|
1604
|
+
xmlns?: string;
|
|
1598
1605
|
};
|
|
1599
1606
|
evento: EventoItem<unknown>;
|
|
1600
1607
|
retEvento: RetEventoItem;
|
|
@@ -1710,6 +1717,15 @@ declare class XmlValidationError extends NFeTsError {
|
|
|
1710
1717
|
constructor(message: string, xml: string, options?: ErrorOptions);
|
|
1711
1718
|
}
|
|
1712
1719
|
|
|
1720
|
+
declare enum EventoCstatToProtocol {
|
|
1721
|
+
RegistradoEVinculado = "135"
|
|
1722
|
+
}
|
|
1723
|
+
declare enum EventoCstatToCancelRegister {
|
|
1724
|
+
RegistradoEVinculado = "135",
|
|
1725
|
+
RegistradoNaoVinculado = "136",
|
|
1726
|
+
CancelamentoHomologadoForaPrazo = "155"
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1713
1729
|
type NFCe$1 = NFe$1;
|
|
1714
1730
|
interface NFCeProc {
|
|
1715
1731
|
NFe: NFCe$1;
|
|
@@ -1955,6 +1971,13 @@ declare class AccessKeyBuilder {
|
|
|
1955
1971
|
private verifyingDigit;
|
|
1956
1972
|
}
|
|
1957
1973
|
|
|
1974
|
+
declare class NfeComplements {
|
|
1975
|
+
private readonly toolkit;
|
|
1976
|
+
constructor(toolkit?: XmlToolkit);
|
|
1977
|
+
cancelRegister(nfe: string, cancellation: string): Either<NFeTsError, string>;
|
|
1978
|
+
private findMatchingRetEvento;
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1958
1981
|
interface DetBuilderAggregator {
|
|
1959
1982
|
prod(payload: Prod): void;
|
|
1960
1983
|
issqn(payload: ISSQN): void;
|
|
@@ -3394,14 +3417,19 @@ declare abstract class TransmissionPipeline extends Pipeline {
|
|
|
3394
3417
|
}
|
|
3395
3418
|
|
|
3396
3419
|
declare abstract class EventPipeline extends TransmissionPipeline {
|
|
3397
|
-
protected event<T>(tpEvento: TpEvent, payload: Pick<EventoItem<T>['infEvento'], 'nSeqEvento' | 'dhEvento' | 'chNFe' | 'detEvento'>, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<Either<NFeTsError, EventoItem<{
|
|
3420
|
+
protected event<T>(tpEvento: TpEvent, payload: Pick<EventoItem<T>['infEvento'], 'nSeqEvento' | 'dhEvento' | 'chNFe' | 'detEvento'>, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<Either<NFeTsError, SignedEntity<EventoItem<{
|
|
3398
3421
|
descEvento: string;
|
|
3399
|
-
} & T
|
|
3422
|
+
} & T>>>>;
|
|
3423
|
+
protected versionedEvent<T>(evento: SignedEntity<EventoItem<T>>, version: string): SignedEntity<EventoItem<T>>;
|
|
3424
|
+
protected protocol<T>(evento: SignedEntity<EventoItem<T>>, retEvento: RetEvento, version: string): Promise<string>;
|
|
3400
3425
|
private validated;
|
|
3401
3426
|
}
|
|
3402
3427
|
|
|
3403
3428
|
declare class NfeCancelPipeline extends EventPipeline {
|
|
3404
|
-
execute(payload: EventoCancelamento, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<
|
|
3429
|
+
execute(payload: EventoCancelamento, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<Left<NFeTsError> | Right<{
|
|
3430
|
+
xml: string;
|
|
3431
|
+
response: EventoResponse;
|
|
3432
|
+
}>>;
|
|
3405
3433
|
}
|
|
3406
3434
|
|
|
3407
3435
|
declare class NFe implements NFe$1 {
|
|
@@ -5032,6 +5060,7 @@ declare class NfeDetXmlBuilder implements INfeDetXmlBuilder {
|
|
|
5032
5060
|
protected constructor(listener?: DetBuilderAggregator | undefined, schema?: Schema);
|
|
5033
5061
|
det(payload: DetAttributes): this;
|
|
5034
5062
|
prod(payload: Prod): this;
|
|
5063
|
+
private setImposto;
|
|
5035
5064
|
imposto(payload: Imposto): this;
|
|
5036
5065
|
icms(payload?: ICMS): this;
|
|
5037
5066
|
issqn(payload?: ISSQN): this;
|
|
@@ -5056,4 +5085,4 @@ declare class NFCe implements NFCe$1 {
|
|
|
5056
5085
|
Signature?: Signature;
|
|
5057
5086
|
}
|
|
5058
5087
|
|
|
5059
|
-
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 ICMS02, type ICMS10, type ICMS15, type ICMS20, type ICMS30, type ICMS40, type ICMS51, type ICMS53, type ICMS60, type ICMS61, 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, NfceContingencyXmlAuthorizerPipeline, 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, XmlValidationError, schemas, type vItemBuilder };
|
|
5088
|
+
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, EventoCstatToCancelRegister, EventoCstatToProtocol, type EventoItem, type EventoItemAttributes, type EventoLotePayload, type EventoLoteResponse, type EventoPayload, type EventoRequest, type EventoResponse, type ExportaBuilder, type ICMS, type ICMS00, type ICMS02, type ICMS10, type ICMS15, type ICMS20, type ICMS30, type ICMS40, type ICMS51, type ICMS53, type ICMS60, type ICMS61, 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, NfceContingencyXmlAuthorizerPipeline, NfceQrcode, type NfceQrcodeOptions, type NfceQrcodeOptions200, type NfceQrcodeOptions300, type NfceQrcodeOptionsBase, type NfceRemoteClient, NfceRemoteTransmitter, type NfceTransmitter, type NfceTransmitterOptions, NfceVoidRangePipeline, NfceXmlBuilder, NfceXmlBuilderPipeline, NfeAuthorizationResponsePipeline, type NfeAuthorizerPayload, NfeAuthorizerPipeline, NfeCancelPipeline, NfeComplements, NfeConsultProtocoloPipeline, NfeConsultStatusPipeline, NfeCstatToProtocol, NfeDetXmlBuilder, type NfeRemoteClient, NfeRemoteTransmitter, type NfeTransmitter, type NfeTransmitterOptions, NfeVoidRangePipeline, NfeXmlBuilder, NfeXmlBuilderPipeline, type OptionalSharedImpostoBuilder, type PagBuilder, type PipelineAuthorizerResponse, type PipelineEventResponse, 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, XmlValidationError, schemas, type vItemBuilder };
|
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, x as NFeTsError, f as StateCodes, p as TransmitterOptions, q as Transmitter, m as Client, a1 as RequestConfig, a6 as SignedEntity, ab as Either, a as ReadCertificateResponse, O as RowBuilderOptions, V as PdfBuilder, ag as DeepPartial,
|
|
1
|
+
import { h as StateCode, j as EnvironmentCode, D as DecimalValue, l as Signature, i as StateAcronym, x as NFeTsError, f as StateCodes, p as TransmitterOptions, q as Transmitter, m as Client, a1 as RequestConfig, a6 as SignedEntity, ab as Either, a as ReadCertificateResponse, O as RowBuilderOptions, V as PdfBuilder, ag as DeepPartial, w as XmlToolkit, R as ReadCertificateRequest, a3 as HttpClient, W as CacheAdapter, Y as CertificateRepository, a4 as RemoteTransmissionRepository, a9 as EntitySigner, aa as XmlSigner, ac as Left, ad as Right, N as Namespaced, d as SignatureAlgorithm } from '../types-BlTnVW8U.js';
|
|
2
2
|
import { Writable } from 'node:stream';
|
|
3
3
|
import 'node:crypto';
|
|
4
4
|
|
|
@@ -940,7 +940,7 @@ interface IS {
|
|
|
940
940
|
}
|
|
941
941
|
|
|
942
942
|
interface Imposto {
|
|
943
|
-
vTotTrib?:
|
|
943
|
+
vTotTrib?: DecimalValue;
|
|
944
944
|
ICMS?: ICMS;
|
|
945
945
|
IPI?: IPI;
|
|
946
946
|
II?: II;
|
|
@@ -1448,7 +1448,8 @@ interface ConsultaCadastroResponse {
|
|
|
1448
1448
|
}
|
|
1449
1449
|
|
|
1450
1450
|
declare enum TpEvent {
|
|
1451
|
-
Cancelamento = "110111"
|
|
1451
|
+
Cancelamento = "110111",
|
|
1452
|
+
CancelamentoSubstituicao = "110112"
|
|
1452
1453
|
}
|
|
1453
1454
|
|
|
1454
1455
|
interface EventoPayload<T> {
|
|
@@ -1477,6 +1478,7 @@ interface InfEvento<T> {
|
|
|
1477
1478
|
}
|
|
1478
1479
|
interface EventoItemAttributes {
|
|
1479
1480
|
xmlns: string;
|
|
1481
|
+
versao?: string;
|
|
1480
1482
|
}
|
|
1481
1483
|
interface EventoItem<T> {
|
|
1482
1484
|
$: EventoItemAttributes;
|
|
@@ -1541,6 +1543,10 @@ interface EventoLoteResponse {
|
|
|
1541
1543
|
retEvento?: RetEvento[];
|
|
1542
1544
|
};
|
|
1543
1545
|
}
|
|
1546
|
+
interface PipelineEventResponse {
|
|
1547
|
+
xml: string;
|
|
1548
|
+
response: EventoResponse;
|
|
1549
|
+
}
|
|
1544
1550
|
|
|
1545
1551
|
interface ConsultaProtocoloPayload {
|
|
1546
1552
|
tpAmb: EnvironmentCode;
|
|
@@ -1595,6 +1601,7 @@ interface RetEventoItem {
|
|
|
1595
1601
|
interface ProcEventoNFe {
|
|
1596
1602
|
$: {
|
|
1597
1603
|
versao: string;
|
|
1604
|
+
xmlns?: string;
|
|
1598
1605
|
};
|
|
1599
1606
|
evento: EventoItem<unknown>;
|
|
1600
1607
|
retEvento: RetEventoItem;
|
|
@@ -1710,6 +1717,15 @@ declare class XmlValidationError extends NFeTsError {
|
|
|
1710
1717
|
constructor(message: string, xml: string, options?: ErrorOptions);
|
|
1711
1718
|
}
|
|
1712
1719
|
|
|
1720
|
+
declare enum EventoCstatToProtocol {
|
|
1721
|
+
RegistradoEVinculado = "135"
|
|
1722
|
+
}
|
|
1723
|
+
declare enum EventoCstatToCancelRegister {
|
|
1724
|
+
RegistradoEVinculado = "135",
|
|
1725
|
+
RegistradoNaoVinculado = "136",
|
|
1726
|
+
CancelamentoHomologadoForaPrazo = "155"
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1713
1729
|
type NFCe$1 = NFe$1;
|
|
1714
1730
|
interface NFCeProc {
|
|
1715
1731
|
NFe: NFCe$1;
|
|
@@ -1955,6 +1971,13 @@ declare class AccessKeyBuilder {
|
|
|
1955
1971
|
private verifyingDigit;
|
|
1956
1972
|
}
|
|
1957
1973
|
|
|
1974
|
+
declare class NfeComplements {
|
|
1975
|
+
private readonly toolkit;
|
|
1976
|
+
constructor(toolkit?: XmlToolkit);
|
|
1977
|
+
cancelRegister(nfe: string, cancellation: string): Either<NFeTsError, string>;
|
|
1978
|
+
private findMatchingRetEvento;
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1958
1981
|
interface DetBuilderAggregator {
|
|
1959
1982
|
prod(payload: Prod): void;
|
|
1960
1983
|
issqn(payload: ISSQN): void;
|
|
@@ -3394,14 +3417,19 @@ declare abstract class TransmissionPipeline extends Pipeline {
|
|
|
3394
3417
|
}
|
|
3395
3418
|
|
|
3396
3419
|
declare abstract class EventPipeline extends TransmissionPipeline {
|
|
3397
|
-
protected event<T>(tpEvento: TpEvent, payload: Pick<EventoItem<T>['infEvento'], 'nSeqEvento' | 'dhEvento' | 'chNFe' | 'detEvento'>, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<Either<NFeTsError, EventoItem<{
|
|
3420
|
+
protected event<T>(tpEvento: TpEvent, payload: Pick<EventoItem<T>['infEvento'], 'nSeqEvento' | 'dhEvento' | 'chNFe' | 'detEvento'>, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<Either<NFeTsError, SignedEntity<EventoItem<{
|
|
3398
3421
|
descEvento: string;
|
|
3399
|
-
} & T
|
|
3422
|
+
} & T>>>>;
|
|
3423
|
+
protected versionedEvent<T>(evento: SignedEntity<EventoItem<T>>, version: string): SignedEntity<EventoItem<T>>;
|
|
3424
|
+
protected protocol<T>(evento: SignedEntity<EventoItem<T>>, retEvento: RetEvento, version: string): Promise<string>;
|
|
3400
3425
|
private validated;
|
|
3401
3426
|
}
|
|
3402
3427
|
|
|
3403
3428
|
declare class NfeCancelPipeline extends EventPipeline {
|
|
3404
|
-
execute(payload: EventoCancelamento, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<
|
|
3429
|
+
execute(payload: EventoCancelamento, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<Left<NFeTsError> | Right<{
|
|
3430
|
+
xml: string;
|
|
3431
|
+
response: EventoResponse;
|
|
3432
|
+
}>>;
|
|
3405
3433
|
}
|
|
3406
3434
|
|
|
3407
3435
|
declare class NFe implements NFe$1 {
|
|
@@ -5032,6 +5060,7 @@ declare class NfeDetXmlBuilder implements INfeDetXmlBuilder {
|
|
|
5032
5060
|
protected constructor(listener?: DetBuilderAggregator | undefined, schema?: Schema);
|
|
5033
5061
|
det(payload: DetAttributes): this;
|
|
5034
5062
|
prod(payload: Prod): this;
|
|
5063
|
+
private setImposto;
|
|
5035
5064
|
imposto(payload: Imposto): this;
|
|
5036
5065
|
icms(payload?: ICMS): this;
|
|
5037
5066
|
issqn(payload?: ISSQN): this;
|
|
@@ -5056,4 +5085,4 @@ declare class NFCe implements NFCe$1 {
|
|
|
5056
5085
|
Signature?: Signature;
|
|
5057
5086
|
}
|
|
5058
5087
|
|
|
5059
|
-
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 ICMS02, type ICMS10, type ICMS15, type ICMS20, type ICMS30, type ICMS40, type ICMS51, type ICMS53, type ICMS60, type ICMS61, 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, NfceContingencyXmlAuthorizerPipeline, 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, XmlValidationError, schemas, type vItemBuilder };
|
|
5088
|
+
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, EventoCstatToCancelRegister, EventoCstatToProtocol, type EventoItem, type EventoItemAttributes, type EventoLotePayload, type EventoLoteResponse, type EventoPayload, type EventoRequest, type EventoResponse, type ExportaBuilder, type ICMS, type ICMS00, type ICMS02, type ICMS10, type ICMS15, type ICMS20, type ICMS30, type ICMS40, type ICMS51, type ICMS53, type ICMS60, type ICMS61, 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, NfceContingencyXmlAuthorizerPipeline, NfceQrcode, type NfceQrcodeOptions, type NfceQrcodeOptions200, type NfceQrcodeOptions300, type NfceQrcodeOptionsBase, type NfceRemoteClient, NfceRemoteTransmitter, type NfceTransmitter, type NfceTransmitterOptions, NfceVoidRangePipeline, NfceXmlBuilder, NfceXmlBuilderPipeline, NfeAuthorizationResponsePipeline, type NfeAuthorizerPayload, NfeAuthorizerPipeline, NfeCancelPipeline, NfeComplements, NfeConsultProtocoloPipeline, NfeConsultStatusPipeline, NfeCstatToProtocol, NfeDetXmlBuilder, type NfeRemoteClient, NfeRemoteTransmitter, type NfeTransmitter, type NfeTransmitterOptions, NfeVoidRangePipeline, NfeXmlBuilder, NfeXmlBuilderPipeline, type OptionalSharedImpostoBuilder, type PagBuilder, type PipelineAuthorizerResponse, type PipelineEventResponse, 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, XmlValidationError, schemas, type vItemBuilder };
|