@be-link/pos-cli-nodejs 1.0.193 → 1.0.195
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/index.d.ts +2 -1
- package/index.js +3 -1
- package/package.json +1 -1
- package/pos/modules/orderQuery/pandora.d.ts +10 -0
- package/pos/modules/orderQuery/pandora.js +24 -0
package/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import queryByStoreService from './pos/modules/orderQuery/store';
|
|
|
8
8
|
import queryByUserService from './pos/modules/orderQuery/user';
|
|
9
9
|
import queryByWebService from './pos/modules/orderQuery/web';
|
|
10
10
|
import queryBySupplierService from './pos/modules/orderQuery/supplier';
|
|
11
|
+
import queryByPandoraService from './pos/modules/orderQuery/pandora';
|
|
11
12
|
import orderNoteService from './pos/modules/orderNote/service';
|
|
12
13
|
import orderJobService from './pos/modules/orderJob/service';
|
|
13
14
|
import dataMigrateService from './pos/modules/dataMigrate/service';
|
|
@@ -19,7 +20,7 @@ import { VenueInfoProxy } from './utils/posProxy/venueInfoProxy';
|
|
|
19
20
|
import orderTouristMaterialService from './pos/modules/orderTourMaterial/service';
|
|
20
21
|
export {
|
|
21
22
|
/** 业务模块 */
|
|
22
|
-
orderCoreService, orderFulfillService, queryByCommodityService, queryByStoreService, queryByUserService, queryByWebService, queryBySupplierService, orderNoteService, orderJobService, dataMigrateService, orderTouristMaterialService,
|
|
23
|
+
orderCoreService, orderFulfillService, queryByCommodityService, queryByStoreService, queryByUserService, queryByWebService, queryBySupplierService, queryByPandoraService, orderNoteService, orderJobService, dataMigrateService, orderTouristMaterialService,
|
|
23
24
|
/** 枚举类 */
|
|
24
25
|
PosConstants, PosDto,
|
|
25
26
|
/** 错误类 */
|
package/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.VenueInfoProxy = exports.ComboInfoProxy = exports.SkuInfoProxy = exports.ItemInfoProxy = exports.PosProxyFactory = exports.BizError = exports.PosDto = exports.PosConstants = exports.orderTouristMaterialService = exports.dataMigrateService = exports.orderJobService = exports.orderNoteService = exports.queryBySupplierService = exports.queryByWebService = exports.queryByUserService = exports.queryByStoreService = exports.queryByCommodityService = exports.orderFulfillService = exports.orderCoreService = void 0;
|
|
29
|
+
exports.VenueInfoProxy = exports.ComboInfoProxy = exports.SkuInfoProxy = exports.ItemInfoProxy = exports.PosProxyFactory = exports.BizError = exports.PosDto = exports.PosConstants = exports.orderTouristMaterialService = exports.dataMigrateService = exports.orderJobService = exports.orderNoteService = exports.queryByPandoraService = exports.queryBySupplierService = exports.queryByWebService = exports.queryByUserService = exports.queryByStoreService = exports.queryByCommodityService = exports.orderFulfillService = exports.orderCoreService = void 0;
|
|
30
30
|
const PosConstants = __importStar(require("vitality-meta/enums/pos"));
|
|
31
31
|
exports.PosConstants = PosConstants;
|
|
32
32
|
const PosDto = __importStar(require("./types"));
|
|
@@ -47,6 +47,8 @@ const web_1 = __importDefault(require("./pos/modules/orderQuery/web"));
|
|
|
47
47
|
exports.queryByWebService = web_1.default;
|
|
48
48
|
const supplier_1 = __importDefault(require("./pos/modules/orderQuery/supplier"));
|
|
49
49
|
exports.queryBySupplierService = supplier_1.default;
|
|
50
|
+
const pandora_1 = __importDefault(require("./pos/modules/orderQuery/pandora"));
|
|
51
|
+
exports.queryByPandoraService = pandora_1.default;
|
|
50
52
|
const service_3 = __importDefault(require("./pos/modules/orderNote/service"));
|
|
51
53
|
exports.orderNoteService = service_3.default;
|
|
52
54
|
const service_4 = __importDefault(require("./pos/modules/orderJob/service"));
|
package/package.json
CHANGED
|
@@ -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;
|