@sap-ai-sdk/document-grounding 1.4.1-20241213113708.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.
Files changed (229) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +119 -0
  3. package/dist/client/api/collections-api.d.ts +67 -0
  4. package/dist/client/api/collections-api.d.ts.map +1 -0
  5. package/dist/client/api/collections-api.js +73 -0
  6. package/dist/client/api/collections-api.js.map +1 -0
  7. package/dist/client/api/documents-api.d.ts +63 -0
  8. package/dist/client/api/documents-api.d.ts.map +1 -0
  9. package/dist/client/api/documents-api.js +71 -0
  10. package/dist/client/api/documents-api.js.map +1 -0
  11. package/dist/client/api/index.d.ts +8 -0
  12. package/dist/client/api/index.d.ts.map +1 -0
  13. package/dist/client/api/index.js +13 -0
  14. package/dist/client/api/index.js.map +1 -0
  15. package/dist/client/api/pipelines-api.d.ts +58 -0
  16. package/dist/client/api/pipelines-api.d.ts.map +1 -0
  17. package/dist/client/api/pipelines-api.js +63 -0
  18. package/dist/client/api/pipelines-api.js.map +1 -0
  19. package/dist/client/api/retrieval-data-repository-api.d.ts +31 -0
  20. package/dist/client/api/retrieval-data-repository-api.d.ts.map +1 -0
  21. package/dist/client/api/retrieval-data-repository-api.js +33 -0
  22. package/dist/client/api/retrieval-data-repository-api.js.map +1 -0
  23. package/dist/client/api/retrieval-federated-search-across-data-repositories-api.d.ts +18 -0
  24. package/dist/client/api/retrieval-federated-search-across-data-repositories-api.d.ts.map +1 -0
  25. package/dist/client/api/retrieval-federated-search-across-data-repositories-api.js +23 -0
  26. package/dist/client/api/retrieval-federated-search-across-data-repositories-api.js.map +1 -0
  27. package/dist/client/api/schema/api-error.d.ts +24 -0
  28. package/dist/client/api/schema/api-error.d.ts.map +1 -0
  29. package/dist/client/api/schema/api-error.js +2 -0
  30. package/dist/client/api/schema/api-error.js.map +1 -0
  31. package/dist/client/api/schema/base-document.d.ts +10 -0
  32. package/dist/client/api/schema/base-document.d.ts.map +1 -0
  33. package/dist/client/api/schema/base-document.js +2 -0
  34. package/dist/client/api/schema/base-document.js.map +1 -0
  35. package/dist/client/api/schema/chunk.d.ts +13 -0
  36. package/dist/client/api/schema/chunk.d.ts.map +1 -0
  37. package/dist/client/api/schema/chunk.js +2 -0
  38. package/dist/client/api/schema/chunk.js.map +1 -0
  39. package/dist/client/api/schema/collection-created-response.d.ts +8 -0
  40. package/dist/client/api/schema/collection-created-response.d.ts.map +1 -0
  41. package/dist/client/api/schema/collection-created-response.js +7 -0
  42. package/dist/client/api/schema/collection-created-response.js.map +1 -0
  43. package/dist/client/api/schema/collection-deleted-response.d.ts +8 -0
  44. package/dist/client/api/schema/collection-deleted-response.d.ts.map +1 -0
  45. package/dist/client/api/schema/collection-deleted-response.js +7 -0
  46. package/dist/client/api/schema/collection-deleted-response.js.map +1 -0
  47. package/dist/client/api/schema/collection-pending-response.d.ts +11 -0
  48. package/dist/client/api/schema/collection-pending-response.d.ts.map +1 -0
  49. package/dist/client/api/schema/collection-pending-response.js +7 -0
  50. package/dist/client/api/schema/collection-pending-response.js.map +1 -0
  51. package/dist/client/api/schema/collection-request.d.ts +15 -0
  52. package/dist/client/api/schema/collection-request.d.ts.map +1 -0
  53. package/dist/client/api/schema/collection-request.js +2 -0
  54. package/dist/client/api/schema/collection-request.js.map +1 -0
  55. package/dist/client/api/schema/collection.d.ts +20 -0
  56. package/dist/client/api/schema/collection.d.ts.map +1 -0
  57. package/dist/client/api/schema/collection.js +2 -0
  58. package/dist/client/api/schema/collection.js.map +1 -0
  59. package/dist/client/api/schema/collections-list-response.d.ts +9 -0
  60. package/dist/client/api/schema/collections-list-response.d.ts.map +1 -0
  61. package/dist/client/api/schema/collections-list-response.js +2 -0
  62. package/dist/client/api/schema/collections-list-response.js.map +1 -0
  63. package/dist/client/api/schema/data-repositories.d.ts +9 -0
  64. package/dist/client/api/schema/data-repositories.d.ts.map +1 -0
  65. package/dist/client/api/schema/data-repositories.js +2 -0
  66. package/dist/client/api/schema/data-repositories.js.map +1 -0
  67. package/dist/client/api/schema/data-repository-type.d.ts +5 -0
  68. package/dist/client/api/schema/data-repository-type.d.ts.map +1 -0
  69. package/dist/client/api/schema/data-repository-type.js +7 -0
  70. package/dist/client/api/schema/data-repository-type.js.map +1 -0
  71. package/dist/client/api/schema/data-repository-with-documents.d.ts +19 -0
  72. package/dist/client/api/schema/data-repository-with-documents.d.ts.map +1 -0
  73. package/dist/client/api/schema/data-repository-with-documents.js +2 -0
  74. package/dist/client/api/schema/data-repository-with-documents.js.map +1 -0
  75. package/dist/client/api/schema/data-repository.d.ts +20 -0
  76. package/dist/client/api/schema/data-repository.d.ts.map +1 -0
  77. package/dist/client/api/schema/data-repository.js +2 -0
  78. package/dist/client/api/schema/data-repository.js.map +1 -0
  79. package/dist/client/api/schema/details-error-response.d.ts +14 -0
  80. package/dist/client/api/schema/details-error-response.d.ts.map +1 -0
  81. package/dist/client/api/schema/details-error-response.js +7 -0
  82. package/dist/client/api/schema/details-error-response.js.map +1 -0
  83. package/dist/client/api/schema/document-create-request.d.ts +8 -0
  84. package/dist/client/api/schema/document-create-request.d.ts.map +1 -0
  85. package/dist/client/api/schema/document-create-request.js +2 -0
  86. package/dist/client/api/schema/document-create-request.js.map +1 -0
  87. package/dist/client/api/schema/document-input.d.ts +15 -0
  88. package/dist/client/api/schema/document-input.d.ts.map +1 -0
  89. package/dist/client/api/schema/document-input.js +2 -0
  90. package/dist/client/api/schema/document-input.js.map +1 -0
  91. package/dist/client/api/schema/document-key-value-list-pair.d.ts +16 -0
  92. package/dist/client/api/schema/document-key-value-list-pair.d.ts.map +1 -0
  93. package/dist/client/api/schema/document-key-value-list-pair.js +7 -0
  94. package/dist/client/api/schema/document-key-value-list-pair.js.map +1 -0
  95. package/dist/client/api/schema/document-output.d.ts +17 -0
  96. package/dist/client/api/schema/document-output.d.ts.map +1 -0
  97. package/dist/client/api/schema/document-output.js +2 -0
  98. package/dist/client/api/schema/document-output.js.map +1 -0
  99. package/dist/client/api/schema/document-response.d.ts +15 -0
  100. package/dist/client/api/schema/document-response.d.ts.map +1 -0
  101. package/dist/client/api/schema/document-response.js +2 -0
  102. package/dist/client/api/schema/document-response.js.map +1 -0
  103. package/dist/client/api/schema/document-update-request.d.ts +8 -0
  104. package/dist/client/api/schema/document-update-request.d.ts.map +1 -0
  105. package/dist/client/api/schema/document-update-request.js +2 -0
  106. package/dist/client/api/schema/document-update-request.js.map +1 -0
  107. package/dist/client/api/schema/document-without-chunks.d.ts +13 -0
  108. package/dist/client/api/schema/document-without-chunks.d.ts.map +1 -0
  109. package/dist/client/api/schema/document-without-chunks.js +2 -0
  110. package/dist/client/api/schema/document-without-chunks.js.map +1 -0
  111. package/dist/client/api/schema/documents-chunk.d.ts +18 -0
  112. package/dist/client/api/schema/documents-chunk.d.ts.map +1 -0
  113. package/dist/client/api/schema/documents-chunk.js +2 -0
  114. package/dist/client/api/schema/documents-chunk.js.map +1 -0
  115. package/dist/client/api/schema/documents-list-response.d.ts +8 -0
  116. package/dist/client/api/schema/documents-list-response.d.ts.map +1 -0
  117. package/dist/client/api/schema/documents-list-response.js +2 -0
  118. package/dist/client/api/schema/documents-list-response.js.map +1 -0
  119. package/dist/client/api/schema/documents.d.ts +9 -0
  120. package/dist/client/api/schema/documents.d.ts.map +1 -0
  121. package/dist/client/api/schema/documents.js +2 -0
  122. package/dist/client/api/schema/documents.js.map +1 -0
  123. package/dist/client/api/schema/embedding-config.d.ts +11 -0
  124. package/dist/client/api/schema/embedding-config.d.ts.map +1 -0
  125. package/dist/client/api/schema/embedding-config.js +7 -0
  126. package/dist/client/api/schema/embedding-config.js.map +1 -0
  127. package/dist/client/api/schema/index.d.ts +47 -0
  128. package/dist/client/api/schema/index.d.ts.map +1 -0
  129. package/dist/client/api/schema/index.js +52 -0
  130. package/dist/client/api/schema/index.js.map +1 -0
  131. package/dist/client/api/schema/key-value-list-pair.d.ts +11 -0
  132. package/dist/client/api/schema/key-value-list-pair.d.ts.map +1 -0
  133. package/dist/client/api/schema/key-value-list-pair.js +7 -0
  134. package/dist/client/api/schema/key-value-list-pair.js.map +1 -0
  135. package/dist/client/api/schema/per-filter-search-result.d.ts +9 -0
  136. package/dist/client/api/schema/per-filter-search-result.d.ts.map +1 -0
  137. package/dist/client/api/schema/per-filter-search-result.js +2 -0
  138. package/dist/client/api/schema/per-filter-search-result.js.map +1 -0
  139. package/dist/client/api/schema/pipeline-id.d.ts +10 -0
  140. package/dist/client/api/schema/pipeline-id.d.ts.map +1 -0
  141. package/dist/client/api/schema/pipeline-id.js +7 -0
  142. package/dist/client/api/schema/pipeline-id.js.map +1 -0
  143. package/dist/client/api/schema/pipeline-post-requst.d.ts +31 -0
  144. package/dist/client/api/schema/pipeline-post-requst.d.ts.map +1 -0
  145. package/dist/client/api/schema/pipeline-post-requst.js +7 -0
  146. package/dist/client/api/schema/pipeline-post-requst.js.map +1 -0
  147. package/dist/client/api/schema/pipeline-status.d.ts +11 -0
  148. package/dist/client/api/schema/pipeline-status.d.ts.map +1 -0
  149. package/dist/client/api/schema/pipeline-status.js +7 -0
  150. package/dist/client/api/schema/pipeline-status.js.map +1 -0
  151. package/dist/client/api/schema/pipeline.d.ts +39 -0
  152. package/dist/client/api/schema/pipeline.d.ts.map +1 -0
  153. package/dist/client/api/schema/pipeline.js +7 -0
  154. package/dist/client/api/schema/pipeline.js.map +1 -0
  155. package/dist/client/api/schema/pipelines.d.ts +9 -0
  156. package/dist/client/api/schema/pipelines.d.ts.map +1 -0
  157. package/dist/client/api/schema/pipelines.js +2 -0
  158. package/dist/client/api/schema/pipelines.js.map +1 -0
  159. package/dist/client/api/schema/retieval-data-repository-search-result.d.ts +8 -0
  160. package/dist/client/api/schema/retieval-data-repository-search-result.d.ts.map +1 -0
  161. package/dist/client/api/schema/retieval-data-repository-search-result.js +2 -0
  162. package/dist/client/api/schema/retieval-data-repository-search-result.js.map +1 -0
  163. package/dist/client/api/schema/retieval-per-filter-search-result-with-error.d.ts +7 -0
  164. package/dist/client/api/schema/retieval-per-filter-search-result-with-error.d.ts.map +1 -0
  165. package/dist/client/api/schema/retieval-per-filter-search-result-with-error.js +7 -0
  166. package/dist/client/api/schema/retieval-per-filter-search-result-with-error.js.map +1 -0
  167. package/dist/client/api/schema/retieval-per-filter-search-result.d.ts +13 -0
  168. package/dist/client/api/schema/retieval-per-filter-search-result.d.ts.map +1 -0
  169. package/dist/client/api/schema/retieval-per-filter-search-result.js +2 -0
  170. package/dist/client/api/schema/retieval-per-filter-search-result.js.map +1 -0
  171. package/dist/client/api/schema/retieval-search-results.d.ts +12 -0
  172. package/dist/client/api/schema/retieval-search-results.d.ts.map +1 -0
  173. package/dist/client/api/schema/retieval-search-results.js +2 -0
  174. package/dist/client/api/schema/retieval-search-results.js.map +1 -0
  175. package/dist/client/api/schema/retrieval-document.d.ts +14 -0
  176. package/dist/client/api/schema/retrieval-document.d.ts.map +1 -0
  177. package/dist/client/api/schema/retrieval-document.js +2 -0
  178. package/dist/client/api/schema/retrieval-document.js.map +1 -0
  179. package/dist/client/api/schema/retrieval-search-filter.d.ts +38 -0
  180. package/dist/client/api/schema/retrieval-search-filter.d.ts.map +1 -0
  181. package/dist/client/api/schema/retrieval-search-filter.js +2 -0
  182. package/dist/client/api/schema/retrieval-search-filter.js.map +1 -0
  183. package/dist/client/api/schema/retrieval-search-input.d.ts +13 -0
  184. package/dist/client/api/schema/retrieval-search-input.d.ts.map +1 -0
  185. package/dist/client/api/schema/retrieval-search-input.js +2 -0
  186. package/dist/client/api/schema/retrieval-search-input.js.map +1 -0
  187. package/dist/client/api/schema/search-configuration.d.ts +14 -0
  188. package/dist/client/api/schema/search-configuration.d.ts.map +1 -0
  189. package/dist/client/api/schema/search-configuration.js +7 -0
  190. package/dist/client/api/schema/search-configuration.js.map +1 -0
  191. package/dist/client/api/schema/search-document-key-value-list-pair.d.ts +16 -0
  192. package/dist/client/api/schema/search-document-key-value-list-pair.d.ts.map +1 -0
  193. package/dist/client/api/schema/search-document-key-value-list-pair.js +2 -0
  194. package/dist/client/api/schema/search-document-key-value-list-pair.js.map +1 -0
  195. package/dist/client/api/schema/search-filter.d.ts +33 -0
  196. package/dist/client/api/schema/search-filter.d.ts.map +1 -0
  197. package/dist/client/api/schema/search-filter.js +2 -0
  198. package/dist/client/api/schema/search-filter.js.map +1 -0
  199. package/dist/client/api/schema/search-results.d.ts +11 -0
  200. package/dist/client/api/schema/search-results.d.ts.map +1 -0
  201. package/dist/client/api/schema/search-results.js +2 -0
  202. package/dist/client/api/schema/search-results.js.map +1 -0
  203. package/dist/client/api/schema/search-select-option-enum.d.ts +6 -0
  204. package/dist/client/api/schema/search-select-option-enum.d.ts.map +1 -0
  205. package/dist/client/api/schema/search-select-option-enum.js +7 -0
  206. package/dist/client/api/schema/search-select-option-enum.js.map +1 -0
  207. package/dist/client/api/schema/text-only-base-chunk.d.ts +9 -0
  208. package/dist/client/api/schema/text-only-base-chunk.d.ts.map +1 -0
  209. package/dist/client/api/schema/text-only-base-chunk.js +2 -0
  210. package/dist/client/api/schema/text-only-base-chunk.js.map +1 -0
  211. package/dist/client/api/schema/text-search-request.d.ts +14 -0
  212. package/dist/client/api/schema/text-search-request.d.ts.map +1 -0
  213. package/dist/client/api/schema/text-search-request.js +2 -0
  214. package/dist/client/api/schema/text-search-request.js.map +1 -0
  215. package/dist/client/api/search-api.d.ts +18 -0
  216. package/dist/client/api/search-api.d.ts.map +1 -0
  217. package/dist/client/api/search-api.js +23 -0
  218. package/dist/client/api/search-api.js.map +1 -0
  219. package/dist/index.d.ts +2 -0
  220. package/dist/index.d.ts.map +1 -0
  221. package/dist/index.js +2 -0
  222. package/dist/index.js.map +1 -0
  223. package/dist/internal.d.ts +2 -0
  224. package/dist/internal.d.ts.map +1 -0
  225. package/dist/internal.js +2 -0
  226. package/dist/internal.js.map +1 -0
  227. package/internal.d.ts +3 -0
  228. package/internal.js +2 -0
  229. package/package.json +34 -0
@@ -0,0 +1,58 @@
1
+ import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
2
+ import type { Pipelines, PipelinePostRequst, PipelineId, Pipeline, PipelineStatus } from './schema/index.js';
3
+ /**
4
+ * Representation of the 'PipelinesApi'.
5
+ * This API is part of the 'api' service.
6
+ */
7
+ export declare const PipelinesApi: {
8
+ /**
9
+ * Get all pipelines
10
+ * @param queryParameters - Object containing the following keys: $top, $skip, $count.
11
+ * @param headerParameters - Object containing the following keys: AI-Resource-Group.
12
+ * @returns The request builder, use the `execute()` method to trigger the request.
13
+ */
14
+ pipelineV1PipelineEndpointsGetAllPipeline: (queryParameters: {
15
+ $top?: number;
16
+ $skip?: number;
17
+ $count?: boolean;
18
+ }, headerParameters: {
19
+ "AI-Resource-Group": string;
20
+ }) => OpenApiRequestBuilder<Pipelines>;
21
+ /**
22
+ * Create a pipeline
23
+ * @param body - Request body.
24
+ * @param headerParameters - Object containing the following keys: AI-Resource-Group.
25
+ * @returns The request builder, use the `execute()` method to trigger the request.
26
+ */
27
+ pipelineV1PipelineEndpointsCreatePipeline: (body: PipelinePostRequst, headerParameters: {
28
+ "AI-Resource-Group": string;
29
+ }) => OpenApiRequestBuilder<PipelineId>;
30
+ /**
31
+ * Get details of a pipeline by pipeline id
32
+ * @param pipelineId - The ID of the pipeline to get.
33
+ * @param headerParameters - Object containing the following keys: AI-Resource-Group.
34
+ * @returns The request builder, use the `execute()` method to trigger the request.
35
+ */
36
+ pipelineV1PipelineEndpointsGetPipelineById: (pipelineId: string, headerParameters: {
37
+ "AI-Resource-Group": string;
38
+ }) => OpenApiRequestBuilder<Pipeline>;
39
+ /**
40
+ * Delete a pipeline by pipeline id
41
+ * @param pipelineId - The ID of the pipeline to delete.
42
+ * @param headerParameters - Object containing the following keys: AI-Resource-Group.
43
+ * @returns The request builder, use the `execute()` method to trigger the request.
44
+ */
45
+ pipelineV1PipelineEndpointsDeletePipelineById: (pipelineId: string, headerParameters: {
46
+ "AI-Resource-Group": string;
47
+ }) => OpenApiRequestBuilder<any>;
48
+ /**
49
+ * Get pipeline status by pipeline id
50
+ * @param pipelineId - The ID of the pipeline to get status.
51
+ * @param headerParameters - Object containing the following keys: AI-Resource-Group.
52
+ * @returns The request builder, use the `execute()` method to trigger the request.
53
+ */
54
+ pipelineV1PipelineEndpointsGetPipelineStatus: (pipelineId: string, headerParameters: {
55
+ "AI-Resource-Group": string;
56
+ }) => OpenApiRequestBuilder<PipelineStatus>;
57
+ };
58
+ //# sourceMappingURL=pipelines-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipelines-api.d.ts","sourceRoot":"","sources":["../../../src/client/api/pipelines-api.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EACV,SAAS,EACT,kBAAkB,EAClB,UAAU,EACV,QAAQ,EACR,cAAc,EACf,MAAM,mBAAmB,CAAC;AAC3B;;;GAGG;AACH,eAAO,MAAM,YAAY;IACvB;;;;;OAKG;iEAEgB;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,oBAClD;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAUnD;;;;;OAKG;sDAEK,kBAAkB,oBACN;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAUnD;;;;;OAKG;6DAEW,MAAM,oBACA;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAUnD;;;;;OAKG;gEAEW,MAAM,oBACA;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAUnD;;;;;OAKG;+DAEW,MAAM,oBACA;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;CAUpD,CAAC"}
@@ -0,0 +1,63 @@
1
+ /*
2
+ * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
6
+ import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
7
+ /**
8
+ * Representation of the 'PipelinesApi'.
9
+ * This API is part of the 'api' service.
10
+ */
11
+ export const PipelinesApi = {
12
+ /**
13
+ * Get all pipelines
14
+ * @param queryParameters - Object containing the following keys: $top, $skip, $count.
15
+ * @param headerParameters - Object containing the following keys: AI-Resource-Group.
16
+ * @returns The request builder, use the `execute()` method to trigger the request.
17
+ */
18
+ pipelineV1PipelineEndpointsGetAllPipeline: (queryParameters, headerParameters) => new OpenApiRequestBuilder('get', '/lm/document-grounding/pipelines', {
19
+ queryParameters,
20
+ headerParameters
21
+ }),
22
+ /**
23
+ * Create a pipeline
24
+ * @param body - Request body.
25
+ * @param headerParameters - Object containing the following keys: AI-Resource-Group.
26
+ * @returns The request builder, use the `execute()` method to trigger the request.
27
+ */
28
+ pipelineV1PipelineEndpointsCreatePipeline: (body, headerParameters) => new OpenApiRequestBuilder('post', '/lm/document-grounding/pipelines', {
29
+ body,
30
+ headerParameters
31
+ }),
32
+ /**
33
+ * Get details of a pipeline by pipeline id
34
+ * @param pipelineId - The ID of the pipeline to get.
35
+ * @param headerParameters - Object containing the following keys: AI-Resource-Group.
36
+ * @returns The request builder, use the `execute()` method to trigger the request.
37
+ */
38
+ pipelineV1PipelineEndpointsGetPipelineById: (pipelineId, headerParameters) => new OpenApiRequestBuilder('get', '/lm/document-grounding/pipelines/{pipelineId}', {
39
+ pathParameters: { pipelineId },
40
+ headerParameters
41
+ }),
42
+ /**
43
+ * Delete a pipeline by pipeline id
44
+ * @param pipelineId - The ID of the pipeline to delete.
45
+ * @param headerParameters - Object containing the following keys: AI-Resource-Group.
46
+ * @returns The request builder, use the `execute()` method to trigger the request.
47
+ */
48
+ pipelineV1PipelineEndpointsDeletePipelineById: (pipelineId, headerParameters) => new OpenApiRequestBuilder('delete', '/lm/document-grounding/pipelines/{pipelineId}', {
49
+ pathParameters: { pipelineId },
50
+ headerParameters
51
+ }),
52
+ /**
53
+ * Get pipeline status by pipeline id
54
+ * @param pipelineId - The ID of the pipeline to get status.
55
+ * @param headerParameters - Object containing the following keys: AI-Resource-Group.
56
+ * @returns The request builder, use the `execute()` method to trigger the request.
57
+ */
58
+ pipelineV1PipelineEndpointsGetPipelineStatus: (pipelineId, headerParameters) => new OpenApiRequestBuilder('get', '/lm/document-grounding/pipelines/{pipelineId}/status', {
59
+ pathParameters: { pipelineId },
60
+ headerParameters
61
+ })
62
+ };
63
+ //# sourceMappingURL=pipelines-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipelines-api.js","sourceRoot":"","sources":["../../../src/client/api/pipelines-api.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAQzD;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B;;;;;OAKG;IACH,yCAAyC,EAAE,CACzC,eAAoE,EACpE,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,KAAK,EACL,kCAAkC,EAClC;QACE,eAAe;QACf,gBAAgB;KACjB,CACF;IACH;;;;;OAKG;IACH,yCAAyC,EAAE,CACzC,IAAwB,EACxB,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,MAAM,EACN,kCAAkC,EAClC;QACE,IAAI;QACJ,gBAAgB;KACjB,CACF;IACH;;;;;OAKG;IACH,0CAA0C,EAAE,CAC1C,UAAkB,EAClB,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,KAAK,EACL,+CAA+C,EAC/C;QACE,cAAc,EAAE,EAAE,UAAU,EAAE;QAC9B,gBAAgB;KACjB,CACF;IACH;;;;;OAKG;IACH,6CAA6C,EAAE,CAC7C,UAAkB,EAClB,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,QAAQ,EACR,+CAA+C,EAC/C;QACE,cAAc,EAAE,EAAE,UAAU,EAAE;QAC9B,gBAAgB;KACjB,CACF;IACH;;;;;OAKG;IACH,4CAA4C,EAAE,CAC5C,UAAkB,EAClB,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,KAAK,EACL,sDAAsD,EACtD;QACE,cAAc,EAAE,EAAE,UAAU,EAAE;QAC9B,gBAAgB;KACjB,CACF;CACJ,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
2
+ import type { DataRepositories, DataRepository } from './schema/index.js';
3
+ /**
4
+ * Representation of the 'RetrievalDataRepositoryApi'.
5
+ * This API is part of the 'api' service.
6
+ */
7
+ export declare const RetrievalDataRepositoryApi: {
8
+ /**
9
+ * List all DataRepository objects.
10
+ * @param queryParameters - Object containing the following keys: $top, $skip, $count.
11
+ * @param headerParameters - Object containing the following keys: AI-Resource-Group.
12
+ * @returns The request builder, use the `execute()` method to trigger the request.
13
+ */
14
+ retrievalV1RetrievalEndpointsGetDataRepositories: (queryParameters: {
15
+ $top?: number;
16
+ $skip?: number;
17
+ $count?: boolean;
18
+ }, headerParameters: {
19
+ "AI-Resource-Group": string;
20
+ }) => OpenApiRequestBuilder<DataRepositories>;
21
+ /**
22
+ * List single DataRepository object.
23
+ * @param repositoryId - Path parameter.
24
+ * @param headerParameters - Object containing the following keys: AI-Resource-Group.
25
+ * @returns The request builder, use the `execute()` method to trigger the request.
26
+ */
27
+ retrievalV1RetrievalEndpointsGetDataRepository: (repositoryId: string, headerParameters: {
28
+ "AI-Resource-Group": string;
29
+ }) => OpenApiRequestBuilder<DataRepository>;
30
+ };
31
+ //# sourceMappingURL=retrieval-data-repository-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieval-data-repository-api.d.ts","sourceRoot":"","sources":["../../../src/client/api/retrieval-data-repository-api.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC1E;;;GAGG;AACH,eAAO,MAAM,0BAA0B;IACrC;;;;;OAKG;wEAEgB;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,oBAClD;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAUnD;;;;;OAKG;mEAEa,MAAM,oBACF;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;CAUpD,CAAC"}
@@ -0,0 +1,33 @@
1
+ /*
2
+ * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
6
+ import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
7
+ /**
8
+ * Representation of the 'RetrievalDataRepositoryApi'.
9
+ * This API is part of the 'api' service.
10
+ */
11
+ export const RetrievalDataRepositoryApi = {
12
+ /**
13
+ * List all DataRepository objects.
14
+ * @param queryParameters - Object containing the following keys: $top, $skip, $count.
15
+ * @param headerParameters - Object containing the following keys: AI-Resource-Group.
16
+ * @returns The request builder, use the `execute()` method to trigger the request.
17
+ */
18
+ retrievalV1RetrievalEndpointsGetDataRepositories: (queryParameters, headerParameters) => new OpenApiRequestBuilder('get', '/lm/document-grounding/retrieval/dataRepositories', {
19
+ queryParameters,
20
+ headerParameters
21
+ }),
22
+ /**
23
+ * List single DataRepository object.
24
+ * @param repositoryId - Path parameter.
25
+ * @param headerParameters - Object containing the following keys: AI-Resource-Group.
26
+ * @returns The request builder, use the `execute()` method to trigger the request.
27
+ */
28
+ retrievalV1RetrievalEndpointsGetDataRepository: (repositoryId, headerParameters) => new OpenApiRequestBuilder('get', '/lm/document-grounding/retrieval/dataRepositories/{repositoryId}', {
29
+ pathParameters: { repositoryId },
30
+ headerParameters
31
+ })
32
+ };
33
+ //# sourceMappingURL=retrieval-data-repository-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieval-data-repository-api.js","sourceRoot":"","sources":["../../../src/client/api/retrieval-data-repository-api.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC;;;;;OAKG;IACH,gDAAgD,EAAE,CAChD,eAAoE,EACpE,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,KAAK,EACL,mDAAmD,EACnD;QACE,eAAe;QACf,gBAAgB;KACjB,CACF;IACH;;;;;OAKG;IACH,8CAA8C,EAAE,CAC9C,YAAoB,EACpB,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,KAAK,EACL,kEAAkE,EAClE;QACE,cAAc,EAAE,EAAE,YAAY,EAAE;QAChC,gBAAgB;KACjB,CACF;CACJ,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
2
+ import type { RetrievalSearchInput, RetievalSearchResults } from './schema/index.js';
3
+ /**
4
+ * Representation of the 'RetrievalFederatedSearchAcrossDataRepositoriesApi'.
5
+ * This API is part of the 'api' service.
6
+ */
7
+ export declare const RetrievalFederatedSearchAcrossDataRepositoriesApi: {
8
+ /**
9
+ * Retrieve relevant content given a query string.
10
+ * @param body - Request body.
11
+ * @param headerParameters - Object containing the following keys: AI-Resource-Group.
12
+ * @returns The request builder, use the `execute()` method to trigger the request.
13
+ */
14
+ retrievalV1RetrievalEndpointsSearchDataRepositories: (body: RetrievalSearchInput, headerParameters: {
15
+ "AI-Resource-Group": string;
16
+ }) => OpenApiRequestBuilder<RetievalSearchResults>;
17
+ };
18
+ //# sourceMappingURL=retrieval-federated-search-across-data-repositories-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieval-federated-search-across-data-repositories-api.d.ts","sourceRoot":"","sources":["../../../src/client/api/retrieval-federated-search-across-data-repositories-api.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EACV,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAC3B;;;GAGG;AACH,eAAO,MAAM,iDAAiD;IAC5D;;;;;OAKG;gEAEK,oBAAoB,oBACR;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;CAUpD,CAAC"}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
6
+ import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
7
+ /**
8
+ * Representation of the 'RetrievalFederatedSearchAcrossDataRepositoriesApi'.
9
+ * This API is part of the 'api' service.
10
+ */
11
+ export const RetrievalFederatedSearchAcrossDataRepositoriesApi = {
12
+ /**
13
+ * Retrieve relevant content given a query string.
14
+ * @param body - Request body.
15
+ * @param headerParameters - Object containing the following keys: AI-Resource-Group.
16
+ * @returns The request builder, use the `execute()` method to trigger the request.
17
+ */
18
+ retrievalV1RetrievalEndpointsSearchDataRepositories: (body, headerParameters) => new OpenApiRequestBuilder('post', '/lm/document-grounding/retrieval/search', {
19
+ body,
20
+ headerParameters
21
+ })
22
+ };
23
+ //# sourceMappingURL=retrieval-federated-search-across-data-repositories-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieval-federated-search-across-data-repositories-api.js","sourceRoot":"","sources":["../../../src/client/api/retrieval-federated-search-across-data-repositories-api.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAKzD;;;GAGG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAG;IAC/D;;;;;OAKG;IACH,mDAAmD,EAAE,CACnD,IAA0B,EAC1B,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,MAAM,EACN,yCAAyC,EACzC;QACE,IAAI;QACJ,gBAAgB;KACjB,CACF;CACJ,CAAC"}
@@ -0,0 +1,24 @@
1
+ import type { DetailsErrorResponse } from './details-error-response.js';
2
+ /**
3
+ * Representation of the 'ApiError' schema.
4
+ */
5
+ export type ApiError = {
6
+ /**
7
+ * Descriptive error code (not http status code).
8
+ */
9
+ code: string;
10
+ /**
11
+ * plaintext error description
12
+ */
13
+ message: string;
14
+ /**
15
+ * id of individual request
16
+ */
17
+ requestId?: string;
18
+ /**
19
+ * url that has been called
20
+ */
21
+ target?: string;
22
+ details?: DetailsErrorResponse[];
23
+ } & Record<string, any>;
24
+ //# sourceMappingURL=api-error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-error.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/api-error.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACxE;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=api-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-error.js","sourceRoot":"","sources":["../../../../src/client/api/schema/api-error.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import type { TextOnlyBaseChunk } from './text-only-base-chunk.js';
2
+ import type { DocumentKeyValueListPair } from './document-key-value-list-pair.js';
3
+ /**
4
+ * Base class for documents, document requests and responses.
5
+ */
6
+ export type BaseDocument = {
7
+ chunks: TextOnlyBaseChunk[];
8
+ metadata: DocumentKeyValueListPair[];
9
+ } & Record<string, any>;
10
+ //# sourceMappingURL=base-document.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-document.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/base-document.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAClF;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC5B,QAAQ,EAAE,wBAAwB,EAAE,CAAC;CACtC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=base-document.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-document.js","sourceRoot":"","sources":["../../../../src/client/api/schema/base-document.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import type { KeyValueListPair } from './key-value-list-pair.js';
2
+ /**
3
+ * Representation of the 'Chunk' schema.
4
+ */
5
+ export type Chunk = {
6
+ id: string;
7
+ content: string;
8
+ /**
9
+ * Default: [].
10
+ */
11
+ metadata?: KeyValueListPair[];
12
+ } & Record<string, any>;
13
+ //# sourceMappingURL=chunk.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/chunk.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC/B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk.js","sourceRoot":"","sources":["../../../../src/client/api/schema/chunk.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Representation of the 'CollectionCreatedResponse' schema.
3
+ */
4
+ export type CollectionCreatedResponse = {
5
+ collectionURL: string;
6
+ status: string;
7
+ } & Record<string, any>;
8
+ //# sourceMappingURL=collection-created-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-created-response.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/collection-created-response.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=collection-created-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-created-response.js","sourceRoot":"","sources":["../../../../src/client/api/schema/collection-created-response.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Representation of the 'CollectionDeletedResponse' schema.
3
+ */
4
+ export type CollectionDeletedResponse = {
5
+ collectionURL: string;
6
+ status: string;
7
+ } & Record<string, any>;
8
+ //# sourceMappingURL=collection-deleted-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-deleted-response.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/collection-deleted-response.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=collection-deleted-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-deleted-response.js","sourceRoot":"","sources":["../../../../src/client/api/schema/collection-deleted-response.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Representation of the 'CollectionPendingResponse' schema.
3
+ */
4
+ export type CollectionPendingResponse = {
5
+ /**
6
+ * Format: "uri".
7
+ */
8
+ Location: string;
9
+ status: string;
10
+ } & Record<string, any>;
11
+ //# sourceMappingURL=collection-pending-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-pending-response.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/collection-pending-response.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=collection-pending-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-pending-response.js","sourceRoot":"","sources":["../../../../src/client/api/schema/collection-pending-response.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,15 @@
1
+ import type { EmbeddingConfig } from './embedding-config.js';
2
+ import type { KeyValueListPair } from './key-value-list-pair.js';
3
+ /**
4
+ * A request for creating a new, single collection.
5
+ */
6
+ export type CollectionRequest = {
7
+ title?: string;
8
+ embeddingConfig: EmbeddingConfig;
9
+ /**
10
+ * Metadata attached to collection. Useful to restrict search to a subset of collections.
11
+ * Default: [].
12
+ */
13
+ metadata?: KeyValueListPair[];
14
+ } & Record<string, any>;
15
+ //# sourceMappingURL=collection-request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-request.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/collection-request.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,eAAe,CAAC;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC/B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=collection-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-request.js","sourceRoot":"","sources":["../../../../src/client/api/schema/collection-request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ import type { EmbeddingConfig } from './embedding-config.js';
2
+ import type { KeyValueListPair } from './key-value-list-pair.js';
3
+ /**
4
+ * A logical grouping of content.
5
+ */
6
+ export type Collection = {
7
+ title?: string;
8
+ embeddingConfig: EmbeddingConfig;
9
+ /**
10
+ * Metadata attached to collection. Useful to restrict search to a subset of collections.
11
+ * Default: [].
12
+ */
13
+ metadata?: KeyValueListPair[];
14
+ /**
15
+ * Unique identifier of a collection.
16
+ * Format: "uuid".
17
+ */
18
+ id: string;
19
+ } & Record<string, any>;
20
+ //# sourceMappingURL=collection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/collection.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,eAAe,CAAC;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC9B;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection.js","sourceRoot":"","sources":["../../../../src/client/api/schema/collection.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import type { Collection } from './collection.js';
2
+ /**
3
+ * A response containing collections retrieved from the server.
4
+ */
5
+ export type CollectionsListResponse = {
6
+ resources: Collection[];
7
+ count?: number;
8
+ } & Record<string, any>;
9
+ //# sourceMappingURL=collections-list-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collections-list-response.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/collections-list-response.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,EAAE,UAAU,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=collections-list-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collections-list-response.js","sourceRoot":"","sources":["../../../../src/client/api/schema/collections-list-response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import type { DataRepository } from './data-repository.js';
2
+ /**
3
+ * Representation of the 'DataRepositories' schema.
4
+ */
5
+ export type DataRepositories = {
6
+ resources: DataRepository[];
7
+ count?: number;
8
+ } & Record<string, any>;
9
+ //# sourceMappingURL=data-repositories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-repositories.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/data-repositories.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data-repositories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-repositories.js","sourceRoot":"","sources":["../../../../src/client/api/schema/data-repositories.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Representation of the 'DataRepositoryType' schema.
3
+ */
4
+ export type DataRepositoryType = 'vector' | any;
5
+ //# sourceMappingURL=data-repository-type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-repository-type.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/data-repository-type.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,GAAG,CAAC"}
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=data-repository-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-repository-type.js","sourceRoot":"","sources":["../../../../src/client/api/schema/data-repository-type.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,19 @@
1
+ import type { KeyValueListPair } from './key-value-list-pair.js';
2
+ import type { RetrievalDocument } from './retrieval-document.js';
3
+ /**
4
+ * DataRepository schema returned by the Vector search endpoint
5
+ */
6
+ export type DataRepositoryWithDocuments = {
7
+ /**
8
+ * Unique identifier of this DataRepository.
9
+ * Format: "uuid".
10
+ */
11
+ id: string;
12
+ title: string;
13
+ /**
14
+ * Metadata attached to DataRepository. Useful to later limit search to a subset of DataRepositories.
15
+ */
16
+ metadata?: KeyValueListPair[];
17
+ documents: RetrievalDocument[];
18
+ } & Record<string, any>;
19
+ //# sourceMappingURL=data-repository-with-documents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-repository-with-documents.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/data-repository-with-documents.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC9B,SAAS,EAAE,iBAAiB,EAAE,CAAC;CAChC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data-repository-with-documents.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-repository-with-documents.js","sourceRoot":"","sources":["../../../../src/client/api/schema/data-repository-with-documents.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ import type { KeyValueListPair } from './key-value-list-pair.js';
2
+ import type { DataRepositoryType } from './data-repository-type.js';
3
+ /**
4
+ * DataRepository schema expected by Retrieval.
5
+ */
6
+ export type DataRepository = {
7
+ /**
8
+ * Unique identifier of this DataRepository.
9
+ * Format: "uuid".
10
+ */
11
+ id: string;
12
+ title: string;
13
+ /**
14
+ * Metadata attached to DataRepository. Useful to later limit search to a subset of DataRepositories.
15
+ * Default: [].
16
+ */
17
+ metadata?: KeyValueListPair[];
18
+ type: DataRepositoryType;
19
+ } & Record<string, any>;
20
+ //# sourceMappingURL=data-repository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-repository.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/data-repository.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC9B,IAAI,EAAE,kBAAkB,CAAC;CAC1B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}