@plasoft/boletos 1.0.43 → 1.0.44
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/build/index.d.mts +8 -3
- package/build/index.d.ts +8 -3
- package/build/index.js +5 -4
- package/build/index.mjs +5 -4
- package/package.json +1 -1
package/build/index.d.mts
CHANGED
|
@@ -80,7 +80,7 @@ interface IDadosPDF$4 {
|
|
|
80
80
|
numeroDocumento: string;
|
|
81
81
|
nossoNumero: string;
|
|
82
82
|
especieDocumento: string;
|
|
83
|
-
aceite:
|
|
83
|
+
aceite: string;
|
|
84
84
|
moeda: string;
|
|
85
85
|
usoDoBanco?: string;
|
|
86
86
|
cip?: string;
|
|
@@ -134,6 +134,7 @@ interface IDadosRemessa$4 {
|
|
|
134
134
|
nossoNumero: string;
|
|
135
135
|
numeroDocumento: string;
|
|
136
136
|
parcela: number | string;
|
|
137
|
+
aceite: string;
|
|
137
138
|
pagador: {
|
|
138
139
|
nome: string;
|
|
139
140
|
pessoa: 'F' | 'J';
|
|
@@ -396,7 +397,7 @@ interface IDadosPDF$2 {
|
|
|
396
397
|
numeroDocumento: string;
|
|
397
398
|
nossoNumero: string;
|
|
398
399
|
especieDocumento: string;
|
|
399
|
-
aceite:
|
|
400
|
+
aceite: string;
|
|
400
401
|
moeda: string;
|
|
401
402
|
usoDoBanco?: string;
|
|
402
403
|
cip?: string;
|
|
@@ -449,6 +450,7 @@ interface IDadosRemessa$2 {
|
|
|
449
450
|
nossoNumero: string;
|
|
450
451
|
numeroDocumento: string;
|
|
451
452
|
parcela: number | string;
|
|
453
|
+
aceite: string;
|
|
452
454
|
pagador: {
|
|
453
455
|
nome: string;
|
|
454
456
|
pessoa: 'F' | 'J';
|
|
@@ -535,6 +537,7 @@ interface IDadosPDF$1 {
|
|
|
535
537
|
quantidade?: number | string;
|
|
536
538
|
valor?: number | string;
|
|
537
539
|
parcela: number | string;
|
|
540
|
+
aceite: string;
|
|
538
541
|
numeroDocumento: string;
|
|
539
542
|
nossoNumero: string;
|
|
540
543
|
especieDocumento: string;
|
|
@@ -582,6 +585,7 @@ interface IDadosRemessa$1 {
|
|
|
582
585
|
nossoNumero: string;
|
|
583
586
|
numeroDocumento: string;
|
|
584
587
|
parcela: number | string;
|
|
588
|
+
aceite: string;
|
|
585
589
|
pagador: {
|
|
586
590
|
nome: string;
|
|
587
591
|
pessoa: 'F' | 'J';
|
|
@@ -682,7 +686,7 @@ interface IDadosPDF {
|
|
|
682
686
|
numeroDocumento: string;
|
|
683
687
|
nossoNumero: string;
|
|
684
688
|
especieDocumento: string;
|
|
685
|
-
aceite:
|
|
689
|
+
aceite: string;
|
|
686
690
|
moeda: string;
|
|
687
691
|
usoDoBanco?: string;
|
|
688
692
|
cip?: string;
|
|
@@ -739,6 +743,7 @@ interface IDadosRemessa {
|
|
|
739
743
|
nossoNumero: string;
|
|
740
744
|
numeroDocumento: string;
|
|
741
745
|
parcela: number | string;
|
|
746
|
+
aceite: string;
|
|
742
747
|
pagador: {
|
|
743
748
|
nome: string;
|
|
744
749
|
pessoa: 'F' | 'J';
|
package/build/index.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ interface IDadosPDF$4 {
|
|
|
80
80
|
numeroDocumento: string;
|
|
81
81
|
nossoNumero: string;
|
|
82
82
|
especieDocumento: string;
|
|
83
|
-
aceite:
|
|
83
|
+
aceite: string;
|
|
84
84
|
moeda: string;
|
|
85
85
|
usoDoBanco?: string;
|
|
86
86
|
cip?: string;
|
|
@@ -134,6 +134,7 @@ interface IDadosRemessa$4 {
|
|
|
134
134
|
nossoNumero: string;
|
|
135
135
|
numeroDocumento: string;
|
|
136
136
|
parcela: number | string;
|
|
137
|
+
aceite: string;
|
|
137
138
|
pagador: {
|
|
138
139
|
nome: string;
|
|
139
140
|
pessoa: 'F' | 'J';
|
|
@@ -396,7 +397,7 @@ interface IDadosPDF$2 {
|
|
|
396
397
|
numeroDocumento: string;
|
|
397
398
|
nossoNumero: string;
|
|
398
399
|
especieDocumento: string;
|
|
399
|
-
aceite:
|
|
400
|
+
aceite: string;
|
|
400
401
|
moeda: string;
|
|
401
402
|
usoDoBanco?: string;
|
|
402
403
|
cip?: string;
|
|
@@ -449,6 +450,7 @@ interface IDadosRemessa$2 {
|
|
|
449
450
|
nossoNumero: string;
|
|
450
451
|
numeroDocumento: string;
|
|
451
452
|
parcela: number | string;
|
|
453
|
+
aceite: string;
|
|
452
454
|
pagador: {
|
|
453
455
|
nome: string;
|
|
454
456
|
pessoa: 'F' | 'J';
|
|
@@ -535,6 +537,7 @@ interface IDadosPDF$1 {
|
|
|
535
537
|
quantidade?: number | string;
|
|
536
538
|
valor?: number | string;
|
|
537
539
|
parcela: number | string;
|
|
540
|
+
aceite: string;
|
|
538
541
|
numeroDocumento: string;
|
|
539
542
|
nossoNumero: string;
|
|
540
543
|
especieDocumento: string;
|
|
@@ -582,6 +585,7 @@ interface IDadosRemessa$1 {
|
|
|
582
585
|
nossoNumero: string;
|
|
583
586
|
numeroDocumento: string;
|
|
584
587
|
parcela: number | string;
|
|
588
|
+
aceite: string;
|
|
585
589
|
pagador: {
|
|
586
590
|
nome: string;
|
|
587
591
|
pessoa: 'F' | 'J';
|
|
@@ -682,7 +686,7 @@ interface IDadosPDF {
|
|
|
682
686
|
numeroDocumento: string;
|
|
683
687
|
nossoNumero: string;
|
|
684
688
|
especieDocumento: string;
|
|
685
|
-
aceite:
|
|
689
|
+
aceite: string;
|
|
686
690
|
moeda: string;
|
|
687
691
|
usoDoBanco?: string;
|
|
688
692
|
cip?: string;
|
|
@@ -739,6 +743,7 @@ interface IDadosRemessa {
|
|
|
739
743
|
nossoNumero: string;
|
|
740
744
|
numeroDocumento: string;
|
|
741
745
|
parcela: number | string;
|
|
746
|
+
aceite: string;
|
|
742
747
|
pagador: {
|
|
743
748
|
nome: string;
|
|
744
749
|
pessoa: 'F' | 'J';
|
package/build/index.js
CHANGED
|
@@ -484,7 +484,7 @@ function gerarRemessa({ dados }) {
|
|
|
484
484
|
arquivo.add(dadosBancario.agencia.padStart(5, "0"));
|
|
485
485
|
arquivo.add(dadosBancario.agenciaDigito);
|
|
486
486
|
arquivo.add("02");
|
|
487
|
-
arquivo.add(
|
|
487
|
+
arquivo.add(boleto.aceite);
|
|
488
488
|
arquivo.add(data);
|
|
489
489
|
arquivo.add(codigoJuro);
|
|
490
490
|
arquivo.add(jurosVencimento);
|
|
@@ -1430,7 +1430,8 @@ function gerarRemessa3({ dados }) {
|
|
|
1430
1430
|
arquivo.add((0, import_date_fns4.format)(new Date(boleto.vencimento), "ddMMyy"));
|
|
1431
1431
|
arquivo.add(Number(boleto.valor).toFixed(2).replace(".", "").padStart(13, "0"));
|
|
1432
1432
|
arquivo.add(" ".padEnd(9, " "));
|
|
1433
|
-
arquivo.add("
|
|
1433
|
+
arquivo.add("A");
|
|
1434
|
+
arquivo.add(boleto.aceite);
|
|
1434
1435
|
arquivo.add((0, import_date_fns4.format)(new Date(boleto.emissao), "ddMMyy"));
|
|
1435
1436
|
arquivo.add(protestar);
|
|
1436
1437
|
arquivo.add(String(dadosBancario.diasProtesto).padStart(2, "0"));
|
|
@@ -1746,7 +1747,7 @@ function gerarRemessa4({ dados }) {
|
|
|
1746
1747
|
arquivo.add("00000");
|
|
1747
1748
|
arquivo.add(" ");
|
|
1748
1749
|
arquivo.add("02");
|
|
1749
|
-
arquivo.add(
|
|
1750
|
+
arquivo.add(boleto.aceite);
|
|
1750
1751
|
arquivo.add(data);
|
|
1751
1752
|
arquivo.add("1");
|
|
1752
1753
|
arquivo.add((0, import_date_fns5.format)((0, import_date_fns5.addDays)(new Date(boleto.vencimento), 1), "ddMMyyyy"));
|
|
@@ -2408,7 +2409,7 @@ function gerarRemessa5({ dados }) {
|
|
|
2408
2409
|
);
|
|
2409
2410
|
arquivo.add("00000 ");
|
|
2410
2411
|
arquivo.add("02");
|
|
2411
|
-
arquivo.add(
|
|
2412
|
+
arquivo.add(boleto.aceite);
|
|
2412
2413
|
arquivo.add(data);
|
|
2413
2414
|
arquivo.add("1");
|
|
2414
2415
|
arquivo.add("00000000");
|
package/build/index.mjs
CHANGED
|
@@ -447,7 +447,7 @@ function gerarRemessa({ dados }) {
|
|
|
447
447
|
arquivo.add(dadosBancario.agencia.padStart(5, "0"));
|
|
448
448
|
arquivo.add(dadosBancario.agenciaDigito);
|
|
449
449
|
arquivo.add("02");
|
|
450
|
-
arquivo.add(
|
|
450
|
+
arquivo.add(boleto.aceite);
|
|
451
451
|
arquivo.add(data);
|
|
452
452
|
arquivo.add(codigoJuro);
|
|
453
453
|
arquivo.add(jurosVencimento);
|
|
@@ -1393,7 +1393,8 @@ function gerarRemessa3({ dados }) {
|
|
|
1393
1393
|
arquivo.add(format3(new Date(boleto.vencimento), "ddMMyy"));
|
|
1394
1394
|
arquivo.add(Number(boleto.valor).toFixed(2).replace(".", "").padStart(13, "0"));
|
|
1395
1395
|
arquivo.add(" ".padEnd(9, " "));
|
|
1396
|
-
arquivo.add("
|
|
1396
|
+
arquivo.add("A");
|
|
1397
|
+
arquivo.add(boleto.aceite);
|
|
1397
1398
|
arquivo.add(format3(new Date(boleto.emissao), "ddMMyy"));
|
|
1398
1399
|
arquivo.add(protestar);
|
|
1399
1400
|
arquivo.add(String(dadosBancario.diasProtesto).padStart(2, "0"));
|
|
@@ -1709,7 +1710,7 @@ function gerarRemessa4({ dados }) {
|
|
|
1709
1710
|
arquivo.add("00000");
|
|
1710
1711
|
arquivo.add(" ");
|
|
1711
1712
|
arquivo.add("02");
|
|
1712
|
-
arquivo.add(
|
|
1713
|
+
arquivo.add(boleto.aceite);
|
|
1713
1714
|
arquivo.add(data);
|
|
1714
1715
|
arquivo.add("1");
|
|
1715
1716
|
arquivo.add(format4(addDays3(new Date(boleto.vencimento), 1), "ddMMyyyy"));
|
|
@@ -2371,7 +2372,7 @@ function gerarRemessa5({ dados }) {
|
|
|
2371
2372
|
);
|
|
2372
2373
|
arquivo.add("00000 ");
|
|
2373
2374
|
arquivo.add("02");
|
|
2374
|
-
arquivo.add(
|
|
2375
|
+
arquivo.add(boleto.aceite);
|
|
2375
2376
|
arquivo.add(data);
|
|
2376
2377
|
arquivo.add("1");
|
|
2377
2378
|
arquivo.add("00000000");
|