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

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,7 +10,6 @@ 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>;
14
13
  protected prefixUrl: string;
15
14
  }
16
15
  declare const flowCoreService: FlowCoreService;
@@ -37,9 +37,6 @@ 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
- }
43
40
  }
44
41
  const flowCoreService = new FlowCoreService();
45
42
  exports.default = flowCoreService;
@@ -35,11 +35,6 @@ 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
- }
43
38
  interface IUser {
44
39
  sponsorName: string;
45
40
  sponsorRole: FlowConstants.SponsorRoleEnum;
@@ -101,9 +96,6 @@ export declare namespace Service {
101
96
  supplierId: string;
102
97
  orderIds: string[];
103
98
  }
104
- interface IQueryFlowByOrderIdsRsp {
105
- orderIds: string[];
106
- }
107
99
  interface IListChangeFlowRecordRsp {
108
100
  createdAt: number;
109
101
  type: string;
@@ -148,6 +140,5 @@ export declare namespace Service {
148
140
  * @param param
149
141
  */
150
142
  findByReverseOrderId(param: Service.Request.FindByReverseOrderIdReq): Promise<Service.Entity.ChangeFlowEntity[]>;
151
- queryFlowByOrderIds(param: Service.Request.QueryFlowByOrderIdsReq): Promise<Service.Response.IQueryFlowByOrderIdsRsp>;
152
143
  }
153
144
  }
package/package.json CHANGED
@@ -1,18 +1,8 @@
1
1
  {
2
2
  "name": "@be-link/flow-cli-nodejs",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
4
4
  "description": "流服务Nodejs客户端",
5
5
  "main": "index.js",
6
- "scripts": {
7
- "build": "rm -rf ./dist && tsc && cp package.json README.md ./dist/",
8
- "test": "npx jest",
9
- "gen-doc": "npx typedoc --options typedoc.json",
10
- "update:major": "standard-version --release-as major",
11
- "update:minor": "standard-version --release-as minor",
12
- "update:patch": "standard-version --release-as patch",
13
- "update:beta": "standard-version --prerelease beta",
14
- "publish": "ts-node ./ci/index"
15
- },
16
6
  "repository": {
17
7
  "type": "git",
18
8
  "url": "git+https://github.com/snowmountain-top/flow-cli-nodejs.git"
@@ -46,8 +36,17 @@
46
36
  },
47
37
  "dependencies": {
48
38
  "axios": "0.27.2",
49
- "axios-retry": "^4.0.0",
50
- "uuid": "^9.0.1",
39
+ "axios-retry": "4.0.0",
40
+ "uuid": "9.0.1",
51
41
  "vitality-meta": "1.0.99"
42
+ },
43
+ "scripts": {
44
+ "build": "rm -rf ./dist && tsc && cp package.json README.md ./dist/",
45
+ "test": "npx jest",
46
+ "gen-doc": "npx typedoc --options typedoc.json",
47
+ "update:major": "standard-version --release-as major",
48
+ "update:minor": "standard-version --release-as minor",
49
+ "update:patch": "standard-version --release-as patch",
50
+ "update:beta": "standard-version --prerelease beta"
52
51
  }
53
- }
52
+ }