@be-link/ecommerce-backend-bff-service-node-sdk 0.1.35 → 0.1.37

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.
@@ -13,4 +13,10 @@ export declare class MiniprogramUserServiceClass extends BaseService implements
13
13
  * @returns Promise,解析为标准响应格式
14
14
  */
15
15
  getUserInfoByRole(): Promise<StandardResponse<Service.Response.getUserInfoByRole>>;
16
+ /**
17
+ * 获取用户角色下的门店下拉框选项
18
+ * @param request 请求参数
19
+ * @returns Promise,解析为标准响应格式
20
+ */
21
+ getStoreOptions(request: Service.Request.getStoreOptions): Promise<StandardResponse<Service.Response.getStoreOptions>>;
16
22
  }
@@ -22,5 +22,13 @@ class MiniprogramUserServiceClass extends BaseService_1.default {
22
22
  getUserInfoByRole() {
23
23
  return this.request(this.getUserInfoByRole, {});
24
24
  }
25
+ /**
26
+ * 获取用户角色下的门店下拉框选项
27
+ * @param request 请求参数
28
+ * @returns Promise,解析为标准响应格式
29
+ */
30
+ getStoreOptions(request) {
31
+ return this.request(this.getStoreOptions, request);
32
+ }
25
33
  }
26
34
  exports.MiniprogramUserServiceClass = MiniprogramUserServiceClass;
@@ -5,6 +5,12 @@ import { StandardResponse } from '../../../../types';
5
5
  */
6
6
  export declare namespace MiniprogramUserService {
7
7
  namespace Request {
8
+ /**
9
+ * 获取门店选项请求
10
+ */
11
+ interface getStoreOptions {
12
+ name?: string;
13
+ }
8
14
  }
9
15
  namespace Response {
10
16
  /**
@@ -30,6 +36,15 @@ export declare namespace MiniprogramUserService {
30
36
  name: string;
31
37
  }>;
32
38
  }
39
+ /**
40
+ * 获取门店选项响应
41
+ */
42
+ interface getStoreOptions {
43
+ stores: Array<{
44
+ id: string;
45
+ name: string;
46
+ }>;
47
+ }
33
48
  }
34
49
  /**
35
50
  * Miniprogram User Controller 接口定义
@@ -40,5 +55,9 @@ export declare namespace MiniprogramUserService {
40
55
  * 根据角色获取用户信息
41
56
  */
42
57
  getUserInfoByRole(): Promise<StandardResponse<Response.getUserInfoByRole>>;
58
+ /**
59
+ * 获取门店选项
60
+ */
61
+ getStoreOptions(request: Request.getStoreOptions): Promise<StandardResponse<Response.getStoreOptions>>;
43
62
  }
44
63
  }
@@ -4,10 +4,6 @@ import type { StandardResponse } from '../../../../../types';
4
4
  export declare class PandoraPointManagementService extends BaseService implements PandoraPointManagementTypes.Controller {
5
5
  protected prefixUrl: string;
6
6
  adjustPoint(request: PandoraPointManagementTypes.Request.adjustPoint): Promise<StandardResponse<PandoraPointManagementTypes.Response.adjustPoint>>;
7
- batchAdjustPoints(request: PandoraPointManagementTypes.Request.batchAdjustPoints): Promise<StandardResponse<PandoraPointManagementTypes.Response.batchAdjustPoints>>;
8
7
  getUserPointInfo(request: PandoraPointManagementTypes.Request.getUserPointInfo): Promise<StandardResponse<PandoraPointManagementTypes.Response.getUserPointInfo>>;
9
8
  getPointFlowList(request: PandoraPointManagementTypes.Request.getPointFlowList): Promise<StandardResponse<PandoraPointManagementTypes.Response.getPointFlowList>>;
10
- getPointDetailList(request: PandoraPointManagementTypes.Request.getPointDetailList): Promise<StandardResponse<PandoraPointManagementTypes.Response.getPointDetailList>>;
11
- freezeUserPoint(request: PandoraPointManagementTypes.Request.freezeUserPoint): Promise<StandardResponse<PandoraPointManagementTypes.Response.freezeUserPoint>>;
12
- unfreezeUserPoint(request: PandoraPointManagementTypes.Request.unfreezeUserPoint): Promise<StandardResponse<PandoraPointManagementTypes.Response.unfreezeUserPoint>>;
13
9
  }
@@ -13,23 +13,11 @@ class PandoraPointManagementService extends BaseService_1.default {
13
13
  adjustPoint(request) {
14
14
  return this.request(this.adjustPoint, request);
15
15
  }
16
- batchAdjustPoints(request) {
17
- return this.request(this.batchAdjustPoints, request);
18
- }
19
16
  getUserPointInfo(request) {
20
17
  return this.request(this.getUserPointInfo, request);
21
18
  }
22
19
  getPointFlowList(request) {
23
20
  return this.request(this.getPointFlowList, request);
24
21
  }
25
- getPointDetailList(request) {
26
- return this.request(this.getPointDetailList, request);
27
- }
28
- freezeUserPoint(request) {
29
- return this.request(this.freezeUserPoint, request);
30
- }
31
- unfreezeUserPoint(request) {
32
- return this.request(this.unfreezeUserPoint, request);
33
- }
34
22
  }
35
23
  exports.PandoraPointManagementService = PandoraPointManagementService;
@@ -9,11 +9,7 @@ export declare namespace PandoraPointManagementTypes {
9
9
  export import Response = UserPointServiceTypes.Response;
10
10
  interface Controller {
11
11
  adjustPoint(request: Request.adjustPoint): Promise<StandardResponse<Response.adjustPoint>>;
12
- batchAdjustPoints(request: Request.batchAdjustPoints): Promise<StandardResponse<Response.batchAdjustPoints>>;
13
12
  getUserPointInfo(request: Request.getUserPointInfo): Promise<StandardResponse<Response.getUserPointInfo>>;
14
13
  getPointFlowList(request: Request.getPointFlowList): Promise<StandardResponse<Response.getPointFlowList>>;
15
- getPointDetailList(request: Request.getPointDetailList): Promise<StandardResponse<Response.getPointDetailList>>;
16
- freezeUserPoint(request: Request.freezeUserPoint): Promise<StandardResponse<Response.freezeUserPoint>>;
17
- unfreezeUserPoint(request: Request.unfreezeUserPoint): Promise<StandardResponse<Response.unfreezeUserPoint>>;
18
14
  }
19
15
  }
@@ -13,4 +13,10 @@ export declare class MiniprogramUserServiceClass extends BaseService implements
13
13
  * @returns Promise,解析为标准响应格式
14
14
  */
15
15
  getUserInfoByRole(): Promise<StandardResponse<Service.Response.getUserInfoByRole>>;
16
+ /**
17
+ * 获取用户角色下的门店下拉框选项
18
+ * @param request 请求参数
19
+ * @returns Promise,解析为标准响应格式
20
+ */
21
+ getStoreOptions(request: Service.Request.getStoreOptions): Promise<StandardResponse<Service.Response.getStoreOptions>>;
16
22
  }
@@ -16,4 +16,12 @@ export class MiniprogramUserServiceClass extends BaseService {
16
16
  getUserInfoByRole() {
17
17
  return this.request(this.getUserInfoByRole, {});
18
18
  }
19
+ /**
20
+ * 获取用户角色下的门店下拉框选项
21
+ * @param request 请求参数
22
+ * @returns Promise,解析为标准响应格式
23
+ */
24
+ getStoreOptions(request) {
25
+ return this.request(this.getStoreOptions, request);
26
+ }
19
27
  }
@@ -5,6 +5,12 @@ import { StandardResponse } from '../../../../types';
5
5
  */
6
6
  export declare namespace MiniprogramUserService {
7
7
  namespace Request {
8
+ /**
9
+ * 获取门店选项请求
10
+ */
11
+ interface getStoreOptions {
12
+ name?: string;
13
+ }
8
14
  }
9
15
  namespace Response {
10
16
  /**
@@ -30,6 +36,15 @@ export declare namespace MiniprogramUserService {
30
36
  name: string;
31
37
  }>;
32
38
  }
39
+ /**
40
+ * 获取门店选项响应
41
+ */
42
+ interface getStoreOptions {
43
+ stores: Array<{
44
+ id: string;
45
+ name: string;
46
+ }>;
47
+ }
33
48
  }
34
49
  /**
35
50
  * Miniprogram User Controller 接口定义
@@ -40,5 +55,9 @@ export declare namespace MiniprogramUserService {
40
55
  * 根据角色获取用户信息
41
56
  */
42
57
  getUserInfoByRole(): Promise<StandardResponse<Response.getUserInfoByRole>>;
58
+ /**
59
+ * 获取门店选项
60
+ */
61
+ getStoreOptions(request: Request.getStoreOptions): Promise<StandardResponse<Response.getStoreOptions>>;
43
62
  }
44
63
  }
@@ -4,10 +4,6 @@ import type { StandardResponse } from '../../../../../types';
4
4
  export declare class PandoraPointManagementService extends BaseService implements PandoraPointManagementTypes.Controller {
5
5
  protected prefixUrl: string;
6
6
  adjustPoint(request: PandoraPointManagementTypes.Request.adjustPoint): Promise<StandardResponse<PandoraPointManagementTypes.Response.adjustPoint>>;
7
- batchAdjustPoints(request: PandoraPointManagementTypes.Request.batchAdjustPoints): Promise<StandardResponse<PandoraPointManagementTypes.Response.batchAdjustPoints>>;
8
7
  getUserPointInfo(request: PandoraPointManagementTypes.Request.getUserPointInfo): Promise<StandardResponse<PandoraPointManagementTypes.Response.getUserPointInfo>>;
9
8
  getPointFlowList(request: PandoraPointManagementTypes.Request.getPointFlowList): Promise<StandardResponse<PandoraPointManagementTypes.Response.getPointFlowList>>;
10
- getPointDetailList(request: PandoraPointManagementTypes.Request.getPointDetailList): Promise<StandardResponse<PandoraPointManagementTypes.Response.getPointDetailList>>;
11
- freezeUserPoint(request: PandoraPointManagementTypes.Request.freezeUserPoint): Promise<StandardResponse<PandoraPointManagementTypes.Response.freezeUserPoint>>;
12
- unfreezeUserPoint(request: PandoraPointManagementTypes.Request.unfreezeUserPoint): Promise<StandardResponse<PandoraPointManagementTypes.Response.unfreezeUserPoint>>;
13
9
  }
@@ -7,22 +7,10 @@ export class PandoraPointManagementService extends BaseService {
7
7
  adjustPoint(request) {
8
8
  return this.request(this.adjustPoint, request);
9
9
  }
10
- batchAdjustPoints(request) {
11
- return this.request(this.batchAdjustPoints, request);
12
- }
13
10
  getUserPointInfo(request) {
14
11
  return this.request(this.getUserPointInfo, request);
15
12
  }
16
13
  getPointFlowList(request) {
17
14
  return this.request(this.getPointFlowList, request);
18
15
  }
19
- getPointDetailList(request) {
20
- return this.request(this.getPointDetailList, request);
21
- }
22
- freezeUserPoint(request) {
23
- return this.request(this.freezeUserPoint, request);
24
- }
25
- unfreezeUserPoint(request) {
26
- return this.request(this.unfreezeUserPoint, request);
27
- }
28
16
  }
@@ -9,11 +9,7 @@ export declare namespace PandoraPointManagementTypes {
9
9
  export import Response = UserPointServiceTypes.Response;
10
10
  interface Controller {
11
11
  adjustPoint(request: Request.adjustPoint): Promise<StandardResponse<Response.adjustPoint>>;
12
- batchAdjustPoints(request: Request.batchAdjustPoints): Promise<StandardResponse<Response.batchAdjustPoints>>;
13
12
  getUserPointInfo(request: Request.getUserPointInfo): Promise<StandardResponse<Response.getUserPointInfo>>;
14
13
  getPointFlowList(request: Request.getPointFlowList): Promise<StandardResponse<Response.getPointFlowList>>;
15
- getPointDetailList(request: Request.getPointDetailList): Promise<StandardResponse<Response.getPointDetailList>>;
16
- freezeUserPoint(request: Request.freezeUserPoint): Promise<StandardResponse<Response.freezeUserPoint>>;
17
- unfreezeUserPoint(request: Request.unfreezeUserPoint): Promise<StandardResponse<Response.unfreezeUserPoint>>;
18
14
  }
19
15
  }
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.35",
3
+ "version": "0.1.37",
4
4
  "description": "EcommerceBackendBffService Node.js SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./cjs/index.js",
@@ -24,17 +24,17 @@
24
24
  "access": "public"
25
25
  },
26
26
  "dependencies": {
27
- "@be-link/ecommerce-trade-service-node-sdk": "^0.1.24",
27
+ "@be-link/ecommerce-trade-service-node-sdk": "^0.1.25",
28
28
  "@be-link/ecommerce-backend-user-service-node-sdk": "^0.1.11",
29
29
  "@be-link/ecommerce-volcengine-open-api-sdk": "^1.0.22",
30
- "@be-link/ecommerce-client-backend-service-node-sdk": "^0.1.11",
30
+ "@be-link/ecommerce-client-backend-service-node-sdk": "^0.1.13",
31
31
  "@be-link/ecommerce-tag-service-node-sdk": "^0.1.1",
32
32
  "@be-link/ecommerce-store-service-node-sdk": "^0.1.3",
33
33
  "@be-link/ecommerce-promotion-service-node-sdk": "^0.1.3",
34
34
  "axios": "^1.13.2",
35
- "@be-link/ecommerce-user-service-node-sdk": "^0.1.16",
35
+ "@be-link/ecommerce-user-service-node-sdk": "^0.1.18",
36
36
  "@be-link/ecommerce-product-service-node-sdk": "^0.1.4",
37
- "@be-link/ecommerce-task-center-service-node-sdk": "^0.1.10"
37
+ "@be-link/ecommerce-task-center-service-node-sdk": "^0.1.11"
38
38
  },
39
39
  "devDependencies": {
40
40
  "tsoa": "^6.4.0",