@be-link/ecommerce-backend-bff-service-node-sdk 0.0.60 → 0.0.62
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.
|
@@ -55,7 +55,7 @@ export declare class PandoraProductService extends BaseService implements Servic
|
|
|
55
55
|
* @param request - 请求参数
|
|
56
56
|
* @returns Promise,解析为标准响应格式
|
|
57
57
|
*/
|
|
58
|
-
export(request: Service.Request.list): Promise<StandardResponse<
|
|
58
|
+
export(request: Service.Request.list): Promise<StandardResponse<Service.Response.productDetail>>;
|
|
59
59
|
/**
|
|
60
60
|
* 获取商品信息(不含规格信息)
|
|
61
61
|
* @param request - 请求参数
|
|
@@ -1,17 +1,43 @@
|
|
|
1
1
|
import { StandardResponse } from '../../../../types';
|
|
2
2
|
export declare namespace PandoraProductService {
|
|
3
|
+
/** 商品明细项 */
|
|
4
|
+
interface ProductDetailItem {
|
|
5
|
+
商品ID: string;
|
|
6
|
+
商品名称: string;
|
|
7
|
+
一级类目: string;
|
|
8
|
+
二级类目: string;
|
|
9
|
+
三级类目: string;
|
|
10
|
+
商品分类: string;
|
|
11
|
+
储存方式: string;
|
|
12
|
+
取货方式: string;
|
|
13
|
+
配送方式: string;
|
|
14
|
+
供应商: string;
|
|
15
|
+
产品经理: string;
|
|
16
|
+
直播分组: string;
|
|
17
|
+
上下架状态: string;
|
|
18
|
+
起售数量: number;
|
|
19
|
+
限购数量: number | string;
|
|
20
|
+
商品类型: string;
|
|
21
|
+
售卖类型: string;
|
|
22
|
+
规格明细: string;
|
|
23
|
+
规格编码: string;
|
|
24
|
+
库存: number;
|
|
25
|
+
划线价: number;
|
|
26
|
+
售价: number;
|
|
27
|
+
采购价: number;
|
|
28
|
+
}
|
|
3
29
|
/**
|
|
4
30
|
* 核销期限接口
|
|
5
31
|
*/
|
|
6
32
|
interface VerifyPeriod {
|
|
7
33
|
/** 开始时间戳 */
|
|
8
|
-
startDate
|
|
34
|
+
startDate?: number;
|
|
9
35
|
/** 结束时间戳 */
|
|
10
|
-
endDate
|
|
36
|
+
endDate?: number;
|
|
11
37
|
/** 付款后天数 */
|
|
12
|
-
payAfterDay
|
|
38
|
+
payAfterDay?: number;
|
|
13
39
|
/** 类型 1: 时间范围 2: 付款后天数 */
|
|
14
|
-
type
|
|
40
|
+
type?: number;
|
|
15
41
|
}
|
|
16
42
|
/**
|
|
17
43
|
* 属性接口
|
|
@@ -59,15 +85,15 @@ export declare namespace PandoraProductService {
|
|
|
59
85
|
/** 采购价(分) */
|
|
60
86
|
purchasePrice: number;
|
|
61
87
|
/** SKU编码 */
|
|
62
|
-
skuCode
|
|
88
|
+
skuCode?: string;
|
|
63
89
|
/** 多SKU编码 */
|
|
64
|
-
multiSkuCodes
|
|
90
|
+
multiSkuCodes?: string[];
|
|
65
91
|
/** 绑定的SKU列表 */
|
|
66
|
-
bindSkus
|
|
92
|
+
bindSkus?: BindSku[];
|
|
67
93
|
/** 库存 */
|
|
68
94
|
stock: number;
|
|
69
95
|
/** 是否展示绑定子商品 1展示,0不展示 */
|
|
70
|
-
showBindSkus
|
|
96
|
+
showBindSkus?: number;
|
|
71
97
|
}
|
|
72
98
|
/**
|
|
73
99
|
* 产品信息接口
|
|
@@ -102,7 +128,7 @@ export declare namespace PandoraProductService {
|
|
|
102
128
|
/** 商品分类 */
|
|
103
129
|
classification: string;
|
|
104
130
|
/** 库存单位 */
|
|
105
|
-
stockUnit
|
|
131
|
+
stockUnit?: string;
|
|
106
132
|
/** 产品经理ID */
|
|
107
133
|
productManagerId?: string;
|
|
108
134
|
/** 供应商ID */
|
|
@@ -276,6 +302,10 @@ export declare namespace PandoraProductService {
|
|
|
276
302
|
/** 是否可用 */
|
|
277
303
|
enable: boolean;
|
|
278
304
|
}
|
|
305
|
+
interface productDetail {
|
|
306
|
+
data: ProductDetailItem[];
|
|
307
|
+
headerMap: string[];
|
|
308
|
+
}
|
|
279
309
|
interface queryProductList {
|
|
280
310
|
total: number;
|
|
281
311
|
list: {
|
|
@@ -368,7 +398,7 @@ export declare namespace PandoraProductService {
|
|
|
368
398
|
/**
|
|
369
399
|
* 商品导出
|
|
370
400
|
*/
|
|
371
|
-
export(request: PandoraProductService.Request.list): Promise<StandardResponse<
|
|
401
|
+
export(request: PandoraProductService.Request.list): Promise<StandardResponse<PandoraProductService.Response.productDetail>>;
|
|
372
402
|
/**
|
|
373
403
|
* 获取商品信息(不含规格信息)
|
|
374
404
|
*/
|
|
@@ -55,7 +55,7 @@ export declare class PandoraProductService extends BaseService implements Servic
|
|
|
55
55
|
* @param request - 请求参数
|
|
56
56
|
* @returns Promise,解析为标准响应格式
|
|
57
57
|
*/
|
|
58
|
-
export(request: Service.Request.list): Promise<StandardResponse<
|
|
58
|
+
export(request: Service.Request.list): Promise<StandardResponse<Service.Response.productDetail>>;
|
|
59
59
|
/**
|
|
60
60
|
* 获取商品信息(不含规格信息)
|
|
61
61
|
* @param request - 请求参数
|
|
@@ -1,17 +1,43 @@
|
|
|
1
1
|
import { StandardResponse } from '../../../../types';
|
|
2
2
|
export declare namespace PandoraProductService {
|
|
3
|
+
/** 商品明细项 */
|
|
4
|
+
interface ProductDetailItem {
|
|
5
|
+
商品ID: string;
|
|
6
|
+
商品名称: string;
|
|
7
|
+
一级类目: string;
|
|
8
|
+
二级类目: string;
|
|
9
|
+
三级类目: string;
|
|
10
|
+
商品分类: string;
|
|
11
|
+
储存方式: string;
|
|
12
|
+
取货方式: string;
|
|
13
|
+
配送方式: string;
|
|
14
|
+
供应商: string;
|
|
15
|
+
产品经理: string;
|
|
16
|
+
直播分组: string;
|
|
17
|
+
上下架状态: string;
|
|
18
|
+
起售数量: number;
|
|
19
|
+
限购数量: number | string;
|
|
20
|
+
商品类型: string;
|
|
21
|
+
售卖类型: string;
|
|
22
|
+
规格明细: string;
|
|
23
|
+
规格编码: string;
|
|
24
|
+
库存: number;
|
|
25
|
+
划线价: number;
|
|
26
|
+
售价: number;
|
|
27
|
+
采购价: number;
|
|
28
|
+
}
|
|
3
29
|
/**
|
|
4
30
|
* 核销期限接口
|
|
5
31
|
*/
|
|
6
32
|
interface VerifyPeriod {
|
|
7
33
|
/** 开始时间戳 */
|
|
8
|
-
startDate
|
|
34
|
+
startDate?: number;
|
|
9
35
|
/** 结束时间戳 */
|
|
10
|
-
endDate
|
|
36
|
+
endDate?: number;
|
|
11
37
|
/** 付款后天数 */
|
|
12
|
-
payAfterDay
|
|
38
|
+
payAfterDay?: number;
|
|
13
39
|
/** 类型 1: 时间范围 2: 付款后天数 */
|
|
14
|
-
type
|
|
40
|
+
type?: number;
|
|
15
41
|
}
|
|
16
42
|
/**
|
|
17
43
|
* 属性接口
|
|
@@ -59,15 +85,15 @@ export declare namespace PandoraProductService {
|
|
|
59
85
|
/** 采购价(分) */
|
|
60
86
|
purchasePrice: number;
|
|
61
87
|
/** SKU编码 */
|
|
62
|
-
skuCode
|
|
88
|
+
skuCode?: string;
|
|
63
89
|
/** 多SKU编码 */
|
|
64
|
-
multiSkuCodes
|
|
90
|
+
multiSkuCodes?: string[];
|
|
65
91
|
/** 绑定的SKU列表 */
|
|
66
|
-
bindSkus
|
|
92
|
+
bindSkus?: BindSku[];
|
|
67
93
|
/** 库存 */
|
|
68
94
|
stock: number;
|
|
69
95
|
/** 是否展示绑定子商品 1展示,0不展示 */
|
|
70
|
-
showBindSkus
|
|
96
|
+
showBindSkus?: number;
|
|
71
97
|
}
|
|
72
98
|
/**
|
|
73
99
|
* 产品信息接口
|
|
@@ -102,7 +128,7 @@ export declare namespace PandoraProductService {
|
|
|
102
128
|
/** 商品分类 */
|
|
103
129
|
classification: string;
|
|
104
130
|
/** 库存单位 */
|
|
105
|
-
stockUnit
|
|
131
|
+
stockUnit?: string;
|
|
106
132
|
/** 产品经理ID */
|
|
107
133
|
productManagerId?: string;
|
|
108
134
|
/** 供应商ID */
|
|
@@ -276,6 +302,10 @@ export declare namespace PandoraProductService {
|
|
|
276
302
|
/** 是否可用 */
|
|
277
303
|
enable: boolean;
|
|
278
304
|
}
|
|
305
|
+
interface productDetail {
|
|
306
|
+
data: ProductDetailItem[];
|
|
307
|
+
headerMap: string[];
|
|
308
|
+
}
|
|
279
309
|
interface queryProductList {
|
|
280
310
|
total: number;
|
|
281
311
|
list: {
|
|
@@ -368,7 +398,7 @@ export declare namespace PandoraProductService {
|
|
|
368
398
|
/**
|
|
369
399
|
* 商品导出
|
|
370
400
|
*/
|
|
371
|
-
export(request: PandoraProductService.Request.list): Promise<StandardResponse<
|
|
401
|
+
export(request: PandoraProductService.Request.list): Promise<StandardResponse<PandoraProductService.Response.productDetail>>;
|
|
372
402
|
/**
|
|
373
403
|
* 获取商品信息(不含规格信息)
|
|
374
404
|
*/
|
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.62",
|
|
4
4
|
"description": "EcommerceBackendBffService Node.js SDK",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./cjs/index.js",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@be-link/ecommerce-product-service-node-sdk": "^0.0.17",
|
|
28
27
|
"@be-link/ecommerce-volcengine-open-api-sdk": "^1.0.16",
|
|
29
28
|
"@be-link/ecommerce-client-backend-service-node-sdk": "^0.0.10",
|
|
30
29
|
"@be-link/ecommerce-tag-service-node-sdk": "^0.0.11",
|
|
31
30
|
"@be-link/ecommerce-store-service-node-sdk": "^0.0.13",
|
|
32
31
|
"@be-link/ecommerce-promotion-service-node-sdk": "^0.0.11",
|
|
33
|
-
"axios": "1.13.2"
|
|
32
|
+
"axios": "1.13.2",
|
|
33
|
+
"@be-link/ecommerce-product-service-node-sdk": "0.0.20"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^20.0.0",
|