@be-link/ecommerce-backend-bff-service-node-sdk 0.0.64 → 0.0.66

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.
@@ -1,4 +1,4 @@
1
- import { Service } from './types';
1
+ import { PointMallService } from './types';
2
2
  import BaseService from '../../BaseService';
3
3
  import type { StandardResponse } from '../../../../types';
4
4
  /**
@@ -6,48 +6,48 @@ import type { StandardResponse } from '../../../../types';
6
6
  * 提供积分商城管理相关的 API 方法
7
7
  * 平台: pandora
8
8
  */
9
- export declare class PandoraPointsMallService extends BaseService implements Service.Controller.PointsMallController {
9
+ export declare class PandoraPointsMallService extends BaseService implements PointMallService.Controller.PointsMallController {
10
10
  protected prefixUrl: string;
11
11
  /**
12
12
  * 批量创建积分商城商品
13
13
  * @param request - 请求参数
14
14
  * @returns Promise,解析为标准响应格式
15
15
  */
16
- batchCreateProducts(request: Service.Request.batchCreateProducts): Promise<StandardResponse<Service.Response.batchCreateProducts>>;
16
+ batchCreateProducts(request: PointMallService.Request.batchCreateProducts): Promise<StandardResponse<PointMallService.Response.batchCreateProducts>>;
17
17
  /**
18
18
  * 批量编辑积分商城商品
19
19
  * @param request - 请求参数
20
20
  * @returns Promise,解析为标准响应格式
21
21
  */
22
- batchUpdateProducts(request: Service.Request.batchUpdateProducts): Promise<StandardResponse<void>>;
22
+ batchUpdateProducts(request: PointMallService.Request.batchUpdateProducts): Promise<StandardResponse<void>>;
23
23
  /**
24
24
  * 批量是否开启
25
25
  * @param request - 请求参数
26
26
  * @returns Promise,解析为标准响应格式
27
27
  */
28
- batchToggleProductEnabled(request: Service.Request.batchToggleProductEnabled): Promise<StandardResponse<void>>;
28
+ batchToggleProductEnabled(request: PointMallService.Request.batchToggleProductEnabled): Promise<StandardResponse<void>>;
29
29
  /**
30
30
  * 批量是否上下架
31
31
  * @param request - 请求参数
32
32
  * @returns Promise,解析为标准响应格式
33
33
  */
34
- batchToggleProductOnline(request: Service.Request.batchToggleProductOnline): Promise<StandardResponse<void>>;
34
+ batchToggleProductOnline(request: PointMallService.Request.batchToggleProductOnline): Promise<StandardResponse<void>>;
35
35
  /**
36
36
  * 根据条件查询积分商城商品
37
37
  * @param request - 请求参数
38
38
  * @returns Promise,解析为标准响应格式
39
39
  */
40
- queryProducts(request: Service.Request.queryProducts): Promise<StandardResponse<Service.Response.queryProducts>>;
40
+ queryProducts(request: PointMallService.Request.queryProducts): Promise<StandardResponse<PointMallService.Response.queryProducts>>;
41
41
  /**
42
42
  * 根据商品ID查询商品详情
43
43
  * @param request - 请求参数
44
44
  * @returns Promise,解析为标准响应格式
45
45
  */
46
- getProductDetail(request: Service.Request.getProductDetail): Promise<StandardResponse<Service.Response.getProductDetail>>;
46
+ getProductDetail(request: PointMallService.Request.getProductDetail): Promise<StandardResponse<PointMallService.Response.getProductDetail>>;
47
47
  /**
48
48
  * 查询开启且上架的积分商城列表
49
49
  * @param request - 请求参数
50
50
  * @returns Promise,解析为标准响应格式
51
51
  */
52
- queryEnabledAndOnlineProducts(request: Service.Request.queryEnabledAndOnlineProducts): Promise<StandardResponse<Service.Response.queryEnabledAndOnlineProducts>>;
52
+ queryEnabledAndOnlineProducts(request: PointMallService.Request.queryEnabledAndOnlineProducts): Promise<StandardResponse<PointMallService.Response.queryEnabledAndOnlineProducts>>;
53
53
  }
@@ -1,6 +1,6 @@
1
1
  import { PROMOTION_ENUM } from '../../../../enums';
2
2
  import type { StandardResponse } from '../../../../types';
3
- export declare namespace Service {
3
+ export declare namespace PointMallService {
4
4
  namespace Entity {
5
5
  /** 商品积分兑换配置 */
6
6
  interface ProductPointExchange {
@@ -163,31 +163,31 @@ export declare namespace Service {
163
163
  /**
164
164
  * 批量创建积分商城商品
165
165
  */
166
- batchCreateProducts(request: Service.Request.batchCreateProducts): Promise<StandardResponse<Service.Response.batchCreateProducts>>;
166
+ batchCreateProducts(request: PointMallService.Request.batchCreateProducts): Promise<StandardResponse<PointMallService.Response.batchCreateProducts>>;
167
167
  /**
168
168
  * 批量编辑积分商城商品
169
169
  */
170
- batchUpdateProducts(request: Service.Request.batchUpdateProducts): Promise<StandardResponse<void>>;
170
+ batchUpdateProducts(request: PointMallService.Request.batchUpdateProducts): Promise<StandardResponse<void>>;
171
171
  /**
172
172
  * 批量是否开启
173
173
  */
174
- batchToggleProductEnabled(request: Service.Request.batchToggleProductEnabled): Promise<StandardResponse<void>>;
174
+ batchToggleProductEnabled(request: PointMallService.Request.batchToggleProductEnabled): Promise<StandardResponse<void>>;
175
175
  /**
176
176
  * 批量是否上下架
177
177
  */
178
- batchToggleProductOnline(request: Service.Request.batchToggleProductOnline): Promise<StandardResponse<void>>;
178
+ batchToggleProductOnline(request: PointMallService.Request.batchToggleProductOnline): Promise<StandardResponse<void>>;
179
179
  /**
180
180
  * 根据条件查询积分商城商品
181
181
  */
182
- queryProducts(request: Service.Request.queryProducts): Promise<StandardResponse<Service.Response.queryProducts>>;
182
+ queryProducts(request: PointMallService.Request.queryProducts): Promise<StandardResponse<PointMallService.Response.queryProducts>>;
183
183
  /**
184
184
  * 根据商品ID查询商品详情
185
185
  */
186
- getProductDetail(request: Service.Request.getProductDetail): Promise<StandardResponse<Service.Response.getProductDetail>>;
186
+ getProductDetail(request: PointMallService.Request.getProductDetail): Promise<StandardResponse<PointMallService.Response.getProductDetail>>;
187
187
  /**
188
188
  * 查询开启且上架的积分商城列表
189
189
  */
190
- queryEnabledAndOnlineProducts(request: Service.Request.queryEnabledAndOnlineProducts): Promise<StandardResponse<Service.Response.queryEnabledAndOnlineProducts>>;
190
+ queryEnabledAndOnlineProducts(request: PointMallService.Request.queryEnabledAndOnlineProducts): Promise<StandardResponse<PointMallService.Response.queryEnabledAndOnlineProducts>>;
191
191
  }
192
192
  }
193
193
  }
package/cjs/index.d.ts CHANGED
@@ -7,6 +7,7 @@ import { PandoraProductExpService } from './bff/modules/pandora/productExp/servi
7
7
  import { PandoraProductLiveService } from './bff/modules/pandora/productLive/service';
8
8
  import { PandoraCouponService } from './bff/modules/pandora/coupon/service';
9
9
  import { PandoraRoomService } from './bff/modules/pandora/room/service';
10
+ import { PandoraPointsMallService } from './bff/modules/pandora/pointsMall/service';
10
11
  import { SdkOptions } from './types';
11
12
  /**
12
13
  * Pandora 平台 SDK(管理后台)
@@ -25,6 +26,7 @@ export declare class PandoraSDK {
25
26
  productExp: PandoraProductExpService;
26
27
  productLive: PandoraProductLiveService;
27
28
  coupon: PandoraCouponService;
29
+ pointMall: PandoraPointsMallService;
28
30
  /**
29
31
  * Pandora 门店服务模块
30
32
  */
@@ -74,3 +76,4 @@ export { PandoraProductExpService as PandoraProductExpServiceTypes } from './bff
74
76
  export { PandoraProductLiveService as PandoraProductLiveServiceTypes } from './bff/modules/pandora/productLive/types';
75
77
  export { RoomService as PandoraRoomServiceTypes } from './bff/modules/pandora/room/types';
76
78
  export { CouponService as PandoraCouponServiceTypes } from './bff/modules/pandora/coupon/types';
79
+ export { PointMallService as PointMallServiceTypes } from './bff/modules/pandora/pointsMall/types';
package/cjs/index.js CHANGED
@@ -25,6 +25,7 @@ const service_6 = require("./bff/modules/pandora/productExp/service");
25
25
  const service_7 = require("./bff/modules/pandora/productLive/service");
26
26
  const service_8 = require("./bff/modules/pandora/coupon/service");
27
27
  const service_9 = require("./bff/modules/pandora/room/service");
28
+ const service_10 = require("./bff/modules/pandora/pointsMall/service");
28
29
  /**
29
30
  * Pandora 平台 SDK(管理后台)
30
31
  * 包含所有 Pandora 平台相关的服务
@@ -46,6 +47,7 @@ class PandoraSDK {
46
47
  this.storeUserRelation = new service_3.PandoraStoreUserRelationService(this.http);
47
48
  this.room = new service_9.PandoraRoomService(this.http);
48
49
  this.coupon = new service_8.PandoraCouponService(this.http);
50
+ this.pointMall = new service_10.PandoraPointsMallService(this.http);
49
51
  }
50
52
  }
51
53
  exports.PandoraSDK = PandoraSDK;
@@ -1,4 +1,4 @@
1
- import { Service } from './types';
1
+ import { PointMallService } from './types';
2
2
  import BaseService from '../../BaseService';
3
3
  import type { StandardResponse } from '../../../../types';
4
4
  /**
@@ -6,48 +6,48 @@ import type { StandardResponse } from '../../../../types';
6
6
  * 提供积分商城管理相关的 API 方法
7
7
  * 平台: pandora
8
8
  */
9
- export declare class PandoraPointsMallService extends BaseService implements Service.Controller.PointsMallController {
9
+ export declare class PandoraPointsMallService extends BaseService implements PointMallService.Controller.PointsMallController {
10
10
  protected prefixUrl: string;
11
11
  /**
12
12
  * 批量创建积分商城商品
13
13
  * @param request - 请求参数
14
14
  * @returns Promise,解析为标准响应格式
15
15
  */
16
- batchCreateProducts(request: Service.Request.batchCreateProducts): Promise<StandardResponse<Service.Response.batchCreateProducts>>;
16
+ batchCreateProducts(request: PointMallService.Request.batchCreateProducts): Promise<StandardResponse<PointMallService.Response.batchCreateProducts>>;
17
17
  /**
18
18
  * 批量编辑积分商城商品
19
19
  * @param request - 请求参数
20
20
  * @returns Promise,解析为标准响应格式
21
21
  */
22
- batchUpdateProducts(request: Service.Request.batchUpdateProducts): Promise<StandardResponse<void>>;
22
+ batchUpdateProducts(request: PointMallService.Request.batchUpdateProducts): Promise<StandardResponse<void>>;
23
23
  /**
24
24
  * 批量是否开启
25
25
  * @param request - 请求参数
26
26
  * @returns Promise,解析为标准响应格式
27
27
  */
28
- batchToggleProductEnabled(request: Service.Request.batchToggleProductEnabled): Promise<StandardResponse<void>>;
28
+ batchToggleProductEnabled(request: PointMallService.Request.batchToggleProductEnabled): Promise<StandardResponse<void>>;
29
29
  /**
30
30
  * 批量是否上下架
31
31
  * @param request - 请求参数
32
32
  * @returns Promise,解析为标准响应格式
33
33
  */
34
- batchToggleProductOnline(request: Service.Request.batchToggleProductOnline): Promise<StandardResponse<void>>;
34
+ batchToggleProductOnline(request: PointMallService.Request.batchToggleProductOnline): Promise<StandardResponse<void>>;
35
35
  /**
36
36
  * 根据条件查询积分商城商品
37
37
  * @param request - 请求参数
38
38
  * @returns Promise,解析为标准响应格式
39
39
  */
40
- queryProducts(request: Service.Request.queryProducts): Promise<StandardResponse<Service.Response.queryProducts>>;
40
+ queryProducts(request: PointMallService.Request.queryProducts): Promise<StandardResponse<PointMallService.Response.queryProducts>>;
41
41
  /**
42
42
  * 根据商品ID查询商品详情
43
43
  * @param request - 请求参数
44
44
  * @returns Promise,解析为标准响应格式
45
45
  */
46
- getProductDetail(request: Service.Request.getProductDetail): Promise<StandardResponse<Service.Response.getProductDetail>>;
46
+ getProductDetail(request: PointMallService.Request.getProductDetail): Promise<StandardResponse<PointMallService.Response.getProductDetail>>;
47
47
  /**
48
48
  * 查询开启且上架的积分商城列表
49
49
  * @param request - 请求参数
50
50
  * @returns Promise,解析为标准响应格式
51
51
  */
52
- queryEnabledAndOnlineProducts(request: Service.Request.queryEnabledAndOnlineProducts): Promise<StandardResponse<Service.Response.queryEnabledAndOnlineProducts>>;
52
+ queryEnabledAndOnlineProducts(request: PointMallService.Request.queryEnabledAndOnlineProducts): Promise<StandardResponse<PointMallService.Response.queryEnabledAndOnlineProducts>>;
53
53
  }
@@ -1,6 +1,6 @@
1
1
  import { PROMOTION_ENUM } from '../../../../enums';
2
2
  import type { StandardResponse } from '../../../../types';
3
- export declare namespace Service {
3
+ export declare namespace PointMallService {
4
4
  namespace Entity {
5
5
  /** 商品积分兑换配置 */
6
6
  interface ProductPointExchange {
@@ -163,31 +163,31 @@ export declare namespace Service {
163
163
  /**
164
164
  * 批量创建积分商城商品
165
165
  */
166
- batchCreateProducts(request: Service.Request.batchCreateProducts): Promise<StandardResponse<Service.Response.batchCreateProducts>>;
166
+ batchCreateProducts(request: PointMallService.Request.batchCreateProducts): Promise<StandardResponse<PointMallService.Response.batchCreateProducts>>;
167
167
  /**
168
168
  * 批量编辑积分商城商品
169
169
  */
170
- batchUpdateProducts(request: Service.Request.batchUpdateProducts): Promise<StandardResponse<void>>;
170
+ batchUpdateProducts(request: PointMallService.Request.batchUpdateProducts): Promise<StandardResponse<void>>;
171
171
  /**
172
172
  * 批量是否开启
173
173
  */
174
- batchToggleProductEnabled(request: Service.Request.batchToggleProductEnabled): Promise<StandardResponse<void>>;
174
+ batchToggleProductEnabled(request: PointMallService.Request.batchToggleProductEnabled): Promise<StandardResponse<void>>;
175
175
  /**
176
176
  * 批量是否上下架
177
177
  */
178
- batchToggleProductOnline(request: Service.Request.batchToggleProductOnline): Promise<StandardResponse<void>>;
178
+ batchToggleProductOnline(request: PointMallService.Request.batchToggleProductOnline): Promise<StandardResponse<void>>;
179
179
  /**
180
180
  * 根据条件查询积分商城商品
181
181
  */
182
- queryProducts(request: Service.Request.queryProducts): Promise<StandardResponse<Service.Response.queryProducts>>;
182
+ queryProducts(request: PointMallService.Request.queryProducts): Promise<StandardResponse<PointMallService.Response.queryProducts>>;
183
183
  /**
184
184
  * 根据商品ID查询商品详情
185
185
  */
186
- getProductDetail(request: Service.Request.getProductDetail): Promise<StandardResponse<Service.Response.getProductDetail>>;
186
+ getProductDetail(request: PointMallService.Request.getProductDetail): Promise<StandardResponse<PointMallService.Response.getProductDetail>>;
187
187
  /**
188
188
  * 查询开启且上架的积分商城列表
189
189
  */
190
- queryEnabledAndOnlineProducts(request: Service.Request.queryEnabledAndOnlineProducts): Promise<StandardResponse<Service.Response.queryEnabledAndOnlineProducts>>;
190
+ queryEnabledAndOnlineProducts(request: PointMallService.Request.queryEnabledAndOnlineProducts): Promise<StandardResponse<PointMallService.Response.queryEnabledAndOnlineProducts>>;
191
191
  }
192
192
  }
193
193
  }
package/esm/index.d.ts CHANGED
@@ -7,6 +7,7 @@ import { PandoraProductExpService } from './bff/modules/pandora/productExp/servi
7
7
  import { PandoraProductLiveService } from './bff/modules/pandora/productLive/service';
8
8
  import { PandoraCouponService } from './bff/modules/pandora/coupon/service';
9
9
  import { PandoraRoomService } from './bff/modules/pandora/room/service';
10
+ import { PandoraPointsMallService } from './bff/modules/pandora/pointsMall/service';
10
11
  import { SdkOptions } from './types';
11
12
  /**
12
13
  * Pandora 平台 SDK(管理后台)
@@ -25,6 +26,7 @@ export declare class PandoraSDK {
25
26
  productExp: PandoraProductExpService;
26
27
  productLive: PandoraProductLiveService;
27
28
  coupon: PandoraCouponService;
29
+ pointMall: PandoraPointsMallService;
28
30
  /**
29
31
  * Pandora 门店服务模块
30
32
  */
@@ -74,3 +76,4 @@ export { PandoraProductExpService as PandoraProductExpServiceTypes } from './bff
74
76
  export { PandoraProductLiveService as PandoraProductLiveServiceTypes } from './bff/modules/pandora/productLive/types';
75
77
  export { RoomService as PandoraRoomServiceTypes } from './bff/modules/pandora/room/types';
76
78
  export { CouponService as PandoraCouponServiceTypes } from './bff/modules/pandora/coupon/types';
79
+ export { PointMallService as PointMallServiceTypes } from './bff/modules/pandora/pointsMall/types';
package/esm/index.mjs CHANGED
@@ -8,6 +8,7 @@ import { PandoraProductExpService } from './bff/modules/pandora/productExp/servi
8
8
  import { PandoraProductLiveService } from './bff/modules/pandora/productLive/service.mjs';
9
9
  import { PandoraCouponService } from './bff/modules/pandora/coupon/service.mjs';
10
10
  import { PandoraRoomService } from './bff/modules/pandora/room/service.mjs';
11
+ import { PandoraPointsMallService } from './bff/modules/pandora/pointsMall/service.mjs';
11
12
  /**
12
13
  * Pandora 平台 SDK(管理后台)
13
14
  * 包含所有 Pandora 平台相关的服务
@@ -29,6 +30,7 @@ export class PandoraSDK {
29
30
  this.storeUserRelation = new PandoraStoreUserRelationService(this.http);
30
31
  this.room = new PandoraRoomService(this.http);
31
32
  this.coupon = new PandoraCouponService(this.http);
33
+ this.pointMall = new PandoraPointsMallService(this.http);
32
34
  }
33
35
  }
34
36
  /**
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.64",
3
+ "version": "0.0.66",
4
4
  "description": "EcommerceBackendBffService Node.js SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./cjs/index.js",