@distilled.cloud/typesense 0.26.1 → 0.28.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 (396) hide show
  1. package/lib/operations/clearCache.d.ts +8 -9
  2. package/lib/operations/clearCache.d.ts.map +1 -1
  3. package/lib/operations/clearCache.js +0 -2
  4. package/lib/operations/clearCache.js.map +1 -1
  5. package/lib/operations/compactDb.d.ts +8 -9
  6. package/lib/operations/compactDb.d.ts.map +1 -1
  7. package/lib/operations/compactDb.js +0 -2
  8. package/lib/operations/compactDb.js.map +1 -1
  9. package/lib/operations/createAnalyticsEvent.d.ts +17 -29
  10. package/lib/operations/createAnalyticsEvent.d.ts.map +1 -1
  11. package/lib/operations/createAnalyticsEvent.js +0 -2
  12. package/lib/operations/createAnalyticsEvent.js.map +1 -1
  13. package/lib/operations/createAnalyticsRule.d.ts +38 -5
  14. package/lib/operations/createAnalyticsRule.d.ts.map +1 -1
  15. package/lib/operations/createAnalyticsRule.js +49 -3
  16. package/lib/operations/createAnalyticsRule.js.map +1 -1
  17. package/lib/operations/createCollection.d.ts +102 -197
  18. package/lib/operations/createCollection.d.ts.map +1 -1
  19. package/lib/operations/createCollection.js +6 -7
  20. package/lib/operations/createCollection.js.map +1 -1
  21. package/lib/operations/createConversationModel.d.ts +18 -29
  22. package/lib/operations/createConversationModel.d.ts.map +1 -1
  23. package/lib/operations/createConversationModel.js +1 -2
  24. package/lib/operations/createConversationModel.js.map +1 -1
  25. package/lib/operations/createKey.d.ts +19 -33
  26. package/lib/operations/createKey.d.ts.map +1 -1
  27. package/lib/operations/createKey.js +0 -2
  28. package/lib/operations/createKey.js.map +1 -1
  29. package/lib/operations/createNLSearchModel.d.ts +28 -49
  30. package/lib/operations/createNLSearchModel.d.ts.map +1 -1
  31. package/lib/operations/createNLSearchModel.js +1 -2
  32. package/lib/operations/createNLSearchModel.js.map +1 -1
  33. package/lib/operations/debug.d.ts +8 -9
  34. package/lib/operations/debug.d.ts.map +1 -1
  35. package/lib/operations/debug.js +0 -2
  36. package/lib/operations/debug.js.map +1 -1
  37. package/lib/operations/deleteAlias.d.ts +10 -15
  38. package/lib/operations/deleteAlias.d.ts.map +1 -1
  39. package/lib/operations/deleteAlias.js +0 -2
  40. package/lib/operations/deleteAlias.js.map +1 -1
  41. package/lib/operations/deleteAnalyticsRule.d.ts +22 -39
  42. package/lib/operations/deleteAnalyticsRule.d.ts.map +1 -1
  43. package/lib/operations/deleteAnalyticsRule.js +0 -2
  44. package/lib/operations/deleteAnalyticsRule.js.map +1 -1
  45. package/lib/operations/deleteCollection.d.ts +57 -107
  46. package/lib/operations/deleteCollection.d.ts.map +1 -1
  47. package/lib/operations/deleteCollection.js +6 -7
  48. package/lib/operations/deleteCollection.js.map +1 -1
  49. package/lib/operations/deleteConversationModel.d.ts +9 -13
  50. package/lib/operations/deleteConversationModel.d.ts.map +1 -1
  51. package/lib/operations/deleteConversationModel.js +0 -2
  52. package/lib/operations/deleteConversationModel.js.map +1 -1
  53. package/lib/operations/deleteCurationSet.d.ts +9 -13
  54. package/lib/operations/deleteCurationSet.d.ts.map +1 -1
  55. package/lib/operations/deleteCurationSet.js +0 -2
  56. package/lib/operations/deleteCurationSet.js.map +1 -1
  57. package/lib/operations/deleteCurationSetItem.d.ts +10 -15
  58. package/lib/operations/deleteCurationSetItem.d.ts.map +1 -1
  59. package/lib/operations/deleteCurationSetItem.js +0 -2
  60. package/lib/operations/deleteCurationSetItem.js.map +1 -1
  61. package/lib/operations/deleteDocument.d.ts +8 -11
  62. package/lib/operations/deleteDocument.d.ts.map +1 -1
  63. package/lib/operations/deleteDocument.js +2 -3
  64. package/lib/operations/deleteDocument.js.map +1 -1
  65. package/lib/operations/deleteDocuments.d.ts +10 -15
  66. package/lib/operations/deleteDocuments.d.ts.map +1 -1
  67. package/lib/operations/deleteDocuments.js +0 -2
  68. package/lib/operations/deleteDocuments.js.map +1 -1
  69. package/lib/operations/deleteKey.d.ts +9 -13
  70. package/lib/operations/deleteKey.d.ts.map +1 -1
  71. package/lib/operations/deleteKey.js +0 -2
  72. package/lib/operations/deleteKey.js.map +1 -1
  73. package/lib/operations/deleteNLSearchModel.d.ts +9 -13
  74. package/lib/operations/deleteNLSearchModel.d.ts.map +1 -1
  75. package/lib/operations/deleteNLSearchModel.js +0 -2
  76. package/lib/operations/deleteNLSearchModel.js.map +1 -1
  77. package/lib/operations/deletePreset.d.ts +9 -13
  78. package/lib/operations/deletePreset.d.ts.map +1 -1
  79. package/lib/operations/deletePreset.js +0 -2
  80. package/lib/operations/deletePreset.js.map +1 -1
  81. package/lib/operations/deleteStopwordsSet.d.ts +9 -13
  82. package/lib/operations/deleteStopwordsSet.d.ts.map +1 -1
  83. package/lib/operations/deleteStopwordsSet.js +0 -2
  84. package/lib/operations/deleteStopwordsSet.js.map +1 -1
  85. package/lib/operations/deleteSynonymSet.d.ts +9 -13
  86. package/lib/operations/deleteSynonymSet.d.ts.map +1 -1
  87. package/lib/operations/deleteSynonymSet.js +0 -2
  88. package/lib/operations/deleteSynonymSet.js.map +1 -1
  89. package/lib/operations/deleteSynonymSetItem.d.ts +10 -15
  90. package/lib/operations/deleteSynonymSetItem.d.ts.map +1 -1
  91. package/lib/operations/deleteSynonymSetItem.js +0 -2
  92. package/lib/operations/deleteSynonymSetItem.js.map +1 -1
  93. package/lib/operations/exportDocuments.d.ts +8 -11
  94. package/lib/operations/exportDocuments.d.ts.map +1 -1
  95. package/lib/operations/exportDocuments.js +2 -3
  96. package/lib/operations/exportDocuments.js.map +1 -1
  97. package/lib/operations/flushAnalytics.d.ts +8 -9
  98. package/lib/operations/flushAnalytics.d.ts.map +1 -1
  99. package/lib/operations/flushAnalytics.js +0 -2
  100. package/lib/operations/flushAnalytics.js.map +1 -1
  101. package/lib/operations/getAlias.d.ts +10 -15
  102. package/lib/operations/getAlias.d.ts.map +1 -1
  103. package/lib/operations/getAlias.js +0 -2
  104. package/lib/operations/getAlias.js.map +1 -1
  105. package/lib/operations/getAliases.d.ts +11 -15
  106. package/lib/operations/getAliases.d.ts.map +1 -1
  107. package/lib/operations/getAliases.js +0 -2
  108. package/lib/operations/getAliases.js.map +1 -1
  109. package/lib/operations/getAnalyticsEvents.d.ts +20 -35
  110. package/lib/operations/getAnalyticsEvents.d.ts.map +1 -1
  111. package/lib/operations/getAnalyticsEvents.js +0 -2
  112. package/lib/operations/getAnalyticsEvents.js.map +1 -1
  113. package/lib/operations/getAnalyticsStatus.d.ts +14 -21
  114. package/lib/operations/getAnalyticsStatus.d.ts.map +1 -1
  115. package/lib/operations/getAnalyticsStatus.js +0 -2
  116. package/lib/operations/getAnalyticsStatus.js.map +1 -1
  117. package/lib/operations/getCollection.d.ts +57 -107
  118. package/lib/operations/getCollection.d.ts.map +1 -1
  119. package/lib/operations/getCollection.js +6 -7
  120. package/lib/operations/getCollection.js.map +1 -1
  121. package/lib/operations/getCollections.d.ts +57 -107
  122. package/lib/operations/getCollections.d.ts.map +1 -1
  123. package/lib/operations/getCollections.js +6 -7
  124. package/lib/operations/getCollections.js.map +1 -1
  125. package/lib/operations/getDocument.d.ts +8 -11
  126. package/lib/operations/getDocument.d.ts.map +1 -1
  127. package/lib/operations/getDocument.js +2 -3
  128. package/lib/operations/getDocument.js.map +1 -1
  129. package/lib/operations/getKey.d.ts +15 -25
  130. package/lib/operations/getKey.d.ts.map +1 -1
  131. package/lib/operations/getKey.js +0 -2
  132. package/lib/operations/getKey.js.map +1 -1
  133. package/lib/operations/getKeys.d.ts +16 -25
  134. package/lib/operations/getKeys.d.ts.map +1 -1
  135. package/lib/operations/getKeys.js +0 -2
  136. package/lib/operations/getKeys.js.map +1 -1
  137. package/lib/operations/getSchemaChanges.d.ts +10 -13
  138. package/lib/operations/getSchemaChanges.d.ts.map +1 -1
  139. package/lib/operations/getSchemaChanges.js +0 -2
  140. package/lib/operations/getSchemaChanges.js.map +1 -1
  141. package/lib/operations/getStemmingDictionary.d.ts +13 -21
  142. package/lib/operations/getStemmingDictionary.d.ts.map +1 -1
  143. package/lib/operations/getStemmingDictionary.js +0 -2
  144. package/lib/operations/getStemmingDictionary.js.map +1 -1
  145. package/lib/operations/health.d.ts +8 -9
  146. package/lib/operations/health.d.ts.map +1 -1
  147. package/lib/operations/health.js +0 -2
  148. package/lib/operations/health.js.map +1 -1
  149. package/lib/operations/importDocuments.d.ts +8 -11
  150. package/lib/operations/importDocuments.d.ts.map +1 -1
  151. package/lib/operations/importDocuments.js +2 -3
  152. package/lib/operations/importDocuments.js.map +1 -1
  153. package/lib/operations/importStemmingDictionary.d.ts +7 -9
  154. package/lib/operations/importStemmingDictionary.d.ts.map +1 -1
  155. package/lib/operations/importStemmingDictionary.js +0 -2
  156. package/lib/operations/importStemmingDictionary.js.map +1 -1
  157. package/lib/operations/indexDocument.d.ts +9 -13
  158. package/lib/operations/indexDocument.d.ts.map +1 -1
  159. package/lib/operations/indexDocument.js +2 -3
  160. package/lib/operations/indexDocument.js.map +1 -1
  161. package/lib/operations/listStemmingDictionaries.d.ts +8 -9
  162. package/lib/operations/listStemmingDictionaries.d.ts.map +1 -1
  163. package/lib/operations/listStemmingDictionaries.js +0 -2
  164. package/lib/operations/listStemmingDictionaries.js.map +1 -1
  165. package/lib/operations/multiSearch.d.ts +199 -407
  166. package/lib/operations/multiSearch.d.ts.map +1 -1
  167. package/lib/operations/multiSearch.js +0 -2
  168. package/lib/operations/multiSearch.js.map +1 -1
  169. package/lib/operations/retrieveAPIStats.d.ts +20 -33
  170. package/lib/operations/retrieveAPIStats.d.ts.map +1 -1
  171. package/lib/operations/retrieveAPIStats.js +0 -2
  172. package/lib/operations/retrieveAPIStats.js.map +1 -1
  173. package/lib/operations/retrieveAllConversationModels.d.ts +8 -9
  174. package/lib/operations/retrieveAllConversationModels.d.ts.map +1 -1
  175. package/lib/operations/retrieveAllConversationModels.js +0 -2
  176. package/lib/operations/retrieveAllConversationModels.js.map +1 -1
  177. package/lib/operations/retrieveAllNLSearchModels.d.ts +8 -9
  178. package/lib/operations/retrieveAllNLSearchModels.d.ts.map +1 -1
  179. package/lib/operations/retrieveAllNLSearchModels.js +0 -2
  180. package/lib/operations/retrieveAllNLSearchModels.js.map +1 -1
  181. package/lib/operations/retrieveAllPresets.d.ts +156 -15
  182. package/lib/operations/retrieveAllPresets.d.ts.map +1 -1
  183. package/lib/operations/retrieveAllPresets.js +0 -2
  184. package/lib/operations/retrieveAllPresets.js.map +1 -1
  185. package/lib/operations/retrieveAnalyticsRule.d.ts +22 -39
  186. package/lib/operations/retrieveAnalyticsRule.d.ts.map +1 -1
  187. package/lib/operations/retrieveAnalyticsRule.js +0 -2
  188. package/lib/operations/retrieveAnalyticsRule.js.map +1 -1
  189. package/lib/operations/retrieveAnalyticsRules.d.ts +22 -39
  190. package/lib/operations/retrieveAnalyticsRules.d.ts.map +1 -1
  191. package/lib/operations/retrieveAnalyticsRules.js +0 -2
  192. package/lib/operations/retrieveAnalyticsRules.js.map +1 -1
  193. package/lib/operations/retrieveConversationModel.d.ts +9 -13
  194. package/lib/operations/retrieveConversationModel.d.ts.map +1 -1
  195. package/lib/operations/retrieveConversationModel.js +0 -2
  196. package/lib/operations/retrieveConversationModel.js.map +1 -1
  197. package/lib/operations/retrieveCurationSet.d.ts +35 -65
  198. package/lib/operations/retrieveCurationSet.d.ts.map +1 -1
  199. package/lib/operations/retrieveCurationSet.js +0 -2
  200. package/lib/operations/retrieveCurationSet.js.map +1 -1
  201. package/lib/operations/retrieveCurationSetItem.d.ts +32 -59
  202. package/lib/operations/retrieveCurationSetItem.d.ts.map +1 -1
  203. package/lib/operations/retrieveCurationSetItem.js +0 -2
  204. package/lib/operations/retrieveCurationSetItem.js.map +1 -1
  205. package/lib/operations/retrieveCurationSetItems.d.ts +31 -57
  206. package/lib/operations/retrieveCurationSetItems.d.ts.map +1 -1
  207. package/lib/operations/retrieveCurationSetItems.js +0 -2
  208. package/lib/operations/retrieveCurationSetItems.js.map +1 -1
  209. package/lib/operations/retrieveCurationSets.d.ts +34 -61
  210. package/lib/operations/retrieveCurationSets.d.ts.map +1 -1
  211. package/lib/operations/retrieveCurationSets.js +0 -2
  212. package/lib/operations/retrieveCurationSets.js.map +1 -1
  213. package/lib/operations/retrieveMetrics.d.ts +6 -5
  214. package/lib/operations/retrieveMetrics.d.ts.map +1 -1
  215. package/lib/operations/retrieveMetrics.js +2 -3
  216. package/lib/operations/retrieveMetrics.js.map +1 -1
  217. package/lib/operations/retrieveNLSearchModel.d.ts +9 -13
  218. package/lib/operations/retrieveNLSearchModel.d.ts.map +1 -1
  219. package/lib/operations/retrieveNLSearchModel.js +0 -2
  220. package/lib/operations/retrieveNLSearchModel.js.map +1 -1
  221. package/lib/operations/retrievePreset.d.ts +155 -15
  222. package/lib/operations/retrievePreset.d.ts.map +1 -1
  223. package/lib/operations/retrievePreset.js +0 -2
  224. package/lib/operations/retrievePreset.js.map +1 -1
  225. package/lib/operations/retrieveStopwordsSet.d.ts +13 -21
  226. package/lib/operations/retrieveStopwordsSet.d.ts.map +1 -1
  227. package/lib/operations/retrieveStopwordsSet.js +0 -2
  228. package/lib/operations/retrieveStopwordsSet.js.map +1 -1
  229. package/lib/operations/retrieveStopwordsSets.d.ts +12 -17
  230. package/lib/operations/retrieveStopwordsSets.d.ts.map +1 -1
  231. package/lib/operations/retrieveStopwordsSets.js +0 -2
  232. package/lib/operations/retrieveStopwordsSets.js.map +1 -1
  233. package/lib/operations/retrieveSynonymSet.d.ts +16 -27
  234. package/lib/operations/retrieveSynonymSet.d.ts.map +1 -1
  235. package/lib/operations/retrieveSynonymSet.js +0 -2
  236. package/lib/operations/retrieveSynonymSet.js.map +1 -1
  237. package/lib/operations/retrieveSynonymSetItem.d.ts +14 -23
  238. package/lib/operations/retrieveSynonymSetItem.d.ts.map +1 -1
  239. package/lib/operations/retrieveSynonymSetItem.js +0 -2
  240. package/lib/operations/retrieveSynonymSetItem.js.map +1 -1
  241. package/lib/operations/retrieveSynonymSetItems.d.ts +13 -21
  242. package/lib/operations/retrieveSynonymSetItems.d.ts.map +1 -1
  243. package/lib/operations/retrieveSynonymSetItems.js +0 -2
  244. package/lib/operations/retrieveSynonymSetItems.js.map +1 -1
  245. package/lib/operations/retrieveSynonymSets.d.ts +15 -23
  246. package/lib/operations/retrieveSynonymSets.d.ts.map +1 -1
  247. package/lib/operations/retrieveSynonymSets.js +0 -2
  248. package/lib/operations/retrieveSynonymSets.js.map +1 -1
  249. package/lib/operations/searchCollection.d.ts +119 -247
  250. package/lib/operations/searchCollection.d.ts.map +1 -1
  251. package/lib/operations/searchCollection.js +0 -2
  252. package/lib/operations/searchCollection.js.map +1 -1
  253. package/lib/operations/takeSnapshot.d.ts +9 -13
  254. package/lib/operations/takeSnapshot.d.ts.map +1 -1
  255. package/lib/operations/takeSnapshot.js +0 -2
  256. package/lib/operations/takeSnapshot.js.map +1 -1
  257. package/lib/operations/toggleSlowRequestLog.d.ts +9 -13
  258. package/lib/operations/toggleSlowRequestLog.d.ts.map +1 -1
  259. package/lib/operations/toggleSlowRequestLog.js +0 -2
  260. package/lib/operations/toggleSlowRequestLog.js.map +1 -1
  261. package/lib/operations/updateCollection.d.ts +85 -163
  262. package/lib/operations/updateCollection.d.ts.map +1 -1
  263. package/lib/operations/updateCollection.js +10 -11
  264. package/lib/operations/updateCollection.js.map +1 -1
  265. package/lib/operations/updateConversationModel.d.ts +19 -31
  266. package/lib/operations/updateConversationModel.d.ts.map +1 -1
  267. package/lib/operations/updateConversationModel.js +1 -2
  268. package/lib/operations/updateConversationModel.js.map +1 -1
  269. package/lib/operations/updateDocument.d.ts +9 -13
  270. package/lib/operations/updateDocument.d.ts.map +1 -1
  271. package/lib/operations/updateDocument.js +2 -3
  272. package/lib/operations/updateDocument.js.map +1 -1
  273. package/lib/operations/updateDocuments.d.ts +10 -15
  274. package/lib/operations/updateDocuments.d.ts.map +1 -1
  275. package/lib/operations/updateDocuments.js +0 -2
  276. package/lib/operations/updateDocuments.js.map +1 -1
  277. package/lib/operations/updateNLSearchModel.d.ts +9 -13
  278. package/lib/operations/updateNLSearchModel.d.ts.map +1 -1
  279. package/lib/operations/updateNLSearchModel.js +0 -2
  280. package/lib/operations/updateNLSearchModel.js.map +1 -1
  281. package/lib/operations/upsertAlias.d.ts +11 -17
  282. package/lib/operations/upsertAlias.d.ts.map +1 -1
  283. package/lib/operations/upsertAlias.js +0 -2
  284. package/lib/operations/upsertAlias.js.map +1 -1
  285. package/lib/operations/upsertAnalyticsRule.d.ts +33 -61
  286. package/lib/operations/upsertAnalyticsRule.d.ts.map +1 -1
  287. package/lib/operations/upsertAnalyticsRule.js +0 -2
  288. package/lib/operations/upsertAnalyticsRule.js.map +1 -1
  289. package/lib/operations/upsertCurationSet.d.ts +61 -117
  290. package/lib/operations/upsertCurationSet.d.ts.map +1 -1
  291. package/lib/operations/upsertCurationSet.js +0 -2
  292. package/lib/operations/upsertCurationSet.js.map +1 -1
  293. package/lib/operations/upsertCurationSetItem.d.ts +55 -105
  294. package/lib/operations/upsertCurationSetItem.d.ts.map +1 -1
  295. package/lib/operations/upsertCurationSetItem.js +0 -2
  296. package/lib/operations/upsertCurationSetItem.js.map +1 -1
  297. package/lib/operations/upsertPreset.d.ts +301 -17
  298. package/lib/operations/upsertPreset.d.ts.map +1 -1
  299. package/lib/operations/upsertPreset.js +0 -2
  300. package/lib/operations/upsertPreset.js.map +1 -1
  301. package/lib/operations/upsertStopwordsSet.d.ts +13 -21
  302. package/lib/operations/upsertStopwordsSet.d.ts.map +1 -1
  303. package/lib/operations/upsertStopwordsSet.js +0 -2
  304. package/lib/operations/upsertStopwordsSet.js.map +1 -1
  305. package/lib/operations/upsertSynonymSet.d.ts +23 -41
  306. package/lib/operations/upsertSynonymSet.d.ts.map +1 -1
  307. package/lib/operations/upsertSynonymSet.js +0 -2
  308. package/lib/operations/upsertSynonymSet.js.map +1 -1
  309. package/lib/operations/upsertSynonymSetItem.d.ts +18 -31
  310. package/lib/operations/upsertSynonymSetItem.d.ts.map +1 -1
  311. package/lib/operations/upsertSynonymSetItem.js +0 -2
  312. package/lib/operations/upsertSynonymSetItem.js.map +1 -1
  313. package/lib/operations/vote.d.ts +8 -9
  314. package/lib/operations/vote.d.ts.map +1 -1
  315. package/lib/operations/vote.js +0 -2
  316. package/lib/operations/vote.js.map +1 -1
  317. package/package.json +2 -2
  318. package/src/operations/clearCache.ts +8 -4
  319. package/src/operations/compactDb.ts +8 -4
  320. package/src/operations/createAnalyticsEvent.ts +18 -4
  321. package/src/operations/createAnalyticsRule.ts +93 -4
  322. package/src/operations/createCollection.ts +104 -9
  323. package/src/operations/createConversationModel.ts +19 -6
  324. package/src/operations/createKey.ts +20 -4
  325. package/src/operations/createNLSearchModel.ts +29 -4
  326. package/src/operations/debug.ts +6 -4
  327. package/src/operations/deleteAlias.ts +11 -4
  328. package/src/operations/deleteAnalyticsRule.ts +23 -4
  329. package/src/operations/deleteCollection.ts +61 -9
  330. package/src/operations/deleteConversationModel.ts +8 -6
  331. package/src/operations/deleteCurationSet.ts +10 -4
  332. package/src/operations/deleteCurationSetItem.ts +9 -5
  333. package/src/operations/deleteDocument.ts +8 -4
  334. package/src/operations/deleteDocuments.ts +9 -4
  335. package/src/operations/deleteKey.ts +10 -4
  336. package/src/operations/deleteNLSearchModel.ts +10 -4
  337. package/src/operations/deletePreset.ts +10 -4
  338. package/src/operations/deleteStopwordsSet.ts +10 -4
  339. package/src/operations/deleteSynonymSet.ts +10 -4
  340. package/src/operations/deleteSynonymSetItem.ts +9 -4
  341. package/src/operations/exportDocuments.ts +8 -4
  342. package/src/operations/flushAnalytics.ts +8 -4
  343. package/src/operations/getAlias.ts +11 -4
  344. package/src/operations/getAliases.ts +8 -4
  345. package/src/operations/getAnalyticsEvents.ts +21 -4
  346. package/src/operations/getAnalyticsStatus.ts +12 -4
  347. package/src/operations/getCollection.ts +61 -9
  348. package/src/operations/getCollections.ts +61 -9
  349. package/src/operations/getDocument.ts +8 -4
  350. package/src/operations/getKey.ts +16 -4
  351. package/src/operations/getKeys.ts +14 -4
  352. package/src/operations/getSchemaChanges.ts +10 -4
  353. package/src/operations/getStemmingDictionary.ts +9 -5
  354. package/src/operations/health.ts +6 -4
  355. package/src/operations/importDocuments.ts +8 -4
  356. package/src/operations/importStemmingDictionary.ts +8 -6
  357. package/src/operations/indexDocument.ts +9 -4
  358. package/src/operations/listStemmingDictionaries.ts +6 -6
  359. package/src/operations/multiSearch.ts +192 -4
  360. package/src/operations/retrieveAPIStats.ts +20 -4
  361. package/src/operations/retrieveAllConversationModels.ts +4 -6
  362. package/src/operations/retrieveAllNLSearchModels.ts +4 -6
  363. package/src/operations/retrieveAllPresets.ts +159 -4
  364. package/src/operations/retrieveAnalyticsRule.ts +23 -5
  365. package/src/operations/retrieveAnalyticsRules.ts +23 -6
  366. package/src/operations/retrieveConversationModel.ts +10 -6
  367. package/src/operations/retrieveCurationSet.ts +31 -4
  368. package/src/operations/retrieveCurationSetItem.ts +26 -6
  369. package/src/operations/retrieveCurationSetItems.ts +25 -6
  370. package/src/operations/retrieveCurationSets.ts +27 -4
  371. package/src/operations/retrieveMetrics.ts +7 -4
  372. package/src/operations/retrieveNLSearchModel.ts +10 -5
  373. package/src/operations/retrievePreset.ts +158 -4
  374. package/src/operations/retrieveStopwordsSet.ts +10 -4
  375. package/src/operations/retrieveStopwordsSets.ts +6 -5
  376. package/src/operations/retrieveSynonymSet.ts +17 -4
  377. package/src/operations/retrieveSynonymSetItem.ts +13 -6
  378. package/src/operations/retrieveSynonymSetItems.ts +12 -6
  379. package/src/operations/retrieveSynonymSets.ts +13 -4
  380. package/src/operations/searchCollection.ts +110 -4
  381. package/src/operations/takeSnapshot.ts +10 -4
  382. package/src/operations/toggleSlowRequestLog.ts +10 -4
  383. package/src/operations/updateCollection.ts +138 -52
  384. package/src/operations/updateConversationModel.ts +20 -6
  385. package/src/operations/updateDocument.ts +9 -4
  386. package/src/operations/updateDocuments.ts +9 -4
  387. package/src/operations/updateNLSearchModel.ts +10 -4
  388. package/src/operations/upsertAlias.ts +12 -4
  389. package/src/operations/upsertAnalyticsRule.ts +34 -4
  390. package/src/operations/upsertCurationSet.ts +52 -4
  391. package/src/operations/upsertCurationSetItem.ts +44 -5
  392. package/src/operations/upsertPreset.ts +306 -4
  393. package/src/operations/upsertStopwordsSet.ts +14 -4
  394. package/src/operations/upsertSynonymSet.ts +24 -4
  395. package/src/operations/upsertSynonymSetItem.ts +17 -4
  396. package/src/operations/vote.ts +6 -4
@@ -1,30 +1,21 @@
1
1
  import * as Schema from "effect/Schema";
2
- export declare const GetKeysInput: Schema.Struct<{}>;
3
- export type GetKeysInput = typeof GetKeysInput.Type;
4
- export declare const GetKeysOutput: Schema.Struct<{
5
- readonly keys: Schema.$Array<Schema.Struct<{
6
- readonly value: Schema.optional<Schema.String>;
7
- readonly description: Schema.String;
8
- readonly actions: Schema.$Array<Schema.String>;
9
- readonly collections: Schema.$Array<Schema.String>;
10
- readonly expires_at: Schema.optional<Schema.Number>;
11
- readonly id: Schema.optional<Schema.Number>;
12
- readonly value_prefix: Schema.optional<Schema.String>;
13
- }>>;
14
- }>;
15
- export type GetKeysOutput = typeof GetKeysOutput.Type;
2
+ export interface GetKeysInput {
3
+ }
4
+ export declare const GetKeysInput: Schema.Codec<GetKeysInput>;
5
+ export interface GetKeysOutput {
6
+ keys: {
7
+ value?: string;
8
+ description: string;
9
+ actions: string[];
10
+ collections: string[];
11
+ expires_at?: number;
12
+ id?: number;
13
+ value_prefix?: string;
14
+ }[];
15
+ }
16
+ export declare const GetKeysOutput: Schema.Codec<GetKeysOutput>;
16
17
  /**
17
18
  * Retrieve (metadata about) all keys.
18
19
  */
19
- export declare const getKeys: import("@distilled.cloud/core/client").OperationMethod<{}, {
20
- readonly keys: readonly {
21
- readonly value?: string | undefined;
22
- readonly description: string;
23
- readonly actions: readonly string[];
24
- readonly collections: readonly string[];
25
- readonly expires_at?: number | undefined;
26
- readonly id?: number | undefined;
27
- readonly value_prefix?: string | undefined;
28
- }[];
29
- }, never, import("~/credentials.ts").Credentials, never>;
20
+ export declare const getKeys: import("@distilled.cloud/core/client").OperationMethod<GetKeysInput, GetKeysOutput, never, import("../credentials.ts").Credentials, never>;
30
21
  //# sourceMappingURL=getKeys.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getKeys.d.ts","sourceRoot":"","sources":["../../src/operations/getKeys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,YAAY,mBAExB,CAAC;AACF,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,IAAI,CAAC;AAGpD,eAAO,MAAM,aAAa;;;;;;;;;;EAYxB,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC,IAAI,CAAC;AAGtD;;GAEG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;wDAGjB,CAAC"}
1
+ {"version":3,"file":"getKeys.d.ts","sourceRoot":"","sources":["../../src/operations/getKeys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,YAAY;CAAG;AAChC,eAAO,MAAM,YAAY,EAET,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;AAG3C,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE;QACJ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,WAAW,EAAE,MAAM,EAAE,CAAC;QACtB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,EAAE,CAAC;CACL;AACD,eAAO,MAAM,aAAa,EAYT,MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;AAG7C;;GAEG;AACH,eAAO,MAAM,OAAO,4IAGjB,CAAC"}
@@ -1,9 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
- // Input Schema
5
4
  export const GetKeysInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/keys" }));
6
- // Output Schema
7
5
  export const GetKeysOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
6
  keys: Schema.Array(Schema.Struct({
9
7
  value: Schema.optional(Schema.String),
@@ -1 +1 @@
1
- {"version":3,"file":"getKeys.js","sourceRoot":"","sources":["../../src/operations/getKeys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAC5E,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CACzC,CAAC;AAGF,gBAAgB;AAChB,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACrE,IAAI,EAAE,MAAM,CAAC,KAAK,CAChB,MAAM,CAAC,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACrC,WAAW,EAAE,MAAM,CAAC,MAAM;QAC1B,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;QACpC,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;QACxC,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC1C,EAAE,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAClC,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KAC7C,CAAC,CACH;CACF,CAAC,CAAC;AAGH,gBAAgB;AAChB;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACjE,WAAW,EAAE,YAAY;IACzB,YAAY,EAAE,aAAa;CAC5B,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"getKeys.js","sourceRoot":"","sources":["../../src/operations/getKeys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAIlC,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAC5E,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CACA,CAAC;AAc3C,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACrE,IAAI,EAAE,MAAM,CAAC,KAAK,CAChB,MAAM,CAAC,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACrC,WAAW,EAAE,MAAM,CAAC,MAAM;QAC1B,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;QACpC,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;QACxC,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC1C,EAAE,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAClC,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KAC7C,CAAC,CACH;CACF,CAA2C,CAAC;AAE7C,gBAAgB;AAChB;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACjE,WAAW,EAAE,YAAY;IACzB,YAAY,EAAE,aAAa;CAC5B,CAAC,CAAC,CAAC"}
@@ -1,20 +1,17 @@
1
1
  import * as Schema from "effect/Schema";
2
- export declare const GetSchemaChangesInput: Schema.Struct<{}>;
3
- export type GetSchemaChangesInput = typeof GetSchemaChangesInput.Type;
4
- export declare const GetSchemaChangesOutput: Schema.$Array<Schema.Struct<{
5
- readonly collection: Schema.optional<Schema.String>;
6
- readonly validated_docs: Schema.optional<Schema.Number>;
7
- readonly altered_docs: Schema.optional<Schema.Number>;
8
- }>>;
9
- export type GetSchemaChangesOutput = typeof GetSchemaChangesOutput.Type;
2
+ export interface GetSchemaChangesInput {
3
+ }
4
+ export declare const GetSchemaChangesInput: Schema.Codec<GetSchemaChangesInput>;
5
+ export type GetSchemaChangesOutput = {
6
+ collection?: string;
7
+ validated_docs?: number;
8
+ altered_docs?: number;
9
+ }[];
10
+ export declare const GetSchemaChangesOutput: Schema.Codec<GetSchemaChangesOutput>;
10
11
  /**
11
12
  * Get the status of in-progress schema change operations
12
13
  *
13
14
  * Returns the status of any ongoing schema change operations. If no schema changes are in progress, returns an empty response.
14
15
  */
15
- export declare const getSchemaChanges: import("@distilled.cloud/core/client").OperationMethod<{}, readonly {
16
- readonly collection?: string | undefined;
17
- readonly validated_docs?: number | undefined;
18
- readonly altered_docs?: number | undefined;
19
- }[], never, import("~/credentials.ts").Credentials, never>;
16
+ export declare const getSchemaChanges: import("@distilled.cloud/core/client").OperationMethod<GetSchemaChangesInput, GetSchemaChangesOutput, never, import("../credentials.ts").Credentials, never>;
20
17
  //# sourceMappingURL=getSchemaChanges.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getSchemaChanges.d.ts","sourceRoot":"","sources":["../../src/operations/getSchemaChanges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,qBAAqB,mBAEmC,CAAC;AACtE,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE,eAAO,MAAM,sBAAsB;;;;GAMlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;;;0DAG1B,CAAC"}
1
+ {"version":3,"file":"getSchemaChanges.d.ts","sourceRoot":"","sources":["../../src/operations/getSchemaChanges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,qBAAqB;CAAG;AACzC,eAAO,MAAM,qBAAqB,EAIlB,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;AAGpD,MAAM,MAAM,sBAAsB,GAAG;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,EAAE,CAAC;AACJ,eAAO,MAAM,sBAAsB,EAMnB,MAAM,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;AAGrD;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,8JAG1B,CAAC"}
@@ -1,9 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
- // Input Schema
5
4
  export const GetSchemaChangesInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/operations/schema_changes" }));
6
- // Output Schema
7
5
  export const GetSchemaChangesOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(Schema.Struct({
8
6
  collection: Schema.optional(Schema.String),
9
7
  validated_docs: Schema.optional(Schema.Number),
@@ -1 +1 @@
1
- {"version":3,"file":"getSchemaChanges.js","sourceRoot":"","sources":["../../src/operations/getSchemaChanges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAC5E,EAAE,CACH,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,4BAA4B,EAAE,CAAC,CAAC,CAAC;AAGtE,gBAAgB;AAChB,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CAC5E,MAAM,CAAC,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1C,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC9C,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC7C,CAAC,CACH,CAAC;AAGF,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1E,WAAW,EAAE,qBAAqB;IAClC,YAAY,EAAE,sBAAsB;CACrC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"getSchemaChanges.js","sourceRoot":"","sources":["../../src/operations/getSchemaChanges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAIlC,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAC5E,EAAE,CACH,CAAC,IAAI,CACJ,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,4BAA4B,EAAE,CAAC,CACZ,CAAC;AAQpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CAC5E,MAAM,CAAC,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1C,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC9C,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC7C,CAAC,CACgD,CAAC;AAErD,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1E,WAAW,EAAE,qBAAqB;IAClC,YAAY,EAAE,sBAAsB;CACrC,CAAC,CAAC,CAAC"}
@@ -1,17 +1,17 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { NotFound } from "../errors.ts";
3
- export declare const GetStemmingDictionaryInput: Schema.Struct<{
4
- readonly dictionaryId: Schema.String;
5
- }>;
6
- export type GetStemmingDictionaryInput = typeof GetStemmingDictionaryInput.Type;
7
- export declare const GetStemmingDictionaryOutput: Schema.Struct<{
8
- readonly id: Schema.String;
9
- readonly words: Schema.$Array<Schema.Struct<{
10
- readonly word: Schema.String;
11
- readonly root: Schema.String;
12
- }>>;
13
- }>;
14
- export type GetStemmingDictionaryOutput = typeof GetStemmingDictionaryOutput.Type;
3
+ export interface GetStemmingDictionaryInput {
4
+ dictionaryId: string;
5
+ }
6
+ export declare const GetStemmingDictionaryInput: Schema.Codec<GetStemmingDictionaryInput>;
7
+ export interface GetStemmingDictionaryOutput {
8
+ id: string;
9
+ words: {
10
+ word: string;
11
+ root: string;
12
+ }[];
13
+ }
14
+ export declare const GetStemmingDictionaryOutput: Schema.Codec<GetStemmingDictionaryOutput>;
15
15
  /**
16
16
  * Retrieve a stemming dictionary
17
17
  *
@@ -19,13 +19,5 @@ export type GetStemmingDictionaryOutput = typeof GetStemmingDictionaryOutput.Typ
19
19
  *
20
20
  * @param dictionaryId - The ID of the dictionary to retrieve
21
21
  */
22
- export declare const getStemmingDictionary: import("@distilled.cloud/core/client").OperationMethod<{
23
- readonly dictionaryId: string;
24
- }, {
25
- readonly id: string;
26
- readonly words: readonly {
27
- readonly word: string;
28
- readonly root: string;
29
- }[];
30
- }, NotFound, import("~/credentials.ts").Credentials, never>;
22
+ export declare const getStemmingDictionary: import("@distilled.cloud/core/client").OperationMethod<GetStemmingDictionaryInput, GetStemmingDictionaryOutput, NotFound, import("../credentials.ts").Credentials, never>;
31
23
  //# sourceMappingURL=getStemmingDictionary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getStemmingDictionary.d.ts","sourceRoot":"","sources":["../../src/operations/getStemmingDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,eAAO,MAAM,0BAA0B;;EAKpC,CAAC;AACJ,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;;;;;EASpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;2DAMjC,CAAC"}
1
+ {"version":3,"file":"getStemmingDictionary.d.ts","sourceRoot":"","sources":["../../src/operations/getStemmingDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,WAAW,0BAA0B;IACzC,YAAY,EAAE,MAAM,CAAC;CACtB;AACD,eAAO,MAAM,0BAA0B,EAKrB,MAAM,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC;AAG3D,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACzC;AACD,eAAO,MAAM,2BAA2B,EASrB,MAAM,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;AAG7D;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,2KAMjC,CAAC"}
@@ -2,12 +2,10 @@ import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
4
  import { NotFound } from "../errors.js";
5
- // Input Schema
6
5
  export const GetStemmingDictionaryInput =
7
6
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
7
  dictionaryId: Schema.String.pipe(T.PathParam()),
9
8
  }).pipe(T.Http({ method: "GET", path: "/stemming/dictionaries/{dictionaryId}" }));
10
- // Output Schema
11
9
  export const GetStemmingDictionaryOutput =
12
10
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
13
11
  id: Schema.String,
@@ -1 +1 @@
1
- {"version":3,"file":"getStemmingDictionary.js","sourceRoot":"","sources":["../../src/operations/getStemmingDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,eAAe;AACf,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAChD,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,uCAAuC,EAAE,CAAC,CACzE,CAAC;AAGJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B;AACtC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC,MAAM;IACjB,KAAK,EAAE,MAAM,CAAC,KAAK,CACjB,MAAM,CAAC,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,IAAI,EAAE,MAAM,CAAC,MAAM;KACpB,CAAC,CACH;CACF,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACvE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,0BAA0B;IACvC,YAAY,EAAE,2BAA2B;IACzC,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CACH,CAAC"}
1
+ {"version":3,"file":"getStemmingDictionary.js","sourceRoot":"","sources":["../../src/operations/getStemmingDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAMxC,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAChD,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,uCAAuC,EAAE,CAAC,CAClB,CAAC;AAO3D,MAAM,CAAC,MAAM,2BAA2B;AACtC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC,MAAM;IACjB,KAAK,EAAE,MAAM,CAAC,KAAK,CACjB,MAAM,CAAC,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,IAAI,EAAE,MAAM,CAAC,MAAM;KACpB,CAAC,CACH;CACF,CAAyD,CAAC;AAE7D,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACvE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,0BAA0B;IACvC,YAAY,EAAE,2BAA2B;IACzC,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CACH,CAAC"}
@@ -1,14 +1,13 @@
1
1
  import * as Schema from "effect/Schema";
2
- export declare const HealthInput: Schema.Struct<{}>;
3
- export type HealthInput = typeof HealthInput.Type;
4
- export declare const HealthOutput: Schema.Struct<{
5
- readonly ok: Schema.Boolean;
6
- }>;
7
- export type HealthOutput = typeof HealthOutput.Type;
2
+ export interface HealthInput {
3
+ }
4
+ export declare const HealthInput: Schema.Codec<HealthInput>;
5
+ export interface HealthOutput {
6
+ ok: boolean;
7
+ }
8
+ export declare const HealthOutput: Schema.Codec<HealthOutput>;
8
9
  /**
9
10
  * Checks if Typesense server is ready to accept requests.
10
11
  */
11
- export declare const health: import("@distilled.cloud/core/client").OperationMethod<{}, {
12
- readonly ok: boolean;
13
- }, never, import("~/credentials.ts").Credentials, never>;
12
+ export declare const health: import("@distilled.cloud/core/client").OperationMethod<HealthInput, HealthOutput, never, import("../credentials.ts").Credentials, never>;
14
13
  //# sourceMappingURL=health.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"health.d.ts","sourceRoot":"","sources":["../../src/operations/health.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,WAAW,mBAEvB,CAAC;AACF,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAC,IAAI,CAAC;AAGlD,eAAO,MAAM,YAAY;;EAEvB,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,IAAI,CAAC;AAGpD;;GAEG;AACH,eAAO,MAAM,MAAM;;wDAGhB,CAAC"}
1
+ {"version":3,"file":"health.d.ts","sourceRoot":"","sources":["../../src/operations/health.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,WAAW;CAAG;AAC/B,eAAO,MAAM,WAAW,EAER,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;AAG1C,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,OAAO,CAAC;CACb;AACD,eAAO,MAAM,YAAY,EAER,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;AAG5C;;GAEG;AACH,eAAO,MAAM,MAAM,0IAGhB,CAAC"}
@@ -1,9 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
- // Input Schema
5
4
  export const HealthInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/health" }));
6
- // Output Schema
7
5
  export const HealthOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
6
  ok: Schema.Boolean,
9
7
  });
@@ -1 +1 @@
1
- {"version":3,"file":"health.js","sourceRoot":"","sources":["../../src/operations/health.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAC3E,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAC3C,CAAC;AAGF,gBAAgB;AAChB,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACpE,EAAE,EAAE,MAAM,CAAC,OAAO;CACnB,CAAC,CAAC;AAGH,gBAAgB;AAChB;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChE,WAAW,EAAE,WAAW;IACxB,YAAY,EAAE,YAAY;CAC3B,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"health.js","sourceRoot":"","sources":["../../src/operations/health.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAIlC,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAC3E,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CACH,CAAC;AAM1C,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACpE,EAAE,EAAE,MAAM,CAAC,OAAO;CACnB,CAA0C,CAAC;AAE5C,gBAAgB;AAChB;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChE,WAAW,EAAE,WAAW;IACxB,YAAY,EAAE,YAAY;CAC3B,CAAC,CAAC,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { BadRequest, NotFound } from "../errors.ts";
3
- export declare const ImportDocumentsInput: Schema.Struct<{
4
- readonly collectionName: Schema.String;
5
- readonly importDocumentsParameters: Schema.optional<Schema.String>;
6
- }>;
7
- export type ImportDocumentsInput = typeof ImportDocumentsInput.Type;
8
- export declare const ImportDocumentsOutput: Schema.Void;
9
- export type ImportDocumentsOutput = typeof ImportDocumentsOutput.Type;
3
+ export interface ImportDocumentsInput {
4
+ collectionName: string;
5
+ importDocumentsParameters?: string;
6
+ }
7
+ export declare const ImportDocumentsInput: Schema.Codec<ImportDocumentsInput>;
8
+ export type ImportDocumentsOutput = void;
9
+ export declare const ImportDocumentsOutput: Schema.Codec<ImportDocumentsOutput>;
10
10
  /**
11
11
  * Import documents into a collection
12
12
  *
@@ -14,8 +14,5 @@ export type ImportDocumentsOutput = typeof ImportDocumentsOutput.Type;
14
14
  *
15
15
  * @param collectionName - The name of the collection
16
16
  */
17
- export declare const importDocuments: import("@distilled.cloud/core/client").OperationMethod<{
18
- readonly collectionName: string;
19
- readonly importDocumentsParameters?: string | undefined;
20
- }, void, BadRequest | NotFound, import("~/credentials.ts").Credentials, never>;
17
+ export declare const importDocuments: import("@distilled.cloud/core/client").OperationMethod<ImportDocumentsInput, void, BadRequest | NotFound, import("../credentials.ts").Credentials, never>;
21
18
  //# sourceMappingURL=importDocuments.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"importDocuments.d.ts","sourceRoot":"","sources":["../../src/operations/importDocuments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGpD,eAAO,MAAM,oBAAoB;;;EAQhC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE,eAAO,MAAM,qBAAqB,aAA0C,CAAC;AAC7E,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;;8EAIzB,CAAC"}
1
+ {"version":3,"file":"importDocuments.d.ts","sourceRoot":"","sources":["../../src/operations/importDocuments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,MAAM,CAAC;IACvB,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACpC;AACD,eAAO,MAAM,oBAAoB,EAQjB,MAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;AAGnD,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC;AACzC,eAAO,MAAM,qBAAqB,EACsB,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;AAG5F;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,2JAIzB,CAAC"}
@@ -2,7 +2,6 @@ import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
4
  import { BadRequest, NotFound } from "../errors.js";
5
- // Input Schema
6
5
  export const ImportDocumentsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
6
  collectionName: Schema.String.pipe(T.PathParam()),
8
7
  importDocumentsParameters: Schema.optional(Schema.String),
@@ -10,8 +9,8 @@ export const ImportDocumentsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
10
9
  method: "POST",
11
10
  path: "/collections/{collectionName}/documents/import",
12
11
  }));
13
- // Output Schema
14
- export const ImportDocumentsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
12
+ export const ImportDocumentsOutput =
13
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
15
14
  // The operation
16
15
  /**
17
16
  * Import documents into a collection
@@ -1 +1 @@
1
- {"version":3,"file":"importDocuments.js","sourceRoot":"","sources":["../../src/operations/importDocuments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAEpD,eAAe;AACf,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5E,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACjD,yBAAyB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC1D,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,gDAAgD;CACvD,CAAC,CACH,CAAC;AAGF,gBAAgB;AAChB,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAG7E,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACzE,WAAW,EAAE,oBAAoB;IACjC,YAAY,EAAE,qBAAqB;IACnC,MAAM,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAU;CACxC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"importDocuments.js","sourceRoot":"","sources":["../../src/operations/importDocuments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAOpD,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5E,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACjD,yBAAyB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC1D,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,gDAAgD;CACvD,CAAC,CAC8C,CAAC;AAInD,MAAM,CAAC,MAAM,qBAAqB;AAChC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAsD,CAAC;AAE5F,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACzE,WAAW,EAAE,oBAAoB;IACjC,YAAY,EAAE,qBAAqB;IACnC,MAAM,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAU;CACxC,CAAC,CAAC,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { BadRequest } from "../errors.ts";
3
- export declare const ImportStemmingDictionaryInput: Schema.Struct<{
4
- readonly id: Schema.String;
5
- }>;
6
- export type ImportStemmingDictionaryInput = typeof ImportStemmingDictionaryInput.Type;
7
- export declare const ImportStemmingDictionaryOutput: Schema.Void;
8
- export type ImportStemmingDictionaryOutput = typeof ImportStemmingDictionaryOutput.Type;
3
+ export interface ImportStemmingDictionaryInput {
4
+ id: string;
5
+ }
6
+ export declare const ImportStemmingDictionaryInput: Schema.Codec<ImportStemmingDictionaryInput>;
7
+ export type ImportStemmingDictionaryOutput = void;
8
+ export declare const ImportStemmingDictionaryOutput: Schema.Codec<ImportStemmingDictionaryOutput>;
9
9
  /**
10
10
  * Import a stemming dictionary
11
11
  *
@@ -13,7 +13,5 @@ export type ImportStemmingDictionaryOutput = typeof ImportStemmingDictionaryOutp
13
13
  *
14
14
  * @param id - The ID to assign to the dictionary
15
15
  */
16
- export declare const importStemmingDictionary: import("@distilled.cloud/core/client").OperationMethod<{
17
- readonly id: string;
18
- }, void, BadRequest, import("~/credentials.ts").Credentials, never>;
16
+ export declare const importStemmingDictionary: import("@distilled.cloud/core/client").OperationMethod<ImportStemmingDictionaryInput, void, BadRequest, import("../credentials.ts").Credentials, never>;
19
17
  //# sourceMappingURL=importStemmingDictionary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"importStemmingDictionary.d.ts","sourceRoot":"","sources":["../../src/operations/importStemmingDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,eAAO,MAAM,6BAA6B;;EAGkC,CAAC;AAC7E,MAAM,MAAM,6BAA6B,GACvC,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAG5C,eAAO,MAAM,8BAA8B,aACF,CAAC;AAC1C,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB;;mEAMpC,CAAC"}
1
+ {"version":3,"file":"importStemmingDictionary.d.ts","sourceRoot":"","sources":["../../src/operations/importStemmingDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,eAAO,MAAM,6BAA6B,EAKxB,MAAM,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC;AAG9D,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAAC;AAClD,eAAO,MAAM,8BAA8B,EACa,MAAM,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC;AAGrG;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,yJAMpC,CAAC"}
@@ -2,12 +2,10 @@ import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
4
  import { BadRequest } from "../errors.js";
5
- // Input Schema
6
5
  export const ImportStemmingDictionaryInput =
7
6
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
7
  id: Schema.String,
9
8
  }).pipe(T.Http({ method: "POST", path: "/stemming/dictionaries/import" }));
10
- // Output Schema
11
9
  export const ImportStemmingDictionaryOutput =
12
10
  /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
13
11
  // The operation
@@ -1 +1 @@
1
- {"version":3,"file":"importStemmingDictionary.js","sourceRoot":"","sources":["../../src/operations/importStemmingDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,eAAe;AACf,MAAM,CAAC,MAAM,6BAA6B;AACxC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC,MAAM;CAClB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,+BAA+B,EAAE,CAAC,CAAC,CAAC;AAI7E,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B;AACzC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAI1C,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC1E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,6BAA6B;IAC1C,YAAY,EAAE,8BAA8B;IAC5C,MAAM,EAAE,CAAC,UAAU,CAAU;CAC9B,CAAC,CACH,CAAC"}
1
+ {"version":3,"file":"importStemmingDictionary.js","sourceRoot":"","sources":["../../src/operations/importStemmingDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAM1C,MAAM,CAAC,MAAM,6BAA6B;AACxC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC,MAAM;CAClB,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,+BAA+B,EAAE,CAAC,CACR,CAAC;AAI9D,MAAM,CAAC,MAAM,8BAA8B;AACzC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAA+D,CAAC;AAErG,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC1E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,6BAA6B;IAC1C,YAAY,EAAE,8BAA8B;IAC5C,MAAM,EAAE,CAAC,UAAU,CAAU;CAC9B,CAAC,CACH,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { NotFound } from "../errors.ts";
3
- export declare const IndexDocumentInput: Schema.Struct<{
4
- readonly collectionName: Schema.String;
5
- readonly action: Schema.optional<Schema.String>;
6
- readonly dirty_values: Schema.optional<Schema.String>;
7
- }>;
8
- export type IndexDocumentInput = typeof IndexDocumentInput.Type;
9
- export declare const IndexDocumentOutput: Schema.Unknown;
10
- export type IndexDocumentOutput = typeof IndexDocumentOutput.Type;
3
+ export interface IndexDocumentInput {
4
+ collectionName: string;
5
+ action?: string;
6
+ dirty_values?: string;
7
+ }
8
+ export declare const IndexDocumentInput: Schema.Codec<IndexDocumentInput>;
9
+ export type IndexDocumentOutput = unknown;
10
+ export declare const IndexDocumentOutput: Schema.Codec<IndexDocumentOutput>;
11
11
  /**
12
12
  * Index a document
13
13
  *
@@ -17,9 +17,5 @@ export type IndexDocumentOutput = typeof IndexDocumentOutput.Type;
17
17
  * @param action - Additional action to perform
18
18
  * @param dirty_values - Dealing with Dirty Data
19
19
  */
20
- export declare const indexDocument: import("@distilled.cloud/core/client").OperationMethod<{
21
- readonly collectionName: string;
22
- readonly action?: string | undefined;
23
- readonly dirty_values?: string | undefined;
24
- }, unknown, NotFound, import("~/credentials.ts").Credentials, never>;
20
+ export declare const indexDocument: import("@distilled.cloud/core/client").OperationMethod<IndexDocumentInput, unknown, NotFound, import("../credentials.ts").Credentials, never>;
25
21
  //# sourceMappingURL=indexDocument.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"indexDocument.d.ts","sourceRoot":"","sources":["../../src/operations/indexDocument.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,eAAO,MAAM,kBAAkB;;;;EAM9B,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB,gBAA6C,CAAC;AAC9E,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa;;;;oEAIvB,CAAC"}
1
+ {"version":3,"file":"indexDocument.d.ts","sourceRoot":"","sources":["../../src/operations/indexDocument.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AACD,eAAO,MAAM,kBAAkB,EAMf,MAAM,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;AAGjD,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;AAC1C,eAAO,MAAM,mBAAmB,EAC2B,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAG7F;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,+IAIvB,CAAC"}
@@ -2,14 +2,13 @@ import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
4
  import { NotFound } from "../errors.js";
5
- // Input Schema
6
5
  export const IndexDocumentInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
6
  collectionName: Schema.String.pipe(T.PathParam()),
8
7
  action: Schema.optional(Schema.String),
9
8
  dirty_values: Schema.optional(Schema.String),
10
9
  }).pipe(T.Http({ method: "POST", path: "/collections/{collectionName}/documents" }));
11
- // Output Schema
12
- export const IndexDocumentOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Unknown;
10
+ export const IndexDocumentOutput =
11
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Unknown;
13
12
  // The operation
14
13
  /**
15
14
  * Index a document
@@ -1 +1 @@
1
- {"version":3,"file":"indexDocument.js","sourceRoot":"","sources":["../../src/operations/indexDocument.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,eAAe;AACf,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1E,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACjD,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC7C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,yCAAyC,EAAE,CAAC,CAC5E,CAAC;AAGF,gBAAgB;AAChB,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,OAAO,CAAC;AAG9E,gBAAgB;AAChB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACvE,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;IACjC,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"indexDocument.js","sourceRoot":"","sources":["../../src/operations/indexDocument.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAQxC,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1E,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACjD,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC7C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,yCAAyC,EAAE,CAAC,CAC7B,CAAC;AAIjD,MAAM,CAAC,MAAM,mBAAmB;AAC9B,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,OAAuD,CAAC;AAE7F,gBAAgB;AAChB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACvE,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;IACjC,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CAAC,CAAC"}
@@ -1,16 +1,15 @@
1
1
  import * as Schema from "effect/Schema";
2
- export declare const ListStemmingDictionariesInput: Schema.Struct<{}>;
3
- export type ListStemmingDictionariesInput = typeof ListStemmingDictionariesInput.Type;
4
- export declare const ListStemmingDictionariesOutput: Schema.Struct<{
5
- readonly dictionaries: Schema.optional<Schema.$Array<Schema.String>>;
6
- }>;
7
- export type ListStemmingDictionariesOutput = typeof ListStemmingDictionariesOutput.Type;
2
+ export interface ListStemmingDictionariesInput {
3
+ }
4
+ export declare const ListStemmingDictionariesInput: Schema.Codec<ListStemmingDictionariesInput>;
5
+ export interface ListStemmingDictionariesOutput {
6
+ dictionaries?: string[];
7
+ }
8
+ export declare const ListStemmingDictionariesOutput: Schema.Codec<ListStemmingDictionariesOutput>;
8
9
  /**
9
10
  * List all stemming dictionaries
10
11
  *
11
12
  * Retrieve a list of all available stemming dictionaries.
12
13
  */
13
- export declare const listStemmingDictionaries: import("@distilled.cloud/core/client").OperationMethod<{}, {
14
- readonly dictionaries?: readonly string[] | undefined;
15
- }, never, import("~/credentials.ts").Credentials, never>;
14
+ export declare const listStemmingDictionaries: import("@distilled.cloud/core/client").OperationMethod<ListStemmingDictionariesInput, ListStemmingDictionariesOutput, never, import("../credentials.ts").Credentials, never>;
16
15
  //# sourceMappingURL=listStemmingDictionaries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"listStemmingDictionaries.d.ts","sourceRoot":"","sources":["../../src/operations/listStemmingDictionaries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,6BAA6B,mBAGvC,CAAC;AACJ,MAAM,MAAM,6BAA6B,GACvC,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAG5C,eAAO,MAAM,8BAA8B;;EAGvC,CAAC;AACL,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;wDAKpC,CAAC"}
1
+ {"version":3,"file":"listStemmingDictionaries.d.ts","sourceRoot":"","sources":["../../src/operations/listStemmingDictionaries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,6BAA6B;CAAG;AACjD,eAAO,MAAM,6BAA6B,EAGxB,MAAM,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC;AAG9D,MAAM,WAAW,8BAA8B;IAC7C,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB;AACD,eAAO,MAAM,8BAA8B,EAGxB,MAAM,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC;AAGhE;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,8KAKpC,CAAC"}
@@ -1,10 +1,8 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
- // Input Schema
5
4
  export const ListStemmingDictionariesInput =
6
5
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/stemming/dictionaries" }));
7
- // Output Schema
8
6
  export const ListStemmingDictionariesOutput =
9
7
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
10
8
  dictionaries: Schema.optional(Schema.Array(Schema.String)),
@@ -1 +1 @@
1
- {"version":3,"file":"listStemmingDictionaries.js","sourceRoot":"","sources":["../../src/operations/listStemmingDictionaries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,6BAA6B;AACxC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAChD,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,wBAAwB,EAAE,CAAC,CAC1D,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B;AACzC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;CAC3D,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC1E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,6BAA6B;IAC1C,YAAY,EAAE,8BAA8B;CAC7C,CAAC,CACH,CAAC"}
1
+ {"version":3,"file":"listStemmingDictionaries.js","sourceRoot":"","sources":["../../src/operations/listStemmingDictionaries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAIlC,MAAM,CAAC,MAAM,6BAA6B;AACxC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAChD,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,wBAAwB,EAAE,CAAC,CACA,CAAC;AAM9D,MAAM,CAAC,MAAM,8BAA8B;AACzC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;CAC3D,CAA4D,CAAC;AAEhE,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC1E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,6BAA6B;IAC1C,YAAY,EAAE,8BAA8B;CAC7C,CAAC,CACH,CAAC"}