@be-link/pos-cli-nodejs 0.0.133 → 0.0.135
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
|
@@ -670,6 +670,12 @@ export declare namespace Service {
|
|
|
670
670
|
* @path /query/user/list-order-invoice
|
|
671
671
|
*/
|
|
672
672
|
listOrderInvoice(request: Request.getOrderInvoiceRequest): Promise<DTO.IPositiveOrderInvoice[]>;
|
|
673
|
+
/**
|
|
674
|
+
* list开票记录
|
|
675
|
+
* @returns 开票记录
|
|
676
|
+
* @path /query/user/list-order-invoice-count
|
|
677
|
+
*/
|
|
678
|
+
listOrderInvoiceCount(request: Request.getOrderInvoiceRequest): Promise<number>;
|
|
673
679
|
/**
|
|
674
680
|
* 根据订单id查询开票记录
|
|
675
681
|
* @returns 开票记录
|
|
@@ -3,6 +3,7 @@ import { Service } from './types';
|
|
|
3
3
|
import * as DTO from '../../../types';
|
|
4
4
|
declare class QueryByUserService extends BaseService implements Service.QueryByUserController {
|
|
5
5
|
protected prefixUrl: string;
|
|
6
|
+
listOrderInvoiceCount(request: Service.Request.getOrderInvoiceRequest): Promise<number>;
|
|
6
7
|
listOrderInvoice(request: Service.Request.getOrderInvoiceRequest): Promise<DTO.IPositiveOrderInvoice[]>;
|
|
7
8
|
getOrderInvoiceByOrderId(request: any): Promise<DTO.IPositiveOrderInvoice>;
|
|
8
9
|
getOrderById<K extends (keyof DTO.QueryDataBlockTypeMap)[]>(request: Service.Request.getOrderById<K>): Promise<DTO.QueryDataRes<K>>;
|
|
@@ -10,6 +10,9 @@ class QueryByUserService extends service_1.default {
|
|
|
10
10
|
super(...arguments);
|
|
11
11
|
this.prefixUrl = '/query/user';
|
|
12
12
|
}
|
|
13
|
+
listOrderInvoiceCount(request) {
|
|
14
|
+
return (0, http_1.callApi)(this.getApiUrl(this.listOrderInvoiceCount), request);
|
|
15
|
+
}
|
|
13
16
|
listOrderInvoice(request) {
|
|
14
17
|
return (0, http_1.callApi)(this.getApiUrl(this.listOrderInvoice), request);
|
|
15
18
|
}
|