@sinequa/atomic 0.0.61

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 (298) hide show
  1. package/README.md +18 -0
  2. package/dist/atomic.js +860 -0
  3. package/dist/atomic.umd.cjs +1 -0
  4. package/dist/auth/auth.d.ts +39 -0
  5. package/dist/auth/auth.d.ts.map +1 -0
  6. package/dist/auth/index.d.ts +2 -0
  7. package/dist/auth/index.d.ts.map +1 -0
  8. package/dist/configurations/global.config.d.ts +35 -0
  9. package/dist/configurations/global.config.d.ts.map +1 -0
  10. package/dist/configurations/index.d.ts +2 -0
  11. package/dist/configurations/index.d.ts.map +1 -0
  12. package/dist/helpers/column-resolver.d.ts +10 -0
  13. package/dist/helpers/column-resolver.d.ts.map +1 -0
  14. package/dist/helpers/column-resolver.test.d.ts +2 -0
  15. package/dist/helpers/column-resolver.test.d.ts.map +1 -0
  16. package/dist/helpers/index.d.ts +5 -0
  17. package/dist/helpers/index.d.ts.map +1 -0
  18. package/dist/helpers/metadata.d.ts +13 -0
  19. package/dist/helpers/metadata.d.ts.map +1 -0
  20. package/dist/helpers/ts-helper.d.ts +8 -0
  21. package/dist/helpers/ts-helper.d.ts.map +1 -0
  22. package/dist/helpers/utils.d.ts +21 -0
  23. package/dist/helpers/utils.d.ts.map +1 -0
  24. package/dist/helpers/utils.test.d.ts +2 -0
  25. package/dist/helpers/utils.test.d.ts.map +1 -0
  26. package/dist/index.d.ts +7 -0
  27. package/dist/index.d.ts.map +1 -0
  28. package/dist/types/aggregations/Aggregation.d.ts +38 -0
  29. package/dist/types/aggregations/Aggregation.d.ts.map +1 -0
  30. package/dist/types/aggregations/AggregationItem.d.ts +30 -0
  31. package/dist/types/aggregations/AggregationItem.d.ts.map +1 -0
  32. package/dist/types/aggregations/AggregationOptions.d.ts +14 -0
  33. package/dist/types/aggregations/AggregationOptions.d.ts.map +1 -0
  34. package/dist/types/aggregations/ListAggregation.d.ts +6 -0
  35. package/dist/types/aggregations/ListAggregation.d.ts.map +1 -0
  36. package/dist/types/aggregations/TreeAggregation.d.ts +13 -0
  37. package/dist/types/aggregations/TreeAggregation.d.ts.map +1 -0
  38. package/dist/types/aggregations/TreeAggregationNode.d.ts +27 -0
  39. package/dist/types/aggregations/TreeAggregationNode.d.ts.map +1 -0
  40. package/dist/types/aggregations/index.d.ts +7 -0
  41. package/dist/types/aggregations/index.d.ts.map +1 -0
  42. package/dist/types/api-endpoints.d.ts +4 -0
  43. package/dist/types/api-endpoints.d.ts.map +1 -0
  44. package/dist/types/audit/AuditEvent.d.ts +15 -0
  45. package/dist/types/audit/AuditEvent.d.ts.map +1 -0
  46. package/dist/types/audit/AuditEventType.d.ts +114 -0
  47. package/dist/types/audit/AuditEventType.d.ts.map +1 -0
  48. package/dist/types/audit/AuditRecord.d.ts +9 -0
  49. package/dist/types/audit/AuditRecord.d.ts.map +1 -0
  50. package/dist/types/audit/index.d.ts +5 -0
  51. package/dist/types/audit/index.d.ts.map +1 -0
  52. package/dist/types/chunks/index.d.ts +3 -0
  53. package/dist/types/chunks/index.d.ts.map +1 -0
  54. package/dist/types/chunks/text-chunk.d.ts +11 -0
  55. package/dist/types/chunks/text-chunk.d.ts.map +1 -0
  56. package/dist/types/chunks/text-location.d.ts +7 -0
  57. package/dist/types/chunks/text-location.d.ts.map +1 -0
  58. package/dist/types/config/CCAggregation.d.ts +47 -0
  59. package/dist/types/config/CCAggregation.d.ts.map +1 -0
  60. package/dist/types/config/CCApp.d.ts +87 -0
  61. package/dist/types/config/CCApp.d.ts.map +1 -0
  62. package/dist/types/config/CCAppPreLogin.d.ts +9 -0
  63. package/dist/types/config/CCAppPreLogin.d.ts.map +1 -0
  64. package/dist/types/config/CCAppRefresh.d.ts +10 -0
  65. package/dist/types/config/CCAppRefresh.d.ts.map +1 -0
  66. package/dist/types/config/CCAutocomplete.d.ts +32 -0
  67. package/dist/types/config/CCAutocomplete.d.ts.map +1 -0
  68. package/dist/types/config/CCColumn.d.ts +15 -0
  69. package/dist/types/config/CCColumn.d.ts.map +1 -0
  70. package/dist/types/config/CCColumnInfo.d.ts +38 -0
  71. package/dist/types/config/CCColumnInfo.d.ts.map +1 -0
  72. package/dist/types/config/CCColumnsInfo.d.ts +8 -0
  73. package/dist/types/config/CCColumnsInfo.d.ts.map +1 -0
  74. package/dist/types/config/CCConfig.d.ts +15 -0
  75. package/dist/types/config/CCConfig.d.ts.map +1 -0
  76. package/dist/types/config/CCIndex.d.ts +16 -0
  77. package/dist/types/config/CCIndex.d.ts.map +1 -0
  78. package/dist/types/config/CCLabels.d.ts +43 -0
  79. package/dist/types/config/CCLabels.d.ts.map +1 -0
  80. package/dist/types/config/CCList.d.ts +16 -0
  81. package/dist/types/config/CCList.d.ts.map +1 -0
  82. package/dist/types/config/CCListItem.d.ts +14 -0
  83. package/dist/types/config/CCListItem.d.ts.map +1 -0
  84. package/dist/types/config/CCQuery.d.ts +34 -0
  85. package/dist/types/config/CCQuery.d.ts.map +1 -0
  86. package/dist/types/config/CCRFM.d.ts +11 -0
  87. package/dist/types/config/CCRFM.d.ts.map +1 -0
  88. package/dist/types/config/CCRFMAction.d.ts +12 -0
  89. package/dist/types/config/CCRFMAction.d.ts.map +1 -0
  90. package/dist/types/config/CCScope.d.ts +28 -0
  91. package/dist/types/config/CCScope.d.ts.map +1 -0
  92. package/dist/types/config/CCSortingChoice.d.ts +32 -0
  93. package/dist/types/config/CCSortingChoice.d.ts.map +1 -0
  94. package/dist/types/config/CCTab.d.ts +35 -0
  95. package/dist/types/config/CCTab.d.ts.map +1 -0
  96. package/dist/types/config/CCTabSearch.d.ts +46 -0
  97. package/dist/types/config/CCTabSearch.d.ts.map +1 -0
  98. package/dist/types/config/CCWebService.d.ts +10 -0
  99. package/dist/types/config/CCWebService.d.ts.map +1 -0
  100. package/dist/types/config/EngineType.d.ts +22 -0
  101. package/dist/types/config/EngineType.d.ts.map +1 -0
  102. package/dist/types/config/EngineTypeModifier.d.ts +24 -0
  103. package/dist/types/config/EngineTypeModifier.d.ts.map +1 -0
  104. package/dist/types/config/ExportDialogModel.d.ts +13 -0
  105. package/dist/types/config/ExportDialogModel.d.ts.map +1 -0
  106. package/dist/types/config/ExportOutputFormat.d.ts +10 -0
  107. package/dist/types/config/ExportOutputFormat.d.ts.map +1 -0
  108. package/dist/types/config/ExportSourceType.d.ts +10 -0
  109. package/dist/types/config/ExportSourceType.d.ts.map +1 -0
  110. package/dist/types/config/QueryPrecision.d.ts +14 -0
  111. package/dist/types/config/QueryPrecision.d.ts.map +1 -0
  112. package/dist/types/config/QueryStrategy.d.ts +18 -0
  113. package/dist/types/config/QueryStrategy.d.ts.map +1 -0
  114. package/dist/types/config/SpellingCorrectionMode.d.ts +28 -0
  115. package/dist/types/config/SpellingCorrectionMode.d.ts.map +1 -0
  116. package/dist/types/config/index.d.ts +34 -0
  117. package/dist/types/config/index.d.ts.map +1 -0
  118. package/dist/types/credentials.d.ts +5 -0
  119. package/dist/types/credentials.d.ts.map +1 -0
  120. package/dist/types/filters/BetweenFilter.d.ts +7 -0
  121. package/dist/types/filters/BetweenFilter.d.ts.map +1 -0
  122. package/dist/types/filters/ExprFilter.d.ts +6 -0
  123. package/dist/types/filters/ExprFilter.d.ts.map +1 -0
  124. package/dist/types/filters/Filter.d.ts +10 -0
  125. package/dist/types/filters/Filter.d.ts.map +1 -0
  126. package/dist/types/filters/InFilter.d.ts +6 -0
  127. package/dist/types/filters/InFilter.d.ts.map +1 -0
  128. package/dist/types/filters/NotNullFilter.d.ts +5 -0
  129. package/dist/types/filters/NotNullFilter.d.ts.map +1 -0
  130. package/dist/types/filters/NullFilter.d.ts +5 -0
  131. package/dist/types/filters/NullFilter.d.ts.map +1 -0
  132. package/dist/types/filters/SimpleFilter.d.ts +5 -0
  133. package/dist/types/filters/SimpleFilter.d.ts.map +1 -0
  134. package/dist/types/filters/index.d.ts +9 -0
  135. package/dist/types/filters/index.d.ts.map +1 -0
  136. package/dist/types/filters/legacy-filters.d.ts +13 -0
  137. package/dist/types/filters/legacy-filters.d.ts.map +1 -0
  138. package/dist/types/index.d.ts +16 -0
  139. package/dist/types/index.d.ts.map +1 -0
  140. package/dist/types/interfaces/Open.d.ts +14 -0
  141. package/dist/types/interfaces/Open.d.ts.map +1 -0
  142. package/dist/types/interfaces/Query.d.ts +136 -0
  143. package/dist/types/interfaces/Query.d.ts.map +1 -0
  144. package/dist/types/interfaces/Select.d.ts +15 -0
  145. package/dist/types/interfaces/Select.d.ts.map +1 -0
  146. package/dist/types/interfaces/index.d.ts +4 -0
  147. package/dist/types/interfaces/index.d.ts.map +1 -0
  148. package/dist/types/interfaces/json.d.ts +7 -0
  149. package/dist/types/interfaces/json.d.ts.map +1 -0
  150. package/dist/types/labels/label-rights.d.ts +5 -0
  151. package/dist/types/labels/label-rights.d.ts.map +1 -0
  152. package/dist/types/link-results/index.d.ts +3 -0
  153. package/dist/types/link-results/index.d.ts.map +1 -0
  154. package/dist/types/link-results/link-results.d.ts +12 -0
  155. package/dist/types/link-results/link-results.d.ts.map +1 -0
  156. package/dist/types/link-results/links-results.d.ts +9 -0
  157. package/dist/types/link-results/links-results.d.ts.map +1 -0
  158. package/dist/types/preview/CategoryHighlightData.d.ts +12 -0
  159. package/dist/types/preview/CategoryHighlightData.d.ts.map +1 -0
  160. package/dist/types/preview/CustomHighlights.d.ts +8 -0
  161. package/dist/types/preview/CustomHighlights.d.ts.map +1 -0
  162. package/dist/types/preview/HighlightDataPerCategory.d.ts +6 -0
  163. package/dist/types/preview/HighlightDataPerCategory.d.ts.map +1 -0
  164. package/dist/types/preview/HighlightDataPerLocation.d.ts +11 -0
  165. package/dist/types/preview/HighlightDataPerLocation.d.ts.map +1 -0
  166. package/dist/types/preview/HighlightValue.d.ts +10 -0
  167. package/dist/types/preview/HighlightValue.d.ts.map +1 -0
  168. package/dist/types/preview/Location.d.ts +8 -0
  169. package/dist/types/preview/Location.d.ts.map +1 -0
  170. package/dist/types/preview/PreviewData.d.ts +15 -0
  171. package/dist/types/preview/PreviewData.d.ts.map +1 -0
  172. package/dist/types/preview/index.d.ts +8 -0
  173. package/dist/types/preview/index.d.ts.map +1 -0
  174. package/dist/types/principal/Principal.d.ts +29 -0
  175. package/dist/types/principal/Principal.d.ts.map +1 -0
  176. package/dist/types/principal/PrincipalChangedEvent.d.ts +11 -0
  177. package/dist/types/principal/PrincipalChangedEvent.d.ts.map +1 -0
  178. package/dist/types/principal/PrincipalEvent.d.ts +7 -0
  179. package/dist/types/principal/PrincipalEvent.d.ts.map +1 -0
  180. package/dist/types/principal/PrincipalParams.d.ts +8 -0
  181. package/dist/types/principal/PrincipalParams.d.ts.map +1 -0
  182. package/dist/types/principal/PrincipalUserIdsParams.d.ts +6 -0
  183. package/dist/types/principal/PrincipalUserIdsParams.d.ts.map +1 -0
  184. package/dist/types/principal/PrincipalUserInfo.d.ts +11 -0
  185. package/dist/types/principal/PrincipalUserInfo.d.ts.map +1 -0
  186. package/dist/types/principal/index.d.ts +7 -0
  187. package/dist/types/principal/index.d.ts.map +1 -0
  188. package/dist/types/search/AccessListPrincipal.d.ts +17 -0
  189. package/dist/types/search/AccessListPrincipal.d.ts.map +1 -0
  190. package/dist/types/search/AccessLists.d.ts +9 -0
  191. package/dist/types/search/AccessLists.d.ts.map +1 -0
  192. package/dist/types/search/Answer.d.ts +16 -0
  193. package/dist/types/search/Answer.d.ts.map +1 -0
  194. package/dist/types/search/Article.d.ts +194 -0
  195. package/dist/types/search/Article.d.ts.map +1 -0
  196. package/dist/types/search/Attributes.d.ts +17 -0
  197. package/dist/types/search/Attributes.d.ts.map +1 -0
  198. package/dist/types/search/DidYouMean.d.ts +10 -0
  199. package/dist/types/search/DidYouMean.d.ts.map +1 -0
  200. package/dist/types/search/DidYouMeanItem.d.ts +17 -0
  201. package/dist/types/search/DidYouMeanItem.d.ts.map +1 -0
  202. package/dist/types/search/DidYouMeanKind.d.ts +8 -0
  203. package/dist/types/search/DidYouMeanKind.d.ts.map +1 -0
  204. package/dist/types/search/DocumentAccessLists.d.ts +10 -0
  205. package/dist/types/search/DocumentAccessLists.d.ts.map +1 -0
  206. package/dist/types/search/EntityItem.d.ts +26 -0
  207. package/dist/types/search/EntityItem.d.ts.map +1 -0
  208. package/dist/types/search/MatchLocationsPerPartname.d.ts +8 -0
  209. package/dist/types/search/MatchLocationsPerPartname.d.ts.map +1 -0
  210. package/dist/types/search/MatchingPassage.d.ts +11 -0
  211. package/dist/types/search/MatchingPassage.d.ts.map +1 -0
  212. package/dist/types/search/PartnameMatchLocations.d.ts +8 -0
  213. package/dist/types/search/PartnameMatchLocations.d.ts.map +1 -0
  214. package/dist/types/search/Passage.d.ts +8 -0
  215. package/dist/types/search/Passage.d.ts.map +1 -0
  216. package/dist/types/search/QueryAnalysis.d.ts +11 -0
  217. package/dist/types/search/QueryAnalysis.d.ts.map +1 -0
  218. package/dist/types/search/QueryAnalysisElement.d.ts +24 -0
  219. package/dist/types/search/QueryAnalysisElement.d.ts.map +1 -0
  220. package/dist/types/search/QueryIntent.d.ts +15 -0
  221. package/dist/types/search/QueryIntent.d.ts.map +1 -0
  222. package/dist/types/search/QueryIntentAction.d.ts +11 -0
  223. package/dist/types/search/QueryIntentAction.d.ts.map +1 -0
  224. package/dist/types/search/QueryIntentData.d.ts +27 -0
  225. package/dist/types/search/QueryIntentData.d.ts.map +1 -0
  226. package/dist/types/search/QueryIntentDatasets.d.ts +13 -0
  227. package/dist/types/search/QueryIntentDatasets.d.ts.map +1 -0
  228. package/dist/types/search/QueryIntentEntity.d.ts +12 -0
  229. package/dist/types/search/QueryIntentEntity.d.ts.map +1 -0
  230. package/dist/types/search/QueryIntentWord.d.ts +12 -0
  231. package/dist/types/search/QueryIntentWord.d.ts.map +1 -0
  232. package/dist/types/search/RFMActionDisplay.d.ts +16 -0
  233. package/dist/types/search/RFMActionDisplay.d.ts.map +1 -0
  234. package/dist/types/search/RFMData.d.ts +10 -0
  235. package/dist/types/search/RFMData.d.ts.map +1 -0
  236. package/dist/types/search/RFMDisplay.d.ts +18 -0
  237. package/dist/types/search/RFMDisplay.d.ts.map +1 -0
  238. package/dist/types/search/RelevantExtract.d.ts +11 -0
  239. package/dist/types/search/RelevantExtract.d.ts.map +1 -0
  240. package/dist/types/search/Result.d.ts +43 -0
  241. package/dist/types/search/Result.d.ts.map +1 -0
  242. package/dist/types/search/Tab.d.ts +25 -0
  243. package/dist/types/search/Tab.d.ts.map +1 -0
  244. package/dist/types/search/TermPresence.d.ts +11 -0
  245. package/dist/types/search/TermPresence.d.ts.map +1 -0
  246. package/dist/types/search/TopPassage.d.ts +13 -0
  247. package/dist/types/search/TopPassage.d.ts.map +1 -0
  248. package/dist/types/search/index.d.ts +32 -0
  249. package/dist/types/search/index.d.ts.map +1 -0
  250. package/dist/types/suggest/suggestion.d.ts +11 -0
  251. package/dist/types/suggest/suggestion.d.ts.map +1 -0
  252. package/dist/types/user-settings/user-settings.d.ts +14 -0
  253. package/dist/types/user-settings/user-settings.d.ts.map +1 -0
  254. package/dist/utils/aggregations.d.ts +51 -0
  255. package/dist/utils/aggregations.d.ts.map +1 -0
  256. package/dist/utils/array/bisect.d.ts +17 -0
  257. package/dist/utils/array/bisect.d.ts.map +1 -0
  258. package/dist/utils/concepts.d.ts +72 -0
  259. package/dist/utils/concepts.d.ts.map +1 -0
  260. package/dist/utils/date.d.ts +31 -0
  261. package/dist/utils/date.d.ts.map +1 -0
  262. package/dist/utils/index.d.ts +7 -0
  263. package/dist/utils/index.d.ts.map +1 -0
  264. package/dist/utils/query-params.d.ts +72 -0
  265. package/dist/utils/query-params.d.ts.map +1 -0
  266. package/dist/utils/syslang.d.ts +27 -0
  267. package/dist/utils/syslang.d.ts.map +1 -0
  268. package/dist/web-api/fetch-aggregation.d.ts +11 -0
  269. package/dist/web-api/fetch-aggregation.d.ts.map +1 -0
  270. package/dist/web-api/fetch-app.d.ts +17 -0
  271. package/dist/web-api/fetch-app.d.ts.map +1 -0
  272. package/dist/web-api/fetch-audit.d.ts +33 -0
  273. package/dist/web-api/fetch-audit.d.ts.map +1 -0
  274. package/dist/web-api/fetch-dataset.d.ts +43 -0
  275. package/dist/web-api/fetch-dataset.d.ts.map +1 -0
  276. package/dist/web-api/fetch-labels.d.ts +95 -0
  277. package/dist/web-api/fetch-labels.d.ts.map +1 -0
  278. package/dist/web-api/fetch-preview.d.ts +17 -0
  279. package/dist/web-api/fetch-preview.d.ts.map +1 -0
  280. package/dist/web-api/fetch-principal.d.ts +13 -0
  281. package/dist/web-api/fetch-principal.d.ts.map +1 -0
  282. package/dist/web-api/fetch-query.d.ts +27 -0
  283. package/dist/web-api/fetch-query.d.ts.map +1 -0
  284. package/dist/web-api/fetch-sponsored-links.d.ts +14 -0
  285. package/dist/web-api/fetch-sponsored-links.d.ts.map +1 -0
  286. package/dist/web-api/fetch-suggest.d.ts +55 -0
  287. package/dist/web-api/fetch-suggest.d.ts.map +1 -0
  288. package/dist/web-api/fetch-text-chunk.d.ts +16 -0
  289. package/dist/web-api/fetch-text-chunk.d.ts.map +1 -0
  290. package/dist/web-api/fetch-user-settings.d.ts +28 -0
  291. package/dist/web-api/fetch-user-settings.d.ts.map +1 -0
  292. package/dist/web-api/helpers.d.ts +35 -0
  293. package/dist/web-api/helpers.d.ts.map +1 -0
  294. package/dist/web-api/helpers.test.d.ts +2 -0
  295. package/dist/web-api/helpers.test.d.ts.map +1 -0
  296. package/dist/web-api/index.d.ts +14 -0
  297. package/dist/web-api/index.d.ts.map +1 -0
  298. package/package.json +41 -0
@@ -0,0 +1,7 @@
1
+ export type JsonValue = boolean | number | string | null | undefined | JsonArray | JsonObject;
2
+ export interface JsonObject {
3
+ [key: string]: JsonValue;
4
+ }
5
+ export interface JsonArray extends Array<JsonValue> {
6
+ }
7
+ //# sourceMappingURL=json.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../src/types/interfaces/json.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAG9F,MAAM,WAAW,UAAU;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B;AAGD,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,SAAS,CAAC;CAAG"}
@@ -0,0 +1,5 @@
1
+ export type LabelsRights = {
2
+ canManagePublicLabels: boolean;
3
+ canEditPublicLabels: boolean;
4
+ };
5
+ //# sourceMappingURL=label-rights.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label-rights.d.ts","sourceRoot":"","sources":["../../../src/types/labels/label-rights.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IACzB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,mBAAmB,EAAE,OAAO,CAAA;CAC7B,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from "./link-results";
2
+ export * from "./links-results";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/link-results/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,12 @@
1
+ export interface LinkResult {
2
+ id: string;
3
+ title: string;
4
+ url: string;
5
+ icon: string;
6
+ thumbnail: string;
7
+ tooltip: string;
8
+ summary: string;
9
+ rank: number;
10
+ relevance: number;
11
+ }
12
+ //# sourceMappingURL=link-results.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link-results.d.ts","sourceRoot":"","sources":["../../../src/types/link-results/link-results.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,9 @@
1
+ import { LinkResult } from "./link-results";
2
+ /**
3
+ * Describes a set of sponsored links
4
+ */
5
+ export interface LinksResults {
6
+ statements: string[];
7
+ links: LinkResult[];
8
+ }
9
+ //# sourceMappingURL=links-results.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"links-results.d.ts","sourceRoot":"","sources":["../../../src/types/link-results/links-results.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C;;EAEE;AACF,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,KAAK,EAAE,UAAU,EAAE,CAAC;CACrB"}
@@ -0,0 +1,12 @@
1
+ import { HighlightValue } from "./HighlightValue";
2
+ /**
3
+ * Describes highlight data for a category
4
+ */
5
+ export type CategoryHighlightData = {
6
+ categoryDisplayLabel: string;
7
+ categoryDisplayLabelPlural: string;
8
+ categoryFilterAllLabel: string;
9
+ categoryFilterNoneLabel: string;
10
+ values: HighlightValue[];
11
+ };
12
+ //# sourceMappingURL=CategoryHighlightData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoryHighlightData.d.ts","sourceRoot":"","sources":["../../../src/types/preview/CategoryHighlightData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;GAEG;AAEH,MAAM,MAAM,qBAAqB,GAAG;IAChC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,0BAA0B,EAAE,MAAM,CAAC;IACnC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,uBAAuB,EAAE,MAAM,CAAC;IAChC,MAAM,EAAE,cAAc,EAAE,CAAA;CAC3B,CAAA"}
@@ -0,0 +1,8 @@
1
+ export type CustomHighlights = {
2
+ category: string;
3
+ highlights: Array<{
4
+ offset: number;
5
+ length: number;
6
+ }>;
7
+ };
8
+ //# sourceMappingURL=CustomHighlights.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomHighlights.d.ts","sourceRoot":"","sources":["../../../src/types/preview/CustomHighlights.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,KAAK,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CACxD,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { CategoryHighlightData } from "./CategoryHighlightData";
2
+ /**
3
+ * Describes highlight data for a set of categories
4
+ */
5
+ export type HighlightDataPerCategory = Record<string, CategoryHighlightData>;
6
+ //# sourceMappingURL=HighlightDataPerCategory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HighlightDataPerCategory.d.ts","sourceRoot":"","sources":["../../../src/types/preview/HighlightDataPerCategory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE;;GAEG;AAEH,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Describes highlight data for a set of locations
3
+ */
4
+ export type HighlightDataPerLocation = {
5
+ start: number;
6
+ length: number;
7
+ values: string[];
8
+ displayValue: string;
9
+ positionInCategories: Record<string, number>;
10
+ };
11
+ //# sourceMappingURL=HighlightDataPerLocation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HighlightDataPerLocation.d.ts","sourceRoot":"","sources":["../../../src/types/preview/HighlightDataPerLocation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,wBAAwB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC/C,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { Location } from "./Location";
2
+ /**
3
+ * Describes a highlight value
4
+ */
5
+ export type HighlightValue = {
6
+ value: string;
7
+ displayValue: string;
8
+ locations: Location[];
9
+ };
10
+ //# sourceMappingURL=HighlightValue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HighlightValue.d.ts","sourceRoot":"","sources":["../../../src/types/preview/HighlightValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;GAEG;AAEH,MAAM,MAAM,cAAc,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,QAAQ,EAAE,CAAA;CACxB,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Describes a single highlight location
3
+ */
4
+ export type Location = {
5
+ start: number;
6
+ enclosingLength: number;
7
+ };
8
+ //# sourceMappingURL=Location.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Location.d.ts","sourceRoot":"","sources":["../../../src/types/preview/Location.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,QAAQ,GAAG;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAA;CAC1B,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { Article } from "../search";
2
+ import { HighlightDataPerCategory } from "./HighlightDataPerCategory";
3
+ import { HighlightDataPerLocation } from "./HighlightDataPerLocation";
4
+ /**
5
+ * Describes the data returned by [PreviewWebService.get]{@link PreviewWebService#get}
6
+ */
7
+ export type PreviewData = {
8
+ record: Article;
9
+ resultId: string;
10
+ cacheId: string;
11
+ highlightsPerCategory: HighlightDataPerCategory;
12
+ highlightsPerLocation: HighlightDataPerLocation[];
13
+ documentCachedContentUrl: string;
14
+ };
15
+ //# sourceMappingURL=PreviewData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewData.d.ts","sourceRoot":"","sources":["../../../src/types/preview/PreviewData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE;;GAEG;AAEH,MAAM,MAAM,WAAW,GAAG;IACtB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,qBAAqB,EAAE,wBAAwB,CAAC;IAChD,qBAAqB,EAAE,wBAAwB,EAAE,CAAC;IAClD,wBAAwB,EAAE,MAAM,CAAA;CACnC,CAAA"}
@@ -0,0 +1,8 @@
1
+ export type { CategoryHighlightData } from "./CategoryHighlightData";
2
+ export type { CustomHighlights } from "./CustomHighlights";
3
+ export type { HighlightDataPerCategory } from "./HighlightDataPerCategory";
4
+ export type { HighlightDataPerLocation } from "./HighlightDataPerLocation";
5
+ export type { HighlightValue } from "./HighlightValue";
6
+ export type { PreviewData } from "./PreviewData";
7
+ export type { Location } from "./Location";
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/preview/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,YAAY,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,YAAY,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,YAAY,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Describes a Sinequa principal
3
+ */
4
+ export type Principal = {
5
+ id: string;
6
+ id2: string;
7
+ id3: string;
8
+ id4: string;
9
+ id5: string;
10
+ name: string;
11
+ email: string;
12
+ description: string;
13
+ longName: string;
14
+ userId: string;
15
+ fullName: string;
16
+ isAdministrator: boolean;
17
+ isDelegatedAdmin: boolean;
18
+ param1: string;
19
+ param2: string;
20
+ param3: string;
21
+ param4: string;
22
+ param5: string;
23
+ param6: string;
24
+ param7: string;
25
+ param8: string;
26
+ param9: string;
27
+ param10: string;
28
+ };
29
+ //# sourceMappingURL=Principal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Principal.d.ts","sourceRoot":"","sources":["../../../src/types/principal/Principal.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,SAAS,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,OAAO,CAAC;IACzB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAA;CAClB,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { PrincipalEvent } from "./PrincipalEvent";
2
+ /**
3
+ * This event is fired each time the [principal]{@link PrincipalWebService#principal} member is modified.
4
+ * Typically this will be at login / logoff and also if the "override user" admin feature is used.
5
+ *
6
+ * @deprecated Use {@link PrincipalEvent} instead
7
+ */
8
+ export type PrincipalChangedEvent = PrincipalEvent & {
9
+ type: "changed";
10
+ };
11
+ //# sourceMappingURL=PrincipalChangedEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrincipalChangedEvent.d.ts","sourceRoot":"","sources":["../../../src/types/principal/PrincipalChangedEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAAG,cAAc,GAAG;IACjD,IAAI,EAAE,SAAS,CAAA;CAClB,CAAA"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * A base event from which all events that can be issued by the {@link PrincipalWebService} are derived
3
+ */
4
+ export type PrincipalEvent = {
5
+ type: "changed";
6
+ };
7
+ //# sourceMappingURL=PrincipalEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrincipalEvent.d.ts","sourceRoot":"","sources":["../../../src/types/principal/PrincipalEvent.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,cAAc,GAAG;IACzB,IAAI,EAAE,SAAS,CAAA;CAClB,CAAA"}
@@ -0,0 +1,8 @@
1
+ export type PrincipalParams = {
2
+ offset?: number;
3
+ limit?: number;
4
+ isUser?: boolean;
5
+ isGroup?: boolean;
6
+ search?: string;
7
+ };
8
+ //# sourceMappingURL=PrincipalParams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrincipalParams.d.ts","sourceRoot":"","sources":["../../../src/types/principal/PrincipalParams.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,eAAe,GAAG;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;CAElB,CAAA"}
@@ -0,0 +1,6 @@
1
+ export type PrincipalUserIdsParams = {
2
+ offset?: number;
3
+ limit?: number;
4
+ userIds: string[];
5
+ };
6
+ //# sourceMappingURL=PrincipalUserIdsParams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrincipalUserIdsParams.d.ts","sourceRoot":"","sources":["../../../src/types/principal/PrincipalUserIdsParams.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,sBAAsB,GAAG;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,EAAE,CAAA;CACpB,CAAA"}
@@ -0,0 +1,11 @@
1
+ export type PrincipalUserInfo = {
2
+ id: string;
3
+ userId: string;
4
+ name: string;
5
+ fullName: string;
6
+ longName: string;
7
+ email: string;
8
+ isUser: string;
9
+ isGroup: string;
10
+ };
11
+ //# sourceMappingURL=PrincipalUserInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrincipalUserInfo.d.ts","sourceRoot":"","sources":["../../../src/types/principal/PrincipalUserInfo.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,iBAAiB,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAA;CAClB,CAAA"}
@@ -0,0 +1,7 @@
1
+ export type { Principal } from "./Principal";
2
+ export type { PrincipalChangedEvent } from "./PrincipalChangedEvent";
3
+ export type { PrincipalEvent } from "./PrincipalEvent";
4
+ export type { PrincipalParams } from "./PrincipalParams";
5
+ export type { PrincipalUserIdsParams } from "./PrincipalUserIdsParams";
6
+ export type { PrincipalUserInfo } from "./PrincipalUserInfo";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/principal/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,YAAY,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Describes the fields of a principal item in an access list
3
+ */
4
+ /**
5
+ * Describes the fields of a principal item in an access list
6
+ */
7
+ export type AccessListPrincipal = {
8
+ /**
9
+ * The Sinequa domain to which the principal belongs
10
+ */
11
+ domain: string;
12
+ /**
13
+ * The identifier of the principal
14
+ */
15
+ id: string;
16
+ };
17
+ //# sourceMappingURL=AccessListPrincipal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccessListPrincipal.d.ts","sourceRoot":"","sources":["../../../src/types/search/AccessListPrincipal.ts"],"names":[],"mappings":"AACA;;GAEG;AACH;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { AccessListPrincipal } from "./AccessListPrincipal";
2
+ /**
3
+ * Describes the access lists
4
+ */
5
+ /**
6
+ * Describes the access lists
7
+ */
8
+ export type AccessLists = AccessListPrincipal[];
9
+ //# sourceMappingURL=AccessLists.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccessLists.d.ts","sourceRoot":"","sources":["../../../src/types/search/AccessLists.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D;;GAEG;AACH;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,mBAAmB,EAAE,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { Article, Passage } from ".";
2
+ /**
3
+ * An answer returned by the ML Answer Finder model
4
+ */
5
+ export type Answer = {
6
+ text: string;
7
+ score: number;
8
+ passage: Passage;
9
+ /** Record from which this answer was extracted */
10
+ recordId: string;
11
+ $article?: Article;
12
+ $liked?: boolean;
13
+ "af.score": number;
14
+ "rm.score": number;
15
+ };
16
+ //# sourceMappingURL=Answer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Answer.d.ts","sourceRoot":"","sources":["../../../src/types/search/Answer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,CAAC;AAGrC;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,kDAAkD;IAClD,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -0,0 +1,194 @@
1
+ import { MatchingPassage, TermPresence } from ".";
2
+ import { DocumentAccessLists } from "./DocumentAccessLists";
3
+ import { MatchLocationsPerPartname } from "./MatchLocationsPerPartname";
4
+ import { RelevantExtract } from "./RelevantExtract";
5
+ import { RFMData } from "./RFMData";
6
+ /**
7
+ * Describes the standard fields in a document result record
8
+ */
9
+ export type Article = {
10
+ /**
11
+ * The zero-based position of this document in the results
12
+ */
13
+ rank: number;
14
+ /**
15
+ * The unique identifier of this document
16
+ */
17
+ id: string;
18
+ /**
19
+ * The name of the index that contains this document
20
+ */
21
+ databasealias: string;
22
+ /**
23
+ * The global relevance of this document in the context of the query
24
+ */
25
+ globalrelevance?: number;
26
+ /**
27
+ * Partnames that contain one or more of the search terms
28
+ */
29
+ matchingpartnames: string[];
30
+ /**
31
+ * The locations of the search terms in the document
32
+ */
33
+ matchlocations: string[];
34
+ /**
35
+ * The locations of the search terms in the document grouped by partname
36
+ */
37
+ matchlocationsperpartname: MatchLocationsPerPartname[];
38
+ /**
39
+ * The languages in the document
40
+ */
41
+ documentlanguages: string[];
42
+ /**
43
+ * The documentweight value of the document
44
+ */
45
+ documentweight: string;
46
+ /**
47
+ * The modified date and time of the document
48
+ */
49
+ modified: string;
50
+ /**
51
+ * The time and date when the document was indexed
52
+ */
53
+ indexationtime: string;
54
+ /**
55
+ * The version of the document
56
+ */
57
+ version: string;
58
+ /**
59
+ * The title of the document
60
+ */
61
+ title: string;
62
+ /**
63
+ * The display title of the document. This can contain HTML highlighting of the search terms
64
+ */
65
+ displayTitle?: string;
66
+ /**
67
+ * The size in bytes of the document
68
+ */
69
+ size: number;
70
+ /**
71
+ * The value of the treepath of the document
72
+ */
73
+ treepath: string[];
74
+ /**
75
+ * The filename of the document
76
+ */
77
+ filename: string;
78
+ /**
79
+ * The file extension of the document
80
+ */
81
+ fileext: string;
82
+ /**
83
+ * The document flags
84
+ */
85
+ flags: string[];
86
+ /**
87
+ * The collection that produced the document (only one element will exist)
88
+ */
89
+ collection: string[];
90
+ connector: string;
91
+ /**
92
+ * The value of the docformat column
93
+ */
94
+ docformat: string;
95
+ /**
96
+ * The value of the doctype column
97
+ */
98
+ doctype?: string;
99
+ /**
100
+ * The value of the url1 column
101
+ */
102
+ url1: string;
103
+ /**
104
+ * The value of the url2 column
105
+ */
106
+ url2?: string;
107
+ /**
108
+ * The relevant extracts from the document. This can contain HTML highlighting of the search terms
109
+ */
110
+ relevantExtracts?: string;
111
+ /**
112
+ * Relevant extracts as a raw list, including HTML highlighting
113
+ */
114
+ extracts?: RelevantExtract[];
115
+ /**
116
+ * The text of the document
117
+ */
118
+ text: string;
119
+ /**
120
+ * The document authors
121
+ */
122
+ authors: string[];
123
+ /**
124
+ * The document access lists
125
+ */
126
+ accesslists?: DocumentAccessLists;
127
+ /**
128
+ * The URL of the document's thumbnail
129
+ */
130
+ thumbnailUrl?: string;
131
+ /**
132
+ * The URL of the original document, if it exists
133
+ */
134
+ originalUrl?: string;
135
+ /**
136
+ * The URL of the PDF version of the document, if it exists
137
+ */
138
+ pdfUrl?: string;
139
+ /**
140
+ * Indicates whether RFM has been enabled for this document
141
+ */
142
+ rfmEnabled?: boolean;
143
+ /**
144
+ * Any RFM data for this document
145
+ */
146
+ rfm?: RFMData;
147
+ /**
148
+ * Information about the search terms and whether they exist in the document or not
149
+ */
150
+ termspresence: TermPresence[];
151
+ /**
152
+ * Number of duplicate docs when the web service performs deduplication with a group by clause
153
+ */
154
+ groupcount?: number;
155
+ /**
156
+ * Near hash of this document
157
+ */
158
+ nearhash?: string;
159
+ /**
160
+ * Exact hash of this document
161
+ */
162
+ exacthash?: string;
163
+ /**
164
+ * A client-side field that indicates whether this document is currently selected
165
+ */
166
+ $selected: boolean;
167
+ /**
168
+ * id of the container of this document (for splitted documents, attachments, etc.)
169
+ */
170
+ containerid?: string;
171
+ /**
172
+ * Page number of this document (for splitted documents). Added by the front-end
173
+ */
174
+ $page?: number;
175
+ /**
176
+ * List of matching passages for that document returned by the passage ranking ML model
177
+ */
178
+ matchingpassages?: {
179
+ passages: MatchingPassage[];
180
+ };
181
+ /**
182
+ * Whether this record contains Neural Search "matching passages"
183
+ */
184
+ $hasPassages?: boolean;
185
+ /**
186
+ * Whether this record is considered a duplicate of its predecessor
187
+ */
188
+ $isDuplicate: boolean;
189
+ /**
190
+ * Number of duplicates of this document
191
+ */
192
+ $duplicateCount: number;
193
+ };
194
+ //# sourceMappingURL=Article.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Article.d.ts","sourceRoot":"","sources":["../../../src/types/search/Article.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Various attributes that are returned with a set of search results
3
+ */
4
+ /**
5
+ * Various attributes that are returned with a set of search results
6
+ */
7
+ export type Attributes = {
8
+ queryid?: string;
9
+ searchid?: string;
10
+ processingtime: string;
11
+ rowfetchtime: string;
12
+ cachehit: string;
13
+ matchingrowcount: string;
14
+ internalqueryanalysis?: string;
15
+ internalquerylog?: string;
16
+ };
17
+ //# sourceMappingURL=Attributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Attributes.d.ts","sourceRoot":"","sources":["../../../src/types/search/Attributes.ts"],"names":[],"mappings":"AACA;;GAEG;AACH;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAA"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Describes the "did you mean" results
3
+ */
4
+ import { SpellingCorrectionMode } from "../config";
5
+ import { DidYouMeanItem } from "./DidYouMeanItem";
6
+ export interface DidYouMean {
7
+ spellingCorrectionMode: SpellingCorrectionMode;
8
+ text: DidYouMeanItem;
9
+ }
10
+ //# sourceMappingURL=DidYouMean.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DidYouMean.d.ts","sourceRoot":"","sources":["../../../src/types/search/DidYouMean.ts"],"names":[],"mappings":"AAGA;;GAEG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,WAAW,UAAU;IACvB,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,IAAI,EAAE,cAAc,CAAC;CACxB"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Describes a single "did you mean" item
3
+ */
4
+ /**
5
+ * Describes a single "did you mean" item
6
+ */
7
+ export type DidYouMeanItem = {
8
+ /**
9
+ * The original search term
10
+ */
11
+ original: string;
12
+ /**
13
+ * The corrected search term
14
+ */
15
+ corrected: string;
16
+ };
17
+ //# sourceMappingURL=DidYouMeanItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DidYouMeanItem.d.ts","sourceRoot":"","sources":["../../../src/types/search/DidYouMeanItem.ts"],"names":[],"mappings":"AACA;;GAEG;AACH;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Used to inform whether a query is being executed using original or corrected search terms
3
+ */
4
+ export declare enum DidYouMeanKind {
5
+ Original = 0,
6
+ Corrected = 1
7
+ }
8
+ //# sourceMappingURL=DidYouMeanKind.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DidYouMeanKind.d.ts","sourceRoot":"","sources":["../../../src/types/search/DidYouMeanKind.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,oBAAY,cAAc;IACtB,QAAQ,IAAA;IACR,SAAS,IAAA;CACZ"}