@openbox/shared-types 0.3.81 → 0.3.84

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
+ export type InvoicesReportsSalesListRequest = {
2
+ type: 'pdf' | 'xlsx';
3
+ startDate: Date;
4
+ endDate: Date;
5
+ customer?: string;
6
+ documentType?: number;
7
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Reports/SalesList/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type InvoicesReportsSalesListResponse = {
2
+ url: string;
3
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Reports/SalesList/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { InvoicesReportsSalesListRequest } from '../SalesList/Request';
2
+ export type InvoicesReportsSalesListPreviewRequest = Omit<InvoicesReportsSalesListRequest, 'type'>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Reports/SalesListPreview/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type InvoicesReportsSalesListPreviewResponse = {
2
+ url: string;
3
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Reports/SalesListPreview/Response.ts"],"names":[],"mappings":""}
@@ -2,3 +2,7 @@ export * from './SalesDetails/Request';
2
2
  export * from './SalesDetails/Response';
3
3
  export * from './SalesDetailsPreview/Request';
4
4
  export * from './SalesDetailsPreview/Response';
5
+ export * from './SalesList/Request';
6
+ export * from './SalesList/Response';
7
+ export * from './SalesListPreview/Request';
8
+ export * from './SalesListPreview/Response';
@@ -18,4 +18,8 @@ __exportStar(require("./SalesDetails/Request"), exports);
18
18
  __exportStar(require("./SalesDetails/Response"), exports);
19
19
  __exportStar(require("./SalesDetailsPreview/Request"), exports);
20
20
  __exportStar(require("./SalesDetailsPreview/Response"), exports);
21
+ __exportStar(require("./SalesList/Request"), exports);
22
+ __exportStar(require("./SalesList/Response"), exports);
23
+ __exportStar(require("./SalesListPreview/Request"), exports);
24
+ __exportStar(require("./SalesListPreview/Response"), exports);
21
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Reports/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,gEAA6C;AAC7C,iEAA8C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Reports/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,gEAA6C;AAC7C,iEAA8C;AAC9C,sDAAmC;AACnC,uDAAoC;AACpC,6DAA0C;AAC1C,8DAA2C"}
@@ -1,44 +1,25 @@
1
1
  export declare const SystemModules: {
2
- Services: {
2
+ Customers: {
3
3
  id: string;
4
4
  name: string;
5
- section: {
6
- main: string;
7
- sellingTypes: string;
8
- };
9
5
  };
10
- Invoices: {
6
+ Providers: {
11
7
  id: string;
12
8
  name: string;
13
- section: {
14
- main: string;
15
- documents: string;
16
- paymentConditions: string;
17
- reports: string;
18
- sellers: string;
19
- settings: string;
20
- zones: string;
21
- };
22
9
  };
23
- Accounting: {
10
+ Services: {
24
11
  id: string;
25
12
  name: string;
26
- section: {
27
- main: string;
28
- catalogs: string;
29
- reports: string;
30
- settings: string;
31
- };
32
13
  };
33
- Providers: {
14
+ Legal: {
34
15
  id: string;
35
16
  name: string;
36
17
  };
37
- Customers: {
18
+ Invoices: {
38
19
  id: string;
39
20
  name: string;
40
21
  };
41
- Taxes: {
22
+ Purchases: {
42
23
  id: string;
43
24
  name: string;
44
25
  };
@@ -46,15 +27,15 @@ export declare const SystemModules: {
46
27
  id: string;
47
28
  name: string;
48
29
  };
49
- Purchases: {
30
+ Receibable: {
50
31
  id: string;
51
32
  name: string;
52
33
  };
53
- Receibable: {
34
+ Accounting: {
54
35
  id: string;
55
36
  name: string;
56
37
  };
57
- Legal: {
38
+ Taxes: {
58
39
  id: string;
59
40
  name: string;
60
41
  };
@@ -2,64 +2,45 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SystemSellingTypesEnum = exports.SystemNaturalTypesEnum = exports.SystemPersonTypesEnum = exports.SystemTaxerTypesEnum = exports.SystemModules = void 0;
4
4
  exports.SystemModules = {
5
+ Customers: {
6
+ id: '9ff0b6f4-9c58-475b-b2dd-5eea6d7b66aa',
7
+ name: 'Customers',
8
+ },
9
+ Providers: {
10
+ id: 'f6000cbb-1e6d-4f7d-a7cc-cadd78d23076',
11
+ name: 'Providers',
12
+ },
5
13
  Services: {
6
14
  id: '0f88f2ea-aae9-44ad-8df0-0ee3debbf167',
7
15
  name: 'Services',
8
- section: {
9
- main: 'services',
10
- sellingTypes: 'selling-types',
11
- },
16
+ },
17
+ Legal: {
18
+ id: '2f39ef4d-768f-4c15-9472-9055c6c4a2ae',
19
+ name: 'Legal',
12
20
  },
13
21
  Invoices: {
14
22
  id: 'cfb8addb-541b-482f-8fa1-dfe5db03fdf4',
15
23
  name: 'Invoices',
16
- section: {
17
- main: 'invoices',
18
- documents: 'documents',
19
- paymentConditions: 'payment-conditions',
20
- reports: 'reports',
21
- sellers: 'sellers',
22
- settings: 'settings',
23
- zones: 'zones',
24
- },
25
- },
26
- Accounting: {
27
- id: 'a98b98e6-b2d5-42a3-853d-9516f64eade8',
28
- name: 'Accounting',
29
- section: {
30
- main: 'entries',
31
- catalogs: 'catalogs',
32
- reports: 'reports',
33
- settings: 'reports',
34
- },
35
- },
36
- Providers: {
37
- id: 'f6000cbb-1e6d-4f7d-a7cc-cadd78d23076',
38
- name: 'Providers',
39
- },
40
- Customers: {
41
- id: '9ff0b6f4-9c58-475b-b2dd-5eea6d7b66aa',
42
- name: 'Customers',
43
24
  },
44
- Taxes: {
45
- id: '53a36e54-bab2-4824-9e43-b40efab8bab9',
46
- name: 'Taxes',
25
+ Purchases: {
26
+ id: 'cf5e4b29-f09c-438a-8d82-2ef482a9a461',
27
+ name: 'Purchases',
47
28
  },
48
29
  Echarges: {
49
30
  id: '09a5c668-ab54-441e-9fb2-d24b36ae202e',
50
31
  name: 'Echarges',
51
32
  },
52
- Purchases: {
53
- id: 'cf5e4b29-f09c-438a-8d82-2ef482a9a461',
54
- name: 'Purchases',
55
- },
56
33
  Receibable: {
57
34
  id: '9c5dbbf2-ba8a-443d-b1ac-8bf23ea9a8e5',
58
35
  name: 'Receibable',
59
36
  },
60
- Legal: {
61
- id: '2f39ef4d-768f-4c15-9472-9055c6c4a2ae',
62
- name: 'Legal',
37
+ Accounting: {
38
+ id: 'a98b98e6-b2d5-42a3-853d-9516f64eade8',
39
+ name: 'Accounting',
40
+ },
41
+ Taxes: {
42
+ id: '53a36e54-bab2-4824-9e43-b40efab8bab9',
43
+ name: 'Taxes',
63
44
  },
64
45
  };
65
46
  var SystemTaxerTypesEnum;
@@ -1 +1 @@
1
- {"version":3,"file":"system.enums.js","sourceRoot":"","sources":["../../src/system/system.enums.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC3B,QAAQ,EAAE;QACR,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,UAAU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BAIX;AAJD,WAAY,qBAAqB;IAC/B,yEAAY,CAAA;IACZ,uEAAW,CAAA;IACX,6EAAc,CAAA;AAChB,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,mFAAgB,CAAA;IAChB,+EAAc,CAAA;AAChB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,2EAAY,CAAA;IACZ,uEAAU,CAAA;IACV,yEAAW,CAAA;AACb,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC"}
1
+ {"version":3,"file":"system.enums.js","sourceRoot":"","sources":["../../src/system/system.enums.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE;QACT,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,SAAS,EAAE;QACT,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,UAAU;KACjB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,OAAO;KACd;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,UAAU;KACjB;IACD,SAAS,EAAE;QACT,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,UAAU;KACjB;IACD,UAAU,EAAE;QACV,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,YAAY;KACnB;IACD,UAAU,EAAE;QACV,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,YAAY;KACnB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,OAAO;KACd;CACF,CAAA;AAED,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,iEAAS,CAAA;IACT,mEAAU,CAAA;IACV,iEAAS,CAAA;AACX,CAAC,EAJW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAI/B;AAED,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,yEAAY,CAAA;IACZ,uEAAW,CAAA;IACX,6EAAc,CAAA;AAChB,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,mFAAgB,CAAA;IAChB,+EAAc,CAAA;AAChB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,2EAAY,CAAA;IACZ,uEAAU,CAAA;IACV,yEAAW,CAAA;AACb,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.81",
3
+ "version": "0.3.84",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,62 +1,43 @@
1
1
  export const SystemModules = {
2
+ Customers: {
3
+ id: '9ff0b6f4-9c58-475b-b2dd-5eea6d7b66aa',
4
+ name: 'Customers',
5
+ },
6
+ Providers: {
7
+ id: 'f6000cbb-1e6d-4f7d-a7cc-cadd78d23076',
8
+ name: 'Providers',
9
+ },
2
10
  Services: {
3
11
  id: '0f88f2ea-aae9-44ad-8df0-0ee3debbf167',
4
12
  name: 'Services',
5
- section: {
6
- main: 'services',
7
- sellingTypes: 'selling-types',
8
- },
13
+ },
14
+ Legal: {
15
+ id: '2f39ef4d-768f-4c15-9472-9055c6c4a2ae',
16
+ name: 'Legal',
9
17
  },
10
18
  Invoices: {
11
19
  id: 'cfb8addb-541b-482f-8fa1-dfe5db03fdf4',
12
20
  name: 'Invoices',
13
- section: {
14
- main: 'invoices',
15
- documents: 'documents',
16
- paymentConditions: 'payment-conditions',
17
- reports: 'reports',
18
- sellers: 'sellers',
19
- settings: 'settings',
20
- zones: 'zones',
21
- },
22
- },
23
- Accounting: {
24
- id: 'a98b98e6-b2d5-42a3-853d-9516f64eade8',
25
- name: 'Accounting',
26
- section: {
27
- main: 'entries',
28
- catalogs: 'catalogs',
29
- reports: 'reports',
30
- settings: 'reports',
31
- },
32
- },
33
- Providers: {
34
- id: 'f6000cbb-1e6d-4f7d-a7cc-cadd78d23076',
35
- name: 'Providers',
36
- },
37
- Customers: {
38
- id: '9ff0b6f4-9c58-475b-b2dd-5eea6d7b66aa',
39
- name: 'Customers',
40
21
  },
41
- Taxes: {
42
- id: '53a36e54-bab2-4824-9e43-b40efab8bab9',
43
- name: 'Taxes',
22
+ Purchases: {
23
+ id: 'cf5e4b29-f09c-438a-8d82-2ef482a9a461',
24
+ name: 'Purchases',
44
25
  },
45
26
  Echarges: {
46
27
  id: '09a5c668-ab54-441e-9fb2-d24b36ae202e',
47
28
  name: 'Echarges',
48
29
  },
49
- Purchases: {
50
- id: 'cf5e4b29-f09c-438a-8d82-2ef482a9a461',
51
- name: 'Purchases',
52
- },
53
30
  Receibable: {
54
31
  id: '9c5dbbf2-ba8a-443d-b1ac-8bf23ea9a8e5',
55
32
  name: 'Receibable',
56
33
  },
57
- Legal: {
58
- id: '2f39ef4d-768f-4c15-9472-9055c6c4a2ae',
59
- name: 'Legal',
34
+ Accounting: {
35
+ id: 'a98b98e6-b2d5-42a3-853d-9516f64eade8',
36
+ name: 'Accounting',
37
+ },
38
+ Taxes: {
39
+ id: '53a36e54-bab2-4824-9e43-b40efab8bab9',
40
+ name: 'Taxes',
60
41
  },
61
42
  }
62
43
 
@@ -0,0 +1,7 @@
1
+ export type InvoicesReportsSalesListRequest = {
2
+ type: 'pdf' | 'xlsx'
3
+ startDate: Date
4
+ endDate: Date
5
+ customer?: string
6
+ documentType?: number
7
+ }
@@ -0,0 +1,3 @@
1
+ export type InvoicesReportsSalesListResponse = {
2
+ url: string
3
+ }
@@ -0,0 +1,3 @@
1
+ import { InvoicesReportsSalesListRequest } from '../SalesList/Request'
2
+
3
+ export type InvoicesReportsSalesListPreviewRequest = Omit<InvoicesReportsSalesListRequest, 'type'>
@@ -0,0 +1,3 @@
1
+ export type InvoicesReportsSalesListPreviewResponse = {
2
+ url: string
3
+ }
@@ -2,3 +2,7 @@ export * from './SalesDetails/Request'
2
2
  export * from './SalesDetails/Response'
3
3
  export * from './SalesDetailsPreview/Request'
4
4
  export * from './SalesDetailsPreview/Response'
5
+ export * from './SalesList/Request'
6
+ export * from './SalesList/Response'
7
+ export * from './SalesListPreview/Request'
8
+ export * from './SalesListPreview/Response'