szpt-driver-api 1.0.107 → 1.0.109

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 (53) hide show
  1. package/accident.d.ts +2211 -759
  2. package/accident.js +1 -1
  3. package/accident.js.map +1 -1
  4. package/ai.d.ts +604 -7
  5. package/ai.js +1 -1
  6. package/ai.js.map +1 -1
  7. package/application.d.ts +19 -0
  8. package/application.js +1 -1
  9. package/application.js.map +1 -1
  10. package/auth.d.ts +1002 -27
  11. package/auth.js +1 -1
  12. package/auth.js.map +1 -1
  13. package/authBpmnQuery.d.ts +6 -6
  14. package/authBpmnQuery.js +1 -1
  15. package/authBpmnQuery.js.map +1 -1
  16. package/authDuty.d.ts +215 -18
  17. package/authDuty.js +1 -1
  18. package/authDuty.js.map +1 -1
  19. package/authV2.d.ts +84 -2
  20. package/authV2.js +1 -1
  21. package/authV2.js.map +1 -1
  22. package/common.d.ts +2 -2
  23. package/common.js +1 -1
  24. package/common.js.map +1 -1
  25. package/external.d.ts +66 -37
  26. package/external.js +1 -1
  27. package/external.js.map +1 -1
  28. package/index.js +1 -1
  29. package/index.js.map +1 -1
  30. package/oss.d.ts +252 -4
  31. package/oss.js +1 -1
  32. package/oss.js.map +1 -1
  33. package/package.json +1 -1
  34. package/query.d.ts +21 -21
  35. package/query.js +1 -1
  36. package/query.js.map +1 -1
  37. package/statisticManage.d.ts +126 -0
  38. package/statisticManage.js +1 -1
  39. package/statisticManage.js.map +1 -1
  40. package/szAccident.d.ts +503 -2
  41. package/szAccident.js +1 -1
  42. package/szAccident.js.map +1 -1
  43. package/szAccidentPublic.d.ts +12 -0
  44. package/szAccidentPublic.js.map +1 -1
  45. package/szTraffic.d.ts +1559 -71
  46. package/szTraffic.js +1 -1
  47. package/szTraffic.js.map +1 -1
  48. package/videoService.d.ts +4 -4
  49. package/videoService.js +1 -1
  50. package/videoService.js.map +1 -1
  51. package/violation.d.ts +73 -5
  52. package/violation.js +1 -1
  53. package/violation.js.map +1 -1
package/ai.d.ts CHANGED
@@ -2,6 +2,10 @@ export declare class SendTextRequest {
2
2
  jobId: string;
3
3
  text: string;
4
4
  }
5
+ export declare class SendAudioRequest {
6
+ jobId: string;
7
+ "audioBase64": string;
8
+ }
5
9
  /**
6
10
  * 证据列表
7
11
  */
@@ -47,7 +51,228 @@ export declare class AppRestResponse {
47
51
  /** 额外信息 */
48
52
  extra: any;
49
53
  }
54
+ export declare class ChatRequest {
55
+ /** 会话ID */
56
+ conversationId: string;
57
+ /** 用户消息内容 */
58
+ content: string;
59
+ /**
60
+ * 温度参数,0.0~2.0
61
+ * @format double
62
+ */
63
+ temperature?: number;
64
+ /**
65
+ * 最大生成token数
66
+ * @format int32
67
+ */
68
+ maxTokens?: number;
69
+ }
70
+ export declare class CreateConversationRequest {
71
+ /**
72
+ * 提供者名称
73
+ * @example vllm-qwen
74
+ */
75
+ provider: string;
76
+ /**
77
+ * 模型名称
78
+ * @example Qwen3.6-35B-A3B
79
+ */
80
+ model: string;
81
+ /** 系统提示词 */
82
+ systemPrompt?: string;
83
+ /** 是否启用思考模式 */
84
+ enableThinking?: boolean;
85
+ }
86
+ export declare class CreateConversationResponse {
87
+ /** 会话ID */
88
+ conversationId: string;
89
+ }
90
+ export declare class AccidentAssistantChatRequestBody {
91
+ /** 用户输入的消息内容 */
92
+ query: string;
93
+ /** 会话ID,首次调用传空或不传,后续调用可传入以保持上下文 */
94
+ conversionId?: string;
95
+ /** 业务编号,用于关联业务数据 */
96
+ businessNo?: string;
97
+ }
98
+ export declare class AccidentAssistantChatApiResponse {
99
+ /**
100
+ * 状态码,200 表示成功
101
+ * @format int32
102
+ */
103
+ code: number;
104
+ /** 提示信息 */
105
+ message: string;
106
+ /** 返回数据 */
107
+ data: AccidentAssistantChatResponseBody;
108
+ /** 请求ID */
109
+ requestId: string;
110
+ }
111
+ /**
112
+ * 返回数据
113
+ */
114
+ export declare class AccidentAssistantChatResponseBody {
115
+ /** 会话ID */
116
+ conversionId?: string;
117
+ /** 本次消息唯一ID */
118
+ messageId?: string;
119
+ /** 响应类型:chat - 普通对话响应;heartbeat_push - 心跳推送响应 */
120
+ responseType?: string;
121
+ /** 文本消息 */
122
+ textMessage?: AccidentAssistantTextMessageBody;
123
+ /** 事件消息列表 */
124
+ eventMessages?: AccidentAssistantEventMessageBody[];
125
+ }
126
+ /**
127
+ * 事件消息列表
128
+ */
129
+ export declare class AccidentAssistantEventMessageBody {
130
+ /** 事件类型 */
131
+ eventType?: string;
132
+ /** 事件数据 */
133
+ data?: any;
134
+ }
135
+ /**
136
+ * 文本消息
137
+ */
138
+ export declare class AccidentAssistantTextMessageBody {
139
+ /** 文本内容 */
140
+ content?: string;
141
+ /** 文本类型:suggestion - 建议;clarification - 反问补充 */
142
+ type?: string;
143
+ }
144
+ /**
145
+ * 事故当事人信息列表
146
+ */
147
+ export declare class AccidentAssistantReviewPartyBody {
148
+ /** 当事人姓名 */
149
+ name: string;
150
+ /** 车辆类型 */
151
+ vehicleType: string;
152
+ /** 车辆号牌 */
153
+ plateNumber?: string;
154
+ /** 违法行为代码列表 */
155
+ violations: string[];
156
+ /** 事故责任:full - 全责;major - 主责;equal - 同等责任;minor - 次责;none - 无责 */
157
+ responsibility: string;
158
+ }
159
+ export declare class AccidentAssistantReviewRequestBody {
160
+ /** 案件编号 */
161
+ caseId?: string;
162
+ /** 简要案情描述 */
163
+ briefDescription: string;
164
+ /** 事故当事人信息列表 */
165
+ parties: AccidentAssistantReviewPartyBody[];
166
+ }
167
+ export declare class AccidentAssistantReviewApiResponse {
168
+ /**
169
+ * 状态码,200 表示成功
170
+ * @format int32
171
+ */
172
+ code: number;
173
+ /** 提示信息 */
174
+ message: string;
175
+ /** 返回数据 */
176
+ data: AccidentAssistantReviewResponseBody;
177
+ /** 请求ID */
178
+ requestId: string;
179
+ }
180
+ /**
181
+ * 异常列表,无异常时为空数组
182
+ */
183
+ export declare class AccidentAssistantReviewIssueBody {
184
+ /** 异常类型 */
185
+ issueType?: string;
186
+ /** 严重程度:high - 高;medium - 中;low - 低 */
187
+ severity?: string;
188
+ /** 异常详细描述 */
189
+ description?: string;
190
+ /** 修改建议 */
191
+ suggestion?: string;
192
+ /** 相关当事人姓名 */
193
+ relatedParty?: string;
194
+ }
195
+ /**
196
+ * 返回数据
197
+ */
198
+ export declare class AccidentAssistantReviewResponseBody {
199
+ /** 复核记录唯一ID */
200
+ reviewId?: string;
201
+ /** 案件编号 */
202
+ caseId?: string;
203
+ /** 是否存在异常 */
204
+ hasIssues?: boolean;
205
+ /** 异常列表,无异常时为空数组 */
206
+ issues?: AccidentAssistantReviewIssueBody[];
207
+ }
208
+ export declare class AccidentAssistantAudioTextRequestBody {
209
+ /** 会话ID,必须为已存在的会话 */
210
+ conversionId: string;
211
+ /** 说话人角色:police - 民警;party - 当事人 */
212
+ speaker?: string;
213
+ /** ASR转译后的文本内容 */
214
+ text: string;
215
+ }
216
+ export declare class AccidentAssistantAudioTextApiResponse {
217
+ /**
218
+ * 状态码,200 表示成功
219
+ * @format int32
220
+ */
221
+ code: number;
222
+ /** 提示信息 */
223
+ message: string;
224
+ /** 返回数据 */
225
+ data: AccidentAssistantAudioTextResponseBody;
226
+ /** 请求ID */
227
+ requestId: string;
228
+ }
229
+ /**
230
+ * 返回数据
231
+ */
232
+ export declare class AccidentAssistantAudioTextResponseBody {
233
+ /** 文本记录唯一ID */
234
+ recordId?: string;
235
+ /** 会话ID */
236
+ conversionId?: string;
237
+ /** 是否接收成功 */
238
+ received?: boolean;
239
+ }
240
+ export declare class TtsVoiceInfo {
241
+ default: string;
242
+ presetVoices: string[];
243
+ customVoices: string[];
244
+ }
50
245
  export declare type StreamingResponseBody = any;
246
+ /**
247
+ * ASR识别记录
248
+ */
249
+ export declare class AsrRecordVO {
250
+ /**
251
+ * 记录ID
252
+ * @format int64
253
+ */
254
+ id: number;
255
+ /** ASR任务ID */
256
+ jobId: string;
257
+ /** 业务编号 */
258
+ businessNo: string;
259
+ /** 对话类型 */
260
+ dialogType: string;
261
+ /** 识别文本 */
262
+ text: string;
263
+ /** 记录类型: streaming / non-streaming */
264
+ recordType: string;
265
+ /**
266
+ * 文本时间
267
+ * @format double
268
+ */
269
+ sentenceTime: number;
270
+ /**
271
+ * 创建时间
272
+ * @format date-time
273
+ */
274
+ createTime: string;
275
+ }
51
276
  export declare class ConversationMessageDTO {
52
277
  conversationId: string;
53
278
  taskId: string;
@@ -66,6 +291,104 @@ export declare class ConversationMessageDTO {
66
291
  id: number;
67
292
  deleted: boolean;
68
293
  }
294
+ export declare class ProviderModelsVO {
295
+ /**
296
+ * 提供者名称
297
+ * @example vllm-qwen
298
+ */
299
+ provider: string;
300
+ /** 可用模型列表 */
301
+ models: string[];
302
+ }
303
+ export declare class ChatMessageDTO {
304
+ /** 对话ID */
305
+ conversationId: string;
306
+ /** 角色:user/assistant/system */
307
+ role: string;
308
+ /** 消息内容 */
309
+ content: string;
310
+ /**
311
+ * token数量
312
+ * @format int32
313
+ */
314
+ tokens: number;
315
+ /** token数量是否为估算值 */
316
+ tokensEstimated: boolean;
317
+ /** 思考过程内容 */
318
+ reasoningContent: string;
319
+ /**
320
+ * 消息时间
321
+ * @format date-time
322
+ */
323
+ createdTime: string;
324
+ /** @format int64 */
325
+ id: number;
326
+ deleted: boolean;
327
+ }
328
+ export declare class AccidentAssistantMessageDTO {
329
+ /** 会话ID */
330
+ conversationId: string;
331
+ /** 消息ID */
332
+ messageId: string;
333
+ /** 用户标识 */
334
+ user: string;
335
+ /** 消息类型:chat/heartbeat */
336
+ messageType: string;
337
+ /** 用户查询内容 */
338
+ query: string;
339
+ /**
340
+ * 查询时间
341
+ * @format date-time
342
+ */
343
+ queryTime: string;
344
+ /** 响应内容(JSON) */
345
+ response: string;
346
+ /**
347
+ * 响应时间
348
+ * @format date-time
349
+ */
350
+ responseTime: string;
351
+ /**
352
+ * 响应状态码
353
+ * @format int32
354
+ */
355
+ responseCode: number;
356
+ /** 业务编号 */
357
+ businessNo: string;
358
+ /** @format int64 */
359
+ id: number;
360
+ deleted: boolean;
361
+ }
362
+ export declare class AccidentAssistantConversationItem {
363
+ /** 会话ID */
364
+ conversationId: string;
365
+ /** 会话发起人 */
366
+ user: string;
367
+ /** 业务编号 */
368
+ businessNo: string;
369
+ /**
370
+ * 会话发起时间
371
+ * @format date-time
372
+ */
373
+ createTime: string;
374
+ }
375
+ export declare class TtsParams {
376
+ text: string;
377
+ voice?: string;
378
+ department?: string;
379
+ /**
380
+ * 采样率,如8000/16000/24000/48000,默认16000
381
+ * @format int32
382
+ */
383
+ sampleRate?: number;
384
+ }
385
+ export declare class PostVoicesPayload {
386
+ /** @format binary */
387
+ audio: File;
388
+ }
389
+ export declare class PostVoicesParams {
390
+ name: string;
391
+ }
69
392
  export declare class AsrPayload {
70
393
  /** @format binary */
71
394
  file: File;
@@ -74,6 +397,22 @@ export declare class AsrParams {
74
397
  /** @format int32 */
75
398
  sampleRate: number;
76
399
  format?: "PCM" | "OPUS" | "OPU" | "SPEEX" | "WAV";
400
+ /** 业务编号 */
401
+ businessNo?: string;
402
+ /** 对话类型 */
403
+ dialogType?: string;
404
+ }
405
+ export declare class PostStreamingParams {
406
+ /** @format int32 */
407
+ sampleRate: number;
408
+ format?: "PCM" | "OPUS" | "OPU" | "SPEEX" | "WAV";
409
+ /** 业务编号 */
410
+ businessNo?: string;
411
+ /** 对话类型 */
412
+ dialogType?: string;
413
+ }
414
+ export declare class DeleteStreamingParams {
415
+ jobId: string;
77
416
  }
78
417
  export declare class ConversationResetParams {
79
418
  sgbh: string;
@@ -85,18 +424,50 @@ export declare class GetStreamingParams {
85
424
  jobId: string;
86
425
  department?: string;
87
426
  voice?: string;
427
+ /**
428
+ * 采样率,如8000/16000/24000/48000,默认16000
429
+ * @format int32
430
+ */
431
+ sampleRate?: number;
88
432
  }
89
- export declare class DeleteStreamingParams {
433
+ export declare class DeleteStreamingParams4 {
90
434
  jobId: string;
91
435
  }
92
436
  export declare class StreamingWavByJobIdParams {
93
437
  department?: string;
94
438
  voice?: string;
439
+ /**
440
+ * 采样率,如8000/16000/24000/48000,默认16000
441
+ * @format int32
442
+ */
443
+ sampleRate?: number;
95
444
  jobId: string;
96
445
  }
446
+ export declare class RecordsParams {
447
+ /** 业务编号 */
448
+ businessNo: string;
449
+ /** 对话类型 */
450
+ dialogType?: string;
451
+ /** 记录类型。streaming、non-streaming */
452
+ recordType?: string;
453
+ }
97
454
  export declare class ConversationMessageHistoryParams {
98
455
  sgbh: string;
99
456
  }
457
+ export declare class ModelsParams {
458
+ provider?: string;
459
+ }
460
+ export declare class HistoryParams {
461
+ conversationId: string;
462
+ }
463
+ export declare class MessageHistoryParams {
464
+ /** 会话ID */
465
+ conversationId: string;
466
+ }
467
+ export declare class ConversationsByBusinessNoParams {
468
+ /** 业务编号 */
469
+ businessNo: string;
470
+ }
100
471
  import { AxiosRequestConfig, ResponseType } from "axios";
101
472
  export declare type QueryParamsType = Record<string | number, any>;
102
473
  export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
@@ -138,12 +509,48 @@ declare class Api {
138
509
  private http;
139
510
  constructor(http: HttpClient);
140
511
  tts: {
512
+ /**
513
+ * No description
514
+ *
515
+ * @tags tts
516
+ * @name Tts
517
+ * @summary TTS语音合成
518
+ * @request POST:/voice/tts
519
+ * @response `200` `string` OK
520
+ * @response `401` `string` Unauthorized
521
+ * @response `403` `string` Forbidden
522
+ */
523
+ tts: (query: TtsParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<string>;
524
+ /**
525
+ * No description
526
+ *
527
+ * @tags tts
528
+ * @name GetVoices
529
+ * @summary TTS音色列表
530
+ * @request GET:/voice/tts/voices
531
+ * @response `200` `TtsVoiceInfo` OK
532
+ * @response `401` `string` Unauthorized
533
+ * @response `403` `string` Forbidden
534
+ */
535
+ getVoices: (axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<TtsVoiceInfo>;
536
+ /**
537
+ * No description
538
+ *
539
+ * @tags tts
540
+ * @name PostVoices
541
+ * @summary TTS注册音色
542
+ * @request POST:/voice/tts/voices
543
+ * @response `200` `void` OK
544
+ * @response `401` `string` Unauthorized
545
+ * @response `403` `string` Forbidden
546
+ */
547
+ postVoices: (query: PostVoicesParams, data: PostVoicesPayload, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<void>;
141
548
  /**
142
549
  * No description
143
550
  *
144
551
  * @tags tts
145
552
  * @name StreamingText
146
- * @summary 发送TTS文本
553
+ * @summary 流式TTS-发送文本
147
554
  * @request POST:/voice/tts/streaming/text
148
555
  * @response `200` `void` OK
149
556
  * @response `401` `string` Unauthorized
@@ -155,7 +562,7 @@ declare class Api {
155
562
  *
156
563
  * @tags tts
157
564
  * @name GetStreaming
158
- * @summary 创建流式TTS任务
565
+ * @summary 流式TTS-创建任务
159
566
  * @request GET:/voice/tts/streaming
160
567
  * @response `200` `StreamingResponseBody` OK
161
568
  * @response `401` `string` Unauthorized
@@ -167,25 +574,37 @@ declare class Api {
167
574
  *
168
575
  * @tags tts
169
576
  * @name DeleteStreaming
170
- * @summary 结束TTS流式任务
577
+ * @summary 流式TTS-结束任务
171
578
  * @request DELETE:/voice/tts/streaming
172
579
  * @response `200` `void` OK
173
580
  * @response `401` `string` Unauthorized
174
581
  * @response `403` `string` Forbidden
175
582
  */
176
- deleteStreaming: (query: DeleteStreamingParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<void>;
583
+ deleteStreaming: (query: DeleteStreamingParams4, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<void>;
177
584
  /**
178
585
  * No description
179
586
  *
180
587
  * @tags tts
181
588
  * @name StreamingWavByJobId
182
- * @summary 创建流式TTS任务(.wav)
589
+ * @summary 流式TTS-创建任务(.wav)
183
590
  * @request GET:/voice/tts/streaming/{jobId}.wav
184
591
  * @response `200` `StreamingResponseBody` OK
185
592
  * @response `401` `string` Unauthorized
186
593
  * @response `403` `string` Forbidden
187
594
  */
188
595
  streamingWavByJobId: ({ jobId, ...query }: StreamingWavByJobIdParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<any>;
596
+ /**
597
+ * No description
598
+ *
599
+ * @tags tts
600
+ * @name DeleteVoicesByName
601
+ * @summary TTS删除音色
602
+ * @request DELETE:/voice/tts/voices/{name}
603
+ * @response `200` `void` OK
604
+ * @response `401` `string` Unauthorized
605
+ * @response `403` `string` Forbidden
606
+ */
607
+ deleteVoicesByName: (name: string, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<void>;
189
608
  };
190
609
  asr: {
191
610
  /**
@@ -193,13 +612,61 @@ declare class Api {
193
612
  *
194
613
  * @tags asr
195
614
  * @name Asr
196
- * @summary 语音识别
615
+ * @summary ASR语音识别
197
616
  * @request POST:/voice/asr
198
617
  * @response `200` `string` OK
199
618
  * @response `401` `string` Unauthorized
200
619
  * @response `403` `string` Forbidden
201
620
  */
202
621
  asr: (query: AsrParams, data: AsrPayload, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<string>;
622
+ /**
623
+ * No description
624
+ *
625
+ * @tags asr
626
+ * @name PostStreaming
627
+ * @summary 流式ASR-创建任务
628
+ * @request POST:/voice/asr/streaming
629
+ * @response `200` `string` OK
630
+ * @response `401` `string` Unauthorized
631
+ * @response `403` `string` Forbidden
632
+ */
633
+ postStreaming: (query: PostStreamingParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<string>;
634
+ /**
635
+ * No description
636
+ *
637
+ * @tags asr
638
+ * @name DeleteStreaming
639
+ * @summary 流式ASR-结束任务
640
+ * @request DELETE:/voice/asr/streaming
641
+ * @response `200` `void` OK
642
+ * @response `401` `string` Unauthorized
643
+ * @response `403` `string` Forbidden
644
+ */
645
+ deleteStreaming: (query: DeleteStreamingParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<void>;
646
+ /**
647
+ * No description
648
+ *
649
+ * @tags asr
650
+ * @name StreamingAudio
651
+ * @summary 流式ASR-发送音频
652
+ * @request POST:/voice/asr/streaming/audio
653
+ * @response `200` `void` OK
654
+ * @response `401` `string` Unauthorized
655
+ * @response `403` `string` Forbidden
656
+ */
657
+ streamingAudio: (data: SendAudioRequest, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<void>;
658
+ /**
659
+ * No description
660
+ *
661
+ * @tags asr
662
+ * @name Records
663
+ * @summary ASR识别记录查询
664
+ * @request GET:/voice/asr/records
665
+ * @response `200` `(AsrRecordVO)[]` OK
666
+ * @response `401` `string` Unauthorized
667
+ * @response `403` `string` Forbidden
668
+ */
669
+ records: (query: RecordsParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<AsrRecordVO[]>;
203
670
  };
204
671
  accident: {
205
672
  /**
@@ -291,6 +758,136 @@ declare class Api {
291
758
  */
292
759
  stop: (query: StopParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<AppRestResponse>;
293
760
  };
761
+ chat: {
762
+ /**
763
+ * No description
764
+ *
765
+ * @tags
766
+ * @name Chat
767
+ * @summary 流式对话
768
+ * @request POST:/chat
769
+ * @response `200` `SseEmitter` OK
770
+ * @response `401` `string` Unauthorized
771
+ * @response `403` `string` Forbidden
772
+ */
773
+ chat: (data: ChatRequest, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<SseEmitter>;
774
+ /**
775
+ * No description
776
+ *
777
+ * @tags chat
778
+ * @name Chat2
779
+ * @summary 对话接口(blocking模式)
780
+ * @request POST:/accident-assistant/chat
781
+ * @originalName chat
782
+ * @duplicate
783
+ * @response `200` `AccidentAssistantChatApiResponse` OK
784
+ * @response `401` `string` Unauthorized
785
+ * @response `403` `string` Forbidden
786
+ */
787
+ chat2: (data: AccidentAssistantChatRequestBody, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<AccidentAssistantChatApiResponse>;
788
+ /**
789
+ * No description
790
+ *
791
+ * @tags chat
792
+ * @name Stream
793
+ * @summary 对话接口(streaming模式,SSE直连)
794
+ * @request POST:/accident-assistant/chat/stream
795
+ * @response `200` `SseEmitter` OK
796
+ * @response `401` `string` Unauthorized
797
+ * @response `403` `string` Forbidden
798
+ */
799
+ stream: (data: AccidentAssistantChatRequestBody, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<SseEmitter>;
800
+ /**
801
+ * No description
802
+ *
803
+ * @tags chat
804
+ * @name Review
805
+ * @summary 事故判定结果复核接口
806
+ * @request POST:/accident-assistant/chat/review
807
+ * @response `200` `AccidentAssistantReviewApiResponse` OK
808
+ * @response `401` `string` Unauthorized
809
+ * @response `403` `string` Forbidden
810
+ */
811
+ review: (data: AccidentAssistantReviewRequestBody, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<AccidentAssistantReviewApiResponse>;
812
+ /**
813
+ * No description
814
+ *
815
+ * @tags chat
816
+ * @name AudioText
817
+ * @summary 音频文本信息接收接口
818
+ * @request POST:/accident-assistant/chat/audio-text
819
+ * @response `200` `AccidentAssistantAudioTextApiResponse` OK
820
+ * @response `401` `string` Unauthorized
821
+ * @response `403` `string` Forbidden
822
+ */
823
+ audioText: (data: AccidentAssistantAudioTextRequestBody, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<AccidentAssistantAudioTextApiResponse>;
824
+ /**
825
+ * No description
826
+ *
827
+ * @tags chat
828
+ * @name MessageHistory
829
+ * @summary 查询对话消息历史
830
+ * @request GET:/accident-assistant/chat/message-history
831
+ * @response `200` `(AccidentAssistantMessageDTO)[]` OK
832
+ * @response `401` `string` Unauthorized
833
+ * @response `403` `string` Forbidden
834
+ */
835
+ messageHistory: (query: MessageHistoryParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<AccidentAssistantMessageDTO[]>;
836
+ /**
837
+ * No description
838
+ *
839
+ * @tags chat
840
+ * @name ConversationsByBusinessNo
841
+ * @summary 根据业务编号查询关联会话列表
842
+ * @request GET:/accident-assistant/chat/conversations-by-business-no
843
+ * @response `200` `(AccidentAssistantConversationItem)[]` OK
844
+ * @response `401` `string` Unauthorized
845
+ * @response `403` `string` Forbidden
846
+ */
847
+ conversationsByBusinessNo: (query: ConversationsByBusinessNoParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<AccidentAssistantConversationItem[]>;
848
+ };
849
+ conversations: {
850
+ /**
851
+ * No description
852
+ *
853
+ * @tags conversations
854
+ * @name Conversations
855
+ * @summary 创建会话
856
+ * @request POST:/chat/conversations
857
+ * @response `200` `CreateConversationResponse` OK
858
+ * @response `401` `string` Unauthorized
859
+ * @response `403` `string` Forbidden
860
+ */
861
+ conversations: (data: CreateConversationRequest, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<CreateConversationResponse>;
862
+ };
863
+ models: {
864
+ /**
865
+ * No description
866
+ *
867
+ * @tags models
868
+ * @name Models
869
+ * @summary 列出可用模型
870
+ * @request GET:/chat/models
871
+ * @response `200` `(ProviderModelsVO)[]` OK
872
+ * @response `401` `string` Unauthorized
873
+ * @response `403` `string` Forbidden
874
+ */
875
+ models: (query: ModelsParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<ProviderModelsVO[]>;
876
+ };
877
+ history: {
878
+ /**
879
+ * No description
880
+ *
881
+ * @tags history
882
+ * @name History
883
+ * @summary 获取对话历史
884
+ * @request GET:/chat/history
885
+ * @response `200` `(ChatMessageDTO)[]` OK
886
+ * @response `401` `string` Unauthorized
887
+ * @response `403` `string` Forbidden
888
+ */
889
+ history: (query: HistoryParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<ChatMessageDTO[]>;
890
+ };
294
891
  }
295
892
  export declare const aiApi: Api;
296
893
  export {};