@be-link/cs-cli-nodejs 0.0.72 → 0.0.74
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.
|
@@ -57,10 +57,9 @@ export declare namespace BizTag {
|
|
|
57
57
|
name: string;
|
|
58
58
|
type: string;
|
|
59
59
|
relatedItemNum: number;
|
|
60
|
-
orderIndex: number;
|
|
61
60
|
createUser: string;
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
createdAt: number;
|
|
62
|
+
updatedAt: number;
|
|
64
63
|
}
|
|
65
64
|
type IMGetByItem = DTO.IBizTag[];
|
|
66
65
|
}
|
|
@@ -5,6 +5,7 @@ declare class ShuttleBusSupplierService extends BaseService implements ShuttleBu
|
|
|
5
5
|
queryShuttleBusSupplierList(request: ShuttleBusSupplier.Request.QueryShuttleBusSupplierList): Promise<ShuttleBusSupplier.Response.QueryShuttleBusSupplierList>;
|
|
6
6
|
upsertShuttleBusSupplier(request: ShuttleBusSupplier.Request.UpsertShuttleBusSupplier): Promise<ShuttleBusSupplier.Response.UpsertShuttleBusSupplier>;
|
|
7
7
|
queryShuttleBusRoute(request: ShuttleBusSupplier.Request.QueryShuttleBusRoute): Promise<ShuttleBusSupplier.Response.QueryShuttleBusRoute>;
|
|
8
|
+
queryShuttleBusRouteWithItemId(request: ShuttleBusSupplier.Request.QueryShuttleBusRouteWithItemId): Promise<ShuttleBusSupplier.Response.QueryShuttleBusRouteWithItemId>;
|
|
8
9
|
upsertShuttleBusPickupPoint(request: ShuttleBusSupplier.Request.UpsertShuttleBusPickupPoint): Promise<ShuttleBusSupplier.Response.UpsertShuttleBusPickupPoint>;
|
|
9
10
|
getProductAssociatedShuttleSupplierList(request: ShuttleBusSupplier.Request.GetProductAssociatedShuttleSupplierList): Promise<ShuttleBusSupplier.Response.GetProductAssociatedShuttleSupplierList>;
|
|
10
11
|
bindShuttleBus(request: ShuttleBusSupplier.Request.BindShuttleBus): Promise<void>;
|
|
@@ -19,6 +19,9 @@ class ShuttleBusSupplierService extends baseService_1.default {
|
|
|
19
19
|
queryShuttleBusRoute(request) {
|
|
20
20
|
return (0, http_1.callApi)(this.getApiUrl(this.queryShuttleBusRoute), request);
|
|
21
21
|
}
|
|
22
|
+
queryShuttleBusRouteWithItemId(request) {
|
|
23
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryShuttleBusRouteWithItemId), request);
|
|
24
|
+
}
|
|
22
25
|
upsertShuttleBusPickupPoint(request) {
|
|
23
26
|
return (0, http_1.callApi)(this.getApiUrl(this.upsertShuttleBusPickupPoint), request);
|
|
24
27
|
}
|
|
@@ -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;IAoErC,CAAC;IAnEC,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,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,8BAA8B,CAC5B,OAAkE;QAElE,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,8BAA8B,CAAC,EACnD,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;IAED,qBAAqB,CAAC,OAAyD;QAC7E,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,EAC1C,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,yBAAyB,GAAG,IAAI,yBAAyB,EAAE,CAAA;AAEjE,kBAAe,yBAAyB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonStatus } from 'vitality-meta/enums/commodity';
|
|
1
|
+
import { CommonStatus, CommonSaleStatus } from 'vitality-meta/enums/commodity';
|
|
2
2
|
export declare namespace ShuttleBusSupplier {
|
|
3
3
|
namespace DTO {
|
|
4
4
|
interface ShuttleBusSupplier {
|
|
@@ -59,15 +59,16 @@ export declare namespace ShuttleBusSupplier {
|
|
|
59
59
|
/** 起订人数 */
|
|
60
60
|
minOrderCount: number;
|
|
61
61
|
/** 是否限制库存 */
|
|
62
|
-
isLimitStock:
|
|
62
|
+
isLimitStock: boolean;
|
|
63
63
|
/** 上车时间 */
|
|
64
64
|
pickUpTime: string;
|
|
65
65
|
/** 状态 */
|
|
66
|
-
status:
|
|
66
|
+
status: CommonSaleStatus;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
namespace Request {
|
|
70
70
|
interface QueryShuttleBusSupplierList {
|
|
71
|
+
idList?: string[];
|
|
71
72
|
/** 供应商名称 */
|
|
72
73
|
name?: string;
|
|
73
74
|
/** 页码,从0开始 */
|
|
@@ -96,6 +97,13 @@ export declare namespace ShuttleBusSupplier {
|
|
|
96
97
|
page: number;
|
|
97
98
|
pageSize: number;
|
|
98
99
|
}
|
|
100
|
+
interface QueryShuttleBusRouteWithItemId {
|
|
101
|
+
itemId: string;
|
|
102
|
+
departureCity?: string;
|
|
103
|
+
departureAddress?: string;
|
|
104
|
+
page: number;
|
|
105
|
+
pageSize: number;
|
|
106
|
+
}
|
|
99
107
|
interface UpsertShuttleBusPickupPoint {
|
|
100
108
|
id?: string;
|
|
101
109
|
/** 供应商ID */
|
|
@@ -130,9 +138,11 @@ export declare namespace ShuttleBusSupplier {
|
|
|
130
138
|
settlementPrice: number;
|
|
131
139
|
/** 是否限制库存 */
|
|
132
140
|
isLimitStock: boolean;
|
|
141
|
+
/** 最小起订量 */
|
|
142
|
+
minOrderCount: number;
|
|
133
143
|
/** 售卖日期 */
|
|
134
144
|
validDates?: number[];
|
|
135
|
-
pickUpTime?:
|
|
145
|
+
pickUpTime?: string;
|
|
136
146
|
saleDesc?: string;
|
|
137
147
|
}
|
|
138
148
|
}
|
|
@@ -162,6 +172,12 @@ export declare namespace ShuttleBusSupplier {
|
|
|
162
172
|
data: DTO.ShuttleBusRouteInfo[];
|
|
163
173
|
total: number;
|
|
164
174
|
}
|
|
175
|
+
interface QueryShuttleBusRouteWithItemId {
|
|
176
|
+
data: DTO.ShuttleBusRouteInfo & {
|
|
177
|
+
isBind: boolean;
|
|
178
|
+
}[];
|
|
179
|
+
total: number;
|
|
180
|
+
}
|
|
165
181
|
interface UpsertShuttleBusPickupPoint {
|
|
166
182
|
id: string;
|
|
167
183
|
}
|
|
@@ -174,6 +190,8 @@ export declare namespace ShuttleBusSupplier {
|
|
|
174
190
|
upsertShuttleBusSupplier(request: Request.UpsertShuttleBusSupplier): Promise<Response.UpsertShuttleBusSupplier>;
|
|
175
191
|
/** 查询班车供应商路线 */
|
|
176
192
|
queryShuttleBusRoute(request: Request.QueryShuttleBusRoute): Promise<Response.QueryShuttleBusRoute>;
|
|
193
|
+
/** 查询班车供应商路线附带绑定状态 */
|
|
194
|
+
queryShuttleBusRouteWithItemId(request: Request.QueryShuttleBusRouteWithItemId): Promise<Response.QueryShuttleBusRouteWithItemId>;
|
|
177
195
|
/** 创建更新上车点 */
|
|
178
196
|
upsertShuttleBusPickupPoint(request: Request.UpsertShuttleBusPickupPoint): Promise<Response.UpsertShuttleBusPickupPoint>;
|
|
179
197
|
/** 获取供应商关联商品列表 */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@be-link/cs-cli-nodejs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.74",
|
|
4
4
|
"description": "商品服务Nodejs客户端",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"axios": "0.27.2",
|
|
42
42
|
"uuid": "9.0.1",
|
|
43
|
-
"vitality-meta": "1.0.
|
|
43
|
+
"vitality-meta": "1.0.174"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
46
|
"node": ">=18"
|