@openbox/shared-types 0.2.83 → 0.2.85

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.
File without changes
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Details/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
1
+ import { Services } from '../../services/Services/services.types';
2
+ import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types';
3
+ import { Invoices } from '../Invoices';
4
+ export type InvoicesDetailes = {
5
+ id: string;
6
+ quantity: number;
7
+ unitPrice: number;
8
+ incIva: boolean;
9
+ incRenta5: boolean;
10
+ incRenta10: boolean;
11
+ ventaPrice: number;
12
+ totalIvaPrice: number;
13
+ ivaPrice: number;
14
+ price: number;
15
+ renta5Price: number;
16
+ renta10Price: number;
17
+ vNoSujeta: number;
18
+ vExenta: number;
19
+ vGravada: number;
20
+ chargeDescription: string;
21
+ NCDTotal: boolean;
22
+ invoice: Invoices;
23
+ service: Services;
24
+ sellingType: Pick<SystemSellingTypes, 'id' | 'name'>;
25
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=invoices.details.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoices.details.type.js","sourceRoot":"","sources":["../../../src/invoices/Details/invoices.details.type.ts"],"names":[],"mappings":""}
@@ -2,6 +2,7 @@ import { CustomersBranches } from '../../customers/Branches/customers.branches.t
2
2
  import { Customers } from '../../customers/Customers/customers.types';
3
3
  import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types';
4
4
  import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types';
5
+ import { InvoicesDetailes } from '../Details/invoices.details.type';
5
6
  import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type';
6
7
  import { InvoicesPaymentConditions } from '../PaymentConditions/invoices.payment-conditions.type';
7
8
  import { InvoicesSellers } from '../Sellers/invoices.sellers.type';
@@ -21,6 +22,7 @@ export type Invoices = {
21
22
  customerNit: string;
22
23
  customerNrc: string;
23
24
  customerGiro: string;
25
+ customerPassport: string;
24
26
  sum: number;
25
27
  iva: number;
26
28
  ivaPercibido: number;
@@ -48,4 +50,5 @@ export type Invoices = {
48
50
  personType: Pick<SystemPersonTypes, 'id' | 'name'>;
49
51
  customerTypeNatural: Pick<SystemNaturalTypes, 'id' | 'name'>;
50
52
  documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>;
53
+ invoiceDetails: InvoicesDetailes[];
51
54
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.83",
3
+ "version": "0.2.85",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
File without changes
@@ -0,0 +1,26 @@
1
+ import { Services } from '../../services/Services/services.types'
2
+ import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types'
3
+ import { Invoices } from '../Invoices'
4
+
5
+ export type InvoicesDetailes = {
6
+ id: string
7
+ quantity: number
8
+ unitPrice: number
9
+ incIva: boolean
10
+ incRenta5: boolean
11
+ incRenta10: boolean
12
+ ventaPrice: number
13
+ totalIvaPrice: number
14
+ ivaPrice: number
15
+ price: number
16
+ renta5Price: number
17
+ renta10Price: number
18
+ vNoSujeta: number
19
+ vExenta: number
20
+ vGravada: number
21
+ chargeDescription: string
22
+ NCDTotal: boolean
23
+ invoice: Invoices
24
+ service: Services
25
+ sellingType: Pick<SystemSellingTypes, 'id' | 'name'>
26
+ }
@@ -2,6 +2,7 @@ import { CustomersBranches } from '../../customers/Branches/customers.branches.t
2
2
  import { Customers } from '../../customers/Customers/customers.types'
3
3
  import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types'
4
4
  import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types'
5
+ import { InvoicesDetailes } from '../Details/invoices.details.type'
5
6
  import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type'
6
7
  import { InvoicesPaymentConditions } from '../PaymentConditions/invoices.payment-conditions.type'
7
8
  import { InvoicesSellers } from '../Sellers/invoices.sellers.type'
@@ -22,6 +23,7 @@ export type Invoices = {
22
23
  customerNit: string
23
24
  customerNrc: string
24
25
  customerGiro: string
26
+ customerPassport: string
25
27
  sum: number
26
28
  iva: number
27
29
  ivaPercibido: number
@@ -49,7 +51,7 @@ export type Invoices = {
49
51
  personType: Pick<SystemPersonTypes, 'id' | 'name'>
50
52
  customerTypeNatural: Pick<SystemNaturalTypes, 'id' | 'name'>
51
53
  documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>
52
- // invoiceDetails: InvoicesDetailsEntity[]
54
+ invoiceDetails: InvoicesDetailes[]
53
55
  // echarges: Echarges
54
56
  // accountingEntry: AccountingEntriesEntity
55
57
  // relatedDocument: InvoicesEntity