@keystrokehq/scale_ai 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-studio-assignments.cjs +1 -0
- package/dist/actions/add-studio-assignments.cjs.map +1 -1
- package/dist/actions/add-studio-assignments.d.cts +3 -4
- package/dist/actions/add-studio-assignments.d.cts.map +1 -1
- package/dist/actions/add-studio-assignments.d.mts +3 -4
- package/dist/actions/add-studio-assignments.d.mts.map +1 -1
- package/dist/actions/add-studio-assignments.mjs +1 -0
- package/dist/actions/add-studio-assignments.mjs.map +1 -1
- package/dist/actions/add-task-tags.cjs +1 -0
- package/dist/actions/add-task-tags.cjs.map +1 -1
- package/dist/actions/add-task-tags.d.cts +3 -4
- package/dist/actions/add-task-tags.d.cts.map +1 -1
- package/dist/actions/add-task-tags.d.mts +3 -4
- package/dist/actions/add-task-tags.d.mts.map +1 -1
- package/dist/actions/add-task-tags.mjs +1 -0
- package/dist/actions/add-task-tags.mjs.map +1 -1
- package/dist/actions/create-batch.cjs +1 -0
- package/dist/actions/create-batch.cjs.map +1 -1
- package/dist/actions/create-batch.d.cts +3 -7
- package/dist/actions/create-batch.d.cts.map +1 -1
- package/dist/actions/create-batch.d.mts +3 -7
- package/dist/actions/create-batch.d.mts.map +1 -1
- package/dist/actions/create-batch.mjs +1 -0
- package/dist/actions/create-batch.mjs.map +1 -1
- package/dist/actions/create-document-transcription-task.cjs +1 -0
- package/dist/actions/create-document-transcription-task.cjs.map +1 -1
- package/dist/actions/create-document-transcription-task.d.cts +3 -41
- package/dist/actions/create-document-transcription-task.d.cts.map +1 -1
- package/dist/actions/create-document-transcription-task.d.mts +3 -41
- package/dist/actions/create-document-transcription-task.d.mts.map +1 -1
- package/dist/actions/create-document-transcription-task.mjs +1 -0
- package/dist/actions/create-document-transcription-task.mjs.map +1 -1
- package/dist/actions/create-image-annotation-task.cjs +1 -0
- package/dist/actions/create-image-annotation-task.cjs.map +1 -1
- package/dist/actions/create-image-annotation-task.d.cts +3 -113
- package/dist/actions/create-image-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-image-annotation-task.d.mts +3 -113
- package/dist/actions/create-image-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-image-annotation-task.mjs +1 -0
- package/dist/actions/create-image-annotation-task.mjs.map +1 -1
- package/dist/actions/create-lidar-annotation-task.cjs +1 -0
- package/dist/actions/create-lidar-annotation-task.cjs.map +1 -1
- package/dist/actions/create-lidar-annotation-task.d.cts +3 -20
- package/dist/actions/create-lidar-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-lidar-annotation-task.d.mts +3 -20
- package/dist/actions/create-lidar-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-lidar-annotation-task.mjs +1 -0
- package/dist/actions/create-lidar-annotation-task.mjs.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.cjs +1 -0
- package/dist/actions/create-lidar-segmentation-task.cjs.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.d.cts +3 -15
- package/dist/actions/create-lidar-segmentation-task.d.cts.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.d.mts +3 -15
- package/dist/actions/create-lidar-segmentation-task.d.mts.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.mjs +1 -0
- package/dist/actions/create-lidar-segmentation-task.mjs.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.cjs +1 -0
- package/dist/actions/create-named-entity-recognition-task.cjs.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.d.cts +3 -31
- package/dist/actions/create-named-entity-recognition-task.d.cts.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.d.mts +3 -31
- package/dist/actions/create-named-entity-recognition-task.d.mts.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.mjs +1 -0
- package/dist/actions/create-named-entity-recognition-task.mjs.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.cjs +1 -0
- package/dist/actions/create-segmentation-annotation-task.cjs.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.d.cts +3 -24
- package/dist/actions/create-segmentation-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.d.mts +3 -24
- package/dist/actions/create-segmentation-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.mjs +1 -0
- package/dist/actions/create-segmentation-annotation-task.mjs.map +1 -1
- package/dist/actions/create-text-collection-task.cjs +1 -0
- package/dist/actions/create-text-collection-task.cjs.map +1 -1
- package/dist/actions/create-text-collection-task.d.cts +3 -33
- package/dist/actions/create-text-collection-task.d.cts.map +1 -1
- package/dist/actions/create-text-collection-task.d.mts +3 -33
- package/dist/actions/create-text-collection-task.d.mts.map +1 -1
- package/dist/actions/create-text-collection-task.mjs +1 -0
- package/dist/actions/create-text-collection-task.mjs.map +1 -1
- package/dist/actions/create-video-annotation-task.cjs +1 -0
- package/dist/actions/create-video-annotation-task.cjs.map +1 -1
- package/dist/actions/create-video-annotation-task.d.cts +3 -65
- package/dist/actions/create-video-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-video-annotation-task.d.mts +3 -65
- package/dist/actions/create-video-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-video-annotation-task.mjs +1 -0
- package/dist/actions/create-video-annotation-task.mjs.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.cjs +1 -0
- package/dist/actions/create-video-playback-annotation-task.cjs.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.d.cts +3 -71
- package/dist/actions/create-video-playback-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.d.mts +3 -71
- package/dist/actions/create-video-playback-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.mjs +1 -0
- package/dist/actions/create-video-playback-annotation-task.mjs.map +1 -1
- package/dist/actions/delete-task-tags.cjs +1 -0
- package/dist/actions/delete-task-tags.cjs.map +1 -1
- package/dist/actions/delete-task-tags.d.cts +3 -4
- package/dist/actions/delete-task-tags.d.cts.map +1 -1
- package/dist/actions/delete-task-tags.d.mts +3 -4
- package/dist/actions/delete-task-tags.d.mts.map +1 -1
- package/dist/actions/delete-task-tags.mjs +1 -0
- package/dist/actions/delete-task-tags.mjs.map +1 -1
- package/dist/actions/delete-task-unique-id.cjs +1 -0
- package/dist/actions/delete-task-unique-id.cjs.map +1 -1
- package/dist/actions/delete-task-unique-id.d.cts +3 -3
- package/dist/actions/delete-task-unique-id.d.cts.map +1 -1
- package/dist/actions/delete-task-unique-id.d.mts +3 -3
- package/dist/actions/delete-task-unique-id.d.mts.map +1 -1
- package/dist/actions/delete-task-unique-id.mjs +1 -0
- package/dist/actions/delete-task-unique-id.mjs.map +1 -1
- package/dist/actions/finalize-batch.cjs +1 -0
- package/dist/actions/finalize-batch.cjs.map +1 -1
- package/dist/actions/finalize-batch.d.cts +3 -3
- package/dist/actions/finalize-batch.d.cts.map +1 -1
- package/dist/actions/finalize-batch.d.mts +3 -3
- package/dist/actions/finalize-batch.d.mts.map +1 -1
- package/dist/actions/finalize-batch.mjs +1 -0
- package/dist/actions/finalize-batch.mjs.map +1 -1
- package/dist/actions/get-assets.cjs +1 -0
- package/dist/actions/get-assets.cjs.map +1 -1
- package/dist/actions/get-assets.d.cts +3 -5
- package/dist/actions/get-assets.d.cts.map +1 -1
- package/dist/actions/get-assets.d.mts +3 -5
- package/dist/actions/get-assets.d.mts.map +1 -1
- package/dist/actions/get-assets.mjs +1 -0
- package/dist/actions/get-assets.mjs.map +1 -1
- package/dist/actions/get-batch-status.cjs +1 -0
- package/dist/actions/get-batch-status.cjs.map +1 -1
- package/dist/actions/get-batch-status.d.cts +3 -3
- package/dist/actions/get-batch-status.d.cts.map +1 -1
- package/dist/actions/get-batch-status.d.mts +3 -3
- package/dist/actions/get-batch-status.d.mts.map +1 -1
- package/dist/actions/get-batch-status.mjs +1 -0
- package/dist/actions/get-batch-status.mjs.map +1 -1
- package/dist/actions/get-batch.cjs +1 -0
- package/dist/actions/get-batch.cjs.map +1 -1
- package/dist/actions/get-batch.d.cts +3 -3
- package/dist/actions/get-batch.d.cts.map +1 -1
- package/dist/actions/get-batch.d.mts +3 -3
- package/dist/actions/get-batch.d.mts.map +1 -1
- package/dist/actions/get-batch.mjs +1 -0
- package/dist/actions/get-batch.mjs.map +1 -1
- package/dist/actions/get-fixless-audits.cjs +1 -0
- package/dist/actions/get-fixless-audits.cjs.map +1 -1
- package/dist/actions/get-fixless-audits.d.cts +3 -4
- package/dist/actions/get-fixless-audits.d.cts.map +1 -1
- package/dist/actions/get-fixless-audits.d.mts +3 -4
- package/dist/actions/get-fixless-audits.d.mts.map +1 -1
- package/dist/actions/get-fixless-audits.mjs +1 -0
- package/dist/actions/get-fixless-audits.mjs.map +1 -1
- package/dist/actions/get-project.cjs +1 -0
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +3 -3
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +3 -3
- package/dist/actions/get-project.d.mts.map +1 -1
- package/dist/actions/get-project.mjs +1 -0
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-quality-labelers.cjs +1 -0
- package/dist/actions/get-quality-labelers.cjs.map +1 -1
- package/dist/actions/get-quality-labelers.d.cts +3 -6
- package/dist/actions/get-quality-labelers.d.cts.map +1 -1
- package/dist/actions/get-quality-labelers.d.mts +3 -6
- package/dist/actions/get-quality-labelers.d.mts.map +1 -1
- package/dist/actions/get-quality-labelers.mjs +1 -0
- package/dist/actions/get-quality-labelers.mjs.map +1 -1
- package/dist/actions/get-studio-assignments.cjs +1 -0
- package/dist/actions/get-studio-assignments.cjs.map +1 -1
- package/dist/actions/get-studio-assignments.d.cts +3 -1
- package/dist/actions/get-studio-assignments.d.cts.map +1 -1
- package/dist/actions/get-studio-assignments.d.mts +3 -1
- package/dist/actions/get-studio-assignments.d.mts.map +1 -1
- package/dist/actions/get-studio-assignments.mjs +1 -0
- package/dist/actions/get-studio-assignments.mjs.map +1 -1
- package/dist/actions/get-studio-batches.cjs +1 -0
- package/dist/actions/get-studio-batches.cjs.map +1 -1
- package/dist/actions/get-studio-batches.d.cts +3 -1
- package/dist/actions/get-studio-batches.d.cts.map +1 -1
- package/dist/actions/get-studio-batches.d.mts +3 -1
- package/dist/actions/get-studio-batches.d.mts.map +1 -1
- package/dist/actions/get-studio-batches.mjs +1 -0
- package/dist/actions/get-studio-batches.mjs.map +1 -1
- package/dist/actions/get-teams.cjs +1 -0
- package/dist/actions/get-teams.cjs.map +1 -1
- package/dist/actions/get-teams.d.cts +3 -1
- package/dist/actions/get-teams.d.cts.map +1 -1
- package/dist/actions/get-teams.d.mts +3 -1
- package/dist/actions/get-teams.d.mts.map +1 -1
- package/dist/actions/get-teams.mjs +1 -0
- package/dist/actions/get-teams.mjs.map +1 -1
- package/dist/actions/get-v1-task-response-url.cjs +1 -0
- package/dist/actions/get-v1-task-response-url.cjs.map +1 -1
- package/dist/actions/get-v1-task-response-url.d.cts +3 -4
- package/dist/actions/get-v1-task-response-url.d.cts.map +1 -1
- package/dist/actions/get-v1-task-response-url.d.mts +3 -4
- package/dist/actions/get-v1-task-response-url.d.mts.map +1 -1
- package/dist/actions/get-v1-task-response-url.mjs +1 -0
- package/dist/actions/get-v1-task-response-url.mjs.map +1 -1
- package/dist/actions/get-v1-task.cjs +1 -0
- package/dist/actions/get-v1-task.cjs.map +1 -1
- package/dist/actions/get-v1-task.d.cts +3 -3
- package/dist/actions/get-v1-task.d.cts.map +1 -1
- package/dist/actions/get-v1-task.d.mts +3 -3
- package/dist/actions/get-v1-task.d.mts.map +1 -1
- package/dist/actions/get-v1-task.mjs +1 -0
- package/dist/actions/get-v1-task.mjs.map +1 -1
- package/dist/actions/import-file.cjs +1 -0
- package/dist/actions/import-file.cjs.map +1 -1
- package/dist/actions/import-file.d.cts +3 -4
- package/dist/actions/import-file.d.cts.map +1 -1
- package/dist/actions/import-file.d.mts +3 -4
- package/dist/actions/import-file.d.mts.map +1 -1
- package/dist/actions/import-file.mjs +1 -0
- package/dist/actions/import-file.mjs.map +1 -1
- package/dist/actions/invite-team-member.cjs +1 -0
- package/dist/actions/invite-team-member.cjs.map +1 -1
- package/dist/actions/invite-team-member.d.cts +3 -4
- package/dist/actions/invite-team-member.d.cts.map +1 -1
- package/dist/actions/invite-team-member.d.mts +3 -4
- package/dist/actions/invite-team-member.d.mts.map +1 -1
- package/dist/actions/invite-team-member.mjs +1 -0
- package/dist/actions/invite-team-member.mjs.map +1 -1
- package/dist/actions/list-batches.cjs +1 -0
- package/dist/actions/list-batches.cjs.map +1 -1
- package/dist/actions/list-batches.d.cts +3 -9
- package/dist/actions/list-batches.d.cts.map +1 -1
- package/dist/actions/list-batches.d.mts +3 -9
- package/dist/actions/list-batches.d.mts.map +1 -1
- package/dist/actions/list-batches.mjs +1 -0
- package/dist/actions/list-batches.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +1 -0
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +3 -5
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +3 -5
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +1 -0
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/list-tasks.cjs +1 -0
- package/dist/actions/list-tasks.cjs.map +1 -1
- package/dist/actions/list-tasks.d.cts +3 -18
- package/dist/actions/list-tasks.d.cts.map +1 -1
- package/dist/actions/list-tasks.d.mts +3 -18
- package/dist/actions/list-tasks.d.mts.map +1 -1
- package/dist/actions/list-tasks.mjs +1 -0
- package/dist/actions/list-tasks.mjs.map +1 -1
- package/dist/actions/post-v1-task-send-callback.cjs +1 -0
- package/dist/actions/post-v1-task-send-callback.cjs.map +1 -1
- package/dist/actions/post-v1-task-send-callback.d.cts +3 -3
- package/dist/actions/post-v1-task-send-callback.d.cts.map +1 -1
- package/dist/actions/post-v1-task-send-callback.d.mts +3 -3
- package/dist/actions/post-v1-task-send-callback.d.mts.map +1 -1
- package/dist/actions/post-v1-task-send-callback.mjs +1 -0
- package/dist/actions/post-v1-task-send-callback.mjs.map +1 -1
- package/dist/actions/remove-studio-assignments.cjs +1 -0
- package/dist/actions/remove-studio-assignments.cjs.map +1 -1
- package/dist/actions/remove-studio-assignments.d.cts +3 -4
- package/dist/actions/remove-studio-assignments.d.cts.map +1 -1
- package/dist/actions/remove-studio-assignments.d.mts +3 -4
- package/dist/actions/remove-studio-assignments.d.mts.map +1 -1
- package/dist/actions/remove-studio-assignments.mjs +1 -0
- package/dist/actions/remove-studio-assignments.mjs.map +1 -1
- package/dist/actions/reset-batch-priorities.cjs +1 -0
- package/dist/actions/reset-batch-priorities.cjs.map +1 -1
- package/dist/actions/reset-batch-priorities.d.cts +3 -3
- package/dist/actions/reset-batch-priorities.d.cts.map +1 -1
- package/dist/actions/reset-batch-priorities.d.mts +3 -3
- package/dist/actions/reset-batch-priorities.d.mts.map +1 -1
- package/dist/actions/reset-batch-priorities.mjs +1 -0
- package/dist/actions/reset-batch-priorities.mjs.map +1 -1
- package/dist/actions/set-batch-priorities.cjs +1 -0
- package/dist/actions/set-batch-priorities.cjs.map +1 -1
- package/dist/actions/set-batch-priorities.d.cts +3 -6
- package/dist/actions/set-batch-priorities.d.cts.map +1 -1
- package/dist/actions/set-batch-priorities.d.mts +3 -6
- package/dist/actions/set-batch-priorities.d.mts.map +1 -1
- package/dist/actions/set-batch-priorities.mjs +1 -0
- package/dist/actions/set-batch-priorities.mjs.map +1 -1
- package/dist/actions/set-project-ontology.cjs +1 -0
- package/dist/actions/set-project-ontology.cjs.map +1 -1
- package/dist/actions/set-project-ontology.d.cts +3 -5
- package/dist/actions/set-project-ontology.d.cts.map +1 -1
- package/dist/actions/set-project-ontology.d.mts +3 -5
- package/dist/actions/set-project-ontology.d.mts.map +1 -1
- package/dist/actions/set-project-ontology.mjs +1 -0
- package/dist/actions/set-project-ontology.mjs.map +1 -1
- package/dist/actions/set-project-params.cjs +1 -0
- package/dist/actions/set-project-params.cjs.map +1 -1
- package/dist/actions/set-project-params.d.cts +3 -7
- package/dist/actions/set-project-params.d.cts.map +1 -1
- package/dist/actions/set-project-params.d.mts +3 -7
- package/dist/actions/set-project-params.d.mts.map +1 -1
- package/dist/actions/set-project-params.mjs +1 -0
- package/dist/actions/set-project-params.mjs.map +1 -1
- package/dist/actions/set-task-metadata.cjs +1 -0
- package/dist/actions/set-task-metadata.cjs.map +1 -1
- package/dist/actions/set-task-metadata.d.cts +3 -4
- package/dist/actions/set-task-metadata.d.cts.map +1 -1
- package/dist/actions/set-task-metadata.d.mts +3 -4
- package/dist/actions/set-task-metadata.d.mts.map +1 -1
- package/dist/actions/set-task-metadata.mjs +1 -0
- package/dist/actions/set-task-metadata.mjs.map +1 -1
- package/dist/actions/update-task-unique-id.cjs +1 -0
- package/dist/actions/update-task-unique-id.cjs.map +1 -1
- package/dist/actions/update-task-unique-id.d.cts +3 -4
- package/dist/actions/update-task-unique-id.d.cts.map +1 -1
- package/dist/actions/update-task-unique-id.d.mts +3 -4
- package/dist/actions/update-task-unique-id.d.mts.map +1 -1
- package/dist/actions/update-task-unique-id.mjs +1 -0
- package/dist/actions/update-task-unique-id.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +1 -0
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +3 -11
- package/dist/actions/upload-file.d.cts.map +1 -1
- package/dist/actions/upload-file.d.mts +3 -11
- package/dist/actions/upload-file.d.mts.map +1 -1
- package/dist/actions/upload-file.mjs +1 -0
- package/dist/actions/upload-file.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/invite-team-member.d.ts
|
|
@@ -17,10 +19,7 @@ declare const ScaleAiInviteTeamMemberOutput: z.ZodObject<{
|
|
|
17
19
|
disableRapidEmails: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
20
|
}, z.core.$loose>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const scaleAiInviteTeamMember:
|
|
21
|
-
emails: string[];
|
|
22
|
-
team_role: string;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
22
|
+
declare const scaleAiInviteTeamMember: AppAction<typeof ScaleAiInviteTeamMemberInput, typeof ScaleAiInviteTeamMemberOutput, typeof scaleAi.credential>;
|
|
24
23
|
//#endregion
|
|
25
24
|
export { scaleAiInviteTeamMember };
|
|
26
25
|
//# sourceMappingURL=invite-team-member.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invite-team-member.d.mts","names":[],"sources":["../../src/actions/invite-team-member.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"invite-team-member.d.mts","names":[],"sources":["../../src/actions/invite-team-member.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAc5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invite-team-member.mjs","names":[],"sources":["../../src/actions/invite-team-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiInviteTeamMemberInput = z.object({\n emails: z.array(z.string()).describe(\"Array of email addresses of teammates you want to invite.\"),\n team_role: z.string().describe(\"Role of invited teammate. Must be one of: 'labeler' (Studio only), 'member', or 'manager'.\"),\n}).describe(\"Request parameters for inviting team members.\");\nconst ScaleAiInviteTeamMember_TeamMemberSchema = z.object({\n role: z.string().describe(\"User's role (admin, member, labeler, or invited)\").nullable().optional(),\n email: z.string().describe(\"Team member's email address\").nullable(),\n expiry: z.string().describe(\"Invitation expiration timestamp (for invited status)\").nullable().optional(),\n company: z.string().describe(\"User's company affiliation\").nullable().optional(),\n lastName: z.string().describe(\"User's last name\").nullable().optional(),\n firstName: z.string().describe(\"User's first name\").nullable().optional(),\n isStudioLabeler: z.boolean().describe(\"Indicates if user has labeler role in Studio\").nullable().optional(),\n disableRapidEmails: z.boolean().describe(\"Email notification preference setting\").nullable().optional(),\n}).passthrough().describe(\"Details of a team member.\");\nexport const ScaleAiInviteTeamMemberOutput = z.object({\n team_members: z.array(ScaleAiInviteTeamMember_TeamMemberSchema).describe(\"Array of team member objects\"),\n}).passthrough().describe(\"Response containing invited team member information.\");\n\nexport const scaleAiInviteTeamMember = action(\"SCALE_AI_INVITE_TEAM_MEMBER\", {\n slug: \"scale_ai-invite-team-member\",\n name: \"Invite Team Member\",\n description: \"Tool to invite users by email to team with specified role. Use when you need to add new team members with roles like labeler, member, or manager.\",\n input: ScaleAiInviteTeamMemberInput,\n output: ScaleAiInviteTeamMemberOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"invite-team-member.mjs","names":[],"sources":["../../src/actions/invite-team-member.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 ScaleAiInviteTeamMemberInput = z.object({\n emails: z.array(z.string()).describe(\"Array of email addresses of teammates you want to invite.\"),\n team_role: z.string().describe(\"Role of invited teammate. Must be one of: 'labeler' (Studio only), 'member', or 'manager'.\"),\n}).describe(\"Request parameters for inviting team members.\");\nconst ScaleAiInviteTeamMember_TeamMemberSchema = z.object({\n role: z.string().describe(\"User's role (admin, member, labeler, or invited)\").nullable().optional(),\n email: z.string().describe(\"Team member's email address\").nullable(),\n expiry: z.string().describe(\"Invitation expiration timestamp (for invited status)\").nullable().optional(),\n company: z.string().describe(\"User's company affiliation\").nullable().optional(),\n lastName: z.string().describe(\"User's last name\").nullable().optional(),\n firstName: z.string().describe(\"User's first name\").nullable().optional(),\n isStudioLabeler: z.boolean().describe(\"Indicates if user has labeler role in Studio\").nullable().optional(),\n disableRapidEmails: z.boolean().describe(\"Email notification preference setting\").nullable().optional(),\n}).passthrough().describe(\"Details of a team member.\");\nexport const ScaleAiInviteTeamMemberOutput = z.object({\n team_members: z.array(ScaleAiInviteTeamMember_TeamMemberSchema).describe(\"Array of team member objects\"),\n}).passthrough().describe(\"Response containing invited team member information.\");\n\nexport const scaleAiInviteTeamMember: AppAction<\n typeof ScaleAiInviteTeamMemberInput,\n typeof ScaleAiInviteTeamMemberOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_INVITE_TEAM_MEMBER\", {\n slug: \"scale_ai-invite-team-member\",\n name: \"Invite Team Member\",\n description: \"Tool to invite users by email to team with specified role. Use when you need to add new team members with roles like labeler, member, or manager.\",\n input: ScaleAiInviteTeamMemberInput,\n output: ScaleAiInviteTeamMemberOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;CAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;AAC7H,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAKrD,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,cAAc,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,8BAA8B,EACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-batches.cjs","names":["z","action"],"sources":["../../src/actions/list-batches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiListBatchesInput = z.object({\n limit: z.number().int().describe(\"Page size determining number of results per request.\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination.\").optional(),\n status: z.enum([\"staging\", \"in_progress\", \"completed\"]).describe(\"Filters by batch status. Valid values: 'staging', 'in_progress', or 'completed'.\").optional(),\n project: z.string().describe(\"Filters batches by project name.\").optional(),\n detailed: z.boolean().describe(\"Returns additional progress information about batches when set to true.\").optional(),\n end_time: z.string().describe(\"Maximum value of created_at for returned batches in ISO 8601 format.\").optional(),\n start_time: z.string().describe(\"Minimum value of created_at for returned batches in ISO 8601 format.\").optional(),\n}).describe(\"Request model for listing batches with optional filters and pagination.\");\nconst ScaleAiListBatches_BatchItemSchema = z.object({\n name: z.string().describe(\"Unique batch identifier.\").nullable(),\n status: z.string().describe(\"Current batch status.\").nullable(),\n project: z.string().describe(\"Project name associated with the batch.\").nullable(),\n callback: z.string().describe(\"Callback URL or email address for task completion notifications.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with batch.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation.\").nullable(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when batch completed (null if not completed).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single batch object.\");\nexport const ScaleAiListBatchesOutput = z.object({\n batches: z.array(ScaleAiListBatches_BatchItemSchema).describe(\"List of batch objects in descending order by created_at timestamp.\"),\n}).passthrough().describe(\"Response model for listing batches.\");\n\nexport const scaleAiListBatches = action(\"SCALE_AI_LIST_BATCHES\", {\n slug: \"scale_ai-list-batches\",\n name: \"List Batches\",\n description: \"Tool to retrieve all batches in descending order by creation date. Use when you need to list batches with optional filtering by project, status, or time range. Supports pagination via limit and offset parameters.\",\n input: ScaleAiListBatchesInput,\n output: ScaleAiListBatchesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-batches.cjs","names":["z","action"],"sources":["../../src/actions/list-batches.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 ScaleAiListBatchesInput = z.object({\n limit: z.number().int().describe(\"Page size determining number of results per request.\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination.\").optional(),\n status: z.enum([\"staging\", \"in_progress\", \"completed\"]).describe(\"Filters by batch status. Valid values: 'staging', 'in_progress', or 'completed'.\").optional(),\n project: z.string().describe(\"Filters batches by project name.\").optional(),\n detailed: z.boolean().describe(\"Returns additional progress information about batches when set to true.\").optional(),\n end_time: z.string().describe(\"Maximum value of created_at for returned batches in ISO 8601 format.\").optional(),\n start_time: z.string().describe(\"Minimum value of created_at for returned batches in ISO 8601 format.\").optional(),\n}).describe(\"Request model for listing batches with optional filters and pagination.\");\nconst ScaleAiListBatches_BatchItemSchema = z.object({\n name: z.string().describe(\"Unique batch identifier.\").nullable(),\n status: z.string().describe(\"Current batch status.\").nullable(),\n project: z.string().describe(\"Project name associated with the batch.\").nullable(),\n callback: z.string().describe(\"Callback URL or email address for task completion notifications.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with batch.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation.\").nullable(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when batch completed (null if not completed).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single batch object.\");\nexport const ScaleAiListBatchesOutput = z.object({\n batches: z.array(ScaleAiListBatches_BatchItemSchema).describe(\"List of batch objects in descending order by created_at timestamp.\"),\n}).passthrough().describe(\"Response model for listing batches.\");\n\nexport const scaleAiListBatches: AppAction<\n typeof ScaleAiListBatchesInput,\n typeof ScaleAiListBatchesOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_LIST_BATCHES\", {\n slug: \"scale_ai-list-batches\",\n name: \"List Batches\",\n description: \"Tool to retrieve all batches in descending order by creation date. Use when you need to list batches with optional filtering by project, status, or time range. Supports pagination via limit and offset parameters.\",\n input: ScaleAiListBatchesInput,\n output: ScaleAiListBatchesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAe;CAAW,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC9J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACnH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,oEAAoE,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-batches.d.ts
|
|
@@ -25,15 +27,7 @@ declare const ScaleAiListBatchesOutput: z.ZodObject<{
|
|
|
25
27
|
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
}, z.core.$loose>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const scaleAiListBatches:
|
|
29
|
-
limit?: number | undefined;
|
|
30
|
-
offset?: number | undefined;
|
|
31
|
-
status?: "completed" | "staging" | "in_progress" | undefined;
|
|
32
|
-
project?: string | undefined;
|
|
33
|
-
detailed?: boolean | undefined;
|
|
34
|
-
end_time?: string | undefined;
|
|
35
|
-
start_time?: string | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
declare const scaleAiListBatches: AppAction<typeof ScaleAiListBatchesInput, typeof ScaleAiListBatchesOutput, typeof scaleAi.credential>;
|
|
37
31
|
//#endregion
|
|
38
32
|
export { scaleAiListBatches };
|
|
39
33
|
//# sourceMappingURL=list-batches.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-batches.d.cts","names":[],"sources":["../../src/actions/list-batches.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-batches.d.cts","names":[],"sources":["../../src/actions/list-batches.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-batches.d.ts
|
|
@@ -25,15 +27,7 @@ declare const ScaleAiListBatchesOutput: z.ZodObject<{
|
|
|
25
27
|
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
}, z.core.$loose>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const scaleAiListBatches:
|
|
29
|
-
limit?: number | undefined;
|
|
30
|
-
offset?: number | undefined;
|
|
31
|
-
status?: "completed" | "staging" | "in_progress" | undefined;
|
|
32
|
-
project?: string | undefined;
|
|
33
|
-
detailed?: boolean | undefined;
|
|
34
|
-
end_time?: string | undefined;
|
|
35
|
-
start_time?: string | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
declare const scaleAiListBatches: AppAction<typeof ScaleAiListBatchesInput, typeof ScaleAiListBatchesOutput, typeof scaleAi.credential>;
|
|
37
31
|
//#endregion
|
|
38
32
|
export { scaleAiListBatches };
|
|
39
33
|
//# sourceMappingURL=list-batches.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-batches.d.mts","names":[],"sources":["../../src/actions/list-batches.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-batches.d.mts","names":[],"sources":["../../src/actions/list-batches.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-batches.mjs","names":[],"sources":["../../src/actions/list-batches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiListBatchesInput = z.object({\n limit: z.number().int().describe(\"Page size determining number of results per request.\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination.\").optional(),\n status: z.enum([\"staging\", \"in_progress\", \"completed\"]).describe(\"Filters by batch status. Valid values: 'staging', 'in_progress', or 'completed'.\").optional(),\n project: z.string().describe(\"Filters batches by project name.\").optional(),\n detailed: z.boolean().describe(\"Returns additional progress information about batches when set to true.\").optional(),\n end_time: z.string().describe(\"Maximum value of created_at for returned batches in ISO 8601 format.\").optional(),\n start_time: z.string().describe(\"Minimum value of created_at for returned batches in ISO 8601 format.\").optional(),\n}).describe(\"Request model for listing batches with optional filters and pagination.\");\nconst ScaleAiListBatches_BatchItemSchema = z.object({\n name: z.string().describe(\"Unique batch identifier.\").nullable(),\n status: z.string().describe(\"Current batch status.\").nullable(),\n project: z.string().describe(\"Project name associated with the batch.\").nullable(),\n callback: z.string().describe(\"Callback URL or email address for task completion notifications.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with batch.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation.\").nullable(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when batch completed (null if not completed).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single batch object.\");\nexport const ScaleAiListBatchesOutput = z.object({\n batches: z.array(ScaleAiListBatches_BatchItemSchema).describe(\"List of batch objects in descending order by created_at timestamp.\"),\n}).passthrough().describe(\"Response model for listing batches.\");\n\nexport const scaleAiListBatches = action(\"SCALE_AI_LIST_BATCHES\", {\n slug: \"scale_ai-list-batches\",\n name: \"List Batches\",\n description: \"Tool to retrieve all batches in descending order by creation date. Use when you need to list batches with optional filtering by project, status, or time range. Supports pagination via limit and offset parameters.\",\n input: ScaleAiListBatchesInput,\n output: ScaleAiListBatchesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-batches.mjs","names":[],"sources":["../../src/actions/list-batches.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 ScaleAiListBatchesInput = z.object({\n limit: z.number().int().describe(\"Page size determining number of results per request.\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination.\").optional(),\n status: z.enum([\"staging\", \"in_progress\", \"completed\"]).describe(\"Filters by batch status. Valid values: 'staging', 'in_progress', or 'completed'.\").optional(),\n project: z.string().describe(\"Filters batches by project name.\").optional(),\n detailed: z.boolean().describe(\"Returns additional progress information about batches when set to true.\").optional(),\n end_time: z.string().describe(\"Maximum value of created_at for returned batches in ISO 8601 format.\").optional(),\n start_time: z.string().describe(\"Minimum value of created_at for returned batches in ISO 8601 format.\").optional(),\n}).describe(\"Request model for listing batches with optional filters and pagination.\");\nconst ScaleAiListBatches_BatchItemSchema = z.object({\n name: z.string().describe(\"Unique batch identifier.\").nullable(),\n status: z.string().describe(\"Current batch status.\").nullable(),\n project: z.string().describe(\"Project name associated with the batch.\").nullable(),\n callback: z.string().describe(\"Callback URL or email address for task completion notifications.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with batch.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation.\").nullable(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when batch completed (null if not completed).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single batch object.\");\nexport const ScaleAiListBatchesOutput = z.object({\n batches: z.array(ScaleAiListBatches_BatchItemSchema).describe(\"List of batch objects in descending order by created_at timestamp.\"),\n}).passthrough().describe(\"Response model for listing batches.\");\n\nexport const scaleAiListBatches: AppAction<\n typeof ScaleAiListBatchesInput,\n typeof ScaleAiListBatchesOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_LIST_BATCHES\", {\n slug: \"scale_ai-list-batches\",\n name: \"List Batches\",\n description: \"Tool to retrieve all batches in descending order by creation date. Use when you need to list batches with optional filtering by project, status, or time range. Supports pagination via limit and offset parameters.\",\n input: ScaleAiListBatchesInput,\n output: ScaleAiListBatchesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,KAAK;EAAC;EAAW;EAAe;CAAW,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC9J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO,EAC/C,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,oEAAoE,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiListProjectsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of projects to return per page.\").optional(),\n offset: z.number().int().describe(\"Number of projects to skip for pagination.\").optional(),\n archived: z.boolean().describe(\"Filter to display only archived or unarchived projects. If not provided, all projects are returned.\").optional(),\n}).describe(\"Request model for listing projects with optional archived filtering and pagination.\");\nconst ScaleAiListProjects_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number identifier for this parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when this parameter version was created.\").nullable(),\n instruction: z.string().describe(\"Task instructions for this parameter version.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single parameter history version entry.\");\nconst ScaleAiListProjects_ProjectItemSchema = z.object({\n name: z.string().describe(\"Unique project identifier name.\").nullable(),\n type: z.string().describe(\"Task type classification (e.g., 'imageannotation', 'textcollection').\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the project was created.\").nullable(),\n param_history: z.array(ScaleAiListProjects_ParamHistoryItemSchema).describe(\"Historical record of project parameter versions.\"),\n}).passthrough().describe(\"Schema for a single project object.\");\nexport const ScaleAiListProjectsOutput = z.object({\n limit: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of projects matching the query.\").nullable().optional(),\n offset: z.number().int().describe(\"Number of results skipped.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available.\").nullable().optional(),\n projects: z.array(ScaleAiListProjects_ProjectItemSchema).describe(\"List of projects in the Scale AI account.\"),\n}).passthrough().describe(\"Response model for listing projects. Returns an array of project objects.\");\n\nexport const scaleAiListProjects = action(\"SCALE_AI_LIST_PROJECTS\", {\n slug: \"scale_ai-list-projects\",\n name: \"List Projects\",\n description: \"Tool to retrieve information for all projects in the Scale AI account with optional archived filtering. Use when you need to browse or manage project metadata. Returns project details including type, name, parameter history, and creation timestamps.\",\n input: ScaleAiListProjectsInput,\n output: ScaleAiListProjectsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiListProjectsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of projects to return per page.\").optional(),\n offset: z.number().int().describe(\"Number of projects to skip for pagination.\").optional(),\n archived: z.boolean().describe(\"Filter to display only archived or unarchived projects. If not provided, all projects are returned.\").optional(),\n}).describe(\"Request model for listing projects with optional archived filtering and pagination.\");\nconst ScaleAiListProjects_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number identifier for this parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when this parameter version was created.\").nullable(),\n instruction: z.string().describe(\"Task instructions for this parameter version.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single parameter history version entry.\");\nconst ScaleAiListProjects_ProjectItemSchema = z.object({\n name: z.string().describe(\"Unique project identifier name.\").nullable(),\n type: z.string().describe(\"Task type classification (e.g., 'imageannotation', 'textcollection').\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the project was created.\").nullable(),\n param_history: z.array(ScaleAiListProjects_ParamHistoryItemSchema).describe(\"Historical record of project parameter versions.\"),\n}).passthrough().describe(\"Schema for a single project object.\");\nexport const ScaleAiListProjectsOutput = z.object({\n limit: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of projects matching the query.\").nullable().optional(),\n offset: z.number().int().describe(\"Number of results skipped.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available.\").nullable().optional(),\n projects: z.array(ScaleAiListProjects_ProjectItemSchema).describe(\"List of projects in the Scale AI account.\"),\n}).passthrough().describe(\"Response model for listing projects. Returns an array of project objects.\");\n\nexport const scaleAiListProjects: AppAction<\n typeof ScaleAiListProjectsInput,\n typeof ScaleAiListProjectsOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_LIST_PROJECTS\", {\n slug: \"scale_ai-list-projects\",\n name: \"List Projects\",\n description: \"Tool to retrieve information for all projects in the Scale AI account with optional archived filtering. Use when you need to browse or manage project metadata. Returns project details including type, name, parameter history, and creation timestamps.\",\n input: ScaleAiListProjectsInput,\n output: ScaleAiListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,eAAeA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,kDAAkD;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2CAA2C;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAErG,MAAa,sBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-projects.d.ts
|
|
@@ -22,11 +24,7 @@ declare const ScaleAiListProjectsOutput: z.ZodObject<{
|
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const scaleAiListProjects:
|
|
26
|
-
limit?: number | undefined;
|
|
27
|
-
offset?: number | undefined;
|
|
28
|
-
archived?: boolean | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const scaleAiListProjects: AppAction<typeof ScaleAiListProjectsInput, typeof ScaleAiListProjectsOutput, typeof scaleAi.credential>;
|
|
30
28
|
//#endregion
|
|
31
29
|
export { scaleAiListProjects };
|
|
32
30
|
//# sourceMappingURL=list-projects.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAgBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-projects.d.ts
|
|
@@ -22,11 +24,7 @@ declare const ScaleAiListProjectsOutput: z.ZodObject<{
|
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const scaleAiListProjects:
|
|
26
|
-
limit?: number | undefined;
|
|
27
|
-
offset?: number | undefined;
|
|
28
|
-
archived?: boolean | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const scaleAiListProjects: AppAction<typeof ScaleAiListProjectsInput, typeof ScaleAiListProjectsOutput, typeof scaleAi.credential>;
|
|
30
28
|
//#endregion
|
|
31
29
|
export { scaleAiListProjects };
|
|
32
30
|
//# sourceMappingURL=list-projects.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAgBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiListProjectsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of projects to return per page.\").optional(),\n offset: z.number().int().describe(\"Number of projects to skip for pagination.\").optional(),\n archived: z.boolean().describe(\"Filter to display only archived or unarchived projects. If not provided, all projects are returned.\").optional(),\n}).describe(\"Request model for listing projects with optional archived filtering and pagination.\");\nconst ScaleAiListProjects_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number identifier for this parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when this parameter version was created.\").nullable(),\n instruction: z.string().describe(\"Task instructions for this parameter version.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single parameter history version entry.\");\nconst ScaleAiListProjects_ProjectItemSchema = z.object({\n name: z.string().describe(\"Unique project identifier name.\").nullable(),\n type: z.string().describe(\"Task type classification (e.g., 'imageannotation', 'textcollection').\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the project was created.\").nullable(),\n param_history: z.array(ScaleAiListProjects_ParamHistoryItemSchema).describe(\"Historical record of project parameter versions.\"),\n}).passthrough().describe(\"Schema for a single project object.\");\nexport const ScaleAiListProjectsOutput = z.object({\n limit: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of projects matching the query.\").nullable().optional(),\n offset: z.number().int().describe(\"Number of results skipped.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available.\").nullable().optional(),\n projects: z.array(ScaleAiListProjects_ProjectItemSchema).describe(\"List of projects in the Scale AI account.\"),\n}).passthrough().describe(\"Response model for listing projects. Returns an array of project objects.\");\n\nexport const scaleAiListProjects = action(\"SCALE_AI_LIST_PROJECTS\", {\n slug: \"scale_ai-list-projects\",\n name: \"List Projects\",\n description: \"Tool to retrieve information for all projects in the Scale AI account with optional archived filtering. Use when you need to browse or manage project metadata. Returns project details including type, name, parameter history, and creation timestamps.\",\n input: ScaleAiListProjectsInput,\n output: ScaleAiListProjectsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiListProjectsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of projects to return per page.\").optional(),\n offset: z.number().int().describe(\"Number of projects to skip for pagination.\").optional(),\n archived: z.boolean().describe(\"Filter to display only archived or unarchived projects. If not provided, all projects are returned.\").optional(),\n}).describe(\"Request model for listing projects with optional archived filtering and pagination.\");\nconst ScaleAiListProjects_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number identifier for this parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when this parameter version was created.\").nullable(),\n instruction: z.string().describe(\"Task instructions for this parameter version.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single parameter history version entry.\");\nconst ScaleAiListProjects_ProjectItemSchema = z.object({\n name: z.string().describe(\"Unique project identifier name.\").nullable(),\n type: z.string().describe(\"Task type classification (e.g., 'imageannotation', 'textcollection').\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the project was created.\").nullable(),\n param_history: z.array(ScaleAiListProjects_ParamHistoryItemSchema).describe(\"Historical record of project parameter versions.\"),\n}).passthrough().describe(\"Schema for a single project object.\");\nexport const ScaleAiListProjectsOutput = z.object({\n limit: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of projects matching the query.\").nullable().optional(),\n offset: z.number().int().describe(\"Number of results skipped.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available.\").nullable().optional(),\n projects: z.array(ScaleAiListProjects_ProjectItemSchema).describe(\"List of projects in the Scale AI account.\"),\n}).passthrough().describe(\"Response model for listing projects. Returns an array of project objects.\");\n\nexport const scaleAiListProjects: AppAction<\n typeof ScaleAiListProjectsInput,\n typeof ScaleAiListProjectsOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_LIST_PROJECTS\", {\n slug: \"scale_ai-list-projects\",\n name: \"List Projects\",\n description: \"Tool to retrieve information for all projects in the Scale AI account with optional archived filtering. Use when you need to browse or manage project metadata. Returns project details including type, name, parameter history, and creation timestamps.\",\n input: ScaleAiListProjectsInput,\n output: ScaleAiListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,6CAA6C,EAAE,OAAO;CAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,eAAe,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,kDAAkD;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAS/D,MAAa,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2CAA2C;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-tasks.cjs","names":["z","action"],"sources":["../../src/actions/list-tasks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiListTasksInput = z.object({\n tags: z.array(z.string()).describe(\"Filter by task tags. Only tasks with these tags will be returned.\").optional(),\n type: z.string().describe(\"Filter by task type (e.g., 'imageannotation', 'textcollection').\").optional(),\n batch: z.string().describe(\"Filter by batch name. Only tasks belonging to this batch will be returned.\").optional(),\n limit: z.string().describe(\"Results per page (1-100, default: 100). Controls how many tasks are returned in a single request.\").optional(),\n status: z.array(z.string()).describe(\"Filter by task status. Can include multiple values from: 'completed', 'pending', 'canceled'.\").optional(),\n project: z.string().describe(\"Filter by project name. Only tasks belonging to this project will be returned.\").optional(),\n end_time: z.string().describe(\"Maximum created_at timestamp in ISO 8601 format (e.g., '2024-12-31T23:59:59Z'). Only tasks created on or before this time will be returned.\").optional(),\n unique_id: z.array(z.string()).describe(\"Filter by task unique identifiers. Can include multiple unique IDs to retrieve specific tasks.\").optional(),\n next_token: z.string().describe(\"Pagination token for retrieving subsequent pages. Use the next_token value from a previous response to get the next page of results.\").optional(),\n start_time: z.string().describe(\"Minimum created_at timestamp in ISO 8601 format (e.g., '2024-01-01T00:00:00Z'). Only tasks created on or after this time will be returned.\").optional(),\n updated_after: z.string().describe(\"Minimum updated_at timestamp in ISO 8601 format. Only tasks updated on or after this time will be returned.\").optional(),\n updated_before: z.string().describe(\"Maximum updated_at timestamp in ISO 8601 format. Only tasks updated on or before this time will be returned.\").optional(),\n completed_after: z.string().describe(\"Minimum completed_at timestamp in ISO 8601 format. Only tasks completed on or after this time will be returned.\").optional(),\n completed_before: z.string().describe(\"Maximum completed_at timestamp in ISO 8601 format. Only tasks completed on or before this time will be returned.\").optional(),\n customer_review_status: z.array(z.string()).describe(\"Filter by audit result status. Can include multiple values from: 'accepted', 'fixed', 'commented', 'rejected'.\").optional(),\n include_attachment_url: z.boolean().describe(\"Include presigned attachment URLs in the response. Set to true if you need to access task attachments directly.\").optional(),\n}).describe(\"Request model for listing tasks with filtering and pagination options.\");\nconst ScaleAiListTasks_TaskObjectSchema = z.object({\n tags: z.array(z.string()).describe(\"Array of string tags.\").nullable().optional(),\n type: z.string().describe(\"Task type.\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task parameters.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Task metadata.\").nullable().optional(),\n unique_id: z.string().describe(\"User-provided unique identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when task was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when task was last updated.\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions.\").nullable().optional(),\n callback_url: z.string().describe(\"URL for task callbacks.\").nullable().optional(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when task was completed.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single task object.\");\nexport const ScaleAiListTasksOutput = z.object({\n docs: z.array(ScaleAiListTasks_TaskObjectSchema).describe(\"Array of task objects.\"),\n limit: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of tasks matching the query.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available.\").nullable().optional(),\n next_token: z.string().describe(\"Token for retrieving the next page of results.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing tasks.\");\n\nexport const scaleAiListTasks = action(\"SCALE_AI_LIST_TASKS\", {\n slug: \"scale_ai-list-tasks\",\n name: \"List Tasks\",\n description: \"Tool to retrieve a paginated list of tasks in descending order by creation time. Use when you need to browse tasks with optional filtering by status, type, project, batch, tags, timestamps, or unique identifiers. Supports pagination via limit and next_token.\",\n input: ScaleAiListTasksInput,\n output: ScaleAiListTasksOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-tasks.cjs","names":["z","action"],"sources":["../../src/actions/list-tasks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiListTasksInput = z.object({\n tags: z.array(z.string()).describe(\"Filter by task tags. Only tasks with these tags will be returned.\").optional(),\n type: z.string().describe(\"Filter by task type (e.g., 'imageannotation', 'textcollection').\").optional(),\n batch: z.string().describe(\"Filter by batch name. Only tasks belonging to this batch will be returned.\").optional(),\n limit: z.string().describe(\"Results per page (1-100, default: 100). Controls how many tasks are returned in a single request.\").optional(),\n status: z.array(z.string()).describe(\"Filter by task status. Can include multiple values from: 'completed', 'pending', 'canceled'.\").optional(),\n project: z.string().describe(\"Filter by project name. Only tasks belonging to this project will be returned.\").optional(),\n end_time: z.string().describe(\"Maximum created_at timestamp in ISO 8601 format (e.g., '2024-12-31T23:59:59Z'). Only tasks created on or before this time will be returned.\").optional(),\n unique_id: z.array(z.string()).describe(\"Filter by task unique identifiers. Can include multiple unique IDs to retrieve specific tasks.\").optional(),\n next_token: z.string().describe(\"Pagination token for retrieving subsequent pages. Use the next_token value from a previous response to get the next page of results.\").optional(),\n start_time: z.string().describe(\"Minimum created_at timestamp in ISO 8601 format (e.g., '2024-01-01T00:00:00Z'). Only tasks created on or after this time will be returned.\").optional(),\n updated_after: z.string().describe(\"Minimum updated_at timestamp in ISO 8601 format. Only tasks updated on or after this time will be returned.\").optional(),\n updated_before: z.string().describe(\"Maximum updated_at timestamp in ISO 8601 format. Only tasks updated on or before this time will be returned.\").optional(),\n completed_after: z.string().describe(\"Minimum completed_at timestamp in ISO 8601 format. Only tasks completed on or after this time will be returned.\").optional(),\n completed_before: z.string().describe(\"Maximum completed_at timestamp in ISO 8601 format. Only tasks completed on or before this time will be returned.\").optional(),\n customer_review_status: z.array(z.string()).describe(\"Filter by audit result status. Can include multiple values from: 'accepted', 'fixed', 'commented', 'rejected'.\").optional(),\n include_attachment_url: z.boolean().describe(\"Include presigned attachment URLs in the response. Set to true if you need to access task attachments directly.\").optional(),\n}).describe(\"Request model for listing tasks with filtering and pagination options.\");\nconst ScaleAiListTasks_TaskObjectSchema = z.object({\n tags: z.array(z.string()).describe(\"Array of string tags.\").nullable().optional(),\n type: z.string().describe(\"Task type.\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task parameters.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Task metadata.\").nullable().optional(),\n unique_id: z.string().describe(\"User-provided unique identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when task was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when task was last updated.\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions.\").nullable().optional(),\n callback_url: z.string().describe(\"URL for task callbacks.\").nullable().optional(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when task was completed.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single task object.\");\nexport const ScaleAiListTasksOutput = z.object({\n docs: z.array(ScaleAiListTasks_TaskObjectSchema).describe(\"Array of task objects.\"),\n limit: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of tasks matching the query.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available.\").nullable().optional(),\n next_token: z.string().describe(\"Token for retrieving the next page of results.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing tasks.\");\n\nexport const scaleAiListTasks: AppAction<\n typeof ScaleAiListTasksInput,\n typeof ScaleAiListTasksOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_LIST_TASKS\", {\n slug: \"scale_ai-list-tasks\",\n name: \"List Tasks\",\n description: \"Tool to retrieve a paginated list of tasks in descending order by creation time. Use when you need to browse tasks with optional filtering by status, type, project, batch, tags, timestamps, or unique identifiers. Supports pagination via limit and next_token.\",\n input: ScaleAiListTasksInput,\n output: ScaleAiListTasksOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-tasks.d.ts
|
|
@@ -39,24 +41,7 @@ declare const ScaleAiListTasksOutput: z.ZodObject<{
|
|
|
39
41
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
40
42
|
next_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const scaleAiListTasks:
|
|
43
|
-
tags?: string[] | undefined;
|
|
44
|
-
type?: string | undefined;
|
|
45
|
-
batch?: string | undefined;
|
|
46
|
-
limit?: string | undefined;
|
|
47
|
-
status?: string[] | undefined;
|
|
48
|
-
project?: string | undefined;
|
|
49
|
-
end_time?: string | undefined;
|
|
50
|
-
unique_id?: string[] | undefined;
|
|
51
|
-
next_token?: string | undefined;
|
|
52
|
-
start_time?: string | undefined;
|
|
53
|
-
updated_after?: string | undefined;
|
|
54
|
-
updated_before?: string | undefined;
|
|
55
|
-
completed_after?: string | undefined;
|
|
56
|
-
completed_before?: string | undefined;
|
|
57
|
-
customer_review_status?: string[] | undefined;
|
|
58
|
-
include_attachment_url?: boolean | undefined;
|
|
59
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
44
|
+
declare const scaleAiListTasks: AppAction<typeof ScaleAiListTasksInput, typeof ScaleAiListTasksOutput, typeof scaleAi.credential>;
|
|
60
45
|
//#endregion
|
|
61
46
|
export { scaleAiListTasks };
|
|
62
47
|
//# sourceMappingURL=list-tasks.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-tasks.d.cts","names":[],"sources":["../../src/actions/list-tasks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-tasks.d.cts","names":[],"sources":["../../src/actions/list-tasks.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAgCrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAQtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-tasks.d.ts
|
|
@@ -39,24 +41,7 @@ declare const ScaleAiListTasksOutput: z.ZodObject<{
|
|
|
39
41
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
40
42
|
next_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const scaleAiListTasks:
|
|
43
|
-
tags?: string[] | undefined;
|
|
44
|
-
type?: string | undefined;
|
|
45
|
-
batch?: string | undefined;
|
|
46
|
-
limit?: string | undefined;
|
|
47
|
-
status?: string[] | undefined;
|
|
48
|
-
project?: string | undefined;
|
|
49
|
-
end_time?: string | undefined;
|
|
50
|
-
unique_id?: string[] | undefined;
|
|
51
|
-
next_token?: string | undefined;
|
|
52
|
-
start_time?: string | undefined;
|
|
53
|
-
updated_after?: string | undefined;
|
|
54
|
-
updated_before?: string | undefined;
|
|
55
|
-
completed_after?: string | undefined;
|
|
56
|
-
completed_before?: string | undefined;
|
|
57
|
-
customer_review_status?: string[] | undefined;
|
|
58
|
-
include_attachment_url?: boolean | undefined;
|
|
59
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
44
|
+
declare const scaleAiListTasks: AppAction<typeof ScaleAiListTasksInput, typeof ScaleAiListTasksOutput, typeof scaleAi.credential>;
|
|
60
45
|
//#endregion
|
|
61
46
|
export { scaleAiListTasks };
|
|
62
47
|
//# sourceMappingURL=list-tasks.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-tasks.d.mts","names":[],"sources":["../../src/actions/list-tasks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-tasks.d.mts","names":[],"sources":["../../src/actions/list-tasks.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAgCrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAQtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-tasks.mjs","names":[],"sources":["../../src/actions/list-tasks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiListTasksInput = z.object({\n tags: z.array(z.string()).describe(\"Filter by task tags. Only tasks with these tags will be returned.\").optional(),\n type: z.string().describe(\"Filter by task type (e.g., 'imageannotation', 'textcollection').\").optional(),\n batch: z.string().describe(\"Filter by batch name. Only tasks belonging to this batch will be returned.\").optional(),\n limit: z.string().describe(\"Results per page (1-100, default: 100). Controls how many tasks are returned in a single request.\").optional(),\n status: z.array(z.string()).describe(\"Filter by task status. Can include multiple values from: 'completed', 'pending', 'canceled'.\").optional(),\n project: z.string().describe(\"Filter by project name. Only tasks belonging to this project will be returned.\").optional(),\n end_time: z.string().describe(\"Maximum created_at timestamp in ISO 8601 format (e.g., '2024-12-31T23:59:59Z'). Only tasks created on or before this time will be returned.\").optional(),\n unique_id: z.array(z.string()).describe(\"Filter by task unique identifiers. Can include multiple unique IDs to retrieve specific tasks.\").optional(),\n next_token: z.string().describe(\"Pagination token for retrieving subsequent pages. Use the next_token value from a previous response to get the next page of results.\").optional(),\n start_time: z.string().describe(\"Minimum created_at timestamp in ISO 8601 format (e.g., '2024-01-01T00:00:00Z'). Only tasks created on or after this time will be returned.\").optional(),\n updated_after: z.string().describe(\"Minimum updated_at timestamp in ISO 8601 format. Only tasks updated on or after this time will be returned.\").optional(),\n updated_before: z.string().describe(\"Maximum updated_at timestamp in ISO 8601 format. Only tasks updated on or before this time will be returned.\").optional(),\n completed_after: z.string().describe(\"Minimum completed_at timestamp in ISO 8601 format. Only tasks completed on or after this time will be returned.\").optional(),\n completed_before: z.string().describe(\"Maximum completed_at timestamp in ISO 8601 format. Only tasks completed on or before this time will be returned.\").optional(),\n customer_review_status: z.array(z.string()).describe(\"Filter by audit result status. Can include multiple values from: 'accepted', 'fixed', 'commented', 'rejected'.\").optional(),\n include_attachment_url: z.boolean().describe(\"Include presigned attachment URLs in the response. Set to true if you need to access task attachments directly.\").optional(),\n}).describe(\"Request model for listing tasks with filtering and pagination options.\");\nconst ScaleAiListTasks_TaskObjectSchema = z.object({\n tags: z.array(z.string()).describe(\"Array of string tags.\").nullable().optional(),\n type: z.string().describe(\"Task type.\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task parameters.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Task metadata.\").nullable().optional(),\n unique_id: z.string().describe(\"User-provided unique identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when task was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when task was last updated.\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions.\").nullable().optional(),\n callback_url: z.string().describe(\"URL for task callbacks.\").nullable().optional(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when task was completed.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single task object.\");\nexport const ScaleAiListTasksOutput = z.object({\n docs: z.array(ScaleAiListTasks_TaskObjectSchema).describe(\"Array of task objects.\"),\n limit: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of tasks matching the query.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available.\").nullable().optional(),\n next_token: z.string().describe(\"Token for retrieving the next page of results.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing tasks.\");\n\nexport const scaleAiListTasks = action(\"SCALE_AI_LIST_TASKS\", {\n slug: \"scale_ai-list-tasks\",\n name: \"List Tasks\",\n description: \"Tool to retrieve a paginated list of tasks in descending order by creation time. Use when you need to browse tasks with optional filtering by status, type, project, batch, tags, timestamps, or unique identifiers. Supports pagination via limit and next_token.\",\n input: ScaleAiListTasksInput,\n output: ScaleAiListTasksOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-tasks.mjs","names":[],"sources":["../../src/actions/list-tasks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiListTasksInput = z.object({\n tags: z.array(z.string()).describe(\"Filter by task tags. Only tasks with these tags will be returned.\").optional(),\n type: z.string().describe(\"Filter by task type (e.g., 'imageannotation', 'textcollection').\").optional(),\n batch: z.string().describe(\"Filter by batch name. Only tasks belonging to this batch will be returned.\").optional(),\n limit: z.string().describe(\"Results per page (1-100, default: 100). Controls how many tasks are returned in a single request.\").optional(),\n status: z.array(z.string()).describe(\"Filter by task status. Can include multiple values from: 'completed', 'pending', 'canceled'.\").optional(),\n project: z.string().describe(\"Filter by project name. Only tasks belonging to this project will be returned.\").optional(),\n end_time: z.string().describe(\"Maximum created_at timestamp in ISO 8601 format (e.g., '2024-12-31T23:59:59Z'). Only tasks created on or before this time will be returned.\").optional(),\n unique_id: z.array(z.string()).describe(\"Filter by task unique identifiers. Can include multiple unique IDs to retrieve specific tasks.\").optional(),\n next_token: z.string().describe(\"Pagination token for retrieving subsequent pages. Use the next_token value from a previous response to get the next page of results.\").optional(),\n start_time: z.string().describe(\"Minimum created_at timestamp in ISO 8601 format (e.g., '2024-01-01T00:00:00Z'). Only tasks created on or after this time will be returned.\").optional(),\n updated_after: z.string().describe(\"Minimum updated_at timestamp in ISO 8601 format. Only tasks updated on or after this time will be returned.\").optional(),\n updated_before: z.string().describe(\"Maximum updated_at timestamp in ISO 8601 format. Only tasks updated on or before this time will be returned.\").optional(),\n completed_after: z.string().describe(\"Minimum completed_at timestamp in ISO 8601 format. Only tasks completed on or after this time will be returned.\").optional(),\n completed_before: z.string().describe(\"Maximum completed_at timestamp in ISO 8601 format. Only tasks completed on or before this time will be returned.\").optional(),\n customer_review_status: z.array(z.string()).describe(\"Filter by audit result status. Can include multiple values from: 'accepted', 'fixed', 'commented', 'rejected'.\").optional(),\n include_attachment_url: z.boolean().describe(\"Include presigned attachment URLs in the response. Set to true if you need to access task attachments directly.\").optional(),\n}).describe(\"Request model for listing tasks with filtering and pagination options.\");\nconst ScaleAiListTasks_TaskObjectSchema = z.object({\n tags: z.array(z.string()).describe(\"Array of string tags.\").nullable().optional(),\n type: z.string().describe(\"Task type.\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task parameters.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Task metadata.\").nullable().optional(),\n unique_id: z.string().describe(\"User-provided unique identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when task was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when task was last updated.\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions.\").nullable().optional(),\n callback_url: z.string().describe(\"URL for task callbacks.\").nullable().optional(),\n completed_at: z.string().describe(\"ISO 8601 timestamp when task was completed.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single task object.\");\nexport const ScaleAiListTasksOutput = z.object({\n docs: z.array(ScaleAiListTasks_TaskObjectSchema).describe(\"Array of task objects.\"),\n limit: z.number().int().describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of tasks matching the query.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether more results are available.\").nullable().optional(),\n next_token: z.string().describe(\"Token for retrieving the next page of results.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing tasks.\");\n\nexport const scaleAiListTasks: AppAction<\n typeof ScaleAiListTasksInput,\n typeof ScaleAiListTasksOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_LIST_TASKS\", {\n slug: \"scale_ai-list-tasks\",\n name: \"List Tasks\",\n description: \"Tool to retrieve a paginated list of tasks in descending order by creation time. Use when you need to browse tasks with optional filtering by status, type, project, batch, tags, timestamps, or unique identifiers. Supports pagination via limit and next_token.\",\n input: ScaleAiListTasksInput,\n output: ScaleAiListTasksOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-v1-task-send-callback.cjs","names":["z","action"],"sources":["../../src/actions/post-v1-task-send-callback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiPostV1TaskSendCallbackInput = z.object({\n task_id: z.string().describe(\"The unique identifier for the task whose callback should be resent\"),\n}).describe(\"Request model for re-sending a callback for a completed or errored task.\");\nexport const ScaleAiPostV1TaskSendCallbackOutput = z.object({\n task: z.record(z.string(), z.unknown()).describe(\"Full task object for reference\").nullable().optional(),\n status: z.string().describe(\"Task status (typically 'completed' or 'error')\").nullable().optional(),\n message: z.string().describe(\"Success message from the API (e.g., 'OK')\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"The task's result data\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the callback payload that was sent to the callback_url.\");\n\nexport const scaleAiPostV1TaskSendCallback = action(\"SCALE_AI_POST_V1_TASK_SEND_CALLBACK\", {\n slug: \"scale_ai-post-v1-task-send-callback\",\n name: \"Re-send Task Callback\",\n description: \"Tool to re-send a callback for a completed or errored task to the callback_url. Use when you need to manually trigger a callback resend for a task that has already been processed.\",\n input: ScaleAiPostV1TaskSendCallbackInput,\n output: ScaleAiPostV1TaskSendCallbackOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-v1-task-send-callback.cjs","names":["z","action"],"sources":["../../src/actions/post-v1-task-send-callback.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiPostV1TaskSendCallbackInput = z.object({\n task_id: z.string().describe(\"The unique identifier for the task whose callback should be resent\"),\n}).describe(\"Request model for re-sending a callback for a completed or errored task.\");\nexport const ScaleAiPostV1TaskSendCallbackOutput = z.object({\n task: z.record(z.string(), z.unknown()).describe(\"Full task object for reference\").nullable().optional(),\n status: z.string().describe(\"Task status (typically 'completed' or 'error')\").nullable().optional(),\n message: z.string().describe(\"Success message from the API (e.g., 'OK')\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"The task's result data\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the callback payload that was sent to the callback_url.\");\n\nexport const scaleAiPostV1TaskSendCallback: AppAction<\n typeof ScaleAiPostV1TaskSendCallbackInput,\n typeof ScaleAiPostV1TaskSendCallbackOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_POST_V1_TASK_SEND_CALLBACK\", {\n slug: \"scale_ai-post-v1-task-send-callback\",\n name: \"Re-send Task Callback\",\n description: \"Tool to re-send a callback for a completed or errored task to the callback_url. Use when you need to manually trigger a callback resend for a task that has already been processed.\",\n input: ScaleAiPostV1TaskSendCallbackInput,\n output: ScaleAiPostV1TaskSendCallbackOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACnG,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAAmF;AAE7G,MAAa,gCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-v1-task-send-callback.d.ts
|
|
@@ -11,9 +13,7 @@ declare const ScaleAiPostV1TaskSendCallbackOutput: z.ZodObject<{
|
|
|
11
13
|
task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const scaleAiPostV1TaskSendCallback:
|
|
15
|
-
task_id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const scaleAiPostV1TaskSendCallback: AppAction<typeof ScaleAiPostV1TaskSendCallbackInput, typeof ScaleAiPostV1TaskSendCallbackOutput, typeof scaleAi.credential>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { scaleAiPostV1TaskSendCallback };
|
|
19
19
|
//# sourceMappingURL=post-v1-task-send-callback.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-v1-task-send-callback.d.cts","names":[],"sources":["../../src/actions/post-v1-task-send-callback.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-v1-task-send-callback.d.cts","names":[],"sources":["../../src/actions/post-v1-task-send-callback.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAQnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/post-v1-task-send-callback.d.ts
|
|
@@ -11,9 +13,7 @@ declare const ScaleAiPostV1TaskSendCallbackOutput: z.ZodObject<{
|
|
|
11
13
|
task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const scaleAiPostV1TaskSendCallback:
|
|
15
|
-
task_id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const scaleAiPostV1TaskSendCallback: AppAction<typeof ScaleAiPostV1TaskSendCallbackInput, typeof ScaleAiPostV1TaskSendCallbackOutput, typeof scaleAi.credential>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { scaleAiPostV1TaskSendCallback };
|
|
19
19
|
//# sourceMappingURL=post-v1-task-send-callback.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-v1-task-send-callback.d.mts","names":[],"sources":["../../src/actions/post-v1-task-send-callback.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-v1-task-send-callback.d.mts","names":[],"sources":["../../src/actions/post-v1-task-send-callback.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAQnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-v1-task-send-callback.mjs","names":[],"sources":["../../src/actions/post-v1-task-send-callback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiPostV1TaskSendCallbackInput = z.object({\n task_id: z.string().describe(\"The unique identifier for the task whose callback should be resent\"),\n}).describe(\"Request model for re-sending a callback for a completed or errored task.\");\nexport const ScaleAiPostV1TaskSendCallbackOutput = z.object({\n task: z.record(z.string(), z.unknown()).describe(\"Full task object for reference\").nullable().optional(),\n status: z.string().describe(\"Task status (typically 'completed' or 'error')\").nullable().optional(),\n message: z.string().describe(\"Success message from the API (e.g., 'OK')\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"The task's result data\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the callback payload that was sent to the callback_url.\");\n\nexport const scaleAiPostV1TaskSendCallback = action(\"SCALE_AI_POST_V1_TASK_SEND_CALLBACK\", {\n slug: \"scale_ai-post-v1-task-send-callback\",\n name: \"Re-send Task Callback\",\n description: \"Tool to re-send a callback for a completed or errored task to the callback_url. Use when you need to manually trigger a callback resend for a task that has already been processed.\",\n input: ScaleAiPostV1TaskSendCallbackInput,\n output: ScaleAiPostV1TaskSendCallbackOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-v1-task-send-callback.mjs","names":[],"sources":["../../src/actions/post-v1-task-send-callback.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiPostV1TaskSendCallbackInput = z.object({\n task_id: z.string().describe(\"The unique identifier for the task whose callback should be resent\"),\n}).describe(\"Request model for re-sending a callback for a completed or errored task.\");\nexport const ScaleAiPostV1TaskSendCallbackOutput = z.object({\n task: z.record(z.string(), z.unknown()).describe(\"Full task object for reference\").nullable().optional(),\n status: z.string().describe(\"Task status (typically 'completed' or 'error')\").nullable().optional(),\n message: z.string().describe(\"Success message from the API (e.g., 'OK')\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"The task's result data\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the callback payload that was sent to the callback_url.\");\n\nexport const scaleAiPostV1TaskSendCallback: AppAction<\n typeof ScaleAiPostV1TaskSendCallbackInput,\n typeof ScaleAiPostV1TaskSendCallbackOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_POST_V1_TASK_SEND_CALLBACK\", {\n slug: \"scale_ai-post-v1-task-send-callback\",\n name: \"Re-send Task Callback\",\n description: \"Tool to re-send a callback for a completed or errored task to the callback_url. Use when you need to manually trigger a callback resend for a task that has already been processed.\",\n input: ScaleAiPostV1TaskSendCallbackInput,\n output: ScaleAiPostV1TaskSendCallbackOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,gCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBgD,EAAE,OAAO,EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACnG,CAAC,CAAC,CAAC,SAAS,0EAiBH;CACP,QAjBiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-studio-assignments.cjs","names":["z","action"],"sources":["../../src/actions/remove-studio-assignments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiRemoveStudioAssignmentsInput = z.object({\n emails: z.array(z.string()).describe(\"Array of email addresses of teammates to remove assignments from.\"),\n projects: z.array(z.string()).describe(\"Optional array of project IDs to unassign from the specified team members. If not provided, all projects will be unassigned.\").optional(),\n}).describe(\"Request parameters for removing studio assignments from team members.\");\nconst ScaleAiRemoveStudioAssignments_AssignmentInfoSchema = z.object({\n role: z.string().describe(\"The role of the team member in the project.\").nullable().optional(),\n project_id: z.string().describe(\"The unique identifier of the project.\").nullable().optional(),\n project_name: z.string().describe(\"The name of the project.\").nullable().optional(),\n}).passthrough().describe(\"Information about a project assignment for a team member.\");\nconst ScaleAiRemoveStudioAssignments_TeamMemberSchema = z.object({\n name: z.string().describe(\"The name of the team member.\").nullable().optional(),\n email: z.string().describe(\"The email address of the team member.\").nullable().optional(),\n assignments: z.array(ScaleAiRemoveStudioAssignments_AssignmentInfoSchema).describe(\"List of project assignments for this team member.\").nullable().optional(),\n}).passthrough().describe(\"Information about a team member and their assignments.\");\nexport const ScaleAiRemoveStudioAssignmentsOutput = z.object({\n message: z.string().describe(\"Additional message or status information about the operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the assignment removal was successful.\").nullable().optional(),\n team_members: z.array(ScaleAiRemoveStudioAssignments_TeamMemberSchema).describe(\"List of all team members and their updated assignments after removal.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for removing studio assignments.\");\n\nexport const scaleAiRemoveStudioAssignments = action(\"SCALE_AI_REMOVE_STUDIO_ASSIGNMENTS\", {\n slug: \"scale_ai-remove-studio-assignments\",\n name: \"Remove Studio Assignments\",\n description: \"Tool to unassign projects from specified team members in Scale AI Studio. Use when you need to remove project assignments from one or more team members.\",\n input: ScaleAiRemoveStudioAssignmentsInput,\n output: ScaleAiRemoveStudioAssignmentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-studio-assignments.cjs","names":["z","action"],"sources":["../../src/actions/remove-studio-assignments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiRemoveStudioAssignmentsInput = z.object({\n emails: z.array(z.string()).describe(\"Array of email addresses of teammates to remove assignments from.\"),\n projects: z.array(z.string()).describe(\"Optional array of project IDs to unassign from the specified team members. If not provided, all projects will be unassigned.\").optional(),\n}).describe(\"Request parameters for removing studio assignments from team members.\");\nconst ScaleAiRemoveStudioAssignments_AssignmentInfoSchema = z.object({\n role: z.string().describe(\"The role of the team member in the project.\").nullable().optional(),\n project_id: z.string().describe(\"The unique identifier of the project.\").nullable().optional(),\n project_name: z.string().describe(\"The name of the project.\").nullable().optional(),\n}).passthrough().describe(\"Information about a project assignment for a team member.\");\nconst ScaleAiRemoveStudioAssignments_TeamMemberSchema = z.object({\n name: z.string().describe(\"The name of the team member.\").nullable().optional(),\n email: z.string().describe(\"The email address of the team member.\").nullable().optional(),\n assignments: z.array(ScaleAiRemoveStudioAssignments_AssignmentInfoSchema).describe(\"List of project assignments for this team member.\").nullable().optional(),\n}).passthrough().describe(\"Information about a team member and their assignments.\");\nexport const ScaleAiRemoveStudioAssignmentsOutput = z.object({\n message: z.string().describe(\"Additional message or status information about the operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the assignment removal was successful.\").nullable().optional(),\n team_members: z.array(ScaleAiRemoveStudioAssignments_TeamMemberSchema).describe(\"List of all team members and their updated assignments after removal.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for removing studio assignments.\");\n\nexport const scaleAiRemoveStudioAssignments: AppAction<\n typeof ScaleAiRemoveStudioAssignmentsInput,\n typeof ScaleAiRemoveStudioAssignmentsOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_REMOVE_STUDIO_ASSIGNMENTS\", {\n slug: \"scale_ai-remove-studio-assignments\",\n name: \"Remove Studio Assignments\",\n description: \"Tool to unassign projects from specified team members in Scale AI Studio. Use when you need to remove project assignments from one or more team members.\",\n input: ScaleAiRemoveStudioAssignmentsInput,\n output: ScaleAiRemoveStudioAssignmentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE;CACxG,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;AAClL,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,cAAcA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|