synunu-libs 1.0.169 → 1.0.170

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.
@@ -14,6 +14,8 @@ export * from "./date-range.input";
14
14
  export * from "./import-cost.dto";
15
15
  export * from "./inventory-adjustment.dto";
16
16
  export * from "./inventory-inbound.dto";
17
+ export * from "./issue-inventory.dto";
18
+ export * from "./issue-inventory-line-item.dto";
17
19
  export * from "./inventory-item.dto";
18
20
  export * from "./inventory-level.dto";
19
21
  export * from "./inventory-outbound.dto";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"AACA,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAA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;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC"}
package/dist/dto/index.js CHANGED
@@ -31,6 +31,8 @@ __exportStar(require("./date-range.input"), exports);
31
31
  __exportStar(require("./import-cost.dto"), exports);
32
32
  __exportStar(require("./inventory-adjustment.dto"), exports);
33
33
  __exportStar(require("./inventory-inbound.dto"), exports);
34
+ __exportStar(require("./issue-inventory.dto"), exports);
35
+ __exportStar(require("./issue-inventory-line-item.dto"), exports);
34
36
  __exportStar(require("./inventory-item.dto"), exports);
35
37
  __exportStar(require("./inventory-level.dto"), exports);
36
38
  __exportStar(require("./inventory-outbound.dto"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,SAAS;AACT,gDAA8B;AAC9B,6CAA2B;AAC3B,+CAA6B;AAC7B,gDAA8B;AAC9B,2DAAyC;AACzC,0DAAwC;AACxC,mDAAiC;AACjC,8CAA4B;AAC5B,gDAA8B;AAC9B,uDAAqC;AACrC,qDAAmC;AACnC,iDAA+B;AAC/B,qDAAmC;AACnC,oDAAkC;AAClC,6DAA2C;AAC3C,0DAAwC;AACxC,uDAAqC;AACrC,wDAAsC;AACtC,2DAAyC;AACzC,0DAAwC;AACxC,uDAAqC;AACrC,gDAA8B;AAC9B,mDAAiC;AACjC,6CAA2B;AAC3B,qDAAmC;AACnC,kDAAgC;AAChC,+CAA6B;AAC7B,iDAA+B;AAC/B,mDAAiC;AACjC,sDAAoC;AACpC,oDAAkC;AAClC,qDAAmC;AACnC,gDAA8B;AAC9B,gDAA8B;AAC9B,iDAA+B;AAC/B,oDAAkC;AAClC,uDAAqC;AACrC,iEAA+C;AAC/C,iEAA+C;AAC/C,0DAAwC;AACxC,oEAAkD;AAClD,oEAAkD;AAClD,yDAAuC;AACvC,mEAAiD;AACjD,mEAAiD;AACjD,8CAA4B;AAC5B,iDAA+B;AAC/B,4CAA0B;AAC1B,6CAA2B;AAC3B,gDAA8B;AAC9B,6DAA2C;AAC3C,qDAAmC;AACnC,+CAA6B;AAC7B,6CAA2B;AAC3B,8CAA4B;AAC5B,6CAA2B;AAC3B,gDAA8B;AAC9B,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,SAAS;AACT,gDAA8B;AAC9B,6CAA2B;AAC3B,+CAA6B;AAC7B,gDAA8B;AAC9B,2DAAyC;AACzC,0DAAwC;AACxC,mDAAiC;AACjC,8CAA4B;AAC5B,gDAA8B;AAC9B,uDAAqC;AACrC,qDAAmC;AACnC,iDAA+B;AAC/B,qDAAmC;AACnC,oDAAkC;AAClC,6DAA2C;AAC3C,0DAAwC;AACxC,wDAAsC;AACtC,kEAAgD;AAChD,uDAAqC;AACrC,wDAAsC;AACtC,2DAAyC;AACzC,0DAAwC;AACxC,uDAAqC;AACrC,gDAA8B;AAC9B,mDAAiC;AACjC,6CAA2B;AAC3B,qDAAmC;AACnC,kDAAgC;AAChC,+CAA6B;AAC7B,iDAA+B;AAC/B,mDAAiC;AACjC,sDAAoC;AACpC,oDAAkC;AAClC,qDAAmC;AACnC,gDAA8B;AAC9B,gDAA8B;AAC9B,iDAA+B;AAC/B,oDAAkC;AAClC,uDAAqC;AACrC,iEAA+C;AAC/C,iEAA+C;AAC/C,0DAAwC;AACxC,oEAAkD;AAClD,oEAAkD;AAClD,yDAAuC;AACvC,mEAAiD;AACjD,mEAAiD;AACjD,8CAA4B;AAC5B,iDAA+B;AAC/B,4CAA0B;AAC1B,6CAA2B;AAC3B,gDAA8B;AAC9B,6DAA2C;AAC3C,qDAAmC;AACnC,+CAA6B;AAC7B,6CAA2B;AAC3B,8CAA4B;AAC5B,6CAA2B;AAC3B,gDAA8B;AAC9B,uDAAqC"}
@@ -0,0 +1,20 @@
1
+ export declare class IssueInventoryBatchAllocationInput {
2
+ batchId: string;
3
+ batchCode?: string;
4
+ quantity: number;
5
+ }
6
+ export declare class IssueInventoryLineItemInput {
7
+ inventoryItemId: string;
8
+ productId?: string;
9
+ variantId?: string;
10
+ nameSnapshot?: string;
11
+ skuSnapshot?: string;
12
+ unit?: string;
13
+ quantity: number;
14
+ unitCostSnapshot?: number;
15
+ lineCostAmount?: number;
16
+ position?: number;
17
+ batchAllocations?: IssueInventoryBatchAllocationInput[];
18
+ note?: string;
19
+ }
20
+ //# sourceMappingURL=issue-inventory-line-item.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issue-inventory-line-item.dto.d.ts","sourceRoot":"","sources":["../../src/dto/issue-inventory-line-item.dto.ts"],"names":[],"mappings":"AAaA,qBACa,kCAAkC;IAI7C,OAAO,EAAE,MAAM,CAAC;IAKhB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,qBACa,2BAA2B;IAItC,eAAe,EAAE,MAAM,CAAC;IAKxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,QAAQ,EAAE,MAAM,CAAC;IAMjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAM1B,cAAc,CAAC,EAAE,MAAM,CAAC;IAMxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAQlB,gBAAgB,CAAC,EAAE,kCAAkC,EAAE,CAAC;IAKxD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,124 @@
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.IssueInventoryLineItemInput = exports.IssueInventoryBatchAllocationInput = void 0;
13
+ const graphql_1 = require("@nestjs/graphql");
14
+ const class_validator_1 = require("class-validator");
15
+ const class_transformer_1 = require("class-transformer");
16
+ let IssueInventoryBatchAllocationInput = class IssueInventoryBatchAllocationInput {
17
+ };
18
+ exports.IssueInventoryBatchAllocationInput = IssueInventoryBatchAllocationInput;
19
+ __decorate([
20
+ (0, graphql_1.Field)(() => String),
21
+ (0, class_validator_1.IsNotEmpty)(),
22
+ (0, class_validator_1.IsString)(),
23
+ __metadata("design:type", String)
24
+ ], IssueInventoryBatchAllocationInput.prototype, "batchId", void 0);
25
+ __decorate([
26
+ (0, graphql_1.Field)(() => String, { nullable: true }),
27
+ (0, class_validator_1.IsOptional)(),
28
+ (0, class_validator_1.IsString)(),
29
+ __metadata("design:type", String)
30
+ ], IssueInventoryBatchAllocationInput.prototype, "batchCode", void 0);
31
+ __decorate([
32
+ (0, graphql_1.Field)(() => graphql_1.Float),
33
+ (0, class_validator_1.IsNumber)(),
34
+ (0, class_validator_1.Min)(0.000001),
35
+ __metadata("design:type", Number)
36
+ ], IssueInventoryBatchAllocationInput.prototype, "quantity", void 0);
37
+ exports.IssueInventoryBatchAllocationInput = IssueInventoryBatchAllocationInput = __decorate([
38
+ (0, graphql_1.InputType)()
39
+ ], IssueInventoryBatchAllocationInput);
40
+ let IssueInventoryLineItemInput = class IssueInventoryLineItemInput {
41
+ };
42
+ exports.IssueInventoryLineItemInput = IssueInventoryLineItemInput;
43
+ __decorate([
44
+ (0, graphql_1.Field)(() => String),
45
+ (0, class_validator_1.IsNotEmpty)(),
46
+ (0, class_validator_1.IsString)(),
47
+ __metadata("design:type", String)
48
+ ], IssueInventoryLineItemInput.prototype, "inventoryItemId", void 0);
49
+ __decorate([
50
+ (0, graphql_1.Field)(() => String, { nullable: true }),
51
+ (0, class_validator_1.IsOptional)(),
52
+ (0, class_validator_1.IsString)(),
53
+ __metadata("design:type", String)
54
+ ], IssueInventoryLineItemInput.prototype, "productId", void 0);
55
+ __decorate([
56
+ (0, graphql_1.Field)(() => String, { nullable: true }),
57
+ (0, class_validator_1.IsOptional)(),
58
+ (0, class_validator_1.IsString)(),
59
+ __metadata("design:type", String)
60
+ ], IssueInventoryLineItemInput.prototype, "variantId", void 0);
61
+ __decorate([
62
+ (0, graphql_1.Field)(() => String, { nullable: true }),
63
+ (0, class_validator_1.IsOptional)(),
64
+ (0, class_validator_1.IsString)(),
65
+ __metadata("design:type", String)
66
+ ], IssueInventoryLineItemInput.prototype, "nameSnapshot", void 0);
67
+ __decorate([
68
+ (0, graphql_1.Field)(() => String, { nullable: true }),
69
+ (0, class_validator_1.IsOptional)(),
70
+ (0, class_validator_1.IsString)(),
71
+ __metadata("design:type", String)
72
+ ], IssueInventoryLineItemInput.prototype, "skuSnapshot", void 0);
73
+ __decorate([
74
+ (0, graphql_1.Field)(() => String, { nullable: true }),
75
+ (0, class_validator_1.IsOptional)(),
76
+ (0, class_validator_1.IsString)(),
77
+ __metadata("design:type", String)
78
+ ], IssueInventoryLineItemInput.prototype, "unit", void 0);
79
+ __decorate([
80
+ (0, graphql_1.Field)(() => graphql_1.Float),
81
+ (0, class_validator_1.IsNumber)(),
82
+ (0, class_validator_1.Min)(0.000001),
83
+ __metadata("design:type", Number)
84
+ ], IssueInventoryLineItemInput.prototype, "quantity", void 0);
85
+ __decorate([
86
+ (0, graphql_1.Field)(() => graphql_1.Float, { nullable: true }),
87
+ (0, class_validator_1.IsOptional)(),
88
+ (0, class_validator_1.IsNumber)(),
89
+ (0, class_validator_1.Min)(0),
90
+ __metadata("design:type", Number)
91
+ ], IssueInventoryLineItemInput.prototype, "unitCostSnapshot", void 0);
92
+ __decorate([
93
+ (0, graphql_1.Field)(() => graphql_1.Float, { nullable: true }),
94
+ (0, class_validator_1.IsOptional)(),
95
+ (0, class_validator_1.IsNumber)(),
96
+ (0, class_validator_1.Min)(0),
97
+ __metadata("design:type", Number)
98
+ ], IssueInventoryLineItemInput.prototype, "lineCostAmount", void 0);
99
+ __decorate([
100
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
101
+ (0, class_validator_1.IsOptional)(),
102
+ (0, class_validator_1.IsNumber)(),
103
+ (0, class_validator_1.Min)(0),
104
+ __metadata("design:type", Number)
105
+ ], IssueInventoryLineItemInput.prototype, "position", void 0);
106
+ __decorate([
107
+ (0, graphql_1.Field)(() => [IssueInventoryBatchAllocationInput], { nullable: true }),
108
+ (0, class_validator_1.IsOptional)(),
109
+ (0, class_validator_1.IsArray)(),
110
+ (0, class_validator_1.ArrayMinSize)(1),
111
+ (0, class_validator_1.ValidateNested)({ each: true }),
112
+ (0, class_transformer_1.Type)(() => IssueInventoryBatchAllocationInput),
113
+ __metadata("design:type", Array)
114
+ ], IssueInventoryLineItemInput.prototype, "batchAllocations", void 0);
115
+ __decorate([
116
+ (0, graphql_1.Field)(() => String, { nullable: true }),
117
+ (0, class_validator_1.IsOptional)(),
118
+ (0, class_validator_1.IsString)(),
119
+ __metadata("design:type", String)
120
+ ], IssueInventoryLineItemInput.prototype, "note", void 0);
121
+ exports.IssueInventoryLineItemInput = IssueInventoryLineItemInput = __decorate([
122
+ (0, graphql_1.InputType)()
123
+ ], IssueInventoryLineItemInput);
124
+ //# sourceMappingURL=issue-inventory-line-item.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issue-inventory-line-item.dto.js","sourceRoot":"","sources":["../../src/dto/issue-inventory-line-item.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA+D;AAC/D,qDASyB;AACzB,yDAAyC;AAGlC,IAAM,kCAAkC,GAAxC,MAAM,kCAAkC;CAe9C,CAAA;AAfY,gFAAkC;AAI7C;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC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A,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACG;sCAjEH,2BAA2B;IADvC,IAAA,mBAAS,GAAE;GACC,2BAA2B,CAkEvC"}
@@ -0,0 +1,33 @@
1
+ import { DateRangeInput } from './date-range.input';
2
+ import { OrderByInput } from './order-by.input';
3
+ import { EIssueInventoryStatus, EIssueInventoryType } from '../enum/issue-inventory.enum';
4
+ import { IssueInventoryLineItemInput } from './issue-inventory-line-item.dto';
5
+ export declare class CreateIssueInventoryInput {
6
+ code?: string;
7
+ branchId: string;
8
+ issueType: EIssueInventoryType;
9
+ disposalReasonCode?: string;
10
+ disposalReasonText?: string;
11
+ note?: string;
12
+ approvedBy?: string;
13
+ approvalDecisionRef?: string;
14
+ disposalCommittee?: string;
15
+ attachments?: string[];
16
+ lineItems: IssueInventoryLineItemInput[];
17
+ }
18
+ declare const UpdateIssueInventoryInput_base: import("@nestjs/common").Type<Partial<CreateIssueInventoryInput>>;
19
+ export declare class UpdateIssueInventoryInput extends UpdateIssueInventoryInput_base {
20
+ _id: string;
21
+ }
22
+ export declare class IssueInventoryFilterInput {
23
+ searchKey?: string;
24
+ status?: EIssueInventoryStatus;
25
+ issueType?: EIssueInventoryType;
26
+ branchId?: string;
27
+ disposalReasonCode?: string;
28
+ createdAt?: DateRangeInput;
29
+ updatedAt?: DateRangeInput;
30
+ orderBy?: OrderByInput[];
31
+ }
32
+ export {};
33
+ //# sourceMappingURL=issue-inventory.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issue-inventory.dto.d.ts","sourceRoot":"","sources":["../../src/dto/issue-inventory.dto.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAE9E,qBACa,yBAAyB;IAIpC,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,QAAQ,EAAE,MAAM,CAAC;IAIjB,SAAS,EAAE,mBAAmB,CAAC;IAK/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAK7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAOvB,SAAS,EAAE,2BAA2B,EAAE,CAAC;CAC1C;;AAED,qBACa,yBAA0B,SAAQ,8BAE9C;IAIC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,qBACa,yBAAyB;IAIpC,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAK/B,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAKhC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAI5B,SAAS,CAAC,EAAE,cAAc,CAAC;IAI3B,SAAS,CAAC,EAAE,cAAc,CAAC;IAI3B,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;CAC1B"}
@@ -0,0 +1,156 @@
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.IssueInventoryFilterInput = exports.UpdateIssueInventoryInput = exports.CreateIssueInventoryInput = void 0;
13
+ const graphql_1 = require("@nestjs/graphql");
14
+ const class_validator_1 = require("class-validator");
15
+ const class_transformer_1 = require("class-transformer");
16
+ const date_range_input_1 = require("./date-range.input");
17
+ const order_by_input_1 = require("./order-by.input");
18
+ const issue_inventory_enum_1 = require("../enum/issue-inventory.enum");
19
+ const issue_inventory_line_item_dto_1 = require("./issue-inventory-line-item.dto");
20
+ let CreateIssueInventoryInput = class CreateIssueInventoryInput {
21
+ };
22
+ exports.CreateIssueInventoryInput = CreateIssueInventoryInput;
23
+ __decorate([
24
+ (0, graphql_1.Field)(() => String, { nullable: true }),
25
+ (0, class_validator_1.IsOptional)(),
26
+ (0, class_validator_1.IsString)(),
27
+ __metadata("design:type", String)
28
+ ], CreateIssueInventoryInput.prototype, "code", void 0);
29
+ __decorate([
30
+ (0, graphql_1.Field)(() => String),
31
+ (0, class_validator_1.IsNotEmpty)(),
32
+ (0, class_validator_1.IsString)(),
33
+ __metadata("design:type", String)
34
+ ], CreateIssueInventoryInput.prototype, "branchId", void 0);
35
+ __decorate([
36
+ (0, graphql_1.Field)(() => issue_inventory_enum_1.EIssueInventoryType),
37
+ (0, class_validator_1.IsEnum)(issue_inventory_enum_1.EIssueInventoryType),
38
+ __metadata("design:type", String)
39
+ ], CreateIssueInventoryInput.prototype, "issueType", void 0);
40
+ __decorate([
41
+ (0, graphql_1.Field)(() => String, { nullable: true }),
42
+ (0, class_validator_1.IsOptional)(),
43
+ (0, class_validator_1.IsString)(),
44
+ __metadata("design:type", String)
45
+ ], CreateIssueInventoryInput.prototype, "disposalReasonCode", void 0);
46
+ __decorate([
47
+ (0, graphql_1.Field)(() => String, { nullable: true }),
48
+ (0, class_validator_1.IsOptional)(),
49
+ (0, class_validator_1.IsString)(),
50
+ __metadata("design:type", String)
51
+ ], CreateIssueInventoryInput.prototype, "disposalReasonText", void 0);
52
+ __decorate([
53
+ (0, graphql_1.Field)(() => String, { nullable: true }),
54
+ (0, class_validator_1.IsOptional)(),
55
+ (0, class_validator_1.IsString)(),
56
+ __metadata("design:type", String)
57
+ ], CreateIssueInventoryInput.prototype, "note", void 0);
58
+ __decorate([
59
+ (0, graphql_1.Field)(() => String, { nullable: true }),
60
+ (0, class_validator_1.IsOptional)(),
61
+ (0, class_validator_1.IsString)(),
62
+ __metadata("design:type", String)
63
+ ], CreateIssueInventoryInput.prototype, "approvedBy", void 0);
64
+ __decorate([
65
+ (0, graphql_1.Field)(() => String, { nullable: true }),
66
+ (0, class_validator_1.IsOptional)(),
67
+ (0, class_validator_1.IsString)(),
68
+ __metadata("design:type", String)
69
+ ], CreateIssueInventoryInput.prototype, "approvalDecisionRef", void 0);
70
+ __decorate([
71
+ (0, graphql_1.Field)(() => String, { nullable: true }),
72
+ (0, class_validator_1.IsOptional)(),
73
+ (0, class_validator_1.IsString)(),
74
+ __metadata("design:type", String)
75
+ ], CreateIssueInventoryInput.prototype, "disposalCommittee", void 0);
76
+ __decorate([
77
+ (0, graphql_1.Field)(() => [String], { nullable: true }),
78
+ (0, class_validator_1.IsOptional)(),
79
+ (0, class_validator_1.IsArray)(),
80
+ __metadata("design:type", Array)
81
+ ], CreateIssueInventoryInput.prototype, "attachments", void 0);
82
+ __decorate([
83
+ (0, graphql_1.Field)(() => [issue_inventory_line_item_dto_1.IssueInventoryLineItemInput]),
84
+ (0, class_validator_1.IsArray)(),
85
+ (0, class_validator_1.ArrayMinSize)(1),
86
+ (0, class_validator_1.ValidateNested)({ each: true }),
87
+ (0, class_transformer_1.Type)(() => issue_inventory_line_item_dto_1.IssueInventoryLineItemInput),
88
+ __metadata("design:type", Array)
89
+ ], CreateIssueInventoryInput.prototype, "lineItems", void 0);
90
+ exports.CreateIssueInventoryInput = CreateIssueInventoryInput = __decorate([
91
+ (0, graphql_1.InputType)()
92
+ ], CreateIssueInventoryInput);
93
+ let UpdateIssueInventoryInput = class UpdateIssueInventoryInput extends (0, graphql_1.PartialType)(CreateIssueInventoryInput) {
94
+ };
95
+ exports.UpdateIssueInventoryInput = UpdateIssueInventoryInput;
96
+ __decorate([
97
+ (0, graphql_1.Field)(() => String),
98
+ (0, class_validator_1.IsNotEmpty)(),
99
+ (0, class_validator_1.IsString)(),
100
+ __metadata("design:type", String)
101
+ ], UpdateIssueInventoryInput.prototype, "_id", void 0);
102
+ exports.UpdateIssueInventoryInput = UpdateIssueInventoryInput = __decorate([
103
+ (0, graphql_1.InputType)()
104
+ ], UpdateIssueInventoryInput);
105
+ let IssueInventoryFilterInput = class IssueInventoryFilterInput {
106
+ };
107
+ exports.IssueInventoryFilterInput = IssueInventoryFilterInput;
108
+ __decorate([
109
+ (0, graphql_1.Field)(() => String, { nullable: true }),
110
+ (0, class_validator_1.IsOptional)(),
111
+ (0, class_validator_1.IsString)(),
112
+ __metadata("design:type", String)
113
+ ], IssueInventoryFilterInput.prototype, "searchKey", void 0);
114
+ __decorate([
115
+ (0, graphql_1.Field)(() => issue_inventory_enum_1.EIssueInventoryStatus, { nullable: true }),
116
+ (0, class_validator_1.IsOptional)(),
117
+ (0, class_validator_1.IsEnum)(issue_inventory_enum_1.EIssueInventoryStatus),
118
+ __metadata("design:type", String)
119
+ ], IssueInventoryFilterInput.prototype, "status", void 0);
120
+ __decorate([
121
+ (0, graphql_1.Field)(() => issue_inventory_enum_1.EIssueInventoryType, { nullable: true }),
122
+ (0, class_validator_1.IsOptional)(),
123
+ (0, class_validator_1.IsEnum)(issue_inventory_enum_1.EIssueInventoryType),
124
+ __metadata("design:type", String)
125
+ ], IssueInventoryFilterInput.prototype, "issueType", void 0);
126
+ __decorate([
127
+ (0, graphql_1.Field)(() => String, { nullable: true }),
128
+ (0, class_validator_1.IsOptional)(),
129
+ (0, class_validator_1.IsString)(),
130
+ __metadata("design:type", String)
131
+ ], IssueInventoryFilterInput.prototype, "branchId", void 0);
132
+ __decorate([
133
+ (0, graphql_1.Field)(() => String, { nullable: true }),
134
+ (0, class_validator_1.IsOptional)(),
135
+ (0, class_validator_1.IsString)(),
136
+ __metadata("design:type", String)
137
+ ], IssueInventoryFilterInput.prototype, "disposalReasonCode", void 0);
138
+ __decorate([
139
+ (0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
140
+ (0, class_validator_1.IsOptional)(),
141
+ __metadata("design:type", date_range_input_1.DateRangeInput)
142
+ ], IssueInventoryFilterInput.prototype, "createdAt", void 0);
143
+ __decorate([
144
+ (0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
145
+ (0, class_validator_1.IsOptional)(),
146
+ __metadata("design:type", date_range_input_1.DateRangeInput)
147
+ ], IssueInventoryFilterInput.prototype, "updatedAt", void 0);
148
+ __decorate([
149
+ (0, graphql_1.Field)(() => [order_by_input_1.OrderByInput], { nullable: true }),
150
+ (0, class_validator_1.IsOptional)(),
151
+ __metadata("design:type", Array)
152
+ ], IssueInventoryFilterInput.prototype, "orderBy", void 0);
153
+ exports.IssueInventoryFilterInput = IssueInventoryFilterInput = __decorate([
154
+ (0, graphql_1.InputType)()
155
+ ], IssueInventoryFilterInput);
156
+ //# sourceMappingURL=issue-inventory.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issue-inventory.dto.js","sourceRoot":"","sources":["../../src/dto/issue-inventory.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,qDAQyB;AACzB,yDAAyC;AACzC,yDAAoD;AACpD,qDAAgD;AAChD,uEAGsC;AACtC,mFAA8E;AAGvE,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;CAwDrC,CAAA;AAxDY,8DAAyB;AAIpC;IAHC,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AE;IACZ,IAAA,wBAAM,EAAC,4CAAqB,CAAC;;yDACC;AAK/B;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,0CAAmB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACpD,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,0CAAmB,CAAC;;4DACI;AAKhC;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACO;AAKlB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qEACiB;AAI5B;IAFC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC/C,IAAA,4BAAU,GAAE;8BACD,iCAAc;4DAAC;AAI3B;IAFC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC/C,IAAA,4BAAU,GAAE;8BACD,iCAAc;4DAAC;AAI3B;IAFC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,6BAAY,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC/C,IAAA,4BAAU,GAAE;;0DACY;oCApCd,yBAAyB;IADrC,IAAA,mBAAS,GAAE;GACC,yBAAyB,CAqCrC"}
@@ -6,6 +6,7 @@ export * from "./customer.enum";
6
6
  export * from "./discount.enum";
7
7
  export * from "./gender.enum";
8
8
  export * from "./inventory.enum";
9
+ export * from "./issue-inventory.enum";
9
10
  export * from "./inventory-reference-document-type.enum";
10
11
  export * from "./journal-type.enum";
11
12
  export * from "./license.enum";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/enum/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,0CAA0C,CAAC;AACzD,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/enum/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0CAA0C,CAAC;AACzD,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC"}
@@ -22,6 +22,7 @@ __exportStar(require("./customer.enum"), exports);
22
22
  __exportStar(require("./discount.enum"), exports);
23
23
  __exportStar(require("./gender.enum"), exports);
24
24
  __exportStar(require("./inventory.enum"), exports);
25
+ __exportStar(require("./issue-inventory.enum"), exports);
25
26
  __exportStar(require("./inventory-reference-document-type.enum"), exports);
26
27
  __exportStar(require("./journal-type.enum"), exports);
27
28
  __exportStar(require("./license.enum"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enum/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,sDAAoC;AACpC,iDAA+B;AAC/B,yDAAuC;AACvC,kDAAgC;AAChC,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,2EAAyD;AACzD,sDAAoC;AACpC,iDAA+B;AAC/B,wDAAsC;AACtC,wDAAsC;AACtC,iDAA+B;AAC/B,wDAAsC;AACtC,2DAAyC;AACzC,0DAAwC;AACxC,uDAAqC;AACrC,oDAAkC;AAClC,6CAA2B;AAC3B,sDAAoC;AACpC,mDAAiC;AACjC,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enum/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,sDAAoC;AACpC,iDAA+B;AAC/B,yDAAuC;AACvC,kDAAgC;AAChC,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,yDAAuC;AACvC,2EAAyD;AACzD,sDAAoC;AACpC,iDAA+B;AAC/B,wDAAsC;AACtC,wDAAsC;AACtC,iDAA+B;AAC/B,wDAAsC;AACtC,2DAAyC;AACzC,0DAAwC;AACxC,uDAAqC;AACrC,oDAAkC;AAClC,6CAA2B;AAC3B,sDAAoC;AACpC,mDAAiC;AACjC,qDAAmC"}
@@ -0,0 +1,14 @@
1
+ export declare enum EIssueInventoryStatus {
2
+ DRAFT = "DRAFT",
3
+ CONFIRMED = "CONFIRMED",
4
+ CANCELLED = "CANCELLED"
5
+ }
6
+ export declare enum EIssueInventoryType {
7
+ SALE = "SALE",
8
+ ADJUSTMENT = "ADJUSTMENT",
9
+ RETURN_VENDOR = "RETURN_VENDOR",
10
+ TRANSFER_OUT = "TRANSFER_OUT",
11
+ DISCARD = "DISCARD",
12
+ INTERNAL_USE = "INTERNAL_USE"
13
+ }
14
+ //# sourceMappingURL=issue-inventory.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issue-inventory.enum.d.ts","sourceRoot":"","sources":["../../src/enum/issue-inventory.enum.ts"],"names":[],"mappings":"AAEA,oBAAY,qBAAqB;IAC/B,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,SAAS,cAAc;CACxB;AAOD,oBAAY,mBAAmB;IAC7B,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,YAAY,iBAAiB;CAC9B"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EIssueInventoryType = exports.EIssueInventoryStatus = void 0;
4
+ const graphql_1 = require("@nestjs/graphql");
5
+ var EIssueInventoryStatus;
6
+ (function (EIssueInventoryStatus) {
7
+ EIssueInventoryStatus["DRAFT"] = "DRAFT";
8
+ EIssueInventoryStatus["CONFIRMED"] = "CONFIRMED";
9
+ EIssueInventoryStatus["CANCELLED"] = "CANCELLED";
10
+ })(EIssueInventoryStatus || (exports.EIssueInventoryStatus = EIssueInventoryStatus = {}));
11
+ (0, graphql_1.registerEnumType)(EIssueInventoryStatus, {
12
+ name: "EIssueInventoryStatus",
13
+ description: "Lifecycle status of an issue inventory document",
14
+ });
15
+ var EIssueInventoryType;
16
+ (function (EIssueInventoryType) {
17
+ EIssueInventoryType["SALE"] = "SALE";
18
+ EIssueInventoryType["ADJUSTMENT"] = "ADJUSTMENT";
19
+ EIssueInventoryType["RETURN_VENDOR"] = "RETURN_VENDOR";
20
+ EIssueInventoryType["TRANSFER_OUT"] = "TRANSFER_OUT";
21
+ EIssueInventoryType["DISCARD"] = "DISCARD";
22
+ EIssueInventoryType["INTERNAL_USE"] = "INTERNAL_USE";
23
+ })(EIssueInventoryType || (exports.EIssueInventoryType = EIssueInventoryType = {}));
24
+ (0, graphql_1.registerEnumType)(EIssueInventoryType, {
25
+ name: "EIssueInventoryType",
26
+ description: "Business type of an issue inventory document",
27
+ });
28
+ //# sourceMappingURL=issue-inventory.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issue-inventory.enum.js","sourceRoot":"","sources":["../../src/enum/issue-inventory.enum.ts"],"names":[],"mappings":";;;AAAA,6CAAmD;AAEnD,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,wCAAe,CAAA;IACf,gDAAuB,CAAA;IACvB,gDAAuB,CAAA;AACzB,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC;AAED,IAAA,0BAAgB,EAAC,qBAAqB,EAAE;IACtC,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EAAE,iDAAiD;CAC/D,CAAC,CAAC;AAEH,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,oCAAa,CAAA;IACb,gDAAyB,CAAA;IACzB,sDAA+B,CAAA;IAC/B,oDAA6B,CAAA;IAC7B,0CAAmB,CAAA;IACnB,oDAA6B,CAAA;AAC/B,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;AAED,IAAA,0BAAgB,EAAC,mBAAmB,EAAE;IACpC,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,8CAA8C;CAC5D,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synunu-libs",
3
- "version": "1.0.169",
3
+ "version": "1.0.170",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "description": "Shared DTOs, constants, and utilities for Synunu microservices",