@openbox/shared-types 0.3.72 → 0.3.74

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 (27) hide show
  1. package/lib/invoices/Reports/SalesDetails/Request.d.ts +3 -3
  2. package/lib/invoices/Settings/GetGenerals/Response.d.ts +2 -0
  3. package/lib/invoices/Settings/GetGenerals/Response.js +3 -0
  4. package/lib/invoices/Settings/GetGenerals/Response.js.map +1 -0
  5. package/lib/invoices/Settings/UpdateGenerals/Request.d.ts +2 -0
  6. package/lib/invoices/Settings/UpdateGenerals/Request.js +3 -0
  7. package/lib/invoices/Settings/UpdateGenerals/Request.js.map +1 -0
  8. package/lib/invoices/Settings/UpdateGenerals/Response.d.ts +3 -0
  9. package/lib/invoices/Settings/UpdateGenerals/Response.js +3 -0
  10. package/lib/invoices/Settings/UpdateGenerals/Response.js.map +1 -0
  11. package/lib/invoices/Settings/index.d.ts +4 -0
  12. package/lib/invoices/Settings/index.js +21 -0
  13. package/lib/invoices/Settings/index.js.map +1 -0
  14. package/lib/invoices/Settings/invoices.settings.type.d.ts +5 -0
  15. package/lib/invoices/Settings/invoices.settings.type.js +3 -0
  16. package/lib/invoices/Settings/invoices.settings.type.js.map +1 -0
  17. package/lib/invoices/index.d.ts +1 -0
  18. package/lib/invoices/index.js +1 -0
  19. package/lib/invoices/index.js.map +1 -1
  20. package/package.json +1 -1
  21. package/src/invoices/Reports/SalesDetails/Request.ts +3 -3
  22. package/src/invoices/Settings/GetGenerals/Response.ts +3 -0
  23. package/src/invoices/Settings/UpdateGenerals/Request.ts +3 -0
  24. package/src/invoices/Settings/UpdateGenerals/Response.ts +3 -0
  25. package/src/invoices/Settings/index.ts +4 -0
  26. package/src/invoices/Settings/invoices.settings.type.ts +5 -0
  27. package/src/invoices/index.ts +1 -0
@@ -1,7 +1,7 @@
1
1
  export type InvoicesReportsSalesDetailsRequest = {
2
- type: 'pdf' | 'excel';
3
- startDate: string;
4
- endDate: string;
2
+ type: 'pdf' | 'xlsx';
3
+ startDate: Date;
4
+ endDate: Date;
5
5
  customer?: string;
6
6
  service?: string;
7
7
  documentType?: number;
@@ -0,0 +1,2 @@
1
+ import { InvoicesSettings } from '../invoices.settings.type';
2
+ export type InvoicesSettingsGetGeneralsResponse = InvoicesSettings;
@@ -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/Settings/GetGenerals/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { InvoicesSettingsGetGeneralsResponse } from '../GetGenerals/Response';
2
+ export type InvoicesSettingsUpdateGeneralsRequest = InvoicesSettingsGetGeneralsResponse;
@@ -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/Settings/UpdateGenerals/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type InvoicesSettingsUpdateGeneralsResponse = {
2
+ message: 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/Settings/UpdateGenerals/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export * from './GetGenerals/Response';
2
+ export * from './UpdateGenerals/Request';
3
+ export * from './UpdateGenerals/Response';
4
+ export * from './invoices.settings.type';
@@ -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("./GetGenerals/Response"), exports);
18
+ __exportStar(require("./UpdateGenerals/Request"), exports);
19
+ __exportStar(require("./UpdateGenerals/Response"), exports);
20
+ __exportStar(require("./invoices.settings.type"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,2DAAwC;AACxC,4DAAyC;AACzC,2DAAwC"}
@@ -0,0 +1,5 @@
1
+ export type InvoicesSettings = {
2
+ id: string;
3
+ allowCreateCustomers: boolean;
4
+ allowCreateServices: boolean;
5
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=invoices.settings.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoices.settings.type.js","sourceRoot":"","sources":["../../../src/invoices/Settings/invoices.settings.type.ts"],"names":[],"mappings":""}
@@ -6,6 +6,7 @@ export * from './Invoices/';
6
6
  export * from './PaymentConditions';
7
7
  export * from './Reports/';
8
8
  export * from './Sellers/';
9
+ export * from './Settings';
9
10
  export * from './Statuses/';
10
11
  export * from './Zones/';
11
12
  export * from './invoices.enums';
@@ -22,6 +22,7 @@ __exportStar(require("./Invoices/"), exports);
22
22
  __exportStar(require("./PaymentConditions"), exports);
23
23
  __exportStar(require("./Reports/"), exports);
24
24
  __exportStar(require("./Sellers/"), exports);
25
+ __exportStar(require("./Settings"), exports);
25
26
  __exportStar(require("./Statuses/"), exports);
26
27
  __exportStar(require("./Zones/"), exports);
27
28
  __exportStar(require("./invoices.enums"), 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,8CAA2B;AAC3B,sDAAmC;AACnC,6CAA0B;AAC1B,6CAA0B;AAC1B,8CAA2B;AAC3B,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,8CAA2B;AAC3B,sDAAmC;AACnC,6CAA0B;AAC1B,6CAA0B;AAC1B,6CAA0B;AAC1B,8CAA2B;AAC3B,2CAAwB;AACxB,mDAAgC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.72",
3
+ "version": "0.3.74",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,7 +1,7 @@
1
1
  export type InvoicesReportsSalesDetailsRequest = {
2
- type: 'pdf' | 'excel'
3
- startDate: string
4
- endDate: string
2
+ type: 'pdf' | 'xlsx'
3
+ startDate: Date
4
+ endDate: Date
5
5
  customer?: string
6
6
  service?: string
7
7
  documentType?: number
@@ -0,0 +1,3 @@
1
+ import { InvoicesSettings } from '../invoices.settings.type'
2
+
3
+ export type InvoicesSettingsGetGeneralsResponse = InvoicesSettings
@@ -0,0 +1,3 @@
1
+ import { InvoicesSettingsGetGeneralsResponse } from '../GetGenerals/Response'
2
+
3
+ export type InvoicesSettingsUpdateGeneralsRequest = InvoicesSettingsGetGeneralsResponse
@@ -0,0 +1,3 @@
1
+ export type InvoicesSettingsUpdateGeneralsResponse = {
2
+ message: string
3
+ }
@@ -0,0 +1,4 @@
1
+ export * from './GetGenerals/Response'
2
+ export * from './UpdateGenerals/Request'
3
+ export * from './UpdateGenerals/Response'
4
+ export * from './invoices.settings.type'
@@ -0,0 +1,5 @@
1
+ export type InvoicesSettings = {
2
+ id: string
3
+ allowCreateCustomers: boolean
4
+ allowCreateServices: boolean
5
+ }
@@ -6,6 +6,7 @@ export * from './Invoices/'
6
6
  export * from './PaymentConditions'
7
7
  export * from './Reports/'
8
8
  export * from './Sellers/'
9
+ export * from './Settings'
9
10
  export * from './Statuses/'
10
11
  export * from './Zones/'
11
12
  export * from './invoices.enums'