@hddjs/hdd-cloud-types 1.0.21 → 1.0.25
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/IInquirySession.d.ts +4 -0
- package/hdd-ai-cloud/common/IInvitationCodeUsedItem.d.ts +17 -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 +2 -2
- package/hdd-ai-cloud/common/IReportResult.d.ts +5 -0
- package/hdd-ai-cloud/common/ISessionContent.d.ts +13 -5
- package/hdd-ai-cloud/common/index.d.ts +2 -0
- package/hdd-ai-cloud/controller/index.d.ts +127 -1
- 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,5 +1,5 @@
|
|
|
1
1
|
import { type ReportTypeEnum } from './ReportTypeEnum';
|
|
2
|
-
import { type
|
|
2
|
+
import { type IReportRecommendSchool } from './IReportData';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* 报告列表
|
|
@@ -46,5 +46,5 @@ export interface IGaoKaoReportInfo {
|
|
|
46
46
|
/**
|
|
47
47
|
* 推荐院校
|
|
48
48
|
*/
|
|
49
|
-
recommendSchool?:
|
|
49
|
+
recommendSchool?: IReportRecommendSchool[];
|
|
50
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
|
}
|
|
@@ -13,10 +13,6 @@ export interface ISessionContent {
|
|
|
13
13
|
* 步骤id
|
|
14
14
|
*/
|
|
15
15
|
stepId?: string;
|
|
16
|
-
/**
|
|
17
|
-
* 临时内容id sse用于串联chunk
|
|
18
|
-
*/
|
|
19
|
-
tempContentId?: string;
|
|
20
16
|
/**
|
|
21
17
|
* 角色
|
|
22
18
|
*/
|
|
@@ -513,7 +509,19 @@ export const enum FormTypeEnum {
|
|
|
513
509
|
/**
|
|
514
510
|
* 兴趣偏好
|
|
515
511
|
*/
|
|
516
|
-
GaokaoPreferenceInfo = 'gaokaoPreferenceInfo'
|
|
512
|
+
GaokaoPreferenceInfo = 'gaokaoPreferenceInfo',
|
|
513
|
+
/**
|
|
514
|
+
* 经济资源规划
|
|
515
|
+
*/
|
|
516
|
+
GaokaoEconomicPlanInfo = 'gaokaoEconomicPlanInfo',
|
|
517
|
+
/**
|
|
518
|
+
* 三维探索
|
|
519
|
+
*/
|
|
520
|
+
GaokaoExploreInfo = 'gaokaoExploreInfo',
|
|
521
|
+
/**
|
|
522
|
+
* 未来规划
|
|
523
|
+
*/
|
|
524
|
+
GaokaoFuturePlanInfo = 'gaokaoFuturePlanInfo'
|
|
517
525
|
}
|
|
518
526
|
|
|
519
527
|
/**
|
|
@@ -13,7 +13,8 @@ import {
|
|
|
13
13
|
type ReportTypeEnum,
|
|
14
14
|
type SubReportTypeEnum,
|
|
15
15
|
type IConfigInfo,
|
|
16
|
-
type INeedCollectStructuredInfo
|
|
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
|
*/
|
|
@@ -403,6 +421,28 @@ export interface IGetInquirySessionListRes extends ICommonRes {
|
|
|
403
421
|
};
|
|
404
422
|
}
|
|
405
423
|
|
|
424
|
+
/**
|
|
425
|
+
* 校验会话有效性 req
|
|
426
|
+
*/
|
|
427
|
+
export interface IGetInquirySessionReq extends ICommonReq {
|
|
428
|
+
/**
|
|
429
|
+
* 会话 id
|
|
430
|
+
*/
|
|
431
|
+
sessionId: string;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* 校验会话有效性 res
|
|
436
|
+
*/
|
|
437
|
+
export interface IGetInquirySessionRes extends ICommonRes {
|
|
438
|
+
data?: {
|
|
439
|
+
/**
|
|
440
|
+
* 会话信息
|
|
441
|
+
*/
|
|
442
|
+
sessionInfo?: IInquirySession;
|
|
443
|
+
};
|
|
444
|
+
}
|
|
445
|
+
|
|
406
446
|
/**
|
|
407
447
|
* 添加会话内容req
|
|
408
448
|
*/
|
|
@@ -530,3 +570,89 @@ export interface IGetReportInfoReq extends ICommonReq {}
|
|
|
530
570
|
export interface IGetReportInfoRes extends ICommonRes {
|
|
531
571
|
data?: IReportList[];
|
|
532
572
|
}
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* 添加邀请码 req
|
|
576
|
+
*/
|
|
577
|
+
export interface IAddInvitationCodeReq extends ICommonReq {
|
|
578
|
+
/**
|
|
579
|
+
* 咨询师类型和使用情况
|
|
580
|
+
*/
|
|
581
|
+
usedInfo?: IInvitationCodeUsedItem[];
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* 添加邀请码 res
|
|
586
|
+
*/
|
|
587
|
+
export interface IAddInvitationCodeRes extends ICommonRes {
|
|
588
|
+
data?: {
|
|
589
|
+
/**
|
|
590
|
+
* 邀请码
|
|
591
|
+
*/
|
|
592
|
+
invitationCode?: string;
|
|
593
|
+
};
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* 核销邀请码 req
|
|
598
|
+
*/
|
|
599
|
+
export interface IConsumeInvitationCodeReq extends ICommonReq {
|
|
600
|
+
/**
|
|
601
|
+
* 邀请码
|
|
602
|
+
*/
|
|
603
|
+
invitationCode: string;
|
|
604
|
+
/**
|
|
605
|
+
* 要核销的咨询师维度(与创建时 usedInfo.counselorId 一致)
|
|
606
|
+
*/
|
|
607
|
+
counselorId: string;
|
|
608
|
+
/**
|
|
609
|
+
* 会话id
|
|
610
|
+
*/
|
|
611
|
+
sessionId: string;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* 核销邀请码 res
|
|
616
|
+
*/
|
|
617
|
+
export interface IConsumeInvitationCodeRes extends ICommonRes {
|
|
618
|
+
data?: {
|
|
619
|
+
/**
|
|
620
|
+
* 该咨询师当前已用次数
|
|
621
|
+
*/
|
|
622
|
+
usedNum?: number;
|
|
623
|
+
/**
|
|
624
|
+
* 该咨询师总额度
|
|
625
|
+
*/
|
|
626
|
+
oriNum?: number;
|
|
627
|
+
};
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* 查询邀请码信息 req
|
|
632
|
+
*/
|
|
633
|
+
export interface IGetInvitationCodeReq extends ICommonReq {
|
|
634
|
+
/**
|
|
635
|
+
* 邀请码
|
|
636
|
+
*/
|
|
637
|
+
invitationCode: string;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* 查询邀请码信息 res
|
|
642
|
+
*/
|
|
643
|
+
export interface IGetInvitationCodeRes extends ICommonRes {
|
|
644
|
+
data?: {
|
|
645
|
+
/**
|
|
646
|
+
* 邀请码
|
|
647
|
+
*/
|
|
648
|
+
invitationCode?: string;
|
|
649
|
+
/**
|
|
650
|
+
* 创建人
|
|
651
|
+
*/
|
|
652
|
+
createUid?: string;
|
|
653
|
+
/**
|
|
654
|
+
* 使用情况
|
|
655
|
+
*/
|
|
656
|
+
usedInfo?: IInvitationCodeUsedItem[];
|
|
657
|
+
};
|
|
658
|
+
}
|