@openbox/shared-types 0.2.19 → 0.2.21
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/Calculation/GetSingle/Request.d.ts +4 -4
- package/lib/invoices/Calculation/GetSingle/Response.d.ts +10 -16
- package/lib/invoices/DocumentTypes/GetMany/Response.d.ts +2 -0
- package/lib/invoices/DocumentTypes/GetMany/Response.js.map +1 -0
- package/lib/invoices/DocumentTypes/GetSingle/Response.d.ts +2 -0
- package/lib/invoices/DocumentTypes/GetSingle/Response.js.map +1 -0
- package/lib/invoices/DocumentTypes/index.d.ts +2 -0
- package/lib/invoices/DocumentTypes/index.js +19 -0
- package/lib/invoices/DocumentTypes/index.js.map +1 -0
- package/lib/invoices/DocumentTypes/invoices.document-types.interface.d.ts +9 -0
- package/lib/invoices/DocumentTypes/invoices.document-types.interface.js +3 -0
- package/lib/invoices/DocumentTypes/invoices.document-types.interface.js.map +1 -0
- package/lib/invoices/Documents/CreateMany/Request.d.ts +2 -0
- package/lib/invoices/Documents/CreateMany/Request.js.map +1 -0
- package/lib/invoices/Documents/CreateMany/Response.d.ts +2 -0
- package/lib/invoices/Documents/CreateMany/Response.js.map +1 -0
- package/lib/invoices/Documents/CreateSingle/Request.d.ts +2 -0
- package/lib/invoices/Documents/CreateSingle/Request.js.map +1 -0
- package/lib/invoices/Documents/CreateSingle/Response.d.ts +2 -0
- package/lib/invoices/Documents/CreateSingle/Response.js +3 -0
- package/lib/invoices/Documents/CreateSingle/Response.js.map +1 -0
- package/lib/invoices/Documents/GetMany/Response.d.ts +2 -2
- package/lib/invoices/Documents/GetSingle/Response.d.ts +2 -4
- package/lib/invoices/Documents/GetSingleLayout/Response.d.ts +9 -10
- package/lib/invoices/Documents/UpdateMany/Request.d.ts +4 -0
- package/lib/invoices/Documents/UpdateMany/Request.js.map +1 -0
- package/lib/invoices/Documents/UpdateMany/Response.d.ts +2 -0
- package/lib/invoices/Documents/UpdateMany/Response.js +3 -0
- package/lib/invoices/Documents/UpdateMany/Response.js.map +1 -0
- package/lib/invoices/Documents/UpdateManyStatuses/Request.d.ts +3 -3
- package/lib/invoices/Documents/UpdateSingle/Request.d.ts +2 -0
- package/lib/invoices/Documents/UpdateSingle/Request.js +3 -0
- package/lib/invoices/Documents/UpdateSingle/Request.js.map +1 -0
- package/lib/invoices/Documents/UpdateSingle/Response.js +3 -0
- package/lib/invoices/Documents/UpdateSingle/Response.js.map +1 -0
- package/lib/invoices/Documents/UpdateSingleStatus/Request.d.ts +3 -2
- package/lib/invoices/Documents/index.d.ts +8 -6
- package/lib/invoices/Documents/index.js +8 -6
- package/lib/invoices/Documents/index.js.map +1 -1
- package/lib/invoices/Documents/{documents.interfaces.d.ts → invoices.documents.interfaces.d.ts} +4 -2
- package/lib/invoices/Documents/invoices.documents.interfaces.js +3 -0
- package/lib/invoices/Documents/invoices.documents.interfaces.js.map +1 -0
- package/lib/invoices/Invoices/GetDocumentTypes/Response.d.ts +1 -1
- package/lib/invoices/Invoices/invoices.interfaces.d.ts +2 -2
- package/lib/invoices/PaymentConditions/DeleteMany/Request.d.ts +3 -0
- package/lib/invoices/PaymentConditions/DeleteMany/Request.js +3 -0
- package/lib/invoices/PaymentConditions/DeleteMany/Request.js.map +1 -0
- package/lib/invoices/PaymentConditions/UpdateSingle/Response.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/Sellers/CreateSingle/Request.d.ts +1 -1
- package/lib/invoices/Sellers/DeleteMany/Request.d.ts +3 -0
- package/lib/invoices/Sellers/DeleteMany/Request.js +3 -0
- package/lib/invoices/Sellers/DeleteMany/Request.js.map +1 -0
- package/lib/invoices/Sellers/UpdateMany/Request.d.ts +2 -2
- package/lib/invoices/Sellers/UpdateSingle/Request.d.ts +1 -1
- package/lib/invoices/Sellers/UpdateSingleStatus/Request.d.ts +3 -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.interface.d.ts +1 -1
- package/lib/invoices/Zones/CreateSingle/Request.d.ts +1 -1
- package/lib/invoices/Zones/DeleteMany/Request.d.ts +3 -0
- package/lib/invoices/Zones/DeleteMany/Request.js +3 -0
- package/lib/invoices/Zones/DeleteMany/Request.js.map +1 -0
- package/lib/invoices/Zones/UpdateManyStatuses/Request.d.ts +2 -2
- package/lib/invoices/Zones/UpdateSingle/Request.d.ts +1 -1
- package/lib/invoices/Zones/UpdateSingleStatus/Request.d.ts +3 -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.interfaces.d.ts +1 -1
- package/lib/invoices/index.d.ts +2 -1
- package/lib/invoices/index.js +2 -1
- package/lib/invoices/index.js.map +1 -1
- package/lib/services/SellingTypes/GetMany/Response.d.ts +1 -3
- package/lib/services/Services/UpdateMany/Request.d.ts +3 -3
- package/lib/system/Directory/system.directory.interfaces.d.ts +18 -0
- package/lib/system/Directory/system.directory.interfaces.js +3 -0
- package/lib/system/Directory/system.directory.interfaces.js.map +1 -0
- package/lib/system/Genders/system.genders.interfaces.d.ts +6 -0
- package/lib/system/Genders/system.genders.interfaces.js +3 -0
- package/lib/system/Genders/system.genders.interfaces.js.map +1 -0
- package/lib/system/Logs/system.logs.interfaces.d.ts +10 -0
- package/lib/system/Logs/system.logs.interfaces.js +3 -0
- package/lib/system/Logs/system.logs.interfaces.js.map +1 -0
- package/package.json +1 -1
- package/src/invoices/Calculation/GetSingle/Request.ts +2 -2
- package/src/invoices/Calculation/GetSingle/Response.ts +7 -13
- package/src/invoices/DocumentTypes/GetMany/Response.ts +3 -0
- package/src/invoices/DocumentTypes/GetSingle/Response.ts +3 -0
- package/src/invoices/DocumentTypes/index.ts +2 -0
- package/src/invoices/DocumentTypes/invoices.document-types.interface.ts +10 -0
- package/src/invoices/Documents/CreateMany/Request.ts +3 -0
- package/src/invoices/Documents/CreateMany/Response.ts +3 -0
- package/src/invoices/Documents/CreateSingle/Request.ts +3 -0
- package/src/invoices/Documents/CreateSingle/Response.ts +3 -0
- package/src/invoices/Documents/GetMany/Response.ts +2 -2
- package/src/invoices/Documents/GetSingle/Response.ts +2 -4
- package/src/invoices/Documents/GetSingleLayout/Response.ts +6 -8
- package/src/invoices/Documents/UpdateMany/Request.ts +7 -0
- package/src/invoices/Documents/UpdateMany/Response.ts +3 -0
- package/src/invoices/Documents/UpdateManyStatuses/Request.ts +2 -2
- package/src/invoices/Documents/UpdateSingle/Request.ts +3 -0
- package/src/invoices/Documents/UpdateSingleStatus/Request.ts +3 -3
- package/src/invoices/Documents/index.ts +8 -6
- package/src/invoices/Documents/{documents.interfaces.ts → invoices.documents.interfaces.ts} +7 -2
- package/src/invoices/Invoices/GetDocumentTypes/Response.ts +1 -1
- package/src/invoices/Invoices/invoices.interfaces.ts +2 -2
- package/src/invoices/PaymentConditions/DeleteMany/Request.ts +3 -0
- package/src/invoices/PaymentConditions/UpdateSingle/Response.ts +2 -2
- package/src/invoices/PaymentConditions/index.ts +1 -0
- package/src/invoices/Sellers/CreateSingle/Request.ts +1 -1
- package/src/invoices/Sellers/DeleteMany/Request.ts +3 -0
- package/src/invoices/Sellers/UpdateMany/Request.ts +2 -2
- package/src/invoices/Sellers/UpdateSingle/Request.ts +1 -1
- package/src/invoices/Sellers/UpdateSingleStatus/Request.ts +3 -3
- package/src/invoices/Sellers/index.ts +1 -0
- package/src/invoices/Sellers/invoices.sellers.interface.ts +1 -1
- package/src/invoices/Zones/CreateSingle/Request.ts +1 -1
- package/src/invoices/Zones/DeleteMany/Request.ts +3 -0
- package/src/invoices/Zones/UpdateManyStatuses/Request.ts +2 -3
- package/src/invoices/Zones/UpdateSingle/Request.ts +1 -1
- package/src/invoices/Zones/UpdateSingleStatus/Request.ts +3 -3
- package/src/invoices/Zones/index.ts +1 -0
- package/src/invoices/Zones/invoices.zones.interfaces.ts +1 -1
- package/src/invoices/index.ts +2 -1
- package/src/services/SellingTypes/GetMany/Response.ts +1 -3
- package/src/services/Services/UpdateMany/Request.ts +2 -2
- package/src/system/Directory/system.directory.interfaces.ts +27 -0
- package/src/system/Genders/system.genders.interfaces.ts +7 -0
- package/src/system/Logs/system.logs.interfaces.ts +14 -0
- package/lib/invoices/Documents/UpsertMany/Request.d.ts +0 -4
- package/lib/invoices/Documents/UpsertMany/Request.js.map +0 -1
- package/lib/invoices/Documents/UpsertMany/Response.d.ts +0 -2
- package/lib/invoices/Documents/UpsertMany/Response.js.map +0 -1
- package/lib/invoices/Documents/UpsertSingle/Request.d.ts +0 -2
- package/lib/invoices/Documents/UpsertSingle/Request.js.map +0 -1
- package/lib/invoices/Documents/UpsertSingle/Response.js.map +0 -1
- package/lib/invoices/Documents/UpsertSingleLayout/Request.d.ts +0 -11
- package/lib/invoices/Documents/UpsertSingleLayout/Request.js.map +0 -1
- package/lib/invoices/Documents/UpsertSingleLayout/Response.d.ts +0 -2
- package/lib/invoices/Documents/UpsertSingleLayout/Response.js.map +0 -1
- package/lib/invoices/Documents/documents.interfaces.js +0 -3
- package/lib/invoices/Documents/documents.interfaces.js.map +0 -1
- package/lib/invoices/invoices.interfaces.d.ts +0 -7
- package/lib/invoices/invoices.interfaces.js +0 -3
- package/lib/invoices/invoices.interfaces.js.map +0 -1
- package/src/invoices/Documents/UpsertMany/Request.ts +0 -5
- package/src/invoices/Documents/UpsertMany/Response.ts +0 -3
- package/src/invoices/Documents/UpsertSingle/Request.ts +0 -3
- package/src/invoices/Documents/UpsertSingleLayout/Request.ts +0 -16
- package/src/invoices/Documents/UpsertSingleLayout/Response.ts +0 -3
- package/src/invoices/invoices.interfaces.ts +0 -7
- /package/lib/invoices/{Documents/UpsertMany → DocumentTypes/GetMany}/Response.js +0 -0
- /package/lib/invoices/{Documents/UpsertSingle → DocumentTypes/GetSingle}/Response.js +0 -0
- /package/lib/invoices/Documents/{UpsertMany → CreateMany}/Request.js +0 -0
- /package/lib/invoices/Documents/{UpsertSingleLayout → CreateMany}/Response.js +0 -0
- /package/lib/invoices/Documents/{UpsertSingle → CreateSingle}/Request.js +0 -0
- /package/lib/invoices/Documents/{UpsertSingleLayout → UpdateMany}/Request.js +0 -0
- /package/lib/invoices/Documents/{UpsertSingle → UpdateSingle}/Response.d.ts +0 -0
- /package/src/invoices/Documents/{UpsertSingle → UpdateSingle}/Response.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type InvoicesCalculationsDetailsRequest = {
|
|
2
2
|
service: string;
|
|
3
3
|
quantity: number;
|
|
4
4
|
unitPrice: number;
|
|
@@ -7,9 +7,9 @@ export interface InvoicesCalculationsDetailsRequest {
|
|
|
7
7
|
incRenta5: boolean;
|
|
8
8
|
incRenta10: boolean;
|
|
9
9
|
chargeDescription: string;
|
|
10
|
-
}
|
|
11
|
-
export
|
|
10
|
+
};
|
|
11
|
+
export type InvoicesCalculationGetSingleRequest = {
|
|
12
12
|
document: string;
|
|
13
13
|
customer: string;
|
|
14
14
|
details: InvoicesCalculationsDetailsRequest[];
|
|
15
|
-
}
|
|
15
|
+
};
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
export interface InvoicesCalculationsServiceSellingType {
|
|
6
|
-
id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
}
|
|
9
|
-
export interface InvoicesCalculationsDetailsResponse {
|
|
1
|
+
import { ServicesSellingTypesResponse } from '../../../services/SellingTypes/services.selling-types.interface';
|
|
2
|
+
import { ServicesResponse } from '../../../services/Services/services.interface';
|
|
3
|
+
export type InvoicesCalculationsDetailsResponse = {
|
|
10
4
|
id: string;
|
|
11
5
|
quantity: number;
|
|
12
6
|
unitPrice: number;
|
|
@@ -23,17 +17,17 @@ export interface InvoicesCalculationsDetailsResponse {
|
|
|
23
17
|
vExenta?: number;
|
|
24
18
|
vGravada?: number;
|
|
25
19
|
chargeDescription: string;
|
|
26
|
-
service:
|
|
27
|
-
sellingType:
|
|
28
|
-
}
|
|
29
|
-
export
|
|
20
|
+
service: Pick<ServicesResponse, 'id' | 'name'>;
|
|
21
|
+
sellingType: ServicesSellingTypesResponse;
|
|
22
|
+
};
|
|
23
|
+
export type InvoicesCalculationsTotalsResponse = {
|
|
30
24
|
name: string;
|
|
31
25
|
amount: number;
|
|
32
26
|
id: string;
|
|
33
27
|
show: boolean;
|
|
34
28
|
style: string[];
|
|
35
|
-
}
|
|
36
|
-
export
|
|
29
|
+
};
|
|
30
|
+
export type InvoicesCalculationGetSingleResponse = {
|
|
37
31
|
details: InvoicesCalculationsDetailsResponse[];
|
|
38
32
|
totals: InvoicesCalculationsTotalsResponse[];
|
|
39
|
-
}
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/DocumentTypes/GetMany/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/DocumentTypes/GetSingle/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./GetMany/Response"), exports);
|
|
18
|
+
__exportStar(require("./GetSingle/Response"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/DocumentTypes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type InvoicesDocumentTypes = {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
code: string;
|
|
5
|
+
includeInTaxes: boolean;
|
|
6
|
+
showForNonTaxers: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type InvoicesDocumentTypesRequest = Omit<InvoicesDocumentTypes, 'id'>;
|
|
9
|
+
export type InvoicesDocumentTypesResponse = InvoicesDocumentTypes;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoices.document-types.interface.js","sourceRoot":"","sources":["../../../src/invoices/DocumentTypes/invoices.document-types.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Documents/CreateMany/Request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Documents/CreateMany/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Documents/CreateSingle/Request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Documents/CreateSingle/Response.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GetManyResponse } from '../../../interfaces';
|
|
2
|
-
import { InvoicesDocumentsResponse } from '../documents.interfaces';
|
|
2
|
+
import { InvoicesDocumentsResponse } from '../invoices.documents.interfaces';
|
|
3
3
|
export type InvoicesDocumentsGetManyResponse = GetManyResponse & {
|
|
4
|
-
data: InvoicesDocumentsResponse
|
|
4
|
+
data: Array<InvoicesDocumentsResponse>;
|
|
5
5
|
};
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import { InvoicesDocumentsResponse } from '../documents.interfaces';
|
|
2
|
-
export
|
|
3
|
-
data: InvoicesDocumentsResponse;
|
|
4
|
-
}
|
|
1
|
+
import { InvoicesDocumentsResponse } from '../invoices.documents.interfaces';
|
|
2
|
+
export type InvoicesDocumentsGetSingleResponse = InvoicesDocumentsResponse;
|
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type InvoicesDocumentsLayoutHelpers = {
|
|
2
2
|
length: number;
|
|
3
3
|
value: string;
|
|
4
4
|
type: string;
|
|
5
5
|
x: number;
|
|
6
6
|
y: number;
|
|
7
|
-
}
|
|
8
|
-
export type InvoicesDocumentsHeaderPositionsLayout = InvoicesDocumentsLayoutHelpers;
|
|
7
|
+
};
|
|
9
8
|
export type InvoicesDocumentsShortPositionsLayout = Omit<InvoicesDocumentsLayoutHelpers, 'y'>;
|
|
10
|
-
export
|
|
11
|
-
position_y:
|
|
12
|
-
height:
|
|
9
|
+
export type InvoicesDocumentsDetailsPositionsLayout = {
|
|
10
|
+
position_y: number;
|
|
11
|
+
height: number;
|
|
13
12
|
quantity: InvoicesDocumentsShortPositionsLayout;
|
|
14
13
|
description: InvoicesDocumentsShortPositionsLayout;
|
|
15
14
|
price: InvoicesDocumentsShortPositionsLayout;
|
|
16
15
|
sujeto: InvoicesDocumentsShortPositionsLayout;
|
|
17
16
|
exento: InvoicesDocumentsShortPositionsLayout;
|
|
18
17
|
afecto: InvoicesDocumentsShortPositionsLayout;
|
|
19
|
-
}
|
|
20
|
-
export
|
|
18
|
+
};
|
|
19
|
+
export type InvoicesDocumentsLayoutSingleResponse = {
|
|
21
20
|
configuration: string;
|
|
22
21
|
resolution: number[];
|
|
23
|
-
header:
|
|
22
|
+
header: InvoicesDocumentsLayoutHelpers[];
|
|
24
23
|
details: InvoicesDocumentsDetailsPositionsLayout;
|
|
25
24
|
totals: Omit<InvoicesDocumentsLayoutHelpers, 'length'>[];
|
|
26
25
|
fontSizeDetails: number;
|
|
27
26
|
fontSizeHeader: number;
|
|
28
27
|
fontSizeTotals: number;
|
|
29
|
-
}
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Documents/UpdateMany/Request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Documents/UpdateMany/Response.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
ids: string
|
|
1
|
+
export type InvoicesDocumentsUpdateManyStatusesRequest = {
|
|
2
|
+
ids: Array<string>;
|
|
3
3
|
active: boolean;
|
|
4
|
-
}
|
|
4
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Documents/UpdateSingle/Request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Documents/UpdateSingle/Response.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export type InvoicesDocumentsUpdateSingleStatusRequest = {
|
|
2
|
+
active: boolean;
|
|
3
|
+
};
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
+
export * from './CreateMany/Request';
|
|
2
|
+
export * from './CreateMany/Response';
|
|
3
|
+
export * from './CreateSingle/Request';
|
|
4
|
+
export * from './CreateSingle/Response';
|
|
1
5
|
export * from './GetMany/Request';
|
|
2
6
|
export * from './GetMany/Response';
|
|
3
7
|
export * from './GetSingle/Response';
|
|
4
8
|
export * from './GetSingleLayout/Response';
|
|
9
|
+
export * from './UpdateMany/Request';
|
|
10
|
+
export * from './UpdateMany/Response';
|
|
5
11
|
export * from './UpdateManyStatuses/Request';
|
|
6
12
|
export * from './UpdateManyStatuses/Response';
|
|
13
|
+
export * from './UpdateSingle/Request';
|
|
14
|
+
export * from './UpdateSingle/Response';
|
|
7
15
|
export * from './UpdateSingleStatus/Request';
|
|
8
16
|
export * from './UpdateSingleStatus/Response';
|
|
9
|
-
export * from './UpsertMany/Request';
|
|
10
|
-
export * from './UpsertMany/Response';
|
|
11
|
-
export * from './UpsertSingle/Request';
|
|
12
|
-
export * from './UpsertSingle/Response';
|
|
13
|
-
export * from './UpsertSingleLayout/Request';
|
|
14
|
-
export * from './UpsertSingleLayout/Response';
|
|
@@ -14,18 +14,20 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./CreateMany/Request"), exports);
|
|
18
|
+
__exportStar(require("./CreateMany/Response"), exports);
|
|
19
|
+
__exportStar(require("./CreateSingle/Request"), exports);
|
|
20
|
+
__exportStar(require("./CreateSingle/Response"), exports);
|
|
17
21
|
__exportStar(require("./GetMany/Request"), exports);
|
|
18
22
|
__exportStar(require("./GetMany/Response"), exports);
|
|
19
23
|
__exportStar(require("./GetSingle/Response"), exports);
|
|
20
24
|
__exportStar(require("./GetSingleLayout/Response"), exports);
|
|
25
|
+
__exportStar(require("./UpdateMany/Request"), exports);
|
|
26
|
+
__exportStar(require("./UpdateMany/Response"), exports);
|
|
21
27
|
__exportStar(require("./UpdateManyStatuses/Request"), exports);
|
|
22
28
|
__exportStar(require("./UpdateManyStatuses/Response"), exports);
|
|
29
|
+
__exportStar(require("./UpdateSingle/Request"), exports);
|
|
30
|
+
__exportStar(require("./UpdateSingle/Response"), exports);
|
|
23
31
|
__exportStar(require("./UpdateSingleStatus/Request"), exports);
|
|
24
32
|
__exportStar(require("./UpdateSingleStatus/Response"), exports);
|
|
25
|
-
__exportStar(require("./UpsertMany/Request"), exports);
|
|
26
|
-
__exportStar(require("./UpsertMany/Response"), exports);
|
|
27
|
-
__exportStar(require("./UpsertSingle/Request"), exports);
|
|
28
|
-
__exportStar(require("./UpsertSingle/Response"), exports);
|
|
29
|
-
__exportStar(require("./UpsertSingleLayout/Request"), exports);
|
|
30
|
-
__exportStar(require("./UpsertSingleLayout/Response"), exports);
|
|
31
33
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Documents/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,6DAA0C;AAC1C
|
|
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"}
|
package/lib/invoices/Documents/{documents.interfaces.d.ts → invoices.documents.interfaces.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InvoicesDocumentTypes } from '../invoices.
|
|
1
|
+
import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.interface';
|
|
2
2
|
export type InvoicesDocuments = {
|
|
3
3
|
id: string;
|
|
4
4
|
authorization?: string;
|
|
@@ -10,5 +10,7 @@ export type InvoicesDocuments = {
|
|
|
10
10
|
isCurrentDocument: boolean;
|
|
11
11
|
documentType: Omit<InvoicesDocumentTypes, 'includeInTaxes, showForNonTaxers'>;
|
|
12
12
|
};
|
|
13
|
-
export type InvoicesDocumentsRequest = Omit<InvoicesDocuments, 'id'
|
|
13
|
+
export type InvoicesDocumentsRequest = Omit<InvoicesDocuments, 'id' | 'active' | 'used' | 'isCurrentDocument' | 'documentType'> & {
|
|
14
|
+
documentType: number;
|
|
15
|
+
};
|
|
14
16
|
export type InvoicesDocumentsResponse = InvoicesDocuments;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoices.documents.interfaces.js","sourceRoot":"","sources":["../../../src/invoices/Documents/invoices.documents.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { InvoicesDocumentTypes } from '../../invoices.
|
|
1
|
+
import { InvoicesDocumentTypes } from '../../DocumentTypes/invoices.document-types.interface';
|
|
2
2
|
export type InvoicesInvoicesGetManyDocumentTypesResponse = InvoicesDocumentTypes[];
|
|
@@ -3,12 +3,12 @@ import { CustomersResponse } from '../../customers/Customers/customers.interface
|
|
|
3
3
|
import { SystemNaturalTypesGetSingleResponse } from '../../system/NaturalTypes/GetSingle/Response';
|
|
4
4
|
import { SystemPersonTypeGetSingleResponse } from '../../system/PersonTypes/GetSingle/Response';
|
|
5
5
|
import { InvoicesCalculationsDetailsResponse, InvoicesCalculationsTotalsResponse } from '../Calculation';
|
|
6
|
-
import {
|
|
6
|
+
import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.interface';
|
|
7
|
+
import { InvoicesDocumentsResponse } from '../Documents/invoices.documents.interfaces';
|
|
7
8
|
import { InvoicesPaymentConditionsResponse } from '../PaymentConditions/invoices.payment-conditions.interface';
|
|
8
9
|
import { InvoicesSellersResponse } from '../Sellers/invoices.sellers.interface';
|
|
9
10
|
import { InvoicesStatusesResponse } from '../Statuses/invoices.statuses.interfaces';
|
|
10
11
|
import { InvoicesZones } from '../Zones/invoices.zones.interfaces';
|
|
11
|
-
import { InvoicesDocumentTypes } from '../invoices.interfaces';
|
|
12
12
|
export type InvoicesDetails = InvoicesCalculationsDetailsResponse;
|
|
13
13
|
export type InvoicesTotals = InvoicesCalculationsTotalsResponse;
|
|
14
14
|
export type Invoices = {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/PaymentConditions/DeleteMany/Request.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type InvoicesPaymentsConditionsUpdateSingleResponse =
|
|
1
|
+
import { SingleResponse } from '../../../interfaces';
|
|
2
|
+
export type InvoicesPaymentsConditionsUpdateSingleResponse = SingleResponse;
|
|
@@ -2,6 +2,7 @@ export * from './CreateMany/Request';
|
|
|
2
2
|
export * from './CreateMany/Response';
|
|
3
3
|
export * from './CreateSingle/Request';
|
|
4
4
|
export * from './CreateSingle/Response';
|
|
5
|
+
export * from './DeleteMany/Request';
|
|
5
6
|
export * from './DeleteMany/Response';
|
|
6
7
|
export * from './DeleteSingle/Response';
|
|
7
8
|
export * from './GetMany/Request';
|
|
@@ -18,6 +18,7 @@ __exportStar(require("./CreateMany/Request"), exports);
|
|
|
18
18
|
__exportStar(require("./CreateMany/Response"), exports);
|
|
19
19
|
__exportStar(require("./CreateSingle/Request"), exports);
|
|
20
20
|
__exportStar(require("./CreateSingle/Response"), exports);
|
|
21
|
+
__exportStar(require("./DeleteMany/Request"), exports);
|
|
21
22
|
__exportStar(require("./DeleteMany/Response"), exports);
|
|
22
23
|
__exportStar(require("./DeleteSingle/Response"), exports);
|
|
23
24
|
__exportStar(require("./GetMany/Request"), exports);
|
|
@@ -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,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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { InvoicesSellersRequest } from '../invoices.sellers.interface';
|
|
2
|
-
export type InvoicesSellersCreateSingleRequest =
|
|
2
|
+
export type InvoicesSellersCreateSingleRequest = InvoicesSellersRequest;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Sellers/DeleteMany/Request.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type InvoicesSellersUpdateManyRequest = Array<
|
|
1
|
+
import { InvoicesSellersUpdateSingleRequest } from '../UpdateSingle/Request';
|
|
2
|
+
export type InvoicesSellersUpdateManyRequest = Array<InvoicesSellersUpdateSingleRequest & {
|
|
3
3
|
id: string;
|
|
4
4
|
}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { InvoicesSellersRequest } from '../invoices.sellers.interface';
|
|
2
|
-
export type InvoicesSellersUpdateSingleRequest =
|
|
2
|
+
export type InvoicesSellersUpdateSingleRequest = Partial<InvoicesSellersRequest>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export type InvoicesSellersUpdateSingleStatusRequest = {
|
|
2
|
+
active: boolean;
|
|
3
|
+
};
|
|
@@ -2,6 +2,7 @@ export * from './CreateMany/Request';
|
|
|
2
2
|
export * from './CreateMany/Response';
|
|
3
3
|
export * from './CreateSingle/Request';
|
|
4
4
|
export * from './CreateSingle/Response';
|
|
5
|
+
export * from './DeleteMany/Request';
|
|
5
6
|
export * from './DeleteMany/Response';
|
|
6
7
|
export * from './DeleteSingle/Response';
|
|
7
8
|
export * from './GetMany/Request';
|
|
@@ -18,6 +18,7 @@ __exportStar(require("./CreateMany/Request"), exports);
|
|
|
18
18
|
__exportStar(require("./CreateMany/Response"), exports);
|
|
19
19
|
__exportStar(require("./CreateSingle/Request"), exports);
|
|
20
20
|
__exportStar(require("./CreateSingle/Response"), exports);
|
|
21
|
+
__exportStar(require("./DeleteMany/Request"), exports);
|
|
21
22
|
__exportStar(require("./DeleteMany/Response"), exports);
|
|
22
23
|
__exportStar(require("./DeleteSingle/Response"), exports);
|
|
23
24
|
__exportStar(require("./GetMany/Request"), exports);
|
|
@@ -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,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"}
|
|
@@ -5,7 +5,7 @@ export interface InvoicesSellers {
|
|
|
5
5
|
active: boolean;
|
|
6
6
|
invoicesZone: InvoicesZones;
|
|
7
7
|
}
|
|
8
|
-
export type InvoicesSellersRequest = Omit<InvoicesSellers, 'id' | 'invoicesZone'> & {
|
|
8
|
+
export type InvoicesSellersRequest = Omit<InvoicesSellers, 'id' | 'active' | 'invoicesZone'> & {
|
|
9
9
|
invoicesZone: string;
|
|
10
10
|
};
|
|
11
11
|
export type InvoicesSellersResponse = InvoicesSellers;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { InvoicesZonesRequest } from '../invoices.zones.interfaces';
|
|
2
|
-
export type InvoicesZonesCreateSingleRequest =
|
|
2
|
+
export type InvoicesZonesCreateSingleRequest = InvoicesZonesRequest;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Zones/DeleteMany/Request.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { InvoicesZonesRequest } from '../invoices.zones.interfaces';
|
|
2
|
-
export type InvoicesZonesUpdateSingleRequest =
|
|
2
|
+
export type InvoicesZonesUpdateSingleRequest = InvoicesZonesRequest;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export type InvoicesZonesUpdateSingleStatusRequest = {
|
|
2
|
+
active: boolean;
|
|
3
|
+
};
|
|
@@ -2,6 +2,7 @@ export * from './CreateMany/Request';
|
|
|
2
2
|
export * from './CreateMany/Response';
|
|
3
3
|
export * from './CreateSingle/Request';
|
|
4
4
|
export * from './CreateSingle/Response';
|
|
5
|
+
export * from './DeleteMany/Request';
|
|
5
6
|
export * from './DeleteMany/Response';
|
|
6
7
|
export * from './DeleteSingle/Response';
|
|
7
8
|
export * from './GetMany/Request';
|
|
@@ -18,6 +18,7 @@ __exportStar(require("./CreateMany/Request"), exports);
|
|
|
18
18
|
__exportStar(require("./CreateMany/Response"), exports);
|
|
19
19
|
__exportStar(require("./CreateSingle/Request"), exports);
|
|
20
20
|
__exportStar(require("./CreateSingle/Response"), exports);
|
|
21
|
+
__exportStar(require("./DeleteMany/Request"), exports);
|
|
21
22
|
__exportStar(require("./DeleteMany/Response"), exports);
|
|
22
23
|
__exportStar(require("./DeleteSingle/Response"), exports);
|
|
23
24
|
__exportStar(require("./GetMany/Request"), exports);
|
|
@@ -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,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"}
|
package/lib/invoices/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export * from './Calculation/';
|
|
2
|
+
export * from './DocumentTypes/';
|
|
2
3
|
export * from './Documents/';
|
|
3
4
|
export * from './Invoices/';
|
|
4
5
|
export * from './PaymentConditions';
|
|
5
|
-
export * from './Sellers';
|
|
6
|
+
export * from './Sellers/';
|
|
6
7
|
export * from './Statuses/';
|
|
7
8
|
export * from './Zones/';
|