nfets 0.0.80 → 0.0.84
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-N4ST3ZYS.mjs +20 -0
- package/dist/index.cjs +70 -70
- 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 +70 -70
- package/dist/nfe/index.d.cts +53 -49
- package/dist/nfe/index.d.ts +53 -49
- package/dist/nfe/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-5IYZRPQC.mjs +0 -20
package/dist/nfe/index.d.cts
CHANGED
|
@@ -1855,12 +1855,6 @@ declare class DefaultTotalBuilderAggregator<T extends object> implements TotalBu
|
|
|
1855
1855
|
aggregate(): void;
|
|
1856
1856
|
}
|
|
1857
1857
|
|
|
1858
|
-
declare class NFe implements NFe$1 {
|
|
1859
|
-
$: NFeAttributes;
|
|
1860
|
-
infNFe: InfNFe;
|
|
1861
|
-
Signature?: Signature;
|
|
1862
|
-
}
|
|
1863
|
-
|
|
1864
1858
|
declare class CryptoSignerRepository implements SignerRepository {
|
|
1865
1859
|
sign(content: string, cert: ReadCertificateResponse, algorithm: SignatureAlgorithm): Promise<Left<NFeTsError> | Right<string>>;
|
|
1866
1860
|
}
|
|
@@ -3267,6 +3261,23 @@ declare abstract class TransmissionPipeline extends Pipeline {
|
|
|
3267
3261
|
constructor(certificate: ReadCertificateRequest);
|
|
3268
3262
|
}
|
|
3269
3263
|
|
|
3264
|
+
declare abstract class EventPipeline extends TransmissionPipeline {
|
|
3265
|
+
protected event<T>(tpEvento: TpEvent, payload: Pick<EventoItem<T>['infEvento'], 'nSeqEvento' | 'dhEvento' | 'chNFe' | 'detEvento'>, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<Either<NFeTsError, EventoItem<{
|
|
3266
|
+
descEvento: string;
|
|
3267
|
+
} & T>>>;
|
|
3268
|
+
private validated;
|
|
3269
|
+
}
|
|
3270
|
+
|
|
3271
|
+
declare class NfeCancelPipeline extends EventPipeline {
|
|
3272
|
+
execute(payload: EventoCancelamento, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<Either<NFeTsError, EventoResponse>>;
|
|
3273
|
+
}
|
|
3274
|
+
|
|
3275
|
+
declare class NFe implements NFe$1 {
|
|
3276
|
+
$: NFeAttributes;
|
|
3277
|
+
infNFe: InfNFe;
|
|
3278
|
+
Signature?: Signature;
|
|
3279
|
+
}
|
|
3280
|
+
|
|
3270
3281
|
declare class NfeAuthorizerPipeline extends TransmissionPipeline {
|
|
3271
3282
|
execute<E extends NFe, T extends E | E[]>(payload: AutorizacaoPayload<E, T>, options?: Pick<NfeTransmitterOptions, 'schema'>): Promise<Either<NFeTsError, PipelineAuthorizerResponse<E, T>>>;
|
|
3272
3283
|
protected protocol(NFe: NFe, protNFe: ProtNFe): Promise<string>;
|
|
@@ -3281,6 +3292,34 @@ declare class NfeAuthorizerPipeline extends TransmissionPipeline {
|
|
|
3281
3292
|
} | undefined;
|
|
3282
3293
|
}
|
|
3283
3294
|
|
|
3295
|
+
declare class NfeVoidRangePipeline extends TransmissionPipeline {
|
|
3296
|
+
execute(payload: VoidRangePayload, options: Pick<NfeTransmitterOptions, 'tpAmb' | 'cUF'>): Promise<Either<NFeTsError, InutilizacaoResponse>>;
|
|
3297
|
+
private validated;
|
|
3298
|
+
}
|
|
3299
|
+
|
|
3300
|
+
declare class NfeConsultStatusPipeline extends TransmissionPipeline {
|
|
3301
|
+
execute(payload: ConsultStatusPayload): Promise<Either<NFeTsError, ConsultStatusResponse>>;
|
|
3302
|
+
}
|
|
3303
|
+
|
|
3304
|
+
declare class NfeAuthorizationResponsePipeline extends TransmissionPipeline {
|
|
3305
|
+
execute(payload: RetAutorizacaoPayload & {
|
|
3306
|
+
cUF: StateCode;
|
|
3307
|
+
}): Promise<Either<NFeTsError, RetAutorizacaoResponse>>;
|
|
3308
|
+
}
|
|
3309
|
+
|
|
3310
|
+
declare class NfceQrcode {
|
|
3311
|
+
private readonly certificateRepository;
|
|
3312
|
+
constructor(certificateRepository: CertificateRepository);
|
|
3313
|
+
execute(entity: SignedEntity<NFCe$1>, options: NfceQrcodeOptions & NfceQrcodeOptionsBase): Promise<Left<NFeTsError> | Right<InfNFeSupl>>;
|
|
3314
|
+
private content;
|
|
3315
|
+
private isVersion200;
|
|
3316
|
+
private isVersion300;
|
|
3317
|
+
private assemble;
|
|
3318
|
+
private getSequence;
|
|
3319
|
+
private execute200;
|
|
3320
|
+
private execute300;
|
|
3321
|
+
}
|
|
3322
|
+
|
|
3284
3323
|
declare const _default: {
|
|
3285
3324
|
readonly AC: {
|
|
3286
3325
|
readonly "2": {
|
|
@@ -4507,19 +4546,6 @@ declare const webservices: {
|
|
|
4507
4546
|
readonly SVRS: "SVRS";
|
|
4508
4547
|
};
|
|
4509
4548
|
|
|
4510
|
-
declare class NfceQrcode {
|
|
4511
|
-
private readonly certificateRepository;
|
|
4512
|
-
constructor(certificateRepository: CertificateRepository);
|
|
4513
|
-
execute(entity: SignedEntity<NFCe$1>, options: NfceQrcodeOptions & NfceQrcodeOptionsBase): Promise<Left<NFeTsError> | Right<InfNFeSupl>>;
|
|
4514
|
-
private content;
|
|
4515
|
-
private isVersion200;
|
|
4516
|
-
private isVersion300;
|
|
4517
|
-
private assemble;
|
|
4518
|
-
private getSequence;
|
|
4519
|
-
private execute200;
|
|
4520
|
-
private execute300;
|
|
4521
|
-
}
|
|
4522
|
-
|
|
4523
4549
|
declare class NfceRemoteTransmitter extends NfeRemoteTransmitter implements NfceTransmitter {
|
|
4524
4550
|
protected readonly remoteTransmissionRepository: RemoteTransmissionRepository<NfceRemoteClient>;
|
|
4525
4551
|
protected readonly qrCode: NfceQrcode;
|
|
@@ -4801,6 +4827,11 @@ declare class NfceRemoteTransmitter extends NfeRemoteTransmitter implements Nfce
|
|
|
4801
4827
|
autorizacao<E extends NFCe$1, T extends SignedEntity<E> | SignedEntity<E>[]>(payload: AutorizacaoPayload<E, T>): Promise<Either<NFeTsError, AutorizacaoResponse>>;
|
|
4802
4828
|
}
|
|
4803
4829
|
|
|
4830
|
+
declare class NfceCancelPipeline extends NfeCancelPipeline {
|
|
4831
|
+
protected readonly qrCode: NfceQrcode;
|
|
4832
|
+
protected readonly transmitter: NfceRemoteTransmitter;
|
|
4833
|
+
}
|
|
4834
|
+
|
|
4804
4835
|
declare class NfceAuthorizerPipeline extends NfeAuthorizerPipeline {
|
|
4805
4836
|
protected readonly certificate: ReadCertificateRequest;
|
|
4806
4837
|
protected readonly qrCode: NfceQrcode;
|
|
@@ -4814,41 +4845,14 @@ declare class NfceAuthorizerPipeline extends NfeAuthorizerPipeline {
|
|
|
4814
4845
|
private generateQrCode;
|
|
4815
4846
|
}
|
|
4816
4847
|
|
|
4817
|
-
declare class
|
|
4818
|
-
execute(payload: ConsultStatusPayload): Promise<Either<NFeTsError, ConsultStatusResponse>>;
|
|
4819
|
-
}
|
|
4820
|
-
|
|
4821
|
-
declare class NfceConsultStatusPipeline extends NfeConsultStatusPipeline {
|
|
4848
|
+
declare class NfceVoidRangePipeline extends NfeVoidRangePipeline {
|
|
4822
4849
|
protected readonly qrCode: NfceQrcode;
|
|
4823
4850
|
protected readonly transmitter: NfceRemoteTransmitter;
|
|
4824
4851
|
}
|
|
4825
4852
|
|
|
4826
|
-
declare class
|
|
4827
|
-
execute(payload: RetAutorizacaoPayload & {
|
|
4828
|
-
cUF: StateCode;
|
|
4829
|
-
}): Promise<Either<NFeTsError, RetAutorizacaoResponse>>;
|
|
4830
|
-
}
|
|
4831
|
-
|
|
4832
|
-
declare abstract class EventPipeline extends TransmissionPipeline {
|
|
4833
|
-
protected event<T>(tpEvento: TpEvent, payload: Pick<EventoItem<T>['infEvento'], 'nSeqEvento' | 'dhEvento' | 'chNFe' | 'detEvento'>, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<Either<NFeTsError, EventoItem<{
|
|
4834
|
-
descEvento: string;
|
|
4835
|
-
} & T>>>;
|
|
4836
|
-
private validated;
|
|
4837
|
-
}
|
|
4838
|
-
|
|
4839
|
-
declare class NfeCancelPipeline extends EventPipeline {
|
|
4840
|
-
execute(payload: EventoCancelamento, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<Either<NFeTsError, EventoResponse>>;
|
|
4841
|
-
}
|
|
4842
|
-
|
|
4843
|
-
declare class NfceCancelPipeline extends NfeCancelPipeline {
|
|
4853
|
+
declare class NfceConsultStatusPipeline extends NfeConsultStatusPipeline {
|
|
4844
4854
|
protected readonly qrCode: NfceQrcode;
|
|
4845
4855
|
protected readonly transmitter: NfceRemoteTransmitter;
|
|
4846
|
-
execute(payload: EventoCancelamento, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<Either<NFeTsError, EventoResponse>>;
|
|
4847
|
-
}
|
|
4848
|
-
|
|
4849
|
-
declare class NfeNfceVoidRangePipeline extends TransmissionPipeline {
|
|
4850
|
-
execute(payload: VoidRangePayload, options: Pick<NfeTransmitterOptions, 'tpAmb' | 'cUF'>): Promise<Either<NFeTsError, InutilizacaoResponse>>;
|
|
4851
|
-
private validated;
|
|
4852
4856
|
}
|
|
4853
4857
|
|
|
4854
4858
|
declare class NfeXmlBuilderPipeline<T extends object> extends Pipeline {
|
|
@@ -5141,4 +5145,4 @@ declare class NFCe implements NFCe$1 {
|
|
|
5141
5145
|
Signature?: Signature;
|
|
5142
5146
|
}
|
|
5143
5147
|
|
|
5144
|
-
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, NfceXmlBuilder, NfceXmlBuilderPipeline, NfeAuthorizationResponsePipeline, NfeAuthorizerPipeline, NfeCancelPipeline, NfeConsultStatusPipeline, NfeCstatToProtocol, NfeDetXmlBuilder,
|
|
5148
|
+
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, 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 };
|
package/dist/nfe/index.d.ts
CHANGED
|
@@ -1855,12 +1855,6 @@ declare class DefaultTotalBuilderAggregator<T extends object> implements TotalBu
|
|
|
1855
1855
|
aggregate(): void;
|
|
1856
1856
|
}
|
|
1857
1857
|
|
|
1858
|
-
declare class NFe implements NFe$1 {
|
|
1859
|
-
$: NFeAttributes;
|
|
1860
|
-
infNFe: InfNFe;
|
|
1861
|
-
Signature?: Signature;
|
|
1862
|
-
}
|
|
1863
|
-
|
|
1864
1858
|
declare class CryptoSignerRepository implements SignerRepository {
|
|
1865
1859
|
sign(content: string, cert: ReadCertificateResponse, algorithm: SignatureAlgorithm): Promise<Left<NFeTsError> | Right<string>>;
|
|
1866
1860
|
}
|
|
@@ -3267,6 +3261,23 @@ declare abstract class TransmissionPipeline extends Pipeline {
|
|
|
3267
3261
|
constructor(certificate: ReadCertificateRequest);
|
|
3268
3262
|
}
|
|
3269
3263
|
|
|
3264
|
+
declare abstract class EventPipeline extends TransmissionPipeline {
|
|
3265
|
+
protected event<T>(tpEvento: TpEvent, payload: Pick<EventoItem<T>['infEvento'], 'nSeqEvento' | 'dhEvento' | 'chNFe' | 'detEvento'>, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<Either<NFeTsError, EventoItem<{
|
|
3266
|
+
descEvento: string;
|
|
3267
|
+
} & T>>>;
|
|
3268
|
+
private validated;
|
|
3269
|
+
}
|
|
3270
|
+
|
|
3271
|
+
declare class NfeCancelPipeline extends EventPipeline {
|
|
3272
|
+
execute(payload: EventoCancelamento, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<Either<NFeTsError, EventoResponse>>;
|
|
3273
|
+
}
|
|
3274
|
+
|
|
3275
|
+
declare class NFe implements NFe$1 {
|
|
3276
|
+
$: NFeAttributes;
|
|
3277
|
+
infNFe: InfNFe;
|
|
3278
|
+
Signature?: Signature;
|
|
3279
|
+
}
|
|
3280
|
+
|
|
3270
3281
|
declare class NfeAuthorizerPipeline extends TransmissionPipeline {
|
|
3271
3282
|
execute<E extends NFe, T extends E | E[]>(payload: AutorizacaoPayload<E, T>, options?: Pick<NfeTransmitterOptions, 'schema'>): Promise<Either<NFeTsError, PipelineAuthorizerResponse<E, T>>>;
|
|
3272
3283
|
protected protocol(NFe: NFe, protNFe: ProtNFe): Promise<string>;
|
|
@@ -3281,6 +3292,34 @@ declare class NfeAuthorizerPipeline extends TransmissionPipeline {
|
|
|
3281
3292
|
} | undefined;
|
|
3282
3293
|
}
|
|
3283
3294
|
|
|
3295
|
+
declare class NfeVoidRangePipeline extends TransmissionPipeline {
|
|
3296
|
+
execute(payload: VoidRangePayload, options: Pick<NfeTransmitterOptions, 'tpAmb' | 'cUF'>): Promise<Either<NFeTsError, InutilizacaoResponse>>;
|
|
3297
|
+
private validated;
|
|
3298
|
+
}
|
|
3299
|
+
|
|
3300
|
+
declare class NfeConsultStatusPipeline extends TransmissionPipeline {
|
|
3301
|
+
execute(payload: ConsultStatusPayload): Promise<Either<NFeTsError, ConsultStatusResponse>>;
|
|
3302
|
+
}
|
|
3303
|
+
|
|
3304
|
+
declare class NfeAuthorizationResponsePipeline extends TransmissionPipeline {
|
|
3305
|
+
execute(payload: RetAutorizacaoPayload & {
|
|
3306
|
+
cUF: StateCode;
|
|
3307
|
+
}): Promise<Either<NFeTsError, RetAutorizacaoResponse>>;
|
|
3308
|
+
}
|
|
3309
|
+
|
|
3310
|
+
declare class NfceQrcode {
|
|
3311
|
+
private readonly certificateRepository;
|
|
3312
|
+
constructor(certificateRepository: CertificateRepository);
|
|
3313
|
+
execute(entity: SignedEntity<NFCe$1>, options: NfceQrcodeOptions & NfceQrcodeOptionsBase): Promise<Left<NFeTsError> | Right<InfNFeSupl>>;
|
|
3314
|
+
private content;
|
|
3315
|
+
private isVersion200;
|
|
3316
|
+
private isVersion300;
|
|
3317
|
+
private assemble;
|
|
3318
|
+
private getSequence;
|
|
3319
|
+
private execute200;
|
|
3320
|
+
private execute300;
|
|
3321
|
+
}
|
|
3322
|
+
|
|
3284
3323
|
declare const _default: {
|
|
3285
3324
|
readonly AC: {
|
|
3286
3325
|
readonly "2": {
|
|
@@ -4507,19 +4546,6 @@ declare const webservices: {
|
|
|
4507
4546
|
readonly SVRS: "SVRS";
|
|
4508
4547
|
};
|
|
4509
4548
|
|
|
4510
|
-
declare class NfceQrcode {
|
|
4511
|
-
private readonly certificateRepository;
|
|
4512
|
-
constructor(certificateRepository: CertificateRepository);
|
|
4513
|
-
execute(entity: SignedEntity<NFCe$1>, options: NfceQrcodeOptions & NfceQrcodeOptionsBase): Promise<Left<NFeTsError> | Right<InfNFeSupl>>;
|
|
4514
|
-
private content;
|
|
4515
|
-
private isVersion200;
|
|
4516
|
-
private isVersion300;
|
|
4517
|
-
private assemble;
|
|
4518
|
-
private getSequence;
|
|
4519
|
-
private execute200;
|
|
4520
|
-
private execute300;
|
|
4521
|
-
}
|
|
4522
|
-
|
|
4523
4549
|
declare class NfceRemoteTransmitter extends NfeRemoteTransmitter implements NfceTransmitter {
|
|
4524
4550
|
protected readonly remoteTransmissionRepository: RemoteTransmissionRepository<NfceRemoteClient>;
|
|
4525
4551
|
protected readonly qrCode: NfceQrcode;
|
|
@@ -4801,6 +4827,11 @@ declare class NfceRemoteTransmitter extends NfeRemoteTransmitter implements Nfce
|
|
|
4801
4827
|
autorizacao<E extends NFCe$1, T extends SignedEntity<E> | SignedEntity<E>[]>(payload: AutorizacaoPayload<E, T>): Promise<Either<NFeTsError, AutorizacaoResponse>>;
|
|
4802
4828
|
}
|
|
4803
4829
|
|
|
4830
|
+
declare class NfceCancelPipeline extends NfeCancelPipeline {
|
|
4831
|
+
protected readonly qrCode: NfceQrcode;
|
|
4832
|
+
protected readonly transmitter: NfceRemoteTransmitter;
|
|
4833
|
+
}
|
|
4834
|
+
|
|
4804
4835
|
declare class NfceAuthorizerPipeline extends NfeAuthorizerPipeline {
|
|
4805
4836
|
protected readonly certificate: ReadCertificateRequest;
|
|
4806
4837
|
protected readonly qrCode: NfceQrcode;
|
|
@@ -4814,41 +4845,14 @@ declare class NfceAuthorizerPipeline extends NfeAuthorizerPipeline {
|
|
|
4814
4845
|
private generateQrCode;
|
|
4815
4846
|
}
|
|
4816
4847
|
|
|
4817
|
-
declare class
|
|
4818
|
-
execute(payload: ConsultStatusPayload): Promise<Either<NFeTsError, ConsultStatusResponse>>;
|
|
4819
|
-
}
|
|
4820
|
-
|
|
4821
|
-
declare class NfceConsultStatusPipeline extends NfeConsultStatusPipeline {
|
|
4848
|
+
declare class NfceVoidRangePipeline extends NfeVoidRangePipeline {
|
|
4822
4849
|
protected readonly qrCode: NfceQrcode;
|
|
4823
4850
|
protected readonly transmitter: NfceRemoteTransmitter;
|
|
4824
4851
|
}
|
|
4825
4852
|
|
|
4826
|
-
declare class
|
|
4827
|
-
execute(payload: RetAutorizacaoPayload & {
|
|
4828
|
-
cUF: StateCode;
|
|
4829
|
-
}): Promise<Either<NFeTsError, RetAutorizacaoResponse>>;
|
|
4830
|
-
}
|
|
4831
|
-
|
|
4832
|
-
declare abstract class EventPipeline extends TransmissionPipeline {
|
|
4833
|
-
protected event<T>(tpEvento: TpEvent, payload: Pick<EventoItem<T>['infEvento'], 'nSeqEvento' | 'dhEvento' | 'chNFe' | 'detEvento'>, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<Either<NFeTsError, EventoItem<{
|
|
4834
|
-
descEvento: string;
|
|
4835
|
-
} & T>>>;
|
|
4836
|
-
private validated;
|
|
4837
|
-
}
|
|
4838
|
-
|
|
4839
|
-
declare class NfeCancelPipeline extends EventPipeline {
|
|
4840
|
-
execute(payload: EventoCancelamento, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<Either<NFeTsError, EventoResponse>>;
|
|
4841
|
-
}
|
|
4842
|
-
|
|
4843
|
-
declare class NfceCancelPipeline extends NfeCancelPipeline {
|
|
4853
|
+
declare class NfceConsultStatusPipeline extends NfeConsultStatusPipeline {
|
|
4844
4854
|
protected readonly qrCode: NfceQrcode;
|
|
4845
4855
|
protected readonly transmitter: NfceRemoteTransmitter;
|
|
4846
|
-
execute(payload: EventoCancelamento, options: Pick<NfeTransmitterOptions, 'tpAmb'>): Promise<Either<NFeTsError, EventoResponse>>;
|
|
4847
|
-
}
|
|
4848
|
-
|
|
4849
|
-
declare class NfeNfceVoidRangePipeline extends TransmissionPipeline {
|
|
4850
|
-
execute(payload: VoidRangePayload, options: Pick<NfeTransmitterOptions, 'tpAmb' | 'cUF'>): Promise<Either<NFeTsError, InutilizacaoResponse>>;
|
|
4851
|
-
private validated;
|
|
4852
4856
|
}
|
|
4853
4857
|
|
|
4854
4858
|
declare class NfeXmlBuilderPipeline<T extends object> extends Pipeline {
|
|
@@ -5141,4 +5145,4 @@ declare class NFCe implements NFCe$1 {
|
|
|
5141
5145
|
Signature?: Signature;
|
|
5142
5146
|
}
|
|
5143
5147
|
|
|
5144
|
-
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, NfceXmlBuilder, NfceXmlBuilderPipeline, NfeAuthorizationResponsePipeline, NfeAuthorizerPipeline, NfeCancelPipeline, NfeConsultStatusPipeline, NfeCstatToProtocol, NfeDetXmlBuilder,
|
|
5148
|
+
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, 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 };
|
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,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-N4ST3ZYS.mjs";import"../chunk-4WBTBSE6.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};
|