@be-link/cs-cli-nodejs 0.0.27 → 0.0.29
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/cs/modules/itemQuery/bySupplier/service.d.ts +12 -0
- package/cs/modules/itemQuery/bySupplier/service.js +22 -0
- package/cs/modules/itemQuery/bySupplier/service.js.map +1 -0
- package/cs/modules/itemQuery/bySupplier/type.d.ts +18 -0
- package/cs/modules/itemQuery/bySupplier/type.js +3 -0
- package/cs/modules/itemQuery/bySupplier/type.js.map +1 -0
- package/cs/modules/itemQuery/index.d.ts +10 -0
- package/cs/modules/itemQuery/index.js +2 -0
- package/cs/modules/itemQuery/index.js.map +1 -1
- package/cs/modules/serviceVenue/types.d.ts +2 -2
- package/index.d.ts +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module 供应商维度查询商品模块
|
|
3
|
+
*/
|
|
4
|
+
import { QueryBlockDataMap, QueryDataRes } from '../../../../types';
|
|
5
|
+
import BaseService from '../../baseService';
|
|
6
|
+
import { QueryBySupplier } from './type';
|
|
7
|
+
declare class QueryBySupplierService extends BaseService implements QueryBySupplier.Controller {
|
|
8
|
+
prefixUrl: string;
|
|
9
|
+
queryItemList<k extends (keyof QueryBlockDataMap)[]>(request: QueryBySupplier.Request.IQueryItemList<k>): Promise<QueryDataRes<k>[]>;
|
|
10
|
+
}
|
|
11
|
+
declare const bySupplier: QueryBySupplierService;
|
|
12
|
+
export default bySupplier;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @module 供应商维度查询商品模块
|
|
4
|
+
*/
|
|
5
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
const http_1 = require("../../../http");
|
|
10
|
+
const baseService_1 = __importDefault(require("../../baseService"));
|
|
11
|
+
class QueryBySupplierService extends baseService_1.default {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
this.prefixUrl = '/item/query/by-supplier';
|
|
15
|
+
}
|
|
16
|
+
queryItemList(request) {
|
|
17
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryItemList), request);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
const bySupplier = new QueryBySupplierService();
|
|
21
|
+
exports.default = bySupplier;
|
|
22
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemQuery/bySupplier/service.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;AAGH,wCAAuC;AACvC,oEAA2C;AAG3C,MAAM,sBAAuB,SAAQ,qBAAW;IAAhD;;QACE,cAAS,GAAW,yBAAyB,CAAA;IAU/C,CAAC;IARC,aAAa,CACX,OAAkD;QAElD,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,EAClC,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAA;AAE/C,kBAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as GDto from '../../../../types';
|
|
2
|
+
export declare namespace QueryBySupplier {
|
|
3
|
+
namespace Request {
|
|
4
|
+
interface IPaging {
|
|
5
|
+
pageIndex?: number;
|
|
6
|
+
pageSize?: number;
|
|
7
|
+
}
|
|
8
|
+
interface IQueryItemList<K> {
|
|
9
|
+
supplierIds: string[];
|
|
10
|
+
queryBlocks: K;
|
|
11
|
+
paging: IPaging;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
namespace Response { }
|
|
15
|
+
interface Controller {
|
|
16
|
+
queryItemList<k extends (keyof GDto.QueryBlockDataMap)[]>(request: Request.IQueryItemList<k>): Promise<GDto.QueryDataRes<k>[]>;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemQuery/bySupplier/type.ts"],"names":[],"mappings":""}
|
|
@@ -20,5 +20,15 @@ declare const itemQueryService: {
|
|
|
20
20
|
readonly publicProdHost: "";
|
|
21
21
|
getApiUrl(func: Function): string;
|
|
22
22
|
};
|
|
23
|
+
bySupplier: {
|
|
24
|
+
prefixUrl: string;
|
|
25
|
+
queryItemList<k extends (keyof import("../../../types").QueryBlockDataMap)[]>(request: import("./bySupplier/type").QueryBySupplier.Request.IQueryItemList<k>): Promise<import("../../../types").QueryDataRes<k>[]>;
|
|
26
|
+
isPublicEnv: boolean;
|
|
27
|
+
readonly natDevHost: "http://qgostaxv.cs.nmkh74o4.rlwzae9d.com:8090";
|
|
28
|
+
readonly natProdHost: "";
|
|
29
|
+
readonly publicDevHost: "https://cs-74680-5-1304510571.sh.run.tcloudbase.com";
|
|
30
|
+
readonly publicProdHost: "";
|
|
31
|
+
getApiUrl(func: Function): string;
|
|
32
|
+
};
|
|
23
33
|
};
|
|
24
34
|
export default itemQueryService;
|
|
@@ -5,9 +5,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const service_1 = __importDefault(require("./byItem/service"));
|
|
7
7
|
const service_2 = __importDefault(require("./byStock/service"));
|
|
8
|
+
const service_3 = __importDefault(require("./bySupplier/service"));
|
|
8
9
|
const itemQueryService = {
|
|
9
10
|
byItem: service_1.default,
|
|
10
11
|
byStock: service_2.default,
|
|
12
|
+
bySupplier: service_3.default,
|
|
11
13
|
};
|
|
12
14
|
exports.default = itemQueryService;
|
|
13
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/cs/modules/itemQuery/index.ts"],"names":[],"mappings":";;;;;AAAA,+DAAqC;AACrC,gEAAuC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/cs/modules/itemQuery/index.ts"],"names":[],"mappings":";;;;;AAAA,+DAAqC;AACrC,gEAAuC;AACvC,mEAA6C;AAE7C,MAAM,gBAAgB,GAAG;IACvB,MAAM,EAAN,iBAAM;IACN,OAAO,EAAP,iBAAO;IACP,UAAU,EAAV,iBAAU;CACX,CAAA;AAED,kBAAe,gBAAgB,CAAA"}
|
|
@@ -40,7 +40,7 @@ export declare namespace ServiceVenue {
|
|
|
40
40
|
type: string;
|
|
41
41
|
name: string;
|
|
42
42
|
basicInfo?: {
|
|
43
|
-
|
|
43
|
+
address: string;
|
|
44
44
|
starLevel: number;
|
|
45
45
|
diamondLevel: number;
|
|
46
46
|
qualification: string[];
|
|
@@ -182,7 +182,7 @@ export declare namespace ServiceVenue {
|
|
|
182
182
|
type: string;
|
|
183
183
|
name: string;
|
|
184
184
|
basicInfo?: {
|
|
185
|
-
|
|
185
|
+
address: string;
|
|
186
186
|
starLevel: number;
|
|
187
187
|
diamondLevel: number;
|
|
188
188
|
qualification: string[];
|
package/index.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ import itemQueryService from './cs/modules/itemQuery';
|
|
|
5
5
|
import supplierService from './cs/modules/supplier/service';
|
|
6
6
|
import shuttleBusSupplierService from './cs/modules/shuttleBusSupplier/service';
|
|
7
7
|
import serviceVenueService from './cs/modules/serviceVenue/service';
|
|
8
|
-
export { BizError, CSDto, itemQueryService, supplierService, shuttleBusSupplierService, serviceVenueService };
|
|
8
|
+
export { BizError, CSDto, itemQueryService, supplierService, shuttleBusSupplierService, serviceVenueService, };
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iEAAwC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iEAAwC;AAUtC,mBAVK,kBAAQ,CAUL;AATV,+CAAgC;AAU9B,sBAAK;AARP,WAAW;AACX,uEAAqD;AAQnD,2BARK,mBAAgB,CAQL;AAPlB,4EAA2D;AAQzD,0BARK,iBAAe,CAQL;AAPjB,sFAA+E;AAQ7E,oCARK,iBAAyB,CAQL;AAP3B,gFAAmE;AAQjE,8BARK,iBAAmB,CAQL"}
|