@keystrokehq/pinecone 0.1.2 → 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 (303) hide show
  1. package/dist/actions/cancel-bulk-import.cjs +1 -1
  2. package/dist/actions/cancel-bulk-import.cjs.map +1 -1
  3. package/dist/actions/cancel-bulk-import.d.cts +1 -1
  4. package/dist/actions/cancel-bulk-import.d.cts.map +1 -1
  5. package/dist/actions/cancel-bulk-import.d.mts +1 -1
  6. package/dist/actions/cancel-bulk-import.d.mts.map +1 -1
  7. package/dist/actions/cancel-bulk-import.mjs +1 -1
  8. package/dist/actions/cancel-bulk-import.mjs.map +1 -1
  9. package/dist/actions/chat-assistant.cjs +9 -9
  10. package/dist/actions/chat-assistant.cjs.map +1 -1
  11. package/dist/actions/chat-assistant.d.cts +11 -10
  12. package/dist/actions/chat-assistant.d.cts.map +1 -1
  13. package/dist/actions/chat-assistant.d.mts +11 -10
  14. package/dist/actions/chat-assistant.d.mts.map +1 -1
  15. package/dist/actions/chat-assistant.mjs +9 -9
  16. package/dist/actions/chat-assistant.mjs.map +1 -1
  17. package/dist/actions/chat-completion-assistant.cjs +6 -6
  18. package/dist/actions/chat-completion-assistant.cjs.map +1 -1
  19. package/dist/actions/chat-completion-assistant.d.cts +8 -7
  20. package/dist/actions/chat-completion-assistant.d.cts.map +1 -1
  21. package/dist/actions/chat-completion-assistant.d.mts +8 -7
  22. package/dist/actions/chat-completion-assistant.d.mts.map +1 -1
  23. package/dist/actions/chat-completion-assistant.mjs +6 -6
  24. package/dist/actions/chat-completion-assistant.mjs.map +1 -1
  25. package/dist/actions/configure-index.cjs +6 -6
  26. package/dist/actions/configure-index.cjs.map +1 -1
  27. package/dist/actions/configure-index.d.cts +7 -7
  28. package/dist/actions/configure-index.d.mts +7 -7
  29. package/dist/actions/configure-index.mjs +6 -6
  30. package/dist/actions/configure-index.mjs.map +1 -1
  31. package/dist/actions/create-assistant.cjs +3 -3
  32. package/dist/actions/create-assistant.cjs.map +1 -1
  33. package/dist/actions/create-assistant.d.cts +4 -4
  34. package/dist/actions/create-assistant.d.mts +4 -4
  35. package/dist/actions/create-assistant.mjs +3 -3
  36. package/dist/actions/create-assistant.mjs.map +1 -1
  37. package/dist/actions/create-backup.cjs +1 -1
  38. package/dist/actions/create-backup.cjs.map +1 -1
  39. package/dist/actions/create-backup.d.cts +1 -1
  40. package/dist/actions/create-backup.d.mts +1 -1
  41. package/dist/actions/create-backup.mjs +1 -1
  42. package/dist/actions/create-backup.mjs.map +1 -1
  43. package/dist/actions/create-index-for-model.cjs +9 -9
  44. package/dist/actions/create-index-for-model.cjs.map +1 -1
  45. package/dist/actions/create-index-for-model.d.cts +11 -11
  46. package/dist/actions/create-index-for-model.d.mts +11 -11
  47. package/dist/actions/create-index-for-model.mjs +9 -9
  48. package/dist/actions/create-index-for-model.mjs.map +1 -1
  49. package/dist/actions/create-index-from-backup.cjs +2 -2
  50. package/dist/actions/create-index-from-backup.cjs.map +1 -1
  51. package/dist/actions/create-index-from-backup.d.cts +3 -3
  52. package/dist/actions/create-index-from-backup.d.mts +3 -3
  53. package/dist/actions/create-index-from-backup.mjs +2 -2
  54. package/dist/actions/create-index-from-backup.mjs.map +1 -1
  55. package/dist/actions/create-index.cjs +2 -2
  56. package/dist/actions/create-index.cjs.map +1 -1
  57. package/dist/actions/create-index.d.cts +2 -2
  58. package/dist/actions/create-index.d.mts +2 -2
  59. package/dist/actions/create-index.mjs +2 -2
  60. package/dist/actions/create-index.mjs.map +1 -1
  61. package/dist/actions/create-namespace.cjs +4 -4
  62. package/dist/actions/create-namespace.cjs.map +1 -1
  63. package/dist/actions/create-namespace.d.cts +6 -6
  64. package/dist/actions/create-namespace.d.mts +6 -6
  65. package/dist/actions/create-namespace.mjs +4 -4
  66. package/dist/actions/create-namespace.mjs.map +1 -1
  67. package/dist/actions/delete-assistant.cjs +1 -1
  68. package/dist/actions/delete-assistant.cjs.map +1 -1
  69. package/dist/actions/delete-assistant.d.cts +1 -1
  70. package/dist/actions/delete-assistant.d.mts +1 -1
  71. package/dist/actions/delete-assistant.mjs +1 -1
  72. package/dist/actions/delete-assistant.mjs.map +1 -1
  73. package/dist/actions/delete-backup.cjs +1 -1
  74. package/dist/actions/delete-backup.cjs.map +1 -1
  75. package/dist/actions/delete-backup.d.cts +1 -1
  76. package/dist/actions/delete-backup.d.mts +1 -1
  77. package/dist/actions/delete-backup.mjs +1 -1
  78. package/dist/actions/delete-backup.mjs.map +1 -1
  79. package/dist/actions/delete-file.cjs +1 -1
  80. package/dist/actions/delete-file.cjs.map +1 -1
  81. package/dist/actions/delete-file.d.cts +1 -1
  82. package/dist/actions/delete-file.d.mts +1 -1
  83. package/dist/actions/delete-file.mjs +1 -1
  84. package/dist/actions/delete-file.mjs.map +1 -1
  85. package/dist/actions/delete-index.cjs +1 -1
  86. package/dist/actions/delete-index.cjs.map +1 -1
  87. package/dist/actions/delete-index.d.cts +1 -1
  88. package/dist/actions/delete-index.d.mts +1 -1
  89. package/dist/actions/delete-index.mjs +1 -1
  90. package/dist/actions/delete-index.mjs.map +1 -1
  91. package/dist/actions/delete-namespace.cjs +1 -1
  92. package/dist/actions/delete-namespace.cjs.map +1 -1
  93. package/dist/actions/delete-namespace.d.cts +1 -1
  94. package/dist/actions/delete-namespace.d.cts.map +1 -1
  95. package/dist/actions/delete-namespace.d.mts +1 -1
  96. package/dist/actions/delete-namespace.d.mts.map +1 -1
  97. package/dist/actions/delete-namespace.mjs +1 -1
  98. package/dist/actions/delete-namespace.mjs.map +1 -1
  99. package/dist/actions/delete-vectors.cjs +2 -2
  100. package/dist/actions/delete-vectors.cjs.map +1 -1
  101. package/dist/actions/delete-vectors.d.cts +3 -3
  102. package/dist/actions/delete-vectors.d.cts.map +1 -1
  103. package/dist/actions/delete-vectors.d.mts +3 -3
  104. package/dist/actions/delete-vectors.d.mts.map +1 -1
  105. package/dist/actions/delete-vectors.mjs +2 -2
  106. package/dist/actions/delete-vectors.mjs.map +1 -1
  107. package/dist/actions/describe-backup.cjs +3 -3
  108. package/dist/actions/describe-backup.cjs.map +1 -1
  109. package/dist/actions/describe-backup.d.cts +3 -3
  110. package/dist/actions/describe-backup.d.mts +3 -3
  111. package/dist/actions/describe-backup.mjs +3 -3
  112. package/dist/actions/describe-backup.mjs.map +1 -1
  113. package/dist/actions/describe-bulk-import.cjs +1 -1
  114. package/dist/actions/describe-bulk-import.cjs.map +1 -1
  115. package/dist/actions/describe-bulk-import.d.cts +1 -1
  116. package/dist/actions/describe-bulk-import.d.mts +1 -1
  117. package/dist/actions/describe-bulk-import.mjs +1 -1
  118. package/dist/actions/describe-bulk-import.mjs.map +1 -1
  119. package/dist/actions/describe-file.cjs +2 -2
  120. package/dist/actions/describe-file.cjs.map +1 -1
  121. package/dist/actions/describe-file.d.cts +2 -2
  122. package/dist/actions/describe-file.d.mts +2 -2
  123. package/dist/actions/describe-file.mjs +2 -2
  124. package/dist/actions/describe-file.mjs.map +1 -1
  125. package/dist/actions/describe-index-stats.cjs +2 -2
  126. package/dist/actions/describe-index-stats.cjs.map +1 -1
  127. package/dist/actions/describe-index-stats.d.cts +2 -2
  128. package/dist/actions/describe-index-stats.d.mts +2 -2
  129. package/dist/actions/describe-index-stats.mjs +2 -2
  130. package/dist/actions/describe-index-stats.mjs.map +1 -1
  131. package/dist/actions/describe-index.cjs +9 -9
  132. package/dist/actions/describe-index.cjs.map +1 -1
  133. package/dist/actions/describe-index.d.cts +9 -9
  134. package/dist/actions/describe-index.d.mts +9 -9
  135. package/dist/actions/describe-index.mjs +9 -9
  136. package/dist/actions/describe-index.mjs.map +1 -1
  137. package/dist/actions/describe-namespace.cjs +3 -3
  138. package/dist/actions/describe-namespace.cjs.map +1 -1
  139. package/dist/actions/describe-namespace.d.cts +4 -4
  140. package/dist/actions/describe-namespace.d.mts +4 -4
  141. package/dist/actions/describe-namespace.mjs +3 -3
  142. package/dist/actions/describe-namespace.mjs.map +1 -1
  143. package/dist/actions/describe-restore-job.cjs +1 -1
  144. package/dist/actions/describe-restore-job.cjs.map +1 -1
  145. package/dist/actions/describe-restore-job.d.cts +1 -1
  146. package/dist/actions/describe-restore-job.d.mts +1 -1
  147. package/dist/actions/describe-restore-job.mjs +1 -1
  148. package/dist/actions/describe-restore-job.mjs.map +1 -1
  149. package/dist/actions/embed.cjs +5 -5
  150. package/dist/actions/embed.cjs.map +1 -1
  151. package/dist/actions/embed.d.cts +6 -5
  152. package/dist/actions/embed.d.mts +6 -5
  153. package/dist/actions/embed.mjs +5 -5
  154. package/dist/actions/embed.mjs.map +1 -1
  155. package/dist/actions/fetch-vectors.cjs +3 -3
  156. package/dist/actions/fetch-vectors.cjs.map +1 -1
  157. package/dist/actions/fetch-vectors.d.cts +3 -3
  158. package/dist/actions/fetch-vectors.d.mts +3 -3
  159. package/dist/actions/fetch-vectors.mjs +3 -3
  160. package/dist/actions/fetch-vectors.mjs.map +1 -1
  161. package/dist/actions/get-assistant.cjs +2 -2
  162. package/dist/actions/get-assistant.cjs.map +1 -1
  163. package/dist/actions/get-assistant.d.cts +2 -2
  164. package/dist/actions/get-assistant.d.mts +2 -2
  165. package/dist/actions/get-assistant.mjs +2 -2
  166. package/dist/actions/get-assistant.mjs.map +1 -1
  167. package/dist/actions/get-model.cjs +2 -2
  168. package/dist/actions/get-model.cjs.map +1 -1
  169. package/dist/actions/get-model.d.cts +2 -2
  170. package/dist/actions/get-model.d.mts +2 -2
  171. package/dist/actions/get-model.mjs +2 -2
  172. package/dist/actions/get-model.mjs.map +1 -1
  173. package/dist/actions/list-assistants.cjs +4 -4
  174. package/dist/actions/list-assistants.cjs.map +1 -1
  175. package/dist/actions/list-assistants.d.cts +4 -4
  176. package/dist/actions/list-assistants.d.mts +4 -4
  177. package/dist/actions/list-assistants.mjs +4 -4
  178. package/dist/actions/list-assistants.mjs.map +1 -1
  179. package/dist/actions/list-bulk-imports.cjs +3 -3
  180. package/dist/actions/list-bulk-imports.cjs.map +1 -1
  181. package/dist/actions/list-bulk-imports.d.cts +3 -3
  182. package/dist/actions/list-bulk-imports.d.mts +3 -3
  183. package/dist/actions/list-bulk-imports.mjs +3 -3
  184. package/dist/actions/list-bulk-imports.mjs.map +1 -1
  185. package/dist/actions/list-collections.cjs +2 -2
  186. package/dist/actions/list-collections.cjs.map +1 -1
  187. package/dist/actions/list-collections.d.cts +2 -2
  188. package/dist/actions/list-collections.d.mts +2 -2
  189. package/dist/actions/list-collections.mjs +2 -2
  190. package/dist/actions/list-collections.mjs.map +1 -1
  191. package/dist/actions/list-files.cjs +4 -4
  192. package/dist/actions/list-files.cjs.map +1 -1
  193. package/dist/actions/list-files.d.cts +4 -4
  194. package/dist/actions/list-files.d.mts +4 -4
  195. package/dist/actions/list-files.mjs +4 -4
  196. package/dist/actions/list-files.mjs.map +1 -1
  197. package/dist/actions/list-index-backups.cjs +5 -5
  198. package/dist/actions/list-index-backups.cjs.map +1 -1
  199. package/dist/actions/list-index-backups.d.cts +5 -5
  200. package/dist/actions/list-index-backups.d.mts +5 -5
  201. package/dist/actions/list-index-backups.mjs +5 -5
  202. package/dist/actions/list-index-backups.mjs.map +1 -1
  203. package/dist/actions/list-indexes.cjs +8 -8
  204. package/dist/actions/list-indexes.cjs.map +1 -1
  205. package/dist/actions/list-indexes.d.cts +8 -8
  206. package/dist/actions/list-indexes.d.mts +8 -8
  207. package/dist/actions/list-indexes.mjs +8 -8
  208. package/dist/actions/list-indexes.mjs.map +1 -1
  209. package/dist/actions/list-models.cjs +3 -3
  210. package/dist/actions/list-models.cjs.map +1 -1
  211. package/dist/actions/list-models.d.cts +3 -3
  212. package/dist/actions/list-models.d.mts +3 -3
  213. package/dist/actions/list-models.mjs +3 -3
  214. package/dist/actions/list-models.mjs.map +1 -1
  215. package/dist/actions/list-namespaces-operation.cjs +5 -5
  216. package/dist/actions/list-namespaces-operation.cjs.map +1 -1
  217. package/dist/actions/list-namespaces-operation.d.cts +6 -6
  218. package/dist/actions/list-namespaces-operation.d.mts +6 -6
  219. package/dist/actions/list-namespaces-operation.mjs +5 -5
  220. package/dist/actions/list-namespaces-operation.mjs.map +1 -1
  221. package/dist/actions/list-project-backups.cjs +5 -5
  222. package/dist/actions/list-project-backups.cjs.map +1 -1
  223. package/dist/actions/list-project-backups.d.cts +5 -5
  224. package/dist/actions/list-project-backups.d.mts +5 -5
  225. package/dist/actions/list-project-backups.mjs +5 -5
  226. package/dist/actions/list-project-backups.mjs.map +1 -1
  227. package/dist/actions/list-restore-jobs.cjs +3 -3
  228. package/dist/actions/list-restore-jobs.cjs.map +1 -1
  229. package/dist/actions/list-restore-jobs.d.cts +3 -3
  230. package/dist/actions/list-restore-jobs.d.mts +3 -3
  231. package/dist/actions/list-restore-jobs.mjs +3 -3
  232. package/dist/actions/list-restore-jobs.mjs.map +1 -1
  233. package/dist/actions/list-vectors.cjs +4 -4
  234. package/dist/actions/list-vectors.cjs.map +1 -1
  235. package/dist/actions/list-vectors.d.cts +4 -4
  236. package/dist/actions/list-vectors.d.mts +4 -4
  237. package/dist/actions/list-vectors.mjs +4 -4
  238. package/dist/actions/list-vectors.mjs.map +1 -1
  239. package/dist/actions/query-vectors.cjs +6 -6
  240. package/dist/actions/query-vectors.cjs.map +1 -1
  241. package/dist/actions/query-vectors.d.cts +7 -7
  242. package/dist/actions/query-vectors.d.mts +7 -7
  243. package/dist/actions/query-vectors.mjs +6 -6
  244. package/dist/actions/query-vectors.mjs.map +1 -1
  245. package/dist/actions/rerank.cjs +4 -4
  246. package/dist/actions/rerank.cjs.map +1 -1
  247. package/dist/actions/rerank.d.cts +5 -4
  248. package/dist/actions/rerank.d.cts.map +1 -1
  249. package/dist/actions/rerank.d.mts +5 -4
  250. package/dist/actions/rerank.d.mts.map +1 -1
  251. package/dist/actions/rerank.mjs +4 -4
  252. package/dist/actions/rerank.mjs.map +1 -1
  253. package/dist/actions/retrieve-context-assistant.cjs +9 -9
  254. package/dist/actions/retrieve-context-assistant.cjs.map +1 -1
  255. package/dist/actions/retrieve-context-assistant.d.cts +11 -10
  256. package/dist/actions/retrieve-context-assistant.d.mts +11 -10
  257. package/dist/actions/retrieve-context-assistant.mjs +9 -9
  258. package/dist/actions/retrieve-context-assistant.mjs.map +1 -1
  259. package/dist/actions/search-records-namespace.cjs +7 -7
  260. package/dist/actions/search-records-namespace.cjs.map +1 -1
  261. package/dist/actions/search-records-namespace.d.cts +9 -9
  262. package/dist/actions/search-records-namespace.d.mts +9 -9
  263. package/dist/actions/search-records-namespace.mjs +7 -7
  264. package/dist/actions/search-records-namespace.mjs.map +1 -1
  265. package/dist/actions/start-bulk-import.cjs +1 -1
  266. package/dist/actions/start-bulk-import.cjs.map +1 -1
  267. package/dist/actions/start-bulk-import.d.cts +1 -1
  268. package/dist/actions/start-bulk-import.d.mts +1 -1
  269. package/dist/actions/start-bulk-import.mjs +1 -1
  270. package/dist/actions/start-bulk-import.mjs.map +1 -1
  271. package/dist/actions/update-assistant.cjs +3 -3
  272. package/dist/actions/update-assistant.cjs.map +1 -1
  273. package/dist/actions/update-assistant.d.cts +4 -4
  274. package/dist/actions/update-assistant.d.mts +4 -4
  275. package/dist/actions/update-assistant.mjs +3 -3
  276. package/dist/actions/update-assistant.mjs.map +1 -1
  277. package/dist/actions/update-vector.cjs +3 -3
  278. package/dist/actions/update-vector.cjs.map +1 -1
  279. package/dist/actions/update-vector.d.cts +5 -5
  280. package/dist/actions/update-vector.d.mts +5 -5
  281. package/dist/actions/update-vector.mjs +3 -3
  282. package/dist/actions/update-vector.mjs.map +1 -1
  283. package/dist/actions/upload-file.cjs +1 -1
  284. package/dist/actions/upload-file.cjs.map +1 -1
  285. package/dist/actions/upload-file.d.cts +1 -1
  286. package/dist/actions/upload-file.d.mts +1 -1
  287. package/dist/actions/upload-file.mjs +1 -1
  288. package/dist/actions/upload-file.mjs.map +1 -1
  289. package/dist/actions/upsert-records-namespace.cjs +1 -1
  290. package/dist/actions/upsert-records-namespace.cjs.map +1 -1
  291. package/dist/actions/upsert-records-namespace.d.cts +1 -1
  292. package/dist/actions/upsert-records-namespace.d.mts +1 -1
  293. package/dist/actions/upsert-records-namespace.mjs +1 -1
  294. package/dist/actions/upsert-records-namespace.mjs.map +1 -1
  295. package/dist/actions/upsert-vectors.cjs +3 -3
  296. package/dist/actions/upsert-vectors.cjs.map +1 -1
  297. package/dist/actions/upsert-vectors.d.cts +5 -4
  298. package/dist/actions/upsert-vectors.d.cts.map +1 -1
  299. package/dist/actions/upsert-vectors.d.mts +5 -4
  300. package/dist/actions/upsert-vectors.d.mts.map +1 -1
  301. package/dist/actions/upsert-vectors.mjs +3 -3
  302. package/dist/actions/upsert-vectors.mjs.map +1 -1
  303. package/package.json +1 -1
@@ -13,26 +13,26 @@ declare const PineconeListIndexesOutput: z.ZodObject<{
13
13
  podType: z.ZodNullable<z.ZodString>;
14
14
  replicas: z.ZodNullable<z.ZodNumber>;
15
15
  environment: z.ZodNullable<z.ZodString>;
16
- metadataConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
16
+ metadataConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17
17
  sourceCollection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>>;
18
+ }, z.core.$loose>>>;
19
19
  serverless: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20
20
  cloud: z.ZodNullable<z.ZodString>;
21
21
  region: z.ZodNullable<z.ZodString>;
22
- }, z.core.$strip>>>;
23
- }, z.core.$strip>>>;
24
- tags: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
22
+ }, z.core.$loose>>>;
23
+ }, z.core.$loose>>>;
24
+ tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
25
  metric: z.ZodNullable<z.ZodString>;
26
26
  status: z.ZodNullable<z.ZodObject<{
27
27
  ready: z.ZodNullable<z.ZodBoolean>;
28
28
  state: z.ZodNullable<z.ZodString>;
29
- }, z.core.$strip>>;
29
+ }, z.core.$loose>>;
30
30
  dimension: z.ZodNullable<z.ZodNumber>;
31
31
  vectorType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  privateHost: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  deletionProtection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
- }, z.core.$strip>>>>;
35
- }, z.core.$strip>;
34
+ }, z.core.$loose>>>>;
35
+ }, z.core.$loose>;
36
36
  declare const pineconeListIndexes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
37
  //#endregion
38
38
  export { pineconeListIndexes };
@@ -8,39 +8,39 @@ const PineconeListIndexes_PodSpecSchema = z.object({
8
8
  podType: z.string().describe("Type of pod.").nullable(),
9
9
  replicas: z.number().int().describe("Number of replicas.").nullable(),
10
10
  environment: z.string().describe("Deployment environment.").nullable(),
11
- metadataConfig: z.object({}).describe("Metadata configuration.").nullable().optional(),
11
+ metadataConfig: z.record(z.string(), z.unknown()).describe("Metadata configuration.").nullable().optional(),
12
12
  sourceCollection: z.string().describe("Source collection name.").nullable().optional()
13
- }).describe("Pod-based deployment specification.");
13
+ }).passthrough().describe("Pod-based deployment specification.");
14
14
  const PineconeListIndexes_ServerlessSpecSchema = z.object({
15
15
  cloud: z.string().describe("Cloud provider.").nullable(),
16
16
  region: z.string().describe("Cloud region.").nullable()
17
- }).describe("Serverless deployment specification.");
17
+ }).passthrough().describe("Serverless deployment specification.");
18
18
  const PineconeListIndexes_IndexSpecSchema = z.object({
19
19
  pod: PineconeListIndexes_PodSpecSchema.nullable().optional(),
20
20
  serverless: PineconeListIndexes_ServerlessSpecSchema.nullable().optional()
21
- }).describe("Deployment specification for an index.");
21
+ }).passthrough().describe("Deployment specification for an index.");
22
22
  const PineconeListIndexes_IndexStatusSchema = z.object({
23
23
  ready: z.boolean().describe("Indicates if the index is operational.").nullable(),
24
24
  state: z.string().describe("Current state of the index (Initializing, Ready, ScalingUp, ScalingDown, Terminating).").nullable()
25
- }).describe("Status information for an index.");
25
+ }).passthrough().describe("Status information for an index.");
26
26
  const PineconeListIndexes_IndexItemSchema = z.object({
27
27
  host: z.string().describe("Index endpoint URL.").nullable(),
28
28
  name: z.string().describe("The index identifier.").nullable(),
29
29
  spec: PineconeListIndexes_IndexSpecSchema.nullable().optional(),
30
- tags: z.object({}).describe("Custom key-value metadata.").nullable().optional(),
30
+ tags: z.record(z.string(), z.unknown()).describe("Custom key-value metadata.").nullable().optional(),
31
31
  metric: z.string().describe("Distance metric: cosine, euclidean, or dotproduct.").nullable(),
32
32
  status: PineconeListIndexes_IndexStatusSchema.nullable(),
33
33
  dimension: z.number().int().describe("Vector dimensionality.").nullable(),
34
34
  vectorType: z.string().describe("Vector type: dense or sparse.").nullable().optional(),
35
35
  privateHost: z.string().describe("Private endpoint URL.").nullable().optional(),
36
36
  deletionProtection: z.string().describe("Deletion protection status.").nullable().optional()
37
- }).describe("Individual index information.");
37
+ }).passthrough().describe("Individual index information.");
38
38
  const pineconeListIndexes = action("PINECONE_LIST_INDEXES", {
39
39
  slug: "pinecone-list-indexes",
40
40
  name: "List Indexes",
41
41
  description: "Tool to list all indexes in a Pinecone project. Use when you need to retrieve all indexes with their configurations and status information.",
42
42
  input: PineconeListIndexesInput,
43
- output: z.object({ indexes: z.array(PineconeListIndexes_IndexItemSchema).describe("List of indexes in the project.").nullable().optional() }).describe("Response model for listing indexes.")
43
+ output: z.object({ indexes: z.array(PineconeListIndexes_IndexItemSchema).describe("List of indexes in the project.").nullable().optional() }).passthrough().describe("Response model for listing indexes.")
44
44
  });
45
45
  //#endregion
46
46
  export { pineconeListIndexes };
@@ -1 +1 @@
1
- {"version":3,"file":"list-indexes.mjs","names":[],"sources":["../../src/actions/list-indexes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListIndexesInput = z.object({}).describe(\"Request model for listing indexes. No parameters are required.\");\nconst PineconeListIndexes_PodSpecSchema = z.object({\n pods: z.number().int().describe(\"Number of pods.\").nullable(),\n shards: z.number().int().describe(\"Number of shards.\").nullable(),\n podType: z.string().describe(\"Type of pod.\").nullable(),\n replicas: z.number().int().describe(\"Number of replicas.\").nullable(),\n environment: z.string().describe(\"Deployment environment.\").nullable(),\n metadataConfig: z.object({}).describe(\"Metadata configuration.\").nullable().optional(),\n sourceCollection: z.string().describe(\"Source collection name.\").nullable().optional(),\n}).describe(\"Pod-based deployment specification.\");\nconst PineconeListIndexes_ServerlessSpecSchema = z.object({\n cloud: z.string().describe(\"Cloud provider.\").nullable(),\n region: z.string().describe(\"Cloud region.\").nullable(),\n}).describe(\"Serverless deployment specification.\");\nconst PineconeListIndexes_IndexSpecSchema = z.object({\n pod: PineconeListIndexes_PodSpecSchema.nullable().optional(),\n serverless: PineconeListIndexes_ServerlessSpecSchema.nullable().optional(),\n}).describe(\"Deployment specification for an index.\");\nconst PineconeListIndexes_IndexStatusSchema = z.object({\n ready: z.boolean().describe(\"Indicates if the index is operational.\").nullable(),\n state: z.string().describe(\"Current state of the index (Initializing, Ready, ScalingUp, ScalingDown, Terminating).\").nullable(),\n}).describe(\"Status information for an index.\");\nconst PineconeListIndexes_IndexItemSchema = z.object({\n host: z.string().describe(\"Index endpoint URL.\").nullable(),\n name: z.string().describe(\"The index identifier.\").nullable(),\n spec: PineconeListIndexes_IndexSpecSchema.nullable().optional(),\n tags: z.object({}).describe(\"Custom key-value metadata.\").nullable().optional(),\n metric: z.string().describe(\"Distance metric: cosine, euclidean, or dotproduct.\").nullable(),\n status: PineconeListIndexes_IndexStatusSchema.nullable(),\n dimension: z.number().int().describe(\"Vector dimensionality.\").nullable(),\n vectorType: z.string().describe(\"Vector type: dense or sparse.\").nullable().optional(),\n privateHost: z.string().describe(\"Private endpoint URL.\").nullable().optional(),\n deletionProtection: z.string().describe(\"Deletion protection status.\").nullable().optional(),\n}).describe(\"Individual index information.\");\nexport const PineconeListIndexesOutput = z.object({\n indexes: z.array(PineconeListIndexes_IndexItemSchema).describe(\"List of indexes in the project.\").nullable().optional(),\n}).describe(\"Response model for listing indexes.\");\n\nexport const pineconeListIndexes = action(\"PINECONE_LIST_INDEXES\", {\n slug: \"pinecone-list-indexes\",\n name: \"List Indexes\",\n description: \"Tool to list all indexes in a Pinecone project. Use when you need to retrieve all indexes with their configurations and status information.\",\n input: PineconeListIndexesInput,\n output: PineconeListIndexesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC9H,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACtD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACrE,gBAAgB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,2CAA2C,EAAE,OAAO;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;AACxD,CAAC,CAAC,C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yB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,SAAS,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-indexes.mjs","names":[],"sources":["../../src/actions/list-indexes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListIndexesInput = z.object({}).describe(\"Request model for listing indexes. No parameters are required.\");\nconst PineconeListIndexes_PodSpecSchema = z.object({\n pods: z.number().int().describe(\"Number of pods.\").nullable(),\n shards: z.number().int().describe(\"Number of shards.\").nullable(),\n podType: z.string().describe(\"Type of pod.\").nullable(),\n replicas: z.number().int().describe(\"Number of replicas.\").nullable(),\n environment: z.string().describe(\"Deployment environment.\").nullable(),\n metadataConfig: z.record(z.string(), z.unknown()).describe(\"Metadata configuration.\").nullable().optional(),\n sourceCollection: z.string().describe(\"Source collection name.\").nullable().optional(),\n}).passthrough().describe(\"Pod-based deployment specification.\");\nconst PineconeListIndexes_ServerlessSpecSchema = z.object({\n cloud: z.string().describe(\"Cloud provider.\").nullable(),\n region: z.string().describe(\"Cloud region.\").nullable(),\n}).passthrough().describe(\"Serverless deployment specification.\");\nconst PineconeListIndexes_IndexSpecSchema = z.object({\n pod: PineconeListIndexes_PodSpecSchema.nullable().optional(),\n serverless: PineconeListIndexes_ServerlessSpecSchema.nullable().optional(),\n}).passthrough().describe(\"Deployment specification for an index.\");\nconst PineconeListIndexes_IndexStatusSchema = z.object({\n ready: z.boolean().describe(\"Indicates if the index is operational.\").nullable(),\n state: z.string().describe(\"Current state of the index (Initializing, Ready, ScalingUp, ScalingDown, Terminating).\").nullable(),\n}).passthrough().describe(\"Status information for an index.\");\nconst PineconeListIndexes_IndexItemSchema = z.object({\n host: z.string().describe(\"Index endpoint URL.\").nullable(),\n name: z.string().describe(\"The index identifier.\").nullable(),\n spec: PineconeListIndexes_IndexSpecSchema.nullable().optional(),\n tags: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata.\").nullable().optional(),\n metric: z.string().describe(\"Distance metric: cosine, euclidean, or dotproduct.\").nullable(),\n status: PineconeListIndexes_IndexStatusSchema.nullable(),\n dimension: z.number().int().describe(\"Vector dimensionality.\").nullable(),\n vectorType: z.string().describe(\"Vector type: dense or sparse.\").nullable().optional(),\n privateHost: z.string().describe(\"Private endpoint URL.\").nullable().optional(),\n deletionProtection: z.string().describe(\"Deletion protection status.\").nullable().optional(),\n}).passthrough().describe(\"Individual index information.\");\nexport const PineconeListIndexesOutput = z.object({\n indexes: z.array(PineconeListIndexes_IndexItemSchema).describe(\"List of indexes in the project.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing indexes.\");\n\nexport const pineconeListIndexes = action(\"PINECONE_LIST_INDEXES\", {\n slug: \"pinecone-list-indexes\",\n name: \"List Indexes\",\n description: \"Tool to list all indexes in a Pinecone project. Use when you need to retrieve all indexes with their configurations and status information.\",\n input: PineconeListIndexesInput,\n output: PineconeListIndexesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC9H,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACtD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SA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AAS,CAAC,CAAC,SAAS;CACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC3F,QAAQ,sCAAsC,SAAS;CACvD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,SAAS,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
@@ -13,7 +13,7 @@ const PineconeListModels_SupportedParameterSchema = zod.z.object({
13
13
  zod.z.number(),
14
14
  zod.z.boolean()
15
15
  ]).nullable().optional()
16
- }).describe("Represents a parameter configuration supported by a model.");
16
+ }).passthrough().describe("Represents a parameter configuration supported by a model.");
17
17
  const PineconeListModels_ModelInfoSchema = zod.z.object({
18
18
  type: zod.z.string().describe("Model type - 'embed' or 'rerank'.").nullable().optional(),
19
19
  model: zod.z.string().describe("Model name/identifier.").nullable().optional(),
@@ -27,8 +27,8 @@ const PineconeListModels_ModelInfoSchema = zod.z.object({
27
27
  max_sequence_length: zod.z.number().int().describe("Maximum number of tokens per sequence.").nullable().optional(),
28
28
  supported_dimensions: zod.z.array(zod.z.number().int()).describe("List of supported dimensions (for embedding models).").nullable().optional(),
29
29
  supported_parameters: zod.z.array(PineconeListModels_SupportedParameterSchema).describe("Array of parameter configurations supported by the model.").nullable().optional()
30
- }).describe("Information about a single model.");
31
- const PineconeListModelsOutput = zod.z.object({ models: zod.z.array(PineconeListModels_ModelInfoSchema).describe("Array of available models with their information.") }).describe("Response model for listing available models.");
30
+ }).passthrough().describe("Information about a single model.");
31
+ const PineconeListModelsOutput = zod.z.object({ models: zod.z.array(PineconeListModels_ModelInfoSchema).describe("Array of available models with their information.") }).passthrough().describe("Response model for listing available models.");
32
32
  const pineconeListModels = require_action.action("PINECONE_LIST_MODELS", {
33
33
  slug: "pinecone-list-models",
34
34
  name: "List Available Models",
@@ -1 +1 @@
1
- {"version":3,"file":"list-models.cjs","names":["z","action"],"sources":["../../src/actions/list-models.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListModelsInput = z.object({\n type: z.enum([\"embed\", \"rerank\"]).describe(\"Filter models by type. Use 'embed' for embedding models or 'rerank' for reranking models.\").optional(),\n vector_type: z.enum([\"dense\", \"sparse\"]).describe(\"Filter embedding models by vector type. Only relevant when type='embed'. Use 'dense' for dense vectors or 'sparse' for sparse vectors.\").optional(),\n}).describe(\"Request model for listing available models with optional filters.\");\nconst PineconeListModels_SupportedParameterSchema = z.object({\n name: z.string().describe(\"Parameter name.\").nullable().optional(),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n}).describe(\"Represents a parameter configuration supported by a model.\");\nconst PineconeListModels_ModelInfoSchema = z.object({\n type: z.string().describe(\"Model type - 'embed' or 'rerank'.\").nullable().optional(),\n model: z.string().describe(\"Model name/identifier.\").nullable().optional(),\n modality: z.string().describe(\"Model modality (e.g., 'text').\").nullable().optional(),\n vector_type: z.string().describe(\"Type of vectors produced (for embedding models).\").nullable().optional(),\n provider_name: z.string().describe(\"Organization that provides the model.\").nullable().optional(),\n max_batch_size: z.number().int().describe(\"Maximum number of sequences that can be processed in a batch.\").nullable().optional(),\n default_dimension: z.number().int().describe(\"Default embedding dimension (for embedding models).\").nullable().optional(),\n short_description: z.string().describe(\"Brief description of the model.\").nullable().optional(),\n supported_metrics: z.array(z.string()).describe(\"Similarity metrics supported (for embedding models).\").nullable().optional(),\n max_sequence_length: z.number().int().describe(\"Maximum number of tokens per sequence.\").nullable().optional(),\n supported_dimensions: z.array(z.number().int()).describe(\"List of supported dimensions (for embedding models).\").nullable().optional(),\n supported_parameters: z.array(PineconeListModels_SupportedParameterSchema).describe(\"Array of parameter configurations supported by the model.\").nullable().optional(),\n}).describe(\"Information about a single model.\");\nexport const PineconeListModelsOutput = z.object({\n models: z.array(PineconeListModels_ModelInfoSchema).describe(\"Array of available models with their information.\"),\n}).describe(\"Response model for listing available models.\");\n\nexport const pineconeListModels = action(\"PINECONE_LIST_MODELS\", {\n slug: \"pinecone-list-models\",\n name: \"List Available Models\",\n description: \"Tool to list all available embedding and reranking models hosted by Pinecone. Use when you need to discover available models or filter by model type (embed/rerank) or vector type (dense/sparse).\",\n input: PineconeListModelsInput,\n output: PineconeListModelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACjJ,aAAaA,IAAAA,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;AACvM,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,I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AC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,sBAAsBA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvK,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,QAAQA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mDAAmD,EAClH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-models.cjs","names":["z","action"],"sources":["../../src/actions/list-models.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListModelsInput = z.object({\n type: z.enum([\"embed\", \"rerank\"]).describe(\"Filter models by type. Use 'embed' for embedding models or 'rerank' for reranking models.\").optional(),\n vector_type: z.enum([\"dense\", \"sparse\"]).describe(\"Filter embedding models by vector type. Only relevant when type='embed'. Use 'dense' for dense vectors or 'sparse' for sparse vectors.\").optional(),\n}).describe(\"Request model for listing available models with optional filters.\");\nconst PineconeListModels_SupportedParameterSchema = z.object({\n name: z.string().describe(\"Parameter name.\").nullable().optional(),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Represents a parameter configuration supported by a model.\");\nconst PineconeListModels_ModelInfoSchema = z.object({\n type: z.string().describe(\"Model type - 'embed' or 'rerank'.\").nullable().optional(),\n model: z.string().describe(\"Model name/identifier.\").nullable().optional(),\n modality: z.string().describe(\"Model modality (e.g., 'text').\").nullable().optional(),\n vector_type: z.string().describe(\"Type of vectors produced (for embedding models).\").nullable().optional(),\n provider_name: z.string().describe(\"Organization that provides the model.\").nullable().optional(),\n max_batch_size: z.number().int().describe(\"Maximum number of sequences that can be processed in a batch.\").nullable().optional(),\n default_dimension: z.number().int().describe(\"Default embedding dimension (for embedding models).\").nullable().optional(),\n short_description: z.string().describe(\"Brief description of the model.\").nullable().optional(),\n supported_metrics: z.array(z.string()).describe(\"Similarity metrics supported (for embedding models).\").nullable().optional(),\n max_sequence_length: z.number().int().describe(\"Maximum number of tokens per sequence.\").nullable().optional(),\n supported_dimensions: z.array(z.number().int()).describe(\"List of supported dimensions (for embedding models).\").nullable().optional(),\n supported_parameters: z.array(PineconeListModels_SupportedParameterSchema).describe(\"Array of parameter configurations supported by the model.\").nullable().optional(),\n}).passthrough().describe(\"Information about a single model.\");\nexport const PineconeListModelsOutput = z.object({\n models: z.array(PineconeListModels_ModelInfoSchema).describe(\"Array of available models with their information.\"),\n}).passthrough().describe(\"Response model for listing available models.\");\n\nexport const pineconeListModels = action(\"PINECONE_LIST_MODELS\", {\n slug: \"pinecone-list-models\",\n name: \"List Available Models\",\n description: \"Tool to list all available embedding and reranking models hosted by Pinecone. Use when you need to discover available models or filter by model type (embed/rerank) or vector type (dense/sparse).\",\n input: PineconeListModelsInput,\n output: PineconeListModelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACjJ,aAAaA,IAAAA,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;AACvM,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,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,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,sBAAsBA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,QAAQA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mDAAmD,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -27,9 +27,9 @@ declare const PineconeListModelsOutput: z.ZodObject<{
27
27
  supported_parameters: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
28
28
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>;
30
- }, z.core.$strip>>>>;
31
- }, z.core.$strip>>;
32
- }, z.core.$strip>;
30
+ }, z.core.$loose>>>>;
31
+ }, z.core.$loose>>;
32
+ }, z.core.$loose>;
33
33
  declare const pineconeListModels: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  type?: "embed" | "rerank" | undefined;
35
35
  vector_type?: "dense" | "sparse" | undefined;
@@ -27,9 +27,9 @@ declare const PineconeListModelsOutput: z.ZodObject<{
27
27
  supported_parameters: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
28
28
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>;
30
- }, z.core.$strip>>>>;
31
- }, z.core.$strip>>;
32
- }, z.core.$strip>;
30
+ }, z.core.$loose>>>>;
31
+ }, z.core.$loose>>;
32
+ }, z.core.$loose>;
33
33
  declare const pineconeListModels: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  type?: "embed" | "rerank" | undefined;
35
35
  vector_type?: "dense" | "sparse" | undefined;
@@ -13,7 +13,7 @@ const PineconeListModels_SupportedParameterSchema = z.object({
13
13
  z.number(),
14
14
  z.boolean()
15
15
  ]).nullable().optional()
16
- }).describe("Represents a parameter configuration supported by a model.");
16
+ }).passthrough().describe("Represents a parameter configuration supported by a model.");
17
17
  const PineconeListModels_ModelInfoSchema = z.object({
18
18
  type: z.string().describe("Model type - 'embed' or 'rerank'.").nullable().optional(),
19
19
  model: z.string().describe("Model name/identifier.").nullable().optional(),
@@ -27,13 +27,13 @@ const PineconeListModels_ModelInfoSchema = z.object({
27
27
  max_sequence_length: z.number().int().describe("Maximum number of tokens per sequence.").nullable().optional(),
28
28
  supported_dimensions: z.array(z.number().int()).describe("List of supported dimensions (for embedding models).").nullable().optional(),
29
29
  supported_parameters: z.array(PineconeListModels_SupportedParameterSchema).describe("Array of parameter configurations supported by the model.").nullable().optional()
30
- }).describe("Information about a single model.");
30
+ }).passthrough().describe("Information about a single model.");
31
31
  const pineconeListModels = action("PINECONE_LIST_MODELS", {
32
32
  slug: "pinecone-list-models",
33
33
  name: "List Available Models",
34
34
  description: "Tool to list all available embedding and reranking models hosted by Pinecone. Use when you need to discover available models or filter by model type (embed/rerank) or vector type (dense/sparse).",
35
35
  input: PineconeListModelsInput,
36
- output: z.object({ models: z.array(PineconeListModels_ModelInfoSchema).describe("Array of available models with their information.") }).describe("Response model for listing available models.")
36
+ output: z.object({ models: z.array(PineconeListModels_ModelInfoSchema).describe("Array of available models with their information.") }).passthrough().describe("Response model for listing available models.")
37
37
  });
38
38
  //#endregion
39
39
  export { pineconeListModels };
@@ -1 +1 @@
1
- {"version":3,"file":"list-models.mjs","names":[],"sources":["../../src/actions/list-models.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListModelsInput = z.object({\n type: z.enum([\"embed\", \"rerank\"]).describe(\"Filter models by type. Use 'embed' for embedding models or 'rerank' for reranking models.\").optional(),\n vector_type: z.enum([\"dense\", \"sparse\"]).describe(\"Filter embedding models by vector type. Only relevant when type='embed'. Use 'dense' for dense vectors or 'sparse' for sparse vectors.\").optional(),\n}).describe(\"Request model for listing available models with optional filters.\");\nconst PineconeListModels_SupportedParameterSchema = z.object({\n name: z.string().describe(\"Parameter name.\").nullable().optional(),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n}).describe(\"Represents a parameter configuration supported by a model.\");\nconst PineconeListModels_ModelInfoSchema = z.object({\n type: z.string().describe(\"Model type - 'embed' or 'rerank'.\").nullable().optional(),\n model: z.string().describe(\"Model name/identifier.\").nullable().optional(),\n modality: z.string().describe(\"Model modality (e.g., 'text').\").nullable().optional(),\n vector_type: z.string().describe(\"Type of vectors produced (for embedding models).\").nullable().optional(),\n provider_name: z.string().describe(\"Organization that provides the model.\").nullable().optional(),\n max_batch_size: z.number().int().describe(\"Maximum number of sequences that can be processed in a batch.\").nullable().optional(),\n default_dimension: z.number().int().describe(\"Default embedding dimension (for embedding models).\").nullable().optional(),\n short_description: z.string().describe(\"Brief description of the model.\").nullable().optional(),\n supported_metrics: z.array(z.string()).describe(\"Similarity metrics supported (for embedding models).\").nullable().optional(),\n max_sequence_length: z.number().int().describe(\"Maximum number of tokens per sequence.\").nullable().optional(),\n supported_dimensions: z.array(z.number().int()).describe(\"List of supported dimensions (for embedding models).\").nullable().optional(),\n supported_parameters: z.array(PineconeListModels_SupportedParameterSchema).describe(\"Array of parameter configurations supported by the model.\").nullable().optional(),\n}).describe(\"Information about a single model.\");\nexport const PineconeListModelsOutput = z.object({\n models: z.array(PineconeListModels_ModelInfoSchema).describe(\"Array of available models with their information.\"),\n}).describe(\"Response model for listing available models.\");\n\nexport const pineconeListModels = action(\"PINECONE_LIST_MODELS\", {\n slug: \"pinecone-list-models\",\n name: \"List Available Models\",\n description: \"Tool to list all available embedding and reranking models hosted by Pinecone. Use when you need to discover available models or filter by model type (embed/rerank) or vector type (dense/sparse).\",\n input: PineconeListModelsInput,\n output: PineconeListModelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACjJ,aAAa,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;AACvM,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,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,CAAC,SAAS,mDAAmD,EAClH,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-models.mjs","names":[],"sources":["../../src/actions/list-models.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListModelsInput = z.object({\n type: z.enum([\"embed\", \"rerank\"]).describe(\"Filter models by type. Use 'embed' for embedding models or 'rerank' for reranking models.\").optional(),\n vector_type: z.enum([\"dense\", \"sparse\"]).describe(\"Filter embedding models by vector type. Only relevant when type='embed'. Use 'dense' for dense vectors or 'sparse' for sparse vectors.\").optional(),\n}).describe(\"Request model for listing available models with optional filters.\");\nconst PineconeListModels_SupportedParameterSchema = z.object({\n name: z.string().describe(\"Parameter name.\").nullable().optional(),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Represents a parameter configuration supported by a model.\");\nconst PineconeListModels_ModelInfoSchema = z.object({\n type: z.string().describe(\"Model type - 'embed' or 'rerank'.\").nullable().optional(),\n model: z.string().describe(\"Model name/identifier.\").nullable().optional(),\n modality: z.string().describe(\"Model modality (e.g., 'text').\").nullable().optional(),\n vector_type: z.string().describe(\"Type of vectors produced (for embedding models).\").nullable().optional(),\n provider_name: z.string().describe(\"Organization that provides the model.\").nullable().optional(),\n max_batch_size: z.number().int().describe(\"Maximum number of sequences that can be processed in a batch.\").nullable().optional(),\n default_dimension: z.number().int().describe(\"Default embedding dimension (for embedding models).\").nullable().optional(),\n short_description: z.string().describe(\"Brief description of the model.\").nullable().optional(),\n supported_metrics: z.array(z.string()).describe(\"Similarity metrics supported (for embedding models).\").nullable().optional(),\n max_sequence_length: z.number().int().describe(\"Maximum number of tokens per sequence.\").nullable().optional(),\n supported_dimensions: z.array(z.number().int()).describe(\"List of supported dimensions (for embedding models).\").nullable().optional(),\n supported_parameters: z.array(PineconeListModels_SupportedParameterSchema).describe(\"Array of parameter configurations supported by the model.\").nullable().optional(),\n}).passthrough().describe(\"Information about a single model.\");\nexport const PineconeListModelsOutput = z.object({\n models: z.array(PineconeListModels_ModelInfoSchema).describe(\"Array of available models with their information.\"),\n}).passthrough().describe(\"Response model for listing available models.\");\n\nexport const pineconeListModels = action(\"PINECONE_LIST_MODELS\", {\n slug: \"pinecone-list-models\",\n name: \"List Available Models\",\n description: \"Tool to list all available embedding and reranking models hosted by Pinecone. Use when you need to discover available models or filter by model type (embed/rerank) or vector type (dense/sparse).\",\n input: PineconeListModelsInput,\n output: PineconeListModelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACjJ,aAAa,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;AACvM,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CA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,20 @@ const PineconeListNamespacesOperationInput = zod.z.object({
8
8
  api_version: zod.z.string().default("2025-10").describe("Required date-based version header for the Pinecone API.").optional(),
9
9
  pagination_token: zod.z.string().describe("Token for continuing a previous listing operation.").optional()
10
10
  }).describe("Request model for listing namespaces in a serverless index.");
11
- const PineconeListNamespacesOperation_SchemaSchema = zod.z.object({ fields: zod.z.object({}).describe("Mapping of field names to their configurations").nullable().optional() }).describe("Defines metadata indexing behavior.");
12
- const PineconeListNamespacesOperation_IndexedFieldsSchema = zod.z.object({ fields: zod.z.array(zod.z.string()).describe("List of all indexed metadata field names in the namespace").nullable().optional() }).describe("Contains indexed metadata field information.");
11
+ const PineconeListNamespacesOperation_SchemaSchema = zod.z.object({ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Mapping of field names to their configurations").nullable().optional() }).passthrough().describe("Defines metadata indexing behavior.");
12
+ const PineconeListNamespacesOperation_IndexedFieldsSchema = zod.z.object({ fields: zod.z.array(zod.z.string()).describe("List of all indexed metadata field names in the namespace").nullable().optional() }).passthrough().describe("Contains indexed metadata field information.");
13
13
  const PineconeListNamespacesOperation_NamespaceDescriptionSchema = zod.z.object({
14
14
  name: zod.z.string().describe("The name of the namespace").nullable().optional(),
15
15
  schema: PineconeListNamespacesOperation_SchemaSchema.nullable().optional(),
16
16
  record_count: zod.z.number().int().describe("The total amount of records within the namespace").nullable().optional(),
17
17
  indexed_fields: PineconeListNamespacesOperation_IndexedFieldsSchema.nullable().optional()
18
- }).describe("Description of a namespace in the index.");
19
- const PineconeListNamespacesOperation_PaginationSchema = zod.z.object({ next: zod.z.string().describe("A token enabling retrieval of subsequent result batches in paginated operations").nullable().optional() }).describe("Pagination information for listing operations.");
18
+ }).passthrough().describe("Description of a namespace in the index.");
19
+ const PineconeListNamespacesOperation_PaginationSchema = zod.z.object({ next: zod.z.string().describe("A token enabling retrieval of subsequent result batches in paginated operations").nullable().optional() }).passthrough().describe("Pagination information for listing operations.");
20
20
  const PineconeListNamespacesOperationOutput = zod.z.object({
21
21
  namespaces: zod.z.array(PineconeListNamespacesOperation_NamespaceDescriptionSchema).describe("The list of namespaces belonging to this index").nullable().optional(),
22
22
  pagination: PineconeListNamespacesOperation_PaginationSchema.nullable().optional(),
23
23
  total_count: zod.z.number().int().describe("The total number of namespaces in the index matching the prefix").nullable().optional()
24
- }).describe("Response model containing the list of namespaces in the index.");
24
+ }).passthrough().describe("Response model containing the list of namespaces in the index.");
25
25
  const pineconeListNamespacesOperation = require_action.action("PINECONE_LIST_NAMESPACES_OPERATION", {
26
26
  slug: "pinecone-list-namespaces-operation",
27
27
  name: "List Namespaces",
@@ -1 +1 @@
1
- {"version":3,"file":"list-namespaces-operation.cjs","names":["z","action"],"sources":["../../src/actions/list-namespaces-operation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListNamespacesOperationInput = z.object({\n limit: z.number().int().describe(\"Maximum number of namespaces to return per page.\").optional(),\n prefix: z.string().describe(\"Prefix filter to return only namespaces that start with this prefix.\").optional(),\n index_host: z.string().describe(\"The host URL of the index to list namespaces from. You can get this from the list indexes API.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n pagination_token: z.string().describe(\"Token for continuing a previous listing operation.\").optional(),\n}).describe(\"Request model for listing namespaces in a serverless index.\");\nconst PineconeListNamespacesOperation_SchemaSchema = z.object({\n fields: z.object({}).describe(\"Mapping of field names to their configurations\").nullable().optional(),\n}).describe(\"Defines metadata indexing behavior.\");\nconst PineconeListNamespacesOperation_IndexedFieldsSchema = z.object({\n fields: z.array(z.string()).describe(\"List of all indexed metadata field names in the namespace\").nullable().optional(),\n}).describe(\"Contains indexed metadata field information.\");\nconst PineconeListNamespacesOperation_NamespaceDescriptionSchema = z.object({\n name: z.string().describe(\"The name of the namespace\").nullable().optional(),\n schema: PineconeListNamespacesOperation_SchemaSchema.nullable().optional(),\n record_count: z.number().int().describe(\"The total amount of records within the namespace\").nullable().optional(),\n indexed_fields: PineconeListNamespacesOperation_IndexedFieldsSchema.nullable().optional(),\n}).describe(\"Description of a namespace in the index.\");\nconst PineconeListNamespacesOperation_PaginationSchema = z.object({\n next: z.string().describe(\"A token enabling retrieval of subsequent result batches in paginated operations\").nullable().optional(),\n}).describe(\"Pagination information for listing operations.\");\nexport const PineconeListNamespacesOperationOutput = z.object({\n namespaces: z.array(PineconeListNamespacesOperation_NamespaceDescriptionSchema).describe(\"The list of namespaces belonging to this index\").nullable().optional(),\n pagination: PineconeListNamespacesOperation_PaginationSchema.nullable().optional(),\n total_count: z.number().int().describe(\"The total number of namespaces in the index matching the prefix\").nullable().optional(),\n}).describe(\"Response model containing the list of namespaces in the index.\");\n\nexport const pineconeListNamespacesOperation = action(\"PINECONE_LIST_NAMESPACES_OPERATION\", {\n slug: \"pinecone-list-namespaces-operation\",\n name: \"List Namespaces\",\n description: \"Tool to list all namespaces in a serverless Pinecone index. Use when you need to discover available namespaces for data organization. Returns up to 100 namespaces by default with pagination support.\",\n input: PineconeListNamespacesOperationInput,\n output: PineconeListNamespacesOperationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAChI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACzH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO,E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AC,SAAS,gEAAgE;AAE5E,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-namespaces-operation.cjs","names":["z","action"],"sources":["../../src/actions/list-namespaces-operation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListNamespacesOperationInput = z.object({\n limit: z.number().int().describe(\"Maximum number of namespaces to return per page.\").optional(),\n prefix: z.string().describe(\"Prefix filter to return only namespaces that start with this prefix.\").optional(),\n index_host: z.string().describe(\"The host URL of the index to list namespaces from. You can get this from the list indexes API.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n pagination_token: z.string().describe(\"Token for continuing a previous listing operation.\").optional(),\n}).describe(\"Request model for listing namespaces in a serverless index.\");\nconst PineconeListNamespacesOperation_SchemaSchema = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Mapping of field names to their configurations\").nullable().optional(),\n}).passthrough().describe(\"Defines metadata indexing behavior.\");\nconst PineconeListNamespacesOperation_IndexedFieldsSchema = z.object({\n fields: z.array(z.string()).describe(\"List of all indexed metadata field names in the namespace\").nullable().optional(),\n}).passthrough().describe(\"Contains indexed metadata field information.\");\nconst PineconeListNamespacesOperation_NamespaceDescriptionSchema = z.object({\n name: z.string().describe(\"The name of the namespace\").nullable().optional(),\n schema: PineconeListNamespacesOperation_SchemaSchema.nullable().optional(),\n record_count: z.number().int().describe(\"The total amount of records within the namespace\").nullable().optional(),\n indexed_fields: PineconeListNamespacesOperation_IndexedFieldsSchema.nullable().optional(),\n}).passthrough().describe(\"Description of a namespace in the index.\");\nconst PineconeListNamespacesOperation_PaginationSchema = z.object({\n next: z.string().describe(\"A token enabling retrieval of subsequent result batches in paginated operations\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for listing operations.\");\nexport const PineconeListNamespacesOperationOutput = z.object({\n namespaces: z.array(PineconeListNamespacesOperation_NamespaceDescriptionSchema).describe(\"The list of namespaces belonging to this index\").nullable().optional(),\n pagination: PineconeListNamespacesOperation_PaginationSchema.nullable().optional(),\n total_count: z.number().int().describe(\"The total number of namespaces in the index matching the prefix\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the list of namespaces in the index.\");\n\nexport const pineconeListNamespacesOperation = action(\"PINECONE_LIST_NAMESPACES_OPERATION\", {\n slug: \"pinecone-list-namespaces-operation\",\n name: \"List Namespaces\",\n description: \"Tool to list all namespaces in a serverless Pinecone index. Use when you need to discover available namespaces for data organization. Returns up to 100 namespaces by default with pagination support.\",\n input: PineconeListNamespacesOperationInput,\n output: PineconeListNamespacesOperationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAChI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACzH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO,EAC5D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,sDA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,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,18 +12,18 @@ declare const PineconeListNamespacesOperationOutput: z.ZodObject<{
12
12
  namespaces: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
13
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  schema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
- fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
16
- }, z.core.$strip>>>;
15
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
+ }, z.core.$loose>>>;
17
17
  record_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
18
  indexed_fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
19
  fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
- }, z.core.$strip>>>;
21
- }, z.core.$strip>>>>;
20
+ }, z.core.$loose>>>;
21
+ }, z.core.$loose>>>>;
22
22
  pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
23
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>>>;
24
+ }, z.core.$loose>>>;
25
25
  total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
- }, z.core.$strip>;
26
+ }, z.core.$loose>;
27
27
  declare const pineconeListNamespacesOperation: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  index_host: string;
29
29
  limit?: number | undefined;
@@ -12,18 +12,18 @@ declare const PineconeListNamespacesOperationOutput: z.ZodObject<{
12
12
  namespaces: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
13
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  schema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
- fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
16
- }, z.core.$strip>>>;
15
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
+ }, z.core.$loose>>>;
17
17
  record_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
18
  indexed_fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
19
  fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
- }, z.core.$strip>>>;
21
- }, z.core.$strip>>>>;
20
+ }, z.core.$loose>>>;
21
+ }, z.core.$loose>>>>;
22
22
  pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
23
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>>>;
24
+ }, z.core.$loose>>>;
25
25
  total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
- }, z.core.$strip>;
26
+ }, z.core.$loose>;
27
27
  declare const pineconeListNamespacesOperation: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  index_host: string;
29
29
  limit?: number | undefined;
@@ -8,15 +8,15 @@ const PineconeListNamespacesOperationInput = z.object({
8
8
  api_version: z.string().default("2025-10").describe("Required date-based version header for the Pinecone API.").optional(),
9
9
  pagination_token: z.string().describe("Token for continuing a previous listing operation.").optional()
10
10
  }).describe("Request model for listing namespaces in a serverless index.");
11
- const PineconeListNamespacesOperation_SchemaSchema = z.object({ fields: z.object({}).describe("Mapping of field names to their configurations").nullable().optional() }).describe("Defines metadata indexing behavior.");
12
- const PineconeListNamespacesOperation_IndexedFieldsSchema = z.object({ fields: z.array(z.string()).describe("List of all indexed metadata field names in the namespace").nullable().optional() }).describe("Contains indexed metadata field information.");
11
+ const PineconeListNamespacesOperation_SchemaSchema = z.object({ fields: z.record(z.string(), z.unknown()).describe("Mapping of field names to their configurations").nullable().optional() }).passthrough().describe("Defines metadata indexing behavior.");
12
+ const PineconeListNamespacesOperation_IndexedFieldsSchema = z.object({ fields: z.array(z.string()).describe("List of all indexed metadata field names in the namespace").nullable().optional() }).passthrough().describe("Contains indexed metadata field information.");
13
13
  const PineconeListNamespacesOperation_NamespaceDescriptionSchema = z.object({
14
14
  name: z.string().describe("The name of the namespace").nullable().optional(),
15
15
  schema: PineconeListNamespacesOperation_SchemaSchema.nullable().optional(),
16
16
  record_count: z.number().int().describe("The total amount of records within the namespace").nullable().optional(),
17
17
  indexed_fields: PineconeListNamespacesOperation_IndexedFieldsSchema.nullable().optional()
18
- }).describe("Description of a namespace in the index.");
19
- const PineconeListNamespacesOperation_PaginationSchema = z.object({ next: z.string().describe("A token enabling retrieval of subsequent result batches in paginated operations").nullable().optional() }).describe("Pagination information for listing operations.");
18
+ }).passthrough().describe("Description of a namespace in the index.");
19
+ const PineconeListNamespacesOperation_PaginationSchema = z.object({ next: z.string().describe("A token enabling retrieval of subsequent result batches in paginated operations").nullable().optional() }).passthrough().describe("Pagination information for listing operations.");
20
20
  const pineconeListNamespacesOperation = action("PINECONE_LIST_NAMESPACES_OPERATION", {
21
21
  slug: "pinecone-list-namespaces-operation",
22
22
  name: "List Namespaces",
@@ -26,7 +26,7 @@ const pineconeListNamespacesOperation = action("PINECONE_LIST_NAMESPACES_OPERATI
26
26
  namespaces: z.array(PineconeListNamespacesOperation_NamespaceDescriptionSchema).describe("The list of namespaces belonging to this index").nullable().optional(),
27
27
  pagination: PineconeListNamespacesOperation_PaginationSchema.nullable().optional(),
28
28
  total_count: z.number().int().describe("The total number of namespaces in the index matching the prefix").nullable().optional()
29
- }).describe("Response model containing the list of namespaces in the index.")
29
+ }).passthrough().describe("Response model containing the list of namespaces in the index.")
30
30
  });
31
31
  //#endregion
32
32
  export { pineconeListNamespacesOperation };
@@ -1 +1 @@
1
- {"version":3,"file":"list-namespaces-operation.mjs","names":[],"sources":["../../src/actions/list-namespaces-operation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListNamespacesOperationInput = z.object({\n limit: z.number().int().describe(\"Maximum number of namespaces to return per page.\").optional(),\n prefix: z.string().describe(\"Prefix filter to return only namespaces that start with this prefix.\").optional(),\n index_host: z.string().describe(\"The host URL of the index to list namespaces from. You can get this from the list indexes API.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n pagination_token: z.string().describe(\"Token for continuing a previous listing operation.\").optional(),\n}).describe(\"Request model for listing namespaces in a serverless index.\");\nconst PineconeListNamespacesOperation_SchemaSchema = z.object({\n fields: z.object({}).describe(\"Mapping of field names to their configurations\").nullable().optional(),\n}).describe(\"Defines metadata indexing behavior.\");\nconst PineconeListNamespacesOperation_IndexedFieldsSchema = z.object({\n fields: z.array(z.string()).describe(\"List of all indexed metadata field names in the namespace\").nullable().optional(),\n}).describe(\"Contains indexed metadata field information.\");\nconst PineconeListNamespacesOperation_NamespaceDescriptionSchema = z.object({\n name: z.string().describe(\"The name of the namespace\").nullable().optional(),\n schema: PineconeListNamespacesOperation_SchemaSchema.nullable().optional(),\n record_count: z.number().int().describe(\"The total amount of records within the namespace\").nullable().optional(),\n indexed_fields: PineconeListNamespacesOperation_IndexedFieldsSchema.nullable().optional(),\n}).describe(\"Description of a namespace in the index.\");\nconst PineconeListNamespacesOperation_PaginationSchema = z.object({\n next: z.string().describe(\"A token enabling retrieval of subsequent result batches in paginated operations\").nullable().optional(),\n}).describe(\"Pagination information for listing operations.\");\nexport const PineconeListNamespacesOperationOutput = z.object({\n namespaces: z.array(PineconeListNamespacesOperation_NamespaceDescriptionSchema).describe(\"The list of namespaces belonging to this index\").nullable().optional(),\n pagination: PineconeListNamespacesOperation_PaginationSchema.nullable().optional(),\n total_count: z.number().int().describe(\"The total number of namespaces in the index matching the prefix\").nullable().optional(),\n}).describe(\"Response model containing the list of namespaces in the index.\");\n\nexport const pineconeListNamespacesOperation = action(\"PINECONE_LIST_NAMESPACES_OPERATION\", {\n slug: \"pinecone-list-namespaces-operation\",\n name: \"List Namespaces\",\n description: \"Tool to list all namespaces in a serverless Pinecone index. Use when you need to discover available namespaces for data organization. Returns up to 100 namespaces by default with pagination support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MAAM,mDAAmD,EAAE,OAAO,EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnI,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAO5D,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXmD,EAAE,OAAO;EAC5D,YAAY,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/J,YAAY,iDAAiD,SAAS,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-namespaces-operation.mjs","names":[],"sources":["../../src/actions/list-namespaces-operation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListNamespacesOperationInput = z.object({\n limit: z.number().int().describe(\"Maximum number of namespaces to return per page.\").optional(),\n prefix: z.string().describe(\"Prefix filter to return only namespaces that start with this prefix.\").optional(),\n index_host: z.string().describe(\"The host URL of the index to list namespaces from. You can get this from the list indexes API.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n pagination_token: z.string().describe(\"Token for continuing a previous listing operation.\").optional(),\n}).describe(\"Request model for listing namespaces in a serverless index.\");\nconst PineconeListNamespacesOperation_SchemaSchema = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Mapping of field names to their configurations\").nullable().optional(),\n}).passthrough().describe(\"Defines metadata indexing behavior.\");\nconst PineconeListNamespacesOperation_IndexedFieldsSchema = z.object({\n fields: z.array(z.string()).describe(\"List of all indexed metadata field names in the namespace\").nullable().optional(),\n}).passthrough().describe(\"Contains indexed metadata field information.\");\nconst PineconeListNamespacesOperation_NamespaceDescriptionSchema = z.object({\n name: z.string().describe(\"The name of the namespace\").nullable().optional(),\n schema: PineconeListNamespacesOperation_SchemaSchema.nullable().optional(),\n record_count: z.number().int().describe(\"The total amount of records within the namespace\").nullable().optional(),\n indexed_fields: PineconeListNamespacesOperation_IndexedFieldsSchema.nullable().optional(),\n}).passthrough().describe(\"Description of a namespace in the index.\");\nconst PineconeListNamespacesOperation_PaginationSchema = z.object({\n next: z.string().describe(\"A token enabling retrieval of subsequent result batches in paginated operations\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for listing operations.\");\nexport const PineconeListNamespacesOperationOutput = z.object({\n namespaces: z.array(PineconeListNamespacesOperation_NamespaceDescriptionSchema).describe(\"The list of namespaces belonging to this index\").nullable().optional(),\n pagination: PineconeListNamespacesOperation_PaginationSchema.nullable().optional(),\n total_count: z.number().int().describe(\"The total number of namespaces in the index matching the prefix\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the list of namespaces in the index.\");\n\nexport const pineconeListNamespacesOperation = action(\"PINECONE_LIST_NAMESPACES_OPERATION\", {\n slug: \"pinecone-list-namespaces-operation\",\n name: \"List Namespaces\",\n description: \"Tool to list all namespaces in a serverless Pinecone index. Use when you need to discover available namespaces for data organization. Returns up to 100 namespaces by default with pagination support.\",\n input: PineconeListNamespacesOperationInput,\n output: PineconeListNamespacesOperationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAChI,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACzH,kB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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/J,YAAY,iDAAiD,SAAS,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
@@ -7,11 +7,11 @@ const PineconeListProjectBackupsInput = zod.z.object({
7
7
  }).describe("Request model for listing backups across all indexes in a project.");
8
8
  const PineconeListProjectBackups_BackupModelSchema = zod.z.object({
9
9
  name: zod.z.string().describe("User-defined backup name.").nullable().optional(),
10
- tags: zod.z.object({}).describe("Custom metadata tags.").nullable().optional(),
10
+ tags: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata tags.").nullable().optional(),
11
11
  cloud: zod.z.string().describe("Storage cloud provider (aws, gcp, azure).").nullable(),
12
12
  metric: zod.z.string().describe("Distance metric (cosine, euclidean, dotproduct).").nullable().optional(),
13
13
  region: zod.z.string().describe("Cloud region location.").nullable(),
14
- schema: zod.z.object({}).describe("Filterable metadata fields.").nullable().optional(),
14
+ schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Filterable metadata fields.").nullable().optional(),
15
15
  status: zod.z.string().describe("Backup status (e.g., 'Ready', 'Initializing', 'Failed').").nullable(),
16
16
  backup_id: zod.z.string().describe("Unique identifier for the backup.").nullable(),
17
17
  dimension: zod.z.number().int().describe("Vector dimensions (1-20000).").nullable(),
@@ -22,12 +22,12 @@ const PineconeListProjectBackups_BackupModelSchema = zod.z.object({
22
22
  namespace_count: zod.z.number().int().describe("Number of namespaces in backup.").nullable().optional(),
23
23
  source_index_id: zod.z.string().describe("ID of the originating index.").nullable(),
24
24
  source_index_name: zod.z.string().describe("Name of the originating index.").nullable()
25
- }).describe("Model representing a single backup.");
26
- const PineconeListProjectBackups_PaginationResponseSchema = zod.z.object({ next: zod.z.string().describe("Token for next page if available.").nullable().optional() }).describe("Pagination information for the response.");
25
+ }).passthrough().describe("Model representing a single backup.");
26
+ const PineconeListProjectBackups_PaginationResponseSchema = zod.z.object({ next: zod.z.string().describe("Token for next page if available.").nullable().optional() }).passthrough().describe("Pagination information for the response.");
27
27
  const PineconeListProjectBackupsOutput = zod.z.object({
28
28
  data: zod.z.array(PineconeListProjectBackups_BackupModelSchema).describe("List of backup objects."),
29
29
  pagination: PineconeListProjectBackups_PaginationResponseSchema.nullable().optional()
30
- }).describe("Response model for listing project backups.");
30
+ }).passthrough().describe("Response model for listing project backups.");
31
31
  const pineconeListProjectBackups = require_action.action("PINECONE_LIST_PROJECT_BACKUPS", {
32
32
  slug: "pinecone-list-project-backups",
33
33
  name: "List Project Backups",
@@ -1 +1 @@
1
- {"version":3,"file":"list-project-backups.cjs","names":["z","action"],"sources":["../../src/actions/list-project-backups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListProjectBackupsInput = z.object({\n limit: z.number().int().describe(\"Number of results per page. Must be between 1 and 100. Default: 10.\").optional(),\n paginationToken: z.string().describe(\"Token for retrieving subsequent result pages. Obtained from the previous response.\").optional(),\n}).describe(\"Request model for listing backups across all indexes in a project.\");\nconst PineconeListProjectBackups_BackupModelSchema = z.object({\n name: z.string().describe(\"User-defined backup name.\").nullable().optional(),\n tags: z.object({}).describe(\"Custom metadata tags.\").nullable().optional(),\n cloud: z.string().describe(\"Storage cloud provider (aws, gcp, azure).\").nullable(),\n metric: z.string().describe(\"Distance metric (cosine, euclidean, dotproduct).\").nullable().optional(),\n region: z.string().describe(\"Cloud region location.\").nullable(),\n schema: z.object({}).describe(\"Filterable metadata fields.\").nullable().optional(),\n status: z.string().describe(\"Backup status (e.g., 'Ready', 'Initializing', 'Failed').\").nullable(),\n backup_id: z.string().describe(\"Unique identifier for the backup.\").nullable(),\n dimension: z.number().int().describe(\"Vector dimensions (1-20000).\").nullable(),\n created_at: z.string().describe(\"ISO timestamp of backup creation.\").nullable(),\n size_bytes: z.number().int().describe(\"Backup size in bytes.\").nullable().optional(),\n description: z.string().describe(\"Context description for the backup.\").nullable().optional(),\n record_count: z.number().int().describe(\"Total records in backup.\").nullable().optional(),\n namespace_count: z.number().int().describe(\"Number of namespaces in backup.\").nullable().optional(),\n source_index_id: z.string().describe(\"ID of the originating index.\").nullable(),\n source_index_name: z.string().describe(\"Name of the originating index.\").nullable(),\n}).describe(\"Model representing a single backup.\");\nconst PineconeListProjectBackups_PaginationResponseSchema = z.object({\n next: z.string().describe(\"Token for next page if available.\").nullable().optional(),\n}).describe(\"Pagination information for the response.\");\nexport const PineconeListProjectBackupsOutput = z.object({\n data: z.array(PineconeListProjectBackups_BackupModelSchema).describe(\"List of backup objects.\"),\n pagination: PineconeListProjectBackups_PaginationResponseSchema.nullable().optional(),\n}).describe(\"Response model for listing project backups.\");\n\nexport const pineconeListProjectBackups = action(\"PINECONE_LIST_PROJECT_BACKUPS\", {\n slug: \"pinecone-list-project-backups\",\n name: \"List Project Backups\",\n description: \"Tool to list all backups for indexes in a Pinecone project. Use when you need to retrieve backup information across all project indexes. Supports pagination with limit and paginationToken parameters.\",\n input: PineconeListProjectBackupsInput,\n output: PineconeListProjectBackupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC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AA8B,CAAC,CAAC,SAAS;CAC9E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,sDAAsDA,IAAAA,EAAE,OAAO,EACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,yBAAyB;CAC9F,YAAY,oDAAoD,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-project-backups.cjs","names":["z","action"],"sources":["../../src/actions/list-project-backups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeListProjectBackupsInput = z.object({\n limit: z.number().int().describe(\"Number of results per page. Must be between 1 and 100. Default: 10.\").optional(),\n paginationToken: z.string().describe(\"Token for retrieving subsequent result pages. Obtained from the previous response.\").optional(),\n}).describe(\"Request model for listing backups across all indexes in a project.\");\nconst PineconeListProjectBackups_BackupModelSchema = z.object({\n name: z.string().describe(\"User-defined backup name.\").nullable().optional(),\n tags: z.record(z.string(), z.unknown()).describe(\"Custom metadata tags.\").nullable().optional(),\n cloud: z.string().describe(\"Storage cloud provider (aws, gcp, azure).\").nullable(),\n metric: z.string().describe(\"Distance metric (cosine, euclidean, dotproduct).\").nullable().optional(),\n region: z.string().describe(\"Cloud region location.\").nullable(),\n schema: z.record(z.string(), z.unknown()).describe(\"Filterable metadata fields.\").nullable().optional(),\n status: z.string().describe(\"Backup status (e.g., 'Ready', 'Initializing', 'Failed').\").nullable(),\n backup_id: z.string().describe(\"Unique identifier for the backup.\").nullable(),\n dimension: z.number().int().describe(\"Vector dimensions (1-20000).\").nullable(),\n created_at: z.string().describe(\"ISO timestamp of backup creation.\").nullable(),\n size_bytes: z.number().int().describe(\"Backup size in bytes.\").nullable().optional(),\n description: z.string().describe(\"Context description for the backup.\").nullable().optional(),\n record_count: z.number().int().describe(\"Total records in backup.\").nullable().optional(),\n namespace_count: z.number().int().describe(\"Number of namespaces in backup.\").nullable().optional(),\n source_index_id: z.string().describe(\"ID of the originating index.\").nullable(),\n source_index_name: z.string().describe(\"Name of the originating index.\").nullable(),\n}).passthrough().describe(\"Model representing a single backup.\");\nconst PineconeListProjectBackups_PaginationResponseSchema = z.object({\n next: z.string().describe(\"Token for next page if available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nexport const PineconeListProjectBackupsOutput = z.object({\n data: z.array(PineconeListProjectBackups_BackupModelSchema).describe(\"List of backup objects.\"),\n pagination: PineconeListProjectBackups_PaginationResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing project backups.\");\n\nexport const pineconeListProjectBackups = action(\"PINECONE_LIST_PROJECT_BACKUPS\", {\n slug: \"pinecone-list-project-backups\",\n name: \"List Project Backups\",\n description: \"Tool to list all backups for indexes in a Pinecone project. Use when you need to retrieve backup information across all project indexes. Supports pagination with limit and paginationToken parameters.\",\n input: PineconeListProjectBackupsInput,\n output: PineconeListProjectBackupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,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A,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC9E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,sDAAsDA,IAAAA,EAAE,OAAO,EACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,yBAAyB;CAC9F,YAAY,oDAAoD,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,11 +8,11 @@ declare const PineconeListProjectBackupsInput: z.ZodObject<{
8
8
  declare const PineconeListProjectBackupsOutput: z.ZodObject<{
9
9
  data: z.ZodArray<z.ZodObject<{
10
10
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- tags: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
11
+ tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12
12
  cloud: z.ZodNullable<z.ZodString>;
13
13
  metric: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  region: z.ZodNullable<z.ZodString>;
15
- schema: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
15
+ schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
16
  status: z.ZodNullable<z.ZodString>;
17
17
  backup_id: z.ZodNullable<z.ZodString>;
18
18
  dimension: z.ZodNullable<z.ZodNumber>;
@@ -23,11 +23,11 @@ declare const PineconeListProjectBackupsOutput: z.ZodObject<{
23
23
  namespace_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
24
  source_index_id: z.ZodNullable<z.ZodString>;
25
25
  source_index_name: z.ZodNullable<z.ZodString>;
26
- }, z.core.$strip>>;
26
+ }, z.core.$loose>>;
27
27
  pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
28
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- }, z.core.$strip>>>;
30
- }, z.core.$strip>;
29
+ }, z.core.$loose>>>;
30
+ }, z.core.$loose>;
31
31
  declare const pineconeListProjectBackups: import("@keystrokehq/action").WorkflowActionDefinition<{
32
32
  limit?: number | undefined;
33
33
  paginationToken?: string | undefined;
@@ -8,11 +8,11 @@ declare const PineconeListProjectBackupsInput: z.ZodObject<{
8
8
  declare const PineconeListProjectBackupsOutput: z.ZodObject<{
9
9
  data: z.ZodArray<z.ZodObject<{
10
10
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- tags: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
11
+ tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12
12
  cloud: z.ZodNullable<z.ZodString>;
13
13
  metric: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  region: z.ZodNullable<z.ZodString>;
15
- schema: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
15
+ schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
16
  status: z.ZodNullable<z.ZodString>;
17
17
  backup_id: z.ZodNullable<z.ZodString>;
18
18
  dimension: z.ZodNullable<z.ZodNumber>;
@@ -23,11 +23,11 @@ declare const PineconeListProjectBackupsOutput: z.ZodObject<{
23
23
  namespace_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
24
  source_index_id: z.ZodNullable<z.ZodString>;
25
25
  source_index_name: z.ZodNullable<z.ZodString>;
26
- }, z.core.$strip>>;
26
+ }, z.core.$loose>>;
27
27
  pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
28
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- }, z.core.$strip>>>;
30
- }, z.core.$strip>;
29
+ }, z.core.$loose>>>;
30
+ }, z.core.$loose>;
31
31
  declare const pineconeListProjectBackups: import("@keystrokehq/action").WorkflowActionDefinition<{
32
32
  limit?: number | undefined;
33
33
  paginationToken?: string | undefined;
@@ -7,11 +7,11 @@ const PineconeListProjectBackupsInput = z.object({
7
7
  }).describe("Request model for listing backups across all indexes in a project.");
8
8
  const PineconeListProjectBackups_BackupModelSchema = z.object({
9
9
  name: z.string().describe("User-defined backup name.").nullable().optional(),
10
- tags: z.object({}).describe("Custom metadata tags.").nullable().optional(),
10
+ tags: z.record(z.string(), z.unknown()).describe("Custom metadata tags.").nullable().optional(),
11
11
  cloud: z.string().describe("Storage cloud provider (aws, gcp, azure).").nullable(),
12
12
  metric: z.string().describe("Distance metric (cosine, euclidean, dotproduct).").nullable().optional(),
13
13
  region: z.string().describe("Cloud region location.").nullable(),
14
- schema: z.object({}).describe("Filterable metadata fields.").nullable().optional(),
14
+ schema: z.record(z.string(), z.unknown()).describe("Filterable metadata fields.").nullable().optional(),
15
15
  status: z.string().describe("Backup status (e.g., 'Ready', 'Initializing', 'Failed').").nullable(),
16
16
  backup_id: z.string().describe("Unique identifier for the backup.").nullable(),
17
17
  dimension: z.number().int().describe("Vector dimensions (1-20000).").nullable(),
@@ -22,8 +22,8 @@ const PineconeListProjectBackups_BackupModelSchema = z.object({
22
22
  namespace_count: z.number().int().describe("Number of namespaces in backup.").nullable().optional(),
23
23
  source_index_id: z.string().describe("ID of the originating index.").nullable(),
24
24
  source_index_name: z.string().describe("Name of the originating index.").nullable()
25
- }).describe("Model representing a single backup.");
26
- const PineconeListProjectBackups_PaginationResponseSchema = z.object({ next: z.string().describe("Token for next page if available.").nullable().optional() }).describe("Pagination information for the response.");
25
+ }).passthrough().describe("Model representing a single backup.");
26
+ const PineconeListProjectBackups_PaginationResponseSchema = z.object({ next: z.string().describe("Token for next page if available.").nullable().optional() }).passthrough().describe("Pagination information for the response.");
27
27
  const pineconeListProjectBackups = action("PINECONE_LIST_PROJECT_BACKUPS", {
28
28
  slug: "pinecone-list-project-backups",
29
29
  name: "List Project Backups",
@@ -32,7 +32,7 @@ const pineconeListProjectBackups = action("PINECONE_LIST_PROJECT_BACKUPS", {
32
32
  output: z.object({
33
33
  data: z.array(PineconeListProjectBackups_BackupModelSchema).describe("List of backup objects."),
34
34
  pagination: PineconeListProjectBackups_PaginationResponseSchema.nullable().optional()
35
- }).describe("Response model for listing project backups.")
35
+ }).passthrough().describe("Response model for listing project backups.")
36
36
  });
37
37
  //#endregion
38
38
  export { pineconeListProjectBackups };