synunu-libs 1.0.33 → 1.0.34
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.
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
import { TranslationInput } from "./translation.input";
|
|
2
|
-
import { UserType } from "../enum";
|
|
3
1
|
import { DateRangeInput } from "./date-range.input";
|
|
2
|
+
declare class AdjustmentChangeInput {
|
|
3
|
+
deltaValue: number;
|
|
4
|
+
valueAfterChange: number;
|
|
5
|
+
changeType: "onHand" | "available";
|
|
6
|
+
reason?: string;
|
|
7
|
+
}
|
|
4
8
|
export declare class CreateInventoryAdjustmentInput {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
storeId: string;
|
|
10
|
+
locationId: string;
|
|
11
|
+
inventoryItemId: string;
|
|
12
|
+
changes: AdjustmentChangeInput[];
|
|
13
|
+
referenceDocumentType?: string;
|
|
14
|
+
referenceDocumentName?: string;
|
|
15
|
+
referenceDocumentUrl?: string;
|
|
16
|
+
referenceDocumentId?: number;
|
|
17
|
+
referenceDocumentLineId?: number;
|
|
18
|
+
actorId?: number;
|
|
19
|
+
actorName?: string;
|
|
20
|
+
costType?: string;
|
|
21
|
+
issuedAt?: Date;
|
|
16
22
|
}
|
|
17
23
|
export declare class InventoryAdjustmentFilterInput {
|
|
18
24
|
createdAt?: DateRangeInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inventory-adjustment.dto.d.ts","sourceRoot":"","sources":["../../src/dto/inventory-adjustment.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"inventory-adjustment.dto.d.ts","sourceRoot":"","sources":["../../src/dto/inventory-adjustment.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,cAAM,qBAAqB;IAEzB,UAAU,EAAE,MAAM,CAAC;IAGnB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,UAAU,EAAE,QAAQ,GAAG,WAAW,CAAC;IAGnC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qBACa,8BAA8B;IAEzC,OAAO,EAAE,MAAM,CAAC;IAGhB,UAAU,EAAE,MAAM,CAAC;IAGnB,eAAe,EAAE,MAAM,CAAC;IAGxB,OAAO,EAAE,qBAAqB,EAAE,CAAC;IAGjC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAG/B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAG/B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAG9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAG7B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAGjC,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,QAAQ,CAAC,EAAE,IAAI,CAAC;CACjB;AAED,qBACa,8BAA8B;IAEzC,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,8BAA+B,SAAQ,mCAEnD;IAEC,GAAG,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -11,56 +11,80 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.UpdateInventoryAdjustmentInput = exports.InventoryAdjustmentFilterInput = exports.CreateInventoryAdjustmentInput = 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");
|
|
15
|
+
class AdjustmentChangeInput {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, graphql_1.Field)(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], AdjustmentChangeInput.prototype, "deltaValue", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, graphql_1.Field)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], AdjustmentChangeInput.prototype, "valueAfterChange", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, graphql_1.Field)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], AdjustmentChangeInput.prototype, "changeType", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], AdjustmentChangeInput.prototype, "reason", void 0);
|
|
17
33
|
let CreateInventoryAdjustmentInput = class CreateInventoryAdjustmentInput {
|
|
18
34
|
};
|
|
19
35
|
exports.CreateInventoryAdjustmentInput = CreateInventoryAdjustmentInput;
|
|
20
36
|
__decorate([
|
|
21
37
|
(0, graphql_1.Field)(),
|
|
22
38
|
__metadata("design:type", String)
|
|
23
|
-
], CreateInventoryAdjustmentInput.prototype, "
|
|
39
|
+
], CreateInventoryAdjustmentInput.prototype, "storeId", void 0);
|
|
24
40
|
__decorate([
|
|
25
|
-
(0, graphql_1.Field)(
|
|
26
|
-
__metadata("design:type",
|
|
27
|
-
], CreateInventoryAdjustmentInput.prototype, "
|
|
41
|
+
(0, graphql_1.Field)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CreateInventoryAdjustmentInput.prototype, "locationId", void 0);
|
|
28
44
|
__decorate([
|
|
29
|
-
(0, graphql_1.Field)(
|
|
45
|
+
(0, graphql_1.Field)(),
|
|
30
46
|
__metadata("design:type", String)
|
|
31
|
-
], CreateInventoryAdjustmentInput.prototype, "
|
|
47
|
+
], CreateInventoryAdjustmentInput.prototype, "inventoryItemId", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, graphql_1.Field)(() => [AdjustmentChangeInput]),
|
|
50
|
+
__metadata("design:type", Array)
|
|
51
|
+
], CreateInventoryAdjustmentInput.prototype, "changes", void 0);
|
|
32
52
|
__decorate([
|
|
33
53
|
(0, graphql_1.Field)({ nullable: true }),
|
|
34
54
|
__metadata("design:type", String)
|
|
35
|
-
], CreateInventoryAdjustmentInput.prototype, "
|
|
55
|
+
], CreateInventoryAdjustmentInput.prototype, "referenceDocumentType", void 0);
|
|
36
56
|
__decorate([
|
|
37
|
-
(0, graphql_1.Field)(
|
|
38
|
-
__metadata("design:type",
|
|
39
|
-
], CreateInventoryAdjustmentInput.prototype, "
|
|
57
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], CreateInventoryAdjustmentInput.prototype, "referenceDocumentName", void 0);
|
|
40
60
|
__decorate([
|
|
41
|
-
(0, graphql_1.Field)(
|
|
61
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
42
62
|
__metadata("design:type", String)
|
|
43
|
-
], CreateInventoryAdjustmentInput.prototype, "
|
|
63
|
+
], CreateInventoryAdjustmentInput.prototype, "referenceDocumentUrl", void 0);
|
|
44
64
|
__decorate([
|
|
45
|
-
(0, graphql_1.Field)({ nullable: true
|
|
65
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
46
66
|
__metadata("design:type", Number)
|
|
47
|
-
], CreateInventoryAdjustmentInput.prototype, "
|
|
67
|
+
], CreateInventoryAdjustmentInput.prototype, "referenceDocumentId", void 0);
|
|
48
68
|
__decorate([
|
|
49
|
-
(0, graphql_1.Field)({ nullable: true
|
|
50
|
-
__metadata("design:type",
|
|
51
|
-
], CreateInventoryAdjustmentInput.prototype, "
|
|
69
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
70
|
+
__metadata("design:type", Number)
|
|
71
|
+
], CreateInventoryAdjustmentInput.prototype, "referenceDocumentLineId", void 0);
|
|
52
72
|
__decorate([
|
|
53
|
-
(0, graphql_1.Field)(
|
|
54
|
-
__metadata("design:type",
|
|
55
|
-
], CreateInventoryAdjustmentInput.prototype, "
|
|
73
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
74
|
+
__metadata("design:type", Number)
|
|
75
|
+
], CreateInventoryAdjustmentInput.prototype, "actorId", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
78
|
+
__metadata("design:type", String)
|
|
79
|
+
], CreateInventoryAdjustmentInput.prototype, "actorName", void 0);
|
|
56
80
|
__decorate([
|
|
57
|
-
(0, graphql_1.Field)(
|
|
58
|
-
__metadata("design:type",
|
|
59
|
-
], CreateInventoryAdjustmentInput.prototype, "
|
|
81
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], CreateInventoryAdjustmentInput.prototype, "costType", void 0);
|
|
60
84
|
__decorate([
|
|
61
|
-
(0, graphql_1.Field)({ nullable: true
|
|
62
|
-
__metadata("design:type",
|
|
63
|
-
], CreateInventoryAdjustmentInput.prototype, "
|
|
85
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
86
|
+
__metadata("design:type", Date)
|
|
87
|
+
], CreateInventoryAdjustmentInput.prototype, "issuedAt", void 0);
|
|
64
88
|
exports.CreateInventoryAdjustmentInput = CreateInventoryAdjustmentInput = __decorate([
|
|
65
89
|
(0, graphql_1.InputType)()
|
|
66
90
|
], CreateInventoryAdjustmentInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inventory-adjustment.dto.js","sourceRoot":"","sources":["../../src/dto/inventory-adjustment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,
|
|
1
|
+
{"version":3,"file":"inventory-adjustment.dto.js","sourceRoot":"","sources":["../../src/dto/inventory-adjustment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,yDAAoD;AAEpD,MAAM,qBAAqB;CAY1B;AAVC;IADC,IAAA,eAAK,GAAE;;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