@be-link/vitality-cli-nodejs 0.0.26 → 0.0.28

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.
Files changed (41) hide show
  1. package/README.md +1 -97
  2. package/index.d.ts +7 -1
  3. package/index.js +14 -1
  4. package/index.js.map +1 -1
  5. package/package.json +2 -1
  6. package/vs/modules/biz/index.d.ts +71 -0
  7. package/vs/modules/biz/index.js +2 -0
  8. package/vs/modules/biz/index.js.map +1 -1
  9. package/vs/modules/biz/trade-bff/index.d.ts +81 -0
  10. package/vs/modules/biz/trade-bff/index.js +34 -0
  11. package/vs/modules/biz/trade-bff/index.js.map +1 -0
  12. package/vs/modules/biz/trade-bff/job/service.d.ts +10 -0
  13. package/vs/modules/biz/trade-bff/job/service.js +25 -0
  14. package/vs/modules/biz/trade-bff/job/service.js.map +1 -0
  15. package/vs/modules/biz/trade-bff/manifest.d.ts +19 -0
  16. package/vs/modules/biz/trade-bff/manifest.js +40 -0
  17. package/vs/modules/biz/trade-bff/manifest.js.map +1 -0
  18. package/vs/modules/biz/trade-bff/miniapp/touristMaterial/service.d.ts +8 -0
  19. package/vs/modules/biz/trade-bff/miniapp/touristMaterial/service.js +19 -0
  20. package/vs/modules/biz/trade-bff/miniapp/touristMaterial/service.js.map +1 -0
  21. package/vs/modules/biz/trade-bff/orderManagementCenterWework/service.d.ts +15 -0
  22. package/vs/modules/biz/trade-bff/orderManagementCenterWework/service.js +25 -0
  23. package/vs/modules/biz/trade-bff/orderManagementCenterWework/service.js.map +1 -0
  24. package/vs/modules/biz/trade-bff/type.d.ts +392 -0
  25. package/vs/modules/biz/trade-bff/type.js +3 -0
  26. package/vs/modules/biz/trade-bff/type.js.map +1 -0
  27. package/vs/modules/biz/trade-bff/web/service.d.ts +15 -0
  28. package/vs/modules/biz/trade-bff/web/service.js +40 -0
  29. package/vs/modules/biz/trade-bff/web/service.js.map +1 -0
  30. package/vs/modules/biz/trade-bff/wework/service.d.ts +9 -0
  31. package/vs/modules/biz/trade-bff/wework/service.js +22 -0
  32. package/vs/modules/biz/trade-bff/wework/service.js.map +1 -0
  33. package/vs/modules/biz/trade-bff/wework/touristMaterial/service.d.ts +9 -0
  34. package/vs/modules/biz/trade-bff/wework/touristMaterial/service.js +22 -0
  35. package/vs/modules/biz/trade-bff/wework/touristMaterial/service.js.map +1 -0
  36. package/vs/modules/dbEvent/service.d.ts +8 -0
  37. package/vs/modules/dbEvent/service.js +19 -0
  38. package/vs/modules/dbEvent/service.js.map +1 -0
  39. package/vs/modules/dbEvent/type.d.ts +24 -0
  40. package/vs/modules/dbEvent/type.js +3 -0
  41. package/vs/modules/dbEvent/type.js.map +1 -0
package/README.md CHANGED
@@ -1,99 +1,3 @@
1
1
  # @be-link/vitality-cli-nodejs
2
2
 
3
- VitalityService 的 Node.js SDK,**用法与 `@be-link/cs-cli-nodejs` 一致**。
4
-
5
- ## 调用方式(与商品 SDK 相同)
6
-
7
- ```typescript
8
- import {
9
- frontendConfigService,
10
- bannerWebService,
11
- supplierShuttleBusService,
12
- adjustmentMainService,
13
- adjustmentJobService,
14
- bizService,
15
- coreTokenService,
16
- } from '@be-link/vitality-cli-nodejs'
17
-
18
- // 直接调方法,不是 .call({ func })
19
- const migrationRouteConfig = await frontendConfigService.getMigrationRouteConfig()
20
- await coreTokenService.getMiniAppVitalityToken({})
21
- await bannerWebService.queryBannerList({})
22
- await supplierShuttleBusService.queryShuttleBusList({ pageIndex: 0, pageSize: 20 })
23
- await adjustmentMainService.hasAdjustmentOrder(['main-order-id'])
24
- await adjustmentJobService.jobAutoCloseUnpaidOrder()
25
- await adjustmentJobService.jobDoRefund()
26
- await adjustmentJobService.jobProcessDomainEventOutbox()
27
-
28
- // 或命名空间聚合
29
- await bizService.banner.web.queryBannerList({})
30
- await bizService.supplier.shuttleBus.queryShuttleBusList({ pageIndex: 0, pageSize: 20 })
31
- await bizService.activity.venue.queryUserTaskRecords({ unionId: 'union-id' })
32
- await bizService.activity.springAct.queryBranchVenue()
33
- await bizService.core.config.get('CONFIG_KEY')
34
- await bizService.core.token.batchRefreshEcommerceAccessToken([
35
- { appId: 'mini-app-id', secret: 'mini-app-secret' },
36
- ])
37
- ```
38
-
39
- Core 按 9 个 service 聚合,冻结公开 38 个方法。Activity 按 11 个 service 聚合,冻结公开 72 个方法。Adjustment 按 `main`、`job` 聚合,冻结公开 11 个 Main 方法和 3 个 Job 方法;transport 支持范围扩大不会自动把 manifest 中此前排除的接口加入 SDK。
40
-
41
- ## Adjustment
42
-
43
- Adjustment 只公开后端调用方复核命中的 14 个具名方法。多位置参数 `queryByMainOrder`、其余服务端兼容 Route 和 Payment 方法不在本轮 SDK 公开面中,完整冻结清单可查看 `adjustmentSdkManifest`。
44
-
45
- ## Activity
46
-
47
- Activity 按 `main`、`venue`、`doubleEleven`、`anniversary`、`wxLive`、`springAct`、`schoolAct`、`marketingAct`、`inviteFission`、`desire`、`job` 聚合,共公开 72 个单对象参数或无参方法。
48
-
49
- 单个 object、根数组、string、number、boolean 或 `null` 参数都可由 SCF transport 完整表达。两个及以上业务位置参数仍无法迁移,因为 envelope 只能恢复一个 param;这类接口必须先由服务端提供单对象 adapter。服务端未注册的方法、已有 route/server 排除项和进程内 helper 不会因 transport 支持 primitive/数组而提前导出,完整冻结清单可查看 `activitySdkManifest`。
50
-
51
- 履约/订单服务调商品服务:
52
-
53
- ```typescript
54
- import { itemQueryService } from '@be-link/cs-cli-nodejs'
55
- await itemQueryService.byItem.queryItemSearchInfo({ itemIds: [...] })
56
- ```
57
-
58
- 调 VitalityService 同理:
59
-
60
- ```typescript
61
- import { coreTokenService } from '@be-link/vitality-cli-nodejs'
62
- await coreTokenService.getMiniAppVitalityToken({})
63
- ```
64
-
65
- ## 目录约定(对齐 cs-cli)
66
-
67
- ```text
68
- src/vs/modules/biz/{module}/{service}/service.ts # 一个 Service 类 + 单例 export
69
- src/vs/modules/biz/{module}/type.ts # 模块共享类型;也可按 service 拆 type.ts
70
- src/vs/modules/api/{module}/{service}/service.ts # native API Service
71
- src/vs/modules/api/index.ts # api 命名空间聚合
72
- src/vs/modules/biz/index.ts # 命名空间聚合
73
- src/index.ts # 对外 export 单例
74
- ```
75
-
76
- - `prefixUrl` = `/{pkg}/{module}/{service}`,如 `/biz/core/token`
77
- - 路径最后一段保持原方法名,如 `getMemberInfo` → `getMemberInfo`
78
- - `/api/**` 原生 HTTP Service 使用 `callApi(this.getApiUrl(this.methodName), request)`:有参时参数直接作为 axios body,无参时 body 保持 `undefined`,绝不自动出现 `__scfParam`。
79
- - `/biz/**`、`/web/**` 云函数迁移 Service 使用 `callScfApi(this.getApiUrl(this.methodName), request)`:非 `undefined`(包括 `null`)编码为 `{ __scfParam: { present: true, value: request } }`,`undefined`/无参编码为 `{ __scfParam: { present: false } }`。
80
- - transport 类型由 Service 显式选择,不根据参数形态或 URL 猜测。业务调用方不要自己调用 axios,也不要自己拼 `__scfParam`。
81
- - `callApi` 与 `callScfApi` 复用同一底层请求,并同时识别旧云函数 `{ success, data, msg, errorCode }` 和 native `{ success, data, message }`;`success:false` 会抛 `BizError`,raw/null 响应原样返回。
82
- - `frontendConfigService.getMigrationRouteConfig()` 只负责拉取服务端配置;缓存时长和失败降级由调用方服务决定。
83
-
84
- ## 迁移期兜底
85
-
86
- 尚未封装到 cli 的接口可用 `vitalityInvokeService.call({ pkg, module, service, func, param })`,**新接口应优先补 Service 方法并发版**,不要长期依赖 invoke。
87
-
88
- ## 命令
89
-
90
- ```bash
91
- pnpm install
92
- pnpm build
93
- ```
94
-
95
- ## 环境
96
-
97
- - 内网鉴权:`process.env.authorizationTokenInside`(由调用方服务从 Shield 定时刷新)
98
- - 链路 ID:每次请求生成 UUID,与 `@be-link/cs-cli-nodejs` 一致
99
- - 非生产环境固定走测试公网;生产环境中 SCF 走生产公网,非 SCF 容器走生产内网
3
+ VitalityService 的 Node.js SDK,**用法与 `@be-link/cs-cli-nodejs` 一致**。
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';
@@ -57,6 +58,7 @@ import nmcMainService from './vs/modules/nmc/main/service';
57
58
  import nmcJobService from './vs/modules/nmc/job/service';
58
59
  import nmcStatsService from './vs/modules/nmc/stats/service';
59
60
  import vitalityInvokeService from './vs/modules/invokeService';
61
+ import dbEventService from './vs/modules/dbEvent/service';
60
62
  import { Token } from './vs/modules/biz/core/token/type';
61
63
  import { AccessToken } from './vs/modules/biz/core/accessToken/type';
62
64
  import { CoreCache } from './vs/modules/biz/core/cache/type';
@@ -82,9 +84,11 @@ import { Member } from './vs/modules/biz/member/type';
82
84
  import { Promotion } from './vs/modules/biz/promotion/type';
83
85
  import { SubscribeNotification } from './vs/modules/biz/subscribeNotification/type';
84
86
  import { UserAction } from './vs/modules/biz/userAction/type';
87
+ import { TradeBff } from './vs/modules/biz/trade-bff/type';
85
88
  import { Distribution } from './vs/modules/distribution/type';
86
89
  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, };
90
+ import { DbEvent } from './vs/modules/dbEvent/type';
91
+ 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, dbEventService, 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, DbEvent, };
88
92
  export * from './vs/modules/biz/commodity';
89
93
  export * from './vs/modules/biz/commodityV2';
90
94
  export * from './vs/modules/biz/channelPageConfig';
@@ -99,5 +103,7 @@ export * from './vs/modules/biz/member';
99
103
  export * from './vs/modules/biz/promotion';
100
104
  export * from './vs/modules/biz/subscribeNotification';
101
105
  export * from './vs/modules/biz/userAction';
106
+ export * from './vs/modules/biz/trade-bff';
102
107
  export * from './vs/modules/distribution/type';
103
108
  export * from './vs/modules/nmc/type';
109
+ export * from './vs/modules/dbEvent/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.dbEventService = 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"));
@@ -176,6 +185,8 @@ const service_37 = __importDefault(require("./vs/modules/nmc/stats/service"));
176
185
  exports.nmcStatsService = service_37.default;
177
186
  const invokeService_1 = __importDefault(require("./vs/modules/invokeService"));
178
187
  exports.vitalityInvokeService = invokeService_1.default;
188
+ const service_38 = __importDefault(require("./vs/modules/dbEvent/service"));
189
+ exports.dbEventService = service_38.default;
179
190
  const manifest_2 = require("./vs/modules/biz/core/manifest");
180
191
  Object.defineProperty(exports, "coreCallerSdkManifest", { enumerable: true, get: function () { return manifest_2.coreCallerSdkManifest; } });
181
192
  const type_1 = require("./vs/modules/biz/banner/type");
@@ -198,6 +209,8 @@ __exportStar(require("./vs/modules/biz/member"), exports);
198
209
  __exportStar(require("./vs/modules/biz/promotion"), exports);
199
210
  __exportStar(require("./vs/modules/biz/subscribeNotification"), exports);
200
211
  __exportStar(require("./vs/modules/biz/userAction"), exports);
212
+ __exportStar(require("./vs/modules/biz/trade-bff"), exports);
201
213
  __exportStar(require("./vs/modules/distribution/type"), exports);
202
214
  __exportStar(require("./vs/modules/nmc/type"), exports);
215
+ __exportStar(require("./vs/modules/dbEvent/type"), exports);
203
216
  //# 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;AA4HtC,mBA5HK,kBAAQ,CA4HL;AA3HV,+DAAsC;AA4HpC,kBA5HK,iBAAO,CA4HL;AA3HT,2EAAkD;AA4HhD,sBA5HK,qBAAW,CA4HL;AA3Hb,oCAA+C;AA4H7C,wFA5HO,cAAO,OA4HP;AACP,2FA7HgB,iBAAU,OA6HhB;AA5HZ,2DAAyC;AA6HvC,qBA7HK,aAAU,CA6HL;AA5HZ,uFAA4E;AA6H1E,gCA7HK,iBAAqB,CA6HL;AA5HvB,2DAAyC;AA6HvC,qBA7HK,aAAU,CA6HL;AA5HZ,wFAA8E;AA6H5E,iCA7HK,iBAAsB,CA6HL;AA5HxB,kFAAkE;AA6HhE,2BA7HK,iBAAgB,CA6HL;AA5HlB,mFAAoE;AA6HlE,4BA7HK,iBAAiB,CA6HL;AA5HnB,gFAA8D;AA6H5D,yBA7HK,iBAAc,CA6HL;AA5HhB,gFAA8D;AA6H5D,yBA7HK,iBAAc,CA6HL;AA5HhB,qFAAwE;AA6HtE,8BA7HK,iBAAmB,CA6HL;AA5HrB,sFAA0E;AA6HxE,+BA7HK,iBAAoB,CA6HL;AA5HtB,mFAAoE;AA6HlE,4BA7HK,iBAAiB,CA6HL;AA5HnB,mFAAkE;AA6HhE,2BA7HK,kBAAgB,CA6HL;AA5HlB,oFAAoE;AA8HlE,4BA9HK,kBAAiB,CA8HL;AA7HnB,mFAAkE;AA8HhE,2BA9HK,kBAAgB,CA8HL;AA7HlB,sFAAwE;AA8HtE,8BA9HK,kB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iEAAwE;AA6EtE,oGA7EO,8BAAmB,OA6EP;AAoErB,6DAA0C;AAC1C,+DAA4C;AAC5C,qEAAkD;AAClD,4DAAyC;AACzC,+DAA4C;AAC5C,gEAA6C;AAC7C,uDAAoC;AACpC,yDAAsC;AACtC,gEAA6C;AAC7C,8DAA2C;AAC3C,0DAAuC;AACvC,6DAA0C;AAC1C,yEAAsD;AACtD,8DAA2C;AAC3C,6DAA0C;AAC1C,iEAA8C;AAC9C,wDAAqC;AACrC,4DAAyC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/vitality-cli-nodejs",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
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;
@@ -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;AAE5C,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;I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A4B;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"}