synunu-libs 1.0.31 → 1.0.33
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.
- package/dist/constants/patterns.constant.d.ts +7 -0
- package/dist/constants/patterns.constant.d.ts.map +1 -1
- package/dist/constants/patterns.constant.js +1 -0
- package/dist/constants/patterns.constant.js.map +1 -1
- package/dist/constants/permission.constant.d.ts +6 -0
- package/dist/constants/permission.constant.d.ts.map +1 -1
- package/dist/constants/permission.constant.js +1 -0
- package/dist/constants/permission.constant.js.map +1 -1
- package/dist/dto/index.d.ts +1 -2
- package/dist/dto/index.d.ts.map +1 -1
- package/dist/dto/index.js +1 -2
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/inventory-adjustment.dto.d.ts +25 -0
- package/dist/dto/inventory-adjustment.dto.d.ts.map +1 -0
- package/dist/dto/inventory-adjustment.dto.js +87 -0
- package/dist/dto/inventory-adjustment.dto.js.map +1 -0
- package/dist/dto/inventory-item.dto.d.ts +10 -13
- package/dist/dto/inventory-item.dto.d.ts.map +1 -1
- package/dist/dto/inventory-item.dto.js +23 -29
- package/dist/dto/inventory-item.dto.js.map +1 -1
- package/dist/dto/inventory-level.dto.d.ts +8 -13
- package/dist/dto/inventory-level.dto.d.ts.map +1 -1
- package/dist/dto/inventory-level.dto.js +19 -33
- package/dist/dto/inventory-level.dto.js.map +1 -1
- package/package.json +1 -1
|
@@ -191,6 +191,13 @@ export declare const MESSAGE_PATTERNS: {
|
|
|
191
191
|
readonly UPDATE: `${string}_update`;
|
|
192
192
|
readonly DELETE: `${string}_delete`;
|
|
193
193
|
} & ExtraPatterns<never>;
|
|
194
|
+
readonly INVENTORY_ADJUSTMENTS: {
|
|
195
|
+
readonly FIND_ALL: `${string}_find_all`;
|
|
196
|
+
readonly FIND_BY_ID: `${string}_find_by_id`;
|
|
197
|
+
readonly CREATE: `${string}_create`;
|
|
198
|
+
readonly UPDATE: `${string}_update`;
|
|
199
|
+
readonly DELETE: `${string}_delete`;
|
|
200
|
+
} & ExtraPatterns<never>;
|
|
194
201
|
};
|
|
195
202
|
readonly ORDER_SERVICE: {
|
|
196
203
|
readonly ORDER: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patterns.constant.d.ts","sourceRoot":"","sources":["../../src/constants/patterns.constant.ts"],"names":[],"mappings":"AAAA,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAkBzD,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"patterns.constant.d.ts","sourceRoot":"","sources":["../../src/constants/patterns.constant.ts"],"names":[],"mappings":"AAAA,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAkBzD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuGnB,CAAC"}
|
|
@@ -72,6 +72,7 @@ exports.MESSAGE_PATTERNS = {
|
|
|
72
72
|
TAGS: crudPatterns("tags"),
|
|
73
73
|
PRODUCT_TYPES: crudPatterns("productTypes"),
|
|
74
74
|
RECEIVE_INVENTORIES: crudPatterns("receiveInventories"),
|
|
75
|
+
INVENTORY_ADJUSTMENTS: crudPatterns("inventoryAdjustments"),
|
|
75
76
|
},
|
|
76
77
|
ORDER_SERVICE: {
|
|
77
78
|
ORDER: crudPatterns("order"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"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;QAC9B,QAAQ,EAAE,YAAY,CAAC,UAAU,CAAC;KACnC;IAED,gBAAgB,EAAE;QAChB,QAAQ,EAAE,YAAY,CAAC,UAAU,CAAC;QAClC,OAAO,EAAE,YAAY,CAAC,SAAS,EAAE;YAC/B,QAAQ,EAAE,kBAAkB;SAC7B,CAAC;KACH;IAED,eAAe,EAAE;QACf,OAAO,EAAE,YAAY,CAAC,SAAS,EAAE;YAC/B,WAAW,EAAE,qBAAqB;YAClC,YAAY,EAAE,sBAAsB;SACrC,CAAC;QACF,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC;QAC5B,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC;KAC7B;CACO,CAAC"}
|
|
@@ -145,6 +145,12 @@ export declare const PERMISSIONS: {
|
|
|
145
145
|
readonly UPDATE: `${string}:update`;
|
|
146
146
|
readonly DELETE: `${string}:delete`;
|
|
147
147
|
};
|
|
148
|
+
readonly INVENTORY_ADJUSTMENTS: {
|
|
149
|
+
readonly READ: `${string}:read`;
|
|
150
|
+
readonly CREATE: `${string}:create`;
|
|
151
|
+
readonly UPDATE: `${string}:update`;
|
|
152
|
+
readonly DELETE: `${string}:delete`;
|
|
153
|
+
};
|
|
148
154
|
};
|
|
149
155
|
readonly ORDER_SERVICE: {
|
|
150
156
|
readonly ORDER: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission.constant.d.ts","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"permission.constant.d.ts","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFd,CAAC"}
|
|
@@ -42,6 +42,7 @@ exports.PERMISSIONS = {
|
|
|
42
42
|
TAGS: crudPermissions("tags"),
|
|
43
43
|
PRODUCT_TYPES: crudPermissions("productTypes"),
|
|
44
44
|
RECEIVE_INVENTORIES: crudPermissions("receiveInventories"),
|
|
45
|
+
INVENTORY_ADJUSTMENTS: crudPermissions("inventoryAdjustments"),
|
|
45
46
|
},
|
|
46
47
|
ORDER_SERVICE: {
|
|
47
48
|
ORDER: crudPermissions("order"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission.constant.js","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":";;;AAEA,SAAS,eAAe,CACtB,MAAc,EACd,KAA2B;IAE3B,MAAM,IAAI,GAAG;QACX,IAAI,EAAE,GAAG,MAAM,OAAO;QACtB,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;KAClB,CAAC;IAEX,OAAO,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AAC9C,CAAC;AAEY,QAAA,WAAW,GAAG;IACzB,KAAK,EAAE;QACL,GAAG,EAAE,SAAS;KACf;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,eAAe,CAAC,aAAa,CAAC;QACrC,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;QAC/B,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;QAC/B,WAAW,EAAE,eAAe,CAAC,aAAa,CAAC;QAC3C,aAAa,EAAE,eAAe,CAAC,eAAe,CAAC;QAC/C,QAAQ,EAAE,eAAe,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AQ,EAAE,mBAAmB;QAC7B,gBAAgB,EAAE,kBAAkB;QACpC,aAAa,EAAE,eAAe;QAC9B,KAAK,EAAE,OAAO;QACd,YAAY,EAAE,eAAe,CAAC,cAAc,CAAC;KAC9C;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;KACtC;CACO,CAAC"}
|
package/dist/dto/index.d.ts
CHANGED
|
@@ -8,9 +8,7 @@ export * from "./user.dto";
|
|
|
8
8
|
export * from "./product.dto";
|
|
9
9
|
export * from "./product-image.dto";
|
|
10
10
|
export * from "./inventory-item.dto";
|
|
11
|
-
export * from "./inventory-items.dto";
|
|
12
11
|
export * from "./inventory-level.dto";
|
|
13
|
-
export * from "./inventory-levels.dto";
|
|
14
12
|
export * from "./inventory-location.dto";
|
|
15
13
|
export * from "./inventory-storage.dto";
|
|
16
14
|
export * from "./packsize.dto";
|
|
@@ -20,6 +18,7 @@ export * from "./product-type.dto";
|
|
|
20
18
|
export * from "./tag.dto";
|
|
21
19
|
export * from "./vendor.dto";
|
|
22
20
|
export * from "./receive-inventory.dto";
|
|
21
|
+
export * from "./inventory-adjustment.dto";
|
|
23
22
|
export * from "./date-range.input";
|
|
24
23
|
export * from "./translation.input";
|
|
25
24
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/dto/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAG3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
|
package/dist/dto/index.js
CHANGED
|
@@ -25,9 +25,7 @@ __exportStar(require("./user.dto"), exports);
|
|
|
25
25
|
__exportStar(require("./product.dto"), exports);
|
|
26
26
|
__exportStar(require("./product-image.dto"), exports);
|
|
27
27
|
__exportStar(require("./inventory-item.dto"), exports);
|
|
28
|
-
__exportStar(require("./inventory-items.dto"), exports);
|
|
29
28
|
__exportStar(require("./inventory-level.dto"), exports);
|
|
30
|
-
__exportStar(require("./inventory-levels.dto"), exports);
|
|
31
29
|
__exportStar(require("./inventory-location.dto"), exports);
|
|
32
30
|
__exportStar(require("./inventory-storage.dto"), exports);
|
|
33
31
|
__exportStar(require("./packsize.dto"), exports);
|
|
@@ -37,6 +35,7 @@ __exportStar(require("./product-type.dto"), exports);
|
|
|
37
35
|
__exportStar(require("./tag.dto"), exports);
|
|
38
36
|
__exportStar(require("./vendor.dto"), exports);
|
|
39
37
|
__exportStar(require("./receive-inventory.dto"), exports);
|
|
38
|
+
__exportStar(require("./inventory-adjustment.dto"), exports);
|
|
40
39
|
// share
|
|
41
40
|
__exportStar(require("./date-range.input"), exports);
|
|
42
41
|
__exportStar(require("./translation.input"), exports);
|
package/dist/dto/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,SAAS;AACT,6CAA2B;AAC3B,+CAA6B;AAC7B,mDAAiC;AACjC,6CAA2B;AAC3B,qDAAmC;AACnC,8CAA4B;AAC5B,6CAA2B;AAC3B,gDAA8B;AAC9B,sDAAoC;AACpC,uDAAqC;AACrC,wDAAsC;AACtC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,SAAS;AACT,6CAA2B;AAC3B,+CAA6B;AAC7B,mDAAiC;AACjC,6CAA2B;AAC3B,qDAAmC;AACnC,8CAA4B;AAC5B,6CAA2B;AAC3B,gDAA8B;AAC9B,sDAAoC;AACpC,uDAAqC;AACrC,wDAAsC;AACtC,2DAAyC;AACzC,0DAAwC;AACxC,iDAA+B;AAC/B,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,4CAA0B;AAC1B,+CAA6B;AAC7B,0DAAwC;AACxC,6DAA2C;AAE3C,QAAQ;AACR,qDAAmC;AACnC,sDAAoC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TranslationInput } from "./translation.input";
|
|
2
|
+
import { UserType } from "../enum";
|
|
3
|
+
import { DateRangeInput } from "./date-range.input";
|
|
4
|
+
export declare class CreateInventoryAdjustmentInput {
|
|
5
|
+
key: string;
|
|
6
|
+
label: TranslationInput;
|
|
7
|
+
icon?: string;
|
|
8
|
+
rootPath?: string;
|
|
9
|
+
path?: TranslationInput;
|
|
10
|
+
userType?: UserType;
|
|
11
|
+
order?: number;
|
|
12
|
+
visible?: boolean;
|
|
13
|
+
permissions?: string[];
|
|
14
|
+
parent?: string | null;
|
|
15
|
+
isActive?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare class InventoryAdjustmentFilterInput {
|
|
18
|
+
createdAt?: DateRangeInput;
|
|
19
|
+
}
|
|
20
|
+
declare const UpdateInventoryAdjustmentInput_base: import("@nestjs/common").Type<Partial<CreateInventoryAdjustmentInput>>;
|
|
21
|
+
export declare class UpdateInventoryAdjustmentInput extends UpdateInventoryAdjustmentInput_base {
|
|
22
|
+
_id: string;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=inventory-adjustment.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inventory-adjustment.dto.d.ts","sourceRoot":"","sources":["../../src/dto/inventory-adjustment.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBACa,8BAA8B;IAE3C,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,gBAAgB,CAAC;IAGxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAGxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAGpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,OAAO,CAAC;IAGlB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAGvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,qBACa,8BAA8B;IAE3C,SAAS,CAAC,EAAE,cAAc,CAAC;CAC1B;;AAED,qBACa,8BAA+B,SAAQ,mCAA2C;IAE/F,GAAG,EAAE,MAAM,CAAC;CACX"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UpdateInventoryAdjustmentInput = exports.InventoryAdjustmentFilterInput = exports.CreateInventoryAdjustmentInput = void 0;
|
|
13
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
+
const translation_input_1 = require("./translation.input");
|
|
15
|
+
const enum_1 = require("../enum");
|
|
16
|
+
const date_range_input_1 = require("./date-range.input");
|
|
17
|
+
let CreateInventoryAdjustmentInput = class CreateInventoryAdjustmentInput {
|
|
18
|
+
};
|
|
19
|
+
exports.CreateInventoryAdjustmentInput = CreateInventoryAdjustmentInput;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, graphql_1.Field)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateInventoryAdjustmentInput.prototype, "key", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, graphql_1.Field)(() => translation_input_1.TranslationInput),
|
|
26
|
+
__metadata("design:type", translation_input_1.TranslationInput)
|
|
27
|
+
], CreateInventoryAdjustmentInput.prototype, "label", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateInventoryAdjustmentInput.prototype, "icon", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreateInventoryAdjustmentInput.prototype, "rootPath", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, graphql_1.Field)(() => translation_input_1.TranslationInput, { nullable: true }),
|
|
38
|
+
__metadata("design:type", translation_input_1.TranslationInput)
|
|
39
|
+
], CreateInventoryAdjustmentInput.prototype, "path", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, graphql_1.Field)(() => enum_1.UserType, { nullable: true, defaultValue: enum_1.UserType.ADMIN }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CreateInventoryAdjustmentInput.prototype, "userType", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: 0 }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], CreateInventoryAdjustmentInput.prototype, "order", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
50
|
+
__metadata("design:type", Boolean)
|
|
51
|
+
], CreateInventoryAdjustmentInput.prototype, "visible", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, graphql_1.Field)(() => [String], { nullable: true, defaultValue: [] }),
|
|
54
|
+
__metadata("design:type", Array)
|
|
55
|
+
], CreateInventoryAdjustmentInput.prototype, "permissions", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], CreateInventoryAdjustmentInput.prototype, "parent", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
62
|
+
__metadata("design:type", Boolean)
|
|
63
|
+
], CreateInventoryAdjustmentInput.prototype, "isActive", void 0);
|
|
64
|
+
exports.CreateInventoryAdjustmentInput = CreateInventoryAdjustmentInput = __decorate([
|
|
65
|
+
(0, graphql_1.InputType)()
|
|
66
|
+
], CreateInventoryAdjustmentInput);
|
|
67
|
+
let InventoryAdjustmentFilterInput = class InventoryAdjustmentFilterInput {
|
|
68
|
+
};
|
|
69
|
+
exports.InventoryAdjustmentFilterInput = InventoryAdjustmentFilterInput;
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
72
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
73
|
+
], InventoryAdjustmentFilterInput.prototype, "createdAt", void 0);
|
|
74
|
+
exports.InventoryAdjustmentFilterInput = InventoryAdjustmentFilterInput = __decorate([
|
|
75
|
+
(0, graphql_1.InputType)()
|
|
76
|
+
], InventoryAdjustmentFilterInput);
|
|
77
|
+
let UpdateInventoryAdjustmentInput = class UpdateInventoryAdjustmentInput extends (0, graphql_1.PartialType)(CreateInventoryAdjustmentInput) {
|
|
78
|
+
};
|
|
79
|
+
exports.UpdateInventoryAdjustmentInput = UpdateInventoryAdjustmentInput;
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, graphql_1.Field)(() => String),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], UpdateInventoryAdjustmentInput.prototype, "_id", void 0);
|
|
84
|
+
exports.UpdateInventoryAdjustmentInput = UpdateInventoryAdjustmentInput = __decorate([
|
|
85
|
+
(0, graphql_1.InputType)()
|
|
86
|
+
], UpdateInventoryAdjustmentInput);
|
|
87
|
+
//# sourceMappingURL=inventory-adjustment.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inventory-adjustment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QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;;gEAC3B;yCAhCN,8BAA8B;IAD1C,IAAA,mBAAS,GAAE;GACC,8BAA8B,CAiC1C;AAGM,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;CAG1C,CAAA;AAHY,wEAA8B;AAE3C;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;iEAAC;yCAFd,8BAA8B;IAD1C,IAAA,mBAAS,GAAE;GACC,8BAA8B,CAG1C;AAGM,IAAM,8BAA8B,GAApC,MAAM,8BAA+B,SAAQ,IAAA,qBAAW,EAAC,8BAA8B,CAAC;CAG9F,CAAA;AAHY,wEAA8B;AAE3C;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2DACR;yCAFC,8BAA8B;IAD1C,IAAA,mBAAS,GAAE;GACC,8BAA8B,CAG1C"}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { TranslationInput } from "./translation.input";
|
|
2
|
-
import { UserType } from "../enum";
|
|
3
1
|
import { DateRangeInput } from "./date-range.input";
|
|
4
2
|
export declare class CreateInventoryItemInput {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
isActive?: boolean;
|
|
3
|
+
storeId: string;
|
|
4
|
+
productId: string;
|
|
5
|
+
variantId: string;
|
|
6
|
+
sku?: string;
|
|
7
|
+
barcode?: string;
|
|
8
|
+
tracked: boolean;
|
|
9
|
+
requiresShipping: boolean;
|
|
10
|
+
costPrice: number;
|
|
11
|
+
lotManagement: boolean;
|
|
12
|
+
alertBeforeExpiredInDay?: number | null;
|
|
16
13
|
}
|
|
17
14
|
export declare class InventoryItemFilterInput {
|
|
18
15
|
createdAt?: DateRangeInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inventory-item.dto.d.ts","sourceRoot":"","sources":["../../src/dto/inventory-item.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"inventory-item.dto.d.ts","sourceRoot":"","sources":["../../src/dto/inventory-item.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBACa,wBAAwB;IAEnC,OAAO,EAAE,MAAM,CAAC;IAGhB,SAAS,EAAE,MAAM,CAAC;IAGlB,SAAS,EAAE,MAAM,CAAC;IAGlB,GAAG,CAAC,EAAE,MAAM,CAAC;IAGb,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,OAAO,EAAE,OAAO,CAAC;IAGjB,gBAAgB,EAAE,OAAO,CAAC;IAG1B,SAAS,EAAE,MAAM,CAAC;IAGlB,aAAa,EAAE,OAAO,CAAC;IAGvB,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzC;AACD,qBACa,wBAAwB;IAEnC,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,wBAAyB,SAAQ,6BAE7C;IAEC,GAAG,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -11,56 +11,50 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.UpdateInventoryItemInput = exports.InventoryItemFilterInput = exports.CreateInventoryItemInput = void 0;
|
|
13
13
|
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
-
const translation_input_1 = require("./translation.input");
|
|
15
|
-
const enum_1 = require("../enum");
|
|
16
14
|
const date_range_input_1 = require("./date-range.input");
|
|
17
15
|
let CreateInventoryItemInput = class CreateInventoryItemInput {
|
|
18
16
|
};
|
|
19
17
|
exports.CreateInventoryItemInput = CreateInventoryItemInput;
|
|
20
18
|
__decorate([
|
|
21
|
-
(0, graphql_1.Field)(),
|
|
19
|
+
(0, graphql_1.Field)(() => String),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CreateInventoryItemInput.prototype, "storeId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, graphql_1.Field)(() => String),
|
|
22
24
|
__metadata("design:type", String)
|
|
23
|
-
], CreateInventoryItemInput.prototype, "
|
|
25
|
+
], CreateInventoryItemInput.prototype, "productId", void 0);
|
|
24
26
|
__decorate([
|
|
25
|
-
(0, graphql_1.Field)(() =>
|
|
26
|
-
__metadata("design:type",
|
|
27
|
-
], CreateInventoryItemInput.prototype, "
|
|
27
|
+
(0, graphql_1.Field)(() => String),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], CreateInventoryItemInput.prototype, "variantId", void 0);
|
|
28
30
|
__decorate([
|
|
29
31
|
(0, graphql_1.Field)({ nullable: true }),
|
|
30
32
|
__metadata("design:type", String)
|
|
31
|
-
], CreateInventoryItemInput.prototype, "
|
|
33
|
+
], CreateInventoryItemInput.prototype, "sku", void 0);
|
|
32
34
|
__decorate([
|
|
33
35
|
(0, graphql_1.Field)({ nullable: true }),
|
|
34
36
|
__metadata("design:type", String)
|
|
35
|
-
], CreateInventoryItemInput.prototype, "
|
|
37
|
+
], CreateInventoryItemInput.prototype, "barcode", void 0);
|
|
36
38
|
__decorate([
|
|
37
|
-
(0, graphql_1.Field)(() =>
|
|
38
|
-
__metadata("design:type",
|
|
39
|
-
], CreateInventoryItemInput.prototype, "
|
|
39
|
+
(0, graphql_1.Field)(() => Boolean, { defaultValue: true }),
|
|
40
|
+
__metadata("design:type", Boolean)
|
|
41
|
+
], CreateInventoryItemInput.prototype, "tracked", void 0);
|
|
40
42
|
__decorate([
|
|
41
|
-
(0, graphql_1.Field)(() =>
|
|
42
|
-
__metadata("design:type",
|
|
43
|
-
], CreateInventoryItemInput.prototype, "
|
|
43
|
+
(0, graphql_1.Field)(() => Boolean, { defaultValue: true }),
|
|
44
|
+
__metadata("design:type", Boolean)
|
|
45
|
+
], CreateInventoryItemInput.prototype, "requiresShipping", void 0);
|
|
44
46
|
__decorate([
|
|
45
|
-
(0, graphql_1.Field)(
|
|
47
|
+
(0, graphql_1.Field)(() => graphql_1.Float, { defaultValue: 0 }),
|
|
46
48
|
__metadata("design:type", Number)
|
|
47
|
-
], CreateInventoryItemInput.prototype, "
|
|
49
|
+
], CreateInventoryItemInput.prototype, "costPrice", void 0);
|
|
48
50
|
__decorate([
|
|
49
|
-
(0, graphql_1.Field)(
|
|
51
|
+
(0, graphql_1.Field)(() => Boolean, { defaultValue: false }),
|
|
50
52
|
__metadata("design:type", Boolean)
|
|
51
|
-
], CreateInventoryItemInput.prototype, "
|
|
53
|
+
], CreateInventoryItemInput.prototype, "lotManagement", void 0);
|
|
52
54
|
__decorate([
|
|
53
|
-
(0, graphql_1.Field)(() =>
|
|
54
|
-
__metadata("design:type", Array)
|
|
55
|
-
], CreateInventoryItemInput.prototype, "permissions", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
55
|
+
(0, graphql_1.Field)(() => graphql_1.Float, { nullable: true }),
|
|
58
56
|
__metadata("design:type", Object)
|
|
59
|
-
], CreateInventoryItemInput.prototype, "
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
62
|
-
__metadata("design:type", Boolean)
|
|
63
|
-
], CreateInventoryItemInput.prototype, "isActive", void 0);
|
|
57
|
+
], CreateInventoryItemInput.prototype, "alertBeforeExpiredInDay", void 0);
|
|
64
58
|
exports.CreateInventoryItemInput = CreateInventoryItemInput = __decorate([
|
|
65
59
|
(0, graphql_1.InputType)()
|
|
66
60
|
], CreateInventoryItemInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inventory-item.dto.js","sourceRoot":"","sources":["../../src/dto/inventory-item.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3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AG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;2DAAC;mCAFhB,wBAAwB;IADpC,IAAA,mBAAS,GAAE;GACC,wBAAwB,CAGpC;AAGM,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,IAAA,qBAAW,EACvD,wBAAwB,CACzB;CAGA,CAAA;AALY,4DAAwB;AAInC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;qDACR;mCAJD,wBAAwB;IADpC,IAAA,mBAAS,GAAE;GACC,wBAAwB,CAKpC"}
|
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import { TranslationInput } from "./translation.input";
|
|
2
|
-
import { UserType } from "../enum";
|
|
3
1
|
import { DateRangeInput } from "./date-range.input";
|
|
4
2
|
export declare class CreateInventoryLevelInput {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
permissions?: string[];
|
|
14
|
-
parent?: string | null;
|
|
15
|
-
isActive?: boolean;
|
|
3
|
+
variantId: string;
|
|
4
|
+
storeId: string;
|
|
5
|
+
inventoryItemId: string;
|
|
6
|
+
branchId: string;
|
|
7
|
+
onHand: number;
|
|
8
|
+
available: number;
|
|
9
|
+
committed: number;
|
|
10
|
+
incoming: number;
|
|
16
11
|
}
|
|
17
12
|
export declare class InventoryLevelFilterInput {
|
|
18
13
|
createdAt?: DateRangeInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inventory-level.dto.d.ts","sourceRoot":"","sources":["../../src/dto/inventory-level.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"inventory-level.dto.d.ts","sourceRoot":"","sources":["../../src/dto/inventory-level.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBACa,yBAAyB;IAEpC,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;IAGhB,eAAe,EAAE,MAAM,CAAC;IAGxB,QAAQ,EAAE,MAAM,CAAC;IAGjB,MAAM,EAAE,MAAM,CAAC;IAGf,SAAS,EAAE,MAAM,CAAC;IAGlB,SAAS,EAAE,MAAM,CAAC;IAGlB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,qBACa,yBAAyB;IAEpC,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,yBAA0B,SAAQ,8BAE9C;IAEC,GAAG,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -11,56 +11,42 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.UpdateInventoryLevelInput = exports.InventoryLevelFilterInput = exports.CreateInventoryLevelInput = void 0;
|
|
13
13
|
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
-
const translation_input_1 = require("./translation.input");
|
|
15
|
-
const enum_1 = require("../enum");
|
|
16
14
|
const date_range_input_1 = require("./date-range.input");
|
|
17
15
|
let CreateInventoryLevelInput = class CreateInventoryLevelInput {
|
|
18
16
|
};
|
|
19
17
|
exports.CreateInventoryLevelInput = CreateInventoryLevelInput;
|
|
20
18
|
__decorate([
|
|
21
|
-
(0, graphql_1.Field)(),
|
|
19
|
+
(0, graphql_1.Field)(() => String),
|
|
22
20
|
__metadata("design:type", String)
|
|
23
|
-
], CreateInventoryLevelInput.prototype, "
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, graphql_1.Field)(() => translation_input_1.TranslationInput),
|
|
26
|
-
__metadata("design:type", translation_input_1.TranslationInput)
|
|
27
|
-
], CreateInventoryLevelInput.prototype, "label", void 0);
|
|
21
|
+
], CreateInventoryLevelInput.prototype, "variantId", void 0);
|
|
28
22
|
__decorate([
|
|
29
|
-
(0, graphql_1.Field)(
|
|
23
|
+
(0, graphql_1.Field)(() => String),
|
|
30
24
|
__metadata("design:type", String)
|
|
31
|
-
], CreateInventoryLevelInput.prototype, "
|
|
25
|
+
], CreateInventoryLevelInput.prototype, "storeId", void 0);
|
|
32
26
|
__decorate([
|
|
33
|
-
(0, graphql_1.Field)(
|
|
27
|
+
(0, graphql_1.Field)(() => String),
|
|
34
28
|
__metadata("design:type", String)
|
|
35
|
-
], CreateInventoryLevelInput.prototype, "
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, graphql_1.Field)(() => translation_input_1.TranslationInput, { nullable: true }),
|
|
38
|
-
__metadata("design:type", translation_input_1.TranslationInput)
|
|
39
|
-
], CreateInventoryLevelInput.prototype, "path", void 0);
|
|
29
|
+
], CreateInventoryLevelInput.prototype, "inventoryItemId", void 0);
|
|
40
30
|
__decorate([
|
|
41
|
-
(0, graphql_1.Field)(() =>
|
|
31
|
+
(0, graphql_1.Field)(() => String),
|
|
42
32
|
__metadata("design:type", String)
|
|
43
|
-
], CreateInventoryLevelInput.prototype, "
|
|
33
|
+
], CreateInventoryLevelInput.prototype, "branchId", void 0);
|
|
44
34
|
__decorate([
|
|
45
|
-
(0, graphql_1.Field)(
|
|
35
|
+
(0, graphql_1.Field)(() => graphql_1.Float),
|
|
46
36
|
__metadata("design:type", Number)
|
|
47
|
-
], CreateInventoryLevelInput.prototype, "
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
50
|
-
__metadata("design:type", Boolean)
|
|
51
|
-
], CreateInventoryLevelInput.prototype, "visible", void 0);
|
|
37
|
+
], CreateInventoryLevelInput.prototype, "onHand", void 0);
|
|
52
38
|
__decorate([
|
|
53
|
-
(0, graphql_1.Field)(() =>
|
|
54
|
-
__metadata("design:type",
|
|
55
|
-
], CreateInventoryLevelInput.prototype, "
|
|
39
|
+
(0, graphql_1.Field)(() => graphql_1.Float),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], CreateInventoryLevelInput.prototype, "available", void 0);
|
|
56
42
|
__decorate([
|
|
57
|
-
(0, graphql_1.Field)(() =>
|
|
58
|
-
__metadata("design:type",
|
|
59
|
-
], CreateInventoryLevelInput.prototype, "
|
|
43
|
+
(0, graphql_1.Field)(() => graphql_1.Float),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], CreateInventoryLevelInput.prototype, "committed", void 0);
|
|
60
46
|
__decorate([
|
|
61
|
-
(0, graphql_1.Field)(
|
|
62
|
-
__metadata("design:type",
|
|
63
|
-
], CreateInventoryLevelInput.prototype, "
|
|
47
|
+
(0, graphql_1.Field)(() => graphql_1.Float),
|
|
48
|
+
__metadata("design:type", Number)
|
|
49
|
+
], CreateInventoryLevelInput.prototype, "incoming", void 0);
|
|
64
50
|
exports.CreateInventoryLevelInput = CreateInventoryLevelInput = __decorate([
|
|
65
51
|
(0, graphql_1.InputType)()
|
|
66
52
|
], CreateInventoryLevelInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inventory-level.dto.js","sourceRoot":"","sources":["../../src/dto/inventory-level.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"inventory-level.dto.js","sourceRoot":"","sources":["../../src/dto/inventory-level.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAuE;AACvE,yDAAoD;AAG7C,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;CAwBrC,CAAA;AAxBY,8DAAyB;AAEpC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;4DACF;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0DACJ;AAGhB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;kEACI;AAGxB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2DACH;AAGjB;IADC,IAAA,eAAK,EAAC,GAAG,E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