@hddjs/hdd-cloud-types 1.0.5 → 1.0.8
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/ICallUniCloudParams.js +1 -0
- package/hdd-ai-cloud/common/ICallUniCloudParams.js.map +1 -0
- package/hdd-ai-cloud/common/ICommonError.d.ts +13 -0
- package/hdd-ai-cloud/common/ICommonReqRes.d.ts +2 -9
- package/hdd-ai-cloud/common/ICommonRequstHead.js +1 -0
- package/hdd-ai-cloud/common/ICommonRequstHead.js.map +1 -0
- package/hdd-ai-cloud/common/ICounselorType.d.ts +23 -0
- package/hdd-ai-cloud/common/IFormatProfessional.js +3 -0
- package/hdd-ai-cloud/common/IFormatProfessional.js.map +1 -0
- package/hdd-ai-cloud/common/IGetRecommendSchool.d.ts +77 -0
- package/hdd-ai-cloud/common/IInquiryBasicInfo.d.ts +39 -0
- package/hdd-ai-cloud/common/IInquirySession.d.ts +25 -0
- package/hdd-ai-cloud/common/IPicture.d.ts +2 -2
- package/hdd-ai-cloud/common/IReportData.d.ts +136 -0
- package/hdd-ai-cloud/common/IReportInfo.d.ts +21 -0
- package/hdd-ai-cloud/common/IReportResult.d.ts +23 -0
- package/hdd-ai-cloud/common/IScoreRank.d.ts +18 -0
- package/hdd-ai-cloud/common/ISelectSubject.d.ts +29 -0
- package/hdd-ai-cloud/common/ISessionContent.d.ts +20 -2
- package/hdd-ai-cloud/common/ReportTypeEnum.d.ts +7 -0
- package/hdd-ai-cloud/common/SubReportTypeEnum.d.ts +18 -0
- package/hdd-ai-cloud/common/index.d.ts +12 -0
- package/hdd-ai-cloud/controller/index.d.ts +255 -54
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ICallUniCloudParams.js","sourceRoot":"","sources":["ICallUniCloudParams.ts"],"names":[],"mappings":""}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
+
import { type ICommonError } from './ICommonError';
|
|
1
2
|
/**
|
|
2
3
|
* 通用res返回参数
|
|
3
4
|
*/
|
|
4
|
-
export interface ICommonRes {
|
|
5
|
-
/**
|
|
6
|
-
* 错误码 0:成功
|
|
7
|
-
*/
|
|
8
|
-
errCode?: string;
|
|
9
|
-
/**
|
|
10
|
-
* 错误信息
|
|
11
|
-
*/
|
|
12
|
-
errMsg?: string;
|
|
5
|
+
export interface ICommonRes extends ICommonError {
|
|
13
6
|
/**
|
|
14
7
|
* 运行时间 ms
|
|
15
8
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ICommonRequstHead.js","sourceRoot":"","sources":["ICommonRequstHead.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type IPicture } from './IPicture';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 咨询师信息
|
|
5
|
+
*/
|
|
6
|
+
export interface ICounselorType {
|
|
7
|
+
/**
|
|
8
|
+
* 咨询师id
|
|
9
|
+
*/
|
|
10
|
+
counselorId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* 咨询师名称
|
|
13
|
+
*/
|
|
14
|
+
counselorName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* 咨询师头像url
|
|
17
|
+
*/
|
|
18
|
+
avatar?: IPicture | null;
|
|
19
|
+
/**
|
|
20
|
+
* 报告类型
|
|
21
|
+
*/
|
|
22
|
+
reportTypes: string[];
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFormatProfessional.js","sourceRoot":"","sources":["IFormatProfessional.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 推荐学校
|
|
3
|
+
*/
|
|
4
|
+
export interface IGetRecommendSchool {
|
|
5
|
+
/**
|
|
6
|
+
* 年份
|
|
7
|
+
*/
|
|
8
|
+
year?: number;
|
|
9
|
+
/**
|
|
10
|
+
* 分数
|
|
11
|
+
*/
|
|
12
|
+
grade?: number;
|
|
13
|
+
/**
|
|
14
|
+
* 学校id
|
|
15
|
+
*/
|
|
16
|
+
schoolId?: number;
|
|
17
|
+
/**
|
|
18
|
+
* 学校名称
|
|
19
|
+
*/
|
|
20
|
+
schoolName?: String;
|
|
21
|
+
/**
|
|
22
|
+
* 省份id
|
|
23
|
+
*/
|
|
24
|
+
provinceId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* 省份名称
|
|
27
|
+
*/
|
|
28
|
+
schoolProvince?: string;
|
|
29
|
+
/**
|
|
30
|
+
* 组别id
|
|
31
|
+
*/
|
|
32
|
+
groupId?: number;
|
|
33
|
+
/**
|
|
34
|
+
* 批次id
|
|
35
|
+
*/
|
|
36
|
+
batchId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* 专业标识
|
|
39
|
+
*/
|
|
40
|
+
majorGroupId?: string;
|
|
41
|
+
/**
|
|
42
|
+
* 专业选科要求
|
|
43
|
+
*/
|
|
44
|
+
majorRequirement?: string;
|
|
45
|
+
/**
|
|
46
|
+
* 专业选科要求id
|
|
47
|
+
*/
|
|
48
|
+
majorRequirementId?: number;
|
|
49
|
+
/**
|
|
50
|
+
* 省控线
|
|
51
|
+
*/
|
|
52
|
+
minControlLine?: number;
|
|
53
|
+
/**
|
|
54
|
+
* 排名
|
|
55
|
+
*/
|
|
56
|
+
rank?: number;
|
|
57
|
+
/**
|
|
58
|
+
* 招生代码
|
|
59
|
+
*/
|
|
60
|
+
enrollmentId?: string;
|
|
61
|
+
/**
|
|
62
|
+
* 专业名称
|
|
63
|
+
*/
|
|
64
|
+
majorName?: string;
|
|
65
|
+
/**
|
|
66
|
+
* 学费
|
|
67
|
+
*/
|
|
68
|
+
money?: number;
|
|
69
|
+
/**
|
|
70
|
+
* 招生人数
|
|
71
|
+
*/
|
|
72
|
+
hc?: number;
|
|
73
|
+
/**
|
|
74
|
+
* 冲稳保标识
|
|
75
|
+
*/
|
|
76
|
+
strategyTag?: 'chong' | 'wen' | 'bao';
|
|
77
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type ISelectSubject } from './ISelectSubject';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 基础信息
|
|
5
|
+
*/
|
|
6
|
+
export interface IInquiryBasicInfo {
|
|
7
|
+
/**
|
|
8
|
+
* 选科信息
|
|
9
|
+
*/
|
|
10
|
+
selectSubject?: ISelectSubject;
|
|
11
|
+
/**
|
|
12
|
+
* 会话id
|
|
13
|
+
*/
|
|
14
|
+
sessionId?: string;
|
|
15
|
+
/**
|
|
16
|
+
* 省份id
|
|
17
|
+
*/
|
|
18
|
+
provinceId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* 省份
|
|
21
|
+
*/
|
|
22
|
+
province?: string;
|
|
23
|
+
/**
|
|
24
|
+
* 年份
|
|
25
|
+
*/
|
|
26
|
+
year?: number;
|
|
27
|
+
/**
|
|
28
|
+
* 分数
|
|
29
|
+
*/
|
|
30
|
+
grade?: number | null;
|
|
31
|
+
/**
|
|
32
|
+
* 排名
|
|
33
|
+
*/
|
|
34
|
+
rank?: number | null;
|
|
35
|
+
/**
|
|
36
|
+
* 组别id
|
|
37
|
+
*/
|
|
38
|
+
groupId?: number;
|
|
39
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 问询会话
|
|
3
|
+
*/
|
|
4
|
+
export interface IInquirySession {
|
|
5
|
+
/**
|
|
6
|
+
* 用户id
|
|
7
|
+
*/
|
|
8
|
+
uid?: string;
|
|
9
|
+
/**
|
|
10
|
+
* 咨询师id
|
|
11
|
+
*/
|
|
12
|
+
counselorId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* 咨询师name
|
|
15
|
+
*/
|
|
16
|
+
counselorName?: string;
|
|
17
|
+
/**
|
|
18
|
+
* 会话标题
|
|
19
|
+
*/
|
|
20
|
+
sessionTitle?: string;
|
|
21
|
+
/**
|
|
22
|
+
* 当前步骤
|
|
23
|
+
*/
|
|
24
|
+
currentStepId?: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 高考霍兰德职业兴趣测评报告接口
|
|
3
|
+
* @interface IGaokaoInterestReport
|
|
4
|
+
*/
|
|
5
|
+
export interface IGaokaoInterestReport {
|
|
6
|
+
/**
|
|
7
|
+
* 报告摘要
|
|
8
|
+
* @description 对用户职业兴趣的综合分析和描述
|
|
9
|
+
*/
|
|
10
|
+
summary: string;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* 六个维度的得分
|
|
14
|
+
* @description 霍兰德职业兴趣理论的六个维度分数
|
|
15
|
+
*/
|
|
16
|
+
score?: {
|
|
17
|
+
/** 现实型分数 (Realistic) */
|
|
18
|
+
R: number;
|
|
19
|
+
/** 研究型分数 (Investigative) */
|
|
20
|
+
I: number;
|
|
21
|
+
/** 艺术型分数 (Artistic) */
|
|
22
|
+
A: number;
|
|
23
|
+
/** 社会型分数 (Social) */
|
|
24
|
+
S: number;
|
|
25
|
+
/** 企业型分数 (Enterprising) */
|
|
26
|
+
E: number;
|
|
27
|
+
/** 传统型分数 (Conventional) */
|
|
28
|
+
C: number;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* 主导类型
|
|
33
|
+
* @description 用户的主要职业兴趣类型,应为R、I、A、S、E、C中的一个
|
|
34
|
+
*/
|
|
35
|
+
type: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* 高考专业推荐报告接口
|
|
40
|
+
* @interface IMajorRecommendReport
|
|
41
|
+
*/
|
|
42
|
+
export interface IGaokaoMajorMatchingReport {
|
|
43
|
+
/**
|
|
44
|
+
* 报告摘要
|
|
45
|
+
* @description 对用户的专业推荐的综合分析和描述
|
|
46
|
+
*/
|
|
47
|
+
summary: string;
|
|
48
|
+
/**
|
|
49
|
+
* 补充描述
|
|
50
|
+
* @description 对用户的专业推荐的补充描述
|
|
51
|
+
*/
|
|
52
|
+
description: string;
|
|
53
|
+
/**
|
|
54
|
+
* 专业推荐列表
|
|
55
|
+
* @description 用户推荐的专业列表
|
|
56
|
+
*/
|
|
57
|
+
recommendedMajors: {
|
|
58
|
+
/**
|
|
59
|
+
* 专业名称
|
|
60
|
+
*/
|
|
61
|
+
name: string;
|
|
62
|
+
/**
|
|
63
|
+
* 匹配度分数 满分100分
|
|
64
|
+
*/
|
|
65
|
+
matchScore: number;
|
|
66
|
+
}[];
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* 高考志愿推荐:院校排序接口
|
|
71
|
+
* @interface IGaokaoVolunteerRecommendationReport
|
|
72
|
+
*/
|
|
73
|
+
export interface IGaokaoVolunteerRecommendationReport {
|
|
74
|
+
recommendations: IRecommendationSchoolItem[];
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* 院校排序等推荐列表项
|
|
79
|
+
*/
|
|
80
|
+
export interface IRecommendationSchoolItem {
|
|
81
|
+
/**
|
|
82
|
+
* 学校名称
|
|
83
|
+
*/
|
|
84
|
+
schoolName?: String;
|
|
85
|
+
/**
|
|
86
|
+
* 招生代码
|
|
87
|
+
*/
|
|
88
|
+
enrollmentId?: string;
|
|
89
|
+
/**
|
|
90
|
+
* 专业名称
|
|
91
|
+
*/
|
|
92
|
+
majorName?: string;
|
|
93
|
+
/**
|
|
94
|
+
* 去年最低排名
|
|
95
|
+
*/
|
|
96
|
+
rank?: number;
|
|
97
|
+
/**
|
|
98
|
+
* 学费
|
|
99
|
+
*/
|
|
100
|
+
money?: number;
|
|
101
|
+
/**
|
|
102
|
+
* 招生人数
|
|
103
|
+
*/
|
|
104
|
+
hc?: number;
|
|
105
|
+
/**
|
|
106
|
+
* 排序理由
|
|
107
|
+
*/
|
|
108
|
+
rankReason?: string;
|
|
109
|
+
/**
|
|
110
|
+
* 冲稳保策略标识
|
|
111
|
+
*/
|
|
112
|
+
strategyTag?: 'chong' | 'wen' | 'bao';
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* 高考志愿未来发展:未来发展建议接口
|
|
117
|
+
* @interface IGaokaoFutureDevelopmentReport
|
|
118
|
+
*/
|
|
119
|
+
export interface IGaokaoFutureDevelopmentReport {
|
|
120
|
+
/**
|
|
121
|
+
* 未来发展建议摘要
|
|
122
|
+
*/
|
|
123
|
+
futureDevelopmentSummary?: string;
|
|
124
|
+
/**
|
|
125
|
+
* 大学学习建议
|
|
126
|
+
*/
|
|
127
|
+
universityLearningAdvice?: string;
|
|
128
|
+
/**
|
|
129
|
+
* 能力提升建议
|
|
130
|
+
*/
|
|
131
|
+
abilityImprovementAdvice?: string;
|
|
132
|
+
/**
|
|
133
|
+
* 职业发展建议
|
|
134
|
+
*/
|
|
135
|
+
careerDevelopmentAdvice?: string;
|
|
136
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 报告信息
|
|
3
|
+
*/
|
|
4
|
+
export interface IReportInfo {
|
|
5
|
+
/**
|
|
6
|
+
* 会话id
|
|
7
|
+
*/
|
|
8
|
+
sessionId?: string;
|
|
9
|
+
/**
|
|
10
|
+
* 报告类型
|
|
11
|
+
*/
|
|
12
|
+
reportType?: string;
|
|
13
|
+
/**
|
|
14
|
+
* 状态 0:创建中,1:已创建
|
|
15
|
+
*/
|
|
16
|
+
status?: number;
|
|
17
|
+
/**
|
|
18
|
+
* 报告信息
|
|
19
|
+
*/
|
|
20
|
+
reportInfo?: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type IReportInfo } from './IReportInfo';
|
|
2
|
+
import type { IScoreRank } from './IScoreRank';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* 报告信息
|
|
6
|
+
*/
|
|
7
|
+
export interface IReportResult {
|
|
8
|
+
/**
|
|
9
|
+
* code
|
|
10
|
+
* part: 部分完成
|
|
11
|
+
* generating: 都未完成
|
|
12
|
+
* generated: 全部完成
|
|
13
|
+
*/
|
|
14
|
+
code?: string;
|
|
15
|
+
/**
|
|
16
|
+
*报告信息
|
|
17
|
+
*/
|
|
18
|
+
reportInfos?: IReportInfo[];
|
|
19
|
+
/**
|
|
20
|
+
* 一分一档
|
|
21
|
+
*/
|
|
22
|
+
gradeInfo?: IScoreRank;
|
|
23
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 一分一档前端展示对象
|
|
3
|
+
*/
|
|
4
|
+
export interface IScoreRankSeriesVO {
|
|
5
|
+
name?: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
data?: Array<string | null>;
|
|
8
|
+
index?: number;
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* 一份一档表
|
|
14
|
+
*/
|
|
15
|
+
export interface IScoreRank {
|
|
16
|
+
categories?: Array<string | null>;
|
|
17
|
+
series?: Array<IScoreRankSeriesVO | null>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 选科信息
|
|
3
|
+
*/
|
|
4
|
+
export interface ISelectSubject {
|
|
5
|
+
/**
|
|
6
|
+
* 物理
|
|
7
|
+
*/
|
|
8
|
+
physics?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* 化学
|
|
11
|
+
*/
|
|
12
|
+
chemistry?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* 生物
|
|
15
|
+
*/
|
|
16
|
+
biology?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* 历史
|
|
19
|
+
*/
|
|
20
|
+
history?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* 政治
|
|
23
|
+
*/
|
|
24
|
+
politics?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* 地理
|
|
27
|
+
*/
|
|
28
|
+
geography?: boolean;
|
|
29
|
+
}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
|
+
import { type SessionRoleEnum } from './ISessionRole';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* 会话内容
|
|
3
5
|
*/
|
|
4
6
|
export interface ISessionContent {
|
|
5
7
|
/**
|
|
6
|
-
*
|
|
8
|
+
* sessionId
|
|
7
9
|
*/
|
|
8
|
-
|
|
10
|
+
sessionId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* 步骤id
|
|
13
|
+
*/
|
|
14
|
+
stepId?: string;
|
|
15
|
+
/**
|
|
16
|
+
* 内容
|
|
17
|
+
*/
|
|
18
|
+
content?: string;
|
|
19
|
+
/**
|
|
20
|
+
* 原内容类型
|
|
21
|
+
*/
|
|
22
|
+
oriContentType?: string;
|
|
23
|
+
/**
|
|
24
|
+
* 角色
|
|
25
|
+
*/
|
|
26
|
+
role?: SessionRoleEnum;
|
|
9
27
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 报告类型枚举
|
|
3
|
+
* @enum {string}
|
|
4
|
+
*/
|
|
5
|
+
export const enum SubReportTypeEnum {
|
|
6
|
+
/** 分数定位分析 */
|
|
7
|
+
GAOKAO_SCORE_POSITION = 'gaokao-score-position',
|
|
8
|
+
/** 高考志愿兴趣分析:霍兰德职业兴趣测评报告 */
|
|
9
|
+
GAOKAO_INTEREST = 'gaokao-interest',
|
|
10
|
+
/** 高考志愿推荐:院校排序等推荐 */
|
|
11
|
+
GAOKAO_VOLUNTEER_RECOMMENDATION = 'gaokao-volunteer-recommendation',
|
|
12
|
+
/** 高考志愿专业匹配分析:专业推荐报告(专业匹配分析\排序) */
|
|
13
|
+
GAOKAO_MAJOR_MATCHING = 'gaokao-major-matching',
|
|
14
|
+
/** 高考志愿专业院校解读 */
|
|
15
|
+
GAOKAO_KEY_UNIVERSITY = 'gaokao-key-university',
|
|
16
|
+
/** 高考志愿未来发展:未来发展建议 */
|
|
17
|
+
GAOKAO_FUTURE_DEVELOPMENT = 'gaokao-future-development'
|
|
18
|
+
}
|
|
@@ -13,3 +13,15 @@ export * from './IFormatCutOffCollegeData';
|
|
|
13
13
|
export * from './IFormatProfessional.ts';
|
|
14
14
|
export * from './IPicture.ts';
|
|
15
15
|
export * from './ISseData';
|
|
16
|
+
export * from './ISelectSubject';
|
|
17
|
+
export * from './IInquiryBasicInfo';
|
|
18
|
+
export * from './IInquirySession';
|
|
19
|
+
export * from './ISessionContent';
|
|
20
|
+
export * from './IGetRecommendSchool';
|
|
21
|
+
export * from './IScoreRank';
|
|
22
|
+
export * from './IReportInfo';
|
|
23
|
+
export * from './IReportResult';
|
|
24
|
+
export * from './ICommonError';
|
|
25
|
+
export * from './ReportTypeEnum';
|
|
26
|
+
export * from './SubReportTypeEnum';
|
|
27
|
+
export * from './IReportData';
|
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import { type IChatAiMessageItem } from '../common/IChatAiMessageItem';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import {
|
|
3
|
+
type ICommonReq,
|
|
4
|
+
type AISceneEnum,
|
|
5
|
+
type ICommonRes,
|
|
6
|
+
type ISelectSubject,
|
|
7
|
+
type IInquiryBasicInfo,
|
|
8
|
+
type IInquirySession,
|
|
9
|
+
type ISessionContent,
|
|
10
|
+
type IGetRecommendSchool,
|
|
11
|
+
type IScoreRank,
|
|
12
|
+
type IReportResult,
|
|
13
|
+
type ReportTypeEnum,
|
|
14
|
+
type SubReportTypeEnum
|
|
15
|
+
} from '../common';
|
|
16
|
+
import { type ICounselorType } from '../common/ICounselorType';
|
|
4
17
|
|
|
5
18
|
/**
|
|
6
19
|
* 千问AI聊天api 请求参数
|
|
@@ -139,78 +152,50 @@ export interface IGuessAnswerListRes extends ICommonRes {
|
|
|
139
152
|
}
|
|
140
153
|
|
|
141
154
|
/**
|
|
142
|
-
* 生成报告的
|
|
155
|
+
* 生成报告的res
|
|
143
156
|
*/
|
|
144
|
-
export interface
|
|
145
|
-
/**
|
|
146
|
-
* 会话id
|
|
147
|
-
*/
|
|
148
|
-
sessionId?: string;
|
|
157
|
+
export interface IAiGenerateReportRes extends ICommonRes {
|
|
149
158
|
/**
|
|
150
|
-
*
|
|
159
|
+
* 成功数量
|
|
151
160
|
*/
|
|
152
|
-
|
|
161
|
+
successCount?: number;
|
|
153
162
|
/**
|
|
154
|
-
*
|
|
163
|
+
* 失败数量
|
|
155
164
|
*/
|
|
156
|
-
|
|
165
|
+
failedCount?: number;
|
|
157
166
|
/**
|
|
158
|
-
*
|
|
167
|
+
* 错误信息
|
|
159
168
|
*/
|
|
160
|
-
|
|
169
|
+
errors?: string[];
|
|
161
170
|
/**
|
|
162
|
-
*
|
|
171
|
+
* 报告数据
|
|
163
172
|
*/
|
|
164
|
-
|
|
173
|
+
reportData?: Record<string, unknown>;
|
|
165
174
|
}
|
|
166
175
|
|
|
167
176
|
/**
|
|
168
|
-
* 生成报告的
|
|
169
|
-
*/
|
|
170
|
-
export interface IGenerateReportRes extends ICommonRes {}
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* 咨询师类型请求
|
|
177
|
+
* 生成报告的req
|
|
174
178
|
*/
|
|
175
|
-
export interface
|
|
176
|
-
/**
|
|
177
|
-
* 咨询师id
|
|
178
|
-
*/
|
|
179
|
-
counselorId?: string;
|
|
179
|
+
export interface IAiGenerateReportReq extends ICommonReq {
|
|
180
180
|
/**
|
|
181
|
-
*
|
|
181
|
+
* 报告id
|
|
182
182
|
*/
|
|
183
|
-
|
|
183
|
+
reportId?: string;
|
|
184
184
|
/**
|
|
185
|
-
*
|
|
185
|
+
* 报告类型
|
|
186
186
|
*/
|
|
187
|
-
|
|
187
|
+
reportType?: ReportTypeEnum;
|
|
188
188
|
/**
|
|
189
|
-
*
|
|
189
|
+
* 报告类型列表
|
|
190
190
|
*/
|
|
191
|
-
|
|
191
|
+
subReportTypeList?: SubReportTypeEnum[];
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
/**
|
|
195
|
-
*
|
|
195
|
+
* 获取咨询师类型的响应
|
|
196
196
|
*/
|
|
197
|
-
export interface
|
|
198
|
-
|
|
199
|
-
* 咨询师id
|
|
200
|
-
*/
|
|
201
|
-
counselorId?: string;
|
|
202
|
-
/**
|
|
203
|
-
* 咨询师名称
|
|
204
|
-
*/
|
|
205
|
-
counselorName?: string;
|
|
206
|
-
/**
|
|
207
|
-
* 咨询师头像url
|
|
208
|
-
*/
|
|
209
|
-
avatar?: IPicture;
|
|
210
|
-
/**
|
|
211
|
-
* 报告类型
|
|
212
|
-
*/
|
|
213
|
-
reportTypes: string[];
|
|
197
|
+
export interface IGetCounselorTypeRes extends ICommonRes {
|
|
198
|
+
data?: ICounselorType[] | null;
|
|
214
199
|
}
|
|
215
200
|
|
|
216
201
|
/**
|
|
@@ -218,9 +203,9 @@ export interface IGenerateReportRes extends ICommonRes {
|
|
|
218
203
|
*/
|
|
219
204
|
export interface IAgentReq extends ICommonReq {
|
|
220
205
|
/**
|
|
221
|
-
* 智能体类型 necc
|
|
206
|
+
* 智能体类型 necc为高考智能体, gaokao为高考智能体, report为报告智能体
|
|
222
207
|
*/
|
|
223
|
-
type: 'ncee';
|
|
208
|
+
type: 'ncee' | 'gaokao' | 'report';
|
|
224
209
|
/**
|
|
225
210
|
* 节点名称 恢复对话时候前端透传需要回到的节点名称
|
|
226
211
|
*/
|
|
@@ -241,7 +226,10 @@ export interface IAgentReq extends ICommonReq {
|
|
|
241
226
|
* 是否展示图表数据 'F' | 'T'
|
|
242
227
|
*/
|
|
243
228
|
showGraph?: 'F' | 'T';
|
|
244
|
-
|
|
229
|
+
/**
|
|
230
|
+
* 高考数据
|
|
231
|
+
*/
|
|
232
|
+
gaokaoData?: {
|
|
245
233
|
/**
|
|
246
234
|
* 高考排名
|
|
247
235
|
*/
|
|
@@ -251,6 +239,19 @@ export interface IAgentReq extends ICommonReq {
|
|
|
251
239
|
*/
|
|
252
240
|
mainSubject?: string;
|
|
253
241
|
};
|
|
242
|
+
/**
|
|
243
|
+
* 报告数据
|
|
244
|
+
*/
|
|
245
|
+
reportData?: {
|
|
246
|
+
/**
|
|
247
|
+
* 报告id
|
|
248
|
+
*/
|
|
249
|
+
reportId?: string;
|
|
250
|
+
/**
|
|
251
|
+
* 报告类型
|
|
252
|
+
*/
|
|
253
|
+
reportTypeList?: ('holland' | 'career')[];
|
|
254
|
+
};
|
|
254
255
|
}
|
|
255
256
|
|
|
256
257
|
/**
|
|
@@ -277,3 +278,203 @@ export interface ISttOneMinuteRes extends ICommonRes {
|
|
|
277
278
|
transResult?: string;
|
|
278
279
|
};
|
|
279
280
|
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* 获取group info的req
|
|
284
|
+
*/
|
|
285
|
+
export interface IGetGroupInfoReq extends ICommonReq, ISelectSubject {}
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* 获取group info的res
|
|
289
|
+
*/
|
|
290
|
+
export interface IGetGroupInfoRes extends ICommonRes {
|
|
291
|
+
data?: {
|
|
292
|
+
/**
|
|
293
|
+
* 组别id
|
|
294
|
+
*/
|
|
295
|
+
groupId?: number;
|
|
296
|
+
/**
|
|
297
|
+
* 描述
|
|
298
|
+
*/
|
|
299
|
+
desc?: string;
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* 添加基础信息req
|
|
305
|
+
*/
|
|
306
|
+
export interface IAddInquiryBasicInfoReq extends ICommonReq, IInquiryBasicInfo {}
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* 添加基础信息res
|
|
310
|
+
*/
|
|
311
|
+
export interface IAddInquiryBasicInfoRes extends ICommonRes {
|
|
312
|
+
data?: {
|
|
313
|
+
/**
|
|
314
|
+
* 基础信息id
|
|
315
|
+
*/
|
|
316
|
+
basicId?: string;
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* 获取基础信息req
|
|
322
|
+
*/
|
|
323
|
+
export interface IGetInquiryBasicInfoReq extends ICommonRes {
|
|
324
|
+
sessionId?: string;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* 添加基础信息res
|
|
329
|
+
*/
|
|
330
|
+
export interface IGetInquiryBasicInfoRes extends ICommonRes {
|
|
331
|
+
data?: {
|
|
332
|
+
/**
|
|
333
|
+
* 基础信息
|
|
334
|
+
*/
|
|
335
|
+
basicInfo?: IInquiryBasicInfo;
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* 添加问询会话req
|
|
341
|
+
*/
|
|
342
|
+
export interface IAddInquirySessionReq extends ICommonReq, IInquirySession {}
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* 添加问询会话res
|
|
346
|
+
*/
|
|
347
|
+
export interface IAddInquirySessionRes extends ICommonRes {
|
|
348
|
+
data?: {
|
|
349
|
+
/**
|
|
350
|
+
* 问询会话id
|
|
351
|
+
*/
|
|
352
|
+
sessionId?: string;
|
|
353
|
+
};
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* 获取问询会话req
|
|
358
|
+
*/
|
|
359
|
+
export interface IGetInquirySessionListReq extends ICommonRes {
|
|
360
|
+
/**
|
|
361
|
+
* 咨询师id
|
|
362
|
+
*/
|
|
363
|
+
counselorId?: string;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* 添加问询会话res
|
|
368
|
+
*/
|
|
369
|
+
export interface IGetInquirySessionListRes extends ICommonRes {
|
|
370
|
+
data?: {
|
|
371
|
+
/**
|
|
372
|
+
* 问询会话列表
|
|
373
|
+
*/
|
|
374
|
+
sessionInfos?: IInquirySession[];
|
|
375
|
+
};
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* 添加会话内容req
|
|
380
|
+
*/
|
|
381
|
+
export interface IAddSessionContentReq extends ICommonReq, ISessionContent {}
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* 添加会话内容res
|
|
385
|
+
*/
|
|
386
|
+
export interface IAddSessionContentRes extends ICommonRes {
|
|
387
|
+
data?: {
|
|
388
|
+
/**
|
|
389
|
+
* 会话内容id
|
|
390
|
+
*/
|
|
391
|
+
contentId?: string;
|
|
392
|
+
};
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* 获取会话内容req
|
|
397
|
+
*/
|
|
398
|
+
export interface IGetSessionContentReq extends ICommonRes {
|
|
399
|
+
/**
|
|
400
|
+
* 会话id
|
|
401
|
+
*/
|
|
402
|
+
sessionId?: string;
|
|
403
|
+
/**
|
|
404
|
+
* 步骤id
|
|
405
|
+
*/
|
|
406
|
+
stepId?: string;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* 添加会话内容res
|
|
411
|
+
*/
|
|
412
|
+
export interface IGetSessionContentRes extends ICommonRes {
|
|
413
|
+
data?: {
|
|
414
|
+
/**
|
|
415
|
+
* 会话内容列表
|
|
416
|
+
*/
|
|
417
|
+
contents?: ISessionContent[];
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* 获取推荐学校req
|
|
423
|
+
*/
|
|
424
|
+
export interface IGetRecommendSchoolReq extends ICommonRes {
|
|
425
|
+
/**
|
|
426
|
+
* 会话id
|
|
427
|
+
*/
|
|
428
|
+
sessionId?: string;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* 获取推荐学校res
|
|
433
|
+
*/
|
|
434
|
+
export interface IGetRecommendSchoolRes extends ICommonRes {
|
|
435
|
+
data?: {
|
|
436
|
+
/**
|
|
437
|
+
* 推荐学校列表
|
|
438
|
+
*/
|
|
439
|
+
schoolInfos?: IGetRecommendSchool[];
|
|
440
|
+
};
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* 一分一档req
|
|
445
|
+
*/
|
|
446
|
+
export interface IGetGradeInfoReq extends ICommonRes {
|
|
447
|
+
/**
|
|
448
|
+
* 会话id
|
|
449
|
+
*/
|
|
450
|
+
sessionId?: string;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* 一分一档res
|
|
455
|
+
*/
|
|
456
|
+
export interface IGetGradeInfoRes extends ICommonRes {
|
|
457
|
+
data?: {
|
|
458
|
+
/**
|
|
459
|
+
* 一分一档
|
|
460
|
+
*/
|
|
461
|
+
gradeInfo?: IScoreRank;
|
|
462
|
+
};
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* 生成报告信息req
|
|
467
|
+
*/
|
|
468
|
+
export interface IGenerateReportInfoReq extends ICommonRes {
|
|
469
|
+
/**
|
|
470
|
+
* 会话id
|
|
471
|
+
*/
|
|
472
|
+
sessionId?: string;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* 生成报告信息res
|
|
477
|
+
*/
|
|
478
|
+
export interface IGenerateReportInfoRes extends ICommonRes {
|
|
479
|
+
data?: IReportResult;
|
|
480
|
+
}
|