@be-link/ecommerce-backend-bff-service-node-sdk 0.0.112 → 0.0.115
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/miniprogram/auth/service.d.ts +46 -0
- package/cjs/bff/modules/miniprogram/auth/service.js +66 -0
- package/cjs/bff/modules/miniprogram/auth/types.d.ts +133 -0
- package/cjs/bff/modules/miniprogram/auth/types.js +2 -0
- package/cjs/bff/modules/miniprogram/franchisee/service.d.ts +12 -0
- package/cjs/bff/modules/miniprogram/franchisee/service.js +22 -0
- package/cjs/bff/modules/miniprogram/franchisee/types.d.ts +25 -0
- package/cjs/bff/modules/miniprogram/franchisee/types.js +2 -0
- package/cjs/bff/modules/pandora/auth/service.d.ts +28 -0
- package/cjs/bff/modules/pandora/auth/service.js +42 -0
- package/cjs/bff/modules/pandora/auth/types.d.ts +94 -0
- package/cjs/bff/modules/pandora/auth/types.js +2 -0
- package/cjs/bff/modules/pandora/award/service.d.ts +17 -0
- package/cjs/bff/modules/pandora/award/service.js +27 -0
- package/cjs/bff/modules/pandora/award/types.d.ts +17 -0
- package/cjs/bff/modules/pandora/award/types.js +2 -0
- package/cjs/bff/modules/pandora/bd/service.d.ts +47 -0
- package/cjs/bff/modules/pandora/bd/service.js +67 -0
- package/cjs/bff/modules/pandora/bd/types.d.ts +157 -0
- package/cjs/bff/modules/pandora/bd/types.js +2 -0
- package/cjs/bff/modules/pandora/bdm/service.d.ts +35 -0
- package/cjs/bff/modules/pandora/bdm/service.js +51 -0
- package/cjs/bff/modules/pandora/bdm/types.d.ts +104 -0
- package/cjs/bff/modules/pandora/bdm/types.js +2 -0
- package/cjs/bff/modules/pandora/common/service.d.ts +34 -0
- package/cjs/bff/modules/pandora/common/service.js +50 -0
- package/cjs/bff/modules/pandora/common/types.d.ts +125 -0
- package/cjs/bff/modules/pandora/common/types.js +2 -0
- package/cjs/bff/modules/pandora/coupon/service.d.ts +59 -0
- package/cjs/bff/modules/pandora/coupon/service.js +83 -0
- package/cjs/bff/modules/pandora/coupon/types.d.ts +409 -0
- package/cjs/bff/modules/pandora/coupon/types.js +2 -0
- package/cjs/bff/modules/pandora/franchisee/service.d.ts +19 -0
- package/cjs/bff/modules/pandora/franchisee/service.js +43 -0
- package/cjs/bff/modules/pandora/franchisee/types.d.ts +204 -0
- package/cjs/bff/modules/pandora/franchisee/types.js +2 -0
- package/cjs/bff/modules/pandora/orderCore/service.d.ts +7 -1
- package/cjs/bff/modules/pandora/orderCore/service.js +9 -1
- package/cjs/bff/modules/pandora/orderCore/types.d.ts +5 -2
- package/cjs/bff/modules/pandora/orderQuery/types.d.ts +9 -4
- package/cjs/bff/modules/pandora/pointRule/service.d.ts +53 -0
- package/cjs/bff/modules/pandora/pointRule/service.js +75 -0
- package/cjs/bff/modules/pandora/pointRule/types.d.ts +38 -0
- package/cjs/bff/modules/pandora/pointRule/types.js +2 -0
- package/cjs/bff/modules/pandora/pointsMall/service.d.ts +47 -0
- package/cjs/bff/modules/pandora/pointsMall/service.js +67 -0
- package/cjs/bff/modules/pandora/pointsMall/types.d.ts +177 -0
- package/cjs/bff/modules/pandora/pointsMall/types.js +2 -0
- package/cjs/bff/modules/pandora/product/service.d.ts +20 -2
- package/cjs/bff/modules/pandora/product/service.js +24 -0
- package/cjs/bff/modules/pandora/product/types.d.ts +258 -16
- package/cjs/bff/modules/pandora/productExp/service.d.ts +18 -6
- package/cjs/bff/modules/pandora/productExp/service.js +25 -9
- package/cjs/bff/modules/pandora/productExp/types.d.ts +84 -16
- package/cjs/bff/modules/pandora/productLive/service.d.ts +1 -1
- package/cjs/bff/modules/pandora/productLive/types.d.ts +11 -1
- package/cjs/bff/modules/pandora/role/service.d.ts +47 -0
- package/cjs/bff/modules/pandora/role/service.js +67 -0
- package/cjs/bff/modules/pandora/role/types.d.ts +135 -0
- package/cjs/bff/modules/pandora/role/types.js +2 -0
- package/cjs/bff/modules/pandora/room/service.d.ts +6 -0
- package/cjs/bff/modules/pandora/room/service.js +8 -0
- package/cjs/bff/modules/pandora/room/types.d.ts +21 -2
- package/cjs/bff/modules/pandora/store/service.d.ts +95 -0
- package/cjs/bff/modules/pandora/store/service.js +131 -0
- package/cjs/bff/modules/pandora/store/types.d.ts +879 -0
- package/cjs/bff/modules/pandora/store/types.js +2 -0
- package/cjs/bff/modules/pandora/storeClerk/service.d.ts +41 -0
- package/cjs/bff/modules/pandora/storeClerk/service.js +59 -0
- package/cjs/bff/modules/pandora/storeClerk/types.d.ts +130 -0
- package/cjs/bff/modules/pandora/storeClerk/types.js +2 -0
- package/cjs/bff/modules/pandora/storeManager/service.d.ts +47 -0
- package/cjs/bff/modules/pandora/storeManager/service.js +67 -0
- package/cjs/bff/modules/pandora/storeManager/types.d.ts +148 -0
- package/cjs/bff/modules/pandora/storeManager/types.js +2 -0
- package/cjs/bff/modules/pandora/task/service.d.ts +65 -0
- package/cjs/bff/modules/pandora/task/service.js +91 -0
- package/cjs/bff/modules/pandora/task/types.d.ts +36 -0
- package/cjs/bff/modules/pandora/task/types.js +2 -0
- package/cjs/bff/modules/pandora/taskWatch/service.d.ts +23 -0
- package/cjs/bff/modules/pandora/taskWatch/service.js +35 -0
- package/cjs/bff/modules/pandora/taskWatch/types.d.ts +15 -0
- package/cjs/bff/modules/pandora/taskWatch/types.js +2 -0
- package/cjs/bff/modules/pandora/user/service.d.ts +20 -0
- package/cjs/bff/modules/pandora/user/service.js +46 -0
- package/cjs/bff/modules/pandora/user/types.d.ts +194 -0
- package/cjs/bff/modules/pandora/user/types.js +2 -0
- package/cjs/bff/modules/pandora/userManager/service/address.service.d.ts +12 -0
- package/cjs/bff/modules/pandora/userManager/service/address.service.js +32 -0
- package/cjs/bff/modules/pandora/userManager/service/coupon.service.d.ts +11 -0
- package/cjs/bff/modules/pandora/userManager/service/coupon.service.js +29 -0
- package/cjs/bff/modules/pandora/userManager/service/index.d.ts +5 -0
- package/cjs/bff/modules/pandora/userManager/service/index.js +21 -0
- package/cjs/bff/modules/pandora/userManager/service/point.service.d.ts +13 -0
- package/cjs/bff/modules/pandora/userManager/service/point.service.js +35 -0
- package/cjs/bff/modules/pandora/userManager/service/region.service.d.ts +14 -0
- package/cjs/bff/modules/pandora/userManager/service/region.service.js +38 -0
- package/cjs/bff/modules/pandora/userManager/service/user.service.d.ts +12 -0
- package/cjs/bff/modules/pandora/userManager/service/user.service.js +32 -0
- package/cjs/bff/modules/pandora/userManager/types/address.types.d.ts +94 -0
- package/cjs/bff/modules/pandora/userManager/types/address.types.js +2 -0
- package/cjs/bff/modules/pandora/userManager/types/coupon.types.d.ts +99 -0
- package/cjs/bff/modules/pandora/userManager/types/coupon.types.js +2 -0
- package/cjs/bff/modules/pandora/userManager/types/index.d.ts +5 -0
- package/cjs/bff/modules/pandora/userManager/types/index.js +21 -0
- package/cjs/bff/modules/pandora/userManager/types/point.types.d.ts +113 -0
- package/cjs/bff/modules/pandora/userManager/types/point.types.js +2 -0
- package/cjs/bff/modules/pandora/userManager/types/region.types.d.ts +77 -0
- package/cjs/bff/modules/pandora/userManager/types/region.types.js +2 -0
- package/cjs/bff/modules/pandora/userManager/types/user.types.d.ts +124 -0
- package/cjs/bff/modules/pandora/userManager/types/user.types.js +2 -0
- package/cjs/bff/request/strategy.js +1 -0
- package/cjs/enums.d.ts +7 -0
- package/cjs/enums.js +22 -3
- package/cjs/index.d.ts +91 -3
- package/cjs/index.js +69 -16
- package/cjs/utils/env.js +1 -0
- package/cjs/utils/string.js +1 -0
- package/esm/bff/modules/miniprogram/auth/service.d.ts +46 -0
- package/esm/bff/modules/miniprogram/auth/service.mjs +59 -0
- package/esm/bff/modules/miniprogram/auth/types.d.ts +133 -0
- package/esm/bff/modules/miniprogram/auth/types.mjs +1 -0
- package/esm/bff/modules/miniprogram/franchisee/service.d.ts +12 -0
- package/esm/bff/modules/miniprogram/franchisee/service.mjs +15 -0
- package/esm/bff/modules/miniprogram/franchisee/types.d.ts +25 -0
- package/esm/bff/modules/miniprogram/franchisee/types.mjs +1 -0
- package/esm/bff/modules/pandora/auth/service.d.ts +28 -0
- package/esm/bff/modules/pandora/auth/service.mjs +35 -0
- package/esm/bff/modules/pandora/auth/types.d.ts +94 -0
- package/esm/bff/modules/pandora/auth/types.mjs +1 -0
- package/esm/bff/modules/pandora/award/service.d.ts +17 -0
- package/esm/bff/modules/pandora/award/service.mjs +20 -0
- package/esm/bff/modules/pandora/award/types.d.ts +17 -0
- package/esm/bff/modules/pandora/award/types.mjs +1 -0
- package/esm/bff/modules/pandora/bd/service.d.ts +47 -0
- package/esm/bff/modules/pandora/bd/service.mjs +60 -0
- package/esm/bff/modules/pandora/bd/types.d.ts +157 -0
- package/esm/bff/modules/pandora/bd/types.mjs +1 -0
- package/esm/bff/modules/pandora/bdm/service.d.ts +35 -0
- package/esm/bff/modules/pandora/bdm/service.mjs +44 -0
- package/esm/bff/modules/pandora/bdm/types.d.ts +104 -0
- package/esm/bff/modules/pandora/bdm/types.mjs +1 -0
- package/esm/bff/modules/pandora/common/service.d.ts +34 -0
- package/esm/bff/modules/pandora/common/service.mjs +43 -0
- package/esm/bff/modules/pandora/common/types.d.ts +125 -0
- package/esm/bff/modules/pandora/common/types.mjs +1 -0
- package/esm/bff/modules/pandora/coupon/service.d.ts +59 -0
- package/esm/bff/modules/pandora/coupon/service.mjs +76 -0
- package/esm/bff/modules/pandora/coupon/types.d.ts +409 -0
- package/esm/bff/modules/pandora/coupon/types.mjs +1 -0
- package/esm/bff/modules/pandora/franchisee/service.d.ts +19 -0
- package/esm/bff/modules/pandora/franchisee/service.mjs +36 -0
- package/esm/bff/modules/pandora/franchisee/types.d.ts +204 -0
- package/esm/bff/modules/pandora/franchisee/types.mjs +1 -0
- package/esm/bff/modules/pandora/orderCore/service.d.ts +7 -1
- package/esm/bff/modules/pandora/orderCore/service.mjs +9 -1
- package/esm/bff/modules/pandora/orderCore/types.d.ts +5 -2
- package/esm/bff/modules/pandora/orderQuery/types.d.ts +9 -4
- package/esm/bff/modules/pandora/pointRule/service.d.ts +53 -0
- package/esm/bff/modules/pandora/pointRule/service.mjs +68 -0
- package/esm/bff/modules/pandora/pointRule/types.d.ts +38 -0
- package/esm/bff/modules/pandora/pointRule/types.mjs +1 -0
- package/esm/bff/modules/pandora/pointsMall/service.d.ts +47 -0
- package/esm/bff/modules/pandora/pointsMall/service.mjs +60 -0
- package/esm/bff/modules/pandora/pointsMall/types.d.ts +177 -0
- package/esm/bff/modules/pandora/pointsMall/types.mjs +1 -0
- package/esm/bff/modules/pandora/product/service.d.ts +20 -2
- package/esm/bff/modules/pandora/product/service.mjs +24 -0
- package/esm/bff/modules/pandora/product/types.d.ts +258 -16
- package/esm/bff/modules/pandora/productExp/service.d.ts +18 -6
- package/esm/bff/modules/pandora/productExp/service.mjs +25 -9
- package/esm/bff/modules/pandora/productExp/types.d.ts +84 -16
- package/esm/bff/modules/pandora/productLive/service.d.ts +1 -1
- package/esm/bff/modules/pandora/productLive/types.d.ts +11 -1
- package/esm/bff/modules/pandora/role/service.d.ts +47 -0
- package/esm/bff/modules/pandora/role/service.mjs +60 -0
- package/esm/bff/modules/pandora/role/types.d.ts +135 -0
- package/esm/bff/modules/pandora/role/types.mjs +1 -0
- package/esm/bff/modules/pandora/room/service.d.ts +6 -0
- package/esm/bff/modules/pandora/room/service.mjs +8 -0
- package/esm/bff/modules/pandora/room/types.d.ts +21 -2
- package/esm/bff/modules/pandora/store/service.d.ts +95 -0
- package/esm/bff/modules/pandora/store/service.mjs +124 -0
- package/esm/bff/modules/pandora/store/types.d.ts +879 -0
- package/esm/bff/modules/pandora/store/types.mjs +1 -0
- package/esm/bff/modules/pandora/storeClerk/service.d.ts +41 -0
- package/esm/bff/modules/pandora/storeClerk/service.mjs +52 -0
- package/esm/bff/modules/pandora/storeClerk/types.d.ts +130 -0
- package/esm/bff/modules/pandora/storeClerk/types.mjs +1 -0
- package/esm/bff/modules/pandora/storeManager/service.d.ts +47 -0
- package/esm/bff/modules/pandora/storeManager/service.mjs +60 -0
- package/esm/bff/modules/pandora/storeManager/types.d.ts +148 -0
- package/esm/bff/modules/pandora/storeManager/types.mjs +1 -0
- package/esm/bff/modules/pandora/task/service.d.ts +65 -0
- package/esm/bff/modules/pandora/task/service.mjs +84 -0
- package/esm/bff/modules/pandora/task/types.d.ts +36 -0
- package/esm/bff/modules/pandora/task/types.mjs +1 -0
- package/esm/bff/modules/pandora/taskWatch/service.d.ts +23 -0
- package/esm/bff/modules/pandora/taskWatch/service.mjs +28 -0
- package/esm/bff/modules/pandora/taskWatch/types.d.ts +15 -0
- package/esm/bff/modules/pandora/taskWatch/types.mjs +1 -0
- package/esm/bff/modules/pandora/user/service.d.ts +20 -0
- package/esm/bff/modules/pandora/user/service.mjs +39 -0
- package/esm/bff/modules/pandora/user/types.d.ts +194 -0
- package/esm/bff/modules/pandora/user/types.mjs +1 -0
- package/esm/bff/modules/pandora/userManager/service/address.service.d.ts +12 -0
- package/esm/bff/modules/pandora/userManager/service/address.service.mjs +25 -0
- package/esm/bff/modules/pandora/userManager/service/coupon.service.d.ts +11 -0
- package/esm/bff/modules/pandora/userManager/service/coupon.service.mjs +22 -0
- package/esm/bff/modules/pandora/userManager/service/index.d.ts +5 -0
- package/esm/bff/modules/pandora/userManager/service/index.mjs +5 -0
- package/esm/bff/modules/pandora/userManager/service/point.service.d.ts +13 -0
- package/esm/bff/modules/pandora/userManager/service/point.service.mjs +28 -0
- package/esm/bff/modules/pandora/userManager/service/region.service.d.ts +14 -0
- package/esm/bff/modules/pandora/userManager/service/region.service.mjs +31 -0
- package/esm/bff/modules/pandora/userManager/service/user.service.d.ts +12 -0
- package/esm/bff/modules/pandora/userManager/service/user.service.mjs +25 -0
- package/esm/bff/modules/pandora/userManager/types/address.types.d.ts +94 -0
- package/esm/bff/modules/pandora/userManager/types/address.types.mjs +1 -0
- package/esm/bff/modules/pandora/userManager/types/coupon.types.d.ts +99 -0
- package/esm/bff/modules/pandora/userManager/types/coupon.types.mjs +1 -0
- package/esm/bff/modules/pandora/userManager/types/index.d.ts +5 -0
- package/esm/bff/modules/pandora/userManager/types/index.mjs +5 -0
- package/esm/bff/modules/pandora/userManager/types/point.types.d.ts +113 -0
- package/esm/bff/modules/pandora/userManager/types/point.types.mjs +1 -0
- package/esm/bff/modules/pandora/userManager/types/region.types.d.ts +77 -0
- package/esm/bff/modules/pandora/userManager/types/region.types.mjs +1 -0
- package/esm/bff/modules/pandora/userManager/types/user.types.d.ts +124 -0
- package/esm/bff/modules/pandora/userManager/types/user.types.mjs +1 -0
- package/esm/bff/request/strategy.mjs +1 -0
- package/esm/enums.d.ts +7 -0
- package/esm/enums.mjs +12 -0
- package/esm/index.d.ts +91 -3
- package/esm/index.mjs +55 -3
- package/esm/utils/env.mjs +1 -0
- package/esm/utils/string.mjs +1 -0
- package/package.json +10 -3
|
@@ -0,0 +1,83 @@
|
|
|
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.PandoraCouponService = void 0;
|
|
7
|
+
const BaseService_1 = __importDefault(require("../../BaseService"));
|
|
8
|
+
/**
|
|
9
|
+
* PandoraCouponService - Pandora Coupon 服务模块
|
|
10
|
+
* 提供 Pandora Coupon 相关的 API 方法
|
|
11
|
+
* 平台: pandora
|
|
12
|
+
*/
|
|
13
|
+
class PandoraCouponService extends BaseService_1.default {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
this.prefixUrl = '/pandora/coupon';
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* 创建券模版
|
|
20
|
+
* @param request - 请求参数
|
|
21
|
+
* @returns Promise,解析为标准响应格式
|
|
22
|
+
*/
|
|
23
|
+
createCouponTemplate(request) {
|
|
24
|
+
return this.request(this.createCouponTemplate, request);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* 作废券模版
|
|
28
|
+
* @param request - 请求参数
|
|
29
|
+
* @returns Promise,解析为标准响应格式
|
|
30
|
+
*/
|
|
31
|
+
abandonCouponTemplate(request) {
|
|
32
|
+
return this.request(this.abandonCouponTemplate, request);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* 获取券模版列表
|
|
36
|
+
* @param request - 请求参数
|
|
37
|
+
* @returns Promise,解析为标准响应格式
|
|
38
|
+
*/
|
|
39
|
+
getCouponTemplateList(request) {
|
|
40
|
+
return this.request(this.getCouponTemplateList, request);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 增加券库存
|
|
44
|
+
* @param request - 请求参数
|
|
45
|
+
* @returns Promise,解析为标准响应格式
|
|
46
|
+
*/
|
|
47
|
+
addCouponStock(request) {
|
|
48
|
+
return this.request(this.addCouponStock, request);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* 获取券模版详情
|
|
52
|
+
* @param request - 请求参数
|
|
53
|
+
* @returns Promise,解析为标准响应格式
|
|
54
|
+
*/
|
|
55
|
+
getCouponTemplateDetail(request) {
|
|
56
|
+
return this.request(this.getCouponTemplateDetail, request);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* 同步券至火山直播
|
|
60
|
+
* @param request - 请求参数
|
|
61
|
+
* @returns Promise,解析为标准响应格式
|
|
62
|
+
*/
|
|
63
|
+
syncCouponToLive(request) {
|
|
64
|
+
return this.request(this.syncCouponToLive, request);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* 修改券模版适用商品
|
|
68
|
+
* @param request - 请求参数
|
|
69
|
+
* @returns Promise,解析为标准响应格式
|
|
70
|
+
*/
|
|
71
|
+
updateCouponTemplateScope(request) {
|
|
72
|
+
return this.request(this.updateCouponTemplateScope, request);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* 获取券模版的使用商品
|
|
76
|
+
* @param request - 请求参数
|
|
77
|
+
* @returns Promise,解析为标准响应格式
|
|
78
|
+
*/
|
|
79
|
+
getProductScopeList(request) {
|
|
80
|
+
return this.request(this.getProductScopeList, request);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.PandoraCouponService = PandoraCouponService;
|
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
import { PROMOTION_SERVICE_ENUM } from '../../../../enums';
|
|
2
|
+
import { StandardResponse } from '../../../../types';
|
|
3
|
+
export declare namespace CouponService {
|
|
4
|
+
namespace Entity {
|
|
5
|
+
/** 券生命周期 */
|
|
6
|
+
interface CouponLifeCycle {
|
|
7
|
+
/** 固定生效时间(时间戳) */
|
|
8
|
+
effectAt?: number;
|
|
9
|
+
/** 固定过期时间(时间戳) */
|
|
10
|
+
expireAt?: number;
|
|
11
|
+
/** 相对生效天数(自领券后开始计算,与生效&过期时间互斥) */
|
|
12
|
+
effectiveDays?: number;
|
|
13
|
+
}
|
|
14
|
+
/** 券使用限制 */
|
|
15
|
+
interface CouponUsageLimit {
|
|
16
|
+
/** 类型:FEE-金额 */
|
|
17
|
+
type: PROMOTION_SERVICE_ENUM.COUPON_ENUM.USAGE_LIMIT_TYPE;
|
|
18
|
+
/** 限制值 */
|
|
19
|
+
value: number;
|
|
20
|
+
/** 生效类型:ITEM-单份商品 */
|
|
21
|
+
effectType: string;
|
|
22
|
+
}
|
|
23
|
+
/** 优惠规则额外信息 */
|
|
24
|
+
interface DiscountRuleExtra {
|
|
25
|
+
/** 阶梯序号 */
|
|
26
|
+
tier?: number;
|
|
27
|
+
/** 门槛金额(分) */
|
|
28
|
+
floor?: number;
|
|
29
|
+
/** 上限金额(分,-1表示无上限) */
|
|
30
|
+
ceiling?: number;
|
|
31
|
+
/** 是否可叠加 */
|
|
32
|
+
stackable?: boolean;
|
|
33
|
+
/** 最大叠加次数 */
|
|
34
|
+
maxStack?: number;
|
|
35
|
+
}
|
|
36
|
+
/** 券领取限制 */
|
|
37
|
+
interface CouponReceiveLimit {
|
|
38
|
+
/** 自增主键 */
|
|
39
|
+
id?: number;
|
|
40
|
+
/** 券ID */
|
|
41
|
+
couponId: string;
|
|
42
|
+
/** 限制维度 */
|
|
43
|
+
type: PROMOTION_SERVICE_ENUM.COUPON_ENUM.RECEIVE_LIMIT_TYPE;
|
|
44
|
+
/** 限制值 */
|
|
45
|
+
limitValue: number;
|
|
46
|
+
/** 创建时间 */
|
|
47
|
+
createdAt?: number;
|
|
48
|
+
/** 更新时间 */
|
|
49
|
+
updatedAt?: number;
|
|
50
|
+
/** 删除时间 */
|
|
51
|
+
deletedAt?: number;
|
|
52
|
+
}
|
|
53
|
+
/** 券优惠规则 */
|
|
54
|
+
interface CouponDiscountRule {
|
|
55
|
+
/** 自增主键 */
|
|
56
|
+
id?: number;
|
|
57
|
+
/** 券ID */
|
|
58
|
+
couponId: string;
|
|
59
|
+
/** 优惠类型 */
|
|
60
|
+
type: PROMOTION_SERVICE_ENUM.COUPON_ENUM.DISCOUNT_RULE_TYPE;
|
|
61
|
+
/** 优惠值(金额:分,折扣:0-100) */
|
|
62
|
+
discountValue: number;
|
|
63
|
+
/** 优惠级别 */
|
|
64
|
+
level: PROMOTION_SERVICE_ENUM.COUPON_ENUM.DISCOUNT_LEVEL;
|
|
65
|
+
/** 同级多规则时的排序 */
|
|
66
|
+
priority: number;
|
|
67
|
+
/** 规则信息 */
|
|
68
|
+
extra?: Entity.DiscountRuleExtra;
|
|
69
|
+
/** 创建时间 */
|
|
70
|
+
createdAt?: number;
|
|
71
|
+
/** 更新时间 */
|
|
72
|
+
updatedAt?: number;
|
|
73
|
+
/** 删除时间 */
|
|
74
|
+
deletedAt?: number;
|
|
75
|
+
}
|
|
76
|
+
/** 券适用范围 */
|
|
77
|
+
interface CouponScope {
|
|
78
|
+
/** ID */
|
|
79
|
+
id?: string;
|
|
80
|
+
/** 创建时间 */
|
|
81
|
+
createdAt?: number;
|
|
82
|
+
/** 更新时间 */
|
|
83
|
+
updatedAt?: number;
|
|
84
|
+
/** 删除时间 */
|
|
85
|
+
deletedAt?: number;
|
|
86
|
+
/** 券ID */
|
|
87
|
+
couponId: string;
|
|
88
|
+
/** 是否可用 */
|
|
89
|
+
available: boolean;
|
|
90
|
+
/** 标签ID */
|
|
91
|
+
tagId: string;
|
|
92
|
+
}
|
|
93
|
+
/** 券操作记录 */
|
|
94
|
+
interface CouponOperateLog {
|
|
95
|
+
/** ID */
|
|
96
|
+
id?: string;
|
|
97
|
+
/** 创建时间 */
|
|
98
|
+
createdAt?: number;
|
|
99
|
+
/** 更新时间 */
|
|
100
|
+
updatedAt?: number;
|
|
101
|
+
/** 删除时间 */
|
|
102
|
+
deletedAt?: number;
|
|
103
|
+
/** 操作类型 */
|
|
104
|
+
operateType: PROMOTION_SERVICE_ENUM.COUPON_ENUM.OPERATE_TYPE;
|
|
105
|
+
/** 操作详情 */
|
|
106
|
+
operateDetail?: any;
|
|
107
|
+
/** 操作人 */
|
|
108
|
+
operator: string;
|
|
109
|
+
/** 券ID */
|
|
110
|
+
couponId: string;
|
|
111
|
+
}
|
|
112
|
+
/** 券库存流水 */
|
|
113
|
+
interface CouponStockFlow {
|
|
114
|
+
/** 主键ID */
|
|
115
|
+
id?: string;
|
|
116
|
+
/** 创建时间 */
|
|
117
|
+
createdAt?: number;
|
|
118
|
+
/** 更新时间 */
|
|
119
|
+
updatedAt?: number;
|
|
120
|
+
/** 删除时间 */
|
|
121
|
+
deletedAt?: number;
|
|
122
|
+
/** 券ID */
|
|
123
|
+
couponId: string;
|
|
124
|
+
/** 渠道 */
|
|
125
|
+
channel: PROMOTION_SERVICE_ENUM.COUPON_ENUM.STOCK_CHANNEL;
|
|
126
|
+
/** 库存变更量(正数) */
|
|
127
|
+
changeStock: number;
|
|
128
|
+
/** 变动类型 */
|
|
129
|
+
changeType: PROMOTION_SERVICE_ENUM.COUPON_ENUM.STOCK_CHANGE_TYPE;
|
|
130
|
+
/** 业务ID */
|
|
131
|
+
bizId: string;
|
|
132
|
+
/** 操作人 */
|
|
133
|
+
operator: string;
|
|
134
|
+
}
|
|
135
|
+
/** 券模版 */
|
|
136
|
+
interface CouponTemplate {
|
|
137
|
+
/** ID */
|
|
138
|
+
id?: string;
|
|
139
|
+
/** 创建时间 */
|
|
140
|
+
createdAt?: number;
|
|
141
|
+
/** 更新时间 */
|
|
142
|
+
updatedAt?: number;
|
|
143
|
+
/** 删除时间 */
|
|
144
|
+
deletedAt?: number;
|
|
145
|
+
/** 创建人ID */
|
|
146
|
+
creatorId: string;
|
|
147
|
+
/** 券名称 */
|
|
148
|
+
name: string;
|
|
149
|
+
/** 券类型 */
|
|
150
|
+
couponType: PROMOTION_SERVICE_ENUM.COUPON_ENUM.COUPON_TYPE;
|
|
151
|
+
/** 券状态 */
|
|
152
|
+
status?: PROMOTION_SERVICE_ENUM.COUPON_ENUM.COUPON_STATUS;
|
|
153
|
+
/** 初始数量(-1为无限) */
|
|
154
|
+
originalQty: number;
|
|
155
|
+
/** 剩余数量(-1为无限) */
|
|
156
|
+
lastQty?: number;
|
|
157
|
+
/** 使用说明 */
|
|
158
|
+
instructions: string;
|
|
159
|
+
/** 券生命周期 */
|
|
160
|
+
lifeCycle: CouponLifeCycle;
|
|
161
|
+
/** 使用限制 */
|
|
162
|
+
usageLimit?: CouponUsageLimit;
|
|
163
|
+
/** 领取限制列表 */
|
|
164
|
+
receiveLimits?: CouponReceiveLimit[];
|
|
165
|
+
/** 优惠规则列表 */
|
|
166
|
+
discountRules?: CouponDiscountRule[];
|
|
167
|
+
/** 适用范围列表 */
|
|
168
|
+
scopes?: CouponScope[];
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
namespace Request {
|
|
172
|
+
/** 创建券模版 */
|
|
173
|
+
interface createCouponTemplate {
|
|
174
|
+
/** 券名称 */
|
|
175
|
+
name: string;
|
|
176
|
+
/** 券类型 */
|
|
177
|
+
couponType: PROMOTION_SERVICE_ENUM.COUPON_ENUM.COUPON_TYPE;
|
|
178
|
+
/** 初始数量(-1为无限) */
|
|
179
|
+
originalQty: number;
|
|
180
|
+
/** 使用说明 */
|
|
181
|
+
instructions: string;
|
|
182
|
+
/** 券生命周期 */
|
|
183
|
+
lifeCycle: Entity.CouponLifeCycle;
|
|
184
|
+
/** 使用限制 */
|
|
185
|
+
usageLimit?: Entity.CouponUsageLimit;
|
|
186
|
+
/** 领取限制列表 */
|
|
187
|
+
receiveLimits?: Array<{
|
|
188
|
+
/** 限制维度 */
|
|
189
|
+
type: PROMOTION_SERVICE_ENUM.COUPON_ENUM.RECEIVE_LIMIT_TYPE;
|
|
190
|
+
/** 限制值 */
|
|
191
|
+
limitValue: number;
|
|
192
|
+
}>;
|
|
193
|
+
/** 优惠规则列表 */
|
|
194
|
+
discountRules?: Array<{
|
|
195
|
+
/** 优惠类型 */
|
|
196
|
+
type: PROMOTION_SERVICE_ENUM.COUPON_ENUM.DISCOUNT_RULE_TYPE;
|
|
197
|
+
/** 优惠值(金额:分,折扣:0-100) */
|
|
198
|
+
discountValue: number;
|
|
199
|
+
/** 优惠级别 */
|
|
200
|
+
level: PROMOTION_SERVICE_ENUM.COUPON_ENUM.DISCOUNT_LEVEL;
|
|
201
|
+
/** 同级多规则时的排序 */
|
|
202
|
+
priority: number;
|
|
203
|
+
/** 规则信息 */
|
|
204
|
+
extra?: Entity.DiscountRuleExtra;
|
|
205
|
+
}>;
|
|
206
|
+
/** 适用范围列表 */
|
|
207
|
+
scopes: {
|
|
208
|
+
/** 是否可用 */
|
|
209
|
+
available: boolean;
|
|
210
|
+
/** 范围值 */
|
|
211
|
+
scopeValue?: string;
|
|
212
|
+
/** 商品列表 */
|
|
213
|
+
idList?: string[];
|
|
214
|
+
/** 范围类型 */
|
|
215
|
+
scopeType: PROMOTION_SERVICE_ENUM.COUPON_ENUM.SCOPE_TYPE;
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
/** 作废券模版 */
|
|
219
|
+
interface abandonCouponTemplate {
|
|
220
|
+
/** 券ID */
|
|
221
|
+
couponId: string;
|
|
222
|
+
}
|
|
223
|
+
/** 券模版列表查询 */
|
|
224
|
+
interface getCouponTemplateList {
|
|
225
|
+
/** 页码 */
|
|
226
|
+
pageIndex?: number;
|
|
227
|
+
/** 每页数量 */
|
|
228
|
+
pageSize?: number;
|
|
229
|
+
/** 券ID */
|
|
230
|
+
id?: string;
|
|
231
|
+
/** 券名称(模糊查询) */
|
|
232
|
+
name?: string;
|
|
233
|
+
/** 券类型 */
|
|
234
|
+
couponType?: PROMOTION_SERVICE_ENUM.COUPON_ENUM.COUPON_TYPE;
|
|
235
|
+
/** 券状态 */
|
|
236
|
+
status?: PROMOTION_SERVICE_ENUM.COUPON_ENUM.COUPON_STATUS;
|
|
237
|
+
}
|
|
238
|
+
/** 增加券库存 */
|
|
239
|
+
interface addCouponStock {
|
|
240
|
+
/** 券ID */
|
|
241
|
+
couponId: string;
|
|
242
|
+
/** 增加数量 */
|
|
243
|
+
addQty: number;
|
|
244
|
+
/** 渠道 */
|
|
245
|
+
channel?: PROMOTION_SERVICE_ENUM.COUPON_ENUM.STOCK_CHANNEL;
|
|
246
|
+
/** 备注 */
|
|
247
|
+
remark?: string;
|
|
248
|
+
}
|
|
249
|
+
/** 获取券模版详情 */
|
|
250
|
+
interface getCouponTemplateDetail {
|
|
251
|
+
/** 券ID */
|
|
252
|
+
couponId: string;
|
|
253
|
+
}
|
|
254
|
+
/** 同步券至火山 */
|
|
255
|
+
interface syncCouponToLive {
|
|
256
|
+
/** 券ID */
|
|
257
|
+
couponId: string;
|
|
258
|
+
}
|
|
259
|
+
/** 修改券模版适用商品 */
|
|
260
|
+
interface updateCouponTemplateProduct {
|
|
261
|
+
/** 券ID */
|
|
262
|
+
couponId: string;
|
|
263
|
+
/** 适用范围 */
|
|
264
|
+
idList?: string[];
|
|
265
|
+
/** 适用范围类型 */
|
|
266
|
+
scopeType: PROMOTION_SERVICE_ENUM.COUPON_ENUM.SCOPE_TYPE;
|
|
267
|
+
/** 是否可用 */
|
|
268
|
+
available: boolean;
|
|
269
|
+
}
|
|
270
|
+
/** 获取券模版的使用商品 */
|
|
271
|
+
interface getProductScopeList {
|
|
272
|
+
/** 券ID */
|
|
273
|
+
couponId: string;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
namespace Response {
|
|
277
|
+
/** 券模版列表项 */
|
|
278
|
+
interface CouponTemplateListItem {
|
|
279
|
+
/** 优惠券ID */
|
|
280
|
+
id: string;
|
|
281
|
+
/** 名称 */
|
|
282
|
+
name: string;
|
|
283
|
+
/** 类型 */
|
|
284
|
+
couponType: PROMOTION_SERVICE_ENUM.COUPON_ENUM.COUPON_TYPE;
|
|
285
|
+
/** 优惠内容(格式化后的文本,如"满100减20") */
|
|
286
|
+
discountContent: string;
|
|
287
|
+
/** 适用商品(格式化后的文本,如"全部商品") */
|
|
288
|
+
applicableScope: string;
|
|
289
|
+
/** 已领取数量 */
|
|
290
|
+
receivedCount: number;
|
|
291
|
+
/** 未领取数量 */
|
|
292
|
+
unreceivedCount: number;
|
|
293
|
+
/** 状态 */
|
|
294
|
+
status: PROMOTION_SERVICE_ENUM.COUPON_ENUM.COUPON_STATUS;
|
|
295
|
+
/** 创建时间 */
|
|
296
|
+
createdAt: number;
|
|
297
|
+
/** 更新时间 */
|
|
298
|
+
updatedAt: number;
|
|
299
|
+
/** 创建人ID */
|
|
300
|
+
creatorId: string;
|
|
301
|
+
/** 创建人名称 */
|
|
302
|
+
creatorName: string;
|
|
303
|
+
}
|
|
304
|
+
/** 券模版列表响应 */
|
|
305
|
+
interface getCouponTemplateList {
|
|
306
|
+
/** 总数 */
|
|
307
|
+
total: number;
|
|
308
|
+
/** 券模版列表 */
|
|
309
|
+
list: CouponTemplateListItem[];
|
|
310
|
+
/** 当前页码 */
|
|
311
|
+
pageIndex: number;
|
|
312
|
+
/** 每页数量 */
|
|
313
|
+
pageSize: number;
|
|
314
|
+
}
|
|
315
|
+
/** 增加券库存响应 */
|
|
316
|
+
interface addCouponStock {
|
|
317
|
+
/** 是否成功 */
|
|
318
|
+
success: boolean;
|
|
319
|
+
/** 券ID */
|
|
320
|
+
couponId: string;
|
|
321
|
+
/** 增加前的库存 */
|
|
322
|
+
beforeStock: number;
|
|
323
|
+
/** 增加后的库存 */
|
|
324
|
+
afterStock: number;
|
|
325
|
+
/** 库存流水ID */
|
|
326
|
+
stockFlowId?: string;
|
|
327
|
+
}
|
|
328
|
+
/** 获取券模版详情响应 */
|
|
329
|
+
interface getCouponTemplateDetail {
|
|
330
|
+
/** 券ID */
|
|
331
|
+
id: string;
|
|
332
|
+
/** 券名称 */
|
|
333
|
+
name: string;
|
|
334
|
+
/** 券类型 */
|
|
335
|
+
couponType: PROMOTION_SERVICE_ENUM.COUPON_ENUM.COUPON_TYPE;
|
|
336
|
+
/** 初始数量(-1为无限) */
|
|
337
|
+
originalQty: number;
|
|
338
|
+
/** 使用说明 */
|
|
339
|
+
instructions: string;
|
|
340
|
+
/** 券生命周期 */
|
|
341
|
+
lifeCycle: Entity.CouponLifeCycle;
|
|
342
|
+
/** 使用限制 */
|
|
343
|
+
usageLimit?: Entity.CouponUsageLimit;
|
|
344
|
+
/** 领取限制列表 */
|
|
345
|
+
receiveLimits?: Array<{
|
|
346
|
+
/** 限制维度 */
|
|
347
|
+
type: PROMOTION_SERVICE_ENUM.COUPON_ENUM.RECEIVE_LIMIT_TYPE;
|
|
348
|
+
/** 限制值 */
|
|
349
|
+
limitValue: number;
|
|
350
|
+
}>;
|
|
351
|
+
/** 优惠规则列表 */
|
|
352
|
+
discountRules?: Array<{
|
|
353
|
+
/** 优惠类型 */
|
|
354
|
+
type: PROMOTION_SERVICE_ENUM.COUPON_ENUM.DISCOUNT_RULE_TYPE;
|
|
355
|
+
/** 优惠值(金额:分,折扣:0-100) */
|
|
356
|
+
discountValue: number;
|
|
357
|
+
/** 优惠级别 */
|
|
358
|
+
level: PROMOTION_SERVICE_ENUM.COUPON_ENUM.DISCOUNT_LEVEL;
|
|
359
|
+
/** 同级多规则时的排序 */
|
|
360
|
+
priority: number;
|
|
361
|
+
/** 规则信息 */
|
|
362
|
+
extra?: Entity.DiscountRuleExtra;
|
|
363
|
+
}>;
|
|
364
|
+
/** 适用范围列表 */
|
|
365
|
+
scopes?: Array<{
|
|
366
|
+
/** 是否可用 */
|
|
367
|
+
available: boolean;
|
|
368
|
+
/** 范围值 */
|
|
369
|
+
scopeValue?: string;
|
|
370
|
+
/** 范围类型 */
|
|
371
|
+
scopeType: PROMOTION_SERVICE_ENUM.COUPON_ENUM.SCOPE_TYPE;
|
|
372
|
+
/** 商品列表 */
|
|
373
|
+
idList: string[];
|
|
374
|
+
}>;
|
|
375
|
+
}
|
|
376
|
+
/** 扣减券库存响应 */
|
|
377
|
+
interface deductCouponStock {
|
|
378
|
+
/** 是否成功 */
|
|
379
|
+
success: boolean;
|
|
380
|
+
/** 失败消息 */
|
|
381
|
+
message?: string;
|
|
382
|
+
}
|
|
383
|
+
/** 获取券模版的使用商品响应 */
|
|
384
|
+
interface getProductScopeList {
|
|
385
|
+
/** ID列表 */
|
|
386
|
+
idList: string[];
|
|
387
|
+
/** 类型 */
|
|
388
|
+
idType?: PROMOTION_SERVICE_ENUM.COUPON_ENUM.SCOPE_TYPE;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
interface CouponTemplateController {
|
|
392
|
+
/** 创建券模版 */
|
|
393
|
+
createCouponTemplate(request: CouponService.Request.createCouponTemplate): Promise<StandardResponse<void>>;
|
|
394
|
+
/** 作废券模版 */
|
|
395
|
+
abandonCouponTemplate(request: CouponService.Request.abandonCouponTemplate): Promise<StandardResponse<void>>;
|
|
396
|
+
/** 获取券模版列表 */
|
|
397
|
+
getCouponTemplateList(request: CouponService.Request.getCouponTemplateList): Promise<StandardResponse<CouponService.Response.getCouponTemplateList>>;
|
|
398
|
+
/** 增加券库存 */
|
|
399
|
+
addCouponStock(request: CouponService.Request.addCouponStock): Promise<StandardResponse<void>>;
|
|
400
|
+
/** 获取券模版详情 */
|
|
401
|
+
getCouponTemplateDetail(request: CouponService.Request.getCouponTemplateDetail): Promise<StandardResponse<CouponService.Response.getCouponTemplateDetail>>;
|
|
402
|
+
/** 同步券至火山直播 */
|
|
403
|
+
syncCouponToLive(request: CouponService.Request.syncCouponToLive): Promise<StandardResponse<void>>;
|
|
404
|
+
/** 修改券模版适用商品 */
|
|
405
|
+
updateCouponTemplateScope(request: CouponService.Request.updateCouponTemplateProduct): Promise<StandardResponse<void>>;
|
|
406
|
+
/** 获取券模版的使用商品 */
|
|
407
|
+
getProductScopeList(request: CouponService.Request.getProductScopeList): Promise<StandardResponse<CouponService.Response.getProductScopeList>>;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PandoraFranchiseeService as Service } from './types';
|
|
2
|
+
import BaseService from '../../BaseService';
|
|
3
|
+
import type { StandardResponse } from '../../../../types';
|
|
4
|
+
/**
|
|
5
|
+
* PandoraFranchiseeService - Pandora Franchisee 服务模块
|
|
6
|
+
* 提供 Pandora Franchisee 相关的 API 方法
|
|
7
|
+
* 平台: pandora
|
|
8
|
+
*/
|
|
9
|
+
export declare class PandoraFranchiseeService extends BaseService implements Service.FranchiseeController {
|
|
10
|
+
protected prefixUrl: string;
|
|
11
|
+
createFranchisee(request: Service.Request.createFranchisee): Promise<StandardResponse<Service.Response.createFranchisee>>;
|
|
12
|
+
updateFranchisee(request: Service.Request.updateFranchisee): Promise<StandardResponse<Service.Response.updateFranchisee>>;
|
|
13
|
+
listFranchisees(request: Service.Request.listFranchisees): Promise<StandardResponse<Service.Response.listFranchisees>>;
|
|
14
|
+
getFranchiseeDetail(request: Service.Request.getFranchiseeDetail): Promise<StandardResponse<Service.Response.getFranchiseeDetail>>;
|
|
15
|
+
getFranchiseeEditHistory(request: Service.Request.getFranchiseeEditHistory): Promise<StandardResponse<Service.Response.getFranchiseeEditHistory>>;
|
|
16
|
+
checkAndUpdateAccountInfo(request: Service.Request.checkAndUpdateAccountInfo): Promise<StandardResponse<Service.Response.checkAndUpdateAccountInfo>>;
|
|
17
|
+
getFranchiseeIdByUserId(request: Service.Request.getFranchiseeIdByUserId): Promise<StandardResponse<Service.Response.getFranchiseeIdByUserId>>;
|
|
18
|
+
updateStatus(request: Service.Request.updateStatus): Promise<StandardResponse<Service.Response.updateStatus>>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.PandoraFranchiseeService = void 0;
|
|
7
|
+
const BaseService_1 = __importDefault(require("../../BaseService"));
|
|
8
|
+
/**
|
|
9
|
+
* PandoraFranchiseeService - Pandora Franchisee 服务模块
|
|
10
|
+
* 提供 Pandora Franchisee 相关的 API 方法
|
|
11
|
+
* 平台: pandora
|
|
12
|
+
*/
|
|
13
|
+
class PandoraFranchiseeService extends BaseService_1.default {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
this.prefixUrl = '/pandora/franchisee';
|
|
17
|
+
}
|
|
18
|
+
createFranchisee(request) {
|
|
19
|
+
return this.request(this.createFranchisee, request);
|
|
20
|
+
}
|
|
21
|
+
updateFranchisee(request) {
|
|
22
|
+
return this.request(this.updateFranchisee, request);
|
|
23
|
+
}
|
|
24
|
+
listFranchisees(request) {
|
|
25
|
+
return this.request(this.listFranchisees, request);
|
|
26
|
+
}
|
|
27
|
+
getFranchiseeDetail(request) {
|
|
28
|
+
return this.request(this.getFranchiseeDetail, request);
|
|
29
|
+
}
|
|
30
|
+
getFranchiseeEditHistory(request) {
|
|
31
|
+
return this.request(this.getFranchiseeEditHistory, request);
|
|
32
|
+
}
|
|
33
|
+
checkAndUpdateAccountInfo(request) {
|
|
34
|
+
return this.request(this.checkAndUpdateAccountInfo, request);
|
|
35
|
+
}
|
|
36
|
+
getFranchiseeIdByUserId(request) {
|
|
37
|
+
return this.request(this.getFranchiseeIdByUserId, request);
|
|
38
|
+
}
|
|
39
|
+
updateStatus(request) {
|
|
40
|
+
return this.request(this.updateStatus, request);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.PandoraFranchiseeService = PandoraFranchiseeService;
|