@be-link/pos-cli-nodejs 0.0.131 → 0.0.132

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": "0.0.131",
3
+ "version": "0.0.132",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -675,7 +675,7 @@ export declare namespace Service {
675
675
  * @returns 开票记录
676
676
  * @path /query/user/get-order-invoice-by-order-id
677
677
  */
678
- getOrderInvoiceByOrderId(orderId: string): Promise<DTO.IPositiveOrderInvoice>;
678
+ getOrderInvoiceByOrderId(request: any): Promise<DTO.IPositiveOrderInvoice>;
679
679
  /**
680
680
  * 根据订单id查询订单
681
681
  * @path /query/user/get-order-by-id
@@ -4,7 +4,7 @@ import * as DTO from '../../../types';
4
4
  declare class QueryByUserService extends BaseService implements Service.QueryByUserController {
5
5
  protected prefixUrl: string;
6
6
  listOrderInvoice(request: Service.Request.getOrderInvoiceRequest): Promise<DTO.IPositiveOrderInvoice[]>;
7
- getOrderInvoiceByOrderId(orderId: string): Promise<DTO.IPositiveOrderInvoice>;
7
+ getOrderInvoiceByOrderId(request: any): Promise<DTO.IPositiveOrderInvoice>;
8
8
  getOrderById<K extends (keyof DTO.QueryDataBlockTypeMap)[]>(request: Service.Request.getOrderById<K>): Promise<DTO.QueryDataRes<K>>;
9
9
  queryOrderByIdList<K extends (keyof DTO.QueryDataBlockTypeMap)[]>(request: Service.Request.queryOrderByIdList<K>): Promise<DTO.QueryDataRes<K>[]>;
10
10
  queryUserOrder<K extends (keyof DTO.QueryDataBlockTypeMap)[]>(request: Service.Request.queryUserOrder<K>): Promise<DTO.QueryDataRes<K>[]>;
@@ -13,8 +13,8 @@ class QueryByUserService extends service_1.default {
13
13
  listOrderInvoice(request) {
14
14
  return (0, http_1.callApi)(this.getApiUrl(this.listOrderInvoice), request);
15
15
  }
16
- getOrderInvoiceByOrderId(orderId) {
17
- return (0, http_1.callApi)(this.getApiUrl(this.getOrderInvoiceByOrderId), orderId);
16
+ getOrderInvoiceByOrderId(request) {
17
+ return (0, http_1.callApi)(this.getApiUrl(this.getOrderInvoiceByOrderId), request);
18
18
  }
19
19
  getOrderById(request) {
20
20
  return (0, http_1.callApi)(this.getApiUrl(this.getOrderById), request);