@keystrokehq/scale_ai 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (251) hide show
  1. package/dist/actions/add-studio-assignments.cjs +1 -1
  2. package/dist/actions/add-studio-assignments.cjs.map +1 -1
  3. package/dist/actions/add-studio-assignments.d.cts +2 -2
  4. package/dist/actions/add-studio-assignments.d.mts +2 -2
  5. package/dist/actions/add-studio-assignments.mjs +1 -1
  6. package/dist/actions/add-studio-assignments.mjs.map +1 -1
  7. package/dist/actions/add-task-tags.cjs +1 -1
  8. package/dist/actions/add-task-tags.cjs.map +1 -1
  9. package/dist/actions/add-task-tags.d.cts +1 -1
  10. package/dist/actions/add-task-tags.d.mts +1 -1
  11. package/dist/actions/add-task-tags.mjs +1 -1
  12. package/dist/actions/add-task-tags.mjs.map +1 -1
  13. package/dist/actions/create-batch.cjs +1 -1
  14. package/dist/actions/create-batch.cjs.map +1 -1
  15. package/dist/actions/create-batch.d.cts +1 -1
  16. package/dist/actions/create-batch.d.mts +1 -1
  17. package/dist/actions/create-batch.mjs +1 -1
  18. package/dist/actions/create-batch.mjs.map +1 -1
  19. package/dist/actions/create-document-transcription-task.cjs +16 -16
  20. package/dist/actions/create-document-transcription-task.cjs.map +1 -1
  21. package/dist/actions/create-document-transcription-task.d.cts +22 -19
  22. package/dist/actions/create-document-transcription-task.d.mts +22 -19
  23. package/dist/actions/create-document-transcription-task.mjs +16 -16
  24. package/dist/actions/create-document-transcription-task.mjs.map +1 -1
  25. package/dist/actions/create-image-annotation-task.cjs +22 -22
  26. package/dist/actions/create-image-annotation-task.cjs.map +1 -1
  27. package/dist/actions/create-image-annotation-task.d.cts +36 -35
  28. package/dist/actions/create-image-annotation-task.d.mts +36 -35
  29. package/dist/actions/create-image-annotation-task.mjs +22 -22
  30. package/dist/actions/create-image-annotation-task.mjs.map +1 -1
  31. package/dist/actions/create-lidar-annotation-task.cjs +2 -2
  32. package/dist/actions/create-lidar-annotation-task.cjs.map +1 -1
  33. package/dist/actions/create-lidar-annotation-task.d.cts +2 -2
  34. package/dist/actions/create-lidar-annotation-task.d.mts +2 -2
  35. package/dist/actions/create-lidar-annotation-task.mjs +2 -2
  36. package/dist/actions/create-lidar-annotation-task.mjs.map +1 -1
  37. package/dist/actions/create-lidar-segmentation-task.cjs +6 -6
  38. package/dist/actions/create-lidar-segmentation-task.cjs.map +1 -1
  39. package/dist/actions/create-lidar-segmentation-task.d.cts +8 -8
  40. package/dist/actions/create-lidar-segmentation-task.d.mts +8 -8
  41. package/dist/actions/create-lidar-segmentation-task.mjs +6 -6
  42. package/dist/actions/create-lidar-segmentation-task.mjs.map +1 -1
  43. package/dist/actions/create-named-entity-recognition-task.cjs +5 -5
  44. package/dist/actions/create-named-entity-recognition-task.cjs.map +1 -1
  45. package/dist/actions/create-named-entity-recognition-task.d.cts +8 -5
  46. package/dist/actions/create-named-entity-recognition-task.d.cts.map +1 -1
  47. package/dist/actions/create-named-entity-recognition-task.d.mts +8 -5
  48. package/dist/actions/create-named-entity-recognition-task.d.mts.map +1 -1
  49. package/dist/actions/create-named-entity-recognition-task.mjs +5 -5
  50. package/dist/actions/create-named-entity-recognition-task.mjs.map +1 -1
  51. package/dist/actions/create-segmentation-annotation-task.cjs +15 -15
  52. package/dist/actions/create-segmentation-annotation-task.cjs.map +1 -1
  53. package/dist/actions/create-segmentation-annotation-task.d.cts +20 -18
  54. package/dist/actions/create-segmentation-annotation-task.d.mts +20 -18
  55. package/dist/actions/create-segmentation-annotation-task.mjs +15 -15
  56. package/dist/actions/create-segmentation-annotation-task.mjs.map +1 -1
  57. package/dist/actions/create-text-collection-task.cjs +14 -14
  58. package/dist/actions/create-text-collection-task.cjs.map +1 -1
  59. package/dist/actions/create-text-collection-task.d.cts +20 -17
  60. package/dist/actions/create-text-collection-task.d.cts.map +1 -1
  61. package/dist/actions/create-text-collection-task.d.mts +20 -17
  62. package/dist/actions/create-text-collection-task.d.mts.map +1 -1
  63. package/dist/actions/create-text-collection-task.mjs +14 -14
  64. package/dist/actions/create-text-collection-task.mjs.map +1 -1
  65. package/dist/actions/create-video-annotation-task.cjs +11 -11
  66. package/dist/actions/create-video-annotation-task.cjs.map +1 -1
  67. package/dist/actions/create-video-annotation-task.d.cts +13 -13
  68. package/dist/actions/create-video-annotation-task.d.mts +13 -13
  69. package/dist/actions/create-video-annotation-task.mjs +11 -11
  70. package/dist/actions/create-video-annotation-task.mjs.map +1 -1
  71. package/dist/actions/create-video-playback-annotation-task.cjs +14 -14
  72. package/dist/actions/create-video-playback-annotation-task.cjs.map +1 -1
  73. package/dist/actions/create-video-playback-annotation-task.d.cts +17 -17
  74. package/dist/actions/create-video-playback-annotation-task.d.mts +17 -17
  75. package/dist/actions/create-video-playback-annotation-task.mjs +14 -14
  76. package/dist/actions/create-video-playback-annotation-task.mjs.map +1 -1
  77. package/dist/actions/delete-task-tags.cjs +1 -1
  78. package/dist/actions/delete-task-tags.cjs.map +1 -1
  79. package/dist/actions/delete-task-tags.d.cts +1 -1
  80. package/dist/actions/delete-task-tags.d.mts +1 -1
  81. package/dist/actions/delete-task-tags.mjs +1 -1
  82. package/dist/actions/delete-task-tags.mjs.map +1 -1
  83. package/dist/actions/delete-task-unique-id.cjs +2 -2
  84. package/dist/actions/delete-task-unique-id.cjs.map +1 -1
  85. package/dist/actions/delete-task-unique-id.d.cts +2 -2
  86. package/dist/actions/delete-task-unique-id.d.mts +2 -2
  87. package/dist/actions/delete-task-unique-id.mjs +2 -2
  88. package/dist/actions/delete-task-unique-id.mjs.map +1 -1
  89. package/dist/actions/finalize-batch.cjs +1 -1
  90. package/dist/actions/finalize-batch.cjs.map +1 -1
  91. package/dist/actions/finalize-batch.d.cts +1 -1
  92. package/dist/actions/finalize-batch.d.mts +1 -1
  93. package/dist/actions/finalize-batch.mjs +1 -1
  94. package/dist/actions/finalize-batch.mjs.map +1 -1
  95. package/dist/actions/get-assets.cjs +2 -2
  96. package/dist/actions/get-assets.cjs.map +1 -1
  97. package/dist/actions/get-assets.d.cts +2 -2
  98. package/dist/actions/get-assets.d.mts +2 -2
  99. package/dist/actions/get-assets.mjs +2 -2
  100. package/dist/actions/get-assets.mjs.map +1 -1
  101. package/dist/actions/get-batch-status.cjs +1 -1
  102. package/dist/actions/get-batch-status.cjs.map +1 -1
  103. package/dist/actions/get-batch-status.d.cts +1 -1
  104. package/dist/actions/get-batch-status.d.mts +1 -1
  105. package/dist/actions/get-batch-status.mjs +1 -1
  106. package/dist/actions/get-batch-status.mjs.map +1 -1
  107. package/dist/actions/get-batch.cjs +2 -2
  108. package/dist/actions/get-batch.cjs.map +1 -1
  109. package/dist/actions/get-batch.d.cts +2 -2
  110. package/dist/actions/get-batch.d.mts +2 -2
  111. package/dist/actions/get-batch.mjs +2 -2
  112. package/dist/actions/get-batch.mjs.map +1 -1
  113. package/dist/actions/get-fixless-audits.cjs +6 -6
  114. package/dist/actions/get-fixless-audits.cjs.map +1 -1
  115. package/dist/actions/get-fixless-audits.d.cts +6 -6
  116. package/dist/actions/get-fixless-audits.d.mts +6 -6
  117. package/dist/actions/get-fixless-audits.mjs +6 -6
  118. package/dist/actions/get-fixless-audits.mjs.map +1 -1
  119. package/dist/actions/get-project.cjs +2 -2
  120. package/dist/actions/get-project.cjs.map +1 -1
  121. package/dist/actions/get-project.d.cts +2 -2
  122. package/dist/actions/get-project.d.mts +2 -2
  123. package/dist/actions/get-project.mjs +2 -2
  124. package/dist/actions/get-project.mjs.map +1 -1
  125. package/dist/actions/get-quality-labelers.cjs +3 -3
  126. package/dist/actions/get-quality-labelers.cjs.map +1 -1
  127. package/dist/actions/get-quality-labelers.d.cts +3 -3
  128. package/dist/actions/get-quality-labelers.d.mts +3 -3
  129. package/dist/actions/get-quality-labelers.mjs +3 -3
  130. package/dist/actions/get-quality-labelers.mjs.map +1 -1
  131. package/dist/actions/get-studio-assignments.cjs +2 -2
  132. package/dist/actions/get-studio-assignments.cjs.map +1 -1
  133. package/dist/actions/get-studio-assignments.d.cts +2 -2
  134. package/dist/actions/get-studio-assignments.d.mts +2 -2
  135. package/dist/actions/get-studio-assignments.mjs +2 -2
  136. package/dist/actions/get-studio-assignments.mjs.map +1 -1
  137. package/dist/actions/get-studio-batches.cjs +2 -2
  138. package/dist/actions/get-studio-batches.cjs.map +1 -1
  139. package/dist/actions/get-studio-batches.d.cts +2 -2
  140. package/dist/actions/get-studio-batches.d.mts +2 -2
  141. package/dist/actions/get-studio-batches.mjs +2 -2
  142. package/dist/actions/get-studio-batches.mjs.map +1 -1
  143. package/dist/actions/get-teams.cjs +2 -2
  144. package/dist/actions/get-teams.cjs.map +1 -1
  145. package/dist/actions/get-teams.d.cts +2 -2
  146. package/dist/actions/get-teams.d.mts +2 -2
  147. package/dist/actions/get-teams.mjs +2 -2
  148. package/dist/actions/get-teams.mjs.map +1 -1
  149. package/dist/actions/get-v1-task-response-url.cjs +1 -1
  150. package/dist/actions/get-v1-task-response-url.cjs.map +1 -1
  151. package/dist/actions/get-v1-task-response-url.d.cts +1 -1
  152. package/dist/actions/get-v1-task-response-url.d.mts +1 -1
  153. package/dist/actions/get-v1-task-response-url.mjs +1 -1
  154. package/dist/actions/get-v1-task-response-url.mjs.map +1 -1
  155. package/dist/actions/get-v1-task.cjs +1 -1
  156. package/dist/actions/get-v1-task.cjs.map +1 -1
  157. package/dist/actions/get-v1-task.d.cts +1 -1
  158. package/dist/actions/get-v1-task.d.mts +1 -1
  159. package/dist/actions/get-v1-task.mjs +1 -1
  160. package/dist/actions/get-v1-task.mjs.map +1 -1
  161. package/dist/actions/import-file.cjs +1 -1
  162. package/dist/actions/import-file.cjs.map +1 -1
  163. package/dist/actions/import-file.d.cts +1 -1
  164. package/dist/actions/import-file.d.mts +1 -1
  165. package/dist/actions/import-file.mjs +1 -1
  166. package/dist/actions/import-file.mjs.map +1 -1
  167. package/dist/actions/invite-team-member.cjs +2 -2
  168. package/dist/actions/invite-team-member.cjs.map +1 -1
  169. package/dist/actions/invite-team-member.d.cts +2 -2
  170. package/dist/actions/invite-team-member.d.mts +2 -2
  171. package/dist/actions/invite-team-member.mjs +2 -2
  172. package/dist/actions/invite-team-member.mjs.map +1 -1
  173. package/dist/actions/list-batches.cjs +3 -3
  174. package/dist/actions/list-batches.cjs.map +1 -1
  175. package/dist/actions/list-batches.d.cts +3 -3
  176. package/dist/actions/list-batches.d.mts +3 -3
  177. package/dist/actions/list-batches.mjs +3 -3
  178. package/dist/actions/list-batches.mjs.map +1 -1
  179. package/dist/actions/list-projects.cjs +3 -3
  180. package/dist/actions/list-projects.cjs.map +1 -1
  181. package/dist/actions/list-projects.d.cts +3 -3
  182. package/dist/actions/list-projects.d.mts +3 -3
  183. package/dist/actions/list-projects.mjs +3 -3
  184. package/dist/actions/list-projects.mjs.map +1 -1
  185. package/dist/actions/list-tasks.cjs +2 -2
  186. package/dist/actions/list-tasks.cjs.map +1 -1
  187. package/dist/actions/list-tasks.d.cts +2 -2
  188. package/dist/actions/list-tasks.d.mts +2 -2
  189. package/dist/actions/list-tasks.mjs +2 -2
  190. package/dist/actions/list-tasks.mjs.map +1 -1
  191. package/dist/actions/post-v1-task-send-callback.cjs +1 -1
  192. package/dist/actions/post-v1-task-send-callback.cjs.map +1 -1
  193. package/dist/actions/post-v1-task-send-callback.d.cts +1 -1
  194. package/dist/actions/post-v1-task-send-callback.d.mts +1 -1
  195. package/dist/actions/post-v1-task-send-callback.mjs +1 -1
  196. package/dist/actions/post-v1-task-send-callback.mjs.map +1 -1
  197. package/dist/actions/remove-studio-assignments.cjs +3 -3
  198. package/dist/actions/remove-studio-assignments.cjs.map +1 -1
  199. package/dist/actions/remove-studio-assignments.d.cts +3 -3
  200. package/dist/actions/remove-studio-assignments.d.mts +3 -3
  201. package/dist/actions/remove-studio-assignments.mjs +3 -3
  202. package/dist/actions/remove-studio-assignments.mjs.map +1 -1
  203. package/dist/actions/reset-batch-priorities.cjs +2 -2
  204. package/dist/actions/reset-batch-priorities.cjs.map +1 -1
  205. package/dist/actions/reset-batch-priorities.d.cts +2 -2
  206. package/dist/actions/reset-batch-priorities.d.mts +2 -2
  207. package/dist/actions/reset-batch-priorities.mjs +2 -2
  208. package/dist/actions/reset-batch-priorities.mjs.map +1 -1
  209. package/dist/actions/set-batch-priorities.cjs +3 -3
  210. package/dist/actions/set-batch-priorities.cjs.map +1 -1
  211. package/dist/actions/set-batch-priorities.d.cts +4 -3
  212. package/dist/actions/set-batch-priorities.d.mts +4 -3
  213. package/dist/actions/set-batch-priorities.mjs +3 -3
  214. package/dist/actions/set-batch-priorities.mjs.map +1 -1
  215. package/dist/actions/set-project-ontology.cjs +3 -3
  216. package/dist/actions/set-project-ontology.cjs.map +1 -1
  217. package/dist/actions/set-project-ontology.d.cts +3 -3
  218. package/dist/actions/set-project-ontology.d.mts +3 -3
  219. package/dist/actions/set-project-ontology.mjs +3 -3
  220. package/dist/actions/set-project-ontology.mjs.map +1 -1
  221. package/dist/actions/set-project-params.cjs +2 -2
  222. package/dist/actions/set-project-params.cjs.map +1 -1
  223. package/dist/actions/set-project-params.d.cts +2 -2
  224. package/dist/actions/set-project-params.d.mts +2 -2
  225. package/dist/actions/set-project-params.mjs +2 -2
  226. package/dist/actions/set-project-params.mjs.map +1 -1
  227. package/dist/actions/set-task-metadata.cjs +1 -1
  228. package/dist/actions/set-task-metadata.cjs.map +1 -1
  229. package/dist/actions/set-task-metadata.d.cts +1 -1
  230. package/dist/actions/set-task-metadata.d.mts +1 -1
  231. package/dist/actions/set-task-metadata.mjs +1 -1
  232. package/dist/actions/set-task-metadata.mjs.map +1 -1
  233. package/dist/actions/update-task-unique-id.cjs +1 -1
  234. package/dist/actions/update-task-unique-id.cjs.map +1 -1
  235. package/dist/actions/update-task-unique-id.d.cts +1 -1
  236. package/dist/actions/update-task-unique-id.d.mts +1 -1
  237. package/dist/actions/update-task-unique-id.mjs +1 -1
  238. package/dist/actions/update-task-unique-id.mjs.map +1 -1
  239. package/dist/actions/upload-file.cjs +2 -2
  240. package/dist/actions/upload-file.cjs.map +1 -1
  241. package/dist/actions/upload-file.d.cts +3 -3
  242. package/dist/actions/upload-file.d.mts +3 -3
  243. package/dist/actions/upload-file.mjs +2 -2
  244. package/dist/actions/upload-file.mjs.map +1 -1
  245. package/dist/catalog.cjs +1 -1
  246. package/dist/catalog.cjs.map +1 -1
  247. package/dist/catalog.d.cts +1 -1
  248. package/dist/catalog.d.mts +1 -1
  249. package/dist/catalog.mjs +1 -1
  250. package/dist/catalog.mjs.map +1 -1
  251. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"update-task-unique-id.mjs","names":[],"sources":["../../src/actions/update-task-unique-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiUpdateTaskUniqueIdInput = z.object({\n task_id: z.string().describe(\"ID of the task to modify. This is the Scale AI task identifier.\"),\n unique_id: z.string().describe(\"The unique identifier to be assigned to the task. This is a custom identifier that can be used to reference the task in your own system.\"),\n}).describe(\"Request model for updating a task's unique identifier.\");\nconst ScaleAiUpdateTaskUniqueId_TaskParamsSchema = z.record(z.string(), z.unknown()).describe(\"Task-specific parameters and configurations.\");\nexport const ScaleAiUpdateTaskUniqueIdOutput = z.object({\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n params: ScaleAiUpdateTaskUniqueId_TaskParamsSchema.nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"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 unique_id: z.string().describe(\"The newly assigned unique identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions for the labeling task.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications.\").nullable().optional(),\n}).describe(\"Response model containing the updated task details.\");\n\nexport const scaleAiUpdateTaskUniqueId = action(\"SCALE_AI_UPDATE_TASK_UNIQUE_ID\", {\n slug: \"scale_ai-update-task-unique-id\",\n name: \"Update Task Unique ID\",\n description: \"Tool to update or assign a unique identifier to a task. Use when you need to set a custom identifier for task tracking in your system.\",\n input: ScaleAiUpdateTaskUniqueIdInput,\n output: ScaleAiUpdateTaskUniqueIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;AAC3K,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,6CAA6C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAa5I,MAAa,4BAA4B,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-task-unique-id.mjs","names":[],"sources":["../../src/actions/update-task-unique-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiUpdateTaskUniqueIdInput = z.object({\n task_id: z.string().describe(\"ID of the task to modify. This is the Scale AI task identifier.\"),\n unique_id: z.string().describe(\"The unique identifier to be assigned to the task. This is a custom identifier that can be used to reference the task in your own system.\"),\n}).describe(\"Request model for updating a task's unique identifier.\");\nconst ScaleAiUpdateTaskUniqueId_TaskParamsSchema = z.record(z.string(), z.unknown()).describe(\"Task-specific parameters and configurations.\");\nexport const ScaleAiUpdateTaskUniqueIdOutput = z.object({\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n params: ScaleAiUpdateTaskUniqueId_TaskParamsSchema.nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"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 unique_id: z.string().describe(\"The newly assigned unique identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions for the labeling task.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated task details.\");\n\nexport const scaleAiUpdateTaskUniqueId = action(\"SCALE_AI_UPDATE_TASK_UNIQUE_ID\", {\n slug: \"scale_ai-update-task-unique-id\",\n name: \"Update Task Unique ID\",\n description: \"Tool to update or assign a unique identifier to a task. Use when you need to set a custom identifier for task tracking in your system.\",\n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SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
@@ -7,7 +7,7 @@ const ScaleAiUploadFileInput = zod.z.object({
7
7
  s3key: zod.z.string().describe("The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."),
8
8
  mimetype: zod.z.string().describe("The MIME type of the file")
9
9
  }).describe("The local file to upload (max 80 MB)."),
10
- metadata: zod.z.object({}).describe("A JSON object used to store additional data associated with the file.").optional(),
10
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A JSON object used to store additional data associated with the file.").optional(),
11
11
  display_name: zod.z.string().describe("A human readable name for the file.").optional(),
12
12
  project_name: zod.z.string().describe("Associates the file with a specific project; only used for Scale Rapid data labeling tool.").optional(),
13
13
  reference_id: zod.z.string().describe("Unique identifier for upload idempotency; uploading with duplicate IDs returns 409 error.").optional()
@@ -20,7 +20,7 @@ const ScaleAiUploadFileOutput = zod.z.object({
20
20
  updated_at: zod.z.string().describe("Timestamp when the file was last updated").nullable().optional(),
21
21
  project_names: zod.z.array(zod.z.string()).describe("Array of project names the file is associated with").nullable().optional(),
22
22
  attachment_url: zod.z.string().describe("The URL where the file is stored (with scaledata:// prefix)").nullable().optional()
23
- }).describe("Response model for file upload.");
23
+ }).passthrough().describe("Response model for file upload.");
24
24
  const scaleAiUploadFile = require_action.action("SCALE_AI_UPLOAD_FILE", {
25
25
  slug: "scale_ai-upload-file",
26
26
  name: "Upload File",
@@ -1 +1 @@
1
- {"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The local file to upload (max 80 MB).\"),\n metadata: z.object({}).describe(\"A JSON object used to store additional data associated with the file.\").optional(),\n display_name: z.string().describe(\"A human readable name for the file.\").optional(),\n project_name: z.string().describe(\"Associates the file with a specific project; only used for Scale Rapid data labeling tool.\").optional(),\n reference_id: z.string().describe(\"Unique identifier for upload idempotency; uploading with duplicate IDs returns 409 error.\").optional(),\n}).describe(\"Request model for uploading a file to Scale AI.\");\nexport const ScaleAiUploadFileOutput = z.object({\n id: z.string().describe(\"A unique identifier for the uploaded 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}).describe(\"Response model for file upload.\");\n\nexport const scaleAiUploadFile = action(\"SCALE_AI_UPLOAD_FILE\", {\n slug: \"scale_ai-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload a local file to Scale's servers with a maximum size limit of 80 MB per file. Use when you need to upload files for Scale AI projects or data labeling tasks.\",\n input: ScaleAiUploadFileInput,\n output: ScaleAiUploadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,uCAAuC;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,C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"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The local file to upload (max 80 MB).\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"A JSON object used to store additional data associated with the file.\").optional(),\n display_name: z.string().describe(\"A human readable name for the file.\").optional(),\n project_name: z.string().describe(\"Associates the file with a specific project; only used for Scale Rapid data labeling tool.\").optional(),\n reference_id: z.string().describe(\"Unique identifier for upload idempotency; uploading with duplicate IDs returns 409 error.\").optional(),\n}).describe(\"Request model for uploading a file to Scale AI.\");\nexport const ScaleAiUploadFileOutput = z.object({\n id: z.string().describe(\"A unique identifier for the uploaded 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 upload.\");\n\nexport const scaleAiUploadFile = action(\"SCALE_AI_UPLOAD_FILE\", {\n slug: \"scale_ai-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload a local file to Scale's servers with a maximum size limit of 80 MB per file. Use when you need to upload files for Scale AI projects or data labeling tasks.\",\n input: ScaleAiUploadFileInput,\n output: ScaleAiUploadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC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E,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"}
@@ -7,7 +7,7 @@ declare const ScaleAiUploadFileInput: z.ZodObject<{
7
7
  s3key: z.ZodString;
8
8
  mimetype: z.ZodString;
9
9
  }, z.core.$strip>;
10
- metadata: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
10
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11
11
  display_name: z.ZodOptional<z.ZodString>;
12
12
  project_name: z.ZodOptional<z.ZodString>;
13
13
  reference_id: z.ZodOptional<z.ZodString>;
@@ -20,14 +20,14 @@ declare const ScaleAiUploadFileOutput: z.ZodObject<{
20
20
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  project_names: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
22
22
  attachment_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const scaleAiUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  file: {
26
26
  name: string;
27
27
  s3key: string;
28
28
  mimetype: string;
29
29
  };
30
- metadata?: Record<string, never> | undefined;
30
+ metadata?: Record<string, unknown> | undefined;
31
31
  display_name?: string | undefined;
32
32
  project_name?: string | undefined;
33
33
  reference_id?: string | undefined;
@@ -7,7 +7,7 @@ declare const ScaleAiUploadFileInput: z.ZodObject<{
7
7
  s3key: z.ZodString;
8
8
  mimetype: z.ZodString;
9
9
  }, z.core.$strip>;
10
- metadata: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
10
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11
11
  display_name: z.ZodOptional<z.ZodString>;
12
12
  project_name: z.ZodOptional<z.ZodString>;
13
13
  reference_id: z.ZodOptional<z.ZodString>;
@@ -20,14 +20,14 @@ declare const ScaleAiUploadFileOutput: z.ZodObject<{
20
20
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  project_names: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
22
22
  attachment_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const scaleAiUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  file: {
26
26
  name: string;
27
27
  s3key: string;
28
28
  mimetype: string;
29
29
  };
30
- metadata?: Record<string, never> | undefined;
30
+ metadata?: Record<string, unknown> | undefined;
31
31
  display_name?: string | undefined;
32
32
  project_name?: string | undefined;
33
33
  reference_id?: string | undefined;
@@ -10,7 +10,7 @@ const scaleAiUploadFile = action("SCALE_AI_UPLOAD_FILE", {
10
10
  s3key: z.string().describe("The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."),
11
11
  mimetype: z.string().describe("The MIME type of the file")
12
12
  }).describe("The local file to upload (max 80 MB)."),
13
- metadata: z.object({}).describe("A JSON object used to store additional data associated with the file.").optional(),
13
+ metadata: z.record(z.string(), z.unknown()).describe("A JSON object used to store additional data associated with the file.").optional(),
14
14
  display_name: z.string().describe("A human readable name for the file.").optional(),
15
15
  project_name: z.string().describe("Associates the file with a specific project; only used for Scale Rapid data labeling tool.").optional(),
16
16
  reference_id: z.string().describe("Unique identifier for upload idempotency; uploading with duplicate IDs returns 409 error.").optional()
@@ -23,7 +23,7 @@ const scaleAiUploadFile = action("SCALE_AI_UPLOAD_FILE", {
23
23
  updated_at: z.string().describe("Timestamp when the file was last updated").nullable().optional(),
24
24
  project_names: z.array(z.string()).describe("Array of project names the file is associated with").nullable().optional(),
25
25
  attachment_url: z.string().describe("The URL where the file is stored (with scaledata:// prefix)").nullable().optional()
26
- }).describe("Response model for file upload.")
26
+ }).passthrough().describe("Response model for file upload.")
27
27
  });
28
28
  //#endregion
29
29
  export { scaleAiUploadFile };
@@ -1 +1 @@
1
- {"version":3,"file":"upload-file.mjs","names":[],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The local file to upload (max 80 MB).\"),\n metadata: z.object({}).describe(\"A JSON object used to store additional data associated with the file.\").optional(),\n display_name: z.string().describe(\"A human readable name for the file.\").optional(),\n project_name: z.string().describe(\"Associates the file with a specific project; only used for Scale Rapid data labeling tool.\").optional(),\n reference_id: z.string().describe(\"Unique identifier for upload idempotency; uploading with duplicate IDs returns 409 error.\").optional(),\n}).describe(\"Request model for uploading a file to Scale AI.\");\nexport const ScaleAiUploadFileOutput = z.object({\n id: z.string().describe(\"A unique identifier for the uploaded 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}).describe(\"Response model for file upload.\");\n\nexport const scaleAiUploadFile = action(\"SCALE_AI_UPLOAD_FILE\", {\n slug: \"scale_ai-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload a local file to Scale's servers with a maximum size limit of 80 MB per file. Use when you need to upload files for Scale AI projects or data labeling tasks.\",\n input: ScaleAiUploadFileInput,\n output: ScaleAiUploadFileOutput,\n});\n"],"mappings":";;AAyBA,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,uCAAuC;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAClH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;EACzI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,iDAeH;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,SAAS,iCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"upload-file.mjs","names":[],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The local file to upload (max 80 MB).\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"A JSON object used to store additional data associated with the file.\").optional(),\n display_name: z.string().describe(\"A human readable name for the file.\").optional(),\n project_name: z.string().describe(\"Associates the file with a specific project; only used for Scale Rapid data labeling tool.\").optional(),\n reference_id: z.string().describe(\"Unique identifier for upload idempotency; uploading with duplicate IDs returns 409 error.\").optional(),\n}).describe(\"Request model for uploading a file to Scale AI.\");\nexport const ScaleAiUploadFileOutput = z.object({\n id: z.string().describe(\"A unique identifier for the uploaded 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 upload.\");\n\nexport const scaleAiUploadFile = action(\"SCALE_AI_UPLOAD_FILE\", {\n slug: \"scale_ai-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload a local file to Scale's servers with a maximum size limit of 80 MB per file. Use when you need to upload files for Scale AI projects or data labeling tasks.\",\n input: ScaleAiUploadFileInput,\n output: ScaleAiUploadFileOutput,\n});\n"],"mappings":";;AAyBA,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,uCAAuC;EACjD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACvI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;EACzI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,iDAeH;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"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const scaleAiCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/scale_ai",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "API Key",
13
13
  "secret": true,
14
14
  "description": "Your Scale AI API Key from https://dashboard.scale.com/studio/settings/apikey. Test keys return dummy responses, live keys process real tasks."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const scaleAiCatalog = {\n \"slug\": \"scale_ai\",\n \"name\": \"Scale ai\",\n \"description\": \"Scale AI provides data labeling and annotation services for machine learning, offering access to a global workforce and sophisticated tools for training AI models with high-quality labeled data\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/scale_ai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Scale AI API Key from https://dashboard.scale.com/studio/settings/apikey. Test keys return dummy responses, live keys process real tasks.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const scaleAiCatalog = {\n \"slug\": \"scale_ai\",\n \"name\": \"Scale ai\",\n \"description\": \"Scale AI provides data labeling and annotation services for machine learning, offering access to a global workforce and sophisticated tools for training AI models with high-quality labeled data\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/scale_ai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Scale AI API Key from https://dashboard.scale.com/studio/settings/apikey. Test keys return dummy responses, live keys process real tasks.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -9,7 +9,7 @@ declare const scaleAiCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your Scale AI API Key from https://dashboard.scale.com/studio/settings/apikey. Test keys return dummy responses, live keys process real tasks.";
@@ -9,7 +9,7 @@ declare const scaleAiCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your Scale AI API Key from https://dashboard.scale.com/studio/settings/apikey. Test keys return dummy responses, live keys process real tasks.";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const scaleAiCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/scale_ai",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "API Key",
13
13
  "secret": true,
14
14
  "description": "Your Scale AI API Key from https://dashboard.scale.com/studio/settings/apikey. Test keys return dummy responses, live keys process real tasks."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const scaleAiCatalog = {\n \"slug\": \"scale_ai\",\n \"name\": \"Scale ai\",\n \"description\": \"Scale AI provides data labeling and annotation services for machine learning, offering access to a global workforce and sophisticated tools for training AI models with high-quality labeled data\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/scale_ai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Scale AI API Key from https://dashboard.scale.com/studio/settings/apikey. Test keys return dummy responses, live keys process real tasks.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const scaleAiCatalog = {\n \"slug\": \"scale_ai\",\n \"name\": \"Scale ai\",\n \"description\": \"Scale AI provides data labeling and annotation services for machine learning, offering access to a global workforce and sophisticated tools for training AI models with high-quality labeled data\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/scale_ai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Scale AI API Key from https://dashboard.scale.com/studio/settings/apikey. Test keys return dummy responses, live keys process real tasks.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/scale_ai",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"