@keystrokehq/pinecone 0.1.0 → 0.1.3

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 (398) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/cancel-bulk-import.cjs +1 -1
  5. package/dist/actions/cancel-bulk-import.cjs.map +1 -1
  6. package/dist/actions/cancel-bulk-import.d.cts +9 -3
  7. package/dist/actions/cancel-bulk-import.d.cts.map +1 -1
  8. package/dist/actions/cancel-bulk-import.d.mts +9 -3
  9. package/dist/actions/cancel-bulk-import.d.mts.map +1 -1
  10. package/dist/actions/cancel-bulk-import.mjs +1 -1
  11. package/dist/actions/cancel-bulk-import.mjs.map +1 -1
  12. package/dist/actions/chat-assistant.cjs +9 -9
  13. package/dist/actions/chat-assistant.cjs.map +1 -1
  14. package/dist/actions/chat-assistant.d.cts +72 -3
  15. package/dist/actions/chat-assistant.d.cts.map +1 -1
  16. package/dist/actions/chat-assistant.d.mts +72 -3
  17. package/dist/actions/chat-assistant.d.mts.map +1 -1
  18. package/dist/actions/chat-assistant.mjs +9 -9
  19. package/dist/actions/chat-assistant.mjs.map +1 -1
  20. package/dist/actions/chat-completion-assistant.cjs +9 -9
  21. package/dist/actions/chat-completion-assistant.cjs.map +1 -1
  22. package/dist/actions/chat-completion-assistant.d.cts +42 -3
  23. package/dist/actions/chat-completion-assistant.d.cts.map +1 -1
  24. package/dist/actions/chat-completion-assistant.d.mts +42 -3
  25. package/dist/actions/chat-completion-assistant.d.mts.map +1 -1
  26. package/dist/actions/chat-completion-assistant.mjs +9 -9
  27. package/dist/actions/chat-completion-assistant.mjs.map +1 -1
  28. package/dist/actions/configure-index.cjs +12 -12
  29. package/dist/actions/configure-index.cjs.map +1 -1
  30. package/dist/actions/configure-index.d.cts +58 -3
  31. package/dist/actions/configure-index.d.cts.map +1 -1
  32. package/dist/actions/configure-index.d.mts +58 -3
  33. package/dist/actions/configure-index.d.mts.map +1 -1
  34. package/dist/actions/configure-index.mjs +12 -12
  35. package/dist/actions/configure-index.mjs.map +1 -1
  36. package/dist/actions/create-assistant.cjs +7 -7
  37. package/dist/actions/create-assistant.cjs.map +1 -1
  38. package/dist/actions/create-assistant.d.cts +27 -3
  39. package/dist/actions/create-assistant.d.cts.map +1 -1
  40. package/dist/actions/create-assistant.d.mts +27 -3
  41. package/dist/actions/create-assistant.d.mts.map +1 -1
  42. package/dist/actions/create-assistant.mjs +7 -7
  43. package/dist/actions/create-assistant.mjs.map +1 -1
  44. package/dist/actions/create-backup.cjs +1 -1
  45. package/dist/actions/create-backup.cjs.map +1 -1
  46. package/dist/actions/create-backup.d.cts +23 -3
  47. package/dist/actions/create-backup.d.cts.map +1 -1
  48. package/dist/actions/create-backup.d.mts +23 -3
  49. package/dist/actions/create-backup.d.mts.map +1 -1
  50. package/dist/actions/create-backup.mjs +1 -1
  51. package/dist/actions/create-backup.mjs.map +1 -1
  52. package/dist/actions/create-index-for-model.cjs +11 -11
  53. package/dist/actions/create-index-for-model.cjs.map +1 -1
  54. package/dist/actions/create-index-for-model.d.cts +64 -3
  55. package/dist/actions/create-index-for-model.d.cts.map +1 -1
  56. package/dist/actions/create-index-for-model.d.mts +64 -3
  57. package/dist/actions/create-index-for-model.d.mts.map +1 -1
  58. package/dist/actions/create-index-for-model.mjs +11 -11
  59. package/dist/actions/create-index-for-model.mjs.map +1 -1
  60. package/dist/actions/create-index-from-backup.cjs +2 -2
  61. package/dist/actions/create-index-from-backup.cjs.map +1 -1
  62. package/dist/actions/create-index-from-backup.d.cts +16 -3
  63. package/dist/actions/create-index-from-backup.d.cts.map +1 -1
  64. package/dist/actions/create-index-from-backup.d.mts +16 -3
  65. package/dist/actions/create-index-from-backup.d.mts.map +1 -1
  66. package/dist/actions/create-index-from-backup.mjs +2 -2
  67. package/dist/actions/create-index-from-backup.mjs.map +1 -1
  68. package/dist/actions/create-index.cjs +2 -2
  69. package/dist/actions/create-index.cjs.map +1 -1
  70. package/dist/actions/create-index.d.cts +69 -3
  71. package/dist/actions/create-index.d.cts.map +1 -1
  72. package/dist/actions/create-index.d.mts +69 -3
  73. package/dist/actions/create-index.d.mts.map +1 -1
  74. package/dist/actions/create-index.mjs +2 -2
  75. package/dist/actions/create-index.mjs.map +1 -1
  76. package/dist/actions/create-namespace.cjs +5 -5
  77. package/dist/actions/create-namespace.cjs.map +1 -1
  78. package/dist/actions/create-namespace.d.cts +22 -3
  79. package/dist/actions/create-namespace.d.cts.map +1 -1
  80. package/dist/actions/create-namespace.d.mts +22 -3
  81. package/dist/actions/create-namespace.d.mts.map +1 -1
  82. package/dist/actions/create-namespace.mjs +5 -5
  83. package/dist/actions/create-namespace.mjs.map +1 -1
  84. package/dist/actions/delete-assistant.cjs +1 -1
  85. package/dist/actions/delete-assistant.cjs.map +1 -1
  86. package/dist/actions/delete-assistant.d.cts +10 -3
  87. package/dist/actions/delete-assistant.d.cts.map +1 -1
  88. package/dist/actions/delete-assistant.d.mts +10 -3
  89. package/dist/actions/delete-assistant.d.mts.map +1 -1
  90. package/dist/actions/delete-assistant.mjs +1 -1
  91. package/dist/actions/delete-assistant.mjs.map +1 -1
  92. package/dist/actions/delete-backup.cjs +1 -1
  93. package/dist/actions/delete-backup.cjs.map +1 -1
  94. package/dist/actions/delete-backup.d.cts +10 -3
  95. package/dist/actions/delete-backup.d.cts.map +1 -1
  96. package/dist/actions/delete-backup.d.mts +10 -3
  97. package/dist/actions/delete-backup.d.mts.map +1 -1
  98. package/dist/actions/delete-backup.mjs +1 -1
  99. package/dist/actions/delete-backup.mjs.map +1 -1
  100. package/dist/actions/delete-file.cjs +1 -1
  101. package/dist/actions/delete-file.cjs.map +1 -1
  102. package/dist/actions/delete-file.d.cts +14 -3
  103. package/dist/actions/delete-file.d.cts.map +1 -1
  104. package/dist/actions/delete-file.d.mts +14 -3
  105. package/dist/actions/delete-file.d.mts.map +1 -1
  106. package/dist/actions/delete-file.mjs +1 -1
  107. package/dist/actions/delete-file.mjs.map +1 -1
  108. package/dist/actions/delete-index.cjs +1 -1
  109. package/dist/actions/delete-index.cjs.map +1 -1
  110. package/dist/actions/delete-index.d.cts +10 -3
  111. package/dist/actions/delete-index.d.cts.map +1 -1
  112. package/dist/actions/delete-index.d.mts +10 -3
  113. package/dist/actions/delete-index.d.mts.map +1 -1
  114. package/dist/actions/delete-index.mjs +1 -1
  115. package/dist/actions/delete-index.mjs.map +1 -1
  116. package/dist/actions/delete-namespace.cjs +1 -1
  117. package/dist/actions/delete-namespace.cjs.map +1 -1
  118. package/dist/actions/delete-namespace.d.cts +9 -3
  119. package/dist/actions/delete-namespace.d.cts.map +1 -1
  120. package/dist/actions/delete-namespace.d.mts +9 -3
  121. package/dist/actions/delete-namespace.d.mts.map +1 -1
  122. package/dist/actions/delete-namespace.mjs +1 -1
  123. package/dist/actions/delete-namespace.mjs.map +1 -1
  124. package/dist/actions/delete-vectors.cjs +2 -2
  125. package/dist/actions/delete-vectors.cjs.map +1 -1
  126. package/dist/actions/delete-vectors.d.cts +15 -3
  127. package/dist/actions/delete-vectors.d.cts.map +1 -1
  128. package/dist/actions/delete-vectors.d.mts +15 -3
  129. package/dist/actions/delete-vectors.d.mts.map +1 -1
  130. package/dist/actions/delete-vectors.mjs +2 -2
  131. package/dist/actions/delete-vectors.mjs.map +1 -1
  132. package/dist/actions/describe-backup.cjs +3 -3
  133. package/dist/actions/describe-backup.cjs.map +1 -1
  134. package/dist/actions/describe-backup.d.cts +24 -3
  135. package/dist/actions/describe-backup.d.cts.map +1 -1
  136. package/dist/actions/describe-backup.d.mts +24 -3
  137. package/dist/actions/describe-backup.d.mts.map +1 -1
  138. package/dist/actions/describe-backup.mjs +3 -3
  139. package/dist/actions/describe-backup.mjs.map +1 -1
  140. package/dist/actions/describe-bulk-import.cjs +1 -1
  141. package/dist/actions/describe-bulk-import.cjs.map +1 -1
  142. package/dist/actions/describe-bulk-import.d.cts +18 -3
  143. package/dist/actions/describe-bulk-import.d.cts.map +1 -1
  144. package/dist/actions/describe-bulk-import.d.mts +18 -3
  145. package/dist/actions/describe-bulk-import.d.mts.map +1 -1
  146. package/dist/actions/describe-bulk-import.mjs +1 -1
  147. package/dist/actions/describe-bulk-import.mjs.map +1 -1
  148. package/dist/actions/describe-file.cjs +4 -4
  149. package/dist/actions/describe-file.cjs.map +1 -1
  150. package/dist/actions/describe-file.d.cts +26 -3
  151. package/dist/actions/describe-file.d.cts.map +1 -1
  152. package/dist/actions/describe-file.d.mts +26 -3
  153. package/dist/actions/describe-file.d.mts.map +1 -1
  154. package/dist/actions/describe-file.mjs +4 -4
  155. package/dist/actions/describe-file.mjs.map +1 -1
  156. package/dist/actions/describe-index-stats.cjs +2 -2
  157. package/dist/actions/describe-index-stats.cjs.map +1 -1
  158. package/dist/actions/describe-index-stats.d.cts +18 -3
  159. package/dist/actions/describe-index-stats.d.cts.map +1 -1
  160. package/dist/actions/describe-index-stats.d.mts +18 -3
  161. package/dist/actions/describe-index-stats.d.mts.map +1 -1
  162. package/dist/actions/describe-index-stats.mjs +2 -2
  163. package/dist/actions/describe-index-stats.mjs.map +1 -1
  164. package/dist/actions/describe-index.cjs +23 -23
  165. package/dist/actions/describe-index.cjs.map +1 -1
  166. package/dist/actions/describe-index.d.cts +46 -3
  167. package/dist/actions/describe-index.d.cts.map +1 -1
  168. package/dist/actions/describe-index.d.mts +46 -3
  169. package/dist/actions/describe-index.d.mts.map +1 -1
  170. package/dist/actions/describe-index.mjs +23 -23
  171. package/dist/actions/describe-index.mjs.map +1 -1
  172. package/dist/actions/describe-namespace.cjs +3 -3
  173. package/dist/actions/describe-namespace.cjs.map +1 -1
  174. package/dist/actions/describe-namespace.d.cts +18 -3
  175. package/dist/actions/describe-namespace.d.cts.map +1 -1
  176. package/dist/actions/describe-namespace.d.mts +18 -3
  177. package/dist/actions/describe-namespace.d.mts.map +1 -1
  178. package/dist/actions/describe-namespace.mjs +3 -3
  179. package/dist/actions/describe-namespace.mjs.map +1 -1
  180. package/dist/actions/describe-restore-job.cjs +7 -7
  181. package/dist/actions/describe-restore-job.cjs.map +1 -1
  182. package/dist/actions/describe-restore-job.d.cts +16 -3
  183. package/dist/actions/describe-restore-job.d.cts.map +1 -1
  184. package/dist/actions/describe-restore-job.d.mts +16 -3
  185. package/dist/actions/describe-restore-job.d.mts.map +1 -1
  186. package/dist/actions/describe-restore-job.mjs +7 -7
  187. package/dist/actions/describe-restore-job.mjs.map +1 -1
  188. package/dist/actions/embed.cjs +8 -8
  189. package/dist/actions/embed.cjs.map +1 -1
  190. package/dist/actions/embed.d.cts +42 -3
  191. package/dist/actions/embed.d.cts.map +1 -1
  192. package/dist/actions/embed.d.mts +42 -3
  193. package/dist/actions/embed.d.mts.map +1 -1
  194. package/dist/actions/embed.mjs +8 -8
  195. package/dist/actions/embed.mjs.map +1 -1
  196. package/dist/actions/fetch-vectors.cjs +3 -3
  197. package/dist/actions/fetch-vectors.cjs.map +1 -1
  198. package/dist/actions/fetch-vectors.d.cts +17 -3
  199. package/dist/actions/fetch-vectors.d.cts.map +1 -1
  200. package/dist/actions/fetch-vectors.d.mts +17 -3
  201. package/dist/actions/fetch-vectors.d.mts.map +1 -1
  202. package/dist/actions/fetch-vectors.mjs +3 -3
  203. package/dist/actions/fetch-vectors.mjs.map +1 -1
  204. package/dist/actions/get-assistant.cjs +4 -4
  205. package/dist/actions/get-assistant.cjs.map +1 -1
  206. package/dist/actions/get-assistant.d.cts +17 -3
  207. package/dist/actions/get-assistant.d.cts.map +1 -1
  208. package/dist/actions/get-assistant.d.mts +17 -3
  209. package/dist/actions/get-assistant.d.mts.map +1 -1
  210. package/dist/actions/get-assistant.mjs +4 -4
  211. package/dist/actions/get-assistant.mjs.map +1 -1
  212. package/dist/actions/get-model.cjs +10 -10
  213. package/dist/actions/get-model.cjs.map +1 -1
  214. package/dist/actions/get-model.d.cts +31 -3
  215. package/dist/actions/get-model.d.cts.map +1 -1
  216. package/dist/actions/get-model.d.mts +31 -3
  217. package/dist/actions/get-model.d.mts.map +1 -1
  218. package/dist/actions/get-model.mjs +10 -10
  219. package/dist/actions/get-model.mjs.map +1 -1
  220. package/dist/actions/list-assistants.cjs +6 -6
  221. package/dist/actions/list-assistants.cjs.map +1 -1
  222. package/dist/actions/list-assistants.d.cts +22 -3
  223. package/dist/actions/list-assistants.d.cts.map +1 -1
  224. package/dist/actions/list-assistants.d.mts +22 -3
  225. package/dist/actions/list-assistants.d.mts.map +1 -1
  226. package/dist/actions/list-assistants.mjs +6 -6
  227. package/dist/actions/list-assistants.mjs.map +1 -1
  228. package/dist/actions/list-bulk-imports.cjs +3 -3
  229. package/dist/actions/list-bulk-imports.cjs.map +1 -1
  230. package/dist/actions/list-bulk-imports.d.cts +25 -3
  231. package/dist/actions/list-bulk-imports.d.cts.map +1 -1
  232. package/dist/actions/list-bulk-imports.d.mts +25 -3
  233. package/dist/actions/list-bulk-imports.d.mts.map +1 -1
  234. package/dist/actions/list-bulk-imports.mjs +3 -3
  235. package/dist/actions/list-bulk-imports.mjs.map +1 -1
  236. package/dist/actions/list-collections.cjs +3 -3
  237. package/dist/actions/list-collections.cjs.map +1 -1
  238. package/dist/actions/list-collections.d.cts +12 -3
  239. package/dist/actions/list-collections.d.cts.map +1 -1
  240. package/dist/actions/list-collections.d.mts +12 -3
  241. package/dist/actions/list-collections.d.mts.map +1 -1
  242. package/dist/actions/list-collections.mjs +3 -3
  243. package/dist/actions/list-collections.mjs.map +1 -1
  244. package/dist/actions/list-files.cjs +6 -6
  245. package/dist/actions/list-files.cjs.map +1 -1
  246. package/dist/actions/list-files.d.cts +33 -3
  247. package/dist/actions/list-files.d.cts.map +1 -1
  248. package/dist/actions/list-files.d.mts +33 -3
  249. package/dist/actions/list-files.d.mts.map +1 -1
  250. package/dist/actions/list-files.mjs +6 -6
  251. package/dist/actions/list-files.mjs.map +1 -1
  252. package/dist/actions/list-index-backups.cjs +13 -13
  253. package/dist/actions/list-index-backups.cjs.map +1 -1
  254. package/dist/actions/list-index-backups.d.cts +35 -3
  255. package/dist/actions/list-index-backups.d.cts.map +1 -1
  256. package/dist/actions/list-index-backups.d.mts +35 -3
  257. package/dist/actions/list-index-backups.d.mts.map +1 -1
  258. package/dist/actions/list-index-backups.mjs +13 -13
  259. package/dist/actions/list-index-backups.mjs.map +1 -1
  260. package/dist/actions/list-indexes.cjs +21 -21
  261. package/dist/actions/list-indexes.cjs.map +1 -1
  262. package/dist/actions/list-indexes.d.cts +33 -3
  263. package/dist/actions/list-indexes.d.cts.map +1 -1
  264. package/dist/actions/list-indexes.d.mts +33 -3
  265. package/dist/actions/list-indexes.d.mts.map +1 -1
  266. package/dist/actions/list-indexes.mjs +21 -21
  267. package/dist/actions/list-indexes.mjs.map +1 -1
  268. package/dist/actions/list-models.cjs +3 -3
  269. package/dist/actions/list-models.cjs.map +1 -1
  270. package/dist/actions/list-models.d.cts +33 -3
  271. package/dist/actions/list-models.d.cts.map +1 -1
  272. package/dist/actions/list-models.d.mts +33 -3
  273. package/dist/actions/list-models.d.mts.map +1 -1
  274. package/dist/actions/list-models.mjs +3 -3
  275. package/dist/actions/list-models.mjs.map +1 -1
  276. package/dist/actions/list-namespaces-operation.cjs +5 -5
  277. package/dist/actions/list-namespaces-operation.cjs.map +1 -1
  278. package/dist/actions/list-namespaces-operation.d.cts +30 -3
  279. package/dist/actions/list-namespaces-operation.d.cts.map +1 -1
  280. package/dist/actions/list-namespaces-operation.d.mts +30 -3
  281. package/dist/actions/list-namespaces-operation.d.mts.map +1 -1
  282. package/dist/actions/list-namespaces-operation.mjs +5 -5
  283. package/dist/actions/list-namespaces-operation.mjs.map +1 -1
  284. package/dist/actions/list-project-backups.cjs +13 -13
  285. package/dist/actions/list-project-backups.cjs.map +1 -1
  286. package/dist/actions/list-project-backups.d.cts +31 -3
  287. package/dist/actions/list-project-backups.d.cts.map +1 -1
  288. package/dist/actions/list-project-backups.d.mts +31 -3
  289. package/dist/actions/list-project-backups.d.mts.map +1 -1
  290. package/dist/actions/list-project-backups.mjs +13 -13
  291. package/dist/actions/list-project-backups.mjs.map +1 -1
  292. package/dist/actions/list-restore-jobs.cjs +10 -10
  293. package/dist/actions/list-restore-jobs.cjs.map +1 -1
  294. package/dist/actions/list-restore-jobs.d.cts +23 -3
  295. package/dist/actions/list-restore-jobs.d.cts.map +1 -1
  296. package/dist/actions/list-restore-jobs.d.mts +23 -3
  297. package/dist/actions/list-restore-jobs.d.mts.map +1 -1
  298. package/dist/actions/list-restore-jobs.mjs +10 -10
  299. package/dist/actions/list-restore-jobs.mjs.map +1 -1
  300. package/dist/actions/list-vectors.cjs +4 -4
  301. package/dist/actions/list-vectors.cjs.map +1 -1
  302. package/dist/actions/list-vectors.d.cts +26 -3
  303. package/dist/actions/list-vectors.d.cts.map +1 -1
  304. package/dist/actions/list-vectors.d.mts +26 -3
  305. package/dist/actions/list-vectors.d.mts.map +1 -1
  306. package/dist/actions/list-vectors.mjs +4 -4
  307. package/dist/actions/list-vectors.mjs.map +1 -1
  308. package/dist/actions/query-vectors.cjs +7 -7
  309. package/dist/actions/query-vectors.cjs.map +1 -1
  310. package/dist/actions/query-vectors.d.cts +44 -3
  311. package/dist/actions/query-vectors.d.cts.map +1 -1
  312. package/dist/actions/query-vectors.d.mts +44 -3
  313. package/dist/actions/query-vectors.d.mts.map +1 -1
  314. package/dist/actions/query-vectors.mjs +7 -7
  315. package/dist/actions/query-vectors.mjs.map +1 -1
  316. package/dist/actions/rerank.cjs +7 -7
  317. package/dist/actions/rerank.cjs.map +1 -1
  318. package/dist/actions/rerank.d.cts +36 -3
  319. package/dist/actions/rerank.d.cts.map +1 -1
  320. package/dist/actions/rerank.d.mts +36 -3
  321. package/dist/actions/rerank.d.mts.map +1 -1
  322. package/dist/actions/rerank.mjs +7 -7
  323. package/dist/actions/rerank.mjs.map +1 -1
  324. package/dist/actions/retrieve-context-assistant.cjs +14 -14
  325. package/dist/actions/retrieve-context-assistant.cjs.map +1 -1
  326. package/dist/actions/retrieve-context-assistant.d.cts +48 -3
  327. package/dist/actions/retrieve-context-assistant.d.cts.map +1 -1
  328. package/dist/actions/retrieve-context-assistant.d.mts +48 -3
  329. package/dist/actions/retrieve-context-assistant.d.mts.map +1 -1
  330. package/dist/actions/retrieve-context-assistant.mjs +14 -14
  331. package/dist/actions/retrieve-context-assistant.mjs.map +1 -1
  332. package/dist/actions/search-records-namespace.cjs +7 -7
  333. package/dist/actions/search-records-namespace.cjs.map +1 -1
  334. package/dist/actions/search-records-namespace.d.cts +76 -3
  335. package/dist/actions/search-records-namespace.d.cts.map +1 -1
  336. package/dist/actions/search-records-namespace.d.mts +76 -3
  337. package/dist/actions/search-records-namespace.d.mts.map +1 -1
  338. package/dist/actions/search-records-namespace.mjs +7 -7
  339. package/dist/actions/search-records-namespace.mjs.map +1 -1
  340. package/dist/actions/start-bulk-import.cjs +1 -1
  341. package/dist/actions/start-bulk-import.cjs.map +1 -1
  342. package/dist/actions/start-bulk-import.d.cts +22 -3
  343. package/dist/actions/start-bulk-import.d.cts.map +1 -1
  344. package/dist/actions/start-bulk-import.d.mts +22 -3
  345. package/dist/actions/start-bulk-import.d.mts.map +1 -1
  346. package/dist/actions/start-bulk-import.mjs +1 -1
  347. package/dist/actions/start-bulk-import.mjs.map +1 -1
  348. package/dist/actions/update-assistant.cjs +4 -4
  349. package/dist/actions/update-assistant.cjs.map +1 -1
  350. package/dist/actions/update-assistant.d.cts +17 -3
  351. package/dist/actions/update-assistant.d.cts.map +1 -1
  352. package/dist/actions/update-assistant.d.mts +17 -3
  353. package/dist/actions/update-assistant.d.mts.map +1 -1
  354. package/dist/actions/update-assistant.mjs +4 -4
  355. package/dist/actions/update-assistant.mjs.map +1 -1
  356. package/dist/actions/update-vector.cjs +3 -3
  357. package/dist/actions/update-vector.cjs.map +1 -1
  358. package/dist/actions/update-vector.d.cts +29 -3
  359. package/dist/actions/update-vector.d.cts.map +1 -1
  360. package/dist/actions/update-vector.d.mts +29 -3
  361. package/dist/actions/update-vector.d.mts.map +1 -1
  362. package/dist/actions/update-vector.mjs +3 -3
  363. package/dist/actions/update-vector.mjs.map +1 -1
  364. package/dist/actions/upload-file.cjs +3 -3
  365. package/dist/actions/upload-file.cjs.map +1 -1
  366. package/dist/actions/upload-file.d.cts +47 -3
  367. package/dist/actions/upload-file.d.cts.map +1 -1
  368. package/dist/actions/upload-file.d.mts +47 -3
  369. package/dist/actions/upload-file.d.mts.map +1 -1
  370. package/dist/actions/upload-file.mjs +3 -3
  371. package/dist/actions/upload-file.mjs.map +1 -1
  372. package/dist/actions/upsert-records-namespace.cjs +2 -2
  373. package/dist/actions/upsert-records-namespace.cjs.map +1 -1
  374. package/dist/actions/upsert-records-namespace.d.cts +16 -3
  375. package/dist/actions/upsert-records-namespace.d.cts.map +1 -1
  376. package/dist/actions/upsert-records-namespace.d.mts +16 -3
  377. package/dist/actions/upsert-records-namespace.d.mts.map +1 -1
  378. package/dist/actions/upsert-records-namespace.mjs +2 -2
  379. package/dist/actions/upsert-records-namespace.mjs.map +1 -1
  380. package/dist/actions/upsert-vectors.cjs +3 -3
  381. package/dist/actions/upsert-vectors.cjs.map +1 -1
  382. package/dist/actions/upsert-vectors.d.cts +30 -3
  383. package/dist/actions/upsert-vectors.d.cts.map +1 -1
  384. package/dist/actions/upsert-vectors.d.mts +30 -3
  385. package/dist/actions/upsert-vectors.d.mts.map +1 -1
  386. package/dist/actions/upsert-vectors.mjs +3 -3
  387. package/dist/actions/upsert-vectors.mjs.map +1 -1
  388. package/dist/catalog.cjs +7 -1
  389. package/dist/catalog.cjs.map +1 -1
  390. package/dist/catalog.d.cts +8 -0
  391. package/dist/catalog.d.mts +8 -0
  392. package/dist/catalog.mjs +7 -1
  393. package/dist/catalog.mjs.map +1 -1
  394. package/dist/execute.cjs +1 -1
  395. package/dist/execute.cjs.map +1 -1
  396. package/dist/execute.mjs +1 -1
  397. package/dist/execute.mjs.map +1 -1
  398. package/package.json +2 -2
@@ -3,7 +3,7 @@ import { z } from "zod";
3
3
  //#region src/actions/create-index-for-model.ts
4
4
  const PineconeCreateIndexForModelInput = z.object({
5
5
  name: z.string().describe("Index identifier. Must be 1-45 characters, alphanumeric and hyphens only, must start and end with alphanumeric character."),
6
- tags: z.object({}).describe("Custom metadata labels. Keys max 80 characters, values max 120 characters.").optional(),
6
+ tags: z.record(z.string(), z.unknown()).describe("Custom metadata labels. Keys max 80 characters, values max 120 characters.").optional(),
7
7
  cloud: z.enum([
8
8
  "gcp",
9
9
  "aws",
@@ -16,7 +16,7 @@ const PineconeCreateIndexForModelInput = z.object({
16
16
  "euclidean",
17
17
  "dotproduct"
18
18
  ]).describe("Similarity measurement method for vector comparison."),
19
- field_map: z.object({}).describe("Maps source text fields to embedding input. Example: {'text': 'your-text-field'}.")
19
+ field_map: z.record(z.string(), z.unknown()).describe("Maps source text fields to embedding input. Example: {'text': 'your-text-field'}.")
20
20
  }).describe("Embedding model configuration for automatic vectorization."),
21
21
  region: z.string().describe("Deployment region. Must be valid for the chosen cloud provider (e.g., 'us-east-1' for AWS)."),
22
22
  deletion_protection: z.enum(["enabled", "disabled"]).describe("Protection against accidental deletion. Defaults to 'disabled' if not specified.").optional()
@@ -24,21 +24,21 @@ const PineconeCreateIndexForModelInput = z.object({
24
24
  const PineconeCreateIndexForModel_ServerlessSpecSchema = z.object({
25
25
  cloud: z.string().describe("Cloud provider name.").nullable().optional(),
26
26
  region: z.string().describe("Region name.").nullable().optional()
27
- }).describe("Serverless deployment specification.");
28
- const PineconeCreateIndexForModel_DeploymentSpecSchema = z.object({ serverless: PineconeCreateIndexForModel_ServerlessSpecSchema.nullable().optional() }).describe("Deployment configuration details.");
27
+ }).passthrough().describe("Serverless deployment specification.");
28
+ const PineconeCreateIndexForModel_DeploymentSpecSchema = z.object({ serverless: PineconeCreateIndexForModel_ServerlessSpecSchema.nullable().optional() }).passthrough().describe("Deployment configuration details.");
29
29
  const PineconeCreateIndexForModel_EmbedConfigSchema = z.object({
30
- model: z.string().describe("The identifier of the embedding model to use (e.g., 'multilingual-e5-large', 'llama-text-embed-v2')."),
30
+ model: z.string().describe("The identifier of the embedding model to use (e.g., 'multilingual-e5-large', 'llama-text-embed-v2').").nullable(),
31
31
  metric: z.enum([
32
32
  "cosine",
33
33
  "euclidean",
34
34
  "dotproduct"
35
- ]).describe("Similarity measurement method for vector comparison."),
36
- field_map: z.object({}).describe("Maps source text fields to embedding input. Example: {'text': 'your-text-field'}.")
37
- }).describe("Configuration for integrated embedding model.");
35
+ ]).describe("Similarity measurement method for vector comparison.").nullable(),
36
+ field_map: z.record(z.string(), z.unknown()).describe("Maps source text fields to embedding input. Example: {'text': 'your-text-field'}.")
37
+ }).passthrough().describe("Configuration for integrated embedding model.");
38
38
  const PineconeCreateIndexForModel_IndexStatusSchema = z.object({
39
39
  ready: z.boolean().describe("Whether the index is ready for operations.").nullable().optional(),
40
40
  state: z.string().describe("Current state of the index (e.g., 'Initializing', 'Ready').").nullable().optional()
41
- }).describe("Index status information.");
41
+ }).passthrough().describe("Index status information.");
42
42
  const pineconeCreateIndexForModel = action("PINECONE_CREATE_INDEX_FOR_MODEL", {
43
43
  slug: "pinecone-create-index-for-model",
44
44
  name: "Create Index with Embedding Model",
@@ -48,7 +48,7 @@ const pineconeCreateIndexForModel = action("PINECONE_CREATE_INDEX_FOR_MODEL", {
48
48
  host: z.string().describe("Index endpoint URL for API operations.").nullable().optional(),
49
49
  name: z.string().describe("The name of the created index.").nullable().optional(),
50
50
  spec: PineconeCreateIndexForModel_DeploymentSpecSchema.nullable().optional(),
51
- tags: z.object({}).describe("Applied custom tags.").nullable().optional(),
51
+ tags: z.record(z.string(), z.unknown()).describe("Applied custom tags.").nullable().optional(),
52
52
  embed: PineconeCreateIndexForModel_EmbedConfigSchema.nullable().optional(),
53
53
  metric: z.string().describe("Distance metric selected (cosine, euclidean, or dotproduct).").nullable().optional(),
54
54
  status: PineconeCreateIndexForModel_IndexStatusSchema.nullable().optional(),
@@ -56,7 +56,7 @@ const pineconeCreateIndexForModel = action("PINECONE_CREATE_INDEX_FOR_MODEL", {
56
56
  vector_type: z.string().describe("Vector type (always 'dense' for embedding models).").nullable().optional(),
57
57
  private_host: z.string().describe("Private endpoint URL.").nullable().optional(),
58
58
  deletion_protection: z.string().describe("Current protection status.").nullable().optional()
59
- }).describe("Response model for index creation with embedding.")
59
+ }).passthrough().describe("Response model for index creation with embedding.")
60
60
  });
61
61
  //#endregion
62
62
  export { pineconeCreateIndexForModel };
@@ -1 +1 @@
1
- {"version":3,"file":"create-index-for-model.mjs","names":[],"sources":["../../src/actions/create-index-for-model.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateIndexForModelInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Index identifier. Must be 1-45 characters, alphanumeric and hyphens only, must start and end with alphanumeric character.\"),\n tags: z.object({}).describe(\"Custom metadata labels. Keys max 80 characters, values max 120 characters.\").optional(),\n cloud: z.enum([\"gcp\", \"aws\", \"azure\"]).describe(\"Cloud provider for hosting the index.\"),\n embed: z.object({\n model: z.string().describe(\"The identifier of the embedding model to use (e.g., 'multilingual-e5-large', 'llama-text-embed-v2').\"),\n metric: z.enum([\"cosine\", \"euclidean\", \"dotproduct\"]).describe(\"Similarity measurement method for vector comparison.\"),\n field_map: z.object({}).describe(\"Maps source text fields to embedding input. Example: {'text': 'your-text-field'}.\"),\n}).describe(\"Embedding model configuration for automatic vectorization.\"),\n region: z.string().describe(\"Deployment region. Must be valid for the chosen cloud provider (e.g., 'us-east-1' for AWS).\"),\n deletion_protection: z.enum([\"enabled\", \"disabled\"]).describe(\"Protection against accidental deletion. Defaults to 'disabled' if not specified.\").optional(),\n}).describe(\"Request model for creating a Pinecone index with integrated embedding.\");\nconst PineconeCreateIndexForModel_ServerlessSpecSchema: z.ZodTypeAny = z.object({\n cloud: z.string().describe(\"Cloud provider name.\").nullable().optional(),\n region: z.string().describe(\"Region name.\").nullable().optional(),\n}).describe(\"Serverless deployment specification.\");\nconst PineconeCreateIndexForModel_DeploymentSpecSchema: z.ZodTypeAny = z.object({\n serverless: PineconeCreateIndexForModel_ServerlessSpecSchema.nullable().optional(),\n}).describe(\"Deployment configuration details.\");\nconst PineconeCreateIndexForModel_EmbedConfigSchema: z.ZodTypeAny = z.object({\n model: z.string().describe(\"The identifier of the embedding model to use (e.g., 'multilingual-e5-large', 'llama-text-embed-v2').\"),\n metric: z.enum([\"cosine\", \"euclidean\", \"dotproduct\"]).describe(\"Similarity measurement method for vector comparison.\"),\n field_map: z.object({}).describe(\"Maps source text fields to embedding input. Example: {'text': 'your-text-field'}.\"),\n}).describe(\"Configuration for integrated embedding model.\");\nconst PineconeCreateIndexForModel_IndexStatusSchema: z.ZodTypeAny = z.object({\n ready: z.boolean().describe(\"Whether the index is ready for operations.\").nullable().optional(),\n state: z.string().describe(\"Current state of the index (e.g., 'Initializing', 'Ready').\").nullable().optional(),\n}).describe(\"Index status information.\");\nexport const PineconeCreateIndexForModelOutput: z.ZodTypeAny = z.object({\n host: z.string().describe(\"Index endpoint URL for API operations.\").nullable().optional(),\n name: z.string().describe(\"The name of the created index.\").nullable().optional(),\n spec: PineconeCreateIndexForModel_DeploymentSpecSchema.nullable().optional(),\n tags: z.object({}).describe(\"Applied custom tags.\").nullable().optional(),\n embed: PineconeCreateIndexForModel_EmbedConfigSchema.nullable().optional(),\n metric: z.string().describe(\"Distance metric selected (cosine, euclidean, or dotproduct).\").nullable().optional(),\n status: PineconeCreateIndexForModel_IndexStatusSchema.nullable().optional(),\n dimension: z.number().int().describe(\"Vector dimensions derived from the embedding model.\").nullable().optional(),\n vector_type: z.string().describe(\"Vector type (always 'dense' for embedding models).\").nullable().optional(),\n private_host: z.string().describe(\"Private endpoint URL.\").nullable().optional(),\n deletion_protection: z.string().describe(\"Current protection status.\").nullable().optional(),\n}).describe(\"Response model for index creation with embedding.\");\n\nexport const pineconeCreateIndexForModel = action(\"PINECONE_CREATE_INDEX_FOR_MODEL\", {\n slug: \"pinecone-create-index-for-model\",\n name: \"Create Index with Embedding Model\",\n description: \"Tool to create a Pinecone index with integrated embedding model for automatic vectorization. Use when you need to set up a new index that automatically converts text to vectors using a pre-configured embedding model.\",\n input: PineconeCreateIndexForModelInput,\n output: PineconeCreateIndexForModelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CACrJ,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACnH,OAAO,EAAE,KAAK;EAAC;EAAO;EAAO;CAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;CACvF,OAAO,EAAE,OAAO;EAChB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;EACjI,QAAQ,EAAE,KAAK;GAAC;GAAU;GAAa;EAAY,CAAC,CAAC,CAAC,SAAS,sDAAsD;EACrH,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mFAAmF;CACtH,CAAC,CAAC,CAAC,SAAS,4DAA4D;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CACzH,qBAAqB,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,mDAAiE,EAAE,OAAO;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,mDAAiE,EAAE,OAAO,EAC9E,YAAY,iDAAiD,SAAS,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,gDAA8D,EAAE,OAAO;CAC3E,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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-index-for-model.mjs","names":[],"sources":["../../src/actions/create-index-for-model.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateIndexForModelInput = z.object({\n name: z.string().describe(\"Index identifier. Must be 1-45 characters, alphanumeric and hyphens only, must start and end with alphanumeric character.\"),\n tags: z.record(z.string(), z.unknown()).describe(\"Custom metadata labels. Keys max 80 characters, values max 120 characters.\").optional(),\n cloud: z.enum([\"gcp\", \"aws\", \"azure\"]).describe(\"Cloud provider for hosting the index.\"),\n embed: z.object({\n model: z.string().describe(\"The identifier of the embedding model to use (e.g., 'multilingual-e5-large', 'llama-text-embed-v2').\"),\n metric: z.enum([\"cosine\", \"euclidean\", \"dotproduct\"]).describe(\"Similarity measurement method for vector comparison.\"),\n field_map: z.record(z.string(), z.unknown()).describe(\"Maps source text fields to embedding input. Example: {'text': 'your-text-field'}.\"),\n}).describe(\"Embedding model configuration for automatic vectorization.\"),\n region: z.string().describe(\"Deployment region. Must be valid for the chosen cloud provider (e.g., 'us-east-1' for AWS).\"),\n deletion_protection: z.enum([\"enabled\", \"disabled\"]).describe(\"Protection against accidental deletion. Defaults to 'disabled' if not specified.\").optional(),\n}).describe(\"Request model for creating a Pinecone index with integrated embedding.\");\nconst PineconeCreateIndexForModel_ServerlessSpecSchema = z.object({\n cloud: z.string().describe(\"Cloud provider name.\").nullable().optional(),\n region: z.string().describe(\"Region name.\").nullable().optional(),\n}).passthrough().describe(\"Serverless deployment specification.\");\nconst PineconeCreateIndexForModel_DeploymentSpecSchema = z.object({\n serverless: PineconeCreateIndexForModel_ServerlessSpecSchema.nullable().optional(),\n}).passthrough().describe(\"Deployment configuration details.\");\nconst PineconeCreateIndexForModel_EmbedConfigSchema = z.object({\n model: z.string().describe(\"The identifier of the embedding model to use (e.g., 'multilingual-e5-large', 'llama-text-embed-v2').\").nullable(),\n metric: z.enum([\"cosine\", \"euclidean\", \"dotproduct\"]).describe(\"Similarity measurement method for vector comparison.\").nullable(),\n field_map: z.record(z.string(), z.unknown()).describe(\"Maps source text fields to embedding input. Example: {'text': 'your-text-field'}.\"),\n}).passthrough().describe(\"Configuration for integrated embedding model.\");\nconst PineconeCreateIndexForModel_IndexStatusSchema = z.object({\n ready: z.boolean().describe(\"Whether the index is ready for operations.\").nullable().optional(),\n state: z.string().describe(\"Current state of the index (e.g., 'Initializing', 'Ready').\").nullable().optional(),\n}).passthrough().describe(\"Index status information.\");\nexport const PineconeCreateIndexForModelOutput = z.object({\n host: z.string().describe(\"Index endpoint URL for API operations.\").nullable().optional(),\n name: z.string().describe(\"The name of the created index.\").nullable().optional(),\n spec: PineconeCreateIndexForModel_DeploymentSpecSchema.nullable().optional(),\n tags: z.record(z.string(), z.unknown()).describe(\"Applied custom tags.\").nullable().optional(),\n embed: PineconeCreateIndexForModel_EmbedConfigSchema.nullable().optional(),\n metric: z.string().describe(\"Distance metric selected (cosine, euclidean, or dotproduct).\").nullable().optional(),\n status: PineconeCreateIndexForModel_IndexStatusSchema.nullable().optional(),\n dimension: z.number().int().describe(\"Vector dimensions derived from the embedding model.\").nullable().optional(),\n vector_type: z.string().describe(\"Vector type (always 'dense' for embedding models).\").nullable().optional(),\n private_host: z.string().describe(\"Private endpoint URL.\").nullable().optional(),\n deletion_protection: z.string().describe(\"Current protection status.\").nullable().optional(),\n}).passthrough().describe(\"Response model for index creation with embedding.\");\n\nexport const pineconeCreateIndexForModel = action(\"PINECONE_CREATE_INDEX_FOR_MODEL\", {\n slug: \"pinecone-create-index-for-model\",\n name: \"Create Index with Embedding Model\",\n description: \"Tool to create a Pinecone index with integrated embedding model for automatic vectorization. Use when you need to set up a new index that automatically converts text to vectors using a pre-configured embedding model.\",\n input: PineconeCreateIndexForModelInput,\n output: PineconeCreateIndexForModelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CACrJ,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACxI,OAAO,EAAE,KAAK;EAAC;EAAO;EAAO;CAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;CACvF,OAAO,EAAE,OAAO;EAChB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;EACjI,QAAQ,EAAE,KAAK;GAAC;GAAU;GAAa;EAAY,CAAC,CAAC,CAAC,SAAS,sDAAsD;EACrH,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF;CAC3I,CAAC,CAAC,CAAC,SAAS,4DAA4D;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CACzH,qBAAqB,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,mDAAmD,EAAE,OAAO;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,mDAAmD,EAAE,OAAO,EAChE,YAAY,iDAAiD,SAAS,CAAC,CAA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CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,QAAQ,8CAA8C,SAAS,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
@@ -3,14 +3,14 @@ let zod = require("zod");
3
3
  //#region src/actions/create-index-from-backup.ts
4
4
  const PineconeCreateIndexFromBackupInput = zod.z.object({
5
5
  name: zod.z.string().describe("Index name, 1-45 characters, alphanumeric lowercase or hyphens only."),
6
- tags: zod.z.object({}).describe("Custom key-value pairs for organization.").optional(),
6
+ tags: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value pairs for organization.").optional(),
7
7
  backup_id: zod.z.string().describe("The ID of the backup to create an index from."),
8
8
  deletion_protection: zod.z.string().describe("Enable or disable deletion safeguards.").optional()
9
9
  }).describe("Request model for creating an index from a backup.");
10
10
  const PineconeCreateIndexFromBackupOutput = zod.z.object({
11
11
  index_id: zod.z.string().describe("Unique identifier of the newly created index.").nullable().optional(),
12
12
  restore_job_id: zod.z.string().describe("Unique identifier for the restore operation.").nullable().optional()
13
- }).describe("Response model for creating an index from a backup.");
13
+ }).passthrough().describe("Response model for creating an index from a backup.");
14
14
  const pineconeCreateIndexFromBackup = require_action.action("PINECONE_CREATE_INDEX_FROM_BACKUP", {
15
15
  slug: "pinecone-create-index-from-backup",
16
16
  name: "Create Index from Backup",
@@ -1 +1 @@
1
- {"version":3,"file":"create-index-from-backup.cjs","names":["z","action"],"sources":["../../src/actions/create-index-from-backup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateIndexFromBackupInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Index name, 1-45 characters, alphanumeric lowercase or hyphens only.\"),\n tags: z.object({}).describe(\"Custom key-value pairs for organization.\").optional(),\n backup_id: z.string().describe(\"The ID of the backup to create an index from.\"),\n deletion_protection: z.string().describe(\"Enable or disable deletion safeguards.\").optional(),\n}).describe(\"Request model for creating an index from a backup.\");\nexport const PineconeCreateIndexFromBackupOutput: z.ZodTypeAny = z.object({\n index_id: z.string().describe(\"Unique identifier of the newly created index.\").nullable().optional(),\n restore_job_id: z.string().describe(\"Unique identifier for the restore operation.\").nullable().optional(),\n}).describe(\"Response model for creating an index from a backup.\");\n\nexport const pineconeCreateIndexFromBackup = action(\"PINECONE_CREATE_INDEX_FROM_BACKUP\", {\n slug: \"pinecone-create-index-from-backup\",\n name: \"Create Index from Backup\",\n description: \"Tool to create an index from a backup. Use when you need to restore or duplicate index data from a previously saved backup.\",\n input: PineconeCreateIndexFromBackupInput,\n output: PineconeCreateIndexFromBackupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC9E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-index-from-backup.cjs","names":["z","action"],"sources":["../../src/actions/create-index-from-backup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateIndexFromBackupInput = z.object({\n name: z.string().describe(\"Index name, 1-45 characters, alphanumeric lowercase or hyphens only.\"),\n tags: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs for organization.\").optional(),\n backup_id: z.string().describe(\"The ID of the backup to create an index from.\"),\n deletion_protection: z.string().describe(\"Enable or disable deletion safeguards.\").optional(),\n}).describe(\"Request model for creating an index from a backup.\");\nexport const PineconeCreateIndexFromBackupOutput = z.object({\n index_id: z.string().describe(\"Unique identifier of the newly created index.\").nullable().optional(),\n restore_job_id: z.string().describe(\"Unique identifier for the restore operation.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating an index from a backup.\");\n\nexport const pineconeCreateIndexFromBackup = action(\"PINECONE_CREATE_INDEX_FROM_BACKUP\", {\n slug: \"pinecone-create-index-from-backup\",\n name: \"Create Index from Backup\",\n description: \"Tool to create an index from a backup. Use when you need to restore or duplicate index data from a previously saved backup.\",\n input: PineconeCreateIndexFromBackupInput,\n output: PineconeCreateIndexFromBackupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CAChG,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC9E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-index-from-backup.d.ts
4
- declare const PineconeCreateIndexFromBackupInput: z.ZodTypeAny;
5
- declare const PineconeCreateIndexFromBackupOutput: z.ZodTypeAny;
6
- declare const pineconeCreateIndexFromBackup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PineconeCreateIndexFromBackupInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
+ backup_id: z.ZodString;
8
+ deletion_protection: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const PineconeCreateIndexFromBackupOutput: z.ZodObject<{
11
+ index_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ restore_job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>;
14
+ declare const pineconeCreateIndexFromBackup: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ name: string;
16
+ backup_id: string;
17
+ tags?: Record<string, unknown> | undefined;
18
+ deletion_protection?: string | undefined;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { pineconeCreateIndexFromBackup };
9
22
  //# sourceMappingURL=create-index-from-backup.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-index-from-backup.d.cts","names":[],"sources":["../../src/actions/create-index-from-backup.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAKc;AAAA,cACpD,mCAAA,EAAqC,CAAA,CAAE,UAGc;AAAA,cAErD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-index-from-backup.d.cts","names":[],"sources":["../../src/actions/create-index-from-backup.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAMlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA;;;SAMxC,MAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-index-from-backup.d.ts
4
- declare const PineconeCreateIndexFromBackupInput: z.ZodTypeAny;
5
- declare const PineconeCreateIndexFromBackupOutput: z.ZodTypeAny;
6
- declare const pineconeCreateIndexFromBackup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PineconeCreateIndexFromBackupInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
+ backup_id: z.ZodString;
8
+ deletion_protection: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const PineconeCreateIndexFromBackupOutput: z.ZodObject<{
11
+ index_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ restore_job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>;
14
+ declare const pineconeCreateIndexFromBackup: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ name: string;
16
+ backup_id: string;
17
+ tags?: Record<string, unknown> | undefined;
18
+ deletion_protection?: string | undefined;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { pineconeCreateIndexFromBackup };
9
22
  //# sourceMappingURL=create-index-from-backup.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-index-from-backup.d.mts","names":[],"sources":["../../src/actions/create-index-from-backup.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAKc;AAAA,cACpD,mCAAA,EAAqC,CAAA,CAAE,UAGc;AAAA,cAErD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-index-from-backup.d.mts","names":[],"sources":["../../src/actions/create-index-from-backup.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAMlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA;;;SAMxC,MAAA"}
@@ -6,14 +6,14 @@ const pineconeCreateIndexFromBackup = action("PINECONE_CREATE_INDEX_FROM_BACKUP"
6
6
  description: "Tool to create an index from a backup. Use when you need to restore or duplicate index data from a previously saved backup.",
7
7
  input: z.object({
8
8
  name: z.string().describe("Index name, 1-45 characters, alphanumeric lowercase or hyphens only."),
9
- tags: z.object({}).describe("Custom key-value pairs for organization.").optional(),
9
+ tags: z.record(z.string(), z.unknown()).describe("Custom key-value pairs for organization.").optional(),
10
10
  backup_id: z.string().describe("The ID of the backup to create an index from."),
11
11
  deletion_protection: z.string().describe("Enable or disable deletion safeguards.").optional()
12
12
  }).describe("Request model for creating an index from a backup."),
13
13
  output: z.object({
14
14
  index_id: z.string().describe("Unique identifier of the newly created index.").nullable().optional(),
15
15
  restore_job_id: z.string().describe("Unique identifier for the restore operation.").nullable().optional()
16
- }).describe("Response model for creating an index from a backup.")
16
+ }).passthrough().describe("Response model for creating an index from a backup.")
17
17
  });
18
18
  //#endregion
19
19
  export { pineconeCreateIndexFromBackup };
@@ -1 +1 @@
1
- {"version":3,"file":"create-index-from-backup.mjs","names":[],"sources":["../../src/actions/create-index-from-backup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateIndexFromBackupInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Index name, 1-45 characters, alphanumeric lowercase or hyphens only.\"),\n tags: z.object({}).describe(\"Custom key-value pairs for organization.\").optional(),\n backup_id: z.string().describe(\"The ID of the backup to create an index from.\"),\n deletion_protection: z.string().describe(\"Enable or disable deletion safeguards.\").optional(),\n}).describe(\"Request model for creating an index from a backup.\");\nexport const PineconeCreateIndexFromBackupOutput: z.ZodTypeAny = z.object({\n index_id: z.string().describe(\"Unique identifier of the newly created index.\").nullable().optional(),\n restore_job_id: z.string().describe(\"Unique identifier for the restore operation.\").nullable().optional(),\n}).describe(\"Response model for creating an index from a backup.\");\n\nexport const pineconeCreateIndexFromBackup = action(\"PINECONE_CREATE_INDEX_FROM_BACKUP\", {\n slug: \"pinecone-create-index-from-backup\",\n name: \"Create Index from Backup\",\n description: \"Tool to create an index from a backup. Use when you need to restore or duplicate index data from a previously saved backup.\",\n input: PineconeCreateIndexFromBackupInput,\n output: PineconeCreateIndexFromBackupOutput,\n});\n"],"mappings":";;AAeA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf8D,EAAE,OAAO;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC9E,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,oDAUH;CACP,QAV+D,EAAE,OAAO;EACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-index-from-backup.mjs","names":[],"sources":["../../src/actions/create-index-from-backup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateIndexFromBackupInput = z.object({\n name: z.string().describe(\"Index name, 1-45 characters, alphanumeric lowercase or hyphens only.\"),\n tags: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs for organization.\").optional(),\n backup_id: z.string().describe(\"The ID of the backup to create an index from.\"),\n deletion_protection: z.string().describe(\"Enable or disable deletion safeguards.\").optional(),\n}).describe(\"Request model for creating an index from a backup.\");\nexport const PineconeCreateIndexFromBackupOutput = z.object({\n index_id: z.string().describe(\"Unique identifier of the newly created index.\").nullable().optional(),\n restore_job_id: z.string().describe(\"Unique identifier for the restore operation.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating an index from a backup.\");\n\nexport const pineconeCreateIndexFromBackup = action(\"PINECONE_CREATE_INDEX_FROM_BACKUP\", {\n slug: \"pinecone-create-index-from-backup\",\n name: \"Create Index from Backup\",\n description: \"Tool to create an index from a backup. Use when you need to restore or duplicate index data from a previously saved backup.\",\n input: PineconeCreateIndexFromBackupInput,\n output: PineconeCreateIndexFromBackupOutput,\n});\n"],"mappings":";;AAeA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;EAChG,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC9E,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,oDAUH;CACP,QAViD,EAAE,OAAO;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
@@ -33,7 +33,7 @@ const PineconeCreateIndexInput = zod.z.object({
33
33
  const PineconeCreateIndex_IndexStatusSchema = zod.z.object({
34
34
  ready: zod.z.boolean().describe("Whether the index is ready to serve queries.").nullable().optional(),
35
35
  state: zod.z.string().describe("Current state of the index (e.g., Initializing, Ready).").nullable().optional()
36
- }).describe("Index status information.");
36
+ }).passthrough().describe("Index status information.");
37
37
  const PineconeCreateIndexOutput = zod.z.object({
38
38
  host: zod.z.string().describe("Index endpoint URL for API operations.").nullable().optional(),
39
39
  name: zod.z.string().describe("Name of the created index.").nullable().optional(),
@@ -43,7 +43,7 @@ const PineconeCreateIndexOutput = zod.z.object({
43
43
  dimension: zod.z.number().int().describe("Vector dimensions of the index.").nullable().optional(),
44
44
  vector_type: zod.z.string().describe("Vector type: dense or sparse.").nullable().optional(),
45
45
  deletion_protection: zod.z.string().describe("Deletion protection status.").nullable().optional()
46
- }).describe("Response schema for creating a Pinecone index.");
46
+ }).passthrough().describe("Response schema for creating a Pinecone index.");
47
47
  const pineconeCreateIndex = require_action.action("PINECONE_CREATE_INDEX", {
48
48
  slug: "pinecone-create-index",
49
49
  name: "Create Index",
@@ -1 +1 @@
1
- {"version":3,"file":"create-index.cjs","names":["z","action"],"sources":["../../src/actions/create-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateIndexInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Index identifier (1-45 chars, lowercase alphanumeric or hyphens, must start/end with alphanumeric).\"),\n spec: z.object({\n pod: z.object({\n pods: z.number().int().describe(\"Number of pods to deploy (default: 1).\").optional(),\n shards: z.number().int().describe(\"Number of data shards (default: 1).\").optional(),\n pod_type: z.string().describe(\"Pod size and type (e.g., p1.x1, p1.x2, s1.x1).\"),\n replicas: z.number().int().describe(\"Replication factor (default: 1).\").optional(),\n environment: z.string().describe(\"Deployment environment.\"),\n source_collection: z.string().describe(\"Optional collection to use as data source.\").optional(),\n}).describe(\"Pod-based deployment specification.\").optional(),\n serverless: z.object({\n cloud: z.enum([\"aws\", \"gcp\", \"azure\"]).describe(\"Cloud provider for serverless deployment.\"),\n region: z.string().describe(\"Cloud region for deployment.\"),\n}).describe(\"Serverless deployment specification.\").optional(),\n}).describe(\"Deployment configuration. Must provide either serverless or pod specification.\"),\n metric: z.enum([\"cosine\", \"euclidean\", \"dotproduct\"]).describe(\"Similarity measure. Must be 'dotproduct' for sparse vectors.\"),\n dimension: z.number().int().describe(\"Vector dimensions (1-20,000). Required for dense vectors; omit for sparse vectors.\").optional(),\n vector_type: z.enum([\"dense\", \"sparse\"]).describe(\"Vector type: 'dense' (default) or 'sparse'.\").optional(),\n deletion_protection: z.enum([\"enabled\", \"disabled\"]).describe(\"Set to 'enabled' to prevent accidental deletion.\").optional(),\n}).describe(\"Request model for creating a Pinecone index.\\n\\nRequired fields: name, metric, spec\\nDimension is required for dense vectors but should be omitted for sparse vectors.\");\nconst PineconeCreateIndex_IndexStatusSchema: z.ZodTypeAny = z.object({\n ready: z.boolean().describe(\"Whether the index is ready to serve queries.\").nullable().optional(),\n state: z.string().describe(\"Current state of the index (e.g., Initializing, Ready).\").nullable().optional(),\n}).describe(\"Index status information.\");\nexport const PineconeCreateIndexOutput: z.ZodTypeAny = z.object({\n host: z.string().describe(\"Index endpoint URL for API operations.\").nullable().optional(),\n name: z.string().describe(\"Name of the created index.\").nullable().optional(),\n spec: z.record(z.string(), z.unknown()).describe(\"Deployment configuration (echoed back).\").nullable().optional(),\n metric: z.string().describe(\"Similarity metric used by the index.\").nullable().optional(),\n status: PineconeCreateIndex_IndexStatusSchema.nullable().optional(),\n dimension: z.number().int().describe(\"Vector dimensions of the index.\").nullable().optional(),\n vector_type: z.string().describe(\"Vector type: dense or sparse.\").nullable().optional(),\n deletion_protection: z.string().describe(\"Deletion protection status.\").nullable().optional(),\n}).describe(\"Response schema for creating a Pinecone index.\");\n\nexport const pineconeCreateIndex = action(\"PINECONE_CREATE_INDEX\", {\n slug: \"pinecone-create-index\",\n name: \"Create Index\",\n description: \"Tool to create a Pinecone index with specified configuration. Use when you need to initialize a new vector database index for storing and querying embeddings.\",\n input: PineconeCreateIndexInput,\n output: PineconeCreateIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CAC/H,MAAMA,IAAAA,EAAE,OAAO;EACf,KAAKA,IAAAA,EAAE,OAAO;GACd,MAAMA,IAAAA,EAAE,OAAO,CAAC,C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AAC"}
1
+ {"version":3,"file":"create-index.cjs","names":["z","action"],"sources":["../../src/actions/create-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateIndexInput = z.object({\n name: z.string().describe(\"Index identifier (1-45 chars, lowercase alphanumeric or hyphens, must start/end with alphanumeric).\"),\n spec: z.object({\n pod: z.object({\n pods: z.number().int().describe(\"Number of pods to deploy (default: 1).\").optional(),\n shards: z.number().int().describe(\"Number of data shards (default: 1).\").optional(),\n pod_type: z.string().describe(\"Pod size and type (e.g., p1.x1, p1.x2, s1.x1).\"),\n replicas: z.number().int().describe(\"Replication factor (default: 1).\").optional(),\n environment: z.string().describe(\"Deployment environment.\"),\n source_collection: z.string().describe(\"Optional collection to use as data source.\").optional(),\n}).describe(\"Pod-based deployment specification.\").optional(),\n serverless: z.object({\n cloud: z.enum([\"aws\", \"gcp\", \"azure\"]).describe(\"Cloud provider for serverless deployment.\"),\n region: z.string().describe(\"Cloud region for deployment.\"),\n}).describe(\"Serverless deployment specification.\").optional(),\n}).describe(\"Deployment configuration. Must provide either serverless or pod specification.\"),\n metric: z.enum([\"cosine\", \"euclidean\", \"dotproduct\"]).describe(\"Similarity measure. Must be 'dotproduct' for sparse vectors.\"),\n dimension: z.number().int().describe(\"Vector dimensions (1-20,000). Required for dense vectors; omit for sparse vectors.\").optional(),\n vector_type: z.enum([\"dense\", \"sparse\"]).describe(\"Vector type: 'dense' (default) or 'sparse'.\").optional(),\n deletion_protection: z.enum([\"enabled\", \"disabled\"]).describe(\"Set to 'enabled' to prevent accidental deletion.\").optional(),\n}).describe(\"Request model for creating a Pinecone index.\\n\\nRequired fields: name, metric, spec\\nDimension is required for dense vectors but should be omitted for sparse vectors.\");\nconst PineconeCreateIndex_IndexStatusSchema = z.object({\n ready: z.boolean().describe(\"Whether the index is ready to serve queries.\").nullable().optional(),\n state: z.string().describe(\"Current state of the index (e.g., Initializing, Ready).\").nullable().optional(),\n}).passthrough().describe(\"Index status information.\");\nexport const PineconeCreateIndexOutput = z.object({\n host: z.string().describe(\"Index endpoint URL for API operations.\").nullable().optional(),\n name: z.string().describe(\"Name of the created index.\").nullable().optional(),\n spec: z.record(z.string(), z.unknown()).describe(\"Deployment configuration (echoed back).\").nullable().optional(),\n metric: z.string().describe(\"Similarity metric used by the index.\").nullable().optional(),\n status: PineconeCreateIndex_IndexStatusSchema.nullable().optional(),\n dimension: z.number().int().describe(\"Vector dimensions of the index.\").nullable().optional(),\n vector_type: z.string().describe(\"Vector type: dense or sparse.\").nullable().optional(),\n deletion_protection: z.string().describe(\"Deletion protection status.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a Pinecone index.\");\n\nexport const pineconeCreateIndex = action(\"PINECONE_CREATE_INDEX\", {\n slug: \"pinecone-create-index\",\n name: \"Create Index\",\n description: \"Tool to create a Pinecone index with specified configuration. Use when you need to initialize a new vector database index for storing and querying embeddings.\",\n input: PineconeCreateIndexInput,\n output: PineconeCreateIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CAC/H,MAAMA,IAAAA,EAAE,OAAO;EACf,KAAKA,IAAAA,EAAE,OAAO;GACd,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;GACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;GAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;GAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;GAC1D,mBAAmBA,IAAAA,EAAE,OA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CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQ,sCAAsC,SAAS,CAAC,CAAC,SAAS;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,75 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-index.d.ts
4
- declare const PineconeCreateIndexInput: z.ZodTypeAny;
5
- declare const PineconeCreateIndexOutput: z.ZodTypeAny;
6
- declare const pineconeCreateIndex: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PineconeCreateIndexInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ spec: z.ZodObject<{
7
+ pod: z.ZodOptional<z.ZodObject<{
8
+ pods: z.ZodOptional<z.ZodNumber>;
9
+ shards: z.ZodOptional<z.ZodNumber>;
10
+ pod_type: z.ZodString;
11
+ replicas: z.ZodOptional<z.ZodNumber>;
12
+ environment: z.ZodString;
13
+ source_collection: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>>;
15
+ serverless: z.ZodOptional<z.ZodObject<{
16
+ cloud: z.ZodEnum<{
17
+ aws: "aws";
18
+ gcp: "gcp";
19
+ azure: "azure";
20
+ }>;
21
+ region: z.ZodString;
22
+ }, z.core.$strip>>;
23
+ }, z.core.$strip>;
24
+ metric: z.ZodEnum<{
25
+ cosine: "cosine";
26
+ euclidean: "euclidean";
27
+ dotproduct: "dotproduct";
28
+ }>;
29
+ dimension: z.ZodOptional<z.ZodNumber>;
30
+ vector_type: z.ZodOptional<z.ZodEnum<{
31
+ dense: "dense";
32
+ sparse: "sparse";
33
+ }>>;
34
+ deletion_protection: z.ZodOptional<z.ZodEnum<{
35
+ enabled: "enabled";
36
+ disabled: "disabled";
37
+ }>>;
38
+ }, z.core.$strip>;
39
+ declare const PineconeCreateIndexOutput: z.ZodObject<{
40
+ host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ spec: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
43
+ metric: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45
+ ready: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
46
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ }, z.core.$loose>>>;
48
+ dimension: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
+ vector_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ deletion_protection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ }, z.core.$loose>;
52
+ declare const pineconeCreateIndex: import("@keystrokehq/action").WorkflowActionDefinition<{
53
+ name: string;
54
+ spec: {
55
+ pod?: {
56
+ pod_type: string;
57
+ environment: string;
58
+ pods?: number | undefined;
59
+ shards?: number | undefined;
60
+ replicas?: number | undefined;
61
+ source_collection?: string | undefined;
62
+ } | undefined;
63
+ serverless?: {
64
+ cloud: "aws" | "gcp" | "azure";
65
+ region: string;
66
+ } | undefined;
67
+ };
68
+ metric: "cosine" | "euclidean" | "dotproduct";
69
+ dimension?: number | undefined;
70
+ vector_type?: "dense" | "sparse" | undefined;
71
+ deletion_protection?: "enabled" | "disabled" | undefined;
72
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
73
  //#endregion
8
74
  export { pineconeCreateIndex };
9
75
  //# sourceMappingURL=create-index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-index.d.cts","names":[],"sources":["../../src/actions/create-index.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAoB4I;AAAA,cAKxK,yBAAA,EAA2B,CAAA,CAAE,UASmB;AAAA,cAEhD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-index.d.cts","names":[],"sources":["../../src/actions/create-index.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAWzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,75 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-index.d.ts
4
- declare const PineconeCreateIndexInput: z.ZodTypeAny;
5
- declare const PineconeCreateIndexOutput: z.ZodTypeAny;
6
- declare const pineconeCreateIndex: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PineconeCreateIndexInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ spec: z.ZodObject<{
7
+ pod: z.ZodOptional<z.ZodObject<{
8
+ pods: z.ZodOptional<z.ZodNumber>;
9
+ shards: z.ZodOptional<z.ZodNumber>;
10
+ pod_type: z.ZodString;
11
+ replicas: z.ZodOptional<z.ZodNumber>;
12
+ environment: z.ZodString;
13
+ source_collection: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>>;
15
+ serverless: z.ZodOptional<z.ZodObject<{
16
+ cloud: z.ZodEnum<{
17
+ aws: "aws";
18
+ gcp: "gcp";
19
+ azure: "azure";
20
+ }>;
21
+ region: z.ZodString;
22
+ }, z.core.$strip>>;
23
+ }, z.core.$strip>;
24
+ metric: z.ZodEnum<{
25
+ cosine: "cosine";
26
+ euclidean: "euclidean";
27
+ dotproduct: "dotproduct";
28
+ }>;
29
+ dimension: z.ZodOptional<z.ZodNumber>;
30
+ vector_type: z.ZodOptional<z.ZodEnum<{
31
+ dense: "dense";
32
+ sparse: "sparse";
33
+ }>>;
34
+ deletion_protection: z.ZodOptional<z.ZodEnum<{
35
+ enabled: "enabled";
36
+ disabled: "disabled";
37
+ }>>;
38
+ }, z.core.$strip>;
39
+ declare const PineconeCreateIndexOutput: z.ZodObject<{
40
+ host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ spec: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
43
+ metric: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45
+ ready: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
46
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ }, z.core.$loose>>>;
48
+ dimension: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
+ vector_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ deletion_protection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ }, z.core.$loose>;
52
+ declare const pineconeCreateIndex: import("@keystrokehq/action").WorkflowActionDefinition<{
53
+ name: string;
54
+ spec: {
55
+ pod?: {
56
+ pod_type: string;
57
+ environment: string;
58
+ pods?: number | undefined;
59
+ shards?: number | undefined;
60
+ replicas?: number | undefined;
61
+ source_collection?: string | undefined;
62
+ } | undefined;
63
+ serverless?: {
64
+ cloud: "aws" | "gcp" | "azure";
65
+ region: string;
66
+ } | undefined;
67
+ };
68
+ metric: "cosine" | "euclidean" | "dotproduct";
69
+ dimension?: number | undefined;
70
+ vector_type?: "dense" | "sparse" | undefined;
71
+ deletion_protection?: "enabled" | "disabled" | undefined;
72
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
73
  //#endregion
8
74
  export { pineconeCreateIndex };
9
75
  //# sourceMappingURL=create-index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-index.d.mts","names":[],"sources":["../../src/actions/create-index.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAoB4I;AAAA,cAKxK,yBAAA,EAA2B,CAAA,CAAE,UASmB;AAAA,cAEhD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-index.d.mts","names":[],"sources":["../../src/actions/create-index.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAWzB,mBAAA,gCAAmB,wBAAA"}
@@ -33,7 +33,7 @@ const PineconeCreateIndexInput = z.object({
33
33
  const PineconeCreateIndex_IndexStatusSchema = z.object({
34
34
  ready: z.boolean().describe("Whether the index is ready to serve queries.").nullable().optional(),
35
35
  state: z.string().describe("Current state of the index (e.g., Initializing, Ready).").nullable().optional()
36
- }).describe("Index status information.");
36
+ }).passthrough().describe("Index status information.");
37
37
  const pineconeCreateIndex = action("PINECONE_CREATE_INDEX", {
38
38
  slug: "pinecone-create-index",
39
39
  name: "Create Index",
@@ -48,7 +48,7 @@ const pineconeCreateIndex = action("PINECONE_CREATE_INDEX", {
48
48
  dimension: z.number().int().describe("Vector dimensions of the index.").nullable().optional(),
49
49
  vector_type: z.string().describe("Vector type: dense or sparse.").nullable().optional(),
50
50
  deletion_protection: z.string().describe("Deletion protection status.").nullable().optional()
51
- }).describe("Response schema for creating a Pinecone index.")
51
+ }).passthrough().describe("Response schema for creating a Pinecone index.")
52
52
  });
53
53
  //#endregion
54
54
  export { pineconeCreateIndex };
@@ -1 +1 @@
1
- {"version":3,"file":"create-index.mjs","names":[],"sources":["../../src/actions/create-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateIndexInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Index identifier (1-45 chars, lowercase alphanumeric or hyphens, must start/end with alphanumeric).\"),\n spec: z.object({\n pod: z.object({\n pods: z.number().int().describe(\"Number of pods to deploy (default: 1).\").optional(),\n shards: z.number().int().describe(\"Number of data shards (default: 1).\").optional(),\n pod_type: z.string().describe(\"Pod size and type (e.g., p1.x1, p1.x2, s1.x1).\"),\n replicas: z.number().int().describe(\"Replication factor (default: 1).\").optional(),\n environment: z.string().describe(\"Deployment environment.\"),\n source_collection: z.string().describe(\"Optional collection to use as data source.\").optional(),\n}).describe(\"Pod-based deployment specification.\").optional(),\n serverless: z.object({\n cloud: z.enum([\"aws\", \"gcp\", \"azure\"]).describe(\"Cloud provider for serverless deployment.\"),\n region: z.string().describe(\"Cloud region for deployment.\"),\n}).describe(\"Serverless deployment specification.\").optional(),\n}).describe(\"Deployment configuration. Must provide either serverless or pod specification.\"),\n metric: z.enum([\"cosine\", \"euclidean\", \"dotproduct\"]).describe(\"Similarity measure. Must be 'dotproduct' for sparse vectors.\"),\n dimension: z.number().int().describe(\"Vector dimensions (1-20,000). Required for dense vectors; omit for sparse vectors.\").optional(),\n vector_type: z.enum([\"dense\", \"sparse\"]).describe(\"Vector type: 'dense' (default) or 'sparse'.\").optional(),\n deletion_protection: z.enum([\"enabled\", \"disabled\"]).describe(\"Set to 'enabled' to prevent accidental deletion.\").optional(),\n}).describe(\"Request model for creating a Pinecone index.\\n\\nRequired fields: name, metric, spec\\nDimension is required for dense vectors but should be omitted for sparse vectors.\");\nconst PineconeCreateIndex_IndexStatusSchema: z.ZodTypeAny = z.object({\n ready: z.boolean().describe(\"Whether the index is ready to serve queries.\").nullable().optional(),\n state: z.string().describe(\"Current state of the index (e.g., Initializing, Ready).\").nullable().optional(),\n}).describe(\"Index status information.\");\nexport const PineconeCreateIndexOutput: z.ZodTypeAny = z.object({\n host: z.string().describe(\"Index endpoint URL for API operations.\").nullable().optional(),\n name: z.string().describe(\"Name of the created index.\").nullable().optional(),\n spec: z.record(z.string(), z.unknown()).describe(\"Deployment configuration (echoed back).\").nullable().optional(),\n metric: z.string().describe(\"Similarity metric used by the index.\").nullable().optional(),\n status: PineconeCreateIndex_IndexStatusSchema.nullable().optional(),\n dimension: z.number().int().describe(\"Vector dimensions of the index.\").nullable().optional(),\n vector_type: z.string().describe(\"Vector type: dense or sparse.\").nullable().optional(),\n deletion_protection: z.string().describe(\"Deletion protection status.\").nullable().optional(),\n}).describe(\"Response schema for creating a Pinecone index.\");\n\nexport const pineconeCreateIndex = action(\"PINECONE_CREATE_INDEX\", {\n slug: \"pinecone-create-index\",\n name: \"Create Index\",\n description: \"Tool to create a Pinecone index with specified configuration. Use when you need to initialize a new vector database index for storing and querying embeddings.\",\n input: PineconeCreateIndexInput,\n output: PineconeCreateIndexOutput,\n});\n"],"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sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateIndexInput = z.object({\n name: z.string().describe(\"Index identifier (1-45 chars, lowercase alphanumeric or hyphens, must start/end with alphanumeric).\"),\n spec: z.object({\n pod: z.object({\n pods: z.number().int().describe(\"Number of pods to deploy (default: 1).\").optional(),\n shards: z.number().int().describe(\"Number of data shards (default: 1).\").optional(),\n pod_type: z.string().describe(\"Pod size and type (e.g., p1.x1, p1.x2, s1.x1).\"),\n replicas: z.number().int().describe(\"Replication factor (default: 1).\").optional(),\n environment: z.string().describe(\"Deployment environment.\"),\n source_collection: z.string().describe(\"Optional collection to use as data source.\").optional(),\n}).describe(\"Pod-based deployment specification.\").optional(),\n serverless: z.object({\n cloud: z.enum([\"aws\", \"gcp\", \"azure\"]).describe(\"Cloud provider for serverless deployment.\"),\n region: z.string().describe(\"Cloud region for deployment.\"),\n}).describe(\"Serverless deployment specification.\").optional(),\n}).describe(\"Deployment configuration. Must provide either serverless or pod specification.\"),\n metric: z.enum([\"cosine\", \"euclidean\", \"dotproduct\"]).describe(\"Similarity measure. Must be 'dotproduct' for sparse vectors.\"),\n dimension: z.number().int().describe(\"Vector dimensions (1-20,000). Required for dense vectors; omit for sparse vectors.\").optional(),\n vector_type: z.enum([\"dense\", \"sparse\"]).describe(\"Vector type: 'dense' (default) or 'sparse'.\").optional(),\n deletion_protection: z.enum([\"enabled\", \"disabled\"]).describe(\"Set to 'enabled' to prevent accidental deletion.\").optional(),\n}).describe(\"Request model for creating a Pinecone index.\\n\\nRequired fields: name, metric, spec\\nDimension is required for dense vectors but should be omitted for sparse vectors.\");\nconst PineconeCreateIndex_IndexStatusSchema = z.object({\n ready: z.boolean().describe(\"Whether the index is ready to serve queries.\").nullable().optional(),\n state: z.string().describe(\"Current state of the index (e.g., Initializing, Ready).\").nullable().optional(),\n}).passthrough().describe(\"Index status information.\");\nexport const PineconeCreateIndexOutput = z.object({\n host: z.string().describe(\"Index endpoint URL for API operations.\").nullable().optional(),\n name: z.string().describe(\"Name of the created index.\").nullable().optional(),\n spec: z.record(z.string(), z.unknown()).describe(\"Deployment configuration (echoed back).\").nullable().optional(),\n metric: z.string().describe(\"Similarity metric used by the index.\").nullable().optional(),\n status: PineconeCreateIndex_IndexStatusSchema.nullable().optional(),\n dimension: z.number().int().describe(\"Vector dimensions of the index.\").nullable().optional(),\n vector_type: z.string().describe(\"Vector type: dense or sparse.\").nullable().optional(),\n deletion_protection: z.string().describe(\"Deletion protection status.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a Pinecone index.\");\n\nexport const pineconeCreateIndex = action(\"PINECONE_CREATE_INDEX\", {\n slug: \"pinecone-create-index\",\n name: \"Create Index\",\n description: \"Tool to create a Pinecone index with specified configuration. Use when you need to initialize a new vector database index for storing and querying embeddings.\",\n input: PineconeCreateIndexInput,\n output: PineconeCreateIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CAC/H,MAAM,EAAE,OAAO;EACf,KAAK,EAAE,OAAO;GACd,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;GACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;GAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;GAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;GAC1D,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAChG,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1D,YAAY,EAAE,OAAO;GACrB,OAAO,EAAE,KAA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S,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,QAAQ,sCAAsC,SAAS,CAAC,CAAC,SAAS;EAClE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -3,16 +3,16 @@ let zod = require("zod");
3
3
  //#region src/actions/create-namespace.ts
4
4
  const PineconeCreateNamespaceInput = zod.z.object({
5
5
  name: zod.z.string().describe("The name of the namespace to create."),
6
- schema: zod.z.object({ fields: zod.z.object({}).describe("Mapping of field names to their indexing configuration.") }).describe("Schema configuration for metadata indexing behavior.").optional(),
6
+ schema: zod.z.object({ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Mapping of field names to their indexing configuration.") }).describe("Schema configuration for metadata indexing behavior.").optional(),
7
7
  index_host: zod.z.string().describe("The host URL of the serverless index (e.g., 'index-name-xxxxx.svc.aped-xxxx-xxxx.pinecone.io').")
8
8
  }).describe("Request model for creating a namespace in a serverless Pinecone index.");
9
- const PineconeCreateNamespace_SchemaConfigSchema = zod.z.object({ fields: zod.z.object({}).describe("Mapping of field names to their indexing configuration.") }).describe("Schema configuration for metadata indexing behavior.");
9
+ const PineconeCreateNamespace_SchemaConfigSchema = zod.z.object({ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Mapping of field names to their indexing configuration.") }).passthrough().describe("Schema configuration for metadata indexing behavior.");
10
10
  const PineconeCreateNamespaceOutput = zod.z.object({
11
- name: zod.z.string().describe("The name of the created namespace."),
11
+ name: zod.z.string().describe("The name of the created namespace.").nullable(),
12
12
  schema: PineconeCreateNamespace_SchemaConfigSchema.nullable().optional(),
13
13
  record_count: zod.z.number().int().describe("Total number of records within the namespace.").nullable().optional(),
14
- indexed_fields: zod.z.object({}).describe("List of all indexed metadata fields.").nullable().optional()
15
- }).describe("Response model containing details of the created namespace.");
14
+ indexed_fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("List of all indexed metadata fields.").nullable().optional()
15
+ }).passthrough().describe("Response model containing details of the created namespace.");
16
16
  const pineconeCreateNamespace = require_action.action("PINECONE_CREATE_NAMESPACE", {
17
17
  slug: "pinecone-create-namespace",
18
18
  name: "Create Namespace",
@@ -1 +1 @@
1
- {"version":3,"file":"create-namespace.cjs","names":["z","action"],"sources":["../../src/actions/create-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateNamespaceInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the namespace to create.\"),\n schema: z.object({\n fields: z.object({}).describe(\"Mapping of field names to their indexing configuration.\"),\n}).describe(\"Schema configuration for metadata indexing behavior.\").optional(),\n index_host: z.string().describe(\"The host URL of the serverless index (e.g., 'index-name-xxxxx.svc.aped-xxxx-xxxx.pinecone.io').\"),\n}).describe(\"Request model for creating a namespace in a serverless Pinecone index.\");\nconst PineconeCreateNamespace_SchemaConfigSchema: z.ZodTypeAny = z.object({\n fields: z.object({}).describe(\"Mapping of field names to their indexing configuration.\"),\n}).describe(\"Schema configuration for metadata indexing behavior.\");\nexport const PineconeCreateNamespaceOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the created namespace.\"),\n schema: PineconeCreateNamespace_SchemaConfigSchema.nullable().optional(),\n record_count: z.number().int().describe(\"Total number of records within the namespace.\").nullable().optional(),\n indexed_fields: z.object({}).describe(\"List of all indexed metadata fields.\").nullable().optional(),\n}).describe(\"Response model containing details of the created namespace.\");\n\nexport const pineconeCreateNamespace = action(\"PINECONE_CREATE_NAMESPACE\", {\n slug: \"pinecone-create-namespace\",\n name: \"Create Namespace\",\n description: \"Tool to create a namespace within a serverless Pinecone index. Use when you need to organize vectors into isolated partitions.\",\n input: PineconeCreateNamespaceInput,\n output: PineconeCreateNamespaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,QAAQA,IAAAA,EAAE,OAAO,EACjB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD,EACzF,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;AACnI,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,6CAA2DA,IAAAA,EAAE,OAAO,EACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD,EACzF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,QAAQ,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-namespace.cjs","names":["z","action"],"sources":["../../src/actions/create-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateNamespaceInput = z.object({\n name: z.string().describe(\"The name of the namespace to create.\"),\n schema: z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Mapping of field names to their indexing configuration.\"),\n}).describe(\"Schema configuration for metadata indexing behavior.\").optional(),\n index_host: z.string().describe(\"The host URL of the serverless index (e.g., 'index-name-xxxxx.svc.aped-xxxx-xxxx.pinecone.io').\"),\n}).describe(\"Request model for creating a namespace in a serverless Pinecone index.\");\nconst PineconeCreateNamespace_SchemaConfigSchema = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Mapping of field names to their indexing configuration.\"),\n}).passthrough().describe(\"Schema configuration for metadata indexing behavior.\");\nexport const PineconeCreateNamespaceOutput = z.object({\n name: z.string().describe(\"The name of the created namespace.\").nullable(),\n schema: PineconeCreateNamespace_SchemaConfigSchema.nullable().optional(),\n record_count: z.number().int().describe(\"Total number of records within the namespace.\").nullable().optional(),\n indexed_fields: z.record(z.string(), z.unknown()).describe(\"List of all indexed metadata fields.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of the created namespace.\");\n\nexport const pineconeCreateNamespace = action(\"PINECONE_CREATE_NAMESPACE\", {\n slug: \"pinecone-create-namespace\",\n name: \"Create Namespace\",\n description: \"Tool to create a namespace within a serverless Pinecone index. Use when you need to organize vectors into isolated partitions.\",\n input: PineconeCreateNamespaceInput,\n output: PineconeCreateNamespaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,QAAQA,IAAAA,EAAE,OAAO,EACjB,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,EAC9G,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;AACnI,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO,EAC1D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,QAAQ,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-namespace.d.ts
4
- declare const PineconeCreateNamespaceInput: z.ZodTypeAny;
5
- declare const PineconeCreateNamespaceOutput: z.ZodTypeAny;
6
- declare const pineconeCreateNamespace: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PineconeCreateNamespaceInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ schema: z.ZodOptional<z.ZodObject<{
7
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
+ }, z.core.$strip>>;
9
+ index_host: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const PineconeCreateNamespaceOutput: z.ZodObject<{
12
+ name: z.ZodNullable<z.ZodString>;
13
+ schema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15
+ }, z.core.$loose>>>;
16
+ record_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ indexed_fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
+ }, z.core.$loose>;
19
+ declare const pineconeCreateNamespace: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ name: string;
21
+ index_host: string;
22
+ schema?: {
23
+ fields: Record<string, unknown>;
24
+ } | undefined;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { pineconeCreateNamespace };
9
28
  //# sourceMappingURL=create-namespace.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-namespace.d.cts","names":[],"sources":["../../src/actions/create-namespace.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAMwC;AAAA,cAIxE,6BAAA,EAA+B,CAAA,CAAE,UAK4B;AAAA,cAE7D,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-namespace.d.cts","names":[],"sources":["../../src/actions/create-namespace.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAU5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAO7B,uBAAA,gCAAuB,wBAAA;;;;YAMlC,MAAA;EAAA;AAAA"}