@be-link/ecommerce-backend-bff-service-node-sdk 0.1.2 → 0.1.3
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/cjs/bff/modules/pandora/auth/types.d.ts +1 -0
- package/cjs/bff/modules/pandora/userManager/types/address.types.js +0 -4
- package/cjs/bff/modules/pandora/userManager/types/coupon.types.js +0 -4
- package/cjs/bff/modules/pandora/userManager/types/point.types.js +0 -4
- package/cjs/bff/modules/pandora/userManager/types/region.types.js +0 -4
- package/cjs/bff/modules/pandora/userManager/types/user.types.js +0 -4
- package/cjs/index.d.ts +11 -10
- package/cjs/index.js +44 -34
- package/esm/bff/modules/pandora/auth/types.d.ts +1 -0
- package/esm/bff/modules/pandora/userManager/types/address.types.mjs +0 -4
- package/esm/bff/modules/pandora/userManager/types/coupon.types.mjs +0 -4
- package/esm/bff/modules/pandora/userManager/types/point.types.mjs +0 -4
- package/esm/bff/modules/pandora/userManager/types/region.types.mjs +0 -4
- package/esm/bff/modules/pandora/userManager/types/user.types.mjs +0 -4
- package/esm/index.d.ts +11 -10
- package/esm/index.mjs +16 -6
- package/package.json +5 -4
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PandoraAddressManagementTypes = void 0;
|
|
4
|
-
const addressManagement_types_1 = require("@be-link/ecommerce-user-service-node-sdk/modules/admin/types/addressManagement.types");
|
|
5
4
|
var PandoraAddressManagementTypes;
|
|
6
5
|
(function (PandoraAddressManagementTypes) {
|
|
7
|
-
// 直接导出 user-service 的类型
|
|
8
|
-
PandoraAddressManagementTypes.Request = addressManagement_types_1.AddressManagementTypes.Request;
|
|
9
|
-
PandoraAddressManagementTypes.Response = addressManagement_types_1.AddressManagementTypes.Response;
|
|
10
6
|
})(PandoraAddressManagementTypes || (exports.PandoraAddressManagementTypes = PandoraAddressManagementTypes = {}));
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PandoraCouponManagementTypes = void 0;
|
|
4
|
-
const couponManagement_types_1 = require("@be-link/ecommerce-user-service-node-sdk/modules/admin/types/couponManagement.types");
|
|
5
4
|
var PandoraCouponManagementTypes;
|
|
6
5
|
(function (PandoraCouponManagementTypes) {
|
|
7
|
-
// 直接导出 user-service 的类型
|
|
8
|
-
PandoraCouponManagementTypes.Request = couponManagement_types_1.CouponManagementTypes.Request;
|
|
9
|
-
PandoraCouponManagementTypes.Response = couponManagement_types_1.CouponManagementTypes.Response;
|
|
10
6
|
})(PandoraCouponManagementTypes || (exports.PandoraCouponManagementTypes = PandoraCouponManagementTypes = {}));
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PandoraPointManagementTypes = void 0;
|
|
4
|
-
const pointManagement_types_1 = require("@be-link/ecommerce-user-service-node-sdk/modules/admin/types/pointManagement.types");
|
|
5
4
|
var PandoraPointManagementTypes;
|
|
6
5
|
(function (PandoraPointManagementTypes) {
|
|
7
|
-
// 直接导出 user-service 的类型
|
|
8
|
-
PandoraPointManagementTypes.Request = pointManagement_types_1.PointManagementTypes.Request;
|
|
9
|
-
PandoraPointManagementTypes.Response = pointManagement_types_1.PointManagementTypes.Response;
|
|
10
6
|
})(PandoraPointManagementTypes || (exports.PandoraPointManagementTypes = PandoraPointManagementTypes = {}));
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PandoraRegionManagementTypes = void 0;
|
|
4
|
-
const regionManagement_types_1 = require("@be-link/ecommerce-user-service-node-sdk/modules/admin/types/regionManagement.types");
|
|
5
4
|
var PandoraRegionManagementTypes;
|
|
6
5
|
(function (PandoraRegionManagementTypes) {
|
|
7
|
-
// 直接导出 user-service 的类型
|
|
8
|
-
PandoraRegionManagementTypes.Request = regionManagement_types_1.RegionManagementTypes.Request;
|
|
9
|
-
PandoraRegionManagementTypes.Response = regionManagement_types_1.RegionManagementTypes.Response;
|
|
10
6
|
})(PandoraRegionManagementTypes || (exports.PandoraRegionManagementTypes = PandoraRegionManagementTypes = {}));
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PandoraUserManagementTypes = void 0;
|
|
4
|
-
const userManagement_types_1 = require("@be-link/ecommerce-user-service-node-sdk/modules/admin/types/userManagement.types");
|
|
5
4
|
var PandoraUserManagementTypes;
|
|
6
5
|
(function (PandoraUserManagementTypes) {
|
|
7
|
-
// 直接导出 user-service 的类型
|
|
8
|
-
PandoraUserManagementTypes.Request = userManagement_types_1.UserManagementTypes.Request;
|
|
9
|
-
PandoraUserManagementTypes.Response = userManagement_types_1.UserManagementTypes.Response;
|
|
10
6
|
})(PandoraUserManagementTypes || (exports.PandoraUserManagementTypes = PandoraUserManagementTypes = {}));
|
package/cjs/index.d.ts
CHANGED
|
@@ -5,15 +5,9 @@ import { PandoraAuthService } from './bff/modules/pandora/auth/service';
|
|
|
5
5
|
import { PandoraBDService } from './bff/modules/pandora/bd/service';
|
|
6
6
|
import { PandoraBDMService } from './bff/modules/pandora/bdm/service';
|
|
7
7
|
import { PandoraCommonService } from './bff/modules/pandora/common/service';
|
|
8
|
-
import { PandoraCouponService } from './bff/modules/pandora/coupon/service';
|
|
9
|
-
import { PandoraExampleService } from './bff/modules/pandora/example/service';
|
|
10
|
-
import { PandoraProductService } from './bff/modules/pandora/product/service';
|
|
11
|
-
import { PandoraProductExpService } from './bff/modules/pandora/productExp/service';
|
|
12
8
|
import { PandoraProductLiveService } from './bff/modules/pandora/productLive/service';
|
|
13
9
|
import { PandoraRoleService } from './bff/modules/pandora/role/service';
|
|
14
10
|
import { PandoraRoomService } from './bff/modules/pandora/room/service';
|
|
15
|
-
import { PandoraStoreClerkService } from './bff/modules/pandora/storeClerk/service';
|
|
16
|
-
import { PandoraStoreManagerService } from './bff/modules/pandora/storeManager/service';
|
|
17
11
|
import { PandoraUserService } from './bff/modules/pandora/user/service';
|
|
18
12
|
import { PandoraUserManagementService } from './bff/modules/pandora/userManager/service/user.service';
|
|
19
13
|
import { PandoraPointManagementService } from './bff/modules/pandora/userManager/service/point.service';
|
|
@@ -26,6 +20,12 @@ import { PandoraOrderCoreService } from './bff/modules/pandora/orderCore/service
|
|
|
26
20
|
import { PandoraTaskService } from './bff/modules/pandora/task/service';
|
|
27
21
|
import { PandoraTaskWatchService } from './bff/modules/pandora/taskWatch/service';
|
|
28
22
|
import { PandoraPointRuleService } from './bff/modules/pandora/pointRule/service';
|
|
23
|
+
import { PandoraCouponService } from './bff/modules/pandora/coupon/service';
|
|
24
|
+
import { PandoraExampleService } from './bff/modules/pandora/example/service';
|
|
25
|
+
import { PandoraProductService } from './bff/modules/pandora/product/service';
|
|
26
|
+
import { PandoraProductExpService } from './bff/modules/pandora/productExp/service';
|
|
27
|
+
import { PandoraStoreClerkService } from './bff/modules/pandora/storeClerk/service';
|
|
28
|
+
import { PandoraStoreManagerService } from './bff/modules/pandora/storeManager/service';
|
|
29
29
|
import { PandoraAwardService } from './bff/modules/pandora/award/service';
|
|
30
30
|
import { PandoraFranchiseeService } from './bff/modules/pandora/franchisee/service';
|
|
31
31
|
import { MiniprogramFranchiseeService } from './bff/modules/miniprogram/franchisee/service';
|
|
@@ -60,11 +60,14 @@ export declare class PandoraSDK {
|
|
|
60
60
|
productExp: PandoraProductExpService;
|
|
61
61
|
productLive: PandoraProductLiveService;
|
|
62
62
|
coupon: PandoraCouponService;
|
|
63
|
-
pointMall: PandoraPointsMallService;
|
|
64
63
|
/**
|
|
65
64
|
* Pandora 门店服务模块
|
|
66
65
|
*/
|
|
67
66
|
store: PandoraStoreService;
|
|
67
|
+
pointMall: PandoraPointsMallService;
|
|
68
|
+
/**
|
|
69
|
+
* Pandora 门店用户关系服务模块
|
|
70
|
+
*/
|
|
68
71
|
award: PandoraAwardService;
|
|
69
72
|
/**
|
|
70
73
|
* 直播间模块
|
|
@@ -79,8 +82,6 @@ export declare class PandoraSDK {
|
|
|
79
82
|
* 加盟商模块
|
|
80
83
|
*/
|
|
81
84
|
franchisee: PandoraFranchiseeService;
|
|
82
|
-
orderQuery: PandoraOrderQueryService;
|
|
83
|
-
orderCore: PandoraOrderCoreService;
|
|
84
85
|
/**
|
|
85
86
|
* 使用配置选项初始化 Pandora SDK
|
|
86
87
|
* @param options - SDK 配置,包含凭证回调函数
|
|
@@ -135,8 +136,8 @@ export { PandoraProductExpService as PandoraProductExpServiceTypes } from './bff
|
|
|
135
136
|
export { PandoraProductLiveService as PandoraProductLiveServiceTypes } from './bff/modules/pandora/productLive/types';
|
|
136
137
|
export { PandoraOrderQueryService as PandoraOrderQueryServiceTypes } from './bff/modules/pandora/orderQuery/types';
|
|
137
138
|
export { PandoraOrderCoreService as PandoraOrderCoreServiceTypes } from './bff/modules/pandora/orderCore/types';
|
|
138
|
-
export { PandoraTaskService as PandoraTaskServiceTypes } from './bff/modules/pandora/task/types';
|
|
139
139
|
export { PandoraTaskWatchService as PandoraTaskWatchServiceTypes } from './bff/modules/pandora/taskWatch/types';
|
|
140
|
+
export { PandoraTaskService as PandoraTaskServiceTypes } from './bff/modules/pandora/task/types';
|
|
140
141
|
export { PandoraPointRuleService as PandoraPointRuleServiceTypes } from './bff/modules/pandora/pointRule/types';
|
|
141
142
|
export { RoomService as PandoraRoomServiceTypes } from './bff/modules/pandora/room/types';
|
|
142
143
|
export { CouponService as PandoraCouponServiceTypes } from './bff/modules/pandora/coupon/types';
|
package/cjs/index.js
CHANGED
|
@@ -22,28 +22,28 @@ const service_4 = require("./bff/modules/pandora/auth/service");
|
|
|
22
22
|
const service_5 = require("./bff/modules/pandora/bd/service");
|
|
23
23
|
const service_6 = require("./bff/modules/pandora/bdm/service");
|
|
24
24
|
const service_7 = require("./bff/modules/pandora/common/service");
|
|
25
|
-
const service_8 = require("./bff/modules/pandora/
|
|
26
|
-
const service_9 = require("./bff/modules/pandora/
|
|
27
|
-
const service_10 = require("./bff/modules/pandora/
|
|
28
|
-
const service_11 = require("./bff/modules/pandora/
|
|
29
|
-
const service_12 = require("./bff/modules/pandora/productLive/service");
|
|
30
|
-
const service_13 = require("./bff/modules/pandora/role/service");
|
|
31
|
-
const service_14 = require("./bff/modules/pandora/room/service");
|
|
32
|
-
const service_15 = require("./bff/modules/pandora/storeClerk/service");
|
|
33
|
-
const service_16 = require("./bff/modules/pandora/storeManager/service");
|
|
34
|
-
const service_17 = require("./bff/modules/pandora/user/service");
|
|
25
|
+
const service_8 = require("./bff/modules/pandora/productLive/service");
|
|
26
|
+
const service_9 = require("./bff/modules/pandora/role/service");
|
|
27
|
+
const service_10 = require("./bff/modules/pandora/room/service");
|
|
28
|
+
const service_11 = require("./bff/modules/pandora/user/service");
|
|
35
29
|
const user_service_1 = require("./bff/modules/pandora/userManager/service/user.service");
|
|
36
30
|
const point_service_1 = require("./bff/modules/pandora/userManager/service/point.service");
|
|
37
31
|
const coupon_service_1 = require("./bff/modules/pandora/userManager/service/coupon.service");
|
|
38
32
|
const address_service_1 = require("./bff/modules/pandora/userManager/service/address.service");
|
|
39
33
|
const region_service_1 = require("./bff/modules/pandora/userManager/service/region.service");
|
|
40
34
|
const client_1 = require("./bff/request/client");
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
const
|
|
44
|
-
const
|
|
45
|
-
const
|
|
46
|
-
const
|
|
35
|
+
const service_12 = require("./bff/modules/pandora/pointsMall/service");
|
|
36
|
+
const service_13 = require("./bff/modules/pandora/orderQuery/service");
|
|
37
|
+
const service_14 = require("./bff/modules/pandora/orderCore/service");
|
|
38
|
+
const service_15 = require("./bff/modules/pandora/task/service");
|
|
39
|
+
const service_16 = require("./bff/modules/pandora/taskWatch/service");
|
|
40
|
+
const service_17 = require("./bff/modules/pandora/pointRule/service");
|
|
41
|
+
const service_18 = require("./bff/modules/pandora/coupon/service");
|
|
42
|
+
const service_19 = require("./bff/modules/pandora/example/service");
|
|
43
|
+
const service_20 = require("./bff/modules/pandora/product/service");
|
|
44
|
+
const service_21 = require("./bff/modules/pandora/productExp/service");
|
|
45
|
+
const service_22 = require("./bff/modules/pandora/storeClerk/service");
|
|
46
|
+
const service_23 = require("./bff/modules/pandora/storeManager/service");
|
|
47
47
|
const service_24 = require("./bff/modules/pandora/award/service");
|
|
48
48
|
const service_25 = require("./bff/modules/pandora/franchisee/service");
|
|
49
49
|
const service_26 = require("./bff/modules/miniprogram/franchisee/service");
|
|
@@ -60,36 +60,46 @@ class PandoraSDK {
|
|
|
60
60
|
// 使用提供的选项初始化 HttpClient
|
|
61
61
|
this.http = new client_1.HttpClient(options);
|
|
62
62
|
// 使用 HttpClient 实例化所有 Pandora 服务模块
|
|
63
|
-
this.example = new
|
|
63
|
+
this.example = new service_19.PandoraExampleService(this.http);
|
|
64
64
|
this.auth = new service_4.PandoraAuthService(this.http);
|
|
65
65
|
this.bd = new service_5.PandoraBDService(this.http);
|
|
66
66
|
this.bdm = new service_6.PandoraBDMService(this.http);
|
|
67
67
|
this.common = new service_7.PandoraCommonService(this.http);
|
|
68
|
-
this.role = new
|
|
69
|
-
this.storeClerk = new
|
|
70
|
-
this.storeManager = new
|
|
71
|
-
this.user = new
|
|
72
|
-
this.product = new
|
|
73
|
-
this.productExp = new
|
|
74
|
-
this.productLive = new
|
|
68
|
+
this.role = new service_9.PandoraRoleService(this.http);
|
|
69
|
+
this.storeClerk = new service_22.PandoraStoreClerkService(this.http);
|
|
70
|
+
this.storeManager = new service_23.PandoraStoreManagerService(this.http);
|
|
71
|
+
this.user = new service_11.PandoraUserService(this.http);
|
|
72
|
+
this.product = new service_20.PandoraProductService(this.http);
|
|
73
|
+
this.productExp = new service_21.PandoraProductExpService(this.http);
|
|
74
|
+
this.productLive = new service_8.PandoraProductLiveService(this.http);
|
|
75
75
|
this.store = new service_1.PandoraStoreService(this.http);
|
|
76
|
-
this.room = new
|
|
77
|
-
this.coupon = new
|
|
76
|
+
this.room = new service_10.PandoraRoomService(this.http);
|
|
77
|
+
this.coupon = new service_18.PandoraCouponService(this.http);
|
|
78
78
|
this.userManagement = new user_service_1.PandoraUserManagementService(this.http);
|
|
79
79
|
this.pointManagement = new point_service_1.PandoraPointManagementService(this.http);
|
|
80
80
|
this.couponManagement = new coupon_service_1.PandoraCouponManagementService(this.http);
|
|
81
81
|
this.addressManagement = new address_service_1.PandoraAddressManagementService(this.http);
|
|
82
82
|
this.regionManagement = new region_service_1.PandoraRegionManagementService(this.http);
|
|
83
|
-
this.pointMall = new
|
|
84
|
-
this.orderQuery = new
|
|
85
|
-
this.orderCore = new
|
|
86
|
-
this.task = new
|
|
87
|
-
this.taskWatch = new
|
|
88
|
-
this.pointRule = new
|
|
83
|
+
this.pointMall = new service_12.PandoraPointsMallService(this.http);
|
|
84
|
+
this.orderQuery = new service_13.PandoraOrderQueryService(this.http);
|
|
85
|
+
this.orderCore = new service_14.PandoraOrderCoreService(this.http);
|
|
86
|
+
this.task = new service_15.PandoraTaskService(this.http);
|
|
87
|
+
this.taskWatch = new service_16.PandoraTaskWatchService(this.http);
|
|
88
|
+
this.pointRule = new service_17.PandoraPointRuleService(this.http);
|
|
89
|
+
this.award = new service_24.PandoraAwardService(this.http);
|
|
90
|
+
this.franchisee = new service_25.PandoraFranchiseeService(this.http);
|
|
91
|
+
this.userManagement = new user_service_1.PandoraUserManagementService(this.http);
|
|
92
|
+
this.pointManagement = new point_service_1.PandoraPointManagementService(this.http);
|
|
93
|
+
this.couponManagement = new coupon_service_1.PandoraCouponManagementService(this.http);
|
|
94
|
+
this.addressManagement = new address_service_1.PandoraAddressManagementService(this.http);
|
|
95
|
+
this.regionManagement = new region_service_1.PandoraRegionManagementService(this.http);
|
|
96
|
+
this.pointMall = new service_12.PandoraPointsMallService(this.http);
|
|
97
|
+
this.orderQuery = new service_13.PandoraOrderQueryService(this.http);
|
|
98
|
+
this.orderCore = new service_14.PandoraOrderCoreService(this.http);
|
|
99
|
+
this.task = new service_15.PandoraTaskService(this.http);
|
|
100
|
+
this.pointRule = new service_17.PandoraPointRuleService(this.http);
|
|
89
101
|
this.award = new service_24.PandoraAwardService(this.http);
|
|
90
102
|
this.franchisee = new service_25.PandoraFranchiseeService(this.http);
|
|
91
|
-
this.orderQuery = new service_19.PandoraOrderQueryService(this.http);
|
|
92
|
-
this.orderCore = new service_20.PandoraOrderCoreService(this.http);
|
|
93
103
|
}
|
|
94
104
|
}
|
|
95
105
|
exports.PandoraSDK = PandoraSDK;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import { AddressManagementTypes as UserAddressServiceTypes } from '@be-link/ecommerce-user-service-node-sdk/modules/admin/types/addressManagement.types';
|
|
2
1
|
export var PandoraAddressManagementTypes;
|
|
3
2
|
(function (PandoraAddressManagementTypes) {
|
|
4
|
-
// 直接导出 user-service 的类型
|
|
5
|
-
PandoraAddressManagementTypes.Request = UserAddressServiceTypes.Request;
|
|
6
|
-
PandoraAddressManagementTypes.Response = UserAddressServiceTypes.Response;
|
|
7
3
|
})(PandoraAddressManagementTypes || (PandoraAddressManagementTypes = {}));
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import { CouponManagementTypes as UserCouponServiceTypes } from '@be-link/ecommerce-user-service-node-sdk/modules/admin/types/couponManagement.types';
|
|
2
1
|
export var PandoraCouponManagementTypes;
|
|
3
2
|
(function (PandoraCouponManagementTypes) {
|
|
4
|
-
// 直接导出 user-service 的类型
|
|
5
|
-
PandoraCouponManagementTypes.Request = UserCouponServiceTypes.Request;
|
|
6
|
-
PandoraCouponManagementTypes.Response = UserCouponServiceTypes.Response;
|
|
7
3
|
})(PandoraCouponManagementTypes || (PandoraCouponManagementTypes = {}));
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import { PointManagementTypes as UserPointServiceTypes } from '@be-link/ecommerce-user-service-node-sdk/modules/admin/types/pointManagement.types';
|
|
2
1
|
export var PandoraPointManagementTypes;
|
|
3
2
|
(function (PandoraPointManagementTypes) {
|
|
4
|
-
// 直接导出 user-service 的类型
|
|
5
|
-
PandoraPointManagementTypes.Request = UserPointServiceTypes.Request;
|
|
6
|
-
PandoraPointManagementTypes.Response = UserPointServiceTypes.Response;
|
|
7
3
|
})(PandoraPointManagementTypes || (PandoraPointManagementTypes = {}));
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import { RegionManagementTypes as UserRegionServiceTypes } from '@be-link/ecommerce-user-service-node-sdk/modules/admin/types/regionManagement.types';
|
|
2
1
|
export var PandoraRegionManagementTypes;
|
|
3
2
|
(function (PandoraRegionManagementTypes) {
|
|
4
|
-
// 直接导出 user-service 的类型
|
|
5
|
-
PandoraRegionManagementTypes.Request = UserRegionServiceTypes.Request;
|
|
6
|
-
PandoraRegionManagementTypes.Response = UserRegionServiceTypes.Response;
|
|
7
3
|
})(PandoraRegionManagementTypes || (PandoraRegionManagementTypes = {}));
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import { UserManagementTypes as UserServiceTypes } from '@be-link/ecommerce-user-service-node-sdk/modules/admin/types/userManagement.types';
|
|
2
1
|
export var PandoraUserManagementTypes;
|
|
3
2
|
(function (PandoraUserManagementTypes) {
|
|
4
|
-
// 直接导出 user-service 的类型
|
|
5
|
-
PandoraUserManagementTypes.Request = UserServiceTypes.Request;
|
|
6
|
-
PandoraUserManagementTypes.Response = UserServiceTypes.Response;
|
|
7
3
|
})(PandoraUserManagementTypes || (PandoraUserManagementTypes = {}));
|
package/esm/index.d.ts
CHANGED
|
@@ -5,15 +5,9 @@ import { PandoraAuthService } from './bff/modules/pandora/auth/service';
|
|
|
5
5
|
import { PandoraBDService } from './bff/modules/pandora/bd/service';
|
|
6
6
|
import { PandoraBDMService } from './bff/modules/pandora/bdm/service';
|
|
7
7
|
import { PandoraCommonService } from './bff/modules/pandora/common/service';
|
|
8
|
-
import { PandoraCouponService } from './bff/modules/pandora/coupon/service';
|
|
9
|
-
import { PandoraExampleService } from './bff/modules/pandora/example/service';
|
|
10
|
-
import { PandoraProductService } from './bff/modules/pandora/product/service';
|
|
11
|
-
import { PandoraProductExpService } from './bff/modules/pandora/productExp/service';
|
|
12
8
|
import { PandoraProductLiveService } from './bff/modules/pandora/productLive/service';
|
|
13
9
|
import { PandoraRoleService } from './bff/modules/pandora/role/service';
|
|
14
10
|
import { PandoraRoomService } from './bff/modules/pandora/room/service';
|
|
15
|
-
import { PandoraStoreClerkService } from './bff/modules/pandora/storeClerk/service';
|
|
16
|
-
import { PandoraStoreManagerService } from './bff/modules/pandora/storeManager/service';
|
|
17
11
|
import { PandoraUserService } from './bff/modules/pandora/user/service';
|
|
18
12
|
import { PandoraUserManagementService } from './bff/modules/pandora/userManager/service/user.service';
|
|
19
13
|
import { PandoraPointManagementService } from './bff/modules/pandora/userManager/service/point.service';
|
|
@@ -26,6 +20,12 @@ import { PandoraOrderCoreService } from './bff/modules/pandora/orderCore/service
|
|
|
26
20
|
import { PandoraTaskService } from './bff/modules/pandora/task/service';
|
|
27
21
|
import { PandoraTaskWatchService } from './bff/modules/pandora/taskWatch/service';
|
|
28
22
|
import { PandoraPointRuleService } from './bff/modules/pandora/pointRule/service';
|
|
23
|
+
import { PandoraCouponService } from './bff/modules/pandora/coupon/service';
|
|
24
|
+
import { PandoraExampleService } from './bff/modules/pandora/example/service';
|
|
25
|
+
import { PandoraProductService } from './bff/modules/pandora/product/service';
|
|
26
|
+
import { PandoraProductExpService } from './bff/modules/pandora/productExp/service';
|
|
27
|
+
import { PandoraStoreClerkService } from './bff/modules/pandora/storeClerk/service';
|
|
28
|
+
import { PandoraStoreManagerService } from './bff/modules/pandora/storeManager/service';
|
|
29
29
|
import { PandoraAwardService } from './bff/modules/pandora/award/service';
|
|
30
30
|
import { PandoraFranchiseeService } from './bff/modules/pandora/franchisee/service';
|
|
31
31
|
import { MiniprogramFranchiseeService } from './bff/modules/miniprogram/franchisee/service';
|
|
@@ -60,11 +60,14 @@ export declare class PandoraSDK {
|
|
|
60
60
|
productExp: PandoraProductExpService;
|
|
61
61
|
productLive: PandoraProductLiveService;
|
|
62
62
|
coupon: PandoraCouponService;
|
|
63
|
-
pointMall: PandoraPointsMallService;
|
|
64
63
|
/**
|
|
65
64
|
* Pandora 门店服务模块
|
|
66
65
|
*/
|
|
67
66
|
store: PandoraStoreService;
|
|
67
|
+
pointMall: PandoraPointsMallService;
|
|
68
|
+
/**
|
|
69
|
+
* Pandora 门店用户关系服务模块
|
|
70
|
+
*/
|
|
68
71
|
award: PandoraAwardService;
|
|
69
72
|
/**
|
|
70
73
|
* 直播间模块
|
|
@@ -79,8 +82,6 @@ export declare class PandoraSDK {
|
|
|
79
82
|
* 加盟商模块
|
|
80
83
|
*/
|
|
81
84
|
franchisee: PandoraFranchiseeService;
|
|
82
|
-
orderQuery: PandoraOrderQueryService;
|
|
83
|
-
orderCore: PandoraOrderCoreService;
|
|
84
85
|
/**
|
|
85
86
|
* 使用配置选项初始化 Pandora SDK
|
|
86
87
|
* @param options - SDK 配置,包含凭证回调函数
|
|
@@ -135,8 +136,8 @@ export { PandoraProductExpService as PandoraProductExpServiceTypes } from './bff
|
|
|
135
136
|
export { PandoraProductLiveService as PandoraProductLiveServiceTypes } from './bff/modules/pandora/productLive/types';
|
|
136
137
|
export { PandoraOrderQueryService as PandoraOrderQueryServiceTypes } from './bff/modules/pandora/orderQuery/types';
|
|
137
138
|
export { PandoraOrderCoreService as PandoraOrderCoreServiceTypes } from './bff/modules/pandora/orderCore/types';
|
|
138
|
-
export { PandoraTaskService as PandoraTaskServiceTypes } from './bff/modules/pandora/task/types';
|
|
139
139
|
export { PandoraTaskWatchService as PandoraTaskWatchServiceTypes } from './bff/modules/pandora/taskWatch/types';
|
|
140
|
+
export { PandoraTaskService as PandoraTaskServiceTypes } from './bff/modules/pandora/task/types';
|
|
140
141
|
export { PandoraPointRuleService as PandoraPointRuleServiceTypes } from './bff/modules/pandora/pointRule/types';
|
|
141
142
|
export { RoomService as PandoraRoomServiceTypes } from './bff/modules/pandora/room/types';
|
|
142
143
|
export { CouponService as PandoraCouponServiceTypes } from './bff/modules/pandora/coupon/types';
|
package/esm/index.mjs
CHANGED
|
@@ -5,15 +5,9 @@ import { PandoraAuthService } from './bff/modules/pandora/auth/service.mjs';
|
|
|
5
5
|
import { PandoraBDService } from './bff/modules/pandora/bd/service.mjs';
|
|
6
6
|
import { PandoraBDMService } from './bff/modules/pandora/bdm/service.mjs';
|
|
7
7
|
import { PandoraCommonService } from './bff/modules/pandora/common/service.mjs';
|
|
8
|
-
import { PandoraCouponService } from './bff/modules/pandora/coupon/service.mjs';
|
|
9
|
-
import { PandoraExampleService } from './bff/modules/pandora/example/service.mjs';
|
|
10
|
-
import { PandoraProductService } from './bff/modules/pandora/product/service.mjs';
|
|
11
|
-
import { PandoraProductExpService } from './bff/modules/pandora/productExp/service.mjs';
|
|
12
8
|
import { PandoraProductLiveService } from './bff/modules/pandora/productLive/service.mjs';
|
|
13
9
|
import { PandoraRoleService } from './bff/modules/pandora/role/service.mjs';
|
|
14
10
|
import { PandoraRoomService } from './bff/modules/pandora/room/service.mjs';
|
|
15
|
-
import { PandoraStoreClerkService } from './bff/modules/pandora/storeClerk/service.mjs';
|
|
16
|
-
import { PandoraStoreManagerService } from './bff/modules/pandora/storeManager/service.mjs';
|
|
17
11
|
import { PandoraUserService } from './bff/modules/pandora/user/service.mjs';
|
|
18
12
|
import { PandoraUserManagementService } from './bff/modules/pandora/userManager/service/user.service.mjs';
|
|
19
13
|
import { PandoraPointManagementService } from './bff/modules/pandora/userManager/service/point.service.mjs';
|
|
@@ -27,6 +21,12 @@ import { PandoraOrderCoreService } from './bff/modules/pandora/orderCore/service
|
|
|
27
21
|
import { PandoraTaskService } from './bff/modules/pandora/task/service.mjs';
|
|
28
22
|
import { PandoraTaskWatchService } from './bff/modules/pandora/taskWatch/service.mjs';
|
|
29
23
|
import { PandoraPointRuleService } from './bff/modules/pandora/pointRule/service.mjs';
|
|
24
|
+
import { PandoraCouponService } from './bff/modules/pandora/coupon/service.mjs';
|
|
25
|
+
import { PandoraExampleService } from './bff/modules/pandora/example/service.mjs';
|
|
26
|
+
import { PandoraProductService } from './bff/modules/pandora/product/service.mjs';
|
|
27
|
+
import { PandoraProductExpService } from './bff/modules/pandora/productExp/service.mjs';
|
|
28
|
+
import { PandoraStoreClerkService } from './bff/modules/pandora/storeClerk/service.mjs';
|
|
29
|
+
import { PandoraStoreManagerService } from './bff/modules/pandora/storeManager/service.mjs';
|
|
30
30
|
import { PandoraAwardService } from './bff/modules/pandora/award/service.mjs';
|
|
31
31
|
import { PandoraFranchiseeService } from './bff/modules/pandora/franchisee/service.mjs';
|
|
32
32
|
import { MiniprogramFranchiseeService } from './bff/modules/miniprogram/franchisee/service.mjs';
|
|
@@ -71,8 +71,18 @@ export class PandoraSDK {
|
|
|
71
71
|
this.pointRule = new PandoraPointRuleService(this.http);
|
|
72
72
|
this.award = new PandoraAwardService(this.http);
|
|
73
73
|
this.franchisee = new PandoraFranchiseeService(this.http);
|
|
74
|
+
this.userManagement = new PandoraUserManagementService(this.http);
|
|
75
|
+
this.pointManagement = new PandoraPointManagementService(this.http);
|
|
76
|
+
this.couponManagement = new PandoraCouponManagementService(this.http);
|
|
77
|
+
this.addressManagement = new PandoraAddressManagementService(this.http);
|
|
78
|
+
this.regionManagement = new PandoraRegionManagementService(this.http);
|
|
79
|
+
this.pointMall = new PandoraPointsMallService(this.http);
|
|
74
80
|
this.orderQuery = new PandoraOrderQueryService(this.http);
|
|
75
81
|
this.orderCore = new PandoraOrderCoreService(this.http);
|
|
82
|
+
this.task = new PandoraTaskService(this.http);
|
|
83
|
+
this.pointRule = new PandoraPointRuleService(this.http);
|
|
84
|
+
this.award = new PandoraAwardService(this.http);
|
|
85
|
+
this.franchisee = new PandoraFranchiseeService(this.http);
|
|
76
86
|
}
|
|
77
87
|
}
|
|
78
88
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@be-link/ecommerce-backend-bff-service-node-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "EcommerceBackendBffService Node.js SDK",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./cjs/index.js",
|
|
@@ -25,13 +25,14 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@be-link/ecommerce-trade-service-node-sdk": "0.1.3",
|
|
28
|
-
"@be-link/ecommerce-backend-user-service-node-sdk": "^0.
|
|
28
|
+
"@be-link/ecommerce-backend-user-service-node-sdk": "^0.1.2",
|
|
29
29
|
"@be-link/ecommerce-volcengine-open-api-sdk": "^1.0.11",
|
|
30
|
-
"@be-link/ecommerce-client-backend-service-node-sdk": "^0.
|
|
30
|
+
"@be-link/ecommerce-client-backend-service-node-sdk": "^0.1.1",
|
|
31
31
|
"@be-link/ecommerce-tag-service-node-sdk": "^0.1.1",
|
|
32
|
-
"@be-link/ecommerce-store-service-node-sdk": "^0.
|
|
32
|
+
"@be-link/ecommerce-store-service-node-sdk": "^0.1.3",
|
|
33
33
|
"@be-link/ecommerce-promotion-service-node-sdk": "^0.1.2",
|
|
34
34
|
"axios": "1.13.2",
|
|
35
|
+
"@be-link/ecommerce-user-service-node-sdk": "0.1.3",
|
|
35
36
|
"@be-link/ecommerce-product-service-node-sdk": "0.1.2"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|