@keystrokehq/redcircle_api 0.1.2 → 0.1.4

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 (199) hide show
  1. package/dist/actions/add-zipcodes.cjs +3 -3
  2. package/dist/actions/add-zipcodes.cjs.map +1 -1
  3. package/dist/actions/add-zipcodes.d.cts +4 -3
  4. package/dist/actions/add-zipcodes.d.mts +4 -3
  5. package/dist/actions/add-zipcodes.mjs +3 -3
  6. package/dist/actions/add-zipcodes.mjs.map +1 -1
  7. package/dist/actions/clear-collection-requests.cjs +2 -2
  8. package/dist/actions/clear-collection-requests.cjs.map +1 -1
  9. package/dist/actions/clear-collection-requests.d.cts +2 -2
  10. package/dist/actions/clear-collection-requests.d.mts +2 -2
  11. package/dist/actions/clear-collection-requests.mjs +2 -2
  12. package/dist/actions/clear-collection-requests.mjs.map +1 -1
  13. package/dist/actions/create-collection.cjs +3 -3
  14. package/dist/actions/create-collection.cjs.map +1 -1
  15. package/dist/actions/create-collection.d.cts +3 -3
  16. package/dist/actions/create-collection.d.mts +3 -3
  17. package/dist/actions/create-collection.mjs +3 -3
  18. package/dist/actions/create-collection.mjs.map +1 -1
  19. package/dist/actions/create-destination.cjs +3 -3
  20. package/dist/actions/create-destination.cjs.map +1 -1
  21. package/dist/actions/create-destination.d.cts +3 -3
  22. package/dist/actions/create-destination.d.mts +3 -3
  23. package/dist/actions/create-destination.mjs +3 -3
  24. package/dist/actions/create-destination.mjs.map +1 -1
  25. package/dist/actions/create-requests.cjs +4 -4
  26. package/dist/actions/create-requests.cjs.map +1 -1
  27. package/dist/actions/create-requests.d.cts +5 -4
  28. package/dist/actions/create-requests.d.mts +5 -4
  29. package/dist/actions/create-requests.mjs +4 -4
  30. package/dist/actions/create-requests.mjs.map +1 -1
  31. package/dist/actions/delete-collection.cjs +2 -2
  32. package/dist/actions/delete-collection.cjs.map +1 -1
  33. package/dist/actions/delete-collection.d.cts +2 -2
  34. package/dist/actions/delete-collection.d.mts +2 -2
  35. package/dist/actions/delete-collection.mjs +2 -2
  36. package/dist/actions/delete-collection.mjs.map +1 -1
  37. package/dist/actions/delete-destination.cjs +2 -2
  38. package/dist/actions/delete-destination.cjs.map +1 -1
  39. package/dist/actions/delete-destination.d.cts +2 -2
  40. package/dist/actions/delete-destination.d.mts +2 -2
  41. package/dist/actions/delete-destination.mjs +2 -2
  42. package/dist/actions/delete-destination.mjs.map +1 -1
  43. package/dist/actions/delete-request.cjs +2 -2
  44. package/dist/actions/delete-request.cjs.map +1 -1
  45. package/dist/actions/delete-request.d.cts +2 -2
  46. package/dist/actions/delete-request.d.mts +2 -2
  47. package/dist/actions/delete-request.mjs +2 -2
  48. package/dist/actions/delete-request.mjs.map +1 -1
  49. package/dist/actions/delete-requests-bulk.cjs +2 -2
  50. package/dist/actions/delete-requests-bulk.cjs.map +1 -1
  51. package/dist/actions/delete-requests-bulk.d.cts +2 -2
  52. package/dist/actions/delete-requests-bulk.d.mts +2 -2
  53. package/dist/actions/delete-requests-bulk.mjs +2 -2
  54. package/dist/actions/delete-requests-bulk.mjs.map +1 -1
  55. package/dist/actions/delete-zipcodes.cjs +3 -3
  56. package/dist/actions/delete-zipcodes.cjs.map +1 -1
  57. package/dist/actions/delete-zipcodes.d.cts +4 -3
  58. package/dist/actions/delete-zipcodes.d.mts +4 -3
  59. package/dist/actions/delete-zipcodes.mjs +3 -3
  60. package/dist/actions/delete-zipcodes.mjs.map +1 -1
  61. package/dist/actions/get-account.cjs +5 -5
  62. package/dist/actions/get-account.cjs.map +1 -1
  63. package/dist/actions/get-account.d.cts +5 -5
  64. package/dist/actions/get-account.d.mts +5 -5
  65. package/dist/actions/get-account.mjs +5 -5
  66. package/dist/actions/get-account.mjs.map +1 -1
  67. package/dist/actions/get-collection.cjs +3 -3
  68. package/dist/actions/get-collection.cjs.map +1 -1
  69. package/dist/actions/get-collection.d.cts +3 -3
  70. package/dist/actions/get-collection.d.mts +3 -3
  71. package/dist/actions/get-collection.mjs +3 -3
  72. package/dist/actions/get-collection.mjs.map +1 -1
  73. package/dist/actions/get-requests-csv-links.cjs +3 -3
  74. package/dist/actions/get-requests-csv-links.cjs.map +1 -1
  75. package/dist/actions/get-requests-csv-links.d.cts +3 -3
  76. package/dist/actions/get-requests-csv-links.d.mts +3 -3
  77. package/dist/actions/get-requests-csv-links.mjs +3 -3
  78. package/dist/actions/get-requests-csv-links.mjs.map +1 -1
  79. package/dist/actions/get-requests-json-links.cjs +3 -3
  80. package/dist/actions/get-requests-json-links.cjs.map +1 -1
  81. package/dist/actions/get-requests-json-links.d.cts +3 -3
  82. package/dist/actions/get-requests-json-links.d.mts +3 -3
  83. package/dist/actions/get-requests-json-links.mjs +3 -3
  84. package/dist/actions/get-requests-json-links.mjs.map +1 -1
  85. package/dist/actions/get-result-set-csv.cjs +8 -8
  86. package/dist/actions/get-result-set-csv.cjs.map +1 -1
  87. package/dist/actions/get-result-set-csv.d.cts +8 -8
  88. package/dist/actions/get-result-set-csv.d.mts +8 -8
  89. package/dist/actions/get-result-set-csv.mjs +8 -8
  90. package/dist/actions/get-result-set-csv.mjs.map +1 -1
  91. package/dist/actions/get-result-set-json.cjs +4 -4
  92. package/dist/actions/get-result-set-json.cjs.map +1 -1
  93. package/dist/actions/get-result-set-json.d.cts +4 -4
  94. package/dist/actions/get-result-set-json.d.mts +4 -4
  95. package/dist/actions/get-result-set-json.mjs +4 -4
  96. package/dist/actions/get-result-set-json.mjs.map +1 -1
  97. package/dist/actions/get-result-set-jsonlines.cjs +11 -11
  98. package/dist/actions/get-result-set-jsonlines.cjs.map +1 -1
  99. package/dist/actions/get-result-set-jsonlines.d.cts +11 -11
  100. package/dist/actions/get-result-set-jsonlines.d.mts +11 -11
  101. package/dist/actions/get-result-set-jsonlines.mjs +11 -11
  102. package/dist/actions/get-result-set-jsonlines.mjs.map +1 -1
  103. package/dist/actions/get-target-product-data.cjs +17 -17
  104. package/dist/actions/get-target-product-data.cjs.map +1 -1
  105. package/dist/actions/get-target-product-data.d.cts +22 -22
  106. package/dist/actions/get-target-product-data.d.mts +22 -22
  107. package/dist/actions/get-target-product-data.mjs +17 -17
  108. package/dist/actions/get-target-product-data.mjs.map +1 -1
  109. package/dist/actions/list-categories.cjs +3 -3
  110. package/dist/actions/list-categories.cjs.map +1 -1
  111. package/dist/actions/list-categories.d.cts +6 -6
  112. package/dist/actions/list-categories.d.mts +6 -6
  113. package/dist/actions/list-categories.mjs +3 -3
  114. package/dist/actions/list-categories.mjs.map +1 -1
  115. package/dist/actions/list-collections.cjs +3 -3
  116. package/dist/actions/list-collections.cjs.map +1 -1
  117. package/dist/actions/list-collections.d.cts +5 -5
  118. package/dist/actions/list-collections.d.mts +5 -5
  119. package/dist/actions/list-collections.mjs +3 -3
  120. package/dist/actions/list-collections.mjs.map +1 -1
  121. package/dist/actions/list-destinations.cjs +4 -4
  122. package/dist/actions/list-destinations.cjs.map +1 -1
  123. package/dist/actions/list-destinations.d.cts +4 -4
  124. package/dist/actions/list-destinations.d.mts +4 -4
  125. package/dist/actions/list-destinations.mjs +4 -4
  126. package/dist/actions/list-destinations.mjs.map +1 -1
  127. package/dist/actions/list-error-logs.cjs +5 -5
  128. package/dist/actions/list-error-logs.cjs.map +1 -1
  129. package/dist/actions/list-error-logs.d.cts +5 -5
  130. package/dist/actions/list-error-logs.d.mts +5 -5
  131. package/dist/actions/list-error-logs.mjs +5 -5
  132. package/dist/actions/list-error-logs.mjs.map +1 -1
  133. package/dist/actions/list-requests-by-page.cjs +3 -3
  134. package/dist/actions/list-requests-by-page.cjs.map +1 -1
  135. package/dist/actions/list-requests-by-page.d.cts +3 -3
  136. package/dist/actions/list-requests-by-page.d.mts +3 -3
  137. package/dist/actions/list-requests-by-page.mjs +3 -3
  138. package/dist/actions/list-requests-by-page.mjs.map +1 -1
  139. package/dist/actions/list-result-sets.cjs +6 -6
  140. package/dist/actions/list-result-sets.cjs.map +1 -1
  141. package/dist/actions/list-result-sets.d.cts +6 -6
  142. package/dist/actions/list-result-sets.d.mts +6 -6
  143. package/dist/actions/list-result-sets.mjs +6 -6
  144. package/dist/actions/list-result-sets.mjs.map +1 -1
  145. package/dist/actions/list-zipcodes.cjs +4 -4
  146. package/dist/actions/list-zipcodes.cjs.map +1 -1
  147. package/dist/actions/list-zipcodes.d.cts +4 -4
  148. package/dist/actions/list-zipcodes.d.mts +4 -4
  149. package/dist/actions/list-zipcodes.mjs +4 -4
  150. package/dist/actions/list-zipcodes.mjs.map +1 -1
  151. package/dist/actions/resend-webhook.cjs +2 -2
  152. package/dist/actions/resend-webhook.cjs.map +1 -1
  153. package/dist/actions/resend-webhook.d.cts +2 -2
  154. package/dist/actions/resend-webhook.d.mts +2 -2
  155. package/dist/actions/resend-webhook.mjs +2 -2
  156. package/dist/actions/resend-webhook.mjs.map +1 -1
  157. package/dist/actions/start-collection.cjs +1 -1
  158. package/dist/actions/start-collection.cjs.map +1 -1
  159. package/dist/actions/start-collection.d.cts +1 -1
  160. package/dist/actions/start-collection.d.mts +1 -1
  161. package/dist/actions/start-collection.mjs +1 -1
  162. package/dist/actions/start-collection.mjs.map +1 -1
  163. package/dist/actions/stop-all-collections.cjs +2 -2
  164. package/dist/actions/stop-all-collections.cjs.map +1 -1
  165. package/dist/actions/stop-all-collections.d.cts +2 -2
  166. package/dist/actions/stop-all-collections.d.mts +2 -2
  167. package/dist/actions/stop-all-collections.mjs +2 -2
  168. package/dist/actions/stop-all-collections.mjs.map +1 -1
  169. package/dist/actions/stop-collection.cjs +1 -1
  170. package/dist/actions/stop-collection.cjs.map +1 -1
  171. package/dist/actions/stop-collection.d.cts +1 -1
  172. package/dist/actions/stop-collection.d.mts +1 -1
  173. package/dist/actions/stop-collection.mjs +1 -1
  174. package/dist/actions/stop-collection.mjs.map +1 -1
  175. package/dist/actions/update-collection.cjs +3 -3
  176. package/dist/actions/update-collection.cjs.map +1 -1
  177. package/dist/actions/update-collection.d.cts +3 -3
  178. package/dist/actions/update-collection.d.mts +3 -3
  179. package/dist/actions/update-collection.mjs +3 -3
  180. package/dist/actions/update-collection.mjs.map +1 -1
  181. package/dist/actions/update-destination.cjs +3 -3
  182. package/dist/actions/update-destination.cjs.map +1 -1
  183. package/dist/actions/update-destination.d.cts +3 -3
  184. package/dist/actions/update-destination.d.mts +3 -3
  185. package/dist/actions/update-destination.mjs +3 -3
  186. package/dist/actions/update-destination.mjs.map +1 -1
  187. package/dist/actions/update-request.cjs +2 -2
  188. package/dist/actions/update-request.cjs.map +1 -1
  189. package/dist/actions/update-request.d.cts +2 -2
  190. package/dist/actions/update-request.d.mts +2 -2
  191. package/dist/actions/update-request.mjs +2 -2
  192. package/dist/actions/update-request.mjs.map +1 -1
  193. package/dist/catalog.cjs +1 -1
  194. package/dist/catalog.cjs.map +1 -1
  195. package/dist/catalog.d.cts +1 -1
  196. package/dist/catalog.d.mts +1 -1
  197. package/dist/catalog.mjs +1 -1
  198. package/dist/catalog.mjs.map +1 -1
  199. package/package.json +1 -1
@@ -11,7 +11,7 @@ declare const RedcircleApiGetAccountOutput: z.ZodObject<{
11
11
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  component: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  last_checked: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>>>>;
14
+ }, z.core.$loose>>>>;
15
15
  api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  credits_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -21,7 +21,7 @@ declare const RedcircleApiGetAccountOutput: z.ZodObject<{
21
21
  period: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  api_calls: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  credits_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
- }, z.core.$strip>>>>;
24
+ }, z.core.$loose>>>>;
25
25
  overage_allowed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
26
  overage_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
27
  collections_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -31,11 +31,11 @@ declare const RedcircleApiGetAccountOutput: z.ZodObject<{
31
31
  destinations_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
32
  destinations_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
33
  account_balance_usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
- }, z.core.$strip>>>;
34
+ }, z.core.$loose>>>;
35
35
  request_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
36
36
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
- }, z.core.$strip>>>;
38
- }, z.core.$strip>;
37
+ }, z.core.$loose>>>;
38
+ }, z.core.$loose>;
39
39
  declare const redcircleApiGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
40
  //#endregion
41
41
  export { redcircleApiGetAccount };
@@ -11,7 +11,7 @@ declare const RedcircleApiGetAccountOutput: z.ZodObject<{
11
11
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  component: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  last_checked: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>>>>;
14
+ }, z.core.$loose>>>>;
15
15
  api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  credits_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -21,7 +21,7 @@ declare const RedcircleApiGetAccountOutput: z.ZodObject<{
21
21
  period: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  api_calls: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  credits_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
- }, z.core.$strip>>>>;
24
+ }, z.core.$loose>>>>;
25
25
  overage_allowed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
26
  overage_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
27
  collections_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -31,11 +31,11 @@ declare const RedcircleApiGetAccountOutput: z.ZodObject<{
31
31
  destinations_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
32
  destinations_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
33
  account_balance_usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
- }, z.core.$strip>>>;
34
+ }, z.core.$loose>>>;
35
35
  request_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
36
36
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
- }, z.core.$strip>>>;
38
- }, z.core.$strip>;
37
+ }, z.core.$loose>>>;
38
+ }, z.core.$loose>;
39
39
  declare const redcircleApiGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
40
  //#endregion
41
41
  export { redcircleApiGetAccount };
@@ -6,12 +6,12 @@ const RedcircleApiGetAccount_StatusItemSchema = z.object({
6
6
  status: z.string().describe("Status of the component (e.g., 'operational', 'degraded', 'down')").nullable().optional(),
7
7
  component: z.string().describe("Component name (e.g., 'API', 'Database', 'Queue')").nullable().optional(),
8
8
  last_checked: z.string().describe("Timestamp of last status check").nullable().optional()
9
- }).describe("Platform component status information.");
9
+ }).passthrough().describe("Platform component status information.");
10
10
  const RedcircleApiGetAccount_UsageHistoryItemSchema = z.object({
11
11
  period: z.string().describe("Time period (e.g., '2024-01', '2024-02')").nullable().optional(),
12
12
  api_calls: z.number().int().describe("Number of API calls made during this period").nullable().optional(),
13
13
  credits_used: z.number().int().describe("Credits consumed during this period").nullable().optional()
14
- }).describe("Credit usage data for a specific period.");
14
+ }).passthrough().describe("Credit usage data for a specific period.");
15
15
  const RedcircleApiGetAccount_AccountInfoSchema = z.object({
16
16
  name: z.string().describe("Account holder name").nullable().optional(),
17
17
  plan: z.string().describe("Current subscription plan").nullable().optional(),
@@ -32,8 +32,8 @@ const RedcircleApiGetAccount_AccountInfoSchema = z.object({
32
32
  destinations_used: z.number().int().describe("Active destinations count").nullable().optional(),
33
33
  destinations_limit: z.number().int().describe("Maximum destinations allowed").nullable().optional(),
34
34
  account_balance_usd: z.number().describe("Current USD balance").nullable().optional()
35
- }).describe("Account information and usage metrics.");
36
- const RedcircleApiGetAccount_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates successful API call").nullable().optional() }).describe("Request information.");
35
+ }).passthrough().describe("Account information and usage metrics.");
36
+ const RedcircleApiGetAccount_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates successful API call").nullable().optional() }).passthrough().describe("Request information.");
37
37
  const redcircleApiGetAccount = action("REDCIRCLE_API_GET_ACCOUNT", {
38
38
  slug: "redcircle_api-get-account",
39
39
  name: "Get Account Information",
@@ -42,7 +42,7 @@ const redcircleApiGetAccount = action("REDCIRCLE_API_GET_ACCOUNT", {
42
42
  output: z.object({
43
43
  account_info: RedcircleApiGetAccount_AccountInfoSchema.nullable().optional(),
44
44
  request_info: RedcircleApiGetAccount_RequestInfoSchema.nullable().optional()
45
- }).describe("Response model for GET /account endpoint.")
45
+ }).passthrough().describe("Response model for GET /account endpoint.")
46
46
  });
47
47
  //#endregion
48
48
  export { redcircleApiGetAccount };
@@ -1 +1 @@
1
- {"version":3,"file":"get-account.mjs","names":[],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetAccountInput = z.object({}).describe(\"Request model for GET /account endpoint.\");\nconst RedcircleApiGetAccount_StatusItemSchema = z.object({\n status: z.string().describe(\"Status of the component (e.g., 'operational', 'degraded', 'down')\").nullable().optional(),\n component: z.string().describe(\"Component name (e.g., 'API', 'Database', 'Queue')\").nullable().optional(),\n last_checked: z.string().describe(\"Timestamp of last status check\").nullable().optional(),\n}).describe(\"Platform component status information.\");\nconst RedcircleApiGetAccount_UsageHistoryItemSchema = z.object({\n period: z.string().describe(\"Time period (e.g., '2024-01', '2024-02')\").nullable().optional(),\n api_calls: z.number().int().describe(\"Number of API calls made during this period\").nullable().optional(),\n credits_used: z.number().int().describe(\"Credits consumed during this period\").nullable().optional(),\n}).describe(\"Credit usage data for a specific period.\");\nconst RedcircleApiGetAccount_AccountInfoSchema = z.object({\n name: z.string().describe(\"Account holder name\").nullable().optional(),\n plan: z.string().describe(\"Current subscription plan\").nullable().optional(),\n email: z.string().describe(\"Account email address\").nullable().optional(),\n status: z.array(RedcircleApiGetAccount_StatusItemSchema).describe(\"Platform component status objects\").nullable().optional(),\n api_key: z.string().describe(\"User's API key\").nullable().optional(),\n timezone: z.string().describe(\"Account timezone setting\").nullable().optional(),\n credits_used: z.number().int().describe(\"Credits consumed this month\").nullable().optional(),\n credits_limit: z.number().int().describe(\"Monthly credit allowance\").nullable().optional(),\n overage_limit: z.number().describe(\"Maximum overage amount\").nullable().optional(),\n usage_history: z.array(RedcircleApiGetAccount_UsageHistoryItemSchema).describe(\"Credit usage data for past months\").nullable().optional(),\n overage_allowed: z.boolean().describe(\"Whether overage charges are permitted\").nullable().optional(),\n overage_enabled: z.boolean().describe(\"Overage feature status\").nullable().optional(),\n collections_used: z.number().int().describe(\"Active collections count\").nullable().optional(),\n credits_reset_at: z.string().describe(\"Timestamp for monthly credit reset\").nullable().optional(),\n collections_limit: z.number().int().describe(\"Maximum collections allowed\").nullable().optional(),\n credits_remaining: z.number().int().describe(\"Available credits\").nullable().optional(),\n destinations_used: z.number().int().describe(\"Active destinations count\").nullable().optional(),\n destinations_limit: z.number().int().describe(\"Maximum destinations allowed\").nullable().optional(),\n account_balance_usd: z.number().describe(\"Current USD balance\").nullable().optional(),\n}).describe(\"Account information and usage metrics.\");\nconst RedcircleApiGetAccount_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates successful API call\").nullable().optional(),\n}).describe(\"Request information.\");\nexport const RedcircleApiGetAccountOutput = z.object({\n account_info: RedcircleApiGetAccount_AccountInfoSchema.nullable().optional(),\n request_info: RedcircleApiGetAccount_RequestInfoSchema.nullable().optional(),\n}).describe(\"Response model for GET /account endpoint.\");\n\nexport const redcircleApiGetAccount = action(\"REDCIRCLE_API_GET_ACCOUNT\", {\n slug: \"redcircle_api-get-account\",\n name: \"Get Account Information\",\n description: \"Tool to retrieve account information, usage metrics, and platform status. Use when you need to check account credits, limits, plan details, or platform component status.\",\n input: RedcircleApiGetAccountInput,\n output: RedcircleApiGetAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAC3G,MAAM,0CAA0C,EAAE,OAAO;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,S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";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetAccountInput = z.object({}).describe(\"Request model for GET /account endpoint.\");\nconst RedcircleApiGetAccount_StatusItemSchema = z.object({\n status: z.string().describe(\"Status of the component (e.g., 'operational', 'degraded', 'down')\").nullable().optional(),\n component: z.string().describe(\"Component name (e.g., 'API', 'Database', 'Queue')\").nullable().optional(),\n last_checked: z.string().describe(\"Timestamp of last status check\").nullable().optional(),\n}).passthrough().describe(\"Platform component status information.\");\nconst RedcircleApiGetAccount_UsageHistoryItemSchema = z.object({\n period: z.string().describe(\"Time period (e.g., '2024-01', '2024-02')\").nullable().optional(),\n api_calls: z.number().int().describe(\"Number of API calls made during this period\").nullable().optional(),\n credits_used: z.number().int().describe(\"Credits consumed during this period\").nullable().optional(),\n}).passthrough().describe(\"Credit usage data for a specific period.\");\nconst RedcircleApiGetAccount_AccountInfoSchema = z.object({\n name: z.string().describe(\"Account holder name\").nullable().optional(),\n plan: z.string().describe(\"Current subscription plan\").nullable().optional(),\n email: z.string().describe(\"Account email address\").nullable().optional(),\n status: z.array(RedcircleApiGetAccount_StatusItemSchema).describe(\"Platform component status objects\").nullable().optional(),\n api_key: z.string().describe(\"User's API key\").nullable().optional(),\n timezone: z.string().describe(\"Account timezone setting\").nullable().optional(),\n credits_used: z.number().int().describe(\"Credits consumed this month\").nullable().optional(),\n credits_limit: z.number().int().describe(\"Monthly credit allowance\").nullable().optional(),\n overage_limit: z.number().describe(\"Maximum overage amount\").nullable().optional(),\n usage_history: z.array(RedcircleApiGetAccount_UsageHistoryItemSchema).describe(\"Credit usage data for past months\").nullable().optional(),\n overage_allowed: z.boolean().describe(\"Whether overage charges are permitted\").nullable().optional(),\n overage_enabled: z.boolean().describe(\"Overage feature status\").nullable().optional(),\n collections_used: z.number().int().describe(\"Active collections count\").nullable().optional(),\n credits_reset_at: z.string().describe(\"Timestamp for monthly credit reset\").nullable().optional(),\n collections_limit: z.number().int().describe(\"Maximum collections allowed\").nullable().optional(),\n credits_remaining: z.number().int().describe(\"Available credits\").nullable().optional(),\n destinations_used: z.number().int().describe(\"Active destinations count\").nullable().optional(),\n destinations_limit: z.number().int().describe(\"Maximum destinations allowed\").nullable().optional(),\n account_balance_usd: z.number().describe(\"Current USD balance\").nullable().optional(),\n}).passthrough().describe(\"Account information and usage metrics.\");\nconst RedcircleApiGetAccount_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates successful API call\").nullable().optional(),\n}).passthrough().describe(\"Request information.\");\nexport const RedcircleApiGetAccountOutput = z.object({\n account_info: RedcircleApiGetAccount_AccountInfoSchema.nullable().optional(),\n request_info: RedcircleApiGetAccount_RequestInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for GET /account endpoint.\");\n\nexport const redcircleApiGetAccount = action(\"REDCIRCLE_API_GET_ACCOUNT\", {\n slug: \"redcircle_api-get-account\",\n name: \"Get Account Information\",\n description: \"Tool to retrieve account information, usage metrics, and platform status. Use when you need to check account credits, limits, plan details, or platform component status.\",\n input: RedcircleApiGetAccountInput,\n output: RedcircleApiGetAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAC3G,MAAM,0CAA0C,EAAE,OAAO;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WA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AAyC,SAAS,CAAC,CAAC,SAAS;EAC3E,cAAc,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -26,12 +26,12 @@ const RedcircleApiGetCollection_CollectionSchema = zod.z.object({
26
26
  schedule_days_of_week: zod.z.array(zod.z.number().int()).describe("Days of the week when the collection is scheduled to run").nullable().optional(),
27
27
  schedule_days_of_month: zod.z.array(zod.z.number().int()).describe("Days of the month when the collection is scheduled to run").nullable().optional(),
28
28
  notification_as_jsonlines: zod.z.boolean().describe("Whether to send notifications as JSON lines").nullable().optional()
29
- }).describe("Complete details of a collection.");
30
- const RedcircleApiGetCollection_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the request was successful").nullable() }).describe("Information about the API request.");
29
+ }).passthrough().describe("Complete details of a collection.");
30
+ const RedcircleApiGetCollection_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the request was successful").nullable() }).passthrough().describe("Information about the API request.");
31
31
  const RedcircleApiGetCollectionOutput = zod.z.object({
32
32
  collection: RedcircleApiGetCollection_CollectionSchema.nullable(),
33
33
  request_info: RedcircleApiGetCollection_RequestInfoSchema.nullable()
34
- }).describe("Response model for retrieving a collection.");
34
+ }).passthrough().describe("Response model for retrieving a collection.");
35
35
  const redcircleApiGetCollection = require_action.action("REDCIRCLE_API_GET_COLLECTION", {
36
36
  slug: "redcircle_api-get-collection",
37
37
  name: "Get Collection",
@@ -1 +1 @@
1
- {"version":3,"file":"get-collection.cjs","names":["z","action"],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetCollectionInput = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve\"),\n}).describe(\"Request model for retrieving a specific collection.\");\nconst RedcircleApiGetCollection_CollectionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the collection\").nullable(),\n name: z.string().describe(\"The name of the collection\").nullable(),\n status: z.string().describe(\"Current operational status (idle/queued/running)\").nullable(),\n enabled: z.boolean().describe(\"Whether the collection is enabled\").nullable(),\n last_run: z.string().describe(\"ISO 8601 timestamp of when the collection was last run\").nullable().optional(),\n priority: z.string().describe(\"The priority level of the collection\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the collection was created\").nullable(),\n requests_type: z.string().describe(\"Type of requests in the collection\").nullable().optional(),\n results_count: z.number().int().describe(\"Total count of results\").nullable().optional(),\n schedule_type: z.string().describe(\"The scheduling type (manual/daily/weekly/monthly)\").nullable(),\n schedule_hours: z.array(z.number().int()).describe(\"Hours when the collection is scheduled to run\").nullable().optional(),\n destination_ids: z.array(z.string()).describe(\"List of destination identifiers\"),\n credits_required: z.number().int().describe(\"Number of credits required to run the collection\").nullable().optional(),\n next_result_set_id: z.number().int().describe(\"ID of the next result set\").nullable().optional(),\n notification_email: z.string().describe(\"Email address for notifications\").nullable().optional(),\n notification_as_csv: z.boolean().describe(\"Whether to send notifications as CSV\").nullable().optional(),\n requests_page_count: z.number().int().describe(\"Number of pages of requests\").nullable().optional(),\n notification_as_json: z.boolean().describe(\"Whether to send notifications as JSON\").nullable().optional(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection\").nullable().optional(),\n requests_type_locked: z.boolean().describe(\"Whether the requests type is locked\").nullable().optional(),\n schedule_days_of_week: z.array(z.number().int()).describe(\"Days of the week when the collection is scheduled to run\").nullable().optional(),\n schedule_days_of_month: z.array(z.number().int()).describe(\"Days of the month when the collection is scheduled to run\").nullable().optional(),\n notification_as_jsonlines: z.boolean().describe(\"Whether to send notifications as JSON lines\").nullable().optional(),\n}).describe(\"Complete details of a collection.\");\nconst RedcircleApiGetCollection_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).describe(\"Information about the API request.\");\nexport const RedcircleApiGetCollectionOutput = z.object({\n collection: RedcircleApiGetCollection_CollectionSchema.nullable(),\n request_info: RedcircleApiGetCollection_RequestInfoSchema.nullable(),\n}).describe(\"Response model for retrieving a collection.\");\n\nexport const redcircleApiGetCollection = action(\"REDCIRCLE_API_GET_COLLECTION\", {\n slug: \"redcircle_api-get-collection\",\n name: \"Get Collection\",\n description: \"Tool to retrieve complete information about a specific collection. Use when you need detailed collection metadata including status, schedule, and configuration.\",\n input: RedcircleApiGetCollectionInput,\n output: RedcircleApiGetCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,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,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,8CAA8CA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,YAAY,2CAA2C,SAAS;CAChE,cAAc,4CAA4C,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-collection.cjs","names":["z","action"],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetCollectionInput = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve\"),\n}).describe(\"Request model for retrieving a specific collection.\");\nconst RedcircleApiGetCollection_CollectionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the collection\").nullable(),\n name: z.string().describe(\"The name of the collection\").nullable(),\n status: z.string().describe(\"Current operational status (idle/queued/running)\").nullable(),\n enabled: z.boolean().describe(\"Whether the collection is enabled\").nullable(),\n last_run: z.string().describe(\"ISO 8601 timestamp of when the collection was last run\").nullable().optional(),\n priority: z.string().describe(\"The priority level of the collection\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the collection was created\").nullable(),\n requests_type: z.string().describe(\"Type of requests in the collection\").nullable().optional(),\n results_count: z.number().int().describe(\"Total count of results\").nullable().optional(),\n schedule_type: z.string().describe(\"The scheduling type (manual/daily/weekly/monthly)\").nullable(),\n schedule_hours: z.array(z.number().int()).describe(\"Hours when the collection is scheduled to run\").nullable().optional(),\n destination_ids: z.array(z.string()).describe(\"List of destination identifiers\"),\n credits_required: z.number().int().describe(\"Number of credits required to run the collection\").nullable().optional(),\n next_result_set_id: z.number().int().describe(\"ID of the next result set\").nullable().optional(),\n notification_email: z.string().describe(\"Email address for notifications\").nullable().optional(),\n notification_as_csv: z.boolean().describe(\"Whether to send notifications as CSV\").nullable().optional(),\n requests_page_count: z.number().int().describe(\"Number of pages of requests\").nullable().optional(),\n notification_as_json: z.boolean().describe(\"Whether to send notifications as JSON\").nullable().optional(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection\").nullable().optional(),\n requests_type_locked: z.boolean().describe(\"Whether the requests type is locked\").nullable().optional(),\n schedule_days_of_week: z.array(z.number().int()).describe(\"Days of the week when the collection is scheduled to run\").nullable().optional(),\n schedule_days_of_month: z.array(z.number().int()).describe(\"Days of the month when the collection is scheduled to run\").nullable().optional(),\n notification_as_jsonlines: z.boolean().describe(\"Whether to send notifications as JSON lines\").nullable().optional(),\n}).passthrough().describe(\"Complete details of a collection.\");\nconst RedcircleApiGetCollection_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).passthrough().describe(\"Information about the API request.\");\nexport const RedcircleApiGetCollectionOutput = z.object({\n collection: RedcircleApiGetCollection_CollectionSchema.nullable(),\n request_info: RedcircleApiGetCollection_RequestInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a collection.\");\n\nexport const redcircleApiGetCollection = action(\"REDCIRCLE_API_GET_COLLECTION\", {\n slug: \"redcircle_api-get-collection\",\n name: \"Get Collection\",\n description: \"Tool to retrieve complete information about a specific collection. Use when you need detailed collection metadata including status, schedule, and configuration.\",\n input: RedcircleApiGetCollectionInput,\n output: RedcircleApiGetCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,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OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,8CAA8CA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,YAAY,2CAA2C,SAAS;CAChE,cAAc,4CAA4C,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -29,11 +29,11 @@ declare const RedcircleApiGetCollectionOutput: z.ZodObject<{
29
29
  schedule_days_of_week: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
30
30
  schedule_days_of_month: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
31
31
  notification_as_jsonlines: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
- }, z.core.$strip>>;
32
+ }, z.core.$loose>>;
33
33
  request_info: z.ZodNullable<z.ZodObject<{
34
34
  success: z.ZodNullable<z.ZodBoolean>;
35
- }, z.core.$strip>>;
36
- }, z.core.$strip>;
35
+ }, z.core.$loose>>;
36
+ }, z.core.$loose>;
37
37
  declare const redcircleApiGetCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  collection_id: string;
39
39
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -29,11 +29,11 @@ declare const RedcircleApiGetCollectionOutput: z.ZodObject<{
29
29
  schedule_days_of_week: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
30
30
  schedule_days_of_month: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
31
31
  notification_as_jsonlines: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
- }, z.core.$strip>>;
32
+ }, z.core.$loose>>;
33
33
  request_info: z.ZodNullable<z.ZodObject<{
34
34
  success: z.ZodNullable<z.ZodBoolean>;
35
- }, z.core.$strip>>;
36
- }, z.core.$strip>;
35
+ }, z.core.$loose>>;
36
+ }, z.core.$loose>;
37
37
  declare const redcircleApiGetCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  collection_id: string;
39
39
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -26,8 +26,8 @@ const RedcircleApiGetCollection_CollectionSchema = z.object({
26
26
  schedule_days_of_week: z.array(z.number().int()).describe("Days of the week when the collection is scheduled to run").nullable().optional(),
27
27
  schedule_days_of_month: z.array(z.number().int()).describe("Days of the month when the collection is scheduled to run").nullable().optional(),
28
28
  notification_as_jsonlines: z.boolean().describe("Whether to send notifications as JSON lines").nullable().optional()
29
- }).describe("Complete details of a collection.");
30
- const RedcircleApiGetCollection_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the request was successful").nullable() }).describe("Information about the API request.");
29
+ }).passthrough().describe("Complete details of a collection.");
30
+ const RedcircleApiGetCollection_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the request was successful").nullable() }).passthrough().describe("Information about the API request.");
31
31
  const redcircleApiGetCollection = action("REDCIRCLE_API_GET_COLLECTION", {
32
32
  slug: "redcircle_api-get-collection",
33
33
  name: "Get Collection",
@@ -36,7 +36,7 @@ const redcircleApiGetCollection = action("REDCIRCLE_API_GET_COLLECTION", {
36
36
  output: z.object({
37
37
  collection: RedcircleApiGetCollection_CollectionSchema.nullable(),
38
38
  request_info: RedcircleApiGetCollection_RequestInfoSchema.nullable()
39
- }).describe("Response model for retrieving a collection.")
39
+ }).passthrough().describe("Response model for retrieving a collection.")
40
40
  });
41
41
  //#endregion
42
42
  export { redcircleApiGetCollection };
@@ -1 +1 @@
1
- {"version":3,"file":"get-collection.mjs","names":[],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetCollectionInput = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve\"),\n}).describe(\"Request model for retrieving a specific collection.\");\nconst RedcircleApiGetCollection_CollectionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the collection\").nullable(),\n name: z.string().describe(\"The name of the collection\").nullable(),\n status: z.string().describe(\"Current operational status (idle/queued/running)\").nullable(),\n enabled: z.boolean().describe(\"Whether the collection is enabled\").nullable(),\n last_run: z.string().describe(\"ISO 8601 timestamp of when the collection was last run\").nullable().optional(),\n priority: z.string().describe(\"The priority level of the collection\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the collection was created\").nullable(),\n requests_type: z.string().describe(\"Type of requests in the collection\").nullable().optional(),\n results_count: z.number().int().describe(\"Total count of results\").nullable().optional(),\n schedule_type: z.string().describe(\"The scheduling type (manual/daily/weekly/monthly)\").nullable(),\n schedule_hours: z.array(z.number().int()).describe(\"Hours when the collection is scheduled to run\").nullable().optional(),\n destination_ids: z.array(z.string()).describe(\"List of destination identifiers\"),\n credits_required: z.number().int().describe(\"Number of credits required to run the collection\").nullable().optional(),\n next_result_set_id: z.number().int().describe(\"ID of the next result set\").nullable().optional(),\n notification_email: z.string().describe(\"Email address for notifications\").nullable().optional(),\n notification_as_csv: z.boolean().describe(\"Whether to send notifications as CSV\").nullable().optional(),\n requests_page_count: z.number().int().describe(\"Number of pages of requests\").nullable().optional(),\n notification_as_json: z.boolean().describe(\"Whether to send notifications as JSON\").nullable().optional(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection\").nullable().optional(),\n requests_type_locked: z.boolean().describe(\"Whether the requests type is locked\").nullable().optional(),\n schedule_days_of_week: z.array(z.number().int()).describe(\"Days of the week when the collection is scheduled to run\").nullable().optional(),\n schedule_days_of_month: z.array(z.number().int()).describe(\"Days of the month when the collection is scheduled to run\").nullable().optional(),\n notification_as_jsonlines: z.boolean().describe(\"Whether to send notifications as JSON lines\").nullable().optional(),\n}).describe(\"Complete details of a collection.\");\nconst RedcircleApiGetCollection_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).describe(\"Information about the API request.\");\nexport const RedcircleApiGetCollectionOutput = z.object({\n collection: RedcircleApiGetCollection_CollectionSchema.nullable(),\n request_info: RedcircleApiGetCollection_RequestInfoSchema.nullable(),\n}).describe(\"Response model for retrieving a collection.\");\n\nexport const redcircleApiGetCollection = action(\"REDCIRCLE_API_GET_COLLECTION\", {\n slug: \"redcircle_api-get-collection\",\n name: \"Get Collection\",\n description: \"Tool to retrieve complete information about a specific collection. Use when you need detailed collection metadata including status, schedule, and configuration.\",\n input: RedcircleApiGetCollectionInput,\n output: RedcircleApiGetCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,Q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,SAAS;CAClG,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,wBAAwB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,8CAA8C,EAAE,OAAO,EAC3D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAMhD,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,YAAY,2CAA2C,SAAS;EAChE,cAAc,4CAA4C,SAAS;CACrE,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-collection.mjs","names":[],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetCollectionInput = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve\"),\n}).describe(\"Request model for retrieving a specific collection.\");\nconst RedcircleApiGetCollection_CollectionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the collection\").nullable(),\n name: z.string().describe(\"The name of the collection\").nullable(),\n status: z.string().describe(\"Current operational status (idle/queued/running)\").nullable(),\n enabled: z.boolean().describe(\"Whether the collection is enabled\").nullable(),\n last_run: z.string().describe(\"ISO 8601 timestamp of when the collection was last run\").nullable().optional(),\n priority: z.string().describe(\"The priority level of the collection\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the collection was created\").nullable(),\n requests_type: z.string().describe(\"Type of requests in the collection\").nullable().optional(),\n results_count: z.number().int().describe(\"Total count of results\").nullable().optional(),\n schedule_type: z.string().describe(\"The scheduling type (manual/daily/weekly/monthly)\").nullable(),\n schedule_hours: z.array(z.number().int()).describe(\"Hours when the collection is scheduled to run\").nullable().optional(),\n destination_ids: z.array(z.string()).describe(\"List of destination identifiers\"),\n credits_required: z.number().int().describe(\"Number of credits required to run the collection\").nullable().optional(),\n next_result_set_id: z.number().int().describe(\"ID of the next result set\").nullable().optional(),\n notification_email: z.string().describe(\"Email address for notifications\").nullable().optional(),\n notification_as_csv: z.boolean().describe(\"Whether to send notifications as CSV\").nullable().optional(),\n requests_page_count: z.number().int().describe(\"Number of pages of requests\").nullable().optional(),\n notification_as_json: z.boolean().describe(\"Whether to send notifications as JSON\").nullable().optional(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection\").nullable().optional(),\n requests_type_locked: z.boolean().describe(\"Whether the requests type is locked\").nullable().optional(),\n schedule_days_of_week: z.array(z.number().int()).describe(\"Days of the week when the collection is scheduled to run\").nullable().optional(),\n schedule_days_of_month: z.array(z.number().int()).describe(\"Days of the month when the collection is scheduled to run\").nullable().optional(),\n notification_as_jsonlines: z.boolean().describe(\"Whether to send notifications as JSON lines\").nullable().optional(),\n}).passthrough().describe(\"Complete details of a collection.\");\nconst RedcircleApiGetCollection_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).passthrough().describe(\"Information about the API request.\");\nexport const RedcircleApiGetCollectionOutput = z.object({\n collection: RedcircleApiGetCollection_CollectionSchema.nullable(),\n request_info: RedcircleApiGetCollection_RequestInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a collection.\");\n\nexport const redcircleApiGetCollection = action(\"REDCIRCLE_API_GET_COLLECTION\", {\n slug: \"redcircle_api-get-collection\",\n name: \"Get Collection\",\n description: \"Tool to retrieve complete information about a specific collection. Use when you need detailed collection metadata including status, schedule, and configuration.\",\n input: RedcircleApiGetCollectionInput,\n output: RedcircleApiGetCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,C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CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,8CAA8C,EAAE,OAAO,EAC3D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAM9D,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,YAAY,2CAA2C,SAAS;EAChE,cAAc,4CAA4C,SAAS;CACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -2,15 +2,15 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-requests-csv-links.ts
4
4
  const RedcircleApiGetRequestsCsvLinksInput = zod.z.object({ collection_id: zod.z.string().describe("The ID of the collection for which to retrieve CSV download links.") }).describe("Request model for retrieving CSV download links for all requests in a collection.");
5
- const RedcircleApiGetRequestsCsvLinks_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the request was successful.").nullable() }).describe("Request status information.");
6
- const RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema = zod.z.object({ pages: zod.z.array(zod.z.string()).describe("Array of CSV file download URLs, with up to 1000 requests per file.") }).describe("Contains download URLs for CSV files.");
5
+ const RedcircleApiGetRequestsCsvLinks_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the request was successful.").nullable() }).passthrough().describe("Request status information.");
6
+ const RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema = zod.z.object({ pages: zod.z.array(zod.z.string()).describe("Array of CSV file download URLs, with up to 1000 requests per file.") }).passthrough().describe("Contains download URLs for CSV files.");
7
7
  const RedcircleApiGetRequestsCsvLinksOutput = zod.z.object({
8
8
  request_info: RedcircleApiGetRequestsCsvLinks_RequestInfoSchema.nullable(),
9
9
  collection_id: zod.z.string().describe("The collection identifier.").nullable(),
10
10
  download_links: RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema.nullable(),
11
11
  requests_page_count: zod.z.number().int().describe("Number of CSV pages available.").nullable(),
12
12
  requests_total_count: zod.z.number().int().describe("Total number of requests in the collection.").nullable()
13
- }).describe("Response model for CSV download links.");
13
+ }).passthrough().describe("Response model for CSV download links.");
14
14
  const redcircleApiGetRequestsCsvLinks = require_action.action("REDCIRCLE_API_GET_REQUESTS_CSV_LINKS", {
15
15
  slug: "redcircle_api-get-requests-csv-links",
16
16
  name: "Get Requests CSV Links",
@@ -1 +1 @@
1
- {"version":3,"file":"get-requests-csv-links.cjs","names":["z","action"],"sources":["../../src/actions/get-requests-csv-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetRequestsCsvLinksInput = z.object({\n collection_id: z.string().describe(\"The ID of the collection for which to retrieve CSV download links.\"),\n}).describe(\"Request model for retrieving CSV download links for all requests in a collection.\");\nconst RedcircleApiGetRequestsCsvLinks_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).describe(\"Request status information.\");\nconst RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema = z.object({\n pages: z.array(z.string()).describe(\"Array of CSV file download URLs, with up to 1000 requests per file.\"),\n}).describe(\"Contains download URLs for CSV files.\");\nexport const RedcircleApiGetRequestsCsvLinksOutput = z.object({\n request_info: RedcircleApiGetRequestsCsvLinks_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier.\").nullable(),\n download_links: RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema.nullable(),\n requests_page_count: z.number().int().describe(\"Number of CSV pages available.\").nullable(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection.\").nullable(),\n}).describe(\"Response model for CSV download links.\");\n\nexport const redcircleApiGetRequestsCsvLinks = action(\"REDCIRCLE_API_GET_REQUESTS_CSV_LINKS\", {\n slug: \"redcircle_api-get-requests-csv-links\",\n name: \"Get Requests CSV Links\",\n description: \"Tool to retrieve CSV download links for all requests in a collection. Use when you need to export request data in CSV format. Each CSV file contains up to 1000 requests.\",\n input: RedcircleApiGetRequestsCsvLinksInput,\n output: RedcircleApiGetRequestsCsvLinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACzG,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,oDAAoDA,IAAAA,EAAE,OAAO,EACjE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAM,sDAAsDA,IAAAA,EAAE,OAAO,EACnE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,EAC3G,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,cAAc,kDAAkD,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC1E,gBAAgB,oDAAoD,SAAS;CAC7E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-requests-csv-links.cjs","names":["z","action"],"sources":["../../src/actions/get-requests-csv-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetRequestsCsvLinksInput = z.object({\n collection_id: z.string().describe(\"The ID of the collection for which to retrieve CSV download links.\"),\n}).describe(\"Request model for retrieving CSV download links for all requests in a collection.\");\nconst RedcircleApiGetRequestsCsvLinks_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).passthrough().describe(\"Request status information.\");\nconst RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema = z.object({\n pages: z.array(z.string()).describe(\"Array of CSV file download URLs, with up to 1000 requests per file.\"),\n}).passthrough().describe(\"Contains download URLs for CSV files.\");\nexport const RedcircleApiGetRequestsCsvLinksOutput = z.object({\n request_info: RedcircleApiGetRequestsCsvLinks_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier.\").nullable(),\n download_links: RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema.nullable(),\n requests_page_count: z.number().int().describe(\"Number of CSV pages available.\").nullable(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection.\").nullable(),\n}).passthrough().describe(\"Response model for CSV download links.\");\n\nexport const redcircleApiGetRequestsCsvLinks = action(\"REDCIRCLE_API_GET_REQUESTS_CSV_LINKS\", {\n slug: \"redcircle_api-get-requests-csv-links\",\n name: \"Get Requests CSV Links\",\n description: \"Tool to retrieve CSV download links for all requests in a collection. Use when you need to export request data in CSV format. Each CSV file contains up to 1000 requests.\",\n input: RedcircleApiGetRequestsCsvLinksInput,\n output: RedcircleApiGetRequestsCsvLinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACzG,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,oDAAoDA,IAAAA,EAAE,OAAO,EACjE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAM,sDAAsDA,IAAAA,EAAE,OAAO,EACnE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,cAAc,kDAAkD,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC1E,gBAAgB,oDAAoD,SAAS;CAC7E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,14 +7,14 @@ declare const RedcircleApiGetRequestsCsvLinksInput: z.ZodObject<{
7
7
  declare const RedcircleApiGetRequestsCsvLinksOutput: z.ZodObject<{
8
8
  request_info: z.ZodNullable<z.ZodObject<{
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  collection_id: z.ZodNullable<z.ZodString>;
12
12
  download_links: z.ZodNullable<z.ZodObject<{
13
13
  pages: z.ZodArray<z.ZodString>;
14
- }, z.core.$strip>>;
14
+ }, z.core.$loose>>;
15
15
  requests_page_count: z.ZodNullable<z.ZodNumber>;
16
16
  requests_total_count: z.ZodNullable<z.ZodNumber>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const redcircleApiGetRequestsCsvLinks: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  collection_id: string;
20
20
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,14 +7,14 @@ declare const RedcircleApiGetRequestsCsvLinksInput: z.ZodObject<{
7
7
  declare const RedcircleApiGetRequestsCsvLinksOutput: z.ZodObject<{
8
8
  request_info: z.ZodNullable<z.ZodObject<{
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  collection_id: z.ZodNullable<z.ZodString>;
12
12
  download_links: z.ZodNullable<z.ZodObject<{
13
13
  pages: z.ZodArray<z.ZodString>;
14
- }, z.core.$strip>>;
14
+ }, z.core.$loose>>;
15
15
  requests_page_count: z.ZodNullable<z.ZodNumber>;
16
16
  requests_total_count: z.ZodNullable<z.ZodNumber>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const redcircleApiGetRequestsCsvLinks: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  collection_id: string;
20
20
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -2,8 +2,8 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/get-requests-csv-links.ts
4
4
  const RedcircleApiGetRequestsCsvLinksInput = z.object({ collection_id: z.string().describe("The ID of the collection for which to retrieve CSV download links.") }).describe("Request model for retrieving CSV download links for all requests in a collection.");
5
- const RedcircleApiGetRequestsCsvLinks_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the request was successful.").nullable() }).describe("Request status information.");
6
- const RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema = z.object({ pages: z.array(z.string()).describe("Array of CSV file download URLs, with up to 1000 requests per file.") }).describe("Contains download URLs for CSV files.");
5
+ const RedcircleApiGetRequestsCsvLinks_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the request was successful.").nullable() }).passthrough().describe("Request status information.");
6
+ const RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema = z.object({ pages: z.array(z.string()).describe("Array of CSV file download URLs, with up to 1000 requests per file.") }).passthrough().describe("Contains download URLs for CSV files.");
7
7
  const redcircleApiGetRequestsCsvLinks = action("REDCIRCLE_API_GET_REQUESTS_CSV_LINKS", {
8
8
  slug: "redcircle_api-get-requests-csv-links",
9
9
  name: "Get Requests CSV Links",
@@ -15,7 +15,7 @@ const redcircleApiGetRequestsCsvLinks = action("REDCIRCLE_API_GET_REQUESTS_CSV_L
15
15
  download_links: RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema.nullable(),
16
16
  requests_page_count: z.number().int().describe("Number of CSV pages available.").nullable(),
17
17
  requests_total_count: z.number().int().describe("Total number of requests in the collection.").nullable()
18
- }).describe("Response model for CSV download links.")
18
+ }).passthrough().describe("Response model for CSV download links.")
19
19
  });
20
20
  //#endregion
21
21
  export { redcircleApiGetRequestsCsvLinks };
@@ -1 +1 @@
1
- {"version":3,"file":"get-requests-csv-links.mjs","names":[],"sources":["../../src/actions/get-requests-csv-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetRequestsCsvLinksInput = z.object({\n collection_id: z.string().describe(\"The ID of the collection for which to retrieve CSV download links.\"),\n}).describe(\"Request model for retrieving CSV download links for all requests in a collection.\");\nconst RedcircleApiGetRequestsCsvLinks_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).describe(\"Request status information.\");\nconst RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema = z.object({\n pages: z.array(z.string()).describe(\"Array of CSV file download URLs, with up to 1000 requests per file.\"),\n}).describe(\"Contains download URLs for CSV files.\");\nexport const RedcircleApiGetRequestsCsvLinksOutput = z.object({\n request_info: RedcircleApiGetRequestsCsvLinks_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier.\").nullable(),\n download_links: RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema.nullable(),\n requests_page_count: z.number().int().describe(\"Number of CSV pages available.\").nullable(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection.\").nullable(),\n}).describe(\"Response model for CSV download links.\");\n\nexport const redcircleApiGetRequestsCsvLinks = action(\"REDCIRCLE_API_GET_REQUESTS_CSV_LINKS\", {\n slug: \"redcircle_api-get-requests-csv-links\",\n name: \"Get Requests CSV Links\",\n description: \"Tool to retrieve CSV download links for all requests in a collection. Use when you need to export request data in CSV format. Each CSV file contains up to 1000 requests.\",\n input: RedcircleApiGetRequestsCsvLinksInput,\n output: RedcircleApiGetRequestsCsvLinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACzG,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,oDAAoD,EAAE,OAAO,EACjE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAM,sDAAsD,EAAE,OAAO,EACnE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,EAC3G,CAAC,CAAC,CAAC,SAAS,uCAAuC;AASnD,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmD,EAAE,OAAO;EAC5D,cAAc,kDAAkD,SAAS;EACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC1E,gBAAgB,oDAAoD,SAAS;EAC7E,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1F,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-requests-csv-links.mjs","names":[],"sources":["../../src/actions/get-requests-csv-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetRequestsCsvLinksInput = z.object({\n collection_id: z.string().describe(\"The ID of the collection for which to retrieve CSV download links.\"),\n}).describe(\"Request model for retrieving CSV download links for all requests in a collection.\");\nconst RedcircleApiGetRequestsCsvLinks_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).passthrough().describe(\"Request status information.\");\nconst RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema = z.object({\n pages: z.array(z.string()).describe(\"Array of CSV file download URLs, with up to 1000 requests per file.\"),\n}).passthrough().describe(\"Contains download URLs for CSV files.\");\nexport const RedcircleApiGetRequestsCsvLinksOutput = z.object({\n request_info: RedcircleApiGetRequestsCsvLinks_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier.\").nullable(),\n download_links: RedcircleApiGetRequestsCsvLinks_DownloadLinksSchema.nullable(),\n requests_page_count: z.number().int().describe(\"Number of CSV pages available.\").nullable(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection.\").nullable(),\n}).passthrough().describe(\"Response model for CSV download links.\");\n\nexport const redcircleApiGetRequestsCsvLinks = action(\"REDCIRCLE_API_GET_REQUESTS_CSV_LINKS\", {\n slug: \"redcircle_api-get-requests-csv-links\",\n name: \"Get Requests CSV Links\",\n description: \"Tool to retrieve CSV download links for all requests in a collection. Use when you need to export request data in CSV format. Each CSV file contains up to 1000 requests.\",\n input: RedcircleApiGetRequestsCsvLinksInput,\n output: RedcircleApiGetRequestsCsvLinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACzG,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,oDAAoD,EAAE,OAAO,EACjE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAM,sDAAsD,EAAE,OAAO,EACnE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AASjE,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmD,EAAE,OAAO;EAC5D,cAAc,kDAAkD,SAAS;EACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC1E,gBAAgB,oDAAoD,SAAS;EAC7E,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1F,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
@@ -2,15 +2,15 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-requests-json-links.ts
4
4
  const RedcircleApiGetRequestsJsonLinksInput = zod.z.object({ collection_id: zod.z.string().describe("The unique identifier of the collection to retrieve requests from.") }).describe("Request model for retrieving JSON download links for all requests in a collection.");
5
- const RedcircleApiGetRequestsJsonLinks_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the request was successful.").nullable() }).describe("Contains request execution status information.");
6
- const RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema = zod.z.object({ pages: zod.z.array(zod.z.string()).describe("Array of direct download URLs for each JSON file page.") }).describe("Contains download URLs for request data.");
5
+ const RedcircleApiGetRequestsJsonLinks_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the request was successful.").nullable() }).passthrough().describe("Contains request execution status information.");
6
+ const RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema = zod.z.object({ pages: zod.z.array(zod.z.string()).describe("Array of direct download URLs for each JSON file page.") }).passthrough().describe("Contains download URLs for request data.");
7
7
  const RedcircleApiGetRequestsJsonLinksOutput = zod.z.object({
8
8
  request_info: RedcircleApiGetRequestsJsonLinks_RequestInfoSchema.nullable(),
9
9
  collection_id: zod.z.string().describe("The collection identifier that was queried.").nullable(),
10
10
  download_links: RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema.nullable(),
11
11
  requests_page_count: zod.z.number().int().describe("Total number of pagination pages available.").nullable(),
12
12
  requests_total_count: zod.z.number().int().describe("Total number of requests in the collection.").nullable()
13
- }).describe("Response model containing download links for collection requests in JSON format.");
13
+ }).passthrough().describe("Response model containing download links for collection requests in JSON format.");
14
14
  const redcircleApiGetRequestsJsonLinks = require_action.action("REDCIRCLE_API_GET_REQUESTS_JSON_LINKS", {
15
15
  slug: "redcircle_api-get-requests-json-links",
16
16
  name: "Get Requests JSON Links",
@@ -1 +1 @@
1
- {"version":3,"file":"get-requests-json-links.cjs","names":["z","action"],"sources":["../../src/actions/get-requests-json-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetRequestsJsonLinksInput = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve requests from.\"),\n}).describe(\"Request model for retrieving JSON download links for all requests in a collection.\");\nconst RedcircleApiGetRequestsJsonLinks_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).describe(\"Contains request execution status information.\");\nconst RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema = z.object({\n pages: z.array(z.string()).describe(\"Array of direct download URLs for each JSON file page.\"),\n}).describe(\"Contains download URLs for request data.\");\nexport const RedcircleApiGetRequestsJsonLinksOutput = z.object({\n request_info: RedcircleApiGetRequestsJsonLinks_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier that was queried.\").nullable(),\n download_links: RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema.nullable(),\n requests_page_count: z.number().int().describe(\"Total number of pagination pages available.\").nullable(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection.\").nullable(),\n}).describe(\"Response model containing download links for collection requests in JSON format.\");\n\nexport const redcircleApiGetRequestsJsonLinks = action(\"REDCIRCLE_API_GET_REQUESTS_JSON_LINKS\", {\n slug: \"redcircle_api-get-requests-json-links\",\n name: \"Get Requests JSON Links\",\n description: \"Tool to retrieve download links for all requests in a collection in JSON format. Use when you need to access request data from a specific collection. Returns paginated URLs for downloading request information.\",\n input: RedcircleApiGetRequestsJsonLinksInput,\n output: RedcircleApiGetRequestsJsonLinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACzG,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,qDAAqDA,IAAAA,EAAE,OAAO,EAClE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,uDAAuDA,IAAAA,EAAE,OAAO,EACpE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAC9F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,cAAc,mDAAmD,SAAS;CAC1E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,gBAAgB,qDAAqD,SAAS;CAC9E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAE9F,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-requests-json-links.cjs","names":["z","action"],"sources":["../../src/actions/get-requests-json-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetRequestsJsonLinksInput = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve requests from.\"),\n}).describe(\"Request model for retrieving JSON download links for all requests in a collection.\");\nconst RedcircleApiGetRequestsJsonLinks_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).passthrough().describe(\"Contains request execution status information.\");\nconst RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema = z.object({\n pages: z.array(z.string()).describe(\"Array of direct download URLs for each JSON file page.\"),\n}).passthrough().describe(\"Contains download URLs for request data.\");\nexport const RedcircleApiGetRequestsJsonLinksOutput = z.object({\n request_info: RedcircleApiGetRequestsJsonLinks_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier that was queried.\").nullable(),\n download_links: RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema.nullable(),\n requests_page_count: z.number().int().describe(\"Total number of pagination pages available.\").nullable(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection.\").nullable(),\n}).passthrough().describe(\"Response model containing download links for collection requests in JSON format.\");\n\nexport const redcircleApiGetRequestsJsonLinks = action(\"REDCIRCLE_API_GET_REQUESTS_JSON_LINKS\", {\n slug: \"redcircle_api-get-requests-json-links\",\n name: \"Get Requests JSON Links\",\n description: \"Tool to retrieve download links for all requests in a collection in JSON format. Use when you need to access request data from a specific collection. Returns paginated URLs for downloading request information.\",\n input: RedcircleApiGetRequestsJsonLinksInput,\n output: RedcircleApiGetRequestsJsonLinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACzG,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,qDAAqDA,IAAAA,EAAE,OAAO,EAClE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,uDAAuDA,IAAAA,EAAE,OAAO,EACpE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,cAAc,mDAAmD,SAAS;CAC1E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,gBAAgB,qDAAqD,SAAS;CAC9E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAAkF;AAE5G,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,14 +7,14 @@ declare const RedcircleApiGetRequestsJsonLinksInput: z.ZodObject<{
7
7
  declare const RedcircleApiGetRequestsJsonLinksOutput: z.ZodObject<{
8
8
  request_info: z.ZodNullable<z.ZodObject<{
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  collection_id: z.ZodNullable<z.ZodString>;
12
12
  download_links: z.ZodNullable<z.ZodObject<{
13
13
  pages: z.ZodArray<z.ZodString>;
14
- }, z.core.$strip>>;
14
+ }, z.core.$loose>>;
15
15
  requests_page_count: z.ZodNullable<z.ZodNumber>;
16
16
  requests_total_count: z.ZodNullable<z.ZodNumber>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const redcircleApiGetRequestsJsonLinks: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  collection_id: string;
20
20
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,14 +7,14 @@ declare const RedcircleApiGetRequestsJsonLinksInput: z.ZodObject<{
7
7
  declare const RedcircleApiGetRequestsJsonLinksOutput: z.ZodObject<{
8
8
  request_info: z.ZodNullable<z.ZodObject<{
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  collection_id: z.ZodNullable<z.ZodString>;
12
12
  download_links: z.ZodNullable<z.ZodObject<{
13
13
  pages: z.ZodArray<z.ZodString>;
14
- }, z.core.$strip>>;
14
+ }, z.core.$loose>>;
15
15
  requests_page_count: z.ZodNullable<z.ZodNumber>;
16
16
  requests_total_count: z.ZodNullable<z.ZodNumber>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const redcircleApiGetRequestsJsonLinks: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  collection_id: string;
20
20
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -2,8 +2,8 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/get-requests-json-links.ts
4
4
  const RedcircleApiGetRequestsJsonLinksInput = z.object({ collection_id: z.string().describe("The unique identifier of the collection to retrieve requests from.") }).describe("Request model for retrieving JSON download links for all requests in a collection.");
5
- const RedcircleApiGetRequestsJsonLinks_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the request was successful.").nullable() }).describe("Contains request execution status information.");
6
- const RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema = z.object({ pages: z.array(z.string()).describe("Array of direct download URLs for each JSON file page.") }).describe("Contains download URLs for request data.");
5
+ const RedcircleApiGetRequestsJsonLinks_RequestInfoSchema = z.object({ success: z.boolean().describe("Indicates if the request was successful.").nullable() }).passthrough().describe("Contains request execution status information.");
6
+ const RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema = z.object({ pages: z.array(z.string()).describe("Array of direct download URLs for each JSON file page.") }).passthrough().describe("Contains download URLs for request data.");
7
7
  const redcircleApiGetRequestsJsonLinks = action("REDCIRCLE_API_GET_REQUESTS_JSON_LINKS", {
8
8
  slug: "redcircle_api-get-requests-json-links",
9
9
  name: "Get Requests JSON Links",
@@ -15,7 +15,7 @@ const redcircleApiGetRequestsJsonLinks = action("REDCIRCLE_API_GET_REQUESTS_JSON
15
15
  download_links: RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema.nullable(),
16
16
  requests_page_count: z.number().int().describe("Total number of pagination pages available.").nullable(),
17
17
  requests_total_count: z.number().int().describe("Total number of requests in the collection.").nullable()
18
- }).describe("Response model containing download links for collection requests in JSON format.")
18
+ }).passthrough().describe("Response model containing download links for collection requests in JSON format.")
19
19
  });
20
20
  //#endregion
21
21
  export { redcircleApiGetRequestsJsonLinks };
@@ -1 +1 @@
1
- {"version":3,"file":"get-requests-json-links.mjs","names":[],"sources":["../../src/actions/get-requests-json-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetRequestsJsonLinksInput = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve requests from.\"),\n}).describe(\"Request model for retrieving JSON download links for all requests in a collection.\");\nconst RedcircleApiGetRequestsJsonLinks_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).describe(\"Contains request execution status information.\");\nconst RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema = z.object({\n pages: z.array(z.string()).describe(\"Array of direct download URLs for each JSON file page.\"),\n}).describe(\"Contains download URLs for request data.\");\nexport const RedcircleApiGetRequestsJsonLinksOutput = z.object({\n request_info: RedcircleApiGetRequestsJsonLinks_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier that was queried.\").nullable(),\n download_links: RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema.nullable(),\n requests_page_count: z.number().int().describe(\"Total number of pagination pages available.\").nullable(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection.\").nullable(),\n}).describe(\"Response model containing download links for collection requests in JSON format.\");\n\nexport const redcircleApiGetRequestsJsonLinks = action(\"REDCIRCLE_API_GET_REQUESTS_JSON_LINKS\", {\n slug: \"redcircle_api-get-requests-json-links\",\n name: \"Get Requests JSON Links\",\n description: \"Tool to retrieve download links for all requests in a collection in JSON format. Use when you need to access request data from a specific collection. Returns paginated URLs for downloading request information.\",\n input: RedcircleApiGetRequestsJsonLinksInput,\n output: RedcircleApiGetRequestsJsonLinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACzG,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,qDAAqD,EAAE,OAAO,EAClE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,uDAAuD,EAAE,OAAO,EACpE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAC9F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAStD,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboD,EAAE,OAAO;EAC7D,cAAc,mDAAmD,SAAS;EAC1E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,gBAAgB,qDAAqD,SAAS;EAC9E,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACvG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,kFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-requests-json-links.mjs","names":[],"sources":["../../src/actions/get-requests-json-links.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedcircleApiGetRequestsJsonLinksInput = z.object({\n collection_id: z.string().describe(\"The unique identifier of the collection to retrieve requests from.\"),\n}).describe(\"Request model for retrieving JSON download links for all requests in a collection.\");\nconst RedcircleApiGetRequestsJsonLinks_RequestInfoSchema = z.object({\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).passthrough().describe(\"Contains request execution status information.\");\nconst RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema = z.object({\n pages: z.array(z.string()).describe(\"Array of direct download URLs for each JSON file page.\"),\n}).passthrough().describe(\"Contains download URLs for request data.\");\nexport const RedcircleApiGetRequestsJsonLinksOutput = z.object({\n request_info: RedcircleApiGetRequestsJsonLinks_RequestInfoSchema.nullable(),\n collection_id: z.string().describe(\"The collection identifier that was queried.\").nullable(),\n download_links: RedcircleApiGetRequestsJsonLinks_DownloadLinksSchema.nullable(),\n requests_page_count: z.number().int().describe(\"Total number of pagination pages available.\").nullable(),\n requests_total_count: z.number().int().describe(\"Total number of requests in the collection.\").nullable(),\n}).passthrough().describe(\"Response model containing download links for collection requests in JSON format.\");\n\nexport const redcircleApiGetRequestsJsonLinks = action(\"REDCIRCLE_API_GET_REQUESTS_JSON_LINKS\", {\n slug: \"redcircle_api-get-requests-json-links\",\n name: \"Get Requests JSON Links\",\n description: \"Tool to retrieve download links for all requests in a collection in JSON format. Use when you need to access request data from a specific collection. Returns paginated URLs for downloading request information.\",\n input: RedcircleApiGetRequestsJsonLinksInput,\n output: RedcircleApiGetRequestsJsonLinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACzG,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,qDAAqD,EAAE,OAAO,EAClE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,uDAAuD,EAAE,OAAO,EACpE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AASpE,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboD,EAAE,OAAO;EAC7D,cAAc,mDAAmD,SAAS;EAC1E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,gBAAgB,qDAAqD,SAAS;EAC9E,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACvG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAOhB;AACV,CAAC"}
@@ -9,21 +9,21 @@ const RedcircleApiGetResultSetCsvInput = zod.z.object({
9
9
  const RedcircleApiGetResultSetCsv_DownloadLinksSchema = zod.z.object({
10
10
  pages: zod.z.array(zod.z.string()).describe("Array of URLs for individual page CSV files."),
11
11
  all_pages: zod.z.string().describe("Bulk download link for all pages combined into a single CSV archive.").nullable()
12
- }).describe("Contains CSV file download URLs for the result set.");
12
+ }).passthrough().describe("Contains CSV file download URLs for the result set.");
13
13
  const RedcircleApiGetResultSetCsv_WebhookLogEntrySchema = zod.z.object({
14
- json: zod.z.object({}).describe("Optional JSON payload associated with the log entry.").nullable().optional(),
14
+ json: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional JSON payload associated with the log entry.").nullable().optional(),
15
15
  text: zod.z.string().describe("Log message text.").nullable().optional(),
16
16
  date_time: zod.z.string().describe("Timestamp of the log entry.").nullable().optional()
17
17
  }).passthrough().describe("A single webhook log entry.");
18
18
  const RedcircleApiGetResultSetCsv_WebhookResendDataSchema = zod.z.object({
19
19
  url: zod.z.string().describe("The webhook URL to resend to.").nullable().optional(),
20
- body: zod.z.object({}).describe("The body payload for the webhook.").nullable().optional()
20
+ body: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The body payload for the webhook.").nullable().optional()
21
21
  }).passthrough().describe("Data for resending a failed webhook.");
22
22
  const RedcircleApiGetResultSetCsv_WebhookStatusSchema = zod.z.object({
23
23
  log: zod.z.array(RedcircleApiGetResultSetCsv_WebhookLogEntrySchema).describe("Log entries from webhook execution.").nullable().optional(),
24
24
  status: zod.z.string().describe("Current status of webhook execution.").nullable().optional(),
25
25
  resend_data: RedcircleApiGetResultSetCsv_WebhookResendDataSchema.nullable().optional()
26
- }).describe("Contains webhook execution details.");
26
+ }).passthrough().describe("Contains webhook execution details.");
27
27
  const RedcircleApiGetResultSetCsv_ResultSchema = zod.z.object({
28
28
  id: zod.z.number().int().describe("Result set identifier.").nullable(),
29
29
  ended_at: zod.z.string().describe("Timestamp when processing completed (ISO 8601 format).").nullable().optional(),
@@ -33,16 +33,16 @@ const RedcircleApiGetResultSetCsv_ResultSchema = zod.z.object({
33
33
  requests_total: zod.z.number().int().describe("Total number of requests processed.").nullable(),
34
34
  webhook_status: RedcircleApiGetResultSetCsv_WebhookStatusSchema.nullable().optional(),
35
35
  requests_failed: zod.z.number().int().describe("Count of failed requests.").nullable(),
36
- destination_status: zod.z.object({}).describe("Destination upload results by destination ID.").nullable().optional(),
36
+ destination_status: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Destination upload results by destination ID.").nullable().optional(),
37
37
  requests_completed: zod.z.number().int().describe("Count of successful requests.").nullable(),
38
38
  results_page_count: zod.z.number().int().describe("Number of result pages available.").nullable()
39
- }).describe("Contains detailed result set information.");
40
- const RedcircleApiGetResultSetCsv_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the API call was successful.").nullable() }).describe("Contains request execution status information.");
39
+ }).passthrough().describe("Contains detailed result set information.");
40
+ const RedcircleApiGetResultSetCsv_RequestInfoSchema = zod.z.object({ success: zod.z.boolean().describe("Indicates if the API call was successful.").nullable() }).passthrough().describe("Contains request execution status information.");
41
41
  const RedcircleApiGetResultSetCsvOutput = zod.z.object({
42
42
  result: RedcircleApiGetResultSetCsv_ResultSchema.nullable(),
43
43
  request_info: RedcircleApiGetResultSetCsv_RequestInfoSchema.nullable(),
44
44
  collection_id: zod.z.string().describe("The collection identifier that was queried.").nullable()
45
- }).describe("Response model containing result set data in CSV format with download links.");
45
+ }).passthrough().describe("Response model containing result set data in CSV format with download links.");
46
46
  const redcircleApiGetResultSetCsv = require_action.action("REDCIRCLE_API_GET_RESULT_SET_CSV", {
47
47
  slug: "redcircle_api-get-result-set-csv",
48
48
  name: "Get Result Set CSV",