@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
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type InvoicesDocumentTypesGetSingleResponse =
|
|
1
|
+
import { InvoicesDocumentTypes } from '../invoices.document-types.type';
|
|
2
|
+
export type InvoicesDocumentTypesGetSingleResponse = InvoicesDocumentTypes;
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./GetMany/Response"), exports);
|
|
18
18
|
__exportStar(require("./GetSingle/Response"), exports);
|
|
19
|
+
__exportStar(require("./invoices.document-types.type"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/DocumentTypes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/DocumentTypes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC;AACpC,iEAA8C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoices.document-types.type.js","sourceRoot":"","sources":["../../../src/invoices/DocumentTypes/invoices.document-types.type.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type InvoicesDocumentsCreateSingleRequest =
|
|
1
|
+
import { InvoicesDocuments } from '../invoices.documents.type';
|
|
2
|
+
export type InvoicesDocumentsCreateSingleRequest = Pick<InvoicesDocuments, 'authorization' | 'initial' | 'final'> & {
|
|
3
|
+
documentType: number;
|
|
4
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GetManyResponse } from '../../../interfaces';
|
|
2
|
-
import {
|
|
2
|
+
import { InvoicesDocuments } from '../invoices.documents.type';
|
|
3
3
|
export type InvoicesDocumentsGetManyResponse = GetManyResponse & {
|
|
4
|
-
data: Array<
|
|
4
|
+
data: Array<InvoicesDocuments>;
|
|
5
5
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type InvoicesDocumentsGetSingleResponse =
|
|
1
|
+
import { InvoicesDocuments } from '../invoices.documents.type';
|
|
2
|
+
export type InvoicesDocumentsGetSingleResponse = InvoicesDocuments;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type InvoicesDocumentsUpdateSingleRequest = Partial<
|
|
1
|
+
import { InvoicesDocumentsCreateSingleRequest } from '../CreateSingle/Request';
|
|
2
|
+
export type InvoicesDocumentsUpdateSingleRequest = Partial<InvoicesDocumentsCreateSingleRequest>;
|
|
@@ -30,4 +30,5 @@ __exportStar(require("./UpdateSingle/Request"), exports);
|
|
|
30
30
|
__exportStar(require("./UpdateSingle/Response"), exports);
|
|
31
31
|
__exportStar(require("./UpdateSingleStatus/Request"), exports);
|
|
32
32
|
__exportStar(require("./UpdateSingleStatus/Response"), exports);
|
|
33
|
+
__exportStar(require("./invoices.documents.type"), exports);
|
|
33
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Documents/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,6DAA0C;AAC1C,uDAAoC;AACpC,wDAAqC;AACrC,+DAA4C;AAC5C,gEAA6C;AAC7C,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Documents/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,6DAA0C;AAC1C,uDAAoC;AACpC,wDAAqC;AACrC,+DAA4C;AAC5C,gEAA6C;AAC7C,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C;AAC7C,4DAAyC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type';
|
|
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: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>;
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoices.documents.type.js","sourceRoot":"","sources":["../../../src/invoices/Documents/invoices.documents.type.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { InvoicesDocumentTypes } from '../../DocumentTypes/invoices.document-types.
|
|
1
|
+
import { InvoicesDocumentTypes } from '../../DocumentTypes/invoices.document-types.type';
|
|
2
2
|
export type InvoicesGetManyDocumentTypesResponse = InvoicesDocumentTypes[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GetManyResponse } from '../../../interfaces';
|
|
2
|
-
import {
|
|
2
|
+
import { Invoices } from '../invoices.types';
|
|
3
3
|
export type InvoicesGetManyResponse = GetManyResponse & {
|
|
4
|
-
data: Array<
|
|
4
|
+
data: Array<Pick<Invoices, 'id' | 'sequence'> & {
|
|
5
5
|
index: number;
|
|
6
6
|
}>;
|
|
7
7
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Invoices } from '../invoices.
|
|
1
|
+
import { Invoices } from '../invoices.types';
|
|
2
2
|
export type InvoicesGetSingleRequest = Invoices;
|
|
@@ -30,4 +30,5 @@ __exportStar(require("./UpdateMany/Request"), exports);
|
|
|
30
30
|
__exportStar(require("./UpdateMany/Response"), exports);
|
|
31
31
|
__exportStar(require("./UpdateSingle/Request"), exports);
|
|
32
32
|
__exportStar(require("./UpdateSingle/Response"), exports);
|
|
33
|
+
__exportStar(require("./invoices.types"), exports);
|
|
33
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,2DAAwC;AACxC,4DAAyC;AACzC,yDAAsC;AACtC,0DAAuC;AACvC,wDAAqC;AACrC,0DAAuC;AACvC,8DAA2C;AAC3C,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,2DAAwC;AACxC,4DAAyC;AACzC,yDAAsC;AACtC,0DAAuC;AACvC,wDAAqC;AACrC,0DAAuC;AACvC,8DAA2C;AAC3C,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,mDAAgC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
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: Omit<CustomersBranches, 'customer'>;
|
|
43
|
+
customer: Customers;
|
|
44
|
+
invoicesPaymentsCondition: Pick<InvoicesPaymentConditions, 'id' | 'name'>;
|
|
45
|
+
invoicesSeller: Pick<InvoicesSellers, 'id' | 'name'>;
|
|
46
|
+
invoicesZone: Pick<InvoicesZones, 'id' | 'name'>;
|
|
47
|
+
status: Pick<InvoicesStatuses, 'id' | 'name'>;
|
|
48
|
+
personType: Pick<SystemPersonTypes, 'id' | 'name'>;
|
|
49
|
+
customerTypeNatural: Pick<SystemNaturalTypes, 'id' | 'name'>;
|
|
50
|
+
documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>;
|
|
51
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoices.types.js","sourceRoot":"","sources":["../../../src/invoices/Invoices/invoices.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type InvoicesPaymentConditionsCreateSingleRequest =
|
|
1
|
+
import { InvoicesPaymentConditions } from '../invoices.payment-conditions.type';
|
|
2
|
+
export type InvoicesPaymentConditionsCreateSingleRequest = Omit<InvoicesPaymentConditions, 'id' | 'active'>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GetManyResponse } from '../../../interfaces';
|
|
2
|
-
import {
|
|
2
|
+
import { InvoicesPaymentConditions } from '../invoices.payment-conditions.type';
|
|
3
3
|
export type InvoicesPaymentConditionsGetManyResponse = GetManyResponse & {
|
|
4
|
-
data: Array<
|
|
4
|
+
data: Array<InvoicesPaymentConditions & {
|
|
5
5
|
index: number;
|
|
6
6
|
}>;
|
|
7
7
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type InvoicesPaymentConditionsGetSingleResponse =
|
|
1
|
+
import { InvoicesPaymentConditions } from '../invoices.payment-conditions.type';
|
|
2
|
+
export type InvoicesPaymentConditionsGetSingleResponse = Pick<InvoicesPaymentConditions, 'name'>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type InvoicesPaymentConditionsUpdateSingleRequest = Partial<
|
|
1
|
+
import { InvoicesPaymentConditionsCreateSingleRequest } from '../CreateSingle/Request';
|
|
2
|
+
export type InvoicesPaymentConditionsUpdateSingleRequest = Partial<InvoicesPaymentConditionsCreateSingleRequest>;
|
|
@@ -32,4 +32,5 @@ __exportStar(require("./UpdateSingle/Request"), exports);
|
|
|
32
32
|
__exportStar(require("./UpdateSingle/Response"), exports);
|
|
33
33
|
__exportStar(require("./UpdateSingleStatus/Request"), exports);
|
|
34
34
|
__exportStar(require("./UpdateSingleStatus/Response"), exports);
|
|
35
|
+
__exportStar(require("./invoices.payment-conditions.type"), exports);
|
|
35
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/PaymentConditions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,uDAAoC;AACpC,wDAAqC;AACrC,+DAA4C;AAC5C,gEAA6C;AAC7C,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/PaymentConditions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,uDAAoC;AACpC,wDAAqC;AACrC,+DAA4C;AAC5C,gEAA6C;AAC7C,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C;AAC7C,qEAAkD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoices.payment-conditions.type.js","sourceRoot":"","sources":["../../../src/invoices/PaymentConditions/invoices.payment-conditions.type.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type InvoicesSellersCreateSingleRequest =
|
|
1
|
+
import { InvoicesSellers } from '../invoices.sellers.type';
|
|
2
|
+
export type InvoicesSellersCreateSingleRequest = Omit<InvoicesSellers, 'id' | 'active' | 'invoicesZone'> & {
|
|
3
|
+
invoicesZone: string;
|
|
4
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GetManyResponse } from '../../../interfaces';
|
|
2
|
-
import {
|
|
2
|
+
import { InvoicesSellers } from '../invoices.sellers.type';
|
|
3
3
|
export type InvoicesSellersGetManyResponse = GetManyResponse & {
|
|
4
|
-
data: Array<
|
|
4
|
+
data: Array<InvoicesSellers & {
|
|
5
5
|
index: number;
|
|
6
6
|
}>;
|
|
7
7
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type InvoicesSellersGetSingleResponse =
|
|
1
|
+
import { InvoicesSellers } from '../invoices.sellers.type';
|
|
2
|
+
export type InvoicesSellersGetSingleResponse = InvoicesSellers;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type InvoicesSellersUpdateSingleRequest = Partial<
|
|
1
|
+
import { InvoicesSellersCreateSingleRequest } from '../CreateSingle/Request';
|
|
2
|
+
export type InvoicesSellersUpdateSingleRequest = Partial<InvoicesSellersCreateSingleRequest>;
|
|
@@ -32,4 +32,5 @@ __exportStar(require("./UpdateSingle/Request"), exports);
|
|
|
32
32
|
__exportStar(require("./UpdateSingle/Response"), exports);
|
|
33
33
|
__exportStar(require("./UpdateSingleStatus/Request"), exports);
|
|
34
34
|
__exportStar(require("./UpdateSingleStatus/Response"), exports);
|
|
35
|
+
__exportStar(require("./invoices.sellers.type"), exports);
|
|
35
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Sellers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,uDAAoC;AACpC,wDAAqC;AACrC,+DAA4C;AAC5C,gEAA6C;AAC7C,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Sellers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,uDAAoC;AACpC,wDAAqC;AACrC,+DAA4C;AAC5C,gEAA6C;AAC7C,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C;AAC7C,0DAAuC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoices.sellers.type.js","sourceRoot":"","sources":["../../../src/invoices/Sellers/invoices.sellers.type.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type InvoicesStatusesGetManyResponse = Array<
|
|
1
|
+
import { InvoicesStatusesGetSingleResponse } from '../GetSingle/Response';
|
|
2
|
+
export type InvoicesStatusesGetManyResponse = Array<InvoicesStatusesGetSingleResponse>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type InvoicesStatusesGetSingleResponse =
|
|
1
|
+
import { InvoicesStatuses } from '../invoices.statuses.type';
|
|
2
|
+
export type InvoicesStatusesGetSingleResponse = InvoicesStatuses;
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./GetMany/Response"), exports);
|
|
18
18
|
__exportStar(require("./GetSingle/Response"), exports);
|
|
19
|
+
__exportStar(require("./invoices.statuses.type"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Statuses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Statuses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC;AACpC,2DAAwC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoices.statuses.type.js","sourceRoot":"","sources":["../../../src/invoices/Statuses/invoices.statuses.type.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type InvoicesZonesCreateSingleRequest =
|
|
1
|
+
import { InvoicesZones } from '../invoices.zones.type';
|
|
2
|
+
export type InvoicesZonesCreateSingleRequest = Pick<InvoicesZones, 'name' | 'active'>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GetManyResponse } from '../../../interfaces';
|
|
2
|
-
import {
|
|
2
|
+
import { InvoicesZones } from '../invoices.zones.type';
|
|
3
3
|
export type InvoicesZonesGetManyResponse = GetManyResponse & {
|
|
4
|
-
data: Array<
|
|
4
|
+
data: Array<InvoicesZones & {
|
|
5
5
|
index: number;
|
|
6
6
|
}>;
|
|
7
7
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type InvoicesZonesGetSingleResponse =
|
|
1
|
+
import { InvoicesZones } from '../invoices.zones.type';
|
|
2
|
+
export type InvoicesZonesGetSingleResponse = InvoicesZones;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type InvoicesZonesUpdateSingleRequest =
|
|
1
|
+
import { InvoicesZonesCreateSingleRequest } from '../CreateSingle/Request';
|
|
2
|
+
export type InvoicesZonesUpdateSingleRequest = Partial<InvoicesZonesCreateSingleRequest>;
|
|
@@ -32,4 +32,5 @@ __exportStar(require("./UpdateSingle/Request"), exports);
|
|
|
32
32
|
__exportStar(require("./UpdateSingle/Response"), exports);
|
|
33
33
|
__exportStar(require("./UpdateSingleStatus/Request"), exports);
|
|
34
34
|
__exportStar(require("./UpdateSingleStatus/Response"), exports);
|
|
35
|
+
__exportStar(require("./invoices.zones.type"), exports);
|
|
35
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Zones/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,uDAAoC;AACpC,wDAAqC;AACrC,+DAA4C;AAC5C,gEAA6C;AAC7C,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Zones/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,uDAAoC;AACpC,wDAAqC;AACrC,+DAA4C;AAC5C,gEAA6C;AAC7C,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C;AAC7C,wDAAqC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoices.zones.type.js","sourceRoot":"","sources":["../../../src/invoices/Zones/invoices.zones.type.ts"],"names":[],"mappings":""}
|
package/lib/invoices/index.d.ts
CHANGED
package/lib/invoices/index.js
CHANGED
|
@@ -22,5 +22,4 @@ __exportStar(require("./PaymentConditions"), exports);
|
|
|
22
22
|
__exportStar(require("./Sellers/"), exports);
|
|
23
23
|
__exportStar(require("./Statuses/"), exports);
|
|
24
24
|
__exportStar(require("./Zones/"), exports);
|
|
25
|
-
__exportStar(require("./invoices.enum"), exports);
|
|
26
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA8B;AAC9B,mDAAgC;AAChC,+CAA4B;AAC5B,8CAA2B;AAC3B,sDAAmC;AACnC,6CAA0B;AAC1B,8CAA2B;AAC3B,2CAAwB
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA8B;AAC9B,mDAAgC;AAChC,+CAA4B;AAC5B,8CAA2B;AAC3B,sDAAmC;AACnC,6CAA0B;AAC1B,8CAA2B;AAC3B,2CAAwB"}
|
package/package.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InvoicesDocumentTypes } from '../invoices.document-types.type'
|
|
2
2
|
|
|
3
|
-
export type InvoicesDocumentTypesGetSingleResponse =
|
|
3
|
+
export type InvoicesDocumentTypesGetSingleResponse = InvoicesDocumentTypes
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InvoicesDocuments } from '../invoices.documents.type'
|
|
2
2
|
|
|
3
|
-
export type InvoicesDocumentsCreateSingleRequest =
|
|
3
|
+
export type InvoicesDocumentsCreateSingleRequest = Pick<
|
|
4
|
+
InvoicesDocuments,
|
|
5
|
+
'authorization' | 'initial' | 'final'
|
|
6
|
+
> & {
|
|
7
|
+
documentType: number
|
|
8
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetManyResponse } from '../../../interfaces'
|
|
2
|
-
import {
|
|
2
|
+
import { InvoicesDocuments } from '../invoices.documents.type'
|
|
3
3
|
|
|
4
4
|
export type InvoicesDocumentsGetManyResponse = GetManyResponse & {
|
|
5
|
-
data: Array<
|
|
5
|
+
data: Array<InvoicesDocuments>
|
|
6
6
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InvoicesDocuments } from '../invoices.documents.type'
|
|
2
2
|
|
|
3
|
-
export type InvoicesDocumentsGetSingleResponse =
|
|
3
|
+
export type InvoicesDocumentsGetSingleResponse = InvoicesDocuments
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InvoicesDocumentsCreateSingleRequest } from '../CreateSingle/Request'
|
|
2
2
|
|
|
3
|
-
export type InvoicesDocumentsUpdateSingleRequest = Partial<
|
|
3
|
+
export type InvoicesDocumentsUpdateSingleRequest = Partial<InvoicesDocumentsCreateSingleRequest>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type'
|
|
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: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>
|
|
13
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetManyResponse } from '../../../interfaces'
|
|
2
|
-
import {
|
|
2
|
+
import { Invoices } from '../invoices.types'
|
|
3
3
|
|
|
4
4
|
export type InvoicesGetManyResponse = GetManyResponse & {
|
|
5
|
-
data: Array<
|
|
5
|
+
data: Array<Pick<Invoices, 'id' | 'sequence'> & { index: number }>
|
|
6
6
|
}
|