@be-link/ecommerce-backend-bff-service-node-sdk 0.0.93 → 0.0.95
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 +6 -0
- package/cjs/bff/modules/pandora/auth/service.js +8 -0
- package/cjs/bff/modules/pandora/auth/types.d.ts +30 -0
- package/cjs/bff/modules/pandora/coupon/types.d.ts +1 -1
- 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/store/service.d.ts +0 -60
- package/cjs/bff/modules/pandora/store/service.js +0 -80
- package/cjs/bff/modules/pandora/store/types.d.ts +10 -85
- package/cjs/bff/modules/pandora/store/types.js +11 -0
- package/cjs/bff/modules/pandora/user/service.d.ts +0 -1
- package/cjs/bff/modules/pandora/user/service.js +0 -3
- package/cjs/bff/modules/pandora/user/types.d.ts +0 -27
- package/cjs/index.d.ts +18 -0
- package/cjs/index.js +45 -37
- 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 +6 -0
- package/esm/bff/modules/pandora/auth/service.mjs +8 -0
- package/esm/bff/modules/pandora/auth/types.d.ts +30 -0
- package/esm/bff/modules/pandora/coupon/types.d.ts +1 -1
- 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/store/service.d.ts +0 -60
- package/esm/bff/modules/pandora/store/service.mjs +0 -80
- package/esm/bff/modules/pandora/store/types.d.ts +10 -85
- package/esm/bff/modules/pandora/store/types.mjs +10 -1
- package/esm/bff/modules/pandora/user/service.d.ts +0 -1
- package/esm/bff/modules/pandora/user/service.mjs +0 -3
- package/esm/bff/modules/pandora/user/types.d.ts +0 -27
- package/esm/index.d.ts +18 -0
- package/esm/index.mjs +7 -0
- package/package.json +4 -4
|
@@ -17,70 +17,6 @@ export class PandoraStoreService extends BaseService {
|
|
|
17
17
|
createStore(request) {
|
|
18
18
|
return this.request(this.createStore, request);
|
|
19
19
|
}
|
|
20
|
-
/**
|
|
21
|
-
* 绑定店长
|
|
22
|
-
* @param request - 请求参数
|
|
23
|
-
* @returns Promise,解析为标准响应格式
|
|
24
|
-
*/
|
|
25
|
-
bindStoreManager(request) {
|
|
26
|
-
return this.request(this.bindStoreManager, request);
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* 解绑店长
|
|
30
|
-
* @param request - 请求参数
|
|
31
|
-
* @returns Promise,解析为标准响应格式
|
|
32
|
-
*/
|
|
33
|
-
unbindStoreManager(request) {
|
|
34
|
-
return this.request(this.unbindStoreManager, request);
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* 绑定BD
|
|
38
|
-
* @param request - 请求参数
|
|
39
|
-
* @returns Promise,解析为标准响应格式
|
|
40
|
-
*/
|
|
41
|
-
bindBD(request) {
|
|
42
|
-
return this.request(this.bindBD, request);
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* 批量绑定BD
|
|
46
|
-
* @param request - 请求参数
|
|
47
|
-
* @returns Promise,解析为标准响应格式
|
|
48
|
-
*/
|
|
49
|
-
batchBindBD(request) {
|
|
50
|
-
return this.request(this.batchBindBD, request);
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* 解绑BD
|
|
54
|
-
* @param request - 请求参数
|
|
55
|
-
* @returns Promise,解析为标准响应格式
|
|
56
|
-
*/
|
|
57
|
-
unbindBD(request) {
|
|
58
|
-
return this.request(this.unbindBD, request);
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* 批量解绑BD
|
|
62
|
-
* @param request - 请求参数
|
|
63
|
-
* @returns Promise,解析为标准响应格式
|
|
64
|
-
*/
|
|
65
|
-
batchUnbindBD(request) {
|
|
66
|
-
return this.request(this.batchUnbindBD, request);
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* 绑定加盟商
|
|
70
|
-
* @param request - 请求参数
|
|
71
|
-
* @returns Promise,解析为标准响应格式
|
|
72
|
-
*/
|
|
73
|
-
bindFranchisee(request) {
|
|
74
|
-
return this.request(this.bindFranchisee, request);
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* 解绑加盟商
|
|
78
|
-
* @param request - 请求参数
|
|
79
|
-
* @returns Promise,解析为标准响应格式
|
|
80
|
-
*/
|
|
81
|
-
unbindFranchisee(request) {
|
|
82
|
-
return this.request(this.unbindFranchisee, request);
|
|
83
|
-
}
|
|
84
20
|
/**
|
|
85
21
|
* 编辑门店信息
|
|
86
22
|
* @param request - 请求参数
|
|
@@ -97,22 +33,6 @@ export class PandoraStoreService extends BaseService {
|
|
|
97
33
|
batchUpdateBusinessStatus(request) {
|
|
98
34
|
return this.request(this.batchUpdateBusinessStatus, request);
|
|
99
35
|
}
|
|
100
|
-
/**
|
|
101
|
-
* 更新群直播时间
|
|
102
|
-
* @param request - 请求参数
|
|
103
|
-
* @returns Promise,解析为标准响应格式
|
|
104
|
-
*/
|
|
105
|
-
updateLiveTime(request) {
|
|
106
|
-
return this.request(this.updateLiveTime, request);
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* 门店继承
|
|
110
|
-
* @param request - 请求参数
|
|
111
|
-
* @returns Promise,解析为标准响应格式
|
|
112
|
-
*/
|
|
113
|
-
inheritStore(request) {
|
|
114
|
-
return this.request(this.inheritStore, request);
|
|
115
|
-
}
|
|
116
36
|
/**
|
|
117
37
|
* 获取门店详情
|
|
118
38
|
* @param request - 请求参数
|
|
@@ -103,29 +103,24 @@ export declare namespace StoreService {
|
|
|
103
103
|
franchiseeId?: string;
|
|
104
104
|
/** 加盟商名称 */
|
|
105
105
|
franchiseeName?: string;
|
|
106
|
-
/** BD 负责人
|
|
107
|
-
|
|
106
|
+
/** BD 负责人 ID */
|
|
107
|
+
bdDisplayId?: string;
|
|
108
108
|
/** BD 负责人姓名 */
|
|
109
109
|
bdName?: string;
|
|
110
|
-
/** BDM 负责人
|
|
111
|
-
|
|
110
|
+
/** BDM 负责人 ID */
|
|
111
|
+
bdmDisplayId?: string;
|
|
112
112
|
/** BDM 负责人姓名 */
|
|
113
113
|
bdmName?: string;
|
|
114
|
-
/** 店长
|
|
115
|
-
|
|
114
|
+
/** 店长ID */
|
|
115
|
+
storeManagerDisplayId?: string;
|
|
116
116
|
/** 店长姓名 */
|
|
117
117
|
storeManagerName?: string;
|
|
118
|
-
/** 店员列表 */
|
|
119
|
-
staffList?: Array<{
|
|
120
|
-
/** 用户 Pandora ID */
|
|
121
|
-
userPandoraId: string;
|
|
122
|
-
/** 用户名称 */
|
|
123
|
-
userName?: string;
|
|
124
|
-
}>;
|
|
125
118
|
/** 工作机 uid,工作机手机号和授权手机号做系统匹配 */
|
|
126
119
|
workPhoneUid: string;
|
|
127
120
|
/** 工作机企微 id,系统匹配 */
|
|
128
121
|
workPhoneWxCorpId: string;
|
|
122
|
+
/** 店员列表 */
|
|
123
|
+
storeClerkName?: string;
|
|
129
124
|
}
|
|
130
125
|
/**
|
|
131
126
|
* 门店统计数据
|
|
@@ -254,6 +249,8 @@ export declare namespace StoreService {
|
|
|
254
249
|
latitude: number;
|
|
255
250
|
/** 经度(地图选点) */
|
|
256
251
|
longitude: number;
|
|
252
|
+
/** 联系电话 */
|
|
253
|
+
telephone?: string;
|
|
257
254
|
};
|
|
258
255
|
/** 门店结算信息 */
|
|
259
256
|
settlementInfo?: {
|
|
@@ -838,78 +835,6 @@ export declare namespace StoreService {
|
|
|
838
835
|
* @returns 响应数据
|
|
839
836
|
*/
|
|
840
837
|
createStore(request: StoreService.Request.CreateStore): Promise<StandardResponse<StoreService.Response.CreateStore>>;
|
|
841
|
-
/**
|
|
842
|
-
* 绑定店长
|
|
843
|
-
* @param request 请求参数
|
|
844
|
-
* @returns 响应数据
|
|
845
|
-
*/
|
|
846
|
-
bindStoreManager(request: StoreService.Request.BindStoreManager): Promise<StandardResponse<StoreService.Response.BindStoreManager>>;
|
|
847
|
-
/**
|
|
848
|
-
* 解绑店长
|
|
849
|
-
* @param request 请求参数
|
|
850
|
-
* @returns 响应数据
|
|
851
|
-
*/
|
|
852
|
-
unbindStoreManager(request: StoreService.Request.UnbindStoreManager): Promise<StandardResponse<StoreService.Response.UnbindStoreManager>>;
|
|
853
|
-
/**
|
|
854
|
-
* 绑定BD
|
|
855
|
-
* @param request 请求参数
|
|
856
|
-
* @returns 响应数据
|
|
857
|
-
*/
|
|
858
|
-
bindBD(request: StoreService.Request.BindBD): Promise<StandardResponse<StoreService.Response.BindBD>>;
|
|
859
|
-
/**
|
|
860
|
-
* 批量绑定BD
|
|
861
|
-
* @param request 请求参数
|
|
862
|
-
* @returns 响应数据
|
|
863
|
-
*/
|
|
864
|
-
batchBindBD(request: StoreService.Request.BatchBindBD): Promise<StandardResponse<StoreService.Response.BatchBindBD>>;
|
|
865
|
-
/**
|
|
866
|
-
* 解绑BD
|
|
867
|
-
* @param request 请求参数
|
|
868
|
-
* @returns 响应数据
|
|
869
|
-
*/
|
|
870
|
-
unbindBD(request: StoreService.Request.UnbindBD): Promise<StandardResponse<StoreService.Response.UnbindBD>>;
|
|
871
|
-
/**
|
|
872
|
-
* 批量解绑BD
|
|
873
|
-
* @param request 请求参数
|
|
874
|
-
* @returns 响应数据
|
|
875
|
-
*/
|
|
876
|
-
batchUnbindBD(request: StoreService.Request.BatchUnbindBD): Promise<StandardResponse<StoreService.Response.BatchUnbindBD>>;
|
|
877
|
-
/**
|
|
878
|
-
* 绑定加盟商
|
|
879
|
-
* @param request 请求参数
|
|
880
|
-
* @returns 响应数据
|
|
881
|
-
*/
|
|
882
|
-
bindFranchisee(request: StoreService.Request.BindFranchisee): Promise<StandardResponse<StoreService.Response.BindFranchisee>>;
|
|
883
|
-
/**
|
|
884
|
-
* 解绑加盟商
|
|
885
|
-
* @param request 请求参数
|
|
886
|
-
* @returns 响应数据
|
|
887
|
-
*/
|
|
888
|
-
unbindFranchisee(request: StoreService.Request.UnbindFranchisee): Promise<StandardResponse<StoreService.Response.UnbindFranchisee>>;
|
|
889
|
-
/**
|
|
890
|
-
* 编辑门店信息(手工录入字段)
|
|
891
|
-
* @param request 请求参数
|
|
892
|
-
* @returns 响应数据
|
|
893
|
-
*/
|
|
894
|
-
updateStoreInfo(request: StoreService.Request.UpdateStoreInfo): Promise<StandardResponse<StoreService.Response.UpdateStoreInfo>>;
|
|
895
|
-
/**
|
|
896
|
-
* 批量修改门店经营状态
|
|
897
|
-
* @param request 请求参数
|
|
898
|
-
* @returns 响应数据
|
|
899
|
-
*/
|
|
900
|
-
batchUpdateBusinessStatus(request: StoreService.Request.BatchUpdateBusinessStatus): Promise<StandardResponse<StoreService.Response.BatchUpdateBusinessStatus>>;
|
|
901
|
-
/**
|
|
902
|
-
* 更新群直播时间(系统同步)
|
|
903
|
-
* @param request 请求参数
|
|
904
|
-
* @returns 响应数据
|
|
905
|
-
*/
|
|
906
|
-
updateLiveTime(request: StoreService.Request.UpdateLiveTime): Promise<StandardResponse<StoreService.Response.UpdateLiveTime>>;
|
|
907
|
-
/**
|
|
908
|
-
* 门店继承(系统同步门店承接类型)
|
|
909
|
-
* @param request 请求参数
|
|
910
|
-
* @returns 响应数据
|
|
911
|
-
*/
|
|
912
|
-
inheritStore(request: StoreService.Request.InheritStore): Promise<StandardResponse<StoreService.Response.InheritStore>>;
|
|
913
838
|
/**
|
|
914
839
|
* 获取门店详情
|
|
915
840
|
* @param request 请求参数
|
|
@@ -13,7 +13,6 @@ export declare class PandoraUserService extends BaseService implements Service.U
|
|
|
13
13
|
deleteAccount(request: Service.Request.deleteAccount): Promise<StandardResponse<Service.Response.deleteAccount>>;
|
|
14
14
|
listAccounts(request: Service.Request.accountList): Promise<StandardResponse<Service.Response.accountList>>;
|
|
15
15
|
getUserInfo(request: Service.Request.getUserInfo): Promise<StandardResponse<Service.Response.getUserInfo>>;
|
|
16
|
-
getUserMenuPermissions(request: Service.Request.getUserMenuPermissions): Promise<StandardResponse<Service.Response.getUserMenuPermissions>>;
|
|
17
16
|
getUserInfoByRole(): Promise<StandardResponse<Service.Response.getUserInfoByRole>>;
|
|
18
17
|
getUserRolePermissions(request: Service.Request.getUserRolePermissions): Promise<StandardResponse<Service.Response.getUserRolePermissions>>;
|
|
19
18
|
getStoreOptions(request: Service.Request.getStoreOptions): Promise<StandardResponse<Service.Response.getStoreOptions>>;
|
|
@@ -24,9 +24,6 @@ export class PandoraUserService extends BaseService {
|
|
|
24
24
|
getUserInfo(request) {
|
|
25
25
|
return this.request(this.getUserInfo, request);
|
|
26
26
|
}
|
|
27
|
-
getUserMenuPermissions(request) {
|
|
28
|
-
return this.request(this.getUserMenuPermissions, request);
|
|
29
|
-
}
|
|
30
27
|
getUserInfoByRole() {
|
|
31
28
|
return this.request(this.getUserInfoByRole, {});
|
|
32
29
|
}
|
|
@@ -46,13 +46,6 @@ export declare namespace PandoraUserService {
|
|
|
46
46
|
interface getUserInfo {
|
|
47
47
|
id: string;
|
|
48
48
|
}
|
|
49
|
-
/**
|
|
50
|
-
* 获取用户菜单权限
|
|
51
|
-
*/
|
|
52
|
-
interface getUserMenuPermissions {
|
|
53
|
-
id: string;
|
|
54
|
-
roleId: string;
|
|
55
|
-
}
|
|
56
49
|
/**
|
|
57
50
|
* 获取用户角色权限(用于用户管理页面编辑权限回显)
|
|
58
51
|
*/
|
|
@@ -129,25 +122,6 @@ export declare namespace PandoraUserService {
|
|
|
129
122
|
createdAt: number;
|
|
130
123
|
updatedAt: number;
|
|
131
124
|
}
|
|
132
|
-
/**
|
|
133
|
-
* 获取用户菜单权限响应
|
|
134
|
-
*/
|
|
135
|
-
interface getUserMenuPermissions {
|
|
136
|
-
rules: Array<{
|
|
137
|
-
id: string;
|
|
138
|
-
name: string;
|
|
139
|
-
path: string;
|
|
140
|
-
isShow: number;
|
|
141
|
-
sort: number;
|
|
142
|
-
pid: string;
|
|
143
|
-
type: string;
|
|
144
|
-
icon: string;
|
|
145
|
-
status: string;
|
|
146
|
-
platform: string;
|
|
147
|
-
background: string;
|
|
148
|
-
ruleKey: string;
|
|
149
|
-
}>;
|
|
150
|
-
}
|
|
151
125
|
/**
|
|
152
126
|
* 根据角色获取用户信息响应(从请求上下文获取 userId 和 roleId)
|
|
153
127
|
*/
|
|
@@ -197,7 +171,6 @@ export declare namespace PandoraUserService {
|
|
|
197
171
|
deleteAccount(request: Request.deleteAccount): Promise<StandardResponse<Response.deleteAccount>>;
|
|
198
172
|
listAccounts(request: Request.accountList): Promise<StandardResponse<Response.accountList>>;
|
|
199
173
|
getUserInfo(request: Request.getUserInfo): Promise<StandardResponse<Response.getUserInfo>>;
|
|
200
|
-
getUserMenuPermissions(request: Request.getUserMenuPermissions): Promise<StandardResponse<Response.getUserMenuPermissions>>;
|
|
201
174
|
getUserInfoByRole(): Promise<StandardResponse<Response.getUserInfoByRole>>;
|
|
202
175
|
getUserRolePermissions(request: Request.getUserRolePermissions): Promise<StandardResponse<Response.getUserRolePermissions>>;
|
|
203
176
|
getStoreOptions(request: Request.getStoreOptions): Promise<StandardResponse<Response.getStoreOptions>>;
|
package/esm/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { PandoraExampleService } from './bff/modules/pandora/example/service';
|
|
|
2
2
|
import { PandoraStoreService } from './bff/modules/pandora/store/service';
|
|
3
3
|
import { PandoraStoreUserRelationService } from './bff/modules/pandora/storeUserRelation/service';
|
|
4
4
|
import { MiniProgramDemoService } from './bff/modules/miniprogram/demo/service';
|
|
5
|
+
import { MiniprogramAuthServiceClass } from './bff/modules/miniprogram/auth/service';
|
|
5
6
|
import { PandoraAuthService } from './bff/modules/pandora/auth/service';
|
|
6
7
|
import { PandoraBDService } from './bff/modules/pandora/bd/service';
|
|
7
8
|
import { PandoraBDMService } from './bff/modules/pandora/bdm/service';
|
|
@@ -20,6 +21,8 @@ import { PandoraOrderQueryService } from './bff/modules/pandora/orderQuery/servi
|
|
|
20
21
|
import { PandoraOrderCoreService } from './bff/modules/pandora/orderCore/service';
|
|
21
22
|
import { PandoraTaskService } from './bff/modules/pandora/task/service';
|
|
22
23
|
import { PandoraPointRuleService } from './bff/modules/pandora/pointRule/service';
|
|
24
|
+
import { PandoraFranchiseeService } from './bff/modules/pandora/franchisee/service';
|
|
25
|
+
import { MiniprogramFranchiseeService } from './bff/modules/miniprogram/franchisee/service';
|
|
23
26
|
import { SdkOptions } from './types';
|
|
24
27
|
/**
|
|
25
28
|
* Pandora 平台 SDK(管理后台)
|
|
@@ -63,6 +66,10 @@ export declare class PandoraSDK {
|
|
|
63
66
|
orderCore: PandoraOrderCoreService;
|
|
64
67
|
task: PandoraTaskService;
|
|
65
68
|
pointRule: PandoraPointRuleService;
|
|
69
|
+
/**
|
|
70
|
+
* 加盟商模块
|
|
71
|
+
*/
|
|
72
|
+
franchisee: PandoraFranchiseeService;
|
|
66
73
|
/**
|
|
67
74
|
* 使用配置选项初始化 Pandora SDK
|
|
68
75
|
* @param options - SDK 配置,包含凭证回调函数
|
|
@@ -82,6 +89,14 @@ export declare class MiniProgramSDK {
|
|
|
82
89
|
* 小程序 Demo 服务模块
|
|
83
90
|
*/
|
|
84
91
|
demo: MiniProgramDemoService;
|
|
92
|
+
/**
|
|
93
|
+
* 小程序认证服务模块
|
|
94
|
+
*/
|
|
95
|
+
auth: MiniprogramAuthServiceClass;
|
|
96
|
+
/**
|
|
97
|
+
* 加盟商模块
|
|
98
|
+
*/
|
|
99
|
+
franchisee: MiniprogramFranchiseeService;
|
|
85
100
|
/**
|
|
86
101
|
* 使用配置选项初始化小程序 SDK
|
|
87
102
|
* @param options - SDK 配置,包含凭证回调函数
|
|
@@ -92,6 +107,7 @@ export { SdkError, BizError, SystemError } from './errors';
|
|
|
92
107
|
export { SdkOptions, IRequestStrategy, StandardResponse } from './types';
|
|
93
108
|
export * from './enums';
|
|
94
109
|
export { Service as MiniProgramDemoTypes } from './bff/modules/miniprogram/demo/types';
|
|
110
|
+
export { MiniprogramAuthService as MiniprogramAuthServiceTypes } from './bff/modules/miniprogram/auth/types';
|
|
95
111
|
export { Service as PandoraExampleTypes } from './bff/modules/pandora/example/types';
|
|
96
112
|
export { StoreService as PandoraStoreServiceTypes } from './bff/modules/pandora/store/types';
|
|
97
113
|
export { StoreUserRelationService as PandoraStoreUserRelationServiceTypes } from './bff/modules/pandora/storeUserRelation/types';
|
|
@@ -113,3 +129,5 @@ export { PandoraPointRuleService as PandoraPointRuleServiceTypes } from './bff/m
|
|
|
113
129
|
export { RoomService as PandoraRoomServiceTypes } from './bff/modules/pandora/room/types';
|
|
114
130
|
export { CouponService as PandoraCouponServiceTypes } from './bff/modules/pandora/coupon/types';
|
|
115
131
|
export { PointMallService as PointMallServiceTypes } from './bff/modules/pandora/pointsMall/types';
|
|
132
|
+
export { PandoraFranchiseeService as PandoraFranchiseeServiceTypes } from './bff/modules/pandora/franchisee/types';
|
|
133
|
+
export { MiniprogramFranchiseeService as MiniprogramFranchiseeServiceTypes } from './bff/modules/miniprogram/franchisee/types';
|
package/esm/index.mjs
CHANGED
|
@@ -3,6 +3,7 @@ import { PandoraExampleService } from './bff/modules/pandora/example/service.mjs
|
|
|
3
3
|
import { PandoraStoreService } from './bff/modules/pandora/store/service.mjs';
|
|
4
4
|
import { PandoraStoreUserRelationService } from './bff/modules/pandora/storeUserRelation/service.mjs';
|
|
5
5
|
import { MiniProgramDemoService } from './bff/modules/miniprogram/demo/service.mjs';
|
|
6
|
+
import { MiniprogramAuthServiceClass } from './bff/modules/miniprogram/auth/service.mjs';
|
|
6
7
|
import { PandoraAuthService } from './bff/modules/pandora/auth/service.mjs';
|
|
7
8
|
import { PandoraBDService } from './bff/modules/pandora/bd/service.mjs';
|
|
8
9
|
import { PandoraBDMService } from './bff/modules/pandora/bdm/service.mjs';
|
|
@@ -21,6 +22,8 @@ import { PandoraOrderQueryService } from './bff/modules/pandora/orderQuery/servi
|
|
|
21
22
|
import { PandoraOrderCoreService } from './bff/modules/pandora/orderCore/service.mjs';
|
|
22
23
|
import { PandoraTaskService } from './bff/modules/pandora/task/service.mjs';
|
|
23
24
|
import { PandoraPointRuleService } from './bff/modules/pandora/pointRule/service.mjs';
|
|
25
|
+
import { PandoraFranchiseeService } from './bff/modules/pandora/franchisee/service.mjs';
|
|
26
|
+
import { MiniprogramFranchiseeService } from './bff/modules/miniprogram/franchisee/service.mjs';
|
|
24
27
|
/**
|
|
25
28
|
* Pandora 平台 SDK(管理后台)
|
|
26
29
|
* 包含所有 Pandora 平台相关的服务
|
|
@@ -55,6 +58,7 @@ export class PandoraSDK {
|
|
|
55
58
|
this.orderCore = new PandoraOrderCoreService(this.http);
|
|
56
59
|
this.task = new PandoraTaskService(this.http);
|
|
57
60
|
this.pointRule = new PandoraPointRuleService(this.http);
|
|
61
|
+
this.franchisee = new PandoraFranchiseeService(this.http);
|
|
58
62
|
}
|
|
59
63
|
}
|
|
60
64
|
/**
|
|
@@ -71,6 +75,8 @@ export class MiniProgramSDK {
|
|
|
71
75
|
this.http = new HttpClient(options);
|
|
72
76
|
// 使用 HttpClient 实例化所有小程序服务模块
|
|
73
77
|
this.demo = new MiniProgramDemoService(this.http);
|
|
78
|
+
this.auth = new MiniprogramAuthServiceClass(this.http);
|
|
79
|
+
this.franchisee = new MiniprogramFranchiseeService(this.http);
|
|
74
80
|
}
|
|
75
81
|
}
|
|
76
82
|
// ==================== 导出 ====================
|
|
@@ -78,3 +84,4 @@ export class MiniProgramSDK {
|
|
|
78
84
|
export { SdkError, BizError, SystemError } from './errors/index.mjs';
|
|
79
85
|
// 枚举和常量
|
|
80
86
|
export * from './enums.mjs';
|
|
87
|
+
export { StoreService as PandoraStoreServiceTypes } from './bff/modules/pandora/store/types.mjs';
|
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.
|
|
3
|
+
"version": "0.0.95",
|
|
4
4
|
"description": "EcommerceBackendBffService Node.js SDK",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./cjs/index.js",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"@be-link/ecommerce-volcengine-open-api-sdk": "^1.0.16",
|
|
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
|
-
"@be-link/ecommerce-store-service-node-sdk": "^0.0.
|
|
31
|
-
"@be-link/ecommerce-trade-service-node-sdk": "^0.0.
|
|
30
|
+
"@be-link/ecommerce-store-service-node-sdk": "^0.0.25",
|
|
31
|
+
"@be-link/ecommerce-trade-service-node-sdk": "^0.0.54",
|
|
32
32
|
"@be-link/ecommerce-task-center-service-node-sdk": "^0.0.34",
|
|
33
33
|
"@be-link/ecommerce-promotion-service-node-sdk": "^0.0.28",
|
|
34
34
|
"axios": "1.13.2",
|
|
35
|
-
"@be-link/ecommerce-backend-user-service-node-sdk": "^0.0.
|
|
35
|
+
"@be-link/ecommerce-backend-user-service-node-sdk": "^0.0.7",
|
|
36
36
|
"@be-link/ecommerce-product-service-node-sdk": "0.0.30"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|