@yunzhanghu/sdk-nodejs 0.0.3 → 0.0.4

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": "@yunzhanghu/sdk-nodejs",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "云账户 SDK for Node.js",
5
5
  "main": "yzh/index.js",
6
6
  "scripts": {
@@ -265,7 +265,7 @@ export class Dataservice extends YZHclient {
265
265
  "get",
266
266
  "/api/dataservice/v1/orders",
267
267
  req,
268
- { encryption: req?.data_type === " encryption" },
268
+ { encryption: req?.data_type === "encryption" },
269
269
  cb
270
270
  )
271
271
  }
@@ -301,7 +301,7 @@ export class Dataservice extends YZHclient {
301
301
  "get",
302
302
  "/api/dataservice/v1/bills",
303
303
  req,
304
- { encryption: req?.data_type === " encryption" },
304
+ { encryption: req?.data_type === "encryption" },
305
305
  cb
306
306
  )
307
307
  }
@@ -469,7 +469,7 @@ export class Payment extends YZHclient {
469
469
  "get",
470
470
  "/api/payment/v1/query-order",
471
471
  req,
472
- { encryption: req?.data_type === " encryption" },
472
+ { encryption: req?.data_type === "encryption" },
473
473
  cb
474
474
  )
475
475
  }
@@ -8,7 +8,7 @@ class Dataservice extends client_1.default {
8
8
  }
9
9
  // ListDailyOrder 查询日订单数据
10
10
  async ListDailyOrder(req, cb) {
11
- return this.request("get", "/api/dataservice/v1/orders", req, { encryption: (req === null || req === void 0 ? void 0 : req.data_type) === " encryption" }, cb);
11
+ return this.request("get", "/api/dataservice/v1/orders", req, { encryption: (req === null || req === void 0 ? void 0 : req.data_type) === "encryption" }, cb);
12
12
  }
13
13
  // GetDailyOrderFile 查询日订单文件
14
14
  async GetDailyOrderFile(req, cb) {
@@ -20,7 +20,7 @@ class Dataservice extends client_1.default {
20
20
  }
21
21
  // ListDailyBill 查询日流水数据
22
22
  async ListDailyBill(req, cb) {
23
- return this.request("get", "/api/dataservice/v1/bills", req, { encryption: (req === null || req === void 0 ? void 0 : req.data_type) === " encryption" }, cb);
23
+ return this.request("get", "/api/dataservice/v1/bills", req, { encryption: (req === null || req === void 0 ? void 0 : req.data_type) === "encryption" }, cb);
24
24
  }
25
25
  // GetDailyBillFileV2 查询日流水文件
26
26
  async GetDailyBillFileV2(req, cb) {
@@ -20,7 +20,7 @@ class Payment extends client_1.default {
20
20
  }
21
21
  // GetOrder 查询单笔订单信息
22
22
  async GetOrder(req, cb) {
23
- return this.request("get", "/api/payment/v1/query-order", req, { encryption: (req === null || req === void 0 ? void 0 : req.data_type) === " encryption" }, cb);
23
+ return this.request("get", "/api/payment/v1/query-order", req, { encryption: (req === null || req === void 0 ? void 0 : req.data_type) === "encryption" }, cb);
24
24
  }
25
25
  // GetDealerVARechargeAccount 查询平台企业汇款信息
26
26
  async GetDealerVARechargeAccount(req, cb) {