@be-link/ecommerce-backend-bff-service-node-sdk 0.0.53 → 0.0.55

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.
@@ -4,203 +4,332 @@ export declare namespace PandoraProductService {
4
4
  * 核销期限接口
5
5
  */
6
6
  interface VerifyPeriod {
7
+ /** 开始时间戳 */
7
8
  startDate: number;
9
+ /** 结束时间戳 */
8
10
  endDate: number;
11
+ /** 付款后天数 */
9
12
  payAfterDay: number;
13
+ /** 类型 1: 时间范围 2: 付款后天数 */
10
14
  type: number;
11
15
  }
12
16
  /**
13
17
  * 属性接口
14
18
  */
15
19
  interface Attr {
20
+ /** 属性名称 */
16
21
  attrName: string;
22
+ /** 属性值 */
17
23
  attrValue: string;
18
24
  }
19
25
  /**
20
26
  * 绑定的SKU接口
21
27
  */
22
28
  interface BindSku {
29
+ /** 商品ID */
23
30
  productId: string;
31
+ /** 绑定的子SKUID */
24
32
  skuId: string;
33
+ /** 数量 */
25
34
  quantity: number;
26
35
  }
27
36
  /**
28
37
  * 定时任务接口
29
38
  */
30
39
  interface ScheduledTask {
40
+ /** 任务ID */
31
41
  id?: string;
42
+ /** 定时任务时间戳 */
32
43
  scheduledTime: number;
44
+ /** 上下状态 */
33
45
  status: string;
34
46
  }
35
47
  /**
36
48
  * SKU项接口
37
49
  */
38
50
  interface SkuItem {
51
+ /** SKU ID(编辑/更新时传入) */
39
52
  skuId?: string;
53
+ /** 属性列表 */
40
54
  attrs: Attr[];
55
+ /** 价格(分) */
41
56
  price: number;
57
+ /** 划线价(分) */
42
58
  strikethroughPrice: number;
59
+ /** 采购价(分) */
43
60
  purchasePrice: number;
61
+ /** SKU编码 */
44
62
  skuCode: string;
63
+ /** 多SKU编码 */
45
64
  multiSkuCodes: string[];
65
+ /** 绑定的SKU列表 */
46
66
  bindSkus: BindSku[];
67
+ /** 库存 */
47
68
  stock: number;
69
+ /** 是否展示绑定子商品 1展示,0不展示 */
48
70
  showBindSkus: number;
49
71
  }
50
72
  /**
51
73
  * 产品信息接口
52
74
  */
53
75
  interface ProductInfo {
76
+ /** 商品ID(编辑/更新时传入) */
54
77
  productId?: string;
78
+ /** 产品类型 */
55
79
  productType: string;
80
+ /** 是否组合商品 */
56
81
  isCombo: number;
82
+ /** 商品名称 */
57
83
  productName: string;
84
+ /** 主图URL */
58
85
  mainImg: string;
86
+ /** 图片列表 */
59
87
  imgList: string[];
88
+ /** 商品描述 */
60
89
  productDesc?: string;
90
+ /** 一级分类ID */
61
91
  categoryId: string;
92
+ /** 二级分类ID */
62
93
  twoCategoryId: string;
94
+ /** 三级分类ID */
63
95
  threeCategoryId: string;
96
+ /** 提货方式 */
64
97
  pickType: string;
98
+ /** 发货方式 */
65
99
  dispatchType: string;
100
+ /** 存储方式 */
66
101
  storageMethod: string;
102
+ /** 商品分类 */
67
103
  classification: string;
104
+ /** 库存单位 */
68
105
  stockUnit: string;
106
+ /** 产品经理ID */
69
107
  productManagerId?: string;
108
+ /** 供应商ID */
70
109
  supplierId?: string;
110
+ /** 直播分组ID */
71
111
  liveGroupId?: string;
112
+ /** 上下架状态 */
72
113
  status?: string;
114
+ /** 是否需要核销 */
73
115
  needVerify?: number;
116
+ /** 核销期限 */
74
117
  verifyPeriod?: VerifyPeriod;
118
+ /** 起售数量 */
75
119
  miniSaleQuantity?: number;
120
+ /** 限购 */
76
121
  purchaseLimit?: number;
122
+ /** 运费模板版本类型 */
77
123
  freightType?: string;
78
124
  }
79
125
  interface ProductData {
126
+ /** 产品信息 */
80
127
  productInfo: ProductInfo;
128
+ /** SKU列表 */
81
129
  skuList: SkuItem[];
82
130
  }
83
131
  namespace Request {
84
132
  interface detail {
133
+ /** 商品Id */
85
134
  productId: string;
86
135
  }
87
136
  interface list {
137
+ /** 0 开始 */
88
138
  pageIndex: number;
139
+ /** 每页数量 */
89
140
  pageSize: number;
141
+ /** 商品Id */
90
142
  productIds?: string[];
143
+ /** 商品名称 */
91
144
  productNames?: string[];
145
+ /** 商品分类 */
92
146
  classifications?: string[];
147
+ /** 存储方式 */
93
148
  storageMethods?: string[];
149
+ /** 配货方式 */
94
150
  dispatchTypes?: string[];
151
+ /** 供应商Id */
95
152
  supplierIds?: string[];
153
+ /** 直播分组ID */
96
154
  liveGroupIds?: string[];
155
+ /** 产品经理ID */
97
156
  productManagerIds?: string[];
157
+ /** 商品类型 */
98
158
  productType?: string;
159
+ /** 上下架状态 */
99
160
  status?: string;
161
+ /** 是否套餐 */
100
162
  isCombo?: number;
163
+ /** 69码列表 */
101
164
  skuCodes?: string[];
102
165
  }
103
166
  interface batchUpdate {
167
+ /** 商品Id列表 */
104
168
  productIds: string[];
169
+ /** 上下架状态 */
105
170
  status?: string;
171
+ /** 定时上下架任务 */
106
172
  scheduledTasks?: ScheduledTask[];
173
+ /** 商品分类 */
107
174
  classification?: string;
175
+ /** 存储方式 */
108
176
  storageMethod?: string;
177
+ /** 配货方式 */
109
178
  dispatchType?: string;
179
+ /** 直播分组ID */
110
180
  liveGroupId?: string;
181
+ /** 是否删除 */
111
182
  isDelete?: boolean;
112
183
  }
113
184
  interface queryScheduledTask {
185
+ /** 商品Id */
114
186
  productId: string;
115
187
  }
116
188
  interface checkSkuCode {
189
+ /** 商品Id */
117
190
  productId?: string;
191
+ /** SKU ID(更新已有SKU时传入,排除自身) */
118
192
  skuId?: string;
193
+ /** SKU编码 */
119
194
  skuCode: string;
120
195
  }
121
196
  interface queryProductList {
197
+ /** 0 开始 */
122
198
  pageIndex: number;
199
+ /** 页码数量 */
123
200
  pageSize: number;
201
+ /** 商品Id列表 */
124
202
  productIds?: string[];
203
+ /** 商品名称列表 */
125
204
  productNames?: string[];
205
+ /** 69码列表 */
126
206
  skuCodes?: string[];
207
+ /** 是否套餐 */
127
208
  isCombo?: number;
209
+ /** 提货方式 */
128
210
  pickTypes?: string[];
211
+ /** 配货方式 */
129
212
  dispatchTypes?: string[];
213
+ /** 存储方式 */
130
214
  storageMethods?: string[];
215
+ /** 商品分类 */
131
216
  classifications?: string[];
217
+ /** 上下架状态 */
132
218
  status?: string;
133
219
  }
134
220
  interface productQrCode {
221
+ /** 路径 */
135
222
  path: string;
136
223
  }
137
224
  interface deleteScheduledTask {
225
+ /** 任务ID */
138
226
  taskId: string;
139
227
  }
140
228
  }
141
229
  namespace Response {
142
230
  interface create {
231
+ /** 商品Id */
143
232
  productId: string;
144
233
  }
145
234
  interface queryScheduledTask {
235
+ /** 任务ID */
146
236
  id: string;
237
+ /** 定时任务时间戳 */
147
238
  scheduledTime: number;
239
+ /** 任务状态 */
148
240
  status: string;
241
+ /** 操作类型 上下架 */
149
242
  operationType: string;
150
243
  }
151
244
  interface list {
152
245
  total: number;
153
246
  list: {
247
+ /** 商品ID */
154
248
  productId: string;
249
+ /** 商品名称 */
155
250
  productName: string;
251
+ /** 商品图片 */
156
252
  productImage: string;
253
+ /** 分类名称 */
157
254
  cateName: string;
255
+ /** 商品分类 */
158
256
  classification: string;
257
+ /** 存储方式 */
159
258
  storageMethod: string;
259
+ /** 配货方式 */
160
260
  dispatchType: string;
261
+ /** 销售数量 */
161
262
  salesQuantity: number;
263
+ /** 退货数量 */
162
264
  refundQuantity: number;
265
+ /** 价格 */
163
266
  price: number;
267
+ /** 库存 */
164
268
  stock: number;
269
+ /** 上下架状态 */
165
270
  status: string;
271
+ /** 创建时间 */
166
272
  createdAt: number;
167
273
  }[];
168
274
  }
169
275
  interface checkSkuCode {
276
+ /** 是否可用 */
170
277
  enable: boolean;
171
278
  }
172
279
  interface queryProductList {
173
280
  total: number;
174
281
  list: {
282
+ /** 商品ID */
175
283
  productId: string;
284
+ /** 商品名称 */
176
285
  productName: string;
286
+ /** 商品图片 */
177
287
  productImage: string;
288
+ /** 商品分类 */
178
289
  classification: string;
290
+ /** 存储方式 */
179
291
  storageMethod: string;
292
+ /** 配货方式 */
180
293
  dispatchType: string;
294
+ /** 价格 */
181
295
  price: number;
296
+ /** 库存 */
182
297
  stock: number;
298
+ /** 上下架状态 */
183
299
  status: string;
184
300
  }[];
185
301
  }
186
302
  interface queryProductSkuList {
187
303
  total: number;
188
304
  list: {
305
+ /** 商品ID */
189
306
  productId: string;
307
+ /** 商品名称 */
190
308
  productName: string;
309
+ /** 商品图片 */
191
310
  productImage: string;
311
+ /** 商品分类 */
192
312
  classification: string;
313
+ /** 存储方式 */
193
314
  storageMethod: string;
315
+ /** 配货方式 */
194
316
  dispatchType: string;
317
+ /** 价格 */
195
318
  price: number;
319
+ /** 库存 */
196
320
  stock: number;
321
+ /** 上下架状态 */
197
322
  status: string;
323
+ /** SKU ID */
198
324
  skuId: string;
325
+ /** 属性列表 */
199
326
  attrs: Attr[];
327
+ /** SKU编码 */
200
328
  skuCode: string;
201
329
  }[];
202
330
  }
203
331
  interface productQrCode {
332
+ /** 二维码URL */
204
333
  qrCodeUrl: string;
205
334
  }
206
335
  }
@@ -1,78 +1,111 @@
1
1
  import { StandardResponse } from '../../../../types';
2
2
  export declare namespace PandoraProductExpService {
3
3
  interface ProductCategory {
4
+ /** 分类ID */
4
5
  id: string;
6
+ /** 父级ID */
5
7
  parentId: string;
8
+ /** 层级 */
6
9
  level: number;
10
+ /** 分类名称 */
7
11
  categoryName: string;
8
12
  }
9
13
  namespace Request {
10
14
  interface getSupplierList {
15
+ /** 页码,0开始 */
11
16
  pageIndex: number;
17
+ /** 每页数量 */
12
18
  pageSize: number;
19
+ /** 供应商名称,模糊匹配 */
13
20
  supplierName?: string;
14
21
  }
15
22
  interface addSupplier {
23
+ /** 供应商名称 */
16
24
  supplierName: string;
17
25
  }
18
26
  interface getLiveGroupList {
27
+ /** 页码,0开始 */
19
28
  pageIndex: number;
29
+ /** 每页数量 */
20
30
  pageSize: number;
31
+ /** 直播分组名称,模糊匹配 */
21
32
  liveGroupName?: string;
22
33
  }
23
34
  interface addLiveGroup {
35
+ /** 直播分组名称 */
24
36
  liveGroupName: string;
25
37
  }
26
38
  interface productCategoryList {
39
+ /** 分类层级 */
27
40
  level: number;
41
+ /** 父分类ID */
28
42
  parentId?: string;
29
43
  }
30
44
  interface setStoreScope {
45
+ /** 商品Id */
31
46
  productId: string;
47
+ /** 类型 VISIBLE | INVISIBLE */
32
48
  type: string;
49
+ /** 门店Id列表 */
33
50
  storeIds: string[];
34
51
  }
35
52
  interface queryStoreScope {
53
+ /** 商品Id */
36
54
  productId: string;
37
55
  }
38
56
  }
39
57
  namespace Response {
40
58
  interface addSupplier {
59
+ /** 供应商Id */
41
60
  supplierId: string;
42
61
  }
43
62
  interface getSupplierList {
44
63
  total: number;
45
64
  list: {
65
+ /** 供应商Id */
46
66
  supplierId: string;
67
+ /** 供应商名称 */
47
68
  supplierName: string;
48
69
  }[];
49
70
  }
50
71
  interface addLiveGroup {
72
+ /** 直播分组Id */
51
73
  liveGroupId: string;
52
74
  }
53
75
  interface getLiveGroupList {
54
76
  total: number;
55
77
  list: {
78
+ /** 直播分组Id */
56
79
  liveGroupId: string;
80
+ /** 直播分组名称 */
57
81
  liveGroupName: string;
58
82
  }[];
59
83
  }
60
84
  interface list {
61
85
  total: number;
62
86
  list: {
87
+ /** 商品ID */
63
88
  productId: string;
89
+ /** 商品名称 */
64
90
  productName: string;
91
+ /** 商品图片 */
65
92
  productImage: string;
93
+ /** 价格 */
66
94
  price: number;
95
+ /** 库存 */
67
96
  stock: number;
68
97
  }[];
69
98
  }
70
99
  interface getProductManagerList {
100
+ /** 产品经理ID */
71
101
  productManagerId: string;
102
+ /** 产品经理名称 */
72
103
  productManagerName: string;
73
104
  }
74
105
  interface queryStoreScope {
106
+ /** 类型 VISIBLE | INVISIBLE */
75
107
  type: string;
108
+ /** 门店Id列表 */
76
109
  storeIds: string[];
77
110
  }
78
111
  }
@@ -2,12 +2,17 @@ import { StandardResponse } from '../../../../types';
2
2
  export declare namespace PandoraProductLiveService {
3
3
  namespace Request {
4
4
  interface list {
5
+ /** 0 开始 */
5
6
  pageIndex: number;
7
+ /** 每页数量 */
6
8
  pageSize: number;
9
+ /** 直播间ID */
7
10
  liveRoomId: string;
8
11
  }
9
12
  interface operate {
13
+ /** 商品ID */
10
14
  productId: string;
15
+ /** 直播间ID */
11
16
  liveRoomId: string;
12
17
  }
13
18
  }
@@ -15,10 +20,15 @@ export declare namespace PandoraProductLiveService {
15
20
  interface list {
16
21
  total: number;
17
22
  list: {
23
+ /** 商品ID */
18
24
  productId: string;
25
+ /** 商品名称 */
19
26
  productName: string;
27
+ /** 商品图片 */
20
28
  productImage: string;
29
+ /** 价格 */
21
30
  price: number;
31
+ /** 库存 */
22
32
  stock: number;
23
33
  }[];
24
34
  }
@@ -56,4 +56,10 @@ export declare class PandoraRoomService extends BaseService implements Service.B
56
56
  * @returns Promise,解析为标准响应格式
57
57
  */
58
58
  bindStore(request: Service.Request.BindStore): Promise<StandardResponse<void>>;
59
+ /**
60
+ * 根据门店绑定关系查询直播间列表
61
+ * @param request - 请求参数
62
+ * @returns Promise,解析为标准响应格式
63
+ */
64
+ listByStoreBind(request: Service.Request.ListByStoreBind): Promise<StandardResponse<Service.Response.ListByStoreBind>>;
59
65
  }
@@ -79,5 +79,13 @@ class PandoraRoomService extends BaseService_1.default {
79
79
  bindStore(request) {
80
80
  return this.request(this.bindStore, request);
81
81
  }
82
+ /**
83
+ * 根据门店绑定关系查询直播间列表
84
+ * @param request - 请求参数
85
+ * @returns Promise,解析为标准响应格式
86
+ */
87
+ listByStoreBind(request) {
88
+ return this.request(this.listByStoreBind, request);
89
+ }
82
90
  }
83
91
  exports.PandoraRoomService = PandoraRoomService;
@@ -80,6 +80,17 @@ export declare namespace RoomService {
80
80
  /** 门店ID列表 */
81
81
  bind: string[];
82
82
  }
83
+ /**
84
+ * 根据门店绑定关系查询直播间列表
85
+ */
86
+ interface ListByStoreBind {
87
+ /** 门店ID */
88
+ storeId: string;
89
+ /** 页码,从0开始 */
90
+ pageIndex: number;
91
+ /** 每页数量,默认20,最大100 */
92
+ pageSize?: number;
93
+ }
83
94
  }
84
95
  namespace Response {
85
96
  /**
@@ -134,6 +145,13 @@ export declare namespace RoomService {
134
145
  /** 门店总数 */
135
146
  total: number;
136
147
  }
148
+ /**
149
+ * 根据门店绑定关系查询直播间列表响应
150
+ */
151
+ interface ListByStoreBind {
152
+ list: Room[];
153
+ total: number;
154
+ }
137
155
  }
138
156
  interface BaseController {
139
157
  list(request: Request.List): Promise<StandardResponse<Response.List>>;
@@ -144,6 +162,7 @@ export declare namespace RoomService {
144
162
  roomStatus(request: Request.RoomStatus): Promise<StandardResponse<Response.RoomStatus>>;
145
163
  getBindStore(request: Request.GetBindStore): Promise<StandardResponse<Response.GetBindStore>>;
146
164
  bindStore(request: Request.BindStore): Promise<StandardResponse<void>>;
165
+ listByStoreBind(request: Request.ListByStoreBind): Promise<StandardResponse<Response.ListByStoreBind>>;
147
166
  }
148
167
  }
149
168
  /**
@@ -4,203 +4,332 @@ export declare namespace PandoraProductService {
4
4
  * 核销期限接口
5
5
  */
6
6
  interface VerifyPeriod {
7
+ /** 开始时间戳 */
7
8
  startDate: number;
9
+ /** 结束时间戳 */
8
10
  endDate: number;
11
+ /** 付款后天数 */
9
12
  payAfterDay: number;
13
+ /** 类型 1: 时间范围 2: 付款后天数 */
10
14
  type: number;
11
15
  }
12
16
  /**
13
17
  * 属性接口
14
18
  */
15
19
  interface Attr {
20
+ /** 属性名称 */
16
21
  attrName: string;
22
+ /** 属性值 */
17
23
  attrValue: string;
18
24
  }
19
25
  /**
20
26
  * 绑定的SKU接口
21
27
  */
22
28
  interface BindSku {
29
+ /** 商品ID */
23
30
  productId: string;
31
+ /** 绑定的子SKUID */
24
32
  skuId: string;
33
+ /** 数量 */
25
34
  quantity: number;
26
35
  }
27
36
  /**
28
37
  * 定时任务接口
29
38
  */
30
39
  interface ScheduledTask {
40
+ /** 任务ID */
31
41
  id?: string;
42
+ /** 定时任务时间戳 */
32
43
  scheduledTime: number;
44
+ /** 上下状态 */
33
45
  status: string;
34
46
  }
35
47
  /**
36
48
  * SKU项接口
37
49
  */
38
50
  interface SkuItem {
51
+ /** SKU ID(编辑/更新时传入) */
39
52
  skuId?: string;
53
+ /** 属性列表 */
40
54
  attrs: Attr[];
55
+ /** 价格(分) */
41
56
  price: number;
57
+ /** 划线价(分) */
42
58
  strikethroughPrice: number;
59
+ /** 采购价(分) */
43
60
  purchasePrice: number;
61
+ /** SKU编码 */
44
62
  skuCode: string;
63
+ /** 多SKU编码 */
45
64
  multiSkuCodes: string[];
65
+ /** 绑定的SKU列表 */
46
66
  bindSkus: BindSku[];
67
+ /** 库存 */
47
68
  stock: number;
69
+ /** 是否展示绑定子商品 1展示,0不展示 */
48
70
  showBindSkus: number;
49
71
  }
50
72
  /**
51
73
  * 产品信息接口
52
74
  */
53
75
  interface ProductInfo {
76
+ /** 商品ID(编辑/更新时传入) */
54
77
  productId?: string;
78
+ /** 产品类型 */
55
79
  productType: string;
80
+ /** 是否组合商品 */
56
81
  isCombo: number;
82
+ /** 商品名称 */
57
83
  productName: string;
84
+ /** 主图URL */
58
85
  mainImg: string;
86
+ /** 图片列表 */
59
87
  imgList: string[];
88
+ /** 商品描述 */
60
89
  productDesc?: string;
90
+ /** 一级分类ID */
61
91
  categoryId: string;
92
+ /** 二级分类ID */
62
93
  twoCategoryId: string;
94
+ /** 三级分类ID */
63
95
  threeCategoryId: string;
96
+ /** 提货方式 */
64
97
  pickType: string;
98
+ /** 发货方式 */
65
99
  dispatchType: string;
100
+ /** 存储方式 */
66
101
  storageMethod: string;
102
+ /** 商品分类 */
67
103
  classification: string;
104
+ /** 库存单位 */
68
105
  stockUnit: string;
106
+ /** 产品经理ID */
69
107
  productManagerId?: string;
108
+ /** 供应商ID */
70
109
  supplierId?: string;
110
+ /** 直播分组ID */
71
111
  liveGroupId?: string;
112
+ /** 上下架状态 */
72
113
  status?: string;
114
+ /** 是否需要核销 */
73
115
  needVerify?: number;
116
+ /** 核销期限 */
74
117
  verifyPeriod?: VerifyPeriod;
118
+ /** 起售数量 */
75
119
  miniSaleQuantity?: number;
120
+ /** 限购 */
76
121
  purchaseLimit?: number;
122
+ /** 运费模板版本类型 */
77
123
  freightType?: string;
78
124
  }
79
125
  interface ProductData {
126
+ /** 产品信息 */
80
127
  productInfo: ProductInfo;
128
+ /** SKU列表 */
81
129
  skuList: SkuItem[];
82
130
  }
83
131
  namespace Request {
84
132
  interface detail {
133
+ /** 商品Id */
85
134
  productId: string;
86
135
  }
87
136
  interface list {
137
+ /** 0 开始 */
88
138
  pageIndex: number;
139
+ /** 每页数量 */
89
140
  pageSize: number;
141
+ /** 商品Id */
90
142
  productIds?: string[];
143
+ /** 商品名称 */
91
144
  productNames?: string[];
145
+ /** 商品分类 */
92
146
  classifications?: string[];
147
+ /** 存储方式 */
93
148
  storageMethods?: string[];
149
+ /** 配货方式 */
94
150
  dispatchTypes?: string[];
151
+ /** 供应商Id */
95
152
  supplierIds?: string[];
153
+ /** 直播分组ID */
96
154
  liveGroupIds?: string[];
155
+ /** 产品经理ID */
97
156
  productManagerIds?: string[];
157
+ /** 商品类型 */
98
158
  productType?: string;
159
+ /** 上下架状态 */
99
160
  status?: string;
161
+ /** 是否套餐 */
100
162
  isCombo?: number;
163
+ /** 69码列表 */
101
164
  skuCodes?: string[];
102
165
  }
103
166
  interface batchUpdate {
167
+ /** 商品Id列表 */
104
168
  productIds: string[];
169
+ /** 上下架状态 */
105
170
  status?: string;
171
+ /** 定时上下架任务 */
106
172
  scheduledTasks?: ScheduledTask[];
173
+ /** 商品分类 */
107
174
  classification?: string;
175
+ /** 存储方式 */
108
176
  storageMethod?: string;
177
+ /** 配货方式 */
109
178
  dispatchType?: string;
179
+ /** 直播分组ID */
110
180
  liveGroupId?: string;
181
+ /** 是否删除 */
111
182
  isDelete?: boolean;
112
183
  }
113
184
  interface queryScheduledTask {
185
+ /** 商品Id */
114
186
  productId: string;
115
187
  }
116
188
  interface checkSkuCode {
189
+ /** 商品Id */
117
190
  productId?: string;
191
+ /** SKU ID(更新已有SKU时传入,排除自身) */
118
192
  skuId?: string;
193
+ /** SKU编码 */
119
194
  skuCode: string;
120
195
  }
121
196
  interface queryProductList {
197
+ /** 0 开始 */
122
198
  pageIndex: number;
199
+ /** 页码数量 */
123
200
  pageSize: number;
201
+ /** 商品Id列表 */
124
202
  productIds?: string[];
203
+ /** 商品名称列表 */
125
204
  productNames?: string[];
205
+ /** 69码列表 */
126
206
  skuCodes?: string[];
207
+ /** 是否套餐 */
127
208
  isCombo?: number;
209
+ /** 提货方式 */
128
210
  pickTypes?: string[];
211
+ /** 配货方式 */
129
212
  dispatchTypes?: string[];
213
+ /** 存储方式 */
130
214
  storageMethods?: string[];
215
+ /** 商品分类 */
131
216
  classifications?: string[];
217
+ /** 上下架状态 */
132
218
  status?: string;
133
219
  }
134
220
  interface productQrCode {
221
+ /** 路径 */
135
222
  path: string;
136
223
  }
137
224
  interface deleteScheduledTask {
225
+ /** 任务ID */
138
226
  taskId: string;
139
227
  }
140
228
  }
141
229
  namespace Response {
142
230
  interface create {
231
+ /** 商品Id */
143
232
  productId: string;
144
233
  }
145
234
  interface queryScheduledTask {
235
+ /** 任务ID */
146
236
  id: string;
237
+ /** 定时任务时间戳 */
147
238
  scheduledTime: number;
239
+ /** 任务状态 */
148
240
  status: string;
241
+ /** 操作类型 上下架 */
149
242
  operationType: string;
150
243
  }
151
244
  interface list {
152
245
  total: number;
153
246
  list: {
247
+ /** 商品ID */
154
248
  productId: string;
249
+ /** 商品名称 */
155
250
  productName: string;
251
+ /** 商品图片 */
156
252
  productImage: string;
253
+ /** 分类名称 */
157
254
  cateName: string;
255
+ /** 商品分类 */
158
256
  classification: string;
257
+ /** 存储方式 */
159
258
  storageMethod: string;
259
+ /** 配货方式 */
160
260
  dispatchType: string;
261
+ /** 销售数量 */
161
262
  salesQuantity: number;
263
+ /** 退货数量 */
162
264
  refundQuantity: number;
265
+ /** 价格 */
163
266
  price: number;
267
+ /** 库存 */
164
268
  stock: number;
269
+ /** 上下架状态 */
165
270
  status: string;
271
+ /** 创建时间 */
166
272
  createdAt: number;
167
273
  }[];
168
274
  }
169
275
  interface checkSkuCode {
276
+ /** 是否可用 */
170
277
  enable: boolean;
171
278
  }
172
279
  interface queryProductList {
173
280
  total: number;
174
281
  list: {
282
+ /** 商品ID */
175
283
  productId: string;
284
+ /** 商品名称 */
176
285
  productName: string;
286
+ /** 商品图片 */
177
287
  productImage: string;
288
+ /** 商品分类 */
178
289
  classification: string;
290
+ /** 存储方式 */
179
291
  storageMethod: string;
292
+ /** 配货方式 */
180
293
  dispatchType: string;
294
+ /** 价格 */
181
295
  price: number;
296
+ /** 库存 */
182
297
  stock: number;
298
+ /** 上下架状态 */
183
299
  status: string;
184
300
  }[];
185
301
  }
186
302
  interface queryProductSkuList {
187
303
  total: number;
188
304
  list: {
305
+ /** 商品ID */
189
306
  productId: string;
307
+ /** 商品名称 */
190
308
  productName: string;
309
+ /** 商品图片 */
191
310
  productImage: string;
311
+ /** 商品分类 */
192
312
  classification: string;
313
+ /** 存储方式 */
193
314
  storageMethod: string;
315
+ /** 配货方式 */
194
316
  dispatchType: string;
317
+ /** 价格 */
195
318
  price: number;
319
+ /** 库存 */
196
320
  stock: number;
321
+ /** 上下架状态 */
197
322
  status: string;
323
+ /** SKU ID */
198
324
  skuId: string;
325
+ /** 属性列表 */
199
326
  attrs: Attr[];
327
+ /** SKU编码 */
200
328
  skuCode: string;
201
329
  }[];
202
330
  }
203
331
  interface productQrCode {
332
+ /** 二维码URL */
204
333
  qrCodeUrl: string;
205
334
  }
206
335
  }
@@ -1,78 +1,111 @@
1
1
  import { StandardResponse } from '../../../../types';
2
2
  export declare namespace PandoraProductExpService {
3
3
  interface ProductCategory {
4
+ /** 分类ID */
4
5
  id: string;
6
+ /** 父级ID */
5
7
  parentId: string;
8
+ /** 层级 */
6
9
  level: number;
10
+ /** 分类名称 */
7
11
  categoryName: string;
8
12
  }
9
13
  namespace Request {
10
14
  interface getSupplierList {
15
+ /** 页码,0开始 */
11
16
  pageIndex: number;
17
+ /** 每页数量 */
12
18
  pageSize: number;
19
+ /** 供应商名称,模糊匹配 */
13
20
  supplierName?: string;
14
21
  }
15
22
  interface addSupplier {
23
+ /** 供应商名称 */
16
24
  supplierName: string;
17
25
  }
18
26
  interface getLiveGroupList {
27
+ /** 页码,0开始 */
19
28
  pageIndex: number;
29
+ /** 每页数量 */
20
30
  pageSize: number;
31
+ /** 直播分组名称,模糊匹配 */
21
32
  liveGroupName?: string;
22
33
  }
23
34
  interface addLiveGroup {
35
+ /** 直播分组名称 */
24
36
  liveGroupName: string;
25
37
  }
26
38
  interface productCategoryList {
39
+ /** 分类层级 */
27
40
  level: number;
41
+ /** 父分类ID */
28
42
  parentId?: string;
29
43
  }
30
44
  interface setStoreScope {
45
+ /** 商品Id */
31
46
  productId: string;
47
+ /** 类型 VISIBLE | INVISIBLE */
32
48
  type: string;
49
+ /** 门店Id列表 */
33
50
  storeIds: string[];
34
51
  }
35
52
  interface queryStoreScope {
53
+ /** 商品Id */
36
54
  productId: string;
37
55
  }
38
56
  }
39
57
  namespace Response {
40
58
  interface addSupplier {
59
+ /** 供应商Id */
41
60
  supplierId: string;
42
61
  }
43
62
  interface getSupplierList {
44
63
  total: number;
45
64
  list: {
65
+ /** 供应商Id */
46
66
  supplierId: string;
67
+ /** 供应商名称 */
47
68
  supplierName: string;
48
69
  }[];
49
70
  }
50
71
  interface addLiveGroup {
72
+ /** 直播分组Id */
51
73
  liveGroupId: string;
52
74
  }
53
75
  interface getLiveGroupList {
54
76
  total: number;
55
77
  list: {
78
+ /** 直播分组Id */
56
79
  liveGroupId: string;
80
+ /** 直播分组名称 */
57
81
  liveGroupName: string;
58
82
  }[];
59
83
  }
60
84
  interface list {
61
85
  total: number;
62
86
  list: {
87
+ /** 商品ID */
63
88
  productId: string;
89
+ /** 商品名称 */
64
90
  productName: string;
91
+ /** 商品图片 */
65
92
  productImage: string;
93
+ /** 价格 */
66
94
  price: number;
95
+ /** 库存 */
67
96
  stock: number;
68
97
  }[];
69
98
  }
70
99
  interface getProductManagerList {
100
+ /** 产品经理ID */
71
101
  productManagerId: string;
102
+ /** 产品经理名称 */
72
103
  productManagerName: string;
73
104
  }
74
105
  interface queryStoreScope {
106
+ /** 类型 VISIBLE | INVISIBLE */
75
107
  type: string;
108
+ /** 门店Id列表 */
76
109
  storeIds: string[];
77
110
  }
78
111
  }
@@ -2,12 +2,17 @@ import { StandardResponse } from '../../../../types';
2
2
  export declare namespace PandoraProductLiveService {
3
3
  namespace Request {
4
4
  interface list {
5
+ /** 0 开始 */
5
6
  pageIndex: number;
7
+ /** 每页数量 */
6
8
  pageSize: number;
9
+ /** 直播间ID */
7
10
  liveRoomId: string;
8
11
  }
9
12
  interface operate {
13
+ /** 商品ID */
10
14
  productId: string;
15
+ /** 直播间ID */
11
16
  liveRoomId: string;
12
17
  }
13
18
  }
@@ -15,10 +20,15 @@ export declare namespace PandoraProductLiveService {
15
20
  interface list {
16
21
  total: number;
17
22
  list: {
23
+ /** 商品ID */
18
24
  productId: string;
25
+ /** 商品名称 */
19
26
  productName: string;
27
+ /** 商品图片 */
20
28
  productImage: string;
29
+ /** 价格 */
21
30
  price: number;
31
+ /** 库存 */
22
32
  stock: number;
23
33
  }[];
24
34
  }
@@ -56,4 +56,10 @@ export declare class PandoraRoomService extends BaseService implements Service.B
56
56
  * @returns Promise,解析为标准响应格式
57
57
  */
58
58
  bindStore(request: Service.Request.BindStore): Promise<StandardResponse<void>>;
59
+ /**
60
+ * 根据门店绑定关系查询直播间列表
61
+ * @param request - 请求参数
62
+ * @returns Promise,解析为标准响应格式
63
+ */
64
+ listByStoreBind(request: Service.Request.ListByStoreBind): Promise<StandardResponse<Service.Response.ListByStoreBind>>;
59
65
  }
@@ -73,4 +73,12 @@ export class PandoraRoomService extends BaseService {
73
73
  bindStore(request) {
74
74
  return this.request(this.bindStore, request);
75
75
  }
76
+ /**
77
+ * 根据门店绑定关系查询直播间列表
78
+ * @param request - 请求参数
79
+ * @returns Promise,解析为标准响应格式
80
+ */
81
+ listByStoreBind(request) {
82
+ return this.request(this.listByStoreBind, request);
83
+ }
76
84
  }
@@ -80,6 +80,17 @@ export declare namespace RoomService {
80
80
  /** 门店ID列表 */
81
81
  bind: string[];
82
82
  }
83
+ /**
84
+ * 根据门店绑定关系查询直播间列表
85
+ */
86
+ interface ListByStoreBind {
87
+ /** 门店ID */
88
+ storeId: string;
89
+ /** 页码,从0开始 */
90
+ pageIndex: number;
91
+ /** 每页数量,默认20,最大100 */
92
+ pageSize?: number;
93
+ }
83
94
  }
84
95
  namespace Response {
85
96
  /**
@@ -134,6 +145,13 @@ export declare namespace RoomService {
134
145
  /** 门店总数 */
135
146
  total: number;
136
147
  }
148
+ /**
149
+ * 根据门店绑定关系查询直播间列表响应
150
+ */
151
+ interface ListByStoreBind {
152
+ list: Room[];
153
+ total: number;
154
+ }
137
155
  }
138
156
  interface BaseController {
139
157
  list(request: Request.List): Promise<StandardResponse<Response.List>>;
@@ -144,6 +162,7 @@ export declare namespace RoomService {
144
162
  roomStatus(request: Request.RoomStatus): Promise<StandardResponse<Response.RoomStatus>>;
145
163
  getBindStore(request: Request.GetBindStore): Promise<StandardResponse<Response.GetBindStore>>;
146
164
  bindStore(request: Request.BindStore): Promise<StandardResponse<void>>;
165
+ listByStoreBind(request: Request.ListByStoreBind): Promise<StandardResponse<Response.ListByStoreBind>>;
147
166
  }
148
167
  }
149
168
  /**
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.53",
3
+ "version": "0.0.55",
4
4
  "description": "EcommerceBackendBffService Node.js SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./cjs/index.js",
@@ -24,11 +24,6 @@
24
24
  "access": "public"
25
25
  },
26
26
  "dependencies": {
27
- "@be-link/ecommerce-volcengine-open-api-sdk": "^1.0.11",
28
- "@be-link/ecommerce-client-backend-service-node-sdk": "^0.0.7",
29
- "@be-link/ecommerce-tag-service-node-sdk": "^0.0.10",
30
- "@be-link/ecommerce-product-service-node-sdk": "^0.0.14",
31
- "@be-link/ecommerce-store-service-node-sdk": "^0.0.12",
32
27
  "axios": "1.13.2"
33
28
  },
34
29
  "devDependencies": {