@be-link/vitality-cli-nodejs 0.0.16 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -41,6 +41,10 @@ import storeService, { storeJobService, storeMainService } from './vs/modules/bi
41
41
  import tourMaterialService, { tourMaterialBossService } from './vs/modules/biz/tourMaterial';
42
42
  import adjustmentService, { adjustmentJobService, adjustmentMainService, adjustmentSdkManifest } from './vs/modules/biz/adjustment';
43
43
  import { commodityCallerSdkManifest } from './vs/modules/biz/commodity/manifest';
44
+ import wxShopCommodityService from './vs/modules/biz/wx-shop/commodity/service';
45
+ import groupBookingMiniappService from './vs/modules/biz/groupBooking/miniapp/service';
46
+ import groupBookingWebService from './vs/modules/biz/groupBooking/web/service';
47
+ import insuranceMainService from './vs/modules/biz/insurance/main/service';
44
48
  import vitalityInvokeService from './vs/modules/invokeService';
45
49
  import { Token } from './vs/modules/biz/core/token/type';
46
50
  import { AccessToken } from './vs/modules/biz/core/accessToken/type';
@@ -60,7 +64,10 @@ import { Supplier } from './vs/modules/biz/supplier/type';
60
64
  import { Merchant } from './vs/modules/biz/merchant/type';
61
65
  import { POI } from './vs/modules/biz/poi/type';
62
66
  import { Adjustment } from './vs/modules/biz/adjustment/type';
63
- 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, vitalityInvokeService, Token, AccessToken, CoreCache, CoreConfig, CoreCos, CoreNmc, CoreQwNotify, CoreShortLink, CoreTenpay, Banner, Activity, FrontendConfig, Supplier, Merchant, POI, Adjustment, };
67
+ import { WxShop } from './vs/modules/biz/wx-shop/type';
68
+ import { GroupBooking } from './vs/modules/biz/groupBooking/type';
69
+ import { Insurance } from './vs/modules/biz/insurance/type';
70
+ 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, groupBookingMiniappService, groupBookingWebService, insuranceMainService, vitalityInvokeService, Token, AccessToken, CoreCache, CoreConfig, CoreCos, CoreNmc, CoreQwNotify, CoreShortLink, CoreTenpay, Banner, Activity, FrontendConfig, Supplier, Merchant, POI, Adjustment, WxShop, GroupBooking, Insurance, };
64
71
  export * from './vs/modules/biz/commodity';
65
72
  export * from './vs/modules/biz/commodityV2';
66
73
  export * from './vs/modules/biz/channelPageConfig';
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.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.insuranceMainService = exports.groupBookingWebService = exports.groupBookingMiniappService = 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"));
@@ -131,6 +131,14 @@ Object.defineProperty(exports, "adjustmentMainService", { enumerable: true, get:
131
131
  Object.defineProperty(exports, "adjustmentSdkManifest", { enumerable: true, get: function () { return adjustment_1.adjustmentSdkManifest; } });
132
132
  const manifest_1 = require("./vs/modules/biz/commodity/manifest");
133
133
  Object.defineProperty(exports, "commodityCallerSdkManifest", { enumerable: true, get: function () { return manifest_1.commodityCallerSdkManifest; } });
134
+ const service_27 = __importDefault(require("./vs/modules/biz/wx-shop/commodity/service"));
135
+ exports.wxShopCommodityService = service_27.default;
136
+ const service_28 = __importDefault(require("./vs/modules/biz/groupBooking/miniapp/service"));
137
+ exports.groupBookingMiniappService = service_28.default;
138
+ const service_29 = __importDefault(require("./vs/modules/biz/groupBooking/web/service"));
139
+ exports.groupBookingWebService = service_29.default;
140
+ const service_30 = __importDefault(require("./vs/modules/biz/insurance/main/service"));
141
+ exports.insuranceMainService = service_30.default;
134
142
  const invokeService_1 = __importDefault(require("./vs/modules/invokeService"));
135
143
  exports.vitalityInvokeService = invokeService_1.default;
136
144
  const manifest_2 = require("./vs/modules/biz/core/manifest");
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iEAAwC;AAmFtC,mBAnFK,kBAAQ,CAmFL;AAlFV,+DAAsC;AAmFpC,kBAnFK,iBAAO,CAmFL;AAlFT,2EAAkD;AAmFhD,sBAnFK,qBAAW,CAmFL;AAlFb,oCAA+C;AAmF7C,wFAnFO,cAAO,OAmFP;AACP,2FApFgB,iBAAU,OAoFhB;AAnFZ,2DAAyC;AAoFvC,qBApFK,aAAU,CAoFL;AAnFZ,uFAA4E;AAoF1E,gCApFK,iBAAqB,CAoFL;AAnFvB,2DAAyC;AAoFvC,qBApFK,aAAU,CAoFL;AAnFZ,wFAA8E;AAoF5E,iCApFK,iBAAsB,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AEjB,qGAxFA,iCAAoB,OAwFA;AADpB,sGAtFA,kCAAqB,OAsFA;AAErB,sGAvFA,kCAAqB,OAuFA;AArFvB,kEAAgF;AAsF9E,2GAtFO,qCAA0B,OAsFP;AArF5B,0FAA+E;AAuF7E,iCAvFK,kBAAsB,CAuFL;AAtFxB,6FAAsF;AAuFpF,qCAvFK,kBAA0B,CAuFL;AAtF5B,yFAA8E;AAuF5E,iCAvFK,kBAAsB,CAuFL;AAtFxB,uFAA0E;AAuFxE,+BAvFK,kBAAoB,CAuFL;AAtFtB,+EAA8D;AAuF5D,gCAvFK,uBAAqB,CAuFL;AA7EvB,6DAAsE;AA+BpE,sGA/BO,gCAAqB,OA+BP;AA9BvB,uDAAqD;AAsFnD,uFAtFO,aAAM,OAsFP;AArFR,yDAAyD;AAsFvD,yFAtFO,eAAQ,OAsFP;AArFV,iEAAwE;AAqEtE,oGArEO,8BAAmB,OAqEP;AA2BrB,6DAA0C;AAC1C,+DAA4C;AAC5C,qEAAkD;AAClD,4DAAyC;AACzC,+DAA4C;AAC5C,gEAA6C;AAC7C,uDAAoC;AACpC,yDAAsC;AACtC,gEAA6C;AAC7C,8DAA2C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/vitality-cli-nodejs",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "VitalityService Node.js 客户端",
5
5
  "main": "index.js",
6
6
  "author": "dev@8848top.com",
@@ -0,0 +1,8 @@
1
+ import BaseService from '../../../baseService';
2
+ import { GroupBooking } from '../type';
3
+ declare class GroupBookingMiniappService extends BaseService implements GroupBooking.Miniapp.Controller {
4
+ prefixUrl: string;
5
+ transformUnionIdToUserId(request: GroupBooking.Miniapp.Request.TransformUnionIdToUserId): Promise<any>;
6
+ }
7
+ declare const groupBookingMiniappService: GroupBookingMiniappService;
8
+ export default groupBookingMiniappService;
@@ -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 GroupBookingMiniappService extends baseService_1.default {
9
+ constructor() {
10
+ super(...arguments);
11
+ this.prefixUrl = '/biz/groupBooking/miniapp';
12
+ }
13
+ transformUnionIdToUserId(request) {
14
+ return (0, http_1.callScfApi)(this.getApiUrl(this.transformUnionIdToUserId), request);
15
+ }
16
+ }
17
+ const groupBookingMiniappService = new GroupBookingMiniappService();
18
+ exports.default = groupBookingMiniappService;
19
+ //# sourceMappingURL=service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/groupBooking/miniapp/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,0BACJ,SAAQ,qBAAW;IADrB;;QAIE,cAAS,GAAG,2BAA2B,CAAA;IAUzC,CAAC;IARC,wBAAwB,CACtB,OAA8D;QAE9D,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,wBAAwB,CAAC,EAC7C,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,0BAA0B,GAAG,IAAI,0BAA0B,EAAE,CAAA;AACnE,kBAAe,0BAA0B,CAAA"}
@@ -0,0 +1,22 @@
1
+ export declare namespace GroupBooking {
2
+ namespace Miniapp {
3
+ namespace Request {
4
+ interface TransformUnionIdToUserId {
5
+ unionId: string;
6
+ }
7
+ }
8
+ interface Controller {
9
+ transformUnionIdToUserId(request: Request.TransformUnionIdToUserId): Promise<any>;
10
+ }
11
+ }
12
+ namespace Web {
13
+ namespace Request {
14
+ interface GetItemGroupBookingRuleById {
15
+ itemId: string;
16
+ }
17
+ }
18
+ interface Controller {
19
+ getItemGroupBookingRuleById(request: Request.GetItemGroupBookingRuleById): Promise<any>;
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/groupBooking/type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import BaseService from '../../../baseService';
2
+ import { GroupBooking } from '../type';
3
+ declare class GroupBookingWebService extends BaseService implements GroupBooking.Web.Controller {
4
+ prefixUrl: string;
5
+ getItemGroupBookingRuleById(request: GroupBooking.Web.Request.GetItemGroupBookingRuleById): Promise<any>;
6
+ }
7
+ declare const groupBookingWebService: GroupBookingWebService;
8
+ export default groupBookingWebService;
@@ -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 GroupBookingWebService extends baseService_1.default {
9
+ constructor() {
10
+ super(...arguments);
11
+ this.prefixUrl = '/biz/groupBooking/web';
12
+ }
13
+ getItemGroupBookingRuleById(request) {
14
+ return (0, http_1.callScfApi)(this.getApiUrl(this.getItemGroupBookingRuleById), request);
15
+ }
16
+ }
17
+ const groupBookingWebService = new GroupBookingWebService();
18
+ exports.default = groupBookingWebService;
19
+ //# sourceMappingURL=service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/groupBooking/web/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,sBACJ,SAAQ,qBAAW;IADrB;;QAIE,cAAS,GAAG,uBAAuB,CAAA;IAUrC,CAAC;IARC,2BAA2B,CACzB,OAA6D;QAE7D,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,EAChD,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,sBAAsB,GAAG,IAAI,sBAAsB,EAAE,CAAA;AAC3D,kBAAe,sBAAsB,CAAA"}
@@ -1198,5 +1198,50 @@ declare const bizService: {
1198
1198
  getApiUrl(func: Function): string;
1199
1199
  };
1200
1200
  };
1201
+ wxShop: {
1202
+ commodity: {
1203
+ prefixUrl: string;
1204
+ queryEcCommodityItemForCms(request: import("./wx-shop/type").WxShop.Commodity.Request.QueryEcCommodityItemForCms): Promise<{
1205
+ totalCount: number;
1206
+ data: any[];
1207
+ }>;
1208
+ getRemainStockNumPerDayByBuyingSourceV2(request: import("./wx-shop/type").WxShop.Commodity.Request.GetRemainStockNumPerDayByBuyingSourceV2): Promise<any>;
1209
+ queryEcItemsByItemIds(request: string[]): Promise<any>;
1210
+ queryWxShopSpuByName(request: string): Promise<any>;
1211
+ readonly publicDevHost: "https://vs-dev.wejourney.top";
1212
+ readonly publicProdHost: "https://vs.wejourney.top";
1213
+ getHost(): string;
1214
+ getApiUrl(func: Function): string;
1215
+ };
1216
+ };
1217
+ groupBooking: {
1218
+ miniapp: {
1219
+ prefixUrl: string;
1220
+ transformUnionIdToUserId(request: import("./groupBooking/type").GroupBooking.Miniapp.Request.TransformUnionIdToUserId): Promise<any>;
1221
+ readonly publicDevHost: "https://vs-dev.wejourney.top";
1222
+ readonly publicProdHost: "https://vs.wejourney.top";
1223
+ getHost(): string;
1224
+ getApiUrl(func: Function): string;
1225
+ };
1226
+ web: {
1227
+ prefixUrl: string;
1228
+ getItemGroupBookingRuleById(request: import("./groupBooking/type").GroupBooking.Web.Request.GetItemGroupBookingRuleById): Promise<any>;
1229
+ readonly publicDevHost: "https://vs-dev.wejourney.top";
1230
+ readonly publicProdHost: "https://vs.wejourney.top";
1231
+ getHost(): string;
1232
+ getApiUrl(func: Function): string;
1233
+ };
1234
+ };
1235
+ insurance: {
1236
+ main: {
1237
+ prefixUrl: string;
1238
+ queryInsuranceRecordByOrderId(request: string): Promise<any>;
1239
+ reInitOrderInsuranceRecord(request: string): Promise<void>;
1240
+ readonly publicDevHost: "https://vs-dev.wejourney.top";
1241
+ readonly publicProdHost: "https://vs.wejourney.top";
1242
+ getHost(): string;
1243
+ getApiUrl(func: Function): string;
1244
+ };
1245
+ };
1201
1246
  };
1202
1247
  export default bizService;
@@ -38,6 +38,10 @@ const rms_1 = __importDefault(require("./rms"));
38
38
  const store_1 = __importDefault(require("./store"));
39
39
  const tourMaterial_1 = __importDefault(require("./tourMaterial"));
40
40
  const adjustment_1 = __importDefault(require("./adjustment"));
41
+ const service_26 = __importDefault(require("./wx-shop/commodity/service"));
42
+ const service_27 = __importDefault(require("./groupBooking/miniapp/service"));
43
+ const service_28 = __importDefault(require("./groupBooking/web/service"));
44
+ const service_29 = __importDefault(require("./insurance/main/service"));
41
45
  /** biz 包下已封装模块,随平迁逐步扩展 */
42
46
  const bizService = {
43
47
  core: {
@@ -87,6 +91,16 @@ const bizService = {
87
91
  store: store_1.default,
88
92
  tourMaterial: tourMaterial_1.default,
89
93
  adjustment: adjustment_1.default,
94
+ wxShop: {
95
+ commodity: service_26.default,
96
+ },
97
+ groupBooking: {
98
+ miniapp: service_27.default,
99
+ web: service_28.default,
100
+ },
101
+ insurance: {
102
+ main: service_29.default,
103
+ },
90
104
  };
91
105
  exports.default = bizService;
92
106
  //# 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,yE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,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;CAC9B,CAAA;AAED,kBAAe,UAAU,CAAA"}
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,8EAAuE;AACvE,0EAA+D;AAC/D,wEAA2D;AAE3D,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;KAClC;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,kBAA0B;QACnC,GAAG,EAAE,kBAAsB;KAC5B;IACD,SAAS,EAAE;QACT,IAAI,EAAE,kBAAoB;KAC3B;CACF,CAAA;AAED,kBAAe,UAAU,CAAA"}
@@ -0,0 +1,9 @@
1
+ import BaseService from '../../../baseService';
2
+ import { Insurance } from '../type';
3
+ declare class InsuranceMainService extends BaseService implements Insurance.Main.Controller {
4
+ prefixUrl: string;
5
+ queryInsuranceRecordByOrderId(request: string): Promise<any>;
6
+ reInitOrderInsuranceRecord(request: string): Promise<void>;
7
+ }
8
+ declare const insuranceMainService: InsuranceMainService;
9
+ export default insuranceMainService;
@@ -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 InsuranceMainService extends baseService_1.default {
9
+ constructor() {
10
+ super(...arguments);
11
+ this.prefixUrl = '/biz/insurance/main';
12
+ }
13
+ queryInsuranceRecordByOrderId(request) {
14
+ return (0, http_1.callScfApi)(this.getApiUrl(this.queryInsuranceRecordByOrderId), request);
15
+ }
16
+ reInitOrderInsuranceRecord(request) {
17
+ return (0, http_1.callScfApi)(this.getApiUrl(this.reInitOrderInsuranceRecord), request);
18
+ }
19
+ }
20
+ const insuranceMainService = new InsuranceMainService();
21
+ exports.default = insuranceMainService;
22
+ //# sourceMappingURL=service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/insurance/main/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,oBAAqB,SAAQ,qBAAW;IAA9C;;QACE,cAAS,GAAG,qBAAqB,CAAA;IAenC,CAAC;IAbC,6BAA6B,CAAC,OAAe;QAC3C,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,6BAA6B,CAAC,EAClD,OAAO,CACR,CAAA;IACH,CAAC;IAED,0BAA0B,CAAC,OAAe;QACxC,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,0BAA0B,CAAC,EAC/C,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,oBAAoB,GAAG,IAAI,oBAAoB,EAAE,CAAA;AACvD,kBAAe,oBAAoB,CAAA"}
@@ -0,0 +1,10 @@
1
+ export declare namespace Insurance {
2
+ namespace Main {
3
+ interface Controller {
4
+ /** @param request 标量:orderId */
5
+ queryInsuranceRecordByOrderId(request: string): Promise<any>;
6
+ /** @param request 标量:tradeOrderId(当前 no-op) */
7
+ reInitOrderInsuranceRecord(request: string): Promise<void>;
8
+ }
9
+ }
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/insurance/type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import BaseService from '../../../baseService';
2
+ import { WxShop } from '../type';
3
+ declare class WxShopCommodityService extends BaseService implements WxShop.Commodity.Controller {
4
+ prefixUrl: string;
5
+ queryEcCommodityItemForCms(request: WxShop.Commodity.Request.QueryEcCommodityItemForCms): Promise<{
6
+ totalCount: number;
7
+ data: any[];
8
+ }>;
9
+ getRemainStockNumPerDayByBuyingSourceV2(request: WxShop.Commodity.Request.GetRemainStockNumPerDayByBuyingSourceV2): Promise<any>;
10
+ queryEcItemsByItemIds(request: string[]): Promise<any>;
11
+ queryWxShopSpuByName(request: string): Promise<any>;
12
+ }
13
+ declare const wxShopCommodityService: WxShopCommodityService;
14
+ export default wxShopCommodityService;
@@ -0,0 +1,28 @@
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 WxShopCommodityService extends baseService_1.default {
9
+ constructor() {
10
+ super(...arguments);
11
+ this.prefixUrl = '/biz/wx-shop/commodity';
12
+ }
13
+ queryEcCommodityItemForCms(request) {
14
+ return (0, http_1.callScfApi)(this.getApiUrl(this.queryEcCommodityItemForCms), request);
15
+ }
16
+ getRemainStockNumPerDayByBuyingSourceV2(request) {
17
+ return (0, http_1.callScfApi)(this.getApiUrl(this.getRemainStockNumPerDayByBuyingSourceV2), request);
18
+ }
19
+ queryEcItemsByItemIds(request) {
20
+ return (0, http_1.callScfApi)(this.getApiUrl(this.queryEcItemsByItemIds), request);
21
+ }
22
+ queryWxShopSpuByName(request) {
23
+ return (0, http_1.callScfApi)(this.getApiUrl(this.queryWxShopSpuByName), request);
24
+ }
25
+ }
26
+ const wxShopCommodityService = new WxShopCommodityService();
27
+ exports.default = wxShopCommodityService;
28
+ //# sourceMappingURL=service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/wx-shop/commodity/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,sBAAuB,SAAQ,qBAAW;IAAhD;;QACE,cAAS,GAAG,wBAAwB,CAAA;IAiCtC,CAAC;IA/BC,0BAA0B,CACxB,OAA4D;QAE5D,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,0BAA0B,CAAC,EAC/C,OAAO,CACR,CAAA;IACH,CAAC;IAED,uCAAuC,CACrC,OAAyE;QAEzE,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,uCAAuC,CAAC,EAC5D,OAAO,CACR,CAAA;IACH,CAAC;IAED,qBAAqB,CAAC,OAAiB;QACrC,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,EAC1C,OAAO,CACR,CAAA;IACH,CAAC;IAED,oBAAoB,CAAC,OAAe;QAClC,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC,EACzC,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,sBAAsB,GAAG,IAAI,sBAAsB,EAAE,CAAA;AAC3D,kBAAe,sBAAsB,CAAA"}
@@ -0,0 +1,35 @@
1
+ export declare namespace WxShop {
2
+ namespace Commodity {
3
+ namespace Request {
4
+ interface QueryEcCommodityItemForCms {
5
+ status?: string;
6
+ isFromWxChannel?: number;
7
+ itemName?: string;
8
+ categoryTwoList?: string[];
9
+ pageIndex: number;
10
+ pageSize: number;
11
+ orderBy: {
12
+ key: string;
13
+ order: 'ASC' | 'DESC';
14
+ }[];
15
+ }
16
+ interface GetRemainStockNumPerDayByBuyingSourceV2 {
17
+ itemId: string;
18
+ skuId: string;
19
+ buyingSource: string;
20
+ stockLimitPerDay: any;
21
+ }
22
+ }
23
+ interface Controller {
24
+ queryEcCommodityItemForCms(request: Request.QueryEcCommodityItemForCms): Promise<{
25
+ totalCount: number;
26
+ data: any[];
27
+ }>;
28
+ getRemainStockNumPerDayByBuyingSourceV2(request: Request.GetRemainStockNumPerDayByBuyingSourceV2): Promise<any>;
29
+ /** @param request 根数组:itemIds */
30
+ queryEcItemsByItemIds(request: string[]): Promise<any>;
31
+ /** @param request 标量:商品名 */
32
+ queryWxShopSpuByName(request: string): Promise<any>;
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/wx-shop/type.ts"],"names":[],"mappings":""}