@keystrokehq/scale_ai 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-studio-assignments.cjs +19 -0
- package/dist/actions/add-studio-assignments.cjs.map +1 -0
- package/dist/actions/add-studio-assignments.d.cts +9 -0
- package/dist/actions/add-studio-assignments.d.cts.map +1 -0
- package/dist/actions/add-studio-assignments.d.mts +9 -0
- package/dist/actions/add-studio-assignments.d.mts.map +1 -0
- package/dist/actions/add-studio-assignments.mjs +16 -0
- package/dist/actions/add-studio-assignments.mjs.map +1 -0
- package/dist/actions/add-task-tags.cjs +29 -0
- package/dist/actions/add-task-tags.cjs.map +1 -0
- package/dist/actions/add-task-tags.d.cts +9 -0
- package/dist/actions/add-task-tags.d.cts.map +1 -0
- package/dist/actions/add-task-tags.d.mts +9 -0
- package/dist/actions/add-task-tags.d.mts.map +1 -0
- package/dist/actions/add-task-tags.mjs +26 -0
- package/dist/actions/add-task-tags.mjs.map +1 -0
- package/dist/actions/create-batch.cjs +29 -0
- package/dist/actions/create-batch.cjs.map +1 -0
- package/dist/actions/create-batch.d.cts +9 -0
- package/dist/actions/create-batch.d.cts.map +1 -0
- package/dist/actions/create-batch.d.mts +9 -0
- package/dist/actions/create-batch.d.mts.map +1 -0
- package/dist/actions/create-batch.mjs +26 -0
- package/dist/actions/create-batch.mjs.map +1 -0
- package/dist/actions/create-document-transcription-task.cjs +111 -0
- package/dist/actions/create-document-transcription-task.cjs.map +1 -0
- package/dist/actions/create-document-transcription-task.d.cts +9 -0
- package/dist/actions/create-document-transcription-task.d.cts.map +1 -0
- package/dist/actions/create-document-transcription-task.d.mts +9 -0
- package/dist/actions/create-document-transcription-task.d.mts.map +1 -0
- package/dist/actions/create-document-transcription-task.mjs +110 -0
- package/dist/actions/create-document-transcription-task.mjs.map +1 -0
- package/dist/actions/create-image-annotation-task.cjs +188 -0
- package/dist/actions/create-image-annotation-task.cjs.map +1 -0
- package/dist/actions/create-image-annotation-task.d.cts +9 -0
- package/dist/actions/create-image-annotation-task.d.cts.map +1 -0
- package/dist/actions/create-image-annotation-task.d.mts +9 -0
- package/dist/actions/create-image-annotation-task.d.mts.map +1 -0
- package/dist/actions/create-image-annotation-task.mjs +187 -0
- package/dist/actions/create-image-annotation-task.mjs.map +1 -0
- package/dist/actions/create-lidar-annotation-task.cjs +52 -0
- package/dist/actions/create-lidar-annotation-task.cjs.map +1 -0
- package/dist/actions/create-lidar-annotation-task.d.cts +9 -0
- package/dist/actions/create-lidar-annotation-task.d.cts.map +1 -0
- package/dist/actions/create-lidar-annotation-task.d.mts +9 -0
- package/dist/actions/create-lidar-annotation-task.d.mts.map +1 -0
- package/dist/actions/create-lidar-annotation-task.mjs +51 -0
- package/dist/actions/create-lidar-annotation-task.mjs.map +1 -0
- package/dist/actions/create-lidar-segmentation-task.cjs +52 -0
- package/dist/actions/create-lidar-segmentation-task.cjs.map +1 -0
- package/dist/actions/create-lidar-segmentation-task.d.cts +9 -0
- package/dist/actions/create-lidar-segmentation-task.d.cts.map +1 -0
- package/dist/actions/create-lidar-segmentation-task.d.mts +9 -0
- package/dist/actions/create-lidar-segmentation-task.d.mts.map +1 -0
- package/dist/actions/create-lidar-segmentation-task.mjs +51 -0
- package/dist/actions/create-lidar-segmentation-task.mjs.map +1 -0
- package/dist/actions/create-named-entity-recognition-task.cjs +59 -0
- package/dist/actions/create-named-entity-recognition-task.cjs.map +1 -0
- package/dist/actions/create-named-entity-recognition-task.d.cts +9 -0
- package/dist/actions/create-named-entity-recognition-task.d.cts.map +1 -0
- package/dist/actions/create-named-entity-recognition-task.d.mts +9 -0
- package/dist/actions/create-named-entity-recognition-task.d.mts.map +1 -0
- package/dist/actions/create-named-entity-recognition-task.mjs +58 -0
- package/dist/actions/create-named-entity-recognition-task.mjs.map +1 -0
- package/dist/actions/create-segmentation-annotation-task.cjs +72 -0
- package/dist/actions/create-segmentation-annotation-task.cjs.map +1 -0
- package/dist/actions/create-segmentation-annotation-task.d.cts +9 -0
- package/dist/actions/create-segmentation-annotation-task.d.cts.map +1 -0
- package/dist/actions/create-segmentation-annotation-task.d.mts +9 -0
- package/dist/actions/create-segmentation-annotation-task.d.mts.map +1 -0
- package/dist/actions/create-segmentation-annotation-task.mjs +71 -0
- package/dist/actions/create-segmentation-annotation-task.mjs.map +1 -0
- package/dist/actions/create-text-collection-task.cjs +69 -0
- package/dist/actions/create-text-collection-task.cjs.map +1 -0
- package/dist/actions/create-text-collection-task.d.cts +9 -0
- package/dist/actions/create-text-collection-task.d.cts.map +1 -0
- package/dist/actions/create-text-collection-task.d.mts +9 -0
- package/dist/actions/create-text-collection-task.d.mts.map +1 -0
- package/dist/actions/create-text-collection-task.mjs +68 -0
- package/dist/actions/create-text-collection-task.mjs.map +1 -0
- package/dist/actions/create-video-annotation-task.cjs +120 -0
- package/dist/actions/create-video-annotation-task.cjs.map +1 -0
- package/dist/actions/create-video-annotation-task.d.cts +9 -0
- package/dist/actions/create-video-annotation-task.d.cts.map +1 -0
- package/dist/actions/create-video-annotation-task.d.mts +9 -0
- package/dist/actions/create-video-annotation-task.d.mts.map +1 -0
- package/dist/actions/create-video-annotation-task.mjs +119 -0
- package/dist/actions/create-video-annotation-task.mjs.map +1 -0
- package/dist/actions/create-video-playback-annotation-task.cjs +152 -0
- package/dist/actions/create-video-playback-annotation-task.cjs.map +1 -0
- package/dist/actions/create-video-playback-annotation-task.d.cts +9 -0
- package/dist/actions/create-video-playback-annotation-task.d.cts.map +1 -0
- package/dist/actions/create-video-playback-annotation-task.d.mts +9 -0
- package/dist/actions/create-video-playback-annotation-task.d.mts.map +1 -0
- package/dist/actions/create-video-playback-annotation-task.mjs +151 -0
- package/dist/actions/create-video-playback-annotation-task.mjs.map +1 -0
- package/dist/actions/delete-task-tags.cjs +28 -0
- package/dist/actions/delete-task-tags.cjs.map +1 -0
- package/dist/actions/delete-task-tags.d.cts +9 -0
- package/dist/actions/delete-task-tags.d.cts.map +1 -0
- package/dist/actions/delete-task-tags.d.mts +9 -0
- package/dist/actions/delete-task-tags.d.mts.map +1 -0
- package/dist/actions/delete-task-tags.mjs +25 -0
- package/dist/actions/delete-task-tags.mjs.map +1 -0
- package/dist/actions/delete-task-unique-id.cjs +26 -0
- package/dist/actions/delete-task-unique-id.cjs.map +1 -0
- package/dist/actions/delete-task-unique-id.d.cts +9 -0
- package/dist/actions/delete-task-unique-id.d.cts.map +1 -0
- package/dist/actions/delete-task-unique-id.d.mts +9 -0
- package/dist/actions/delete-task-unique-id.d.mts.map +1 -0
- package/dist/actions/delete-task-unique-id.mjs +25 -0
- package/dist/actions/delete-task-unique-id.mjs.map +1 -0
- package/dist/actions/finalize-batch.cjs +23 -0
- package/dist/actions/finalize-batch.cjs.map +1 -0
- package/dist/actions/finalize-batch.d.cts +9 -0
- package/dist/actions/finalize-batch.d.cts.map +1 -0
- package/dist/actions/finalize-batch.d.mts +9 -0
- package/dist/actions/finalize-batch.d.mts.map +1 -0
- package/dist/actions/finalize-batch.mjs +20 -0
- package/dist/actions/finalize-batch.mjs.map +1 -0
- package/dist/actions/get-assets.cjs +33 -0
- package/dist/actions/get-assets.cjs.map +1 -0
- package/dist/actions/get-assets.d.cts +9 -0
- package/dist/actions/get-assets.d.cts.map +1 -0
- package/dist/actions/get-assets.d.mts +9 -0
- package/dist/actions/get-assets.d.mts.map +1 -0
- package/dist/actions/get-assets.mjs +32 -0
- package/dist/actions/get-assets.mjs.map +1 -0
- package/dist/actions/get-batch-status.cjs +22 -0
- package/dist/actions/get-batch-status.cjs.map +1 -0
- package/dist/actions/get-batch-status.d.cts +9 -0
- package/dist/actions/get-batch-status.d.cts.map +1 -0
- package/dist/actions/get-batch-status.d.mts +9 -0
- package/dist/actions/get-batch-status.d.mts.map +1 -0
- package/dist/actions/get-batch-status.mjs +19 -0
- package/dist/actions/get-batch-status.mjs.map +1 -0
- package/dist/actions/get-batch.cjs +23 -0
- package/dist/actions/get-batch.cjs.map +1 -0
- package/dist/actions/get-batch.d.cts +9 -0
- package/dist/actions/get-batch.d.cts.map +1 -0
- package/dist/actions/get-batch.d.mts +9 -0
- package/dist/actions/get-batch.d.mts.map +1 -0
- package/dist/actions/get-batch.mjs +20 -0
- package/dist/actions/get-batch.mjs.map +1 -0
- package/dist/actions/get-fixless-audits.cjs +45 -0
- package/dist/actions/get-fixless-audits.cjs.map +1 -0
- package/dist/actions/get-fixless-audits.d.cts +9 -0
- package/dist/actions/get-fixless-audits.d.cts.map +1 -0
- package/dist/actions/get-fixless-audits.d.mts +9 -0
- package/dist/actions/get-fixless-audits.d.mts.map +1 -0
- package/dist/actions/get-fixless-audits.mjs +44 -0
- package/dist/actions/get-fixless-audits.mjs.map +1 -0
- package/dist/actions/get-project.cjs +26 -0
- package/dist/actions/get-project.cjs.map +1 -0
- package/dist/actions/get-project.d.cts +9 -0
- package/dist/actions/get-project.d.cts.map +1 -0
- package/dist/actions/get-project.d.mts +9 -0
- package/dist/actions/get-project.d.mts.map +1 -0
- package/dist/actions/get-project.mjs +25 -0
- package/dist/actions/get-project.mjs.map +1 -0
- package/dist/actions/get-quality-labelers.cjs +34 -0
- package/dist/actions/get-quality-labelers.cjs.map +1 -0
- package/dist/actions/get-quality-labelers.d.cts +9 -0
- package/dist/actions/get-quality-labelers.d.cts.map +1 -0
- package/dist/actions/get-quality-labelers.d.mts +9 -0
- package/dist/actions/get-quality-labelers.d.mts.map +1 -0
- package/dist/actions/get-quality-labelers.mjs +33 -0
- package/dist/actions/get-quality-labelers.mjs.map +1 -0
- package/dist/actions/get-studio-assignments.cjs +23 -0
- package/dist/actions/get-studio-assignments.cjs.map +1 -0
- package/dist/actions/get-studio-assignments.d.cts +9 -0
- package/dist/actions/get-studio-assignments.d.cts.map +1 -0
- package/dist/actions/get-studio-assignments.d.mts +9 -0
- package/dist/actions/get-studio-assignments.d.mts.map +1 -0
- package/dist/actions/get-studio-assignments.mjs +22 -0
- package/dist/actions/get-studio-assignments.mjs.map +1 -0
- package/dist/actions/get-studio-batches.cjs +25 -0
- package/dist/actions/get-studio-batches.cjs.map +1 -0
- package/dist/actions/get-studio-batches.d.cts +9 -0
- package/dist/actions/get-studio-batches.d.cts.map +1 -0
- package/dist/actions/get-studio-batches.d.mts +9 -0
- package/dist/actions/get-studio-batches.d.mts.map +1 -0
- package/dist/actions/get-studio-batches.mjs +24 -0
- package/dist/actions/get-studio-batches.mjs.map +1 -0
- package/dist/actions/get-teams.cjs +26 -0
- package/dist/actions/get-teams.cjs.map +1 -0
- package/dist/actions/get-teams.d.cts +9 -0
- package/dist/actions/get-teams.d.cts.map +1 -0
- package/dist/actions/get-teams.d.mts +9 -0
- package/dist/actions/get-teams.d.mts.map +1 -0
- package/dist/actions/get-teams.mjs +25 -0
- package/dist/actions/get-teams.mjs.map +1 -0
- package/dist/actions/get-v1-task-response-url.cjs +24 -0
- package/dist/actions/get-v1-task-response-url.cjs.map +1 -0
- package/dist/actions/get-v1-task-response-url.d.cts +9 -0
- package/dist/actions/get-v1-task-response-url.d.cts.map +1 -0
- package/dist/actions/get-v1-task-response-url.d.mts +9 -0
- package/dist/actions/get-v1-task-response-url.d.mts.map +1 -0
- package/dist/actions/get-v1-task-response-url.mjs +21 -0
- package/dist/actions/get-v1-task-response-url.mjs.map +1 -0
- package/dist/actions/get-v1-task.cjs +28 -0
- package/dist/actions/get-v1-task.cjs.map +1 -0
- package/dist/actions/get-v1-task.d.cts +9 -0
- package/dist/actions/get-v1-task.d.cts.map +1 -0
- package/dist/actions/get-v1-task.d.mts +9 -0
- package/dist/actions/get-v1-task.d.mts.map +1 -0
- package/dist/actions/get-v1-task.mjs +25 -0
- package/dist/actions/get-v1-task.mjs.map +1 -0
- package/dist/actions/import-file.cjs +27 -0
- package/dist/actions/import-file.cjs.map +1 -0
- package/dist/actions/import-file.d.cts +9 -0
- package/dist/actions/import-file.d.cts.map +1 -0
- package/dist/actions/import-file.d.mts +9 -0
- package/dist/actions/import-file.d.mts.map +1 -0
- package/dist/actions/import-file.mjs +24 -0
- package/dist/actions/import-file.mjs.map +1 -0
- package/dist/actions/index.cjs +81 -0
- package/dist/actions/index.d.cts +41 -0
- package/dist/actions/index.d.mts +41 -0
- package/dist/actions/index.mjs +41 -0
- package/dist/actions/invite-team-member.cjs +29 -0
- package/dist/actions/invite-team-member.cjs.map +1 -0
- package/dist/actions/invite-team-member.d.cts +9 -0
- package/dist/actions/invite-team-member.d.cts.map +1 -0
- package/dist/actions/invite-team-member.d.mts +9 -0
- package/dist/actions/invite-team-member.d.mts.map +1 -0
- package/dist/actions/invite-team-member.mjs +28 -0
- package/dist/actions/invite-team-member.mjs.map +1 -0
- package/dist/actions/list-batches.cjs +37 -0
- package/dist/actions/list-batches.cjs.map +1 -0
- package/dist/actions/list-batches.d.cts +9 -0
- package/dist/actions/list-batches.d.cts.map +1 -0
- package/dist/actions/list-batches.d.mts +9 -0
- package/dist/actions/list-batches.d.mts.map +1 -0
- package/dist/actions/list-batches.mjs +36 -0
- package/dist/actions/list-batches.mjs.map +1 -0
- package/dist/actions/list-projects.cjs +37 -0
- package/dist/actions/list-projects.cjs.map +1 -0
- package/dist/actions/list-projects.d.cts +9 -0
- package/dist/actions/list-projects.d.cts.map +1 -0
- package/dist/actions/list-projects.d.mts +9 -0
- package/dist/actions/list-projects.d.mts.map +1 -0
- package/dist/actions/list-projects.mjs +36 -0
- package/dist/actions/list-projects.mjs.map +1 -0
- package/dist/actions/list-tasks.cjs +53 -0
- package/dist/actions/list-tasks.cjs.map +1 -0
- package/dist/actions/list-tasks.d.cts +9 -0
- package/dist/actions/list-tasks.d.cts.map +1 -0
- package/dist/actions/list-tasks.d.mts +9 -0
- package/dist/actions/list-tasks.d.mts.map +1 -0
- package/dist/actions/list-tasks.mjs +52 -0
- package/dist/actions/list-tasks.mjs.map +1 -0
- package/dist/actions/post-v1-task-send-callback.cjs +22 -0
- package/dist/actions/post-v1-task-send-callback.cjs.map +1 -0
- package/dist/actions/post-v1-task-send-callback.d.cts +9 -0
- package/dist/actions/post-v1-task-send-callback.d.cts.map +1 -0
- package/dist/actions/post-v1-task-send-callback.d.mts +9 -0
- package/dist/actions/post-v1-task-send-callback.d.mts.map +1 -0
- package/dist/actions/post-v1-task-send-callback.mjs +19 -0
- package/dist/actions/post-v1-task-send-callback.mjs.map +1 -0
- package/dist/actions/remove-studio-assignments.cjs +33 -0
- package/dist/actions/remove-studio-assignments.cjs.map +1 -0
- package/dist/actions/remove-studio-assignments.d.cts +9 -0
- package/dist/actions/remove-studio-assignments.d.cts.map +1 -0
- package/dist/actions/remove-studio-assignments.d.mts +9 -0
- package/dist/actions/remove-studio-assignments.d.mts.map +1 -0
- package/dist/actions/remove-studio-assignments.mjs +32 -0
- package/dist/actions/remove-studio-assignments.mjs.map +1 -0
- package/dist/actions/reset-batch-priorities.cjs +25 -0
- package/dist/actions/reset-batch-priorities.cjs.map +1 -0
- package/dist/actions/reset-batch-priorities.d.cts +9 -0
- package/dist/actions/reset-batch-priorities.d.cts.map +1 -0
- package/dist/actions/reset-batch-priorities.d.mts +9 -0
- package/dist/actions/reset-batch-priorities.d.mts.map +1 -0
- package/dist/actions/reset-batch-priorities.mjs +24 -0
- package/dist/actions/reset-batch-priorities.mjs.map +1 -0
- package/dist/actions/set-batch-priorities.cjs +27 -0
- package/dist/actions/set-batch-priorities.cjs.map +1 -0
- package/dist/actions/set-batch-priorities.d.cts +9 -0
- package/dist/actions/set-batch-priorities.d.cts.map +1 -0
- package/dist/actions/set-batch-priorities.d.mts +9 -0
- package/dist/actions/set-batch-priorities.d.mts.map +1 -0
- package/dist/actions/set-batch-priorities.mjs +26 -0
- package/dist/actions/set-batch-priorities.mjs.map +1 -0
- package/dist/actions/set-project-ontology.cjs +44 -0
- package/dist/actions/set-project-ontology.cjs.map +1 -0
- package/dist/actions/set-project-ontology.d.cts +9 -0
- package/dist/actions/set-project-ontology.d.cts.map +1 -0
- package/dist/actions/set-project-ontology.d.mts +9 -0
- package/dist/actions/set-project-ontology.d.mts.map +1 -0
- package/dist/actions/set-project-ontology.mjs +43 -0
- package/dist/actions/set-project-ontology.mjs.map +1 -0
- package/dist/actions/set-project-params.cjs +32 -0
- package/dist/actions/set-project-params.cjs.map +1 -0
- package/dist/actions/set-project-params.d.cts +9 -0
- package/dist/actions/set-project-params.d.cts.map +1 -0
- package/dist/actions/set-project-params.d.mts +9 -0
- package/dist/actions/set-project-params.d.mts.map +1 -0
- package/dist/actions/set-project-params.mjs +31 -0
- package/dist/actions/set-project-params.mjs.map +1 -0
- package/dist/actions/set-task-metadata.cjs +34 -0
- package/dist/actions/set-task-metadata.cjs.map +1 -0
- package/dist/actions/set-task-metadata.d.cts +9 -0
- package/dist/actions/set-task-metadata.d.cts.map +1 -0
- package/dist/actions/set-task-metadata.d.mts +9 -0
- package/dist/actions/set-task-metadata.d.mts.map +1 -0
- package/dist/actions/set-task-metadata.mjs +31 -0
- package/dist/actions/set-task-metadata.mjs.map +1 -0
- package/dist/actions/update-task-unique-id.cjs +30 -0
- package/dist/actions/update-task-unique-id.cjs.map +1 -0
- package/dist/actions/update-task-unique-id.d.cts +9 -0
- package/dist/actions/update-task-unique-id.d.cts.map +1 -0
- package/dist/actions/update-task-unique-id.d.mts +9 -0
- package/dist/actions/update-task-unique-id.d.mts.map +1 -0
- package/dist/actions/update-task-unique-id.mjs +29 -0
- package/dist/actions/update-task-unique-id.mjs.map +1 -0
- package/dist/actions/upload-file.cjs +34 -0
- package/dist/actions/upload-file.cjs.map +1 -0
- package/dist/actions/upload-file.d.cts +9 -0
- package/dist/actions/upload-file.d.cts.map +1 -0
- package/dist/actions/upload-file.d.mts +9 -0
- package/dist/actions/upload-file.d.mts.map +1 -0
- package/dist/actions/upload-file.mjs +31 -0
- package/dist/actions/upload-file.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +86 -0
- package/dist/index.d.cts +43 -0
- package/dist/index.d.mts +43 -0
- package/dist/index.mjs +44 -0
- package/package.json +49 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-task-unique-id.d.ts
|
|
4
|
+
declare const ScaleAiDeleteTaskUniqueIdInput: z.ZodTypeAny;
|
|
5
|
+
declare const ScaleAiDeleteTaskUniqueIdOutput: z.ZodTypeAny;
|
|
6
|
+
declare const scaleAiDeleteTaskUniqueId: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { scaleAiDeleteTaskUniqueId };
|
|
9
|
+
//# sourceMappingURL=delete-task-unique-id.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-task-unique-id.d.cts","names":[],"sources":["../../src/actions/delete-task-unique-id.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAE6B;AAAA,cAE/D,+BAAA,EAAiC,CAAA,CAAE,UAS0B;AAAA,cAE7D,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-task-unique-id.d.ts
|
|
4
|
+
declare const ScaleAiDeleteTaskUniqueIdInput: z.ZodTypeAny;
|
|
5
|
+
declare const ScaleAiDeleteTaskUniqueIdOutput: z.ZodTypeAny;
|
|
6
|
+
declare const scaleAiDeleteTaskUniqueId: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { scaleAiDeleteTaskUniqueId };
|
|
9
|
+
//# sourceMappingURL=delete-task-unique-id.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-task-unique-id.d.mts","names":[],"sources":["../../src/actions/delete-task-unique-id.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAE6B;AAAA,cAE/D,+BAAA,EAAiC,CAAA,CAAE,UAS0B;AAAA,cAE7D,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/delete-task-unique-id.ts
|
|
4
|
+
const ScaleAiDeleteTaskUniqueIdInput = z.object({ task_id: z.string().describe("ID of the Task to modify") }).describe("Request model for removing the unique identifier from a task.");
|
|
5
|
+
const ScaleAiDeleteTaskUniqueId_TaskParamsSchema = z.record(z.string(), z.unknown()).describe("Task-specific parameters.");
|
|
6
|
+
const scaleAiDeleteTaskUniqueId = action("SCALE_AI_DELETE_TASK_UNIQUE_ID", {
|
|
7
|
+
slug: "scale_ai-delete-task-unique-id",
|
|
8
|
+
name: "Delete Task Unique ID",
|
|
9
|
+
description: "Tool to remove the unique identifier from a task. Use when you need to remove a task's unique identifier for enhanced data management control.",
|
|
10
|
+
input: ScaleAiDeleteTaskUniqueIdInput,
|
|
11
|
+
output: z.object({
|
|
12
|
+
type: z.string().describe("Task type (e.g., 'imageannotation')").nullable().optional(),
|
|
13
|
+
params: ScaleAiDeleteTaskUniqueId_TaskParamsSchema.nullable().optional(),
|
|
14
|
+
status: z.string().describe("Current task status").nullable().optional(),
|
|
15
|
+
task_id: z.string().describe("Unique task identifier"),
|
|
16
|
+
metadata: z.object({}).describe("Custom key-value data (empty object after unique_id deletion)").nullable().optional(),
|
|
17
|
+
created_at: z.string().describe("Task creation timestamp in ISO 8601 format").nullable().optional(),
|
|
18
|
+
instruction: z.string().describe("Task instructions for annotators").nullable().optional(),
|
|
19
|
+
callback_url: z.string().describe("Webhook URL for task completion").nullable().optional()
|
|
20
|
+
}).describe("Response model for the task object after unique_id removal.")
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { scaleAiDeleteTaskUniqueId };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=delete-task-unique-id.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-task-unique-id.mjs","names":[],"sources":["../../src/actions/delete-task-unique-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiDeleteTaskUniqueIdInput: z.ZodTypeAny = z.object({\n task_id: z.string().describe(\"ID of the Task to modify\"),\n}).describe(\"Request model for removing the unique identifier from a task.\");\nconst ScaleAiDeleteTaskUniqueId_TaskParamsSchema: z.ZodTypeAny = z.record(z.string(), z.unknown()).describe(\"Task-specific parameters.\");\nexport const ScaleAiDeleteTaskUniqueIdOutput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Task type (e.g., 'imageannotation')\").nullable().optional(),\n params: ScaleAiDeleteTaskUniqueId_TaskParamsSchema.nullable().optional(),\n status: z.string().describe(\"Current task status\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier\"),\n metadata: z.object({}).describe(\"Custom key-value data (empty object after unique_id deletion)\").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 annotators\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion\").nullable().optional(),\n}).describe(\"Response model for the task object after unique_id removal.\");\n\nexport const scaleAiDeleteTaskUniqueId = action(\"SCALE_AI_DELETE_TASK_UNIQUE_ID\", {\n slug: \"scale_ai-delete-task-unique-id\",\n name: \"Delete Task Unique ID\",\n description: \"Tool to remove the unique identifier from a task. Use when you need to remove a task's unique identifier for enhanced data management control.\",\n input: ScaleAiDeleteTaskUniqueIdInput,\n output: ScaleAiDeleteTaskUniqueIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO,EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,EACzD,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,6CAA2D,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B;AAYvI,MAAa,4BAA4B,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,QAAQ,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACrD,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/finalize-batch.ts
|
|
4
|
+
const ScaleAiFinalizeBatchInput = zod.z.object({ batch_name: zod.z.string().describe("The name of the batch to finalize. This batch must exist before it can be finalized.") }).describe("Request model for finalizing a batch in Scale AI.");
|
|
5
|
+
const ScaleAiFinalizeBatchOutput = zod.z.object({
|
|
6
|
+
name: zod.z.string().describe("The batch identifier").nullable().optional(),
|
|
7
|
+
status: zod.z.string().describe("Current batch status (e.g., 'in_progress')").nullable().optional(),
|
|
8
|
+
project: zod.z.string().describe("The project name associated with the batch").nullable().optional(),
|
|
9
|
+
callback: zod.z.string().describe("Callback URL or email address").nullable().optional(),
|
|
10
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional batch metadata").nullable().optional(),
|
|
11
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp of batch creation").nullable().optional()
|
|
12
|
+
}).describe("Response model for the finalize batch endpoint.");
|
|
13
|
+
const scaleAiFinalizeBatch = require_action.action("SCALE_AI_FINALIZE_BATCH", {
|
|
14
|
+
slug: "scale_ai-finalize-batch",
|
|
15
|
+
name: "Finalize Batch",
|
|
16
|
+
description: "Tool to finalize a batch so its tasks can be worked on. Use when you need to finalize a batch for Scale Rapid and Studio customers. For other customer types, this endpoint returns success without performing any action.",
|
|
17
|
+
input: ScaleAiFinalizeBatchInput,
|
|
18
|
+
output: ScaleAiFinalizeBatchOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.scaleAiFinalizeBatch = scaleAiFinalizeBatch;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=finalize-batch.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finalize-batch.cjs","names":["z","action"],"sources":["../../src/actions/finalize-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiFinalizeBatchInput: z.ZodTypeAny = z.object({\n batch_name: z.string().describe(\"The name of the batch to finalize. This batch must exist before it can be finalized.\"),\n}).describe(\"Request model for finalizing a batch in Scale AI.\");\nexport const ScaleAiFinalizeBatchOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The batch identifier\").nullable().optional(),\n status: z.string().describe(\"Current 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(\"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}).describe(\"Response model for the finalize batch endpoint.\");\n\nexport const scaleAiFinalizeBatch = action(\"SCALE_AI_FINALIZE_BATCH\", {\n slug: \"scale_ai-finalize-batch\",\n name: \"Finalize Batch\",\n description: \"Tool to finalize a batch so its tasks can be worked on. Use when you need to finalize a batch for Scale Rapid and Studio customers. For other customer types, this endpoint returns success without performing any action.\",\n input: ScaleAiFinalizeBatchInput,\n output: ScaleAiFinalizeBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACxH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/finalize-batch.d.ts
|
|
4
|
+
declare const ScaleAiFinalizeBatchInput: z.ZodTypeAny;
|
|
5
|
+
declare const ScaleAiFinalizeBatchOutput: z.ZodTypeAny;
|
|
6
|
+
declare const scaleAiFinalizeBatch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { scaleAiFinalizeBatch };
|
|
9
|
+
//# sourceMappingURL=finalize-batch.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finalize-batch.d.cts","names":[],"sources":["../../src/actions/finalize-batch.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEsB;AAAA,cACnD,0BAAA,EAA4B,CAAA,CAAE,UAOmB;AAAA,cAEjD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/finalize-batch.d.ts
|
|
4
|
+
declare const ScaleAiFinalizeBatchInput: z.ZodTypeAny;
|
|
5
|
+
declare const ScaleAiFinalizeBatchOutput: z.ZodTypeAny;
|
|
6
|
+
declare const scaleAiFinalizeBatch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { scaleAiFinalizeBatch };
|
|
9
|
+
//# sourceMappingURL=finalize-batch.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finalize-batch.d.mts","names":[],"sources":["../../src/actions/finalize-batch.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEsB;AAAA,cACnD,0BAAA,EAA4B,CAAA,CAAE,UAOmB;AAAA,cAEjD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const scaleAiFinalizeBatch = action("SCALE_AI_FINALIZE_BATCH", {
|
|
4
|
+
slug: "scale_ai-finalize-batch",
|
|
5
|
+
name: "Finalize Batch",
|
|
6
|
+
description: "Tool to finalize a batch so its tasks can be worked on. Use when you need to finalize a batch for Scale Rapid and Studio customers. For other customer types, this endpoint returns success without performing any action.",
|
|
7
|
+
input: z.object({ batch_name: z.string().describe("The name of the batch to finalize. This batch must exist before it can be finalized.") }).describe("Request model for finalizing a batch in Scale AI."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
name: z.string().describe("The batch identifier").nullable().optional(),
|
|
10
|
+
status: z.string().describe("Current batch status (e.g., 'in_progress')").nullable().optional(),
|
|
11
|
+
project: z.string().describe("The project name associated with the batch").nullable().optional(),
|
|
12
|
+
callback: z.string().describe("Callback URL or email address").nullable().optional(),
|
|
13
|
+
metadata: z.record(z.string(), z.unknown()).describe("Additional batch metadata").nullable().optional(),
|
|
14
|
+
created_at: z.string().describe("ISO 8601 timestamp of batch creation").nullable().optional()
|
|
15
|
+
}).describe("Response model for the finalize batch endpoint.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { scaleAiFinalizeBatch };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=finalize-batch.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finalize-batch.mjs","names":[],"sources":["../../src/actions/finalize-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiFinalizeBatchInput: z.ZodTypeAny = z.object({\n batch_name: z.string().describe(\"The name of the batch to finalize. This batch must exist before it can be finalized.\"),\n}).describe(\"Request model for finalizing a batch in Scale AI.\");\nexport const ScaleAiFinalizeBatchOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The batch identifier\").nullable().optional(),\n status: z.string().describe(\"Current 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(\"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}).describe(\"Response model for the finalize batch endpoint.\");\n\nexport const scaleAiFinalizeBatch = action(\"SCALE_AI_FINALIZE_BATCH\", {\n slug: \"scale_ai-finalize-batch\",\n name: \"Finalize Batch\",\n description: \"Tool to finalize a batch so its tasks can be worked on. Use when you need to finalize a batch for Scale Rapid and Studio customers. For other customer types, this endpoint returns success without performing any action.\",\n input: ScaleAiFinalizeBatchInput,\n output: ScaleAiFinalizeBatchOutput,\n});\n"],"mappings":";;AAgBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBqD,EAAE,OAAO,EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACxH,CAAC,CAAC,CAAC,SAAS,mDAcH;CACP,QAdsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-assets.ts
|
|
4
|
+
const ScaleAiGetAssetsInput = zod.z.object({
|
|
5
|
+
cursor: zod.z.string().describe("Cursor for pagination to retrieve the next page of results. Use the cursor value from a previous response to get the next page.").optional(),
|
|
6
|
+
project: zod.z.string().describe("Project filter to retrieve assets associated with a specific project. This parameter is required."),
|
|
7
|
+
metadata: zod.z.string().describe("Metadata filter to retrieve assets matching specific metadata criteria.").optional()
|
|
8
|
+
}).describe("Request model for retrieving file assets with filtering and pagination.");
|
|
9
|
+
const ScaleAiGetAssets_AssetItemSchema = zod.z.object({
|
|
10
|
+
id: zod.z.string().describe("Unique identifier for the asset file.").nullable().optional(),
|
|
11
|
+
size: zod.z.number().int().describe("File size in bytes.").nullable().optional(),
|
|
12
|
+
mime_type: zod.z.string().describe("MIME type of the file (e.g., 'image/jpeg', 'application/pdf').").nullable().optional(),
|
|
13
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp when the file was created.").nullable().optional(),
|
|
14
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp when the file was last updated.").nullable().optional(),
|
|
15
|
+
project_names: zod.z.array(zod.z.string()).describe("Array of project names the file is associated with.").nullable().optional(),
|
|
16
|
+
attachment_url: zod.z.string().describe("URL where the file is stored (typically with scaledata:// prefix).").nullable().optional()
|
|
17
|
+
}).describe("Model representing a single file asset object.");
|
|
18
|
+
const ScaleAiGetAssetsOutput = zod.z.object({
|
|
19
|
+
assets: zod.z.array(ScaleAiGetAssets_AssetItemSchema).describe("List of asset objects matching the filter criteria.").nullable().optional(),
|
|
20
|
+
cursor: zod.z.string().describe("Cursor for retrieving the next page of results. Include this value in the next request to paginate through results.").nullable().optional(),
|
|
21
|
+
has_more: zod.z.boolean().describe("Indicates whether more results are available for pagination.").nullable().optional()
|
|
22
|
+
}).describe("Response model for retrieving file assets.");
|
|
23
|
+
const scaleAiGetAssets = require_action.action("SCALE_AI_GET_ASSETS", {
|
|
24
|
+
slug: "scale_ai-get-assets",
|
|
25
|
+
name: "Get Assets",
|
|
26
|
+
description: "Tool to retrieve file assets with filtering capabilities by project and metadata. Use when you need to list or search for files uploaded to Scale AI, filtered by project and optionally by metadata. Supports cursor-based pagination for large result sets.",
|
|
27
|
+
input: ScaleAiGetAssetsInput,
|
|
28
|
+
output: ScaleAiGetAssetsOutput
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
exports.scaleAiGetAssets = scaleAiGetAssets;
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=get-assets.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-assets.cjs","names":["z","action"],"sources":["../../src/actions/get-assets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetAssetsInput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"Cursor for pagination to retrieve the next page of results. Use the cursor value from a previous response to get the next page.\").optional(),\n project: z.string().describe(\"Project filter to retrieve assets associated with a specific project. This parameter is required.\"),\n metadata: z.string().describe(\"Metadata filter to retrieve assets matching specific metadata criteria.\").optional(),\n}).describe(\"Request model for retrieving file assets with filtering and pagination.\");\nconst ScaleAiGetAssets_AssetItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the asset file.\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes.\").nullable().optional(),\n mime_type: z.string().describe(\"MIME type of the file (e.g., 'image/jpeg', 'application/pdf').\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the file was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 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(\"URL where the file is stored (typically with scaledata:// prefix).\").nullable().optional(),\n}).describe(\"Model representing a single file asset object.\");\nexport const ScaleAiGetAssetsOutput: z.ZodTypeAny = z.object({\n assets: z.array(ScaleAiGetAssets_AssetItemSchema).describe(\"List of asset objects matching the filter criteria.\").nullable().optional(),\n cursor: z.string().describe(\"Cursor for retrieving the next page of results. Include this value in the next request to paginate through results.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates whether more results are available for pagination.\").nullable().optional(),\n}).describe(\"Response model for retrieving file assets.\");\n\nexport const scaleAiGetAssets = action(\"SCALE_AI_GET_ASSETS\", {\n slug: \"scale_ai-get-assets\",\n name: \"Get Assets\",\n description: \"Tool to retrieve file assets with filtering capabilities by project and metadata. Use when you need to list or search for files uploaded to Scale AI, filtered by project and optionally by metadata. Supports cursor-based pagination for large result sets.\",\n input: ScaleAiGetAssetsInput,\n output: ScaleAiGetAssetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACxK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAChI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,QAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvK,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,mBAAmBC,eAAAA,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-assets.d.ts
|
|
4
|
+
declare const ScaleAiGetAssetsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ScaleAiGetAssetsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const scaleAiGetAssets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { scaleAiGetAssets };
|
|
9
|
+
//# sourceMappingURL=get-assets.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-assets.d.cts","names":[],"sources":["../../src/actions/get-assets.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAIgD;AAAA,cAUzE,sBAAA,EAAwB,CAAA,CAAE,UAIkB;AAAA,cAE5C,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-assets.d.ts
|
|
4
|
+
declare const ScaleAiGetAssetsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ScaleAiGetAssetsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const scaleAiGetAssets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { scaleAiGetAssets };
|
|
9
|
+
//# sourceMappingURL=get-assets.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-assets.d.mts","names":[],"sources":["../../src/actions/get-assets.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAIgD;AAAA,cAUzE,sBAAA,EAAwB,CAAA,CAAE,UAIkB;AAAA,cAE5C,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-assets.ts
|
|
4
|
+
const ScaleAiGetAssetsInput = z.object({
|
|
5
|
+
cursor: z.string().describe("Cursor for pagination to retrieve the next page of results. Use the cursor value from a previous response to get the next page.").optional(),
|
|
6
|
+
project: z.string().describe("Project filter to retrieve assets associated with a specific project. This parameter is required."),
|
|
7
|
+
metadata: z.string().describe("Metadata filter to retrieve assets matching specific metadata criteria.").optional()
|
|
8
|
+
}).describe("Request model for retrieving file assets with filtering and pagination.");
|
|
9
|
+
const ScaleAiGetAssets_AssetItemSchema = z.object({
|
|
10
|
+
id: z.string().describe("Unique identifier for the asset file.").nullable().optional(),
|
|
11
|
+
size: z.number().int().describe("File size in bytes.").nullable().optional(),
|
|
12
|
+
mime_type: z.string().describe("MIME type of the file (e.g., 'image/jpeg', 'application/pdf').").nullable().optional(),
|
|
13
|
+
created_at: z.string().describe("ISO 8601 timestamp when the file was created.").nullable().optional(),
|
|
14
|
+
updated_at: z.string().describe("ISO 8601 timestamp when the file was last updated.").nullable().optional(),
|
|
15
|
+
project_names: z.array(z.string()).describe("Array of project names the file is associated with.").nullable().optional(),
|
|
16
|
+
attachment_url: z.string().describe("URL where the file is stored (typically with scaledata:// prefix).").nullable().optional()
|
|
17
|
+
}).describe("Model representing a single file asset object.");
|
|
18
|
+
const scaleAiGetAssets = action("SCALE_AI_GET_ASSETS", {
|
|
19
|
+
slug: "scale_ai-get-assets",
|
|
20
|
+
name: "Get Assets",
|
|
21
|
+
description: "Tool to retrieve file assets with filtering capabilities by project and metadata. Use when you need to list or search for files uploaded to Scale AI, filtered by project and optionally by metadata. Supports cursor-based pagination for large result sets.",
|
|
22
|
+
input: ScaleAiGetAssetsInput,
|
|
23
|
+
output: z.object({
|
|
24
|
+
assets: z.array(ScaleAiGetAssets_AssetItemSchema).describe("List of asset objects matching the filter criteria.").nullable().optional(),
|
|
25
|
+
cursor: z.string().describe("Cursor for retrieving the next page of results. Include this value in the next request to paginate through results.").nullable().optional(),
|
|
26
|
+
has_more: z.boolean().describe("Indicates whether more results are available for pagination.").nullable().optional()
|
|
27
|
+
}).describe("Response model for retrieving file assets.")
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
export { scaleAiGetAssets };
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=get-assets.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-assets.mjs","names":[],"sources":["../../src/actions/get-assets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetAssetsInput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"Cursor for pagination to retrieve the next page of results. Use the cursor value from a previous response to get the next page.\").optional(),\n project: z.string().describe(\"Project filter to retrieve assets associated with a specific project. This parameter is required.\"),\n metadata: z.string().describe(\"Metadata filter to retrieve assets matching specific metadata criteria.\").optional(),\n}).describe(\"Request model for retrieving file assets with filtering and pagination.\");\nconst ScaleAiGetAssets_AssetItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the asset file.\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes.\").nullable().optional(),\n mime_type: z.string().describe(\"MIME type of the file (e.g., 'image/jpeg', 'application/pdf').\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the file was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 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(\"URL where the file is stored (typically with scaledata:// prefix).\").nullable().optional(),\n}).describe(\"Model representing a single file asset object.\");\nexport const ScaleAiGetAssetsOutput: z.ZodTypeAny = z.object({\n assets: z.array(ScaleAiGetAssets_AssetItemSchema).describe(\"List of asset objects matching the filter criteria.\").nullable().optional(),\n cursor: z.string().describe(\"Cursor for retrieving the next page of results. Include this value in the next request to paginate through results.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates whether more results are available for pagination.\").nullable().optional(),\n}).describe(\"Response model for retrieving file assets.\");\n\nexport const scaleAiGetAssets = action(\"SCALE_AI_GET_ASSETS\", {\n slug: \"scale_ai-get-assets\",\n name: \"Get Assets\",\n description: \"Tool to retrieve file assets with filtering capabilities by project and metadata. Use when you need to list or search for files uploaded to Scale AI, filtered by project and optionally by metadata. Supports cursor-based pagination for large result sets.\",\n input: ScaleAiGetAssetsInput,\n output: ScaleAiGetAssetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO;CAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACxK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAChI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAO5D,MAAa,mBAAmB,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXkD,EAAE,OAAO;EAC3D,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvK,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-batch-status.ts
|
|
4
|
+
const ScaleAiGetBatchStatusInput = zod.z.object({ batch_name: zod.z.string().describe("The name of the batch to retrieve status for") }).describe("Request model for retrieving batch status information.");
|
|
5
|
+
const ScaleAiGetBatchStatusOutput = zod.z.object({
|
|
6
|
+
queue: zod.z.number().int().describe("Number of tasks in the batch that are in the queue"),
|
|
7
|
+
status: zod.z.string().describe("The current state of the batch (e.g., 'in_progress', 'completed')"),
|
|
8
|
+
pending: zod.z.number().int().describe("Number of tasks in the batch that are pending"),
|
|
9
|
+
completed: zod.z.number().int().describe("Number of tasks in the batch that have been completed"),
|
|
10
|
+
inProgress: zod.z.number().int().describe("Number of tasks in the batch that are currently in progress")
|
|
11
|
+
}).describe("Response model for batch status information.");
|
|
12
|
+
const scaleAiGetBatchStatus = require_action.action("SCALE_AI_GET_BATCH_STATUS", {
|
|
13
|
+
slug: "scale_ai-get-batch-status",
|
|
14
|
+
name: "Get Batch Status",
|
|
15
|
+
description: "Tool to retrieve the current status of a batch and task completion counts. Use when you need to monitor batch progress or check how many tasks are pending or completed.",
|
|
16
|
+
input: ScaleAiGetBatchStatusInput,
|
|
17
|
+
output: ScaleAiGetBatchStatusOutput
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.scaleAiGetBatchStatus = scaleAiGetBatchStatus;
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=get-batch-status.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-batch-status.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetBatchStatusInput: z.ZodTypeAny = z.object({\n batch_name: z.string().describe(\"The name of the batch to retrieve status for\"),\n}).describe(\"Request model for retrieving batch status information.\");\nexport const ScaleAiGetBatchStatusOutput: z.ZodTypeAny = z.object({\n queue: z.number().int().describe(\"Number of tasks in the batch that are in the queue\"),\n status: z.string().describe(\"The current state of the batch (e.g., 'in_progress', 'completed')\"),\n pending: z.number().int().describe(\"Number of tasks in the batch that are pending\"),\n completed: z.number().int().describe(\"Number of tasks in the batch that have been completed\"),\n inProgress: z.number().int().describe(\"Number of tasks in the batch that are currently in progress\"),\n}).describe(\"Response model for batch status information.\");\n\nexport const scaleAiGetBatchStatus = action(\"SCALE_AI_GET_BATCH_STATUS\", {\n slug: \"scale_ai-get-batch-status\",\n name: \"Get Batch Status\",\n description: \"Tool to retrieve the current status of a batch and task completion counts. Use when you need to monitor batch progress or check how many tasks are pending or completed.\",\n input: ScaleAiGetBatchStatusInput,\n output: ScaleAiGetBatchStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC/F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;AACrG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-batch-status.d.ts
|
|
4
|
+
declare const ScaleAiGetBatchStatusInput: z.ZodTypeAny;
|
|
5
|
+
declare const ScaleAiGetBatchStatusOutput: z.ZodTypeAny;
|
|
6
|
+
declare const scaleAiGetBatchStatus: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { scaleAiGetBatchStatus };
|
|
9
|
+
//# sourceMappingURL=get-batch-status.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-batch-status.d.cts","names":[],"sources":["../../src/actions/get-batch-status.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAE0B;AAAA,cACxD,2BAAA,EAA6B,CAAA,CAAE,UAMe;AAAA,cAE9C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-batch-status.d.ts
|
|
4
|
+
declare const ScaleAiGetBatchStatusInput: z.ZodTypeAny;
|
|
5
|
+
declare const ScaleAiGetBatchStatusOutput: z.ZodTypeAny;
|
|
6
|
+
declare const scaleAiGetBatchStatus: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { scaleAiGetBatchStatus };
|
|
9
|
+
//# sourceMappingURL=get-batch-status.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-batch-status.d.mts","names":[],"sources":["../../src/actions/get-batch-status.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAE0B;AAAA,cACxD,2BAAA,EAA6B,CAAA,CAAE,UAMe;AAAA,cAE9C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const scaleAiGetBatchStatus = action("SCALE_AI_GET_BATCH_STATUS", {
|
|
4
|
+
slug: "scale_ai-get-batch-status",
|
|
5
|
+
name: "Get Batch Status",
|
|
6
|
+
description: "Tool to retrieve the current status of a batch and task completion counts. Use when you need to monitor batch progress or check how many tasks are pending or completed.",
|
|
7
|
+
input: z.object({ batch_name: z.string().describe("The name of the batch to retrieve status for") }).describe("Request model for retrieving batch status information."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
queue: z.number().int().describe("Number of tasks in the batch that are in the queue"),
|
|
10
|
+
status: z.string().describe("The current state of the batch (e.g., 'in_progress', 'completed')"),
|
|
11
|
+
pending: z.number().int().describe("Number of tasks in the batch that are pending"),
|
|
12
|
+
completed: z.number().int().describe("Number of tasks in the batch that have been completed"),
|
|
13
|
+
inProgress: z.number().int().describe("Number of tasks in the batch that are currently in progress")
|
|
14
|
+
}).describe("Response model for batch status information.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { scaleAiGetBatchStatus };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=get-batch-status.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-batch-status.mjs","names":[],"sources":["../../src/actions/get-batch-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetBatchStatusInput: z.ZodTypeAny = z.object({\n batch_name: z.string().describe(\"The name of the batch to retrieve status for\"),\n}).describe(\"Request model for retrieving batch status information.\");\nexport const ScaleAiGetBatchStatusOutput: z.ZodTypeAny = z.object({\n queue: z.number().int().describe(\"Number of tasks in the batch that are in the queue\"),\n status: z.string().describe(\"The current state of the batch (e.g., 'in_progress', 'completed')\"),\n pending: z.number().int().describe(\"Number of tasks in the batch that are pending\"),\n completed: z.number().int().describe(\"Number of tasks in the batch that have been completed\"),\n inProgress: z.number().int().describe(\"Number of tasks in the batch that are currently in progress\"),\n}).describe(\"Response model for batch status information.\");\n\nexport const scaleAiGetBatchStatus = action(\"SCALE_AI_GET_BATCH_STATUS\", {\n slug: \"scale_ai-get-batch-status\",\n name: \"Get Batch Status\",\n description: \"Tool to retrieve the current status of a batch and task completion counts. Use when you need to monitor batch progress or check how many tasks are pending or completed.\",\n input: ScaleAiGetBatchStatusInput,\n output: ScaleAiGetBatchStatusOutput,\n});\n"],"mappings":";;AAeA,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfsD,EAAE,OAAO,EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,wDAaH;CACP,QAbuD,EAAE,OAAO;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;EACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CACrG,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-batch.ts
|
|
4
|
+
const ScaleAiGetBatchInput = zod.z.object({ batch_name: zod.z.string().describe("The batch identifier to retrieve") }).describe("Request model for retrieving a batch by name.");
|
|
5
|
+
const ScaleAiGetBatchOutput = zod.z.object({
|
|
6
|
+
name: zod.z.string().describe("Identifier for the batch").nullable().optional(),
|
|
7
|
+
status: zod.z.string().describe("Current batch state (e.g., 'in_progress')").nullable().optional(),
|
|
8
|
+
project: zod.z.string().describe("The project name associated with the batch").nullable().optional(),
|
|
9
|
+
callback: zod.z.string().describe("The callback URL or email address configured for task completion notifications").nullable().optional(),
|
|
10
|
+
metadata: zod.z.object({}).describe("Custom key-value pairs associated with the batch").nullable().optional(),
|
|
11
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp of batch creation").nullable().optional()
|
|
12
|
+
}).describe("Response model for batch details.");
|
|
13
|
+
const scaleAiGetBatch = require_action.action("SCALE_AI_GET_BATCH", {
|
|
14
|
+
slug: "scale_ai-get-batch",
|
|
15
|
+
name: "Get Batch",
|
|
16
|
+
description: "Tool to retrieve the details of a batch with the specified name. Use when you need to check the status or configuration of an existing batch.",
|
|
17
|
+
input: ScaleAiGetBatchInput,
|
|
18
|
+
output: ScaleAiGetBatchOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.scaleAiGetBatch = scaleAiGetBatch;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=get-batch.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-batch.cjs","names":["z","action"],"sources":["../../src/actions/get-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetBatchInput: z.ZodTypeAny = z.object({\n batch_name: z.string().describe(\"The batch identifier to retrieve\"),\n}).describe(\"Request model for retrieving a batch by name.\");\nexport const ScaleAiGetBatchOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Identifier for the batch\").nullable().optional(),\n status: z.string().describe(\"Current batch state (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 configured for task completion notifications\").nullable().optional(),\n metadata: z.object({}).describe(\"Custom key-value pairs associated with the batch\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation\").nullable().optional(),\n}).describe(\"Response model for batch details.\");\n\nexport const scaleAiGetBatch = action(\"SCALE_AI_GET_BATCH\", {\n slug: \"scale_ai-get-batch\",\n name: \"Get Batch\",\n description: \"Tool to retrieve the details of a batch with the specified name. Use when you need to check the status or configuration of an existing batch.\",\n input: ScaleAiGetBatchInput,\n output: ScaleAiGetBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,kBAAkBC,eAAAA,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-batch.d.ts
|
|
4
|
+
declare const ScaleAiGetBatchInput: z.ZodTypeAny;
|
|
5
|
+
declare const ScaleAiGetBatchOutput: z.ZodTypeAny;
|
|
6
|
+
declare const scaleAiGetBatch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { scaleAiGetBatch };
|
|
9
|
+
//# sourceMappingURL=get-batch.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-batch.d.cts","names":[],"sources":["../../src/actions/get-batch.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEuB;AAAA,cAC/C,qBAAA,EAAuB,CAAA,CAAE,UAOU;AAAA,cAEnC,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-batch.d.ts
|
|
4
|
+
declare const ScaleAiGetBatchInput: z.ZodTypeAny;
|
|
5
|
+
declare const ScaleAiGetBatchOutput: z.ZodTypeAny;
|
|
6
|
+
declare const scaleAiGetBatch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { scaleAiGetBatch };
|
|
9
|
+
//# sourceMappingURL=get-batch.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-batch.d.mts","names":[],"sources":["../../src/actions/get-batch.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEuB;AAAA,cAC/C,qBAAA,EAAuB,CAAA,CAAE,UAOU;AAAA,cAEnC,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const scaleAiGetBatch = action("SCALE_AI_GET_BATCH", {
|
|
4
|
+
slug: "scale_ai-get-batch",
|
|
5
|
+
name: "Get Batch",
|
|
6
|
+
description: "Tool to retrieve the details of a batch with the specified name. Use when you need to check the status or configuration of an existing batch.",
|
|
7
|
+
input: z.object({ batch_name: z.string().describe("The batch identifier to retrieve") }).describe("Request model for retrieving a batch by name."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
name: z.string().describe("Identifier for the batch").nullable().optional(),
|
|
10
|
+
status: z.string().describe("Current batch state (e.g., 'in_progress')").nullable().optional(),
|
|
11
|
+
project: z.string().describe("The project name associated with the batch").nullable().optional(),
|
|
12
|
+
callback: z.string().describe("The callback URL or email address configured for task completion notifications").nullable().optional(),
|
|
13
|
+
metadata: z.object({}).describe("Custom key-value pairs associated with the batch").nullable().optional(),
|
|
14
|
+
created_at: z.string().describe("ISO 8601 timestamp of batch creation").nullable().optional()
|
|
15
|
+
}).describe("Response model for batch details.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { scaleAiGetBatch };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=get-batch.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-batch.mjs","names":[],"sources":["../../src/actions/get-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetBatchInput: z.ZodTypeAny = z.object({\n batch_name: z.string().describe(\"The batch identifier to retrieve\"),\n}).describe(\"Request model for retrieving a batch by name.\");\nexport const ScaleAiGetBatchOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Identifier for the batch\").nullable().optional(),\n status: z.string().describe(\"Current batch state (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 configured for task completion notifications\").nullable().optional(),\n metadata: z.object({}).describe(\"Custom key-value pairs associated with the batch\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation\").nullable().optional(),\n}).describe(\"Response model for batch details.\");\n\nexport const scaleAiGetBatch = action(\"SCALE_AI_GET_BATCH\", {\n slug: \"scale_ai-get-batch\",\n name: \"Get Batch\",\n description: \"Tool to retrieve the details of a batch with the specified name. Use when you need to check the status or configuration of an existing batch.\",\n input: ScaleAiGetBatchInput,\n output: ScaleAiGetBatchOutput,\n});\n"],"mappings":";;AAgBA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBgD,EAAE,OAAO,EACzD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,+CAcH;CACP,QAdiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-fixless-audits.ts
|
|
4
|
+
const ScaleAiGetFixlessAuditsInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("Identifier for the specific audit. At least one of task_id or id must be provided.").optional(),
|
|
6
|
+
task_id: zod.z.string().describe("Identifier for the task being audited. At least one of task_id or id must be provided.").optional()
|
|
7
|
+
}).describe("Request model for retrieving fixless audits. At least one of task_id or id must be provided.");
|
|
8
|
+
const ScaleAiGetFixlessAudits_FeedbackItemSchema = zod.z.object({
|
|
9
|
+
type: zod.z.string().describe("Type of feedback item").nullable().optional(),
|
|
10
|
+
scope: zod.z.string().describe("Scope of the feedback").nullable().optional(),
|
|
11
|
+
state: zod.z.string().describe("State of the feedback item").nullable().optional(),
|
|
12
|
+
category: zod.z.string().describe("Category of the feedback").nullable().optional(),
|
|
13
|
+
metadata: zod.z.object({}).describe("Additional metadata for the feedback item").nullable().optional(),
|
|
14
|
+
severity: zod.z.string().describe("Severity level of the feedback").nullable().optional(),
|
|
15
|
+
description: zod.z.string().describe("Description of the feedback").nullable().optional()
|
|
16
|
+
}).describe("Feedback item within an audit.");
|
|
17
|
+
const ScaleAiGetFixlessAudits_TargetResponseSchema = zod.z.object({ url: zod.z.string().describe("URL pointing to audited task response").nullable().optional() }).describe("Target response containing URL to audited task response.");
|
|
18
|
+
const ScaleAiGetFixlessAudits_FixlessAuditSchema = zod.z.object({
|
|
19
|
+
id: zod.z.string().describe("Unique audit identifier"),
|
|
20
|
+
srn: zod.z.string().describe("Scale Resource Name in format 'srn:scale:avcv:audit:{{id}}'").nullable().optional(),
|
|
21
|
+
type: zod.z.string().describe("Type of audit, typically 'fixless'").nullable().optional(),
|
|
22
|
+
active: zod.z.boolean().describe("Indicates if this is the latest audit for the task").nullable().optional(),
|
|
23
|
+
result: zod.z.string().describe("Audit outcome - 'accepted' or 'rejected'").nullable().optional(),
|
|
24
|
+
source: zod.z.string().describe("Origin - 'api', 'lidarlite', or 'classic'").nullable().optional(),
|
|
25
|
+
task_id: zod.z.string().describe("Associated task identifier").nullable().optional(),
|
|
26
|
+
comments: zod.z.string().describe("Optional auditor comments").nullable().optional(),
|
|
27
|
+
metadata: zod.z.object({}).describe("Custom key-value pairs for tracking").nullable().optional(),
|
|
28
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp of creation").nullable().optional(),
|
|
29
|
+
created_by: zod.z.string().describe("User who created the audit").nullable().optional(),
|
|
30
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp of last update").nullable().optional(),
|
|
31
|
+
feedback_items: zod.z.array(ScaleAiGetFixlessAudits_FeedbackItemSchema).describe("Array of feedback item objects").nullable().optional(),
|
|
32
|
+
target_response: ScaleAiGetFixlessAudits_TargetResponseSchema.nullable().optional()
|
|
33
|
+
}).describe("Represents a single fixless audit object.");
|
|
34
|
+
const ScaleAiGetFixlessAuditsOutput = zod.z.object({ audits: zod.z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe("List of fixless audit objects") }).describe("Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.");
|
|
35
|
+
const scaleAiGetFixlessAudits = require_action.action("SCALE_AI_GET_FIXLESS_AUDITS", {
|
|
36
|
+
slug: "scale_ai-get-fixless-audits",
|
|
37
|
+
name: "Get Fixless Audits",
|
|
38
|
+
description: "Tool to retrieve fixless audits by task ID or audit ID. Use when you need to fetch audit information for quality assessment. At least one of task_id or id must be provided.",
|
|
39
|
+
input: ScaleAiGetFixlessAuditsInput,
|
|
40
|
+
output: ScaleAiGetFixlessAuditsOutput
|
|
41
|
+
});
|
|
42
|
+
//#endregion
|
|
43
|
+
exports.scaleAiGetFixlessAudits = scaleAiGetFixlessAudits;
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=get-fixless-audits.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-fixless-audits.cjs","names":["z","action"],"sources":["../../src/actions/get-fixless-audits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetFixlessAuditsInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Identifier for the specific audit. At least one of task_id or id must be provided.\").optional(),\n task_id: z.string().describe(\"Identifier for the task being audited. At least one of task_id or id must be provided.\").optional(),\n}).describe(\"Request model for retrieving fixless audits. At least one of task_id or id must be provided.\");\nconst ScaleAiGetFixlessAudits_FeedbackItemSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of feedback item\").nullable().optional(),\n scope: z.string().describe(\"Scope of the feedback\").nullable().optional(),\n state: z.string().describe(\"State of the feedback item\").nullable().optional(),\n category: z.string().describe(\"Category of the feedback\").nullable().optional(),\n metadata: z.object({}).describe(\"Additional metadata for the feedback item\").nullable().optional(),\n severity: z.string().describe(\"Severity level of the feedback\").nullable().optional(),\n description: z.string().describe(\"Description of the feedback\").nullable().optional(),\n}).describe(\"Feedback item within an audit.\");\nconst ScaleAiGetFixlessAudits_TargetResponseSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL pointing to audited task response\").nullable().optional(),\n}).describe(\"Target response containing URL to audited task response.\");\nconst ScaleAiGetFixlessAudits_FixlessAuditSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique audit identifier\"),\n srn: z.string().describe(\"Scale Resource Name in format 'srn:scale:avcv:audit:{{id}}'\").nullable().optional(),\n type: z.string().describe(\"Type of audit, typically 'fixless'\").nullable().optional(),\n active: z.boolean().describe(\"Indicates if this is the latest audit for the task\").nullable().optional(),\n result: z.string().describe(\"Audit outcome - 'accepted' or 'rejected'\").nullable().optional(),\n source: z.string().describe(\"Origin - 'api', 'lidarlite', or 'classic'\").nullable().optional(),\n task_id: z.string().describe(\"Associated task identifier\").nullable().optional(),\n comments: z.string().describe(\"Optional auditor comments\").nullable().optional(),\n metadata: z.object({}).describe(\"Custom key-value pairs for tracking\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation\").nullable().optional(),\n created_by: z.string().describe(\"User who created the audit\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n feedback_items: z.array(ScaleAiGetFixlessAudits_FeedbackItemSchema).describe(\"Array of feedback item objects\").nullable().optional(),\n target_response: ScaleAiGetFixlessAudits_TargetResponseSchema.nullable().optional(),\n}).describe(\"Represents a single fixless audit object.\");\nexport const ScaleAiGetFixlessAuditsOutput: z.ZodTypeAny = z.object({\n audits: z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe(\"List of fixless audit objects\"),\n}).describe(\"Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.\");\n\nexport const scaleAiGetFixlessAudits = action(\"SCALE_AI_GET_FIXLESS_AUDITS\", {\n slug: \"scale_ai-get-fixless-audits\",\n name: \"Get Fixless Audits\",\n description: \"Tool to retrieve fixless audits by task ID or audit ID. Use when you need to fetch audit information for quality assessment. At least one of task_id or id must be provided.\",\n input: ScaleAiGetFixlessAuditsInput,\n output: ScaleAiGetFixlessAuditsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,+CAA6DA,IAAAA,EAAE,OAAO,EAC1E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,gBAAgBA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,iBAAiB,6CAA6C,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,+BAA+B,EACtG,CAAC,CAAC,CAAC,SAAS,yFAAyF;AAErG,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-fixless-audits.d.ts
|
|
4
|
+
declare const ScaleAiGetFixlessAuditsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ScaleAiGetFixlessAuditsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const scaleAiGetFixlessAudits: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { scaleAiGetFixlessAudits };
|
|
9
|
+
//# sourceMappingURL=get-fixless-audits.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-fixless-audits.d.cts","names":[],"sources":["../../src/actions/get-fixless-audits.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAG8D;AAAA,cA6B9F,6BAAA,EAA+B,CAAA,CAAE,UAEwD;AAAA,cAEzF,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-fixless-audits.d.ts
|
|
4
|
+
declare const ScaleAiGetFixlessAuditsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ScaleAiGetFixlessAuditsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const scaleAiGetFixlessAudits: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { scaleAiGetFixlessAudits };
|
|
9
|
+
//# sourceMappingURL=get-fixless-audits.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-fixless-audits.d.mts","names":[],"sources":["../../src/actions/get-fixless-audits.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAG8D;AAAA,cA6B9F,6BAAA,EAA+B,CAAA,CAAE,UAEwD;AAAA,cAEzF,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|