@keystrokehq/redcircle_api 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-zipcodes.cjs +5 -5
  4. package/dist/actions/add-zipcodes.cjs.map +1 -1
  5. package/dist/actions/add-zipcodes.d.cts +19 -3
  6. package/dist/actions/add-zipcodes.d.cts.map +1 -1
  7. package/dist/actions/add-zipcodes.d.mts +19 -3
  8. package/dist/actions/add-zipcodes.d.mts.map +1 -1
  9. package/dist/actions/add-zipcodes.mjs +5 -5
  10. package/dist/actions/add-zipcodes.mjs.map +1 -1
  11. package/dist/actions/clear-collection-requests.cjs +4 -4
  12. package/dist/actions/clear-collection-requests.cjs.map +1 -1
  13. package/dist/actions/clear-collection-requests.d.cts +12 -3
  14. package/dist/actions/clear-collection-requests.d.cts.map +1 -1
  15. package/dist/actions/clear-collection-requests.d.mts +12 -3
  16. package/dist/actions/clear-collection-requests.d.mts.map +1 -1
  17. package/dist/actions/clear-collection-requests.mjs +4 -4
  18. package/dist/actions/clear-collection-requests.mjs.map +1 -1
  19. package/dist/actions/create-collection.cjs +3 -3
  20. package/dist/actions/create-collection.cjs.map +1 -1
  21. package/dist/actions/create-collection.d.cts +87 -3
  22. package/dist/actions/create-collection.d.cts.map +1 -1
  23. package/dist/actions/create-collection.d.mts +87 -3
  24. package/dist/actions/create-collection.d.mts.map +1 -1
  25. package/dist/actions/create-collection.mjs +3 -3
  26. package/dist/actions/create-collection.mjs.map +1 -1
  27. package/dist/actions/create-destination.cjs +3 -3
  28. package/dist/actions/create-destination.cjs.map +1 -1
  29. package/dist/actions/create-destination.d.cts +62 -3
  30. package/dist/actions/create-destination.d.cts.map +1 -1
  31. package/dist/actions/create-destination.d.mts +62 -3
  32. package/dist/actions/create-destination.d.mts.map +1 -1
  33. package/dist/actions/create-destination.mjs +3 -3
  34. package/dist/actions/create-destination.mjs.map +1 -1
  35. package/dist/actions/create-requests.cjs +5 -5
  36. package/dist/actions/create-requests.cjs.map +1 -1
  37. package/dist/actions/create-requests.d.cts +29 -3
  38. package/dist/actions/create-requests.d.cts.map +1 -1
  39. package/dist/actions/create-requests.d.mts +29 -3
  40. package/dist/actions/create-requests.d.mts.map +1 -1
  41. package/dist/actions/create-requests.mjs +5 -5
  42. package/dist/actions/create-requests.mjs.map +1 -1
  43. package/dist/actions/delete-collection.cjs +4 -4
  44. package/dist/actions/delete-collection.cjs.map +1 -1
  45. package/dist/actions/delete-collection.d.cts +12 -3
  46. package/dist/actions/delete-collection.d.cts.map +1 -1
  47. package/dist/actions/delete-collection.d.mts +12 -3
  48. package/dist/actions/delete-collection.d.mts.map +1 -1
  49. package/dist/actions/delete-collection.mjs +4 -4
  50. package/dist/actions/delete-collection.mjs.map +1 -1
  51. package/dist/actions/delete-destination.cjs +4 -4
  52. package/dist/actions/delete-destination.cjs.map +1 -1
  53. package/dist/actions/delete-destination.d.cts +12 -3
  54. package/dist/actions/delete-destination.d.cts.map +1 -1
  55. package/dist/actions/delete-destination.d.mts +12 -3
  56. package/dist/actions/delete-destination.d.mts.map +1 -1
  57. package/dist/actions/delete-destination.mjs +4 -4
  58. package/dist/actions/delete-destination.mjs.map +1 -1
  59. package/dist/actions/delete-request.cjs +4 -4
  60. package/dist/actions/delete-request.cjs.map +1 -1
  61. package/dist/actions/delete-request.d.cts +14 -3
  62. package/dist/actions/delete-request.d.cts.map +1 -1
  63. package/dist/actions/delete-request.d.mts +14 -3
  64. package/dist/actions/delete-request.d.mts.map +1 -1
  65. package/dist/actions/delete-request.mjs +4 -4
  66. package/dist/actions/delete-request.mjs.map +1 -1
  67. package/dist/actions/delete-requests-bulk.cjs +4 -4
  68. package/dist/actions/delete-requests-bulk.cjs.map +1 -1
  69. package/dist/actions/delete-requests-bulk.d.cts +14 -3
  70. package/dist/actions/delete-requests-bulk.d.cts.map +1 -1
  71. package/dist/actions/delete-requests-bulk.d.mts +14 -3
  72. package/dist/actions/delete-requests-bulk.d.mts.map +1 -1
  73. package/dist/actions/delete-requests-bulk.mjs +4 -4
  74. package/dist/actions/delete-requests-bulk.mjs.map +1 -1
  75. package/dist/actions/delete-zipcodes.cjs +5 -5
  76. package/dist/actions/delete-zipcodes.cjs.map +1 -1
  77. package/dist/actions/delete-zipcodes.d.cts +19 -3
  78. package/dist/actions/delete-zipcodes.d.cts.map +1 -1
  79. package/dist/actions/delete-zipcodes.d.mts +19 -3
  80. package/dist/actions/delete-zipcodes.d.mts.map +1 -1
  81. package/dist/actions/delete-zipcodes.mjs +5 -5
  82. package/dist/actions/delete-zipcodes.mjs.map +1 -1
  83. package/dist/actions/get-account.cjs +5 -5
  84. package/dist/actions/get-account.cjs.map +1 -1
  85. package/dist/actions/get-account.d.cts +36 -3
  86. package/dist/actions/get-account.d.cts.map +1 -1
  87. package/dist/actions/get-account.d.mts +36 -3
  88. package/dist/actions/get-account.d.mts.map +1 -1
  89. package/dist/actions/get-account.mjs +5 -5
  90. package/dist/actions/get-account.mjs.map +1 -1
  91. package/dist/actions/get-collection.cjs +10 -10
  92. package/dist/actions/get-collection.cjs.map +1 -1
  93. package/dist/actions/get-collection.d.cts +36 -3
  94. package/dist/actions/get-collection.d.cts.map +1 -1
  95. package/dist/actions/get-collection.d.mts +36 -3
  96. package/dist/actions/get-collection.d.mts.map +1 -1
  97. package/dist/actions/get-collection.mjs +10 -10
  98. package/dist/actions/get-collection.mjs.map +1 -1
  99. package/dist/actions/get-requests-csv-links.cjs +6 -6
  100. package/dist/actions/get-requests-csv-links.cjs.map +1 -1
  101. package/dist/actions/get-requests-csv-links.d.cts +17 -3
  102. package/dist/actions/get-requests-csv-links.d.cts.map +1 -1
  103. package/dist/actions/get-requests-csv-links.d.mts +17 -3
  104. package/dist/actions/get-requests-csv-links.d.mts.map +1 -1
  105. package/dist/actions/get-requests-csv-links.mjs +6 -6
  106. package/dist/actions/get-requests-csv-links.mjs.map +1 -1
  107. package/dist/actions/get-requests-json-links.cjs +6 -6
  108. package/dist/actions/get-requests-json-links.cjs.map +1 -1
  109. package/dist/actions/get-requests-json-links.d.cts +17 -3
  110. package/dist/actions/get-requests-json-links.d.cts.map +1 -1
  111. package/dist/actions/get-requests-json-links.d.mts +17 -3
  112. package/dist/actions/get-requests-json-links.d.mts.map +1 -1
  113. package/dist/actions/get-requests-json-links.mjs +6 -6
  114. package/dist/actions/get-requests-json-links.mjs.map +1 -1
  115. package/dist/actions/get-result-set-csv.cjs +17 -17
  116. package/dist/actions/get-result-set-csv.cjs.map +1 -1
  117. package/dist/actions/get-result-set-csv.d.cts +43 -3
  118. package/dist/actions/get-result-set-csv.d.cts.map +1 -1
  119. package/dist/actions/get-result-set-csv.d.mts +43 -3
  120. package/dist/actions/get-result-set-csv.d.mts.map +1 -1
  121. package/dist/actions/get-result-set-csv.mjs +17 -17
  122. package/dist/actions/get-result-set-csv.mjs.map +1 -1
  123. package/dist/actions/get-result-set-json.cjs +13 -13
  124. package/dist/actions/get-result-set-json.cjs.map +1 -1
  125. package/dist/actions/get-result-set-json.d.cts +39 -3
  126. package/dist/actions/get-result-set-json.d.cts.map +1 -1
  127. package/dist/actions/get-result-set-json.d.mts +39 -3
  128. package/dist/actions/get-result-set-json.d.mts.map +1 -1
  129. package/dist/actions/get-result-set-json.mjs +13 -13
  130. package/dist/actions/get-result-set-json.mjs.map +1 -1
  131. package/dist/actions/get-result-set-jsonlines.cjs +20 -20
  132. package/dist/actions/get-result-set-jsonlines.cjs.map +1 -1
  133. package/dist/actions/get-result-set-jsonlines.d.cts +56 -3
  134. package/dist/actions/get-result-set-jsonlines.d.cts.map +1 -1
  135. package/dist/actions/get-result-set-jsonlines.d.mts +56 -3
  136. package/dist/actions/get-result-set-jsonlines.d.mts.map +1 -1
  137. package/dist/actions/get-result-set-jsonlines.mjs +20 -20
  138. package/dist/actions/get-result-set-jsonlines.mjs.map +1 -1
  139. package/dist/actions/get-target-product-data.cjs +18 -18
  140. package/dist/actions/get-target-product-data.cjs.map +1 -1
  141. package/dist/actions/get-target-product-data.d.cts +112 -3
  142. package/dist/actions/get-target-product-data.d.cts.map +1 -1
  143. package/dist/actions/get-target-product-data.d.mts +112 -3
  144. package/dist/actions/get-target-product-data.d.mts.map +1 -1
  145. package/dist/actions/get-target-product-data.mjs +18 -18
  146. package/dist/actions/get-target-product-data.mjs.map +1 -1
  147. package/dist/actions/list-categories.cjs +3 -3
  148. package/dist/actions/list-categories.cjs.map +1 -1
  149. package/dist/actions/list-categories.d.cts +63 -3
  150. package/dist/actions/list-categories.d.cts.map +1 -1
  151. package/dist/actions/list-categories.d.mts +63 -3
  152. package/dist/actions/list-categories.d.mts.map +1 -1
  153. package/dist/actions/list-categories.mjs +3 -3
  154. package/dist/actions/list-categories.mjs.map +1 -1
  155. package/dist/actions/list-collections.cjs +3 -3
  156. package/dist/actions/list-collections.cjs.map +1 -1
  157. package/dist/actions/list-collections.d.cts +71 -3
  158. package/dist/actions/list-collections.d.cts.map +1 -1
  159. package/dist/actions/list-collections.d.mts +71 -3
  160. package/dist/actions/list-collections.d.mts.map +1 -1
  161. package/dist/actions/list-collections.mjs +3 -3
  162. package/dist/actions/list-collections.mjs.map +1 -1
  163. package/dist/actions/list-destinations.cjs +12 -12
  164. package/dist/actions/list-destinations.cjs.map +1 -1
  165. package/dist/actions/list-destinations.d.cts +37 -3
  166. package/dist/actions/list-destinations.d.cts.map +1 -1
  167. package/dist/actions/list-destinations.d.mts +37 -3
  168. package/dist/actions/list-destinations.d.mts.map +1 -1
  169. package/dist/actions/list-destinations.mjs +12 -12
  170. package/dist/actions/list-destinations.mjs.map +1 -1
  171. package/dist/actions/list-error-logs.cjs +10 -10
  172. package/dist/actions/list-error-logs.cjs.map +1 -1
  173. package/dist/actions/list-error-logs.d.cts +30 -3
  174. package/dist/actions/list-error-logs.d.cts.map +1 -1
  175. package/dist/actions/list-error-logs.d.mts +30 -3
  176. package/dist/actions/list-error-logs.d.mts.map +1 -1
  177. package/dist/actions/list-error-logs.mjs +10 -10
  178. package/dist/actions/list-error-logs.mjs.map +1 -1
  179. package/dist/actions/list-requests-by-page.cjs +8 -8
  180. package/dist/actions/list-requests-by-page.cjs.map +1 -1
  181. package/dist/actions/list-requests-by-page.d.cts +22 -3
  182. package/dist/actions/list-requests-by-page.d.cts.map +1 -1
  183. package/dist/actions/list-requests-by-page.d.mts +22 -3
  184. package/dist/actions/list-requests-by-page.d.mts.map +1 -1
  185. package/dist/actions/list-requests-by-page.mjs +8 -8
  186. package/dist/actions/list-requests-by-page.mjs.map +1 -1
  187. package/dist/actions/list-result-sets.cjs +25 -25
  188. package/dist/actions/list-result-sets.cjs.map +1 -1
  189. package/dist/actions/list-result-sets.d.cts +41 -3
  190. package/dist/actions/list-result-sets.d.cts.map +1 -1
  191. package/dist/actions/list-result-sets.d.mts +41 -3
  192. package/dist/actions/list-result-sets.d.mts.map +1 -1
  193. package/dist/actions/list-result-sets.mjs +25 -25
  194. package/dist/actions/list-result-sets.mjs.map +1 -1
  195. package/dist/actions/list-zipcodes.cjs +7 -7
  196. package/dist/actions/list-zipcodes.cjs.map +1 -1
  197. package/dist/actions/list-zipcodes.d.cts +21 -3
  198. package/dist/actions/list-zipcodes.d.cts.map +1 -1
  199. package/dist/actions/list-zipcodes.d.mts +21 -3
  200. package/dist/actions/list-zipcodes.d.mts.map +1 -1
  201. package/dist/actions/list-zipcodes.mjs +7 -7
  202. package/dist/actions/list-zipcodes.mjs.map +1 -1
  203. package/dist/actions/resend-webhook.cjs +4 -4
  204. package/dist/actions/resend-webhook.cjs.map +1 -1
  205. package/dist/actions/resend-webhook.d.cts +14 -3
  206. package/dist/actions/resend-webhook.d.cts.map +1 -1
  207. package/dist/actions/resend-webhook.d.mts +14 -3
  208. package/dist/actions/resend-webhook.d.mts.map +1 -1
  209. package/dist/actions/resend-webhook.mjs +4 -4
  210. package/dist/actions/resend-webhook.mjs.map +1 -1
  211. package/dist/actions/start-collection.cjs +1 -1
  212. package/dist/actions/start-collection.cjs.map +1 -1
  213. package/dist/actions/start-collection.d.cts +11 -3
  214. package/dist/actions/start-collection.d.cts.map +1 -1
  215. package/dist/actions/start-collection.d.mts +11 -3
  216. package/dist/actions/start-collection.d.mts.map +1 -1
  217. package/dist/actions/start-collection.mjs +1 -1
  218. package/dist/actions/start-collection.mjs.map +1 -1
  219. package/dist/actions/stop-all-collections.cjs +6 -6
  220. package/dist/actions/stop-all-collections.cjs.map +1 -1
  221. package/dist/actions/stop-all-collections.d.cts +10 -3
  222. package/dist/actions/stop-all-collections.d.cts.map +1 -1
  223. package/dist/actions/stop-all-collections.d.mts +10 -3
  224. package/dist/actions/stop-all-collections.d.mts.map +1 -1
  225. package/dist/actions/stop-all-collections.mjs +6 -6
  226. package/dist/actions/stop-all-collections.mjs.map +1 -1
  227. package/dist/actions/stop-collection.cjs +2 -2
  228. package/dist/actions/stop-collection.cjs.map +1 -1
  229. package/dist/actions/stop-collection.d.cts +11 -3
  230. package/dist/actions/stop-collection.d.cts.map +1 -1
  231. package/dist/actions/stop-collection.d.mts +11 -3
  232. package/dist/actions/stop-collection.d.mts.map +1 -1
  233. package/dist/actions/stop-collection.mjs +2 -2
  234. package/dist/actions/stop-collection.mjs.map +1 -1
  235. package/dist/actions/update-collection.cjs +3 -3
  236. package/dist/actions/update-collection.cjs.map +1 -1
  237. package/dist/actions/update-collection.d.cts +69 -3
  238. package/dist/actions/update-collection.d.cts.map +1 -1
  239. package/dist/actions/update-collection.d.mts +69 -3
  240. package/dist/actions/update-collection.d.mts.map +1 -1
  241. package/dist/actions/update-collection.mjs +3 -3
  242. package/dist/actions/update-collection.mjs.map +1 -1
  243. package/dist/actions/update-destination.cjs +6 -6
  244. package/dist/actions/update-destination.cjs.map +1 -1
  245. package/dist/actions/update-destination.d.cts +82 -3
  246. package/dist/actions/update-destination.d.cts.map +1 -1
  247. package/dist/actions/update-destination.d.mts +82 -3
  248. package/dist/actions/update-destination.d.mts.map +1 -1
  249. package/dist/actions/update-destination.mjs +6 -6
  250. package/dist/actions/update-destination.mjs.map +1 -1
  251. package/dist/actions/update-request.cjs +2 -2
  252. package/dist/actions/update-request.cjs.map +1 -1
  253. package/dist/actions/update-request.d.cts +24 -3
  254. package/dist/actions/update-request.d.cts.map +1 -1
  255. package/dist/actions/update-request.d.mts +24 -3
  256. package/dist/actions/update-request.d.mts.map +1 -1
  257. package/dist/actions/update-request.mjs +2 -2
  258. package/dist/actions/update-request.mjs.map +1 -1
  259. package/dist/catalog.cjs +7 -1
  260. package/dist/catalog.cjs.map +1 -1
  261. package/dist/catalog.d.cts +8 -0
  262. package/dist/catalog.d.mts +8 -0
  263. package/dist/catalog.mjs +7 -1
  264. package/dist/catalog.mjs.map +1 -1
  265. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"create-collection.mjs","names":[],"sources":["../../src/actions/create-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateCollectionInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Collection identifier name.\"),\n enabled: z.boolean().describe(\"Activation status; defaults to false if omitted.\").optional(),\n priority: z.enum([\"highest\", \"high\", \"normal\", \"low\", \"lowest\"]).describe(\"Queue priority level.\").optional(),\n requests_type: z.enum([\"mixed\", \"product\", \"reviews\", \"search\", \"category\", \"store_stock\"]).describe(\"Lock type - 'mixed', 'product', 'reviews', 'search', 'category', 'store_stock' (cannot be modified after creation).\").optional(),\n schedule_type: z.enum([\"monthly\", \"weekly\", \"daily\", \"minutes\", \"manual\"]).describe(\"Schedule pattern - 'monthly', 'weekly', 'daily', 'minutes', or 'manual'.\").optional(),\n schedule_hours: z.array(z.number().int()).describe(\"Hours 0-23 for daily/weekly/monthly schedules.\").optional(),\n destination_ids: z.array(z.string()).describe(\"Cloud storage bucket identifiers for result uploads.\").optional(),\n schedule_minutes: z.enum([\"every_minute\", \"every_5_minutes\", \"every_10_minutes\", \"every_15_minutes\", \"every_30_minutes\", \"every_hour\"]).describe(\"Frequency - 'every_minute', 'every_5_minutes', up to 'every_hour'.\").optional(),\n notification_email: z.string().describe(\"Email address for completion notifications.\").optional(),\n notification_as_csv: z.boolean().describe(\"Enable CSV format result delivery.\").optional(),\n notification_as_json: z.boolean().describe(\"Enable JSON format result delivery.\").optional(),\n notification_webhook: z.string().describe(\"Fully qualified URL for webhook POST notifications.\").optional(),\n schedule_days_of_week: z.array(z.number().int()).describe(\"Days 0-6 (Sunday-Saturday) for weekly/minute schedules.\").optional(),\n schedule_days_of_month: z.array(z.number().int()).describe(\"Integer days (e.g., [1,20]) for monthly/minute schedules.\").optional(),\n notification_csv_fields: z.string().describe(\"Comma-separated CSV field list (dot notation format).\").optional(),\n notification_as_jsonlines: z.boolean().describe(\"Enable JSON Lines format result delivery.\").optional(),\n}).describe(\"Request model for creating a new collection in RedCircle API.\");\nconst RedcircleApiCreateCollection_CollectionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique collection identifier.\").nullable().optional(),\n name: z.string().describe(\"Collection name.\").nullable().optional(),\n status: z.string().describe(\"Current operational status.\").nullable().optional(),\n enabled: z.boolean().describe(\"Current activation state.\").nullable().optional(),\n priority: z.string().describe(\"Priority level.\").nullable().optional(),\n created_at: z.string().describe(\"Creation datetime in ISO format.\").nullable().optional(),\n request_type: z.string().describe(\"Request type classification.\").nullable().optional(),\n results_count: z.number().int().describe(\"Completed result sets.\").nullable().optional(),\n schedule_type: z.string().describe(\"Configured schedule pattern.\").nullable().optional(),\n schedule_hours: z.array(z.number().int()).describe(\"Configured execution hours.\").nullable().optional(),\n destination_ids: z.array(z.string()).describe(\"Upload destination identifiers.\").nullable().optional(),\n next_result_set_id: z.number().int().describe(\"Next result set identifier.\").nullable().optional(),\n notification_email: z.string().describe(\"Notification recipient email.\").nullable().optional(),\n request_page_count: z.number().int().describe(\"Paginated request count.\").nullable().optional(),\n notification_as_csv: z.boolean().describe(\"CSV delivery enabled flag.\").nullable().optional(),\n request_total_count: z.number().int().describe(\"Total requests in collection.\").nullable().optional(),\n request_type_locked: z.boolean().describe(\"Type restriction enforcement status.\").nullable().optional(),\n notification_as_json: z.boolean().describe(\"JSON delivery enabled flag.\").nullable().optional(),\n}).describe(\"Collection object details.\");\nconst RedcircleApiCreateCollection_RequestInfoSchema: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Operation status confirmation.\").nullable().optional(),\n}).describe(\"Request operation status information.\");\nexport const RedcircleApiCreateCollectionOutput: z.ZodTypeAny = z.object({\n collection: RedcircleApiCreateCollection_CollectionSchema.nullable().optional(),\n request_info: RedcircleApiCreateCollection_RequestInfoSchema.nullable().optional(),\n}).describe(\"Response model for creating a collection.\");\n\nexport const redcircleApiCreateCollection = action(\"REDCIRCLE_API_CREATE_COLLECTION\", {\n slug: \"redcircle_api-create-collection\",\n name: \"Create Collection\",\n description: \"Tool to create a new collection for running up to 15,000 requests on a schedule. Use when you need to organize and schedule batch requests with various scheduling patterns, priority levels, and notification methods.\",\n input: RedcircleApiCreateCollectionInput,\n output: RedcircleApiCreateCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,KAAK;EAAC;EAAW;EAAQ;EAAU;EAAO;CAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,KAAK;EAAC;EAAS;EAAW;EAAW;EAAU;EAAY;CAAa,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACrO,eAAe,EAAE,KAAK;EAAC;EAAW;EAAU;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACzK,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CA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CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAM,iDAA+D,EAAE,OAAO,EAC5E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAMnD,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8D,EAAE,OAAO;EACvE,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;EAC9E,cAAc,+CAA+C,SAAS,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-collection.mjs","names":[],"sources":["../../src/actions/create-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateCollectionInput = z.object({\n name: z.string().describe(\"Collection identifier name.\"),\n enabled: z.boolean().describe(\"Activation status; defaults to false if omitted.\").optional(),\n priority: z.enum([\"highest\", \"high\", \"normal\", \"low\", \"lowest\"]).describe(\"Queue priority level.\").optional(),\n requests_type: z.enum([\"mixed\", \"product\", \"reviews\", \"search\", \"category\", \"store_stock\"]).describe(\"Lock type - 'mixed', 'product', 'reviews', 'search', 'category', 'store_stock' (cannot be modified after creation).\").optional(),\n schedule_type: z.enum([\"monthly\", \"weekly\", \"daily\", \"minutes\", \"manual\"]).describe(\"Schedule pattern - 'monthly', 'weekly', 'daily', 'minutes', or 'manual'.\").optional(),\n schedule_hours: z.array(z.number().int()).describe(\"Hours 0-23 for daily/weekly/monthly schedules.\").optional(),\n destination_ids: z.array(z.string()).describe(\"Cloud storage bucket identifiers for result uploads.\").optional(),\n schedule_minutes: z.enum([\"every_minute\", \"every_5_minutes\", \"every_10_minutes\", \"every_15_minutes\", \"every_30_minutes\", \"every_hour\"]).describe(\"Frequency - 'every_minute', 'every_5_minutes', up to 'every_hour'.\").optional(),\n notification_email: z.string().describe(\"Email address for completion notifications.\").optional(),\n notification_as_csv: z.boolean().describe(\"Enable CSV format result delivery.\").optional(),\n notification_as_json: z.boolean().describe(\"Enable JSON format result delivery.\").optional(),\n notification_webhook: z.string().describe(\"Fully qualified URL for webhook POST notifications.\").optional(),\n schedule_days_of_week: z.array(z.number().int()).describe(\"Days 0-6 (Sunday-Saturday) for weekly/minute schedules.\").optional(),\n schedule_days_of_month: z.array(z.number().int()).describe(\"Integer days (e.g., [1,20]) for monthly/minute schedules.\").optional(),\n notification_csv_fields: z.string().describe(\"Comma-separated CSV field list (dot notation format).\").optional(),\n notification_as_jsonlines: z.boolean().describe(\"Enable JSON Lines format result delivery.\").optional(),\n}).describe(\"Request model for creating a new collection in RedCircle API.\");\nconst RedcircleApiCreateCollection_CollectionSchema = z.object({\n id: z.string().describe(\"Unique collection identifier.\").nullable().optional(),\n name: z.string().describe(\"Collection name.\").nullable().optional(),\n status: z.string().describe(\"Current operational status.\").nullable().optional(),\n enabled: z.boolean().describe(\"Current activation state.\").nullable().optional(),\n priority: z.string().describe(\"Priority level.\").nullable().optional(),\n created_at: z.string().describe(\"Creation datetime in ISO format.\").nullable().optional(),\n request_type: z.string().describe(\"Request type classification.\").nullable().optional(),\n results_count: z.number().int().describe(\"Completed result sets.\").nullable().optional(),\n schedule_type: z.string().describe(\"Configured schedule pattern.\").nullable().optional(),\n schedule_hours: z.array(z.number().int()).describe(\"Configured execution hours.\").nullable().optional(),\n destination_ids: z.array(z.string()).describe(\"Upload destination identifiers.\").nullable().optional(),\n next_result_set_id: z.number().int().describe(\"Next result set identifier.\").nullable().optional(),\n notification_email: z.string().describe(\"Notification recipient email.\").nullable().optional(),\n request_page_count: z.number().int().describe(\"Paginated request count.\").nullable().optional(),\n notification_as_csv: z.boolean().describe(\"CSV delivery enabled flag.\").nullable().optional(),\n request_total_count: z.number().int().describe(\"Total requests in collection.\").nullable().optional(),\n request_type_locked: z.boolean().describe(\"Type restriction enforcement status.\").nullable().optional(),\n notification_as_json: z.boolean().describe(\"JSON delivery enabled flag.\").nullable().optional(),\n}).passthrough().describe(\"Collection object details.\");\nconst RedcircleApiCreateCollection_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Operation status confirmation.\").nullable().optional(),\n}).passthrough().describe(\"Request operation status information.\");\nexport const RedcircleApiCreateCollectionOutput = z.object({\n collection: RedcircleApiCreateCollection_CollectionSchema.nullable().optional(),\n request_info: RedcircleApiCreateCollection_RequestInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for creating a collection.\");\n\nexport const redcircleApiCreateCollection = action(\"REDCIRCLE_API_CREATE_COLLECTION\", {\n slug: \"redcircle_api-create-collection\",\n name: \"Create Collection\",\n description: \"Tool to create a new collection for running up to 15,000 requests on a schedule. Use when you need to organize and schedule batch requests with various scheduling patterns, priority levels, and notification methods.\",\n input: RedcircleApiCreateCollectionInput,\n output: RedcircleApiCreateCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,KAAK;EAAC;EAAW;EAAQ;EAAU;EAAO;CAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,KAAK;EAAC;EAAS;EAAW;EAAW;EAAU;EAAY;CAAa,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACrO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AAC,SAAS,CAAC,CAAC,SAAS;CAC9F,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,iDAAiD,EAAE,OAAO,EAC9D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAMjE,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgD,EAAE,OAAO;EACzD,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;EAC9E,cAAc,+CAA+C,SAAS,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -31,12 +31,12 @@ const RedcircleApiCreateDestinationInput = zod.z.object({
31
31
  azure_container_name: zod.z.string().describe("Azure blob container name. Required when type='azure'.").optional(),
32
32
  s3_secret_access_key: zod.z.string().describe("AWS secret access key. Required when type='s3'.").optional()
33
33
  }).describe("Request model for creating a new destination.\n\nA destination is used for uploading Collection Result Sets to cloud storage providers.\nThe type field determines which additional fields are required (S3, GCS, Azure, OSS, or S3-compatible).");
34
- const RedcircleApiCreateDestination_DestinationDataSchema = zod.z.object({ id: zod.z.string().describe("Unique identifier for the created destination.") }).describe("Destination data object.");
35
- const RedcircleApiCreateDestination_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Operation status confirmation.") }).describe("Request information object.");
34
+ const RedcircleApiCreateDestination_DestinationDataSchema = zod.z.object({ id: zod.z.string().describe("Unique identifier for the created destination.").nullable() }).passthrough().describe("Destination data object.");
35
+ const RedcircleApiCreateDestination_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Operation status confirmation.").nullable() }).passthrough().describe("Request information object.");
36
36
  const RedcircleApiCreateDestinationOutput = zod.z.object({
37
37
  destination: RedcircleApiCreateDestination_DestinationDataSchema.nullable(),
38
38
  request_info: RedcircleApiCreateDestination_RequestInfoSchema.nullable()
39
- }).describe("Response schema for creating a destination.");
39
+ }).passthrough().describe("Response schema for creating a destination.");
40
40
  const redcircleApiCreateDestination = require_action.action("REDCIRCLE_API_CREATE_DESTINATION", {
41
41
  slug: "redcircle_api-create-destination",
42
42
  name: "Create Destination",
@@ -1 +1 @@
1
- {"version":3,"file":"create-destination.cjs","names":["z","action"],"sources":["../../src/actions/create-destination.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateDestinationInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Destination identifier/name.\"),\n type: z.enum([\"s3\", \"gcs\", \"azure\", \"oss\", \"s3compatible\"]).describe(\"Storage provider type. Options: s3 (Amazon S3), gcs (Google Cloud Storage), azure (Azure Blob Storage), oss (Alibaba OSS), s3compatible (S3-compatible storage).\"),\n enabled: z.boolean().describe(\"Activation status. If true, a connectivity test will be performed by uploading and deleting a test file.\"),\n s3_region: z.string().describe(\"Region identifier for S3-compatible storage. Optional when type='s3compatible'.\").optional(),\n s3_endpoint: z.string().describe(\"S3-compatible endpoint URL. Required when type='s3compatible'.\").optional(),\n oss_region_id: z.string().describe(\"Alibaba region identifier. Required when type='oss'.\").optional(),\n gcs_access_key: z.string().describe(\"Google Cloud interoperable access key. Required when type='gcs'.\").optional(),\n gcs_secret_key: z.string().describe(\"Google Cloud interoperable secret key. Required when type='gcs'.\").optional(),\n oss_access_key: z.string().describe(\"Alibaba Cloud RAM user access key. Required when type='oss'.\").optional(),\n oss_secret_key: z.string().describe(\"Alibaba Cloud RAM user secret key. Required when type='oss'.\").optional(),\n s3_bucket_name: z.string().describe(\"S3 bucket name. Required when type='s3'.\").optional(),\n s3_path_prefix: z.string().describe(\"Path prefix for S3 uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='s3' or type='s3compatible'.\").optional(),\n gcs_bucket_name: z.string().describe(\"GCS bucket identifier. Required when type='gcs'.\").optional(),\n gcs_path_prefix: z.string().describe(\"Path prefix for GCS uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='gcs'.\").optional(),\n oss_bucket_name: z.string().describe(\"Alibaba OSS bucket name. Required when type='oss'.\").optional(),\n oss_path_prefix: z.string().describe(\"Path prefix for OSS uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='oss'.\").optional(),\n s3_access_key_id: z.string().describe(\"AWS access key ID. Required when type='s3'.\").optional(),\n azure_account_key: z.string().describe(\"Azure storage account key. Required when type='azure'.\").optional(),\n azure_path_prefix: z.string().describe(\"Path prefix for Azure uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='azure'.\").optional(),\n azure_account_name: z.string().describe(\"Azure storage account name. Required when type='azure'.\").optional(),\n azure_container_name: z.string().describe(\"Azure blob container name. Required when type='azure'.\").optional(),\n s3_secret_access_key: z.string().describe(\"AWS secret access key. Required when type='s3'.\").optional(),\n}).describe(\"Request model for creating a new destination.\\n\\nA destination is used for uploading Collection Result Sets to cloud storage providers.\\nThe type field determines which additional fields are required (S3, GCS, Azure, OSS, or S3-compatible).\");\nconst RedcircleApiCreateDestination_DestinationDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the created destination.\"),\n}).describe(\"Destination data object.\");\nconst RedcircleApiCreateDestination_RequestInfoSchema: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Operation status confirmation.\"),\n}).describe(\"Request information object.\");\nexport const RedcircleApiCreateDestinationOutput: z.ZodTypeAny = z.object({\n destination: RedcircleApiCreateDestination_DestinationDataSchema.nullable(),\n request_info: RedcircleApiCreateDestination_RequestInfoSchema.nullable(),\n}).describe(\"Response schema for creating a destination.\");\n\nexport const redcircleApiCreateDestination = action(\"REDCIRCLE_API_CREATE_DESTINATION\", {\n slug: \"redcircle_api-create-destination\",\n name: \"Create Destination\",\n description: \"Tool to create a new destination for uploading Collection Result Sets to cloud storage. Use when you need to configure a storage destination for result sets with providers like S3, GCS, Azure, OSS, or S3-compatible storage.\",\n input: RedcircleApiCreateDestinationInput,\n output: RedcircleApiCreateDestinationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAO;EAAS;EAAO;CAAc,CAAC,CAAC,CAAC,SAAS,kKAAkK;CACvO,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0GAA0G;CACxI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACjH,gBAAgBA,IAAAA,EAAE,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,IAAAA,EAAE,OAAO,EACjF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC1E,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACtC,MAAM,kDAAgEA,IAAAA,EAAE,OAAO,EAC7E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,EAChE,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,aAAa,oDAAoD,SAAS;CAC1E,cAAc,gDAAgD,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-destination.cjs","names":["z","action"],"sources":["../../src/actions/create-destination.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateDestinationInput = z.object({\n name: z.string().describe(\"Destination identifier/name.\"),\n type: z.enum([\"s3\", \"gcs\", \"azure\", \"oss\", \"s3compatible\"]).describe(\"Storage provider type. Options: s3 (Amazon S3), gcs (Google Cloud Storage), azure (Azure Blob Storage), oss (Alibaba OSS), s3compatible (S3-compatible storage).\"),\n enabled: z.boolean().describe(\"Activation status. If true, a connectivity test will be performed by uploading and deleting a test file.\"),\n s3_region: z.string().describe(\"Region identifier for S3-compatible storage. Optional when type='s3compatible'.\").optional(),\n s3_endpoint: z.string().describe(\"S3-compatible endpoint URL. Required when type='s3compatible'.\").optional(),\n oss_region_id: z.string().describe(\"Alibaba region identifier. Required when type='oss'.\").optional(),\n gcs_access_key: z.string().describe(\"Google Cloud interoperable access key. Required when type='gcs'.\").optional(),\n gcs_secret_key: z.string().describe(\"Google Cloud interoperable secret key. Required when type='gcs'.\").optional(),\n oss_access_key: z.string().describe(\"Alibaba Cloud RAM user access key. Required when type='oss'.\").optional(),\n oss_secret_key: z.string().describe(\"Alibaba Cloud RAM user secret key. Required when type='oss'.\").optional(),\n s3_bucket_name: z.string().describe(\"S3 bucket name. Required when type='s3'.\").optional(),\n s3_path_prefix: z.string().describe(\"Path prefix for S3 uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='s3' or type='s3compatible'.\").optional(),\n gcs_bucket_name: z.string().describe(\"GCS bucket identifier. Required when type='gcs'.\").optional(),\n gcs_path_prefix: z.string().describe(\"Path prefix for GCS uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='gcs'.\").optional(),\n oss_bucket_name: z.string().describe(\"Alibaba OSS bucket name. Required when type='oss'.\").optional(),\n oss_path_prefix: z.string().describe(\"Path prefix for OSS uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='oss'.\").optional(),\n s3_access_key_id: z.string().describe(\"AWS access key ID. Required when type='s3'.\").optional(),\n azure_account_key: z.string().describe(\"Azure storage account key. Required when type='azure'.\").optional(),\n azure_path_prefix: z.string().describe(\"Path prefix for Azure uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='azure'.\").optional(),\n azure_account_name: z.string().describe(\"Azure storage account name. Required when type='azure'.\").optional(),\n azure_container_name: z.string().describe(\"Azure blob container name. Required when type='azure'.\").optional(),\n s3_secret_access_key: z.string().describe(\"AWS secret access key. Required when type='s3'.\").optional(),\n}).describe(\"Request model for creating a new destination.\\n\\nA destination is used for uploading Collection Result Sets to cloud storage providers.\\nThe type field determines which additional fields are required (S3, GCS, Azure, OSS, or S3-compatible).\");\nconst RedcircleApiCreateDestination_DestinationDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the created destination.\").nullable(),\n}).passthrough().describe(\"Destination data object.\");\nconst RedcircleApiCreateDestination_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Operation status confirmation.\").nullable(),\n}).passthrough().describe(\"Request information object.\");\nexport const RedcircleApiCreateDestinationOutput = z.object({\n destination: RedcircleApiCreateDestination_DestinationDataSchema.nullable(),\n request_info: RedcircleApiCreateDestination_RequestInfoSchema.nullable(),\n}).passthrough().describe(\"Response schema for creating a destination.\");\n\nexport const redcircleApiCreateDestination = action(\"REDCIRCLE_API_CREATE_DESTINATION\", {\n slug: \"redcircle_api-create-destination\",\n name: \"Create Destination\",\n description: \"Tool to create a new destination for uploading Collection Result Sets to cloud storage. Use when you need to configure a storage destination for result sets with providers like S3, GCS, Azure, OSS, or S3-compatible storage.\",\n input: RedcircleApiCreateDestinationInput,\n output: RedcircleApiCreateDestinationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAO;EAAS;EAAO;CAAc,CAAC,CAAC,CAAC,SAAS,kKAAkK;CACvO,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0GAA0G;CACxI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACjH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACjH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC7G,gBAAgBA,I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AA0B;AACpD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,aAAa,oDAAoD,SAAS;CAC1E,cAAc,gDAAgD,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,68 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-destination.d.ts
4
- declare const RedcircleApiCreateDestinationInput: z.ZodTypeAny;
5
- declare const RedcircleApiCreateDestinationOutput: z.ZodTypeAny;
6
- declare const redcircleApiCreateDestination: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedcircleApiCreateDestinationInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ type: z.ZodEnum<{
7
+ s3: "s3";
8
+ gcs: "gcs";
9
+ azure: "azure";
10
+ oss: "oss";
11
+ s3compatible: "s3compatible";
12
+ }>;
13
+ enabled: z.ZodBoolean;
14
+ s3_region: z.ZodOptional<z.ZodString>;
15
+ s3_endpoint: z.ZodOptional<z.ZodString>;
16
+ oss_region_id: z.ZodOptional<z.ZodString>;
17
+ gcs_access_key: z.ZodOptional<z.ZodString>;
18
+ gcs_secret_key: z.ZodOptional<z.ZodString>;
19
+ oss_access_key: z.ZodOptional<z.ZodString>;
20
+ oss_secret_key: z.ZodOptional<z.ZodString>;
21
+ s3_bucket_name: z.ZodOptional<z.ZodString>;
22
+ s3_path_prefix: z.ZodOptional<z.ZodString>;
23
+ gcs_bucket_name: z.ZodOptional<z.ZodString>;
24
+ gcs_path_prefix: z.ZodOptional<z.ZodString>;
25
+ oss_bucket_name: z.ZodOptional<z.ZodString>;
26
+ oss_path_prefix: z.ZodOptional<z.ZodString>;
27
+ s3_access_key_id: z.ZodOptional<z.ZodString>;
28
+ azure_account_key: z.ZodOptional<z.ZodString>;
29
+ azure_path_prefix: z.ZodOptional<z.ZodString>;
30
+ azure_account_name: z.ZodOptional<z.ZodString>;
31
+ azure_container_name: z.ZodOptional<z.ZodString>;
32
+ s3_secret_access_key: z.ZodOptional<z.ZodString>;
33
+ }, z.core.$strip>;
34
+ declare const RedcircleApiCreateDestinationOutput: z.ZodObject<{
35
+ destination: z.ZodNullable<z.ZodObject<{
36
+ id: z.ZodNullable<z.ZodString>;
37
+ }, z.core.$loose>>;
38
+ request_info: z.ZodNullable<z.ZodObject<{
39
+ success: z.ZodNullable<z.ZodBoolean>;
40
+ }, z.core.$loose>>;
41
+ }, z.core.$loose>;
42
+ declare const redcircleApiCreateDestination: import("@keystrokehq/action").WorkflowActionDefinition<{
43
+ name: string;
44
+ type: "s3" | "gcs" | "azure" | "oss" | "s3compatible";
45
+ enabled: boolean;
46
+ s3_region?: string | undefined;
47
+ s3_endpoint?: string | undefined;
48
+ oss_region_id?: string | undefined;
49
+ gcs_access_key?: string | undefined;
50
+ gcs_secret_key?: string | undefined;
51
+ oss_access_key?: string | undefined;
52
+ oss_secret_key?: string | undefined;
53
+ s3_bucket_name?: string | undefined;
54
+ s3_path_prefix?: string | undefined;
55
+ gcs_bucket_name?: string | undefined;
56
+ gcs_path_prefix?: string | undefined;
57
+ oss_bucket_name?: string | undefined;
58
+ oss_path_prefix?: string | undefined;
59
+ s3_access_key_id?: string | undefined;
60
+ azure_account_key?: string | undefined;
61
+ azure_path_prefix?: string | undefined;
62
+ azure_account_name?: string | undefined;
63
+ azure_container_name?: string | undefined;
64
+ s3_secret_access_key?: string | undefined;
65
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
66
  //#endregion
8
67
  export { redcircleApiCreateDestination };
9
68
  //# sourceMappingURL=create-destination.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-destination.d.cts","names":[],"sources":["../../src/actions/create-destination.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAuB4M;AAAA,cAOlP,mCAAA,EAAqC,CAAA,CAAE,UAGM;AAAA,cAE7C,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-destination.d.cts","names":[],"sources":["../../src/actions/create-destination.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8BlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
@@ -1,9 +1,68 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-destination.d.ts
4
- declare const RedcircleApiCreateDestinationInput: z.ZodTypeAny;
5
- declare const RedcircleApiCreateDestinationOutput: z.ZodTypeAny;
6
- declare const redcircleApiCreateDestination: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedcircleApiCreateDestinationInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ type: z.ZodEnum<{
7
+ s3: "s3";
8
+ gcs: "gcs";
9
+ azure: "azure";
10
+ oss: "oss";
11
+ s3compatible: "s3compatible";
12
+ }>;
13
+ enabled: z.ZodBoolean;
14
+ s3_region: z.ZodOptional<z.ZodString>;
15
+ s3_endpoint: z.ZodOptional<z.ZodString>;
16
+ oss_region_id: z.ZodOptional<z.ZodString>;
17
+ gcs_access_key: z.ZodOptional<z.ZodString>;
18
+ gcs_secret_key: z.ZodOptional<z.ZodString>;
19
+ oss_access_key: z.ZodOptional<z.ZodString>;
20
+ oss_secret_key: z.ZodOptional<z.ZodString>;
21
+ s3_bucket_name: z.ZodOptional<z.ZodString>;
22
+ s3_path_prefix: z.ZodOptional<z.ZodString>;
23
+ gcs_bucket_name: z.ZodOptional<z.ZodString>;
24
+ gcs_path_prefix: z.ZodOptional<z.ZodString>;
25
+ oss_bucket_name: z.ZodOptional<z.ZodString>;
26
+ oss_path_prefix: z.ZodOptional<z.ZodString>;
27
+ s3_access_key_id: z.ZodOptional<z.ZodString>;
28
+ azure_account_key: z.ZodOptional<z.ZodString>;
29
+ azure_path_prefix: z.ZodOptional<z.ZodString>;
30
+ azure_account_name: z.ZodOptional<z.ZodString>;
31
+ azure_container_name: z.ZodOptional<z.ZodString>;
32
+ s3_secret_access_key: z.ZodOptional<z.ZodString>;
33
+ }, z.core.$strip>;
34
+ declare const RedcircleApiCreateDestinationOutput: z.ZodObject<{
35
+ destination: z.ZodNullable<z.ZodObject<{
36
+ id: z.ZodNullable<z.ZodString>;
37
+ }, z.core.$loose>>;
38
+ request_info: z.ZodNullable<z.ZodObject<{
39
+ success: z.ZodNullable<z.ZodBoolean>;
40
+ }, z.core.$loose>>;
41
+ }, z.core.$loose>;
42
+ declare const redcircleApiCreateDestination: import("@keystrokehq/action").WorkflowActionDefinition<{
43
+ name: string;
44
+ type: "s3" | "gcs" | "azure" | "oss" | "s3compatible";
45
+ enabled: boolean;
46
+ s3_region?: string | undefined;
47
+ s3_endpoint?: string | undefined;
48
+ oss_region_id?: string | undefined;
49
+ gcs_access_key?: string | undefined;
50
+ gcs_secret_key?: string | undefined;
51
+ oss_access_key?: string | undefined;
52
+ oss_secret_key?: string | undefined;
53
+ s3_bucket_name?: string | undefined;
54
+ s3_path_prefix?: string | undefined;
55
+ gcs_bucket_name?: string | undefined;
56
+ gcs_path_prefix?: string | undefined;
57
+ oss_bucket_name?: string | undefined;
58
+ oss_path_prefix?: string | undefined;
59
+ s3_access_key_id?: string | undefined;
60
+ azure_account_key?: string | undefined;
61
+ azure_path_prefix?: string | undefined;
62
+ azure_account_name?: string | undefined;
63
+ azure_container_name?: string | undefined;
64
+ s3_secret_access_key?: string | undefined;
65
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
66
  //#endregion
8
67
  export { redcircleApiCreateDestination };
9
68
  //# sourceMappingURL=create-destination.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-destination.d.mts","names":[],"sources":["../../src/actions/create-destination.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAuB4M;AAAA,cAOlP,mCAAA,EAAqC,CAAA,CAAE,UAGM;AAAA,cAE7C,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-destination.d.mts","names":[],"sources":["../../src/actions/create-destination.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8BlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
@@ -31,8 +31,8 @@ const RedcircleApiCreateDestinationInput = z.object({
31
31
  azure_container_name: z.string().describe("Azure blob container name. Required when type='azure'.").optional(),
32
32
  s3_secret_access_key: z.string().describe("AWS secret access key. Required when type='s3'.").optional()
33
33
  }).describe("Request model for creating a new destination.\n\nA destination is used for uploading Collection Result Sets to cloud storage providers.\nThe type field determines which additional fields are required (S3, GCS, Azure, OSS, or S3-compatible).");
34
- const RedcircleApiCreateDestination_DestinationDataSchema = z.object({ id: z.string().describe("Unique identifier for the created destination.") }).describe("Destination data object.");
35
- const RedcircleApiCreateDestination_RequestInfoSchema = z.object({ success: z.boolean().describe("Operation status confirmation.") }).describe("Request information object.");
34
+ const RedcircleApiCreateDestination_DestinationDataSchema = z.object({ id: z.string().describe("Unique identifier for the created destination.").nullable() }).passthrough().describe("Destination data object.");
35
+ const RedcircleApiCreateDestination_RequestInfoSchema = z.object({ success: z.boolean().describe("Operation status confirmation.").nullable() }).passthrough().describe("Request information object.");
36
36
  const redcircleApiCreateDestination = action("REDCIRCLE_API_CREATE_DESTINATION", {
37
37
  slug: "redcircle_api-create-destination",
38
38
  name: "Create Destination",
@@ -41,7 +41,7 @@ const redcircleApiCreateDestination = action("REDCIRCLE_API_CREATE_DESTINATION",
41
41
  output: z.object({
42
42
  destination: RedcircleApiCreateDestination_DestinationDataSchema.nullable(),
43
43
  request_info: RedcircleApiCreateDestination_RequestInfoSchema.nullable()
44
- }).describe("Response schema for creating a destination.")
44
+ }).passthrough().describe("Response schema for creating a destination.")
45
45
  });
46
46
  //#endregion
47
47
  export { redcircleApiCreateDestination };
@@ -1 +1 @@
1
- {"version":3,"file":"create-destination.mjs","names":[],"sources":["../../src/actions/create-destination.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateDestinationInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Destination identifier/name.\"),\n type: z.enum([\"s3\", \"gcs\", \"azure\", \"oss\", \"s3compatible\"]).describe(\"Storage provider type. Options: s3 (Amazon S3), gcs (Google Cloud Storage), azure (Azure Blob Storage), oss (Alibaba OSS), s3compatible (S3-compatible storage).\"),\n enabled: z.boolean().describe(\"Activation status. If true, a connectivity test will be performed by uploading and deleting a test file.\"),\n s3_region: z.string().describe(\"Region identifier for S3-compatible storage. Optional when type='s3compatible'.\").optional(),\n s3_endpoint: z.string().describe(\"S3-compatible endpoint URL. Required when type='s3compatible'.\").optional(),\n oss_region_id: z.string().describe(\"Alibaba region identifier. Required when type='oss'.\").optional(),\n gcs_access_key: z.string().describe(\"Google Cloud interoperable access key. Required when type='gcs'.\").optional(),\n gcs_secret_key: z.string().describe(\"Google Cloud interoperable secret key. Required when type='gcs'.\").optional(),\n oss_access_key: z.string().describe(\"Alibaba Cloud RAM user access key. Required when type='oss'.\").optional(),\n oss_secret_key: z.string().describe(\"Alibaba Cloud RAM user secret key. Required when type='oss'.\").optional(),\n s3_bucket_name: z.string().describe(\"S3 bucket name. Required when type='s3'.\").optional(),\n s3_path_prefix: z.string().describe(\"Path prefix for S3 uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='s3' or type='s3compatible'.\").optional(),\n gcs_bucket_name: z.string().describe(\"GCS bucket identifier. Required when type='gcs'.\").optional(),\n gcs_path_prefix: z.string().describe(\"Path prefix for GCS uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='gcs'.\").optional(),\n oss_bucket_name: z.string().describe(\"Alibaba OSS bucket name. Required when type='oss'.\").optional(),\n oss_path_prefix: z.string().describe(\"Path prefix for OSS uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='oss'.\").optional(),\n s3_access_key_id: z.string().describe(\"AWS access key ID. Required when type='s3'.\").optional(),\n azure_account_key: z.string().describe(\"Azure storage account key. Required when type='azure'.\").optional(),\n azure_path_prefix: z.string().describe(\"Path prefix for Azure uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='azure'.\").optional(),\n azure_account_name: z.string().describe(\"Azure storage account name. Required when type='azure'.\").optional(),\n azure_container_name: z.string().describe(\"Azure blob container name. Required when type='azure'.\").optional(),\n s3_secret_access_key: z.string().describe(\"AWS secret access key. Required when type='s3'.\").optional(),\n}).describe(\"Request model for creating a new destination.\\n\\nA destination is used for uploading Collection Result Sets to cloud storage providers.\\nThe type field determines which additional fields are required (S3, GCS, Azure, OSS, or S3-compatible).\");\nconst RedcircleApiCreateDestination_DestinationDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the created destination.\"),\n}).describe(\"Destination data object.\");\nconst RedcircleApiCreateDestination_RequestInfoSchema: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Operation status confirmation.\"),\n}).describe(\"Request information object.\");\nexport const RedcircleApiCreateDestinationOutput: z.ZodTypeAny = z.object({\n destination: RedcircleApiCreateDestination_DestinationDataSchema.nullable(),\n request_info: RedcircleApiCreateDestination_RequestInfoSchema.nullable(),\n}).describe(\"Response schema for creating a destination.\");\n\nexport const redcircleApiCreateDestination = action(\"REDCIRCLE_API_CREATE_DESTINATION\", {\n slug: \"redcircle_api-create-destination\",\n name: \"Create Destination\",\n description: \"Tool to create a new destination for uploading Collection Result Sets to cloud storage. Use when you need to configure a storage destination for result sets with providers like S3, GCS, Azure, OSS, or S3-compatible storage.\",\n input: RedcircleApiCreateDestinationInput,\n output: RedcircleApiCreateDestinationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmD,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAM,EAAE,KAAK;EAAC;EAAM;EAAO;EAAS;EAAO;CAAc,CAAC,CAAC,CAAC,SAAS,kKAAkK;CACvO,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0GAA0G;CACxI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACjH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACjH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8D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S,6BAA6B;AAMzC,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+D,EAAE,OAAO;EACxE,aAAa,oDAAoD,SAAS;EAC1E,cAAc,gDAAgD,SAAS;CACzE,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-destination.mjs","names":[],"sources":["../../src/actions/create-destination.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateDestinationInput = z.object({\n name: z.string().describe(\"Destination identifier/name.\"),\n type: z.enum([\"s3\", \"gcs\", \"azure\", \"oss\", \"s3compatible\"]).describe(\"Storage provider type. Options: s3 (Amazon S3), gcs (Google Cloud Storage), azure (Azure Blob Storage), oss (Alibaba OSS), s3compatible (S3-compatible storage).\"),\n enabled: z.boolean().describe(\"Activation status. If true, a connectivity test will be performed by uploading and deleting a test file.\"),\n s3_region: z.string().describe(\"Region identifier for S3-compatible storage. Optional when type='s3compatible'.\").optional(),\n s3_endpoint: z.string().describe(\"S3-compatible endpoint URL. Required when type='s3compatible'.\").optional(),\n oss_region_id: z.string().describe(\"Alibaba region identifier. Required when type='oss'.\").optional(),\n gcs_access_key: z.string().describe(\"Google Cloud interoperable access key. Required when type='gcs'.\").optional(),\n gcs_secret_key: z.string().describe(\"Google Cloud interoperable secret key. Required when type='gcs'.\").optional(),\n oss_access_key: z.string().describe(\"Alibaba Cloud RAM user access key. Required when type='oss'.\").optional(),\n oss_secret_key: z.string().describe(\"Alibaba Cloud RAM user secret key. Required when type='oss'.\").optional(),\n s3_bucket_name: z.string().describe(\"S3 bucket name. Required when type='s3'.\").optional(),\n s3_path_prefix: z.string().describe(\"Path prefix for S3 uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='s3' or type='s3compatible'.\").optional(),\n gcs_bucket_name: z.string().describe(\"GCS bucket identifier. Required when type='gcs'.\").optional(),\n gcs_path_prefix: z.string().describe(\"Path prefix for GCS uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='gcs'.\").optional(),\n oss_bucket_name: z.string().describe(\"Alibaba OSS bucket name. Required when type='oss'.\").optional(),\n oss_path_prefix: z.string().describe(\"Path prefix for OSS uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='oss'.\").optional(),\n s3_access_key_id: z.string().describe(\"AWS access key ID. Required when type='s3'.\").optional(),\n azure_account_key: z.string().describe(\"Azure storage account key. Required when type='azure'.\").optional(),\n azure_path_prefix: z.string().describe(\"Path prefix for Azure uploads. Supports tokens: %COLLECTION_ID%, %COLLECTION_NAME%, %RESULT_SET_ID%, %DATE%. Optional when type='azure'.\").optional(),\n azure_account_name: z.string().describe(\"Azure storage account name. Required when type='azure'.\").optional(),\n azure_container_name: z.string().describe(\"Azure blob container name. Required when type='azure'.\").optional(),\n s3_secret_access_key: z.string().describe(\"AWS secret access key. Required when type='s3'.\").optional(),\n}).describe(\"Request model for creating a new destination.\\n\\nA destination is used for uploading Collection Result Sets to cloud storage providers.\\nThe type field determines which additional fields are required (S3, GCS, Azure, OSS, or S3-compatible).\");\nconst RedcircleApiCreateDestination_DestinationDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the created destination.\").nullable(),\n}).passthrough().describe(\"Destination data object.\");\nconst RedcircleApiCreateDestination_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Operation status confirmation.\").nullable(),\n}).passthrough().describe(\"Request information object.\");\nexport const RedcircleApiCreateDestinationOutput = z.object({\n destination: RedcircleApiCreateDestination_DestinationDataSchema.nullable(),\n request_info: RedcircleApiCreateDestination_RequestInfoSchema.nullable(),\n}).passthrough().describe(\"Response schema for creating a destination.\");\n\nexport const redcircleApiCreateDestination = action(\"REDCIRCLE_API_CREATE_DESTINATION\", {\n slug: \"redcircle_api-create-destination\",\n name: \"Create Destination\",\n description: \"Tool to create a new destination for uploading Collection Result Sets to cloud storage. Use when you need to configure a storage destination for result sets with providers like S3, GCS, Azure, OSS, or S3-compatible storage.\",\n input: RedcircleApiCreateDestinationInput,\n output: RedcircleApiCreateDestinationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAM,EAAE,KAAK;EAAC;EAAM;EAAO;EAAS;EAAO;CAAc,CAAC,CAAC,CAAC,SAAS,kKAAkK;CACvO,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0GAA0G;CACxI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACjH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACjH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC7G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC7G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAC1M,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CACtL,iBAAiB,EAAE,OAAO,CAAC,C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Request type, e.g., 'product'"),
8
8
  custom_id: zod.z.string().describe("User-defined identifier for tracking across result sets").optional()
9
- }).describe("Individual request object to be added to the collection")).describe("JSON array containing request objects. Maximum 1,000 requests per call. Collections have a 15,000 request maximum (100 if include_html=true)."),
9
+ }).passthrough().describe("Individual request object to be added to the collection")).describe("JSON array containing request objects. Maximum 1,000 requests per call. Collections have a 15,000 request maximum (100 if include_html=true)."),
10
10
  collection_id: zod.z.string().describe("The unique identifier of the target collection")
11
11
  }).describe("Request model for adding requests to a collection");
12
12
  const RedcircleApiCreateRequests_CollectionSchema = zod.z.object({
13
- id: zod.z.string().describe("Collection unique identifier"),
13
+ id: zod.z.string().describe("Collection unique identifier").nullable(),
14
14
  name: zod.z.string().describe("Collection name").nullable().optional(),
15
15
  status: zod.z.string().describe("Current collection status").nullable().optional(),
16
16
  created_at: zod.z.string().describe("Collection creation timestamp").nullable().optional(),
17
17
  requests_total_count: zod.z.number().int().describe("Total number of requests in the collection").nullable().optional()
18
- }).describe("Collection information after adding requests");
19
- const RedcircleApiCreateRequests_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the request was successful") }).describe("Information about the request operation");
18
+ }).passthrough().describe("Collection information after adding requests");
19
+ const RedcircleApiCreateRequests_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the request was successful").nullable() }).passthrough().describe("Information about the request operation");
20
20
  const RedcircleApiCreateRequestsOutput = zod.z.object({
21
21
  collection: RedcircleApiCreateRequests_CollectionSchema.nullable(),
22
22
  request_info: RedcircleApiCreateRequests_RequestInfoSchema.nullable()
23
- }).describe("Response model for adding requests to a collection");
23
+ }).passthrough().describe("Response model for adding requests to a collection");
24
24
  const redcircleApiCreateRequests = require_action.action("REDCIRCLE_API_CREATE_REQUESTS", {
25
25
  slug: "redcircle_api-create-requests",
26
26
  name: "Create Requests",
@@ -1 +1 @@
1
- {"version":3,"file":"create-requests.cjs","names":["z","action"],"sources":["../../src/actions/create-requests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateRequestsInput: z.ZodTypeAny = z.object({\n requests: z.array(z.object({\n tcin: z.string().describe(\"Target product identifier\"),\n type: z.string().describe(\"Request type, e.g., 'product'\"),\n custom_id: z.string().describe(\"User-defined identifier for tracking across result sets\").optional(),\n}).describe(\"Individual request object to be added to the collection\")).describe(\"JSON array containing request objects. Maximum 1,000 requests per call. Collections have a 15,000 request maximum (100 if include_html=true).\"),\n collection_id: z.string().describe(\"The unique identifier of the target collection\"),\n}).describe(\"Request model for adding requests to a collection\");\nconst RedcircleApiCreateRequests_CollectionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Collection unique identifier\"),\n name: z.string().describe(\"Collection name\").nullable().optional(),\n status: z.string().describe(\"Current collection status\").nullable().optional(),\n created_at: z.string().describe(\"Collection creation timestamp\").nullable().optional(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection\").nullable().optional(),\n}).describe(\"Collection information after adding requests\");\nconst RedcircleApiCreateRequests_RequestInfoSchema: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful\"),\n}).describe(\"Information about the request operation\");\nexport const RedcircleApiCreateRequestsOutput: z.ZodTypeAny = z.object({\n collection: RedcircleApiCreateRequests_CollectionSchema.nullable(),\n request_info: RedcircleApiCreateRequests_RequestInfoSchema.nullable(),\n}).describe(\"Response model for adding requests to a collection\");\n\nexport const redcircleApiCreateRequests = action(\"REDCIRCLE_API_CREATE_REQUESTS\", {\n slug: \"redcircle_api-create-requests\",\n name: \"Create Requests\",\n description: \"Tool to add up to 1,000 requests to an existing collection. Use when you need to populate a collection with product requests. Collections have a maximum of 15,000 requests (100 if include_html=true). Sequential calls required; parallel requests trigger HTTP 429 errors.\",\n input: RedcircleApiCreateRequestsInput,\n output: RedcircleApiCreateRequestsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,UAAUA,IAAAA,EA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,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-requests.cjs","names":["z","action"],"sources":["../../src/actions/create-requests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateRequestsInput = z.object({\n requests: z.array(z.object({\n tcin: z.string().describe(\"Target product identifier\"),\n type: z.string().describe(\"Request type, e.g., 'product'\"),\n custom_id: z.string().describe(\"User-defined identifier for tracking across result sets\").optional(),\n}).passthrough().describe(\"Individual request object to be added to the collection\")).describe(\"JSON array containing request objects. Maximum 1,000 requests per call. Collections have a 15,000 request maximum (100 if include_html=true).\"),\n collection_id: z.string().describe(\"The unique identifier of the target collection\"),\n}).describe(\"Request model for adding requests to a collection\");\nconst RedcircleApiCreateRequests_CollectionSchema = z.object({\n id: z.string().describe(\"Collection unique identifier\").nullable(),\n name: z.string().describe(\"Collection name\").nullable().optional(),\n status: z.string().describe(\"Current collection status\").nullable().optional(),\n created_at: z.string().describe(\"Collection creation timestamp\").nullable().optional(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection\").nullable().optional(),\n}).passthrough().describe(\"Collection information after adding requests\");\nconst RedcircleApiCreateRequests_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).passthrough().describe(\"Information about the request operation\");\nexport const RedcircleApiCreateRequestsOutput = z.object({\n collection: RedcircleApiCreateRequests_CollectionSchema.nullable(),\n request_info: RedcircleApiCreateRequests_RequestInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for adding requests to a collection\");\n\nexport const redcircleApiCreateRequests = action(\"REDCIRCLE_API_CREATE_REQUESTS\", {\n slug: \"redcircle_api-create-requests\",\n name: \"Create Requests\",\n description: \"Tool to add up to 1,000 requests to an existing collection. Use when you need to populate a collection with product requests. Collections have a maximum of 15,000 requests (100 if include_html=true). Sequential calls required; parallel requests trigger HTT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AAyC,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAY,4CAA4C,SAAS;CACjE,cAAc,6CAA6C,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-requests.d.ts
4
- declare const RedcircleApiCreateRequestsInput: z.ZodTypeAny;
5
- declare const RedcircleApiCreateRequestsOutput: z.ZodTypeAny;
6
- declare const redcircleApiCreateRequests: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedcircleApiCreateRequestsInput: z.ZodObject<{
5
+ requests: z.ZodArray<z.ZodObject<{
6
+ tcin: z.ZodString;
7
+ type: z.ZodString;
8
+ custom_id: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$loose>>;
10
+ collection_id: z.ZodString;
11
+ }, z.core.$strip>;
12
+ declare const RedcircleApiCreateRequestsOutput: z.ZodObject<{
13
+ collection: z.ZodNullable<z.ZodObject<{
14
+ id: z.ZodNullable<z.ZodString>;
15
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ requests_total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ }, z.core.$loose>>;
20
+ request_info: z.ZodNullable<z.ZodObject<{
21
+ success: z.ZodNullable<z.ZodBoolean>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$loose>;
24
+ declare const redcircleApiCreateRequests: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ requests: {
26
+ [x: string]: unknown;
27
+ tcin: string;
28
+ type: string;
29
+ custom_id?: string | undefined;
30
+ }[];
31
+ collection_id: string;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { redcircleApiCreateRequests };
9
35
  //# sourceMappingURL=create-requests.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-requests.d.cts","names":[],"sources":["../../src/actions/create-requests.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAOgB;AAAA,cAWnD,gCAAA,EAAkC,CAAA,CAAE,UAGgB;AAAA,cAEpD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-requests.d.cts","names":[],"sources":["../../src/actions/create-requests.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAkB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-requests.d.ts
4
- declare const RedcircleApiCreateRequestsInput: z.ZodTypeAny;
5
- declare const RedcircleApiCreateRequestsOutput: z.ZodTypeAny;
6
- declare const redcircleApiCreateRequests: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedcircleApiCreateRequestsInput: z.ZodObject<{
5
+ requests: z.ZodArray<z.ZodObject<{
6
+ tcin: z.ZodString;
7
+ type: z.ZodString;
8
+ custom_id: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$loose>>;
10
+ collection_id: z.ZodString;
11
+ }, z.core.$strip>;
12
+ declare const RedcircleApiCreateRequestsOutput: z.ZodObject<{
13
+ collection: z.ZodNullable<z.ZodObject<{
14
+ id: z.ZodNullable<z.ZodString>;
15
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ requests_total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ }, z.core.$loose>>;
20
+ request_info: z.ZodNullable<z.ZodObject<{
21
+ success: z.ZodNullable<z.ZodBoolean>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$loose>;
24
+ declare const redcircleApiCreateRequests: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ requests: {
26
+ [x: string]: unknown;
27
+ tcin: string;
28
+ type: string;
29
+ custom_id?: string | undefined;
30
+ }[];
31
+ collection_id: string;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { redcircleApiCreateRequests };
9
35
  //# sourceMappingURL=create-requests.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-requests.d.mts","names":[],"sources":["../../src/actions/create-requests.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAOgB;AAAA,cAWnD,gCAAA,EAAkC,CAAA,CAAE,UAGgB;AAAA,cAEpD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-requests.d.mts","names":[],"sources":["../../src/actions/create-requests.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAkB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
@@ -6,17 +6,17 @@ const RedcircleApiCreateRequestsInput = z.object({
6
6
  tcin: z.string().describe("Target product identifier"),
7
7
  type: z.string().describe("Request type, e.g., 'product'"),
8
8
  custom_id: z.string().describe("User-defined identifier for tracking across result sets").optional()
9
- }).describe("Individual request object to be added to the collection")).describe("JSON array containing request objects. Maximum 1,000 requests per call. Collections have a 15,000 request maximum (100 if include_html=true)."),
9
+ }).passthrough().describe("Individual request object to be added to the collection")).describe("JSON array containing request objects. Maximum 1,000 requests per call. Collections have a 15,000 request maximum (100 if include_html=true)."),
10
10
  collection_id: z.string().describe("The unique identifier of the target collection")
11
11
  }).describe("Request model for adding requests to a collection");
12
12
  const RedcircleApiCreateRequests_CollectionSchema = z.object({
13
- id: z.string().describe("Collection unique identifier"),
13
+ id: z.string().describe("Collection unique identifier").nullable(),
14
14
  name: z.string().describe("Collection name").nullable().optional(),
15
15
  status: z.string().describe("Current collection status").nullable().optional(),
16
16
  created_at: z.string().describe("Collection creation timestamp").nullable().optional(),
17
17
  requests_total_count: z.number().int().describe("Total number of requests in the collection").nullable().optional()
18
- }).describe("Collection information after adding requests");
19
- const RedcircleApiCreateRequests_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the request was successful") }).describe("Information about the request operation");
18
+ }).passthrough().describe("Collection information after adding requests");
19
+ const RedcircleApiCreateRequests_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the request was successful").nullable() }).passthrough().describe("Information about the request operation");
20
20
  const redcircleApiCreateRequests = action("REDCIRCLE_API_CREATE_REQUESTS", {
21
21
  slug: "redcircle_api-create-requests",
22
22
  name: "Create Requests",
@@ -25,7 +25,7 @@ const redcircleApiCreateRequests = action("REDCIRCLE_API_CREATE_REQUESTS", {
25
25
  output: z.object({
26
26
  collection: RedcircleApiCreateRequests_CollectionSchema.nullable(),
27
27
  request_info: RedcircleApiCreateRequests_RequestInfoSchema.nullable()
28
- }).describe("Response model for adding requests to a collection")
28
+ }).passthrough().describe("Response model for adding requests to a collection")
29
29
  });
30
30
  //#endregion
31
31
  export { redcircleApiCreateRequests };
@@ -1 +1 @@
1
- {"version":3,"file":"create-requests.mjs","names":[],"sources":["../../src/actions/create-requests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateRequestsInput: z.ZodTypeAny = z.object({\n requests: z.array(z.object({\n tcin: z.string().describe(\"Target product identifier\"),\n type: z.string().describe(\"Request type, e.g., 'product'\"),\n custom_id: z.string().describe(\"User-defined identifier for tracking across result sets\").optional(),\n}).describe(\"Individual request object to be added to the collection\")).describe(\"JSON array containing request objects. Maximum 1,000 requests per call. Collections have a 15,000 request maximum (100 if include_html=true).\"),\n collection_id: z.string().describe(\"The unique identifier of the target collection\"),\n}).describe(\"Request model for adding requests to a collection\");\nconst RedcircleApiCreateRequests_CollectionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Collection unique identifier\"),\n name: z.string().describe(\"Collection name\").nullable().optional(),\n status: z.string().describe(\"Current collection status\").nullable().optional(),\n created_at: z.string().describe(\"Collection creation timestamp\").nullable().optional(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection\").nullable().optional(),\n}).describe(\"Collection information after adding requests\");\nconst RedcircleApiCreateRequests_RequestInfoSchema: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful\"),\n}).describe(\"Information about the request operation\");\nexport const RedcircleApiCreateRequestsOutput: z.ZodTypeAny = z.object({\n collection: RedcircleApiCreateRequests_CollectionSchema.nullable(),\n request_info: RedcircleApiCreateRequests_RequestInfoSchema.nullable(),\n}).describe(\"Response model for adding requests to a collection\");\n\nexport const redcircleApiCreateRequests = action(\"REDCIRCLE_API_CREATE_REQUESTS\", {\n slug: \"redcircle_api-create-requests\",\n name: \"Create Requests\",\n description: \"Tool to add up to 1,000 requests to an existing collection. Use when you need to populate a collection with product requests. Collections have a maximum of 15,000 requests (100 if include_html=true). Sequential calls required; parallel requests trigger HTTP 429 errors.\",\n input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6C,SAAS;CACtE,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-requests.mjs","names":[],"sources":["../../src/actions/create-requests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiCreateRequestsInput = z.object({\n requests: z.array(z.object({\n tcin: z.string().describe(\"Target product identifier\"),\n type: z.string().describe(\"Request type, e.g., 'product'\"),\n custom_id: z.string().describe(\"User-defined identifier for tracking across result sets\").optional(),\n}).passthrough().describe(\"Individual request object to be added to the collection\")).describe(\"JSON array containing request objects. Maximum 1,000 requests per call. Collections have a 15,000 request maximum (100 if include_html=true).\"),\n collection_id: z.string().describe(\"The unique identifier of the target collection\"),\n}).describe(\"Request model for adding requests to a collection\");\nconst RedcircleApiCreateRequests_CollectionSchema = z.object({\n id: z.string().describe(\"Collection unique identifier\").nullable(),\n name: z.string().describe(\"Collection name\").nullable().optional(),\n status: z.string().describe(\"Current collection status\").nullable().optional(),\n created_at: z.string().describe(\"Collection creation timestamp\").nullable().optional(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection\").nullable().optional(),\n}).passthrough().describe(\"Collection information after adding requests\");\nconst RedcircleApiCreateRequests_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).passthrough().describe(\"Information about the request operation\");\nexport const RedcircleApiCreateRequestsOutput = z.object({\n collection: RedcircleApiCreateRequests_CollectionSchema.nullable(),\n request_info: RedcircleApiCreateRequests_RequestInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for adding requests to a collection\");\n\nexport const redcircleApiCreateRequests = action(\"REDCIRCLE_API_CREATE_REQUESTS\", {\n slug: \"redcircle_api-create-requests\",\n name: \"Create Requests\",\n description: \"Tool to add up to 1,000 requests to an existing collection. Use when you need to populate a collection with product requests. Collections have a maximum of 15,000 requests (100 if include_html=true). Sequential calls required; parallel requests trigger HTTP 429 errors.\",\n input: RedcircleApiCreateRequestsInput,\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CACP,QAV8C,EAAE,OAAO;EACvD,YAAY,4CAA4C,SAAS;EACjE,cAAc,6CAA6C,SAAS;CACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -3,10 +3,10 @@ let zod = require("zod");
3
3
  //#region src/actions/delete-collection.ts
4
4
  const RedcircleApiDeleteCollectionInput = zod.z.object({ collection_id: zod.z.string().describe("The unique identifier of the collection to delete. Note: Collection cannot be deleted while actively running.") }).describe("Request parameters for deleting a collection.");
5
5
  const RedcircleApiDeleteCollection_RequestInfoSchema = zod.z.object({
6
- message: zod.z.string().describe("Confirmation message or error details"),
7
- success: zod.z.boolean().describe("Indicates whether the deletion was successful")
8
- }).describe("Response metadata container.");
9
- const RedcircleApiDeleteCollectionOutput = zod.z.object({ request_info: RedcircleApiDeleteCollection_RequestInfoSchema.nullable() }).describe("Response schema for collection deletion.");
6
+ message: zod.z.string().describe("Confirmation message or error details").nullable(),
7
+ success: zod.z.boolean().describe("Indicates whether the deletion was successful").nullable()
8
+ }).passthrough().describe("Response metadata container.");
9
+ const RedcircleApiDeleteCollectionOutput = zod.z.object({ request_info: RedcircleApiDeleteCollection_RequestInfoSchema.nullable() }).passthrough().describe("Response schema for collection deletion.");
10
10
  const redcircleApiDeleteCollection = require_action.action("REDCIRCLE_API_DELETE_COLLECTION", {
11
11
  slug: "redcircle_api-delete-collection",
12
12
  name: "Delete Collection",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-collection.cjs","names":["z","action"],"sources":["../../src/actions/delete-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiDeleteCollectionInput: z.ZodTypeAny = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to delete. Note: Collection cannot be deleted while actively running.\"),\n}).describe(\"Request parameters for deleting a collection.\");\nconst RedcircleApiDeleteCollection_RequestInfoSchema: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message or error details\"),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\"),\n}).describe(\"Response metadata container.\");\nexport const RedcircleApiDeleteCollectionOutput: z.ZodTypeAny = z.object({\n request_info: RedcircleApiDeleteCollection_RequestInfoSchema.nullable(),\n}).describe(\"Response schema for collection deletion.\");\n\nexport const redcircleApiDeleteCollection = action(\"REDCIRCLE_API_DELETE_COLLECTION\", {\n slug: \"redcircle_api-delete-collection\",\n name: \"Delete Collection\",\n description: \"Tool to remove a collection from the system by ID. Use when you need to delete a collection that is not currently running.\",\n input: RedcircleApiDeleteCollectionInput,\n output: RedcircleApiDeleteCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EACpJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACpE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C;AAC/E,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,cAAc,+CAA+C,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-collection.cjs","names":["z","action"],"sources":["../../src/actions/delete-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiDeleteCollectionInput = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to delete. Note: Collection cannot be deleted while actively running.\"),\n}).describe(\"Request parameters for deleting a collection.\");\nconst RedcircleApiDeleteCollection_RequestInfoSchema = z.object({\n message: z.string().describe(\"Confirmation message or error details\").nullable(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable(),\n}).passthrough().describe(\"Response metadata container.\");\nexport const RedcircleApiDeleteCollectionOutput = z.object({\n request_info: RedcircleApiDeleteCollection_RequestInfoSchema.nullable(),\n}).passthrough().describe(\"Response schema for collection deletion.\");\n\nexport const redcircleApiDeleteCollection = action(\"REDCIRCLE_API_DELETE_COLLECTION\", {\n slug: \"redcircle_api-delete-collection\",\n name: \"Delete Collection\",\n description: \"Tool to remove a collection from the system by ID. Use when you need to delete a collection that is not currently running.\",\n input: RedcircleApiDeleteCollectionInput,\n output: RedcircleApiDeleteCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EACpJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,cAAc,+CAA+C,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-collection.d.ts
4
- declare const RedcircleApiDeleteCollectionInput: z.ZodTypeAny;
5
- declare const RedcircleApiDeleteCollectionOutput: z.ZodTypeAny;
6
- declare const redcircleApiDeleteCollection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedcircleApiDeleteCollectionInput: z.ZodObject<{
5
+ collection_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RedcircleApiDeleteCollectionOutput: z.ZodObject<{
8
+ request_info: z.ZodNullable<z.ZodObject<{
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
+ declare const redcircleApiDeleteCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ collection_id: string;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { redcircleApiDeleteCollection };
9
18
  //# sourceMappingURL=delete-collection.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-collection.d.cts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEU;AAAA,cAK/C,kCAAA,EAAoC,CAAA,CAAE,UAEI;AAAA,cAE1C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-collection.d.cts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAOjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-collection.d.ts
4
- declare const RedcircleApiDeleteCollectionInput: z.ZodTypeAny;
5
- declare const RedcircleApiDeleteCollectionOutput: z.ZodTypeAny;
6
- declare const redcircleApiDeleteCollection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedcircleApiDeleteCollectionInput: z.ZodObject<{
5
+ collection_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RedcircleApiDeleteCollectionOutput: z.ZodObject<{
8
+ request_info: z.ZodNullable<z.ZodObject<{
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
+ declare const redcircleApiDeleteCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ collection_id: string;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { redcircleApiDeleteCollection };
9
18
  //# sourceMappingURL=delete-collection.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-collection.d.mts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEU;AAAA,cAK/C,kCAAA,EAAoC,CAAA,CAAE,UAEI;AAAA,cAE1C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-collection.d.mts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAOjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}