@openbox/shared-types 0.5.65 → 0.5.67

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 (66) hide show
  1. package/lib/index.d.ts +1 -0
  2. package/lib/index.js +1 -0
  3. package/lib/index.js.map +1 -1
  4. package/lib/invoices/index.d.ts +0 -1
  5. package/lib/invoices/index.js +0 -1
  6. package/lib/invoices/index.js.map +1 -1
  7. package/lib/purchases/StatusesTypes/GetMany/Response.d.ts +4 -0
  8. package/lib/purchases/StatusesTypes/GetMany/Response.js.map +1 -0
  9. package/lib/purchases/StatusesTypes/GetSingle/Response.d.ts +2 -0
  10. package/lib/purchases/StatusesTypes/GetSingle/Response.js.map +1 -0
  11. package/lib/purchases/StatusesTypes/index.d.ts +3 -0
  12. package/lib/purchases/StatusesTypes/index.js +20 -0
  13. package/lib/purchases/StatusesTypes/index.js.map +1 -0
  14. package/lib/purchases/StatusesTypes/purchases.statuses-types.type.d.ts +4 -0
  15. package/lib/purchases/StatusesTypes/purchases.statuses-types.type.js +3 -0
  16. package/lib/purchases/StatusesTypes/purchases.statuses-types.type.js.map +1 -0
  17. package/lib/purchases/index.d.ts +1 -0
  18. package/lib/purchases/index.js +1 -0
  19. package/lib/purchases/index.js.map +1 -1
  20. package/lib/{invoices/Reports → reports/Invoices}/SalesDetails/Request.d.ts +1 -1
  21. package/lib/reports/Invoices/SalesDetails/Request.js.map +1 -0
  22. package/lib/reports/Invoices/SalesDetails/Response.d.ts +3 -0
  23. package/lib/reports/Invoices/SalesDetails/Response.js.map +1 -0
  24. package/lib/reports/Invoices/SalesDetailsPreview/Request.d.ts +2 -0
  25. package/lib/reports/Invoices/SalesDetailsPreview/Request.js.map +1 -0
  26. package/lib/reports/Invoices/SalesDetailsPreview/Response.d.ts +3 -0
  27. package/lib/reports/Invoices/SalesDetailsPreview/Response.js.map +1 -0
  28. package/lib/{invoices/Reports → reports/Invoices}/SalesList/Request.d.ts +1 -1
  29. package/lib/reports/Invoices/SalesList/Request.js.map +1 -0
  30. package/lib/reports/Invoices/SalesList/Response.d.ts +3 -0
  31. package/lib/reports/Invoices/SalesList/Response.js +3 -0
  32. package/lib/reports/Invoices/SalesList/Response.js.map +1 -0
  33. package/lib/reports/Invoices/SalesListPreview/Request.d.ts +2 -0
  34. package/lib/reports/Invoices/SalesListPreview/Request.js.map +1 -0
  35. package/lib/reports/Invoices/SalesListPreview/Response.d.ts +3 -0
  36. package/lib/reports/Invoices/SalesListPreview/Response.js +3 -0
  37. package/lib/reports/Invoices/SalesListPreview/Response.js.map +1 -0
  38. package/lib/{invoices/Reports → reports/Invoices}/index.js.map +1 -1
  39. package/lib/reports/index.d.ts +1 -0
  40. package/lib/reports/index.js +18 -0
  41. package/lib/reports/index.js.map +1 -0
  42. package/package.json +1 -1
  43. package/lib/invoices/Reports/SalesDetails/Request.js.map +0 -1
  44. package/lib/invoices/Reports/SalesDetails/Response.d.ts +0 -3
  45. package/lib/invoices/Reports/SalesDetails/Response.js.map +0 -1
  46. package/lib/invoices/Reports/SalesDetailsPreview/Request.d.ts +0 -2
  47. package/lib/invoices/Reports/SalesDetailsPreview/Request.js.map +0 -1
  48. package/lib/invoices/Reports/SalesDetailsPreview/Response.d.ts +0 -3
  49. package/lib/invoices/Reports/SalesDetailsPreview/Response.js.map +0 -1
  50. package/lib/invoices/Reports/SalesList/Request.js.map +0 -1
  51. package/lib/invoices/Reports/SalesList/Response.d.ts +0 -3
  52. package/lib/invoices/Reports/SalesList/Response.js.map +0 -1
  53. package/lib/invoices/Reports/SalesListPreview/Request.d.ts +0 -2
  54. package/lib/invoices/Reports/SalesListPreview/Request.js.map +0 -1
  55. package/lib/invoices/Reports/SalesListPreview/Response.d.ts +0 -3
  56. package/lib/invoices/Reports/SalesListPreview/Response.js.map +0 -1
  57. /package/lib/{invoices/Reports/SalesDetails → purchases/StatusesTypes/GetMany}/Response.js +0 -0
  58. /package/lib/{invoices/Reports/SalesDetailsPreview → purchases/StatusesTypes/GetSingle}/Response.js +0 -0
  59. /package/lib/{invoices/Reports → reports/Invoices}/SalesDetails/Request.js +0 -0
  60. /package/lib/{invoices/Reports/SalesList → reports/Invoices/SalesDetails}/Response.js +0 -0
  61. /package/lib/{invoices/Reports → reports/Invoices}/SalesDetailsPreview/Request.js +0 -0
  62. /package/lib/{invoices/Reports/SalesListPreview → reports/Invoices/SalesDetailsPreview}/Response.js +0 -0
  63. /package/lib/{invoices/Reports → reports/Invoices}/SalesList/Request.js +0 -0
  64. /package/lib/{invoices/Reports → reports/Invoices}/SalesListPreview/Request.js +0 -0
  65. /package/lib/{invoices/Reports → reports/Invoices}/index.d.ts +0 -0
  66. /package/lib/{invoices/Reports → reports/Invoices}/index.js +0 -0
package/lib/index.d.ts CHANGED
@@ -8,5 +8,6 @@ export * from './management';
8
8
  export * from './partners';
9
9
  export * from './providers';
10
10
  export * from './purchases';
11
+ export * from './reports';
11
12
  export * from './services';
12
13
  export * from './system';
package/lib/index.js CHANGED
@@ -24,6 +24,7 @@ __exportStar(require("./management"), exports);
24
24
  __exportStar(require("./partners"), exports);
25
25
  __exportStar(require("./providers"), exports);
26
26
  __exportStar(require("./purchases"), exports);
27
+ __exportStar(require("./reports"), exports);
27
28
  __exportStar(require("./services"), exports);
28
29
  __exportStar(require("./system"), exports);
29
30
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,yCAAsB;AACtB,8CAA2B;AAC3B,gDAA6B;AAC7B,6CAA0B;AAC1B,0CAAuB;AACvB,+CAA4B;AAC5B,6CAA0B;AAC1B,8CAA2B;AAC3B,8CAA2B;AAC3B,6CAA0B;AAC1B,2CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,yCAAsB;AACtB,8CAA2B;AAC3B,gDAA6B;AAC7B,6CAA0B;AAC1B,0CAAuB;AACvB,+CAA4B;AAC5B,6CAA0B;AAC1B,8CAA2B;AAC3B,8CAA2B;AAC3B,4CAAyB;AACzB,6CAA0B;AAC1B,2CAAwB"}
@@ -5,7 +5,6 @@ export * from './Documents/';
5
5
  export * from './Electronic/';
6
6
  export * from './Invoices/';
7
7
  export * from './PaymentConditions';
8
- export * from './Reports/';
9
8
  export * from './Sellers/';
10
9
  export * from './Settings';
11
10
  export * from './StatusesTypes';
@@ -21,7 +21,6 @@ __exportStar(require("./Documents/"), exports);
21
21
  __exportStar(require("./Electronic/"), exports);
22
22
  __exportStar(require("./Invoices/"), exports);
23
23
  __exportStar(require("./PaymentConditions"), exports);
24
- __exportStar(require("./Reports/"), exports);
25
24
  __exportStar(require("./Sellers/"), exports);
26
25
  __exportStar(require("./Settings"), exports);
27
26
  __exportStar(require("./StatusesTypes"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA8B;AAC9B,4CAAyB;AACzB,mDAAgC;AAChC,+CAA4B;AAC5B,gDAA6B;AAC7B,8CAA2B;AAC3B,sDAAmC;AACnC,6CAA0B;AAC1B,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,iDAA8B;AAC9B,4CAAyB;AACzB,mDAAgC;AAChC,+CAA4B;AAC5B,gDAA6B;AAC7B,8CAA2B;AAC3B,sDAAmC;AACnC,6CAA0B;AAC1B,6CAA0B;AAC1B,kDAA+B;AAC/B,2CAAwB;AACxB,mDAAgC"}
@@ -0,0 +1,4 @@
1
+ import { PurchasesStatusesTypesGetSingleResponse } from '../GetSingle/Response';
2
+ export type PurchasesStatusesGetManyResponse = {
3
+ data: Array<PurchasesStatusesTypesGetSingleResponse>;
4
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/purchases/StatusesTypes/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { PurchasesStatusesTypes } from '../purchases.statuses-types.type';
2
+ export type PurchasesStatusesTypesGetSingleResponse = PurchasesStatusesTypes;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/purchases/StatusesTypes/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from './GetMany/Response';
2
+ export * from './GetSingle/Response';
3
+ export * from './purchases.statuses-types.type';
@@ -0,0 +1,20 @@
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
+ __exportStar(require("./purchases.statuses-types.type"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/purchases/StatusesTypes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC;AACpC,kEAA+C"}
@@ -0,0 +1,4 @@
1
+ export type PurchasesStatusesTypes = {
2
+ id: number;
3
+ name: string;
4
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=purchases.statuses-types.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"purchases.statuses-types.type.js","sourceRoot":"","sources":["../../../src/purchases/StatusesTypes/purchases.statuses-types.type.ts"],"names":[],"mappings":""}
@@ -3,4 +3,5 @@ export * from './DocumentTypes';
3
3
  export * from './PaymentConditions';
4
4
  export * from './Purchases';
5
5
  export * from './Statuses';
6
+ export * from './StatusesTypes';
6
7
  export * from './purchases.enums';
@@ -19,5 +19,6 @@ __exportStar(require("./DocumentTypes"), exports);
19
19
  __exportStar(require("./PaymentConditions"), exports);
20
20
  __exportStar(require("./Purchases"), exports);
21
21
  __exportStar(require("./Statuses"), exports);
22
+ __exportStar(require("./StatusesTypes"), exports);
22
23
  __exportStar(require("./purchases.enums"), exports);
23
24
  //# 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,sDAAmC;AACnC,8CAA2B;AAC3B,6CAA0B;AAC1B,oDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/purchases/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,kDAA+B;AAC/B,sDAAmC;AACnC,8CAA2B;AAC3B,6CAA0B;AAC1B,kDAA+B;AAC/B,oDAAiC"}
@@ -1,4 +1,4 @@
1
- export type InvoicesReportsSalesDetailsRequest = {
1
+ export type ReportsInvoicesSalesDetailsRequest = {
2
2
  type: 'pdf' | 'xlsx';
3
3
  startDate: Date;
4
4
  endDate: Date;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/reports/Invoices/SalesDetails/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type ReportsInvoicesSalesDetailsResponse = {
2
+ url: string;
3
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/reports/Invoices/SalesDetails/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { ReportsInvoicesSalesDetailsRequest } from '../SalesDetails/Request';
2
+ export type ReportsInvoicesSalesDetailsPreviewRequest = Omit<ReportsInvoicesSalesDetailsRequest, 'type'>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/reports/Invoices/SalesDetailsPreview/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type ReportsInvoicesSalesDetailsPreviewResponse = {
2
+ url: string;
3
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/reports/Invoices/SalesDetailsPreview/Response.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- export type InvoicesReportsSalesListRequest = {
1
+ export type ReportsInvoicesSalesListRequest = {
2
2
  type: 'pdf' | 'xlsx';
3
3
  startDate: Date;
4
4
  endDate: Date;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/reports/Invoices/SalesList/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type ReportsInvoicesSalesListResponse = {
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/reports/Invoices/SalesList/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { ReportsInvoicesSalesListRequest } from '../SalesList/Request';
2
+ export type ReportsInvoicesSalesListPreviewRequest = Omit<ReportsInvoicesSalesListRequest, 'type'>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/reports/Invoices/SalesListPreview/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type ReportsInvoicesSalesListPreviewResponse = {
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/reports/Invoices/SalesListPreview/Response.ts"],"names":[],"mappings":""}
@@ -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;AAC9C,sDAAmC;AACnC,uDAAoC;AACpC,6DAA0C;AAC1C,8DAA2C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/reports/Invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,gEAA6C;AAC7C,iEAA8C;AAC9C,sDAAmC;AACnC,uDAAoC;AACpC,6DAA0C;AAC1C,8DAA2C"}
@@ -0,0 +1 @@
1
+ export * from './Invoices';
@@ -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("./Invoices"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/reports/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.5.65",
3
+ "version": "0.5.67",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Reports/SalesDetails/Request.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- export type InvoicesReportsSalesDetailsResponse = {
2
- url: string;
3
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Reports/SalesDetails/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { InvoicesReportsSalesDetailsRequest } from '../SalesDetails/Request';
2
- export type InvoicesReportsSalesDetailsPreviewRequest = Omit<InvoicesReportsSalesDetailsRequest, 'type'>;
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Reports/SalesDetailsPreview/Request.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- export type InvoicesReportsSalesDetailsPreviewResponse = {
2
- url: string;
3
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Reports/SalesDetailsPreview/Response.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Reports/SalesList/Request.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- export type InvoicesReportsSalesListResponse = {
2
- url: string;
3
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Reports/SalesList/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { InvoicesReportsSalesListRequest } from '../SalesList/Request';
2
- export type InvoicesReportsSalesListPreviewRequest = Omit<InvoicesReportsSalesListRequest, 'type'>;
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Reports/SalesListPreview/Request.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- export type InvoicesReportsSalesListPreviewResponse = {
2
- url: string;
3
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Reports/SalesListPreview/Response.ts"],"names":[],"mappings":""}