@openbox/shared-types 0.2.62 → 0.2.64
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/lib/invoices/DocumentTypes/GetSingle/Response.d.ts +2 -2
- package/lib/invoices/DocumentTypes/index.d.ts +1 -0
- package/lib/invoices/DocumentTypes/index.js +1 -0
- package/lib/invoices/DocumentTypes/index.js.map +1 -1
- package/lib/invoices/DocumentTypes/{invoices.document-types.interface.d.ts → invoices.document-types.type.d.ts} +0 -2
- package/lib/invoices/{Statuses/invoices.statuses.interfaces.js → DocumentTypes/invoices.document-types.type.js} +1 -1
- package/lib/invoices/DocumentTypes/invoices.document-types.type.js.map +1 -0
- package/lib/invoices/Documents/CreateSingle/Request.d.ts +4 -2
- package/lib/invoices/Documents/GetMany/Response.d.ts +2 -2
- package/lib/invoices/Documents/GetSingle/Response.d.ts +2 -2
- package/lib/invoices/Documents/UpdateSingle/Request.d.ts +2 -2
- package/lib/invoices/Documents/index.d.ts +1 -0
- package/lib/invoices/Documents/index.js +1 -0
- package/lib/invoices/Documents/index.js.map +1 -1
- package/lib/invoices/Documents/invoices.documents.type.d.ts +12 -0
- package/lib/invoices/{Zones/invoices.zones.interfaces.js → Documents/invoices.documents.type.js} +1 -1
- package/lib/invoices/Documents/invoices.documents.type.js.map +1 -0
- package/lib/invoices/Invoices/GetDocumentTypes/Response.d.ts +1 -1
- package/lib/invoices/Invoices/GetMany/Response.d.ts +2 -2
- package/lib/invoices/Invoices/GetSingle/Response.d.ts +1 -1
- package/lib/invoices/Invoices/index.d.ts +1 -0
- package/lib/invoices/Invoices/index.js +1 -0
- package/lib/invoices/Invoices/index.js.map +1 -1
- package/lib/invoices/Invoices/invoices.types.d.ts +51 -0
- package/lib/invoices/Invoices/{invoices.interfaces.js → invoices.types.js} +1 -1
- package/lib/invoices/Invoices/invoices.types.js.map +1 -0
- package/lib/invoices/PaymentConditions/CreateSingle/Request.d.ts +2 -2
- package/lib/invoices/PaymentConditions/GetMany/Response.d.ts +2 -2
- package/lib/invoices/PaymentConditions/GetSingle/Response.d.ts +2 -2
- package/lib/invoices/PaymentConditions/UpdateSingle/Request.d.ts +2 -2
- package/lib/invoices/PaymentConditions/index.d.ts +1 -0
- package/lib/invoices/PaymentConditions/index.js +1 -0
- package/lib/invoices/PaymentConditions/index.js.map +1 -1
- package/lib/invoices/PaymentConditions/invoices.payment-conditions.type.d.ts +6 -0
- package/lib/invoices/{Documents/invoices.documents.interfaces.js → PaymentConditions/invoices.payment-conditions.type.js} +1 -1
- package/lib/invoices/PaymentConditions/invoices.payment-conditions.type.js.map +1 -0
- package/lib/invoices/Sellers/CreateSingle/Request.d.ts +4 -2
- package/lib/invoices/Sellers/GetMany/Response.d.ts +2 -2
- package/lib/invoices/Sellers/GetSingle/Response.d.ts +2 -2
- package/lib/invoices/Sellers/UpdateSingle/Request.d.ts +2 -2
- package/lib/invoices/Sellers/index.d.ts +1 -0
- package/lib/invoices/Sellers/index.js +1 -0
- package/lib/invoices/Sellers/index.js.map +1 -1
- package/lib/invoices/Sellers/invoices.sellers.type.d.ts +7 -0
- package/lib/invoices/Sellers/{invoices.sellers.interface.js → invoices.sellers.type.js} +1 -1
- package/lib/invoices/Sellers/invoices.sellers.type.js.map +1 -0
- package/lib/invoices/Statuses/GetMany/Response.d.ts +2 -2
- package/lib/invoices/Statuses/GetSingle/Response.d.ts +2 -2
- package/lib/invoices/Statuses/index.d.ts +1 -0
- package/lib/invoices/Statuses/index.js +1 -0
- package/lib/invoices/Statuses/index.js.map +1 -1
- package/lib/invoices/Statuses/invoices.statuses.type.d.ts +6 -0
- package/lib/invoices/Statuses/invoices.statuses.type.js +3 -0
- package/lib/invoices/Statuses/invoices.statuses.type.js.map +1 -0
- package/lib/invoices/Zones/CreateSingle/Request.d.ts +2 -2
- package/lib/invoices/Zones/GetMany/Response.d.ts +2 -2
- package/lib/invoices/Zones/GetSingle/Response.d.ts +2 -2
- package/lib/invoices/Zones/UpdateSingle/Request.d.ts +2 -2
- package/lib/invoices/Zones/index.d.ts +1 -0
- package/lib/invoices/Zones/index.js +1 -0
- package/lib/invoices/Zones/index.js.map +1 -1
- package/lib/invoices/Zones/invoices.zones.type.d.ts +5 -0
- package/lib/invoices/Zones/invoices.zones.type.js +3 -0
- package/lib/invoices/Zones/invoices.zones.type.js.map +1 -0
- package/lib/invoices/index.d.ts +0 -1
- package/lib/invoices/index.js +0 -1
- package/lib/invoices/index.js.map +1 -1
- package/package.json +1 -1
- package/src/invoices/DocumentTypes/GetSingle/Response.ts +2 -2
- package/src/invoices/DocumentTypes/index.ts +1 -0
- package/src/invoices/DocumentTypes/invoices.document-types.type.ts +7 -0
- package/src/invoices/Documents/CreateSingle/Request.ts +7 -2
- package/src/invoices/Documents/GetMany/Response.ts +2 -2
- package/src/invoices/Documents/GetSingle/Response.ts +2 -2
- package/src/invoices/Documents/UpdateSingle/Request.ts +2 -2
- package/src/invoices/Documents/index.ts +1 -0
- package/src/invoices/Documents/invoices.documents.type.ts +13 -0
- package/src/invoices/Invoices/GetDocumentTypes/Response.ts +1 -1
- package/src/invoices/Invoices/GetMany/Response.ts +2 -2
- package/src/invoices/Invoices/GetSingle/Response.ts +1 -1
- package/src/invoices/Invoices/index.ts +1 -0
- package/src/invoices/Invoices/invoices.types.ts +58 -0
- package/src/invoices/PaymentConditions/CreateSingle/Request.ts +5 -2
- package/src/invoices/PaymentConditions/GetMany/Response.ts +2 -2
- package/src/invoices/PaymentConditions/GetSingle/Response.ts +2 -2
- package/src/invoices/PaymentConditions/UpdateSingle/Request.ts +3 -2
- package/src/invoices/PaymentConditions/index.ts +1 -0
- package/src/invoices/PaymentConditions/invoices.payment-conditions.type.ts +6 -0
- package/src/invoices/Sellers/CreateSingle/Request.ts +7 -2
- package/src/invoices/Sellers/GetMany/Response.ts +2 -2
- package/src/invoices/Sellers/GetSingle/Response.ts +2 -2
- package/src/invoices/Sellers/UpdateSingle/Request.ts +2 -2
- package/src/invoices/Sellers/index.ts +1 -0
- package/src/invoices/Sellers/invoices.sellers.type.ts +8 -0
- package/src/invoices/Statuses/GetMany/Response.ts +2 -2
- package/src/invoices/Statuses/GetSingle/Response.ts +2 -2
- package/src/invoices/Statuses/index.ts +1 -0
- package/src/invoices/Statuses/invoices.statuses.type.ts +7 -0
- package/src/invoices/Zones/CreateSingle/Request.ts +2 -2
- package/src/invoices/Zones/GetMany/Response.ts +2 -2
- package/src/invoices/Zones/GetSingle/Response.ts +2 -2
- package/src/invoices/Zones/UpdateSingle/Request.ts +2 -2
- package/src/invoices/Zones/index.ts +1 -0
- package/src/invoices/Zones/invoices.zones.type.ts +5 -0
- package/src/invoices/index.ts +0 -1
- package/lib/invoices/DocumentTypes/invoices.document-types.interface.js +0 -3
- package/lib/invoices/DocumentTypes/invoices.document-types.interface.js.map +0 -1
- package/lib/invoices/Documents/invoices.documents.interfaces.d.ts +0 -16
- package/lib/invoices/Documents/invoices.documents.interfaces.js.map +0 -1
- package/lib/invoices/Invoices/invoices.interfaces.d.ts +0 -50
- package/lib/invoices/Invoices/invoices.interfaces.js.map +0 -1
- package/lib/invoices/PaymentConditions/invoices.payment-conditions.interface.d.ts +0 -8
- package/lib/invoices/PaymentConditions/invoices.payment-conditions.interface.js +0 -3
- package/lib/invoices/PaymentConditions/invoices.payment-conditions.interface.js.map +0 -1
- package/lib/invoices/Sellers/invoices.sellers.interface.d.ts +0 -11
- package/lib/invoices/Sellers/invoices.sellers.interface.js.map +0 -1
- package/lib/invoices/Statuses/invoices.statuses.interfaces.d.ts +0 -6
- package/lib/invoices/Statuses/invoices.statuses.interfaces.js.map +0 -1
- package/lib/invoices/Zones/invoices.zones.interfaces.d.ts +0 -7
- package/lib/invoices/Zones/invoices.zones.interfaces.js.map +0 -1
- package/src/invoices/DocumentTypes/invoices.document-types.interface.ts +0 -10
- package/src/invoices/Documents/invoices.documents.interfaces.ts +0 -22
- package/src/invoices/Invoices/invoices.interfaces.ts +0 -59
- package/src/invoices/PaymentConditions/invoices.payment-conditions.interface.ts +0 -10
- package/src/invoices/Sellers/invoices.sellers.interface.ts +0 -12
- package/src/invoices/Statuses/invoices.statuses.interfaces.ts +0 -7
- package/src/invoices/Zones/invoices.zones.interfaces.ts +0 -8
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { CustomersBranches } from '../../customers/Branches/customers.branches.types'
|
|
2
|
+
import { Customers } from '../../customers/Customers/customers.types'
|
|
3
|
+
import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types'
|
|
4
|
+
import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types'
|
|
5
|
+
import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type'
|
|
6
|
+
import { InvoicesPaymentConditions } from '../PaymentConditions/invoices.payment-conditions.type'
|
|
7
|
+
import { InvoicesSellers } from '../Sellers/invoices.sellers.type'
|
|
8
|
+
import { InvoicesStatuses } from '../Statuses/invoices.statuses.type'
|
|
9
|
+
import { InvoicesZones } from '../Zones/invoices.zones.type'
|
|
10
|
+
|
|
11
|
+
export type Invoices = {
|
|
12
|
+
id: string
|
|
13
|
+
authorization: string
|
|
14
|
+
sequence: string
|
|
15
|
+
customerName: string
|
|
16
|
+
customerAddress1: string
|
|
17
|
+
customerAddress2: string
|
|
18
|
+
customerCountry: string
|
|
19
|
+
customerState: string
|
|
20
|
+
customerCity: string
|
|
21
|
+
customerDui: string
|
|
22
|
+
customerNit: string
|
|
23
|
+
customerNrc: string
|
|
24
|
+
customerGiro: string
|
|
25
|
+
sum: number
|
|
26
|
+
iva: number
|
|
27
|
+
ivaPercibido: number
|
|
28
|
+
renta5: number
|
|
29
|
+
renta10: number
|
|
30
|
+
subtotal: number
|
|
31
|
+
ivaRetenido: number
|
|
32
|
+
ventasExentas: number
|
|
33
|
+
ventasNoSujetas: number
|
|
34
|
+
ventaTotal: number
|
|
35
|
+
ventaTotalText: string
|
|
36
|
+
origin: string
|
|
37
|
+
invoiceDate: string
|
|
38
|
+
paymentConditionName: string
|
|
39
|
+
sellerName: string
|
|
40
|
+
zoneName: string
|
|
41
|
+
createEntry: boolean
|
|
42
|
+
NCDTotal: boolean
|
|
43
|
+
customerBranch: Omit<CustomersBranches, 'customer'>
|
|
44
|
+
customer: Customers
|
|
45
|
+
invoicesPaymentsCondition: Pick<InvoicesPaymentConditions, 'id' | 'name'>
|
|
46
|
+
invoicesSeller: Pick<InvoicesSellers, 'id' | 'name'>
|
|
47
|
+
invoicesZone: Pick<InvoicesZones, 'id' | 'name'>
|
|
48
|
+
status: Pick<InvoicesStatuses, 'id' | 'name'>
|
|
49
|
+
personType: Pick<SystemPersonTypes, 'id' | 'name'>
|
|
50
|
+
customerTypeNatural: Pick<SystemNaturalTypes, 'id' | 'name'>
|
|
51
|
+
documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>
|
|
52
|
+
// invoiceDetails: InvoicesDetailsEntity[]
|
|
53
|
+
// echarges: Echarges
|
|
54
|
+
// accountingEntry: AccountingEntriesEntity
|
|
55
|
+
// relatedDocument: InvoicesEntity
|
|
56
|
+
// invoices: InvoicesEntity[]
|
|
57
|
+
// legalInstallments: LegalInstallmentsEntity[]
|
|
58
|
+
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InvoicesPaymentConditions } from '../invoices.payment-conditions.type'
|
|
2
2
|
|
|
3
|
-
export type InvoicesPaymentConditionsCreateSingleRequest =
|
|
3
|
+
export type InvoicesPaymentConditionsCreateSingleRequest = Omit<
|
|
4
|
+
InvoicesPaymentConditions,
|
|
5
|
+
'id' | 'active'
|
|
6
|
+
>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetManyResponse } from '../../../interfaces'
|
|
2
|
-
import {
|
|
2
|
+
import { InvoicesPaymentConditions } from '../invoices.payment-conditions.type'
|
|
3
3
|
|
|
4
4
|
export type InvoicesPaymentConditionsGetManyResponse = GetManyResponse & {
|
|
5
|
-
data: Array<
|
|
5
|
+
data: Array<InvoicesPaymentConditions & { index: number }>
|
|
6
6
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InvoicesPaymentConditions } from '../invoices.payment-conditions.type'
|
|
2
2
|
|
|
3
|
-
export type InvoicesPaymentConditionsGetSingleResponse =
|
|
3
|
+
export type InvoicesPaymentConditionsGetSingleResponse = Pick<InvoicesPaymentConditions, 'name'>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InvoicesPaymentConditionsCreateSingleRequest } from '../CreateSingle/Request'
|
|
2
2
|
|
|
3
|
-
export type InvoicesPaymentConditionsUpdateSingleRequest =
|
|
3
|
+
export type InvoicesPaymentConditionsUpdateSingleRequest =
|
|
4
|
+
Partial<InvoicesPaymentConditionsCreateSingleRequest>
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InvoicesSellers } from '../invoices.sellers.type'
|
|
2
2
|
|
|
3
|
-
export type InvoicesSellersCreateSingleRequest =
|
|
3
|
+
export type InvoicesSellersCreateSingleRequest = Omit<
|
|
4
|
+
InvoicesSellers,
|
|
5
|
+
'id' | 'active' | 'invoicesZone'
|
|
6
|
+
> & {
|
|
7
|
+
invoicesZone: string
|
|
8
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetManyResponse } from '../../../interfaces'
|
|
2
|
-
import {
|
|
2
|
+
import { InvoicesSellers } from '../invoices.sellers.type'
|
|
3
3
|
|
|
4
4
|
export type InvoicesSellersGetManyResponse = GetManyResponse & {
|
|
5
|
-
data: Array<
|
|
5
|
+
data: Array<InvoicesSellers & { index: number }>
|
|
6
6
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InvoicesSellers } from '../invoices.sellers.type'
|
|
2
2
|
|
|
3
|
-
export type InvoicesSellersGetSingleResponse =
|
|
3
|
+
export type InvoicesSellersGetSingleResponse = InvoicesSellers
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InvoicesSellersCreateSingleRequest } from '../CreateSingle/Request'
|
|
2
2
|
|
|
3
|
-
export type InvoicesSellersUpdateSingleRequest = Partial<
|
|
3
|
+
export type InvoicesSellersUpdateSingleRequest = Partial<InvoicesSellersCreateSingleRequest>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InvoicesStatusesGetSingleResponse } from '../GetSingle/Response'
|
|
2
2
|
|
|
3
|
-
export type InvoicesStatusesGetManyResponse = Array<
|
|
3
|
+
export type InvoicesStatusesGetManyResponse = Array<InvoicesStatusesGetSingleResponse>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InvoicesStatuses } from '../invoices.statuses.type'
|
|
2
2
|
|
|
3
|
-
export type InvoicesStatusesGetSingleResponse =
|
|
3
|
+
export type InvoicesStatusesGetSingleResponse = InvoicesStatuses
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InvoicesZones } from '../invoices.zones.type'
|
|
2
2
|
|
|
3
|
-
export type InvoicesZonesCreateSingleRequest =
|
|
3
|
+
export type InvoicesZonesCreateSingleRequest = Pick<InvoicesZones, 'name' | 'active'>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetManyResponse } from '../../../interfaces'
|
|
2
|
-
import {
|
|
2
|
+
import { InvoicesZones } from '../invoices.zones.type'
|
|
3
3
|
|
|
4
4
|
export type InvoicesZonesGetManyResponse = GetManyResponse & {
|
|
5
|
-
data: Array<
|
|
5
|
+
data: Array<InvoicesZones & { index: number }>
|
|
6
6
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InvoicesZones } from '../invoices.zones.type'
|
|
2
2
|
|
|
3
|
-
export type InvoicesZonesGetSingleResponse =
|
|
3
|
+
export type InvoicesZonesGetSingleResponse = InvoicesZones
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InvoicesZonesCreateSingleRequest } from '../CreateSingle/Request'
|
|
2
2
|
|
|
3
|
-
export type InvoicesZonesUpdateSingleRequest =
|
|
3
|
+
export type InvoicesZonesUpdateSingleRequest = Partial<InvoicesZonesCreateSingleRequest>
|
package/src/invoices/index.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoices.document-types.interface.js","sourceRoot":"","sources":["../../../src/invoices/DocumentTypes/invoices.document-types.interface.ts"],"names":[],"mappings":""}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.interface';
|
|
2
|
-
export type InvoicesDocuments = {
|
|
3
|
-
id: string;
|
|
4
|
-
authorization?: string;
|
|
5
|
-
initial?: number;
|
|
6
|
-
final?: number;
|
|
7
|
-
current?: number;
|
|
8
|
-
active: boolean;
|
|
9
|
-
used: boolean;
|
|
10
|
-
isCurrentDocument: boolean;
|
|
11
|
-
documentType: Omit<InvoicesDocumentTypes, 'includeInTaxes, showForNonTaxers'>;
|
|
12
|
-
};
|
|
13
|
-
export type InvoicesDocumentsRequest = Omit<InvoicesDocuments, 'id' | 'active' | 'used' | 'isCurrentDocument' | 'documentType'> & {
|
|
14
|
-
documentType: number;
|
|
15
|
-
};
|
|
16
|
-
export type InvoicesDocumentsResponse = InvoicesDocuments;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoices.documents.interfaces.js","sourceRoot":"","sources":["../../../src/invoices/Documents/invoices.documents.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { CustomersBranchesResponse } from '../../customers/Branches/customers.branches.types';
|
|
2
|
-
import { CustomersResponse } from '../../customers/Customers/customers.types';
|
|
3
|
-
import { SystemNaturalTypesResponse } from '../../system/NaturalTypes/system.natural-types.types';
|
|
4
|
-
import { SystemPersonTypesResponse } from '../../system/PersonTypes/system.person-types.types';
|
|
5
|
-
import { InvoicesDocumentTypesResponse } from '../DocumentTypes/invoices.document-types.interface';
|
|
6
|
-
import { InvoicesPaymentConditionsResponse } from '../PaymentConditions/invoices.payment-conditions.interface';
|
|
7
|
-
import { InvoicesSellersResponse } from '../Sellers/invoices.sellers.interface';
|
|
8
|
-
import { InvoicesZonesResponse } from '../Zones/invoices.zones.interfaces';
|
|
9
|
-
export type Invoices = {
|
|
10
|
-
id: string;
|
|
11
|
-
authorization: string;
|
|
12
|
-
sequence: string;
|
|
13
|
-
customerName: string;
|
|
14
|
-
customerAddress1: string;
|
|
15
|
-
customerAddress2: string;
|
|
16
|
-
customerCountry: string;
|
|
17
|
-
customerState: string;
|
|
18
|
-
customerCity: string;
|
|
19
|
-
customerDui: string;
|
|
20
|
-
customerNit: string;
|
|
21
|
-
customerNrc: string;
|
|
22
|
-
customerGiro: string;
|
|
23
|
-
sum: number;
|
|
24
|
-
iva: number;
|
|
25
|
-
ivaPercibido: number;
|
|
26
|
-
renta5: number;
|
|
27
|
-
renta10: number;
|
|
28
|
-
subtotal: number;
|
|
29
|
-
ivaRetenido: number;
|
|
30
|
-
ventasExentas: number;
|
|
31
|
-
ventasNoSujetas: number;
|
|
32
|
-
ventaTotal: number;
|
|
33
|
-
ventaTotalText: string;
|
|
34
|
-
origin: string;
|
|
35
|
-
invoiceDate: string;
|
|
36
|
-
paymentConditionName: string;
|
|
37
|
-
sellerName: string;
|
|
38
|
-
zoneName: string;
|
|
39
|
-
createEntry: boolean;
|
|
40
|
-
NCDTotal: boolean;
|
|
41
|
-
customerBranch: CustomersBranchesResponse;
|
|
42
|
-
customer: CustomersResponse;
|
|
43
|
-
invoicesPaymentsCondition: InvoicesPaymentConditionsResponse;
|
|
44
|
-
invoicesSeller: InvoicesSellersResponse;
|
|
45
|
-
invoicesZone: InvoicesZonesResponse;
|
|
46
|
-
personType: SystemPersonTypesResponse;
|
|
47
|
-
customerTypeNatural: SystemNaturalTypesResponse;
|
|
48
|
-
documentType: InvoicesDocumentTypesResponse;
|
|
49
|
-
};
|
|
50
|
-
export type InvoicesResponse = Invoices;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoices.interfaces.js","sourceRoot":"","sources":["../../../src/invoices/Invoices/invoices.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type InvoicesPaymentConditons = {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
active: boolean;
|
|
5
|
-
cashPayment: boolean;
|
|
6
|
-
};
|
|
7
|
-
export type InvoicesPaymentConditionsRequest = Omit<InvoicesPaymentConditons, 'id' | 'active'>;
|
|
8
|
-
export type InvoicesPaymentConditionsResponse = InvoicesPaymentConditons;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoices.payment-conditions.interface.js","sourceRoot":"","sources":["../../../src/invoices/PaymentConditions/invoices.payment-conditions.interface.ts"],"names":[],"mappings":""}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { InvoicesZones } from '../Zones/invoices.zones.interfaces';
|
|
2
|
-
export interface InvoicesSellers {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
active: boolean;
|
|
6
|
-
invoicesZone: InvoicesZones;
|
|
7
|
-
}
|
|
8
|
-
export type InvoicesSellersRequest = Omit<InvoicesSellers, 'id' | 'active' | 'invoicesZone'> & {
|
|
9
|
-
invoicesZone: string;
|
|
10
|
-
};
|
|
11
|
-
export type InvoicesSellersResponse = InvoicesSellers;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoices.sellers.interface.js","sourceRoot":"","sources":["../../../src/invoices/Sellers/invoices.sellers.interface.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoices.statuses.interfaces.js","sourceRoot":"","sources":["../../../src/invoices/Statuses/invoices.statuses.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoices.zones.interfaces.js","sourceRoot":"","sources":["../../../src/invoices/Zones/invoices.zones.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type InvoicesDocumentTypes = {
|
|
2
|
-
id: number
|
|
3
|
-
name: string
|
|
4
|
-
code: string
|
|
5
|
-
includeInTaxes: boolean
|
|
6
|
-
showForNonTaxers: boolean
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export type InvoicesDocumentTypesRequest = Omit<InvoicesDocumentTypes, 'id'>
|
|
10
|
-
export type InvoicesDocumentTypesResponse = InvoicesDocumentTypes
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.interface'
|
|
2
|
-
|
|
3
|
-
export type InvoicesDocuments = {
|
|
4
|
-
id: string
|
|
5
|
-
authorization?: string
|
|
6
|
-
initial?: number
|
|
7
|
-
final?: number
|
|
8
|
-
current?: number
|
|
9
|
-
active: boolean
|
|
10
|
-
used: boolean
|
|
11
|
-
isCurrentDocument: boolean
|
|
12
|
-
documentType: Omit<InvoicesDocumentTypes, 'includeInTaxes, showForNonTaxers'>
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export type InvoicesDocumentsRequest = Omit<
|
|
16
|
-
InvoicesDocuments,
|
|
17
|
-
'id' | 'active' | 'used' | 'isCurrentDocument' | 'documentType'
|
|
18
|
-
> & {
|
|
19
|
-
documentType: number
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export type InvoicesDocumentsResponse = InvoicesDocuments
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { CustomersBranchesResponse } from '../../customers/Branches/customers.branches.types'
|
|
2
|
-
import { CustomersResponse } from '../../customers/Customers/customers.types'
|
|
3
|
-
import { SystemNaturalTypesResponse } from '../../system/NaturalTypes/system.natural-types.types'
|
|
4
|
-
import { SystemPersonTypesResponse } from '../../system/PersonTypes/system.person-types.types'
|
|
5
|
-
import { InvoicesDocumentTypesResponse } from '../DocumentTypes/invoices.document-types.interface'
|
|
6
|
-
import { InvoicesPaymentConditionsResponse } from '../PaymentConditions/invoices.payment-conditions.interface'
|
|
7
|
-
import { InvoicesSellersResponse } from '../Sellers/invoices.sellers.interface'
|
|
8
|
-
import { InvoicesZonesResponse } from '../Zones/invoices.zones.interfaces'
|
|
9
|
-
|
|
10
|
-
export type Invoices = {
|
|
11
|
-
id: string
|
|
12
|
-
authorization: string
|
|
13
|
-
sequence: string
|
|
14
|
-
customerName: string
|
|
15
|
-
customerAddress1: string
|
|
16
|
-
customerAddress2: string
|
|
17
|
-
customerCountry: string
|
|
18
|
-
customerState: string
|
|
19
|
-
customerCity: string
|
|
20
|
-
customerDui: string
|
|
21
|
-
customerNit: string
|
|
22
|
-
customerNrc: string
|
|
23
|
-
customerGiro: string
|
|
24
|
-
sum: number
|
|
25
|
-
iva: number
|
|
26
|
-
ivaPercibido: number
|
|
27
|
-
renta5: number
|
|
28
|
-
renta10: number
|
|
29
|
-
subtotal: number
|
|
30
|
-
ivaRetenido: number
|
|
31
|
-
ventasExentas: number
|
|
32
|
-
ventasNoSujetas: number
|
|
33
|
-
ventaTotal: number
|
|
34
|
-
ventaTotalText: string
|
|
35
|
-
origin: string
|
|
36
|
-
invoiceDate: string
|
|
37
|
-
paymentConditionName: string
|
|
38
|
-
sellerName: string
|
|
39
|
-
zoneName: string
|
|
40
|
-
createEntry: boolean
|
|
41
|
-
NCDTotal: boolean
|
|
42
|
-
customerBranch: CustomersBranchesResponse
|
|
43
|
-
customer: CustomersResponse
|
|
44
|
-
invoicesPaymentsCondition: InvoicesPaymentConditionsResponse
|
|
45
|
-
invoicesSeller: InvoicesSellersResponse
|
|
46
|
-
invoicesZone: InvoicesZonesResponse
|
|
47
|
-
// status: InvoicesStatusesEntity
|
|
48
|
-
personType: SystemPersonTypesResponse
|
|
49
|
-
customerTypeNatural: SystemNaturalTypesResponse
|
|
50
|
-
documentType: InvoicesDocumentTypesResponse
|
|
51
|
-
// invoiceDetails: InvoicesDetailsEntity[]
|
|
52
|
-
// echarges: Echarges
|
|
53
|
-
// accountingEntry: AccountingEntriesEntity
|
|
54
|
-
// relatedDocument: InvoicesEntity
|
|
55
|
-
// invoices: InvoicesEntity[]
|
|
56
|
-
// legalInstallments: LegalInstallmentsEntity[]
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export type InvoicesResponse = Invoices
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type InvoicesPaymentConditons = {
|
|
2
|
-
id: string
|
|
3
|
-
name: string
|
|
4
|
-
active: boolean
|
|
5
|
-
cashPayment: boolean
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export type InvoicesPaymentConditionsRequest = Omit<InvoicesPaymentConditons, 'id' | 'active'>
|
|
9
|
-
|
|
10
|
-
export type InvoicesPaymentConditionsResponse = InvoicesPaymentConditons
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { InvoicesZones } from '../Zones/invoices.zones.interfaces'
|
|
2
|
-
|
|
3
|
-
export interface InvoicesSellers {
|
|
4
|
-
id: string
|
|
5
|
-
name: string
|
|
6
|
-
active: boolean
|
|
7
|
-
invoicesZone: InvoicesZones
|
|
8
|
-
}
|
|
9
|
-
export type InvoicesSellersRequest = Omit<InvoicesSellers, 'id' | 'active' | 'invoicesZone'> & {
|
|
10
|
-
invoicesZone: string
|
|
11
|
-
}
|
|
12
|
-
export type InvoicesSellersResponse = InvoicesSellers
|