@hddjs/hdd-cloud-types 1.0.6 → 1.0.10

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.
Files changed (41) hide show
  1. package/HddCloud/common/index.d.ts +4 -4
  2. package/HddCloud/index.d.ts +59 -59
  3. package/README.md +2 -2
  4. package/hdd-ai-cloud/common/AISceneEnum.d.ts +54 -54
  5. package/hdd-ai-cloud/common/IAliFcContext.d.ts +5 -5
  6. package/hdd-ai-cloud/common/ICallUniCloudParams.js +3 -3
  7. package/hdd-ai-cloud/common/ICallUniCloudParams.ts +20 -20
  8. package/hdd-ai-cloud/common/IChatAiMessageItem.d.ts +23 -23
  9. package/hdd-ai-cloud/common/ICommonError.d.ts +13 -0
  10. package/hdd-ai-cloud/common/ICommonReqRes.d.ts +23 -30
  11. package/hdd-ai-cloud/common/ICommonRequstHead.js +3 -3
  12. package/hdd-ai-cloud/common/ICommonRequstHead.ts +17 -17
  13. package/hdd-ai-cloud/common/IConfigInfo.d.ts +6 -0
  14. package/hdd-ai-cloud/common/ICounselor.d.ts +4 -4
  15. package/hdd-ai-cloud/common/ICounselorType.d.ts +23 -23
  16. package/hdd-ai-cloud/common/IFormatCutOffCollegeData.d.ts +29 -29
  17. package/hdd-ai-cloud/common/IFormatGaokaoBasicInfo.d.ts +67 -0
  18. package/hdd-ai-cloud/common/IFormatProfessional.js +3 -3
  19. package/hdd-ai-cloud/common/IFormatProfessional.ts +29 -29
  20. package/hdd-ai-cloud/common/IGetRecommendSchool.d.ts +77 -73
  21. package/hdd-ai-cloud/common/IInquiryBasicInfo.d.ts +39 -39
  22. package/hdd-ai-cloud/common/IInquirySession.d.ts +25 -25
  23. package/hdd-ai-cloud/common/IPicture.d.ts +13 -13
  24. package/hdd-ai-cloud/common/IReportData.d.ts +136 -0
  25. package/hdd-ai-cloud/common/ISceneAiConfig.d.ts +27 -27
  26. package/hdd-ai-cloud/common/IScoreRank.d.ts +18 -18
  27. package/hdd-ai-cloud/common/ISelectSubject.d.ts +29 -29
  28. package/hdd-ai-cloud/common/ISessionContent.d.ts +31 -27
  29. package/hdd-ai-cloud/common/ISessionRole.d.ts +21 -21
  30. package/hdd-ai-cloud/common/ISseChunk.d.ts +57 -57
  31. package/hdd-ai-cloud/common/ISseData.d.ts +108 -96
  32. package/hdd-ai-cloud/common/IThisContext.d.ts +128 -128
  33. package/hdd-ai-cloud/common/ReportTypeEnum.d.ts +7 -0
  34. package/hdd-ai-cloud/common/SubReportTypeEnum.d.ts +18 -0
  35. package/hdd-ai-cloud/common/index.d.ts +29 -23
  36. package/hdd-ai-cloud/controller/index.d.ts +496 -453
  37. package/hdd-ai-cloud/index.d.ts +3 -3
  38. package/hdd-ai-cloud/service/index.d.ts +36 -36
  39. package/index.d.ts +2 -2
  40. package/npmPublish.md +10 -10
  41. package/package.json +11 -11
@@ -1,453 +1,496 @@
1
- import { type IChatAiMessageItem } from '../common/IChatAiMessageItem';
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
- } from '../common';
14
- import { type ICounselorType } from '../common/ICounselorType';
15
-
16
- /**
17
- * 千问AI聊天api 请求参数
18
- */
19
- export interface IChatQwenReq extends ICommonReq {
20
- /**
21
- * 历史对话消息
22
- */
23
- messages: IChatAiMessageItem[];
24
- /**
25
- * 是否开启流式传输
26
- */
27
- stream: boolean;
28
- /**
29
- * 提问场景
30
- */
31
- scene?: AISceneEnum;
32
- /**
33
- * 通道id(如果开启流式传输stream为true则必传)
34
- */
35
- channel?: string;
36
- /**
37
- * 是否开发模式 仅调式使用 默认false 前端禁止使用
38
- */
39
- devMode?: boolean;
40
- /**
41
- *会话id 如有则表示是已经创建的聊天 没有则表示是新聊天
42
- */
43
- sessionId?: string;
44
- /**
45
- *会话步骤id
46
- */
47
- stepId?: string;
48
- }
49
-
50
- /**
51
- * 千问AI聊天api 返回参数
52
- */
53
- export interface IChatQwenRes extends ICommonReq {
54
- /**
55
- * ai回复消息(完成拼接之后的消息)
56
- */
57
- message: string;
58
- /**
59
- * llm运行总时间 单位ms
60
- */
61
- llmRunTime: number;
62
- }
63
-
64
- /**
65
- * AI聊天api 单次流式传输返回参数
66
- */
67
- export interface IChatAIStreamRes {
68
- /**
69
- * 当前返回的消息
70
- */
71
- chunkMessage: string;
72
- /**
73
- * 深度思考的原因 仅deepseek模型返回
74
- */
75
- chunkReasonMessage?: string;
76
- /**
77
- * 索引(从0开始) 本次流式消息是整体流式消息的第几个
78
- */
79
- index: number;
80
- }
81
-
82
- /**
83
- * DeepSeek AI聊天api 请求参数
84
- */
85
- export interface IChatDeepSeekReq extends ICommonReq {
86
- /**
87
- * 历史对话消息
88
- */
89
- messages: IChatAiMessageItem[];
90
- /**
91
- * 是否开启流式传输
92
- */
93
- stream: boolean;
94
- /**
95
- * 通道id(如果开启流式传输stream为true则必传)
96
- */
97
- channel?: string;
98
- /**
99
- * 提问场景
100
- */
101
- scene?: AISceneEnum;
102
- /**
103
- * 是否开发模式 仅调式使用 默认false 前端禁止使用
104
- */
105
- devMode?: boolean;
106
- }
107
-
108
- /**
109
- * DeepSeek AI聊天api 返回参数
110
- */
111
- export interface IChatDeepSeekRes extends ICommonReq {
112
- /**
113
- * ai回复消息(完成拼接之后的消息)
114
- */
115
- message: string;
116
- /**
117
- * deepseek深度思考给出的原因
118
- */
119
- reasonMessage: string;
120
- /**
121
- * llm运行总时间 单位ms
122
- */
123
- llmRunTime: number;
124
- }
125
-
126
- export interface IGuessAnswerListReq extends ICommonReq {
127
- /**
128
- * 问题内容
129
- */
130
- content: string;
131
- /**
132
- * 临时消息id
133
- */
134
- tempMsgId: string;
135
- /**
136
- * 场景
137
- */
138
- scene?: AISceneEnum;
139
- }
140
-
141
- export interface IGuessAnswerListRes extends ICommonRes {
142
- /**
143
- * 关联的问题id
144
- */
145
- relatedTempMsgId?: string;
146
- /**
147
- * 可能的答案选项
148
- */
149
- choices?: string[];
150
- }
151
-
152
- /**
153
- * 生成报告的req
154
- */
155
- export interface IGenerateReportReq extends ICommonReq {
156
- /**
157
- * 会话id
158
- */
159
- sessionId?: string;
160
- /**
161
- * 报告id
162
- */
163
- reportId?: string;
164
- /**
165
- * 报告类型,例如:专业、性格
166
- */
167
- reportType?: string;
168
- /**
169
- * 咨询类型
170
- */
171
- counselorId?: string;
172
- /**
173
- * 报告所需数据
174
- */
175
- params?: any;
176
- }
177
-
178
- /**
179
- * 生成报告的res
180
- */
181
- export interface IGenerateReportRes extends ICommonRes {}
182
-
183
- /**
184
- * 获取咨询师类型的响应
185
- */
186
- export interface IGetCounselorTypeRes extends ICommonRes {
187
- data?: ICounselorType[] | null;
188
- }
189
-
190
- /**
191
- * 智能体的req
192
- */
193
- export interface IAgentReq extends ICommonReq {
194
- /**
195
- * 智能体类型 necc为高考智能体
196
- */
197
- type: 'ncee';
198
- /**
199
- * 节点名称 恢复对话时候前端透传需要回到的节点名称
200
- */
201
- gotoNodeName?: string;
202
- /**
203
- * 会话id
204
- */
205
- sessionId?: string;
206
- /**
207
- * 用户输入信息
208
- */
209
- content?: string;
210
- /**
211
- * 是否是恢复上次的会话 'F' | 'T'
212
- */
213
- isResume?: 'F' | 'T';
214
- /**
215
- * 是否展示图表数据 'F' | 'T'
216
- */
217
- showGraph?: 'F' | 'T';
218
- gaokaoData: {
219
- /**
220
- * 高考排名
221
- */
222
- rank?: string;
223
- /**
224
- * 高考主要选课
225
- */
226
- mainSubject?: string;
227
- };
228
- }
229
-
230
- /**
231
- * 智能体res
232
- */
233
- export interface IAgentRes extends ICommonRes {
234
- data?: {
235
- /**
236
- * 图结构showGraph为'T'时返回
237
- */
238
- base64Image?: string;
239
- /**
240
- * 智能体回复的消息
241
- */
242
- message: string[];
243
- };
244
- }
245
-
246
- export interface ISttOneMinuteRes extends ICommonRes {
247
- data?: {
248
- /**
249
- * 翻译结果
250
- */
251
- transResult?: string;
252
- };
253
- }
254
-
255
- /**
256
- * 获取group info的req
257
- */
258
- export interface IGetGroupInfoReq extends ICommonReq, ISelectSubject {}
259
-
260
- /**
261
- * 获取group info的res
262
- */
263
- export interface IGetGroupInfoRes extends ICommonRes {
264
- data?: {
265
- /**
266
- * 组别id
267
- */
268
- groupId?: number;
269
- /**
270
- * 描述
271
- */
272
- desc?: string;
273
- };
274
- }
275
-
276
- /**
277
- * 添加基础信息req
278
- */
279
- export interface IAddInquiryBasicInfoReq extends ICommonReq, IInquiryBasicInfo {}
280
-
281
- /**
282
- * 添加基础信息res
283
- */
284
- export interface IAddInquiryBasicInfoRes extends ICommonRes {
285
- data?: {
286
- /**
287
- * 基础信息id
288
- */
289
- basicId?: string;
290
- };
291
- }
292
-
293
- /**
294
- * 获取基础信息req
295
- */
296
- export interface IGetInquiryBasicInfoReq extends ICommonRes {
297
- sessionId?: string;
298
- }
299
-
300
- /**
301
- * 添加基础信息res
302
- */
303
- export interface IGetInquiryBasicInfoRes extends ICommonRes {
304
- data?: {
305
- /**
306
- * 基础信息
307
- */
308
- basicInfo?: IInquiryBasicInfo;
309
- };
310
- }
311
-
312
- /**
313
- * 添加问询会话req
314
- */
315
- export interface IAddInquirySessionReq extends ICommonReq, IInquirySession {}
316
-
317
- /**
318
- * 添加问询会话res
319
- */
320
- export interface IAddInquirySessionRes extends ICommonRes {
321
- data?: {
322
- /**
323
- * 问询会话id
324
- */
325
- sessionId?: string;
326
- };
327
- }
328
-
329
- /**
330
- * 获取问询会话req
331
- */
332
- export interface IGetInquirySessionListReq extends ICommonRes {
333
- /**
334
- * 咨询师id
335
- */
336
- counselorId?: string;
337
- }
338
-
339
- /**
340
- * 添加问询会话res
341
- */
342
- export interface IGetInquirySessionListRes extends ICommonRes {
343
- data?: {
344
- /**
345
- * 问询会话列表
346
- */
347
- sessionInfos?: IInquirySession[];
348
- };
349
- }
350
-
351
- /**
352
- * 添加会话内容req
353
- */
354
- export interface IAddSessionContentReq extends ICommonReq, ISessionContent {}
355
-
356
- /**
357
- * 添加会话内容res
358
- */
359
- export interface IAddSessionContentRes extends ICommonRes {
360
- data?: {
361
- /**
362
- * 会话内容id
363
- */
364
- contentId?: string;
365
- };
366
- }
367
-
368
- /**
369
- * 获取会话内容req
370
- */
371
- export interface IGetSessionContentReq extends ICommonRes {
372
- /**
373
- * 会话id
374
- */
375
- sessionId?: string;
376
- /**
377
- * 步骤id
378
- */
379
- stepId?: string;
380
- }
381
-
382
- /**
383
- * 添加会话内容res
384
- */
385
- export interface IGetSessionContentRes extends ICommonRes {
386
- data?: {
387
- /**
388
- * 会话内容列表
389
- */
390
- contents?: ISessionContent[];
391
- };
392
- }
393
-
394
- /**
395
- * 获取推荐学校req
396
- */
397
- export interface IGetRecommendSchoolReq extends ICommonRes {
398
- /**
399
- * 会话id
400
- */
401
- sessionId?: string;
402
- }
403
-
404
- /**
405
- * 获取推荐学校res
406
- */
407
- export interface IGetRecommendSchoolRes extends ICommonRes {
408
- data?: {
409
- /**
410
- * 推荐学校列表
411
- */
412
- schoolInfos?: IGetRecommendSchool[];
413
- };
414
- }
415
-
416
- /**
417
- * 一分一档req
418
- */
419
- export interface IGetGradeInfoReq extends ICommonRes {
420
- /**
421
- * 会话id
422
- */
423
- sessionId?: string;
424
- }
425
-
426
- /**
427
- * 一分一档res
428
- */
429
- export interface IGetGradeInfoRes extends ICommonRes {
430
- data?: {
431
- /**
432
- * 一分一档
433
- */
434
- gradeInfo?: IScoreRank;
435
- };
436
- }
437
-
438
- /**
439
- * 生成报告信息req
440
- */
441
- export interface IGenerateReportInfoReq extends ICommonRes {
442
- /**
443
- * 会话id
444
- */
445
- sessionId?: string;
446
- }
447
-
448
- /**
449
- * 生成报告信息res
450
- */
451
- export interface IGenerateReportInfoRes extends ICommonRes {
452
- data?: IReportResult;
453
- }
1
+ import { type IChatAiMessageItem } from '../common/IChatAiMessageItem';
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
+ type IFormatGaokaoBasicInfo,
16
+ type IConfigInfo
17
+ } from '../common';
18
+ import { type ICounselorType } from '../common/ICounselorType';
19
+ import { type IGaokaoVolunteerRecommendationReport } from '../common/IReportData';
20
+ import { type IGaokaoInterestReport } from '../common/IReportData';
21
+ import { type IGaokaoMajorMatchingReport } from '../common/IReportData';
22
+ import { type IGaokaoFutureDevelopmentReport } from '../common/IReportData';
23
+
24
+ /**
25
+ * 千问AI聊天api 请求参数
26
+ */
27
+ export interface IChatQwenReq extends ICommonReq {
28
+ /**
29
+ * 历史对话消息
30
+ */
31
+ messages: IChatAiMessageItem[];
32
+ /**
33
+ * 是否开启流式传输
34
+ */
35
+ stream: boolean;
36
+ /**
37
+ * 提问场景
38
+ */
39
+ scene?: AISceneEnum;
40
+ /**
41
+ * 通道id(如果开启流式传输stream为true则必传)
42
+ */
43
+ channel?: string;
44
+ /**
45
+ * 是否开发模式 仅调式使用 默认false 前端禁止使用
46
+ */
47
+ devMode?: boolean;
48
+ /**
49
+ *会话id 如有则表示是已经创建的聊天 没有则表示是新聊天
50
+ */
51
+ sessionId?: string;
52
+ /**
53
+ *会话步骤id
54
+ */
55
+ stepId?: string;
56
+ }
57
+
58
+ /**
59
+ * 千问AI聊天api 返回参数
60
+ */
61
+ export interface IChatQwenRes extends ICommonReq {
62
+ /**
63
+ * ai回复消息(完成拼接之后的消息)
64
+ */
65
+ message: string;
66
+ /**
67
+ * llm运行总时间 单位ms
68
+ */
69
+ llmRunTime: number;
70
+ }
71
+
72
+ /**
73
+ * AI聊天api 单次流式传输返回参数
74
+ */
75
+ export interface IChatAIStreamRes {
76
+ /**
77
+ * 当前返回的消息
78
+ */
79
+ chunkMessage: string;
80
+ /**
81
+ * 深度思考的原因 仅deepseek模型返回
82
+ */
83
+ chunkReasonMessage?: string;
84
+ /**
85
+ * 索引(从0开始) 本次流式消息是整体流式消息的第几个
86
+ */
87
+ index: number;
88
+ }
89
+
90
+ /**
91
+ * DeepSeek AI聊天api 请求参数
92
+ */
93
+ export interface IChatDeepSeekReq extends ICommonReq {
94
+ /**
95
+ * 历史对话消息
96
+ */
97
+ messages: IChatAiMessageItem[];
98
+ /**
99
+ * 是否开启流式传输
100
+ */
101
+ stream: boolean;
102
+ /**
103
+ * 通道id(如果开启流式传输stream为true则必传)
104
+ */
105
+ channel?: string;
106
+ /**
107
+ * 提问场景
108
+ */
109
+ scene?: AISceneEnum;
110
+ /**
111
+ * 是否开发模式 仅调式使用 默认false 前端禁止使用
112
+ */
113
+ devMode?: boolean;
114
+ }
115
+
116
+ /**
117
+ * DeepSeek AI聊天api 返回参数
118
+ */
119
+ export interface IChatDeepSeekRes extends ICommonReq {
120
+ /**
121
+ * ai回复消息(完成拼接之后的消息)
122
+ */
123
+ message: string;
124
+ /**
125
+ * deepseek深度思考给出的原因
126
+ */
127
+ reasonMessage: string;
128
+ /**
129
+ * llm运行总时间 单位ms
130
+ */
131
+ llmRunTime: number;
132
+ }
133
+
134
+ export interface IGuessAnswerListReq extends ICommonReq {
135
+ /**
136
+ * 问题内容
137
+ */
138
+ content: string;
139
+ /**
140
+ * 临时消息id
141
+ */
142
+ tempMsgId: string;
143
+ /**
144
+ * 场景
145
+ */
146
+ scene?: AISceneEnum;
147
+ }
148
+
149
+ export interface IGuessAnswerListRes extends ICommonRes {
150
+ /**
151
+ * 关联的问题id
152
+ */
153
+ relatedTempMsgId?: string;
154
+ /**
155
+ * 可能的答案选项
156
+ */
157
+ choices?: string[];
158
+ }
159
+
160
+ /**
161
+ * 生成报告的res
162
+ */
163
+ export interface IAiGenerateReportRes extends ICommonRes {
164
+ /**
165
+ * 成功数量
166
+ */
167
+ successCount?: number;
168
+ /**
169
+ * 失败数量
170
+ */
171
+ failedCount?: number;
172
+ /**
173
+ * 错误信息
174
+ */
175
+ errors?: string[];
176
+ /**
177
+ * 报告数据
178
+ */
179
+ reportData?: {
180
+ /**
181
+ * 高考志愿推荐:院校排序等推荐
182
+ */
183
+ 'gaokao-volunteer-recommendation': IGaokaoVolunteerRecommendationReport;
184
+ /**
185
+ * 高考志愿兴趣分析:霍兰德职业兴趣测评报告
186
+ */
187
+ 'gaokao-interest': IGaokaoInterestReport;
188
+ /**
189
+ * 高考志愿专业匹配分析:专业推荐报告(专业匹配分析\排序)
190
+ */
191
+ 'gaokao-major-matching': IGaokaoMajorMatchingReport;
192
+ /**
193
+ * 高考志愿未来发展:未来发展建议
194
+ */
195
+ 'gaokao-future-development': IGaokaoFutureDevelopmentReport;
196
+ };
197
+ }
198
+
199
+ /**
200
+ * 生成报告的req
201
+ */
202
+ export interface IAiGenerateReportReq extends ICommonReq {
203
+ /**
204
+ * 报告id
205
+ */
206
+ reportId?: string;
207
+ /**
208
+ * 报告类型
209
+ */
210
+ reportType?: ReportTypeEnum;
211
+ /**
212
+ * 报告类型列表
213
+ */
214
+ subReportTypeList?: SubReportTypeEnum[];
215
+ }
216
+
217
+ /**
218
+ * 获取咨询师类型的响应
219
+ */
220
+ export interface IGetCounselorTypeRes extends ICommonRes {
221
+ data?: ICounselorType[] | null;
222
+ }
223
+
224
+ /**
225
+ * 智能体的req
226
+ */
227
+ export interface IAgentReq extends ICommonReq {
228
+ /**
229
+ * 智能体类型 necc为高考智能体, gaokao为高考智能体, report为报告智能体
230
+ */
231
+ type: 'ncee' | 'gaokao' | 'report';
232
+ /**
233
+ * 节点名称 恢复对话时候前端透传需要回到的节点名称
234
+ */
235
+ gotoNodeName?: string;
236
+ /**
237
+ * 会话id
238
+ */
239
+ sessionId?: string;
240
+ /**
241
+ * 用户输入信息
242
+ */
243
+ content?: string;
244
+ /**
245
+ * 步骤id
246
+ */
247
+ stepId?: string;
248
+ /**
249
+ * 是否是恢复上次的会话 'F' | 'T'
250
+ */
251
+ isResume?: 'F' | 'T';
252
+ /**
253
+ * 是否展示图表数据 'F' | 'T'
254
+ */
255
+ showGraph?: 'F' | 'T';
256
+ /**
257
+ * 表单类型
258
+ */
259
+ formType?: 'gaokaoBasicInfo';
260
+ /**
261
+ * 格式化的表单数据 包括高考数据和报告数据
262
+ */
263
+ formattedFormData?: IFormatGaokaoBasicInfo;
264
+ }
265
+
266
+ /**
267
+ * 智能体res
268
+ */
269
+ export interface IAgentRes extends ICommonRes {
270
+ data?: {
271
+ /**
272
+ * 图结构showGraph为'T'时返回
273
+ */
274
+ base64Image?: string;
275
+ /**
276
+ * 智能体回复的消息
277
+ */
278
+ message: string[];
279
+ };
280
+ }
281
+
282
+ export interface ISttOneMinuteRes extends ICommonRes {
283
+ data?: {
284
+ /**
285
+ * 翻译结果
286
+ */
287
+ transResult?: string;
288
+ };
289
+ }
290
+
291
+ /**
292
+ * 获取group info的req
293
+ */
294
+ export interface IGetGroupInfoReq extends ICommonReq, ISelectSubject {}
295
+
296
+ /**
297
+ * 获取group info的res
298
+ */
299
+ export interface IGetGroupInfoRes extends ICommonRes {
300
+ data?: {
301
+ /**
302
+ * 组别id
303
+ */
304
+ groupId?: number;
305
+ /**
306
+ * 描述
307
+ */
308
+ desc?: string;
309
+ };
310
+ }
311
+
312
+ /**
313
+ * 添加基础信息req
314
+ */
315
+ export interface IAddInquiryBasicInfoReq extends ICommonReq, IInquiryBasicInfo {}
316
+
317
+ /**
318
+ * 添加基础信息res
319
+ */
320
+ export interface IAddInquiryBasicInfoRes extends ICommonRes {
321
+ data?: {
322
+ /**
323
+ * 基础信息id
324
+ */
325
+ basicId?: string;
326
+ };
327
+ }
328
+
329
+ /**
330
+ * 获取基础信息req
331
+ */
332
+ export interface IGetInquiryBasicInfoReq extends ICommonRes {
333
+ sessionId?: string;
334
+ }
335
+
336
+ /**
337
+ * 添加基础信息res
338
+ */
339
+ export interface IGetInquiryBasicInfoRes extends ICommonRes {
340
+ data?: {
341
+ /**
342
+ * 基础信息
343
+ */
344
+ basicInfo?: IInquiryBasicInfo;
345
+ };
346
+ }
347
+
348
+ /**
349
+ * 添加问询会话req
350
+ */
351
+ export interface IAddInquirySessionReq extends ICommonReq, IInquirySession {}
352
+
353
+ /**
354
+ * 添加问询会话res
355
+ */
356
+ export interface IAddInquirySessionRes extends ICommonRes {
357
+ data?: {
358
+ /**
359
+ * 问询会话id
360
+ */
361
+ sessionId?: string;
362
+ };
363
+ }
364
+
365
+ /**
366
+ * 获取问询会话req
367
+ */
368
+ export interface IGetInquirySessionListReq extends ICommonRes {
369
+ /**
370
+ * 咨询师id
371
+ */
372
+ counselorId?: string;
373
+ }
374
+
375
+ /**
376
+ * 添加问询会话res
377
+ */
378
+ export interface IGetInquirySessionListRes extends ICommonRes {
379
+ data?: {
380
+ /**
381
+ * 问询会话列表
382
+ */
383
+ sessionInfos?: IInquirySession[];
384
+ };
385
+ }
386
+
387
+ /**
388
+ * 添加会话内容req
389
+ */
390
+ export interface IAddSessionContentReq extends ICommonReq, ISessionContent {}
391
+
392
+ /**
393
+ * 添加会话内容res
394
+ */
395
+ export interface IAddSessionContentRes extends ICommonRes {
396
+ data?: {
397
+ /**
398
+ * 会话内容id
399
+ */
400
+ contentId?: string;
401
+ };
402
+ }
403
+
404
+ /**
405
+ * 获取会话内容req
406
+ */
407
+ export interface IGetSessionContentReq extends ICommonRes {
408
+ /**
409
+ * 会话id
410
+ */
411
+ sessionId?: string;
412
+ /**
413
+ * 步骤id
414
+ */
415
+ stepId?: string;
416
+ }
417
+
418
+ /**
419
+ * 添加会话内容res
420
+ */
421
+ export interface IGetSessionContentRes extends ICommonRes {
422
+ data?: {
423
+ /**
424
+ * 会话内容列表
425
+ */
426
+ contents?: ISessionContent[];
427
+ };
428
+ }
429
+
430
+ /**
431
+ * 获取推荐学校req
432
+ */
433
+ export interface IGetRecommendSchoolReq extends ICommonRes {
434
+ /**
435
+ * 会话id
436
+ */
437
+ sessionId?: string;
438
+ }
439
+
440
+ /**
441
+ * 获取推荐学校res
442
+ */
443
+ export interface IGetRecommendSchoolRes extends ICommonRes {
444
+ data?: {
445
+ /**
446
+ * 推荐学校列表
447
+ */
448
+ schoolInfos?: IGetRecommendSchool[];
449
+ };
450
+ }
451
+
452
+ /**
453
+ * 一分一档req
454
+ */
455
+ export interface IGetGradeInfoReq extends ICommonRes {
456
+ /**
457
+ * 会话id
458
+ */
459
+ sessionId?: string;
460
+ }
461
+
462
+ /**
463
+ * 一分一档res
464
+ */
465
+ export interface IGetGradeInfoRes extends ICommonRes {
466
+ data?: {
467
+ /**
468
+ * 一分一档
469
+ */
470
+ gradeInfo?: IScoreRank;
471
+ };
472
+ }
473
+
474
+ /**
475
+ * 生成报告信息req
476
+ */
477
+ export interface IGenerateReportInfoReq extends ICommonRes {
478
+ /**
479
+ * 会话id
480
+ */
481
+ sessionId?: string;
482
+ }
483
+
484
+ /**
485
+ * 生成报告信息res
486
+ */
487
+ export interface IGenerateReportInfoRes extends ICommonRes {
488
+ data?: IReportResult;
489
+ }
490
+
491
+ /**
492
+ * 获取token
493
+ */
494
+ export interface IGetConfigInfoRes extends ICommonRes {
495
+ data?: IConfigInfo;
496
+ }