@rytass/wms-module-graphql 0.11.1 → 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/index.d.ts +0 -0
- package/lib/inputs/inventory-count-order.args.d.ts +6 -0
- package/package.json +8 -29
- package/adapters/event-emitter.d.mts +0 -6
- package/adapters/event-emitter.mjs +0 -41
- package/adapters/member-base.d.mts +0 -6
- package/adapters/member-base.mjs +0 -63
- package/index.d.mts +0 -6
- package/index.mjs +0 -12
- package/lib/auth/host-skip.constant.mjs +0 -29
- package/lib/auth/wms-auth.guard.mjs +0 -41
- package/lib/auth/wms-auth.types.mjs +0 -6
- package/lib/auth/wms-operation.decorator.mjs +0 -29
- package/lib/dto/allocate-inventory-order-item.dto.mjs +0 -36
- package/lib/dto/allocate-inventory-order.dto.mjs +0 -31
- package/lib/dto/batch.dto.mjs +0 -26
- package/lib/dto/consumption-order-item.dto.mjs +0 -43
- package/lib/dto/consumption-order.dto.mjs +0 -52
- package/lib/dto/hold-inventory-order-item.dto.mjs +0 -37
- package/lib/dto/hold-inventory-order.dto.mjs +0 -47
- package/lib/dto/inventory-count-order.dto.mjs +0 -207
- package/lib/dto/loader-type.dto.mjs +0 -46
- package/lib/dto/loader-unit.dto.mjs +0 -21
- package/lib/dto/loader.dto.mjs +0 -71
- package/lib/dto/location.dto.mjs +0 -36
- package/lib/dto/material-unit.dto.mjs +0 -46
- package/lib/dto/material.dto.mjs +0 -36
- package/lib/dto/merge-batch-order.dto.mjs +0 -50
- package/lib/dto/order-reference.dto.mjs +0 -73
- package/lib/dto/pagination.dto.mjs +0 -51
- package/lib/dto/quality-inspection-order-item.dto.mjs +0 -50
- package/lib/dto/quality-inspection-order.dto.mjs +0 -42
- package/lib/dto/receive-inventory-order-item.dto.mjs +0 -60
- package/lib/dto/receive-inventory-order.dto.mjs +0 -58
- package/lib/dto/reclassify-inventory-order.dto.mjs +0 -55
- package/lib/dto/sale-order.dto.mjs +0 -20
- package/lib/dto/scrape-order-item.dto.mjs +0 -56
- package/lib/dto/scrape-order.dto.mjs +0 -37
- package/lib/dto/ship-inventory-order-item.dto.mjs +0 -56
- package/lib/dto/ship-inventory-order-reference.dto.mjs +0 -48
- package/lib/dto/ship-inventory-order.dto.mjs +0 -58
- package/lib/dto/split-batch-order.dto.mjs +0 -50
- package/lib/dto/stock.dto.mjs +0 -166
- package/lib/dto/transfer-customer-order-item.dto.mjs +0 -61
- package/lib/dto/transfer-customer-order.dto.mjs +0 -37
- package/lib/dto/transfer-order-item.dto.mjs +0 -41
- package/lib/dto/transfer-order.dto.mjs +0 -57
- package/lib/dto/transfer-vendor-order-item.dto.mjs +0 -61
- package/lib/dto/transfer-vendor-order.dto.mjs +0 -37
- package/lib/dto/unit.dto.mjs +0 -20
- package/lib/dto/warehouse-map.dto.mjs +0 -165
- package/lib/events/wms-mutation-event.constants.mjs +0 -4
- package/lib/events/wms-mutation-event.decorator.mjs +0 -20
- package/lib/events/wms-mutation.interceptor.mjs +0 -64
- package/lib/graphql.module.mjs +0 -183
- package/lib/helpers/create-wms-loaders.mjs +0 -11
- package/lib/helpers/helper.module.mjs +0 -15
- package/lib/helpers/loader.service.mjs +0 -230
- package/lib/helpers/query-path.mjs +0 -19
- package/lib/inputs/cancel-ship-order.args.mjs +0 -20
- package/lib/inputs/cancel-transfer-order.args.mjs +0 -23
- package/lib/inputs/consumption-order.args.mjs +0 -182
- package/lib/inputs/create-allocate-inventory-order-item.args.mjs +0 -50
- package/lib/inputs/create-allocate-inventory-order.args.mjs +0 -36
- package/lib/inputs/create-hold-inventory-order-item.args.mjs +0 -40
- package/lib/inputs/create-hold-inventory-order.args.mjs +0 -41
- package/lib/inputs/create-loader-type.args.mjs +0 -35
- package/lib/inputs/create-loader.args.mjs +0 -130
- package/lib/inputs/create-location.args.mjs +0 -50
- package/lib/inputs/create-material-unit.args.mjs +0 -25
- package/lib/inputs/create-material.args.mjs +0 -51
- package/lib/inputs/create-quality-inspection-order.args.mjs +0 -50
- package/lib/inputs/create-receive-inventory-order-item.args.mjs +0 -70
- package/lib/inputs/create-receive-inventory-order.args.mjs +0 -51
- package/lib/inputs/create-ship-inventory-order-item.args.mjs +0 -45
- package/lib/inputs/create-ship-inventory-order-reference.args.mjs +0 -65
- package/lib/inputs/create-ship-inventory-order.args.mjs +0 -57
- package/lib/inputs/create-transfer-customer-order-item.args.mjs +0 -40
- package/lib/inputs/create-transfer-customer-order.args.mjs +0 -51
- package/lib/inputs/create-transfer-order-item.args.mjs +0 -40
- package/lib/inputs/create-transfer-order.args.mjs +0 -61
- package/lib/inputs/create-transfer-vendor-order-item.args.mjs +0 -40
- package/lib/inputs/create-transfer-vendor-order.args.mjs +0 -51
- package/lib/inputs/date-range.args.mjs +0 -20
- package/lib/inputs/deallocate-order.args.mjs +0 -25
- package/lib/inputs/find-allocate-inventory-order.args.mjs +0 -42
- package/lib/inputs/find-batch.args.mjs +0 -21
- package/lib/inputs/find-hold-inventory-order.args.mjs +0 -42
- package/lib/inputs/find-loader-type.args.mjs +0 -32
- package/lib/inputs/find-loader.args.mjs +0 -72
- package/lib/inputs/find-location.args.mjs +0 -26
- package/lib/inputs/find-material.args.mjs +0 -21
- package/lib/inputs/find-receive-inventory-order.args.mjs +0 -71
- package/lib/inputs/find-sale-order.args.mjs +0 -16
- package/lib/inputs/find-ship-inventory-order.args.mjs +0 -71
- package/lib/inputs/find-stock.args.mjs +0 -102
- package/lib/inputs/find-transfer-order.args.mjs +0 -82
- package/lib/inputs/inventory-count-order.args.mjs +0 -257
- package/lib/inputs/merge-batch.args.mjs +0 -40
- package/lib/inputs/order-reference.args.mjs +0 -103
- package/lib/inputs/pagination.args.mjs +0 -20
- package/lib/inputs/receive-order.args.mjs +0 -40
- package/lib/inputs/reclassify-inventory-order.args.mjs +0 -40
- package/lib/inputs/release-order.args.mjs +0 -25
- package/lib/inputs/return-transfer-customer-order.args.mjs +0 -35
- package/lib/inputs/return-transfer-vendor-order.args.mjs +0 -35
- package/lib/inputs/scrape-order.args.mjs +0 -35
- package/lib/inputs/ship-order.args.mjs +0 -20
- package/lib/inputs/split-batch.args.mjs +0 -51
- package/lib/inputs/transfer-order.args.mjs +0 -20
- package/lib/inputs/update-warehouse-map.args.mjs +0 -121
- package/lib/mutations/allocate-inventory-order.mutation.mjs +0 -91
- package/lib/mutations/consumption-order.mutation.mjs +0 -90
- package/lib/mutations/hold-inventory-order.mutation.mjs +0 -91
- package/lib/mutations/inventory-count-order.mutation.mjs +0 -138
- package/lib/mutations/loader.mutation.mjs +0 -123
- package/lib/mutations/location.mutation.mjs +0 -47
- package/lib/mutations/material.mutation.mjs +0 -74
- package/lib/mutations/merge-batch.mutation.mjs +0 -50
- package/lib/mutations/order-reference.mutation.mjs +0 -57
- package/lib/mutations/quality-inspection-order.mutation.mjs +0 -50
- package/lib/mutations/receive-inventory-order.mutation.mjs +0 -106
- package/lib/mutations/reclassify-inventory-order.mutation.mjs +0 -51
- package/lib/mutations/scrape-order.mutation.mjs +0 -44
- package/lib/mutations/ship-inventory-order.mutation.mjs +0 -123
- package/lib/mutations/split-batch.mutation.mjs +0 -44
- package/lib/mutations/transfer-customer-order.mutation.mjs +0 -91
- package/lib/mutations/transfer-order.mutation.mjs +0 -96
- package/lib/mutations/transfer-vendor-order.mutation.mjs +0 -91
- package/lib/mutations/warehouse-map.mutation.mjs +0 -60
- package/lib/queries/allocate-inventory-order.query.mjs +0 -33
- package/lib/queries/batch.query.mjs +0 -36
- package/lib/queries/consumption-order.query.mjs +0 -45
- package/lib/queries/hold-inventory-order.query.mjs +0 -33
- package/lib/queries/inventory-count-order.query.mjs +0 -63
- package/lib/queries/loader.query.mjs +0 -167
- package/lib/queries/location.query.mjs +0 -51
- package/lib/queries/material.query.mjs +0 -79
- package/lib/queries/order-reference.query.mjs +0 -34
- package/lib/queries/recieve-inventory-order.query.mjs +0 -77
- package/lib/queries/sale-order.query.mjs +0 -57
- package/lib/queries/ship-inventory-order.query.mjs +0 -77
- package/lib/queries/stock.query.mjs +0 -116
- package/lib/queries/transfer-order.query.mjs +0 -46
- package/lib/queries/unit.query.mjs +0 -30
- package/lib/queries/warehouse-map.query.mjs +0 -32
- package/lib/registry/operation-registry.mjs +0 -136
- package/lib/resolvers/aggregated-stock.resolver.mjs +0 -119
- package/lib/resolvers/allocate-inventory-order.resolver.mjs +0 -27
- package/lib/resolvers/change-log.resolver.mjs +0 -99
- package/lib/resolvers/consumption-order.resolver.mjs +0 -238
- package/lib/resolvers/hold-inventory-order.resolver.mjs +0 -27
- package/lib/resolvers/inventory-count-order.resolver.mjs +0 -148
- package/lib/resolvers/loader-type.resolver.mjs +0 -54
- package/lib/resolvers/loader.resolver.mjs +0 -99
- package/lib/resolvers/location.resolver.mjs +0 -80
- package/lib/resolvers/material.resolver.mjs +0 -87
- package/lib/resolvers/merge-batch.resolver.mjs +0 -26
- package/lib/resolvers/receive-inventory-order.resolver.mjs +0 -156
- package/lib/resolvers/ship-inventory-order.resolver.mjs +0 -301
- package/lib/resolvers/split-batch.resolver.mjs +0 -26
- package/lib/resolvers/stock.resolver.mjs +0 -99
- package/lib/resolvers/transfer-customer-order.resolver.mjs +0 -27
- package/lib/resolvers/transfer-order.resolver.mjs +0 -246
- package/lib/resolvers/transfer-vendor-order.resolver.mjs +0 -27
- package/lib/resolvers/warehouse-map.resolver.mjs +0 -41
- package/lib/scalars/json-object.scalar.mjs +0 -62
|
@@ -1,257 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { Field, ID, ArgsType, Float, InputType } from '@nestjs/graphql';
|
|
3
|
-
import { InventoryCountStatus } from '@rytass/wms-module-core';
|
|
4
|
-
import { PaginationArgs } from './pagination.args.mjs';
|
|
5
|
-
|
|
6
|
-
let FindInventoryCountOrderArgs = class FindInventoryCountOrderArgs extends PaginationArgs {
|
|
7
|
-
name;
|
|
8
|
-
statuses;
|
|
9
|
-
createdBy;
|
|
10
|
-
/** Inclusive lower bound on `countDate`, `YYYY-MM-DD`. */
|
|
11
|
-
countDateFrom;
|
|
12
|
-
/** Inclusive upper bound on `countDate`, `YYYY-MM-DD`. */
|
|
13
|
-
countDateTo;
|
|
14
|
-
/**
|
|
15
|
-
* Matches against the expanded scope, not the roots the user picked, so
|
|
16
|
-
* filtering by a shelf finds the count that covers its whole aisle.
|
|
17
|
-
*/
|
|
18
|
-
locationIds;
|
|
19
|
-
};
|
|
20
|
-
__decorate([
|
|
21
|
-
Field(() => String, { nullable: true }),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], FindInventoryCountOrderArgs.prototype, "name", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
Field(() => [InventoryCountStatus], { nullable: true }),
|
|
26
|
-
__metadata("design:type", Array)
|
|
27
|
-
], FindInventoryCountOrderArgs.prototype, "statuses", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
Field(() => String, { nullable: true }),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], FindInventoryCountOrderArgs.prototype, "createdBy", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
Field(() => String, { nullable: true }),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], FindInventoryCountOrderArgs.prototype, "countDateFrom", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
Field(() => String, { nullable: true }),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], FindInventoryCountOrderArgs.prototype, "countDateTo", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
Field(() => [ID], { nullable: true }),
|
|
42
|
-
__metadata("design:type", Array)
|
|
43
|
-
], FindInventoryCountOrderArgs.prototype, "locationIds", void 0);
|
|
44
|
-
FindInventoryCountOrderArgs = __decorate([
|
|
45
|
-
ArgsType()
|
|
46
|
-
], FindInventoryCountOrderArgs);
|
|
47
|
-
let FindInventoryCountOrderItemArgs = class FindInventoryCountOrderItemArgs extends PaginationArgs {
|
|
48
|
-
id;
|
|
49
|
-
materialKey;
|
|
50
|
-
materialDescription;
|
|
51
|
-
batchKey;
|
|
52
|
-
locationKey;
|
|
53
|
-
loaderSerialId;
|
|
54
|
-
vendorId;
|
|
55
|
-
customerId;
|
|
56
|
-
saleId;
|
|
57
|
-
saleSerialId;
|
|
58
|
-
/** Only lines whose counted quantity differs from the books (顯示盤差項目). */
|
|
59
|
-
onlyVariance;
|
|
60
|
-
};
|
|
61
|
-
__decorate([
|
|
62
|
-
Field(() => ID),
|
|
63
|
-
__metadata("design:type", String)
|
|
64
|
-
], FindInventoryCountOrderItemArgs.prototype, "id", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
Field(() => String, { nullable: true }),
|
|
67
|
-
__metadata("design:type", String)
|
|
68
|
-
], FindInventoryCountOrderItemArgs.prototype, "materialKey", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
Field(() => String, { nullable: true }),
|
|
71
|
-
__metadata("design:type", String)
|
|
72
|
-
], FindInventoryCountOrderItemArgs.prototype, "materialDescription", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
Field(() => String, { nullable: true }),
|
|
75
|
-
__metadata("design:type", String)
|
|
76
|
-
], FindInventoryCountOrderItemArgs.prototype, "batchKey", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
Field(() => String, { nullable: true }),
|
|
79
|
-
__metadata("design:type", String)
|
|
80
|
-
], FindInventoryCountOrderItemArgs.prototype, "locationKey", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
Field(() => String, { nullable: true }),
|
|
83
|
-
__metadata("design:type", String)
|
|
84
|
-
], FindInventoryCountOrderItemArgs.prototype, "loaderSerialId", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
Field(() => String, { nullable: true }),
|
|
87
|
-
__metadata("design:type", String)
|
|
88
|
-
], FindInventoryCountOrderItemArgs.prototype, "vendorId", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
Field(() => String, { nullable: true }),
|
|
91
|
-
__metadata("design:type", String)
|
|
92
|
-
], FindInventoryCountOrderItemArgs.prototype, "customerId", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
Field(() => String, { nullable: true }),
|
|
95
|
-
__metadata("design:type", String)
|
|
96
|
-
], FindInventoryCountOrderItemArgs.prototype, "saleId", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
Field(() => String, { nullable: true }),
|
|
99
|
-
__metadata("design:type", String)
|
|
100
|
-
], FindInventoryCountOrderItemArgs.prototype, "saleSerialId", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
Field(() => Boolean, { nullable: true }),
|
|
103
|
-
__metadata("design:type", Boolean)
|
|
104
|
-
], FindInventoryCountOrderItemArgs.prototype, "onlyVariance", void 0);
|
|
105
|
-
FindInventoryCountOrderItemArgs = __decorate([
|
|
106
|
-
ArgsType()
|
|
107
|
-
], FindInventoryCountOrderItemArgs);
|
|
108
|
-
let CreateInventoryCountOrderArgs = class CreateInventoryCountOrderArgs {
|
|
109
|
-
name;
|
|
110
|
-
countDate;
|
|
111
|
-
/** Root locations; every descendant is pulled into scope automatically. */
|
|
112
|
-
locationIds;
|
|
113
|
-
};
|
|
114
|
-
__decorate([
|
|
115
|
-
Field(() => String),
|
|
116
|
-
__metadata("design:type", String)
|
|
117
|
-
], CreateInventoryCountOrderArgs.prototype, "name", void 0);
|
|
118
|
-
__decorate([
|
|
119
|
-
Field(() => String),
|
|
120
|
-
__metadata("design:type", String)
|
|
121
|
-
], CreateInventoryCountOrderArgs.prototype, "countDate", void 0);
|
|
122
|
-
__decorate([
|
|
123
|
-
Field(() => [ID]),
|
|
124
|
-
__metadata("design:type", Array)
|
|
125
|
-
], CreateInventoryCountOrderArgs.prototype, "locationIds", void 0);
|
|
126
|
-
CreateInventoryCountOrderArgs = __decorate([
|
|
127
|
-
ArgsType()
|
|
128
|
-
], CreateInventoryCountOrderArgs);
|
|
129
|
-
let UpdateInventoryCountOrderArgs = class UpdateInventoryCountOrderArgs {
|
|
130
|
-
id;
|
|
131
|
-
name;
|
|
132
|
-
countDate;
|
|
133
|
-
locationIds;
|
|
134
|
-
};
|
|
135
|
-
__decorate([
|
|
136
|
-
Field(() => ID),
|
|
137
|
-
__metadata("design:type", String)
|
|
138
|
-
], UpdateInventoryCountOrderArgs.prototype, "id", void 0);
|
|
139
|
-
__decorate([
|
|
140
|
-
Field(() => String, { nullable: true }),
|
|
141
|
-
__metadata("design:type", String)
|
|
142
|
-
], UpdateInventoryCountOrderArgs.prototype, "name", void 0);
|
|
143
|
-
__decorate([
|
|
144
|
-
Field(() => String, { nullable: true }),
|
|
145
|
-
__metadata("design:type", String)
|
|
146
|
-
], UpdateInventoryCountOrderArgs.prototype, "countDate", void 0);
|
|
147
|
-
__decorate([
|
|
148
|
-
Field(() => [ID], { nullable: true }),
|
|
149
|
-
__metadata("design:type", Array)
|
|
150
|
-
], UpdateInventoryCountOrderArgs.prototype, "locationIds", void 0);
|
|
151
|
-
UpdateInventoryCountOrderArgs = __decorate([
|
|
152
|
-
ArgsType()
|
|
153
|
-
], UpdateInventoryCountOrderArgs);
|
|
154
|
-
let CountInventoryItemInput = class CountInventoryItemInput {
|
|
155
|
-
itemId;
|
|
156
|
-
/** `null` clears the entry, putting the line back to "not counted". */
|
|
157
|
-
countedQuantity;
|
|
158
|
-
unitId;
|
|
159
|
-
};
|
|
160
|
-
__decorate([
|
|
161
|
-
Field(() => ID),
|
|
162
|
-
__metadata("design:type", String)
|
|
163
|
-
], CountInventoryItemInput.prototype, "itemId", void 0);
|
|
164
|
-
__decorate([
|
|
165
|
-
Field(() => Float, { nullable: true }),
|
|
166
|
-
__metadata("design:type", Object)
|
|
167
|
-
], CountInventoryItemInput.prototype, "countedQuantity", void 0);
|
|
168
|
-
__decorate([
|
|
169
|
-
Field(() => ID, { nullable: true }),
|
|
170
|
-
__metadata("design:type", Object)
|
|
171
|
-
], CountInventoryItemInput.prototype, "unitId", void 0);
|
|
172
|
-
CountInventoryItemInput = __decorate([
|
|
173
|
-
InputType()
|
|
174
|
-
], CountInventoryItemInput);
|
|
175
|
-
let CountInventoryArgs = class CountInventoryArgs {
|
|
176
|
-
id;
|
|
177
|
-
items;
|
|
178
|
-
};
|
|
179
|
-
__decorate([
|
|
180
|
-
Field(() => ID),
|
|
181
|
-
__metadata("design:type", String)
|
|
182
|
-
], CountInventoryArgs.prototype, "id", void 0);
|
|
183
|
-
__decorate([
|
|
184
|
-
Field(() => [CountInventoryItemInput]),
|
|
185
|
-
__metadata("design:type", Array)
|
|
186
|
-
], CountInventoryArgs.prototype, "items", void 0);
|
|
187
|
-
CountInventoryArgs = __decorate([
|
|
188
|
-
ArgsType()
|
|
189
|
-
], CountInventoryArgs);
|
|
190
|
-
let AddInventoryCountItemArgs = class AddInventoryCountItemArgs {
|
|
191
|
-
id;
|
|
192
|
-
materialId;
|
|
193
|
-
/** An existing batch key, or a new one — the batch is created on demand. */
|
|
194
|
-
batchKey;
|
|
195
|
-
locationId;
|
|
196
|
-
loaderId;
|
|
197
|
-
countedQuantity;
|
|
198
|
-
unitId;
|
|
199
|
-
};
|
|
200
|
-
__decorate([
|
|
201
|
-
Field(() => ID),
|
|
202
|
-
__metadata("design:type", String)
|
|
203
|
-
], AddInventoryCountItemArgs.prototype, "id", void 0);
|
|
204
|
-
__decorate([
|
|
205
|
-
Field(() => ID),
|
|
206
|
-
__metadata("design:type", String)
|
|
207
|
-
], AddInventoryCountItemArgs.prototype, "materialId", void 0);
|
|
208
|
-
__decorate([
|
|
209
|
-
Field(() => String),
|
|
210
|
-
__metadata("design:type", String)
|
|
211
|
-
], AddInventoryCountItemArgs.prototype, "batchKey", void 0);
|
|
212
|
-
__decorate([
|
|
213
|
-
Field(() => ID),
|
|
214
|
-
__metadata("design:type", String)
|
|
215
|
-
], AddInventoryCountItemArgs.prototype, "locationId", void 0);
|
|
216
|
-
__decorate([
|
|
217
|
-
Field(() => ID, { nullable: true }),
|
|
218
|
-
__metadata("design:type", Object)
|
|
219
|
-
], AddInventoryCountItemArgs.prototype, "loaderId", void 0);
|
|
220
|
-
__decorate([
|
|
221
|
-
Field(() => Float),
|
|
222
|
-
__metadata("design:type", Number)
|
|
223
|
-
], AddInventoryCountItemArgs.prototype, "countedQuantity", void 0);
|
|
224
|
-
__decorate([
|
|
225
|
-
Field(() => ID, { nullable: true }),
|
|
226
|
-
__metadata("design:type", Object)
|
|
227
|
-
], AddInventoryCountItemArgs.prototype, "unitId", void 0);
|
|
228
|
-
AddInventoryCountItemArgs = __decorate([
|
|
229
|
-
ArgsType()
|
|
230
|
-
], AddInventoryCountItemArgs);
|
|
231
|
-
let RemoveInventoryCountItemArgs = class RemoveInventoryCountItemArgs {
|
|
232
|
-
id;
|
|
233
|
-
itemId;
|
|
234
|
-
};
|
|
235
|
-
__decorate([
|
|
236
|
-
Field(() => ID),
|
|
237
|
-
__metadata("design:type", String)
|
|
238
|
-
], RemoveInventoryCountItemArgs.prototype, "id", void 0);
|
|
239
|
-
__decorate([
|
|
240
|
-
Field(() => ID),
|
|
241
|
-
__metadata("design:type", String)
|
|
242
|
-
], RemoveInventoryCountItemArgs.prototype, "itemId", void 0);
|
|
243
|
-
RemoveInventoryCountItemArgs = __decorate([
|
|
244
|
-
ArgsType()
|
|
245
|
-
], RemoveInventoryCountItemArgs);
|
|
246
|
-
let InventoryCountOrderIdArgs = class InventoryCountOrderIdArgs {
|
|
247
|
-
id;
|
|
248
|
-
};
|
|
249
|
-
__decorate([
|
|
250
|
-
Field(() => ID),
|
|
251
|
-
__metadata("design:type", String)
|
|
252
|
-
], InventoryCountOrderIdArgs.prototype, "id", void 0);
|
|
253
|
-
InventoryCountOrderIdArgs = __decorate([
|
|
254
|
-
ArgsType()
|
|
255
|
-
], InventoryCountOrderIdArgs);
|
|
256
|
-
|
|
257
|
-
export { AddInventoryCountItemArgs, CountInventoryArgs, CountInventoryItemInput, CreateInventoryCountOrderArgs, FindInventoryCountOrderArgs, FindInventoryCountOrderItemArgs, InventoryCountOrderIdArgs, RemoveInventoryCountItemArgs, UpdateInventoryCountOrderArgs };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { Field, ID, InputType, ArgsType } from '@nestjs/graphql';
|
|
3
|
-
|
|
4
|
-
let MergeBatchItemInput = class MergeBatchItemInput {
|
|
5
|
-
aggregatedKey;
|
|
6
|
-
quantity;
|
|
7
|
-
};
|
|
8
|
-
__decorate([
|
|
9
|
-
Field(() => ID),
|
|
10
|
-
__metadata("design:type", String)
|
|
11
|
-
], MergeBatchItemInput.prototype, "aggregatedKey", void 0);
|
|
12
|
-
__decorate([
|
|
13
|
-
Field(() => Number),
|
|
14
|
-
__metadata("design:type", Number)
|
|
15
|
-
], MergeBatchItemInput.prototype, "quantity", void 0);
|
|
16
|
-
MergeBatchItemInput = __decorate([
|
|
17
|
-
InputType()
|
|
18
|
-
], MergeBatchItemInput);
|
|
19
|
-
let MergeBatchArgs = class MergeBatchArgs {
|
|
20
|
-
batchKey;
|
|
21
|
-
materialId;
|
|
22
|
-
items;
|
|
23
|
-
};
|
|
24
|
-
__decorate([
|
|
25
|
-
Field(() => String),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], MergeBatchArgs.prototype, "batchKey", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
Field(() => ID),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], MergeBatchArgs.prototype, "materialId", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
Field(() => [MergeBatchItemInput]),
|
|
34
|
-
__metadata("design:type", Array)
|
|
35
|
-
], MergeBatchArgs.prototype, "items", void 0);
|
|
36
|
-
MergeBatchArgs = __decorate([
|
|
37
|
-
ArgsType()
|
|
38
|
-
], MergeBatchArgs);
|
|
39
|
-
|
|
40
|
-
export { MergeBatchArgs, MergeBatchItemInput };
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { Field, ID, ArgsType, InputType } from '@nestjs/graphql';
|
|
3
|
-
import { WmsOrderType } from '@rytass/wms-module-core';
|
|
4
|
-
import { GraphQLJSONObject } from '../scalars/json-object.scalar.mjs';
|
|
5
|
-
import { PaginationArgs } from './pagination.args.mjs';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Reads the link in either direction: give it an order to list what that order
|
|
9
|
-
* was opened for, or a `referenceType` / `referenceId` to list every order
|
|
10
|
-
* opened for that document.
|
|
11
|
-
*
|
|
12
|
-
* `referenceType` / `referenceId` / `referenceLine` match exactly, never as a
|
|
13
|
-
* substring — they are identifiers the host owns, and a partial match on
|
|
14
|
-
* 「WO-1」 would quietly sweep in 「WO-10」.
|
|
15
|
-
*/
|
|
16
|
-
let FindOrderReferenceArgs = class FindOrderReferenceArgs extends PaginationArgs {
|
|
17
|
-
orderType;
|
|
18
|
-
orderId;
|
|
19
|
-
itemId;
|
|
20
|
-
referenceType;
|
|
21
|
-
referenceId;
|
|
22
|
-
referenceLine;
|
|
23
|
-
};
|
|
24
|
-
__decorate([
|
|
25
|
-
Field(() => WmsOrderType, { nullable: true }),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], FindOrderReferenceArgs.prototype, "orderType", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
Field(() => ID, { nullable: true }),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], FindOrderReferenceArgs.prototype, "orderId", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
Field(() => ID, { nullable: true }),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], FindOrderReferenceArgs.prototype, "itemId", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
Field(() => String, { nullable: true }),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], FindOrderReferenceArgs.prototype, "referenceType", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
Field(() => String, { nullable: true }),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], FindOrderReferenceArgs.prototype, "referenceId", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
Field(() => String, { nullable: true }),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], FindOrderReferenceArgs.prototype, "referenceLine", void 0);
|
|
48
|
-
FindOrderReferenceArgs = __decorate([
|
|
49
|
-
ArgsType()
|
|
50
|
-
], FindOrderReferenceArgs);
|
|
51
|
-
let OrderReferenceInputType = class OrderReferenceInputType {
|
|
52
|
-
referenceType;
|
|
53
|
-
referenceId;
|
|
54
|
-
referenceLine;
|
|
55
|
-
/** The order item this link is about; omit for an order-level link. */
|
|
56
|
-
itemId;
|
|
57
|
-
metadata;
|
|
58
|
-
};
|
|
59
|
-
__decorate([
|
|
60
|
-
Field(() => String),
|
|
61
|
-
__metadata("design:type", String)
|
|
62
|
-
], OrderReferenceInputType.prototype, "referenceType", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
Field(() => String),
|
|
65
|
-
__metadata("design:type", String)
|
|
66
|
-
], OrderReferenceInputType.prototype, "referenceId", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
Field(() => String, { nullable: true }),
|
|
69
|
-
__metadata("design:type", Object)
|
|
70
|
-
], OrderReferenceInputType.prototype, "referenceLine", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
Field(() => ID, { nullable: true }),
|
|
73
|
-
__metadata("design:type", Object)
|
|
74
|
-
], OrderReferenceInputType.prototype, "itemId", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
Field(() => GraphQLJSONObject, { nullable: true }),
|
|
77
|
-
__metadata("design:type", Object)
|
|
78
|
-
], OrderReferenceInputType.prototype, "metadata", void 0);
|
|
79
|
-
OrderReferenceInputType = __decorate([
|
|
80
|
-
InputType()
|
|
81
|
-
], OrderReferenceInputType);
|
|
82
|
-
let AttachOrderReferencesArgs = class AttachOrderReferencesArgs {
|
|
83
|
-
orderType;
|
|
84
|
-
orderId;
|
|
85
|
-
references;
|
|
86
|
-
};
|
|
87
|
-
__decorate([
|
|
88
|
-
Field(() => WmsOrderType),
|
|
89
|
-
__metadata("design:type", String)
|
|
90
|
-
], AttachOrderReferencesArgs.prototype, "orderType", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
Field(() => ID),
|
|
93
|
-
__metadata("design:type", String)
|
|
94
|
-
], AttachOrderReferencesArgs.prototype, "orderId", void 0);
|
|
95
|
-
__decorate([
|
|
96
|
-
Field(() => [OrderReferenceInputType]),
|
|
97
|
-
__metadata("design:type", Array)
|
|
98
|
-
], AttachOrderReferencesArgs.prototype, "references", void 0);
|
|
99
|
-
AttachOrderReferencesArgs = __decorate([
|
|
100
|
-
ArgsType()
|
|
101
|
-
], AttachOrderReferencesArgs);
|
|
102
|
-
|
|
103
|
-
export { AttachOrderReferencesArgs, FindOrderReferenceArgs, OrderReferenceInputType };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { Field, Int, ArgsType } from '@nestjs/graphql';
|
|
3
|
-
|
|
4
|
-
let PaginationArgs = class PaginationArgs {
|
|
5
|
-
offset;
|
|
6
|
-
limit;
|
|
7
|
-
};
|
|
8
|
-
__decorate([
|
|
9
|
-
Field(() => Int, { nullable: true }),
|
|
10
|
-
__metadata("design:type", Number)
|
|
11
|
-
], PaginationArgs.prototype, "offset", void 0);
|
|
12
|
-
__decorate([
|
|
13
|
-
Field(() => Int, { nullable: true }),
|
|
14
|
-
__metadata("design:type", Number)
|
|
15
|
-
], PaginationArgs.prototype, "limit", void 0);
|
|
16
|
-
PaginationArgs = __decorate([
|
|
17
|
-
ArgsType()
|
|
18
|
-
], PaginationArgs);
|
|
19
|
-
|
|
20
|
-
export { PaginationArgs };
|
|
@@ -1,40 +0,0 @@
|
|
|
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 };
|
|
@@ -1,40 +0,0 @@
|
|
|
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 };
|
|
@@ -1,25 +0,0 @@
|
|
|
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 };
|
|
@@ -1,35 +0,0 @@
|
|
|
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 };
|
|
@@ -1,35 +0,0 @@
|
|
|
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 };
|
|
@@ -1,35 +0,0 @@
|
|
|
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 };
|
|
@@ -1,20 +0,0 @@
|
|
|
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 };
|