@be-link/pos-cli-nodejs 1.0.9 → 1.0.11

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/pos-cli-nodejs",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/pos/http.js CHANGED
@@ -9,7 +9,10 @@ const uuid_1 = require("uuid");
9
9
  const BizError_1 = __importDefault(require("../errors/BizError"));
10
10
  const SystemError_1 = __importDefault(require("../errors/SystemError"));
11
11
  const axios_retry_1 = __importDefault(require("axios-retry"));
12
- const axiosInstance = axios_1.default.create();
12
+ const axiosInstance = axios_1.default.create({
13
+ timeout: 60000,
14
+ httpsAgent: new (require('https').Agent)({ keepAlive: true }),
15
+ });
13
16
  (0, axios_retry_1.default)(axiosInstance, {
14
17
  retries: 1,
15
18
  retryCondition(error) {
@@ -34,7 +34,7 @@ export declare namespace Service {
34
34
  page?: number;
35
35
  limit?: number;
36
36
  itemIds?: string[];
37
- tradeOrderIds?: string[];
37
+ tradeOrderId?: string;
38
38
  categoryTwoList?: string[];
39
39
  /**排序 */
40
40
  sort?: {
package/types.d.ts CHANGED
@@ -260,6 +260,8 @@ export interface IPositiveItemInfo {
260
260
  settlementPrice: number;
261
261
  };
262
262
  };
263
+ /** 共比邻负责人 */
264
+ belinkOwner?: string;
263
265
  /** 创建时间 */
264
266
  createdAt: number;
265
267
  /** 更新时间 */