@be-link/flow-cli-nodejs 0.0.27 → 0.0.31
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.
|
@@ -10,6 +10,7 @@ declare class FlowCoreService extends BaseService implements Service.FlowCoreCon
|
|
|
10
10
|
addOrderChangeFlow(param: Service.Request.IAddOrderChangeFlowReq): Promise<Service.Entity.ChangeFlowEntity>;
|
|
11
11
|
addOrderNormalChangeFlow(param: Service.Request.IAddOrderNormalChangeFlowReq): Promise<void>;
|
|
12
12
|
listChangeFlowRecordByOrderId(param: Service.Request.IListChangeFlowRecordByOrderIdReq): Promise<Service.Response.IListChangeFlowRecordByOrderIdRsp[]>;
|
|
13
|
+
getHotelOrderChangeSwitch(): Promise<Service.Response.IGetHotelOrderChangeSwitchRsp>;
|
|
13
14
|
protected prefixUrl: string;
|
|
14
15
|
}
|
|
15
16
|
declare const flowCoreService: FlowCoreService;
|
|
@@ -37,6 +37,9 @@ class FlowCoreService extends service_1.default {
|
|
|
37
37
|
listChangeFlowRecordByOrderId(param) {
|
|
38
38
|
return (0, http_1.callApi)(this.getApiUrl(this.listChangeFlowRecordByOrderId), param);
|
|
39
39
|
}
|
|
40
|
+
getHotelOrderChangeSwitch() {
|
|
41
|
+
return (0, http_1.callApi)(this.getApiUrl(this.getHotelOrderChangeSwitch));
|
|
42
|
+
}
|
|
40
43
|
}
|
|
41
44
|
const flowCoreService = new FlowCoreService();
|
|
42
45
|
exports.default = flowCoreService;
|
|
@@ -114,6 +114,9 @@ export declare namespace Service {
|
|
|
114
114
|
orderId: string;
|
|
115
115
|
recordList: IListChangeFlowRecordRsp[];
|
|
116
116
|
}
|
|
117
|
+
interface IGetHotelOrderChangeSwitchRsp {
|
|
118
|
+
hotelOrderChange: boolean;
|
|
119
|
+
}
|
|
117
120
|
}
|
|
118
121
|
interface FlowCoreController {
|
|
119
122
|
queryOrderNumBySupplierIds(req: Service.Request.QueryFlowOrderIdsBySupplierIdsReq): Promise<Service.Response.IQueryOrderNumBySupplierIdsRsp[]>;
|
|
@@ -140,6 +143,8 @@ export declare namespace Service {
|
|
|
140
143
|
* @path /core/list-change-flow-record
|
|
141
144
|
*/
|
|
142
145
|
listChangeFlowRecord(param: Service.Request.IListChangeFlowRecordReq): Promise<Service.Response.IChangeFlowRecordRsp[]>;
|
|
146
|
+
/** 查询酒店订单变更功能开关(与 Redis 远程配置同源) */
|
|
147
|
+
getHotelOrderChangeSwitch(): Promise<Service.Response.IGetHotelOrderChangeSwitchRsp>;
|
|
143
148
|
/**
|
|
144
149
|
* 根据逆向id查询变更流
|
|
145
150
|
* @param param
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@be-link/flow-cli-nodejs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.31",
|
|
4
4
|
"description": "流服务Nodejs客户端",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"axios": "0.27.2",
|
|
39
39
|
"axios-retry": "4.0.0",
|
|
40
40
|
"uuid": "9.0.1",
|
|
41
|
-
"vitality-meta": "1.0.
|
|
41
|
+
"vitality-meta": "1.0.238"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "rm -rf ./dist && tsc && cp package.json README.md ./dist/",
|