@be-link/ecommerce-product-service-node-sdk 0.1.46 → 0.1.47
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.
|
@@ -25,7 +25,6 @@ declare class ProductService extends BaseService implements Service.ProductContr
|
|
|
25
25
|
updatePurchaseLimit(request: Service.Request.updatePurchaseLimit): Promise<void>;
|
|
26
26
|
updateSkuStock(request: Service.Request.updateSkuStock[]): Promise<void>;
|
|
27
27
|
updateSkuPrice(request: Service.Request.updateSkuPrice[]): Promise<void>;
|
|
28
|
-
updateSkuGrossWeight(request: Service.Request.updateSkuGrossWeight[]): Promise<void>;
|
|
29
28
|
queryProductSkuListWithDel(request: Service.Request.queryProductSkuListWithDel): Promise<Service.Response.queryProductSkuList>;
|
|
30
29
|
getClassification(request: Service.Request.getClassification): Promise<Service.Response.getClassification>;
|
|
31
30
|
getAllClassifications(request: Service.Request.getAllClassifications): Promise<Service.Response.getAllClassifications>;
|
|
@@ -90,9 +90,6 @@ let ProductService = class ProductService extends BaseService_1.default {
|
|
|
90
90
|
updateSkuPrice(request) {
|
|
91
91
|
return (0, http_1.callApi)(this.getApiUrl(this.updateSkuPrice), request);
|
|
92
92
|
}
|
|
93
|
-
updateSkuGrossWeight(request) {
|
|
94
|
-
return (0, http_1.callApi)(this.getApiUrl(this.updateSkuGrossWeight), request);
|
|
95
|
-
}
|
|
96
93
|
queryProductSkuListWithDel(request) {
|
|
97
94
|
return (0, http_1.callApi)(this.getApiUrl(this.queryProductSkuListWithDel), request);
|
|
98
95
|
}
|
|
@@ -226,11 +223,6 @@ __decorate([
|
|
|
226
223
|
(0, tsoa_1.Post)('update-sku-price'),
|
|
227
224
|
__param(0, (0, tsoa_1.Body)())
|
|
228
225
|
], ProductService.prototype, "updateSkuPrice", null);
|
|
229
|
-
__decorate([
|
|
230
|
-
(0, tsoa_1.OperationId)('更新商品sku毛重'),
|
|
231
|
-
(0, tsoa_1.Post)('update-sku-gross-weight'),
|
|
232
|
-
__param(0, (0, tsoa_1.Body)())
|
|
233
|
-
], ProductService.prototype, "updateSkuGrossWeight", null);
|
|
234
226
|
__decorate([
|
|
235
227
|
(0, tsoa_1.OperationId)('获取商品+规格信息(包含删除的规格)'),
|
|
236
228
|
(0, tsoa_1.Post)('query-product-sku-list-with-del'),
|
|
@@ -38,8 +38,6 @@ export declare namespace ProductService {
|
|
|
38
38
|
memberPrice: number;
|
|
39
39
|
/** 商品效期(天) */
|
|
40
40
|
shelfLifeDays: number;
|
|
41
|
-
/** 毛重(克) */
|
|
42
|
-
grossWeight: number;
|
|
43
41
|
/** 库存 */
|
|
44
42
|
stock: number;
|
|
45
43
|
/** SKU编码 */
|
|
@@ -117,8 +115,6 @@ export declare namespace ProductService {
|
|
|
117
115
|
memberPrice?: number;
|
|
118
116
|
/** 商品效期(天) */
|
|
119
117
|
shelfLifeDays?: number;
|
|
120
|
-
/** 毛重(克) */
|
|
121
|
-
grossWeight?: number;
|
|
122
118
|
/** SKU编码 */
|
|
123
119
|
skuCode?: string;
|
|
124
120
|
/** 多SKU编码 */
|
|
@@ -390,12 +386,6 @@ export declare namespace ProductService {
|
|
|
390
386
|
/** 会员价(分) */
|
|
391
387
|
memberPrice?: number;
|
|
392
388
|
}
|
|
393
|
-
interface updateSkuGrossWeight {
|
|
394
|
-
/** SKU Id */
|
|
395
|
-
skuId: string;
|
|
396
|
-
/** 毛重(克) */
|
|
397
|
-
grossWeight: number;
|
|
398
|
-
}
|
|
399
389
|
interface queryProductSkuListWithDel {
|
|
400
390
|
/** 0 开始 */
|
|
401
391
|
pageIndex: number;
|
|
@@ -532,8 +522,6 @@ export declare namespace ProductService {
|
|
|
532
522
|
memberPrice: number;
|
|
533
523
|
/** 商品效期(天) */
|
|
534
524
|
shelfLifeDays: number;
|
|
535
|
-
/** 毛重(克) */
|
|
536
|
-
grossWeight: number;
|
|
537
525
|
/** 库存 */
|
|
538
526
|
stock: number;
|
|
539
527
|
/** 商品上下架状态 */
|
|
@@ -624,8 +612,6 @@ export declare namespace ProductService {
|
|
|
624
612
|
memberPrice: number;
|
|
625
613
|
/** 商品效期(天) */
|
|
626
614
|
shelfLifeDays: number;
|
|
627
|
-
/** 毛重(克) */
|
|
628
|
-
grossWeight: number;
|
|
629
615
|
/** SKU编码 */
|
|
630
616
|
skuCode: string;
|
|
631
617
|
/** SKU排序(需求 163 新增) */
|
|
@@ -718,8 +704,6 @@ export declare namespace ProductService {
|
|
|
718
704
|
memberPrice: number;
|
|
719
705
|
/** 商品效期(天) */
|
|
720
706
|
shelfLifeDays: number;
|
|
721
|
-
/** 毛重(克) */
|
|
722
|
-
grossWeight: number;
|
|
723
707
|
/** SKU编码 */
|
|
724
708
|
skuCode: string;
|
|
725
709
|
/** 多SKU编码 */
|
|
@@ -877,8 +861,6 @@ export declare namespace ProductService {
|
|
|
877
861
|
updateSkuStock(request: ProductService.Request.updateSkuStock[]): Promise<void>;
|
|
878
862
|
/** 更新商品sku价格 */
|
|
879
863
|
updateSkuPrice(request: ProductService.Request.updateSkuPrice[]): Promise<void>;
|
|
880
|
-
/** 更新商品sku毛重 */
|
|
881
|
-
updateSkuGrossWeight(request: ProductService.Request.updateSkuGrossWeight[]): Promise<void>;
|
|
882
864
|
/**
|
|
883
865
|
* 获取商品+规格信息(包含删除的规格)
|
|
884
866
|
*/
|