@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
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["scaleAi","executeScaleAiTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { scaleAi } from \"./app\";\nimport { executeScaleAiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["scaleAi","executeScaleAiTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { scaleAi } from \"./app\";\nimport { executeScaleAiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return scaleAi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeScaleAiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { scaleAi } from \"./app\";\nimport { executeScaleAiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { scaleAi } from \"./app\";\nimport { executeScaleAiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return scaleAi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeScaleAiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
|
|
@@ -5,7 +5,7 @@ const ScaleAiAddStudioAssignmentsInput = zod.z.object({
|
|
|
5
5
|
emails: zod.z.array(zod.z.string()).describe("Array of email addresses of teammates to assign projects to."),
|
|
6
6
|
projects: zod.z.array(zod.z.string()).describe("Array of project names to assign to the specified teammates.")
|
|
7
7
|
}).describe("Request model for adding project assignments to team members.");
|
|
8
|
-
const ScaleAiAddStudioAssignmentsOutput = zod.z.object({ assignments: zod.z.
|
|
8
|
+
const ScaleAiAddStudioAssignmentsOutput = zod.z.object({ assignments: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary mapping email addresses to lists of assigned project names.").nullable().optional() }).passthrough().describe("Response model for adding project assignments. Returns a dictionary of all teammate\nassignments with keys as 'emails' of each teammate, and values as a list of project\nnames the teammates are assigned to.");
|
|
9
9
|
const scaleAiAddStudioAssignments = require_action.action("SCALE_AI_ADD_STUDIO_ASSIGNMENTS", {
|
|
10
10
|
slug: "scale_ai-add-studio-assignments",
|
|
11
11
|
name: "Add Studio Assignments",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-studio-assignments.cjs","names":["z","action"],"sources":["../../src/actions/add-studio-assignments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiAddStudioAssignmentsInput
|
|
1
|
+
{"version":3,"file":"add-studio-assignments.cjs","names":["z","action"],"sources":["../../src/actions/add-studio-assignments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiAddStudioAssignmentsInput = z.object({\n emails: z.array(z.string()).describe(\"Array of email addresses of teammates to assign projects to.\"),\n projects: z.array(z.string()).describe(\"Array of project names to assign to the specified teammates.\"),\n}).describe(\"Request model for adding project assignments to team members.\");\nexport const ScaleAiAddStudioAssignmentsOutput = z.object({\n assignments: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping email addresses to lists of assigned project names.\").nullable().optional(),\n}).passthrough().describe(\"Response model for adding project assignments. Returns a dictionary of all teammate\\nassignments with keys as 'emails' of each teammate, and values as a list of project\\nnames the teammates are assigned to.\");\n\nexport const scaleAiAddStudioAssignments = action(\"SCALE_AI_ADD_STUDIO_ASSIGNMENTS\", {\n slug: \"scale_ai-add-studio-assignments\",\n name: \"Add Studio Assignments\",\n description: \"Tool to add project assignments to team members in Scale AI Studio. Use when you need to assign specific projects to team members by their email addresses. This action creates new assignments for the specified team members and projects.\",\n input: ScaleAiAddStudioAssignmentsInput,\n output: ScaleAiAddStudioAssignmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D;CACnG,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACvG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gNAAgN;AAE1O,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-studio-assignments.d.ts
|
|
4
|
-
declare const ScaleAiAddStudioAssignmentsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScaleAiAddStudioAssignmentsInput: z.ZodObject<{
|
|
5
|
+
emails: z.ZodArray<z.ZodString>;
|
|
6
|
+
projects: z.ZodArray<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ScaleAiAddStudioAssignmentsOutput: z.ZodObject<{
|
|
9
|
+
assignments: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const scaleAiAddStudioAssignments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
emails: string[];
|
|
13
|
+
projects: string[];
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { scaleAiAddStudioAssignments };
|
|
9
17
|
//# sourceMappingURL=add-studio-assignments.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-studio-assignments.d.cts","names":[],"sources":["../../src/actions/add-studio-assignments.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"add-studio-assignments.d.cts","names":[],"sources":["../../src/actions/add-studio-assignments.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-studio-assignments.d.ts
|
|
4
|
-
declare const ScaleAiAddStudioAssignmentsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScaleAiAddStudioAssignmentsInput: z.ZodObject<{
|
|
5
|
+
emails: z.ZodArray<z.ZodString>;
|
|
6
|
+
projects: z.ZodArray<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ScaleAiAddStudioAssignmentsOutput: z.ZodObject<{
|
|
9
|
+
assignments: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const scaleAiAddStudioAssignments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
emails: string[];
|
|
13
|
+
projects: string[];
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { scaleAiAddStudioAssignments };
|
|
9
17
|
//# sourceMappingURL=add-studio-assignments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-studio-assignments.d.mts","names":[],"sources":["../../src/actions/add-studio-assignments.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"add-studio-assignments.d.mts","names":[],"sources":["../../src/actions/add-studio-assignments.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -8,7 +8,7 @@ const scaleAiAddStudioAssignments = action("SCALE_AI_ADD_STUDIO_ASSIGNMENTS", {
|
|
|
8
8
|
emails: z.array(z.string()).describe("Array of email addresses of teammates to assign projects to."),
|
|
9
9
|
projects: z.array(z.string()).describe("Array of project names to assign to the specified teammates.")
|
|
10
10
|
}).describe("Request model for adding project assignments to team members."),
|
|
11
|
-
output: z.object({ assignments: z.
|
|
11
|
+
output: z.object({ assignments: z.record(z.string(), z.unknown()).describe("Dictionary mapping email addresses to lists of assigned project names.").nullable().optional() }).passthrough().describe("Response model for adding project assignments. Returns a dictionary of all teammate\nassignments with keys as 'emails' of each teammate, and values as a list of project\nnames the teammates are assigned to.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { scaleAiAddStudioAssignments };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-studio-assignments.mjs","names":[],"sources":["../../src/actions/add-studio-assignments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiAddStudioAssignmentsInput
|
|
1
|
+
{"version":3,"file":"add-studio-assignments.mjs","names":[],"sources":["../../src/actions/add-studio-assignments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiAddStudioAssignmentsInput = z.object({\n emails: z.array(z.string()).describe(\"Array of email addresses of teammates to assign projects to.\"),\n projects: z.array(z.string()).describe(\"Array of project names to assign to the specified teammates.\"),\n}).describe(\"Request model for adding project assignments to team members.\");\nexport const ScaleAiAddStudioAssignmentsOutput = z.object({\n assignments: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping email addresses to lists of assigned project names.\").nullable().optional(),\n}).passthrough().describe(\"Response model for adding project assignments. Returns a dictionary of all teammate\\nassignments with keys as 'emails' of each teammate, and values as a list of project\\nnames the teammates are assigned to.\");\n\nexport const scaleAiAddStudioAssignments = action(\"SCALE_AI_ADD_STUDIO_ASSIGNMENTS\", {\n slug: \"scale_ai-add-studio-assignments\",\n name: \"Add Studio Assignments\",\n description: \"Tool to add project assignments to team members in Scale AI Studio. Use when you need to assign specific projects to team members by their email addresses. This action creates new assignments for the specified team members and projects.\",\n input: ScaleAiAddStudioAssignmentsInput,\n output: ScaleAiAddStudioAssignmentsOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8C,EAAE,OAAO;EACvD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D;EACnG,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D;CACvG,CAAC,CAAC,CAAC,SAAS,+DASH;CACP,QAT+C,EAAE,OAAO,EACxD,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gNAOhB;AACV,CAAC"}
|
|
@@ -10,12 +10,12 @@ const ScaleAiAddTaskTagsOutput = zod.z.object({
|
|
|
10
10
|
type: zod.z.string().describe("Task type (e.g., 'imageannotation').").nullable().optional(),
|
|
11
11
|
params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Task-specific parameters.").nullable().optional(),
|
|
12
12
|
status: zod.z.string().describe("Current task status.").nullable().optional(),
|
|
13
|
-
task_id: zod.z.string().describe("Unique task identifier."),
|
|
13
|
+
task_id: zod.z.string().describe("Unique task identifier.").nullable(),
|
|
14
14
|
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value metadata.").nullable().optional(),
|
|
15
15
|
created_at: zod.z.string().describe("Task creation timestamp in ISO 8601 format.").nullable().optional(),
|
|
16
16
|
instruction: zod.z.string().describe("Task instructions for contributors.").nullable().optional(),
|
|
17
17
|
callback_url: zod.z.string().describe("Webhook URL for task completion.").nullable().optional()
|
|
18
|
-
}).describe("Response model for adding tags to a task. Returns the complete task object.");
|
|
18
|
+
}).passthrough().describe("Response model for adding tags to a task. Returns the complete task object.");
|
|
19
19
|
const scaleAiAddTaskTags = require_action.action("SCALE_AI_ADD_TASK_TAGS", {
|
|
20
20
|
slug: "scale_ai-add-task-tags",
|
|
21
21
|
name: "Add Task Tags",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-task-tags.cjs","names":["z","action"],"sources":["../../src/actions/add-task-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiAddTaskTagsInput
|
|
1
|
+
{"version":3,"file":"add-task-tags.cjs","names":["z","action"],"sources":["../../src/actions/add-task-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiAddTaskTagsInput = z.object({\n tags: z.array(z.string()).describe(\"List of tags to add to the task. Tags must be non-empty strings. If a tag already exists on the task, it will be ignored to avoid duplication.\"),\n task_id: z.string().describe(\"The unique identifier of the task to add tags to.\"),\n}).describe(\"Request model for adding tags to a task.\");\nexport const ScaleAiAddTaskTagsOutput = z.object({\n tags: z.array(z.string()).describe(\"List of associated tags (including newly added ones).\").nullable().optional(),\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task-specific parameters.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata.\").nullable().optional(),\n created_at: z.string().describe(\"Task creation timestamp in ISO 8601 format.\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions for contributors.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion.\").nullable().optional(),\n}).passthrough().describe(\"Response model for adding tags to a task. Returns the complete task object.\");\n\nexport const scaleAiAddTaskTags = action(\"SCALE_AI_ADD_TASK_TAGS\", {\n slug: \"scale_ai-add-task-tags\",\n name: \"Add Task Tags\",\n description: \"Tool to add tags to an existing task. Use when you need to tag or categorize tasks for organization and filtering. Automatically avoids duplicate tags.\",\n input: ScaleAiAddTaskTagsInput,\n output: ScaleAiAddTaskTagsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gJAAgJ;CACnL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AAClF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6EAA6E;AAEvG,MAAa,qBAAqBC,eAAAA,OAAO,0BAA0B;CACjE,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/add-task-tags.d.ts
|
|
4
|
-
declare const ScaleAiAddTaskTagsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScaleAiAddTaskTagsInput: z.ZodObject<{
|
|
5
|
+
tags: z.ZodArray<z.ZodString>;
|
|
6
|
+
task_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ScaleAiAddTaskTagsOutput: z.ZodObject<{
|
|
9
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
10
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
task_id: z.ZodNullable<z.ZodString>;
|
|
14
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
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 scaleAiAddTaskTags: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
tags: string[];
|
|
21
|
+
task_id: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { scaleAiAddTaskTags };
|
|
9
25
|
//# sourceMappingURL=add-task-tags.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-task-tags.d.cts","names":[],"sources":["../../src/actions/add-task-tags.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"add-task-tags.d.cts","names":[],"sources":["../../src/actions/add-task-tags.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-task-tags.d.ts
|
|
4
|
-
declare const ScaleAiAddTaskTagsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScaleAiAddTaskTagsInput: z.ZodObject<{
|
|
5
|
+
tags: z.ZodArray<z.ZodString>;
|
|
6
|
+
task_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ScaleAiAddTaskTagsOutput: z.ZodObject<{
|
|
9
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
10
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
task_id: z.ZodNullable<z.ZodString>;
|
|
14
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
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 scaleAiAddTaskTags: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
tags: string[];
|
|
21
|
+
task_id: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { scaleAiAddTaskTags };
|
|
9
25
|
//# sourceMappingURL=add-task-tags.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-task-tags.d.mts","names":[],"sources":["../../src/actions/add-task-tags.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"add-task-tags.d.mts","names":[],"sources":["../../src/actions/add-task-tags.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -13,12 +13,12 @@ const scaleAiAddTaskTags = action("SCALE_AI_ADD_TASK_TAGS", {
|
|
|
13
13
|
type: z.string().describe("Task type (e.g., 'imageannotation').").nullable().optional(),
|
|
14
14
|
params: z.record(z.string(), z.unknown()).describe("Task-specific parameters.").nullable().optional(),
|
|
15
15
|
status: z.string().describe("Current task status.").nullable().optional(),
|
|
16
|
-
task_id: z.string().describe("Unique task identifier."),
|
|
16
|
+
task_id: z.string().describe("Unique task identifier.").nullable(),
|
|
17
17
|
metadata: z.record(z.string(), z.unknown()).describe("Custom key-value metadata.").nullable().optional(),
|
|
18
18
|
created_at: z.string().describe("Task creation timestamp in ISO 8601 format.").nullable().optional(),
|
|
19
19
|
instruction: z.string().describe("Task instructions for contributors.").nullable().optional(),
|
|
20
20
|
callback_url: z.string().describe("Webhook URL for task completion.").nullable().optional()
|
|
21
|
-
}).describe("Response model for adding tags to a task. Returns the complete task object.")
|
|
21
|
+
}).passthrough().describe("Response model for adding tags to a task. Returns the complete task object.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { scaleAiAddTaskTags };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-task-tags.mjs","names":[],"sources":["../../src/actions/add-task-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiAddTaskTagsInput
|
|
1
|
+
{"version":3,"file":"add-task-tags.mjs","names":[],"sources":["../../src/actions/add-task-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiAddTaskTagsInput = z.object({\n tags: z.array(z.string()).describe(\"List of tags to add to the task. Tags must be non-empty strings. If a tag already exists on the task, it will be ignored to avoid duplication.\"),\n task_id: z.string().describe(\"The unique identifier of the task to add tags to.\"),\n}).describe(\"Request model for adding tags to a task.\");\nexport const ScaleAiAddTaskTagsOutput = z.object({\n tags: z.array(z.string()).describe(\"List of associated tags (including newly added ones).\").nullable().optional(),\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task-specific parameters.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata.\").nullable().optional(),\n created_at: z.string().describe(\"Task creation timestamp in ISO 8601 format.\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions for contributors.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion.\").nullable().optional(),\n}).passthrough().describe(\"Response model for adding tags to a task. Returns the complete task object.\");\n\nexport const scaleAiAddTaskTags = action(\"SCALE_AI_ADD_TASK_TAGS\", {\n slug: \"scale_ai-add-task-tags\",\n name: \"Add Task Tags\",\n description: \"Tool to add tags to an existing task. Use when you need to tag or categorize tasks for organization and filtering. Automatically avoids duplicate tags.\",\n input: ScaleAiAddTaskTagsInput,\n output: ScaleAiAddTaskTagsOutput,\n});\n"],"mappings":";;AAoBA,MAAa,qBAAqB,OAAO,0BAA0B;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gJAAgJ;EACnL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,CAAC,CAAC,CAAC,SAAS,0CAiBH;CACP,QAjBsC,EAAE,OAAO;EAC/C,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6EAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const ScaleAiCreateBatchOutput = zod.z.object({
|
|
|
15
15
|
callback: zod.z.string().describe("The callback URL or email address.").nullable().optional(),
|
|
16
16
|
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional batch metadata.").nullable().optional(),
|
|
17
17
|
created_at: zod.z.string().describe("ISO 8601 timestamp of batch creation.").nullable().optional()
|
|
18
|
-
}).describe("Response model for batch creation.");
|
|
18
|
+
}).passthrough().describe("Response model for batch creation.");
|
|
19
19
|
const scaleAiCreateBatch = require_action.action("SCALE_AI_CREATE_BATCH", {
|
|
20
20
|
slug: "scale_ai-create-batch",
|
|
21
21
|
name: "Create Batch",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-batch.cjs","names":["z","action"],"sources":["../../src/actions/create-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiCreateBatchInput
|
|
1
|
+
{"version":3,"file":"create-batch.cjs","names":["z","action"],"sources":["../../src/actions/create-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiCreateBatchInput = z.object({\n name: z.string().describe(\"Name identifying this batch. Must be unique among all batches belonging to a customer.\"),\n project: z.string().describe(\"The name of the project this batch (and its tasks) belong to.\"),\n callback: z.string().describe(\"The full URL (including the scheme http:// or https://) or email address of the callback that will be used when tasks are completed.\").optional(),\n self_label_batch: z.boolean().describe(\"Only applicable for Rapid projects. Create a self label batch by setting this flag to true.\").optional(),\n calibration_batch: z.boolean().describe(\"Only applicable for Rapid projects. Create a calibration batch by setting this flag to true.\").optional(),\n}).describe(\"Request model for creating a new batch within a project.\");\nexport const ScaleAiCreateBatchOutput = z.object({\n name: z.string().describe(\"The batch identifier.\").nullable().optional(),\n status: z.string().describe(\"The batch status (e.g., 'in_progress').\").nullable().optional(),\n project: z.string().describe(\"The project name associated with the batch.\").nullable().optional(),\n callback: z.string().describe(\"The callback URL or email address.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional batch metadata.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation.\").nullable().optional(),\n}).passthrough().describe(\"Response model for batch creation.\");\n\nexport const scaleAiCreateBatch = action(\"SCALE_AI_CREATE_BATCH\", {\n slug: \"scale_ai-create-batch\",\n name: \"Create Batch\",\n description: \"Tool to create a new batch within a project. Use when you need to group multiple tasks together for organizational and processing purposes.\",\n input: ScaleAiCreateBatchInput,\n output: ScaleAiCreateBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CAClH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC/K,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC/I,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-batch.d.ts
|
|
4
|
-
declare const ScaleAiCreateBatchInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScaleAiCreateBatchInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
project: z.ZodString;
|
|
7
|
+
callback: z.ZodOptional<z.ZodString>;
|
|
8
|
+
self_label_batch: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
calibration_batch: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const ScaleAiCreateBatchOutput: z.ZodObject<{
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
project: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
callback: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
declare const scaleAiCreateBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
name: string;
|
|
21
|
+
project: string;
|
|
22
|
+
callback?: string | undefined;
|
|
23
|
+
self_label_batch?: boolean | undefined;
|
|
24
|
+
calibration_batch?: boolean | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { scaleAiCreateBatch };
|
|
9
28
|
//# sourceMappingURL=create-batch.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-batch.d.cts","names":[],"sources":["../../src/actions/create-batch.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"create-batch.d.cts","names":[],"sources":["../../src/actions/create-batch.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAOvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cASxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-batch.d.ts
|
|
4
|
-
declare const ScaleAiCreateBatchInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScaleAiCreateBatchInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
project: z.ZodString;
|
|
7
|
+
callback: z.ZodOptional<z.ZodString>;
|
|
8
|
+
self_label_batch: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
calibration_batch: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const ScaleAiCreateBatchOutput: z.ZodObject<{
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
project: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
callback: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
declare const scaleAiCreateBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
name: string;
|
|
21
|
+
project: string;
|
|
22
|
+
callback?: string | undefined;
|
|
23
|
+
self_label_batch?: boolean | undefined;
|
|
24
|
+
calibration_batch?: boolean | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { scaleAiCreateBatch };
|
|
9
28
|
//# sourceMappingURL=create-batch.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-batch.d.mts","names":[],"sources":["../../src/actions/create-batch.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"create-batch.d.mts","names":[],"sources":["../../src/actions/create-batch.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAOvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cASxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -18,7 +18,7 @@ const scaleAiCreateBatch = action("SCALE_AI_CREATE_BATCH", {
|
|
|
18
18
|
callback: z.string().describe("The callback URL or email address.").nullable().optional(),
|
|
19
19
|
metadata: z.record(z.string(), z.unknown()).describe("Additional batch metadata.").nullable().optional(),
|
|
20
20
|
created_at: z.string().describe("ISO 8601 timestamp of batch creation.").nullable().optional()
|
|
21
|
-
}).describe("Response model for batch creation.")
|
|
21
|
+
}).passthrough().describe("Response model for batch creation.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { scaleAiCreateBatch };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-batch.mjs","names":[],"sources":["../../src/actions/create-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiCreateBatchInput
|
|
1
|
+
{"version":3,"file":"create-batch.mjs","names":[],"sources":["../../src/actions/create-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiCreateBatchInput = z.object({\n name: z.string().describe(\"Name identifying this batch. Must be unique among all batches belonging to a customer.\"),\n project: z.string().describe(\"The name of the project this batch (and its tasks) belong to.\"),\n callback: z.string().describe(\"The full URL (including the scheme http:// or https://) or email address of the callback that will be used when tasks are completed.\").optional(),\n self_label_batch: z.boolean().describe(\"Only applicable for Rapid projects. Create a self label batch by setting this flag to true.\").optional(),\n calibration_batch: z.boolean().describe(\"Only applicable for Rapid projects. Create a calibration batch by setting this flag to true.\").optional(),\n}).describe(\"Request model for creating a new batch within a project.\");\nexport const ScaleAiCreateBatchOutput = z.object({\n name: z.string().describe(\"The batch identifier.\").nullable().optional(),\n status: z.string().describe(\"The batch status (e.g., 'in_progress').\").nullable().optional(),\n project: z.string().describe(\"The project name associated with the batch.\").nullable().optional(),\n callback: z.string().describe(\"The callback URL or email address.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional batch metadata.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation.\").nullable().optional(),\n}).passthrough().describe(\"Response model for batch creation.\");\n\nexport const scaleAiCreateBatch = action(\"SCALE_AI_CREATE_BATCH\", {\n slug: \"scale_ai-create-batch\",\n name: \"Create Batch\",\n description: \"Tool to create a new batch within a project. Use when you need to group multiple tasks together for organizational and processing purposes.\",\n input: ScaleAiCreateBatchInput,\n output: ScaleAiCreateBatchOutput,\n});\n"],"mappings":";;AAoBA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;EAClH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;EAC/K,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EAC/I,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,SAAS,0DAcH;CACP,QAdsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const ScaleAiCreateDocumentTranscriptionTaskInput = zod.z.object({
|
|
|
13
13
|
choices: zod.z.array(zod.z.object({
|
|
14
14
|
label: zod.z.string().describe("Display label for the choice"),
|
|
15
15
|
value: zod.z.string().describe("Value to be stored for this choice")
|
|
16
|
-
}).describe("Choice option for category or select type fields.")).describe("Array of choice objects for category or select fields").optional(),
|
|
16
|
+
}).passthrough().describe("Choice option for category or select type fields.")).describe("Array of choice objects for category or select fields").optional(),
|
|
17
17
|
field_id: zod.z.string().describe("Unique identifier for the field"),
|
|
18
18
|
required: zod.z.boolean().describe("Whether this field is required").optional(),
|
|
19
19
|
conditions: zod.z.array(zod.z.object({
|
|
@@ -23,19 +23,19 @@ const ScaleAiCreateDocumentTranscriptionTaskInput = zod.z.object({
|
|
|
23
23
|
zod.z.number().int()
|
|
24
24
|
]),
|
|
25
25
|
field_id: zod.z.string().describe("The field_id that this condition depends on")
|
|
26
|
-
}).describe("Conditional logic for when a field should be shown.")).describe("Conditional logic for when field should be shown").optional(),
|
|
27
|
-
subchoices: zod.z.array(zod.z.
|
|
26
|
+
}).passthrough().describe("Conditional logic for when a field should be shown.")).describe("Conditional logic for when field should be shown").optional(),
|
|
27
|
+
subchoices: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Nested sub-choices for hierarchical selection").optional(),
|
|
28
28
|
description: zod.z.string().describe("Brief description about what the response should be").optional(),
|
|
29
29
|
max_choices: zod.z.number().int().describe("Maximum number of choices for category fields").optional(),
|
|
30
30
|
min_choices: zod.z.number().int().describe("Minimum number of choices for category fields").optional(),
|
|
31
31
|
transcription_choices: zod.z.array(zod.z.string()).describe("Specific choices for transcription select fields").optional()
|
|
32
|
-
}).describe("Field definition describing what data to transcribe from the document.")).describe("Array of field definitions describing what data to transcribe").optional(),
|
|
32
|
+
}).passthrough().describe("Field definition describing what data to transcribe from the document.")).describe("Array of field definitions describing what data to transcribe").optional(),
|
|
33
33
|
geometry: zod.z.string().describe("Geometry type for annotations: 'box' (axis-aligned rectangles) or 'polygon' (rotated rectangles). Default: 'box'").optional(),
|
|
34
|
-
metadata: zod.z.
|
|
34
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata as key-value pairs for storing additional structured information").optional(),
|
|
35
35
|
priority: zod.z.number().int().describe("Task priority level (Range: 0-100, Default: 30)").optional(),
|
|
36
36
|
unique_id: zod.z.string().describe("Arbitrary unique identifier for task deduplication and later querying").optional(),
|
|
37
37
|
attachment: zod.z.string().describe("URL of a single document to be transcribed. Either attachment or attachments is required").optional(),
|
|
38
|
-
hypothesis: zod.z.
|
|
38
|
+
hypothesis: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Pre-labels to accelerate annotation, matching the task's response schema").optional(),
|
|
39
39
|
attachments: zod.z.array(zod.z.string()).describe("Array of URLs for multi-page documents. Either attachment or attachments is required").optional(),
|
|
40
40
|
description: zod.z.string().describe("Task description").optional(),
|
|
41
41
|
instruction: zod.z.string().describe("Markdown-enabled instructions explaining the task to taskers"),
|
|
@@ -45,19 +45,19 @@ const ScaleAiCreateDocumentTranscriptionTaskInput = zod.z.object({
|
|
|
45
45
|
}).describe("Request model for creating a document transcription task.");
|
|
46
46
|
const ScaleAiCreateDocumentTranscriptionTask_TaskParamsSchema = zod.z.object({
|
|
47
47
|
lang: zod.z.string().describe("Language code for the attachment").nullable().optional(),
|
|
48
|
-
features: zod.z.array(zod.z.
|
|
48
|
+
features: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of field definitions").nullable().optional(),
|
|
49
49
|
geometry: zod.z.string().describe("Geometry type for annotations").nullable().optional(),
|
|
50
50
|
attachment: zod.z.string().describe("URL to the document being transcribed").nullable().optional(),
|
|
51
51
|
attachments: zod.z.array(zod.z.string()).describe("Array of URLs for multi-page documents").nullable().optional(),
|
|
52
52
|
instruction: zod.z.string().describe("Task instructions").nullable().optional()
|
|
53
|
-
}).describe("Task parameters containing the submitted request parameters.");
|
|
53
|
+
}).passthrough().describe("Task parameters containing the submitted request parameters.");
|
|
54
54
|
const ScaleAiCreateDocumentTranscriptionTask_AnnotationGeometrySchema = zod.z.object({
|
|
55
55
|
top: zod.z.number().int().describe("Top position in pixels (for box)").nullable().optional(),
|
|
56
56
|
left: zod.z.number().int().describe("Left position in pixels (for box)").nullable().optional(),
|
|
57
57
|
width: zod.z.number().int().describe("Width in pixels (for box)").nullable().optional(),
|
|
58
58
|
height: zod.z.number().int().describe("Height in pixels (for box)").nullable().optional(),
|
|
59
|
-
vertices: zod.z.array(zod.z.
|
|
60
|
-
}).describe("Geometric coordinates for annotation.");
|
|
59
|
+
vertices: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of coordinate objects with x and y (for polygon)").nullable().optional()
|
|
60
|
+
}).passthrough().describe("Geometric coordinates for annotation.");
|
|
61
61
|
const ScaleAiCreateDocumentTranscriptionTask_AnnotationSchema = zod.z.object({
|
|
62
62
|
type: zod.z.string().describe("The annotation/field type").nullable().optional(),
|
|
63
63
|
uuid: zod.z.string().describe("Unique identifier for the annotation").nullable().optional(),
|
|
@@ -76,19 +76,19 @@ const ScaleAiCreateDocumentTranscriptionTask_AnnotationSchema = zod.z.object({
|
|
|
76
76
|
]).nullable().optional(),
|
|
77
77
|
field_id: zod.z.string().describe("The field_id from features array").nullable().optional(),
|
|
78
78
|
geometry: ScaleAiCreateDocumentTranscriptionTask_AnnotationGeometrySchema.nullable().optional(),
|
|
79
|
-
attributes: zod.z.
|
|
80
|
-
}).describe("Individual annotation object in the response.");
|
|
81
|
-
const ScaleAiCreateDocumentTranscriptionTask_TaskResponseSchema = zod.z.object({ annotations: zod.z.array(ScaleAiCreateDocumentTranscriptionTask_AnnotationSchema).describe("Array of annotation objects created by taskers").nullable().optional() }).describe("Task response containing annotations when completed.");
|
|
79
|
+
attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional annotation attributes").nullable().optional()
|
|
80
|
+
}).passthrough().describe("Individual annotation object in the response.");
|
|
81
|
+
const ScaleAiCreateDocumentTranscriptionTask_TaskResponseSchema = zod.z.object({ annotations: zod.z.array(ScaleAiCreateDocumentTranscriptionTask_AnnotationSchema).describe("Array of annotation objects created by taskers").nullable().optional() }).passthrough().describe("Task response containing annotations when completed.");
|
|
82
82
|
const ScaleAiCreateDocumentTranscriptionTaskOutput = zod.z.object({
|
|
83
83
|
tags: zod.z.array(zod.z.string()).describe("Task tags if provided").nullable().optional(),
|
|
84
84
|
type: zod.z.string().describe("Task type: 'documenttranscription'").nullable().optional(),
|
|
85
|
-
audits: zod.z.array(zod.z.
|
|
85
|
+
audits: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of audit records showing quality reviews and modifications").nullable().optional(),
|
|
86
86
|
params: ScaleAiCreateDocumentTranscriptionTask_TaskParamsSchema.nullable().optional(),
|
|
87
87
|
status: zod.z.string().describe("Current task status: 'pending', 'completed', 'canceled', or 'error'").nullable().optional(),
|
|
88
88
|
is_test: zod.z.boolean().describe("Indicates if this is a test task").nullable().optional(),
|
|
89
89
|
project: zod.z.string().describe("Associated project name").nullable().optional(),
|
|
90
90
|
task_id: zod.z.string().describe("Unique permanent task identifier").nullable().optional(),
|
|
91
|
-
metadata: zod.z.
|
|
91
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Associated metadata object with custom key-value pairs").nullable().optional(),
|
|
92
92
|
response: ScaleAiCreateDocumentTranscriptionTask_TaskResponseSchema.nullable().optional(),
|
|
93
93
|
unique_id: zod.z.string().describe("Custom identifier if provided").nullable().optional(),
|
|
94
94
|
created_at: zod.z.string().describe("ISO 8601 timestamp when the task was created").nullable().optional(),
|
|
@@ -97,7 +97,7 @@ const ScaleAiCreateDocumentTranscriptionTaskOutput = zod.z.object({
|
|
|
97
97
|
callback_url: zod.z.string().describe("Callback endpoint if provided").nullable().optional(),
|
|
98
98
|
completed_at: zod.z.string().describe("ISO 8601 timestamp when task was finished (present only when completed)").nullable().optional(),
|
|
99
99
|
callback_completed: zod.z.boolean().describe("Whether callback was successfully sent").nullable().optional()
|
|
100
|
-
}).describe("Response model for created document transcription task.");
|
|
100
|
+
}).passthrough().describe("Response model for created document transcription task.");
|
|
101
101
|
const scaleAiCreateDocumentTranscriptionTask = require_action.action("SCALE_AI_CREATE_DOCUMENT_TRANSCRIPTION_TASK", {
|
|
102
102
|
slug: "scale_ai-create-document-transcription-task",
|
|
103
103
|
name: "Create Document Transcription Task",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-document-transcription-task.cjs","names":["z","action"],"sources":["../../src/actions/create-document-transcription-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiCreateDocumentTranscriptionTaskInput: z.ZodTypeAny = z.object({\n lang: z.string().describe(\"Language code for the attachment (Default: 'en-US')\").optional(),\n tags: z.array(z.string()).describe(\"Arbitrary labels for task organization (maximum 5 tags allowed)\").optional(),\n batch: z.string().describe(\"Batch name; automatically associates task with the batch's project\").optional(),\n title: z.string().describe(\"Task title\").optional(),\n project: z.string().describe(\"Name of the project to associate this task with\").optional(),\n features: z.array(z.object({\n type: z.string().describe(\"Field type: 'text', 'category', 'select', 'boolean', 'number', 'datetime', 'time_range', 'block', or 'group'\"),\n title: z.string().describe(\"Field title displayed to taskers\"),\n choices: z.array(z.object({\n label: z.string().describe(\"Display label for the choice\"),\n value: z.string().describe(\"Value to be stored for this choice\"),\n}).describe(\"Choice option for category or select type fields.\")).describe(\"Array of choice objects for category or select fields\").optional(),\n field_id: z.string().describe(\"Unique identifier for the field\"),\n required: z.boolean().describe(\"Whether this field is required\").optional(),\n conditions: z.array(z.object({\n value: z.union([z.string(), z.boolean(), z.number().int()]),\n field_id: z.string().describe(\"The field_id that this condition depends on\"),\n}).describe(\"Conditional logic for when a field should be shown.\")).describe(\"Conditional logic for when field should be shown\").optional(),\n subchoices: z.array(z.object({})).describe(\"Nested sub-choices for hierarchical selection\").optional(),\n description: z.string().describe(\"Brief description about what the response should be\").optional(),\n max_choices: z.number().int().describe(\"Maximum number of choices for category fields\").optional(),\n min_choices: z.number().int().describe(\"Minimum number of choices for category fields\").optional(),\n transcription_choices: z.array(z.string()).describe(\"Specific choices for transcription select fields\").optional(),\n}).describe(\"Field definition describing what data to transcribe from the document.\")).describe(\"Array of field definitions describing what data to transcribe\").optional(),\n geometry: z.string().describe(\"Geometry type for annotations: 'box' (axis-aligned rectangles) or 'polygon' (rotated rectangles). Default: 'box'\").optional(),\n metadata: z.object({}).describe(\"Custom metadata as key-value pairs for storing additional structured information\").optional(),\n priority: z.number().int().describe(\"Task priority level (Range: 0-100, Default: 30)\").optional(),\n unique_id: z.string().describe(\"Arbitrary unique identifier for task deduplication and later querying\").optional(),\n attachment: z.string().describe(\"URL of a single document to be transcribed. Either attachment or attachments is required\").optional(),\n hypothesis: z.object({}).describe(\"Pre-labels to accelerate annotation, matching the task's response schema\").optional(),\n attachments: z.array(z.string()).describe(\"Array of URLs for multi-page documents. Either attachment or attachments is required\").optional(),\n description: z.string().describe(\"Task description\").optional(),\n instruction: z.string().describe(\"Markdown-enabled instructions explaining the task to taskers\"),\n callback_url: z.string().describe(\"Full URL (including scheme) or email address for completion notification\").optional(),\n responses_required: z.number().int().describe(\"Number of responses needed (Default: 1)\").optional(),\n clear_unique_id_on_error: z.boolean().describe(\"If true, unsets unique_id if task errors after submission\").optional(),\n}).describe(\"Request model for creating a document transcription task.\");\nconst ScaleAiCreateDocumentTranscriptionTask_TaskParamsSchema: z.ZodTypeAny = z.object({\n lang: z.string().describe(\"Language code for the attachment\").nullable().optional(),\n features: z.array(z.object({})).describe(\"Array of field definitions\").nullable().optional(),\n geometry: z.string().describe(\"Geometry type for annotations\").nullable().optional(),\n attachment: z.string().describe(\"URL to the document being transcribed\").nullable().optional(),\n attachments: z.array(z.string()).describe(\"Array of URLs for multi-page documents\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions\").nullable().optional(),\n}).describe(\"Task parameters containing the submitted request parameters.\");\nconst ScaleAiCreateDocumentTranscriptionTask_AnnotationGeometrySchema: z.ZodTypeAny = z.object({\n top: z.number().int().describe(\"Top position in pixels (for box)\").nullable().optional(),\n left: z.number().int().describe(\"Left position in pixels (for box)\").nullable().optional(),\n width: z.number().int().describe(\"Width in pixels (for box)\").nullable().optional(),\n height: z.number().int().describe(\"Height in pixels (for box)\").nullable().optional(),\n vertices: z.array(z.object({})).describe(\"Array of coordinate objects with x and y (for polygon)\").nullable().optional(),\n}).describe(\"Geometric coordinates for annotation.\");\nconst ScaleAiCreateDocumentTranscriptionTask_AnnotationSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"The annotation/field type\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the annotation\").nullable().optional(),\n label: z.string().describe(\"Classification label for the annotation\").nullable().optional(),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]))]).nullable().optional(),\n field_id: z.string().describe(\"The field_id from features array\").nullable().optional(),\n geometry: ScaleAiCreateDocumentTranscriptionTask_AnnotationGeometrySchema.nullable().optional(),\n attributes: z.object({}).describe(\"Additional annotation attributes\").nullable().optional(),\n}).describe(\"Individual annotation object in the response.\");\nconst ScaleAiCreateDocumentTranscriptionTask_TaskResponseSchema: z.ZodTypeAny = z.object({\n annotations: z.array(ScaleAiCreateDocumentTranscriptionTask_AnnotationSchema).describe(\"Array of annotation objects created by taskers\").nullable().optional(),\n}).describe(\"Task response containing annotations when completed.\");\nexport const ScaleAiCreateDocumentTranscriptionTaskOutput: z.ZodTypeAny = z.object({\n tags: z.array(z.string()).describe(\"Task tags if provided\").nullable().optional(),\n type: z.string().describe(\"Task type: 'documenttranscription'\").nullable().optional(),\n audits: z.array(z.object({})).describe(\"Array of audit records showing quality reviews and modifications\").nullable().optional(),\n params: ScaleAiCreateDocumentTranscriptionTask_TaskParamsSchema.nullable().optional(),\n status: z.string().describe(\"Current task status: 'pending', 'completed', 'canceled', or 'error'\").nullable().optional(),\n is_test: z.boolean().describe(\"Indicates if this is a test task\").nullable().optional(),\n project: z.string().describe(\"Associated project name\").nullable().optional(),\n task_id: z.string().describe(\"Unique permanent task identifier\").nullable().optional(),\n metadata: z.object({}).describe(\"Associated metadata object with custom key-value pairs\").nullable().optional(),\n response: ScaleAiCreateDocumentTranscriptionTask_TaskResponseSchema.nullable().optional(),\n unique_id: z.string().describe(\"Custom identifier if provided\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the task was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of most recent update\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions as provided\").nullable().optional(),\n callback_url: z.string().describe(\"Callback endpoint if provided\").nullable().optional(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when task was finished (present only when completed)\").nullable().optional(),\n callback_completed: z.boolean().describe(\"Whether callback was successfully sent\").nullable().optional(),\n}).describe(\"Response model for created document transcription task.\");\n\nexport const scaleAiCreateDocumentTranscriptionTask = action(\"SCALE_AI_CREATE_DOCUMENT_TRANSCRIPTION_TASK\", {\n slug: \"scale_ai-create-document-transcription-task\",\n name: \"Create Document Transcription Task\",\n description: \"Tool to create a document transcription task where workers transcribe and annotate information from single or multi-page documents. Use when you need to extract structured data from documents like invoices, forms, or screenshots.\",\n input: ScaleAiCreateDocumentTranscriptionTaskInput,\n output: ScaleAiCreateDocumentTranscriptionTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4DA,I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],"sources":["../../src/actions/create-document-transcription-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiCreateDocumentTranscriptionTaskInput = z.object({\n lang: z.string().describe(\"Language code for the attachment (Default: 'en-US')\").optional(),\n tags: z.array(z.string()).describe(\"Arbitrary labels for task organization (maximum 5 tags allowed)\").optional(),\n batch: z.string().describe(\"Batch name; automatically associates task with the batch's project\").optional(),\n title: z.string().describe(\"Task title\").optional(),\n project: z.string().describe(\"Name of the project to associate this task with\").optional(),\n features: z.array(z.object({\n type: z.string().describe(\"Field type: 'text', 'category', 'select', 'boolean', 'number', 'datetime', 'time_range', 'block', or 'group'\"),\n title: z.string().describe(\"Field title displayed to taskers\"),\n choices: z.array(z.object({\n label: z.string().describe(\"Display label for the choice\"),\n value: z.string().describe(\"Value to be stored for this choice\"),\n}).passthrough().describe(\"Choice option for category or select type fields.\")).describe(\"Array of choice objects for category or select fields\").optional(),\n field_id: z.string().describe(\"Unique identifier for the field\"),\n required: z.boolean().describe(\"Whether this field is required\").optional(),\n conditions: z.array(z.object({\n value: z.union([z.string(), z.boolean(), z.number().int()]),\n field_id: z.string().describe(\"The field_id that this condition depends on\"),\n}).passthrough().describe(\"Conditional logic for when a field should be shown.\")).describe(\"Conditional logic for when field should be shown\").optional(),\n subchoices: z.array(z.record(z.string(), z.unknown())).describe(\"Nested sub-choices for hierarchical selection\").optional(),\n description: z.string().describe(\"Brief description about what the response should be\").optional(),\n max_choices: z.number().int().describe(\"Maximum number of choices for category fields\").optional(),\n min_choices: z.number().int().describe(\"Minimum number of choices for category fields\").optional(),\n transcription_choices: z.array(z.string()).describe(\"Specific choices for transcription select fields\").optional(),\n}).passthrough().describe(\"Field definition describing what data to transcribe from the document.\")).describe(\"Array of field definitions describing what data to transcribe\").optional(),\n geometry: z.string().describe(\"Geometry type for annotations: 'box' (axis-aligned rectangles) or 'polygon' (rotated rectangles). Default: 'box'\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata as key-value pairs for storing additional structured information\").optional(),\n priority: z.number().int().describe(\"Task priority level (Range: 0-100, Default: 30)\").optional(),\n unique_id: z.string().describe(\"Arbitrary unique identifier for task deduplication and later querying\").optional(),\n attachment: z.string().describe(\"URL of a single document to be transcribed. Either attachment or attachments is required\").optional(),\n hypothesis: z.record(z.string(), z.unknown()).describe(\"Pre-labels to accelerate annotation, matching the task's response schema\").optional(),\n attachments: z.array(z.string()).describe(\"Array of URLs for multi-page documents. Either attachment or attachments is required\").optional(),\n description: z.string().describe(\"Task description\").optional(),\n instruction: z.string().describe(\"Markdown-enabled instructions explaining the task to taskers\"),\n callback_url: z.string().describe(\"Full URL (including scheme) or email address for completion notification\").optional(),\n responses_required: z.number().int().describe(\"Number of responses needed (Default: 1)\").optional(),\n clear_unique_id_on_error: z.boolean().describe(\"If true, unsets unique_id if task errors after submission\").optional(),\n}).describe(\"Request model for creating a document transcription task.\");\nconst ScaleAiCreateDocumentTranscriptionTask_TaskParamsSchema = z.object({\n lang: z.string().describe(\"Language code for the attachment\").nullable().optional(),\n features: z.array(z.record(z.string(), z.unknown())).describe(\"Array of field definitions\").nullable().optional(),\n geometry: z.string().describe(\"Geometry type for annotations\").nullable().optional(),\n attachment: z.string().describe(\"URL to the document being transcribed\").nullable().optional(),\n attachments: z.array(z.string()).describe(\"Array of URLs for multi-page documents\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions\").nullable().optional(),\n}).passthrough().describe(\"Task parameters containing the submitted request parameters.\");\nconst ScaleAiCreateDocumentTranscriptionTask_AnnotationGeometrySchema = z.object({\n top: z.number().int().describe(\"Top position in pixels (for box)\").nullable().optional(),\n left: z.number().int().describe(\"Left position in pixels (for box)\").nullable().optional(),\n width: z.number().int().describe(\"Width in pixels (for box)\").nullable().optional(),\n height: z.number().int().describe(\"Height in pixels (for box)\").nullable().optional(),\n vertices: z.array(z.record(z.string(), z.unknown())).describe(\"Array of coordinate objects with x and y (for polygon)\").nullable().optional(),\n}).passthrough().describe(\"Geometric coordinates for annotation.\");\nconst ScaleAiCreateDocumentTranscriptionTask_AnnotationSchema = z.object({\n type: z.string().describe(\"The annotation/field type\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the annotation\").nullable().optional(),\n label: z.string().describe(\"Classification label for the annotation\").nullable().optional(),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]))]).nullable().optional(),\n field_id: z.string().describe(\"The field_id from features array\").nullable().optional(),\n geometry: ScaleAiCreateDocumentTranscriptionTask_AnnotationGeometrySchema.nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional annotation attributes\").nullable().optional(),\n}).passthrough().describe(\"Individual annotation object in the response.\");\nconst ScaleAiCreateDocumentTranscriptionTask_TaskResponseSchema = z.object({\n annotations: z.array(ScaleAiCreateDocumentTranscriptionTask_AnnotationSchema).describe(\"Array of annotation objects created by taskers\").nullable().optional(),\n}).passthrough().describe(\"Task response containing annotations when completed.\");\nexport const ScaleAiCreateDocumentTranscriptionTaskOutput = z.object({\n tags: z.array(z.string()).describe(\"Task tags if provided\").nullable().optional(),\n type: z.string().describe(\"Task type: 'documenttranscription'\").nullable().optional(),\n audits: z.array(z.record(z.string(), z.unknown())).describe(\"Array of audit records showing quality reviews and modifications\").nullable().optional(),\n params: ScaleAiCreateDocumentTranscriptionTask_TaskParamsSchema.nullable().optional(),\n status: z.string().describe(\"Current task status: 'pending', 'completed', 'canceled', or 'error'\").nullable().optional(),\n is_test: z.boolean().describe(\"Indicates if this is a test task\").nullable().optional(),\n project: z.string().describe(\"Associated project name\").nullable().optional(),\n task_id: z.string().describe(\"Unique permanent task identifier\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Associated metadata object with custom key-value pairs\").nullable().optional(),\n response: ScaleAiCreateDocumentTranscriptionTask_TaskResponseSchema.nullable().optional(),\n unique_id: z.string().describe(\"Custom identifier if provided\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the task was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of most recent update\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions as provided\").nullable().optional(),\n callback_url: z.string().describe(\"Callback endpoint if provided\").nullable().optional(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when task was finished (present only when completed)\").nullable().optional(),\n callback_completed: z.boolean().describe(\"Whether callback was successfully sent\").nullable().optional(),\n}).passthrough().describe(\"Response model for created document transcription task.\");\n\nexport const scaleAiCreateDocumentTranscriptionTask = action(\"SCALE_AI_CREATE_DOCUMENT_TRANSCRIPTION_TASK\", {\n slug: \"scale_ai-create-document-transcription-task\",\n name: \"Create Document Transcription Task\",\n description: \"Tool to create a document transcription task where workers transcribe and annotate information from single or multi-page documents. Use when you need to extract structured data from documents like invoices, forms, or screenshots.\",\n input: ScaleAiCreateDocumentTranscriptionTaskInput,\n output: ScaleAiCreateDocumentTranscriptionTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC/G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC1G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;EACxI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS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