@semantha/product-sdk 11.3.1 → 11.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/document-chat/api/index.d.mts +138 -0
- package/dist/document-chat/api/index.d.ts +138 -0
- package/dist/document-chat/api/index.js +2 -0
- package/dist/document-chat/api/index.js.map +1 -0
- package/dist/document-chat/api/index.mjs +2 -0
- package/dist/document-chat/api/index.mjs.map +1 -0
- package/dist/document-chat/model/index.d.mts +38 -0
- package/dist/document-chat/model/index.d.ts +38 -0
- package/dist/document-chat/model/index.js +2 -0
- package/dist/document-chat/model/index.js.map +1 -0
- package/dist/document-chat/model/index.mjs +2 -0
- package/dist/document-chat/model/index.mjs.map +1 -0
- package/dist/file-box/index.js +1 -1
- package/dist/file-box/index.mjs +1 -1
- package/dist/requirements/api/index.d.mts +23 -2
- package/dist/requirements/api/index.d.ts +23 -2
- package/dist/requirements/api/index.js +1 -1
- package/dist/requirements/api/index.js.map +1 -1
- package/dist/requirements/api/index.mjs +1 -1
- package/dist/requirements/api/index.mjs.map +1 -1
- package/dist/requirements/model/index.d.mts +42 -2
- package/dist/requirements/model/index.d.ts +42 -2
- package/dist/requirements/model/index.js +1 -1
- package/dist/requirements/model/index.js.map +1 -1
- package/dist/requirements/model/index.mjs +1 -1
- package/dist/requirements/model/index.mjs.map +1 -1
- package/package.json +12 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../semantha-product-sdk/requirements/api/aitasksresultsExport.ts","../../../semantha-product-sdk/requirements/api/aitasksResults.ts","../../../semantha-product-sdk/requirements/api/aitask.ts","../../../semantha-product-sdk/requirements/api/aitasks.ts","../../../semantha-product-sdk/requirements/api/report.ts","../../../semantha-product-sdk/requirements/api/analyses.ts","../../../semantha-product-sdk/requirements/api/analysisResults.ts","../../../semantha-product-sdk/requirements/api/stats.ts","../../../semantha-product-sdk/requirements/api/pagedresults.ts","../../../semantha-product-sdk/requirements/api/analysis.ts","../../../semantha-product-sdk/requirements/api/export.ts","../../../semantha-product-sdk/requirements/api/results.ts","../../../semantha-product-sdk/requirements/api/bulk.ts","../../../semantha-product-sdk/requirements/api/classifications.ts","../../../semantha-product-sdk/requirements/api/comments.ts","../../../semantha-product-sdk/requirements/api/roles.ts","../../../semantha-product-sdk/requirements/api/currentuser.ts","../../../semantha-product-sdk/requirements/api/evaluation.ts","../../../semantha-product-sdk/requirements/api/evaluations.ts","../../../semantha-product-sdk/requirements/api/exceltemplate.ts","../../../semantha-product-sdk/requirements/api/new.ts","../../../semantha-product-sdk/requirements/api/exceltemplates.ts","../../../semantha-product-sdk/requirements/api/references.ts","../../../semantha-product-sdk/requirements/api/result.ts","../../../semantha-product-sdk/requirements/api/domain.ts","../../../semantha-product-sdk/requirements/api/domains.ts","../../../semantha-product-sdk/requirements/api/requirements.ts","../../../semantha-product-sdk/requirements/api/requirementsAPI.ts"],"names":["AitasksresultsExportEndpoint","restClient","parentEndpoint","params","AitasksResultsEndpoint","AitaskEndpoint","analysisid","AitasksEndpoint","body","ReportEndpoint","AnalysesEndpoint","data","AnalysisResultsEndpoint","StatsEndpoint","PagedresultsEndpoint","AnalysisEndpoint","ExportEndpoint","ResultsEndpoint","BulkEndpoint","ClassificationsEndpoint","CommentsEndpoint","RolesEndpoint","CurrentuserEndpoint","EvaluationEndpoint","id","EvaluationsEndpoint","ExceltemplateEndpoint","NewEndpoint","ExceltemplatesEndpoint","ReferencesEndpoint","ResultEndpoint","resultid","DomainEndpoint","domainname","DomainsEndpoint","RequirementsEndpoint","PARENT_ENDPOINT","RequirementsAPI","_RequirementsAPI","serverUrl","apiKey","RestClient","clientId","clientSecret","tokenUrl","credentialsFilePath","lines","line","searchKey"],"mappings":"qEASO,IAAMA,CAAAA,CAAN,KAAmC,CAGxC,WAAA,CACmBC,EACAC,CAAAA,CACjB,CAFiB,IAAA,CAAA,UAAA,CAAAD,CAAAA,CACA,IAAA,CAAA,cAAA,CAAAC,CAAAA,CAEjB,KA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AWG,CAAAA,CAAUC,CAAAA,CAAcC,CAAQ,CACzF,CACG,MAAM,IAAI,KAAA,CAAM,6DAA6D,CAC/E,CAEA,OAAe,eAAeL,CAAAA,CAA2B,CACvD,OAAIA,CAAAA,CAAU,QAAA,CAAS,GAAG,CAAA,GACxBA,CAAAA,CAAYA,CAAAA,CAAU,MAAM,CAAA,CAAG,EAAE,CAAA,CAAA,CAE/BA,CAAAA,CAAU,QAAA,CAAS,sBAAsB,EAC3CA,CAAAA,CAAYA,CAAAA,CAAU,OAAA,CAAQ,sBAAA,CAAwB,oBAAoB,CAAA,CAChEA,EAAU,QAAA,CAAS,oBAAoB,IACjDA,CAAAA,EAAa,oBAAA,CAAA,CAERA,CACT,CAEA,OAAe,0BAAA,CAA2BS,CAAAA,CAAmBF,CAAAA,CAA2B,CACtF,QAAWC,CAAAA,IAAQD,CAAAA,CACjB,GAAIC,CAAAA,CAAK,CAAC,CAAA,GAAMC,EACd,OAAOD,CAAAA,CAAK,CAAC,CAAA,CAAE,OAAA,CAAQ,KAAA,CAAO,GAAG,CAAA,CAGrC,MAAM,KAAA,CAAM,CAAA,8BAAA,EAAiCC,CAAS,CAAA,CAAA,CAAG,CAC3D,CAEA,QAAA,EAAmB,CACjB,OAAO,IAAA,CAAK,cACd,CAEA,YAAA,EAAqC,CACnC,OAAO,IAAIb,CAAAA,CAAqB,IAAA,CAAK,WAAY,IAAA,CAAK,QAAA,EAAU,CAClE,CAEF","file":"index.mjs","sourcesContent":["import { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/aitasks/{analysisid}/results/export\"\n * This is a generated file do not change manually!\n */\nexport class AitasksresultsExportEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/export\";\n }\n\n async postAsXlsx(params?: {\n templateid?: string,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.XLSX),\n {},\n \"blob\"\n )\n ).toFile();\n }\n}\n","import { AitasksresultsExportEndpoint } from './aitasksresultsExport';\nimport { MediaType } from '../../rest';\nimport { PromptResult } from '../model';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/aitasks/{analysisid}/results\"\n * This is a generated file do not change manually!\n */\nexport class AitasksResultsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/results\";\n }\n\n export(): AitasksresultsExportEndpoint {\n return new AitasksresultsExportEndpoint(this.restClient, this.ENDPOINT);\n }\n\n async get(): Promise<PromptResult[]> {\n return (\n await this.restClient.get<PromptResult[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { AitasksResultsEndpoint } from './aitasksResults';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/aitasks/{analysisid}\"\n * This is a generated file do not change manually!\n */\nexport class AitaskEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly analysisid: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/aitasks\" + `/${this.analysisid}`;\n }\n\n results(): AitasksResultsEndpoint {\n return new AitasksResultsEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import { AiTaskInput } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/aitasks\"\n * This is a generated file do not change manually!\n */\nexport class AitasksEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/aitasks\";\n }\n\n /**\n * @param body AiTaskInput? - \n */\n async post(\n body?: AiTaskInput,\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 { AnalysesReport } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/analyses/report\"\n * This is a generated file do not change manually!\n */\nexport class ReportEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/report\";\n }\n\n /**\n * @param body string[]? - \n */\n async post(\n body: string[],\n params?: {\n templateid?: string,\n timezone?: string,\n }): Promise<AnalysesReport> {\n return (\n await this.restClient.post<AnalysesReport>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n \n /**\n * @param body string[]? - \n */\n async postAsXlsx(\n body: string[],\n params?: {\n templateid?: string,\n timezone?: string,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.XLSX),\n body,\n \"blob\"\n )\n ).toFile();\n }\n}\n","import { Analysis } from '../model';\nimport { AnalysisCreation } from '../model';\nimport { AnalysisInput } from '../model';\nimport { FormDataContentDisposition } from '../model';\nimport { MediaType } from '../../rest';\nimport { ReportEndpoint } from './report';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/analyses\"\n * This is a generated file do not change manually!\n */\nexport class AnalysesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/analyses\";\n }\n\n report(): ReportEndpoint {\n return new ReportEndpoint(this.restClient, this.ENDPOINT);\n }\n\n async get(): Promise<Analysis[]> {\n return (\n await this.restClient.get<Analysis[]>(\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 file FormDataContentDisposition? - \n * @param analysisdata AnalysisInput[]? - \n * @param similaritythreshold number? - \n * @param imagesimilaritythreshold number? - \n * @param strategy string? - \n * @param name string? - \n * @param maxreferences number? - \n * @param tags string? - \n * @param documentclassids string[]? - \n * @param goodmatchesthreshold number? - \n * @param matchallreferences boolean? - \n * @param showdocscore boolean? - \n */\n async post(data: {\n file?: FormDataContentDisposition,\n analysisdata?: AnalysisInput[],\n similaritythreshold?: number,\n imagesimilaritythreshold?: number,\n strategy?: string,\n name?: string,\n maxreferences?: number,\n tags?: string,\n documentclassids?: string[],\n goodmatchesthreshold?: number,\n matchallreferences?: boolean,\n showdocscore?: boolean,\n }): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n \n /**\n * @param body AnalysisCreation? - \n */\n async postJson(\n body?: AnalysisCreation,\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 { AnalysisResultOverview } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/analyses/{analysisid}/results\"\n * This is a generated file do not change manually!\n */\nexport class AnalysisResultsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/results\";\n }\n\n async get(params?: {\n withdetails?: boolean,\n }): Promise<AnalysisResultOverview[]> {\n return (\n await this.restClient.get<AnalysisResultOverview[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { AnalysisResultsStatsResponseContainer } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/analyses/{analysisid}/pagedresults/stats\"\n * This is a generated file do not change manually!\n */\nexport class StatsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/stats\";\n }\n\n async get(params?: {\n resultids?: string,\n minscore?: number,\n maxscore?: number,\n name?: string,\n reviewstatus?: string,\n classifications?: string,\n additionaldataname?: string,\n additionaldatavalues?: string,\n samescorematches?: boolean,\n sort?: string,\n }): Promise<AnalysisResultsStatsResponseContainer> {\n return (\n await this.restClient.get<AnalysisResultsStatsResponseContainer>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { AnalysisResultsResponseContainer } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\nimport { StatsEndpoint } from './stats';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/analyses/{analysisid}/pagedresults\"\n * This is a generated file do not change manually!\n */\nexport class PagedresultsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/pagedresults\";\n }\n\n stats(): StatsEndpoint {\n return new StatsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n async get(params: {\n resultids?: string,\n minscore?: number,\n maxscore?: number,\n name?: string,\n reviewstatus?: string,\n classifications?: string,\n additionaldataname?: string,\n additionaldatavalues?: string,\n samescorematches?: boolean,\n sort?: string,\n limit: number,\n offset: number,\n }): Promise<AnalysisResultsResponseContainer> {\n return (\n await this.restClient.get<AnalysisResultsResponseContainer>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { Analysis } from '../model';\nimport { AnalysisResultsEndpoint } from './analysisResults';\nimport { Entity } from '../model';\nimport { PagedresultsEndpoint } from './pagedresults';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/analyses/{analysisid}\"\n * This is a generated file do not change manually!\n */\nexport class AnalysisEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly analysisid: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/analyses\" + `/${this.analysisid}`;\n }\n\n pagedresults(): PagedresultsEndpoint {\n return new PagedresultsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n results(): AnalysisResultsEndpoint {\n return new AnalysisResultsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * @param body Entity - \n */\n async patch(\n body: Entity,\n ): Promise<Analysis> {\n return (\n await this.restClient.patch<Analysis>(\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/requirements/domains/{domainname}/results/export\"\n * This is a generated file do not change manually!\n */\nexport class ExportEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/export\";\n }\n\n /**\n * @param body string[]? - \n */\n async postAsXlsx(\n body: string[],\n params?: {\n templateid?: string,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.XLSX),\n body,\n \"blob\"\n )\n ).toFile();\n }\n}\n","import { ExportEndpoint } from './export';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/results\"\n * This is a generated file do not change manually!\n */\nexport class ResultsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/results\";\n }\n\n export(): ExportEndpoint {\n return new ExportEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import { RestClient } from '../../rest';\nimport { ResultsEndpoint } from './results';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/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 results(): ResultsEndpoint {\n return new ResultsEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/classifications\"\n * This is a generated file do not change manually!\n */\nexport class ClassificationsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/classifications\";\n }\n}\n","import { AnalysisResultComment } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/results/{resultid}/comments\"\n * This is a generated file do not change manually!\n */\nexport class CommentsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/comments\";\n }\n\n /**\n * @param body AnalysisResultComment? - \n */\n async post(\n body?: AnalysisResultComment,\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 { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/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","import { RestClient } from '../../rest';\nimport { RolesEndpoint } from './roles';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/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","import { Evaluation } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/evaluations/{id}\"\n * This is a generated file do not change manually!\n */\nexport class EvaluationEndpoint {\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 + \"/evaluations\" + `/${this.id}`;\n }\n\n async get(): Promise<Evaluation> {\n return (\n await this.restClient.get<Evaluation>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * @param body Evaluation - \n */\n async patch(\n body: Evaluation,\n ): Promise<Evaluation> {\n return (\n await this.restClient.patch<Evaluation>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { Evaluation } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/results/{resultid}/evaluations\"\n * This is a generated file do not change manually!\n */\nexport class EvaluationsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/evaluations\";\n }\n\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * @param body Evaluation[] - \n */\n async put(\n body: Evaluation[],\n ): Promise<Evaluation[]> {\n return (\n await this.restClient.put<Evaluation[]>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n\n /**\n * @param body Evaluation? - \n */\n async post(\n body?: Evaluation,\n ): Promise<Evaluation> {\n return (\n await this.restClient.post<Evaluation>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { ExcelTemplateDetails } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/exceltemplates/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ExceltemplateEndpoint {\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 + \"/exceltemplates\" + `/${this.id}`;\n }\n\n async get(params?: {\n analysisid?: string,\n }): Promise<ExcelTemplateDetails> {\n return (\n await this.restClient.get<ExcelTemplateDetails>(\n this.ENDPOINT,\n params,\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 ExcelTemplateDetails - \n */\n async put(\n body: ExcelTemplateDetails,\n ): Promise<ExcelTemplateDetails> {\n return (\n await this.restClient.put<ExcelTemplateDetails>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { ExcelTemplateDetails } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/exceltemplates/new\"\n * This is a generated file do not change manually!\n */\nexport class NewEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/new\";\n }\n\n async get(params?: {\n analysisid?: string,\n }): Promise<ExcelTemplateDetails> {\n return (\n await this.restClient.get<ExcelTemplateDetails>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { Entity } from '../model';\nimport { ExcelTemplateDetails } from '../model';\nimport { MediaType } from '../../rest';\nimport { NewEndpoint } from './new';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/exceltemplates\"\n * This is a generated file do not change manually!\n */\nexport class ExceltemplatesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/exceltemplates\";\n }\n\n new(): NewEndpoint {\n return new NewEndpoint(this.restClient, this.ENDPOINT);\n }\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 /**\n * @param body ExcelTemplateDetails? - \n */\n async post(\n body?: ExcelTemplateDetails,\n ): Promise<ExcelTemplateDetails> {\n return (\n await this.restClient.post<ExcelTemplateDetails>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { AnalysisInput } from '../model';\nimport { ExtendedReference } 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/requirements/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 * @param file AnalysisInput? - \n * @param referencedocument Blob? - Optional reference documents\n * @param tags string? - \n * @param similaritythreshold number? - \n * @param imagesimilaritythreshold number? - \n * @param documentclassids string[]? - \n * @param mode ModeEnum? - \n */\n async post(data: {\n file?: AnalysisInput,\n referencedocument?: Blob,\n tags?: string,\n similaritythreshold?: number,\n imagesimilaritythreshold?: number,\n documentclassids?: string[],\n mode?: ModeEnum,\n }): Promise<ExtendedReference[]> {\n return (\n await this.restClient.post<ExtendedReference[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n}\n","import { AnalysisResult } from '../model';\nimport { CommentsEndpoint } from './comments';\nimport { EvaluationsEndpoint } from './evaluations';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/results/{resultid}\"\n * This is a generated file do not change manually!\n */\nexport class ResultEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly resultid: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/results\" + `/${this.resultid}`;\n }\n\n comments(): CommentsEndpoint {\n return new CommentsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n evaluations(): EvaluationsEndpoint {\n return new EvaluationsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n async get(params?: {\n withreferencedocument?: boolean,\n }): Promise<AnalysisResult> {\n return (\n await this.restClient.get<AnalysisResult>(\n this.ENDPOINT,\n params,\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 AnalysisResult - \n */\n async patch(\n body: AnalysisResult,\n ): Promise<AnalysisResult> {\n return (\n await this.restClient.patch<AnalysisResult>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { AitaskEndpoint } from './aitask';\nimport { AitasksEndpoint } from './aitasks';\nimport { AnalysesEndpoint } from './analyses';\nimport { AnalysisEndpoint } from './analysis';\nimport { BulkEndpoint } from './bulk';\nimport { ClassificationsEndpoint } from './classifications';\nimport { EvaluationEndpoint } from './evaluation';\nimport { EvaluationsEndpoint } from './evaluations';\nimport { ExceltemplateEndpoint } from './exceltemplate';\nimport { ExceltemplatesEndpoint } from './exceltemplates';\nimport { ReferencesEndpoint } from './references';\nimport { RestClient } from '../../rest';\nimport { ResultEndpoint } from './result';\nimport { ResultsEndpoint } from './results';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/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 aitasks(): AitasksEndpoint;\n aitasks(analysisid: string): AitaskEndpoint\n \n aitasks(analysisid?: string): AitaskEndpoint | AitasksEndpoint {\n if(analysisid !== undefined && analysisid !== null) {\n\t return new AitaskEndpoint(this.restClient, this.ENDPOINT, analysisid);\n } else {\n\t return new AitasksEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n analyses(): AnalysesEndpoint;\n analyses(analysisid: string): AnalysisEndpoint\n \n analyses(analysisid?: string): AnalysisEndpoint | AnalysesEndpoint {\n if(analysisid !== undefined && analysisid !== null) {\n\t return new AnalysisEndpoint(this.restClient, this.ENDPOINT, analysisid);\n } else {\n\t return new AnalysesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n bulk(): BulkEndpoint {\n return new BulkEndpoint(this.restClient, this.ENDPOINT);\n }\n\n classifications(): ClassificationsEndpoint {\n return new ClassificationsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n evaluations(): EvaluationsEndpoint;\n evaluations(id: string): EvaluationEndpoint\n \n evaluations(id?: string): EvaluationEndpoint | EvaluationsEndpoint {\n if(id !== undefined && id !== null) {\n\t return new EvaluationEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new EvaluationsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n exceltemplates(): ExceltemplatesEndpoint;\n exceltemplates(id: string): ExceltemplateEndpoint\n \n exceltemplates(id?: string): ExceltemplateEndpoint | ExceltemplatesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ExceltemplateEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ExceltemplatesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n references(): ReferencesEndpoint {\n return new ReferencesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n results(): ResultsEndpoint;\n results(resultid: string): ResultEndpoint\n \n results(resultid?: string): ResultEndpoint | ResultsEndpoint {\n if(resultid !== undefined && resultid !== null) {\n\t return new ResultEndpoint(this.restClient, this.ENDPOINT, resultid);\n } else {\n\t return new ResultsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n}\n","import { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/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","import { CurrentuserEndpoint } from './currentuser';\nimport { DomainEndpoint } from './domain';\nimport { DomainsEndpoint } from './domains';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements\"\n * This is a generated file do not change manually!\n */\nexport class RequirementsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/requirements\";\n }\n\n currentuser(): CurrentuserEndpoint {\n return new CurrentuserEndpoint(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\t return new DomainEndpoint(this.restClient, this.ENDPOINT, domainname);\n } else {\n\t return new DomainsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n}\n","import * as fs from 'fs';\n\nimport { RequirementsEndpoint } from './requirements';\nimport { RestClient } from '../../rest';\n\nconst PARENT_ENDPOINT = '/api';\n\n/**\n * Entry point to the Requirements API.\n *\n * @author semantha\n * Calls the /requirements, 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 RequirementsAPI {\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string\n ) {\n }\n\n /**\n * Access to the Requirements API\n *\n * @param serverUrl: string - URL to the Requirements server.\n * @param apiKey: string - A valid bearer token for accessing the given url.\n *\n * @return RequirementsAPI: Entry point to the Requirements API.\n */\n static loginWithApiKey(\n serverUrl: string,\n apiKey: string\n ): RequirementsAPI {\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 RequirementsAPI(new RestClient(this.parseServerUrl(serverUrl), apiKey), PARENT_ENDPOINT);\n }\n\n\n /**\n * Access to the Requirements API, when there is a auth proxy in place to handle the addition of the Authorization header\n *\n * @param serverUrl: string - URL to the Requirements server.\n *\n * @return RequirementsAPI: Entry point to the Requirements API.\n */\n static loginWithAuthProxy(\n serverUrl: string\n ): RequirementsAPI {\n if(!serverUrl) {\n throw new Error('You need to supply a server url to login.');\n }\n return new RequirementsAPI(new RestClient(this.parseServerUrl(serverUrl)), PARENT_ENDPOINT);\n }\n\n /**\n * Access to the Requirements API\n *\n * @param serverUrl: string - URL to the Requirements 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 RequirementsAPI: Entry point to the Requirements API.\n */\n static loginWithCredentials(\n serverUrl: string,\n clientId: string,\n clientSecret: string,\n tokenUrl: string\n ): RequirementsAPI {\n serverUrl = this.parseServerUrl(serverUrl);\n return new RequirementsAPI(new RestClient(serverUrl, undefined, clientId, clientSecret, tokenUrl), PARENT_ENDPOINT);\n }\n\t\n /**\n * Access to the Requirements API\n *\n * @param credentialsFilePath: string - Path to a properties file providing client credentials.\n *\n * @return RequirementsAPI: Entry point to the Requirements API.\n */\n static loginWithCredentialsFile(credentialsFilePath: string) : RequirementsAPI {\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 RequirementsAPI.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-product-server');\n } else if (!serverUrl.endsWith('/tt-product-server')) {\n serverUrl += '/tt-product-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 requirements(): RequirementsEndpoint {\n return new RequirementsEndpoint(this.restClient, this.endpoint());\n }\n\n}"]}
|
|
1
|
+
{"version":3,"sources":["../../../semantha-product-sdk/requirements/api/aitasksPagedresults.ts","../../../semantha-product-sdk/requirements/api/aitasksresultsExport.ts","../../../semantha-product-sdk/requirements/api/aitasksResults.ts","../../../semantha-product-sdk/requirements/api/aitask.ts","../../../semantha-product-sdk/requirements/api/aitasks.ts","../../../semantha-product-sdk/requirements/api/report.ts","../../../semantha-product-sdk/requirements/api/analyses.ts","../../../semantha-product-sdk/requirements/api/analysisResults.ts","../../../semantha-product-sdk/requirements/api/stats.ts","../../../semantha-product-sdk/requirements/api/pagedresults.ts","../../../semantha-product-sdk/requirements/api/analysis.ts","../../../semantha-product-sdk/requirements/api/export.ts","../../../semantha-product-sdk/requirements/api/results.ts","../../../semantha-product-sdk/requirements/api/bulk.ts","../../../semantha-product-sdk/requirements/api/classifications.ts","../../../semantha-product-sdk/requirements/api/comments.ts","../../../semantha-product-sdk/requirements/api/roles.ts","../../../semantha-product-sdk/requirements/api/currentuser.ts","../../../semantha-product-sdk/requirements/api/evaluation.ts","../../../semantha-product-sdk/requirements/api/evaluations.ts","../../../semantha-product-sdk/requirements/api/exceltemplate.ts","../../../semantha-product-sdk/requirements/api/new.ts","../../../semantha-product-sdk/requirements/api/exceltemplates.ts","../../../semantha-product-sdk/requirements/api/references.ts","../../../semantha-product-sdk/requirements/api/result.ts","../../../semantha-product-sdk/requirements/api/domain.ts","../../../semantha-product-sdk/requirements/api/domains.ts","../../../semantha-product-sdk/requirements/api/requirements.ts","../../../semantha-product-sdk/requirements/api/requirementsAPI.ts"],"names":["AitasksPagedresultsEndpoint","restClient","parentEndpoint","params","AitasksresultsExportEndpoint","AitasksResultsEndpoint","AitaskEndpoint","analysisid","AitasksEndpoint","body","ReportEndpoint","AnalysesEndpoint","data","AnalysisResultsEndpoint","StatsEndpoint","PagedresultsEndpoint","AnalysisEndpoint","ExportEndpoint","ResultsEndpoint","BulkEndpoint","ClassificationsEndpoint","CommentsEndpoint","RolesEndpoint","CurrentuserEndpoint","EvaluationEndpoint","id","EvaluationsEndpoint","ExceltemplateEndpoint","NewEndpoint","ExceltemplatesEndpoint","ReferencesEndpoint","ResultEndpoint","resultid","DomainEndpoint","domainname","DomainsEndpoint","RequirementsEndpoint","PARENT_ENDPOINT","RequirementsAPI","_RequirementsAPI","serverUrl","apiKey","RestClient","clientId","clientSecret","tokenUrl","credentialsFilePath","lines","line","searchKey"],"mappings":"qEAUO,IAAMA,CAAAA,CAAN,KAAkC,CAGvC,WAAA,CACmBC,EACAC,CAAAA,CACjB,CAFiB,IAAA,CAAA,UAAA,CAAAD,CAAAA,CACA,IAAA,CAAA,cAAA,CAAAC,CAAAA,CAEjB,KAAK,QAAA,CAAW,IAAA,CAAK,cAAA,CAAiB,gBACxC,CAPiB,QAAA,CASjB,MAAM,GAAA,CAAIC,CAAAA,CAMiC,CACzC,OAAA,CACE,MAAM,IAAA,CAAK,WAAW,GAAA,CACpB,IAAA,CAAK,QAAA,CACLA,CAAAA,CACA,IAAA,CAAK,UAAA,CAAW,2BAAuB,CACzC,CAAA,EACA,OAAA,EACJ,CACF,MC1BaC,CAAAA,CAAN,KAAmC,CAGxC,WAAA,CACmBH,CAAAA,CACAC,CAAAA,CACjB,CAFiB,IAAA,CAAA,UAAA,CAAAD,CAAAA,CACA,IAAA,CAAA,cAAA,CAAAC,CAAAA,CAEjB,IAAA,CAAK,QAAA,CAAW,KAAK,cAAA,CAAiB,UACxC,CAPiB,QAAA,CASjB,MAAM,UAAA,CAAWC,EAEG,CAClB,OAAA,CACE,MAAM,IAAA,CAAK,UAAA,CAAW,IAAA,CACpB,KAAK,QAAA,CACLA,CAAAA,CACA,IAAA,CAAK,UAAA,CAAW,QAAA,CAAA,mEAAuB,CAAA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CAAAA,CAAe,IAAA,CAAK,2BAA2B,cAAA,CAAgBG,CAAK,CAAA,CACpEF,CAAAA,CAAW,IAAA,CAAK,0BAAA,CAA2B,WAAYE,CAAK,CAAA,CAClE,OAAOR,CAAAA,CAAgB,oBAAA,CAAqBC,CAAAA,CAAWG,EAAUC,CAAAA,CAAcC,CAAQ,CACzF,CACG,MAAM,IAAI,MAAM,6DAA6D,CAC/E,CAEA,OAAe,cAAA,CAAeL,CAAAA,CAA2B,CACvD,OAAIA,CAAAA,CAAU,QAAA,CAAS,GAAG,CAAA,GACxBA,CAAAA,CAAYA,EAAU,KAAA,CAAM,CAAA,CAAG,EAAE,CAAA,CAAA,CAE/BA,CAAAA,CAAU,QAAA,CAAS,sBAAsB,CAAA,CAC3CA,CAAAA,CAAYA,CAAAA,CAAU,OAAA,CAAQ,sBAAA,CAAwB,oBAAoB,EAChEA,CAAAA,CAAU,QAAA,CAAS,oBAAoB,CAAA,GACjDA,CAAAA,EAAa,oBAAA,CAAA,CAERA,CACT,CAEA,OAAe,0BAAA,CAA2BS,CAAAA,CAAmBF,CAAAA,CAA2B,CACtF,QAAWC,CAAAA,IAAQD,CAAAA,CACjB,GAAIC,CAAAA,CAAK,CAAC,CAAA,GAAMC,EACd,OAAOD,CAAAA,CAAK,CAAC,CAAA,CAAE,OAAA,CAAQ,KAAA,CAAO,GAAG,CAAA,CAGrC,MAAM,KAAA,CAAM,CAAA,8BAAA,EAAiCC,CAAS,CAAA,CAAA,CAAG,CAC3D,CAEA,QAAA,EAAmB,CACjB,OAAO,IAAA,CAAK,cACd,CAEA,YAAA,EAAqC,CACnC,OAAO,IAAIb,CAAAA,CAAqB,IAAA,CAAK,WAAY,IAAA,CAAK,QAAA,EAAU,CAClE,CAEF","file":"index.mjs","sourcesContent":["import { MediaType } from '../../rest';\nimport { PromptResultResponseContainer } from '../model';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/aitasks/{analysisid}/pagedresults\"\n * This is a generated file do not change manually!\n */\nexport class AitasksPagedresultsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/pagedresults\";\n }\n\n async get(params: {\n workitemid?: string,\n status?: string,\n sort?: string,\n limit: number,\n offset: number,\n }): Promise<PromptResultResponseContainer> {\n return (\n await this.restClient.get<PromptResultResponseContainer>(\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';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/aitasks/{analysisid}/results/export\"\n * This is a generated file do not change manually!\n */\nexport class AitasksresultsExportEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/export\";\n }\n\n async postAsXlsx(params?: {\n templateid?: string,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.XLSX),\n {},\n \"blob\"\n )\n ).toFile();\n }\n}\n","import { AitasksresultsExportEndpoint } from './aitasksresultsExport';\nimport { MediaType } from '../../rest';\nimport { PromptResult } from '../model';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/aitasks/{analysisid}/results\"\n * This is a generated file do not change manually!\n */\nexport class AitasksResultsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/results\";\n }\n\n export(): AitasksresultsExportEndpoint {\n return new AitasksresultsExportEndpoint(this.restClient, this.ENDPOINT);\n }\n\n async get(): Promise<PromptResult[]> {\n return (\n await this.restClient.get<PromptResult[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { AitasksPagedresultsEndpoint } from './aitasksPagedresults';\nimport { AitasksResultsEndpoint } from './aitasksResults';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/aitasks/{analysisid}\"\n * This is a generated file do not change manually!\n */\nexport class AitaskEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly analysisid: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/aitasks\" + `/${this.analysisid}`;\n }\n\n pagedresults(): AitasksPagedresultsEndpoint {\n return new AitasksPagedresultsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n results(): AitasksResultsEndpoint {\n return new AitasksResultsEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import { AiTaskInput } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/aitasks\"\n * This is a generated file do not change manually!\n */\nexport class AitasksEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/aitasks\";\n }\n\n /**\n * @param body AiTaskInput? - \n */\n async post(\n body?: AiTaskInput,\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 { AnalysesReport } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/analyses/report\"\n * This is a generated file do not change manually!\n */\nexport class ReportEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/report\";\n }\n\n /**\n * @param body string[]? - \n */\n async post(\n body: string[],\n params?: {\n templateid?: string,\n timezone?: string,\n }): Promise<AnalysesReport> {\n return (\n await this.restClient.post<AnalysesReport>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n \n /**\n * @param body string[]? - \n */\n async postAsXlsx(\n body: string[],\n params?: {\n templateid?: string,\n timezone?: string,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.XLSX),\n body,\n \"blob\"\n )\n ).toFile();\n }\n}\n","import { Analysis } from '../model';\nimport { AnalysisCreation } from '../model';\nimport { AnalysisInput } from '../model';\nimport { FormDataContentDisposition } from '../model';\nimport { MediaType } from '../../rest';\nimport { ReportEndpoint } from './report';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/analyses\"\n * This is a generated file do not change manually!\n */\nexport class AnalysesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/analyses\";\n }\n\n report(): ReportEndpoint {\n return new ReportEndpoint(this.restClient, this.ENDPOINT);\n }\n\n async get(): Promise<Analysis[]> {\n return (\n await this.restClient.get<Analysis[]>(\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 file FormDataContentDisposition? - \n * @param analysisdata AnalysisInput[]? - \n * @param similaritythreshold number? - \n * @param imagesimilaritythreshold number? - \n * @param strategy string? - \n * @param name string? - \n * @param maxreferences number? - \n * @param tags string? - \n * @param documentclassids string[]? - \n * @param goodmatchesthreshold number? - \n * @param matchallreferences boolean? - \n * @param showdocscore boolean? - \n */\n async post(data: {\n file?: FormDataContentDisposition,\n analysisdata?: AnalysisInput[],\n similaritythreshold?: number,\n imagesimilaritythreshold?: number,\n strategy?: string,\n name?: string,\n maxreferences?: number,\n tags?: string,\n documentclassids?: string[],\n goodmatchesthreshold?: number,\n matchallreferences?: boolean,\n showdocscore?: boolean,\n }): Promise<void> {\n return (\n await this.restClient.post<void>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n \n /**\n * @param body AnalysisCreation? - \n */\n async postJson(\n body?: AnalysisCreation,\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 { AnalysisResultOverview } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/analyses/{analysisid}/results\"\n * This is a generated file do not change manually!\n */\nexport class AnalysisResultsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/results\";\n }\n\n async get(params?: {\n withdetails?: boolean,\n }): Promise<AnalysisResultOverview[]> {\n return (\n await this.restClient.get<AnalysisResultOverview[]>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { AnalysisResultsStatsResponseContainer } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/analyses/{analysisid}/pagedresults/stats\"\n * This is a generated file do not change manually!\n */\nexport class StatsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/stats\";\n }\n\n async get(params?: {\n resultids?: string,\n minscore?: number,\n maxscore?: number,\n name?: string,\n reviewstatus?: string,\n classifications?: string,\n additionaldataname?: string,\n additionaldatavalues?: string,\n samescorematches?: boolean,\n sort?: string,\n }): Promise<AnalysisResultsStatsResponseContainer> {\n return (\n await this.restClient.get<AnalysisResultsStatsResponseContainer>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { AnalysisResultsResponseContainer } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\nimport { StatsEndpoint } from './stats';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/analyses/{analysisid}/pagedresults\"\n * This is a generated file do not change manually!\n */\nexport class PagedresultsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/pagedresults\";\n }\n\n stats(): StatsEndpoint {\n return new StatsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n async get(params: {\n resultids?: string,\n minscore?: number,\n maxscore?: number,\n name?: string,\n reviewstatus?: string,\n classifications?: string,\n additionaldataname?: string,\n additionaldatavalues?: string,\n samescorematches?: boolean,\n sort?: string,\n limit: number,\n offset: number,\n }): Promise<AnalysisResultsResponseContainer> {\n return (\n await this.restClient.get<AnalysisResultsResponseContainer>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { Analysis } from '../model';\nimport { AnalysisResultsEndpoint } from './analysisResults';\nimport { Entity } from '../model';\nimport { PagedresultsEndpoint } from './pagedresults';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/analyses/{analysisid}\"\n * This is a generated file do not change manually!\n */\nexport class AnalysisEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly analysisid: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/analyses\" + `/${this.analysisid}`;\n }\n\n pagedresults(): PagedresultsEndpoint {\n return new PagedresultsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n results(): AnalysisResultsEndpoint {\n return new AnalysisResultsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * @param body Entity - \n */\n async patch(\n body: Entity,\n ): Promise<Analysis> {\n return (\n await this.restClient.patch<Analysis>(\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/requirements/domains/{domainname}/results/export\"\n * This is a generated file do not change manually!\n */\nexport class ExportEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/export\";\n }\n\n /**\n * @param body string[]? - \n */\n async postAsXlsx(\n body: string[],\n params?: {\n templateid?: string,\n }): Promise<Blob> {\n return (\n await this.restClient.post<Blob>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.XLSX),\n body,\n \"blob\"\n )\n ).toFile();\n }\n}\n","import { ExportEndpoint } from './export';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/results\"\n * This is a generated file do not change manually!\n */\nexport class ResultsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/results\";\n }\n\n export(): ExportEndpoint {\n return new ExportEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import { RestClient } from '../../rest';\nimport { ResultsEndpoint } from './results';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/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 results(): ResultsEndpoint {\n return new ResultsEndpoint(this.restClient, this.ENDPOINT);\n }\n}\n","import { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/classifications\"\n * This is a generated file do not change manually!\n */\nexport class ClassificationsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/classifications\";\n }\n}\n","import { AnalysisResultComment } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/results/{resultid}/comments\"\n * This is a generated file do not change manually!\n */\nexport class CommentsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/comments\";\n }\n\n /**\n * @param body AnalysisResultComment? - \n */\n async post(\n body?: AnalysisResultComment,\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 { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/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","import { RestClient } from '../../rest';\nimport { RolesEndpoint } from './roles';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/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","import { Evaluation } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/evaluations/{id}\"\n * This is a generated file do not change manually!\n */\nexport class EvaluationEndpoint {\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 + \"/evaluations\" + `/${this.id}`;\n }\n\n async get(): Promise<Evaluation> {\n return (\n await this.restClient.get<Evaluation>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n\n /**\n * @param body Evaluation - \n */\n async patch(\n body: Evaluation,\n ): Promise<Evaluation> {\n return (\n await this.restClient.patch<Evaluation>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { Evaluation } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/results/{resultid}/evaluations\"\n * This is a generated file do not change manually!\n */\nexport class EvaluationsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/evaluations\";\n }\n\n async delete() {\n return await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * @param body Evaluation[] - \n */\n async put(\n body: Evaluation[],\n ): Promise<Evaluation[]> {\n return (\n await this.restClient.put<Evaluation[]>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n\n /**\n * @param body Evaluation? - \n */\n async post(\n body?: Evaluation,\n ): Promise<Evaluation> {\n return (\n await this.restClient.post<Evaluation>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { ExcelTemplateDetails } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/exceltemplates/{id}\"\n * This is a generated file do not change manually!\n */\nexport class ExceltemplateEndpoint {\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 + \"/exceltemplates\" + `/${this.id}`;\n }\n\n async get(params?: {\n analysisid?: string,\n }): Promise<ExcelTemplateDetails> {\n return (\n await this.restClient.get<ExcelTemplateDetails>(\n this.ENDPOINT,\n params,\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 ExcelTemplateDetails - \n */\n async put(\n body: ExcelTemplateDetails,\n ): Promise<ExcelTemplateDetails> {\n return (\n await this.restClient.put<ExcelTemplateDetails>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { ExcelTemplateDetails } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/exceltemplates/new\"\n * This is a generated file do not change manually!\n */\nexport class NewEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/new\";\n }\n\n async get(params?: {\n analysisid?: string,\n }): Promise<ExcelTemplateDetails> {\n return (\n await this.restClient.get<ExcelTemplateDetails>(\n this.ENDPOINT,\n params,\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { Entity } from '../model';\nimport { ExcelTemplateDetails } from '../model';\nimport { MediaType } from '../../rest';\nimport { NewEndpoint } from './new';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/exceltemplates\"\n * This is a generated file do not change manually!\n */\nexport class ExceltemplatesEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/exceltemplates\";\n }\n\n new(): NewEndpoint {\n return new NewEndpoint(this.restClient, this.ENDPOINT);\n }\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 /**\n * @param body ExcelTemplateDetails? - \n */\n async post(\n body?: ExcelTemplateDetails,\n ): Promise<ExcelTemplateDetails> {\n return (\n await this.restClient.post<ExcelTemplateDetails>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n body\n )\n ).toModel();\n }\n}\n","import { AnalysisInput } from '../model';\nimport { ExtendedReference } 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/requirements/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 * @param file AnalysisInput? - \n * @param referencedocument Blob? - Optional reference documents\n * @param tags string? - \n * @param similaritythreshold number? - \n * @param imagesimilaritythreshold number? - \n * @param documentclassids string[]? - \n * @param mode ModeEnum? - \n */\n async post(data: {\n file?: AnalysisInput,\n referencedocument?: Blob,\n tags?: string,\n similaritythreshold?: number,\n imagesimilaritythreshold?: number,\n documentclassids?: string[],\n mode?: ModeEnum,\n }): Promise<ExtendedReference[]> {\n return (\n await this.restClient.post<ExtendedReference[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON),\n data\n )\n ).toModel();\n }\n}\n","import { AnalysisResult } from '../model';\nimport { CommentsEndpoint } from './comments';\nimport { EvaluationsEndpoint } from './evaluations';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/domains/{domainname}/results/{resultid}\"\n * This is a generated file do not change manually!\n */\nexport class ResultEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n private readonly resultid: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/results\" + `/${this.resultid}`;\n }\n\n comments(): CommentsEndpoint {\n return new CommentsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n evaluations(): EvaluationsEndpoint {\n return new EvaluationsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n async get(params?: {\n withreferencedocument?: boolean,\n }): Promise<AnalysisResult> {\n return (\n await this.restClient.get<AnalysisResult>(\n this.ENDPOINT,\n params,\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 AnalysisResult - \n */\n async patch(\n body: AnalysisResult,\n ): Promise<AnalysisResult> {\n return (\n await this.restClient.patch<AnalysisResult>(\n this.ENDPOINT,\n body\n )\n ).toModel();\n }\n}\n","import { AitaskEndpoint } from './aitask';\nimport { AitasksEndpoint } from './aitasks';\nimport { AnalysesEndpoint } from './analyses';\nimport { AnalysisEndpoint } from './analysis';\nimport { BulkEndpoint } from './bulk';\nimport { ClassificationsEndpoint } from './classifications';\nimport { EvaluationEndpoint } from './evaluation';\nimport { EvaluationsEndpoint } from './evaluations';\nimport { ExceltemplateEndpoint } from './exceltemplate';\nimport { ExceltemplatesEndpoint } from './exceltemplates';\nimport { ReferencesEndpoint } from './references';\nimport { RestClient } from '../../rest';\nimport { ResultEndpoint } from './result';\nimport { ResultsEndpoint } from './results';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/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 aitasks(): AitasksEndpoint;\n aitasks(analysisid: string): AitaskEndpoint\n \n aitasks(analysisid?: string): AitaskEndpoint | AitasksEndpoint {\n if(analysisid !== undefined && analysisid !== null) {\n\t return new AitaskEndpoint(this.restClient, this.ENDPOINT, analysisid);\n } else {\n\t return new AitasksEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n analyses(): AnalysesEndpoint;\n analyses(analysisid: string): AnalysisEndpoint\n \n analyses(analysisid?: string): AnalysisEndpoint | AnalysesEndpoint {\n if(analysisid !== undefined && analysisid !== null) {\n\t return new AnalysisEndpoint(this.restClient, this.ENDPOINT, analysisid);\n } else {\n\t return new AnalysesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n bulk(): BulkEndpoint {\n return new BulkEndpoint(this.restClient, this.ENDPOINT);\n }\n\n classifications(): ClassificationsEndpoint {\n return new ClassificationsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n evaluations(): EvaluationsEndpoint;\n evaluations(id: string): EvaluationEndpoint\n \n evaluations(id?: string): EvaluationEndpoint | EvaluationsEndpoint {\n if(id !== undefined && id !== null) {\n\t return new EvaluationEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new EvaluationsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n exceltemplates(): ExceltemplatesEndpoint;\n exceltemplates(id: string): ExceltemplateEndpoint\n \n exceltemplates(id?: string): ExceltemplateEndpoint | ExceltemplatesEndpoint {\n if(id !== undefined && id !== null) {\n\t return new ExceltemplateEndpoint(this.restClient, this.ENDPOINT, id);\n } else {\n\t return new ExceltemplatesEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n\n references(): ReferencesEndpoint {\n return new ReferencesEndpoint(this.restClient, this.ENDPOINT);\n }\n\n results(): ResultsEndpoint;\n results(resultid: string): ResultEndpoint\n \n results(resultid?: string): ResultEndpoint | ResultsEndpoint {\n if(resultid !== undefined && resultid !== null) {\n\t return new ResultEndpoint(this.restClient, this.ENDPOINT, resultid);\n } else {\n\t return new ResultsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n}\n","import { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements/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","import { CurrentuserEndpoint } from './currentuser';\nimport { DomainEndpoint } from './domain';\nimport { DomainsEndpoint } from './domains';\nimport { RestClient } from '../../rest';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/requirements\"\n * This is a generated file do not change manually!\n */\nexport class RequirementsEndpoint {\n private readonly ENDPOINT: string;\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string,\n ) {\n this.ENDPOINT = this.parentEndpoint + \"/requirements\";\n }\n\n currentuser(): CurrentuserEndpoint {\n return new CurrentuserEndpoint(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\t return new DomainEndpoint(this.restClient, this.ENDPOINT, domainname);\n } else {\n\t return new DomainsEndpoint(this.restClient, this.ENDPOINT);\n }\n }\n}\n","import * as fs from 'fs';\n\nimport { RequirementsEndpoint } from './requirements';\nimport { RestClient } from '../../rest';\n\nconst PARENT_ENDPOINT = '/api';\n\n/**\n * Entry point to the Requirements API.\n *\n * @author semantha\n * Calls the /requirements, 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 RequirementsAPI {\n\n constructor(\n private readonly restClient: RestClient,\n private readonly parentEndpoint: string\n ) {\n }\n\n /**\n * Access to the Requirements API\n *\n * @param serverUrl: string - URL to the Requirements server.\n * @param apiKey: string - A valid bearer token for accessing the given url.\n *\n * @return RequirementsAPI: Entry point to the Requirements API.\n */\n static loginWithApiKey(\n serverUrl: string,\n apiKey: string\n ): RequirementsAPI {\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 RequirementsAPI(new RestClient(this.parseServerUrl(serverUrl), apiKey), PARENT_ENDPOINT);\n }\n\n\n /**\n * Access to the Requirements API, when there is a auth proxy in place to handle the addition of the Authorization header\n *\n * @param serverUrl: string - URL to the Requirements server.\n *\n * @return RequirementsAPI: Entry point to the Requirements API.\n */\n static loginWithAuthProxy(\n serverUrl: string\n ): RequirementsAPI {\n if(!serverUrl) {\n throw new Error('You need to supply a server url to login.');\n }\n return new RequirementsAPI(new RestClient(this.parseServerUrl(serverUrl)), PARENT_ENDPOINT);\n }\n\n /**\n * Access to the Requirements API\n *\n * @param serverUrl: string - URL to the Requirements 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 RequirementsAPI: Entry point to the Requirements API.\n */\n static loginWithCredentials(\n serverUrl: string,\n clientId: string,\n clientSecret: string,\n tokenUrl: string\n ): RequirementsAPI {\n serverUrl = this.parseServerUrl(serverUrl);\n return new RequirementsAPI(new RestClient(serverUrl, undefined, clientId, clientSecret, tokenUrl), PARENT_ENDPOINT);\n }\n\t\n /**\n * Access to the Requirements API\n *\n * @param credentialsFilePath: string - Path to a properties file providing client credentials.\n *\n * @return RequirementsAPI: Entry point to the Requirements API.\n */\n static loginWithCredentialsFile(credentialsFilePath: string) : RequirementsAPI {\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 RequirementsAPI.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-product-server');\n } else if (!serverUrl.endsWith('/tt-product-server')) {\n serverUrl += '/tt-product-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 requirements(): RequirementsEndpoint {\n return new RequirementsEndpoint(this.restClient, this.endpoint());\n }\n\n}"]}
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author semantha
|
|
3
|
+
*
|
|
4
|
+
* This is a generated file do not change manually!
|
|
5
|
+
*/
|
|
6
|
+
interface AiTaskArguments {
|
|
7
|
+
promptId?: string;
|
|
8
|
+
params?: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
1
13
|
/**
|
|
2
14
|
* @author semantha
|
|
3
15
|
*
|
|
@@ -347,6 +359,21 @@ interface AnalysesReport {
|
|
|
347
359
|
statsSummary?: AnalysisStats;
|
|
348
360
|
}
|
|
349
361
|
|
|
362
|
+
/**
|
|
363
|
+
* @author semantha
|
|
364
|
+
*
|
|
365
|
+
* This is a generated file do not change manually!
|
|
366
|
+
*/
|
|
367
|
+
interface PromptResultStats {
|
|
368
|
+
countSuccess?: number;
|
|
369
|
+
countAnswered?: number;
|
|
370
|
+
countNoAnswer?: number;
|
|
371
|
+
countError?: number;
|
|
372
|
+
countErrorUpdateAttribute?: number;
|
|
373
|
+
countErrorCreateWorkItem?: number;
|
|
374
|
+
countErrorLinkCreatedWorkItem?: number;
|
|
375
|
+
}
|
|
376
|
+
|
|
350
377
|
/**
|
|
351
378
|
* @author semantha
|
|
352
379
|
*
|
|
@@ -371,6 +398,7 @@ interface Analysis {
|
|
|
371
398
|
source?: AnalysisSourceEnum;
|
|
372
399
|
type?: AnalysisTypeEnum;
|
|
373
400
|
stats?: AnalysisStats;
|
|
401
|
+
promptResultStats?: PromptResultStats;
|
|
374
402
|
}
|
|
375
403
|
|
|
376
404
|
/**
|
|
@@ -724,7 +752,7 @@ interface FormDataContentDisposition {
|
|
|
724
752
|
*
|
|
725
753
|
* This is a generated file do not change manually!
|
|
726
754
|
*/
|
|
727
|
-
declare const ModeEnumValues: readonly ["fingerprint", "keyword", "document", "document_fingerprint", "fingerprint_keyword", "auto"];
|
|
755
|
+
declare const ModeEnumValues: readonly ["fingerprint", "keyword", "document", "document_fingerprint", "fingerprint_keyword", "auto", "fingerprint_exact", "document_fingerprint_exact"];
|
|
728
756
|
type ModeEnum = (typeof ModeEnumValues)[number];
|
|
729
757
|
declare function isModeEnumValue(value: any): value is ModeEnum;
|
|
730
758
|
|
|
@@ -742,7 +770,19 @@ interface PromptResult {
|
|
|
742
770
|
additionalInformation?: {
|
|
743
771
|
[key: string]: string;
|
|
744
772
|
};
|
|
773
|
+
aiTaskArguments?: AiTaskArguments;
|
|
774
|
+
errorDetails?: string;
|
|
745
775
|
customAttributes?: Attribute[];
|
|
746
776
|
}
|
|
747
777
|
|
|
748
|
-
|
|
778
|
+
/**
|
|
779
|
+
* @author semantha
|
|
780
|
+
*
|
|
781
|
+
* This is a generated file do not change manually!
|
|
782
|
+
*/
|
|
783
|
+
interface PromptResultResponseContainer {
|
|
784
|
+
meta?: ResponseMetaInfo;
|
|
785
|
+
data?: PromptResult[];
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
export { type AiTaskArguments, type AiTaskInput, type AnalysesReport, type Analysis, type AnalysisCreation, type AnalysisInput, type AnalysisReport, type AnalysisReportTypeEnum, AnalysisReportTypeEnumValues, type AnalysisResult, type AnalysisResultComment, type AnalysisResultOverview, type AnalysisResultsResponseContainer, type AnalysisResultsStats, type AnalysisResultsStatsResponseContainer, type AnalysisSourceEnum, AnalysisSourceEnumValues, type AnalysisStats, type AnalysisStatusEnum, AnalysisStatusEnumValues, type AnalysisTypeEnum, AnalysisTypeEnumValues, type AnnotationCell, type AnnotationPage, type Attachment, type Attribute, type Char, type ClassificationStats, type Distance, type Document, type DocumentNamedEntity, type DocumentTable, type Entity, type Evaluation, type EvaluationOverview, type ExcelTemplateColumnConfig, type ExcelTemplateColumnConfigHeaderTypeEnum, ExcelTemplateColumnConfigHeaderTypeEnumValues, type ExcelTemplateDetails, type ExtendedReference, type Features, type FormDataContentDisposition, type FormatInformation, type Link, type MetaInfoPage, type ModeEnum, ModeEnumValues, type Page, type PageContent, type Paragraph, type ParagraphPreview, type PromptResult, type PromptResultResponseContainer, type PromptResultStats, type Rect, type Reference, type ResponseMetaInfo, type Row, type Sentence, type StatusStats, type TableCell, isAnalysisReportTypeEnumValue, isAnalysisSourceEnumValue, isAnalysisStatusEnumValue, isAnalysisTypeEnumValue, isExcelTemplateColumnConfigHeaderTypeEnumValue, isModeEnumValue };
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author semantha
|
|
3
|
+
*
|
|
4
|
+
* This is a generated file do not change manually!
|
|
5
|
+
*/
|
|
6
|
+
interface AiTaskArguments {
|
|
7
|
+
promptId?: string;
|
|
8
|
+
params?: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
1
13
|
/**
|
|
2
14
|
* @author semantha
|
|
3
15
|
*
|
|
@@ -347,6 +359,21 @@ interface AnalysesReport {
|
|
|
347
359
|
statsSummary?: AnalysisStats;
|
|
348
360
|
}
|
|
349
361
|
|
|
362
|
+
/**
|
|
363
|
+
* @author semantha
|
|
364
|
+
*
|
|
365
|
+
* This is a generated file do not change manually!
|
|
366
|
+
*/
|
|
367
|
+
interface PromptResultStats {
|
|
368
|
+
countSuccess?: number;
|
|
369
|
+
countAnswered?: number;
|
|
370
|
+
countNoAnswer?: number;
|
|
371
|
+
countError?: number;
|
|
372
|
+
countErrorUpdateAttribute?: number;
|
|
373
|
+
countErrorCreateWorkItem?: number;
|
|
374
|
+
countErrorLinkCreatedWorkItem?: number;
|
|
375
|
+
}
|
|
376
|
+
|
|
350
377
|
/**
|
|
351
378
|
* @author semantha
|
|
352
379
|
*
|
|
@@ -371,6 +398,7 @@ interface Analysis {
|
|
|
371
398
|
source?: AnalysisSourceEnum;
|
|
372
399
|
type?: AnalysisTypeEnum;
|
|
373
400
|
stats?: AnalysisStats;
|
|
401
|
+
promptResultStats?: PromptResultStats;
|
|
374
402
|
}
|
|
375
403
|
|
|
376
404
|
/**
|
|
@@ -724,7 +752,7 @@ interface FormDataContentDisposition {
|
|
|
724
752
|
*
|
|
725
753
|
* This is a generated file do not change manually!
|
|
726
754
|
*/
|
|
727
|
-
declare const ModeEnumValues: readonly ["fingerprint", "keyword", "document", "document_fingerprint", "fingerprint_keyword", "auto"];
|
|
755
|
+
declare const ModeEnumValues: readonly ["fingerprint", "keyword", "document", "document_fingerprint", "fingerprint_keyword", "auto", "fingerprint_exact", "document_fingerprint_exact"];
|
|
728
756
|
type ModeEnum = (typeof ModeEnumValues)[number];
|
|
729
757
|
declare function isModeEnumValue(value: any): value is ModeEnum;
|
|
730
758
|
|
|
@@ -742,7 +770,19 @@ interface PromptResult {
|
|
|
742
770
|
additionalInformation?: {
|
|
743
771
|
[key: string]: string;
|
|
744
772
|
};
|
|
773
|
+
aiTaskArguments?: AiTaskArguments;
|
|
774
|
+
errorDetails?: string;
|
|
745
775
|
customAttributes?: Attribute[];
|
|
746
776
|
}
|
|
747
777
|
|
|
748
|
-
|
|
778
|
+
/**
|
|
779
|
+
* @author semantha
|
|
780
|
+
*
|
|
781
|
+
* This is a generated file do not change manually!
|
|
782
|
+
*/
|
|
783
|
+
interface PromptResultResponseContainer {
|
|
784
|
+
meta?: ResponseMetaInfo;
|
|
785
|
+
data?: PromptResult[];
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
export { type AiTaskArguments, type AiTaskInput, type AnalysesReport, type Analysis, type AnalysisCreation, type AnalysisInput, type AnalysisReport, type AnalysisReportTypeEnum, AnalysisReportTypeEnumValues, type AnalysisResult, type AnalysisResultComment, type AnalysisResultOverview, type AnalysisResultsResponseContainer, type AnalysisResultsStats, type AnalysisResultsStatsResponseContainer, type AnalysisSourceEnum, AnalysisSourceEnumValues, type AnalysisStats, type AnalysisStatusEnum, AnalysisStatusEnumValues, type AnalysisTypeEnum, AnalysisTypeEnumValues, type AnnotationCell, type AnnotationPage, type Attachment, type Attribute, type Char, type ClassificationStats, type Distance, type Document, type DocumentNamedEntity, type DocumentTable, type Entity, type Evaluation, type EvaluationOverview, type ExcelTemplateColumnConfig, type ExcelTemplateColumnConfigHeaderTypeEnum, ExcelTemplateColumnConfigHeaderTypeEnumValues, type ExcelTemplateDetails, type ExtendedReference, type Features, type FormDataContentDisposition, type FormatInformation, type Link, type MetaInfoPage, type ModeEnum, ModeEnumValues, type Page, type PageContent, type Paragraph, type ParagraphPreview, type PromptResult, type PromptResultResponseContainer, type PromptResultStats, type Rect, type Reference, type ResponseMetaInfo, type Row, type Sentence, type StatusStats, type TableCell, isAnalysisReportTypeEnumValue, isAnalysisSourceEnumValue, isAnalysisStatusEnumValue, isAnalysisTypeEnumValue, isExcelTemplateColumnConfigHeaderTypeEnumValue, isModeEnumValue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var o=["EXCEL","PDF","POLARION","STRUCTURE_NAVIGATOR"];function u(e){return o.includes(e)}var r=["EXCEL","PDF","POLARION","STRUCTURE_NAVIGATOR"];function x(e){return r.includes(e)}var t=["INITIALIZING","QUEUED","IN_PROGRESS","FINISHED","UPDATING_RESULTS","ERROR","UNKNOWN","CANCELLED","EMPTY","LIMIT_EXCEEDED","NOT_EXECUTED"];function
|
|
1
|
+
'use strict';var o=["EXCEL","PDF","POLARION","STRUCTURE_NAVIGATOR"];function u(e){return o.includes(e)}var r=["EXCEL","PDF","POLARION","STRUCTURE_NAVIGATOR"];function x(e){return r.includes(e)}var t=["INITIALIZING","QUEUED","IN_PROGRESS","FINISHED","UPDATING_RESULTS","ERROR","UNKNOWN","CANCELLED","EMPTY","LIMIT_EXCEEDED","NOT_EXECUTED"];function a(e){return t.includes(e)}var n=["SIMILARITY","PROMPT"];function E(e){return n.includes(e)}var p=["DEFAULT_COLUMN","PLACEHOLDER_COLUMN","EDITABLE_PLACEHOLDER_COLUMN"];function y(e){return p.includes(e)}var m=["fingerprint","keyword","document","document_fingerprint","fingerprint_keyword","auto","fingerprint_exact","document_fingerprint_exact"];function T(e){return m.includes(e)}exports.AnalysisReportTypeEnumValues=o;exports.AnalysisSourceEnumValues=r;exports.AnalysisStatusEnumValues=t;exports.AnalysisTypeEnumValues=n;exports.ExcelTemplateColumnConfigHeaderTypeEnumValues=p;exports.ModeEnumValues=m;exports.isAnalysisReportTypeEnumValue=u;exports.isAnalysisSourceEnumValue=x;exports.isAnalysisStatusEnumValue=a;exports.isAnalysisTypeEnumValue=E;exports.isExcelTemplateColumnConfigHeaderTypeEnumValue=y;exports.isModeEnumValue=T;//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../semantha-product-sdk/requirements/model/analysisReportTypeEnum.ts","../../../semantha-product-sdk/requirements/model/analysisSourceEnum.ts","../../../semantha-product-sdk/requirements/model/analysisStatusEnum.ts","../../../semantha-product-sdk/requirements/model/analysisTypeEnum.ts","../../../semantha-product-sdk/requirements/model/excelTemplateColumnConfigHeaderTypeEnum.ts","../../../semantha-product-sdk/requirements/model/modeEnum.ts"],"names":["AnalysisReportTypeEnumValues","isAnalysisReportTypeEnumValue","value","AnalysisSourceEnumValues","isAnalysisSourceEnumValue","AnalysisStatusEnumValues","isAnalysisStatusEnumValue","AnalysisTypeEnumValues","isAnalysisTypeEnumValue","ExcelTemplateColumnConfigHeaderTypeEnumValues","isExcelTemplateColumnConfigHeaderTypeEnumValue","ModeEnumValues","isModeEnumValue"],"mappings":"aAKO,IAAMA,CAAAA,CAA+B,CAC1C,OAAA,CACA,KAAA,CACA,UAAA,CACA,qBACF,EAGO,SAASC,CAAAA,CAA8BC,CAAAA,CAA6C,CACzF,OAAOF,EAA6B,QAAA,CAASE,CAAK,CACpD,CCVO,IAAMC,CAAAA,CAA2B,CACtC,OAAA,CACA,KAAA,CACA,UAAA,CACA,qBACF,EAGO,SAASC,
|
|
1
|
+
{"version":3,"sources":["../../../semantha-product-sdk/requirements/model/analysisReportTypeEnum.ts","../../../semantha-product-sdk/requirements/model/analysisSourceEnum.ts","../../../semantha-product-sdk/requirements/model/analysisStatusEnum.ts","../../../semantha-product-sdk/requirements/model/analysisTypeEnum.ts","../../../semantha-product-sdk/requirements/model/excelTemplateColumnConfigHeaderTypeEnum.ts","../../../semantha-product-sdk/requirements/model/modeEnum.ts"],"names":["AnalysisReportTypeEnumValues","isAnalysisReportTypeEnumValue","value","AnalysisSourceEnumValues","isAnalysisSourceEnumValue","AnalysisStatusEnumValues","isAnalysisStatusEnumValue","AnalysisTypeEnumValues","isAnalysisTypeEnumValue","ExcelTemplateColumnConfigHeaderTypeEnumValues","isExcelTemplateColumnConfigHeaderTypeEnumValue","ModeEnumValues","isModeEnumValue"],"mappings":"aAKO,IAAMA,CAAAA,CAA+B,CAC1C,OAAA,CACA,KAAA,CACA,UAAA,CACA,qBACF,EAGO,SAASC,CAAAA,CAA8BC,CAAAA,CAA6C,CACzF,OAAOF,EAA6B,QAAA,CAASE,CAAK,CACpD,CCVO,IAAMC,CAAAA,CAA2B,CACtC,OAAA,CACA,KAAA,CACA,UAAA,CACA,qBACF,EAGO,SAASC,CAAAA,CAA0BF,EAAyC,CACjF,OAAOC,CAAAA,CAAyB,QAAA,CAASD,CAAK,CAChD,CCVO,IAAMG,CAAAA,CAA2B,CACtC,cAAA,CACA,QAAA,CACA,aAAA,CACA,WACA,kBAAA,CACA,OAAA,CACA,SAAA,CACA,WAAA,CACA,OAAA,CACA,gBAAA,CACA,cACF,EAGO,SAASC,CAAAA,CAA0BJ,CAAAA,CAAyC,CACjF,OAAOG,CAAAA,CAAyB,SAASH,CAAK,CAChD,CCjBO,IAAMK,CAAAA,CAAyB,CACpC,aACA,QACF,EAGO,SAASC,CAAAA,CAAwBN,CAAAA,CAAuC,CAC7E,OAAOK,CAAAA,CAAuB,QAAA,CAASL,CAAK,CAC9C,CCRO,IAAMO,CAAAA,CAAgD,CAC3D,gBAAA,CACA,oBAAA,CACA,6BACF,EAGO,SAASC,CAAAA,CAA+CR,EAA8D,CAC3H,OAAOO,CAAAA,CAA8C,QAAA,CAASP,CAAK,CACrE,CCTO,IAAMS,CAAAA,CAAiB,CAC5B,aAAA,CACA,SAAA,CACA,UAAA,CACA,sBAAA,CACA,sBACA,MAAA,CACA,mBAAA,CACA,4BACF,EAGO,SAASC,CAAAA,CAAgBV,CAAAA,CAA+B,CAC7D,OAAOS,CAAAA,CAAe,QAAA,CAAST,CAAK,CACtC","file":"index.js","sourcesContent":["/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const AnalysisReportTypeEnumValues = [\n 'EXCEL',\n 'PDF',\n 'POLARION',\n 'STRUCTURE_NAVIGATOR'\n] as const;\nexport type AnalysisReportTypeEnum = (typeof AnalysisReportTypeEnumValues)[number];\n\nexport function isAnalysisReportTypeEnumValue(value: any): value is AnalysisReportTypeEnum {\n return AnalysisReportTypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const AnalysisSourceEnumValues = [\n 'EXCEL',\n 'PDF',\n 'POLARION',\n 'STRUCTURE_NAVIGATOR'\n] as const;\nexport type AnalysisSourceEnum = (typeof AnalysisSourceEnumValues)[number];\n\nexport function isAnalysisSourceEnumValue(value: any): value is AnalysisSourceEnum {\n return AnalysisSourceEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const AnalysisStatusEnumValues = [\n 'INITIALIZING',\n 'QUEUED',\n 'IN_PROGRESS',\n 'FINISHED',\n 'UPDATING_RESULTS',\n 'ERROR',\n 'UNKNOWN',\n 'CANCELLED',\n 'EMPTY',\n 'LIMIT_EXCEEDED',\n 'NOT_EXECUTED'\n] as const;\nexport type AnalysisStatusEnum = (typeof AnalysisStatusEnumValues)[number];\n\nexport function isAnalysisStatusEnumValue(value: any): value is AnalysisStatusEnum {\n return AnalysisStatusEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const AnalysisTypeEnumValues = [\n 'SIMILARITY',\n 'PROMPT'\n] as const;\nexport type AnalysisTypeEnum = (typeof AnalysisTypeEnumValues)[number];\n\nexport function isAnalysisTypeEnumValue(value: any): value is AnalysisTypeEnum {\n return AnalysisTypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const ExcelTemplateColumnConfigHeaderTypeEnumValues = [\n 'DEFAULT_COLUMN',\n 'PLACEHOLDER_COLUMN',\n 'EDITABLE_PLACEHOLDER_COLUMN'\n] as const;\nexport type ExcelTemplateColumnConfigHeaderTypeEnum = (typeof ExcelTemplateColumnConfigHeaderTypeEnumValues)[number];\n\nexport function isExcelTemplateColumnConfigHeaderTypeEnumValue(value: any): value is ExcelTemplateColumnConfigHeaderTypeEnum {\n return ExcelTemplateColumnConfigHeaderTypeEnumValues.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 'fingerprint_exact',\n 'document_fingerprint_exact'\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"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var o=["EXCEL","PDF","POLARION","STRUCTURE_NAVIGATOR"];function u(e){return o.includes(e)}var r=["EXCEL","PDF","POLARION","STRUCTURE_NAVIGATOR"];function x(e){return r.includes(e)}var t=["INITIALIZING","QUEUED","IN_PROGRESS","FINISHED","UPDATING_RESULTS","ERROR","UNKNOWN","CANCELLED","EMPTY","LIMIT_EXCEEDED","NOT_EXECUTED"];function
|
|
1
|
+
var o=["EXCEL","PDF","POLARION","STRUCTURE_NAVIGATOR"];function u(e){return o.includes(e)}var r=["EXCEL","PDF","POLARION","STRUCTURE_NAVIGATOR"];function x(e){return r.includes(e)}var t=["INITIALIZING","QUEUED","IN_PROGRESS","FINISHED","UPDATING_RESULTS","ERROR","UNKNOWN","CANCELLED","EMPTY","LIMIT_EXCEEDED","NOT_EXECUTED"];function a(e){return t.includes(e)}var n=["SIMILARITY","PROMPT"];function E(e){return n.includes(e)}var p=["DEFAULT_COLUMN","PLACEHOLDER_COLUMN","EDITABLE_PLACEHOLDER_COLUMN"];function y(e){return p.includes(e)}var m=["fingerprint","keyword","document","document_fingerprint","fingerprint_keyword","auto","fingerprint_exact","document_fingerprint_exact"];function T(e){return m.includes(e)}export{o as AnalysisReportTypeEnumValues,r as AnalysisSourceEnumValues,t as AnalysisStatusEnumValues,n as AnalysisTypeEnumValues,p as ExcelTemplateColumnConfigHeaderTypeEnumValues,m as ModeEnumValues,u as isAnalysisReportTypeEnumValue,x as isAnalysisSourceEnumValue,a as isAnalysisStatusEnumValue,E as isAnalysisTypeEnumValue,y as isExcelTemplateColumnConfigHeaderTypeEnumValue,T as isModeEnumValue};//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../semantha-product-sdk/requirements/model/analysisReportTypeEnum.ts","../../../semantha-product-sdk/requirements/model/analysisSourceEnum.ts","../../../semantha-product-sdk/requirements/model/analysisStatusEnum.ts","../../../semantha-product-sdk/requirements/model/analysisTypeEnum.ts","../../../semantha-product-sdk/requirements/model/excelTemplateColumnConfigHeaderTypeEnum.ts","../../../semantha-product-sdk/requirements/model/modeEnum.ts"],"names":["AnalysisReportTypeEnumValues","isAnalysisReportTypeEnumValue","value","AnalysisSourceEnumValues","isAnalysisSourceEnumValue","AnalysisStatusEnumValues","isAnalysisStatusEnumValue","AnalysisTypeEnumValues","isAnalysisTypeEnumValue","ExcelTemplateColumnConfigHeaderTypeEnumValues","isExcelTemplateColumnConfigHeaderTypeEnumValue","ModeEnumValues","isModeEnumValue"],"mappings":"AAKO,IAAMA,CAAAA,CAA+B,CAC1C,OAAA,CACA,KAAA,CACA,UAAA,CACA,qBACF,EAGO,SAASC,CAAAA,CAA8BC,CAAAA,CAA6C,CACzF,OAAOF,EAA6B,QAAA,CAASE,CAAK,CACpD,CCVO,IAAMC,CAAAA,CAA2B,CACtC,OAAA,CACA,KAAA,CACA,UAAA,CACA,qBACF,EAGO,SAASC,
|
|
1
|
+
{"version":3,"sources":["../../../semantha-product-sdk/requirements/model/analysisReportTypeEnum.ts","../../../semantha-product-sdk/requirements/model/analysisSourceEnum.ts","../../../semantha-product-sdk/requirements/model/analysisStatusEnum.ts","../../../semantha-product-sdk/requirements/model/analysisTypeEnum.ts","../../../semantha-product-sdk/requirements/model/excelTemplateColumnConfigHeaderTypeEnum.ts","../../../semantha-product-sdk/requirements/model/modeEnum.ts"],"names":["AnalysisReportTypeEnumValues","isAnalysisReportTypeEnumValue","value","AnalysisSourceEnumValues","isAnalysisSourceEnumValue","AnalysisStatusEnumValues","isAnalysisStatusEnumValue","AnalysisTypeEnumValues","isAnalysisTypeEnumValue","ExcelTemplateColumnConfigHeaderTypeEnumValues","isExcelTemplateColumnConfigHeaderTypeEnumValue","ModeEnumValues","isModeEnumValue"],"mappings":"AAKO,IAAMA,CAAAA,CAA+B,CAC1C,OAAA,CACA,KAAA,CACA,UAAA,CACA,qBACF,EAGO,SAASC,CAAAA,CAA8BC,CAAAA,CAA6C,CACzF,OAAOF,EAA6B,QAAA,CAASE,CAAK,CACpD,CCVO,IAAMC,CAAAA,CAA2B,CACtC,OAAA,CACA,KAAA,CACA,UAAA,CACA,qBACF,EAGO,SAASC,CAAAA,CAA0BF,EAAyC,CACjF,OAAOC,CAAAA,CAAyB,QAAA,CAASD,CAAK,CAChD,CCVO,IAAMG,CAAAA,CAA2B,CACtC,cAAA,CACA,QAAA,CACA,aAAA,CACA,WACA,kBAAA,CACA,OAAA,CACA,SAAA,CACA,WAAA,CACA,OAAA,CACA,gBAAA,CACA,cACF,EAGO,SAASC,CAAAA,CAA0BJ,CAAAA,CAAyC,CACjF,OAAOG,CAAAA,CAAyB,SAASH,CAAK,CAChD,CCjBO,IAAMK,CAAAA,CAAyB,CACpC,aACA,QACF,EAGO,SAASC,CAAAA,CAAwBN,CAAAA,CAAuC,CAC7E,OAAOK,CAAAA,CAAuB,QAAA,CAASL,CAAK,CAC9C,CCRO,IAAMO,CAAAA,CAAgD,CAC3D,gBAAA,CACA,oBAAA,CACA,6BACF,EAGO,SAASC,CAAAA,CAA+CR,EAA8D,CAC3H,OAAOO,CAAAA,CAA8C,QAAA,CAASP,CAAK,CACrE,CCTO,IAAMS,CAAAA,CAAiB,CAC5B,aAAA,CACA,SAAA,CACA,UAAA,CACA,sBAAA,CACA,sBACA,MAAA,CACA,mBAAA,CACA,4BACF,EAGO,SAASC,CAAAA,CAAgBV,CAAAA,CAA+B,CAC7D,OAAOS,CAAAA,CAAe,QAAA,CAAST,CAAK,CACtC","file":"index.mjs","sourcesContent":["/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const AnalysisReportTypeEnumValues = [\n 'EXCEL',\n 'PDF',\n 'POLARION',\n 'STRUCTURE_NAVIGATOR'\n] as const;\nexport type AnalysisReportTypeEnum = (typeof AnalysisReportTypeEnumValues)[number];\n\nexport function isAnalysisReportTypeEnumValue(value: any): value is AnalysisReportTypeEnum {\n return AnalysisReportTypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const AnalysisSourceEnumValues = [\n 'EXCEL',\n 'PDF',\n 'POLARION',\n 'STRUCTURE_NAVIGATOR'\n] as const;\nexport type AnalysisSourceEnum = (typeof AnalysisSourceEnumValues)[number];\n\nexport function isAnalysisSourceEnumValue(value: any): value is AnalysisSourceEnum {\n return AnalysisSourceEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const AnalysisStatusEnumValues = [\n 'INITIALIZING',\n 'QUEUED',\n 'IN_PROGRESS',\n 'FINISHED',\n 'UPDATING_RESULTS',\n 'ERROR',\n 'UNKNOWN',\n 'CANCELLED',\n 'EMPTY',\n 'LIMIT_EXCEEDED',\n 'NOT_EXECUTED'\n] as const;\nexport type AnalysisStatusEnum = (typeof AnalysisStatusEnumValues)[number];\n\nexport function isAnalysisStatusEnumValue(value: any): value is AnalysisStatusEnum {\n return AnalysisStatusEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const AnalysisTypeEnumValues = [\n 'SIMILARITY',\n 'PROMPT'\n] as const;\nexport type AnalysisTypeEnum = (typeof AnalysisTypeEnumValues)[number];\n\nexport function isAnalysisTypeEnumValue(value: any): value is AnalysisTypeEnum {\n return AnalysisTypeEnumValues.includes(value);\n}\n\n","/**\n * @author semantha\n *\n * This is a generated file do not change manually!\n */\nexport const ExcelTemplateColumnConfigHeaderTypeEnumValues = [\n 'DEFAULT_COLUMN',\n 'PLACEHOLDER_COLUMN',\n 'EDITABLE_PLACEHOLDER_COLUMN'\n] as const;\nexport type ExcelTemplateColumnConfigHeaderTypeEnum = (typeof ExcelTemplateColumnConfigHeaderTypeEnumValues)[number];\n\nexport function isExcelTemplateColumnConfigHeaderTypeEnumValue(value: any): value is ExcelTemplateColumnConfigHeaderTypeEnum {\n return ExcelTemplateColumnConfigHeaderTypeEnumValues.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 'fingerprint_exact',\n 'document_fingerprint_exact'\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"]}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semantha/product-sdk",
|
|
3
3
|
"description": "SDK for semantha products",
|
|
4
|
-
"version": "11.
|
|
5
|
-
"packageManager": "pnpm@
|
|
4
|
+
"version": "11.5.0",
|
|
5
|
+
"packageManager": "pnpm@11.6.0+sha512.9a36518224080c6fe5165afdcfe79bfa118c29be703f3f462b1e32efe1e98e47e8750b148e08286250aad4113cc7993ca413c4e2cd447752708c2ee5751bc95f",
|
|
6
6
|
"files": [
|
|
7
7
|
"./dist"
|
|
8
8
|
],
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"homepage": "https://aleph-alpha.com",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@types/jest": "
|
|
27
|
-
"@types/node": "
|
|
28
|
-
"eslint": "
|
|
29
|
-
"jest": "
|
|
30
|
-
"prettier": "3.8.
|
|
31
|
-
"ts-jest": "
|
|
32
|
-
"tsup": "
|
|
33
|
-
"typescript": "
|
|
34
|
-
"typescript-eslint": "
|
|
26
|
+
"@types/jest": "30.0.0",
|
|
27
|
+
"@types/node": "20.19.43",
|
|
28
|
+
"eslint": "9.39.4",
|
|
29
|
+
"jest": "30.4.2",
|
|
30
|
+
"prettier": "3.8.4",
|
|
31
|
+
"ts-jest": "29.4.11",
|
|
32
|
+
"tsup": "8.5.1",
|
|
33
|
+
"typescript": "5.9.3",
|
|
34
|
+
"typescript-eslint": "8.60.1"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"axios": "^1.
|
|
37
|
+
"axios": "^1.18.0"
|
|
38
38
|
},
|
|
39
39
|
"browser": {
|
|
40
40
|
"fs": false
|