@be-link/cs-cli-nodejs 0.0.53 → 0.0.55
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/shuttleBusSupplier/service.d.ts +1 -1
- package/cs/modules/shuttleBusSupplier/service.js.map +1 -1
- package/cs/modules/shuttleBusSupplier/types.d.ts +13 -30
- package/cs/modules/shuttleBusSupplier/types.js +0 -9
- package/cs/modules/shuttleBusSupplier/types.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { ShuttleBusSupplier } from './types';
|
|
|
3
3
|
declare class ShuttleBusSupplierService extends BaseService implements ShuttleBusSupplier.Controller {
|
|
4
4
|
prefixUrl: string;
|
|
5
5
|
queryShuttleBusSupplierList(request: ShuttleBusSupplier.Request.QueryShuttleBusSupplierList): Promise<ShuttleBusSupplier.Response.QueryShuttleBusSupplierList>;
|
|
6
|
-
queryShuttleBusSupplierWxGroup(): Promise<ShuttleBusSupplier.Response.
|
|
6
|
+
queryShuttleBusSupplierWxGroup(): Promise<ShuttleBusSupplier.Response.QueryShuttleBusSupplierWxGroupArray>;
|
|
7
7
|
upsertShuttleBusSupplier(request: ShuttleBusSupplier.Request.UpsertShuttleBusSupplier): Promise<ShuttleBusSupplier.Response.UpsertShuttleBusSupplier>;
|
|
8
8
|
queryShuttleBusRoute(request: ShuttleBusSupplier.Request.QueryShuttleBusRoute): Promise<ShuttleBusSupplier.Response.QueryShuttleBusRoute>;
|
|
9
9
|
upsertShuttleBusPickupPoint(request: ShuttleBusSupplier.Request.UpsertShuttleBusPickupPoint): Promise<ShuttleBusSupplier.Response.UpsertShuttleBusPickupPoint>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/cs/modules/shuttleBusSupplier/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,yBAA0B,SAAQ,qBAAW;IAAnD;;QACE,cAAS,GAAG,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/cs/modules/shuttleBusSupplier/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,yBAA0B,SAAQ,qBAAW;IAAnD;;QACE,cAAS,GAAG,uBAAuB,CAAA;IA0DrC,CAAC;IAzDC,2BAA2B,CACzB,OAA+D;QAE/D,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,EAChD,OAAO,CACR,CAAA;IACH,CAAC;IAED,8BAA8B;QAC5B,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,8BAA8B,CAAC,CACpD,CAAA;IACH,CAAC;IAED,wBAAwB,CACtB,OAA4D;QAE5D,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,wBAAwB,CAAC,EAC7C,OAAO,CACR,CAAA;IACH,CAAC;IAED,oBAAoB,CAClB,OAAwD;QAExD,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC,EACzC,OAAO,CACR,CAAA;IACH,CAAC;IAED,2BAA2B,CACzB,OAA+D;QAE/D,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,EAChD,OAAO,CACR,CAAA;IACH,CAAC;IAED,uCAAuC,CACrC,OAA2E;QAE3E,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,uCAAuC,CAAC,EAC5D,OAAO,CACR,CAAA;IACH,CAAC;IAED,cAAc,CAAC,OAAkD;QAC/D,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,EACnC,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,yBAAyB,GAAG,IAAI,yBAAyB,EAAE,CAAA;AAEjE,kBAAe,yBAAyB,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CommonStatus } from 'vitality-meta/enums/commodity';
|
|
1
2
|
export declare namespace ShuttleBusSupplier {
|
|
2
3
|
namespace DTO {
|
|
3
4
|
interface ShuttleBusSupplier {
|
|
@@ -19,6 +20,8 @@ export declare namespace ShuttleBusSupplier {
|
|
|
19
20
|
wxChatId: string;
|
|
20
21
|
/** 描述信息 */
|
|
21
22
|
description: string;
|
|
23
|
+
/** 状态 */
|
|
24
|
+
status: CommonStatus;
|
|
22
25
|
}
|
|
23
26
|
interface ShuttleBusRouteInfo {
|
|
24
27
|
id: string;
|
|
@@ -37,7 +40,7 @@ export declare namespace ShuttleBusSupplier {
|
|
|
37
40
|
/** 上车点区县 */
|
|
38
41
|
departureDistrict: string;
|
|
39
42
|
/** 状态 */
|
|
40
|
-
status:
|
|
43
|
+
status: CommonStatus;
|
|
41
44
|
}
|
|
42
45
|
interface ItemShuttleBusRouteRelation {
|
|
43
46
|
id: string;
|
|
@@ -47,8 +50,6 @@ export declare namespace ShuttleBusSupplier {
|
|
|
47
50
|
supplierId: string;
|
|
48
51
|
/** 班车线路ID */
|
|
49
52
|
routeId: string;
|
|
50
|
-
/** 状态 */
|
|
51
|
-
status: 'ONSALE' | 'DISCONTINUED';
|
|
52
53
|
/** 售卖价格 */
|
|
53
54
|
salePrice: number;
|
|
54
55
|
/** 结算价格 */
|
|
@@ -61,6 +62,8 @@ export declare namespace ShuttleBusSupplier {
|
|
|
61
62
|
isLimitStock: false;
|
|
62
63
|
/** 上车时间 */
|
|
63
64
|
pickUpTime: string;
|
|
65
|
+
/** 状态 */
|
|
66
|
+
status: CommonStatus;
|
|
64
67
|
}
|
|
65
68
|
}
|
|
66
69
|
namespace Request {
|
|
@@ -68,11 +71,12 @@ export declare namespace ShuttleBusSupplier {
|
|
|
68
71
|
/** 供应商名称 */
|
|
69
72
|
name?: string;
|
|
70
73
|
/** 页码,从0开始 */
|
|
71
|
-
pageIndex
|
|
74
|
+
pageIndex: number;
|
|
72
75
|
/** 每页数量 */
|
|
73
|
-
pageSize
|
|
76
|
+
pageSize: number;
|
|
74
77
|
}
|
|
75
78
|
interface UpsertShuttleBusSupplier {
|
|
79
|
+
id?: string;
|
|
76
80
|
name: string;
|
|
77
81
|
contactName: string;
|
|
78
82
|
contactMobile: string;
|
|
@@ -137,46 +141,25 @@ export declare namespace ShuttleBusSupplier {
|
|
|
137
141
|
/** 微信群名称 */
|
|
138
142
|
wxGroupName: string;
|
|
139
143
|
}
|
|
144
|
+
type QueryShuttleBusSupplierWxGroupArray = QueryShuttleBusSupplierWxGroup[];
|
|
140
145
|
interface UpsertShuttleBusSupplier {
|
|
141
146
|
/** 供应商ID */
|
|
142
147
|
id: string;
|
|
143
148
|
}
|
|
144
149
|
interface QueryShuttleBusRoute {
|
|
145
|
-
data:
|
|
146
|
-
id: string;
|
|
147
|
-
supplierId: string;
|
|
148
|
-
departureAddress: string;
|
|
149
|
-
departureLongitude: number;
|
|
150
|
-
departureLatitude: number;
|
|
151
|
-
departureProvince: string;
|
|
152
|
-
departureCity: string;
|
|
153
|
-
departureDistrict: string;
|
|
154
|
-
status: string;
|
|
155
|
-
}[];
|
|
150
|
+
data: DTO.ShuttleBusSupplier[];
|
|
156
151
|
total: number;
|
|
157
152
|
}
|
|
158
153
|
interface UpsertShuttleBusPickupPoint {
|
|
159
154
|
id: string;
|
|
160
155
|
}
|
|
161
|
-
|
|
162
|
-
id: string;
|
|
163
|
-
itemId: string;
|
|
164
|
-
supplierId: string;
|
|
165
|
-
routeId: string;
|
|
166
|
-
status: 'ONSALE' | 'DISCONTINUED';
|
|
167
|
-
salePrice: number;
|
|
168
|
-
settlementPrice: number;
|
|
169
|
-
saleDesc: string;
|
|
170
|
-
minOrderCount: number;
|
|
171
|
-
isLimitStock: false;
|
|
172
|
-
pickUpTime: string;
|
|
173
|
-
}
|
|
156
|
+
type GetProductAssociatedShuttleSupplierList = DTO.ItemShuttleBusRouteRelation[];
|
|
174
157
|
}
|
|
175
158
|
interface Controller {
|
|
176
159
|
/** 查询班车供应商列表 */
|
|
177
160
|
queryShuttleBusSupplierList(request: Request.QueryShuttleBusSupplierList): Promise<Response.QueryShuttleBusSupplierList>;
|
|
178
161
|
/** 查询班车供应商报单群 */
|
|
179
|
-
queryShuttleBusSupplierWxGroup(): Promise<Response.
|
|
162
|
+
queryShuttleBusSupplierWxGroup(): Promise<Response.QueryShuttleBusSupplierWxGroupArray>;
|
|
180
163
|
/** 创建或更新班车供应商 */
|
|
181
164
|
upsertShuttleBusSupplier(request: Request.UpsertShuttleBusSupplier): Promise<Response.UpsertShuttleBusSupplier>;
|
|
182
165
|
/** 查询班车供应商路线 */
|
|
@@ -1,12 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ShuttleBusSupplier = void 0;
|
|
4
|
-
var ShuttleBusSupplier;
|
|
5
|
-
(function (ShuttleBusSupplier) {
|
|
6
|
-
let Response;
|
|
7
|
-
(function (Response) {
|
|
8
|
-
[];
|
|
9
|
-
[];
|
|
10
|
-
})(Response = ShuttleBusSupplier.Response || (ShuttleBusSupplier.Response = {}));
|
|
11
|
-
})(ShuttleBusSupplier || (exports.ShuttleBusSupplier = ShuttleBusSupplier = {}));
|
|
12
3
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/cs/modules/shuttleBusSupplier/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/cs/modules/shuttleBusSupplier/types.ts"],"names":[],"mappings":""}
|