@nfets/client 0.0.130 → 0.0.132
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/index.cjs +1 -0
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -22,6 +22,7 @@ var AccessKeyBuilder = class {
|
|
|
22
22
|
return `${accessKey}${this.verifyingDigit(accessKey)}`;
|
|
23
23
|
}
|
|
24
24
|
decompile(accessKey) {
|
|
25
|
+
accessKey = accessKey.trim().replace(/^NFe/, "");
|
|
25
26
|
if (accessKey.length !== 44) return;
|
|
26
27
|
const regex = /^([0-9]{2})([0-9]{2})([0-9]{2})([A-Z0-9]{14})([0-9]{2})([0-9]{3})([0-9]{9})([0-9]{1})([0-9]{8})([0-9]{1})$/;
|
|
27
28
|
const matches = regex.exec(accessKey);
|
package/dist/index.d.cts
CHANGED
|
@@ -758,6 +758,13 @@ interface ICMSSN500 {
|
|
|
758
758
|
pST?: DecimalValue;
|
|
759
759
|
vICMSSubstituto?: DecimalValue;
|
|
760
760
|
vICMSSTRet?: DecimalValue;
|
|
761
|
+
vBCFCPSTRet?: DecimalValue;
|
|
762
|
+
pFCPSTRet?: DecimalValue;
|
|
763
|
+
vFCPSTRet?: DecimalValue;
|
|
764
|
+
pRedBCEfet?: DecimalValue;
|
|
765
|
+
vBCEfet?: DecimalValue;
|
|
766
|
+
pICMSEfet?: DecimalValue;
|
|
767
|
+
vICMSEfet?: DecimalValue;
|
|
761
768
|
}
|
|
762
769
|
interface ICMSSN900 {
|
|
763
770
|
orig: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -758,6 +758,13 @@ interface ICMSSN500 {
|
|
|
758
758
|
pST?: DecimalValue;
|
|
759
759
|
vICMSSubstituto?: DecimalValue;
|
|
760
760
|
vICMSSTRet?: DecimalValue;
|
|
761
|
+
vBCFCPSTRet?: DecimalValue;
|
|
762
|
+
pFCPSTRet?: DecimalValue;
|
|
763
|
+
vFCPSTRet?: DecimalValue;
|
|
764
|
+
pRedBCEfet?: DecimalValue;
|
|
765
|
+
vBCEfet?: DecimalValue;
|
|
766
|
+
pICMSEfet?: DecimalValue;
|
|
767
|
+
vICMSEfet?: DecimalValue;
|
|
761
768
|
}
|
|
762
769
|
interface ICMSSN900 {
|
|
763
770
|
orig: string;
|
package/dist/index.js
CHANGED
|
@@ -20,6 +20,7 @@ var AccessKeyBuilder = class {
|
|
|
20
20
|
return `${accessKey}${this.verifyingDigit(accessKey)}`;
|
|
21
21
|
}
|
|
22
22
|
decompile(accessKey) {
|
|
23
|
+
accessKey = accessKey.trim().replace(/^NFe/, "");
|
|
23
24
|
if (accessKey.length !== 44) return;
|
|
24
25
|
const regex = /^([0-9]{2})([0-9]{2})([0-9]{2})([A-Z0-9]{14})([0-9]{2})([0-9]{3})([0-9]{9})([0-9]{1})([0-9]{8})([0-9]{1})$/;
|
|
25
26
|
const matches = regex.exec(accessKey);
|