@openbox/shared-types 0.1.7 → 0.1.8
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/Services/GetMany.ts +7 -0
- package/Services/index.ts +4 -47
- package/package.json +1 -1
package/Services/index.ts
CHANGED
|
@@ -1,48 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import GetMany from "./GetMany";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export type ServicesGET = {
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
cost: number;
|
|
10
|
-
sellingType: ServicesSellingTypes;
|
|
11
|
-
description: string;
|
|
12
|
-
incIva: boolean;
|
|
13
|
-
incRenta10: boolean;
|
|
14
|
-
incRenta5: boolean;
|
|
15
|
-
active: boolean;
|
|
16
|
-
cratedAt: string;
|
|
17
|
-
isUsed: boolean;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Definidicion para la respuesta de services GET /:id
|
|
22
|
-
*/
|
|
23
|
-
export interface ServicesGID extends ServicesGET {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Defnición de respuesta recibida en GET/report/general de services
|
|
27
|
-
*/
|
|
28
|
-
|
|
29
|
-
export type ServicesGeneralReport = {
|
|
30
|
-
company: CompanyForReports;
|
|
31
|
-
services: ServicesGET[];
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Definición de estructura de campos del obejeto sellynTypes
|
|
36
|
-
*/
|
|
37
|
-
export interface ServicesSellingTypes extends SellingTypes {
|
|
38
|
-
includeInServices: boolean;
|
|
39
|
-
includeInCustomers: boolean;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Definición de estrucutra para la respuesta de GET/:id/integrations/:shortName y GET/integration para services
|
|
44
|
-
*/
|
|
45
|
-
|
|
46
|
-
export type AccountingServicesIntegrations = {
|
|
47
|
-
accountingCatalogSales: string;
|
|
48
|
-
};
|
|
3
|
+
export default{
|
|
4
|
+
GetMany
|
|
5
|
+
}
|