@be-link/vitality-cli-nodejs 0.0.9 → 0.0.11
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 +5 -1
- package/index.js +21 -1
- package/index.js.map +1 -1
- package/package.json +2 -1
- package/vs/http.d.ts +2 -2
- package/vs/modules/api/index.d.ts +0 -3
- package/vs/modules/baseService.d.ts +0 -5
- package/vs/modules/baseService.js +1 -17
- package/vs/modules/baseService.js.map +1 -1
- package/vs/modules/biz/commodity/ai/service.d.ts +9 -0
- package/vs/modules/biz/commodity/ai/service.js +22 -0
- package/vs/modules/biz/commodity/ai/service.js.map +1 -0
- package/vs/modules/biz/commodity/ai/type.d.ts +18 -0
- package/vs/modules/biz/commodity/ai/type.js +3 -0
- package/vs/modules/biz/commodity/ai/type.js.map +1 -0
- package/vs/modules/biz/commodity/common.d.ts +15 -0
- package/vs/modules/biz/commodity/common.js +3 -0
- package/vs/modules/biz/commodity/common.js.map +1 -0
- package/vs/modules/biz/commodity/ecAppToB/service.d.ts +9 -0
- package/vs/modules/biz/commodity/ecAppToB/service.js +22 -0
- package/vs/modules/biz/commodity/ecAppToB/service.js.map +1 -0
- package/vs/modules/biz/commodity/ecAppToB/type.d.ts +6 -0
- package/vs/modules/biz/commodity/ecAppToB/type.js +3 -0
- package/vs/modules/biz/commodity/ecAppToB/type.js.map +1 -0
- package/vs/modules/biz/commodity/ecWeb/service.d.ts +11 -0
- package/vs/modules/biz/commodity/ecWeb/service.js +28 -0
- package/vs/modules/biz/commodity/ecWeb/service.js.map +1 -0
- package/vs/modules/biz/commodity/ecWeb/type.d.ts +8 -0
- package/vs/modules/biz/commodity/ecWeb/type.js +3 -0
- package/vs/modules/biz/commodity/ecWeb/type.js.map +1 -0
- package/vs/modules/biz/commodity/index.d.ts +459 -0
- package/vs/modules/biz/commodity/index.js +37 -0
- package/vs/modules/biz/commodity/index.js.map +1 -0
- package/vs/modules/biz/commodity/job/service.d.ts +9 -0
- package/vs/modules/biz/commodity/job/service.js +22 -0
- package/vs/modules/biz/commodity/job/service.js.map +1 -0
- package/vs/modules/biz/commodity/job/type.d.ts +6 -0
- package/vs/modules/biz/commodity/job/type.js +3 -0
- package/vs/modules/biz/commodity/job/type.js.map +1 -0
- package/vs/modules/biz/commodity/main/service.d.ts +29 -0
- package/vs/modules/biz/commodity/main/service.js +82 -0
- package/vs/modules/biz/commodity/main/service.js.map +1 -0
- package/vs/modules/biz/commodity/main/type.d.ts +39 -0
- package/vs/modules/biz/commodity/main/type.js +3 -0
- package/vs/modules/biz/commodity/main/type.js.map +1 -0
- package/vs/modules/biz/commodity/miniApp/service.d.ts +9 -0
- package/vs/modules/biz/commodity/miniApp/service.js +22 -0
- package/vs/modules/biz/commodity/miniApp/service.js.map +1 -0
- package/vs/modules/biz/commodity/miniApp/type.d.ts +6 -0
- package/vs/modules/biz/commodity/miniApp/type.js +3 -0
- package/vs/modules/biz/commodity/miniApp/type.js.map +1 -0
- package/vs/modules/biz/commodity/restructure/service.d.ts +129 -0
- package/vs/modules/biz/commodity/restructure/service.js +382 -0
- package/vs/modules/biz/commodity/restructure/service.js.map +1 -0
- package/vs/modules/biz/commodity/restructure/type.d.ts +281 -0
- package/vs/modules/biz/commodity/restructure/type.js +3 -0
- package/vs/modules/biz/commodity/restructure/type.js.map +1 -0
- package/vs/modules/biz/commodity/search/service.d.ts +29 -0
- package/vs/modules/biz/commodity/search/service.js +82 -0
- package/vs/modules/biz/commodity/search/service.js.map +1 -0
- package/vs/modules/biz/commodity/search/type.d.ts +26 -0
- package/vs/modules/biz/commodity/search/type.js +3 -0
- package/vs/modules/biz/commodity/search/type.js.map +1 -0
- package/vs/modules/biz/commodity/web/service.d.ts +21 -0
- package/vs/modules/biz/commodity/web/service.js +58 -0
- package/vs/modules/biz/commodity/web/service.js.map +1 -0
- package/vs/modules/biz/commodity/web/type.d.ts +18 -0
- package/vs/modules/biz/commodity/web/type.js +3 -0
- package/vs/modules/biz/commodity/web/type.js.map +1 -0
- package/vs/modules/biz/commodityV2/boss/roomStock/service.d.ts +8 -0
- package/vs/modules/biz/commodityV2/boss/roomStock/service.js +19 -0
- package/vs/modules/biz/commodityV2/boss/roomStock/service.js.map +1 -0
- package/vs/modules/biz/commodityV2/boss/roomStock/type.d.ts +23 -0
- package/vs/modules/biz/commodityV2/boss/roomStock/type.js +3 -0
- package/vs/modules/biz/commodityV2/boss/roomStock/type.js.map +1 -0
- package/vs/modules/biz/commodityV2/boss/serviceVenue/service.d.ts +8 -0
- package/vs/modules/biz/commodityV2/boss/serviceVenue/service.js +19 -0
- package/vs/modules/biz/commodityV2/boss/serviceVenue/service.js.map +1 -0
- package/vs/modules/biz/commodityV2/boss/serviceVenue/type.d.ts +34 -0
- package/vs/modules/biz/commodityV2/boss/serviceVenue/type.js +3 -0
- package/vs/modules/biz/commodityV2/boss/serviceVenue/type.js.map +1 -0
- package/vs/modules/biz/commodityV2/index.d.ts +255 -0
- package/vs/modules/biz/commodityV2/index.js +62 -0
- package/vs/modules/biz/commodityV2/index.js.map +1 -0
- package/vs/modules/biz/commodityV2/miniapp/itemQuery/service.d.ts +16 -0
- package/vs/modules/biz/commodityV2/miniapp/itemQuery/service.js +43 -0
- package/vs/modules/biz/commodityV2/miniapp/itemQuery/service.js.map +1 -0
- package/vs/modules/biz/commodityV2/miniapp/itemQuery/type.d.ts +14 -0
- package/vs/modules/biz/commodityV2/miniapp/itemQuery/type.js +3 -0
- package/vs/modules/biz/commodityV2/miniapp/itemQuery/type.js.map +1 -0
- package/vs/modules/biz/commodityV2/types/miniapp/itemQuery.d.ts +456 -0
- package/vs/modules/biz/commodityV2/types/miniapp/itemQuery.js +3 -0
- package/vs/modules/biz/commodityV2/types/miniapp/itemQuery.js.map +1 -0
- package/vs/modules/biz/commodityV2/types/web/item.d.ts +264 -0
- package/vs/modules/biz/commodityV2/types/web/item.js +3 -0
- package/vs/modules/biz/commodityV2/types/web/item.js.map +1 -0
- package/vs/modules/biz/commodityV2/types/web/itemQuery.d.ts +160 -0
- package/vs/modules/biz/commodityV2/types/web/itemQuery.js +3 -0
- package/vs/modules/biz/commodityV2/types/web/itemQuery.js.map +1 -0
- package/vs/modules/biz/commodityV2/types/web/serviceVenue.d.ts +297 -0
- package/vs/modules/biz/commodityV2/types/web/serviceVenue.js +3 -0
- package/vs/modules/biz/commodityV2/types/web/serviceVenue.js.map +1 -0
- package/vs/modules/biz/commodityV2/types/web/shuttleBus.d.ts +356 -0
- package/vs/modules/biz/commodityV2/types/web/shuttleBus.js +3 -0
- package/vs/modules/biz/commodityV2/types/web/shuttleBus.js.map +1 -0
- package/vs/modules/biz/commodityV2/types/wxwork/itemQuery.d.ts +42 -0
- package/vs/modules/biz/commodityV2/types/wxwork/itemQuery.js +3 -0
- package/vs/modules/biz/commodityV2/types/wxwork/itemQuery.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/bizTag/service.d.ts +14 -0
- package/vs/modules/biz/commodityV2/web/bizTag/service.js +37 -0
- package/vs/modules/biz/commodityV2/web/bizTag/service.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/bizTag/type.d.ts +71 -0
- package/vs/modules/biz/commodityV2/web/bizTag/type.js +3 -0
- package/vs/modules/biz/commodityV2/web/bizTag/type.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/facility/service.d.ts +12 -0
- package/vs/modules/biz/commodityV2/web/facility/service.js +31 -0
- package/vs/modules/biz/commodityV2/web/facility/service.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/facility/type.d.ts +76 -0
- package/vs/modules/biz/commodityV2/web/facility/type.js +12 -0
- package/vs/modules/biz/commodityV2/web/facility/type.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/item/service.d.ts +16 -0
- package/vs/modules/biz/commodityV2/web/item/service.js +43 -0
- package/vs/modules/biz/commodityV2/web/item/service.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/item/type.d.ts +14 -0
- package/vs/modules/biz/commodityV2/web/item/type.js +3 -0
- package/vs/modules/biz/commodityV2/web/item/type.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/itemCombo/service.d.ts +21 -0
- package/vs/modules/biz/commodityV2/web/itemCombo/service.js +58 -0
- package/vs/modules/biz/commodityV2/web/itemCombo/service.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/itemCombo/type.d.ts +185 -0
- package/vs/modules/biz/commodityV2/web/itemCombo/type.js +3 -0
- package/vs/modules/biz/commodityV2/web/itemCombo/type.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/itemDiscountActivity/service.d.ts +12 -0
- package/vs/modules/biz/commodityV2/web/itemDiscountActivity/service.js +31 -0
- package/vs/modules/biz/commodityV2/web/itemDiscountActivity/service.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/itemDiscountActivity/type.d.ts +47 -0
- package/vs/modules/biz/commodityV2/web/itemDiscountActivity/type.js +3 -0
- package/vs/modules/biz/commodityV2/web/itemDiscountActivity/type.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/itemQuery/service.d.ts +14 -0
- package/vs/modules/biz/commodityV2/web/itemQuery/service.js +37 -0
- package/vs/modules/biz/commodityV2/web/itemQuery/service.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/itemQuery/type.d.ts +12 -0
- package/vs/modules/biz/commodityV2/web/itemQuery/type.js +3 -0
- package/vs/modules/biz/commodityV2/web/itemQuery/type.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/serviceVenue/service.d.ts +15 -0
- package/vs/modules/biz/commodityV2/web/serviceVenue/service.js +40 -0
- package/vs/modules/biz/commodityV2/web/serviceVenue/service.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/serviceVenue/type.d.ts +13 -0
- package/vs/modules/biz/commodityV2/web/serviceVenue/type.js +3 -0
- package/vs/modules/biz/commodityV2/web/serviceVenue/type.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/shuttleBus/service.d.ts +15 -0
- package/vs/modules/biz/commodityV2/web/shuttleBus/service.js +40 -0
- package/vs/modules/biz/commodityV2/web/shuttleBus/service.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/shuttleBus/type.d.ts +13 -0
- package/vs/modules/biz/commodityV2/web/shuttleBus/type.js +3 -0
- package/vs/modules/biz/commodityV2/web/shuttleBus/type.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/supplier/service.d.ts +10 -0
- package/vs/modules/biz/commodityV2/web/supplier/service.js +25 -0
- package/vs/modules/biz/commodityV2/web/supplier/service.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/supplier/type.d.ts +35 -0
- package/vs/modules/biz/commodityV2/web/supplier/type.js +3 -0
- package/vs/modules/biz/commodityV2/web/supplier/type.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/tourMaterial/service.d.ts +9 -0
- package/vs/modules/biz/commodityV2/web/tourMaterial/service.js +22 -0
- package/vs/modules/biz/commodityV2/web/tourMaterial/service.js.map +1 -0
- package/vs/modules/biz/commodityV2/web/tourMaterial/type.d.ts +36 -0
- package/vs/modules/biz/commodityV2/web/tourMaterial/type.js +3 -0
- package/vs/modules/biz/commodityV2/web/tourMaterial/type.js.map +1 -0
- package/vs/modules/biz/commodityV2/wxwork/itemQuery/service.d.ts +9 -0
- package/vs/modules/biz/commodityV2/wxwork/itemQuery/service.js +22 -0
- package/vs/modules/biz/commodityV2/wxwork/itemQuery/service.js.map +1 -0
- package/vs/modules/biz/commodityV2/wxwork/itemQuery/type.d.ts +7 -0
- package/vs/modules/biz/commodityV2/wxwork/itemQuery/type.js +3 -0
- package/vs/modules/biz/commodityV2/wxwork/itemQuery/type.js.map +1 -0
- package/vs/modules/biz/index.d.ts +665 -72
- package/vs/modules/biz/index.js +4 -0
- package/vs/modules/biz/index.js.map +1 -1
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import { CommonStatus } from 'vitality-meta/enums/commodity';
|
|
2
|
+
export declare namespace ServiceVenueNamespace {
|
|
3
|
+
namespace Entity {
|
|
4
|
+
interface CommonDescriptionItem {
|
|
5
|
+
type: 'TEXT' | 'IMAGE';
|
|
6
|
+
value: string;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
namespace Request {
|
|
10
|
+
/** 查询门店列表 */
|
|
11
|
+
interface IQueryServiceVenueList {
|
|
12
|
+
/** 门店类型 */
|
|
13
|
+
serviceVenueType: string;
|
|
14
|
+
/** 门店名称 */
|
|
15
|
+
name?: string;
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
pageIndex?: number;
|
|
18
|
+
status?: CommonStatus;
|
|
19
|
+
id?: string;
|
|
20
|
+
address?: string;
|
|
21
|
+
starLevel?: number;
|
|
22
|
+
diamondLevel?: number;
|
|
23
|
+
}
|
|
24
|
+
interface IQueryServiceVenueListBySupplier {
|
|
25
|
+
supplierIds: string[];
|
|
26
|
+
venueName?: string;
|
|
27
|
+
pageSize?: number;
|
|
28
|
+
pageIndex?: number;
|
|
29
|
+
}
|
|
30
|
+
interface IGetServiceVenueInfo {
|
|
31
|
+
id: string;
|
|
32
|
+
}
|
|
33
|
+
interface IUpdateStatus {
|
|
34
|
+
id: string;
|
|
35
|
+
status: string;
|
|
36
|
+
}
|
|
37
|
+
/** 创建门店 */
|
|
38
|
+
interface ICreateServiceVenue {
|
|
39
|
+
/** 门店类型 */
|
|
40
|
+
serviceVenueType: string;
|
|
41
|
+
}
|
|
42
|
+
/** 更新门店 */
|
|
43
|
+
interface IUpdateServiceVenue {
|
|
44
|
+
id: string;
|
|
45
|
+
status: string;
|
|
46
|
+
basicInfo?: {
|
|
47
|
+
name: string;
|
|
48
|
+
poiInfo?: {
|
|
49
|
+
poi: string;
|
|
50
|
+
region: string;
|
|
51
|
+
city: string;
|
|
52
|
+
province: string;
|
|
53
|
+
address: string;
|
|
54
|
+
distance: number;
|
|
55
|
+
durationDriving: number;
|
|
56
|
+
durationWalk: number;
|
|
57
|
+
location: {
|
|
58
|
+
lat: number;
|
|
59
|
+
lng: number;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
starLevel: number;
|
|
63
|
+
diamondLevel: number;
|
|
64
|
+
qualification: string[];
|
|
65
|
+
openYear: string;
|
|
66
|
+
renovationYear: string;
|
|
67
|
+
supplierName: string;
|
|
68
|
+
roomCount: number;
|
|
69
|
+
introduction: ServiceVenueNamespace.Entity.CommonDescriptionItem[];
|
|
70
|
+
};
|
|
71
|
+
cateringIntroduction?: {
|
|
72
|
+
mealTime: {
|
|
73
|
+
breakfast: [string, string];
|
|
74
|
+
lunch: [string, string];
|
|
75
|
+
dinner: [string, string];
|
|
76
|
+
};
|
|
77
|
+
tableCapacity: number;
|
|
78
|
+
introduction: ServiceVenueNamespace.Entity.CommonDescriptionItem[];
|
|
79
|
+
};
|
|
80
|
+
trafficInfo?: {
|
|
81
|
+
content: {
|
|
82
|
+
title: string;
|
|
83
|
+
value: string;
|
|
84
|
+
}[];
|
|
85
|
+
introduction: ServiceVenueNamespace.Entity.CommonDescriptionItem[];
|
|
86
|
+
};
|
|
87
|
+
reportInfo?: {
|
|
88
|
+
chatId: string;
|
|
89
|
+
};
|
|
90
|
+
policy?: {
|
|
91
|
+
enterLeavingPolicy: {
|
|
92
|
+
checkInTime: string;
|
|
93
|
+
checkOutTime: string;
|
|
94
|
+
applicablePeople: string;
|
|
95
|
+
};
|
|
96
|
+
childrenPolicy: {
|
|
97
|
+
price: {
|
|
98
|
+
meal: {
|
|
99
|
+
low: string;
|
|
100
|
+
high: string;
|
|
101
|
+
medium: string;
|
|
102
|
+
};
|
|
103
|
+
room: {
|
|
104
|
+
low: string;
|
|
105
|
+
high: string;
|
|
106
|
+
medium: string;
|
|
107
|
+
};
|
|
108
|
+
traffic: {
|
|
109
|
+
low: string;
|
|
110
|
+
high: string;
|
|
111
|
+
medium: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
/** 获取房型 */
|
|
118
|
+
interface IGetRoomTypeInfo {
|
|
119
|
+
/** 门店类型 */
|
|
120
|
+
serviceVenueType: string;
|
|
121
|
+
/** 门店id */
|
|
122
|
+
id: string;
|
|
123
|
+
}
|
|
124
|
+
/** 创建门店 */
|
|
125
|
+
interface ISaveRoomTypeInfo {
|
|
126
|
+
id: string;
|
|
127
|
+
name: string;
|
|
128
|
+
status: string;
|
|
129
|
+
venueId: string;
|
|
130
|
+
capacity: number;
|
|
131
|
+
area: number;
|
|
132
|
+
bedInfo: {
|
|
133
|
+
bedWidth: number;
|
|
134
|
+
bedCount: number;
|
|
135
|
+
}[];
|
|
136
|
+
introInfo: ServiceVenueNamespace.Entity.CommonDescriptionItem[];
|
|
137
|
+
}
|
|
138
|
+
interface IDeleteServiceVenue {
|
|
139
|
+
id: string;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
namespace Response {
|
|
143
|
+
/** 查询套餐列表返回 */
|
|
144
|
+
interface IQueryServiceVenueListRes {
|
|
145
|
+
total: number;
|
|
146
|
+
data: {
|
|
147
|
+
/** 门店id */
|
|
148
|
+
id: string;
|
|
149
|
+
/** 门店名称 */
|
|
150
|
+
name: string;
|
|
151
|
+
/** 门店地址 */
|
|
152
|
+
address: string;
|
|
153
|
+
/** 状态 */
|
|
154
|
+
status: string;
|
|
155
|
+
/** 星级 */
|
|
156
|
+
starLevel: number;
|
|
157
|
+
/** 钻级 */
|
|
158
|
+
diamondLevel: number;
|
|
159
|
+
}[];
|
|
160
|
+
}
|
|
161
|
+
/** 创建门店 */
|
|
162
|
+
interface ICreateServiceVenueRes {
|
|
163
|
+
/** 门店id */
|
|
164
|
+
id: string;
|
|
165
|
+
}
|
|
166
|
+
/** 更新门店 */
|
|
167
|
+
interface IUpdateServiceVenueRes {
|
|
168
|
+
/** 门店id */
|
|
169
|
+
id: string;
|
|
170
|
+
}
|
|
171
|
+
/** 获取房型 */
|
|
172
|
+
interface IGetRoomTypeInfoRes {
|
|
173
|
+
id: string;
|
|
174
|
+
name: string;
|
|
175
|
+
status: string;
|
|
176
|
+
venueId: string;
|
|
177
|
+
capacity: number;
|
|
178
|
+
area: number;
|
|
179
|
+
bedInfo: {
|
|
180
|
+
bedWidth: number;
|
|
181
|
+
bedCount: number;
|
|
182
|
+
}[];
|
|
183
|
+
introInfo: ServiceVenueNamespace.Entity.CommonDescriptionItem[];
|
|
184
|
+
}
|
|
185
|
+
interface QueryServiceVenueListRes {
|
|
186
|
+
total: number;
|
|
187
|
+
data: {
|
|
188
|
+
name?: string;
|
|
189
|
+
id?: string;
|
|
190
|
+
address?: string;
|
|
191
|
+
province?: string;
|
|
192
|
+
city?: string;
|
|
193
|
+
region?: string;
|
|
194
|
+
}[];
|
|
195
|
+
}
|
|
196
|
+
/** 保存房型 */
|
|
197
|
+
interface ISaveRoomTypeInfoRes {
|
|
198
|
+
id: string;
|
|
199
|
+
name: string;
|
|
200
|
+
status: string;
|
|
201
|
+
venueId: string;
|
|
202
|
+
capacity: number;
|
|
203
|
+
area: number;
|
|
204
|
+
bedInfo: {
|
|
205
|
+
bedWidth: number;
|
|
206
|
+
bedCount: number;
|
|
207
|
+
}[];
|
|
208
|
+
introInfo: ServiceVenueNamespace.Entity.CommonDescriptionItem[];
|
|
209
|
+
}
|
|
210
|
+
interface IGetServiceVenueInfoRes {
|
|
211
|
+
id: string;
|
|
212
|
+
status: string;
|
|
213
|
+
type: string;
|
|
214
|
+
basicInfo?: {
|
|
215
|
+
name: string;
|
|
216
|
+
poiInfo?: {
|
|
217
|
+
poi: string;
|
|
218
|
+
region: string;
|
|
219
|
+
city: string;
|
|
220
|
+
province: string;
|
|
221
|
+
address: string;
|
|
222
|
+
location: {
|
|
223
|
+
lat: number;
|
|
224
|
+
lng: number;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
starLevel: number;
|
|
228
|
+
diamondLevel: number;
|
|
229
|
+
qualification: string[];
|
|
230
|
+
openYear: string;
|
|
231
|
+
renovationYear: string;
|
|
232
|
+
roomCount: number;
|
|
233
|
+
introduction: ServiceVenueNamespace.Entity.CommonDescriptionItem[];
|
|
234
|
+
};
|
|
235
|
+
cateringIntroduction?: {
|
|
236
|
+
mealTime: {
|
|
237
|
+
breakfast: [string, string];
|
|
238
|
+
lunch: [string, string];
|
|
239
|
+
dinner: [string, string];
|
|
240
|
+
};
|
|
241
|
+
tableCapacity: number;
|
|
242
|
+
introduction: ServiceVenueNamespace.Entity.CommonDescriptionItem[];
|
|
243
|
+
};
|
|
244
|
+
trafficInfo?: {
|
|
245
|
+
content: {
|
|
246
|
+
title: string;
|
|
247
|
+
value: string;
|
|
248
|
+
}[];
|
|
249
|
+
introduction: ServiceVenueNamespace.Entity.CommonDescriptionItem[];
|
|
250
|
+
};
|
|
251
|
+
policy?: {
|
|
252
|
+
enterLeavingPolicy: {
|
|
253
|
+
checkInTime: string;
|
|
254
|
+
checkOutTime: string;
|
|
255
|
+
applicablePeople: string;
|
|
256
|
+
};
|
|
257
|
+
childrenPolicy: {
|
|
258
|
+
price: {
|
|
259
|
+
meal: {
|
|
260
|
+
low: string;
|
|
261
|
+
high: string;
|
|
262
|
+
medium: string;
|
|
263
|
+
};
|
|
264
|
+
room: {
|
|
265
|
+
low: string;
|
|
266
|
+
high: string;
|
|
267
|
+
medium: string;
|
|
268
|
+
};
|
|
269
|
+
traffic: {
|
|
270
|
+
low: string;
|
|
271
|
+
high: string;
|
|
272
|
+
medium: string;
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
/** 服务场所接口 */
|
|
280
|
+
interface Service {
|
|
281
|
+
/** 获取门店列表 */
|
|
282
|
+
queryServiceVenueList(request: Request.IQueryServiceVenueList): Promise<Response.IQueryServiceVenueListRes>;
|
|
283
|
+
/** 创建门店 */
|
|
284
|
+
createServiceVenue(request: Request.ICreateServiceVenue): Promise<Response.ICreateServiceVenueRes>;
|
|
285
|
+
/** 更新门店信息 */
|
|
286
|
+
updateServiceVenue(request: Request.IUpdateServiceVenue): Promise<boolean>;
|
|
287
|
+
/** 获取房型信息 */
|
|
288
|
+
getRoomTypeInfo(request: Request.IGetRoomTypeInfo): Promise<Response.IGetRoomTypeInfoRes[]>;
|
|
289
|
+
/** 编辑房型信息 */
|
|
290
|
+
saveRoomTypeInfo(request: Request.ISaveRoomTypeInfo): Promise<boolean>;
|
|
291
|
+
/** 删除场所 */
|
|
292
|
+
deleteServiceVenue(request: Request.IDeleteServiceVenue): Promise<boolean>;
|
|
293
|
+
queryHotel(request: Request.IQueryServiceVenueListBySupplier): Promise<Response.QueryServiceVenueListRes>;
|
|
294
|
+
getServiceVenueInfo(request: Request.IGetServiceVenueInfo): Promise<Response.IGetServiceVenueInfoRes>;
|
|
295
|
+
updateStatus(request: Request.IUpdateStatus): Promise<boolean>;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceVenue.js","sourceRoot":"","sources":["../../../../../../../src/vs/modules/biz/commodityV2/types/web/serviceVenue.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
import { CommonStatus, CommonSaleStatus } from 'vitality-meta/enums/commodity';
|
|
2
|
+
import { OrderScene } from 'vitality-meta/enums/pos';
|
|
3
|
+
export declare namespace ShuttleBusSupplier {
|
|
4
|
+
namespace DTO {
|
|
5
|
+
interface ShuttleBusSupplier {
|
|
6
|
+
/** 班车供应商ID */
|
|
7
|
+
id: string;
|
|
8
|
+
/** 供应商名称 */
|
|
9
|
+
name: string;
|
|
10
|
+
/** 联系人姓名 */
|
|
11
|
+
contactName: string;
|
|
12
|
+
/** 联系人手机号码 */
|
|
13
|
+
contactMobile: string;
|
|
14
|
+
/** 业务负责人 */
|
|
15
|
+
bizOwner: string;
|
|
16
|
+
/** 企业微信ID */
|
|
17
|
+
wxGroupId: string;
|
|
18
|
+
/** 描述信息 */
|
|
19
|
+
description: string;
|
|
20
|
+
/** 状态 */
|
|
21
|
+
status: CommonStatus;
|
|
22
|
+
}
|
|
23
|
+
interface ShuttleBusRouteInfo {
|
|
24
|
+
/** 班车路线ID */
|
|
25
|
+
id: string;
|
|
26
|
+
/** 班车供应商ID */
|
|
27
|
+
supplierId: string;
|
|
28
|
+
/** 上车点地址 */
|
|
29
|
+
departureAddress: string;
|
|
30
|
+
/** 上车点经度 */
|
|
31
|
+
departureLongitude: number;
|
|
32
|
+
/** 上车点纬度 */
|
|
33
|
+
departureLatitude: number;
|
|
34
|
+
/** 上车点省份 */
|
|
35
|
+
departureProvince: string;
|
|
36
|
+
/** 上车点城市 */
|
|
37
|
+
departureCity: string;
|
|
38
|
+
/** 上车点区县 */
|
|
39
|
+
departureDistrict: string;
|
|
40
|
+
/** 状态 */
|
|
41
|
+
status: CommonStatus;
|
|
42
|
+
}
|
|
43
|
+
interface ItemShuttleBusRouteRelation {
|
|
44
|
+
/** 关系ID */
|
|
45
|
+
id: string;
|
|
46
|
+
/** 商品ID */
|
|
47
|
+
itemId: string;
|
|
48
|
+
/** 班车供应商ID */
|
|
49
|
+
supplierId: string;
|
|
50
|
+
/** 班车路线ID */
|
|
51
|
+
routeId: string;
|
|
52
|
+
/** 售卖价格 */
|
|
53
|
+
salePrice: number;
|
|
54
|
+
/** 结算价格 */
|
|
55
|
+
settlementPrice: number;
|
|
56
|
+
/** 销售描述 */
|
|
57
|
+
saleDesc: string;
|
|
58
|
+
/** 起订人数 */
|
|
59
|
+
minOrderCount: number;
|
|
60
|
+
/** 是否限制库存 */
|
|
61
|
+
isLimitStock: boolean;
|
|
62
|
+
/** 上车时间 */
|
|
63
|
+
pickUpTime: string;
|
|
64
|
+
/** 状态 */
|
|
65
|
+
status: CommonSaleStatus;
|
|
66
|
+
}
|
|
67
|
+
interface ItemShuttleBusRouteRelationStock {
|
|
68
|
+
/** 库存ID */
|
|
69
|
+
id: string;
|
|
70
|
+
/** 商品ID */
|
|
71
|
+
itemId: string;
|
|
72
|
+
/** 供应商ID */
|
|
73
|
+
supplierId: string;
|
|
74
|
+
/** 关系ID */
|
|
75
|
+
relationId: string;
|
|
76
|
+
/** 路线ID */
|
|
77
|
+
routeId: string;
|
|
78
|
+
/** 日期 */
|
|
79
|
+
date: number;
|
|
80
|
+
/** 库存数量 */
|
|
81
|
+
stock: number;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
namespace Request {
|
|
85
|
+
interface QueryShuttleBusSupplierList {
|
|
86
|
+
/** 供应商ID列表 */
|
|
87
|
+
idList?: string[];
|
|
88
|
+
/** 供应商名称 */
|
|
89
|
+
name?: string;
|
|
90
|
+
/** 页码,从0开始 */
|
|
91
|
+
pageIndex: number;
|
|
92
|
+
/** 每页数量 */
|
|
93
|
+
pageSize: number;
|
|
94
|
+
}
|
|
95
|
+
interface UpsertShuttleBusSupplier {
|
|
96
|
+
/** 供应商ID */
|
|
97
|
+
id?: string;
|
|
98
|
+
/** 供应商名称 */
|
|
99
|
+
name: string;
|
|
100
|
+
/** 联系人姓名 */
|
|
101
|
+
contactName: string;
|
|
102
|
+
/** 联系人手机号码 */
|
|
103
|
+
contactMobile: string;
|
|
104
|
+
/** 业务负责人 */
|
|
105
|
+
bizOwner: string;
|
|
106
|
+
/** 企业微信ID */
|
|
107
|
+
wxGroupId: string;
|
|
108
|
+
/** 描述信息 */
|
|
109
|
+
description: string;
|
|
110
|
+
}
|
|
111
|
+
interface QueryShuttleBusRoute {
|
|
112
|
+
/** 路线ID列表 */
|
|
113
|
+
idList?: string[];
|
|
114
|
+
/** 供应商ID */
|
|
115
|
+
supplierId?: string;
|
|
116
|
+
/** 供应商名称 */
|
|
117
|
+
supplierName?: string;
|
|
118
|
+
/** 上车点城市 */
|
|
119
|
+
departureCity?: string;
|
|
120
|
+
/** 上车点地址 */
|
|
121
|
+
departureAddress?: string;
|
|
122
|
+
/** 页码,从0开始 */
|
|
123
|
+
pageIndex: number;
|
|
124
|
+
/** 每页数量 */
|
|
125
|
+
pageSize: number;
|
|
126
|
+
}
|
|
127
|
+
interface QueryShuttleBusRouteWithItemId {
|
|
128
|
+
/** 路线ID列表 */
|
|
129
|
+
idList?: string[];
|
|
130
|
+
/** 商品ID */
|
|
131
|
+
itemId: string;
|
|
132
|
+
/** 供应商名称 */
|
|
133
|
+
supplierName?: string;
|
|
134
|
+
/** 上车点城市 */
|
|
135
|
+
departureCity?: string;
|
|
136
|
+
/** 上车点地址 */
|
|
137
|
+
departureAddress?: string;
|
|
138
|
+
/** 页码,从0开始 */
|
|
139
|
+
pageIndex: number;
|
|
140
|
+
/** 每页数量 */
|
|
141
|
+
pageSize: number;
|
|
142
|
+
}
|
|
143
|
+
interface UpsertShuttleBusPickupPoint {
|
|
144
|
+
/** 上车点ID */
|
|
145
|
+
id?: string;
|
|
146
|
+
/** 供应商ID */
|
|
147
|
+
supplierId: string;
|
|
148
|
+
/** 上车点名称 */
|
|
149
|
+
departureAddress: string;
|
|
150
|
+
/** 上车点经度 */
|
|
151
|
+
departureLongitude: number;
|
|
152
|
+
/** 上车点纬度 */
|
|
153
|
+
departureLatitude: number;
|
|
154
|
+
/** 上车点省份 */
|
|
155
|
+
departureProvince: string;
|
|
156
|
+
/** 上车点城市 */
|
|
157
|
+
departureCity: string;
|
|
158
|
+
/** 上车点区县 */
|
|
159
|
+
departureDistrict: string;
|
|
160
|
+
/** 状态 */
|
|
161
|
+
status: CommonStatus;
|
|
162
|
+
}
|
|
163
|
+
interface GetProductAssociatedShuttleSupplierList {
|
|
164
|
+
/** 商品ID */
|
|
165
|
+
itemId: string;
|
|
166
|
+
/** 页码,从0开始 */
|
|
167
|
+
pageIndex: number;
|
|
168
|
+
/** 每页数量 */
|
|
169
|
+
pageSize: number;
|
|
170
|
+
}
|
|
171
|
+
interface BindShuttleBus {
|
|
172
|
+
/** 商品ID */
|
|
173
|
+
itemId: string;
|
|
174
|
+
/** 绑定的班线ID列表 */
|
|
175
|
+
bindRouteIds: string[];
|
|
176
|
+
/** 解绑的班线ID列表 */
|
|
177
|
+
unbindRouteIds: string[];
|
|
178
|
+
}
|
|
179
|
+
interface EditShuttleBusProduct {
|
|
180
|
+
/** 商品ID */
|
|
181
|
+
itemId: string;
|
|
182
|
+
/** 路线ID */
|
|
183
|
+
routeId: string;
|
|
184
|
+
/** 销售价 */
|
|
185
|
+
salePrice: number;
|
|
186
|
+
/** 结算价格 */
|
|
187
|
+
settlementPrice: number;
|
|
188
|
+
/** 是否限制库存 */
|
|
189
|
+
isLimitStock: boolean;
|
|
190
|
+
/** 最小起订量 */
|
|
191
|
+
minOrderCount: number;
|
|
192
|
+
/** 售卖日期 */
|
|
193
|
+
validDates?: number[];
|
|
194
|
+
/** 上车时间 */
|
|
195
|
+
pickUpTime?: string;
|
|
196
|
+
/** 销售描述 */
|
|
197
|
+
saleDesc?: string;
|
|
198
|
+
}
|
|
199
|
+
interface IQueryShuttleBusProductRelation {
|
|
200
|
+
/** 关系ID列表 */
|
|
201
|
+
relationIdList: string[];
|
|
202
|
+
}
|
|
203
|
+
interface ICheckShuttleBusProductBeforeOrder {
|
|
204
|
+
/** 关系ID */
|
|
205
|
+
relationId: string;
|
|
206
|
+
/** 数量 */
|
|
207
|
+
quantity: number;
|
|
208
|
+
/** 场景 */
|
|
209
|
+
scene: OrderScene;
|
|
210
|
+
/** 日期 */
|
|
211
|
+
date?: number;
|
|
212
|
+
}
|
|
213
|
+
interface queryRouteByIds {
|
|
214
|
+
/** 路线ID列表 */
|
|
215
|
+
routeIds: string[];
|
|
216
|
+
}
|
|
217
|
+
interface queryChangeableRoute {
|
|
218
|
+
/** 商品ID */
|
|
219
|
+
itemId: string;
|
|
220
|
+
/** 日期 */
|
|
221
|
+
date: number;
|
|
222
|
+
/** 区县 */
|
|
223
|
+
district: string;
|
|
224
|
+
/** 城市 */
|
|
225
|
+
city: string;
|
|
226
|
+
/** 省份 */
|
|
227
|
+
province: string;
|
|
228
|
+
}
|
|
229
|
+
interface queryShuttleBusSupplierByIds {
|
|
230
|
+
/** 供应商ID列表 */
|
|
231
|
+
ids: string[];
|
|
232
|
+
}
|
|
233
|
+
interface queryShuttleBusRelationStockByRelation {
|
|
234
|
+
/** 关系ID */
|
|
235
|
+
relationId: string;
|
|
236
|
+
/** 日期列表 */
|
|
237
|
+
date?: number[];
|
|
238
|
+
}
|
|
239
|
+
interface queryProductShuttleByItemIds {
|
|
240
|
+
/** 商品列表 */
|
|
241
|
+
itemIds: string[];
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
namespace Response {
|
|
245
|
+
interface QueryShuttleBusSupplierList {
|
|
246
|
+
/** 供应商列表数据 */
|
|
247
|
+
data: DTO.ShuttleBusSupplier[];
|
|
248
|
+
/** 总记录数 */
|
|
249
|
+
total: number;
|
|
250
|
+
}
|
|
251
|
+
interface UpsertShuttleBusSupplier {
|
|
252
|
+
/** 供应商ID */
|
|
253
|
+
id: string;
|
|
254
|
+
}
|
|
255
|
+
interface QueryShuttleBusRoute {
|
|
256
|
+
/** 班车路线数据 */
|
|
257
|
+
data: (DTO.ShuttleBusRouteInfo & {
|
|
258
|
+
supplierName?: string;
|
|
259
|
+
})[];
|
|
260
|
+
/** 总记录数 */
|
|
261
|
+
total: number;
|
|
262
|
+
}
|
|
263
|
+
interface QueryShuttleBusRouteWithItemId {
|
|
264
|
+
/** 班车路线数据 */
|
|
265
|
+
data: (DTO.ShuttleBusRouteInfo & {
|
|
266
|
+
isBind: boolean;
|
|
267
|
+
supplierName?: string;
|
|
268
|
+
})[];
|
|
269
|
+
/** 总记录数 */
|
|
270
|
+
total: number;
|
|
271
|
+
}
|
|
272
|
+
interface UpsertShuttleBusPickupPoint {
|
|
273
|
+
/** 上车点ID */
|
|
274
|
+
id: string;
|
|
275
|
+
}
|
|
276
|
+
type GetProductAssociatedShuttleSupplierList = {
|
|
277
|
+
/** 供应商关联商品数据 */
|
|
278
|
+
data: (DTO.ItemShuttleBusRouteRelation & {
|
|
279
|
+
departureCity: string;
|
|
280
|
+
departureAddress: string;
|
|
281
|
+
supplierName: string;
|
|
282
|
+
isLimitStock: boolean;
|
|
283
|
+
validDates: number[];
|
|
284
|
+
})[];
|
|
285
|
+
/** 总记录数 */
|
|
286
|
+
total: number;
|
|
287
|
+
};
|
|
288
|
+
interface checkShuttleBusProductBeforeOrderRes {
|
|
289
|
+
/** 校验结果 */
|
|
290
|
+
checkRes: boolean;
|
|
291
|
+
/** 错误信息 */
|
|
292
|
+
errorMessage?: string;
|
|
293
|
+
}
|
|
294
|
+
type IQueryShuttleBusProductRelation = DTO.ItemShuttleBusRouteRelation[];
|
|
295
|
+
type queryRouteByIds = DTO.ShuttleBusRouteInfo[];
|
|
296
|
+
type queryChangeableRoute = {
|
|
297
|
+
/** 关系ID */
|
|
298
|
+
relationId: string;
|
|
299
|
+
/** 地址 */
|
|
300
|
+
address: string;
|
|
301
|
+
/** 供应商名称 */
|
|
302
|
+
supplierName: string;
|
|
303
|
+
/** 区县 */
|
|
304
|
+
district: string;
|
|
305
|
+
/** 城市 */
|
|
306
|
+
city: string;
|
|
307
|
+
/** 省份 */
|
|
308
|
+
province: string;
|
|
309
|
+
}[];
|
|
310
|
+
type queryShuttleBusSupplierByIds = DTO.ShuttleBusSupplier[];
|
|
311
|
+
type queryShuttleBusRelationStockByRelation = DTO.ItemShuttleBusRouteRelationStock[];
|
|
312
|
+
type queryProductShuttleByItemIds = {
|
|
313
|
+
[itemId: string]: {
|
|
314
|
+
itemId: string;
|
|
315
|
+
supplierId: string;
|
|
316
|
+
routeId: string;
|
|
317
|
+
departureCity: string;
|
|
318
|
+
departureAddress: string;
|
|
319
|
+
supplierName: string;
|
|
320
|
+
saleDesc: string;
|
|
321
|
+
}[];
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
interface Controller {
|
|
325
|
+
/** 查询班车供应商列表 */
|
|
326
|
+
queryShuttleBusSupplierList(request: Request.QueryShuttleBusSupplierList): Promise<Response.QueryShuttleBusSupplierList>;
|
|
327
|
+
/** 创建或更新班车供应商 */
|
|
328
|
+
upsertShuttleBusSupplier(request: Request.UpsertShuttleBusSupplier): Promise<Response.UpsertShuttleBusSupplier>;
|
|
329
|
+
/** 查询班车供应商路线 */
|
|
330
|
+
queryShuttleBusRoute(request: Request.QueryShuttleBusRoute): Promise<Response.QueryShuttleBusRoute>;
|
|
331
|
+
/** 查询班车供应商路线附带绑定状态 */
|
|
332
|
+
queryShuttleBusRouteWithItemId(request: Request.QueryShuttleBusRouteWithItemId): Promise<Response.QueryShuttleBusRouteWithItemId>;
|
|
333
|
+
/** 创建更新上车点 */
|
|
334
|
+
upsertShuttleBusPickupPoint(request: Request.UpsertShuttleBusPickupPoint): Promise<Response.UpsertShuttleBusPickupPoint>;
|
|
335
|
+
/** 获取供应商关联商品列表 */
|
|
336
|
+
getProductAssociatedShuttleSupplierList(request: Request.GetProductAssociatedShuttleSupplierList): Promise<Response.GetProductAssociatedShuttleSupplierList>;
|
|
337
|
+
/** 绑定班车供应商 */
|
|
338
|
+
bindShuttleBus(request: Request.BindShuttleBus): Promise<void>;
|
|
339
|
+
/** 编辑班车供应商 */
|
|
340
|
+
editShuttleBusProduct(request: Request.EditShuttleBusProduct): Promise<void>;
|
|
341
|
+
/** 根据关系ID查询班车和商品映射关系 */
|
|
342
|
+
queryShuttleBusProductRelation(request: Request.IQueryShuttleBusProductRelation): Promise<Response.IQueryShuttleBusProductRelation>;
|
|
343
|
+
/** 校验班车 */
|
|
344
|
+
checkShuttleBusProductBeforeOrder(request: Request.ICheckShuttleBusProductBeforeOrder): Promise<Response.checkShuttleBusProductBeforeOrderRes>;
|
|
345
|
+
/** 根据路线id获取路线信息 */
|
|
346
|
+
queryRouteByIds(request: Request.queryRouteByIds): Promise<Response.queryRouteByIds>;
|
|
347
|
+
/** 获取可以变更的路线 */
|
|
348
|
+
queryChangeableRoute(request: Request.queryChangeableRoute): Promise<Response.queryChangeableRoute>;
|
|
349
|
+
/** 根据id获取班车供应商 */
|
|
350
|
+
queryShuttleBusSupplierByIds(request: Request.queryShuttleBusSupplierByIds): Promise<Response.queryShuttleBusSupplierByIds>;
|
|
351
|
+
/** 根据班车供应商关系ID查询库存 */
|
|
352
|
+
queryShuttleBusRelationStockByRelation(request: Request.queryShuttleBusRelationStockByRelation): Promise<Response.queryShuttleBusRelationStockByRelation>;
|
|
353
|
+
/** 批量查询商品的班车信息 */
|
|
354
|
+
queryProductShuttleByItemIds(request: Request.queryProductShuttleByItemIds): Promise<Response.queryProductShuttleByItemIds>;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shuttleBus.js","sourceRoot":"","sources":["../../../../../../../src/vs/modules/biz/commodityV2/types/web/shuttleBus.ts"],"names":[],"mappings":""}
|