@be-link/ecommerce-plan-allocation-service-node-sdk 0.0.24 → 0.0.26
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.
|
@@ -169,7 +169,7 @@ __decorate([
|
|
|
169
169
|
__param(0, (0, tsoa_1.Body)())
|
|
170
170
|
], AllocationOrderService.prototype, "batchShip", null);
|
|
171
171
|
__decorate([
|
|
172
|
-
(0, tsoa_1.Post)('batch-ship-progress'),
|
|
172
|
+
(0, tsoa_1.Post)('get-batch-ship-progress'),
|
|
173
173
|
__param(0, (0, tsoa_1.Body)())
|
|
174
174
|
], AllocationOrderService.prototype, "getBatchShipProgress", null);
|
|
175
175
|
AllocationOrderService = __decorate([
|
|
@@ -54,10 +54,26 @@ declare class PreAllocationOrderService extends BaseService implements PreAlloca
|
|
|
54
54
|
* 批量修改配货数量
|
|
55
55
|
*/
|
|
56
56
|
batchUpdatePickingNum(request: PreAllocationOrderTypes.Request.BatchUpdatePickingNum): Promise<PreAllocationOrderTypes.Response.BatchUpdatePickingNum>;
|
|
57
|
+
/**
|
|
58
|
+
* 查询预配货单商品明细
|
|
59
|
+
*/
|
|
60
|
+
details(request: PreAllocationOrderTypes.Request.GetPreAllocationOrderDetails): Promise<PreAllocationOrderTypes.Response.GetPreAllocationOrderDetails>;
|
|
57
61
|
/**
|
|
58
62
|
* 导出预配货单
|
|
59
63
|
*/
|
|
60
64
|
exportPreAllocationOrders(request: PreAllocationOrderTypes.Request.ExportPreAllocationOrders): Promise<PreAllocationOrderTypes.Response.ExportPreAllocationOrders>;
|
|
65
|
+
/**
|
|
66
|
+
* 删除预配货单
|
|
67
|
+
*/
|
|
68
|
+
delete(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrder): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrder>;
|
|
69
|
+
/**
|
|
70
|
+
* 删除预配货单明细
|
|
71
|
+
*/
|
|
72
|
+
deleteDetail(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrderDetail): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrderDetail>;
|
|
73
|
+
/**
|
|
74
|
+
* 更新预配货单明细备注
|
|
75
|
+
*/
|
|
76
|
+
updateDetailRemark(request: PreAllocationOrderTypes.Request.UpdatePreAllocationOrderDetailRemark): Promise<PreAllocationOrderTypes.Response.UpdatePreAllocationOrderDetailRemark>;
|
|
61
77
|
}
|
|
62
78
|
export declare const preAllocationOrderService: PreAllocationOrderService;
|
|
63
79
|
export default preAllocationOrderService;
|
|
@@ -99,12 +99,36 @@ let PreAllocationOrderService = class PreAllocationOrderService extends BaseServ
|
|
|
99
99
|
batchUpdatePickingNum(request) {
|
|
100
100
|
return (0, http_1.callApi)(this.getApiUrl(this.batchUpdatePickingNum), request);
|
|
101
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* 查询预配货单商品明细
|
|
104
|
+
*/
|
|
105
|
+
details(request) {
|
|
106
|
+
return (0, http_1.callApi)(this.getApiUrl(this.details), request);
|
|
107
|
+
}
|
|
102
108
|
/**
|
|
103
109
|
* 导出预配货单
|
|
104
110
|
*/
|
|
105
111
|
exportPreAllocationOrders(request) {
|
|
106
112
|
return (0, http_1.callApi)(this.getApiUrl(this.exportPreAllocationOrders), request);
|
|
107
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* 删除预配货单
|
|
116
|
+
*/
|
|
117
|
+
delete(request) {
|
|
118
|
+
return (0, http_1.callApi)(this.getApiUrl(this.delete), request);
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* 删除预配货单明细
|
|
122
|
+
*/
|
|
123
|
+
deleteDetail(request) {
|
|
124
|
+
return (0, http_1.callApi)(this.getApiUrl(this.deleteDetail), request);
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* 更新预配货单明细备注
|
|
128
|
+
*/
|
|
129
|
+
updateDetailRemark(request) {
|
|
130
|
+
return (0, http_1.callApi)(this.getApiUrl(this.updateDetailRemark), request);
|
|
131
|
+
}
|
|
108
132
|
};
|
|
109
133
|
__decorate([
|
|
110
134
|
(0, tsoa_1.Post)('query-batch-list'),
|
|
@@ -158,10 +182,26 @@ __decorate([
|
|
|
158
182
|
(0, tsoa_1.Post)('batch-update-picking-num'),
|
|
159
183
|
__param(0, (0, tsoa_1.Body)())
|
|
160
184
|
], PreAllocationOrderService.prototype, "batchUpdatePickingNum", null);
|
|
185
|
+
__decorate([
|
|
186
|
+
(0, tsoa_1.Post)('details'),
|
|
187
|
+
__param(0, (0, tsoa_1.Body)())
|
|
188
|
+
], PreAllocationOrderService.prototype, "details", null);
|
|
161
189
|
__decorate([
|
|
162
190
|
(0, tsoa_1.Post)('export'),
|
|
163
191
|
__param(0, (0, tsoa_1.Body)())
|
|
164
192
|
], PreAllocationOrderService.prototype, "exportPreAllocationOrders", null);
|
|
193
|
+
__decorate([
|
|
194
|
+
(0, tsoa_1.Post)('delete'),
|
|
195
|
+
__param(0, (0, tsoa_1.Body)())
|
|
196
|
+
], PreAllocationOrderService.prototype, "delete", null);
|
|
197
|
+
__decorate([
|
|
198
|
+
(0, tsoa_1.Post)('delete-detail'),
|
|
199
|
+
__param(0, (0, tsoa_1.Body)())
|
|
200
|
+
], PreAllocationOrderService.prototype, "deleteDetail", null);
|
|
201
|
+
__decorate([
|
|
202
|
+
(0, tsoa_1.Post)('update-detail-remark'),
|
|
203
|
+
__param(0, (0, tsoa_1.Body)())
|
|
204
|
+
], PreAllocationOrderService.prototype, "updateDetailRemark", null);
|
|
165
205
|
PreAllocationOrderService = __decorate([
|
|
166
206
|
(0, tsoa_1.Route)('PreAllocationOrder'),
|
|
167
207
|
(0, tsoa_1.Tags)('preAllocationOrder')
|
|
@@ -211,6 +211,14 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
211
211
|
}>;
|
|
212
212
|
operator: string;
|
|
213
213
|
}
|
|
214
|
+
/** 查询预配货单商品明细 */
|
|
215
|
+
interface GetPreAllocationOrderDetails {
|
|
216
|
+
preAllocationOrderId: string;
|
|
217
|
+
productIds?: string[];
|
|
218
|
+
skuCodes?: string[];
|
|
219
|
+
pageIndex?: number;
|
|
220
|
+
pageSize?: number;
|
|
221
|
+
}
|
|
214
222
|
/** 导出预配货单 */
|
|
215
223
|
interface ExportPreAllocationOrders {
|
|
216
224
|
filters?: {
|
|
@@ -229,6 +237,24 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
229
237
|
pageIndex?: number;
|
|
230
238
|
pageSize?: number;
|
|
231
239
|
}
|
|
240
|
+
/** 删除预配货单 */
|
|
241
|
+
interface DeletePreAllocationOrder {
|
|
242
|
+
preAllocationOrderId: string;
|
|
243
|
+
operator: string;
|
|
244
|
+
reason?: string;
|
|
245
|
+
}
|
|
246
|
+
/** 删除预配货单明细 */
|
|
247
|
+
interface DeletePreAllocationOrderDetail {
|
|
248
|
+
preAllocationOrderDetailId: string;
|
|
249
|
+
operator: string;
|
|
250
|
+
reason?: string;
|
|
251
|
+
}
|
|
252
|
+
/** 更新预配货单明细备注 */
|
|
253
|
+
interface UpdatePreAllocationOrderDetailRemark {
|
|
254
|
+
preAllocationOrderDetailId: string;
|
|
255
|
+
pickingRemark: string;
|
|
256
|
+
operator: string;
|
|
257
|
+
}
|
|
232
258
|
}
|
|
233
259
|
/** 响应结果定义 */
|
|
234
260
|
namespace Response {
|
|
@@ -325,6 +351,31 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
325
351
|
message: string;
|
|
326
352
|
data: null;
|
|
327
353
|
}
|
|
354
|
+
/** 查询预配货单商品明细响应 */
|
|
355
|
+
interface GetPreAllocationOrderDetails {
|
|
356
|
+
code: number;
|
|
357
|
+
message: string;
|
|
358
|
+
data: {
|
|
359
|
+
list: Array<{
|
|
360
|
+
id: string;
|
|
361
|
+
skuCode: string;
|
|
362
|
+
productId: string;
|
|
363
|
+
productName: string;
|
|
364
|
+
specName: string;
|
|
365
|
+
storageMethod: string;
|
|
366
|
+
categoryName: string;
|
|
367
|
+
pickingNum: number;
|
|
368
|
+
saleNum: number;
|
|
369
|
+
normalOrderQty: number;
|
|
370
|
+
couponOrderQty: number;
|
|
371
|
+
refundQty: number;
|
|
372
|
+
undeliveredQty: number;
|
|
373
|
+
manualAdjustment: number;
|
|
374
|
+
pickingRemark?: string;
|
|
375
|
+
}>;
|
|
376
|
+
total: number;
|
|
377
|
+
};
|
|
378
|
+
}
|
|
328
379
|
/** 导出预配货单响应 */
|
|
329
380
|
interface ExportPreAllocationOrders {
|
|
330
381
|
code: number;
|
|
@@ -339,6 +390,24 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
339
390
|
total: number;
|
|
340
391
|
};
|
|
341
392
|
}
|
|
393
|
+
/** 删除预配货单响应 */
|
|
394
|
+
interface DeletePreAllocationOrder {
|
|
395
|
+
code: number;
|
|
396
|
+
message: string;
|
|
397
|
+
data: null;
|
|
398
|
+
}
|
|
399
|
+
/** 删除预配货单明细响应 */
|
|
400
|
+
interface DeletePreAllocationOrderDetail {
|
|
401
|
+
code: number;
|
|
402
|
+
message: string;
|
|
403
|
+
data: null;
|
|
404
|
+
}
|
|
405
|
+
/** 更新预配货单明细备注响应 */
|
|
406
|
+
interface UpdatePreAllocationOrderDetailRemark {
|
|
407
|
+
code: number;
|
|
408
|
+
message: string;
|
|
409
|
+
data: null;
|
|
410
|
+
}
|
|
342
411
|
}
|
|
343
412
|
/** PreAllocationOrder Controller 接口定义 */
|
|
344
413
|
interface PreAllocationOrderController {
|
|
@@ -368,7 +437,15 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
368
437
|
searchProducts(request: PreAllocationOrderTypes.Request.SearchProducts): Promise<PreAllocationOrderTypes.Response.SearchProducts>;
|
|
369
438
|
/** 批量修改配货数量 */
|
|
370
439
|
batchUpdatePickingNum(request: PreAllocationOrderTypes.Request.BatchUpdatePickingNum): Promise<PreAllocationOrderTypes.Response.BatchUpdatePickingNum>;
|
|
440
|
+
/** 查询预配货单商品明细 */
|
|
441
|
+
details(request: PreAllocationOrderTypes.Request.GetPreAllocationOrderDetails): Promise<PreAllocationOrderTypes.Response.GetPreAllocationOrderDetails>;
|
|
371
442
|
/** 导出预配货单 */
|
|
372
443
|
exportPreAllocationOrders(request: PreAllocationOrderTypes.Request.ExportPreAllocationOrders): Promise<PreAllocationOrderTypes.Response.ExportPreAllocationOrders>;
|
|
444
|
+
/** 删除预配货单 */
|
|
445
|
+
delete(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrder): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrder>;
|
|
446
|
+
/** 删除预配货单明细 */
|
|
447
|
+
deleteDetail(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrderDetail): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrderDetail>;
|
|
448
|
+
/** 更新预配货单明细备注 */
|
|
449
|
+
updateDetailRemark(request: PreAllocationOrderTypes.Request.UpdatePreAllocationOrderDetailRemark): Promise<PreAllocationOrderTypes.Response.UpdatePreAllocationOrderDetailRemark>;
|
|
373
450
|
}
|
|
374
451
|
}
|