@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,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/reset-batch-priorities.d.ts
|
|
@@ -15,21 +17,7 @@ declare const ScaleAiResetBatchPrioritiesOutput: z.ZodObject<{
|
|
|
15
17
|
message_id: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const scaleAiResetBatchPriorities:
|
|
19
|
-
groups?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const scaleAiResetBatchPriorities: AppAction<typeof ScaleAiResetBatchPrioritiesInput, typeof ScaleAiResetBatchPrioritiesOutput, typeof scaleAi.credential>;
|
|
33
21
|
//#endregion
|
|
34
22
|
export { scaleAiResetBatchPriorities };
|
|
35
23
|
//# sourceMappingURL=reset-batch-priorities.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-batch-priorities.d.cts","names":[],"sources":["../../src/actions/reset-batch-priorities.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reset-batch-priorities.d.cts","names":[],"sources":["../../src/actions/reset-batch-priorities.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,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/reset-batch-priorities.d.ts
|
|
@@ -15,21 +17,7 @@ declare const ScaleAiResetBatchPrioritiesOutput: z.ZodObject<{
|
|
|
15
17
|
message_id: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const scaleAiResetBatchPriorities:
|
|
19
|
-
groups?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const scaleAiResetBatchPriorities: AppAction<typeof ScaleAiResetBatchPrioritiesInput, typeof ScaleAiResetBatchPrioritiesOutput, typeof scaleAi.credential>;
|
|
33
21
|
//#endregion
|
|
34
22
|
export { scaleAiResetBatchPriorities };
|
|
35
23
|
//# sourceMappingURL=reset-batch-priorities.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-batch-priorities.d.mts","names":[],"sources":["../../src/actions/reset-batch-priorities.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reset-batch-priorities.d.mts","names":[],"sources":["../../src/actions/reset-batch-priorities.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-batch-priorities.mjs","names":[],"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.mjs","names":[],"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,mCAAmC,EAAE,OAAO,EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EAC1F,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,SAAS,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8FAA8F,EACnK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-batch-priorities.cjs","names":["z","action"],"sources":["../../src/actions/set-batch-priorities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetBatchPrioritiesInput = z.object({\n batches: z.array(z.object({\n name: z.string().describe(\"The name/identifier of the batch to set priority for\"),\n}).passthrough().describe(\"Represents a single batch in the priority order request.\")).describe(\"Array of batch objects specifying the priority order. Must include all pending studio batches.\"),\n}).describe(\"Request model for setting batch priority order.\");\nconst ScaleAiSetBatchPriorities_StudioBatchSchema = z.object({\n id: z.string().describe(\"Batch identifier\").nullable(),\n name: z.string().describe(\"Batch name\").nullable(),\n total: z.number().int().describe(\"Total count of items in batch\").nullable(),\n groups: z.array(z.string()).describe(\"Group assignments or categorizations\").nullable().optional(),\n batchType: z.string().describe(\"Classification of batch type\").nullable(),\n completed: z.number().int().describe(\"Count of completed items\").nullable(),\n projectId: z.string().describe(\"Associated project identifier\").nullable(),\n projectName: z.string().describe(\"Associated project name\").nullable(),\n studioPriority: z.number().int().describe(\"Priority level of the batch\").nullable().optional(),\n}).passthrough().describe(\"Represents a Studio batch in the response.\");\nexport const ScaleAiSetBatchPrioritiesOutput = z.object({\n batches: z.array(ScaleAiSetBatchPriorities_StudioBatchSchema).describe(\"Array of StudioBatch objects in the new priority order\"),\n}).passthrough().describe(\"Response model containing all batches in their new priority order.\");\n\nexport const scaleAiSetBatchPriorities = action(\"SCALE_AI_SET_BATCH_PRIORITIES\", {\n slug: \"scale_ai-set-batch-priorities\",\n name: \"Set Batch Priorities\",\n description: \"Tool to modify batch priority order in Scale AI Studio. Use when you need to adjust the priority order of pending batches. You must include all pending studio batches in the request.\",\n input: ScaleAiSetBatchPrioritiesInput,\n output: ScaleAiSetBatchPrioritiesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"set-batch-priorities.cjs","names":["z","action"],"sources":["../../src/actions/set-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 ScaleAiSetBatchPrioritiesInput = z.object({\n batches: z.array(z.object({\n name: z.string().describe(\"The name/identifier of the batch to set priority for\"),\n}).passthrough().describe(\"Represents a single batch in the priority order request.\")).describe(\"Array of batch objects specifying the priority order. Must include all pending studio batches.\"),\n}).describe(\"Request model for setting batch priority order.\");\nconst ScaleAiSetBatchPriorities_StudioBatchSchema = z.object({\n id: z.string().describe(\"Batch identifier\").nullable(),\n name: z.string().describe(\"Batch name\").nullable(),\n total: z.number().int().describe(\"Total count of items in batch\").nullable(),\n groups: z.array(z.string()).describe(\"Group assignments or categorizations\").nullable().optional(),\n batchType: z.string().describe(\"Classification of batch type\").nullable(),\n completed: z.number().int().describe(\"Count of completed items\").nullable(),\n projectId: z.string().describe(\"Associated project identifier\").nullable(),\n projectName: z.string().describe(\"Associated project name\").nullable(),\n studioPriority: z.number().int().describe(\"Priority level of the batch\").nullable().optional(),\n}).passthrough().describe(\"Represents a Studio batch in the response.\");\nexport const ScaleAiSetBatchPrioritiesOutput = z.object({\n batches: z.array(ScaleAiSetBatchPriorities_StudioBatchSchema).describe(\"Array of StudioBatch objects in the new priority order\"),\n}).passthrough().describe(\"Response model containing all batches in their new priority order.\");\n\nexport const scaleAiSetBatchPriorities: AppAction<\n typeof ScaleAiSetBatchPrioritiesInput,\n typeof ScaleAiSetBatchPrioritiesOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_SET_BATCH_PRIORITIES\", {\n slug: \"scale_ai-set-batch-priorities\",\n name: \"Set Batch Priorities\",\n description: \"Tool to modify batch priority order in Scale AI Studio. Use when you need to adjust the priority order of pending batches. You must include all pending studio batches in the request.\",\n input: ScaleAiSetBatchPrioritiesInput,\n output: ScaleAiSetBatchPrioritiesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC1B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,gGAAgG,EAChM,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACrE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,wDAAwD,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,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/set-batch-priorities.d.ts
|
|
@@ -19,24 +21,7 @@ declare const ScaleAiSetBatchPrioritiesOutput: z.ZodObject<{
|
|
|
19
21
|
studioPriority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const scaleAiSetBatchPriorities:
|
|
23
|
-
batches: {
|
|
24
|
-
[x: string]: unknown;
|
|
25
|
-
name: string;
|
|
26
|
-
}[];
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const scaleAiSetBatchPriorities: AppAction<typeof ScaleAiSetBatchPrioritiesInput, typeof ScaleAiSetBatchPrioritiesOutput, typeof scaleAi.credential>;
|
|
40
25
|
//#endregion
|
|
41
26
|
export { scaleAiSetBatchPriorities };
|
|
42
27
|
//# sourceMappingURL=set-batch-priorities.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-batch-priorities.d.cts","names":[],"sources":["../../src/actions/set-batch-priorities.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"set-batch-priorities.d.cts","names":[],"sources":["../../src/actions/set-batch-priorities.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAgB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/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/set-batch-priorities.d.ts
|
|
@@ -19,24 +21,7 @@ declare const ScaleAiSetBatchPrioritiesOutput: z.ZodObject<{
|
|
|
19
21
|
studioPriority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const scaleAiSetBatchPriorities:
|
|
23
|
-
batches: {
|
|
24
|
-
[x: string]: unknown;
|
|
25
|
-
name: string;
|
|
26
|
-
}[];
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const scaleAiSetBatchPriorities: AppAction<typeof ScaleAiSetBatchPrioritiesInput, typeof ScaleAiSetBatchPrioritiesOutput, typeof scaleAi.credential>;
|
|
40
25
|
//#endregion
|
|
41
26
|
export { scaleAiSetBatchPriorities };
|
|
42
27
|
//# sourceMappingURL=set-batch-priorities.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-batch-priorities.d.mts","names":[],"sources":["../../src/actions/set-batch-priorities.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"set-batch-priorities.d.mts","names":[],"sources":["../../src/actions/set-batch-priorities.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAgB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-batch-priorities.mjs","names":[],"sources":["../../src/actions/set-batch-priorities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetBatchPrioritiesInput = z.object({\n batches: z.array(z.object({\n name: z.string().describe(\"The name/identifier of the batch to set priority for\"),\n}).passthrough().describe(\"Represents a single batch in the priority order request.\")).describe(\"Array of batch objects specifying the priority order. Must include all pending studio batches.\"),\n}).describe(\"Request model for setting batch priority order.\");\nconst ScaleAiSetBatchPriorities_StudioBatchSchema = z.object({\n id: z.string().describe(\"Batch identifier\").nullable(),\n name: z.string().describe(\"Batch name\").nullable(),\n total: z.number().int().describe(\"Total count of items in batch\").nullable(),\n groups: z.array(z.string()).describe(\"Group assignments or categorizations\").nullable().optional(),\n batchType: z.string().describe(\"Classification of batch type\").nullable(),\n completed: z.number().int().describe(\"Count of completed items\").nullable(),\n projectId: z.string().describe(\"Associated project identifier\").nullable(),\n projectName: z.string().describe(\"Associated project name\").nullable(),\n studioPriority: z.number().int().describe(\"Priority level of the batch\").nullable().optional(),\n}).passthrough().describe(\"Represents a Studio batch in the response.\");\nexport const ScaleAiSetBatchPrioritiesOutput = z.object({\n batches: z.array(ScaleAiSetBatchPriorities_StudioBatchSchema).describe(\"Array of StudioBatch objects in the new priority order\"),\n}).passthrough().describe(\"Response model containing all batches in their new priority order.\");\n\nexport const scaleAiSetBatchPriorities = action(\"SCALE_AI_SET_BATCH_PRIORITIES\", {\n slug: \"scale_ai-set-batch-priorities\",\n name: \"Set Batch Priorities\",\n description: \"Tool to modify batch priority order in Scale AI Studio. Use when you need to adjust the priority order of pending batches. You must include all pending studio batches in the request.\",\n input: ScaleAiSetBatchPrioritiesInput,\n output: ScaleAiSetBatchPrioritiesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"set-batch-priorities.mjs","names":[],"sources":["../../src/actions/set-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 ScaleAiSetBatchPrioritiesInput = z.object({\n batches: z.array(z.object({\n name: z.string().describe(\"The name/identifier of the batch to set priority for\"),\n}).passthrough().describe(\"Represents a single batch in the priority order request.\")).describe(\"Array of batch objects specifying the priority order. Must include all pending studio batches.\"),\n}).describe(\"Request model for setting batch priority order.\");\nconst ScaleAiSetBatchPriorities_StudioBatchSchema = z.object({\n id: z.string().describe(\"Batch identifier\").nullable(),\n name: z.string().describe(\"Batch name\").nullable(),\n total: z.number().int().describe(\"Total count of items in batch\").nullable(),\n groups: z.array(z.string()).describe(\"Group assignments or categorizations\").nullable().optional(),\n batchType: z.string().describe(\"Classification of batch type\").nullable(),\n completed: z.number().int().describe(\"Count of completed items\").nullable(),\n projectId: z.string().describe(\"Associated project identifier\").nullable(),\n projectName: z.string().describe(\"Associated project name\").nullable(),\n studioPriority: z.number().int().describe(\"Priority level of the batch\").nullable().optional(),\n}).passthrough().describe(\"Represents a Studio batch in the response.\");\nexport const ScaleAiSetBatchPrioritiesOutput = z.object({\n batches: z.array(ScaleAiSetBatchPriorities_StudioBatchSchema).describe(\"Array of StudioBatch objects in the new priority order\"),\n}).passthrough().describe(\"Response model containing all batches in their new priority order.\");\n\nexport const scaleAiSetBatchPriorities: AppAction<\n typeof ScaleAiSetBatchPrioritiesInput,\n typeof ScaleAiSetBatchPrioritiesOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_SET_BATCH_PRIORITIES\", {\n slug: \"scale_ai-set-batch-priorities\",\n name: \"Set Batch Priorities\",\n description: \"Tool to modify batch priority order in Scale AI Studio. Use when you need to adjust the priority order of pending batches. You must include all pending studio batches in the request.\",\n input: ScaleAiSetBatchPrioritiesInput,\n output: ScaleAiSetBatchPrioritiesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO,EACrD,SAAS,EAAE,MAAM,EAAE,OAAO,EAC1B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,gGAAgG,EAChM,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACrE,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,SAAS,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,wDAAwD,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-project-ontology.cjs","names":["z","action"],"sources":["../../src/actions/set-project-ontology.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetProjectOntologyInput = z.object({\n ontology: z.array(z.string()).describe(\"A collection of ontology entries as strings. Ontology choices must be unique throughout the ontology. These define the labels or classes that tasks in this project will reference.\"),\n project_name: z.string().describe(\"The unique project identifier to set the ontology for. This is the project name.\"),\n ontology_name: z.string().describe(\"A label identifying the specific version of the ontology being set. This is optional and helps track different ontology versions.\").optional(),\n}).describe(\"Request model for setting ontologies on a project.\");\nconst ScaleAiSetProjectOntology_DatasetLinkSchema = z.object({\n datasetId: z.string().describe(\"Dataset identifier\").nullable().optional(),\n datasetName: z.string().describe(\"Dataset name\").nullable().optional(),\n}).passthrough().describe(\"Dataset link information.\");\nconst ScaleAiSetProjectOntology_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable().optional(),\n}).passthrough().describe(\"Historical parameter version for a project.\");\nexport const ScaleAiSetProjectOntologyOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable().optional(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation').\").nullable().optional(),\n pinned: z.boolean().describe(\"Whether project is pinned.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether project is archived.\").nullable().optional(),\n taxonomy: z.record(z.string(), z.unknown()).describe(\"Taxonomy information.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of project creation.\").nullable().optional(),\n created_by: z.string().describe(\"User ID who created the project.\").nullable().optional(),\n numReviews: z.number().int().describe(\"Number of reviews.\").nullable().optional(),\n created_with: z.string().describe(\"Creation method.\").nullable().optional(),\n datasetLinks: z.array(ScaleAiSetProjectOntology_DatasetLinkSchema).describe(\"Associated dataset links.\").nullable().optional(),\n numConsensus: z.number().int().describe(\"Number of consensus.\").nullable().optional(),\n pipelineName: z.string().describe(\"Pipeline identifier.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectOntology_ParamHistoryItemSchema).describe(\"Historical parameter versions.\").nullable().optional(),\n nucleusDatasetId: z.string().describe(\"Associated Nucleus dataset ID.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated project details after setting the ontology.\");\n\nexport const scaleAiSetProjectOntology = action(\"SCALE_AI_SET_PROJECT_ONTOLOGY\", {\n slug: \"scale_ai-set-project-ontology\",\n name: \"Set Project Ontology\",\n description: \"Tool to set ontologies on a Scale AI project. Ontologies define the labels or classes that tasks will reference, and projects maintain complete history of ontology versions. Use when you need to configure or update the classification labels for a project.\",\n input: ScaleAiSetProjectOntologyInput,\n output: ScaleAiSetProjectOntologyOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"set-project-ontology.cjs","names":["z","action"],"sources":["../../src/actions/set-project-ontology.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 ScaleAiSetProjectOntologyInput = z.object({\n ontology: z.array(z.string()).describe(\"A collection of ontology entries as strings. Ontology choices must be unique throughout the ontology. These define the labels or classes that tasks in this project will reference.\"),\n project_name: z.string().describe(\"The unique project identifier to set the ontology for. This is the project name.\"),\n ontology_name: z.string().describe(\"A label identifying the specific version of the ontology being set. This is optional and helps track different ontology versions.\").optional(),\n}).describe(\"Request model for setting ontologies on a project.\");\nconst ScaleAiSetProjectOntology_DatasetLinkSchema = z.object({\n datasetId: z.string().describe(\"Dataset identifier\").nullable().optional(),\n datasetName: z.string().describe(\"Dataset name\").nullable().optional(),\n}).passthrough().describe(\"Dataset link information.\");\nconst ScaleAiSetProjectOntology_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable().optional(),\n}).passthrough().describe(\"Historical parameter version for a project.\");\nexport const ScaleAiSetProjectOntologyOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable().optional(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation').\").nullable().optional(),\n pinned: z.boolean().describe(\"Whether project is pinned.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether project is archived.\").nullable().optional(),\n taxonomy: z.record(z.string(), z.unknown()).describe(\"Taxonomy information.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of project creation.\").nullable().optional(),\n created_by: z.string().describe(\"User ID who created the project.\").nullable().optional(),\n numReviews: z.number().int().describe(\"Number of reviews.\").nullable().optional(),\n created_with: z.string().describe(\"Creation method.\").nullable().optional(),\n datasetLinks: z.array(ScaleAiSetProjectOntology_DatasetLinkSchema).describe(\"Associated dataset links.\").nullable().optional(),\n numConsensus: z.number().int().describe(\"Number of consensus.\").nullable().optional(),\n pipelineName: z.string().describe(\"Pipeline identifier.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectOntology_ParamHistoryItemSchema).describe(\"Historical parameter versions.\").nullable().optional(),\n nucleusDatasetId: z.string().describe(\"Associated Nucleus dataset ID.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated project details after setting the ontology.\");\n\nexport const scaleAiSetProjectOntology: AppAction<\n typeof ScaleAiSetProjectOntologyInput,\n typeof ScaleAiSetProjectOntologyOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_SET_PROJECT_ONTOLOGY\", {\n slug: \"scale_ai-set-project-ontology\",\n name: \"Set Project Ontology\",\n description: \"Tool to set ontologies on a Scale AI project. Ontologies define the labels or classes that tasks will reference, and projects maintain complete history of ontology versions. Use when you need to configure or update the classification labels for a project.\",\n input: ScaleAiSetProjectOntologyInput,\n output: ScaleAiSetProjectOntologyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qLAAqL;CAC5N,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CACpH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,cAAcA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAAmF;AAE7G,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,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/set-project-ontology.d.ts
|
|
@@ -29,23 +31,7 @@ declare const ScaleAiSetProjectOntologyOutput: z.ZodObject<{
|
|
|
29
31
|
}, z.core.$loose>>>>;
|
|
30
32
|
nucleusDatasetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
33
|
}, z.core.$loose>;
|
|
32
|
-
declare const scaleAiSetProjectOntology:
|
|
33
|
-
ontology: string[];
|
|
34
|
-
project_name: string;
|
|
35
|
-
ontology_name?: string | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
34
|
+
declare const scaleAiSetProjectOntology: AppAction<typeof ScaleAiSetProjectOntologyInput, typeof ScaleAiSetProjectOntologyOutput, typeof scaleAi.credential>;
|
|
49
35
|
//#endregion
|
|
50
36
|
export { scaleAiSetProjectOntology };
|
|
51
37
|
//# sourceMappingURL=set-project-ontology.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-project-ontology.d.cts","names":[],"sources":["../../src/actions/set-project-ontology.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"set-project-ontology.d.cts","names":[],"sources":["../../src/actions/set-project-ontology.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAiB/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/set-project-ontology.d.ts
|
|
@@ -29,23 +31,7 @@ declare const ScaleAiSetProjectOntologyOutput: z.ZodObject<{
|
|
|
29
31
|
}, z.core.$loose>>>>;
|
|
30
32
|
nucleusDatasetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
33
|
}, z.core.$loose>;
|
|
32
|
-
declare const scaleAiSetProjectOntology:
|
|
33
|
-
ontology: string[];
|
|
34
|
-
project_name: string;
|
|
35
|
-
ontology_name?: string | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
34
|
+
declare const scaleAiSetProjectOntology: AppAction<typeof ScaleAiSetProjectOntologyInput, typeof ScaleAiSetProjectOntologyOutput, typeof scaleAi.credential>;
|
|
49
35
|
//#endregion
|
|
50
36
|
export { scaleAiSetProjectOntology };
|
|
51
37
|
//# sourceMappingURL=set-project-ontology.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-project-ontology.d.mts","names":[],"sources":["../../src/actions/set-project-ontology.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"set-project-ontology.d.mts","names":[],"sources":["../../src/actions/set-project-ontology.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAiB/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-project-ontology.mjs","names":[],"sources":["../../src/actions/set-project-ontology.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetProjectOntologyInput = z.object({\n ontology: z.array(z.string()).describe(\"A collection of ontology entries as strings. Ontology choices must be unique throughout the ontology. These define the labels or classes that tasks in this project will reference.\"),\n project_name: z.string().describe(\"The unique project identifier to set the ontology for. This is the project name.\"),\n ontology_name: z.string().describe(\"A label identifying the specific version of the ontology being set. This is optional and helps track different ontology versions.\").optional(),\n}).describe(\"Request model for setting ontologies on a project.\");\nconst ScaleAiSetProjectOntology_DatasetLinkSchema = z.object({\n datasetId: z.string().describe(\"Dataset identifier\").nullable().optional(),\n datasetName: z.string().describe(\"Dataset name\").nullable().optional(),\n}).passthrough().describe(\"Dataset link information.\");\nconst ScaleAiSetProjectOntology_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable().optional(),\n}).passthrough().describe(\"Historical parameter version for a project.\");\nexport const ScaleAiSetProjectOntologyOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable().optional(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation').\").nullable().optional(),\n pinned: z.boolean().describe(\"Whether project is pinned.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether project is archived.\").nullable().optional(),\n taxonomy: z.record(z.string(), z.unknown()).describe(\"Taxonomy information.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of project creation.\").nullable().optional(),\n created_by: z.string().describe(\"User ID who created the project.\").nullable().optional(),\n numReviews: z.number().int().describe(\"Number of reviews.\").nullable().optional(),\n created_with: z.string().describe(\"Creation method.\").nullable().optional(),\n datasetLinks: z.array(ScaleAiSetProjectOntology_DatasetLinkSchema).describe(\"Associated dataset links.\").nullable().optional(),\n numConsensus: z.number().int().describe(\"Number of consensus.\").nullable().optional(),\n pipelineName: z.string().describe(\"Pipeline identifier.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectOntology_ParamHistoryItemSchema).describe(\"Historical parameter versions.\").nullable().optional(),\n nucleusDatasetId: z.string().describe(\"Associated Nucleus dataset ID.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated project details after setting the ontology.\");\n\nexport const scaleAiSetProjectOntology = action(\"SCALE_AI_SET_PROJECT_ONTOLOGY\", {\n slug: \"scale_ai-set-project-ontology\",\n name: \"Set Project Ontology\",\n description: \"Tool to set ontologies on a Scale AI project. Ontologies define the labels or classes that tasks will reference, and projects maintain complete history of ontology versions. Use when you need to configure or update the classification labels for a project.\",\n input: ScaleAiSetProjectOntologyInput,\n output: ScaleAiSetProjectOntologyOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"set-project-ontology.mjs","names":[],"sources":["../../src/actions/set-project-ontology.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 ScaleAiSetProjectOntologyInput = z.object({\n ontology: z.array(z.string()).describe(\"A collection of ontology entries as strings. Ontology choices must be unique throughout the ontology. These define the labels or classes that tasks in this project will reference.\"),\n project_name: z.string().describe(\"The unique project identifier to set the ontology for. This is the project name.\"),\n ontology_name: z.string().describe(\"A label identifying the specific version of the ontology being set. This is optional and helps track different ontology versions.\").optional(),\n}).describe(\"Request model for setting ontologies on a project.\");\nconst ScaleAiSetProjectOntology_DatasetLinkSchema = z.object({\n datasetId: z.string().describe(\"Dataset identifier\").nullable().optional(),\n datasetName: z.string().describe(\"Dataset name\").nullable().optional(),\n}).passthrough().describe(\"Dataset link information.\");\nconst ScaleAiSetProjectOntology_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable().optional(),\n}).passthrough().describe(\"Historical parameter version for a project.\");\nexport const ScaleAiSetProjectOntologyOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable().optional(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation').\").nullable().optional(),\n pinned: z.boolean().describe(\"Whether project is pinned.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether project is archived.\").nullable().optional(),\n taxonomy: z.record(z.string(), z.unknown()).describe(\"Taxonomy information.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of project creation.\").nullable().optional(),\n created_by: z.string().describe(\"User ID who created the project.\").nullable().optional(),\n numReviews: z.number().int().describe(\"Number of reviews.\").nullable().optional(),\n created_with: z.string().describe(\"Creation method.\").nullable().optional(),\n datasetLinks: z.array(ScaleAiSetProjectOntology_DatasetLinkSchema).describe(\"Associated dataset links.\").nullable().optional(),\n numConsensus: z.number().int().describe(\"Number of consensus.\").nullable().optional(),\n pipelineName: z.string().describe(\"Pipeline identifier.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectOntology_ParamHistoryItemSchema).describe(\"Historical parameter versions.\").nullable().optional(),\n nucleusDatasetId: z.string().describe(\"Associated Nucleus dataset ID.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated project details after setting the ontology.\");\n\nexport const scaleAiSetProjectOntology: AppAction<\n typeof ScaleAiSetProjectOntologyInput,\n typeof ScaleAiSetProjectOntologyOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_SET_PROJECT_ONTOLOGY\", {\n slug: \"scale_ai-set-project-ontology\",\n name: \"Set Project Ontology\",\n description: \"Tool to set ontologies on a Scale AI project. Ontologies define the labels or classes that tasks will reference, and projects maintain complete history of ontology versions. Use when you need to configure or update the classification labels for a project.\",\n input: ScaleAiSetProjectOntologyInput,\n output: ScaleAiSetProjectOntologyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qLAAqL;CAC5N,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CACpH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAM,mDAAmD,EAAE,OAAO;CAChE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAkBvE,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QA1B6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,cAAc,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-project-params.cjs","names":["z","action"],"sources":["../../src/actions/set-project-params.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetProjectParamsInput = z.object({\n name: z.string().describe(\"Project identifier (name). This is used in the URL path.\"),\n patch: z.boolean().default(false).describe(\"When true, merges new parameters with existing ones; defaults to false. Field-level overrides take precedence.\").optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Default parameters for tasks created under this project. Any parameters specified here will be set if omitted in a task request.\").optional(),\n priority: z.number().int().describe(\"Default priority for tasks created under this project.\").optional(),\n instruction: z.string().describe(\"Text combined with task-level instructions.\").optional(),\n}).describe(\"Request model for setting default parameters for tasks created under a project.\");\nconst ScaleAiSetProjectParams_ParamHistoryItemSchema = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"Parameters that were set at this version.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when parameters were set.\").nullable().optional(),\n}).passthrough().describe(\"Parameter history entry for a project.\");\nexport const ScaleAiSetProjectParamsOutput = z.object({\n name: z.string().describe(\"Project identifier.\").nullable().optional(),\n type: z.string().describe(\"Project task type.\").nullable().optional(),\n created_at: z.string().describe(\"Project creation timestamp.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectParams_ParamHistoryItemSchema).describe(\"Projects keep a history of the parameters that they were set with.\").nullable().optional(),\n}).passthrough().describe(\"Response model for set project parameters action.\");\n\nexport const scaleAiSetProjectParams = action(\"SCALE_AI_SET_PROJECT_PARAMS\", {\n slug: \"scale_ai-set-project-params\",\n name: \"Set Project Parameters\",\n description: \"Tool to set default parameters for tasks created under a project. Use when you need to establish or update default parameters that apply to future tasks unless overridden.\",\n input: ScaleAiSetProjectParamsInput,\n output: ScaleAiSetProjectParamsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"set-project-params.cjs","names":["z","action"],"sources":["../../src/actions/set-project-params.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 ScaleAiSetProjectParamsInput = z.object({\n name: z.string().describe(\"Project identifier (name). This is used in the URL path.\"),\n patch: z.boolean().default(false).describe(\"When true, merges new parameters with existing ones; defaults to false. Field-level overrides take precedence.\").optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Default parameters for tasks created under this project. Any parameters specified here will be set if omitted in a task request.\").optional(),\n priority: z.number().int().describe(\"Default priority for tasks created under this project.\").optional(),\n instruction: z.string().describe(\"Text combined with task-level instructions.\").optional(),\n}).describe(\"Request model for setting default parameters for tasks created under a project.\");\nconst ScaleAiSetProjectParams_ParamHistoryItemSchema = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"Parameters that were set at this version.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when parameters were set.\").nullable().optional(),\n}).passthrough().describe(\"Parameter history entry for a project.\");\nexport const ScaleAiSetProjectParamsOutput = z.object({\n name: z.string().describe(\"Project identifier.\").nullable().optional(),\n type: z.string().describe(\"Project task type.\").nullable().optional(),\n created_at: z.string().describe(\"Project creation timestamp.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectParams_ParamHistoryItemSchema).describe(\"Projects keep a history of the parameters that they were set with.\").nullable().optional(),\n}).passthrough().describe(\"Response model for set project parameters action.\");\n\nexport const scaleAiSetProjectParams: AppAction<\n typeof ScaleAiSetProjectParamsInput,\n typeof ScaleAiSetProjectParamsOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_SET_PROJECT_PARAMS\", {\n slug: \"scale_ai-set-project-params\",\n name: \"Set Project Parameters\",\n description: \"Tool to set default parameters for tasks created under a project. Use when you need to establish or update default parameters that apply to future tasks unless overridden.\",\n input: ScaleAiSetProjectParamsInput,\n output: ScaleAiSetProjectParamsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACtK,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAChM,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,eAAeA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,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/set-project-params.d.ts
|
|
@@ -18,25 +20,7 @@ declare const ScaleAiSetProjectParamsOutput: z.ZodObject<{
|
|
|
18
20
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
}, z.core.$loose>>>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const scaleAiSetProjectParams:
|
|
22
|
-
name: string;
|
|
23
|
-
patch?: boolean | undefined;
|
|
24
|
-
params?: Record<string, unknown> | undefined;
|
|
25
|
-
priority?: number | undefined;
|
|
26
|
-
instruction?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const scaleAiSetProjectParams: AppAction<typeof ScaleAiSetProjectParamsInput, typeof ScaleAiSetProjectParamsOutput, typeof scaleAi.credential>;
|
|
40
24
|
//#endregion
|
|
41
25
|
export { scaleAiSetProjectParams };
|
|
42
26
|
//# sourceMappingURL=set-project-params.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-project-params.d.cts","names":[],"sources":["../../src/actions/set-project-params.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"set-project-params.d.cts","names":[],"sources":["../../src/actions/set-project-params.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAO7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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/set-project-params.d.ts
|
|
@@ -18,25 +20,7 @@ declare const ScaleAiSetProjectParamsOutput: z.ZodObject<{
|
|
|
18
20
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
}, z.core.$loose>>>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const scaleAiSetProjectParams:
|
|
22
|
-
name: string;
|
|
23
|
-
patch?: boolean | undefined;
|
|
24
|
-
params?: Record<string, unknown> | undefined;
|
|
25
|
-
priority?: number | undefined;
|
|
26
|
-
instruction?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const scaleAiSetProjectParams: AppAction<typeof ScaleAiSetProjectParamsInput, typeof ScaleAiSetProjectParamsOutput, typeof scaleAi.credential>;
|
|
40
24
|
//#endregion
|
|
41
25
|
export { scaleAiSetProjectParams };
|
|
42
26
|
//# sourceMappingURL=set-project-params.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-project-params.d.mts","names":[],"sources":["../../src/actions/set-project-params.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"set-project-params.d.mts","names":[],"sources":["../../src/actions/set-project-params.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAO7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-project-params.mjs","names":[],"sources":["../../src/actions/set-project-params.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetProjectParamsInput = z.object({\n name: z.string().describe(\"Project identifier (name). This is used in the URL path.\"),\n patch: z.boolean().default(false).describe(\"When true, merges new parameters with existing ones; defaults to false. Field-level overrides take precedence.\").optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Default parameters for tasks created under this project. Any parameters specified here will be set if omitted in a task request.\").optional(),\n priority: z.number().int().describe(\"Default priority for tasks created under this project.\").optional(),\n instruction: z.string().describe(\"Text combined with task-level instructions.\").optional(),\n}).describe(\"Request model for setting default parameters for tasks created under a project.\");\nconst ScaleAiSetProjectParams_ParamHistoryItemSchema = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"Parameters that were set at this version.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when parameters were set.\").nullable().optional(),\n}).passthrough().describe(\"Parameter history entry for a project.\");\nexport const ScaleAiSetProjectParamsOutput = z.object({\n name: z.string().describe(\"Project identifier.\").nullable().optional(),\n type: z.string().describe(\"Project task type.\").nullable().optional(),\n created_at: z.string().describe(\"Project creation timestamp.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectParams_ParamHistoryItemSchema).describe(\"Projects keep a history of the parameters that they were set with.\").nullable().optional(),\n}).passthrough().describe(\"Response model for set project parameters action.\");\n\nexport const scaleAiSetProjectParams = action(\"SCALE_AI_SET_PROJECT_PARAMS\", {\n slug: \"scale_ai-set-project-params\",\n name: \"Set Project Parameters\",\n description: \"Tool to set default parameters for tasks created under a project. Use when you need to establish or update default parameters that apply to future tasks unless overridden.\",\n input: ScaleAiSetProjectParamsInput,\n output: ScaleAiSetProjectParamsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"set-project-params.mjs","names":[],"sources":["../../src/actions/set-project-params.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 ScaleAiSetProjectParamsInput = z.object({\n name: z.string().describe(\"Project identifier (name). This is used in the URL path.\"),\n patch: z.boolean().default(false).describe(\"When true, merges new parameters with existing ones; defaults to false. Field-level overrides take precedence.\").optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Default parameters for tasks created under this project. Any parameters specified here will be set if omitted in a task request.\").optional(),\n priority: z.number().int().describe(\"Default priority for tasks created under this project.\").optional(),\n instruction: z.string().describe(\"Text combined with task-level instructions.\").optional(),\n}).describe(\"Request model for setting default parameters for tasks created under a project.\");\nconst ScaleAiSetProjectParams_ParamHistoryItemSchema = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"Parameters that were set at this version.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when parameters were set.\").nullable().optional(),\n}).passthrough().describe(\"Parameter history entry for a project.\");\nexport const ScaleAiSetProjectParamsOutput = z.object({\n name: z.string().describe(\"Project identifier.\").nullable().optional(),\n type: z.string().describe(\"Project task type.\").nullable().optional(),\n created_at: z.string().describe(\"Project creation timestamp.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectParams_ParamHistoryItemSchema).describe(\"Projects keep a history of the parameters that they were set with.\").nullable().optional(),\n}).passthrough().describe(\"Response model for set project parameters action.\");\n\nexport const scaleAiSetProjectParams: AppAction<\n typeof ScaleAiSetProjectParamsInput,\n typeof ScaleAiSetProjectParamsOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_SET_PROJECT_PARAMS\", {\n slug: \"scale_ai-set-project-params\",\n name: \"Set Project Parameters\",\n description: \"Tool to set default parameters for tasks created under a project. Use when you need to establish or update default parameters that apply to future tasks unless overridden.\",\n input: ScaleAiSetProjectParamsInput,\n output: ScaleAiSetProjectParamsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACtK,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAChM,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,iDAAiD,EAAE,OAAO;CAC9D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAQlE,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,eAAe,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-task-metadata.cjs","names":["z","action"],"sources":["../../src/actions/set-task-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetTaskMetadataInput = 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.cjs","names":["z","action"],"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":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uHAAuH;AAC9K,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAAuF;AAEjH,MAAa,yBAITC,eAAAA,OAAO,8BAA8B;CACvC,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/set-task-metadata.d.ts
|
|
@@ -21,22 +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<"scale_ai", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const scaleAiSetTaskMetadata: AppAction<typeof ScaleAiSetTaskMetadataInput, typeof ScaleAiSetTaskMetadataOutput, typeof scaleAi.credential>;
|
|
40
27
|
//#endregion
|
|
41
28
|
export { scaleAiSetTaskMetadata };
|
|
42
29
|
//# sourceMappingURL=set-task-metadata.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-task-metadata.d.cts","names":[],"sources":["../../src/actions/set-task-metadata.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"set-task-metadata.d.cts","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,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,22 +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<"scale_ai", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const scaleAiSetTaskMetadata: AppAction<typeof ScaleAiSetTaskMetadataInput, typeof ScaleAiSetTaskMetadataOutput, typeof scaleAi.credential>;
|
|
40
27
|
//#endregion
|
|
41
28
|
export { scaleAiSetTaskMetadata };
|
|
42
29
|
//# sourceMappingURL=set-task-metadata.d.mts.map
|