@openbox/shared-types 0.6.32 → 0.6.34

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.
Files changed (39) hide show
  1. package/lib/auth/Auth/GetSingleUser/Response.d.ts +2 -1
  2. package/lib/customers/Widgets/CustomersNew/Response.d.ts +2 -0
  3. package/lib/customers/Widgets/CustomersNew/Response.js +3 -0
  4. package/lib/customers/Widgets/CustomersNew/Response.js.map +1 -0
  5. package/lib/customers/Widgets/index.d.ts +1 -0
  6. package/lib/customers/Widgets/index.js +18 -0
  7. package/lib/customers/Widgets/index.js.map +1 -0
  8. package/lib/customers/index.d.ts +1 -0
  9. package/lib/customers/index.js +1 -0
  10. package/lib/customers/index.js.map +1 -1
  11. package/lib/interfaces.d.ts +4 -0
  12. package/lib/invoices/Widgets/SalesAverageTicket/Response.d.ts +2 -0
  13. package/lib/invoices/Widgets/SalesAverageTicket/Response.js +3 -0
  14. package/lib/invoices/Widgets/SalesAverageTicket/Response.js.map +1 -0
  15. package/lib/invoices/Widgets/SalesToDate/Response.d.ts +2 -0
  16. package/lib/invoices/Widgets/SalesToDate/Response.js +3 -0
  17. package/lib/invoices/Widgets/SalesToDate/Response.js.map +1 -0
  18. package/lib/invoices/Widgets/SalesTotalMonth/Response.d.ts +2 -0
  19. package/lib/invoices/Widgets/SalesTotalMonth/Response.js +3 -0
  20. package/lib/invoices/Widgets/SalesTotalMonth/Response.js.map +1 -0
  21. package/lib/invoices/Widgets/SalesTrend/Response.d.ts +2 -0
  22. package/lib/invoices/Widgets/SalesTrend/Response.js +3 -0
  23. package/lib/invoices/Widgets/SalesTrend/Response.js.map +1 -0
  24. package/lib/invoices/Widgets/index.d.ts +4 -0
  25. package/lib/invoices/Widgets/index.js +21 -0
  26. package/lib/invoices/Widgets/index.js.map +1 -0
  27. package/lib/invoices/index.d.ts +1 -0
  28. package/lib/invoices/index.js +1 -0
  29. package/lib/invoices/index.js.map +1 -1
  30. package/lib/purchases/Widgets/PurchasesTotal/Response.d.ts +2 -0
  31. package/lib/purchases/Widgets/PurchasesTotal/Response.js +3 -0
  32. package/lib/purchases/Widgets/PurchasesTotal/Response.js.map +1 -0
  33. package/lib/purchases/Widgets/index.d.ts +1 -0
  34. package/lib/purchases/Widgets/index.js +18 -0
  35. package/lib/purchases/Widgets/index.js.map +1 -0
  36. package/lib/purchases/index.d.ts +1 -0
  37. package/lib/purchases/index.js +1 -0
  38. package/lib/purchases/index.js.map +1 -1
  39. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ import { SystemSettingKeyTypeModuleAliases } from '../../../system';
1
2
  export type LoggedUserInfoProfileAccessBranchesModules = {
2
3
  id: string;
3
4
  name: string;
@@ -34,7 +35,7 @@ export type LoggedUserInfoWorkspaceCompanyInvoicesElectronicSv = {
34
35
  };
35
36
  export type LoggedUserInfoWorkspaceCompanySettings = {
36
37
  DECIMAL_PLACES: number;
37
- MODULE_ALIASES: Record<string, Array<string>>;
38
+ MODULE_ALIASES: SystemSettingKeyTypeModuleAliases;
38
39
  };
39
40
  export type LoggedUserInfoWorkspaceCompany = {
40
41
  id: string;
@@ -0,0 +1,2 @@
1
+ import { WidgetResponse } from '../../../interfaces';
2
+ export type CustomersWidgetsCustomersNewResponse = WidgetResponse;
@@ -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/customers/Widgets/CustomersNew/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export * from './CustomersNew/Response';
@@ -0,0 +1,18 @@
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("./CustomersNew/Response"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/customers/Widgets/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAuC"}
@@ -1,3 +1,4 @@
1
1
  export * from './Branches';
2
2
  export * from './Customers';
3
3
  export * from './Type';
4
+ export * from './Widgets';
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Branches"), exports);
18
18
  __exportStar(require("./Customers"), exports);
19
19
  __exportStar(require("./Type"), exports);
20
+ __exportStar(require("./Widgets"), exports);
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/customers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B;AAC3B,yCAAsB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/customers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B;AAC3B,yCAAsB;AACtB,4CAAyB"}
@@ -18,3 +18,7 @@ export type ManyResponse = {
18
18
  ids: Array<string>;
19
19
  message: string;
20
20
  };
21
+ export type WidgetResponse = {
22
+ current: number;
23
+ preview: number;
24
+ };
@@ -0,0 +1,2 @@
1
+ import { WidgetResponse } from '../../../interfaces';
2
+ export type InvoicesWidgetsSalesAverageTicketResponse = WidgetResponse;
@@ -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/Widgets/SalesAverageTicket/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { WidgetResponse } from '../../../interfaces';
2
+ export type InvoicesWidgetsSalesToDateResponse = WidgetResponse;
@@ -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/Widgets/SalesToDate/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { WidgetResponse } from '../../../interfaces';
2
+ export type InvoicesWidgetsSalesTotalMonthResponse = WidgetResponse;
@@ -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/Widgets/SalesTotalMonth/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { WidgetResponse } from '../../../interfaces';
2
+ export type InvoicesWidgetsSalesTrendResponse = WidgetResponse;
@@ -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/Widgets/SalesTrend/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export * from './SalesAverageTicket/Response';
2
+ export * from './SalesToDate/Response';
3
+ export * from './SalesTotalMonth/Response';
4
+ export * from './SalesTrend/Response';
@@ -0,0 +1,21 @@
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("./SalesAverageTicket/Response"), exports);
18
+ __exportStar(require("./SalesToDate/Response"), exports);
19
+ __exportStar(require("./SalesTotalMonth/Response"), exports);
20
+ __exportStar(require("./SalesTrend/Response"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Widgets/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA6C;AAC7C,yDAAsC;AACtC,6DAA0C;AAC1C,wDAAqC"}
@@ -8,5 +8,6 @@ export * from './PaymentConditions';
8
8
  export * from './Sellers/';
9
9
  export * from './Settings';
10
10
  export * from './StatusesTypes';
11
+ export * from './Widgets';
11
12
  export * from './Zones/';
12
13
  export * from './invoices.enums';
@@ -24,6 +24,7 @@ __exportStar(require("./PaymentConditions"), exports);
24
24
  __exportStar(require("./Sellers/"), exports);
25
25
  __exportStar(require("./Settings"), exports);
26
26
  __exportStar(require("./StatusesTypes"), exports);
27
+ __exportStar(require("./Widgets"), exports);
27
28
  __exportStar(require("./Zones/"), exports);
28
29
  __exportStar(require("./invoices.enums"), exports);
29
30
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,8CAA2B;AAC3B,mDAAgC;AAChC,+CAA4B;AAC5B,4CAAyB;AACzB,8CAA2B;AAC3B,sDAAmC;AACnC,6CAA0B;AAC1B,6CAA0B;AAC1B,kDAA+B;AAC/B,2CAAwB;AACxB,mDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,8CAA2B;AAC3B,mDAAgC;AAChC,+CAA4B;AAC5B,4CAAyB;AACzB,8CAA2B;AAC3B,sDAAmC;AACnC,6CAA0B;AAC1B,6CAA0B;AAC1B,kDAA+B;AAC/B,4CAAyB;AACzB,2CAAwB;AACxB,mDAAgC"}
@@ -0,0 +1,2 @@
1
+ import { WidgetResponse } from '../../../interfaces';
2
+ export type PurchasesWidgetsPurchasesTotalResponse = WidgetResponse;
@@ -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/purchases/Widgets/PurchasesTotal/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export * from './PurchasesTotal/Response';
@@ -0,0 +1,18 @@
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("./PurchasesTotal/Response"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/purchases/Widgets/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAAyC"}
@@ -6,4 +6,5 @@ export * from './Purchases';
6
6
  export * from './Settings';
7
7
  export * from './Statuses';
8
8
  export * from './StatusesTypes';
9
+ export * from './Widgets';
9
10
  export * from './purchases.enums';
@@ -22,5 +22,6 @@ __exportStar(require("./Purchases"), exports);
22
22
  __exportStar(require("./Settings"), exports);
23
23
  __exportStar(require("./Statuses"), exports);
24
24
  __exportStar(require("./StatusesTypes"), exports);
25
+ __exportStar(require("./Widgets"), exports);
25
26
  __exportStar(require("./purchases.enums"), exports);
26
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/purchases/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,kDAA+B;AAC/B,4CAAyB;AACzB,sDAAmC;AACnC,8CAA2B;AAC3B,6CAA0B;AAC1B,6CAA0B;AAC1B,kDAA+B;AAC/B,oDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/purchases/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,kDAA+B;AAC/B,4CAAyB;AACzB,sDAAmC;AACnC,8CAA2B;AAC3B,6CAA0B;AAC1B,6CAA0B;AAC1B,kDAA+B;AAC/B,4CAAyB;AACzB,oDAAiC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.6.32",
3
+ "version": "0.6.34",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",