@things-factory/sales-base 8.0.3 → 8.0.5
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/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -12
- package/server/constants/attachment-type.ts +0 -9
- package/server/constants/index.ts +0 -7
- package/server/constants/load-type.ts +0 -4
- package/server/constants/order.ts +0 -203
- package/server/constants/product-group-type.ts +0 -4
- package/server/constants/release-good.ts +0 -9
- package/server/constants/transfer-order-type.ts +0 -6
- package/server/constants/validation-error-code.ts +0 -3
- package/server/constants/vas-target-type.ts +0 -25
- package/server/controllers/ecommerce/ecommerce-controller.ts +0 -122
- package/server/controllers/ecommerce/index.ts +0 -2
- package/server/controllers/ecommerce/sellercraft-controller.ts +0 -182
- package/server/controllers/index.ts +0 -2
- package/server/controllers/order-controller.ts +0 -296
- package/server/errors/index.ts +0 -1
- package/server/errors/validation-error.ts +0 -25
- package/server/index.ts +0 -5
- package/server/migrations/index.ts +0 -9
- package/server/service/arrival-notice/arrival-notice-mutation.ts +0 -1152
- package/server/service/arrival-notice/arrival-notice-query.ts +0 -549
- package/server/service/arrival-notice/arrival-notice-types.ts +0 -310
- package/server/service/arrival-notice/arrival-notice.ts +0 -202
- package/server/service/arrival-notice/index.ts +0 -9
- package/server/service/claim/claim-mutation.ts +0 -308
- package/server/service/claim/claim-query.ts +0 -122
- package/server/service/claim/claim-types.ts +0 -130
- package/server/service/claim/claim.ts +0 -140
- package/server/service/claim/index.ts +0 -9
- package/server/service/claim-detail/claim-detail-mutation.ts +0 -102
- package/server/service/claim-detail/claim-detail-query.ts +0 -55
- package/server/service/claim-detail/claim-detail-types.ts +0 -47
- package/server/service/claim-detail/claim-detail.ts +0 -69
- package/server/service/claim-detail/index.ts +0 -9
- package/server/service/claim-order/claim-order-mutation.ts +0 -101
- package/server/service/claim-order/claim-order-query.ts +0 -47
- package/server/service/claim-order/claim-order-types.ts +0 -35
- package/server/service/claim-order/claim-order.ts +0 -81
- package/server/service/claim-order/index.ts +0 -9
- package/server/service/collection-order/collection-order-mutation.ts +0 -245
- package/server/service/collection-order/collection-order-query.ts +0 -97
- package/server/service/collection-order/collection-order-types.ts +0 -165
- package/server/service/collection-order/collection-order.ts +0 -135
- package/server/service/collection-order/index.ts +0 -9
- package/server/service/delivery-order/delivery-order-mutation.ts +0 -967
- package/server/service/delivery-order/delivery-order-query.ts +0 -631
- package/server/service/delivery-order/delivery-order-types.ts +0 -268
- package/server/service/delivery-order/delivery-order.ts +0 -258
- package/server/service/delivery-order/index.ts +0 -9
- package/server/service/draft-release-good/draft-release-good-mutation.ts +0 -765
- package/server/service/draft-release-good/draft-release-good-query.ts +0 -354
- package/server/service/draft-release-good/draft-release-good-type.ts +0 -261
- package/server/service/draft-release-good/draft-release-good.ts +0 -284
- package/server/service/draft-release-good/index.ts +0 -9
- package/server/service/goods-receival-note/goods-receival-note-mutation.ts +0 -129
- package/server/service/goods-receival-note/goods-receival-note-query.ts +0 -280
- package/server/service/goods-receival-note/goods-receival-note-types.ts +0 -105
- package/server/service/goods-receival-note/goods-receival-note.ts +0 -127
- package/server/service/goods-receival-note/index.ts +0 -9
- package/server/service/index.ts +0 -238
- package/server/service/inventory-check/index.ts +0 -9
- package/server/service/inventory-check/inventory-check-mutation.ts +0 -149
- package/server/service/inventory-check/inventory-check-query.ts +0 -48
- package/server/service/inventory-check/inventory-check-types.ts +0 -48
- package/server/service/inventory-check/inventory-check.ts +0 -90
- package/server/service/invoice/index.ts +0 -9
- package/server/service/invoice/invoice-mutation.ts +0 -95
- package/server/service/invoice/invoice-query.ts +0 -53
- package/server/service/invoice/invoice-types.ts +0 -279
- package/server/service/invoice/invoice.ts +0 -230
- package/server/service/invoice-product/index.ts +0 -9
- package/server/service/invoice-product/invoice-product-mutation.ts +0 -54
- package/server/service/invoice-product/invoice-product-query.ts +0 -54
- package/server/service/invoice-product/invoice-product-types.ts +0 -84
- package/server/service/invoice-product/invoice-product.ts +0 -92
- package/server/service/job-sheet/index.ts +0 -9
- package/server/service/job-sheet/job-sheet-mutation.ts +0 -92
- package/server/service/job-sheet/job-sheet-query.ts +0 -112
- package/server/service/job-sheet/job-sheet-types.ts +0 -78
- package/server/service/job-sheet/job-sheet.ts +0 -102
- package/server/service/manifest/index.ts +0 -6
- package/server/service/manifest/manifest-mutation.ts +0 -190
- package/server/service/manifest/manifest-query.ts +0 -149
- package/server/service/manifest/manifest-type.ts +0 -84
- package/server/service/manifest/manifest.ts +0 -114
- package/server/service/order-inventory/index.ts +0 -9
- package/server/service/order-inventory/order-inventory-mutation.ts +0 -54
- package/server/service/order-inventory/order-inventory-query.ts +0 -722
- package/server/service/order-inventory/order-inventory-types.ts +0 -238
- package/server/service/order-inventory/order-inventory.ts +0 -401
- package/server/service/order-product/index.ts +0 -9
- package/server/service/order-product/order-product-mutation.ts +0 -48
- package/server/service/order-product/order-product-query.ts +0 -89
- package/server/service/order-product/order-product-types.ts +0 -335
- package/server/service/order-product/order-product.ts +0 -362
- package/server/service/order-tote/index.ts +0 -9
- package/server/service/order-tote/order-tote-mutation.ts +0 -31
- package/server/service/order-tote/order-tote-query.ts +0 -112
- package/server/service/order-tote/order-tote-types.ts +0 -47
- package/server/service/order-tote/order-tote.ts +0 -73
- package/server/service/order-tote-item/index.ts +0 -9
- package/server/service/order-tote-item/order-tote-item-mutation.ts +0 -31
- package/server/service/order-tote-item/order-tote-item-query.ts +0 -82
- package/server/service/order-tote-item/order-tote-item-types.ts +0 -56
- package/server/service/order-tote-item/order-tote-item.ts +0 -72
- package/server/service/order-tote-seal/index.ts +0 -9
- package/server/service/order-tote-seal/order-tote-seal-mutation.ts +0 -31
- package/server/service/order-tote-seal/order-tote-seal-query.ts +0 -59
- package/server/service/order-tote-seal/order-tote-seal-types.ts +0 -41
- package/server/service/order-tote-seal/order-tote-seal.ts +0 -46
- package/server/service/order-vas/index.ts +0 -9
- package/server/service/order-vas/order-vas-mutation.ts +0 -20
- package/server/service/order-vas/order-vas-query.ts +0 -72
- package/server/service/order-vas/order-vas-types.ts +0 -159
- package/server/service/order-vas/order-vas.ts +0 -207
- package/server/service/others/index.ts +0 -5
- package/server/service/others/other-query.ts +0 -563
- package/server/service/others/other-types.ts +0 -115
- package/server/service/purchase-order/index.ts +0 -9
- package/server/service/purchase-order/purchase-order-mutation.ts +0 -458
- package/server/service/purchase-order/purchase-order-query.ts +0 -90
- package/server/service/purchase-order/purchase-order-types.ts +0 -154
- package/server/service/purchase-order/purchase-order.ts +0 -172
- package/server/service/purchase-order-other-charge/index.ts +0 -9
- package/server/service/purchase-order-other-charge/purchase-order-other-charge-mutation.ts +0 -31
- package/server/service/purchase-order-other-charge/purchase-order-other-charge-query.ts +0 -52
- package/server/service/purchase-order-other-charge/purchase-order-other-charge-types.ts +0 -44
- package/server/service/purchase-order-other-charge/purchase-order-other-charge.ts +0 -68
- package/server/service/release-good/index.ts +0 -9
- package/server/service/release-good/release-good-mutation.ts +0 -1686
- package/server/service/release-good/release-good-query.ts +0 -980
- package/server/service/release-good/release-good-types.ts +0 -662
- package/server/service/release-good/release-good.ts +0 -490
- package/server/service/retail-replenishment-order/index.ts +0 -9
- package/server/service/retail-replenishment-order/retail-replenishment-order-mutation.ts +0 -382
- package/server/service/retail-replenishment-order/retail-replenishment-order-query.ts +0 -54
- package/server/service/retail-replenishment-order/retail-replenishment-order-types.ts +0 -101
- package/server/service/retail-replenishment-order/retail-replenishment-order.ts +0 -115
- package/server/service/return-order/index.ts +0 -9
- package/server/service/return-order/return-order-mutation.ts +0 -516
- package/server/service/return-order/return-order-query.ts +0 -226
- package/server/service/return-order/return-order-types.ts +0 -196
- package/server/service/return-order/return-order.ts +0 -127
- package/server/service/reverse-kitting-order/index.ts +0 -9
- package/server/service/reverse-kitting-order/reverse-kitting-order-mutation.ts +0 -500
- package/server/service/reverse-kitting-order/reverse-kitting-order-query.ts +0 -197
- package/server/service/reverse-kitting-order/reverse-kitting-order-type.ts +0 -173
- package/server/service/reverse-kitting-order/reverse-kitting-order.ts +0 -121
- package/server/service/reverse-kitting-order-inventory/index.ts +0 -9
- package/server/service/reverse-kitting-order-inventory/reverse-kitting-order-inventory-mutation.ts +0 -129
- package/server/service/reverse-kitting-order-inventory/reverse-kitting-order-inventory-query.ts +0 -52
- package/server/service/reverse-kitting-order-inventory/reverse-kitting-order-inventory-type.ts +0 -95
- package/server/service/reverse-kitting-order-inventory/reverse-kitting-order-inventory.ts +0 -143
- package/server/service/shipping-order/index.ts +0 -9
- package/server/service/shipping-order/shipping-order-mutation.ts +0 -61
- package/server/service/shipping-order/shipping-order-query.ts +0 -61
- package/server/service/shipping-order/shipping-order-types.ts +0 -89
- package/server/service/shipping-order/shipping-order.ts +0 -129
- package/server/service/transfer-order/index.ts +0 -9
- package/server/service/transfer-order/transfer-order-mutation.ts +0 -309
- package/server/service/transfer-order/transfer-order-query.ts +0 -66
- package/server/service/transfer-order/transfer-order-types.ts +0 -97
- package/server/service/transfer-order/transfer-order.ts +0 -117
- package/server/service/vas/index.ts +0 -9
- package/server/service/vas/vas-mutation.ts +0 -106
- package/server/service/vas/vas-query.ts +0 -60
- package/server/service/vas/vas-types.ts +0 -71
- package/server/service/vas/vas.ts +0 -77
- package/server/service/vas-order/index.ts +0 -9
- package/server/service/vas-order/vas-order-mutation.ts +0 -259
- package/server/service/vas-order/vas-order-query.ts +0 -119
- package/server/service/vas-order/vas-order-types.ts +0 -49
- package/server/service/vas-order/vas-order.ts +0 -81
- package/server/utils/datetime-util.ts +0 -54
- package/server/utils/index.ts +0 -3
- package/server/utils/inventory-util.ts +0 -1155
- package/server/utils/order-no-generator.ts +0 -146
|
@@ -1,662 +0,0 @@
|
|
|
1
|
-
import { Field, Float, InputType, Int, ObjectType } from 'type-graphql'
|
|
2
|
-
|
|
3
|
-
import { Product } from '@things-factory/product-base'
|
|
4
|
-
import { ObjectRef } from '@things-factory/shell'
|
|
5
|
-
import { Location } from '@things-factory/warehouse-base'
|
|
6
|
-
|
|
7
|
-
import { ArrivalNoticePatch } from '../arrival-notice/arrival-notice-types'
|
|
8
|
-
import { NewOrderInventory } from '../order-inventory/order-inventory-types'
|
|
9
|
-
import { NewOrderVas } from '../order-vas/order-vas-types'
|
|
10
|
-
import { ReleaseGood } from './release-good'
|
|
11
|
-
|
|
12
|
-
@ObjectType()
|
|
13
|
-
export class ReleaseGoodList {
|
|
14
|
-
@Field(type => [ReleaseGood], { nullable: true })
|
|
15
|
-
items: ReleaseGood[]
|
|
16
|
-
|
|
17
|
-
@Field(type => Int, { nullable: false })
|
|
18
|
-
total: number
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@ObjectType()
|
|
22
|
-
export class ReleasableInventoryList {
|
|
23
|
-
@Field(type => [ReleasableInventory], { nullable: true })
|
|
24
|
-
items: ReleasableInventory[]
|
|
25
|
-
|
|
26
|
-
@Field(type => Int, { nullable: true })
|
|
27
|
-
total: number
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@ObjectType()
|
|
31
|
-
export class ReleasableInventory {
|
|
32
|
-
@Field({ nullable: true })
|
|
33
|
-
batchId: string
|
|
34
|
-
|
|
35
|
-
@Field({ nullable: true })
|
|
36
|
-
containerNo: string
|
|
37
|
-
|
|
38
|
-
@Field({ nullable: true })
|
|
39
|
-
packingType: string
|
|
40
|
-
|
|
41
|
-
@Field(type => Float, { nullable: false })
|
|
42
|
-
remainQty: number
|
|
43
|
-
|
|
44
|
-
@Field(type => Float, { nullable: true })
|
|
45
|
-
remainWeight: number
|
|
46
|
-
|
|
47
|
-
@Field(type => Product, { nullable: true })
|
|
48
|
-
product: Product
|
|
49
|
-
|
|
50
|
-
@Field({ nullable: true })
|
|
51
|
-
productName: string
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@ObjectType()
|
|
55
|
-
export class InventoryInfos {
|
|
56
|
-
@Field({ nullable: true })
|
|
57
|
-
id?: string
|
|
58
|
-
|
|
59
|
-
@Field({ nullable: true })
|
|
60
|
-
name?: string
|
|
61
|
-
|
|
62
|
-
@Field({ nullable: true })
|
|
63
|
-
batchId?: string
|
|
64
|
-
|
|
65
|
-
@Field({ nullable: true })
|
|
66
|
-
batchIdRef?: string
|
|
67
|
-
|
|
68
|
-
@Field({ nullable: true })
|
|
69
|
-
palletId?: string
|
|
70
|
-
|
|
71
|
-
@Field({ nullable: true })
|
|
72
|
-
productIdRef?: string
|
|
73
|
-
|
|
74
|
-
@Field({ nullable: true })
|
|
75
|
-
productName?: string
|
|
76
|
-
|
|
77
|
-
@Field(type => Product, { nullable: true })
|
|
78
|
-
product?: Product
|
|
79
|
-
|
|
80
|
-
@Field({ nullable: true })
|
|
81
|
-
packingType?: string
|
|
82
|
-
|
|
83
|
-
@Field(type => Float, { nullable: true })
|
|
84
|
-
packingSize?: number
|
|
85
|
-
|
|
86
|
-
@Field(type => Int, { nullable: false })
|
|
87
|
-
qty?: number
|
|
88
|
-
|
|
89
|
-
@Field(type => Float, { nullable: true })
|
|
90
|
-
weight?: number
|
|
91
|
-
|
|
92
|
-
@Field(type => Float, { nullable: true })
|
|
93
|
-
releaseQty?: number
|
|
94
|
-
|
|
95
|
-
@Field(type => Float, { nullable: true })
|
|
96
|
-
releaseWeight?: number
|
|
97
|
-
|
|
98
|
-
@Field({ nullable: true })
|
|
99
|
-
inventoryName?: string
|
|
100
|
-
|
|
101
|
-
@Field(type => Location, { nullable: true })
|
|
102
|
-
location?: Location
|
|
103
|
-
|
|
104
|
-
@Field({ nullable: true })
|
|
105
|
-
status?: string
|
|
106
|
-
|
|
107
|
-
@Field(type => Float, { nullable: true })
|
|
108
|
-
releaseUomValue?: number
|
|
109
|
-
|
|
110
|
-
@Field(type => Float, { nullable: true })
|
|
111
|
-
uomValue?: number
|
|
112
|
-
|
|
113
|
-
@Field({ nullable: true })
|
|
114
|
-
uom?: string
|
|
115
|
-
|
|
116
|
-
@Field(type => Float, { nullable: true })
|
|
117
|
-
returnQty?: number
|
|
118
|
-
|
|
119
|
-
@Field(type => Float, { nullable: true })
|
|
120
|
-
returnUomValue?: number
|
|
121
|
-
|
|
122
|
-
@Field({ nullable: true })
|
|
123
|
-
remark?: string
|
|
124
|
-
|
|
125
|
-
@Field({ nullable: true })
|
|
126
|
-
lockedQty?: number
|
|
127
|
-
|
|
128
|
-
@Field({ nullable: true })
|
|
129
|
-
lockedUomValue?: number
|
|
130
|
-
|
|
131
|
-
@Field({ nullable: true })
|
|
132
|
-
refWorksheetId?: string
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
@ObjectType()
|
|
136
|
-
export class ShippingOrderInfo {
|
|
137
|
-
@Field({ nullable: true })
|
|
138
|
-
id?: string
|
|
139
|
-
|
|
140
|
-
@Field({ nullable: true })
|
|
141
|
-
containerNo?: string
|
|
142
|
-
|
|
143
|
-
@Field({ nullable: true })
|
|
144
|
-
containerSize?: string
|
|
145
|
-
|
|
146
|
-
@Field({ nullable: true })
|
|
147
|
-
containerLeavingDate?: string
|
|
148
|
-
|
|
149
|
-
@Field({ nullable: true })
|
|
150
|
-
containerArrivalDate?: string
|
|
151
|
-
|
|
152
|
-
@Field({ nullable: true })
|
|
153
|
-
containerClosureDate?: string
|
|
154
|
-
|
|
155
|
-
@Field({ nullable: true })
|
|
156
|
-
containerLeavingDateTime?: string
|
|
157
|
-
|
|
158
|
-
@Field({ nullable: true })
|
|
159
|
-
containerArrivalDateTime?: string
|
|
160
|
-
|
|
161
|
-
@Field({ nullable: true })
|
|
162
|
-
shipName?: string
|
|
163
|
-
|
|
164
|
-
@Field({ nullable: true })
|
|
165
|
-
remark?: string
|
|
166
|
-
|
|
167
|
-
@Field({ nullable: true })
|
|
168
|
-
remindContainerDeparture: boolean
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
@InputType()
|
|
172
|
-
export class NewReleaseGood {
|
|
173
|
-
@Field({ nullable: true })
|
|
174
|
-
name: string
|
|
175
|
-
|
|
176
|
-
@Field({ nullable: true })
|
|
177
|
-
bundleInfo: string
|
|
178
|
-
|
|
179
|
-
@Field({ nullable: true })
|
|
180
|
-
releaseDate: string
|
|
181
|
-
|
|
182
|
-
@Field({ nullable: true })
|
|
183
|
-
type: string
|
|
184
|
-
|
|
185
|
-
@Field({ nullable: true })
|
|
186
|
-
orderMethod: string
|
|
187
|
-
|
|
188
|
-
@Field({ nullable: true })
|
|
189
|
-
collectionOrderNo: string
|
|
190
|
-
|
|
191
|
-
@Field({ nullable: true })
|
|
192
|
-
ownTransport: Boolean
|
|
193
|
-
|
|
194
|
-
@Field({ nullable: true })
|
|
195
|
-
crossDocking: Boolean
|
|
196
|
-
|
|
197
|
-
@Field({ nullable: true })
|
|
198
|
-
courierOption: Boolean
|
|
199
|
-
|
|
200
|
-
@Field({ nullable: true })
|
|
201
|
-
packingOption: Boolean
|
|
202
|
-
|
|
203
|
-
@Field({ nullable: true })
|
|
204
|
-
packageId: string
|
|
205
|
-
|
|
206
|
-
@Field({ nullable: true })
|
|
207
|
-
truckNo: string
|
|
208
|
-
|
|
209
|
-
@Field({ nullable: true })
|
|
210
|
-
refNo: string
|
|
211
|
-
|
|
212
|
-
@Field({ nullable: true })
|
|
213
|
-
refNo2: string
|
|
214
|
-
|
|
215
|
-
@Field({ nullable: true })
|
|
216
|
-
refNo3: string
|
|
217
|
-
|
|
218
|
-
@Field({ nullable: true })
|
|
219
|
-
pickupAddress: string
|
|
220
|
-
|
|
221
|
-
@Field({ nullable: true })
|
|
222
|
-
pickupTime: string
|
|
223
|
-
|
|
224
|
-
@Field({ nullable: true })
|
|
225
|
-
handoverType: string
|
|
226
|
-
|
|
227
|
-
@Field({ nullable: true })
|
|
228
|
-
dropoffAddress: string
|
|
229
|
-
|
|
230
|
-
@Field({ nullable: true })
|
|
231
|
-
marketplaceOrderStatus: string
|
|
232
|
-
|
|
233
|
-
@Field({ nullable: true })
|
|
234
|
-
billingAddress: string
|
|
235
|
-
|
|
236
|
-
@Field({ nullable: true })
|
|
237
|
-
deliveryAddress1: string
|
|
238
|
-
|
|
239
|
-
@Field({ nullable: true })
|
|
240
|
-
deliveryAddress2: string
|
|
241
|
-
|
|
242
|
-
@Field({ nullable: true })
|
|
243
|
-
deliveryAddress3: string
|
|
244
|
-
|
|
245
|
-
@Field({ nullable: true })
|
|
246
|
-
deliveryAddress4: string
|
|
247
|
-
|
|
248
|
-
@Field({ nullable: true })
|
|
249
|
-
deliveryAddress5: string
|
|
250
|
-
|
|
251
|
-
@Field({ nullable: true })
|
|
252
|
-
attentionTo: string
|
|
253
|
-
|
|
254
|
-
@Field({ nullable: true })
|
|
255
|
-
attentionCompany: string
|
|
256
|
-
|
|
257
|
-
@Field({ nullable: true })
|
|
258
|
-
city: string
|
|
259
|
-
|
|
260
|
-
@Field({ nullable: true })
|
|
261
|
-
state: string
|
|
262
|
-
|
|
263
|
-
@Field({ nullable: true })
|
|
264
|
-
postalCode: string
|
|
265
|
-
|
|
266
|
-
@Field({ nullable: true })
|
|
267
|
-
country: string
|
|
268
|
-
|
|
269
|
-
@Field({ nullable: true })
|
|
270
|
-
phone1: string
|
|
271
|
-
|
|
272
|
-
@Field({ nullable: true })
|
|
273
|
-
phone2: string
|
|
274
|
-
|
|
275
|
-
@Field({ nullable: true })
|
|
276
|
-
email: string
|
|
277
|
-
|
|
278
|
-
@Field({ nullable: true })
|
|
279
|
-
transporter: string
|
|
280
|
-
|
|
281
|
-
@Field({ nullable: true })
|
|
282
|
-
trackingNo: string
|
|
283
|
-
|
|
284
|
-
@Field({ nullable: true })
|
|
285
|
-
airwayBill: string
|
|
286
|
-
|
|
287
|
-
@Field({ nullable: true })
|
|
288
|
-
invoice: string
|
|
289
|
-
|
|
290
|
-
@Field(type => ArrivalNoticePatch, { nullable: true })
|
|
291
|
-
arrivalNotice: ArrivalNoticePatch
|
|
292
|
-
|
|
293
|
-
@Field({ nullable: true })
|
|
294
|
-
ganNo: string
|
|
295
|
-
|
|
296
|
-
@Field()
|
|
297
|
-
exportOption: Boolean
|
|
298
|
-
|
|
299
|
-
@Field(type => ObjectRef, { nullable: true })
|
|
300
|
-
shippingOrder: ObjectRef
|
|
301
|
-
|
|
302
|
-
@Field(type => [NewOrderInventory], { nullable: true })
|
|
303
|
-
orderInventories: NewOrderInventory[]
|
|
304
|
-
|
|
305
|
-
@Field(type => [NewOrderVas], { nullable: true })
|
|
306
|
-
orderVass: NewOrderVas[]
|
|
307
|
-
|
|
308
|
-
@Field({ nullable: true })
|
|
309
|
-
status: string
|
|
310
|
-
|
|
311
|
-
@Field({ nullable: true })
|
|
312
|
-
description: string
|
|
313
|
-
|
|
314
|
-
@Field({ nullable: true })
|
|
315
|
-
warehouseId: string // outletID
|
|
316
|
-
|
|
317
|
-
@Field({ nullable: true })
|
|
318
|
-
deliverTo: string
|
|
319
|
-
|
|
320
|
-
@Field({ nullable: true })
|
|
321
|
-
customerBizplaceId: string
|
|
322
|
-
|
|
323
|
-
@Field({ nullable: true })
|
|
324
|
-
partnerBizplaceId: string
|
|
325
|
-
|
|
326
|
-
/* Mainly used for rawReleaseGood*/
|
|
327
|
-
@Field({ nullable: true })
|
|
328
|
-
productId: string
|
|
329
|
-
|
|
330
|
-
@Field({ nullable: true })
|
|
331
|
-
productDetailId: string
|
|
332
|
-
|
|
333
|
-
@Field({ nullable: true })
|
|
334
|
-
sku: string
|
|
335
|
-
|
|
336
|
-
@Field({ nullable: true })
|
|
337
|
-
packingType: string
|
|
338
|
-
|
|
339
|
-
@Field({ nullable: true })
|
|
340
|
-
packingSize: number
|
|
341
|
-
|
|
342
|
-
@Field({ nullable: true })
|
|
343
|
-
uom: string
|
|
344
|
-
|
|
345
|
-
@Field({ nullable: true })
|
|
346
|
-
releaseQty: number
|
|
347
|
-
|
|
348
|
-
@Field({ nullable: true })
|
|
349
|
-
assignedQty: number
|
|
350
|
-
|
|
351
|
-
@Field({ nullable: true })
|
|
352
|
-
assignedUomValue: number
|
|
353
|
-
|
|
354
|
-
@Field(type => Float, { nullable: true })
|
|
355
|
-
remainQty: number
|
|
356
|
-
|
|
357
|
-
@Field({ nullable: true })
|
|
358
|
-
remainUomValue: number
|
|
359
|
-
|
|
360
|
-
@Field({ nullable: true })
|
|
361
|
-
remark: string
|
|
362
|
-
|
|
363
|
-
@Field({ nullable: true })
|
|
364
|
-
errorMsg: string
|
|
365
|
-
|
|
366
|
-
@Field({ nullable: true })
|
|
367
|
-
storeName: string
|
|
368
|
-
|
|
369
|
-
@Field({ nullable: true })
|
|
370
|
-
storeId: string
|
|
371
|
-
|
|
372
|
-
@Field({ nullable: true })
|
|
373
|
-
routeId: string
|
|
374
|
-
|
|
375
|
-
@Field({ nullable: true })
|
|
376
|
-
stopId: string
|
|
377
|
-
|
|
378
|
-
@Field({ nullable: true })
|
|
379
|
-
billingCity: string
|
|
380
|
-
|
|
381
|
-
@Field({ nullable: true })
|
|
382
|
-
billingPostalCode: string
|
|
383
|
-
|
|
384
|
-
@Field({ nullable: true })
|
|
385
|
-
billingCountry: string
|
|
386
|
-
|
|
387
|
-
@Field({ nullable: true })
|
|
388
|
-
billingState: string
|
|
389
|
-
|
|
390
|
-
@Field({ nullable: true })
|
|
391
|
-
recall: boolean
|
|
392
|
-
|
|
393
|
-
@Field({ nullable: true })
|
|
394
|
-
releaseType?: string
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
@InputType()
|
|
398
|
-
export class ReleaseGoodPatch {
|
|
399
|
-
@Field({ nullable: true })
|
|
400
|
-
id: string
|
|
401
|
-
|
|
402
|
-
@Field({ nullable: true })
|
|
403
|
-
name: string
|
|
404
|
-
|
|
405
|
-
@Field({ nullable: true })
|
|
406
|
-
releaseDate: string
|
|
407
|
-
|
|
408
|
-
@Field({ nullable: true })
|
|
409
|
-
collectionOrderNo: string
|
|
410
|
-
|
|
411
|
-
@Field({ nullable: true })
|
|
412
|
-
ownTransport: Boolean
|
|
413
|
-
|
|
414
|
-
@Field({ nullable: true })
|
|
415
|
-
crossDocking: Boolean
|
|
416
|
-
|
|
417
|
-
@Field({ nullable: true })
|
|
418
|
-
type: string
|
|
419
|
-
|
|
420
|
-
@Field({ nullable: true })
|
|
421
|
-
orderMethod: string
|
|
422
|
-
|
|
423
|
-
@Field({ nullable: true })
|
|
424
|
-
truckNo: string
|
|
425
|
-
|
|
426
|
-
@Field({ nullable: true })
|
|
427
|
-
inventoryId: string
|
|
428
|
-
|
|
429
|
-
@Field({ nullable: true })
|
|
430
|
-
productId: string
|
|
431
|
-
|
|
432
|
-
@Field({ nullable: true })
|
|
433
|
-
ganNo: string
|
|
434
|
-
|
|
435
|
-
@Field(type => ArrivalNoticePatch, { nullable: true })
|
|
436
|
-
arrivalNotice: ArrivalNoticePatch
|
|
437
|
-
|
|
438
|
-
@Field({ nullable: true })
|
|
439
|
-
packageId: string
|
|
440
|
-
|
|
441
|
-
@Field({ nullable: true })
|
|
442
|
-
pickupAddress: string
|
|
443
|
-
|
|
444
|
-
@Field({ nullable: true })
|
|
445
|
-
pickupTime: string
|
|
446
|
-
|
|
447
|
-
@Field({ nullable: true })
|
|
448
|
-
handoverType: string
|
|
449
|
-
|
|
450
|
-
@Field({ nullable: true })
|
|
451
|
-
dropoffAddress: string
|
|
452
|
-
|
|
453
|
-
@Field({ nullable: true })
|
|
454
|
-
refNo: string
|
|
455
|
-
|
|
456
|
-
@Field({ nullable: true })
|
|
457
|
-
refNo2: string
|
|
458
|
-
|
|
459
|
-
@Field({ nullable: true })
|
|
460
|
-
refNo3: string
|
|
461
|
-
|
|
462
|
-
@Field({ nullable: true })
|
|
463
|
-
exportOption: Boolean
|
|
464
|
-
|
|
465
|
-
@Field({ nullable: true })
|
|
466
|
-
courierOption: Boolean
|
|
467
|
-
|
|
468
|
-
@Field({ nullable: true })
|
|
469
|
-
packingOption: Boolean
|
|
470
|
-
|
|
471
|
-
@Field(type => ObjectRef, { nullable: true })
|
|
472
|
-
shippingOrder: ObjectRef
|
|
473
|
-
|
|
474
|
-
@Field(type => [ObjectRef], { nullable: true })
|
|
475
|
-
deliveryOrders: ObjectRef[]
|
|
476
|
-
|
|
477
|
-
@Field(type => [ObjectRef], { nullable: true })
|
|
478
|
-
orderInventories: ObjectRef[]
|
|
479
|
-
|
|
480
|
-
@Field(type => [ObjectRef], { nullable: true })
|
|
481
|
-
orderVass: ObjectRef[]
|
|
482
|
-
|
|
483
|
-
@Field({ nullable: true })
|
|
484
|
-
status: string
|
|
485
|
-
|
|
486
|
-
@Field({ nullable: true })
|
|
487
|
-
remark: string
|
|
488
|
-
|
|
489
|
-
@Field({ nullable: true })
|
|
490
|
-
marketplaceOrderStatus: string
|
|
491
|
-
|
|
492
|
-
@Field({ nullable: true })
|
|
493
|
-
billingAddress: string
|
|
494
|
-
|
|
495
|
-
@Field({ nullable: true })
|
|
496
|
-
deliveryAddress1: string
|
|
497
|
-
|
|
498
|
-
@Field({ nullable: true })
|
|
499
|
-
deliveryAddress2: string
|
|
500
|
-
|
|
501
|
-
@Field({ nullable: true })
|
|
502
|
-
deliveryAddress3: string
|
|
503
|
-
|
|
504
|
-
@Field({ nullable: true })
|
|
505
|
-
deliveryAddress4: string
|
|
506
|
-
|
|
507
|
-
@Field({ nullable: true })
|
|
508
|
-
deliveryAddress5: string
|
|
509
|
-
|
|
510
|
-
@Field({ nullable: true })
|
|
511
|
-
attentionTo: string
|
|
512
|
-
|
|
513
|
-
@Field({ nullable: true })
|
|
514
|
-
attentionCompany: string
|
|
515
|
-
|
|
516
|
-
@Field({ nullable: true })
|
|
517
|
-
city: string
|
|
518
|
-
|
|
519
|
-
@Field({ nullable: true })
|
|
520
|
-
state: string
|
|
521
|
-
|
|
522
|
-
@Field({ nullable: true })
|
|
523
|
-
postalCode: string
|
|
524
|
-
|
|
525
|
-
@Field({ nullable: true })
|
|
526
|
-
country: string
|
|
527
|
-
|
|
528
|
-
@Field({ nullable: true })
|
|
529
|
-
phone1: string
|
|
530
|
-
|
|
531
|
-
@Field({ nullable: true })
|
|
532
|
-
phone2: string
|
|
533
|
-
|
|
534
|
-
@Field({ nullable: true })
|
|
535
|
-
email: string
|
|
536
|
-
|
|
537
|
-
@Field({ nullable: true })
|
|
538
|
-
transporter: string
|
|
539
|
-
|
|
540
|
-
@Field({ nullable: true })
|
|
541
|
-
trackingNo: string
|
|
542
|
-
|
|
543
|
-
@Field({ nullable: true })
|
|
544
|
-
airwayBill: string
|
|
545
|
-
|
|
546
|
-
@Field({ nullable: true })
|
|
547
|
-
invoice: string
|
|
548
|
-
|
|
549
|
-
@Field({ nullable: true })
|
|
550
|
-
description: string
|
|
551
|
-
|
|
552
|
-
@Field({ nullable: true })
|
|
553
|
-
storeName: string
|
|
554
|
-
|
|
555
|
-
@Field({ nullable: true })
|
|
556
|
-
storeId: string
|
|
557
|
-
|
|
558
|
-
@Field({ nullable: true })
|
|
559
|
-
routeId: string
|
|
560
|
-
|
|
561
|
-
@Field({ nullable: true })
|
|
562
|
-
stopId: string
|
|
563
|
-
|
|
564
|
-
@Field({ nullable: true })
|
|
565
|
-
releaseType?: string
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
@InputType()
|
|
569
|
-
export class ExportInformationPatch {
|
|
570
|
-
@Field({ nullable: true })
|
|
571
|
-
id?: string
|
|
572
|
-
|
|
573
|
-
@Field({ nullable: true })
|
|
574
|
-
containerNo?: string
|
|
575
|
-
|
|
576
|
-
@Field({ nullable: true })
|
|
577
|
-
containerLeavingDate?: string
|
|
578
|
-
|
|
579
|
-
@Field({ nullable: true })
|
|
580
|
-
containerArrivalDate?: string
|
|
581
|
-
|
|
582
|
-
@Field({ nullable: true })
|
|
583
|
-
containerLeavingDateTime?: string
|
|
584
|
-
|
|
585
|
-
@Field({ nullable: true })
|
|
586
|
-
containerArrivalDateTime?: string
|
|
587
|
-
|
|
588
|
-
@Field({ nullable: true })
|
|
589
|
-
shipName?: string
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
@InputType()
|
|
593
|
-
export class ShippingOrderInfoPatch {
|
|
594
|
-
@Field({ nullable: true })
|
|
595
|
-
billingAddress: string
|
|
596
|
-
|
|
597
|
-
@Field({ nullable: true })
|
|
598
|
-
billingCity: string
|
|
599
|
-
|
|
600
|
-
@Field({ nullable: true })
|
|
601
|
-
billingPostalCode: string
|
|
602
|
-
|
|
603
|
-
@Field({ nullable: true })
|
|
604
|
-
billingState: string
|
|
605
|
-
|
|
606
|
-
@Field({ nullable: true })
|
|
607
|
-
billingCountry: string
|
|
608
|
-
|
|
609
|
-
@Field({ nullable: true })
|
|
610
|
-
companyName: string
|
|
611
|
-
|
|
612
|
-
@Field({ nullable: true })
|
|
613
|
-
contact: string
|
|
614
|
-
|
|
615
|
-
@Field({ nullable: true })
|
|
616
|
-
deliveryAddress: string
|
|
617
|
-
|
|
618
|
-
@Field({ nullable: true })
|
|
619
|
-
deliveryCity: string
|
|
620
|
-
|
|
621
|
-
@Field({ nullable: true })
|
|
622
|
-
deliveryCountry: string
|
|
623
|
-
|
|
624
|
-
@Field({ nullable: true })
|
|
625
|
-
deliveryPostalCode: string
|
|
626
|
-
|
|
627
|
-
@Field({ nullable: true })
|
|
628
|
-
deliveryState: string
|
|
629
|
-
|
|
630
|
-
@Field({ nullable: true })
|
|
631
|
-
attentionTo: string
|
|
632
|
-
|
|
633
|
-
@Field({ nullable: true })
|
|
634
|
-
deliveryAddress1: string
|
|
635
|
-
|
|
636
|
-
@Field({ nullable: true })
|
|
637
|
-
country: string
|
|
638
|
-
|
|
639
|
-
@Field({ nullable: true })
|
|
640
|
-
city: string
|
|
641
|
-
|
|
642
|
-
@Field({ nullable: true })
|
|
643
|
-
state: string
|
|
644
|
-
|
|
645
|
-
@Field({ nullable: true })
|
|
646
|
-
phone1: string
|
|
647
|
-
|
|
648
|
-
@Field({ nullable: true })
|
|
649
|
-
postalCode: string
|
|
650
|
-
|
|
651
|
-
@Field({ nullable: true })
|
|
652
|
-
attentionCompany: string
|
|
653
|
-
|
|
654
|
-
@Field({ nullable: true })
|
|
655
|
-
collectionOrderNo: string
|
|
656
|
-
|
|
657
|
-
@Field({ nullable: true })
|
|
658
|
-
billingFullAddress: string
|
|
659
|
-
|
|
660
|
-
@Field({ nullable: true })
|
|
661
|
-
deliveryFullAddress: string
|
|
662
|
-
}
|