@be-link/ecommerce-plan-allocation-service-node-sdk 0.0.36 → 0.0.38

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.
@@ -54,6 +54,14 @@ 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
+ batchUpdatePickingRemark(request: PreAllocationOrderTypes.Request.BatchUpdatePickingRemark): Promise<PreAllocationOrderTypes.Response.BatchUpdatePickingRemark>;
61
+ /**
62
+ * 批量添加商品到预配货单
63
+ */
64
+ batchAddProducts(request: PreAllocationOrderTypes.Request.BatchAddProducts): Promise<PreAllocationOrderTypes.Response.BatchAddProducts>;
57
65
  /**
58
66
  * 查询预配货单商品明细
59
67
  */
@@ -99,6 +99,18 @@ 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
+ batchUpdatePickingRemark(request) {
106
+ return (0, http_1.callApi)(this.getApiUrl(this.batchUpdatePickingRemark), request);
107
+ }
108
+ /**
109
+ * 批量添加商品到预配货单
110
+ */
111
+ batchAddProducts(request) {
112
+ return (0, http_1.callApi)(this.getApiUrl(this.batchAddProducts), request);
113
+ }
102
114
  /**
103
115
  * 查询预配货单商品明细
104
116
  */
@@ -182,6 +194,14 @@ __decorate([
182
194
  (0, tsoa_1.Post)('batch-update-picking-num'),
183
195
  __param(0, (0, tsoa_1.Body)())
184
196
  ], PreAllocationOrderService.prototype, "batchUpdatePickingNum", null);
197
+ __decorate([
198
+ (0, tsoa_1.Post)('batch-update-picking-remark'),
199
+ __param(0, (0, tsoa_1.Body)())
200
+ ], PreAllocationOrderService.prototype, "batchUpdatePickingRemark", null);
201
+ __decorate([
202
+ (0, tsoa_1.Post)('batch-add-products'),
203
+ __param(0, (0, tsoa_1.Body)())
204
+ ], PreAllocationOrderService.prototype, "batchAddProducts", null);
185
205
  __decorate([
186
206
  (0, tsoa_1.Post)('details'),
187
207
  __param(0, (0, tsoa_1.Body)())
@@ -217,6 +217,24 @@ export declare namespace PreAllocationOrderTypes {
217
217
  }>;
218
218
  operator: string;
219
219
  }
220
+ /** 批量填写配货备注 */
221
+ interface BatchUpdatePickingRemark {
222
+ warehouseId: string;
223
+ batchNos?: string[];
224
+ preAllocationOrderIds?: string[];
225
+ pickingRemark: string;
226
+ operator: string;
227
+ }
228
+ /** 批量添加商品到预配货单 */
229
+ interface BatchAddProducts {
230
+ preAllocationOrderId: string;
231
+ products: Array<{
232
+ skuId: string;
233
+ pickingNum: number;
234
+ pickingRemark?: string;
235
+ }>;
236
+ operator: string;
237
+ }
220
238
  /** 查询预配货单商品明细 */
221
239
  interface GetPreAllocationOrderDetails {
222
240
  preAllocationOrderId: string;
@@ -358,6 +376,22 @@ export declare namespace PreAllocationOrderTypes {
358
376
  message: string;
359
377
  data: null;
360
378
  }
379
+ /** 批量填写配货备注响应 */
380
+ interface BatchUpdatePickingRemark {
381
+ code: number;
382
+ message: string;
383
+ data: null;
384
+ }
385
+ /** 批量添加商品到预配货单响应 */
386
+ interface BatchAddProducts {
387
+ code: number;
388
+ message: string;
389
+ data: {
390
+ addedCount: number;
391
+ updatedCount: number;
392
+ skippedCount: number;
393
+ };
394
+ }
361
395
  /** 查询预配货单商品明细响应 */
362
396
  interface GetPreAllocationOrderDetails {
363
397
  code: number;
@@ -3,6 +3,7 @@ export declare namespace StoreProductFulfillTypes {
3
3
  interface StoreProductItem {
4
4
  productId: string;
5
5
  productName: string;
6
+ productImage: string;
6
7
  skuId: string;
7
8
  skuCode: string;
8
9
  specName: string;
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.36",
3
+ "version": "0.0.38",
4
4
  "description": "EcommercePlanAllocationService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",