@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,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-requests-csv-links.d.ts
4
- declare const RedcircleApiGetRequestsCsvLinksInput: z.ZodTypeAny;
5
- declare const RedcircleApiGetRequestsCsvLinksOutput: z.ZodTypeAny;
6
- declare const redcircleApiGetRequestsCsvLinks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedcircleApiGetRequestsCsvLinksInput: z.ZodObject<{
5
+ collection_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RedcircleApiGetRequestsCsvLinksOutput: z.ZodObject<{
8
+ request_info: z.ZodNullable<z.ZodObject<{
9
+ success: z.ZodNullable<z.ZodBoolean>;
10
+ }, z.core.$loose>>;
11
+ collection_id: z.ZodNullable<z.ZodString>;
12
+ download_links: z.ZodNullable<z.ZodObject<{
13
+ pages: z.ZodArray<z.ZodString>;
14
+ }, z.core.$loose>>;
15
+ requests_page_count: z.ZodNullable<z.ZodNumber>;
16
+ requests_total_count: z.ZodNullable<z.ZodNumber>;
17
+ }, z.core.$loose>;
18
+ declare const redcircleApiGetRequestsCsvLinks: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ collection_id: string;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { redcircleApiGetRequestsCsvLinks };
9
23
  //# sourceMappingURL=get-requests-csv-links.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-requests-csv-links.d.mts","names":[],"sources":["../../src/actions/get-requests-csv-links.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAE2C;AAAA,cAOnF,qCAAA,EAAuC,CAAA,CAAE,UAMD;AAAA,cAExC,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-requests-csv-links.d.mts","names":[],"sources":["../../src/actions/get-requests-csv-links.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cASpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAQrC,+BAAA,gCAA+B,wBAAA"}
@@ -2,8 +2,8 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/get-requests-csv-links.ts
4
4
  const RedcircleApiGetRequestsCsvLinksInput = z.object({ collection_id: z.string().describe("The ID of the collection for which to retrieve CSV download links.") }).describe("Request model for retrieving CSV download links for all requests in a collection.");
5
- const RedcircleApiGetRequestsCsvLinks_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the request was successful.") }).describe("Request status information.");
6
- const RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema = z.object({ pages: z.array(z.string()).describe("Array of CSV file download URLs, with up to 1000 requests per file.") }).describe("Contains download URLs for CSV files.");
5
+ const RedcircleApiGetRequestsCsvLinks_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the request was successful.").nullable() }).passthrough().describe("Request status information.");
6
+ const RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema = z.object({ pages: z.array(z.string()).describe("Array of CSV file download URLs, with up to 1000 requests per file.") }).passthrough().describe("Contains download URLs for CSV files.");
7
7
  const redcircleApiGetRequestsCsvLinks = action("REDCIRCLE_API_GET_REQUESTS_CSV_LINKS", {
8
8
  slug: "redcircle_api-get-requests-csv-links",
9
9
  name: "Get Requests CSV Links",
@@ -11,11 +11,11 @@ const redcircleApiGetRequestsCsvLinks = action("REDCIRCLE_API_GET_REQUESTS_CSV_L
11
11
  input: RedcircleApiGetRequestsCsvLinksInput,
12
12
  output: z.object({
13
13
  request_info: RedcircleApiGetRequestsCsvLinks_RequestInfoSchema.nullable(),
14
- collection_id: z.string().describe("The collection identifier."),
14
+ collection_id: z.string().describe("The collection identifier.").nullable(),
15
15
  download_links: RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema.nullable(),
16
- requests_page_count: z.number().int().describe("Number of CSV pages available."),
17
- requests_total_count: z.number().int().describe("Total number of requests in the collection.")
18
- }).describe("Response model for CSV download links.")
16
+ requests_page_count: z.number().int().describe("Number of CSV pages available.").nullable(),
17
+ requests_total_count: z.number().int().describe("Total number of requests in the collection.").nullable()
18
+ }).passthrough().describe("Response model for CSV download links.")
19
19
  });
20
20
  //#endregion
21
21
  export { redcircleApiGetRequestsCsvLinks };
@@ -1 +1 @@
1
- {"version":3,"file":"get-requests-csv-links.mjs","names":[],"sources":["../../src/actions/get-requests-csv-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetRequestsCsvLinksInput: z.ZodTypeAny = z.object({\n collection_id: z.string().describe(\"The ID of the collection for which to retrieve CSV download links.\"),\n}).describe(\"Request model for retrieving CSV download links for all requests in a collection.\");\nconst RedcircleApiGetRequestsCsvLinks_RequestInfoSchema: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\"),\n}).describe(\"Request status information.\");\nconst RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema: z.ZodTypeAny = z.object({\n pages: z.array(z.string()).describe(\"Array of CSV file download URLs, with up to 1000 requests per file.\"),\n}).describe(\"Contains download URLs for CSV files.\");\nexport const RedcircleApiGetRequestsCsvLinksOutput: z.ZodTypeAny = z.object({\n request_info: RedcircleApiGetRequestsCsvLinks_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier.\"),\n download_links: RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema.nullable(),\n requests_page_count: z.number().int().describe(\"Number of CSV pages available.\"),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection.\"),\n}).describe(\"Response model for CSV download links.\");\n\nexport const redcircleApiGetRequestsCsvLinks = action(\"REDCIRCLE_API_GET_REQUESTS_CSV_LINKS\", {\n slug: \"redcircle_api-get-requests-csv-links\",\n name: \"Get Requests CSV Links\",\n description: \"Tool to retrieve CSV download links for all requests in a collection. Use when you need to export request data in CSV format. Each CSV file contains up to 1000 requests.\",\n input: RedcircleApiGetRequestsCsvLinksInput,\n output: RedcircleApiGetRequestsCsvLinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO,EACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACzG,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,oDAAkE,EAAE,OAAO,EAC/E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,EAC1E,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAM,sDAAoE,EAAE,OAAO,EACjF,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,EAC3G,CAAC,CAAC,CAAC,SAAS,uCAAuC;AASnD,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbiE,EAAE,OAAO;EAC1E,cAAc,kDAAkD,SAAS;EACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC/D,gBAAgB,oDAAoD,SAAS;EAC7E,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;EAC/E,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAC/F,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-requests-csv-links.mjs","names":[],"sources":["../../src/actions/get-requests-csv-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetRequestsCsvLinksInput = z.object({\n collection_id: z.string().describe(\"The ID of the collection for which to retrieve CSV download links.\"),\n}).describe(\"Request model for retrieving CSV download links for all requests in a collection.\");\nconst RedcircleApiGetRequestsCsvLinks_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).passthrough().describe(\"Request status information.\");\nconst RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema = z.object({\n pages: z.array(z.string()).describe(\"Array of CSV file download URLs, with up to 1000 requests per file.\"),\n}).passthrough().describe(\"Contains download URLs for CSV files.\");\nexport const RedcircleApiGetRequestsCsvLinksOutput = z.object({\n request_info: RedcircleApiGetRequestsCsvLinks_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier.\").nullable(),\n download_links: RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema.nullable(),\n requests_page_count: z.number().int().describe(\"Number of CSV pages available.\").nullable(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection.\").nullable(),\n}).passthrough().describe(\"Response model for CSV download links.\");\n\nexport const redcircleApiGetRequestsCsvLinks = action(\"REDCIRCLE_API_GET_REQUESTS_CSV_LINKS\", {\n slug: \"redcircle_api-get-requests-csv-links\",\n name: \"Get Requests CSV Links\",\n description: \"Tool to retrieve CSV download links for all requests in a collection. Use when you need to export request data in CSV format. Each CSV file contains up to 1000 requests.\",\n input: RedcircleApiGetRequestsCsvLinksInput,\n output: RedcircleApiGetRequestsCsvLinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACzG,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,oDAAoD,EAAE,OAAO,EACjE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAM,sDAAsD,EAAE,OAAO,EACnE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AASjE,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmD,EAAE,OAAO;EAC5D,cAAc,kDAAkD,SAAS;EACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC1E,gBAAgB,oDAAoD,SAAS;EAC7E,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1F,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
@@ -2,15 +2,15 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-requests-json-links.ts
4
4
  const RedcircleApiGetRequestsJsonLinksInput = zod.z.object({ collection_id: zod.z.string().describe("The unique identifier of the collection to retrieve requests from.") }).describe("Request model for retrieving JSON download links for all requests in a collection.");
5
- const RedcircleApiGetRequestsJsonLinks_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the request was successful.") }).describe("Contains request execution status information.");
6
- const RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema = zod.z.object({ pages: zod.z.array(zod.z.string()).describe("Array of direct download URLs for each JSON file page.") }).describe("Contains download URLs for request data.");
5
+ const RedcircleApiGetRequestsJsonLinks_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the request was successful.").nullable() }).passthrough().describe("Contains request execution status information.");
6
+ const RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema = zod.z.object({ pages: zod.z.array(zod.z.string()).describe("Array of direct download URLs for each JSON file page.") }).passthrough().describe("Contains download URLs for request data.");
7
7
  const RedcircleApiGetRequestsJsonLinksOutput = zod.z.object({
8
8
  request_info: RedcircleApiGetRequestsJsonLinks_RequestInfoSchema.nullable(),
9
- collection_id: zod.z.string().describe("The collection identifier that was queried."),
9
+ collection_id: zod.z.string().describe("The collection identifier that was queried.").nullable(),
10
10
  download_links: RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema.nullable(),
11
- requests_page_count: zod.z.number().int().describe("Total number of pagination pages available."),
12
- requests_total_count: zod.z.number().int().describe("Total number of requests in the collection.")
13
- }).describe("Response model containing download links for collection requests in JSON format.");
11
+ requests_page_count: zod.z.number().int().describe("Total number of pagination pages available.").nullable(),
12
+ requests_total_count: zod.z.number().int().describe("Total number of requests in the collection.").nullable()
13
+ }).passthrough().describe("Response model containing download links for collection requests in JSON format.");
14
14
  const redcircleApiGetRequestsJsonLinks = require_action.action("REDCIRCLE_API_GET_REQUESTS_JSON_LINKS", {
15
15
  slug: "redcircle_api-get-requests-json-links",
16
16
  name: "Get Requests JSON Links",
@@ -1 +1 @@
1
- {"version":3,"file":"get-requests-json-links.cjs","names":["z","action"],"sources":["../../src/actions/get-requests-json-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetRequestsJsonLinksInput: z.ZodTypeAny = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve requests from.\"),\n}).describe(\"Request model for retrieving JSON download links for all requests in a collection.\");\nconst RedcircleApiGetRequestsJsonLinks_RequestInfoSchema: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\"),\n}).describe(\"Contains request execution status information.\");\nconst RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema: z.ZodTypeAny = z.object({\n pages: z.array(z.string()).describe(\"Array of direct download URLs for each JSON file page.\"),\n}).describe(\"Contains download URLs for request data.\");\nexport const RedcircleApiGetRequestsJsonLinksOutput: z.ZodTypeAny = z.object({\n request_info: RedcircleApiGetRequestsJsonLinks_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier that was queried.\"),\n download_links: RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema.nullable(),\n requests_page_count: z.number().int().describe(\"Total number of pagination pages available.\"),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection.\"),\n}).describe(\"Response model containing download links for collection requests in JSON format.\");\n\nexport const redcircleApiGetRequestsJsonLinks = action(\"REDCIRCLE_API_GET_REQUESTS_JSON_LINKS\", {\n slug: \"redcircle_api-get-requests-json-links\",\n name: \"Get Requests JSON Links\",\n description: \"Tool to retrieve download links for all requests in a collection in JSON format. Use when you need to access request data from a specific collection. Returns paginated URLs for downloading request information.\",\n input: RedcircleApiGetRequestsJsonLinksInput,\n output: RedcircleApiGetRequestsJsonLinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACzG,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,qDAAmEA,IAAAA,EAAE,OAAO,EAChF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,EAC1E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,uDAAqEA,IAAAA,EAAE,OAAO,EAClF,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAC9F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,cAAc,mDAAmD,SAAS;CAC1E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAChF,gBAAgB,qDAAqD,SAAS;CAC9E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAC5F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AAC/F,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAE9F,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-requests-json-links.cjs","names":["z","action"],"sources":["../../src/actions/get-requests-json-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetRequestsJsonLinksInput = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve requests from.\"),\n}).describe(\"Request model for retrieving JSON download links for all requests in a collection.\");\nconst RedcircleApiGetRequestsJsonLinks_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).passthrough().describe(\"Contains request execution status information.\");\nconst RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema = z.object({\n pages: z.array(z.string()).describe(\"Array of direct download URLs for each JSON file page.\"),\n}).passthrough().describe(\"Contains download URLs for request data.\");\nexport const RedcircleApiGetRequestsJsonLinksOutput = z.object({\n request_info: RedcircleApiGetRequestsJsonLinks_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier that was queried.\").nullable(),\n download_links: RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema.nullable(),\n requests_page_count: z.number().int().describe(\"Total number of pagination pages available.\").nullable(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection.\").nullable(),\n}).passthrough().describe(\"Response model containing download links for collection requests in JSON format.\");\n\nexport const redcircleApiGetRequestsJsonLinks = action(\"REDCIRCLE_API_GET_REQUESTS_JSON_LINKS\", {\n slug: \"redcircle_api-get-requests-json-links\",\n name: \"Get Requests JSON Links\",\n description: \"Tool to retrieve download links for all requests in a collection in JSON format. Use when you need to access request data from a specific collection. Returns paginated URLs for downloading request information.\",\n input: RedcircleApiGetRequestsJsonLinksInput,\n output: RedcircleApiGetRequestsJsonLinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACzG,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,qDAAqDA,IAAAA,EAAE,OAAO,EAClE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,uDAAuDA,IAAAA,EAAE,OAAO,EACpE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,cAAc,mDAAmD,SAAS;CAC1E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,gBAAgB,qDAAqD,SAAS;CAC9E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAAkF;AAE5G,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-requests-json-links.d.ts
4
- declare const RedcircleApiGetRequestsJsonLinksInput: z.ZodTypeAny;
5
- declare const RedcircleApiGetRequestsJsonLinksOutput: z.ZodTypeAny;
6
- declare const redcircleApiGetRequestsJsonLinks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedcircleApiGetRequestsJsonLinksInput: z.ZodObject<{
5
+ collection_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RedcircleApiGetRequestsJsonLinksOutput: z.ZodObject<{
8
+ request_info: z.ZodNullable<z.ZodObject<{
9
+ success: z.ZodNullable<z.ZodBoolean>;
10
+ }, z.core.$loose>>;
11
+ collection_id: z.ZodNullable<z.ZodString>;
12
+ download_links: z.ZodNullable<z.ZodObject<{
13
+ pages: z.ZodArray<z.ZodString>;
14
+ }, z.core.$loose>>;
15
+ requests_page_count: z.ZodNullable<z.ZodNumber>;
16
+ requests_total_count: z.ZodNullable<z.ZodNumber>;
17
+ }, z.core.$loose>;
18
+ declare const redcircleApiGetRequestsJsonLinks: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ collection_id: string;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { redcircleApiGetRequestsJsonLinks };
9
23
  //# sourceMappingURL=get-requests-json-links.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-requests-json-links.d.cts","names":[],"sources":["../../src/actions/get-requests-json-links.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAE2C;AAAA,cAOpF,sCAAA,EAAwC,CAAA,CAAE,UAMwC;AAAA,cAElF,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-requests-json-links.d.cts","names":[],"sources":["../../src/actions/get-requests-json-links.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cASrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;cAQtC,gCAAA,gCAAgC,wBAAA"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-requests-json-links.d.ts
4
- declare const RedcircleApiGetRequestsJsonLinksInput: z.ZodTypeAny;
5
- declare const RedcircleApiGetRequestsJsonLinksOutput: z.ZodTypeAny;
6
- declare const redcircleApiGetRequestsJsonLinks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedcircleApiGetRequestsJsonLinksInput: z.ZodObject<{
5
+ collection_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RedcircleApiGetRequestsJsonLinksOutput: z.ZodObject<{
8
+ request_info: z.ZodNullable<z.ZodObject<{
9
+ success: z.ZodNullable<z.ZodBoolean>;
10
+ }, z.core.$loose>>;
11
+ collection_id: z.ZodNullable<z.ZodString>;
12
+ download_links: z.ZodNullable<z.ZodObject<{
13
+ pages: z.ZodArray<z.ZodString>;
14
+ }, z.core.$loose>>;
15
+ requests_page_count: z.ZodNullable<z.ZodNumber>;
16
+ requests_total_count: z.ZodNullable<z.ZodNumber>;
17
+ }, z.core.$loose>;
18
+ declare const redcircleApiGetRequestsJsonLinks: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ collection_id: string;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { redcircleApiGetRequestsJsonLinks };
9
23
  //# sourceMappingURL=get-requests-json-links.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-requests-json-links.d.mts","names":[],"sources":["../../src/actions/get-requests-json-links.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAE2C;AAAA,cAOpF,sCAAA,EAAwC,CAAA,CAAE,UAMwC;AAAA,cAElF,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-requests-json-links.d.mts","names":[],"sources":["../../src/actions/get-requests-json-links.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cASrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;cAQtC,gCAAA,gCAAgC,wBAAA"}
@@ -2,8 +2,8 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/get-requests-json-links.ts
4
4
  const RedcircleApiGetRequestsJsonLinksInput = z.object({ collection_id: z.string().describe("The unique identifier of the collection to retrieve requests from.") }).describe("Request model for retrieving JSON download links for all requests in a collection.");
5
- const RedcircleApiGetRequestsJsonLinks_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the request was successful.") }).describe("Contains request execution status information.");
6
- const RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema = z.object({ pages: z.array(z.string()).describe("Array of direct download URLs for each JSON file page.") }).describe("Contains download URLs for request data.");
5
+ const RedcircleApiGetRequestsJsonLinks_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the request was successful.").nullable() }).passthrough().describe("Contains request execution status information.");
6
+ const RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema = z.object({ pages: z.array(z.string()).describe("Array of direct download URLs for each JSON file page.") }).passthrough().describe("Contains download URLs for request data.");
7
7
  const redcircleApiGetRequestsJsonLinks = action("REDCIRCLE_API_GET_REQUESTS_JSON_LINKS", {
8
8
  slug: "redcircle_api-get-requests-json-links",
9
9
  name: "Get Requests JSON Links",
@@ -11,11 +11,11 @@ const redcircleApiGetRequestsJsonLinks = action("REDCIRCLE_API_GET_REQUESTS_JSON
11
11
  input: RedcircleApiGetRequestsJsonLinksInput,
12
12
  output: z.object({
13
13
  request_info: RedcircleApiGetRequestsJsonLinks_RequestInfoSchema.nullable(),
14
- collection_id: z.string().describe("The collection identifier that was queried."),
14
+ collection_id: z.string().describe("The collection identifier that was queried.").nullable(),
15
15
  download_links: RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema.nullable(),
16
- requests_page_count: z.number().int().describe("Total number of pagination pages available."),
17
- requests_total_count: z.number().int().describe("Total number of requests in the collection.")
18
- }).describe("Response model containing download links for collection requests in JSON format.")
16
+ requests_page_count: z.number().int().describe("Total number of pagination pages available.").nullable(),
17
+ requests_total_count: z.number().int().describe("Total number of requests in the collection.").nullable()
18
+ }).passthrough().describe("Response model containing download links for collection requests in JSON format.")
19
19
  });
20
20
  //#endregion
21
21
  export { redcircleApiGetRequestsJsonLinks };
@@ -1 +1 @@
1
- {"version":3,"file":"get-requests-json-links.mjs","names":[],"sources":["../../src/actions/get-requests-json-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetRequestsJsonLinksInput: z.ZodTypeAny = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve requests from.\"),\n}).describe(\"Request model for retrieving JSON download links for all requests in a collection.\");\nconst RedcircleApiGetRequestsJsonLinks_RequestInfoSchema: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\"),\n}).describe(\"Contains request execution status information.\");\nconst RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema: z.ZodTypeAny = z.object({\n pages: z.array(z.string()).describe(\"Array of direct download URLs for each JSON file page.\"),\n}).describe(\"Contains download URLs for request data.\");\nexport const RedcircleApiGetRequestsJsonLinksOutput: z.ZodTypeAny = z.object({\n request_info: RedcircleApiGetRequestsJsonLinks_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier that was queried.\"),\n download_links: RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema.nullable(),\n requests_page_count: z.number().int().describe(\"Total number of pagination pages available.\"),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection.\"),\n}).describe(\"Response model containing download links for collection requests in JSON format.\");\n\nexport const redcircleApiGetRequestsJsonLinks = action(\"REDCIRCLE_API_GET_REQUESTS_JSON_LINKS\", {\n slug: \"redcircle_api-get-requests-json-links\",\n name: \"Get Requests JSON Links\",\n description: \"Tool to retrieve download links for all requests in a collection in JSON format. Use when you need to access request data from a specific collection. Returns paginated URLs for downloading request information.\",\n input: RedcircleApiGetRequestsJsonLinksInput,\n output: RedcircleApiGetRequestsJsonLinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO,EAC1E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACzG,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,qDAAmE,EAAE,OAAO,EAChF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,EAC1E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,uDAAqE,EAAE,OAAO,EAClF,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAC9F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAStD,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkE,EAAE,OAAO;EAC3E,cAAc,mDAAmD,SAAS;EAC1E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAChF,gBAAgB,qDAAqD,SAAS;EAC9E,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EAC5F,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAC/F,CAAC,CAAC,CAAC,SAAS,kFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-requests-json-links.mjs","names":[],"sources":["../../src/actions/get-requests-json-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetRequestsJsonLinksInput = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve requests from.\"),\n}).describe(\"Request model for retrieving JSON download links for all requests in a collection.\");\nconst RedcircleApiGetRequestsJsonLinks_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).passthrough().describe(\"Contains request execution status information.\");\nconst RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema = z.object({\n pages: z.array(z.string()).describe(\"Array of direct download URLs for each JSON file page.\"),\n}).passthrough().describe(\"Contains download URLs for request data.\");\nexport const RedcircleApiGetRequestsJsonLinksOutput = z.object({\n request_info: RedcircleApiGetRequestsJsonLinks_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier that was queried.\").nullable(),\n download_links: RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema.nullable(),\n requests_page_count: z.number().int().describe(\"Total number of pagination pages available.\").nullable(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection.\").nullable(),\n}).passthrough().describe(\"Response model containing download links for collection requests in JSON format.\");\n\nexport const redcircleApiGetRequestsJsonLinks = action(\"REDCIRCLE_API_GET_REQUESTS_JSON_LINKS\", {\n slug: \"redcircle_api-get-requests-json-links\",\n name: \"Get Requests JSON Links\",\n description: \"Tool to retrieve download links for all requests in a collection in JSON format. Use when you need to access request data from a specific collection. Returns paginated URLs for downloading request information.\",\n input: RedcircleApiGetRequestsJsonLinksInput,\n output: RedcircleApiGetRequestsJsonLinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACzG,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,qDAAqD,EAAE,OAAO,EAClE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,uDAAuD,EAAE,OAAO,EACpE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AASpE,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboD,EAAE,OAAO;EAC7D,cAAc,mDAAmD,SAAS;EAC1E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,gBAAgB,qDAAqD,SAAS;EAC9E,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACvG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAOhB;AACV,CAAC"}
@@ -8,41 +8,41 @@ const RedcircleApiGetResultSetCsvInput = zod.z.object({
8
8
  }).describe("Request model for retrieving a result set in CSV format with optional field selection.");
9
9
  const RedcircleApiGetResultSetCsv_DownloadLinksSchema = zod.z.object({
10
10
  pages: zod.z.array(zod.z.string()).describe("Array of URLs for individual page CSV files."),
11
- all_pages: zod.z.string().describe("Bulk download link for all pages combined into a single CSV archive.")
12
- }).describe("Contains CSV file download URLs for the result set.");
11
+ all_pages: zod.z.string().describe("Bulk download link for all pages combined into a single CSV archive.").nullable()
12
+ }).passthrough().describe("Contains CSV file download URLs for the result set.");
13
13
  const RedcircleApiGetResultSetCsv_WebhookLogEntrySchema = zod.z.object({
14
- json: zod.z.object({}).describe("Optional JSON payload associated with the log entry.").nullable().optional(),
14
+ json: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional JSON payload associated with the log entry.").nullable().optional(),
15
15
  text: zod.z.string().describe("Log message text.").nullable().optional(),
16
16
  date_time: zod.z.string().describe("Timestamp of the log entry.").nullable().optional()
17
17
  }).passthrough().describe("A single webhook log entry.");
18
18
  const RedcircleApiGetResultSetCsv_WebhookResendDataSchema = zod.z.object({
19
19
  url: zod.z.string().describe("The webhook URL to resend to.").nullable().optional(),
20
- body: zod.z.object({}).describe("The body payload for the webhook.").nullable().optional()
20
+ body: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The body payload for the webhook.").nullable().optional()
21
21
  }).passthrough().describe("Data for resending a failed webhook.");
22
22
  const RedcircleApiGetResultSetCsv_WebhookStatusSchema = zod.z.object({
23
23
  log: zod.z.array(RedcircleApiGetResultSetCsv_WebhookLogEntrySchema).describe("Log entries from webhook execution.").nullable().optional(),
24
24
  status: zod.z.string().describe("Current status of webhook execution.").nullable().optional(),
25
25
  resend_data: RedcircleApiGetResultSetCsv_WebhookResendDataSchema.nullable().optional()
26
- }).describe("Contains webhook execution details.");
26
+ }).passthrough().describe("Contains webhook execution details.");
27
27
  const RedcircleApiGetResultSetCsv_ResultSchema = zod.z.object({
28
- id: zod.z.number().int().describe("Result set identifier."),
28
+ id: zod.z.number().int().describe("Result set identifier.").nullable(),
29
29
  ended_at: zod.z.string().describe("Timestamp when processing completed (ISO 8601 format).").nullable().optional(),
30
- expires_at: zod.z.string().describe("Data expiration timestamp (ISO 8601 format). Results have 14-day retention."),
31
- started_at: zod.z.string().describe("Timestamp when processing began (ISO 8601 format)."),
30
+ expires_at: zod.z.string().describe("Data expiration timestamp (ISO 8601 format). Results have 14-day retention.").nullable(),
31
+ started_at: zod.z.string().describe("Timestamp when processing began (ISO 8601 format).").nullable(),
32
32
  download_links: RedcircleApiGetResultSetCsv_DownloadLinksSchema.nullable(),
33
- requests_total: zod.z.number().int().describe("Total number of requests processed."),
33
+ requests_total: zod.z.number().int().describe("Total number of requests processed.").nullable(),
34
34
  webhook_status: RedcircleApiGetResultSetCsv_WebhookStatusSchema.nullable().optional(),
35
- requests_failed: zod.z.number().int().describe("Count of failed requests."),
36
- destination_status: zod.z.object({}).describe("Destination upload results by destination ID.").nullable().optional(),
37
- requests_completed: zod.z.number().int().describe("Count of successful requests."),
38
- results_page_count: zod.z.number().int().describe("Number of result pages available.")
39
- }).describe("Contains detailed result set information.");
40
- const RedcircleApiGetResultSetCsv_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the API call was successful.") }).describe("Contains request execution status information.");
35
+ requests_failed: zod.z.number().int().describe("Count of failed requests.").nullable(),
36
+ destination_status: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Destination upload results by destination ID.").nullable().optional(),
37
+ requests_completed: zod.z.number().int().describe("Count of successful requests.").nullable(),
38
+ results_page_count: zod.z.number().int().describe("Number of result pages available.").nullable()
39
+ }).passthrough().describe("Contains detailed result set information.");
40
+ const RedcircleApiGetResultSetCsv_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the API call was successful.").nullable() }).passthrough().describe("Contains request execution status information.");
41
41
  const RedcircleApiGetResultSetCsvOutput = zod.z.object({
42
42
  result: RedcircleApiGetResultSetCsv_ResultSchema.nullable(),
43
43
  request_info: RedcircleApiGetResultSetCsv_RequestInfoSchema.nullable(),
44
- collection_id: zod.z.string().describe("The collection identifier that was queried.")
45
- }).describe("Response model containing result set data in CSV format with download links.");
44
+ collection_id: zod.z.string().describe("The collection identifier that was queried.").nullable()
45
+ }).passthrough().describe("Response model containing result set data in CSV format with download links.");
46
46
  const redcircleApiGetResultSetCsv = require_action.action("REDCIRCLE_API_GET_RESULT_SET_CSV", {
47
47
  slug: "redcircle_api-get-result-set-csv",
48
48
  name: "Get Result Set CSV",
@@ -1 +1 @@
1
- {"version":3,"file":"get-result-set-csv.cjs","names":["z","action"],"sources":["../../src/actions/get-result-set-csv.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetResultSetCsvInput: z.ZodTypeAny = z.object({\n csv_fields: z.string().describe(\"Comma-separated list of fields to include in the CSV output. Use dot notation for nested fields (e.g., 'field1,field2,nested.field3'). If not provided, all fields are included.\").optional(),\n collection_id: z.string().describe(\"The unique identifier of the collection.\"),\n result_set_id: z.string().describe(\"The unique identifier of the result set within the collection.\"),\n}).describe(\"Request model for retrieving a result set in CSV format with optional field selection.\");\nconst RedcircleApiGetResultSetCsv_DownloadLinksSchema: z.ZodTypeAny = z.object({\n pages: z.array(z.string()).describe(\"Array of URLs for individual page CSV files.\"),\n all_pages: z.string().describe(\"Bulk download link for all pages combined into a single CSV archive.\"),\n}).describe(\"Contains CSV file download URLs for the result set.\");\nconst RedcircleApiGetResultSetCsv_WebhookLogEntrySchema: z.ZodTypeAny = z.object({\n json: z.object({}).describe(\"Optional JSON payload associated with the log entry.\").nullable().optional(),\n text: z.string().describe(\"Log message text.\").nullable().optional(),\n date_time: z.string().describe(\"Timestamp of the log entry.\").nullable().optional(),\n}).passthrough().describe(\"A single webhook log entry.\");\nconst RedcircleApiGetResultSetCsv_WebhookResendDataSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The webhook URL to resend to.\").nullable().optional(),\n body: z.object({}).describe(\"The body payload for the webhook.\").nullable().optional(),\n}).passthrough().describe(\"Data for resending a failed webhook.\");\nconst RedcircleApiGetResultSetCsv_WebhookStatusSchema: z.ZodTypeAny = z.object({\n log: z.array(RedcircleApiGetResultSetCsv_WebhookLogEntrySchema).describe(\"Log entries from webhook execution.\").nullable().optional(),\n status: z.string().describe(\"Current status of webhook execution.\").nullable().optional(),\n resend_data: RedcircleApiGetResultSetCsv_WebhookResendDataSchema.nullable().optional(),\n}).describe(\"Contains webhook execution details.\");\nconst RedcircleApiGetResultSetCsv_ResultSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Result set identifier.\"),\n ended_at: z.string().describe(\"Timestamp when processing completed (ISO 8601 format).\").nullable().optional(),\n expires_at: z.string().describe(\"Data expiration timestamp (ISO 8601 format). Results have 14-day retention.\"),\n started_at: z.string().describe(\"Timestamp when processing began (ISO 8601 format).\"),\n download_links: RedcircleApiGetResultSetCsv_DownloadLinksSchema.nullable(),\n requests_total: z.number().int().describe(\"Total number of requests processed.\"),\n webhook_status: RedcircleApiGetResultSetCsv_WebhookStatusSchema.nullable().optional(),\n requests_failed: z.number().int().describe(\"Count of failed requests.\"),\n destination_status: z.object({}).describe(\"Destination upload results by destination ID.\").nullable().optional(),\n requests_completed: z.number().int().describe(\"Count of successful requests.\"),\n results_page_count: z.number().int().describe(\"Number of result pages available.\"),\n}).describe(\"Contains detailed result set information.\");\nconst RedcircleApiGetResultSetCsv_RequestInfoSchema: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates if the API call was successful.\"),\n}).describe(\"Contains request execution status information.\");\nexport const RedcircleApiGetResultSetCsvOutput: z.ZodTypeAny = z.object({\n result: RedcircleApiGetResultSetCsv_ResultSchema.nullable(),\n request_info: RedcircleApiGetResultSetCsv_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier that was queried.\"),\n}).describe(\"Response model containing result set data in CSV format with download links.\");\n\nexport const redcircleApiGetResultSetCsv = action(\"REDCIRCLE_API_GET_RESULT_SET_CSV\", {\n slug: \"redcircle_api-get-result-set-csv\",\n name: \"Get Result Set CSV\",\n description: \"Tool to retrieve a result set in CSV format with optional field filtering. Use when you need to export processed results from a collection as CSV files. Supports field selection using dot notation for nested fields. Results maintain 14-day retention.\",\n input: RedcircleApiGetResultSetCsvInput,\n output: RedcircleApiGetResultSetCsvOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CAC7N,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC7E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AACrG,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AACvG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CA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AO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;AACnF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gDAA8DA,IAAAA,EAAE,OAAO,EAC3E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,EAC3E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,QAAQ,yCAAyC,SAAS;CAC1D,cAAc,8CAA8C,SAAS;CACrE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AAClF,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAE1F,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-result-set-csv.cjs","names":["z","action"],"sources":["../../src/actions/get-result-set-csv.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetResultSetCsvInput = z.object({\n csv_fields: z.string().describe(\"Comma-separated list of fields to include in the CSV output. Use dot notation for nested fields (e.g., 'field1,field2,nested.field3'). If not provided, all fields are included.\").optional(),\n collection_id: z.string().describe(\"The unique identifier of the collection.\"),\n result_set_id: z.string().describe(\"The unique identifier of the result set within the collection.\"),\n}).describe(\"Request model for retrieving a result set in CSV format with optional field selection.\");\nconst RedcircleApiGetResultSetCsv_DownloadLinksSchema = z.object({\n pages: z.array(z.string()).describe(\"Array of URLs for individual page CSV files.\"),\n all_pages: z.string().describe(\"Bulk download link for all pages combined into a single CSV archive.\").nullable(),\n}).passthrough().describe(\"Contains CSV file download URLs for the result set.\");\nconst RedcircleApiGetResultSetCsv_WebhookLogEntrySchema = z.object({\n json: z.record(z.string(), z.unknown()).describe(\"Optional JSON payload associated with the log entry.\").nullable().optional(),\n text: z.string().describe(\"Log message text.\").nullable().optional(),\n date_time: z.string().describe(\"Timestamp of the log entry.\").nullable().optional(),\n}).passthrough().describe(\"A single webhook log entry.\");\nconst RedcircleApiGetResultSetCsv_WebhookResendDataSchema = z.object({\n url: z.string().describe(\"The webhook URL to resend to.\").nullable().optional(),\n body: z.record(z.string(), z.unknown()).describe(\"The body payload for the webhook.\").nullable().optional(),\n}).passthrough().describe(\"Data for resending a failed webhook.\");\nconst RedcircleApiGetResultSetCsv_WebhookStatusSchema = z.object({\n log: z.array(RedcircleApiGetResultSetCsv_WebhookLogEntrySchema).describe(\"Log entries from webhook execution.\").nullable().optional(),\n status: z.string().describe(\"Current status of webhook execution.\").nullable().optional(),\n resend_data: RedcircleApiGetResultSetCsv_WebhookResendDataSchema.nullable().optional(),\n}).passthrough().describe(\"Contains webhook execution details.\");\nconst RedcircleApiGetResultSetCsv_ResultSchema = z.object({\n id: z.number().int().describe(\"Result set identifier.\").nullable(),\n ended_at: z.string().describe(\"Timestamp when processing completed (ISO 8601 format).\").nullable().optional(),\n expires_at: z.string().describe(\"Data expiration timestamp (ISO 8601 format). Results have 14-day retention.\").nullable(),\n started_at: z.string().describe(\"Timestamp when processing began (ISO 8601 format).\").nullable(),\n download_links: RedcircleApiGetResultSetCsv_DownloadLinksSchema.nullable(),\n requests_total: z.number().int().describe(\"Total number of requests processed.\").nullable(),\n webhook_status: RedcircleApiGetResultSetCsv_WebhookStatusSchema.nullable().optional(),\n requests_failed: z.number().int().describe(\"Count of failed requests.\").nullable(),\n destination_status: z.record(z.string(), z.unknown()).describe(\"Destination upload results by destination ID.\").nullable().optional(),\n requests_completed: z.number().int().describe(\"Count of successful requests.\").nullable(),\n results_page_count: z.number().int().describe(\"Number of result pages available.\").nullable(),\n}).passthrough().describe(\"Contains detailed result set information.\");\nconst RedcircleApiGetResultSetCsv_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the API call was successful.\").nullable(),\n}).passthrough().describe(\"Contains request execution status information.\");\nexport const RedcircleApiGetResultSetCsvOutput = z.object({\n result: RedcircleApiGetResultSetCsv_ResultSchema.nullable(),\n request_info: RedcircleApiGetResultSetCsv_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier that was queried.\").nullable(),\n}).passthrough().describe(\"Response model containing result set data in CSV format with download links.\");\n\nexport const redcircleApiGetResultSetCsv = action(\"REDCIRCLE_API_GET_RESULT_SET_CSV\", {\n slug: \"redcircle_api-get-result-set-csv\",\n name: \"Get Result Set CSV\",\n description: \"Tool to retrieve a result set in CSV format with optional field filtering. Use when you need to export processed results from a collection as CSV files. Supports field selection using dot notation for nested fields. Results maintain 14-day retention.\",\n input: RedcircleApiGetResultSetCsvInput,\n output: RedcircleApiGetResultSetCsvOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CAC7N,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC7E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AACrG,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS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C"}
@@ -1,9 +1,49 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-result-set-csv.d.ts
4
- declare const RedcircleApiGetResultSetCsvInput: z.ZodTypeAny;
5
- declare const RedcircleApiGetResultSetCsvOutput: z.ZodTypeAny;
6
- declare const redcircleApiGetResultSetCsv: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedcircleApiGetResultSetCsvInput: z.ZodObject<{
5
+ csv_fields: z.ZodOptional<z.ZodString>;
6
+ collection_id: z.ZodString;
7
+ result_set_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const RedcircleApiGetResultSetCsvOutput: z.ZodObject<{
10
+ result: z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodNumber>;
12
+ ended_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ expires_at: z.ZodNullable<z.ZodString>;
14
+ started_at: z.ZodNullable<z.ZodString>;
15
+ download_links: z.ZodNullable<z.ZodObject<{
16
+ pages: z.ZodArray<z.ZodString>;
17
+ all_pages: z.ZodNullable<z.ZodString>;
18
+ }, z.core.$loose>>;
19
+ requests_total: z.ZodNullable<z.ZodNumber>;
20
+ webhook_status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
21
+ log: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
22
+ json: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
23
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ date_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>>>;
26
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ resend_data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ body: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30
+ }, z.core.$loose>>>;
31
+ }, z.core.$loose>>>;
32
+ requests_failed: z.ZodNullable<z.ZodNumber>;
33
+ destination_status: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
34
+ requests_completed: z.ZodNullable<z.ZodNumber>;
35
+ results_page_count: z.ZodNullable<z.ZodNumber>;
36
+ }, z.core.$loose>>;
37
+ request_info: z.ZodNullable<z.ZodObject<{
38
+ success: z.ZodNullable<z.ZodBoolean>;
39
+ }, z.core.$loose>>;
40
+ collection_id: z.ZodNullable<z.ZodString>;
41
+ }, z.core.$loose>;
42
+ declare const redcircleApiGetResultSetCsv: import("@keystrokehq/action").WorkflowActionDefinition<{
43
+ collection_id: string;
44
+ result_set_id: string;
45
+ csv_fields?: string | undefined;
46
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
47
  //#endregion
8
48
  export { redcircleApiGetResultSetCsv };
9
49
  //# sourceMappingURL=get-result-set-csv.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-result-set-csv.d.cts","names":[],"sources":["../../src/actions/get-result-set-csv.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIoD;AAAA,cAmCxF,iCAAA,EAAmC,CAAA,CAAE,UAIyC;AAAA,cAE9E,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-result-set-csv.d.cts","names":[],"sources":["../../src/actions/get-result-set-csv.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAuChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,49 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-result-set-csv.d.ts
4
- declare const RedcircleApiGetResultSetCsvInput: z.ZodTypeAny;
5
- declare const RedcircleApiGetResultSetCsvOutput: z.ZodTypeAny;
6
- declare const redcircleApiGetResultSetCsv: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedcircleApiGetResultSetCsvInput: z.ZodObject<{
5
+ csv_fields: z.ZodOptional<z.ZodString>;
6
+ collection_id: z.ZodString;
7
+ result_set_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const RedcircleApiGetResultSetCsvOutput: z.ZodObject<{
10
+ result: z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodNumber>;
12
+ ended_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ expires_at: z.ZodNullable<z.ZodString>;
14
+ started_at: z.ZodNullable<z.ZodString>;
15
+ download_links: z.ZodNullable<z.ZodObject<{
16
+ pages: z.ZodArray<z.ZodString>;
17
+ all_pages: z.ZodNullable<z.ZodString>;
18
+ }, z.core.$loose>>;
19
+ requests_total: z.ZodNullable<z.ZodNumber>;
20
+ webhook_status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
21
+ log: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
22
+ json: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
23
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ date_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>>>;
26
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ resend_data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ body: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30
+ }, z.core.$loose>>>;
31
+ }, z.core.$loose>>>;
32
+ requests_failed: z.ZodNullable<z.ZodNumber>;
33
+ destination_status: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
34
+ requests_completed: z.ZodNullable<z.ZodNumber>;
35
+ results_page_count: z.ZodNullable<z.ZodNumber>;
36
+ }, z.core.$loose>>;
37
+ request_info: z.ZodNullable<z.ZodObject<{
38
+ success: z.ZodNullable<z.ZodBoolean>;
39
+ }, z.core.$loose>>;
40
+ collection_id: z.ZodNullable<z.ZodString>;
41
+ }, z.core.$loose>;
42
+ declare const redcircleApiGetResultSetCsv: import("@keystrokehq/action").WorkflowActionDefinition<{
43
+ collection_id: string;
44
+ result_set_id: string;
45
+ csv_fields?: string | undefined;
46
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
47
  //#endregion
8
48
  export { redcircleApiGetResultSetCsv };
9
49
  //# sourceMappingURL=get-result-set-csv.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-result-set-csv.d.mts","names":[],"sources":["../../src/actions/get-result-set-csv.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIoD;AAAA,cAmCxF,iCAAA,EAAmC,CAAA,CAAE,UAIyC;AAAA,cAE9E,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-result-set-csv.d.mts","names":[],"sources":["../../src/actions/get-result-set-csv.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAuChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMjC,2BAAA,gCAA2B,wBAAA"}
@@ -8,36 +8,36 @@ const RedcircleApiGetResultSetCsvInput = z.object({
8
8
  }).describe("Request model for retrieving a result set in CSV format with optional field selection.");
9
9
  const RedcircleApiGetResultSetCsv_DownloadLinksSchema = z.object({
10
10
  pages: z.array(z.string()).describe("Array of URLs for individual page CSV files."),
11
- all_pages: z.string().describe("Bulk download link for all pages combined into a single CSV archive.")
12
- }).describe("Contains CSV file download URLs for the result set.");
11
+ all_pages: z.string().describe("Bulk download link for all pages combined into a single CSV archive.").nullable()
12
+ }).passthrough().describe("Contains CSV file download URLs for the result set.");
13
13
  const RedcircleApiGetResultSetCsv_WebhookLogEntrySchema = z.object({
14
- json: z.object({}).describe("Optional JSON payload associated with the log entry.").nullable().optional(),
14
+ json: z.record(z.string(), z.unknown()).describe("Optional JSON payload associated with the log entry.").nullable().optional(),
15
15
  text: z.string().describe("Log message text.").nullable().optional(),
16
16
  date_time: z.string().describe("Timestamp of the log entry.").nullable().optional()
17
17
  }).passthrough().describe("A single webhook log entry.");
18
18
  const RedcircleApiGetResultSetCsv_WebhookResendDataSchema = z.object({
19
19
  url: z.string().describe("The webhook URL to resend to.").nullable().optional(),
20
- body: z.object({}).describe("The body payload for the webhook.").nullable().optional()
20
+ body: z.record(z.string(), z.unknown()).describe("The body payload for the webhook.").nullable().optional()
21
21
  }).passthrough().describe("Data for resending a failed webhook.");
22
22
  const RedcircleApiGetResultSetCsv_WebhookStatusSchema = z.object({
23
23
  log: z.array(RedcircleApiGetResultSetCsv_WebhookLogEntrySchema).describe("Log entries from webhook execution.").nullable().optional(),
24
24
  status: z.string().describe("Current status of webhook execution.").nullable().optional(),
25
25
  resend_data: RedcircleApiGetResultSetCsv_WebhookResendDataSchema.nullable().optional()
26
- }).describe("Contains webhook execution details.");
26
+ }).passthrough().describe("Contains webhook execution details.");
27
27
  const RedcircleApiGetResultSetCsv_ResultSchema = z.object({
28
- id: z.number().int().describe("Result set identifier."),
28
+ id: z.number().int().describe("Result set identifier.").nullable(),
29
29
  ended_at: z.string().describe("Timestamp when processing completed (ISO 8601 format).").nullable().optional(),
30
- expires_at: z.string().describe("Data expiration timestamp (ISO 8601 format). Results have 14-day retention."),
31
- started_at: z.string().describe("Timestamp when processing began (ISO 8601 format)."),
30
+ expires_at: z.string().describe("Data expiration timestamp (ISO 8601 format). Results have 14-day retention.").nullable(),
31
+ started_at: z.string().describe("Timestamp when processing began (ISO 8601 format).").nullable(),
32
32
  download_links: RedcircleApiGetResultSetCsv_DownloadLinksSchema.nullable(),
33
- requests_total: z.number().int().describe("Total number of requests processed."),
33
+ requests_total: z.number().int().describe("Total number of requests processed.").nullable(),
34
34
  webhook_status: RedcircleApiGetResultSetCsv_WebhookStatusSchema.nullable().optional(),
35
- requests_failed: z.number().int().describe("Count of failed requests."),
36
- destination_status: z.object({}).describe("Destination upload results by destination ID.").nullable().optional(),
37
- requests_completed: z.number().int().describe("Count of successful requests."),
38
- results_page_count: z.number().int().describe("Number of result pages available.")
39
- }).describe("Contains detailed result set information.");
40
- const RedcircleApiGetResultSetCsv_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the API call was successful.") }).describe("Contains request execution status information.");
35
+ requests_failed: z.number().int().describe("Count of failed requests.").nullable(),
36
+ destination_status: z.record(z.string(), z.unknown()).describe("Destination upload results by destination ID.").nullable().optional(),
37
+ requests_completed: z.number().int().describe("Count of successful requests.").nullable(),
38
+ results_page_count: z.number().int().describe("Number of result pages available.").nullable()
39
+ }).passthrough().describe("Contains detailed result set information.");
40
+ const RedcircleApiGetResultSetCsv_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the API call was successful.").nullable() }).passthrough().describe("Contains request execution status information.");
41
41
  const redcircleApiGetResultSetCsv = action("REDCIRCLE_API_GET_RESULT_SET_CSV", {
42
42
  slug: "redcircle_api-get-result-set-csv",
43
43
  name: "Get Result Set CSV",
@@ -46,8 +46,8 @@ const redcircleApiGetResultSetCsv = action("REDCIRCLE_API_GET_RESULT_SET_CSV", {
46
46
  output: z.object({
47
47
  result: RedcircleApiGetResultSetCsv_ResultSchema.nullable(),
48
48
  request_info: RedcircleApiGetResultSetCsv_RequestInfoSchema.nullable(),
49
- collection_id: z.string().describe("The collection identifier that was queried.")
50
- }).describe("Response model containing result set data in CSV format with download links.")
49
+ collection_id: z.string().describe("The collection identifier that was queried.").nullable()
50
+ }).passthrough().describe("Response model containing result set data in CSV format with download links.")
51
51
  });
52
52
  //#endregion
53
53
  export { redcircleApiGetResultSetCsv };
@@ -1 +1 @@
1
- {"version":3,"file":"get-result-set-csv.mjs","names":[],"sources":["../../src/actions/get-result-set-csv.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetResultSetCsvInput: z.ZodTypeAny = z.object({\n csv_fields: z.string().describe(\"Comma-separated list of fields to include in the CSV output. Use dot notation for nested fields (e.g., 'field1,field2,nested.field3'). If not provided, all fields are included.\").optional(),\n collection_id: z.string().describe(\"The unique identifier of the collection.\"),\n result_set_id: z.string().describe(\"The unique identifier of the result set within the collection.\"),\n}).describe(\"Request model for retrieving a result set in CSV format with optional field selection.\");\nconst RedcircleApiGetResultSetCsv_DownloadLinksSchema: z.ZodTypeAny = z.object({\n pages: z.array(z.string()).describe(\"Array of URLs for individual page CSV files.\"),\n all_pages: z.string().describe(\"Bulk download link for all pages combined into a single CSV archive.\"),\n}).describe(\"Contains CSV file download URLs for the result set.\");\nconst RedcircleApiGetResultSetCsv_WebhookLogEntrySchema: z.ZodTypeAny = z.object({\n json: z.object({}).describe(\"Optional JSON payload associated with the log entry.\").nullable().optional(),\n text: z.string().describe(\"Log message text.\").nullable().optional(),\n date_time: z.string().describe(\"Timestamp of the log entry.\").nullable().optional(),\n}).passthrough().describe(\"A single webhook log entry.\");\nconst RedcircleApiGetResultSetCsv_WebhookResendDataSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The webhook URL to resend to.\").nullable().optional(),\n body: z.object({}).describe(\"The body payload for the webhook.\").nullable().optional(),\n}).passthrough().describe(\"Data for resending a failed webhook.\");\nconst RedcircleApiGetResultSetCsv_WebhookStatusSchema: z.ZodTypeAny = z.object({\n log: z.array(RedcircleApiGetResultSetCsv_WebhookLogEntrySchema).describe(\"Log entries from webhook execution.\").nullable().optional(),\n status: z.string().describe(\"Current status of webhook execution.\").nullable().optional(),\n resend_data: RedcircleApiGetResultSetCsv_WebhookResendDataSchema.nullable().optional(),\n}).describe(\"Contains webhook execution details.\");\nconst RedcircleApiGetResultSetCsv_ResultSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Result set identifier.\"),\n ended_at: z.string().describe(\"Timestamp when processing completed (ISO 8601 format).\").nullable().optional(),\n expires_at: z.string().describe(\"Data expiration timestamp (ISO 8601 format). Results have 14-day retention.\"),\n started_at: z.string().describe(\"Timestamp when processing began (ISO 8601 format).\"),\n download_links: RedcircleApiGetResultSetCsv_DownloadLinksSchema.nullable(),\n requests_total: z.number().int().describe(\"Total number of requests processed.\"),\n webhook_status: RedcircleApiGetResultSetCsv_WebhookStatusSchema.nullable().optional(),\n requests_failed: z.number().int().describe(\"Count of failed requests.\"),\n destination_status: z.object({}).describe(\"Destination upload results by destination ID.\").nullable().optional(),\n requests_completed: z.number().int().describe(\"Count of successful requests.\"),\n results_page_count: z.number().int().describe(\"Number of result pages available.\"),\n}).describe(\"Contains detailed result set information.\");\nconst RedcircleApiGetResultSetCsv_RequestInfoSchema: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates if the API call was successful.\"),\n}).describe(\"Contains request execution status information.\");\nexport const RedcircleApiGetResultSetCsvOutput: z.ZodTypeAny = z.object({\n result: RedcircleApiGetResultSetCsv_ResultSchema.nullable(),\n request_info: RedcircleApiGetResultSetCsv_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier that was queried.\"),\n}).describe(\"Response model containing result set data in CSV format with download links.\");\n\nexport const redcircleApiGetResultSetCsv = action(\"REDCIRCLE_API_GET_RESULT_SET_CSV\", {\n slug: \"redcircle_api-get-result-set-csv\",\n name: \"Get Result Set CSV\",\n description: \"Tool to retrieve a result set in CSV format with optional field filtering. Use when you need to export processed results from a collection as CSV files. Supports field selection using dot notation for nested fields. Results maintain 14-day retention.\",\n input: RedcircleApiGetResultSetCsvInput,\n output: RedcircleApiGetResultSetCsvOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CAC7N,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AACrG,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAM,kDAAgE,EAAE,OAAO;CAC7E,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AACvG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,oDAAkE,EAAE,OAAO;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAM,sDAAoE,EAAE,OAAO;CACjF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,kDA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CAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX6D,EAAE,OAAO;EACtE,QAAQ,yCAAyC,SAAS;EAC1D,cAAc,8CAA8C,SAAS;EACrE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAClF,CAAC,CAAC,CAAC,SAAS,8EAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-result-set-csv.mjs","names":[],"sources":["../../src/actions/get-result-set-csv.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetResultSetCsvInput = z.object({\n csv_fields: z.string().describe(\"Comma-separated list of fields to include in the CSV output. Use dot notation for nested fields (e.g., 'field1,field2,nested.field3'). If not provided, all fields are included.\").optional(),\n collection_id: z.string().describe(\"The unique identifier of the collection.\"),\n result_set_id: z.string().describe(\"The unique identifier of the result set within the collection.\"),\n}).describe(\"Request model for retrieving a result set in CSV format with optional field selection.\");\nconst RedcircleApiGetResultSetCsv_DownloadLinksSchema = z.object({\n pages: z.array(z.string()).describe(\"Array of URLs for individual page CSV files.\"),\n all_pages: z.string().describe(\"Bulk download link for all pages combined into a single CSV archive.\").nullable(),\n}).passthrough().describe(\"Contains CSV file download URLs for the result set.\");\nconst RedcircleApiGetResultSetCsv_WebhookLogEntrySchema = z.object({\n json: z.record(z.string(), z.unknown()).describe(\"Optional JSON payload associated with the log entry.\").nullable().optional(),\n text: z.string().describe(\"Log message text.\").nullable().optional(),\n date_time: z.string().describe(\"Timestamp of the log entry.\").nullable().optional(),\n}).passthrough().describe(\"A single webhook log entry.\");\nconst RedcircleApiGetResultSetCsv_WebhookResendDataSchema = z.object({\n url: z.string().describe(\"The webhook URL to resend to.\").nullable().optional(),\n body: z.record(z.string(), z.unknown()).describe(\"The body payload for the webhook.\").nullable().optional(),\n}).passthrough().describe(\"Data for resending a failed webhook.\");\nconst RedcircleApiGetResultSetCsv_WebhookStatusSchema = z.object({\n log: z.array(RedcircleApiGetResultSetCsv_WebhookLogEntrySchema).describe(\"Log entries from webhook execution.\").nullable().optional(),\n status: z.string().describe(\"Current status of webhook execution.\").nullable().optional(),\n resend_data: RedcircleApiGetResultSetCsv_WebhookResendDataSchema.nullable().optional(),\n}).passthrough().describe(\"Contains webhook execution details.\");\nconst RedcircleApiGetResultSetCsv_ResultSchema = z.object({\n id: z.number().int().describe(\"Result set identifier.\").nullable(),\n ended_at: z.string().describe(\"Timestamp when processing completed (ISO 8601 format).\").nullable().optional(),\n expires_at: z.string().describe(\"Data expiration timestamp (ISO 8601 format). Results have 14-day retention.\").nullable(),\n started_at: z.string().describe(\"Timestamp when processing began (ISO 8601 format).\").nullable(),\n download_links: RedcircleApiGetResultSetCsv_DownloadLinksSchema.nullable(),\n requests_total: z.number().int().describe(\"Total number of requests processed.\").nullable(),\n webhook_status: RedcircleApiGetResultSetCsv_WebhookStatusSchema.nullable().optional(),\n requests_failed: z.number().int().describe(\"Count of failed requests.\").nullable(),\n destination_status: z.record(z.string(), z.unknown()).describe(\"Destination upload results by destination ID.\").nullable().optional(),\n requests_completed: z.number().int().describe(\"Count of successful requests.\").nullable(),\n results_page_count: z.number().int().describe(\"Number of result pages available.\").nullable(),\n}).passthrough().describe(\"Contains detailed result set information.\");\nconst RedcircleApiGetResultSetCsv_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the API call was successful.\").nullable(),\n}).passthrough().describe(\"Contains request execution status information.\");\nexport const RedcircleApiGetResultSetCsvOutput = z.object({\n result: RedcircleApiGetResultSetCsv_ResultSchema.nullable(),\n request_info: RedcircleApiGetResultSetCsv_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier that was queried.\").nullable(),\n}).passthrough().describe(\"Response model containing result set data in CSV format with download links.\");\n\nexport const redcircleApiGetResultSetCsv = action(\"REDCIRCLE_API_GET_RESULT_SET_CSV\", {\n slug: \"redcircle_api-get-result-set-csv\",\n name: \"Get Result Set CSV\",\n description: \"Tool to retrieve a result set in CSV format with optional field filtering. Use when you need to export processed results from a collection as CSV files. Supports field selection using dot notation for nested fields. Results maintain 14-day retention.\",\n input: RedcircleApiGetResultSetCsvInput,\n output: RedcircleApiGetResultSetCsvOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CAC7N,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AACrG,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAM,kDAAkD,EAAE,OAAO;CAC/D,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,oDAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAM,sDAAsD,EAAE,OAAO;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAA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