@be-link/ecommerce-plan-allocation-service-node-sdk 0.0.25 → 0.0.27

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([
@@ -57,7 +57,7 @@ declare class PreAllocationOrderService extends BaseService implements PreAlloca
57
57
  /**
58
58
  * 查询预配货单商品明细
59
59
  */
60
- getPreAllocationOrderDetails(request: PreAllocationOrderTypes.Request.GetPreAllocationOrderDetails): Promise<PreAllocationOrderTypes.Response.GetPreAllocationOrderDetails>;
60
+ details(request: PreAllocationOrderTypes.Request.GetPreAllocationOrderDetails): Promise<PreAllocationOrderTypes.Response.GetPreAllocationOrderDetails>;
61
61
  /**
62
62
  * 导出预配货单
63
63
  */
@@ -65,11 +65,15 @@ declare class PreAllocationOrderService extends BaseService implements PreAlloca
65
65
  /**
66
66
  * 删除预配货单
67
67
  */
68
- deletePreAllocationOrder(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrder): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrder>;
68
+ delete(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrder): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrder>;
69
69
  /**
70
70
  * 删除预配货单明细
71
71
  */
72
- deletePreAllocationOrderDetail(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrderDetail): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrderDetail>;
72
+ deleteDetail(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrderDetail): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrderDetail>;
73
+ /**
74
+ * 更新预配货单明细备注
75
+ */
76
+ updateDetailRemark(request: PreAllocationOrderTypes.Request.UpdatePreAllocationOrderDetailRemark): Promise<PreAllocationOrderTypes.Response.UpdatePreAllocationOrderDetailRemark>;
73
77
  }
74
78
  export declare const preAllocationOrderService: PreAllocationOrderService;
75
79
  export default preAllocationOrderService;
@@ -102,8 +102,8 @@ let PreAllocationOrderService = class PreAllocationOrderService extends BaseServ
102
102
  /**
103
103
  * 查询预配货单商品明细
104
104
  */
105
- getPreAllocationOrderDetails(request) {
106
- return (0, http_1.callApi)(this.getApiUrl(this.getPreAllocationOrderDetails), request);
105
+ details(request) {
106
+ return (0, http_1.callApi)(this.getApiUrl(this.details), request);
107
107
  }
108
108
  /**
109
109
  * 导出预配货单
@@ -114,14 +114,20 @@ let PreAllocationOrderService = class PreAllocationOrderService extends BaseServ
114
114
  /**
115
115
  * 删除预配货单
116
116
  */
117
- deletePreAllocationOrder(request) {
118
- return (0, http_1.callApi)(this.getApiUrl(this.deletePreAllocationOrder), request);
117
+ delete(request) {
118
+ return (0, http_1.callApi)(this.getApiUrl(this.delete), request);
119
119
  }
120
120
  /**
121
121
  * 删除预配货单明细
122
122
  */
123
- deletePreAllocationOrderDetail(request) {
124
- return (0, http_1.callApi)(this.getApiUrl(this.deletePreAllocationOrderDetail), request);
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);
125
131
  }
126
132
  };
127
133
  __decorate([
@@ -179,7 +185,7 @@ __decorate([
179
185
  __decorate([
180
186
  (0, tsoa_1.Post)('details'),
181
187
  __param(0, (0, tsoa_1.Body)())
182
- ], PreAllocationOrderService.prototype, "getPreAllocationOrderDetails", null);
188
+ ], PreAllocationOrderService.prototype, "details", null);
183
189
  __decorate([
184
190
  (0, tsoa_1.Post)('export'),
185
191
  __param(0, (0, tsoa_1.Body)())
@@ -187,11 +193,15 @@ __decorate([
187
193
  __decorate([
188
194
  (0, tsoa_1.Post)('delete'),
189
195
  __param(0, (0, tsoa_1.Body)())
190
- ], PreAllocationOrderService.prototype, "deletePreAllocationOrder", null);
196
+ ], PreAllocationOrderService.prototype, "delete", null);
191
197
  __decorate([
192
198
  (0, tsoa_1.Post)('delete-detail'),
193
199
  __param(0, (0, tsoa_1.Body)())
194
- ], PreAllocationOrderService.prototype, "deletePreAllocationOrderDetail", null);
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);
195
205
  PreAllocationOrderService = __decorate([
196
206
  (0, tsoa_1.Route)('PreAllocationOrder'),
197
207
  (0, tsoa_1.Tags)('preAllocationOrder')
@@ -69,6 +69,8 @@ export declare namespace PreAllocationOrderTypes {
69
69
  id: string;
70
70
  batchId: string;
71
71
  batchNo: string;
72
+ warehouseId: string;
73
+ warehouseName: string;
72
74
  storeId: string;
73
75
  storeName: string;
74
76
  skuCount: number;
@@ -169,7 +171,8 @@ export declare namespace PreAllocationOrderTypes {
169
171
  }
170
172
  /** 批量提交预配货单 */
171
173
  interface BatchSubmit {
172
- batchIds?: string[];
174
+ warehouseId: string;
175
+ batchNos?: string[];
173
176
  preAllocationOrderIds?: string[];
174
177
  pickingAt: number;
175
178
  estimatedArrivalAt: number;
@@ -249,6 +252,12 @@ export declare namespace PreAllocationOrderTypes {
249
252
  operator: string;
250
253
  reason?: string;
251
254
  }
255
+ /** 更新预配货单明细备注 */
256
+ interface UpdatePreAllocationOrderDetailRemark {
257
+ preAllocationOrderDetailId: string;
258
+ pickingRemark: string;
259
+ operator: string;
260
+ }
252
261
  }
253
262
  /** 响应结果定义 */
254
263
  namespace Response {
@@ -396,6 +405,12 @@ export declare namespace PreAllocationOrderTypes {
396
405
  message: string;
397
406
  data: null;
398
407
  }
408
+ /** 更新预配货单明细备注响应 */
409
+ interface UpdatePreAllocationOrderDetailRemark {
410
+ code: number;
411
+ message: string;
412
+ data: null;
413
+ }
399
414
  }
400
415
  /** PreAllocationOrder Controller 接口定义 */
401
416
  interface PreAllocationOrderController {
@@ -426,12 +441,14 @@ export declare namespace PreAllocationOrderTypes {
426
441
  /** 批量修改配货数量 */
427
442
  batchUpdatePickingNum(request: PreAllocationOrderTypes.Request.BatchUpdatePickingNum): Promise<PreAllocationOrderTypes.Response.BatchUpdatePickingNum>;
428
443
  /** 查询预配货单商品明细 */
429
- getPreAllocationOrderDetails(request: PreAllocationOrderTypes.Request.GetPreAllocationOrderDetails): Promise<PreAllocationOrderTypes.Response.GetPreAllocationOrderDetails>;
444
+ details(request: PreAllocationOrderTypes.Request.GetPreAllocationOrderDetails): Promise<PreAllocationOrderTypes.Response.GetPreAllocationOrderDetails>;
430
445
  /** 导出预配货单 */
431
446
  exportPreAllocationOrders(request: PreAllocationOrderTypes.Request.ExportPreAllocationOrders): Promise<PreAllocationOrderTypes.Response.ExportPreAllocationOrders>;
432
447
  /** 删除预配货单 */
433
- deletePreAllocationOrder(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrder): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrder>;
448
+ delete(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrder): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrder>;
434
449
  /** 删除预配货单明细 */
435
- deletePreAllocationOrderDetail(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrderDetail): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrderDetail>;
450
+ deleteDetail(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrderDetail): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrderDetail>;
451
+ /** 更新预配货单明细备注 */
452
+ updateDetailRemark(request: PreAllocationOrderTypes.Request.UpdatePreAllocationOrderDetailRemark): Promise<PreAllocationOrderTypes.Response.UpdatePreAllocationOrderDetailRemark>;
436
453
  }
437
454
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-plan-allocation-service-node-sdk",
3
- "version": "0.0.25",
3
+ "version": "0.0.27",
4
4
  "description": "EcommercePlanAllocationService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",