@keystrokehq/scale_ai 0.1.4 → 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 -4
- package/dist/actions/add-studio-assignments.d.cts.map +1 -1
- package/dist/actions/add-studio-assignments.d.mts +3 -4
- 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 -4
- package/dist/actions/add-task-tags.d.cts.map +1 -1
- package/dist/actions/add-task-tags.d.mts +3 -4
- 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 -7
- package/dist/actions/create-batch.d.cts.map +1 -1
- package/dist/actions/create-batch.d.mts +3 -7
- 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 -41
- package/dist/actions/create-document-transcription-task.d.cts.map +1 -1
- package/dist/actions/create-document-transcription-task.d.mts +3 -41
- 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 -113
- package/dist/actions/create-image-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-image-annotation-task.d.mts +3 -113
- 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 -20
- package/dist/actions/create-lidar-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-lidar-annotation-task.d.mts +3 -20
- 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 -15
- package/dist/actions/create-lidar-segmentation-task.d.cts.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.d.mts +3 -15
- 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 -31
- package/dist/actions/create-named-entity-recognition-task.d.cts.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.d.mts +3 -31
- 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 -24
- package/dist/actions/create-segmentation-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.d.mts +3 -24
- 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 -33
- package/dist/actions/create-text-collection-task.d.cts.map +1 -1
- package/dist/actions/create-text-collection-task.d.mts +3 -33
- 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 -65
- package/dist/actions/create-video-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-video-annotation-task.d.mts +3 -65
- 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 -71
- package/dist/actions/create-video-playback-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.d.mts +3 -71
- 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 -4
- package/dist/actions/delete-task-tags.d.cts.map +1 -1
- package/dist/actions/delete-task-tags.d.mts +3 -4
- 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 -3
- package/dist/actions/delete-task-unique-id.d.cts.map +1 -1
- package/dist/actions/delete-task-unique-id.d.mts +3 -3
- 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 -3
- package/dist/actions/finalize-batch.d.cts.map +1 -1
- package/dist/actions/finalize-batch.d.mts +3 -3
- 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 -5
- package/dist/actions/get-assets.d.cts.map +1 -1
- package/dist/actions/get-assets.d.mts +3 -5
- 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 -3
- package/dist/actions/get-batch-status.d.cts.map +1 -1
- package/dist/actions/get-batch-status.d.mts +3 -3
- 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 -3
- package/dist/actions/get-batch.d.cts.map +1 -1
- package/dist/actions/get-batch.d.mts +3 -3
- 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 -4
- package/dist/actions/get-fixless-audits.d.cts.map +1 -1
- package/dist/actions/get-fixless-audits.d.mts +3 -4
- 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 -3
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +3 -3
- 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 -6
- package/dist/actions/get-quality-labelers.d.cts.map +1 -1
- package/dist/actions/get-quality-labelers.d.mts +3 -6
- 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 -1
- package/dist/actions/get-studio-assignments.d.cts.map +1 -1
- package/dist/actions/get-studio-assignments.d.mts +3 -1
- 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 -1
- package/dist/actions/get-studio-batches.d.cts.map +1 -1
- package/dist/actions/get-studio-batches.d.mts +3 -1
- 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 -1
- package/dist/actions/get-teams.d.cts.map +1 -1
- package/dist/actions/get-teams.d.mts +3 -1
- 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 -4
- package/dist/actions/get-v1-task-response-url.d.cts.map +1 -1
- package/dist/actions/get-v1-task-response-url.d.mts +3 -4
- 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 -3
- package/dist/actions/get-v1-task.d.cts.map +1 -1
- package/dist/actions/get-v1-task.d.mts +3 -3
- 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 -4
- package/dist/actions/import-file.d.cts.map +1 -1
- package/dist/actions/import-file.d.mts +3 -4
- 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 -4
- package/dist/actions/invite-team-member.d.cts.map +1 -1
- package/dist/actions/invite-team-member.d.mts +3 -4
- 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 -9
- package/dist/actions/list-batches.d.cts.map +1 -1
- package/dist/actions/list-batches.d.mts +3 -9
- 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 -5
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +3 -5
- 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 -18
- package/dist/actions/list-tasks.d.cts.map +1 -1
- package/dist/actions/list-tasks.d.mts +3 -18
- 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 -3
- package/dist/actions/post-v1-task-send-callback.d.cts.map +1 -1
- package/dist/actions/post-v1-task-send-callback.d.mts +3 -3
- 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 -4
- package/dist/actions/remove-studio-assignments.d.cts.map +1 -1
- package/dist/actions/remove-studio-assignments.d.mts +3 -4
- 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 -3
- package/dist/actions/reset-batch-priorities.d.cts.map +1 -1
- package/dist/actions/reset-batch-priorities.d.mts +3 -3
- 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 -6
- package/dist/actions/set-batch-priorities.d.cts.map +1 -1
- package/dist/actions/set-batch-priorities.d.mts +3 -6
- 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 -5
- package/dist/actions/set-project-ontology.d.cts.map +1 -1
- package/dist/actions/set-project-ontology.d.mts +3 -5
- 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 -7
- package/dist/actions/set-project-params.d.cts.map +1 -1
- package/dist/actions/set-project-params.d.mts +3 -7
- 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 -4
- package/dist/actions/set-task-metadata.d.cts.map +1 -1
- package/dist/actions/set-task-metadata.d.mts +3 -4
- 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 -4
- package/dist/actions/update-task-unique-id.d.cts.map +1 -1
- package/dist/actions/update-task-unique-id.d.mts +3 -4
- 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 -11
- package/dist/actions/upload-file.d.cts.map +1 -1
- package/dist/actions/upload-file.d.mts +3 -11
- 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 +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- 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,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/set-task-metadata.d.ts
|
|
@@ -21,10 +23,7 @@ declare const ScaleAiSetTaskMetadataOutput: z.ZodObject<{
|
|
|
21
23
|
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const scaleAiSetTaskMetadata:
|
|
25
|
-
task_id: string;
|
|
26
|
-
metadata: Record<string, unknown>;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const scaleAiSetTaskMetadata: AppAction<typeof ScaleAiSetTaskMetadataInput, typeof ScaleAiSetTaskMetadataOutput, typeof scaleAi.credential>;
|
|
28
27
|
//#endregion
|
|
29
28
|
export { scaleAiSetTaskMetadata };
|
|
30
29
|
//# sourceMappingURL=set-task-metadata.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-task-metadata.d.mts","names":[],"sources":["../../src/actions/set-task-metadata.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"set-task-metadata.d.mts","names":[],"sources":["../../src/actions/set-task-metadata.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-task-metadata.mjs","names":[],"sources":["../../src/actions/set-task-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetTaskMetadataInput = z.object({\n task_id: z.string().describe(\"The unique identifier of the task to set metadata on.\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of metadata to attach to the task. Accepts strings, numbers, dates, and other JSON-compatible values.\"),\n}).describe(\"Request model for setting metadata on an existing Scale AI task.\");\nexport const ScaleAiSetTaskMetadataOutput = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the task.\").nullable().optional(),\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n audits: z.array(z.record(z.string(), z.unknown())).describe(\"Audit history for the task.\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task parameters and configuration.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique identifier for the task.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"The metadata key-value pairs that were set on the task.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"Annotation results if task is completed.\").nullable().optional(),\n unique_id: z.string().describe(\"Unique identifier string for the task.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation.\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp.\").nullable().optional(),\n instruction: z.string().describe(\"Labeling instructions for the task.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications.\").nullable().optional(),\n completed_at: z.string().describe(\"Completion timestamp if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the set task metadata operation. Returns the complete task object.\");\n\nexport const scaleAiSetTaskMetadata = action(\"SCALE_AI_SET_TASK_METADATA\", {\n slug: \"scale_ai-set-task-metadata\",\n name: \"Set Task Metadata\",\n description: \"Tool to set key-value metadata on an existing Scale AI task. Use when you need to attach custom metadata to track or organize tasks. This operation is idempotent.\",\n input: ScaleAiSetTaskMetadataInput,\n output: ScaleAiSetTaskMetadataOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"set-task-metadata.mjs","names":[],"sources":["../../src/actions/set-task-metadata.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 ScaleAiSetTaskMetadataInput = z.object({\n task_id: z.string().describe(\"The unique identifier of the task to set metadata on.\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of metadata to attach to the task. Accepts strings, numbers, dates, and other JSON-compatible values.\"),\n}).describe(\"Request model for setting metadata on an existing Scale AI task.\");\nexport const ScaleAiSetTaskMetadataOutput = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the task.\").nullable().optional(),\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n audits: z.array(z.record(z.string(), z.unknown())).describe(\"Audit history for the task.\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task parameters and configuration.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique identifier for the task.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"The metadata key-value pairs that were set on the task.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"Annotation results if task is completed.\").nullable().optional(),\n unique_id: z.string().describe(\"Unique identifier string for the task.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation.\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp.\").nullable().optional(),\n instruction: z.string().describe(\"Labeling instructions for the task.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications.\").nullable().optional(),\n completed_at: z.string().describe(\"Completion timestamp if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the set task metadata operation. Returns the complete task object.\");\n\nexport const scaleAiSetTaskMetadata: AppAction<\n typeof ScaleAiSetTaskMetadataInput,\n typeof ScaleAiSetTaskMetadataOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_SET_TASK_METADATA\", {\n slug: \"scale_ai-set-task-metadata\",\n name: \"Set Task Metadata\",\n description: \"Tool to set key-value metadata on an existing Scale AI task. Use when you need to attach custom metadata to track or organize tasks. This operation is idempotent.\",\n input: ScaleAiSetTaskMetadataInput,\n output: ScaleAiSetTaskMetadataOutput,\n});\n"],"mappings":";;;AA2BA,MAAa,yBAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7ByC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACpF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uHAAuH;CAC9K,CAAC,CAAC,CAAC,SAAS,kEA0BH;CACP,QA1B0C,EAAE,OAAO;EACnD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-task-unique-id.cjs","names":["z","action"],"sources":["../../src/actions/update-task-unique-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiUpdateTaskUniqueIdInput = z.object({\n task_id: z.string().describe(\"ID of the task to modify. This is the Scale AI task identifier.\"),\n unique_id: z.string().describe(\"The unique identifier to be assigned to the task. This is a custom identifier that can be used to reference the task in your own system.\"),\n}).describe(\"Request model for updating a task's unique identifier.\");\nconst ScaleAiUpdateTaskUniqueId_TaskParamsSchema = z.record(z.string(), z.unknown()).describe(\"Task-specific parameters and configurations.\");\nexport const ScaleAiUpdateTaskUniqueIdOutput = z.object({\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n params: ScaleAiUpdateTaskUniqueId_TaskParamsSchema.nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Identifier for the task.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the task.\").nullable().optional(),\n unique_id: z.string().describe(\"The newly assigned unique identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions for the labeling task.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated task details.\");\n\nexport const scaleAiUpdateTaskUniqueId = action(\"SCALE_AI_UPDATE_TASK_UNIQUE_ID\", {\n slug: \"scale_ai-update-task-unique-id\",\n name: \"Update Task Unique ID\",\n description: \"Tool to update or assign a unique identifier to a task. Use when you need to set a custom identifier for task tracking in your system.\",\n input: ScaleAiUpdateTaskUniqueIdInput,\n output: ScaleAiUpdateTaskUniqueIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-task-unique-id.cjs","names":["z","action"],"sources":["../../src/actions/update-task-unique-id.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 ScaleAiUpdateTaskUniqueIdInput = z.object({\n task_id: z.string().describe(\"ID of the task to modify. This is the Scale AI task identifier.\"),\n unique_id: z.string().describe(\"The unique identifier to be assigned to the task. This is a custom identifier that can be used to reference the task in your own system.\"),\n}).describe(\"Request model for updating a task's unique identifier.\");\nconst ScaleAiUpdateTaskUniqueId_TaskParamsSchema = z.record(z.string(), z.unknown()).describe(\"Task-specific parameters and configurations.\");\nexport const ScaleAiUpdateTaskUniqueIdOutput = z.object({\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n params: ScaleAiUpdateTaskUniqueId_TaskParamsSchema.nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Identifier for the task.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the task.\").nullable().optional(),\n unique_id: z.string().describe(\"The newly assigned unique identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions for the labeling task.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated task details.\");\n\nexport const scaleAiUpdateTaskUniqueId: AppAction<\n typeof ScaleAiUpdateTaskUniqueIdInput,\n typeof ScaleAiUpdateTaskUniqueIdOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_UPDATE_TASK_UNIQUE_ID\", {\n slug: \"scale_ai-update-task-unique-id\",\n name: \"Update Task Unique ID\",\n description: \"Tool to update or assign a unique identifier to a task. Use when you need to set a custom identifier for task tracking in your system.\",\n input: ScaleAiUpdateTaskUniqueIdInput,\n output: ScaleAiUpdateTaskUniqueIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;AAC3K,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,6CAA6CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC5I,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQ,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,4BAITC,eAAAA,OAAO,kCAAkC;CAC3C,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/update-task-unique-id.d.ts
|
|
@@ -16,10 +18,7 @@ declare const ScaleAiUpdateTaskUniqueIdOutput: z.ZodObject<{
|
|
|
16
18
|
instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const scaleAiUpdateTaskUniqueId:
|
|
20
|
-
task_id: string;
|
|
21
|
-
unique_id: string;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const scaleAiUpdateTaskUniqueId: AppAction<typeof ScaleAiUpdateTaskUniqueIdInput, typeof ScaleAiUpdateTaskUniqueIdOutput, typeof scaleAi.credential>;
|
|
23
22
|
//#endregion
|
|
24
23
|
export { scaleAiUpdateTaskUniqueId };
|
|
25
24
|
//# sourceMappingURL=update-task-unique-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-task-unique-id.d.cts","names":[],"sources":["../../src/actions/update-task-unique-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-task-unique-id.d.cts","names":[],"sources":["../../src/actions/update-task-unique-id.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/update-task-unique-id.d.ts
|
|
@@ -16,10 +18,7 @@ declare const ScaleAiUpdateTaskUniqueIdOutput: z.ZodObject<{
|
|
|
16
18
|
instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const scaleAiUpdateTaskUniqueId:
|
|
20
|
-
task_id: string;
|
|
21
|
-
unique_id: string;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const scaleAiUpdateTaskUniqueId: AppAction<typeof ScaleAiUpdateTaskUniqueIdInput, typeof ScaleAiUpdateTaskUniqueIdOutput, typeof scaleAi.credential>;
|
|
23
22
|
//#endregion
|
|
24
23
|
export { scaleAiUpdateTaskUniqueId };
|
|
25
24
|
//# sourceMappingURL=update-task-unique-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-task-unique-id.d.mts","names":[],"sources":["../../src/actions/update-task-unique-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-task-unique-id.d.mts","names":[],"sources":["../../src/actions/update-task-unique-id.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-task-unique-id.mjs","names":[],"sources":["../../src/actions/update-task-unique-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiUpdateTaskUniqueIdInput = z.object({\n task_id: z.string().describe(\"ID of the task to modify. This is the Scale AI task identifier.\"),\n unique_id: z.string().describe(\"The unique identifier to be assigned to the task. This is a custom identifier that can be used to reference the task in your own system.\"),\n}).describe(\"Request model for updating a task's unique identifier.\");\nconst ScaleAiUpdateTaskUniqueId_TaskParamsSchema = z.record(z.string(), z.unknown()).describe(\"Task-specific parameters and configurations.\");\nexport const ScaleAiUpdateTaskUniqueIdOutput = z.object({\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n params: ScaleAiUpdateTaskUniqueId_TaskParamsSchema.nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Identifier for the task.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the task.\").nullable().optional(),\n unique_id: z.string().describe(\"The newly assigned unique identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions for the labeling task.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated task details.\");\n\nexport const scaleAiUpdateTaskUniqueId = action(\"SCALE_AI_UPDATE_TASK_UNIQUE_ID\", {\n slug: \"scale_ai-update-task-unique-id\",\n name: \"Update Task Unique ID\",\n description: \"Tool to update or assign a unique identifier to a task. Use when you need to set a custom identifier for task tracking in your system.\",\n input: ScaleAiUpdateTaskUniqueIdInput,\n output: ScaleAiUpdateTaskUniqueIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-task-unique-id.mjs","names":[],"sources":["../../src/actions/update-task-unique-id.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 ScaleAiUpdateTaskUniqueIdInput = z.object({\n task_id: z.string().describe(\"ID of the task to modify. This is the Scale AI task identifier.\"),\n unique_id: z.string().describe(\"The unique identifier to be assigned to the task. This is a custom identifier that can be used to reference the task in your own system.\"),\n}).describe(\"Request model for updating a task's unique identifier.\");\nconst ScaleAiUpdateTaskUniqueId_TaskParamsSchema = z.record(z.string(), z.unknown()).describe(\"Task-specific parameters and configurations.\");\nexport const ScaleAiUpdateTaskUniqueIdOutput = z.object({\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n params: ScaleAiUpdateTaskUniqueId_TaskParamsSchema.nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Identifier for the task.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the task.\").nullable().optional(),\n unique_id: z.string().describe(\"The newly assigned unique identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions for the labeling task.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated task details.\");\n\nexport const scaleAiUpdateTaskUniqueId: AppAction<\n typeof ScaleAiUpdateTaskUniqueIdInput,\n typeof ScaleAiUpdateTaskUniqueIdOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_UPDATE_TASK_UNIQUE_ID\", {\n slug: \"scale_ai-update-task-unique-id\",\n name: \"Update Task Unique ID\",\n description: \"Tool to update or assign a unique identifier to a task. Use when you need to set a custom identifier for task tracking in your system.\",\n input: ScaleAiUpdateTaskUniqueIdInput,\n output: ScaleAiUpdateTaskUniqueIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;AAC3K,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,6CAA6C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAa5I,MAAa,4BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QArB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The local file to upload (max 80 MB).\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"A JSON object used to store additional data associated with the file.\").optional(),\n display_name: z.string().describe(\"A human readable name for the file.\").optional(),\n project_name: z.string().describe(\"Associates the file with a specific project; only used for Scale Rapid data labeling tool.\").optional(),\n reference_id: z.string().describe(\"Unique identifier for upload idempotency; uploading with duplicate IDs returns 409 error.\").optional(),\n}).describe(\"Request model for uploading a file to Scale AI.\");\nexport const ScaleAiUploadFileOutput = z.object({\n id: z.string().describe(\"A unique identifier for the uploaded file\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n mime_type: z.string().describe(\"The MIME type of the file\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the file was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the file was last updated\").nullable().optional(),\n project_names: z.array(z.string()).describe(\"Array of project names the file is associated with\").nullable().optional(),\n attachment_url: z.string().describe(\"The URL where the file is stored (with scaledata:// prefix)\").nullable().optional(),\n}).passthrough().describe(\"Response model for file upload.\");\n\nexport const scaleAiUploadFile = action(\"SCALE_AI_UPLOAD_FILE\", {\n slug: \"scale_ai-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload a local file to Scale's servers with a maximum size limit of 80 MB per file. Use when you need to upload files for Scale AI projects or data labeling tasks.\",\n input: ScaleAiUploadFileInput,\n output: ScaleAiUploadFileOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-file.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 ScaleAiUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The local file to upload (max 80 MB).\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"A JSON object used to store additional data associated with the file.\").optional(),\n display_name: z.string().describe(\"A human readable name for the file.\").optional(),\n project_name: z.string().describe(\"Associates the file with a specific project; only used for Scale Rapid data labeling tool.\").optional(),\n reference_id: z.string().describe(\"Unique identifier for upload idempotency; uploading with duplicate IDs returns 409 error.\").optional(),\n}).describe(\"Request model for uploading a file to Scale AI.\");\nexport const ScaleAiUploadFileOutput = z.object({\n id: z.string().describe(\"A unique identifier for the uploaded file\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n mime_type: z.string().describe(\"The MIME type of the file\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the file was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the file was last updated\").nullable().optional(),\n project_names: z.array(z.string()).describe(\"Array of project names the file is associated with\").nullable().optional(),\n attachment_url: z.string().describe(\"The URL where the file is stored (with scaledata:// prefix)\").nullable().optional(),\n}).passthrough().describe(\"Response model for file upload.\");\n\nexport const scaleAiUploadFile: AppAction<\n typeof ScaleAiUploadFileInput,\n typeof ScaleAiUploadFileOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_UPLOAD_FILE\", {\n slug: \"scale_ai-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload a local file to Scale's servers with a maximum size limit of 80 MB per file. Use when you need to upload files for Scale AI projects or data labeling tasks.\",\n input: ScaleAiUploadFileInput,\n output: ScaleAiUploadFileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,uCAAuC;CACjD,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACvI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACzI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAE3D,MAAa,oBAITC,eAAAA,OAAO,wBAAwB;CACjC,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/upload-file.d.ts
|
|
@@ -21,17 +23,7 @@ declare const ScaleAiUploadFileOutput: z.ZodObject<{
|
|
|
21
23
|
project_names: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
22
24
|
attachment_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const scaleAiUploadFile:
|
|
25
|
-
file: {
|
|
26
|
-
name: string;
|
|
27
|
-
s3key: string;
|
|
28
|
-
mimetype: string;
|
|
29
|
-
};
|
|
30
|
-
metadata?: Record<string, unknown> | undefined;
|
|
31
|
-
display_name?: string | undefined;
|
|
32
|
-
project_name?: string | undefined;
|
|
33
|
-
reference_id?: string | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const scaleAiUploadFile: AppAction<typeof ScaleAiUploadFileInput, typeof ScaleAiUploadFileOutput, typeof scaleAi.credential>;
|
|
35
27
|
//#endregion
|
|
36
28
|
export { scaleAiUploadFile };
|
|
37
29
|
//# sourceMappingURL=upload-file.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.d.cts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-file.d.cts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;cAWtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAUvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,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/upload-file.d.ts
|
|
@@ -21,17 +23,7 @@ declare const ScaleAiUploadFileOutput: z.ZodObject<{
|
|
|
21
23
|
project_names: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
22
24
|
attachment_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const scaleAiUploadFile:
|
|
25
|
-
file: {
|
|
26
|
-
name: string;
|
|
27
|
-
s3key: string;
|
|
28
|
-
mimetype: string;
|
|
29
|
-
};
|
|
30
|
-
metadata?: Record<string, unknown> | undefined;
|
|
31
|
-
display_name?: string | undefined;
|
|
32
|
-
project_name?: string | undefined;
|
|
33
|
-
reference_id?: string | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const scaleAiUploadFile: AppAction<typeof ScaleAiUploadFileInput, typeof ScaleAiUploadFileOutput, typeof scaleAi.credential>;
|
|
35
27
|
//#endregion
|
|
36
28
|
export { scaleAiUploadFile };
|
|
37
29
|
//# sourceMappingURL=upload-file.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.d.mts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-file.d.mts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;cAWtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAUvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.mjs","names":[],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The local file to upload (max 80 MB).\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"A JSON object used to store additional data associated with the file.\").optional(),\n display_name: z.string().describe(\"A human readable name for the file.\").optional(),\n project_name: z.string().describe(\"Associates the file with a specific project; only used for Scale Rapid data labeling tool.\").optional(),\n reference_id: z.string().describe(\"Unique identifier for upload idempotency; uploading with duplicate IDs returns 409 error.\").optional(),\n}).describe(\"Request model for uploading a file to Scale AI.\");\nexport const ScaleAiUploadFileOutput = z.object({\n id: z.string().describe(\"A unique identifier for the uploaded file\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n mime_type: z.string().describe(\"The MIME type of the file\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the file was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the file was last updated\").nullable().optional(),\n project_names: z.array(z.string()).describe(\"Array of project names the file is associated with\").nullable().optional(),\n attachment_url: z.string().describe(\"The URL where the file is stored (with scaledata:// prefix)\").nullable().optional(),\n}).passthrough().describe(\"Response model for file upload.\");\n\nexport const scaleAiUploadFile = action(\"SCALE_AI_UPLOAD_FILE\", {\n slug: \"scale_ai-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload a local file to Scale's servers with a maximum size limit of 80 MB per file. Use when you need to upload files for Scale AI projects or data labeling tasks.\",\n input: ScaleAiUploadFileInput,\n output: ScaleAiUploadFileOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-file.mjs","names":[],"sources":["../../src/actions/upload-file.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 ScaleAiUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The local file to upload (max 80 MB).\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"A JSON object used to store additional data associated with the file.\").optional(),\n display_name: z.string().describe(\"A human readable name for the file.\").optional(),\n project_name: z.string().describe(\"Associates the file with a specific project; only used for Scale Rapid data labeling tool.\").optional(),\n reference_id: z.string().describe(\"Unique identifier for upload idempotency; uploading with duplicate IDs returns 409 error.\").optional(),\n}).describe(\"Request model for uploading a file to Scale AI.\");\nexport const ScaleAiUploadFileOutput = z.object({\n id: z.string().describe(\"A unique identifier for the uploaded file\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n mime_type: z.string().describe(\"The MIME type of the file\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the file was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the file was last updated\").nullable().optional(),\n project_names: z.array(z.string()).describe(\"Array of project names the file is associated with\").nullable().optional(),\n attachment_url: z.string().describe(\"The URL where the file is stored (with scaledata:// prefix)\").nullable().optional(),\n}).passthrough().describe(\"Response model for file upload.\");\n\nexport const scaleAiUploadFile: AppAction<\n typeof ScaleAiUploadFileInput,\n typeof ScaleAiUploadFileOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_UPLOAD_FILE\", {\n slug: \"scale_ai-upload-file\",\n name: \"Upload File\",\n description: \"Tool to upload a local file to Scale's servers with a maximum size limit of 80 MB per file. Use when you need to upload files for Scale AI projects or data labeling tasks.\",\n input: ScaleAiUploadFileInput,\n output: ScaleAiUploadFileOutput,\n});\n"],"mappings":";;;AA2BA,MAAa,oBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7BoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,uCAAuC;EACjD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACvI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;EACzI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,iDAmBH;CACP,QAnBqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
1
2
|
//#region src/app.ts
|
|
2
|
-
const
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
|
+
const scaleAi = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "scale_ai",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.scaleAi = scaleAi;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const scaleAi = defineApp({\n slug: \"scale_ai\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,WAAA,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const scaleAi: KeystrokeApp<\"scale_ai\", typeof credential> = defineApp({\n slug: \"scale_ai\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAiE;CAC5E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const scaleAi: KeystrokeApp<"scale_ai", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { scaleAi };
|
|
5
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,oBAAoB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const scaleAi: KeystrokeApp<"scale_ai", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { scaleAi };
|
|
5
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,oBAAoB,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const scaleAi = defineApp({
|
|
4
4
|
slug: "scale_ai",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: { generic_api_key: z.string() }
|
|
6
7
|
});
|
|
7
8
|
//#endregion
|
|
8
9
|
export { scaleAi };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const scaleAi = defineApp({\n slug: \"scale_ai\",\n auth: \"keystroke\",\n});\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const scaleAi: KeystrokeApp<\"scale_ai\", typeof credential> = defineApp({\n slug: \"scale_ai\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,UAAuD,UAAU;CAC5E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { scaleAi } from "./app.cjs";
|
|
1
2
|
import { scaleAiAddStudioAssignments } from "./actions/add-studio-assignments.cjs";
|
|
2
3
|
import { scaleAiAddTaskTags } from "./actions/add-task-tags.cjs";
|
|
3
4
|
import { scaleAiCreateBatch } from "./actions/create-batch.cjs";
|
|
@@ -38,6 +39,5 @@ import { scaleAiSetProjectParams } from "./actions/set-project-params.cjs";
|
|
|
38
39
|
import { scaleAiSetTaskMetadata } from "./actions/set-task-metadata.cjs";
|
|
39
40
|
import { scaleAiUpdateTaskUniqueId } from "./actions/update-task-unique-id.cjs";
|
|
40
41
|
import { scaleAiUploadFile } from "./actions/upload-file.cjs";
|
|
41
|
-
import { scaleAi } from "./app.cjs";
|
|
42
42
|
import { scaleAiCatalog } from "./catalog.cjs";
|
|
43
43
|
export { scaleAi, scaleAiAddStudioAssignments, scaleAiAddTaskTags, scaleAiCatalog, scaleAiCreateBatch, scaleAiCreateDocumentTranscriptionTask, scaleAiCreateImageAnnotationTask, scaleAiCreateLidarAnnotationTask, scaleAiCreateLidarSegmentationTask, scaleAiCreateNamedEntityRecognitionTask, scaleAiCreateSegmentationAnnotationTask, scaleAiCreateTextCollectionTask, scaleAiCreateVideoAnnotationTask, scaleAiCreateVideoPlaybackAnnotationTask, scaleAiDeleteTaskTags, scaleAiDeleteTaskUniqueId, scaleAiFinalizeBatch, scaleAiGetAssets, scaleAiGetBatch, scaleAiGetBatchStatus, scaleAiGetFixlessAudits, scaleAiGetProject, scaleAiGetQualityLabelers, scaleAiGetStudioAssignments, scaleAiGetStudioBatches, scaleAiGetTeams, scaleAiGetV1Task, scaleAiGetV1TaskResponseUrl, scaleAiImportFile, scaleAiInviteTeamMember, scaleAiListBatches, scaleAiListProjects, scaleAiListTasks, scaleAiPostV1TaskSendCallback, scaleAiRemoveStudioAssignments, scaleAiResetBatchPriorities, scaleAiSetBatchPriorities, scaleAiSetProjectOntology, scaleAiSetProjectParams, scaleAiSetTaskMetadata, scaleAiUpdateTaskUniqueId, scaleAiUploadFile };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { scaleAi } from "./app.mjs";
|
|
1
2
|
import { scaleAiAddStudioAssignments } from "./actions/add-studio-assignments.mjs";
|
|
2
3
|
import { scaleAiAddTaskTags } from "./actions/add-task-tags.mjs";
|
|
3
4
|
import { scaleAiCreateBatch } from "./actions/create-batch.mjs";
|
|
@@ -38,6 +39,5 @@ import { scaleAiSetProjectParams } from "./actions/set-project-params.mjs";
|
|
|
38
39
|
import { scaleAiSetTaskMetadata } from "./actions/set-task-metadata.mjs";
|
|
39
40
|
import { scaleAiUpdateTaskUniqueId } from "./actions/update-task-unique-id.mjs";
|
|
40
41
|
import { scaleAiUploadFile } from "./actions/upload-file.mjs";
|
|
41
|
-
import { scaleAi } from "./app.mjs";
|
|
42
42
|
import { scaleAiCatalog } from "./catalog.mjs";
|
|
43
43
|
export { scaleAi, scaleAiAddStudioAssignments, scaleAiAddTaskTags, scaleAiCatalog, scaleAiCreateBatch, scaleAiCreateDocumentTranscriptionTask, scaleAiCreateImageAnnotationTask, scaleAiCreateLidarAnnotationTask, scaleAiCreateLidarSegmentationTask, scaleAiCreateNamedEntityRecognitionTask, scaleAiCreateSegmentationAnnotationTask, scaleAiCreateTextCollectionTask, scaleAiCreateVideoAnnotationTask, scaleAiCreateVideoPlaybackAnnotationTask, scaleAiDeleteTaskTags, scaleAiDeleteTaskUniqueId, scaleAiFinalizeBatch, scaleAiGetAssets, scaleAiGetBatch, scaleAiGetBatchStatus, scaleAiGetFixlessAudits, scaleAiGetProject, scaleAiGetQualityLabelers, scaleAiGetStudioAssignments, scaleAiGetStudioBatches, scaleAiGetTeams, scaleAiGetV1Task, scaleAiGetV1TaskResponseUrl, scaleAiImportFile, scaleAiInviteTeamMember, scaleAiListBatches, scaleAiListProjects, scaleAiListTasks, scaleAiPostV1TaskSendCallback, scaleAiRemoveStudioAssignments, scaleAiResetBatchPriorities, scaleAiSetBatchPriorities, scaleAiSetProjectOntology, scaleAiSetProjectParams, scaleAiSetTaskMetadata, scaleAiUpdateTaskUniqueId, scaleAiUploadFile };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/scale_ai",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|