@keystrokehq/scale_ai 0.1.0

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 (354) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-studio-assignments.cjs +19 -0
  7. package/dist/actions/add-studio-assignments.cjs.map +1 -0
  8. package/dist/actions/add-studio-assignments.d.cts +9 -0
  9. package/dist/actions/add-studio-assignments.d.cts.map +1 -0
  10. package/dist/actions/add-studio-assignments.d.mts +9 -0
  11. package/dist/actions/add-studio-assignments.d.mts.map +1 -0
  12. package/dist/actions/add-studio-assignments.mjs +16 -0
  13. package/dist/actions/add-studio-assignments.mjs.map +1 -0
  14. package/dist/actions/add-task-tags.cjs +29 -0
  15. package/dist/actions/add-task-tags.cjs.map +1 -0
  16. package/dist/actions/add-task-tags.d.cts +9 -0
  17. package/dist/actions/add-task-tags.d.cts.map +1 -0
  18. package/dist/actions/add-task-tags.d.mts +9 -0
  19. package/dist/actions/add-task-tags.d.mts.map +1 -0
  20. package/dist/actions/add-task-tags.mjs +26 -0
  21. package/dist/actions/add-task-tags.mjs.map +1 -0
  22. package/dist/actions/create-batch.cjs +29 -0
  23. package/dist/actions/create-batch.cjs.map +1 -0
  24. package/dist/actions/create-batch.d.cts +9 -0
  25. package/dist/actions/create-batch.d.cts.map +1 -0
  26. package/dist/actions/create-batch.d.mts +9 -0
  27. package/dist/actions/create-batch.d.mts.map +1 -0
  28. package/dist/actions/create-batch.mjs +26 -0
  29. package/dist/actions/create-batch.mjs.map +1 -0
  30. package/dist/actions/create-document-transcription-task.cjs +111 -0
  31. package/dist/actions/create-document-transcription-task.cjs.map +1 -0
  32. package/dist/actions/create-document-transcription-task.d.cts +9 -0
  33. package/dist/actions/create-document-transcription-task.d.cts.map +1 -0
  34. package/dist/actions/create-document-transcription-task.d.mts +9 -0
  35. package/dist/actions/create-document-transcription-task.d.mts.map +1 -0
  36. package/dist/actions/create-document-transcription-task.mjs +110 -0
  37. package/dist/actions/create-document-transcription-task.mjs.map +1 -0
  38. package/dist/actions/create-image-annotation-task.cjs +188 -0
  39. package/dist/actions/create-image-annotation-task.cjs.map +1 -0
  40. package/dist/actions/create-image-annotation-task.d.cts +9 -0
  41. package/dist/actions/create-image-annotation-task.d.cts.map +1 -0
  42. package/dist/actions/create-image-annotation-task.d.mts +9 -0
  43. package/dist/actions/create-image-annotation-task.d.mts.map +1 -0
  44. package/dist/actions/create-image-annotation-task.mjs +187 -0
  45. package/dist/actions/create-image-annotation-task.mjs.map +1 -0
  46. package/dist/actions/create-lidar-annotation-task.cjs +52 -0
  47. package/dist/actions/create-lidar-annotation-task.cjs.map +1 -0
  48. package/dist/actions/create-lidar-annotation-task.d.cts +9 -0
  49. package/dist/actions/create-lidar-annotation-task.d.cts.map +1 -0
  50. package/dist/actions/create-lidar-annotation-task.d.mts +9 -0
  51. package/dist/actions/create-lidar-annotation-task.d.mts.map +1 -0
  52. package/dist/actions/create-lidar-annotation-task.mjs +51 -0
  53. package/dist/actions/create-lidar-annotation-task.mjs.map +1 -0
  54. package/dist/actions/create-lidar-segmentation-task.cjs +52 -0
  55. package/dist/actions/create-lidar-segmentation-task.cjs.map +1 -0
  56. package/dist/actions/create-lidar-segmentation-task.d.cts +9 -0
  57. package/dist/actions/create-lidar-segmentation-task.d.cts.map +1 -0
  58. package/dist/actions/create-lidar-segmentation-task.d.mts +9 -0
  59. package/dist/actions/create-lidar-segmentation-task.d.mts.map +1 -0
  60. package/dist/actions/create-lidar-segmentation-task.mjs +51 -0
  61. package/dist/actions/create-lidar-segmentation-task.mjs.map +1 -0
  62. package/dist/actions/create-named-entity-recognition-task.cjs +59 -0
  63. package/dist/actions/create-named-entity-recognition-task.cjs.map +1 -0
  64. package/dist/actions/create-named-entity-recognition-task.d.cts +9 -0
  65. package/dist/actions/create-named-entity-recognition-task.d.cts.map +1 -0
  66. package/dist/actions/create-named-entity-recognition-task.d.mts +9 -0
  67. package/dist/actions/create-named-entity-recognition-task.d.mts.map +1 -0
  68. package/dist/actions/create-named-entity-recognition-task.mjs +58 -0
  69. package/dist/actions/create-named-entity-recognition-task.mjs.map +1 -0
  70. package/dist/actions/create-segmentation-annotation-task.cjs +72 -0
  71. package/dist/actions/create-segmentation-annotation-task.cjs.map +1 -0
  72. package/dist/actions/create-segmentation-annotation-task.d.cts +9 -0
  73. package/dist/actions/create-segmentation-annotation-task.d.cts.map +1 -0
  74. package/dist/actions/create-segmentation-annotation-task.d.mts +9 -0
  75. package/dist/actions/create-segmentation-annotation-task.d.mts.map +1 -0
  76. package/dist/actions/create-segmentation-annotation-task.mjs +71 -0
  77. package/dist/actions/create-segmentation-annotation-task.mjs.map +1 -0
  78. package/dist/actions/create-text-collection-task.cjs +69 -0
  79. package/dist/actions/create-text-collection-task.cjs.map +1 -0
  80. package/dist/actions/create-text-collection-task.d.cts +9 -0
  81. package/dist/actions/create-text-collection-task.d.cts.map +1 -0
  82. package/dist/actions/create-text-collection-task.d.mts +9 -0
  83. package/dist/actions/create-text-collection-task.d.mts.map +1 -0
  84. package/dist/actions/create-text-collection-task.mjs +68 -0
  85. package/dist/actions/create-text-collection-task.mjs.map +1 -0
  86. package/dist/actions/create-video-annotation-task.cjs +120 -0
  87. package/dist/actions/create-video-annotation-task.cjs.map +1 -0
  88. package/dist/actions/create-video-annotation-task.d.cts +9 -0
  89. package/dist/actions/create-video-annotation-task.d.cts.map +1 -0
  90. package/dist/actions/create-video-annotation-task.d.mts +9 -0
  91. package/dist/actions/create-video-annotation-task.d.mts.map +1 -0
  92. package/dist/actions/create-video-annotation-task.mjs +119 -0
  93. package/dist/actions/create-video-annotation-task.mjs.map +1 -0
  94. package/dist/actions/create-video-playback-annotation-task.cjs +152 -0
  95. package/dist/actions/create-video-playback-annotation-task.cjs.map +1 -0
  96. package/dist/actions/create-video-playback-annotation-task.d.cts +9 -0
  97. package/dist/actions/create-video-playback-annotation-task.d.cts.map +1 -0
  98. package/dist/actions/create-video-playback-annotation-task.d.mts +9 -0
  99. package/dist/actions/create-video-playback-annotation-task.d.mts.map +1 -0
  100. package/dist/actions/create-video-playback-annotation-task.mjs +151 -0
  101. package/dist/actions/create-video-playback-annotation-task.mjs.map +1 -0
  102. package/dist/actions/delete-task-tags.cjs +28 -0
  103. package/dist/actions/delete-task-tags.cjs.map +1 -0
  104. package/dist/actions/delete-task-tags.d.cts +9 -0
  105. package/dist/actions/delete-task-tags.d.cts.map +1 -0
  106. package/dist/actions/delete-task-tags.d.mts +9 -0
  107. package/dist/actions/delete-task-tags.d.mts.map +1 -0
  108. package/dist/actions/delete-task-tags.mjs +25 -0
  109. package/dist/actions/delete-task-tags.mjs.map +1 -0
  110. package/dist/actions/delete-task-unique-id.cjs +26 -0
  111. package/dist/actions/delete-task-unique-id.cjs.map +1 -0
  112. package/dist/actions/delete-task-unique-id.d.cts +9 -0
  113. package/dist/actions/delete-task-unique-id.d.cts.map +1 -0
  114. package/dist/actions/delete-task-unique-id.d.mts +9 -0
  115. package/dist/actions/delete-task-unique-id.d.mts.map +1 -0
  116. package/dist/actions/delete-task-unique-id.mjs +25 -0
  117. package/dist/actions/delete-task-unique-id.mjs.map +1 -0
  118. package/dist/actions/finalize-batch.cjs +23 -0
  119. package/dist/actions/finalize-batch.cjs.map +1 -0
  120. package/dist/actions/finalize-batch.d.cts +9 -0
  121. package/dist/actions/finalize-batch.d.cts.map +1 -0
  122. package/dist/actions/finalize-batch.d.mts +9 -0
  123. package/dist/actions/finalize-batch.d.mts.map +1 -0
  124. package/dist/actions/finalize-batch.mjs +20 -0
  125. package/dist/actions/finalize-batch.mjs.map +1 -0
  126. package/dist/actions/get-assets.cjs +33 -0
  127. package/dist/actions/get-assets.cjs.map +1 -0
  128. package/dist/actions/get-assets.d.cts +9 -0
  129. package/dist/actions/get-assets.d.cts.map +1 -0
  130. package/dist/actions/get-assets.d.mts +9 -0
  131. package/dist/actions/get-assets.d.mts.map +1 -0
  132. package/dist/actions/get-assets.mjs +32 -0
  133. package/dist/actions/get-assets.mjs.map +1 -0
  134. package/dist/actions/get-batch-status.cjs +22 -0
  135. package/dist/actions/get-batch-status.cjs.map +1 -0
  136. package/dist/actions/get-batch-status.d.cts +9 -0
  137. package/dist/actions/get-batch-status.d.cts.map +1 -0
  138. package/dist/actions/get-batch-status.d.mts +9 -0
  139. package/dist/actions/get-batch-status.d.mts.map +1 -0
  140. package/dist/actions/get-batch-status.mjs +19 -0
  141. package/dist/actions/get-batch-status.mjs.map +1 -0
  142. package/dist/actions/get-batch.cjs +23 -0
  143. package/dist/actions/get-batch.cjs.map +1 -0
  144. package/dist/actions/get-batch.d.cts +9 -0
  145. package/dist/actions/get-batch.d.cts.map +1 -0
  146. package/dist/actions/get-batch.d.mts +9 -0
  147. package/dist/actions/get-batch.d.mts.map +1 -0
  148. package/dist/actions/get-batch.mjs +20 -0
  149. package/dist/actions/get-batch.mjs.map +1 -0
  150. package/dist/actions/get-fixless-audits.cjs +45 -0
  151. package/dist/actions/get-fixless-audits.cjs.map +1 -0
  152. package/dist/actions/get-fixless-audits.d.cts +9 -0
  153. package/dist/actions/get-fixless-audits.d.cts.map +1 -0
  154. package/dist/actions/get-fixless-audits.d.mts +9 -0
  155. package/dist/actions/get-fixless-audits.d.mts.map +1 -0
  156. package/dist/actions/get-fixless-audits.mjs +44 -0
  157. package/dist/actions/get-fixless-audits.mjs.map +1 -0
  158. package/dist/actions/get-project.cjs +26 -0
  159. package/dist/actions/get-project.cjs.map +1 -0
  160. package/dist/actions/get-project.d.cts +9 -0
  161. package/dist/actions/get-project.d.cts.map +1 -0
  162. package/dist/actions/get-project.d.mts +9 -0
  163. package/dist/actions/get-project.d.mts.map +1 -0
  164. package/dist/actions/get-project.mjs +25 -0
  165. package/dist/actions/get-project.mjs.map +1 -0
  166. package/dist/actions/get-quality-labelers.cjs +34 -0
  167. package/dist/actions/get-quality-labelers.cjs.map +1 -0
  168. package/dist/actions/get-quality-labelers.d.cts +9 -0
  169. package/dist/actions/get-quality-labelers.d.cts.map +1 -0
  170. package/dist/actions/get-quality-labelers.d.mts +9 -0
  171. package/dist/actions/get-quality-labelers.d.mts.map +1 -0
  172. package/dist/actions/get-quality-labelers.mjs +33 -0
  173. package/dist/actions/get-quality-labelers.mjs.map +1 -0
  174. package/dist/actions/get-studio-assignments.cjs +23 -0
  175. package/dist/actions/get-studio-assignments.cjs.map +1 -0
  176. package/dist/actions/get-studio-assignments.d.cts +9 -0
  177. package/dist/actions/get-studio-assignments.d.cts.map +1 -0
  178. package/dist/actions/get-studio-assignments.d.mts +9 -0
  179. package/dist/actions/get-studio-assignments.d.mts.map +1 -0
  180. package/dist/actions/get-studio-assignments.mjs +22 -0
  181. package/dist/actions/get-studio-assignments.mjs.map +1 -0
  182. package/dist/actions/get-studio-batches.cjs +25 -0
  183. package/dist/actions/get-studio-batches.cjs.map +1 -0
  184. package/dist/actions/get-studio-batches.d.cts +9 -0
  185. package/dist/actions/get-studio-batches.d.cts.map +1 -0
  186. package/dist/actions/get-studio-batches.d.mts +9 -0
  187. package/dist/actions/get-studio-batches.d.mts.map +1 -0
  188. package/dist/actions/get-studio-batches.mjs +24 -0
  189. package/dist/actions/get-studio-batches.mjs.map +1 -0
  190. package/dist/actions/get-teams.cjs +26 -0
  191. package/dist/actions/get-teams.cjs.map +1 -0
  192. package/dist/actions/get-teams.d.cts +9 -0
  193. package/dist/actions/get-teams.d.cts.map +1 -0
  194. package/dist/actions/get-teams.d.mts +9 -0
  195. package/dist/actions/get-teams.d.mts.map +1 -0
  196. package/dist/actions/get-teams.mjs +25 -0
  197. package/dist/actions/get-teams.mjs.map +1 -0
  198. package/dist/actions/get-v1-task-response-url.cjs +24 -0
  199. package/dist/actions/get-v1-task-response-url.cjs.map +1 -0
  200. package/dist/actions/get-v1-task-response-url.d.cts +9 -0
  201. package/dist/actions/get-v1-task-response-url.d.cts.map +1 -0
  202. package/dist/actions/get-v1-task-response-url.d.mts +9 -0
  203. package/dist/actions/get-v1-task-response-url.d.mts.map +1 -0
  204. package/dist/actions/get-v1-task-response-url.mjs +21 -0
  205. package/dist/actions/get-v1-task-response-url.mjs.map +1 -0
  206. package/dist/actions/get-v1-task.cjs +28 -0
  207. package/dist/actions/get-v1-task.cjs.map +1 -0
  208. package/dist/actions/get-v1-task.d.cts +9 -0
  209. package/dist/actions/get-v1-task.d.cts.map +1 -0
  210. package/dist/actions/get-v1-task.d.mts +9 -0
  211. package/dist/actions/get-v1-task.d.mts.map +1 -0
  212. package/dist/actions/get-v1-task.mjs +25 -0
  213. package/dist/actions/get-v1-task.mjs.map +1 -0
  214. package/dist/actions/import-file.cjs +27 -0
  215. package/dist/actions/import-file.cjs.map +1 -0
  216. package/dist/actions/import-file.d.cts +9 -0
  217. package/dist/actions/import-file.d.cts.map +1 -0
  218. package/dist/actions/import-file.d.mts +9 -0
  219. package/dist/actions/import-file.d.mts.map +1 -0
  220. package/dist/actions/import-file.mjs +24 -0
  221. package/dist/actions/import-file.mjs.map +1 -0
  222. package/dist/actions/index.cjs +81 -0
  223. package/dist/actions/index.d.cts +41 -0
  224. package/dist/actions/index.d.mts +41 -0
  225. package/dist/actions/index.mjs +41 -0
  226. package/dist/actions/invite-team-member.cjs +29 -0
  227. package/dist/actions/invite-team-member.cjs.map +1 -0
  228. package/dist/actions/invite-team-member.d.cts +9 -0
  229. package/dist/actions/invite-team-member.d.cts.map +1 -0
  230. package/dist/actions/invite-team-member.d.mts +9 -0
  231. package/dist/actions/invite-team-member.d.mts.map +1 -0
  232. package/dist/actions/invite-team-member.mjs +28 -0
  233. package/dist/actions/invite-team-member.mjs.map +1 -0
  234. package/dist/actions/list-batches.cjs +37 -0
  235. package/dist/actions/list-batches.cjs.map +1 -0
  236. package/dist/actions/list-batches.d.cts +9 -0
  237. package/dist/actions/list-batches.d.cts.map +1 -0
  238. package/dist/actions/list-batches.d.mts +9 -0
  239. package/dist/actions/list-batches.d.mts.map +1 -0
  240. package/dist/actions/list-batches.mjs +36 -0
  241. package/dist/actions/list-batches.mjs.map +1 -0
  242. package/dist/actions/list-projects.cjs +37 -0
  243. package/dist/actions/list-projects.cjs.map +1 -0
  244. package/dist/actions/list-projects.d.cts +9 -0
  245. package/dist/actions/list-projects.d.cts.map +1 -0
  246. package/dist/actions/list-projects.d.mts +9 -0
  247. package/dist/actions/list-projects.d.mts.map +1 -0
  248. package/dist/actions/list-projects.mjs +36 -0
  249. package/dist/actions/list-projects.mjs.map +1 -0
  250. package/dist/actions/list-tasks.cjs +53 -0
  251. package/dist/actions/list-tasks.cjs.map +1 -0
  252. package/dist/actions/list-tasks.d.cts +9 -0
  253. package/dist/actions/list-tasks.d.cts.map +1 -0
  254. package/dist/actions/list-tasks.d.mts +9 -0
  255. package/dist/actions/list-tasks.d.mts.map +1 -0
  256. package/dist/actions/list-tasks.mjs +52 -0
  257. package/dist/actions/list-tasks.mjs.map +1 -0
  258. package/dist/actions/post-v1-task-send-callback.cjs +22 -0
  259. package/dist/actions/post-v1-task-send-callback.cjs.map +1 -0
  260. package/dist/actions/post-v1-task-send-callback.d.cts +9 -0
  261. package/dist/actions/post-v1-task-send-callback.d.cts.map +1 -0
  262. package/dist/actions/post-v1-task-send-callback.d.mts +9 -0
  263. package/dist/actions/post-v1-task-send-callback.d.mts.map +1 -0
  264. package/dist/actions/post-v1-task-send-callback.mjs +19 -0
  265. package/dist/actions/post-v1-task-send-callback.mjs.map +1 -0
  266. package/dist/actions/remove-studio-assignments.cjs +33 -0
  267. package/dist/actions/remove-studio-assignments.cjs.map +1 -0
  268. package/dist/actions/remove-studio-assignments.d.cts +9 -0
  269. package/dist/actions/remove-studio-assignments.d.cts.map +1 -0
  270. package/dist/actions/remove-studio-assignments.d.mts +9 -0
  271. package/dist/actions/remove-studio-assignments.d.mts.map +1 -0
  272. package/dist/actions/remove-studio-assignments.mjs +32 -0
  273. package/dist/actions/remove-studio-assignments.mjs.map +1 -0
  274. package/dist/actions/reset-batch-priorities.cjs +25 -0
  275. package/dist/actions/reset-batch-priorities.cjs.map +1 -0
  276. package/dist/actions/reset-batch-priorities.d.cts +9 -0
  277. package/dist/actions/reset-batch-priorities.d.cts.map +1 -0
  278. package/dist/actions/reset-batch-priorities.d.mts +9 -0
  279. package/dist/actions/reset-batch-priorities.d.mts.map +1 -0
  280. package/dist/actions/reset-batch-priorities.mjs +24 -0
  281. package/dist/actions/reset-batch-priorities.mjs.map +1 -0
  282. package/dist/actions/set-batch-priorities.cjs +27 -0
  283. package/dist/actions/set-batch-priorities.cjs.map +1 -0
  284. package/dist/actions/set-batch-priorities.d.cts +9 -0
  285. package/dist/actions/set-batch-priorities.d.cts.map +1 -0
  286. package/dist/actions/set-batch-priorities.d.mts +9 -0
  287. package/dist/actions/set-batch-priorities.d.mts.map +1 -0
  288. package/dist/actions/set-batch-priorities.mjs +26 -0
  289. package/dist/actions/set-batch-priorities.mjs.map +1 -0
  290. package/dist/actions/set-project-ontology.cjs +44 -0
  291. package/dist/actions/set-project-ontology.cjs.map +1 -0
  292. package/dist/actions/set-project-ontology.d.cts +9 -0
  293. package/dist/actions/set-project-ontology.d.cts.map +1 -0
  294. package/dist/actions/set-project-ontology.d.mts +9 -0
  295. package/dist/actions/set-project-ontology.d.mts.map +1 -0
  296. package/dist/actions/set-project-ontology.mjs +43 -0
  297. package/dist/actions/set-project-ontology.mjs.map +1 -0
  298. package/dist/actions/set-project-params.cjs +32 -0
  299. package/dist/actions/set-project-params.cjs.map +1 -0
  300. package/dist/actions/set-project-params.d.cts +9 -0
  301. package/dist/actions/set-project-params.d.cts.map +1 -0
  302. package/dist/actions/set-project-params.d.mts +9 -0
  303. package/dist/actions/set-project-params.d.mts.map +1 -0
  304. package/dist/actions/set-project-params.mjs +31 -0
  305. package/dist/actions/set-project-params.mjs.map +1 -0
  306. package/dist/actions/set-task-metadata.cjs +34 -0
  307. package/dist/actions/set-task-metadata.cjs.map +1 -0
  308. package/dist/actions/set-task-metadata.d.cts +9 -0
  309. package/dist/actions/set-task-metadata.d.cts.map +1 -0
  310. package/dist/actions/set-task-metadata.d.mts +9 -0
  311. package/dist/actions/set-task-metadata.d.mts.map +1 -0
  312. package/dist/actions/set-task-metadata.mjs +31 -0
  313. package/dist/actions/set-task-metadata.mjs.map +1 -0
  314. package/dist/actions/update-task-unique-id.cjs +30 -0
  315. package/dist/actions/update-task-unique-id.cjs.map +1 -0
  316. package/dist/actions/update-task-unique-id.d.cts +9 -0
  317. package/dist/actions/update-task-unique-id.d.cts.map +1 -0
  318. package/dist/actions/update-task-unique-id.d.mts +9 -0
  319. package/dist/actions/update-task-unique-id.d.mts.map +1 -0
  320. package/dist/actions/update-task-unique-id.mjs +29 -0
  321. package/dist/actions/update-task-unique-id.mjs.map +1 -0
  322. package/dist/actions/upload-file.cjs +34 -0
  323. package/dist/actions/upload-file.cjs.map +1 -0
  324. package/dist/actions/upload-file.d.cts +9 -0
  325. package/dist/actions/upload-file.d.cts.map +1 -0
  326. package/dist/actions/upload-file.d.mts +9 -0
  327. package/dist/actions/upload-file.d.mts.map +1 -0
  328. package/dist/actions/upload-file.mjs +31 -0
  329. package/dist/actions/upload-file.mjs.map +1 -0
  330. package/dist/app.cjs +9 -0
  331. package/dist/app.cjs.map +1 -0
  332. package/dist/app.d.cts +5 -0
  333. package/dist/app.d.cts.map +1 -0
  334. package/dist/app.d.mts +5 -0
  335. package/dist/app.d.mts.map +1 -0
  336. package/dist/app.mjs +10 -0
  337. package/dist/app.mjs.map +1 -0
  338. package/dist/catalog.cjs +15 -0
  339. package/dist/catalog.cjs.map +1 -0
  340. package/dist/catalog.d.cts +14 -0
  341. package/dist/catalog.d.cts.map +1 -0
  342. package/dist/catalog.d.mts +14 -0
  343. package/dist/catalog.d.mts.map +1 -0
  344. package/dist/catalog.mjs +15 -0
  345. package/dist/catalog.mjs.map +1 -0
  346. package/dist/execute.cjs +18 -0
  347. package/dist/execute.cjs.map +1 -0
  348. package/dist/execute.mjs +18 -0
  349. package/dist/execute.mjs.map +1 -0
  350. package/dist/index.cjs +86 -0
  351. package/dist/index.d.cts +43 -0
  352. package/dist/index.d.mts +43 -0
  353. package/dist/index.mjs +44 -0
  354. package/package.json +49 -0
@@ -0,0 +1,33 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/remove-studio-assignments.ts
4
+ const ScaleAiRemoveStudioAssignmentsInput = zod.z.object({
5
+ emails: zod.z.array(zod.z.string()).describe("Array of email addresses of teammates to remove assignments from."),
6
+ projects: zod.z.array(zod.z.string()).describe("Optional array of project IDs to unassign from the specified team members. If not provided, all projects will be unassigned.").optional()
7
+ }).describe("Request parameters for removing studio assignments from team members.");
8
+ const ScaleAiRemoveStudioAssignments_AssignmentInfoSchema = zod.z.object({
9
+ role: zod.z.string().describe("The role of the team member in the project.").nullable().optional(),
10
+ project_id: zod.z.string().describe("The unique identifier of the project.").nullable().optional(),
11
+ project_name: zod.z.string().describe("The name of the project.").nullable().optional()
12
+ }).describe("Information about a project assignment for a team member.");
13
+ const ScaleAiRemoveStudioAssignments_TeamMemberSchema = zod.z.object({
14
+ name: zod.z.string().describe("The name of the team member.").nullable().optional(),
15
+ email: zod.z.string().describe("The email address of the team member.").nullable().optional(),
16
+ assignments: zod.z.array(ScaleAiRemoveStudioAssignments_AssignmentInfoSchema).describe("List of project assignments for this team member.").nullable().optional()
17
+ }).describe("Information about a team member and their assignments.");
18
+ const ScaleAiRemoveStudioAssignmentsOutput = zod.z.object({
19
+ message: zod.z.string().describe("Additional message or status information about the operation.").nullable().optional(),
20
+ success: zod.z.boolean().describe("Indicates whether the assignment removal was successful.").nullable().optional(),
21
+ team_members: zod.z.array(ScaleAiRemoveStudioAssignments_TeamMemberSchema).describe("List of all team members and their updated assignments after removal.").nullable().optional()
22
+ }).describe("Response schema for removing studio assignments.");
23
+ const scaleAiRemoveStudioAssignments = require_action.action("SCALE_AI_REMOVE_STUDIO_ASSIGNMENTS", {
24
+ slug: "scale_ai-remove-studio-assignments",
25
+ name: "Remove Studio Assignments",
26
+ description: "Tool to unassign projects from specified team members in Scale AI Studio. Use when you need to remove project assignments from one or more team members.",
27
+ input: ScaleAiRemoveStudioAssignmentsInput,
28
+ output: ScaleAiRemoveStudioAssignmentsOutput
29
+ });
30
+ //#endregion
31
+ exports.scaleAiRemoveStudioAssignments = scaleAiRemoveStudioAssignments;
32
+
33
+ //# sourceMappingURL=remove-studio-assignments.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-studio-assignments.cjs","names":["z","action"],"sources":["../../src/actions/remove-studio-assignments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiRemoveStudioAssignmentsInput: z.ZodTypeAny = z.object({\n emails: z.array(z.string()).describe(\"Array of email addresses of teammates to remove assignments from.\"),\n projects: z.array(z.string()).describe(\"Optional array of project IDs to unassign from the specified team members. If not provided, all projects will be unassigned.\").optional(),\n}).describe(\"Request parameters for removing studio assignments from team members.\");\nconst ScaleAiRemoveStudioAssignments_AssignmentInfoSchema: z.ZodTypeAny = z.object({\n role: z.string().describe(\"The role of the team member in the project.\").nullable().optional(),\n project_id: z.string().describe(\"The unique identifier of the project.\").nullable().optional(),\n project_name: z.string().describe(\"The name of the project.\").nullable().optional(),\n}).describe(\"Information about a project assignment for a team member.\");\nconst ScaleAiRemoveStudioAssignments_TeamMemberSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the team member.\").nullable().optional(),\n email: z.string().describe(\"The email address of the team member.\").nullable().optional(),\n assignments: z.array(ScaleAiRemoveStudioAssignments_AssignmentInfoSchema).describe(\"List of project assignments for this team member.\").nullable().optional(),\n}).describe(\"Information about a team member and their assignments.\");\nexport const ScaleAiRemoveStudioAssignmentsOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Additional message or status information about the operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the assignment removal was successful.\").nullable().optional(),\n team_members: z.array(ScaleAiRemoveStudioAssignments_TeamMemberSchema).describe(\"List of all team members and their updated assignments after removal.\").nullable().optional(),\n}).describe(\"Response schema for removing studio assignments.\");\n\nexport const scaleAiRemoveStudioAssignments = action(\"SCALE_AI_REMOVE_STUDIO_ASSIGNMENTS\", {\n slug: \"scale_ai-remove-studio-assignments\",\n name: \"Remove Studio Assignments\",\n description: \"Tool to unassign projects from specified team members in Scale AI Studio. Use when you need to remove project assignments from one or more team members.\",\n input: ScaleAiRemoveStudioAssignmentsInput,\n output: ScaleAiRemoveStudioAssignmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE;CACxG,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;AAClL,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,cAAcA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/K,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/remove-studio-assignments.d.ts
4
+ declare const ScaleAiRemoveStudioAssignmentsInput: z.ZodTypeAny;
5
+ declare const ScaleAiRemoveStudioAssignmentsOutput: z.ZodTypeAny;
6
+ declare const scaleAiRemoveStudioAssignments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scaleAiRemoveStudioAssignments };
9
+ //# sourceMappingURL=remove-studio-assignments.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-studio-assignments.d.cts","names":[],"sources":["../../src/actions/remove-studio-assignments.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAGgC;AAAA,cAWvE,oCAAA,EAAsC,CAAA,CAAE,UAIU;AAAA,cAElD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/remove-studio-assignments.d.ts
4
+ declare const ScaleAiRemoveStudioAssignmentsInput: z.ZodTypeAny;
5
+ declare const ScaleAiRemoveStudioAssignmentsOutput: z.ZodTypeAny;
6
+ declare const scaleAiRemoveStudioAssignments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scaleAiRemoveStudioAssignments };
9
+ //# sourceMappingURL=remove-studio-assignments.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-studio-assignments.d.mts","names":[],"sources":["../../src/actions/remove-studio-assignments.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAGgC;AAAA,cAWvE,oCAAA,EAAsC,CAAA,CAAE,UAIU;AAAA,cAElD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,32 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/remove-studio-assignments.ts
4
+ const ScaleAiRemoveStudioAssignmentsInput = z.object({
5
+ emails: z.array(z.string()).describe("Array of email addresses of teammates to remove assignments from."),
6
+ projects: z.array(z.string()).describe("Optional array of project IDs to unassign from the specified team members. If not provided, all projects will be unassigned.").optional()
7
+ }).describe("Request parameters for removing studio assignments from team members.");
8
+ const ScaleAiRemoveStudioAssignments_AssignmentInfoSchema = z.object({
9
+ role: z.string().describe("The role of the team member in the project.").nullable().optional(),
10
+ project_id: z.string().describe("The unique identifier of the project.").nullable().optional(),
11
+ project_name: z.string().describe("The name of the project.").nullable().optional()
12
+ }).describe("Information about a project assignment for a team member.");
13
+ const ScaleAiRemoveStudioAssignments_TeamMemberSchema = z.object({
14
+ name: z.string().describe("The name of the team member.").nullable().optional(),
15
+ email: z.string().describe("The email address of the team member.").nullable().optional(),
16
+ assignments: z.array(ScaleAiRemoveStudioAssignments_AssignmentInfoSchema).describe("List of project assignments for this team member.").nullable().optional()
17
+ }).describe("Information about a team member and their assignments.");
18
+ const scaleAiRemoveStudioAssignments = action("SCALE_AI_REMOVE_STUDIO_ASSIGNMENTS", {
19
+ slug: "scale_ai-remove-studio-assignments",
20
+ name: "Remove Studio Assignments",
21
+ description: "Tool to unassign projects from specified team members in Scale AI Studio. Use when you need to remove project assignments from one or more team members.",
22
+ input: ScaleAiRemoveStudioAssignmentsInput,
23
+ output: z.object({
24
+ message: z.string().describe("Additional message or status information about the operation.").nullable().optional(),
25
+ success: z.boolean().describe("Indicates whether the assignment removal was successful.").nullable().optional(),
26
+ team_members: z.array(ScaleAiRemoveStudioAssignments_TeamMemberSchema).describe("List of all team members and their updated assignments after removal.").nullable().optional()
27
+ }).describe("Response schema for removing studio assignments.")
28
+ });
29
+ //#endregion
30
+ export { scaleAiRemoveStudioAssignments };
31
+
32
+ //# sourceMappingURL=remove-studio-assignments.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-studio-assignments.mjs","names":[],"sources":["../../src/actions/remove-studio-assignments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiRemoveStudioAssignmentsInput: z.ZodTypeAny = z.object({\n emails: z.array(z.string()).describe(\"Array of email addresses of teammates to remove assignments from.\"),\n projects: z.array(z.string()).describe(\"Optional array of project IDs to unassign from the specified team members. If not provided, all projects will be unassigned.\").optional(),\n}).describe(\"Request parameters for removing studio assignments from team members.\");\nconst ScaleAiRemoveStudioAssignments_AssignmentInfoSchema: z.ZodTypeAny = z.object({\n role: z.string().describe(\"The role of the team member in the project.\").nullable().optional(),\n project_id: z.string().describe(\"The unique identifier of the project.\").nullable().optional(),\n project_name: z.string().describe(\"The name of the project.\").nullable().optional(),\n}).describe(\"Information about a project assignment for a team member.\");\nconst ScaleAiRemoveStudioAssignments_TeamMemberSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the team member.\").nullable().optional(),\n email: z.string().describe(\"The email address of the team member.\").nullable().optional(),\n assignments: z.array(ScaleAiRemoveStudioAssignments_AssignmentInfoSchema).describe(\"List of project assignments for this team member.\").nullable().optional(),\n}).describe(\"Information about a team member and their assignments.\");\nexport const ScaleAiRemoveStudioAssignmentsOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Additional message or status information about the operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the assignment removal was successful.\").nullable().optional(),\n team_members: z.array(ScaleAiRemoveStudioAssignments_TeamMemberSchema).describe(\"List of all team members and their updated assignments after removal.\").nullable().optional(),\n}).describe(\"Response schema for removing studio assignments.\");\n\nexport const scaleAiRemoveStudioAssignments = action(\"SCALE_AI_REMOVE_STUDIO_ASSIGNMENTS\", {\n slug: \"scale_ai-remove-studio-assignments\",\n name: \"Remove Studio Assignments\",\n description: \"Tool to unassign projects from specified team members in Scale AI Studio. Use when you need to remove project assignments from one or more team members.\",\n input: ScaleAiRemoveStudioAssignmentsInput,\n output: ScaleAiRemoveStudioAssignmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,OAAO;CACxE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE;CACxG,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;AAClL,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,sDAAoE,EAAE,OAAO;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kDAAgE,EAAE,OAAO;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAOpE,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXgE,EAAE,OAAO;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,cAAc,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/K,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
@@ -0,0 +1,25 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/reset-batch-priorities.ts
4
+ const ScaleAiResetBatchPrioritiesInput = zod.z.object({ groups: zod.z.string().describe("Filter parameter for groups to reset priorities").optional() }).describe("Request model for resetting batch priorities to default order.");
5
+ const ScaleAiResetBatchPriorities_BatchSchema = zod.z.object({
6
+ id: zod.z.string().describe("Unique batch identifier"),
7
+ file_url: zod.z.string().describe("URL location of the batch file"),
8
+ filename: zod.z.string().describe("Name of the batch file"),
9
+ file_size: zod.z.number().int().describe("File size in bytes"),
10
+ file_type: zod.z.string().describe("MIME type of the file"),
11
+ created_at: zod.z.number().int().describe("Unix timestamp of creation"),
12
+ message_id: zod.z.string().describe("Associated message reference")
13
+ }).describe("Represents a single batch in the Studio.");
14
+ const ScaleAiResetBatchPrioritiesOutput = zod.z.object({ batches: zod.z.array(ScaleAiResetBatchPriorities_BatchSchema).describe("List of batches in the new priority order (calibration batches first, then by creation date)") }).describe("Response model for resetting batch priorities.");
15
+ const scaleAiResetBatchPriorities = require_action.action("SCALE_AI_RESET_BATCH_PRIORITIES", {
16
+ slug: "scale_ai-reset-batch-priorities",
17
+ name: "Reset Batch Priorities",
18
+ description: "Tool to restore batch priority order to default order (calibration batches first, then sorted by creation date). Use when you need to reset custom batch priorities back to the default ordering.",
19
+ input: ScaleAiResetBatchPrioritiesInput,
20
+ output: ScaleAiResetBatchPrioritiesOutput
21
+ });
22
+ //#endregion
23
+ exports.scaleAiResetBatchPriorities = scaleAiResetBatchPriorities;
24
+
25
+ //# sourceMappingURL=reset-batch-priorities.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-batch-priorities.cjs","names":["z","action"],"sources":["../../src/actions/reset-batch-priorities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiResetBatchPrioritiesInput: z.ZodTypeAny = z.object({\n groups: z.string().describe(\"Filter parameter for groups to reset priorities\").optional(),\n}).describe(\"Request model for resetting batch priorities to default order.\");\nconst ScaleAiResetBatchPriorities_BatchSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique batch identifier\"),\n file_url: z.string().describe(\"URL location of the batch file\"),\n filename: z.string().describe(\"Name of the batch file\"),\n file_size: z.number().int().describe(\"File size in bytes\"),\n file_type: z.string().describe(\"MIME type of the file\"),\n created_at: z.number().int().describe(\"Unix timestamp of creation\"),\n message_id: z.string().describe(\"Associated message reference\"),\n}).describe(\"Represents a single batch in the Studio.\");\nexport const ScaleAiResetBatchPrioritiesOutput: z.ZodTypeAny = z.object({\n batches: z.array(ScaleAiResetBatchPriorities_BatchSchema).describe(\"List of batches in the new priority order (calibration batches first, then by creation date)\"),\n}).describe(\"Response model for resetting batch priorities.\");\n\nexport const scaleAiResetBatchPriorities = action(\"SCALE_AI_RESET_BATCH_PRIORITIES\", {\n slug: \"scale_ai-reset-batch-priorities\",\n name: \"Reset Batch Priorities\",\n description: \"Tool to restore batch priority order to default order (calibration batches first, then sorted by creation date). Use when you need to reset custom batch priorities back to the default ordering.\",\n input: ScaleAiResetBatchPrioritiesInput,\n output: ScaleAiResetBatchPrioritiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EAC1F,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;AAChE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,SAASA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8FAA8F,EACnK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/reset-batch-priorities.d.ts
4
+ declare const ScaleAiResetBatchPrioritiesInput: z.ZodTypeAny;
5
+ declare const ScaleAiResetBatchPrioritiesOutput: z.ZodTypeAny;
6
+ declare const scaleAiResetBatchPriorities: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scaleAiResetBatchPriorities };
9
+ //# sourceMappingURL=reset-batch-priorities.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-batch-priorities.d.cts","names":[],"sources":["../../src/actions/reset-batch-priorities.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAE4B;AAAA,cAUhE,iCAAA,EAAmC,CAAA,CAAE,UAEW;AAAA,cAEhD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/reset-batch-priorities.d.ts
4
+ declare const ScaleAiResetBatchPrioritiesInput: z.ZodTypeAny;
5
+ declare const ScaleAiResetBatchPrioritiesOutput: z.ZodTypeAny;
6
+ declare const scaleAiResetBatchPriorities: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scaleAiResetBatchPriorities };
9
+ //# sourceMappingURL=reset-batch-priorities.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-batch-priorities.d.mts","names":[],"sources":["../../src/actions/reset-batch-priorities.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAE4B;AAAA,cAUhE,iCAAA,EAAmC,CAAA,CAAE,UAEW;AAAA,cAEhD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,24 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/reset-batch-priorities.ts
4
+ const ScaleAiResetBatchPrioritiesInput = z.object({ groups: z.string().describe("Filter parameter for groups to reset priorities").optional() }).describe("Request model for resetting batch priorities to default order.");
5
+ const ScaleAiResetBatchPriorities_BatchSchema = z.object({
6
+ id: z.string().describe("Unique batch identifier"),
7
+ file_url: z.string().describe("URL location of the batch file"),
8
+ filename: z.string().describe("Name of the batch file"),
9
+ file_size: z.number().int().describe("File size in bytes"),
10
+ file_type: z.string().describe("MIME type of the file"),
11
+ created_at: z.number().int().describe("Unix timestamp of creation"),
12
+ message_id: z.string().describe("Associated message reference")
13
+ }).describe("Represents a single batch in the Studio.");
14
+ const scaleAiResetBatchPriorities = action("SCALE_AI_RESET_BATCH_PRIORITIES", {
15
+ slug: "scale_ai-reset-batch-priorities",
16
+ name: "Reset Batch Priorities",
17
+ description: "Tool to restore batch priority order to default order (calibration batches first, then sorted by creation date). Use when you need to reset custom batch priorities back to the default ordering.",
18
+ input: ScaleAiResetBatchPrioritiesInput,
19
+ output: z.object({ batches: z.array(ScaleAiResetBatchPriorities_BatchSchema).describe("List of batches in the new priority order (calibration batches first, then by creation date)") }).describe("Response model for resetting batch priorities.")
20
+ });
21
+ //#endregion
22
+ export { scaleAiResetBatchPriorities };
23
+
24
+ //# sourceMappingURL=reset-batch-priorities.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-batch-priorities.mjs","names":[],"sources":["../../src/actions/reset-batch-priorities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiResetBatchPrioritiesInput: z.ZodTypeAny = z.object({\n groups: z.string().describe(\"Filter parameter for groups to reset priorities\").optional(),\n}).describe(\"Request model for resetting batch priorities to default order.\");\nconst ScaleAiResetBatchPriorities_BatchSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique batch identifier\"),\n file_url: z.string().describe(\"URL location of the batch file\"),\n filename: z.string().describe(\"Name of the batch file\"),\n file_size: z.number().int().describe(\"File size in bytes\"),\n file_type: z.string().describe(\"MIME type of the file\"),\n created_at: z.number().int().describe(\"Unix timestamp of creation\"),\n message_id: z.string().describe(\"Associated message reference\"),\n}).describe(\"Represents a single batch in the Studio.\");\nexport const ScaleAiResetBatchPrioritiesOutput: z.ZodTypeAny = z.object({\n batches: z.array(ScaleAiResetBatchPriorities_BatchSchema).describe(\"List of batches in the new priority order (calibration batches first, then by creation date)\"),\n}).describe(\"Response model for resetting batch priorities.\");\n\nexport const scaleAiResetBatchPriorities = action(\"SCALE_AI_RESET_BATCH_PRIORITIES\", {\n slug: \"scale_ai-reset-batch-priorities\",\n name: \"Reset Batch Priorities\",\n description: \"Tool to restore batch priority order to default order (calibration batches first, then sorted by creation date). Use when you need to reset custom batch priorities back to the default ordering.\",\n input: ScaleAiResetBatchPrioritiesInput,\n output: ScaleAiResetBatchPrioritiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO,EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EAC1F,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB;CACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACtD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;AAChE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAKtD,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,SAAS,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8FAA8F,EACnK,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -0,0 +1,27 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/set-batch-priorities.ts
4
+ const ScaleAiSetBatchPrioritiesInput = zod.z.object({ batches: zod.z.array(zod.z.object({ name: zod.z.string().describe("The name/identifier of the batch to set priority for") }).describe("Represents a single batch in the priority order request.")).describe("Array of batch objects specifying the priority order. Must include all pending studio batches.") }).describe("Request model for setting batch priority order.");
5
+ const ScaleAiSetBatchPriorities_StudioBatchSchema = zod.z.object({
6
+ id: zod.z.string().describe("Batch identifier"),
7
+ name: zod.z.string().describe("Batch name"),
8
+ total: zod.z.number().int().describe("Total count of items in batch"),
9
+ groups: zod.z.array(zod.z.string()).describe("Group assignments or categorizations").nullable().optional(),
10
+ batchType: zod.z.string().describe("Classification of batch type"),
11
+ completed: zod.z.number().int().describe("Count of completed items"),
12
+ projectId: zod.z.string().describe("Associated project identifier"),
13
+ projectName: zod.z.string().describe("Associated project name"),
14
+ studioPriority: zod.z.number().int().describe("Priority level of the batch").nullable().optional()
15
+ }).describe("Represents a Studio batch in the response.");
16
+ const ScaleAiSetBatchPrioritiesOutput = zod.z.object({ batches: zod.z.array(ScaleAiSetBatchPriorities_StudioBatchSchema).describe("Array of StudioBatch objects in the new priority order") }).describe("Response model containing all batches in their new priority order.");
17
+ const scaleAiSetBatchPriorities = require_action.action("SCALE_AI_SET_BATCH_PRIORITIES", {
18
+ slug: "scale_ai-set-batch-priorities",
19
+ name: "Set Batch Priorities",
20
+ description: "Tool to modify batch priority order in Scale AI Studio. Use when you need to adjust the priority order of pending batches. You must include all pending studio batches in the request.",
21
+ input: ScaleAiSetBatchPrioritiesInput,
22
+ output: ScaleAiSetBatchPrioritiesOutput
23
+ });
24
+ //#endregion
25
+ exports.scaleAiSetBatchPriorities = scaleAiSetBatchPriorities;
26
+
27
+ //# sourceMappingURL=set-batch-priorities.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-batch-priorities.cjs","names":["z","action"],"sources":["../../src/actions/set-batch-priorities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetBatchPrioritiesInput: z.ZodTypeAny = z.object({\n batches: z.array(z.object({\n name: z.string().describe(\"The name/identifier of the batch to set priority for\"),\n}).describe(\"Represents a single batch in the priority order request.\")).describe(\"Array of batch objects specifying the priority order. Must include all pending studio batches.\"),\n}).describe(\"Request model for setting batch priority order.\");\nconst ScaleAiSetBatchPriorities_StudioBatchSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Batch identifier\"),\n name: z.string().describe(\"Batch name\"),\n total: z.number().int().describe(\"Total count of items in batch\"),\n groups: z.array(z.string()).describe(\"Group assignments or categorizations\").nullable().optional(),\n batchType: z.string().describe(\"Classification of batch type\"),\n completed: z.number().int().describe(\"Count of completed items\"),\n projectId: z.string().describe(\"Associated project identifier\"),\n projectName: z.string().describe(\"Associated project name\"),\n studioPriority: z.number().int().describe(\"Priority level of the batch\").nullable().optional(),\n}).describe(\"Represents a Studio batch in the response.\");\nexport const ScaleAiSetBatchPrioritiesOutput: z.ZodTypeAny = z.object({\n batches: z.array(ScaleAiSetBatchPriorities_StudioBatchSchema).describe(\"Array of StudioBatch objects in the new priority order\"),\n}).describe(\"Response model containing all batches in their new priority order.\");\n\nexport const scaleAiSetBatchPriorities = action(\"SCALE_AI_SET_BATCH_PRIORITIES\", {\n slug: \"scale_ai-set-batch-priorities\",\n name: \"Set Batch Priorities\",\n description: \"Tool to modify batch priority order in Scale AI Studio. Use when you need to adjust the priority order of pending batches. You must include all pending studio batches in the request.\",\n input: ScaleAiSetBatchPrioritiesInput,\n output: ScaleAiSetBatchPrioritiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC1B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EAClF,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,gGAAgG,EAClL,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY;CACtC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAChE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CAC1D,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,SAASA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,wDAAwD,EACjI,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/set-batch-priorities.d.ts
4
+ declare const ScaleAiSetBatchPrioritiesInput: z.ZodTypeAny;
5
+ declare const ScaleAiSetBatchPrioritiesOutput: z.ZodTypeAny;
6
+ declare const scaleAiSetBatchPriorities: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scaleAiSetBatchPriorities };
9
+ //# sourceMappingURL=set-batch-priorities.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-batch-priorities.d.cts","names":[],"sources":["../../src/actions/set-batch-priorities.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAIe;AAAA,cAYjD,+BAAA,EAAiC,CAAA,CAAE,UAEiC;AAAA,cAEpE,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/set-batch-priorities.d.ts
4
+ declare const ScaleAiSetBatchPrioritiesInput: z.ZodTypeAny;
5
+ declare const ScaleAiSetBatchPrioritiesOutput: z.ZodTypeAny;
6
+ declare const scaleAiSetBatchPriorities: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scaleAiSetBatchPriorities };
9
+ //# sourceMappingURL=set-batch-priorities.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-batch-priorities.d.mts","names":[],"sources":["../../src/actions/set-batch-priorities.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAIe;AAAA,cAYjD,+BAAA,EAAiC,CAAA,CAAE,UAEiC;AAAA,cAEpE,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,26 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/set-batch-priorities.ts
4
+ const ScaleAiSetBatchPrioritiesInput = z.object({ batches: z.array(z.object({ name: z.string().describe("The name/identifier of the batch to set priority for") }).describe("Represents a single batch in the priority order request.")).describe("Array of batch objects specifying the priority order. Must include all pending studio batches.") }).describe("Request model for setting batch priority order.");
5
+ const ScaleAiSetBatchPriorities_StudioBatchSchema = z.object({
6
+ id: z.string().describe("Batch identifier"),
7
+ name: z.string().describe("Batch name"),
8
+ total: z.number().int().describe("Total count of items in batch"),
9
+ groups: z.array(z.string()).describe("Group assignments or categorizations").nullable().optional(),
10
+ batchType: z.string().describe("Classification of batch type"),
11
+ completed: z.number().int().describe("Count of completed items"),
12
+ projectId: z.string().describe("Associated project identifier"),
13
+ projectName: z.string().describe("Associated project name"),
14
+ studioPriority: z.number().int().describe("Priority level of the batch").nullable().optional()
15
+ }).describe("Represents a Studio batch in the response.");
16
+ const scaleAiSetBatchPriorities = action("SCALE_AI_SET_BATCH_PRIORITIES", {
17
+ slug: "scale_ai-set-batch-priorities",
18
+ name: "Set Batch Priorities",
19
+ description: "Tool to modify batch priority order in Scale AI Studio. Use when you need to adjust the priority order of pending batches. You must include all pending studio batches in the request.",
20
+ input: ScaleAiSetBatchPrioritiesInput,
21
+ output: z.object({ batches: z.array(ScaleAiSetBatchPriorities_StudioBatchSchema).describe("Array of StudioBatch objects in the new priority order") }).describe("Response model containing all batches in their new priority order.")
22
+ });
23
+ //#endregion
24
+ export { scaleAiSetBatchPriorities };
25
+
26
+ //# sourceMappingURL=set-batch-priorities.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-batch-priorities.mjs","names":[],"sources":["../../src/actions/set-batch-priorities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetBatchPrioritiesInput: z.ZodTypeAny = z.object({\n batches: z.array(z.object({\n name: z.string().describe(\"The name/identifier of the batch to set priority for\"),\n}).describe(\"Represents a single batch in the priority order request.\")).describe(\"Array of batch objects specifying the priority order. Must include all pending studio batches.\"),\n}).describe(\"Request model for setting batch priority order.\");\nconst ScaleAiSetBatchPriorities_StudioBatchSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Batch identifier\"),\n name: z.string().describe(\"Batch name\"),\n total: z.number().int().describe(\"Total count of items in batch\"),\n groups: z.array(z.string()).describe(\"Group assignments or categorizations\").nullable().optional(),\n batchType: z.string().describe(\"Classification of batch type\"),\n completed: z.number().int().describe(\"Count of completed items\"),\n projectId: z.string().describe(\"Associated project identifier\"),\n projectName: z.string().describe(\"Associated project name\"),\n studioPriority: z.number().int().describe(\"Priority level of the batch\").nullable().optional(),\n}).describe(\"Represents a Studio batch in the response.\");\nexport const ScaleAiSetBatchPrioritiesOutput: z.ZodTypeAny = z.object({\n batches: z.array(ScaleAiSetBatchPriorities_StudioBatchSchema).describe(\"Array of StudioBatch objects in the new priority order\"),\n}).describe(\"Response model containing all batches in their new priority order.\");\n\nexport const scaleAiSetBatchPriorities = action(\"SCALE_AI_SET_BATCH_PRIORITIES\", {\n slug: \"scale_ai-set-batch-priorities\",\n name: \"Set Batch Priorities\",\n description: \"Tool to modify batch priority order in Scale AI Studio. Use when you need to adjust the priority order of pending batches. You must include all pending studio batches in the request.\",\n input: ScaleAiSetBatchPrioritiesInput,\n output: ScaleAi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ions/set-project-ontology.ts
4
+ const ScaleAiSetProjectOntologyInput = zod.z.object({
5
+ ontology: zod.z.array(zod.z.string()).describe("A collection of ontology entries as strings. Ontology choices must be unique throughout the ontology. These define the labels or classes that tasks in this project will reference."),
6
+ project_name: zod.z.string().describe("The unique project identifier to set the ontology for. This is the project name."),
7
+ ontology_name: zod.z.string().describe("A label identifying the specific version of the ontology being set. This is optional and helps track different ontology versions.").optional()
8
+ }).describe("Request model for setting ontologies on a project.");
9
+ const ScaleAiSetProjectOntology_DatasetLinkSchema = zod.z.object({
10
+ datasetId: zod.z.string().describe("Dataset identifier").nullable().optional(),
11
+ datasetName: zod.z.string().describe("Dataset name").nullable().optional()
12
+ }).describe("Dataset link information.");
13
+ const ScaleAiSetProjectOntology_ParamHistoryItemSchema = zod.z.object({
14
+ version: zod.z.number().int().describe("Version number of the parameter set.").nullable().optional(),
15
+ created_at: zod.z.string().describe("ISO timestamp when this version was created.").nullable().optional(),
16
+ instruction: zod.z.string().describe("Instructions associated with this parameter version.").nullable().optional()
17
+ }).describe("Historical parameter version for a project.");
18
+ const ScaleAiSetProjectOntologyOutput = zod.z.object({
19
+ name: zod.z.string().describe("Project identifier name.").nullable().optional(),
20
+ type: zod.z.string().describe("Task type for the project (e.g., 'imageannotation').").nullable().optional(),
21
+ pinned: zod.z.boolean().describe("Whether project is pinned.").nullable().optional(),
22
+ archived: zod.z.boolean().describe("Whether project is archived.").nullable().optional(),
23
+ taxonomy: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Taxonomy information.").nullable().optional(),
24
+ created_at: zod.z.string().describe("ISO 8601 timestamp of project creation.").nullable().optional(),
25
+ created_by: zod.z.string().describe("User ID who created the project.").nullable().optional(),
26
+ numReviews: zod.z.number().int().describe("Number of reviews.").nullable().optional(),
27
+ created_with: zod.z.string().describe("Creation method.").nullable().optional(),
28
+ datasetLinks: zod.z.array(ScaleAiSetProjectOntology_DatasetLinkSchema).describe("Associated dataset links.").nullable().optional(),
29
+ numConsensus: zod.z.number().int().describe("Number of consensus.").nullable().optional(),
30
+ pipelineName: zod.z.string().describe("Pipeline identifier.").nullable().optional(),
31
+ param_history: zod.z.array(ScaleAiSetProjectOntology_ParamHistoryItemSchema).describe("Historical parameter versions.").nullable().optional(),
32
+ nucleusDatasetId: zod.z.string().describe("Associated Nucleus dataset ID.").nullable().optional()
33
+ }).describe("Response model containing the updated project details after setting the ontology.");
34
+ const scaleAiSetProjectOntology = require_action.action("SCALE_AI_SET_PROJECT_ONTOLOGY", {
35
+ slug: "scale_ai-set-project-ontology",
36
+ name: "Set Project Ontology",
37
+ description: "Tool to set ontologies on a Scale AI project. Ontologies define the labels or classes that tasks will reference, and projects maintain complete history of ontology versions. Use when you need to configure or update the classification labels for a project.",
38
+ input: ScaleAiSetProjectOntologyInput,
39
+ output: ScaleAiSetProjectOntologyOutput
40
+ });
41
+ //#endregion
42
+ exports.scaleAiSetProjectOntology = scaleAiSetProjectOntology;
43
+
44
+ //# sourceMappingURL=set-project-ontology.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-project-ontology.cjs","names":["z","action"],"sources":["../../src/actions/set-project-ontology.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetProjectOntologyInput: z.ZodTypeAny = z.object({\n ontology: z.array(z.string()).describe(\"A collection of ontology entries as strings. Ontology choices must be unique throughout the ontology. These define the labels or classes that tasks in this project will reference.\"),\n project_name: z.string().describe(\"The unique project identifier to set the ontology for. This is the project name.\"),\n ontology_name: z.string().describe(\"A label identifying the specific version of the ontology being set. This is optional and helps track different ontology versions.\").optional(),\n}).describe(\"Request model for setting ontologies on a project.\");\nconst ScaleAiSetProjectOntology_DatasetLinkSchema: z.ZodTypeAny = z.object({\n datasetId: z.string().describe(\"Dataset identifier\").nullable().optional(),\n datasetName: z.string().describe(\"Dataset name\").nullable().optional(),\n}).describe(\"Dataset link information.\");\nconst ScaleAiSetProjectOntology_ParamHistoryItemSchema: z.ZodTypeAny = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable().optional(),\n}).describe(\"Historical parameter version for a project.\");\nexport const ScaleAiSetProjectOntologyOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable().optional(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation').\").nullable().optional(),\n pinned: z.boolean().describe(\"Whether project is pinned.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether project is archived.\").nullable().optional(),\n taxonomy: z.record(z.string(), z.unknown()).describe(\"Taxonomy information.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of project creation.\").nullable().optional(),\n created_by: z.string().describe(\"User ID who created the project.\").nullable().optional(),\n numReviews: z.number().int().describe(\"Number of reviews.\").nullable().optional(),\n created_with: z.string().describe(\"Creation method.\").nullable().optional(),\n datasetLinks: z.array(ScaleAiSetProjectOntology_DatasetLinkSchema).describe(\"Associated dataset links.\").nullable().optional(),\n numConsensus: z.number().int().describe(\"Number of consensus.\").nullable().optional(),\n pipelineName: z.string().describe(\"Pipeline identifier.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectOntology_ParamHistoryItemSchema).describe(\"Historical parameter versions.\").nullable().optional(),\n nucleusDatasetId: z.string().describe(\"Associated Nucleus dataset ID.\").nullable().optional(),\n}).describe(\"Response model containing the updated project details after setting the ontology.\");\n\nexport const scaleAiSetProjectOntology = action(\"SCALE_AI_SET_PROJECT_ONTOLOGY\", {\n slug: \"scale_ai-set-project-ontology\",\n name: \"Set Project Ontology\",\n description: \"Tool to set ontologies on a Scale AI project. Ontologies define the labels or classes that tasks will reference, and projects maintain complete history of ontology versions. Use when you need to configure or update the classification labels for a project.\",\n input: ScaleAiSetProjectOntologyInput,\n output: ScaleAiSetProjectOntologyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C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;AAE/F,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/set-project-ontology.d.ts
4
+ declare const ScaleAiSetProjectOntologyInput: z.ZodTypeAny;
5
+ declare const ScaleAiSetProjectOntologyOutput: z.ZodTypeAny;
6
+ declare const scaleAiSetProjectOntology: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scaleAiSetProjectOntology };
9
+ //# sourceMappingURL=set-project-ontology.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-project-ontology.d.cts","names":[],"sources":["../../src/actions/set-project-ontology.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAIkB;AAAA,cAUpD,+BAAA,EAAiC,CAAA,CAAE,UAegD;AAAA,cAEnF,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/set-project-ontology.d.ts
4
+ declare const ScaleAiSetProjectOntologyInput: z.ZodTypeAny;
5
+ declare const ScaleAiSetProjectOntologyOutput: z.ZodTypeAny;
6
+ declare const scaleAiSetProjectOntology: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scaleAiSetProjectOntology };
9
+ //# sourceMappingURL=set-project-ontology.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-project-ontology.d.mts","names":[],"sources":["../../src/actions/set-project-ontology.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAIkB;AAAA,cAUpD,+BAAA,EAAiC,CAAA,CAAE,UAegD;AAAA,cAEnF,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,43 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/set-project-ontology.ts
4
+ const ScaleAiSetProjectOntologyInput = z.object({
5
+ ontology: z.array(z.string()).describe("A collection of ontology entries as strings. Ontology choices must be unique throughout the ontology. These define the labels or classes that tasks in this project will reference."),
6
+ project_name: z.string().describe("The unique project identifier to set the ontology for. This is the project name."),
7
+ ontology_name: z.string().describe("A label identifying the specific version of the ontology being set. This is optional and helps track different ontology versions.").optional()
8
+ }).describe("Request model for setting ontologies on a project.");
9
+ const ScaleAiSetProjectOntology_DatasetLinkSchema = z.object({
10
+ datasetId: z.string().describe("Dataset identifier").nullable().optional(),
11
+ datasetName: z.string().describe("Dataset name").nullable().optional()
12
+ }).describe("Dataset link information.");
13
+ const ScaleAiSetProjectOntology_ParamHistoryItemSchema = z.object({
14
+ version: z.number().int().describe("Version number of the parameter set.").nullable().optional(),
15
+ created_at: z.string().describe("ISO timestamp when this version was created.").nullable().optional(),
16
+ instruction: z.string().describe("Instructions associated with this parameter version.").nullable().optional()
17
+ }).describe("Historical parameter version for a project.");
18
+ const scaleAiSetProjectOntology = action("SCALE_AI_SET_PROJECT_ONTOLOGY", {
19
+ slug: "scale_ai-set-project-ontology",
20
+ name: "Set Project Ontology",
21
+ description: "Tool to set ontologies on a Scale AI project. Ontologies define the labels or classes that tasks will reference, and projects maintain complete history of ontology versions. Use when you need to configure or update the classification labels for a project.",
22
+ input: ScaleAiSetProjectOntologyInput,
23
+ output: z.object({
24
+ name: z.string().describe("Project identifier name.").nullable().optional(),
25
+ type: z.string().describe("Task type for the project (e.g., 'imageannotation').").nullable().optional(),
26
+ pinned: z.boolean().describe("Whether project is pinned.").nullable().optional(),
27
+ archived: z.boolean().describe("Whether project is archived.").nullable().optional(),
28
+ taxonomy: z.record(z.string(), z.unknown()).describe("Taxonomy information.").nullable().optional(),
29
+ created_at: z.string().describe("ISO 8601 timestamp of project creation.").nullable().optional(),
30
+ created_by: z.string().describe("User ID who created the project.").nullable().optional(),
31
+ numReviews: z.number().int().describe("Number of reviews.").nullable().optional(),
32
+ created_with: z.string().describe("Creation method.").nullable().optional(),
33
+ datasetLinks: z.array(ScaleAiSetProjectOntology_DatasetLinkSchema).describe("Associated dataset links.").nullable().optional(),
34
+ numConsensus: z.number().int().describe("Number of consensus.").nullable().optional(),
35
+ pipelineName: z.string().describe("Pipeline identifier.").nullable().optional(),
36
+ param_history: z.array(ScaleAiSetProjectOntology_ParamHistoryItemSchema).describe("Historical parameter versions.").nullable().optional(),
37
+ nucleusDatasetId: z.string().describe("Associated Nucleus dataset ID.").nullable().optional()
38
+ }).describe("Response model containing the updated project details after setting the ontology.")
39
+ });
40
+ //#endregion
41
+ export { scaleAiSetProjectOntology };
42
+
43
+ //# sourceMappingURL=set-project-ontology.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-project-ontology.mjs","names":[],"sources":["../../src/actions/set-project-ontology.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetProjectOntologyInput: z.ZodTypeAny = z.object({\n ontology: z.array(z.string()).describe(\"A collection of ontology entries as strings. Ontology choices must be unique throughout the ontology. These define the labels or classes that tasks in this project will reference.\"),\n project_name: z.string().describe(\"The unique project identifier to set the ontology for. This is the project name.\"),\n ontology_name: z.string().describe(\"A label identifying the specific version of the ontology being set. This is optional and helps track different ontology versions.\").optional(),\n}).describe(\"Request model for setting ontologies on a project.\");\nconst ScaleAiSetProjectOntology_DatasetLinkSchema: z.ZodTypeAny = z.object({\n datasetId: z.string().describe(\"Dataset identifier\").nullable().optional(),\n datasetName: z.string().describe(\"Dataset name\").nullable().optional(),\n}).describe(\"Dataset link information.\");\nconst ScaleAiSetProjectOntology_ParamHistoryItemSchema: z.ZodTypeAny = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable().optional(),\n}).describe(\"Historical parameter version for a project.\");\nexport const ScaleAiSetProjectOntologyOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable().optional(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation').\").nullable().optional(),\n pinned: z.boolean().describe(\"Whether project is pinned.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether project is archived.\").nullable().optional(),\n taxonomy: z.record(z.string(), z.unknown()).describe(\"Taxonomy information.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of project creation.\").nullable().optional(),\n created_by: z.string().describe(\"User ID who created the project.\").nullable().optional(),\n numReviews: z.number().int().describe(\"Number of reviews.\").nullable().optional(),\n created_with: z.string().describe(\"Creation method.\").nullable().optional(),\n datasetLinks: z.array(ScaleAiSetProjectOntology_DatasetLinkSchema).describe(\"Associated dataset links.\").nullable().optional(),\n numConsensus: z.number().int().describe(\"Number of consensus.\").nullable().optional(),\n pipelineName: z.string().describe(\"Pipeline identifier.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectOntology_ParamHistoryItemSchema).describe(\"Historical parameter versions.\").nullable().optional(),\n nucleusDatasetId: z.string().describe(\"Associated Nucleus dataset ID.\").nullable().optional(),\n}).describe(\"Response model containing the updated project details after setting the ontology.\");\n\nexport const scaleAiSetProjectOntology = action(\"SCALE_AI_SET_PROJECT_ONTOLOGY\", {\n slug: \"scale_ai-set-project-ontology\",\n name: \"Set Project Ontology\",\n description: \"Tool to set ontologies on a Scale AI project. Ontologies define the labels or classes that tasks will reference, and projects maintain complete history of ontology versions. Use when you need to configure or update the classification labels for a project.\",\n input: ScaleAiSetProjectOntologyInput,\n output: ScaleAiSet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ectParamsInput = zod.z.object({
5
+ name: zod.z.string().describe("Project identifier (name). This is used in the URL path."),
6
+ patch: zod.z.boolean().default(false).describe("When true, merges new parameters with existing ones; defaults to false. Field-level overrides take precedence.").optional(),
7
+ params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Default parameters for tasks created under this project. Any parameters specified here will be set if omitted in a task request.").optional(),
8
+ priority: zod.z.number().int().describe("Default priority for tasks created under this project.").optional(),
9
+ instruction: zod.z.string().describe("Text combined with task-level instructions.").optional()
10
+ }).describe("Request model for setting default parameters for tasks created under a project.");
11
+ const ScaleAiSetProjectParams_ParamHistoryItemSchema = zod.z.object({
12
+ params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Parameters that were set at this version.").nullable().optional(),
13
+ version: zod.z.number().int().describe("Version number of the parameter set.").nullable().optional(),
14
+ timestamp: zod.z.string().describe("Timestamp when parameters were set.").nullable().optional()
15
+ }).describe("Parameter history entry for a project.");
16
+ const ScaleAiSetProjectParamsOutput = zod.z.object({
17
+ name: zod.z.string().describe("Project identifier.").nullable().optional(),
18
+ type: zod.z.string().describe("Project task type.").nullable().optional(),
19
+ created_at: zod.z.string().describe("Project creation timestamp.").nullable().optional(),
20
+ param_history: zod.z.array(ScaleAiSetProjectParams_ParamHistoryItemSchema).describe("Projects keep a history of the parameters that they were set with.").nullable().optional()
21
+ }).describe("Response model for set project parameters action.");
22
+ const scaleAiSetProjectParams = require_action.action("SCALE_AI_SET_PROJECT_PARAMS", {
23
+ slug: "scale_ai-set-project-params",
24
+ name: "Set Project Parameters",
25
+ description: "Tool to set default parameters for tasks created under a project. Use when you need to establish or update default parameters that apply to future tasks unless overridden.",
26
+ input: ScaleAiSetProjectParamsInput,
27
+ output: ScaleAiSetProjectParamsOutput
28
+ });
29
+ //#endregion
30
+ exports.scaleAiSetProjectParams = scaleAiSetProjectParams;
31
+
32
+ //# sourceMappingURL=set-project-params.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-project-params.cjs","names":["z","action"],"sources":["../../src/actions/set-project-params.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetProjectParamsInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Project identifier (name). This is used in the URL path.\"),\n patch: z.boolean().default(false).describe(\"When true, merges new parameters with existing ones; defaults to false. Field-level overrides take precedence.\").optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Default parameters for tasks created under this project. Any parameters specified here will be set if omitted in a task request.\").optional(),\n priority: z.number().int().describe(\"Default priority for tasks created under this project.\").optional(),\n instruction: z.string().describe(\"Text combined with task-level instructions.\").optional(),\n}).describe(\"Request model for setting default parameters for tasks created under a project.\");\nconst ScaleAiSetProjectParams_ParamHistoryItemSchema: z.ZodTypeAny = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"Parameters that were set at this version.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when parameters were set.\").nullable().optional(),\n}).describe(\"Parameter history entry for a project.\");\nexport const ScaleAiSetProjectParamsOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Project identifier.\").nullable().optional(),\n type: z.string().describe(\"Project task type.\").nullable().optional(),\n created_at: z.string().describe(\"Project creation timestamp.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectParams_ParamHistoryItemSchema).describe(\"Projects keep a history of the parameters that they were set with.\").nullable().optional(),\n}).describe(\"Response model for set project parameters action.\");\n\nexport const scaleAiSetProjectParams = action(\"SCALE_AI_SET_PROJECT_PARAMS\", {\n slug: \"scale_ai-set-project-params\",\n name: \"Set Project Parameters\",\n description: \"Tool to set default parameters for tasks created under a project. Use when you need to establish or update default parameters that apply to future tasks unless overridden.\",\n input: ScaleAiSetProjectParamsInput,\n output: ScaleAiSetProjectParamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC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S;CACnF,eAAeA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/set-project-params.d.ts
4
+ declare const ScaleAiSetProjectParamsInput: z.ZodTypeAny;
5
+ declare const ScaleAiSetProjectParamsOutput: z.ZodTypeAny;
6
+ declare const scaleAiSetProjectParams: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scaleAiSetProjectParams };
9
+ //# sourceMappingURL=set-project-params.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-project-params.d.cts","names":[],"sources":["../../src/actions/set-project-params.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAMiD;AAAA,cAMjF,6BAAA,EAA+B,CAAA,CAAE,UAKkB;AAAA,cAEnD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/set-project-params.d.ts
4
+ declare const ScaleAiSetProjectParamsInput: z.ZodTypeAny;
5
+ declare const ScaleAiSetProjectParamsOutput: z.ZodTypeAny;
6
+ declare const scaleAiSetProjectParams: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scaleAiSetProjectParams };
9
+ //# sourceMappingURL=set-project-params.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-project-params.d.mts","names":[],"sources":["../../src/actions/set-project-params.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAMiD;AAAA,cAMjF,6BAAA,EAA+B,CAAA,CAAE,UAKkB;AAAA,cAEnD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,31 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/set-project-params.ts
4
+ const ScaleAiSetProjectParamsInput = z.object({
5
+ name: z.string().describe("Project identifier (name). This is used in the URL path."),
6
+ patch: z.boolean().default(false).describe("When true, merges new parameters with existing ones; defaults to false. Field-level overrides take precedence.").optional(),
7
+ params: z.record(z.string(), z.unknown()).describe("Default parameters for tasks created under this project. Any parameters specified here will be set if omitted in a task request.").optional(),
8
+ priority: z.number().int().describe("Default priority for tasks created under this project.").optional(),
9
+ instruction: z.string().describe("Text combined with task-level instructions.").optional()
10
+ }).describe("Request model for setting default parameters for tasks created under a project.");
11
+ const ScaleAiSetProjectParams_ParamHistoryItemSchema = z.object({
12
+ params: z.record(z.string(), z.unknown()).describe("Parameters that were set at this version.").nullable().optional(),
13
+ version: z.number().int().describe("Version number of the parameter set.").nullable().optional(),
14
+ timestamp: z.string().describe("Timestamp when parameters were set.").nullable().optional()
15
+ }).describe("Parameter history entry for a project.");
16
+ const scaleAiSetProjectParams = action("SCALE_AI_SET_PROJECT_PARAMS", {
17
+ slug: "scale_ai-set-project-params",
18
+ name: "Set Project Parameters",
19
+ description: "Tool to set default parameters for tasks created under a project. Use when you need to establish or update default parameters that apply to future tasks unless overridden.",
20
+ input: ScaleAiSetProjectParamsInput,
21
+ output: z.object({
22
+ name: z.string().describe("Project identifier.").nullable().optional(),
23
+ type: z.string().describe("Project task type.").nullable().optional(),
24
+ created_at: z.string().describe("Project creation timestamp.").nullable().optional(),
25
+ param_history: z.array(ScaleAiSetProjectParams_ParamHistoryItemSchema).describe("Projects keep a history of the parameters that they were set with.").nullable().optional()
26
+ }).describe("Response model for set project parameters action.")
27
+ });
28
+ //#endregion
29
+ export { scaleAiSetProjectParams };
30
+
31
+ //# sourceMappingURL=set-project-params.mjs.map