@be-link/cs-cli-nodejs 0.0.109 → 0.0.110
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.
- package/cs/modules/itemManage/item/type.d.ts +2 -4
- package/cs/modules/itemQuery/byItemCombo/service.d.ts +3 -3
- package/cs/modules/itemQuery/byItemCombo/service.js.map +1 -1
- package/cs/modules/itemQuery/byItemCombo/type.d.ts +5 -5
- package/cs/modules/itemQuery/index.d.ts +3 -3
- package/package.json +1 -1
- package/types.d.ts +9 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ItemCategory, ItemStatus } from 'vitality-meta/enums/commodity';
|
|
2
|
-
import { DescriptionContentItem, EntertainmentInfo } from '../../../../types';
|
|
2
|
+
import { CommonDescriptionItem, DescriptionContentItem, EntertainmentInfo } from '../../../../types';
|
|
3
3
|
export declare namespace ManageByItem {
|
|
4
4
|
namespace Request {
|
|
5
5
|
interface prepareItem {
|
|
@@ -29,7 +29,7 @@ export declare namespace ManageByItem {
|
|
|
29
29
|
contractExpireTime?: number;
|
|
30
30
|
contractFile?: string;
|
|
31
31
|
};
|
|
32
|
-
discountActivity?:
|
|
32
|
+
discountActivity?: CommonDescriptionItem[];
|
|
33
33
|
description?: DescriptionContentItem[];
|
|
34
34
|
costInclusion?: {
|
|
35
35
|
title: string;
|
|
@@ -56,8 +56,6 @@ export declare namespace ManageByItem {
|
|
|
56
56
|
}[];
|
|
57
57
|
};
|
|
58
58
|
hotelExtraInfo?: {
|
|
59
|
-
venueId?: string;
|
|
60
|
-
supplierId?: string;
|
|
61
59
|
entertainmentInfo?: {
|
|
62
60
|
ktv?: EntertainmentInfo;
|
|
63
61
|
card?: EntertainmentInfo;
|
|
@@ -4,9 +4,9 @@ import * as GDto from '../../../../types';
|
|
|
4
4
|
declare class QueryByItemComboService extends BaseService implements QueryByItemCombo.Controller {
|
|
5
5
|
prefixUrl: string;
|
|
6
6
|
get(request: QueryByItemCombo.Request.IGet): Promise<GDto.IItemCombo>;
|
|
7
|
-
getShortcut(request: QueryByItemCombo.Request.
|
|
8
|
-
mget(request: QueryByItemCombo.Request.IMGet): Promise<
|
|
9
|
-
mgetShortcut(request: QueryByItemCombo.Request.
|
|
7
|
+
getShortcut(request: QueryByItemCombo.Request.IGetShortcut): Promise<GDto.IItemComboShortcut>;
|
|
8
|
+
mget(request: QueryByItemCombo.Request.IMGet): Promise<QueryByItemCombo.Response.IMGet[]>;
|
|
9
|
+
mgetShortcut(request: QueryByItemCombo.Request.IMGetShortcut): Promise<QueryByItemCombo.Response.IMGetShortcut[]>;
|
|
10
10
|
}
|
|
11
11
|
declare const byItemCombo: QueryByItemComboService;
|
|
12
12
|
export default byItemCombo;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemQuery/byItemCombo/service.ts"],"names":[],"mappings":";;;;;AAAA,oEAA2C;AAG3C,wCAAuC;AAEvC,MAAM,uBAAwB,SAAQ,qBAAW;IAAjD;;QACE,cAAS,GAAW,2BAA2B,CAAA;IAyBjD,CAAC;IAvBC,GAAG,CAAC,OAAsC;QACxC,OAAO,IAAA,cAAO,EAAqC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,CAAA;IACvF,CAAC;IAED,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemQuery/byItemCombo/service.ts"],"names":[],"mappings":";;;;;AAAA,oEAA2C;AAG3C,wCAAuC;AAEvC,MAAM,uBAAwB,SAAQ,qBAAW;IAAjD;;QACE,cAAS,GAAW,2BAA2B,CAAA;IAyBjD,CAAC;IAvBC,GAAG,CAAC,OAAsC;QACxC,OAAO,IAAA,cAAO,EAAqC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,CAAA;IACvF,CAAC;IAED,WAAW,CAAC,OAA8C;QACxD,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,EAChC,OAAO,CACR,CAAA;IACH,CAAC;IAED,IAAI,CAAC,OAAuC;QAC1C,OAAO,IAAA,cAAO,EAAsC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,CAAA;IACzF,CAAC;IAED,YAAY,CACV,OAA+C;QAE/C,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,EACjC,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,WAAW,GAAG,IAAI,uBAAuB,EAAE,CAAA;AACjD,kBAAe,WAAW,CAAA"}
|
|
@@ -5,7 +5,7 @@ export declare namespace QueryByItemCombo {
|
|
|
5
5
|
interface IGet {
|
|
6
6
|
comboId: string;
|
|
7
7
|
}
|
|
8
|
-
interface
|
|
8
|
+
interface IGetShortcut {
|
|
9
9
|
comboId: string;
|
|
10
10
|
}
|
|
11
11
|
interface IMGet {
|
|
@@ -13,7 +13,7 @@ export declare namespace QueryByItemCombo {
|
|
|
13
13
|
comboIds?: string[];
|
|
14
14
|
statusList?: CommodityEnums.CommonSaleStatus[];
|
|
15
15
|
}
|
|
16
|
-
interface
|
|
16
|
+
interface IMGetShortcut {
|
|
17
17
|
itemId?: string;
|
|
18
18
|
comboIds?: string[];
|
|
19
19
|
statusList?: CommodityEnums.CommonSaleStatus[];
|
|
@@ -45,8 +45,8 @@ export declare namespace QueryByItemCombo {
|
|
|
45
45
|
}
|
|
46
46
|
interface Controller {
|
|
47
47
|
get(request: QueryByItemCombo.Request.IGet): Promise<GDto.IItemCombo>;
|
|
48
|
-
getShortcut(request: QueryByItemCombo.Request.
|
|
49
|
-
mget(request: QueryByItemCombo.Request.IMGet): Promise<
|
|
50
|
-
mgetShortcut(request: QueryByItemCombo.Request.
|
|
48
|
+
getShortcut(request: QueryByItemCombo.Request.IGetShortcut): Promise<GDto.IItemComboShortcut>;
|
|
49
|
+
mget(request: QueryByItemCombo.Request.IMGet): Promise<QueryByItemCombo.Response.IMGet[]>;
|
|
50
|
+
mgetShortcut(request: QueryByItemCombo.Request.IMGetShortcut): Promise<QueryByItemCombo.Response.IMGetShortcut[]>;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -36,9 +36,9 @@ declare const itemQueryService: {
|
|
|
36
36
|
byItemCombo: {
|
|
37
37
|
prefixUrl: string;
|
|
38
38
|
get(request: import("./byItemCombo/type").QueryByItemCombo.Request.IGet): Promise<import("../../../types").IItemCombo>;
|
|
39
|
-
getShortcut(request: import("./byItemCombo/type").QueryByItemCombo.Request.
|
|
40
|
-
mget(request: import("./byItemCombo/type").QueryByItemCombo.Request.IMGet): Promise<import("
|
|
41
|
-
mgetShortcut(request: import("./byItemCombo/type").QueryByItemCombo.Request.
|
|
39
|
+
getShortcut(request: import("./byItemCombo/type").QueryByItemCombo.Request.IGetShortcut): Promise<import("../../../types").IItemComboShortcut>;
|
|
40
|
+
mget(request: import("./byItemCombo/type").QueryByItemCombo.Request.IMGet): Promise<import("./byItemCombo/type").QueryByItemCombo.Response.IItemCombo[]>;
|
|
41
|
+
mgetShortcut(request: import("./byItemCombo/type").QueryByItemCombo.Request.IMGetShortcut): Promise<import("./byItemCombo/type").QueryByItemCombo.Response.IMGetShortcut[]>;
|
|
42
42
|
isPublicEnv: boolean;
|
|
43
43
|
readonly natDevHost: "http://qgostaxv.cs.nmkh74o4.rlwzae9d.com:8090";
|
|
44
44
|
readonly natProdHost: "";
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -19,15 +19,16 @@ export interface QueryBlockDataMap {
|
|
|
19
19
|
/**
|
|
20
20
|
* @description: 描述内容通用结构
|
|
21
21
|
*/
|
|
22
|
+
export interface CommonDescriptionItem {
|
|
23
|
+
type: 'TEXT' | 'IMAGE' | 'FILE';
|
|
24
|
+
value: string | {
|
|
25
|
+
url: string;
|
|
26
|
+
name?: string;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
22
29
|
export interface DescriptionContentItem {
|
|
23
30
|
title: string;
|
|
24
|
-
contents:
|
|
25
|
-
type: 'TEXT' | 'IMAGE' | 'FILE';
|
|
26
|
-
value: string | {
|
|
27
|
-
url: string;
|
|
28
|
-
name?: string;
|
|
29
|
-
};
|
|
30
|
-
}[];
|
|
31
|
+
contents: CommonDescriptionItem[];
|
|
31
32
|
}
|
|
32
33
|
/** 商品基础信息 */
|
|
33
34
|
export interface IItemBasicInfo {
|
|
@@ -79,7 +80,7 @@ export interface IItemBasicInfo {
|
|
|
79
80
|
contractFile: string;
|
|
80
81
|
};
|
|
81
82
|
/** 优惠活动 */
|
|
82
|
-
discountActivity:
|
|
83
|
+
discountActivity: CommonDescriptionItem[];
|
|
83
84
|
/** 图文信息 */
|
|
84
85
|
description: DescriptionContentItem[];
|
|
85
86
|
/** 费用包含 */
|
|
@@ -142,10 +143,6 @@ export interface EntertainmentInfo {
|
|
|
142
143
|
description: EntertainmentDescItem;
|
|
143
144
|
}
|
|
144
145
|
export interface IHotelItemInfo {
|
|
145
|
-
/** 服务场所信息 */
|
|
146
|
-
venueId: string;
|
|
147
|
-
/** 酒店供应商ID */
|
|
148
|
-
supplierId: string;
|
|
149
146
|
/** 娱乐信息 */
|
|
150
147
|
entertainmentInfo: {
|
|
151
148
|
ktv?: EntertainmentInfo;
|