@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
@@ -6,12 +6,12 @@ const RedcircleApiGetAccount_StatusItemSchema = zod.z.object({
6
6
  status: zod.z.string().describe("Status of the component (e.g., 'operational', 'degraded', 'down')").nullable().optional(),
7
7
  component: zod.z.string().describe("Component name (e.g., 'API', 'Database', 'Queue')").nullable().optional(),
8
8
  last_checked: zod.z.string().describe("Timestamp of last status check").nullable().optional()
9
- }).describe("Platform component status information.");
9
+ }).passthrough().describe("Platform component status information.");
10
10
  const RedcircleApiGetAccount_UsageHistoryItemSchema = zod.z.object({
11
11
  period: zod.z.string().describe("Time period (e.g., '2024-01', '2024-02')").nullable().optional(),
12
12
  api_calls: zod.z.number().int().describe("Number of API calls made during this period").nullable().optional(),
13
13
  credits_used: zod.z.number().int().describe("Credits consumed during this period").nullable().optional()
14
- }).describe("Credit usage data for a specific period.");
14
+ }).passthrough().describe("Credit usage data for a specific period.");
15
15
  const RedcircleApiGetAccount_AccountInfoSchema = zod.z.object({
16
16
  name: zod.z.string().describe("Account holder name").nullable().optional(),
17
17
  plan: zod.z.string().describe("Current subscription plan").nullable().optional(),
@@ -32,12 +32,12 @@ const RedcircleApiGetAccount_AccountInfoSchema = zod.z.object({
32
32
  destinations_used: zod.z.number().int().describe("Active destinations count").nullable().optional(),
33
33
  destinations_limit: zod.z.number().int().describe("Maximum destinations allowed").nullable().optional(),
34
34
  account_balance_usd: zod.z.number().describe("Current USD balance").nullable().optional()
35
- }).describe("Account information and usage metrics.");
36
- const RedcircleApiGetAccount_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates successful API call").nullable().optional() }).describe("Request information.");
35
+ }).passthrough().describe("Account information and usage metrics.");
36
+ const RedcircleApiGetAccount_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates successful API call").nullable().optional() }).passthrough().describe("Request information.");
37
37
  const RedcircleApiGetAccountOutput = zod.z.object({
38
38
  account_info: RedcircleApiGetAccount_AccountInfoSchema.nullable().optional(),
39
39
  request_info: RedcircleApiGetAccount_RequestInfoSchema.nullable().optional()
40
- }).describe("Response model for GET /account endpoint.");
40
+ }).passthrough().describe("Response model for GET /account endpoint.");
41
41
  const redcircleApiGetAccount = require_action.action("REDCIRCLE_API_GET_ACCOUNT", {
42
42
  slug: "redcircle_api-get-account",
43
43
  name: "Get Account Information",
@@ -1 +1 @@
1
- {"version":3,"file":"get-account.cjs","names":["z","action"],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetAccountInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /account endpoint.\");\nconst RedcircleApiGetAccount_StatusItemSchema: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the component (e.g., 'operational', 'degraded', 'down')\").nullable().optional(),\n component: z.string().describe(\"Component name (e.g., 'API', 'Database', 'Queue')\").nullable().optional(),\n last_checked: z.string().describe(\"Timestamp of last status check\").nullable().optional(),\n}).describe(\"Platform component status information.\");\nconst RedcircleApiGetAccount_UsageHistoryItemSchema: z.ZodTypeAny = z.object({\n period: z.string().describe(\"Time period (e.g., '2024-01', '2024-02')\").nullable().optional(),\n api_calls: z.number().int().describe(\"Number of API calls made during this period\").nullable().optional(),\n credits_used: z.number().int().describe(\"Credits consumed during this period\").nullable().optional(),\n}).describe(\"Credit usage data for a specific period.\");\nconst RedcircleApiGetAccount_AccountInfoSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Account holder name\").nullable().optional(),\n plan: z.string().describe(\"Current subscription plan\").nullable().optional(),\n email: z.string().describe(\"Account email address\").nullable().optional(),\n status: z.array(RedcircleApiGetAccount_StatusItemSchema).describe(\"Platform component status objects\").nullable().optional(),\n api_key: z.string().describe(\"User's API key\").nullable().optional(),\n timezone: z.string().describe(\"Account timezone setting\").nullable().optional(),\n credits_used: z.number().int().describe(\"Credits consumed this month\").nullable().optional(),\n credits_limit: z.number().int().describe(\"Monthly credit allowance\").nullable().optional(),\n overage_limit: z.number().describe(\"Maximum overage amount\").nullable().optional(),\n usage_history: z.array(RedcircleApiGetAccount_UsageHistoryItemSchema).describe(\"Credit usage data for past months\").nullable().optional(),\n overage_allowed: z.boolean().describe(\"Whether overage charges are permitted\").nullable().optional(),\n overage_enabled: z.boolean().describe(\"Overage feature status\").nullable().optional(),\n collections_used: z.number().int().describe(\"Active collections count\").nullable().optional(),\n credits_reset_at: z.string().describe(\"Timestamp for monthly credit reset\").nullable().optional(),\n collections_limit: z.number().int().describe(\"Maximum collections allowed\").nullable().optional(),\n credits_remaining: z.number().int().describe(\"Available credits\").nullable().optional(),\n destinations_used: z.number().int().describe(\"Active destinations count\").nullable().optional(),\n destinations_limit: z.number().int().describe(\"Maximum destinations allowed\").nullable().optional(),\n account_balance_usd: z.number().describe(\"Current USD balance\").nullable().optional(),\n}).describe(\"Account information and usage metrics.\");\nconst RedcircleApiGetAccount_RequestInfoSchema: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates successful API call\").nullable().optional(),\n}).describe(\"Request information.\");\nexport const RedcircleApiGetAccountOutput: z.ZodTypeAny = z.object({\n account_info: RedcircleApiGetAccount_AccountInfoSchema.nullable().optional(),\n request_info: RedcircleApiGetAccount_RequestInfoSchema.nullable().optional(),\n}).describe(\"Response model for GET /account endpoint.\");\n\nexport const redcircleApiGetAccount = action(\"REDCIRCLE_API_GET_ACCOUNT\", {\n slug: \"redcircle_api-get-account\",\n name: \"Get Account Information\",\n description: \"Tool to retrieve account information, usage metrics, and platform status. Use when you need to check account credits, limits, plan details, or platform component status.\",\n input: RedcircleApiGetAccountInput,\n output: RedcircleApiGetAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACzH,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,M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import { action } from \"../action\";\n\nexport const RedcircleApiGetAccountInput = z.object({}).describe(\"Request model for GET /account endpoint.\");\nconst RedcircleApiGetAccount_StatusItemSchema = z.object({\n status: z.string().describe(\"Status of the component (e.g., 'operational', 'degraded', 'down')\").nullable().optional(),\n component: z.string().describe(\"Component name (e.g., 'API', 'Database', 'Queue')\").nullable().optional(),\n last_checked: z.string().describe(\"Timestamp of last status check\").nullable().optional(),\n}).passthrough().describe(\"Platform component status information.\");\nconst RedcircleApiGetAccount_UsageHistoryItemSchema = z.object({\n period: z.string().describe(\"Time period (e.g., '2024-01', '2024-02')\").nullable().optional(),\n api_calls: z.number().int().describe(\"Number of API calls made during this period\").nullable().optional(),\n credits_used: z.number().int().describe(\"Credits consumed during this period\").nullable().optional(),\n}).passthrough().describe(\"Credit usage data for a specific period.\");\nconst RedcircleApiGetAccount_AccountInfoSchema = z.object({\n name: z.string().describe(\"Account holder name\").nullable().optional(),\n plan: z.string().describe(\"Current subscription plan\").nullable().optional(),\n email: z.string().describe(\"Account email address\").nullable().optional(),\n status: z.array(RedcircleApiGetAccount_StatusItemSchema).describe(\"Platform component status objects\").nullable().optional(),\n api_key: z.string().describe(\"User's API key\").nullable().optional(),\n timezone: z.string().describe(\"Account timezone setting\").nullable().optional(),\n credits_used: z.number().int().describe(\"Credits consumed this month\").nullable().optional(),\n credits_limit: z.number().int().describe(\"Monthly credit allowance\").nullable().optional(),\n overage_limit: z.number().describe(\"Maximum overage amount\").nullable().optional(),\n usage_history: z.array(RedcircleApiGetAccount_UsageHistoryItemSchema).describe(\"Credit usage data for past months\").nullable().optional(),\n overage_allowed: z.boolean().describe(\"Whether overage charges are permitted\").nullable().optional(),\n overage_enabled: z.boolean().describe(\"Overage feature status\").nullable().optional(),\n collections_used: z.number().int().describe(\"Active collections count\").nullable().optional(),\n credits_reset_at: z.string().describe(\"Timestamp for monthly credit reset\").nullable().optional(),\n collections_limit: z.number().int().describe(\"Maximum collections allowed\").nullable().optional(),\n credits_remaining: z.number().int().describe(\"Available credits\").nullable().optional(),\n destinations_used: z.number().int().describe(\"Active destinations count\").nullable().optional(),\n destinations_limit: z.number().int().describe(\"Maximum destinations allowed\").nullable().optional(),\n account_balance_usd: z.number().describe(\"Current USD balance\").nullable().optional(),\n}).passthrough().describe(\"Account information and usage metrics.\");\nconst RedcircleApiGetAccount_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates successful API call\").nullable().optional(),\n}).passthrough().describe(\"Request information.\");\nexport const RedcircleApiGetAccountOutput = z.object({\n account_info: RedcircleApiGetAccount_AccountInfoSchema.nullable().optional(),\n request_info: RedcircleApiGetAccount_RequestInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for GET /account endpoint.\");\n\nexport const redcircleApiGetAccount = action(\"REDCIRCLE_API_GET_ACCOUNT\", {\n slug: \"redcircle_api-get-account\",\n name: \"Get Account Information\",\n description: \"Tool to retrieve account information, usage metrics, and platform status. Use when you need to check account credits, limits, plan details, or platform component status.\",\n input: RedcircleApiGetAccountInput,\n output: RedcircleApiGetAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAC3G,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CA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AE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAChD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,cAAc,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC3E,cAAc,yCAAyC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,42 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-account.d.ts
4
- declare const RedcircleApiGetAccountInput: z.ZodTypeAny;
5
- declare const RedcircleApiGetAccountOutput: z.ZodTypeAny;
6
- declare const redcircleApiGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedcircleApiGetAccountInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RedcircleApiGetAccountOutput: z.ZodObject<{
6
+ account_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ status: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ component: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ last_checked: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>>>>;
15
+ api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ credits_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ credits_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ overage_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ usage_history: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
21
+ period: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ api_calls: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ credits_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ }, z.core.$loose>>>>;
25
+ overage_allowed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
+ overage_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
+ collections_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ credits_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ collections_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ credits_remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ destinations_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ destinations_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ account_balance_usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
+ }, z.core.$loose>>>;
35
+ request_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
36
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
+ }, z.core.$loose>>>;
38
+ }, z.core.$loose>;
39
+ declare const redcircleApiGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
40
  //#endregion
8
41
  export { redcircleApiGetAccount };
9
42
  //# sourceMappingURL=get-account.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-account.d.cts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAA8E;AAAA,cAmC7G,4BAAA,EAA8B,CAAA,CAAE,UAGW;AAAA,cAE3C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-account.d.cts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAmC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,42 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-account.d.ts
4
- declare const RedcircleApiGetAccountInput: z.ZodTypeAny;
5
- declare const RedcircleApiGetAccountOutput: z.ZodTypeAny;
6
- declare const redcircleApiGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedcircleApiGetAccountInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RedcircleApiGetAccountOutput: z.ZodObject<{
6
+ account_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ status: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ component: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ last_checked: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>>>>;
15
+ api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ credits_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ credits_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ overage_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ usage_history: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
21
+ period: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ api_calls: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ credits_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ }, z.core.$loose>>>>;
25
+ overage_allowed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
+ overage_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
+ collections_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ credits_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ collections_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ credits_remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ destinations_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ destinations_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ account_balance_usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
+ }, z.core.$loose>>>;
35
+ request_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
36
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
+ }, z.core.$loose>>>;
38
+ }, z.core.$loose>;
39
+ declare const redcircleApiGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
40
  //#endregion
8
41
  export { redcircleApiGetAccount };
9
42
  //# sourceMappingURL=get-account.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-account.d.mts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAA8E;AAAA,cAmC7G,4BAAA,EAA8B,CAAA,CAAE,UAGW;AAAA,cAE3C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-account.d.mts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAmC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -6,12 +6,12 @@ const RedcircleApiGetAccount_StatusItemSchema = z.object({
6
6
  status: z.string().describe("Status of the component (e.g., 'operational', 'degraded', 'down')").nullable().optional(),
7
7
  component: z.string().describe("Component name (e.g., 'API', 'Database', 'Queue')").nullable().optional(),
8
8
  last_checked: z.string().describe("Timestamp of last status check").nullable().optional()
9
- }).describe("Platform component status information.");
9
+ }).passthrough().describe("Platform component status information.");
10
10
  const RedcircleApiGetAccount_UsageHistoryItemSchema = z.object({
11
11
  period: z.string().describe("Time period (e.g., '2024-01', '2024-02')").nullable().optional(),
12
12
  api_calls: z.number().int().describe("Number of API calls made during this period").nullable().optional(),
13
13
  credits_used: z.number().int().describe("Credits consumed during this period").nullable().optional()
14
- }).describe("Credit usage data for a specific period.");
14
+ }).passthrough().describe("Credit usage data for a specific period.");
15
15
  const RedcircleApiGetAccount_AccountInfoSchema = z.object({
16
16
  name: z.string().describe("Account holder name").nullable().optional(),
17
17
  plan: z.string().describe("Current subscription plan").nullable().optional(),
@@ -32,8 +32,8 @@ const RedcircleApiGetAccount_AccountInfoSchema = z.object({
32
32
  destinations_used: z.number().int().describe("Active destinations count").nullable().optional(),
33
33
  destinations_limit: z.number().int().describe("Maximum destinations allowed").nullable().optional(),
34
34
  account_balance_usd: z.number().describe("Current USD balance").nullable().optional()
35
- }).describe("Account information and usage metrics.");
36
- const RedcircleApiGetAccount_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates successful API call").nullable().optional() }).describe("Request information.");
35
+ }).passthrough().describe("Account information and usage metrics.");
36
+ const RedcircleApiGetAccount_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates successful API call").nullable().optional() }).passthrough().describe("Request information.");
37
37
  const redcircleApiGetAccount = action("REDCIRCLE_API_GET_ACCOUNT", {
38
38
  slug: "redcircle_api-get-account",
39
39
  name: "Get Account Information",
@@ -42,7 +42,7 @@ const redcircleApiGetAccount = action("REDCIRCLE_API_GET_ACCOUNT", {
42
42
  output: z.object({
43
43
  account_info: RedcircleApiGetAccount_AccountInfoSchema.nullable().optional(),
44
44
  request_info: RedcircleApiGetAccount_RequestInfoSchema.nullable().optional()
45
- }).describe("Response model for GET /account endpoint.")
45
+ }).passthrough().describe("Response model for GET /account endpoint.")
46
46
  });
47
47
  //#endregion
48
48
  export { redcircleApiGetAccount };
@@ -1 +1 @@
1
- {"version":3,"file":"get-account.mjs","names":[],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetAccountInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /account endpoint.\");\nconst RedcircleApiGetAccount_StatusItemSchema: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the component (e.g., 'operational', 'degraded', 'down')\").nullable().optional(),\n component: z.string().describe(\"Component name (e.g., 'API', 'Database', 'Queue')\").nullable().optional(),\n last_checked: z.string().describe(\"Timestamp of last status check\").nullable().optional(),\n}).describe(\"Platform component status information.\");\nconst RedcircleApiGetAccount_UsageHistoryItemSchema: z.ZodTypeAny = z.object({\n period: z.string().describe(\"Time period (e.g., '2024-01', '2024-02')\").nullable().optional(),\n api_calls: z.number().int().describe(\"Number of API calls made during this period\").nullable().optional(),\n credits_used: z.number().int().describe(\"Credits consumed during this period\").nullable().optional(),\n}).describe(\"Credit usage data for a specific period.\");\nconst RedcircleApiGetAccount_AccountInfoSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Account holder name\").nullable().optional(),\n plan: z.string().describe(\"Current subscription plan\").nullable().optional(),\n email: z.string().describe(\"Account email address\").nullable().optional(),\n status: z.array(RedcircleApiGetAccount_StatusItemSchema).describe(\"Platform component status objects\").nullable().optional(),\n api_key: z.string().describe(\"User's API key\").nullable().optional(),\n timezone: z.string().describe(\"Account timezone setting\").nullable().optional(),\n credits_used: z.number().int().describe(\"Credits consumed this month\").nullable().optional(),\n credits_limit: z.number().int().describe(\"Monthly credit allowance\").nullable().optional(),\n overage_limit: z.number().describe(\"Maximum overage amount\").nullable().optional(),\n usage_history: z.array(RedcircleApiGetAccount_UsageHistoryItemSchema).describe(\"Credit usage data for past months\").nullable().optional(),\n overage_allowed: z.boolean().describe(\"Whether overage charges are permitted\").nullable().optional(),\n overage_enabled: z.boolean().describe(\"Overage feature status\").nullable().optional(),\n collections_used: z.number().int().describe(\"Active collections count\").nullable().optional(),\n credits_reset_at: z.string().describe(\"Timestamp for monthly credit reset\").nullable().optional(),\n collections_limit: z.number().int().describe(\"Maximum collections allowed\").nullable().optional(),\n credits_remaining: z.number().int().describe(\"Available credits\").nullable().optional(),\n destinations_used: z.number().int().describe(\"Active destinations count\").nullable().optional(),\n destinations_limit: z.number().int().describe(\"Maximum destinations allowed\").nullable().optional(),\n account_balance_usd: z.number().describe(\"Current USD balance\").nullable().optional(),\n}).describe(\"Account information and usage metrics.\");\nconst RedcircleApiGetAccount_RequestInfoSchema: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates successful API call\").nullable().optional(),\n}).describe(\"Request information.\");\nexport const RedcircleApiGetAccountOutput: z.ZodTypeAny = z.object({\n account_info: RedcircleApiGetAccount_AccountInfoSchema.nullable().optional(),\n request_info: RedcircleApiGetAccount_RequestInfoSchema.nullable().optional(),\n}).describe(\"Response model for GET /account endpoint.\");\n\nexport const redcircleApiGetAccount = action(\"REDCIRCLE_API_GET_ACCOUNT\", {\n slug: \"redcircle_api-get-account\",\n name: \"Get Account Information\",\n description: \"Tool to retrieve account information, usage metrics, and platform status. Use when you need to check account credits, limits, plan details, or platform component status.\",\n input: RedcircleApiGetAccountInput,\n output: RedcircleApiGetAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACzH,MAAM,0CAAwD,EAAE,OAAO;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,gDAA8D,EAAE,OAAO;CAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,2CAAyD,EAAE,OAAO;CACtE,MA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CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,2CAAyD,EAAE,OAAO,EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,sBAAsB;AAMlC,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,cAAc,yCAAyC,SAAS,CAAC,CAAC,SAAS;EAC3E,cAAc,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-account.mjs","names":[],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetAccountInput = z.object({}).describe(\"Request model for GET /account endpoint.\");\nconst RedcircleApiGetAccount_StatusItemSchema = z.object({\n status: z.string().describe(\"Status of the component (e.g., 'operational', 'degraded', 'down')\").nullable().optional(),\n component: z.string().describe(\"Component name (e.g., 'API', 'Database', 'Queue')\").nullable().optional(),\n last_checked: z.string().describe(\"Timestamp of last status check\").nullable().optional(),\n}).passthrough().describe(\"Platform component status information.\");\nconst RedcircleApiGetAccount_UsageHistoryItemSchema = z.object({\n period: z.string().describe(\"Time period (e.g., '2024-01', '2024-02')\").nullable().optional(),\n api_calls: z.number().int().describe(\"Number of API calls made during this period\").nullable().optional(),\n credits_used: z.number().int().describe(\"Credits consumed during this period\").nullable().optional(),\n}).passthrough().describe(\"Credit usage data for a specific period.\");\nconst RedcircleApiGetAccount_AccountInfoSchema = z.object({\n name: z.string().describe(\"Account holder name\").nullable().optional(),\n plan: z.string().describe(\"Current subscription plan\").nullable().optional(),\n email: z.string().describe(\"Account email address\").nullable().optional(),\n status: z.array(RedcircleApiGetAccount_StatusItemSchema).describe(\"Platform component status objects\").nullable().optional(),\n api_key: z.string().describe(\"User's API key\").nullable().optional(),\n timezone: z.string().describe(\"Account timezone setting\").nullable().optional(),\n credits_used: z.number().int().describe(\"Credits consumed this month\").nullable().optional(),\n credits_limit: z.number().int().describe(\"Monthly credit allowance\").nullable().optional(),\n overage_limit: z.number().describe(\"Maximum overage amount\").nullable().optional(),\n usage_history: z.array(RedcircleApiGetAccount_UsageHistoryItemSchema).describe(\"Credit usage data for past months\").nullable().optional(),\n overage_allowed: z.boolean().describe(\"Whether overage charges are permitted\").nullable().optional(),\n overage_enabled: z.boolean().describe(\"Overage feature status\").nullable().optional(),\n collections_used: z.number().int().describe(\"Active collections count\").nullable().optional(),\n credits_reset_at: z.string().describe(\"Timestamp for monthly credit reset\").nullable().optional(),\n collections_limit: z.number().int().describe(\"Maximum collections allowed\").nullable().optional(),\n credits_remaining: z.number().int().describe(\"Available credits\").nullable().optional(),\n destinations_used: z.number().int().describe(\"Active destinations count\").nullable().optional(),\n destinations_limit: z.number().int().describe(\"Maximum destinations allowed\").nullable().optional(),\n account_balance_usd: z.number().describe(\"Current USD balance\").nullable().optional(),\n}).passthrough().describe(\"Account information and usage metrics.\");\nconst RedcircleApiGetAccount_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates successful API call\").nullable().optional(),\n}).passthrough().describe(\"Request information.\");\nexport const RedcircleApiGetAccountOutput = z.object({\n account_info: RedcircleApiGetAccount_AccountInfoSchema.nullable().optional(),\n request_info: RedcircleApiGetAccount_RequestInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for GET /account endpoint.\");\n\nexport const redcircleApiGetAccount = action(\"REDCIRCLE_API_GET_ACCOUNT\", {\n slug: \"redcircle_api-get-account\",\n name: \"Get Account Information\",\n description: \"Tool to retrieve account information, usage metrics, and platform status. Use when you need to check account credits, limits, plan details, or platform component status.\",\n input: RedcircleApiGetAccountInput,\n output: RedcircleApiGetAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAC3G,MAAM,0CAA0C,EAAE,OAAO;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAc,EAAE,OAAO,CAAC,CA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OhB;AACV,CAAC"}
@@ -3,16 +3,16 @@ let zod = require("zod");
3
3
  //#region src/actions/get-collection.ts
4
4
  const RedcircleApiGetCollectionInput = zod.z.object({ collection_id: zod.z.string().describe("The unique identifier of the collection to retrieve") }).describe("Request model for retrieving a specific collection.");
5
5
  const RedcircleApiGetCollection_CollectionSchema = zod.z.object({
6
- id: zod.z.string().describe("The unique identifier of the collection"),
7
- name: zod.z.string().describe("The name of the collection"),
8
- status: zod.z.string().describe("Current operational status (idle/queued/running)"),
9
- enabled: zod.z.boolean().describe("Whether the collection is enabled"),
6
+ id: zod.z.string().describe("The unique identifier of the collection").nullable(),
7
+ name: zod.z.string().describe("The name of the collection").nullable(),
8
+ status: zod.z.string().describe("Current operational status (idle/queued/running)").nullable(),
9
+ enabled: zod.z.boolean().describe("Whether the collection is enabled").nullable(),
10
10
  last_run: zod.z.string().describe("ISO 8601 timestamp of when the collection was last run").nullable().optional(),
11
- priority: zod.z.string().describe("The priority level of the collection"),
12
- created_at: zod.z.string().describe("ISO 8601 timestamp of when the collection was created"),
11
+ priority: zod.z.string().describe("The priority level of the collection").nullable(),
12
+ created_at: zod.z.string().describe("ISO 8601 timestamp of when the collection was created").nullable(),
13
13
  requests_type: zod.z.string().describe("Type of requests in the collection").nullable().optional(),
14
14
  results_count: zod.z.number().int().describe("Total count of results").nullable().optional(),
15
- schedule_type: zod.z.string().describe("The scheduling type (manual/daily/weekly/monthly)"),
15
+ schedule_type: zod.z.string().describe("The scheduling type (manual/daily/weekly/monthly)").nullable(),
16
16
  schedule_hours: zod.z.array(zod.z.number().int()).describe("Hours when the collection is scheduled to run").nullable().optional(),
17
17
  destination_ids: zod.z.array(zod.z.string()).describe("List of destination identifiers"),
18
18
  credits_required: zod.z.number().int().describe("Number of credits required to run the collection").nullable().optional(),
@@ -26,12 +26,12 @@ const RedcircleApiGetCollection_CollectionSchema = zod.z.object({
26
26
  schedule_days_of_week: zod.z.array(zod.z.number().int()).describe("Days of the week when the collection is scheduled to run").nullable().optional(),
27
27
  schedule_days_of_month: zod.z.array(zod.z.number().int()).describe("Days of the month when the collection is scheduled to run").nullable().optional(),
28
28
  notification_as_jsonlines: zod.z.boolean().describe("Whether to send notifications as JSON lines").nullable().optional()
29
- }).describe("Complete details of a collection.");
30
- const RedcircleApiGetCollection_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the request was successful") }).describe("Information about the API request.");
29
+ }).passthrough().describe("Complete details of a collection.");
30
+ const RedcircleApiGetCollection_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the request was successful").nullable() }).passthrough().describe("Information about the API request.");
31
31
  const RedcircleApiGetCollectionOutput = zod.z.object({
32
32
  collection: RedcircleApiGetCollection_CollectionSchema.nullable(),
33
33
  request_info: RedcircleApiGetCollection_RequestInfoSchema.nullable()
34
- }).describe("Response model for retrieving a collection.");
34
+ }).passthrough().describe("Response model for retrieving a collection.");
35
35
  const redcircleApiGetCollection = require_action.action("REDCIRCLE_API_GET_COLLECTION", {
36
36
  slug: "redcircle_api-get-collection",
37
37
  name: "Get Collection",
@@ -1 +1 @@
1
- {"version":3,"file":"get-collection.cjs","names":["z","action"],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetCollectionInput: z.ZodTypeAny = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve\"),\n}).describe(\"Request model for retrieving a specific collection.\");\nconst RedcircleApiGetCollection_CollectionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the collection\"),\n name: z.string().describe(\"The name of the collection\"),\n status: z.string().describe(\"Current operational status (idle/queued/running)\"),\n enabled: z.boolean().describe(\"Whether the collection is enabled\"),\n last_run: z.string().describe(\"ISO 8601 timestamp of when the collection was last run\").nullable().optional(),\n priority: z.string().describe(\"The priority level of the collection\"),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the collection was created\"),\n requests_type: z.string().describe(\"Type of requests in the collection\").nullable().optional(),\n results_count: z.number().int().describe(\"Total count of results\").nullable().optional(),\n schedule_type: z.string().describe(\"The scheduling type (manual/daily/weekly/monthly)\"),\n schedule_hours: z.array(z.number().int()).describe(\"Hours when the collection is scheduled to run\").nullable().optional(),\n destination_ids: z.array(z.string()).describe(\"List of destination identifiers\"),\n credits_required: z.number().int().describe(\"Number of credits required to run the collection\").nullable().optional(),\n next_result_set_id: z.number().int().describe(\"ID of the next result set\").nullable().optional(),\n notification_email: z.string().describe(\"Email address for notifications\").nullable().optional(),\n notification_as_csv: z.boolean().describe(\"Whether to send notifications as CSV\").nullable().optional(),\n requests_page_count: z.number().int().describe(\"Number of pages of requests\").nullable().optional(),\n notification_as_json: z.boolean().describe(\"Whether to send notifications as JSON\").nullable().optional(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection\").nullable().optional(),\n requests_type_locked: z.boolean().describe(\"Whether the requests type is locked\").nullable().optional(),\n schedule_days_of_week: z.array(z.number().int()).describe(\"Days of the week when the collection is scheduled to run\").nullable().optional(),\n schedule_days_of_month: z.array(z.number().int()).describe(\"Days of the month when the collection is scheduled to run\").nullable().optional(),\n notification_as_jsonlines: z.boolean().describe(\"Whether to send notifications as JSON lines\").nullable().optional(),\n}).describe(\"Complete details of a collection.\");\nconst RedcircleApiGetCollection_RequestInfoSchema: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful\"),\n}).describe(\"Information about the API request.\");\nexport const RedcircleApiGetCollectionOutput: z.ZodTypeAny = z.object({\n collection: RedcircleApiGetCollection_CollectionSchema.nullable(),\n request_info: RedcircleApiGetCollection_RequestInfoSchema.nullable(),\n}).describe(\"Response model for retrieving a collection.\");\n\nexport const redcircleApiGetCollection = action(\"REDCIRCLE_API_GET_COLLECTION\", {\n slug: \"redcircle_api-get-collection\",\n name: \"Get Collection\",\n description: \"Tool to retrieve complete information about a specific collection. Use when you need detailed collection metadata including status, schedule, and configuration.\",\n input: RedcircleApiGetCollectionIn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,MAAM,8CAA4DA,IAAAA,EAAE,OAAO,EACzE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,EACzE,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,YAAY,2CAA2C,SAAS;CAChE,cAAc,4CAA4C,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-collection.cjs","names":["z","action"],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetCollectionInput = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve\"),\n}).describe(\"Request model for retrieving a specific collection.\");\nconst RedcircleApiGetCollection_CollectionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the collection\").nullable(),\n name: z.string().describe(\"The name of the collection\").nullable(),\n status: z.string().describe(\"Current operational status (idle/queued/running)\").nullable(),\n enabled: z.boolean().describe(\"Whether the collection is enabled\").nullable(),\n last_run: z.string().describe(\"ISO 8601 timestamp of when the collection was last run\").nullable().optional(),\n priority: z.string().describe(\"The priority level of the collection\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the collection was created\").nullable(),\n requests_type: z.string().describe(\"Type of requests in the collection\").nullable().optional(),\n results_count: z.number().int().describe(\"Total count of results\").nullable().optional(),\n schedule_type: z.string().describe(\"The scheduling type (manual/daily/weekly/monthly)\").nullable(),\n schedule_hours: z.array(z.number().int()).describe(\"Hours when the collection is scheduled to run\").nullable().optional(),\n destination_ids: z.array(z.string()).describe(\"List of destination identifiers\"),\n credits_required: z.number().int().describe(\"Number of credits required to run the collection\").nullable().optional(),\n next_result_set_id: z.number().int().describe(\"ID of the next result set\").nullable().optional(),\n notification_email: z.string().describe(\"Email address for notifications\").nullable().optional(),\n notification_as_csv: z.boolean().describe(\"Whether to send notifications as CSV\").nullable().optional(),\n requests_page_count: z.number().int().describe(\"Number of pages of requests\").nullable().optional(),\n notification_as_json: z.boolean().describe(\"Whether to send notifications as JSON\").nullable().optional(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection\").nullable().optional(),\n requests_type_locked: z.boolean().describe(\"Whether the requests type is locked\").nullable().optional(),\n schedule_days_of_week: z.array(z.number().int()).describe(\"Days of the week when the collection is scheduled to run\").nullable().optional(),\n schedule_days_of_month: z.array(z.number().int()).describe(\"Days of the month when the collection is scheduled to run\").nullable().optional(),\n notification_as_jsonlines: z.boolean().describe(\"Whether to send notifications as JSON lines\").nullable().optional(),\n}).passthrough().describe(\"Complete details of a collection.\");\nconst RedcircleApiGetCollection_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).passthrough().describe(\"Information about the API request.\");\nexport const RedcircleApiGetCollectionOutput = z.object({\n collection: RedcircleApiGetCollection_CollectionSchema.nullable(),\n request_info: RedcircleApiGetCollection_RequestInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a collection.\");\n\nexport const redcircleApiGetCollection = action(\"REDCIRCLE_API_GET_COLLECTION\", {\n slug: \"redcircle_api-get-collection\",\n name: \"Get Collection\",\n description: \"Tool to retrieve complete information about a specific collection. Use when you need detailed collection metadata including status, schedule, and configuration.\",\n input: RedcircleApiGetCollectionInput,\n output: RedcircleApiGetCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,S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AAC,SAAS,oCAAoC;AAC9D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,YAAY,2CAA2C,SAAS;CAChE,cAAc,4CAA4C,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,42 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-collection.d.ts
4
- declare const RedcircleApiGetCollectionInput: z.ZodTypeAny;
5
- declare const RedcircleApiGetCollectionOutput: z.ZodTypeAny;
6
- declare const redcircleApiGetCollection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedcircleApiGetCollectionInput: z.ZodObject<{
5
+ collection_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RedcircleApiGetCollectionOutput: z.ZodObject<{
8
+ collection: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ status: z.ZodNullable<z.ZodString>;
12
+ enabled: z.ZodNullable<z.ZodBoolean>;
13
+ last_run: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ priority: z.ZodNullable<z.ZodString>;
15
+ created_at: z.ZodNullable<z.ZodString>;
16
+ requests_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ results_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ schedule_type: z.ZodNullable<z.ZodString>;
19
+ schedule_hours: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
20
+ destination_ids: z.ZodArray<z.ZodString>;
21
+ credits_required: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ next_result_set_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ notification_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ notification_as_csv: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25
+ requests_page_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ notification_as_json: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
+ requests_total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ requests_type_locked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
+ schedule_days_of_week: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
30
+ schedule_days_of_month: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
31
+ notification_as_jsonlines: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
+ }, z.core.$loose>>;
33
+ request_info: z.ZodNullable<z.ZodObject<{
34
+ success: z.ZodNullable<z.ZodBoolean>;
35
+ }, z.core.$loose>>;
36
+ }, z.core.$loose>;
37
+ declare const redcircleApiGetCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
38
+ collection_id: string;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
40
  //#endregion
8
41
  export { redcircleApiGetCollection };
9
42
  //# sourceMappingURL=get-collection.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-collection.d.cts","names":[],"sources":["../../src/actions/get-collection.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEmB;AAAA,cA6BrD,+BAAA,EAAiC,CAAA,CAAE,UAGU;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-collection.d.cts","names":[],"sources":["../../src/actions/get-collection.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cA+B9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,42 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-collection.d.ts
4
- declare const RedcircleApiGetCollectionInput: z.ZodTypeAny;
5
- declare const RedcircleApiGetCollectionOutput: z.ZodTypeAny;
6
- declare const redcircleApiGetCollection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedcircleApiGetCollectionInput: z.ZodObject<{
5
+ collection_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RedcircleApiGetCollectionOutput: z.ZodObject<{
8
+ collection: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ status: z.ZodNullable<z.ZodString>;
12
+ enabled: z.ZodNullable<z.ZodBoolean>;
13
+ last_run: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ priority: z.ZodNullable<z.ZodString>;
15
+ created_at: z.ZodNullable<z.ZodString>;
16
+ requests_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ results_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ schedule_type: z.ZodNullable<z.ZodString>;
19
+ schedule_hours: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
20
+ destination_ids: z.ZodArray<z.ZodString>;
21
+ credits_required: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ next_result_set_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ notification_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ notification_as_csv: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25
+ requests_page_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ notification_as_json: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
+ requests_total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ requests_type_locked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
+ schedule_days_of_week: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
30
+ schedule_days_of_month: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
31
+ notification_as_jsonlines: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
+ }, z.core.$loose>>;
33
+ request_info: z.ZodNullable<z.ZodObject<{
34
+ success: z.ZodNullable<z.ZodBoolean>;
35
+ }, z.core.$loose>>;
36
+ }, z.core.$loose>;
37
+ declare const redcircleApiGetCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
38
+ collection_id: string;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
40
  //#endregion
8
41
  export { redcircleApiGetCollection };
9
42
  //# sourceMappingURL=get-collection.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-collection.d.mts","names":[],"sources":["../../src/actions/get-collection.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEmB;AAAA,cA6BrD,+BAAA,EAAiC,CAAA,CAAE,UAGU;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-collection.d.mts","names":[],"sources":["../../src/actions/get-collection.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cA+B9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
@@ -3,16 +3,16 @@ import { z } from "zod";
3
3
  //#region src/actions/get-collection.ts
4
4
  const RedcircleApiGetCollectionInput = z.object({ collection_id: z.string().describe("The unique identifier of the collection to retrieve") }).describe("Request model for retrieving a specific collection.");
5
5
  const RedcircleApiGetCollection_CollectionSchema = z.object({
6
- id: z.string().describe("The unique identifier of the collection"),
7
- name: z.string().describe("The name of the collection"),
8
- status: z.string().describe("Current operational status (idle/queued/running)"),
9
- enabled: z.boolean().describe("Whether the collection is enabled"),
6
+ id: z.string().describe("The unique identifier of the collection").nullable(),
7
+ name: z.string().describe("The name of the collection").nullable(),
8
+ status: z.string().describe("Current operational status (idle/queued/running)").nullable(),
9
+ enabled: z.boolean().describe("Whether the collection is enabled").nullable(),
10
10
  last_run: z.string().describe("ISO 8601 timestamp of when the collection was last run").nullable().optional(),
11
- priority: z.string().describe("The priority level of the collection"),
12
- created_at: z.string().describe("ISO 8601 timestamp of when the collection was created"),
11
+ priority: z.string().describe("The priority level of the collection").nullable(),
12
+ created_at: z.string().describe("ISO 8601 timestamp of when the collection was created").nullable(),
13
13
  requests_type: z.string().describe("Type of requests in the collection").nullable().optional(),
14
14
  results_count: z.number().int().describe("Total count of results").nullable().optional(),
15
- schedule_type: z.string().describe("The scheduling type (manual/daily/weekly/monthly)"),
15
+ schedule_type: z.string().describe("The scheduling type (manual/daily/weekly/monthly)").nullable(),
16
16
  schedule_hours: z.array(z.number().int()).describe("Hours when the collection is scheduled to run").nullable().optional(),
17
17
  destination_ids: z.array(z.string()).describe("List of destination identifiers"),
18
18
  credits_required: z.number().int().describe("Number of credits required to run the collection").nullable().optional(),
@@ -26,8 +26,8 @@ const RedcircleApiGetCollection_CollectionSchema = z.object({
26
26
  schedule_days_of_week: z.array(z.number().int()).describe("Days of the week when the collection is scheduled to run").nullable().optional(),
27
27
  schedule_days_of_month: z.array(z.number().int()).describe("Days of the month when the collection is scheduled to run").nullable().optional(),
28
28
  notification_as_jsonlines: z.boolean().describe("Whether to send notifications as JSON lines").nullable().optional()
29
- }).describe("Complete details of a collection.");
30
- const RedcircleApiGetCollection_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the request was successful") }).describe("Information about the API request.");
29
+ }).passthrough().describe("Complete details of a collection.");
30
+ const RedcircleApiGetCollection_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the request was successful").nullable() }).passthrough().describe("Information about the API request.");
31
31
  const redcircleApiGetCollection = action("REDCIRCLE_API_GET_COLLECTION", {
32
32
  slug: "redcircle_api-get-collection",
33
33
  name: "Get Collection",
@@ -36,7 +36,7 @@ const redcircleApiGetCollection = action("REDCIRCLE_API_GET_COLLECTION", {
36
36
  output: z.object({
37
37
  collection: RedcircleApiGetCollection_CollectionSchema.nullable(),
38
38
  request_info: RedcircleApiGetCollection_RequestInfoSchema.nullable()
39
- }).describe("Response model for retrieving a collection.")
39
+ }).passthrough().describe("Response model for retrieving a collection.")
40
40
  });
41
41
  //#endregion
42
42
  export { redcircleApiGetCollection };
@@ -1 +1 @@
1
- {"version":3,"file":"get-collection.mjs","names":[],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetCollectionInput: z.ZodTypeAny = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve\"),\n}).describe(\"Request model for retrieving a specific collection.\");\nconst RedcircleApiGetCollection_CollectionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the collection\"),\n name: z.string().describe(\"The name of the collection\"),\n status: z.string().describe(\"Current operational status (idle/queued/running)\"),\n enabled: z.boolean().describe(\"Whether the collection is enabled\"),\n last_run: z.string().describe(\"ISO 8601 timestamp of when the collection was last run\").nullable().optional(),\n priority: z.string().describe(\"The priority level of the collection\"),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the collection was created\"),\n requests_type: z.string().describe(\"Type of requests in the collection\").nullable().optional(),\n results_count: z.number().int().describe(\"Total count of results\").nullable().optional(),\n schedule_type: z.string().describe(\"The scheduling type (manual/daily/weekly/monthly)\"),\n schedule_hours: z.array(z.number().int()).describe(\"Hours when the collection is scheduled to run\").nullable().optional(),\n destination_ids: z.array(z.string()).describe(\"List of destination identifiers\"),\n credits_required: z.number().int().describe(\"Number of credits required to run the collection\").nullable().optional(),\n next_result_set_id: z.number().int().describe(\"ID of the next result set\").nullable().optional(),\n notification_email: z.string().describe(\"Email address for notifications\").nullable().optional(),\n notification_as_csv: z.boolean().describe(\"Whether to send notifications as CSV\").nullable().optional(),\n requests_page_count: z.number().int().describe(\"Number of pages of requests\").nullable().optional(),\n notification_as_json: z.boolean().describe(\"Whether to send notifications as JSON\").nullable().optional(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection\").nullable().optional(),\n requests_type_locked: z.boolean().describe(\"Whether the requests type is locked\").nullable().optional(),\n schedule_days_of_week: z.array(z.number().int()).describe(\"Days of the week when the collection is scheduled to run\").nullable().optional(),\n schedule_days_of_month: z.array(z.number().int()).describe(\"Days of the month when the collection is scheduled to run\").nullable().optional(),\n notification_as_jsonlines: z.boolean().describe(\"Whether to send notifications as JSON lines\").nullable().optional(),\n}).describe(\"Complete details of a collection.\");\nconst RedcircleApiGetCollection_RequestInfoSchema: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful\"),\n}).describe(\"Information about the API request.\");\nexport const RedcircleApiGetCollectionOutput: z.ZodTypeAny = z.object({\n collection: RedcircleApiGetCollection_CollectionSchema.nullable(),\n request_info: RedcircleApiGetCollection_RequestInfoSchema.nullable(),\n}).describe(\"Response model for retrieving a collection.\");\n\nexport const redcircleApiGetCollection = action(\"REDCIRCLE_API_GET_COLLECTION\", {\n slug: \"redcircle_api-get-collection\",\n name: \"Get Collection\",\n description: \"Tool to retrieve complete information about a specific collection. Use when you need detailed collection metadata including status, schedule, and configuration.\",\n input: RedcircleApiGetCollectionInput,\n output: RedcircleApiGetCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO,EACnE,eAAe,EAAE,OAAO,CAAC,CAA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ources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetCollectionInput = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve\"),\n}).describe(\"Request model for retrieving a specific collection.\");\nconst RedcircleApiGetCollection_CollectionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the collection\").nullable(),\n name: z.string().describe(\"The name of the collection\").nullable(),\n status: z.string().describe(\"Current operational status (idle/queued/running)\").nullable(),\n enabled: z.boolean().describe(\"Whether the collection is enabled\").nullable(),\n last_run: z.string().describe(\"ISO 8601 timestamp of when the collection was last run\").nullable().optional(),\n priority: z.string().describe(\"The priority level of the collection\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the collection was created\").nullable(),\n requests_type: z.string().describe(\"Type of requests in the collection\").nullable().optional(),\n results_count: z.number().int().describe(\"Total count of results\").nullable().optional(),\n schedule_type: z.string().describe(\"The scheduling type (manual/daily/weekly/monthly)\").nullable(),\n schedule_hours: z.array(z.number().int()).describe(\"Hours when the collection is scheduled to run\").nullable().optional(),\n destination_ids: z.array(z.string()).describe(\"List of destination identifiers\"),\n credits_required: z.number().int().describe(\"Number of credits required to run the collection\").nullable().optional(),\n next_result_set_id: z.number().int().describe(\"ID of the next result set\").nullable().optional(),\n notification_email: z.string().describe(\"Email address for notifications\").nullable().optional(),\n notification_as_csv: z.boolean().describe(\"Whether to send notifications as CSV\").nullable().optional(),\n requests_page_count: z.number().int().describe(\"Number of pages of requests\").nullable().optional(),\n notification_as_json: z.boolean().describe(\"Whether to send notifications as JSON\").nullable().optional(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection\").nullable().optional(),\n requests_type_locked: z.boolean().describe(\"Whether the requests type is locked\").nullable().optional(),\n schedule_days_of_week: z.array(z.number().int()).describe(\"Days of the week when the collection is scheduled to run\").nullable().optional(),\n schedule_days_of_month: z.array(z.number().int()).describe(\"Days of the month when the collection is scheduled to run\").nullable().optional(),\n notification_as_jsonlines: z.boolean().describe(\"Whether to send notifications as JSON lines\").nullable().optional(),\n}).passthrough().describe(\"Complete details of a collection.\");\nconst RedcircleApiGetCollection_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).passthrough().describe(\"Information about the API request.\");\nexport const RedcircleApiGetCollectionOutput = z.object({\n collection: RedcircleApiGetCollection_CollectionSchema.nullable(),\n request_info: RedcircleApiGetCollection_RequestInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a collection.\");\n\nexport const redcircleApiGetCollection = action(\"REDCIRCLE_API_GET_COLLECTION\", {\n slug: \"redcircle_api-get-collection\",\n name: \"Get Collection\",\n description: \"Tool to retrieve complete information about a specific collection. Use when you need detailed collection metadata including status, schedule, and configuration.\",\n input: RedcircleApiGetCollectionInput,\n output: RedcircleApiGetCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,eAAe,E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AS;CACtG,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,wBAAwB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,8CAA8C,EAAE,OAAO,EAC3D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAM9D,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,YAAY,2CAA2C,SAAS;EAChE,cAAc,4CAA4C,SAAS;CACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;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-csv-links.ts
4
4
  const RedcircleApiGetRequestsCsvLinksInput = zod.z.object({ collection_id: zod.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 = zod.z.object({ success: zod.z.boolean().describe("Indicates if the request was successful.") }).describe("Request status information.");
6
- const RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema = zod.z.object({ pages: zod.z.array(zod.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 = zod.z.object({ success: zod.z.boolean().describe("Indicates if the request was successful.").nullable() }).passthrough().describe("Request status information.");
6
+ const RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema = zod.z.object({ pages: zod.z.array(zod.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 RedcircleApiGetRequestsCsvLinksOutput = zod.z.object({
8
8
  request_info: RedcircleApiGetRequestsCsvLinks_RequestInfoSchema.nullable(),
9
- collection_id: zod.z.string().describe("The collection identifier."),
9
+ collection_id: zod.z.string().describe("The collection identifier.").nullable(),
10
10
  download_links: RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema.nullable(),
11
- requests_page_count: zod.z.number().int().describe("Number of CSV pages available."),
12
- requests_total_count: zod.z.number().int().describe("Total number of requests in the collection.")
13
- }).describe("Response model for CSV download links.");
11
+ requests_page_count: zod.z.number().int().describe("Number of CSV 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 for CSV download links.");
14
14
  const redcircleApiGetRequestsCsvLinks = require_action.action("REDCIRCLE_API_GET_REQUESTS_CSV_LINKS", {
15
15
  slug: "redcircle_api-get-requests-csv-links",
16
16
  name: "Get Requests CSV Links",
@@ -1 +1 @@
1
- {"version":3,"file":"get-requests-csv-links.cjs","names":["z","action"],"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,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACzG,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,oDAAkEA,IAAAA,EAAE,OAAO,EAC/E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,EAC1E,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAM,sDAAoEA,IAAAA,EAAE,OAAO,EACjF,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,EAC3G,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,cAAc,kDAAkD,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC/D,gBAAgB,oDAAoD,SAAS;CAC7E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC/E,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AAC/F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-requests-csv-links.cjs","names":["z","action"],"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,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACzG,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,oDAAoDA,IAAAA,EAAE,OAAO,EACjE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAM,sDAAsDA,IAAAA,EAAE,OAAO,EACnE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,cAAc,kDAAkD,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC1E,gBAAgB,oDAAoD,SAAS;CAC7E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,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-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.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-requests-csv-links.d.cts","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.cts","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"}