@be-link/vitality-cli-nodejs 0.0.12 → 0.0.14
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 +17 -1
- package/index.js +47 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/vs/modules/biz/channelPageConfig/index.d.ts +40 -0
- package/vs/modules/biz/channelPageConfig/index.js +19 -0
- package/vs/modules/biz/channelPageConfig/index.js.map +1 -0
- package/vs/modules/biz/channelPageConfig/main/service.d.ts +11 -0
- package/vs/modules/biz/channelPageConfig/main/service.js +19 -0
- package/vs/modules/biz/channelPageConfig/main/service.js.map +1 -0
- package/vs/modules/biz/channelPageConfig/miniApp/service.d.ts +10 -0
- package/vs/modules/biz/channelPageConfig/miniApp/service.js +19 -0
- package/vs/modules/biz/channelPageConfig/miniApp/service.js.map +1 -0
- package/vs/modules/biz/channelPageConfig/type.d.ts +26 -0
- package/vs/modules/biz/channelPageConfig/type.js +3 -0
- package/vs/modules/biz/channelPageConfig/type.js.map +1 -0
- package/vs/modules/biz/channelPageConfig/web/service.d.ts +11 -0
- package/vs/modules/biz/channelPageConfig/web/service.js +19 -0
- package/vs/modules/biz/channelPageConfig/web/service.js.map +1 -0
- package/vs/modules/biz/contract/index.d.ts +20 -0
- package/vs/modules/biz/contract/index.js +11 -0
- package/vs/modules/biz/contract/index.js.map +1 -0
- package/vs/modules/biz/contract/main/service.d.ts +14 -0
- package/vs/modules/biz/contract/main/service.js +28 -0
- package/vs/modules/biz/contract/main/service.js.map +1 -0
- package/vs/modules/biz/contract/type.d.ts +13 -0
- package/vs/modules/biz/contract/type.js +3 -0
- package/vs/modules/biz/contract/type.js.map +1 -0
- package/vs/modules/biz/index.d.ts +154 -2
- package/vs/modules/biz/index.js +18 -0
- package/vs/modules/biz/index.js.map +1 -1
- package/vs/modules/biz/itemComment/index.d.ts +18 -0
- package/vs/modules/biz/itemComment/index.js +11 -0
- package/vs/modules/biz/itemComment/index.js.map +1 -0
- package/vs/modules/biz/itemComment/job/service.d.ts +12 -0
- package/vs/modules/biz/itemComment/job/service.js +31 -0
- package/vs/modules/biz/itemComment/job/service.js.map +1 -0
- package/vs/modules/biz/itemComment/type.d.ts +11 -0
- package/vs/modules/biz/itemComment/type.js +3 -0
- package/vs/modules/biz/itemComment/type.js.map +1 -0
- package/vs/modules/biz/itemTagGroup/index.d.ts +15 -0
- package/vs/modules/biz/itemTagGroup/index.js +11 -0
- package/vs/modules/biz/itemTagGroup/index.js.map +1 -0
- package/vs/modules/biz/itemTagGroup/type.d.ts +8 -0
- package/vs/modules/biz/itemTagGroup/type.js +3 -0
- package/vs/modules/biz/itemTagGroup/type.js.map +1 -0
- package/vs/modules/biz/itemTagGroup/web/service.d.ts +9 -0
- package/vs/modules/biz/itemTagGroup/web/service.js +22 -0
- package/vs/modules/biz/itemTagGroup/web/service.js.map +1 -0
- package/vs/modules/biz/poi/main/service.d.ts +22 -0
- package/vs/modules/biz/poi/main/service.js +52 -0
- package/vs/modules/biz/poi/main/service.js.map +1 -0
- package/vs/modules/biz/poi/type.d.ts +107 -0
- package/vs/modules/biz/poi/type.js +3 -0
- package/vs/modules/biz/poi/type.js.map +1 -0
- package/vs/modules/biz/rms/index.d.ts +19 -0
- package/vs/modules/biz/rms/index.js +11 -0
- package/vs/modules/biz/rms/index.js.map +1 -0
- package/vs/modules/biz/rms/main/service.d.ts +13 -0
- package/vs/modules/biz/rms/main/service.js +34 -0
- package/vs/modules/biz/rms/main/service.js.map +1 -0
- package/vs/modules/biz/rms/type.d.ts +12 -0
- package/vs/modules/biz/rms/type.js +3 -0
- package/vs/modules/biz/rms/type.js.map +1 -0
- package/vs/modules/biz/store/index.d.ts +33 -0
- package/vs/modules/biz/store/index.js +16 -0
- package/vs/modules/biz/store/index.js.map +1 -0
- package/vs/modules/biz/store/job/service.d.ts +16 -0
- package/vs/modules/biz/store/job/service.js +43 -0
- package/vs/modules/biz/store/job/service.js.map +1 -0
- package/vs/modules/biz/store/main/service.d.ts +10 -0
- package/vs/modules/biz/store/main/service.js +25 -0
- package/vs/modules/biz/store/main/service.js.map +1 -0
- package/vs/modules/biz/store/type.d.ts +22 -0
- package/vs/modules/biz/store/type.js +3 -0
- package/vs/modules/biz/store/type.js.map +1 -0
- package/vs/modules/biz/tourMaterial/boss/service.d.ts +9 -0
- package/vs/modules/biz/tourMaterial/boss/service.js +22 -0
- package/vs/modules/biz/tourMaterial/boss/service.js.map +1 -0
- package/vs/modules/biz/tourMaterial/index.d.ts +15 -0
- package/vs/modules/biz/tourMaterial/index.js +11 -0
- package/vs/modules/biz/tourMaterial/index.js.map +1 -0
- package/vs/modules/biz/tourMaterial/type.d.ts +16 -0
- package/vs/modules/biz/tourMaterial/type.js +3 -0
- package/vs/modules/biz/tourMaterial/type.js.map +1 -0
|
@@ -339,6 +339,30 @@ declare const bizService: {
|
|
|
339
339
|
getApiUrl(func: Function): string;
|
|
340
340
|
};
|
|
341
341
|
};
|
|
342
|
+
poi: {
|
|
343
|
+
main: {
|
|
344
|
+
prefixUrl: string;
|
|
345
|
+
getPoiById(poiId: string): Promise<import("./poi/type").POI.Entity>;
|
|
346
|
+
addPoi(request: import("./poi/type").POI.Main.Request.AddPoi): Promise<{
|
|
347
|
+
poiId: string;
|
|
348
|
+
idempotent: boolean;
|
|
349
|
+
}>;
|
|
350
|
+
updatePoi(poiId: string): Promise<void>;
|
|
351
|
+
getAddressInfoByLocation(request: import("./poi/type").POI.Main.Request.Location): Promise<import("./poi/type").POI.Main.AddressInfo>;
|
|
352
|
+
getDrivingPoiInfo(request: import("./poi/type").POI.Main.Request.Direction): Promise<import("./poi/type").POI.Main.PoiInfo | null>;
|
|
353
|
+
getDirectionWalkingInfo(request: import("./poi/type").POI.Main.Request.Direction): Promise<import("./poi/type").POI.Main.PoiInfo | null>;
|
|
354
|
+
queryCityGroupInfo(request: import("./poi/type").POI.Main.Request.CityCategory): Promise<import("./poi/type").POI.CityGroup[]>;
|
|
355
|
+
getItemStoreInfoByCity(request: import("./poi/type").POI.Main.Request.ItemStoreByCity): Promise<import("./poi/type").POI.ItemStoreInfo[]>;
|
|
356
|
+
queryItemsByLocation(request: import("./poi/type").POI.Main.Request.ItemsByLocation): Promise<import("./poi/type").POI.ItemStoreInfo[]>;
|
|
357
|
+
queryNearlyPOI(request: import("./poi/type").POI.Main.Request.NearlyPoi): Promise<import("./poi/type").POI.Entity[]>;
|
|
358
|
+
queryByPoiIds(request: import("./poi/type").POI.Main.Request.PoiIds): Promise<import("./poi/type").POI.Entity[]>;
|
|
359
|
+
getSuggestionsByKeyword(request: import("./poi/type").POI.Main.Request.SuggestionsByKeyword): Promise<import("./poi/type").POI.Suggestion[]>;
|
|
360
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
361
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
362
|
+
getHost(): string;
|
|
363
|
+
getApiUrl(func: Function): string;
|
|
364
|
+
};
|
|
365
|
+
};
|
|
342
366
|
commodity: {
|
|
343
367
|
main: {
|
|
344
368
|
prefixUrl: string;
|
|
@@ -831,7 +855,6 @@ declare const bizService: {
|
|
|
831
855
|
queryBizTagListByItem(request: import("./commodityV2").CommodityV2WebBizTag.Request.IQueryBizTagListByItem): Promise<import("./commodityV2").CommodityV2WebBizTag.Response.IQueryBizTagListByItemResp>;
|
|
832
856
|
createBizTag(request: import("./commodityV2").CommodityV2WebBizTag.Request.ICreateBizTag): Promise<void>;
|
|
833
857
|
updateBizTag(request: import("./commodityV2").CommodityV2WebBizTag.Request.IUpdateBizTag): Promise<void>;
|
|
834
|
-
/** biz 包下已封装模块,随平迁逐步扩展 */
|
|
835
858
|
upsertBizTagRelation(request: import("./commodityV2").CommodityV2WebBizTag.Request.IUpsertBizTagRelation): Promise<void>;
|
|
836
859
|
deleteBizTag(request: import("./commodityV2").CommodityV2WebBizTag.Request.IDeleteBizTag): Promise<void>;
|
|
837
860
|
deleteBizTagByItem(request: import("./commodityV2").CommodityV2WebBizTag.Request.IDeleteBizTagByItem): Promise<void>;
|
|
@@ -925,7 +948,7 @@ declare const bizService: {
|
|
|
925
948
|
update(request: import("./commodityV2").CommodityV2WebItemDiscountActivity.Request.Update): Promise<void>;
|
|
926
949
|
delete(request: import("./commodityV2").CommodityV2WebItemDiscountActivity.Request.ById): Promise<void>;
|
|
927
950
|
get(request: import("./commodityV2").CommodityV2WebItemDiscountActivity.Request.ById): Promise<import("./commodityV2").CommodityV2WebItemDiscountActivity.DTO.ItemDiscountActivity>;
|
|
928
|
-
queryByItem(request: import("./commodityV2").CommodityV2WebItemDiscountActivity.Request.QueryByItem): Promise<import("./commodityV2").CommodityV2WebItemDiscountActivity.DTO.ItemDiscountActivity[]>;
|
|
951
|
+
queryByItem(request: import("./commodityV2").CommodityV2WebItemDiscountActivity.Request.QueryByItem): Promise<import("./commodityV2").CommodityV2WebItemDiscountActivity.DTO.ItemDiscountActivity[]>; /** biz 包下已封装模块,随平迁逐步扩展 */
|
|
929
952
|
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
930
953
|
readonly publicProdHost: "https://vs.wejourney.top";
|
|
931
954
|
getHost(): string;
|
|
@@ -1013,5 +1036,134 @@ declare const bizService: {
|
|
|
1013
1036
|
};
|
|
1014
1037
|
};
|
|
1015
1038
|
};
|
|
1039
|
+
channelPageConfig: {
|
|
1040
|
+
main: {
|
|
1041
|
+
prefixUrl: string;
|
|
1042
|
+
getChannelPageConfig(request: {
|
|
1043
|
+
channel: string;
|
|
1044
|
+
city?: string | undefined;
|
|
1045
|
+
}): Promise<unknown>;
|
|
1046
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1047
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1048
|
+
getHost(): string;
|
|
1049
|
+
getApiUrl(func: Function): string;
|
|
1050
|
+
};
|
|
1051
|
+
miniApp: {
|
|
1052
|
+
prefixUrl: string;
|
|
1053
|
+
getMostRecentCity(request: {
|
|
1054
|
+
unionId: string;
|
|
1055
|
+
}): Promise<string>;
|
|
1056
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1057
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1058
|
+
getHost(): string;
|
|
1059
|
+
getApiUrl(func: Function): string;
|
|
1060
|
+
};
|
|
1061
|
+
web: {
|
|
1062
|
+
prefixUrl: string;
|
|
1063
|
+
getChannelPageConfig(request: {
|
|
1064
|
+
channel: string;
|
|
1065
|
+
city?: string | undefined;
|
|
1066
|
+
}): Promise<unknown>;
|
|
1067
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1068
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1069
|
+
getHost(): string;
|
|
1070
|
+
getApiUrl(func: Function): string;
|
|
1071
|
+
};
|
|
1072
|
+
};
|
|
1073
|
+
contract: {
|
|
1074
|
+
main: {
|
|
1075
|
+
prefixUrl: string;
|
|
1076
|
+
getTourContractRecord(orderId: string): Promise<unknown>;
|
|
1077
|
+
getTourContractRecordForWeb(request: {
|
|
1078
|
+
orderId: string;
|
|
1079
|
+
isContainCancel: boolean;
|
|
1080
|
+
}): Promise<unknown>;
|
|
1081
|
+
signContractForOrder(request: unknown): Promise<unknown>;
|
|
1082
|
+
cancelContract(orderId: string): Promise<unknown>;
|
|
1083
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1084
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1085
|
+
getHost(): string;
|
|
1086
|
+
getApiUrl(func: Function): string;
|
|
1087
|
+
};
|
|
1088
|
+
};
|
|
1089
|
+
itemComment: {
|
|
1090
|
+
job: {
|
|
1091
|
+
prefixUrl: string;
|
|
1092
|
+
jobSelectEliteCommentsToPost(): Promise<unknown>;
|
|
1093
|
+
summaryBadCommentPerDay(): Promise<unknown>;
|
|
1094
|
+
notifyHotelBadCommentPerDay(): Promise<unknown>;
|
|
1095
|
+
jobCommentDimensionTagAIRecognition(): Promise<unknown>;
|
|
1096
|
+
jobCommentDataAnalysisReportPushLarkForYesterday(): Promise<unknown>;
|
|
1097
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1098
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1099
|
+
getHost(): string;
|
|
1100
|
+
getApiUrl(func: Function): string;
|
|
1101
|
+
};
|
|
1102
|
+
};
|
|
1103
|
+
itemTagGroup: {
|
|
1104
|
+
web: {
|
|
1105
|
+
prefixUrl: string;
|
|
1106
|
+
queryItemTagGroups(request: unknown): Promise<unknown>;
|
|
1107
|
+
queryFirstItemTagGroup(request: unknown): Promise<unknown>;
|
|
1108
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1109
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1110
|
+
getHost(): string;
|
|
1111
|
+
getApiUrl(func: Function): string;
|
|
1112
|
+
};
|
|
1113
|
+
};
|
|
1114
|
+
rms: {
|
|
1115
|
+
main: {
|
|
1116
|
+
prefixUrl: string;
|
|
1117
|
+
syncCommoditySkuSurplus(storeId: string): Promise<void>;
|
|
1118
|
+
reduceStock(request: unknown): Promise<void>;
|
|
1119
|
+
getRoomStockInfo(request: unknown): Promise<unknown>;
|
|
1120
|
+
checkRoomStock(request: unknown): Promise<unknown>;
|
|
1121
|
+
rollbackStock(request: unknown): Promise<void>;
|
|
1122
|
+
getUserRelevanceHotelIds(request: unknown): Promise<unknown[]>;
|
|
1123
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1124
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1125
|
+
getHost(): string;
|
|
1126
|
+
getApiUrl(func: Function): string;
|
|
1127
|
+
};
|
|
1128
|
+
};
|
|
1129
|
+
store: {
|
|
1130
|
+
main: {
|
|
1131
|
+
prefixUrl: string;
|
|
1132
|
+
getStoreById(storeId: string): Promise<unknown>;
|
|
1133
|
+
queryStoresByIdList(storeIds: string[]): Promise<unknown[]>;
|
|
1134
|
+
queryStoreIdsByAddress(request: unknown): Promise<unknown[]>;
|
|
1135
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1136
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1137
|
+
getHost(): string;
|
|
1138
|
+
getApiUrl(func: Function): string;
|
|
1139
|
+
};
|
|
1140
|
+
job: {
|
|
1141
|
+
prefixUrl: string;
|
|
1142
|
+
sendGroupPartyCardCountNotice(): Promise<unknown>;
|
|
1143
|
+
sendPartySmsPhone(): Promise<unknown>;
|
|
1144
|
+
sendGroupPartyChatInfo(): Promise<unknown>;
|
|
1145
|
+
sendPartySms(): Promise<unknown>;
|
|
1146
|
+
sendHotelSms(): Promise<unknown>;
|
|
1147
|
+
sendHotelVoice(): Promise<unknown>;
|
|
1148
|
+
sendFarmHouseSms(): Promise<unknown>;
|
|
1149
|
+
sendFarmHouseVoice(): Promise<unknown>;
|
|
1150
|
+
jobPushTourSupplierForUploadContract(): Promise<unknown>;
|
|
1151
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1152
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1153
|
+
getHost(): string;
|
|
1154
|
+
getApiUrl(func: Function): string;
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
tourMaterial: {
|
|
1158
|
+
boss: {
|
|
1159
|
+
prefixUrl: string;
|
|
1160
|
+
batchSendSmsForUpload(request: import("./tourMaterial").TourMaterial.Boss.NotifyRequest): Promise<unknown>;
|
|
1161
|
+
batchSendVmsForUpload(request: import("./tourMaterial").TourMaterial.Boss.NotifyRequest): Promise<unknown>;
|
|
1162
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1163
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1164
|
+
getHost(): string;
|
|
1165
|
+
getApiUrl(func: Function): string;
|
|
1166
|
+
};
|
|
1167
|
+
};
|
|
1016
1168
|
};
|
|
1017
1169
|
export default bizService;
|
package/vs/modules/biz/index.js
CHANGED
|
@@ -27,8 +27,16 @@ const service_21 = __importDefault(require("./activity/desire/service"));
|
|
|
27
27
|
const service_22 = __importDefault(require("./activity/job/service"));
|
|
28
28
|
const service_23 = __importDefault(require("./supplier/shuttleBus/service"));
|
|
29
29
|
const service_24 = __importDefault(require("./merchant/main/service"));
|
|
30
|
+
const service_25 = __importDefault(require("./poi/main/service"));
|
|
30
31
|
const commodity_1 = __importDefault(require("./commodity"));
|
|
31
32
|
const commodityV2_1 = __importDefault(require("./commodityV2"));
|
|
33
|
+
const channelPageConfig_1 = __importDefault(require("./channelPageConfig"));
|
|
34
|
+
const contract_1 = __importDefault(require("./contract"));
|
|
35
|
+
const itemComment_1 = __importDefault(require("./itemComment"));
|
|
36
|
+
const itemTagGroup_1 = __importDefault(require("./itemTagGroup"));
|
|
37
|
+
const rms_1 = __importDefault(require("./rms"));
|
|
38
|
+
const store_1 = __importDefault(require("./store"));
|
|
39
|
+
const tourMaterial_1 = __importDefault(require("./tourMaterial"));
|
|
32
40
|
/** biz 包下已封装模块,随平迁逐步扩展 */
|
|
33
41
|
const bizService = {
|
|
34
42
|
core: {
|
|
@@ -65,8 +73,18 @@ const bizService = {
|
|
|
65
73
|
merchant: {
|
|
66
74
|
main: service_24.default,
|
|
67
75
|
},
|
|
76
|
+
poi: {
|
|
77
|
+
main: service_25.default,
|
|
78
|
+
},
|
|
68
79
|
commodity: commodity_1.default,
|
|
69
80
|
commodityV2: commodityV2_1.default,
|
|
81
|
+
channelPageConfig: channelPageConfig_1.default,
|
|
82
|
+
contract: contract_1.default,
|
|
83
|
+
itemComment: itemComment_1.default,
|
|
84
|
+
itemTagGroup: itemTagGroup_1.default,
|
|
85
|
+
rms: rms_1.default,
|
|
86
|
+
store: store_1.default,
|
|
87
|
+
tourMaterial: tourMaterial_1.default,
|
|
70
88
|
};
|
|
71
89
|
exports.default = bizService;
|
|
72
90
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/vs/modules/biz/index.ts"],"names":[],"mappings":";;;;;AAAA,yEAA+D;AAC/D,mEAAmD;AACnD,oEAAqD;AACrD,iEAA+C;AAC/C,iEAA+C;AAC/C,sEAAyD;AACzD,uEAA2D;AAC3D,oEAAqD;AACrD,mEAAmD;AACnD,qEAAqD;AACrD,oEAAmD;AACnD,uEAAyD;AACzD,wEAA2D;AAC3D,+EAAyE;AACzE,8EAAuE;AACvE,yEAA6D;AAC7D,4EAAmE;AACnE,4EAAmE;AACnE,+EAAyE;AACzE,gFAA2E;AAC3E,yEAA6D;AAC7D,sEAAuD;AACvD,6EAAqE;AACrE,uEAAyD;AACzD,4DAA0C;AAC1C,gEAA8C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/vs/modules/biz/index.ts"],"names":[],"mappings":";;;;;AAAA,yEAA+D;AAC/D,mEAAmD;AACnD,oEAAqD;AACrD,iEAA+C;AAC/C,iEAA+C;AAC/C,sEAAyD;AACzD,uEAA2D;AAC3D,oEAAqD;AACrD,mEAAmD;AACnD,qEAAqD;AACrD,oEAAmD;AACnD,uEAAyD;AACzD,wEAA2D;AAC3D,+EAAyE;AACzE,8EAAuE;AACvE,yEAA6D;AAC7D,4EAAmE;AACnE,4EAAmE;AACnE,+EAAyE;AACzE,gFAA2E;AAC3E,yEAA6D;AAC7D,sEAAuD;AACvD,6EAAqE;AACrE,uEAAyD;AACzD,kEAA+C;AAC/C,4DAA0C;AAC1C,gEAA8C;AAC9C,4EAA0D;AAC1D,0DAAwC;AACxC,gEAA8C;AAC9C,kEAAgD;AAChD,gDAA8B;AAC9B,oDAAkC;AAClC,kEAAgD;AAEhD,0BAA0B;AAC1B,MAAM,UAAU,GAAG;IACjB,IAAI,EAAE;QACJ,WAAW,EAAE,iBAAsB;QACnC,KAAK,EAAE,iBAAgB;QACvB,MAAM,EAAE,iBAAiB;QACzB,GAAG,EAAE,iBAAc;QACnB,GAAG,EAAE,iBAAc;QACnB,QAAQ,EAAE,iBAAmB;QAC7B,SAAS,EAAE,iBAAoB;QAC/B,MAAM,EAAE,iBAAiB;QACzB,KAAK,EAAE,iBAAgB;KACxB;IACD,MAAM,EAAE;QACN,IAAI,EAAE,kBAAiB;QACvB,GAAG,EAAE,kBAAgB;KACtB;IACD,QAAQ,EAAE;QACR,IAAI,EAAE,kBAAmB;QACzB,KAAK,EAAE,kBAAoB;QAC3B,YAAY,EAAE,kBAA2B;QACzC,WAAW,EAAE,kBAA0B;QACvC,MAAM,EAAE,kBAAqB;QAC7B,SAAS,EAAE,kBAAwB;QACnC,SAAS,EAAE,kBAAwB;QACnC,YAAY,EAAE,kBAA2B;QACzC,aAAa,EAAE,kBAA4B;QAC3C,MAAM,EAAE,kBAAqB;QAC7B,GAAG,EAAE,kBAAkB;KACxB;IACD,QAAQ,EAAE;QACR,UAAU,EAAE,kBAAyB;KACtC;IACD,QAAQ,EAAE;QACR,IAAI,EAAE,kBAAmB;KAC1B;IACD,GAAG,EAAE;QACH,IAAI,EAAE,kBAAc;KACrB;IACD,SAAS,EAAE,mBAAgB;IAC3B,WAAW,EAAE,qBAAkB;IAC/B,iBAAiB,EAAE,2BAAwB;IAC3C,QAAQ,EAAE,kBAAe;IACzB,WAAW,EAAE,qBAAkB;IAC/B,YAAY,EAAE,sBAAmB;IACjC,GAAG,EAAE,aAAU;IACf,KAAK,EAAE,eAAY;IACnB,YAAY,EAAE,sBAAmB;CAClC,CAAA;AAED,kBAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import itemCommentJobService from './job/service';
|
|
2
|
+
declare const itemCommentService: {
|
|
3
|
+
job: {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
jobSelectEliteCommentsToPost(): Promise<unknown>;
|
|
6
|
+
summaryBadCommentPerDay(): Promise<unknown>;
|
|
7
|
+
notifyHotelBadCommentPerDay(): Promise<unknown>;
|
|
8
|
+
jobCommentDimensionTagAIRecognition(): Promise<unknown>;
|
|
9
|
+
jobCommentDataAnalysisReportPushLarkForYesterday(): Promise<unknown>;
|
|
10
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
11
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
12
|
+
getHost(): string;
|
|
13
|
+
getApiUrl(func: Function): string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export { itemCommentJobService };
|
|
17
|
+
export { ItemComment } from './type';
|
|
18
|
+
export default itemCommentService;
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
exports.itemCommentJobService = void 0;
|
|
7
|
+
const service_1 = __importDefault(require("./job/service"));
|
|
8
|
+
exports.itemCommentJobService = service_1.default;
|
|
9
|
+
const itemCommentService = { job: service_1.default };
|
|
10
|
+
exports.default = itemCommentService;
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/itemComment/index.ts"],"names":[],"mappings":";;;;;;AAAA,4DAAiD;AAIxC,gCAJF,iBAAqB,CAIE;AAF9B,MAAM,kBAAkB,GAAG,EAAE,GAAG,EAAE,iBAAqB,EAAE,CAAA;AAIzD,kBAAe,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import BaseService from '../../../baseService';
|
|
2
|
+
import { ItemComment } from '../type';
|
|
3
|
+
declare class ItemCommentJobService extends BaseService implements ItemComment.Job.Controller {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
jobSelectEliteCommentsToPost(): Promise<unknown>;
|
|
6
|
+
summaryBadCommentPerDay(): Promise<unknown>;
|
|
7
|
+
notifyHotelBadCommentPerDay(): Promise<unknown>;
|
|
8
|
+
jobCommentDimensionTagAIRecognition(): Promise<unknown>;
|
|
9
|
+
jobCommentDataAnalysisReportPushLarkForYesterday(): Promise<unknown>;
|
|
10
|
+
}
|
|
11
|
+
declare const itemCommentJobService: ItemCommentJobService;
|
|
12
|
+
export default itemCommentJobService;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 http_1 = require("../../../../http");
|
|
7
|
+
const baseService_1 = __importDefault(require("../../../baseService"));
|
|
8
|
+
class ItemCommentJobService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/biz/item-comment/job';
|
|
12
|
+
}
|
|
13
|
+
jobSelectEliteCommentsToPost() {
|
|
14
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.jobSelectEliteCommentsToPost));
|
|
15
|
+
}
|
|
16
|
+
summaryBadCommentPerDay() {
|
|
17
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.summaryBadCommentPerDay));
|
|
18
|
+
}
|
|
19
|
+
notifyHotelBadCommentPerDay() {
|
|
20
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.notifyHotelBadCommentPerDay));
|
|
21
|
+
}
|
|
22
|
+
jobCommentDimensionTagAIRecognition() {
|
|
23
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.jobCommentDimensionTagAIRecognition));
|
|
24
|
+
}
|
|
25
|
+
jobCommentDataAnalysisReportPushLarkForYesterday() {
|
|
26
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.jobCommentDataAnalysisReportPushLarkForYesterday));
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
const itemCommentJobService = new ItemCommentJobService();
|
|
30
|
+
exports.default = itemCommentJobService;
|
|
31
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/itemComment/job/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,qBAAsB,SAAQ,qBAAW;IAA/C;;QACE,cAAS,GAAG,uBAAuB,CAAA;IA+BrC,CAAC;IA7BC,4BAA4B;QAC1B,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAClD,CAAA;IACH,CAAC;IAED,uBAAuB;QACrB,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAC7C,CAAA;IACH,CAAC;IAED,2BAA2B;QACzB,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,CACjD,CAAA;IACH,CAAC;IAED,mCAAmC;QACjC,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mCAAmC,CAAC,CACzD,CAAA;IACH,CAAC;IAED,gDAAgD;QAC9C,OAAO,IAAA,iBAAU,EAEf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,gDAAgD,CAAC,CAAC,CAAA;IAC1E,CAAC;CACF;AAED,MAAM,qBAAqB,GAAG,IAAI,qBAAqB,EAAE,CAAA;AACzD,kBAAe,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare namespace ItemComment {
|
|
2
|
+
namespace Job {
|
|
3
|
+
interface Controller {
|
|
4
|
+
jobSelectEliteCommentsToPost(): Promise<unknown>;
|
|
5
|
+
summaryBadCommentPerDay(): Promise<unknown>;
|
|
6
|
+
notifyHotelBadCommentPerDay(): Promise<unknown>;
|
|
7
|
+
jobCommentDimensionTagAIRecognition(): Promise<unknown>;
|
|
8
|
+
jobCommentDataAnalysisReportPushLarkForYesterday(): Promise<unknown>;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/itemComment/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import itemTagGroupWebService from './web/service';
|
|
2
|
+
declare const itemTagGroupService: {
|
|
3
|
+
web: {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
queryItemTagGroups(request: unknown): Promise<unknown>;
|
|
6
|
+
queryFirstItemTagGroup(request: unknown): Promise<unknown>;
|
|
7
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
8
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
9
|
+
getHost(): string;
|
|
10
|
+
getApiUrl(func: Function): string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export { itemTagGroupWebService };
|
|
14
|
+
export { ItemTagGroup } from './type';
|
|
15
|
+
export default itemTagGroupService;
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
exports.itemTagGroupWebService = void 0;
|
|
7
|
+
const service_1 = __importDefault(require("./web/service"));
|
|
8
|
+
exports.itemTagGroupWebService = service_1.default;
|
|
9
|
+
const itemTagGroupService = { web: service_1.default };
|
|
10
|
+
exports.default = itemTagGroupService;
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/itemTagGroup/index.ts"],"names":[],"mappings":";;;;;;AAAA,4DAAkD;AAIzC,iCAJF,iBAAsB,CAIE;AAF/B,MAAM,mBAAmB,GAAG,EAAE,GAAG,EAAE,iBAAsB,EAAE,CAAA;AAI3D,kBAAe,mBAAmB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/itemTagGroup/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import BaseService from '../../../baseService';
|
|
2
|
+
import { ItemTagGroup } from '../type';
|
|
3
|
+
declare class ItemTagGroupWebService extends BaseService implements ItemTagGroup.Web.Controller {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
queryItemTagGroups(request: unknown): Promise<unknown>;
|
|
6
|
+
queryFirstItemTagGroup(request: unknown): Promise<unknown>;
|
|
7
|
+
}
|
|
8
|
+
declare const itemTagGroupWebService: ItemTagGroupWebService;
|
|
9
|
+
export default itemTagGroupWebService;
|
|
@@ -0,0 +1,22 @@
|
|
|
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 http_1 = require("../../../../http");
|
|
7
|
+
const baseService_1 = __importDefault(require("../../../baseService"));
|
|
8
|
+
class ItemTagGroupWebService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/biz/itemTagGroup/web';
|
|
12
|
+
}
|
|
13
|
+
queryItemTagGroups(request) {
|
|
14
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.queryItemTagGroups), request);
|
|
15
|
+
}
|
|
16
|
+
queryFirstItemTagGroup(request) {
|
|
17
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.queryFirstItemTagGroup), request);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
const itemTagGroupWebService = new ItemTagGroupWebService();
|
|
21
|
+
exports.default = itemTagGroupWebService;
|
|
22
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/itemTagGroup/web/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,sBACJ,SAAQ,qBAAW;IADrB;;QAIE,cAAS,GAAG,uBAAuB,CAAA;IAerC,CAAC;IAbC,kBAAkB,CAAC,OAAgB;QACjC,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,EACvC,OAAO,CACR,CAAA;IACH,CAAC;IAED,sBAAsB,CAAC,OAAgB;QACrC,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAAC,EAC3C,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,sBAAsB,GAAG,IAAI,sBAAsB,EAAE,CAAA;AAC3D,kBAAe,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import BaseService from '../../../baseService';
|
|
2
|
+
import { POI } from '../type';
|
|
3
|
+
declare class PoiMainService extends BaseService implements POI.Main.Controller {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
getPoiById(poiId: string): Promise<POI.Entity>;
|
|
6
|
+
addPoi(request: POI.Main.Request.AddPoi): Promise<{
|
|
7
|
+
poiId: string;
|
|
8
|
+
idempotent: boolean;
|
|
9
|
+
}>;
|
|
10
|
+
updatePoi(poiId: string): Promise<void>;
|
|
11
|
+
getAddressInfoByLocation(request: POI.Main.Request.Location): Promise<POI.Main.AddressInfo>;
|
|
12
|
+
getDrivingPoiInfo(request: POI.Main.Request.Direction): Promise<POI.Main.PoiInfo | null>;
|
|
13
|
+
getDirectionWalkingInfo(request: POI.Main.Request.Direction): Promise<POI.Main.PoiInfo | null>;
|
|
14
|
+
queryCityGroupInfo(request: POI.Main.Request.CityCategory): Promise<POI.CityGroup[]>;
|
|
15
|
+
getItemStoreInfoByCity(request: POI.Main.Request.ItemStoreByCity): Promise<POI.ItemStoreInfo[]>;
|
|
16
|
+
queryItemsByLocation(request: POI.Main.Request.ItemsByLocation): Promise<POI.ItemStoreInfo[]>;
|
|
17
|
+
queryNearlyPOI(request: POI.Main.Request.NearlyPoi): Promise<POI.Entity[]>;
|
|
18
|
+
queryByPoiIds(request: POI.Main.Request.PoiIds): Promise<POI.Entity[]>;
|
|
19
|
+
getSuggestionsByKeyword(request: POI.Main.Request.SuggestionsByKeyword): Promise<POI.Suggestion[]>;
|
|
20
|
+
}
|
|
21
|
+
declare const poiMainService: PoiMainService;
|
|
22
|
+
export default poiMainService;
|
|
@@ -0,0 +1,52 @@
|
|
|
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 http_1 = require("../../../../http");
|
|
7
|
+
const baseService_1 = __importDefault(require("../../../baseService"));
|
|
8
|
+
class PoiMainService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/biz/poi/main';
|
|
12
|
+
}
|
|
13
|
+
getPoiById(poiId) {
|
|
14
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.getPoiById), poiId);
|
|
15
|
+
}
|
|
16
|
+
addPoi(request) {
|
|
17
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.addPoi), request);
|
|
18
|
+
}
|
|
19
|
+
updatePoi(poiId) {
|
|
20
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.updatePoi), poiId);
|
|
21
|
+
}
|
|
22
|
+
getAddressInfoByLocation(request) {
|
|
23
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.getAddressInfoByLocation), request);
|
|
24
|
+
}
|
|
25
|
+
getDrivingPoiInfo(request) {
|
|
26
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.getDrivingPoiInfo), request);
|
|
27
|
+
}
|
|
28
|
+
getDirectionWalkingInfo(request) {
|
|
29
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.getDirectionWalkingInfo), request);
|
|
30
|
+
}
|
|
31
|
+
queryCityGroupInfo(request) {
|
|
32
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.queryCityGroupInfo), request);
|
|
33
|
+
}
|
|
34
|
+
getItemStoreInfoByCity(request) {
|
|
35
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.getItemStoreInfoByCity), request);
|
|
36
|
+
}
|
|
37
|
+
queryItemsByLocation(request) {
|
|
38
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.queryItemsByLocation), request);
|
|
39
|
+
}
|
|
40
|
+
queryNearlyPOI(request) {
|
|
41
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.queryNearlyPOI), request);
|
|
42
|
+
}
|
|
43
|
+
queryByPoiIds(request) {
|
|
44
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.queryByPoiIds), request);
|
|
45
|
+
}
|
|
46
|
+
getSuggestionsByKeyword(request) {
|
|
47
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.getSuggestionsByKeyword), request);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
const poiMainService = new PoiMainService();
|
|
51
|
+
exports.default = poiMainService;
|
|
52
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/poi/main/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,cAAe,SAAQ,qBAAW;IAAxC;;QACE,cAAS,GAAG,eAAe,CAAA;IAkF7B,CAAC;IAhFC,UAAU,CAAC,KAAa;QACtB,OAAO,IAAA,iBAAU,EAAoC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,KAAK,CAAC,CAAA;IAC9F,CAAC;IAED,MAAM,CAAC,OAAgC;QACrC,OAAO,IAAA,iBAAU,EAAgC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,CAAA;IACxF,CAAC;IAED,SAAS,CAAC,KAAa;QACrB,OAAO,IAAA,iBAAU,EAAmC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,KAAK,CAAC,CAAA;IAC5F,CAAC;IAED,wBAAwB,CAAC,OAAkC;QACzD,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,wBAAwB,CAAC,EAC7C,OAAO,CACR,CAAA;IACH,CAAC;IAED,iBAAiB,CAAC,OAAmC;QACnD,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,EACtC,OAAO,CACR,CAAA;IACH,CAAC;IAED,uBAAuB,CAAC,OAAmC;QACzD,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,EAC5C,OAAO,CACR,CAAA;IACH,CAAC;IAED,kBAAkB,CAAC,OAAsC;QACvD,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,EACvC,OAAO,CACR,CAAA;IACH,CAAC;IAED,sBAAsB,CACpB,OAAyC;QAEzC,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAAC,EAC3C,OAAO,CACR,CAAA;IACH,CAAC;IAED,oBAAoB,CAClB,OAAyC;QAEzC,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC,EACzC,OAAO,CACR,CAAA;IACH,CAAC;IAED,cAAc,CAAC,OAAmC;QAChD,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,EACnC,OAAO,CACR,CAAA;IACH,CAAC;IAED,aAAa,CAAC,OAAgC;QAC5C,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,EAClC,OAAO,CACR,CAAA;IACH,CAAC;IAED,uBAAuB,CACrB,OAA8C;QAE9C,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,EAC5C,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,cAAc,GAAG,IAAI,cAAc,EAAE,CAAA;AAC3C,kBAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
export declare namespace POI {
|
|
2
|
+
interface Entity {
|
|
3
|
+
_id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
type: 'STORE';
|
|
6
|
+
status: 'ACTIVE' | 'INACTIVE';
|
|
7
|
+
gis: {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
};
|
|
11
|
+
geohash: string;
|
|
12
|
+
phone: string;
|
|
13
|
+
contactName: string;
|
|
14
|
+
address: string;
|
|
15
|
+
province: string;
|
|
16
|
+
city: string;
|
|
17
|
+
region: string;
|
|
18
|
+
_updateTime: number;
|
|
19
|
+
_createTime: number;
|
|
20
|
+
}
|
|
21
|
+
interface CityGroup {
|
|
22
|
+
city: string;
|
|
23
|
+
storeCount: number;
|
|
24
|
+
}
|
|
25
|
+
interface ItemStoreInfo {
|
|
26
|
+
longitude: number;
|
|
27
|
+
latitude: number;
|
|
28
|
+
minPrice: number;
|
|
29
|
+
[key: string]: unknown;
|
|
30
|
+
}
|
|
31
|
+
interface Suggestion {
|
|
32
|
+
title: string;
|
|
33
|
+
address: string;
|
|
34
|
+
province: string;
|
|
35
|
+
city: string;
|
|
36
|
+
district: string;
|
|
37
|
+
location: string;
|
|
38
|
+
}
|
|
39
|
+
namespace Main {
|
|
40
|
+
namespace Request {
|
|
41
|
+
interface AddPoi {
|
|
42
|
+
name: string;
|
|
43
|
+
address: string;
|
|
44
|
+
province: string;
|
|
45
|
+
city: string;
|
|
46
|
+
region: string;
|
|
47
|
+
longitude: number;
|
|
48
|
+
latitude: number;
|
|
49
|
+
phone: string;
|
|
50
|
+
contactName: string;
|
|
51
|
+
}
|
|
52
|
+
interface Location {
|
|
53
|
+
longitude: number;
|
|
54
|
+
latitude: number;
|
|
55
|
+
}
|
|
56
|
+
interface Direction {
|
|
57
|
+
from: string;
|
|
58
|
+
to: string;
|
|
59
|
+
}
|
|
60
|
+
interface CityCategory {
|
|
61
|
+
category: '聚会酒店' | '一日聚';
|
|
62
|
+
}
|
|
63
|
+
interface ItemStoreByCity extends CityCategory {
|
|
64
|
+
city: string;
|
|
65
|
+
}
|
|
66
|
+
interface ItemsByLocation extends ItemStoreByCity, Location {
|
|
67
|
+
radius?: number;
|
|
68
|
+
}
|
|
69
|
+
interface NearlyPoi extends Location {
|
|
70
|
+
address: string;
|
|
71
|
+
}
|
|
72
|
+
interface PoiIds {
|
|
73
|
+
ids: string[];
|
|
74
|
+
}
|
|
75
|
+
interface SuggestionsByKeyword {
|
|
76
|
+
region: string;
|
|
77
|
+
keyword: string;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
interface AddressInfo {
|
|
81
|
+
city: string;
|
|
82
|
+
province: string;
|
|
83
|
+
region: string;
|
|
84
|
+
}
|
|
85
|
+
interface PoiInfo {
|
|
86
|
+
distance: number;
|
|
87
|
+
duration: number;
|
|
88
|
+
}
|
|
89
|
+
interface Controller {
|
|
90
|
+
getPoiById(poiId: string): Promise<Entity>;
|
|
91
|
+
addPoi(request: Request.AddPoi): Promise<{
|
|
92
|
+
poiId: string;
|
|
93
|
+
idempotent: boolean;
|
|
94
|
+
}>;
|
|
95
|
+
updatePoi(poiId: string): Promise<void>;
|
|
96
|
+
getAddressInfoByLocation(request: Request.Location): Promise<AddressInfo>;
|
|
97
|
+
getDrivingPoiInfo(request: Request.Direction): Promise<PoiInfo | null>;
|
|
98
|
+
getDirectionWalkingInfo(request: Request.Direction): Promise<PoiInfo | null>;
|
|
99
|
+
queryCityGroupInfo(request: Request.CityCategory): Promise<CityGroup[]>;
|
|
100
|
+
getItemStoreInfoByCity(request: Request.ItemStoreByCity): Promise<ItemStoreInfo[]>;
|
|
101
|
+
queryItemsByLocation(request: Request.ItemsByLocation): Promise<ItemStoreInfo[]>;
|
|
102
|
+
queryNearlyPOI(request: Request.NearlyPoi): Promise<Entity[]>;
|
|
103
|
+
queryByPoiIds(request: Request.PoiIds): Promise<Entity[]>;
|
|
104
|
+
getSuggestionsByKeyword(request: Request.SuggestionsByKeyword): Promise<Suggestion[]>;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/poi/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import rmsMainService from './main/service';
|
|
2
|
+
declare const rmsService: {
|
|
3
|
+
main: {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
syncCommoditySkuSurplus(storeId: string): Promise<void>;
|
|
6
|
+
reduceStock(request: unknown): Promise<void>;
|
|
7
|
+
getRoomStockInfo(request: unknown): Promise<unknown>;
|
|
8
|
+
checkRoomStock(request: unknown): Promise<unknown>;
|
|
9
|
+
rollbackStock(request: unknown): Promise<void>;
|
|
10
|
+
getUserRelevanceHotelIds(request: unknown): Promise<unknown[]>;
|
|
11
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
12
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
13
|
+
getHost(): string;
|
|
14
|
+
getApiUrl(func: Function): string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export { rmsMainService };
|
|
18
|
+
export { Rms } from './type';
|
|
19
|
+
export default rmsService;
|