@semantha/sdk 9.5.6 → 9.5.7

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.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../semantha-sdk/model/attributeDatatypeEnum.ts","../semantha-sdk/model/attributeOverviewDatatypeEnum.ts","../semantha-sdk/model/classBulkDatatypeEnum.ts","../semantha-sdk/model/clusteringstructureEnum.ts","../semantha-sdk/model/differenceOperationEnum.ts","../semantha-sdk/model/documentmodeEnum.ts","../semantha-sdk/model/errorFieldCodeEnum.ts","../semantha-sdk/model/extractorAttributeDatatypeEnum.ts","../semantha-sdk/model/extractorTypeEnum.ts","../semantha-sdk/model/fieldTypeEnum.ts","../semantha-sdk/model/matcherTypeEnum.ts","../semantha-sdk/model/messageRoleEnum.ts","../semantha-sdk/model/modeEnum.ts","../semantha-sdk/model/promptOverviewPromptLabelEnum.ts","../semantha-sdk/model/promptPromptLabelEnum.ts","../semantha-sdk/model/rangeEnum.ts","../semantha-sdk/model/ruleFunctionTypeEnum.ts","../semantha-sdk/model/settingsDefaultSimilarityModeEnum.ts","../semantha-sdk/model/settingsExtractionStrategyEnum.ts","../semantha-sdk/model/settingsTaggingStrategyEnum.ts","../semantha-sdk/model/smartClusterSemiSupervisedRequestClusteringStructureEnum.ts","../semantha-sdk/model/smartClusterSemiSupervisedRequestTopicOverTimeRangeEnum.ts","../semantha-sdk/model/summarylengthEnum.ts","../semantha-sdk/model/typeEnum.ts","../semantha-sdk/rest/restResponse.ts","../semantha-sdk/rest/restClient.ts","../semantha-sdk/api/answers.ts","../semantha-sdk/api/bulkDomains.ts","../semantha-sdk/api/bulkmodelBoostwords.ts","../semantha-sdk/api/bulkmodelclassInstances.ts","../semantha-sdk/api/bulkmodelClass.ts","../semantha-sdk/api/bulkmodelClasses.ts","../semantha-sdk/api/bulkmodelDataproperties.ts","../semantha-sdk/api/bulkmodelInstances.ts","../semantha-sdk/api/bulkmodelMetadata.ts","../semantha-sdk/api/bulkmodelNamedentities.ts","../semantha-sdk/api/bulkmodelRules.ts","../semantha-sdk/api/bulkmodelStopwords.ts","../semantha-sdk/api/bulkmodelSynonyms.ts","../semantha-sdk/api/bulkmodelDomain.ts","../semantha-sdk/api/bulkmodelDomains.ts","../semantha-sdk/api/bulkModel.ts","../semantha-sdk/api/bulkdomainsDocumentclasses.ts","../semantha-sdk/api/bulkdomainsDocumenttypes.ts","../semantha-sdk/api/bulkdomainsReferencedocuments.ts","../semantha-sdk/api/bulkdomainsReferences.ts","../semantha-sdk/api/bulkdomainsDomain.ts","../semantha-sdk/api/bulk.ts","../semantha-sdk/api/celltypes.ts","../semantha-sdk/api/chat.ts","../semantha-sdk/api/chats.ts","../semantha-sdk/api/childExtractorclasses.ts","../semantha-sdk/api/clone.ts","../semantha-sdk/api/clusters.ts","../semantha-sdk/api/conversions.ts","../semantha-sdk/api/roles.ts","../semantha-sdk/api/currentuser.ts","../semantha-sdk/api/diff.ts","../semantha-sdk/api/docclassCustomfields.ts","../semantha-sdk/api/docclassDocumentclasses.ts","../semantha-sdk/api/docclassTags.ts","../semantha-sdk/api/docclassReferencedocuments.ts","../semantha-sdk/api/documentannotations.ts","../semantha-sdk/api/documentclass.ts","../semantha-sdk/api/documentclasses.ts","../semantha-sdk/api/documents.ts","../semantha-sdk/api/documenttype.ts","../semantha-sdk/api/documenttypes.ts","../semantha-sdk/api/modelclasses.ts","../semantha-sdk/api/modelinstances.ts","../semantha-sdk/api/prompt.ts","../semantha-sdk/api/prompts.ts","../semantha-sdk/api/image.ts","../semantha-sdk/api/images.ts","../semantha-sdk/api/paragraph.ts","../semantha-sdk/api/paragraphs.ts","../semantha-sdk/api/sentence.ts","../semantha-sdk/api/sentences.ts","../semantha-sdk/api/referencedocument.ts","../semantha-sdk/api/namedentities.ts","../semantha-sdk/api/statistic.ts","../semantha-sdk/api/referencedocuments.ts","../semantha-sdk/api/references.ts","../semantha-sdk/api/settings.ts","../semantha-sdk/api/similaritymatrixCluster.ts","../semantha-sdk/api/similaritymatrix.ts","../semantha-sdk/api/summarizations.ts","../semantha-sdk/api/tagReferencedocuments.ts","../semantha-sdk/api/tag.ts","../semantha-sdk/api/tags.ts","../semantha-sdk/api/texttypes.ts","../semantha-sdk/api/transactions.ts","../semantha-sdk/api/validation.ts","../semantha-sdk/api/domain.ts","../semantha-sdk/api/domains.ts","../semantha-sdk/api/info.ts","../semantha-sdk/api/languages.ts","../semantha-sdk/api/modelDatatypes.ts","../semantha-sdk/api/modelAttributes.ts","../semantha-sdk/api/modelBackups.ts","../semantha-sdk/api/modelBoostword.ts","../semantha-sdk/api/modelBoostwords.ts","../semantha-sdk/api/modelDataproperties.ts","../semantha-sdk/api/modelDataproperty.ts","../semantha-sdk/api/modelExtractorclass.ts","../semantha-sdk/api/modelExtractorclasses.ts","../semantha-sdk/api/modelExtractors.ts","../semantha-sdk/api/modelFormatters.ts","../semantha-sdk/api/modelMetadata.ts","../semantha-sdk/api/modelNamedentities.ts","../semantha-sdk/api/modelNamedentity.ts","../semantha-sdk/api/modelObjectproperties.ts","../semantha-sdk/api/modelOnemetadata.ts","../semantha-sdk/api/modelRegex.ts","../semantha-sdk/api/modelRegexes.ts","../semantha-sdk/api/modelRelation.ts","../semantha-sdk/api/modelRelations.ts","../semantha-sdk/api/modelRule.ts","../semantha-sdk/api/modelRulefunctions.ts","../semantha-sdk/api/modelRules.ts","../semantha-sdk/api/modelStopword.ts","../semantha-sdk/api/modelStopwords.ts","../semantha-sdk/api/modelSynonym.ts","../semantha-sdk/api/modelSynonyms.ts","../semantha-sdk/api/modelontAttribute.ts","../semantha-sdk/api/modelontAttributes.ts","../semantha-sdk/api/modelontclassInstances.ts","../semantha-sdk/api/modelontClass.ts","../semantha-sdk/api/modelontClasses.ts","../semantha-sdk/api/modelontInstance.ts","../semantha-sdk/api/modelontInstances.ts","../semantha-sdk/api/modelDomain.ts","../semantha-sdk/api/modelDomains.ts","../semantha-sdk/api/modelExtractortypes.ts","../semantha-sdk/api/modelMetadatatypes.ts","../semantha-sdk/api/model.ts","../semantha-sdk/api/semanthaAPI.ts"],"names":["AttributeDatatypeEnumValues","isAttributeDatatypeEnumValue","value","AttributeOverviewDatatypeEnumValues","isAttributeOverviewDatatypeEnumValue","ClassBulkDatatypeEnumValues","isClassBulkDatatypeEnumValue","ClusteringstructureEnumValues","isClusteringstructureEnumValue","DifferenceOperationEnumValues","isDifferenceOperationEnumValue","DocumentmodeEnumValues","isDocumentmodeEnumValue","ErrorFieldCodeEnumValues","isErrorFieldCodeEnumValue","ExtractorAttributeDatatypeEnumValues","isExtractorAttributeDatatypeEnumValue","ExtractorTypeEnumValues","isExtractorTypeEnumValue","FieldTypeEnumValues","isFieldTypeEnumValue","MatcherTypeEnumValues","isMatcherTypeEnumValue","MessageRoleEnumValues","isMessageRoleEnumValue","ModeEnumValues","isModeEnumValue","PromptOverviewPromptLabelEnumValues","isPromptOverviewPromptLabelEnumValue","PromptPromptLabelEnumValues","isPromptPromptLabelEnumValue","RangeEnumValues","isRangeEnumValue","RuleFunctionTypeEnumValues","isRuleFunctionTypeEnumValue","SettingsDefaultSimilarityModeEnumValues","isSettingsDefaultSimilarityModeEnumValue","SettingsExtractionStrategyEnumValues","isSettingsExtractionStrategyEnumValue","SettingsTaggingStrategyEnumValues","isSettingsTaggingStrategyEnumValue","SmartClusterSemiSupervisedRequestClusteringStructureEnumValues","isSmartClusterSemiSupervisedRequestClusteringStructureEnumValue","SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValues","isSmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValue","SummarylengthEnumValues","isSummarylengthEnumValue","TypeEnumValues","isTypeEnumValue","RestResponse","response","contentDisposition","filename","match","MediaType","RestClient","_RestClient","serverUrl","apiKey","clientId","client_secret","tokenUrl","data","axios","method","url","config","authHeader","params","headers","responseType","acceptMimeType","contentType","AnswersEndpoint","restClient","parentEndpoint","BulkDomainsEndpoint","BulkmodelBoostwordsEndpoint","body","BulkmodelclassInstancesEndpoint","BulkmodelClassEndpoint","classid","BulkmodelClassesEndpoint","BulkmodelDatapropertiesEndpoint","BulkmodelInstancesEndpoint","BulkmodelMetadataEndpoint","BulkmodelNamedentitiesEndpoint","BulkmodelRulesEndpoint","BulkmodelStopwordsEndpoint","BulkmodelSynonymsEndpoint","BulkmodelDomainEndpoint","domainname","BulkmodelDomainsEndpoint","BulkModelEndpoint","BulkdomainsDocumentclassesEndpoint","BulkdomainsDocumenttypesEndpoint","BulkdomainsReferencedocumentsEndpoint","BulkdomainsReferencesEndpoint","BulkdomainsDomainEndpoint","BulkEndpoint","CelltypesEndpoint","ChatEndpoint","id","ChatsEndpoint","ChildExtractorclassesEndpoint","CloneEndpoint","ClustersEndpoint","ConversionsEndpoint","file","RolesEndpoint","CurrentuserEndpoint","DiffEndpoint","DocclassCustomfieldsEndpoint","DocclassDocumentclassesEndpoint","DocclassTagsEndpoint","DocclassReferencedocumentsEndpoint","DocumentannotationsEndpoint","DocumentclassEndpoint","DocumentclassesEndpoint","DocumentsEndpoint","DocumenttypeEndpoint","DocumenttypesEndpoint","ModelclassesEndpoint","ModelinstancesEndpoint","PromptEndpoint","PromptsEndpoint","ImageEndpoint","ImagesEndpoint","ParagraphEndpoint","ParagraphsEndpoint","SentenceEndpoint","SentencesEndpoint","ReferencedocumentEndpoint","documentid","NamedentitiesEndpoint","StatisticEndpoint","ReferencedocumentsEndpoint","ReferencesEndpoint","SettingsEndpoint","SimilaritymatrixClusterEndpoint","SimilaritymatrixEndpoint","SummarizationsEndpoint","TagReferencedocumentsEndpoint","TagEndpoint","tagname","TagsEndpoint","TexttypesEndpoint","TransactionsEndpoint","ValidationEndpoint","DomainEndpoint","DomainsEndpoint","InfoEndpoint","LanguagesEndpoint","ModelDatatypesEndpoint","ModelAttributesEndpoint","ModelBackupsEndpoint","ModelBoostwordEndpoint","ModelBoostwordsEndpoint","ModelDatapropertiesEndpoint","ModelDatapropertyEndpoint","ModelExtractorclassEndpoint","ModelExtractorclassesEndpoint","ModelExtractorsEndpoint","ModelFormattersEndpoint","ModelMetadataEndpoint","ModelNamedentitiesEndpoint","ModelNamedentityEndpoint","ModelObjectpropertiesEndpoint","ModelOnemetadataEndpoint","ModelRegexEndpoint","ModelRegexesEndpoint","ModelRelationEndpoint","ModelRelationsEndpoint","ModelRuleEndpoint","ModelRulefunctionsEndpoint","ModelRulesEndpoint","ModelStopwordEndpoint","ModelStopwordsEndpoint","ModelSynonymEndpoint","ModelSynonymsEndpoint","ModelontAttributeEndpoint","ModelontAttributesEndpoint","ModelontclassInstancesEndpoint","ModelontClassEndpoint","ModelontClassesEndpoint","ModelontInstanceEndpoint","ModelontInstancesEndpoint","ModelDomainEndpoint","ModelDomainsEndpoint","ModelExtractortypesEndpoint","ModelMetadatatypesEndpoint","ModelEndpoint","PARENT_ENDPOINT","SemanthaAPI","_SemanthaAPI","clientSecret","credentialsFilePath","lines","he","line","searchKey"],"mappings":"6gBAKO,IAAMA,EAA8B,CAAA,CACzC,QACA,CAAA,UAAA,CACA,MACA,CAAA,QAAA,CACA,MACA,CAAA,SAAA,CACA,SACF,EAGO,SAASC,EAAAA,CAA6BC,CAA4C,CAAA,CACvF,OAAOF,EAAAA,CAA4B,QAASE,CAAAA,CAAK,CACnD,CCbaC,IAAAA,EAAAA,CAAsC,CACjD,QAAA,CACA,UACA,CAAA,MAAA,CACA,QACA,CAAA,MAAA,CACA,UACA,SACF,EAGO,SAASC,EAAAA,CAAqCF,CAAoD,CAAA,CACvG,OAAOC,EAAAA,CAAoC,QAASD,CAAAA,CAAK,CAC3D,CCbaG,IAAAA,EAAAA,CAA8B,CACzC,QAAA,CACA,WACA,MACA,CAAA,QAAA,CACA,MACA,CAAA,SAAA,CACA,SACF,EAGO,SAASC,EAAAA,CAA6BJ,CAA4C,CAAA,CACvF,OAAOG,EAAAA,CAA4B,QAASH,CAAAA,CAAK,CACnD,KCbaK,EAAgC,CAAA,CAC3C,OACA,CAAA,UAAA,CACA,QACF,EAGO,S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,CAAK,QAAS,EAAC,CAC/D,CAEA,KAAuB,EAAA,CACrB,OAAO,IAAIuC,EAAc,CAAA,IAAA,CAAK,UAAY,CAAA,IAAA,CAAK,QAAS,EAAC,CAC3D,CAEF","file":"index.js","sourcesContent":["/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const AttributeDatatypeEnumValues = [\n 'STRING',\n 'CURRENCY',\n 'DATE',\n 'NUMBER',\n 'YEAR',\n 'BOOLEAN',\n 'INTEGER'\n] as const;\nexport type AttributeDatatypeEnum = (typeof AttributeDatatypeEnumValues)[number];\n\nexport function isAttributeDatatypeEnumValue(value: any): value is AttributeDatatypeEnum {\n return AttributeDatatypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const AttributeOverviewDatatypeEnumValues = [\n 'STRING',\n 'CURRENCY',\n 'DATE',\n 'NUMBER',\n 'YEAR',\n 'BOOLEAN',\n 'INTEGER'\n] as const;\nexport type AttributeOverviewDatatypeEnum = (typeof AttributeOverviewDatatypeEnumValues)[number];\n\nexport function isAttributeOverviewDatatypeEnumValue(value: any): value is AttributeOverviewDatatypeEnum {\n return AttributeOverviewDatatypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const ClassBulkDatatypeEnumValues = [\n 'STRING',\n 'CURRENCY',\n 'DATE',\n 'NUMBER',\n 'YEAR',\n 'BOOLEAN',\n 'INTEGER'\n] as const;\nexport type ClassBulkDatatypeEnum = (typeof ClassBulkDatatypeEnumValues)[number];\n\nexport function isClassBulkDatatypeEnumValue(value: any): value is ClassBulkDatatypeEnum {\n return ClassBulkDatatypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const ClusteringstructureEnumValues = [\n 'LOCAL',\n 'BALANCED',\n 'GLOBAL'\n] as const;\nexport type ClusteringstructureEnum = (typeof ClusteringstructureEnumValues)[number];\n\nexport function isClusteringstructureEnumValue(value: any): value is ClusteringstructureEnum {\n return ClusteringstructureEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const DifferenceOperationEnumValues = [\n 'DELETE',\n 'INSERT',\n 'EQUAL'\n] as const;\nexport type DifferenceOperationEnum = (typeof DifferenceOperationEnumValues)[number];\n\nexport function isDifferenceOperationEnumValue(value: any): value is DifferenceOperationEnum {\n return DifferenceOperationEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const DocumentmodeEnumValues = [\n 'sentence',\n 'paragraph'\n] as const;\nexport type DocumentmodeEnum = (typeof DocumentmodeEnumValues)[number];\n\nexport function isDocumentmodeEnumValue(value: any): value is DocumentmodeEnum {\n return DocumentmodeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const ErrorFieldCodeEnumValues = [\n 'BAD_REQUEST',\n 'UNAUTHORIZED',\n 'FORBIDDEN',\n 'NOT_FOUND',\n 'CONFLICT',\n 'CONTENT_TOO_LARGE',\n 'INTERNAL_SERVER_ERROR',\n 'GATEWAY_TIMEOUT',\n 'DOCUMENTTYPE_NOT_FOUND',\n 'DOCUMENTTYPE_NAME_EXISTS',\n 'DOCUMENTTYPE_NOT_EDITABLE',\n 'COMPARE_DOC_IS_EMPTY',\n 'COMPARE_WRONG_LANGUAGE',\n 'COMPARE_NO_REFERENCES',\n 'DOMAIN_NOT_FOUND',\n 'TOO_MANY_TOKENS',\n 'NO_FILE_FOUND',\n 'FILE_TYPE_NOT_SUPPORTED',\n 'FILE_PASSWORDPROTECTED',\n 'MISSING_SERVICE_DEFINITION',\n 'SERVICE_CALL_ERROR',\n 'GENERATIVE_MODEL_ERROR',\n 'USED_AS_LINKED_EXTRACTOR',\n 'CYCLICAL_DEPENDENCY_LINKED_EXTRACTOR',\n 'FILE_TOO_BIG',\n 'TOO_MANY_ROWS',\n 'REGEX_INVALID',\n 'GENERATIVE_MODEL_CONTEXT_EXCEEDED',\n 'PROMPT_NOT_DELETABLE',\n 'RESOURCE_NOT_FOUND',\n 'PARENT_RESOURCE_NOT_FOUND',\n 'RESOURCE_PARAMETER_CONSTRAINT_VIOLATION',\n 'PLATFORM_UNREACHABLE',\n 'FILE_SIZE_TOOBIG',\n 'USER_REPOSITORY_NOT_CONFIGURED',\n 'PDF_NOT_CONFIGURED',\n 'INVALID_USER_PASSWORD',\n 'UNKNOWN_FINGERPRINTER_ID',\n 'JSON_ARRAY_EMPTY',\n 'TOKENS_ILLEGAL_TYPE',\n 'NO_JSON',\n 'INVALID_JSON_FORMAT',\n 'JSON_OBJECT_HAS_NO_DOCUMENTS',\n 'DOCUMENTS_ARE_NO_JSON_ARRAY',\n 'DOCUMENTS_JSON_ARRAY_EMPTY',\n 'DOCUMENTS_VALUE_ERROR',\n 'DOCUMENTS_TYPE_ERROR',\n 'DOCUMENTS_TOO_FEW_DOCUMENTS',\n 'REQ_NO_JSON_ARRAY',\n 'SENTENCE_LIST_NOT_TWO',\n 'IMAGE_NOT_PROVIDED',\n 'IMAGE_INVALID_FORMAT',\n 'MODEL_NAME_INVALID',\n 'THRESHOLD_INVALID',\n 'IMAGE_BUFFER_EMPTY',\n 'INVALID_MODEL_ID',\n 'IMAGE_NOT_PROVIDED_IFP',\n 'IMAGE_INVALID_DATA',\n 'IMAGE_INVALID_FORMAT_IFP'\n] as const;\nexport type ErrorFieldCodeEnum = (typeof ErrorFieldCodeEnumValues)[number];\n\nexport function isErrorFieldCodeEnumValue(value: any): value is ErrorFieldCodeEnum {\n return ErrorFieldCodeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const ExtractorAttributeDatatypeEnumValues = [\n 'STRING',\n 'CURRENCY',\n 'DATE',\n 'NUMBER',\n 'YEAR',\n 'BOOLEAN',\n 'INTEGER'\n] as const;\nexport type ExtractorAttributeDatatypeEnum = (typeof ExtractorAttributeDatatypeEnumValues)[number];\n\nexport function isExtractorAttributeDatatypeEnumValue(value: any): value is ExtractorAttributeDatatypeEnum {\n return ExtractorAttributeDatatypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const ExtractorTypeEnumValues = [\n 'REGEX',\n 'ANDREGEX',\n 'ANDNOTREGEX',\n 'NOTREGEX',\n 'REGEX_CASE_INSENSITIVE',\n 'ANDREGEX_CASE_INSENSITIVE',\n 'ANDNOTREGEX_CASE_INSENSITIVE',\n 'NOTREGEX_CASE_INSENSITIVE',\n 'SIMILAR',\n 'ANDSIMILAR',\n 'ANDNOTSIMILAR',\n 'NOTSIMILAR',\n 'LIBRARY',\n 'ANDLIBRARY',\n 'ANDNOTLIBRARY',\n 'NOTLIBRARY',\n 'PARAGRAPH_DETECTION',\n 'CONSTANT',\n 'INTERNAL',\n 'INTERNAL_2',\n 'INTERNAL_3',\n 'INTERNAL_4',\n 'INTERNAL_5',\n 'INTERNAL_6',\n 'INTERNAL_7',\n 'INTERNAL_8',\n 'INTERNAL_9',\n 'INTERNAL_10',\n 'RANGE',\n 'REGEX_PARAGRAPH_LASTMATCH',\n 'REGEX_DOCUMENT_LASTMATCH',\n 'INTERNAL_PARAGRAPH_LASTMATCH',\n 'INTERNAL_DOCUMENT_LASTMATCH',\n 'END_OF_DOCUMENT',\n 'START_OF_DOCUMENT',\n 'NEXT_HEADING',\n 'TEXT_TYPE'\n] as const;\nexport type ExtractorTypeEnum = (typeof ExtractorTypeEnumValues)[number];\n\nexport function isExtractorTypeEnumValue(value: any): value is ExtractorTypeEnum {\n return ExtractorTypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const FieldTypeEnumValues = [\n 'CLASS',\n 'OBJECT_PROPERTY',\n 'DATA_PROPERTY'\n] as const;\nexport type FieldTypeEnum = (typeof FieldTypeEnumValues)[number];\n\nexport function isFieldTypeEnumValue(value: any): value is FieldTypeEnum {\n return FieldTypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const MatcherTypeEnumValues = [\n 'REGEX',\n 'ANDREGEX',\n 'ANDNOTREGEX',\n 'NOTREGEX',\n 'REGEX_CASE_INSENSITIVE',\n 'ANDREGEX_CASE_INSENSITIVE',\n 'ANDNOTREGEX_CASE_INSENSITIVE',\n 'NOTREGEX_CASE_INSENSITIVE',\n 'SIMILAR',\n 'ANDSIMILAR',\n 'ANDNOTSIMILAR',\n 'NOTSIMILAR',\n 'LIBRARY',\n 'ANDLIBRARY',\n 'ANDNOTLIBRARY',\n 'NOTLIBRARY',\n 'PARAGRAPH_DETECTION',\n 'CONSTANT',\n 'INTERNAL',\n 'INTERNAL_2',\n 'INTERNAL_3',\n 'INTERNAL_4',\n 'INTERNAL_5',\n 'INTERNAL_6',\n 'INTERNAL_7',\n 'INTERNAL_8',\n 'INTERNAL_9',\n 'INTERNAL_10',\n 'RANGE',\n 'REGEX_PARAGRAPH_LASTMATCH',\n 'REGEX_DOCUMENT_LASTMATCH',\n 'INTERNAL_PARAGRAPH_LASTMATCH',\n 'INTERNAL_DOCUMENT_LASTMATCH',\n 'END_OF_DOCUMENT',\n 'START_OF_DOCUMENT',\n 'NEXT_HEADING',\n 'TEXT_TYPE'\n] as const;\nexport type MatcherTypeEnum = (typeof MatcherTypeEnumValues)[number];\n\nexport function isMatcherTypeEnumValue(value: any): value is MatcherTypeEnum {\n return MatcherTypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const MessageRoleEnumValues = [\n 'USER',\n 'ASSISTANT',\n 'SYSTEM'\n] as const;\nexport type MessageRoleEnum = (typeof MessageRoleEnumValues)[number];\n\nexport function isMessageRoleEnumValue(value: any): value is MessageRoleEnum {\n return MessageRoleEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const ModeEnumValues = [\n 'fingerprint',\n 'keyword',\n 'document',\n 'document_fingerprint',\n 'fingerprint_keyword',\n 'auto'\n] as const;\nexport type ModeEnum = (typeof ModeEnumValues)[number];\n\nexport function isModeEnumValue(value: any): value is ModeEnum {\n return ModeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const PromptOverviewPromptLabelEnumValues = [\n 'COMPARE',\n 'REQUIREMENTS',\n 'SEARCH',\n 'LIBRARY',\n 'INTERNAL',\n 'CUSTOM'\n] as const;\nexport type PromptOverviewPromptLabelEnum = (typeof PromptOverviewPromptLabelEnumValues)[number];\n\nexport function isPromptOverviewPromptLabelEnumValue(value: any): value is PromptOverviewPromptLabelEnum {\n return PromptOverviewPromptLabelEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const PromptPromptLabelEnumValues = [\n 'COMPARE',\n 'REQUIREMENTS',\n 'SEARCH',\n 'LIBRARY',\n 'INTERNAL',\n 'CUSTOM'\n] as const;\nexport type PromptPromptLabelEnum = (typeof PromptPromptLabelEnumValues)[number];\n\nexport function isPromptPromptLabelEnumValue(value: any): value is PromptPromptLabelEnum {\n return PromptPromptLabelEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const RangeEnumValues = [\n 'HOURS',\n 'DAYS',\n 'MONTHS',\n 'YEARS'\n] as const;\nexport type RangeEnum = (typeof RangeEnumValues)[number];\n\nexport function isRangeEnumValue(value: any): value is RangeEnum {\n return RangeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const RuleFunctionTypeEnumValues = [\n 'OPERATOR',\n 'FUNCTION'\n] as const;\nexport type RuleFunctionTypeEnum = (typeof RuleFunctionTypeEnumValues)[number];\n\nexport function isRuleFunctionTypeEnumValue(value: any): value is RuleFunctionTypeEnum {\n return RuleFunctionTypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const SettingsDefaultSimilarityModeEnumValues = [\n 'fingerprint',\n 'keyword',\n 'document',\n 'document_fingerprint',\n 'fingerprint_keyword',\n 'auto'\n] as const;\nexport type SettingsDefaultSimilarityModeEnum = (typeof SettingsDefaultSimilarityModeEnumValues)[number];\n\nexport function isSettingsDefaultSimilarityModeEnumValue(value: any): value is SettingsDefaultSimilarityModeEnum {\n return SettingsDefaultSimilarityModeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const SettingsExtractionStrategyEnumValues = [\n 'ANY',\n 'TOP1',\n 'TOP3',\n 'TOP5',\n 'TOP10'\n] as const;\nexport type SettingsExtractionStrategyEnum = (typeof SettingsExtractionStrategyEnumValues)[number];\n\nexport function isSettingsExtractionStrategyEnumValue(value: any): value is SettingsExtractionStrategyEnum {\n return SettingsExtractionStrategyEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const SettingsTaggingStrategyEnumValues = [\n 'TOP1',\n 'TOP3',\n 'TOP5',\n 'TOP10'\n] as const;\nexport type SettingsTaggingStrategyEnum = (typeof SettingsTaggingStrategyEnumValues)[number];\n\nexport function isSettingsTaggingStrategyEnumValue(value: any): value is SettingsTaggingStrategyEnum {\n return SettingsTaggingStrategyEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const SmartClusterSemiSupervisedRequestClusteringStructureEnumValues = [\n 'LOCAL',\n 'BALANCED',\n 'GLOBAL'\n] as const;\nexport type SmartClusterSemiSupervisedRequestClusteringStructureEnum = (typeof SmartClusterSemiSupervisedRequestClusteringStructureEnumValues)[number];\n\nexport function isSmartClusterSemiSupervisedRequestClusteringStructureEnumValue(value: any): value is SmartClusterSemiSupervisedRequestClusteringStructureEnum {\n return SmartClusterSemiSupervisedRequestClusteringStructureEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValues = [\n 'HOURS',\n 'DAYS',\n 'MONTHS',\n 'YEARS'\n] as const;\nexport type SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnum = (typeof SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValues)[number];\n\nexport function isSmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValue(value: any): value is SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnum {\n return SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const SummarylengthEnumValues = [\n 'SHORT',\n 'MEDIUM',\n 'LONG'\n] as const;\nexport type SummarylengthEnum = (typeof SummarylengthEnumValues)[number];\n\nexport function isSummarylengthEnumValue(value: any): value is SummarylengthEnum {\n return SummarylengthEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const TypeEnumValues = [\n 'similarity',\n 'extraction'\n] as const;\nexport type TypeEnum = (typeof TypeEnumValues)[number];\n\nexport function isTypeEnumValue(value: any): value is TypeEnum {\n return TypeEnumValues.includes(value);\n}\n\n","import { AxiosResponse } from 'axios';\n\nexport class RestResponse<T> {\n constructor(private readonly response: Promise<AxiosResponse<T>>) {}\n\n async toModel(): Promise<T> {\n return (await this.response).data;\n }\n\n async toFile(): Promise<File> {\n const response: AxiosResponse = await this.response;\n const contentDisposition = response?.headers['content-disposition'];\n let filename = 'file';\n if (contentDisposition) {\n const match = contentDisposition.match(/filename=\"?([^\"]+)\"?/);\n if (match && match[1]) {\n filename = match[1];\n }\n }\n return new File([response.data], filename);\n }\n\n async getStatusCode(): Promise<number> {\n return (await this.response).status;\n }\n\n async getStatusText(): Promise<string> {\n return (await this.response).statusText;\n }\n}\n","import axios, { AxiosRequestConfig, AxiosResponse, ResponseType } from 'axios';\nimport { RestResponse } from './restResponse';\n\nexport enum MediaType {\n JSON = 'application/json',\n XLSX = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n PDF = 'application/pdf',\n DOCX = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',\n ZIP = 'application/zip',\n REQIFZ = 'application/reqifz',\n PNG = 'image/png',\n BINARY = 'application/octet-stream'\n}\n\nexport class RestClient {\n // in seconds\n private static readonly LEEWAY = 30;\n\n private expireTime: number;\n private accessToken: string;\n\n constructor(\n private readonly serverUrl: string,\n private readonly apiKey?: string,\n private readonly clientId?: string,\n private readonly client_secret?: string,\n private readonly tokenUrl?: string\n ) {\n this.expireTime = 0.0;\n this.accessToken = '';\n }\n\n async buildHeadersForJsonRequest(): Promise<{ [key: string]: string }> {\n return {\n Accept: 'application/json',\n Authorization: `Bearer ${await this.getToken()}`\n };\n }\n\n async buildHeadersForRequest(): Promise<{ [key: string]: string }> {\n return {\n Authorization: `Bearer ${await this.getToken()}`\n };\n }\n\n async getToken(): Promise<string> {\n if (this.apiKey) {\n return this.apiKey;\n }\n if (\n this.clientId &&\n this.client_secret &&\n this.tokenUrl &&\n (this.accessToken == '' || this.expireTime < performance.now())\n ) {\n const data = {\n grant_type: 'client_credentials',\n client_id: this.clientId,\n client_secret: this.client_secret,\n scope: 'openid'\n };\n const response = await axios.post(this.tokenUrl, data, {\n headers: { accept: 'application/json', 'content-type': 'application/x-www-form-urlencoded' }\n });\n if (response.status >= axios.HttpStatusCode.BadRequest) {\n // example for error response: {\"error\":\"invalid_client\",\"error_description\":\"Invalid client or Invalid client credentials\"}\n // we have no token -> this leads to a permission error\n return '';\n }\n this.accessToken = response.data['id_token'] ?? response.data['access_token'];\n this.expireTime = performance.now() + (response.data['expires_in'] - RestClient.LEEWAY);\n }\n return this.accessToken;\n }\n\n private async request<R>(\n method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE',\n url: string,\n config: { params?: any; headers?: { [key: string]: string }; data?: any, responseType?: ResponseType },\n ): Promise<RestResponse<R>> {\n if (!config.headers) {\n config.headers = await this.buildHeadersForJsonRequest();\n } else {\n const authHeader = await this.buildHeadersForRequest();\n config.headers = { ...config.headers, ...authHeader };\n }\n return new RestResponse<R>(\n axios.request<R>({\n method: method,\n url: this.serverUrl + url,\n headers: { ...config.headers, 'User-Agent': 'semantha TypeScript SDK; ' },\n data: config.data,\n params: config.params,\n responseType: config.responseType\n })\n );\n }\n\n async get<R>(url: string, params?: any, headers?: { [key: string]: string }, data?: any, responseType: ResponseType = 'json'): Promise<RestResponse<R>> {\n return this.request<R>('GET', url, { params, headers, data, responseType });\n }\n\n async post<R>(\n url: string,\n params?: any,\n headers?: { [key: string]: string },\n data?: any,\n responseType: ResponseType = 'json'\n ): Promise<RestResponse<R>> {\n if (!headers) {\n headers = await this.buildHeadersForJsonRequest();\n } else {\n const authHeader = await this.buildHeadersForRequest();\n headers = { ...headers, ...authHeader };\n }\n return new RestResponse<R>(axios.post<R>(this.serverUrl + url, data, { params, headers, responseType }));\n }\n\n async delete(url: string, data?: any): Promise<RestResponse<void>> {\n return this.request<void>('DELETE', url, { data });\n }\n\n async patch<R>(url: string, data?: any): Promise<RestResponse<R>> {\n return this.request<R>('PATCH', url, { data });\n }\n\n async put<R>(url: string, data: any): Promise<RestResponse<R>> {\n return this.request<R>('PUT', url, { data });\n }\n\n toHeader(acceptMimeType: MediaType, contentType?: string): { [key: string]: string } {\n if (contentType) {\n return { Accept: acceptMimeType, 'Content-Type': contentType };\n }\n return { Accept: acceptMimeType };\n }\n}\n","import { Answer } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/answers\"\n * This is a generated file do not change manually!\n */\nexport class AnswersEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/answers\";\n }\n\n /**\n * Finds references in library for a given question and uses references to generate an answer.The 'maxReferences' parameter determines how many library items are used. The language of the answer can be changed via the 'language' parameter.\n *\n * @param question string? - The text to find in the library.\n * @param maxreferences number? - Number of references found in library to base the answer on.\n * @param maxanswerreferences number? - Limits the number of references used to answer the question.\n * @param similaritythreshold number? - Threshold used to find matches in library\n * @param language string? - The language for the answer text.\r\n * Supported Languages:\r\n * \"ar\", \"cs\", \"da\", \"de\", \"en\", \"es\", \"el\", \"fr\", \"fi\", \"hu\", \"hr\",\r\n * \"it\", \"ja\", \"ko\", \"nl\", \"no\", \"pl\", \"pt\", \"ro\", \"ru\", \"sk\", \"sl\",\r\n * \"sv\", \"tr\", \"zh\"\n * @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).\n */\n async post(data: {\n question?: string,\n maxreferences?: number,\n maxanswerreferences?: number,\n similaritythreshold?: number,\n language?: string,\n tags?: string,\n }): Promise<Answer> {\n return (\n await this.restClient.post<Answer>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n}\n","import { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/domains\"\n * This is a generated file do not change manually!\n */\nexport class BulkDomainsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/domains\";\n }\n}\n","import { BoostWord } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/boostwords\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelBoostwordsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/boostwords\";\n }\n\n /**\n * Create one or more boostwordsThis is the quiet version of 'post /api/domains/{domainname}/boostwords'\n *\n * @param body BoostWord[]? - \n */\n async post(\n body?: BoostWord[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Instance } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/classes/{classid}/instances\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelclassInstancesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/instances\";\n }\n\n /**\n * Get all instances of the classes by class idThis is the quiet version of 'get /api/model/domains/{domainname}/classes/{id}/instances'\n */\n async get(): Promise<Instance[]> {\n return (\n await this.restClient.get<Instance[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { BulkmodelclassInstancesEndpoint } from './bulkmodelclassInstances';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/classes/{classid}\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelClassEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly classid: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/classes\" + `/${this.classid}`;\n }\n\n instances(): BulkmodelclassInstancesEndpoint {\n return new BulkmodelclassInstancesEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import { ClassBulk } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/classes\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelClassesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/classes\";\n }\n\n /**\n * Get all classesThis is the quiet version of 'get /api/domains/{domainname}/classes'\n */\n async get(): Promise<ClassBulk[]> {\n return (\n await this.restClient.get<ClassBulk[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Create one or more classesThis is the quiet version of 'post /api/domains/{domainname}/classes'\n *\n * @param body ClassBulk[]? - \n */\n async post(\n body?: ClassBulk[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { DataProperty } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/dataproperties\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelDatapropertiesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/dataproperties\";\n }\n\n /**\n * Get all datapropertiesThis is the quiet version of 'get /api/domains/{domainname}/dataproperties'\n */\n async get(): Promise<DataProperty[]> {\n return (\n await this.restClient.get<DataProperty[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Create one or more datapropertiesThis is the quiet version of 'post /api/domains/{domainname}/dataproperties'\n *\n * @param body DataProperty[]? - \n */\n async post(\n body?: DataProperty[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Instance } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/instances\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelInstancesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/instances\";\n }\n\n /**\n * Get all instancesThis is the quiet version of 'get /api/domains/{domainname}/instances'\n */\n async get(): Promise<Instance[]> {\n return (\n await this.restClient.get<Instance[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Create an instanceThis is the quiet version of 'post /api/model/domains/{domainname}/instances'\n *\n * @param body Instance[]? - \n */\n async post(\n body?: Instance[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { ModelMetadata } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/metadata\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelMetadataEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/metadata\";\n }\n\n /**\n * Get all metadataThis is the quiet version of 'get /api/domains/{domainname}/metadata'\n */\n async get(): Promise<ModelMetadata[]> {\n return (\n await this.restClient.get<ModelMetadata[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Create one or more metadataThis is the quiet version of 'post /api/domains/{domainname}/metadata'\n *\n * @param body ModelMetadata[]? - \n */\n async post(\n body?: ModelMetadata[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { NamedEntity } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/namedentities\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelNamedentitiesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/namedentities\";\n }\n\n /**\n * Create one or more named entitiesThis is the quiet version of 'post /api/domains/{domainname}/namedentities'\n *\n * @param body NamedEntity[]? - \n */\n async post(\n body?: NamedEntity[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Rule } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/rules\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelRulesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/rules\";\n }\n\n /**\n * Get a ruleThis is the quiet version of 'get /api/model/domains/{domainname}/rules'\n */\n async get(): Promise<Rule[]> {\n return (\n await this.restClient.get<Rule[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Create a ruleThis is the quiet version of 'post /api/model/domains/{domainname}/rules'\n *\n * @param body Rule[]? - \n */\n async post(\n body?: Rule[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { StopWord } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/stopwords\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelStopwordsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/stopwords\";\n }\n\n /**\n * Add a list of stop words to your domain\n *\n * @param body StopWord[]? - \n */\n async post(\n body?: StopWord[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Synonym } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/synonyms\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelSynonymsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/synonyms\";\n }\n\n /**\n * Create one or more synonymsThis is the quiet version of 'post /api/domains/{domainname}/synonyms'\n *\n * @param body Synonym[]? - \n */\n async post(\n body?: Synonym[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { BulkmodelBoostwordsEndpoint } from './bulkmodelBoostwords';\nimport { BulkmodelClassEndpoint } from './bulkmodelClass';\nimport { BulkmodelClassesEndpoint } from './bulkmodelClasses';\nimport { BulkmodelDatapropertiesEndpoint } from './bulkmodelDataproperties';\nimport { BulkmodelInstancesEndpoint } from './bulkmodelInstances';\nimport { BulkmodelMetadataEndpoint } from './bulkmodelMetadata';\nimport { BulkmodelNamedentitiesEndpoint } from './bulkmodelNamedentities';\nimport { BulkmodelRulesEndpoint } from './bulkmodelRules';\nimport { BulkmodelStopwordsEndpoint } from './bulkmodelStopwords';\nimport { BulkmodelSynonymsEndpoint } from './bulkmodelSynonyms';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelDomainEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly domainname: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/domains\" + `/${this.domainname}`;\n }\n\n boostwords(): BulkmodelBoostwordsEndpoint {\n return new BulkmodelBoostwordsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n classes(): BulkmodelClassesEndpoint;\n classes(classid: string): BulkmodelClassEndpoint\n \n classes(classid?: string): BulkmodelClassEndpoint | BulkmodelClassesEndpoint {\n if(classid !== undefined && classid !== null) {\n\t return new BulkmodelClassEndpoint(this.restClient, this.ENDPOINT, classid);\n } else {\n\t return new BulkmodelClassesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n dataproperties(): BulkmodelDatapropertiesEndpoint {\n return new BulkmodelDatapropertiesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n instances(): BulkmodelInstancesEndpoint {\n return new BulkmodelInstancesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n metadata(): BulkmodelMetadataEndpoint {\n return new BulkmodelMetadataEndpoint(this.restClient, this.ENDPOINT);\n }\n\n namedentities(): BulkmodelNamedentitiesEndpoint {\n return new BulkmodelNamedentitiesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n rules(): BulkmodelRulesEndpoint {\n return new BulkmodelRulesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n stopwords(): BulkmodelStopwordsEndpoint {\n return new BulkmodelStopwordsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n synonyms(): BulkmodelSynonymsEndpoint {\n return new BulkmodelSynonymsEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelDomainsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/domains\";\n }\n}\n","import { BulkmodelDomainEndpoint } from './bulkmodelDomain';\nimport { BulkmodelDomainsEndpoint } from './bulkmodelDomains';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model\"\n * This is a generated file do not change manually!\n */\nexport class BulkModelEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/model\";\n }\n\n domains(): BulkmodelDomainsEndpoint;\n domains(domainname: string): BulkmodelDomainEndpoint\n \n domains(domainname?: string): BulkmodelDomainEndpoint | BulkmodelDomainsEndpoint {\n if(domainname !== undefined && domainname !== null) {\n\t return new BulkmodelDomainEndpoint(this.restClient, this.ENDPOINT, domainname);\n } else {\n\t return new BulkmodelDomainsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n}\n","import { DocumentClassBulk } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/domains/{domainname}/documentclasses\"\n * This is a generated file do not change manually!\n */\nexport class BulkdomainsDocumentclassesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documentclasses\";\n }\n\n /**\n * Get all document classesThis is the quiet version of 'get /api/domains/{domainname}/documentclasses'\n */\n async get(): Promise<DocumentClassBulk[]> {\n return (\n await this.restClient.get<DocumentClassBulk[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Create one or more document classesThis is the quiet version of 'post /api/domains/{domainname}/documentclasses'\n *\n * @param body DocumentClassBulk[]? - \n */\n async post(\n body?: DocumentClassBulk[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { DocumentType } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/domains/{domainname}/documenttypes\"\n * This is a generated file do not change manually!\n */\nexport class BulkdomainsDocumenttypesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documenttypes\";\n }\n\n async get(): Promise<DocumentType[]> {\n return (\n await this.restClient.get<DocumentType[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * @param body DocumentType[]? - \n */\n async post(\n body?: DocumentType[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Document } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/domains/{domainname}/referencedocuments\"\n * This is a generated file do not change manually!\n */\nexport class BulkdomainsReferencedocumentsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/referencedocuments\";\n }\n\n /**\n * Get all reference documentsThis is the quiet version of 'get /api/domains/{domainname}/referencedocuments'\n *\n * @param withsentences boolean? - Gives back the sentences of a paragraph.\n */\n async get(params?: {\n withsentences?: boolean,\n }): Promise<Document[]> {\n return (\n await this.restClient.get<Document[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * @param body string[] - \n */\n async delete(\n body: string[],\n ) {\n return await this.restClient.delete(\n this.ENDPOINT,\n body\n );\n }\n\n /**\n * Upload reference documentThis is the quiet version of 'post /api/domains/{domainname}/referencedocuments'\n *\n * @param name string? - The document name in your library (in contrast to the file name being used during upload).\n * @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).\n * @param metadata string? - Filter by metadata\n * @param file Blob? - Input document (left document).\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param documenttype string? - Specifies the document type that is to be used by semantha when reading the uploaded document.\n * @param color string? - Use this parameter to specify the color for your reference document. Possible values are RED, MAGENTA, AQUA, ORANGE, GREY, or LAVENDER.\n * @param comment string? - Use this parameter to add a comment to your reference document.\n * @param documentclassid string? - List of documentclass ID for the target. The limit here is 1 ID.\n * @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.\n */\n async post(data: {\n name?: string,\n tags?: string,\n metadata?: string,\n file?: Blob,\n text?: string,\n documenttype?: string,\n color?: string,\n comment?: string,\n documentclassid?: string,\n addparagraphsasdocuments?: boolean,\n },\n params?: {\n detectlanguage?: boolean,\n linkclasses?: boolean,\n }): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n \n /**\n * Upload reference documentThis is the quiet version of 'post /api/domains/{domainname}/referencedocuments'\n *\n * @param body Document[]? - \n */\n async postJson(\n body: Document[],\n params?: {\n detectlanguage?: boolean,\n linkclasses?: boolean,\n }): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Document } from '../model';\nimport { MediaType } from '../rest';\nimport { ModeEnum } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/domains/{domainname}/references\"\n * This is a generated file do not change manually!\n */\nexport class BulkdomainsReferencesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/references\";\n }\n\n /**\n * Determine references with several input documentsMatches several input documents ('file' parameter, as an alternative 'text' can be used) to a set of 'referencedocument' if set or internal library. If you match against internal library the 'tags' parameter can be used to filter the library.\n *\n * @param body Document[]? - \n */\n async post(\n body: Document[],\n params?: {\n referencedocumentids?: string,\n tags?: string,\n documentclassids?: string,\n similaritythreshold?: number,\n synonymousthreshold?: number,\n marknomatch?: boolean,\n withreferencetext?: boolean,\n withreferenceimage?: boolean,\n withareas?: boolean,\n mode?: ModeEnum,\n detectlanguage?: boolean,\n maxreferences?: number,\n considertexttype?: boolean,\n resizeparagraphs?: boolean,\n }): Promise<Document[]> {\n return (\n await this.restClient.post<Document[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { BulkdomainsDocumentclassesEndpoint } from './bulkdomainsDocumentclasses';\nimport { BulkdomainsDocumenttypesEndpoint } from './bulkdomainsDocumenttypes';\nimport { BulkdomainsReferencedocumentsEndpoint } from './bulkdomainsReferencedocuments';\nimport { BulkdomainsReferencesEndpoint } from './bulkdomainsReferences';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/domains/{domainname}\"\n * This is a generated file do not change manually!\n */\nexport class BulkdomainsDomainEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly domainname: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/domains\" + `/${this.domainname}`;\n }\n\n documentclasses(): BulkdomainsDocumentclassesEndpoint {\n return new BulkdomainsDocumentclassesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n documenttypes(): BulkdomainsDocumenttypesEndpoint {\n return new BulkdomainsDocumenttypesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n referencedocuments(): BulkdomainsReferencedocumentsEndpoint {\n return new BulkdomainsReferencedocumentsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n references(): BulkdomainsReferencesEndpoint {\n return new BulkdomainsReferencesEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import { BulkDomainsEndpoint } from './bulkDomains';\nimport { BulkModelEndpoint } from './bulkModel';\nimport { BulkdomainsDomainEndpoint } from './bulkdomainsDomain';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk\"\n * This is a generated file do not change manually!\n */\nexport class BulkEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/bulk\";\n }\n\n domains(): BulkDomainsEndpoint;\n domains(domainname: string): BulkdomainsDomainEndpoint\n \n domains(domainname?: string): BulkdomainsDomainEndpoint | BulkDomainsEndpoint {\n if(domainname !== undefined && domainname !== null) {\n\t return new BulkdomainsDomainEndpoint(this.restClient, this.ENDPOINT, domainname);\n } else {\n\t return new BulkDomainsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n model(): BulkModelEndpoint {\n return new BulkModelEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import { CellType } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/celltypes\"\n * This is a generated file do not change manually!\n */\nexport class CelltypesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/celltypes\";\n }\n\n async get(): Promise<CellType[]> {\n return (\n await this.restClient.get<CellType[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { Chat } from '../model';\nimport { ChatResponse } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/chats/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ChatEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/chats\" + `/${this.id}`;\n }\n\n /**\n * Chat with the generative modelThe chat endpoint allows you to interact with the generative model in a conversational manner.\n *\n * @param body Chat? - \n */\n async post(\n body?: Chat,\n ): Promise<ChatResponse> {\n return (\n await this.restClient.post<ChatResponse>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/chats\"\n * This is a generated file do not change manually!\n */\nexport class ChatsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/chats\";\n }\n}\n","import { ExtractorClass } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/extractorclasses/{id}/extractorclasses\"\n * This is a generated file do not change manually!\n */\nexport class ChildExtractorclassesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/extractorclasses\";\n }\n\n /**\n * @param body ExtractorClass? - \n */\n async post(\n body?: ExtractorClass,\n ): Promise<ExtractorClass> {\n return (\n await this.restClient.post<ExtractorClass>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { DocumentType } from '../model';\nimport { MediaType } from '../rest';\nimport { Name } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documenttypes/{id}/clone\"\n * This is a generated file do not change manually!\n */\nexport class CloneEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/clone\";\n }\n\n /**\n * Clone one document type and give it a new name. Needs roles: 'Advanced User', 'Domain Admin' or 'Expert User'\n *\n * @param body Name? - \n */\n async post(\n body?: Name,\n ): Promise<DocumentType> {\n return (\n await this.restClient.post<DocumentType>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { ClusteringstructureEnum } from '../model';\nimport { MediaType } from '../rest';\nimport { RangeEnum } from '../model';\nimport { RestClient } from '../rest';\nimport { SmartClusterResponseContainer } from '../model';\nimport { SmartClusterSemiSupervisedRequest } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/clusters\"\n * This is a generated file do not change manually!\n */\nexport class ClustersEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/clusters\";\n }\n\n /**\n * Clusters reference documents based on their semantic content and provides labels for each cluster\n *\n * @param documentids string? - List of document Ids for target. The limit here is 65000 IDs. The IDs can be passed as a comma separated string.\n * @param name string? - Filter documents for a given name\n * @param createdafter number? - Filter for documents which are created after a given UNIX timestamp. The createdafter filter only works when also using the parameters offset and limit.\n * @param createdbefore number? - Filter for documents which are created before a given UNIX timestamp. The createdbefore filter only works when also using the parameters offset and limit.\n * @param updatedafter number? - Filter for documents which are updated after a given UNIX timestamp. The updatedafter filter only works when also using the parameters offset and limit.\n * @param updatedbefore number? - Filter for documents which are updated before a given UNIX timestamp. The updatedbefore filter only works when also using the parameters offset and limit.\n * @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).\n * @param documentclassids string? - List of documentclass IDs for the target. The limit here is 1000 IDs. The IDs are passed as a comma separated list.\n * @param withoutdocumentclass boolean? - Filters the returned reference documents to include only documents that are not linked to a documentclass. The parameter is of type boolean and is set to false by default.\n * @param mincharacters number? - Filters the returned reference documents to include only documents that have a minimum of characters\n * @param metadata string? - Filter documents for part of metadata, casing is ignored.\n * @param comment string? - Filter documents for part of comment, casing is ignored.\n * @param sourcedoc boolean? - If true, then only source documents are returned.\n * @param sourcedocumentid string? - Filter documents a specific source document.\n * @param minclustersize string? - Determines the size of the cluster, values are LOW, MEDIUM, HIGH\n * @param clusteringstructure ClusteringstructureEnum? - Determines how clusters are created, values are LOCAL, BALANCED, GLOBAL\n * @param reduceoutliers boolean? - Boolean to try to reduce outlier on clustering\n * @param range RangeEnum? - Used for topic over time clustering, values are HOURS, DAYS, MONTHS, YEARS\n * @param neighbors number? - Number of neighbors\n */\n async get(params?: {\n documentids?: string,\n name?: string,\n createdafter?: number,\n createdbefore?: number,\n updatedafter?: number,\n updatedbefore?: number,\n tags?: string,\n documentclassids?: string,\n withoutdocumentclass?: boolean,\n mincharacters?: number,\n metadata?: string,\n comment?: string,\n sourcedoc?: boolean,\n sourcedocumentid?: string,\n minclustersize?: string,\n clusteringstructure?: ClusteringstructureEnum,\n reduceoutliers?: boolean,\n range?: RangeEnum,\n neighbors?: number,\n }): Promise<SmartClusterResponseContainer> {\n return (\n await this.restClient.get<SmartClusterResponseContainer>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * @param body SmartClusterSemiSupervisedRequest - \n */\n async put(\n body: SmartClusterSemiSupervisedRequest,\n ): Promise<SmartClusterResponseContainer> {\n return (\n await this.restClient.put<SmartClusterResponseContainer>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/conversions\"\n * This is a generated file do not change manually!\n */\nexport class ConversionsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/conversions\";\n }\n\n /**\n * Converts docx files into pdf format.\n *\n * @param file Blob? - The document to convert.\n */\n async post(\n file?: Blob,\n ): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n file\n )\n ).toFile();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/currentuser/roles\"\n * This is a generated file do not change manually!\n */\nexport class RolesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/roles\";\n }\n\n /**\n * Get the role/s of the current user.\n */\n async get(): Promise<string[]> {\n return (\n await this.restClient.get<string[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { CurrentUser } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { RolesEndpoint } from './roles';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/currentuser\"\n * This is a generated file do not change manually!\n */\nexport class CurrentuserEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/currentuser\";\n }\n\n roles(): RolesEndpoint {\n return new RolesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n /**\n * Get information about the current user.\n */\n async get(): Promise<CurrentUser> {\n return (\n await this.restClient.get<CurrentUser>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { Difference } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/diff\"\n * This is a generated file do not change manually!\n */\nexport class DiffEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/diff\";\n }\n\n /**\n * Creates a diff of text on syntactical basis.\n *\n * @param left string? - The base for creating a diff.\n * @param right string? - The changed text which gets compared to 'left' text.\n */\n async post(data: {\n left?: string,\n right?: string,\n }): Promise<Difference[]> {\n return (\n await this.restClient.post<Difference[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n}\n","import { CustomField } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documentclasses/{id}/customfields\"\n * This is a generated file do not change manually!\n */\nexport class DocclassCustomfieldsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/customfields\";\n }\n\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * @param body CustomField[] - \n */\n async put(\n body: CustomField[],\n ): Promise<void> {\n return (\n await this.restClient.put<void>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { DocumentClass } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documentclasses/{id}/documentclasses\"\n * This is a generated file do not change manually!\n */\nexport class DocclassDocumentclassesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documentclasses\";\n }\n\n /**\n * Get all subclasses for a document class identified by id\n */\n async get(): Promise<DocumentClass[]> {\n return (\n await this.restClient.get<DocumentClass[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete a subclass from a document class identified by id\n *\n * @param body string[] - \n */\n async delete(\n body: string[],\n ) {\n return await this.restClient.delete(\n this.ENDPOINT,\n body\n );\n }\n\n /**\n * Add existing classes as subclasses to a document class identified by id\n *\n * @param body string[] - \n */\n async patch(\n body: string[],\n ): Promise<DocumentClass[]> {\n return (\n await this.restClient.patch<DocumentClass[]>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n\n /**\n * Create one or more subclasses for a document class identified by name\n *\n * @param body DocumentClass? - \n */\n async post(\n body?: DocumentClass,\n ): Promise<DocumentClass> {\n return (\n await this.restClient.post<DocumentClass>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documentclasses/{id}/referencedocuments/tags\"\n * This is a generated file do not change manually!\n */\nexport class DocclassTagsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/tags\";\n }\n\n async get(): Promise<string[]> {\n return (\n await this.restClient.get<string[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { DocclassTagsEndpoint } from './docclassTags';\nimport { DocumentInformation } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documentclasses/{id}/referencedocuments\"\n * This is a generated file do not change manually!\n */\nexport class DocclassReferencedocumentsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/referencedocuments\";\n }\n\n tags(): DocclassTagsEndpoint {\n return new DocclassTagsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n /**\n * Get all library documents belonging to a document class identified by its id\n */\n async get(): Promise<DocumentInformation[]> {\n return (\n await this.restClient.get<DocumentInformation[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete library documents from a document class identified by its id\n *\n * @param body string[] - \n */\n async delete(\n body: string[],\n ) {\n return await this.restClient.delete(\n this.ENDPOINT,\n body\n );\n }\n\n /**\n * Add a library document to a document class identified by its id\n *\n * @param body string[] - \n */\n async patch(\n body: string[],\n ): Promise<void> {\n return (\n await this.restClient.patch<void>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { Document } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documentannotations\"\n * This is a generated file do not change manually!\n */\nexport class DocumentannotationsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documentannotations\";\n }\n\n /**\n * Download the original input document (pdf or docx) with the referenced document/library matches as annotated comments\n *\n * @param file Blob? - Input document (left document).\n * @param document Document? - \n * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.\r\n * In general, the higher the threshold, the more precise the results.\n * @param synonymousthreshold number? - Threshold for good matches.\n * @param marknomatch boolean? - Marks the paragraphs that have not matched\n * @param withreferencetext boolean? - Provide the reference text in the result JSON. If set to false, you have to query the library to resolve the references yourself.\n */\n async postAsDocx(data: {\n file?: Blob,\n document?: Document,\n similaritythreshold?: number,\n synonymousthreshold?: number,\n marknomatch?: boolean,\n withreferencetext?: boolean,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.DOCX),\n data\n )\n ).toFile();\n }\n \n /**\n * Download the original input document (pdf or docx) with the referenced document/library matches as annotated comments\n *\n * @param file Blob? - Input document (left document).\n * @param document Document? - \n * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.\r\n * In general, the higher the threshold, the more precise the results.\n * @param synonymousthreshold number? - Threshold for good matches.\n * @param marknomatch boolean? - Marks the paragraphs that have not matched\n * @param withreferencetext boolean? - Provide the reference text in the result JSON. If set to false, you have to query the library to resolve the references yourself.\n */\n async postAsPdf(data: {\n file?: Blob,\n document?: Document,\n similaritythreshold?: number,\n synonymousthreshold?: number,\n marknomatch?: boolean,\n withreferencetext?: boolean,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.PDF),\n data\n )\n ).toFile();\n }\n}\n","import { DocclassCustomfieldsEndpoint } from './docclassCustomfields';\nimport { DocclassDocumentclassesEndpoint } from './docclassDocumentclasses';\nimport { DocclassReferencedocumentsEndpoint } from './docclassReferencedocuments';\nimport { DocumentClass } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documentclasses/{id}\"\n * This is a generated file do not change manually!\n */\nexport class DocumentclassEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documentclasses\" + `/${this.id}`;\n }\n\n customfields(): DocclassCustomfieldsEndpoint {\n return new DocclassCustomfieldsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n documentclasses(): DocclassDocumentclassesEndpoint {\n return new DocclassDocumentclassesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n referencedocuments(): DocclassReferencedocumentsEndpoint {\n return new DocclassReferencedocumentsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n /**\n * Get a class identified by id and all its subclasses\n */\n async get(): Promise<DocumentClass> {\n return (\n await this.restClient.get<DocumentClass>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete a document class identified by id\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Rename a document class identified by its id\n *\n * @param body DocumentClass - \n */\n async put(\n body: DocumentClass,\n ): Promise<DocumentClass> {\n return (\n await this.restClient.put<DocumentClass>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { DocumentClass } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documentclasses\"\n * This is a generated file do not change manually!\n */\nexport class DocumentclassesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documentclasses\";\n }\n\n /**\n * Get all document classes\n */\n async get(): Promise<DocumentClass[]> {\n return (\n await this.restClient.get<DocumentClass[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all document classes\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create one or more document classes\n *\n * @param body DocumentClass? - \n */\n async post(\n body?: DocumentClass,\n ): Promise<DocumentClass> {\n return (\n await this.restClient.post<DocumentClass>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Document } from '../model';\nimport { DocumentmodeEnum } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { TypeEnum } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documents\"\n * This is a generated file do not change manually!\n */\nexport class DocumentsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documents\";\n }\n\n /**\n * Creates a list of document models from an input document (pdf, docx, txt, zip, xlsx)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.\n *\n * @param file Blob? - Input document\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param type TypeEnum? - Choose the structure of a document can be 'similarity' or 'extraction'. The type depends on the Use Case you're in.\n * @param documenttype string? - Id of the document template to use\n * @param withareas boolean? - Gives back the coordinates of sentences.\n * @param withcontextparagraphs boolean? - Gives back the context paragraphs.\n * @param withcharacters boolean? - Gives back the coordinates for each character of a sentence.\n * @param withformatinfo boolean? - Gives back aggregated formatting information of paragraphs for this document.\n * @param page number? - Number of the page to return as image. Zero based. Only for accept=image/png\n * @param x number? - X position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param y number? - Y position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param width number? - Width in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param height number? - Height in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param documentmode DocumentmodeEnum? - Determines to return paragraphs as rows or sentences. Only for accept=xlsx\n * @param withparagraphtype boolean? - documentmode=paragraph only and true -> text type is returned in column B. Only for accept=xlsx\n */\n async post(data: {\n file?: Blob,\n text?: string,\n type?: TypeEnum,\n documenttype?: string,\n withareas?: boolean,\n withcontextparagraphs?: boolean,\n withcharacters?: boolean,\n withformatinfo?: boolean,\n page?: number,\n x?: number,\n y?: number,\n width?: number,\n height?: number,\n documentmode?: DocumentmodeEnum,\n withparagraphtype?: boolean,\n },\n params?: {\n withsentences?: boolean,\n }): Promise<Document[]> {\n return (\n await this.restClient.post<Document[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n \n /**\n * Creates a list of document models from an input document (pdf, docx, txt, zip, xlsx)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.\n *\n * @param file Blob? - Input document\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param type TypeEnum? - Choose the structure of a document can be 'similarity' or 'extraction'. The type depends on the Use Case you're in.\n * @param documenttype string? - Id of the document template to use\n * @param withareas boolean? - Gives back the coordinates of sentences.\n * @param withcontextparagraphs boolean? - Gives back the context paragraphs.\n * @param withcharacters boolean? - Gives back the coordinates for each character of a sentence.\n * @param withformatinfo boolean? - Gives back aggregated formatting information of paragraphs for this document.\n * @param page number? - Number of the page to return as image. Zero based. Only for accept=image/png\n * @param x number? - X position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param y number? - Y position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param width number? - Width in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param height number? - Height in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param documentmode DocumentmodeEnum? - Determines to return paragraphs as rows or sentences. Only for accept=xlsx\n * @param withparagraphtype boolean? - documentmode=paragraph only and true -> text type is returned in column B. Only for accept=xlsx\n */\n async postAsXlsx(data: {\n file?: Blob,\n text?: string,\n type?: TypeEnum,\n documenttype?: string,\n withareas?: boolean,\n withcontextparagraphs?: boolean,\n withcharacters?: boolean,\n withformatinfo?: boolean,\n page?: number,\n x?: number,\n y?: number,\n width?: number,\n height?: number,\n documentmode?: DocumentmodeEnum,\n withparagraphtype?: boolean,\n },\n params?: {\n withsentences?: boolean,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.XLSX),\n data,\n \"blob\"\n )\n ).toFile();\n }\n \n /**\n * Creates a list of document models from an input document (pdf, docx, txt, zip, xlsx)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.\n *\n * @param file Blob? - Input document\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param type TypeEnum? - Choose the structure of a document can be 'similarity' or 'extraction'. The type depends on the Use Case you're in.\n * @param documenttype string? - Id of the document template to use\n * @param withareas boolean? - Gives back the coordinates of sentences.\n * @param withcontextparagraphs boolean? - Gives back the context paragraphs.\n * @param withcharacters boolean? - Gives back the coordinates for each character of a sentence.\n * @param withformatinfo boolean? - Gives back aggregated formatting information of paragraphs for this document.\n * @param page number? - Number of the page to return as image. Zero based. Only for accept=image/png\n * @param x number? - X position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param y number? - Y position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param width number? - Width in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param height number? - Height in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param documentmode DocumentmodeEnum? - Determines to return paragraphs as rows or sentences. Only for accept=xlsx\n * @param withparagraphtype boolean? - documentmode=paragraph only and true -> text type is returned in column B. Only for accept=xlsx\n */\n async postAsDocx(data: {\n file?: Blob,\n text?: string,\n type?: TypeEnum,\n documenttype?: string,\n withareas?: boolean,\n withcontextparagraphs?: boolean,\n withcharacters?: boolean,\n withformatinfo?: boolean,\n page?: number,\n x?: number,\n y?: number,\n width?: number,\n height?: number,\n documentmode?: DocumentmodeEnum,\n withparagraphtype?: boolean,\n },\n params?: {\n withsentences?: boolean,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.DOCX),\n data\n )\n ).toFile();\n }\n \n /**\n * Creates a list of document models from an input document (pdf, docx, txt, zip, xlsx)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.\n *\n * @param file Blob? - Input document\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param type TypeEnum? - Choose the structure of a document can be 'similarity' or 'extraction'. The type depends on the Use Case you're in.\n * @param documenttype string? - Id of the document template to use\n * @param withareas boolean? - Gives back the coordinates of sentences.\n * @param withcontextparagraphs boolean? - Gives back the context paragraphs.\n * @param withcharacters boolean? - Gives back the coordinates for each character of a sentence.\n * @param withformatinfo boolean? - Gives back aggregated formatting information of paragraphs for this document.\n * @param page number? - Number of the page to return as image. Zero based. Only for accept=image/png\n * @param x number? - X position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param y number? - Y position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param width number? - Width in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param height number? - Height in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param documentmode DocumentmodeEnum? - Determines to return paragraphs as rows or sentences. Only for accept=xlsx\n * @param withparagraphtype boolean? - documentmode=paragraph only and true -> text type is returned in column B. Only for accept=xlsx\n */\n async postAsPng(data: {\n file?: Blob,\n text?: string,\n type?: TypeEnum,\n documenttype?: string,\n withareas?: boolean,\n withcontextparagraphs?: boolean,\n withcharacters?: boolean,\n withformatinfo?: boolean,\n page?: number,\n x?: number,\n y?: number,\n width?: number,\n height?: number,\n documentmode?: DocumentmodeEnum,\n withparagraphtype?: boolean,\n },\n params?: {\n withsentences?: boolean,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.PNG),\n data\n )\n ).toFile();\n }\n \n /**\n * Creates a list of document models from an input document (pdf, docx, txt, zip, xlsx)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.\n *\n * @param file Blob? - Input document\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param type TypeEnum? - Choose the structure of a document can be 'similarity' or 'extraction'. The type depends on the Use Case you're in.\n * @param documenttype string? - Id of the document template to use\n * @param withareas boolean? - Gives back the coordinates of sentences.\n * @param withcontextparagraphs boolean? - Gives back the context paragraphs.\n * @param withcharacters boolean? - Gives back the coordinates for each character of a sentence.\n * @param withformatinfo boolean? - Gives back aggregated formatting information of paragraphs for this document.\n * @param page number? - Number of the page to return as image. Zero based. Only for accept=image/png\n * @param x number? - X position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param y number? - Y position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param width number? - Width in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param height number? - Height in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param documentmode DocumentmodeEnum? - Determines to return paragraphs as rows or sentences. Only for accept=xlsx\n * @param withparagraphtype boolean? - documentmode=paragraph only and true -> text type is returned in column B. Only for accept=xlsx\n */\n async postAsReqifz(data: {\n file?: Blob,\n text?: string,\n type?: TypeEnum,\n documenttype?: string,\n withareas?: boolean,\n withcontextparagraphs?: boolean,\n withcharacters?: boolean,\n withformatinfo?: boolean,\n page?: number,\n x?: number,\n y?: number,\n width?: number,\n height?: number,\n documentmode?: DocumentmodeEnum,\n withparagraphtype?: boolean,\n },\n params?: {\n withsentences?: boolean,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.REQIFZ),\n data\n )\n ).toFile();\n }\n}\n","import { CloneEndpoint } from './clone';\nimport { DocumentType } from '../model';\nimport { DocumentTypeChange } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documenttypes/{id}\"\n * This is a generated file do not change manually!\n */\nexport class DocumenttypeEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documenttypes\" + `/${this.id}`;\n }\n\n clone(): CloneEndpoint {\n return new CloneEndpoint(this.restClient, this.ENDPOINT);\n }\n\n /**\n * Read one document type.\n */\n async get(): Promise<DocumentType> {\n return (\n await this.restClient.get<DocumentType>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one document type. Needs roles: 'Advanced User', 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one document type. Needs roles: 'Advanced User', 'Domain Admin' or 'Expert User'\n *\n * @param body DocumentTypeChange - \n */\n async patch(\n body: DocumentTypeChange,\n ): Promise<DocumentType> {\n return (\n await this.restClient.patch<DocumentType>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { DocumentType } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documenttypes\"\n * This is a generated file do not change manually!\n */\nexport class DocumenttypesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documenttypes\";\n }\n\n /**\n * Returns all available document types.\n */\n async get(): Promise<DocumentType[]> {\n return (\n await this.restClient.get<DocumentType[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all document types. Needs roles: 'Advanced User', 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Add a new document type. Needs roles: 'Advanced User', 'Domain Admin' or 'Expert User'\n *\n * @param body DocumentType? - \n */\n async post(\n body?: DocumentType,\n ): Promise<DocumentType> {\n return (\n await this.restClient.post<DocumentType>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { ModelClass } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/modelclasses\"\n * This is a generated file do not change manually!\n */\nexport class ModelclassesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/modelclasses\";\n }\n\n /**\n * Get all model classes\n *\n * @param uilanguage string? - Selects the language of the labels in the JSON response; useful with multi-language domain models.\n */\n async get(params?: {\n uilanguage?: string,\n }): Promise<ModelClass[]> {\n return (\n await this.restClient.get<ModelClass[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { SemanticModel } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/modelinstances\"\n * This is a generated file do not change manually!\n */\nexport class ModelinstancesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/modelinstances\";\n }\n\n /**\n * Extract semantic model for a list of documents\n *\n * @param file Blob? - Input document (left document).\n * @param documentextractor string? - The document extractor you want to be considered.\n * @param applymatchersfordocumentextractor boolean? - \n */\n async post(data: {\n file?: Blob,\n documentextractor?: string,\n applymatchersfordocumentextractor?: boolean,\n },\n params?: {\n withimages?: boolean,\n withdocument?: boolean,\n withadditionalroots?: boolean,\n documenttype?: string,\n uilanguage?: string,\n }): Promise<SemanticModel> {\n return (\n await this.restClient.post<SemanticModel>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n \n /**\n * Extract semantic model for a list of documents\n *\n * @param body SemanticModel? - \n */\n async postJson(\n body: SemanticModel,\n params?: {\n withimages?: boolean,\n withdocument?: boolean,\n withadditionalroots?: boolean,\n documenttype?: string,\n uilanguage?: string,\n }): Promise<SemanticModel> {\n return (\n await this.restClient.post<SemanticModel>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n \n /**\n * Extract semantic model for a list of documents\n *\n * @param file Blob? - Input document (left document).\n * @param documentextractor string? - The document extractor you want to be considered.\n * @param applymatchersfordocumentextractor boolean? - \n */\n async postAsXlsx(data: {\n file?: Blob,\n documentextractor?: string,\n applymatchersfordocumentextractor?: boolean,\n },\n params?: {\n withimages?: boolean,\n withdocument?: boolean,\n withadditionalroots?: boolean,\n documenttype?: string,\n uilanguage?: string,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.XLSX),\n data,\n \"blob\"\n )\n ).toFile();\n }\n}\n","import { MediaType } from '../rest';\nimport { Prompt } from '../model';\nimport { PromptExecution } from '../model';\nimport { PromptResponse } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/prompts/{id}\"\n * This is a generated file do not change manually!\n */\nexport class PromptEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/prompts\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<Prompt> {\n return (\n await this.restClient.get<Prompt>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Prompt - \n */\n async put(\n body: Prompt,\n ): Promise<Prompt> {\n return (\n await this.restClient.put<Prompt>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n\n /**\n * Executes a saved prompt against the configured generative model.The 'id' parameter determines which prompt is executed.\n *\n * @param body PromptExecution? - \n */\n async post(\n body?: PromptExecution,\n ): Promise<PromptResponse> {\n return (\n await this.restClient.post<PromptResponse>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { Prompt } from '../model';\nimport { PromptOverview } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/prompts\"\n * This is a generated file do not change manually!\n */\nexport class PromptsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/prompts\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<PromptOverview[]> {\n return (\n await this.restClient.get<PromptOverview[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Prompt? - \n */\n async post(\n body?: Prompt,\n ): Promise<Prompt> {\n return (\n await this.restClient.post<Prompt>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/{documentid}/images/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ImageEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/images\" + `/${this.id}`;\n }\n\n /**\n * Download an image from a document.\n */\n async getAsBinary(): Promise<Blob> {\n return (\n await this.restClient.get<Blob>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.BINARY)\n )\n ).toFile();\n }\n}\n","import { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/{documentid}/images\"\n * This is a generated file do not change manually!\n */\nexport class ImagesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/images\";\n }\n}\n","import { MediaType } from '../rest';\nimport { Paragraph } from '../model';\nimport { ParagraphUpdate } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/{documentid}/paragraphs/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ParagraphEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/paragraphs\" + `/${this.id}`;\n }\n\n /**\n * Get one paragraph of a specific document.\n */\n async get(): Promise<Paragraph> {\n return (\n await this.restClient.get<Paragraph>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one paragraph of a specific document. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Update one paragraph of a specific document. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body ParagraphUpdate - \n */\n async patch(\n body: ParagraphUpdate,\n ): Promise<Paragraph> {\n return (\n await this.restClient.patch<Paragraph>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/{documentid}/paragraphs\"\n * This is a generated file do not change manually!\n */\nexport class ParagraphsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/paragraphs\";\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Sentence } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/{documentid}/sentences/{id}\"\n * This is a generated file do not change manually!\n */\nexport class SentenceEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/sentences\" + `/${this.id}`;\n }\n\n /**\n * Get one single sentence of specific document.\n */\n async get(): Promise<Sentence> {\n return (\n await this.restClient.get<Sentence>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/{documentid}/sentences\"\n * This is a generated file do not change manually!\n */\nexport class SentencesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/sentences\";\n }\n}\n","import { Document } from '../model';\nimport { DocumentInformation } from '../model';\nimport { ImageEndpoint } from './image';\nimport { ImagesEndpoint } from './images';\nimport { MediaType } from '../rest';\nimport { ParagraphEndpoint } from './paragraph';\nimport { ParagraphsEndpoint } from './paragraphs';\nimport { RestClient } from '../rest';\nimport { SentenceEndpoint } from './sentence';\nimport { SentencesEndpoint } from './sentences';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/{documentid}\"\n * This is a generated file do not change manually!\n */\nexport class ReferencedocumentEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly documentid: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/referencedocuments\" + `/${this.documentid}`;\n }\n\n images(): ImagesEndpoint;\n images(id: string): ImageEndpoint\n \n images(id?: string): ImageEndpoint | ImagesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ImageEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ImagesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n paragraphs(): ParagraphsEndpoint;\n paragraphs(id: string): ParagraphEndpoint\n \n paragraphs(id?: string): ParagraphEndpoint | ParagraphsEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ParagraphEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ParagraphsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n sentences(): SentencesEndpoint;\n sentences(id: string): SentenceEndpoint\n \n sentences(id?: string): SentenceEndpoint | SentencesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new SentenceEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new SentencesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n /**\n * Returns one reference document by ID.\n *\n * @param querybyname boolean? - If true, documentid is treated as name and we search for a document with a given name.\n */\n async get(params?: {\n querybyname?: boolean,\n }): Promise<Document> {\n return (\n await this.restClient.get<Document>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one reference document. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one reference document. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body DocumentInformation - \n */\n async patch(\n body: DocumentInformation,\n ): Promise<DocumentInformation> {\n return (\n await this.restClient.patch<DocumentInformation>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { DocumentNamedEntity } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/namedentities\"\n * This is a generated file do not change manually!\n */\nexport class NamedentitiesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/namedentities\";\n }\n\n /**\n * Get all named entities (a.k.a custom entities) from reference documents.Can be filtered by tags or documentclassids.\n *\n * @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).\n * @param documentclassids string? - List of documentclass IDs for the target. The limit here is 1000 IDs.\r\n * The IDs are passed as a JSON array.\r\n * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.\n */\n async get(params?: {\n tags?: string,\n documentclassids?: string,\n }): Promise<DocumentNamedEntity[]> {\n return (\n await this.restClient.get<DocumentNamedEntity[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Statistic } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/statistic\"\n * This is a generated file do not change manually!\n */\nexport class StatisticEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/statistic\";\n }\n\n /**\n * Returns statistical information about the reference documents a.k.a. library.\n */\n async get(): Promise<Statistic> {\n return (\n await this.restClient.get<Statistic>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { ClustersEndpoint } from './clusters';\nimport { Document } from '../model';\nimport { DocumentInformation } from '../model';\nimport { MediaType } from '../rest';\nimport { NamedentitiesEndpoint } from './namedentities';\nimport { ReferenceDocumentsResponseContainer } from '../model';\nimport { RestClient } from '../rest';\nimport { StatisticEndpoint } from './statistic';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments\"\n * This is a generated file do not change manually!\n */\nexport class ReferencedocumentsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/referencedocuments\";\n }\n\n clusters(): ClustersEndpoint {\n return new ClustersEndpoint(this.restClient, this.ENDPOINT);\n }\n\n namedentities(): NamedentitiesEndpoint {\n return new NamedentitiesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n statistic(): StatisticEndpoint {\n return new StatisticEndpoint(this.restClient, this.ENDPOINT);\n }\n\n /**\n * Get all reference documents a.k.a. library items.Supports server side pagination and filtering for <strong>application/json</strong> media type only by using <strong>offset</strong> and <strong>limit</strong> query parameter.<br><strong>Filter parameters:</strong> name, createdbefore, createdafter, tags, documentclassids, metadata.<br>Without <strong>offset</strong> and <strong>limit</strong> parameter, data can be filtered only by <strong>tags</strong> and <strong>documentclassids</strong>.\n *\n * @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).\n * @param documentids string? - List of document Ids for target. The limit here is 65000 IDs. The IDs can be passed as a comma separated string.\n * @param name string? - Filter documents for a given name\n * @param createdafter number? - Filter for documents which are created after a given UNIX timestamp. The createdafter filter only works when also using the parameters offset and limit.\n * @param createdbefore number? - Filter for documents which are created before a given UNIX timestamp. The createdbefore filter only works when also using the parameters offset and limit.\n * @param updatedafter number? - Filter for documents which are updated after a given UNIX timestamp. The updatedafter filter only works when also using the parameters offset and limit.\n * @param updatedbefore number? - Filter for documents which are updated before a given UNIX timestamp. The updatedbefore filter only works when also using the parameters offset and limit.\n * @param documentclassids string? - List of documentclass IDs for the target. The limit here is 1000 IDs. The IDs are passed as a comma separated list.\n * @param withoutdocumentclass boolean? - Filters the returned reference documents to include only documents that are not linked to a documentclass. The parameter is of type boolean and is set to false by default.\n * @param mincharacters number? - Filters the returned reference documents to include only documents that have a minimum of characters\n * @param metadata string? - Filter documents for part of metadata, casing is ignored.\n * @param comment string? - Filter documents for part of comment, casing is ignored.\n * @param sourcedoc boolean? - If true, then only source documents are returned.\n * @param sourcedocumentid string? - Filter documents a specific source document.\n * @param offset number? - Specify from which number on reference documents should be returned.\n * @param limit number? - Specify the number of reference documents to be returned.\n * @param sort string? - Define by which fields the returned reference documents are sorted. The following values can be sent as a comma-separated list: 'name', 'filename', 'metadata', 'created', 'updated', 'color', 'comment', 'derivedcolor', 'derivedcomment', 'documentclass'. Add a - before the field name to sort in descending order. Example: \"documentclass,-created\".\n * @param fields string? - Define which fields should be returned by the /referencedocuments endpoints. The following values can be sent as a comma-separated list: 'id', 'name', 'tags', 'derivedtags', 'metadata', 'filename', 'created', 'processed', 'lang', 'updated, color, derivedcolor, comment, derivedcomment, documentclass, contentpreview'. If empty or null all fields will be returned. Example: \"id,name,contentpreview,tags\"\n */\n async get(params?: {\n tags?: string,\n documentids?: string,\n name?: string,\n createdafter?: number,\n createdbefore?: number,\n updatedafter?: number,\n updatedbefore?: number,\n documentclassids?: string,\n withoutdocumentclass?: boolean,\n mincharacters?: number,\n metadata?: string,\n comment?: string,\n sourcedoc?: boolean,\n sourcedocumentid?: string,\n offset?: number,\n limit?: number,\n sort?: string,\n fields?: string,\n }): Promise<ReferenceDocumentsResponseContainer> {\n return (\n await this.restClient.get<ReferenceDocumentsResponseContainer>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n /**\n * Get all reference documents a.k.a. library items.Supports server side pagination and filtering for <strong>application/json</strong> media type only by using <strong>offset</strong> and <strong>limit</strong> query parameter.<br><strong>Filter parameters:</strong> name, createdbefore, createdafter, tags, documentclassids, metadata.<br>Without <strong>offset</strong> and <strong>limit</strong> parameter, data can be filtered only by <strong>tags</strong> and <strong>documentclassids</strong>.\n *\n * @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).\n * @param documentids string? - List of document Ids for target. The limit here is 65000 IDs. The IDs can be passed as a comma separated string.\n * @param name string? - Filter documents for a given name\n * @param createdafter number? - Filter for documents which are created after a given UNIX timestamp. The createdafter filter only works when also using the parameters offset and limit.\n * @param createdbefore number? - Filter for documents which are created before a given UNIX timestamp. The createdbefore filter only works when also using the parameters offset and limit.\n * @param updatedafter number? - Filter for documents which are updated after a given UNIX timestamp. The updatedafter filter only works when also using the parameters offset and limit.\n * @param updatedbefore number? - Filter for documents which are updated before a given UNIX timestamp. The updatedbefore filter only works when also using the parameters offset and limit.\n * @param documentclassids string? - List of documentclass IDs for the target. The limit here is 1000 IDs. The IDs are passed as a comma separated list.\n * @param withoutdocumentclass boolean? - Filters the returned reference documents to include only documents that are not linked to a documentclass. The parameter is of type boolean and is set to false by default.\n * @param mincharacters number? - Filters the returned reference documents to include only documents that have a minimum of characters\n * @param metadata string? - Filter documents for part of metadata, casing is ignored.\n * @param comment string? - Filter documents for part of comment, casing is ignored.\n * @param sourcedoc boolean? - If true, then only source documents are returned.\n * @param sourcedocumentid string? - Filter documents a specific source document.\n * @param offset number? - Specify from which number on reference documents should be returned.\n * @param limit number? - Specify the number of reference documents to be returned.\n * @param sort string? - Define by which fields the returned reference documents are sorted. The following values can be sent as a comma-separated list: 'name', 'filename', 'metadata', 'created', 'updated', 'color', 'comment', 'derivedcolor', 'derivedcomment', 'documentclass'. Add a - before the field name to sort in descending order. Example: \"documentclass,-created\".\n * @param fields string? - Define which fields should be returned by the /referencedocuments endpoints. The following values can be sent as a comma-separated list: 'id', 'name', 'tags', 'derivedtags', 'metadata', 'filename', 'created', 'processed', 'lang', 'updated, color, derivedcolor, comment, derivedcomment, documentclass, contentpreview'. If empty or null all fields will be returned. Example: \"id,name,contentpreview,tags\"\n */\n async getAsXlsx(params?: {\n tags?: string,\n documentids?: string,\n name?: string,\n createdafter?: number,\n createdbefore?: number,\n updatedafter?: number,\n updatedbefore?: number,\n documentclassids?: string,\n withoutdocumentclass?: boolean,\n mincharacters?: number,\n metadata?: string,\n comment?: string,\n sourcedoc?: boolean,\n sourcedocumentid?: string,\n offset?: number,\n limit?: number,\n sort?: string,\n fields?: string,\n }): Promise<Blob> {\n return (\n await this.restClient.get<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.XLSX)\n )\n ).toFile();\n }\n\n /**\n * Delete all reference documents. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Update metadata of multiple reference documents. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body DocumentInformation[] - \n */\n async patch(\n body: DocumentInformation[],\n ): Promise<void> {\n return (\n await this.restClient.patch<void>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n\n /**\n * Add a reference document a.k.a. library item.\n *\n * @param name string? - The document name in your library (in contrast to the file name being used during upload).\n * @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).\n * @param metadata string? - Filter by metadata\n * @param file Blob? - Input document (left document).\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param documenttype string? - Specifies the document type that is to be used by semantha when reading the uploaded document.\n * @param color string? - Use this parameter to specify the color for your reference document. Possible values are RED, MAGENTA, AQUA, ORANGE, GREY, or LAVENDER.\n * @param comment string? - Use this parameter to add a comment to your reference document.\n * @param documentclassid string? - List of documentclass ID for the target. The limit here is 1 ID.\n * @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.\n */\n async post(data: {\n name?: string,\n tags?: string,\n metadata?: string,\n file?: Blob,\n text?: string,\n documenttype?: string,\n color?: string,\n comment?: string,\n documentclassid?: string,\n addparagraphsasdocuments?: boolean,\n },\n params?: {\n detectlanguage?: boolean,\n addsourcedocument?: boolean,\n }): Promise<DocumentInformation[]> {\n return (\n await this.restClient.post<DocumentInformation[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n \n /**\n * Add a reference document a.k.a. library item.\n *\n * @param body Document[]? - \n */\n async postJson(\n body: Document[],\n params?: {\n detectlanguage?: boolean,\n addsourcedocument?: boolean,\n }): Promise<DocumentInformation[]> {\n return (\n await this.restClient.post<DocumentInformation[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Document } from '../model';\nimport { DocumentMetaData } from '../model';\nimport { MediaType } from '../rest';\nimport { ModeEnum } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/references\"\n * This is a generated file do not change manually!\n */\nexport class ReferencesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/references\";\n }\n\n /**\n * Determine references with one input documentReturns the input document (file) with its references. Depending on the 'Accept' header different output formats are supported. For 'application/json' we return the document with references. For xlsx we return an Excel sheet with each reference as rows. If input and output is docx or pdf we return the document with comments on paragraphs.\n *\n * @param file Blob? - Input document (left document).\n * @param referencedocument Blob? - Reference document(s) to be used instead of the documents in the domain's library.\n * @param referencedocumentids string[]? - To filter for document IDs. The limit here is 65000 IDs.\r\n * The IDs are passed as a JSON array.\n * @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).\n * @param documentclassids string[]? - List of documentclass IDs for the target. The limit here is 1000 IDs.\r\n * The IDs are passed as a JSON array.\r\n * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.\n * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.\r\n * In general, the higher the threshold, the more precise the results.\n * @param synonymousthreshold number? - Threshold for good matches.\n * @param marknomatch boolean? - Marks the paragraphs that have not matched\n * @param withreferencetext boolean? - Provide the reference text in the result JSON. If set to false, you have to query the library to resolve the references yourself.\n * @param mode ModeEnum? - When using the references endpoint: Use mode to determine the type of search semantha should perform. \r\n * fingerprint: semantic search based on sentences; \r\n * keyword: keyword: search based on sentences; \r\n * document: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. Higher scores indicate higher similarity. Please note that the similarity score has no upper limit and is not normalized; \r\n * document_fingerprint: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. The results are then reranked based on a semantic search. This reranking results in normalized scores and as such represents an enhancement of the mode document; \r\n * fingerprint_keyword (formerly auto): semantic search, if no results are found a keyword search is performed\r\n * Creating document model: It also defines what structure should be considered for what operator (similarity or extraction).\n * @param documenttype string? - Specifies the document type that is to be used by semantha when reading the uploaded document.\n * @param metadata DocumentMetaData[]? - Filter by metadata\n * @param considertexttype boolean? - Use this parameter to ensure that only paragraphs of the same type are compared with each other. The parameter is of type boolean and is set to false by default.\n * @param resizeparagraphs boolean? - Automatically resizes paragraphs based on their semantic meaning.\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param withreferenceimage boolean? - \n * @param withareas boolean? - Gives back the coordinates of sentences.\n */\n async post(data: {\n file?: Blob,\n referencedocument?: Blob,\n referencedocumentids?: string[],\n tags?: string,\n documentclassids?: string[],\n similaritythreshold?: number,\n synonymousthreshold?: number,\n marknomatch?: boolean,\n withreferencetext?: boolean,\n mode?: ModeEnum,\n documenttype?: string,\n metadata?: DocumentMetaData[],\n considertexttype?: boolean,\n resizeparagraphs?: boolean,\n text?: string,\n withreferenceimage?: boolean,\n withareas?: boolean,\n },\n params?: {\n detectlanguage?: boolean,\n maxreferences?: number,\n }): Promise<Document> {\n return (\n await this.restClient.post<Document>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n \n /**\n * Determine references with one input documentReturns the input document (file) with its references. Depending on the 'Accept' header different output formats are supported. For 'application/json' we return the document with references. For xlsx we return an Excel sheet with each reference as rows. If input and output is docx or pdf we return the document with comments on paragraphs.\n *\n * @param file Blob? - Input document (left document).\n * @param referencedocument Blob? - Reference document(s) to be used instead of the documents in the domain's library.\n * @param referencedocumentids string[]? - To filter for document IDs. The limit here is 65000 IDs.\r\n * The IDs are passed as a JSON array.\n * @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).\n * @param documentclassids string[]? - List of documentclass IDs for the target. The limit here is 1000 IDs.\r\n * The IDs are passed as a JSON array.\r\n * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.\n * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.\r\n * In general, the higher the threshold, the more precise the results.\n * @param synonymousthreshold number? - Threshold for good matches.\n * @param marknomatch boolean? - Marks the paragraphs that have not matched\n * @param withreferencetext boolean? - Provide the reference text in the result JSON. If set to false, you have to query the library to resolve the references yourself.\n * @param mode ModeEnum? - When using the references endpoint: Use mode to determine the type of search semantha should perform. \r\n * fingerprint: semantic search based on sentences; \r\n * keyword: keyword: search based on sentences; \r\n * document: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. Higher scores indicate higher similarity. Please note that the similarity score has no upper limit and is not normalized; \r\n * document_fingerprint: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. The results are then reranked based on a semantic search. This reranking results in normalized scores and as such represents an enhancement of the mode document; \r\n * fingerprint_keyword (formerly auto): semantic search, if no results are found a keyword search is performed\r\n * Creating document model: It also defines what structure should be considered for what operator (similarity or extraction).\n * @param documenttype string? - Specifies the document type that is to be used by semantha when reading the uploaded document.\n * @param metadata DocumentMetaData[]? - Filter by metadata\n * @param considertexttype boolean? - Use this parameter to ensure that only paragraphs of the same type are compared with each other. The parameter is of type boolean and is set to false by default.\n * @param resizeparagraphs boolean? - Automatically resizes paragraphs based on their semantic meaning.\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param withreferenceimage boolean? - \n * @param withareas boolean? - Gives back the coordinates of sentences.\n */\n async postAsXlsx(data: {\n file?: Blob,\n referencedocument?: Blob,\n referencedocumentids?: string[],\n tags?: string,\n documentclassids?: string[],\n similaritythreshold?: number,\n synonymousthreshold?: number,\n marknomatch?: boolean,\n withreferencetext?: boolean,\n mode?: ModeEnum,\n documenttype?: string,\n metadata?: DocumentMetaData[],\n considertexttype?: boolean,\n resizeparagraphs?: boolean,\n text?: string,\n withreferenceimage?: boolean,\n withareas?: boolean,\n },\n params?: {\n detectlanguage?: boolean,\n maxreferences?: number,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.XLSX),\n data,\n \"blob\"\n )\n ).toFile();\n }\n \n /**\n * Determine references with one input documentReturns the input document (file) with its references. Depending on the 'Accept' header different output formats are supported. For 'application/json' we return the document with references. For xlsx we return an Excel sheet with each reference as rows. If input and output is docx or pdf we return the document with comments on paragraphs.\n *\n * @param file Blob? - Input document (left document).\n * @param referencedocument Blob? - Reference document(s) to be used instead of the documents in the domain's library.\n * @param referencedocumentids string[]? - To filter for document IDs. The limit here is 65000 IDs.\r\n * The IDs are passed as a JSON array.\n * @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).\n * @param documentclassids string[]? - List of documentclass IDs for the target. The limit here is 1000 IDs.\r\n * The IDs are passed as a JSON array.\r\n * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.\n * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.\r\n * In general, the higher the threshold, the more precise the results.\n * @param synonymousthreshold number? - Threshold for good matches.\n * @param marknomatch boolean? - Marks the paragraphs that have not matched\n * @param withreferencetext boolean? - Provide the reference text in the result JSON. If set to false, you have to query the library to resolve the references yourself.\n * @param mode ModeEnum? - When using the references endpoint: Use mode to determine the type of search semantha should perform. \r\n * fingerprint: semantic search based on sentences; \r\n * keyword: keyword: search based on sentences; \r\n * document: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. Higher scores indicate higher similarity. Please note that the similarity score has no upper limit and is not normalized; \r\n * document_fingerprint: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. The results are then reranked based on a semantic search. This reranking results in normalized scores and as such represents an enhancement of the mode document; \r\n * fingerprint_keyword (formerly auto): semantic search, if no results are found a keyword search is performed\r\n * Creating document model: It also defines what structure should be considered for what operator (similarity or extraction).\n * @param documenttype string? - Specifies the document type that is to be used by semantha when reading the uploaded document.\n * @param metadata DocumentMetaData[]? - Filter by metadata\n * @param considertexttype boolean? - Use this parameter to ensure that only paragraphs of the same type are compared with each other. The parameter is of type boolean and is set to false by default.\n * @param resizeparagraphs boolean? - Automatically resizes paragraphs based on their semantic meaning.\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param withreferenceimage boolean? - \n * @param withareas boolean? - Gives back the coordinates of sentences.\n */\n async postAsDocx(data: {\n file?: Blob,\n referencedocument?: Blob,\n referencedocumentids?: string[],\n tags?: string,\n documentclassids?: string[],\n similaritythreshold?: number,\n synonymousthreshold?: number,\n marknomatch?: boolean,\n withreferencetext?: boolean,\n mode?: ModeEnum,\n documenttype?: string,\n metadata?: DocumentMetaData[],\n considertexttype?: boolean,\n resizeparagraphs?: boolean,\n text?: string,\n withreferenceimage?: boolean,\n withareas?: boolean,\n },\n params?: {\n detectlanguage?: boolean,\n maxreferences?: number,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.DOCX),\n data\n )\n ).toFile();\n }\n \n /**\n * Determine references with one input documentReturns the input document (file) with its references. Depending on the 'Accept' header different output formats are supported. For 'application/json' we return the document with references. For xlsx we return an Excel sheet with each reference as rows. If input and output is docx or pdf we return the document with comments on paragraphs.\n *\n * @param file Blob? - Input document (left document).\n * @param referencedocument Blob? - Reference document(s) to be used instead of the documents in the domain's library.\n * @param referencedocumentids string[]? - To filter for document IDs. The limit here is 65000 IDs.\r\n * The IDs are passed as a JSON array.\n * @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).\n * @param documentclassids string[]? - List of documentclass IDs for the target. The limit here is 1000 IDs.\r\n * The IDs are passed as a JSON array.\r\n * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.\n * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.\r\n * In general, the higher the threshold, the more precise the results.\n * @param synonymousthreshold number? - Threshold for good matches.\n * @param marknomatch boolean? - Marks the paragraphs that have not matched\n * @param withreferencetext boolean? - Provide the reference text in the result JSON. If set to false, you have to query the library to resolve the references yourself.\n * @param mode ModeEnum? - When using the references endpoint: Use mode to determine the type of search semantha should perform. \r\n * fingerprint: semantic search based on sentences; \r\n * keyword: keyword: search based on sentences; \r\n * document: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. Higher scores indicate higher similarity. Please note that the similarity score has no upper limit and is not normalized; \r\n * document_fingerprint: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. The results are then reranked based on a semantic search. This reranking results in normalized scores and as such represents an enhancement of the mode document; \r\n * fingerprint_keyword (formerly auto): semantic search, if no results are found a keyword search is performed\r\n * Creating document model: It also defines what structure should be considered for what operator (similarity or extraction).\n * @param documenttype string? - Specifies the document type that is to be used by semantha when reading the uploaded document.\n * @param metadata DocumentMetaData[]? - Filter by metadata\n * @param considertexttype boolean? - Use this parameter to ensure that only paragraphs of the same type are compared with each other. The parameter is of type boolean and is set to false by default.\n * @param resizeparagraphs boolean? - Automatically resizes paragraphs based on their semantic meaning.\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param withreferenceimage boolean? - \n * @param withareas boolean? - Gives back the coordinates of sentences.\n */\n async postAsPdf(data: {\n file?: Blob,\n referencedocument?: Blob,\n referencedocumentids?: string[],\n tags?: string,\n documentclassids?: string[],\n similaritythreshold?: number,\n synonymousthreshold?: number,\n marknomatch?: boolean,\n withreferencetext?: boolean,\n mode?: ModeEnum,\n documenttype?: string,\n metadata?: DocumentMetaData[],\n considertexttype?: boolean,\n resizeparagraphs?: boolean,\n text?: string,\n withreferenceimage?: boolean,\n withareas?: boolean,\n },\n params?: {\n detectlanguage?: boolean,\n maxreferences?: number,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.PDF),\n data\n )\n ).toFile();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Settings } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/settings\"\n * This is a generated file do not change manually!\n */\nexport class SettingsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/settings\";\n }\n\n /**\n * Get the configuration settings of a specific domain.\n *\n * @param withsimilaritymodelid boolean? - If true, similarityModelId and smartClusterSimilarityModelId are returned.\n */\n async get(params?: {\n withsimilaritymodelid?: boolean,\n }): Promise<Settings> {\n return (\n await this.restClient.get<Settings>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Update configuration settings for this domain, e.g. which similarity model to use. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Settings - \n */\n async patch(\n body: Settings,\n ): Promise<Settings> {\n return (\n await this.restClient.patch<Settings>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MatrixRow } from '../model';\nimport { MediaType } from '../rest';\nimport { ModeEnum } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/similaritymatrix/cluster\"\n * This is a generated file do not change manually!\n */\nexport class SimilaritymatrixClusterEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/cluster\";\n }\n\n /**\n * Get document clustersConsolidate the documents to clusters based on the results of `post post /api/domains/{domainname}/similaritymatrix`\n *\n * @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).\n * @param documentids string[]? - List of document Ids for target. The limit here is 65000 IDs.\r\n * The IDs are passed as a JSON array.\n * @param documentclassids string[]? - List of documentclass IDs for the target. The limit here is 1000 IDs.\r\n * The IDs are passed as a JSON array.\r\n * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.\n * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.\r\n * In general, the higher the threshold, the more precise the results.\n * @param mode ModeEnum? - When using the references endpoint: Use mode to determine the type of search semantha should perform. \r\n * fingerprint: semantic search based on sentences; \r\n * keyword: keyword: search based on sentences; \r\n * document: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. Higher scores indicate higher similarity. Please note that the similarity score has no upper limit and is not normalized; \r\n * document_fingerprint: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. The results are then reranked based on a semantic search. This reranking results in normalized scores and as such represents an enhancement of the mode document; \r\n * fingerprint_keyword (formerly auto): semantic search, if no results are found a keyword search is performed\r\n * Creating document model: It also defines what structure should be considered for what operator (similarity or extraction).\n * @param considertexttype boolean? - Use this parameter to ensure that only paragraphs of the same type are compared with each other. The parameter is of type boolean and is set to false by default.\n */\n async post(data: {\n tags?: string,\n documentids?: string[],\n documentclassids?: string[],\n similaritythreshold?: number,\n mode?: ModeEnum,\n considertexttype?: boolean,\n }): Promise<MatrixRow[]> {\n return (\n await this.restClient.post<MatrixRow[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n \n /**\n * Get document clustersConsolidate the documents to clusters based on the results of `post post /api/domains/{domainname}/similaritymatrix`\n *\n * @param body MatrixRow[]? - \n */\n async postJson(\n body?: MatrixRow[],\n ): Promise<MatrixRow[]> {\n return (\n await this.restClient.post<MatrixRow[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MatrixRow } from '../model';\nimport { MediaType } from '../rest';\nimport { ModeEnum } from '../model';\nimport { RestClient } from '../rest';\nimport { SimilaritymatrixClusterEndpoint } from './similaritymatrixCluster';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/similaritymatrix\"\n * This is a generated file do not change manually!\n */\nexport class SimilaritymatrixEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/similaritymatrix\";\n }\n\n cluster(): SimilaritymatrixClusterEndpoint {\n return new SimilaritymatrixClusterEndpoint(this.restClient, this.ENDPOINT);\n }\n\n /**\n * Get a similarity matrix\n *\n * @param file Blob? - Input document (left document).\n * @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).\n * @param sourcetags string? - Filters the input library by tags\n * @param documentids string[]? - List of document Ids for target. The limit here is 65000 IDs.\r\n * The IDs are passed as a JSON array.\n * @param sourcedocumentids string[]? - List of document IDs for source. The limit here is 65000 IDs.\r\n * The IDs are passed as a JSON array.\n * @param documentclassids string[]? - List of documentclass IDs for the target. The limit here is 1000 IDs.\r\n * The IDs are passed as a JSON array.\r\n * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.\n * @param sourcedocumentclassids string[]? - List of documentclass IDs for the source. The limit here is 1000 IDs.\r\n * The IDs are passed as a JSON array.\n * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.\r\n * In general, the higher the threshold, the more precise the results.\n * @param mode ModeEnum? - When using the references endpoint: Use mode to determine the type of search semantha should perform. \r\n * fingerprint: semantic search based on sentences; \r\n * keyword: keyword: search based on sentences; \r\n * document: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. Higher scores indicate higher similarity. Please note that the similarity score has no upper limit and is not normalized; \r\n * document_fingerprint: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. The results are then reranked based on a semantic search. This reranking results in normalized scores and as such represents an enhancement of the mode document; \r\n * fingerprint_keyword (formerly auto): semantic search, if no results are found a keyword search is performed\r\n * Creating document model: It also defines what structure should be considered for what operator (similarity or extraction).\n * @param documenttype string? - Specifies the document type that is to be used by semantha when reading the uploaded document.\n * @param considertexttype boolean? - Use this parameter to ensure that only paragraphs of the same type are compared with each other. The parameter is of type boolean and is set to false by default.\n */\n async post(data: {\n file?: Blob,\n tags?: string,\n sourcetags?: string,\n documentids?: string[],\n sourcedocumentids?: string[],\n documentclassids?: string[],\n sourcedocumentclassids?: string[],\n similaritythreshold?: number,\n mode?: ModeEnum,\n documenttype?: string,\n considertexttype?: boolean,\n }): Promise<MatrixRow[]> {\n return (\n await this.restClient.post<MatrixRow[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Summarization } from '../model';\nimport { SummarylengthEnum } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/summarizations\"\n * This is a generated file do not change manually!\n */\nexport class SummarizationsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/summarizations\";\n }\n\n /**\n * Generates a summary for given number of texts. If topic is supplied summarization is generated for this topic\n *\n * @param texts string[]? - List of texts which are summarized.\n * @param topic string? - Set the topic which is used to summarize the given texts.\n * @param language string? - Change the language of the summary text, if not set the language of the domain is used.\r\n * Supported Languages:\r\n * \"ar\", \"cs\", \"da\", \"de\", \"en\", \"es\", \"el\", \"fr\", \"fi\", \"hu\", \"hr\",\r\n * \"it\", \"ja\", \"ko\", \"nl\", \"no\", \"pl\", \"pt\", \"ro\", \"ru\", \"sk\", \"sl\",\r\n * \"sv\", \"tr\", \"zh\"\n * @param temperature number? - Temperature regulates the unpredictability of a language model's output. With higher temperature settings, outputs become more creative and less predictable.\n * @param summarylength SummarylengthEnum? - Influences the length of the returned summary. Values are 'SHORT, 'MEDIUM', 'LONG'\n * @param promptid string? - Id of the prompt to generate a summary, other parameters are ignored.\n */\n async post(data: {\n texts?: string[],\n topic?: string,\n language?: string,\n temperature?: number,\n summarylength?: SummarylengthEnum,\n promptid?: string,\n }): Promise<Summarization> {\n return (\n await this.restClient.post<Summarization>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n}\n","import { DocumentInformation } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/tags/{tagname}/referencedocuments\"\n * This is a generated file do not change manually!\n */\nexport class TagReferencedocumentsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/referencedocuments\";\n }\n\n /**\n * Get all reference documents with a specific tag\n */\n async get(): Promise<DocumentInformation[]> {\n return (\n await this.restClient.get<DocumentInformation[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete reference documents with a specific tag\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n}\n","import { RestClient } from '../rest';\nimport { TagReferencedocumentsEndpoint } from './tagReferencedocuments';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/tags/{tagname}\"\n * This is a generated file do not change manually!\n */\nexport class TagEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly tagname: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/tags\" + `/${this.tagname}`;\n }\n\n referencedocuments(): TagReferencedocumentsEndpoint {\n return new TagReferencedocumentsEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/tags\"\n * This is a generated file do not change manually!\n */\nexport class TagsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/tags\";\n }\n\n /**\n * Get tags\n */\n async get(): Promise<string[]> {\n return (\n await this.restClient.get<string[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { TextType } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/texttypes\"\n * This is a generated file do not change manually!\n */\nexport class TexttypesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/texttypes\";\n }\n\n /**\n * Returns all available text types.\n */\n async get(): Promise<TextType[]> {\n return (\n await this.restClient.get<TextType[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Resets changes made via PATCH calls. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Saves text types, order of elements determines display order. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body TextType[] - \n */\n async patch(\n body: TextType[],\n ): Promise<void> {\n return (\n await this.restClient.patch<void>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { TransactionSummary } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/transactions\"\n * This is a generated file do not change manually!\n */\nexport class TransactionsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/transactions\";\n }\n\n /**\n * Returns a summary of document transactions for a given day interval. Needs role: 'Domain Admin'\n *\n * @param startdate string? - Start date of the day interval, inclusive that day. Format is: yyyy-mm-dd\n * @param enddate string? - End date of the day interval, excluse that day. Format is: yyyy-mm-dd\n */\n async get(params?: {\n startdate?: string,\n enddate?: string,\n }): Promise<TransactionSummary[]> {\n return (\n await this.restClient.get<TransactionSummary[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { SemanticModel } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/validation\"\n * This is a generated file do not change manually!\n */\nexport class ValidationEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/validation\";\n }\n\n /**\n * Validate existing data in a documentThe coordinates come back, if data is found\n *\n * @param file Blob? - Input document (left document).\n */\n async post(\n file?: Blob,\n ): Promise<SemanticModel> {\n return (\n await this.restClient.post<SemanticModel>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n file\n )\n ).toModel();\n }\n}\n","import { AnswersEndpoint } from './answers';\nimport { ChatEndpoint } from './chat';\nimport { ChatsEndpoint } from './chats';\nimport { DocumentannotationsEndpoint } from './documentannotations';\nimport { DocumentclassEndpoint } from './documentclass';\nimport { DocumentclassesEndpoint } from './documentclasses';\nimport { DocumentsEndpoint } from './documents';\nimport { DocumenttypeEndpoint } from './documenttype';\nimport { DocumenttypesEndpoint } from './documenttypes';\nimport { Domain } from '../model';\nimport { MediaType } from '../rest';\nimport { ModelclassesEndpoint } from './modelclasses';\nimport { ModelinstancesEndpoint } from './modelinstances';\nimport { PromptEndpoint } from './prompt';\nimport { PromptsEndpoint } from './prompts';\nimport { ReferencedocumentEndpoint } from './referencedocument';\nimport { ReferencedocumentsEndpoint } from './referencedocuments';\nimport { ReferencesEndpoint } from './references';\nimport { RestClient } from '../rest';\nimport { SettingsEndpoint } from './settings';\nimport { SimilaritymatrixEndpoint } from './similaritymatrix';\nimport { SummarizationsEndpoint } from './summarizations';\nimport { TagEndpoint } from './tag';\nimport { TagsEndpoint } from './tags';\nimport { TexttypesEndpoint } from './texttypes';\nimport { TransactionsEndpoint } from './transactions';\nimport { ValidationEndpoint } from './validation';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}\"\n * This is a generated file do not change manually!\n */\nexport class DomainEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly domainname: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/domains\" + `/${this.domainname}`;\n }\n\n answers(): AnswersEndpoint {\n return new AnswersEndpoint(this.restClient, this.ENDPOINT);\n }\n\n chats(): ChatsEndpoint;\n chats(id: string): ChatEndpoint\n \n chats(id?: string): ChatEndpoint | ChatsEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ChatEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ChatsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n documentannotations(): DocumentannotationsEndpoint {\n return new DocumentannotationsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n documentclasses(): DocumentclassesEndpoint;\n documentclasses(id: string): DocumentclassEndpoint\n \n documentclasses(id?: string): DocumentclassEndpoint | DocumentclassesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new DocumentclassEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new DocumentclassesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n documents(): DocumentsEndpoint {\n return new DocumentsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n documenttypes(): DocumenttypesEndpoint;\n documenttypes(id: string): DocumenttypeEndpoint\n \n documenttypes(id?: string): DocumenttypeEndpoint | DocumenttypesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new DocumenttypeEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new DocumenttypesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n modelclasses(): ModelclassesEndpoint {\n return new ModelclassesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n modelinstances(): ModelinstancesEndpoint {\n return new ModelinstancesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n prompts(): PromptsEndpoint;\n prompts(id: string): PromptEndpoint\n \n prompts(id?: string): PromptEndpoint | PromptsEndpoint {\n if(id !== undefined && id !== null) {\n\t return new PromptEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new PromptsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n referencedocuments(): ReferencedocumentsEndpoint;\n referencedocuments(documentid: string): ReferencedocumentEndpoint\n \n referencedocuments(documentid?: string): ReferencedocumentEndpoint | ReferencedocumentsEndpoint {\n if(documentid !== undefined && documentid !== null) {\n\t return new ReferencedocumentEndpoint(this.restClient, this.ENDPOINT, documentid);\n } else {\n\t return new ReferencedocumentsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n references(): ReferencesEndpoint {\n return new ReferencesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n settings(): SettingsEndpoint {\n return new SettingsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n similaritymatrix(): SimilaritymatrixEndpoint {\n return new SimilaritymatrixEndpoint(this.restClient, this.ENDPOINT);\n }\n\n summarizations(): SummarizationsEndpoint {\n return new SummarizationsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n tags(): TagsEndpoint;\n tags(tagname: string): TagEndpoint\n \n tags(tagname?: string): TagEndpoint | TagsEndpoint {\n if(tagname !== undefined && tagname !== null) {\n\t return new TagEndpoint(this.restClient, this.ENDPOINT, tagname);\n } else {\n\t return new TagsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n texttypes(): TexttypesEndpoint {\n return new TexttypesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n transactions(): TransactionsEndpoint {\n return new TransactionsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n validation(): ValidationEndpoint {\n return new ValidationEndpoint(this.restClient, this.ENDPOINT);\n }\n\n /**\n * Get the configuration settings of a specific domain.\n */\n async get(): Promise<Domain> {\n return (\n await this.restClient.get<Domain>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { DomainInfo } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains\"\n * This is a generated file do not change manually!\n */\nexport class DomainsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/domains\";\n }\n\n /**\n * Returns a list of all accessable domains.\n */\n async get(): Promise<DomainInfo[]> {\n return (\n await this.restClient.get<DomainInfo[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { Info } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/info\"\n * This is a generated file do not change manually!\n */\nexport class InfoEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/info\";\n }\n\n /**\n * Returns API version information.\n */\n async get(): Promise<Info> {\n return (\n await this.restClient.get<Info>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { LanguageDetection } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/languages\"\n * This is a generated file do not change manually!\n */\nexport class LanguagesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/languages\";\n }\n\n /**\n * Identifies the language of the document and sends it backInput: Support of all input formats (pdf, docx, txt, json (DocumentModel)\r\n * \r\n * Output: Detected Language\r\n * \r\n * Supported Languages:\r\n * \"ar\", \"cs\", \"da\", \"de\", \"en\", \"es\", \"el\", \"fr\", \"fi\", \"hu\", \"hr\",\r\n * \"it\", \"ja\", \"ko\", \"nl\", \"no\", \"pl\", \"pt\", \"ro\", \"ru\", \"sk\", \"sl\",\r\n * \"sv\", \"tr\", \"zh\"\n *\n * @param file Blob? - Input document (left document).\n */\n async post(\n file?: Blob,\n ): Promise<LanguageDetection> {\n return (\n await this.restClient.post<LanguageDetection>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n file\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/datatypes\"\n * This is a generated file do not change manually!\n */\nexport class ModelDatatypesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/datatypes\";\n }\n\n /**\n * Get all datatypes\n */\n async get(): Promise<string[]> {\n return (\n await this.restClient.get<string[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { AttributeOverview } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/attributes\"\n * This is a generated file do not change manually!\n */\nexport class ModelAttributesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/attributes\";\n }\n\n /**\n * Get all attributes\n */\n async get(): Promise<AttributeOverview[]> {\n return (\n await this.restClient.get<AttributeOverview[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/backups\"\n * This is a generated file do not change manually!\n */\nexport class ModelBackupsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/backups\";\n }\n\n /**\n * Create a backup for the ontology\n */\n async post(): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n {}\n )\n ).toModel();\n }\n}\n","import { BoostWord } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/boostwords/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelBoostwordEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/boostwords\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<BoostWord> {\n return (\n await this.restClient.get<BoostWord>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body BoostWord - \n */\n async put(\n body: BoostWord,\n ): Promise<BoostWord> {\n return (\n await this.restClient.put<BoostWord>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { BoostWord } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/boostwords\"\n * This is a generated file do not change manually!\n */\nexport class ModelBoostwordsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/boostwords\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<BoostWord[]> {\n return (\n await this.restClient.get<BoostWord[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body BoostWord? - \n */\n async post(\n body?: BoostWord,\n ): Promise<BoostWord> {\n return (\n await this.restClient.post<BoostWord>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { DataProperty } from '../model';\nimport { MediaType } from '../rest';\nimport { Overview } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/dataproperties\"\n * This is a generated file do not change manually!\n */\nexport class ModelDatapropertiesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/dataproperties\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<Overview[]> {\n return (\n await this.restClient.get<Overview[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body DataProperty? - \n */\n async post(\n body?: DataProperty,\n ): Promise<DataProperty> {\n return (\n await this.restClient.post<DataProperty>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { DataProperty } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/dataproperties/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelDatapropertyEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/dataproperties\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<DataProperty> {\n return (\n await this.restClient.get<DataProperty>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body DataProperty - \n */\n async put(\n body: DataProperty,\n ): Promise<DataProperty> {\n return (\n await this.restClient.put<DataProperty>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { ChildExtractorclassesEndpoint } from './childExtractorclasses';\nimport { ExtractorClass } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/extractorclasses/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelExtractorclassEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/extractorclasses\" + `/${this.id}`;\n }\n\n extractorclasses(): ChildExtractorclassesEndpoint {\n return new ChildExtractorclassesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<ExtractorClass> {\n return (\n await this.restClient.get<ExtractorClass>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body ExtractorClass - \n */\n async put(\n body: ExtractorClass,\n ): Promise<ExtractorClass> {\n return (\n await this.restClient.put<ExtractorClass>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { ExtractorClass } from '../model';\nimport { ExtractorClassOverview } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/extractorclasses\"\n * This is a generated file do not change manually!\n */\nexport class ModelExtractorclassesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/extractorclasses\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<ExtractorClassOverview[]> {\n return (\n await this.restClient.get<ExtractorClassOverview[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * @param body ExtractorClassOverview[] - \n */\n async put(\n body: ExtractorClassOverview[],\n ): Promise<void> {\n return (\n await this.restClient.put<void>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body ExtractorClass? - \n */\n async post(\n body?: ExtractorClass,\n ): Promise<ExtractorClass> {\n return (\n await this.restClient.post<ExtractorClass>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Entity } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/extractors\"\n * This is a generated file do not change manually!\n */\nexport class ModelExtractorsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/extractors\";\n }\n\n /**\n * Get all extractors\n */\n async get(): Promise<Entity[]> {\n return (\n await this.restClient.get<Entity[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { Formatter } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/formatters\"\n * This is a generated file do not change manually!\n */\nexport class ModelFormattersEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/formatters\";\n }\n\n /**\n * Get all formatters\n */\n async get(): Promise<Formatter[]> {\n return (\n await this.restClient.get<Formatter[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { ModelMetadata } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/metadata\"\n * This is a generated file do not change manually!\n */\nexport class ModelMetadataEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/metadata\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<ModelMetadata[]> {\n return (\n await this.restClient.get<ModelMetadata[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body ModelMetadata? - \n */\n async post(\n body?: ModelMetadata,\n ): Promise<ModelMetadata> {\n return (\n await this.restClient.post<ModelMetadata>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { NamedEntity } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/namedentities\"\n * This is a generated file do not change manually!\n */\nexport class ModelNamedentitiesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/namedentities\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<NamedEntity[]> {\n return (\n await this.restClient.get<NamedEntity[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body NamedEntity? - \n */\n async post(\n body?: NamedEntity,\n ): Promise<NamedEntity> {\n return (\n await this.restClient.post<NamedEntity>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { NamedEntity } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/namedentities/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelNamedentityEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/namedentities\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<NamedEntity> {\n return (\n await this.restClient.get<NamedEntity>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body NamedEntity - \n */\n async put(\n body: NamedEntity,\n ): Promise<NamedEntity> {\n return (\n await this.restClient.put<NamedEntity>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { Overview } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/objectproperties\"\n * This is a generated file do not change manually!\n */\nexport class ModelObjectpropertiesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/objectproperties\";\n }\n\n /**\n * Get all object properties\n */\n async get(): Promise<Overview[]> {\n return (\n await this.restClient.get<Overview[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { ModelMetadata } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/metadata/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelOnemetadataEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/metadata\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<ModelMetadata> {\n return (\n await this.restClient.get<ModelMetadata>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body ModelMetadata - \n */\n async put(\n body: ModelMetadata,\n ): Promise<ModelMetadata> {\n return (\n await this.restClient.put<ModelMetadata>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { Regex } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/regexes/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelRegexEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/regexes\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<Regex> {\n return (\n await this.restClient.get<Regex>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Regex - \n */\n async put(\n body: Regex,\n ): Promise<Regex> {\n return (\n await this.restClient.put<Regex>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { Regex } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/regexes\"\n * This is a generated file do not change manually!\n */\nexport class ModelRegexesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/regexes\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<Regex[]> {\n return (\n await this.restClient.get<Regex[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Regex? - \n */\n async post(\n body?: Regex,\n ): Promise<Regex> {\n return (\n await this.restClient.post<Regex>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { Relation } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/relations/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelRelationEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/relations\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<Relation> {\n return (\n await this.restClient.get<Relation>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Relation - \n */\n async put(\n body: Relation,\n ): Promise<Relation> {\n return (\n await this.restClient.put<Relation>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { Relation } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/relations\"\n * This is a generated file do not change manually!\n */\nexport class ModelRelationsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/relations\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<Relation[]> {\n return (\n await this.restClient.get<Relation[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Relation? - \n */\n async post(\n body?: Relation,\n ): Promise<Relation> {\n return (\n await this.restClient.post<Relation>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Rule } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/rules/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelRuleEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/rules\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<Rule> {\n return (\n await this.restClient.get<Rule>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Rule - \n */\n async put(\n body: Rule,\n ): Promise<Rule> {\n return (\n await this.restClient.put<Rule>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { RuleFunction } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/rulefunctions\"\n * This is a generated file do not change manually!\n */\nexport class ModelRulefunctionsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/rulefunctions\";\n }\n\n /**\n * Get all rulecfunctions\n */\n async get(): Promise<RuleFunction[]> {\n return (\n await this.restClient.get<RuleFunction[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Rule } from '../model';\nimport { RuleOverview } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/rules\"\n * This is a generated file do not change manually!\n */\nexport class ModelRulesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/rules\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<RuleOverview[]> {\n return (\n await this.restClient.get<RuleOverview[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Rule? - \n */\n async post(\n body?: Rule,\n ): Promise<Rule> {\n return (\n await this.restClient.post<Rule>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { StopWord } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/stopwords/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelStopwordEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/stopwords\" + `/${this.id}`;\n }\n\n /**\n * Get a stop word by id\n */\n async get(): Promise<StopWord> {\n return (\n await this.restClient.get<StopWord>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete a stop word by id\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Update a stop word by id\n *\n * @param body StopWord - \n */\n async put(\n body: StopWord,\n ): Promise<StopWord> {\n return (\n await this.restClient.put<StopWord>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { StopWord } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/stopwords\"\n * This is a generated file do not change manually!\n */\nexport class ModelStopwordsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/stopwords\";\n }\n\n /**\n * Get all stop words\n */\n async get(): Promise<StopWord[]> {\n return (\n await this.restClient.get<StopWord[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all stop words\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a stop word\n *\n * @param body StopWord? - \n */\n async post(\n body?: StopWord,\n ): Promise<StopWord> {\n return (\n await this.restClient.post<StopWord>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Synonym } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/synonyms/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelSynonymEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/synonyms\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<Synonym> {\n return (\n await this.restClient.get<Synonym>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Synonym - \n */\n async put(\n body: Synonym,\n ): Promise<Synonym> {\n return (\n await this.restClient.put<Synonym>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Synonym } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/synonyms\"\n * This is a generated file do not change manually!\n */\nexport class ModelSynonymsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/synonyms\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<Synonym[]> {\n return (\n await this.restClient.get<Synonym[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Synonym? - \n */\n async post(\n body?: Synonym,\n ): Promise<Synonym> {\n return (\n await this.restClient.post<Synonym>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Attribute } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/classes/{classid}/attributes/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelontAttributeEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/attributes\" + `/${this.id}`;\n }\n\n async get(): Promise<Attribute> {\n return (\n await this.restClient.get<Attribute>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * @param body Attribute - \n */\n async put(\n body: Attribute,\n ): Promise<Attribute> {\n return (\n await this.restClient.put<Attribute>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { Attribute } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/classes/{classid}/attributes\"\n * This is a generated file do not change manually!\n */\nexport class ModelontAttributesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/attributes\";\n }\n\n async get(): Promise<Attribute[]> {\n return (\n await this.restClient.get<Attribute[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * @param body Attribute? - \n */\n async post(\n body?: Attribute,\n ): Promise<Attribute> {\n return (\n await this.restClient.post<Attribute>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Instance } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/classes/{classid}/instances\"\n * This is a generated file do not change manually!\n */\nexport class ModelontclassInstancesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/instances\";\n }\n\n /**\n * Get all instances of a specific class\n */\n async get(): Promise<Instance[]> {\n return (\n await this.restClient.get<Instance[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all instances of a specific class\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n}\n","import { Class } from '../model';\nimport { MediaType } from '../rest';\nimport { ModelontAttributeEndpoint } from './modelontAttribute';\nimport { ModelontAttributesEndpoint } from './modelontAttributes';\nimport { ModelontclassInstancesEndpoint } from './modelontclassInstances';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/classes/{classid}\"\n * This is a generated file do not change manually!\n */\nexport class ModelontClassEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly classid: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/classes\" + `/${this.classid}`;\n }\n\n attributes(): ModelontAttributesEndpoint;\n attributes(id: string): ModelontAttributeEndpoint\n \n attributes(id?: string): ModelontAttributeEndpoint | ModelontAttributesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelontAttributeEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelontAttributesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n instances(): ModelontclassInstancesEndpoint {\n return new ModelontclassInstancesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n async get(): Promise<Class> {\n return (\n await this.restClient.get<Class>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * @param body Class - \n */\n async put(\n body: Class,\n ): Promise<Class> {\n return (\n await this.restClient.put<Class>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { Class } from '../model';\nimport { ClassesOverview } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/classes\"\n * This is a generated file do not change manually!\n */\nexport class ModelontClassesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/classes\";\n }\n\n /**\n * Get all classes\n *\n * @param withattributes boolean? - Select if the classes are delivered with attributes\n * @param withobjectproperties boolean? - Select if the classes are delivered with object properties\n */\n async get(params?: {\n withattributes?: boolean,\n withobjectproperties?: boolean,\n }): Promise<ClassesOverview[]> {\n return (\n await this.restClient.get<ClassesOverview[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all classes\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a class\n *\n * @param body Class? - \n */\n async post(\n body?: Class,\n ): Promise<Class> {\n return (\n await this.restClient.post<Class>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Instance } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/instances/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelontInstanceEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/instances\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<Instance> {\n return (\n await this.restClient.get<Instance>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Instance - \n */\n async put(\n body: Instance,\n ): Promise<Instance> {\n return (\n await this.restClient.put<Instance>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { Instance } from '../model';\nimport { InstanceOverview } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/instances\"\n * This is a generated file do not change manually!\n */\nexport class ModelontInstancesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/instances\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<InstanceOverview[]> {\n return (\n await this.restClient.get<InstanceOverview[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n /**\n * Read all available entities.\n */\n async getAsXlsx(): Promise<Blob> {\n return (\n await this.restClient.get<Blob>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.XLSX)\n )\n ).toFile();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Update all instances\n *\n * @param file Blob - Input document (left document).\n */\n async patch(\n file: Blob,\n ): Promise<void> {\n return (\n await this.restClient.patch<void>(\n this.ENDPOINT,\n file\n )\n ).toModel();\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Instance? - \n */\n async post(\n body?: Instance,\n ): Promise<Instance> {\n return (\n await this.restClient.post<Instance>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { ModelAttributesEndpoint } from './modelAttributes';\nimport { ModelBackupsEndpoint } from './modelBackups';\nimport { ModelBoostwordEndpoint } from './modelBoostword';\nimport { ModelBoostwordsEndpoint } from './modelBoostwords';\nimport { ModelDatapropertiesEndpoint } from './modelDataproperties';\nimport { ModelDatapropertyEndpoint } from './modelDataproperty';\nimport { ModelExtractorclassEndpoint } from './modelExtractorclass';\nimport { ModelExtractorclassesEndpoint } from './modelExtractorclasses';\nimport { ModelExtractorsEndpoint } from './modelExtractors';\nimport { ModelFormattersEndpoint } from './modelFormatters';\nimport { ModelMetadataEndpoint } from './modelMetadata';\nimport { ModelNamedentitiesEndpoint } from './modelNamedentities';\nimport { ModelNamedentityEndpoint } from './modelNamedentity';\nimport { ModelObjectpropertiesEndpoint } from './modelObjectproperties';\nimport { ModelOnemetadataEndpoint } from './modelOnemetadata';\nimport { ModelRegexEndpoint } from './modelRegex';\nimport { ModelRegexesEndpoint } from './modelRegexes';\nimport { ModelRelationEndpoint } from './modelRelation';\nimport { ModelRelationsEndpoint } from './modelRelations';\nimport { ModelRuleEndpoint } from './modelRule';\nimport { ModelRulefunctionsEndpoint } from './modelRulefunctions';\nimport { ModelRulesEndpoint } from './modelRules';\nimport { ModelStopwordEndpoint } from './modelStopword';\nimport { ModelStopwordsEndpoint } from './modelStopwords';\nimport { ModelSynonymEndpoint } from './modelSynonym';\nimport { ModelSynonymsEndpoint } from './modelSynonyms';\nimport { ModelontClassEndpoint } from './modelontClass';\nimport { ModelontClassesEndpoint } from './modelontClasses';\nimport { ModelontInstanceEndpoint } from './modelontInstance';\nimport { ModelontInstancesEndpoint } from './modelontInstances';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}\"\n * This is a generated file do not change manually!\n */\nexport class ModelDomainEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly domainname: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/domains\" + `/${this.domainname}`;\n }\n\n attributes(): ModelAttributesEndpoint {\n return new ModelAttributesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n backups(): ModelBackupsEndpoint {\n return new ModelBackupsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n boostwords(): ModelBoostwordsEndpoint;\n boostwords(id: string): ModelBoostwordEndpoint\n \n boostwords(id?: string): ModelBoostwordEndpoint | ModelBoostwordsEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelBoostwordEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelBoostwordsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n classes(): ModelontClassesEndpoint;\n classes(classid: string): ModelontClassEndpoint\n \n classes(classid?: string): ModelontClassEndpoint | ModelontClassesEndpoint {\n if(classid !== undefined && classid !== null) {\n\t return new ModelontClassEndpoint(this.restClient, this.ENDPOINT, classid);\n } else {\n\t return new ModelontClassesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n dataproperties(): ModelDatapropertiesEndpoint;\n dataproperties(id: string): ModelDatapropertyEndpoint\n \n dataproperties(id?: string): ModelDatapropertyEndpoint | ModelDatapropertiesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelDatapropertyEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelDatapropertiesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n extractorclasses(): ModelExtractorclassesEndpoint;\n extractorclasses(id: string): ModelExtractorclassEndpoint\n \n extractorclasses(id?: string): ModelExtractorclassEndpoint | ModelExtractorclassesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelExtractorclassEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelExtractorclassesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n extractors(): ModelExtractorsEndpoint {\n return new ModelExtractorsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n formatters(): ModelFormattersEndpoint {\n return new ModelFormattersEndpoint(this.restClient, this.ENDPOINT);\n }\n\n instances(): ModelontInstancesEndpoint;\n instances(id: string): ModelontInstanceEndpoint\n \n instances(id?: string): ModelontInstanceEndpoint | ModelontInstancesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelontInstanceEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelontInstancesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n metadata(): ModelMetadataEndpoint;\n metadata(id: string): ModelOnemetadataEndpoint\n \n metadata(id?: string): ModelOnemetadataEndpoint | ModelMetadataEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelOnemetadataEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelMetadataEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n namedentities(): ModelNamedentitiesEndpoint;\n namedentities(id: string): ModelNamedentityEndpoint\n \n namedentities(id?: string): ModelNamedentityEndpoint | ModelNamedentitiesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelNamedentityEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelNamedentitiesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n objectproperties(): ModelObjectpropertiesEndpoint {\n return new ModelObjectpropertiesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n regexes(): ModelRegexesEndpoint;\n regexes(id: string): ModelRegexEndpoint\n \n regexes(id?: string): ModelRegexEndpoint | ModelRegexesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelRegexEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelRegexesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n relations(): ModelRelationsEndpoint;\n relations(id: string): ModelRelationEndpoint\n \n relations(id?: string): ModelRelationEndpoint | ModelRelationsEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelRelationEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelRelationsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n rulefunctions(): ModelRulefunctionsEndpoint {\n return new ModelRulefunctionsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n rules(): ModelRulesEndpoint;\n rules(id: string): ModelRuleEndpoint\n \n rules(id?: string): ModelRuleEndpoint | ModelRulesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelRuleEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelRulesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n stopwords(): ModelStopwordsEndpoint;\n stopwords(id: string): ModelStopwordEndpoint\n \n stopwords(id?: string): ModelStopwordEndpoint | ModelStopwordsEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelStopwordEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelStopwordsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n synonyms(): ModelSynonymsEndpoint;\n synonyms(id: string): ModelSynonymEndpoint\n \n synonyms(id?: string): ModelSynonymEndpoint | ModelSynonymsEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelSynonymEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelSynonymsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n /**\n * Get a domain by domainname\n */\n async getAsXlsx(): Promise<Blob> {\n return (\n await this.restClient.get<Blob>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.XLSX)\n )\n ).toFile();\n }\n\n /**\n * Update a domain by domainname\n *\n * @param file Blob - Input document (left document).\n */\n async patch(\n file: Blob,\n ): Promise<Blob> {\n return (\n await this.restClient.patch<Blob>(\n this.ENDPOINT,\n file\n )\n ).toModel();\n }\n}\n","import { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains\"\n * This is a generated file do not change manually!\n */\nexport class ModelDomainsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/domains\";\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/extractortypes\"\n * This is a generated file do not change manually!\n */\nexport class ModelExtractortypesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/extractortypes\";\n }\n\n /**\n * Get all extractortypes\n */\n async get(): Promise<string[]> {\n return (\n await this.restClient.get<string[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/metadatatypes\"\n * This is a generated file do not change manually!\n */\nexport class ModelMetadatatypesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/metadatatypes\";\n }\n\n /**\n * Get all metadatatypes\n */\n async get(): Promise<string[]> {\n return (\n await this.restClient.get<string[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { ModelDatatypesEndpoint } from './modelDatatypes';\nimport { ModelDomainEndpoint } from './modelDomain';\nimport { ModelDomainsEndpoint } from './modelDomains';\nimport { ModelExtractortypesEndpoint } from './modelExtractortypes';\nimport { ModelMetadatatypesEndpoint } from './modelMetadatatypes';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model\"\n * This is a generated file do not change manually!\n */\nexport class ModelEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/model\";\n }\n\n datatypes(): ModelDatatypesEndpoint {\n return new ModelDatatypesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n domains(): ModelDomainsEndpoint;\n domains(domainname: string): ModelDomainEndpoint\n \n domains(domainname?: string): ModelDomainEndpoint | ModelDomainsEndpoint {\n if(domainname !== undefined && domainname !== null) {\n\t return new ModelDomainEndpoint(this.restClient, this.ENDPOINT, domainname);\n } else {\n\t return new ModelDomainsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n extractortypes(): ModelExtractortypesEndpoint {\n return new ModelExtractortypesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n metadatatypes(): ModelMetadatatypesEndpoint {\n return new ModelMetadatatypesEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import * as fs from 'fs';\n\nimport { BulkEndpoint } from './bulk';\nimport { CelltypesEndpoint } from './celltypes';\nimport { ConversionsEndpoint } from './conversions';\nimport { CurrentuserEndpoint } from './currentuser';\nimport { DiffEndpoint } from './diff';\nimport { DomainsEndpoint } from './domains';\nimport { DomainEndpoint } from './domain';\nimport { InfoEndpoint } from './info';\nimport { LanguagesEndpoint } from './languages';\nimport { ModelEndpoint } from './model';\nimport { RestClient } from '../rest';\n\nconst PARENT_ENDPOINT = '/api/v3';\n\n/**\n * Entry point to the Semantha API.\n *\n * @author semantha\n * Calls the /bulk, /celltypes, /conversions, /currentuser, /diff, /domains, /domains, /info, /languages, /model, endpoints.\n *\n * Note:\n * The constructor is not meant to be invoked directly\n * use `loginXXX()` with your credentials instead.\n *\n * this is a generated class do not change manually!\n */\nexport class SemanthaAPI {\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string\n ) {\n }\n\n /**\n * Access to the Semantha API\n *\n * @param serverUrl: string - URL to the Semantha server.\n * @param apiKey: string - A valid bearer token for accessing the given url.\n *\n * @return SemanthaAPI: Entry point to the Semantha API.\n */\n static loginWithApiKey(\n serverUrl: string,\n apiKey: string\n ): SemanthaAPI {\n if(!apiKey) {\n throw new Error('You need to supply an API key to login.');\n }\n if(!serverUrl) {\n throw new Error('You need to supply a server url to login.');\n }\n return new SemanthaAPI(new RestClient(this.parseServerUrl(serverUrl), apiKey), PARENT_ENDPOINT);\n }\n\n /**\n * Access to the Semantha API\n *\n * @param serverUrl: string - URL to the Semantha server.\n * @param clientId: string - OAuth2 client id.\n * @param clientSecret: string - OAuth2 client secret.\n * @param tokenUrl: string OAuth2 url to get a valid access token\n *\n * @return SemanthaAPI: Entry point to the Semantha API.\n */\n static loginWithCredentials(\n serverUrl: string,\n clientId: string,\n clientSecret: string,\n tokenUrl: string\n ): SemanthaAPI {\n serverUrl = this.parseServerUrl(serverUrl);\n return new SemanthaAPI(new RestClient(serverUrl, undefined, clientId, clientSecret, tokenUrl), PARENT_ENDPOINT);\n }\n\t\n /**\n * Access to the Semantha API\n *\n * @param credentialsFilePath: string - Path to a properties file providing client credentials.\n *\n * @return SemanthaAPI: Entry point to the Semantha API.\n */\n static loginWithCredentialsFile(credentialsFilePath: string) : SemanthaAPI {\n if (credentialsFilePath.endsWith('.properties') || credentialsFilePath.endsWith('.PROPERTIES')) {\n const rawData = fs.readFileSync(credentialsFilePath, 'utf8');\n const lines = rawData\n\t .split(/[\\n|\\r\\n]/)\n\t .filter(line => line.length !== 0)\n\t .map(line => line.split('='));\n\t const serverUrl = this.getValueOfInPropertiesFile('serverUrl', lines);\n\t const clientId = this.getValueOfInPropertiesFile('clientId', lines);\n\t const clientSecret = this.getValueOfInPropertiesFile('clientSecret', lines);\n\t const tokenUrl = this.getValueOfInPropertiesFile('tokenUrl', lines);\n\t return SemanthaAPI.loginWithCredentials(serverUrl, clientId, clientSecret, tokenUrl);\n\t}\n throw new Error('Can not login, please supply a credentials properties file.');\n }\n\n private static parseServerUrl(serverUrl: string): string {\n if (serverUrl.endsWith('/')) {\n serverUrl = serverUrl.slice(0, -1);\n }\n if (serverUrl.endsWith('/tt-platform-ui/en/#')) {\n serverUrl = serverUrl.replace('/tt-platform-ui/en/#', '/tt-platform-server');\n } else if (!serverUrl.endsWith('/tt-platform-server')) {\n serverUrl += '/tt-platform-server';\n }\n return serverUrl;\n }\n\n private static getValueOfInPropertiesFile(searchKey: string, lines: string[][]): string {\n for (const line of lines) {\n if (line[0] === searchKey) {\n return line[1].replace('\\\\:', ':');\n }\n }\n throw Error(`.properties files contains no ${searchKey}!`);\n }\n\n endpoint(): string {\n return this.parentEndpoint;\n }\n\n bulk(): BulkEndpoint {\n return new BulkEndpoint(this.restClient, this.endpoint());\n }\n\n celltypes(): CelltypesEndpoint {\n return new CelltypesEndpoint(this.restClient, this.endpoint());\n }\n\n conversions(): ConversionsEndpoint {\n return new ConversionsEndpoint(this.restClient, this.endpoint());\n }\n\n currentuser(): CurrentuserEndpoint {\n return new CurrentuserEndpoint(this.restClient, this.endpoint());\n }\n\n diff(): DiffEndpoint {\n return new DiffEndpoint(this.restClient, this.endpoint());\n }\n\n domains(): DomainsEndpoint;\n domains(domainname: string): DomainEndpoint\n \n domains(domainname?: string): DomainEndpoint | DomainsEndpoint {\n if (domainname !== undefined && domainname !== null) {\n return new DomainEndpoint(this.restClient, this.endpoint(), domainname);\n } else {\n return new DomainsEndpoint(this.restClient, this.endpoint());\n }\n }\n\n info(): InfoEndpoint {\n return new InfoEndpoint(this.restClient, this.endpoint());\n }\n\n languages(): LanguagesEndpoint {\n return new LanguagesEndpoint(this.restClient, this.endpoint());\n }\n\n model(): ModelEndpoint {\n return new ModelEndpoint(this.restClient, this.endpoint());\n }\n\n}"]}
1
+ {"version":3,"sources":["../semantha-sdk/model/attributeDatatypeEnum.ts","../semantha-sdk/model/attributeOverviewDatatypeEnum.ts","../semantha-sdk/model/classBulkDatatypeEnum.ts","../semantha-sdk/model/clusteringstructureEnum.ts","../semantha-sdk/model/differenceOperationEnum.ts","../semantha-sdk/model/documentmodeEnum.ts","../semantha-sdk/model/errorFieldCodeEnum.ts","../semantha-sdk/model/extractorAttributeDatatypeEnum.ts","../semantha-sdk/model/extractorTypeEnum.ts","../semantha-sdk/model/fieldTypeEnum.ts","../semantha-sdk/model/matcherTypeEnum.ts","../semantha-sdk/model/messageRoleEnum.ts","../semantha-sdk/model/modeEnum.ts","../semantha-sdk/model/promptOverviewPromptLabelEnum.ts","../semantha-sdk/model/promptPromptLabelEnum.ts","../semantha-sdk/model/rangeEnum.ts","../semantha-sdk/model/ruleFunctionTypeEnum.ts","../semantha-sdk/model/settingsDefaultSimilarityModeEnum.ts","../semantha-sdk/model/settingsExtractionStrategyEnum.ts","../semantha-sdk/model/settingsTaggingStrategyEnum.ts","../semantha-sdk/model/smartClusterSemiSupervisedRequestClusteringStructureEnum.ts","../semantha-sdk/model/smartClusterSemiSupervisedRequestTopicOverTimeRangeEnum.ts","../semantha-sdk/model/summarylengthEnum.ts","../semantha-sdk/model/typeEnum.ts","../semantha-sdk/rest/restResponse.ts","../semantha-sdk/rest/restClient.ts","../semantha-sdk/api/answers.ts","../semantha-sdk/api/bulkDomains.ts","../semantha-sdk/api/bulkmodelBoostwords.ts","../semantha-sdk/api/bulkmodelclassInstances.ts","../semantha-sdk/api/bulkmodelClass.ts","../semantha-sdk/api/bulkmodelClasses.ts","../semantha-sdk/api/bulkmodelDataproperties.ts","../semantha-sdk/api/bulkmodelInstances.ts","../semantha-sdk/api/bulkmodelMetadata.ts","../semantha-sdk/api/bulkmodelNamedentities.ts","../semantha-sdk/api/bulkmodelRules.ts","../semantha-sdk/api/bulkmodelStopwords.ts","../semantha-sdk/api/bulkmodelSynonyms.ts","../semantha-sdk/api/bulkmodelDomain.ts","../semantha-sdk/api/bulkmodelDomains.ts","../semantha-sdk/api/bulkModel.ts","../semantha-sdk/api/bulkdomainsDocumentclasses.ts","../semantha-sdk/api/bulkdomainsDocumenttypes.ts","../semantha-sdk/api/bulkdomainsReferencedocuments.ts","../semantha-sdk/api/bulkdomainsReferences.ts","../semantha-sdk/api/bulkdomainsDomain.ts","../semantha-sdk/api/bulk.ts","../semantha-sdk/api/celltypes.ts","../semantha-sdk/api/chat.ts","../semantha-sdk/api/chats.ts","../semantha-sdk/api/childExtractorclasses.ts","../semantha-sdk/api/clone.ts","../semantha-sdk/api/clusters.ts","../semantha-sdk/api/conversions.ts","../semantha-sdk/api/roles.ts","../semantha-sdk/api/currentuser.ts","../semantha-sdk/api/diff.ts","../semantha-sdk/api/docclassCustomfields.ts","../semantha-sdk/api/docclassDocumentclasses.ts","../semantha-sdk/api/docclassTags.ts","../semantha-sdk/api/docclassReferencedocuments.ts","../semantha-sdk/api/documentannotations.ts","../semantha-sdk/api/documentclass.ts","../semantha-sdk/api/documentclasses.ts","../semantha-sdk/api/documents.ts","../semantha-sdk/api/documenttype.ts","../semantha-sdk/api/documenttypes.ts","../semantha-sdk/api/modelclasses.ts","../semantha-sdk/api/modelinstances.ts","../semantha-sdk/api/prompt.ts","../semantha-sdk/api/prompts.ts","../semantha-sdk/api/image.ts","../semantha-sdk/api/images.ts","../semantha-sdk/api/paragraph.ts","../semantha-sdk/api/paragraphs.ts","../semantha-sdk/api/sentence.ts","../semantha-sdk/api/sentences.ts","../semantha-sdk/api/referencedocument.ts","../semantha-sdk/api/namedentities.ts","../semantha-sdk/api/statistic.ts","../semantha-sdk/api/referencedocuments.ts","../semantha-sdk/api/references.ts","../semantha-sdk/api/settings.ts","../semantha-sdk/api/similaritymatrixCluster.ts","../semantha-sdk/api/similaritymatrix.ts","../semantha-sdk/api/summarizations.ts","../semantha-sdk/api/tagReferencedocuments.ts","../semantha-sdk/api/tag.ts","../semantha-sdk/api/tags.ts","../semantha-sdk/api/texttypes.ts","../semantha-sdk/api/transactions.ts","../semantha-sdk/api/validation.ts","../semantha-sdk/api/domain.ts","../semantha-sdk/api/domains.ts","../semantha-sdk/api/info.ts","../semantha-sdk/api/languages.ts","../semantha-sdk/api/modelDatatypes.ts","../semantha-sdk/api/modelAttributes.ts","../semantha-sdk/api/modelBackups.ts","../semantha-sdk/api/modelBoostword.ts","../semantha-sdk/api/modelBoostwords.ts","../semantha-sdk/api/modelDataproperties.ts","../semantha-sdk/api/modelDataproperty.ts","../semantha-sdk/api/modelExtractorclass.ts","../semantha-sdk/api/modelExtractorclasses.ts","../semantha-sdk/api/modelExtractors.ts","../semantha-sdk/api/modelFormatters.ts","../semantha-sdk/api/modelMetadata.ts","../semantha-sdk/api/modelNamedentities.ts","../semantha-sdk/api/modelNamedentity.ts","../semantha-sdk/api/modelObjectproperties.ts","../semantha-sdk/api/modelOnemetadata.ts","../semantha-sdk/api/modelRegex.ts","../semantha-sdk/api/modelRegexes.ts","../semantha-sdk/api/modelRelation.ts","../semantha-sdk/api/modelRelations.ts","../semantha-sdk/api/modelRule.ts","../semantha-sdk/api/modelRulefunctions.ts","../semantha-sdk/api/modelRules.ts","../semantha-sdk/api/modelStopword.ts","../semantha-sdk/api/modelStopwords.ts","../semantha-sdk/api/modelSynonym.ts","../semantha-sdk/api/modelSynonyms.ts","../semantha-sdk/api/modelontAttribute.ts","../semantha-sdk/api/modelontAttributes.ts","../semantha-sdk/api/modelontclassInstances.ts","../semantha-sdk/api/modelontClass.ts","../semantha-sdk/api/modelontClasses.ts","../semantha-sdk/api/modelontInstance.ts","../semantha-sdk/api/modelontInstances.ts","../semantha-sdk/api/modelDomain.ts","../semantha-sdk/api/modelDomains.ts","../semantha-sdk/api/modelExtractortypes.ts","../semantha-sdk/api/modelMetadatatypes.ts","../semantha-sdk/api/model.ts","../semantha-sdk/api/semanthaAPI.ts"],"names":["AttributeDatatypeEnumValues","isAttributeDatatypeEnumValue","value","AttributeOverviewDatatypeEnumValues","isAttributeOverviewDatatypeEnumValue","ClassBulkDatatypeEnumValues","isClassBulkDatatypeEnumValue","ClusteringstructureEnumValues","isClusteringstructureEnumValue","DifferenceOperationEnumValues","isDifferenceOperationEnumValue","DocumentmodeEnumValues","isDocumentmodeEnumValue","ErrorFieldCodeEnumValues","isErrorFieldCodeEnumValue","ExtractorAttributeDatatypeEnumValues","isExtractorAttributeDatatypeEnumValue","ExtractorTypeEnumValues","isExtractorTypeEnumValue","FieldTypeEnumValues","isFieldTypeEnumValue","MatcherTypeEnumValues","isMatcherTypeEnumValue","MessageRoleEnumValues","isMessageRoleEnumValue","ModeEnumValues","isModeEnumValue","PromptOverviewPromptLabelEnumValues","isPromptOverviewPromptLabelEnumValue","PromptPromptLabelEnumValues","isPromptPromptLabelEnumValue","RangeEnumValues","isRangeEnumValue","RuleFunctionTypeEnumValues","isRuleFunctionTypeEnumValue","SettingsDefaultSimilarityModeEnumValues","isSettingsDefaultSimilarityModeEnumValue","SettingsExtractionStrategyEnumValues","isSettingsExtractionStrategyEnumValue","SettingsTaggingStrategyEnumValues","isSettingsTaggingStrategyEnumValue","SmartClusterSemiSupervisedRequestClusteringStructureEnumValues","isSmartClusterSemiSupervisedRequestClusteringStructureEnumValue","SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValues","isSmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValue","SummarylengthEnumValues","isSummarylengthEnumValue","TypeEnumValues","isTypeEnumValue","RestResponse","response","contentDisposition","filename","match","MediaType","RestClient","_RestClient","serverUrl","apiKey","clientId","client_secret","tokenUrl","data","axios","method","url","config","authHeader","params","headers","responseType","acceptMimeType","contentType","AnswersEndpoint","restClient","parentEndpoint","BulkDomainsEndpoint","BulkmodelBoostwordsEndpoint","body","BulkmodelclassInstancesEndpoint","BulkmodelClassEndpoint","classid","BulkmodelClassesEndpoint","BulkmodelDatapropertiesEndpoint","BulkmodelInstancesEndpoint","BulkmodelMetadataEndpoint","BulkmodelNamedentitiesEndpoint","BulkmodelRulesEndpoint","BulkmodelStopwordsEndpoint","BulkmodelSynonymsEndpoint","BulkmodelDomainEndpoint","domainname","BulkmodelDomainsEndpoint","BulkModelEndpoint","BulkdomainsDocumentclassesEndpoint","BulkdomainsDocumenttypesEndpoint","BulkdomainsReferencedocumentsEndpoint","BulkdomainsReferencesEndpoint","BulkdomainsDomainEndpoint","BulkEndpoint","CelltypesEndpoint","ChatEndpoint","id","ChatsEndpoint","ChildExtractorclassesEndpoint","CloneEndpoint","ClustersEndpoint","ConversionsEndpoint","file","RolesEndpoint","CurrentuserEndpoint","DiffEndpoint","DocclassCustomfieldsEndpoint","DocclassDocumentclassesEndpoint","DocclassTagsEndpoint","DocclassReferencedocumentsEndpoint","DocumentannotationsEndpoint","DocumentclassEndpoint","DocumentclassesEndpoint","DocumentsEndpoint","DocumenttypeEndpoint","DocumenttypesEndpoint","ModelclassesEndpoint","ModelinstancesEndpoint","PromptEndpoint","PromptsEndpoint","ImageEndpoint","ImagesEndpoint","ParagraphEndpoint","ParagraphsEndpoint","SentenceEndpoint","SentencesEndpoint","ReferencedocumentEndpoint","documentid","NamedentitiesEndpoint","StatisticEndpoint","ReferencedocumentsEndpoint","ReferencesEndpoint","SettingsEndpoint","SimilaritymatrixClusterEndpoint","SimilaritymatrixEndpoint","SummarizationsEndpoint","TagReferencedocumentsEndpoint","TagEndpoint","tagname","TagsEndpoint","TexttypesEndpoint","TransactionsEndpoint","ValidationEndpoint","DomainEndpoint","DomainsEndpoint","InfoEndpoint","LanguagesEndpoint","ModelDatatypesEndpoint","ModelAttributesEndpoint","ModelBackupsEndpoint","ModelBoostwordEndpoint","ModelBoostwordsEndpoint","ModelDatapropertiesEndpoint","ModelDatapropertyEndpoint","ModelExtractorclassEndpoint","ModelExtractorclassesEndpoint","ModelExtractorsEndpoint","ModelFormattersEndpoint","ModelMetadataEndpoint","ModelNamedentitiesEndpoint","ModelNamedentityEndpoint","ModelObjectpropertiesEndpoint","ModelOnemetadataEndpoint","ModelRegexEndpoint","ModelRegexesEndpoint","ModelRelationEndpoint","ModelRelationsEndpoint","ModelRuleEndpoint","ModelRulefunctionsEndpoint","ModelRulesEndpoint","ModelStopwordEndpoint","ModelStopwordsEndpoint","ModelSynonymEndpoint","ModelSynonymsEndpoint","ModelontAttributeEndpoint","ModelontAttributesEndpoint","ModelontclassInstancesEndpoint","ModelontClassEndpoint","ModelontClassesEndpoint","ModelontInstanceEndpoint","ModelontInstancesEndpoint","ModelDomainEndpoint","ModelDomainsEndpoint","ModelExtractortypesEndpoint","ModelMetadatatypesEndpoint","ModelEndpoint","PARENT_ENDPOINT","SemanthaAPI","_SemanthaAPI","clientSecret","credentialsFilePath","lines","he","line","searchKey"],"mappings":"6gBAKO,IAAMA,EAA8B,CAAA,CACzC,QACA,CAAA,UAAA,CACA,MACA,CAAA,QAAA,CACA,MACA,CAAA,SAAA,CACA,SACF,EAGO,SAASC,EAAAA,CAA6BC,CAA4C,CAAA,CACvF,OAAOF,EAAAA,CAA4B,QAASE,CAAAA,CAAK,CACnD,CCbaC,IAAAA,EAAAA,CAAsC,CACjD,QAAA,CACA,UACA,CAAA,MAAA,CACA,QACA,CAAA,MAAA,CACA,UACA,SACF,EAGO,SAASC,EAAAA,CAAqCF,CAAoD,CAAA,CACvG,OAAOC,EAAAA,CAAoC,QAASD,CAAAA,CAAK,CAC3D,CCbaG,IAAAA,EAAAA,CAA8B,CACzC,QAAA,CACA,WACA,MACA,CAAA,QAAA,CACA,MACA,CAAA,SAAA,CACA,SACF,EAGO,SAASC,EAAAA,CAA6BJ,CAA4C,CAAA,CACvF,OAAOG,EAAAA,CAA4B,QAASH,CAAAA,CAAK,CACnD,KCbaK,EAAgC,CAAA,CAC3C,OACA,CAAA,UAAA,CACA,QACF,EAGO,SAASC,EAAAA,CAA+BN,CAA8C,CAAA,CAC3F,OAAOK,EAAAA,CAA8B,QAASL,CAAAA,CAAK,CACrD,KCTaO,EAAgC,CAAA,CAC3C,QACA,CAAA,QAAA,CACA,OACF,EAGO,SAASC,EAAAA,CAA+BR,CAA8C,CAAA,CAC3F,OAAOO,EAAAA,CAA8B,QAASP,CAAAA,CAAK,CACrD,KCTaS,EAAyB,CAAA,CACpC,UACA,CAAA,WACF,EAGO,SAASC,EAAwBV,CAAAA,CAAAA,CAAuC,CAC7E,OAAOS,EAAuB,CAAA,QAAA,CAAST,CAAK,CAC9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CAAA,cACd,CAEA,IAAqB,EAAA,CACnB,OAAO,IAAIrG,CAAa,CAAA,IAAA,CAAK,UAAY,CAAA,IAAA,CAAK,QAAS,EAAC,CAC1D,CAEA,SAA+B,EAAA,CAC7B,OAAO,IAAIC,EAAkB,IAAK,CAAA,UAAA,CAAY,IAAK,CAAA,QAAA,EAAU,CAC/D,CAEA,WAAA,EAAmC,CACjC,OAAO,IAAIO,CAAAA,CAAoB,IAAK,CAAA,UAAA,CAAY,IAAK,CAAA,QAAA,EAAU,CACjE,CAEA,WAAmC,EAAA,CACjC,OAAO,IAAIG,CAAoB,CAAA,IAAA,CAAK,UAAY,CAAA,IAAA,CAAK,QAAS,EAAC,CACjE,CAEA,IAAqB,EAAA,CACnB,OAAO,IAAIC,CAAAA,CAAa,IAAK,CAAA,UAAA,CAAY,IAAK,CAAA,QAAA,EAAU,CAC1D,CAKA,OAAA,CAAQpB,CAAuD,CAAA,CAC7D,OAAgCA,CAAAA,EAAe,IACtC,CAAA,IAAI0D,GAAe,IAAK,CAAA,UAAA,CAAY,IAAK,CAAA,QAAA,EAAY1D,CAAAA,CAAU,CAE/D,CAAA,IAAI2D,EAAgB,CAAA,IAAA,CAAK,UAAY,CAAA,IAAA,CAAK,QAAS,EAAC,CAE/D,CAEA,MAAqB,CACnB,OAAO,IAAIC,EAAAA,CAAa,IAAK,CAAA,UAAA,CAAY,IAAK,CAAA,QAAA,EAAU,CAC1D,CAEA,SAAA,EAA+B,CAC7B,OAAO,IAAIC,EAAAA,CAAkB,KAAK,UAAY,CAAA,IAAA,CAAK,QAAS,EAAC,CAC/D,CAEA,KAAuB,EAAA,CACrB,OAAO,IAAIuC,EAAc,CAAA,IAAA,CAAK,UAAY,CAAA,IAAA,CAAK,QAAS,EAAC,CAC3D,CAEF","file":"index.js","sourcesContent":["/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const AttributeDatatypeEnumValues = [\n 'STRING',\n 'CURRENCY',\n 'DATE',\n 'NUMBER',\n 'YEAR',\n 'BOOLEAN',\n 'INTEGER'\n] as const;\nexport type AttributeDatatypeEnum = (typeof AttributeDatatypeEnumValues)[number];\n\nexport function isAttributeDatatypeEnumValue(value: any): value is AttributeDatatypeEnum {\n return AttributeDatatypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const AttributeOverviewDatatypeEnumValues = [\n 'STRING',\n 'CURRENCY',\n 'DATE',\n 'NUMBER',\n 'YEAR',\n 'BOOLEAN',\n 'INTEGER'\n] as const;\nexport type AttributeOverviewDatatypeEnum = (typeof AttributeOverviewDatatypeEnumValues)[number];\n\nexport function isAttributeOverviewDatatypeEnumValue(value: any): value is AttributeOverviewDatatypeEnum {\n return AttributeOverviewDatatypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const ClassBulkDatatypeEnumValues = [\n 'STRING',\n 'CURRENCY',\n 'DATE',\n 'NUMBER',\n 'YEAR',\n 'BOOLEAN',\n 'INTEGER'\n] as const;\nexport type ClassBulkDatatypeEnum = (typeof ClassBulkDatatypeEnumValues)[number];\n\nexport function isClassBulkDatatypeEnumValue(value: any): value is ClassBulkDatatypeEnum {\n return ClassBulkDatatypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const ClusteringstructureEnumValues = [\n 'LOCAL',\n 'BALANCED',\n 'GLOBAL'\n] as const;\nexport type ClusteringstructureEnum = (typeof ClusteringstructureEnumValues)[number];\n\nexport function isClusteringstructureEnumValue(value: any): value is ClusteringstructureEnum {\n return ClusteringstructureEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const DifferenceOperationEnumValues = [\n 'DELETE',\n 'INSERT',\n 'EQUAL'\n] as const;\nexport type DifferenceOperationEnum = (typeof DifferenceOperationEnumValues)[number];\n\nexport function isDifferenceOperationEnumValue(value: any): value is DifferenceOperationEnum {\n return DifferenceOperationEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const DocumentmodeEnumValues = [\n 'sentence',\n 'paragraph'\n] as const;\nexport type DocumentmodeEnum = (typeof DocumentmodeEnumValues)[number];\n\nexport function isDocumentmodeEnumValue(value: any): value is DocumentmodeEnum {\n return DocumentmodeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const ErrorFieldCodeEnumValues = [\n 'BAD_REQUEST',\n 'UNAUTHORIZED',\n 'FORBIDDEN',\n 'NOT_FOUND',\n 'CONFLICT',\n 'CONTENT_TOO_LARGE',\n 'INTERNAL_SERVER_ERROR',\n 'GATEWAY_TIMEOUT',\n 'DOCUMENTTYPE_NOT_FOUND',\n 'DOCUMENTTYPE_NAME_EXISTS',\n 'DOCUMENTTYPE_NOT_EDITABLE',\n 'COMPARE_DOC_IS_EMPTY',\n 'COMPARE_WRONG_LANGUAGE',\n 'COMPARE_NO_REFERENCES',\n 'DOMAIN_NOT_FOUND',\n 'TOO_MANY_TOKENS',\n 'NO_FILE_FOUND',\n 'FILE_TYPE_NOT_SUPPORTED',\n 'FILE_PASSWORDPROTECTED',\n 'MISSING_SERVICE_DEFINITION',\n 'SERVICE_CALL_ERROR',\n 'GENERATIVE_MODEL_ERROR',\n 'USED_AS_LINKED_EXTRACTOR',\n 'CYCLICAL_DEPENDENCY_LINKED_EXTRACTOR',\n 'FILE_TOO_BIG',\n 'TOO_MANY_ROWS',\n 'REGEX_INVALID',\n 'GENERATIVE_MODEL_CONTEXT_EXCEEDED',\n 'PROMPT_NOT_DELETABLE',\n 'RESOURCE_NOT_FOUND',\n 'PARENT_RESOURCE_NOT_FOUND',\n 'RESOURCE_PARAMETER_CONSTRAINT_VIOLATION',\n 'PLATFORM_UNREACHABLE',\n 'FILE_SIZE_TOOBIG',\n 'USER_REPOSITORY_NOT_CONFIGURED',\n 'PDF_NOT_CONFIGURED',\n 'INVALID_USER_PASSWORD',\n 'UNKNOWN_FINGERPRINTER_ID',\n 'JSON_ARRAY_EMPTY',\n 'TOKENS_ILLEGAL_TYPE',\n 'NO_JSON',\n 'INVALID_JSON_FORMAT',\n 'JSON_OBJECT_HAS_NO_DOCUMENTS',\n 'DOCUMENTS_ARE_NO_JSON_ARRAY',\n 'DOCUMENTS_JSON_ARRAY_EMPTY',\n 'DOCUMENTS_VALUE_ERROR',\n 'DOCUMENTS_TYPE_ERROR',\n 'DOCUMENTS_TOO_FEW_DOCUMENTS',\n 'REQ_NO_JSON_ARRAY',\n 'SENTENCE_LIST_NOT_TWO',\n 'IMAGE_NOT_PROVIDED',\n 'IMAGE_INVALID_FORMAT',\n 'MODEL_NAME_INVALID',\n 'THRESHOLD_INVALID',\n 'IMAGE_BUFFER_EMPTY',\n 'INVALID_MODEL_ID',\n 'IMAGE_NOT_PROVIDED_IFP',\n 'IMAGE_INVALID_DATA',\n 'IMAGE_INVALID_FORMAT_IFP'\n] as const;\nexport type ErrorFieldCodeEnum = (typeof ErrorFieldCodeEnumValues)[number];\n\nexport function isErrorFieldCodeEnumValue(value: any): value is ErrorFieldCodeEnum {\n return ErrorFieldCodeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const ExtractorAttributeDatatypeEnumValues = [\n 'STRING',\n 'CURRENCY',\n 'DATE',\n 'NUMBER',\n 'YEAR',\n 'BOOLEAN',\n 'INTEGER'\n] as const;\nexport type ExtractorAttributeDatatypeEnum = (typeof ExtractorAttributeDatatypeEnumValues)[number];\n\nexport function isExtractorAttributeDatatypeEnumValue(value: any): value is ExtractorAttributeDatatypeEnum {\n return ExtractorAttributeDatatypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const ExtractorTypeEnumValues = [\n 'REGEX',\n 'ANDREGEX',\n 'ANDNOTREGEX',\n 'NOTREGEX',\n 'REGEX_CASE_INSENSITIVE',\n 'ANDREGEX_CASE_INSENSITIVE',\n 'ANDNOTREGEX_CASE_INSENSITIVE',\n 'NOTREGEX_CASE_INSENSITIVE',\n 'SIMILAR',\n 'ANDSIMILAR',\n 'ANDNOTSIMILAR',\n 'NOTSIMILAR',\n 'LIBRARY',\n 'ANDLIBRARY',\n 'ANDNOTLIBRARY',\n 'NOTLIBRARY',\n 'PARAGRAPH_DETECTION',\n 'CONSTANT',\n 'INTERNAL',\n 'INTERNAL_2',\n 'INTERNAL_3',\n 'INTERNAL_4',\n 'INTERNAL_5',\n 'INTERNAL_6',\n 'INTERNAL_7',\n 'INTERNAL_8',\n 'INTERNAL_9',\n 'INTERNAL_10',\n 'RANGE',\n 'REGEX_PARAGRAPH_LASTMATCH',\n 'REGEX_DOCUMENT_LASTMATCH',\n 'INTERNAL_PARAGRAPH_LASTMATCH',\n 'INTERNAL_DOCUMENT_LASTMATCH',\n 'END_OF_DOCUMENT',\n 'START_OF_DOCUMENT',\n 'NEXT_HEADING',\n 'TEXT_TYPE'\n] as const;\nexport type ExtractorTypeEnum = (typeof ExtractorTypeEnumValues)[number];\n\nexport function isExtractorTypeEnumValue(value: any): value is ExtractorTypeEnum {\n return ExtractorTypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const FieldTypeEnumValues = [\n 'CLASS',\n 'OBJECT_PROPERTY',\n 'DATA_PROPERTY'\n] as const;\nexport type FieldTypeEnum = (typeof FieldTypeEnumValues)[number];\n\nexport function isFieldTypeEnumValue(value: any): value is FieldTypeEnum {\n return FieldTypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const MatcherTypeEnumValues = [\n 'REGEX',\n 'ANDREGEX',\n 'ANDNOTREGEX',\n 'NOTREGEX',\n 'REGEX_CASE_INSENSITIVE',\n 'ANDREGEX_CASE_INSENSITIVE',\n 'ANDNOTREGEX_CASE_INSENSITIVE',\n 'NOTREGEX_CASE_INSENSITIVE',\n 'SIMILAR',\n 'ANDSIMILAR',\n 'ANDNOTSIMILAR',\n 'NOTSIMILAR',\n 'LIBRARY',\n 'ANDLIBRARY',\n 'ANDNOTLIBRARY',\n 'NOTLIBRARY',\n 'PARAGRAPH_DETECTION',\n 'CONSTANT',\n 'INTERNAL',\n 'INTERNAL_2',\n 'INTERNAL_3',\n 'INTERNAL_4',\n 'INTERNAL_5',\n 'INTERNAL_6',\n 'INTERNAL_7',\n 'INTERNAL_8',\n 'INTERNAL_9',\n 'INTERNAL_10',\n 'RANGE',\n 'REGEX_PARAGRAPH_LASTMATCH',\n 'REGEX_DOCUMENT_LASTMATCH',\n 'INTERNAL_PARAGRAPH_LASTMATCH',\n 'INTERNAL_DOCUMENT_LASTMATCH',\n 'END_OF_DOCUMENT',\n 'START_OF_DOCUMENT',\n 'NEXT_HEADING',\n 'TEXT_TYPE'\n] as const;\nexport type MatcherTypeEnum = (typeof MatcherTypeEnumValues)[number];\n\nexport function isMatcherTypeEnumValue(value: any): value is MatcherTypeEnum {\n return MatcherTypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const MessageRoleEnumValues = [\n 'USER',\n 'ASSISTANT',\n 'SYSTEM'\n] as const;\nexport type MessageRoleEnum = (typeof MessageRoleEnumValues)[number];\n\nexport function isMessageRoleEnumValue(value: any): value is MessageRoleEnum {\n return MessageRoleEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const ModeEnumValues = [\n 'fingerprint',\n 'keyword',\n 'document',\n 'document_fingerprint',\n 'fingerprint_keyword',\n 'auto'\n] as const;\nexport type ModeEnum = (typeof ModeEnumValues)[number];\n\nexport function isModeEnumValue(value: any): value is ModeEnum {\n return ModeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const PromptOverviewPromptLabelEnumValues = [\n 'COMPARE',\n 'REQUIREMENTS',\n 'SEARCH',\n 'LIBRARY',\n 'INTERNAL',\n 'CUSTOM'\n] as const;\nexport type PromptOverviewPromptLabelEnum = (typeof PromptOverviewPromptLabelEnumValues)[number];\n\nexport function isPromptOverviewPromptLabelEnumValue(value: any): value is PromptOverviewPromptLabelEnum {\n return PromptOverviewPromptLabelEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const PromptPromptLabelEnumValues = [\n 'COMPARE',\n 'REQUIREMENTS',\n 'SEARCH',\n 'LIBRARY',\n 'INTERNAL',\n 'CUSTOM'\n] as const;\nexport type PromptPromptLabelEnum = (typeof PromptPromptLabelEnumValues)[number];\n\nexport function isPromptPromptLabelEnumValue(value: any): value is PromptPromptLabelEnum {\n return PromptPromptLabelEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const RangeEnumValues = [\n 'HOURS',\n 'DAYS',\n 'MONTHS',\n 'YEARS'\n] as const;\nexport type RangeEnum = (typeof RangeEnumValues)[number];\n\nexport function isRangeEnumValue(value: any): value is RangeEnum {\n return RangeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const RuleFunctionTypeEnumValues = [\n 'OPERATOR',\n 'FUNCTION'\n] as const;\nexport type RuleFunctionTypeEnum = (typeof RuleFunctionTypeEnumValues)[number];\n\nexport function isRuleFunctionTypeEnumValue(value: any): value is RuleFunctionTypeEnum {\n return RuleFunctionTypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const SettingsDefaultSimilarityModeEnumValues = [\n 'fingerprint',\n 'keyword',\n 'document',\n 'document_fingerprint',\n 'fingerprint_keyword',\n 'auto'\n] as const;\nexport type SettingsDefaultSimilarityModeEnum = (typeof SettingsDefaultSimilarityModeEnumValues)[number];\n\nexport function isSettingsDefaultSimilarityModeEnumValue(value: any): value is SettingsDefaultSimilarityModeEnum {\n return SettingsDefaultSimilarityModeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const SettingsExtractionStrategyEnumValues = [\n 'ANY',\n 'TOP1',\n 'TOP3',\n 'TOP5',\n 'TOP10'\n] as const;\nexport type SettingsExtractionStrategyEnum = (typeof SettingsExtractionStrategyEnumValues)[number];\n\nexport function isSettingsExtractionStrategyEnumValue(value: any): value is SettingsExtractionStrategyEnum {\n return SettingsExtractionStrategyEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const SettingsTaggingStrategyEnumValues = [\n 'TOP1',\n 'TOP3',\n 'TOP5',\n 'TOP10'\n] as const;\nexport type SettingsTaggingStrategyEnum = (typeof SettingsTaggingStrategyEnumValues)[number];\n\nexport function isSettingsTaggingStrategyEnumValue(value: any): value is SettingsTaggingStrategyEnum {\n return SettingsTaggingStrategyEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const SmartClusterSemiSupervisedRequestClusteringStructureEnumValues = [\n 'LOCAL',\n 'BALANCED',\n 'GLOBAL'\n] as const;\nexport type SmartClusterSemiSupervisedRequestClusteringStructureEnum = (typeof SmartClusterSemiSupervisedRequestClusteringStructureEnumValues)[number];\n\nexport function isSmartClusterSemiSupervisedRequestClusteringStructureEnumValue(value: any): value is SmartClusterSemiSupervisedRequestClusteringStructureEnum {\n return SmartClusterSemiSupervisedRequestClusteringStructureEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValues = [\n 'HOURS',\n 'DAYS',\n 'MONTHS',\n 'YEARS'\n] as const;\nexport type SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnum = (typeof SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValues)[number];\n\nexport function isSmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValue(value: any): value is SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnum {\n return SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const SummarylengthEnumValues = [\n 'SHORT',\n 'MEDIUM',\n 'LONG'\n] as const;\nexport type SummarylengthEnum = (typeof SummarylengthEnumValues)[number];\n\nexport function isSummarylengthEnumValue(value: any): value is SummarylengthEnum {\n return SummarylengthEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const TypeEnumValues = [\n 'similarity',\n 'extraction'\n] as const;\nexport type TypeEnum = (typeof TypeEnumValues)[number];\n\nexport function isTypeEnumValue(value: any): value is TypeEnum {\n return TypeEnumValues.includes(value);\n}\n\n","import { AxiosResponse } from 'axios';\n\nexport class RestResponse<T> {\n constructor(private readonly response: Promise<AxiosResponse<T>>) {}\n\n async toModel(): Promise<T> {\n return (await this.response).data;\n }\n\n async toFile(): Promise<File> {\n const response: AxiosResponse = await this.response;\n const contentDisposition = response?.headers['content-disposition'];\n let filename = 'file';\n if (contentDisposition) {\n const match = contentDisposition.match(/filename=\"?([^\"]+)\"?/);\n if (match && match[1]) {\n filename = match[1];\n }\n }\n return new File([response.data], filename);\n }\n\n async getStatusCode(): Promise<number> {\n return (await this.response).status;\n }\n\n async getStatusText(): Promise<string> {\n return (await this.response).statusText;\n }\n}\n","import axios, { AxiosRequestConfig, AxiosResponse, ResponseType } from 'axios';\nimport { RestResponse } from './restResponse';\n\nexport enum MediaType {\n JSON = 'application/json',\n XLSX = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n PDF = 'application/pdf',\n DOCX = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',\n ZIP = 'application/zip',\n REQIFZ = 'application/reqifz',\n PNG = 'image/png',\n BINARY = 'application/octet-stream'\n}\n\nexport class RestClient {\n // in seconds\n private static readonly LEEWAY = 30;\n\n private expireTime: number;\n private accessToken: string;\n\n constructor(\n private readonly serverUrl: string,\n private readonly apiKey?: string,\n private readonly clientId?: string,\n private readonly client_secret?: string,\n private readonly tokenUrl?: string\n ) {\n this.expireTime = 0.0;\n this.accessToken = '';\n }\n\n async buildHeadersForJsonRequest(): Promise<{ [key: string]: string }> {\n return {\n Accept: 'application/json',\n Authorization: `Bearer ${await this.getToken()}`\n };\n }\n\n async buildHeadersForRequest(): Promise<{ [key: string]: string }> {\n return {\n Authorization: `Bearer ${await this.getToken()}`\n };\n }\n\n async getToken(): Promise<string> {\n if (this.apiKey) {\n return this.apiKey;\n }\n if (\n this.clientId &&\n this.client_secret &&\n this.tokenUrl &&\n (this.accessToken == '' || this.expireTime < performance.now())\n ) {\n const data = {\n grant_type: 'client_credentials',\n client_id: this.clientId,\n client_secret: this.client_secret,\n scope: 'openid'\n };\n const response = await axios.post(this.tokenUrl, data, {\n headers: { accept: 'application/json', 'content-type': 'application/x-www-form-urlencoded' }\n });\n if (response.status >= axios.HttpStatusCode.BadRequest) {\n // example for error response: {\"error\":\"invalid_client\",\"error_description\":\"Invalid client or Invalid client credentials\"}\n // we have no token -> this leads to a permission error\n return '';\n }\n this.accessToken = response.data['id_token'] ?? response.data['access_token'];\n this.expireTime = performance.now() + (response.data['expires_in'] - RestClient.LEEWAY);\n }\n return this.accessToken;\n }\n\n private async request<R>(\n method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE',\n url: string,\n config: { params?: any; headers?: { [key: string]: string }; data?: any, responseType?: ResponseType },\n ): Promise<RestResponse<R>> {\n if (!config.headers) {\n config.headers = await this.buildHeadersForJsonRequest();\n } else {\n const authHeader = await this.buildHeadersForRequest();\n config.headers = { ...config.headers, ...authHeader };\n }\n return new RestResponse<R>(\n axios.request<R>({\n method: method,\n url: this.serverUrl + url,\n headers: { ...config.headers, 'User-Agent': 'semantha TypeScript SDK; ' },\n data: config.data,\n params: config.params,\n responseType: config.responseType\n })\n );\n }\n\n async get<R>(url: string, params?: any, headers?: { [key: string]: string }, data?: any, responseType: ResponseType = 'json'): Promise<RestResponse<R>> {\n return this.request<R>('GET', url, { params, headers, data, responseType });\n }\n\n async post<R>(\n url: string,\n params?: any,\n headers?: { [key: string]: string },\n data?: any,\n responseType: ResponseType = 'json'\n ): Promise<RestResponse<R>> {\n if (!headers) {\n headers = await this.buildHeadersForJsonRequest();\n } else {\n const authHeader = await this.buildHeadersForRequest();\n headers = { ...headers, ...authHeader };\n }\n return new RestResponse<R>(axios.post<R>(this.serverUrl + url, data, { params, headers, responseType }));\n }\n\n async delete(url: string, data?: any): Promise<RestResponse<void>> {\n return this.request<void>('DELETE', url, { data });\n }\n\n async patch<R>(url: string, data?: any): Promise<RestResponse<R>> {\n return this.request<R>('PATCH', url, { data });\n }\n\n async put<R>(url: string, data: any): Promise<RestResponse<R>> {\n return this.request<R>('PUT', url, { data });\n }\n\n toHeader(acceptMimeType: MediaType, contentType?: string): { [key: string]: string } {\n if (contentType) {\n return { Accept: acceptMimeType, 'Content-Type': contentType };\n }\n return { Accept: acceptMimeType };\n }\n}\n","import { Answer } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/answers\"\n * This is a generated file do not change manually!\n */\nexport class AnswersEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/answers\";\n }\n\n /**\n * Finds references in library for a given question and uses references to generate an answer.The 'maxReferences' parameter determines how many library items are used. The language of the answer can be changed via the 'language' parameter.\n *\n * @param question string? - The text to find in the library.\n * @param maxreferences number? - Number of references found in library to base the answer on.\n * @param maxanswerreferences number? - Limits the number of references used to answer the question.\n * @param similaritythreshold number? - Threshold used to find matches in library\n * @param language string? - The language for the answer text.\r\n * Supported Languages:\r\n * \"ar\", \"cs\", \"da\", \"de\", \"en\", \"es\", \"el\", \"fr\", \"fi\", \"hu\", \"hr\",\r\n * \"it\", \"ja\", \"ko\", \"nl\", \"no\", \"pl\", \"pt\", \"ro\", \"ru\", \"sk\", \"sl\",\r\n * \"sv\", \"tr\", \"zh\"\n * @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).\n */\n async post(data: {\n question?: string,\n maxreferences?: number,\n maxanswerreferences?: number,\n similaritythreshold?: number,\n language?: string,\n tags?: string,\n }): Promise<Answer> {\n return (\n await this.restClient.post<Answer>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n}\n","import { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/domains\"\n * This is a generated file do not change manually!\n */\nexport class BulkDomainsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/domains\";\n }\n}\n","import { BoostWord } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/boostwords\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelBoostwordsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/boostwords\";\n }\n\n /**\n * Create one or more boostwordsThis is the quiet version of 'post /api/domains/{domainname}/boostwords'\n *\n * @param body BoostWord[]? - \n */\n async post(\n body?: BoostWord[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Instance } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/classes/{classid}/instances\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelclassInstancesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/instances\";\n }\n\n /**\n * Get all instances of the classes by class idThis is the quiet version of 'get /api/model/domains/{domainname}/classes/{id}/instances'\n */\n async get(): Promise<Instance[]> {\n return (\n await this.restClient.get<Instance[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { BulkmodelclassInstancesEndpoint } from './bulkmodelclassInstances';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/classes/{classid}\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelClassEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly classid: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/classes\" + `/${this.classid}`;\n }\n\n instances(): BulkmodelclassInstancesEndpoint {\n return new BulkmodelclassInstancesEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import { ClassBulk } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/classes\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelClassesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/classes\";\n }\n\n /**\n * Get all classesThis is the quiet version of 'get /api/domains/{domainname}/classes'\n */\n async get(): Promise<ClassBulk[]> {\n return (\n await this.restClient.get<ClassBulk[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Create one or more classesThis is the quiet version of 'post /api/domains/{domainname}/classes'\n *\n * @param body ClassBulk[]? - \n */\n async post(\n body?: ClassBulk[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { DataProperty } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/dataproperties\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelDatapropertiesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/dataproperties\";\n }\n\n /**\n * Get all datapropertiesThis is the quiet version of 'get /api/domains/{domainname}/dataproperties'\n */\n async get(): Promise<DataProperty[]> {\n return (\n await this.restClient.get<DataProperty[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Create one or more datapropertiesThis is the quiet version of 'post /api/domains/{domainname}/dataproperties'\n *\n * @param body DataProperty[]? - \n */\n async post(\n body?: DataProperty[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Instance } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/instances\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelInstancesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/instances\";\n }\n\n /**\n * Get all instancesThis is the quiet version of 'get /api/domains/{domainname}/instances'\n */\n async get(): Promise<Instance[]> {\n return (\n await this.restClient.get<Instance[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Create an instanceThis is the quiet version of 'post /api/model/domains/{domainname}/instances'\n *\n * @param body Instance[]? - \n */\n async post(\n body?: Instance[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { ModelMetadata } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/metadata\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelMetadataEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/metadata\";\n }\n\n /**\n * Get all metadataThis is the quiet version of 'get /api/domains/{domainname}/metadata'\n */\n async get(): Promise<ModelMetadata[]> {\n return (\n await this.restClient.get<ModelMetadata[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Create one or more metadataThis is the quiet version of 'post /api/domains/{domainname}/metadata'\n *\n * @param body ModelMetadata[]? - \n */\n async post(\n body?: ModelMetadata[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { NamedEntity } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/namedentities\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelNamedentitiesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/namedentities\";\n }\n\n /**\n * Create one or more named entitiesThis is the quiet version of 'post /api/domains/{domainname}/namedentities'\n *\n * @param body NamedEntity[]? - \n */\n async post(\n body?: NamedEntity[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Rule } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/rules\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelRulesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/rules\";\n }\n\n /**\n * Get a ruleThis is the quiet version of 'get /api/model/domains/{domainname}/rules'\n */\n async get(): Promise<Rule[]> {\n return (\n await this.restClient.get<Rule[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Create a ruleThis is the quiet version of 'post /api/model/domains/{domainname}/rules'\n *\n * @param body Rule[]? - \n */\n async post(\n body?: Rule[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { StopWord } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/stopwords\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelStopwordsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/stopwords\";\n }\n\n /**\n * Add a list of stop words to your domain\n *\n * @param body StopWord[]? - \n */\n async post(\n body?: StopWord[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Synonym } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}/synonyms\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelSynonymsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/synonyms\";\n }\n\n /**\n * Create one or more synonymsThis is the quiet version of 'post /api/domains/{domainname}/synonyms'\n *\n * @param body Synonym[]? - \n */\n async post(\n body?: Synonym[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { BulkmodelBoostwordsEndpoint } from './bulkmodelBoostwords';\nimport { BulkmodelClassEndpoint } from './bulkmodelClass';\nimport { BulkmodelClassesEndpoint } from './bulkmodelClasses';\nimport { BulkmodelDatapropertiesEndpoint } from './bulkmodelDataproperties';\nimport { BulkmodelInstancesEndpoint } from './bulkmodelInstances';\nimport { BulkmodelMetadataEndpoint } from './bulkmodelMetadata';\nimport { BulkmodelNamedentitiesEndpoint } from './bulkmodelNamedentities';\nimport { BulkmodelRulesEndpoint } from './bulkmodelRules';\nimport { BulkmodelStopwordsEndpoint } from './bulkmodelStopwords';\nimport { BulkmodelSynonymsEndpoint } from './bulkmodelSynonyms';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains/{domainname}\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelDomainEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly domainname: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/domains\" + `/${this.domainname}`;\n }\n\n boostwords(): BulkmodelBoostwordsEndpoint {\n return new BulkmodelBoostwordsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n classes(): BulkmodelClassesEndpoint;\n classes(classid: string): BulkmodelClassEndpoint\n \n classes(classid?: string): BulkmodelClassEndpoint | BulkmodelClassesEndpoint {\n if(classid !== undefined && classid !== null) {\n\t return new BulkmodelClassEndpoint(this.restClient, this.ENDPOINT, classid);\n } else {\n\t return new BulkmodelClassesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n dataproperties(): BulkmodelDatapropertiesEndpoint {\n return new BulkmodelDatapropertiesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n instances(): BulkmodelInstancesEndpoint {\n return new BulkmodelInstancesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n metadata(): BulkmodelMetadataEndpoint {\n return new BulkmodelMetadataEndpoint(this.restClient, this.ENDPOINT);\n }\n\n namedentities(): BulkmodelNamedentitiesEndpoint {\n return new BulkmodelNamedentitiesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n rules(): BulkmodelRulesEndpoint {\n return new BulkmodelRulesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n stopwords(): BulkmodelStopwordsEndpoint {\n return new BulkmodelStopwordsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n synonyms(): BulkmodelSynonymsEndpoint {\n return new BulkmodelSynonymsEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model/domains\"\n * This is a generated file do not change manually!\n */\nexport class BulkmodelDomainsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/domains\";\n }\n}\n","import { BulkmodelDomainEndpoint } from './bulkmodelDomain';\nimport { BulkmodelDomainsEndpoint } from './bulkmodelDomains';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/model\"\n * This is a generated file do not change manually!\n */\nexport class BulkModelEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/model\";\n }\n\n domains(): BulkmodelDomainsEndpoint;\n domains(domainname: string): BulkmodelDomainEndpoint\n \n domains(domainname?: string): BulkmodelDomainEndpoint | BulkmodelDomainsEndpoint {\n if(domainname !== undefined && domainname !== null) {\n\t return new BulkmodelDomainEndpoint(this.restClient, this.ENDPOINT, domainname);\n } else {\n\t return new BulkmodelDomainsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n}\n","import { DocumentClassBulk } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/domains/{domainname}/documentclasses\"\n * This is a generated file do not change manually!\n */\nexport class BulkdomainsDocumentclassesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documentclasses\";\n }\n\n /**\n * Get all document classesThis is the quiet version of 'get /api/domains/{domainname}/documentclasses'\n */\n async get(): Promise<DocumentClassBulk[]> {\n return (\n await this.restClient.get<DocumentClassBulk[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Create one or more document classesThis is the quiet version of 'post /api/domains/{domainname}/documentclasses'\n *\n * @param body DocumentClassBulk[]? - \n */\n async post(\n body?: DocumentClassBulk[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { DocumentType } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/domains/{domainname}/documenttypes\"\n * This is a generated file do not change manually!\n */\nexport class BulkdomainsDocumenttypesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documenttypes\";\n }\n\n async get(): Promise<DocumentType[]> {\n return (\n await this.restClient.get<DocumentType[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * @param body DocumentType[]? - \n */\n async post(\n body?: DocumentType[],\n ): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Document } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/domains/{domainname}/referencedocuments\"\n * This is a generated file do not change manually!\n */\nexport class BulkdomainsReferencedocumentsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/referencedocuments\";\n }\n\n /**\n * Get all reference documentsThis is the quiet version of 'get /api/domains/{domainname}/referencedocuments'\n *\n * @param withsentences boolean? - Gives back the sentences of a paragraph.\n */\n async get(params?: {\n withsentences?: boolean,\n }): Promise<Document[]> {\n return (\n await this.restClient.get<Document[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * @param body string[] - \n */\n async delete(\n body: string[],\n ) {\n return await this.restClient.delete(\n this.ENDPOINT,\n body\n );\n }\n\n /**\n * Upload reference documentThis is the quiet version of 'post /api/domains/{domainname}/referencedocuments'\n *\n * @param name string? - The document name in your library (in contrast to the file name being used during upload).\n * @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).\n * @param metadata string? - Filter by metadata\n * @param file Blob? - Input document (left document).\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param documenttype string? - Specifies the document type that is to be used by semantha when reading the uploaded document.\n * @param color string? - Use this parameter to specify the color for your reference document. Possible values are RED, MAGENTA, AQUA, ORANGE, GREY, or LAVENDER.\n * @param comment string? - Use this parameter to add a comment to your reference document.\n * @param documentclassid string? - List of documentclass ID for the target. The limit here is 1 ID.\n * @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.\n */\n async post(data: {\n name?: string,\n tags?: string,\n metadata?: string,\n file?: Blob,\n text?: string,\n documenttype?: string,\n color?: string,\n comment?: string,\n documentclassid?: string,\n addparagraphsasdocuments?: boolean,\n },\n params?: {\n detectlanguage?: boolean,\n linkclasses?: boolean,\n }): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n \n /**\n * Upload reference documentThis is the quiet version of 'post /api/domains/{domainname}/referencedocuments'\n *\n * @param body Document[]? - \n */\n async postJson(\n body: Document[],\n params?: {\n detectlanguage?: boolean,\n linkclasses?: boolean,\n }): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Document } from '../model';\nimport { MediaType } from '../rest';\nimport { ModeEnum } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/domains/{domainname}/references\"\n * This is a generated file do not change manually!\n */\nexport class BulkdomainsReferencesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/references\";\n }\n\n /**\n * Determine references with several input documentsMatches several input documents ('file' parameter, as an alternative 'text' can be used) to a set of 'referencedocument' if set or internal library. If you match against internal library the 'tags' parameter can be used to filter the library.\n *\n * @param body Document[]? - \n */\n async post(\n body: Document[],\n params?: {\n referencedocumentids?: string,\n tags?: string,\n documentclassids?: string,\n similaritythreshold?: number,\n synonymousthreshold?: number,\n marknomatch?: boolean,\n withreferencetext?: boolean,\n withreferenceimage?: boolean,\n withareas?: boolean,\n mode?: ModeEnum,\n detectlanguage?: boolean,\n maxreferences?: number,\n considertexttype?: boolean,\n resizeparagraphs?: boolean,\n }): Promise<Document[]> {\n return (\n await this.restClient.post<Document[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { BulkdomainsDocumentclassesEndpoint } from './bulkdomainsDocumentclasses';\nimport { BulkdomainsDocumenttypesEndpoint } from './bulkdomainsDocumenttypes';\nimport { BulkdomainsReferencedocumentsEndpoint } from './bulkdomainsReferencedocuments';\nimport { BulkdomainsReferencesEndpoint } from './bulkdomainsReferences';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk/domains/{domainname}\"\n * This is a generated file do not change manually!\n */\nexport class BulkdomainsDomainEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly domainname: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/domains\" + `/${this.domainname}`;\n }\n\n documentclasses(): BulkdomainsDocumentclassesEndpoint {\n return new BulkdomainsDocumentclassesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n documenttypes(): BulkdomainsDocumenttypesEndpoint {\n return new BulkdomainsDocumenttypesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n referencedocuments(): BulkdomainsReferencedocumentsEndpoint {\n return new BulkdomainsReferencedocumentsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n references(): BulkdomainsReferencesEndpoint {\n return new BulkdomainsReferencesEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import { BulkDomainsEndpoint } from './bulkDomains';\nimport { BulkModelEndpoint } from './bulkModel';\nimport { BulkdomainsDomainEndpoint } from './bulkdomainsDomain';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/bulk\"\n * This is a generated file do not change manually!\n */\nexport class BulkEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/bulk\";\n }\n\n domains(): BulkDomainsEndpoint;\n domains(domainname: string): BulkdomainsDomainEndpoint\n \n domains(domainname?: string): BulkdomainsDomainEndpoint | BulkDomainsEndpoint {\n if(domainname !== undefined && domainname !== null) {\n\t return new BulkdomainsDomainEndpoint(this.restClient, this.ENDPOINT, domainname);\n } else {\n\t return new BulkDomainsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n model(): BulkModelEndpoint {\n return new BulkModelEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import { CellType } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/celltypes\"\n * This is a generated file do not change manually!\n */\nexport class CelltypesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/celltypes\";\n }\n\n async get(): Promise<CellType[]> {\n return (\n await this.restClient.get<CellType[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { Chat } from '../model';\nimport { ChatResponse } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/chats/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ChatEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/chats\" + `/${this.id}`;\n }\n\n /**\n * Chat with the generative modelThe chat endpoint allows you to interact with the generative model in a conversational manner.\n *\n * @param body Chat? - \n */\n async post(\n body?: Chat,\n ): Promise<ChatResponse> {\n return (\n await this.restClient.post<ChatResponse>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/chats\"\n * This is a generated file do not change manually!\n */\nexport class ChatsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/chats\";\n }\n}\n","import { ExtractorClass } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/extractorclasses/{id}/extractorclasses\"\n * This is a generated file do not change manually!\n */\nexport class ChildExtractorclassesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/extractorclasses\";\n }\n\n /**\n * @param body ExtractorClass? - \n */\n async post(\n body?: ExtractorClass,\n ): Promise<ExtractorClass> {\n return (\n await this.restClient.post<ExtractorClass>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { DocumentType } from '../model';\nimport { MediaType } from '../rest';\nimport { Name } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documenttypes/{id}/clone\"\n * This is a generated file do not change manually!\n */\nexport class CloneEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/clone\";\n }\n\n /**\n * Clone one document type and give it a new name. Needs roles: 'Advanced User', 'Domain Admin' or 'Expert User'\n *\n * @param body Name? - \n */\n async post(\n body?: Name,\n ): Promise<DocumentType> {\n return (\n await this.restClient.post<DocumentType>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { ClusteringstructureEnum } from '../model';\nimport { MediaType } from '../rest';\nimport { RangeEnum } from '../model';\nimport { RestClient } from '../rest';\nimport { SmartClusterResponseContainer } from '../model';\nimport { SmartClusterSemiSupervisedRequest } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/clusters\"\n * This is a generated file do not change manually!\n */\nexport class ClustersEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/clusters\";\n }\n\n /**\n * Clusters reference documents based on their semantic content and provides labels for each cluster\n *\n * @param documentids string? - List of document Ids for target. The limit here is 65000 IDs. The IDs can be passed as a comma separated string.\n * @param name string? - Filter documents for a given name\n * @param createdafter number? - Filter for documents which are created after a given UNIX timestamp. The createdafter filter only works when also using the parameters offset and limit.\n * @param createdbefore number? - Filter for documents which are created before a given UNIX timestamp. The createdbefore filter only works when also using the parameters offset and limit.\n * @param updatedafter number? - Filter for documents which are updated after a given UNIX timestamp. The updatedafter filter only works when also using the parameters offset and limit.\n * @param updatedbefore number? - Filter for documents which are updated before a given UNIX timestamp. The updatedbefore filter only works when also using the parameters offset and limit.\n * @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).\n * @param documentclassids string? - List of documentclass IDs for the target. The limit here is 1000 IDs. The IDs are passed as a comma separated list.\n * @param withoutdocumentclass boolean? - Filters the returned reference documents to include only documents that are not linked to a documentclass. The parameter is of type boolean and is set to false by default.\n * @param mincharacters number? - Filters the returned reference documents to include only documents that have a minimum of characters\n * @param metadata string? - Filter documents for part of metadata, casing is ignored.\n * @param comment string? - Filter documents for part of comment, casing is ignored.\n * @param sourcedoc boolean? - If true, then only source documents are returned.\n * @param sourcedocumentid string? - Filter documents a specific source document.\n * @param minclustersize string? - Determines the size of the cluster, values are LOW, MEDIUM, HIGH\n * @param clusteringstructure ClusteringstructureEnum? - Determines how clusters are created, values are LOCAL, BALANCED, GLOBAL\n * @param reduceoutliers boolean? - Boolean to try to reduce outlier on clustering\n * @param range RangeEnum? - Used for topic over time clustering, values are HOURS, DAYS, MONTHS, YEARS\n * @param neighbors number? - Number of neighbors\n */\n async get(params?: {\n documentids?: string,\n name?: string,\n createdafter?: number,\n createdbefore?: number,\n updatedafter?: number,\n updatedbefore?: number,\n tags?: string,\n documentclassids?: string,\n withoutdocumentclass?: boolean,\n mincharacters?: number,\n metadata?: string,\n comment?: string,\n sourcedoc?: boolean,\n sourcedocumentid?: string,\n minclustersize?: string,\n clusteringstructure?: ClusteringstructureEnum,\n reduceoutliers?: boolean,\n range?: RangeEnum,\n neighbors?: number,\n }): Promise<SmartClusterResponseContainer> {\n return (\n await this.restClient.get<SmartClusterResponseContainer>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * @param body SmartClusterSemiSupervisedRequest - \n */\n async put(\n body: SmartClusterSemiSupervisedRequest,\n ): Promise<SmartClusterResponseContainer> {\n return (\n await this.restClient.put<SmartClusterResponseContainer>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/conversions\"\n * This is a generated file do not change manually!\n */\nexport class ConversionsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/conversions\";\n }\n\n /**\n * Converts docx files into pdf format.\n *\n * @param file Blob? - The document to convert.\n */\n async post(\n file?: Blob,\n ): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n file\n )\n ).toFile();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/currentuser/roles\"\n * This is a generated file do not change manually!\n */\nexport class RolesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/roles\";\n }\n\n /**\n * Get the role/s of the current user.\n */\n async get(): Promise<string[]> {\n return (\n await this.restClient.get<string[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { CurrentUser } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { RolesEndpoint } from './roles';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/currentuser\"\n * This is a generated file do not change manually!\n */\nexport class CurrentuserEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/currentuser\";\n }\n\n roles(): RolesEndpoint {\n return new RolesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n /**\n * Get information about the current user.\n */\n async get(): Promise<CurrentUser> {\n return (\n await this.restClient.get<CurrentUser>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { Difference } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/diff\"\n * This is a generated file do not change manually!\n */\nexport class DiffEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/diff\";\n }\n\n /**\n * Creates a diff of text on syntactical basis.\n *\n * @param left string? - The base for creating a diff.\n * @param right string? - The changed text which gets compared to 'left' text.\n */\n async post(data: {\n left?: string,\n right?: string,\n }): Promise<Difference[]> {\n return (\n await this.restClient.post<Difference[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n}\n","import { CustomField } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documentclasses/{id}/customfields\"\n * This is a generated file do not change manually!\n */\nexport class DocclassCustomfieldsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/customfields\";\n }\n\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * @param body CustomField[] - \n */\n async put(\n body: CustomField[],\n ): Promise<void> {\n return (\n await this.restClient.put<void>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { DocumentClass } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documentclasses/{id}/documentclasses\"\n * This is a generated file do not change manually!\n */\nexport class DocclassDocumentclassesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documentclasses\";\n }\n\n /**\n * Get all subclasses for a document class identified by id\n */\n async get(): Promise<DocumentClass[]> {\n return (\n await this.restClient.get<DocumentClass[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete a subclass from a document class identified by id\n *\n * @param body string[] - \n */\n async delete(\n body: string[],\n ) {\n return await this.restClient.delete(\n this.ENDPOINT,\n body\n );\n }\n\n /**\n * Add existing classes as subclasses to a document class identified by id\n *\n * @param body string[] - \n */\n async patch(\n body: string[],\n ): Promise<DocumentClass[]> {\n return (\n await this.restClient.patch<DocumentClass[]>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n\n /**\n * Create one or more subclasses for a document class identified by name\n *\n * @param body DocumentClass? - \n */\n async post(\n body?: DocumentClass,\n ): Promise<DocumentClass> {\n return (\n await this.restClient.post<DocumentClass>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documentclasses/{id}/referencedocuments/tags\"\n * This is a generated file do not change manually!\n */\nexport class DocclassTagsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/tags\";\n }\n\n async get(): Promise<string[]> {\n return (\n await this.restClient.get<string[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { DocclassTagsEndpoint } from './docclassTags';\nimport { DocumentInformation } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documentclasses/{id}/referencedocuments\"\n * This is a generated file do not change manually!\n */\nexport class DocclassReferencedocumentsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/referencedocuments\";\n }\n\n tags(): DocclassTagsEndpoint {\n return new DocclassTagsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n /**\n * Get all library documents belonging to a document class identified by its id\n */\n async get(): Promise<DocumentInformation[]> {\n return (\n await this.restClient.get<DocumentInformation[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete library documents from a document class identified by its id\n *\n * @param body string[] - \n */\n async delete(\n body: string[],\n ) {\n return await this.restClient.delete(\n this.ENDPOINT,\n body\n );\n }\n\n /**\n * Add a library document to a document class identified by its id\n *\n * @param body string[] - \n */\n async patch(\n body: string[],\n ): Promise<void> {\n return (\n await this.restClient.patch<void>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { Document } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documentannotations\"\n * This is a generated file do not change manually!\n */\nexport class DocumentannotationsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documentannotations\";\n }\n\n /**\n * Download the original input document (pdf or docx) with the referenced document/library matches as annotated comments\n *\n * @param file Blob? - Input document (left document).\n * @param document Document? - \n * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.\r\n * In general, the higher the threshold, the more precise the results.\n * @param synonymousthreshold number? - Threshold for good matches.\n * @param marknomatch boolean? - Marks the paragraphs that have not matched\n * @param withreferencetext boolean? - Provide the reference text in the result JSON. If set to false, you have to query the library to resolve the references yourself.\n */\n async postAsDocx(data: {\n file?: Blob,\n document?: Document,\n similaritythreshold?: number,\n synonymousthreshold?: number,\n marknomatch?: boolean,\n withreferencetext?: boolean,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.DOCX),\n data\n )\n ).toFile();\n }\n \n /**\n * Download the original input document (pdf or docx) with the referenced document/library matches as annotated comments\n *\n * @param file Blob? - Input document (left document).\n * @param document Document? - \n * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.\r\n * In general, the higher the threshold, the more precise the results.\n * @param synonymousthreshold number? - Threshold for good matches.\n * @param marknomatch boolean? - Marks the paragraphs that have not matched\n * @param withreferencetext boolean? - Provide the reference text in the result JSON. If set to false, you have to query the library to resolve the references yourself.\n */\n async postAsPdf(data: {\n file?: Blob,\n document?: Document,\n similaritythreshold?: number,\n synonymousthreshold?: number,\n marknomatch?: boolean,\n withreferencetext?: boolean,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.PDF),\n data\n )\n ).toFile();\n }\n}\n","import { DocclassCustomfieldsEndpoint } from './docclassCustomfields';\nimport { DocclassDocumentclassesEndpoint } from './docclassDocumentclasses';\nimport { DocclassReferencedocumentsEndpoint } from './docclassReferencedocuments';\nimport { DocumentClass } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documentclasses/{id}\"\n * This is a generated file do not change manually!\n */\nexport class DocumentclassEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documentclasses\" + `/${this.id}`;\n }\n\n customfields(): DocclassCustomfieldsEndpoint {\n return new DocclassCustomfieldsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n documentclasses(): DocclassDocumentclassesEndpoint {\n return new DocclassDocumentclassesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n referencedocuments(): DocclassReferencedocumentsEndpoint {\n return new DocclassReferencedocumentsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n /**\n * Get a class identified by id and all its subclasses\n */\n async get(): Promise<DocumentClass> {\n return (\n await this.restClient.get<DocumentClass>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete a document class identified by id\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Rename a document class identified by its id\n *\n * @param body DocumentClass - \n */\n async put(\n body: DocumentClass,\n ): Promise<DocumentClass> {\n return (\n await this.restClient.put<DocumentClass>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { DocumentClass } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documentclasses\"\n * This is a generated file do not change manually!\n */\nexport class DocumentclassesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documentclasses\";\n }\n\n /**\n * Get all document classes\n */\n async get(): Promise<DocumentClass[]> {\n return (\n await this.restClient.get<DocumentClass[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all document classes\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create one or more document classes\n *\n * @param body DocumentClass? - \n */\n async post(\n body?: DocumentClass,\n ): Promise<DocumentClass> {\n return (\n await this.restClient.post<DocumentClass>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Document } from '../model';\nimport { DocumentmodeEnum } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { TypeEnum } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documents\"\n * This is a generated file do not change manually!\n */\nexport class DocumentsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documents\";\n }\n\n /**\n * Creates a list of document models from an input document (pdf, docx, txt, zip, xlsx)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.\n *\n * @param file Blob? - Input document\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param type TypeEnum? - Choose the structure of a document can be 'similarity' or 'extraction'. The type depends on the Use Case you're in.\n * @param documenttype string? - Id of the document template to use\n * @param withareas boolean? - Gives back the coordinates of sentences.\n * @param withcontextparagraphs boolean? - Gives back the context paragraphs.\n * @param withcharacters boolean? - Gives back the coordinates for each character of a sentence.\n * @param withformatinfo boolean? - Gives back aggregated formatting information of paragraphs for this document.\n * @param page number? - Number of the page to return as image. Zero based. Only for accept=image/png\n * @param x number? - X position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param y number? - Y position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param width number? - Width in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param height number? - Height in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param documentmode DocumentmodeEnum? - Determines to return paragraphs as rows or sentences. Only for accept=xlsx\n * @param withparagraphtype boolean? - documentmode=paragraph only and true -> text type is returned in column B. Only for accept=xlsx\n */\n async post(data: {\n file?: Blob,\n text?: string,\n type?: TypeEnum,\n documenttype?: string,\n withareas?: boolean,\n withcontextparagraphs?: boolean,\n withcharacters?: boolean,\n withformatinfo?: boolean,\n page?: number,\n x?: number,\n y?: number,\n width?: number,\n height?: number,\n documentmode?: DocumentmodeEnum,\n withparagraphtype?: boolean,\n },\n params?: {\n withsentences?: boolean,\n }): Promise<Document[]> {\n return (\n await this.restClient.post<Document[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n \n /**\n * Creates a list of document models from an input document (pdf, docx, txt, zip, xlsx)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.\n *\n * @param file Blob? - Input document\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param type TypeEnum? - Choose the structure of a document can be 'similarity' or 'extraction'. The type depends on the Use Case you're in.\n * @param documenttype string? - Id of the document template to use\n * @param withareas boolean? - Gives back the coordinates of sentences.\n * @param withcontextparagraphs boolean? - Gives back the context paragraphs.\n * @param withcharacters boolean? - Gives back the coordinates for each character of a sentence.\n * @param withformatinfo boolean? - Gives back aggregated formatting information of paragraphs for this document.\n * @param page number? - Number of the page to return as image. Zero based. Only for accept=image/png\n * @param x number? - X position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param y number? - Y position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param width number? - Width in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param height number? - Height in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param documentmode DocumentmodeEnum? - Determines to return paragraphs as rows or sentences. Only for accept=xlsx\n * @param withparagraphtype boolean? - documentmode=paragraph only and true -> text type is returned in column B. Only for accept=xlsx\n */\n async postAsXlsx(data: {\n file?: Blob,\n text?: string,\n type?: TypeEnum,\n documenttype?: string,\n withareas?: boolean,\n withcontextparagraphs?: boolean,\n withcharacters?: boolean,\n withformatinfo?: boolean,\n page?: number,\n x?: number,\n y?: number,\n width?: number,\n height?: number,\n documentmode?: DocumentmodeEnum,\n withparagraphtype?: boolean,\n },\n params?: {\n withsentences?: boolean,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.XLSX),\n data,\n \"blob\"\n )\n ).toFile();\n }\n \n /**\n * Creates a list of document models from an input document (pdf, docx, txt, zip, xlsx)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.\n *\n * @param file Blob? - Input document\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param type TypeEnum? - Choose the structure of a document can be 'similarity' or 'extraction'. The type depends on the Use Case you're in.\n * @param documenttype string? - Id of the document template to use\n * @param withareas boolean? - Gives back the coordinates of sentences.\n * @param withcontextparagraphs boolean? - Gives back the context paragraphs.\n * @param withcharacters boolean? - Gives back the coordinates for each character of a sentence.\n * @param withformatinfo boolean? - Gives back aggregated formatting information of paragraphs for this document.\n * @param page number? - Number of the page to return as image. Zero based. Only for accept=image/png\n * @param x number? - X position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param y number? - Y position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param width number? - Width in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param height number? - Height in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param documentmode DocumentmodeEnum? - Determines to return paragraphs as rows or sentences. Only for accept=xlsx\n * @param withparagraphtype boolean? - documentmode=paragraph only and true -> text type is returned in column B. Only for accept=xlsx\n */\n async postAsDocx(data: {\n file?: Blob,\n text?: string,\n type?: TypeEnum,\n documenttype?: string,\n withareas?: boolean,\n withcontextparagraphs?: boolean,\n withcharacters?: boolean,\n withformatinfo?: boolean,\n page?: number,\n x?: number,\n y?: number,\n width?: number,\n height?: number,\n documentmode?: DocumentmodeEnum,\n withparagraphtype?: boolean,\n },\n params?: {\n withsentences?: boolean,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.DOCX),\n data\n )\n ).toFile();\n }\n \n /**\n * Creates a list of document models from an input document (pdf, docx, txt, zip, xlsx)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.\n *\n * @param file Blob? - Input document\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param type TypeEnum? - Choose the structure of a document can be 'similarity' or 'extraction'. The type depends on the Use Case you're in.\n * @param documenttype string? - Id of the document template to use\n * @param withareas boolean? - Gives back the coordinates of sentences.\n * @param withcontextparagraphs boolean? - Gives back the context paragraphs.\n * @param withcharacters boolean? - Gives back the coordinates for each character of a sentence.\n * @param withformatinfo boolean? - Gives back aggregated formatting information of paragraphs for this document.\n * @param page number? - Number of the page to return as image. Zero based. Only for accept=image/png\n * @param x number? - X position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param y number? - Y position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param width number? - Width in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param height number? - Height in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param documentmode DocumentmodeEnum? - Determines to return paragraphs as rows or sentences. Only for accept=xlsx\n * @param withparagraphtype boolean? - documentmode=paragraph only and true -> text type is returned in column B. Only for accept=xlsx\n */\n async postAsPng(data: {\n file?: Blob,\n text?: string,\n type?: TypeEnum,\n documenttype?: string,\n withareas?: boolean,\n withcontextparagraphs?: boolean,\n withcharacters?: boolean,\n withformatinfo?: boolean,\n page?: number,\n x?: number,\n y?: number,\n width?: number,\n height?: number,\n documentmode?: DocumentmodeEnum,\n withparagraphtype?: boolean,\n },\n params?: {\n withsentences?: boolean,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.PNG),\n data\n )\n ).toFile();\n }\n \n /**\n * Creates a list of document models from an input document (pdf, docx, txt, zip, xlsx)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.\n *\n * @param file Blob? - Input document\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param type TypeEnum? - Choose the structure of a document can be 'similarity' or 'extraction'. The type depends on the Use Case you're in.\n * @param documenttype string? - Id of the document template to use\n * @param withareas boolean? - Gives back the coordinates of sentences.\n * @param withcontextparagraphs boolean? - Gives back the context paragraphs.\n * @param withcharacters boolean? - Gives back the coordinates for each character of a sentence.\n * @param withformatinfo boolean? - Gives back aggregated formatting information of paragraphs for this document.\n * @param page number? - Number of the page to return as image. Zero based. Only for accept=image/png\n * @param x number? - X position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param y number? - Y position in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param width number? - Width in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param height number? - Height in pixel (72dpi) of the area to return as image. Only for accept=image/png\n * @param documentmode DocumentmodeEnum? - Determines to return paragraphs as rows or sentences. Only for accept=xlsx\n * @param withparagraphtype boolean? - documentmode=paragraph only and true -> text type is returned in column B. Only for accept=xlsx\n */\n async postAsReqifz(data: {\n file?: Blob,\n text?: string,\n type?: TypeEnum,\n documenttype?: string,\n withareas?: boolean,\n withcontextparagraphs?: boolean,\n withcharacters?: boolean,\n withformatinfo?: boolean,\n page?: number,\n x?: number,\n y?: number,\n width?: number,\n height?: number,\n documentmode?: DocumentmodeEnum,\n withparagraphtype?: boolean,\n },\n params?: {\n withsentences?: boolean,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.REQIFZ),\n data\n )\n ).toFile();\n }\n}\n","import { CloneEndpoint } from './clone';\nimport { DocumentType } from '../model';\nimport { DocumentTypeChange } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documenttypes/{id}\"\n * This is a generated file do not change manually!\n */\nexport class DocumenttypeEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documenttypes\" + `/${this.id}`;\n }\n\n clone(): CloneEndpoint {\n return new CloneEndpoint(this.restClient, this.ENDPOINT);\n }\n\n /**\n * Read one document type.\n */\n async get(): Promise<DocumentType> {\n return (\n await this.restClient.get<DocumentType>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one document type. Needs roles: 'Advanced User', 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one document type. Needs roles: 'Advanced User', 'Domain Admin' or 'Expert User'\n *\n * @param body DocumentTypeChange - \n */\n async patch(\n body: DocumentTypeChange,\n ): Promise<DocumentType> {\n return (\n await this.restClient.patch<DocumentType>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { DocumentType } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/documenttypes\"\n * This is a generated file do not change manually!\n */\nexport class DocumenttypesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/documenttypes\";\n }\n\n /**\n * Returns all available document types.\n */\n async get(): Promise<DocumentType[]> {\n return (\n await this.restClient.get<DocumentType[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all document types. Needs roles: 'Advanced User', 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Add a new document type. Needs roles: 'Advanced User', 'Domain Admin' or 'Expert User'\n *\n * @param body DocumentType? - \n */\n async post(\n body?: DocumentType,\n ): Promise<DocumentType> {\n return (\n await this.restClient.post<DocumentType>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { ModelClass } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/modelclasses\"\n * This is a generated file do not change manually!\n */\nexport class ModelclassesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/modelclasses\";\n }\n\n /**\n * Get all model classes\n *\n * @param uilanguage string? - Selects the language of the labels in the JSON response; useful with multi-language domain models.\n */\n async get(params?: {\n uilanguage?: string,\n }): Promise<ModelClass[]> {\n return (\n await this.restClient.get<ModelClass[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { SemanticModel } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/modelinstances\"\n * This is a generated file do not change manually!\n */\nexport class ModelinstancesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/modelinstances\";\n }\n\n /**\n * Extract semantic model for a list of documents\n *\n * @param file Blob? - Input document (left document).\n * @param documentextractor string? - The document extractor you want to be considered.\n * @param applymatchersfordocumentextractor boolean? - \n */\n async post(data: {\n file?: Blob,\n documentextractor?: string,\n applymatchersfordocumentextractor?: boolean,\n },\n params?: {\n withimages?: boolean,\n withdocument?: boolean,\n withadditionalroots?: boolean,\n documenttype?: string,\n uilanguage?: string,\n }): Promise<SemanticModel> {\n return (\n await this.restClient.post<SemanticModel>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n \n /**\n * Extract semantic model for a list of documents\n *\n * @param body SemanticModel? - \n */\n async postJson(\n body: SemanticModel,\n params?: {\n withimages?: boolean,\n withdocument?: boolean,\n withadditionalroots?: boolean,\n documenttype?: string,\n uilanguage?: string,\n }): Promise<SemanticModel> {\n return (\n await this.restClient.post<SemanticModel>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n \n /**\n * Extract semantic model for a list of documents\n *\n * @param file Blob? - Input document (left document).\n * @param documentextractor string? - The document extractor you want to be considered.\n * @param applymatchersfordocumentextractor boolean? - \n */\n async postAsXlsx(data: {\n file?: Blob,\n documentextractor?: string,\n applymatchersfordocumentextractor?: boolean,\n },\n params?: {\n withimages?: boolean,\n withdocument?: boolean,\n withadditionalroots?: boolean,\n documenttype?: string,\n uilanguage?: string,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.XLSX),\n data,\n \"blob\"\n )\n ).toFile();\n }\n}\n","import { MediaType } from '../rest';\nimport { Prompt } from '../model';\nimport { PromptExecution } from '../model';\nimport { PromptResponse } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/prompts/{id}\"\n * This is a generated file do not change manually!\n */\nexport class PromptEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/prompts\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<Prompt> {\n return (\n await this.restClient.get<Prompt>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Prompt - \n */\n async put(\n body: Prompt,\n ): Promise<Prompt> {\n return (\n await this.restClient.put<Prompt>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n\n /**\n * Executes a saved prompt against the configured generative model.The 'id' parameter determines which prompt is executed.\n *\n * @param body PromptExecution? - \n */\n async post(\n body?: PromptExecution,\n ): Promise<PromptResponse> {\n return (\n await this.restClient.post<PromptResponse>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { Prompt } from '../model';\nimport { PromptOverview } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/prompts\"\n * This is a generated file do not change manually!\n */\nexport class PromptsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/prompts\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<PromptOverview[]> {\n return (\n await this.restClient.get<PromptOverview[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Prompt? - \n */\n async post(\n body?: Prompt,\n ): Promise<Prompt> {\n return (\n await this.restClient.post<Prompt>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/{documentid}/images/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ImageEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/images\" + `/${this.id}`;\n }\n\n /**\n * Download an image from a document.\n */\n async getAsBinary(): Promise<Blob> {\n return (\n await this.restClient.get<Blob>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.BINARY),\n null,\n \"blob\"\n )\n ).toFile();\n }\n}\n","import { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/{documentid}/images\"\n * This is a generated file do not change manually!\n */\nexport class ImagesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/images\";\n }\n}\n","import { MediaType } from '../rest';\nimport { Paragraph } from '../model';\nimport { ParagraphUpdate } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/{documentid}/paragraphs/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ParagraphEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/paragraphs\" + `/${this.id}`;\n }\n\n /**\n * Get one paragraph of a specific document.\n */\n async get(): Promise<Paragraph> {\n return (\n await this.restClient.get<Paragraph>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one paragraph of a specific document. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Update one paragraph of a specific document. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body ParagraphUpdate - \n */\n async patch(\n body: ParagraphUpdate,\n ): Promise<Paragraph> {\n return (\n await this.restClient.patch<Paragraph>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/{documentid}/paragraphs\"\n * This is a generated file do not change manually!\n */\nexport class ParagraphsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/paragraphs\";\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Sentence } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/{documentid}/sentences/{id}\"\n * This is a generated file do not change manually!\n */\nexport class SentenceEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/sentences\" + `/${this.id}`;\n }\n\n /**\n * Get one single sentence of specific document.\n */\n async get(): Promise<Sentence> {\n return (\n await this.restClient.get<Sentence>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/{documentid}/sentences\"\n * This is a generated file do not change manually!\n */\nexport class SentencesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/sentences\";\n }\n}\n","import { Document } from '../model';\nimport { DocumentInformation } from '../model';\nimport { ImageEndpoint } from './image';\nimport { ImagesEndpoint } from './images';\nimport { MediaType } from '../rest';\nimport { ParagraphEndpoint } from './paragraph';\nimport { ParagraphsEndpoint } from './paragraphs';\nimport { RestClient } from '../rest';\nimport { SentenceEndpoint } from './sentence';\nimport { SentencesEndpoint } from './sentences';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/{documentid}\"\n * This is a generated file do not change manually!\n */\nexport class ReferencedocumentEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly documentid: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/referencedocuments\" + `/${this.documentid}`;\n }\n\n images(): ImagesEndpoint;\n images(id: string): ImageEndpoint\n \n images(id?: string): ImageEndpoint | ImagesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ImageEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ImagesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n paragraphs(): ParagraphsEndpoint;\n paragraphs(id: string): ParagraphEndpoint\n \n paragraphs(id?: string): ParagraphEndpoint | ParagraphsEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ParagraphEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ParagraphsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n sentences(): SentencesEndpoint;\n sentences(id: string): SentenceEndpoint\n \n sentences(id?: string): SentenceEndpoint | SentencesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new SentenceEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new SentencesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n /**\n * Returns one reference document by ID.\n *\n * @param querybyname boolean? - If true, documentid is treated as name and we search for a document with a given name.\n */\n async get(params?: {\n querybyname?: boolean,\n }): Promise<Document> {\n return (\n await this.restClient.get<Document>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one reference document. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one reference document. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body DocumentInformation - \n */\n async patch(\n body: DocumentInformation,\n ): Promise<DocumentInformation> {\n return (\n await this.restClient.patch<DocumentInformation>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { DocumentNamedEntity } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/namedentities\"\n * This is a generated file do not change manually!\n */\nexport class NamedentitiesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/namedentities\";\n }\n\n /**\n * Get all named entities (a.k.a custom entities) from reference documents.Can be filtered by tags or documentclassids.\n *\n * @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).\n * @param documentclassids string? - List of documentclass IDs for the target. The limit here is 1000 IDs.\r\n * The IDs are passed as a JSON array.\r\n * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.\n */\n async get(params?: {\n tags?: string,\n documentclassids?: string,\n }): Promise<DocumentNamedEntity[]> {\n return (\n await this.restClient.get<DocumentNamedEntity[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Statistic } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments/statistic\"\n * This is a generated file do not change manually!\n */\nexport class StatisticEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/statistic\";\n }\n\n /**\n * Returns statistical information about the reference documents a.k.a. library.\n */\n async get(): Promise<Statistic> {\n return (\n await this.restClient.get<Statistic>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { ClustersEndpoint } from './clusters';\nimport { Document } from '../model';\nimport { DocumentInformation } from '../model';\nimport { MediaType } from '../rest';\nimport { NamedentitiesEndpoint } from './namedentities';\nimport { ReferenceDocumentsResponseContainer } from '../model';\nimport { RestClient } from '../rest';\nimport { StatisticEndpoint } from './statistic';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/referencedocuments\"\n * This is a generated file do not change manually!\n */\nexport class ReferencedocumentsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/referencedocuments\";\n }\n\n clusters(): ClustersEndpoint {\n return new ClustersEndpoint(this.restClient, this.ENDPOINT);\n }\n\n namedentities(): NamedentitiesEndpoint {\n return new NamedentitiesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n statistic(): StatisticEndpoint {\n return new StatisticEndpoint(this.restClient, this.ENDPOINT);\n }\n\n /**\n * Get all reference documents a.k.a. library items.Supports server side pagination and filtering for <strong>application/json</strong> media type only by using <strong>offset</strong> and <strong>limit</strong> query parameter.<br><strong>Filter parameters:</strong> name, createdbefore, createdafter, tags, documentclassids, metadata.<br>Without <strong>offset</strong> and <strong>limit</strong> parameter, data can be filtered only by <strong>tags</strong> and <strong>documentclassids</strong>.\n *\n * @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).\n * @param documentids string? - List of document Ids for target. The limit here is 65000 IDs. The IDs can be passed as a comma separated string.\n * @param name string? - Filter documents for a given name\n * @param createdafter number? - Filter for documents which are created after a given UNIX timestamp. The createdafter filter only works when also using the parameters offset and limit.\n * @param createdbefore number? - Filter for documents which are created before a given UNIX timestamp. The createdbefore filter only works when also using the parameters offset and limit.\n * @param updatedafter number? - Filter for documents which are updated after a given UNIX timestamp. The updatedafter filter only works when also using the parameters offset and limit.\n * @param updatedbefore number? - Filter for documents which are updated before a given UNIX timestamp. The updatedbefore filter only works when also using the parameters offset and limit.\n * @param documentclassids string? - List of documentclass IDs for the target. The limit here is 1000 IDs. The IDs are passed as a comma separated list.\n * @param withoutdocumentclass boolean? - Filters the returned reference documents to include only documents that are not linked to a documentclass. The parameter is of type boolean and is set to false by default.\n * @param mincharacters number? - Filters the returned reference documents to include only documents that have a minimum of characters\n * @param metadata string? - Filter documents for part of metadata, casing is ignored.\n * @param comment string? - Filter documents for part of comment, casing is ignored.\n * @param sourcedoc boolean? - If true, then only source documents are returned.\n * @param sourcedocumentid string? - Filter documents a specific source document.\n * @param offset number? - Specify from which number on reference documents should be returned.\n * @param limit number? - Specify the number of reference documents to be returned.\n * @param sort string? - Define by which fields the returned reference documents are sorted. The following values can be sent as a comma-separated list: 'name', 'filename', 'metadata', 'created', 'updated', 'color', 'comment', 'derivedcolor', 'derivedcomment', 'documentclass'. Add a - before the field name to sort in descending order. Example: \"documentclass,-created\".\n * @param fields string? - Define which fields should be returned by the /referencedocuments endpoints. The following values can be sent as a comma-separated list: 'id', 'name', 'tags', 'derivedtags', 'metadata', 'filename', 'created', 'processed', 'lang', 'updated, color, derivedcolor, comment, derivedcomment, documentclass, contentpreview'. If empty or null all fields will be returned. Example: \"id,name,contentpreview,tags\"\n */\n async get(params?: {\n tags?: string,\n documentids?: string,\n name?: string,\n createdafter?: number,\n createdbefore?: number,\n updatedafter?: number,\n updatedbefore?: number,\n documentclassids?: string,\n withoutdocumentclass?: boolean,\n mincharacters?: number,\n metadata?: string,\n comment?: string,\n sourcedoc?: boolean,\n sourcedocumentid?: string,\n offset?: number,\n limit?: number,\n sort?: string,\n fields?: string,\n }): Promise<ReferenceDocumentsResponseContainer> {\n return (\n await this.restClient.get<ReferenceDocumentsResponseContainer>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n /**\n * Get all reference documents a.k.a. library items.Supports server side pagination and filtering for <strong>application/json</strong> media type only by using <strong>offset</strong> and <strong>limit</strong> query parameter.<br><strong>Filter parameters:</strong> name, createdbefore, createdafter, tags, documentclassids, metadata.<br>Without <strong>offset</strong> and <strong>limit</strong> parameter, data can be filtered only by <strong>tags</strong> and <strong>documentclassids</strong>.\n *\n * @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).\n * @param documentids string? - List of document Ids for target. The limit here is 65000 IDs. The IDs can be passed as a comma separated string.\n * @param name string? - Filter documents for a given name\n * @param createdafter number? - Filter for documents which are created after a given UNIX timestamp. The createdafter filter only works when also using the parameters offset and limit.\n * @param createdbefore number? - Filter for documents which are created before a given UNIX timestamp. The createdbefore filter only works when also using the parameters offset and limit.\n * @param updatedafter number? - Filter for documents which are updated after a given UNIX timestamp. The updatedafter filter only works when also using the parameters offset and limit.\n * @param updatedbefore number? - Filter for documents which are updated before a given UNIX timestamp. The updatedbefore filter only works when also using the parameters offset and limit.\n * @param documentclassids string? - List of documentclass IDs for the target. The limit here is 1000 IDs. The IDs are passed as a comma separated list.\n * @param withoutdocumentclass boolean? - Filters the returned reference documents to include only documents that are not linked to a documentclass. The parameter is of type boolean and is set to false by default.\n * @param mincharacters number? - Filters the returned reference documents to include only documents that have a minimum of characters\n * @param metadata string? - Filter documents for part of metadata, casing is ignored.\n * @param comment string? - Filter documents for part of comment, casing is ignored.\n * @param sourcedoc boolean? - If true, then only source documents are returned.\n * @param sourcedocumentid string? - Filter documents a specific source document.\n * @param offset number? - Specify from which number on reference documents should be returned.\n * @param limit number? - Specify the number of reference documents to be returned.\n * @param sort string? - Define by which fields the returned reference documents are sorted. The following values can be sent as a comma-separated list: 'name', 'filename', 'metadata', 'created', 'updated', 'color', 'comment', 'derivedcolor', 'derivedcomment', 'documentclass'. Add a - before the field name to sort in descending order. Example: \"documentclass,-created\".\n * @param fields string? - Define which fields should be returned by the /referencedocuments endpoints. The following values can be sent as a comma-separated list: 'id', 'name', 'tags', 'derivedtags', 'metadata', 'filename', 'created', 'processed', 'lang', 'updated, color, derivedcolor, comment, derivedcomment, documentclass, contentpreview'. If empty or null all fields will be returned. Example: \"id,name,contentpreview,tags\"\n */\n async getAsXlsx(params?: {\n tags?: string,\n documentids?: string,\n name?: string,\n createdafter?: number,\n createdbefore?: number,\n updatedafter?: number,\n updatedbefore?: number,\n documentclassids?: string,\n withoutdocumentclass?: boolean,\n mincharacters?: number,\n metadata?: string,\n comment?: string,\n sourcedoc?: boolean,\n sourcedocumentid?: string,\n offset?: number,\n limit?: number,\n sort?: string,\n fields?: string,\n }): Promise<Blob> {\n return (\n await this.restClient.get<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.XLSX),\n null,\n \"blob\"\n )\n ).toFile();\n }\n\n /**\n * Delete all reference documents. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Update metadata of multiple reference documents. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body DocumentInformation[] - \n */\n async patch(\n body: DocumentInformation[],\n ): Promise<void> {\n return (\n await this.restClient.patch<void>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n\n /**\n * Add a reference document a.k.a. library item.\n *\n * @param name string? - The document name in your library (in contrast to the file name being used during upload).\n * @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).\n * @param metadata string? - Filter by metadata\n * @param file Blob? - Input document (left document).\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param documenttype string? - Specifies the document type that is to be used by semantha when reading the uploaded document.\n * @param color string? - Use this parameter to specify the color for your reference document. Possible values are RED, MAGENTA, AQUA, ORANGE, GREY, or LAVENDER.\n * @param comment string? - Use this parameter to add a comment to your reference document.\n * @param documentclassid string? - List of documentclass ID for the target. The limit here is 1 ID.\n * @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.\n */\n async post(data: {\n name?: string,\n tags?: string,\n metadata?: string,\n file?: Blob,\n text?: string,\n documenttype?: string,\n color?: string,\n comment?: string,\n documentclassid?: string,\n addparagraphsasdocuments?: boolean,\n },\n params?: {\n detectlanguage?: boolean,\n addsourcedocument?: boolean,\n }): Promise<DocumentInformation[]> {\n return (\n await this.restClient.post<DocumentInformation[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n \n /**\n * Add a reference document a.k.a. library item.\n *\n * @param body Document[]? - \n */\n async postJson(\n body: Document[],\n params?: {\n detectlanguage?: boolean,\n addsourcedocument?: boolean,\n }): Promise<DocumentInformation[]> {\n return (\n await this.restClient.post<DocumentInformation[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Document } from '../model';\nimport { DocumentMetaData } from '../model';\nimport { MediaType } from '../rest';\nimport { ModeEnum } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/references\"\n * This is a generated file do not change manually!\n */\nexport class ReferencesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/references\";\n }\n\n /**\n * Determine references with one input documentReturns the input document (file) with its references. Depending on the 'Accept' header different output formats are supported. For 'application/json' we return the document with references. For xlsx we return an Excel sheet with each reference as rows. If input and output is docx or pdf we return the document with comments on paragraphs.\n *\n * @param file Blob? - Input document (left document).\n * @param referencedocument Blob? - Reference document(s) to be used instead of the documents in the domain's library.\n * @param referencedocumentids string[]? - To filter for document IDs. The limit here is 65000 IDs.\r\n * The IDs are passed as a JSON array.\n * @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).\n * @param documentclassids string[]? - List of documentclass IDs for the target. The limit here is 1000 IDs.\r\n * The IDs are passed as a JSON array.\r\n * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.\n * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.\r\n * In general, the higher the threshold, the more precise the results.\n * @param synonymousthreshold number? - Threshold for good matches.\n * @param marknomatch boolean? - Marks the paragraphs that have not matched\n * @param withreferencetext boolean? - Provide the reference text in the result JSON. If set to false, you have to query the library to resolve the references yourself.\n * @param mode ModeEnum? - When using the references endpoint: Use mode to determine the type of search semantha should perform. \r\n * fingerprint: semantic search based on sentences; \r\n * keyword: keyword: search based on sentences; \r\n * document: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. Higher scores indicate higher similarity. Please note that the similarity score has no upper limit and is not normalized; \r\n * document_fingerprint: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. The results are then reranked based on a semantic search. This reranking results in normalized scores and as such represents an enhancement of the mode document; \r\n * fingerprint_keyword (formerly auto): semantic search, if no results are found a keyword search is performed\r\n * Creating document model: It also defines what structure should be considered for what operator (similarity or extraction).\n * @param documenttype string? - Specifies the document type that is to be used by semantha when reading the uploaded document.\n * @param metadata DocumentMetaData[]? - Filter by metadata\n * @param considertexttype boolean? - Use this parameter to ensure that only paragraphs of the same type are compared with each other. The parameter is of type boolean and is set to false by default.\n * @param resizeparagraphs boolean? - Automatically resizes paragraphs based on their semantic meaning.\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param withreferenceimage boolean? - \n * @param withareas boolean? - Gives back the coordinates of sentences.\n */\n async post(data: {\n file?: Blob,\n referencedocument?: Blob,\n referencedocumentids?: string[],\n tags?: string,\n documentclassids?: string[],\n similaritythreshold?: number,\n synonymousthreshold?: number,\n marknomatch?: boolean,\n withreferencetext?: boolean,\n mode?: ModeEnum,\n documenttype?: string,\n metadata?: DocumentMetaData[],\n considertexttype?: boolean,\n resizeparagraphs?: boolean,\n text?: string,\n withreferenceimage?: boolean,\n withareas?: boolean,\n },\n params?: {\n detectlanguage?: boolean,\n maxreferences?: number,\n }): Promise<Document> {\n return (\n await this.restClient.post<Document>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n \n /**\n * Determine references with one input documentReturns the input document (file) with its references. Depending on the 'Accept' header different output formats are supported. For 'application/json' we return the document with references. For xlsx we return an Excel sheet with each reference as rows. If input and output is docx or pdf we return the document with comments on paragraphs.\n *\n * @param file Blob? - Input document (left document).\n * @param referencedocument Blob? - Reference document(s) to be used instead of the documents in the domain's library.\n * @param referencedocumentids string[]? - To filter for document IDs. The limit here is 65000 IDs.\r\n * The IDs are passed as a JSON array.\n * @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).\n * @param documentclassids string[]? - List of documentclass IDs for the target. The limit here is 1000 IDs.\r\n * The IDs are passed as a JSON array.\r\n * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.\n * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.\r\n * In general, the higher the threshold, the more precise the results.\n * @param synonymousthreshold number? - Threshold for good matches.\n * @param marknomatch boolean? - Marks the paragraphs that have not matched\n * @param withreferencetext boolean? - Provide the reference text in the result JSON. If set to false, you have to query the library to resolve the references yourself.\n * @param mode ModeEnum? - When using the references endpoint: Use mode to determine the type of search semantha should perform. \r\n * fingerprint: semantic search based on sentences; \r\n * keyword: keyword: search based on sentences; \r\n * document: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. Higher scores indicate higher similarity. Please note that the similarity score has no upper limit and is not normalized; \r\n * document_fingerprint: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. The results are then reranked based on a semantic search. This reranking results in normalized scores and as such represents an enhancement of the mode document; \r\n * fingerprint_keyword (formerly auto): semantic search, if no results are found a keyword search is performed\r\n * Creating document model: It also defines what structure should be considered for what operator (similarity or extraction).\n * @param documenttype string? - Specifies the document type that is to be used by semantha when reading the uploaded document.\n * @param metadata DocumentMetaData[]? - Filter by metadata\n * @param considertexttype boolean? - Use this parameter to ensure that only paragraphs of the same type are compared with each other. The parameter is of type boolean and is set to false by default.\n * @param resizeparagraphs boolean? - Automatically resizes paragraphs based on their semantic meaning.\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param withreferenceimage boolean? - \n * @param withareas boolean? - Gives back the coordinates of sentences.\n */\n async postAsXlsx(data: {\n file?: Blob,\n referencedocument?: Blob,\n referencedocumentids?: string[],\n tags?: string,\n documentclassids?: string[],\n similaritythreshold?: number,\n synonymousthreshold?: number,\n marknomatch?: boolean,\n withreferencetext?: boolean,\n mode?: ModeEnum,\n documenttype?: string,\n metadata?: DocumentMetaData[],\n considertexttype?: boolean,\n resizeparagraphs?: boolean,\n text?: string,\n withreferenceimage?: boolean,\n withareas?: boolean,\n },\n params?: {\n detectlanguage?: boolean,\n maxreferences?: number,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.XLSX),\n data,\n \"blob\"\n )\n ).toFile();\n }\n \n /**\n * Determine references with one input documentReturns the input document (file) with its references. Depending on the 'Accept' header different output formats are supported. For 'application/json' we return the document with references. For xlsx we return an Excel sheet with each reference as rows. If input and output is docx or pdf we return the document with comments on paragraphs.\n *\n * @param file Blob? - Input document (left document).\n * @param referencedocument Blob? - Reference document(s) to be used instead of the documents in the domain's library.\n * @param referencedocumentids string[]? - To filter for document IDs. The limit here is 65000 IDs.\r\n * The IDs are passed as a JSON array.\n * @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).\n * @param documentclassids string[]? - List of documentclass IDs for the target. The limit here is 1000 IDs.\r\n * The IDs are passed as a JSON array.\r\n * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.\n * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.\r\n * In general, the higher the threshold, the more precise the results.\n * @param synonymousthreshold number? - Threshold for good matches.\n * @param marknomatch boolean? - Marks the paragraphs that have not matched\n * @param withreferencetext boolean? - Provide the reference text in the result JSON. If set to false, you have to query the library to resolve the references yourself.\n * @param mode ModeEnum? - When using the references endpoint: Use mode to determine the type of search semantha should perform. \r\n * fingerprint: semantic search based on sentences; \r\n * keyword: keyword: search based on sentences; \r\n * document: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. Higher scores indicate higher similarity. Please note that the similarity score has no upper limit and is not normalized; \r\n * document_fingerprint: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. The results are then reranked based on a semantic search. This reranking results in normalized scores and as such represents an enhancement of the mode document; \r\n * fingerprint_keyword (formerly auto): semantic search, if no results are found a keyword search is performed\r\n * Creating document model: It also defines what structure should be considered for what operator (similarity or extraction).\n * @param documenttype string? - Specifies the document type that is to be used by semantha when reading the uploaded document.\n * @param metadata DocumentMetaData[]? - Filter by metadata\n * @param considertexttype boolean? - Use this parameter to ensure that only paragraphs of the same type are compared with each other. The parameter is of type boolean and is set to false by default.\n * @param resizeparagraphs boolean? - Automatically resizes paragraphs based on their semantic meaning.\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param withreferenceimage boolean? - \n * @param withareas boolean? - Gives back the coordinates of sentences.\n */\n async postAsDocx(data: {\n file?: Blob,\n referencedocument?: Blob,\n referencedocumentids?: string[],\n tags?: string,\n documentclassids?: string[],\n similaritythreshold?: number,\n synonymousthreshold?: number,\n marknomatch?: boolean,\n withreferencetext?: boolean,\n mode?: ModeEnum,\n documenttype?: string,\n metadata?: DocumentMetaData[],\n considertexttype?: boolean,\n resizeparagraphs?: boolean,\n text?: string,\n withreferenceimage?: boolean,\n withareas?: boolean,\n },\n params?: {\n detectlanguage?: boolean,\n maxreferences?: number,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.DOCX),\n data\n )\n ).toFile();\n }\n \n /**\n * Determine references with one input documentReturns the input document (file) with its references. Depending on the 'Accept' header different output formats are supported. For 'application/json' we return the document with references. For xlsx we return an Excel sheet with each reference as rows. If input and output is docx or pdf we return the document with comments on paragraphs.\n *\n * @param file Blob? - Input document (left document).\n * @param referencedocument Blob? - Reference document(s) to be used instead of the documents in the domain's library.\n * @param referencedocumentids string[]? - To filter for document IDs. The limit here is 65000 IDs.\r\n * The IDs are passed as a JSON array.\n * @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).\n * @param documentclassids string[]? - List of documentclass IDs for the target. The limit here is 1000 IDs.\r\n * The IDs are passed as a JSON array.\r\n * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.\n * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.\r\n * In general, the higher the threshold, the more precise the results.\n * @param synonymousthreshold number? - Threshold for good matches.\n * @param marknomatch boolean? - Marks the paragraphs that have not matched\n * @param withreferencetext boolean? - Provide the reference text in the result JSON. If set to false, you have to query the library to resolve the references yourself.\n * @param mode ModeEnum? - When using the references endpoint: Use mode to determine the type of search semantha should perform. \r\n * fingerprint: semantic search based on sentences; \r\n * keyword: keyword: search based on sentences; \r\n * document: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. Higher scores indicate higher similarity. Please note that the similarity score has no upper limit and is not normalized; \r\n * document_fingerprint: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. The results are then reranked based on a semantic search. This reranking results in normalized scores and as such represents an enhancement of the mode document; \r\n * fingerprint_keyword (formerly auto): semantic search, if no results are found a keyword search is performed\r\n * Creating document model: It also defines what structure should be considered for what operator (similarity or extraction).\n * @param documenttype string? - Specifies the document type that is to be used by semantha when reading the uploaded document.\n * @param metadata DocumentMetaData[]? - Filter by metadata\n * @param considertexttype boolean? - Use this parameter to ensure that only paragraphs of the same type are compared with each other. The parameter is of type boolean and is set to false by default.\n * @param resizeparagraphs boolean? - Automatically resizes paragraphs based on their semantic meaning.\n * @param text string? - Plain text input (left document). If set, the parameter `file` will be ignored.\n * @param withreferenceimage boolean? - \n * @param withareas boolean? - Gives back the coordinates of sentences.\n */\n async postAsPdf(data: {\n file?: Blob,\n referencedocument?: Blob,\n referencedocumentids?: string[],\n tags?: string,\n documentclassids?: string[],\n similaritythreshold?: number,\n synonymousthreshold?: number,\n marknomatch?: boolean,\n withreferencetext?: boolean,\n mode?: ModeEnum,\n documenttype?: string,\n metadata?: DocumentMetaData[],\n considertexttype?: boolean,\n resizeparagraphs?: boolean,\n text?: string,\n withreferenceimage?: boolean,\n withareas?: boolean,\n },\n params?: {\n detectlanguage?: boolean,\n maxreferences?: number,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.PDF),\n data\n )\n ).toFile();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Settings } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/settings\"\n * This is a generated file do not change manually!\n */\nexport class SettingsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/settings\";\n }\n\n /**\n * Get the configuration settings of a specific domain.\n *\n * @param withsimilaritymodelid boolean? - If true, similarityModelId and smartClusterSimilarityModelId are returned.\n */\n async get(params?: {\n withsimilaritymodelid?: boolean,\n }): Promise<Settings> {\n return (\n await this.restClient.get<Settings>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Update configuration settings for this domain, e.g. which similarity model to use. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Settings - \n */\n async patch(\n body: Settings,\n ): Promise<Settings> {\n return (\n await this.restClient.patch<Settings>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MatrixRow } from '../model';\nimport { MediaType } from '../rest';\nimport { ModeEnum } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/similaritymatrix/cluster\"\n * This is a generated file do not change manually!\n */\nexport class SimilaritymatrixClusterEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/cluster\";\n }\n\n /**\n * Get document clustersConsolidate the documents to clusters based on the results of `post post /api/domains/{domainname}/similaritymatrix`\n *\n * @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).\n * @param documentids string[]? - List of document Ids for target. The limit here is 65000 IDs.\r\n * The IDs are passed as a JSON array.\n * @param documentclassids string[]? - List of documentclass IDs for the target. The limit here is 1000 IDs.\r\n * The IDs are passed as a JSON array.\r\n * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.\n * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.\r\n * In general, the higher the threshold, the more precise the results.\n * @param mode ModeEnum? - When using the references endpoint: Use mode to determine the type of search semantha should perform. \r\n * fingerprint: semantic search based on sentences; \r\n * keyword: keyword: search based on sentences; \r\n * document: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. Higher scores indicate higher similarity. Please note that the similarity score has no upper limit and is not normalized; \r\n * document_fingerprint: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. The results are then reranked based on a semantic search. This reranking results in normalized scores and as such represents an enhancement of the mode document; \r\n * fingerprint_keyword (formerly auto): semantic search, if no results are found a keyword search is performed\r\n * Creating document model: It also defines what structure should be considered for what operator (similarity or extraction).\n * @param considertexttype boolean? - Use this parameter to ensure that only paragraphs of the same type are compared with each other. The parameter is of type boolean and is set to false by default.\n */\n async post(data: {\n tags?: string,\n documentids?: string[],\n documentclassids?: string[],\n similaritythreshold?: number,\n mode?: ModeEnum,\n considertexttype?: boolean,\n }): Promise<MatrixRow[]> {\n return (\n await this.restClient.post<MatrixRow[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n \n /**\n * Get document clustersConsolidate the documents to clusters based on the results of `post post /api/domains/{domainname}/similaritymatrix`\n *\n * @param body MatrixRow[]? - \n */\n async postJson(\n body?: MatrixRow[],\n ): Promise<MatrixRow[]> {\n return (\n await this.restClient.post<MatrixRow[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MatrixRow } from '../model';\nimport { MediaType } from '../rest';\nimport { ModeEnum } from '../model';\nimport { RestClient } from '../rest';\nimport { SimilaritymatrixClusterEndpoint } from './similaritymatrixCluster';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/similaritymatrix\"\n * This is a generated file do not change manually!\n */\nexport class SimilaritymatrixEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/similaritymatrix\";\n }\n\n cluster(): SimilaritymatrixClusterEndpoint {\n return new SimilaritymatrixClusterEndpoint(this.restClient, this.ENDPOINT);\n }\n\n /**\n * Get a similarity matrix\n *\n * @param file Blob? - Input document (left document).\n * @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).\n * @param sourcetags string? - Filters the input library by tags\n * @param documentids string[]? - List of document Ids for target. The limit here is 65000 IDs.\r\n * The IDs are passed as a JSON array.\n * @param sourcedocumentids string[]? - List of document IDs for source. The limit here is 65000 IDs.\r\n * The IDs are passed as a JSON array.\n * @param documentclassids string[]? - List of documentclass IDs for the target. The limit here is 1000 IDs.\r\n * The IDs are passed as a JSON array.\r\n * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.\n * @param sourcedocumentclassids string[]? - List of documentclass IDs for the source. The limit here is 1000 IDs.\r\n * The IDs are passed as a JSON array.\n * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.\r\n * In general, the higher the threshold, the more precise the results.\n * @param mode ModeEnum? - When using the references endpoint: Use mode to determine the type of search semantha should perform. \r\n * fingerprint: semantic search based on sentences; \r\n * keyword: keyword: search based on sentences; \r\n * document: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. Higher scores indicate higher similarity. Please note that the similarity score has no upper limit and is not normalized; \r\n * document_fingerprint: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. The results are then reranked based on a semantic search. This reranking results in normalized scores and as such represents an enhancement of the mode document; \r\n * fingerprint_keyword (formerly auto): semantic search, if no results are found a keyword search is performed\r\n * Creating document model: It also defines what structure should be considered for what operator (similarity or extraction).\n * @param documenttype string? - Specifies the document type that is to be used by semantha when reading the uploaded document.\n * @param considertexttype boolean? - Use this parameter to ensure that only paragraphs of the same type are compared with each other. The parameter is of type boolean and is set to false by default.\n */\n async post(data: {\n file?: Blob,\n tags?: string,\n sourcetags?: string,\n documentids?: string[],\n sourcedocumentids?: string[],\n documentclassids?: string[],\n sourcedocumentclassids?: string[],\n similaritythreshold?: number,\n mode?: ModeEnum,\n documenttype?: string,\n considertexttype?: boolean,\n }): Promise<MatrixRow[]> {\n return (\n await this.restClient.post<MatrixRow[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Summarization } from '../model';\nimport { SummarylengthEnum } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/summarizations\"\n * This is a generated file do not change manually!\n */\nexport class SummarizationsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/summarizations\";\n }\n\n /**\n * Generates a summary for given number of texts. If topic is supplied summarization is generated for this topic\n *\n * @param texts string[]? - List of texts which are summarized.\n * @param topic string? - Set the topic which is used to summarize the given texts.\n * @param language string? - Change the language of the summary text, if not set the language of the domain is used.\r\n * Supported Languages:\r\n * \"ar\", \"cs\", \"da\", \"de\", \"en\", \"es\", \"el\", \"fr\", \"fi\", \"hu\", \"hr\",\r\n * \"it\", \"ja\", \"ko\", \"nl\", \"no\", \"pl\", \"pt\", \"ro\", \"ru\", \"sk\", \"sl\",\r\n * \"sv\", \"tr\", \"zh\"\n * @param temperature number? - Temperature regulates the unpredictability of a language model's output. With higher temperature settings, outputs become more creative and less predictable.\n * @param summarylength SummarylengthEnum? - Influences the length of the returned summary. Values are 'SHORT, 'MEDIUM', 'LONG'\n * @param promptid string? - Id of the prompt to generate a summary, other parameters are ignored.\n */\n async post(data: {\n texts?: string[],\n topic?: string,\n language?: string,\n temperature?: number,\n summarylength?: SummarylengthEnum,\n promptid?: string,\n }): Promise<Summarization> {\n return (\n await this.restClient.post<Summarization>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n}\n","import { DocumentInformation } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/tags/{tagname}/referencedocuments\"\n * This is a generated file do not change manually!\n */\nexport class TagReferencedocumentsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/referencedocuments\";\n }\n\n /**\n * Get all reference documents with a specific tag\n */\n async get(): Promise<DocumentInformation[]> {\n return (\n await this.restClient.get<DocumentInformation[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete reference documents with a specific tag\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n}\n","import { RestClient } from '../rest';\nimport { TagReferencedocumentsEndpoint } from './tagReferencedocuments';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/tags/{tagname}\"\n * This is a generated file do not change manually!\n */\nexport class TagEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly tagname: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/tags\" + `/${this.tagname}`;\n }\n\n referencedocuments(): TagReferencedocumentsEndpoint {\n return new TagReferencedocumentsEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/tags\"\n * This is a generated file do not change manually!\n */\nexport class TagsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/tags\";\n }\n\n /**\n * Get tags\n */\n async get(): Promise<string[]> {\n return (\n await this.restClient.get<string[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { TextType } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/texttypes\"\n * This is a generated file do not change manually!\n */\nexport class TexttypesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/texttypes\";\n }\n\n /**\n * Returns all available text types.\n */\n async get(): Promise<TextType[]> {\n return (\n await this.restClient.get<TextType[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Resets changes made via PATCH calls. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Saves text types, order of elements determines display order. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body TextType[] - \n */\n async patch(\n body: TextType[],\n ): Promise<void> {\n return (\n await this.restClient.patch<void>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { TransactionSummary } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/transactions\"\n * This is a generated file do not change manually!\n */\nexport class TransactionsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/transactions\";\n }\n\n /**\n * Returns a summary of document transactions for a given day interval. Needs role: 'Domain Admin'\n *\n * @param startdate string? - Start date of the day interval, inclusive that day. Format is: yyyy-mm-dd\n * @param enddate string? - End date of the day interval, excluse that day. Format is: yyyy-mm-dd\n */\n async get(params?: {\n startdate?: string,\n enddate?: string,\n }): Promise<TransactionSummary[]> {\n return (\n await this.restClient.get<TransactionSummary[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { SemanticModel } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}/validation\"\n * This is a generated file do not change manually!\n */\nexport class ValidationEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/validation\";\n }\n\n /**\n * Validate existing data in a documentThe coordinates come back, if data is found\n *\n * @param file Blob? - Input document (left document).\n */\n async post(\n file?: Blob,\n ): Promise<SemanticModel> {\n return (\n await this.restClient.post<SemanticModel>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n file\n )\n ).toModel();\n }\n}\n","import { AnswersEndpoint } from './answers';\nimport { ChatEndpoint } from './chat';\nimport { ChatsEndpoint } from './chats';\nimport { DocumentannotationsEndpoint } from './documentannotations';\nimport { DocumentclassEndpoint } from './documentclass';\nimport { DocumentclassesEndpoint } from './documentclasses';\nimport { DocumentsEndpoint } from './documents';\nimport { DocumenttypeEndpoint } from './documenttype';\nimport { DocumenttypesEndpoint } from './documenttypes';\nimport { Domain } from '../model';\nimport { MediaType } from '../rest';\nimport { ModelclassesEndpoint } from './modelclasses';\nimport { ModelinstancesEndpoint } from './modelinstances';\nimport { PromptEndpoint } from './prompt';\nimport { PromptsEndpoint } from './prompts';\nimport { ReferencedocumentEndpoint } from './referencedocument';\nimport { ReferencedocumentsEndpoint } from './referencedocuments';\nimport { ReferencesEndpoint } from './references';\nimport { RestClient } from '../rest';\nimport { SettingsEndpoint } from './settings';\nimport { SimilaritymatrixEndpoint } from './similaritymatrix';\nimport { SummarizationsEndpoint } from './summarizations';\nimport { TagEndpoint } from './tag';\nimport { TagsEndpoint } from './tags';\nimport { TexttypesEndpoint } from './texttypes';\nimport { TransactionsEndpoint } from './transactions';\nimport { ValidationEndpoint } from './validation';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains/{domainname}\"\n * This is a generated file do not change manually!\n */\nexport class DomainEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly domainname: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/domains\" + `/${this.domainname}`;\n }\n\n answers(): AnswersEndpoint {\n return new AnswersEndpoint(this.restClient, this.ENDPOINT);\n }\n\n chats(): ChatsEndpoint;\n chats(id: string): ChatEndpoint\n \n chats(id?: string): ChatEndpoint | ChatsEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ChatEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ChatsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n documentannotations(): DocumentannotationsEndpoint {\n return new DocumentannotationsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n documentclasses(): DocumentclassesEndpoint;\n documentclasses(id: string): DocumentclassEndpoint\n \n documentclasses(id?: string): DocumentclassEndpoint | DocumentclassesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new DocumentclassEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new DocumentclassesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n documents(): DocumentsEndpoint {\n return new DocumentsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n documenttypes(): DocumenttypesEndpoint;\n documenttypes(id: string): DocumenttypeEndpoint\n \n documenttypes(id?: string): DocumenttypeEndpoint | DocumenttypesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new DocumenttypeEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new DocumenttypesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n modelclasses(): ModelclassesEndpoint {\n return new ModelclassesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n modelinstances(): ModelinstancesEndpoint {\n return new ModelinstancesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n prompts(): PromptsEndpoint;\n prompts(id: string): PromptEndpoint\n \n prompts(id?: string): PromptEndpoint | PromptsEndpoint {\n if(id !== undefined && id !== null) {\n\t return new PromptEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new PromptsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n referencedocuments(): ReferencedocumentsEndpoint;\n referencedocuments(documentid: string): ReferencedocumentEndpoint\n \n referencedocuments(documentid?: string): ReferencedocumentEndpoint | ReferencedocumentsEndpoint {\n if(documentid !== undefined && documentid !== null) {\n\t return new ReferencedocumentEndpoint(this.restClient, this.ENDPOINT, documentid);\n } else {\n\t return new ReferencedocumentsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n references(): ReferencesEndpoint {\n return new ReferencesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n settings(): SettingsEndpoint {\n return new SettingsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n similaritymatrix(): SimilaritymatrixEndpoint {\n return new SimilaritymatrixEndpoint(this.restClient, this.ENDPOINT);\n }\n\n summarizations(): SummarizationsEndpoint {\n return new SummarizationsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n tags(): TagsEndpoint;\n tags(tagname: string): TagEndpoint\n \n tags(tagname?: string): TagEndpoint | TagsEndpoint {\n if(tagname !== undefined && tagname !== null) {\n\t return new TagEndpoint(this.restClient, this.ENDPOINT, tagname);\n } else {\n\t return new TagsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n texttypes(): TexttypesEndpoint {\n return new TexttypesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n transactions(): TransactionsEndpoint {\n return new TransactionsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n validation(): ValidationEndpoint {\n return new ValidationEndpoint(this.restClient, this.ENDPOINT);\n }\n\n /**\n * Get the configuration settings of a specific domain.\n */\n async get(): Promise<Domain> {\n return (\n await this.restClient.get<Domain>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { DomainInfo } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/domains\"\n * This is a generated file do not change manually!\n */\nexport class DomainsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/domains\";\n }\n\n /**\n * Returns a list of all accessable domains.\n */\n async get(): Promise<DomainInfo[]> {\n return (\n await this.restClient.get<DomainInfo[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { Info } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/info\"\n * This is a generated file do not change manually!\n */\nexport class InfoEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/info\";\n }\n\n /**\n * Returns API version information.\n */\n async get(): Promise<Info> {\n return (\n await this.restClient.get<Info>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { LanguageDetection } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/languages\"\n * This is a generated file do not change manually!\n */\nexport class LanguagesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/languages\";\n }\n\n /**\n * Identifies the language of the document and sends it backInput: Support of all input formats (pdf, docx, txt, json (DocumentModel)\r\n * \r\n * Output: Detected Language\r\n * \r\n * Supported Languages:\r\n * \"ar\", \"cs\", \"da\", \"de\", \"en\", \"es\", \"el\", \"fr\", \"fi\", \"hu\", \"hr\",\r\n * \"it\", \"ja\", \"ko\", \"nl\", \"no\", \"pl\", \"pt\", \"ro\", \"ru\", \"sk\", \"sl\",\r\n * \"sv\", \"tr\", \"zh\"\n *\n * @param file Blob? - Input document (left document).\n */\n async post(\n file?: Blob,\n ): Promise<LanguageDetection> {\n return (\n await this.restClient.post<LanguageDetection>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n file\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/datatypes\"\n * This is a generated file do not change manually!\n */\nexport class ModelDatatypesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/datatypes\";\n }\n\n /**\n * Get all datatypes\n */\n async get(): Promise<string[]> {\n return (\n await this.restClient.get<string[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { AttributeOverview } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/attributes\"\n * This is a generated file do not change manually!\n */\nexport class ModelAttributesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/attributes\";\n }\n\n /**\n * Get all attributes\n */\n async get(): Promise<AttributeOverview[]> {\n return (\n await this.restClient.get<AttributeOverview[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/backups\"\n * This is a generated file do not change manually!\n */\nexport class ModelBackupsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/backups\";\n }\n\n /**\n * Create a backup for the ontology\n */\n async post(): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n {}\n )\n ).toModel();\n }\n}\n","import { BoostWord } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/boostwords/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelBoostwordEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/boostwords\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<BoostWord> {\n return (\n await this.restClient.get<BoostWord>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body BoostWord - \n */\n async put(\n body: BoostWord,\n ): Promise<BoostWord> {\n return (\n await this.restClient.put<BoostWord>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { BoostWord } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/boostwords\"\n * This is a generated file do not change manually!\n */\nexport class ModelBoostwordsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/boostwords\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<BoostWord[]> {\n return (\n await this.restClient.get<BoostWord[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body BoostWord? - \n */\n async post(\n body?: BoostWord,\n ): Promise<BoostWord> {\n return (\n await this.restClient.post<BoostWord>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { DataProperty } from '../model';\nimport { MediaType } from '../rest';\nimport { Overview } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/dataproperties\"\n * This is a generated file do not change manually!\n */\nexport class ModelDatapropertiesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/dataproperties\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<Overview[]> {\n return (\n await this.restClient.get<Overview[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body DataProperty? - \n */\n async post(\n body?: DataProperty,\n ): Promise<DataProperty> {\n return (\n await this.restClient.post<DataProperty>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { DataProperty } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/dataproperties/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelDatapropertyEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/dataproperties\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<DataProperty> {\n return (\n await this.restClient.get<DataProperty>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body DataProperty - \n */\n async put(\n body: DataProperty,\n ): Promise<DataProperty> {\n return (\n await this.restClient.put<DataProperty>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { ChildExtractorclassesEndpoint } from './childExtractorclasses';\nimport { ExtractorClass } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/extractorclasses/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelExtractorclassEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/extractorclasses\" + `/${this.id}`;\n }\n\n extractorclasses(): ChildExtractorclassesEndpoint {\n return new ChildExtractorclassesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<ExtractorClass> {\n return (\n await this.restClient.get<ExtractorClass>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body ExtractorClass - \n */\n async put(\n body: ExtractorClass,\n ): Promise<ExtractorClass> {\n return (\n await this.restClient.put<ExtractorClass>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { ExtractorClass } from '../model';\nimport { ExtractorClassOverview } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/extractorclasses\"\n * This is a generated file do not change manually!\n */\nexport class ModelExtractorclassesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/extractorclasses\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<ExtractorClassOverview[]> {\n return (\n await this.restClient.get<ExtractorClassOverview[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * @param body ExtractorClassOverview[] - \n */\n async put(\n body: ExtractorClassOverview[],\n ): Promise<void> {\n return (\n await this.restClient.put<void>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body ExtractorClass? - \n */\n async post(\n body?: ExtractorClass,\n ): Promise<ExtractorClass> {\n return (\n await this.restClient.post<ExtractorClass>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Entity } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/extractors\"\n * This is a generated file do not change manually!\n */\nexport class ModelExtractorsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/extractors\";\n }\n\n /**\n * Get all extractors\n */\n async get(): Promise<Entity[]> {\n return (\n await this.restClient.get<Entity[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { Formatter } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/formatters\"\n * This is a generated file do not change manually!\n */\nexport class ModelFormattersEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/formatters\";\n }\n\n /**\n * Get all formatters\n */\n async get(): Promise<Formatter[]> {\n return (\n await this.restClient.get<Formatter[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { ModelMetadata } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/metadata\"\n * This is a generated file do not change manually!\n */\nexport class ModelMetadataEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/metadata\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<ModelMetadata[]> {\n return (\n await this.restClient.get<ModelMetadata[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body ModelMetadata? - \n */\n async post(\n body?: ModelMetadata,\n ): Promise<ModelMetadata> {\n return (\n await this.restClient.post<ModelMetadata>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { NamedEntity } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/namedentities\"\n * This is a generated file do not change manually!\n */\nexport class ModelNamedentitiesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/namedentities\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<NamedEntity[]> {\n return (\n await this.restClient.get<NamedEntity[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body NamedEntity? - \n */\n async post(\n body?: NamedEntity,\n ): Promise<NamedEntity> {\n return (\n await this.restClient.post<NamedEntity>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { NamedEntity } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/namedentities/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelNamedentityEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/namedentities\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<NamedEntity> {\n return (\n await this.restClient.get<NamedEntity>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body NamedEntity - \n */\n async put(\n body: NamedEntity,\n ): Promise<NamedEntity> {\n return (\n await this.restClient.put<NamedEntity>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { Overview } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/objectproperties\"\n * This is a generated file do not change manually!\n */\nexport class ModelObjectpropertiesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/objectproperties\";\n }\n\n /**\n * Get all object properties\n */\n async get(): Promise<Overview[]> {\n return (\n await this.restClient.get<Overview[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { ModelMetadata } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/metadata/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelOnemetadataEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/metadata\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<ModelMetadata> {\n return (\n await this.restClient.get<ModelMetadata>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body ModelMetadata - \n */\n async put(\n body: ModelMetadata,\n ): Promise<ModelMetadata> {\n return (\n await this.restClient.put<ModelMetadata>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { Regex } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/regexes/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelRegexEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/regexes\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<Regex> {\n return (\n await this.restClient.get<Regex>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Regex - \n */\n async put(\n body: Regex,\n ): Promise<Regex> {\n return (\n await this.restClient.put<Regex>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { Regex } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/regexes\"\n * This is a generated file do not change manually!\n */\nexport class ModelRegexesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/regexes\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<Regex[]> {\n return (\n await this.restClient.get<Regex[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Regex? - \n */\n async post(\n body?: Regex,\n ): Promise<Regex> {\n return (\n await this.restClient.post<Regex>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { Relation } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/relations/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelRelationEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/relations\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<Relation> {\n return (\n await this.restClient.get<Relation>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Relation - \n */\n async put(\n body: Relation,\n ): Promise<Relation> {\n return (\n await this.restClient.put<Relation>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { Relation } from '../model';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/relations\"\n * This is a generated file do not change manually!\n */\nexport class ModelRelationsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/relations\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<Relation[]> {\n return (\n await this.restClient.get<Relation[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Relation? - \n */\n async post(\n body?: Relation,\n ): Promise<Relation> {\n return (\n await this.restClient.post<Relation>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Rule } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/rules/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelRuleEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/rules\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<Rule> {\n return (\n await this.restClient.get<Rule>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Rule - \n */\n async put(\n body: Rule,\n ): Promise<Rule> {\n return (\n await this.restClient.put<Rule>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { RuleFunction } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/rulefunctions\"\n * This is a generated file do not change manually!\n */\nexport class ModelRulefunctionsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/rulefunctions\";\n }\n\n /**\n * Get all rulecfunctions\n */\n async get(): Promise<RuleFunction[]> {\n return (\n await this.restClient.get<RuleFunction[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Rule } from '../model';\nimport { RuleOverview } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/rules\"\n * This is a generated file do not change manually!\n */\nexport class ModelRulesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/rules\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<RuleOverview[]> {\n return (\n await this.restClient.get<RuleOverview[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Rule? - \n */\n async post(\n body?: Rule,\n ): Promise<Rule> {\n return (\n await this.restClient.post<Rule>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { StopWord } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/stopwords/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelStopwordEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/stopwords\" + `/${this.id}`;\n }\n\n /**\n * Get a stop word by id\n */\n async get(): Promise<StopWord> {\n return (\n await this.restClient.get<StopWord>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete a stop word by id\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Update a stop word by id\n *\n * @param body StopWord - \n */\n async put(\n body: StopWord,\n ): Promise<StopWord> {\n return (\n await this.restClient.put<StopWord>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { StopWord } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/stopwords\"\n * This is a generated file do not change manually!\n */\nexport class ModelStopwordsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/stopwords\";\n }\n\n /**\n * Get all stop words\n */\n async get(): Promise<StopWord[]> {\n return (\n await this.restClient.get<StopWord[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all stop words\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a stop word\n *\n * @param body StopWord? - \n */\n async post(\n body?: StopWord,\n ): Promise<StopWord> {\n return (\n await this.restClient.post<StopWord>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Synonym } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/synonyms/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelSynonymEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/synonyms\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<Synonym> {\n return (\n await this.restClient.get<Synonym>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Synonym - \n */\n async put(\n body: Synonym,\n ): Promise<Synonym> {\n return (\n await this.restClient.put<Synonym>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\nimport { Synonym } from '../model';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/synonyms\"\n * This is a generated file do not change manually!\n */\nexport class ModelSynonymsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/synonyms\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<Synonym[]> {\n return (\n await this.restClient.get<Synonym[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Synonym? - \n */\n async post(\n body?: Synonym,\n ): Promise<Synonym> {\n return (\n await this.restClient.post<Synonym>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Attribute } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/classes/{classid}/attributes/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelontAttributeEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/attributes\" + `/${this.id}`;\n }\n\n async get(): Promise<Attribute> {\n return (\n await this.restClient.get<Attribute>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * @param body Attribute - \n */\n async put(\n body: Attribute,\n ): Promise<Attribute> {\n return (\n await this.restClient.put<Attribute>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { Attribute } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/classes/{classid}/attributes\"\n * This is a generated file do not change manually!\n */\nexport class ModelontAttributesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/attributes\";\n }\n\n async get(): Promise<Attribute[]> {\n return (\n await this.restClient.get<Attribute[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * @param body Attribute? - \n */\n async post(\n body?: Attribute,\n ): Promise<Attribute> {\n return (\n await this.restClient.post<Attribute>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Instance } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/classes/{classid}/instances\"\n * This is a generated file do not change manually!\n */\nexport class ModelontclassInstancesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/instances\";\n }\n\n /**\n * Get all instances of a specific class\n */\n async get(): Promise<Instance[]> {\n return (\n await this.restClient.get<Instance[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all instances of a specific class\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n}\n","import { Class } from '../model';\nimport { MediaType } from '../rest';\nimport { ModelontAttributeEndpoint } from './modelontAttribute';\nimport { ModelontAttributesEndpoint } from './modelontAttributes';\nimport { ModelontclassInstancesEndpoint } from './modelontclassInstances';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/classes/{classid}\"\n * This is a generated file do not change manually!\n */\nexport class ModelontClassEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly classid: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/classes\" + `/${this.classid}`;\n }\n\n attributes(): ModelontAttributesEndpoint;\n attributes(id: string): ModelontAttributeEndpoint\n \n attributes(id?: string): ModelontAttributeEndpoint | ModelontAttributesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelontAttributeEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelontAttributesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n instances(): ModelontclassInstancesEndpoint {\n return new ModelontclassInstancesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n async get(): Promise<Class> {\n return (\n await this.restClient.get<Class>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * @param body Class - \n */\n async put(\n body: Class,\n ): Promise<Class> {\n return (\n await this.restClient.put<Class>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { Class } from '../model';\nimport { ClassesOverview } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/classes\"\n * This is a generated file do not change manually!\n */\nexport class ModelontClassesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/classes\";\n }\n\n /**\n * Get all classes\n *\n * @param withattributes boolean? - Select if the classes are delivered with attributes\n * @param withobjectproperties boolean? - Select if the classes are delivered with object properties\n */\n async get(params?: {\n withattributes?: boolean,\n withobjectproperties?: boolean,\n }): Promise<ClassesOverview[]> {\n return (\n await this.restClient.get<ClassesOverview[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete all classes\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Create a class\n *\n * @param body Class? - \n */\n async post(\n body?: Class,\n ): Promise<Class> {\n return (\n await this.restClient.post<Class>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { Instance } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/instances/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ModelontInstanceEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly id: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/instances\" + `/${this.id}`;\n }\n\n /**\n * Read one entity.\n */\n async get(): Promise<Instance> {\n return (\n await this.restClient.get<Instance>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * Delete one entity. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Change one entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Instance - \n */\n async put(\n body: Instance,\n ): Promise<Instance> {\n return (\n await this.restClient.put<Instance>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { Instance } from '../model';\nimport { InstanceOverview } from '../model';\nimport { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}/instances\"\n * This is a generated file do not change manually!\n */\nexport class ModelontInstancesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/instances\";\n }\n\n /**\n * Read all available entities.\n */\n async get(): Promise<InstanceOverview[]> {\n return (\n await this.restClient.get<InstanceOverview[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n /**\n * Read all available entities.\n */\n async getAsXlsx(): Promise<Blob> {\n return (\n await this.restClient.get<Blob>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.XLSX),\n null,\n \"blob\"\n )\n ).toFile();\n }\n\n /**\n * Delete all available entities. Needs roles: 'Domain Admin' or 'Expert User'\n */\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * Update all instances\n *\n * @param file Blob - Input document (left document).\n */\n async patch(\n file: Blob,\n ): Promise<void> {\n return (\n await this.restClient.patch<void>(\n this.ENDPOINT,\n file\n )\n ).toModel();\n }\n\n /**\n * Create a new entity. Needs roles: 'Domain Admin' or 'Expert User'\n *\n * @param body Instance? - \n */\n async post(\n body?: Instance,\n ): Promise<Instance> {\n return (\n await this.restClient.post<Instance>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { ModelAttributesEndpoint } from './modelAttributes';\nimport { ModelBackupsEndpoint } from './modelBackups';\nimport { ModelBoostwordEndpoint } from './modelBoostword';\nimport { ModelBoostwordsEndpoint } from './modelBoostwords';\nimport { ModelDatapropertiesEndpoint } from './modelDataproperties';\nimport { ModelDatapropertyEndpoint } from './modelDataproperty';\nimport { ModelExtractorclassEndpoint } from './modelExtractorclass';\nimport { ModelExtractorclassesEndpoint } from './modelExtractorclasses';\nimport { ModelExtractorsEndpoint } from './modelExtractors';\nimport { ModelFormattersEndpoint } from './modelFormatters';\nimport { ModelMetadataEndpoint } from './modelMetadata';\nimport { ModelNamedentitiesEndpoint } from './modelNamedentities';\nimport { ModelNamedentityEndpoint } from './modelNamedentity';\nimport { ModelObjectpropertiesEndpoint } from './modelObjectproperties';\nimport { ModelOnemetadataEndpoint } from './modelOnemetadata';\nimport { ModelRegexEndpoint } from './modelRegex';\nimport { ModelRegexesEndpoint } from './modelRegexes';\nimport { ModelRelationEndpoint } from './modelRelation';\nimport { ModelRelationsEndpoint } from './modelRelations';\nimport { ModelRuleEndpoint } from './modelRule';\nimport { ModelRulefunctionsEndpoint } from './modelRulefunctions';\nimport { ModelRulesEndpoint } from './modelRules';\nimport { ModelStopwordEndpoint } from './modelStopword';\nimport { ModelStopwordsEndpoint } from './modelStopwords';\nimport { ModelSynonymEndpoint } from './modelSynonym';\nimport { ModelSynonymsEndpoint } from './modelSynonyms';\nimport { ModelontClassEndpoint } from './modelontClass';\nimport { ModelontClassesEndpoint } from './modelontClasses';\nimport { ModelontInstanceEndpoint } from './modelontInstance';\nimport { ModelontInstancesEndpoint } from './modelontInstances';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains/{domainname}\"\n * This is a generated file do not change manually!\n */\nexport class ModelDomainEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly domainname: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/domains\" + `/${this.domainname}`;\n }\n\n attributes(): ModelAttributesEndpoint {\n return new ModelAttributesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n backups(): ModelBackupsEndpoint {\n return new ModelBackupsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n boostwords(): ModelBoostwordsEndpoint;\n boostwords(id: string): ModelBoostwordEndpoint\n \n boostwords(id?: string): ModelBoostwordEndpoint | ModelBoostwordsEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelBoostwordEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelBoostwordsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n classes(): ModelontClassesEndpoint;\n classes(classid: string): ModelontClassEndpoint\n \n classes(classid?: string): ModelontClassEndpoint | ModelontClassesEndpoint {\n if(classid !== undefined && classid !== null) {\n\t return new ModelontClassEndpoint(this.restClient, this.ENDPOINT, classid);\n } else {\n\t return new ModelontClassesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n dataproperties(): ModelDatapropertiesEndpoint;\n dataproperties(id: string): ModelDatapropertyEndpoint\n \n dataproperties(id?: string): ModelDatapropertyEndpoint | ModelDatapropertiesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelDatapropertyEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelDatapropertiesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n extractorclasses(): ModelExtractorclassesEndpoint;\n extractorclasses(id: string): ModelExtractorclassEndpoint\n \n extractorclasses(id?: string): ModelExtractorclassEndpoint | ModelExtractorclassesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelExtractorclassEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelExtractorclassesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n extractors(): ModelExtractorsEndpoint {\n return new ModelExtractorsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n formatters(): ModelFormattersEndpoint {\n return new ModelFormattersEndpoint(this.restClient, this.ENDPOINT);\n }\n\n instances(): ModelontInstancesEndpoint;\n instances(id: string): ModelontInstanceEndpoint\n \n instances(id?: string): ModelontInstanceEndpoint | ModelontInstancesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelontInstanceEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelontInstancesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n metadata(): ModelMetadataEndpoint;\n metadata(id: string): ModelOnemetadataEndpoint\n \n metadata(id?: string): ModelOnemetadataEndpoint | ModelMetadataEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelOnemetadataEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelMetadataEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n namedentities(): ModelNamedentitiesEndpoint;\n namedentities(id: string): ModelNamedentityEndpoint\n \n namedentities(id?: string): ModelNamedentityEndpoint | ModelNamedentitiesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelNamedentityEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelNamedentitiesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n objectproperties(): ModelObjectpropertiesEndpoint {\n return new ModelObjectpropertiesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n regexes(): ModelRegexesEndpoint;\n regexes(id: string): ModelRegexEndpoint\n \n regexes(id?: string): ModelRegexEndpoint | ModelRegexesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelRegexEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelRegexesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n relations(): ModelRelationsEndpoint;\n relations(id: string): ModelRelationEndpoint\n \n relations(id?: string): ModelRelationEndpoint | ModelRelationsEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelRelationEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelRelationsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n rulefunctions(): ModelRulefunctionsEndpoint {\n return new ModelRulefunctionsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n rules(): ModelRulesEndpoint;\n rules(id: string): ModelRuleEndpoint\n \n rules(id?: string): ModelRuleEndpoint | ModelRulesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelRuleEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelRulesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n stopwords(): ModelStopwordsEndpoint;\n stopwords(id: string): ModelStopwordEndpoint\n \n stopwords(id?: string): ModelStopwordEndpoint | ModelStopwordsEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelStopwordEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelStopwordsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n synonyms(): ModelSynonymsEndpoint;\n synonyms(id: string): ModelSynonymEndpoint\n \n synonyms(id?: string): ModelSynonymEndpoint | ModelSynonymsEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ModelSynonymEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ModelSynonymsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n /**\n * Get a domain by domainname\n */\n async getAsXlsx(): Promise<Blob> {\n return (\n await this.restClient.get<Blob>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.XLSX),\n null,\n \"blob\"\n )\n ).toFile();\n }\n\n /**\n * Update a domain by domainname\n *\n * @param file Blob - Input document (left document).\n */\n async patch(\n file: Blob,\n ): Promise<Blob> {\n return (\n await this.restClient.patch<Blob>(\n this.ENDPOINT,\n file\n )\n ).toModel();\n }\n}\n","import { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/domains\"\n * This is a generated file do not change manually!\n */\nexport class ModelDomainsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/domains\";\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/extractortypes\"\n * This is a generated file do not change manually!\n */\nexport class ModelExtractortypesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/extractortypes\";\n }\n\n /**\n * Get all extractortypes\n */\n async get(): Promise<string[]> {\n return (\n await this.restClient.get<string[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { MediaType } from '../rest';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model/metadatatypes\"\n * This is a generated file do not change manually!\n */\nexport class ModelMetadatatypesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/metadatatypes\";\n }\n\n /**\n * Get all metadatatypes\n */\n async get(): Promise<string[]> {\n return (\n await this.restClient.get<string[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { ModelDatatypesEndpoint } from './modelDatatypes';\nimport { ModelDomainEndpoint } from './modelDomain';\nimport { ModelDomainsEndpoint } from './modelDomains';\nimport { ModelExtractortypesEndpoint } from './modelExtractortypes';\nimport { ModelMetadatatypesEndpoint } from './modelMetadatatypes';\nimport { RestClient } from '../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/model\"\n * This is a generated file do not change manually!\n */\nexport class ModelEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/model\";\n }\n\n datatypes(): ModelDatatypesEndpoint {\n return new ModelDatatypesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n domains(): ModelDomainsEndpoint;\n domains(domainname: string): ModelDomainEndpoint\n \n domains(domainname?: string): ModelDomainEndpoint | ModelDomainsEndpoint {\n if(domainname !== undefined && domainname !== null) {\n\t return new ModelDomainEndpoint(this.restClient, this.ENDPOINT, domainname);\n } else {\n\t return new ModelDomainsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n extractortypes(): ModelExtractortypesEndpoint {\n return new ModelExtractortypesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n metadatatypes(): ModelMetadatatypesEndpoint {\n return new ModelMetadatatypesEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import * as fs from 'fs';\n\nimport { BulkEndpoint } from './bulk';\nimport { CelltypesEndpoint } from './celltypes';\nimport { ConversionsEndpoint } from './conversions';\nimport { CurrentuserEndpoint } from './currentuser';\nimport { DiffEndpoint } from './diff';\nimport { DomainsEndpoint } from './domains';\nimport { DomainEndpoint } from './domain';\nimport { InfoEndpoint } from './info';\nimport { LanguagesEndpoint } from './languages';\nimport { ModelEndpoint } from './model';\nimport { RestClient } from '../rest';\n\nconst PARENT_ENDPOINT = '/api/v3';\n\n/**\n * Entry point to the Semantha API.\n *\n * @author semantha\n * Calls the /bulk, /celltypes, /conversions, /currentuser, /diff, /domains, /domains, /info, /languages, /model, endpoints.\n *\n * Note:\n * The constructor is not meant to be invoked directly\n * use `loginXXX()` with your credentials instead.\n *\n * this is a generated class do not change manually!\n */\nexport class SemanthaAPI {\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string\n ) {\n }\n\n /**\n * Access to the Semantha API\n *\n * @param serverUrl: string - URL to the Semantha server.\n * @param apiKey: string - A valid bearer token for accessing the given url.\n *\n * @return SemanthaAPI: Entry point to the Semantha API.\n */\n static loginWithApiKey(\n serverUrl: string,\n apiKey: string\n ): SemanthaAPI {\n if(!apiKey) {\n throw new Error('You need to supply an API key to login.');\n }\n if(!serverUrl) {\n throw new Error('You need to supply a server url to login.');\n }\n return new SemanthaAPI(new RestClient(this.parseServerUrl(serverUrl), apiKey), PARENT_ENDPOINT);\n }\n\n /**\n * Access to the Semantha API\n *\n * @param serverUrl: string - URL to the Semantha server.\n * @param clientId: string - OAuth2 client id.\n * @param clientSecret: string - OAuth2 client secret.\n * @param tokenUrl: string OAuth2 url to get a valid access token\n *\n * @return SemanthaAPI: Entry point to the Semantha API.\n */\n static loginWithCredentials(\n serverUrl: string,\n clientId: string,\n clientSecret: string,\n tokenUrl: string\n ): SemanthaAPI {\n serverUrl = this.parseServerUrl(serverUrl);\n return new SemanthaAPI(new RestClient(serverUrl, undefined, clientId, clientSecret, tokenUrl), PARENT_ENDPOINT);\n }\n\t\n /**\n * Access to the Semantha API\n *\n * @param credentialsFilePath: string - Path to a properties file providing client credentials.\n *\n * @return SemanthaAPI: Entry point to the Semantha API.\n */\n static loginWithCredentialsFile(credentialsFilePath: string) : SemanthaAPI {\n if (credentialsFilePath.endsWith('.properties') || credentialsFilePath.endsWith('.PROPERTIES')) {\n const rawData = fs.readFileSync(credentialsFilePath, 'utf8');\n const lines = rawData\n\t .split(/[\\n|\\r\\n]/)\n\t .filter(line => line.length !== 0)\n\t .map(line => line.split('='));\n\t const serverUrl = this.getValueOfInPropertiesFile('serverUrl', lines);\n\t const clientId = this.getValueOfInPropertiesFile('clientId', lines);\n\t const clientSecret = this.getValueOfInPropertiesFile('clientSecret', lines);\n\t const tokenUrl = this.getValueOfInPropertiesFile('tokenUrl', lines);\n\t return SemanthaAPI.loginWithCredentials(serverUrl, clientId, clientSecret, tokenUrl);\n\t}\n throw new Error('Can not login, please supply a credentials properties file.');\n }\n\n private static parseServerUrl(serverUrl: string): string {\n if (serverUrl.endsWith('/')) {\n serverUrl = serverUrl.slice(0, -1);\n }\n if (serverUrl.endsWith('/tt-platform-ui/en/#')) {\n serverUrl = serverUrl.replace('/tt-platform-ui/en/#', '/tt-platform-server');\n } else if (!serverUrl.endsWith('/tt-platform-server')) {\n serverUrl += '/tt-platform-server';\n }\n return serverUrl;\n }\n\n private static getValueOfInPropertiesFile(searchKey: string, lines: string[][]): string {\n for (const line of lines) {\n if (line[0] === searchKey) {\n return line[1].replace('\\\\:', ':');\n }\n }\n throw Error(`.properties files contains no ${searchKey}!`);\n }\n\n endpoint(): string {\n return this.parentEndpoint;\n }\n\n bulk(): BulkEndpoint {\n return new BulkEndpoint(this.restClient, this.endpoint());\n }\n\n celltypes(): CelltypesEndpoint {\n return new CelltypesEndpoint(this.restClient, this.endpoint());\n }\n\n conversions(): ConversionsEndpoint {\n return new ConversionsEndpoint(this.restClient, this.endpoint());\n }\n\n currentuser(): CurrentuserEndpoint {\n return new CurrentuserEndpoint(this.restClient, this.endpoint());\n }\n\n diff(): DiffEndpoint {\n return new DiffEndpoint(this.restClient, this.endpoint());\n }\n\n domains(): DomainsEndpoint;\n domains(domainname: string): DomainEndpoint\n \n domains(domainname?: string): DomainEndpoint | DomainsEndpoint {\n if (domainname !== undefined && domainname !== null) {\n return new DomainEndpoint(this.restClient, this.endpoint(), domainname);\n } else {\n return new DomainsEndpoint(this.restClient, this.endpoint());\n }\n }\n\n info(): InfoEndpoint {\n return new InfoEndpoint(this.restClient, this.endpoint());\n }\n\n languages(): LanguagesEndpoint {\n return new LanguagesEndpoint(this.restClient, this.endpoint());\n }\n\n model(): ModelEndpoint {\n return new ModelEndpoint(this.restClient, this.endpoint());\n }\n\n}"]}