@rytass/wms-module-graphql 0.11.0 → 0.12.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/README.md +19 -0
- package/docs/README.md +5 -2
- package/docs/api-reference.md +10 -8
- package/docs/integration-guide.md +34 -17
- package/docs/inventory-count.md +372 -0
- package/index.cjs.js +10 -0
- package/lib/inputs/inventory-count-order.args.d.ts +6 -0
- package/package.json +12 -11
- package/adapters/event-emitter.js +0 -41
- package/adapters/member-base.js +0 -63
- package/index.js +0 -12
- package/lib/auth/host-skip.constant.js +0 -29
- package/lib/auth/wms-auth.guard.js +0 -41
- package/lib/auth/wms-auth.types.js +0 -6
- package/lib/auth/wms-operation.decorator.js +0 -29
- package/lib/dto/allocate-inventory-order-item.dto.js +0 -36
- package/lib/dto/allocate-inventory-order.dto.js +0 -31
- package/lib/dto/batch.dto.js +0 -26
- package/lib/dto/consumption-order-item.dto.js +0 -43
- package/lib/dto/consumption-order.dto.js +0 -52
- package/lib/dto/hold-inventory-order-item.dto.js +0 -37
- package/lib/dto/hold-inventory-order.dto.js +0 -47
- package/lib/dto/inventory-count-order.dto.js +0 -207
- package/lib/dto/loader-type.dto.js +0 -46
- package/lib/dto/loader-unit.dto.js +0 -21
- package/lib/dto/loader.dto.js +0 -71
- package/lib/dto/location.dto.js +0 -36
- package/lib/dto/material-unit.dto.js +0 -46
- package/lib/dto/material.dto.js +0 -36
- package/lib/dto/merge-batch-order.dto.js +0 -50
- package/lib/dto/order-reference.dto.js +0 -73
- package/lib/dto/pagination.dto.js +0 -51
- package/lib/dto/quality-inspection-order-item.dto.js +0 -50
- package/lib/dto/quality-inspection-order.dto.js +0 -42
- package/lib/dto/receive-inventory-order-item.dto.js +0 -60
- package/lib/dto/receive-inventory-order.dto.js +0 -58
- package/lib/dto/reclassify-inventory-order.dto.js +0 -55
- package/lib/dto/sale-order.dto.js +0 -20
- package/lib/dto/scrape-order-item.dto.js +0 -56
- package/lib/dto/scrape-order.dto.js +0 -37
- package/lib/dto/ship-inventory-order-item.dto.js +0 -56
- package/lib/dto/ship-inventory-order-reference.dto.js +0 -48
- package/lib/dto/ship-inventory-order.dto.js +0 -58
- package/lib/dto/split-batch-order.dto.js +0 -50
- package/lib/dto/stock.dto.js +0 -166
- package/lib/dto/transfer-customer-order-item.dto.js +0 -61
- package/lib/dto/transfer-customer-order.dto.js +0 -37
- package/lib/dto/transfer-order-item.dto.js +0 -41
- package/lib/dto/transfer-order.dto.js +0 -57
- package/lib/dto/transfer-vendor-order-item.dto.js +0 -61
- package/lib/dto/transfer-vendor-order.dto.js +0 -37
- package/lib/dto/unit.dto.js +0 -20
- package/lib/dto/warehouse-map.dto.js +0 -165
- package/lib/events/wms-mutation-event.constants.js +0 -4
- package/lib/events/wms-mutation-event.decorator.js +0 -20
- package/lib/events/wms-mutation.interceptor.js +0 -64
- package/lib/graphql.module.js +0 -183
- package/lib/helpers/create-wms-loaders.js +0 -11
- package/lib/helpers/helper.module.js +0 -15
- package/lib/helpers/loader.service.js +0 -230
- package/lib/helpers/query-path.js +0 -19
- package/lib/inputs/cancel-ship-order.args.js +0 -20
- package/lib/inputs/cancel-transfer-order.args.js +0 -23
- package/lib/inputs/consumption-order.args.js +0 -182
- package/lib/inputs/create-allocate-inventory-order-item.args.js +0 -50
- package/lib/inputs/create-allocate-inventory-order.args.js +0 -36
- package/lib/inputs/create-hold-inventory-order-item.args.js +0 -40
- package/lib/inputs/create-hold-inventory-order.args.js +0 -41
- package/lib/inputs/create-loader-type.args.js +0 -35
- package/lib/inputs/create-loader.args.js +0 -130
- package/lib/inputs/create-location.args.js +0 -50
- package/lib/inputs/create-material-unit.args.js +0 -25
- package/lib/inputs/create-material.args.js +0 -51
- package/lib/inputs/create-quality-inspection-order.args.js +0 -50
- package/lib/inputs/create-receive-inventory-order-item.args.js +0 -70
- package/lib/inputs/create-receive-inventory-order.args.js +0 -51
- package/lib/inputs/create-ship-inventory-order-item.args.js +0 -45
- package/lib/inputs/create-ship-inventory-order-reference.args.js +0 -65
- package/lib/inputs/create-ship-inventory-order.args.js +0 -57
- package/lib/inputs/create-transfer-customer-order-item.args.js +0 -40
- package/lib/inputs/create-transfer-customer-order.args.js +0 -51
- package/lib/inputs/create-transfer-order-item.args.js +0 -40
- package/lib/inputs/create-transfer-order.args.js +0 -61
- package/lib/inputs/create-transfer-vendor-order-item.args.js +0 -40
- package/lib/inputs/create-transfer-vendor-order.args.js +0 -51
- package/lib/inputs/date-range.args.js +0 -20
- package/lib/inputs/deallocate-order.args.js +0 -25
- package/lib/inputs/find-allocate-inventory-order.args.js +0 -42
- package/lib/inputs/find-batch.args.js +0 -21
- package/lib/inputs/find-hold-inventory-order.args.js +0 -42
- package/lib/inputs/find-loader-type.args.js +0 -32
- package/lib/inputs/find-loader.args.js +0 -72
- package/lib/inputs/find-location.args.js +0 -26
- package/lib/inputs/find-material.args.js +0 -21
- package/lib/inputs/find-receive-inventory-order.args.js +0 -71
- package/lib/inputs/find-sale-order.args.js +0 -16
- package/lib/inputs/find-ship-inventory-order.args.js +0 -71
- package/lib/inputs/find-stock.args.js +0 -102
- package/lib/inputs/find-transfer-order.args.js +0 -82
- package/lib/inputs/inventory-count-order.args.js +0 -257
- package/lib/inputs/merge-batch.args.js +0 -40
- package/lib/inputs/order-reference.args.js +0 -103
- package/lib/inputs/pagination.args.js +0 -20
- package/lib/inputs/receive-order.args.js +0 -40
- package/lib/inputs/reclassify-inventory-order.args.js +0 -40
- package/lib/inputs/release-order.args.js +0 -25
- package/lib/inputs/return-transfer-customer-order.args.js +0 -35
- package/lib/inputs/return-transfer-vendor-order.args.js +0 -35
- package/lib/inputs/scrape-order.args.js +0 -35
- package/lib/inputs/ship-order.args.js +0 -20
- package/lib/inputs/split-batch.args.js +0 -51
- package/lib/inputs/transfer-order.args.js +0 -20
- package/lib/inputs/update-warehouse-map.args.js +0 -121
- package/lib/mutations/allocate-inventory-order.mutation.js +0 -91
- package/lib/mutations/consumption-order.mutation.js +0 -90
- package/lib/mutations/hold-inventory-order.mutation.js +0 -91
- package/lib/mutations/inventory-count-order.mutation.js +0 -138
- package/lib/mutations/loader.mutation.js +0 -123
- package/lib/mutations/location.mutation.js +0 -47
- package/lib/mutations/material.mutation.js +0 -74
- package/lib/mutations/merge-batch.mutation.js +0 -50
- package/lib/mutations/order-reference.mutation.js +0 -57
- package/lib/mutations/quality-inspection-order.mutation.js +0 -50
- package/lib/mutations/receive-inventory-order.mutation.js +0 -106
- package/lib/mutations/reclassify-inventory-order.mutation.js +0 -51
- package/lib/mutations/scrape-order.mutation.js +0 -44
- package/lib/mutations/ship-inventory-order.mutation.js +0 -123
- package/lib/mutations/split-batch.mutation.js +0 -44
- package/lib/mutations/transfer-customer-order.mutation.js +0 -91
- package/lib/mutations/transfer-order.mutation.js +0 -96
- package/lib/mutations/transfer-vendor-order.mutation.js +0 -91
- package/lib/mutations/warehouse-map.mutation.js +0 -60
- package/lib/queries/allocate-inventory-order.query.js +0 -33
- package/lib/queries/batch.query.js +0 -36
- package/lib/queries/consumption-order.query.js +0 -45
- package/lib/queries/hold-inventory-order.query.js +0 -33
- package/lib/queries/inventory-count-order.query.js +0 -63
- package/lib/queries/loader.query.js +0 -167
- package/lib/queries/location.query.js +0 -51
- package/lib/queries/material.query.js +0 -79
- package/lib/queries/order-reference.query.js +0 -34
- package/lib/queries/recieve-inventory-order.query.js +0 -77
- package/lib/queries/sale-order.query.js +0 -57
- package/lib/queries/ship-inventory-order.query.js +0 -77
- package/lib/queries/stock.query.js +0 -116
- package/lib/queries/transfer-order.query.js +0 -46
- package/lib/queries/unit.query.js +0 -30
- package/lib/queries/warehouse-map.query.js +0 -32
- package/lib/registry/operation-registry.js +0 -136
- package/lib/resolvers/aggregated-stock.resolver.js +0 -119
- package/lib/resolvers/allocate-inventory-order.resolver.js +0 -27
- package/lib/resolvers/change-log.resolver.js +0 -99
- package/lib/resolvers/consumption-order.resolver.js +0 -238
- package/lib/resolvers/hold-inventory-order.resolver.js +0 -27
- package/lib/resolvers/inventory-count-order.resolver.js +0 -148
- package/lib/resolvers/loader-type.resolver.js +0 -54
- package/lib/resolvers/loader.resolver.js +0 -99
- package/lib/resolvers/location.resolver.js +0 -80
- package/lib/resolvers/material.resolver.js +0 -87
- package/lib/resolvers/merge-batch.resolver.js +0 -26
- package/lib/resolvers/receive-inventory-order.resolver.js +0 -156
- package/lib/resolvers/ship-inventory-order.resolver.js +0 -301
- package/lib/resolvers/split-batch.resolver.js +0 -26
- package/lib/resolvers/stock.resolver.js +0 -99
- package/lib/resolvers/transfer-customer-order.resolver.js +0 -27
- package/lib/resolvers/transfer-order.resolver.js +0 -246
- package/lib/resolvers/transfer-vendor-order.resolver.js +0 -27
- package/lib/resolvers/warehouse-map.resolver.js +0 -41
- package/lib/scalars/json-object.scalar.js +0 -62
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { Field, ID, ArgsType } from '@nestjs/graphql';
|
|
3
|
-
import { PaginationArgs } from './pagination.args.js';
|
|
4
|
-
import { DateRangeArgs } from './date-range.args.js';
|
|
5
|
-
|
|
6
|
-
let FindAllocateInventoryOrderArgs = class FindAllocateInventoryOrderArgs extends PaginationArgs {
|
|
7
|
-
key;
|
|
8
|
-
dateRange;
|
|
9
|
-
materialId;
|
|
10
|
-
batchId;
|
|
11
|
-
locationId;
|
|
12
|
-
loaderId;
|
|
13
|
-
};
|
|
14
|
-
__decorate([
|
|
15
|
-
Field(() => String, { nullable: true }),
|
|
16
|
-
__metadata("design:type", String)
|
|
17
|
-
], FindAllocateInventoryOrderArgs.prototype, "key", void 0);
|
|
18
|
-
__decorate([
|
|
19
|
-
Field(() => DateRangeArgs, { nullable: true }),
|
|
20
|
-
__metadata("design:type", DateRangeArgs)
|
|
21
|
-
], FindAllocateInventoryOrderArgs.prototype, "dateRange", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
Field(() => ID, { nullable: true }),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], FindAllocateInventoryOrderArgs.prototype, "materialId", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
Field(() => ID, { nullable: true }),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], FindAllocateInventoryOrderArgs.prototype, "batchId", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
Field(() => ID, { nullable: true }),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], FindAllocateInventoryOrderArgs.prototype, "locationId", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
Field(() => ID, { nullable: true }),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], FindAllocateInventoryOrderArgs.prototype, "loaderId", void 0);
|
|
38
|
-
FindAllocateInventoryOrderArgs = __decorate([
|
|
39
|
-
ArgsType()
|
|
40
|
-
], FindAllocateInventoryOrderArgs);
|
|
41
|
-
|
|
42
|
-
export { FindAllocateInventoryOrderArgs };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { Field, ID, ArgsType } from '@nestjs/graphql';
|
|
3
|
-
import { PaginationArgs } from './pagination.args.js';
|
|
4
|
-
|
|
5
|
-
let FindBatchArgs = class FindBatchArgs extends PaginationArgs {
|
|
6
|
-
key;
|
|
7
|
-
materialId;
|
|
8
|
-
};
|
|
9
|
-
__decorate([
|
|
10
|
-
Field(() => String, { nullable: true }),
|
|
11
|
-
__metadata("design:type", String)
|
|
12
|
-
], FindBatchArgs.prototype, "key", void 0);
|
|
13
|
-
__decorate([
|
|
14
|
-
Field(() => ID, { nullable: true }),
|
|
15
|
-
__metadata("design:type", String)
|
|
16
|
-
], FindBatchArgs.prototype, "materialId", void 0);
|
|
17
|
-
FindBatchArgs = __decorate([
|
|
18
|
-
ArgsType()
|
|
19
|
-
], FindBatchArgs);
|
|
20
|
-
|
|
21
|
-
export { FindBatchArgs };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { Field, ID, ArgsType } from '@nestjs/graphql';
|
|
3
|
-
import { DateRangeArgs } from './date-range.args.js';
|
|
4
|
-
import { PaginationArgs } from './pagination.args.js';
|
|
5
|
-
|
|
6
|
-
let FindHoldInventoryOrderArgs = class FindHoldInventoryOrderArgs extends PaginationArgs {
|
|
7
|
-
key;
|
|
8
|
-
dateRange;
|
|
9
|
-
materialId;
|
|
10
|
-
batchId;
|
|
11
|
-
locationId;
|
|
12
|
-
loaderId;
|
|
13
|
-
};
|
|
14
|
-
__decorate([
|
|
15
|
-
Field(() => String, { nullable: true }),
|
|
16
|
-
__metadata("design:type", String)
|
|
17
|
-
], FindHoldInventoryOrderArgs.prototype, "key", void 0);
|
|
18
|
-
__decorate([
|
|
19
|
-
Field(() => DateRangeArgs, { nullable: true }),
|
|
20
|
-
__metadata("design:type", DateRangeArgs)
|
|
21
|
-
], FindHoldInventoryOrderArgs.prototype, "dateRange", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
Field(() => ID, { nullable: true }),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], FindHoldInventoryOrderArgs.prototype, "materialId", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
Field(() => ID, { nullable: true }),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], FindHoldInventoryOrderArgs.prototype, "batchId", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
Field(() => ID, { nullable: true }),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], FindHoldInventoryOrderArgs.prototype, "locationId", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
Field(() => ID, { nullable: true }),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], FindHoldInventoryOrderArgs.prototype, "loaderId", void 0);
|
|
38
|
-
FindHoldInventoryOrderArgs = __decorate([
|
|
39
|
-
ArgsType()
|
|
40
|
-
], FindHoldInventoryOrderArgs);
|
|
41
|
-
|
|
42
|
-
export { FindHoldInventoryOrderArgs };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { Field, ArgsType } from '@nestjs/graphql';
|
|
3
|
-
import { PaginationArgs } from './pagination.args.js';
|
|
4
|
-
import { DateRangeArgs } from './date-range.args.js';
|
|
5
|
-
|
|
6
|
-
let FindLoaderTypeArgs = class FindLoaderTypeArgs extends PaginationArgs {
|
|
7
|
-
description;
|
|
8
|
-
isActive;
|
|
9
|
-
dateRange;
|
|
10
|
-
key;
|
|
11
|
-
};
|
|
12
|
-
__decorate([
|
|
13
|
-
Field(() => String, { nullable: true }),
|
|
14
|
-
__metadata("design:type", String)
|
|
15
|
-
], FindLoaderTypeArgs.prototype, "description", void 0);
|
|
16
|
-
__decorate([
|
|
17
|
-
Field(() => Boolean, { nullable: true }),
|
|
18
|
-
__metadata("design:type", Boolean)
|
|
19
|
-
], FindLoaderTypeArgs.prototype, "isActive", void 0);
|
|
20
|
-
__decorate([
|
|
21
|
-
Field(() => DateRangeArgs, { nullable: true }),
|
|
22
|
-
__metadata("design:type", DateRangeArgs)
|
|
23
|
-
], FindLoaderTypeArgs.prototype, "dateRange", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
Field(() => String, { nullable: true }),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], FindLoaderTypeArgs.prototype, "key", void 0);
|
|
28
|
-
FindLoaderTypeArgs = __decorate([
|
|
29
|
-
ArgsType()
|
|
30
|
-
], FindLoaderTypeArgs);
|
|
31
|
-
|
|
32
|
-
export { FindLoaderTypeArgs };
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { Field, ID, ArgsType } from '@nestjs/graphql';
|
|
3
|
-
import { PaginationArgs } from './pagination.args.js';
|
|
4
|
-
import { DateRangeArgs } from './date-range.args.js';
|
|
5
|
-
|
|
6
|
-
let FindLoaderArgs = class FindLoaderArgs extends PaginationArgs {
|
|
7
|
-
key;
|
|
8
|
-
typeId;
|
|
9
|
-
typeIds;
|
|
10
|
-
locationId;
|
|
11
|
-
locationIds;
|
|
12
|
-
serialId;
|
|
13
|
-
serialIds;
|
|
14
|
-
isActive;
|
|
15
|
-
dateRange;
|
|
16
|
-
note;
|
|
17
|
-
locationKey;
|
|
18
|
-
loaderTypeKey;
|
|
19
|
-
};
|
|
20
|
-
__decorate([
|
|
21
|
-
Field(() => String, { nullable: true }),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], FindLoaderArgs.prototype, "key", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
Field(() => ID, { nullable: true }),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], FindLoaderArgs.prototype, "typeId", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
Field(() => [ID], { nullable: true }),
|
|
30
|
-
__metadata("design:type", Array)
|
|
31
|
-
], FindLoaderArgs.prototype, "typeIds", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
Field(() => ID, { nullable: true }),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], FindLoaderArgs.prototype, "locationId", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
Field(() => [ID], { nullable: true }),
|
|
38
|
-
__metadata("design:type", Array)
|
|
39
|
-
], FindLoaderArgs.prototype, "locationIds", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
Field(() => String, { nullable: true }),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], FindLoaderArgs.prototype, "serialId", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
Field(() => [String], { nullable: true }),
|
|
46
|
-
__metadata("design:type", Array)
|
|
47
|
-
], FindLoaderArgs.prototype, "serialIds", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
Field(() => Boolean, { nullable: true }),
|
|
50
|
-
__metadata("design:type", Boolean)
|
|
51
|
-
], FindLoaderArgs.prototype, "isActive", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
Field(() => DateRangeArgs, { nullable: true }),
|
|
54
|
-
__metadata("design:type", DateRangeArgs)
|
|
55
|
-
], FindLoaderArgs.prototype, "dateRange", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
Field(() => String, { nullable: true }),
|
|
58
|
-
__metadata("design:type", String)
|
|
59
|
-
], FindLoaderArgs.prototype, "note", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
Field(() => String, { nullable: true }),
|
|
62
|
-
__metadata("design:type", String)
|
|
63
|
-
], FindLoaderArgs.prototype, "locationKey", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
Field(() => String, { nullable: true }),
|
|
66
|
-
__metadata("design:type", String)
|
|
67
|
-
], FindLoaderArgs.prototype, "loaderTypeKey", void 0);
|
|
68
|
-
FindLoaderArgs = __decorate([
|
|
69
|
-
ArgsType()
|
|
70
|
-
], FindLoaderArgs);
|
|
71
|
-
|
|
72
|
-
export { FindLoaderArgs };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { Field, ArgsType } from '@nestjs/graphql';
|
|
3
|
-
import { PaginationArgs } from './pagination.args.js';
|
|
4
|
-
|
|
5
|
-
let FindLocationArgs = class FindLocationArgs extends PaginationArgs {
|
|
6
|
-
description;
|
|
7
|
-
isActive;
|
|
8
|
-
key;
|
|
9
|
-
};
|
|
10
|
-
__decorate([
|
|
11
|
-
Field(() => String, { nullable: true }),
|
|
12
|
-
__metadata("design:type", String)
|
|
13
|
-
], FindLocationArgs.prototype, "description", void 0);
|
|
14
|
-
__decorate([
|
|
15
|
-
Field(() => Boolean, { nullable: true }),
|
|
16
|
-
__metadata("design:type", Boolean)
|
|
17
|
-
], FindLocationArgs.prototype, "isActive", void 0);
|
|
18
|
-
__decorate([
|
|
19
|
-
Field(() => String, { nullable: true }),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], FindLocationArgs.prototype, "key", void 0);
|
|
22
|
-
FindLocationArgs = __decorate([
|
|
23
|
-
ArgsType()
|
|
24
|
-
], FindLocationArgs);
|
|
25
|
-
|
|
26
|
-
export { FindLocationArgs };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { Field, ArgsType } from '@nestjs/graphql';
|
|
3
|
-
import { PaginationArgs } from './pagination.args.js';
|
|
4
|
-
|
|
5
|
-
let FindMaterialArgs = class FindMaterialArgs extends PaginationArgs {
|
|
6
|
-
key;
|
|
7
|
-
description;
|
|
8
|
-
};
|
|
9
|
-
__decorate([
|
|
10
|
-
Field(() => String, { nullable: true }),
|
|
11
|
-
__metadata("design:type", String)
|
|
12
|
-
], FindMaterialArgs.prototype, "key", void 0);
|
|
13
|
-
__decorate([
|
|
14
|
-
Field(() => String, { nullable: true }),
|
|
15
|
-
__metadata("design:type", String)
|
|
16
|
-
], FindMaterialArgs.prototype, "description", void 0);
|
|
17
|
-
FindMaterialArgs = __decorate([
|
|
18
|
-
ArgsType()
|
|
19
|
-
], FindMaterialArgs);
|
|
20
|
-
|
|
21
|
-
export { FindMaterialArgs };
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { registerEnumType, Field, ID, ArgsType } from '@nestjs/graphql';
|
|
3
|
-
import { PaginationArgs } from './pagination.args.js';
|
|
4
|
-
import { DateRangeArgs } from './date-range.args.js';
|
|
5
|
-
import { ReceiveInventoryOrderStatus } from '@rytass/wms-module-core';
|
|
6
|
-
|
|
7
|
-
registerEnumType(ReceiveInventoryOrderStatus, {
|
|
8
|
-
name: 'ReceiveInventoryOrderStatus',
|
|
9
|
-
});
|
|
10
|
-
let FindReceiveInventoryOrderArgs = class FindReceiveInventoryOrderArgs extends PaginationArgs {
|
|
11
|
-
id;
|
|
12
|
-
createdBy;
|
|
13
|
-
status;
|
|
14
|
-
statuses;
|
|
15
|
-
dateRange;
|
|
16
|
-
description;
|
|
17
|
-
key;
|
|
18
|
-
materialKey;
|
|
19
|
-
batchKey;
|
|
20
|
-
locationKey;
|
|
21
|
-
loaderKey;
|
|
22
|
-
};
|
|
23
|
-
__decorate([
|
|
24
|
-
Field(() => ID, { nullable: true }),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], FindReceiveInventoryOrderArgs.prototype, "id", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
Field(() => String, { nullable: true }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], FindReceiveInventoryOrderArgs.prototype, "createdBy", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
Field(() => ReceiveInventoryOrderStatus, { nullable: true }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], FindReceiveInventoryOrderArgs.prototype, "status", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
Field(() => [ReceiveInventoryOrderStatus], { nullable: true }),
|
|
37
|
-
__metadata("design:type", Array)
|
|
38
|
-
], FindReceiveInventoryOrderArgs.prototype, "statuses", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
Field(() => DateRangeArgs, { nullable: true }),
|
|
41
|
-
__metadata("design:type", DateRangeArgs)
|
|
42
|
-
], FindReceiveInventoryOrderArgs.prototype, "dateRange", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
Field(() => String, { nullable: true }),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], FindReceiveInventoryOrderArgs.prototype, "description", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
Field(() => String, { nullable: true }),
|
|
49
|
-
__metadata("design:type", String)
|
|
50
|
-
], FindReceiveInventoryOrderArgs.prototype, "key", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
Field(() => String, { nullable: true }),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], FindReceiveInventoryOrderArgs.prototype, "materialKey", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
Field(() => String, { nullable: true }),
|
|
57
|
-
__metadata("design:type", String)
|
|
58
|
-
], FindReceiveInventoryOrderArgs.prototype, "batchKey", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
Field(() => String, { nullable: true }),
|
|
61
|
-
__metadata("design:type", String)
|
|
62
|
-
], FindReceiveInventoryOrderArgs.prototype, "locationKey", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
Field(() => String, { nullable: true }),
|
|
65
|
-
__metadata("design:type", String)
|
|
66
|
-
], FindReceiveInventoryOrderArgs.prototype, "loaderKey", void 0);
|
|
67
|
-
FindReceiveInventoryOrderArgs = __decorate([
|
|
68
|
-
ArgsType()
|
|
69
|
-
], FindReceiveInventoryOrderArgs);
|
|
70
|
-
|
|
71
|
-
export { FindReceiveInventoryOrderArgs };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { Field, ArgsType } from '@nestjs/graphql';
|
|
3
|
-
import { PaginationArgs } from './pagination.args.js';
|
|
4
|
-
|
|
5
|
-
let FindSaleOrderArgs = class FindSaleOrderArgs extends PaginationArgs {
|
|
6
|
-
key;
|
|
7
|
-
};
|
|
8
|
-
__decorate([
|
|
9
|
-
Field({ nullable: true }),
|
|
10
|
-
__metadata("design:type", String)
|
|
11
|
-
], FindSaleOrderArgs.prototype, "key", void 0);
|
|
12
|
-
FindSaleOrderArgs = __decorate([
|
|
13
|
-
ArgsType()
|
|
14
|
-
], FindSaleOrderArgs);
|
|
15
|
-
|
|
16
|
-
export { FindSaleOrderArgs };
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { registerEnumType, Field, ID, ArgsType } from '@nestjs/graphql';
|
|
3
|
-
import { PaginationArgs } from './pagination.args.js';
|
|
4
|
-
import { DateRangeArgs } from './date-range.args.js';
|
|
5
|
-
import { ShipInventoryOrderStatus } from '@rytass/wms-module-core';
|
|
6
|
-
|
|
7
|
-
registerEnumType(ShipInventoryOrderStatus, {
|
|
8
|
-
name: 'ShipInventoryOrderStatus',
|
|
9
|
-
});
|
|
10
|
-
let FindShipInventoryOrderArgs = class FindShipInventoryOrderArgs extends PaginationArgs {
|
|
11
|
-
id;
|
|
12
|
-
createdBy;
|
|
13
|
-
status;
|
|
14
|
-
statuses;
|
|
15
|
-
dateRange;
|
|
16
|
-
description;
|
|
17
|
-
key;
|
|
18
|
-
materialKey;
|
|
19
|
-
batchKey;
|
|
20
|
-
locationKey;
|
|
21
|
-
loaderKey;
|
|
22
|
-
};
|
|
23
|
-
__decorate([
|
|
24
|
-
Field(() => ID, { nullable: true }),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], FindShipInventoryOrderArgs.prototype, "id", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
Field(() => String, { nullable: true }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], FindShipInventoryOrderArgs.prototype, "createdBy", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
Field(() => ShipInventoryOrderStatus, { nullable: true }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], FindShipInventoryOrderArgs.prototype, "status", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
Field(() => [ShipInventoryOrderStatus], { nullable: true }),
|
|
37
|
-
__metadata("design:type", Array)
|
|
38
|
-
], FindShipInventoryOrderArgs.prototype, "statuses", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
Field(() => DateRangeArgs, { nullable: true }),
|
|
41
|
-
__metadata("design:type", DateRangeArgs)
|
|
42
|
-
], FindShipInventoryOrderArgs.prototype, "dateRange", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
Field(() => String, { nullable: true }),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], FindShipInventoryOrderArgs.prototype, "description", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
Field(() => String, { nullable: true }),
|
|
49
|
-
__metadata("design:type", String)
|
|
50
|
-
], FindShipInventoryOrderArgs.prototype, "key", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
Field(() => String, { nullable: true }),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], FindShipInventoryOrderArgs.prototype, "materialKey", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
Field(() => String, { nullable: true }),
|
|
57
|
-
__metadata("design:type", String)
|
|
58
|
-
], FindShipInventoryOrderArgs.prototype, "batchKey", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
Field(() => String, { nullable: true }),
|
|
61
|
-
__metadata("design:type", String)
|
|
62
|
-
], FindShipInventoryOrderArgs.prototype, "locationKey", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
Field(() => String, { nullable: true }),
|
|
65
|
-
__metadata("design:type", String)
|
|
66
|
-
], FindShipInventoryOrderArgs.prototype, "loaderKey", void 0);
|
|
67
|
-
FindShipInventoryOrderArgs = __decorate([
|
|
68
|
-
ArgsType()
|
|
69
|
-
], FindShipInventoryOrderArgs);
|
|
70
|
-
|
|
71
|
-
export { FindShipInventoryOrderArgs };
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { Field, ID, ArgsType } from '@nestjs/graphql';
|
|
3
|
-
import { PaginationArgs } from './pagination.args.js';
|
|
4
|
-
import { StockStatus } from '@rytass/wms-module-core';
|
|
5
|
-
|
|
6
|
-
let FindStockArgs = class FindStockArgs extends PaginationArgs {
|
|
7
|
-
materialId;
|
|
8
|
-
batchId;
|
|
9
|
-
locationId;
|
|
10
|
-
/**
|
|
11
|
-
* Locations to leave out of the result. Subtractive counterpart to
|
|
12
|
-
* `locationId`: a stock report uses it to drop locations that do not hold
|
|
13
|
-
* available inventory (staging, quarantine, a host's work-in-progress lane).
|
|
14
|
-
*/
|
|
15
|
-
excludeLocationIds;
|
|
16
|
-
loaderId;
|
|
17
|
-
ids;
|
|
18
|
-
description;
|
|
19
|
-
status;
|
|
20
|
-
materialKey;
|
|
21
|
-
batchKey;
|
|
22
|
-
locationKey;
|
|
23
|
-
loaderKey;
|
|
24
|
-
/**
|
|
25
|
-
* Commercial attributes carried by the stock's batch. Matched exactly — they
|
|
26
|
-
* are identifiers from the host system, and a partial match on 「SO-1」 would
|
|
27
|
-
* quietly sweep in 「SO-10」.
|
|
28
|
-
*/
|
|
29
|
-
vendorId;
|
|
30
|
-
customerId;
|
|
31
|
-
saleId;
|
|
32
|
-
saleSerialId;
|
|
33
|
-
};
|
|
34
|
-
__decorate([
|
|
35
|
-
Field(() => ID, { nullable: true }),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], FindStockArgs.prototype, "materialId", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
Field(() => ID, { nullable: true }),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], FindStockArgs.prototype, "batchId", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
Field(() => ID, { nullable: true }),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], FindStockArgs.prototype, "locationId", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
Field(() => [ID], { nullable: true }),
|
|
48
|
-
__metadata("design:type", Array)
|
|
49
|
-
], FindStockArgs.prototype, "excludeLocationIds", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
Field(() => ID, { nullable: true }),
|
|
52
|
-
__metadata("design:type", String)
|
|
53
|
-
], FindStockArgs.prototype, "loaderId", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
Field(() => [ID], { nullable: true }),
|
|
56
|
-
__metadata("design:type", Array)
|
|
57
|
-
], FindStockArgs.prototype, "ids", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
Field(() => String, { nullable: true }),
|
|
60
|
-
__metadata("design:type", String)
|
|
61
|
-
], FindStockArgs.prototype, "description", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
Field(() => StockStatus, { nullable: true }),
|
|
64
|
-
__metadata("design:type", String)
|
|
65
|
-
], FindStockArgs.prototype, "status", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
Field(() => String, { nullable: true }),
|
|
68
|
-
__metadata("design:type", String)
|
|
69
|
-
], FindStockArgs.prototype, "materialKey", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
Field(() => String, { nullable: true }),
|
|
72
|
-
__metadata("design:type", String)
|
|
73
|
-
], FindStockArgs.prototype, "batchKey", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
Field(() => String, { nullable: true }),
|
|
76
|
-
__metadata("design:type", String)
|
|
77
|
-
], FindStockArgs.prototype, "locationKey", void 0);
|
|
78
|
-
__decorate([
|
|
79
|
-
Field(() => String, { nullable: true }),
|
|
80
|
-
__metadata("design:type", String)
|
|
81
|
-
], FindStockArgs.prototype, "loaderKey", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
Field(() => String, { nullable: true }),
|
|
84
|
-
__metadata("design:type", String)
|
|
85
|
-
], FindStockArgs.prototype, "vendorId", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
Field(() => String, { nullable: true }),
|
|
88
|
-
__metadata("design:type", String)
|
|
89
|
-
], FindStockArgs.prototype, "customerId", void 0);
|
|
90
|
-
__decorate([
|
|
91
|
-
Field(() => String, { nullable: true }),
|
|
92
|
-
__metadata("design:type", String)
|
|
93
|
-
], FindStockArgs.prototype, "saleId", void 0);
|
|
94
|
-
__decorate([
|
|
95
|
-
Field(() => String, { nullable: true }),
|
|
96
|
-
__metadata("design:type", String)
|
|
97
|
-
], FindStockArgs.prototype, "saleSerialId", void 0);
|
|
98
|
-
FindStockArgs = __decorate([
|
|
99
|
-
ArgsType()
|
|
100
|
-
], FindStockArgs);
|
|
101
|
-
|
|
102
|
-
export { FindStockArgs };
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { Field, ID, ArgsType } from '@nestjs/graphql';
|
|
3
|
-
import { DateRangeArgs } from './date-range.args.js';
|
|
4
|
-
import { PaginationArgs } from './pagination.args.js';
|
|
5
|
-
|
|
6
|
-
let FindTransferOrderArgs = class FindTransferOrderArgs extends PaginationArgs {
|
|
7
|
-
key;
|
|
8
|
-
receiver;
|
|
9
|
-
dateRange;
|
|
10
|
-
description;
|
|
11
|
-
materialId;
|
|
12
|
-
batchId;
|
|
13
|
-
locationId;
|
|
14
|
-
loaderId;
|
|
15
|
-
materialKey;
|
|
16
|
-
batchKey;
|
|
17
|
-
locationKey;
|
|
18
|
-
loaderKey;
|
|
19
|
-
targetLocationKey;
|
|
20
|
-
targetLoaderKey;
|
|
21
|
-
};
|
|
22
|
-
__decorate([
|
|
23
|
-
Field(() => String, { nullable: true }),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], FindTransferOrderArgs.prototype, "key", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
Field(() => String, { nullable: true }),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], FindTransferOrderArgs.prototype, "receiver", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
Field(() => DateRangeArgs, { nullable: true }),
|
|
32
|
-
__metadata("design:type", DateRangeArgs)
|
|
33
|
-
], FindTransferOrderArgs.prototype, "dateRange", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
Field(() => String, { nullable: true }),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], FindTransferOrderArgs.prototype, "description", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
Field(() => ID, { nullable: true }),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], FindTransferOrderArgs.prototype, "materialId", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
Field(() => ID, { nullable: true }),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], FindTransferOrderArgs.prototype, "batchId", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
Field(() => ID, { nullable: true }),
|
|
48
|
-
__metadata("design:type", String)
|
|
49
|
-
], FindTransferOrderArgs.prototype, "locationId", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
Field(() => ID, { nullable: true }),
|
|
52
|
-
__metadata("design:type", String)
|
|
53
|
-
], FindTransferOrderArgs.prototype, "loaderId", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
Field(() => String, { nullable: true }),
|
|
56
|
-
__metadata("design:type", String)
|
|
57
|
-
], FindTransferOrderArgs.prototype, "materialKey", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
Field(() => String, { nullable: true }),
|
|
60
|
-
__metadata("design:type", String)
|
|
61
|
-
], FindTransferOrderArgs.prototype, "batchKey", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
Field(() => String, { nullable: true }),
|
|
64
|
-
__metadata("design:type", String)
|
|
65
|
-
], FindTransferOrderArgs.prototype, "locationKey", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
Field(() => String, { nullable: true }),
|
|
68
|
-
__metadata("design:type", String)
|
|
69
|
-
], FindTransferOrderArgs.prototype, "loaderKey", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
Field(() => String, { nullable: true }),
|
|
72
|
-
__metadata("design:type", String)
|
|
73
|
-
], FindTransferOrderArgs.prototype, "targetLocationKey", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
Field(() => String, { nullable: true }),
|
|
76
|
-
__metadata("design:type", String)
|
|
77
|
-
], FindTransferOrderArgs.prototype, "targetLoaderKey", void 0);
|
|
78
|
-
FindTransferOrderArgs = __decorate([
|
|
79
|
-
ArgsType()
|
|
80
|
-
], FindTransferOrderArgs);
|
|
81
|
-
|
|
82
|
-
export { FindTransferOrderArgs };
|