@semantha/sdk 11.8.0 → 11.9.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 CHANGED
@@ -213,19 +213,6 @@ declare const AttributeOverviewDatatypeEnumValues: readonly ["STRING", "CURRENCY
213
213
  type AttributeOverviewDatatypeEnum = (typeof AttributeOverviewDatatypeEnumValues)[number];
214
214
  declare function isAttributeOverviewDatatypeEnumValue(value: any): value is AttributeOverviewDatatypeEnum;
215
215
 
216
- /**
217
- * @author semantha
218
- *
219
- * This is a generated file do not change manually!
220
- */
221
- interface BoostWord {
222
- id?: string;
223
- word?: string;
224
- regex?: string;
225
- tags?: string[];
226
- label?: string;
227
- }
228
-
229
216
  /**
230
217
  * @author semantha
231
218
  *
@@ -268,6 +255,10 @@ interface McpServerRequest {
268
255
  interface Message {
269
256
  role?: MessageRoleEnum;
270
257
  content?: string;
258
+ metadata?: {
259
+ [key: string]: any;
260
+ };
261
+ context?: string;
271
262
  }
272
263
 
273
264
  /**
@@ -297,13 +288,26 @@ interface ChatConversation {
297
288
  lastUsedAt?: number;
298
289
  }
299
290
 
291
+ /**
292
+ * @author semantha
293
+ *
294
+ * This is a generated file do not change manually!
295
+ */
296
+ interface MessageResponse {
297
+ role?: MessageResponseRoleEnum;
298
+ content?: string;
299
+ metadata?: {
300
+ [key: string]: any;
301
+ };
302
+ }
303
+
300
304
  /**
301
305
  * @author semantha
302
306
  *
303
307
  * This is a generated file do not change manually!
304
308
  */
305
309
  interface ChatResponse {
306
- messages?: Message[];
310
+ messages?: MessageResponse[];
307
311
  conversationId?: string;
308
312
  }
309
313
 
@@ -1244,6 +1248,15 @@ declare const McpToolDescriptorAuthEnumValues: readonly ["REQUIRED", "OPTIONAL",
1244
1248
  type McpToolDescriptorAuthEnum = (typeof McpToolDescriptorAuthEnumValues)[number];
1245
1249
  declare function isMcpToolDescriptorAuthEnumValue(value: any): value is McpToolDescriptorAuthEnum;
1246
1250
 
1251
+ /**
1252
+ * @author semantha
1253
+ *
1254
+ * This is a generated file do not change manually!
1255
+ */
1256
+ declare const MessageResponseRoleEnumValues: readonly ["USER", "ASSISTANT", "SYSTEM"];
1257
+ type MessageResponseRoleEnum = (typeof MessageResponseRoleEnumValues)[number];
1258
+ declare function isMessageResponseRoleEnumValue(value: any): value is MessageResponseRoleEnum;
1259
+
1247
1260
  /**
1248
1261
  * @author semantha
1249
1262
  *
@@ -1694,17 +1707,6 @@ interface Statistic {
1694
1707
  docsPerTag?: TagDocs[];
1695
1708
  }
1696
1709
 
1697
- /**
1698
- * @author semantha
1699
- *
1700
- * This is a generated file do not change manually!
1701
- */
1702
- interface StopWord {
1703
- word: string;
1704
- id?: string;
1705
- standard?: boolean;
1706
- }
1707
-
1708
1710
  /**
1709
1711
  * @author semantha
1710
1712
  *
@@ -1788,6 +1790,27 @@ declare class RestResponse<T> {
1788
1790
  getStatusCode(): Promise<number>;
1789
1791
  getStatusText(): Promise<string>;
1790
1792
  }
1793
+ /**
1794
+ * A single Server-Sent Event as emitted by a `text/event-stream` response,
1795
+ * parsed according to the WHATWG event stream format.
1796
+ */
1797
+ declare class ServerSentEvent {
1798
+ readonly event: string | undefined;
1799
+ readonly data: string;
1800
+ readonly id?: string | undefined;
1801
+ readonly retry?: number | undefined;
1802
+ constructor(event: string | undefined, data: string, id?: string | undefined, retry?: number | undefined);
1803
+ /**
1804
+ * The `data` payload parsed as JSON.
1805
+ */
1806
+ json<T = unknown>(): T;
1807
+ }
1808
+ /**
1809
+ * Turns the raw byte stream of a `text/event-stream` response into an async
1810
+ * iterable of {@link ServerSentEvent}s, yielding each event as soon as it has
1811
+ * been fully received.
1812
+ */
1813
+ declare function parseServerSentEvents(body: ReadableStream<Uint8Array>): AsyncIterable<ServerSentEvent>;
1791
1814
 
1792
1815
  declare enum MediaType {
1793
1816
  JSON = "application/json",
@@ -1798,7 +1821,8 @@ declare enum MediaType {
1798
1821
  REQIFZ = "application/reqifz",
1799
1822
  PNG = "image/png",
1800
1823
  BINARY = "application/octet-stream",
1801
- TEXT_PLAIN = "text/plain"
1824
+ TEXT_PLAIN = "text/plain",
1825
+ EVENT_STREAM = "text/event-stream"
1802
1826
  }
1803
1827
  declare class RestClient {
1804
1828
  private readonly serverUrl;
@@ -1826,6 +1850,12 @@ declare class RestClient {
1826
1850
  post<R>(url: string, params?: any, headers?: {
1827
1851
  [key: string]: string;
1828
1852
  }, data?: any, responseType?: ResponseType): Promise<RestResponse<R>>;
1853
+ postEventStream(url: string, params?: {
1854
+ [key: string]: any;
1855
+ }, headers?: {
1856
+ [key: string]: string;
1857
+ }, data?: any): Promise<AsyncIterable<ServerSentEvent>>;
1858
+ private toQueryString;
1829
1859
  delete(url: string, data?: any, params?: any, headers?: {
1830
1860
  [key: string]: string;
1831
1861
  }): Promise<RestResponse<void>>;
@@ -1893,26 +1923,6 @@ declare class BulkDomainsEndpoint {
1893
1923
  constructor(restClient: RestClient, parentEndpoint: string);
1894
1924
  }
1895
1925
 
1896
- /**
1897
- * @author semantha
1898
- *
1899
- * Class to access resource "/api/bulk/model/domains/{domainname}/boostwords"
1900
- * This is a generated file do not change manually!
1901
- */
1902
- declare class BulkmodelBoostwordsEndpoint {
1903
- private readonly restClient;
1904
- private readonly parentEndpoint;
1905
- private readonly ENDPOINT;
1906
- constructor(restClient: RestClient, parentEndpoint: string);
1907
- /**
1908
- * Create one or more boostwords
1909
- * This is the quiet version of 'post /api/domains/{domainname}/boostwords'
1910
- *
1911
- * @param body BoostWord[]? -
1912
- */
1913
- post(body?: BoostWord[]): Promise<void>;
1914
- }
1915
-
1916
1926
  /**
1917
1927
  * @author semantha
1918
1928
  *
@@ -2091,25 +2101,6 @@ declare class BulkmodelRulesEndpoint {
2091
2101
  post(body?: Rule[]): Promise<void>;
2092
2102
  }
2093
2103
 
2094
- /**
2095
- * @author semantha
2096
- *
2097
- * Class to access resource "/api/bulk/model/domains/{domainname}/stopwords"
2098
- * This is a generated file do not change manually!
2099
- */
2100
- declare class BulkmodelStopwordsEndpoint {
2101
- private readonly restClient;
2102
- private readonly parentEndpoint;
2103
- private readonly ENDPOINT;
2104
- constructor(restClient: RestClient, parentEndpoint: string);
2105
- /**
2106
- * Add a list of stop words to your domain
2107
- *
2108
- * @param body StopWord[]? -
2109
- */
2110
- post(body?: StopWord[]): Promise<void>;
2111
- }
2112
-
2113
2104
  /**
2114
2105
  * @author semantha
2115
2106
  *
@@ -2142,7 +2133,6 @@ declare class BulkmodelDomainEndpoint {
2142
2133
  private readonly domainname;
2143
2134
  private readonly ENDPOINT;
2144
2135
  constructor(restClient: RestClient, parentEndpoint: string, domainname: string);
2145
- boostwords(): BulkmodelBoostwordsEndpoint;
2146
2136
  classes(): BulkmodelClassesEndpoint;
2147
2137
  classes(classid: string): BulkmodelClassEndpoint;
2148
2138
  dataproperties(): BulkmodelDatapropertiesEndpoint;
@@ -2150,7 +2140,6 @@ declare class BulkmodelDomainEndpoint {
2150
2140
  metadata(): BulkmodelMetadataEndpoint;
2151
2141
  namedentities(): BulkmodelNamedentitiesEndpoint;
2152
2142
  rules(): BulkmodelRulesEndpoint;
2153
- stopwords(): BulkmodelStopwordsEndpoint;
2154
2143
  synonyms(): BulkmodelSynonymsEndpoint;
2155
2144
  }
2156
2145
 
@@ -2380,6 +2369,28 @@ declare class CelltypesEndpoint {
2380
2369
  get(): Promise<CellType[]>;
2381
2370
  }
2382
2371
 
2372
+ /**
2373
+ * @author semantha
2374
+ *
2375
+ * Class to access resource "/api/domains/{domainname}/chats/{id}/sse"
2376
+ * This is a generated file do not change manually!
2377
+ */
2378
+ declare class SseEndpoint {
2379
+ private readonly restClient;
2380
+ private readonly parentEndpoint;
2381
+ private readonly ENDPOINT;
2382
+ constructor(restClient: RestClient, parentEndpoint: string);
2383
+ /**
2384
+ * Stream a chat response via Server-Sent Events
2385
+ * Streaming variant of the chat endpoint with identical semantics (same {id} prompt-variant selection, request body, and Polarion header credentials). The response is a text/event-stream: an 'event: delta' per output-text chunk (data: {"content":"..."}), a terminal 'event: done' carrying the conversationId (data: {"conversationId":"..."}), and 'event: error' (data: {"message":"..."}) if generation fails after the stream has started. Requires a generative model that supports streaming (the stateful Responses backend).
2386
+ *
2387
+ * @param body Chat? -
2388
+ * @param xPolarionAccessToken string? - Polarion personal access token; must be provided together with the base url header. Takes precedence over the deprecated ChatDTO body fields.
2389
+ * @param xPolarionBaseUrl string? - Base url of the Polarion instance to validate the token against.
2390
+ */
2391
+ postAsEventStream(body?: Chat, xPolarionAccessToken?: string, xPolarionBaseUrl?: string): Promise<AsyncIterable<ServerSentEvent>>;
2392
+ }
2393
+
2383
2394
  /**
2384
2395
  * @author semantha
2385
2396
  *
@@ -2392,6 +2403,7 @@ declare class ChatEndpoint {
2392
2403
  private readonly id;
2393
2404
  private readonly ENDPOINT;
2394
2405
  constructor(restClient: RestClient, parentEndpoint: string, id: string);
2406
+ sse(): SseEndpoint;
2395
2407
  /**
2396
2408
  * Chat with the generative model
2397
2409
  * The chat endpoint allows you to interact with the generative model in a conversational manner. The path {id} selects the chat variant: pass '00000000-0000-0000-0000-000000000001' for document QA (attributes required) or '00000000-0000-0000-0000-000000000002' for MCP-augmented chat (attributes optional). Other values are treated as legacy and fall back to document QA. Callers that authenticate via Polarion pass their credentials in the X-Polarion-Access-Token and X-Polarion-Base-Url headers (same contract as the conversation GET endpoints). MCP servers are attached per request via the ChatDTO mcpServers entries (label plus optional authToken and tools subset).
@@ -2423,6 +2435,14 @@ declare class ConversationEndpoint {
2423
2435
  * @param xPolarionBaseUrl string? - Base url of the Polarion instance to validate the token against.
2424
2436
  */
2425
2437
  get(xPolarionAccessToken?: string, xPolarionBaseUrl?: string): Promise<ChatResponse>;
2438
+ /**
2439
+ * Delete a chat conversation
2440
+ * Deletes the conversation identified by the conversationId that was returned from the chat endpoint and removes it from the caller's conversation list. Returns 204 No Content. The delete is idempotent: deleting a conversation the platform no longer knows (already deleted, expired, or an id that never existed for this caller) also returns 204. A conversation owned by a different user returns 403 - only the owner may delete it. Callers that authenticate via Polarion pass their credentials in the X-Polarion-Access-Token and X-Polarion-Base-Url headers; other callers are identified by their security context.
2441
+ *
2442
+ * @param xPolarionAccessToken string? - Polarion personal access token; must be provided together with the base url header.
2443
+ * @param xPolarionBaseUrl string? - Base url of the Polarion instance to validate the token against.
2444
+ */
2445
+ delete(xPolarionAccessToken?: string, xPolarionBaseUrl?: string): Promise<RestResponse<void>>;
2426
2446
  }
2427
2447
 
2428
2448
  /**
@@ -4219,61 +4239,6 @@ declare class ModelAttributesEndpoint {
4219
4239
  get(): Promise<AttributeOverview[]>;
4220
4240
  }
4221
4241
 
4222
- /**
4223
- * @author semantha
4224
- *
4225
- * Class to access resource "/api/model/domains/{domainname}/boostwords/{id}"
4226
- * This is a generated file do not change manually!
4227
- */
4228
- declare class ModelBoostwordEndpoint {
4229
- private readonly restClient;
4230
- private readonly parentEndpoint;
4231
- private readonly id;
4232
- private readonly ENDPOINT;
4233
- constructor(restClient: RestClient, parentEndpoint: string, id: string);
4234
- /**
4235
- * Read one entity.
4236
- */
4237
- get(): Promise<BoostWord>;
4238
- /**
4239
- * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'
4240
- */
4241
- delete(): Promise<RestResponse<void>>;
4242
- /**
4243
- * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'
4244
- *
4245
- * @param body BoostWord -
4246
- */
4247
- put(body: BoostWord): Promise<BoostWord>;
4248
- }
4249
-
4250
- /**
4251
- * @author semantha
4252
- *
4253
- * Class to access resource "/api/model/domains/{domainname}/boostwords"
4254
- * This is a generated file do not change manually!
4255
- */
4256
- declare class ModelBoostwordsEndpoint {
4257
- private readonly restClient;
4258
- private readonly parentEndpoint;
4259
- private readonly ENDPOINT;
4260
- constructor(restClient: RestClient, parentEndpoint: string);
4261
- /**
4262
- * Read all available entities.
4263
- */
4264
- get(): Promise<BoostWord[]>;
4265
- /**
4266
- * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'
4267
- */
4268
- delete(): Promise<RestResponse<void>>;
4269
- /**
4270
- * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'
4271
- *
4272
- * @param body BoostWord? -
4273
- */
4274
- post(body?: BoostWord): Promise<BoostWord>;
4275
- }
4276
-
4277
4242
  /**
4278
4243
  * @author semantha
4279
4244
  *
@@ -4732,65 +4697,6 @@ declare class ModelRulesEndpoint {
4732
4697
  post(body?: Rule): Promise<Rule>;
4733
4698
  }
4734
4699
 
4735
- /**
4736
- * @author semantha
4737
- *
4738
- * Class to access resource "/api/model/domains/{domainname}/stopwords/{id}"
4739
- * This is a generated file do not change manually!
4740
- */
4741
- declare class ModelStopwordEndpoint {
4742
- private readonly restClient;
4743
- private readonly parentEndpoint;
4744
- private readonly id;
4745
- private readonly ENDPOINT;
4746
- constructor(restClient: RestClient, parentEndpoint: string, id: string);
4747
- /**
4748
- * Get a stop word by id
4749
- */
4750
- get(): Promise<StopWord>;
4751
- /**
4752
- * Delete a stop word by id
4753
- */
4754
- delete(): Promise<RestResponse<void>>;
4755
- /**
4756
- * Update a stop word by id
4757
- *
4758
- * @param body StopWord -
4759
- */
4760
- put(body: StopWord): Promise<StopWord>;
4761
- }
4762
-
4763
- /**
4764
- * @author semantha
4765
- *
4766
- * Class to access resource "/api/model/domains/{domainname}/stopwords"
4767
- * This is a generated file do not change manually!
4768
- */
4769
- declare class ModelStopwordsEndpoint {
4770
- private readonly restClient;
4771
- private readonly parentEndpoint;
4772
- private readonly ENDPOINT;
4773
- constructor(restClient: RestClient, parentEndpoint: string);
4774
- /**
4775
- * Get all stop words
4776
- */
4777
- get(): Promise<StopWord[]>;
4778
- /**
4779
- * Delete all stop words
4780
- *
4781
- * @param params.restorestandardstopwords boolean? -
4782
- */
4783
- delete(params?: {
4784
- restorestandardstopwords?: boolean;
4785
- }): Promise<RestResponse<void>>;
4786
- /**
4787
- * Create a stop word
4788
- *
4789
- * @param body StopWord? -
4790
- */
4791
- post(body?: StopWord): Promise<StopWord>;
4792
- }
4793
-
4794
4700
  /**
4795
4701
  * @author semantha
4796
4702
  *
@@ -5040,8 +4946,6 @@ declare class ModelDomainEndpoint {
5040
4946
  private readonly ENDPOINT;
5041
4947
  constructor(restClient: RestClient, parentEndpoint: string, domainname: string);
5042
4948
  attributes(): ModelAttributesEndpoint;
5043
- boostwords(): ModelBoostwordsEndpoint;
5044
- boostwords(id: string): ModelBoostwordEndpoint;
5045
4949
  classes(): ModelontClassesEndpoint;
5046
4950
  classes(classid: string): ModelontClassEndpoint;
5047
4951
  dataproperties(): ModelDatapropertiesEndpoint;
@@ -5064,8 +4968,6 @@ declare class ModelDomainEndpoint {
5064
4968
  rulefunctions(): ModelRulefunctionsEndpoint;
5065
4969
  rules(): ModelRulesEndpoint;
5066
4970
  rules(id: string): ModelRuleEndpoint;
5067
- stopwords(): ModelStopwordsEndpoint;
5068
- stopwords(id: string): ModelStopwordEndpoint;
5069
4971
  synonyms(): ModelSynonymsEndpoint;
5070
4972
  synonyms(id: string): ModelSynonymEndpoint;
5071
4973
  /**
@@ -5212,4 +5114,4 @@ declare class SemanthaAPI {
5212
5114
  model(): ModelEndpoint;
5213
5115
  }
5214
5116
 
5215
- export { type AnnotationCell, type AnnotationPage, type Answer, type AnswerReference, AnswersEndpoint, type Area, type Argument, type Attachment, type Attribute, type AttributeDatatypeEnum, AttributeDatatypeEnumValues, type AttributeOverview, type AttributeOverviewDatatypeEnum, AttributeOverviewDatatypeEnumValues, type BoostWord, BulkDomainsEndpoint, BulkEndpoint, BulkModelEndpoint, BulkdomainsDocumentclassesEndpoint, BulkdomainsDocumenttypesEndpoint, BulkdomainsDomainEndpoint, BulkdomainsReferencedocumentsEndpoint, BulkdomainsReferencesEndpoint, BulkmodelBoostwordsEndpoint, BulkmodelClassEndpoint, BulkmodelClassesEndpoint, BulkmodelDatapropertiesEndpoint, BulkmodelDomainEndpoint, BulkmodelDomainsEndpoint, BulkmodelInstancesEndpoint, BulkmodelMetadataEndpoint, BulkmodelNamedentitiesEndpoint, BulkmodelRulesEndpoint, BulkmodelStopwordsEndpoint, BulkmodelSynonymsEndpoint, BulkmodelclassInstancesEndpoint, type CellType, CelltypesEndpoint, type Char, type Chat, type ChatConversation, ChatEndpoint, type ChatResponse, ChatsEndpoint, ChildExtractorclassesEndpoint, type Class, type ClassBulk, type ClassBulkDatatypeEnum, ClassBulkDatatypeEnumValues, type ClassesOverview, CloneEndpoint, type ComplexProperty, type Condition, type ConditionValue, ConversationEndpoint, ConversationsEndpoint, ConversionsEndpoint, type CurrentUser, CurrentuserEndpoint, type CustomField, type DataProperty, DiffEndpoint, type Difference, type DifferenceOperationEnum, DifferenceOperationEnumValues, 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, type DocumentmodeEnum, DocumentmodeEnumValues, DocumentsEndpoint, DocumenttypeEndpoint, DocumenttypesEndpoint, type Domain, DomainEndpoint, type DomainInfo, DomainsEndpoint, type Entity, type ErrorContainer, type ErrorField, type ErrorFieldCodeEnum, ErrorFieldCodeEnumValues, type Expression, type ExtractionArea, type ExtractionFile, type ExtractionReference, type Extractor, type ExtractorAttribute, type ExtractorAttributeDatatypeEnum, ExtractorAttributeDatatypeEnumValues, type ExtractorClass, type ExtractorClassOverview, type ExtractorTypeEnum, ExtractorTypeEnumValues, type Features, type Field, type FieldTypeEnum, FieldTypeEnumValues, type FileReference, type Finding, type FormatInformation, type Formatter, ImageEndpoint, ImagesEndpoint, type Info, InfoEndpoint, type Instance, type InstanceChild, type InstanceOverview, type Label, type LanguageDetection, LanguagesEndpoint, type Link, type LinkedInstance, type LinkedValue, MarkdownEndpoint, type Matcher, type MatcherTypeEnum, MatcherTypeEnumValues, type McpServerRequest, type McpToolDescriptor, type McpToolDescriptorAuthEnum, McpToolDescriptorAuthEnumValues, McptoolsEndpoint, MediaType, type Message, type MessageRoleEnum, MessageRoleEnumValues, type MetaInfoPage, type Metadata, type MetadataValue, type ModeEnum, ModeEnumValues, ModelAttributesEndpoint, ModelBoostwordEndpoint, ModelBoostwordsEndpoint, type ModelClass, ModelDatapropertiesEndpoint, ModelDatapropertyEndpoint, ModelDatatypesEndpoint, ModelDomainEndpoint, ModelDomainsEndpoint, ModelEndpoint, ModelExtractorclassEndpoint, ModelExtractorclassesEndpoint, ModelExtractorsEndpoint, ModelExtractortypesEndpoint, ModelFormattersEndpoint, type ModelInstance, type ModelMetadata, ModelMetadataEndpoint, ModelMetadatatypesEndpoint, ModelNamedentitiesEndpoint, ModelNamedentityEndpoint, ModelObjectpropertiesEndpoint, ModelOnemetadataEndpoint, ModelRegexEndpoint, ModelRegexesEndpoint, ModelRelationEndpoint, ModelRelationsEndpoint, ModelRuleEndpoint, ModelRulefunctionsEndpoint, ModelRulesEndpoint, ModelStopwordEndpoint, ModelStopwordsEndpoint, ModelSynonymEndpoint, ModelSynonymsEndpoint, ModelclassesEndpoint, ModelinstancesEndpoint, ModelontAttributeEndpoint, ModelontAttributesEndpoint, ModelontClassEndpoint, ModelontClassesEndpoint, ModelontInstanceEndpoint, ModelontInstancesEndpoint, ModelontclassInstancesEndpoint, type Name, type NamedEntity, NamedentitiesEndpoint, type Overview, type Page, type PageContent, type Paragraph, ParagraphEndpoint, type ParagraphPreview, type ParagraphUpdate, ParagraphsEndpoint, type ProcessInformation, 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 Range, type Rect, type Reference, type ReferenceDocumentsResponseContainer, ReferencedocumentEndpoint, ReferencedocumentsEndpoint, ReferencedocumentsStreamEndpoint, ReferencesEndpoint, type Regex, type Relation, type RelationCondition, type ResponseMetaInfo, RestClient, RestResponse, RolesEndpoint, type Row, type Rule, type RuleFunction, type RuleFunctionTypeEnum, RuleFunctionTypeEnumValues, type RuleOverview, SemanthaAPI, type SemanticModel, type Sentence, SentenceEndpoint, SentencesEndpoint, type Settings, type SettingsDefaultSimilarityModeEnum, SettingsDefaultSimilarityModeEnumValues, SettingsEndpoint, type SettingsExtractionStrategyEnum, SettingsExtractionStrategyEnumValues, type SettingsTaggingStrategyEnum, SettingsTaggingStrategyEnumValues, type SimpleProperty, type Statistic, StatisticEndpoint, type StopWord, type Summarization, SummarizationsEndpoint, type SummarylengthEnum, SummarylengthEnumValues, type Synonym, type TableCell, type TableInstance, type TagDocs, TagEndpoint, TagReferencedocumentsEndpoint, TagsEndpoint, type TextType, TexttypesEndpoint, type Translation, type TranslationResponse, TranslationsEndpoint, TreeEndpoint, type TypeEnum, TypeEnumValues, ValidationEndpoint, type Version, isAttributeDatatypeEnumValue, isAttributeOverviewDatatypeEnumValue, isClassBulkDatatypeEnumValue, isDifferenceOperationEnumValue, isDocumentmodeEnumValue, isErrorFieldCodeEnumValue, isExtractorAttributeDatatypeEnumValue, isExtractorTypeEnumValue, isFieldTypeEnumValue, isMatcherTypeEnumValue, isMcpToolDescriptorAuthEnumValue, isMessageRoleEnumValue, isModeEnumValue, isPromptLabelEnumValue, isPromptOverviewPromptLabelEnumValue, isPromptPromptLabelEnumValue, isRuleFunctionTypeEnumValue, isSettingsDefaultSimilarityModeEnumValue, isSettingsExtractionStrategyEnumValue, isSettingsTaggingStrategyEnumValue, isSummarylengthEnumValue, isTypeEnumValue };
5117
+ export { type AnnotationCell, type AnnotationPage, type Answer, type AnswerReference, AnswersEndpoint, type Area, type Argument, type Attachment, type Attribute, type AttributeDatatypeEnum, AttributeDatatypeEnumValues, type AttributeOverview, type AttributeOverviewDatatypeEnum, AttributeOverviewDatatypeEnumValues, BulkDomainsEndpoint, BulkEndpoint, BulkModelEndpoint, BulkdomainsDocumentclassesEndpoint, BulkdomainsDocumenttypesEndpoint, BulkdomainsDomainEndpoint, BulkdomainsReferencedocumentsEndpoint, BulkdomainsReferencesEndpoint, BulkmodelClassEndpoint, BulkmodelClassesEndpoint, BulkmodelDatapropertiesEndpoint, BulkmodelDomainEndpoint, BulkmodelDomainsEndpoint, BulkmodelInstancesEndpoint, BulkmodelMetadataEndpoint, BulkmodelNamedentitiesEndpoint, BulkmodelRulesEndpoint, BulkmodelSynonymsEndpoint, BulkmodelclassInstancesEndpoint, type CellType, CelltypesEndpoint, type Char, type Chat, type ChatConversation, ChatEndpoint, type ChatResponse, ChatsEndpoint, ChildExtractorclassesEndpoint, type Class, type ClassBulk, type ClassBulkDatatypeEnum, ClassBulkDatatypeEnumValues, type ClassesOverview, CloneEndpoint, type ComplexProperty, type Condition, type ConditionValue, ConversationEndpoint, ConversationsEndpoint, ConversionsEndpoint, type CurrentUser, CurrentuserEndpoint, type CustomField, type DataProperty, DiffEndpoint, type Difference, type DifferenceOperationEnum, DifferenceOperationEnumValues, 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, type DocumentmodeEnum, DocumentmodeEnumValues, DocumentsEndpoint, DocumenttypeEndpoint, DocumenttypesEndpoint, type Domain, DomainEndpoint, type DomainInfo, DomainsEndpoint, type Entity, type ErrorContainer, type ErrorField, type ErrorFieldCodeEnum, ErrorFieldCodeEnumValues, type Expression, type ExtractionArea, type ExtractionFile, type ExtractionReference, type Extractor, type ExtractorAttribute, type ExtractorAttributeDatatypeEnum, ExtractorAttributeDatatypeEnumValues, type ExtractorClass, type ExtractorClassOverview, type ExtractorTypeEnum, ExtractorTypeEnumValues, type Features, type Field, type FieldTypeEnum, FieldTypeEnumValues, type FileReference, type Finding, type FormatInformation, type Formatter, ImageEndpoint, ImagesEndpoint, type Info, InfoEndpoint, type Instance, type InstanceChild, type InstanceOverview, type Label, type LanguageDetection, LanguagesEndpoint, type Link, type LinkedInstance, type LinkedValue, MarkdownEndpoint, type Matcher, type MatcherTypeEnum, MatcherTypeEnumValues, type McpServerRequest, type McpToolDescriptor, type McpToolDescriptorAuthEnum, McpToolDescriptorAuthEnumValues, McptoolsEndpoint, MediaType, type Message, type MessageResponse, type MessageResponseRoleEnum, MessageResponseRoleEnumValues, type MessageRoleEnum, MessageRoleEnumValues, type MetaInfoPage, type Metadata, type MetadataValue, type ModeEnum, ModeEnumValues, ModelAttributesEndpoint, type ModelClass, ModelDatapropertiesEndpoint, ModelDatapropertyEndpoint, ModelDatatypesEndpoint, ModelDomainEndpoint, ModelDomainsEndpoint, ModelEndpoint, ModelExtractorclassEndpoint, ModelExtractorclassesEndpoint, ModelExtractorsEndpoint, ModelExtractortypesEndpoint, ModelFormattersEndpoint, type ModelInstance, type ModelMetadata, ModelMetadataEndpoint, ModelMetadatatypesEndpoint, ModelNamedentitiesEndpoint, ModelNamedentityEndpoint, ModelObjectpropertiesEndpoint, ModelOnemetadataEndpoint, ModelRegexEndpoint, ModelRegexesEndpoint, ModelRelationEndpoint, ModelRelationsEndpoint, ModelRuleEndpoint, ModelRulefunctionsEndpoint, ModelRulesEndpoint, ModelSynonymEndpoint, ModelSynonymsEndpoint, ModelclassesEndpoint, ModelinstancesEndpoint, ModelontAttributeEndpoint, ModelontAttributesEndpoint, ModelontClassEndpoint, ModelontClassesEndpoint, ModelontInstanceEndpoint, ModelontInstancesEndpoint, ModelontclassInstancesEndpoint, type Name, type NamedEntity, NamedentitiesEndpoint, type Overview, type Page, type PageContent, type Paragraph, ParagraphEndpoint, type ParagraphPreview, type ParagraphUpdate, ParagraphsEndpoint, type ProcessInformation, 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 Range, type Rect, type Reference, type ReferenceDocumentsResponseContainer, ReferencedocumentEndpoint, ReferencedocumentsEndpoint, ReferencedocumentsStreamEndpoint, ReferencesEndpoint, type Regex, type Relation, type RelationCondition, type ResponseMetaInfo, RestClient, RestResponse, RolesEndpoint, type Row, type Rule, type RuleFunction, type RuleFunctionTypeEnum, RuleFunctionTypeEnumValues, type RuleOverview, SemanthaAPI, type SemanticModel, type Sentence, SentenceEndpoint, SentencesEndpoint, ServerSentEvent, type Settings, type SettingsDefaultSimilarityModeEnum, SettingsDefaultSimilarityModeEnumValues, SettingsEndpoint, type SettingsExtractionStrategyEnum, SettingsExtractionStrategyEnumValues, type SettingsTaggingStrategyEnum, SettingsTaggingStrategyEnumValues, type SimpleProperty, SseEndpoint, type Statistic, StatisticEndpoint, type Summarization, SummarizationsEndpoint, type SummarylengthEnum, SummarylengthEnumValues, type Synonym, type TableCell, type TableInstance, type TagDocs, TagEndpoint, TagReferencedocumentsEndpoint, TagsEndpoint, type TextType, TexttypesEndpoint, type Translation, type TranslationResponse, TranslationsEndpoint, TreeEndpoint, type TypeEnum, TypeEnumValues, ValidationEndpoint, type Version, isAttributeDatatypeEnumValue, isAttributeOverviewDatatypeEnumValue, isClassBulkDatatypeEnumValue, isDifferenceOperationEnumValue, isDocumentmodeEnumValue, isErrorFieldCodeEnumValue, isExtractorAttributeDatatypeEnumValue, isExtractorTypeEnumValue, isFieldTypeEnumValue, isMatcherTypeEnumValue, isMcpToolDescriptorAuthEnumValue, isMessageResponseRoleEnumValue, isMessageRoleEnumValue, isModeEnumValue, isPromptLabelEnumValue, isPromptOverviewPromptLabelEnumValue, isPromptPromptLabelEnumValue, isRuleFunctionTypeEnumValue, isSettingsDefaultSimilarityModeEnumValue, isSettingsExtractionStrategyEnumValue, isSettingsTaggingStrategyEnumValue, isSummarylengthEnumValue, isTypeEnumValue, parseServerSentEvents };