@be-link/ecommerce-backend-bff-service-node-sdk 0.0.79 → 0.0.80
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/pandora/pointsMall/types.d.ts +9 -9
- package/cjs/bff/modules/pandora/product/types.d.ts +5 -3
- package/cjs/bff/modules/pandora/store/service.d.ts +45 -21
- package/cjs/bff/modules/pandora/store/service.js +32 -0
- package/cjs/bff/modules/pandora/store/types.d.ts +396 -264
- package/cjs/bff/modules/pandora/storeUserRelation/types.d.ts +11 -9
- package/esm/bff/modules/pandora/pointsMall/types.d.ts +9 -9
- package/esm/bff/modules/pandora/product/types.d.ts +5 -3
- package/esm/bff/modules/pandora/store/service.d.ts +45 -21
- package/esm/bff/modules/pandora/store/service.mjs +32 -0
- package/esm/bff/modules/pandora/store/types.d.ts +396 -264
- package/esm/bff/modules/pandora/storeUserRelation/types.d.ts +11 -9
- package/package.json +4 -4
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import { StandardResponse } from '../../../../types';
|
|
2
|
-
import { STORE_SERVICE_ENUM } from '../../../../enums';
|
|
3
|
-
/**
|
|
4
|
-
* Store Service 的类型定义
|
|
5
|
-
* 使用命名空间组织类型,与后端 SDK 保持一致
|
|
6
|
-
*/
|
|
7
2
|
export declare namespace StoreService {
|
|
8
3
|
/**
|
|
9
4
|
* 实体定义
|
|
@@ -14,7 +9,7 @@ export declare namespace StoreService {
|
|
|
14
9
|
*/
|
|
15
10
|
interface StoreBasicInfo {
|
|
16
11
|
/** 门店id */
|
|
17
|
-
id:
|
|
12
|
+
id: string;
|
|
18
13
|
/** 创建时间 */
|
|
19
14
|
createdAt: number;
|
|
20
15
|
/** 更新时间 */
|
|
@@ -37,33 +32,17 @@ export declare namespace StoreService {
|
|
|
37
32
|
longitude: number;
|
|
38
33
|
/** 联系电话 */
|
|
39
34
|
telephone: string;
|
|
40
|
-
/** 加盟商id */
|
|
41
|
-
franchiseeId: string;
|
|
42
|
-
/** BD 负责人 Pandora ID */
|
|
43
|
-
bdPandoraId: string;
|
|
44
|
-
/** BD 负责人姓名 */
|
|
45
|
-
bdName?: string;
|
|
46
|
-
/** BDM 负责人 Pandora ID */
|
|
47
|
-
bdmPandoraId?: string;
|
|
48
|
-
/** BDM 负责人姓名 */
|
|
49
|
-
bdmName?: string;
|
|
50
|
-
/** 店长 Pandora ID */
|
|
51
|
-
storeManagerPandoraId: string;
|
|
52
|
-
/** 店长姓名 */
|
|
53
|
-
storeManagerName?: string;
|
|
54
|
-
/** 店员姓名列表 */
|
|
55
|
-
staffNames?: string[];
|
|
56
35
|
/** 门店二维码 */
|
|
57
36
|
qrCodeState?: any;
|
|
58
|
-
/**
|
|
37
|
+
/** 经营状态: UNBOUND_MANAGER-未开业, OPERATING-营业中, CLOSED-已打烊 */
|
|
59
38
|
businessStatus: string;
|
|
60
|
-
/** 商家合作类型:
|
|
39
|
+
/** 商家合作类型: UNCONFIGURED-未配置, INDEPENDENT_STORE-独立店, STORE_IN_STORE-联营店, DRIVAGE-引流店 */
|
|
61
40
|
merchantCooperationType: string;
|
|
62
|
-
/** 门店类型:
|
|
41
|
+
/** 门店类型: UNCONFIGURED-未配置, SELF_OPERATED-自营, FRANCHISE-加盟 */
|
|
63
42
|
storeType: string;
|
|
64
|
-
/**
|
|
43
|
+
/** 门店承接类型: UNCONFIGURED-未配置, OLD_STORE-老店期承接, NEW_CUSTOMER-拉新期承接, AFTER_LIVE-开播后承接 */
|
|
65
44
|
storeUndertakingType: string;
|
|
66
|
-
/**
|
|
45
|
+
/** 拉新类型: UNCONFIGURED-未配置, PLATFORM-平台拉新, STORE_MANAGER-店长拉新, AGILE_BROADCAST-敏捷上播 */
|
|
67
46
|
isPlatformNewCustomerOperation: string;
|
|
68
47
|
/** 拉新时间 毫秒级时间戳 */
|
|
69
48
|
newCustomerTime: number;
|
|
@@ -77,17 +56,13 @@ export declare namespace StoreService {
|
|
|
77
56
|
/** 结算信息id */
|
|
78
57
|
id: string;
|
|
79
58
|
/** 门店ID */
|
|
80
|
-
storeId:
|
|
81
|
-
/** 工作机 uid,工作机手机号和授权手机号做系统匹配 */
|
|
82
|
-
workPhoneUid: string;
|
|
59
|
+
storeId: string;
|
|
83
60
|
/** 结算分佣比例 */
|
|
84
61
|
settlementCommissionRate?: any;
|
|
85
62
|
/** 直播时间 毫秒级时间戳 */
|
|
86
63
|
liveTime: number;
|
|
87
64
|
/** 免润期(天) */
|
|
88
65
|
gracePeriod: number;
|
|
89
|
-
/** 工作机企微 id,系统匹配 */
|
|
90
|
-
workPhoneWxCorpId: string;
|
|
91
66
|
}
|
|
92
67
|
/**
|
|
93
68
|
* 门店仓配信息
|
|
@@ -96,7 +71,7 @@ export declare namespace StoreService {
|
|
|
96
71
|
/** 仓配信息id */
|
|
97
72
|
id: string;
|
|
98
73
|
/** 门店ID */
|
|
99
|
-
storeId:
|
|
74
|
+
storeId: string;
|
|
100
75
|
/** 收货紧急联系人姓名 */
|
|
101
76
|
emergencyContactName: string;
|
|
102
77
|
/** 收货紧急联系人手机号 */
|
|
@@ -120,6 +95,41 @@ export declare namespace StoreService {
|
|
|
120
95
|
tagName: string;
|
|
121
96
|
}>;
|
|
122
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* 门店人员信息
|
|
100
|
+
*/
|
|
101
|
+
interface StoreUser {
|
|
102
|
+
/** 加盟商id */
|
|
103
|
+
franchiseeId?: string;
|
|
104
|
+
/** 加盟商名称 */
|
|
105
|
+
franchiseeName?: string;
|
|
106
|
+
/** BD 负责人 Pandora ID */
|
|
107
|
+
bdPandoraId?: string;
|
|
108
|
+
/** BD 负责人姓名 */
|
|
109
|
+
bdName?: string;
|
|
110
|
+
/** BDM 负责人 Pandora ID */
|
|
111
|
+
bdmPandoraId?: string;
|
|
112
|
+
/** BDM 负责人姓名 */
|
|
113
|
+
bdmName?: string;
|
|
114
|
+
/** 店长 Pandora ID */
|
|
115
|
+
storeManagerPandoraId?: string;
|
|
116
|
+
/** 店长姓名 */
|
|
117
|
+
storeManagerName?: string;
|
|
118
|
+
/** 店员列表 */
|
|
119
|
+
staffList?: Array<{
|
|
120
|
+
/** 用户 Pandora ID */
|
|
121
|
+
userPandoraId: string;
|
|
122
|
+
/** 用户名称 */
|
|
123
|
+
userName?: string;
|
|
124
|
+
}>;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* 门店统计数据
|
|
128
|
+
*/
|
|
129
|
+
interface StoreStatistics {
|
|
130
|
+
/** 人员数量 */
|
|
131
|
+
userCount: number;
|
|
132
|
+
}
|
|
123
133
|
/**
|
|
124
134
|
* 完整门店信息(包含基础、结算、仓配信息)
|
|
125
135
|
*/
|
|
@@ -127,6 +137,8 @@ export declare namespace StoreService {
|
|
|
127
137
|
settlement?: StoreSettlement;
|
|
128
138
|
warehouseDelivery?: StoreWarehouseDelivery;
|
|
129
139
|
storeGroup?: StoreGroup;
|
|
140
|
+
storeUser?: StoreUser;
|
|
141
|
+
statistics?: StoreStatistics;
|
|
130
142
|
}
|
|
131
143
|
}
|
|
132
144
|
/**
|
|
@@ -140,7 +152,7 @@ export declare namespace StoreService {
|
|
|
140
152
|
/** 门店名称(模糊搜索) */
|
|
141
153
|
storeName?: string;
|
|
142
154
|
/** 门店微赞ID */
|
|
143
|
-
storeId?:
|
|
155
|
+
storeId?: string;
|
|
144
156
|
/** 省 */
|
|
145
157
|
province?: string;
|
|
146
158
|
/** 市 */
|
|
@@ -151,24 +163,20 @@ export declare namespace StoreService {
|
|
|
151
163
|
franchiseeIds?: string[];
|
|
152
164
|
/** 是否绑定加盟商 */
|
|
153
165
|
hasFranchisee?: boolean;
|
|
154
|
-
/**
|
|
155
|
-
bdPandoraIds?: string[];
|
|
156
|
-
/** 店长 Pandora ID */
|
|
157
|
-
storeManagerPandoraId?: string;
|
|
158
|
-
/** 经营状态:0-未绑定负责人,1-营业中,2-已打烊 */
|
|
166
|
+
/** 经营状态:UNBOUND_MANAGER-未开业, OPERATING-营业中, CLOSED-已打烊 */
|
|
159
167
|
businessStatus?: string;
|
|
160
|
-
/** 商家合作类型:
|
|
168
|
+
/** 商家合作类型:UNCONFIGURED-未配置, INDEPENDENT_STORE-独立店, STORE_IN_STORE-联营店, DRIVAGE-引流店 */
|
|
161
169
|
merchantCooperationType?: string;
|
|
162
|
-
/** 门店类型:
|
|
170
|
+
/** 门店类型:UNCONFIGURED-未配置, SELF_OPERATED-自营, FRANCHISE-加盟 */
|
|
163
171
|
storeType?: string;
|
|
164
|
-
/**
|
|
172
|
+
/** 门店承接类型: UNCONFIGURED-未配置, OLD_STORE-老店期承接, NEW_CUSTOMER-拉新期承接, AFTER_LIVE-开播后承接 */
|
|
165
173
|
storeUndertakingType?: string;
|
|
166
|
-
/**
|
|
174
|
+
/** 拉新类型: UNCONFIGURED-未配置, PLATFORM-平台拉新, STORE_MANAGER-店长拉新, AGILE_BROADCAST-敏捷上播 */
|
|
167
175
|
isPlatformNewCustomerOperation?: string;
|
|
168
176
|
/** 是否拉新(根据拉新时间是否大于0判断) */
|
|
169
177
|
isNewCustomer?: number;
|
|
170
178
|
/** 门店ID列表 */
|
|
171
|
-
storeIds?:
|
|
179
|
+
storeIds?: string[];
|
|
172
180
|
}
|
|
173
181
|
/**
|
|
174
182
|
* 门店结算信息查询块
|
|
@@ -192,8 +200,30 @@ export declare namespace StoreService {
|
|
|
192
200
|
interface StoreGroup {
|
|
193
201
|
/** 门店分组ID列表 */
|
|
194
202
|
storeGroupIds?: string[];
|
|
195
|
-
|
|
196
|
-
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* 门店人员查询块
|
|
206
|
+
*/
|
|
207
|
+
interface StoreUser {
|
|
208
|
+
/** BD 负责人 Pandora ID 列表 */
|
|
209
|
+
bdPandoraIds?: string[];
|
|
210
|
+
/** 店长 Pandora ID 列表 */
|
|
211
|
+
storeManagerPandoraIds?: string[];
|
|
212
|
+
/** 店员 Pandora ID 列表 */
|
|
213
|
+
staffPandoraIds?: string[];
|
|
214
|
+
/** 是否有绑定店长 */
|
|
215
|
+
hasStoreManager?: boolean;
|
|
216
|
+
/** 是否有绑定店员 */
|
|
217
|
+
hasStaff?: boolean;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* 门店统计数据查询块
|
|
221
|
+
*/
|
|
222
|
+
interface Statistics {
|
|
223
|
+
/** 人员数量最小值 */
|
|
224
|
+
userCountMin?: number;
|
|
225
|
+
/** 人员数量最大值 */
|
|
226
|
+
userCountMax?: number;
|
|
197
227
|
}
|
|
198
228
|
}
|
|
199
229
|
/**
|
|
@@ -203,7 +233,7 @@ export declare namespace StoreService {
|
|
|
203
233
|
/**
|
|
204
234
|
* 创建门店请求(创建时填写)
|
|
205
235
|
*/
|
|
206
|
-
interface
|
|
236
|
+
interface CreateStore {
|
|
207
237
|
/** 门店基础信息 */
|
|
208
238
|
basicInfo: {
|
|
209
239
|
/** 门店名称 */
|
|
@@ -223,10 +253,6 @@ export declare namespace StoreService {
|
|
|
223
253
|
};
|
|
224
254
|
/** 门店结算信息 */
|
|
225
255
|
settlementInfo?: {
|
|
226
|
-
/** 工作机 uid */
|
|
227
|
-
workPhoneUid?: string;
|
|
228
|
-
/** 工作机企微 id */
|
|
229
|
-
workPhoneWxCorpId?: string;
|
|
230
256
|
/** 结算分佣比例 */
|
|
231
257
|
settlementCommissionRate?: any;
|
|
232
258
|
/** 直播时间 毫秒级时间戳 */
|
|
@@ -253,66 +279,82 @@ export declare namespace StoreService {
|
|
|
253
279
|
/**
|
|
254
280
|
* 绑定店长请求(自动同步店长相关信息)
|
|
255
281
|
*/
|
|
256
|
-
interface
|
|
282
|
+
interface BindStoreManager {
|
|
257
283
|
/** 门店ID */
|
|
258
|
-
storeId:
|
|
284
|
+
storeId: string;
|
|
259
285
|
/** 店长 Pandora ID */
|
|
260
286
|
storeManagerPandoraId: string;
|
|
261
287
|
}
|
|
262
288
|
/**
|
|
263
289
|
* 解绑店长请求
|
|
264
290
|
*/
|
|
265
|
-
interface
|
|
291
|
+
interface UnbindStoreManager {
|
|
266
292
|
/** 门店ID */
|
|
267
|
-
storeId:
|
|
293
|
+
storeId: string;
|
|
268
294
|
}
|
|
269
295
|
/**
|
|
270
296
|
* 绑定BD请求
|
|
271
297
|
*/
|
|
272
|
-
interface
|
|
298
|
+
interface BindBD {
|
|
273
299
|
/** 门店ID */
|
|
274
|
-
storeId:
|
|
300
|
+
storeId: string;
|
|
301
|
+
/** BD 负责人 Pandora ID */
|
|
302
|
+
bdPandoraId: string;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* 批量绑定BD请求
|
|
306
|
+
*/
|
|
307
|
+
interface BatchBindBD {
|
|
308
|
+
/** 门店ID列表 */
|
|
309
|
+
storeIds: string[];
|
|
275
310
|
/** BD 负责人 Pandora ID */
|
|
276
311
|
bdPandoraId: string;
|
|
277
312
|
}
|
|
278
313
|
/**
|
|
279
314
|
* 解绑BD请求
|
|
280
315
|
*/
|
|
281
|
-
interface
|
|
316
|
+
interface UnbindBD {
|
|
282
317
|
/** 门店ID */
|
|
283
|
-
storeId:
|
|
318
|
+
storeId: string;
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* 批量解绑BD请求
|
|
322
|
+
*/
|
|
323
|
+
interface BatchUnbindBD {
|
|
324
|
+
/** 门店ID列表 */
|
|
325
|
+
storeIds: string[];
|
|
284
326
|
}
|
|
285
327
|
/**
|
|
286
328
|
* 绑定加盟商请求
|
|
287
329
|
*/
|
|
288
|
-
interface
|
|
330
|
+
interface BindFranchisee {
|
|
289
331
|
/** 门店ID */
|
|
290
|
-
storeId:
|
|
332
|
+
storeId: string;
|
|
291
333
|
/** 加盟商ID */
|
|
292
334
|
franchiseeId: string;
|
|
293
335
|
}
|
|
294
336
|
/**
|
|
295
337
|
* 解绑加盟商请求
|
|
296
338
|
*/
|
|
297
|
-
interface
|
|
339
|
+
interface UnbindFranchisee {
|
|
298
340
|
/** 门店ID */
|
|
299
|
-
storeId:
|
|
341
|
+
storeId: string;
|
|
300
342
|
}
|
|
301
343
|
/**
|
|
302
344
|
* 编辑门店信息请求(手工录入字段)
|
|
303
345
|
*/
|
|
304
|
-
interface
|
|
346
|
+
interface UpdateStoreInfo {
|
|
305
347
|
/** 门店id */
|
|
306
|
-
storeId:
|
|
348
|
+
storeId: string;
|
|
307
349
|
/** 门店基础信息 */
|
|
308
350
|
basicInfo?: {
|
|
309
|
-
/**
|
|
351
|
+
/** 经营状态:UNBOUND_MANAGER-未开业, OPERATING-营业中, CLOSED-已打烊 */
|
|
310
352
|
businessStatus?: string;
|
|
311
|
-
/**
|
|
353
|
+
/** 商家合作类型:UNCONFIGURED-未配置, INDEPENDENT_STORE-独立店, STORE_IN_STORE-联营店, DRIVAGE-引流店 */
|
|
312
354
|
merchantCooperationType?: string;
|
|
313
|
-
/**
|
|
355
|
+
/** 门店类型:UNCONFIGURED-未配置, SELF_OPERATED-自营, FRANCHISE-加盟 */
|
|
314
356
|
storeType?: string;
|
|
315
|
-
/**
|
|
357
|
+
/** 拉新类型: UNCONFIGURED-未配置, PLATFORM-平台拉新, STORE_MANAGER-店长拉新, AGILE_BROADCAST-敏捷上播 */
|
|
316
358
|
isPlatformNewCustomerOperation?: string;
|
|
317
359
|
};
|
|
318
360
|
/** 门店地址信息 */
|
|
@@ -332,10 +374,6 @@ export declare namespace StoreService {
|
|
|
332
374
|
};
|
|
333
375
|
/** 门店结算信息 */
|
|
334
376
|
settlementInfo?: {
|
|
335
|
-
/** 工作机 uid */
|
|
336
|
-
workPhoneUid?: string;
|
|
337
|
-
/** 工作机企微 id */
|
|
338
|
-
workPhoneWxCorpId?: string;
|
|
339
377
|
/** 结算分佣比例 */
|
|
340
378
|
settlementCommissionRate?: any;
|
|
341
379
|
/** 直播时间 毫秒级时间戳 */
|
|
@@ -359,44 +397,53 @@ export declare namespace StoreService {
|
|
|
359
397
|
closingHour?: any;
|
|
360
398
|
};
|
|
361
399
|
}
|
|
400
|
+
/**
|
|
401
|
+
* 批量修改门店经营状态请求
|
|
402
|
+
*/
|
|
403
|
+
interface BatchUpdateBusinessStatus {
|
|
404
|
+
/** 门店ID列表 */
|
|
405
|
+
storeIds: string[];
|
|
406
|
+
/** 经营状态:UNBOUND_MANAGER-未开业, OPERATING-营业中, CLOSED-已打烊 */
|
|
407
|
+
businessStatus: string;
|
|
408
|
+
}
|
|
362
409
|
/**
|
|
363
410
|
* 更新群直播时间请求(系统同步)
|
|
364
411
|
*/
|
|
365
|
-
interface
|
|
412
|
+
interface UpdateLiveTime {
|
|
366
413
|
/** 门店ID */
|
|
367
|
-
storeId:
|
|
414
|
+
storeId: string;
|
|
368
415
|
/** 直播时间 毫秒级时间戳 */
|
|
369
416
|
liveTime: number;
|
|
370
417
|
}
|
|
371
418
|
/**
|
|
372
419
|
* 门店继承请求(系统同步门店承接类型)
|
|
373
420
|
*/
|
|
374
|
-
interface
|
|
421
|
+
interface InheritStore {
|
|
375
422
|
/** 门店ID */
|
|
376
|
-
storeId:
|
|
377
|
-
/**
|
|
423
|
+
storeId: string;
|
|
424
|
+
/** 门店承接类型: OLD_STORE-老店期承接, NEW_CUSTOMER-拉新期承接, AFTER_LIVE-开播后承接 */
|
|
378
425
|
storeUndertakingType: string;
|
|
379
426
|
}
|
|
380
427
|
/**
|
|
381
428
|
* 获取门店详情请求
|
|
382
429
|
*/
|
|
383
|
-
interface
|
|
430
|
+
interface GetStoreDetail {
|
|
384
431
|
/** 门店id */
|
|
385
|
-
storeId:
|
|
432
|
+
storeId: string;
|
|
386
433
|
}
|
|
387
434
|
/**
|
|
388
435
|
* 批量获取门店信息请求
|
|
389
436
|
*/
|
|
390
|
-
interface
|
|
437
|
+
interface BatchGetStoreInfo {
|
|
391
438
|
/** 门店ID列表 */
|
|
392
|
-
storeIds:
|
|
439
|
+
storeIds: string[];
|
|
393
440
|
/** 需要返回的响应块(数据表)列表 */
|
|
394
|
-
responseBlocks:
|
|
441
|
+
responseBlocks: string[];
|
|
395
442
|
}
|
|
396
443
|
/**
|
|
397
444
|
* 获取门店列表请求
|
|
398
445
|
*/
|
|
399
|
-
interface
|
|
446
|
+
interface GetStoreList {
|
|
400
447
|
/** 页码 */
|
|
401
448
|
page?: number;
|
|
402
449
|
/** 每页数量 */
|
|
@@ -409,68 +456,62 @@ export declare namespace StoreService {
|
|
|
409
456
|
warehouseDeliveryQuery?: QueryBlock.WarehouseDelivery;
|
|
410
457
|
/** 门店分组查询块 */
|
|
411
458
|
storeGroupQuery?: QueryBlock.StoreGroup;
|
|
459
|
+
/** 门店人员查询块 */
|
|
460
|
+
storeUserQuery?: QueryBlock.StoreUser;
|
|
461
|
+
/** 门店统计数据查询块 */
|
|
462
|
+
statisticsQuery?: QueryBlock.Statistics;
|
|
412
463
|
/** 需要返回的响应块(数据表)列表 */
|
|
413
|
-
responseBlocks?:
|
|
464
|
+
responseBlocks?: string[];
|
|
414
465
|
}
|
|
415
466
|
/**
|
|
416
|
-
*
|
|
467
|
+
* 根据门店名称获取门店ID请求
|
|
417
468
|
*/
|
|
418
|
-
interface
|
|
419
|
-
/**
|
|
420
|
-
|
|
421
|
-
/** 经营状态:0-未绑定负责人,1-营业中,2-已打烊 */
|
|
422
|
-
businessStatus: string;
|
|
469
|
+
interface GetStoreIdByName {
|
|
470
|
+
/** 门店名称 */
|
|
471
|
+
storeName: string;
|
|
423
472
|
}
|
|
424
|
-
/**
|
|
425
|
-
|
|
426
|
-
*/
|
|
427
|
-
interface createStoreGroup {
|
|
473
|
+
/** 创建门店分组标签 */
|
|
474
|
+
interface CreateTag {
|
|
428
475
|
/** 标签名称 */
|
|
429
476
|
name: string;
|
|
430
|
-
/** 门店ID列表 */
|
|
431
|
-
storeIds?: string[];
|
|
432
477
|
/** 状态 */
|
|
433
478
|
status?: number;
|
|
434
479
|
/** 备注 */
|
|
435
480
|
remark?: string;
|
|
436
481
|
}
|
|
437
|
-
/**
|
|
438
|
-
|
|
439
|
-
*/
|
|
440
|
-
interface editStoreGroup {
|
|
482
|
+
/** 使用门店分组标签打标 */
|
|
483
|
+
interface BatchTag {
|
|
441
484
|
/** 标签ID */
|
|
442
485
|
tagId?: string;
|
|
443
|
-
/**
|
|
486
|
+
/** 标签名称 */
|
|
444
487
|
tagName?: string;
|
|
445
488
|
/** 门店ID列表 */
|
|
446
489
|
storeIds: string[];
|
|
447
490
|
}
|
|
448
|
-
/**
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
interface deleteStoreGroup {
|
|
452
|
-
/** 分组ID */
|
|
453
|
-
groupId: string;
|
|
454
|
-
}
|
|
455
|
-
/**
|
|
456
|
-
* 查询门店分组列表请求
|
|
457
|
-
*/
|
|
458
|
-
interface getStoreGroupList {
|
|
491
|
+
/** 查询门店分组列表 */
|
|
492
|
+
interface QueryStoreGroupList {
|
|
493
|
+
/** 标签名称(可选,为空时展示全量列表) */
|
|
459
494
|
tagName?: string;
|
|
460
495
|
/** 分页:页码 */
|
|
461
496
|
page?: number;
|
|
462
497
|
/** 分页:每页数量 */
|
|
463
498
|
pageSize?: number;
|
|
464
499
|
}
|
|
465
|
-
/**
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
500
|
+
/** 根据门店IDs批量查标签 */
|
|
501
|
+
interface BatchQueryTagsByStores {
|
|
502
|
+
/** 门店ID列表 */
|
|
503
|
+
storeIds: string[];
|
|
469
504
|
}
|
|
470
|
-
/**
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
505
|
+
/** 查询门店分组列表的标签 */
|
|
506
|
+
interface QueryTagsByGroup {
|
|
507
|
+
}
|
|
508
|
+
/** 删除门店分组 */
|
|
509
|
+
interface DeleteStoreGroup {
|
|
510
|
+
/** 标签ID */
|
|
511
|
+
tagId: string;
|
|
512
|
+
}
|
|
513
|
+
/** 根据标签ID查询标签下的所有门店 */
|
|
514
|
+
interface QueryStoresByTagId {
|
|
474
515
|
/** 标签ID */
|
|
475
516
|
tagId: string;
|
|
476
517
|
/** 分页:页码 */
|
|
@@ -486,9 +527,9 @@ export declare namespace StoreService {
|
|
|
486
527
|
/**
|
|
487
528
|
* 创建门店响应
|
|
488
529
|
*/
|
|
489
|
-
interface
|
|
530
|
+
interface CreateStore {
|
|
490
531
|
/** 门店id */
|
|
491
|
-
storeId:
|
|
532
|
+
storeId: string;
|
|
492
533
|
/** 门店信息 */
|
|
493
534
|
store: Entity.StoreBasicInfo;
|
|
494
535
|
/** 门店二维码(系统生成) */
|
|
@@ -497,7 +538,7 @@ export declare namespace StoreService {
|
|
|
497
538
|
/**
|
|
498
539
|
* 绑定店长响应
|
|
499
540
|
*/
|
|
500
|
-
interface
|
|
541
|
+
interface BindStoreManager {
|
|
501
542
|
/** 是否成功 */
|
|
502
543
|
success: boolean;
|
|
503
544
|
/** 同步的信息 */
|
|
@@ -506,39 +547,67 @@ export declare namespace StoreService {
|
|
|
506
547
|
telephone: string;
|
|
507
548
|
/** 店长 Pandora ID */
|
|
508
549
|
storeManagerPandoraId: string;
|
|
509
|
-
/** 工作机 UID */
|
|
510
|
-
workPhoneUid: string;
|
|
511
|
-
/** 工作机企微 ID */
|
|
512
|
-
workPhoneWxCorpId: string;
|
|
513
550
|
};
|
|
514
551
|
}
|
|
515
552
|
/**
|
|
516
553
|
* 解绑店长响应
|
|
517
554
|
*/
|
|
518
|
-
interface
|
|
555
|
+
interface UnbindStoreManager {
|
|
519
556
|
/** 是否成功 */
|
|
520
557
|
success: boolean;
|
|
521
558
|
}
|
|
522
559
|
/**
|
|
523
560
|
* 绑定BD响应
|
|
524
561
|
*/
|
|
525
|
-
interface
|
|
562
|
+
interface BindBD {
|
|
526
563
|
/** 是否成功 */
|
|
527
564
|
success: boolean;
|
|
528
565
|
/** BD 负责人 Pandora ID */
|
|
529
566
|
bdPandoraId: string;
|
|
530
567
|
}
|
|
568
|
+
/**
|
|
569
|
+
* 批量绑定BD响应
|
|
570
|
+
*/
|
|
571
|
+
interface BatchBindBD {
|
|
572
|
+
/** 是否成功 */
|
|
573
|
+
success: boolean;
|
|
574
|
+
/** 成功绑定的门店ID列表 */
|
|
575
|
+
successStoreIds: string[];
|
|
576
|
+
/** 失败的门店列表 */
|
|
577
|
+
failedStores?: Array<{
|
|
578
|
+
/** 门店ID */
|
|
579
|
+
storeId: string;
|
|
580
|
+
/** 失败原因 */
|
|
581
|
+
reason: string;
|
|
582
|
+
}>;
|
|
583
|
+
}
|
|
531
584
|
/**
|
|
532
585
|
* 解绑BD响应
|
|
533
586
|
*/
|
|
534
|
-
interface
|
|
587
|
+
interface UnbindBD {
|
|
535
588
|
/** 是否成功 */
|
|
536
589
|
success: boolean;
|
|
537
590
|
}
|
|
591
|
+
/**
|
|
592
|
+
* 批量解绑BD响应
|
|
593
|
+
*/
|
|
594
|
+
interface BatchUnbindBD {
|
|
595
|
+
/** 是否成功 */
|
|
596
|
+
success: boolean;
|
|
597
|
+
/** 成功解绑的门店ID列表 */
|
|
598
|
+
successStoreIds: string[];
|
|
599
|
+
/** 失败的门店列表 */
|
|
600
|
+
failedStores?: Array<{
|
|
601
|
+
/** 门店ID */
|
|
602
|
+
storeId: string;
|
|
603
|
+
/** 失败原因 */
|
|
604
|
+
reason: string;
|
|
605
|
+
}>;
|
|
606
|
+
}
|
|
538
607
|
/**
|
|
539
608
|
* 绑定加盟商响应
|
|
540
609
|
*/
|
|
541
|
-
interface
|
|
610
|
+
interface BindFranchisee {
|
|
542
611
|
/** 是否成功 */
|
|
543
612
|
success: boolean;
|
|
544
613
|
/** 加盟商ID */
|
|
@@ -547,23 +616,39 @@ export declare namespace StoreService {
|
|
|
547
616
|
/**
|
|
548
617
|
* 解绑加盟商响应
|
|
549
618
|
*/
|
|
550
|
-
interface
|
|
619
|
+
interface UnbindFranchisee {
|
|
551
620
|
/** 是否成功 */
|
|
552
621
|
success: boolean;
|
|
553
622
|
}
|
|
554
623
|
/**
|
|
555
624
|
* 编辑门店信息响应
|
|
556
625
|
*/
|
|
557
|
-
interface
|
|
626
|
+
interface UpdateStoreInfo {
|
|
558
627
|
/** 是否成功 */
|
|
559
628
|
success: boolean;
|
|
560
629
|
/** 更新后的门店完整信息 */
|
|
561
630
|
store?: Entity.StoreFullInfo;
|
|
562
631
|
}
|
|
632
|
+
/**
|
|
633
|
+
* 批量修改门店经营状态响应
|
|
634
|
+
*/
|
|
635
|
+
interface BatchUpdateBusinessStatus {
|
|
636
|
+
/** 是否成功 */
|
|
637
|
+
success: boolean;
|
|
638
|
+
/** 成功更新的门店ID列表 */
|
|
639
|
+
updatedStoreIds: string[];
|
|
640
|
+
/** 失败的门店列表 */
|
|
641
|
+
failedStores?: Array<{
|
|
642
|
+
/** 门店ID */
|
|
643
|
+
storeId: string;
|
|
644
|
+
/** 失败原因 */
|
|
645
|
+
reason: string;
|
|
646
|
+
}>;
|
|
647
|
+
}
|
|
563
648
|
/**
|
|
564
649
|
* 更新群直播时间响应
|
|
565
650
|
*/
|
|
566
|
-
interface
|
|
651
|
+
interface UpdateLiveTime {
|
|
567
652
|
/** 是否成功 */
|
|
568
653
|
success: boolean;
|
|
569
654
|
/** 直播时间 */
|
|
@@ -572,27 +657,27 @@ export declare namespace StoreService {
|
|
|
572
657
|
/**
|
|
573
658
|
* 门店继承响应
|
|
574
659
|
*/
|
|
575
|
-
interface
|
|
660
|
+
interface InheritStore {
|
|
576
661
|
/** 是否成功 */
|
|
577
662
|
success: boolean;
|
|
578
|
-
/**
|
|
663
|
+
/** 门店承接类型: UNCONFIGURED-未配置, OLD_STORE-老店期承接, NEW_CUSTOMER-拉新期承接, AFTER_LIVE-开播后承接 */
|
|
579
664
|
storeUndertakingType: string;
|
|
580
665
|
}
|
|
581
666
|
/**
|
|
582
667
|
* 获取门店详情响应
|
|
583
668
|
*/
|
|
584
|
-
interface
|
|
669
|
+
interface GetStoreDetail {
|
|
585
670
|
/** 门店完整信息 */
|
|
586
671
|
store: Entity.StoreFullInfo;
|
|
587
672
|
}
|
|
588
673
|
/**
|
|
589
674
|
* 批量获取门店信息响应
|
|
590
675
|
*/
|
|
591
|
-
interface
|
|
676
|
+
interface BatchGetStoreInfo {
|
|
592
677
|
/** 门店信息列表 */
|
|
593
678
|
stores: Array<{
|
|
594
679
|
/** 门店ID */
|
|
595
|
-
storeId:
|
|
680
|
+
storeId: string;
|
|
596
681
|
/** 门店基础信息(如果请求了该块) */
|
|
597
682
|
basicInfo?: Entity.StoreBasicInfo;
|
|
598
683
|
/** 门店结算信息(如果请求了该块) */
|
|
@@ -601,18 +686,22 @@ export declare namespace StoreService {
|
|
|
601
686
|
warehouseDelivery?: Entity.StoreWarehouseDelivery;
|
|
602
687
|
/** 门店分组信息(如果请求了该块) */
|
|
603
688
|
storeGroup?: Entity.StoreGroup;
|
|
689
|
+
/** 门店人员信息(如果请求了该块) */
|
|
690
|
+
storeUser?: Entity.StoreUser;
|
|
691
|
+
/** 门店统计数据(如果请求了该块) */
|
|
692
|
+
statistics?: Entity.StoreStatistics;
|
|
604
693
|
}>;
|
|
605
694
|
/** 未找到的门店ID列表 */
|
|
606
|
-
notFoundStoreIds?:
|
|
695
|
+
notFoundStoreIds?: string[];
|
|
607
696
|
}
|
|
608
697
|
/**
|
|
609
698
|
* 获取门店列表响应
|
|
610
699
|
*/
|
|
611
|
-
interface
|
|
700
|
+
interface GetStoreList {
|
|
612
701
|
/** 门店列表 */
|
|
613
702
|
stores: Array<{
|
|
614
703
|
/** 门店ID */
|
|
615
|
-
storeId:
|
|
704
|
+
storeId: string;
|
|
616
705
|
/** 门店基础信息(如果请求了该块) */
|
|
617
706
|
basicInfo?: Entity.StoreBasicInfo;
|
|
618
707
|
/** 门店结算信息(如果请求了该块) */
|
|
@@ -621,6 +710,10 @@ export declare namespace StoreService {
|
|
|
621
710
|
warehouseDelivery?: Entity.StoreWarehouseDelivery;
|
|
622
711
|
/** 门店分组信息(如果请求了该块) */
|
|
623
712
|
storeGroup?: Entity.StoreGroup;
|
|
713
|
+
/** 门店人员信息(如果请求了该块) */
|
|
714
|
+
storeUser?: Entity.StoreUser;
|
|
715
|
+
/** 门店统计数据(如果请求了该块) */
|
|
716
|
+
statistics?: Entity.StoreStatistics;
|
|
624
717
|
}>;
|
|
625
718
|
/** 总数 */
|
|
626
719
|
total: number;
|
|
@@ -630,46 +723,29 @@ export declare namespace StoreService {
|
|
|
630
723
|
pageSize: number;
|
|
631
724
|
}
|
|
632
725
|
/**
|
|
633
|
-
*
|
|
726
|
+
* 根据门店名称获取门店ID响应
|
|
634
727
|
*/
|
|
635
|
-
interface
|
|
636
|
-
/**
|
|
637
|
-
|
|
638
|
-
/** 成功更新的门店ID列表 */
|
|
639
|
-
updatedStoreIds: number[];
|
|
640
|
-
/** 失败的门店列表 */
|
|
641
|
-
failedStores?: Array<{
|
|
728
|
+
interface GetStoreIdByName {
|
|
729
|
+
/** 门店列表 */
|
|
730
|
+
stores: Array<{
|
|
642
731
|
/** 门店ID */
|
|
643
|
-
storeId:
|
|
644
|
-
/**
|
|
645
|
-
|
|
732
|
+
storeId: string;
|
|
733
|
+
/** 门店名称 */
|
|
734
|
+
storeName: string;
|
|
646
735
|
}>;
|
|
647
736
|
}
|
|
648
|
-
/**
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
interface createStoreGroup {
|
|
652
|
-
/** 分组ID */
|
|
737
|
+
/** 创建门店分组标签响应 */
|
|
738
|
+
interface CreateTag {
|
|
739
|
+
/** 标签ID */
|
|
653
740
|
tagId: string;
|
|
654
741
|
}
|
|
655
|
-
/**
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
interface editStoreGroup {
|
|
659
|
-
/** 是否成功 */
|
|
742
|
+
/** 使用门店分组标签打标响应 */
|
|
743
|
+
interface BatchTag {
|
|
744
|
+
/** 成功打标的数量 */
|
|
660
745
|
successCount: number;
|
|
661
746
|
}
|
|
662
|
-
/**
|
|
663
|
-
|
|
664
|
-
*/
|
|
665
|
-
interface deleteStoreGroup {
|
|
666
|
-
/** 是否成功 */
|
|
667
|
-
success: boolean;
|
|
668
|
-
}
|
|
669
|
-
/**
|
|
670
|
-
* 查询门店分组列表响应
|
|
671
|
-
*/
|
|
672
|
-
interface getStoreGroupList {
|
|
747
|
+
/** 查询门店分组列表响应 */
|
|
748
|
+
interface QueryStoreGroupList {
|
|
673
749
|
/** 标签列表 */
|
|
674
750
|
tags: Array<{
|
|
675
751
|
/** 标签ID */
|
|
@@ -694,10 +770,20 @@ export declare namespace StoreService {
|
|
|
694
770
|
/** 每页数量 */
|
|
695
771
|
pageSize: number;
|
|
696
772
|
}
|
|
697
|
-
/**
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
773
|
+
/** 根据门店IDs批量查标签响应 */
|
|
774
|
+
interface BatchQueryTagsByStores {
|
|
775
|
+
/** 门店标签列表 */
|
|
776
|
+
storeTagList: Array<{
|
|
777
|
+
/** 标签名称 */
|
|
778
|
+
tagName: string;
|
|
779
|
+
/** 门店ID */
|
|
780
|
+
storeId: string;
|
|
781
|
+
/** 门店名称 */
|
|
782
|
+
storeName: string;
|
|
783
|
+
}>;
|
|
784
|
+
}
|
|
785
|
+
/** 查询门店分组列表的标签响应 */
|
|
786
|
+
interface QueryTagsByGroup {
|
|
701
787
|
/** 标签列表 */
|
|
702
788
|
tags: Array<{
|
|
703
789
|
/** 标签ID */
|
|
@@ -710,11 +796,17 @@ export declare namespace StoreService {
|
|
|
710
796
|
createdAt: number;
|
|
711
797
|
}>;
|
|
712
798
|
}
|
|
713
|
-
|
|
799
|
+
/** 删除门店分组响应 */
|
|
800
|
+
interface DeleteStoreGroup {
|
|
801
|
+
/** 是否成功 */
|
|
802
|
+
success: boolean;
|
|
803
|
+
}
|
|
804
|
+
/** 根据标签ID查询标签下的所有门店响应 */
|
|
805
|
+
interface QueryStoresByTagId {
|
|
714
806
|
/** 门店列表 */
|
|
715
807
|
stores: Array<{
|
|
716
808
|
/** 门店ID */
|
|
717
|
-
id:
|
|
809
|
+
id: string;
|
|
718
810
|
/** 门店名称 */
|
|
719
811
|
storeName: string;
|
|
720
812
|
/** 省份 */
|
|
@@ -735,88 +827,128 @@ export declare namespace StoreService {
|
|
|
735
827
|
/**
|
|
736
828
|
* Store Controller 接口定义
|
|
737
829
|
*/
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
830
|
+
interface StoreController {
|
|
831
|
+
/**
|
|
832
|
+
* 创建门店
|
|
833
|
+
* @param request 请求参数
|
|
834
|
+
* @returns 响应数据
|
|
835
|
+
*/
|
|
836
|
+
createStore(request: StoreService.Request.CreateStore): Promise<StandardResponse<StoreService.Response.CreateStore>>;
|
|
837
|
+
/**
|
|
838
|
+
* 绑定店长
|
|
839
|
+
* @param request 请求参数
|
|
840
|
+
* @returns 响应数据
|
|
841
|
+
*/
|
|
842
|
+
bindStoreManager(request: StoreService.Request.BindStoreManager): Promise<StandardResponse<StoreService.Response.BindStoreManager>>;
|
|
843
|
+
/**
|
|
844
|
+
* 解绑店长
|
|
845
|
+
* @param request 请求参数
|
|
846
|
+
* @returns 响应数据
|
|
847
|
+
*/
|
|
848
|
+
unbindStoreManager(request: StoreService.Request.UnbindStoreManager): Promise<StandardResponse<StoreService.Response.UnbindStoreManager>>;
|
|
849
|
+
/**
|
|
850
|
+
* 绑定BD
|
|
851
|
+
* @param request 请求参数
|
|
852
|
+
* @returns 响应数据
|
|
853
|
+
*/
|
|
854
|
+
bindBD(request: StoreService.Request.BindBD): Promise<StandardResponse<StoreService.Response.BindBD>>;
|
|
855
|
+
/**
|
|
856
|
+
* 批量绑定BD
|
|
857
|
+
* @param request 请求参数
|
|
858
|
+
* @returns 响应数据
|
|
859
|
+
*/
|
|
860
|
+
batchBindBD(request: StoreService.Request.BatchBindBD): Promise<StandardResponse<StoreService.Response.BatchBindBD>>;
|
|
861
|
+
/**
|
|
862
|
+
* 解绑BD
|
|
863
|
+
* @param request 请求参数
|
|
864
|
+
* @returns 响应数据
|
|
865
|
+
*/
|
|
866
|
+
unbindBD(request: StoreService.Request.UnbindBD): Promise<StandardResponse<StoreService.Response.UnbindBD>>;
|
|
867
|
+
/**
|
|
868
|
+
* 批量解绑BD
|
|
869
|
+
* @param request 请求参数
|
|
870
|
+
* @returns 响应数据
|
|
871
|
+
*/
|
|
872
|
+
batchUnbindBD(request: StoreService.Request.BatchUnbindBD): Promise<StandardResponse<StoreService.Response.BatchUnbindBD>>;
|
|
873
|
+
/**
|
|
874
|
+
* 绑定加盟商
|
|
875
|
+
* @param request 请求参数
|
|
876
|
+
* @returns 响应数据
|
|
877
|
+
*/
|
|
878
|
+
bindFranchisee(request: StoreService.Request.BindFranchisee): Promise<StandardResponse<StoreService.Response.BindFranchisee>>;
|
|
879
|
+
/**
|
|
880
|
+
* 解绑加盟商
|
|
881
|
+
* @param request 请求参数
|
|
882
|
+
* @returns 响应数据
|
|
883
|
+
*/
|
|
884
|
+
unbindFranchisee(request: StoreService.Request.UnbindFranchisee): Promise<StandardResponse<StoreService.Response.UnbindFranchisee>>;
|
|
885
|
+
/**
|
|
886
|
+
* 编辑门店信息(手工录入字段)
|
|
887
|
+
* @param request 请求参数
|
|
888
|
+
* @returns 响应数据
|
|
889
|
+
*/
|
|
890
|
+
updateStoreInfo(request: StoreService.Request.UpdateStoreInfo): Promise<StandardResponse<StoreService.Response.UpdateStoreInfo>>;
|
|
891
|
+
/**
|
|
892
|
+
* 批量修改门店经营状态
|
|
893
|
+
* @param request 请求参数
|
|
894
|
+
* @returns 响应数据
|
|
895
|
+
*/
|
|
896
|
+
batchUpdateBusinessStatus(request: StoreService.Request.BatchUpdateBusinessStatus): Promise<StandardResponse<StoreService.Response.BatchUpdateBusinessStatus>>;
|
|
897
|
+
/**
|
|
898
|
+
* 更新群直播时间(系统同步)
|
|
899
|
+
* @param request 请求参数
|
|
900
|
+
* @returns 响应数据
|
|
901
|
+
*/
|
|
902
|
+
updateLiveTime(request: StoreService.Request.UpdateLiveTime): Promise<StandardResponse<StoreService.Response.UpdateLiveTime>>;
|
|
903
|
+
/**
|
|
904
|
+
* 门店继承(系统同步门店承接类型)
|
|
905
|
+
* @param request 请求参数
|
|
906
|
+
* @returns 响应数据
|
|
907
|
+
*/
|
|
908
|
+
inheritStore(request: StoreService.Request.InheritStore): Promise<StandardResponse<StoreService.Response.InheritStore>>;
|
|
909
|
+
/**
|
|
910
|
+
* 获取门店详情
|
|
911
|
+
* @param request 请求参数
|
|
912
|
+
* @returns 响应数据
|
|
913
|
+
*/
|
|
914
|
+
getStoreDetail(request: StoreService.Request.GetStoreDetail): Promise<StandardResponse<StoreService.Response.GetStoreDetail>>;
|
|
915
|
+
/**
|
|
916
|
+
* 批量获取门店信息
|
|
917
|
+
* @param request 请求参数
|
|
918
|
+
* @returns 响应数据
|
|
919
|
+
*/
|
|
920
|
+
batchGetStoreInfo(request: StoreService.Request.BatchGetStoreInfo): Promise<StandardResponse<StoreService.Response.BatchGetStoreInfo>>;
|
|
921
|
+
/**
|
|
922
|
+
* 获取门店列表
|
|
923
|
+
* @param request 请求参数
|
|
924
|
+
* @returns 响应数据
|
|
925
|
+
*/
|
|
926
|
+
getStoreList(request: StoreService.Request.GetStoreList): Promise<StandardResponse<StoreService.Response.GetStoreList>>;
|
|
927
|
+
/**
|
|
928
|
+
* 根据门店名称获取门店ID
|
|
929
|
+
* @param request 请求参数
|
|
930
|
+
* @returns 响应数据
|
|
931
|
+
*/
|
|
932
|
+
getStoreIdByName(request: StoreService.Request.GetStoreIdByName): Promise<StandardResponse<StoreService.Response.GetStoreIdByName>>;
|
|
933
|
+
/** 根据门店IDs批量查标签 */
|
|
934
|
+
batchQueryTagsByStores(request: StoreService.Request.BatchQueryTagsByStores): Promise<StoreService.Response.BatchQueryTagsByStores>;
|
|
935
|
+
/** 查询门店分组列表的标签 */
|
|
936
|
+
queryTagsByGroup(request: StoreService.Request.QueryTagsByGroup): Promise<StandardResponse<StoreService.Response.QueryTagsByGroup>>;
|
|
937
|
+
/** 删除门店分组 */
|
|
938
|
+
deleteStoreGroup(request: StoreService.Request.DeleteStoreGroup): Promise<StandardResponse<StoreService.Response.DeleteStoreGroup>>;
|
|
939
|
+
/** 根据标签ID查询标签下的所有门店 */
|
|
940
|
+
queryStoresByTagId(request: StoreService.Request.QueryStoresByTagId): Promise<StoreService.Response.QueryStoresByTagId>;
|
|
941
|
+
/** 创建门店分组标签 */
|
|
942
|
+
createStoreGroup(request: StoreService.Request.CreateTag): Promise<StoreService.Response.CreateTag>;
|
|
943
|
+
/** 使用门店分组标签打标 */
|
|
944
|
+
editStoreGroup(request: StoreService.Request.BatchTag): Promise<StoreService.Response.BatchTag>;
|
|
945
|
+
/** 查询门店分组列表 */
|
|
946
|
+
getStoreGroupList(request: StoreService.Request.QueryStoreGroupList): Promise<StoreService.Response.QueryStoreGroupList>;
|
|
947
|
+
/** 根据门店IDs批量查标签 */
|
|
948
|
+
batchQueryTagsByStores(request: StoreService.Request.BatchQueryTagsByStores): Promise<StoreService.Response.BatchQueryTagsByStores>;
|
|
949
|
+
/** 查询门店分组列表的标签 */
|
|
950
|
+
queryTagsByGroup(request: StoreService.Request.QueryTagsByGroup): Promise<StandardResponse<StoreService.Response.QueryTagsByGroup>>;
|
|
951
|
+
/** 删除门店分组 */
|
|
952
|
+
deleteStoreGroup(request: StoreService.Request.DeleteStoreGroup): Promise<StandardResponse<StoreService.Response.DeleteStoreGroup>>;
|
|
821
953
|
}
|
|
822
954
|
}
|