@keystrokehq/scale_ai 0.1.0 → 0.1.3
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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-studio-assignments.cjs +1 -1
- package/dist/actions/add-studio-assignments.cjs.map +1 -1
- package/dist/actions/add-studio-assignments.d.cts +11 -3
- package/dist/actions/add-studio-assignments.d.cts.map +1 -1
- package/dist/actions/add-studio-assignments.d.mts +11 -3
- package/dist/actions/add-studio-assignments.d.mts.map +1 -1
- package/dist/actions/add-studio-assignments.mjs +1 -1
- package/dist/actions/add-studio-assignments.mjs.map +1 -1
- package/dist/actions/add-task-tags.cjs +2 -2
- package/dist/actions/add-task-tags.cjs.map +1 -1
- package/dist/actions/add-task-tags.d.cts +19 -3
- package/dist/actions/add-task-tags.d.cts.map +1 -1
- package/dist/actions/add-task-tags.d.mts +19 -3
- package/dist/actions/add-task-tags.d.mts.map +1 -1
- package/dist/actions/add-task-tags.mjs +2 -2
- package/dist/actions/add-task-tags.mjs.map +1 -1
- package/dist/actions/create-batch.cjs +1 -1
- package/dist/actions/create-batch.cjs.map +1 -1
- package/dist/actions/create-batch.d.cts +22 -3
- package/dist/actions/create-batch.d.cts.map +1 -1
- package/dist/actions/create-batch.d.mts +22 -3
- package/dist/actions/create-batch.d.mts.map +1 -1
- package/dist/actions/create-batch.mjs +1 -1
- package/dist/actions/create-batch.mjs.map +1 -1
- package/dist/actions/create-document-transcription-task.cjs +16 -16
- package/dist/actions/create-document-transcription-task.cjs.map +1 -1
- package/dist/actions/create-document-transcription-task.d.cts +121 -3
- package/dist/actions/create-document-transcription-task.d.cts.map +1 -1
- package/dist/actions/create-document-transcription-task.d.mts +121 -3
- package/dist/actions/create-document-transcription-task.d.mts.map +1 -1
- package/dist/actions/create-document-transcription-task.mjs +16 -16
- package/dist/actions/create-document-transcription-task.mjs.map +1 -1
- package/dist/actions/create-image-annotation-task.cjs +24 -24
- package/dist/actions/create-image-annotation-task.cjs.map +1 -1
- package/dist/actions/create-image-annotation-task.d.cts +278 -3
- package/dist/actions/create-image-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-image-annotation-task.d.mts +278 -3
- package/dist/actions/create-image-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-image-annotation-task.mjs +24 -24
- package/dist/actions/create-image-annotation-task.mjs.map +1 -1
- package/dist/actions/create-lidar-annotation-task.cjs +2 -2
- package/dist/actions/create-lidar-annotation-task.cjs.map +1 -1
- package/dist/actions/create-lidar-annotation-task.d.cts +57 -3
- package/dist/actions/create-lidar-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-lidar-annotation-task.d.mts +57 -3
- package/dist/actions/create-lidar-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-lidar-annotation-task.mjs +2 -2
- package/dist/actions/create-lidar-annotation-task.mjs.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.cjs +11 -11
- package/dist/actions/create-lidar-segmentation-task.cjs.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.d.cts +51 -3
- package/dist/actions/create-lidar-segmentation-task.d.cts.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.d.mts +51 -3
- package/dist/actions/create-lidar-segmentation-task.d.mts.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.mjs +11 -11
- package/dist/actions/create-lidar-segmentation-task.mjs.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.cjs +5 -5
- package/dist/actions/create-named-entity-recognition-task.cjs.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.d.cts +75 -3
- package/dist/actions/create-named-entity-recognition-task.d.cts.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.d.mts +75 -3
- package/dist/actions/create-named-entity-recognition-task.d.mts.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.mjs +5 -5
- package/dist/actions/create-named-entity-recognition-task.mjs.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.cjs +19 -19
- package/dist/actions/create-segmentation-annotation-task.cjs.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.d.cts +80 -3
- package/dist/actions/create-segmentation-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.d.mts +80 -3
- package/dist/actions/create-segmentation-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.mjs +19 -19
- package/dist/actions/create-segmentation-annotation-task.mjs.map +1 -1
- package/dist/actions/create-text-collection-task.cjs +14 -14
- package/dist/actions/create-text-collection-task.cjs.map +1 -1
- package/dist/actions/create-text-collection-task.d.cts +88 -3
- package/dist/actions/create-text-collection-task.d.cts.map +1 -1
- package/dist/actions/create-text-collection-task.d.mts +88 -3
- package/dist/actions/create-text-collection-task.d.mts.map +1 -1
- package/dist/actions/create-text-collection-task.mjs +14 -14
- package/dist/actions/create-text-collection-task.mjs.map +1 -1
- package/dist/actions/create-video-annotation-task.cjs +15 -15
- package/dist/actions/create-video-annotation-task.cjs.map +1 -1
- package/dist/actions/create-video-annotation-task.d.cts +172 -3
- package/dist/actions/create-video-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-video-annotation-task.d.mts +172 -3
- package/dist/actions/create-video-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-video-annotation-task.mjs +15 -15
- package/dist/actions/create-video-annotation-task.mjs.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.cjs +18 -18
- package/dist/actions/create-video-playback-annotation-task.cjs.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.d.cts +204 -3
- package/dist/actions/create-video-playback-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.d.mts +204 -3
- package/dist/actions/create-video-playback-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.mjs +18 -18
- package/dist/actions/create-video-playback-annotation-task.mjs.map +1 -1
- package/dist/actions/delete-task-tags.cjs +2 -2
- package/dist/actions/delete-task-tags.cjs.map +1 -1
- package/dist/actions/delete-task-tags.d.cts +18 -3
- package/dist/actions/delete-task-tags.d.cts.map +1 -1
- package/dist/actions/delete-task-tags.d.mts +18 -3
- package/dist/actions/delete-task-tags.d.mts.map +1 -1
- package/dist/actions/delete-task-tags.mjs +2 -2
- package/dist/actions/delete-task-tags.mjs.map +1 -1
- package/dist/actions/delete-task-unique-id.cjs +3 -3
- package/dist/actions/delete-task-unique-id.cjs.map +1 -1
- package/dist/actions/delete-task-unique-id.d.cts +16 -3
- package/dist/actions/delete-task-unique-id.d.cts.map +1 -1
- package/dist/actions/delete-task-unique-id.d.mts +16 -3
- package/dist/actions/delete-task-unique-id.d.mts.map +1 -1
- package/dist/actions/delete-task-unique-id.mjs +3 -3
- package/dist/actions/delete-task-unique-id.mjs.map +1 -1
- package/dist/actions/finalize-batch.cjs +1 -1
- package/dist/actions/finalize-batch.cjs.map +1 -1
- package/dist/actions/finalize-batch.d.cts +14 -3
- package/dist/actions/finalize-batch.d.cts.map +1 -1
- package/dist/actions/finalize-batch.d.mts +14 -3
- package/dist/actions/finalize-batch.d.mts.map +1 -1
- package/dist/actions/finalize-batch.mjs +1 -1
- package/dist/actions/finalize-batch.mjs.map +1 -1
- package/dist/actions/get-assets.cjs +2 -2
- package/dist/actions/get-assets.cjs.map +1 -1
- package/dist/actions/get-assets.d.cts +23 -3
- package/dist/actions/get-assets.d.cts.map +1 -1
- package/dist/actions/get-assets.d.mts +23 -3
- package/dist/actions/get-assets.d.mts.map +1 -1
- package/dist/actions/get-assets.mjs +2 -2
- package/dist/actions/get-assets.mjs.map +1 -1
- package/dist/actions/get-batch-status.cjs +6 -6
- package/dist/actions/get-batch-status.cjs.map +1 -1
- package/dist/actions/get-batch-status.d.cts +13 -3
- package/dist/actions/get-batch-status.d.cts.map +1 -1
- package/dist/actions/get-batch-status.d.mts +13 -3
- package/dist/actions/get-batch-status.d.mts.map +1 -1
- package/dist/actions/get-batch-status.mjs +6 -6
- package/dist/actions/get-batch-status.mjs.map +1 -1
- package/dist/actions/get-batch.cjs +2 -2
- package/dist/actions/get-batch.cjs.map +1 -1
- package/dist/actions/get-batch.d.cts +14 -3
- package/dist/actions/get-batch.d.cts.map +1 -1
- package/dist/actions/get-batch.d.mts +14 -3
- package/dist/actions/get-batch.d.mts.map +1 -1
- package/dist/actions/get-batch.mjs +2 -2
- package/dist/actions/get-batch.mjs.map +1 -1
- package/dist/actions/get-fixless-audits.cjs +7 -7
- package/dist/actions/get-fixless-audits.cjs.map +1 -1
- package/dist/actions/get-fixless-audits.d.cts +36 -3
- package/dist/actions/get-fixless-audits.d.cts.map +1 -1
- package/dist/actions/get-fixless-audits.d.mts +36 -3
- package/dist/actions/get-fixless-audits.d.mts.map +1 -1
- package/dist/actions/get-fixless-audits.mjs +7 -7
- package/dist/actions/get-fixless-audits.mjs.map +1 -1
- package/dist/actions/get-project.cjs +8 -8
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +16 -3
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +16 -3
- package/dist/actions/get-project.d.mts.map +1 -1
- package/dist/actions/get-project.mjs +8 -8
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-quality-labelers.cjs +3 -3
- package/dist/actions/get-quality-labelers.cjs.map +1 -1
- package/dist/actions/get-quality-labelers.d.cts +25 -3
- package/dist/actions/get-quality-labelers.d.cts.map +1 -1
- package/dist/actions/get-quality-labelers.d.mts +25 -3
- package/dist/actions/get-quality-labelers.d.mts.map +1 -1
- package/dist/actions/get-quality-labelers.mjs +3 -3
- package/dist/actions/get-quality-labelers.mjs.map +1 -1
- package/dist/actions/get-studio-assignments.cjs +2 -2
- package/dist/actions/get-studio-assignments.cjs.map +1 -1
- package/dist/actions/get-studio-assignments.d.cts +11 -3
- package/dist/actions/get-studio-assignments.d.cts.map +1 -1
- package/dist/actions/get-studio-assignments.d.mts +11 -3
- package/dist/actions/get-studio-assignments.d.mts.map +1 -1
- package/dist/actions/get-studio-assignments.mjs +2 -2
- package/dist/actions/get-studio-assignments.mjs.map +1 -1
- package/dist/actions/get-studio-batches.cjs +9 -9
- package/dist/actions/get-studio-batches.cjs.map +1 -1
- package/dist/actions/get-studio-batches.d.cts +13 -3
- package/dist/actions/get-studio-batches.d.cts.map +1 -1
- package/dist/actions/get-studio-batches.d.mts +13 -3
- package/dist/actions/get-studio-batches.d.mts.map +1 -1
- package/dist/actions/get-studio-batches.mjs +9 -9
- package/dist/actions/get-studio-batches.mjs.map +1 -1
- package/dist/actions/get-teams.cjs +3 -3
- package/dist/actions/get-teams.cjs.map +1 -1
- package/dist/actions/get-teams.d.cts +14 -3
- package/dist/actions/get-teams.d.cts.map +1 -1
- package/dist/actions/get-teams.d.mts +14 -3
- package/dist/actions/get-teams.d.mts.map +1 -1
- package/dist/actions/get-teams.mjs +3 -3
- package/dist/actions/get-teams.mjs.map +1 -1
- package/dist/actions/get-v1-task-response-url.cjs +3 -3
- package/dist/actions/get-v1-task-response-url.cjs.map +1 -1
- package/dist/actions/get-v1-task-response-url.d.cts +14 -3
- package/dist/actions/get-v1-task-response-url.d.cts.map +1 -1
- package/dist/actions/get-v1-task-response-url.d.mts +14 -3
- package/dist/actions/get-v1-task-response-url.d.mts.map +1 -1
- package/dist/actions/get-v1-task-response-url.mjs +3 -3
- package/dist/actions/get-v1-task-response-url.mjs.map +1 -1
- package/dist/actions/get-v1-task.cjs +1 -1
- package/dist/actions/get-v1-task.cjs.map +1 -1
- package/dist/actions/get-v1-task.d.cts +19 -3
- package/dist/actions/get-v1-task.d.cts.map +1 -1
- package/dist/actions/get-v1-task.d.mts +19 -3
- package/dist/actions/get-v1-task.d.mts.map +1 -1
- package/dist/actions/get-v1-task.mjs +1 -1
- package/dist/actions/get-v1-task.mjs.map +1 -1
- package/dist/actions/import-file.cjs +1 -1
- package/dist/actions/import-file.cjs.map +1 -1
- package/dist/actions/import-file.d.cts +17 -3
- package/dist/actions/import-file.d.cts.map +1 -1
- package/dist/actions/import-file.d.mts +17 -3
- package/dist/actions/import-file.d.mts.map +1 -1
- package/dist/actions/import-file.mjs +1 -1
- package/dist/actions/import-file.mjs.map +1 -1
- package/dist/actions/invite-team-member.cjs +3 -3
- package/dist/actions/invite-team-member.cjs.map +1 -1
- package/dist/actions/invite-team-member.d.cts +20 -3
- package/dist/actions/invite-team-member.d.cts.map +1 -1
- package/dist/actions/invite-team-member.d.mts +20 -3
- package/dist/actions/invite-team-member.d.mts.map +1 -1
- package/dist/actions/invite-team-member.mjs +3 -3
- package/dist/actions/invite-team-member.mjs.map +1 -1
- package/dist/actions/list-batches.cjs +7 -7
- package/dist/actions/list-batches.cjs.map +1 -1
- package/dist/actions/list-batches.d.cts +33 -3
- package/dist/actions/list-batches.d.cts.map +1 -1
- package/dist/actions/list-batches.d.mts +33 -3
- package/dist/actions/list-batches.d.mts.map +1 -1
- package/dist/actions/list-batches.mjs +7 -7
- package/dist/actions/list-batches.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +8 -8
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +26 -3
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +26 -3
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +8 -8
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/list-tasks.cjs +2 -2
- package/dist/actions/list-tasks.cjs.map +1 -1
- package/dist/actions/list-tasks.d.cts +56 -3
- package/dist/actions/list-tasks.d.cts.map +1 -1
- package/dist/actions/list-tasks.d.mts +56 -3
- package/dist/actions/list-tasks.d.mts.map +1 -1
- package/dist/actions/list-tasks.mjs +2 -2
- package/dist/actions/list-tasks.mjs.map +1 -1
- package/dist/actions/post-v1-task-send-callback.cjs +1 -1
- package/dist/actions/post-v1-task-send-callback.cjs.map +1 -1
- package/dist/actions/post-v1-task-send-callback.d.cts +13 -3
- package/dist/actions/post-v1-task-send-callback.d.cts.map +1 -1
- package/dist/actions/post-v1-task-send-callback.d.mts +13 -3
- package/dist/actions/post-v1-task-send-callback.d.mts.map +1 -1
- package/dist/actions/post-v1-task-send-callback.mjs +1 -1
- package/dist/actions/post-v1-task-send-callback.mjs.map +1 -1
- package/dist/actions/remove-studio-assignments.cjs +3 -3
- package/dist/actions/remove-studio-assignments.cjs.map +1 -1
- package/dist/actions/remove-studio-assignments.d.cts +21 -3
- package/dist/actions/remove-studio-assignments.d.cts.map +1 -1
- package/dist/actions/remove-studio-assignments.d.mts +21 -3
- package/dist/actions/remove-studio-assignments.d.mts.map +1 -1
- package/dist/actions/remove-studio-assignments.mjs +3 -3
- package/dist/actions/remove-studio-assignments.mjs.map +1 -1
- package/dist/actions/reset-batch-priorities.cjs +9 -9
- package/dist/actions/reset-batch-priorities.cjs.map +1 -1
- package/dist/actions/reset-batch-priorities.d.cts +17 -3
- package/dist/actions/reset-batch-priorities.d.cts.map +1 -1
- package/dist/actions/reset-batch-priorities.d.mts +17 -3
- package/dist/actions/reset-batch-priorities.d.mts.map +1 -1
- package/dist/actions/reset-batch-priorities.mjs +9 -9
- package/dist/actions/reset-batch-priorities.mjs.map +1 -1
- package/dist/actions/set-batch-priorities.cjs +10 -10
- package/dist/actions/set-batch-priorities.cjs.map +1 -1
- package/dist/actions/set-batch-priorities.d.cts +24 -3
- package/dist/actions/set-batch-priorities.d.cts.map +1 -1
- package/dist/actions/set-batch-priorities.d.mts +24 -3
- package/dist/actions/set-batch-priorities.d.mts.map +1 -1
- package/dist/actions/set-batch-priorities.mjs +10 -10
- package/dist/actions/set-batch-priorities.mjs.map +1 -1
- package/dist/actions/set-project-ontology.cjs +3 -3
- package/dist/actions/set-project-ontology.cjs.map +1 -1
- package/dist/actions/set-project-ontology.d.cts +33 -3
- package/dist/actions/set-project-ontology.d.cts.map +1 -1
- package/dist/actions/set-project-ontology.d.mts +33 -3
- package/dist/actions/set-project-ontology.d.mts.map +1 -1
- package/dist/actions/set-project-ontology.mjs +3 -3
- package/dist/actions/set-project-ontology.mjs.map +1 -1
- package/dist/actions/set-project-params.cjs +2 -2
- package/dist/actions/set-project-params.cjs.map +1 -1
- package/dist/actions/set-project-params.d.cts +24 -3
- package/dist/actions/set-project-params.d.cts.map +1 -1
- package/dist/actions/set-project-params.d.mts +24 -3
- package/dist/actions/set-project-params.d.mts.map +1 -1
- package/dist/actions/set-project-params.mjs +2 -2
- package/dist/actions/set-project-params.mjs.map +1 -1
- package/dist/actions/set-task-metadata.cjs +1 -1
- package/dist/actions/set-task-metadata.cjs.map +1 -1
- package/dist/actions/set-task-metadata.d.cts +24 -3
- package/dist/actions/set-task-metadata.d.cts.map +1 -1
- package/dist/actions/set-task-metadata.d.mts +24 -3
- package/dist/actions/set-task-metadata.d.mts.map +1 -1
- package/dist/actions/set-task-metadata.mjs +1 -1
- package/dist/actions/set-task-metadata.mjs.map +1 -1
- package/dist/actions/update-task-unique-id.cjs +1 -1
- package/dist/actions/update-task-unique-id.cjs.map +1 -1
- package/dist/actions/update-task-unique-id.d.cts +19 -3
- package/dist/actions/update-task-unique-id.d.cts.map +1 -1
- package/dist/actions/update-task-unique-id.d.mts +19 -3
- package/dist/actions/update-task-unique-id.d.mts.map +1 -1
- package/dist/actions/update-task-unique-id.mjs +1 -1
- package/dist/actions/update-task-unique-id.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +2 -2
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +31 -3
- package/dist/actions/upload-file.d.cts.map +1 -1
- package/dist/actions/upload-file.d.mts +31 -3
- package/dist/actions/upload-file.d.mts.map +1 -1
- package/dist/actions/upload-file.mjs +2 -2
- package/dist/actions/upload-file.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-project-params.d.cts","names":[],"sources":["../../src/actions/set-project-params.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"set-project-params.d.cts","names":[],"sources":["../../src/actions/set-project-params.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAO7B,uBAAA,gCAAuB,wBAAA;;;WAMlC,MAAA"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/set-project-params.d.ts
|
|
4
|
-
declare const ScaleAiSetProjectParamsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScaleAiSetProjectParamsInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
patch: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const ScaleAiSetProjectParamsOutput: z.ZodObject<{
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
param_history: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16
|
+
params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const scaleAiSetProjectParams: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
name: string;
|
|
23
|
+
patch?: boolean | undefined;
|
|
24
|
+
params?: Record<string, unknown> | undefined;
|
|
25
|
+
priority?: number | undefined;
|
|
26
|
+
instruction?: string | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { scaleAiSetProjectParams };
|
|
9
30
|
//# sourceMappingURL=set-project-params.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-project-params.d.mts","names":[],"sources":["../../src/actions/set-project-params.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"set-project-params.d.mts","names":[],"sources":["../../src/actions/set-project-params.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAO7B,uBAAA,gCAAuB,wBAAA;;;WAMlC,MAAA"}
|
|
@@ -12,7 +12,7 @@ const ScaleAiSetProjectParams_ParamHistoryItemSchema = z.object({
|
|
|
12
12
|
params: z.record(z.string(), z.unknown()).describe("Parameters that were set at this version.").nullable().optional(),
|
|
13
13
|
version: z.number().int().describe("Version number of the parameter set.").nullable().optional(),
|
|
14
14
|
timestamp: z.string().describe("Timestamp when parameters were set.").nullable().optional()
|
|
15
|
-
}).describe("Parameter history entry for a project.");
|
|
15
|
+
}).passthrough().describe("Parameter history entry for a project.");
|
|
16
16
|
const scaleAiSetProjectParams = action("SCALE_AI_SET_PROJECT_PARAMS", {
|
|
17
17
|
slug: "scale_ai-set-project-params",
|
|
18
18
|
name: "Set Project Parameters",
|
|
@@ -23,7 +23,7 @@ const scaleAiSetProjectParams = action("SCALE_AI_SET_PROJECT_PARAMS", {
|
|
|
23
23
|
type: z.string().describe("Project task type.").nullable().optional(),
|
|
24
24
|
created_at: z.string().describe("Project creation timestamp.").nullable().optional(),
|
|
25
25
|
param_history: z.array(ScaleAiSetProjectParams_ParamHistoryItemSchema).describe("Projects keep a history of the parameters that they were set with.").nullable().optional()
|
|
26
|
-
}).describe("Response model for set project parameters action.")
|
|
26
|
+
}).passthrough().describe("Response model for set project parameters action.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { scaleAiSetProjectParams };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-project-params.mjs","names":[],"sources":["../../src/actions/set-project-params.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetProjectParamsInput
|
|
1
|
+
{"version":3,"file":"set-project-params.mjs","names":[],"sources":["../../src/actions/set-project-params.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetProjectParamsInput = z.object({\n name: z.string().describe(\"Project identifier (name). This is used in the URL path.\"),\n patch: z.boolean().default(false).describe(\"When true, merges new parameters with existing ones; defaults to false. Field-level overrides take precedence.\").optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Default parameters for tasks created under this project. Any parameters specified here will be set if omitted in a task request.\").optional(),\n priority: z.number().int().describe(\"Default priority for tasks created under this project.\").optional(),\n instruction: z.string().describe(\"Text combined with task-level instructions.\").optional(),\n}).describe(\"Request model for setting default parameters for tasks created under a project.\");\nconst ScaleAiSetProjectParams_ParamHistoryItemSchema = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"Parameters that were set at this version.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when parameters were set.\").nullable().optional(),\n}).passthrough().describe(\"Parameter history entry for a project.\");\nexport const ScaleAiSetProjectParamsOutput = z.object({\n name: z.string().describe(\"Project identifier.\").nullable().optional(),\n type: z.string().describe(\"Project task type.\").nullable().optional(),\n created_at: z.string().describe(\"Project creation timestamp.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectParams_ParamHistoryItemSchema).describe(\"Projects keep a history of the parameters that they were set with.\").nullable().optional(),\n}).passthrough().describe(\"Response model for set project parameters action.\");\n\nexport const scaleAiSetProjectParams = action(\"SCALE_AI_SET_PROJECT_PARAMS\", {\n slug: \"scale_ai-set-project-params\",\n name: \"Set Project Parameters\",\n description: \"Tool to set default parameters for tasks created under a project. Use when you need to establish or update default parameters that apply to future tasks unless overridden.\",\n input: ScaleAiSetProjectParamsInput,\n output: ScaleAiSetProjectParamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACtK,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAChM,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,iDAAiD,EAAE,OAAO;CAC9D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAQlE,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,eAAe,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ const ScaleAiSetTaskMetadataOutput = zod.z.object({
|
|
|
20
20
|
instruction: zod.z.string().describe("Labeling instructions for the task.").nullable().optional(),
|
|
21
21
|
callback_url: zod.z.string().describe("Webhook URL for task completion notifications.").nullable().optional(),
|
|
22
22
|
completed_at: zod.z.string().describe("Completion timestamp if applicable.").nullable().optional()
|
|
23
|
-
}).describe("Response model for the set task metadata operation. Returns the complete task object.");
|
|
23
|
+
}).passthrough().describe("Response model for the set task metadata operation. Returns the complete task object.");
|
|
24
24
|
const scaleAiSetTaskMetadata = require_action.action("SCALE_AI_SET_TASK_METADATA", {
|
|
25
25
|
slug: "scale_ai-set-task-metadata",
|
|
26
26
|
name: "Set Task Metadata",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-task-metadata.cjs","names":["z","action"],"sources":["../../src/actions/set-task-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetTaskMetadataInput
|
|
1
|
+
{"version":3,"file":"set-task-metadata.cjs","names":["z","action"],"sources":["../../src/actions/set-task-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetTaskMetadataInput = z.object({\n task_id: z.string().describe(\"The unique identifier of the task to set metadata on.\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of metadata to attach to the task. Accepts strings, numbers, dates, and other JSON-compatible values.\"),\n}).describe(\"Request model for setting metadata on an existing Scale AI task.\");\nexport const ScaleAiSetTaskMetadataOutput = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the task.\").nullable().optional(),\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n audits: z.array(z.record(z.string(), z.unknown())).describe(\"Audit history for the task.\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task parameters and configuration.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique identifier for the task.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"The metadata key-value pairs that were set on the task.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"Annotation results if task is completed.\").nullable().optional(),\n unique_id: z.string().describe(\"Unique identifier string for the task.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation.\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp.\").nullable().optional(),\n instruction: z.string().describe(\"Labeling instructions for the task.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications.\").nullable().optional(),\n completed_at: z.string().describe(\"Completion timestamp if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the set task metadata operation. Returns the complete task object.\");\n\nexport const scaleAiSetTaskMetadata = action(\"SCALE_AI_SET_TASK_METADATA\", {\n slug: \"scale_ai-set-task-metadata\",\n name: \"Set Task Metadata\",\n description: \"Tool to set key-value metadata on an existing Scale AI task. Use when you need to attach custom metadata to track or organize tasks. This operation is idempotent.\",\n input: ScaleAiSetTaskMetadataInput,\n output: ScaleAiSetTaskMetadataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uHAAuH;AAC9K,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAAuF;AAEjH,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/set-task-metadata.d.ts
|
|
4
|
-
declare const ScaleAiSetTaskMetadataInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScaleAiSetTaskMetadataInput: z.ZodObject<{
|
|
5
|
+
task_id: z.ZodString;
|
|
6
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ScaleAiSetTaskMetadataOutput: z.ZodObject<{
|
|
9
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
10
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
audits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
12
|
+
params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
|
+
response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17
|
+
unique_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const scaleAiSetTaskMetadata: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
task_id: string;
|
|
26
|
+
metadata: Record<string, unknown>;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { scaleAiSetTaskMetadata };
|
|
9
30
|
//# sourceMappingURL=set-task-metadata.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-task-metadata.d.cts","names":[],"sources":["../../src/actions/set-task-metadata.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"set-task-metadata.d.cts","names":[],"sources":["../../src/actions/set-task-metadata.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiB5B,sBAAA,gCAAsB,wBAAA;;YAMjC,MAAA;AAAA"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/set-task-metadata.d.ts
|
|
4
|
-
declare const ScaleAiSetTaskMetadataInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScaleAiSetTaskMetadataInput: z.ZodObject<{
|
|
5
|
+
task_id: z.ZodString;
|
|
6
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ScaleAiSetTaskMetadataOutput: z.ZodObject<{
|
|
9
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
10
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
audits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
12
|
+
params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
|
+
response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17
|
+
unique_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const scaleAiSetTaskMetadata: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
task_id: string;
|
|
26
|
+
metadata: Record<string, unknown>;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { scaleAiSetTaskMetadata };
|
|
9
30
|
//# sourceMappingURL=set-task-metadata.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-task-metadata.d.mts","names":[],"sources":["../../src/actions/set-task-metadata.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"set-task-metadata.d.mts","names":[],"sources":["../../src/actions/set-task-metadata.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiB5B,sBAAA,gCAAsB,wBAAA;;YAMjC,MAAA;AAAA"}
|
|
@@ -23,7 +23,7 @@ const scaleAiSetTaskMetadata = action("SCALE_AI_SET_TASK_METADATA", {
|
|
|
23
23
|
instruction: z.string().describe("Labeling instructions for the task.").nullable().optional(),
|
|
24
24
|
callback_url: z.string().describe("Webhook URL for task completion notifications.").nullable().optional(),
|
|
25
25
|
completed_at: z.string().describe("Completion timestamp if applicable.").nullable().optional()
|
|
26
|
-
}).describe("Response model for the set task metadata operation. Returns the complete task object.")
|
|
26
|
+
}).passthrough().describe("Response model for the set task metadata operation. Returns the complete task object.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { scaleAiSetTaskMetadata };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-task-metadata.mjs","names":[],"sources":["../../src/actions/set-task-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetTaskMetadataInput
|
|
1
|
+
{"version":3,"file":"set-task-metadata.mjs","names":[],"sources":["../../src/actions/set-task-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetTaskMetadataInput = z.object({\n task_id: z.string().describe(\"The unique identifier of the task to set metadata on.\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of metadata to attach to the task. Accepts strings, numbers, dates, and other JSON-compatible values.\"),\n}).describe(\"Request model for setting metadata on an existing Scale AI task.\");\nexport const ScaleAiSetTaskMetadataOutput = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the task.\").nullable().optional(),\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n audits: z.array(z.record(z.string(), z.unknown())).describe(\"Audit history for the task.\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task parameters and configuration.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique identifier for the task.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"The metadata key-value pairs that were set on the task.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"Annotation results if task is completed.\").nullable().optional(),\n unique_id: z.string().describe(\"Unique identifier string for the task.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation.\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp.\").nullable().optional(),\n instruction: z.string().describe(\"Labeling instructions for the task.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications.\").nullable().optional(),\n completed_at: z.string().describe(\"Completion timestamp if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the set task metadata operation. Returns the complete task object.\");\n\nexport const scaleAiSetTaskMetadata = action(\"SCALE_AI_SET_TASK_METADATA\", {\n slug: \"scale_ai-set-task-metadata\",\n name: \"Set Task Metadata\",\n description: \"Tool to set key-value metadata on an existing Scale AI task. Use when you need to attach custom metadata to track or organize tasks. This operation is idempotent.\",\n input: ScaleAiSetTaskMetadataInput,\n output: ScaleAiSetTaskMetadataOutput,\n});\n"],"mappings":";;AAyBA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzByC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACpF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uHAAuH;CAC9K,CAAC,CAAC,CAAC,SAAS,kEAsBH;CACP,QAtB0C,EAAE,OAAO;EACnD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,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;EACxG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAOhB;AACV,CAAC"}
|
|
@@ -16,7 +16,7 @@ const ScaleAiUpdateTaskUniqueIdOutput = zod.z.object({
|
|
|
16
16
|
created_at: zod.z.string().describe("ISO 8601 timestamp of task creation.").nullable().optional(),
|
|
17
17
|
instruction: zod.z.string().describe("Instructions for the labeling task.").nullable().optional(),
|
|
18
18
|
callback_url: zod.z.string().describe("Webhook URL for task completion notifications.").nullable().optional()
|
|
19
|
-
}).describe("Response model containing the updated task details.");
|
|
19
|
+
}).passthrough().describe("Response model containing the updated task details.");
|
|
20
20
|
const scaleAiUpdateTaskUniqueId = require_action.action("SCALE_AI_UPDATE_TASK_UNIQUE_ID", {
|
|
21
21
|
slug: "scale_ai-update-task-unique-id",
|
|
22
22
|
name: "Update Task Unique ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-task-unique-id.cjs","names":["z","action"],"sources":["../../src/actions/update-task-unique-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiUpdateTaskUniqueIdInput
|
|
1
|
+
{"version":3,"file":"update-task-unique-id.cjs","names":["z","action"],"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 input: ScaleAiUpdateTaskUniqueIdInput,\n output: ScaleAiUpdateTaskUniqueIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;AAC3K,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,6CAA6CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC5I,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQ,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,4BAA4BC,eAAAA,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-task-unique-id.d.ts
|
|
4
|
-
declare const ScaleAiUpdateTaskUniqueIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScaleAiUpdateTaskUniqueIdInput: z.ZodObject<{
|
|
5
|
+
task_id: z.ZodString;
|
|
6
|
+
unique_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ScaleAiUpdateTaskUniqueIdOutput: z.ZodObject<{
|
|
9
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
|
+
unique_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
declare const scaleAiUpdateTaskUniqueId: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
task_id: string;
|
|
21
|
+
unique_id: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { scaleAiUpdateTaskUniqueId };
|
|
9
25
|
//# sourceMappingURL=update-task-unique-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-task-unique-id.d.cts","names":[],"sources":["../../src/actions/update-task-unique-id.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"update-task-unique-id.d.cts","names":[],"sources":["../../src/actions/update-task-unique-id.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-task-unique-id.d.ts
|
|
4
|
-
declare const ScaleAiUpdateTaskUniqueIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScaleAiUpdateTaskUniqueIdInput: z.ZodObject<{
|
|
5
|
+
task_id: z.ZodString;
|
|
6
|
+
unique_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ScaleAiUpdateTaskUniqueIdOutput: z.ZodObject<{
|
|
9
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
|
+
unique_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
declare const scaleAiUpdateTaskUniqueId: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
task_id: string;
|
|
21
|
+
unique_id: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { scaleAiUpdateTaskUniqueId };
|
|
9
25
|
//# sourceMappingURL=update-task-unique-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-task-unique-id.d.mts","names":[],"sources":["../../src/actions/update-task-unique-id.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"update-task-unique-id.d.mts","names":[],"sources":["../../src/actions/update-task-unique-id.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -21,7 +21,7 @@ const scaleAiUpdateTaskUniqueId = action("SCALE_AI_UPDATE_TASK_UNIQUE_ID", {
|
|
|
21
21
|
created_at: z.string().describe("ISO 8601 timestamp of task creation.").nullable().optional(),
|
|
22
22
|
instruction: z.string().describe("Instructions for the labeling task.").nullable().optional(),
|
|
23
23
|
callback_url: z.string().describe("Webhook URL for task completion notifications.").nullable().optional()
|
|
24
|
-
}).describe("Response model containing the updated task details.")
|
|
24
|
+
}).passthrough().describe("Response model containing the updated task details.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { scaleAiUpdateTaskUniqueId };
|
|
@@ -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
|
|
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 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,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.
|
|
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
|
|
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.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;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,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACvI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACzI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,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,9 +1,37 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/upload-file.d.ts
|
|
4
|
-
declare const ScaleAiUploadFileInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScaleAiUploadFileInput: z.ZodObject<{
|
|
5
|
+
file: z.ZodObject<{
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
s3key: z.ZodString;
|
|
8
|
+
mimetype: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
12
|
+
project_name: z.ZodOptional<z.ZodString>;
|
|
13
|
+
reference_id: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const ScaleAiUploadFileOutput: z.ZodObject<{
|
|
16
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
project_names: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
22
|
+
attachment_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const scaleAiUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
file: {
|
|
26
|
+
name: string;
|
|
27
|
+
s3key: string;
|
|
28
|
+
mimetype: string;
|
|
29
|
+
};
|
|
30
|
+
metadata?: Record<string, unknown> | undefined;
|
|
31
|
+
display_name?: string | undefined;
|
|
32
|
+
project_name?: string | undefined;
|
|
33
|
+
reference_id?: string | undefined;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
35
|
//#endregion
|
|
8
36
|
export { scaleAiUploadFile };
|
|
9
37
|
//# sourceMappingURL=upload-file.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.d.cts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"upload-file.d.cts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;cAWtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAUvB,iBAAA,gCAAiB,wBAAA;;;;;;aAM5B,MAAA"}
|
|
@@ -1,9 +1,37 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/upload-file.d.ts
|
|
4
|
-
declare const ScaleAiUploadFileInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScaleAiUploadFileInput: z.ZodObject<{
|
|
5
|
+
file: z.ZodObject<{
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
s3key: z.ZodString;
|
|
8
|
+
mimetype: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
12
|
+
project_name: z.ZodOptional<z.ZodString>;
|
|
13
|
+
reference_id: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const ScaleAiUploadFileOutput: z.ZodObject<{
|
|
16
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
project_names: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
22
|
+
attachment_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const scaleAiUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
file: {
|
|
26
|
+
name: string;
|
|
27
|
+
s3key: string;
|
|
28
|
+
mimetype: string;
|
|
29
|
+
};
|
|
30
|
+
metadata?: Record<string, unknown> | undefined;
|
|
31
|
+
display_name?: string | undefined;
|
|
32
|
+
project_name?: string | undefined;
|
|
33
|
+
reference_id?: string | undefined;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
35
|
//#endregion
|
|
8
36
|
export { scaleAiUploadFile };
|
|
9
37
|
//# sourceMappingURL=upload-file.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.d.mts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"upload-file.d.mts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;cAWtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAUvB,iBAAA,gCAAiB,wBAAA;;;;;;aAM5B,MAAA"}
|
|
@@ -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.
|
|
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
|
|
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
|
@@ -7,7 +7,13 @@ const scaleAiCatalog = {
|
|
|
7
7
|
"category": "Artificial Intelligence",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/scale_ai",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "API Key",
|
|
13
|
+
"secret": true,
|
|
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."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.scaleAiCatalog = scaleAiCatalog;
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -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} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
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"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,14 @@ declare const scaleAiCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/scale_ai";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "API Key";
|
|
14
|
+
readonly secret: true;
|
|
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.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { scaleAiCatalog };
|