@keystrokehq/scale_ai 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-studio-assignments.cjs +1 -0
- package/dist/actions/add-studio-assignments.cjs.map +1 -1
- package/dist/actions/add-studio-assignments.d.cts +3 -16
- package/dist/actions/add-studio-assignments.d.cts.map +1 -1
- package/dist/actions/add-studio-assignments.d.mts +3 -16
- package/dist/actions/add-studio-assignments.d.mts.map +1 -1
- package/dist/actions/add-studio-assignments.mjs +1 -0
- package/dist/actions/add-studio-assignments.mjs.map +1 -1
- package/dist/actions/add-task-tags.cjs +1 -0
- package/dist/actions/add-task-tags.cjs.map +1 -1
- package/dist/actions/add-task-tags.d.cts +3 -16
- package/dist/actions/add-task-tags.d.cts.map +1 -1
- package/dist/actions/add-task-tags.d.mts +3 -16
- package/dist/actions/add-task-tags.d.mts.map +1 -1
- package/dist/actions/add-task-tags.mjs +1 -0
- package/dist/actions/add-task-tags.mjs.map +1 -1
- package/dist/actions/create-batch.cjs +1 -0
- package/dist/actions/create-batch.cjs.map +1 -1
- package/dist/actions/create-batch.d.cts +3 -19
- package/dist/actions/create-batch.d.cts.map +1 -1
- package/dist/actions/create-batch.d.mts +3 -19
- package/dist/actions/create-batch.d.mts.map +1 -1
- package/dist/actions/create-batch.mjs +1 -0
- package/dist/actions/create-batch.mjs.map +1 -1
- package/dist/actions/create-document-transcription-task.cjs +1 -0
- package/dist/actions/create-document-transcription-task.cjs.map +1 -1
- package/dist/actions/create-document-transcription-task.d.cts +3 -53
- package/dist/actions/create-document-transcription-task.d.cts.map +1 -1
- package/dist/actions/create-document-transcription-task.d.mts +3 -53
- package/dist/actions/create-document-transcription-task.d.mts.map +1 -1
- package/dist/actions/create-document-transcription-task.mjs +1 -0
- package/dist/actions/create-document-transcription-task.mjs.map +1 -1
- package/dist/actions/create-image-annotation-task.cjs +1 -0
- package/dist/actions/create-image-annotation-task.cjs.map +1 -1
- package/dist/actions/create-image-annotation-task.d.cts +3 -125
- package/dist/actions/create-image-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-image-annotation-task.d.mts +3 -125
- package/dist/actions/create-image-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-image-annotation-task.mjs +1 -0
- package/dist/actions/create-image-annotation-task.mjs.map +1 -1
- package/dist/actions/create-lidar-annotation-task.cjs +1 -0
- package/dist/actions/create-lidar-annotation-task.cjs.map +1 -1
- package/dist/actions/create-lidar-annotation-task.d.cts +3 -32
- package/dist/actions/create-lidar-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-lidar-annotation-task.d.mts +3 -32
- package/dist/actions/create-lidar-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-lidar-annotation-task.mjs +1 -0
- package/dist/actions/create-lidar-annotation-task.mjs.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.cjs +1 -0
- package/dist/actions/create-lidar-segmentation-task.cjs.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.d.cts +3 -27
- package/dist/actions/create-lidar-segmentation-task.d.cts.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.d.mts +3 -27
- package/dist/actions/create-lidar-segmentation-task.d.mts.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.mjs +1 -0
- package/dist/actions/create-lidar-segmentation-task.mjs.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.cjs +1 -0
- package/dist/actions/create-named-entity-recognition-task.cjs.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.d.cts +3 -43
- package/dist/actions/create-named-entity-recognition-task.d.cts.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.d.mts +3 -43
- package/dist/actions/create-named-entity-recognition-task.d.mts.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.mjs +1 -0
- package/dist/actions/create-named-entity-recognition-task.mjs.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.cjs +1 -0
- package/dist/actions/create-segmentation-annotation-task.cjs.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.d.cts +3 -36
- package/dist/actions/create-segmentation-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.d.mts +3 -36
- package/dist/actions/create-segmentation-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.mjs +1 -0
- package/dist/actions/create-segmentation-annotation-task.mjs.map +1 -1
- package/dist/actions/create-text-collection-task.cjs +1 -0
- package/dist/actions/create-text-collection-task.cjs.map +1 -1
- package/dist/actions/create-text-collection-task.d.cts +3 -45
- package/dist/actions/create-text-collection-task.d.cts.map +1 -1
- package/dist/actions/create-text-collection-task.d.mts +3 -45
- package/dist/actions/create-text-collection-task.d.mts.map +1 -1
- package/dist/actions/create-text-collection-task.mjs +1 -0
- package/dist/actions/create-text-collection-task.mjs.map +1 -1
- package/dist/actions/create-video-annotation-task.cjs +1 -0
- package/dist/actions/create-video-annotation-task.cjs.map +1 -1
- package/dist/actions/create-video-annotation-task.d.cts +3 -77
- package/dist/actions/create-video-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-video-annotation-task.d.mts +3 -77
- package/dist/actions/create-video-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-video-annotation-task.mjs +1 -0
- package/dist/actions/create-video-annotation-task.mjs.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.cjs +1 -0
- package/dist/actions/create-video-playback-annotation-task.cjs.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.d.cts +3 -83
- package/dist/actions/create-video-playback-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.d.mts +3 -83
- package/dist/actions/create-video-playback-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.mjs +1 -0
- package/dist/actions/create-video-playback-annotation-task.mjs.map +1 -1
- package/dist/actions/delete-task-tags.cjs +1 -0
- package/dist/actions/delete-task-tags.cjs.map +1 -1
- package/dist/actions/delete-task-tags.d.cts +3 -16
- package/dist/actions/delete-task-tags.d.cts.map +1 -1
- package/dist/actions/delete-task-tags.d.mts +3 -16
- package/dist/actions/delete-task-tags.d.mts.map +1 -1
- package/dist/actions/delete-task-tags.mjs +1 -0
- package/dist/actions/delete-task-tags.mjs.map +1 -1
- package/dist/actions/delete-task-unique-id.cjs +1 -0
- package/dist/actions/delete-task-unique-id.cjs.map +1 -1
- package/dist/actions/delete-task-unique-id.d.cts +3 -15
- package/dist/actions/delete-task-unique-id.d.cts.map +1 -1
- package/dist/actions/delete-task-unique-id.d.mts +3 -15
- package/dist/actions/delete-task-unique-id.d.mts.map +1 -1
- package/dist/actions/delete-task-unique-id.mjs +1 -0
- package/dist/actions/delete-task-unique-id.mjs.map +1 -1
- package/dist/actions/finalize-batch.cjs +1 -0
- package/dist/actions/finalize-batch.cjs.map +1 -1
- package/dist/actions/finalize-batch.d.cts +3 -15
- package/dist/actions/finalize-batch.d.cts.map +1 -1
- package/dist/actions/finalize-batch.d.mts +3 -15
- package/dist/actions/finalize-batch.d.mts.map +1 -1
- package/dist/actions/finalize-batch.mjs +1 -0
- package/dist/actions/finalize-batch.mjs.map +1 -1
- package/dist/actions/get-assets.cjs +1 -0
- package/dist/actions/get-assets.cjs.map +1 -1
- package/dist/actions/get-assets.d.cts +3 -17
- package/dist/actions/get-assets.d.cts.map +1 -1
- package/dist/actions/get-assets.d.mts +3 -17
- package/dist/actions/get-assets.d.mts.map +1 -1
- package/dist/actions/get-assets.mjs +1 -0
- package/dist/actions/get-assets.mjs.map +1 -1
- package/dist/actions/get-batch-status.cjs +1 -0
- package/dist/actions/get-batch-status.cjs.map +1 -1
- package/dist/actions/get-batch-status.d.cts +3 -15
- package/dist/actions/get-batch-status.d.cts.map +1 -1
- package/dist/actions/get-batch-status.d.mts +3 -15
- package/dist/actions/get-batch-status.d.mts.map +1 -1
- package/dist/actions/get-batch-status.mjs +1 -0
- package/dist/actions/get-batch-status.mjs.map +1 -1
- package/dist/actions/get-batch.cjs +1 -0
- package/dist/actions/get-batch.cjs.map +1 -1
- package/dist/actions/get-batch.d.cts +3 -15
- package/dist/actions/get-batch.d.cts.map +1 -1
- package/dist/actions/get-batch.d.mts +3 -15
- package/dist/actions/get-batch.d.mts.map +1 -1
- package/dist/actions/get-batch.mjs +1 -0
- package/dist/actions/get-batch.mjs.map +1 -1
- package/dist/actions/get-fixless-audits.cjs +1 -0
- package/dist/actions/get-fixless-audits.cjs.map +1 -1
- package/dist/actions/get-fixless-audits.d.cts +3 -16
- package/dist/actions/get-fixless-audits.d.cts.map +1 -1
- package/dist/actions/get-fixless-audits.d.mts +3 -16
- package/dist/actions/get-fixless-audits.d.mts.map +1 -1
- package/dist/actions/get-fixless-audits.mjs +1 -0
- package/dist/actions/get-fixless-audits.mjs.map +1 -1
- package/dist/actions/get-project.cjs +1 -0
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +3 -15
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +3 -15
- package/dist/actions/get-project.d.mts.map +1 -1
- package/dist/actions/get-project.mjs +1 -0
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-quality-labelers.cjs +1 -0
- package/dist/actions/get-quality-labelers.cjs.map +1 -1
- package/dist/actions/get-quality-labelers.d.cts +3 -18
- package/dist/actions/get-quality-labelers.d.cts.map +1 -1
- package/dist/actions/get-quality-labelers.d.mts +3 -18
- package/dist/actions/get-quality-labelers.d.mts.map +1 -1
- package/dist/actions/get-quality-labelers.mjs +1 -0
- package/dist/actions/get-quality-labelers.mjs.map +1 -1
- package/dist/actions/get-studio-assignments.cjs +1 -0
- package/dist/actions/get-studio-assignments.cjs.map +1 -1
- package/dist/actions/get-studio-assignments.d.cts +3 -13
- package/dist/actions/get-studio-assignments.d.cts.map +1 -1
- package/dist/actions/get-studio-assignments.d.mts +3 -13
- package/dist/actions/get-studio-assignments.d.mts.map +1 -1
- package/dist/actions/get-studio-assignments.mjs +1 -0
- package/dist/actions/get-studio-assignments.mjs.map +1 -1
- package/dist/actions/get-studio-batches.cjs +1 -0
- package/dist/actions/get-studio-batches.cjs.map +1 -1
- package/dist/actions/get-studio-batches.d.cts +3 -13
- package/dist/actions/get-studio-batches.d.cts.map +1 -1
- package/dist/actions/get-studio-batches.d.mts +3 -13
- package/dist/actions/get-studio-batches.d.mts.map +1 -1
- package/dist/actions/get-studio-batches.mjs +1 -0
- package/dist/actions/get-studio-batches.mjs.map +1 -1
- package/dist/actions/get-teams.cjs +1 -0
- package/dist/actions/get-teams.cjs.map +1 -1
- package/dist/actions/get-teams.d.cts +3 -13
- package/dist/actions/get-teams.d.cts.map +1 -1
- package/dist/actions/get-teams.d.mts +3 -13
- package/dist/actions/get-teams.d.mts.map +1 -1
- package/dist/actions/get-teams.mjs +1 -0
- package/dist/actions/get-teams.mjs.map +1 -1
- package/dist/actions/get-v1-task-response-url.cjs +1 -0
- package/dist/actions/get-v1-task-response-url.cjs.map +1 -1
- package/dist/actions/get-v1-task-response-url.d.cts +3 -16
- package/dist/actions/get-v1-task-response-url.d.cts.map +1 -1
- package/dist/actions/get-v1-task-response-url.d.mts +3 -16
- package/dist/actions/get-v1-task-response-url.d.mts.map +1 -1
- package/dist/actions/get-v1-task-response-url.mjs +1 -0
- package/dist/actions/get-v1-task-response-url.mjs.map +1 -1
- package/dist/actions/get-v1-task.cjs +1 -0
- package/dist/actions/get-v1-task.cjs.map +1 -1
- package/dist/actions/get-v1-task.d.cts +3 -15
- package/dist/actions/get-v1-task.d.cts.map +1 -1
- package/dist/actions/get-v1-task.d.mts +3 -15
- package/dist/actions/get-v1-task.d.mts.map +1 -1
- package/dist/actions/get-v1-task.mjs +1 -0
- package/dist/actions/get-v1-task.mjs.map +1 -1
- package/dist/actions/import-file.cjs +1 -0
- package/dist/actions/import-file.cjs.map +1 -1
- package/dist/actions/import-file.d.cts +3 -16
- package/dist/actions/import-file.d.cts.map +1 -1
- package/dist/actions/import-file.d.mts +3 -16
- package/dist/actions/import-file.d.mts.map +1 -1
- package/dist/actions/import-file.mjs +1 -0
- package/dist/actions/import-file.mjs.map +1 -1
- package/dist/actions/invite-team-member.cjs +1 -0
- package/dist/actions/invite-team-member.cjs.map +1 -1
- package/dist/actions/invite-team-member.d.cts +3 -16
- package/dist/actions/invite-team-member.d.cts.map +1 -1
- package/dist/actions/invite-team-member.d.mts +3 -16
- package/dist/actions/invite-team-member.d.mts.map +1 -1
- package/dist/actions/invite-team-member.mjs +1 -0
- package/dist/actions/invite-team-member.mjs.map +1 -1
- package/dist/actions/list-batches.cjs +1 -0
- package/dist/actions/list-batches.cjs.map +1 -1
- package/dist/actions/list-batches.d.cts +3 -21
- package/dist/actions/list-batches.d.cts.map +1 -1
- package/dist/actions/list-batches.d.mts +3 -21
- package/dist/actions/list-batches.d.mts.map +1 -1
- package/dist/actions/list-batches.mjs +1 -0
- package/dist/actions/list-batches.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +1 -0
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +3 -17
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +3 -17
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +1 -0
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/list-tasks.cjs +1 -0
- package/dist/actions/list-tasks.cjs.map +1 -1
- package/dist/actions/list-tasks.d.cts +3 -30
- package/dist/actions/list-tasks.d.cts.map +1 -1
- package/dist/actions/list-tasks.d.mts +3 -30
- package/dist/actions/list-tasks.d.mts.map +1 -1
- package/dist/actions/list-tasks.mjs +1 -0
- package/dist/actions/list-tasks.mjs.map +1 -1
- package/dist/actions/post-v1-task-send-callback.cjs +1 -0
- package/dist/actions/post-v1-task-send-callback.cjs.map +1 -1
- package/dist/actions/post-v1-task-send-callback.d.cts +3 -15
- package/dist/actions/post-v1-task-send-callback.d.cts.map +1 -1
- package/dist/actions/post-v1-task-send-callback.d.mts +3 -15
- package/dist/actions/post-v1-task-send-callback.d.mts.map +1 -1
- package/dist/actions/post-v1-task-send-callback.mjs +1 -0
- package/dist/actions/post-v1-task-send-callback.mjs.map +1 -1
- package/dist/actions/remove-studio-assignments.cjs +1 -0
- package/dist/actions/remove-studio-assignments.cjs.map +1 -1
- package/dist/actions/remove-studio-assignments.d.cts +3 -16
- package/dist/actions/remove-studio-assignments.d.cts.map +1 -1
- package/dist/actions/remove-studio-assignments.d.mts +3 -16
- package/dist/actions/remove-studio-assignments.d.mts.map +1 -1
- package/dist/actions/remove-studio-assignments.mjs +1 -0
- package/dist/actions/remove-studio-assignments.mjs.map +1 -1
- package/dist/actions/reset-batch-priorities.cjs +1 -0
- package/dist/actions/reset-batch-priorities.cjs.map +1 -1
- package/dist/actions/reset-batch-priorities.d.cts +3 -15
- package/dist/actions/reset-batch-priorities.d.cts.map +1 -1
- package/dist/actions/reset-batch-priorities.d.mts +3 -15
- package/dist/actions/reset-batch-priorities.d.mts.map +1 -1
- package/dist/actions/reset-batch-priorities.mjs +1 -0
- package/dist/actions/reset-batch-priorities.mjs.map +1 -1
- package/dist/actions/set-batch-priorities.cjs +1 -0
- package/dist/actions/set-batch-priorities.cjs.map +1 -1
- package/dist/actions/set-batch-priorities.d.cts +3 -18
- package/dist/actions/set-batch-priorities.d.cts.map +1 -1
- package/dist/actions/set-batch-priorities.d.mts +3 -18
- package/dist/actions/set-batch-priorities.d.mts.map +1 -1
- package/dist/actions/set-batch-priorities.mjs +1 -0
- package/dist/actions/set-batch-priorities.mjs.map +1 -1
- package/dist/actions/set-project-ontology.cjs +1 -0
- package/dist/actions/set-project-ontology.cjs.map +1 -1
- package/dist/actions/set-project-ontology.d.cts +3 -17
- package/dist/actions/set-project-ontology.d.cts.map +1 -1
- package/dist/actions/set-project-ontology.d.mts +3 -17
- package/dist/actions/set-project-ontology.d.mts.map +1 -1
- package/dist/actions/set-project-ontology.mjs +1 -0
- package/dist/actions/set-project-ontology.mjs.map +1 -1
- package/dist/actions/set-project-params.cjs +1 -0
- package/dist/actions/set-project-params.cjs.map +1 -1
- package/dist/actions/set-project-params.d.cts +3 -19
- package/dist/actions/set-project-params.d.cts.map +1 -1
- package/dist/actions/set-project-params.d.mts +3 -19
- package/dist/actions/set-project-params.d.mts.map +1 -1
- package/dist/actions/set-project-params.mjs +1 -0
- package/dist/actions/set-project-params.mjs.map +1 -1
- package/dist/actions/set-task-metadata.cjs +1 -0
- package/dist/actions/set-task-metadata.cjs.map +1 -1
- package/dist/actions/set-task-metadata.d.cts +3 -16
- package/dist/actions/set-task-metadata.d.cts.map +1 -1
- package/dist/actions/set-task-metadata.d.mts +3 -16
- package/dist/actions/set-task-metadata.d.mts.map +1 -1
- package/dist/actions/set-task-metadata.mjs +1 -0
- package/dist/actions/set-task-metadata.mjs.map +1 -1
- package/dist/actions/update-task-unique-id.cjs +1 -0
- package/dist/actions/update-task-unique-id.cjs.map +1 -1
- package/dist/actions/update-task-unique-id.d.cts +3 -16
- package/dist/actions/update-task-unique-id.d.cts.map +1 -1
- package/dist/actions/update-task-unique-id.d.mts +3 -16
- package/dist/actions/update-task-unique-id.d.mts.map +1 -1
- package/dist/actions/update-task-unique-id.mjs +1 -0
- package/dist/actions/update-task-unique-id.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +1 -0
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +3 -23
- package/dist/actions/upload-file.d.cts.map +1 -1
- package/dist/actions/upload-file.d.mts +3 -23
- package/dist/actions/upload-file.d.mts.map +1 -1
- package/dist/actions/upload-file.mjs +1 -0
- package/dist/actions/upload-file.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiListProjectsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of projects to return per page.\").optional(),\n offset: z.number().int().describe(\"Number of projects to skip for pagination.\").optional(),\n archived: z.boolean().describe(\"Filter to display only archived or unarchived projects. If not provided, all projects are returned.\").optional(),\n}).describe(\"Request model for listing projects with optional archived filtering and pagination.\");\nconst ScaleAiListProjects_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number identifier for this parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when this parameter version was created.\").nullable(),\n instruction: z.string().describe(\"Task instructions for this parameter version.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single parameter history version entry.\");\nconst ScaleAiListProjects_ProjectItemSchema = z.object({\n name: z.string().describe(\"Unique project identifier name.\").nullable(),\n type: z.string().describe(\"Task type classification (e.g., 'imageannotation', 'textcollection').\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the project was created.\").nullable(),\n param_history: z.array(ScaleAiListProjects_ParamHistoryItemSchema).describe(\"Historical record of project parameter versions.\"),\n}).passthrough().describe(\"Schema for a single project object.\");\nexport const ScaleAiListProjectsOutput = z.object({\n limit: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of projects matching the query.\").nullable().optional(),\n offset: z.number().int().describe(\"Number of results skipped.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available.\").nullable().optional(),\n projects: z.array(ScaleAiListProjects_ProjectItemSchema).describe(\"List of projects in the Scale AI account.\"),\n}).passthrough().describe(\"Response model for listing projects. Returns an array of project objects.\");\n\nexport const scaleAiListProjects = action(\"SCALE_AI_LIST_PROJECTS\", {\n slug: \"scale_ai-list-projects\",\n name: \"List Projects\",\n description: \"Tool to retrieve information for all projects in the Scale AI account with optional archived filtering. Use when you need to browse or manage project metadata. Returns project details including type, name, parameter history, and creation timestamps.\",\n input: ScaleAiListProjectsInput,\n output: ScaleAiListProjectsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiListProjectsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of projects to return per page.\").optional(),\n offset: z.number().int().describe(\"Number of projects to skip for pagination.\").optional(),\n archived: z.boolean().describe(\"Filter to display only archived or unarchived projects. If not provided, all projects are returned.\").optional(),\n}).describe(\"Request model for listing projects with optional archived filtering and pagination.\");\nconst ScaleAiListProjects_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number identifier for this parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when this parameter version was created.\").nullable(),\n instruction: z.string().describe(\"Task instructions for this parameter version.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single parameter history version entry.\");\nconst ScaleAiListProjects_ProjectItemSchema = z.object({\n name: z.string().describe(\"Unique project identifier name.\").nullable(),\n type: z.string().describe(\"Task type classification (e.g., 'imageannotation', 'textcollection').\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the project was created.\").nullable(),\n param_history: z.array(ScaleAiListProjects_ParamHistoryItemSchema).describe(\"Historical record of project parameter versions.\"),\n}).passthrough().describe(\"Schema for a single project object.\");\nexport const ScaleAiListProjectsOutput = z.object({\n limit: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of projects matching the query.\").nullable().optional(),\n offset: z.number().int().describe(\"Number of results skipped.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available.\").nullable().optional(),\n projects: z.array(ScaleAiListProjects_ProjectItemSchema).describe(\"List of projects in the Scale AI account.\"),\n}).passthrough().describe(\"Response model for listing projects. Returns an array of project objects.\");\n\nexport const scaleAiListProjects: AppAction<\n typeof ScaleAiListProjectsInput,\n typeof ScaleAiListProjectsOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_LIST_PROJECTS\", {\n slug: \"scale_ai-list-projects\",\n name: \"List Projects\",\n description: \"Tool to retrieve information for all projects in the Scale AI account with optional archived filtering. Use when you need to browse or manage project metadata. Returns project details including type, name, parameter history, and creation timestamps.\",\n input: ScaleAiListProjectsInput,\n output: ScaleAiListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,eAAeA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,kDAAkD;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2CAA2C;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAErG,MAAa,sBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-projects.d.ts
|
|
@@ -22,23 +24,7 @@ declare const ScaleAiListProjectsOutput: z.ZodObject<{
|
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const scaleAiListProjects:
|
|
26
|
-
limit?: number | undefined;
|
|
27
|
-
offset?: number | undefined;
|
|
28
|
-
archived?: boolean | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const scaleAiListProjects: AppAction<typeof ScaleAiListProjectsInput, typeof ScaleAiListProjectsOutput, typeof scaleAi.credential>;
|
|
42
28
|
//#endregion
|
|
43
29
|
export { scaleAiListProjects };
|
|
44
30
|
//# sourceMappingURL=list-projects.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAgBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-projects.d.ts
|
|
@@ -22,23 +24,7 @@ declare const ScaleAiListProjectsOutput: z.ZodObject<{
|
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const scaleAiListProjects:
|
|
26
|
-
limit?: number | undefined;
|
|
27
|
-
offset?: number | undefined;
|
|
28
|
-
archived?: boolean | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const scaleAiListProjects: AppAction<typeof ScaleAiListProjectsInput, typeof ScaleAiListProjectsOutput, typeof scaleAi.credential>;
|
|
42
28
|
//#endregion
|
|
43
29
|
export { scaleAiListProjects };
|
|
44
30
|
//# sourceMappingURL=list-projects.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAgBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiListProjectsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of projects to return per page.\").optional(),\n offset: z.number().int().describe(\"Number of projects to skip for pagination.\").optional(),\n archived: z.boolean().describe(\"Filter to display only archived or unarchived projects. If not provided, all projects are returned.\").optional(),\n}).describe(\"Request model for listing projects with optional archived filtering and pagination.\");\nconst ScaleAiListProjects_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number identifier for this parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when this parameter version was created.\").nullable(),\n instruction: z.string().describe(\"Task instructions for this parameter version.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single parameter history version entry.\");\nconst ScaleAiListProjects_ProjectItemSchema = z.object({\n name: z.string().describe(\"Unique project identifier name.\").nullable(),\n type: z.string().describe(\"Task type classification (e.g., 'imageannotation', 'textcollection').\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the project was created.\").nullable(),\n param_history: z.array(ScaleAiListProjects_ParamHistoryItemSchema).describe(\"Historical record of project parameter versions.\"),\n}).passthrough().describe(\"Schema for a single project object.\");\nexport const ScaleAiListProjectsOutput = z.object({\n limit: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of projects matching the query.\").nullable().optional(),\n offset: z.number().int().describe(\"Number of results skipped.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available.\").nullable().optional(),\n projects: z.array(ScaleAiListProjects_ProjectItemSchema).describe(\"List of projects in the Scale AI account.\"),\n}).passthrough().describe(\"Response model for listing projects. Returns an array of project objects.\");\n\nexport const scaleAiListProjects = action(\"SCALE_AI_LIST_PROJECTS\", {\n slug: \"scale_ai-list-projects\",\n name: \"List Projects\",\n description: \"Tool to retrieve information for all projects in the Scale AI account with optional archived filtering. Use when you need to browse or manage project metadata. Returns project details including type, name, parameter history, and creation timestamps.\",\n input: ScaleAiListProjectsInput,\n output: ScaleAiListProjectsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiListProjectsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of projects to return per page.\").optional(),\n offset: z.number().int().describe(\"Number of projects to skip for pagination.\").optional(),\n archived: z.boolean().describe(\"Filter to display only archived or unarchived projects. If not provided, all projects are returned.\").optional(),\n}).describe(\"Request model for listing projects with optional archived filtering and pagination.\");\nconst ScaleAiListProjects_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number identifier for this parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when this parameter version was created.\").nullable(),\n instruction: z.string().describe(\"Task instructions for this parameter version.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single parameter history version entry.\");\nconst ScaleAiListProjects_ProjectItemSchema = z.object({\n name: z.string().describe(\"Unique project identifier name.\").nullable(),\n type: z.string().describe(\"Task type classification (e.g., 'imageannotation', 'textcollection').\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the project was created.\").nullable(),\n param_history: z.array(ScaleAiListProjects_ParamHistoryItemSchema).describe(\"Historical record of project parameter versions.\"),\n}).passthrough().describe(\"Schema for a single project object.\");\nexport const ScaleAiListProjectsOutput = z.object({\n limit: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of projects matching the query.\").nullable().optional(),\n offset: z.number().int().describe(\"Number of results skipped.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available.\").nullable().optional(),\n projects: z.array(ScaleAiListProjects_ProjectItemSchema).describe(\"List of projects in the Scale AI account.\"),\n}).passthrough().describe(\"Response model for listing projects. Returns an array of project objects.\");\n\nexport const scaleAiListProjects: AppAction<\n typeof ScaleAiListProjectsInput,\n typeof ScaleAiListProjectsOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_LIST_PROJECTS\", {\n slug: \"scale_ai-list-projects\",\n name: \"List Projects\",\n description: \"Tool to retrieve information for all projects in the Scale AI account with optional archived filtering. Use when you need to browse or manage project metadata. Returns project details including type, name, parameter history, and creation timestamps.\",\n input: ScaleAiListProjectsInput,\n output: ScaleAiListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,6CAA6C,EAAE,OAAO;CAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,eAAe,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,kDAAkD;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAS/D,MAAa,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2CAA2C;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-tasks.cjs","names":["z","action"],"sources":["../../src/actions/list-tasks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiListTasksInput = z.object({\n tags: z.array(z.string()).describe(\"Filter by task tags. Only tasks with these tags will be returned.\").optional(),\n type: z.string().describe(\"Filter by task type (e.g., 'imageannotation', 'textcollection').\").optional(),\n batch: z.string().describe(\"Filter by batch name. Only tasks belonging to this batch will be returned.\").optional(),\n limit: z.string().describe(\"Results per page (1-100, default: 100). Controls how many tasks are returned in a single request.\").optional(),\n status: z.array(z.string()).describe(\"Filter by task status. Can include multiple values from: 'completed', 'pending', 'canceled'.\").optional(),\n project: z.string().describe(\"Filter by project name. Only tasks belonging to this project will be returned.\").optional(),\n end_time: z.string().describe(\"Maximum created_at timestamp in ISO 8601 format (e.g., '2024-12-31T23:59:59Z'). Only tasks created on or before this time will be returned.\").optional(),\n unique_id: z.array(z.string()).describe(\"Filter by task unique identifiers. Can include multiple unique IDs to retrieve specific tasks.\").optional(),\n next_token: z.string().describe(\"Pagination token for retrieving subsequent pages. Use the next_token value from a previous response to get the next page of results.\").optional(),\n start_time: z.string().describe(\"Minimum created_at timestamp in ISO 8601 format (e.g., '2024-01-01T00:00:00Z'). Only tasks created on or after this time will be returned.\").optional(),\n updated_after: z.string().describe(\"Minimum updated_at timestamp in ISO 8601 format. Only tasks updated on or after this time will be returned.\").optional(),\n updated_before: z.string().describe(\"Maximum updated_at timestamp in ISO 8601 format. Only tasks updated on or before this time will be returned.\").optional(),\n completed_after: z.string().describe(\"Minimum completed_at timestamp in ISO 8601 format. Only tasks completed on or after this time will be returned.\").optional(),\n completed_before: z.string().describe(\"Maximum completed_at timestamp in ISO 8601 format. Only tasks completed on or before this time will be returned.\").optional(),\n customer_review_status: z.array(z.string()).describe(\"Filter by audit result status. Can include multiple values from: 'accepted', 'fixed', 'commented', 'rejected'.\").optional(),\n include_attachment_url: z.boolean().describe(\"Include presigned attachment URLs in the response. Set to true if you need to access task attachments directly.\").optional(),\n}).describe(\"Request model for listing tasks with filtering and pagination options.\");\nconst ScaleAiListTasks_TaskObjectSchema = z.object({\n tags: z.array(z.string()).describe(\"Array of string tags.\").nullable().optional(),\n type: z.string().describe(\"Task type.\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task parameters.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Task metadata.\").nullable().optional(),\n unique_id: z.string().describe(\"User-provided unique identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when task was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when task was last updated.\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions.\").nullable().optional(),\n callback_url: z.string().describe(\"URL for task callbacks.\").nullable().optional(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when task was completed.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single task object.\");\nexport const ScaleAiListTasksOutput = z.object({\n docs: z.array(ScaleAiListTasks_TaskObjectSchema).describe(\"Array of task objects.\"),\n limit: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of tasks matching the query.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available.\").nullable().optional(),\n next_token: z.string().describe(\"Token for retrieving the next page of results.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing tasks.\");\n\nexport const scaleAiListTasks = action(\"SCALE_AI_LIST_TASKS\", {\n slug: \"scale_ai-list-tasks\",\n name: \"List Tasks\",\n description: \"Tool to retrieve a paginated list of tasks in descending order by creation time. Use when you need to browse tasks with optional filtering by status, type, project, batch, tags, timestamps, or unique identifiers. Supports pagination via limit and next_token.\",\n input: ScaleAiListTasksInput,\n output: ScaleAiListTasksOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-tasks.cjs","names":["z","action"],"sources":["../../src/actions/list-tasks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiListTasksInput = z.object({\n tags: z.array(z.string()).describe(\"Filter by task tags. Only tasks with these tags will be returned.\").optional(),\n type: z.string().describe(\"Filter by task type (e.g., 'imageannotation', 'textcollection').\").optional(),\n batch: z.string().describe(\"Filter by batch name. Only tasks belonging to this batch will be returned.\").optional(),\n limit: z.string().describe(\"Results per page (1-100, default: 100). Controls how many tasks are returned in a single request.\").optional(),\n status: z.array(z.string()).describe(\"Filter by task status. Can include multiple values from: 'completed', 'pending', 'canceled'.\").optional(),\n project: z.string().describe(\"Filter by project name. Only tasks belonging to this project will be returned.\").optional(),\n end_time: z.string().describe(\"Maximum created_at timestamp in ISO 8601 format (e.g., '2024-12-31T23:59:59Z'). Only tasks created on or before this time will be returned.\").optional(),\n unique_id: z.array(z.string()).describe(\"Filter by task unique identifiers. Can include multiple unique IDs to retrieve specific tasks.\").optional(),\n next_token: z.string().describe(\"Pagination token for retrieving subsequent pages. Use the next_token value from a previous response to get the next page of results.\").optional(),\n start_time: z.string().describe(\"Minimum created_at timestamp in ISO 8601 format (e.g., '2024-01-01T00:00:00Z'). Only tasks created on or after this time will be returned.\").optional(),\n updated_after: z.string().describe(\"Minimum updated_at timestamp in ISO 8601 format. Only tasks updated on or after this time will be returned.\").optional(),\n updated_before: z.string().describe(\"Maximum updated_at timestamp in ISO 8601 format. Only tasks updated on or before this time will be returned.\").optional(),\n completed_after: z.string().describe(\"Minimum completed_at timestamp in ISO 8601 format. Only tasks completed on or after this time will be returned.\").optional(),\n completed_before: z.string().describe(\"Maximum completed_at timestamp in ISO 8601 format. Only tasks completed on or before this time will be returned.\").optional(),\n customer_review_status: z.array(z.string()).describe(\"Filter by audit result status. Can include multiple values from: 'accepted', 'fixed', 'commented', 'rejected'.\").optional(),\n include_attachment_url: z.boolean().describe(\"Include presigned attachment URLs in the response. Set to true if you need to access task attachments directly.\").optional(),\n}).describe(\"Request model for listing tasks with filtering and pagination options.\");\nconst ScaleAiListTasks_TaskObjectSchema = z.object({\n tags: z.array(z.string()).describe(\"Array of string tags.\").nullable().optional(),\n type: z.string().describe(\"Task type.\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task parameters.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Task metadata.\").nullable().optional(),\n unique_id: z.string().describe(\"User-provided unique identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when task was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when task was last updated.\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions.\").nullable().optional(),\n callback_url: z.string().describe(\"URL for task callbacks.\").nullable().optional(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when task was completed.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single task object.\");\nexport const ScaleAiListTasksOutput = z.object({\n docs: z.array(ScaleAiListTasks_TaskObjectSchema).describe(\"Array of task objects.\"),\n limit: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of tasks matching the query.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available.\").nullable().optional(),\n next_token: z.string().describe(\"Token for retrieving the next page of results.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing tasks.\");\n\nexport const scaleAiListTasks: AppAction<\n typeof ScaleAiListTasksInput,\n typeof ScaleAiListTasksOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_LIST_TASKS\", {\n slug: \"scale_ai-list-tasks\",\n name: \"List Tasks\",\n description: \"Tool to retrieve a paginated list of tasks in descending order by creation time. Use when you need to browse tasks with optional filtering by status, type, project, batch, tags, timestamps, or unique identifiers. Supports pagination via limit and next_token.\",\n input: ScaleAiListTasksInput,\n output: ScaleAiListTasksOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-tasks.d.ts
|
|
@@ -39,36 +41,7 @@ declare const ScaleAiListTasksOutput: z.ZodObject<{
|
|
|
39
41
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
40
42
|
next_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const scaleAiListTasks:
|
|
43
|
-
tags?: string[] | undefined;
|
|
44
|
-
type?: string | undefined;
|
|
45
|
-
batch?: string | undefined;
|
|
46
|
-
limit?: string | undefined;
|
|
47
|
-
status?: string[] | undefined;
|
|
48
|
-
project?: string | undefined;
|
|
49
|
-
end_time?: string | undefined;
|
|
50
|
-
unique_id?: string[] | undefined;
|
|
51
|
-
next_token?: string | undefined;
|
|
52
|
-
start_time?: string | undefined;
|
|
53
|
-
updated_after?: string | undefined;
|
|
54
|
-
updated_before?: string | undefined;
|
|
55
|
-
completed_after?: string | undefined;
|
|
56
|
-
completed_before?: string | undefined;
|
|
57
|
-
customer_review_status?: string[] | undefined;
|
|
58
|
-
include_attachment_url?: boolean | undefined;
|
|
59
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
60
|
-
connectionId: z.ZodString;
|
|
61
|
-
entityId: z.ZodString;
|
|
62
|
-
instanceId: z.ZodString;
|
|
63
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
-
generic_api_key: z.ZodString;
|
|
65
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
66
|
-
connectionId: z.ZodString;
|
|
67
|
-
entityId: z.ZodString;
|
|
68
|
-
instanceId: z.ZodString;
|
|
69
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
70
|
-
generic_api_key: z.ZodString;
|
|
71
|
-
}, z.core.$strip>>]>;
|
|
44
|
+
declare const scaleAiListTasks: AppAction<typeof ScaleAiListTasksInput, typeof ScaleAiListTasksOutput, typeof scaleAi.credential>;
|
|
72
45
|
//#endregion
|
|
73
46
|
export { scaleAiListTasks };
|
|
74
47
|
//# sourceMappingURL=list-tasks.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-tasks.d.cts","names":[],"sources":["../../src/actions/list-tasks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-tasks.d.cts","names":[],"sources":["../../src/actions/list-tasks.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAgCrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAQtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-tasks.d.ts
|
|
@@ -39,36 +41,7 @@ declare const ScaleAiListTasksOutput: z.ZodObject<{
|
|
|
39
41
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
40
42
|
next_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const scaleAiListTasks:
|
|
43
|
-
tags?: string[] | undefined;
|
|
44
|
-
type?: string | undefined;
|
|
45
|
-
batch?: string | undefined;
|
|
46
|
-
limit?: string | undefined;
|
|
47
|
-
status?: string[] | undefined;
|
|
48
|
-
project?: string | undefined;
|
|
49
|
-
end_time?: string | undefined;
|
|
50
|
-
unique_id?: string[] | undefined;
|
|
51
|
-
next_token?: string | undefined;
|
|
52
|
-
start_time?: string | undefined;
|
|
53
|
-
updated_after?: string | undefined;
|
|
54
|
-
updated_before?: string | undefined;
|
|
55
|
-
completed_after?: string | undefined;
|
|
56
|
-
completed_before?: string | undefined;
|
|
57
|
-
customer_review_status?: string[] | undefined;
|
|
58
|
-
include_attachment_url?: boolean | undefined;
|
|
59
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
60
|
-
connectionId: z.ZodString;
|
|
61
|
-
entityId: z.ZodString;
|
|
62
|
-
instanceId: z.ZodString;
|
|
63
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
-
generic_api_key: z.ZodString;
|
|
65
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
66
|
-
connectionId: z.ZodString;
|
|
67
|
-
entityId: z.ZodString;
|
|
68
|
-
instanceId: z.ZodString;
|
|
69
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
70
|
-
generic_api_key: z.ZodString;
|
|
71
|
-
}, z.core.$strip>>]>;
|
|
44
|
+
declare const scaleAiListTasks: AppAction<typeof ScaleAiListTasksInput, typeof ScaleAiListTasksOutput, typeof scaleAi.credential>;
|
|
72
45
|
//#endregion
|
|
73
46
|
export { scaleAiListTasks };
|
|
74
47
|
//# sourceMappingURL=list-tasks.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-tasks.d.mts","names":[],"sources":["../../src/actions/list-tasks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-tasks.d.mts","names":[],"sources":["../../src/actions/list-tasks.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAgCrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAQtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-tasks.mjs","names":[],"sources":["../../src/actions/list-tasks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiListTasksInput = z.object({\n tags: z.array(z.string()).describe(\"Filter by task tags. Only tasks with these tags will be returned.\").optional(),\n type: z.string().describe(\"Filter by task type (e.g., 'imageannotation', 'textcollection').\").optional(),\n batch: z.string().describe(\"Filter by batch name. Only tasks belonging to this batch will be returned.\").optional(),\n limit: z.string().describe(\"Results per page (1-100, default: 100). Controls how many tasks are returned in a single request.\").optional(),\n status: z.array(z.string()).describe(\"Filter by task status. Can include multiple values from: 'completed', 'pending', 'canceled'.\").optional(),\n project: z.string().describe(\"Filter by project name. Only tasks belonging to this project will be returned.\").optional(),\n end_time: z.string().describe(\"Maximum created_at timestamp in ISO 8601 format (e.g., '2024-12-31T23:59:59Z'). Only tasks created on or before this time will be returned.\").optional(),\n unique_id: z.array(z.string()).describe(\"Filter by task unique identifiers. Can include multiple unique IDs to retrieve specific tasks.\").optional(),\n next_token: z.string().describe(\"Pagination token for retrieving subsequent pages. Use the next_token value from a previous response to get the next page of results.\").optional(),\n start_time: z.string().describe(\"Minimum created_at timestamp in ISO 8601 format (e.g., '2024-01-01T00:00:00Z'). Only tasks created on or after this time will be returned.\").optional(),\n updated_after: z.string().describe(\"Minimum updated_at timestamp in ISO 8601 format. Only tasks updated on or after this time will be returned.\").optional(),\n updated_before: z.string().describe(\"Maximum updated_at timestamp in ISO 8601 format. Only tasks updated on or before this time will be returned.\").optional(),\n completed_after: z.string().describe(\"Minimum completed_at timestamp in ISO 8601 format. Only tasks completed on or after this time will be returned.\").optional(),\n completed_before: z.string().describe(\"Maximum completed_at timestamp in ISO 8601 format. Only tasks completed on or before this time will be returned.\").optional(),\n customer_review_status: z.array(z.string()).describe(\"Filter by audit result status. Can include multiple values from: 'accepted', 'fixed', 'commented', 'rejected'.\").optional(),\n include_attachment_url: z.boolean().describe(\"Include presigned attachment URLs in the response. Set to true if you need to access task attachments directly.\").optional(),\n}).describe(\"Request model for listing tasks with filtering and pagination options.\");\nconst ScaleAiListTasks_TaskObjectSchema = z.object({\n tags: z.array(z.string()).describe(\"Array of string tags.\").nullable().optional(),\n type: z.string().describe(\"Task type.\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task parameters.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Task metadata.\").nullable().optional(),\n unique_id: z.string().describe(\"User-provided unique identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when task was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when task was last updated.\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions.\").nullable().optional(),\n callback_url: z.string().describe(\"URL for task callbacks.\").nullable().optional(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when task was completed.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single task object.\");\nexport const ScaleAiListTasksOutput = z.object({\n docs: z.array(ScaleAiListTasks_TaskObjectSchema).describe(\"Array of task objects.\"),\n limit: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of tasks matching the query.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available.\").nullable().optional(),\n next_token: z.string().describe(\"Token for retrieving the next page of results.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing tasks.\");\n\nexport const scaleAiListTasks = action(\"SCALE_AI_LIST_TASKS\", {\n slug: \"scale_ai-list-tasks\",\n name: \"List Tasks\",\n description: \"Tool to retrieve a paginated list of tasks in descending order by creation time. Use when you need to browse tasks with optional filtering by status, type, project, batch, tags, timestamps, or unique identifiers. Supports pagination via limit and next_token.\",\n input: ScaleAiListTasksInput,\n output: ScaleAiListTasksOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-tasks.mjs","names":[],"sources":["../../src/actions/list-tasks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiListTasksInput = z.object({\n tags: z.array(z.string()).describe(\"Filter by task tags. Only tasks with these tags will be returned.\").optional(),\n type: z.string().describe(\"Filter by task type (e.g., 'imageannotation', 'textcollection').\").optional(),\n batch: z.string().describe(\"Filter by batch name. Only tasks belonging to this batch will be returned.\").optional(),\n limit: z.string().describe(\"Results per page (1-100, default: 100). Controls how many tasks are returned in a single request.\").optional(),\n status: z.array(z.string()).describe(\"Filter by task status. Can include multiple values from: 'completed', 'pending', 'canceled'.\").optional(),\n project: z.string().describe(\"Filter by project name. Only tasks belonging to this project will be returned.\").optional(),\n end_time: z.string().describe(\"Maximum created_at timestamp in ISO 8601 format (e.g., '2024-12-31T23:59:59Z'). Only tasks created on or before this time will be returned.\").optional(),\n unique_id: z.array(z.string()).describe(\"Filter by task unique identifiers. Can include multiple unique IDs to retrieve specific tasks.\").optional(),\n next_token: z.string().describe(\"Pagination token for retrieving subsequent pages. Use the next_token value from a previous response to get the next page of results.\").optional(),\n start_time: z.string().describe(\"Minimum created_at timestamp in ISO 8601 format (e.g., '2024-01-01T00:00:00Z'). Only tasks created on or after this time will be returned.\").optional(),\n updated_after: z.string().describe(\"Minimum updated_at timestamp in ISO 8601 format. Only tasks updated on or after this time will be returned.\").optional(),\n updated_before: z.string().describe(\"Maximum updated_at timestamp in ISO 8601 format. Only tasks updated on or before this time will be returned.\").optional(),\n completed_after: z.string().describe(\"Minimum completed_at timestamp in ISO 8601 format. Only tasks completed on or after this time will be returned.\").optional(),\n completed_before: z.string().describe(\"Maximum completed_at timestamp in ISO 8601 format. Only tasks completed on or before this time will be returned.\").optional(),\n customer_review_status: z.array(z.string()).describe(\"Filter by audit result status. Can include multiple values from: 'accepted', 'fixed', 'commented', 'rejected'.\").optional(),\n include_attachment_url: z.boolean().describe(\"Include presigned attachment URLs in the response. Set to true if you need to access task attachments directly.\").optional(),\n}).describe(\"Request model for listing tasks with filtering and pagination options.\");\nconst ScaleAiListTasks_TaskObjectSchema = z.object({\n tags: z.array(z.string()).describe(\"Array of string tags.\").nullable().optional(),\n type: z.string().describe(\"Task type.\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task parameters.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Task metadata.\").nullable().optional(),\n unique_id: z.string().describe(\"User-provided unique identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when task was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when task was last updated.\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions.\").nullable().optional(),\n callback_url: z.string().describe(\"URL for task callbacks.\").nullable().optional(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when task was completed.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single task object.\");\nexport const ScaleAiListTasksOutput = z.object({\n docs: z.array(ScaleAiListTasks_TaskObjectSchema).describe(\"Array of task objects.\"),\n limit: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of tasks matching the query.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available.\").nullable().optional(),\n next_token: z.string().describe(\"Token for retrieving the next page of results.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing tasks.\");\n\nexport const scaleAiListTasks: AppAction<\n typeof ScaleAiListTasksInput,\n typeof ScaleAiListTasksOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_LIST_TASKS\", {\n slug: \"scale_ai-list-tasks\",\n name: \"List Tasks\",\n description: \"Tool to retrieve a paginated list of tasks in descending order by creation time. Use when you need to browse tasks with optional filtering by status, type, project, batch, tags, timestamps, or unique identifiers. Supports pagination via limit and next_token.\",\n input: ScaleAiListTasksInput,\n output: ScaleAiListTasksOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-v1-task-send-callback.cjs","names":["z","action"],"sources":["../../src/actions/post-v1-task-send-callback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiPostV1TaskSendCallbackInput = z.object({\n task_id: z.string().describe(\"The unique identifier for the task whose callback should be resent\"),\n}).describe(\"Request model for re-sending a callback for a completed or errored task.\");\nexport const ScaleAiPostV1TaskSendCallbackOutput = z.object({\n task: z.record(z.string(), z.unknown()).describe(\"Full task object for reference\").nullable().optional(),\n status: z.string().describe(\"Task status (typically 'completed' or 'error')\").nullable().optional(),\n message: z.string().describe(\"Success message from the API (e.g., 'OK')\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"The task's result data\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the callback payload that was sent to the callback_url.\");\n\nexport const scaleAiPostV1TaskSendCallback = action(\"SCALE_AI_POST_V1_TASK_SEND_CALLBACK\", {\n slug: \"scale_ai-post-v1-task-send-callback\",\n name: \"Re-send Task Callback\",\n description: \"Tool to re-send a callback for a completed or errored task to the callback_url. Use when you need to manually trigger a callback resend for a task that has already been processed.\",\n input: ScaleAiPostV1TaskSendCallbackInput,\n output: ScaleAiPostV1TaskSendCallbackOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-v1-task-send-callback.cjs","names":["z","action"],"sources":["../../src/actions/post-v1-task-send-callback.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiPostV1TaskSendCallbackInput = z.object({\n task_id: z.string().describe(\"The unique identifier for the task whose callback should be resent\"),\n}).describe(\"Request model for re-sending a callback for a completed or errored task.\");\nexport const ScaleAiPostV1TaskSendCallbackOutput = z.object({\n task: z.record(z.string(), z.unknown()).describe(\"Full task object for reference\").nullable().optional(),\n status: z.string().describe(\"Task status (typically 'completed' or 'error')\").nullable().optional(),\n message: z.string().describe(\"Success message from the API (e.g., 'OK')\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"The task's result data\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the callback payload that was sent to the callback_url.\");\n\nexport const scaleAiPostV1TaskSendCallback: AppAction<\n typeof ScaleAiPostV1TaskSendCallbackInput,\n typeof ScaleAiPostV1TaskSendCallbackOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_POST_V1_TASK_SEND_CALLBACK\", {\n slug: \"scale_ai-post-v1-task-send-callback\",\n name: \"Re-send Task Callback\",\n description: \"Tool to re-send a callback for a completed or errored task to the callback_url. Use when you need to manually trigger a callback resend for a task that has already been processed.\",\n input: ScaleAiPostV1TaskSendCallbackInput,\n output: ScaleAiPostV1TaskSendCallbackOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACnG,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAAmF;AAE7G,MAAa,gCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-v1-task-send-callback.d.ts
|
|
@@ -11,21 +13,7 @@ declare const ScaleAiPostV1TaskSendCallbackOutput: z.ZodObject<{
|
|
|
11
13
|
task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const scaleAiPostV1TaskSendCallback:
|
|
15
|
-
task_id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const scaleAiPostV1TaskSendCallback: AppAction<typeof ScaleAiPostV1TaskSendCallbackInput, typeof ScaleAiPostV1TaskSendCallbackOutput, typeof scaleAi.credential>;
|
|
29
17
|
//#endregion
|
|
30
18
|
export { scaleAiPostV1TaskSendCallback };
|
|
31
19
|
//# sourceMappingURL=post-v1-task-send-callback.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-v1-task-send-callback.d.cts","names":[],"sources":["../../src/actions/post-v1-task-send-callback.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-v1-task-send-callback.d.cts","names":[],"sources":["../../src/actions/post-v1-task-send-callback.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAQnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-v1-task-send-callback.d.ts
|
|
@@ -11,21 +13,7 @@ declare const ScaleAiPostV1TaskSendCallbackOutput: z.ZodObject<{
|
|
|
11
13
|
task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const scaleAiPostV1TaskSendCallback:
|
|
15
|
-
task_id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const scaleAiPostV1TaskSendCallback: AppAction<typeof ScaleAiPostV1TaskSendCallbackInput, typeof ScaleAiPostV1TaskSendCallbackOutput, typeof scaleAi.credential>;
|
|
29
17
|
//#endregion
|
|
30
18
|
export { scaleAiPostV1TaskSendCallback };
|
|
31
19
|
//# sourceMappingURL=post-v1-task-send-callback.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-v1-task-send-callback.d.mts","names":[],"sources":["../../src/actions/post-v1-task-send-callback.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-v1-task-send-callback.d.mts","names":[],"sources":["../../src/actions/post-v1-task-send-callback.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAQnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-v1-task-send-callback.mjs","names":[],"sources":["../../src/actions/post-v1-task-send-callback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiPostV1TaskSendCallbackInput = z.object({\n task_id: z.string().describe(\"The unique identifier for the task whose callback should be resent\"),\n}).describe(\"Request model for re-sending a callback for a completed or errored task.\");\nexport const ScaleAiPostV1TaskSendCallbackOutput = z.object({\n task: z.record(z.string(), z.unknown()).describe(\"Full task object for reference\").nullable().optional(),\n status: z.string().describe(\"Task status (typically 'completed' or 'error')\").nullable().optional(),\n message: z.string().describe(\"Success message from the API (e.g., 'OK')\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"The task's result data\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the callback payload that was sent to the callback_url.\");\n\nexport const scaleAiPostV1TaskSendCallback = action(\"SCALE_AI_POST_V1_TASK_SEND_CALLBACK\", {\n slug: \"scale_ai-post-v1-task-send-callback\",\n name: \"Re-send Task Callback\",\n description: \"Tool to re-send a callback for a completed or errored task to the callback_url. Use when you need to manually trigger a callback resend for a task that has already been processed.\",\n input: ScaleAiPostV1TaskSendCallbackInput,\n output: ScaleAiPostV1TaskSendCallbackOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-v1-task-send-callback.mjs","names":[],"sources":["../../src/actions/post-v1-task-send-callback.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiPostV1TaskSendCallbackInput = z.object({\n task_id: z.string().describe(\"The unique identifier for the task whose callback should be resent\"),\n}).describe(\"Request model for re-sending a callback for a completed or errored task.\");\nexport const ScaleAiPostV1TaskSendCallbackOutput = z.object({\n task: z.record(z.string(), z.unknown()).describe(\"Full task object for reference\").nullable().optional(),\n status: z.string().describe(\"Task status (typically 'completed' or 'error')\").nullable().optional(),\n message: z.string().describe(\"Success message from the API (e.g., 'OK')\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"The task's result data\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the callback payload that was sent to the callback_url.\");\n\nexport const scaleAiPostV1TaskSendCallback: AppAction<\n typeof ScaleAiPostV1TaskSendCallbackInput,\n typeof ScaleAiPostV1TaskSendCallbackOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_POST_V1_TASK_SEND_CALLBACK\", {\n slug: \"scale_ai-post-v1-task-send-callback\",\n name: \"Re-send Task Callback\",\n description: \"Tool to re-send a callback for a completed or errored task to the callback_url. Use when you need to manually trigger a callback resend for a task that has already been processed.\",\n input: ScaleAiPostV1TaskSendCallbackInput,\n output: ScaleAiPostV1TaskSendCallbackOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,gCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBgD,EAAE,OAAO,EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACnG,CAAC,CAAC,CAAC,SAAS,0EAiBH;CACP,QAjBiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-studio-assignments.cjs","names":["z","action"],"sources":["../../src/actions/remove-studio-assignments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiRemoveStudioAssignmentsInput = z.object({\n emails: z.array(z.string()).describe(\"Array of email addresses of teammates to remove assignments from.\"),\n projects: z.array(z.string()).describe(\"Optional array of project IDs to unassign from the specified team members. If not provided, all projects will be unassigned.\").optional(),\n}).describe(\"Request parameters for removing studio assignments from team members.\");\nconst ScaleAiRemoveStudioAssignments_AssignmentInfoSchema = z.object({\n role: z.string().describe(\"The role of the team member in the project.\").nullable().optional(),\n project_id: z.string().describe(\"The unique identifier of the project.\").nullable().optional(),\n project_name: z.string().describe(\"The name of the project.\").nullable().optional(),\n}).passthrough().describe(\"Information about a project assignment for a team member.\");\nconst ScaleAiRemoveStudioAssignments_TeamMemberSchema = z.object({\n name: z.string().describe(\"The name of the team member.\").nullable().optional(),\n email: z.string().describe(\"The email address of the team member.\").nullable().optional(),\n assignments: z.array(ScaleAiRemoveStudioAssignments_AssignmentInfoSchema).describe(\"List of project assignments for this team member.\").nullable().optional(),\n}).passthrough().describe(\"Information about a team member and their assignments.\");\nexport const ScaleAiRemoveStudioAssignmentsOutput = z.object({\n message: z.string().describe(\"Additional message or status information about the operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the assignment removal was successful.\").nullable().optional(),\n team_members: z.array(ScaleAiRemoveStudioAssignments_TeamMemberSchema).describe(\"List of all team members and their updated assignments after removal.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for removing studio assignments.\");\n\nexport const scaleAiRemoveStudioAssignments = action(\"SCALE_AI_REMOVE_STUDIO_ASSIGNMENTS\", {\n slug: \"scale_ai-remove-studio-assignments\",\n name: \"Remove Studio Assignments\",\n description: \"Tool to unassign projects from specified team members in Scale AI Studio. Use when you need to remove project assignments from one or more team members.\",\n input: ScaleAiRemoveStudioAssignmentsInput,\n output: ScaleAiRemoveStudioAssignmentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-studio-assignments.cjs","names":["z","action"],"sources":["../../src/actions/remove-studio-assignments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiRemoveStudioAssignmentsInput = z.object({\n emails: z.array(z.string()).describe(\"Array of email addresses of teammates to remove assignments from.\"),\n projects: z.array(z.string()).describe(\"Optional array of project IDs to unassign from the specified team members. If not provided, all projects will be unassigned.\").optional(),\n}).describe(\"Request parameters for removing studio assignments from team members.\");\nconst ScaleAiRemoveStudioAssignments_AssignmentInfoSchema = z.object({\n role: z.string().describe(\"The role of the team member in the project.\").nullable().optional(),\n project_id: z.string().describe(\"The unique identifier of the project.\").nullable().optional(),\n project_name: z.string().describe(\"The name of the project.\").nullable().optional(),\n}).passthrough().describe(\"Information about a project assignment for a team member.\");\nconst ScaleAiRemoveStudioAssignments_TeamMemberSchema = z.object({\n name: z.string().describe(\"The name of the team member.\").nullable().optional(),\n email: z.string().describe(\"The email address of the team member.\").nullable().optional(),\n assignments: z.array(ScaleAiRemoveStudioAssignments_AssignmentInfoSchema).describe(\"List of project assignments for this team member.\").nullable().optional(),\n}).passthrough().describe(\"Information about a team member and their assignments.\");\nexport const ScaleAiRemoveStudioAssignmentsOutput = z.object({\n message: z.string().describe(\"Additional message or status information about the operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the assignment removal was successful.\").nullable().optional(),\n team_members: z.array(ScaleAiRemoveStudioAssignments_TeamMemberSchema).describe(\"List of all team members and their updated assignments after removal.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for removing studio assignments.\");\n\nexport const scaleAiRemoveStudioAssignments: AppAction<\n typeof ScaleAiRemoveStudioAssignmentsInput,\n typeof ScaleAiRemoveStudioAssignmentsOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_REMOVE_STUDIO_ASSIGNMENTS\", {\n slug: \"scale_ai-remove-studio-assignments\",\n name: \"Remove Studio Assignments\",\n description: \"Tool to unassign projects from specified team members in Scale AI Studio. Use when you need to remove project assignments from one or more team members.\",\n input: ScaleAiRemoveStudioAssignmentsInput,\n output: ScaleAiRemoveStudioAssignmentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE;CACxG,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;AAClL,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,cAAcA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/remove-studio-assignments.d.ts
|
|
@@ -18,22 +20,7 @@ declare const ScaleAiRemoveStudioAssignmentsOutput: z.ZodObject<{
|
|
|
18
20
|
}, z.core.$loose>>>>;
|
|
19
21
|
}, z.core.$loose>>>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const scaleAiRemoveStudioAssignments:
|
|
22
|
-
emails: string[];
|
|
23
|
-
projects?: string[] | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const scaleAiRemoveStudioAssignments: AppAction<typeof ScaleAiRemoveStudioAssignmentsInput, typeof ScaleAiRemoveStudioAssignmentsOutput, typeof scaleAi.credential>;
|
|
37
24
|
//#endregion
|
|
38
25
|
export { scaleAiRemoveStudioAssignments };
|
|
39
26
|
//# sourceMappingURL=remove-studio-assignments.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-studio-assignments.d.cts","names":[],"sources":["../../src/actions/remove-studio-assignments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-studio-assignments.d.cts","names":[],"sources":["../../src/actions/remove-studio-assignments.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAcnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAMpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/remove-studio-assignments.d.ts
|
|
@@ -18,22 +20,7 @@ declare const ScaleAiRemoveStudioAssignmentsOutput: z.ZodObject<{
|
|
|
18
20
|
}, z.core.$loose>>>>;
|
|
19
21
|
}, z.core.$loose>>>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const scaleAiRemoveStudioAssignments:
|
|
22
|
-
emails: string[];
|
|
23
|
-
projects?: string[] | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const scaleAiRemoveStudioAssignments: AppAction<typeof ScaleAiRemoveStudioAssignmentsInput, typeof ScaleAiRemoveStudioAssignmentsOutput, typeof scaleAi.credential>;
|
|
37
24
|
//#endregion
|
|
38
25
|
export { scaleAiRemoveStudioAssignments };
|
|
39
26
|
//# sourceMappingURL=remove-studio-assignments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-studio-assignments.d.mts","names":[],"sources":["../../src/actions/remove-studio-assignments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-studio-assignments.d.mts","names":[],"sources":["../../src/actions/remove-studio-assignments.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAcnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAMpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-studio-assignments.mjs","names":[],"sources":["../../src/actions/remove-studio-assignments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiRemoveStudioAssignmentsInput = z.object({\n emails: z.array(z.string()).describe(\"Array of email addresses of teammates to remove assignments from.\"),\n projects: z.array(z.string()).describe(\"Optional array of project IDs to unassign from the specified team members. If not provided, all projects will be unassigned.\").optional(),\n}).describe(\"Request parameters for removing studio assignments from team members.\");\nconst ScaleAiRemoveStudioAssignments_AssignmentInfoSchema = z.object({\n role: z.string().describe(\"The role of the team member in the project.\").nullable().optional(),\n project_id: z.string().describe(\"The unique identifier of the project.\").nullable().optional(),\n project_name: z.string().describe(\"The name of the project.\").nullable().optional(),\n}).passthrough().describe(\"Information about a project assignment for a team member.\");\nconst ScaleAiRemoveStudioAssignments_TeamMemberSchema = z.object({\n name: z.string().describe(\"The name of the team member.\").nullable().optional(),\n email: z.string().describe(\"The email address of the team member.\").nullable().optional(),\n assignments: z.array(ScaleAiRemoveStudioAssignments_AssignmentInfoSchema).describe(\"List of project assignments for this team member.\").nullable().optional(),\n}).passthrough().describe(\"Information about a team member and their assignments.\");\nexport const ScaleAiRemoveStudioAssignmentsOutput = z.object({\n message: z.string().describe(\"Additional message or status information about the operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the assignment removal was successful.\").nullable().optional(),\n team_members: z.array(ScaleAiRemoveStudioAssignments_TeamMemberSchema).describe(\"List of all team members and their updated assignments after removal.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for removing studio assignments.\");\n\nexport const scaleAiRemoveStudioAssignments = action(\"SCALE_AI_REMOVE_STUDIO_ASSIGNMENTS\", {\n slug: \"scale_ai-remove-studio-assignments\",\n name: \"Remove Studio Assignments\",\n description: \"Tool to unassign projects from specified team members in Scale AI Studio. Use when you need to remove project assignments from one or more team members.\",\n input: ScaleAiRemoveStudioAssignmentsInput,\n output: ScaleAiRemoveStudioAssignmentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-studio-assignments.mjs","names":[],"sources":["../../src/actions/remove-studio-assignments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiRemoveStudioAssignmentsInput = z.object({\n emails: z.array(z.string()).describe(\"Array of email addresses of teammates to remove assignments from.\"),\n projects: z.array(z.string()).describe(\"Optional array of project IDs to unassign from the specified team members. If not provided, all projects will be unassigned.\").optional(),\n}).describe(\"Request parameters for removing studio assignments from team members.\");\nconst ScaleAiRemoveStudioAssignments_AssignmentInfoSchema = z.object({\n role: z.string().describe(\"The role of the team member in the project.\").nullable().optional(),\n project_id: z.string().describe(\"The unique identifier of the project.\").nullable().optional(),\n project_name: z.string().describe(\"The name of the project.\").nullable().optional(),\n}).passthrough().describe(\"Information about a project assignment for a team member.\");\nconst ScaleAiRemoveStudioAssignments_TeamMemberSchema = z.object({\n name: z.string().describe(\"The name of the team member.\").nullable().optional(),\n email: z.string().describe(\"The email address of the team member.\").nullable().optional(),\n assignments: z.array(ScaleAiRemoveStudioAssignments_AssignmentInfoSchema).describe(\"List of project assignments for this team member.\").nullable().optional(),\n}).passthrough().describe(\"Information about a team member and their assignments.\");\nexport const ScaleAiRemoveStudioAssignmentsOutput = z.object({\n message: z.string().describe(\"Additional message or status information about the operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the assignment removal was successful.\").nullable().optional(),\n team_members: z.array(ScaleAiRemoveStudioAssignments_TeamMemberSchema).describe(\"List of all team members and their updated assignments after removal.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for removing studio assignments.\");\n\nexport const scaleAiRemoveStudioAssignments: AppAction<\n typeof ScaleAiRemoveStudioAssignmentsInput,\n typeof ScaleAiRemoveStudioAssignmentsOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_REMOVE_STUDIO_ASSIGNMENTS\", {\n slug: \"scale_ai-remove-studio-assignments\",\n name: \"Remove Studio Assignments\",\n description: \"Tool to unassign projects from specified team members in Scale AI Studio. Use when you need to remove project assignments from one or more team members.\",\n input: ScaleAiRemoveStudioAssignmentsInput,\n output: ScaleAiRemoveStudioAssignmentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE;CACxG,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;AAClL,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,sDAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAOlF,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfkD,EAAE,OAAO;EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,cAAc,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-batch-priorities.cjs","names":["z","action"],"sources":["../../src/actions/reset-batch-priorities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiResetBatchPrioritiesInput = z.object({\n groups: z.string().describe(\"Filter parameter for groups to reset priorities\").optional(),\n}).describe(\"Request model for resetting batch priorities to default order.\");\nconst ScaleAiResetBatchPriorities_BatchSchema = z.object({\n id: z.string().describe(\"Unique batch identifier\").nullable(),\n file_url: z.string().describe(\"URL location of the batch file\").nullable(),\n filename: z.string().describe(\"Name of the batch file\").nullable(),\n file_size: z.number().int().describe(\"File size in bytes\").nullable(),\n file_type: z.string().describe(\"MIME type of the file\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp of creation\").nullable(),\n message_id: z.string().describe(\"Associated message reference\").nullable(),\n}).passthrough().describe(\"Represents a single batch in the Studio.\");\nexport const ScaleAiResetBatchPrioritiesOutput = z.object({\n batches: z.array(ScaleAiResetBatchPriorities_BatchSchema).describe(\"List of batches in the new priority order (calibration batches first, then by creation date)\"),\n}).passthrough().describe(\"Response model for resetting batch priorities.\");\n\nexport const scaleAiResetBatchPriorities = action(\"SCALE_AI_RESET_BATCH_PRIORITIES\", {\n slug: \"scale_ai-reset-batch-priorities\",\n name: \"Reset Batch Priorities\",\n description: \"Tool to restore batch priority order to default order (calibration batches first, then sorted by creation date). Use when you need to reset custom batch priorities back to the default ordering.\",\n input: ScaleAiResetBatchPrioritiesInput,\n output: ScaleAiResetBatchPrioritiesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reset-batch-priorities.cjs","names":["z","action"],"sources":["../../src/actions/reset-batch-priorities.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiResetBatchPrioritiesInput = z.object({\n groups: z.string().describe(\"Filter parameter for groups to reset priorities\").optional(),\n}).describe(\"Request model for resetting batch priorities to default order.\");\nconst ScaleAiResetBatchPriorities_BatchSchema = z.object({\n id: z.string().describe(\"Unique batch identifier\").nullable(),\n file_url: z.string().describe(\"URL location of the batch file\").nullable(),\n filename: z.string().describe(\"Name of the batch file\").nullable(),\n file_size: z.number().int().describe(\"File size in bytes\").nullable(),\n file_type: z.string().describe(\"MIME type of the file\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp of creation\").nullable(),\n message_id: z.string().describe(\"Associated message reference\").nullable(),\n}).passthrough().describe(\"Represents a single batch in the Studio.\");\nexport const ScaleAiResetBatchPrioritiesOutput = z.object({\n batches: z.array(ScaleAiResetBatchPriorities_BatchSchema).describe(\"List of batches in the new priority order (calibration batches first, then by creation date)\"),\n}).passthrough().describe(\"Response model for resetting batch priorities.\");\n\nexport const scaleAiResetBatchPriorities: AppAction<\n typeof ScaleAiResetBatchPrioritiesInput,\n typeof ScaleAiResetBatchPrioritiesOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_RESET_BATCH_PRIORITIES\", {\n slug: \"scale_ai-reset-batch-priorities\",\n name: \"Reset Batch Priorities\",\n description: \"Tool to restore batch priority order to default order (calibration batches first, then sorted by creation date). Use when you need to reset custom batch priorities back to the default ordering.\",\n input: ScaleAiResetBatchPrioritiesInput,\n output: ScaleAiResetBatchPrioritiesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EAC1F,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8FAA8F,EACnK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|