@keystrokehq/seqera 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-wave-container.cjs +50 -0
- package/dist/actions/create-wave-container.cjs.map +1 -0
- package/dist/actions/create-wave-container.d.cts +9 -0
- package/dist/actions/create-wave-container.d.cts.map +1 -0
- package/dist/actions/create-wave-container.d.mts +9 -0
- package/dist/actions/create-wave-container.d.mts.map +1 -0
- package/dist/actions/create-wave-container.mjs +47 -0
- package/dist/actions/create-wave-container.mjs.map +1 -0
- package/dist/actions/get-organization-details.cjs +29 -0
- package/dist/actions/get-organization-details.cjs.map +1 -0
- package/dist/actions/get-organization-details.d.cts +9 -0
- package/dist/actions/get-organization-details.d.cts.map +1 -0
- package/dist/actions/get-organization-details.d.mts +9 -0
- package/dist/actions/get-organization-details.d.mts.map +1 -0
- package/dist/actions/get-organization-details.mjs +26 -0
- package/dist/actions/get-organization-details.mjs.map +1 -0
- package/dist/actions/get-service-info.cjs +20 -0
- package/dist/actions/get-service-info.cjs.map +1 -0
- package/dist/actions/get-service-info.d.cts +9 -0
- package/dist/actions/get-service-info.d.cts.map +1 -0
- package/dist/actions/get-service-info.d.mts +9 -0
- package/dist/actions/get-service-info.d.mts.map +1 -0
- package/dist/actions/get-service-info.mjs +19 -0
- package/dist/actions/get-service-info.mjs.map +1 -0
- package/dist/actions/get-user-info.cjs +35 -0
- package/dist/actions/get-user-info.cjs.map +1 -0
- package/dist/actions/get-user-info.d.cts +9 -0
- package/dist/actions/get-user-info.d.cts.map +1 -0
- package/dist/actions/get-user-info.d.mts +9 -0
- package/dist/actions/get-user-info.d.mts.map +1 -0
- package/dist/actions/get-user-info.mjs +32 -0
- package/dist/actions/get-user-info.mjs.map +1 -0
- package/dist/actions/get-wave-build-logs.cjs +16 -0
- package/dist/actions/get-wave-build-logs.cjs.map +1 -0
- package/dist/actions/get-wave-build-logs.d.cts +9 -0
- package/dist/actions/get-wave-build-logs.d.cts.map +1 -0
- package/dist/actions/get-wave-build-logs.d.mts +9 -0
- package/dist/actions/get-wave-build-logs.d.mts.map +1 -0
- package/dist/actions/get-wave-build-logs.mjs +13 -0
- package/dist/actions/get-wave-build-logs.mjs.map +1 -0
- package/dist/actions/get-wave-build-status.cjs +23 -0
- package/dist/actions/get-wave-build-status.cjs.map +1 -0
- package/dist/actions/get-wave-build-status.d.cts +9 -0
- package/dist/actions/get-wave-build-status.d.cts.map +1 -0
- package/dist/actions/get-wave-build-status.d.mts +9 -0
- package/dist/actions/get-wave-build-status.d.mts.map +1 -0
- package/dist/actions/get-wave-build-status.mjs +22 -0
- package/dist/actions/get-wave-build-status.mjs.map +1 -0
- package/dist/actions/index.cjs +29 -0
- package/dist/actions/index.d.cts +15 -0
- package/dist/actions/index.d.mts +15 -0
- package/dist/actions/index.mjs +15 -0
- package/dist/actions/inspect-wave-container.cjs +33 -0
- package/dist/actions/inspect-wave-container.cjs.map +1 -0
- package/dist/actions/inspect-wave-container.d.cts +9 -0
- package/dist/actions/inspect-wave-container.d.cts.map +1 -0
- package/dist/actions/inspect-wave-container.d.mts +9 -0
- package/dist/actions/inspect-wave-container.d.mts.map +1 -0
- package/dist/actions/inspect-wave-container.mjs +32 -0
- package/dist/actions/inspect-wave-container.mjs.map +1 -0
- package/dist/actions/list-action-event-types.cjs +22 -0
- package/dist/actions/list-action-event-types.cjs.map +1 -0
- package/dist/actions/list-action-event-types.d.cts +9 -0
- package/dist/actions/list-action-event-types.d.cts.map +1 -0
- package/dist/actions/list-action-event-types.d.mts +9 -0
- package/dist/actions/list-action-event-types.d.mts.map +1 -0
- package/dist/actions/list-action-event-types.mjs +21 -0
- package/dist/actions/list-action-event-types.mjs.map +1 -0
- package/dist/actions/list-compute-environments.cjs +39 -0
- package/dist/actions/list-compute-environments.cjs.map +1 -0
- package/dist/actions/list-compute-environments.d.cts +9 -0
- package/dist/actions/list-compute-environments.d.cts.map +1 -0
- package/dist/actions/list-compute-environments.d.mts +9 -0
- package/dist/actions/list-compute-environments.d.mts.map +1 -0
- package/dist/actions/list-compute-environments.mjs +38 -0
- package/dist/actions/list-compute-environments.mjs.map +1 -0
- package/dist/actions/list-organizations.cjs +30 -0
- package/dist/actions/list-organizations.cjs.map +1 -0
- package/dist/actions/list-organizations.d.cts +9 -0
- package/dist/actions/list-organizations.d.cts.map +1 -0
- package/dist/actions/list-organizations.d.mts +9 -0
- package/dist/actions/list-organizations.d.mts.map +1 -0
- package/dist/actions/list-organizations.mjs +29 -0
- package/dist/actions/list-organizations.mjs.map +1 -0
- package/dist/actions/list-pipelines.cjs +34 -0
- package/dist/actions/list-pipelines.cjs.map +1 -0
- package/dist/actions/list-pipelines.d.cts +9 -0
- package/dist/actions/list-pipelines.d.cts.map +1 -0
- package/dist/actions/list-pipelines.d.mts +9 -0
- package/dist/actions/list-pipelines.d.mts.map +1 -0
- package/dist/actions/list-pipelines.mjs +33 -0
- package/dist/actions/list-pipelines.mjs.map +1 -0
- package/dist/actions/list-workflows.cjs +39 -0
- package/dist/actions/list-workflows.cjs.map +1 -0
- package/dist/actions/list-workflows.d.cts +9 -0
- package/dist/actions/list-workflows.d.cts.map +1 -0
- package/dist/actions/list-workflows.d.mts +9 -0
- package/dist/actions/list-workflows.d.mts.map +1 -0
- package/dist/actions/list-workflows.mjs +38 -0
- package/dist/actions/list-workflows.mjs.map +1 -0
- package/dist/actions/validate-action-name.cjs +23 -0
- package/dist/actions/validate-action-name.cjs.map +1 -0
- package/dist/actions/validate-action-name.d.cts +9 -0
- package/dist/actions/validate-action-name.d.cts.map +1 -0
- package/dist/actions/validate-action-name.d.mts +9 -0
- package/dist/actions/validate-action-name.d.mts.map +1 -0
- package/dist/actions/validate-action-name.mjs +20 -0
- package/dist/actions/validate-action-name.mjs.map +1 -0
- package/dist/actions/validate-pipeline-name.cjs +24 -0
- package/dist/actions/validate-pipeline-name.cjs.map +1 -0
- package/dist/actions/validate-pipeline-name.d.cts +9 -0
- package/dist/actions/validate-pipeline-name.d.cts.map +1 -0
- package/dist/actions/validate-pipeline-name.d.mts +9 -0
- package/dist/actions/validate-pipeline-name.d.mts.map +1 -0
- package/dist/actions/validate-pipeline-name.mjs +21 -0
- package/dist/actions/validate-pipeline-name.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +34 -0
- package/dist/index.d.cts +17 -0
- package/dist/index.d.mts +17 -0
- package/dist/index.mjs +18 -0
- package/package.json +49 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-organizations.ts
|
|
4
|
+
const SeqeraListOrganizationsInput = zod.z.object({}).describe("Request model for listing organizations.");
|
|
5
|
+
const SeqeraListOrganizations_OrganizationSchema = zod.z.object({
|
|
6
|
+
name: zod.z.string().describe("The name of the organization"),
|
|
7
|
+
type: zod.z.string().describe("The type of the organization (e.g., 'pro')").nullable().optional(),
|
|
8
|
+
orgId: zod.z.number().int().describe("The unique identifier of the organization"),
|
|
9
|
+
logoId: zod.z.string().describe("The logo ID of the organization").nullable().optional(),
|
|
10
|
+
paying: zod.z.boolean().describe("Whether the organization is a paying customer").nullable().optional(),
|
|
11
|
+
logoUrl: zod.z.string().describe("The URL of the organization's logo").nullable().optional(),
|
|
12
|
+
website: zod.z.string().describe("The website of the organization").nullable().optional(),
|
|
13
|
+
fullName: zod.z.string().describe("The full name of the organization").nullable().optional(),
|
|
14
|
+
location: zod.z.string().describe("The location of the organization").nullable().optional(),
|
|
15
|
+
memberId: zod.z.number().int().describe("The member ID of the authenticated user in this organization").nullable().optional(),
|
|
16
|
+
memberRole: zod.z.string().describe("The role of the authenticated user in this organization").nullable().optional(),
|
|
17
|
+
description: zod.z.string().describe("A short description of the organization").nullable().optional()
|
|
18
|
+
}).describe("Model representing a Seqera organization.");
|
|
19
|
+
const SeqeraListOrganizationsOutput = zod.z.object({ organizations: zod.z.array(SeqeraListOrganizations_OrganizationSchema).describe("List of organizations accessible to the authenticated user") }).describe("Response model for list organizations action.");
|
|
20
|
+
const seqeraListOrganizations = require_action.action("SEQERA_LIST_ORGANIZATIONS", {
|
|
21
|
+
slug: "seqera-list-organizations",
|
|
22
|
+
name: "List Organizations",
|
|
23
|
+
description: "Tool to list all organizations. Use after authentication to retrieve accessible Seqera organizations.",
|
|
24
|
+
input: SeqeraListOrganizationsInput,
|
|
25
|
+
output: SeqeraListOrganizationsOutput
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
exports.seqeraListOrganizations = seqeraListOrganizations;
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=list-organizations.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-organizations.cjs","names":["z","action"],"sources":["../../src/actions/list-organizations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraListOrganizationsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing organizations.\");\nconst SeqeraListOrganizations_OrganizationSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the organization\"),\n type: z.string().describe(\"The type of the organization (e.g., 'pro')\").nullable().optional(),\n orgId: z.number().int().describe(\"The unique identifier of the organization\"),\n logoId: z.string().describe(\"The logo ID of the organization\").nullable().optional(),\n paying: z.boolean().describe(\"Whether the organization is a paying customer\").nullable().optional(),\n logoUrl: z.string().describe(\"The URL of the organization's logo\").nullable().optional(),\n website: z.string().describe(\"The website of the organization\").nullable().optional(),\n fullName: z.string().describe(\"The full name of the organization\").nullable().optional(),\n location: z.string().describe(\"The location of the organization\").nullable().optional(),\n memberId: z.number().int().describe(\"The member ID of the authenticated user in this organization\").nullable().optional(),\n memberRole: z.string().describe(\"The role of the authenticated user in this organization\").nullable().optional(),\n description: z.string().describe(\"A short description of the organization\").nullable().optional(),\n}).describe(\"Model representing a Seqera organization.\");\nexport const SeqeraListOrganizationsOutput: z.ZodTypeAny = z.object({\n organizations: z.array(SeqeraListOrganizations_OrganizationSchema).describe(\"List of organizations accessible to the authenticated user\"),\n}).describe(\"Response model for list organizations action.\");\n\nexport const seqeraListOrganizations = action(\"SEQERA_LIST_ORGANIZATIONS\", {\n slug: \"seqera-list-organizations\",\n name: \"List Organizations\",\n description: \"Tool to list all organizations. Use after authentication to retrieve accessible Seqera organizations.\",\n input: SeqeraListOrganizationsInput,\n output: SeqeraListOrganizationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAC1H,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,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eraListOrganizationsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SeqeraListOrganizationsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const seqeraListOrganizations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { seqeraListOrganizations };
|
|
9
|
+
//# sourceMappingURL=list-organizations.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-organizations.d.cts","names":[],"sources":["../../src/actions/list-organizations.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAA8E;AAAA,cAe9G,6BAAA,EAA+B,CAAA,CAAE,UAEc;AAAA,cAE/C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-organizations.d.ts
|
|
4
|
+
declare const SeqeraListOrganizationsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SeqeraListOrganizationsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const seqeraListOrganizations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { seqeraListOrganizations };
|
|
9
|
+
//# sourceMappingURL=list-organizations.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-organizations.d.mts","names":[],"sources":["../../src/actions/list-organizations.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAA8E;AAAA,cAe9G,6BAAA,EAA+B,CAAA,CAAE,UAEc;AAAA,cAE/C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-organizations.ts
|
|
4
|
+
const SeqeraListOrganizationsInput = z.object({}).describe("Request model for listing organizations.");
|
|
5
|
+
const SeqeraListOrganizations_OrganizationSchema = z.object({
|
|
6
|
+
name: z.string().describe("The name of the organization"),
|
|
7
|
+
type: z.string().describe("The type of the organization (e.g., 'pro')").nullable().optional(),
|
|
8
|
+
orgId: z.number().int().describe("The unique identifier of the organization"),
|
|
9
|
+
logoId: z.string().describe("The logo ID of the organization").nullable().optional(),
|
|
10
|
+
paying: z.boolean().describe("Whether the organization is a paying customer").nullable().optional(),
|
|
11
|
+
logoUrl: z.string().describe("The URL of the organization's logo").nullable().optional(),
|
|
12
|
+
website: z.string().describe("The website of the organization").nullable().optional(),
|
|
13
|
+
fullName: z.string().describe("The full name of the organization").nullable().optional(),
|
|
14
|
+
location: z.string().describe("The location of the organization").nullable().optional(),
|
|
15
|
+
memberId: z.number().int().describe("The member ID of the authenticated user in this organization").nullable().optional(),
|
|
16
|
+
memberRole: z.string().describe("The role of the authenticated user in this organization").nullable().optional(),
|
|
17
|
+
description: z.string().describe("A short description of the organization").nullable().optional()
|
|
18
|
+
}).describe("Model representing a Seqera organization.");
|
|
19
|
+
const seqeraListOrganizations = action("SEQERA_LIST_ORGANIZATIONS", {
|
|
20
|
+
slug: "seqera-list-organizations",
|
|
21
|
+
name: "List Organizations",
|
|
22
|
+
description: "Tool to list all organizations. Use after authentication to retrieve accessible Seqera organizations.",
|
|
23
|
+
input: SeqeraListOrganizationsInput,
|
|
24
|
+
output: z.object({ organizations: z.array(SeqeraListOrganizations_OrganizationSchema).describe("List of organizations accessible to the authenticated user") }).describe("Response model for list organizations action.")
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { seqeraListOrganizations };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=list-organizations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-organizations.mjs","names":[],"sources":["../../src/actions/list-organizations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraListOrganizationsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing organizations.\");\nconst SeqeraListOrganizations_OrganizationSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the organization\"),\n type: z.string().describe(\"The type of the organization (e.g., 'pro')\").nullable().optional(),\n orgId: z.number().int().describe(\"The unique identifier of the organization\"),\n logoId: z.string().describe(\"The logo ID of the organization\").nullable().optional(),\n paying: z.boolean().describe(\"Whether the organization is a paying customer\").nullable().optional(),\n logoUrl: z.string().describe(\"The URL of the organization's logo\").nullable().optional(),\n website: z.string().describe(\"The website of the organization\").nullable().optional(),\n fullName: z.string().describe(\"The full name of the organization\").nullable().optional(),\n location: z.string().describe(\"The location of the organization\").nullable().optional(),\n memberId: z.number().int().describe(\"The member ID of the authenticated user in this organization\").nullable().optional(),\n memberRole: z.string().describe(\"The role of the authenticated user in this organization\").nullable().optional(),\n description: z.string().describe(\"A short description of the organization\").nullable().optional(),\n}).describe(\"Model representing a Seqera organization.\");\nexport const SeqeraListOrganizationsOutput: z.ZodTypeAny = z.object({\n organizations: z.array(SeqeraListOrganizations_OrganizationSchema).describe(\"List of organizations accessible to the authenticated user\"),\n}).describe(\"Response model for list organizations action.\");\n\nexport const seqeraListOrganizations = action(\"SEQERA_LIST_ORGANIZATIONS\", {\n slug: \"seqera-list-organizations\",\n name: \"List Organizations\",\n description: \"Tool to list all organizations. Use after authentication to retrieve accessible Seqera organizations.\",\n input: SeqeraListOrganizationsInput,\n output: SeqeraListOrganizationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAC1H,M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A4D,EAC1I,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-pipelines.ts
|
|
4
|
+
const SeqeraListPipelinesInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().default(1).describe("Page number for pagination (must be ≥ 1)").optional(),
|
|
6
|
+
search: zod.z.string().describe("Search term to filter pipelines by name or description").optional(),
|
|
7
|
+
sortBy: zod.z.string().describe("Field to sort by, e.g., 'createdAt' or 'name'").optional(),
|
|
8
|
+
pageSize: zod.z.number().int().default(20).describe("Number of items per page (1–100)").optional(),
|
|
9
|
+
sortOrder: zod.z.enum(["asc", "desc"]).describe("Sort direction: 'asc' or 'desc'").optional()
|
|
10
|
+
}).describe("Query parameters for listing pipelines.");
|
|
11
|
+
const SeqeraListPipelines_PipelineSchema = zod.z.object({
|
|
12
|
+
id: zod.z.string().describe("Unique pipeline identifier"),
|
|
13
|
+
name: zod.z.string().describe("Pipeline name"),
|
|
14
|
+
owner: zod.z.string().describe("Owner of the pipeline"),
|
|
15
|
+
createdAt: zod.z.string().describe("Creation timestamp (ISO 8601)"),
|
|
16
|
+
updatedAt: zod.z.string().describe("Last modification timestamp (ISO 8601)"),
|
|
17
|
+
visibility: zod.z.string().describe("Pipeline visibility, e.g., 'public' or 'private'"),
|
|
18
|
+
description: zod.z.string().describe("Pipeline description").nullable().optional()
|
|
19
|
+
}).describe("A single pipeline record.");
|
|
20
|
+
const SeqeraListPipelinesOutput = zod.z.object({
|
|
21
|
+
pipelines: zod.z.array(SeqeraListPipelines_PipelineSchema).describe("List of pipeline objects").nullable().optional(),
|
|
22
|
+
totalSize: zod.z.number().int().default(0).describe("Total number of pipelines").nullable().optional()
|
|
23
|
+
}).describe("Response schema for ListPipelines.");
|
|
24
|
+
const seqeraListPipelines = require_action.action("SEQERA_LIST_PIPELINES", {
|
|
25
|
+
slug: "seqera-list-pipelines",
|
|
26
|
+
name: "List Pipelines",
|
|
27
|
+
description: "Tool to list all pipelines accessible to the authenticated user. Use when you need to browse pipelines with optional pagination, sorting, or search filters.",
|
|
28
|
+
input: SeqeraListPipelinesInput,
|
|
29
|
+
output: SeqeraListPipelinesOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.seqeraListPipelines = seqeraListPipelines;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=list-pipelines.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-pipelines.cjs","names":["z","action"],"sources":["../../src/actions/list-pipelines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraListPipelinesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (must be ≥ 1)\").optional(),\n search: z.string().describe(\"Search term to filter pipelines by name or description\").optional(),\n sortBy: z.string().describe(\"Field to sort by, e.g., 'createdAt' or 'name'\").optional(),\n pageSize: z.number().int().default(20).describe(\"Number of items per page (1–100)\").optional(),\n sortOrder: z.enum([\"asc\", \"desc\"]).describe(\"Sort direction: 'asc' or 'desc'\").optional(),\n}).describe(\"Query parameters for listing pipelines.\");\nconst SeqeraListPipelines_PipelineSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique pipeline identifier\"),\n name: z.string().describe(\"Pipeline name\"),\n owner: z.string().describe(\"Owner of the pipeline\"),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601)\"),\n updatedAt: z.string().describe(\"Last modification timestamp (ISO 8601)\"),\n visibility: z.string().describe(\"Pipeline visibility, e.g., 'public' or 'private'\"),\n description: z.string().describe(\"Pipeline description\").nullable().optional(),\n}).describe(\"A single pipeline record.\");\nexport const SeqeraListPipelinesOutput: z.ZodTypeAny = z.object({\n pipelines: z.array(SeqeraListPipelines_PipelineSchema).describe(\"List of pipeline objects\").nullable().optional(),\n totalSize: z.number().int().default(0).describe(\"Total number of pipelines\").nullable().optional(),\n}).describe(\"Response schema for ListPipelines.\");\n\nexport const seqeraListPipelines = action(\"SEQERA_LIST_PIPELINES\", {\n slug: \"seqera-list-pipelines\",\n name: \"List Pipelines\",\n description: \"Tool to list all pipelines accessible to the authenticated user. Use when you need to browse pipelines with optional pagination, sorting, or search filters.\",\n input: SeqeraListPipelinesInput,\n output: SeqeraListPipelinesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACzC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,WAAWA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-pipelines.d.ts
|
|
4
|
+
declare const SeqeraListPipelinesInput: z.ZodTypeAny;
|
|
5
|
+
declare const SeqeraListPipelinesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const seqeraListPipelines: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { seqeraListPipelines };
|
|
9
|
+
//# sourceMappingURL=list-pipelines.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-pipelines.d.cts","names":[],"sources":["../../src/actions/list-pipelines.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAMa;AAAA,cAUzC,yBAAA,EAA2B,CAAA,CAAE,UAGO;AAAA,cAEpC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-pipelines.d.ts
|
|
4
|
+
declare const SeqeraListPipelinesInput: z.ZodTypeAny;
|
|
5
|
+
declare const SeqeraListPipelinesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const seqeraListPipelines: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { seqeraListPipelines };
|
|
9
|
+
//# sourceMappingURL=list-pipelines.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-pipelines.d.mts","names":[],"sources":["../../src/actions/list-pipelines.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAMa;AAAA,cAUzC,yBAAA,EAA2B,CAAA,CAAE,UAGO;AAAA,cAEpC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-pipelines.ts
|
|
4
|
+
const SeqeraListPipelinesInput = z.object({
|
|
5
|
+
page: z.number().int().default(1).describe("Page number for pagination (must be ≥ 1)").optional(),
|
|
6
|
+
search: z.string().describe("Search term to filter pipelines by name or description").optional(),
|
|
7
|
+
sortBy: z.string().describe("Field to sort by, e.g., 'createdAt' or 'name'").optional(),
|
|
8
|
+
pageSize: z.number().int().default(20).describe("Number of items per page (1–100)").optional(),
|
|
9
|
+
sortOrder: z.enum(["asc", "desc"]).describe("Sort direction: 'asc' or 'desc'").optional()
|
|
10
|
+
}).describe("Query parameters for listing pipelines.");
|
|
11
|
+
const SeqeraListPipelines_PipelineSchema = z.object({
|
|
12
|
+
id: z.string().describe("Unique pipeline identifier"),
|
|
13
|
+
name: z.string().describe("Pipeline name"),
|
|
14
|
+
owner: z.string().describe("Owner of the pipeline"),
|
|
15
|
+
createdAt: z.string().describe("Creation timestamp (ISO 8601)"),
|
|
16
|
+
updatedAt: z.string().describe("Last modification timestamp (ISO 8601)"),
|
|
17
|
+
visibility: z.string().describe("Pipeline visibility, e.g., 'public' or 'private'"),
|
|
18
|
+
description: z.string().describe("Pipeline description").nullable().optional()
|
|
19
|
+
}).describe("A single pipeline record.");
|
|
20
|
+
const seqeraListPipelines = action("SEQERA_LIST_PIPELINES", {
|
|
21
|
+
slug: "seqera-list-pipelines",
|
|
22
|
+
name: "List Pipelines",
|
|
23
|
+
description: "Tool to list all pipelines accessible to the authenticated user. Use when you need to browse pipelines with optional pagination, sorting, or search filters.",
|
|
24
|
+
input: SeqeraListPipelinesInput,
|
|
25
|
+
output: z.object({
|
|
26
|
+
pipelines: z.array(SeqeraListPipelines_PipelineSchema).describe("List of pipeline objects").nullable().optional(),
|
|
27
|
+
totalSize: z.number().int().default(0).describe("Total number of pipelines").nullable().optional()
|
|
28
|
+
}).describe("Response schema for ListPipelines.")
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { seqeraListPipelines };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=list-pipelines.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-pipelines.mjs","names":[],"sources":["../../src/actions/list-pipelines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraListPipelinesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (must be ≥ 1)\").optional(),\n search: z.string().describe(\"Search term to filter pipelines by name or description\").optional(),\n sortBy: z.string().describe(\"Field to sort by, e.g., 'createdAt' or 'name'\").optional(),\n pageSize: z.number().int().default(20).describe(\"Number of items per page (1–100)\").optional(),\n sortOrder: z.enum([\"asc\", \"desc\"]).describe(\"Sort direction: 'asc' or 'desc'\").optional(),\n}).describe(\"Query parameters for listing pipelines.\");\nconst SeqeraListPipelines_PipelineSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique pipeline identifier\"),\n name: z.string().describe(\"Pipeline name\"),\n owner: z.string().describe(\"Owner of the pipeline\"),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601)\"),\n updatedAt: z.string().describe(\"Last modification timestamp (ISO 8601)\"),\n visibility: z.string().describe(\"Pipeline visibility, e.g., 'public' or 'private'\"),\n description: z.string().describe(\"Pipeline description\").nullable().optional(),\n}).describe(\"A single pipeline record.\");\nexport const SeqeraListPipelinesOutput: z.ZodTypeAny = z.object({\n pipelines: z.array(SeqeraListPipelines_PipelineSchema).describe(\"List of pipeline objects\").nullable().optional(),\n totalSize: z.number().int().default(0).describe(\"Total number of pipelines\").nullable().optional(),\n}).describe(\"Response schema for ListPipelines.\");\n\nexport const seqeraListPipelines = action(\"SEQERA_LIST_PIPELINES\", {\n slug: \"seqera-list-pipelines\",\n name: \"List Pipelines\",\n description: \"Tool to list all pipelines accessible to the authenticated user. Use when you need to browse pipelines with optional pagination, sorting, or search filters.\",\n input: SeqeraListPipelinesInput,\n output: SeqeraListPipelinesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7F,WAAW,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,qCAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACzC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,2BAA2B;AAMvC,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqD,EAAE,OAAO;EAC9D,WAAW,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-workflows.ts
|
|
4
|
+
const SeqeraListWorkflowsInput = zod.z.object({
|
|
5
|
+
limit: zod.z.number().int().describe("Maximum number of workflows to return (pagination size)").optional(),
|
|
6
|
+
nextToken: zod.z.string().describe("Pagination token to retrieve the next set of results").optional(),
|
|
7
|
+
workspaceId: zod.z.string().describe("ID of the workspace to filter workflows")
|
|
8
|
+
}).describe("Request model for listing Seqera workflows.");
|
|
9
|
+
const SeqeraListWorkflows_WorkflowDetailsSchema = zod.z.object({
|
|
10
|
+
id: zod.z.string().describe("Unique identifier of the workflow run"),
|
|
11
|
+
start: zod.z.string().describe("Start timestamp (ISO 8601 format)").nullable().optional(),
|
|
12
|
+
status: zod.z.string().describe("Status of the workflow (e.g., SUCCEEDED, FAILED, RUNNING)"),
|
|
13
|
+
submit: zod.z.string().describe("Submit timestamp (ISO 8601 format)").nullable().optional(),
|
|
14
|
+
ownerId: zod.z.number().int().describe("ID of the workflow owner").nullable().optional(),
|
|
15
|
+
runName: zod.z.string().describe("Name of the workflow run").nullable().optional(),
|
|
16
|
+
workDir: zod.z.string().describe("Working directory for the workflow").nullable().optional(),
|
|
17
|
+
complete: zod.z.string().describe("Completion timestamp (ISO 8601 format)").nullable().optional(),
|
|
18
|
+
revision: zod.z.string().describe("Revision or version of the workflow").nullable().optional(),
|
|
19
|
+
userName: zod.z.string().describe("Username of the workflow owner").nullable().optional(),
|
|
20
|
+
dateCreated: zod.z.string().describe("Creation timestamp (ISO 8601 format)").nullable().optional(),
|
|
21
|
+
lastUpdated: zod.z.string().describe("Last update timestamp (ISO 8601 format)").nullable().optional(),
|
|
22
|
+
projectName: zod.z.string().describe("Name of the project/pipeline").nullable().optional()
|
|
23
|
+
}).passthrough().describe("Represents the detailed workflow record from Seqera API.");
|
|
24
|
+
const SeqeraListWorkflows_WorkflowItemSchema = zod.z.object({ workflow: SeqeraListWorkflows_WorkflowDetailsSchema.nullable() }).describe("Wrapper for a workflow record containing the workflow details.");
|
|
25
|
+
const SeqeraListWorkflowsOutput = zod.z.object({
|
|
26
|
+
totalSize: zod.z.number().int().describe("Total number of workflows").nullable().optional(),
|
|
27
|
+
workflows: zod.z.array(SeqeraListWorkflows_WorkflowItemSchema).describe("List of workflow wrapper objects")
|
|
28
|
+
}).describe("Response model for listing Seqera workflows.");
|
|
29
|
+
const seqeraListWorkflows = require_action.action("SEQERA_LIST_WORKFLOWS", {
|
|
30
|
+
slug: "seqera-list-workflows",
|
|
31
|
+
name: "List Workflows",
|
|
32
|
+
description: "Tool to list workflows. Use when you need to retrieve workflows filtered by workspace and paginated.",
|
|
33
|
+
input: SeqeraListWorkflowsInput,
|
|
34
|
+
output: SeqeraListWorkflowsOutput
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
exports.seqeraListWorkflows = seqeraListWorkflows;
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=list-workflows.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-workflows.cjs","names":["z","action"],"sources":["../../src/actions/list-workflows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraListWorkflowsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of workflows to return (pagination size)\").optional(),\n nextToken: z.string().describe(\"Pagination token to retrieve the next set of results\").optional(),\n workspaceId: z.string().describe(\"ID of the workspace to filter workflows\"),\n}).describe(\"Request model for listing Seqera workflows.\");\nconst SeqeraListWorkflows_WorkflowDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the workflow run\"),\n start: z.string().describe(\"Start timestamp (ISO 8601 format)\").nullable().optional(),\n status: z.string().describe(\"Status of the workflow (e.g., SUCCEEDED, FAILED, RUNNING)\"),\n submit: z.string().describe(\"Submit timestamp (ISO 8601 format)\").nullable().optional(),\n ownerId: z.number().int().describe(\"ID of the workflow owner\").nullable().optional(),\n runName: z.string().describe(\"Name of the workflow run\").nullable().optional(),\n workDir: z.string().describe(\"Working directory for the workflow\").nullable().optional(),\n complete: z.string().describe(\"Completion timestamp (ISO 8601 format)\").nullable().optional(),\n revision: z.string().describe(\"Revision or version of the workflow\").nullable().optional(),\n userName: z.string().describe(\"Username of the workflow owner\").nullable().optional(),\n dateCreated: z.string().describe(\"Creation timestamp (ISO 8601 format)\").nullable().optional(),\n lastUpdated: z.string().describe(\"Last update timestamp (ISO 8601 format)\").nullable().optional(),\n projectName: z.string().describe(\"Name of the project/pipeline\").nullable().optional(),\n}).passthrough().describe(\"Represents the detailed workflow record from Seqera API.\");\nconst SeqeraListWorkflows_WorkflowItemSchema: z.ZodTypeAny = z.object({\n workflow: SeqeraListWorkflows_WorkflowDetailsSchema.nullable(),\n}).describe(\"Wrapper for a workflow record containing the workflow details.\");\nexport const SeqeraListWorkflowsOutput: z.ZodTypeAny = z.object({\n totalSize: z.number().int().describe(\"Total number of workflows\").nullable().optional(),\n workflows: z.array(SeqeraListWorkflows_WorkflowItemSchema).describe(\"List of workflow wrapper objects\"),\n}).describe(\"Response model for listing Seqera workflows.\");\n\nexport const seqeraListWorkflows = action(\"SEQERA_LIST_WORKFLOWS\", {\n slug: \"seqera-list-workflows\",\n name: \"List Workflows\",\n description: \"Tool to list workflows. Use when you need to retrieve workflows filtered by workspace and paginated.\",\n input: SeqeraListWorkflowsInput,\n output: SeqeraListWorkflowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC5E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;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;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,kCAAkC;AACxG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-workflows.d.ts
|
|
4
|
+
declare const SeqeraListWorkflowsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SeqeraListWorkflowsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const seqeraListWorkflows: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { seqeraListWorkflows };
|
|
9
|
+
//# sourceMappingURL=list-workflows.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-workflows.d.cts","names":[],"sources":["../../src/actions/list-workflows.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIiB;AAAA,cAmB7C,yBAAA,EAA2B,CAAA,CAAE,UAGiB;AAAA,cAE9C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-workflows.d.ts
|
|
4
|
+
declare const SeqeraListWorkflowsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SeqeraListWorkflowsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const seqeraListWorkflows: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { seqeraListWorkflows };
|
|
9
|
+
//# sourceMappingURL=list-workflows.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-workflows.d.mts","names":[],"sources":["../../src/actions/list-workflows.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIiB;AAAA,cAmB7C,yBAAA,EAA2B,CAAA,CAAE,UAGiB;AAAA,cAE9C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-workflows.ts
|
|
4
|
+
const SeqeraListWorkflowsInput = z.object({
|
|
5
|
+
limit: z.number().int().describe("Maximum number of workflows to return (pagination size)").optional(),
|
|
6
|
+
nextToken: z.string().describe("Pagination token to retrieve the next set of results").optional(),
|
|
7
|
+
workspaceId: z.string().describe("ID of the workspace to filter workflows")
|
|
8
|
+
}).describe("Request model for listing Seqera workflows.");
|
|
9
|
+
const SeqeraListWorkflows_WorkflowDetailsSchema = z.object({
|
|
10
|
+
id: z.string().describe("Unique identifier of the workflow run"),
|
|
11
|
+
start: z.string().describe("Start timestamp (ISO 8601 format)").nullable().optional(),
|
|
12
|
+
status: z.string().describe("Status of the workflow (e.g., SUCCEEDED, FAILED, RUNNING)"),
|
|
13
|
+
submit: z.string().describe("Submit timestamp (ISO 8601 format)").nullable().optional(),
|
|
14
|
+
ownerId: z.number().int().describe("ID of the workflow owner").nullable().optional(),
|
|
15
|
+
runName: z.string().describe("Name of the workflow run").nullable().optional(),
|
|
16
|
+
workDir: z.string().describe("Working directory for the workflow").nullable().optional(),
|
|
17
|
+
complete: z.string().describe("Completion timestamp (ISO 8601 format)").nullable().optional(),
|
|
18
|
+
revision: z.string().describe("Revision or version of the workflow").nullable().optional(),
|
|
19
|
+
userName: z.string().describe("Username of the workflow owner").nullable().optional(),
|
|
20
|
+
dateCreated: z.string().describe("Creation timestamp (ISO 8601 format)").nullable().optional(),
|
|
21
|
+
lastUpdated: z.string().describe("Last update timestamp (ISO 8601 format)").nullable().optional(),
|
|
22
|
+
projectName: z.string().describe("Name of the project/pipeline").nullable().optional()
|
|
23
|
+
}).passthrough().describe("Represents the detailed workflow record from Seqera API.");
|
|
24
|
+
const SeqeraListWorkflows_WorkflowItemSchema = z.object({ workflow: SeqeraListWorkflows_WorkflowDetailsSchema.nullable() }).describe("Wrapper for a workflow record containing the workflow details.");
|
|
25
|
+
const seqeraListWorkflows = action("SEQERA_LIST_WORKFLOWS", {
|
|
26
|
+
slug: "seqera-list-workflows",
|
|
27
|
+
name: "List Workflows",
|
|
28
|
+
description: "Tool to list workflows. Use when you need to retrieve workflows filtered by workspace and paginated.",
|
|
29
|
+
input: SeqeraListWorkflowsInput,
|
|
30
|
+
output: z.object({
|
|
31
|
+
totalSize: z.number().int().describe("Total number of workflows").nullable().optional(),
|
|
32
|
+
workflows: z.array(SeqeraListWorkflows_WorkflowItemSchema).describe("List of workflow wrapper objects")
|
|
33
|
+
}).describe("Response model for listing Seqera workflows.")
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
export { seqeraListWorkflows };
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=list-workflows.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-workflows.mjs","names":[],"sources":["../../src/actions/list-workflows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraListWorkflowsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of workflows to return (pagination size)\").optional(),\n nextToken: z.string().describe(\"Pagination token to retrieve the next set of results\").optional(),\n workspaceId: z.string().describe(\"ID of the workspace to filter workflows\"),\n}).describe(\"Request model for listing Seqera workflows.\");\nconst SeqeraListWorkflows_WorkflowDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the workflow run\"),\n start: z.string().describe(\"Start timestamp (ISO 8601 format)\").nullable().optional(),\n status: z.string().describe(\"Status of the workflow (e.g., SUCCEEDED, FAILED, RUNNING)\"),\n submit: z.string().describe(\"Submit timestamp (ISO 8601 format)\").nullable().optional(),\n ownerId: z.number().int().describe(\"ID of the workflow owner\").nullable().optional(),\n runName: z.string().describe(\"Name of the workflow run\").nullable().optional(),\n workDir: z.string().describe(\"Working directory for the workflow\").nullable().optional(),\n complete: z.string().describe(\"Completion timestamp (ISO 8601 format)\").nullable().optional(),\n revision: z.string().describe(\"Revision or version of the workflow\").nullable().optional(),\n userName: z.string().describe(\"Username of the workflow owner\").nullable().optional(),\n dateCreated: z.string().describe(\"Creation timestamp (ISO 8601 format)\").nullable().optional(),\n lastUpdated: z.string().describe(\"Last update timestamp (ISO 8601 format)\").nullable().optional(),\n projectName: z.string().describe(\"Name of the project/pipeline\").nullable().optional(),\n}).passthrough().describe(\"Represents the detailed workflow record from Seqera API.\");\nconst SeqeraListWorkflows_WorkflowItemSchema: z.ZodTypeAny = z.object({\n workflow: SeqeraListWorkflows_WorkflowDetailsSchema.nullable(),\n}).describe(\"Wrapper for a workflow record containing the workflow details.\");\nexport const SeqeraListWorkflowsOutput: z.ZodTypeAny = z.object({\n totalSize: z.number().int().describe(\"Total number of workflows\").nullable().optional(),\n workflows: z.array(SeqeraListWorkflows_WorkflowItemSchema).describe(\"List of workflow wrapper objects\"),\n}).describe(\"Response model for listing Seqera workflows.\");\n\nexport const seqeraListWorkflows = action(\"SEQERA_LIST_WORKFLOWS\", {\n slug: \"seqera-list-workflows\",\n name: \"List Workflows\",\n description: \"Tool to list workflows. Use when you need to retrieve workfl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AAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,yCAAuD,EAAE,OAAO,EACpE,UAAU,0CAA0C,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAM5E,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqD,EAAE,OAAO;EAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,kCAAkC;CACxG,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/validate-action-name.ts
|
|
4
|
+
const SeqeraValidateActionNameInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("Action name to validate. The API will check if this name is valid and available.").optional(),
|
|
6
|
+
workspaceId: zod.z.number().int().describe("Workspace numeric identifier to validate the action name within a specific workspace context").optional()
|
|
7
|
+
}).describe("Request model for validating an action name in Seqera.");
|
|
8
|
+
const SeqeraValidateActionNameOutput = zod.z.object({
|
|
9
|
+
message: zod.z.string().describe("Validation message or error details if validation fails").nullable().optional(),
|
|
10
|
+
is_valid: zod.z.boolean().describe("Whether the action name is valid and available. True if validation succeeds (HTTP 204), False otherwise."),
|
|
11
|
+
status_code: zod.z.number().int().describe("HTTP status code returned by the validation endpoint")
|
|
12
|
+
}).describe("Response model for action name validation.");
|
|
13
|
+
const seqeraValidateActionName = require_action.action("SEQERA_VALIDATE_ACTION_NAME", {
|
|
14
|
+
slug: "seqera-validate-action-name",
|
|
15
|
+
name: "Validate Action Name",
|
|
16
|
+
description: "Tool to validate action name. Use when you need to confirm if an action name is valid and available before creating an action. Returns validation status with details.",
|
|
17
|
+
input: SeqeraValidateActionNameInput,
|
|
18
|
+
output: SeqeraValidateActionNameOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.seqeraValidateActionName = seqeraValidateActionName;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=validate-action-name.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-action-name.cjs","names":["z","action"],"sources":["../../src/actions/validate-action-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraValidateActionNameInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Action name to validate. The API will check if this name is valid and available.\").optional(),\n workspaceId: z.number().int().describe(\"Workspace numeric identifier to validate the action name within a specific workspace context\").optional(),\n}).describe(\"Request model for validating an action name in Seqera.\");\nexport const SeqeraValidateActionNameOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Validation message or error details if validation fails\").nullable().optional(),\n is_valid: z.boolean().describe(\"Whether the action name is valid and available. True if validation succeeds (HTTP 204), False otherwise.\"),\n status_code: z.number().int().describe(\"HTTP status code returned by the validation endpoint\"),\n}).describe(\"Response model for action name validation.\");\n\nexport const seqeraValidateActionName = action(\"SEQERA_VALIDATE_ACTION_NAME\", {\n slug: \"seqera-validate-action-name\",\n name: \"Validate Action Name\",\n description: \"Tool to validate action name. Use when you need to confirm if an action name is valid and available before creating an action. Returns validation status with details.\",\n input: SeqeraValidateActionNameInput,\n output: SeqeraValidateActionNameOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACvH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0GAA0G;CACzI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;AAC/F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/validate-action-name.d.ts
|
|
4
|
+
declare const SeqeraValidateActionNameInput: z.ZodTypeAny;
|
|
5
|
+
declare const SeqeraValidateActionNameOutput: z.ZodTypeAny;
|
|
6
|
+
declare const seqeraValidateActionName: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { seqeraValidateActionName };
|
|
9
|
+
//# sourceMappingURL=validate-action-name.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-action-name.d.cts","names":[],"sources":["../../src/actions/validate-action-name.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAGuB;AAAA,cACxD,8BAAA,EAAgC,CAAA,CAAE,UAIU;AAAA,cAE5C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/validate-action-name.d.ts
|
|
4
|
+
declare const SeqeraValidateActionNameInput: z.ZodTypeAny;
|
|
5
|
+
declare const SeqeraValidateActionNameOutput: z.ZodTypeAny;
|
|
6
|
+
declare const seqeraValidateActionName: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { seqeraValidateActionName };
|
|
9
|
+
//# sourceMappingURL=validate-action-name.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-action-name.d.mts","names":[],"sources":["../../src/actions/validate-action-name.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAGuB;AAAA,cACxD,8BAAA,EAAgC,CAAA,CAAE,UAIU;AAAA,cAE5C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const seqeraValidateActionName = action("SEQERA_VALIDATE_ACTION_NAME", {
|
|
4
|
+
slug: "seqera-validate-action-name",
|
|
5
|
+
name: "Validate Action Name",
|
|
6
|
+
description: "Tool to validate action name. Use when you need to confirm if an action name is valid and available before creating an action. Returns validation status with details.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
name: z.string().describe("Action name to validate. The API will check if this name is valid and available.").optional(),
|
|
9
|
+
workspaceId: z.number().int().describe("Workspace numeric identifier to validate the action name within a specific workspace context").optional()
|
|
10
|
+
}).describe("Request model for validating an action name in Seqera."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
message: z.string().describe("Validation message or error details if validation fails").nullable().optional(),
|
|
13
|
+
is_valid: z.boolean().describe("Whether the action name is valid and available. True if validation succeeds (HTTP 204), False otherwise."),
|
|
14
|
+
status_code: z.number().int().describe("HTTP status code returned by the validation endpoint")
|
|
15
|
+
}).describe("Response model for action name validation.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { seqeraValidateActionName };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=validate-action-name.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-action-name.mjs","names":[],"sources":["../../src/actions/validate-action-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraValidateActionNameInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Action name to validate. The API will check if this name is valid and available.\").optional(),\n workspaceId: z.number().int().describe(\"Workspace numeric identifier to validate the action name within a specific workspace context\").optional(),\n}).describe(\"Request model for validating an action name in Seqera.\");\nexport const SeqeraValidateActionNameOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Validation message or error details if validation fails\").nullable().optional(),\n is_valid: z.boolean().describe(\"Whether the action name is valid and available. True if validation succeeds (HTTP 204), False otherwise.\"),\n status_code: z.number().int().describe(\"HTTP status code returned by the validation endpoint\"),\n}).describe(\"Response model for action name validation.\");\n\nexport const seqeraValidateActionName = action(\"SEQERA_VALIDATE_ACTION_NAME\", {\n slug: \"seqera-validate-action-name\",\n name: \"Validate Action Name\",\n description: \"Tool to validate action name. Use when you need to confirm if an action name is valid and available before creating an action. Returns validation status with details.\",\n input: SeqeraValidateActionNameInput,\n output: SeqeraValidateActionNameOutput,\n});\n"],"mappings":";;AAcA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdyD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACvH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,SAAS,wDAWH;CACP,QAX0D,EAAE,OAAO;EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0GAA0G;EACzI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CAC/F,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/validate-pipeline-name.ts
|
|
4
|
+
const SeqeraValidatePipelineNameInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("Pipeline name to validate. If omitted, validates without a specific name.").optional(),
|
|
6
|
+
orgId: zod.z.number().int().describe("Organization numeric identifier. If provided, validates the name in an organization context.").optional(),
|
|
7
|
+
workspaceId: zod.z.number().int().describe("Workspace numeric identifier. If provided, validates the name in a workspace context. If omitted, validates in the default user context.").optional()
|
|
8
|
+
}).describe("Request model for validating a pipeline name.");
|
|
9
|
+
const SeqeraValidatePipelineNameOutput = zod.z.object({
|
|
10
|
+
message: zod.z.string().describe("Additional message or error details from the validation response, if any.").nullable().optional(),
|
|
11
|
+
is_valid: zod.z.boolean().describe("Whether the pipeline name is valid. True if the name is available and valid, False otherwise."),
|
|
12
|
+
status_code: zod.z.number().int().describe("HTTP status code from the validation request. 204 indicates valid/available name, 400/403/409 indicate issues.")
|
|
13
|
+
}).describe("Response model for pipeline name validation.");
|
|
14
|
+
const seqeraValidatePipelineName = require_action.action("SEQERA_VALIDATE_PIPELINE_NAME", {
|
|
15
|
+
slug: "seqera-validate-pipeline-name",
|
|
16
|
+
name: "Validate Pipeline Name",
|
|
17
|
+
description: "Tool to validate a pipeline name. Use when you need to check if a given pipeline name is valid and available before creating or updating one.",
|
|
18
|
+
input: SeqeraValidatePipelineNameInput,
|
|
19
|
+
output: SeqeraValidatePipelineNameOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.seqeraValidatePipelineName = seqeraValidatePipelineName;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=validate-pipeline-name.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-pipeline-name.cjs","names":["z","action"],"sources":["../../src/actions/validate-pipeline-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraValidatePipelineNameInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Pipeline name to validate. If omitted, validates without a specific name.\").optional(),\n orgId: z.number().int().describe(\"Organization numeric identifier. If provided, validates the name in an organization context.\").optional(),\n workspaceId: z.number().int().describe(\"Workspace numeric identifier. If provided, validates the name in a workspace context. If omitted, validates in the default user context.\").optional(),\n}).describe(\"Request model for validating a pipeline name.\");\nexport const SeqeraValidatePipelineNameOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Additional message or error details from the validation response, if any.\").nullable().optional(),\n is_valid: z.boolean().describe(\"Whether the pipeline name is valid. True if the name is available and valid, False otherwise.\"),\n status_code: z.number().int().describe(\"HTTP status code from the validation request. 204 indicates valid/available name, 400/403/409 indicate issues.\"),\n}).describe(\"Response model for pipeline name validation.\");\n\nexport const seqeraValidatePipelineName = action(\"SEQERA_VALIDATE_PIPELINE_NAME\", {\n slug: \"seqera-validate-pipeline-name\",\n name: \"Validate Pipeline Name\",\n description: \"Tool to validate a pipeline name. Use when you need to check if a given pipeline name is valid and available before creating or updating one.\",\n input: SeqeraValidatePipelineNameInput,\n output: SeqeraValidatePipelineNameOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC1I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;AAC9L,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F;CAC9H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH;AACzJ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/validate-pipeline-name.d.ts
|
|
4
|
+
declare const SeqeraValidatePipelineNameInput: z.ZodTypeAny;
|
|
5
|
+
declare const SeqeraValidatePipelineNameOutput: z.ZodTypeAny;
|
|
6
|
+
declare const seqeraValidatePipelineName: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { seqeraValidatePipelineName };
|
|
9
|
+
//# sourceMappingURL=validate-pipeline-name.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-pipeline-name.d.cts","names":[],"sources":["../../src/actions/validate-pipeline-name.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAIY;AAAA,cAC/C,gCAAA,EAAkC,CAAA,CAAE,UAIU;AAAA,cAE9C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/validate-pipeline-name.d.ts
|
|
4
|
+
declare const SeqeraValidatePipelineNameInput: z.ZodTypeAny;
|
|
5
|
+
declare const SeqeraValidatePipelineNameOutput: z.ZodTypeAny;
|
|
6
|
+
declare const seqeraValidatePipelineName: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { seqeraValidatePipelineName };
|
|
9
|
+
//# sourceMappingURL=validate-pipeline-name.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-pipeline-name.d.mts","names":[],"sources":["../../src/actions/validate-pipeline-name.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAIY;AAAA,cAC/C,gCAAA,EAAkC,CAAA,CAAE,UAIU;AAAA,cAE9C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const seqeraValidatePipelineName = action("SEQERA_VALIDATE_PIPELINE_NAME", {
|
|
4
|
+
slug: "seqera-validate-pipeline-name",
|
|
5
|
+
name: "Validate Pipeline Name",
|
|
6
|
+
description: "Tool to validate a pipeline name. Use when you need to check if a given pipeline name is valid and available before creating or updating one.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
name: z.string().describe("Pipeline name to validate. If omitted, validates without a specific name.").optional(),
|
|
9
|
+
orgId: z.number().int().describe("Organization numeric identifier. If provided, validates the name in an organization context.").optional(),
|
|
10
|
+
workspaceId: z.number().int().describe("Workspace numeric identifier. If provided, validates the name in a workspace context. If omitted, validates in the default user context.").optional()
|
|
11
|
+
}).describe("Request model for validating a pipeline name."),
|
|
12
|
+
output: z.object({
|
|
13
|
+
message: z.string().describe("Additional message or error details from the validation response, if any.").nullable().optional(),
|
|
14
|
+
is_valid: z.boolean().describe("Whether the pipeline name is valid. True if the name is available and valid, False otherwise."),
|
|
15
|
+
status_code: z.number().int().describe("HTTP status code from the validation request. 204 indicates valid/available name, 400/403/409 indicate issues.")
|
|
16
|
+
}).describe("Response model for pipeline name validation.")
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { seqeraValidatePipelineName };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=validate-pipeline-name.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-pipeline-name.mjs","names":[],"sources":["../../src/actions/validate-pipeline-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraValidatePipelineNameInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Pipeline name to validate. If omitted, validates without a specific name.\").optional(),\n orgId: z.number().int().describe(\"Organization numeric identifier. If provided, validates the name in an organization context.\").optional(),\n workspaceId: z.number().int().describe(\"Workspace numeric identifier. If provided, validates the name in a workspace context. If omitted, validates in the default user context.\").optional(),\n}).describe(\"Request model for validating a pipeline name.\");\nexport const SeqeraValidatePipelineNameOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Additional message or error details from the validation response, if any.\").nullable().optional(),\n is_valid: z.boolean().describe(\"Whether the pipeline name is valid. True if the name is available and valid, False otherwise.\"),\n status_code: z.number().int().describe(\"HTTP status code from the validation request. 204 indicates valid/available name, 400/403/409 indicate issues.\"),\n}).describe(\"Response model for pipeline name validation.\");\n\nexport const seqeraValidatePipelineName = action(\"SEQERA_VALIDATE_PIPELINE_NAME\", {\n slug: \"seqera-validate-pipeline-name\",\n name: \"Validate Pipeline Name\",\n description: \"Tool to validate a pipeline name. Use when you need to check if a given pipeline name is valid and available before creating or updating one.\",\n input: SeqeraValidatePipelineNameInput,\n output: SeqeraValidatePipelineNameOutput,\n});\n"],"mappings":";;AAeA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAChH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EAC1I,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;CAC9L,CAAC,CAAC,CAAC,SAAS,+CAWH;CACP,QAX4D,EAAE,OAAO;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F;EAC9H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH;CACzJ,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const seqera = defineApp({\n slug: \"seqera\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,UAAA,uCAAA,CAAA,CAAA,UAAA,CAAmB;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
|