@openbox/shared-types 0.1.7 → 0.1.9

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.
@@ -0,0 +1,7 @@
1
+ class IManyServices {
2
+ ids: string[];
3
+ }
4
+
5
+ export default {
6
+ IManyServices
7
+ }
package/Services/index.ts CHANGED
@@ -1,48 +1,5 @@
1
- import { CompanyForReports, SellingTypes } from "../AuxiliarTypes";
1
+ import GetMany from "./GetMany";
2
2
 
3
- /**
4
- * Definicion de tipo para la respuesta de services GET /
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
+ }
package/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- import * as Services from "./Services";
2
-
3
- export {
4
- Services,
5
- };
1
+ export interface ServicesGetMany {
2
+ id: string
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "index.d.ts",
6
6
  "main": "index.d.ts",