@openbox/shared-types 0.4.50 → 0.4.52

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 (42) hide show
  1. package/lib/inventories/Products/inventories.products.type.d.ts +3 -2
  2. package/lib/inventories/index.d.ts +0 -1
  3. package/lib/inventories/index.js +0 -1
  4. package/lib/inventories/index.js.map +1 -1
  5. package/lib/system/MeasurementUnits/GetMany/Request.d.ts +2 -0
  6. package/lib/system/MeasurementUnits/GetMany/Request.js.map +1 -0
  7. package/lib/system/MeasurementUnits/GetMany/Response.d.ts +7 -0
  8. package/lib/system/MeasurementUnits/GetMany/Response.js.map +1 -0
  9. package/lib/system/MeasurementUnits/GetSingle/Response.d.ts +2 -0
  10. package/lib/system/MeasurementUnits/GetSingle/Response.js.map +1 -0
  11. package/lib/{inventories/Units → system/MeasurementUnits}/index.d.ts +1 -1
  12. package/lib/{inventories/Units → system/MeasurementUnits}/index.js +1 -1
  13. package/lib/system/MeasurementUnits/index.js.map +1 -0
  14. package/lib/{inventories/Units/inventories.units.type.d.ts → system/MeasurementUnits/system.measurement-units.type.d.ts} +1 -1
  15. package/lib/{inventories/Units/inventories.units.type.js → system/MeasurementUnits/system.measurement-units.type.js} +1 -1
  16. package/lib/system/MeasurementUnits/system.measurement-units.type.js.map +1 -0
  17. package/lib/system/index.d.ts +1 -0
  18. package/lib/system/index.js +1 -0
  19. package/lib/system/index.js.map +1 -1
  20. package/package.json +1 -1
  21. package/src/System/MeasurementUnits/GetMany/Request.ts +3 -0
  22. package/src/System/MeasurementUnits/GetMany/Response.ts +6 -0
  23. package/src/System/MeasurementUnits/GetSingle/Response.ts +3 -0
  24. package/src/{inventories/Units → System/MeasurementUnits}/index.ts +1 -1
  25. package/src/{inventories/Units/inventories.units.type.ts → System/MeasurementUnits/system.measurement-units.type.ts} +1 -1
  26. package/src/System/index.ts +1 -0
  27. package/src/inventories/Products/inventories.products.type.ts +3 -2
  28. package/src/inventories/index.ts +0 -1
  29. package/lib/inventories/Units/GetMany/Request.d.ts +0 -2
  30. package/lib/inventories/Units/GetMany/Request.js.map +0 -1
  31. package/lib/inventories/Units/GetMany/Response.d.ts +0 -7
  32. package/lib/inventories/Units/GetMany/Response.js.map +0 -1
  33. package/lib/inventories/Units/GetSingle/Response.d.ts +0 -2
  34. package/lib/inventories/Units/GetSingle/Response.js.map +0 -1
  35. package/lib/inventories/Units/index.js.map +0 -1
  36. package/lib/inventories/Units/inventories.units.type.js.map +0 -1
  37. package/src/inventories/Units/GetMany/Request.ts +0 -3
  38. package/src/inventories/Units/GetMany/Response.ts +0 -6
  39. package/src/inventories/Units/GetSingle/Response.ts +0 -3
  40. /package/lib/{inventories/Units → system/MeasurementUnits}/GetMany/Request.js +0 -0
  41. /package/lib/{inventories/Units → system/MeasurementUnits}/GetMany/Response.js +0 -0
  42. /package/lib/{inventories/Units → system/MeasurementUnits}/GetSingle/Response.js +0 -0
@@ -1,6 +1,6 @@
1
+ import { SystemMeasurementUnits } from '../../System/MeasurementUnits';
1
2
  import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types';
2
3
  import { InventoriesCategories } from '../Categories';
3
- import { InventoriesUnits } from '../Units';
4
4
  export type InventoriesProducts = {
5
5
  id: string;
6
6
  name: string;
@@ -8,7 +8,8 @@ export type InventoriesProducts = {
8
8
  price: number;
9
9
  incIva: boolean;
10
10
  active: boolean;
11
+ individual_sale: boolean;
11
12
  sellingType: Omit<SystemSellingTypes, 'includeInServices' | 'includeInCustomers'>;
12
- unit: InventoriesUnits;
13
+ unit: SystemMeasurementUnits;
13
14
  category: Pick<InventoriesCategories, 'id' | 'name'>;
14
15
  };
@@ -1,3 +1,2 @@
1
1
  export * from './Categories';
2
2
  export * from './Products';
3
- export * from './Units';
@@ -16,5 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Categories"), exports);
18
18
  __exportStar(require("./Products"), exports);
19
- __exportStar(require("./Units"), exports);
20
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/inventories/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,6CAA0B;AAC1B,0CAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/inventories/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,6CAA0B"}
@@ -0,0 +1,2 @@
1
+ import { GetManyRequest } from '../../../interfaces';
2
+ export type SystemMeasurementUnitsGetManyRequest = GetManyRequest;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/system/MeasurementUnits/GetMany/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { GetManyResponse } from '../../../interfaces';
2
+ import { SystemMeasurementUnits } from '../system.measurement-units.type';
3
+ export type SystemMeasurementUnitsGetManyResponse = GetManyResponse & {
4
+ data: Array<SystemMeasurementUnits & {
5
+ index: number;
6
+ }>;
7
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/system/MeasurementUnits/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SystemMeasurementUnits } from '../system.measurement-units.type';
2
+ export type SystemMeasurementUnitsGetSingleResponse = SystemMeasurementUnits;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/system/MeasurementUnits/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
1
  export * from './GetMany/Request';
2
2
  export * from './GetMany/Response';
3
3
  export * from './GetSingle/Response';
4
- export * from './inventories.units.type';
4
+ export * from './system.measurement-units.type';
@@ -17,5 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./GetMany/Request"), exports);
18
18
  __exportStar(require("./GetMany/Response"), exports);
19
19
  __exportStar(require("./GetSingle/Response"), exports);
20
- __exportStar(require("./inventories.units.type"), exports);
20
+ __exportStar(require("./system.measurement-units.type"), exports);
21
21
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/MeasurementUnits/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,kEAA+C"}
@@ -1,4 +1,4 @@
1
- export type InventoriesUnits = {
1
+ export type SystemMeasurementUnits = {
2
2
  id: string;
3
3
  name: string;
4
4
  SVCode: string;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=inventories.units.type.js.map
3
+ //# sourceMappingURL=system.measurement-units.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.measurement-units.type.js","sourceRoot":"","sources":["../../../src/system/MeasurementUnits/system.measurement-units.type.ts"],"names":[],"mappings":""}
@@ -2,6 +2,7 @@ export * from './Cities/';
2
2
  export * from './Countries/';
3
3
  export * from './Directory/';
4
4
  export * from './Logs/';
5
+ export * from './MeasurementUnits';
5
6
  export * from './NaturalTypes';
6
7
  export * from './PersonTypes/';
7
8
  export * from './SV/';
@@ -18,6 +18,7 @@ __exportStar(require("./Cities/"), exports);
18
18
  __exportStar(require("./Countries/"), exports);
19
19
  __exportStar(require("./Directory/"), exports);
20
20
  __exportStar(require("./Logs/"), exports);
21
+ __exportStar(require("./MeasurementUnits"), exports);
21
22
  __exportStar(require("./NaturalTypes"), exports);
22
23
  __exportStar(require("./PersonTypes/"), exports);
23
24
  __exportStar(require("./SV/"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,+CAA4B;AAC5B,0CAAuB;AACvB,iDAA8B;AAC9B,iDAA8B;AAC9B,wCAAqB;AACrB,kDAA+B;AAC/B,4CAAyB;AACzB,gDAA6B;AAC7B,iDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,+CAA4B;AAC5B,0CAAuB;AACvB,qDAAkC;AAClC,iDAA8B;AAC9B,iDAA8B;AAC9B,wCAAqB;AACrB,kDAA+B;AAC/B,4CAAyB;AACzB,gDAA6B;AAC7B,iDAA8B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.4.50",
3
+ "version": "0.4.52",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -0,0 +1,3 @@
1
+ import { GetManyRequest } from '../../../interfaces'
2
+
3
+ export type SystemMeasurementUnitsGetManyRequest = GetManyRequest
@@ -0,0 +1,6 @@
1
+ import { GetManyResponse } from '../../../interfaces'
2
+ import { SystemMeasurementUnits } from '../system.measurement-units.type'
3
+
4
+ export type SystemMeasurementUnitsGetManyResponse = GetManyResponse & {
5
+ data: Array<SystemMeasurementUnits & { index: number }>
6
+ }
@@ -0,0 +1,3 @@
1
+ import { SystemMeasurementUnits } from '../system.measurement-units.type'
2
+
3
+ export type SystemMeasurementUnitsGetSingleResponse = SystemMeasurementUnits
@@ -1,4 +1,4 @@
1
1
  export * from './GetMany/Request'
2
2
  export * from './GetMany/Response'
3
3
  export * from './GetSingle/Response'
4
- export * from './inventories.units.type'
4
+ export * from './system.measurement-units.type'
@@ -1,4 +1,4 @@
1
- export type InventoriesUnits = {
1
+ export type SystemMeasurementUnits = {
2
2
  id: string
3
3
  name: string
4
4
  SVCode: string
@@ -2,6 +2,7 @@ export * from './Cities/'
2
2
  export * from './Countries/'
3
3
  export * from './Directory/'
4
4
  export * from './Logs/'
5
+ export * from './MeasurementUnits'
5
6
  export * from './NaturalTypes'
6
7
  export * from './PersonTypes/'
7
8
  export * from './SV/'
@@ -1,6 +1,6 @@
1
+ import { SystemMeasurementUnits } from '../../System/MeasurementUnits'
1
2
  import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types'
2
3
  import { InventoriesCategories } from '../Categories'
3
- import { InventoriesUnits } from '../Units'
4
4
 
5
5
  export type InventoriesProducts = {
6
6
  id: string
@@ -9,7 +9,8 @@ export type InventoriesProducts = {
9
9
  price: number
10
10
  incIva: boolean
11
11
  active: boolean
12
+ individual_sale: boolean
12
13
  sellingType: Omit<SystemSellingTypes, 'includeInServices' | 'includeInCustomers'>
13
- unit: InventoriesUnits
14
+ unit: SystemMeasurementUnits
14
15
  category: Pick<InventoriesCategories, 'id' | 'name'>
15
16
  }
@@ -1,3 +1,2 @@
1
1
  export * from './Categories'
2
2
  export * from './Products'
3
- export * from './Units'
@@ -1,2 +0,0 @@
1
- import { GetManyRequest } from '../../../interfaces';
2
- export type InventoriesUnitsGetManyRequest = GetManyRequest;
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/inventories/Units/GetMany/Request.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { GetManyResponse } from '../../../interfaces';
2
- import { InventoriesUnits } from '../inventories.units.type';
3
- export type InventoriesUnitsGetManyResponse = GetManyResponse & {
4
- data: Array<InventoriesUnits & {
5
- index: number;
6
- }>;
7
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/inventories/Units/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { InventoriesUnits } from '../inventories.units.type';
2
- export type InventoriesUnitsGetSingleResponse = InventoriesUnits;
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/inventories/Units/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/inventories/Units/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,2DAAwC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"inventories.units.type.js","sourceRoot":"","sources":["../../../src/inventories/Units/inventories.units.type.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import { GetManyRequest } from '../../../interfaces'
2
-
3
- export type InventoriesUnitsGetManyRequest = GetManyRequest
@@ -1,6 +0,0 @@
1
- import { GetManyResponse } from '../../../interfaces'
2
- import { InventoriesUnits } from '../inventories.units.type'
3
-
4
- export type InventoriesUnitsGetManyResponse = GetManyResponse & {
5
- data: Array<InventoriesUnits & { index: number }>
6
- }
@@ -1,3 +0,0 @@
1
- import { InventoriesUnits } from '../inventories.units.type'
2
-
3
- export type InventoriesUnitsGetSingleResponse = InventoriesUnits