@be-link/cs-cli-nodejs 0.1.91 → 0.1.93
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/tourMaterial/type.d.ts +3 -41
- package/package.json +1 -1
- package/types.d.ts +50 -0
|
@@ -1,43 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ITourMaterialSnapshot } from "../../../types";
|
|
2
2
|
export declare namespace ItemTourMaterial {
|
|
3
|
-
namespace Entity {
|
|
4
|
-
interface TourMaterial {
|
|
5
|
-
/** 商品id */
|
|
6
|
-
id: string;
|
|
7
|
-
/** 材料类型 */
|
|
8
|
-
materialType: commodityEnums.TourMaterialType;
|
|
9
|
-
/** 代办费用 */
|
|
10
|
-
agentCharge: bigint;
|
|
11
|
-
/** 是否面签 */
|
|
12
|
-
visaInterview: boolean;
|
|
13
|
-
/** 是否消签 */
|
|
14
|
-
visaCancel: boolean;
|
|
15
|
-
/** 是否可用 */
|
|
16
|
-
isEnable: boolean;
|
|
17
|
-
/** 材料项 */
|
|
18
|
-
items: TourMaterialItem[];
|
|
19
|
-
/** 列表2 */
|
|
20
|
-
items2?: TourMaterialItem[];
|
|
21
|
-
}
|
|
22
|
-
interface TourMaterialItem {
|
|
23
|
-
/** 材料项id */
|
|
24
|
-
id?: string;
|
|
25
|
-
/** 商品id */
|
|
26
|
-
itemId: string;
|
|
27
|
-
/** 标题 */
|
|
28
|
-
title: string;
|
|
29
|
-
/** 签证类型 */
|
|
30
|
-
visaType: commodityEnums.TourMaterialVisaType;
|
|
31
|
-
/** 收集类型 */
|
|
32
|
-
collectType: commodityEnums.TourMaterialCollectType;
|
|
33
|
-
/** 具体要求 */
|
|
34
|
-
specificInfo: string;
|
|
35
|
-
/** 实例图片 */
|
|
36
|
-
imgs: string[];
|
|
37
|
-
/** 是否可用 */
|
|
38
|
-
isEnable: boolean;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
3
|
namespace Request {
|
|
42
4
|
interface IGetItemTourMaterial {
|
|
43
5
|
/** 商品ID */
|
|
@@ -45,10 +7,10 @@ export declare namespace ItemTourMaterial {
|
|
|
45
7
|
/** 是否可用 */
|
|
46
8
|
isEnable?: boolean;
|
|
47
9
|
}
|
|
48
|
-
type IUpdateItemTourMateria =
|
|
10
|
+
type IUpdateItemTourMateria = ITourMaterialSnapshot;
|
|
49
11
|
}
|
|
50
12
|
namespace Response {
|
|
51
|
-
type IGetItemTourMaterial =
|
|
13
|
+
type IGetItemTourMaterial = ITourMaterialSnapshot;
|
|
52
14
|
}
|
|
53
15
|
interface Controller {
|
|
54
16
|
/** 获取商品出行材料 */
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -15,6 +15,10 @@ export interface QueryBlockDataMap {
|
|
|
15
15
|
comboShortcut: IItemComboShortcut[];
|
|
16
16
|
/** 商品销售描述 */
|
|
17
17
|
salesDescription: IItemSalesDescription;
|
|
18
|
+
/** 商品出行材料 */
|
|
19
|
+
tourMaterial: ITourMaterial;
|
|
20
|
+
/** 商品出行材料项 */
|
|
21
|
+
tourMaterialItems: ITourMaterialItem[];
|
|
18
22
|
}
|
|
19
23
|
/**
|
|
20
24
|
* @description: 描述内容通用结构
|
|
@@ -355,3 +359,49 @@ export interface IItemSearchInfo {
|
|
|
355
359
|
export type QueryItemSearchInfoRes<K extends (keyof IItemSearchInfo)[]> = {
|
|
356
360
|
[key in K[number]]: IItemSearchInfo[key];
|
|
357
361
|
};
|
|
362
|
+
/** 商品出行材料信息 */
|
|
363
|
+
export interface ITourMaterial {
|
|
364
|
+
/** 商品id */
|
|
365
|
+
id: string;
|
|
366
|
+
createdAt?: number;
|
|
367
|
+
updatedAt?: number;
|
|
368
|
+
/** 材料类型 */
|
|
369
|
+
materialType: commodityEnums.TourMaterialType;
|
|
370
|
+
/** 代办费用 */
|
|
371
|
+
agentCharge: bigint;
|
|
372
|
+
/** 是否面签 */
|
|
373
|
+
visaInterview: boolean;
|
|
374
|
+
/** 是否消签 */
|
|
375
|
+
visaCancel: boolean;
|
|
376
|
+
/** 是否可用 */
|
|
377
|
+
isEnable: boolean;
|
|
378
|
+
}
|
|
379
|
+
/** 商品出行材料项信息 */
|
|
380
|
+
export interface ITourMaterialItem {
|
|
381
|
+
/** 材料项id */
|
|
382
|
+
id?: string;
|
|
383
|
+
createdAt?: number;
|
|
384
|
+
updatedAt?: number;
|
|
385
|
+
deletedAt?: number;
|
|
386
|
+
/** 商品id */
|
|
387
|
+
itemId: string;
|
|
388
|
+
/** 标题 */
|
|
389
|
+
title: string;
|
|
390
|
+
/** 签证类型 */
|
|
391
|
+
visaType: commodityEnums.TourMaterialVisaType;
|
|
392
|
+
/** 收集类型 */
|
|
393
|
+
collectType: commodityEnums.TourMaterialCollectType;
|
|
394
|
+
/** 具体要求 */
|
|
395
|
+
specificInfo: string;
|
|
396
|
+
/** 实例图片 */
|
|
397
|
+
imgs: string[];
|
|
398
|
+
/** 是否可用 */
|
|
399
|
+
isEnable: boolean;
|
|
400
|
+
}
|
|
401
|
+
/** 商品出行材料快照信息信息 */
|
|
402
|
+
export interface ITourMaterialSnapshot extends ITourMaterial {
|
|
403
|
+
/** 材料项1:实体材料或 代办材料*/
|
|
404
|
+
items: ITourMaterialItem[];
|
|
405
|
+
/** 材料项2:自备材料 */
|
|
406
|
+
items2?: ITourMaterialItem[];
|
|
407
|
+
}
|