@be-link/pos-cli-nodejs 1.0.221 → 1.0.223
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/package.json
CHANGED
|
@@ -13,6 +13,7 @@ declare class OrderCoreService extends BaseService implements Service.OrderCoreC
|
|
|
13
13
|
platformReject(request: Service.Request.platformReject): Promise<void>;
|
|
14
14
|
supplierRejected(request: Service.Request.supplierRejected): Promise<void | Service.BatchDealResult>;
|
|
15
15
|
supplierConfirmed(request: Service.Request.supplierConfirmed): Promise<void | Service.BatchDealResult>;
|
|
16
|
+
supplierReconfirm(request: Service.Request.supplierReconfirm): Promise<void>;
|
|
16
17
|
submittedToSupplier(request: Service.Request.submittedToSupplier): Promise<void>;
|
|
17
18
|
sendOrderPaidNotification(request: Service.Request.sendOrderPaidNotification): Promise<void>;
|
|
18
19
|
orderSettled(request: Service.Request.orderSettled): Promise<void>;
|
|
@@ -40,6 +40,9 @@ class OrderCoreService extends service_1.default {
|
|
|
40
40
|
supplierConfirmed(request) {
|
|
41
41
|
return (0, http_1.callApi)(this.getApiUrl(this.supplierConfirmed), request);
|
|
42
42
|
}
|
|
43
|
+
supplierReconfirm(request) {
|
|
44
|
+
return (0, http_1.callApi)(this.getApiUrl(this.supplierReconfirm), request);
|
|
45
|
+
}
|
|
43
46
|
submittedToSupplier(request) {
|
|
44
47
|
return (0, http_1.callApi)(this.getApiUrl(this.submittedToSupplier), request);
|
|
45
48
|
}
|
|
@@ -279,6 +279,14 @@ export declare namespace Service {
|
|
|
279
279
|
/** 操作人角色 */
|
|
280
280
|
operatorRole: PosConstants.TradeOperatorRoleEnum;
|
|
281
281
|
}
|
|
282
|
+
interface supplierReconfirm {
|
|
283
|
+
/** 订单id(仅主单) */
|
|
284
|
+
tradeOrderId: string;
|
|
285
|
+
/** 操作人 */
|
|
286
|
+
operator: string;
|
|
287
|
+
/** 操作人角色 */
|
|
288
|
+
operatorRole: PosConstants.TradeOperatorRoleEnum;
|
|
289
|
+
}
|
|
282
290
|
interface sendOrderPaidNotification {
|
|
283
291
|
/** 订单Id */
|
|
284
292
|
tradeOrderId: string;
|
|
@@ -582,6 +590,11 @@ export declare namespace Service {
|
|
|
582
590
|
* @path /core/supplier-confirmed
|
|
583
591
|
*/
|
|
584
592
|
supplierConfirmed(request: Request.supplierConfirmed): Promise<void | BatchDealResult>;
|
|
593
|
+
/**
|
|
594
|
+
* 商家重新接单:已拒单的酒店订单直接推进到待履约(仅主单)
|
|
595
|
+
* @path /core/supplier-reconfirm
|
|
596
|
+
*/
|
|
597
|
+
supplierReconfirm(request: Request.supplierReconfirm): Promise<void>;
|
|
585
598
|
/**
|
|
586
599
|
* 提交给供应商
|
|
587
600
|
* @path /core/submitted-to-supplier
|