@rytass/wms-module-graphql 0.1.0
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/LICENSE +21 -0
- package/README.md +77 -0
- package/index.cjs.js +6279 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/lib/dto/allocate-inventory-order-item.dto.d.ts +12 -0
- package/lib/dto/allocate-inventory-order-item.dto.js +36 -0
- package/lib/dto/allocate-inventory-order.dto.d.ts +9 -0
- package/lib/dto/allocate-inventory-order.dto.js +31 -0
- package/lib/dto/batch.dto.d.ts +8 -0
- package/lib/dto/batch.dto.js +26 -0
- package/lib/dto/hold-inventory-order-item.dto.d.ts +15 -0
- package/lib/dto/hold-inventory-order-item.dto.js +37 -0
- package/lib/dto/hold-inventory-order.dto.d.ts +13 -0
- package/lib/dto/hold-inventory-order.dto.js +47 -0
- package/lib/dto/index.d.ts +24 -0
- package/lib/dto/loader-type.dto.d.ts +12 -0
- package/lib/dto/loader-type.dto.js +46 -0
- package/lib/dto/loader-unit.dto.d.ts +7 -0
- package/lib/dto/loader-unit.dto.js +21 -0
- package/lib/dto/loader.dto.d.ts +17 -0
- package/lib/dto/loader.dto.js +71 -0
- package/lib/dto/location.dto.d.ts +10 -0
- package/lib/dto/location.dto.js +36 -0
- package/lib/dto/material-unit.dto.d.ts +12 -0
- package/lib/dto/material-unit.dto.js +46 -0
- package/lib/dto/material.dto.d.ts +10 -0
- package/lib/dto/material.dto.js +36 -0
- package/lib/dto/merge-batch-order.dto.d.ts +11 -0
- package/lib/dto/merge-batch-order.dto.js +50 -0
- package/lib/dto/pagination.dto.d.ts +9 -0
- package/lib/dto/pagination.dto.js +51 -0
- package/lib/dto/quality-inspection-order-item.dto.d.ts +10 -0
- package/lib/dto/quality-inspection-order-item.dto.js +50 -0
- package/lib/dto/quality-inspection-order.dto.d.ts +12 -0
- package/lib/dto/quality-inspection-order.dto.js +42 -0
- package/lib/dto/receive-inventory-order-item.dto.d.ts +18 -0
- package/lib/dto/receive-inventory-order-item.dto.js +60 -0
- package/lib/dto/receive-inventory-order.dto.d.ts +16 -0
- package/lib/dto/receive-inventory-order.dto.js +58 -0
- package/lib/dto/reclassify-inventory-order.dto.d.ts +12 -0
- package/lib/dto/reclassify-inventory-order.dto.js +55 -0
- package/lib/dto/sale-order.dto.d.ts +4 -0
- package/lib/dto/sale-order.dto.js +20 -0
- package/lib/dto/scrape-order-item.dto.d.ts +14 -0
- package/lib/dto/scrape-order-item.dto.js +56 -0
- package/lib/dto/scrape-order.dto.d.ts +11 -0
- package/lib/dto/scrape-order.dto.js +37 -0
- package/lib/dto/ship-inventory-order-item.dto.d.ts +14 -0
- package/lib/dto/ship-inventory-order-item.dto.js +56 -0
- package/lib/dto/ship-inventory-order-reference.dto.d.ts +12 -0
- package/lib/dto/ship-inventory-order-reference.dto.js +48 -0
- package/lib/dto/ship-inventory-order.dto.d.ts +16 -0
- package/lib/dto/ship-inventory-order.dto.js +58 -0
- package/lib/dto/split-batch-order.dto.d.ts +11 -0
- package/lib/dto/split-batch-order.dto.js +50 -0
- package/lib/dto/stock.dto.d.ts +42 -0
- package/lib/dto/stock.dto.js +138 -0
- package/lib/dto/transfer-customer-order-item.dto.d.ts +15 -0
- package/lib/dto/transfer-customer-order-item.dto.js +61 -0
- package/lib/dto/transfer-customer-order.dto.d.ts +11 -0
- package/lib/dto/transfer-customer-order.dto.js +37 -0
- package/lib/dto/transfer-order-item.dto.d.ts +15 -0
- package/lib/dto/transfer-order-item.dto.js +41 -0
- package/lib/dto/transfer-order.dto.d.ts +15 -0
- package/lib/dto/transfer-order.dto.js +57 -0
- package/lib/dto/transfer-vendor-order-item.dto.d.ts +15 -0
- package/lib/dto/transfer-vendor-order-item.dto.js +61 -0
- package/lib/dto/transfer-vendor-order.dto.d.ts +11 -0
- package/lib/dto/transfer-vendor-order.dto.js +37 -0
- package/lib/dto/unit.dto.d.ts +4 -0
- package/lib/dto/unit.dto.js +20 -0
- package/lib/dto/warehouse-map.dto.d.ts +39 -0
- package/lib/dto/warehouse-map.dto.js +165 -0
- package/lib/graphql.module.d.ts +6 -0
- package/lib/graphql.module.js +157 -0
- package/lib/helpers/dataloader.type.d.ts +12 -0
- package/lib/helpers/helper.module.d.ts +2 -0
- package/lib/helpers/helper.module.js +15 -0
- package/lib/helpers/index.d.ts +4 -0
- package/lib/helpers/loader.service.d.ts +56 -0
- package/lib/helpers/loader.service.js +168 -0
- package/lib/helpers/query-path.d.ts +1 -0
- package/lib/helpers/query-path.js +19 -0
- package/lib/inputs/cancel-ship-order.args.d.ts +4 -0
- package/lib/inputs/cancel-ship-order.args.js +20 -0
- package/lib/inputs/cancel-transfer-order.args.d.ts +4 -0
- package/lib/inputs/cancel-transfer-order.args.js +23 -0
- package/lib/inputs/create-allocate-inventory-order-item.args.d.ts +13 -0
- package/lib/inputs/create-allocate-inventory-order-item.args.js +50 -0
- package/lib/inputs/create-allocate-inventory-order.args.d.ts +11 -0
- package/lib/inputs/create-allocate-inventory-order.args.js +36 -0
- package/lib/inputs/create-hold-inventory-order-item.args.d.ts +11 -0
- package/lib/inputs/create-hold-inventory-order-item.args.js +40 -0
- package/lib/inputs/create-hold-inventory-order.args.d.ts +12 -0
- package/lib/inputs/create-hold-inventory-order.args.js +41 -0
- package/lib/inputs/create-loader-type.args.d.ts +10 -0
- package/lib/inputs/create-loader-type.args.js +35 -0
- package/lib/inputs/create-loader.args.d.ts +30 -0
- package/lib/inputs/create-loader.args.js +130 -0
- package/lib/inputs/create-location.args.d.ts +11 -0
- package/lib/inputs/create-location.args.js +50 -0
- package/lib/inputs/create-material-unit.args.d.ts +5 -0
- package/lib/inputs/create-material-unit.args.js +25 -0
- package/lib/inputs/create-material.args.d.ts +14 -0
- package/lib/inputs/create-material.args.js +51 -0
- package/lib/inputs/create-quality-inspection-order.args.d.ts +11 -0
- package/lib/inputs/create-quality-inspection-order.args.js +50 -0
- package/lib/inputs/create-receive-inventory-order-item.args.d.ts +17 -0
- package/lib/inputs/create-receive-inventory-order-item.args.js +70 -0
- package/lib/inputs/create-receive-inventory-order.args.d.ts +14 -0
- package/lib/inputs/create-receive-inventory-order.args.js +51 -0
- package/lib/inputs/create-ship-inventory-order-item.args.d.ts +12 -0
- package/lib/inputs/create-ship-inventory-order-item.args.js +45 -0
- package/lib/inputs/create-ship-inventory-order-reference.args.d.ts +16 -0
- package/lib/inputs/create-ship-inventory-order-reference.args.js +65 -0
- package/lib/inputs/create-ship-inventory-order.args.d.ts +16 -0
- package/lib/inputs/create-ship-inventory-order.args.js +57 -0
- package/lib/inputs/create-transfer-customer-order-item.args.d.ts +11 -0
- package/lib/inputs/create-transfer-customer-order-item.args.js +40 -0
- package/lib/inputs/create-transfer-customer-order.args.d.ts +14 -0
- package/lib/inputs/create-transfer-customer-order.args.js +51 -0
- package/lib/inputs/create-transfer-order-item.args.d.ts +11 -0
- package/lib/inputs/create-transfer-order-item.args.js +40 -0
- package/lib/inputs/create-transfer-order.args.d.ts +16 -0
- package/lib/inputs/create-transfer-order.args.js +61 -0
- package/lib/inputs/create-transfer-vendor-order-item.args.d.ts +11 -0
- package/lib/inputs/create-transfer-vendor-order-item.args.js +40 -0
- package/lib/inputs/create-transfer-vendor-order.args.d.ts +14 -0
- package/lib/inputs/create-transfer-vendor-order.args.js +51 -0
- package/lib/inputs/date-range.args.d.ts +4 -0
- package/lib/inputs/date-range.args.js +20 -0
- package/lib/inputs/deallocate-order.args.d.ts +5 -0
- package/lib/inputs/deallocate-order.args.js +25 -0
- package/lib/inputs/find-allocate-inventory-order.args.d.ts +10 -0
- package/lib/inputs/find-allocate-inventory-order.args.js +42 -0
- package/lib/inputs/find-batch.args.d.ts +5 -0
- package/lib/inputs/find-batch.args.js +21 -0
- package/lib/inputs/find-hold-inventory-order.args.d.ts +10 -0
- package/lib/inputs/find-hold-inventory-order.args.js +42 -0
- package/lib/inputs/find-loader-type.args.d.ts +8 -0
- package/lib/inputs/find-loader-type.args.js +32 -0
- package/lib/inputs/find-loader.args.d.ts +16 -0
- package/lib/inputs/find-loader.args.js +72 -0
- package/lib/inputs/find-location.args.d.ts +6 -0
- package/lib/inputs/find-location.args.js +26 -0
- package/lib/inputs/find-material.args.d.ts +5 -0
- package/lib/inputs/find-material.args.js +21 -0
- package/lib/inputs/find-receive-inventory-order.args.d.ts +16 -0
- package/lib/inputs/find-receive-inventory-order.args.js +71 -0
- package/lib/inputs/find-sale-order.args.d.ts +4 -0
- package/lib/inputs/find-sale-order.args.js +16 -0
- package/lib/inputs/find-ship-inventory-order.args.d.ts +16 -0
- package/lib/inputs/find-ship-inventory-order.args.js +71 -0
- package/lib/inputs/find-stock.args.d.ts +15 -0
- package/lib/inputs/find-stock.args.js +67 -0
- package/lib/inputs/find-transfer-order.args.d.ts +18 -0
- package/lib/inputs/find-transfer-order.args.js +82 -0
- package/lib/inputs/index.d.ts +0 -0
- package/lib/inputs/merge-batch.args.d.ts +9 -0
- package/lib/inputs/merge-batch.args.js +40 -0
- package/lib/inputs/pagination.args.d.ts +4 -0
- package/lib/inputs/pagination.args.js +20 -0
- package/lib/inputs/receive-order.args.d.ts +8 -0
- package/lib/inputs/receive-order.args.js +40 -0
- package/lib/inputs/reclassify-inventory-order.args.d.ts +9 -0
- package/lib/inputs/reclassify-inventory-order.args.js +40 -0
- package/lib/inputs/release-order.args.d.ts +5 -0
- package/lib/inputs/release-order.args.js +25 -0
- package/lib/inputs/return-transfer-customer-order.args.d.ts +7 -0
- package/lib/inputs/return-transfer-customer-order.args.js +35 -0
- package/lib/inputs/return-transfer-vendor-order.args.d.ts +7 -0
- package/lib/inputs/return-transfer-vendor-order.args.js +35 -0
- package/lib/inputs/scrape-order.args.d.ts +8 -0
- package/lib/inputs/scrape-order.args.js +35 -0
- package/lib/inputs/ship-order.args.d.ts +4 -0
- package/lib/inputs/ship-order.args.js +20 -0
- package/lib/inputs/split-batch.args.d.ts +9 -0
- package/lib/inputs/split-batch.args.js +40 -0
- package/lib/inputs/transfer-order.args.d.ts +4 -0
- package/lib/inputs/transfer-order.args.js +20 -0
- package/lib/inputs/update-warehouse-map.args.d.ts +28 -0
- package/lib/inputs/update-warehouse-map.args.js +121 -0
- package/lib/mutations/allocate-inventory-order.mutation.d.ts +12 -0
- package/lib/mutations/allocate-inventory-order.mutation.js +81 -0
- package/lib/mutations/hold-inventory-order.mutation.d.ts +12 -0
- package/lib/mutations/hold-inventory-order.mutation.js +81 -0
- package/lib/mutations/loader.mutation.d.ts +13 -0
- package/lib/mutations/loader.mutation.js +105 -0
- package/lib/mutations/location.mutation.d.ts +8 -0
- package/lib/mutations/location.mutation.js +39 -0
- package/lib/mutations/material.mutation.d.ts +9 -0
- package/lib/mutations/material.mutation.js +62 -0
- package/lib/mutations/merge-batch.mutation.d.ts +9 -0
- package/lib/mutations/merge-batch.mutation.js +44 -0
- package/lib/mutations/quality-inspection-order.mutation.d.ts +9 -0
- package/lib/mutations/quality-inspection-order.mutation.js +44 -0
- package/lib/mutations/receive-inventory-order.mutation.d.ts +13 -0
- package/lib/mutations/receive-inventory-order.mutation.js +92 -0
- package/lib/mutations/reclassify-inventory-order.mutation.d.ts +9 -0
- package/lib/mutations/reclassify-inventory-order.mutation.js +45 -0
- package/lib/mutations/scrape-order.mutation.d.ts +9 -0
- package/lib/mutations/scrape-order.mutation.js +38 -0
- package/lib/mutations/ship-inventory-order.mutation.d.ts +14 -0
- package/lib/mutations/ship-inventory-order.mutation.js +107 -0
- package/lib/mutations/split-batch.mutation.d.ts +9 -0
- package/lib/mutations/split-batch.mutation.js +38 -0
- package/lib/mutations/transfer-customer-order.mutation.d.ts +12 -0
- package/lib/mutations/transfer-customer-order.mutation.js +81 -0
- package/lib/mutations/transfer-order.mutation.d.ts +14 -0
- package/lib/mutations/transfer-order.mutation.js +84 -0
- package/lib/mutations/transfer-vendor-order.mutation.d.ts +12 -0
- package/lib/mutations/transfer-vendor-order.mutation.js +81 -0
- package/lib/mutations/warehouse-map.mutation.d.ts +10 -0
- package/lib/mutations/warehouse-map.mutation.js +54 -0
- package/lib/queries/allocate-inventory-order.query.d.ts +8 -0
- package/lib/queries/allocate-inventory-order.query.js +30 -0
- package/lib/queries/batch.query.d.ts +8 -0
- package/lib/queries/batch.query.js +33 -0
- package/lib/queries/hold-inventory-order.query.d.ts +8 -0
- package/lib/queries/hold-inventory-order.query.js +30 -0
- package/lib/queries/loader.query.d.ts +17 -0
- package/lib/queries/loader.query.js +157 -0
- package/lib/queries/location.query.d.ts +9 -0
- package/lib/queries/location.query.js +47 -0
- package/lib/queries/material.query.d.ts +9 -0
- package/lib/queries/material.query.js +71 -0
- package/lib/queries/recieve-inventory-order.query.d.ts +9 -0
- package/lib/queries/recieve-inventory-order.query.js +69 -0
- package/lib/queries/sale-order.query.d.ts +8 -0
- package/lib/queries/sale-order.query.js +53 -0
- package/lib/queries/ship-inventory-order.query.d.ts +9 -0
- package/lib/queries/ship-inventory-order.query.js +69 -0
- package/lib/queries/stock.query.d.ts +12 -0
- package/lib/queries/stock.query.js +109 -0
- package/lib/queries/transfer-order.query.d.ts +9 -0
- package/lib/queries/transfer-order.query.js +42 -0
- package/lib/queries/unit.query.d.ts +7 -0
- package/lib/queries/unit.query.js +27 -0
- package/lib/queries/warehouse-map.query.d.ts +7 -0
- package/lib/queries/warehouse-map.query.js +29 -0
- package/lib/resolvers/aggregated-stock.resolver.d.ts +14 -0
- package/lib/resolvers/aggregated-stock.resolver.js +112 -0
- package/lib/resolvers/allocate-inventory-order.resolver.d.ts +6 -0
- package/lib/resolvers/allocate-inventory-order.resolver.js +27 -0
- package/lib/resolvers/change-log.resolver.d.ts +10 -0
- package/lib/resolvers/change-log.resolver.js +83 -0
- package/lib/resolvers/hold-inventory-order.resolver.d.ts +7 -0
- package/lib/resolvers/hold-inventory-order.resolver.js +27 -0
- package/lib/resolvers/loader-type.resolver.d.ts +5 -0
- package/lib/resolvers/loader-type.resolver.js +50 -0
- package/lib/resolvers/loader.resolver.d.ts +9 -0
- package/lib/resolvers/loader.resolver.js +86 -0
- package/lib/resolvers/location.resolver.d.ts +10 -0
- package/lib/resolvers/location.resolver.js +55 -0
- package/lib/resolvers/material.resolver.d.ts +11 -0
- package/lib/resolvers/material.resolver.js +84 -0
- package/lib/resolvers/merge-batch.resolver.d.ts +6 -0
- package/lib/resolvers/merge-batch.resolver.js +26 -0
- package/lib/resolvers/receive-inventory-order.resolver.d.ts +15 -0
- package/lib/resolvers/receive-inventory-order.resolver.js +140 -0
- package/lib/resolvers/ship-inventory-order.resolver.d.ts +25 -0
- package/lib/resolvers/ship-inventory-order.resolver.js +273 -0
- package/lib/resolvers/split-batch.resolver.d.ts +6 -0
- package/lib/resolvers/split-batch.resolver.js +26 -0
- package/lib/resolvers/stock.resolver.d.ts +10 -0
- package/lib/resolvers/stock.resolver.js +83 -0
- package/lib/resolvers/transfer-customer-order.resolver.d.ts +6 -0
- package/lib/resolvers/transfer-customer-order.resolver.js +27 -0
- package/lib/resolvers/transfer-order.resolver.d.ts +21 -0
- package/lib/resolvers/transfer-order.resolver.js +218 -0
- package/lib/resolvers/transfer-vendor-order.resolver.d.ts +6 -0
- package/lib/resolvers/transfer-vendor-order.resolver.js +27 -0
- package/lib/resolvers/warehouse-map.resolver.d.ts +6 -0
- package/lib/resolvers/warehouse-map.resolver.js +29 -0
- package/package.json +54 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, Int, InputType } from '@nestjs/graphql';
|
|
3
|
+
|
|
4
|
+
let ReceiveOrderArgs = class ReceiveOrderArgs {
|
|
5
|
+
itemId;
|
|
6
|
+
batchKey;
|
|
7
|
+
locationKey;
|
|
8
|
+
loaderKey;
|
|
9
|
+
quantity;
|
|
10
|
+
inspectionResult;
|
|
11
|
+
};
|
|
12
|
+
__decorate([
|
|
13
|
+
Field(() => String),
|
|
14
|
+
__metadata("design:type", String)
|
|
15
|
+
], ReceiveOrderArgs.prototype, "itemId", void 0);
|
|
16
|
+
__decorate([
|
|
17
|
+
Field(() => String, { nullable: true }),
|
|
18
|
+
__metadata("design:type", String)
|
|
19
|
+
], ReceiveOrderArgs.prototype, "batchKey", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
Field(() => String, { nullable: true }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], ReceiveOrderArgs.prototype, "locationKey", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
Field(() => String, { nullable: true }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], ReceiveOrderArgs.prototype, "loaderKey", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
Field(() => Int),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], ReceiveOrderArgs.prototype, "quantity", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
Field(() => Boolean, { nullable: true }),
|
|
34
|
+
__metadata("design:type", Boolean)
|
|
35
|
+
], ReceiveOrderArgs.prototype, "inspectionResult", void 0);
|
|
36
|
+
ReceiveOrderArgs = __decorate([
|
|
37
|
+
InputType()
|
|
38
|
+
], ReceiveOrderArgs);
|
|
39
|
+
|
|
40
|
+
export { ReceiveOrderArgs };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, InputType, ArgsType } from '@nestjs/graphql';
|
|
3
|
+
|
|
4
|
+
let ReclassifyInventoryOrderItemInput = class ReclassifyInventoryOrderItemInput {
|
|
5
|
+
quantity;
|
|
6
|
+
unitId;
|
|
7
|
+
aggregatedKey;
|
|
8
|
+
};
|
|
9
|
+
__decorate([
|
|
10
|
+
Field(() => Number),
|
|
11
|
+
__metadata("design:type", Number)
|
|
12
|
+
], ReclassifyInventoryOrderItemInput.prototype, "quantity", void 0);
|
|
13
|
+
__decorate([
|
|
14
|
+
Field(() => ID, { nullable: true }),
|
|
15
|
+
__metadata("design:type", String)
|
|
16
|
+
], ReclassifyInventoryOrderItemInput.prototype, "unitId", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Field(() => ID),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], ReclassifyInventoryOrderItemInput.prototype, "aggregatedKey", void 0);
|
|
21
|
+
ReclassifyInventoryOrderItemInput = __decorate([
|
|
22
|
+
InputType()
|
|
23
|
+
], ReclassifyInventoryOrderItemInput);
|
|
24
|
+
let ReclassifyInventoryOrderArgs = class ReclassifyInventoryOrderArgs {
|
|
25
|
+
materialKey;
|
|
26
|
+
items;
|
|
27
|
+
};
|
|
28
|
+
__decorate([
|
|
29
|
+
Field(() => ID),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], ReclassifyInventoryOrderArgs.prototype, "materialKey", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
Field(() => [ReclassifyInventoryOrderItemInput]),
|
|
34
|
+
__metadata("design:type", Array)
|
|
35
|
+
], ReclassifyInventoryOrderArgs.prototype, "items", void 0);
|
|
36
|
+
ReclassifyInventoryOrderArgs = __decorate([
|
|
37
|
+
ArgsType()
|
|
38
|
+
], ReclassifyInventoryOrderArgs);
|
|
39
|
+
|
|
40
|
+
export { ReclassifyInventoryOrderArgs, ReclassifyInventoryOrderItemInput };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, Int, InputType } from '@nestjs/graphql';
|
|
3
|
+
|
|
4
|
+
let ReleaseOrderArgs = class ReleaseOrderArgs {
|
|
5
|
+
aggregatedKey;
|
|
6
|
+
quantity;
|
|
7
|
+
unitId;
|
|
8
|
+
};
|
|
9
|
+
__decorate([
|
|
10
|
+
Field(() => ID),
|
|
11
|
+
__metadata("design:type", String)
|
|
12
|
+
], ReleaseOrderArgs.prototype, "aggregatedKey", void 0);
|
|
13
|
+
__decorate([
|
|
14
|
+
Field(() => Int),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], ReleaseOrderArgs.prototype, "quantity", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Field(() => ID, { nullable: true }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], ReleaseOrderArgs.prototype, "unitId", void 0);
|
|
21
|
+
ReleaseOrderArgs = __decorate([
|
|
22
|
+
InputType()
|
|
23
|
+
], ReleaseOrderArgs);
|
|
24
|
+
|
|
25
|
+
export { ReleaseOrderArgs };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, Int, InputType } from '@nestjs/graphql';
|
|
3
|
+
|
|
4
|
+
let ReturnTransferCustomerOrderArgs = class ReturnTransferCustomerOrderArgs {
|
|
5
|
+
aggregatedKey;
|
|
6
|
+
quantity;
|
|
7
|
+
unitId;
|
|
8
|
+
locationKey;
|
|
9
|
+
loaderKey;
|
|
10
|
+
};
|
|
11
|
+
__decorate([
|
|
12
|
+
Field(() => ID),
|
|
13
|
+
__metadata("design:type", String)
|
|
14
|
+
], ReturnTransferCustomerOrderArgs.prototype, "aggregatedKey", void 0);
|
|
15
|
+
__decorate([
|
|
16
|
+
Field(() => Int),
|
|
17
|
+
__metadata("design:type", Number)
|
|
18
|
+
], ReturnTransferCustomerOrderArgs.prototype, "quantity", void 0);
|
|
19
|
+
__decorate([
|
|
20
|
+
Field(() => ID, { nullable: true }),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], ReturnTransferCustomerOrderArgs.prototype, "unitId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
Field(() => ID),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], ReturnTransferCustomerOrderArgs.prototype, "locationKey", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
Field(() => ID, { nullable: true }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], ReturnTransferCustomerOrderArgs.prototype, "loaderKey", void 0);
|
|
31
|
+
ReturnTransferCustomerOrderArgs = __decorate([
|
|
32
|
+
InputType()
|
|
33
|
+
], ReturnTransferCustomerOrderArgs);
|
|
34
|
+
|
|
35
|
+
export { ReturnTransferCustomerOrderArgs };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, Int, InputType } from '@nestjs/graphql';
|
|
3
|
+
|
|
4
|
+
let ReturnTransferVendorOrderArgs = class ReturnTransferVendorOrderArgs {
|
|
5
|
+
aggregatedKey;
|
|
6
|
+
quantity;
|
|
7
|
+
unitId;
|
|
8
|
+
locationKey;
|
|
9
|
+
loaderKey;
|
|
10
|
+
};
|
|
11
|
+
__decorate([
|
|
12
|
+
Field(() => ID),
|
|
13
|
+
__metadata("design:type", String)
|
|
14
|
+
], ReturnTransferVendorOrderArgs.prototype, "aggregatedKey", void 0);
|
|
15
|
+
__decorate([
|
|
16
|
+
Field(() => Int),
|
|
17
|
+
__metadata("design:type", Number)
|
|
18
|
+
], ReturnTransferVendorOrderArgs.prototype, "quantity", void 0);
|
|
19
|
+
__decorate([
|
|
20
|
+
Field(() => ID, { nullable: true }),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], ReturnTransferVendorOrderArgs.prototype, "unitId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
Field(() => ID),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], ReturnTransferVendorOrderArgs.prototype, "locationKey", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
Field(() => ID, { nullable: true }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], ReturnTransferVendorOrderArgs.prototype, "loaderKey", void 0);
|
|
31
|
+
ReturnTransferVendorOrderArgs = __decorate([
|
|
32
|
+
InputType()
|
|
33
|
+
], ReturnTransferVendorOrderArgs);
|
|
34
|
+
|
|
35
|
+
export { ReturnTransferVendorOrderArgs };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, Int, InputType, ArgsType } from '@nestjs/graphql';
|
|
3
|
+
|
|
4
|
+
let ScrapeOrderItemInput = class ScrapeOrderItemInput {
|
|
5
|
+
aggregateKey;
|
|
6
|
+
unitId;
|
|
7
|
+
quantity;
|
|
8
|
+
};
|
|
9
|
+
__decorate([
|
|
10
|
+
Field(() => String),
|
|
11
|
+
__metadata("design:type", String)
|
|
12
|
+
], ScrapeOrderItemInput.prototype, "aggregateKey", void 0);
|
|
13
|
+
__decorate([
|
|
14
|
+
Field(() => ID, { nullable: true }),
|
|
15
|
+
__metadata("design:type", String)
|
|
16
|
+
], ScrapeOrderItemInput.prototype, "unitId", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Field(() => Int),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], ScrapeOrderItemInput.prototype, "quantity", void 0);
|
|
21
|
+
ScrapeOrderItemInput = __decorate([
|
|
22
|
+
InputType()
|
|
23
|
+
], ScrapeOrderItemInput);
|
|
24
|
+
let ScrapeOrderArgs = class ScrapeOrderArgs {
|
|
25
|
+
items;
|
|
26
|
+
};
|
|
27
|
+
__decorate([
|
|
28
|
+
Field(() => [ScrapeOrderItemInput]),
|
|
29
|
+
__metadata("design:type", Array)
|
|
30
|
+
], ScrapeOrderArgs.prototype, "items", void 0);
|
|
31
|
+
ScrapeOrderArgs = __decorate([
|
|
32
|
+
ArgsType()
|
|
33
|
+
], ScrapeOrderArgs);
|
|
34
|
+
|
|
35
|
+
export { ScrapeOrderArgs, ScrapeOrderItemInput };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, Int, InputType } from '@nestjs/graphql';
|
|
3
|
+
|
|
4
|
+
let ShipOrderArgs = class ShipOrderArgs {
|
|
5
|
+
itemId;
|
|
6
|
+
quantity;
|
|
7
|
+
};
|
|
8
|
+
__decorate([
|
|
9
|
+
Field(() => ID),
|
|
10
|
+
__metadata("design:type", String)
|
|
11
|
+
], ShipOrderArgs.prototype, "itemId", void 0);
|
|
12
|
+
__decorate([
|
|
13
|
+
Field(() => Int),
|
|
14
|
+
__metadata("design:type", Number)
|
|
15
|
+
], ShipOrderArgs.prototype, "quantity", void 0);
|
|
16
|
+
ShipOrderArgs = __decorate([
|
|
17
|
+
InputType()
|
|
18
|
+
], ShipOrderArgs);
|
|
19
|
+
|
|
20
|
+
export { ShipOrderArgs };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, InputType, ArgsType } from '@nestjs/graphql';
|
|
3
|
+
|
|
4
|
+
let SplitBatchItemInput = class SplitBatchItemInput {
|
|
5
|
+
batchKey;
|
|
6
|
+
quantity;
|
|
7
|
+
};
|
|
8
|
+
__decorate([
|
|
9
|
+
Field(() => ID),
|
|
10
|
+
__metadata("design:type", String)
|
|
11
|
+
], SplitBatchItemInput.prototype, "batchKey", void 0);
|
|
12
|
+
__decorate([
|
|
13
|
+
Field(() => Number),
|
|
14
|
+
__metadata("design:type", Number)
|
|
15
|
+
], SplitBatchItemInput.prototype, "quantity", void 0);
|
|
16
|
+
SplitBatchItemInput = __decorate([
|
|
17
|
+
InputType()
|
|
18
|
+
], SplitBatchItemInput);
|
|
19
|
+
let SplitBatchArgs = class SplitBatchArgs {
|
|
20
|
+
aggregatedKey;
|
|
21
|
+
unitId;
|
|
22
|
+
items;
|
|
23
|
+
};
|
|
24
|
+
__decorate([
|
|
25
|
+
Field(() => ID),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], SplitBatchArgs.prototype, "aggregatedKey", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
Field(() => ID, { nullable: true }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], SplitBatchArgs.prototype, "unitId", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
Field(() => [SplitBatchItemInput]),
|
|
34
|
+
__metadata("design:type", Array)
|
|
35
|
+
], SplitBatchArgs.prototype, "items", void 0);
|
|
36
|
+
SplitBatchArgs = __decorate([
|
|
37
|
+
ArgsType()
|
|
38
|
+
], SplitBatchArgs);
|
|
39
|
+
|
|
40
|
+
export { SplitBatchArgs, SplitBatchItemInput };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, Int, InputType } from '@nestjs/graphql';
|
|
3
|
+
|
|
4
|
+
let TransferOrderArgs = class TransferOrderArgs {
|
|
5
|
+
itemId;
|
|
6
|
+
quantity;
|
|
7
|
+
};
|
|
8
|
+
__decorate([
|
|
9
|
+
Field(() => ID, { description: 'The ID of transfer order item' }),
|
|
10
|
+
__metadata("design:type", String)
|
|
11
|
+
], TransferOrderArgs.prototype, "itemId", void 0);
|
|
12
|
+
__decorate([
|
|
13
|
+
Field(() => Int, { description: 'The quantity to transfer' }),
|
|
14
|
+
__metadata("design:type", Number)
|
|
15
|
+
], TransferOrderArgs.prototype, "quantity", void 0);
|
|
16
|
+
TransferOrderArgs = __decorate([
|
|
17
|
+
InputType()
|
|
18
|
+
], TransferOrderArgs);
|
|
19
|
+
|
|
20
|
+
export { TransferOrderArgs };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { MapRangeType } from '../dto/warehouse-map.dto';
|
|
2
|
+
export declare class MapBackgroundInput {
|
|
3
|
+
id: string;
|
|
4
|
+
filename: string;
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
height: number;
|
|
8
|
+
width: number;
|
|
9
|
+
}
|
|
10
|
+
export declare class MapPolygonRangePointInput {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
}
|
|
14
|
+
export declare class MapRangeInput {
|
|
15
|
+
id: string;
|
|
16
|
+
type: MapRangeType;
|
|
17
|
+
color: string;
|
|
18
|
+
x?: number;
|
|
19
|
+
y?: number;
|
|
20
|
+
width?: number;
|
|
21
|
+
height?: number;
|
|
22
|
+
points?: MapPolygonRangePointInput[];
|
|
23
|
+
}
|
|
24
|
+
export declare class UpdateWarehouseMapArgs {
|
|
25
|
+
locationKey: string;
|
|
26
|
+
backgrounds: MapBackgroundInput[];
|
|
27
|
+
ranges: MapRangeInput[];
|
|
28
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, Float, InputType, ArgsType } from '@nestjs/graphql';
|
|
3
|
+
import { MapRangeType } from '../dto/warehouse-map.dto.js';
|
|
4
|
+
|
|
5
|
+
let MapBackgroundInput = class MapBackgroundInput {
|
|
6
|
+
id;
|
|
7
|
+
filename;
|
|
8
|
+
x;
|
|
9
|
+
y;
|
|
10
|
+
height;
|
|
11
|
+
width;
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
Field(() => ID),
|
|
15
|
+
__metadata("design:type", String)
|
|
16
|
+
], MapBackgroundInput.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Field(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], MapBackgroundInput.prototype, "filename", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Field(() => Float),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], MapBackgroundInput.prototype, "x", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Field(() => Float),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], MapBackgroundInput.prototype, "y", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Field(() => Float),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], MapBackgroundInput.prototype, "height", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
Field(() => Float),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], MapBackgroundInput.prototype, "width", void 0);
|
|
37
|
+
MapBackgroundInput = __decorate([
|
|
38
|
+
InputType()
|
|
39
|
+
], MapBackgroundInput);
|
|
40
|
+
let MapPolygonRangePointInput = class MapPolygonRangePointInput {
|
|
41
|
+
x;
|
|
42
|
+
y;
|
|
43
|
+
};
|
|
44
|
+
__decorate([
|
|
45
|
+
Field(() => Float),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], MapPolygonRangePointInput.prototype, "x", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
Field(() => Float),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], MapPolygonRangePointInput.prototype, "y", void 0);
|
|
52
|
+
MapPolygonRangePointInput = __decorate([
|
|
53
|
+
InputType()
|
|
54
|
+
], MapPolygonRangePointInput);
|
|
55
|
+
let MapRangeInput = class MapRangeInput {
|
|
56
|
+
id;
|
|
57
|
+
type;
|
|
58
|
+
color;
|
|
59
|
+
x;
|
|
60
|
+
y;
|
|
61
|
+
width;
|
|
62
|
+
height;
|
|
63
|
+
points;
|
|
64
|
+
};
|
|
65
|
+
__decorate([
|
|
66
|
+
Field(() => ID),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], MapRangeInput.prototype, "id", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
Field(() => MapRangeType),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], MapRangeInput.prototype, "type", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
Field(() => String),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], MapRangeInput.prototype, "color", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
Field(() => Float, { nullable: true }),
|
|
79
|
+
__metadata("design:type", Number)
|
|
80
|
+
], MapRangeInput.prototype, "x", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
Field(() => Float, { nullable: true }),
|
|
83
|
+
__metadata("design:type", Number)
|
|
84
|
+
], MapRangeInput.prototype, "y", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
Field(() => Float, { nullable: true }),
|
|
87
|
+
__metadata("design:type", Number)
|
|
88
|
+
], MapRangeInput.prototype, "width", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
Field(() => Float, { nullable: true }),
|
|
91
|
+
__metadata("design:type", Number)
|
|
92
|
+
], MapRangeInput.prototype, "height", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
Field(() => [MapPolygonRangePointInput], { nullable: true }),
|
|
95
|
+
__metadata("design:type", Array)
|
|
96
|
+
], MapRangeInput.prototype, "points", void 0);
|
|
97
|
+
MapRangeInput = __decorate([
|
|
98
|
+
InputType()
|
|
99
|
+
], MapRangeInput);
|
|
100
|
+
let UpdateWarehouseMapArgs = class UpdateWarehouseMapArgs {
|
|
101
|
+
locationKey;
|
|
102
|
+
backgrounds;
|
|
103
|
+
ranges;
|
|
104
|
+
};
|
|
105
|
+
__decorate([
|
|
106
|
+
Field(() => ID),
|
|
107
|
+
__metadata("design:type", String)
|
|
108
|
+
], UpdateWarehouseMapArgs.prototype, "locationKey", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
Field(() => [MapBackgroundInput]),
|
|
111
|
+
__metadata("design:type", Array)
|
|
112
|
+
], UpdateWarehouseMapArgs.prototype, "backgrounds", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
Field(() => [MapRangeInput]),
|
|
115
|
+
__metadata("design:type", Array)
|
|
116
|
+
], UpdateWarehouseMapArgs.prototype, "ranges", void 0);
|
|
117
|
+
UpdateWarehouseMapArgs = __decorate([
|
|
118
|
+
ArgsType()
|
|
119
|
+
], UpdateWarehouseMapArgs);
|
|
120
|
+
|
|
121
|
+
export { MapBackgroundInput, MapPolygonRangePointInput, MapRangeInput, UpdateWarehouseMapArgs };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AllocateInventoryOrderService, StockService } from '@rytass/wms-module-core';
|
|
2
|
+
import { AllocateInventoryOrderDto } from '../dto/allocate-inventory-order.dto';
|
|
3
|
+
import { CreateAllocateInventoryOrderArgs, UpdateAllocateInventoryOrderArgs } from '../inputs/create-allocate-inventory-order.args';
|
|
4
|
+
import { DeallocateOrderArgs } from '../inputs/deallocate-order.args';
|
|
5
|
+
export declare class AllocateInventoryOrderMutation {
|
|
6
|
+
private readonly allocateInventoryOrderService;
|
|
7
|
+
private readonly stockService;
|
|
8
|
+
constructor(allocateInventoryOrderService: AllocateInventoryOrderService, stockService: StockService);
|
|
9
|
+
createAllocateInventoryOrder(args: CreateAllocateInventoryOrderArgs): Promise<AllocateInventoryOrderDto>;
|
|
10
|
+
updateAllocateInventoryOrder(args: UpdateAllocateInventoryOrderArgs): Promise<AllocateInventoryOrderDto>;
|
|
11
|
+
deallocate(args: DeallocateOrderArgs[]): Promise<boolean>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { __decorate, __param, __metadata } from 'tslib';
|
|
2
|
+
import { Injectable } from '@nestjs/common';
|
|
3
|
+
import { Mutation, Args } from '@nestjs/graphql';
|
|
4
|
+
import { AllocateInventoryOrderService, StockService } from '@rytass/wms-module-core';
|
|
5
|
+
import { AllocateInventoryOrderDto } from '../dto/allocate-inventory-order.dto.js';
|
|
6
|
+
import { CreateAllocateInventoryOrderArgs, UpdateAllocateInventoryOrderArgs } from '../inputs/create-allocate-inventory-order.args.js';
|
|
7
|
+
import { DeallocateOrderArgs } from '../inputs/deallocate-order.args.js';
|
|
8
|
+
|
|
9
|
+
let AllocateInventoryOrderMutation = class AllocateInventoryOrderMutation {
|
|
10
|
+
allocateInventoryOrderService;
|
|
11
|
+
stockService;
|
|
12
|
+
constructor(allocateInventoryOrderService, stockService) {
|
|
13
|
+
this.allocateInventoryOrderService = allocateInventoryOrderService;
|
|
14
|
+
this.stockService = stockService;
|
|
15
|
+
}
|
|
16
|
+
async createAllocateInventoryOrder(args) {
|
|
17
|
+
return this.allocateInventoryOrderService.createAllocateInventoryOrder({
|
|
18
|
+
...args,
|
|
19
|
+
items: args.items.map(({ aggregatedKey, ...item }) => {
|
|
20
|
+
const keys = this.stockService.destructAggregateKey(aggregatedKey);
|
|
21
|
+
return {
|
|
22
|
+
...item,
|
|
23
|
+
...keys,
|
|
24
|
+
};
|
|
25
|
+
}),
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
async updateAllocateInventoryOrder(args) {
|
|
29
|
+
return this.allocateInventoryOrderService.updateAllocateInventoryOrder({
|
|
30
|
+
...args,
|
|
31
|
+
items: args?.items?.map(({ aggregatedKey, ...item }) => {
|
|
32
|
+
const keys = aggregatedKey
|
|
33
|
+
? this.stockService.destructAggregateKey(aggregatedKey)
|
|
34
|
+
: {};
|
|
35
|
+
return {
|
|
36
|
+
...item,
|
|
37
|
+
...keys,
|
|
38
|
+
};
|
|
39
|
+
}),
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
async deallocate(args) {
|
|
43
|
+
return this.allocateInventoryOrderService
|
|
44
|
+
.deallocate(args.map(({ aggregatedKey, ...item }) => {
|
|
45
|
+
const keys = this.stockService.destructAggregateKey(aggregatedKey);
|
|
46
|
+
return {
|
|
47
|
+
...item,
|
|
48
|
+
...keys,
|
|
49
|
+
};
|
|
50
|
+
}))
|
|
51
|
+
.then(() => true);
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
__decorate([
|
|
55
|
+
Mutation(() => AllocateInventoryOrderDto),
|
|
56
|
+
__param(0, Args()),
|
|
57
|
+
__metadata("design:type", Function),
|
|
58
|
+
__metadata("design:paramtypes", [CreateAllocateInventoryOrderArgs]),
|
|
59
|
+
__metadata("design:returntype", Promise)
|
|
60
|
+
], AllocateInventoryOrderMutation.prototype, "createAllocateInventoryOrder", null);
|
|
61
|
+
__decorate([
|
|
62
|
+
Mutation(() => AllocateInventoryOrderDto),
|
|
63
|
+
__param(0, Args()),
|
|
64
|
+
__metadata("design:type", Function),
|
|
65
|
+
__metadata("design:paramtypes", [UpdateAllocateInventoryOrderArgs]),
|
|
66
|
+
__metadata("design:returntype", Promise)
|
|
67
|
+
], AllocateInventoryOrderMutation.prototype, "updateAllocateInventoryOrder", null);
|
|
68
|
+
__decorate([
|
|
69
|
+
Mutation(() => Boolean),
|
|
70
|
+
__param(0, Args('items', { type: () => [DeallocateOrderArgs] })),
|
|
71
|
+
__metadata("design:type", Function),
|
|
72
|
+
__metadata("design:paramtypes", [Array]),
|
|
73
|
+
__metadata("design:returntype", Promise)
|
|
74
|
+
], AllocateInventoryOrderMutation.prototype, "deallocate", null);
|
|
75
|
+
AllocateInventoryOrderMutation = __decorate([
|
|
76
|
+
Injectable(),
|
|
77
|
+
__metadata("design:paramtypes", [AllocateInventoryOrderService,
|
|
78
|
+
StockService])
|
|
79
|
+
], AllocateInventoryOrderMutation);
|
|
80
|
+
|
|
81
|
+
export { AllocateInventoryOrderMutation };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HoldInventoryOrderService, StockService } from '@rytass/wms-module-core';
|
|
2
|
+
import { HoldInventoryOrderDto } from '../dto/hold-inventory-order.dto';
|
|
3
|
+
import { CreateHoldInventoryOrderArgs, UpdateHoldInventoryOrderArgs } from '../inputs/create-hold-inventory-order.args';
|
|
4
|
+
import { ReleaseOrderArgs } from '../inputs/release-order.args';
|
|
5
|
+
export declare class HoldInventoryOrderMutation {
|
|
6
|
+
private readonly holdInventoryOrderService;
|
|
7
|
+
private readonly stockService;
|
|
8
|
+
constructor(holdInventoryOrderService: HoldInventoryOrderService, stockService: StockService);
|
|
9
|
+
createHoldInventoryOrder(args: CreateHoldInventoryOrderArgs): Promise<HoldInventoryOrderDto>;
|
|
10
|
+
updateHoldInventoryOrder(args: UpdateHoldInventoryOrderArgs): Promise<HoldInventoryOrderDto>;
|
|
11
|
+
release(args: ReleaseOrderArgs[]): Promise<boolean>;
|
|
12
|
+
}
|