@hddjs/hdd-cloud-types 1.0.19 → 1.0.24
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/hdd-ai-cloud/common/ICommonReportData.d.ts +31 -0
- package/hdd-ai-cloud/common/IGetRecommendSchool.d.ts +12 -4
- package/hdd-ai-cloud/common/IInvitationCodeUsedItem.d.ts +17 -0
- package/hdd-ai-cloud/common/ILowerCoderForm.d.ts +4 -0
- package/hdd-ai-cloud/common/IReportBasicInfo.d.ts +21 -0
- package/hdd-ai-cloud/common/IReportData.d.ts +93 -3
- package/hdd-ai-cloud/common/IReportList.d.ts +6 -2
- package/hdd-ai-cloud/common/IReportResult.d.ts +5 -0
- package/hdd-ai-cloud/common/ISessionContent.d.ts +28 -3
- package/hdd-ai-cloud/common/index.d.ts +2 -0
- package/hdd-ai-cloud/controller/index.d.ts +120 -3
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type IVisualChartData } from './ISessionContent';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 通用报告返回数据
|
|
5
|
+
*/
|
|
6
|
+
export interface ICommonReportData {
|
|
7
|
+
/**
|
|
8
|
+
* 标题
|
|
9
|
+
*/
|
|
10
|
+
title: string;
|
|
11
|
+
/**
|
|
12
|
+
* 子标题
|
|
13
|
+
*/
|
|
14
|
+
subTitle: string;
|
|
15
|
+
/**
|
|
16
|
+
* 描述
|
|
17
|
+
*/
|
|
18
|
+
desc: string;
|
|
19
|
+
/**
|
|
20
|
+
* 图表信息
|
|
21
|
+
*/
|
|
22
|
+
chartInfo: IVisualChartData;
|
|
23
|
+
/**
|
|
24
|
+
* markDown信息
|
|
25
|
+
*/
|
|
26
|
+
mdInfo: string;
|
|
27
|
+
/**
|
|
28
|
+
* html信息
|
|
29
|
+
*/
|
|
30
|
+
htmlInfo: string;
|
|
31
|
+
}
|
|
@@ -54,6 +54,18 @@ export interface IGetRecommendSchool {
|
|
|
54
54
|
* 专业标识
|
|
55
55
|
*/
|
|
56
56
|
majorGroupId?: string;
|
|
57
|
+
/**
|
|
58
|
+
* 专业组代码
|
|
59
|
+
*/
|
|
60
|
+
majorGroupCode?: string;
|
|
61
|
+
/**
|
|
62
|
+
* 专业代码
|
|
63
|
+
*/
|
|
64
|
+
majorCode?: string;
|
|
65
|
+
/**
|
|
66
|
+
* 专业名称
|
|
67
|
+
*/
|
|
68
|
+
majorName?: string;
|
|
57
69
|
/**
|
|
58
70
|
* 专业选科要求
|
|
59
71
|
*/
|
|
@@ -70,10 +82,6 @@ export interface IGetRecommendSchool {
|
|
|
70
82
|
* 招生代码
|
|
71
83
|
*/
|
|
72
84
|
enrollmentId?: string;
|
|
73
|
-
/**
|
|
74
|
-
* 专业名称
|
|
75
|
-
*/
|
|
76
|
-
majorName?: string;
|
|
77
85
|
/**
|
|
78
86
|
* 去年最低排名
|
|
79
87
|
*/
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { type IGetRecommendSchool } from './IGetRecommendSchool';
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* 高考霍兰德职业兴趣测评报告接口
|
|
5
3
|
* @interface IGaokaoInterestReport
|
|
@@ -73,7 +71,14 @@ export interface IGaokaoMajorMatchingReport {
|
|
|
73
71
|
* @interface IGaokaoVolunteerRecommendationReport
|
|
74
72
|
*/
|
|
75
73
|
export interface IGaokaoVolunteerRecommendationReport {
|
|
76
|
-
|
|
74
|
+
/**
|
|
75
|
+
* 推荐院校
|
|
76
|
+
*/
|
|
77
|
+
recommendations: IReportRecommendSchool[];
|
|
78
|
+
/**
|
|
79
|
+
* 排序理由
|
|
80
|
+
*/
|
|
81
|
+
rankReason: string;
|
|
77
82
|
}
|
|
78
83
|
|
|
79
84
|
/**
|
|
@@ -113,3 +118,88 @@ export interface IGaokaoScorePositionReport {
|
|
|
113
118
|
*/
|
|
114
119
|
desc?: string;
|
|
115
120
|
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* 推荐学校
|
|
124
|
+
*/
|
|
125
|
+
export interface IReportRecommendSchool {
|
|
126
|
+
/**
|
|
127
|
+
* 序号
|
|
128
|
+
* 志愿1、2...
|
|
129
|
+
* 专业组1、2...
|
|
130
|
+
*/
|
|
131
|
+
indexName?: string;
|
|
132
|
+
/**
|
|
133
|
+
* 冲稳保策略标识
|
|
134
|
+
*/
|
|
135
|
+
strategyTag?: 'chong' | 'wen' | 'bao';
|
|
136
|
+
/**
|
|
137
|
+
* 录取概率
|
|
138
|
+
* 0-90
|
|
139
|
+
*/
|
|
140
|
+
probability?: number;
|
|
141
|
+
/**
|
|
142
|
+
* 专业组代码
|
|
143
|
+
*/
|
|
144
|
+
majorGroupCode?: string;
|
|
145
|
+
/**
|
|
146
|
+
* 招生院校代码
|
|
147
|
+
*/
|
|
148
|
+
schoolCode?: string;
|
|
149
|
+
/**
|
|
150
|
+
* 学校名称
|
|
151
|
+
*/
|
|
152
|
+
schoolName?: string;
|
|
153
|
+
/**
|
|
154
|
+
* 专业代码
|
|
155
|
+
*/
|
|
156
|
+
majorCode?: string;
|
|
157
|
+
/**
|
|
158
|
+
* 专业名称
|
|
159
|
+
*/
|
|
160
|
+
majorName?: string;
|
|
161
|
+
/**
|
|
162
|
+
* 最低分1,2025
|
|
163
|
+
*/
|
|
164
|
+
minGrade1?: number;
|
|
165
|
+
/**
|
|
166
|
+
* 最低排名1,2025
|
|
167
|
+
*/
|
|
168
|
+
minRank1?: number;
|
|
169
|
+
/**
|
|
170
|
+
* 最低分2,2024
|
|
171
|
+
*/
|
|
172
|
+
minGrade2?: number;
|
|
173
|
+
/**
|
|
174
|
+
* 最低排名2,2024
|
|
175
|
+
*/
|
|
176
|
+
minRank2?: number;
|
|
177
|
+
/**
|
|
178
|
+
* 最低分3,2023
|
|
179
|
+
*/
|
|
180
|
+
minGrade3?: number;
|
|
181
|
+
/**
|
|
182
|
+
* 最低排名3,2023
|
|
183
|
+
*/
|
|
184
|
+
minRank3?: number;
|
|
185
|
+
/**
|
|
186
|
+
* 学费
|
|
187
|
+
*/
|
|
188
|
+
money?: number;
|
|
189
|
+
/**
|
|
190
|
+
* 招生人数
|
|
191
|
+
*/
|
|
192
|
+
hc?: number;
|
|
193
|
+
/**
|
|
194
|
+
* 学制
|
|
195
|
+
*/
|
|
196
|
+
yearsSchool?: number;
|
|
197
|
+
/**
|
|
198
|
+
* 备注
|
|
199
|
+
*/
|
|
200
|
+
remark?: string;
|
|
201
|
+
/**
|
|
202
|
+
* 学校id
|
|
203
|
+
*/
|
|
204
|
+
schoolId?: string;
|
|
205
|
+
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { type ReportTypeEnum } from './ReportTypeEnum';
|
|
2
|
-
import { type
|
|
2
|
+
import { type IReportRecommendSchool } from './IReportData';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* 报告列表
|
|
6
6
|
*/
|
|
7
7
|
export interface IReportList {
|
|
8
|
+
/**
|
|
9
|
+
* 报告id
|
|
10
|
+
*/
|
|
11
|
+
reportId?: string;
|
|
8
12
|
/**
|
|
9
13
|
* 报告类型
|
|
10
14
|
*/
|
|
@@ -42,5 +46,5 @@ export interface IGaoKaoReportInfo {
|
|
|
42
46
|
/**
|
|
43
47
|
* 推荐院校
|
|
44
48
|
*/
|
|
45
|
-
recommendSchool?:
|
|
49
|
+
recommendSchool?: IReportRecommendSchool[];
|
|
46
50
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type IReportInfo } from './IReportInfo';
|
|
2
2
|
import type { IScoreRank } from './IScoreRank';
|
|
3
|
+
import { type IReportBasicInfo } from './IReportBasicInfo';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* 报告信息
|
|
@@ -20,4 +21,8 @@ export interface IReportResult {
|
|
|
20
21
|
* 一分一档
|
|
21
22
|
*/
|
|
22
23
|
gradeInfo?: IScoreRank;
|
|
24
|
+
/**
|
|
25
|
+
* 报告基础信息
|
|
26
|
+
*/
|
|
27
|
+
reportBasicInfo?: IReportBasicInfo;
|
|
23
28
|
}
|
|
@@ -5,6 +5,10 @@ import { type SessionRoleEnum } from './ISessionRole';
|
|
|
5
5
|
* 会话内容
|
|
6
6
|
*/
|
|
7
7
|
export interface ISessionContent {
|
|
8
|
+
/**
|
|
9
|
+
* 内容id
|
|
10
|
+
*/
|
|
11
|
+
contentId?: string;
|
|
8
12
|
/**
|
|
9
13
|
* 步骤id
|
|
10
14
|
*/
|
|
@@ -90,9 +94,18 @@ export interface IUserMessage {
|
|
|
90
94
|
*/
|
|
91
95
|
content?: string;
|
|
92
96
|
/**
|
|
93
|
-
*
|
|
97
|
+
* 格式化信息
|
|
94
98
|
*/
|
|
95
|
-
formatInfo?:
|
|
99
|
+
formatInfo?: {
|
|
100
|
+
/**
|
|
101
|
+
* 类型
|
|
102
|
+
*/
|
|
103
|
+
formType?: string;
|
|
104
|
+
/**
|
|
105
|
+
* json字符串
|
|
106
|
+
*/
|
|
107
|
+
data?: string;
|
|
108
|
+
};
|
|
96
109
|
/**
|
|
97
110
|
* 原内容类型,语音、文字、图片
|
|
98
111
|
*/
|
|
@@ -496,7 +509,19 @@ export const enum FormTypeEnum {
|
|
|
496
509
|
/**
|
|
497
510
|
* 兴趣偏好
|
|
498
511
|
*/
|
|
499
|
-
GaokaoPreferenceInfo = 'gaokaoPreferenceInfo'
|
|
512
|
+
GaokaoPreferenceInfo = 'gaokaoPreferenceInfo',
|
|
513
|
+
/**
|
|
514
|
+
* 经济资源规划
|
|
515
|
+
*/
|
|
516
|
+
GaokaoEconomicPlanInfo = 'gaokaoEconomicPlanInfo',
|
|
517
|
+
/**
|
|
518
|
+
* 三维探索
|
|
519
|
+
*/
|
|
520
|
+
GaokaoExploreInfo = 'gaokaoExploreInfo',
|
|
521
|
+
/**
|
|
522
|
+
* 未来规划
|
|
523
|
+
*/
|
|
524
|
+
GaokaoFuturePlanInfo = 'gaokaoFuturePlanInfo'
|
|
500
525
|
}
|
|
501
526
|
|
|
502
527
|
/**
|
|
@@ -12,8 +12,9 @@ import {
|
|
|
12
12
|
type IReportResult,
|
|
13
13
|
type ReportTypeEnum,
|
|
14
14
|
type SubReportTypeEnum,
|
|
15
|
-
type
|
|
16
|
-
type
|
|
15
|
+
type IConfigInfo,
|
|
16
|
+
type INeedCollectStructuredInfo,
|
|
17
|
+
type IInvitationCodeUsedItem
|
|
17
18
|
} from '../common';
|
|
18
19
|
import { type ICounselorType } from '../common/ICounselorType';
|
|
19
20
|
import { type IGaokaoVolunteerRecommendationReport } from '../common/IReportData';
|
|
@@ -227,6 +228,23 @@ export interface IGetCounselorTypeRes extends ICommonRes {
|
|
|
227
228
|
data?: ICounselorType[] | null;
|
|
228
229
|
}
|
|
229
230
|
|
|
231
|
+
/**
|
|
232
|
+
* 添加咨询师类型 req
|
|
233
|
+
*/
|
|
234
|
+
export interface IAddCounselorTypeReq extends ICommonReq, ICounselorType {}
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* 添加咨询师类型 res
|
|
238
|
+
*/
|
|
239
|
+
export interface IAddCounselorTypeRes extends ICommonRes {
|
|
240
|
+
data?: {
|
|
241
|
+
/**
|
|
242
|
+
* 新增记录的 _id
|
|
243
|
+
*/
|
|
244
|
+
id?: string;
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
|
|
230
248
|
/**
|
|
231
249
|
* 智能体的req
|
|
232
250
|
*/
|
|
@@ -266,7 +284,20 @@ export interface IAgentReq extends ICommonReq {
|
|
|
266
284
|
/**
|
|
267
285
|
* 格式化的表单数据 包括高考数据和报告数据
|
|
268
286
|
*/
|
|
269
|
-
formattedFormData?:
|
|
287
|
+
formattedFormData?: unknown;
|
|
288
|
+
/**
|
|
289
|
+
* 相关关联的内容信息
|
|
290
|
+
*/
|
|
291
|
+
relatedContentInfo?: {
|
|
292
|
+
/**
|
|
293
|
+
* 相关内容id
|
|
294
|
+
*/
|
|
295
|
+
relatedContentId?: string;
|
|
296
|
+
/**
|
|
297
|
+
* 工具的消息
|
|
298
|
+
*/
|
|
299
|
+
needCollectStructuredInfo?: INeedCollectStructuredInfo;
|
|
300
|
+
};
|
|
270
301
|
}
|
|
271
302
|
|
|
272
303
|
/**
|
|
@@ -517,3 +548,89 @@ export interface IGetReportInfoReq extends ICommonReq {}
|
|
|
517
548
|
export interface IGetReportInfoRes extends ICommonRes {
|
|
518
549
|
data?: IReportList[];
|
|
519
550
|
}
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* 添加邀请码 req
|
|
554
|
+
*/
|
|
555
|
+
export interface IAddInvitationCodeReq extends ICommonReq {
|
|
556
|
+
/**
|
|
557
|
+
* 咨询师类型和使用情况
|
|
558
|
+
*/
|
|
559
|
+
usedInfo?: IInvitationCodeUsedItem[];
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* 添加邀请码 res
|
|
564
|
+
*/
|
|
565
|
+
export interface IAddInvitationCodeRes extends ICommonRes {
|
|
566
|
+
data?: {
|
|
567
|
+
/**
|
|
568
|
+
* 邀请码
|
|
569
|
+
*/
|
|
570
|
+
invitationCode?: string;
|
|
571
|
+
};
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* 核销邀请码 req
|
|
576
|
+
*/
|
|
577
|
+
export interface IConsumeInvitationCodeReq extends ICommonReq {
|
|
578
|
+
/**
|
|
579
|
+
* 邀请码
|
|
580
|
+
*/
|
|
581
|
+
invitationCode: string;
|
|
582
|
+
/**
|
|
583
|
+
* 要核销的咨询师维度(与创建时 usedInfo.counselorId 一致)
|
|
584
|
+
*/
|
|
585
|
+
counselorId: string;
|
|
586
|
+
/**
|
|
587
|
+
* 会话id
|
|
588
|
+
*/
|
|
589
|
+
sessionId: string;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* 核销邀请码 res
|
|
594
|
+
*/
|
|
595
|
+
export interface IConsumeInvitationCodeRes extends ICommonRes {
|
|
596
|
+
data?: {
|
|
597
|
+
/**
|
|
598
|
+
* 该咨询师当前已用次数
|
|
599
|
+
*/
|
|
600
|
+
usedNum?: number;
|
|
601
|
+
/**
|
|
602
|
+
* 该咨询师总额度
|
|
603
|
+
*/
|
|
604
|
+
oriNum?: number;
|
|
605
|
+
};
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* 查询邀请码信息 req
|
|
610
|
+
*/
|
|
611
|
+
export interface IGetInvitationCodeReq extends ICommonReq {
|
|
612
|
+
/**
|
|
613
|
+
* 邀请码
|
|
614
|
+
*/
|
|
615
|
+
invitationCode: string;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* 查询邀请码信息 res
|
|
620
|
+
*/
|
|
621
|
+
export interface IGetInvitationCodeRes extends ICommonRes {
|
|
622
|
+
data?: {
|
|
623
|
+
/**
|
|
624
|
+
* 邀请码
|
|
625
|
+
*/
|
|
626
|
+
invitationCode?: string;
|
|
627
|
+
/**
|
|
628
|
+
* 创建人
|
|
629
|
+
*/
|
|
630
|
+
createUid?: string;
|
|
631
|
+
/**
|
|
632
|
+
* 使用情况
|
|
633
|
+
*/
|
|
634
|
+
usedInfo?: IInvitationCodeUsedItem[];
|
|
635
|
+
};
|
|
636
|
+
}
|