@semantha/sdk 12.1.0 → 12.2.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/dist/index.d.mts +180 -2126
- package/dist/index.d.ts +180 -2126
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -105,37 +105,6 @@ interface Area {
|
|
|
105
105
|
height: number;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
/**
|
|
109
|
-
* @author semantha
|
|
110
|
-
*
|
|
111
|
-
* This is a generated file do not change manually!
|
|
112
|
-
*/
|
|
113
|
-
interface ConditionValue {
|
|
114
|
-
function?: string;
|
|
115
|
-
arguments?: Argument[];
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* @author semantha
|
|
120
|
-
*
|
|
121
|
-
* This is a generated file do not change manually!
|
|
122
|
-
*/
|
|
123
|
-
interface Field {
|
|
124
|
-
id: string;
|
|
125
|
-
type: FieldTypeEnum;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* @author semantha
|
|
130
|
-
*
|
|
131
|
-
* This is a generated file do not change manually!
|
|
132
|
-
*/
|
|
133
|
-
interface Argument {
|
|
134
|
-
value?: string;
|
|
135
|
-
fields?: Field[];
|
|
136
|
-
condition?: ConditionValue;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
108
|
/**
|
|
140
109
|
* @author semantha
|
|
141
110
|
*
|
|
@@ -145,74 +114,6 @@ interface Attachment {
|
|
|
145
114
|
name?: string;
|
|
146
115
|
}
|
|
147
116
|
|
|
148
|
-
/**
|
|
149
|
-
* @author semantha
|
|
150
|
-
*
|
|
151
|
-
* This is a generated file do not change manually!
|
|
152
|
-
*/
|
|
153
|
-
interface Label {
|
|
154
|
-
lang: string;
|
|
155
|
-
value: string;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* @author semantha
|
|
160
|
-
*
|
|
161
|
-
* This is a generated file do not change manually!
|
|
162
|
-
*/
|
|
163
|
-
interface MetadataValue {
|
|
164
|
-
id: string;
|
|
165
|
-
value: string;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* @author semantha
|
|
170
|
-
*
|
|
171
|
-
* This is a generated file do not change manually!
|
|
172
|
-
*/
|
|
173
|
-
interface Attribute {
|
|
174
|
-
name: string;
|
|
175
|
-
datatype: AttributeDatatypeEnum;
|
|
176
|
-
id?: string;
|
|
177
|
-
readOnly?: boolean;
|
|
178
|
-
functional?: boolean;
|
|
179
|
-
labels?: Label[];
|
|
180
|
-
metadata?: MetadataValue[];
|
|
181
|
-
comment?: string;
|
|
182
|
-
relevantForRelation?: boolean;
|
|
183
|
-
objectPropertyId?: string;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* @author semantha
|
|
188
|
-
*
|
|
189
|
-
* This is a generated file do not change manually!
|
|
190
|
-
*/
|
|
191
|
-
declare const AttributeDatatypeEnumValues: readonly ["STRING", "CURRENCY", "DATE", "NUMBER", "YEAR", "BOOLEAN", "INTEGER"];
|
|
192
|
-
type AttributeDatatypeEnum = (typeof AttributeDatatypeEnumValues)[number];
|
|
193
|
-
declare function isAttributeDatatypeEnumValue(value: any): value is AttributeDatatypeEnum;
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* @author semantha
|
|
197
|
-
*
|
|
198
|
-
* This is a generated file do not change manually!
|
|
199
|
-
*/
|
|
200
|
-
interface AttributeOverview {
|
|
201
|
-
name: string;
|
|
202
|
-
id?: string;
|
|
203
|
-
readOnly?: boolean;
|
|
204
|
-
datatype?: AttributeOverviewDatatypeEnum;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* @author semantha
|
|
209
|
-
*
|
|
210
|
-
* This is a generated file do not change manually!
|
|
211
|
-
*/
|
|
212
|
-
declare const AttributeOverviewDatatypeEnumValues: readonly ["STRING", "CURRENCY", "DATE", "NUMBER", "YEAR", "BOOLEAN", "INTEGER"];
|
|
213
|
-
type AttributeOverviewDatatypeEnum = (typeof AttributeOverviewDatatypeEnumValues)[number];
|
|
214
|
-
declare function isAttributeOverviewDatatypeEnumValue(value: any): value is AttributeOverviewDatatypeEnum;
|
|
215
|
-
|
|
216
117
|
/**
|
|
217
118
|
* @author semantha
|
|
218
119
|
*
|
|
@@ -336,152 +237,6 @@ interface ChatResponse {
|
|
|
336
237
|
conversationId?: string;
|
|
337
238
|
}
|
|
338
239
|
|
|
339
|
-
/**
|
|
340
|
-
* @author semantha
|
|
341
|
-
*
|
|
342
|
-
* This is a generated file do not change manually!
|
|
343
|
-
*/
|
|
344
|
-
interface Class {
|
|
345
|
-
name: string;
|
|
346
|
-
id?: string;
|
|
347
|
-
readOnly?: boolean;
|
|
348
|
-
functional?: boolean;
|
|
349
|
-
labels?: Label[];
|
|
350
|
-
metadata?: MetadataValue[];
|
|
351
|
-
comment?: string;
|
|
352
|
-
attributes?: Attribute[];
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* @author semantha
|
|
357
|
-
*
|
|
358
|
-
* This is a generated file do not change manually!
|
|
359
|
-
*/
|
|
360
|
-
interface ClassBulk {
|
|
361
|
-
name: string;
|
|
362
|
-
id?: string;
|
|
363
|
-
readOnly?: boolean;
|
|
364
|
-
functional?: boolean;
|
|
365
|
-
labels?: Label[];
|
|
366
|
-
metadata?: MetadataValue[];
|
|
367
|
-
comment?: string;
|
|
368
|
-
datatype?: ClassBulkDatatypeEnum;
|
|
369
|
-
attributeIds?: string[];
|
|
370
|
-
relevantForRelation?: boolean;
|
|
371
|
-
objectPropertyId?: string;
|
|
372
|
-
objectPropertyTypeId?: string;
|
|
373
|
-
parentId?: string;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* @author semantha
|
|
378
|
-
*
|
|
379
|
-
* This is a generated file do not change manually!
|
|
380
|
-
*/
|
|
381
|
-
declare const ClassBulkDatatypeEnumValues: readonly ["STRING", "CURRENCY", "DATE", "NUMBER", "YEAR", "BOOLEAN", "INTEGER"];
|
|
382
|
-
type ClassBulkDatatypeEnum = (typeof ClassBulkDatatypeEnumValues)[number];
|
|
383
|
-
declare function isClassBulkDatatypeEnumValue(value: any): value is ClassBulkDatatypeEnum;
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* @author semantha
|
|
387
|
-
*
|
|
388
|
-
* This is a generated file do not change manually!
|
|
389
|
-
*/
|
|
390
|
-
interface ClassesOverview {
|
|
391
|
-
name: string;
|
|
392
|
-
id?: string;
|
|
393
|
-
readOnly?: boolean;
|
|
394
|
-
attributes?: ClassesOverview[];
|
|
395
|
-
objectPropertyId?: string;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* @author semantha
|
|
400
|
-
*
|
|
401
|
-
* This is a generated file do not change manually!
|
|
402
|
-
*/
|
|
403
|
-
interface FileReference {
|
|
404
|
-
fileId?: string;
|
|
405
|
-
name?: string;
|
|
406
|
-
pageNumber?: number;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* @author semantha
|
|
411
|
-
*
|
|
412
|
-
* This is a generated file do not change manually!
|
|
413
|
-
*/
|
|
414
|
-
interface ExtractionArea {
|
|
415
|
-
file?: FileReference;
|
|
416
|
-
rect?: Rect;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* @author semantha
|
|
421
|
-
*
|
|
422
|
-
* This is a generated file do not change manually!
|
|
423
|
-
*/
|
|
424
|
-
interface ExtractionReference {
|
|
425
|
-
documentId?: string;
|
|
426
|
-
similarity?: number;
|
|
427
|
-
used?: boolean;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* @author semantha
|
|
432
|
-
*
|
|
433
|
-
* This is a generated file do not change manually!
|
|
434
|
-
*/
|
|
435
|
-
interface Finding {
|
|
436
|
-
statusCode?: number;
|
|
437
|
-
severity?: string;
|
|
438
|
-
message?: string;
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
/**
|
|
442
|
-
* @author semantha
|
|
443
|
-
*
|
|
444
|
-
* This is a generated file do not change manually!
|
|
445
|
-
*/
|
|
446
|
-
interface Metadata {
|
|
447
|
-
name: string;
|
|
448
|
-
value: string;
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
/**
|
|
452
|
-
* @author semantha
|
|
453
|
-
*
|
|
454
|
-
* This is a generated file do not change manually!
|
|
455
|
-
*/
|
|
456
|
-
interface ComplexProperty {
|
|
457
|
-
name: string;
|
|
458
|
-
value: string;
|
|
459
|
-
label?: string;
|
|
460
|
-
id?: string;
|
|
461
|
-
classId?: string;
|
|
462
|
-
relationId?: string;
|
|
463
|
-
originalValue?: string;
|
|
464
|
-
extractedValue?: string;
|
|
465
|
-
datatype?: string;
|
|
466
|
-
labels?: Label[];
|
|
467
|
-
metadata?: Metadata[];
|
|
468
|
-
extractionArea?: ExtractionArea;
|
|
469
|
-
findings?: Finding[];
|
|
470
|
-
references?: ExtractionReference[];
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
* @author semantha
|
|
475
|
-
*
|
|
476
|
-
* This is a generated file do not change manually!
|
|
477
|
-
*/
|
|
478
|
-
interface Condition {
|
|
479
|
-
left?: ConditionValue;
|
|
480
|
-
operator?: string;
|
|
481
|
-
right?: ConditionValue;
|
|
482
|
-
conditionString?: string;
|
|
483
|
-
}
|
|
484
|
-
|
|
485
240
|
/**
|
|
486
241
|
* @author semantha
|
|
487
242
|
*
|
|
@@ -504,38 +259,6 @@ interface CustomField {
|
|
|
504
259
|
type: string;
|
|
505
260
|
}
|
|
506
261
|
|
|
507
|
-
/**
|
|
508
|
-
* @author semantha
|
|
509
|
-
*
|
|
510
|
-
* This is a generated file do not change manually!
|
|
511
|
-
*/
|
|
512
|
-
interface DataProperty {
|
|
513
|
-
name: string;
|
|
514
|
-
id?: string;
|
|
515
|
-
readOnly?: boolean;
|
|
516
|
-
functional?: boolean;
|
|
517
|
-
labels?: Label[];
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
/**
|
|
521
|
-
* @author semantha
|
|
522
|
-
*
|
|
523
|
-
* This is a generated file do not change manually!
|
|
524
|
-
*/
|
|
525
|
-
interface Difference {
|
|
526
|
-
operation: DifferenceOperationEnum;
|
|
527
|
-
text: string;
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
/**
|
|
531
|
-
* @author semantha
|
|
532
|
-
*
|
|
533
|
-
* This is a generated file do not change manually!
|
|
534
|
-
*/
|
|
535
|
-
declare const DifferenceOperationEnumValues: readonly ["DELETE", "INSERT", "EQUAL"];
|
|
536
|
-
type DifferenceOperationEnum = (typeof DifferenceOperationEnumValues)[number];
|
|
537
|
-
declare function isDifferenceOperationEnumValue(value: any): value is DifferenceOperationEnum;
|
|
538
|
-
|
|
539
262
|
/**
|
|
540
263
|
* @author semantha
|
|
541
264
|
*
|
|
@@ -749,6 +472,7 @@ interface DocumentClassNode {
|
|
|
749
472
|
parentId?: string;
|
|
750
473
|
shortId?: string;
|
|
751
474
|
documentsCount?: number;
|
|
475
|
+
subClasses?: DocumentClassNode[];
|
|
752
476
|
customFields?: CustomField[];
|
|
753
477
|
}
|
|
754
478
|
|
|
@@ -852,7 +576,6 @@ interface DocumentTypeConfig {
|
|
|
852
576
|
basedOnDocumentType?: string;
|
|
853
577
|
doAutoSplitting?: boolean;
|
|
854
578
|
autoSplitDistance?: number;
|
|
855
|
-
useSimilarityModelForExtraction?: boolean;
|
|
856
579
|
doParagraphMergingForTextFiles?: boolean;
|
|
857
580
|
}
|
|
858
581
|
|
|
@@ -882,22 +605,12 @@ interface DocumentTypeChange {
|
|
|
882
605
|
splitModus?: string;
|
|
883
606
|
splitByType?: string;
|
|
884
607
|
splitByRegex?: string;
|
|
885
|
-
useSimilarityModelForExtraction?: boolean;
|
|
886
608
|
doParagraphMergingForTextFiles?: boolean;
|
|
887
609
|
ignoredPages?: number[];
|
|
888
610
|
viewport?: Area;
|
|
889
611
|
customFields?: CustomField[];
|
|
890
612
|
}
|
|
891
613
|
|
|
892
|
-
/**
|
|
893
|
-
* @author semantha
|
|
894
|
-
*
|
|
895
|
-
* This is a generated file do not change manually!
|
|
896
|
-
*/
|
|
897
|
-
declare const DocumentmodeEnumValues: readonly ["sentence", "paragraph"];
|
|
898
|
-
type DocumentmodeEnum = (typeof DocumentmodeEnumValues)[number];
|
|
899
|
-
declare function isDocumentmodeEnumValue(value: any): value is DocumentmodeEnum;
|
|
900
|
-
|
|
901
614
|
/**
|
|
902
615
|
* @author semantha
|
|
903
616
|
*
|
|
@@ -925,14 +638,6 @@ interface Settings {
|
|
|
925
638
|
enableNoMatchColorRed?: boolean;
|
|
926
639
|
enableContextConsideration?: boolean;
|
|
927
640
|
enableParagraphResizing?: boolean;
|
|
928
|
-
similarityMaxDeviation?: number;
|
|
929
|
-
enableTagging?: boolean;
|
|
930
|
-
taggingThreshold?: number;
|
|
931
|
-
taggingStrategy?: string;
|
|
932
|
-
extractionThreshold?: number;
|
|
933
|
-
extractionStrategy?: string;
|
|
934
|
-
resizeParagraphsOnExtraction?: boolean;
|
|
935
|
-
relevantPageCount?: number;
|
|
936
641
|
enableGPT?: boolean;
|
|
937
642
|
maxNumberOfPages?: number;
|
|
938
643
|
maxNumberOfRows?: number;
|
|
@@ -1001,9 +706,12 @@ declare function isErrorFieldCodeEnumValue(value: any): value is ErrorFieldCodeE
|
|
|
1001
706
|
*
|
|
1002
707
|
* This is a generated file do not change manually!
|
|
1003
708
|
*/
|
|
1004
|
-
interface
|
|
1005
|
-
|
|
1006
|
-
|
|
709
|
+
interface Info {
|
|
710
|
+
title: string;
|
|
711
|
+
vendor: string;
|
|
712
|
+
time: string;
|
|
713
|
+
git: string;
|
|
714
|
+
version: string;
|
|
1007
715
|
}
|
|
1008
716
|
|
|
1009
717
|
/**
|
|
@@ -1011,16 +719,13 @@ interface Expression {
|
|
|
1011
719
|
*
|
|
1012
720
|
* This is a generated file do not change manually!
|
|
1013
721
|
*/
|
|
1014
|
-
interface
|
|
1015
|
-
id?: string;
|
|
1016
|
-
externalId?: string;
|
|
722
|
+
interface McpCapability {
|
|
1017
723
|
name?: string;
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
created?: number;
|
|
724
|
+
title?: string;
|
|
725
|
+
description?: string;
|
|
726
|
+
readOnly?: boolean;
|
|
727
|
+
destructive?: boolean;
|
|
728
|
+
examples?: string[];
|
|
1024
729
|
}
|
|
1025
730
|
|
|
1026
731
|
/**
|
|
@@ -1028,9 +733,12 @@ interface ExtractionFile {
|
|
|
1028
733
|
*
|
|
1029
734
|
* This is a generated file do not change manually!
|
|
1030
735
|
*/
|
|
1031
|
-
interface
|
|
1032
|
-
|
|
1033
|
-
|
|
736
|
+
interface McpToolDescriptor {
|
|
737
|
+
label?: string;
|
|
738
|
+
description?: string;
|
|
739
|
+
allowedTools?: string[];
|
|
740
|
+
auth?: McpToolDescriptorAuthEnum;
|
|
741
|
+
capabilities?: McpCapability[];
|
|
1034
742
|
}
|
|
1035
743
|
|
|
1036
744
|
/**
|
|
@@ -1038,290 +746,46 @@ interface Matcher {
|
|
|
1038
746
|
*
|
|
1039
747
|
* This is a generated file do not change manually!
|
|
1040
748
|
*/
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
}
|
|
749
|
+
declare const McpToolDescriptorAuthEnumValues: readonly ["REQUIRED", "OPTIONAL", "NONE"];
|
|
750
|
+
type McpToolDescriptorAuthEnum = (typeof McpToolDescriptorAuthEnumValues)[number];
|
|
751
|
+
declare function isMcpToolDescriptorAuthEnumValue(value: any): value is McpToolDescriptorAuthEnum;
|
|
1045
752
|
|
|
1046
753
|
/**
|
|
1047
754
|
* @author semantha
|
|
1048
755
|
*
|
|
1049
756
|
* This is a generated file do not change manually!
|
|
1050
757
|
*/
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
combinationType?: string;
|
|
1055
|
-
range?: Range;
|
|
1056
|
-
start?: Matcher;
|
|
1057
|
-
end?: Matcher;
|
|
1058
|
-
inBetweenExtractor?: Extractor[];
|
|
1059
|
-
}
|
|
758
|
+
declare const MessageResponseRoleEnumValues: readonly ["USER", "ASSISTANT", "SYSTEM"];
|
|
759
|
+
type MessageResponseRoleEnum = (typeof MessageResponseRoleEnumValues)[number];
|
|
760
|
+
declare function isMessageResponseRoleEnumValue(value: any): value is MessageResponseRoleEnum;
|
|
1060
761
|
|
|
1061
762
|
/**
|
|
1062
763
|
* @author semantha
|
|
1063
764
|
*
|
|
1064
765
|
* This is a generated file do not change manually!
|
|
1065
766
|
*/
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
datatype: ExtractorAttributeDatatypeEnum;
|
|
1070
|
-
defaultValue?: string;
|
|
1071
|
-
textMode?: string;
|
|
1072
|
-
formatterId?: string;
|
|
1073
|
-
textTypes?: string[];
|
|
1074
|
-
extractMany?: boolean;
|
|
1075
|
-
extractors?: Extractor[];
|
|
1076
|
-
}
|
|
767
|
+
declare const MessageResponseTypeEnumValues: readonly ["ANSWER", "REASONING", "ERROR", "APPROVAL_REQUEST"];
|
|
768
|
+
type MessageResponseTypeEnum = (typeof MessageResponseTypeEnumValues)[number];
|
|
769
|
+
declare function isMessageResponseTypeEnumValue(value: any): value is MessageResponseTypeEnum;
|
|
1077
770
|
|
|
1078
771
|
/**
|
|
1079
772
|
* @author semantha
|
|
1080
773
|
*
|
|
1081
774
|
* This is a generated file do not change manually!
|
|
1082
775
|
*/
|
|
1083
|
-
declare const
|
|
1084
|
-
type
|
|
1085
|
-
declare function
|
|
776
|
+
declare const MessageRoleEnumValues: readonly ["USER", "ASSISTANT", "SYSTEM"];
|
|
777
|
+
type MessageRoleEnum = (typeof MessageRoleEnumValues)[number];
|
|
778
|
+
declare function isMessageRoleEnumValue(value: any): value is MessageRoleEnum;
|
|
1086
779
|
|
|
1087
780
|
/**
|
|
1088
781
|
* @author semantha
|
|
1089
782
|
*
|
|
1090
783
|
* This is a generated file do not change manually!
|
|
1091
784
|
*/
|
|
1092
|
-
interface
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
matcher?: Extractor[];
|
|
1097
|
-
metadata?: string;
|
|
1098
|
-
attributes?: ExtractorAttribute[];
|
|
1099
|
-
documentType?: string;
|
|
1100
|
-
splitDocumentExtractor?: string;
|
|
1101
|
-
linkedClasses?: string[];
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
|
-
/**
|
|
1105
|
-
* @author semantha
|
|
1106
|
-
*
|
|
1107
|
-
* This is a generated file do not change manually!
|
|
1108
|
-
*/
|
|
1109
|
-
interface ExtractorClassOverview {
|
|
1110
|
-
name: string;
|
|
1111
|
-
id?: string;
|
|
1112
|
-
classId?: string;
|
|
1113
|
-
matcher?: Extractor[];
|
|
1114
|
-
metadata?: string;
|
|
1115
|
-
attributes?: string[];
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
|
-
/**
|
|
1119
|
-
* @author semantha
|
|
1120
|
-
*
|
|
1121
|
-
* This is a generated file do not change manually!
|
|
1122
|
-
*/
|
|
1123
|
-
declare const ExtractorTypeEnumValues: readonly ["REGEX", "ANDREGEX", "ANDNOTREGEX", "NOTREGEX", "REGEX_CASE_INSENSITIVE", "ANDREGEX_CASE_INSENSITIVE", "ANDNOTREGEX_CASE_INSENSITIVE", "NOTREGEX_CASE_INSENSITIVE", "SIMILAR", "ANDSIMILAR", "ANDNOTSIMILAR", "NOTSIMILAR", "LIBRARY", "ANDLIBRARY", "ANDNOTLIBRARY", "NOTLIBRARY", "PARAGRAPH_DETECTION", "CONSTANT", "INTERNAL", "INTERNAL_2", "INTERNAL_3", "INTERNAL_4", "INTERNAL_5", "INTERNAL_6", "INTERNAL_7", "INTERNAL_8", "INTERNAL_9", "INTERNAL_10", "RANGE", "REGEX_PARAGRAPH_LASTMATCH", "REGEX_DOCUMENT_LASTMATCH", "INTERNAL_PARAGRAPH_LASTMATCH", "INTERNAL_DOCUMENT_LASTMATCH", "END_OF_DOCUMENT", "START_OF_DOCUMENT", "NEXT_HEADING", "TEXT_TYPE"];
|
|
1124
|
-
type ExtractorTypeEnum = (typeof ExtractorTypeEnumValues)[number];
|
|
1125
|
-
declare function isExtractorTypeEnumValue(value: any): value is ExtractorTypeEnum;
|
|
1126
|
-
|
|
1127
|
-
/**
|
|
1128
|
-
* @author semantha
|
|
1129
|
-
*
|
|
1130
|
-
* This is a generated file do not change manually!
|
|
1131
|
-
*/
|
|
1132
|
-
declare const FieldTypeEnumValues: readonly ["CLASS", "OBJECT_PROPERTY", "DATA_PROPERTY"];
|
|
1133
|
-
type FieldTypeEnum = (typeof FieldTypeEnumValues)[number];
|
|
1134
|
-
declare function isFieldTypeEnumValue(value: any): value is FieldTypeEnum;
|
|
1135
|
-
|
|
1136
|
-
/**
|
|
1137
|
-
* @author semantha
|
|
1138
|
-
*
|
|
1139
|
-
* This is a generated file do not change manually!
|
|
1140
|
-
*/
|
|
1141
|
-
interface Formatter {
|
|
1142
|
-
name: string;
|
|
1143
|
-
id?: string;
|
|
1144
|
-
description?: string;
|
|
1145
|
-
}
|
|
1146
|
-
|
|
1147
|
-
/**
|
|
1148
|
-
* @author semantha
|
|
1149
|
-
*
|
|
1150
|
-
* This is a generated file do not change manually!
|
|
1151
|
-
*/
|
|
1152
|
-
interface Info {
|
|
1153
|
-
title: string;
|
|
1154
|
-
vendor: string;
|
|
1155
|
-
time: string;
|
|
1156
|
-
git: string;
|
|
1157
|
-
version: string;
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
/**
|
|
1161
|
-
* @author semantha
|
|
1162
|
-
*
|
|
1163
|
-
* This is a generated file do not change manually!
|
|
1164
|
-
*/
|
|
1165
|
-
interface InstanceChild {
|
|
1166
|
-
name: string;
|
|
1167
|
-
relationId: string;
|
|
1168
|
-
classId: string;
|
|
1169
|
-
id?: string;
|
|
1170
|
-
className?: string;
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
|
-
/**
|
|
1174
|
-
* @author semantha
|
|
1175
|
-
*
|
|
1176
|
-
* This is a generated file do not change manually!
|
|
1177
|
-
*/
|
|
1178
|
-
interface SimpleProperty {
|
|
1179
|
-
name: string;
|
|
1180
|
-
value: string;
|
|
1181
|
-
propertyId: string;
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
/**
|
|
1185
|
-
* @author semantha
|
|
1186
|
-
*
|
|
1187
|
-
* This is a generated file do not change manually!
|
|
1188
|
-
*/
|
|
1189
|
-
interface Instance {
|
|
1190
|
-
name: string;
|
|
1191
|
-
classId: string;
|
|
1192
|
-
id?: string;
|
|
1193
|
-
relationId?: string;
|
|
1194
|
-
type?: string;
|
|
1195
|
-
ignoreImport?: boolean;
|
|
1196
|
-
simpleProperties?: SimpleProperty[];
|
|
1197
|
-
comment?: string;
|
|
1198
|
-
instances?: Instance[];
|
|
1199
|
-
childs?: InstanceChild[];
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
|
-
/**
|
|
1203
|
-
* @author semantha
|
|
1204
|
-
*
|
|
1205
|
-
* This is a generated file do not change manually!
|
|
1206
|
-
*/
|
|
1207
|
-
interface InstanceOverview {
|
|
1208
|
-
name: string;
|
|
1209
|
-
id?: string;
|
|
1210
|
-
readOnly?: boolean;
|
|
1211
|
-
className?: string;
|
|
1212
|
-
classId?: string;
|
|
1213
|
-
}
|
|
1214
|
-
|
|
1215
|
-
/**
|
|
1216
|
-
* @author semantha
|
|
1217
|
-
*
|
|
1218
|
-
* This is a generated file do not change manually!
|
|
1219
|
-
*/
|
|
1220
|
-
interface LanguageDetection {
|
|
1221
|
-
language: string;
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
/**
|
|
1225
|
-
* @author semantha
|
|
1226
|
-
*
|
|
1227
|
-
* This is a generated file do not change manually!
|
|
1228
|
-
*/
|
|
1229
|
-
interface LinkedValue {
|
|
1230
|
-
value?: string;
|
|
1231
|
-
linkedValue?: string;
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
/**
|
|
1235
|
-
* @author semantha
|
|
1236
|
-
*
|
|
1237
|
-
* This is a generated file do not change manually!
|
|
1238
|
-
*/
|
|
1239
|
-
interface LinkedInstance {
|
|
1240
|
-
instanceId?: string;
|
|
1241
|
-
linkedValues?: LinkedValue[];
|
|
1242
|
-
}
|
|
1243
|
-
|
|
1244
|
-
/**
|
|
1245
|
-
* @author semantha
|
|
1246
|
-
*
|
|
1247
|
-
* This is a generated file do not change manually!
|
|
1248
|
-
*/
|
|
1249
|
-
declare const MatcherTypeEnumValues: readonly ["REGEX", "ANDREGEX", "ANDNOTREGEX", "NOTREGEX", "REGEX_CASE_INSENSITIVE", "ANDREGEX_CASE_INSENSITIVE", "ANDNOTREGEX_CASE_INSENSITIVE", "NOTREGEX_CASE_INSENSITIVE", "SIMILAR", "ANDSIMILAR", "ANDNOTSIMILAR", "NOTSIMILAR", "LIBRARY", "ANDLIBRARY", "ANDNOTLIBRARY", "NOTLIBRARY", "PARAGRAPH_DETECTION", "CONSTANT", "INTERNAL", "INTERNAL_2", "INTERNAL_3", "INTERNAL_4", "INTERNAL_5", "INTERNAL_6", "INTERNAL_7", "INTERNAL_8", "INTERNAL_9", "INTERNAL_10", "RANGE", "REGEX_PARAGRAPH_LASTMATCH", "REGEX_DOCUMENT_LASTMATCH", "INTERNAL_PARAGRAPH_LASTMATCH", "INTERNAL_DOCUMENT_LASTMATCH", "END_OF_DOCUMENT", "START_OF_DOCUMENT", "NEXT_HEADING", "TEXT_TYPE"];
|
|
1250
|
-
type MatcherTypeEnum = (typeof MatcherTypeEnumValues)[number];
|
|
1251
|
-
declare function isMatcherTypeEnumValue(value: any): value is MatcherTypeEnum;
|
|
1252
|
-
|
|
1253
|
-
/**
|
|
1254
|
-
* @author semantha
|
|
1255
|
-
*
|
|
1256
|
-
* This is a generated file do not change manually!
|
|
1257
|
-
*/
|
|
1258
|
-
interface McpCapability {
|
|
1259
|
-
name?: string;
|
|
1260
|
-
title?: string;
|
|
1261
|
-
description?: string;
|
|
1262
|
-
readOnly?: boolean;
|
|
1263
|
-
destructive?: boolean;
|
|
1264
|
-
examples?: string[];
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
/**
|
|
1268
|
-
* @author semantha
|
|
1269
|
-
*
|
|
1270
|
-
* This is a generated file do not change manually!
|
|
1271
|
-
*/
|
|
1272
|
-
interface McpToolDescriptor {
|
|
1273
|
-
label?: string;
|
|
1274
|
-
description?: string;
|
|
1275
|
-
allowedTools?: string[];
|
|
1276
|
-
auth?: McpToolDescriptorAuthEnum;
|
|
1277
|
-
capabilities?: McpCapability[];
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
/**
|
|
1281
|
-
* @author semantha
|
|
1282
|
-
*
|
|
1283
|
-
* This is a generated file do not change manually!
|
|
1284
|
-
*/
|
|
1285
|
-
declare const McpToolDescriptorAuthEnumValues: readonly ["REQUIRED", "OPTIONAL", "NONE"];
|
|
1286
|
-
type McpToolDescriptorAuthEnum = (typeof McpToolDescriptorAuthEnumValues)[number];
|
|
1287
|
-
declare function isMcpToolDescriptorAuthEnumValue(value: any): value is McpToolDescriptorAuthEnum;
|
|
1288
|
-
|
|
1289
|
-
/**
|
|
1290
|
-
* @author semantha
|
|
1291
|
-
*
|
|
1292
|
-
* This is a generated file do not change manually!
|
|
1293
|
-
*/
|
|
1294
|
-
declare const MessageResponseRoleEnumValues: readonly ["USER", "ASSISTANT", "SYSTEM"];
|
|
1295
|
-
type MessageResponseRoleEnum = (typeof MessageResponseRoleEnumValues)[number];
|
|
1296
|
-
declare function isMessageResponseRoleEnumValue(value: any): value is MessageResponseRoleEnum;
|
|
1297
|
-
|
|
1298
|
-
/**
|
|
1299
|
-
* @author semantha
|
|
1300
|
-
*
|
|
1301
|
-
* This is a generated file do not change manually!
|
|
1302
|
-
*/
|
|
1303
|
-
declare const MessageResponseTypeEnumValues: readonly ["ANSWER", "REASONING", "ERROR", "APPROVAL_REQUEST"];
|
|
1304
|
-
type MessageResponseTypeEnum = (typeof MessageResponseTypeEnumValues)[number];
|
|
1305
|
-
declare function isMessageResponseTypeEnumValue(value: any): value is MessageResponseTypeEnum;
|
|
1306
|
-
|
|
1307
|
-
/**
|
|
1308
|
-
* @author semantha
|
|
1309
|
-
*
|
|
1310
|
-
* This is a generated file do not change manually!
|
|
1311
|
-
*/
|
|
1312
|
-
declare const MessageRoleEnumValues: readonly ["USER", "ASSISTANT", "SYSTEM"];
|
|
1313
|
-
type MessageRoleEnum = (typeof MessageRoleEnumValues)[number];
|
|
1314
|
-
declare function isMessageRoleEnumValue(value: any): value is MessageRoleEnum;
|
|
1315
|
-
|
|
1316
|
-
/**
|
|
1317
|
-
* @author semantha
|
|
1318
|
-
*
|
|
1319
|
-
* This is a generated file do not change manually!
|
|
1320
|
-
*/
|
|
1321
|
-
interface MetaInfoPage {
|
|
1322
|
-
from?: number;
|
|
1323
|
-
to?: number;
|
|
1324
|
-
total?: number;
|
|
785
|
+
interface MetaInfoPage {
|
|
786
|
+
from?: number;
|
|
787
|
+
to?: number;
|
|
788
|
+
total?: number;
|
|
1325
789
|
}
|
|
1326
790
|
|
|
1327
791
|
/**
|
|
@@ -1333,54 +797,6 @@ declare const ModeEnumValues: readonly ["fingerprint", "keyword", "document", "d
|
|
|
1333
797
|
type ModeEnum = (typeof ModeEnumValues)[number];
|
|
1334
798
|
declare function isModeEnumValue(value: any): value is ModeEnum;
|
|
1335
799
|
|
|
1336
|
-
/**
|
|
1337
|
-
* @author semantha
|
|
1338
|
-
*
|
|
1339
|
-
* This is a generated file do not change manually!
|
|
1340
|
-
*/
|
|
1341
|
-
interface ModelClass {
|
|
1342
|
-
name?: string;
|
|
1343
|
-
label?: string;
|
|
1344
|
-
subModelClasses?: ModelClass[];
|
|
1345
|
-
}
|
|
1346
|
-
|
|
1347
|
-
/**
|
|
1348
|
-
* @author semantha
|
|
1349
|
-
*
|
|
1350
|
-
* This is a generated file do not change manually!
|
|
1351
|
-
*/
|
|
1352
|
-
interface ModelInstance {
|
|
1353
|
-
name: string;
|
|
1354
|
-
classId: string;
|
|
1355
|
-
id?: string;
|
|
1356
|
-
relationId?: string;
|
|
1357
|
-
type?: string;
|
|
1358
|
-
ignoreImport?: boolean;
|
|
1359
|
-
simpleProperties?: SimpleProperty[];
|
|
1360
|
-
metadata?: Metadata[];
|
|
1361
|
-
qualifiedName?: string;
|
|
1362
|
-
extractorClassIds?: string[];
|
|
1363
|
-
label?: string;
|
|
1364
|
-
labels?: Label[];
|
|
1365
|
-
file?: FileReference;
|
|
1366
|
-
complexProperties?: ComplexProperty[];
|
|
1367
|
-
findings?: Finding[];
|
|
1368
|
-
references?: ExtractionReference[];
|
|
1369
|
-
linkedInstances?: LinkedInstance[];
|
|
1370
|
-
}
|
|
1371
|
-
|
|
1372
|
-
/**
|
|
1373
|
-
* @author semantha
|
|
1374
|
-
*
|
|
1375
|
-
* This is a generated file do not change manually!
|
|
1376
|
-
*/
|
|
1377
|
-
interface ModelMetadata {
|
|
1378
|
-
name: string;
|
|
1379
|
-
type: string;
|
|
1380
|
-
id?: string;
|
|
1381
|
-
readOnly?: boolean;
|
|
1382
|
-
}
|
|
1383
|
-
|
|
1384
800
|
/**
|
|
1385
801
|
* @author semantha
|
|
1386
802
|
*
|
|
@@ -1401,17 +817,6 @@ interface NamedEntity {
|
|
|
1401
817
|
regex?: string;
|
|
1402
818
|
}
|
|
1403
819
|
|
|
1404
|
-
/**
|
|
1405
|
-
* @author semantha
|
|
1406
|
-
*
|
|
1407
|
-
* This is a generated file do not change manually!
|
|
1408
|
-
*/
|
|
1409
|
-
interface Overview {
|
|
1410
|
-
name: string;
|
|
1411
|
-
id?: string;
|
|
1412
|
-
readOnly?: boolean;
|
|
1413
|
-
}
|
|
1414
|
-
|
|
1415
820
|
/**
|
|
1416
821
|
* @author semantha
|
|
1417
822
|
*
|
|
@@ -1422,27 +827,6 @@ interface ParagraphUpdate {
|
|
|
1422
827
|
type?: string;
|
|
1423
828
|
}
|
|
1424
829
|
|
|
1425
|
-
/**
|
|
1426
|
-
* @author semantha
|
|
1427
|
-
*
|
|
1428
|
-
* This is a generated file do not change manually!
|
|
1429
|
-
*/
|
|
1430
|
-
interface Version {
|
|
1431
|
-
tt?: string;
|
|
1432
|
-
customer?: string;
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1435
|
-
/**
|
|
1436
|
-
* @author semantha
|
|
1437
|
-
*
|
|
1438
|
-
* This is a generated file do not change manually!
|
|
1439
|
-
*/
|
|
1440
|
-
interface ProcessInformation {
|
|
1441
|
-
created?: string;
|
|
1442
|
-
edited?: string;
|
|
1443
|
-
version?: Version;
|
|
1444
|
-
}
|
|
1445
|
-
|
|
1446
830
|
/**
|
|
1447
831
|
* @author semantha
|
|
1448
832
|
*
|
|
@@ -1604,19 +988,18 @@ interface ReferenceDocumentsResponseContainer {
|
|
|
1604
988
|
*
|
|
1605
989
|
* This is a generated file do not change manually!
|
|
1606
990
|
*/
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
id?: string;
|
|
1611
|
-
}
|
|
991
|
+
declare const SettingsDefaultSimilarityModeEnumValues: readonly ["fingerprint", "keyword", "document", "document_fingerprint", "fingerprint_keyword", "auto", "fingerprint_exact", "document_fingerprint_exact"];
|
|
992
|
+
type SettingsDefaultSimilarityModeEnum = (typeof SettingsDefaultSimilarityModeEnumValues)[number];
|
|
993
|
+
declare function isSettingsDefaultSimilarityModeEnumValue(value: any): value is SettingsDefaultSimilarityModeEnum;
|
|
1612
994
|
|
|
1613
995
|
/**
|
|
1614
996
|
* @author semantha
|
|
1615
997
|
*
|
|
1616
998
|
* This is a generated file do not change manually!
|
|
1617
999
|
*/
|
|
1618
|
-
interface
|
|
1619
|
-
|
|
1000
|
+
interface TagDocs {
|
|
1001
|
+
tag?: string;
|
|
1002
|
+
count?: number;
|
|
1620
1003
|
}
|
|
1621
1004
|
|
|
1622
1005
|
/**
|
|
@@ -1624,12 +1007,11 @@ interface RelationCondition {
|
|
|
1624
1007
|
*
|
|
1625
1008
|
* This is a generated file do not change manually!
|
|
1626
1009
|
*/
|
|
1627
|
-
interface
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
source?: Field[];
|
|
1010
|
+
interface Statistic {
|
|
1011
|
+
librarySize: number;
|
|
1012
|
+
size: number;
|
|
1013
|
+
numberOfSentences: number;
|
|
1014
|
+
docsPerTag?: TagDocs[];
|
|
1633
1015
|
}
|
|
1634
1016
|
|
|
1635
1017
|
/**
|
|
@@ -1637,131 +1019,11 @@ interface Relation {
|
|
|
1637
1019
|
*
|
|
1638
1020
|
* This is a generated file do not change manually!
|
|
1639
1021
|
*/
|
|
1640
|
-
interface
|
|
1641
|
-
name: string;
|
|
1642
|
-
expression: Expression;
|
|
1022
|
+
interface Synonym {
|
|
1643
1023
|
id?: string;
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
backward?: boolean;
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
/**
|
|
1651
|
-
* @author semantha
|
|
1652
|
-
*
|
|
1653
|
-
* This is a generated file do not change manually!
|
|
1654
|
-
*/
|
|
1655
|
-
interface RuleFunction {
|
|
1656
|
-
name?: string;
|
|
1657
|
-
minArgLength?: number;
|
|
1658
|
-
maxArgLength?: number;
|
|
1659
|
-
type?: RuleFunctionTypeEnum;
|
|
1660
|
-
}
|
|
1661
|
-
|
|
1662
|
-
/**
|
|
1663
|
-
* @author semantha
|
|
1664
|
-
*
|
|
1665
|
-
* This is a generated file do not change manually!
|
|
1666
|
-
*/
|
|
1667
|
-
declare const RuleFunctionTypeEnumValues: readonly ["OPERATOR", "FUNCTION"];
|
|
1668
|
-
type RuleFunctionTypeEnum = (typeof RuleFunctionTypeEnumValues)[number];
|
|
1669
|
-
declare function isRuleFunctionTypeEnumValue(value: any): value is RuleFunctionTypeEnum;
|
|
1670
|
-
|
|
1671
|
-
/**
|
|
1672
|
-
* @author semantha
|
|
1673
|
-
*
|
|
1674
|
-
* This is a generated file do not change manually!
|
|
1675
|
-
*/
|
|
1676
|
-
interface RuleOverview {
|
|
1677
|
-
name: string;
|
|
1678
|
-
id?: string;
|
|
1679
|
-
readOnly?: boolean;
|
|
1680
|
-
ruleString?: string;
|
|
1681
|
-
tags?: string[];
|
|
1682
|
-
}
|
|
1683
|
-
|
|
1684
|
-
/**
|
|
1685
|
-
* @author semantha
|
|
1686
|
-
*
|
|
1687
|
-
* This is a generated file do not change manually!
|
|
1688
|
-
*/
|
|
1689
|
-
interface TableInstance {
|
|
1690
|
-
type?: string;
|
|
1691
|
-
extractionArea?: ExtractionArea;
|
|
1692
|
-
}
|
|
1693
|
-
|
|
1694
|
-
/**
|
|
1695
|
-
* @author semantha
|
|
1696
|
-
*
|
|
1697
|
-
* This is a generated file do not change manually!
|
|
1698
|
-
*/
|
|
1699
|
-
interface SemanticModel {
|
|
1700
|
-
files?: ExtractionFile[];
|
|
1701
|
-
instances?: ModelInstance[];
|
|
1702
|
-
tables?: TableInstance[];
|
|
1703
|
-
processInformation?: ProcessInformation;
|
|
1704
|
-
}
|
|
1705
|
-
|
|
1706
|
-
/**
|
|
1707
|
-
* @author semantha
|
|
1708
|
-
*
|
|
1709
|
-
* This is a generated file do not change manually!
|
|
1710
|
-
*/
|
|
1711
|
-
declare const SettingsDefaultSimilarityModeEnumValues: readonly ["fingerprint", "keyword", "document", "document_fingerprint", "fingerprint_keyword", "auto", "fingerprint_exact", "document_fingerprint_exact"];
|
|
1712
|
-
type SettingsDefaultSimilarityModeEnum = (typeof SettingsDefaultSimilarityModeEnumValues)[number];
|
|
1713
|
-
declare function isSettingsDefaultSimilarityModeEnumValue(value: any): value is SettingsDefaultSimilarityModeEnum;
|
|
1714
|
-
|
|
1715
|
-
/**
|
|
1716
|
-
* @author semantha
|
|
1717
|
-
*
|
|
1718
|
-
* This is a generated file do not change manually!
|
|
1719
|
-
*/
|
|
1720
|
-
declare const SettingsExtractionStrategyEnumValues: readonly ["ANY", "TOP1", "TOP3", "TOP5", "TOP10"];
|
|
1721
|
-
type SettingsExtractionStrategyEnum = (typeof SettingsExtractionStrategyEnumValues)[number];
|
|
1722
|
-
declare function isSettingsExtractionStrategyEnumValue(value: any): value is SettingsExtractionStrategyEnum;
|
|
1723
|
-
|
|
1724
|
-
/**
|
|
1725
|
-
* @author semantha
|
|
1726
|
-
*
|
|
1727
|
-
* This is a generated file do not change manually!
|
|
1728
|
-
*/
|
|
1729
|
-
declare const SettingsTaggingStrategyEnumValues: readonly ["TOP1", "TOP3", "TOP5", "TOP10"];
|
|
1730
|
-
type SettingsTaggingStrategyEnum = (typeof SettingsTaggingStrategyEnumValues)[number];
|
|
1731
|
-
declare function isSettingsTaggingStrategyEnumValue(value: any): value is SettingsTaggingStrategyEnum;
|
|
1732
|
-
|
|
1733
|
-
/**
|
|
1734
|
-
* @author semantha
|
|
1735
|
-
*
|
|
1736
|
-
* This is a generated file do not change manually!
|
|
1737
|
-
*/
|
|
1738
|
-
interface TagDocs {
|
|
1739
|
-
tag?: string;
|
|
1740
|
-
count?: number;
|
|
1741
|
-
}
|
|
1742
|
-
|
|
1743
|
-
/**
|
|
1744
|
-
* @author semantha
|
|
1745
|
-
*
|
|
1746
|
-
* This is a generated file do not change manually!
|
|
1747
|
-
*/
|
|
1748
|
-
interface Statistic {
|
|
1749
|
-
librarySize: number;
|
|
1750
|
-
size: number;
|
|
1751
|
-
numberOfSentences: number;
|
|
1752
|
-
docsPerTag?: TagDocs[];
|
|
1753
|
-
}
|
|
1754
|
-
|
|
1755
|
-
/**
|
|
1756
|
-
* @author semantha
|
|
1757
|
-
*
|
|
1758
|
-
* This is a generated file do not change manually!
|
|
1759
|
-
*/
|
|
1760
|
-
interface Synonym {
|
|
1761
|
-
id?: string;
|
|
1762
|
-
word?: string;
|
|
1763
|
-
regex?: string;
|
|
1764
|
-
synonym?: string;
|
|
1024
|
+
word?: string;
|
|
1025
|
+
regex?: string;
|
|
1026
|
+
synonym?: string;
|
|
1765
1027
|
tags?: string[];
|
|
1766
1028
|
}
|
|
1767
1029
|
|
|
@@ -1952,139 +1214,6 @@ declare class BulkDomainsEndpoint {
|
|
|
1952
1214
|
constructor(restClient: RestClient, parentEndpoint: string);
|
|
1953
1215
|
}
|
|
1954
1216
|
|
|
1955
|
-
/**
|
|
1956
|
-
* @author semantha
|
|
1957
|
-
*
|
|
1958
|
-
* Class to access resource "/api/bulk/model/domains/{domainname}/classes/{classid}/instances"
|
|
1959
|
-
* This is a generated file do not change manually!
|
|
1960
|
-
*/
|
|
1961
|
-
declare class BulkmodelclassInstancesEndpoint {
|
|
1962
|
-
private readonly restClient;
|
|
1963
|
-
private readonly parentEndpoint;
|
|
1964
|
-
private readonly ENDPOINT;
|
|
1965
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
1966
|
-
/**
|
|
1967
|
-
* Get all instances of the classes by class id
|
|
1968
|
-
* This is the quiet version of 'get /api/model/domains/{domainname}/classes/{id}/instances'
|
|
1969
|
-
*/
|
|
1970
|
-
get(): Promise<Instance[]>;
|
|
1971
|
-
}
|
|
1972
|
-
|
|
1973
|
-
/**
|
|
1974
|
-
* @author semantha
|
|
1975
|
-
*
|
|
1976
|
-
* Class to access resource "/api/bulk/model/domains/{domainname}/classes/{classid}"
|
|
1977
|
-
* This is a generated file do not change manually!
|
|
1978
|
-
*/
|
|
1979
|
-
declare class BulkmodelClassEndpoint {
|
|
1980
|
-
private readonly restClient;
|
|
1981
|
-
private readonly parentEndpoint;
|
|
1982
|
-
private readonly classid;
|
|
1983
|
-
private readonly ENDPOINT;
|
|
1984
|
-
constructor(restClient: RestClient, parentEndpoint: string, classid: string);
|
|
1985
|
-
instances(): BulkmodelclassInstancesEndpoint;
|
|
1986
|
-
}
|
|
1987
|
-
|
|
1988
|
-
/**
|
|
1989
|
-
* @author semantha
|
|
1990
|
-
*
|
|
1991
|
-
* Class to access resource "/api/bulk/model/domains/{domainname}/classes"
|
|
1992
|
-
* This is a generated file do not change manually!
|
|
1993
|
-
*/
|
|
1994
|
-
declare class BulkmodelClassesEndpoint {
|
|
1995
|
-
private readonly restClient;
|
|
1996
|
-
private readonly parentEndpoint;
|
|
1997
|
-
private readonly ENDPOINT;
|
|
1998
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
1999
|
-
/**
|
|
2000
|
-
* Get all classes
|
|
2001
|
-
* This is the quiet version of 'get /api/domains/{domainname}/classes'
|
|
2002
|
-
*/
|
|
2003
|
-
get(): Promise<ClassBulk[]>;
|
|
2004
|
-
/**
|
|
2005
|
-
* Create one or more classes
|
|
2006
|
-
* This is the quiet version of 'post /api/domains/{domainname}/classes'
|
|
2007
|
-
*
|
|
2008
|
-
* @param body ClassBulk[]? -
|
|
2009
|
-
*/
|
|
2010
|
-
post(body?: ClassBulk[]): Promise<void>;
|
|
2011
|
-
}
|
|
2012
|
-
|
|
2013
|
-
/**
|
|
2014
|
-
* @author semantha
|
|
2015
|
-
*
|
|
2016
|
-
* Class to access resource "/api/bulk/model/domains/{domainname}/dataproperties"
|
|
2017
|
-
* This is a generated file do not change manually!
|
|
2018
|
-
*/
|
|
2019
|
-
declare class BulkmodelDatapropertiesEndpoint {
|
|
2020
|
-
private readonly restClient;
|
|
2021
|
-
private readonly parentEndpoint;
|
|
2022
|
-
private readonly ENDPOINT;
|
|
2023
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
2024
|
-
/**
|
|
2025
|
-
* Get all dataproperties
|
|
2026
|
-
* This is the quiet version of 'get /api/domains/{domainname}/dataproperties'
|
|
2027
|
-
*/
|
|
2028
|
-
get(): Promise<DataProperty[]>;
|
|
2029
|
-
/**
|
|
2030
|
-
* Create one or more dataproperties
|
|
2031
|
-
* This is the quiet version of 'post /api/domains/{domainname}/dataproperties'
|
|
2032
|
-
*
|
|
2033
|
-
* @param body DataProperty[]? -
|
|
2034
|
-
*/
|
|
2035
|
-
post(body?: DataProperty[]): Promise<void>;
|
|
2036
|
-
}
|
|
2037
|
-
|
|
2038
|
-
/**
|
|
2039
|
-
* @author semantha
|
|
2040
|
-
*
|
|
2041
|
-
* Class to access resource "/api/bulk/model/domains/{domainname}/instances"
|
|
2042
|
-
* This is a generated file do not change manually!
|
|
2043
|
-
*/
|
|
2044
|
-
declare class BulkmodelInstancesEndpoint {
|
|
2045
|
-
private readonly restClient;
|
|
2046
|
-
private readonly parentEndpoint;
|
|
2047
|
-
private readonly ENDPOINT;
|
|
2048
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
2049
|
-
/**
|
|
2050
|
-
* Get all instances
|
|
2051
|
-
* This is the quiet version of 'get /api/domains/{domainname}/instances'
|
|
2052
|
-
*/
|
|
2053
|
-
get(): Promise<Instance[]>;
|
|
2054
|
-
/**
|
|
2055
|
-
* Create an instance
|
|
2056
|
-
* This is the quiet version of 'post /api/model/domains/{domainname}/instances'
|
|
2057
|
-
*
|
|
2058
|
-
* @param body Instance[]? -
|
|
2059
|
-
*/
|
|
2060
|
-
post(body?: Instance[]): Promise<void>;
|
|
2061
|
-
}
|
|
2062
|
-
|
|
2063
|
-
/**
|
|
2064
|
-
* @author semantha
|
|
2065
|
-
*
|
|
2066
|
-
* Class to access resource "/api/bulk/model/domains/{domainname}/metadata"
|
|
2067
|
-
* This is a generated file do not change manually!
|
|
2068
|
-
*/
|
|
2069
|
-
declare class BulkmodelMetadataEndpoint {
|
|
2070
|
-
private readonly restClient;
|
|
2071
|
-
private readonly parentEndpoint;
|
|
2072
|
-
private readonly ENDPOINT;
|
|
2073
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
2074
|
-
/**
|
|
2075
|
-
* Get all metadata
|
|
2076
|
-
* This is the quiet version of 'get /api/domains/{domainname}/metadata'
|
|
2077
|
-
*/
|
|
2078
|
-
get(): Promise<ModelMetadata[]>;
|
|
2079
|
-
/**
|
|
2080
|
-
* Create one or more metadata
|
|
2081
|
-
* This is the quiet version of 'post /api/domains/{domainname}/metadata'
|
|
2082
|
-
*
|
|
2083
|
-
* @param body ModelMetadata[]? -
|
|
2084
|
-
*/
|
|
2085
|
-
post(body?: ModelMetadata[]): Promise<void>;
|
|
2086
|
-
}
|
|
2087
|
-
|
|
2088
1217
|
/**
|
|
2089
1218
|
* @author semantha
|
|
2090
1219
|
*
|
|
@@ -2105,31 +1234,6 @@ declare class BulkmodelNamedentitiesEndpoint {
|
|
|
2105
1234
|
post(body?: NamedEntity[]): Promise<void>;
|
|
2106
1235
|
}
|
|
2107
1236
|
|
|
2108
|
-
/**
|
|
2109
|
-
* @author semantha
|
|
2110
|
-
*
|
|
2111
|
-
* Class to access resource "/api/bulk/model/domains/{domainname}/rules"
|
|
2112
|
-
* This is a generated file do not change manually!
|
|
2113
|
-
*/
|
|
2114
|
-
declare class BulkmodelRulesEndpoint {
|
|
2115
|
-
private readonly restClient;
|
|
2116
|
-
private readonly parentEndpoint;
|
|
2117
|
-
private readonly ENDPOINT;
|
|
2118
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
2119
|
-
/**
|
|
2120
|
-
* Get a rule
|
|
2121
|
-
* This is the quiet version of 'get /api/model/domains/{domainname}/rules'
|
|
2122
|
-
*/
|
|
2123
|
-
get(): Promise<Rule[]>;
|
|
2124
|
-
/**
|
|
2125
|
-
* Create a rule
|
|
2126
|
-
* This is the quiet version of 'post /api/model/domains/{domainname}/rules'
|
|
2127
|
-
*
|
|
2128
|
-
* @param body Rule[]? -
|
|
2129
|
-
*/
|
|
2130
|
-
post(body?: Rule[]): Promise<void>;
|
|
2131
|
-
}
|
|
2132
|
-
|
|
2133
1237
|
/**
|
|
2134
1238
|
* @author semantha
|
|
2135
1239
|
*
|
|
@@ -2162,13 +1266,7 @@ declare class BulkmodelDomainEndpoint {
|
|
|
2162
1266
|
private readonly domainname;
|
|
2163
1267
|
private readonly ENDPOINT;
|
|
2164
1268
|
constructor(restClient: RestClient, parentEndpoint: string, domainname: string);
|
|
2165
|
-
classes(): BulkmodelClassesEndpoint;
|
|
2166
|
-
classes(classid: string): BulkmodelClassEndpoint;
|
|
2167
|
-
dataproperties(): BulkmodelDatapropertiesEndpoint;
|
|
2168
|
-
instances(): BulkmodelInstancesEndpoint;
|
|
2169
|
-
metadata(): BulkmodelMetadataEndpoint;
|
|
2170
1269
|
namedentities(): BulkmodelNamedentitiesEndpoint;
|
|
2171
|
-
rules(): BulkmodelRulesEndpoint;
|
|
2172
1270
|
synonyms(): BulkmodelSynonymsEndpoint;
|
|
2173
1271
|
}
|
|
2174
1272
|
|
|
@@ -2272,43 +1370,9 @@ declare class BulkdomainsReferencedocumentsEndpoint {
|
|
|
2272
1370
|
*/
|
|
2273
1371
|
delete(body: string[]): Promise<RestResponse<void>>;
|
|
2274
1372
|
/**
|
|
2275
|
-
* Upload reference document
|
|
2276
|
-
* This is the quiet version of 'post /api/domains/{domainname}/referencedocuments'
|
|
2277
|
-
*
|
|
2278
|
-
* @param name string? - The document name in your library (in contrast to the file name being used during upload).
|
|
2279
|
-
* @param tags string? - List of tags to filter the reference library. You can combine the tags using a comma (OR) and using a plus sign (AND).
|
|
2280
|
-
* @param metadata string? - Filter by metadata
|
|
2281
|
-
* @param file Blob? - Input document (left document).
|
|
2282
|
-
* @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.
|
|
2283
|
-
* @param documenttype string? - Specifies the document type that is to be used by semantha when reading the uploaded document.
|
|
2284
|
-
* @param color string? - Use this parameter to specify the color for your reference document. Possible values are RED, MAGENTA, AQUA, ORANGE, GREY, or LAVENDER.
|
|
2285
|
-
* @param comment string? - Use this parameter to add a comment to your reference document.
|
|
2286
|
-
* @param documentclassid string? - Documentclass the uploaded reference document should be linked to. Accepts a single documentclass UUID `id`.
|
|
2287
|
-
* @param addparagraphsasdocuments boolean? - Use this parameter to create individual reference documents in the library for each paragraph in your document. The parameter is of type boolean and is set to false by default.
|
|
2288
|
-
*/
|
|
2289
|
-
post(data: {
|
|
2290
|
-
name?: string;
|
|
2291
|
-
tags?: string;
|
|
2292
|
-
metadata?: string;
|
|
2293
|
-
file?: Blob;
|
|
2294
|
-
text?: string;
|
|
2295
|
-
documenttype?: string;
|
|
2296
|
-
color?: string;
|
|
2297
|
-
comment?: string;
|
|
2298
|
-
documentclassid?: string;
|
|
2299
|
-
addparagraphsasdocuments?: boolean;
|
|
2300
|
-
}, params?: {
|
|
2301
|
-
detectlanguage?: boolean;
|
|
2302
|
-
linkclasses?: boolean;
|
|
2303
|
-
}): Promise<void>;
|
|
2304
|
-
/**
|
|
2305
|
-
* Upload reference document
|
|
2306
|
-
* This is the quiet version of 'post /api/domains/{domainname}/referencedocuments'
|
|
2307
|
-
*
|
|
2308
1373
|
* @param body Document[]? -
|
|
2309
1374
|
*/
|
|
2310
|
-
|
|
2311
|
-
detectlanguage?: boolean;
|
|
1375
|
+
post(body: Document[], params?: {
|
|
2312
1376
|
linkclasses?: boolean;
|
|
2313
1377
|
}): Promise<void>;
|
|
2314
1378
|
}
|
|
@@ -2513,23 +1577,6 @@ declare class ChatsEndpoint {
|
|
|
2513
1577
|
conversations(conversationid: string): ConversationEndpoint;
|
|
2514
1578
|
}
|
|
2515
1579
|
|
|
2516
|
-
/**
|
|
2517
|
-
* @author semantha
|
|
2518
|
-
*
|
|
2519
|
-
* Class to access resource "/api/model/domains/{domainname}/extractorclasses/{id}/extractorclasses"
|
|
2520
|
-
* This is a generated file do not change manually!
|
|
2521
|
-
*/
|
|
2522
|
-
declare class ChildExtractorclassesEndpoint {
|
|
2523
|
-
private readonly restClient;
|
|
2524
|
-
private readonly parentEndpoint;
|
|
2525
|
-
private readonly ENDPOINT;
|
|
2526
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
2527
|
-
/**
|
|
2528
|
-
* @param body ExtractorClass? -
|
|
2529
|
-
*/
|
|
2530
|
-
post(body?: ExtractorClass): Promise<ExtractorClass>;
|
|
2531
|
-
}
|
|
2532
|
-
|
|
2533
1580
|
/**
|
|
2534
1581
|
* @author semantha
|
|
2535
1582
|
*
|
|
@@ -2572,75 +1619,34 @@ declare class ConversionsEndpoint {
|
|
|
2572
1619
|
/**
|
|
2573
1620
|
* @author semantha
|
|
2574
1621
|
*
|
|
2575
|
-
* Class to access resource "/api/currentuser
|
|
1622
|
+
* Class to access resource "/api/currentuser"
|
|
2576
1623
|
* This is a generated file do not change manually!
|
|
2577
1624
|
*/
|
|
2578
|
-
declare class
|
|
1625
|
+
declare class CurrentuserEndpoint {
|
|
2579
1626
|
private readonly restClient;
|
|
2580
1627
|
private readonly parentEndpoint;
|
|
2581
1628
|
private readonly ENDPOINT;
|
|
2582
1629
|
constructor(restClient: RestClient, parentEndpoint: string);
|
|
2583
1630
|
/**
|
|
2584
|
-
* Get
|
|
1631
|
+
* Get information about the current user.
|
|
2585
1632
|
*/
|
|
2586
|
-
get(): Promise<
|
|
1633
|
+
get(): Promise<CurrentUser>;
|
|
2587
1634
|
}
|
|
2588
1635
|
|
|
2589
1636
|
/**
|
|
2590
1637
|
* @author semantha
|
|
2591
1638
|
*
|
|
2592
|
-
* Class to access resource "/api/
|
|
1639
|
+
* Class to access resource "/api/domains/{domainname}/documentclasses/{id}/customfields"
|
|
2593
1640
|
* This is a generated file do not change manually!
|
|
2594
1641
|
*/
|
|
2595
|
-
declare class
|
|
1642
|
+
declare class DocclassCustomfieldsEndpoint {
|
|
2596
1643
|
private readonly restClient;
|
|
2597
1644
|
private readonly parentEndpoint;
|
|
2598
1645
|
private readonly ENDPOINT;
|
|
2599
1646
|
constructor(restClient: RestClient, parentEndpoint: string);
|
|
2600
|
-
|
|
1647
|
+
delete(): Promise<RestResponse<void>>;
|
|
2601
1648
|
/**
|
|
2602
|
-
*
|
|
2603
|
-
*/
|
|
2604
|
-
get(): Promise<CurrentUser>;
|
|
2605
|
-
}
|
|
2606
|
-
|
|
2607
|
-
/**
|
|
2608
|
-
* @author semantha
|
|
2609
|
-
*
|
|
2610
|
-
* Class to access resource "/api/diff"
|
|
2611
|
-
* This is a generated file do not change manually!
|
|
2612
|
-
*/
|
|
2613
|
-
declare class DiffEndpoint {
|
|
2614
|
-
private readonly restClient;
|
|
2615
|
-
private readonly parentEndpoint;
|
|
2616
|
-
private readonly ENDPOINT;
|
|
2617
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
2618
|
-
/**
|
|
2619
|
-
* Creates a diff of text on syntactical basis.
|
|
2620
|
-
*
|
|
2621
|
-
* @param left string? - The base for creating a diff.
|
|
2622
|
-
* @param right string? - The changed text which gets compared to 'left' text.
|
|
2623
|
-
*/
|
|
2624
|
-
post(data: {
|
|
2625
|
-
left?: string;
|
|
2626
|
-
right?: string;
|
|
2627
|
-
}): Promise<Difference[]>;
|
|
2628
|
-
}
|
|
2629
|
-
|
|
2630
|
-
/**
|
|
2631
|
-
* @author semantha
|
|
2632
|
-
*
|
|
2633
|
-
* Class to access resource "/api/domains/{domainname}/documentclasses/{id}/customfields"
|
|
2634
|
-
* This is a generated file do not change manually!
|
|
2635
|
-
*/
|
|
2636
|
-
declare class DocclassCustomfieldsEndpoint {
|
|
2637
|
-
private readonly restClient;
|
|
2638
|
-
private readonly parentEndpoint;
|
|
2639
|
-
private readonly ENDPOINT;
|
|
2640
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
2641
|
-
delete(): Promise<RestResponse<void>>;
|
|
2642
|
-
/**
|
|
2643
|
-
* @param body CustomField[] -
|
|
1649
|
+
* @param body CustomField[] -
|
|
2644
1650
|
*/
|
|
2645
1651
|
put(body: CustomField[]): Promise<void>;
|
|
2646
1652
|
}
|
|
@@ -2660,12 +1666,6 @@ declare class DocclassDocumentclassesEndpoint {
|
|
|
2660
1666
|
* Get all subclasses for a document class identified by id
|
|
2661
1667
|
*/
|
|
2662
1668
|
get(): Promise<DocumentClass[]>;
|
|
2663
|
-
/**
|
|
2664
|
-
* Delete a subclass from a document class identified by id
|
|
2665
|
-
*
|
|
2666
|
-
* @param body string[] -
|
|
2667
|
-
*/
|
|
2668
|
-
delete(body: string[]): Promise<RestResponse<void>>;
|
|
2669
1669
|
/**
|
|
2670
1670
|
* Add existing classes as subclasses to a document class identified by id
|
|
2671
1671
|
*
|
|
@@ -2706,10 +1706,6 @@ declare class DocclassReferencedocumentsEndpoint {
|
|
|
2706
1706
|
private readonly ENDPOINT;
|
|
2707
1707
|
constructor(restClient: RestClient, parentEndpoint: string);
|
|
2708
1708
|
tags(): DocclassTagsEndpoint;
|
|
2709
|
-
/**
|
|
2710
|
-
* Get all library documents belonging to a document class identified by its id
|
|
2711
|
-
*/
|
|
2712
|
-
get(): Promise<DocumentInformation[]>;
|
|
2713
1709
|
/**
|
|
2714
1710
|
* Delete library documents from a document class identified by its id
|
|
2715
1711
|
*
|
|
@@ -2873,7 +1869,7 @@ declare class DocumentsEndpoint {
|
|
|
2873
1869
|
*
|
|
2874
1870
|
* @param file Blob? - Input document
|
|
2875
1871
|
* @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.
|
|
2876
|
-
* @param type TypeEnum? -
|
|
1872
|
+
* @param type TypeEnum? - Has no effect: documents are always parsed for similarity. The value 'extraction' is no longer supported.
|
|
2877
1873
|
* @param documenttype string? - Id of the document template to use
|
|
2878
1874
|
* @param withareas boolean? - Gives back the coordinates of sentences.
|
|
2879
1875
|
* @param withcontextparagraphs boolean? - Gives back the context paragraphs.
|
|
@@ -2884,8 +1880,6 @@ declare class DocumentsEndpoint {
|
|
|
2884
1880
|
* @param y number? - Y position in pixel (72dpi) of the area to return as image. Only for accept=image/png
|
|
2885
1881
|
* @param width number? - Width in pixel (72dpi) of the area to return as image. Only for accept=image/png
|
|
2886
1882
|
* @param height number? - Height in pixel (72dpi) of the area to return as image. Only for accept=image/png
|
|
2887
|
-
* @param documentmode DocumentmodeEnum? - Determines to return paragraphs as rows or sentences. Only for accept=xlsx
|
|
2888
|
-
* @param withparagraphtype boolean? - documentmode=paragraph only and true -> text type is returned in column B. Only for accept=xlsx
|
|
2889
1883
|
*/
|
|
2890
1884
|
post(data: {
|
|
2891
1885
|
file?: Blob;
|
|
@@ -2901,8 +1895,6 @@ declare class DocumentsEndpoint {
|
|
|
2901
1895
|
y?: number;
|
|
2902
1896
|
width?: number;
|
|
2903
1897
|
height?: number;
|
|
2904
|
-
documentmode?: DocumentmodeEnum;
|
|
2905
|
-
withparagraphtype?: boolean;
|
|
2906
1898
|
}, params?: {
|
|
2907
1899
|
withsentences?: boolean;
|
|
2908
1900
|
}): Promise<Document[]>;
|
|
@@ -2912,85 +1904,7 @@ declare class DocumentsEndpoint {
|
|
|
2912
1904
|
*
|
|
2913
1905
|
* @param file Blob? - Input document
|
|
2914
1906
|
* @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.
|
|
2915
|
-
* @param type TypeEnum? -
|
|
2916
|
-
* @param documenttype string? - Id of the document template to use
|
|
2917
|
-
* @param withareas boolean? - Gives back the coordinates of sentences.
|
|
2918
|
-
* @param withcontextparagraphs boolean? - Gives back the context paragraphs.
|
|
2919
|
-
* @param withcharacters boolean? - Gives back the coordinates for each character of a sentence.
|
|
2920
|
-
* @param withformatinfo boolean? - Gives back aggregated formatting information of paragraphs for this document.
|
|
2921
|
-
* @param page number? - Number of the page to return as image. Zero based. Only for accept=image/png
|
|
2922
|
-
* @param x number? - X position in pixel (72dpi) of the area to return as image. Only for accept=image/png
|
|
2923
|
-
* @param y number? - Y position in pixel (72dpi) of the area to return as image. Only for accept=image/png
|
|
2924
|
-
* @param width number? - Width in pixel (72dpi) of the area to return as image. Only for accept=image/png
|
|
2925
|
-
* @param height number? - Height in pixel (72dpi) of the area to return as image. Only for accept=image/png
|
|
2926
|
-
* @param documentmode DocumentmodeEnum? - Determines to return paragraphs as rows or sentences. Only for accept=xlsx
|
|
2927
|
-
* @param withparagraphtype boolean? - documentmode=paragraph only and true -> text type is returned in column B. Only for accept=xlsx
|
|
2928
|
-
*/
|
|
2929
|
-
postAsXlsx(data: {
|
|
2930
|
-
file?: Blob;
|
|
2931
|
-
text?: string;
|
|
2932
|
-
type?: TypeEnum;
|
|
2933
|
-
documenttype?: string;
|
|
2934
|
-
withareas?: boolean;
|
|
2935
|
-
withcontextparagraphs?: boolean;
|
|
2936
|
-
withcharacters?: boolean;
|
|
2937
|
-
withformatinfo?: boolean;
|
|
2938
|
-
page?: number;
|
|
2939
|
-
x?: number;
|
|
2940
|
-
y?: number;
|
|
2941
|
-
width?: number;
|
|
2942
|
-
height?: number;
|
|
2943
|
-
documentmode?: DocumentmodeEnum;
|
|
2944
|
-
withparagraphtype?: boolean;
|
|
2945
|
-
}, params?: {
|
|
2946
|
-
withsentences?: boolean;
|
|
2947
|
-
}): Promise<Blob>;
|
|
2948
|
-
/**
|
|
2949
|
-
* Creates a list of document models from an input document (pdf, docx, txt, zip, xlsx)
|
|
2950
|
-
* This service can be used with different accept headers which return the document model as json, pdf or docx. You can send a docx and return it as pdf which is based on the document model.
|
|
2951
|
-
*
|
|
2952
|
-
* @param file Blob? - Input document
|
|
2953
|
-
* @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.
|
|
2954
|
-
* @param type TypeEnum? - Choose the structure of a document can be 'similarity' or 'extraction'. The type depends on the Use Case you're in.
|
|
2955
|
-
* @param documenttype string? - Id of the document template to use
|
|
2956
|
-
* @param withareas boolean? - Gives back the coordinates of sentences.
|
|
2957
|
-
* @param withcontextparagraphs boolean? - Gives back the context paragraphs.
|
|
2958
|
-
* @param withcharacters boolean? - Gives back the coordinates for each character of a sentence.
|
|
2959
|
-
* @param withformatinfo boolean? - Gives back aggregated formatting information of paragraphs for this document.
|
|
2960
|
-
* @param page number? - Number of the page to return as image. Zero based. Only for accept=image/png
|
|
2961
|
-
* @param x number? - X position in pixel (72dpi) of the area to return as image. Only for accept=image/png
|
|
2962
|
-
* @param y number? - Y position in pixel (72dpi) of the area to return as image. Only for accept=image/png
|
|
2963
|
-
* @param width number? - Width in pixel (72dpi) of the area to return as image. Only for accept=image/png
|
|
2964
|
-
* @param height number? - Height in pixel (72dpi) of the area to return as image. Only for accept=image/png
|
|
2965
|
-
* @param documentmode DocumentmodeEnum? - Determines to return paragraphs as rows or sentences. Only for accept=xlsx
|
|
2966
|
-
* @param withparagraphtype boolean? - documentmode=paragraph only and true -> text type is returned in column B. Only for accept=xlsx
|
|
2967
|
-
*/
|
|
2968
|
-
postAsDocx(data: {
|
|
2969
|
-
file?: Blob;
|
|
2970
|
-
text?: string;
|
|
2971
|
-
type?: TypeEnum;
|
|
2972
|
-
documenttype?: string;
|
|
2973
|
-
withareas?: boolean;
|
|
2974
|
-
withcontextparagraphs?: boolean;
|
|
2975
|
-
withcharacters?: boolean;
|
|
2976
|
-
withformatinfo?: boolean;
|
|
2977
|
-
page?: number;
|
|
2978
|
-
x?: number;
|
|
2979
|
-
y?: number;
|
|
2980
|
-
width?: number;
|
|
2981
|
-
height?: number;
|
|
2982
|
-
documentmode?: DocumentmodeEnum;
|
|
2983
|
-
withparagraphtype?: boolean;
|
|
2984
|
-
}, params?: {
|
|
2985
|
-
withsentences?: boolean;
|
|
2986
|
-
}): Promise<Blob>;
|
|
2987
|
-
/**
|
|
2988
|
-
* Creates a list of document models from an input document (pdf, docx, txt, zip, xlsx)
|
|
2989
|
-
* This service can be used with different accept headers which return the document model as json, pdf or docx. You can send a docx and return it as pdf which is based on the document model.
|
|
2990
|
-
*
|
|
2991
|
-
* @param file Blob? - Input document
|
|
2992
|
-
* @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.
|
|
2993
|
-
* @param type TypeEnum? - Choose the structure of a document can be 'similarity' or 'extraction'. The type depends on the Use Case you're in.
|
|
1907
|
+
* @param type TypeEnum? - Has no effect: documents are always parsed for similarity. The value 'extraction' is no longer supported.
|
|
2994
1908
|
* @param documenttype string? - Id of the document template to use
|
|
2995
1909
|
* @param withareas boolean? - Gives back the coordinates of sentences.
|
|
2996
1910
|
* @param withcontextparagraphs boolean? - Gives back the context paragraphs.
|
|
@@ -3001,8 +1915,6 @@ declare class DocumentsEndpoint {
|
|
|
3001
1915
|
* @param y number? - Y position in pixel (72dpi) of the area to return as image. Only for accept=image/png
|
|
3002
1916
|
* @param width number? - Width in pixel (72dpi) of the area to return as image. Only for accept=image/png
|
|
3003
1917
|
* @param height number? - Height in pixel (72dpi) of the area to return as image. Only for accept=image/png
|
|
3004
|
-
* @param documentmode DocumentmodeEnum? - Determines to return paragraphs as rows or sentences. Only for accept=xlsx
|
|
3005
|
-
* @param withparagraphtype boolean? - documentmode=paragraph only and true -> text type is returned in column B. Only for accept=xlsx
|
|
3006
1918
|
*/
|
|
3007
1919
|
postAsPng(data: {
|
|
3008
1920
|
file?: Blob;
|
|
@@ -3018,8 +1930,6 @@ declare class DocumentsEndpoint {
|
|
|
3018
1930
|
y?: number;
|
|
3019
1931
|
width?: number;
|
|
3020
1932
|
height?: number;
|
|
3021
|
-
documentmode?: DocumentmodeEnum;
|
|
3022
|
-
withparagraphtype?: boolean;
|
|
3023
1933
|
}, params?: {
|
|
3024
1934
|
withsentences?: boolean;
|
|
3025
1935
|
}): Promise<Blob>;
|
|
@@ -3029,7 +1939,7 @@ declare class DocumentsEndpoint {
|
|
|
3029
1939
|
*
|
|
3030
1940
|
* @param file Blob? - Input document
|
|
3031
1941
|
* @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.
|
|
3032
|
-
* @param type TypeEnum? -
|
|
1942
|
+
* @param type TypeEnum? - Has no effect: documents are always parsed for similarity. The value 'extraction' is no longer supported.
|
|
3033
1943
|
* @param documenttype string? - Id of the document template to use
|
|
3034
1944
|
* @param withareas boolean? - Gives back the coordinates of sentences.
|
|
3035
1945
|
* @param withcontextparagraphs boolean? - Gives back the context paragraphs.
|
|
@@ -3040,8 +1950,6 @@ declare class DocumentsEndpoint {
|
|
|
3040
1950
|
* @param y number? - Y position in pixel (72dpi) of the area to return as image. Only for accept=image/png
|
|
3041
1951
|
* @param width number? - Width in pixel (72dpi) of the area to return as image. Only for accept=image/png
|
|
3042
1952
|
* @param height number? - Height in pixel (72dpi) of the area to return as image. Only for accept=image/png
|
|
3043
|
-
* @param documentmode DocumentmodeEnum? - Determines to return paragraphs as rows or sentences. Only for accept=xlsx
|
|
3044
|
-
* @param withparagraphtype boolean? - documentmode=paragraph only and true -> text type is returned in column B. Only for accept=xlsx
|
|
3045
1953
|
*/
|
|
3046
1954
|
postAsReqifz(data: {
|
|
3047
1955
|
file?: Blob;
|
|
@@ -3057,8 +1965,6 @@ declare class DocumentsEndpoint {
|
|
|
3057
1965
|
y?: number;
|
|
3058
1966
|
width?: number;
|
|
3059
1967
|
height?: number;
|
|
3060
|
-
documentmode?: DocumentmodeEnum;
|
|
3061
|
-
withparagraphtype?: boolean;
|
|
3062
1968
|
}, params?: {
|
|
3063
1969
|
withsentences?: boolean;
|
|
3064
1970
|
}): Promise<Blob>;
|
|
@@ -3144,88 +2050,6 @@ declare class McptoolsEndpoint {
|
|
|
3144
2050
|
}): Promise<McpToolDescriptor[]>;
|
|
3145
2051
|
}
|
|
3146
2052
|
|
|
3147
|
-
/**
|
|
3148
|
-
* @author semantha
|
|
3149
|
-
*
|
|
3150
|
-
* Class to access resource "/api/domains/{domainname}/modelclasses"
|
|
3151
|
-
* This is a generated file do not change manually!
|
|
3152
|
-
*/
|
|
3153
|
-
declare class ModelclassesEndpoint {
|
|
3154
|
-
private readonly restClient;
|
|
3155
|
-
private readonly parentEndpoint;
|
|
3156
|
-
private readonly ENDPOINT;
|
|
3157
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
3158
|
-
/**
|
|
3159
|
-
* Get all model classes
|
|
3160
|
-
*
|
|
3161
|
-
* @param uilanguage string? - Selects the language of the labels in the JSON response; useful with multi-language domain models.
|
|
3162
|
-
*/
|
|
3163
|
-
get(params?: {
|
|
3164
|
-
uilanguage?: string;
|
|
3165
|
-
}): Promise<ModelClass[]>;
|
|
3166
|
-
}
|
|
3167
|
-
|
|
3168
|
-
/**
|
|
3169
|
-
* @author semantha
|
|
3170
|
-
*
|
|
3171
|
-
* Class to access resource "/api/domains/{domainname}/modelinstances"
|
|
3172
|
-
* This is a generated file do not change manually!
|
|
3173
|
-
*/
|
|
3174
|
-
declare class ModelinstancesEndpoint {
|
|
3175
|
-
private readonly restClient;
|
|
3176
|
-
private readonly parentEndpoint;
|
|
3177
|
-
private readonly ENDPOINT;
|
|
3178
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
3179
|
-
/**
|
|
3180
|
-
* Extract semantic model for a list of documents
|
|
3181
|
-
*
|
|
3182
|
-
* @param file Blob? - Input document (left document).
|
|
3183
|
-
* @param documentextractor string? - The document extractor you want to be considered.
|
|
3184
|
-
* @param applymatchersfordocumentextractor boolean? -
|
|
3185
|
-
*/
|
|
3186
|
-
post(data: {
|
|
3187
|
-
file?: Blob;
|
|
3188
|
-
documentextractor?: string;
|
|
3189
|
-
applymatchersfordocumentextractor?: boolean;
|
|
3190
|
-
}, params?: {
|
|
3191
|
-
withimages?: boolean;
|
|
3192
|
-
withdocument?: boolean;
|
|
3193
|
-
withadditionalroots?: boolean;
|
|
3194
|
-
documenttype?: string;
|
|
3195
|
-
uilanguage?: string;
|
|
3196
|
-
}): Promise<SemanticModel>;
|
|
3197
|
-
/**
|
|
3198
|
-
* Extract semantic model for a list of documents
|
|
3199
|
-
*
|
|
3200
|
-
* @param body SemanticModel? -
|
|
3201
|
-
*/
|
|
3202
|
-
postJson(body: SemanticModel, params?: {
|
|
3203
|
-
withimages?: boolean;
|
|
3204
|
-
withdocument?: boolean;
|
|
3205
|
-
withadditionalroots?: boolean;
|
|
3206
|
-
documenttype?: string;
|
|
3207
|
-
uilanguage?: string;
|
|
3208
|
-
}): Promise<SemanticModel>;
|
|
3209
|
-
/**
|
|
3210
|
-
* Extract semantic model for a list of documents
|
|
3211
|
-
*
|
|
3212
|
-
* @param file Blob? - Input document (left document).
|
|
3213
|
-
* @param documentextractor string? - The document extractor you want to be considered.
|
|
3214
|
-
* @param applymatchersfordocumentextractor boolean? -
|
|
3215
|
-
*/
|
|
3216
|
-
postAsXlsx(data: {
|
|
3217
|
-
file?: Blob;
|
|
3218
|
-
documentextractor?: string;
|
|
3219
|
-
applymatchersfordocumentextractor?: boolean;
|
|
3220
|
-
}, params?: {
|
|
3221
|
-
withimages?: boolean;
|
|
3222
|
-
withdocument?: boolean;
|
|
3223
|
-
withadditionalroots?: boolean;
|
|
3224
|
-
documenttype?: string;
|
|
3225
|
-
uilanguage?: string;
|
|
3226
|
-
}): Promise<Blob>;
|
|
3227
|
-
}
|
|
3228
|
-
|
|
3229
2053
|
/**
|
|
3230
2054
|
* @author semantha
|
|
3231
2055
|
*
|
|
@@ -3481,33 +2305,6 @@ declare class ReferencedocumentEndpoint {
|
|
|
3481
2305
|
patch(body: DocumentInformation): Promise<DocumentInformation>;
|
|
3482
2306
|
}
|
|
3483
2307
|
|
|
3484
|
-
/**
|
|
3485
|
-
* @author semantha
|
|
3486
|
-
*
|
|
3487
|
-
* Class to access resource "/api/domains/{domainname}/referencedocuments/namedentities"
|
|
3488
|
-
* This is a generated file do not change manually!
|
|
3489
|
-
*/
|
|
3490
|
-
declare class NamedentitiesEndpoint {
|
|
3491
|
-
private readonly restClient;
|
|
3492
|
-
private readonly parentEndpoint;
|
|
3493
|
-
private readonly ENDPOINT;
|
|
3494
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
3495
|
-
/**
|
|
3496
|
-
* Get all named entities (a.k.a custom entities) from reference documents.
|
|
3497
|
-
* Can be filtered by tags or documentclassids.
|
|
3498
|
-
*
|
|
3499
|
-
* @param tags string? - List of tags to filter the reference library. You can combine the tags using a comma (OR) and using a plus sign (AND).
|
|
3500
|
-
* @param documentclassids string? - List of documentclass IDs to filter by. The limit here is 1000 IDs.
|
|
3501
|
-
* The IDs are passed as a JSON array.
|
|
3502
|
-
* This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.
|
|
3503
|
-
* Each value can be either the documentclass UUID `id` or its numeric `shortId`; numeric values are resolved server-side to the matching documentclass UUID. UUIDs and shortIds may be mixed in the same request.
|
|
3504
|
-
*/
|
|
3505
|
-
get(params?: {
|
|
3506
|
-
tags?: string;
|
|
3507
|
-
documentclassids?: string;
|
|
3508
|
-
}): Promise<DocumentNamedEntity[]>;
|
|
3509
|
-
}
|
|
3510
|
-
|
|
3511
2308
|
/**
|
|
3512
2309
|
* @author semantha
|
|
3513
2310
|
*
|
|
@@ -3558,7 +2355,6 @@ declare class ReferencedocumentsEndpoint {
|
|
|
3558
2355
|
private readonly parentEndpoint;
|
|
3559
2356
|
private readonly ENDPOINT;
|
|
3560
2357
|
constructor(restClient: RestClient, parentEndpoint: string);
|
|
3561
|
-
namedentities(): NamedentitiesEndpoint;
|
|
3562
2358
|
statistic(): StatisticEndpoint;
|
|
3563
2359
|
stream(): ReferencedocumentsStreamEndpoint;
|
|
3564
2360
|
/**
|
|
@@ -3937,941 +2733,279 @@ declare class ReferencesEndpoint {
|
|
|
3937
2733
|
withreferencetext?: boolean;
|
|
3938
2734
|
mode?: ModeEnum;
|
|
3939
2735
|
documenttype?: string;
|
|
3940
|
-
metadata?: DocumentMetaData[];
|
|
3941
|
-
considertexttype?: boolean;
|
|
3942
|
-
resizeparagraphs?: boolean;
|
|
3943
|
-
text?: string;
|
|
3944
|
-
withreferenceimage?: boolean;
|
|
3945
|
-
withareas?: boolean;
|
|
3946
|
-
}, params?: {
|
|
3947
|
-
detectlanguage?: boolean;
|
|
3948
|
-
maxreferences?: number;
|
|
3949
|
-
maximagereferences?: number;
|
|
3950
|
-
}): Promise<Blob>;
|
|
3951
|
-
}
|
|
3952
|
-
|
|
3953
|
-
/**
|
|
3954
|
-
* @author semantha
|
|
3955
|
-
*
|
|
3956
|
-
* Class to access resource "/api/domains/{domainname}/settings"
|
|
3957
|
-
* This is a generated file do not change manually!
|
|
3958
|
-
*/
|
|
3959
|
-
declare class SettingsEndpoint {
|
|
3960
|
-
private readonly restClient;
|
|
3961
|
-
private readonly parentEndpoint;
|
|
3962
|
-
private readonly ENDPOINT;
|
|
3963
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
3964
|
-
/**
|
|
3965
|
-
* Get the configuration settings of a specific domain.
|
|
3966
|
-
*
|
|
3967
|
-
* @param withsimilaritymodelid boolean? - If true, similarityModelId is returned.
|
|
3968
|
-
*/
|
|
3969
|
-
get(params?: {
|
|
3970
|
-
withsimilaritymodelid?: boolean;
|
|
3971
|
-
}): Promise<Settings>;
|
|
3972
|
-
/**
|
|
3973
|
-
* Update configuration settings for this domain, e.g. which similarity model to use. Needs roles: 'Domain Admin' or 'Expert User'
|
|
3974
|
-
*
|
|
3975
|
-
* @param body Settings -
|
|
3976
|
-
*/
|
|
3977
|
-
patch(body: Settings): Promise<Settings>;
|
|
3978
|
-
}
|
|
3979
|
-
|
|
3980
|
-
/**
|
|
3981
|
-
* @author semantha
|
|
3982
|
-
*
|
|
3983
|
-
* Class to access resource "/api/domains/{domainname}/tags/{tagname}/referencedocuments"
|
|
3984
|
-
* This is a generated file do not change manually!
|
|
3985
|
-
*/
|
|
3986
|
-
declare class TagReferencedocumentsEndpoint {
|
|
3987
|
-
private readonly restClient;
|
|
3988
|
-
private readonly parentEndpoint;
|
|
3989
|
-
private readonly ENDPOINT;
|
|
3990
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
3991
|
-
/**
|
|
3992
|
-
* Get all reference documents with a specific tag
|
|
3993
|
-
*/
|
|
3994
|
-
get(): Promise<DocumentInformation[]>;
|
|
3995
|
-
/**
|
|
3996
|
-
* Delete reference documents with a specific tag
|
|
3997
|
-
*/
|
|
3998
|
-
delete(): Promise<RestResponse<void>>;
|
|
3999
|
-
}
|
|
4000
|
-
|
|
4001
|
-
/**
|
|
4002
|
-
* @author semantha
|
|
4003
|
-
*
|
|
4004
|
-
* Class to access resource "/api/domains/{domainname}/tags/{tagname}"
|
|
4005
|
-
* This is a generated file do not change manually!
|
|
4006
|
-
*/
|
|
4007
|
-
declare class TagEndpoint {
|
|
4008
|
-
private readonly restClient;
|
|
4009
|
-
private readonly parentEndpoint;
|
|
4010
|
-
private readonly tagname;
|
|
4011
|
-
private readonly ENDPOINT;
|
|
4012
|
-
constructor(restClient: RestClient, parentEndpoint: string, tagname: string);
|
|
4013
|
-
referencedocuments(): TagReferencedocumentsEndpoint;
|
|
4014
|
-
}
|
|
4015
|
-
|
|
4016
|
-
/**
|
|
4017
|
-
* @author semantha
|
|
4018
|
-
*
|
|
4019
|
-
* Class to access resource "/api/domains/{domainname}/tags"
|
|
4020
|
-
* This is a generated file do not change manually!
|
|
4021
|
-
*/
|
|
4022
|
-
declare class TagsEndpoint {
|
|
4023
|
-
private readonly restClient;
|
|
4024
|
-
private readonly parentEndpoint;
|
|
4025
|
-
private readonly ENDPOINT;
|
|
4026
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4027
|
-
/**
|
|
4028
|
-
* Get tags
|
|
4029
|
-
*/
|
|
4030
|
-
get(): Promise<string[]>;
|
|
4031
|
-
}
|
|
4032
|
-
|
|
4033
|
-
/**
|
|
4034
|
-
* @author semantha
|
|
4035
|
-
*
|
|
4036
|
-
* Class to access resource "/api/domains/{domainname}/texttypes"
|
|
4037
|
-
* This is a generated file do not change manually!
|
|
4038
|
-
*/
|
|
4039
|
-
declare class TexttypesEndpoint {
|
|
4040
|
-
private readonly restClient;
|
|
4041
|
-
private readonly parentEndpoint;
|
|
4042
|
-
private readonly ENDPOINT;
|
|
4043
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4044
|
-
/**
|
|
4045
|
-
* Returns all available text types.
|
|
4046
|
-
*/
|
|
4047
|
-
get(): Promise<TextType[]>;
|
|
4048
|
-
/**
|
|
4049
|
-
* Resets changes made via PATCH calls. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4050
|
-
*/
|
|
4051
|
-
delete(): Promise<RestResponse<void>>;
|
|
4052
|
-
/**
|
|
4053
|
-
* Saves text types, order of elements determines display order. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4054
|
-
*
|
|
4055
|
-
* @param body TextType[] -
|
|
4056
|
-
*/
|
|
4057
|
-
patch(body: TextType[]): Promise<void>;
|
|
4058
|
-
}
|
|
4059
|
-
|
|
4060
|
-
/**
|
|
4061
|
-
* @author semantha
|
|
4062
|
-
*
|
|
4063
|
-
* Class to access resource "/api/domains/{domainname}/translations"
|
|
4064
|
-
* This is a generated file do not change manually!
|
|
4065
|
-
*/
|
|
4066
|
-
declare class TranslationsEndpoint {
|
|
4067
|
-
private readonly restClient;
|
|
4068
|
-
private readonly parentEndpoint;
|
|
4069
|
-
private readonly ENDPOINT;
|
|
4070
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4071
|
-
/**
|
|
4072
|
-
* Translates a single text to a target language, optionally from a source language.
|
|
4073
|
-
* Supported Languages:
|
|
4074
|
-
* "ar", "cs", "da", "de", "en", "es", "el", "fr", "fi", "hu", "hr",
|
|
4075
|
-
* "it", "ja", "ko", "nl", "no", "pl", "pt", "ro", "ru", "sk", "sl",
|
|
4076
|
-
* "sv", "tr", "zh-CN", "zh-TW"
|
|
4077
|
-
*
|
|
4078
|
-
* @param body Translation? -
|
|
4079
|
-
*/
|
|
4080
|
-
post(body?: Translation): Promise<TranslationResponse>;
|
|
4081
|
-
}
|
|
4082
|
-
|
|
4083
|
-
/**
|
|
4084
|
-
* @author semantha
|
|
4085
|
-
*
|
|
4086
|
-
* Class to access resource "/api/domains/{domainname}/validation"
|
|
4087
|
-
* This is a generated file do not change manually!
|
|
4088
|
-
*/
|
|
4089
|
-
declare class ValidationEndpoint {
|
|
4090
|
-
private readonly restClient;
|
|
4091
|
-
private readonly parentEndpoint;
|
|
4092
|
-
private readonly ENDPOINT;
|
|
4093
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4094
|
-
/**
|
|
4095
|
-
* Validate existing data in a document.
|
|
4096
|
-
* The coordinates come back, if data is found
|
|
4097
|
-
*
|
|
4098
|
-
* @param file Blob? - Input document (left document).
|
|
4099
|
-
*/
|
|
4100
|
-
post(file?: Blob): Promise<SemanticModel>;
|
|
4101
|
-
}
|
|
4102
|
-
|
|
4103
|
-
/**
|
|
4104
|
-
* @author semantha
|
|
4105
|
-
*
|
|
4106
|
-
* Class to access resource "/api/domains/{domainname}"
|
|
4107
|
-
* This is a generated file do not change manually!
|
|
4108
|
-
*/
|
|
4109
|
-
declare class DomainEndpoint {
|
|
4110
|
-
private readonly restClient;
|
|
4111
|
-
private readonly parentEndpoint;
|
|
4112
|
-
private readonly domainname;
|
|
4113
|
-
private readonly ENDPOINT;
|
|
4114
|
-
constructor(restClient: RestClient, parentEndpoint: string, domainname: string);
|
|
4115
|
-
answers(): AnswersEndpoint;
|
|
4116
|
-
chats(): ChatsEndpoint;
|
|
4117
|
-
chats(id: string): ChatEndpoint;
|
|
4118
|
-
documentannotations(): DocumentannotationsEndpoint;
|
|
4119
|
-
documentclasses(): DocumentclassesEndpoint;
|
|
4120
|
-
documentclasses(id: string): DocumentclassEndpoint;
|
|
4121
|
-
documents(): DocumentsEndpoint;
|
|
4122
|
-
documenttypes(): DocumenttypesEndpoint;
|
|
4123
|
-
documenttypes(id: string): DocumenttypeEndpoint;
|
|
4124
|
-
mcptools(): McptoolsEndpoint;
|
|
4125
|
-
modelclasses(): ModelclassesEndpoint;
|
|
4126
|
-
modelinstances(): ModelinstancesEndpoint;
|
|
4127
|
-
prompts(): PromptsEndpoint;
|
|
4128
|
-
prompts(id: string): PromptEndpoint;
|
|
4129
|
-
referencedocuments(): ReferencedocumentsEndpoint;
|
|
4130
|
-
referencedocuments(documentid: string): ReferencedocumentEndpoint;
|
|
4131
|
-
references(): ReferencesEndpoint;
|
|
4132
|
-
settings(): SettingsEndpoint;
|
|
4133
|
-
tags(): TagsEndpoint;
|
|
4134
|
-
tags(tagname: string): TagEndpoint;
|
|
4135
|
-
texttypes(): TexttypesEndpoint;
|
|
4136
|
-
translations(): TranslationsEndpoint;
|
|
4137
|
-
validation(): ValidationEndpoint;
|
|
4138
|
-
/**
|
|
4139
|
-
* Get the configuration settings of a specific domain.
|
|
4140
|
-
*/
|
|
4141
|
-
get(): Promise<Domain>;
|
|
4142
|
-
}
|
|
4143
|
-
|
|
4144
|
-
/**
|
|
4145
|
-
* @author semantha
|
|
4146
|
-
*
|
|
4147
|
-
* Class to access resource "/api/domains"
|
|
4148
|
-
* This is a generated file do not change manually!
|
|
4149
|
-
*/
|
|
4150
|
-
declare class DomainsEndpoint {
|
|
4151
|
-
private readonly restClient;
|
|
4152
|
-
private readonly parentEndpoint;
|
|
4153
|
-
private readonly ENDPOINT;
|
|
4154
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4155
|
-
/**
|
|
4156
|
-
* Returns a list of all accessable domains.
|
|
4157
|
-
*/
|
|
4158
|
-
get(): Promise<DomainInfo[]>;
|
|
4159
|
-
}
|
|
4160
|
-
|
|
4161
|
-
/**
|
|
4162
|
-
* @author semantha
|
|
4163
|
-
*
|
|
4164
|
-
* Class to access resource "/api/info"
|
|
4165
|
-
* This is a generated file do not change manually!
|
|
4166
|
-
*/
|
|
4167
|
-
declare class InfoEndpoint {
|
|
4168
|
-
private readonly restClient;
|
|
4169
|
-
private readonly parentEndpoint;
|
|
4170
|
-
private readonly ENDPOINT;
|
|
4171
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4172
|
-
/**
|
|
4173
|
-
* Returns API version information.
|
|
4174
|
-
*/
|
|
4175
|
-
get(): Promise<Info>;
|
|
4176
|
-
}
|
|
4177
|
-
|
|
4178
|
-
/**
|
|
4179
|
-
* @author semantha
|
|
4180
|
-
*
|
|
4181
|
-
* Class to access resource "/api/languages"
|
|
4182
|
-
* This is a generated file do not change manually!
|
|
4183
|
-
*/
|
|
4184
|
-
declare class LanguagesEndpoint {
|
|
4185
|
-
private readonly restClient;
|
|
4186
|
-
private readonly parentEndpoint;
|
|
4187
|
-
private readonly ENDPOINT;
|
|
4188
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4189
|
-
/**
|
|
4190
|
-
* Identifies the language of the document and sends it back
|
|
4191
|
-
* Input: Support of all input formats (pdf, docx, txt, json (DocumentModel)
|
|
4192
|
-
*
|
|
4193
|
-
* Output: Detected Language
|
|
4194
|
-
*
|
|
4195
|
-
* Supported Languages:
|
|
4196
|
-
* "ar", "cs", "da", "de", "en", "es", "el", "fr", "fi", "hu", "hr",
|
|
4197
|
-
* "it", "ja", "ko", "nl", "no", "pl", "pt", "ro", "ru", "sk", "sl",
|
|
4198
|
-
* "sv", "tr", "zh"
|
|
4199
|
-
*
|
|
4200
|
-
* @param file Blob? - Input document (left document).
|
|
4201
|
-
*/
|
|
4202
|
-
post(file?: Blob): Promise<LanguageDetection>;
|
|
4203
|
-
}
|
|
4204
|
-
|
|
4205
|
-
/**
|
|
4206
|
-
* @author semantha
|
|
4207
|
-
*
|
|
4208
|
-
* Class to access resource "/api/model/datatypes"
|
|
4209
|
-
* This is a generated file do not change manually!
|
|
4210
|
-
*/
|
|
4211
|
-
declare class ModelDatatypesEndpoint {
|
|
4212
|
-
private readonly restClient;
|
|
4213
|
-
private readonly parentEndpoint;
|
|
4214
|
-
private readonly ENDPOINT;
|
|
4215
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4216
|
-
/**
|
|
4217
|
-
* Get all datatypes
|
|
4218
|
-
*/
|
|
4219
|
-
get(): Promise<string[]>;
|
|
4220
|
-
}
|
|
4221
|
-
|
|
4222
|
-
/**
|
|
4223
|
-
* @author semantha
|
|
4224
|
-
*
|
|
4225
|
-
* Class to access resource "/api/model/domains/{domainname}/attributes"
|
|
4226
|
-
* This is a generated file do not change manually!
|
|
4227
|
-
*/
|
|
4228
|
-
declare class ModelAttributesEndpoint {
|
|
4229
|
-
private readonly restClient;
|
|
4230
|
-
private readonly parentEndpoint;
|
|
4231
|
-
private readonly ENDPOINT;
|
|
4232
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4233
|
-
/**
|
|
4234
|
-
* Get all attributes
|
|
4235
|
-
*/
|
|
4236
|
-
get(): Promise<AttributeOverview[]>;
|
|
4237
|
-
}
|
|
4238
|
-
|
|
4239
|
-
/**
|
|
4240
|
-
* @author semantha
|
|
4241
|
-
*
|
|
4242
|
-
* Class to access resource "/api/model/domains/{domainname}/dataproperties"
|
|
4243
|
-
* This is a generated file do not change manually!
|
|
4244
|
-
*/
|
|
4245
|
-
declare class ModelDatapropertiesEndpoint {
|
|
4246
|
-
private readonly restClient;
|
|
4247
|
-
private readonly parentEndpoint;
|
|
4248
|
-
private readonly ENDPOINT;
|
|
4249
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4250
|
-
/**
|
|
4251
|
-
* Read all available entities.
|
|
4252
|
-
*/
|
|
4253
|
-
get(): Promise<Overview[]>;
|
|
4254
|
-
/**
|
|
4255
|
-
* Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4256
|
-
*/
|
|
4257
|
-
delete(): Promise<RestResponse<void>>;
|
|
4258
|
-
/**
|
|
4259
|
-
* Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4260
|
-
*
|
|
4261
|
-
* @param body DataProperty? -
|
|
4262
|
-
*/
|
|
4263
|
-
post(body?: DataProperty): Promise<DataProperty>;
|
|
4264
|
-
}
|
|
4265
|
-
|
|
4266
|
-
/**
|
|
4267
|
-
* @author semantha
|
|
4268
|
-
*
|
|
4269
|
-
* Class to access resource "/api/model/domains/{domainname}/dataproperties/{id}"
|
|
4270
|
-
* This is a generated file do not change manually!
|
|
4271
|
-
*/
|
|
4272
|
-
declare class ModelDatapropertyEndpoint {
|
|
4273
|
-
private readonly restClient;
|
|
4274
|
-
private readonly parentEndpoint;
|
|
4275
|
-
private readonly id;
|
|
4276
|
-
private readonly ENDPOINT;
|
|
4277
|
-
constructor(restClient: RestClient, parentEndpoint: string, id: string);
|
|
4278
|
-
/**
|
|
4279
|
-
* Read one entity.
|
|
4280
|
-
*/
|
|
4281
|
-
get(): Promise<DataProperty>;
|
|
4282
|
-
/**
|
|
4283
|
-
* Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4284
|
-
*/
|
|
4285
|
-
delete(): Promise<RestResponse<void>>;
|
|
4286
|
-
/**
|
|
4287
|
-
* Change one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4288
|
-
*
|
|
4289
|
-
* @param body DataProperty -
|
|
4290
|
-
*/
|
|
4291
|
-
put(body: DataProperty): Promise<DataProperty>;
|
|
4292
|
-
}
|
|
4293
|
-
|
|
4294
|
-
/**
|
|
4295
|
-
* @author semantha
|
|
4296
|
-
*
|
|
4297
|
-
* Class to access resource "/api/model/domains/{domainname}/extractorclasses/{id}"
|
|
4298
|
-
* This is a generated file do not change manually!
|
|
4299
|
-
*/
|
|
4300
|
-
declare class ModelExtractorclassEndpoint {
|
|
4301
|
-
private readonly restClient;
|
|
4302
|
-
private readonly parentEndpoint;
|
|
4303
|
-
private readonly id;
|
|
4304
|
-
private readonly ENDPOINT;
|
|
4305
|
-
constructor(restClient: RestClient, parentEndpoint: string, id: string);
|
|
4306
|
-
extractorclasses(): ChildExtractorclassesEndpoint;
|
|
4307
|
-
/**
|
|
4308
|
-
* Read one entity.
|
|
4309
|
-
*/
|
|
4310
|
-
get(): Promise<ExtractorClass>;
|
|
4311
|
-
/**
|
|
4312
|
-
* Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4313
|
-
*/
|
|
4314
|
-
delete(): Promise<RestResponse<void>>;
|
|
4315
|
-
/**
|
|
4316
|
-
* Change one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4317
|
-
*
|
|
4318
|
-
* @param body ExtractorClass -
|
|
4319
|
-
*/
|
|
4320
|
-
put(body: ExtractorClass): Promise<ExtractorClass>;
|
|
4321
|
-
}
|
|
4322
|
-
|
|
4323
|
-
/**
|
|
4324
|
-
* @author semantha
|
|
4325
|
-
*
|
|
4326
|
-
* Class to access resource "/api/model/domains/{domainname}/extractorclasses"
|
|
4327
|
-
* This is a generated file do not change manually!
|
|
4328
|
-
*/
|
|
4329
|
-
declare class ModelExtractorclassesEndpoint {
|
|
4330
|
-
private readonly restClient;
|
|
4331
|
-
private readonly parentEndpoint;
|
|
4332
|
-
private readonly ENDPOINT;
|
|
4333
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4334
|
-
/**
|
|
4335
|
-
* Read all available entities.
|
|
4336
|
-
*/
|
|
4337
|
-
get(): Promise<ExtractorClassOverview[]>;
|
|
4338
|
-
/**
|
|
4339
|
-
* Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4340
|
-
*/
|
|
4341
|
-
delete(): Promise<RestResponse<void>>;
|
|
4342
|
-
/**
|
|
4343
|
-
* @param body ExtractorClassOverview[] -
|
|
4344
|
-
*/
|
|
4345
|
-
put(body: ExtractorClassOverview[]): Promise<void>;
|
|
4346
|
-
/**
|
|
4347
|
-
* Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4348
|
-
*
|
|
4349
|
-
* @param body ExtractorClass? -
|
|
4350
|
-
*/
|
|
4351
|
-
post(body?: ExtractorClass): Promise<ExtractorClass>;
|
|
4352
|
-
}
|
|
4353
|
-
|
|
4354
|
-
/**
|
|
4355
|
-
* @author semantha
|
|
4356
|
-
*
|
|
4357
|
-
* Class to access resource "/api/model/domains/{domainname}/extractors"
|
|
4358
|
-
* This is a generated file do not change manually!
|
|
4359
|
-
*/
|
|
4360
|
-
declare class ModelExtractorsEndpoint {
|
|
4361
|
-
private readonly restClient;
|
|
4362
|
-
private readonly parentEndpoint;
|
|
4363
|
-
private readonly ENDPOINT;
|
|
4364
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4365
|
-
/**
|
|
4366
|
-
* Get all extractors
|
|
4367
|
-
*/
|
|
4368
|
-
get(): Promise<Entity[]>;
|
|
4369
|
-
}
|
|
4370
|
-
|
|
4371
|
-
/**
|
|
4372
|
-
* @author semantha
|
|
4373
|
-
*
|
|
4374
|
-
* Class to access resource "/api/model/domains/{domainname}/formatters"
|
|
4375
|
-
* This is a generated file do not change manually!
|
|
4376
|
-
*/
|
|
4377
|
-
declare class ModelFormattersEndpoint {
|
|
4378
|
-
private readonly restClient;
|
|
4379
|
-
private readonly parentEndpoint;
|
|
4380
|
-
private readonly ENDPOINT;
|
|
4381
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4382
|
-
/**
|
|
4383
|
-
* Get all formatters
|
|
4384
|
-
*/
|
|
4385
|
-
get(): Promise<Formatter[]>;
|
|
4386
|
-
}
|
|
4387
|
-
|
|
4388
|
-
/**
|
|
4389
|
-
* @author semantha
|
|
4390
|
-
*
|
|
4391
|
-
* Class to access resource "/api/model/domains/{domainname}/metadata"
|
|
4392
|
-
* This is a generated file do not change manually!
|
|
4393
|
-
*/
|
|
4394
|
-
declare class ModelMetadataEndpoint {
|
|
4395
|
-
private readonly restClient;
|
|
4396
|
-
private readonly parentEndpoint;
|
|
4397
|
-
private readonly ENDPOINT;
|
|
4398
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4399
|
-
/**
|
|
4400
|
-
* Read all available entities.
|
|
4401
|
-
*/
|
|
4402
|
-
get(): Promise<ModelMetadata[]>;
|
|
4403
|
-
/**
|
|
4404
|
-
* Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4405
|
-
*/
|
|
4406
|
-
delete(): Promise<RestResponse<void>>;
|
|
4407
|
-
/**
|
|
4408
|
-
* Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4409
|
-
*
|
|
4410
|
-
* @param body ModelMetadata? -
|
|
4411
|
-
*/
|
|
4412
|
-
post(body?: ModelMetadata): Promise<ModelMetadata>;
|
|
4413
|
-
}
|
|
4414
|
-
|
|
4415
|
-
/**
|
|
4416
|
-
* @author semantha
|
|
4417
|
-
*
|
|
4418
|
-
* Class to access resource "/api/model/domains/{domainname}/namedentities"
|
|
4419
|
-
* This is a generated file do not change manually!
|
|
4420
|
-
*/
|
|
4421
|
-
declare class ModelNamedentitiesEndpoint {
|
|
4422
|
-
private readonly restClient;
|
|
4423
|
-
private readonly parentEndpoint;
|
|
4424
|
-
private readonly ENDPOINT;
|
|
4425
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4426
|
-
/**
|
|
4427
|
-
* Read all available entities.
|
|
4428
|
-
*/
|
|
4429
|
-
get(): Promise<NamedEntity[]>;
|
|
4430
|
-
/**
|
|
4431
|
-
* Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4432
|
-
*/
|
|
4433
|
-
delete(): Promise<RestResponse<void>>;
|
|
4434
|
-
/**
|
|
4435
|
-
* Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4436
|
-
*
|
|
4437
|
-
* @param body NamedEntity? -
|
|
4438
|
-
*/
|
|
4439
|
-
post(body?: NamedEntity): Promise<NamedEntity>;
|
|
4440
|
-
}
|
|
4441
|
-
|
|
4442
|
-
/**
|
|
4443
|
-
* @author semantha
|
|
4444
|
-
*
|
|
4445
|
-
* Class to access resource "/api/model/domains/{domainname}/namedentities/{id}"
|
|
4446
|
-
* This is a generated file do not change manually!
|
|
4447
|
-
*/
|
|
4448
|
-
declare class ModelNamedentityEndpoint {
|
|
4449
|
-
private readonly restClient;
|
|
4450
|
-
private readonly parentEndpoint;
|
|
4451
|
-
private readonly id;
|
|
4452
|
-
private readonly ENDPOINT;
|
|
4453
|
-
constructor(restClient: RestClient, parentEndpoint: string, id: string);
|
|
4454
|
-
/**
|
|
4455
|
-
* Read one entity.
|
|
4456
|
-
*/
|
|
4457
|
-
get(): Promise<NamedEntity>;
|
|
4458
|
-
/**
|
|
4459
|
-
* Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4460
|
-
*/
|
|
4461
|
-
delete(): Promise<RestResponse<void>>;
|
|
4462
|
-
/**
|
|
4463
|
-
* Change one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4464
|
-
*
|
|
4465
|
-
* @param body NamedEntity -
|
|
4466
|
-
*/
|
|
4467
|
-
put(body: NamedEntity): Promise<NamedEntity>;
|
|
4468
|
-
}
|
|
4469
|
-
|
|
4470
|
-
/**
|
|
4471
|
-
* @author semantha
|
|
4472
|
-
*
|
|
4473
|
-
* Class to access resource "/api/model/domains/{domainname}/objectproperties"
|
|
4474
|
-
* This is a generated file do not change manually!
|
|
4475
|
-
*/
|
|
4476
|
-
declare class ModelObjectpropertiesEndpoint {
|
|
4477
|
-
private readonly restClient;
|
|
4478
|
-
private readonly parentEndpoint;
|
|
4479
|
-
private readonly ENDPOINT;
|
|
4480
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4481
|
-
/**
|
|
4482
|
-
* Get all object properties
|
|
4483
|
-
*/
|
|
4484
|
-
get(): Promise<Overview[]>;
|
|
4485
|
-
}
|
|
4486
|
-
|
|
4487
|
-
/**
|
|
4488
|
-
* @author semantha
|
|
4489
|
-
*
|
|
4490
|
-
* Class to access resource "/api/model/domains/{domainname}/metadata/{id}"
|
|
4491
|
-
* This is a generated file do not change manually!
|
|
4492
|
-
*/
|
|
4493
|
-
declare class ModelOnemetadataEndpoint {
|
|
4494
|
-
private readonly restClient;
|
|
4495
|
-
private readonly parentEndpoint;
|
|
4496
|
-
private readonly id;
|
|
4497
|
-
private readonly ENDPOINT;
|
|
4498
|
-
constructor(restClient: RestClient, parentEndpoint: string, id: string);
|
|
4499
|
-
/**
|
|
4500
|
-
* Read one entity.
|
|
4501
|
-
*/
|
|
4502
|
-
get(): Promise<ModelMetadata>;
|
|
4503
|
-
/**
|
|
4504
|
-
* Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4505
|
-
*/
|
|
4506
|
-
delete(): Promise<RestResponse<void>>;
|
|
4507
|
-
/**
|
|
4508
|
-
* Change one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4509
|
-
*
|
|
4510
|
-
* @param body ModelMetadata -
|
|
4511
|
-
*/
|
|
4512
|
-
put(body: ModelMetadata): Promise<ModelMetadata>;
|
|
4513
|
-
}
|
|
4514
|
-
|
|
4515
|
-
/**
|
|
4516
|
-
* @author semantha
|
|
4517
|
-
*
|
|
4518
|
-
* Class to access resource "/api/model/domains/{domainname}/regexes/{id}"
|
|
4519
|
-
* This is a generated file do not change manually!
|
|
4520
|
-
*/
|
|
4521
|
-
declare class ModelRegexEndpoint {
|
|
4522
|
-
private readonly restClient;
|
|
4523
|
-
private readonly parentEndpoint;
|
|
4524
|
-
private readonly id;
|
|
4525
|
-
private readonly ENDPOINT;
|
|
4526
|
-
constructor(restClient: RestClient, parentEndpoint: string, id: string);
|
|
4527
|
-
/**
|
|
4528
|
-
* Read one entity.
|
|
4529
|
-
*/
|
|
4530
|
-
get(): Promise<Regex>;
|
|
4531
|
-
/**
|
|
4532
|
-
* Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4533
|
-
*/
|
|
4534
|
-
delete(): Promise<RestResponse<void>>;
|
|
4535
|
-
/**
|
|
4536
|
-
* Change one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4537
|
-
*
|
|
4538
|
-
* @param body Regex -
|
|
4539
|
-
*/
|
|
4540
|
-
put(body: Regex): Promise<Regex>;
|
|
2736
|
+
metadata?: DocumentMetaData[];
|
|
2737
|
+
considertexttype?: boolean;
|
|
2738
|
+
resizeparagraphs?: boolean;
|
|
2739
|
+
text?: string;
|
|
2740
|
+
withreferenceimage?: boolean;
|
|
2741
|
+
withareas?: boolean;
|
|
2742
|
+
}, params?: {
|
|
2743
|
+
detectlanguage?: boolean;
|
|
2744
|
+
maxreferences?: number;
|
|
2745
|
+
maximagereferences?: number;
|
|
2746
|
+
}): Promise<Blob>;
|
|
4541
2747
|
}
|
|
4542
2748
|
|
|
4543
2749
|
/**
|
|
4544
2750
|
* @author semantha
|
|
4545
2751
|
*
|
|
4546
|
-
* Class to access resource "/api/
|
|
2752
|
+
* Class to access resource "/api/domains/{domainname}/settings"
|
|
4547
2753
|
* This is a generated file do not change manually!
|
|
4548
2754
|
*/
|
|
4549
|
-
declare class
|
|
2755
|
+
declare class SettingsEndpoint {
|
|
4550
2756
|
private readonly restClient;
|
|
4551
2757
|
private readonly parentEndpoint;
|
|
4552
2758
|
private readonly ENDPOINT;
|
|
4553
2759
|
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4554
2760
|
/**
|
|
4555
|
-
*
|
|
4556
|
-
*/
|
|
4557
|
-
get(): Promise<Regex[]>;
|
|
4558
|
-
/**
|
|
4559
|
-
* Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4560
|
-
*/
|
|
4561
|
-
delete(): Promise<RestResponse<void>>;
|
|
4562
|
-
/**
|
|
4563
|
-
* Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
2761
|
+
* Get the configuration settings of a specific domain.
|
|
4564
2762
|
*
|
|
4565
|
-
* @param
|
|
4566
|
-
*/
|
|
4567
|
-
post(body?: Regex): Promise<Regex>;
|
|
4568
|
-
}
|
|
4569
|
-
|
|
4570
|
-
/**
|
|
4571
|
-
* @author semantha
|
|
4572
|
-
*
|
|
4573
|
-
* Class to access resource "/api/model/domains/{domainname}/relations/{id}"
|
|
4574
|
-
* This is a generated file do not change manually!
|
|
4575
|
-
*/
|
|
4576
|
-
declare class ModelRelationEndpoint {
|
|
4577
|
-
private readonly restClient;
|
|
4578
|
-
private readonly parentEndpoint;
|
|
4579
|
-
private readonly id;
|
|
4580
|
-
private readonly ENDPOINT;
|
|
4581
|
-
constructor(restClient: RestClient, parentEndpoint: string, id: string);
|
|
4582
|
-
/**
|
|
4583
|
-
* Read one entity.
|
|
4584
|
-
*/
|
|
4585
|
-
get(): Promise<Relation>;
|
|
4586
|
-
/**
|
|
4587
|
-
* Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
2763
|
+
* @param withsimilaritymodelid boolean? - If true, similarityModelId is returned.
|
|
4588
2764
|
*/
|
|
4589
|
-
|
|
2765
|
+
get(params?: {
|
|
2766
|
+
withsimilaritymodelid?: boolean;
|
|
2767
|
+
}): Promise<Settings>;
|
|
4590
2768
|
/**
|
|
4591
|
-
*
|
|
2769
|
+
* Update configuration settings for this domain, e.g. which similarity model to use. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4592
2770
|
*
|
|
4593
|
-
* @param body
|
|
2771
|
+
* @param body Settings -
|
|
4594
2772
|
*/
|
|
4595
|
-
|
|
2773
|
+
patch(body: Settings): Promise<Settings>;
|
|
4596
2774
|
}
|
|
4597
2775
|
|
|
4598
2776
|
/**
|
|
4599
2777
|
* @author semantha
|
|
4600
2778
|
*
|
|
4601
|
-
* Class to access resource "/api/
|
|
2779
|
+
* Class to access resource "/api/domains/{domainname}/tags/{tagname}/referencedocuments"
|
|
4602
2780
|
* This is a generated file do not change manually!
|
|
4603
2781
|
*/
|
|
4604
|
-
declare class
|
|
2782
|
+
declare class TagReferencedocumentsEndpoint {
|
|
4605
2783
|
private readonly restClient;
|
|
4606
2784
|
private readonly parentEndpoint;
|
|
4607
2785
|
private readonly ENDPOINT;
|
|
4608
2786
|
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4609
2787
|
/**
|
|
4610
|
-
*
|
|
4611
|
-
*/
|
|
4612
|
-
get(): Promise<Relation[]>;
|
|
4613
|
-
/**
|
|
4614
|
-
* Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4615
|
-
*/
|
|
4616
|
-
delete(): Promise<RestResponse<void>>;
|
|
4617
|
-
/**
|
|
4618
|
-
* Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4619
|
-
*
|
|
4620
|
-
* @param body Relation? -
|
|
2788
|
+
* Get all reference documents with a specific tag
|
|
4621
2789
|
*/
|
|
4622
|
-
|
|
2790
|
+
get(): Promise<DocumentInformation[]>;
|
|
4623
2791
|
}
|
|
4624
2792
|
|
|
4625
2793
|
/**
|
|
4626
2794
|
* @author semantha
|
|
4627
2795
|
*
|
|
4628
|
-
* Class to access resource "/api/
|
|
2796
|
+
* Class to access resource "/api/domains/{domainname}/tags/{tagname}"
|
|
4629
2797
|
* This is a generated file do not change manually!
|
|
4630
2798
|
*/
|
|
4631
|
-
declare class
|
|
2799
|
+
declare class TagEndpoint {
|
|
4632
2800
|
private readonly restClient;
|
|
4633
2801
|
private readonly parentEndpoint;
|
|
4634
|
-
private readonly
|
|
2802
|
+
private readonly tagname;
|
|
4635
2803
|
private readonly ENDPOINT;
|
|
4636
|
-
constructor(restClient: RestClient, parentEndpoint: string,
|
|
4637
|
-
|
|
4638
|
-
* Read one entity.
|
|
4639
|
-
*/
|
|
4640
|
-
get(): Promise<Rule>;
|
|
4641
|
-
/**
|
|
4642
|
-
* Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4643
|
-
*/
|
|
4644
|
-
delete(): Promise<RestResponse<void>>;
|
|
4645
|
-
/**
|
|
4646
|
-
* Change one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4647
|
-
*
|
|
4648
|
-
* @param body Rule -
|
|
4649
|
-
*/
|
|
4650
|
-
put(body: Rule): Promise<Rule>;
|
|
2804
|
+
constructor(restClient: RestClient, parentEndpoint: string, tagname: string);
|
|
2805
|
+
referencedocuments(): TagReferencedocumentsEndpoint;
|
|
4651
2806
|
}
|
|
4652
2807
|
|
|
4653
2808
|
/**
|
|
4654
2809
|
* @author semantha
|
|
4655
2810
|
*
|
|
4656
|
-
* Class to access resource "/api/
|
|
2811
|
+
* Class to access resource "/api/domains/{domainname}/tags"
|
|
4657
2812
|
* This is a generated file do not change manually!
|
|
4658
2813
|
*/
|
|
4659
|
-
declare class
|
|
2814
|
+
declare class TagsEndpoint {
|
|
4660
2815
|
private readonly restClient;
|
|
4661
2816
|
private readonly parentEndpoint;
|
|
4662
2817
|
private readonly ENDPOINT;
|
|
4663
2818
|
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4664
2819
|
/**
|
|
4665
|
-
* Get
|
|
2820
|
+
* Get tags
|
|
4666
2821
|
*/
|
|
4667
|
-
get(): Promise<
|
|
2822
|
+
get(): Promise<string[]>;
|
|
4668
2823
|
}
|
|
4669
2824
|
|
|
4670
2825
|
/**
|
|
4671
2826
|
* @author semantha
|
|
4672
2827
|
*
|
|
4673
|
-
* Class to access resource "/api/
|
|
2828
|
+
* Class to access resource "/api/domains/{domainname}/texttypes"
|
|
4674
2829
|
* This is a generated file do not change manually!
|
|
4675
2830
|
*/
|
|
4676
|
-
declare class
|
|
2831
|
+
declare class TexttypesEndpoint {
|
|
4677
2832
|
private readonly restClient;
|
|
4678
2833
|
private readonly parentEndpoint;
|
|
4679
2834
|
private readonly ENDPOINT;
|
|
4680
2835
|
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4681
2836
|
/**
|
|
4682
|
-
*
|
|
2837
|
+
* Returns all available text types.
|
|
4683
2838
|
*/
|
|
4684
|
-
get(): Promise<
|
|
2839
|
+
get(): Promise<TextType[]>;
|
|
4685
2840
|
/**
|
|
4686
|
-
*
|
|
2841
|
+
* Resets changes made via PATCH calls. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4687
2842
|
*/
|
|
4688
2843
|
delete(): Promise<RestResponse<void>>;
|
|
4689
2844
|
/**
|
|
4690
|
-
*
|
|
2845
|
+
* Saves text types, order of elements determines display order. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4691
2846
|
*
|
|
4692
|
-
* @param body
|
|
2847
|
+
* @param body TextType[] -
|
|
4693
2848
|
*/
|
|
4694
|
-
|
|
2849
|
+
patch(body: TextType[]): Promise<void>;
|
|
4695
2850
|
}
|
|
4696
2851
|
|
|
4697
2852
|
/**
|
|
4698
2853
|
* @author semantha
|
|
4699
2854
|
*
|
|
4700
|
-
* Class to access resource "/api/
|
|
2855
|
+
* Class to access resource "/api/domains/{domainname}/translations"
|
|
4701
2856
|
* This is a generated file do not change manually!
|
|
4702
2857
|
*/
|
|
4703
|
-
declare class
|
|
2858
|
+
declare class TranslationsEndpoint {
|
|
4704
2859
|
private readonly restClient;
|
|
4705
2860
|
private readonly parentEndpoint;
|
|
4706
|
-
private readonly id;
|
|
4707
2861
|
private readonly ENDPOINT;
|
|
4708
|
-
constructor(restClient: RestClient, parentEndpoint: string
|
|
4709
|
-
/**
|
|
4710
|
-
* Read one entity.
|
|
4711
|
-
*/
|
|
4712
|
-
get(): Promise<Synonym>;
|
|
4713
|
-
/**
|
|
4714
|
-
* Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4715
|
-
*/
|
|
4716
|
-
delete(): Promise<RestResponse<void>>;
|
|
2862
|
+
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4717
2863
|
/**
|
|
4718
|
-
*
|
|
2864
|
+
* Translates a single text to a target language, optionally from a source language.
|
|
2865
|
+
* Supported Languages:
|
|
2866
|
+
* "ar", "cs", "da", "de", "en", "es", "el", "fr", "fi", "hu", "hr",
|
|
2867
|
+
* "it", "ja", "ko", "nl", "no", "pl", "pt", "ro", "ru", "sk", "sl",
|
|
2868
|
+
* "sv", "tr", "zh-CN", "zh-TW"
|
|
4719
2869
|
*
|
|
4720
|
-
* @param body
|
|
2870
|
+
* @param body Translation? -
|
|
4721
2871
|
*/
|
|
4722
|
-
|
|
2872
|
+
post(body?: Translation): Promise<TranslationResponse>;
|
|
4723
2873
|
}
|
|
4724
2874
|
|
|
4725
2875
|
/**
|
|
4726
2876
|
* @author semantha
|
|
4727
2877
|
*
|
|
4728
|
-
* Class to access resource "/api/
|
|
2878
|
+
* Class to access resource "/api/domains/{domainname}"
|
|
4729
2879
|
* This is a generated file do not change manually!
|
|
4730
2880
|
*/
|
|
4731
|
-
declare class
|
|
2881
|
+
declare class DomainEndpoint {
|
|
4732
2882
|
private readonly restClient;
|
|
4733
2883
|
private readonly parentEndpoint;
|
|
2884
|
+
private readonly domainname;
|
|
4734
2885
|
private readonly ENDPOINT;
|
|
4735
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
2886
|
+
constructor(restClient: RestClient, parentEndpoint: string, domainname: string);
|
|
2887
|
+
answers(): AnswersEndpoint;
|
|
2888
|
+
chats(): ChatsEndpoint;
|
|
2889
|
+
chats(id: string): ChatEndpoint;
|
|
2890
|
+
documentannotations(): DocumentannotationsEndpoint;
|
|
2891
|
+
documentclasses(): DocumentclassesEndpoint;
|
|
2892
|
+
documentclasses(id: string): DocumentclassEndpoint;
|
|
2893
|
+
documents(): DocumentsEndpoint;
|
|
2894
|
+
documenttypes(): DocumenttypesEndpoint;
|
|
2895
|
+
documenttypes(id: string): DocumenttypeEndpoint;
|
|
2896
|
+
mcptools(): McptoolsEndpoint;
|
|
2897
|
+
prompts(): PromptsEndpoint;
|
|
2898
|
+
prompts(id: string): PromptEndpoint;
|
|
2899
|
+
referencedocuments(): ReferencedocumentsEndpoint;
|
|
2900
|
+
referencedocuments(documentid: string): ReferencedocumentEndpoint;
|
|
2901
|
+
references(): ReferencesEndpoint;
|
|
2902
|
+
settings(): SettingsEndpoint;
|
|
2903
|
+
tags(): TagsEndpoint;
|
|
2904
|
+
tags(tagname: string): TagEndpoint;
|
|
2905
|
+
texttypes(): TexttypesEndpoint;
|
|
2906
|
+
translations(): TranslationsEndpoint;
|
|
4744
2907
|
/**
|
|
4745
|
-
*
|
|
4746
|
-
*
|
|
4747
|
-
* @param body Synonym? -
|
|
2908
|
+
* Get the configuration settings of a specific domain.
|
|
4748
2909
|
*/
|
|
4749
|
-
|
|
2910
|
+
get(): Promise<Domain>;
|
|
4750
2911
|
}
|
|
4751
2912
|
|
|
4752
2913
|
/**
|
|
4753
2914
|
* @author semantha
|
|
4754
2915
|
*
|
|
4755
|
-
* Class to access resource "/api/
|
|
2916
|
+
* Class to access resource "/api/domains"
|
|
4756
2917
|
* This is a generated file do not change manually!
|
|
4757
2918
|
*/
|
|
4758
|
-
declare class
|
|
2919
|
+
declare class DomainsEndpoint {
|
|
4759
2920
|
private readonly restClient;
|
|
4760
2921
|
private readonly parentEndpoint;
|
|
4761
|
-
private readonly id;
|
|
4762
2922
|
private readonly ENDPOINT;
|
|
4763
|
-
constructor(restClient: RestClient, parentEndpoint: string
|
|
4764
|
-
get(): Promise<Attribute>;
|
|
4765
|
-
delete(): Promise<RestResponse<void>>;
|
|
2923
|
+
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4766
2924
|
/**
|
|
4767
|
-
*
|
|
2925
|
+
* Returns a list of all accessable domains.
|
|
4768
2926
|
*/
|
|
4769
|
-
|
|
2927
|
+
get(): Promise<DomainInfo[]>;
|
|
4770
2928
|
}
|
|
4771
2929
|
|
|
4772
2930
|
/**
|
|
4773
2931
|
* @author semantha
|
|
4774
2932
|
*
|
|
4775
|
-
* Class to access resource "/api/
|
|
2933
|
+
* Class to access resource "/api/info"
|
|
4776
2934
|
* This is a generated file do not change manually!
|
|
4777
2935
|
*/
|
|
4778
|
-
declare class
|
|
2936
|
+
declare class InfoEndpoint {
|
|
4779
2937
|
private readonly restClient;
|
|
4780
2938
|
private readonly parentEndpoint;
|
|
4781
2939
|
private readonly ENDPOINT;
|
|
4782
2940
|
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4783
|
-
get(): Promise<Attribute[]>;
|
|
4784
|
-
delete(): Promise<RestResponse<void>>;
|
|
4785
2941
|
/**
|
|
4786
|
-
*
|
|
2942
|
+
* Returns API version information.
|
|
4787
2943
|
*/
|
|
4788
|
-
|
|
2944
|
+
get(): Promise<Info>;
|
|
4789
2945
|
}
|
|
4790
2946
|
|
|
4791
2947
|
/**
|
|
4792
2948
|
* @author semantha
|
|
4793
2949
|
*
|
|
4794
|
-
* Class to access resource "/api/model/domains/{domainname}/
|
|
2950
|
+
* Class to access resource "/api/model/domains/{domainname}/namedentities"
|
|
4795
2951
|
* This is a generated file do not change manually!
|
|
4796
2952
|
*/
|
|
4797
|
-
declare class
|
|
2953
|
+
declare class ModelNamedentitiesEndpoint {
|
|
4798
2954
|
private readonly restClient;
|
|
4799
2955
|
private readonly parentEndpoint;
|
|
4800
2956
|
private readonly ENDPOINT;
|
|
4801
2957
|
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4802
2958
|
/**
|
|
4803
|
-
*
|
|
2959
|
+
* Read all available entities.
|
|
4804
2960
|
*/
|
|
4805
|
-
get(): Promise<
|
|
2961
|
+
get(): Promise<NamedEntity[]>;
|
|
4806
2962
|
/**
|
|
4807
|
-
* Delete all
|
|
2963
|
+
* Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4808
2964
|
*/
|
|
4809
2965
|
delete(): Promise<RestResponse<void>>;
|
|
4810
|
-
}
|
|
4811
|
-
|
|
4812
|
-
/**
|
|
4813
|
-
* @author semantha
|
|
4814
|
-
*
|
|
4815
|
-
* Class to access resource "/api/model/domains/{domainname}/classes/{classid}"
|
|
4816
|
-
* This is a generated file do not change manually!
|
|
4817
|
-
*/
|
|
4818
|
-
declare class ModelontClassEndpoint {
|
|
4819
|
-
private readonly restClient;
|
|
4820
|
-
private readonly parentEndpoint;
|
|
4821
|
-
private readonly classid;
|
|
4822
|
-
private readonly ENDPOINT;
|
|
4823
|
-
constructor(restClient: RestClient, parentEndpoint: string, classid: string);
|
|
4824
|
-
attributes(): ModelontAttributesEndpoint;
|
|
4825
|
-
attributes(id: string): ModelontAttributeEndpoint;
|
|
4826
|
-
instances(): ModelontclassInstancesEndpoint;
|
|
4827
|
-
get(): Promise<Class>;
|
|
4828
|
-
delete(): Promise<RestResponse<void>>;
|
|
4829
2966
|
/**
|
|
4830
|
-
*
|
|
2967
|
+
* Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
2968
|
+
*
|
|
2969
|
+
* @param body NamedEntity? -
|
|
4831
2970
|
*/
|
|
4832
|
-
|
|
2971
|
+
post(body?: NamedEntity): Promise<NamedEntity>;
|
|
4833
2972
|
}
|
|
4834
2973
|
|
|
4835
2974
|
/**
|
|
4836
2975
|
* @author semantha
|
|
4837
2976
|
*
|
|
4838
|
-
* Class to access resource "/api/model/domains/{domainname}/
|
|
2977
|
+
* Class to access resource "/api/model/domains/{domainname}/namedentities/{id}"
|
|
4839
2978
|
* This is a generated file do not change manually!
|
|
4840
2979
|
*/
|
|
4841
|
-
declare class
|
|
2980
|
+
declare class ModelNamedentityEndpoint {
|
|
4842
2981
|
private readonly restClient;
|
|
4843
2982
|
private readonly parentEndpoint;
|
|
2983
|
+
private readonly id;
|
|
4844
2984
|
private readonly ENDPOINT;
|
|
4845
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
2985
|
+
constructor(restClient: RestClient, parentEndpoint: string, id: string);
|
|
4846
2986
|
/**
|
|
4847
|
-
*
|
|
4848
|
-
*
|
|
4849
|
-
* @param withattributes boolean? - Select if the classes are delivered with attributes
|
|
4850
|
-
* @param withobjectproperties boolean? - Select if the classes are delivered with object properties
|
|
2987
|
+
* Read one entity.
|
|
4851
2988
|
*/
|
|
4852
|
-
get(
|
|
4853
|
-
withattributes?: boolean;
|
|
4854
|
-
withobjectproperties?: boolean;
|
|
4855
|
-
}): Promise<ClassesOverview[]>;
|
|
2989
|
+
get(): Promise<NamedEntity>;
|
|
4856
2990
|
/**
|
|
4857
|
-
* Delete
|
|
2991
|
+
* Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4858
2992
|
*/
|
|
4859
2993
|
delete(): Promise<RestResponse<void>>;
|
|
4860
2994
|
/**
|
|
4861
|
-
*
|
|
2995
|
+
* Change one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4862
2996
|
*
|
|
4863
|
-
* @param body
|
|
2997
|
+
* @param body NamedEntity -
|
|
4864
2998
|
*/
|
|
4865
|
-
|
|
2999
|
+
put(body: NamedEntity): Promise<NamedEntity>;
|
|
4866
3000
|
}
|
|
4867
3001
|
|
|
4868
3002
|
/**
|
|
4869
3003
|
* @author semantha
|
|
4870
3004
|
*
|
|
4871
|
-
* Class to access resource "/api/model/domains/{domainname}/
|
|
3005
|
+
* Class to access resource "/api/model/domains/{domainname}/synonyms/{id}"
|
|
4872
3006
|
* This is a generated file do not change manually!
|
|
4873
3007
|
*/
|
|
4874
|
-
declare class
|
|
3008
|
+
declare class ModelSynonymEndpoint {
|
|
4875
3009
|
private readonly restClient;
|
|
4876
3010
|
private readonly parentEndpoint;
|
|
4877
3011
|
private readonly id;
|
|
@@ -4880,7 +3014,7 @@ declare class ModelontInstanceEndpoint {
|
|
|
4880
3014
|
/**
|
|
4881
3015
|
* Read one entity.
|
|
4882
3016
|
*/
|
|
4883
|
-
get(): Promise<
|
|
3017
|
+
get(): Promise<Synonym>;
|
|
4884
3018
|
/**
|
|
4885
3019
|
* Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4886
3020
|
*/
|
|
@@ -4888,18 +3022,18 @@ declare class ModelontInstanceEndpoint {
|
|
|
4888
3022
|
/**
|
|
4889
3023
|
* Change one entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4890
3024
|
*
|
|
4891
|
-
* @param body
|
|
3025
|
+
* @param body Synonym -
|
|
4892
3026
|
*/
|
|
4893
|
-
put(body:
|
|
3027
|
+
put(body: Synonym): Promise<Synonym>;
|
|
4894
3028
|
}
|
|
4895
3029
|
|
|
4896
3030
|
/**
|
|
4897
3031
|
* @author semantha
|
|
4898
3032
|
*
|
|
4899
|
-
* Class to access resource "/api/model/domains/{domainname}/
|
|
3033
|
+
* Class to access resource "/api/model/domains/{domainname}/synonyms"
|
|
4900
3034
|
* This is a generated file do not change manually!
|
|
4901
3035
|
*/
|
|
4902
|
-
declare class
|
|
3036
|
+
declare class ModelSynonymsEndpoint {
|
|
4903
3037
|
private readonly restClient;
|
|
4904
3038
|
private readonly parentEndpoint;
|
|
4905
3039
|
private readonly ENDPOINT;
|
|
@@ -4907,27 +3041,17 @@ declare class ModelontInstancesEndpoint {
|
|
|
4907
3041
|
/**
|
|
4908
3042
|
* Read all available entities.
|
|
4909
3043
|
*/
|
|
4910
|
-
get(): Promise<
|
|
4911
|
-
/**
|
|
4912
|
-
* Read all available entities.
|
|
4913
|
-
*/
|
|
4914
|
-
getAsXlsx(): Promise<Blob>;
|
|
3044
|
+
get(): Promise<Synonym[]>;
|
|
4915
3045
|
/**
|
|
4916
3046
|
* Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4917
3047
|
*/
|
|
4918
3048
|
delete(): Promise<RestResponse<void>>;
|
|
4919
|
-
/**
|
|
4920
|
-
* Update all instances
|
|
4921
|
-
*
|
|
4922
|
-
* @param file Blob - Input document (left document).
|
|
4923
|
-
*/
|
|
4924
|
-
patch(file: Blob): Promise<void>;
|
|
4925
3049
|
/**
|
|
4926
3050
|
* Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'
|
|
4927
3051
|
*
|
|
4928
|
-
* @param body
|
|
3052
|
+
* @param body Synonym? -
|
|
4929
3053
|
*/
|
|
4930
|
-
post(body?:
|
|
3054
|
+
post(body?: Synonym): Promise<Synonym>;
|
|
4931
3055
|
}
|
|
4932
3056
|
|
|
4933
3057
|
/**
|
|
@@ -4942,41 +3066,10 @@ declare class ModelDomainEndpoint {
|
|
|
4942
3066
|
private readonly domainname;
|
|
4943
3067
|
private readonly ENDPOINT;
|
|
4944
3068
|
constructor(restClient: RestClient, parentEndpoint: string, domainname: string);
|
|
4945
|
-
attributes(): ModelAttributesEndpoint;
|
|
4946
|
-
classes(): ModelontClassesEndpoint;
|
|
4947
|
-
classes(classid: string): ModelontClassEndpoint;
|
|
4948
|
-
dataproperties(): ModelDatapropertiesEndpoint;
|
|
4949
|
-
dataproperties(id: string): ModelDatapropertyEndpoint;
|
|
4950
|
-
extractorclasses(): ModelExtractorclassesEndpoint;
|
|
4951
|
-
extractorclasses(id: string): ModelExtractorclassEndpoint;
|
|
4952
|
-
extractors(): ModelExtractorsEndpoint;
|
|
4953
|
-
formatters(): ModelFormattersEndpoint;
|
|
4954
|
-
instances(): ModelontInstancesEndpoint;
|
|
4955
|
-
instances(id: string): ModelontInstanceEndpoint;
|
|
4956
|
-
metadata(): ModelMetadataEndpoint;
|
|
4957
|
-
metadata(id: string): ModelOnemetadataEndpoint;
|
|
4958
3069
|
namedentities(): ModelNamedentitiesEndpoint;
|
|
4959
3070
|
namedentities(id: string): ModelNamedentityEndpoint;
|
|
4960
|
-
objectproperties(): ModelObjectpropertiesEndpoint;
|
|
4961
|
-
regexes(): ModelRegexesEndpoint;
|
|
4962
|
-
regexes(id: string): ModelRegexEndpoint;
|
|
4963
|
-
relations(): ModelRelationsEndpoint;
|
|
4964
|
-
relations(id: string): ModelRelationEndpoint;
|
|
4965
|
-
rulefunctions(): ModelRulefunctionsEndpoint;
|
|
4966
|
-
rules(): ModelRulesEndpoint;
|
|
4967
|
-
rules(id: string): ModelRuleEndpoint;
|
|
4968
3071
|
synonyms(): ModelSynonymsEndpoint;
|
|
4969
3072
|
synonyms(id: string): ModelSynonymEndpoint;
|
|
4970
|
-
/**
|
|
4971
|
-
* Get a domain by domainname
|
|
4972
|
-
*/
|
|
4973
|
-
getAsXlsx(): Promise<Blob>;
|
|
4974
|
-
/**
|
|
4975
|
-
* Update a domain by domainname
|
|
4976
|
-
*
|
|
4977
|
-
* @param file Blob - Input document (left document).
|
|
4978
|
-
*/
|
|
4979
|
-
patch(file: Blob): Promise<Blob>;
|
|
4980
3073
|
}
|
|
4981
3074
|
|
|
4982
3075
|
/**
|
|
@@ -4992,40 +3085,6 @@ declare class ModelDomainsEndpoint {
|
|
|
4992
3085
|
constructor(restClient: RestClient, parentEndpoint: string);
|
|
4993
3086
|
}
|
|
4994
3087
|
|
|
4995
|
-
/**
|
|
4996
|
-
* @author semantha
|
|
4997
|
-
*
|
|
4998
|
-
* Class to access resource "/api/model/extractortypes"
|
|
4999
|
-
* This is a generated file do not change manually!
|
|
5000
|
-
*/
|
|
5001
|
-
declare class ModelExtractortypesEndpoint {
|
|
5002
|
-
private readonly restClient;
|
|
5003
|
-
private readonly parentEndpoint;
|
|
5004
|
-
private readonly ENDPOINT;
|
|
5005
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
5006
|
-
/**
|
|
5007
|
-
* Get all extractortypes
|
|
5008
|
-
*/
|
|
5009
|
-
get(): Promise<string[]>;
|
|
5010
|
-
}
|
|
5011
|
-
|
|
5012
|
-
/**
|
|
5013
|
-
* @author semantha
|
|
5014
|
-
*
|
|
5015
|
-
* Class to access resource "/api/model/metadatatypes"
|
|
5016
|
-
* This is a generated file do not change manually!
|
|
5017
|
-
*/
|
|
5018
|
-
declare class ModelMetadatatypesEndpoint {
|
|
5019
|
-
private readonly restClient;
|
|
5020
|
-
private readonly parentEndpoint;
|
|
5021
|
-
private readonly ENDPOINT;
|
|
5022
|
-
constructor(restClient: RestClient, parentEndpoint: string);
|
|
5023
|
-
/**
|
|
5024
|
-
* Get all metadatatypes
|
|
5025
|
-
*/
|
|
5026
|
-
get(): Promise<string[]>;
|
|
5027
|
-
}
|
|
5028
|
-
|
|
5029
3088
|
/**
|
|
5030
3089
|
* @author semantha
|
|
5031
3090
|
*
|
|
@@ -5037,18 +3096,15 @@ declare class ModelEndpoint {
|
|
|
5037
3096
|
private readonly parentEndpoint;
|
|
5038
3097
|
private readonly ENDPOINT;
|
|
5039
3098
|
constructor(restClient: RestClient, parentEndpoint: string);
|
|
5040
|
-
datatypes(): ModelDatatypesEndpoint;
|
|
5041
3099
|
domains(): ModelDomainsEndpoint;
|
|
5042
3100
|
domains(domainname: string): ModelDomainEndpoint;
|
|
5043
|
-
extractortypes(): ModelExtractortypesEndpoint;
|
|
5044
|
-
metadatatypes(): ModelMetadatatypesEndpoint;
|
|
5045
3101
|
}
|
|
5046
3102
|
|
|
5047
3103
|
/**
|
|
5048
3104
|
* Entry point to the Semantha API.
|
|
5049
3105
|
*
|
|
5050
3106
|
* @author semantha
|
|
5051
|
-
* Calls the /bulk, /celltypes, /conversions, /currentuser, /
|
|
3107
|
+
* Calls the /bulk, /celltypes, /conversions, /currentuser, /domains, /domains, /info, /model, endpoints.
|
|
5052
3108
|
*
|
|
5053
3109
|
* Note:
|
|
5054
3110
|
* The constructor is not meant to be invoked directly
|
|
@@ -5103,12 +3159,10 @@ declare class SemanthaAPI {
|
|
|
5103
3159
|
celltypes(): CelltypesEndpoint;
|
|
5104
3160
|
conversions(): ConversionsEndpoint;
|
|
5105
3161
|
currentuser(): CurrentuserEndpoint;
|
|
5106
|
-
diff(): DiffEndpoint;
|
|
5107
3162
|
domains(): DomainsEndpoint;
|
|
5108
3163
|
domains(domainname: string): DomainEndpoint;
|
|
5109
3164
|
info(): InfoEndpoint;
|
|
5110
|
-
languages(): LanguagesEndpoint;
|
|
5111
3165
|
model(): ModelEndpoint;
|
|
5112
3166
|
}
|
|
5113
3167
|
|
|
5114
|
-
export { type AnnotationCell, type AnnotationPage, type Answer, type AnswerReference, AnswersEndpoint, type Area, type
|
|
3168
|
+
export { type AnnotationCell, type AnnotationPage, type Answer, type AnswerReference, AnswersEndpoint, type Area, type Attachment, BulkDomainsEndpoint, BulkEndpoint, BulkModelEndpoint, BulkdomainsDocumentclassesEndpoint, BulkdomainsDocumenttypesEndpoint, BulkdomainsDomainEndpoint, BulkdomainsReferencedocumentsEndpoint, BulkdomainsReferencesEndpoint, BulkmodelDomainEndpoint, BulkmodelDomainsEndpoint, BulkmodelNamedentitiesEndpoint, BulkmodelSynonymsEndpoint, type CellType, CelltypesEndpoint, type Char, type Chat, type ChatConversation, ChatEndpoint, type ChatResponse, ChatsEndpoint, CloneEndpoint, ConversationEndpoint, ConversationsEndpoint, ConversionsEndpoint, type CurrentUser, CurrentuserEndpoint, type CustomField, type Distance, DocclassCustomfieldsEndpoint, DocclassDocumentclassesEndpoint, DocclassReferencedocumentsEndpoint, DocclassTagsEndpoint, type Document, type DocumentClass, type DocumentClassBulk, type DocumentClassNode, type DocumentInformation, type DocumentMetaData, type DocumentNamedEntity, type DocumentTable, type DocumentType, type DocumentTypeChange, type DocumentTypeConfig, DocumentannotationsEndpoint, DocumentclassEndpoint, DocumentclassesEndpoint, DocumentsEndpoint, DocumenttypeEndpoint, DocumenttypesEndpoint, type Domain, DomainEndpoint, type DomainInfo, DomainsEndpoint, type Entity, type ErrorContainer, type ErrorField, type ErrorFieldCodeEnum, ErrorFieldCodeEnumValues, type Features, type FormatInformation, ImageEndpoint, ImagesEndpoint, type Info, InfoEndpoint, type Link, MarkdownEndpoint, type McpApprovalDecision, type McpApprovalRequest, type McpCapability, type McpServerRequest, type McpToolDescriptor, type McpToolDescriptorAuthEnum, McpToolDescriptorAuthEnumValues, McptoolsEndpoint, MediaType, type Message, type MessageResponse, type MessageResponseRoleEnum, MessageResponseRoleEnumValues, type MessageResponseTypeEnum, MessageResponseTypeEnumValues, type MessageRoleEnum, MessageRoleEnumValues, type MetaInfoPage, type ModeEnum, ModeEnumValues, ModelDomainEndpoint, ModelDomainsEndpoint, ModelEndpoint, ModelNamedentitiesEndpoint, ModelNamedentityEndpoint, ModelSynonymEndpoint, ModelSynonymsEndpoint, type Name, type NamedEntity, type Page, type PageContent, type Paragraph, ParagraphEndpoint, type ParagraphPreview, type ParagraphUpdate, ParagraphsEndpoint, type Prompt, PromptEndpoint, type PromptExecution, type PromptLabelEnum, PromptLabelEnumValues, type PromptOverview, type PromptOverviewPromptLabelEnum, PromptOverviewPromptLabelEnumValues, type PromptPromptLabelEnum, PromptPromptLabelEnumValues, type PromptResponse, PromptValidationEndpoint, type PromptValidationRequest, type PromptValidationResponse, type PromptValidationResult, type PromptValidationTemplate, PromptsEndpoint, type Rect, type Reference, type ReferenceDocumentsResponseContainer, ReferencedocumentEndpoint, ReferencedocumentsEndpoint, ReferencedocumentsStreamEndpoint, ReferencesEndpoint, type ResponseMetaInfo, RestClient, RestResponse, type Row, SemanthaAPI, type Sentence, SentenceEndpoint, SentencesEndpoint, ServerSentEvent, type Settings, type SettingsDefaultSimilarityModeEnum, SettingsDefaultSimilarityModeEnumValues, SettingsEndpoint, SseEndpoint, type Statistic, StatisticEndpoint, type Synonym, type TableCell, type TagDocs, TagEndpoint, TagReferencedocumentsEndpoint, TagsEndpoint, type TextType, TexttypesEndpoint, type Translation, type TranslationResponse, TranslationsEndpoint, TreeEndpoint, type TypeEnum, TypeEnumValues, isErrorFieldCodeEnumValue, isMcpToolDescriptorAuthEnumValue, isMessageResponseRoleEnumValue, isMessageResponseTypeEnumValue, isMessageRoleEnumValue, isModeEnumValue, isPromptLabelEnumValue, isPromptOverviewPromptLabelEnumValue, isPromptPromptLabelEnumValue, isSettingsDefaultSimilarityModeEnumValue, isTypeEnumValue, parseServerSentEvents };
|