@keystrokehq/scale_ai 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (333) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-studio-assignments.cjs +1 -0
  4. package/dist/actions/add-studio-assignments.cjs.map +1 -1
  5. package/dist/actions/add-studio-assignments.d.cts +3 -16
  6. package/dist/actions/add-studio-assignments.d.cts.map +1 -1
  7. package/dist/actions/add-studio-assignments.d.mts +3 -16
  8. package/dist/actions/add-studio-assignments.d.mts.map +1 -1
  9. package/dist/actions/add-studio-assignments.mjs +1 -0
  10. package/dist/actions/add-studio-assignments.mjs.map +1 -1
  11. package/dist/actions/add-task-tags.cjs +1 -0
  12. package/dist/actions/add-task-tags.cjs.map +1 -1
  13. package/dist/actions/add-task-tags.d.cts +3 -16
  14. package/dist/actions/add-task-tags.d.cts.map +1 -1
  15. package/dist/actions/add-task-tags.d.mts +3 -16
  16. package/dist/actions/add-task-tags.d.mts.map +1 -1
  17. package/dist/actions/add-task-tags.mjs +1 -0
  18. package/dist/actions/add-task-tags.mjs.map +1 -1
  19. package/dist/actions/create-batch.cjs +1 -0
  20. package/dist/actions/create-batch.cjs.map +1 -1
  21. package/dist/actions/create-batch.d.cts +3 -19
  22. package/dist/actions/create-batch.d.cts.map +1 -1
  23. package/dist/actions/create-batch.d.mts +3 -19
  24. package/dist/actions/create-batch.d.mts.map +1 -1
  25. package/dist/actions/create-batch.mjs +1 -0
  26. package/dist/actions/create-batch.mjs.map +1 -1
  27. package/dist/actions/create-document-transcription-task.cjs +1 -0
  28. package/dist/actions/create-document-transcription-task.cjs.map +1 -1
  29. package/dist/actions/create-document-transcription-task.d.cts +3 -53
  30. package/dist/actions/create-document-transcription-task.d.cts.map +1 -1
  31. package/dist/actions/create-document-transcription-task.d.mts +3 -53
  32. package/dist/actions/create-document-transcription-task.d.mts.map +1 -1
  33. package/dist/actions/create-document-transcription-task.mjs +1 -0
  34. package/dist/actions/create-document-transcription-task.mjs.map +1 -1
  35. package/dist/actions/create-image-annotation-task.cjs +1 -0
  36. package/dist/actions/create-image-annotation-task.cjs.map +1 -1
  37. package/dist/actions/create-image-annotation-task.d.cts +3 -125
  38. package/dist/actions/create-image-annotation-task.d.cts.map +1 -1
  39. package/dist/actions/create-image-annotation-task.d.mts +3 -125
  40. package/dist/actions/create-image-annotation-task.d.mts.map +1 -1
  41. package/dist/actions/create-image-annotation-task.mjs +1 -0
  42. package/dist/actions/create-image-annotation-task.mjs.map +1 -1
  43. package/dist/actions/create-lidar-annotation-task.cjs +1 -0
  44. package/dist/actions/create-lidar-annotation-task.cjs.map +1 -1
  45. package/dist/actions/create-lidar-annotation-task.d.cts +3 -32
  46. package/dist/actions/create-lidar-annotation-task.d.cts.map +1 -1
  47. package/dist/actions/create-lidar-annotation-task.d.mts +3 -32
  48. package/dist/actions/create-lidar-annotation-task.d.mts.map +1 -1
  49. package/dist/actions/create-lidar-annotation-task.mjs +1 -0
  50. package/dist/actions/create-lidar-annotation-task.mjs.map +1 -1
  51. package/dist/actions/create-lidar-segmentation-task.cjs +1 -0
  52. package/dist/actions/create-lidar-segmentation-task.cjs.map +1 -1
  53. package/dist/actions/create-lidar-segmentation-task.d.cts +3 -27
  54. package/dist/actions/create-lidar-segmentation-task.d.cts.map +1 -1
  55. package/dist/actions/create-lidar-segmentation-task.d.mts +3 -27
  56. package/dist/actions/create-lidar-segmentation-task.d.mts.map +1 -1
  57. package/dist/actions/create-lidar-segmentation-task.mjs +1 -0
  58. package/dist/actions/create-lidar-segmentation-task.mjs.map +1 -1
  59. package/dist/actions/create-named-entity-recognition-task.cjs +1 -0
  60. package/dist/actions/create-named-entity-recognition-task.cjs.map +1 -1
  61. package/dist/actions/create-named-entity-recognition-task.d.cts +3 -43
  62. package/dist/actions/create-named-entity-recognition-task.d.cts.map +1 -1
  63. package/dist/actions/create-named-entity-recognition-task.d.mts +3 -43
  64. package/dist/actions/create-named-entity-recognition-task.d.mts.map +1 -1
  65. package/dist/actions/create-named-entity-recognition-task.mjs +1 -0
  66. package/dist/actions/create-named-entity-recognition-task.mjs.map +1 -1
  67. package/dist/actions/create-segmentation-annotation-task.cjs +1 -0
  68. package/dist/actions/create-segmentation-annotation-task.cjs.map +1 -1
  69. package/dist/actions/create-segmentation-annotation-task.d.cts +3 -36
  70. package/dist/actions/create-segmentation-annotation-task.d.cts.map +1 -1
  71. package/dist/actions/create-segmentation-annotation-task.d.mts +3 -36
  72. package/dist/actions/create-segmentation-annotation-task.d.mts.map +1 -1
  73. package/dist/actions/create-segmentation-annotation-task.mjs +1 -0
  74. package/dist/actions/create-segmentation-annotation-task.mjs.map +1 -1
  75. package/dist/actions/create-text-collection-task.cjs +1 -0
  76. package/dist/actions/create-text-collection-task.cjs.map +1 -1
  77. package/dist/actions/create-text-collection-task.d.cts +3 -45
  78. package/dist/actions/create-text-collection-task.d.cts.map +1 -1
  79. package/dist/actions/create-text-collection-task.d.mts +3 -45
  80. package/dist/actions/create-text-collection-task.d.mts.map +1 -1
  81. package/dist/actions/create-text-collection-task.mjs +1 -0
  82. package/dist/actions/create-text-collection-task.mjs.map +1 -1
  83. package/dist/actions/create-video-annotation-task.cjs +1 -0
  84. package/dist/actions/create-video-annotation-task.cjs.map +1 -1
  85. package/dist/actions/create-video-annotation-task.d.cts +3 -77
  86. package/dist/actions/create-video-annotation-task.d.cts.map +1 -1
  87. package/dist/actions/create-video-annotation-task.d.mts +3 -77
  88. package/dist/actions/create-video-annotation-task.d.mts.map +1 -1
  89. package/dist/actions/create-video-annotation-task.mjs +1 -0
  90. package/dist/actions/create-video-annotation-task.mjs.map +1 -1
  91. package/dist/actions/create-video-playback-annotation-task.cjs +1 -0
  92. package/dist/actions/create-video-playback-annotation-task.cjs.map +1 -1
  93. package/dist/actions/create-video-playback-annotation-task.d.cts +3 -83
  94. package/dist/actions/create-video-playback-annotation-task.d.cts.map +1 -1
  95. package/dist/actions/create-video-playback-annotation-task.d.mts +3 -83
  96. package/dist/actions/create-video-playback-annotation-task.d.mts.map +1 -1
  97. package/dist/actions/create-video-playback-annotation-task.mjs +1 -0
  98. package/dist/actions/create-video-playback-annotation-task.mjs.map +1 -1
  99. package/dist/actions/delete-task-tags.cjs +1 -0
  100. package/dist/actions/delete-task-tags.cjs.map +1 -1
  101. package/dist/actions/delete-task-tags.d.cts +3 -16
  102. package/dist/actions/delete-task-tags.d.cts.map +1 -1
  103. package/dist/actions/delete-task-tags.d.mts +3 -16
  104. package/dist/actions/delete-task-tags.d.mts.map +1 -1
  105. package/dist/actions/delete-task-tags.mjs +1 -0
  106. package/dist/actions/delete-task-tags.mjs.map +1 -1
  107. package/dist/actions/delete-task-unique-id.cjs +1 -0
  108. package/dist/actions/delete-task-unique-id.cjs.map +1 -1
  109. package/dist/actions/delete-task-unique-id.d.cts +3 -15
  110. package/dist/actions/delete-task-unique-id.d.cts.map +1 -1
  111. package/dist/actions/delete-task-unique-id.d.mts +3 -15
  112. package/dist/actions/delete-task-unique-id.d.mts.map +1 -1
  113. package/dist/actions/delete-task-unique-id.mjs +1 -0
  114. package/dist/actions/delete-task-unique-id.mjs.map +1 -1
  115. package/dist/actions/finalize-batch.cjs +1 -0
  116. package/dist/actions/finalize-batch.cjs.map +1 -1
  117. package/dist/actions/finalize-batch.d.cts +3 -15
  118. package/dist/actions/finalize-batch.d.cts.map +1 -1
  119. package/dist/actions/finalize-batch.d.mts +3 -15
  120. package/dist/actions/finalize-batch.d.mts.map +1 -1
  121. package/dist/actions/finalize-batch.mjs +1 -0
  122. package/dist/actions/finalize-batch.mjs.map +1 -1
  123. package/dist/actions/get-assets.cjs +1 -0
  124. package/dist/actions/get-assets.cjs.map +1 -1
  125. package/dist/actions/get-assets.d.cts +3 -17
  126. package/dist/actions/get-assets.d.cts.map +1 -1
  127. package/dist/actions/get-assets.d.mts +3 -17
  128. package/dist/actions/get-assets.d.mts.map +1 -1
  129. package/dist/actions/get-assets.mjs +1 -0
  130. package/dist/actions/get-assets.mjs.map +1 -1
  131. package/dist/actions/get-batch-status.cjs +1 -0
  132. package/dist/actions/get-batch-status.cjs.map +1 -1
  133. package/dist/actions/get-batch-status.d.cts +3 -15
  134. package/dist/actions/get-batch-status.d.cts.map +1 -1
  135. package/dist/actions/get-batch-status.d.mts +3 -15
  136. package/dist/actions/get-batch-status.d.mts.map +1 -1
  137. package/dist/actions/get-batch-status.mjs +1 -0
  138. package/dist/actions/get-batch-status.mjs.map +1 -1
  139. package/dist/actions/get-batch.cjs +1 -0
  140. package/dist/actions/get-batch.cjs.map +1 -1
  141. package/dist/actions/get-batch.d.cts +3 -15
  142. package/dist/actions/get-batch.d.cts.map +1 -1
  143. package/dist/actions/get-batch.d.mts +3 -15
  144. package/dist/actions/get-batch.d.mts.map +1 -1
  145. package/dist/actions/get-batch.mjs +1 -0
  146. package/dist/actions/get-batch.mjs.map +1 -1
  147. package/dist/actions/get-fixless-audits.cjs +1 -0
  148. package/dist/actions/get-fixless-audits.cjs.map +1 -1
  149. package/dist/actions/get-fixless-audits.d.cts +3 -16
  150. package/dist/actions/get-fixless-audits.d.cts.map +1 -1
  151. package/dist/actions/get-fixless-audits.d.mts +3 -16
  152. package/dist/actions/get-fixless-audits.d.mts.map +1 -1
  153. package/dist/actions/get-fixless-audits.mjs +1 -0
  154. package/dist/actions/get-fixless-audits.mjs.map +1 -1
  155. package/dist/actions/get-project.cjs +1 -0
  156. package/dist/actions/get-project.cjs.map +1 -1
  157. package/dist/actions/get-project.d.cts +3 -15
  158. package/dist/actions/get-project.d.cts.map +1 -1
  159. package/dist/actions/get-project.d.mts +3 -15
  160. package/dist/actions/get-project.d.mts.map +1 -1
  161. package/dist/actions/get-project.mjs +1 -0
  162. package/dist/actions/get-project.mjs.map +1 -1
  163. package/dist/actions/get-quality-labelers.cjs +1 -0
  164. package/dist/actions/get-quality-labelers.cjs.map +1 -1
  165. package/dist/actions/get-quality-labelers.d.cts +3 -18
  166. package/dist/actions/get-quality-labelers.d.cts.map +1 -1
  167. package/dist/actions/get-quality-labelers.d.mts +3 -18
  168. package/dist/actions/get-quality-labelers.d.mts.map +1 -1
  169. package/dist/actions/get-quality-labelers.mjs +1 -0
  170. package/dist/actions/get-quality-labelers.mjs.map +1 -1
  171. package/dist/actions/get-studio-assignments.cjs +1 -0
  172. package/dist/actions/get-studio-assignments.cjs.map +1 -1
  173. package/dist/actions/get-studio-assignments.d.cts +3 -13
  174. package/dist/actions/get-studio-assignments.d.cts.map +1 -1
  175. package/dist/actions/get-studio-assignments.d.mts +3 -13
  176. package/dist/actions/get-studio-assignments.d.mts.map +1 -1
  177. package/dist/actions/get-studio-assignments.mjs +1 -0
  178. package/dist/actions/get-studio-assignments.mjs.map +1 -1
  179. package/dist/actions/get-studio-batches.cjs +1 -0
  180. package/dist/actions/get-studio-batches.cjs.map +1 -1
  181. package/dist/actions/get-studio-batches.d.cts +3 -13
  182. package/dist/actions/get-studio-batches.d.cts.map +1 -1
  183. package/dist/actions/get-studio-batches.d.mts +3 -13
  184. package/dist/actions/get-studio-batches.d.mts.map +1 -1
  185. package/dist/actions/get-studio-batches.mjs +1 -0
  186. package/dist/actions/get-studio-batches.mjs.map +1 -1
  187. package/dist/actions/get-teams.cjs +1 -0
  188. package/dist/actions/get-teams.cjs.map +1 -1
  189. package/dist/actions/get-teams.d.cts +3 -13
  190. package/dist/actions/get-teams.d.cts.map +1 -1
  191. package/dist/actions/get-teams.d.mts +3 -13
  192. package/dist/actions/get-teams.d.mts.map +1 -1
  193. package/dist/actions/get-teams.mjs +1 -0
  194. package/dist/actions/get-teams.mjs.map +1 -1
  195. package/dist/actions/get-v1-task-response-url.cjs +1 -0
  196. package/dist/actions/get-v1-task-response-url.cjs.map +1 -1
  197. package/dist/actions/get-v1-task-response-url.d.cts +3 -16
  198. package/dist/actions/get-v1-task-response-url.d.cts.map +1 -1
  199. package/dist/actions/get-v1-task-response-url.d.mts +3 -16
  200. package/dist/actions/get-v1-task-response-url.d.mts.map +1 -1
  201. package/dist/actions/get-v1-task-response-url.mjs +1 -0
  202. package/dist/actions/get-v1-task-response-url.mjs.map +1 -1
  203. package/dist/actions/get-v1-task.cjs +1 -0
  204. package/dist/actions/get-v1-task.cjs.map +1 -1
  205. package/dist/actions/get-v1-task.d.cts +3 -15
  206. package/dist/actions/get-v1-task.d.cts.map +1 -1
  207. package/dist/actions/get-v1-task.d.mts +3 -15
  208. package/dist/actions/get-v1-task.d.mts.map +1 -1
  209. package/dist/actions/get-v1-task.mjs +1 -0
  210. package/dist/actions/get-v1-task.mjs.map +1 -1
  211. package/dist/actions/import-file.cjs +1 -0
  212. package/dist/actions/import-file.cjs.map +1 -1
  213. package/dist/actions/import-file.d.cts +3 -16
  214. package/dist/actions/import-file.d.cts.map +1 -1
  215. package/dist/actions/import-file.d.mts +3 -16
  216. package/dist/actions/import-file.d.mts.map +1 -1
  217. package/dist/actions/import-file.mjs +1 -0
  218. package/dist/actions/import-file.mjs.map +1 -1
  219. package/dist/actions/invite-team-member.cjs +1 -0
  220. package/dist/actions/invite-team-member.cjs.map +1 -1
  221. package/dist/actions/invite-team-member.d.cts +3 -16
  222. package/dist/actions/invite-team-member.d.cts.map +1 -1
  223. package/dist/actions/invite-team-member.d.mts +3 -16
  224. package/dist/actions/invite-team-member.d.mts.map +1 -1
  225. package/dist/actions/invite-team-member.mjs +1 -0
  226. package/dist/actions/invite-team-member.mjs.map +1 -1
  227. package/dist/actions/list-batches.cjs +1 -0
  228. package/dist/actions/list-batches.cjs.map +1 -1
  229. package/dist/actions/list-batches.d.cts +3 -21
  230. package/dist/actions/list-batches.d.cts.map +1 -1
  231. package/dist/actions/list-batches.d.mts +3 -21
  232. package/dist/actions/list-batches.d.mts.map +1 -1
  233. package/dist/actions/list-batches.mjs +1 -0
  234. package/dist/actions/list-batches.mjs.map +1 -1
  235. package/dist/actions/list-projects.cjs +1 -0
  236. package/dist/actions/list-projects.cjs.map +1 -1
  237. package/dist/actions/list-projects.d.cts +3 -17
  238. package/dist/actions/list-projects.d.cts.map +1 -1
  239. package/dist/actions/list-projects.d.mts +3 -17
  240. package/dist/actions/list-projects.d.mts.map +1 -1
  241. package/dist/actions/list-projects.mjs +1 -0
  242. package/dist/actions/list-projects.mjs.map +1 -1
  243. package/dist/actions/list-tasks.cjs +1 -0
  244. package/dist/actions/list-tasks.cjs.map +1 -1
  245. package/dist/actions/list-tasks.d.cts +3 -30
  246. package/dist/actions/list-tasks.d.cts.map +1 -1
  247. package/dist/actions/list-tasks.d.mts +3 -30
  248. package/dist/actions/list-tasks.d.mts.map +1 -1
  249. package/dist/actions/list-tasks.mjs +1 -0
  250. package/dist/actions/list-tasks.mjs.map +1 -1
  251. package/dist/actions/post-v1-task-send-callback.cjs +1 -0
  252. package/dist/actions/post-v1-task-send-callback.cjs.map +1 -1
  253. package/dist/actions/post-v1-task-send-callback.d.cts +3 -15
  254. package/dist/actions/post-v1-task-send-callback.d.cts.map +1 -1
  255. package/dist/actions/post-v1-task-send-callback.d.mts +3 -15
  256. package/dist/actions/post-v1-task-send-callback.d.mts.map +1 -1
  257. package/dist/actions/post-v1-task-send-callback.mjs +1 -0
  258. package/dist/actions/post-v1-task-send-callback.mjs.map +1 -1
  259. package/dist/actions/remove-studio-assignments.cjs +1 -0
  260. package/dist/actions/remove-studio-assignments.cjs.map +1 -1
  261. package/dist/actions/remove-studio-assignments.d.cts +3 -16
  262. package/dist/actions/remove-studio-assignments.d.cts.map +1 -1
  263. package/dist/actions/remove-studio-assignments.d.mts +3 -16
  264. package/dist/actions/remove-studio-assignments.d.mts.map +1 -1
  265. package/dist/actions/remove-studio-assignments.mjs +1 -0
  266. package/dist/actions/remove-studio-assignments.mjs.map +1 -1
  267. package/dist/actions/reset-batch-priorities.cjs +1 -0
  268. package/dist/actions/reset-batch-priorities.cjs.map +1 -1
  269. package/dist/actions/reset-batch-priorities.d.cts +3 -15
  270. package/dist/actions/reset-batch-priorities.d.cts.map +1 -1
  271. package/dist/actions/reset-batch-priorities.d.mts +3 -15
  272. package/dist/actions/reset-batch-priorities.d.mts.map +1 -1
  273. package/dist/actions/reset-batch-priorities.mjs +1 -0
  274. package/dist/actions/reset-batch-priorities.mjs.map +1 -1
  275. package/dist/actions/set-batch-priorities.cjs +1 -0
  276. package/dist/actions/set-batch-priorities.cjs.map +1 -1
  277. package/dist/actions/set-batch-priorities.d.cts +3 -18
  278. package/dist/actions/set-batch-priorities.d.cts.map +1 -1
  279. package/dist/actions/set-batch-priorities.d.mts +3 -18
  280. package/dist/actions/set-batch-priorities.d.mts.map +1 -1
  281. package/dist/actions/set-batch-priorities.mjs +1 -0
  282. package/dist/actions/set-batch-priorities.mjs.map +1 -1
  283. package/dist/actions/set-project-ontology.cjs +1 -0
  284. package/dist/actions/set-project-ontology.cjs.map +1 -1
  285. package/dist/actions/set-project-ontology.d.cts +3 -17
  286. package/dist/actions/set-project-ontology.d.cts.map +1 -1
  287. package/dist/actions/set-project-ontology.d.mts +3 -17
  288. package/dist/actions/set-project-ontology.d.mts.map +1 -1
  289. package/dist/actions/set-project-ontology.mjs +1 -0
  290. package/dist/actions/set-project-ontology.mjs.map +1 -1
  291. package/dist/actions/set-project-params.cjs +1 -0
  292. package/dist/actions/set-project-params.cjs.map +1 -1
  293. package/dist/actions/set-project-params.d.cts +3 -19
  294. package/dist/actions/set-project-params.d.cts.map +1 -1
  295. package/dist/actions/set-project-params.d.mts +3 -19
  296. package/dist/actions/set-project-params.d.mts.map +1 -1
  297. package/dist/actions/set-project-params.mjs +1 -0
  298. package/dist/actions/set-project-params.mjs.map +1 -1
  299. package/dist/actions/set-task-metadata.cjs +1 -0
  300. package/dist/actions/set-task-metadata.cjs.map +1 -1
  301. package/dist/actions/set-task-metadata.d.cts +3 -16
  302. package/dist/actions/set-task-metadata.d.cts.map +1 -1
  303. package/dist/actions/set-task-metadata.d.mts +3 -16
  304. package/dist/actions/set-task-metadata.d.mts.map +1 -1
  305. package/dist/actions/set-task-metadata.mjs +1 -0
  306. package/dist/actions/set-task-metadata.mjs.map +1 -1
  307. package/dist/actions/update-task-unique-id.cjs +1 -0
  308. package/dist/actions/update-task-unique-id.cjs.map +1 -1
  309. package/dist/actions/update-task-unique-id.d.cts +3 -16
  310. package/dist/actions/update-task-unique-id.d.cts.map +1 -1
  311. package/dist/actions/update-task-unique-id.d.mts +3 -16
  312. package/dist/actions/update-task-unique-id.d.mts.map +1 -1
  313. package/dist/actions/update-task-unique-id.mjs +1 -0
  314. package/dist/actions/update-task-unique-id.mjs.map +1 -1
  315. package/dist/actions/upload-file.cjs +1 -0
  316. package/dist/actions/upload-file.cjs.map +1 -1
  317. package/dist/actions/upload-file.d.cts +3 -23
  318. package/dist/actions/upload-file.d.cts.map +1 -1
  319. package/dist/actions/upload-file.d.mts +3 -23
  320. package/dist/actions/upload-file.d.mts.map +1 -1
  321. package/dist/actions/upload-file.mjs +1 -0
  322. package/dist/actions/upload-file.mjs.map +1 -1
  323. package/dist/app.cjs +2 -2
  324. package/dist/app.cjs.map +1 -1
  325. package/dist/app.d.cts +4 -6
  326. package/dist/app.d.cts.map +1 -1
  327. package/dist/app.d.mts +4 -6
  328. package/dist/app.d.mts.map +1 -1
  329. package/dist/app.mjs +0 -1
  330. package/dist/app.mjs.map +1 -1
  331. package/dist/index.d.cts +1 -1
  332. package/dist/index.d.mts +1 -1
  333. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-v1-task-response-url.d.ts
@@ -11,22 +13,7 @@ declare const ScaleAiGetV1TaskResponseUrlOutput: z.ZodObject<{
11
13
  status_code: z.ZodNullable<z.ZodNumber>;
12
14
  content_type: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
13
15
  }, z.core.$loose>;
14
- declare const scaleAiGetV1TaskResponseUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- uuid: string;
16
- task_id: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>;
16
+ declare const scaleAiGetV1TaskResponseUrl: AppAction<typeof ScaleAiGetV1TaskResponseUrlInput, typeof ScaleAiGetV1TaskResponseUrlOutput, typeof scaleAi.credential>;
30
17
  //#endregion
31
18
  export { scaleAiGetV1TaskResponseUrl };
32
19
  //# sourceMappingURL=get-v1-task-response-url.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-v1-task-response-url.d.cts","names":[],"sources":["../../src/actions/get-v1-task-response-url.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAOjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"get-v1-task-response-url.d.cts","names":[],"sources":["../../src/actions/get-v1-task-response-url.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAOjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-v1-task-response-url.d.ts
@@ -11,22 +13,7 @@ declare const ScaleAiGetV1TaskResponseUrlOutput: z.ZodObject<{
11
13
  status_code: z.ZodNullable<z.ZodNumber>;
12
14
  content_type: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
13
15
  }, z.core.$loose>;
14
- declare const scaleAiGetV1TaskResponseUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- uuid: string;
16
- task_id: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>;
16
+ declare const scaleAiGetV1TaskResponseUrl: AppAction<typeof ScaleAiGetV1TaskResponseUrlInput, typeof ScaleAiGetV1TaskResponseUrlOutput, typeof scaleAi.credential>;
30
17
  //#endregion
31
18
  export { scaleAiGetV1TaskResponseUrl };
32
19
  //# sourceMappingURL=get-v1-task-response-url.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-v1-task-response-url.d.mts","names":[],"sources":["../../src/actions/get-v1-task-response-url.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAOjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"get-v1-task-response-url.d.mts","names":[],"sources":["../../src/actions/get-v1-task-response-url.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAOjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const scaleAiGetV1TaskResponseUrl = action("SCALE_AI_GET_V1_TASK_RESPONSE_URL", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-v1-task-response-url.mjs","names":[],"sources":["../../src/actions/get-v1-task-response-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetV1TaskResponseUrlInput = z.object({\n uuid: z.string().describe(\"The unique identifier for the secure result URL\"),\n task_id: z.string().describe(\"The unique identifier for the task\"),\n}).describe(\"Request model for retrieving a secure authenticated URL for task response data.\");\nexport const ScaleAiGetV1TaskResponseUrlOutput = z.object({\n url: z.string().describe(\"The signed URL for accessing the secure task response data. This URL is time-limited and requires no additional authentication.\").nullable(),\n content: z.string().default(\"\").describe(\"The content retrieved from the secure URL if follow_redirect is enabled. For JSON responses, this will be the stringified JSON data. For other file types, this will be the file content. Empty if only URL is returned.\").nullable().optional(),\n status_code: z.number().int().describe(\"The HTTP status code of the response\").nullable(),\n content_type: z.string().default(\"\").describe(\"The content type of the response (e.g., 'application/json', 'image/png'). Empty if only URL is returned.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the secure task response URL or data.\");\n\nexport const scaleAiGetV1TaskResponseUrl = action(\"SCALE_AI_GET_V1_TASK_RESPONSE_URL\", {\n slug: \"scale_ai-get-v1-task-response-url\",\n name: \"Get Secure Task Response URL\",\n description: \"Tool to retrieve secure authenticated task response data. Use when you need to access stored response data for 2D segmentation, video, and lidar tasks that cannot be included in the task JSON.\",\n input: ScaleAiGetV1TaskResponseUrlInput,\n output: ScaleAiGetV1TaskResponseUrlOutput,\n});\n"],"mappings":";;AAeA,MAAa,8BAA8B,OAAO,qCAAqC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACnE,CAAC,CAAC,CAAC,SAAS,iFAYH;CACP,QAZ+C,EAAE,OAAO;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;EACrK,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0NAA0N,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzR,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACxF,cAAc,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-v1-task-response-url.mjs","names":[],"sources":["../../src/actions/get-v1-task-response-url.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetV1TaskResponseUrlInput = z.object({\n uuid: z.string().describe(\"The unique identifier for the secure result URL\"),\n task_id: z.string().describe(\"The unique identifier for the task\"),\n}).describe(\"Request model for retrieving a secure authenticated URL for task response data.\");\nexport const ScaleAiGetV1TaskResponseUrlOutput = z.object({\n url: z.string().describe(\"The signed URL for accessing the secure task response data. This URL is time-limited and requires no additional authentication.\").nullable(),\n content: z.string().default(\"\").describe(\"The content retrieved from the secure URL if follow_redirect is enabled. For JSON responses, this will be the stringified JSON data. For other file types, this will be the file content. Empty if only URL is returned.\").nullable().optional(),\n status_code: z.number().int().describe(\"The HTTP status code of the response\").nullable(),\n content_type: z.string().default(\"\").describe(\"The content type of the response (e.g., 'application/json', 'image/png'). Empty if only URL is returned.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the secure task response URL or data.\");\n\nexport const scaleAiGetV1TaskResponseUrl: AppAction<\n typeof ScaleAiGetV1TaskResponseUrlInput,\n typeof ScaleAiGetV1TaskResponseUrlOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_V1_TASK_RESPONSE_URL\", {\n slug: \"scale_ai-get-v1-task-response-url\",\n name: \"Get Secure Task Response URL\",\n description: \"Tool to retrieve secure authenticated task response data. Use when you need to access stored response data for 2D segmentation, video, and lidar tasks that cannot be included in the task JSON.\",\n input: ScaleAiGetV1TaskResponseUrlInput,\n output: ScaleAiGetV1TaskResponseUrlOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,8BAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACnE,CAAC,CAAC,CAAC,SAAS,iFAgBH;CACP,QAhB+C,EAAE,OAAO;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;EACrK,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0NAA0N,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzR,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACxF,cAAc,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-v1-task.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-v1-task.cjs","names":["z","action"],"sources":["../../src/actions/get-v1-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetV1TaskInput = z.object({\n task_id: z.string().describe(\"The unique identifier of the task to retrieve\"),\n}).describe(\"Request model for retrieving a specific task by its ID.\");\nexport const ScaleAiGetV1TaskOutput = z.object({\n type: z.string().describe(\"Task type (e.g., 'imageannotation')\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task-specific parameters and configuration\").nullable().optional(),\n status: z.string().describe(\"Current task status (e.g., 'completed', 'pending', 'canceled')\").nullable().optional(),\n task_id: z.string().describe(\"Unique identifier for the task\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the task\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"Results from the completed task\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n instruction: z.string().describe(\"Instructions provided to the contributor\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications\").nullable().optional(),\n completed_at: z.string().describe(\"ISO 8601 timestamp of task completion\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving task details.\");\n\nexport const scaleAiGetV1Task = action(\"SCALE_AI_GET_V1_TASK\", {\n slug: \"scale_ai-get-v1-task\",\n name: \"Get Task by ID\",\n description: \"Tool to retrieve detailed information about a specific task using its task ID. Use when you need to check task status, retrieve results, or analyze task metadata.\",\n input: ScaleAiGetV1TaskInput,\n output: ScaleAiGetV1TaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAC9E,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,mBAAmBC,eAAAA,OAAO,wBAAwB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-v1-task.cjs","names":["z","action"],"sources":["../../src/actions/get-v1-task.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetV1TaskInput = z.object({\n task_id: z.string().describe(\"The unique identifier of the task to retrieve\"),\n}).describe(\"Request model for retrieving a specific task by its ID.\");\nexport const ScaleAiGetV1TaskOutput = z.object({\n type: z.string().describe(\"Task type (e.g., 'imageannotation')\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task-specific parameters and configuration\").nullable().optional(),\n status: z.string().describe(\"Current task status (e.g., 'completed', 'pending', 'canceled')\").nullable().optional(),\n task_id: z.string().describe(\"Unique identifier for the task\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the task\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"Results from the completed task\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n instruction: z.string().describe(\"Instructions provided to the contributor\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications\").nullable().optional(),\n completed_at: z.string().describe(\"ISO 8601 timestamp of task completion\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving task details.\");\n\nexport const scaleAiGetV1Task: AppAction<\n typeof ScaleAiGetV1TaskInput,\n typeof ScaleAiGetV1TaskOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_V1_TASK\", {\n slug: \"scale_ai-get-v1-task\",\n name: \"Get Task by ID\",\n description: \"Tool to retrieve detailed information about a specific task using its task ID. Use when you need to check task status, retrieve results, or analyze task metadata.\",\n input: ScaleAiGetV1TaskInput,\n output: ScaleAiGetV1TaskOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAC9E,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,mBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-v1-task.d.ts
@@ -17,21 +19,7 @@ declare const ScaleAiGetV1TaskOutput: z.ZodObject<{
17
19
  callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  }, z.core.$loose>;
20
- declare const scaleAiGetV1Task: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- task_id: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>;
22
+ declare const scaleAiGetV1Task: AppAction<typeof ScaleAiGetV1TaskInput, typeof ScaleAiGetV1TaskOutput, typeof scaleAi.credential>;
35
23
  //#endregion
36
24
  export { scaleAiGetV1Task };
37
25
  //# sourceMappingURL=get-v1-task.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-v1-task.d.cts","names":[],"sources":["../../src/actions/get-v1-task.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cActB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"get-v1-task.d.cts","names":[],"sources":["../../src/actions/get-v1-task.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cActB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-v1-task.d.ts
@@ -17,21 +19,7 @@ declare const ScaleAiGetV1TaskOutput: z.ZodObject<{
17
19
  callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  }, z.core.$loose>;
20
- declare const scaleAiGetV1Task: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- task_id: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>;
22
+ declare const scaleAiGetV1Task: AppAction<typeof ScaleAiGetV1TaskInput, typeof ScaleAiGetV1TaskOutput, typeof scaleAi.credential>;
35
23
  //#endregion
36
24
  export { scaleAiGetV1Task };
37
25
  //# sourceMappingURL=get-v1-task.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-v1-task.d.mts","names":[],"sources":["../../src/actions/get-v1-task.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cActB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"get-v1-task.d.mts","names":[],"sources":["../../src/actions/get-v1-task.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cActB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const scaleAiGetV1Task = action("SCALE_AI_GET_V1_TASK", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-v1-task.mjs","names":[],"sources":["../../src/actions/get-v1-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetV1TaskInput = z.object({\n task_id: z.string().describe(\"The unique identifier of the task to retrieve\"),\n}).describe(\"Request model for retrieving a specific task by its ID.\");\nexport const ScaleAiGetV1TaskOutput = z.object({\n type: z.string().describe(\"Task type (e.g., 'imageannotation')\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task-specific parameters and configuration\").nullable().optional(),\n status: z.string().describe(\"Current task status (e.g., 'completed', 'pending', 'canceled')\").nullable().optional(),\n task_id: z.string().describe(\"Unique identifier for the task\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the task\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"Results from the completed task\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n instruction: z.string().describe(\"Instructions provided to the contributor\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications\").nullable().optional(),\n completed_at: z.string().describe(\"ISO 8601 timestamp of task completion\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving task details.\");\n\nexport const scaleAiGetV1Task = action(\"SCALE_AI_GET_V1_TASK\", {\n slug: \"scale_ai-get-v1-task\",\n name: \"Get Task by ID\",\n description: \"Tool to retrieve detailed information about a specific task using its task ID. Use when you need to check task status, retrieve results, or analyze task metadata.\",\n input: ScaleAiGetV1TaskInput,\n output: ScaleAiGetV1TaskOutput,\n});\n"],"mappings":";;AAqBA,MAAa,mBAAmB,OAAO,wBAAwB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBmC,EAAE,OAAO,EAC5C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAC9E,CAAC,CAAC,CAAC,SAAS,yDAmBH;CACP,QAnBoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-v1-task.mjs","names":[],"sources":["../../src/actions/get-v1-task.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetV1TaskInput = z.object({\n task_id: z.string().describe(\"The unique identifier of the task to retrieve\"),\n}).describe(\"Request model for retrieving a specific task by its ID.\");\nexport const ScaleAiGetV1TaskOutput = z.object({\n type: z.string().describe(\"Task type (e.g., 'imageannotation')\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task-specific parameters and configuration\").nullable().optional(),\n status: z.string().describe(\"Current task status (e.g., 'completed', 'pending', 'canceled')\").nullable().optional(),\n task_id: z.string().describe(\"Unique identifier for the task\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the task\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"Results from the completed task\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n instruction: z.string().describe(\"Instructions provided to the contributor\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications\").nullable().optional(),\n completed_at: z.string().describe(\"ISO 8601 timestamp of task completion\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving task details.\");\n\nexport const scaleAiGetV1Task: AppAction<\n typeof ScaleAiGetV1TaskInput,\n typeof ScaleAiGetV1TaskOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_V1_TASK\", {\n slug: \"scale_ai-get-v1-task\",\n name: \"Get Task by ID\",\n description: \"Tool to retrieve detailed information about a specific task using its task ID. Use when you need to check task status, retrieve results, or analyze task metadata.\",\n input: ScaleAiGetV1TaskInput,\n output: ScaleAiGetV1TaskOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,mBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBmC,EAAE,OAAO,EAC5C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAC9E,CAAC,CAAC,CAAC,SAAS,yDAuBH;CACP,QAvBoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/import-file.ts
@@ -1 +1 @@
1
- {"version":3,"file":"import-file.cjs","names":["z","action"],"sources":["../../src/actions/import-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiImportFileInput = z.object({\n file_url: z.string().describe(\"The file URL to be imported. Files are subject to Scale's 80 MB per-file size limit.\"),\n project_name: z.string().describe(\"Associates the imported file with a specific project; only used for Scale Rapid data labeling tool.\").optional(),\n}).describe(\"Request model for importing a file from an external URL.\");\nexport const ScaleAiImportFileOutput = z.object({\n id: z.string().describe(\"A unique identifier for the imported file\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n mime_type: z.string().describe(\"The MIME type of the file\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the file was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the file was last updated\").nullable().optional(),\n project_names: z.array(z.string()).describe(\"Array of project names the file is associated with\").nullable().optional(),\n attachment_url: z.string().describe(\"The URL where the file is stored (with scaledata:// prefix)\").nullable().optional(),\n}).passthrough().describe(\"Response model for file import.\");\n\nexport const scaleAiImportFile = action(\"SCALE_AI_IMPORT_FILE\", {\n slug: \"scale_ai-import-file\",\n name: \"Import File\",\n description: \"Tool to import files from an external URL endpoint into Scale's system rather than uploading directly from local storage. Use when you need to import files from remote URLs for Scale AI projects or data labeling tasks.\",\n input: ScaleAiImportFileInput,\n output: ScaleAiImportFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACpH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAE3D,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"import-file.cjs","names":["z","action"],"sources":["../../src/actions/import-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiImportFileInput = z.object({\n file_url: z.string().describe(\"The file URL to be imported. Files are subject to Scale's 80 MB per-file size limit.\"),\n project_name: z.string().describe(\"Associates the imported file with a specific project; only used for Scale Rapid data labeling tool.\").optional(),\n}).describe(\"Request model for importing a file from an external URL.\");\nexport const ScaleAiImportFileOutput = z.object({\n id: z.string().describe(\"A unique identifier for the imported file\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n mime_type: z.string().describe(\"The MIME type of the file\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the file was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the file was last updated\").nullable().optional(),\n project_names: z.array(z.string()).describe(\"Array of project names the file is associated with\").nullable().optional(),\n attachment_url: z.string().describe(\"The URL where the file is stored (with scaledata:// prefix)\").nullable().optional(),\n}).passthrough().describe(\"Response model for file import.\");\n\nexport const scaleAiImportFile: AppAction<\n typeof ScaleAiImportFileInput,\n typeof ScaleAiImportFileOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_IMPORT_FILE\", {\n slug: \"scale_ai-import-file\",\n name: \"Import File\",\n description: \"Tool to import files from an external URL endpoint into Scale's system rather than uploading directly from local storage. Use when you need to import files from remote URLs for Scale AI projects or data labeling tasks.\",\n input: ScaleAiImportFileInput,\n output: ScaleAiImportFileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACpH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAE3D,MAAa,oBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/import-file.d.ts
@@ -14,22 +16,7 @@ declare const ScaleAiImportFileOutput: z.ZodObject<{
14
16
  project_names: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
15
17
  attachment_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const scaleAiImportFile: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- file_url: string;
19
- project_name?: string | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>;
19
+ declare const scaleAiImportFile: AppAction<typeof ScaleAiImportFileInput, typeof ScaleAiImportFileOutput, typeof scaleAi.credential>;
33
20
  //#endregion
34
21
  export { scaleAiImportFile };
35
22
  //# sourceMappingURL=import-file.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"import-file.d.cts","names":[],"sources":["../../src/actions/import-file.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAUvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"import-file.d.cts","names":[],"sources":["../../src/actions/import-file.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAUvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/import-file.d.ts
@@ -14,22 +16,7 @@ declare const ScaleAiImportFileOutput: z.ZodObject<{
14
16
  project_names: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
15
17
  attachment_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const scaleAiImportFile: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- file_url: string;
19
- project_name?: string | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>;
19
+ declare const scaleAiImportFile: AppAction<typeof ScaleAiImportFileInput, typeof ScaleAiImportFileOutput, typeof scaleAi.credential>;
33
20
  //#endregion
34
21
  export { scaleAiImportFile };
35
22
  //# sourceMappingURL=import-file.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"import-file.d.mts","names":[],"sources":["../../src/actions/import-file.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAUvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"import-file.d.mts","names":[],"sources":["../../src/actions/import-file.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAUvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const scaleAiImportFile = action("SCALE_AI_IMPORT_FILE", {
@@ -1 +1 @@
1
- {"version":3,"file":"import-file.mjs","names":[],"sources":["../../src/actions/import-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiImportFileInput = z.object({\n file_url: z.string().describe(\"The file URL to be imported. Files are subject to Scale's 80 MB per-file size limit.\"),\n project_name: z.string().describe(\"Associates the imported file with a specific project; only used for Scale Rapid data labeling tool.\").optional(),\n}).describe(\"Request model for importing a file from an external URL.\");\nexport const ScaleAiImportFileOutput = z.object({\n id: z.string().describe(\"A unique identifier for the imported file\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n mime_type: z.string().describe(\"The MIME type of the file\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the file was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the file was last updated\").nullable().optional(),\n project_names: z.array(z.string()).describe(\"Array of project names the file is associated with\").nullable().optional(),\n attachment_url: z.string().describe(\"The URL where the file is stored (with scaledata:// prefix)\").nullable().optional(),\n}).passthrough().describe(\"Response model for file import.\");\n\nexport const scaleAiImportFile = action(\"SCALE_AI_IMPORT_FILE\", {\n slug: \"scale_ai-import-file\",\n name: \"Import File\",\n description: \"Tool to import files from an external URL endpoint into Scale's system rather than uploading directly from local storage. Use when you need to import files from remote URLs for Scale AI projects or data labeling tasks.\",\n input: ScaleAiImportFileInput,\n output: ScaleAiImportFileOutput,\n});\n"],"mappings":";;AAkBA,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBoC,EAAE,OAAO;EAC7C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EACpH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,0DAeH;CACP,QAfqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"import-file.mjs","names":[],"sources":["../../src/actions/import-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiImportFileInput = z.object({\n file_url: z.string().describe(\"The file URL to be imported. Files are subject to Scale's 80 MB per-file size limit.\"),\n project_name: z.string().describe(\"Associates the imported file with a specific project; only used for Scale Rapid data labeling tool.\").optional(),\n}).describe(\"Request model for importing a file from an external URL.\");\nexport const ScaleAiImportFileOutput = z.object({\n id: z.string().describe(\"A unique identifier for the imported file\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n mime_type: z.string().describe(\"The MIME type of the file\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the file was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the file was last updated\").nullable().optional(),\n project_names: z.array(z.string()).describe(\"Array of project names the file is associated with\").nullable().optional(),\n attachment_url: z.string().describe(\"The URL where the file is stored (with scaledata:// prefix)\").nullable().optional(),\n}).passthrough().describe(\"Response model for file import.\");\n\nexport const scaleAiImportFile: AppAction<\n typeof ScaleAiImportFileInput,\n typeof ScaleAiImportFileOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_IMPORT_FILE\", {\n slug: \"scale_ai-import-file\",\n name: \"Import File\",\n description: \"Tool to import files from an external URL endpoint into Scale's system rather than uploading directly from local storage. Use when you need to import files from remote URLs for Scale AI projects or data labeling tasks.\",\n input: ScaleAiImportFileInput,\n output: ScaleAiImportFileOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,oBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBoC,EAAE,OAAO;EAC7C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EACpH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,0DAmBH;CACP,QAnBqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/invite-team-member.ts
@@ -1 +1 @@
1
- {"version":3,"file":"invite-team-member.cjs","names":["z","action"],"sources":["../../src/actions/invite-team-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiInviteTeamMemberInput = z.object({\n emails: z.array(z.string()).describe(\"Array of email addresses of teammates you want to invite.\"),\n team_role: z.string().describe(\"Role of invited teammate. Must be one of: 'labeler' (Studio only), 'member', or 'manager'.\"),\n}).describe(\"Request parameters for inviting team members.\");\nconst ScaleAiInviteTeamMember_TeamMemberSchema = z.object({\n role: z.string().describe(\"User's role (admin, member, labeler, or invited)\").nullable().optional(),\n email: z.string().describe(\"Team member's email address\").nullable(),\n expiry: z.string().describe(\"Invitation expiration timestamp (for invited status)\").nullable().optional(),\n company: z.string().describe(\"User's company affiliation\").nullable().optional(),\n lastName: z.string().describe(\"User's last name\").nullable().optional(),\n firstName: z.string().describe(\"User's first name\").nullable().optional(),\n isStudioLabeler: z.boolean().describe(\"Indicates if user has labeler role in Studio\").nullable().optional(),\n disableRapidEmails: z.boolean().describe(\"Email notification preference setting\").nullable().optional(),\n}).passthrough().describe(\"Details of a team member.\");\nexport const ScaleAiInviteTeamMemberOutput = z.object({\n team_members: z.array(ScaleAiInviteTeamMember_TeamMemberSchema).describe(\"Array of team member objects\"),\n}).passthrough().describe(\"Response containing invited team member information.\");\n\nexport const scaleAiInviteTeamMember = action(\"SCALE_AI_INVITE_TEAM_MEMBER\", {\n slug: \"scale_ai-invite-team-member\",\n name: \"Invite Team Member\",\n description: \"Tool to invite users by email to team with specified role. Use when you need to add new team members with roles like labeler, member, or manager.\",\n input: ScaleAiInviteTeamMemberInput,\n output: ScaleAiInviteTeamMemberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;AAC7H,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,cAAcA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,8BAA8B,EACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"invite-team-member.cjs","names":["z","action"],"sources":["../../src/actions/invite-team-member.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiInviteTeamMemberInput = z.object({\n emails: z.array(z.string()).describe(\"Array of email addresses of teammates you want to invite.\"),\n team_role: z.string().describe(\"Role of invited teammate. Must be one of: 'labeler' (Studio only), 'member', or 'manager'.\"),\n}).describe(\"Request parameters for inviting team members.\");\nconst ScaleAiInviteTeamMember_TeamMemberSchema = z.object({\n role: z.string().describe(\"User's role (admin, member, labeler, or invited)\").nullable().optional(),\n email: z.string().describe(\"Team member's email address\").nullable(),\n expiry: z.string().describe(\"Invitation expiration timestamp (for invited status)\").nullable().optional(),\n company: z.string().describe(\"User's company affiliation\").nullable().optional(),\n lastName: z.string().describe(\"User's last name\").nullable().optional(),\n firstName: z.string().describe(\"User's first name\").nullable().optional(),\n isStudioLabeler: z.boolean().describe(\"Indicates if user has labeler role in Studio\").nullable().optional(),\n disableRapidEmails: z.boolean().describe(\"Email notification preference setting\").nullable().optional(),\n}).passthrough().describe(\"Details of a team member.\");\nexport const ScaleAiInviteTeamMemberOutput = z.object({\n team_members: z.array(ScaleAiInviteTeamMember_TeamMemberSchema).describe(\"Array of team member objects\"),\n}).passthrough().describe(\"Response containing invited team member information.\");\n\nexport const scaleAiInviteTeamMember: AppAction<\n typeof ScaleAiInviteTeamMemberInput,\n typeof ScaleAiInviteTeamMemberOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_INVITE_TEAM_MEMBER\", {\n slug: \"scale_ai-invite-team-member\",\n name: \"Invite Team Member\",\n description: \"Tool to invite users by email to team with specified role. Use when you need to add new team members with roles like labeler, member, or manager.\",\n input: ScaleAiInviteTeamMemberInput,\n output: ScaleAiInviteTeamMemberOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;AAC7H,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,cAAcA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,8BAA8B,EACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/invite-team-member.d.ts
@@ -17,22 +19,7 @@ declare const ScaleAiInviteTeamMemberOutput: z.ZodObject<{
17
19
  disableRapidEmails: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
20
  }, z.core.$loose>>;
19
21
  }, z.core.$loose>;
20
- declare const scaleAiInviteTeamMember: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- emails: string[];
22
- team_role: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>;
22
+ declare const scaleAiInviteTeamMember: AppAction<typeof ScaleAiInviteTeamMemberInput, typeof ScaleAiInviteTeamMemberOutput, typeof scaleAi.credential>;
36
23
  //#endregion
37
24
  export { scaleAiInviteTeamMember };
38
25
  //# sourceMappingURL=invite-team-member.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"invite-team-member.d.cts","names":[],"sources":["../../src/actions/invite-team-member.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAc5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"invite-team-member.d.cts","names":[],"sources":["../../src/actions/invite-team-member.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAc5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/invite-team-member.d.ts
@@ -17,22 +19,7 @@ declare const ScaleAiInviteTeamMemberOutput: z.ZodObject<{
17
19
  disableRapidEmails: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
20
  }, z.core.$loose>>;
19
21
  }, z.core.$loose>;
20
- declare const scaleAiInviteTeamMember: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- emails: string[];
22
- team_role: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>;
22
+ declare const scaleAiInviteTeamMember: AppAction<typeof ScaleAiInviteTeamMemberInput, typeof ScaleAiInviteTeamMemberOutput, typeof scaleAi.credential>;
36
23
  //#endregion
37
24
  export { scaleAiInviteTeamMember };
38
25
  //# sourceMappingURL=invite-team-member.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"invite-team-member.d.mts","names":[],"sources":["../../src/actions/invite-team-member.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAc5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"invite-team-member.d.mts","names":[],"sources":["../../src/actions/invite-team-member.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAc5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/invite-team-member.ts
@@ -1 +1 @@
1
- {"version":3,"file":"invite-team-member.mjs","names":[],"sources":["../../src/actions/invite-team-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiInviteTeamMemberInput = z.object({\n emails: z.array(z.string()).describe(\"Array of email addresses of teammates you want to invite.\"),\n team_role: z.string().describe(\"Role of invited teammate. Must be one of: 'labeler' (Studio only), 'member', or 'manager'.\"),\n}).describe(\"Request parameters for inviting team members.\");\nconst ScaleAiInviteTeamMember_TeamMemberSchema = z.object({\n role: z.string().describe(\"User's role (admin, member, labeler, or invited)\").nullable().optional(),\n email: z.string().describe(\"Team member's email address\").nullable(),\n expiry: z.string().describe(\"Invitation expiration timestamp (for invited status)\").nullable().optional(),\n company: z.string().describe(\"User's company affiliation\").nullable().optional(),\n lastName: z.string().describe(\"User's last name\").nullable().optional(),\n firstName: z.string().describe(\"User's first name\").nullable().optional(),\n isStudioLabeler: z.boolean().describe(\"Indicates if user has labeler role in Studio\").nullable().optional(),\n disableRapidEmails: z.boolean().describe(\"Email notification preference setting\").nullable().optional(),\n}).passthrough().describe(\"Details of a team member.\");\nexport const ScaleAiInviteTeamMemberOutput = z.object({\n team_members: z.array(ScaleAiInviteTeamMember_TeamMemberSchema).describe(\"Array of team member objects\"),\n}).passthrough().describe(\"Response containing invited team member information.\");\n\nexport const scaleAiInviteTeamMember = action(\"SCALE_AI_INVITE_TEAM_MEMBER\", {\n slug: \"scale_ai-invite-team-member\",\n name: \"Invite Team Member\",\n description: \"Tool to invite users by email to team with specified role. Use when you need to add new team members with roles like labeler, member, or manager.\",\n input: ScaleAiInviteTeamMemberInput,\n output: ScaleAiInviteTeamMemberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;CAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;AAC7H,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAKrD,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,cAAc,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,8BAA8B,EACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"invite-team-member.mjs","names":[],"sources":["../../src/actions/invite-team-member.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiInviteTeamMemberInput = z.object({\n emails: z.array(z.string()).describe(\"Array of email addresses of teammates you want to invite.\"),\n team_role: z.string().describe(\"Role of invited teammate. Must be one of: 'labeler' (Studio only), 'member', or 'manager'.\"),\n}).describe(\"Request parameters for inviting team members.\");\nconst ScaleAiInviteTeamMember_TeamMemberSchema = z.object({\n role: z.string().describe(\"User's role (admin, member, labeler, or invited)\").nullable().optional(),\n email: z.string().describe(\"Team member's email address\").nullable(),\n expiry: z.string().describe(\"Invitation expiration timestamp (for invited status)\").nullable().optional(),\n company: z.string().describe(\"User's company affiliation\").nullable().optional(),\n lastName: z.string().describe(\"User's last name\").nullable().optional(),\n firstName: z.string().describe(\"User's first name\").nullable().optional(),\n isStudioLabeler: z.boolean().describe(\"Indicates if user has labeler role in Studio\").nullable().optional(),\n disableRapidEmails: z.boolean().describe(\"Email notification preference setting\").nullable().optional(),\n}).passthrough().describe(\"Details of a team member.\");\nexport const ScaleAiInviteTeamMemberOutput = z.object({\n team_members: z.array(ScaleAiInviteTeamMember_TeamMemberSchema).describe(\"Array of team member objects\"),\n}).passthrough().describe(\"Response containing invited team member information.\");\n\nexport const scaleAiInviteTeamMember: AppAction<\n typeof ScaleAiInviteTeamMemberInput,\n typeof ScaleAiInviteTeamMemberOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_INVITE_TEAM_MEMBER\", {\n slug: \"scale_ai-invite-team-member\",\n name: \"Invite Team Member\",\n description: \"Tool to invite users by email to team with specified role. Use when you need to add new team members with roles like labeler, member, or manager.\",\n input: ScaleAiInviteTeamMemberInput,\n output: ScaleAiInviteTeamMemberOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;CAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;AAC7H,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAKrD,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,cAAc,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,8BAA8B,EACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-batches.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-batches.cjs","names":["z","action"],"sources":["../../src/actions/list-batches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiListBatchesInput = z.object({\n limit: z.number().int().describe(\"Page size determining number of results per request.\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination.\").optional(),\n status: z.enum([\"staging\", \"in_progress\", \"completed\"]).describe(\"Filters by batch status. Valid values: 'staging', 'in_progress', or 'completed'.\").optional(),\n project: z.string().describe(\"Filters batches by project name.\").optional(),\n detailed: z.boolean().describe(\"Returns additional progress information about batches when set to true.\").optional(),\n end_time: z.string().describe(\"Maximum value of created_at for returned batches in ISO 8601 format.\").optional(),\n start_time: z.string().describe(\"Minimum value of created_at for returned batches in ISO 8601 format.\").optional(),\n}).describe(\"Request model for listing batches with optional filters and pagination.\");\nconst ScaleAiListBatches_BatchItemSchema = z.object({\n name: z.string().describe(\"Unique batch identifier.\").nullable(),\n status: z.string().describe(\"Current batch status.\").nullable(),\n project: z.string().describe(\"Project name associated with the batch.\").nullable(),\n callback: z.string().describe(\"Callback URL or email address for task completion notifications.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with batch.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation.\").nullable(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when batch completed (null if not completed).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single batch object.\");\nexport const ScaleAiListBatchesOutput = z.object({\n batches: z.array(ScaleAiListBatches_BatchItemSchema).describe(\"List of batch objects in descending order by created_at timestamp.\"),\n}).passthrough().describe(\"Response model for listing batches.\");\n\nexport const scaleAiListBatches = action(\"SCALE_AI_LIST_BATCHES\", {\n slug: \"scale_ai-list-batches\",\n name: \"List Batches\",\n description: \"Tool to retrieve all batches in descending order by creation date. Use when you need to list batches with optional filtering by project, status, or time range. Supports pagination via limit and offset parameters.\",\n input: ScaleAiListBatchesInput,\n output: ScaleAiListBatchesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAe;CAAW,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC9J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACnH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,oEAAoE,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-batches.cjs","names":["z","action"],"sources":["../../src/actions/list-batches.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiListBatchesInput = z.object({\n limit: z.number().int().describe(\"Page size determining number of results per request.\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination.\").optional(),\n status: z.enum([\"staging\", \"in_progress\", \"completed\"]).describe(\"Filters by batch status. Valid values: 'staging', 'in_progress', or 'completed'.\").optional(),\n project: z.string().describe(\"Filters batches by project name.\").optional(),\n detailed: z.boolean().describe(\"Returns additional progress information about batches when set to true.\").optional(),\n end_time: z.string().describe(\"Maximum value of created_at for returned batches in ISO 8601 format.\").optional(),\n start_time: z.string().describe(\"Minimum value of created_at for returned batches in ISO 8601 format.\").optional(),\n}).describe(\"Request model for listing batches with optional filters and pagination.\");\nconst ScaleAiListBatches_BatchItemSchema = z.object({\n name: z.string().describe(\"Unique batch identifier.\").nullable(),\n status: z.string().describe(\"Current batch status.\").nullable(),\n project: z.string().describe(\"Project name associated with the batch.\").nullable(),\n callback: z.string().describe(\"Callback URL or email address for task completion notifications.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with batch.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation.\").nullable(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when batch completed (null if not completed).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single batch object.\");\nexport const ScaleAiListBatchesOutput = z.object({\n batches: z.array(ScaleAiListBatches_BatchItemSchema).describe(\"List of batch objects in descending order by created_at timestamp.\"),\n}).passthrough().describe(\"Response model for listing batches.\");\n\nexport const scaleAiListBatches: AppAction<\n typeof ScaleAiListBatchesInput,\n typeof ScaleAiListBatchesOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_LIST_BATCHES\", {\n slug: \"scale_ai-list-batches\",\n name: \"List Batches\",\n description: \"Tool to retrieve all batches in descending order by creation date. Use when you need to list batches with optional filtering by project, status, or time range. Supports pagination via limit and offset parameters.\",\n input: ScaleAiListBatchesInput,\n output: ScaleAiListBatchesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAe;CAAW,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC9J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACnH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,oEAAoE,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-batches.d.ts
@@ -25,27 +27,7 @@ declare const ScaleAiListBatchesOutput: z.ZodObject<{
25
27
  completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  }, z.core.$loose>>;
27
29
  }, z.core.$loose>;
28
- declare const scaleAiListBatches: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- limit?: number | undefined;
30
- offset?: number | undefined;
31
- status?: "completed" | "staging" | "in_progress" | undefined;
32
- project?: string | undefined;
33
- detailed?: boolean | undefined;
34
- end_time?: string | undefined;
35
- start_time?: string | undefined;
36
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- generic_api_key: z.ZodString;
42
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
43
- connectionId: z.ZodString;
44
- entityId: z.ZodString;
45
- instanceId: z.ZodString;
46
- }, z.core.$strip>, z.ZodObject<{
47
- generic_api_key: z.ZodString;
48
- }, z.core.$strip>>]>;
30
+ declare const scaleAiListBatches: AppAction<typeof ScaleAiListBatchesInput, typeof ScaleAiListBatchesOutput, typeof scaleAi.credential>;
49
31
  //#endregion
50
32
  export { scaleAiListBatches };
51
33
  //# sourceMappingURL=list-batches.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-batches.d.cts","names":[],"sources":["../../src/actions/list-batches.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"list-batches.d.cts","names":[],"sources":["../../src/actions/list-batches.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-batches.d.ts
@@ -25,27 +27,7 @@ declare const ScaleAiListBatchesOutput: z.ZodObject<{
25
27
  completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  }, z.core.$loose>>;
27
29
  }, z.core.$loose>;
28
- declare const scaleAiListBatches: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- limit?: number | undefined;
30
- offset?: number | undefined;
31
- status?: "completed" | "staging" | "in_progress" | undefined;
32
- project?: string | undefined;
33
- detailed?: boolean | undefined;
34
- end_time?: string | undefined;
35
- start_time?: string | undefined;
36
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- generic_api_key: z.ZodString;
42
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
43
- connectionId: z.ZodString;
44
- entityId: z.ZodString;
45
- instanceId: z.ZodString;
46
- }, z.core.$strip>, z.ZodObject<{
47
- generic_api_key: z.ZodString;
48
- }, z.core.$strip>>]>;
30
+ declare const scaleAiListBatches: AppAction<typeof ScaleAiListBatchesInput, typeof ScaleAiListBatchesOutput, typeof scaleAi.credential>;
49
31
  //#endregion
50
32
  export { scaleAiListBatches };
51
33
  //# sourceMappingURL=list-batches.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-batches.d.mts","names":[],"sources":["../../src/actions/list-batches.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"list-batches.d.mts","names":[],"sources":["../../src/actions/list-batches.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-batches.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-batches.mjs","names":[],"sources":["../../src/actions/list-batches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiListBatchesInput = z.object({\n limit: z.number().int().describe(\"Page size determining number of results per request.\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination.\").optional(),\n status: z.enum([\"staging\", \"in_progress\", \"completed\"]).describe(\"Filters by batch status. Valid values: 'staging', 'in_progress', or 'completed'.\").optional(),\n project: z.string().describe(\"Filters batches by project name.\").optional(),\n detailed: z.boolean().describe(\"Returns additional progress information about batches when set to true.\").optional(),\n end_time: z.string().describe(\"Maximum value of created_at for returned batches in ISO 8601 format.\").optional(),\n start_time: z.string().describe(\"Minimum value of created_at for returned batches in ISO 8601 format.\").optional(),\n}).describe(\"Request model for listing batches with optional filters and pagination.\");\nconst ScaleAiListBatches_BatchItemSchema = z.object({\n name: z.string().describe(\"Unique batch identifier.\").nullable(),\n status: z.string().describe(\"Current batch status.\").nullable(),\n project: z.string().describe(\"Project name associated with the batch.\").nullable(),\n callback: z.string().describe(\"Callback URL or email address for task completion notifications.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with batch.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation.\").nullable(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when batch completed (null if not completed).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single batch object.\");\nexport const ScaleAiListBatchesOutput = z.object({\n batches: z.array(ScaleAiListBatches_BatchItemSchema).describe(\"List of batch objects in descending order by created_at timestamp.\"),\n}).passthrough().describe(\"Response model for listing batches.\");\n\nexport const scaleAiListBatches = action(\"SCALE_AI_LIST_BATCHES\", {\n slug: \"scale_ai-list-batches\",\n name: \"List Batches\",\n description: \"Tool to retrieve all batches in descending order by creation date. Use when you need to list batches with optional filtering by project, status, or time range. Supports pagination via limit and offset parameters.\",\n input: ScaleAiListBatchesInput,\n output: ScaleAiListBatchesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,KAAK;EAAC;EAAW;EAAe;CAAW,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC9J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,oEAAoE,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-batches.mjs","names":[],"sources":["../../src/actions/list-batches.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiListBatchesInput = z.object({\n limit: z.number().int().describe(\"Page size determining number of results per request.\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination.\").optional(),\n status: z.enum([\"staging\", \"in_progress\", \"completed\"]).describe(\"Filters by batch status. Valid values: 'staging', 'in_progress', or 'completed'.\").optional(),\n project: z.string().describe(\"Filters batches by project name.\").optional(),\n detailed: z.boolean().describe(\"Returns additional progress information about batches when set to true.\").optional(),\n end_time: z.string().describe(\"Maximum value of created_at for returned batches in ISO 8601 format.\").optional(),\n start_time: z.string().describe(\"Minimum value of created_at for returned batches in ISO 8601 format.\").optional(),\n}).describe(\"Request model for listing batches with optional filters and pagination.\");\nconst ScaleAiListBatches_BatchItemSchema = z.object({\n name: z.string().describe(\"Unique batch identifier.\").nullable(),\n status: z.string().describe(\"Current batch status.\").nullable(),\n project: z.string().describe(\"Project name associated with the batch.\").nullable(),\n callback: z.string().describe(\"Callback URL or email address for task completion notifications.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with batch.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation.\").nullable(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when batch completed (null if not completed).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single batch object.\");\nexport const ScaleAiListBatchesOutput = z.object({\n batches: z.array(ScaleAiListBatches_BatchItemSchema).describe(\"List of batch objects in descending order by created_at timestamp.\"),\n}).passthrough().describe(\"Response model for listing batches.\");\n\nexport const scaleAiListBatches: AppAction<\n typeof ScaleAiListBatchesInput,\n typeof ScaleAiListBatchesOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_LIST_BATCHES\", {\n slug: \"scale_ai-list-batches\",\n name: \"List Batches\",\n description: \"Tool to retrieve all batches in descending order by creation date. Use when you need to list batches with optional filtering by project, status, or time range. Supports pagination via limit and offset parameters.\",\n input: ScaleAiListBatchesInput,\n output: ScaleAiListBatchesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,KAAK;EAAC;EAAW;EAAe;CAAW,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC9J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO,EAC/C,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,oEAAoE,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAWhB;AACV,CAAC"}