@be-link/ecommerce-backend-bff-service-node-sdk 0.0.77 → 0.0.79

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.
@@ -44,4 +44,10 @@ export declare class PandoraPointRuleService extends BaseService implements Serv
44
44
  * @returns Promise,解析为标准响应格式
45
45
  */
46
46
  queryProductsByRuleId(request: Service.Request.queryProductsByRuleId): Promise<StandardResponse<Service.Response.queryProductsByRuleId>>;
47
+ /**
48
+ * 查询积分规则操作日志
49
+ * @param request - 请求参数
50
+ * @returns Promise,解析为标准响应格式
51
+ */
52
+ queryPointRuleOperationLog(request: Service.Request.queryPointRuleOperationLog): Promise<StandardResponse<Service.Response.queryPointRuleOperationLog>>;
47
53
  }
@@ -63,5 +63,13 @@ class PandoraPointRuleService extends BaseService_1.default {
63
63
  queryProductsByRuleId(request) {
64
64
  return this.request(this.queryProductsByRuleId, request);
65
65
  }
66
+ /**
67
+ * 查询积分规则操作日志
68
+ * @param request - 请求参数
69
+ * @returns Promise,解析为标准响应格式
70
+ */
71
+ queryPointRuleOperationLog(request) {
72
+ return this.request(this.queryPointRuleOperationLog, request);
73
+ }
66
74
  }
67
75
  exports.PandoraPointRuleService = PandoraPointRuleService;
@@ -1,27 +1,241 @@
1
- import type { PointRuleControllerTypes } from '@be-link/ecommerce-task-center-service-node-sdk';
1
+ import { StandardResponse } from '../../../../types';
2
2
  export declare namespace PandoraPointRuleService {
3
+ /** 规则操作日志信息 */
4
+ interface RuleOperationLogInfo {
5
+ /** 日志ID */
6
+ id: string;
7
+ /** 规则ID */
8
+ ruleId: string;
9
+ /** 变更类型 */
10
+ changeType: string;
11
+ /** 变更前数据 */
12
+ beforeData: any;
13
+ /** 变更后数据 */
14
+ afterData: any;
15
+ /** 操作人ID */
16
+ operatorId: string;
17
+ /** 操作人名称 */
18
+ operatorName: string;
19
+ /** 备注 */
20
+ remark: string;
21
+ /** 创建时间 */
22
+ createdAt: number;
23
+ /** 更新时间 */
24
+ updatedAt: number;
25
+ }
26
+ /** 积分规则信息 */
27
+ interface PointRuleInfo {
28
+ /** 规则ID */
29
+ id: string;
30
+ /** 规则名称 */
31
+ ruleName: string;
32
+ /** 规则类型 */
33
+ ruleType: string;
34
+ /** 子规则类型 */
35
+ subRuleType: string;
36
+ /** 场景 */
37
+ scene: string;
38
+ /** 状态 */
39
+ status: number;
40
+ /** 积分比例 */
41
+ pointRatio: number;
42
+ /** 兑换比例 */
43
+ exchangeRatio: number;
44
+ /** 参与门槛 */
45
+ involvedThreshold: number;
46
+ /** 会员倍数 */
47
+ memberMultiply: string;
48
+ /** 非会员倍数 */
49
+ nonMemberMultiply: string;
50
+ /** 有效期时间 */
51
+ validityTime: number;
52
+ /** 会员首单金额 */
53
+ memberFirstAmount: number;
54
+ /** 抵扣最小门槛 */
55
+ deductMinThreshold: number;
56
+ /** 消费金额门槛 */
57
+ consumeAmountThreshold: number;
58
+ /** 每日限制 */
59
+ dailyLimit: number;
60
+ /** 生效开始时间 */
61
+ effectiveStartTime: number;
62
+ /** 生效结束时间 */
63
+ effectiveEndTime: number;
64
+ /** 优先级 */
65
+ priority: number;
66
+ /** 操作人ID */
67
+ operatorId: string;
68
+ /** 创建时间 */
69
+ createdAt: number;
70
+ /** 更新时间 */
71
+ updatedAt: number;
72
+ /** 删除时间 */
73
+ deletedAt: number;
74
+ }
3
75
  namespace Request {
4
- type createPointRule = PointRuleControllerTypes.Request.createPointRule;
5
- type updatePointRule = PointRuleControllerTypes.Request.updatePointRule;
6
- type deletePointRule = PointRuleControllerTypes.Request.deletePointRule;
7
- type queryPointRule = PointRuleControllerTypes.Request.queryPointRule;
8
- type queryPointRuleByProduct = PointRuleControllerTypes.Request.queryPointRuleByProduct;
9
- type queryProductsByRuleId = PointRuleControllerTypes.Request.queryProductsByRuleId;
76
+ /** 创建积分规则请求 */
77
+ interface createPointRule {
78
+ /** 规则名称 */
79
+ ruleName: string;
80
+ /** 子规则类型 */
81
+ subRuleType: string;
82
+ /** 场景 */
83
+ scene?: string;
84
+ /** 积分比例 */
85
+ pointRatio?: number;
86
+ /** 兑换比例 */
87
+ exchangeRatio?: number;
88
+ /** 商品ID列表 */
89
+ productIds?: string[];
90
+ /** 参与门槛 */
91
+ involvedThreshold?: number;
92
+ /** 会员倍数 */
93
+ memberMultiply?: string;
94
+ /** 非会员倍数 */
95
+ nonMemberMultiply?: string;
96
+ /** 有效期时间 */
97
+ validityTime?: number;
98
+ /** 抵扣最小门槛 */
99
+ deductMinThreshold?: number;
100
+ /** 消费金额门槛 */
101
+ consumeAmountThreshold?: number;
102
+ /** 每日限制 */
103
+ dailyLimit?: number;
104
+ /** 生效开始时间 */
105
+ effectiveStartTime?: number;
106
+ /** 生效结束时间 */
107
+ effectiveEndTime?: number;
108
+ /** 优先级 */
109
+ priority?: number;
110
+ }
111
+ /** 修改积分规则请求 */
112
+ interface updatePointRule {
113
+ /** 规则ID */
114
+ ruleId: string;
115
+ /** 规则名称 */
116
+ ruleName?: string;
117
+ /** 场景 */
118
+ scene?: string;
119
+ /** 生效开始时间 */
120
+ effectiveStartTime?: number;
121
+ /** 生效结束时间 */
122
+ effectiveEndTime?: number;
123
+ /** 优先级 */
124
+ priority?: number;
125
+ /** 状态 */
126
+ status?: number;
127
+ /** 商品ID列表 */
128
+ productIds?: string[];
129
+ }
130
+ /** 删除积分规则请求 */
131
+ interface deletePointRule {
132
+ /** 规则ID */
133
+ ruleId: string;
134
+ }
135
+ /** 查询积分规则请求 */
136
+ interface queryPointRule {
137
+ /** 规则ID */
138
+ ruleId?: string;
139
+ /** 子规则类型 */
140
+ subRuleType?: string;
141
+ /** 场景 */
142
+ scene?: string;
143
+ /** 状态 */
144
+ status?: number;
145
+ /** 页码 */
146
+ page?: number;
147
+ /** 每页数量 */
148
+ pageSize?: number;
149
+ }
150
+ /** 查询商品命中的积分规则请求 */
151
+ interface queryPointRuleByProduct {
152
+ /** 商品ID */
153
+ productId: string;
154
+ /** 子规则类型 */
155
+ subRuleType: string;
156
+ /** 场景 */
157
+ scene?: string;
158
+ /** 规则类型 */
159
+ ruleType?: string;
160
+ }
161
+ /** 根据规则ID查询关联的商品列表请求 */
162
+ interface queryProductsByRuleId {
163
+ /** 规则ID */
164
+ ruleId: string;
165
+ /** 页码 */
166
+ page?: number;
167
+ /** 每页数量 */
168
+ pageSize?: number;
169
+ }
170
+ /** 查询积分规则操作日志请求 */
171
+ interface queryPointRuleOperationLog {
172
+ /** 规则ID */
173
+ ruleId: string;
174
+ /** 变更类型 */
175
+ changeType?: string;
176
+ /** 页码 */
177
+ page?: number;
178
+ /** 每页数量 */
179
+ pageSize?: number;
180
+ }
10
181
  }
11
182
  namespace Response {
12
- type createPointRule = PointRuleControllerTypes.Response.createPointRule;
13
- type updatePointRule = PointRuleControllerTypes.Response.updatePointRule;
14
- type deletePointRule = PointRuleControllerTypes.Response.deletePointRule;
15
- type queryPointRule = PointRuleControllerTypes.Response.queryPointRule;
16
- type queryPointRuleByProduct = PointRuleControllerTypes.Response.queryPointRuleByProduct;
17
- type queryProductsByRuleId = PointRuleControllerTypes.Response.queryProductsByRuleId;
183
+ /** 创建积分规则响应 */
184
+ interface createPointRule {
185
+ /** 规则ID */
186
+ ruleId: string;
187
+ }
188
+ /** 修改积分规则响应 */
189
+ interface updatePointRule {
190
+ }
191
+ /** 删除积分规则响应 */
192
+ interface deletePointRule {
193
+ }
194
+ /** 查询积分规则响应 */
195
+ interface queryPointRule {
196
+ /** 规则列表 */
197
+ list: PointRuleInfo[];
198
+ /** 总数 */
199
+ total: number;
200
+ }
201
+ /** 查询商品命中的积分规则响应 */
202
+ interface queryPointRuleByProduct {
203
+ /** 是否命中 */
204
+ matched: boolean;
205
+ /** 规则列表 */
206
+ rules: PointRuleInfo[];
207
+ }
208
+ /** 根据规则ID查询关联的商品列表响应 */
209
+ interface queryProductsByRuleId {
210
+ /** 商品ID列表 */
211
+ productIds: string[];
212
+ /** 商品列表 */
213
+ productList: any[];
214
+ /** 总数 */
215
+ total: number;
216
+ }
217
+ /** 查询积分规则操作日志响应 */
218
+ interface queryPointRuleOperationLog {
219
+ /** 日志列表 */
220
+ list: RuleOperationLogInfo[];
221
+ /** 总数 */
222
+ total: number;
223
+ }
18
224
  }
19
225
  interface PointRuleController {
20
- createPointRule(request: Request.createPointRule): any;
21
- updatePointRule(request: Request.updatePointRule): any;
22
- deletePointRule(request: Request.deletePointRule): any;
23
- queryPointRule(request: Request.queryPointRule): any;
24
- queryPointRuleByProduct(request: Request.queryPointRuleByProduct): any;
25
- queryProductsByRuleId(request: Request.queryProductsByRuleId): any;
226
+ /** 创建积分规则 */
227
+ createPointRule(request: Request.createPointRule): Promise<StandardResponse<Response.createPointRule>>;
228
+ /** 修改积分规则 */
229
+ updatePointRule(request: Request.updatePointRule): Promise<StandardResponse<Response.updatePointRule>>;
230
+ /** 删除积分规则 */
231
+ deletePointRule(request: Request.deletePointRule): Promise<StandardResponse<Response.deletePointRule>>;
232
+ /** 查询积分规则 */
233
+ queryPointRule(request: Request.queryPointRule): Promise<StandardResponse<Response.queryPointRule>>;
234
+ /** 查询商品命中的积分规则 */
235
+ queryPointRuleByProduct(request: Request.queryPointRuleByProduct): Promise<StandardResponse<Response.queryPointRuleByProduct>>;
236
+ /** 根据规则ID查询关联的商品列表 */
237
+ queryProductsByRuleId(request: Request.queryProductsByRuleId): Promise<StandardResponse<Response.queryProductsByRuleId>>;
238
+ /** 查询积分规则操作日志 */
239
+ queryPointRuleOperationLog(request: Request.queryPointRuleOperationLog): Promise<StandardResponse<Response.queryPointRuleOperationLog>>;
26
240
  }
27
241
  }
package/cjs/enums.d.ts CHANGED
@@ -7,3 +7,5 @@ export { ENUM as STORE_SERVICE_ENUM } from '@be-link/ecommerce-store-service-nod
7
7
  export { ENUM as PROMOTION_ENUM } from '@be-link/ecommerce-promotion-service-node-sdk/enum';
8
8
  export { ENUM as ROOM_SERVICE_ENUM } from '@be-link/ecommerce-client-backend-service-node-sdk/enum';
9
9
  export { ENUM as PROMOTION_SERVICE_ENUM } from '@be-link/ecommerce-promotion-service-node-sdk/enum';
10
+ export { ENUM as TRADE_SERVICE_ENUM } from '@be-link/ecommerce-trade-service-node-sdk/enums';
11
+ export { ENUM as TASK_CENTER_ENUM } from '@be-link/ecommerce-task-center-service-node-sdk/enum';
package/cjs/enums.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * 集中管理所有第三方服务 SDK 的枚举和常量
5
5
  */
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.PROMOTION_SERVICE_ENUM = exports.ROOM_SERVICE_ENUM = exports.PROMOTION_ENUM = exports.STORE_SERVICE_ENUM = exports.PRODUCT_SERVICE_ENUM = void 0;
7
+ exports.TASK_CENTER_ENUM = exports.TRADE_SERVICE_ENUM = exports.PROMOTION_SERVICE_ENUM = exports.ROOM_SERVICE_ENUM = exports.PROMOTION_ENUM = exports.STORE_SERVICE_ENUM = exports.PRODUCT_SERVICE_ENUM = void 0;
8
8
  // 商品服务枚举
9
9
  var enum_1 = require("@be-link/ecommerce-product-service-node-sdk/enum");
10
10
  Object.defineProperty(exports, "PRODUCT_SERVICE_ENUM", { enumerable: true, get: function () { return enum_1.ENUM; } });
@@ -18,3 +18,9 @@ Object.defineProperty(exports, "ROOM_SERVICE_ENUM", { enumerable: true, get: fun
18
18
  // 优惠券服务枚举
19
19
  var enum_4 = require("@be-link/ecommerce-promotion-service-node-sdk/enum");
20
20
  Object.defineProperty(exports, "PROMOTION_SERVICE_ENUM", { enumerable: true, get: function () { return enum_4.ENUM; } });
21
+ // 交易服务枚举
22
+ var enums_2 = require("@be-link/ecommerce-trade-service-node-sdk/enums");
23
+ Object.defineProperty(exports, "TRADE_SERVICE_ENUM", { enumerable: true, get: function () { return enums_2.ENUM; } });
24
+ // 任务中心服务枚举
25
+ var enum_5 = require("@be-link/ecommerce-task-center-service-node-sdk/enum");
26
+ Object.defineProperty(exports, "TASK_CENTER_ENUM", { enumerable: true, get: function () { return enum_5.ENUM; } });
@@ -44,4 +44,10 @@ export declare class PandoraPointRuleService extends BaseService implements Serv
44
44
  * @returns Promise,解析为标准响应格式
45
45
  */
46
46
  queryProductsByRuleId(request: Service.Request.queryProductsByRuleId): Promise<StandardResponse<Service.Response.queryProductsByRuleId>>;
47
+ /**
48
+ * 查询积分规则操作日志
49
+ * @param request - 请求参数
50
+ * @returns Promise,解析为标准响应格式
51
+ */
52
+ queryPointRuleOperationLog(request: Service.Request.queryPointRuleOperationLog): Promise<StandardResponse<Service.Response.queryPointRuleOperationLog>>;
47
53
  }
@@ -57,4 +57,12 @@ export class PandoraPointRuleService extends BaseService {
57
57
  queryProductsByRuleId(request) {
58
58
  return this.request(this.queryProductsByRuleId, request);
59
59
  }
60
+ /**
61
+ * 查询积分规则操作日志
62
+ * @param request - 请求参数
63
+ * @returns Promise,解析为标准响应格式
64
+ */
65
+ queryPointRuleOperationLog(request) {
66
+ return this.request(this.queryPointRuleOperationLog, request);
67
+ }
60
68
  }
@@ -1,27 +1,241 @@
1
- import type { PointRuleControllerTypes } from '@be-link/ecommerce-task-center-service-node-sdk';
1
+ import { StandardResponse } from '../../../../types';
2
2
  export declare namespace PandoraPointRuleService {
3
+ /** 规则操作日志信息 */
4
+ interface RuleOperationLogInfo {
5
+ /** 日志ID */
6
+ id: string;
7
+ /** 规则ID */
8
+ ruleId: string;
9
+ /** 变更类型 */
10
+ changeType: string;
11
+ /** 变更前数据 */
12
+ beforeData: any;
13
+ /** 变更后数据 */
14
+ afterData: any;
15
+ /** 操作人ID */
16
+ operatorId: string;
17
+ /** 操作人名称 */
18
+ operatorName: string;
19
+ /** 备注 */
20
+ remark: string;
21
+ /** 创建时间 */
22
+ createdAt: number;
23
+ /** 更新时间 */
24
+ updatedAt: number;
25
+ }
26
+ /** 积分规则信息 */
27
+ interface PointRuleInfo {
28
+ /** 规则ID */
29
+ id: string;
30
+ /** 规则名称 */
31
+ ruleName: string;
32
+ /** 规则类型 */
33
+ ruleType: string;
34
+ /** 子规则类型 */
35
+ subRuleType: string;
36
+ /** 场景 */
37
+ scene: string;
38
+ /** 状态 */
39
+ status: number;
40
+ /** 积分比例 */
41
+ pointRatio: number;
42
+ /** 兑换比例 */
43
+ exchangeRatio: number;
44
+ /** 参与门槛 */
45
+ involvedThreshold: number;
46
+ /** 会员倍数 */
47
+ memberMultiply: string;
48
+ /** 非会员倍数 */
49
+ nonMemberMultiply: string;
50
+ /** 有效期时间 */
51
+ validityTime: number;
52
+ /** 会员首单金额 */
53
+ memberFirstAmount: number;
54
+ /** 抵扣最小门槛 */
55
+ deductMinThreshold: number;
56
+ /** 消费金额门槛 */
57
+ consumeAmountThreshold: number;
58
+ /** 每日限制 */
59
+ dailyLimit: number;
60
+ /** 生效开始时间 */
61
+ effectiveStartTime: number;
62
+ /** 生效结束时间 */
63
+ effectiveEndTime: number;
64
+ /** 优先级 */
65
+ priority: number;
66
+ /** 操作人ID */
67
+ operatorId: string;
68
+ /** 创建时间 */
69
+ createdAt: number;
70
+ /** 更新时间 */
71
+ updatedAt: number;
72
+ /** 删除时间 */
73
+ deletedAt: number;
74
+ }
3
75
  namespace Request {
4
- type createPointRule = PointRuleControllerTypes.Request.createPointRule;
5
- type updatePointRule = PointRuleControllerTypes.Request.updatePointRule;
6
- type deletePointRule = PointRuleControllerTypes.Request.deletePointRule;
7
- type queryPointRule = PointRuleControllerTypes.Request.queryPointRule;
8
- type queryPointRuleByProduct = PointRuleControllerTypes.Request.queryPointRuleByProduct;
9
- type queryProductsByRuleId = PointRuleControllerTypes.Request.queryProductsByRuleId;
76
+ /** 创建积分规则请求 */
77
+ interface createPointRule {
78
+ /** 规则名称 */
79
+ ruleName: string;
80
+ /** 子规则类型 */
81
+ subRuleType: string;
82
+ /** 场景 */
83
+ scene?: string;
84
+ /** 积分比例 */
85
+ pointRatio?: number;
86
+ /** 兑换比例 */
87
+ exchangeRatio?: number;
88
+ /** 商品ID列表 */
89
+ productIds?: string[];
90
+ /** 参与门槛 */
91
+ involvedThreshold?: number;
92
+ /** 会员倍数 */
93
+ memberMultiply?: string;
94
+ /** 非会员倍数 */
95
+ nonMemberMultiply?: string;
96
+ /** 有效期时间 */
97
+ validityTime?: number;
98
+ /** 抵扣最小门槛 */
99
+ deductMinThreshold?: number;
100
+ /** 消费金额门槛 */
101
+ consumeAmountThreshold?: number;
102
+ /** 每日限制 */
103
+ dailyLimit?: number;
104
+ /** 生效开始时间 */
105
+ effectiveStartTime?: number;
106
+ /** 生效结束时间 */
107
+ effectiveEndTime?: number;
108
+ /** 优先级 */
109
+ priority?: number;
110
+ }
111
+ /** 修改积分规则请求 */
112
+ interface updatePointRule {
113
+ /** 规则ID */
114
+ ruleId: string;
115
+ /** 规则名称 */
116
+ ruleName?: string;
117
+ /** 场景 */
118
+ scene?: string;
119
+ /** 生效开始时间 */
120
+ effectiveStartTime?: number;
121
+ /** 生效结束时间 */
122
+ effectiveEndTime?: number;
123
+ /** 优先级 */
124
+ priority?: number;
125
+ /** 状态 */
126
+ status?: number;
127
+ /** 商品ID列表 */
128
+ productIds?: string[];
129
+ }
130
+ /** 删除积分规则请求 */
131
+ interface deletePointRule {
132
+ /** 规则ID */
133
+ ruleId: string;
134
+ }
135
+ /** 查询积分规则请求 */
136
+ interface queryPointRule {
137
+ /** 规则ID */
138
+ ruleId?: string;
139
+ /** 子规则类型 */
140
+ subRuleType?: string;
141
+ /** 场景 */
142
+ scene?: string;
143
+ /** 状态 */
144
+ status?: number;
145
+ /** 页码 */
146
+ page?: number;
147
+ /** 每页数量 */
148
+ pageSize?: number;
149
+ }
150
+ /** 查询商品命中的积分规则请求 */
151
+ interface queryPointRuleByProduct {
152
+ /** 商品ID */
153
+ productId: string;
154
+ /** 子规则类型 */
155
+ subRuleType: string;
156
+ /** 场景 */
157
+ scene?: string;
158
+ /** 规则类型 */
159
+ ruleType?: string;
160
+ }
161
+ /** 根据规则ID查询关联的商品列表请求 */
162
+ interface queryProductsByRuleId {
163
+ /** 规则ID */
164
+ ruleId: string;
165
+ /** 页码 */
166
+ page?: number;
167
+ /** 每页数量 */
168
+ pageSize?: number;
169
+ }
170
+ /** 查询积分规则操作日志请求 */
171
+ interface queryPointRuleOperationLog {
172
+ /** 规则ID */
173
+ ruleId: string;
174
+ /** 变更类型 */
175
+ changeType?: string;
176
+ /** 页码 */
177
+ page?: number;
178
+ /** 每页数量 */
179
+ pageSize?: number;
180
+ }
10
181
  }
11
182
  namespace Response {
12
- type createPointRule = PointRuleControllerTypes.Response.createPointRule;
13
- type updatePointRule = PointRuleControllerTypes.Response.updatePointRule;
14
- type deletePointRule = PointRuleControllerTypes.Response.deletePointRule;
15
- type queryPointRule = PointRuleControllerTypes.Response.queryPointRule;
16
- type queryPointRuleByProduct = PointRuleControllerTypes.Response.queryPointRuleByProduct;
17
- type queryProductsByRuleId = PointRuleControllerTypes.Response.queryProductsByRuleId;
183
+ /** 创建积分规则响应 */
184
+ interface createPointRule {
185
+ /** 规则ID */
186
+ ruleId: string;
187
+ }
188
+ /** 修改积分规则响应 */
189
+ interface updatePointRule {
190
+ }
191
+ /** 删除积分规则响应 */
192
+ interface deletePointRule {
193
+ }
194
+ /** 查询积分规则响应 */
195
+ interface queryPointRule {
196
+ /** 规则列表 */
197
+ list: PointRuleInfo[];
198
+ /** 总数 */
199
+ total: number;
200
+ }
201
+ /** 查询商品命中的积分规则响应 */
202
+ interface queryPointRuleByProduct {
203
+ /** 是否命中 */
204
+ matched: boolean;
205
+ /** 规则列表 */
206
+ rules: PointRuleInfo[];
207
+ }
208
+ /** 根据规则ID查询关联的商品列表响应 */
209
+ interface queryProductsByRuleId {
210
+ /** 商品ID列表 */
211
+ productIds: string[];
212
+ /** 商品列表 */
213
+ productList: any[];
214
+ /** 总数 */
215
+ total: number;
216
+ }
217
+ /** 查询积分规则操作日志响应 */
218
+ interface queryPointRuleOperationLog {
219
+ /** 日志列表 */
220
+ list: RuleOperationLogInfo[];
221
+ /** 总数 */
222
+ total: number;
223
+ }
18
224
  }
19
225
  interface PointRuleController {
20
- createPointRule(request: Request.createPointRule): any;
21
- updatePointRule(request: Request.updatePointRule): any;
22
- deletePointRule(request: Request.deletePointRule): any;
23
- queryPointRule(request: Request.queryPointRule): any;
24
- queryPointRuleByProduct(request: Request.queryPointRuleByProduct): any;
25
- queryProductsByRuleId(request: Request.queryProductsByRuleId): any;
226
+ /** 创建积分规则 */
227
+ createPointRule(request: Request.createPointRule): Promise<StandardResponse<Response.createPointRule>>;
228
+ /** 修改积分规则 */
229
+ updatePointRule(request: Request.updatePointRule): Promise<StandardResponse<Response.updatePointRule>>;
230
+ /** 删除积分规则 */
231
+ deletePointRule(request: Request.deletePointRule): Promise<StandardResponse<Response.deletePointRule>>;
232
+ /** 查询积分规则 */
233
+ queryPointRule(request: Request.queryPointRule): Promise<StandardResponse<Response.queryPointRule>>;
234
+ /** 查询商品命中的积分规则 */
235
+ queryPointRuleByProduct(request: Request.queryPointRuleByProduct): Promise<StandardResponse<Response.queryPointRuleByProduct>>;
236
+ /** 根据规则ID查询关联的商品列表 */
237
+ queryProductsByRuleId(request: Request.queryProductsByRuleId): Promise<StandardResponse<Response.queryProductsByRuleId>>;
238
+ /** 查询积分规则操作日志 */
239
+ queryPointRuleOperationLog(request: Request.queryPointRuleOperationLog): Promise<StandardResponse<Response.queryPointRuleOperationLog>>;
26
240
  }
27
241
  }
package/esm/enums.d.ts CHANGED
@@ -7,3 +7,5 @@ export { ENUM as STORE_SERVICE_ENUM } from '@be-link/ecommerce-store-service-nod
7
7
  export { ENUM as PROMOTION_ENUM } from '@be-link/ecommerce-promotion-service-node-sdk/enum';
8
8
  export { ENUM as ROOM_SERVICE_ENUM } from '@be-link/ecommerce-client-backend-service-node-sdk/enum';
9
9
  export { ENUM as PROMOTION_SERVICE_ENUM } from '@be-link/ecommerce-promotion-service-node-sdk/enum';
10
+ export { ENUM as TRADE_SERVICE_ENUM } from '@be-link/ecommerce-trade-service-node-sdk/enums';
11
+ export { ENUM as TASK_CENTER_ENUM } from '@be-link/ecommerce-task-center-service-node-sdk/enum';
package/esm/enums.mjs CHANGED
@@ -10,3 +10,7 @@ export { ENUM as PROMOTION_ENUM } from '@be-link/ecommerce-promotion-service-nod
10
10
  export { ENUM as ROOM_SERVICE_ENUM } from '@be-link/ecommerce-client-backend-service-node-sdk/enum';
11
11
  // 优惠券服务枚举
12
12
  export { ENUM as PROMOTION_SERVICE_ENUM } from '@be-link/ecommerce-promotion-service-node-sdk/enum';
13
+ // 交易服务枚举
14
+ export { ENUM as TRADE_SERVICE_ENUM } from '@be-link/ecommerce-trade-service-node-sdk/enums';
15
+ // 任务中心服务枚举
16
+ export { ENUM as TASK_CENTER_ENUM } from '@be-link/ecommerce-task-center-service-node-sdk/enum';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-backend-bff-service-node-sdk",
3
- "version": "0.0.77",
3
+ "version": "0.0.79",
4
4
  "description": "EcommerceBackendBffService Node.js SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./cjs/index.js",
@@ -28,10 +28,10 @@
28
28
  "@be-link/ecommerce-client-backend-service-node-sdk": "^0.0.11",
29
29
  "@be-link/ecommerce-tag-service-node-sdk": "^0.0.11",
30
30
  "@be-link/ecommerce-store-service-node-sdk": "^0.0.17",
31
- "@be-link/ecommerce-trade-service-node-sdk": "^0.0.17",
32
- "@be-link/ecommerce-task-center-service-node-sdk": "^0.0.11",
31
+ "@be-link/ecommerce-trade-service-node-sdk": "^0.0.29",
32
+ "@be-link/ecommerce-task-center-service-node-sdk": "^0.0.17",
33
33
  "@be-link/ecommerce-product-service-node-sdk": "0.0.23",
34
- "@be-link/ecommerce-promotion-service-node-sdk": "^0.0.25",
34
+ "@be-link/ecommerce-promotion-service-node-sdk": "^0.0.26",
35
35
  "axios": "1.13.2"
36
36
  },
37
37
  "devDependencies": {