@keystrokehq/scale_ai 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 (251) hide show
  1. package/dist/actions/add-studio-assignments.cjs +1 -1
  2. package/dist/actions/add-studio-assignments.cjs.map +1 -1
  3. package/dist/actions/add-studio-assignments.d.cts +2 -2
  4. package/dist/actions/add-studio-assignments.d.mts +2 -2
  5. package/dist/actions/add-studio-assignments.mjs +1 -1
  6. package/dist/actions/add-studio-assignments.mjs.map +1 -1
  7. package/dist/actions/add-task-tags.cjs +1 -1
  8. package/dist/actions/add-task-tags.cjs.map +1 -1
  9. package/dist/actions/add-task-tags.d.cts +1 -1
  10. package/dist/actions/add-task-tags.d.mts +1 -1
  11. package/dist/actions/add-task-tags.mjs +1 -1
  12. package/dist/actions/add-task-tags.mjs.map +1 -1
  13. package/dist/actions/create-batch.cjs +1 -1
  14. package/dist/actions/create-batch.cjs.map +1 -1
  15. package/dist/actions/create-batch.d.cts +1 -1
  16. package/dist/actions/create-batch.d.mts +1 -1
  17. package/dist/actions/create-batch.mjs +1 -1
  18. package/dist/actions/create-batch.mjs.map +1 -1
  19. package/dist/actions/create-document-transcription-task.cjs +16 -16
  20. package/dist/actions/create-document-transcription-task.cjs.map +1 -1
  21. package/dist/actions/create-document-transcription-task.d.cts +22 -19
  22. package/dist/actions/create-document-transcription-task.d.mts +22 -19
  23. package/dist/actions/create-document-transcription-task.mjs +16 -16
  24. package/dist/actions/create-document-transcription-task.mjs.map +1 -1
  25. package/dist/actions/create-image-annotation-task.cjs +22 -22
  26. package/dist/actions/create-image-annotation-task.cjs.map +1 -1
  27. package/dist/actions/create-image-annotation-task.d.cts +36 -35
  28. package/dist/actions/create-image-annotation-task.d.mts +36 -35
  29. package/dist/actions/create-image-annotation-task.mjs +22 -22
  30. package/dist/actions/create-image-annotation-task.mjs.map +1 -1
  31. package/dist/actions/create-lidar-annotation-task.cjs +2 -2
  32. package/dist/actions/create-lidar-annotation-task.cjs.map +1 -1
  33. package/dist/actions/create-lidar-annotation-task.d.cts +2 -2
  34. package/dist/actions/create-lidar-annotation-task.d.mts +2 -2
  35. package/dist/actions/create-lidar-annotation-task.mjs +2 -2
  36. package/dist/actions/create-lidar-annotation-task.mjs.map +1 -1
  37. package/dist/actions/create-lidar-segmentation-task.cjs +6 -6
  38. package/dist/actions/create-lidar-segmentation-task.cjs.map +1 -1
  39. package/dist/actions/create-lidar-segmentation-task.d.cts +8 -8
  40. package/dist/actions/create-lidar-segmentation-task.d.mts +8 -8
  41. package/dist/actions/create-lidar-segmentation-task.mjs +6 -6
  42. package/dist/actions/create-lidar-segmentation-task.mjs.map +1 -1
  43. package/dist/actions/create-named-entity-recognition-task.cjs +5 -5
  44. package/dist/actions/create-named-entity-recognition-task.cjs.map +1 -1
  45. package/dist/actions/create-named-entity-recognition-task.d.cts +8 -5
  46. package/dist/actions/create-named-entity-recognition-task.d.cts.map +1 -1
  47. package/dist/actions/create-named-entity-recognition-task.d.mts +8 -5
  48. package/dist/actions/create-named-entity-recognition-task.d.mts.map +1 -1
  49. package/dist/actions/create-named-entity-recognition-task.mjs +5 -5
  50. package/dist/actions/create-named-entity-recognition-task.mjs.map +1 -1
  51. package/dist/actions/create-segmentation-annotation-task.cjs +15 -15
  52. package/dist/actions/create-segmentation-annotation-task.cjs.map +1 -1
  53. package/dist/actions/create-segmentation-annotation-task.d.cts +20 -18
  54. package/dist/actions/create-segmentation-annotation-task.d.mts +20 -18
  55. package/dist/actions/create-segmentation-annotation-task.mjs +15 -15
  56. package/dist/actions/create-segmentation-annotation-task.mjs.map +1 -1
  57. package/dist/actions/create-text-collection-task.cjs +14 -14
  58. package/dist/actions/create-text-collection-task.cjs.map +1 -1
  59. package/dist/actions/create-text-collection-task.d.cts +20 -17
  60. package/dist/actions/create-text-collection-task.d.cts.map +1 -1
  61. package/dist/actions/create-text-collection-task.d.mts +20 -17
  62. package/dist/actions/create-text-collection-task.d.mts.map +1 -1
  63. package/dist/actions/create-text-collection-task.mjs +14 -14
  64. package/dist/actions/create-text-collection-task.mjs.map +1 -1
  65. package/dist/actions/create-video-annotation-task.cjs +11 -11
  66. package/dist/actions/create-video-annotation-task.cjs.map +1 -1
  67. package/dist/actions/create-video-annotation-task.d.cts +13 -13
  68. package/dist/actions/create-video-annotation-task.d.mts +13 -13
  69. package/dist/actions/create-video-annotation-task.mjs +11 -11
  70. package/dist/actions/create-video-annotation-task.mjs.map +1 -1
  71. package/dist/actions/create-video-playback-annotation-task.cjs +14 -14
  72. package/dist/actions/create-video-playback-annotation-task.cjs.map +1 -1
  73. package/dist/actions/create-video-playback-annotation-task.d.cts +17 -17
  74. package/dist/actions/create-video-playback-annotation-task.d.mts +17 -17
  75. package/dist/actions/create-video-playback-annotation-task.mjs +14 -14
  76. package/dist/actions/create-video-playback-annotation-task.mjs.map +1 -1
  77. package/dist/actions/delete-task-tags.cjs +1 -1
  78. package/dist/actions/delete-task-tags.cjs.map +1 -1
  79. package/dist/actions/delete-task-tags.d.cts +1 -1
  80. package/dist/actions/delete-task-tags.d.mts +1 -1
  81. package/dist/actions/delete-task-tags.mjs +1 -1
  82. package/dist/actions/delete-task-tags.mjs.map +1 -1
  83. package/dist/actions/delete-task-unique-id.cjs +2 -2
  84. package/dist/actions/delete-task-unique-id.cjs.map +1 -1
  85. package/dist/actions/delete-task-unique-id.d.cts +2 -2
  86. package/dist/actions/delete-task-unique-id.d.mts +2 -2
  87. package/dist/actions/delete-task-unique-id.mjs +2 -2
  88. package/dist/actions/delete-task-unique-id.mjs.map +1 -1
  89. package/dist/actions/finalize-batch.cjs +1 -1
  90. package/dist/actions/finalize-batch.cjs.map +1 -1
  91. package/dist/actions/finalize-batch.d.cts +1 -1
  92. package/dist/actions/finalize-batch.d.mts +1 -1
  93. package/dist/actions/finalize-batch.mjs +1 -1
  94. package/dist/actions/finalize-batch.mjs.map +1 -1
  95. package/dist/actions/get-assets.cjs +2 -2
  96. package/dist/actions/get-assets.cjs.map +1 -1
  97. package/dist/actions/get-assets.d.cts +2 -2
  98. package/dist/actions/get-assets.d.mts +2 -2
  99. package/dist/actions/get-assets.mjs +2 -2
  100. package/dist/actions/get-assets.mjs.map +1 -1
  101. package/dist/actions/get-batch-status.cjs +1 -1
  102. package/dist/actions/get-batch-status.cjs.map +1 -1
  103. package/dist/actions/get-batch-status.d.cts +1 -1
  104. package/dist/actions/get-batch-status.d.mts +1 -1
  105. package/dist/actions/get-batch-status.mjs +1 -1
  106. package/dist/actions/get-batch-status.mjs.map +1 -1
  107. package/dist/actions/get-batch.cjs +2 -2
  108. package/dist/actions/get-batch.cjs.map +1 -1
  109. package/dist/actions/get-batch.d.cts +2 -2
  110. package/dist/actions/get-batch.d.mts +2 -2
  111. package/dist/actions/get-batch.mjs +2 -2
  112. package/dist/actions/get-batch.mjs.map +1 -1
  113. package/dist/actions/get-fixless-audits.cjs +6 -6
  114. package/dist/actions/get-fixless-audits.cjs.map +1 -1
  115. package/dist/actions/get-fixless-audits.d.cts +6 -6
  116. package/dist/actions/get-fixless-audits.d.mts +6 -6
  117. package/dist/actions/get-fixless-audits.mjs +6 -6
  118. package/dist/actions/get-fixless-audits.mjs.map +1 -1
  119. package/dist/actions/get-project.cjs +2 -2
  120. package/dist/actions/get-project.cjs.map +1 -1
  121. package/dist/actions/get-project.d.cts +2 -2
  122. package/dist/actions/get-project.d.mts +2 -2
  123. package/dist/actions/get-project.mjs +2 -2
  124. package/dist/actions/get-project.mjs.map +1 -1
  125. package/dist/actions/get-quality-labelers.cjs +3 -3
  126. package/dist/actions/get-quality-labelers.cjs.map +1 -1
  127. package/dist/actions/get-quality-labelers.d.cts +3 -3
  128. package/dist/actions/get-quality-labelers.d.mts +3 -3
  129. package/dist/actions/get-quality-labelers.mjs +3 -3
  130. package/dist/actions/get-quality-labelers.mjs.map +1 -1
  131. package/dist/actions/get-studio-assignments.cjs +2 -2
  132. package/dist/actions/get-studio-assignments.cjs.map +1 -1
  133. package/dist/actions/get-studio-assignments.d.cts +2 -2
  134. package/dist/actions/get-studio-assignments.d.mts +2 -2
  135. package/dist/actions/get-studio-assignments.mjs +2 -2
  136. package/dist/actions/get-studio-assignments.mjs.map +1 -1
  137. package/dist/actions/get-studio-batches.cjs +2 -2
  138. package/dist/actions/get-studio-batches.cjs.map +1 -1
  139. package/dist/actions/get-studio-batches.d.cts +2 -2
  140. package/dist/actions/get-studio-batches.d.mts +2 -2
  141. package/dist/actions/get-studio-batches.mjs +2 -2
  142. package/dist/actions/get-studio-batches.mjs.map +1 -1
  143. package/dist/actions/get-teams.cjs +2 -2
  144. package/dist/actions/get-teams.cjs.map +1 -1
  145. package/dist/actions/get-teams.d.cts +2 -2
  146. package/dist/actions/get-teams.d.mts +2 -2
  147. package/dist/actions/get-teams.mjs +2 -2
  148. package/dist/actions/get-teams.mjs.map +1 -1
  149. package/dist/actions/get-v1-task-response-url.cjs +1 -1
  150. package/dist/actions/get-v1-task-response-url.cjs.map +1 -1
  151. package/dist/actions/get-v1-task-response-url.d.cts +1 -1
  152. package/dist/actions/get-v1-task-response-url.d.mts +1 -1
  153. package/dist/actions/get-v1-task-response-url.mjs +1 -1
  154. package/dist/actions/get-v1-task-response-url.mjs.map +1 -1
  155. package/dist/actions/get-v1-task.cjs +1 -1
  156. package/dist/actions/get-v1-task.cjs.map +1 -1
  157. package/dist/actions/get-v1-task.d.cts +1 -1
  158. package/dist/actions/get-v1-task.d.mts +1 -1
  159. package/dist/actions/get-v1-task.mjs +1 -1
  160. package/dist/actions/get-v1-task.mjs.map +1 -1
  161. package/dist/actions/import-file.cjs +1 -1
  162. package/dist/actions/import-file.cjs.map +1 -1
  163. package/dist/actions/import-file.d.cts +1 -1
  164. package/dist/actions/import-file.d.mts +1 -1
  165. package/dist/actions/import-file.mjs +1 -1
  166. package/dist/actions/import-file.mjs.map +1 -1
  167. package/dist/actions/invite-team-member.cjs +2 -2
  168. package/dist/actions/invite-team-member.cjs.map +1 -1
  169. package/dist/actions/invite-team-member.d.cts +2 -2
  170. package/dist/actions/invite-team-member.d.mts +2 -2
  171. package/dist/actions/invite-team-member.mjs +2 -2
  172. package/dist/actions/invite-team-member.mjs.map +1 -1
  173. package/dist/actions/list-batches.cjs +3 -3
  174. package/dist/actions/list-batches.cjs.map +1 -1
  175. package/dist/actions/list-batches.d.cts +3 -3
  176. package/dist/actions/list-batches.d.mts +3 -3
  177. package/dist/actions/list-batches.mjs +3 -3
  178. package/dist/actions/list-batches.mjs.map +1 -1
  179. package/dist/actions/list-projects.cjs +3 -3
  180. package/dist/actions/list-projects.cjs.map +1 -1
  181. package/dist/actions/list-projects.d.cts +3 -3
  182. package/dist/actions/list-projects.d.mts +3 -3
  183. package/dist/actions/list-projects.mjs +3 -3
  184. package/dist/actions/list-projects.mjs.map +1 -1
  185. package/dist/actions/list-tasks.cjs +2 -2
  186. package/dist/actions/list-tasks.cjs.map +1 -1
  187. package/dist/actions/list-tasks.d.cts +2 -2
  188. package/dist/actions/list-tasks.d.mts +2 -2
  189. package/dist/actions/list-tasks.mjs +2 -2
  190. package/dist/actions/list-tasks.mjs.map +1 -1
  191. package/dist/actions/post-v1-task-send-callback.cjs +1 -1
  192. package/dist/actions/post-v1-task-send-callback.cjs.map +1 -1
  193. package/dist/actions/post-v1-task-send-callback.d.cts +1 -1
  194. package/dist/actions/post-v1-task-send-callback.d.mts +1 -1
  195. package/dist/actions/post-v1-task-send-callback.mjs +1 -1
  196. package/dist/actions/post-v1-task-send-callback.mjs.map +1 -1
  197. package/dist/actions/remove-studio-assignments.cjs +3 -3
  198. package/dist/actions/remove-studio-assignments.cjs.map +1 -1
  199. package/dist/actions/remove-studio-assignments.d.cts +3 -3
  200. package/dist/actions/remove-studio-assignments.d.mts +3 -3
  201. package/dist/actions/remove-studio-assignments.mjs +3 -3
  202. package/dist/actions/remove-studio-assignments.mjs.map +1 -1
  203. package/dist/actions/reset-batch-priorities.cjs +2 -2
  204. package/dist/actions/reset-batch-priorities.cjs.map +1 -1
  205. package/dist/actions/reset-batch-priorities.d.cts +2 -2
  206. package/dist/actions/reset-batch-priorities.d.mts +2 -2
  207. package/dist/actions/reset-batch-priorities.mjs +2 -2
  208. package/dist/actions/reset-batch-priorities.mjs.map +1 -1
  209. package/dist/actions/set-batch-priorities.cjs +3 -3
  210. package/dist/actions/set-batch-priorities.cjs.map +1 -1
  211. package/dist/actions/set-batch-priorities.d.cts +4 -3
  212. package/dist/actions/set-batch-priorities.d.mts +4 -3
  213. package/dist/actions/set-batch-priorities.mjs +3 -3
  214. package/dist/actions/set-batch-priorities.mjs.map +1 -1
  215. package/dist/actions/set-project-ontology.cjs +3 -3
  216. package/dist/actions/set-project-ontology.cjs.map +1 -1
  217. package/dist/actions/set-project-ontology.d.cts +3 -3
  218. package/dist/actions/set-project-ontology.d.mts +3 -3
  219. package/dist/actions/set-project-ontology.mjs +3 -3
  220. package/dist/actions/set-project-ontology.mjs.map +1 -1
  221. package/dist/actions/set-project-params.cjs +2 -2
  222. package/dist/actions/set-project-params.cjs.map +1 -1
  223. package/dist/actions/set-project-params.d.cts +2 -2
  224. package/dist/actions/set-project-params.d.mts +2 -2
  225. package/dist/actions/set-project-params.mjs +2 -2
  226. package/dist/actions/set-project-params.mjs.map +1 -1
  227. package/dist/actions/set-task-metadata.cjs +1 -1
  228. package/dist/actions/set-task-metadata.cjs.map +1 -1
  229. package/dist/actions/set-task-metadata.d.cts +1 -1
  230. package/dist/actions/set-task-metadata.d.mts +1 -1
  231. package/dist/actions/set-task-metadata.mjs +1 -1
  232. package/dist/actions/set-task-metadata.mjs.map +1 -1
  233. package/dist/actions/update-task-unique-id.cjs +1 -1
  234. package/dist/actions/update-task-unique-id.cjs.map +1 -1
  235. package/dist/actions/update-task-unique-id.d.cts +1 -1
  236. package/dist/actions/update-task-unique-id.d.mts +1 -1
  237. package/dist/actions/update-task-unique-id.mjs +1 -1
  238. package/dist/actions/update-task-unique-id.mjs.map +1 -1
  239. package/dist/actions/upload-file.cjs +2 -2
  240. package/dist/actions/upload-file.cjs.map +1 -1
  241. package/dist/actions/upload-file.d.cts +3 -3
  242. package/dist/actions/upload-file.d.mts +3 -3
  243. package/dist/actions/upload-file.mjs +2 -2
  244. package/dist/actions/upload-file.mjs.map +1 -1
  245. package/dist/catalog.cjs +1 -1
  246. package/dist/catalog.cjs.map +1 -1
  247. package/dist/catalog.d.cts +1 -1
  248. package/dist/catalog.d.mts +1 -1
  249. package/dist/catalog.mjs +1 -1
  250. package/dist/catalog.mjs.map +1 -1
  251. package/package.json +1 -1
@@ -9,9 +9,9 @@ declare const ScaleAiGetBatchOutput: z.ZodObject<{
9
9
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  project: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  callback: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
12
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
13
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const scaleAiGetBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  batch_name: string;
17
17
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -10,9 +10,9 @@ const scaleAiGetBatch = action("SCALE_AI_GET_BATCH", {
10
10
  status: z.string().describe("Current batch state (e.g., 'in_progress')").nullable().optional(),
11
11
  project: z.string().describe("The project name associated with the batch").nullable().optional(),
12
12
  callback: z.string().describe("The callback URL or email address configured for task completion notifications").nullable().optional(),
13
- metadata: z.object({}).describe("Custom key-value pairs associated with the batch").nullable().optional(),
13
+ metadata: z.record(z.string(), z.unknown()).describe("Custom key-value pairs associated with the batch").nullable().optional(),
14
14
  created_at: z.string().describe("ISO 8601 timestamp of batch creation").nullable().optional()
15
- }).describe("Response model for batch details.")
15
+ }).passthrough().describe("Response model for batch details.")
16
16
  });
17
17
  //#endregion
18
18
  export { scaleAiGetBatch };
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch.mjs","names":[],"sources":["../../src/actions/get-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetBatchInput = z.object({\n batch_name: z.string().describe(\"The batch identifier to retrieve\"),\n}).describe(\"Request model for retrieving a batch by name.\");\nexport const ScaleAiGetBatchOutput = z.object({\n name: z.string().describe(\"Identifier for the batch\").nullable().optional(),\n status: z.string().describe(\"Current batch state (e.g., 'in_progress')\").nullable().optional(),\n project: z.string().describe(\"The project name associated with the batch\").nullable().optional(),\n callback: z.string().describe(\"The callback URL or email address configured for task completion notifications\").nullable().optional(),\n metadata: z.object({}).describe(\"Custom key-value pairs associated with the batch\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation\").nullable().optional(),\n}).describe(\"Response model for batch details.\");\n\nexport const scaleAiGetBatch = action(\"SCALE_AI_GET_BATCH\", {\n slug: \"scale_ai-get-batch\",\n name: \"Get Batch\",\n description: \"Tool to retrieve the details of a batch with the specified name. Use when you need to check the status or configuration of an existing batch.\",\n input: ScaleAiGetBatchInput,\n output: ScaleAiGetBatchOutput,\n});\n"],"mappings":";;AAgBA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBkC,EAAE,OAAO,EAC3C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,+CAcH;CACP,QAdmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-batch.mjs","names":[],"sources":["../../src/actions/get-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetBatchInput = z.object({\n batch_name: z.string().describe(\"The batch identifier to retrieve\"),\n}).describe(\"Request model for retrieving a batch by name.\");\nexport const ScaleAiGetBatchOutput = z.object({\n name: z.string().describe(\"Identifier for the batch\").nullable().optional(),\n status: z.string().describe(\"Current batch state (e.g., 'in_progress')\").nullable().optional(),\n project: z.string().describe(\"The project name associated with the batch\").nullable().optional(),\n callback: z.string().describe(\"The callback URL or email address configured for task completion notifications\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs associated with the batch\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation\").nullable().optional(),\n}).passthrough().describe(\"Response model for batch details.\");\n\nexport const scaleAiGetBatch = action(\"SCALE_AI_GET_BATCH\", {\n slug: \"scale_ai-get-batch\",\n name: \"Get Batch\",\n description: \"Tool to retrieve the details of a batch with the specified name. Use when you need to check the status or configuration of an existing batch.\",\n input: ScaleAiGetBatchInput,\n output: ScaleAiGetBatchOutput,\n});\n"],"mappings":";;AAgBA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBkC,EAAE,OAAO,EAC3C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,+CAcH;CACP,QAdmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
@@ -10,11 +10,11 @@ const ScaleAiGetFixlessAudits_FeedbackItemSchema = zod.z.object({
10
10
  scope: zod.z.string().describe("Scope of the feedback").nullable().optional(),
11
11
  state: zod.z.string().describe("State of the feedback item").nullable().optional(),
12
12
  category: zod.z.string().describe("Category of the feedback").nullable().optional(),
13
- metadata: zod.z.object({}).describe("Additional metadata for the feedback item").nullable().optional(),
13
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata for the feedback item").nullable().optional(),
14
14
  severity: zod.z.string().describe("Severity level of the feedback").nullable().optional(),
15
15
  description: zod.z.string().describe("Description of the feedback").nullable().optional()
16
- }).describe("Feedback item within an audit.");
17
- const ScaleAiGetFixlessAudits_TargetResponseSchema = zod.z.object({ url: zod.z.string().describe("URL pointing to audited task response").nullable().optional() }).describe("Target response containing URL to audited task response.");
16
+ }).passthrough().describe("Feedback item within an audit.");
17
+ const ScaleAiGetFixlessAudits_TargetResponseSchema = zod.z.object({ url: zod.z.string().describe("URL pointing to audited task response").nullable().optional() }).passthrough().describe("Target response containing URL to audited task response.");
18
18
  const ScaleAiGetFixlessAudits_FixlessAuditSchema = zod.z.object({
19
19
  id: zod.z.string().describe("Unique audit identifier").nullable(),
20
20
  srn: zod.z.string().describe("Scale Resource Name in format 'srn:scale:avcv:audit:{{id}}'").nullable().optional(),
@@ -24,14 +24,14 @@ const ScaleAiGetFixlessAudits_FixlessAuditSchema = zod.z.object({
24
24
  source: zod.z.string().describe("Origin - 'api', 'lidarlite', or 'classic'").nullable().optional(),
25
25
  task_id: zod.z.string().describe("Associated task identifier").nullable().optional(),
26
26
  comments: zod.z.string().describe("Optional auditor comments").nullable().optional(),
27
- metadata: zod.z.object({}).describe("Custom key-value pairs for tracking").nullable().optional(),
27
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value pairs for tracking").nullable().optional(),
28
28
  created_at: zod.z.string().describe("ISO 8601 timestamp of creation").nullable().optional(),
29
29
  created_by: zod.z.string().describe("User who created the audit").nullable().optional(),
30
30
  updated_at: zod.z.string().describe("ISO 8601 timestamp of last update").nullable().optional(),
31
31
  feedback_items: zod.z.array(ScaleAiGetFixlessAudits_FeedbackItemSchema).describe("Array of feedback item objects").nullable().optional(),
32
32
  target_response: ScaleAiGetFixlessAudits_TargetResponseSchema.nullable().optional()
33
- }).describe("Represents a single fixless audit object.");
34
- const ScaleAiGetFixlessAuditsOutput = zod.z.object({ audits: zod.z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe("List of fixless audit objects") }).describe("Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.");
33
+ }).passthrough().describe("Represents a single fixless audit object.");
34
+ const ScaleAiGetFixlessAuditsOutput = zod.z.object({ audits: zod.z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe("List of fixless audit objects") }).passthrough().describe("Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.");
35
35
  const scaleAiGetFixlessAudits = require_action.action("SCALE_AI_GET_FIXLESS_AUDITS", {
36
36
  slug: "scale_ai-get-fixless-audits",
37
37
  name: "Get Fixless Audits",
@@ -1 +1 @@
1
- {"version":3,"file":"get-fixless-audits.cjs","names":["z","action"],"sources":["../../src/actions/get-fixless-audits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetFixlessAuditsInput = z.object({\n id: z.string().describe(\"Identifier for the specific audit. At least one of task_id or id must be provided.\").optional(),\n task_id: z.string().describe(\"Identifier for the task being audited. At least one of task_id or id must be provided.\").optional(),\n}).describe(\"Request model for retrieving fixless audits. At least one of task_id or id must be provided.\");\nconst ScaleAiGetFixlessAudits_FeedbackItemSchema = z.object({\n type: z.string().describe(\"Type of feedback item\").nullable().optional(),\n scope: z.string().describe(\"Scope of the feedback\").nullable().optional(),\n state: z.string().describe(\"State of the feedback item\").nullable().optional(),\n category: z.string().describe(\"Category of the feedback\").nullable().optional(),\n metadata: z.object({}).describe(\"Additional metadata for the feedback item\").nullable().optional(),\n severity: z.string().describe(\"Severity level of the feedback\").nullable().optional(),\n description: z.string().describe(\"Description of the feedback\").nullable().optional(),\n}).describe(\"Feedback item within an audit.\");\nconst ScaleAiGetFixlessAudits_TargetResponseSchema = z.object({\n url: z.string().describe(\"URL pointing to audited task response\").nullable().optional(),\n}).describe(\"Target response containing URL to audited task response.\");\nconst ScaleAiGetFixlessAudits_FixlessAuditSchema = z.object({\n id: z.string().describe(\"Unique audit identifier\").nullable(),\n srn: z.string().describe(\"Scale Resource Name in format 'srn:scale:avcv:audit:{{id}}'\").nullable().optional(),\n type: z.string().describe(\"Type of audit, typically 'fixless'\").nullable().optional(),\n active: z.boolean().describe(\"Indicates if this is the latest audit for the task\").nullable().optional(),\n result: z.string().describe(\"Audit outcome - 'accepted' or 'rejected'\").nullable().optional(),\n source: z.string().describe(\"Origin - 'api', 'lidarlite', or 'classic'\").nullable().optional(),\n task_id: z.string().describe(\"Associated task identifier\").nullable().optional(),\n comments: z.string().describe(\"Optional auditor comments\").nullable().optional(),\n metadata: z.object({}).describe(\"Custom key-value pairs for tracking\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation\").nullable().optional(),\n created_by: z.string().describe(\"User who created the audit\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n feedback_items: z.array(ScaleAiGetFixlessAudits_FeedbackItemSchema).describe(\"Array of feedback item objects\").nullable().optional(),\n target_response: ScaleAiGetFixlessAudits_TargetResponseSchema.nullable().optional(),\n}).describe(\"Represents a single fixless audit object.\");\nexport const ScaleAiGetFixlessAuditsOutput = z.object({\n audits: z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe(\"List of fixless audit objects\"),\n}).describe(\"Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.\");\n\nexport const scaleAiGetFixlessAudits = action(\"SCALE_AI_GET_FIXLESS_AUDITS\", {\n slug: \"scale_ai-get-fixless-audits\",\n name: \"Get Fixless Audits\",\n description: \"Tool to retrieve fixless audits by task ID or audit ID. Use when you need to fetch audit information for quality assessment. At least one of task_id or id must be provided.\",\n input: ScaleAiGetFixlessAuditsInput,\n output: ScaleAiGetFixlessAuditsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAA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"version":3,"file":"get-fixless-audits.cjs","names":["z","action"],"sources":["../../src/actions/get-fixless-audits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetFixlessAuditsInput = z.object({\n id: z.string().describe(\"Identifier for the specific audit. At least one of task_id or id must be provided.\").optional(),\n task_id: z.string().describe(\"Identifier for the task being audited. At least one of task_id or id must be provided.\").optional(),\n}).describe(\"Request model for retrieving fixless audits. At least one of task_id or id must be provided.\");\nconst ScaleAiGetFixlessAudits_FeedbackItemSchema = z.object({\n type: z.string().describe(\"Type of feedback item\").nullable().optional(),\n scope: z.string().describe(\"Scope of the feedback\").nullable().optional(),\n state: z.string().describe(\"State of the feedback item\").nullable().optional(),\n category: z.string().describe(\"Category of the feedback\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the feedback item\").nullable().optional(),\n severity: z.string().describe(\"Severity level of the feedback\").nullable().optional(),\n description: z.string().describe(\"Description of the feedback\").nullable().optional(),\n}).passthrough().describe(\"Feedback item within an audit.\");\nconst ScaleAiGetFixlessAudits_TargetResponseSchema = z.object({\n url: z.string().describe(\"URL pointing to audited task response\").nullable().optional(),\n}).passthrough().describe(\"Target response containing URL to audited task response.\");\nconst ScaleAiGetFixlessAudits_FixlessAuditSchema = z.object({\n id: z.string().describe(\"Unique audit identifier\").nullable(),\n srn: z.string().describe(\"Scale Resource Name in format 'srn:scale:avcv:audit:{{id}}'\").nullable().optional(),\n type: z.string().describe(\"Type of audit, typically 'fixless'\").nullable().optional(),\n active: z.boolean().describe(\"Indicates if this is the latest audit for the task\").nullable().optional(),\n result: z.string().describe(\"Audit outcome - 'accepted' or 'rejected'\").nullable().optional(),\n source: z.string().describe(\"Origin - 'api', 'lidarlite', or 'classic'\").nullable().optional(),\n task_id: z.string().describe(\"Associated task identifier\").nullable().optional(),\n comments: z.string().describe(\"Optional auditor comments\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs for tracking\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation\").nullable().optional(),\n created_by: z.string().describe(\"User who created the audit\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n feedback_items: z.array(ScaleAiGetFixlessAudits_FeedbackItemSchema).describe(\"Array of feedback item objects\").nullable().optional(),\n target_response: ScaleAiGetFixlessAudits_TargetResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a single fixless audit object.\");\nexport const ScaleAiGetFixlessAuditsOutput = z.object({\n audits: z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe(\"List of fixless audit objects\"),\n}).passthrough().describe(\"Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.\");\n\nexport const scaleAiGetFixlessAudits = action(\"SCALE_AI_GET_FIXLESS_AUDITS\", {\n slug: \"scale_ai-get-fixless-audits\",\n name: \"Get Fixless Audits\",\n description: \"Tool to retrieve fixless audits by task ID or audit ID. Use when you need to fetch audit information for quality assessment. At least one of task_id or id must be provided.\",\n input: ScaleAiGetFixlessAuditsInput,\n output: ScaleAiGetFixlessAuditsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC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 +15,7 @@ declare const ScaleAiGetFixlessAuditsOutput: z.ZodObject<{
15
15
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
18
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19
19
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  created_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24,15 +24,15 @@ declare const ScaleAiGetFixlessAuditsOutput: z.ZodObject<{
24
24
  scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
27
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
28
28
  severity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- }, z.core.$strip>>>>;
30
+ }, z.core.$loose>>>>;
31
31
  target_response: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
32
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>>>;
34
- }, z.core.$strip>>;
35
- }, z.core.$strip>;
33
+ }, z.core.$loose>>>;
34
+ }, z.core.$loose>>;
35
+ }, z.core.$loose>;
36
36
  declare const scaleAiGetFixlessAudits: import("@keystrokehq/action").WorkflowActionDefinition<{
37
37
  id?: string | undefined;
38
38
  task_id?: string | undefined;
@@ -15,7 +15,7 @@ declare const ScaleAiGetFixlessAuditsOutput: z.ZodObject<{
15
15
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
18
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19
19
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  created_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24,15 +24,15 @@ declare const ScaleAiGetFixlessAuditsOutput: z.ZodObject<{
24
24
  scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
27
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
28
28
  severity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- }, z.core.$strip>>>>;
30
+ }, z.core.$loose>>>>;
31
31
  target_response: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
32
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>>>;
34
- }, z.core.$strip>>;
35
- }, z.core.$strip>;
33
+ }, z.core.$loose>>>;
34
+ }, z.core.$loose>>;
35
+ }, z.core.$loose>;
36
36
  declare const scaleAiGetFixlessAudits: import("@keystrokehq/action").WorkflowActionDefinition<{
37
37
  id?: string | undefined;
38
38
  task_id?: string | undefined;
@@ -10,11 +10,11 @@ const ScaleAiGetFixlessAudits_FeedbackItemSchema = z.object({
10
10
  scope: z.string().describe("Scope of the feedback").nullable().optional(),
11
11
  state: z.string().describe("State of the feedback item").nullable().optional(),
12
12
  category: z.string().describe("Category of the feedback").nullable().optional(),
13
- metadata: z.object({}).describe("Additional metadata for the feedback item").nullable().optional(),
13
+ metadata: z.record(z.string(), z.unknown()).describe("Additional metadata for the feedback item").nullable().optional(),
14
14
  severity: z.string().describe("Severity level of the feedback").nullable().optional(),
15
15
  description: z.string().describe("Description of the feedback").nullable().optional()
16
- }).describe("Feedback item within an audit.");
17
- const ScaleAiGetFixlessAudits_TargetResponseSchema = z.object({ url: z.string().describe("URL pointing to audited task response").nullable().optional() }).describe("Target response containing URL to audited task response.");
16
+ }).passthrough().describe("Feedback item within an audit.");
17
+ const ScaleAiGetFixlessAudits_TargetResponseSchema = z.object({ url: z.string().describe("URL pointing to audited task response").nullable().optional() }).passthrough().describe("Target response containing URL to audited task response.");
18
18
  const ScaleAiGetFixlessAudits_FixlessAuditSchema = z.object({
19
19
  id: z.string().describe("Unique audit identifier").nullable(),
20
20
  srn: z.string().describe("Scale Resource Name in format 'srn:scale:avcv:audit:{{id}}'").nullable().optional(),
@@ -24,19 +24,19 @@ const ScaleAiGetFixlessAudits_FixlessAuditSchema = z.object({
24
24
  source: z.string().describe("Origin - 'api', 'lidarlite', or 'classic'").nullable().optional(),
25
25
  task_id: z.string().describe("Associated task identifier").nullable().optional(),
26
26
  comments: z.string().describe("Optional auditor comments").nullable().optional(),
27
- metadata: z.object({}).describe("Custom key-value pairs for tracking").nullable().optional(),
27
+ metadata: z.record(z.string(), z.unknown()).describe("Custom key-value pairs for tracking").nullable().optional(),
28
28
  created_at: z.string().describe("ISO 8601 timestamp of creation").nullable().optional(),
29
29
  created_by: z.string().describe("User who created the audit").nullable().optional(),
30
30
  updated_at: z.string().describe("ISO 8601 timestamp of last update").nullable().optional(),
31
31
  feedback_items: z.array(ScaleAiGetFixlessAudits_FeedbackItemSchema).describe("Array of feedback item objects").nullable().optional(),
32
32
  target_response: ScaleAiGetFixlessAudits_TargetResponseSchema.nullable().optional()
33
- }).describe("Represents a single fixless audit object.");
33
+ }).passthrough().describe("Represents a single fixless audit object.");
34
34
  const scaleAiGetFixlessAudits = action("SCALE_AI_GET_FIXLESS_AUDITS", {
35
35
  slug: "scale_ai-get-fixless-audits",
36
36
  name: "Get Fixless Audits",
37
37
  description: "Tool to retrieve fixless audits by task ID or audit ID. Use when you need to fetch audit information for quality assessment. At least one of task_id or id must be provided.",
38
38
  input: ScaleAiGetFixlessAuditsInput,
39
- output: z.object({ audits: z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe("List of fixless audit objects") }).describe("Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.")
39
+ output: z.object({ audits: z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe("List of fixless audit objects") }).passthrough().describe("Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.")
40
40
  });
41
41
  //#endregion
42
42
  export { scaleAiGetFixlessAudits };
@@ -1 +1 @@
1
- {"version":3,"file":"get-fixless-audits.mjs","names":[],"sources":["../../src/actions/get-fixless-audits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetFixlessAuditsInput = z.object({\n id: z.string().describe(\"Identifier for the specific audit. At least one of task_id or id must be provided.\").optional(),\n task_id: z.string().describe(\"Identifier for the task being audited. At least one of task_id or id must be provided.\").optional(),\n}).describe(\"Request model for retrieving fixless audits. At least one of task_id or id must be provided.\");\nconst ScaleAiGetFixlessAudits_FeedbackItemSchema = z.object({\n type: z.string().describe(\"Type of feedback item\").nullable().optional(),\n scope: z.string().describe(\"Scope of the feedback\").nullable().optional(),\n state: z.string().describe(\"State of the feedback item\").nullable().optional(),\n category: z.string().describe(\"Category of the feedback\").nullable().optional(),\n metadata: z.object({}).describe(\"Additional metadata for the feedback item\").nullable().optional(),\n severity: z.string().describe(\"Severity level of the feedback\").nullable().optional(),\n description: z.string().describe(\"Description of the feedback\").nullable().optional(),\n}).describe(\"Feedback item within an audit.\");\nconst ScaleAiGetFixlessAudits_TargetResponseSchema = z.object({\n url: z.string().describe(\"URL pointing to audited task response\").nullable().optional(),\n}).describe(\"Target response containing URL to audited task response.\");\nconst ScaleAiGetFixlessAudits_FixlessAuditSchema = z.object({\n id: z.string().describe(\"Unique audit identifier\").nullable(),\n srn: z.string().describe(\"Scale Resource Name in format 'srn:scale:avcv:audit:{{id}}'\").nullable().optional(),\n type: z.string().describe(\"Type of audit, typically 'fixless'\").nullable().optional(),\n active: z.boolean().describe(\"Indicates if this is the latest audit for the task\").nullable().optional(),\n result: z.string().describe(\"Audit outcome - 'accepted' or 'rejected'\").nullable().optional(),\n source: z.string().describe(\"Origin - 'api', 'lidarlite', or 'classic'\").nullable().optional(),\n task_id: z.string().describe(\"Associated task identifier\").nullable().optional(),\n comments: z.string().describe(\"Optional auditor comments\").nullable().optional(),\n metadata: z.object({}).describe(\"Custom key-value pairs for tracking\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation\").nullable().optional(),\n created_by: z.string().describe(\"User who created the audit\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n feedback_items: z.array(ScaleAiGetFixlessAudits_FeedbackItemSchema).describe(\"Array of feedback item objects\").nullable().optional(),\n target_response: ScaleAiGetFixlessAudits_TargetResponseSchema.nullable().optional(),\n}).describe(\"Represents a single fixless audit object.\");\nexport const ScaleAiGetFixlessAuditsOutput = z.object({\n audits: z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe(\"List of fixless audit objects\"),\n}).describe(\"Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.\");\n\nexport const scaleAiGetFixlessAudits = action(\"SCALE_AI_GET_FIXLESS_AUDITS\", {\n slug: \"scale_ai-get-fixless-audits\",\n name: \"Get Fixless Audits\",\n description: \"Tool to retrieve fixless audits by task ID or audit ID. Use when you need to fetch audit information for quality assessment. At least one of task_id or id must be provided.\",\n input: ScaleAiGetFixlessAuditsInput,\n output: ScaleAi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O,EACpD,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,+BAA+B,EACtG,CAAC,CAAC,CAAC,SAAS,yFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-fixless-audits.mjs","names":[],"sources":["../../src/actions/get-fixless-audits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetFixlessAuditsInput = z.object({\n id: z.string().describe(\"Identifier for the specific audit. At least one of task_id or id must be provided.\").optional(),\n task_id: z.string().describe(\"Identifier for the task being audited. At least one of task_id or id must be provided.\").optional(),\n}).describe(\"Request model for retrieving fixless audits. At least one of task_id or id must be provided.\");\nconst ScaleAiGetFixlessAudits_FeedbackItemSchema = z.object({\n type: z.string().describe(\"Type of feedback item\").nullable().optional(),\n scope: z.string().describe(\"Scope of the feedback\").nullable().optional(),\n state: z.string().describe(\"State of the feedback item\").nullable().optional(),\n category: z.string().describe(\"Category of the feedback\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the feedback item\").nullable().optional(),\n severity: z.string().describe(\"Severity level of the feedback\").nullable().optional(),\n description: z.string().describe(\"Description of the feedback\").nullable().optional(),\n}).passthrough().describe(\"Feedback item within an audit.\");\nconst ScaleAiGetFixlessAudits_TargetResponseSchema = z.object({\n url: z.string().describe(\"URL pointing to audited task response\").nullable().optional(),\n}).passthrough().describe(\"Target response containing URL to audited task response.\");\nconst ScaleAiGetFixlessAudits_FixlessAuditSchema = z.object({\n id: z.string().describe(\"Unique audit identifier\").nullable(),\n srn: z.string().describe(\"Scale Resource Name in format 'srn:scale:avcv:audit:{{id}}'\").nullable().optional(),\n type: z.string().describe(\"Type of audit, typically 'fixless'\").nullable().optional(),\n active: z.boolean().describe(\"Indicates if this is the latest audit for the task\").nullable().optional(),\n result: z.string().describe(\"Audit outcome - 'accepted' or 'rejected'\").nullable().optional(),\n source: z.string().describe(\"Origin - 'api', 'lidarlite', or 'classic'\").nullable().optional(),\n task_id: z.string().describe(\"Associated task identifier\").nullable().optional(),\n comments: z.string().describe(\"Optional auditor comments\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs for tracking\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation\").nullable().optional(),\n created_by: z.string().describe(\"User who created the audit\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n feedback_items: z.array(ScaleAiGetFixlessAudits_FeedbackItemSchema).describe(\"Array of feedback item objects\").nullable().optional(),\n target_response: ScaleAiGetFixlessAudits_TargetResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a single fixless audit object.\");\nexport const ScaleAiGetFixlessAuditsOutput = z.object({\n audits: z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe(\"List of fixless audit objects\"),\n}).passthrough().describe(\"Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.\");\n\nexport const scaleAiGetFixlessAudits = action(\"SCALE_AI_GET_FIXLESS_AUDITS\", {\n slug: \"scale_ai-get-fixless-audits\",\n name: \"Get Fixless Audits\",\n description: \"Tool to retrieve fixless audits by task ID or audit ID. Use when you need to fetch audit information for quality assessment. At least one of task_id or id must be provided.\",\n input: ScaleAiGetFixlessAuditsInput,\n output: ScaleAiGetFixlessAuditsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACvH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SA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A2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,gBAAgB,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,iBAAiB,6CAA6C,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,+BAA+B,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yFAOhB;AACV,CAAC"}
@@ -6,13 +6,13 @@ const ScaleAiGetProject_ParamHistoryItemSchema = zod.z.object({
6
6
  version: zod.z.number().int().describe("Version number of the parameter set.").nullable(),
7
7
  created_at: zod.z.string().describe("ISO timestamp when this version was created.").nullable(),
8
8
  instruction: zod.z.string().describe("Instructions associated with this parameter version.").nullable()
9
- }).describe("Historical parameter version for a project.");
9
+ }).passthrough().describe("Historical parameter version for a project.");
10
10
  const ScaleAiGetProjectOutput = zod.z.object({
11
11
  name: zod.z.string().describe("Project identifier name.").nullable(),
12
12
  type: zod.z.string().describe("Task type for the project (e.g., 'imageannotation', 'audiotranscription').").nullable(),
13
13
  created_at: zod.z.string().describe("ISO timestamp of project creation.").nullable(),
14
14
  param_history: zod.z.array(ScaleAiGetProject_ParamHistoryItemSchema).describe("Historical record of project parameters.")
15
- }).describe("Response model for project details.");
15
+ }).passthrough().describe("Response model for project details.");
16
16
  const scaleAiGetProject = require_action.action("SCALE_AI_GET_PROJECT", {
17
17
  slug: "scale_ai-get-project",
18
18
  name: "Get Project",
@@ -1 +1 @@
1
- {"version":3,"file":"get-project.cjs","names":["z","action"],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetProjectInput = z.object({\n name: z.string().describe(\"The unique project identifier to retrieve. This is the project name.\"),\n}).describe(\"Request model for retrieving a specific project by its identifier.\");\nconst ScaleAiGetProject_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable(),\n}).describe(\"Historical parameter version for a project.\");\nexport const ScaleAiGetProjectOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation', 'audiotranscription').\").nullable(),\n created_at: z.string().describe(\"ISO timestamp of project creation.\").nullable(),\n param_history: z.array(ScaleAiGetProject_ParamHistoryItemSchema).describe(\"Historical record of project parameters.\"),\n}).describe(\"Response model for project details.\");\n\nexport const scaleAiGetProject = action(\"SCALE_AI_GET_PROJECT\", {\n slug: \"scale_ai-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve details about a specific Scale AI project using its unique identifier. Use when you need to get project metadata including type, name, parameter history, and creation timestamp.\",\n input: ScaleAiGetProjectInput,\n output: ScaleAiGetProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EAClG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,eAAeA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0CAA0C;AACtH,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-project.cjs","names":["z","action"],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetProjectInput = z.object({\n name: z.string().describe(\"The unique project identifier to retrieve. This is the project name.\"),\n}).describe(\"Request model for retrieving a specific project by its identifier.\");\nconst ScaleAiGetProject_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable(),\n}).passthrough().describe(\"Historical parameter version for a project.\");\nexport const ScaleAiGetProjectOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation', 'audiotranscription').\").nullable(),\n created_at: z.string().describe(\"ISO timestamp of project creation.\").nullable(),\n param_history: z.array(ScaleAiGetProject_ParamHistoryItemSchema).describe(\"Historical record of project parameters.\"),\n}).passthrough().describe(\"Response model for project details.\");\n\nexport const scaleAiGetProject = action(\"SCALE_AI_GET_PROJECT\", {\n slug: \"scale_ai-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve details about a specific Scale AI project using its unique identifier. Use when you need to get project metadata including type, name, parameter history, and creation timestamp.\",\n input: ScaleAiGetProjectInput,\n output: ScaleAiGetProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EAClG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,eAAeA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0CAA0C;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,8 +12,8 @@ declare const ScaleAiGetProjectOutput: z.ZodObject<{
12
12
  version: z.ZodNullable<z.ZodNumber>;
13
13
  created_at: z.ZodNullable<z.ZodString>;
14
14
  instruction: z.ZodNullable<z.ZodString>;
15
- }, z.core.$strip>>;
16
- }, z.core.$strip>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
17
17
  declare const scaleAiGetProject: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  name: string;
19
19
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -12,8 +12,8 @@ declare const ScaleAiGetProjectOutput: z.ZodObject<{
12
12
  version: z.ZodNullable<z.ZodNumber>;
13
13
  created_at: z.ZodNullable<z.ZodString>;
14
14
  instruction: z.ZodNullable<z.ZodString>;
15
- }, z.core.$strip>>;
16
- }, z.core.$strip>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
17
17
  declare const scaleAiGetProject: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  name: string;
19
19
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ const ScaleAiGetProject_ParamHistoryItemSchema = z.object({
6
6
  version: z.number().int().describe("Version number of the parameter set.").nullable(),
7
7
  created_at: z.string().describe("ISO timestamp when this version was created.").nullable(),
8
8
  instruction: z.string().describe("Instructions associated with this parameter version.").nullable()
9
- }).describe("Historical parameter version for a project.");
9
+ }).passthrough().describe("Historical parameter version for a project.");
10
10
  const scaleAiGetProject = action("SCALE_AI_GET_PROJECT", {
11
11
  slug: "scale_ai-get-project",
12
12
  name: "Get Project",
@@ -17,7 +17,7 @@ const scaleAiGetProject = action("SCALE_AI_GET_PROJECT", {
17
17
  type: z.string().describe("Task type for the project (e.g., 'imageannotation', 'audiotranscription').").nullable(),
18
18
  created_at: z.string().describe("ISO timestamp of project creation.").nullable(),
19
19
  param_history: z.array(ScaleAiGetProject_ParamHistoryItemSchema).describe("Historical record of project parameters.")
20
- }).describe("Response model for project details.")
20
+ }).passthrough().describe("Response model for project details.")
21
21
  });
22
22
  //#endregion
23
23
  export { scaleAiGetProject };
@@ -1 +1 @@
1
- {"version":3,"file":"get-project.mjs","names":[],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetProjectInput = z.object({\n name: z.string().describe(\"The unique project identifier to retrieve. This is the project name.\"),\n}).describe(\"Request model for retrieving a specific project by its identifier.\");\nconst ScaleAiGetProject_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable(),\n}).describe(\"Historical parameter version for a project.\");\nexport const ScaleAiGetProjectOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation', 'audiotranscription').\").nullable(),\n created_at: z.string().describe(\"ISO timestamp of project creation.\").nullable(),\n param_history: z.array(ScaleAiGetProject_ParamHistoryItemSchema).describe(\"Historical record of project parameters.\"),\n}).describe(\"Response model for project details.\");\n\nexport const scaleAiGetProject = action(\"SCALE_AI_GET_PROJECT\", {\n slug: \"scale_ai-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve details about a specific Scale AI project using its unique identifier. Use when you need to get project metadata including type, name, parameter history, and creation timestamp.\",\n input: ScaleAiGetProjectInput,\n output: ScaleAiGetProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EAClG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,2CAA2C,EAAE,OAAO;CACxD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAQzD,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC/E,eAAe,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0CAA0C;CACtH,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-project.mjs","names":[],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetProjectInput = z.object({\n name: z.string().describe(\"The unique project identifier to retrieve. This is the project name.\"),\n}).describe(\"Request model for retrieving a specific project by its identifier.\");\nconst ScaleAiGetProject_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable(),\n}).passthrough().describe(\"Historical parameter version for a project.\");\nexport const ScaleAiGetProjectOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation', 'audiotranscription').\").nullable(),\n created_at: z.string().describe(\"ISO timestamp of project creation.\").nullable(),\n param_history: z.array(ScaleAiGetProject_ParamHistoryItemSchema).describe(\"Historical record of project parameters.\"),\n}).passthrough().describe(\"Response model for project details.\");\n\nexport const scaleAiGetProject = action(\"SCALE_AI_GET_PROJECT\", {\n slug: \"scale_ai-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve details about a specific Scale AI project using its unique identifier. Use when you need to get project metadata including type, name, parameter history, and creation timestamp.\",\n input: ScaleAiGetProjectInput,\n output: ScaleAiGetProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EAClG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,2CAA2C,EAAE,OAAO;CACxD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAQvE,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC/E,eAAe,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0CAA0C;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
@@ -10,17 +10,17 @@ const ScaleAiGetQualityLabelersInput = zod.z.object({
10
10
  const ScaleAiGetQualityLabelers_TrainingAttemptSchema = zod.z.object({
11
11
  score: zod.z.number().describe("Performance score for the training attempt.").nullable().optional(),
12
12
  status: zod.z.string().describe("Status of the training attempt.").nullable().optional(),
13
- metadata: zod.z.object({}).describe("Additional metadata associated with the training attempt.").nullable().optional(),
13
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata associated with the training attempt.").nullable().optional(),
14
14
  created_at: zod.z.string().describe("Timestamp when the training attempt was created.").nullable().optional(),
15
15
  completed_at: zod.z.string().describe("Timestamp when the training attempt was completed.").nullable().optional(),
16
16
  labeler_email: zod.z.string().describe("Email address of the labeler.").nullable().optional(),
17
17
  quality_task_id: zod.z.string().describe("Associated quality task identifier.").nullable().optional(),
18
18
  training_attempt_id: zod.z.string().describe("Unique identifier for the training attempt.").nullable().optional()
19
- }).describe("Represents a single training attempt with related data.");
19
+ }).passthrough().describe("Represents a single training attempt with related data.");
20
20
  const ScaleAiGetQualityLabelersOutput = zod.z.object({
21
21
  next_token: zod.z.string().describe("Pagination token for retrieving the next page of results.").nullable().optional(),
22
22
  training_attempts: zod.z.array(ScaleAiGetQualityLabelers_TrainingAttemptSchema).describe("List of training attempt objects matching the provided filter parameters.")
23
- }).describe("Response model for retrieving training attempts.");
23
+ }).passthrough().describe("Response model for retrieving training attempts.");
24
24
  const scaleAiGetQualityLabelers = require_action.action("SCALE_AI_GET_QUALITY_LABELERS", {
25
25
  slug: "scale_ai-get-quality-labelers",
26
26
  name: "Get Quality Labelers",
@@ -1 +1 @@
1
- {"version":3,"file":"get-quality-labelers.cjs","names":["z","action"],"sources":["../../src/actions/get-quality-labelers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetQualityLabelersInput = z.object({\n limit: z.number().int().describe(\"Maximum number of training attempt records to return per request.\").optional(),\n next_token: z.string().describe(\"Pagination token for retrieving subsequent result pages. Use the next_token value from a previous response to get the next page of results.\").optional(),\n labeler_emails: z.array(z.string()).describe(\"Filter results by labeler email addresses. At least one of quality_task_ids or labeler_emails must be provided.\").optional(),\n quality_task_ids: z.array(z.string()).describe(\"Filter results by specific quality task identifiers. At least one of quality_task_ids or labeler_emails must be provided.\").optional(),\n}).describe(\"Request model for retrieving training attempts matching provided parameters.\\nAt least one of quality_task_ids or labeler_emails must be provided.\");\nconst ScaleAiGetQualityLabelers_TrainingAttemptSchema = z.object({\n score: z.number().describe(\"Performance score for the training attempt.\").nullable().optional(),\n status: z.string().describe(\"Status of the training attempt.\").nullable().optional(),\n metadata: z.object({}).describe(\"Additional metadata associated with the training attempt.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the training attempt was created.\").nullable().optional(),\n completed_at: z.string().describe(\"Timestamp when the training attempt was completed.\").nullable().optional(),\n labeler_email: z.string().describe(\"Email address of the labeler.\").nullable().optional(),\n quality_task_id: z.string().describe(\"Associated quality task identifier.\").nullable().optional(),\n training_attempt_id: z.string().describe(\"Unique identifier for the training attempt.\").nullable().optional(),\n}).describe(\"Represents a single training attempt with related data.\");\nexport const ScaleAiGetQualityLabelersOutput = z.object({\n next_token: z.string().describe(\"Pagination token for retrieving the next page of results.\").nullable().optional(),\n training_attempts: z.array(ScaleAiGetQualityLabelers_TrainingAttemptSchema).describe(\"List of training attempt objects matching the provided filter parameters.\"),\n}).describe(\"Response model for retrieving training attempts.\");\n\nexport const scaleAiGetQualityLabelers = action(\"SCALE_AI_GET_QUALITY_LABELERS\", {\n slug: \"scale_ai-get-quality-labelers\",\n name: \"Get Quality Labelers\",\n description: \"Tool to retrieve training attempts matching provided filter parameters. Use when you need to assess labeler performance and understanding of task instructions. At least one of quality_task_ids or labeler_emails must be provided.\",\n input: ScaleAiGetQualityLabelersInput,\n output: ScaleAiGetQualityLabelersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CACxL,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACzK,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AACvL,CAAC,CAAC,CAAC,SAAS,oJAAoJ;AAChK,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,mBAAmBA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2EAA2E;AAClK,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-quality-labelers.cjs","names":["z","action"],"sources":["../../src/actions/get-quality-labelers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetQualityLabelersInput = z.object({\n limit: z.number().int().describe(\"Maximum number of training attempt records to return per request.\").optional(),\n next_token: z.string().describe(\"Pagination token for retrieving subsequent result pages. Use the next_token value from a previous response to get the next page of results.\").optional(),\n labeler_emails: z.array(z.string()).describe(\"Filter results by labeler email addresses. At least one of quality_task_ids or labeler_emails must be provided.\").optional(),\n quality_task_ids: z.array(z.string()).describe(\"Filter results by specific quality task identifiers. At least one of quality_task_ids or labeler_emails must be provided.\").optional(),\n}).describe(\"Request model for retrieving training attempts matching provided parameters.\\nAt least one of quality_task_ids or labeler_emails must be provided.\");\nconst ScaleAiGetQualityLabelers_TrainingAttemptSchema = z.object({\n score: z.number().describe(\"Performance score for the training attempt.\").nullable().optional(),\n status: z.string().describe(\"Status of the training attempt.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the training attempt.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the training attempt was created.\").nullable().optional(),\n completed_at: z.string().describe(\"Timestamp when the training attempt was completed.\").nullable().optional(),\n labeler_email: z.string().describe(\"Email address of the labeler.\").nullable().optional(),\n quality_task_id: z.string().describe(\"Associated quality task identifier.\").nullable().optional(),\n training_attempt_id: z.string().describe(\"Unique identifier for the training attempt.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single training attempt with related data.\");\nexport const ScaleAiGetQualityLabelersOutput = z.object({\n next_token: z.string().describe(\"Pagination token for retrieving the next page of results.\").nullable().optional(),\n training_attempts: z.array(ScaleAiGetQualityLabelers_TrainingAttemptSchema).describe(\"List of training attempt objects matching the provided filter parameters.\"),\n}).passthrough().describe(\"Response model for retrieving training attempts.\");\n\nexport const scaleAiGetQualityLabelers = action(\"SCALE_AI_GET_QUALITY_LABELERS\", {\n slug: \"scale_ai-get-quality-labelers\",\n name: \"Get Quality Labelers\",\n description: \"Tool to retrieve training attempts matching provided filter parameters. Use when you need to assess labeler performance and understanding of task instructions. At least one of quality_task_ids or labeler_emails must be provided.\",\n input: ScaleAiGetQualityLabelersInput,\n output: ScaleAiGetQualityLabelersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS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AA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,mBAAmBA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2EAA2E;AAClK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,14 +12,14 @@ declare const ScaleAiGetQualityLabelersOutput: z.ZodObject<{
12
12
  training_attempts: z.ZodArray<z.ZodObject<{
13
13
  score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
14
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
15
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
16
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  labeler_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  quality_task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  training_attempt_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>>;
22
- }, z.core.$strip>;
21
+ }, z.core.$loose>>;
22
+ }, z.core.$loose>;
23
23
  declare const scaleAiGetQualityLabelers: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  limit?: number | undefined;
25
25
  next_token?: string | undefined;
@@ -12,14 +12,14 @@ declare const ScaleAiGetQualityLabelersOutput: z.ZodObject<{
12
12
  training_attempts: z.ZodArray<z.ZodObject<{
13
13
  score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
14
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
15
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
16
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  labeler_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  quality_task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  training_attempt_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>>;
22
- }, z.core.$strip>;
21
+ }, z.core.$loose>>;
22
+ }, z.core.$loose>;
23
23
  declare const scaleAiGetQualityLabelers: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  limit?: number | undefined;
25
25
  next_token?: string | undefined;
@@ -10,13 +10,13 @@ const ScaleAiGetQualityLabelersInput = z.object({
10
10
  const ScaleAiGetQualityLabelers_TrainingAttemptSchema = z.object({
11
11
  score: z.number().describe("Performance score for the training attempt.").nullable().optional(),
12
12
  status: z.string().describe("Status of the training attempt.").nullable().optional(),
13
- metadata: z.object({}).describe("Additional metadata associated with the training attempt.").nullable().optional(),
13
+ metadata: z.record(z.string(), z.unknown()).describe("Additional metadata associated with the training attempt.").nullable().optional(),
14
14
  created_at: z.string().describe("Timestamp when the training attempt was created.").nullable().optional(),
15
15
  completed_at: z.string().describe("Timestamp when the training attempt was completed.").nullable().optional(),
16
16
  labeler_email: z.string().describe("Email address of the labeler.").nullable().optional(),
17
17
  quality_task_id: z.string().describe("Associated quality task identifier.").nullable().optional(),
18
18
  training_attempt_id: z.string().describe("Unique identifier for the training attempt.").nullable().optional()
19
- }).describe("Represents a single training attempt with related data.");
19
+ }).passthrough().describe("Represents a single training attempt with related data.");
20
20
  const scaleAiGetQualityLabelers = action("SCALE_AI_GET_QUALITY_LABELERS", {
21
21
  slug: "scale_ai-get-quality-labelers",
22
22
  name: "Get Quality Labelers",
@@ -25,7 +25,7 @@ const scaleAiGetQualityLabelers = action("SCALE_AI_GET_QUALITY_LABELERS", {
25
25
  output: z.object({
26
26
  next_token: z.string().describe("Pagination token for retrieving the next page of results.").nullable().optional(),
27
27
  training_attempts: z.array(ScaleAiGetQualityLabelers_TrainingAttemptSchema).describe("List of training attempt objects matching the provided filter parameters.")
28
- }).describe("Response model for retrieving training attempts.")
28
+ }).passthrough().describe("Response model for retrieving training attempts.")
29
29
  });
30
30
  //#endregion
31
31
  export { scaleAiGetQualityLabelers };
@@ -1 +1 @@
1
- {"version":3,"file":"get-quality-labelers.mjs","names":[],"sources":["../../src/actions/get-quality-labelers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetQualityLabelersInput = z.object({\n limit: z.number().int().describe(\"Maximum number of training attempt records to return per request.\").optional(),\n next_token: z.string().describe(\"Pagination token for retrieving subsequent result pages. Use the next_token value from a previous response to get the next page of results.\").optional(),\n labeler_emails: z.array(z.string()).describe(\"Filter results by labeler email addresses. At least one of quality_task_ids or labeler_emails must be provided.\").optional(),\n quality_task_ids: z.array(z.string()).describe(\"Filter results by specific quality task identifiers. At least one of quality_task_ids or labeler_emails must be provided.\").optional(),\n}).describe(\"Request model for retrieving training attempts matching provided parameters.\\nAt least one of quality_task_ids or labeler_emails must be provided.\");\nconst ScaleAiGetQualityLabelers_TrainingAttemptSchema = z.object({\n score: z.number().describe(\"Performance score for the training attempt.\").nullable().optional(),\n status: z.string().describe(\"Status of the training attempt.\").nullable().optional(),\n metadata: z.object({}).describe(\"Additional metadata associated with the training attempt.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the training attempt was created.\").nullable().optional(),\n completed_at: z.string().describe(\"Timestamp when the training attempt was completed.\").nullable().optional(),\n labeler_email: z.string().describe(\"Email address of the labeler.\").nullable().optional(),\n quality_task_id: z.string().describe(\"Associated quality task identifier.\").nullable().optional(),\n training_attempt_id: z.string().describe(\"Unique identifier for the training attempt.\").nullable().optional(),\n}).describe(\"Represents a single training attempt with related data.\");\nexport const ScaleAiGetQualityLabelersOutput = z.object({\n next_token: z.string().describe(\"Pagination token for retrieving the next page of results.\").nullable().optional(),\n training_attempts: z.array(ScaleAiGetQualityLabelers_TrainingAttemptSchema).describe(\"List of training attempt objects matching the provided filter parameters.\"),\n}).describe(\"Response model for retrieving training attempts.\");\n\nexport const scaleAiGetQualityLabelers = action(\"SCALE_AI_GET_QUALITY_LABELERS\", {\n slug: \"scale_ai-get-quality-labelers\",\n name: \"Get Quality Labelers\",\n description: \"Tool to retrieve training attempts matching provided filter parameters. Use when you need to assess labeler performance and understanding of task instructions. At least one of quality_task_ids or labeler_emails must be provided.\",\n input: ScaleAiGetQualityLabelersInput,\n output: ScaleAiGetQualityLabelersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CACxL,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACzK,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AACvL,CAAC,CAAC,CAAC,SAAS,oJAAoJ;AAChK,MAAM,kDAAkD,EAAE,OAAO;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAMrE,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,mBAAmB,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2EAA2E;CAClK,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-quality-labelers.mjs","names":[],"sources":["../../src/actions/get-quality-labelers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetQualityLabelersInput = z.object({\n limit: z.number().int().describe(\"Maximum number of training attempt records to return per request.\").optional(),\n next_token: z.string().describe(\"Pagination token for retrieving subsequent result pages. Use the next_token value from a previous response to get the next page of results.\").optional(),\n labeler_emails: z.array(z.string()).describe(\"Filter results by labeler email addresses. At least one of quality_task_ids or labeler_emails must be provided.\").optional(),\n quality_task_ids: z.array(z.string()).describe(\"Filter results by specific quality task identifiers. At least one of quality_task_ids or labeler_emails must be provided.\").optional(),\n}).describe(\"Request model for retrieving training attempts matching provided parameters.\\nAt least one of quality_task_ids or labeler_emails must be provided.\");\nconst ScaleAiGetQualityLabelers_TrainingAttemptSchema = z.object({\n score: z.number().describe(\"Performance score for the training attempt.\").nullable().optional(),\n status: z.string().describe(\"Status of the training attempt.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the training attempt.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the training attempt was created.\").nullable().optional(),\n completed_at: z.string().describe(\"Timestamp when the training attempt was completed.\").nullable().optional(),\n labeler_email: z.string().describe(\"Email address of the labeler.\").nullable().optional(),\n quality_task_id: z.string().describe(\"Associated quality task identifier.\").nullable().optional(),\n training_attempt_id: z.string().describe(\"Unique identifier for the training attempt.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single training attempt with related data.\");\nexport const ScaleAiGetQualityLabelersOutput = z.object({\n next_token: z.string().describe(\"Pagination token for retrieving the next page of results.\").nullable().optional(),\n training_attempts: z.array(ScaleAiGetQualityLabelers_TrainingAttemptSchema).describe(\"List of training attempt objects matching the provided filter parameters.\"),\n}).passthrough().describe(\"Response model for retrieving training attempts.\");\n\nexport const scaleAiGetQualityLabelers = action(\"SCALE_AI_GET_QUALITY_LABELERS\", {\n slug: \"scale_ai-get-quality-labelers\",\n name: \"Get Quality Labelers\",\n description: \"Tool to retrieve training attempts matching provided filter parameters. Use when you need to assess labeler performance and understanding of task instructions. At least one of quality_task_ids or labeler_emails must be provided.\",\n input: ScaleAiGetQualityLabelersInput,\n output: ScaleAiGetQualityLabelersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CACxL,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACzK,k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AY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -8,8 +8,8 @@ const ScaleAiGetStudioAssignments_AssignmentSchema = zod.z.object({
8
8
  user_email: zod.z.string().describe("Email address of the user.").nullable().optional(),
9
9
  project_name: zod.z.string().describe("Name of the project assigned to the user.").nullable().optional(),
10
10
  assignment_count: zod.z.number().int().describe("Number of assignments for the user in the project.").nullable().optional()
11
- }).describe("Model representing a studio assignment for a team member.");
12
- const ScaleAiGetStudioAssignmentsOutput = zod.z.object({ assignments: zod.z.array(ScaleAiGetStudioAssignments_AssignmentSchema).describe("List of current project assignments for all active team users.").nullable().optional() }).describe("Response model containing studio assignments for all active team users.");
11
+ }).passthrough().describe("Model representing a studio assignment for a team member.");
12
+ const ScaleAiGetStudioAssignmentsOutput = zod.z.object({ assignments: zod.z.array(ScaleAiGetStudioAssignments_AssignmentSchema).describe("List of current project assignments for all active team users.").nullable().optional() }).passthrough().describe("Response model containing studio assignments for all active team users.");
13
13
  const scaleAiGetStudioAssignments = require_action.action("SCALE_AI_GET_STUDIO_ASSIGNMENTS", {
14
14
  slug: "scale_ai-get-studio-assignments",
15
15
  name: "Get Studio Assignments",
@@ -1 +1 @@
1
- {"version":3,"file":"get-studio-assignments.cjs","names":["z","action"],"sources":["../../src/actions/get-studio-assignments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetStudioAssignmentsInput = z.object({}).describe(\"Request model for retrieving studio assignments. No parameters are required.\");\nconst ScaleAiGetStudioAssignments_AssignmentSchema = z.object({\n user_id: z.string().describe(\"Unique identifier for the user.\").nullable().optional(),\n project_id: z.string().describe(\"Unique identifier for the project.\").nullable().optional(),\n user_email: z.string().describe(\"Email address of the user.\").nullable().optional(),\n project_name: z.string().describe(\"Name of the project assigned to the user.\").nullable().optional(),\n assignment_count: z.number().int().describe(\"Number of assignments for the user in the project.\").nullable().optional(),\n}).describe(\"Model representing a studio assignment for a team member.\");\nexport const ScaleAiGetStudioAssignmentsOutput = z.object({\n assignments: z.array(ScaleAiGetStudioAssignments_AssignmentSchema).describe(\"List of current project assignments for all active team users.\").nullable().optional(),\n}).describe(\"Response model containing studio assignments for all active team users.\");\n\nexport const scaleAiGetStudioAssignments = action(\"SCALE_AI_GET_STUDIO_ASSIGNMENTS\", {\n slug: \"scale_ai-get-studio-assignments\",\n name: \"Get Studio Assignments\",\n description: \"Tool to retrieve current project assignments of all active team users in Scale AI Studio. Use when you need to view team member assignments and workload distribution. Excludes invited or disabled team members.\",\n input: ScaleAiGetStudioAssignmentsInput,\n output: ScaleAiGetStudioAssignmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACpJ,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,aAAaA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpK,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAErF,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-studio-assignments.cjs","names":["z","action"],"sources":["../../src/actions/get-studio-assignments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetStudioAssignmentsInput = z.object({}).describe(\"Request model for retrieving studio assignments. No parameters are required.\");\nconst ScaleAiGetStudioAssignments_AssignmentSchema = z.object({\n user_id: z.string().describe(\"Unique identifier for the user.\").nullable().optional(),\n project_id: z.string().describe(\"Unique identifier for the project.\").nullable().optional(),\n user_email: z.string().describe(\"Email address of the user.\").nullable().optional(),\n project_name: z.string().describe(\"Name of the project assigned to the user.\").nullable().optional(),\n assignment_count: z.number().int().describe(\"Number of assignments for the user in the project.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a studio assignment for a team member.\");\nexport const ScaleAiGetStudioAssignmentsOutput = z.object({\n assignments: z.array(ScaleAiGetStudioAssignments_AssignmentSchema).describe(\"List of current project assignments for all active team users.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing studio assignments for all active team users.\");\n\nexport const scaleAiGetStudioAssignments = action(\"SCALE_AI_GET_STUDIO_ASSIGNMENTS\", {\n slug: \"scale_ai-get-studio-assignments\",\n name: \"Get Studio Assignments\",\n description: \"Tool to retrieve current project assignments of all active team users in Scale AI Studio. Use when you need to view team member assignments and workload distribution. Excludes invited or disabled team members.\",\n input: ScaleAiGetStudioAssignmentsInput,\n output: ScaleAiGetStudioAssignmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACpJ,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,aAAaA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAEnG,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,8 +9,8 @@ declare const ScaleAiGetStudioAssignmentsOutput: z.ZodObject<{
9
9
  user_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  project_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  assignment_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
- }, z.core.$strip>>>>;
13
- }, z.core.$strip>;
12
+ }, z.core.$loose>>>>;
13
+ }, z.core.$loose>;
14
14
  declare const scaleAiGetStudioAssignments: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
15
  //#endregion
16
16
  export { scaleAiGetStudioAssignments };
@@ -9,8 +9,8 @@ declare const ScaleAiGetStudioAssignmentsOutput: z.ZodObject<{
9
9
  user_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  project_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  assignment_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
- }, z.core.$strip>>>>;
13
- }, z.core.$strip>;
12
+ }, z.core.$loose>>>>;
13
+ }, z.core.$loose>;
14
14
  declare const scaleAiGetStudioAssignments: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
15
  //#endregion
16
16
  export { scaleAiGetStudioAssignments };
@@ -8,13 +8,13 @@ const ScaleAiGetStudioAssignments_AssignmentSchema = z.object({
8
8
  user_email: z.string().describe("Email address of the user.").nullable().optional(),
9
9
  project_name: z.string().describe("Name of the project assigned to the user.").nullable().optional(),
10
10
  assignment_count: z.number().int().describe("Number of assignments for the user in the project.").nullable().optional()
11
- }).describe("Model representing a studio assignment for a team member.");
11
+ }).passthrough().describe("Model representing a studio assignment for a team member.");
12
12
  const scaleAiGetStudioAssignments = action("SCALE_AI_GET_STUDIO_ASSIGNMENTS", {
13
13
  slug: "scale_ai-get-studio-assignments",
14
14
  name: "Get Studio Assignments",
15
15
  description: "Tool to retrieve current project assignments of all active team users in Scale AI Studio. Use when you need to view team member assignments and workload distribution. Excludes invited or disabled team members.",
16
16
  input: ScaleAiGetStudioAssignmentsInput,
17
- output: z.object({ assignments: z.array(ScaleAiGetStudioAssignments_AssignmentSchema).describe("List of current project assignments for all active team users.").nullable().optional() }).describe("Response model containing studio assignments for all active team users.")
17
+ output: z.object({ assignments: z.array(ScaleAiGetStudioAssignments_AssignmentSchema).describe("List of current project assignments for all active team users.").nullable().optional() }).passthrough().describe("Response model containing studio assignments for all active team users.")
18
18
  });
19
19
  //#endregion
20
20
  export { scaleAiGetStudioAssignments };
@@ -1 +1 @@
1
- {"version":3,"file":"get-studio-assignments.mjs","names":[],"sources":["../../src/actions/get-studio-assignments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetStudioAssignmentsInput = z.object({}).describe(\"Request model for retrieving studio assignments. No parameters are required.\");\nconst ScaleAiGetStudioAssignments_AssignmentSchema = z.object({\n user_id: z.string().describe(\"Unique identifier for the user.\").nullable().optional(),\n project_id: z.string().describe(\"Unique identifier for the project.\").nullable().optional(),\n user_email: z.string().describe(\"Email address of the user.\").nullable().optional(),\n project_name: z.string().describe(\"Name of the project assigned to the user.\").nullable().optional(),\n assignment_count: z.number().int().describe(\"Number of assignments for the user in the project.\").nullable().optional(),\n}).describe(\"Model representing a studio assignment for a team member.\");\nexport const ScaleAiGetStudioAssignmentsOutput = z.object({\n assignments: z.array(ScaleAiGetStudioAssignments_AssignmentSchema).describe(\"List of current project assignments for all active team users.\").nullable().optional(),\n}).describe(\"Response model containing studio assignments for all active team users.\");\n\nexport const scaleAiGetStudioAssignments = action(\"SCALE_AI_GET_STUDIO_ASSIGNMENTS\", {\n slug: \"scale_ai-get-studio-assignments\",\n name: \"Get Studio Assignments\",\n description: \"Tool to retrieve current project assignments of all active team users in Scale AI Studio. Use when you need to view team member assignments and workload distribution. Excludes invited or disabled team members.\",\n input: ScaleAiGetStudioAssignmentsInput,\n output: ScaleAiGetStudioAssignmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACpJ,MAAM,+CAA+C,EAAE,OAAO;CAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAKvE,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,aAAa,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpK,CAAC,CAAC,CAAC,SAAS,yEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-studio-assignments.mjs","names":[],"sources":["../../src/actions/get-studio-assignments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetStudioAssignmentsInput = z.object({}).describe(\"Request model for retrieving studio assignments. No parameters are required.\");\nconst ScaleAiGetStudioAssignments_AssignmentSchema = z.object({\n user_id: z.string().describe(\"Unique identifier for the user.\").nullable().optional(),\n project_id: z.string().describe(\"Unique identifier for the project.\").nullable().optional(),\n user_email: z.string().describe(\"Email address of the user.\").nullable().optional(),\n project_name: z.string().describe(\"Name of the project assigned to the user.\").nullable().optional(),\n assignment_count: z.number().int().describe(\"Number of assignments for the user in the project.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a studio assignment for a team member.\");\nexport const ScaleAiGetStudioAssignmentsOutput = z.object({\n assignments: z.array(ScaleAiGetStudioAssignments_AssignmentSchema).describe(\"List of current project assignments for all active team users.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing studio assignments for all active team users.\");\n\nexport const scaleAiGetStudioAssignments = action(\"SCALE_AI_GET_STUDIO_ASSIGNMENTS\", {\n slug: \"scale_ai-get-studio-assignments\",\n name: \"Get Studio Assignments\",\n description: \"Tool to retrieve current project assignments of all active team users in Scale AI Studio. Use when you need to view team member assignments and workload distribution. Excludes invited or disabled team members.\",\n input: ScaleAiGetStudioAssignmentsInput,\n output: ScaleAiGetStudioAssignmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACpJ,MAAM,+CAA+C,EAAE,OAAO;CAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAKrF,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,aAAa,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAOhB;AACV,CAAC"}
@@ -10,8 +10,8 @@ const ScaleAiGetStudioBatches_BatchSchema = zod.z.object({
10
10
  file_type: zod.z.string().describe("MIME type of the file").nullable(),
11
11
  created_at: zod.z.number().int().describe("Unix timestamp of creation").nullable(),
12
12
  message_id: zod.z.string().describe("Associated message reference").nullable()
13
- }).describe("Represents a single batch in the Studio.");
14
- const ScaleAiGetStudioBatchesOutput = zod.z.object({ batches: zod.z.array(ScaleAiGetStudioBatches_BatchSchema).describe("List of pending batches organized by priority level") }).describe("Response model for retrieving all pending batches.");
13
+ }).passthrough().describe("Represents a single batch in the Studio.");
14
+ const ScaleAiGetStudioBatchesOutput = zod.z.object({ batches: zod.z.array(ScaleAiGetStudioBatches_BatchSchema).describe("List of pending batches organized by priority level") }).passthrough().describe("Response model for retrieving all pending batches.");
15
15
  const scaleAiGetStudioBatches = require_action.action("SCALE_AI_GET_STUDIO_BATCHES", {
16
16
  slug: "scale_ai-get-studio-batches",
17
17
  name: "Get Studio Batches",