@keystrokehq/redcircle_api 0.1.5 → 0.1.6

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 (269) 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 +1 -0
  4. package/dist/actions/add-zipcodes.cjs.map +1 -1
  5. package/dist/actions/add-zipcodes.d.cts +3 -19
  6. package/dist/actions/add-zipcodes.d.cts.map +1 -1
  7. package/dist/actions/add-zipcodes.d.mts +3 -19
  8. package/dist/actions/add-zipcodes.d.mts.map +1 -1
  9. package/dist/actions/add-zipcodes.mjs +1 -0
  10. package/dist/actions/add-zipcodes.mjs.map +1 -1
  11. package/dist/actions/clear-collection-requests.cjs +1 -0
  12. package/dist/actions/clear-collection-requests.cjs.map +1 -1
  13. package/dist/actions/clear-collection-requests.d.cts +3 -15
  14. package/dist/actions/clear-collection-requests.d.cts.map +1 -1
  15. package/dist/actions/clear-collection-requests.d.mts +3 -15
  16. package/dist/actions/clear-collection-requests.d.mts.map +1 -1
  17. package/dist/actions/clear-collection-requests.mjs +1 -0
  18. package/dist/actions/clear-collection-requests.mjs.map +1 -1
  19. package/dist/actions/create-collection.cjs +1 -0
  20. package/dist/actions/create-collection.cjs.map +1 -1
  21. package/dist/actions/create-collection.d.cts +4 -31
  22. package/dist/actions/create-collection.d.cts.map +1 -1
  23. package/dist/actions/create-collection.d.mts +4 -31
  24. package/dist/actions/create-collection.d.mts.map +1 -1
  25. package/dist/actions/create-collection.mjs +1 -0
  26. package/dist/actions/create-collection.mjs.map +1 -1
  27. package/dist/actions/create-destination.cjs +1 -0
  28. package/dist/actions/create-destination.cjs.map +1 -1
  29. package/dist/actions/create-destination.d.cts +3 -36
  30. package/dist/actions/create-destination.d.cts.map +1 -1
  31. package/dist/actions/create-destination.d.mts +3 -36
  32. package/dist/actions/create-destination.d.mts.map +1 -1
  33. package/dist/actions/create-destination.mjs +1 -0
  34. package/dist/actions/create-destination.mjs.map +1 -1
  35. package/dist/actions/create-requests.cjs +1 -0
  36. package/dist/actions/create-requests.cjs.map +1 -1
  37. package/dist/actions/create-requests.d.cts +3 -21
  38. package/dist/actions/create-requests.d.cts.map +1 -1
  39. package/dist/actions/create-requests.d.mts +3 -21
  40. package/dist/actions/create-requests.d.mts.map +1 -1
  41. package/dist/actions/create-requests.mjs +1 -0
  42. package/dist/actions/create-requests.mjs.map +1 -1
  43. package/dist/actions/delete-collection.cjs +1 -0
  44. package/dist/actions/delete-collection.cjs.map +1 -1
  45. package/dist/actions/delete-collection.d.cts +3 -15
  46. package/dist/actions/delete-collection.d.cts.map +1 -1
  47. package/dist/actions/delete-collection.d.mts +3 -15
  48. package/dist/actions/delete-collection.d.mts.map +1 -1
  49. package/dist/actions/delete-collection.mjs +1 -0
  50. package/dist/actions/delete-collection.mjs.map +1 -1
  51. package/dist/actions/delete-destination.cjs +1 -0
  52. package/dist/actions/delete-destination.cjs.map +1 -1
  53. package/dist/actions/delete-destination.d.cts +3 -15
  54. package/dist/actions/delete-destination.d.cts.map +1 -1
  55. package/dist/actions/delete-destination.d.mts +3 -15
  56. package/dist/actions/delete-destination.d.mts.map +1 -1
  57. package/dist/actions/delete-destination.mjs +1 -0
  58. package/dist/actions/delete-destination.mjs.map +1 -1
  59. package/dist/actions/delete-request.cjs +1 -0
  60. package/dist/actions/delete-request.cjs.map +1 -1
  61. package/dist/actions/delete-request.d.cts +3 -16
  62. package/dist/actions/delete-request.d.cts.map +1 -1
  63. package/dist/actions/delete-request.d.mts +3 -16
  64. package/dist/actions/delete-request.d.mts.map +1 -1
  65. package/dist/actions/delete-request.mjs +1 -0
  66. package/dist/actions/delete-request.mjs.map +1 -1
  67. package/dist/actions/delete-requests-bulk.cjs +1 -0
  68. package/dist/actions/delete-requests-bulk.cjs.map +1 -1
  69. package/dist/actions/delete-requests-bulk.d.cts +3 -16
  70. package/dist/actions/delete-requests-bulk.d.cts.map +1 -1
  71. package/dist/actions/delete-requests-bulk.d.mts +3 -16
  72. package/dist/actions/delete-requests-bulk.d.mts.map +1 -1
  73. package/dist/actions/delete-requests-bulk.mjs +1 -0
  74. package/dist/actions/delete-requests-bulk.mjs.map +1 -1
  75. package/dist/actions/delete-zipcodes.cjs +1 -0
  76. package/dist/actions/delete-zipcodes.cjs.map +1 -1
  77. package/dist/actions/delete-zipcodes.d.cts +3 -19
  78. package/dist/actions/delete-zipcodes.d.cts.map +1 -1
  79. package/dist/actions/delete-zipcodes.d.mts +3 -19
  80. package/dist/actions/delete-zipcodes.d.mts.map +1 -1
  81. package/dist/actions/delete-zipcodes.mjs +1 -0
  82. package/dist/actions/delete-zipcodes.mjs.map +1 -1
  83. package/dist/actions/get-account.cjs +1 -0
  84. package/dist/actions/get-account.cjs.map +1 -1
  85. package/dist/actions/get-account.d.cts +3 -13
  86. package/dist/actions/get-account.d.cts.map +1 -1
  87. package/dist/actions/get-account.d.mts +3 -13
  88. package/dist/actions/get-account.d.mts.map +1 -1
  89. package/dist/actions/get-account.mjs +1 -0
  90. package/dist/actions/get-account.mjs.map +1 -1
  91. package/dist/actions/get-collection.cjs +1 -0
  92. package/dist/actions/get-collection.cjs.map +1 -1
  93. package/dist/actions/get-collection.d.cts +3 -15
  94. package/dist/actions/get-collection.d.cts.map +1 -1
  95. package/dist/actions/get-collection.d.mts +3 -15
  96. package/dist/actions/get-collection.d.mts.map +1 -1
  97. package/dist/actions/get-collection.mjs +1 -0
  98. package/dist/actions/get-collection.mjs.map +1 -1
  99. package/dist/actions/get-requests-csv-links.cjs +1 -0
  100. package/dist/actions/get-requests-csv-links.cjs.map +1 -1
  101. package/dist/actions/get-requests-csv-links.d.cts +3 -15
  102. package/dist/actions/get-requests-csv-links.d.cts.map +1 -1
  103. package/dist/actions/get-requests-csv-links.d.mts +3 -15
  104. package/dist/actions/get-requests-csv-links.d.mts.map +1 -1
  105. package/dist/actions/get-requests-csv-links.mjs +1 -0
  106. package/dist/actions/get-requests-csv-links.mjs.map +1 -1
  107. package/dist/actions/get-requests-json-links.cjs +1 -0
  108. package/dist/actions/get-requests-json-links.cjs.map +1 -1
  109. package/dist/actions/get-requests-json-links.d.cts +3 -15
  110. package/dist/actions/get-requests-json-links.d.cts.map +1 -1
  111. package/dist/actions/get-requests-json-links.d.mts +3 -15
  112. package/dist/actions/get-requests-json-links.d.mts.map +1 -1
  113. package/dist/actions/get-requests-json-links.mjs +1 -0
  114. package/dist/actions/get-requests-json-links.mjs.map +1 -1
  115. package/dist/actions/get-result-set-csv.cjs +1 -0
  116. package/dist/actions/get-result-set-csv.cjs.map +1 -1
  117. package/dist/actions/get-result-set-csv.d.cts +3 -17
  118. package/dist/actions/get-result-set-csv.d.cts.map +1 -1
  119. package/dist/actions/get-result-set-csv.d.mts +3 -17
  120. package/dist/actions/get-result-set-csv.d.mts.map +1 -1
  121. package/dist/actions/get-result-set-csv.mjs +1 -0
  122. package/dist/actions/get-result-set-csv.mjs.map +1 -1
  123. package/dist/actions/get-result-set-json.cjs +1 -0
  124. package/dist/actions/get-result-set-json.cjs.map +1 -1
  125. package/dist/actions/get-result-set-json.d.cts +3 -16
  126. package/dist/actions/get-result-set-json.d.cts.map +1 -1
  127. package/dist/actions/get-result-set-json.d.mts +3 -16
  128. package/dist/actions/get-result-set-json.d.mts.map +1 -1
  129. package/dist/actions/get-result-set-json.mjs +1 -0
  130. package/dist/actions/get-result-set-json.mjs.map +1 -1
  131. package/dist/actions/get-result-set-jsonlines.cjs +1 -0
  132. package/dist/actions/get-result-set-jsonlines.cjs.map +1 -1
  133. package/dist/actions/get-result-set-jsonlines.d.cts +3 -16
  134. package/dist/actions/get-result-set-jsonlines.d.cts.map +1 -1
  135. package/dist/actions/get-result-set-jsonlines.d.mts +3 -16
  136. package/dist/actions/get-result-set-jsonlines.d.mts.map +1 -1
  137. package/dist/actions/get-result-set-jsonlines.mjs +1 -0
  138. package/dist/actions/get-result-set-jsonlines.mjs.map +1 -1
  139. package/dist/actions/get-target-product-data.cjs +1 -0
  140. package/dist/actions/get-target-product-data.cjs.map +1 -1
  141. package/dist/actions/get-target-product-data.d.cts +3 -20
  142. package/dist/actions/get-target-product-data.d.cts.map +1 -1
  143. package/dist/actions/get-target-product-data.d.mts +3 -20
  144. package/dist/actions/get-target-product-data.d.mts.map +1 -1
  145. package/dist/actions/get-target-product-data.mjs +1 -0
  146. package/dist/actions/get-target-product-data.mjs.map +1 -1
  147. package/dist/actions/list-categories.cjs +1 -0
  148. package/dist/actions/list-categories.cjs.map +1 -1
  149. package/dist/actions/list-categories.d.cts +3 -17
  150. package/dist/actions/list-categories.d.cts.map +1 -1
  151. package/dist/actions/list-categories.d.mts +3 -17
  152. package/dist/actions/list-categories.d.mts.map +1 -1
  153. package/dist/actions/list-categories.mjs +1 -0
  154. package/dist/actions/list-categories.mjs.map +1 -1
  155. package/dist/actions/list-collections.cjs +1 -0
  156. package/dist/actions/list-collections.cjs.map +1 -1
  157. package/dist/actions/list-collections.d.cts +4 -29
  158. package/dist/actions/list-collections.d.cts.map +1 -1
  159. package/dist/actions/list-collections.d.mts +4 -29
  160. package/dist/actions/list-collections.d.mts.map +1 -1
  161. package/dist/actions/list-collections.mjs +1 -0
  162. package/dist/actions/list-collections.mjs.map +1 -1
  163. package/dist/actions/list-destinations.cjs +1 -0
  164. package/dist/actions/list-destinations.cjs.map +1 -1
  165. package/dist/actions/list-destinations.d.cts +3 -18
  166. package/dist/actions/list-destinations.d.cts.map +1 -1
  167. package/dist/actions/list-destinations.d.mts +3 -18
  168. package/dist/actions/list-destinations.d.mts.map +1 -1
  169. package/dist/actions/list-destinations.mjs +1 -0
  170. package/dist/actions/list-destinations.mjs.map +1 -1
  171. package/dist/actions/list-error-logs.cjs +1 -0
  172. package/dist/actions/list-error-logs.cjs.map +1 -1
  173. package/dist/actions/list-error-logs.d.cts +3 -18
  174. package/dist/actions/list-error-logs.d.cts.map +1 -1
  175. package/dist/actions/list-error-logs.d.mts +3 -18
  176. package/dist/actions/list-error-logs.d.mts.map +1 -1
  177. package/dist/actions/list-error-logs.mjs +1 -0
  178. package/dist/actions/list-error-logs.mjs.map +1 -1
  179. package/dist/actions/list-requests-by-page.cjs +1 -0
  180. package/dist/actions/list-requests-by-page.cjs.map +1 -1
  181. package/dist/actions/list-requests-by-page.d.cts +3 -16
  182. package/dist/actions/list-requests-by-page.d.cts.map +1 -1
  183. package/dist/actions/list-requests-by-page.d.mts +3 -16
  184. package/dist/actions/list-requests-by-page.d.mts.map +1 -1
  185. package/dist/actions/list-requests-by-page.mjs +1 -0
  186. package/dist/actions/list-requests-by-page.mjs.map +1 -1
  187. package/dist/actions/list-result-sets.cjs +1 -0
  188. package/dist/actions/list-result-sets.cjs.map +1 -1
  189. package/dist/actions/list-result-sets.d.cts +3 -15
  190. package/dist/actions/list-result-sets.d.cts.map +1 -1
  191. package/dist/actions/list-result-sets.d.mts +3 -15
  192. package/dist/actions/list-result-sets.d.mts.map +1 -1
  193. package/dist/actions/list-result-sets.mjs +1 -0
  194. package/dist/actions/list-result-sets.mjs.map +1 -1
  195. package/dist/actions/list-zipcodes.cjs +1 -0
  196. package/dist/actions/list-zipcodes.cjs.map +1 -1
  197. package/dist/actions/list-zipcodes.d.cts +3 -17
  198. package/dist/actions/list-zipcodes.d.cts.map +1 -1
  199. package/dist/actions/list-zipcodes.d.mts +3 -17
  200. package/dist/actions/list-zipcodes.d.mts.map +1 -1
  201. package/dist/actions/list-zipcodes.mjs +1 -0
  202. package/dist/actions/list-zipcodes.mjs.map +1 -1
  203. package/dist/actions/resend-webhook.cjs +1 -0
  204. package/dist/actions/resend-webhook.cjs.map +1 -1
  205. package/dist/actions/resend-webhook.d.cts +3 -16
  206. package/dist/actions/resend-webhook.d.cts.map +1 -1
  207. package/dist/actions/resend-webhook.d.mts +3 -16
  208. package/dist/actions/resend-webhook.d.mts.map +1 -1
  209. package/dist/actions/resend-webhook.mjs +1 -0
  210. package/dist/actions/resend-webhook.mjs.map +1 -1
  211. package/dist/actions/start-collection.cjs +1 -0
  212. package/dist/actions/start-collection.cjs.map +1 -1
  213. package/dist/actions/start-collection.d.cts +3 -15
  214. package/dist/actions/start-collection.d.cts.map +1 -1
  215. package/dist/actions/start-collection.d.mts +3 -15
  216. package/dist/actions/start-collection.d.mts.map +1 -1
  217. package/dist/actions/start-collection.mjs +1 -0
  218. package/dist/actions/start-collection.mjs.map +1 -1
  219. package/dist/actions/stop-all-collections.cjs +1 -0
  220. package/dist/actions/stop-all-collections.cjs.map +1 -1
  221. package/dist/actions/stop-all-collections.d.cts +3 -13
  222. package/dist/actions/stop-all-collections.d.cts.map +1 -1
  223. package/dist/actions/stop-all-collections.d.mts +3 -13
  224. package/dist/actions/stop-all-collections.d.mts.map +1 -1
  225. package/dist/actions/stop-all-collections.mjs +1 -0
  226. package/dist/actions/stop-all-collections.mjs.map +1 -1
  227. package/dist/actions/stop-collection.cjs +1 -0
  228. package/dist/actions/stop-collection.cjs.map +1 -1
  229. package/dist/actions/stop-collection.d.cts +3 -15
  230. package/dist/actions/stop-collection.d.cts.map +1 -1
  231. package/dist/actions/stop-collection.d.mts +3 -15
  232. package/dist/actions/stop-collection.d.mts.map +1 -1
  233. package/dist/actions/stop-collection.mjs +1 -0
  234. package/dist/actions/stop-collection.mjs.map +1 -1
  235. package/dist/actions/update-collection.cjs +1 -0
  236. package/dist/actions/update-collection.cjs.map +1 -1
  237. package/dist/actions/update-collection.d.cts +3 -31
  238. package/dist/actions/update-collection.d.cts.map +1 -1
  239. package/dist/actions/update-collection.d.mts +3 -31
  240. package/dist/actions/update-collection.d.mts.map +1 -1
  241. package/dist/actions/update-collection.mjs +1 -0
  242. package/dist/actions/update-collection.mjs.map +1 -1
  243. package/dist/actions/update-destination.cjs +1 -0
  244. package/dist/actions/update-destination.cjs.map +1 -1
  245. package/dist/actions/update-destination.d.cts +3 -37
  246. package/dist/actions/update-destination.d.cts.map +1 -1
  247. package/dist/actions/update-destination.d.mts +3 -37
  248. package/dist/actions/update-destination.d.mts.map +1 -1
  249. package/dist/actions/update-destination.mjs +1 -0
  250. package/dist/actions/update-destination.mjs.map +1 -1
  251. package/dist/actions/update-request.cjs +1 -0
  252. package/dist/actions/update-request.cjs.map +1 -1
  253. package/dist/actions/update-request.d.cts +3 -19
  254. package/dist/actions/update-request.d.cts.map +1 -1
  255. package/dist/actions/update-request.d.mts +3 -19
  256. package/dist/actions/update-request.d.mts.map +1 -1
  257. package/dist/actions/update-request.mjs +1 -0
  258. package/dist/actions/update-request.mjs.map +1 -1
  259. package/dist/app.cjs +2 -2
  260. package/dist/app.cjs.map +1 -1
  261. package/dist/app.d.cts +4 -6
  262. package/dist/app.d.cts.map +1 -1
  263. package/dist/app.d.mts +4 -6
  264. package/dist/app.d.mts.map +1 -1
  265. package/dist/app.mjs +0 -1
  266. package/dist/app.mjs.map +1 -1
  267. package/dist/index.d.cts +1 -1
  268. package/dist/index.d.mts +1 -1
  269. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { redcircleApi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-collections.d.ts
@@ -13,8 +15,8 @@ declare const RedcircleApiListCollectionsInput: z.ZodObject<{
13
15
  name: "name";
14
16
  status: "status";
15
17
  created_at: "created_at";
16
- priority: "priority";
17
18
  last_run: "last_run";
19
+ priority: "priority";
18
20
  }>>;
19
21
  page_size: z.ZodOptional<z.ZodNumber>;
20
22
  search_term: z.ZodOptional<z.ZodString>;
@@ -56,34 +58,7 @@ declare const RedcircleApiListCollectionsOutput: z.ZodObject<{
56
58
  }, z.core.$loose>>>;
57
59
  count_this_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
60
  }, z.core.$loose>;
59
- declare const redcircleApiListCollections: import("@keystrokehq/action").WorkflowActionDefinition<{
60
- page?: number | undefined;
61
- status?: "all" | "idle" | "queued" | "running" | undefined;
62
- sort_by?: "name" | "status" | "created_at" | "priority" | "last_run" | undefined;
63
- page_size?: number | undefined;
64
- search_term?: string | undefined;
65
- search_type?: "exact" | "contains" | "starts_with" | "ends_with" | undefined;
66
- created_after?: string | undefined;
67
- created_before?: string | undefined;
68
- destination_id?: string | undefined;
69
- last_run_after?: string | undefined;
70
- sort_direction?: "ascending" | "descending" | undefined;
71
- last_run_before?: string | undefined;
72
- only_with_results?: boolean | undefined;
73
- only_without_results?: boolean | undefined;
74
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"redcircle_api", z.ZodObject<{
75
- connectionId: z.ZodString;
76
- entityId: z.ZodString;
77
- instanceId: z.ZodString;
78
- }, z.core.$strip>, z.ZodObject<{
79
- generic_api_key: z.ZodString;
80
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"redcircle_api", z.ZodObject<{
81
- connectionId: z.ZodString;
82
- entityId: z.ZodString;
83
- instanceId: z.ZodString;
84
- }, z.core.$strip>, z.ZodObject<{
85
- generic_api_key: z.ZodString;
86
- }, z.core.$strip>>]>;
61
+ declare const redcircleApiListCollections: AppAction<typeof RedcircleApiListCollectionsInput, typeof RedcircleApiListCollectionsOutput, typeof redcircleApi.credential>;
87
62
  //#endregion
88
63
  export { redcircleApiListCollections };
89
64
  //# sourceMappingURL=list-collections.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-collections.d.mts","names":[],"sources":["../../src/actions/list-collections.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8BhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cASjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"list-collections.d.mts","names":[],"sources":["../../src/actions/list-collections.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8BhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cASjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-collections.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-collections.mjs","names":[],"sources":["../../src/actions/list-collections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiListCollectionsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (defaults to 1)\").optional(),\n status: z.enum([\"all\", \"idle\", \"queued\", \"running\"]).describe(\"Filter by Collection status: 'all', 'idle', 'queued', or 'running' (defaults to all)\").optional(),\n sort_by: z.enum([\"created_at\", \"last_run\", \"name\", \"priority\", \"status\"]).describe(\"Sort collections by: 'created_at', 'last_run', 'name', 'priority', or 'status'\").optional(),\n page_size: z.number().int().describe(\"Results per page; defaults to 25, maximum 1000\").optional(),\n search_term: z.string().describe(\"Limits results to Collections matching the search term in their name\").optional(),\n search_type: z.enum([\"contains\", \"starts_with\", \"ends_with\", \"exact\"]).describe(\"Determines search matching strategy: 'contains' (default), 'starts_with', 'ends_with', or 'exact'\").optional(),\n created_after: z.string().describe(\"Filter Collections created after specified timestamp (ISO 8601 format)\").optional(),\n created_before: z.string().describe(\"Filter Collections created before specified timestamp (ISO 8601 format)\").optional(),\n destination_id: z.string().describe(\"Filter to Collections with specified destination ID\").optional(),\n last_run_after: z.string().describe(\"Filter Collections by last run date after specified timestamp (ISO 8601 format)\").optional(),\n sort_direction: z.enum([\"ascending\", \"descending\"]).describe(\"Sort direction: 'ascending' (default) or 'descending'\").optional(),\n last_run_before: z.string().describe(\"Filter Collections by last run date before specified timestamp (ISO 8601 format)\").optional(),\n only_with_results: z.boolean().describe(\"Filter to return only Collections containing result sets\").optional(),\n only_without_results: z.boolean().describe(\"Filter to return only Collections without result sets\").optional(),\n}).describe(\"Request model for listing collections with filtering and pagination options.\");\nconst RedcircleApiListCollections_CollectionItemSchema = z.object({\n id: z.string().describe(\"Unique Collection identifier\").nullable().optional(),\n name: z.string().describe(\"Collection name\").nullable().optional(),\n status: z.string().describe(\"Current status (idle, queued, running)\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether Collection is active\").nullable().optional(),\n last_run: z.string().describe(\"Last execution timestamp (ISO 8601)\").nullable().optional(),\n priority: z.string().describe(\"Collection priority level\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp (ISO 8601)\").nullable().optional(),\n results_count: z.number().int().describe(\"Number of available result sets\").nullable().optional(),\n schedule_type: z.string().describe(\"Scheduling pattern (daily, weekly)\").nullable().optional(),\n}).passthrough().describe(\"Individual collection object.\");\nconst RedcircleApiListCollections_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Whether the request was successful\").nullable().optional(),\n}).passthrough().describe(\"Request information object.\");\nexport const RedcircleApiListCollectionsOutput = z.object({\n collections: z.array(RedcircleApiListCollections_CollectionItemSchema).describe(\"Array of Collection objects\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of Collections matching criteria\").nullable().optional(),\n total_pages: z.number().int().describe(\"Number of pages in paginated results\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number\").nullable().optional(),\n request_info: RedcircleApiListCollections_RequestInfoSchema.nullable().optional(),\n count_this_page: z.number().int().describe(\"Number of Collections returned in this response\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing collections.\");\n\nexport const redcircleApiListCollections = action(\"REDCIRCLE_API_LIST_COLLECTIONS\", {\n slug: \"redcircle_api-list-collections\",\n name: \"List Collections\",\n description: \"Tool to retrieve all collections configured on your RedCircle API account with filtering and pagination. Use when you need to browse collections, filter by status or search term, or manage collection metadata.\",\n input: RedcircleApiListCollectionsInput,\n output: RedcircleApiListCollectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO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Aa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,cAAc,8CAA8C,SAAS,CAAC,CAAC,SAAS;EAChF,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-collections.mjs","names":[],"sources":["../../src/actions/list-collections.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redcircleApi } from \"../app\";\n\nexport const RedcircleApiListCollectionsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (defaults to 1)\").optional(),\n status: z.enum([\"all\", \"idle\", \"queued\", \"running\"]).describe(\"Filter by Collection status: 'all', 'idle', 'queued', or 'running' (defaults to all)\").optional(),\n sort_by: z.enum([\"created_at\", \"last_run\", \"name\", \"priority\", \"status\"]).describe(\"Sort collections by: 'created_at', 'last_run', 'name', 'priority', or 'status'\").optional(),\n page_size: z.number().int().describe(\"Results per page; defaults to 25, maximum 1000\").optional(),\n search_term: z.string().describe(\"Limits results to Collections matching the search term in their name\").optional(),\n search_type: z.enum([\"contains\", \"starts_with\", \"ends_with\", \"exact\"]).describe(\"Determines search matching strategy: 'contains' (default), 'starts_with', 'ends_with', or 'exact'\").optional(),\n created_after: z.string().describe(\"Filter Collections created after specified timestamp (ISO 8601 format)\").optional(),\n created_before: z.string().describe(\"Filter Collections created before specified timestamp (ISO 8601 format)\").optional(),\n destination_id: z.string().describe(\"Filter to Collections with specified destination ID\").optional(),\n last_run_after: z.string().describe(\"Filter Collections by last run date after specified timestamp (ISO 8601 format)\").optional(),\n sort_direction: z.enum([\"ascending\", \"descending\"]).describe(\"Sort direction: 'ascending' (default) or 'descending'\").optional(),\n last_run_before: z.string().describe(\"Filter Collections by last run date before specified timestamp (ISO 8601 format)\").optional(),\n only_with_results: z.boolean().describe(\"Filter to return only Collections containing result sets\").optional(),\n only_without_results: z.boolean().describe(\"Filter to return only Collections without result sets\").optional(),\n}).describe(\"Request model for listing collections with filtering and pagination options.\");\nconst RedcircleApiListCollections_CollectionItemSchema = z.object({\n id: z.string().describe(\"Unique Collection identifier\").nullable().optional(),\n name: z.string().describe(\"Collection name\").nullable().optional(),\n status: z.string().describe(\"Current status (idle, queued, running)\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether Collection is active\").nullable().optional(),\n last_run: z.string().describe(\"Last execution timestamp (ISO 8601)\").nullable().optional(),\n priority: z.string().describe(\"Collection priority level\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp (ISO 8601)\").nullable().optional(),\n results_count: z.number().int().describe(\"Number of available result sets\").nullable().optional(),\n schedule_type: z.string().describe(\"Scheduling pattern (daily, weekly)\").nullable().optional(),\n}).passthrough().describe(\"Individual collection object.\");\nconst RedcircleApiListCollections_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Whether the request was successful\").nullable().optional(),\n}).passthrough().describe(\"Request information object.\");\nexport const RedcircleApiListCollectionsOutput = z.object({\n collections: z.array(RedcircleApiListCollections_CollectionItemSchema).describe(\"Array of Collection objects\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of Collections matching criteria\").nullable().optional(),\n total_pages: z.number().int().describe(\"Number of pages in paginated results\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number\").nullable().optional(),\n request_info: RedcircleApiListCollections_RequestInfoSchema.nullable().optional(),\n count_this_page: z.number().int().describe(\"Number of Collections returned in this response\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing collections.\");\n\nexport const redcircleApiListCollections: AppAction<\n typeof RedcircleApiListCollectionsInput,\n typeof RedcircleApiListCollectionsOutput,\n typeof redcircleApi.credential\n> = action(\"REDCIRCLE_API_LIST_COLLECTIONS\", {\n slug: \"redcircle_api-list-collections\",\n name: \"List Collections\",\n description: \"Tool to retrieve all collections configured on your RedCircle API account with filtering and pagination. Use when you need to browse collections, filter by status or search term, or manage collection metadata.\",\n input: RedcircleApiListCollectionsInput,\n output: RedcircleApiListCollectionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,KAAK;EAAC;EAAO;EAAQ;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC/J,SAAS,EAAE,KAAK;EAAC;EAAc;EAAY;EAAQ;EAAY;CAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC9K,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAClH,aAAa,EAAE,KAAK;EAAC;EAAY;EAAe;EAAa;CAAO,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC9L,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACpG,gBAAgB,EAAE,OAAO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AS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAM,gDAAgD,EAAE,OAAO,EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAUvD,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB+C,EAAE,OAAO;EACxD,aAAa,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,cAAc,8CAA8C,SAAS,CAAC,CAAC,SAAS;EAChF,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-destinations.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-destinations.cjs","names":["z","action"],"sources":["../../src/actions/list-destinations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiListDestinationsInput = z.object({\n page: z.number().int().describe(\"Set the page number of Destinations to return. Defaults to page=1. 10 Destinations are returned per page.\").optional(),\n sort_by: z.enum([\"type\", \"name\"]).describe(\"Sort destinations by 'type' or 'name'.\").optional(),\n search_term: z.string().describe(\"Filters results to destinations containing this term in their name.\").optional(),\n sort_direction: z.enum([\"ascending\", \"descending\"]).describe(\"Sort direction: 'ascending' (default) or 'descending'.\").optional(),\n}).describe(\"Request model for listing destinations with pagination and filtering.\");\nconst RedcircleApiListDestinations_UsageSchema = z.object({\n used: z.number().int().describe(\"Number of API calls used.\").nullable(),\n limit: z.number().int().describe(\"Total API call limit.\").nullable(),\n available: z.number().int().describe(\"Remaining API calls available.\").nullable(),\n}).passthrough();\nconst RedcircleApiListDestinations_DestinationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the destination.\").nullable(),\n name: z.string().describe(\"Name of the destination.\").nullable(),\n type: z.string().describe(\"Type of destination.\").nullable(),\n enabled: z.boolean().describe(\"Whether the destination is enabled.\").nullable(),\n used_by: z.number().int().describe(\"Number of entities using this destination.\").nullable(),\n s3_bucket_name: z.string().describe(\"S3 bucket name for the destination.\").nullable().optional(),\n s3_path_prefix: z.string().describe(\"S3 path prefix for the destination.\").nullable().optional(),\n}).passthrough();\nconst RedcircleApiListDestinations_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).passthrough();\nexport const RedcircleApiListDestinationsOutput = z.object({\n usage: RedcircleApiListDestinations_UsageSchema.nullable(),\n destinations: z.array(RedcircleApiListDestinations_DestinationSchema).describe(\"List of destinations configured on the account.\"),\n request_info: RedcircleApiListDestinations_RequestInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for listing destinations.\");\n\nexport const redcircleApiListDestinations = action(\"REDCIRCLE_API_LIST_DESTINATIONS\", {\n slug: \"redcircle_api-list-destinations\",\n name: \"List Destinations\",\n description: \"Tool to retrieve all destinations configured on your RedCircle API account with pagination and filtering. Use when you need to browse or manage destination configurations. Returns 10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,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC1F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iDAAiDA,IAAAA,EAAE,OAAO,EAC9D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAO,yCAAyC,SAAS;CACzD,cAAcA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,iDAAiD;CAChI,cAAc,+CAA+C,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-destinations.cjs","names":["z","action"],"sources":["../../src/actions/list-destinations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redcircleApi } from \"../app\";\n\nexport const RedcircleApiListDestinationsInput = z.object({\n page: z.number().int().describe(\"Set the page number of Destinations to return. Defaults to page=1. 10 Destinations are returned per page.\").optional(),\n sort_by: z.enum([\"type\", \"name\"]).describe(\"Sort destinations by 'type' or 'name'.\").optional(),\n search_term: z.string().describe(\"Filters results to destinations containing this term in their name.\").optional(),\n sort_direction: z.enum([\"ascending\", \"descending\"]).describe(\"Sort direction: 'ascending' (default) or 'descending'.\").optional(),\n}).describe(\"Request model for listing destinations with pagination and filtering.\");\nconst RedcircleApiListDestinations_UsageSchema = z.object({\n used: z.number().int().describe(\"Number of API calls used.\").nullable(),\n limit: z.number().int().describe(\"Total API call limit.\").nullable(),\n available: z.number().int().describe(\"Remaining API calls available.\").nullable(),\n}).passthrough();\nconst RedcircleApiListDestinations_DestinationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the destination.\").nullable(),\n name: z.string().describe(\"Name of the destination.\").nullable(),\n type: z.string().describe(\"Type of destination.\").nullable(),\n enabled: z.boolean().describe(\"Whether the destination is enabled.\").nullable(),\n used_by: z.number().int().describe(\"Number of entities using this destination.\").nullable(),\n s3_bucket_name: z.string().describe(\"S3 bucket name for the destination.\").nullable().optional(),\n s3_path_prefix: z.string().describe(\"S3 path prefix for the destination.\").nullable().optional(),\n}).passthrough();\nconst RedcircleApiListDestinations_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).passthrough();\nexport const RedcircleApiListDestinationsOutput = z.object({\n usage: RedcircleApiListDestinations_UsageSchema.nullable(),\n destinations: z.array(RedcircleApiListDestinations_DestinationSchema).describe(\"List of destinations configured on the account.\"),\n request_info: RedcircleApiListDestinations_RequestInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for listing destinations.\");\n\nexport const redcircleApiListDestinations: AppAction<\n typeof RedcircleApiListDestinationsInput,\n typeof RedcircleApiListDestinationsOutput,\n typeof redcircleApi.credential\n> = action(\"REDCIRCLE_API_LIST_DESTINATIONS\", {\n slug: \"redcircle_api-list-destinations\",\n name: \"List Destinations\",\n description: \"Tool to retrieve all destinations configured on your RedCircle API account with pagination and filtering. Use when you need to browse or manage destination configurations. Returns 10 destinations per page.\",\n input: RedcircleApiListDestinationsInput,\n output: RedcircleApiListDestinationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EA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O,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iDAAiDA,IAAAA,EAAE,OAAO,EAC9D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAO,yCAAyC,SAAS;CACzD,cAAcA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,iDAAiD;CAChI,cAAc,+CAA+C,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { redcircleApi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-destinations.d.ts
@@ -32,24 +34,7 @@ declare const RedcircleApiListDestinationsOutput: z.ZodObject<{
32
34
  success: z.ZodNullable<z.ZodBoolean>;
33
35
  }, z.core.$loose>>;
34
36
  }, z.core.$loose>;
35
- declare const redcircleApiListDestinations: import("@keystrokehq/action").WorkflowActionDefinition<{
36
- page?: number | undefined;
37
- sort_by?: "type" | "name" | undefined;
38
- search_term?: string | undefined;
39
- sort_direction?: "ascending" | "descending" | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"redcircle_api", z.ZodObject<{
41
- connectionId: z.ZodString;
42
- entityId: z.ZodString;
43
- instanceId: z.ZodString;
44
- }, z.core.$strip>, z.ZodObject<{
45
- generic_api_key: z.ZodString;
46
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"redcircle_api", z.ZodObject<{
47
- connectionId: z.ZodString;
48
- entityId: z.ZodString;
49
- instanceId: z.ZodString;
50
- }, z.core.$strip>, z.ZodObject<{
51
- generic_api_key: z.ZodString;
52
- }, z.core.$strip>>]>;
37
+ declare const redcircleApiListDestinations: AppAction<typeof RedcircleApiListDestinationsInput, typeof RedcircleApiListDestinationsOutput, typeof redcircleApi.credential>;
53
38
  //#endregion
54
39
  export { redcircleApiListDestinations };
55
40
  //# sourceMappingURL=list-destinations.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-destinations.d.cts","names":[],"sources":["../../src/actions/list-destinations.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAuBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"list-destinations.d.cts","names":[],"sources":["../../src/actions/list-destinations.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAuBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { redcircleApi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-destinations.d.ts
@@ -32,24 +34,7 @@ declare const RedcircleApiListDestinationsOutput: z.ZodObject<{
32
34
  success: z.ZodNullable<z.ZodBoolean>;
33
35
  }, z.core.$loose>>;
34
36
  }, z.core.$loose>;
35
- declare const redcircleApiListDestinations: import("@keystrokehq/action").WorkflowActionDefinition<{
36
- page?: number | undefined;
37
- sort_by?: "type" | "name" | undefined;
38
- search_term?: string | undefined;
39
- sort_direction?: "ascending" | "descending" | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"redcircle_api", z.ZodObject<{
41
- connectionId: z.ZodString;
42
- entityId: z.ZodString;
43
- instanceId: z.ZodString;
44
- }, z.core.$strip>, z.ZodObject<{
45
- generic_api_key: z.ZodString;
46
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"redcircle_api", z.ZodObject<{
47
- connectionId: z.ZodString;
48
- entityId: z.ZodString;
49
- instanceId: z.ZodString;
50
- }, z.core.$strip>, z.ZodObject<{
51
- generic_api_key: z.ZodString;
52
- }, z.core.$strip>>]>;
37
+ declare const redcircleApiListDestinations: AppAction<typeof RedcircleApiListDestinationsInput, typeof RedcircleApiListDestinationsOutput, typeof redcircleApi.credential>;
53
38
  //#endregion
54
39
  export { redcircleApiListDestinations };
55
40
  //# sourceMappingURL=list-destinations.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-destinations.d.mts","names":[],"sources":["../../src/actions/list-destinations.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAuBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"list-destinations.d.mts","names":[],"sources":["../../src/actions/list-destinations.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAuBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-destinations.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-destinations.mjs","names":[],"sources":["../../src/actions/list-destinations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiListDestinationsInput = z.object({\n page: z.number().int().describe(\"Set the page number of Destinations to return. Defaults to page=1. 10 Destinations are returned per page.\").optional(),\n sort_by: z.enum([\"type\", \"name\"]).describe(\"Sort destinations by 'type' or 'name'.\").optional(),\n search_term: z.string().describe(\"Filters results to destinations containing this term in their name.\").optional(),\n sort_direction: z.enum([\"ascending\", \"descending\"]).describe(\"Sort direction: 'ascending' (default) or 'descending'.\").optional(),\n}).describe(\"Request model for listing destinations with pagination and filtering.\");\nconst RedcircleApiListDestinations_UsageSchema = z.object({\n used: z.number().int().describe(\"Number of API calls used.\").nullable(),\n limit: z.number().int().describe(\"Total API call limit.\").nullable(),\n available: z.number().int().describe(\"Remaining API calls available.\").nullable(),\n}).passthrough();\nconst RedcircleApiListDestinations_DestinationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the destination.\").nullable(),\n name: z.string().describe(\"Name of the destination.\").nullable(),\n type: z.string().describe(\"Type of destination.\").nullable(),\n enabled: z.boolean().describe(\"Whether the destination is enabled.\").nullable(),\n used_by: z.number().int().describe(\"Number of entities using this destination.\").nullable(),\n s3_bucket_name: z.string().describe(\"S3 bucket name for the destination.\").nullable().optional(),\n s3_path_prefix: z.string().describe(\"S3 path prefix for the destination.\").nullable().optional(),\n}).passthrough();\nconst RedcircleApiListDestinations_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).passthrough();\nexport const RedcircleApiListDestinationsOutput = z.object({\n usage: RedcircleApiListDestinations_UsageSchema.nullable(),\n destinations: z.array(RedcircleApiListDestinations_DestinationSchema).describe(\"List of destinations configured on the account.\"),\n request_info: RedcircleApiListDestinations_RequestInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for listing destinations.\");\n\nexport const redcircleApiListDestinations = action(\"REDCIRCLE_API_LIST_DESTINATIONS\", {\n slug: \"redcircle_api-list-destinations\",\n name: \"List Destinations\",\n description: \"Tool to retrieve all destinations configured on your RedCircle API account with pagination and filtering. Use when you need to browse or manage destination configurations. Returns 10 destinations per page.\",\n input: RedcircleApiListDestinationsInput,\n output: RedcircleApiListDestinationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACtJ,SAAS,EAAE,KAAK,CAAC,QAAQ,MAAM,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,gBAAgB,EAAE,KAAK,CAAC,aAAa,YAAY,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC1F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iDAAiD,EAAE,OAAO,EAC9D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXgD,EAAE,OAAO;EACzD,OAAO,yCAAyC,SAAS;EACzD,cAAc,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,iDAAiD;EAChI,cAAc,+CAA+C,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-destinations.mjs","names":[],"sources":["../../src/actions/list-destinations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redcircleApi } from \"../app\";\n\nexport const RedcircleApiListDestinationsInput = z.object({\n page: z.number().int().describe(\"Set the page number of Destinations to return. Defaults to page=1. 10 Destinations are returned per page.\").optional(),\n sort_by: z.enum([\"type\", \"name\"]).describe(\"Sort destinations by 'type' or 'name'.\").optional(),\n search_term: z.string().describe(\"Filters results to destinations containing this term in their name.\").optional(),\n sort_direction: z.enum([\"ascending\", \"descending\"]).describe(\"Sort direction: 'ascending' (default) or 'descending'.\").optional(),\n}).describe(\"Request model for listing destinations with pagination and filtering.\");\nconst RedcircleApiListDestinations_UsageSchema = z.object({\n used: z.number().int().describe(\"Number of API calls used.\").nullable(),\n limit: z.number().int().describe(\"Total API call limit.\").nullable(),\n available: z.number().int().describe(\"Remaining API calls available.\").nullable(),\n}).passthrough();\nconst RedcircleApiListDestinations_DestinationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the destination.\").nullable(),\n name: z.string().describe(\"Name of the destination.\").nullable(),\n type: z.string().describe(\"Type of destination.\").nullable(),\n enabled: z.boolean().describe(\"Whether the destination is enabled.\").nullable(),\n used_by: z.number().int().describe(\"Number of entities using this destination.\").nullable(),\n s3_bucket_name: z.string().describe(\"S3 bucket name for the destination.\").nullable().optional(),\n s3_path_prefix: z.string().describe(\"S3 path prefix for the destination.\").nullable().optional(),\n}).passthrough();\nconst RedcircleApiListDestinations_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).passthrough();\nexport const RedcircleApiListDestinationsOutput = z.object({\n usage: RedcircleApiListDestinations_UsageSchema.nullable(),\n destinations: z.array(RedcircleApiListDestinations_DestinationSchema).describe(\"List of destinations configured on the account.\"),\n request_info: RedcircleApiListDestinations_RequestInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for listing destinations.\");\n\nexport const redcircleApiListDestinations: AppAction<\n typeof RedcircleApiListDestinationsInput,\n typeof RedcircleApiListDestinationsOutput,\n typeof redcircleApi.credential\n> = action(\"REDCIRCLE_API_LIST_DESTINATIONS\", {\n slug: \"redcircle_api-list-destinations\",\n name: \"List Destinations\",\n description: \"Tool to retrieve all destinations configured on your RedCircle API account with pagination and filtering. Use when you need to browse or manage destination configurations. Returns 10 destinations per page.\",\n input: RedcircleApiListDestinationsInput,\n output: RedcircleApiListDestinationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;C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f,MAAM,iDAAiD,EAAE,OAAO,EAC9D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfgD,EAAE,OAAO;EACzD,OAAO,yCAAyC,SAAS;EACzD,cAAc,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,iDAAiD;EAChI,cAAc,+CAA+C,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-error-logs.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-error-logs.cjs","names":["z","action"],"sources":["../../src/actions/list-error-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiListErrorLogsInput = z.object({\n page: z.number().int().describe(\"Set the page number of error logs to return, defaults to page=1. 10 error logs are returned per page.\").optional(),\n sort_by: z.string().describe(\"The sort order to apply to the results. Valid values are 'date' (to sort by error log date) or 'count' (to sort by error log count).\").optional(),\n search_term: z.string().describe(\"Limits the error logs returned to just those containing the search_term in their parameters property.\").optional(),\n sort_direction: z.string().describe(\"The sort direction to return results. Valid values are 'descending' or 'ascending' (the default). Use in conjunction with the sort_by parameter.\").optional(),\n}).describe(\"Request model for listing error logs on the account.\");\nconst RedcircleApiListErrorLogs_ErrorLogSchema = z.object({\n id: z.string().describe(\"The unique ID of the error log.\").nullable(),\n date: z.string().describe(\"An ISO date/time stamp of the date of the most recent time this error was seen.\").nullable(),\n count: z.string().describe(\"A count of the total number of times this error was seen.\").nullable(),\n result: z.record(z.string(), z.unknown()).describe(\"An object containing the JSON response the API gave in response to the errored request.\"),\n api_url: z.string().describe(\"The RedCircle API request that caused the errored response. Note that, for security, your API key is removed from the URL.\").nullable(),\n engine_url: z.string().describe(\"The URL that RedCircle API attempted to open on the host website to service this request.\").nullable(),\n parameters: z.record(z.string(), z.unknown()).describe(\"An object containing each of the API request parameters used in the request that generated the error.\"),\n}).passthrough().describe(\"Individual error log entry.\");\nconst RedcircleApiListErrorLogs_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"True/false as to whether the request was successful.\").nullable(),\n}).passthrough().describe(\"Request information containing the status of the request.\");\nexport const RedcircleApiListErrorLogsOutput = z.object({\n logs: z.array(RedcircleApiListErrorLogs_ErrorLogSchema).describe(\"An array of error log objects.\").nullable().optional(),\n page: z.number().int().describe(\"The current page of results.\").nullable().optional(),\n request_info: RedcircleApiListErrorLogs_RequestInfoSchema.nullable(),\n results_count: z.number().int().describe(\"The number of error log results on this page of results.\").nullable().optional(),\n page_count_total: z.number().int().describe(\"The total number of pages of results that are available.\").nullable().optional(),\n results_count_total: z.number().int().describe(\"The total number of error logs on all pages.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing error logs.\");\n\nexport const redcircleApiListErrorLogs = action(\"REDCIRCLE_API_LIST_ERROR_LOGS\", {\n slug: \"redcircle_api-list-error-logs\",\n name: \"List Error Logs\",\n description: \"Tool to list all error logs on your RedCircle API account. Use when you need to retrieve failed API request logs with error details. Results are paginated with 10 error logs per page. Supports filtering by search term and sorting by date or count.\",\n input: RedcircleApiListErrorLogsInput,\n output: RedcircleApiListErrorLogsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAClJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC9K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAc,4CAA4C,SAAS;CACnE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-error-logs.cjs","names":["z","action"],"sources":["../../src/actions/list-error-logs.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redcircleApi } from \"../app\";\n\nexport const RedcircleApiListErrorLogsInput = z.object({\n page: z.number().int().describe(\"Set the page number of error logs to return, defaults to page=1. 10 error logs are returned per page.\").optional(),\n sort_by: z.string().describe(\"The sort order to apply to the results. Valid values are 'date' (to sort by error log date) or 'count' (to sort by error log count).\").optional(),\n search_term: z.string().describe(\"Limits the error logs returned to just those containing the search_term in their parameters property.\").optional(),\n sort_direction: z.string().describe(\"The sort direction to return results. Valid values are 'descending' or 'ascending' (the default). Use in conjunction with the sort_by parameter.\").optional(),\n}).describe(\"Request model for listing error logs on the account.\");\nconst RedcircleApiListErrorLogs_ErrorLogSchema = z.object({\n id: z.string().describe(\"The unique ID of the error log.\").nullable(),\n date: z.string().describe(\"An ISO date/time stamp of the date of the most recent time this error was seen.\").nullable(),\n count: z.string().describe(\"A count of the total number of times this error was seen.\").nullable(),\n result: z.record(z.string(), z.unknown()).describe(\"An object containing the JSON response the API gave in response to the errored request.\"),\n api_url: z.string().describe(\"The RedCircle API request that caused the errored response. Note that, for security, your API key is removed from the URL.\").nullable(),\n engine_url: z.string().describe(\"The URL that RedCircle API attempted to open on the host website to service this request.\").nullable(),\n parameters: z.record(z.string(), z.unknown()).describe(\"An object containing each of the API request parameters used in the request that generated the error.\"),\n}).passthrough().describe(\"Individual error log entry.\");\nconst RedcircleApiListErrorLogs_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"True/false as to whether the request was successful.\").nullable(),\n}).passthrough().describe(\"Request information containing the status of the request.\");\nexport const RedcircleApiListErrorLogsOutput = z.object({\n logs: z.array(RedcircleApiListErrorLogs_ErrorLogSchema).describe(\"An array of error log objects.\").nullable().optional(),\n page: z.number().int().describe(\"The current page of results.\").nullable().optional(),\n request_info: RedcircleApiListErrorLogs_RequestInfoSchema.nullable(),\n results_count: z.number().int().describe(\"The number of error log results on this page of results.\").nullable().optional(),\n page_count_total: z.number().int().describe(\"The total number of pages of results that are available.\").nullable().optional(),\n results_count_total: z.number().int().describe(\"The total number of error logs on all pages.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing error logs.\");\n\nexport const redcircleApiListErrorLogs: AppAction<\n typeof RedcircleApiListErrorLogsInput,\n typeof RedcircleApiListErrorLogsOutput,\n typeof redcircleApi.credential\n> = action(\"REDCIRCLE_API_LIST_ERROR_LOGS\", {\n slug: \"redcircle_api-list-error-logs\",\n name: \"List Error Logs\",\n description: \"Tool to list all error logs on your RedCircle API account. Use when you need to retrieve failed API request logs with error details. Results are paginated with 10 error logs per page. Supports filtering by search term and sorting by date or count.\",\n input: RedcircleApiListErrorLogsInput,\n output: RedcircleApiListErrorLogsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC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E,OAAO;CACtD,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAc,4CAA4C,SAAS;CACnE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { redcircleApi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-error-logs.d.ts
@@ -25,24 +27,7 @@ declare const RedcircleApiListErrorLogsOutput: z.ZodObject<{
25
27
  page_count_total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
28
  results_count_total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
29
  }, z.core.$loose>;
28
- declare const redcircleApiListErrorLogs: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- page?: number | undefined;
30
- sort_by?: string | undefined;
31
- search_term?: string | undefined;
32
- sort_direction?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"redcircle_api", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- generic_api_key: z.ZodString;
39
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"redcircle_api", z.ZodObject<{
40
- connectionId: z.ZodString;
41
- entityId: z.ZodString;
42
- instanceId: z.ZodString;
43
- }, z.core.$strip>, z.ZodObject<{
44
- generic_api_key: z.ZodString;
45
- }, z.core.$strip>>]>;
30
+ declare const redcircleApiListErrorLogs: AppAction<typeof RedcircleApiListErrorLogsInput, typeof RedcircleApiListErrorLogsOutput, typeof redcircleApi.credential>;
46
31
  //#endregion
47
32
  export { redcircleApiListErrorLogs };
48
33
  //# sourceMappingURL=list-error-logs.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-error-logs.d.cts","names":[],"sources":["../../src/actions/list-error-logs.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAkB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"list-error-logs.d.cts","names":[],"sources":["../../src/actions/list-error-logs.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAkB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { redcircleApi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-error-logs.d.ts
@@ -25,24 +27,7 @@ declare const RedcircleApiListErrorLogsOutput: z.ZodObject<{
25
27
  page_count_total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
28
  results_count_total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
29
  }, z.core.$loose>;
28
- declare const redcircleApiListErrorLogs: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- page?: number | undefined;
30
- sort_by?: string | undefined;
31
- search_term?: string | undefined;
32
- sort_direction?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"redcircle_api", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- generic_api_key: z.ZodString;
39
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"redcircle_api", z.ZodObject<{
40
- connectionId: z.ZodString;
41
- entityId: z.ZodString;
42
- instanceId: z.ZodString;
43
- }, z.core.$strip>, z.ZodObject<{
44
- generic_api_key: z.ZodString;
45
- }, z.core.$strip>>]>;
30
+ declare const redcircleApiListErrorLogs: AppAction<typeof RedcircleApiListErrorLogsInput, typeof RedcircleApiListErrorLogsOutput, typeof redcircleApi.credential>;
46
31
  //#endregion
47
32
  export { redcircleApiListErrorLogs };
48
33
  //# sourceMappingURL=list-error-logs.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-error-logs.d.mts","names":[],"sources":["../../src/actions/list-error-logs.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAkB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"list-error-logs.d.mts","names":[],"sources":["../../src/actions/list-error-logs.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAkB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-error-logs.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-error-logs.mjs","names":[],"sources":["../../src/actions/list-error-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiListErrorLogsInput = z.object({\n page: z.number().int().describe(\"Set the page number of error logs to return, defaults to page=1. 10 error logs are returned per page.\").optional(),\n sort_by: z.string().describe(\"The sort order to apply to the results. Valid values are 'date' (to sort by error log date) or 'count' (to sort by error log count).\").optional(),\n search_term: z.string().describe(\"Limits the error logs returned to just those containing the search_term in their parameters property.\").optional(),\n sort_direction: z.string().describe(\"The sort direction to return results. Valid values are 'descending' or 'ascending' (the default). Use in conjunction with the sort_by parameter.\").optional(),\n}).describe(\"Request model for listing error logs on the account.\");\nconst RedcircleApiListErrorLogs_ErrorLogSchema = z.object({\n id: z.string().describe(\"The unique ID of the error log.\").nullable(),\n date: z.string().describe(\"An ISO date/time stamp of the date of the most recent time this error was seen.\").nullable(),\n count: z.string().describe(\"A count of the total number of times this error was seen.\").nullable(),\n result: z.record(z.string(), z.unknown()).describe(\"An object containing the JSON response the API gave in response to the errored request.\"),\n api_url: z.string().describe(\"The RedCircle API request that caused the errored response. Note that, for security, your API key is removed from the URL.\").nullable(),\n engine_url: z.string().describe(\"The URL that RedCircle API attempted to open on the host website to service this request.\").nullable(),\n parameters: z.record(z.string(), z.unknown()).describe(\"An object containing each of the API request parameters used in the request that generated the error.\"),\n}).passthrough().describe(\"Individual error log entry.\");\nconst RedcircleApiListErrorLogs_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"True/false as to whether the request was successful.\").nullable(),\n}).passthrough().describe(\"Request information containing the status of the request.\");\nexport const RedcircleApiListErrorLogsOutput = z.object({\n logs: z.array(RedcircleApiListErrorLogs_ErrorLogSchema).describe(\"An array of error log objects.\").nullable().optional(),\n page: z.number().int().describe(\"The current page of results.\").nullable().optional(),\n request_info: RedcircleApiListErrorLogs_RequestInfoSchema.nullable(),\n results_count: z.number().int().describe(\"The number of error log results on this page of results.\").nullable().optional(),\n page_count_total: z.number().int().describe(\"The total number of pages of results that are available.\").nullable().optional(),\n results_count_total: z.number().int().describe(\"The total number of error logs on all pages.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing error logs.\");\n\nexport const redcircleApiListErrorLogs = action(\"REDCIRCLE_API_LIST_ERROR_LOGS\", {\n slug: \"redcircle_api-list-error-logs\",\n name: \"List Error Logs\",\n description: \"Tool to list all error logs on your RedCircle API account. Use when you need to retrieve failed API request logs with error details. Results are paginated with 10 error logs per page. Supports filtering by search term and sorting by date or count.\",\n input: RedcircleApiListErrorLogsInput,\n output: RedcircleApiListErrorLogsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAClJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC9K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACnJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;AACnM,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACtH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EA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.mjs","names":[],"sources":["../../src/actions/list-error-logs.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redcircleApi } from \"../app\";\n\nexport const RedcircleApiListErrorLogsInput = z.object({\n page: z.number().int().describe(\"Set the page number of error logs to return, defaults to page=1. 10 error logs are returned per page.\").optional(),\n sort_by: z.string().describe(\"The sort order to apply to the results. Valid values are 'date' (to sort by error log date) or 'count' (to sort by error log count).\").optional(),\n search_term: z.string().describe(\"Limits the error logs returned to just those containing the search_term in their parameters property.\").optional(),\n sort_direction: z.string().describe(\"The sort direction to return results. Valid values are 'descending' or 'ascending' (the default). Use in conjunction with the sort_by parameter.\").optional(),\n}).describe(\"Request model for listing error logs on the account.\");\nconst RedcircleApiListErrorLogs_ErrorLogSchema = z.object({\n id: z.string().describe(\"The unique ID of the error log.\").nullable(),\n date: z.string().describe(\"An ISO date/time stamp of the date of the most recent time this error was seen.\").nullable(),\n count: z.string().describe(\"A count of the total number of times this error was seen.\").nullable(),\n result: z.record(z.string(), z.unknown()).describe(\"An object containing the JSON response the API gave in response to the errored request.\"),\n api_url: z.string().describe(\"The RedCircle API request that caused the errored response. Note that, for security, your API key is removed from the URL.\").nullable(),\n engine_url: z.string().describe(\"The URL that RedCircle API attempted to open on the host website to service this request.\").nullable(),\n parameters: z.record(z.string(), z.unknown()).describe(\"An object containing each of the API request parameters used in the request that generated the error.\"),\n}).passthrough().describe(\"Individual error log entry.\");\nconst RedcircleApiListErrorLogs_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"True/false as to whether the request was successful.\").nullable(),\n}).passthrough().describe(\"Request information containing the status of the request.\");\nexport const RedcircleApiListErrorLogsOutput = z.object({\n logs: z.array(RedcircleApiListErrorLogs_ErrorLogSchema).describe(\"An array of error log objects.\").nullable().optional(),\n page: z.number().int().describe(\"The current page of results.\").nullable().optional(),\n request_info: RedcircleApiListErrorLogs_RequestInfoSchema.nullable(),\n results_count: z.number().int().describe(\"The number of error log results on this page of results.\").nullable().optional(),\n page_count_total: z.number().int().describe(\"The total number of pages of results that are available.\").nullable().optional(),\n results_count_total: z.number().int().describe(\"The total number of error logs on all pages.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing error logs.\");\n\nexport const redcircleApiListErrorLogs: AppAction<\n typeof RedcircleApiListErrorLogsInput,\n typeof RedcircleApiListErrorLogsOutput,\n typeof redcircleApi.credential\n> = action(\"REDCIRCLE_API_LIST_ERROR_LOGS\", {\n slug: \"redcircle_api-list-error-logs\",\n name: \"List Error Logs\",\n description: \"Tool to list all error logs on your RedCircle API account. Use when you need to retrieve failed API request logs with error details. Results are paginated with 10 error logs per page. Supports filtering by search term and sorting by date or count.\",\n input: RedcircleApiListErrorLogsInput,\n output: RedcircleApiListErrorLogsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAClJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC9K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACnJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;AACnM,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACtH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yFAAyF;CAC5I,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od");
3
4
  //#region src/actions/list-requests-by-page.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-requests-by-page.cjs","names":["z","action"],"sources":["../../src/actions/list-requests-by-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiListRequestsByPageInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1, max 1000 requests per page)\"),\n collection_id: z.string().describe(\"The collection identifier\"),\n}).describe(\"Request parameters for retrieving paginated requests from a collection.\");\nconst RedcircleApiListRequestsByPage_RequestItemSchema = z.object({\n id: z.string().describe(\"System-generated request identifier\").nullable(),\n tcin: z.string().describe(\"Target product identifier\").nullable().optional(),\n type: z.string().describe(\"Request type (e.g., 'product')\").nullable(),\n custom_id: z.string().describe(\"User-defined request identifier\").nullable().optional(),\n}).passthrough().describe(\"Details of a single request in the collection.\");\nconst RedcircleApiListRequestsByPage_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Operation status indicator\").nullable(),\n}).passthrough().describe(\"Operation status information.\");\nexport const RedcircleApiListRequestsByPageOutput = z.object({\n requests: z.array(RedcircleApiListRequestsByPage_RequestItemSchema).describe(\"Array of request objects (max 1000 per page)\"),\n request_info: RedcircleApiListRequestsByPage_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier\").nullable(),\n requests_page_count: z.number().int().describe(\"Total number of pages available\").nullable(),\n requests_page_current: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Response model for paginated collection requests.\");\n\nexport const redcircleApiListRequestsByPage = action(\"REDCIRCLE_API_LIST_REQUESTS_BY_PAGE\", {\n slug: \"redcircle_api-list-requests-by-page\",\n name: \"List Requests by Page\",\n description: \"Tool to retrieve requests for a collection in paginated format. Use when you need to access collection requests with pagination support (max 1000 requests per page).\",\n input: RedcircleApiListRequestsByPageInput,\n output: RedcircleApiListRequestsByPageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CA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CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-requests-by-page.cjs","names":["z","action"],"sources":["../../src/actions/list-requests-by-page.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redcircleApi } from \"../app\";\n\nexport const RedcircleApiListRequestsByPageInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1, max 1000 requests per page)\"),\n collection_id: z.string().describe(\"The collection identifier\"),\n}).describe(\"Request parameters for retrieving paginated requests from a collection.\");\nconst RedcircleApiListRequestsByPage_RequestItemSchema = z.object({\n id: z.string().describe(\"System-generated request identifier\").nullable(),\n tcin: z.string().describe(\"Target product identifier\").nullable().optional(),\n type: z.string().describe(\"Request type (e.g., 'product')\").nullable(),\n custom_id: z.string().describe(\"User-defined request identifier\").nullable().optional(),\n}).passthrough().describe(\"Details of a single request in the collection.\");\nconst RedcircleApiListRequestsByPage_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Operation status indicator\").nullable(),\n}).passthrough().describe(\"Operation status information.\");\nexport const RedcircleApiListRequestsByPageOutput = z.object({\n requests: z.array(RedcircleApiListRequestsByPage_RequestItemSchema).describe(\"Array of request objects (max 1000 per page)\"),\n request_info: RedcircleApiListRequestsByPage_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier\").nullable(),\n requests_page_count: z.number().int().describe(\"Total number of pages available\").nullable(),\n requests_page_current: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Response model for paginated collection requests.\");\n\nexport const redcircleApiListRequestsByPage: AppAction<\n typeof RedcircleApiListRequestsByPageInput,\n typeof RedcircleApiListRequestsByPageOutput,\n typeof redcircleApi.credential\n> = action(\"REDCIRCLE_API_LIST_REQUESTS_BY_PAGE\", {\n slug: \"redcircle_api-list-requests-by-page\",\n name: \"List Requests by Page\",\n description: \"Tool to retrieve requests for a collection in paginated format. Use when you need to access collection requests with pagination support (max 1000 requests per page).\",\n input: RedcircleApiListRequestsByPageInput,\n output: RedcircleApiListRequestsByPageOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;AAChE,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,UAAUA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,8CAA8C;CAC3H,cAAc,iDAAiD,SAAS;CACxE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACzE,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3F,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,iCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { redcircleApi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-requests-by-page.d.ts
@@ -19,22 +21,7 @@ declare const RedcircleApiListRequestsByPageOutput: z.ZodObject<{
19
21
  requests_page_count: z.ZodNullable<z.ZodNumber>;
20
22
  requests_page_current: z.ZodNullable<z.ZodNumber>;
21
23
  }, z.core.$loose>;
22
- declare const redcircleApiListRequestsByPage: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- page: number;
24
- collection_id: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"redcircle_api", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"redcircle_api", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- generic_api_key: z.ZodString;
37
- }, z.core.$strip>>]>;
24
+ declare const redcircleApiListRequestsByPage: AppAction<typeof RedcircleApiListRequestsByPageInput, typeof RedcircleApiListRequestsByPageOutput, typeof redcircleApi.credential>;
38
25
  //#endregion
39
26
  export { redcircleApiListRequestsByPage };
40
27
  //# sourceMappingURL=list-requests-by-page.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-requests-by-page.d.cts","names":[],"sources":["../../src/actions/list-requests-by-page.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAanC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"list-requests-by-page.d.cts","names":[],"sources":["../../src/actions/list-requests-by-page.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAanC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { redcircleApi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-requests-by-page.d.ts
@@ -19,22 +21,7 @@ declare const RedcircleApiListRequestsByPageOutput: z.ZodObject<{
19
21
  requests_page_count: z.ZodNullable<z.ZodNumber>;
20
22
  requests_page_current: z.ZodNullable<z.ZodNumber>;
21
23
  }, z.core.$loose>;
22
- declare const redcircleApiListRequestsByPage: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- page: number;
24
- collection_id: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"redcircle_api", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"redcircle_api", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- generic_api_key: z.ZodString;
37
- }, z.core.$strip>>]>;
24
+ declare const redcircleApiListRequestsByPage: AppAction<typeof RedcircleApiListRequestsByPageInput, typeof RedcircleApiListRequestsByPageOutput, typeof redcircleApi.credential>;
38
25
  //#endregion
39
26
  export { redcircleApiListRequestsByPage };
40
27
  //# sourceMappingURL=list-requests-by-page.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-requests-by-page.d.mts","names":[],"sources":["../../src/actions/list-requests-by-page.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAanC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"list-requests-by-page.d.mts","names":[],"sources":["../../src/actions/list-requests-by-page.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAanC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-requests-by-page.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-requests-by-page.mjs","names":[],"sources":["../../src/actions/list-requests-by-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiListRequestsByPageInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1, max 1000 requests per page)\"),\n collection_id: z.string().describe(\"The collection identifier\"),\n}).describe(\"Request parameters for retrieving paginated requests from a collection.\");\nconst RedcircleApiListRequestsByPage_RequestItemSchema = z.object({\n id: z.string().describe(\"System-generated request identifier\").nullable(),\n tcin: z.string().describe(\"Target product identifier\").nullable().optional(),\n type: z.string().describe(\"Request type (e.g., 'product')\").nullable(),\n custom_id: z.string().describe(\"User-defined request identifier\").nullable().optional(),\n}).passthrough().describe(\"Details of a single request in the collection.\");\nconst RedcircleApiListRequestsByPage_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Operation status indicator\").nullable(),\n}).passthrough().describe(\"Operation status information.\");\nexport const RedcircleApiListRequestsByPageOutput = z.object({\n requests: z.array(RedcircleApiListRequestsByPage_RequestItemSchema).describe(\"Array of request objects (max 1000 per page)\"),\n request_info: RedcircleApiListRequestsByPage_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier\").nullable(),\n requests_page_count: z.number().int().describe(\"Total number of pages available\").nullable(),\n requests_page_current: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Response model for paginated collection requests.\");\n\nexport const redcircleApiListRequestsByPage = action(\"REDCIRCLE_API_LIST_REQUESTS_BY_PAGE\", {\n slug: \"redcircle_api-list-requests-by-page\",\n name: \"List Requests by Page\",\n description: \"Tool to retrieve requests for a collection in paginated format. Use when you need to access collection requests with pagination support (max 1000 requests per page).\",\n input: RedcircleApiListRequestsByPageInput,\n output: RedcircleApiListRequestsByPageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE;CACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;AAChE,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,mDAAmD,EAAE,OAAO,EAChE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AASzD,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkD,EAAE,OAAO;EAC3D,UAAU,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,8CAA8C;EAC3H,cAAc,iDAAiD,SAAS;EACxE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACzE,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC3F,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-requests-by-page.mjs","names":[],"sources":["../../src/actions/list-requests-by-page.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redcircleApi } from \"../app\";\n\nexport const RedcircleApiListRequestsByPageInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1, max 1000 requests per page)\"),\n collection_id: z.string().describe(\"The collection identifier\"),\n}).describe(\"Request parameters for retrieving paginated requests from a collection.\");\nconst RedcircleApiListRequestsByPage_RequestItemSchema = z.object({\n id: z.string().describe(\"System-generated request identifier\").nullable(),\n tcin: z.string().describe(\"Target product identifier\").nullable().optional(),\n type: z.string().describe(\"Request type (e.g., 'product')\").nullable(),\n custom_id: z.string().describe(\"User-defined request identifier\").nullable().optional(),\n}).passthrough().describe(\"Details of a single request in the collection.\");\nconst RedcircleApiListRequestsByPage_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Operation status indicator\").nullable(),\n}).passthrough().describe(\"Operation status information.\");\nexport const RedcircleApiListRequestsByPageOutput = z.object({\n requests: z.array(RedcircleApiListRequestsByPage_RequestItemSchema).describe(\"Array of request objects (max 1000 per page)\"),\n request_info: RedcircleApiListRequestsByPage_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier\").nullable(),\n requests_page_count: z.number().int().describe(\"Total number of pages available\").nullable(),\n requests_page_current: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Response model for paginated collection requests.\");\n\nexport const redcircleApiListRequestsByPage: AppAction<\n typeof RedcircleApiListRequestsByPageInput,\n typeof RedcircleApiListRequestsByPageOutput,\n typeof redcircleApi.credential\n> = action(\"REDCIRCLE_API_LIST_REQUESTS_BY_PAGE\", {\n slug: \"redcircle_api-list-requests-by-page\",\n name: \"List Requests by Page\",\n description: \"Tool to retrieve requests for a collection in paginated format. Use when you need to access collection requests with pagination support (max 1000 requests per page).\",\n input: RedcircleApiListRequestsByPageInput,\n output: RedcircleApiListRequestsByPageOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE;CACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;AAChE,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,mDAAmD,EAAE,OAAO,EAChE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AASzD,MAAa,iCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBkD,EAAE,OAAO;EAC3D,UAAU,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,8CAA8C;EAC3H,cAAc,iDAAiD,SAAS;EACxE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACzE,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC3F,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-result-sets.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-result-sets.cjs","names":["z","action"],"sources":["../../src/actions/list-result-sets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiListResultSetsInput = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve result sets for.\"),\n}).describe(\"Request model for listing all result sets for a collection.\");\nconst RedcircleApiListResultSets_WebhookStatusSchema = z.record(z.string(), z.unknown()).describe(\"Webhook delivery status object.\");\nconst RedcircleApiListResultSets_DestinationStatusSchema = z.record(z.string(), z.unknown()).describe(\"Destination upload status object.\");\nconst RedcircleApiListResultSets_ResultSetSchema = z.object({\n id: z.number().int().describe(\"Unique result set identifier.\").nullable(),\n ended_at: z.string().describe(\"Execution completion timestamp (ISO8601).\").nullable(),\n expires_at: z.string().describe(\"Data retention expiration date (ISO8601, 14-day retention).\").nullable(),\n started_at: z.string().describe(\"Execution start timestamp (ISO8601).\").nullable(),\n requests_total: z.number().int().describe(\"Total number of requests in this set.\").nullable(),\n webhook_status: RedcircleApiListResultSets_WebhookStatusSchema.nullable().optional(),\n requests_failed: z.number().int().describe(\"Number of failed requests.\").nullable(),\n destination_status: RedcircleApiListResultSets_DestinationStatusSchema.nullable().optional(),\n requests_completed: z.number().int().describe(\"Number of successfully processed requests.\").nullable(),\n results_page_count: z.number().int().describe(\"Number of result pages in this set.\").nullable(),\n}).passthrough().describe(\"Individual result set object.\");\nconst RedcircleApiListResultSets_CollectionSchema = z.object({\n id: z.string().describe(\"Unique collection identifier.\").nullable(),\n name: z.string().describe(\"Name of the collection.\").nullable(),\n status: z.string().describe(\"Current collection status.\").nullable(),\n enabled: z.boolean().describe(\"Whether collection is active.\").nullable(),\n created_at: z.string().describe(\"Collection creation timestamp (ISO8601).\").nullable(),\n results_count: z.number().int().describe(\"Total result sets count.\").nullable(),\n schedule_type: z.string().describe(\"Type of scheduling configuration.\").nullable(),\n schedule_hours: z.array(z.number().int()).describe(\"Scheduled execution hours (0-23).\").nullable().optional(),\n notification_email: z.string().describe(\"Email for notifications.\").nullable().optional(),\n notification_as_csv: z.boolean().describe(\"CSV notification format flag.\").nullable().optional(),\n requests_page_count: z.number().int().describe(\"Number of request pages.\").nullable(),\n notification_as_json: z.boolean().describe(\"JSON notification format flag.\").nullable().optional(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection.\").nullable(),\n notification_as_jsonlines: z.boolean().describe(\"JSONLINES notification format flag.\").nullable().optional(),\n}).passthrough().describe(\"Collection metadata object.\");\nconst RedcircleApiListResultSets_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).passthrough().describe(\"Request information object.\");\nexport const RedcircleApiListResultSetsOutput = z.object({\n results: z.array(RedcircleApiListResultSets_ResultSetSchema).describe(\"Array of result set objects, sorted by most recent first.\"),\n collection: RedcircleApiListResultSets_CollectionSchema.nullable(),\n request_info: RedcircleApiListResultSets_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The ID of the collection.\").nullable(),\n results_count: z.number().int().describe(\"Number of result sets returned.\").nullable(),\n}).passthrough().describe(\"Response model for listing result sets. Contains collection metadata and array of result sets.\");\n\nexport const redcircleApiListResultSets = action(\"REDCIRCLE_API_LIST_RESULT_SETS\", {\n slug: \"redcircle_api-list-result-sets\",\n name: \"List Result Sets\",\n description: \"Tool to list all result sets for a collection. Use when you need to retrieve execution history and results for a specific collection. Note: result sets have 14-day retention.\",\n input: RedcircleApiListResultSetsInput,\n output: RedcircleApiListResultSetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EAC3G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,iDAAiDA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC;AACnI,MAAM,qDAAqDA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC;AACzI,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC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jI,YAAY,4CAA4C,SAAS;CACjE,cAAc,6CAA6C,SAAS;CACpE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gGAAgG;AAE1H,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-result-sets.cjs","names":["z","action"],"sources":["../../src/actions/list-result-sets.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redcircleApi } from \"../app\";\n\nexport const RedcircleApiListResultSetsInput = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve result sets for.\"),\n}).describe(\"Request model for listing all result sets for a collection.\");\nconst RedcircleApiListResultSets_WebhookStatusSchema = z.record(z.string(), z.unknown()).describe(\"Webhook delivery status object.\");\nconst RedcircleApiListResultSets_DestinationStatusSchema = z.record(z.string(), z.unknown()).describe(\"Destination upload status object.\");\nconst RedcircleApiListResultSets_ResultSetSchema = z.object({\n id: z.number().int().describe(\"Unique result set identifier.\").nullable(),\n ended_at: z.string().describe(\"Execution completion timestamp (ISO8601).\").nullable(),\n expires_at: z.string().describe(\"Data retention expiration date (ISO8601, 14-day retention).\").nullable(),\n started_at: z.string().describe(\"Execution start timestamp (ISO8601).\").nullable(),\n requests_total: z.number().int().describe(\"Total number of requests in this set.\").nullable(),\n webhook_status: RedcircleApiListResultSets_WebhookStatusSchema.nullable().optional(),\n requests_failed: z.number().int().describe(\"Number of failed requests.\").nullable(),\n destination_status: RedcircleApiListResultSets_DestinationStatusSchema.nullable().optional(),\n requests_completed: z.number().int().describe(\"Number of successfully processed requests.\").nullable(),\n results_page_count: z.number().int().describe(\"Number of result pages in this set.\").nullable(),\n}).passthrough().describe(\"Individual result set object.\");\nconst RedcircleApiListResultSets_CollectionSchema = z.object({\n id: z.string().describe(\"Unique collection identifier.\").nullable(),\n name: z.string().describe(\"Name of the collection.\").nullable(),\n status: z.string().describe(\"Current collection status.\").nullable(),\n enabled: z.boolean().describe(\"Whether collection is active.\").nullable(),\n created_at: z.string().describe(\"Collection creation timestamp (ISO8601).\").nullable(),\n results_count: z.number().int().describe(\"Total result sets count.\").nullable(),\n schedule_type: z.string().describe(\"Type of scheduling configuration.\").nullable(),\n schedule_hours: z.array(z.number().int()).describe(\"Scheduled execution hours (0-23).\").nullable().optional(),\n notification_email: z.string().describe(\"Email for notifications.\").nullable().optional(),\n notification_as_csv: z.boolean().describe(\"CSV notification format flag.\").nullable().optional(),\n requests_page_count: z.number().int().describe(\"Number of request pages.\").nullable(),\n notification_as_json: z.boolean().describe(\"JSON notification format flag.\").nullable().optional(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection.\").nullable(),\n notification_as_jsonlines: z.boolean().describe(\"JSONLINES notification format flag.\").nullable().optional(),\n}).passthrough().describe(\"Collection metadata object.\");\nconst RedcircleApiListResultSets_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).passthrough().describe(\"Request information object.\");\nexport const RedcircleApiListResultSetsOutput = z.object({\n results: z.array(RedcircleApiListResultSets_ResultSetSchema).describe(\"Array of result set objects, sorted by most recent first.\"),\n collection: RedcircleApiListResultSets_CollectionSchema.nullable(),\n request_info: RedcircleApiListResultSets_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The ID of the collection.\").nullable(),\n results_count: z.number().int().describe(\"Number of result sets returned.\").nullable(),\n}).passthrough().describe(\"Response model for listing result sets. Contains collection metadata and array of result sets.\");\n\nexport const redcircleApiListResultSets: AppAction<\n typeof RedcircleApiListResultSetsInput,\n typeof RedcircleApiListResultSetsOutput,\n typeof redcircleApi.credential\n> = action(\"REDCIRCLE_API_LIST_RESULT_SETS\", {\n slug: \"redcircle_api-list-result-sets\",\n name: \"List Result Sets\",\n description: \"Tool to list all result sets for a collection. Use when you need to retrieve execution history and results for a specific collection. Note: result sets have 14-day retention.\",\n input: RedcircleApiListResultSetsInput,\n output: RedcircleApiListResultSetsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EAC3G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,iDAAiDA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC;AACnI,MAAM,qDAAqDA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC;AACzI,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5F,gBAAgB,+CAA+C,SAAS,CAAC,CAAC,SAAS;CACnF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAA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
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-result-sets.d.ts
@@ -39,21 +41,7 @@ declare const RedcircleApiListResultSetsOutput: z.ZodObject<{
39
41
  collection_id: z.ZodNullable<z.ZodString>;
40
42
  results_count: z.ZodNullable<z.ZodNumber>;
41
43
  }, z.core.$loose>;
42
- declare const redcircleApiListResultSets: import("@keystrokehq/action").WorkflowActionDefinition<{
43
- collection_id: string;
44
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"redcircle_api", z.ZodObject<{
45
- connectionId: z.ZodString;
46
- entityId: z.ZodString;
47
- instanceId: z.ZodString;
48
- }, z.core.$strip>, z.ZodObject<{
49
- generic_api_key: z.ZodString;
50
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"redcircle_api", z.ZodObject<{
51
- connectionId: z.ZodString;
52
- entityId: z.ZodString;
53
- instanceId: z.ZodString;
54
- }, z.core.$strip>, z.ZodObject<{
55
- generic_api_key: z.ZodString;
56
- }, z.core.$strip>>]>;
44
+ declare const redcircleApiListResultSets: AppAction<typeof RedcircleApiListResultSetsInput, typeof RedcircleApiListResultSetsOutput, typeof redcircleApi.credential>;
57
45
  //#endregion
58
46
  export { redcircleApiListResultSets };
59
47
  //# sourceMappingURL=list-result-sets.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-result-sets.d.cts","names":[],"sources":["../../src/actions/list-result-sets.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAoC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"list-result-sets.d.cts","names":[],"sources":["../../src/actions/list-result-sets.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAoC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,YAAA,CAAa,UAAA"}