@be-link/ecommerce-plan-allocation-service-node-sdk 0.0.25 → 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([
@@ -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')
@@ -249,6 +249,12 @@ export declare namespace PreAllocationOrderTypes {
249
249
  operator: string;
250
250
  reason?: string;
251
251
  }
252
+ /** 更新预配货单明细备注 */
253
+ interface UpdatePreAllocationOrderDetailRemark {
254
+ preAllocationOrderDetailId: string;
255
+ pickingRemark: string;
256
+ operator: string;
257
+ }
252
258
  }
253
259
  /** 响应结果定义 */
254
260
  namespace Response {
@@ -396,6 +402,12 @@ export declare namespace PreAllocationOrderTypes {
396
402
  message: string;
397
403
  data: null;
398
404
  }
405
+ /** 更新预配货单明细备注响应 */
406
+ interface UpdatePreAllocationOrderDetailRemark {
407
+ code: number;
408
+ message: string;
409
+ data: null;
410
+ }
399
411
  }
400
412
  /** PreAllocationOrder Controller 接口定义 */
401
413
  interface PreAllocationOrderController {
@@ -426,12 +438,14 @@ export declare namespace PreAllocationOrderTypes {
426
438
  /** 批量修改配货数量 */
427
439
  batchUpdatePickingNum(request: PreAllocationOrderTypes.Request.BatchUpdatePickingNum): Promise<PreAllocationOrderTypes.Response.BatchUpdatePickingNum>;
428
440
  /** 查询预配货单商品明细 */
429
- getPreAllocationOrderDetails(request: PreAllocationOrderTypes.Request.GetPreAllocationOrderDetails): Promise<PreAllocationOrderTypes.Response.GetPreAllocationOrderDetails>;
441
+ details(request: PreAllocationOrderTypes.Request.GetPreAllocationOrderDetails): Promise<PreAllocationOrderTypes.Response.GetPreAllocationOrderDetails>;
430
442
  /** 导出预配货单 */
431
443
  exportPreAllocationOrders(request: PreAllocationOrderTypes.Request.ExportPreAllocationOrders): Promise<PreAllocationOrderTypes.Response.ExportPreAllocationOrders>;
432
444
  /** 删除预配货单 */
433
- deletePreAllocationOrder(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrder): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrder>;
445
+ delete(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrder): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrder>;
434
446
  /** 删除预配货单明细 */
435
- deletePreAllocationOrderDetail(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrderDetail): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrderDetail>;
447
+ deleteDetail(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrderDetail): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrderDetail>;
448
+ /** 更新预配货单明细备注 */
449
+ updateDetailRemark(request: PreAllocationOrderTypes.Request.UpdatePreAllocationOrderDetailRemark): Promise<PreAllocationOrderTypes.Response.UpdatePreAllocationOrderDetailRemark>;
436
450
  }
437
451
  }
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.26",
4
4
  "description": "EcommercePlanAllocationService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",