@hddjs/hdd-cloud-types 1.0.12 → 1.0.14-SNAPSHOT.1
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/HddCloud/index.d.ts +1 -1
- package/hdd-ai-cloud/common/IConfigInfo.d.ts +1 -0
- package/hdd-ai-cloud/common/IGetRecommendSchool.d.ts +16 -0
- package/hdd-ai-cloud/common/IInquiryBasicInfo.d.ts +4 -0
- package/hdd-ai-cloud/common/IReportData.d.ts +15 -0
- package/hdd-ai-cloud/common/IReportInfo.d.ts +14 -2
- package/hdd-ai-cloud/common/IReportResult.d.ts +1 -1
- package/hdd-ai-cloud/common/ISessionContent.d.ts +1 -1
- package/hdd-ai-cloud/common/ISseData.d.ts +99 -59
- package/hdd-ai-cloud/common/index.d.ts +29 -29
- package/hdd-ai-cloud/controller/index.d.ts +1 -1
- package/hdd-ai-cloud/index.d.ts +3 -3
- package/index.d.ts +2 -2
- package/package.json +2 -2
- package/hdd-ai-cloud/common/ICallUniCloudParams.js +0 -3
- package/hdd-ai-cloud/common/ICallUniCloudParams.js.map +0 -1
- package/hdd-ai-cloud/common/ICommonRequstHead.js +0 -3
- package/hdd-ai-cloud/common/ICommonRequstHead.js.map +0 -1
- package/hdd-ai-cloud/common/IFormatProfessional.js +0 -3
- package/hdd-ai-cloud/common/IFormatProfessional.js.map +0 -1
- /package/hdd-ai-cloud/common/{ICallUniCloudParams.ts → ICallUniCloudParams.d.ts} +0 -0
- /package/hdd-ai-cloud/common/{ICommonRequstHead.ts → ICommonRequstHead.d.ts} +0 -0
- /package/hdd-ai-cloud/common/{IFormatProfessional.ts → IFormatProfessional.d.ts} +0 -0
package/HddCloud/index.d.ts
CHANGED
|
@@ -26,6 +26,22 @@ export interface IGetRecommendSchool {
|
|
|
26
26
|
* 省份名称
|
|
27
27
|
*/
|
|
28
28
|
schoolProvince?: string;
|
|
29
|
+
/**
|
|
30
|
+
* 区
|
|
31
|
+
*/
|
|
32
|
+
townName?: string;
|
|
33
|
+
/**
|
|
34
|
+
* 属性
|
|
35
|
+
*/
|
|
36
|
+
attrList?: string[];
|
|
37
|
+
/**
|
|
38
|
+
* 标签
|
|
39
|
+
*/
|
|
40
|
+
labelList?: string[];
|
|
41
|
+
/**
|
|
42
|
+
* icon的url
|
|
43
|
+
*/
|
|
44
|
+
iconUrl?: string;
|
|
29
45
|
/**
|
|
30
46
|
* 组别id
|
|
31
47
|
*/
|
|
@@ -134,3 +134,18 @@ export interface IGaokaoFutureDevelopmentReport {
|
|
|
134
134
|
*/
|
|
135
135
|
careerDevelopmentAdvice?: string;
|
|
136
136
|
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* 高考志愿填报:分数定位分析报告
|
|
140
|
+
* @interface IGaokaoScorePositionReport
|
|
141
|
+
*/
|
|
142
|
+
export interface IGaokaoScorePositionReport {
|
|
143
|
+
/**
|
|
144
|
+
* 标题信息
|
|
145
|
+
*/
|
|
146
|
+
title?: string;
|
|
147
|
+
/**
|
|
148
|
+
* 描述
|
|
149
|
+
*/
|
|
150
|
+
desc?: string;
|
|
151
|
+
}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
type IGaokaoFutureDevelopmentReport,
|
|
3
|
+
type IGaokaoScorePositionReport,
|
|
4
|
+
type IGaokaoVolunteerRecommendationReport
|
|
5
|
+
} from './IReportData';
|
|
6
|
+
import { type SubReportTypeEnum } from './SubReportTypeEnum';
|
|
7
|
+
|
|
1
8
|
/**
|
|
2
9
|
* 报告信息
|
|
3
10
|
*/
|
|
@@ -9,7 +16,7 @@ export interface IReportInfo {
|
|
|
9
16
|
/**
|
|
10
17
|
* 报告类型
|
|
11
18
|
*/
|
|
12
|
-
reportType?:
|
|
19
|
+
reportType?: SubReportTypeEnum;
|
|
13
20
|
/**
|
|
14
21
|
* 状态 0:创建中,1:已创建
|
|
15
22
|
*/
|
|
@@ -17,5 +24,10 @@ export interface IReportInfo {
|
|
|
17
24
|
/**
|
|
18
25
|
* 报告信息
|
|
19
26
|
*/
|
|
20
|
-
reportInfo?:
|
|
27
|
+
reportInfo?:
|
|
28
|
+
| IGaokaoVolunteerRecommendationReport
|
|
29
|
+
| IGaokaoInterestReport
|
|
30
|
+
| IGaokaoMajorMatchingReport
|
|
31
|
+
| IGaokaoFutureDevelopmentReport
|
|
32
|
+
| IGaokaoScorePositionReport;
|
|
21
33
|
}
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 工具消息类型
|
|
3
|
+
*/
|
|
4
|
+
export const enum IToolTypeEnum {
|
|
5
|
+
/**
|
|
6
|
+
* 文本消息
|
|
7
|
+
*/
|
|
8
|
+
TextMessage = 'textMessage',
|
|
9
|
+
/**
|
|
10
|
+
* 可视化图表消息
|
|
11
|
+
*/
|
|
12
|
+
VisualChart = 'visualChart',
|
|
13
|
+
/**
|
|
14
|
+
* 行为动作消息 如结束对话、展示按钮等行为
|
|
15
|
+
*/
|
|
16
|
+
BehaviorAction = 'behaviorAction'
|
|
17
|
+
}
|
|
18
|
+
|
|
1
19
|
/**
|
|
2
20
|
* sse流式返回片段
|
|
3
21
|
*/
|
|
@@ -25,57 +43,7 @@ export interface ISseData {
|
|
|
25
43
|
/**
|
|
26
44
|
* 需要收集非结构化信息
|
|
27
45
|
*/
|
|
28
|
-
needCollectstructuredInfo?:
|
|
29
|
-
/**
|
|
30
|
-
* 表单类型
|
|
31
|
-
*/
|
|
32
|
-
type?: string;
|
|
33
|
-
/**
|
|
34
|
-
* 对用户的语言提示
|
|
35
|
-
*/
|
|
36
|
-
voiceTip?: string;
|
|
37
|
-
/**
|
|
38
|
-
* 表单标题
|
|
39
|
-
*/
|
|
40
|
-
title?: string;
|
|
41
|
-
/**
|
|
42
|
-
* 表单描述
|
|
43
|
-
*/
|
|
44
|
-
description?: string;
|
|
45
|
-
/**
|
|
46
|
-
* 等效的AI内容(当不使用结构化展示时候可以使用等效的AI内容展示给用户 或 用于上下文)
|
|
47
|
-
*/
|
|
48
|
-
equalAiContent: string;
|
|
49
|
-
/**
|
|
50
|
-
* 需要收集的字段列表
|
|
51
|
-
*/
|
|
52
|
-
fields: {
|
|
53
|
-
/**
|
|
54
|
-
* 字段名称
|
|
55
|
-
*/
|
|
56
|
-
name?: string;
|
|
57
|
-
/**
|
|
58
|
-
* 字段标签
|
|
59
|
-
*/
|
|
60
|
-
label?: string;
|
|
61
|
-
/**
|
|
62
|
-
* 字段描述
|
|
63
|
-
*/
|
|
64
|
-
description?: string;
|
|
65
|
-
/**
|
|
66
|
-
* 是否必填
|
|
67
|
-
*/
|
|
68
|
-
required?: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* 选项
|
|
71
|
-
*/
|
|
72
|
-
options?: string[];
|
|
73
|
-
/**
|
|
74
|
-
* 占位符
|
|
75
|
-
*/
|
|
76
|
-
placeholder?: string;
|
|
77
|
-
}[];
|
|
78
|
-
};
|
|
46
|
+
needCollectstructuredInfo?: INeedCollectStructuredInfo;
|
|
79
47
|
/**
|
|
80
48
|
* 错误信息
|
|
81
49
|
*/
|
|
@@ -84,17 +52,34 @@ export interface ISseData {
|
|
|
84
52
|
errMsg?: string;
|
|
85
53
|
};
|
|
86
54
|
/**
|
|
87
|
-
*
|
|
55
|
+
* 工具消息
|
|
88
56
|
*/
|
|
89
|
-
|
|
57
|
+
toolMessage?: {
|
|
90
58
|
/**
|
|
91
|
-
*
|
|
59
|
+
* 工具消息类型
|
|
92
60
|
*/
|
|
93
|
-
|
|
61
|
+
toolType?: IToolTypeEnum;
|
|
94
62
|
/**
|
|
95
|
-
*
|
|
63
|
+
* 工具消息内容
|
|
96
64
|
*/
|
|
97
|
-
|
|
65
|
+
toolContent?: string;
|
|
66
|
+
/**
|
|
67
|
+
* 可视化图表数据
|
|
68
|
+
*/
|
|
69
|
+
visualChartData?: Record<string, any>;
|
|
70
|
+
/**
|
|
71
|
+
* 行为动作
|
|
72
|
+
*/
|
|
73
|
+
behaviorAction?: {
|
|
74
|
+
/**
|
|
75
|
+
* 行为动作
|
|
76
|
+
*/
|
|
77
|
+
action?: IBehaviorAction;
|
|
78
|
+
/**
|
|
79
|
+
* 行为动作描述
|
|
80
|
+
*/
|
|
81
|
+
actionDescription?: string;
|
|
82
|
+
};
|
|
98
83
|
};
|
|
99
84
|
}
|
|
100
85
|
|
|
@@ -129,7 +114,62 @@ export const enum SseDataTypeEnum {
|
|
|
129
114
|
*/
|
|
130
115
|
ErrorInfo = 'errorInfo',
|
|
131
116
|
/**
|
|
132
|
-
*
|
|
117
|
+
* 工具消息
|
|
133
118
|
*/
|
|
134
|
-
|
|
119
|
+
ToolMessage = 'toolMessage'
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* 需要收集结构化信息
|
|
124
|
+
*/
|
|
125
|
+
export interface INeedCollectStructuredInfo {
|
|
126
|
+
/**
|
|
127
|
+
* 表单类型
|
|
128
|
+
*/
|
|
129
|
+
type?: string;
|
|
130
|
+
/**
|
|
131
|
+
* 对用户的语言提示
|
|
132
|
+
*/
|
|
133
|
+
voiceTip?: string;
|
|
134
|
+
/**
|
|
135
|
+
* 表单标题
|
|
136
|
+
*/
|
|
137
|
+
title?: string;
|
|
138
|
+
/**
|
|
139
|
+
* 表单描述
|
|
140
|
+
*/
|
|
141
|
+
description?: string;
|
|
142
|
+
/**
|
|
143
|
+
* 等效的AI内容(当不使用结构化展示时候可以使用等效的AI内容展示给用户 或 用于上下文)
|
|
144
|
+
*/
|
|
145
|
+
equalAiContent?: string;
|
|
146
|
+
/**
|
|
147
|
+
* 需要收集的字段列表
|
|
148
|
+
*/
|
|
149
|
+
fields: {
|
|
150
|
+
/**
|
|
151
|
+
* 字段名称
|
|
152
|
+
*/
|
|
153
|
+
name?: string;
|
|
154
|
+
/**
|
|
155
|
+
* 字段标签
|
|
156
|
+
*/
|
|
157
|
+
label?: string;
|
|
158
|
+
/**
|
|
159
|
+
* 字段描述
|
|
160
|
+
*/
|
|
161
|
+
description?: string;
|
|
162
|
+
/**
|
|
163
|
+
* 是否必填
|
|
164
|
+
*/
|
|
165
|
+
required?: boolean;
|
|
166
|
+
/**
|
|
167
|
+
* 选项
|
|
168
|
+
*/
|
|
169
|
+
options?: string[];
|
|
170
|
+
/**
|
|
171
|
+
* 占位符
|
|
172
|
+
*/
|
|
173
|
+
placeholder?: string;
|
|
174
|
+
}[];
|
|
135
175
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
export * from './ICommonReqRes';
|
|
2
|
-
export * from './ISessionRole';
|
|
3
|
-
export * from './ISessionContent';
|
|
4
|
-
export * from './ICounselor';
|
|
5
|
-
export * from './IChatAiMessageItem';
|
|
6
|
-
export * from './AISceneEnum';
|
|
7
|
-
export * from './ISceneAiConfig';
|
|
8
|
-
export * from './IAliFcContext';
|
|
9
|
-
export * from './ISseChunk';
|
|
10
|
-
export * from './ICallUniCloudParams';
|
|
11
|
-
export * from './ICommonRequstHead';
|
|
12
|
-
export * from './IFormatCutOffCollegeData';
|
|
13
|
-
export * from './IFormatProfessional.ts';
|
|
14
|
-
export * from './IPicture.ts';
|
|
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';
|
|
28
|
-
export * from './IFormatGaokaoBasicInfo';
|
|
29
|
-
export * from './IConfigInfo';
|
|
1
|
+
export * from './ICommonReqRes.d.ts';
|
|
2
|
+
export * from './ISessionRole.d.ts';
|
|
3
|
+
export * from './ISessionContent.d.ts';
|
|
4
|
+
export * from './ICounselor.d.ts';
|
|
5
|
+
export * from './IChatAiMessageItem.d.ts';
|
|
6
|
+
export * from './AISceneEnum.d.ts';
|
|
7
|
+
export * from './ISceneAiConfig.d.ts';
|
|
8
|
+
export * from './IAliFcContext.d.ts';
|
|
9
|
+
export * from './ISseChunk.d.ts';
|
|
10
|
+
export * from './ICallUniCloudParams.d.ts';
|
|
11
|
+
export * from './ICommonRequstHead.d.ts';
|
|
12
|
+
export * from './IFormatCutOffCollegeData.d.ts';
|
|
13
|
+
export * from './IFormatProfessional.d.ts';
|
|
14
|
+
export * from './IPicture.d.ts';
|
|
15
|
+
export * from './ISseData.d.ts';
|
|
16
|
+
export * from './ISelectSubject.d.ts';
|
|
17
|
+
export * from './IInquiryBasicInfo.d.ts';
|
|
18
|
+
export * from './IInquirySession.d.ts';
|
|
19
|
+
export * from './ISessionContent.d.ts';
|
|
20
|
+
export * from './IGetRecommendSchool.d.ts';
|
|
21
|
+
export * from './IScoreRank.d.ts';
|
|
22
|
+
export * from './IReportInfo.d.ts';
|
|
23
|
+
export * from './IReportResult.d.ts';
|
|
24
|
+
export * from './ICommonError.d.ts';
|
|
25
|
+
export * from './ReportTypeEnum.d.ts';
|
|
26
|
+
export * from './SubReportTypeEnum.d.ts';
|
|
27
|
+
export * from './IReportData.d.ts';
|
|
28
|
+
export * from './IFormatGaokaoBasicInfo.d.ts';
|
|
29
|
+
export * from './IConfigInfo.d.ts';
|
package/hdd-ai-cloud/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './common';
|
|
2
|
-
export * from './controller';
|
|
3
|
-
export * from './service';
|
|
1
|
+
export * from './common/index.d.ts';
|
|
2
|
+
export * from './controller/index.d.ts';
|
|
3
|
+
export * from './service/index.d.ts';
|
package/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './hdd-ai-cloud';
|
|
2
|
-
export * from './HddCloud';
|
|
1
|
+
export * from './hdd-ai-cloud/index.d.ts';
|
|
2
|
+
export * from './HddCloud/index.d.ts';
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ICallUniCloudParams.js","sourceRoot":"","sources":["ICallUniCloudParams.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ICommonRequstHead.js","sourceRoot":"","sources":["ICommonRequstHead.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IFormatProfessional.js","sourceRoot":"","sources":["IFormatProfessional.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|