@openbox/shared-types 0.2.78 → 0.2.79

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.
@@ -90,12 +90,36 @@ type InvoicesDocumentsLayoutDetails = {
90
90
  fontSize: number;
91
91
  height: number;
92
92
  y: number;
93
- quantity: Omit<InvoicesDocumentsLayoutHelpers, 'y'>;
94
- description: Omit<InvoicesDocumentsLayoutHelpers, 'y'>;
95
- price: Omit<InvoicesDocumentsLayoutHelpers, 'y'>;
96
- vNoSujeta: Omit<InvoicesDocumentsLayoutHelpers, 'y'>;
97
- vExenta: Omit<InvoicesDocumentsLayoutHelpers, 'y'>;
98
- vGravada: Omit<InvoicesDocumentsLayoutHelpers, 'y'>;
93
+ quantity: Omit<InvoicesDocumentsLayoutHelpers, 'y'> & {
94
+ type: 'text';
95
+ value: 'Cantidad';
96
+ order: 1;
97
+ };
98
+ description: Omit<InvoicesDocumentsLayoutHelpers, 'y'> & {
99
+ type: 'text';
100
+ value: 'Descripción';
101
+ order: 2;
102
+ };
103
+ price: Omit<InvoicesDocumentsLayoutHelpers, 'y'> & {
104
+ type: 'text';
105
+ value: 'Precio unitario';
106
+ order: 3;
107
+ };
108
+ vNoSujeta: Omit<InvoicesDocumentsLayoutHelpers, 'y'> & {
109
+ type: 'text';
110
+ value: 'Venta no sujeta';
111
+ order: 4;
112
+ };
113
+ vExenta: Omit<InvoicesDocumentsLayoutHelpers, 'y'> & {
114
+ type: 'text';
115
+ value: 'Venta exenta';
116
+ order: 5;
117
+ };
118
+ vGravada: Omit<InvoicesDocumentsLayoutHelpers, 'y'> & {
119
+ type: 'text';
120
+ value: 'Venta gravada';
121
+ order: 6;
122
+ };
99
123
  };
100
124
  type InvoicesDocumentsLayoutTotals = {
101
125
  fontSize: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.78",
3
+ "version": "0.2.79",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -41,12 +41,36 @@ type InvoicesDocumentsLayoutDetails = {
41
41
  fontSize: number
42
42
  height: number
43
43
  y: number
44
- quantity: Omit<InvoicesDocumentsLayoutHelpers, 'y'>
45
- description: Omit<InvoicesDocumentsLayoutHelpers, 'y'>
46
- price: Omit<InvoicesDocumentsLayoutHelpers, 'y'>
47
- vNoSujeta: Omit<InvoicesDocumentsLayoutHelpers, 'y'>
48
- vExenta: Omit<InvoicesDocumentsLayoutHelpers, 'y'>
49
- vGravada: Omit<InvoicesDocumentsLayoutHelpers, 'y'>
44
+ quantity: Omit<InvoicesDocumentsLayoutHelpers, 'y'> & {
45
+ type: 'text'
46
+ value: 'Cantidad'
47
+ order: 1
48
+ }
49
+ description: Omit<InvoicesDocumentsLayoutHelpers, 'y'> & {
50
+ type: 'text'
51
+ value: 'Descripción'
52
+ order: 2
53
+ }
54
+ price: Omit<InvoicesDocumentsLayoutHelpers, 'y'> & {
55
+ type: 'text'
56
+ value: 'Precio unitario'
57
+ order: 3
58
+ }
59
+ vNoSujeta: Omit<InvoicesDocumentsLayoutHelpers, 'y'> & {
60
+ type: 'text'
61
+ value: 'Venta no sujeta'
62
+ order: 4
63
+ }
64
+ vExenta: Omit<InvoicesDocumentsLayoutHelpers, 'y'> & {
65
+ type: 'text'
66
+ value: 'Venta exenta'
67
+ order: 5
68
+ }
69
+ vGravada: Omit<InvoicesDocumentsLayoutHelpers, 'y'> & {
70
+ type: 'text'
71
+ value: 'Venta gravada'
72
+ order: 6
73
+ }
50
74
  }
51
75
 
52
76
  type InvoicesDocumentsLayoutTotals = {