@semantha/product-sdk 9.2.1

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.
Files changed (119) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +3 -0
  3. package/dist/chunk-4R65LLWL.js +2 -0
  4. package/dist/chunk-4R65LLWL.js.map +1 -0
  5. package/dist/chunk-7Y3CRYXW.mjs +2 -0
  6. package/dist/chunk-7Y3CRYXW.mjs.map +1 -0
  7. package/dist/chunk-BE73RDIS.mjs +2 -0
  8. package/dist/chunk-BE73RDIS.mjs.map +1 -0
  9. package/dist/chunk-DOK44NQJ.mjs +2 -0
  10. package/dist/chunk-DOK44NQJ.mjs.map +1 -0
  11. package/dist/chunk-DURTIKAP.mjs +2 -0
  12. package/dist/chunk-DURTIKAP.mjs.map +1 -0
  13. package/dist/chunk-F5JCME7D.js +2 -0
  14. package/dist/chunk-F5JCME7D.js.map +1 -0
  15. package/dist/chunk-I2MRAQSD.mjs +2 -0
  16. package/dist/chunk-I2MRAQSD.mjs.map +1 -0
  17. package/dist/chunk-IISTQOX3.js +2 -0
  18. package/dist/chunk-IISTQOX3.js.map +1 -0
  19. package/dist/chunk-JCDJ3B7Q.js +2 -0
  20. package/dist/chunk-JCDJ3B7Q.js.map +1 -0
  21. package/dist/chunk-OP5BUX5G.js +2 -0
  22. package/dist/chunk-OP5BUX5G.js.map +1 -0
  23. package/dist/chunk-TNZ7KC6A.mjs +2 -0
  24. package/dist/chunk-TNZ7KC6A.mjs.map +1 -0
  25. package/dist/chunk-Y763UUOV.mjs +2 -0
  26. package/dist/chunk-Y763UUOV.mjs.map +1 -0
  27. package/dist/chunk-Z3N63BWG.js +2 -0
  28. package/dist/chunk-Z3N63BWG.js.map +1 -0
  29. package/dist/chunk-ZSFNB534.js +2 -0
  30. package/dist/chunk-ZSFNB534.js.map +1 -0
  31. package/dist/eventTypeEnum-B89xECKK.d.mts +240 -0
  32. package/dist/eventTypeEnum-B89xECKK.d.ts +240 -0
  33. package/dist/file-box/api/index.d.mts +133 -0
  34. package/dist/file-box/api/index.d.ts +133 -0
  35. package/dist/file-box/api/index.js +2 -0
  36. package/dist/file-box/api/index.js.map +1 -0
  37. package/dist/file-box/api/index.mjs +2 -0
  38. package/dist/file-box/api/index.mjs.map +1 -0
  39. package/dist/file-box/index.d.mts +4 -0
  40. package/dist/file-box/index.d.ts +4 -0
  41. package/dist/file-box/index.js +2 -0
  42. package/dist/file-box/index.js.map +1 -0
  43. package/dist/file-box/index.mjs +2 -0
  44. package/dist/file-box/index.mjs.map +1 -0
  45. package/dist/file-box/model/index.d.mts +47 -0
  46. package/dist/file-box/model/index.d.ts +47 -0
  47. package/dist/file-box/model/index.js +2 -0
  48. package/dist/file-box/model/index.js.map +1 -0
  49. package/dist/file-box/model/index.mjs +2 -0
  50. package/dist/file-box/model/index.mjs.map +1 -0
  51. package/dist/modeEnum-CSw6xLrL.d.mts +600 -0
  52. package/dist/modeEnum-CSw6xLrL.d.ts +600 -0
  53. package/dist/requirements/api/index.d.mts +466 -0
  54. package/dist/requirements/api/index.d.ts +466 -0
  55. package/dist/requirements/api/index.js +2 -0
  56. package/dist/requirements/api/index.js.map +1 -0
  57. package/dist/requirements/api/index.mjs +2 -0
  58. package/dist/requirements/api/index.mjs.map +1 -0
  59. package/dist/requirements/model/index.d.mts +20 -0
  60. package/dist/requirements/model/index.d.ts +20 -0
  61. package/dist/requirements/model/index.js +2 -0
  62. package/dist/requirements/model/index.js.map +1 -0
  63. package/dist/requirements/model/index.mjs +2 -0
  64. package/dist/requirements/model/index.mjs.map +1 -0
  65. package/dist/rest/index.d.mts +52 -0
  66. package/dist/rest/index.d.ts +52 -0
  67. package/dist/rest/index.js +2 -0
  68. package/dist/rest/index.js.map +1 -0
  69. package/dist/rest/index.mjs +2 -0
  70. package/dist/rest/index.mjs.map +1 -0
  71. package/dist/structure-navigator/api/index.d.mts +311 -0
  72. package/dist/structure-navigator/api/index.d.ts +311 -0
  73. package/dist/structure-navigator/api/index.js +2 -0
  74. package/dist/structure-navigator/api/index.js.map +1 -0
  75. package/dist/structure-navigator/api/index.mjs +2 -0
  76. package/dist/structure-navigator/api/index.mjs.map +1 -0
  77. package/dist/structure-navigator/index.d.mts +5 -0
  78. package/dist/structure-navigator/index.d.ts +5 -0
  79. package/dist/structure-navigator/index.js +2 -0
  80. package/dist/structure-navigator/index.js.map +1 -0
  81. package/dist/structure-navigator/index.mjs +2 -0
  82. package/dist/structure-navigator/index.mjs.map +1 -0
  83. package/dist/structure-navigator/model/index.d.mts +70 -0
  84. package/dist/structure-navigator/model/index.d.ts +70 -0
  85. package/dist/structure-navigator/model/index.js +2 -0
  86. package/dist/structure-navigator/model/index.js.map +1 -0
  87. package/dist/structure-navigator/model/index.mjs +2 -0
  88. package/dist/structure-navigator/model/index.mjs.map +1 -0
  89. package/dist/table-extractor/api/index.d.mts +92 -0
  90. package/dist/table-extractor/api/index.d.ts +92 -0
  91. package/dist/table-extractor/api/index.js +2 -0
  92. package/dist/table-extractor/api/index.js.map +1 -0
  93. package/dist/table-extractor/api/index.mjs +2 -0
  94. package/dist/table-extractor/api/index.mjs.map +1 -0
  95. package/dist/table-extractor/model/index.d.mts +20 -0
  96. package/dist/table-extractor/model/index.d.ts +20 -0
  97. package/dist/table-extractor/model/index.js +2 -0
  98. package/dist/table-extractor/model/index.js.map +1 -0
  99. package/dist/table-extractor/model/index.mjs +2 -0
  100. package/dist/table-extractor/model/index.mjs.map +1 -0
  101. package/dist/tracking/api/index.d.mts +133 -0
  102. package/dist/tracking/api/index.d.ts +133 -0
  103. package/dist/tracking/api/index.js +2 -0
  104. package/dist/tracking/api/index.js.map +1 -0
  105. package/dist/tracking/api/index.mjs +2 -0
  106. package/dist/tracking/api/index.mjs.map +1 -0
  107. package/dist/tracking/index.d.mts +4 -0
  108. package/dist/tracking/index.d.ts +4 -0
  109. package/dist/tracking/index.js +2 -0
  110. package/dist/tracking/index.js.map +1 -0
  111. package/dist/tracking/index.mjs +2 -0
  112. package/dist/tracking/index.mjs.map +1 -0
  113. package/dist/tracking/model/index.d.mts +32 -0
  114. package/dist/tracking/model/index.d.ts +32 -0
  115. package/dist/tracking/model/index.js +2 -0
  116. package/dist/tracking/model/index.js.map +1 -0
  117. package/dist/tracking/model/index.mjs +2 -0
  118. package/dist/tracking/model/index.mjs.map +1 -0
  119. package/package.json +38 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../semantha-product-sdk/requirements/api/report.ts","../../../semantha-product-sdk/requirements/api/analyses.ts","../../../semantha-product-sdk/requirements/api/export.ts","../../../semantha-product-sdk/requirements/api/results.ts","../../../semantha-product-sdk/requirements/api/analysis.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":["ReportEndpoint","restClient","parentEndpoint","body","params","AnalysesEndpoint","data","ExportEndpoint","ResultsEndpoint","AnalysisEndpoint","analysisid","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,EAAN,KAAqB,CAG1B,WACmBC,CAAAA,CAAAA,CACAC,EACjB,CAFiB,IAAA,CAAA,UAAA,CAAAD,CACA,CAAA,IAAA,CAAA,cAAA,CAAAC,EAEjB,IAAK,CAAA,QAAA,CAAW,KAAK,cAAiB,CAAA,UACxC,CAPiB,QAYjB,CAAA,MAAM,IACJC,CAAAA,CAAAA,CACAC,EAG0B,CAC1B,OAAA,CACE,MAAM,IAAK,CAAA,UAAA,CAAW,KACpB,IAAK,CAAA,QAAA,CACLA,CACA,CAAA,IAAA,CAAK,WAAW,QAAuB,CAAA,kBAAA,CAAA,CACvCD,CACF,CACA,EAAA,OAAA,EACJ,CAKA,MAAM,UACJA,CAAAA,CAAAA,CACAC,EAGgB,CAChB,OAAA,CACE,MAAM,IAAK,CAAA,UAAA,CAAW,KACpB,IAAK,CAAA,QAAA,CACLA,CACA,CAAA,IAAA,CAAK,WAAW,QAAuB,CAAA,mEAAA,CAAA,CACvCD,CACF,CACA,EAAA,OAAA,EACJ,CACF,EC5CaE,IAAAA,CAAAA,CAAN,KAAuB,CAG5B,WAAA,CACmBJ,EACAC,CACjB,CAAA,CAFiB,gBAAAD,CACA,CAAA,IAAA,CAAA,cAAA,CAAAC,CAEjB,CAAA,IAAA,CAAK,SAAW,IAAK,CAAA,cAAA,CAAiB,YACxC,CAPiB,QAAA,CASjB,QAAyB,CACvB,OAAO,IAAIF,CAAAA,CAAe,KAAK,UAAY,CAAA,IAAA,CAAK,QAAQ,CAC1D,CAEA,MAAM,GAAA,EAA2B,CAC/B,OAAA,CACE,MAAM,IAAK,CAAA,UAAA,CAAW,IACpB,IAAK,CAAA,QAAA,CACL,EACA,CAAA,IAAA,CAAK,UAAW,CAAA,QAAA,CAAA,kBAAuB,CACzC,CACA,EAAA,OAAA,EACJ,CAEA,MAAM,QAAwB,C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{ 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 )\n ).toModel();\n }\n}\n","import { Analysis } 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(): Promise<void> {\n await this.restClient.delete(this.ENDPOINT);\n }\n\n /**\n * @param file FormDataContentDisposition? - \n * @param analysisdata AnalysisInput[]? - \n * @param similaritythreshold 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 * @param type string? - \n * @param promptid string? - \n */\n async post(data: {\n file?: FormDataContentDisposition,\n analysisdata?: AnalysisInput[],\n similaritythreshold?: 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 type?: string,\n promptid?: string,\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","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 )\n ).toModel();\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 { Analysis } from '../model';\nimport { Entity } from '../model';\nimport { RestClient } from '../../rest';\nimport { ResultsEndpoint } from './results';\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 results(): ResultsEndpoint {\n return new ResultsEndpoint(this.restClient, this.ENDPOINT);\n }\n\n async delete(): Promise<void> {\n 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 { 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 { Classification } 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}/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 async get(): Promise<Classification[]> {\n return (\n await this.restClient.get<Classification[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\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 { MediaType } from '../../rest';\nimport { 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 /**\n * Get the role/s of the current user.\n */\n async get(): Promise<string[]> {\n return (\n await this.restClient.get<string[]>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { CurrentUser } from '../model';\nimport { MediaType } from '../../rest';\nimport { RestClient } from '../../rest';\nimport { RolesEndpoint } from './roles';\n\n/**\n * @author semantha\n *\n * Class to access resource \"/api/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 /**\n * Get information about the current user.\n */\n async get(): Promise<CurrentUser> {\n return (\n await this.restClient.get<CurrentUser>(\n this.ENDPOINT,\n {},\n this.restClient.toHeader(MediaType.JSON)\n )\n ).toModel();\n }\n}\n","import { 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(): Promise<void> {\n 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(): Promise<void> {\n 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 documentclassids string[]? - \n * @param mode ModeEnum? - \n */\n async post(data: {\n file?: AnalysisInput,\n referencedocument?: Blob,\n tags?: string,\n similaritythreshold?: 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(): Promise<void> {\n 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 { 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 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 * 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}"]}
@@ -0,0 +1,20 @@
1
+ import { E as EvaluationOverview } from '../../modeEnum-CSw6xLrL.mjs';
2
+ export { A as AnalysesReport, a as Analysis, b as AnalysisInput, c as AnalysisReport, e as AnalysisReportTypeEnum, d as AnalysisReportTypeEnumValues, f as AnalysisResult, g as AnalysisResultComment, j as AnalysisSourceEnum, h as AnalysisSourceEnumValues, l as AnalysisStats, n as AnalysisStatusEnum, m as AnalysisStatusEnumValues, q as AnalysisTypeEnum, p as AnalysisTypeEnumValues, s as AnnotationCell, t as AnnotationPage, u as Attachment, C as Char, v as Classification, w as CurrentUser, D as Distance, x as Document, y as DocumentNamedEntity, z as DocumentTable, B as Entity, F as Evaluation, G as ExcelTemplateColumnConfig, I as ExcelTemplateColumnConfigHeaderTypeEnum, H as ExcelTemplateColumnConfigHeaderTypeEnumValues, K as ExcelTemplateDetails, L as ExtendedReference, M as Features, N as FormDataContentDisposition, O as FormatInformation, P as Link, R as ModeEnum, Q as ModeEnumValues, T as Page, U as PageContent, V as Paragraph, W as Rect, X as Reference, Y as Row, Z as Sentence, _ as TableCell, i as isAnalysisReportTypeEnumValue, k as isAnalysisSourceEnumValue, o as isAnalysisStatusEnumValue, r as isAnalysisTypeEnumValue, J as isExcelTemplateColumnConfigHeaderTypeEnumValue, S as isModeEnumValue } from '../../modeEnum-CSw6xLrL.mjs';
3
+
4
+ /**
5
+ * @author semantha
6
+ *
7
+ * This is a generated file do not change manually!
8
+ */
9
+ interface AnalysisResultOverview {
10
+ id?: string;
11
+ name?: string;
12
+ status?: string;
13
+ classification?: string;
14
+ evaluations?: EvaluationOverview[];
15
+ edited?: boolean;
16
+ analysis?: string;
17
+ comment?: string;
18
+ }
19
+
20
+ export { type AnalysisResultOverview, EvaluationOverview };
@@ -0,0 +1,20 @@
1
+ import { E as EvaluationOverview } from '../../modeEnum-CSw6xLrL.js';
2
+ export { A as AnalysesReport, a as Analysis, b as AnalysisInput, c as AnalysisReport, e as AnalysisReportTypeEnum, d as AnalysisReportTypeEnumValues, f as AnalysisResult, g as AnalysisResultComment, j as AnalysisSourceEnum, h as AnalysisSourceEnumValues, l as AnalysisStats, n as AnalysisStatusEnum, m as AnalysisStatusEnumValues, q as AnalysisTypeEnum, p as AnalysisTypeEnumValues, s as AnnotationCell, t as AnnotationPage, u as Attachment, C as Char, v as Classification, w as CurrentUser, D as Distance, x as Document, y as DocumentNamedEntity, z as DocumentTable, B as Entity, F as Evaluation, G as ExcelTemplateColumnConfig, I as ExcelTemplateColumnConfigHeaderTypeEnum, H as ExcelTemplateColumnConfigHeaderTypeEnumValues, K as ExcelTemplateDetails, L as ExtendedReference, M as Features, N as FormDataContentDisposition, O as FormatInformation, P as Link, R as ModeEnum, Q as ModeEnumValues, T as Page, U as PageContent, V as Paragraph, W as Rect, X as Reference, Y as Row, Z as Sentence, _ as TableCell, i as isAnalysisReportTypeEnumValue, k as isAnalysisSourceEnumValue, o as isAnalysisStatusEnumValue, r as isAnalysisTypeEnumValue, J as isExcelTemplateColumnConfigHeaderTypeEnumValue, S as isModeEnumValue } from '../../modeEnum-CSw6xLrL.js';
3
+
4
+ /**
5
+ * @author semantha
6
+ *
7
+ * This is a generated file do not change manually!
8
+ */
9
+ interface AnalysisResultOverview {
10
+ id?: string;
11
+ name?: string;
12
+ status?: string;
13
+ classification?: string;
14
+ evaluations?: EvaluationOverview[];
15
+ edited?: boolean;
16
+ analysis?: string;
17
+ comment?: string;
18
+ }
19
+
20
+ export { type AnalysisResultOverview, EvaluationOverview };
@@ -0,0 +1,2 @@
1
+ 'use strict';var o=["EXCEL","PDF","POLARION","STRUCTURE_NAVIGATOR"];function s(e){return o.includes(e)}var r=["EXCEL","PDF","POLARION","STRUCTURE_NAVIGATOR"];function a(e){return r.includes(e)}var t=["INITIALIZING","QUEUED","IN_PROGRESS","FINISHED","UPDATING_RESULTS","ERROR","UNKNOWN","CANCELLED","EMPTY","LIMIT_EXCEEDED"];function x(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 u=["fingerprint","keyword","document","document_fingerprint","fingerprint_keyword","auto"];function T(e){return u.includes(e)}exports.AnalysisReportTypeEnumValues=o;exports.AnalysisSourceEnumValues=r;exports.AnalysisStatusEnumValues=t;exports.AnalysisTypeEnumValues=n;exports.ExcelTemplateColumnConfigHeaderTypeEnumValues=p;exports.ModeEnumValues=u;exports.isAnalysisReportTypeEnumValue=s;exports.isAnalysisSourceEnumValue=a;exports.isAnalysisStatusEnumValue=x;exports.isAnalysisTypeEnumValue=E;exports.isExcelTemplateColumnConfigHeaderTypeEnumValue=y;exports.isModeEnumValue=T;//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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":"aAKaA,IAAAA,CAAAA,CAA+B,CAC1C,OAAA,CACA,KACA,CAAA,UAAA,CACA,qBACF,EAGO,SAASC,CAA8BC,CAAAA,CAAAA,CAA6C,CACzF,OAAOF,EAA6B,QAASE,CAAAA,CAAK,CACpD,CCVaC,IAAAA,CAAAA,CAA2B,CACtC,OACA,CAAA,KAAA,CACA,UACA,CAAA,qBACF,EAGO,SAASC,EAA0BF,CAAyC,CAAA,CACjF,OAAOC,CAAAA,CAAyB,QAASD,CAAAA,CAAK,CAChD,CCVO,IAAMG,CAA2B,CAAA,CACtC,cACA,CAAA,QAAA,CACA,cACA,UACA,CAAA,kBAAA,CACA,OACA,CAAA,SAAA,CACA,WACA,CAAA,OAAA,CACA,gBACF,EAGO,SAASC,CAAAA,CAA0BJ,CAAyC,CAAA,CACjF,OAAOG,CAAAA,CAAyB,SAASH,CAAK,CAChD,CChBO,IAAMK,CAAyB,CAAA,CACpC,aACA,QACF,EAGO,SAASC,CAAAA,CAAwBN,CAAuC,CAAA,CAC7E,OAAOK,CAAuB,CAAA,QAAA,CAASL,CAAK,CAC9C,CCRO,IAAMO,EAAgD,CAC3D,gBAAA,CACA,oBACA,CAAA,6BACF,EAGO,SAASC,EAA+CR,CAA8D,CAAA,CAC3H,OAAOO,CAAAA,CAA8C,QAASP,CAAAA,CAAK,CACrE,CCTO,IAAMS,CAAiB,CAAA,CAC5B,aACA,CAAA,SAAA,CACA,WACA,sBACA,CAAA,qBAAA,CACA,MACF,EAGO,SAASC,CAAAA,CAAgBV,CAA+B,CAAA,CAC7D,OAAOS,CAAAA,CAAe,QAAST,CAAAA,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] 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] 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"]}
@@ -0,0 +1,2 @@
1
+ var o=["EXCEL","PDF","POLARION","STRUCTURE_NAVIGATOR"];function s(e){return o.includes(e)}var r=["EXCEL","PDF","POLARION","STRUCTURE_NAVIGATOR"];function a(e){return r.includes(e)}var t=["INITIALIZING","QUEUED","IN_PROGRESS","FINISHED","UPDATING_RESULTS","ERROR","UNKNOWN","CANCELLED","EMPTY","LIMIT_EXCEEDED"];function x(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 u=["fingerprint","keyword","document","document_fingerprint","fingerprint_keyword","auto"];function T(e){return u.includes(e)}export{o as AnalysisReportTypeEnumValues,r as AnalysisSourceEnumValues,t as AnalysisStatusEnumValues,n as AnalysisTypeEnumValues,p as ExcelTemplateColumnConfigHeaderTypeEnumValues,u as ModeEnumValues,s as isAnalysisReportTypeEnumValue,a as isAnalysisSourceEnumValue,x as isAnalysisStatusEnumValue,E as isAnalysisTypeEnumValue,y as isExcelTemplateColumnConfigHeaderTypeEnumValue,T as isModeEnumValue};//# sourceMappingURL=index.mjs.map
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +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":"AAKaA,IAAAA,CAAAA,CAA+B,CAC1C,OAAA,CACA,KACA,CAAA,UAAA,CACA,qBACF,EAGO,SAASC,CAA8BC,CAAAA,CAAAA,CAA6C,CACzF,OAAOF,EAA6B,QAASE,CAAAA,CAAK,CACpD,CCVaC,IAAAA,CAAAA,CAA2B,CACtC,OACA,CAAA,KAAA,CACA,UACA,CAAA,qBACF,EAGO,SAASC,EAA0BF,CAAyC,CAAA,CACjF,OAAOC,CAAAA,CAAyB,QAASD,CAAAA,CAAK,CAChD,CCVO,IAAMG,CAA2B,CAAA,CACtC,cACA,CAAA,QAAA,CACA,cACA,UACA,CAAA,kBAAA,CACA,OACA,CAAA,SAAA,CACA,WACA,CAAA,OAAA,CACA,gBACF,EAGO,SAASC,CAAAA,CAA0BJ,CAAyC,CAAA,CACjF,OAAOG,CAAAA,CAAyB,SAASH,CAAK,CAChD,CChBO,IAAMK,CAAyB,CAAA,CACpC,aACA,QACF,EAGO,SAASC,CAAAA,CAAwBN,CAAuC,CAAA,CAC7E,OAAOK,CAAuB,CAAA,QAAA,CAASL,CAAK,CAC9C,CCRO,IAAMO,EAAgD,CAC3D,gBAAA,CACA,oBACA,CAAA,6BACF,EAGO,SAASC,EAA+CR,CAA8D,CAAA,CAC3H,OAAOO,CAAAA,CAA8C,QAASP,CAAAA,CAAK,CACrE,CCTO,IAAMS,CAAiB,CAAA,CAC5B,aACA,CAAA,SAAA,CACA,WACA,sBACA,CAAA,qBAAA,CACA,MACF,EAGO,SAASC,CAAAA,CAAgBV,CAA+B,CAAA,CAC7D,OAAOS,CAAAA,CAAe,QAAST,CAAAA,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] 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] 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"]}
@@ -0,0 +1,52 @@
1
+ import { AxiosResponse } from 'axios';
2
+
3
+ declare class RestResponse<T> {
4
+ private readonly response;
5
+ constructor(response: Promise<AxiosResponse<T>>);
6
+ toModel(): Promise<T>;
7
+ getStatusCode(): Promise<number>;
8
+ getStatusText(): Promise<string>;
9
+ }
10
+
11
+ declare enum MediaType {
12
+ JSON = "application/json",
13
+ XLSX = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
14
+ PDF = "application/pdf",
15
+ DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
16
+ ZIP = "application/zip",
17
+ REQIFZ = "application/reqifz",
18
+ PNG = "image/png"
19
+ }
20
+ declare class RestClient {
21
+ private readonly serverUrl;
22
+ private readonly apiKey?;
23
+ private readonly clientId?;
24
+ private readonly client_secret?;
25
+ private readonly tokenUrl?;
26
+ private static readonly LEEWAY;
27
+ private expireTime;
28
+ private accessToken;
29
+ constructor(serverUrl: string, apiKey?: string | undefined, clientId?: string | undefined, client_secret?: string | undefined, tokenUrl?: string | undefined);
30
+ buildHeadersForJsonRequest(): Promise<{
31
+ [key: string]: string;
32
+ }>;
33
+ buildHeadersForRequest(): Promise<{
34
+ [key: string]: string;
35
+ }>;
36
+ getToken(): Promise<string>;
37
+ private request;
38
+ get<R>(url: string, params?: any, headers?: {
39
+ [key: string]: string;
40
+ }, data?: any): Promise<RestResponse<R>>;
41
+ post<R>(url: string, params?: any, headers?: {
42
+ [key: string]: string;
43
+ }, data?: any): Promise<RestResponse<R>>;
44
+ delete(url: string, data?: any): Promise<void>;
45
+ patch<R>(url: string, data?: any): Promise<RestResponse<R>>;
46
+ put<R>(url: string, data: any): Promise<RestResponse<R>>;
47
+ toHeader(acceptMimeType: MediaType, contentType?: string): {
48
+ [key: string]: string;
49
+ };
50
+ }
51
+
52
+ export { MediaType, RestClient, RestResponse };
@@ -0,0 +1,52 @@
1
+ import { AxiosResponse } from 'axios';
2
+
3
+ declare class RestResponse<T> {
4
+ private readonly response;
5
+ constructor(response: Promise<AxiosResponse<T>>);
6
+ toModel(): Promise<T>;
7
+ getStatusCode(): Promise<number>;
8
+ getStatusText(): Promise<string>;
9
+ }
10
+
11
+ declare enum MediaType {
12
+ JSON = "application/json",
13
+ XLSX = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
14
+ PDF = "application/pdf",
15
+ DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
16
+ ZIP = "application/zip",
17
+ REQIFZ = "application/reqifz",
18
+ PNG = "image/png"
19
+ }
20
+ declare class RestClient {
21
+ private readonly serverUrl;
22
+ private readonly apiKey?;
23
+ private readonly clientId?;
24
+ private readonly client_secret?;
25
+ private readonly tokenUrl?;
26
+ private static readonly LEEWAY;
27
+ private expireTime;
28
+ private accessToken;
29
+ constructor(serverUrl: string, apiKey?: string | undefined, clientId?: string | undefined, client_secret?: string | undefined, tokenUrl?: string | undefined);
30
+ buildHeadersForJsonRequest(): Promise<{
31
+ [key: string]: string;
32
+ }>;
33
+ buildHeadersForRequest(): Promise<{
34
+ [key: string]: string;
35
+ }>;
36
+ getToken(): Promise<string>;
37
+ private request;
38
+ get<R>(url: string, params?: any, headers?: {
39
+ [key: string]: string;
40
+ }, data?: any): Promise<RestResponse<R>>;
41
+ post<R>(url: string, params?: any, headers?: {
42
+ [key: string]: string;
43
+ }, data?: any): Promise<RestResponse<R>>;
44
+ delete(url: string, data?: any): Promise<void>;
45
+ patch<R>(url: string, data?: any): Promise<RestResponse<R>>;
46
+ put<R>(url: string, data: any): Promise<RestResponse<R>>;
47
+ toHeader(acceptMimeType: MediaType, contentType?: string): {
48
+ [key: string]: string;
49
+ };
50
+ }
51
+
52
+ export { MediaType, RestClient, RestResponse };
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkZ3N63BWG_js=require('../chunk-Z3N63BWG.js');Object.defineProperty(exports,"MediaType",{enumerable:true,get:function(){return chunkZ3N63BWG_js.b}});Object.defineProperty(exports,"RestClient",{enumerable:true,get:function(){return chunkZ3N63BWG_js.c}});Object.defineProperty(exports,"RestResponse",{enumerable:true,get:function(){return chunkZ3N63BWG_js.a}});//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,2 @@
1
+ export{b as MediaType,c as RestClient,a as RestResponse}from'../chunk-DOK44NQJ.mjs';//# sourceMappingURL=index.mjs.map
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
@@ -0,0 +1,311 @@
1
+ import { RestClient } from '../../rest/index.mjs';
2
+ import { C as Configuration, a as ConfigurationUpdate, E as Event, D as DocumentStructure, j as DocumentStructureUpdate, c as DocumentStructureOverview } from '../../eventTypeEnum-B89xECKK.mjs';
3
+ import 'axios';
4
+
5
+ /**
6
+ * @author semantha
7
+ *
8
+ * Class to access resource "/api/structurenavigator/domains/{domainname}/documentstructures/{documentstructureid}/binary"
9
+ * This is a generated file do not change manually!
10
+ */
11
+ declare class BinaryEndpoint {
12
+ private readonly restClient;
13
+ private readonly parentEndpoint;
14
+ private readonly ENDPOINT;
15
+ constructor(restClient: RestClient, parentEndpoint: string);
16
+ /**
17
+ * Returns the input document.
18
+ */
19
+ getAsXlsx(): Promise<Blob>;
20
+ /**
21
+ * Returns the input document.
22
+ */
23
+ getAsDocx(): Promise<Blob>;
24
+ /**
25
+ * Returns the input document.
26
+ */
27
+ getAsPdf(): Promise<Blob>;
28
+ }
29
+
30
+ /**
31
+ * @author semantha
32
+ *
33
+ * Class to access resource "/api/structurenavigator/domains/{domainname}/configurations/{configurationid}"
34
+ * This is a generated file do not change manually!
35
+ */
36
+ declare class ConfigurationEndpoint {
37
+ private readonly restClient;
38
+ private readonly parentEndpoint;
39
+ private readonly configurationid;
40
+ private readonly ENDPOINT;
41
+ constructor(restClient: RestClient, parentEndpoint: string, configurationid: string);
42
+ /**
43
+ * Returns the configuration for the given id.
44
+ */
45
+ get(): Promise<Configuration>;
46
+ /**
47
+ * Delete a given configuration. Needs roles: 'Domain Admin' or 'Expert User'
48
+ */
49
+ delete(): Promise<void>;
50
+ /**
51
+ * Make changes to an existing configuration. Needs roles: 'Domain Admin' or 'Expert User'
52
+ *
53
+ * @param body ConfigurationUpdate -
54
+ */
55
+ patch(body: ConfigurationUpdate): Promise<Configuration>;
56
+ }
57
+
58
+ /**
59
+ * @author semantha
60
+ *
61
+ * Class to access resource "/api/structurenavigator/domains/{domainname}/configurations"
62
+ * This is a generated file do not change manually!
63
+ */
64
+ declare class ConfigurationsEndpoint {
65
+ private readonly restClient;
66
+ private readonly parentEndpoint;
67
+ private readonly ENDPOINT;
68
+ constructor(restClient: RestClient, parentEndpoint: string);
69
+ /**
70
+ * Returns all configurations.
71
+ */
72
+ get(): Promise<Configuration[]>;
73
+ /**
74
+ * Delete all configurations. Needs roles: 'Domain Admin' or 'Expert User'
75
+ */
76
+ delete(): Promise<void>;
77
+ /**
78
+ * Creates a new configuration. Needs roles: 'Domain Admin' or 'Expert User'
79
+ *
80
+ * @param body Configuration? -
81
+ */
82
+ post(body?: Configuration): Promise<Configuration>;
83
+ }
84
+
85
+ /**
86
+ * @author semantha
87
+ *
88
+ * Class to access resource "/api/structurenavigator/domains/{domainname}/documentstructures/{documentstructureid}/events"
89
+ * This is a generated file do not change manually!
90
+ */
91
+ declare class EventsEndpoint {
92
+ private readonly restClient;
93
+ private readonly parentEndpoint;
94
+ private readonly ENDPOINT;
95
+ constructor(restClient: RestClient, parentEndpoint: string);
96
+ /**
97
+ * Returns all events of given document structure
98
+ */
99
+ get(): Promise<Event[]>;
100
+ /**
101
+ * Creates a new event for a document structure.
102
+ *
103
+ * @param body Event? -
104
+ */
105
+ post(body: Event, params?: {
106
+ lasteventid?: string;
107
+ }): Promise<Event>;
108
+ }
109
+
110
+ /**
111
+ * @author semantha
112
+ *
113
+ * Class to access resource "/api/structurenavigator/domains/{domainname}/documentstructures/{documentstructureid}/screenshots"
114
+ * This is a generated file do not change manually!
115
+ */
116
+ declare class ScreenshotsEndpoint {
117
+ private readonly restClient;
118
+ private readonly parentEndpoint;
119
+ private readonly ENDPOINT;
120
+ constructor(restClient: RestClient, parentEndpoint: string);
121
+ /**
122
+ * Returns a 'screenshot' of a page of the given document structure
123
+ *
124
+ * @param page number? - Number of the page to create a screenshot. Zero based
125
+ * @param x number? - X position of the area to screenshot.
126
+ * @param y number? - Y position of the area to screenshot.
127
+ * @param width number? - Width of the area to screenshot.
128
+ * @param height number? - Height of the area to screenshot.
129
+ */
130
+ getAsPng(params?: {
131
+ page?: number;
132
+ x?: number;
133
+ y?: number;
134
+ width?: number;
135
+ height?: number;
136
+ }): Promise<Blob>;
137
+ }
138
+
139
+ /**
140
+ * @author semantha
141
+ *
142
+ * Class to access resource "/api/structurenavigator/domains/{domainname}/documentstructures/{documentstructureid}"
143
+ * This is a generated file do not change manually!
144
+ */
145
+ declare class DocumentstructureEndpoint {
146
+ private readonly restClient;
147
+ private readonly parentEndpoint;
148
+ private readonly documentstructureid;
149
+ private readonly ENDPOINT;
150
+ constructor(restClient: RestClient, parentEndpoint: string, documentstructureid: string);
151
+ binary(): BinaryEndpoint;
152
+ events(): EventsEndpoint;
153
+ screenshots(): ScreenshotsEndpoint;
154
+ /**
155
+ * Returns the document structure for the given id.
156
+ */
157
+ get(): Promise<DocumentStructure>;
158
+ /**
159
+ * Returns the document structure for the given id.
160
+ */
161
+ getAsReqifz(): Promise<Blob>;
162
+ /**
163
+ * Delete a given document structure.
164
+ */
165
+ delete(): Promise<void>;
166
+ /**
167
+ * Make changes to an existing document structure.
168
+ *
169
+ * @param body DocumentStructureUpdate -
170
+ */
171
+ patch(body: DocumentStructureUpdate): Promise<DocumentStructureOverview>;
172
+ }
173
+
174
+ /**
175
+ * @author semantha
176
+ *
177
+ * Class to access resource "/api/structurenavigator/domains/{domainname}/documentstructures"
178
+ * This is a generated file do not change manually!
179
+ */
180
+ declare class DocumentstructuresEndpoint {
181
+ private readonly restClient;
182
+ private readonly parentEndpoint;
183
+ private readonly ENDPOINT;
184
+ constructor(restClient: RestClient, parentEndpoint: string);
185
+ /**
186
+ * Returns an overview of all available document structures.
187
+ *
188
+ * @param customfield string? -
189
+ * @param customfieldvalues string? -
190
+ */
191
+ get(params?: {
192
+ customfield?: string;
193
+ customfieldvalues?: string;
194
+ }): Promise<DocumentStructureOverview[]>;
195
+ /**
196
+ * Delete all document structures. Needs role: 'Domain Admin'
197
+ */
198
+ delete(): Promise<void>;
199
+ /**
200
+ * Creates a new document structure.
201
+ *
202
+ * @param file Blob? -
203
+ * @param name string? -
204
+ * @param publicaccess boolean? -
205
+ * @param configurationid string? -
206
+ */
207
+ post(data: {
208
+ file?: Blob;
209
+ name?: string;
210
+ publicaccess?: boolean;
211
+ configurationid?: string;
212
+ }): Promise<DocumentStructureOverview>;
213
+ }
214
+
215
+ /**
216
+ * @author semantha
217
+ *
218
+ * Class to access resource "/api/structurenavigator/domains/{domainname}"
219
+ * This is a generated file do not change manually!
220
+ */
221
+ declare class DomainEndpoint {
222
+ private readonly restClient;
223
+ private readonly parentEndpoint;
224
+ private readonly domainname;
225
+ private readonly ENDPOINT;
226
+ constructor(restClient: RestClient, parentEndpoint: string, domainname: string);
227
+ configurations(): ConfigurationsEndpoint;
228
+ configurations(configurationid: string): ConfigurationEndpoint;
229
+ documentstructures(): DocumentstructuresEndpoint;
230
+ documentstructures(documentstructureid: string): DocumentstructureEndpoint;
231
+ }
232
+
233
+ /**
234
+ * @author semantha
235
+ *
236
+ * Class to access resource "/api/structurenavigator/domains"
237
+ * This is a generated file do not change manually!
238
+ */
239
+ declare class DomainsEndpoint {
240
+ private readonly restClient;
241
+ private readonly parentEndpoint;
242
+ private readonly ENDPOINT;
243
+ constructor(restClient: RestClient, parentEndpoint: string);
244
+ }
245
+
246
+ /**
247
+ * @author semantha
248
+ *
249
+ * Class to access resource "/api/structurenavigator"
250
+ * This is a generated file do not change manually!
251
+ */
252
+ declare class StructurenavigatorEndpoint {
253
+ private readonly restClient;
254
+ private readonly parentEndpoint;
255
+ private readonly ENDPOINT;
256
+ constructor(restClient: RestClient, parentEndpoint: string);
257
+ domains(): DomainsEndpoint;
258
+ domains(domainname: string): DomainEndpoint;
259
+ }
260
+
261
+ /**
262
+ * Entry point to the StructureNavigator API.
263
+ *
264
+ * @author semantha
265
+ * Calls the /structurenavigator, endpoints.
266
+ *
267
+ * Note:
268
+ * The constructor is not meant to be invoked directly
269
+ * use `loginXXX()` with your credentials instead.
270
+ *
271
+ * this is a generated class do not change manually!
272
+ */
273
+ declare class StructureNavigatorAPI {
274
+ private readonly restClient;
275
+ private readonly parentEndpoint;
276
+ constructor(restClient: RestClient, parentEndpoint: string);
277
+ /**
278
+ * Access to the StructureNavigator API
279
+ *
280
+ * @param serverUrl: string - URL to the StructureNavigator server.
281
+ * @param apiKey: string - A valid bearer token for accessing the given url.
282
+ *
283
+ * @return StructureNavigatorAPI: Entry point to the StructureNavigator API.
284
+ */
285
+ static loginWithApiKey(serverUrl: string, apiKey: string): StructureNavigatorAPI;
286
+ /**
287
+ * Access to the StructureNavigator API
288
+ *
289
+ * @param serverUrl: string - URL to the StructureNavigator server.
290
+ * @param clientId: string - OAuth2 client id.
291
+ * @param clientSecret: string - OAuth2 client secret.
292
+ * @param tokenUrl: string OAuth2 url to get a valid access token
293
+ *
294
+ * @return StructureNavigatorAPI: Entry point to the StructureNavigator API.
295
+ */
296
+ static loginWithCredentials(serverUrl: string, clientId: string, clientSecret: string, tokenUrl: string): StructureNavigatorAPI;
297
+ /**
298
+ * Access to the StructureNavigator API
299
+ *
300
+ * @param credentialsFilePath: string - Path to a properties file providing client credentials.
301
+ *
302
+ * @return StructureNavigatorAPI: Entry point to the StructureNavigator API.
303
+ */
304
+ static loginWithCredentialsFile(credentialsFilePath: string): StructureNavigatorAPI;
305
+ private static parseServerUrl;
306
+ private static getValueOfInPropertiesFile;
307
+ endpoint(): string;
308
+ structurenavigator(): StructurenavigatorEndpoint;
309
+ }
310
+
311
+ export { BinaryEndpoint, ConfigurationEndpoint, ConfigurationsEndpoint, DocumentstructureEndpoint, DocumentstructuresEndpoint, DomainEndpoint, DomainsEndpoint, EventsEndpoint, ScreenshotsEndpoint, StructureNavigatorAPI, StructurenavigatorEndpoint };