@be-link/pos-cli-nodejs 1.0.193 → 1.0.194

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.193",
3
+ "version": "1.0.194",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -0,0 +1,10 @@
1
+ import BaseService from '../service';
2
+ import { Service } from './types';
3
+ declare class QueryByPandoraService extends BaseService implements Service.QueryByPandoraController {
4
+ protected prefixUrl: string;
5
+ queryProductDropdown(request: Service.Request.IProductSearchDropdownReq): Promise<Service.Response.IProductSearchDropdownResp>;
6
+ queryOrderList(request: Service.Request.IOrderListReq): Promise<Service.Response.IOrderListResp>;
7
+ queryOrderCount(request: Service.Request.IOrderCountReq): Promise<Service.Response.IOrderCountResp>;
8
+ }
9
+ declare const queryByPandoraService: QueryByPandoraService;
10
+ export default queryByPandoraService;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const service_1 = __importDefault(require("../service"));
7
+ const http_1 = require("../../http");
8
+ class QueryByPandoraService extends service_1.default {
9
+ constructor() {
10
+ super(...arguments);
11
+ this.prefixUrl = '/query/pandora';
12
+ }
13
+ queryProductDropdown(request) {
14
+ return (0, http_1.callApi)(this.getApiUrl(this.queryProductDropdown), request);
15
+ }
16
+ queryOrderList(request) {
17
+ return (0, http_1.callApi)(this.getApiUrl(this.queryOrderList), request);
18
+ }
19
+ queryOrderCount(request) {
20
+ return (0, http_1.callApi)(this.getApiUrl(this.queryOrderCount), request);
21
+ }
22
+ }
23
+ const queryByPandoraService = new QueryByPandoraService();
24
+ exports.default = queryByPandoraService;