@be-link/flow-cli-nodejs 0.0.15 → 0.0.17

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/flow/http.js CHANGED
@@ -51,7 +51,9 @@ async function callApi(url, ...request) {
51
51
  console.info(`准备发起FLOW请求[${requestId}]: ${url}, 参数: ${JSON.stringify(request)}`);
52
52
  const response = await axios_1.default.post(url, request[0], {
53
53
  headers: {
54
- 'X-Request-Id': requestId
54
+ 'X-Request-Id': requestId,
55
+ 'x-belink-accessType': 'authorizationTokenInside',
56
+ 'x-belink-authorization': process.env.authorizationTokenInside || ""
55
57
  }
56
58
  });
57
59
  const responseData = response.data;
@@ -17,6 +17,7 @@ export declare namespace Service {
17
17
  status?: string;
18
18
  attachment?: any;
19
19
  extraInfo?: any;
20
+ isNotice?: boolean;
20
21
  }
21
22
  }
22
23
  namespace Request {
@@ -85,6 +86,7 @@ export declare namespace Service {
85
86
  id: string;
86
87
  rejectionDetail: string;
87
88
  attachment: string[];
89
+ isNotice: boolean;
88
90
  }
89
91
  interface IQueryOrderNumBySupplierIdsRsp {
90
92
  supplierId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/flow-cli-nodejs",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
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.80"
51
+ "vitality-meta": "1.0.93"
52
52
  }
53
53
  }