@be-link/ecommerce-plan-allocation-service-node-sdk 0.0.58 → 0.0.59
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/modules/allocationOrder/service.d.ts +4 -0
- package/modules/allocationOrder/service.js +10 -0
- package/modules/allocationOrder/types.d.ts +8 -0
- package/modules/warehouseStockIn/service.d.ts +1 -0
- package/modules/warehouseStockIn/service.js +7 -0
- package/modules/warehouseStockIn/types.d.ts +7 -0
- package/package.json +1 -1
|
@@ -62,6 +62,10 @@ declare class AllocationOrderService extends BaseService implements AllocationOr
|
|
|
62
62
|
* 推送 WMS 出库单
|
|
63
63
|
*/
|
|
64
64
|
pushWms(request: AllocationOrderTypes.Request.PushWms): Promise<void>;
|
|
65
|
+
/**
|
|
66
|
+
* 取消推送 WMS 出库单
|
|
67
|
+
*/
|
|
68
|
+
cancelPushWms(request: AllocationOrderTypes.Request.CancelPushWms): Promise<void>;
|
|
65
69
|
/**
|
|
66
70
|
* 查询批量发货进度
|
|
67
71
|
*/
|
|
@@ -111,6 +111,12 @@ let AllocationOrderService = class AllocationOrderService extends BaseService_1.
|
|
|
111
111
|
pushWms(request) {
|
|
112
112
|
return (0, http_1.callApi)(this.getApiUrl(this.pushWms), request);
|
|
113
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* 取消推送 WMS 出库单
|
|
116
|
+
*/
|
|
117
|
+
cancelPushWms(request) {
|
|
118
|
+
return (0, http_1.callApi)(this.getApiUrl(this.cancelPushWms), request);
|
|
119
|
+
}
|
|
114
120
|
/**
|
|
115
121
|
* 查询批量发货进度
|
|
116
122
|
*/
|
|
@@ -178,6 +184,10 @@ __decorate([
|
|
|
178
184
|
(0, tsoa_1.Post)('push-wms'),
|
|
179
185
|
__param(0, (0, tsoa_1.Body)())
|
|
180
186
|
], AllocationOrderService.prototype, "pushWms", null);
|
|
187
|
+
__decorate([
|
|
188
|
+
(0, tsoa_1.Post)('cancel-push-wms'),
|
|
189
|
+
__param(0, (0, tsoa_1.Body)())
|
|
190
|
+
], AllocationOrderService.prototype, "cancelPushWms", null);
|
|
181
191
|
__decorate([
|
|
182
192
|
(0, tsoa_1.Post)('get-batch-ship-progress'),
|
|
183
193
|
__param(0, (0, tsoa_1.Body)())
|
|
@@ -247,6 +247,13 @@ export declare namespace AllocationOrderTypes {
|
|
|
247
247
|
ids: string[];
|
|
248
248
|
operator: string;
|
|
249
249
|
}
|
|
250
|
+
/**
|
|
251
|
+
* 取消推送 WMS 出库单请求
|
|
252
|
+
*/
|
|
253
|
+
interface CancelPushWms {
|
|
254
|
+
ids: string[];
|
|
255
|
+
operator: string;
|
|
256
|
+
}
|
|
250
257
|
/**
|
|
251
258
|
* 查询批量发货进度请求
|
|
252
259
|
*/
|
|
@@ -439,5 +446,6 @@ export declare namespace AllocationOrderTypes {
|
|
|
439
446
|
batchShip(request: Request.BatchShip): Promise<Response.BatchShip>;
|
|
440
447
|
getBatchShipProgress(request: Request.GetBatchShipProgress): Promise<Response.GetBatchShipProgress>;
|
|
441
448
|
pushWms(request: Request.PushWms): Promise<void>;
|
|
449
|
+
cancelPushWms(request: Request.CancelPushWms): Promise<void>;
|
|
442
450
|
}
|
|
443
451
|
}
|
|
@@ -10,6 +10,7 @@ declare class WarehouseStockInService extends BaseService implements WarehouseSt
|
|
|
10
10
|
saveDraft(request: WarehouseStockInTypes.Request.SaveDraft): Promise<void>;
|
|
11
11
|
updateDetailRemark(request: WarehouseStockInTypes.Request.UpdateDetailRemark): Promise<void>;
|
|
12
12
|
pushWms(request: WarehouseStockInTypes.Request.PushWms): Promise<void>;
|
|
13
|
+
cancelPushWms(request: WarehouseStockInTypes.Request.CancelPushWms): Promise<void>;
|
|
13
14
|
}
|
|
14
15
|
export declare const warehouseStockInService: WarehouseStockInService;
|
|
15
16
|
export default warehouseStockInService;
|
|
@@ -45,6 +45,9 @@ let WarehouseStockInService = class WarehouseStockInService extends BaseService_
|
|
|
45
45
|
pushWms(request) {
|
|
46
46
|
return (0, http_1.callApi)(this.getApiUrl(this.pushWms), request);
|
|
47
47
|
}
|
|
48
|
+
cancelPushWms(request) {
|
|
49
|
+
return (0, http_1.callApi)(this.getApiUrl(this.cancelPushWms), request);
|
|
50
|
+
}
|
|
48
51
|
};
|
|
49
52
|
__decorate([
|
|
50
53
|
(0, tsoa_1.Post)('stock-in'),
|
|
@@ -78,6 +81,10 @@ __decorate([
|
|
|
78
81
|
(0, tsoa_1.Post)('push-wms'),
|
|
79
82
|
__param(0, (0, tsoa_1.Body)())
|
|
80
83
|
], WarehouseStockInService.prototype, "pushWms", null);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, tsoa_1.Post)('cancel-push-wms'),
|
|
86
|
+
__param(0, (0, tsoa_1.Body)())
|
|
87
|
+
], WarehouseStockInService.prototype, "cancelPushWms", null);
|
|
81
88
|
WarehouseStockInService = __decorate([
|
|
82
89
|
(0, tsoa_1.Route)('WarehouseStockIn'),
|
|
83
90
|
(0, tsoa_1.Tags)('warehouseStockIn')
|
|
@@ -156,6 +156,11 @@ export declare namespace WarehouseStockInTypes {
|
|
|
156
156
|
ids: string[];
|
|
157
157
|
operator: string;
|
|
158
158
|
}
|
|
159
|
+
/** 取消推送WMS请求 */
|
|
160
|
+
interface CancelPushWms {
|
|
161
|
+
ids: string[];
|
|
162
|
+
operator: string;
|
|
163
|
+
}
|
|
159
164
|
}
|
|
160
165
|
/** 响应定义 */
|
|
161
166
|
namespace Response {
|
|
@@ -246,5 +251,7 @@ export declare namespace WarehouseStockInTypes {
|
|
|
246
251
|
saveDraft(request: Request.SaveDraft): Promise<void>;
|
|
247
252
|
/** 推送仓库入库单到WMS */
|
|
248
253
|
pushWms(request: Request.PushWms): Promise<void>;
|
|
254
|
+
/** 取消推送仓库入库单到WMS */
|
|
255
|
+
cancelPushWms(request: Request.CancelPushWms): Promise<void>;
|
|
249
256
|
}
|
|
250
257
|
}
|