@alicloud/dianjin20240628 1.3.0 → 1.5.0

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/src/client.ts CHANGED
@@ -12,6 +12,293 @@ import EndpointUtil from '@alicloud/endpoint-util';
12
12
  import { Readable } from 'stream';
13
13
  import * as $tea from '@alicloud/tea-typescript';
14
14
 
15
+ export class CreateAnnualDocSummaryTaskRequest extends $tea.Model {
16
+ /**
17
+ * @remarks
18
+ * This parameter is required.
19
+ */
20
+ anaYears?: number[];
21
+ /**
22
+ * @remarks
23
+ * This parameter is required.
24
+ */
25
+ docInfos?: CreateAnnualDocSummaryTaskRequestDocInfos[];
26
+ /**
27
+ * @example
28
+ * true
29
+ */
30
+ enableTable?: boolean;
31
+ instruction?: string;
32
+ /**
33
+ * @remarks
34
+ * This parameter is required.
35
+ *
36
+ * @example
37
+ * qwen-plus
38
+ */
39
+ modelId?: string;
40
+ static names(): { [key: string]: string } {
41
+ return {
42
+ anaYears: 'anaYears',
43
+ docInfos: 'docInfos',
44
+ enableTable: 'enableTable',
45
+ instruction: 'instruction',
46
+ modelId: 'modelId',
47
+ };
48
+ }
49
+
50
+ static types(): { [key: string]: any } {
51
+ return {
52
+ anaYears: { 'type': 'array', 'itemType': 'number' },
53
+ docInfos: { 'type': 'array', 'itemType': CreateAnnualDocSummaryTaskRequestDocInfos },
54
+ enableTable: 'boolean',
55
+ instruction: 'string',
56
+ modelId: 'string',
57
+ };
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
65
+ export class CreateAnnualDocSummaryTaskResponseBody extends $tea.Model {
66
+ /**
67
+ * @example
68
+ * null
69
+ */
70
+ cost?: number;
71
+ /**
72
+ * @example
73
+ * 3284627354
74
+ */
75
+ data?: string;
76
+ /**
77
+ * @example
78
+ * null
79
+ */
80
+ dataType?: string;
81
+ /**
82
+ * @example
83
+ * 0
84
+ */
85
+ errCode?: string;
86
+ /**
87
+ * @example
88
+ * ok
89
+ */
90
+ message?: string;
91
+ /**
92
+ * @example
93
+ * 32FFC91D-0A9F-585A-B84F-8A54C5187035
94
+ */
95
+ requestId?: string;
96
+ /**
97
+ * @example
98
+ * true
99
+ */
100
+ success?: boolean;
101
+ /**
102
+ * @example
103
+ * 2024-01-01 00:00:00
104
+ */
105
+ time?: string;
106
+ static names(): { [key: string]: string } {
107
+ return {
108
+ cost: 'cost',
109
+ data: 'data',
110
+ dataType: 'dataType',
111
+ errCode: 'errCode',
112
+ message: 'message',
113
+ requestId: 'requestId',
114
+ success: 'success',
115
+ time: 'time',
116
+ };
117
+ }
118
+
119
+ static types(): { [key: string]: any } {
120
+ return {
121
+ cost: 'number',
122
+ data: 'string',
123
+ dataType: 'string',
124
+ errCode: 'string',
125
+ message: 'string',
126
+ requestId: 'string',
127
+ success: 'boolean',
128
+ time: 'string',
129
+ };
130
+ }
131
+
132
+ constructor(map?: { [key: string]: any }) {
133
+ super(map);
134
+ }
135
+ }
136
+
137
+ export class CreateAnnualDocSummaryTaskResponse extends $tea.Model {
138
+ headers?: { [key: string]: string };
139
+ statusCode?: number;
140
+ body?: CreateAnnualDocSummaryTaskResponseBody;
141
+ static names(): { [key: string]: string } {
142
+ return {
143
+ headers: 'headers',
144
+ statusCode: 'statusCode',
145
+ body: 'body',
146
+ };
147
+ }
148
+
149
+ static types(): { [key: string]: any } {
150
+ return {
151
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
152
+ statusCode: 'number',
153
+ body: CreateAnnualDocSummaryTaskResponseBody,
154
+ };
155
+ }
156
+
157
+ constructor(map?: { [key: string]: any }) {
158
+ super(map);
159
+ }
160
+ }
161
+
162
+ export class CreateDocsSummaryTaskRequest extends $tea.Model {
163
+ /**
164
+ * @remarks
165
+ * This parameter is required.
166
+ */
167
+ docInfos?: CreateDocsSummaryTaskRequestDocInfos[];
168
+ /**
169
+ * @example
170
+ * true
171
+ */
172
+ enableTable?: boolean;
173
+ instruction?: string;
174
+ /**
175
+ * @remarks
176
+ * This parameter is required.
177
+ *
178
+ * @example
179
+ * qwen-plus
180
+ */
181
+ modelId?: string;
182
+ static names(): { [key: string]: string } {
183
+ return {
184
+ docInfos: 'docInfos',
185
+ enableTable: 'enableTable',
186
+ instruction: 'instruction',
187
+ modelId: 'modelId',
188
+ };
189
+ }
190
+
191
+ static types(): { [key: string]: any } {
192
+ return {
193
+ docInfos: { 'type': 'array', 'itemType': CreateDocsSummaryTaskRequestDocInfos },
194
+ enableTable: 'boolean',
195
+ instruction: 'string',
196
+ modelId: 'string',
197
+ };
198
+ }
199
+
200
+ constructor(map?: { [key: string]: any }) {
201
+ super(map);
202
+ }
203
+ }
204
+
205
+ export class CreateDocsSummaryTaskResponseBody extends $tea.Model {
206
+ /**
207
+ * @example
208
+ * null
209
+ */
210
+ cost?: number;
211
+ /**
212
+ * @example
213
+ * 765675376
214
+ */
215
+ data?: string;
216
+ /**
217
+ * @example
218
+ * null
219
+ */
220
+ dataType?: string;
221
+ /**
222
+ * @example
223
+ * 0
224
+ */
225
+ errCode?: string;
226
+ /**
227
+ * @example
228
+ * ok
229
+ */
230
+ message?: string;
231
+ /**
232
+ * @example
233
+ * 32FFC91D-0A9F-585A-B84F-8A54C5187035
234
+ */
235
+ requestId?: string;
236
+ /**
237
+ * @example
238
+ * true
239
+ */
240
+ success?: boolean;
241
+ /**
242
+ * @example
243
+ * 2024-01-01 00:00:00
244
+ */
245
+ time?: string;
246
+ static names(): { [key: string]: string } {
247
+ return {
248
+ cost: 'cost',
249
+ data: 'data',
250
+ dataType: 'dataType',
251
+ errCode: 'errCode',
252
+ message: 'message',
253
+ requestId: 'requestId',
254
+ success: 'success',
255
+ time: 'time',
256
+ };
257
+ }
258
+
259
+ static types(): { [key: string]: any } {
260
+ return {
261
+ cost: 'number',
262
+ data: 'string',
263
+ dataType: 'string',
264
+ errCode: 'string',
265
+ message: 'string',
266
+ requestId: 'string',
267
+ success: 'boolean',
268
+ time: 'string',
269
+ };
270
+ }
271
+
272
+ constructor(map?: { [key: string]: any }) {
273
+ super(map);
274
+ }
275
+ }
276
+
277
+ export class CreateDocsSummaryTaskResponse extends $tea.Model {
278
+ headers?: { [key: string]: string };
279
+ statusCode?: number;
280
+ body?: CreateDocsSummaryTaskResponseBody;
281
+ static names(): { [key: string]: string } {
282
+ return {
283
+ headers: 'headers',
284
+ statusCode: 'statusCode',
285
+ body: 'body',
286
+ };
287
+ }
288
+
289
+ static types(): { [key: string]: any } {
290
+ return {
291
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
292
+ statusCode: 'number',
293
+ body: CreateDocsSummaryTaskResponseBody,
294
+ };
295
+ }
296
+
297
+ constructor(map?: { [key: string]: any }) {
298
+ super(map);
299
+ }
300
+ }
301
+
15
302
  export class CreateFinReportSummaryTaskRequest extends $tea.Model {
16
303
  /**
17
304
  * @remarks
@@ -222,15 +509,164 @@ export class CreateLibraryRequest extends $tea.Model {
222
509
  }
223
510
  }
224
511
 
225
- export class CreateLibraryResponseBody extends $tea.Model {
512
+ export class CreateLibraryResponseBody extends $tea.Model {
513
+ /**
514
+ * @example
515
+ * 300
516
+ */
517
+ cost?: number;
518
+ /**
519
+ * @example
520
+ * a1b2c3
521
+ */
522
+ data?: string;
523
+ /**
524
+ * @example
525
+ * null
526
+ */
527
+ dataType?: string;
528
+ /**
529
+ * @example
530
+ * 0
531
+ */
532
+ errCode?: string;
533
+ message?: string;
534
+ /**
535
+ * @example
536
+ * xxxx-xxxx-xxxx-xxxx
537
+ */
538
+ requestId?: string;
539
+ /**
540
+ * @example
541
+ * true
542
+ */
543
+ success?: boolean;
544
+ /**
545
+ * @example
546
+ * null
547
+ */
548
+ time?: string;
549
+ static names(): { [key: string]: string } {
550
+ return {
551
+ cost: 'cost',
552
+ data: 'data',
553
+ dataType: 'dataType',
554
+ errCode: 'errCode',
555
+ message: 'message',
556
+ requestId: 'requestId',
557
+ success: 'success',
558
+ time: 'time',
559
+ };
560
+ }
561
+
562
+ static types(): { [key: string]: any } {
563
+ return {
564
+ cost: 'number',
565
+ data: 'string',
566
+ dataType: 'string',
567
+ errCode: 'string',
568
+ message: 'string',
569
+ requestId: 'string',
570
+ success: 'boolean',
571
+ time: 'string',
572
+ };
573
+ }
574
+
575
+ constructor(map?: { [key: string]: any }) {
576
+ super(map);
577
+ }
578
+ }
579
+
580
+ export class CreateLibraryResponse extends $tea.Model {
581
+ headers?: { [key: string]: string };
582
+ statusCode?: number;
583
+ body?: CreateLibraryResponseBody;
584
+ static names(): { [key: string]: string } {
585
+ return {
586
+ headers: 'headers',
587
+ statusCode: 'statusCode',
588
+ body: 'body',
589
+ };
590
+ }
591
+
592
+ static types(): { [key: string]: any } {
593
+ return {
594
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
595
+ statusCode: 'number',
596
+ body: CreateLibraryResponseBody,
597
+ };
598
+ }
599
+
600
+ constructor(map?: { [key: string]: any }) {
601
+ super(map);
602
+ }
603
+ }
604
+
605
+ export class CreatePdfTranslateTaskRequest extends $tea.Model {
606
+ /**
607
+ * @remarks
608
+ * This parameter is required.
609
+ *
610
+ * @example
611
+ * 873648346573245
612
+ */
613
+ docId?: string;
614
+ knowledge?: string;
615
+ /**
616
+ * @remarks
617
+ * This parameter is required.
618
+ *
619
+ * @example
620
+ * cjshcxxxx
621
+ */
622
+ libraryId?: string;
623
+ /**
624
+ * @remarks
625
+ * This parameter is required.
626
+ *
627
+ * @example
628
+ * qwen-plus
629
+ */
630
+ modelId?: string;
631
+ /**
632
+ * @example
633
+ * 中文
634
+ */
635
+ translateTo?: string;
636
+ static names(): { [key: string]: string } {
637
+ return {
638
+ docId: 'docId',
639
+ knowledge: 'knowledge',
640
+ libraryId: 'libraryId',
641
+ modelId: 'modelId',
642
+ translateTo: 'translateTo',
643
+ };
644
+ }
645
+
646
+ static types(): { [key: string]: any } {
647
+ return {
648
+ docId: 'string',
649
+ knowledge: 'string',
650
+ libraryId: 'string',
651
+ modelId: 'string',
652
+ translateTo: 'string',
653
+ };
654
+ }
655
+
656
+ constructor(map?: { [key: string]: any }) {
657
+ super(map);
658
+ }
659
+ }
660
+
661
+ export class CreatePdfTranslateTaskResponseBody extends $tea.Model {
226
662
  /**
227
663
  * @example
228
- * 300
664
+ * null
229
665
  */
230
666
  cost?: number;
231
667
  /**
232
668
  * @example
233
- * a1b2c3
669
+ * 3284627354
234
670
  */
235
671
  data?: string;
236
672
  /**
@@ -243,10 +679,14 @@ export class CreateLibraryResponseBody extends $tea.Model {
243
679
  * 0
244
680
  */
245
681
  errCode?: string;
682
+ /**
683
+ * @example
684
+ * ok
685
+ */
246
686
  message?: string;
247
687
  /**
248
688
  * @example
249
- * xxxx-xxxx-xxxx-xxxx
689
+ * 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
250
690
  */
251
691
  requestId?: string;
252
692
  /**
@@ -256,7 +696,7 @@ export class CreateLibraryResponseBody extends $tea.Model {
256
696
  success?: boolean;
257
697
  /**
258
698
  * @example
259
- * null
699
+ * 2024-04-24 11:54:34
260
700
  */
261
701
  time?: string;
262
702
  static names(): { [key: string]: string } {
@@ -290,10 +730,10 @@ export class CreateLibraryResponseBody extends $tea.Model {
290
730
  }
291
731
  }
292
732
 
293
- export class CreateLibraryResponse extends $tea.Model {
733
+ export class CreatePdfTranslateTaskResponse extends $tea.Model {
294
734
  headers?: { [key: string]: string };
295
735
  statusCode?: number;
296
- body?: CreateLibraryResponseBody;
736
+ body?: CreatePdfTranslateTaskResponseBody;
297
737
  static names(): { [key: string]: string } {
298
738
  return {
299
739
  headers: 'headers',
@@ -306,7 +746,7 @@ export class CreateLibraryResponse extends $tea.Model {
306
746
  return {
307
747
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
308
748
  statusCode: 'number',
309
- body: CreateLibraryResponseBody,
749
+ body: CreatePdfTranslateTaskResponseBody,
310
750
  };
311
751
  }
312
752
 
@@ -315,54 +755,38 @@ export class CreateLibraryResponse extends $tea.Model {
315
755
  }
316
756
  }
317
757
 
318
- export class CreatePdfTranslateTaskRequest extends $tea.Model {
319
- /**
320
- * @remarks
321
- * This parameter is required.
322
- *
323
- * @example
324
- * 873648346573245
325
- */
326
- docId?: string;
327
- knowledge?: string;
758
+ export class CreatePredefinedDocumentRequest extends $tea.Model {
759
+ chunks?: CreatePredefinedDocumentRequestChunks[];
328
760
  /**
329
- * @remarks
330
- * This parameter is required.
331
- *
332
761
  * @example
333
- * cjshcxxxx
762
+ * a1b2c3
334
763
  */
335
764
  libraryId?: string;
336
765
  /**
337
- * @remarks
338
- * This parameter is required.
339
- *
340
766
  * @example
341
- * qwen-plus
767
+ * {"a": "1"}
342
768
  */
343
- modelId?: string;
769
+ metadata?: { [key: string]: any };
344
770
  /**
345
771
  * @example
346
- * 中文
772
+ * 测试文档
347
773
  */
348
- translateTo?: string;
774
+ title?: string;
349
775
  static names(): { [key: string]: string } {
350
776
  return {
351
- docId: 'docId',
352
- knowledge: 'knowledge',
777
+ chunks: 'chunks',
353
778
  libraryId: 'libraryId',
354
- modelId: 'modelId',
355
- translateTo: 'translateTo',
779
+ metadata: 'metadata',
780
+ title: 'title',
356
781
  };
357
782
  }
358
783
 
359
784
  static types(): { [key: string]: any } {
360
785
  return {
361
- docId: 'string',
362
- knowledge: 'string',
786
+ chunks: { 'type': 'array', 'itemType': CreatePredefinedDocumentRequestChunks },
363
787
  libraryId: 'string',
364
- modelId: 'string',
365
- translateTo: 'string',
788
+ metadata: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
789
+ title: 'string',
366
790
  };
367
791
  }
368
792
 
@@ -371,7 +795,7 @@ export class CreatePdfTranslateTaskRequest extends $tea.Model {
371
795
  }
372
796
  }
373
797
 
374
- export class CreatePdfTranslateTaskResponseBody extends $tea.Model {
798
+ export class CreatePredefinedDocumentResponseBody extends $tea.Model {
375
799
  /**
376
800
  * @example
377
801
  * null
@@ -379,7 +803,7 @@ export class CreatePdfTranslateTaskResponseBody extends $tea.Model {
379
803
  cost?: number;
380
804
  /**
381
805
  * @example
382
- * 3284627354
806
+ * 1782981430906818562
383
807
  */
384
808
  data?: string;
385
809
  /**
@@ -399,7 +823,7 @@ export class CreatePdfTranslateTaskResponseBody extends $tea.Model {
399
823
  message?: string;
400
824
  /**
401
825
  * @example
402
- * 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
826
+ * 0a06dfe617018288881568684e2937
403
827
  */
404
828
  requestId?: string;
405
829
  /**
@@ -443,10 +867,10 @@ export class CreatePdfTranslateTaskResponseBody extends $tea.Model {
443
867
  }
444
868
  }
445
869
 
446
- export class CreatePdfTranslateTaskResponse extends $tea.Model {
870
+ export class CreatePredefinedDocumentResponse extends $tea.Model {
447
871
  headers?: { [key: string]: string };
448
872
  statusCode?: number;
449
- body?: CreatePdfTranslateTaskResponseBody;
873
+ body?: CreatePredefinedDocumentResponseBody;
450
874
  static names(): { [key: string]: string } {
451
875
  return {
452
876
  headers: 'headers',
@@ -459,7 +883,7 @@ export class CreatePdfTranslateTaskResponse extends $tea.Model {
459
883
  return {
460
884
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
461
885
  statusCode: 'number',
462
- body: CreatePdfTranslateTaskResponseBody,
886
+ body: CreatePredefinedDocumentResponseBody,
463
887
  };
464
888
  }
465
889
 
@@ -468,38 +892,57 @@ export class CreatePdfTranslateTaskResponse extends $tea.Model {
468
892
  }
469
893
  }
470
894
 
471
- export class CreatePredefinedDocumentRequest extends $tea.Model {
472
- chunks?: CreatePredefinedDocumentRequestChunks[];
895
+ export class CreateQualityCheckTaskRequest extends $tea.Model {
896
+ /**
897
+ * @remarks
898
+ * This parameter is required.
899
+ */
900
+ conversationList?: CreateQualityCheckTaskRequestConversationList;
473
901
  /**
902
+ * @remarks
903
+ * This parameter is required.
904
+ *
474
905
  * @example
475
- * a1b2c3
906
+ * 2024-09-27 11:23:20
476
907
  */
477
- libraryId?: string;
908
+ gmtService?: string;
909
+ metaData?: { [key: string]: string };
910
+ qualityGroup?: string[];
478
911
  /**
912
+ * @remarks
913
+ * This parameter is required.
914
+ *
479
915
  * @example
480
- * {"a": "1"}
916
+ * 0FC6636E-380A-5369-AE01-D1C15BB9B254
481
917
  */
482
- metadata?: { [key: string]: any };
918
+ requestId?: string;
483
919
  /**
920
+ * @remarks
921
+ * This parameter is required.
922
+ *
484
923
  * @example
485
- * 测试文档
924
+ * 0
486
925
  */
487
- title?: string;
926
+ type?: string;
488
927
  static names(): { [key: string]: string } {
489
928
  return {
490
- chunks: 'chunks',
491
- libraryId: 'libraryId',
492
- metadata: 'metadata',
493
- title: 'title',
929
+ conversationList: 'conversationList',
930
+ gmtService: 'gmtService',
931
+ metaData: 'metaData',
932
+ qualityGroup: 'qualityGroup',
933
+ requestId: 'requestId',
934
+ type: 'type',
494
935
  };
495
936
  }
496
937
 
497
938
  static types(): { [key: string]: any } {
498
939
  return {
499
- chunks: { 'type': 'array', 'itemType': CreatePredefinedDocumentRequestChunks },
500
- libraryId: 'string',
501
- metadata: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
502
- title: 'string',
940
+ conversationList: CreateQualityCheckTaskRequestConversationList,
941
+ gmtService: 'string',
942
+ metaData: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
943
+ qualityGroup: { 'type': 'array', 'itemType': 'string' },
944
+ requestId: 'string',
945
+ type: 'string',
503
946
  };
504
947
  }
505
948
 
@@ -508,17 +951,13 @@ export class CreatePredefinedDocumentRequest extends $tea.Model {
508
951
  }
509
952
  }
510
953
 
511
- export class CreatePredefinedDocumentResponseBody extends $tea.Model {
954
+ export class CreateQualityCheckTaskResponseBody extends $tea.Model {
512
955
  /**
513
956
  * @example
514
957
  * null
515
958
  */
516
959
  cost?: number;
517
- /**
518
- * @example
519
- * 1782981430906818562
520
- */
521
- data?: string;
960
+ data?: CreateQualityCheckTaskResponseBodyData;
522
961
  /**
523
962
  * @example
524
963
  * null
@@ -536,7 +975,7 @@ export class CreatePredefinedDocumentResponseBody extends $tea.Model {
536
975
  message?: string;
537
976
  /**
538
977
  * @example
539
- * 0a06dfe617018288881568684e2937
978
+ * EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258
540
979
  */
541
980
  requestId?: string;
542
981
  /**
@@ -565,7 +1004,7 @@ export class CreatePredefinedDocumentResponseBody extends $tea.Model {
565
1004
  static types(): { [key: string]: any } {
566
1005
  return {
567
1006
  cost: 'number',
568
- data: 'string',
1007
+ data: CreateQualityCheckTaskResponseBodyData,
569
1008
  dataType: 'string',
570
1009
  errCode: 'string',
571
1010
  message: 'string',
@@ -580,10 +1019,10 @@ export class CreatePredefinedDocumentResponseBody extends $tea.Model {
580
1019
  }
581
1020
  }
582
1021
 
583
- export class CreatePredefinedDocumentResponse extends $tea.Model {
1022
+ export class CreateQualityCheckTaskResponse extends $tea.Model {
584
1023
  headers?: { [key: string]: string };
585
1024
  statusCode?: number;
586
- body?: CreatePredefinedDocumentResponseBody;
1025
+ body?: CreateQualityCheckTaskResponseBody;
587
1026
  static names(): { [key: string]: string } {
588
1027
  return {
589
1028
  headers: 'headers',
@@ -596,7 +1035,7 @@ export class CreatePredefinedDocumentResponse extends $tea.Model {
596
1035
  return {
597
1036
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
598
1037
  statusCode: 'number',
599
- body: CreatePredefinedDocumentResponseBody,
1038
+ body: CreateQualityCheckTaskResponseBody,
600
1039
  };
601
1040
  }
602
1041
 
@@ -1942,7 +2381,136 @@ export class GetLibraryListResponseBody extends $tea.Model {
1942
2381
  success?: boolean;
1943
2382
  /**
1944
2383
  * @example
1945
- * 2024-01-01 00:00:00
2384
+ * 2024-01-01 00:00:00
2385
+ */
2386
+ time?: string;
2387
+ static names(): { [key: string]: string } {
2388
+ return {
2389
+ cost: 'cost',
2390
+ data: 'data',
2391
+ dataType: 'dataType',
2392
+ errCode: 'errCode',
2393
+ message: 'message',
2394
+ requestId: 'requestId',
2395
+ success: 'success',
2396
+ time: 'time',
2397
+ };
2398
+ }
2399
+
2400
+ static types(): { [key: string]: any } {
2401
+ return {
2402
+ cost: 'number',
2403
+ data: GetLibraryListResponseBodyData,
2404
+ dataType: 'string',
2405
+ errCode: 'string',
2406
+ message: 'string',
2407
+ requestId: 'string',
2408
+ success: 'boolean',
2409
+ time: 'string',
2410
+ };
2411
+ }
2412
+
2413
+ constructor(map?: { [key: string]: any }) {
2414
+ super(map);
2415
+ }
2416
+ }
2417
+
2418
+ export class GetLibraryListResponse extends $tea.Model {
2419
+ headers?: { [key: string]: string };
2420
+ statusCode?: number;
2421
+ body?: GetLibraryListResponseBody;
2422
+ static names(): { [key: string]: string } {
2423
+ return {
2424
+ headers: 'headers',
2425
+ statusCode: 'statusCode',
2426
+ body: 'body',
2427
+ };
2428
+ }
2429
+
2430
+ static types(): { [key: string]: any } {
2431
+ return {
2432
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2433
+ statusCode: 'number',
2434
+ body: GetLibraryListResponseBody,
2435
+ };
2436
+ }
2437
+
2438
+ constructor(map?: { [key: string]: any }) {
2439
+ super(map);
2440
+ }
2441
+ }
2442
+
2443
+ export class GetParseResultRequest extends $tea.Model {
2444
+ /**
2445
+ * @remarks
2446
+ * This parameter is required.
2447
+ *
2448
+ * @example
2449
+ * 873648346573245
2450
+ */
2451
+ docId?: string;
2452
+ /**
2453
+ * @remarks
2454
+ * This parameter is required.
2455
+ *
2456
+ * @example
2457
+ * sjdgdsfg
2458
+ */
2459
+ libraryId?: string;
2460
+ static names(): { [key: string]: string } {
2461
+ return {
2462
+ docId: 'docId',
2463
+ libraryId: 'libraryId',
2464
+ };
2465
+ }
2466
+
2467
+ static types(): { [key: string]: any } {
2468
+ return {
2469
+ docId: 'string',
2470
+ libraryId: 'string',
2471
+ };
2472
+ }
2473
+
2474
+ constructor(map?: { [key: string]: any }) {
2475
+ super(map);
2476
+ }
2477
+ }
2478
+
2479
+ export class GetParseResultResponseBody extends $tea.Model {
2480
+ /**
2481
+ * @example
2482
+ * null
2483
+ */
2484
+ cost?: number;
2485
+ data?: GetParseResultResponseBodyData;
2486
+ /**
2487
+ * @example
2488
+ * null
2489
+ */
2490
+ dataType?: string;
2491
+ /**
2492
+ * @example
2493
+ * 0
2494
+ */
2495
+ errCode?: string;
2496
+ /**
2497
+ * @example
2498
+ * ok
2499
+ */
2500
+ message?: string;
2501
+ /**
2502
+ * @example
2503
+ * 0abb793617204049360065953ec6dd
2504
+ */
2505
+ requestId?: string;
2506
+ /**
2507
+ * @example
2508
+ * true
2509
+ */
2510
+ success?: boolean;
2511
+ /**
2512
+ * @example
2513
+ * 2024-04-24 11:54:34
1946
2514
  */
1947
2515
  time?: string;
1948
2516
  static names(): { [key: string]: string } {
@@ -1961,7 +2529,7 @@ export class GetLibraryListResponseBody extends $tea.Model {
1961
2529
  static types(): { [key: string]: any } {
1962
2530
  return {
1963
2531
  cost: 'number',
1964
- data: GetLibraryListResponseBodyData,
2532
+ data: GetParseResultResponseBodyData,
1965
2533
  dataType: 'string',
1966
2534
  errCode: 'string',
1967
2535
  message: 'string',
@@ -1976,10 +2544,10 @@ export class GetLibraryListResponseBody extends $tea.Model {
1976
2544
  }
1977
2545
  }
1978
2546
 
1979
- export class GetLibraryListResponse extends $tea.Model {
2547
+ export class GetParseResultResponse extends $tea.Model {
1980
2548
  headers?: { [key: string]: string };
1981
2549
  statusCode?: number;
1982
- body?: GetLibraryListResponseBody;
2550
+ body?: GetParseResultResponseBody;
1983
2551
  static names(): { [key: string]: string } {
1984
2552
  return {
1985
2553
  headers: 'headers',
@@ -1992,7 +2560,7 @@ export class GetLibraryListResponse extends $tea.Model {
1992
2560
  return {
1993
2561
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1994
2562
  statusCode: 'number',
1995
- body: GetLibraryListResponseBody,
2563
+ body: GetParseResultResponseBody,
1996
2564
  };
1997
2565
  }
1998
2566
 
@@ -2001,34 +2569,24 @@ export class GetLibraryListResponse extends $tea.Model {
2001
2569
  }
2002
2570
  }
2003
2571
 
2004
- export class GetParseResultRequest extends $tea.Model {
2005
- /**
2006
- * @remarks
2007
- * This parameter is required.
2008
- *
2009
- * @example
2010
- * 873648346573245
2011
- */
2012
- docId?: string;
2572
+ export class GetQualityCheckTaskResultRequest extends $tea.Model {
2013
2573
  /**
2014
2574
  * @remarks
2015
2575
  * This parameter is required.
2016
2576
  *
2017
2577
  * @example
2018
- * sjdgdsfg
2578
+ * 17071319
2019
2579
  */
2020
- libraryId?: string;
2580
+ taskId?: string;
2021
2581
  static names(): { [key: string]: string } {
2022
2582
  return {
2023
- docId: 'docId',
2024
- libraryId: 'libraryId',
2583
+ taskId: 'taskId',
2025
2584
  };
2026
2585
  }
2027
2586
 
2028
2587
  static types(): { [key: string]: any } {
2029
2588
  return {
2030
- docId: 'string',
2031
- libraryId: 'string',
2589
+ taskId: 'string',
2032
2590
  };
2033
2591
  }
2034
2592
 
@@ -2037,13 +2595,13 @@ export class GetParseResultRequest extends $tea.Model {
2037
2595
  }
2038
2596
  }
2039
2597
 
2040
- export class GetParseResultResponseBody extends $tea.Model {
2598
+ export class GetQualityCheckTaskResultResponseBody extends $tea.Model {
2041
2599
  /**
2042
2600
  * @example
2043
2601
  * null
2044
2602
  */
2045
2603
  cost?: number;
2046
- data?: GetParseResultResponseBodyData;
2604
+ data?: GetQualityCheckTaskResultResponseBodyData;
2047
2605
  /**
2048
2606
  * @example
2049
2607
  * null
@@ -2061,7 +2619,7 @@ export class GetParseResultResponseBody extends $tea.Model {
2061
2619
  message?: string;
2062
2620
  /**
2063
2621
  * @example
2064
- * 0abb793617204049360065953ec6dd
2622
+ * 67C7021A-D268-553D-8C15-A087B9604028
2065
2623
  */
2066
2624
  requestId?: string;
2067
2625
  /**
@@ -2071,7 +2629,7 @@ export class GetParseResultResponseBody extends $tea.Model {
2071
2629
  success?: boolean;
2072
2630
  /**
2073
2631
  * @example
2074
- * 2024-04-24 11:54:34
2632
+ * 2024-01-01 00:00:00
2075
2633
  */
2076
2634
  time?: string;
2077
2635
  static names(): { [key: string]: string } {
@@ -2090,7 +2648,7 @@ export class GetParseResultResponseBody extends $tea.Model {
2090
2648
  static types(): { [key: string]: any } {
2091
2649
  return {
2092
2650
  cost: 'number',
2093
- data: GetParseResultResponseBodyData,
2651
+ data: GetQualityCheckTaskResultResponseBodyData,
2094
2652
  dataType: 'string',
2095
2653
  errCode: 'string',
2096
2654
  message: 'string',
@@ -2105,10 +2663,10 @@ export class GetParseResultResponseBody extends $tea.Model {
2105
2663
  }
2106
2664
  }
2107
2665
 
2108
- export class GetParseResultResponse extends $tea.Model {
2666
+ export class GetQualityCheckTaskResultResponse extends $tea.Model {
2109
2667
  headers?: { [key: string]: string };
2110
2668
  statusCode?: number;
2111
- body?: GetParseResultResponseBody;
2669
+ body?: GetQualityCheckTaskResultResponseBody;
2112
2670
  static names(): { [key: string]: string } {
2113
2671
  return {
2114
2672
  headers: 'headers',
@@ -2121,7 +2679,7 @@ export class GetParseResultResponse extends $tea.Model {
2121
2679
  return {
2122
2680
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2123
2681
  statusCode: 'number',
2124
- body: GetParseResultResponseBody,
2682
+ body: GetQualityCheckTaskResultResponseBody,
2125
2683
  };
2126
2684
  }
2127
2685
 
@@ -3962,6 +4520,116 @@ export class UploadDocumentResponse extends $tea.Model {
3962
4520
  }
3963
4521
  }
3964
4522
 
4523
+ export class CreateAnnualDocSummaryTaskRequestDocInfos extends $tea.Model {
4524
+ /**
4525
+ * @remarks
4526
+ * This parameter is required.
4527
+ *
4528
+ * @example
4529
+ * 198386463432
4530
+ */
4531
+ docId?: string;
4532
+ /**
4533
+ * @remarks
4534
+ * This parameter is required.
4535
+ *
4536
+ * @example
4537
+ * 2023
4538
+ */
4539
+ docYear?: number;
4540
+ /**
4541
+ * @example
4542
+ * 2
4543
+ */
4544
+ endPage?: number;
4545
+ /**
4546
+ * @remarks
4547
+ * This parameter is required.
4548
+ *
4549
+ * @example
4550
+ * rdxrmo6amk
4551
+ */
4552
+ libraryId?: string;
4553
+ /**
4554
+ * @example
4555
+ * 1
4556
+ */
4557
+ startPage?: number;
4558
+ static names(): { [key: string]: string } {
4559
+ return {
4560
+ docId: 'docId',
4561
+ docYear: 'docYear',
4562
+ endPage: 'endPage',
4563
+ libraryId: 'libraryId',
4564
+ startPage: 'startPage',
4565
+ };
4566
+ }
4567
+
4568
+ static types(): { [key: string]: any } {
4569
+ return {
4570
+ docId: 'string',
4571
+ docYear: 'number',
4572
+ endPage: 'number',
4573
+ libraryId: 'string',
4574
+ startPage: 'number',
4575
+ };
4576
+ }
4577
+
4578
+ constructor(map?: { [key: string]: any }) {
4579
+ super(map);
4580
+ }
4581
+ }
4582
+
4583
+ export class CreateDocsSummaryTaskRequestDocInfos extends $tea.Model {
4584
+ /**
4585
+ * @remarks
4586
+ * This parameter is required.
4587
+ *
4588
+ * @example
4589
+ * 198386463432
4590
+ */
4591
+ docId?: string;
4592
+ /**
4593
+ * @example
4594
+ * 2
4595
+ */
4596
+ endPage?: number;
4597
+ /**
4598
+ * @remarks
4599
+ * This parameter is required.
4600
+ *
4601
+ * @example
4602
+ * rdxrmo6amk
4603
+ */
4604
+ libraryId?: string;
4605
+ /**
4606
+ * @example
4607
+ * 1
4608
+ */
4609
+ startPage?: number;
4610
+ static names(): { [key: string]: string } {
4611
+ return {
4612
+ docId: 'docId',
4613
+ endPage: 'endPage',
4614
+ libraryId: 'libraryId',
4615
+ startPage: 'startPage',
4616
+ };
4617
+ }
4618
+
4619
+ static types(): { [key: string]: any } {
4620
+ return {
4621
+ docId: 'string',
4622
+ endPage: 'number',
4623
+ libraryId: 'string',
4624
+ startPage: 'number',
4625
+ };
4626
+ }
4627
+
4628
+ constructor(map?: { [key: string]: any }) {
4629
+ super(map);
4630
+ }
4631
+ }
4632
+
3965
4633
  export class CreateLibraryRequestIndexSettingChunkStrategy extends $tea.Model {
3966
4634
  /**
3967
4635
  * @example
@@ -4356,6 +5024,174 @@ export class CreatePredefinedDocumentRequestChunks extends $tea.Model {
4356
5024
  }
4357
5025
  }
4358
5026
 
5027
+ export class CreateQualityCheckTaskRequestConversationListDialogueList extends $tea.Model {
5028
+ /**
5029
+ * @example
5030
+ * 0
5031
+ */
5032
+ begin?: number;
5033
+ /**
5034
+ * @example
5035
+ * 2024-05-23 14:57:50
5036
+ */
5037
+ beginTime?: string;
5038
+ /**
5039
+ * @remarks
5040
+ * This parameter is required.
5041
+ */
5042
+ content?: string;
5043
+ /**
5044
+ * @example
5045
+ * 2348234
5046
+ */
5047
+ customerId?: string;
5048
+ /**
5049
+ * @example
5050
+ * 23874627346
5051
+ */
5052
+ customerServiceId?: string;
5053
+ /**
5054
+ * @example
5055
+ * 0
5056
+ */
5057
+ customerServiceType?: string;
5058
+ /**
5059
+ * @example
5060
+ * 0
5061
+ */
5062
+ end?: number;
5063
+ /**
5064
+ * @remarks
5065
+ * This parameter is required.
5066
+ *
5067
+ * @example
5068
+ * 1
5069
+ */
5070
+ role?: string;
5071
+ /**
5072
+ * @remarks
5073
+ * This parameter is required.
5074
+ *
5075
+ * @example
5076
+ * TEXT
5077
+ */
5078
+ type?: string;
5079
+ static names(): { [key: string]: string } {
5080
+ return {
5081
+ begin: 'begin',
5082
+ beginTime: 'beginTime',
5083
+ content: 'content',
5084
+ customerId: 'customerId',
5085
+ customerServiceId: 'customerServiceId',
5086
+ customerServiceType: 'customerServiceType',
5087
+ end: 'end',
5088
+ role: 'role',
5089
+ type: 'type',
5090
+ };
5091
+ }
5092
+
5093
+ static types(): { [key: string]: any } {
5094
+ return {
5095
+ begin: 'number',
5096
+ beginTime: 'string',
5097
+ content: 'string',
5098
+ customerId: 'string',
5099
+ customerServiceId: 'string',
5100
+ customerServiceType: 'string',
5101
+ end: 'number',
5102
+ role: 'string',
5103
+ type: 'string',
5104
+ };
5105
+ }
5106
+
5107
+ constructor(map?: { [key: string]: any }) {
5108
+ super(map);
5109
+ }
5110
+ }
5111
+
5112
+ export class CreateQualityCheckTaskRequestConversationList extends $tea.Model {
5113
+ /**
5114
+ * @example
5115
+ * 1
5116
+ */
5117
+ callType?: string;
5118
+ /**
5119
+ * @example
5120
+ * 1
5121
+ */
5122
+ customerId?: string;
5123
+ customerName?: string;
5124
+ /**
5125
+ * @example
5126
+ * xxx
5127
+ */
5128
+ customerServiceId?: string;
5129
+ customerServiceName?: string;
5130
+ /**
5131
+ * @remarks
5132
+ * This parameter is required.
5133
+ */
5134
+ dialogueList?: CreateQualityCheckTaskRequestConversationListDialogueList[];
5135
+ /**
5136
+ * @example
5137
+ * 2024-09-27 11:23:20
5138
+ */
5139
+ gmtService?: string;
5140
+ static names(): { [key: string]: string } {
5141
+ return {
5142
+ callType: 'callType',
5143
+ customerId: 'customerId',
5144
+ customerName: 'customerName',
5145
+ customerServiceId: 'customerServiceId',
5146
+ customerServiceName: 'customerServiceName',
5147
+ dialogueList: 'dialogueList',
5148
+ gmtService: 'gmtService',
5149
+ };
5150
+ }
5151
+
5152
+ static types(): { [key: string]: any } {
5153
+ return {
5154
+ callType: 'string',
5155
+ customerId: 'string',
5156
+ customerName: 'string',
5157
+ customerServiceId: 'string',
5158
+ customerServiceName: 'string',
5159
+ dialogueList: { 'type': 'array', 'itemType': CreateQualityCheckTaskRequestConversationListDialogueList },
5160
+ gmtService: 'string',
5161
+ };
5162
+ }
5163
+
5164
+ constructor(map?: { [key: string]: any }) {
5165
+ super(map);
5166
+ }
5167
+ }
5168
+
5169
+ export class CreateQualityCheckTaskResponseBodyData extends $tea.Model {
5170
+ /**
5171
+ * @remarks
5172
+ * taskId
5173
+ *
5174
+ * @example
5175
+ * 172373500521
5176
+ */
5177
+ taskId?: string;
5178
+ static names(): { [key: string]: string } {
5179
+ return {
5180
+ taskId: 'taskId',
5181
+ };
5182
+ }
5183
+
5184
+ static types(): { [key: string]: any } {
5185
+ return {
5186
+ taskId: 'string',
5187
+ };
5188
+ }
5189
+
5190
+ constructor(map?: { [key: string]: any }) {
5191
+ super(map);
5192
+ }
5193
+ }
5194
+
4359
5195
  export class GetAppConfigResponseBodyData extends $tea.Model {
4360
5196
  embeddingTypeList?: { [key: string]: string }[];
4361
5197
  frontendConfig?: { [key: string]: boolean };
@@ -5798,40 +6634,356 @@ export class GetLibraryListResponseBodyDataRecords extends $tea.Model {
5798
6634
  * @example
5799
6635
  * 2024-01-01 00:00:00
5800
6636
  */
5801
- gmtCreate?: string;
6637
+ gmtCreate?: string;
6638
+ /**
6639
+ * @example
6640
+ * 2024-01-01 00:00:00
6641
+ */
6642
+ gmtModified?: string;
6643
+ /**
6644
+ * @example
6645
+ * 24vs4aa42jv1rg7
6646
+ */
6647
+ id?: string;
6648
+ indexSetting?: GetLibraryListResponseBodyDataRecordsIndexSetting;
6649
+ libraryName?: string;
6650
+ static names(): { [key: string]: string } {
6651
+ return {
6652
+ description: 'description',
6653
+ documentCount: 'documentCount',
6654
+ gmtCreate: 'gmtCreate',
6655
+ gmtModified: 'gmtModified',
6656
+ id: 'id',
6657
+ indexSetting: 'indexSetting',
6658
+ libraryName: 'libraryName',
6659
+ };
6660
+ }
6661
+
6662
+ static types(): { [key: string]: any } {
6663
+ return {
6664
+ description: 'string',
6665
+ documentCount: 'number',
6666
+ gmtCreate: 'string',
6667
+ gmtModified: 'string',
6668
+ id: 'string',
6669
+ indexSetting: GetLibraryListResponseBodyDataRecordsIndexSetting,
6670
+ libraryName: 'string',
6671
+ };
6672
+ }
6673
+
6674
+ constructor(map?: { [key: string]: any }) {
6675
+ super(map);
6676
+ }
6677
+ }
6678
+
6679
+ export class GetLibraryListResponseBodyData extends $tea.Model {
6680
+ /**
6681
+ * @example
6682
+ * 1
6683
+ */
6684
+ currentPage?: number;
6685
+ /**
6686
+ * @example
6687
+ * 10
6688
+ */
6689
+ pageSize?: number;
6690
+ records?: GetLibraryListResponseBodyDataRecords[];
6691
+ /**
6692
+ * @example
6693
+ * 10
6694
+ */
6695
+ totalPages?: number;
6696
+ /**
6697
+ * @example
6698
+ * 100
6699
+ */
6700
+ totalRecords?: number;
6701
+ static names(): { [key: string]: string } {
6702
+ return {
6703
+ currentPage: 'currentPage',
6704
+ pageSize: 'pageSize',
6705
+ records: 'records',
6706
+ totalPages: 'totalPages',
6707
+ totalRecords: 'totalRecords',
6708
+ };
6709
+ }
6710
+
6711
+ static types(): { [key: string]: any } {
6712
+ return {
6713
+ currentPage: 'number',
6714
+ pageSize: 'number',
6715
+ records: { 'type': 'array', 'itemType': GetLibraryListResponseBodyDataRecords },
6716
+ totalPages: 'number',
6717
+ totalRecords: 'number',
6718
+ };
6719
+ }
6720
+
6721
+ constructor(map?: { [key: string]: any }) {
6722
+ super(map);
6723
+ }
6724
+ }
6725
+
6726
+ export class GetParseResultResponseBodyData extends $tea.Model {
6727
+ /**
6728
+ * @example
6729
+ * pdf
6730
+ */
6731
+ fileType?: string;
6732
+ /**
6733
+ * @example
6734
+ * null
6735
+ */
6736
+ providerType?: string;
6737
+ /**
6738
+ * @example
6739
+ * b0a202e2-5031-4589-a6d7-39185f0d8d01
6740
+ */
6741
+ requestId?: string;
6742
+ /**
6743
+ * @example
6744
+ * {
6745
+ * "Status": "Success",
6746
+ * "Data": {},
6747
+ * "Message": null,
6748
+ * "TaskId": "docmind-20240601-123abc"
6749
+ * }
6750
+ */
6751
+ result?: { [key: string]: any };
6752
+ /**
6753
+ * @example
6754
+ * WaitRefresh
6755
+ */
6756
+ status?: string;
6757
+ static names(): { [key: string]: string } {
6758
+ return {
6759
+ fileType: 'fileType',
6760
+ providerType: 'providerType',
6761
+ requestId: 'requestId',
6762
+ result: 'result',
6763
+ status: 'status',
6764
+ };
6765
+ }
6766
+
6767
+ static types(): { [key: string]: any } {
6768
+ return {
6769
+ fileType: 'string',
6770
+ providerType: 'string',
6771
+ requestId: 'string',
6772
+ result: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
6773
+ status: 'string',
6774
+ };
6775
+ }
6776
+
6777
+ constructor(map?: { [key: string]: any }) {
6778
+ super(map);
6779
+ }
6780
+ }
6781
+
6782
+ export class GetQualityCheckTaskResultResponseBodyDataConversationListDialogueList extends $tea.Model {
6783
+ /**
6784
+ * @example
6785
+ * 0
6786
+ */
6787
+ begin?: number;
6788
+ /**
6789
+ * @example
6790
+ * 2024-09-27 11:23:20
6791
+ */
6792
+ beginTime?: string;
6793
+ content?: string;
6794
+ /**
6795
+ * @example
6796
+ * null
6797
+ */
6798
+ customerId?: string;
6799
+ customerServiceId?: string;
6800
+ /**
6801
+ * @example
6802
+ * 0
6803
+ */
6804
+ customerServiceType?: string;
6805
+ /**
6806
+ * @example
6807
+ * 0
6808
+ */
6809
+ end?: number;
6810
+ /**
6811
+ * @example
6812
+ * 1
6813
+ */
6814
+ id?: number;
6815
+ /**
6816
+ * @example
6817
+ * 0
6818
+ */
6819
+ role?: string;
6820
+ /**
6821
+ * @example
6822
+ * TEXT
6823
+ */
6824
+ type?: string;
6825
+ static names(): { [key: string]: string } {
6826
+ return {
6827
+ begin: 'begin',
6828
+ beginTime: 'beginTime',
6829
+ content: 'content',
6830
+ customerId: 'customerId',
6831
+ customerServiceId: 'customerServiceId',
6832
+ customerServiceType: 'customerServiceType',
6833
+ end: 'end',
6834
+ id: 'id',
6835
+ role: 'role',
6836
+ type: 'type',
6837
+ };
6838
+ }
6839
+
6840
+ static types(): { [key: string]: any } {
6841
+ return {
6842
+ begin: 'number',
6843
+ beginTime: 'string',
6844
+ content: 'string',
6845
+ customerId: 'string',
6846
+ customerServiceId: 'string',
6847
+ customerServiceType: 'string',
6848
+ end: 'number',
6849
+ id: 'number',
6850
+ role: 'string',
6851
+ type: 'string',
6852
+ };
6853
+ }
6854
+
6855
+ constructor(map?: { [key: string]: any }) {
6856
+ super(map);
6857
+ }
6858
+ }
6859
+
6860
+ export class GetQualityCheckTaskResultResponseBodyDataConversationList extends $tea.Model {
6861
+ /**
6862
+ * @example
6863
+ * 1
6864
+ */
6865
+ callType?: string;
6866
+ /**
6867
+ * @example
6868
+ * 234234
6869
+ */
6870
+ customerId?: string;
6871
+ customerName?: string;
6872
+ /**
6873
+ * @example
6874
+ * 23984763826
6875
+ */
6876
+ customerServiceId?: string;
6877
+ customerServiceName?: string;
6878
+ dialogueList?: GetQualityCheckTaskResultResponseBodyDataConversationListDialogueList[];
6879
+ /**
6880
+ * @example
6881
+ * 2024-09-27 11:23:20
6882
+ */
6883
+ gmtService?: string;
6884
+ static names(): { [key: string]: string } {
6885
+ return {
6886
+ callType: 'callType',
6887
+ customerId: 'customerId',
6888
+ customerName: 'customerName',
6889
+ customerServiceId: 'customerServiceId',
6890
+ customerServiceName: 'customerServiceName',
6891
+ dialogueList: 'dialogueList',
6892
+ gmtService: 'gmtService',
6893
+ };
6894
+ }
6895
+
6896
+ static types(): { [key: string]: any } {
6897
+ return {
6898
+ callType: 'string',
6899
+ customerId: 'string',
6900
+ customerName: 'string',
6901
+ customerServiceId: 'string',
6902
+ customerServiceName: 'string',
6903
+ dialogueList: { 'type': 'array', 'itemType': GetQualityCheckTaskResultResponseBodyDataConversationListDialogueList },
6904
+ gmtService: 'string',
6905
+ };
6906
+ }
6907
+
6908
+ constructor(map?: { [key: string]: any }) {
6909
+ super(map);
6910
+ }
6911
+ }
6912
+
6913
+ export class GetQualityCheckTaskResultResponseBodyDataQualityCheckListOriginDialogue extends $tea.Model {
6914
+ /**
6915
+ * @example
6916
+ * 0
6917
+ */
6918
+ begin?: number;
6919
+ /**
6920
+ * @example
6921
+ * 2024-05-23 14:57:50
6922
+ */
6923
+ beginTime?: string;
6924
+ content?: string;
6925
+ /**
6926
+ * @example
6927
+ * xxx
6928
+ */
6929
+ customerId?: string;
6930
+ /**
6931
+ * @example
6932
+ * 23876432
6933
+ */
6934
+ customerServiceId?: string;
6935
+ /**
6936
+ * @example
6937
+ * 0
6938
+ */
6939
+ customerServiceType?: string;
6940
+ /**
6941
+ * @example
6942
+ * 0
6943
+ */
6944
+ end?: number;
6945
+ /**
6946
+ * @example
6947
+ * 1
6948
+ */
6949
+ id?: number;
5802
6950
  /**
5803
6951
  * @example
5804
- * 2024-01-01 00:00:00
6952
+ * 0
5805
6953
  */
5806
- gmtModified?: string;
6954
+ role?: string;
5807
6955
  /**
5808
6956
  * @example
5809
- * 24vs4aa42jv1rg7
6957
+ * TEXT
5810
6958
  */
5811
- id?: string;
5812
- indexSetting?: GetLibraryListResponseBodyDataRecordsIndexSetting;
5813
- libraryName?: string;
6959
+ type?: string;
5814
6960
  static names(): { [key: string]: string } {
5815
6961
  return {
5816
- description: 'description',
5817
- documentCount: 'documentCount',
5818
- gmtCreate: 'gmtCreate',
5819
- gmtModified: 'gmtModified',
6962
+ begin: 'begin',
6963
+ beginTime: 'beginTime',
6964
+ content: 'content',
6965
+ customerId: 'customerId',
6966
+ customerServiceId: 'customerServiceId',
6967
+ customerServiceType: 'customerServiceType',
6968
+ end: 'end',
5820
6969
  id: 'id',
5821
- indexSetting: 'indexSetting',
5822
- libraryName: 'libraryName',
6970
+ role: 'role',
6971
+ type: 'type',
5823
6972
  };
5824
6973
  }
5825
6974
 
5826
6975
  static types(): { [key: string]: any } {
5827
6976
  return {
5828
- description: 'string',
5829
- documentCount: 'number',
5830
- gmtCreate: 'string',
5831
- gmtModified: 'string',
5832
- id: 'string',
5833
- indexSetting: GetLibraryListResponseBodyDataRecordsIndexSetting,
5834
- libraryName: 'string',
6977
+ begin: 'number',
6978
+ beginTime: 'string',
6979
+ content: 'string',
6980
+ customerId: 'string',
6981
+ customerServiceId: 'string',
6982
+ customerServiceType: 'string',
6983
+ end: 'number',
6984
+ id: 'number',
6985
+ role: 'string',
6986
+ type: 'string',
5835
6987
  };
5836
6988
  }
5837
6989
 
@@ -5840,45 +6992,75 @@ export class GetLibraryListResponseBodyDataRecords extends $tea.Model {
5840
6992
  }
5841
6993
  }
5842
6994
 
5843
- export class GetLibraryListResponseBodyData extends $tea.Model {
6995
+ export class GetQualityCheckTaskResultResponseBodyDataQualityCheckList extends $tea.Model {
6996
+ checkExplanation?: string;
5844
6997
  /**
5845
6998
  * @example
5846
- * 1
6999
+ * PASSED
5847
7000
  */
5848
- currentPage?: number;
7001
+ checkPassed?: string;
7002
+ checkProcess?: string;
5849
7003
  /**
5850
7004
  * @example
5851
- * 10
7005
+ * HIT
5852
7006
  */
5853
- pageSize?: number;
5854
- records?: GetLibraryListResponseBodyDataRecords[];
7007
+ checked?: string;
5855
7008
  /**
5856
7009
  * @example
5857
- * 10
7010
+ * 2024-05-23 14:57:50
5858
7011
  */
5859
- totalPages?: number;
7012
+ gmtEnd?: string;
5860
7013
  /**
5861
7014
  * @example
5862
- * 100
7015
+ * 2024-05-23 14:57:50
5863
7016
  */
5864
- totalRecords?: number;
7017
+ gmtStart?: string;
7018
+ /**
7019
+ * @example
7020
+ * 0
7021
+ */
7022
+ mode?: string;
7023
+ originDialogue?: GetQualityCheckTaskResultResponseBodyDataQualityCheckListOriginDialogue[];
7024
+ /**
7025
+ * @example
7026
+ * warning_customers
7027
+ */
7028
+ qualityGroupId?: string;
7029
+ ruleDescription?: string;
7030
+ /**
7031
+ * @example
7032
+ * wcm_start
7033
+ */
7034
+ ruleId?: string;
5865
7035
  static names(): { [key: string]: string } {
5866
7036
  return {
5867
- currentPage: 'currentPage',
5868
- pageSize: 'pageSize',
5869
- records: 'records',
5870
- totalPages: 'totalPages',
5871
- totalRecords: 'totalRecords',
7037
+ checkExplanation: 'checkExplanation',
7038
+ checkPassed: 'checkPassed',
7039
+ checkProcess: 'checkProcess',
7040
+ checked: 'checked',
7041
+ gmtEnd: 'gmtEnd',
7042
+ gmtStart: 'gmtStart',
7043
+ mode: 'mode',
7044
+ originDialogue: 'originDialogue',
7045
+ qualityGroupId: 'qualityGroupId',
7046
+ ruleDescription: 'ruleDescription',
7047
+ ruleId: 'ruleId',
5872
7048
  };
5873
7049
  }
5874
7050
 
5875
7051
  static types(): { [key: string]: any } {
5876
7052
  return {
5877
- currentPage: 'number',
5878
- pageSize: 'number',
5879
- records: { 'type': 'array', 'itemType': GetLibraryListResponseBodyDataRecords },
5880
- totalPages: 'number',
5881
- totalRecords: 'number',
7053
+ checkExplanation: 'string',
7054
+ checkPassed: 'string',
7055
+ checkProcess: 'string',
7056
+ checked: 'string',
7057
+ gmtEnd: 'string',
7058
+ gmtStart: 'string',
7059
+ mode: 'string',
7060
+ originDialogue: { 'type': 'array', 'itemType': GetQualityCheckTaskResultResponseBodyDataQualityCheckListOriginDialogue },
7061
+ qualityGroupId: 'string',
7062
+ ruleDescription: 'string',
7063
+ ruleId: 'string',
5882
7064
  };
5883
7065
  }
5884
7066
 
@@ -5887,54 +7069,55 @@ export class GetLibraryListResponseBodyData extends $tea.Model {
5887
7069
  }
5888
7070
  }
5889
7071
 
5890
- export class GetParseResultResponseBodyData extends $tea.Model {
7072
+ export class GetQualityCheckTaskResultResponseBodyData extends $tea.Model {
7073
+ conversationList?: GetQualityCheckTaskResultResponseBodyDataConversationList;
5891
7074
  /**
5892
7075
  * @example
5893
- * pdf
7076
+ * 2024-09-27 11:23:20
5894
7077
  */
5895
- fileType?: string;
7078
+ gmtCreate?: string;
5896
7079
  /**
5897
7080
  * @example
5898
- * null
7081
+ * 2024-09-27 11:23:20
5899
7082
  */
5900
- providerType?: string;
7083
+ gmtEnd?: string;
5901
7084
  /**
5902
7085
  * @example
5903
- * b0a202e2-5031-4589-a6d7-39185f0d8d01
7086
+ * 2024-09-27 11:23:20
5904
7087
  */
5905
- requestId?: string;
7088
+ gmtStart?: string;
7089
+ qualityCheckList?: GetQualityCheckTaskResultResponseBodyDataQualityCheckList[];
5906
7090
  /**
5907
7091
  * @example
5908
- * {
5909
- * "Status": "Success",
5910
- * "Data": {},
5911
- * "Message": null,
5912
- * "TaskId": "docmind-20240601-123abc"
5913
- * }
7092
+ * INIT
5914
7093
  */
5915
- result?: { [key: string]: any };
7094
+ status?: string;
5916
7095
  /**
5917
7096
  * @example
5918
- * WaitRefresh
7097
+ * 1703557101831
5919
7098
  */
5920
- status?: string;
7099
+ taskId?: string;
5921
7100
  static names(): { [key: string]: string } {
5922
7101
  return {
5923
- fileType: 'fileType',
5924
- providerType: 'providerType',
5925
- requestId: 'requestId',
5926
- result: 'result',
7102
+ conversationList: 'conversationList',
7103
+ gmtCreate: 'gmtCreate',
7104
+ gmtEnd: 'gmtEnd',
7105
+ gmtStart: 'gmtStart',
7106
+ qualityCheckList: 'qualityCheckList',
5927
7107
  status: 'status',
7108
+ taskId: 'taskId',
5928
7109
  };
5929
7110
  }
5930
7111
 
5931
7112
  static types(): { [key: string]: any } {
5932
7113
  return {
5933
- fileType: 'string',
5934
- providerType: 'string',
5935
- requestId: 'string',
5936
- result: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
7114
+ conversationList: GetQualityCheckTaskResultResponseBodyDataConversationList,
7115
+ gmtCreate: 'string',
7116
+ gmtEnd: 'string',
7117
+ gmtStart: 'string',
7118
+ qualityCheckList: { 'type': 'array', 'itemType': GetQualityCheckTaskResultResponseBodyDataQualityCheckList },
5937
7119
  status: 'string',
7120
+ taskId: 'string',
5938
7121
  };
5939
7122
  }
5940
7123
 
@@ -7828,6 +9011,124 @@ export default class Client extends OpenApi {
7828
9011
  return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
7829
9012
  }
7830
9013
 
9014
+ /**
9015
+ * 创建按年文档总结任务
9016
+ *
9017
+ * @param request - CreateAnnualDocSummaryTaskRequest
9018
+ * @param headers - map
9019
+ * @param runtime - runtime options for this request RuntimeOptions
9020
+ * @returns CreateAnnualDocSummaryTaskResponse
9021
+ */
9022
+ async createAnnualDocSummaryTaskWithOptions(workspaceId: string, request: CreateAnnualDocSummaryTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateAnnualDocSummaryTaskResponse> {
9023
+ Util.validateModel(request);
9024
+ let body : {[key: string ]: any} = { };
9025
+ if (!Util.isUnset(request.anaYears)) {
9026
+ body["anaYears"] = request.anaYears;
9027
+ }
9028
+
9029
+ if (!Util.isUnset(request.docInfos)) {
9030
+ body["docInfos"] = request.docInfos;
9031
+ }
9032
+
9033
+ if (!Util.isUnset(request.enableTable)) {
9034
+ body["enableTable"] = request.enableTable;
9035
+ }
9036
+
9037
+ if (!Util.isUnset(request.instruction)) {
9038
+ body["instruction"] = request.instruction;
9039
+ }
9040
+
9041
+ if (!Util.isUnset(request.modelId)) {
9042
+ body["modelId"] = request.modelId;
9043
+ }
9044
+
9045
+ let req = new $OpenApi.OpenApiRequest({
9046
+ headers: headers,
9047
+ body: OpenApiUtil.parseToMap(body),
9048
+ });
9049
+ let params = new $OpenApi.Params({
9050
+ action: "CreateAnnualDocSummaryTask",
9051
+ version: "2024-06-28",
9052
+ protocol: "HTTPS",
9053
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/task/summary/doc/annual`,
9054
+ method: "POST",
9055
+ authType: "AK",
9056
+ style: "ROA",
9057
+ reqBodyType: "json",
9058
+ bodyType: "json",
9059
+ });
9060
+ return $tea.cast<CreateAnnualDocSummaryTaskResponse>(await this.callApi(params, req, runtime), new CreateAnnualDocSummaryTaskResponse({}));
9061
+ }
9062
+
9063
+ /**
9064
+ * 创建按年文档总结任务
9065
+ *
9066
+ * @param request - CreateAnnualDocSummaryTaskRequest
9067
+ * @returns CreateAnnualDocSummaryTaskResponse
9068
+ */
9069
+ async createAnnualDocSummaryTask(workspaceId: string, request: CreateAnnualDocSummaryTaskRequest): Promise<CreateAnnualDocSummaryTaskResponse> {
9070
+ let runtime = new $Util.RuntimeOptions({ });
9071
+ let headers : {[key: string ]: string} = { };
9072
+ return await this.createAnnualDocSummaryTaskWithOptions(workspaceId, request, headers, runtime);
9073
+ }
9074
+
9075
+ /**
9076
+ * 创建财报总结任务
9077
+ *
9078
+ * @param request - CreateDocsSummaryTaskRequest
9079
+ * @param headers - map
9080
+ * @param runtime - runtime options for this request RuntimeOptions
9081
+ * @returns CreateDocsSummaryTaskResponse
9082
+ */
9083
+ async createDocsSummaryTaskWithOptions(workspaceId: string, request: CreateDocsSummaryTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateDocsSummaryTaskResponse> {
9084
+ Util.validateModel(request);
9085
+ let body : {[key: string ]: any} = { };
9086
+ if (!Util.isUnset(request.docInfos)) {
9087
+ body["docInfos"] = request.docInfos;
9088
+ }
9089
+
9090
+ if (!Util.isUnset(request.enableTable)) {
9091
+ body["enableTable"] = request.enableTable;
9092
+ }
9093
+
9094
+ if (!Util.isUnset(request.instruction)) {
9095
+ body["instruction"] = request.instruction;
9096
+ }
9097
+
9098
+ if (!Util.isUnset(request.modelId)) {
9099
+ body["modelId"] = request.modelId;
9100
+ }
9101
+
9102
+ let req = new $OpenApi.OpenApiRequest({
9103
+ headers: headers,
9104
+ body: OpenApiUtil.parseToMap(body),
9105
+ });
9106
+ let params = new $OpenApi.Params({
9107
+ action: "CreateDocsSummaryTask",
9108
+ version: "2024-06-28",
9109
+ protocol: "HTTPS",
9110
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/task/summary/docs`,
9111
+ method: "POST",
9112
+ authType: "AK",
9113
+ style: "ROA",
9114
+ reqBodyType: "json",
9115
+ bodyType: "json",
9116
+ });
9117
+ return $tea.cast<CreateDocsSummaryTaskResponse>(await this.callApi(params, req, runtime), new CreateDocsSummaryTaskResponse({}));
9118
+ }
9119
+
9120
+ /**
9121
+ * 创建财报总结任务
9122
+ *
9123
+ * @param request - CreateDocsSummaryTaskRequest
9124
+ * @returns CreateDocsSummaryTaskResponse
9125
+ */
9126
+ async createDocsSummaryTask(workspaceId: string, request: CreateDocsSummaryTaskRequest): Promise<CreateDocsSummaryTaskResponse> {
9127
+ let runtime = new $Util.RuntimeOptions({ });
9128
+ let headers : {[key: string ]: string} = { };
9129
+ return await this.createDocsSummaryTaskWithOptions(workspaceId, request, headers, runtime);
9130
+ }
9131
+
7831
9132
  /**
7832
9133
  * 创建财报总结任务
7833
9134
  *
@@ -8072,6 +9373,71 @@ export default class Client extends OpenApi {
8072
9373
  return await this.createPredefinedDocumentWithOptions(workspaceId, request, headers, runtime);
8073
9374
  }
8074
9375
 
9376
+ /**
9377
+ * 创建财报总结的任务
9378
+ *
9379
+ * @param request - CreateQualityCheckTaskRequest
9380
+ * @param headers - map
9381
+ * @param runtime - runtime options for this request RuntimeOptions
9382
+ * @returns CreateQualityCheckTaskResponse
9383
+ */
9384
+ async createQualityCheckTaskWithOptions(workspaceId: string, request: CreateQualityCheckTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateQualityCheckTaskResponse> {
9385
+ Util.validateModel(request);
9386
+ let body : {[key: string ]: any} = { };
9387
+ if (!Util.isUnset(request.conversationList)) {
9388
+ body["conversationList"] = request.conversationList;
9389
+ }
9390
+
9391
+ if (!Util.isUnset(request.gmtService)) {
9392
+ body["gmtService"] = request.gmtService;
9393
+ }
9394
+
9395
+ if (!Util.isUnset(request.metaData)) {
9396
+ body["metaData"] = request.metaData;
9397
+ }
9398
+
9399
+ if (!Util.isUnset(request.qualityGroup)) {
9400
+ body["qualityGroup"] = request.qualityGroup;
9401
+ }
9402
+
9403
+ if (!Util.isUnset(request.requestId)) {
9404
+ body["requestId"] = request.requestId;
9405
+ }
9406
+
9407
+ if (!Util.isUnset(request.type)) {
9408
+ body["type"] = request.type;
9409
+ }
9410
+
9411
+ let req = new $OpenApi.OpenApiRequest({
9412
+ headers: headers,
9413
+ body: OpenApiUtil.parseToMap(body),
9414
+ });
9415
+ let params = new $OpenApi.Params({
9416
+ action: "CreateQualityCheckTask",
9417
+ version: "2024-06-28",
9418
+ protocol: "HTTPS",
9419
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/qualitycheck/task/submit`,
9420
+ method: "POST",
9421
+ authType: "AK",
9422
+ style: "ROA",
9423
+ reqBodyType: "json",
9424
+ bodyType: "json",
9425
+ });
9426
+ return $tea.cast<CreateQualityCheckTaskResponse>(await this.callApi(params, req, runtime), new CreateQualityCheckTaskResponse({}));
9427
+ }
9428
+
9429
+ /**
9430
+ * 创建财报总结的任务
9431
+ *
9432
+ * @param request - CreateQualityCheckTaskRequest
9433
+ * @returns CreateQualityCheckTaskResponse
9434
+ */
9435
+ async createQualityCheckTask(workspaceId: string, request: CreateQualityCheckTaskRequest): Promise<CreateQualityCheckTaskResponse> {
9436
+ let runtime = new $Util.RuntimeOptions({ });
9437
+ let headers : {[key: string ]: string} = { };
9438
+ return await this.createQualityCheckTaskWithOptions(workspaceId, request, headers, runtime);
9439
+ }
9440
+
8075
9441
  /**
8076
9442
  * 删除文档
8077
9443
  *
@@ -8694,6 +10060,51 @@ export default class Client extends OpenApi {
8694
10060
  return await this.getParseResultWithOptions(workspaceId, request, headers, runtime);
8695
10061
  }
8696
10062
 
10063
+ /**
10064
+ * 获取异步任务的结果
10065
+ *
10066
+ * @param request - GetQualityCheckTaskResultRequest
10067
+ * @param headers - map
10068
+ * @param runtime - runtime options for this request RuntimeOptions
10069
+ * @returns GetQualityCheckTaskResultResponse
10070
+ */
10071
+ async getQualityCheckTaskResultWithOptions(workspaceId: string, request: GetQualityCheckTaskResultRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetQualityCheckTaskResultResponse> {
10072
+ Util.validateModel(request);
10073
+ let query : {[key: string ]: any} = { };
10074
+ if (!Util.isUnset(request.taskId)) {
10075
+ query["taskId"] = request.taskId;
10076
+ }
10077
+
10078
+ let req = new $OpenApi.OpenApiRequest({
10079
+ headers: headers,
10080
+ query: OpenApiUtil.query(query),
10081
+ });
10082
+ let params = new $OpenApi.Params({
10083
+ action: "GetQualityCheckTaskResult",
10084
+ version: "2024-06-28",
10085
+ protocol: "HTTPS",
10086
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/qualitycheck/task/query`,
10087
+ method: "GET",
10088
+ authType: "AK",
10089
+ style: "ROA",
10090
+ reqBodyType: "json",
10091
+ bodyType: "json",
10092
+ });
10093
+ return $tea.cast<GetQualityCheckTaskResultResponse>(await this.callApi(params, req, runtime), new GetQualityCheckTaskResultResponse({}));
10094
+ }
10095
+
10096
+ /**
10097
+ * 获取异步任务的结果
10098
+ *
10099
+ * @param request - GetQualityCheckTaskResultRequest
10100
+ * @returns GetQualityCheckTaskResultResponse
10101
+ */
10102
+ async getQualityCheckTaskResult(workspaceId: string, request: GetQualityCheckTaskResultRequest): Promise<GetQualityCheckTaskResultResponse> {
10103
+ let runtime = new $Util.RuntimeOptions({ });
10104
+ let headers : {[key: string ]: string} = { };
10105
+ return await this.getQualityCheckTaskResultWithOptions(workspaceId, request, headers, runtime);
10106
+ }
10107
+
8697
10108
  /**
8698
10109
  * 获取财报总结任务结果
8699
10110
  *