@be-link/cs-cli-nodejs 0.1.138 → 0.1.139

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.
@@ -22,6 +22,8 @@ export declare namespace RestructureManage {
22
22
  itemId: string;
23
23
  }
24
24
  interface createItem {
25
+ /** 适用城市列表,写入 ItemCityRelation,不写入 Item 表 */
26
+ cityList?: string[];
25
27
  itemInfo: ItemInfoWithCityList;
26
28
  itemExtraInfo: Record<string, unknown>;
27
29
  skus?: Record<string, unknown>[];
@@ -64,6 +66,8 @@ export declare namespace RestructureManage {
64
66
  }
65
67
  interface updateItem {
66
68
  itemId: string;
69
+ /** 适用城市列表,写入 ItemCityRelation,不写入 Item 表 */
70
+ cityList?: string[];
67
71
  itemInfo?: ItemInfoWithCityList;
68
72
  itemExtraInfo?: Record<string, unknown>;
69
73
  skus?: Record<string, unknown>[];
@@ -1,7 +1,3 @@
1
- type ItemInfoWithCityList = Record<string, unknown> & {
2
- /** 适用城市列表 */
3
- cityList?: string[];
4
- };
5
1
  export declare namespace Restructure {
6
2
  namespace Request {
7
3
  interface queryItemByItemIds {
@@ -828,8 +824,10 @@ export declare namespace Restructure {
828
824
  skus?: Record<string, unknown>[];
829
825
  }
830
826
  interface getItemDetailForWeb {
831
- itemInfo: ItemInfoWithCityList;
827
+ itemInfo: Record<string, unknown>;
832
828
  itemExtraInfo: Record<string, unknown> | null;
829
+ /** 适用城市列表,来自 ItemCityRelation */
830
+ cityList: string[];
833
831
  }
834
832
  interface getItemDetailForDisplay {
835
833
  success: boolean;
@@ -1422,4 +1420,3 @@ export declare namespace Restructure {
1422
1420
  queryItemProductManagers(request: Request.queryItemProductManagers): Promise<Response.queryItemProductManagers>;
1423
1421
  }
1424
1422
  }
1425
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/cs-cli-nodejs",
3
- "version": "0.1.138",
3
+ "version": "0.1.139",
4
4
  "description": "商品服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "author": "dev@8848top.com",