@be-link/vitality-cli-nodejs 0.0.26 → 0.0.27
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/README.md +22 -1
- package/index.d.ts +4 -1
- package/index.js +11 -1
- package/index.js.map +1 -1
- package/package.json +2 -1
- package/vs/modules/biz/index.d.ts +71 -0
- package/vs/modules/biz/index.js +2 -0
- package/vs/modules/biz/index.js.map +1 -1
- package/vs/modules/biz/trade-bff/index.d.ts +81 -0
- package/vs/modules/biz/trade-bff/index.js +34 -0
- package/vs/modules/biz/trade-bff/index.js.map +1 -0
- package/vs/modules/biz/trade-bff/job/service.d.ts +10 -0
- package/vs/modules/biz/trade-bff/job/service.js +25 -0
- package/vs/modules/biz/trade-bff/job/service.js.map +1 -0
- package/vs/modules/biz/trade-bff/manifest.d.ts +19 -0
- package/vs/modules/biz/trade-bff/manifest.js +40 -0
- package/vs/modules/biz/trade-bff/manifest.js.map +1 -0
- package/vs/modules/biz/trade-bff/miniapp/touristMaterial/service.d.ts +8 -0
- package/vs/modules/biz/trade-bff/miniapp/touristMaterial/service.js +19 -0
- package/vs/modules/biz/trade-bff/miniapp/touristMaterial/service.js.map +1 -0
- package/vs/modules/biz/trade-bff/orderManagementCenterWework/service.d.ts +15 -0
- package/vs/modules/biz/trade-bff/orderManagementCenterWework/service.js +25 -0
- package/vs/modules/biz/trade-bff/orderManagementCenterWework/service.js.map +1 -0
- package/vs/modules/biz/trade-bff/type.d.ts +392 -0
- package/vs/modules/biz/trade-bff/type.js +3 -0
- package/vs/modules/biz/trade-bff/type.js.map +1 -0
- package/vs/modules/biz/trade-bff/web/service.d.ts +15 -0
- package/vs/modules/biz/trade-bff/web/service.js +40 -0
- package/vs/modules/biz/trade-bff/web/service.js.map +1 -0
- package/vs/modules/biz/trade-bff/wework/service.d.ts +9 -0
- package/vs/modules/biz/trade-bff/wework/service.js +22 -0
- package/vs/modules/biz/trade-bff/wework/service.js.map +1 -0
- package/vs/modules/biz/trade-bff/wework/touristMaterial/service.d.ts +9 -0
- package/vs/modules/biz/trade-bff/wework/touristMaterial/service.js +22 -0
- package/vs/modules/biz/trade-bff/wework/touristMaterial/service.js.map +1 -0
package/README.md
CHANGED
|
@@ -36,7 +36,28 @@ await bizService.core.token.batchRefreshEcommerceAccessToken([
|
|
|
36
36
|
])
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
Core 按 9 个 service 聚合,冻结公开 38 个方法。Activity 按 11 个 service 聚合,冻结公开 72 个方法。Adjustment 按 `main`、`job` 聚合,冻结公开 11 个 Main 方法和 3 个 Job
|
|
39
|
+
Core 按 9 个 service 聚合,冻结公开 38 个方法。Activity 按 11 个 service 聚合,冻结公开 72 个方法。Adjustment 按 `main`、`job` 聚合,冻结公开 11 个 Main 方法和 3 个 Job 方法。Trade BFF 按 6 个 service path 聚合,冻结公开 19 个后端调用方方法;transport 支持范围扩大不会自动把 manifest 中此前排除的接口加入 SDK。
|
|
40
|
+
|
|
41
|
+
## Trade BFF
|
|
42
|
+
|
|
43
|
+
```typescript
|
|
44
|
+
import {
|
|
45
|
+
tradeBffWebService,
|
|
46
|
+
tradeBffOrderManagementCenterWeworkService,
|
|
47
|
+
tradeBffWeworkTouristMaterialService,
|
|
48
|
+
} from '@be-link/vitality-cli-nodejs'
|
|
49
|
+
|
|
50
|
+
await tradeBffWebService.getOrderById('trade-order-id')
|
|
51
|
+
await tradeBffOrderManagementCenterWeworkService.sendAbnormalNotify({
|
|
52
|
+
orderId: 'trade-order-id',
|
|
53
|
+
notifyType: 'CONTRACT_RESIGN',
|
|
54
|
+
})
|
|
55
|
+
await tradeBffWeworkTouristMaterialService.queryOrderEntityMaterial({
|
|
56
|
+
orderId: 'trade-order-id',
|
|
57
|
+
})
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Trade BFF 只公开完整 caller 报告人工复核后的 19 个运行时接口,完整冻结清单及排除项可查看 `tradeBffSdkManifest`。HTTP 路由继续使用精确模块名 `trade-bff`;TypeScript 聚合入口为 `bizService.tradeBff`。
|
|
40
61
|
|
|
41
62
|
## Adjustment
|
|
42
63
|
|
package/index.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ import memberService, { memberJobService, memberMainService, memberSdkManifest }
|
|
|
50
50
|
import promotionService, { promotionCalculationService, promotionRestructureCalculationService, promotionJobService, promotionMainService, promotionSdkManifest } from './vs/modules/biz/promotion';
|
|
51
51
|
import subscribeNotificationService, { subscribeNotificationMainService, subscribeNotificationSdkManifest } from './vs/modules/biz/subscribeNotification';
|
|
52
52
|
import userActionService, { userActionJobService, userActionMainService, userActionSdkManifest } from './vs/modules/biz/userAction';
|
|
53
|
+
import tradeBffService, { tradeBffJobService, tradeBffMiniappTouristMaterialService, tradeBffOrderManagementCenterWeworkService, tradeBffSdkManifest, tradeBffWebService, tradeBffWeworkService, tradeBffWeworkTouristMaterialService } from './vs/modules/biz/trade-bff';
|
|
53
54
|
import distributionOrganizationService from './vs/modules/distribution/organization/service';
|
|
54
55
|
import distributionRulesService from './vs/modules/distribution/rules/service';
|
|
55
56
|
import distributionBillsService from './vs/modules/distribution/bills/service';
|
|
@@ -82,9 +83,10 @@ import { Member } from './vs/modules/biz/member/type';
|
|
|
82
83
|
import { Promotion } from './vs/modules/biz/promotion/type';
|
|
83
84
|
import { SubscribeNotification } from './vs/modules/biz/subscribeNotification/type';
|
|
84
85
|
import { UserAction } from './vs/modules/biz/userAction/type';
|
|
86
|
+
import { TradeBff } from './vs/modules/biz/trade-bff/type';
|
|
85
87
|
import { Distribution } from './vs/modules/distribution/type';
|
|
86
88
|
import { Nmc } from './vs/modules/nmc/type';
|
|
87
|
-
export { BizError, VSError, BaseService, callApi, callScfApi, apiService, frontendConfigService, bizService, coreAccessTokenService, coreCacheService, coreConfigService, coreCosService, coreNmcService, coreQwNotifyService, coreShortLinkService, coreTenpayService, coreTokenService, coreCallerSdkManifest, bannerMainService, bannerWebService, activityMainService, activityVenueService, activityDoubleElevenService, activityAnniversaryService, activityWxLiveService, activitySpringActService, activitySchoolActService, activityMarketingActService, activityInviteFissionService, activityDesireService, activityJobService, supplierShuttleBusService, merchantMainService, poiMainService, commodityService, commodityV2Service, channelPageConfigService, channelPageConfigMainService, channelPageConfigMiniAppService, channelPageConfigWebService, contractService, contractMainService, itemCommentService, itemCommentJobService, itemTagGroupService, itemTagGroupWebService, rmsService, rmsMainService, storeService, storeJobService, storeMainService, tourMaterialService, tourMaterialBossService, adjustmentService, adjustmentMainService, adjustmentJobService, adjustmentSdkManifest, commodityCallerSdkManifest, activitySdkManifest, wxShopCommodityService, wxShopJobService, groupBookingMiniappService, groupBookingWebService, insuranceMainService, memberService, memberMainService, memberJobService, memberSdkManifest, promotionService, promotionMainService, promotionJobService, promotionCalculationService, promotionRestructureCalculationService, promotionSdkManifest, subscribeNotificationService, subscribeNotificationMainService, subscribeNotificationSdkManifest, userActionService, userActionMainService, userActionJobService, userActionSdkManifest, distributionOrganizationService, distributionRulesService, distributionBillsService, nmcMainService, nmcJobService, nmcStatsService, vitalityInvokeService, Token, AccessToken, CoreCache, CoreConfig, CoreCos, CoreNmc, CoreQwNotify, CoreShortLink, CoreTenpay, Banner, Activity, FrontendConfig, Supplier, Merchant, POI, Adjustment, WxShop, GroupBooking, Insurance, Member, Promotion, SubscribeNotification, UserAction, Distribution, Nmc, };
|
|
89
|
+
export { BizError, VSError, BaseService, callApi, callScfApi, apiService, frontendConfigService, bizService, coreAccessTokenService, coreCacheService, coreConfigService, coreCosService, coreNmcService, coreQwNotifyService, coreShortLinkService, coreTenpayService, coreTokenService, coreCallerSdkManifest, bannerMainService, bannerWebService, activityMainService, activityVenueService, activityDoubleElevenService, activityAnniversaryService, activityWxLiveService, activitySpringActService, activitySchoolActService, activityMarketingActService, activityInviteFissionService, activityDesireService, activityJobService, supplierShuttleBusService, merchantMainService, poiMainService, commodityService, commodityV2Service, channelPageConfigService, channelPageConfigMainService, channelPageConfigMiniAppService, channelPageConfigWebService, contractService, contractMainService, itemCommentService, itemCommentJobService, itemTagGroupService, itemTagGroupWebService, rmsService, rmsMainService, storeService, storeJobService, storeMainService, tourMaterialService, tourMaterialBossService, adjustmentService, adjustmentMainService, adjustmentJobService, adjustmentSdkManifest, commodityCallerSdkManifest, activitySdkManifest, wxShopCommodityService, wxShopJobService, groupBookingMiniappService, groupBookingWebService, insuranceMainService, memberService, memberMainService, memberJobService, memberSdkManifest, promotionService, promotionMainService, promotionJobService, promotionCalculationService, promotionRestructureCalculationService, promotionSdkManifest, subscribeNotificationService, subscribeNotificationMainService, subscribeNotificationSdkManifest, userActionService, userActionMainService, userActionJobService, userActionSdkManifest, tradeBffService, tradeBffJobService, tradeBffOrderManagementCenterWeworkService, tradeBffWebService, tradeBffWeworkService, tradeBffWeworkTouristMaterialService, tradeBffMiniappTouristMaterialService, tradeBffSdkManifest, distributionOrganizationService, distributionRulesService, distributionBillsService, nmcMainService, nmcJobService, nmcStatsService, vitalityInvokeService, Token, AccessToken, CoreCache, CoreConfig, CoreCos, CoreNmc, CoreQwNotify, CoreShortLink, CoreTenpay, Banner, Activity, FrontendConfig, Supplier, Merchant, POI, Adjustment, WxShop, GroupBooking, Insurance, Member, Promotion, SubscribeNotification, UserAction, TradeBff, Distribution, Nmc, };
|
|
88
90
|
export * from './vs/modules/biz/commodity';
|
|
89
91
|
export * from './vs/modules/biz/commodityV2';
|
|
90
92
|
export * from './vs/modules/biz/channelPageConfig';
|
|
@@ -99,5 +101,6 @@ export * from './vs/modules/biz/member';
|
|
|
99
101
|
export * from './vs/modules/biz/promotion';
|
|
100
102
|
export * from './vs/modules/biz/subscribeNotification';
|
|
101
103
|
export * from './vs/modules/biz/userAction';
|
|
104
|
+
export * from './vs/modules/biz/trade-bff';
|
|
102
105
|
export * from './vs/modules/distribution/type';
|
|
103
106
|
export * from './vs/modules/nmc/type';
|
package/index.js
CHANGED
|
@@ -30,7 +30,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
30
30
|
};
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
32
|
exports.storeJobService = exports.storeService = exports.rmsMainService = exports.rmsService = exports.itemTagGroupWebService = exports.itemTagGroupService = exports.itemCommentJobService = exports.itemCommentService = exports.contractMainService = exports.contractService = exports.channelPageConfigWebService = exports.channelPageConfigMiniAppService = exports.channelPageConfigMainService = exports.channelPageConfigService = exports.commodityV2Service = exports.commodityService = exports.poiMainService = exports.merchantMainService = exports.supplierShuttleBusService = exports.activityJobService = exports.activityDesireService = exports.activityInviteFissionService = exports.activityMarketingActService = exports.activitySchoolActService = exports.activitySpringActService = exports.activityWxLiveService = exports.activityAnniversaryService = exports.activityDoubleElevenService = exports.activityVenueService = exports.activityMainService = exports.bannerWebService = exports.bannerMainService = exports.coreCallerSdkManifest = exports.coreTokenService = exports.coreTenpayService = exports.coreShortLinkService = exports.coreQwNotifyService = exports.coreNmcService = exports.coreCosService = exports.coreConfigService = exports.coreCacheService = exports.coreAccessTokenService = exports.bizService = exports.frontendConfigService = exports.apiService = exports.callScfApi = exports.callApi = exports.BaseService = exports.VSError = exports.BizError = void 0;
|
|
33
|
-
exports.Activity = exports.Banner = exports.vitalityInvokeService = exports.nmcStatsService = exports.nmcJobService = exports.nmcMainService = exports.distributionBillsService = exports.distributionRulesService = exports.distributionOrganizationService = exports.userActionSdkManifest = exports.userActionJobService = exports.userActionMainService = exports.userActionService = exports.subscribeNotificationSdkManifest = exports.subscribeNotificationMainService = exports.subscribeNotificationService = exports.promotionSdkManifest = exports.promotionRestructureCalculationService = exports.promotionCalculationService = exports.promotionJobService = exports.promotionMainService = exports.promotionService = exports.memberSdkManifest = exports.memberJobService = exports.memberMainService = exports.memberService = exports.insuranceMainService = exports.groupBookingWebService = exports.groupBookingMiniappService = exports.wxShopJobService = exports.wxShopCommodityService = exports.activitySdkManifest = exports.commodityCallerSdkManifest = exports.adjustmentSdkManifest = exports.adjustmentJobService = exports.adjustmentMainService = exports.adjustmentService = exports.tourMaterialBossService = exports.tourMaterialService = exports.storeMainService = void 0;
|
|
33
|
+
exports.Activity = exports.Banner = exports.vitalityInvokeService = exports.nmcStatsService = exports.nmcJobService = exports.nmcMainService = exports.distributionBillsService = exports.distributionRulesService = exports.distributionOrganizationService = exports.tradeBffSdkManifest = exports.tradeBffMiniappTouristMaterialService = exports.tradeBffWeworkTouristMaterialService = exports.tradeBffWeworkService = exports.tradeBffWebService = exports.tradeBffOrderManagementCenterWeworkService = exports.tradeBffJobService = exports.tradeBffService = exports.userActionSdkManifest = exports.userActionJobService = exports.userActionMainService = exports.userActionService = exports.subscribeNotificationSdkManifest = exports.subscribeNotificationMainService = exports.subscribeNotificationService = exports.promotionSdkManifest = exports.promotionRestructureCalculationService = exports.promotionCalculationService = exports.promotionJobService = exports.promotionMainService = exports.promotionService = exports.memberSdkManifest = exports.memberJobService = exports.memberMainService = exports.memberService = exports.insuranceMainService = exports.groupBookingWebService = exports.groupBookingMiniappService = exports.wxShopJobService = exports.wxShopCommodityService = exports.activitySdkManifest = exports.commodityCallerSdkManifest = exports.adjustmentSdkManifest = exports.adjustmentJobService = exports.adjustmentMainService = exports.adjustmentService = exports.tourMaterialBossService = exports.tourMaterialService = exports.storeMainService = void 0;
|
|
34
34
|
const BizError_1 = __importDefault(require("./errors/BizError"));
|
|
35
35
|
exports.BizError = BizError_1.default;
|
|
36
36
|
const VSError_1 = __importDefault(require("./errors/VSError"));
|
|
@@ -162,6 +162,15 @@ exports.userActionService = userAction_1.default;
|
|
|
162
162
|
Object.defineProperty(exports, "userActionJobService", { enumerable: true, get: function () { return userAction_1.userActionJobService; } });
|
|
163
163
|
Object.defineProperty(exports, "userActionMainService", { enumerable: true, get: function () { return userAction_1.userActionMainService; } });
|
|
164
164
|
Object.defineProperty(exports, "userActionSdkManifest", { enumerable: true, get: function () { return userAction_1.userActionSdkManifest; } });
|
|
165
|
+
const trade_bff_1 = __importStar(require("./vs/modules/biz/trade-bff"));
|
|
166
|
+
exports.tradeBffService = trade_bff_1.default;
|
|
167
|
+
Object.defineProperty(exports, "tradeBffJobService", { enumerable: true, get: function () { return trade_bff_1.tradeBffJobService; } });
|
|
168
|
+
Object.defineProperty(exports, "tradeBffMiniappTouristMaterialService", { enumerable: true, get: function () { return trade_bff_1.tradeBffMiniappTouristMaterialService; } });
|
|
169
|
+
Object.defineProperty(exports, "tradeBffOrderManagementCenterWeworkService", { enumerable: true, get: function () { return trade_bff_1.tradeBffOrderManagementCenterWeworkService; } });
|
|
170
|
+
Object.defineProperty(exports, "tradeBffSdkManifest", { enumerable: true, get: function () { return trade_bff_1.tradeBffSdkManifest; } });
|
|
171
|
+
Object.defineProperty(exports, "tradeBffWebService", { enumerable: true, get: function () { return trade_bff_1.tradeBffWebService; } });
|
|
172
|
+
Object.defineProperty(exports, "tradeBffWeworkService", { enumerable: true, get: function () { return trade_bff_1.tradeBffWeworkService; } });
|
|
173
|
+
Object.defineProperty(exports, "tradeBffWeworkTouristMaterialService", { enumerable: true, get: function () { return trade_bff_1.tradeBffWeworkTouristMaterialService; } });
|
|
165
174
|
const service_32 = __importDefault(require("./vs/modules/distribution/organization/service"));
|
|
166
175
|
exports.distributionOrganizationService = service_32.default;
|
|
167
176
|
const service_33 = __importDefault(require("./vs/modules/distribution/rules/service"));
|
|
@@ -198,6 +207,7 @@ __exportStar(require("./vs/modules/biz/member"), exports);
|
|
|
198
207
|
__exportStar(require("./vs/modules/biz/promotion"), exports);
|
|
199
208
|
__exportStar(require("./vs/modules/biz/subscribeNotification"), exports);
|
|
200
209
|
__exportStar(require("./vs/modules/biz/userAction"), exports);
|
|
210
|
+
__exportStar(require("./vs/modules/biz/trade-bff"), exports);
|
|
201
211
|
__exportStar(require("./vs/modules/distribution/type"), exports);
|
|
202
212
|
__exportStar(require("./vs/modules/nmc/type"), exports);
|
|
203
213
|
//# sourceMappingURL=index.js.map
|
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":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@be-link/vitality-cli-nodejs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.27",
|
|
4
4
|
"description": "VitalityService Node.js 客户端",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "dev@8848top.com",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@be-link/cs-cli-nodejs": "0.1.131",
|
|
14
|
+
"@be-link/pos-cli-nodejs": "1.0.231",
|
|
14
15
|
"axios": "0.27.2",
|
|
15
16
|
"uuid": "9.0.1",
|
|
16
17
|
"vitality-meta": "1.0.240"
|
|
@@ -1376,5 +1376,76 @@ declare const bizService: {
|
|
|
1376
1376
|
getApiUrl(func: Function): string;
|
|
1377
1377
|
};
|
|
1378
1378
|
};
|
|
1379
|
+
tradeBff: {
|
|
1380
|
+
job: {
|
|
1381
|
+
prefixUrl: string;
|
|
1382
|
+
jobDeleteOrderDownloadFile(): Promise<void>;
|
|
1383
|
+
jobAutoSendWxNotification(): Promise<void>;
|
|
1384
|
+
jobTourRoomShareT1Remind(): Promise<import("./trade-bff").TradeBff.Job.RoomShareT1HourlyResult>;
|
|
1385
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1386
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1387
|
+
getHost(): string;
|
|
1388
|
+
getApiUrl(func: Function): string;
|
|
1389
|
+
};
|
|
1390
|
+
orderManagementCenterWework: {
|
|
1391
|
+
prefixUrl: string;
|
|
1392
|
+
sendHotelChangeResultNotify(request: import("./trade-bff").TradeBff.OrderManagementCenterWework.Request.SendHotelChangeResultNotify): Promise<{
|
|
1393
|
+
skipped?: boolean | undefined;
|
|
1394
|
+
message?: string | undefined;
|
|
1395
|
+
}>;
|
|
1396
|
+
sendAbnormalNotify(request: import("./trade-bff").TradeBff.OrderManagementCenterWework.Request.SendAbnormalNotify): Promise<import("./trade-bff").TradeBff.OrderManagementCenterWework.NotifyResult>;
|
|
1397
|
+
clearAbnormalFollow(request: import("./trade-bff").TradeBff.OrderManagementCenterWework.Request.ClearAbnormalFollow): Promise<{
|
|
1398
|
+
success: true;
|
|
1399
|
+
}>;
|
|
1400
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1401
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1402
|
+
getHost(): string;
|
|
1403
|
+
getApiUrl(func: Function): string;
|
|
1404
|
+
};
|
|
1405
|
+
web: {
|
|
1406
|
+
prefixUrl: string;
|
|
1407
|
+
getCouponAccountInfoById(id: string): Promise<import("./trade-bff").TradeBff.Web.Response.CouponAccountInfo | null>;
|
|
1408
|
+
getOrderById(tradeOrderId: string): Promise<import("./trade-bff").TradeBff.Web.Response.GetOrderById>;
|
|
1409
|
+
getTourismItinerary(request: import("./trade-bff").TradeBff.Web.Request.GetTourismItinerary): Promise<import("./trade-bff").TradeBff.Web.Response.GetTourismItinerary>;
|
|
1410
|
+
setTeamLeader(request: import("./trade-bff").TradeBff.Web.Request.SetTeamLeader): Promise<void>;
|
|
1411
|
+
upsertOrderToTeam(request: import("./trade-bff").TradeBff.Web.Request.UpsertOrderToTeam): Promise<void>;
|
|
1412
|
+
deleteTourTeam(request: import("./trade-bff").TradeBff.Web.Request.DeleteTourTeam): Promise<void>;
|
|
1413
|
+
getOrderBasicInfoById(tradeOrderId: string): Promise<import("./trade-bff").TradeBff.Web.Response.GetOrderBasicInfoById>;
|
|
1414
|
+
sendOrderPaidNotification(request: import("./trade-bff").TradeBff.Web.Request.SendOrderPaidNotification): Promise<void>;
|
|
1415
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1416
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1417
|
+
getHost(): string;
|
|
1418
|
+
getApiUrl(func: Function): string;
|
|
1419
|
+
};
|
|
1420
|
+
wework: {
|
|
1421
|
+
prefixUrl: string;
|
|
1422
|
+
changeOrderContactInfo(request: import("./trade-bff").TradeBff.Wework.Request.ChangeOrderContactInfo): Promise<void>;
|
|
1423
|
+
createOrderInvoiceRecord(request: import("@be-link/pos-cli-nodejs/types").IPositiveOrderInvoice): Promise<string>;
|
|
1424
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1425
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1426
|
+
getHost(): string;
|
|
1427
|
+
getApiUrl(func: Function): string;
|
|
1428
|
+
} & {
|
|
1429
|
+
touristMaterial: {
|
|
1430
|
+
prefixUrl: string;
|
|
1431
|
+
queryOrderEntityMaterial(request: import("./trade-bff").TradeBff.Wework.TouristMaterial.Request.QueryOrderEntityMaterial): Promise<import("./trade-bff").TradeBff.Wework.TouristMaterial.Response.QueryOrderEntityMaterial>;
|
|
1432
|
+
updateEntityMaterial(request: import("./trade-bff").TradeBff.Wework.TouristMaterial.Request.UpdateEntityMaterial): Promise<void>;
|
|
1433
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1434
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1435
|
+
getHost(): string;
|
|
1436
|
+
getApiUrl(func: Function): string;
|
|
1437
|
+
};
|
|
1438
|
+
};
|
|
1439
|
+
miniapp: {
|
|
1440
|
+
touristMaterial: {
|
|
1441
|
+
prefixUrl: string;
|
|
1442
|
+
createTouristMaterialOrder(request: import("./trade-bff").TradeBff.Miniapp.TouristMaterial.Request.CreateTouristMaterialOrder): Promise<import("./trade-bff").TradeBff.Miniapp.TouristMaterial.Response.CreateTouristMaterialOrder>;
|
|
1443
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1444
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1445
|
+
getHost(): string;
|
|
1446
|
+
getApiUrl(func: Function): string;
|
|
1447
|
+
};
|
|
1448
|
+
};
|
|
1449
|
+
};
|
|
1379
1450
|
};
|
|
1380
1451
|
export default bizService;
|
package/vs/modules/biz/index.js
CHANGED
|
@@ -47,6 +47,7 @@ const member_1 = __importDefault(require("./member"));
|
|
|
47
47
|
const promotion_1 = __importDefault(require("./promotion"));
|
|
48
48
|
const subscribeNotification_1 = __importDefault(require("./subscribeNotification"));
|
|
49
49
|
const userAction_1 = __importDefault(require("./userAction"));
|
|
50
|
+
const trade_bff_1 = __importDefault(require("./trade-bff"));
|
|
50
51
|
/** biz 包下已封装模块,随平迁逐步扩展 */
|
|
51
52
|
const bizService = {
|
|
52
53
|
core: {
|
|
@@ -111,6 +112,7 @@ const bizService = {
|
|
|
111
112
|
promotion: promotion_1.default,
|
|
112
113
|
subscribeNotification: subscribeNotification_1.default,
|
|
113
114
|
userAction: userAction_1.default,
|
|
115
|
+
tradeBff: trade_bff_1.default,
|
|
114
116
|
};
|
|
115
117
|
exports.default = bizService;
|
|
116
118
|
//# 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,kEAA+C;AAC/C,4DAA0C;AAC1C,gEAA8C;AAC9C,4EAA0D;AAC1D,0DAAwC;AACxC,gEAA8C;AAC9C,kEAAgD;AAChD,gDAA8B;AAC9B,oDAAkC;AAClC,kEAAgD;AAChD,8DAA4C;AAC5C,2EAAgE;AAChE,qEAAoD;AACpD,8EAAuE;AACvE,0EAA+D;AAC/D,wEAA2D;AAC3D,sDAAoC;AACpC,4DAA0C;AAC1C,oFAAkE;AAClE,8DAA4C;
|
|
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;AAChD,8DAA4C;AAC5C,2EAAgE;AAChE,qEAAoD;AACpD,8EAAuE;AACvE,0EAA+D;AAC/D,wEAA2D;AAC3D,sDAAoC;AACpC,4DAA0C;AAC1C,oFAAkE;AAClE,8DAA4C;AAC5C,4DAAyC;AAEzC,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;IACjC,UAAU,EAAE,oBAAiB;IAC7B,MAAM,EAAE;QACN,SAAS,EAAE,kBAAsB;QACjC,GAAG,EAAE,kBAAgB;KACtB;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,kBAA0B;QACnC,GAAG,EAAE,kBAAsB;KAC5B;IACD,SAAS,EAAE;QACT,IAAI,EAAE,kBAAoB;KAC3B;IACD,MAAM,EAAE,gBAAa;IACrB,SAAS,EAAE,mBAAgB;IAC3B,qBAAqB,EAAE,+BAA4B;IACnD,UAAU,EAAE,oBAAiB;IAC7B,QAAQ,EAAE,mBAAe;CAC1B,CAAA;AAED,kBAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import tradeBffJobService from './job/service';
|
|
2
|
+
import tradeBffMiniappTouristMaterialService from './miniapp/touristMaterial/service';
|
|
3
|
+
import tradeBffOrderManagementCenterWeworkService from './orderManagementCenterWework/service';
|
|
4
|
+
import tradeBffWebService from './web/service';
|
|
5
|
+
import tradeBffWeworkService from './wework/service';
|
|
6
|
+
import tradeBffWeworkTouristMaterialService from './wework/touristMaterial/service';
|
|
7
|
+
declare const tradeBffService: {
|
|
8
|
+
job: {
|
|
9
|
+
prefixUrl: string;
|
|
10
|
+
jobDeleteOrderDownloadFile(): Promise<void>;
|
|
11
|
+
jobAutoSendWxNotification(): Promise<void>;
|
|
12
|
+
jobTourRoomShareT1Remind(): Promise<import("./type").TradeBff.Job.RoomShareT1HourlyResult>;
|
|
13
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
14
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
15
|
+
getHost(): string;
|
|
16
|
+
getApiUrl(func: Function): string;
|
|
17
|
+
};
|
|
18
|
+
orderManagementCenterWework: {
|
|
19
|
+
prefixUrl: string;
|
|
20
|
+
sendHotelChangeResultNotify(request: import("./type").TradeBff.OrderManagementCenterWework.Request.SendHotelChangeResultNotify): Promise<{
|
|
21
|
+
skipped?: boolean | undefined;
|
|
22
|
+
message?: string | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
sendAbnormalNotify(request: import("./type").TradeBff.OrderManagementCenterWework.Request.SendAbnormalNotify): Promise<import("./type").TradeBff.OrderManagementCenterWework.NotifyResult>;
|
|
25
|
+
clearAbnormalFollow(request: import("./type").TradeBff.OrderManagementCenterWework.Request.ClearAbnormalFollow): Promise<{
|
|
26
|
+
success: true;
|
|
27
|
+
}>;
|
|
28
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
29
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
30
|
+
getHost(): string;
|
|
31
|
+
getApiUrl(func: Function): string;
|
|
32
|
+
};
|
|
33
|
+
web: {
|
|
34
|
+
prefixUrl: string;
|
|
35
|
+
getCouponAccountInfoById(id: string): Promise<import("./type").TradeBff.Web.Response.CouponAccountInfo | null>;
|
|
36
|
+
getOrderById(tradeOrderId: string): Promise<import("./type").TradeBff.Web.Response.GetOrderById>;
|
|
37
|
+
getTourismItinerary(request: import("./type").TradeBff.Web.Request.GetTourismItinerary): Promise<import("./type").TradeBff.Web.Response.GetTourismItinerary>;
|
|
38
|
+
setTeamLeader(request: import("./type").TradeBff.Web.Request.SetTeamLeader): Promise<void>;
|
|
39
|
+
upsertOrderToTeam(request: import("./type").TradeBff.Web.Request.UpsertOrderToTeam): Promise<void>;
|
|
40
|
+
deleteTourTeam(request: import("./type").TradeBff.Web.Request.DeleteTourTeam): Promise<void>;
|
|
41
|
+
getOrderBasicInfoById(tradeOrderId: string): Promise<import("./type").TradeBff.Web.Response.GetOrderBasicInfoById>;
|
|
42
|
+
sendOrderPaidNotification(request: import("./type").TradeBff.Web.Request.SendOrderPaidNotification): Promise<void>;
|
|
43
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
44
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
45
|
+
getHost(): string;
|
|
46
|
+
getApiUrl(func: Function): string;
|
|
47
|
+
};
|
|
48
|
+
wework: {
|
|
49
|
+
prefixUrl: string;
|
|
50
|
+
changeOrderContactInfo(request: import("./type").TradeBff.Wework.Request.ChangeOrderContactInfo): Promise<void>;
|
|
51
|
+
createOrderInvoiceRecord(request: import("@be-link/pos-cli-nodejs/types").IPositiveOrderInvoice): Promise<string>;
|
|
52
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
53
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
54
|
+
getHost(): string;
|
|
55
|
+
getApiUrl(func: Function): string;
|
|
56
|
+
} & {
|
|
57
|
+
touristMaterial: {
|
|
58
|
+
prefixUrl: string;
|
|
59
|
+
queryOrderEntityMaterial(request: import("./type").TradeBff.Wework.TouristMaterial.Request.QueryOrderEntityMaterial): Promise<import("./type").TradeBff.Wework.TouristMaterial.Response.QueryOrderEntityMaterial>;
|
|
60
|
+
updateEntityMaterial(request: import("./type").TradeBff.Wework.TouristMaterial.Request.UpdateEntityMaterial): Promise<void>;
|
|
61
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
62
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
63
|
+
getHost(): string;
|
|
64
|
+
getApiUrl(func: Function): string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
miniapp: {
|
|
68
|
+
touristMaterial: {
|
|
69
|
+
prefixUrl: string;
|
|
70
|
+
createTouristMaterialOrder(request: import("./type").TradeBff.Miniapp.TouristMaterial.Request.CreateTouristMaterialOrder): Promise<import("./type").TradeBff.Miniapp.TouristMaterial.Response.CreateTouristMaterialOrder>;
|
|
71
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
72
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
73
|
+
getHost(): string;
|
|
74
|
+
getApiUrl(func: Function): string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
export { tradeBffJobService, tradeBffOrderManagementCenterWeworkService, tradeBffWebService, tradeBffWeworkService, tradeBffWeworkTouristMaterialService, tradeBffMiniappTouristMaterialService, };
|
|
79
|
+
export { tradeBffSdkManifest } from './manifest';
|
|
80
|
+
export { TradeBff } from './type';
|
|
81
|
+
export default tradeBffService;
|
|
@@ -0,0 +1,34 @@
|
|
|
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.tradeBffSdkManifest = exports.tradeBffMiniappTouristMaterialService = exports.tradeBffWeworkTouristMaterialService = exports.tradeBffWeworkService = exports.tradeBffWebService = exports.tradeBffOrderManagementCenterWeworkService = exports.tradeBffJobService = void 0;
|
|
7
|
+
const service_1 = __importDefault(require("./job/service"));
|
|
8
|
+
exports.tradeBffJobService = service_1.default;
|
|
9
|
+
const service_2 = __importDefault(require("./miniapp/touristMaterial/service"));
|
|
10
|
+
exports.tradeBffMiniappTouristMaterialService = service_2.default;
|
|
11
|
+
const service_3 = __importDefault(require("./orderManagementCenterWework/service"));
|
|
12
|
+
exports.tradeBffOrderManagementCenterWeworkService = service_3.default;
|
|
13
|
+
const service_4 = __importDefault(require("./web/service"));
|
|
14
|
+
exports.tradeBffWebService = service_4.default;
|
|
15
|
+
const service_5 = __importDefault(require("./wework/service"));
|
|
16
|
+
exports.tradeBffWeworkService = service_5.default;
|
|
17
|
+
const service_6 = __importDefault(require("./wework/touristMaterial/service"));
|
|
18
|
+
exports.tradeBffWeworkTouristMaterialService = service_6.default;
|
|
19
|
+
const tradeBffWework = Object.assign(service_5.default, {
|
|
20
|
+
touristMaterial: service_6.default,
|
|
21
|
+
});
|
|
22
|
+
const tradeBffService = {
|
|
23
|
+
job: service_1.default,
|
|
24
|
+
orderManagementCenterWework: service_3.default,
|
|
25
|
+
web: service_4.default,
|
|
26
|
+
wework: tradeBffWework,
|
|
27
|
+
miniapp: {
|
|
28
|
+
touristMaterial: service_2.default,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
var manifest_1 = require("./manifest");
|
|
32
|
+
Object.defineProperty(exports, "tradeBffSdkManifest", { enumerable: true, get: function () { return manifest_1.tradeBffSdkManifest; } });
|
|
33
|
+
exports.default = tradeBffService;
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/trade-bff/index.ts"],"names":[],"mappings":";;;;;;AAAA,4DAA8C;AAsB5C,6BAtBK,iBAAkB,CAsBL;AArBpB,gFAAqF;AA0BnF,gDA1BK,iBAAqC,CA0BL;AAzBvC,oFAA8F;AAqB5F,qDArBK,iBAA0C,CAqBL;AApB5C,4DAA8C;AAqB5C,6BArBK,iBAAkB,CAqBL;AApBpB,+DAAoD;AAqBlD,gCArBK,iBAAqB,CAqBL;AApBvB,+EAAmF;AAqBjF,+CArBK,iBAAoC,CAqBL;AAnBtC,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,iBAAqB,EAAE;IAC1D,eAAe,EAAE,iBAAoC;CACtD,CAAC,CAAA;AAEF,MAAM,eAAe,GAAG;IACtB,GAAG,EAAE,iBAAkB;IACvB,2BAA2B,EAAE,iBAA0C;IACvE,GAAG,EAAE,iBAAkB;IACvB,MAAM,EAAE,cAAc;IACtB,OAAO,EAAE;QACP,eAAe,EAAE,iBAAqC;KACvD;CACF,CAAA;AAUD,uCAAgD;AAAvC,+GAAA,mBAAmB,OAAA;AAE5B,kBAAe,eAAe,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import BaseService from '../../../baseService';
|
|
2
|
+
import { TradeBff } from '../type';
|
|
3
|
+
declare class TradeBffJobService extends BaseService implements TradeBff.Job.Controller {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
jobDeleteOrderDownloadFile(): Promise<void>;
|
|
6
|
+
jobAutoSendWxNotification(): Promise<void>;
|
|
7
|
+
jobTourRoomShareT1Remind(): Promise<TradeBff.Job.RoomShareT1HourlyResult>;
|
|
8
|
+
}
|
|
9
|
+
declare const tradeBffJobService: TradeBffJobService;
|
|
10
|
+
export default tradeBffJobService;
|
|
@@ -0,0 +1,25 @@
|
|
|
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 TradeBffJobService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/biz/trade-bff/job';
|
|
12
|
+
}
|
|
13
|
+
jobDeleteOrderDownloadFile() {
|
|
14
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.jobDeleteOrderDownloadFile));
|
|
15
|
+
}
|
|
16
|
+
jobAutoSendWxNotification() {
|
|
17
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.jobAutoSendWxNotification));
|
|
18
|
+
}
|
|
19
|
+
jobTourRoomShareT1Remind() {
|
|
20
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.jobTourRoomShareT1Remind));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
const tradeBffJobService = new TradeBffJobService();
|
|
24
|
+
exports.default = tradeBffJobService;
|
|
25
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/trade-bff/job/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,kBAAmB,SAAQ,qBAAW;IAA5C;;QACE,cAAS,GAAG,oBAAoB,CAAA;IAmBlC,CAAC;IAjBC,0BAA0B;QACxB,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAChD,CAAA;IACH,CAAC;IAED,yBAAyB;QACvB,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAC/C,CAAA;IACH,CAAC;IAED,wBAAwB;QACtB,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAC9C,CAAA;IACH,CAAC;CACF;AAED,MAAM,kBAAkB,GAAG,IAAI,kBAAkB,EAAE,CAAA;AACnD,kBAAe,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** 后端调用方复核后冻结的 Trade BFF 具名 SDK 清单。 */
|
|
2
|
+
export declare const tradeBffSdkManifest: {
|
|
3
|
+
readonly targets: {
|
|
4
|
+
readonly job: readonly ["jobDeleteOrderDownloadFile", "jobAutoSendWxNotification", "jobTourRoomShareT1Remind"];
|
|
5
|
+
readonly orderManagementCenterWework: readonly ["sendHotelChangeResultNotify", "sendAbnormalNotify", "clearAbnormalFollow"];
|
|
6
|
+
readonly web: readonly ["getCouponAccountInfoById", "getOrderById", "getTourismItinerary", "setTeamLeader", "upsertOrderToTeam", "deleteTourTeam", "getOrderBasicInfoById", "sendOrderPaidNotification"];
|
|
7
|
+
readonly 'wework/touristMaterial': readonly ["queryOrderEntityMaterial", "updateEntityMaterial"];
|
|
8
|
+
readonly wework: readonly ["changeOrderContactInfo", "createOrderInvoiceRecord"];
|
|
9
|
+
readonly 'miniapp/touristMaterial': readonly ["createTouristMaterialOrder"];
|
|
10
|
+
};
|
|
11
|
+
readonly excludedLegacyCalls: {
|
|
12
|
+
readonly 'web.getContractFileByOrderId': "仅存在未运行的 wrapper,本轮无 Node 后端运行时调用方";
|
|
13
|
+
readonly 'web.queryTeamInfo': "仅存在未运行的 wrapper,本轮无 Node 后端运行时调用方";
|
|
14
|
+
readonly 'web.getRefundOrderListByOrderId': "仅存在未运行的 wrapper,本轮无 Node 后端运行时调用方";
|
|
15
|
+
readonly 'web.queryNoteListByOrderIds': "仅存在未运行的 wrapper,本轮无 Node 后端运行时调用方";
|
|
16
|
+
readonly 'web.queryOrderChangeSkuRecords': "仅存在未运行的 wrapper,本轮无 Node 后端运行时调用方";
|
|
17
|
+
readonly 'web.createNote': "仅存在未运行的 wrapper,本轮无 Node 后端运行时调用方";
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.tradeBffSdkManifest = void 0;
|
|
4
|
+
/** 后端调用方复核后冻结的 Trade BFF 具名 SDK 清单。 */
|
|
5
|
+
exports.tradeBffSdkManifest = {
|
|
6
|
+
targets: {
|
|
7
|
+
job: [
|
|
8
|
+
'jobDeleteOrderDownloadFile',
|
|
9
|
+
'jobAutoSendWxNotification',
|
|
10
|
+
'jobTourRoomShareT1Remind',
|
|
11
|
+
],
|
|
12
|
+
orderManagementCenterWework: [
|
|
13
|
+
'sendHotelChangeResultNotify',
|
|
14
|
+
'sendAbnormalNotify',
|
|
15
|
+
'clearAbnormalFollow',
|
|
16
|
+
],
|
|
17
|
+
web: [
|
|
18
|
+
'getCouponAccountInfoById',
|
|
19
|
+
'getOrderById',
|
|
20
|
+
'getTourismItinerary',
|
|
21
|
+
'setTeamLeader',
|
|
22
|
+
'upsertOrderToTeam',
|
|
23
|
+
'deleteTourTeam',
|
|
24
|
+
'getOrderBasicInfoById',
|
|
25
|
+
'sendOrderPaidNotification',
|
|
26
|
+
],
|
|
27
|
+
'wework/touristMaterial': ['queryOrderEntityMaterial', 'updateEntityMaterial'],
|
|
28
|
+
wework: ['changeOrderContactInfo', 'createOrderInvoiceRecord'],
|
|
29
|
+
'miniapp/touristMaterial': ['createTouristMaterialOrder'],
|
|
30
|
+
},
|
|
31
|
+
excludedLegacyCalls: {
|
|
32
|
+
'web.getContractFileByOrderId': '仅存在未运行的 wrapper,本轮无 Node 后端运行时调用方',
|
|
33
|
+
'web.queryTeamInfo': '仅存在未运行的 wrapper,本轮无 Node 后端运行时调用方',
|
|
34
|
+
'web.getRefundOrderListByOrderId': '仅存在未运行的 wrapper,本轮无 Node 后端运行时调用方',
|
|
35
|
+
'web.queryNoteListByOrderIds': '仅存在未运行的 wrapper,本轮无 Node 后端运行时调用方',
|
|
36
|
+
'web.queryOrderChangeSkuRecords': '仅存在未运行的 wrapper,本轮无 Node 后端运行时调用方',
|
|
37
|
+
'web.createNote': '仅存在未运行的 wrapper,本轮无 Node 后端运行时调用方',
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=manifest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/trade-bff/manifest.ts"],"names":[],"mappings":";;;AAAA,uCAAuC;AAC1B,QAAA,mBAAmB,GAAG;IACjC,OAAO,EAAE;QACP,GAAG,EAAE;YACH,4BAA4B;YAC5B,2BAA2B;YAC3B,0BAA0B;SAC3B;QACD,2BAA2B,EAAE;YAC3B,6BAA6B;YAC7B,oBAAoB;YACpB,qBAAqB;SACtB;QACD,GAAG,EAAE;YACH,0BAA0B;YAC1B,cAAc;YACd,qBAAqB;YACrB,eAAe;YACf,mBAAmB;YACnB,gBAAgB;YAChB,uBAAuB;YACvB,2BAA2B;SAC5B;QACD,wBAAwB,EAAE,CAAC,0BAA0B,EAAE,sBAAsB,CAAC;QAC9E,MAAM,EAAE,CAAC,wBAAwB,EAAE,0BAA0B,CAAC;QAC9D,yBAAyB,EAAE,CAAC,4BAA4B,CAAC;KAC1D;IACD,mBAAmB,EAAE;QACnB,8BAA8B,EAAE,mCAAmC;QACnE,mBAAmB,EAAE,mCAAmC;QACxD,iCAAiC,EAAE,mCAAmC;QACtE,6BAA6B,EAAE,mCAAmC;QAClE,gCAAgC,EAAE,mCAAmC;QACrE,gBAAgB,EAAE,mCAAmC;KACtD;CACO,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import BaseService from '../../../../baseService';
|
|
2
|
+
import { TradeBff } from '../../type';
|
|
3
|
+
declare class TradeBffMiniappTouristMaterialService extends BaseService implements TradeBff.Miniapp.TouristMaterial.Controller {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
createTouristMaterialOrder(request: TradeBff.Miniapp.TouristMaterial.Request.CreateTouristMaterialOrder): Promise<TradeBff.Miniapp.TouristMaterial.Response.CreateTouristMaterialOrder>;
|
|
6
|
+
}
|
|
7
|
+
declare const tradeBffMiniappTouristMaterialService: TradeBffMiniappTouristMaterialService;
|
|
8
|
+
export default tradeBffMiniappTouristMaterialService;
|
|
@@ -0,0 +1,19 @@
|
|
|
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 TradeBffMiniappTouristMaterialService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/biz/trade-bff/miniapp/touristMaterial';
|
|
12
|
+
}
|
|
13
|
+
createTouristMaterialOrder(request) {
|
|
14
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.createTouristMaterialOrder), request);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
const tradeBffMiniappTouristMaterialService = new TradeBffMiniappTouristMaterialService();
|
|
18
|
+
exports.default = tradeBffMiniappTouristMaterialService;
|
|
19
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../../src/vs/modules/biz/trade-bff/miniapp/touristMaterial/service.ts"],"names":[],"mappings":";;;;;AAAA,8CAAgD;AAChD,0EAAiD;AAGjD,MAAM,qCACJ,SAAQ,qBAAW;IADrB;;QAIE,cAAS,GAAG,wCAAwC,CAAA;IAUtD,CAAC;IARC,0BAA0B,CACxB,OAA4E;QAE5E,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,0BAA0B,CAAC,EAC/C,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,qCAAqC,GAAG,IAAI,qCAAqC,EAAE,CAAA;AACzF,kBAAe,qCAAqC,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import BaseService from '../../../baseService';
|
|
2
|
+
import { TradeBff } from '../type';
|
|
3
|
+
declare class TradeBffOrderManagementCenterWeworkService extends BaseService implements TradeBff.OrderManagementCenterWework.Controller {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
sendHotelChangeResultNotify(request: TradeBff.OrderManagementCenterWework.Request.SendHotelChangeResultNotify): Promise<{
|
|
6
|
+
skipped?: boolean;
|
|
7
|
+
message?: string;
|
|
8
|
+
}>;
|
|
9
|
+
sendAbnormalNotify(request: TradeBff.OrderManagementCenterWework.Request.SendAbnormalNotify): Promise<TradeBff.OrderManagementCenterWework.NotifyResult>;
|
|
10
|
+
clearAbnormalFollow(request: TradeBff.OrderManagementCenterWework.Request.ClearAbnormalFollow): Promise<{
|
|
11
|
+
success: true;
|
|
12
|
+
}>;
|
|
13
|
+
}
|
|
14
|
+
declare const tradeBffOrderManagementCenterWeworkService: TradeBffOrderManagementCenterWeworkService;
|
|
15
|
+
export default tradeBffOrderManagementCenterWeworkService;
|
|
@@ -0,0 +1,25 @@
|
|
|
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 TradeBffOrderManagementCenterWeworkService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/biz/trade-bff/orderManagementCenterWework';
|
|
12
|
+
}
|
|
13
|
+
sendHotelChangeResultNotify(request) {
|
|
14
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.sendHotelChangeResultNotify), request);
|
|
15
|
+
}
|
|
16
|
+
sendAbnormalNotify(request) {
|
|
17
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.sendAbnormalNotify), request);
|
|
18
|
+
}
|
|
19
|
+
clearAbnormalFollow(request) {
|
|
20
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.clearAbnormalFollow), request);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
const tradeBffOrderManagementCenterWeworkService = new TradeBffOrderManagementCenterWeworkService();
|
|
24
|
+
exports.default = tradeBffOrderManagementCenterWeworkService;
|
|
25
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/trade-bff/orderManagementCenterWework/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,0CACJ,SAAQ,qBAAW;IADrB;;QAIE,cAAS,GAAG,4CAA4C,CAAA;IA2B1D,CAAC;IAzBC,2BAA2B,CACzB,OAAiF;QAEjF,OAAO,IAAA,iBAAU,EAEf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,EAAE,OAAO,CAAC,CAAA;IAC9D,CAAC;IAED,kBAAkB,CAChB,OAAwE;QAExE,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,EACvC,OAAO,CACR,CAAA;IACH,CAAC;IAED,mBAAmB,CACjB,OAAyE;QAEzE,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,EACxC,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,0CAA0C,GAC9C,IAAI,0CAA0C,EAAE,CAAA;AAClD,kBAAe,0CAA0C,CAAA"}
|
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
import type { PosDto } from '@be-link/pos-cli-nodejs';
|
|
2
|
+
import type { IPositiveOrderInvoice } from '@be-link/pos-cli-nodejs/types';
|
|
3
|
+
import type { TourMaterialType, TourMaterialVisaType } from 'vitality-meta/enums/commodity';
|
|
4
|
+
import type { AbnormalType } from 'vitality-meta/enums/omc';
|
|
5
|
+
export declare namespace TradeBff {
|
|
6
|
+
namespace Job {
|
|
7
|
+
interface RoomShareLifecycleResult {
|
|
8
|
+
scanned: number;
|
|
9
|
+
uniqueOrders: number;
|
|
10
|
+
suspectedInvalid: number;
|
|
11
|
+
cleaned: number;
|
|
12
|
+
noop: number;
|
|
13
|
+
}
|
|
14
|
+
interface RoomShareT1HourlyResult {
|
|
15
|
+
enabled: boolean;
|
|
16
|
+
lifecycle: RoomShareLifecycleResult;
|
|
17
|
+
candidateCount: number;
|
|
18
|
+
notified: number;
|
|
19
|
+
}
|
|
20
|
+
interface Controller {
|
|
21
|
+
jobDeleteOrderDownloadFile(): Promise<void>;
|
|
22
|
+
jobAutoSendWxNotification(): Promise<void>;
|
|
23
|
+
jobTourRoomShareT1Remind(): Promise<RoomShareT1HourlyResult>;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
namespace OrderManagementCenterWework {
|
|
27
|
+
type NotifyType = 'REJECT' | 'APPEND_FAIL' | 'CONTRACT_RESIGN' | 'ROOM_SHARE';
|
|
28
|
+
type NotifyOutcome = 'QUEUED' | 'IDEMPOTENT_HIT' | 'DISABLED' | 'INELIGIBLE' | 'NO_RECEIVER' | 'FAILED';
|
|
29
|
+
namespace Request {
|
|
30
|
+
interface SendHotelChangeResultNotify {
|
|
31
|
+
orderId: string;
|
|
32
|
+
changeFlowId: string;
|
|
33
|
+
changeType: string;
|
|
34
|
+
changeStatus: string;
|
|
35
|
+
changeContent?: string;
|
|
36
|
+
rejectReason?: string;
|
|
37
|
+
sponsorUnionId?: string;
|
|
38
|
+
fromUnionId?: string;
|
|
39
|
+
}
|
|
40
|
+
interface SendAbnormalNotify {
|
|
41
|
+
orderId: string;
|
|
42
|
+
notifyType: NotifyType;
|
|
43
|
+
expectedDeadline?: number;
|
|
44
|
+
}
|
|
45
|
+
interface ClearAbnormalFollow {
|
|
46
|
+
orderId: string;
|
|
47
|
+
abnormalType: AbnormalType;
|
|
48
|
+
changeFlowId?: string;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
interface NotifyResult {
|
|
52
|
+
skipped?: boolean;
|
|
53
|
+
message?: string;
|
|
54
|
+
outcome?: NotifyOutcome;
|
|
55
|
+
relateBizId?: string;
|
|
56
|
+
}
|
|
57
|
+
interface Controller {
|
|
58
|
+
sendHotelChangeResultNotify(request: Request.SendHotelChangeResultNotify): Promise<{
|
|
59
|
+
skipped?: boolean;
|
|
60
|
+
message?: string;
|
|
61
|
+
}>;
|
|
62
|
+
sendAbnormalNotify(request: Request.SendAbnormalNotify): Promise<NotifyResult>;
|
|
63
|
+
clearAbnormalFollow(request: Request.ClearAbnormalFollow): Promise<{
|
|
64
|
+
success: true;
|
|
65
|
+
}>;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
namespace Web {
|
|
69
|
+
namespace Request {
|
|
70
|
+
interface GetTourismItinerary {
|
|
71
|
+
departureDate: number | string;
|
|
72
|
+
name: string;
|
|
73
|
+
category?: string;
|
|
74
|
+
pageSize: number;
|
|
75
|
+
pageIndex: number;
|
|
76
|
+
}
|
|
77
|
+
interface SetTeamLeader {
|
|
78
|
+
teamId: string;
|
|
79
|
+
leaderInfo: {
|
|
80
|
+
mobile: string;
|
|
81
|
+
name: string;
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
interface UpsertOrderToTeam {
|
|
85
|
+
teamId?: string;
|
|
86
|
+
orderIdList: string[];
|
|
87
|
+
type: string;
|
|
88
|
+
leaderInfo?: {
|
|
89
|
+
mobile: string;
|
|
90
|
+
name: string;
|
|
91
|
+
};
|
|
92
|
+
itemId: string;
|
|
93
|
+
fulfillTime: number;
|
|
94
|
+
supplierId: string;
|
|
95
|
+
}
|
|
96
|
+
interface DeleteTourTeam {
|
|
97
|
+
teamId: string;
|
|
98
|
+
orderId: string;
|
|
99
|
+
}
|
|
100
|
+
interface SendOrderPaidNotification {
|
|
101
|
+
orderId: string;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
namespace Response {
|
|
105
|
+
interface CouponAccountInfo {
|
|
106
|
+
id: number;
|
|
107
|
+
name: string;
|
|
108
|
+
account: string;
|
|
109
|
+
phone: string;
|
|
110
|
+
operator: string;
|
|
111
|
+
updatedAt: number;
|
|
112
|
+
expiredAt: number;
|
|
113
|
+
}
|
|
114
|
+
interface AdministrativeRoomShare {
|
|
115
|
+
enabled: true;
|
|
116
|
+
applicable: true;
|
|
117
|
+
roomShareRequired: boolean;
|
|
118
|
+
remark: string;
|
|
119
|
+
}
|
|
120
|
+
interface GetTourismItinerary {
|
|
121
|
+
list: Array<{
|
|
122
|
+
code: string;
|
|
123
|
+
isEdited: boolean;
|
|
124
|
+
itemId: string;
|
|
125
|
+
itemName: string;
|
|
126
|
+
categoryOne: string;
|
|
127
|
+
categoryTwo: string;
|
|
128
|
+
itemPic: string;
|
|
129
|
+
touristCount: number;
|
|
130
|
+
childrenCount: number;
|
|
131
|
+
supplementSingleRoomCount: number;
|
|
132
|
+
orderCount: number;
|
|
133
|
+
skuInfo: {
|
|
134
|
+
_id: string;
|
|
135
|
+
id: string;
|
|
136
|
+
combo: string;
|
|
137
|
+
departureDate: number;
|
|
138
|
+
displayDepartureDate: string;
|
|
139
|
+
groupInfo: {
|
|
140
|
+
groupIdx: number;
|
|
141
|
+
wxQrCode: string;
|
|
142
|
+
leaderName: string;
|
|
143
|
+
leaderMobile: string;
|
|
144
|
+
returnTraffic: string;
|
|
145
|
+
volunteerName: string;
|
|
146
|
+
outboundTraffic: string;
|
|
147
|
+
volunteerMobile: string;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
}>;
|
|
151
|
+
total: number;
|
|
152
|
+
}
|
|
153
|
+
interface PromotionSummary {
|
|
154
|
+
[promotionToolType: string]: {
|
|
155
|
+
count: number;
|
|
156
|
+
reduce: string;
|
|
157
|
+
unitPrice?: string;
|
|
158
|
+
} | string;
|
|
159
|
+
couponReduce: string;
|
|
160
|
+
totalReduce: string;
|
|
161
|
+
}
|
|
162
|
+
interface GetOrderById {
|
|
163
|
+
roomShare?: AdministrativeRoomShare;
|
|
164
|
+
groupBookingSummaryInfo: {
|
|
165
|
+
id: string;
|
|
166
|
+
status: string;
|
|
167
|
+
quantity: number;
|
|
168
|
+
roomInfo: {
|
|
169
|
+
DOUBLE_BED: {
|
|
170
|
+
count: number;
|
|
171
|
+
};
|
|
172
|
+
SINGLE_BED: {
|
|
173
|
+
count: number;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
expectDesc: string;
|
|
177
|
+
};
|
|
178
|
+
groupBookingInfo: Array<{
|
|
179
|
+
orderId: string;
|
|
180
|
+
orderStatus: string;
|
|
181
|
+
recordStatus: string;
|
|
182
|
+
contactName: string;
|
|
183
|
+
mobile: string;
|
|
184
|
+
quantity: number;
|
|
185
|
+
numberInfo: {
|
|
186
|
+
manNumber: number;
|
|
187
|
+
womanNumber: number;
|
|
188
|
+
};
|
|
189
|
+
paidAt: number;
|
|
190
|
+
isGroupMainOrder: boolean;
|
|
191
|
+
groupType: number;
|
|
192
|
+
isGroupSubOrder: boolean;
|
|
193
|
+
isRootOrder: boolean;
|
|
194
|
+
roomInfo: {
|
|
195
|
+
DOUBLE_BED: {
|
|
196
|
+
count: number;
|
|
197
|
+
};
|
|
198
|
+
SINGLE_BED: {
|
|
199
|
+
count: number;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
}>;
|
|
203
|
+
basicOrderInfo: Omit<PosDto.IPositiveOrder, 'completedAt' | 'fromUserRole' | 'openId' | 'paidAt'> & {
|
|
204
|
+
subOrderIdList: string[];
|
|
205
|
+
userName: string;
|
|
206
|
+
userMobile: string;
|
|
207
|
+
contactInfo: {
|
|
208
|
+
name: string;
|
|
209
|
+
mobile: string;
|
|
210
|
+
reserveMobile?: string;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
fulfillmentInfo: PosDto.IPositiveFulfillmentInfo;
|
|
214
|
+
promotionInfo: PosDto.IPositivePromotionInfo[];
|
|
215
|
+
tourismInfo: PosDto.IPositiveTouristInfo;
|
|
216
|
+
tourMaterial: boolean;
|
|
217
|
+
attachments: Array<{
|
|
218
|
+
url: string;
|
|
219
|
+
name: string;
|
|
220
|
+
}>;
|
|
221
|
+
paymentInfo: PosDto.IPositivePaymentInfo[];
|
|
222
|
+
attributes: PosDto.IPositiveAttributes;
|
|
223
|
+
commodityInfo: {
|
|
224
|
+
id: string;
|
|
225
|
+
name: string;
|
|
226
|
+
categoryOne: string;
|
|
227
|
+
categoryTwo: string;
|
|
228
|
+
headPic: string;
|
|
229
|
+
status: string;
|
|
230
|
+
isSelfLead: boolean;
|
|
231
|
+
isHighCommission: number;
|
|
232
|
+
canUpdateMealInfo: number;
|
|
233
|
+
supplierName?: string;
|
|
234
|
+
shuttleSupplierIdList?: string[];
|
|
235
|
+
cooperator?: string;
|
|
236
|
+
tourWholesaler?: string;
|
|
237
|
+
domesticTourOperator?: string;
|
|
238
|
+
tourContactInfo?: string;
|
|
239
|
+
tourContactName?: string;
|
|
240
|
+
tourContactPhone?: string;
|
|
241
|
+
tourContactAddress?: string;
|
|
242
|
+
hasShopping?: number;
|
|
243
|
+
hasActivity?: number;
|
|
244
|
+
tourPrincipal?: string;
|
|
245
|
+
belinkOwner?: string;
|
|
246
|
+
periodEndTime?: number;
|
|
247
|
+
periodStartTime?: number;
|
|
248
|
+
bookingDays?: string;
|
|
249
|
+
quantity?: number;
|
|
250
|
+
remainQuantity?: number;
|
|
251
|
+
commissionFee?: number;
|
|
252
|
+
unitDeposit?: number;
|
|
253
|
+
sku?: {
|
|
254
|
+
id: string;
|
|
255
|
+
skuId: string;
|
|
256
|
+
salePrice: number;
|
|
257
|
+
combo: string;
|
|
258
|
+
departureDate: number;
|
|
259
|
+
displayDepartureDate: string;
|
|
260
|
+
quantity: number;
|
|
261
|
+
remainQuantity: number;
|
|
262
|
+
costDay?: number;
|
|
263
|
+
settlementPrice?: number;
|
|
264
|
+
};
|
|
265
|
+
contractType?: string;
|
|
266
|
+
};
|
|
267
|
+
extraInfo: {
|
|
268
|
+
supplierRejectReasons?: string[];
|
|
269
|
+
cakeCouponDesc?: string;
|
|
270
|
+
operator?: string;
|
|
271
|
+
privateButlerName?: string;
|
|
272
|
+
itemBelinkOwner?: string;
|
|
273
|
+
storeContactInfo: {
|
|
274
|
+
name: string;
|
|
275
|
+
phone: string;
|
|
276
|
+
};
|
|
277
|
+
fromEcsStoreName?: string;
|
|
278
|
+
fromUserName?: string;
|
|
279
|
+
};
|
|
280
|
+
lastAcceptRecord: PosDto.IOrderOperatorRecord;
|
|
281
|
+
merchantOrder: unknown;
|
|
282
|
+
promotionSummary: PromotionSummary;
|
|
283
|
+
}
|
|
284
|
+
interface TongchengRelationSummary {
|
|
285
|
+
tongchengOrderId: string;
|
|
286
|
+
positiveOrderId: string;
|
|
287
|
+
boundAt: number | null;
|
|
288
|
+
bindStatus: 'BOUND' | 'UNBOUND';
|
|
289
|
+
}
|
|
290
|
+
interface GetOrderBasicInfoById {
|
|
291
|
+
roomShare?: AdministrativeRoomShare;
|
|
292
|
+
basicOrderInfo: Omit<PosDto.IPositiveOrder, 'completedAt' | 'fromUserRole' | 'openId' | 'paidAt'> & {
|
|
293
|
+
subOrderIdList: string[];
|
|
294
|
+
userName: string;
|
|
295
|
+
userMobile: string;
|
|
296
|
+
singleRoomPrice: number;
|
|
297
|
+
shuttleBusSalePrice: number;
|
|
298
|
+
shuttleBusQuantity: number;
|
|
299
|
+
memberPrice: number;
|
|
300
|
+
stayMorePrice: number;
|
|
301
|
+
skuPrice: {
|
|
302
|
+
singlePrice: number;
|
|
303
|
+
singleMemberPrice: number;
|
|
304
|
+
singleStayMorePrice: number;
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
paymentInfo: PosDto.IPositivePaymentInfo[];
|
|
308
|
+
attributes: PosDto.IPositiveAttributes;
|
|
309
|
+
tongchengRelation: TongchengRelationSummary | null;
|
|
310
|
+
lastAcceptRecord: PosDto.IOrderOperatorRecord;
|
|
311
|
+
merchantOrder: unknown;
|
|
312
|
+
promotionSummary: PromotionSummary;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
interface Controller {
|
|
316
|
+
getCouponAccountInfoById(id: string): Promise<Response.CouponAccountInfo | null>;
|
|
317
|
+
getOrderById(tradeOrderId: string): Promise<Response.GetOrderById>;
|
|
318
|
+
getTourismItinerary(request: Request.GetTourismItinerary): Promise<Response.GetTourismItinerary>;
|
|
319
|
+
setTeamLeader(request: Request.SetTeamLeader): Promise<void>;
|
|
320
|
+
upsertOrderToTeam(request: Request.UpsertOrderToTeam): Promise<void>;
|
|
321
|
+
deleteTourTeam(request: Request.DeleteTourTeam): Promise<void>;
|
|
322
|
+
getOrderBasicInfoById(tradeOrderId: string): Promise<Response.GetOrderBasicInfoById>;
|
|
323
|
+
sendOrderPaidNotification(request: Request.SendOrderPaidNotification): Promise<void>;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
namespace Wework {
|
|
327
|
+
namespace Request {
|
|
328
|
+
interface ChangeOrderContactInfo {
|
|
329
|
+
name: string;
|
|
330
|
+
idCard: string;
|
|
331
|
+
mobile: string;
|
|
332
|
+
orderId: string;
|
|
333
|
+
}
|
|
334
|
+
type CreateOrderInvoiceRecord = IPositiveOrderInvoice;
|
|
335
|
+
}
|
|
336
|
+
namespace TouristMaterial {
|
|
337
|
+
namespace Request {
|
|
338
|
+
interface QueryOrderEntityMaterial {
|
|
339
|
+
orderId: string;
|
|
340
|
+
}
|
|
341
|
+
interface UpdateEntityMaterial {
|
|
342
|
+
operator: string;
|
|
343
|
+
orderId: string;
|
|
344
|
+
touristId: string;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
namespace Response {
|
|
348
|
+
interface UserEntityMaterial {
|
|
349
|
+
touristId: string;
|
|
350
|
+
touristName: string;
|
|
351
|
+
materialType: TourMaterialType;
|
|
352
|
+
visaType: TourMaterialVisaType;
|
|
353
|
+
materialItemNames: string[];
|
|
354
|
+
isReceived: boolean;
|
|
355
|
+
}
|
|
356
|
+
interface QueryOrderEntityMaterial {
|
|
357
|
+
hasEntityMaterial: boolean;
|
|
358
|
+
userEntityMaterialList: UserEntityMaterial[];
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
interface Controller {
|
|
362
|
+
queryOrderEntityMaterial(request: Request.QueryOrderEntityMaterial): Promise<Response.QueryOrderEntityMaterial>;
|
|
363
|
+
updateEntityMaterial(request: Request.UpdateEntityMaterial): Promise<void>;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
interface Controller {
|
|
367
|
+
changeOrderContactInfo(request: Request.ChangeOrderContactInfo): Promise<void>;
|
|
368
|
+
createOrderInvoiceRecord(request: Request.CreateOrderInvoiceRecord): Promise<string>;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
namespace Miniapp {
|
|
372
|
+
namespace TouristMaterial {
|
|
373
|
+
namespace Request {
|
|
374
|
+
interface CreateTouristMaterialOrder {
|
|
375
|
+
unionId: string;
|
|
376
|
+
orderId: string;
|
|
377
|
+
itemId: string;
|
|
378
|
+
materialType: TourMaterialType;
|
|
379
|
+
touristMaterialInfos: Record<string, TourMaterialVisaType>;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
namespace Response {
|
|
383
|
+
interface CreateTouristMaterialOrder {
|
|
384
|
+
orderId: string;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
interface Controller {
|
|
388
|
+
createTouristMaterialOrder(request: Request.CreateTouristMaterialOrder): Promise<Response.CreateTouristMaterialOrder>;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/trade-bff/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import BaseService from '../../../baseService';
|
|
2
|
+
import { TradeBff } from '../type';
|
|
3
|
+
declare class TradeBffWebService extends BaseService implements TradeBff.Web.Controller {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
getCouponAccountInfoById(id: string): Promise<TradeBff.Web.Response.CouponAccountInfo | null>;
|
|
6
|
+
getOrderById(tradeOrderId: string): Promise<TradeBff.Web.Response.GetOrderById>;
|
|
7
|
+
getTourismItinerary(request: TradeBff.Web.Request.GetTourismItinerary): Promise<TradeBff.Web.Response.GetTourismItinerary>;
|
|
8
|
+
setTeamLeader(request: TradeBff.Web.Request.SetTeamLeader): Promise<void>;
|
|
9
|
+
upsertOrderToTeam(request: TradeBff.Web.Request.UpsertOrderToTeam): Promise<void>;
|
|
10
|
+
deleteTourTeam(request: TradeBff.Web.Request.DeleteTourTeam): Promise<void>;
|
|
11
|
+
getOrderBasicInfoById(tradeOrderId: string): Promise<TradeBff.Web.Response.GetOrderBasicInfoById>;
|
|
12
|
+
sendOrderPaidNotification(request: TradeBff.Web.Request.SendOrderPaidNotification): Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
declare const tradeBffWebService: TradeBffWebService;
|
|
15
|
+
export default tradeBffWebService;
|
|
@@ -0,0 +1,40 @@
|
|
|
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 TradeBffWebService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/biz/trade-bff/web';
|
|
12
|
+
}
|
|
13
|
+
getCouponAccountInfoById(id) {
|
|
14
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.getCouponAccountInfoById), id);
|
|
15
|
+
}
|
|
16
|
+
getOrderById(tradeOrderId) {
|
|
17
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.getOrderById), tradeOrderId);
|
|
18
|
+
}
|
|
19
|
+
getTourismItinerary(request) {
|
|
20
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.getTourismItinerary), request);
|
|
21
|
+
}
|
|
22
|
+
setTeamLeader(request) {
|
|
23
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.setTeamLeader), request);
|
|
24
|
+
}
|
|
25
|
+
upsertOrderToTeam(request) {
|
|
26
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.upsertOrderToTeam), request);
|
|
27
|
+
}
|
|
28
|
+
deleteTourTeam(request) {
|
|
29
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.deleteTourTeam), request);
|
|
30
|
+
}
|
|
31
|
+
getOrderBasicInfoById(tradeOrderId) {
|
|
32
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.getOrderBasicInfoById), tradeOrderId);
|
|
33
|
+
}
|
|
34
|
+
sendOrderPaidNotification(request) {
|
|
35
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.sendOrderPaidNotification), request);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
const tradeBffWebService = new TradeBffWebService();
|
|
39
|
+
exports.default = tradeBffWebService;
|
|
40
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/trade-bff/web/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,kBAAmB,SAAQ,qBAAW;IAA5C;;QACE,cAAS,GAAG,oBAAoB,CAAA;IAiElC,CAAC;IA/DC,wBAAwB,CACtB,EAAU;QAEV,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,wBAAwB,CAAC,EAC7C,EAAE,CACH,CAAA;IACH,CAAC;IAED,YAAY,CAAC,YAAoB;QAC/B,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,EACjC,YAAY,CACb,CAAA;IACH,CAAC;IAED,mBAAmB,CACjB,OAAiD;QAEjD,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,EACxC,OAAO,CACR,CAAA;IACH,CAAC;IAED,aAAa,CAAC,OAA2C;QACvD,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,EAClC,OAAO,CACR,CAAA;IACH,CAAC;IAED,iBAAiB,CAAC,OAA+C;QAC/D,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,EACtC,OAAO,CACR,CAAA;IACH,CAAC;IAED,cAAc,CAAC,OAA4C;QACzD,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,EACnC,OAAO,CACR,CAAA;IACH,CAAC;IAED,qBAAqB,CACnB,YAAoB;QAEpB,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,EAC1C,YAAY,CACb,CAAA;IACH,CAAC;IAED,yBAAyB,CACvB,OAAuD;QAEvD,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,yBAAyB,CAAC,EAC9C,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,kBAAkB,GAAG,IAAI,kBAAkB,EAAE,CAAA;AACnD,kBAAe,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import BaseService from '../../../baseService';
|
|
2
|
+
import { TradeBff } from '../type';
|
|
3
|
+
declare class TradeBffWeworkService extends BaseService implements TradeBff.Wework.Controller {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
changeOrderContactInfo(request: TradeBff.Wework.Request.ChangeOrderContactInfo): Promise<void>;
|
|
6
|
+
createOrderInvoiceRecord(request: TradeBff.Wework.Request.CreateOrderInvoiceRecord): Promise<string>;
|
|
7
|
+
}
|
|
8
|
+
declare const tradeBffWeworkService: TradeBffWeworkService;
|
|
9
|
+
export default tradeBffWeworkService;
|
|
@@ -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 TradeBffWeworkService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/biz/trade-bff/wework';
|
|
12
|
+
}
|
|
13
|
+
changeOrderContactInfo(request) {
|
|
14
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.changeOrderContactInfo), request);
|
|
15
|
+
}
|
|
16
|
+
createOrderInvoiceRecord(request) {
|
|
17
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.createOrderInvoiceRecord), request);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
const tradeBffWeworkService = new TradeBffWeworkService();
|
|
21
|
+
exports.default = tradeBffWeworkService;
|
|
22
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/trade-bff/wework/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,qBAAsB,SAAQ,qBAAW;IAA/C;;QACE,cAAS,GAAG,uBAAuB,CAAA;IAmBrC,CAAC;IAjBC,sBAAsB,CACpB,OAAuD;QAEvD,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAAC,EAC3C,OAAO,CACR,CAAA;IACH,CAAC;IAED,wBAAwB,CACtB,OAAyD;QAEzD,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,wBAAwB,CAAC,EAC7C,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,qBAAqB,GAAG,IAAI,qBAAqB,EAAE,CAAA;AACzD,kBAAe,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import BaseService from '../../../../baseService';
|
|
2
|
+
import { TradeBff } from '../../type';
|
|
3
|
+
declare class TradeBffWeworkTouristMaterialService extends BaseService implements TradeBff.Wework.TouristMaterial.Controller {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
queryOrderEntityMaterial(request: TradeBff.Wework.TouristMaterial.Request.QueryOrderEntityMaterial): Promise<TradeBff.Wework.TouristMaterial.Response.QueryOrderEntityMaterial>;
|
|
6
|
+
updateEntityMaterial(request: TradeBff.Wework.TouristMaterial.Request.UpdateEntityMaterial): Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
declare const tradeBffWeworkTouristMaterialService: TradeBffWeworkTouristMaterialService;
|
|
9
|
+
export default tradeBffWeworkTouristMaterialService;
|
|
@@ -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 TradeBffWeworkTouristMaterialService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/biz/trade-bff/wework/touristMaterial';
|
|
12
|
+
}
|
|
13
|
+
queryOrderEntityMaterial(request) {
|
|
14
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.queryOrderEntityMaterial), request);
|
|
15
|
+
}
|
|
16
|
+
updateEntityMaterial(request) {
|
|
17
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.updateEntityMaterial), request);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
const tradeBffWeworkTouristMaterialService = new TradeBffWeworkTouristMaterialService();
|
|
21
|
+
exports.default = tradeBffWeworkTouristMaterialService;
|
|
22
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../../src/vs/modules/biz/trade-bff/wework/touristMaterial/service.ts"],"names":[],"mappings":";;;;;AAAA,8CAAgD;AAChD,0EAAiD;AAGjD,MAAM,oCACJ,SAAQ,qBAAW;IADrB;;QAIE,cAAS,GAAG,uCAAuC,CAAA;IAmBrD,CAAC;IAjBC,wBAAwB,CACtB,OAAyE;QAEzE,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,wBAAwB,CAAC,EAC7C,OAAO,CACR,CAAA;IACH,CAAC;IAED,oBAAoB,CAClB,OAAqE;QAErE,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC,EACzC,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,oCAAoC,GAAG,IAAI,oCAAoC,EAAE,CAAA;AACvF,kBAAe,oCAAoC,CAAA"}
|