@keystrokehq/scale_ai 0.1.2 → 0.1.3
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/actions/add-studio-assignments.cjs +1 -1
- package/dist/actions/add-studio-assignments.cjs.map +1 -1
- package/dist/actions/add-studio-assignments.d.cts +2 -2
- package/dist/actions/add-studio-assignments.d.mts +2 -2
- package/dist/actions/add-studio-assignments.mjs +1 -1
- package/dist/actions/add-studio-assignments.mjs.map +1 -1
- package/dist/actions/add-task-tags.cjs +1 -1
- package/dist/actions/add-task-tags.cjs.map +1 -1
- package/dist/actions/add-task-tags.d.cts +1 -1
- package/dist/actions/add-task-tags.d.mts +1 -1
- package/dist/actions/add-task-tags.mjs +1 -1
- package/dist/actions/add-task-tags.mjs.map +1 -1
- package/dist/actions/create-batch.cjs +1 -1
- package/dist/actions/create-batch.cjs.map +1 -1
- package/dist/actions/create-batch.d.cts +1 -1
- package/dist/actions/create-batch.d.mts +1 -1
- package/dist/actions/create-batch.mjs +1 -1
- package/dist/actions/create-batch.mjs.map +1 -1
- package/dist/actions/create-document-transcription-task.cjs +16 -16
- package/dist/actions/create-document-transcription-task.cjs.map +1 -1
- package/dist/actions/create-document-transcription-task.d.cts +22 -19
- package/dist/actions/create-document-transcription-task.d.mts +22 -19
- package/dist/actions/create-document-transcription-task.mjs +16 -16
- package/dist/actions/create-document-transcription-task.mjs.map +1 -1
- package/dist/actions/create-image-annotation-task.cjs +22 -22
- package/dist/actions/create-image-annotation-task.cjs.map +1 -1
- package/dist/actions/create-image-annotation-task.d.cts +36 -35
- package/dist/actions/create-image-annotation-task.d.mts +36 -35
- package/dist/actions/create-image-annotation-task.mjs +22 -22
- package/dist/actions/create-image-annotation-task.mjs.map +1 -1
- package/dist/actions/create-lidar-annotation-task.cjs +2 -2
- package/dist/actions/create-lidar-annotation-task.cjs.map +1 -1
- package/dist/actions/create-lidar-annotation-task.d.cts +2 -2
- package/dist/actions/create-lidar-annotation-task.d.mts +2 -2
- package/dist/actions/create-lidar-annotation-task.mjs +2 -2
- package/dist/actions/create-lidar-annotation-task.mjs.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.cjs +6 -6
- package/dist/actions/create-lidar-segmentation-task.cjs.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.d.cts +8 -8
- package/dist/actions/create-lidar-segmentation-task.d.mts +8 -8
- package/dist/actions/create-lidar-segmentation-task.mjs +6 -6
- package/dist/actions/create-lidar-segmentation-task.mjs.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.cjs +5 -5
- package/dist/actions/create-named-entity-recognition-task.cjs.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.d.cts +8 -5
- package/dist/actions/create-named-entity-recognition-task.d.cts.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.d.mts +8 -5
- package/dist/actions/create-named-entity-recognition-task.d.mts.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.mjs +5 -5
- package/dist/actions/create-named-entity-recognition-task.mjs.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.cjs +15 -15
- package/dist/actions/create-segmentation-annotation-task.cjs.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.d.cts +20 -18
- package/dist/actions/create-segmentation-annotation-task.d.mts +20 -18
- package/dist/actions/create-segmentation-annotation-task.mjs +15 -15
- package/dist/actions/create-segmentation-annotation-task.mjs.map +1 -1
- package/dist/actions/create-text-collection-task.cjs +14 -14
- package/dist/actions/create-text-collection-task.cjs.map +1 -1
- package/dist/actions/create-text-collection-task.d.cts +20 -17
- package/dist/actions/create-text-collection-task.d.cts.map +1 -1
- package/dist/actions/create-text-collection-task.d.mts +20 -17
- package/dist/actions/create-text-collection-task.d.mts.map +1 -1
- package/dist/actions/create-text-collection-task.mjs +14 -14
- package/dist/actions/create-text-collection-task.mjs.map +1 -1
- package/dist/actions/create-video-annotation-task.cjs +11 -11
- package/dist/actions/create-video-annotation-task.cjs.map +1 -1
- package/dist/actions/create-video-annotation-task.d.cts +13 -13
- package/dist/actions/create-video-annotation-task.d.mts +13 -13
- package/dist/actions/create-video-annotation-task.mjs +11 -11
- package/dist/actions/create-video-annotation-task.mjs.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.cjs +14 -14
- package/dist/actions/create-video-playback-annotation-task.cjs.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.d.cts +17 -17
- package/dist/actions/create-video-playback-annotation-task.d.mts +17 -17
- package/dist/actions/create-video-playback-annotation-task.mjs +14 -14
- package/dist/actions/create-video-playback-annotation-task.mjs.map +1 -1
- package/dist/actions/delete-task-tags.cjs +1 -1
- package/dist/actions/delete-task-tags.cjs.map +1 -1
- package/dist/actions/delete-task-tags.d.cts +1 -1
- package/dist/actions/delete-task-tags.d.mts +1 -1
- package/dist/actions/delete-task-tags.mjs +1 -1
- package/dist/actions/delete-task-tags.mjs.map +1 -1
- package/dist/actions/delete-task-unique-id.cjs +2 -2
- package/dist/actions/delete-task-unique-id.cjs.map +1 -1
- package/dist/actions/delete-task-unique-id.d.cts +2 -2
- package/dist/actions/delete-task-unique-id.d.mts +2 -2
- package/dist/actions/delete-task-unique-id.mjs +2 -2
- package/dist/actions/delete-task-unique-id.mjs.map +1 -1
- package/dist/actions/finalize-batch.cjs +1 -1
- package/dist/actions/finalize-batch.cjs.map +1 -1
- package/dist/actions/finalize-batch.d.cts +1 -1
- package/dist/actions/finalize-batch.d.mts +1 -1
- package/dist/actions/finalize-batch.mjs +1 -1
- package/dist/actions/finalize-batch.mjs.map +1 -1
- package/dist/actions/get-assets.cjs +2 -2
- package/dist/actions/get-assets.cjs.map +1 -1
- package/dist/actions/get-assets.d.cts +2 -2
- package/dist/actions/get-assets.d.mts +2 -2
- package/dist/actions/get-assets.mjs +2 -2
- package/dist/actions/get-assets.mjs.map +1 -1
- package/dist/actions/get-batch-status.cjs +1 -1
- package/dist/actions/get-batch-status.cjs.map +1 -1
- package/dist/actions/get-batch-status.d.cts +1 -1
- package/dist/actions/get-batch-status.d.mts +1 -1
- package/dist/actions/get-batch-status.mjs +1 -1
- package/dist/actions/get-batch-status.mjs.map +1 -1
- package/dist/actions/get-batch.cjs +2 -2
- package/dist/actions/get-batch.cjs.map +1 -1
- package/dist/actions/get-batch.d.cts +2 -2
- package/dist/actions/get-batch.d.mts +2 -2
- package/dist/actions/get-batch.mjs +2 -2
- package/dist/actions/get-batch.mjs.map +1 -1
- package/dist/actions/get-fixless-audits.cjs +6 -6
- package/dist/actions/get-fixless-audits.cjs.map +1 -1
- package/dist/actions/get-fixless-audits.d.cts +6 -6
- package/dist/actions/get-fixless-audits.d.mts +6 -6
- package/dist/actions/get-fixless-audits.mjs +6 -6
- package/dist/actions/get-fixless-audits.mjs.map +1 -1
- package/dist/actions/get-project.cjs +2 -2
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +2 -2
- package/dist/actions/get-project.d.mts +2 -2
- package/dist/actions/get-project.mjs +2 -2
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-quality-labelers.cjs +3 -3
- package/dist/actions/get-quality-labelers.cjs.map +1 -1
- package/dist/actions/get-quality-labelers.d.cts +3 -3
- package/dist/actions/get-quality-labelers.d.mts +3 -3
- package/dist/actions/get-quality-labelers.mjs +3 -3
- package/dist/actions/get-quality-labelers.mjs.map +1 -1
- package/dist/actions/get-studio-assignments.cjs +2 -2
- package/dist/actions/get-studio-assignments.cjs.map +1 -1
- package/dist/actions/get-studio-assignments.d.cts +2 -2
- package/dist/actions/get-studio-assignments.d.mts +2 -2
- package/dist/actions/get-studio-assignments.mjs +2 -2
- package/dist/actions/get-studio-assignments.mjs.map +1 -1
- package/dist/actions/get-studio-batches.cjs +2 -2
- package/dist/actions/get-studio-batches.cjs.map +1 -1
- package/dist/actions/get-studio-batches.d.cts +2 -2
- package/dist/actions/get-studio-batches.d.mts +2 -2
- package/dist/actions/get-studio-batches.mjs +2 -2
- package/dist/actions/get-studio-batches.mjs.map +1 -1
- package/dist/actions/get-teams.cjs +2 -2
- package/dist/actions/get-teams.cjs.map +1 -1
- package/dist/actions/get-teams.d.cts +2 -2
- package/dist/actions/get-teams.d.mts +2 -2
- package/dist/actions/get-teams.mjs +2 -2
- package/dist/actions/get-teams.mjs.map +1 -1
- package/dist/actions/get-v1-task-response-url.cjs +1 -1
- package/dist/actions/get-v1-task-response-url.cjs.map +1 -1
- package/dist/actions/get-v1-task-response-url.d.cts +1 -1
- package/dist/actions/get-v1-task-response-url.d.mts +1 -1
- package/dist/actions/get-v1-task-response-url.mjs +1 -1
- package/dist/actions/get-v1-task-response-url.mjs.map +1 -1
- package/dist/actions/get-v1-task.cjs +1 -1
- package/dist/actions/get-v1-task.cjs.map +1 -1
- package/dist/actions/get-v1-task.d.cts +1 -1
- package/dist/actions/get-v1-task.d.mts +1 -1
- package/dist/actions/get-v1-task.mjs +1 -1
- package/dist/actions/get-v1-task.mjs.map +1 -1
- package/dist/actions/import-file.cjs +1 -1
- package/dist/actions/import-file.cjs.map +1 -1
- package/dist/actions/import-file.d.cts +1 -1
- package/dist/actions/import-file.d.mts +1 -1
- package/dist/actions/import-file.mjs +1 -1
- package/dist/actions/import-file.mjs.map +1 -1
- package/dist/actions/invite-team-member.cjs +2 -2
- package/dist/actions/invite-team-member.cjs.map +1 -1
- package/dist/actions/invite-team-member.d.cts +2 -2
- package/dist/actions/invite-team-member.d.mts +2 -2
- package/dist/actions/invite-team-member.mjs +2 -2
- package/dist/actions/invite-team-member.mjs.map +1 -1
- package/dist/actions/list-batches.cjs +3 -3
- package/dist/actions/list-batches.cjs.map +1 -1
- package/dist/actions/list-batches.d.cts +3 -3
- package/dist/actions/list-batches.d.mts +3 -3
- package/dist/actions/list-batches.mjs +3 -3
- package/dist/actions/list-batches.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +3 -3
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +3 -3
- package/dist/actions/list-projects.d.mts +3 -3
- package/dist/actions/list-projects.mjs +3 -3
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/list-tasks.cjs +2 -2
- package/dist/actions/list-tasks.cjs.map +1 -1
- package/dist/actions/list-tasks.d.cts +2 -2
- package/dist/actions/list-tasks.d.mts +2 -2
- package/dist/actions/list-tasks.mjs +2 -2
- package/dist/actions/list-tasks.mjs.map +1 -1
- package/dist/actions/post-v1-task-send-callback.cjs +1 -1
- package/dist/actions/post-v1-task-send-callback.cjs.map +1 -1
- package/dist/actions/post-v1-task-send-callback.d.cts +1 -1
- package/dist/actions/post-v1-task-send-callback.d.mts +1 -1
- package/dist/actions/post-v1-task-send-callback.mjs +1 -1
- package/dist/actions/post-v1-task-send-callback.mjs.map +1 -1
- package/dist/actions/remove-studio-assignments.cjs +3 -3
- package/dist/actions/remove-studio-assignments.cjs.map +1 -1
- package/dist/actions/remove-studio-assignments.d.cts +3 -3
- package/dist/actions/remove-studio-assignments.d.mts +3 -3
- package/dist/actions/remove-studio-assignments.mjs +3 -3
- package/dist/actions/remove-studio-assignments.mjs.map +1 -1
- package/dist/actions/reset-batch-priorities.cjs +2 -2
- package/dist/actions/reset-batch-priorities.cjs.map +1 -1
- package/dist/actions/reset-batch-priorities.d.cts +2 -2
- package/dist/actions/reset-batch-priorities.d.mts +2 -2
- package/dist/actions/reset-batch-priorities.mjs +2 -2
- package/dist/actions/reset-batch-priorities.mjs.map +1 -1
- package/dist/actions/set-batch-priorities.cjs +3 -3
- package/dist/actions/set-batch-priorities.cjs.map +1 -1
- package/dist/actions/set-batch-priorities.d.cts +4 -3
- package/dist/actions/set-batch-priorities.d.mts +4 -3
- package/dist/actions/set-batch-priorities.mjs +3 -3
- package/dist/actions/set-batch-priorities.mjs.map +1 -1
- package/dist/actions/set-project-ontology.cjs +3 -3
- package/dist/actions/set-project-ontology.cjs.map +1 -1
- package/dist/actions/set-project-ontology.d.cts +3 -3
- package/dist/actions/set-project-ontology.d.mts +3 -3
- package/dist/actions/set-project-ontology.mjs +3 -3
- package/dist/actions/set-project-ontology.mjs.map +1 -1
- package/dist/actions/set-project-params.cjs +2 -2
- package/dist/actions/set-project-params.cjs.map +1 -1
- package/dist/actions/set-project-params.d.cts +2 -2
- package/dist/actions/set-project-params.d.mts +2 -2
- package/dist/actions/set-project-params.mjs +2 -2
- package/dist/actions/set-project-params.mjs.map +1 -1
- package/dist/actions/set-task-metadata.cjs +1 -1
- package/dist/actions/set-task-metadata.cjs.map +1 -1
- package/dist/actions/set-task-metadata.d.cts +1 -1
- package/dist/actions/set-task-metadata.d.mts +1 -1
- package/dist/actions/set-task-metadata.mjs +1 -1
- package/dist/actions/set-task-metadata.mjs.map +1 -1
- package/dist/actions/update-task-unique-id.cjs +1 -1
- package/dist/actions/update-task-unique-id.cjs.map +1 -1
- package/dist/actions/update-task-unique-id.d.cts +1 -1
- package/dist/actions/update-task-unique-id.d.mts +1 -1
- package/dist/actions/update-task-unique-id.mjs +1 -1
- package/dist/actions/update-task-unique-id.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +2 -2
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +3 -3
- package/dist/actions/upload-file.d.mts +3 -3
- package/dist/actions/upload-file.mjs +2 -2
- package/dist/actions/upload-file.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -10,13 +10,13 @@ const ScaleAiResetBatchPriorities_BatchSchema = z.object({
|
|
|
10
10
|
file_type: z.string().describe("MIME type of the file").nullable(),
|
|
11
11
|
created_at: z.number().int().describe("Unix timestamp of creation").nullable(),
|
|
12
12
|
message_id: z.string().describe("Associated message reference").nullable()
|
|
13
|
-
}).describe("Represents a single batch in the Studio.");
|
|
13
|
+
}).passthrough().describe("Represents a single batch in the Studio.");
|
|
14
14
|
const scaleAiResetBatchPriorities = action("SCALE_AI_RESET_BATCH_PRIORITIES", {
|
|
15
15
|
slug: "scale_ai-reset-batch-priorities",
|
|
16
16
|
name: "Reset Batch Priorities",
|
|
17
17
|
description: "Tool to restore batch priority order to default order (calibration batches first, then sorted by creation date). Use when you need to reset custom batch priorities back to the default ordering.",
|
|
18
18
|
input: ScaleAiResetBatchPrioritiesInput,
|
|
19
|
-
output: z.object({ batches: z.array(ScaleAiResetBatchPriorities_BatchSchema).describe("List of batches in the new priority order (calibration batches first, then by creation date)") }).describe("Response model for resetting batch priorities.")
|
|
19
|
+
output: z.object({ batches: z.array(ScaleAiResetBatchPriorities_BatchSchema).describe("List of batches in the new priority order (calibration batches first, then by creation date)") }).passthrough().describe("Response model for resetting batch priorities.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { scaleAiResetBatchPriorities };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-batch-priorities.mjs","names":[],"sources":["../../src/actions/reset-batch-priorities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiResetBatchPrioritiesInput = z.object({\n groups: z.string().describe(\"Filter parameter for groups to reset priorities\").optional(),\n}).describe(\"Request model for resetting batch priorities to default order.\");\nconst ScaleAiResetBatchPriorities_BatchSchema = z.object({\n id: z.string().describe(\"Unique batch identifier\").nullable(),\n file_url: z.string().describe(\"URL location of the batch file\").nullable(),\n filename: z.string().describe(\"Name of the batch file\").nullable(),\n file_size: z.number().int().describe(\"File size in bytes\").nullable(),\n file_type: z.string().describe(\"MIME type of the file\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp of creation\").nullable(),\n message_id: z.string().describe(\"Associated message reference\").nullable(),\n}).describe(\"Represents a single batch in the Studio.\");\nexport const ScaleAiResetBatchPrioritiesOutput = z.object({\n batches: z.array(ScaleAiResetBatchPriorities_BatchSchema).describe(\"List of batches in the new priority order (calibration batches first, then by creation date)\"),\n}).describe(\"Response model for resetting batch priorities.\");\n\nexport const scaleAiResetBatchPriorities = action(\"SCALE_AI_RESET_BATCH_PRIORITIES\", {\n slug: \"scale_ai-reset-batch-priorities\",\n name: \"Reset Batch Priorities\",\n description: \"Tool to restore batch priority order to default order (calibration batches first, then sorted by creation date). Use when you need to reset custom batch priorities back to the default ordering.\",\n input: ScaleAiResetBatchPrioritiesInput,\n output: ScaleAiResetBatchPrioritiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EAC1F,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"reset-batch-priorities.mjs","names":[],"sources":["../../src/actions/reset-batch-priorities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiResetBatchPrioritiesInput = z.object({\n groups: z.string().describe(\"Filter parameter for groups to reset priorities\").optional(),\n}).describe(\"Request model for resetting batch priorities to default order.\");\nconst ScaleAiResetBatchPriorities_BatchSchema = z.object({\n id: z.string().describe(\"Unique batch identifier\").nullable(),\n file_url: z.string().describe(\"URL location of the batch file\").nullable(),\n filename: z.string().describe(\"Name of the batch file\").nullable(),\n file_size: z.number().int().describe(\"File size in bytes\").nullable(),\n file_type: z.string().describe(\"MIME type of the file\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp of creation\").nullable(),\n message_id: z.string().describe(\"Associated message reference\").nullable(),\n}).passthrough().describe(\"Represents a single batch in the Studio.\");\nexport const ScaleAiResetBatchPrioritiesOutput = z.object({\n batches: z.array(ScaleAiResetBatchPriorities_BatchSchema).describe(\"List of batches in the new priority order (calibration batches first, then by creation date)\"),\n}).passthrough().describe(\"Response model for resetting batch priorities.\");\n\nexport const scaleAiResetBatchPriorities = action(\"SCALE_AI_RESET_BATCH_PRIORITIES\", {\n slug: \"scale_ai-reset-batch-priorities\",\n name: \"Reset Batch Priorities\",\n description: \"Tool to restore batch priority order to default order (calibration batches first, then sorted by creation date). Use when you need to reset custom batch priorities back to the default ordering.\",\n input: ScaleAiResetBatchPrioritiesInput,\n output: ScaleAiResetBatchPrioritiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EAC1F,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8FAA8F,EACnK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_action = require("../action.cjs");
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/set-batch-priorities.ts
|
|
4
|
-
const ScaleAiSetBatchPrioritiesInput = zod.z.object({ batches: zod.z.array(zod.z.object({ name: zod.z.string().describe("The name/identifier of the batch to set priority for") }).describe("Represents a single batch in the priority order request.")).describe("Array of batch objects specifying the priority order. Must include all pending studio batches.") }).describe("Request model for setting batch priority order.");
|
|
4
|
+
const ScaleAiSetBatchPrioritiesInput = zod.z.object({ batches: zod.z.array(zod.z.object({ name: zod.z.string().describe("The name/identifier of the batch to set priority for") }).passthrough().describe("Represents a single batch in the priority order request.")).describe("Array of batch objects specifying the priority order. Must include all pending studio batches.") }).describe("Request model for setting batch priority order.");
|
|
5
5
|
const ScaleAiSetBatchPriorities_StudioBatchSchema = zod.z.object({
|
|
6
6
|
id: zod.z.string().describe("Batch identifier").nullable(),
|
|
7
7
|
name: zod.z.string().describe("Batch name").nullable(),
|
|
@@ -12,8 +12,8 @@ const ScaleAiSetBatchPriorities_StudioBatchSchema = zod.z.object({
|
|
|
12
12
|
projectId: zod.z.string().describe("Associated project identifier").nullable(),
|
|
13
13
|
projectName: zod.z.string().describe("Associated project name").nullable(),
|
|
14
14
|
studioPriority: zod.z.number().int().describe("Priority level of the batch").nullable().optional()
|
|
15
|
-
}).describe("Represents a Studio batch in the response.");
|
|
16
|
-
const ScaleAiSetBatchPrioritiesOutput = zod.z.object({ batches: zod.z.array(ScaleAiSetBatchPriorities_StudioBatchSchema).describe("Array of StudioBatch objects in the new priority order") }).describe("Response model containing all batches in their new priority order.");
|
|
15
|
+
}).passthrough().describe("Represents a Studio batch in the response.");
|
|
16
|
+
const ScaleAiSetBatchPrioritiesOutput = zod.z.object({ batches: zod.z.array(ScaleAiSetBatchPriorities_StudioBatchSchema).describe("Array of StudioBatch objects in the new priority order") }).passthrough().describe("Response model containing all batches in their new priority order.");
|
|
17
17
|
const scaleAiSetBatchPriorities = require_action.action("SCALE_AI_SET_BATCH_PRIORITIES", {
|
|
18
18
|
slug: "scale_ai-set-batch-priorities",
|
|
19
19
|
name: "Set Batch Priorities",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-batch-priorities.cjs","names":["z","action"],"sources":["../../src/actions/set-batch-priorities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetBatchPrioritiesInput = z.object({\n batches: z.array(z.object({\n name: z.string().describe(\"The name/identifier of the batch to set priority for\"),\n}).describe(\"Represents a single batch in the priority order request.\")).describe(\"Array of batch objects specifying the priority order. Must include all pending studio batches.\"),\n}).describe(\"Request model for setting batch priority order.\");\nconst ScaleAiSetBatchPriorities_StudioBatchSchema = z.object({\n id: z.string().describe(\"Batch identifier\").nullable(),\n name: z.string().describe(\"Batch name\").nullable(),\n total: z.number().int().describe(\"Total count of items in batch\").nullable(),\n groups: z.array(z.string()).describe(\"Group assignments or categorizations\").nullable().optional(),\n batchType: z.string().describe(\"Classification of batch type\").nullable(),\n completed: z.number().int().describe(\"Count of completed items\").nullable(),\n projectId: z.string().describe(\"Associated project identifier\").nullable(),\n projectName: z.string().describe(\"Associated project name\").nullable(),\n studioPriority: z.number().int().describe(\"Priority level of the batch\").nullable().optional(),\n}).describe(\"Represents a Studio batch in the response.\");\nexport const ScaleAiSetBatchPrioritiesOutput = z.object({\n batches: z.array(ScaleAiSetBatchPriorities_StudioBatchSchema).describe(\"Array of StudioBatch objects in the new priority order\"),\n}).describe(\"Response model containing all batches in their new priority order.\");\n\nexport const scaleAiSetBatchPriorities = action(\"SCALE_AI_SET_BATCH_PRIORITIES\", {\n slug: \"scale_ai-set-batch-priorities\",\n name: \"Set Batch Priorities\",\n description: \"Tool to modify batch priority order in Scale AI Studio. Use when you need to adjust the priority order of pending batches. You must include all pending studio batches in the request.\",\n input: ScaleAiSetBatchPrioritiesInput,\n output: ScaleAiSetBatchPrioritiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC1B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EAClF,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,gGAAgG,
|
|
1
|
+
{"version":3,"file":"set-batch-priorities.cjs","names":["z","action"],"sources":["../../src/actions/set-batch-priorities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetBatchPrioritiesInput = z.object({\n batches: z.array(z.object({\n name: z.string().describe(\"The name/identifier of the batch to set priority for\"),\n}).passthrough().describe(\"Represents a single batch in the priority order request.\")).describe(\"Array of batch objects specifying the priority order. Must include all pending studio batches.\"),\n}).describe(\"Request model for setting batch priority order.\");\nconst ScaleAiSetBatchPriorities_StudioBatchSchema = z.object({\n id: z.string().describe(\"Batch identifier\").nullable(),\n name: z.string().describe(\"Batch name\").nullable(),\n total: z.number().int().describe(\"Total count of items in batch\").nullable(),\n groups: z.array(z.string()).describe(\"Group assignments or categorizations\").nullable().optional(),\n batchType: z.string().describe(\"Classification of batch type\").nullable(),\n completed: z.number().int().describe(\"Count of completed items\").nullable(),\n projectId: z.string().describe(\"Associated project identifier\").nullable(),\n projectName: z.string().describe(\"Associated project name\").nullable(),\n studioPriority: z.number().int().describe(\"Priority level of the batch\").nullable().optional(),\n}).passthrough().describe(\"Represents a Studio batch in the response.\");\nexport const ScaleAiSetBatchPrioritiesOutput = z.object({\n batches: z.array(ScaleAiSetBatchPriorities_StudioBatchSchema).describe(\"Array of StudioBatch objects in the new priority order\"),\n}).passthrough().describe(\"Response model containing all batches in their new priority order.\");\n\nexport const scaleAiSetBatchPriorities = action(\"SCALE_AI_SET_BATCH_PRIORITIES\", {\n slug: \"scale_ai-set-batch-priorities\",\n name: \"Set Batch Priorities\",\n description: \"Tool to modify batch priority order in Scale AI Studio. Use when you need to adjust the priority order of pending batches. You must include all pending studio batches in the request.\",\n input: ScaleAiSetBatchPrioritiesInput,\n output: ScaleAiSetBatchPrioritiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC1B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,gGAAgG,EAChM,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACrE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,wDAAwD,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const ScaleAiSetBatchPrioritiesInput: z.ZodObject<{
|
|
5
5
|
batches: z.ZodArray<z.ZodObject<{
|
|
6
6
|
name: z.ZodString;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
declare const ScaleAiSetBatchPrioritiesOutput: z.ZodObject<{
|
|
10
10
|
batches: z.ZodArray<z.ZodObject<{
|
|
@@ -17,10 +17,11 @@ declare const ScaleAiSetBatchPrioritiesOutput: z.ZodObject<{
|
|
|
17
17
|
projectId: z.ZodNullable<z.ZodString>;
|
|
18
18
|
projectName: z.ZodNullable<z.ZodString>;
|
|
19
19
|
studioPriority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const scaleAiSetBatchPriorities: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
batches: {
|
|
24
|
+
[x: string]: unknown;
|
|
24
25
|
name: string;
|
|
25
26
|
}[];
|
|
26
27
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const ScaleAiSetBatchPrioritiesInput: z.ZodObject<{
|
|
5
5
|
batches: z.ZodArray<z.ZodObject<{
|
|
6
6
|
name: z.ZodString;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
declare const ScaleAiSetBatchPrioritiesOutput: z.ZodObject<{
|
|
10
10
|
batches: z.ZodArray<z.ZodObject<{
|
|
@@ -17,10 +17,11 @@ declare const ScaleAiSetBatchPrioritiesOutput: z.ZodObject<{
|
|
|
17
17
|
projectId: z.ZodNullable<z.ZodString>;
|
|
18
18
|
projectName: z.ZodNullable<z.ZodString>;
|
|
19
19
|
studioPriority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const scaleAiSetBatchPriorities: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
batches: {
|
|
24
|
+
[x: string]: unknown;
|
|
24
25
|
name: string;
|
|
25
26
|
}[];
|
|
26
27
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { action } from "../action.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/set-batch-priorities.ts
|
|
4
|
-
const ScaleAiSetBatchPrioritiesInput = z.object({ batches: z.array(z.object({ name: z.string().describe("The name/identifier of the batch to set priority for") }).describe("Represents a single batch in the priority order request.")).describe("Array of batch objects specifying the priority order. Must include all pending studio batches.") }).describe("Request model for setting batch priority order.");
|
|
4
|
+
const ScaleAiSetBatchPrioritiesInput = z.object({ batches: z.array(z.object({ name: z.string().describe("The name/identifier of the batch to set priority for") }).passthrough().describe("Represents a single batch in the priority order request.")).describe("Array of batch objects specifying the priority order. Must include all pending studio batches.") }).describe("Request model for setting batch priority order.");
|
|
5
5
|
const ScaleAiSetBatchPriorities_StudioBatchSchema = z.object({
|
|
6
6
|
id: z.string().describe("Batch identifier").nullable(),
|
|
7
7
|
name: z.string().describe("Batch name").nullable(),
|
|
@@ -12,13 +12,13 @@ const ScaleAiSetBatchPriorities_StudioBatchSchema = z.object({
|
|
|
12
12
|
projectId: z.string().describe("Associated project identifier").nullable(),
|
|
13
13
|
projectName: z.string().describe("Associated project name").nullable(),
|
|
14
14
|
studioPriority: z.number().int().describe("Priority level of the batch").nullable().optional()
|
|
15
|
-
}).describe("Represents a Studio batch in the response.");
|
|
15
|
+
}).passthrough().describe("Represents a Studio batch in the response.");
|
|
16
16
|
const scaleAiSetBatchPriorities = action("SCALE_AI_SET_BATCH_PRIORITIES", {
|
|
17
17
|
slug: "scale_ai-set-batch-priorities",
|
|
18
18
|
name: "Set Batch Priorities",
|
|
19
19
|
description: "Tool to modify batch priority order in Scale AI Studio. Use when you need to adjust the priority order of pending batches. You must include all pending studio batches in the request.",
|
|
20
20
|
input: ScaleAiSetBatchPrioritiesInput,
|
|
21
|
-
output: z.object({ batches: z.array(ScaleAiSetBatchPriorities_StudioBatchSchema).describe("Array of StudioBatch objects in the new priority order") }).describe("Response model containing all batches in their new priority order.")
|
|
21
|
+
output: z.object({ batches: z.array(ScaleAiSetBatchPriorities_StudioBatchSchema).describe("Array of StudioBatch objects in the new priority order") }).passthrough().describe("Response model containing all batches in their new priority order.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { scaleAiSetBatchPriorities };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-batch-priorities.mjs","names":[],"sources":["../../src/actions/set-batch-priorities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetBatchPrioritiesInput = z.object({\n batches: z.array(z.object({\n name: z.string().describe(\"The name/identifier of the batch to set priority for\"),\n}).describe(\"Represents a single batch in the priority order request.\")).describe(\"Array of batch objects specifying the priority order. Must include all pending studio batches.\"),\n}).describe(\"Request model for setting batch priority order.\");\nconst ScaleAiSetBatchPriorities_StudioBatchSchema = z.object({\n id: z.string().describe(\"Batch identifier\").nullable(),\n name: z.string().describe(\"Batch name\").nullable(),\n total: z.number().int().describe(\"Total count of items in batch\").nullable(),\n groups: z.array(z.string()).describe(\"Group assignments or categorizations\").nullable().optional(),\n batchType: z.string().describe(\"Classification of batch type\").nullable(),\n completed: z.number().int().describe(\"Count of completed items\").nullable(),\n projectId: z.string().describe(\"Associated project identifier\").nullable(),\n projectName: z.string().describe(\"Associated project name\").nullable(),\n studioPriority: z.number().int().describe(\"Priority level of the batch\").nullable().optional(),\n}).describe(\"Represents a Studio batch in the response.\");\nexport const ScaleAiSetBatchPrioritiesOutput = z.object({\n batches: z.array(ScaleAiSetBatchPriorities_StudioBatchSchema).describe(\"Array of StudioBatch objects in the new priority order\"),\n}).describe(\"Response model containing all batches in their new priority order.\");\n\nexport const scaleAiSetBatchPriorities = action(\"SCALE_AI_SET_BATCH_PRIORITIES\", {\n slug: \"scale_ai-set-batch-priorities\",\n name: \"Set Batch Priorities\",\n description: \"Tool to modify batch priority order in Scale AI Studio. Use when you need to adjust the priority order of pending batches. You must include all pending studio batches in the request.\",\n input: ScaleAiSetBatchPrioritiesInput,\n output: ScaleAiSetBatchPrioritiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,SAAS,EAAE,MAAM,EAAE,OAAO,EAC1B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EAClF,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,gGAAgG,
|
|
1
|
+
{"version":3,"file":"set-batch-priorities.mjs","names":[],"sources":["../../src/actions/set-batch-priorities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetBatchPrioritiesInput = z.object({\n batches: z.array(z.object({\n name: z.string().describe(\"The name/identifier of the batch to set priority for\"),\n}).passthrough().describe(\"Represents a single batch in the priority order request.\")).describe(\"Array of batch objects specifying the priority order. Must include all pending studio batches.\"),\n}).describe(\"Request model for setting batch priority order.\");\nconst ScaleAiSetBatchPriorities_StudioBatchSchema = z.object({\n id: z.string().describe(\"Batch identifier\").nullable(),\n name: z.string().describe(\"Batch name\").nullable(),\n total: z.number().int().describe(\"Total count of items in batch\").nullable(),\n groups: z.array(z.string()).describe(\"Group assignments or categorizations\").nullable().optional(),\n batchType: z.string().describe(\"Classification of batch type\").nullable(),\n completed: z.number().int().describe(\"Count of completed items\").nullable(),\n projectId: z.string().describe(\"Associated project identifier\").nullable(),\n projectName: z.string().describe(\"Associated project name\").nullable(),\n studioPriority: z.number().int().describe(\"Priority level of the batch\").nullable().optional(),\n}).passthrough().describe(\"Represents a Studio batch in the response.\");\nexport const ScaleAiSetBatchPrioritiesOutput = z.object({\n batches: z.array(ScaleAiSetBatchPriorities_StudioBatchSchema).describe(\"Array of StudioBatch objects in the new priority order\"),\n}).passthrough().describe(\"Response model containing all batches in their new priority order.\");\n\nexport const scaleAiSetBatchPriorities = action(\"SCALE_AI_SET_BATCH_PRIORITIES\", {\n slug: \"scale_ai-set-batch-priorities\",\n name: \"Set Batch Priorities\",\n description: \"Tool to modify batch priority order in Scale AI Studio. Use when you need to adjust the priority order of pending batches. You must include all pending studio batches in the request.\",\n input: ScaleAiSetBatchPrioritiesInput,\n output: ScaleAiSetBatchPrioritiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,SAAS,EAAE,MAAM,EAAE,OAAO,EAC1B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,gGAAgG,EAChM,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACrE,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,wDAAwD,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
|
|
@@ -9,12 +9,12 @@ const ScaleAiSetProjectOntologyInput = zod.z.object({
|
|
|
9
9
|
const ScaleAiSetProjectOntology_DatasetLinkSchema = zod.z.object({
|
|
10
10
|
datasetId: zod.z.string().describe("Dataset identifier").nullable().optional(),
|
|
11
11
|
datasetName: zod.z.string().describe("Dataset name").nullable().optional()
|
|
12
|
-
}).describe("Dataset link information.");
|
|
12
|
+
}).passthrough().describe("Dataset link information.");
|
|
13
13
|
const ScaleAiSetProjectOntology_ParamHistoryItemSchema = zod.z.object({
|
|
14
14
|
version: zod.z.number().int().describe("Version number of the parameter set.").nullable().optional(),
|
|
15
15
|
created_at: zod.z.string().describe("ISO timestamp when this version was created.").nullable().optional(),
|
|
16
16
|
instruction: zod.z.string().describe("Instructions associated with this parameter version.").nullable().optional()
|
|
17
|
-
}).describe("Historical parameter version for a project.");
|
|
17
|
+
}).passthrough().describe("Historical parameter version for a project.");
|
|
18
18
|
const ScaleAiSetProjectOntologyOutput = zod.z.object({
|
|
19
19
|
name: zod.z.string().describe("Project identifier name.").nullable().optional(),
|
|
20
20
|
type: zod.z.string().describe("Task type for the project (e.g., 'imageannotation').").nullable().optional(),
|
|
@@ -30,7 +30,7 @@ const ScaleAiSetProjectOntologyOutput = zod.z.object({
|
|
|
30
30
|
pipelineName: zod.z.string().describe("Pipeline identifier.").nullable().optional(),
|
|
31
31
|
param_history: zod.z.array(ScaleAiSetProjectOntology_ParamHistoryItemSchema).describe("Historical parameter versions.").nullable().optional(),
|
|
32
32
|
nucleusDatasetId: zod.z.string().describe("Associated Nucleus dataset ID.").nullable().optional()
|
|
33
|
-
}).describe("Response model containing the updated project details after setting the ontology.");
|
|
33
|
+
}).passthrough().describe("Response model containing the updated project details after setting the ontology.");
|
|
34
34
|
const scaleAiSetProjectOntology = require_action.action("SCALE_AI_SET_PROJECT_ONTOLOGY", {
|
|
35
35
|
slug: "scale_ai-set-project-ontology",
|
|
36
36
|
name: "Set Project Ontology",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-project-ontology.cjs","names":["z","action"],"sources":["../../src/actions/set-project-ontology.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetProjectOntologyInput = z.object({\n ontology: z.array(z.string()).describe(\"A collection of ontology entries as strings. Ontology choices must be unique throughout the ontology. These define the labels or classes that tasks in this project will reference.\"),\n project_name: z.string().describe(\"The unique project identifier to set the ontology for. This is the project name.\"),\n ontology_name: z.string().describe(\"A label identifying the specific version of the ontology being set. This is optional and helps track different ontology versions.\").optional(),\n}).describe(\"Request model for setting ontologies on a project.\");\nconst ScaleAiSetProjectOntology_DatasetLinkSchema = z.object({\n datasetId: z.string().describe(\"Dataset identifier\").nullable().optional(),\n datasetName: z.string().describe(\"Dataset name\").nullable().optional(),\n}).describe(\"Dataset link information.\");\nconst ScaleAiSetProjectOntology_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable().optional(),\n}).describe(\"Historical parameter version for a project.\");\nexport const ScaleAiSetProjectOntologyOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable().optional(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation').\").nullable().optional(),\n pinned: z.boolean().describe(\"Whether project is pinned.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether project is archived.\").nullable().optional(),\n taxonomy: z.record(z.string(), z.unknown()).describe(\"Taxonomy information.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of project creation.\").nullable().optional(),\n created_by: z.string().describe(\"User ID who created the project.\").nullable().optional(),\n numReviews: z.number().int().describe(\"Number of reviews.\").nullable().optional(),\n created_with: z.string().describe(\"Creation method.\").nullable().optional(),\n datasetLinks: z.array(ScaleAiSetProjectOntology_DatasetLinkSchema).describe(\"Associated dataset links.\").nullable().optional(),\n numConsensus: z.number().int().describe(\"Number of consensus.\").nullable().optional(),\n pipelineName: z.string().describe(\"Pipeline identifier.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectOntology_ParamHistoryItemSchema).describe(\"Historical parameter versions.\").nullable().optional(),\n nucleusDatasetId: z.string().describe(\"Associated Nucleus dataset ID.\").nullable().optional(),\n}).describe(\"Response model containing the updated project details after setting the ontology.\");\n\nexport const scaleAiSetProjectOntology = action(\"SCALE_AI_SET_PROJECT_ONTOLOGY\", {\n slug: \"scale_ai-set-project-ontology\",\n name: \"Set Project Ontology\",\n description: \"Tool to set ontologies on a Scale AI project. Ontologies define the labels or classes that tasks will reference, and projects maintain complete history of ontology versions. Use when you need to configure or update the classification labels for a project.\",\n input: ScaleAiSetProjectOntologyInput,\n output: ScaleAiSetProjectOntologyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qLAAqL;CAC5N,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CACpH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,2BAA2B;
|
|
1
|
+
{"version":3,"file":"set-project-ontology.cjs","names":["z","action"],"sources":["../../src/actions/set-project-ontology.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetProjectOntologyInput = z.object({\n ontology: z.array(z.string()).describe(\"A collection of ontology entries as strings. Ontology choices must be unique throughout the ontology. These define the labels or classes that tasks in this project will reference.\"),\n project_name: z.string().describe(\"The unique project identifier to set the ontology for. This is the project name.\"),\n ontology_name: z.string().describe(\"A label identifying the specific version of the ontology being set. This is optional and helps track different ontology versions.\").optional(),\n}).describe(\"Request model for setting ontologies on a project.\");\nconst ScaleAiSetProjectOntology_DatasetLinkSchema = z.object({\n datasetId: z.string().describe(\"Dataset identifier\").nullable().optional(),\n datasetName: z.string().describe(\"Dataset name\").nullable().optional(),\n}).passthrough().describe(\"Dataset link information.\");\nconst ScaleAiSetProjectOntology_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable().optional(),\n}).passthrough().describe(\"Historical parameter version for a project.\");\nexport const ScaleAiSetProjectOntologyOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable().optional(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation').\").nullable().optional(),\n pinned: z.boolean().describe(\"Whether project is pinned.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether project is archived.\").nullable().optional(),\n taxonomy: z.record(z.string(), z.unknown()).describe(\"Taxonomy information.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of project creation.\").nullable().optional(),\n created_by: z.string().describe(\"User ID who created the project.\").nullable().optional(),\n numReviews: z.number().int().describe(\"Number of reviews.\").nullable().optional(),\n created_with: z.string().describe(\"Creation method.\").nullable().optional(),\n datasetLinks: z.array(ScaleAiSetProjectOntology_DatasetLinkSchema).describe(\"Associated dataset links.\").nullable().optional(),\n numConsensus: z.number().int().describe(\"Number of consensus.\").nullable().optional(),\n pipelineName: z.string().describe(\"Pipeline identifier.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectOntology_ParamHistoryItemSchema).describe(\"Historical parameter versions.\").nullable().optional(),\n nucleusDatasetId: z.string().describe(\"Associated Nucleus dataset ID.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated project details after setting the ontology.\");\n\nexport const scaleAiSetProjectOntology = action(\"SCALE_AI_SET_PROJECT_ONTOLOGY\", {\n slug: \"scale_ai-set-project-ontology\",\n name: \"Set Project Ontology\",\n description: \"Tool to set ontologies on a Scale AI project. Ontologies define the labels or classes that tasks will reference, and projects maintain complete history of ontology versions. Use when you need to configure or update the classification labels for a project.\",\n input: ScaleAiSetProjectOntologyInput,\n output: ScaleAiSetProjectOntologyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qLAAqL;CAC5N,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CACpH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAM,mDAAmDA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AAC,SAAS,CAAC,CAAC,SAAS;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,cAAcA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAAmF;AAE7G,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,16 +19,16 @@ declare const ScaleAiSetProjectOntologyOutput: z.ZodObject<{
|
|
|
19
19
|
datasetLinks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
20
|
datasetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
datasetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
23
|
numConsensus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
pipelineName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
param_history: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
26
26
|
version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
30
|
nucleusDatasetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const scaleAiSetProjectOntology: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
ontology: string[];
|
|
34
34
|
project_name: string;
|
|
@@ -19,16 +19,16 @@ declare const ScaleAiSetProjectOntologyOutput: z.ZodObject<{
|
|
|
19
19
|
datasetLinks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
20
|
datasetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
datasetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
23
|
numConsensus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
pipelineName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
param_history: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
26
26
|
version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
30
|
nucleusDatasetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const scaleAiSetProjectOntology: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
ontology: string[];
|
|
34
34
|
project_name: string;
|
|
@@ -9,12 +9,12 @@ const ScaleAiSetProjectOntologyInput = z.object({
|
|
|
9
9
|
const ScaleAiSetProjectOntology_DatasetLinkSchema = z.object({
|
|
10
10
|
datasetId: z.string().describe("Dataset identifier").nullable().optional(),
|
|
11
11
|
datasetName: z.string().describe("Dataset name").nullable().optional()
|
|
12
|
-
}).describe("Dataset link information.");
|
|
12
|
+
}).passthrough().describe("Dataset link information.");
|
|
13
13
|
const ScaleAiSetProjectOntology_ParamHistoryItemSchema = z.object({
|
|
14
14
|
version: z.number().int().describe("Version number of the parameter set.").nullable().optional(),
|
|
15
15
|
created_at: z.string().describe("ISO timestamp when this version was created.").nullable().optional(),
|
|
16
16
|
instruction: z.string().describe("Instructions associated with this parameter version.").nullable().optional()
|
|
17
|
-
}).describe("Historical parameter version for a project.");
|
|
17
|
+
}).passthrough().describe("Historical parameter version for a project.");
|
|
18
18
|
const scaleAiSetProjectOntology = action("SCALE_AI_SET_PROJECT_ONTOLOGY", {
|
|
19
19
|
slug: "scale_ai-set-project-ontology",
|
|
20
20
|
name: "Set Project Ontology",
|
|
@@ -35,7 +35,7 @@ const scaleAiSetProjectOntology = action("SCALE_AI_SET_PROJECT_ONTOLOGY", {
|
|
|
35
35
|
pipelineName: z.string().describe("Pipeline identifier.").nullable().optional(),
|
|
36
36
|
param_history: z.array(ScaleAiSetProjectOntology_ParamHistoryItemSchema).describe("Historical parameter versions.").nullable().optional(),
|
|
37
37
|
nucleusDatasetId: z.string().describe("Associated Nucleus dataset ID.").nullable().optional()
|
|
38
|
-
}).describe("Response model containing the updated project details after setting the ontology.")
|
|
38
|
+
}).passthrough().describe("Response model containing the updated project details after setting the ontology.")
|
|
39
39
|
});
|
|
40
40
|
//#endregion
|
|
41
41
|
export { scaleAiSetProjectOntology };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-project-ontology.mjs","names":[],"sources":["../../src/actions/set-project-ontology.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetProjectOntologyInput = z.object({\n ontology: z.array(z.string()).describe(\"A collection of ontology entries as strings. Ontology choices must be unique throughout the ontology. These define the labels or classes that tasks in this project will reference.\"),\n project_name: z.string().describe(\"The unique project identifier to set the ontology for. This is the project name.\"),\n ontology_name: z.string().describe(\"A label identifying the specific version of the ontology being set. This is optional and helps track different ontology versions.\").optional(),\n}).describe(\"Request model for setting ontologies on a project.\");\nconst ScaleAiSetProjectOntology_DatasetLinkSchema = z.object({\n datasetId: z.string().describe(\"Dataset identifier\").nullable().optional(),\n datasetName: z.string().describe(\"Dataset name\").nullable().optional(),\n}).describe(\"Dataset link information.\");\nconst ScaleAiSetProjectOntology_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable().optional(),\n}).describe(\"Historical parameter version for a project.\");\nexport const ScaleAiSetProjectOntologyOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable().optional(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation').\").nullable().optional(),\n pinned: z.boolean().describe(\"Whether project is pinned.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether project is archived.\").nullable().optional(),\n taxonomy: z.record(z.string(), z.unknown()).describe(\"Taxonomy information.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of project creation.\").nullable().optional(),\n created_by: z.string().describe(\"User ID who created the project.\").nullable().optional(),\n numReviews: z.number().int().describe(\"Number of reviews.\").nullable().optional(),\n created_with: z.string().describe(\"Creation method.\").nullable().optional(),\n datasetLinks: z.array(ScaleAiSetProjectOntology_DatasetLinkSchema).describe(\"Associated dataset links.\").nullable().optional(),\n numConsensus: z.number().int().describe(\"Number of consensus.\").nullable().optional(),\n pipelineName: z.string().describe(\"Pipeline identifier.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectOntology_ParamHistoryItemSchema).describe(\"Historical parameter versions.\").nullable().optional(),\n nucleusDatasetId: z.string().describe(\"Associated Nucleus dataset ID.\").nullable().optional(),\n}).describe(\"Response model containing the updated project details after setting the ontology.\");\n\nexport const scaleAiSetProjectOntology = action(\"SCALE_AI_SET_PROJECT_ONTOLOGY\", {\n slug: \"scale_ai-set-project-ontology\",\n name: \"Set Project Ontology\",\n description: \"Tool to set ontologies on a Scale AI project. Ontologies define the labels or classes that tasks will reference, and projects maintain complete history of ontology versions. Use when you need to configure or update the classification labels for a project.\",\n input: ScaleAiSetProjectOntologyInput,\n output: ScaleAiSetProjectOntologyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qLAAqL;CAC5N,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CACpH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,2BAA2B;
|
|
1
|
+
{"version":3,"file":"set-project-ontology.mjs","names":[],"sources":["../../src/actions/set-project-ontology.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetProjectOntologyInput = z.object({\n ontology: z.array(z.string()).describe(\"A collection of ontology entries as strings. Ontology choices must be unique throughout the ontology. These define the labels or classes that tasks in this project will reference.\"),\n project_name: z.string().describe(\"The unique project identifier to set the ontology for. This is the project name.\"),\n ontology_name: z.string().describe(\"A label identifying the specific version of the ontology being set. This is optional and helps track different ontology versions.\").optional(),\n}).describe(\"Request model for setting ontologies on a project.\");\nconst ScaleAiSetProjectOntology_DatasetLinkSchema = z.object({\n datasetId: z.string().describe(\"Dataset identifier\").nullable().optional(),\n datasetName: z.string().describe(\"Dataset name\").nullable().optional(),\n}).passthrough().describe(\"Dataset link information.\");\nconst ScaleAiSetProjectOntology_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable().optional(),\n}).passthrough().describe(\"Historical parameter version for a project.\");\nexport const ScaleAiSetProjectOntologyOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable().optional(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation').\").nullable().optional(),\n pinned: z.boolean().describe(\"Whether project is pinned.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether project is archived.\").nullable().optional(),\n taxonomy: z.record(z.string(), z.unknown()).describe(\"Taxonomy information.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of project creation.\").nullable().optional(),\n created_by: z.string().describe(\"User ID who created the project.\").nullable().optional(),\n numReviews: z.number().int().describe(\"Number of reviews.\").nullable().optional(),\n created_with: z.string().describe(\"Creation method.\").nullable().optional(),\n datasetLinks: z.array(ScaleAiSetProjectOntology_DatasetLinkSchema).describe(\"Associated dataset links.\").nullable().optional(),\n numConsensus: z.number().int().describe(\"Number of consensus.\").nullable().optional(),\n pipelineName: z.string().describe(\"Pipeline identifier.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectOntology_ParamHistoryItemSchema).describe(\"Historical parameter versions.\").nullable().optional(),\n nucleusDatasetId: z.string().describe(\"Associated Nucleus dataset ID.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated project details after setting the ontology.\");\n\nexport const scaleAiSetProjectOntology = action(\"SCALE_AI_SET_PROJECT_ONTOLOGY\", {\n slug: \"scale_ai-set-project-ontology\",\n name: \"Set Project Ontology\",\n description: \"Tool to set ontologies on a Scale AI project. Ontologies define the labels or classes that tasks will reference, and projects maintain complete history of ontology versions. Use when you need to configure or update the classification labels for a project.\",\n input: ScaleAiSetProjectOntologyInput,\n output: ScaleAiSetProjectOntologyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qLAAqL;CAC5N,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CACpH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAM,mDAAmD,EAAE,OAAO;CAChE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAkBvE,MAAa,4BAA4B,OAAO,i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M,gDAAgD,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAOhB;AACV,CAAC"}
|
|
@@ -12,13 +12,13 @@ const ScaleAiSetProjectParams_ParamHistoryItemSchema = zod.z.object({
|
|
|
12
12
|
params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Parameters that were set at this version.").nullable().optional(),
|
|
13
13
|
version: zod.z.number().int().describe("Version number of the parameter set.").nullable().optional(),
|
|
14
14
|
timestamp: zod.z.string().describe("Timestamp when parameters were set.").nullable().optional()
|
|
15
|
-
}).describe("Parameter history entry for a project.");
|
|
15
|
+
}).passthrough().describe("Parameter history entry for a project.");
|
|
16
16
|
const ScaleAiSetProjectParamsOutput = zod.z.object({
|
|
17
17
|
name: zod.z.string().describe("Project identifier.").nullable().optional(),
|
|
18
18
|
type: zod.z.string().describe("Project task type.").nullable().optional(),
|
|
19
19
|
created_at: zod.z.string().describe("Project creation timestamp.").nullable().optional(),
|
|
20
20
|
param_history: zod.z.array(ScaleAiSetProjectParams_ParamHistoryItemSchema).describe("Projects keep a history of the parameters that they were set with.").nullable().optional()
|
|
21
|
-
}).describe("Response model for set project parameters action.");
|
|
21
|
+
}).passthrough().describe("Response model for set project parameters action.");
|
|
22
22
|
const scaleAiSetProjectParams = require_action.action("SCALE_AI_SET_PROJECT_PARAMS", {
|
|
23
23
|
slug: "scale_ai-set-project-params",
|
|
24
24
|
name: "Set Project Parameters",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-project-params.cjs","names":["z","action"],"sources":["../../src/actions/set-project-params.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetProjectParamsInput = z.object({\n name: z.string().describe(\"Project identifier (name). This is used in the URL path.\"),\n patch: z.boolean().default(false).describe(\"When true, merges new parameters with existing ones; defaults to false. Field-level overrides take precedence.\").optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Default parameters for tasks created under this project. Any parameters specified here will be set if omitted in a task request.\").optional(),\n priority: z.number().int().describe(\"Default priority for tasks created under this project.\").optional(),\n instruction: z.string().describe(\"Text combined with task-level instructions.\").optional(),\n}).describe(\"Request model for setting default parameters for tasks created under a project.\");\nconst ScaleAiSetProjectParams_ParamHistoryItemSchema = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"Parameters that were set at this version.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when parameters were set.\").nullable().optional(),\n}).describe(\"Parameter history entry for a project.\");\nexport const ScaleAiSetProjectParamsOutput = z.object({\n name: z.string().describe(\"Project identifier.\").nullable().optional(),\n type: z.string().describe(\"Project task type.\").nullable().optional(),\n created_at: z.string().describe(\"Project creation timestamp.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectParams_ParamHistoryItemSchema).describe(\"Projects keep a history of the parameters that they were set with.\").nullable().optional(),\n}).describe(\"Response model for set project parameters action.\");\n\nexport const scaleAiSetProjectParams = action(\"SCALE_AI_SET_PROJECT_PARAMS\", {\n slug: \"scale_ai-set-project-params\",\n name: \"Set Project Parameters\",\n description: \"Tool to set default parameters for tasks created under a project. Use when you need to establish or update default parameters that apply to future tasks unless overridden.\",\n input: ScaleAiSetProjectParamsInput,\n output: ScaleAiSetProjectParamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACtK,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAChM,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"set-project-params.cjs","names":["z","action"],"sources":["../../src/actions/set-project-params.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetProjectParamsInput = z.object({\n name: z.string().describe(\"Project identifier (name). This is used in the URL path.\"),\n patch: z.boolean().default(false).describe(\"When true, merges new parameters with existing ones; defaults to false. Field-level overrides take precedence.\").optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Default parameters for tasks created under this project. Any parameters specified here will be set if omitted in a task request.\").optional(),\n priority: z.number().int().describe(\"Default priority for tasks created under this project.\").optional(),\n instruction: z.string().describe(\"Text combined with task-level instructions.\").optional(),\n}).describe(\"Request model for setting default parameters for tasks created under a project.\");\nconst ScaleAiSetProjectParams_ParamHistoryItemSchema = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"Parameters that were set at this version.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when parameters were set.\").nullable().optional(),\n}).passthrough().describe(\"Parameter history entry for a project.\");\nexport const ScaleAiSetProjectParamsOutput = z.object({\n name: z.string().describe(\"Project identifier.\").nullable().optional(),\n type: z.string().describe(\"Project task type.\").nullable().optional(),\n created_at: z.string().describe(\"Project creation timestamp.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectParams_ParamHistoryItemSchema).describe(\"Projects keep a history of the parameters that they were set with.\").nullable().optional(),\n}).passthrough().describe(\"Response model for set project parameters action.\");\n\nexport const scaleAiSetProjectParams = action(\"SCALE_AI_SET_PROJECT_PARAMS\", {\n slug: \"scale_ai-set-project-params\",\n name: \"Set Project Parameters\",\n description: \"Tool to set default parameters for tasks created under a project. Use when you need to establish or update default parameters that apply to future tasks unless overridden.\",\n input: ScaleAiSetProjectParamsInput,\n output: ScaleAiSetProjectParamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACtK,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAChM,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,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Number>>;
|
|
18
18
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const scaleAiSetProjectParams: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
name: string;
|
|
23
23
|
patch?: boolean | undefined;
|
|
@@ -16,8 +16,8 @@ declare const ScaleAiSetProjectParamsOutput: z.ZodObject<{
|
|
|
16
16
|
params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17
17
|
version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
18
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const scaleAiSetProjectParams: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
name: string;
|
|
23
23
|
patch?: boolean | undefined;
|
|
@@ -12,7 +12,7 @@ const ScaleAiSetProjectParams_ParamHistoryItemSchema = z.object({
|
|
|
12
12
|
params: z.record(z.string(), z.unknown()).describe("Parameters that were set at this version.").nullable().optional(),
|
|
13
13
|
version: z.number().int().describe("Version number of the parameter set.").nullable().optional(),
|
|
14
14
|
timestamp: z.string().describe("Timestamp when parameters were set.").nullable().optional()
|
|
15
|
-
}).describe("Parameter history entry for a project.");
|
|
15
|
+
}).passthrough().describe("Parameter history entry for a project.");
|
|
16
16
|
const scaleAiSetProjectParams = action("SCALE_AI_SET_PROJECT_PARAMS", {
|
|
17
17
|
slug: "scale_ai-set-project-params",
|
|
18
18
|
name: "Set Project Parameters",
|
|
@@ -23,7 +23,7 @@ const scaleAiSetProjectParams = action("SCALE_AI_SET_PROJECT_PARAMS", {
|
|
|
23
23
|
type: z.string().describe("Project task type.").nullable().optional(),
|
|
24
24
|
created_at: z.string().describe("Project creation timestamp.").nullable().optional(),
|
|
25
25
|
param_history: z.array(ScaleAiSetProjectParams_ParamHistoryItemSchema).describe("Projects keep a history of the parameters that they were set with.").nullable().optional()
|
|
26
|
-
}).describe("Response model for set project parameters action.")
|
|
26
|
+
}).passthrough().describe("Response model for set project parameters action.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { scaleAiSetProjectParams };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-project-params.mjs","names":[],"sources":["../../src/actions/set-project-params.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetProjectParamsInput = z.object({\n name: z.string().describe(\"Project identifier (name). This is used in the URL path.\"),\n patch: z.boolean().default(false).describe(\"When true, merges new parameters with existing ones; defaults to false. Field-level overrides take precedence.\").optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Default parameters for tasks created under this project. Any parameters specified here will be set if omitted in a task request.\").optional(),\n priority: z.number().int().describe(\"Default priority for tasks created under this project.\").optional(),\n instruction: z.string().describe(\"Text combined with task-level instructions.\").optional(),\n}).describe(\"Request model for setting default parameters for tasks created under a project.\");\nconst ScaleAiSetProjectParams_ParamHistoryItemSchema = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"Parameters that were set at this version.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when parameters were set.\").nullable().optional(),\n}).describe(\"Parameter history entry for a project.\");\nexport const ScaleAiSetProjectParamsOutput = z.object({\n name: z.string().describe(\"Project identifier.\").nullable().optional(),\n type: z.string().describe(\"Project task type.\").nullable().optional(),\n created_at: z.string().describe(\"Project creation timestamp.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectParams_ParamHistoryItemSchema).describe(\"Projects keep a history of the parameters that they were set with.\").nullable().optional(),\n}).describe(\"Response model for set project parameters action.\");\n\nexport const scaleAiSetProjectParams = action(\"SCALE_AI_SET_PROJECT_PARAMS\", {\n slug: \"scale_ai-set-project-params\",\n name: \"Set Project Parameters\",\n description: \"Tool to set default parameters for tasks created under a project. Use when you need to establish or update default parameters that apply to future tasks unless overridden.\",\n input: ScaleAiSetProjectParamsInput,\n output: ScaleAiSetProjectParamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACtK,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAChM,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,iDAAiD,EAAE,OAAO;CAC9D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"set-project-params.mjs","names":[],"sources":["../../src/actions/set-project-params.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetProjectParamsInput = z.object({\n name: z.string().describe(\"Project identifier (name). This is used in the URL path.\"),\n patch: z.boolean().default(false).describe(\"When true, merges new parameters with existing ones; defaults to false. Field-level overrides take precedence.\").optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Default parameters for tasks created under this project. Any parameters specified here will be set if omitted in a task request.\").optional(),\n priority: z.number().int().describe(\"Default priority for tasks created under this project.\").optional(),\n instruction: z.string().describe(\"Text combined with task-level instructions.\").optional(),\n}).describe(\"Request model for setting default parameters for tasks created under a project.\");\nconst ScaleAiSetProjectParams_ParamHistoryItemSchema = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"Parameters that were set at this version.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when parameters were set.\").nullable().optional(),\n}).passthrough().describe(\"Parameter history entry for a project.\");\nexport const ScaleAiSetProjectParamsOutput = z.object({\n name: z.string().describe(\"Project identifier.\").nullable().optional(),\n type: z.string().describe(\"Project task type.\").nullable().optional(),\n created_at: z.string().describe(\"Project creation timestamp.\").nullable().optional(),\n param_history: z.array(ScaleAiSetProjectParams_ParamHistoryItemSchema).describe(\"Projects keep a history of the parameters that they were set with.\").nullable().optional(),\n}).passthrough().describe(\"Response model for set project parameters action.\");\n\nexport const scaleAiSetProjectParams = action(\"SCALE_AI_SET_PROJECT_PARAMS\", {\n slug: \"scale_ai-set-project-params\",\n name: \"Set Project Parameters\",\n description: \"Tool to set default parameters for tasks created under a project. Use when you need to establish or update default parameters that apply to future tasks unless overridden.\",\n input: ScaleAiSetProjectParamsInput,\n output: ScaleAiSetProjectParamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACtK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CAAC"}
|
|
@@ -20,7 +20,7 @@ const ScaleAiSetTaskMetadataOutput = zod.z.object({
|
|
|
20
20
|
instruction: zod.z.string().describe("Labeling instructions for the task.").nullable().optional(),
|
|
21
21
|
callback_url: zod.z.string().describe("Webhook URL for task completion notifications.").nullable().optional(),
|
|
22
22
|
completed_at: zod.z.string().describe("Completion timestamp if applicable.").nullable().optional()
|
|
23
|
-
}).describe("Response model for the set task metadata operation. Returns the complete task object.");
|
|
23
|
+
}).passthrough().describe("Response model for the set task metadata operation. Returns the complete task object.");
|
|
24
24
|
const scaleAiSetTaskMetadata = require_action.action("SCALE_AI_SET_TASK_METADATA", {
|
|
25
25
|
slug: "scale_ai-set-task-metadata",
|
|
26
26
|
name: "Set Task Metadata",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-task-metadata.cjs","names":["z","action"],"sources":["../../src/actions/set-task-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetTaskMetadataInput = z.object({\n task_id: z.string().describe(\"The unique identifier of the task to set metadata on.\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of metadata to attach to the task. Accepts strings, numbers, dates, and other JSON-compatible values.\"),\n}).describe(\"Request model for setting metadata on an existing Scale AI task.\");\nexport const ScaleAiSetTaskMetadataOutput = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the task.\").nullable().optional(),\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n audits: z.array(z.record(z.string(), z.unknown())).describe(\"Audit history for the task.\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task parameters and configuration.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique identifier for the task.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"The metadata key-value pairs that were set on the task.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"Annotation results if task is completed.\").nullable().optional(),\n unique_id: z.string().describe(\"Unique identifier string for the task.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation.\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp.\").nullable().optional(),\n instruction: z.string().describe(\"Labeling instructions for the task.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications.\").nullable().optional(),\n completed_at: z.string().describe(\"Completion timestamp if applicable.\").nullable().optional(),\n}).describe(\"Response model for the set task metadata operation. Returns the complete task object.\");\n\nexport const scaleAiSetTaskMetadata = action(\"SCALE_AI_SET_TASK_METADATA\", {\n slug: \"scale_ai-set-task-metadata\",\n name: \"Set Task Metadata\",\n description: \"Tool to set key-value metadata on an existing Scale AI task. Use when you need to attach custom metadata to track or organize tasks. This operation is idempotent.\",\n input: ScaleAiSetTaskMetadataInput,\n output: ScaleAiSetTaskMetadataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uHAAuH;AAC9K,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC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SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,uFAAuF;
|
|
1
|
+
{"version":3,"file":"set-task-metadata.cjs","names":["z","action"],"sources":["../../src/actions/set-task-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetTaskMetadataInput = z.object({\n task_id: z.string().describe(\"The unique identifier of the task to set metadata on.\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of metadata to attach to the task. Accepts strings, numbers, dates, and other JSON-compatible values.\"),\n}).describe(\"Request model for setting metadata on an existing Scale AI task.\");\nexport const ScaleAiSetTaskMetadataOutput = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the task.\").nullable().optional(),\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n audits: z.array(z.record(z.string(), z.unknown())).describe(\"Audit history for the task.\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task parameters and configuration.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique identifier for the task.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"The metadata key-value pairs that were set on the task.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"Annotation results if task is completed.\").nullable().optional(),\n unique_id: z.string().describe(\"Unique identifier string for the task.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation.\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp.\").nullable().optional(),\n instruction: z.string().describe(\"Labeling instructions for the task.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications.\").nullable().optional(),\n completed_at: z.string().describe(\"Completion timestamp if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the set task metadata operation. Returns the complete task object.\");\n\nexport const scaleAiSetTaskMetadata = action(\"SCALE_AI_SET_TASK_METADATA\", {\n slug: \"scale_ai-set-task-metadata\",\n name: \"Set Task Metadata\",\n description: \"Tool to set key-value metadata on an existing Scale AI task. Use when you need to attach custom metadata to track or organize tasks. This operation is idempotent.\",\n input: ScaleAiSetTaskMetadataInput,\n output: ScaleAiSetTaskMetadataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uHAAuH;AAC9K,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAAuF;AAEjH,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare const ScaleAiSetTaskMetadataOutput: z.ZodObject<{
|
|
|
20
20
|
instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const scaleAiSetTaskMetadata: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
task_id: string;
|
|
26
26
|
metadata: Record<string, unknown>;
|
|
@@ -20,7 +20,7 @@ declare const ScaleAiSetTaskMetadataOutput: z.ZodObject<{
|
|
|
20
20
|
instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const scaleAiSetTaskMetadata: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
task_id: string;
|
|
26
26
|
metadata: Record<string, unknown>;
|
|
@@ -23,7 +23,7 @@ const scaleAiSetTaskMetadata = action("SCALE_AI_SET_TASK_METADATA", {
|
|
|
23
23
|
instruction: z.string().describe("Labeling instructions for the task.").nullable().optional(),
|
|
24
24
|
callback_url: z.string().describe("Webhook URL for task completion notifications.").nullable().optional(),
|
|
25
25
|
completed_at: z.string().describe("Completion timestamp if applicable.").nullable().optional()
|
|
26
|
-
}).describe("Response model for the set task metadata operation. Returns the complete task object.")
|
|
26
|
+
}).passthrough().describe("Response model for the set task metadata operation. Returns the complete task object.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { scaleAiSetTaskMetadata };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-task-metadata.mjs","names":[],"sources":["../../src/actions/set-task-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetTaskMetadataInput = z.object({\n task_id: z.string().describe(\"The unique identifier of the task to set metadata on.\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of metadata to attach to the task. Accepts strings, numbers, dates, and other JSON-compatible values.\"),\n}).describe(\"Request model for setting metadata on an existing Scale AI task.\");\nexport const ScaleAiSetTaskMetadataOutput = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the task.\").nullable().optional(),\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n audits: z.array(z.record(z.string(), z.unknown())).describe(\"Audit history for the task.\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task parameters and configuration.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique identifier for the task.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"The metadata key-value pairs that were set on the task.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"Annotation results if task is completed.\").nullable().optional(),\n unique_id: z.string().describe(\"Unique identifier string for the task.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation.\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp.\").nullable().optional(),\n instruction: z.string().describe(\"Labeling instructions for the task.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications.\").nullable().optional(),\n completed_at: z.string().describe(\"Completion timestamp if applicable.\").nullable().optional(),\n}).describe(\"Response model for the set task metadata operation. Returns the complete task object.\");\n\nexport const scaleAiSetTaskMetadata = action(\"SCALE_AI_SET_TASK_METADATA\", {\n slug: \"scale_ai-set-task-metadata\",\n name: \"Set Task Metadata\",\n description: \"Tool to set key-value metadata on an existing Scale AI task. Use when you need to attach custom metadata to track or organize tasks. This operation is idempotent.\",\n input: ScaleAiSetTaskMetadataInput,\n output: ScaleAiSetTaskMetadataOutput,\n});\n"],"mappings":";;AAyBA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzByC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACpF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAA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a,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"set-task-metadata.mjs","names":[],"sources":["../../src/actions/set-task-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiSetTaskMetadataInput = z.object({\n task_id: z.string().describe(\"The unique identifier of the task to set metadata on.\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of metadata to attach to the task. Accepts strings, numbers, dates, and other JSON-compatible values.\"),\n}).describe(\"Request model for setting metadata on an existing Scale AI task.\");\nexport const ScaleAiSetTaskMetadataOutput = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the task.\").nullable().optional(),\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n audits: z.array(z.record(z.string(), z.unknown())).describe(\"Audit history for the task.\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Task parameters and configuration.\").nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Unique identifier for the task.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"The metadata key-value pairs that were set on the task.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"Annotation results if task is completed.\").nullable().optional(),\n unique_id: z.string().describe(\"Unique identifier string for the task.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation.\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp.\").nullable().optional(),\n instruction: z.string().describe(\"Labeling instructions for the task.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications.\").nullable().optional(),\n completed_at: z.string().describe(\"Completion timestamp if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the set task metadata operation. Returns the complete task object.\");\n\nexport const scaleAiSetTaskMetadata = action(\"SCALE_AI_SET_TASK_METADATA\", {\n slug: \"scale_ai-set-task-metadata\",\n name: \"Set Task Metadata\",\n description: \"Tool to set key-value metadata on an existing Scale AI task. Use when you need to attach custom metadata to track or organize tasks. This operation is idempotent.\",\n input: ScaleAiSetTaskMetadataInput,\n output: ScaleAiSetTaskMetadataOutput,\n});\n"],"mappings":";;AAyBA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzByC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACpF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uHAAuH;CAC9K,CAAC,CAAC,CAAC,SAAS,kEAsBH;CACP,QAtB0C,EAAE,OAAO;EACnD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAOhB;AACV,CAAC"}
|
|
@@ -16,7 +16,7 @@ const ScaleAiUpdateTaskUniqueIdOutput = zod.z.object({
|
|
|
16
16
|
created_at: zod.z.string().describe("ISO 8601 timestamp of task creation.").nullable().optional(),
|
|
17
17
|
instruction: zod.z.string().describe("Instructions for the labeling task.").nullable().optional(),
|
|
18
18
|
callback_url: zod.z.string().describe("Webhook URL for task completion notifications.").nullable().optional()
|
|
19
|
-
}).describe("Response model containing the updated task details.");
|
|
19
|
+
}).passthrough().describe("Response model containing the updated task details.");
|
|
20
20
|
const scaleAiUpdateTaskUniqueId = require_action.action("SCALE_AI_UPDATE_TASK_UNIQUE_ID", {
|
|
21
21
|
slug: "scale_ai-update-task-unique-id",
|
|
22
22
|
name: "Update Task Unique ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-task-unique-id.cjs","names":["z","action"],"sources":["../../src/actions/update-task-unique-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiUpdateTaskUniqueIdInput = z.object({\n task_id: z.string().describe(\"ID of the task to modify. This is the Scale AI task identifier.\"),\n unique_id: z.string().describe(\"The unique identifier to be assigned to the task. This is a custom identifier that can be used to reference the task in your own system.\"),\n}).describe(\"Request model for updating a task's unique identifier.\");\nconst ScaleAiUpdateTaskUniqueId_TaskParamsSchema = z.record(z.string(), z.unknown()).describe(\"Task-specific parameters and configurations.\");\nexport const ScaleAiUpdateTaskUniqueIdOutput = z.object({\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n params: ScaleAiUpdateTaskUniqueId_TaskParamsSchema.nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Identifier for the task.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the task.\").nullable().optional(),\n unique_id: z.string().describe(\"The newly assigned unique identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions for the labeling task.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications.\").nullable().optional(),\n}).describe(\"Response model containing the updated task details.\");\n\nexport const scaleAiUpdateTaskUniqueId = action(\"SCALE_AI_UPDATE_TASK_UNIQUE_ID\", {\n slug: \"scale_ai-update-task-unique-id\",\n name: \"Update Task Unique ID\",\n description: \"Tool to update or assign a unique identifier to a task. Use when you need to set a custom identifier for task tracking in your system.\",\n input: ScaleAiUpdateTaskUnique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SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,qDAAqD;
|
|
1
|
+
{"version":3,"file":"update-task-unique-id.cjs","names":["z","action"],"sources":["../../src/actions/update-task-unique-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiUpdateTaskUniqueIdInput = z.object({\n task_id: z.string().describe(\"ID of the task to modify. This is the Scale AI task identifier.\"),\n unique_id: z.string().describe(\"The unique identifier to be assigned to the task. This is a custom identifier that can be used to reference the task in your own system.\"),\n}).describe(\"Request model for updating a task's unique identifier.\");\nconst ScaleAiUpdateTaskUniqueId_TaskParamsSchema = z.record(z.string(), z.unknown()).describe(\"Task-specific parameters and configurations.\");\nexport const ScaleAiUpdateTaskUniqueIdOutput = z.object({\n type: z.string().describe(\"Task type (e.g., 'imageannotation').\").nullable().optional(),\n params: ScaleAiUpdateTaskUniqueId_TaskParamsSchema.nullable().optional(),\n status: z.string().describe(\"Current task status.\").nullable().optional(),\n task_id: z.string().describe(\"Identifier for the task.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the task.\").nullable().optional(),\n unique_id: z.string().describe(\"The newly assigned unique identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of task creation.\").nullable().optional(),\n instruction: z.string().describe(\"Instructions for the labeling task.\").nullable().optional(),\n callback_url: z.string().describe(\"Webhook URL for task completion notifications.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated task details.\");\n\nexport const scaleAiUpdateTaskUniqueId = action(\"SCALE_AI_UPDATE_TASK_UNIQUE_ID\", {\n slug: \"scale_ai-update-task-unique-id\",\n name: \"Update Task Unique ID\",\n description: \"Tool to update or assign a unique identifier to a task. Use when you need to set a custom identifier for task tracking in your system.\",\n input: ScaleAiUpdateTaskUniqueIdInput,\n output: ScaleAiUpdateTaskUniqueIdOutput,\n});\n"],"mappings":";;;AA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AAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,4BAA4BC,eAAAA,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const ScaleAiUpdateTaskUniqueIdOutput: z.ZodObject<{
|
|
|
15
15
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const scaleAiUpdateTaskUniqueId: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
task_id: string;
|
|
21
21
|
unique_id: string;
|
|
@@ -15,7 +15,7 @@ declare const ScaleAiUpdateTaskUniqueIdOutput: z.ZodObject<{
|
|
|
15
15
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const scaleAiUpdateTaskUniqueId: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
task_id: string;
|
|
21
21
|
unique_id: string;
|
|
@@ -21,7 +21,7 @@ const scaleAiUpdateTaskUniqueId = action("SCALE_AI_UPDATE_TASK_UNIQUE_ID", {
|
|
|
21
21
|
created_at: z.string().describe("ISO 8601 timestamp of task creation.").nullable().optional(),
|
|
22
22
|
instruction: z.string().describe("Instructions for the labeling task.").nullable().optional(),
|
|
23
23
|
callback_url: z.string().describe("Webhook URL for task completion notifications.").nullable().optional()
|
|
24
|
-
}).describe("Response model containing the updated task details.")
|
|
24
|
+
}).passthrough().describe("Response model containing the updated task details.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { scaleAiUpdateTaskUniqueId };
|