@be-link/flow-cli-nodejs 0.0.19 → 0.0.21

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
+ queryFlowByOrderIds(param: Service.Request.QueryFlowByOrderIdsReq): Promise<Service.Response.IQueryFlowByOrderIdsRsp>;
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
+ queryFlowByOrderIds(param) {
41
+ return (0, http_1.callApi)(this.getApiUrl(this.queryFlowByOrderIds), param);
42
+ }
40
43
  }
41
44
  const flowCoreService = new FlowCoreService();
42
45
  exports.default = flowCoreService;
@@ -35,6 +35,11 @@ export declare namespace Service {
35
35
  interface QueryFlowOrderIdsBySupplierIdsReq {
36
36
  supplierIds: string[];
37
37
  }
38
+ interface QueryFlowByOrderIdsReq {
39
+ orderIds: string[];
40
+ status: string;
41
+ category: string;
42
+ }
38
43
  interface IUser {
39
44
  sponsorName: string;
40
45
  sponsorRole: FlowConstants.SponsorRoleEnum;
@@ -96,6 +101,9 @@ export declare namespace Service {
96
101
  supplierId: string;
97
102
  orderIds: string[];
98
103
  }
104
+ interface IQueryFlowByOrderIdsRsp {
105
+ orderIds: string[];
106
+ }
99
107
  interface IListChangeFlowRecordRsp {
100
108
  createdAt: number;
101
109
  type: string;
@@ -140,5 +148,6 @@ export declare namespace Service {
140
148
  * @param param
141
149
  */
142
150
  findByReverseOrderId(param: Service.Request.FindByReverseOrderIdReq): Promise<Service.Entity.ChangeFlowEntity[]>;
151
+ queryFlowByOrderIds(param: Service.Request.QueryFlowByOrderIdsReq): Promise<Service.Response.IQueryFlowByOrderIdsRsp>;
143
152
  }
144
153
  }
@@ -3,6 +3,7 @@ import { Service } from './types';
3
3
  declare class BizFlowJobService extends BaseService implements Service.BizFlowJobController {
4
4
  protected prefixUrl: string;
5
5
  jobNotifySupplier(): Promise<void>;
6
+ jobHotelNotifySupplier(): Promise<void>;
6
7
  }
7
8
  declare const bizFlowJobService: BizFlowJobService;
8
9
  export default bizFlowJobService;
@@ -13,6 +13,9 @@ class BizFlowJobService extends service_1.default {
13
13
  jobNotifySupplier() {
14
14
  return (0, http_1.callApi)(this.getApiUrl(this.jobNotifySupplier));
15
15
  }
16
+ jobHotelNotifySupplier() {
17
+ return (0, http_1.callApi)(this.getApiUrl(this.jobHotelNotifySupplier));
18
+ }
16
19
  }
17
20
  const bizFlowJobService = new BizFlowJobService();
18
21
  exports.default = bizFlowJobService;
@@ -2,5 +2,6 @@ export declare namespace Service {
2
2
  interface BizFlowJobController {
3
3
  /** 每天通知供应商处理变更 */
4
4
  jobNotifySupplier(): Promise<void>;
5
+ jobHotelNotifySupplier(): Promise<void>;
5
6
  }
6
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/flow-cli-nodejs",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "description": "流服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -48,6 +48,6 @@
48
48
  "axios": "0.27.2",
49
49
  "axios-retry": "^4.0.0",
50
50
  "uuid": "^9.0.1",
51
- "vitality-meta": "1.0.93"
51
+ "vitality-meta": "1.0.99"
52
52
  }
53
53
  }