@openbox/shared-types 0.4.53 → 0.4.55

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 (53) hide show
  1. package/lib/inventories/ProductsVariations/CreateMany/Request.d.ts +2 -0
  2. package/lib/inventories/ProductsVariations/CreateMany/Request.js +3 -0
  3. package/lib/inventories/ProductsVariations/CreateMany/Request.js.map +1 -0
  4. package/lib/inventories/ProductsVariations/CreateMany/Response.d.ts +2 -0
  5. package/lib/inventories/ProductsVariations/CreateMany/Response.js +3 -0
  6. package/lib/inventories/ProductsVariations/CreateMany/Response.js.map +1 -0
  7. package/lib/inventories/ProductsVariations/CreateSingle/Request.d.ts +2 -0
  8. package/lib/inventories/ProductsVariations/CreateSingle/Request.js +3 -0
  9. package/lib/inventories/ProductsVariations/CreateSingle/Request.js.map +1 -0
  10. package/lib/inventories/ProductsVariations/CreateSingle/Response.d.ts +2 -0
  11. package/lib/inventories/ProductsVariations/CreateSingle/Response.js +3 -0
  12. package/lib/inventories/ProductsVariations/CreateSingle/Response.js.map +1 -0
  13. package/lib/inventories/ProductsVariations/DeleteSingle/Response.d.ts +2 -0
  14. package/lib/inventories/ProductsVariations/DeleteSingle/Response.js +3 -0
  15. package/lib/inventories/ProductsVariations/DeleteSingle/Response.js.map +1 -0
  16. package/lib/inventories/ProductsVariations/GetMany/Request.d.ts +2 -0
  17. package/lib/inventories/ProductsVariations/GetMany/Request.js +3 -0
  18. package/lib/inventories/ProductsVariations/GetMany/Request.js.map +1 -0
  19. package/lib/inventories/ProductsVariations/GetMany/Response.d.ts +7 -0
  20. package/lib/inventories/ProductsVariations/GetMany/Response.js +3 -0
  21. package/lib/inventories/ProductsVariations/GetMany/Response.js.map +1 -0
  22. package/lib/inventories/ProductsVariations/GetSingle/Response.d.ts +2 -0
  23. package/lib/inventories/ProductsVariations/GetSingle/Response.js +3 -0
  24. package/lib/inventories/ProductsVariations/GetSingle/Response.js.map +1 -0
  25. package/lib/inventories/ProductsVariations/UpdateSingle/Request.d.ts +2 -0
  26. package/lib/inventories/ProductsVariations/UpdateSingle/Request.js +3 -0
  27. package/lib/inventories/ProductsVariations/UpdateSingle/Request.js.map +1 -0
  28. package/lib/inventories/ProductsVariations/UpdateSingle/Response.d.ts +2 -0
  29. package/lib/inventories/ProductsVariations/UpdateSingle/Response.js +3 -0
  30. package/lib/inventories/ProductsVariations/UpdateSingle/Response.js.map +1 -0
  31. package/lib/inventories/ProductsVariations/index.d.ts +11 -0
  32. package/lib/inventories/ProductsVariations/index.js +28 -0
  33. package/lib/inventories/ProductsVariations/index.js.map +1 -0
  34. package/lib/inventories/ProductsVariations/inventories.products-variations.type.d.ts +5 -0
  35. package/lib/inventories/ProductsVariations/inventories.products-variations.type.js +3 -0
  36. package/lib/inventories/ProductsVariations/inventories.products-variations.type.js.map +1 -0
  37. package/lib/inventories/index.d.ts +1 -0
  38. package/lib/inventories/index.js +1 -0
  39. package/lib/inventories/index.js.map +1 -1
  40. package/package.json +1 -1
  41. package/src/inventories/ProductsVariations/CreateMany/Request.ts +4 -0
  42. package/src/inventories/ProductsVariations/CreateMany/Response.ts +3 -0
  43. package/src/inventories/ProductsVariations/CreateSingle/Request.ts +6 -0
  44. package/src/inventories/ProductsVariations/CreateSingle/Response.ts +3 -0
  45. package/src/inventories/ProductsVariations/DeleteSingle/Response.ts +3 -0
  46. package/src/inventories/ProductsVariations/GetMany/Request.ts +3 -0
  47. package/src/inventories/ProductsVariations/GetMany/Response.ts +6 -0
  48. package/src/inventories/ProductsVariations/GetSingle/Response.ts +3 -0
  49. package/src/inventories/ProductsVariations/UpdateSingle/Request.ts +4 -0
  50. package/src/inventories/ProductsVariations/UpdateSingle/Response.ts +3 -0
  51. package/src/inventories/ProductsVariations/index.ts +11 -0
  52. package/src/inventories/ProductsVariations/inventories.products-variations.type.ts +5 -0
  53. package/src/inventories/index.ts +1 -0
@@ -0,0 +1,2 @@
1
+ import { InventoriesProductsVariationsCreateSingleRequest } from '../CreateSingle/Request';
2
+ export type InventoriesProductsVariationsCreateManyRequest = Array<InventoriesProductsVariationsCreateSingleRequest>;
@@ -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/inventories/ProductsVariations/CreateMany/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { ManyResponse } from '../../../interfaces';
2
+ export type InventoriesProductsVariationsCreateManyResponse = ManyResponse;
@@ -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/inventories/ProductsVariations/CreateMany/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { InventoriesProductsVariations } from '../inventories.products-variations.type';
2
+ export type InventoriesProductsVariationsCreateSingleRequest = Omit<InventoriesProductsVariations, 'id'>;
@@ -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/inventories/ProductsVariations/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type InventoriesProductsVariationsCreateSingleResponse = SingleResponse;
@@ -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/inventories/ProductsVariations/CreateSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type InventoriesProductsVariationsDeleteSingleResponse = SingleResponse;
@@ -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/inventories/ProductsVariations/DeleteSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { GetManyRequest } from '../../../interfaces';
2
+ export type InventoriesProductsVariationsGetManyRequest = GetManyRequest;
@@ -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/inventories/ProductsVariations/GetMany/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { GetManyResponse } from '../../../interfaces';
2
+ import { InventoriesProductsVariations } from '../inventories.products-variations.type';
3
+ export type InventoriesProductsVariationsGetManyResponse = GetManyResponse & {
4
+ data: Array<InventoriesProductsVariations & {
5
+ index: number;
6
+ }>;
7
+ };
@@ -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/inventories/ProductsVariations/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { InventoriesProductsVariations } from '../inventories.products-variations.type';
2
+ export type InventoriesProductsVariationsGetSingleResponse = InventoriesProductsVariations;
@@ -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/inventories/ProductsVariations/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { InventoriesProductsVariationsCreateSingleRequest } from '../CreateSingle/Request';
2
+ export type InventoriesProductsVariationsUpdateSingleRequest = Partial<InventoriesProductsVariationsCreateSingleRequest>;
@@ -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/inventories/ProductsVariations/UpdateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type InventoriesProductsVariationsUpdateSingleResponse = SingleResponse;
@@ -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/inventories/ProductsVariations/UpdateSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ export * from './CreateMany/Request';
2
+ export * from './CreateMany/Response';
3
+ export * from './CreateSingle/Request';
4
+ export * from './CreateSingle/Response';
5
+ export * from './DeleteSingle/Response';
6
+ export * from './GetMany/Request';
7
+ export * from './GetMany/Response';
8
+ export * from './GetSingle/Response';
9
+ export * from './UpdateSingle/Request';
10
+ export * from './UpdateSingle/Response';
11
+ export * from './inventories.products-variations.type';
@@ -0,0 +1,28 @@
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("./CreateMany/Request"), exports);
18
+ __exportStar(require("./CreateMany/Response"), exports);
19
+ __exportStar(require("./CreateSingle/Request"), exports);
20
+ __exportStar(require("./CreateSingle/Response"), exports);
21
+ __exportStar(require("./DeleteSingle/Response"), exports);
22
+ __exportStar(require("./GetMany/Request"), exports);
23
+ __exportStar(require("./GetMany/Response"), exports);
24
+ __exportStar(require("./GetSingle/Response"), exports);
25
+ __exportStar(require("./UpdateSingle/Request"), exports);
26
+ __exportStar(require("./UpdateSingle/Response"), exports);
27
+ __exportStar(require("./inventories.products-variations.type"), exports);
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/inventories/ProductsVariations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,yDAAsC;AACtC,0DAAuC;AACvC,yEAAsD"}
@@ -0,0 +1,5 @@
1
+ export type InventoriesProductsVariations = {
2
+ id: string;
3
+ name: string;
4
+ price: number;
5
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=inventories.products-variations.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventories.products-variations.type.js","sourceRoot":"","sources":["../../../src/inventories/ProductsVariations/inventories.products-variations.type.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * from './Categories';
2
2
  export * from './Products';
3
+ export * from './ProductsVariations';
@@ -16,4 +16,5 @@ 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("./ProductsVariations"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/inventories/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,6CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/inventories/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,6CAA0B;AAC1B,uDAAoC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.4.53",
3
+ "version": "0.4.55",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -0,0 +1,4 @@
1
+ import { InventoriesProductsVariationsCreateSingleRequest } from '../CreateSingle/Request'
2
+
3
+ export type InventoriesProductsVariationsCreateManyRequest =
4
+ Array<InventoriesProductsVariationsCreateSingleRequest>
@@ -0,0 +1,3 @@
1
+ import { ManyResponse } from '../../../interfaces'
2
+
3
+ export type InventoriesProductsVariationsCreateManyResponse = ManyResponse
@@ -0,0 +1,6 @@
1
+ import { InventoriesProductsVariations } from '../inventories.products-variations.type'
2
+
3
+ export type InventoriesProductsVariationsCreateSingleRequest = Omit<
4
+ InventoriesProductsVariations,
5
+ 'id'
6
+ >
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type InventoriesProductsVariationsCreateSingleResponse = SingleResponse
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type InventoriesProductsVariationsDeleteSingleResponse = SingleResponse
@@ -0,0 +1,3 @@
1
+ import { GetManyRequest } from '../../../interfaces'
2
+
3
+ export type InventoriesProductsVariationsGetManyRequest = GetManyRequest
@@ -0,0 +1,6 @@
1
+ import { GetManyResponse } from '../../../interfaces'
2
+ import { InventoriesProductsVariations } from '../inventories.products-variations.type'
3
+
4
+ export type InventoriesProductsVariationsGetManyResponse = GetManyResponse & {
5
+ data: Array<InventoriesProductsVariations & { index: number }>
6
+ }
@@ -0,0 +1,3 @@
1
+ import { InventoriesProductsVariations } from '../inventories.products-variations.type'
2
+
3
+ export type InventoriesProductsVariationsGetSingleResponse = InventoriesProductsVariations
@@ -0,0 +1,4 @@
1
+ import { InventoriesProductsVariationsCreateSingleRequest } from '../CreateSingle/Request'
2
+
3
+ export type InventoriesProductsVariationsUpdateSingleRequest =
4
+ Partial<InventoriesProductsVariationsCreateSingleRequest>
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type InventoriesProductsVariationsUpdateSingleResponse = SingleResponse
@@ -0,0 +1,11 @@
1
+ export * from './CreateMany/Request'
2
+ export * from './CreateMany/Response'
3
+ export * from './CreateSingle/Request'
4
+ export * from './CreateSingle/Response'
5
+ export * from './DeleteSingle/Response'
6
+ export * from './GetMany/Request'
7
+ export * from './GetMany/Response'
8
+ export * from './GetSingle/Response'
9
+ export * from './UpdateSingle/Request'
10
+ export * from './UpdateSingle/Response'
11
+ export * from './inventories.products-variations.type'
@@ -0,0 +1,5 @@
1
+ export type InventoriesProductsVariations = {
2
+ id: string
3
+ name: string
4
+ price: number
5
+ }
@@ -1,2 +1,3 @@
1
1
  export * from './Categories'
2
2
  export * from './Products'
3
+ export * from './ProductsVariations'