nfets 0.0.103 → 0.0.104

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.
@@ -2,9 +2,9 @@ import { h as StateCode, j as EnvironmentCode, D as DecimalValue, l as Signature
2
2
  import { Writable } from 'node:stream';
3
3
  import 'node:crypto';
4
4
 
5
- type DeepPartial<T> = {
6
- [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
7
- };
5
+ type DeepPartial<T> = T extends object ? {
6
+ [P in keyof T]?: DeepPartial<NonNullable<T[P]>>;
7
+ } : T;
8
8
 
9
9
  interface AccessKey {
10
10
  cUF: string | number;
@@ -597,11 +597,22 @@ interface II {
597
597
  }
598
598
 
599
599
  interface ISSQN {
600
- vBC?: string;
601
- vAliq?: string;
602
- vISSQN?: string;
603
- cMunFG?: string;
604
- cListServ?: string;
600
+ vBC: DecimalValue;
601
+ vAliq: DecimalValue;
602
+ vISSQN: DecimalValue;
603
+ cMunFG: string;
604
+ cListServ: string;
605
+ vDeducao?: DecimalValue;
606
+ vOutro?: DecimalValue;
607
+ vDescIncond?: DecimalValue;
608
+ vDescCond?: DecimalValue;
609
+ vISSRet?: DecimalValue;
610
+ indISS: string;
611
+ cServico?: string;
612
+ cMun?: string;
613
+ cPais?: string;
614
+ nProcesso?: string;
615
+ indIncentivo: string;
605
616
  }
606
617
 
607
618
  interface PIS {
@@ -1832,6 +1843,7 @@ declare class AccessKeyBuilder {
1832
1843
 
1833
1844
  interface DetBuilderAggregator {
1834
1845
  prod(payload: Prod): void;
1846
+ issqn(payload: ISSQN): void;
1835
1847
  icms(payload: ICMS): void;
1836
1848
  pis(payload: PIS): void;
1837
1849
  cofins(payload: COFINS): void;
@@ -1840,6 +1852,7 @@ declare class DefaultDetBuilderAggregator<T extends object> implements DetBuilde
1840
1852
  private readonly builder;
1841
1853
  constructor(builder: INfeXmlBuilder<T>);
1842
1854
  prod(payload: Prod): void;
1855
+ issqn(payload: ISSQN): void;
1843
1856
  cofins(payload: COFINS): void;
1844
1857
  pis(payload: PIS): void;
1845
1858
  icms(payload: ICMS): void;
@@ -2,9 +2,9 @@ import { h as StateCode, j as EnvironmentCode, D as DecimalValue, l as Signature
2
2
  import { Writable } from 'node:stream';
3
3
  import 'node:crypto';
4
4
 
5
- type DeepPartial<T> = {
6
- [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
7
- };
5
+ type DeepPartial<T> = T extends object ? {
6
+ [P in keyof T]?: DeepPartial<NonNullable<T[P]>>;
7
+ } : T;
8
8
 
9
9
  interface AccessKey {
10
10
  cUF: string | number;
@@ -597,11 +597,22 @@ interface II {
597
597
  }
598
598
 
599
599
  interface ISSQN {
600
- vBC?: string;
601
- vAliq?: string;
602
- vISSQN?: string;
603
- cMunFG?: string;
604
- cListServ?: string;
600
+ vBC: DecimalValue;
601
+ vAliq: DecimalValue;
602
+ vISSQN: DecimalValue;
603
+ cMunFG: string;
604
+ cListServ: string;
605
+ vDeducao?: DecimalValue;
606
+ vOutro?: DecimalValue;
607
+ vDescIncond?: DecimalValue;
608
+ vDescCond?: DecimalValue;
609
+ vISSRet?: DecimalValue;
610
+ indISS: string;
611
+ cServico?: string;
612
+ cMun?: string;
613
+ cPais?: string;
614
+ nProcesso?: string;
615
+ indIncentivo: string;
605
616
  }
606
617
 
607
618
  interface PIS {
@@ -1832,6 +1843,7 @@ declare class AccessKeyBuilder {
1832
1843
 
1833
1844
  interface DetBuilderAggregator {
1834
1845
  prod(payload: Prod): void;
1846
+ issqn(payload: ISSQN): void;
1835
1847
  icms(payload: ICMS): void;
1836
1848
  pis(payload: PIS): void;
1837
1849
  cofins(payload: COFINS): void;
@@ -1840,6 +1852,7 @@ declare class DefaultDetBuilderAggregator<T extends object> implements DetBuilde
1840
1852
  private readonly builder;
1841
1853
  constructor(builder: INfeXmlBuilder<T>);
1842
1854
  prod(payload: Prod): void;
1855
+ issqn(payload: ISSQN): void;
1843
1856
  cofins(payload: COFINS): void;
1844
1857
  pis(payload: PIS): void;
1845
1858
  icms(payload: ICMS): 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-Q625746I.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-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};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nfets",
3
- "version": "0.0.103",
3
+ "version": "0.0.104",
4
4
  "description": "typescript libraries for Brazilian's SEFAZ standards",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",