nfets 0.0.104 → 0.0.106

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.
@@ -914,7 +914,7 @@ interface ICMSTot {
914
914
  vNF: DecimalValue;
915
915
  vTotTrib?: DecimalValue;
916
916
  }
917
- interface ISSQNTot {
917
+ interface ISSQNtot {
918
918
  vServ?: DecimalValue;
919
919
  vBC?: DecimalValue;
920
920
  vISS?: DecimalValue;
@@ -939,7 +939,7 @@ interface RetTrib {
939
939
  }
940
940
  interface Total {
941
941
  ICMSTot: ICMSTot;
942
- ISSQNtot?: ISSQNTot;
942
+ ISSQNtot?: ISSQNtot;
943
943
  retTrib?: RetTrib;
944
944
  IBSCBSTot?: IBSCBSTot;
945
945
  vNFTot?: DecimalValue;
@@ -1793,6 +1793,8 @@ interface DetGroupBuilder<T extends object> {
1793
1793
  }
1794
1794
  interface TotalBuilder<T extends object> {
1795
1795
  total(payload: Total): TranspBuilder<T>;
1796
+ ISSQNtot(payload?: Partial<ISSQNtot>): TranspBuilder<T>;
1797
+ ICMSTot(payload?: Partial<ICMSTot>): TranspBuilder<T>;
1796
1798
  increment(callback: (context: DeepPartial<Total>, det: DeepPartial<Det[]>) => DeepPartial<Total>): TranspBuilder<T>;
1797
1799
  }
1798
1800
  interface TranspBuilder<T extends object> {
@@ -1827,6 +1829,7 @@ interface InfSolicNFFBuilder<T extends object> {
1827
1829
  }
1828
1830
  interface AssembleNfeBuilder<T extends object> {
1829
1831
  quiet(): AssembleNfeBuilder<T>;
1832
+ toObject(): Either<NFeTsError, T>;
1830
1833
  assemble(): Promise<Either<NFeTsError, string>>;
1831
1834
  }
1832
1835
  interface INfeXmlBuilder<T extends object> extends InfNFeBuilder<T>, IdeBuilder<T>, DetGroupBuilder<T>, DestBuilder<T>, RetiradaBuilder<T>, EntregaBuilder<T>, AutXMLBuilder<T>, TotalBuilder<T>, TranspBuilder<T>, PagBuilder<T>, InfIntermedBuilder<T>, ExportaBuilder<T>, CompraBuilder<T>, CanaBuilder<T>, InfRespTecBuilder<T>, InfSolicNFFBuilder<T>, InfAdicBuilder<T>, AvulsaBuilder<T>, AssembleNfeBuilder<T> {
@@ -4973,12 +4976,14 @@ declare class NfeXmlBuilder<T extends object = NFe$1> implements INfeXmlBuilder<
4973
4976
  entrega(payload?: Local): this;
4974
4977
  autXML(payload?: AutXML): this;
4975
4978
  det<D>(items: [D, ...D[]], build: (ctx: ProdBuilder, item: D) => AssembleDetXmlBuilder): TotalBuilder<T> & TranspBuilder<T>;
4976
- total(payload: Total): this;
4979
+ total(payload?: Total): this;
4980
+ ISSQNtot(payload?: Partial<ISSQNtot>): this;
4981
+ ICMSTot(payload?: Partial<ICMSTot>): this;
4977
4982
  increment(callback: (context: DeepPartial<Total>, det: DeepPartial<Det[]>) => DeepPartial<Total>): this;
4978
4983
  private buildTotalForPL_010;
4979
- transp(payload: Transp): this;
4984
+ transp(payload?: Transp): this;
4980
4985
  cobr(payload?: Cobr): this;
4981
- pag(payload: Pag): this;
4986
+ pag(payload?: Pag): this;
4982
4987
  infIntermed(payload?: InfIntermed): this;
4983
4988
  infAdic(payload?: InfAdic): this;
4984
4989
  exporta(payload?: Exporta): this;
@@ -4987,7 +4992,7 @@ declare class NfeXmlBuilder<T extends object = NFe$1> implements INfeXmlBuilder<
4987
4992
  infRespTec(payload?: InfRespTec): this;
4988
4993
  infSolicNFF(payload?: InfSolicNFF): this;
4989
4994
  quiet(): this;
4990
- protected toObject(): Left<NFeTsError> | Right<T>;
4995
+ toObject(): Left<NFeTsError> | Right<T>;
4991
4996
  assemble(): Promise<Left<NFeTsError> | Right<string>>;
4992
4997
  protected assertHomologValidations(): boolean;
4993
4998
  protected assertContingencyModes(): void;
@@ -914,7 +914,7 @@ interface ICMSTot {
914
914
  vNF: DecimalValue;
915
915
  vTotTrib?: DecimalValue;
916
916
  }
917
- interface ISSQNTot {
917
+ interface ISSQNtot {
918
918
  vServ?: DecimalValue;
919
919
  vBC?: DecimalValue;
920
920
  vISS?: DecimalValue;
@@ -939,7 +939,7 @@ interface RetTrib {
939
939
  }
940
940
  interface Total {
941
941
  ICMSTot: ICMSTot;
942
- ISSQNtot?: ISSQNTot;
942
+ ISSQNtot?: ISSQNtot;
943
943
  retTrib?: RetTrib;
944
944
  IBSCBSTot?: IBSCBSTot;
945
945
  vNFTot?: DecimalValue;
@@ -1793,6 +1793,8 @@ interface DetGroupBuilder<T extends object> {
1793
1793
  }
1794
1794
  interface TotalBuilder<T extends object> {
1795
1795
  total(payload: Total): TranspBuilder<T>;
1796
+ ISSQNtot(payload?: Partial<ISSQNtot>): TranspBuilder<T>;
1797
+ ICMSTot(payload?: Partial<ICMSTot>): TranspBuilder<T>;
1796
1798
  increment(callback: (context: DeepPartial<Total>, det: DeepPartial<Det[]>) => DeepPartial<Total>): TranspBuilder<T>;
1797
1799
  }
1798
1800
  interface TranspBuilder<T extends object> {
@@ -1827,6 +1829,7 @@ interface InfSolicNFFBuilder<T extends object> {
1827
1829
  }
1828
1830
  interface AssembleNfeBuilder<T extends object> {
1829
1831
  quiet(): AssembleNfeBuilder<T>;
1832
+ toObject(): Either<NFeTsError, T>;
1830
1833
  assemble(): Promise<Either<NFeTsError, string>>;
1831
1834
  }
1832
1835
  interface INfeXmlBuilder<T extends object> extends InfNFeBuilder<T>, IdeBuilder<T>, DetGroupBuilder<T>, DestBuilder<T>, RetiradaBuilder<T>, EntregaBuilder<T>, AutXMLBuilder<T>, TotalBuilder<T>, TranspBuilder<T>, PagBuilder<T>, InfIntermedBuilder<T>, ExportaBuilder<T>, CompraBuilder<T>, CanaBuilder<T>, InfRespTecBuilder<T>, InfSolicNFFBuilder<T>, InfAdicBuilder<T>, AvulsaBuilder<T>, AssembleNfeBuilder<T> {
@@ -4973,12 +4976,14 @@ declare class NfeXmlBuilder<T extends object = NFe$1> implements INfeXmlBuilder<
4973
4976
  entrega(payload?: Local): this;
4974
4977
  autXML(payload?: AutXML): this;
4975
4978
  det<D>(items: [D, ...D[]], build: (ctx: ProdBuilder, item: D) => AssembleDetXmlBuilder): TotalBuilder<T> & TranspBuilder<T>;
4976
- total(payload: Total): this;
4979
+ total(payload?: Total): this;
4980
+ ISSQNtot(payload?: Partial<ISSQNtot>): this;
4981
+ ICMSTot(payload?: Partial<ICMSTot>): this;
4977
4982
  increment(callback: (context: DeepPartial<Total>, det: DeepPartial<Det[]>) => DeepPartial<Total>): this;
4978
4983
  private buildTotalForPL_010;
4979
- transp(payload: Transp): this;
4984
+ transp(payload?: Transp): this;
4980
4985
  cobr(payload?: Cobr): this;
4981
- pag(payload: Pag): this;
4986
+ pag(payload?: Pag): this;
4982
4987
  infIntermed(payload?: InfIntermed): this;
4983
4988
  infAdic(payload?: InfAdic): this;
4984
4989
  exporta(payload?: Exporta): this;
@@ -4987,7 +4992,7 @@ declare class NfeXmlBuilder<T extends object = NFe$1> implements INfeXmlBuilder<
4987
4992
  infRespTec(payload?: InfRespTec): this;
4988
4993
  infSolicNFF(payload?: InfSolicNFF): this;
4989
4994
  quiet(): this;
4990
- protected toObject(): Left<NFeTsError> | Right<T>;
4995
+ toObject(): Left<NFeTsError> | Right<T>;
4991
4996
  assemble(): Promise<Left<NFeTsError> | Right<string>>;
4992
4997
  protected assertHomologValidations(): boolean;
4993
4998
  protected assertContingencyModes(): void;
@@ -1,2 +1,2 @@
1
1
  import { createRequire } from 'module'; const require = createRequire(import.meta.url);
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-SIBZWOIF.mjs";import"../chunk-GG3KUX2D.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};
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-23AMAWBW.mjs";import"../chunk-GG3KUX2D.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};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nfets",
3
- "version": "0.0.104",
3
+ "version": "0.0.106",
4
4
  "description": "typescript libraries for Brazilian's SEFAZ standards",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",