@be-link/cs-cli-nodejs 0.1.106 → 0.1.108

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.
@@ -39,6 +39,14 @@ export declare namespace ManageByItem {
39
39
  }[];
40
40
  costExclusion?: string;
41
41
  cancellationPolicy?: string;
42
+ commissionFee?: number;
43
+ shortName?: string;
44
+ unitDeposit?: number;
45
+ depositTimeoutDays?: number;
46
+ isWxSaleChannel?: boolean;
47
+ isLiveRoomSaleChannel?: boolean;
48
+ isTravelAgencyStore?: boolean;
49
+ saleChannelBitMap?: number;
42
50
  };
43
51
  attributes?: {
44
52
  isShareOnly?: number;
@@ -3,7 +3,10 @@ import * as GDto from '../../../../types';
3
3
  export declare enum SortField {
4
4
  createdAt = "createdAt",
5
5
  updatedAt = "updatedAt",
6
- itemSaleCount = "itemSaleCount"
6
+ itemSaleCount = "itemSaleCount",
7
+ itemSalePrice = "itemSalePrice",
8
+ minMemberPrice = "minMemberPrice",
9
+ commissionFee = "commissionFee"
7
10
  }
8
11
  export declare enum SortOrder {
9
12
  ASC = "ASC",
@@ -40,6 +43,9 @@ export declare namespace QueryByItem {
40
43
  isMigration?: boolean;
41
44
  isStock?: boolean;
42
45
  isHighCommission?: number | boolean;
46
+ /** 分佣金额状态 */
47
+ commissionFee?: 'NO_EDIT' | 'HAS_EDIT';
48
+ saleChannels?: ('WX' | 'TRAVEL_AGENCY_STORE' | 'LIVE_ROOM')[];
43
49
  };
44
50
  queryBlocks: K;
45
51
  paging: IPaging;
@@ -64,6 +70,11 @@ export declare namespace QueryByItem {
64
70
  isMemberPrice?: boolean;
65
71
  /** 适用城市列表 */
66
72
  cityList?: string[];
73
+ commissionFeeRange?: number[];
74
+ minMemberPriceRange?: number[];
75
+ itemSalePriceRange?: number[];
76
+ mixedName?: string;
77
+ shortNameEq?: string;
67
78
  };
68
79
  /** 门店维度条件 */
69
80
  venueInfo?: {
@@ -92,6 +103,10 @@ export declare namespace QueryByItem {
92
103
  filed: SortField;
93
104
  order: SortOrder;
94
105
  };
106
+ sortList?: {
107
+ field: SortField;
108
+ order: SortOrder;
109
+ }[];
95
110
  /** 页码. 从0起始, 默认0 */
96
111
  pageIndex?: number;
97
112
  /** 页目条数. 默认10, 最大20 */
@@ -124,6 +139,14 @@ export declare namespace QueryByItem {
124
139
  isStock?: boolean;
125
140
  /** 是否高分佣 */
126
141
  isHighCommission?: number;
142
+ /** 分佣金额状态 */
143
+ commissionFee?: 'NO_EDIT' | 'HAS_EDIT';
144
+ saleChannelBitMap?: number;
145
+ commissionFeeRange?: number[];
146
+ minMemberPriceRange?: number[];
147
+ itemSalePriceRange?: number[];
148
+ mixedName?: string;
149
+ shortNameEq?: string;
127
150
  };
128
151
  /** 门店维度条件 */
129
152
  venueInfo?: {
@@ -152,6 +175,10 @@ export declare namespace QueryByItem {
152
175
  filed: SortField;
153
176
  order: SortOrder;
154
177
  };
178
+ sortList?: {
179
+ field: SortField;
180
+ order: SortOrder;
181
+ }[];
155
182
  /** 页码. 从0起始, 默认0 */
156
183
  pageIndex?: number;
157
184
  /** 页目条数. 默认10, 最大20 */
@@ -206,6 +233,7 @@ export declare namespace QueryByItem {
206
233
  hasStock?: boolean;
207
234
  isMigration: number;
208
235
  saleCount: number;
236
+ salePrice: number;
209
237
  })[];
210
238
  total: number;
211
239
  }
@@ -6,6 +6,9 @@ var SortField;
6
6
  SortField["createdAt"] = "createdAt";
7
7
  SortField["updatedAt"] = "updatedAt";
8
8
  SortField["itemSaleCount"] = "itemSaleCount";
9
+ SortField["itemSalePrice"] = "itemSalePrice";
10
+ SortField["minMemberPrice"] = "minMemberPrice";
11
+ SortField["commissionFee"] = "commissionFee";
9
12
  })(SortField || (exports.SortField = SortField = {}));
10
13
  var SortOrder;
11
14
  (function (SortOrder) {
@@ -1 +1 @@
1
- {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemQuery/byItem/type.ts"],"names":[],"mappings":";;;AAEA,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,oCAAuB,CAAA;IACvB,oCAAuB,CAAA;IACvB,4CAA+B,CAAA;AACjC,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AACD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemQuery/byItem/type.ts"],"names":[],"mappings":";;;AAEA,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,oCAAuB,CAAA;IACvB,oCAAuB,CAAA;IACvB,4CAA+B,CAAA;IAC/B,4CAA+B,CAAA;IAC/B,8CAAiC,CAAA;IACjC,4CAA+B,CAAA;AACjC,CAAC,EAPW,SAAS,yBAAT,SAAS,QAOpB;AACD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/cs-cli-nodejs",
3
- "version": "0.1.106",
3
+ "version": "0.1.108",
4
4
  "description": "商品服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "author": "dev@8848top.com",
package/types.d.ts CHANGED
@@ -98,6 +98,16 @@ export interface IItemBasicInfo {
98
98
  costExclusion: string;
99
99
  /** 退款政策 */
100
100
  cancellationPolicy: string;
101
+ /** 分佣金额 */
102
+ commissionFee: number;
103
+ /** 短标题 */
104
+ shortName: string;
105
+ /** 单人定金 */
106
+ unitDeposit: number;
107
+ /** 定金超时天数 */
108
+ depositTimeoutDays: number;
109
+ /** 售卖渠道 */
110
+ saleChannelBitMap: number;
101
111
  }
102
112
  export interface IItemAttributes {
103
113
  /** 商品ID */