@keystrokehq/seqera 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-wave-container.cjs +1 -1
- package/dist/actions/create-wave-container.cjs.map +1 -1
- package/dist/actions/create-wave-container.d.cts +67 -3
- package/dist/actions/create-wave-container.d.cts.map +1 -1
- package/dist/actions/create-wave-container.d.mts +67 -3
- package/dist/actions/create-wave-container.d.mts.map +1 -1
- package/dist/actions/create-wave-container.mjs +1 -1
- package/dist/actions/create-wave-container.mjs.map +1 -1
- package/dist/actions/get-organization-details.cjs +2 -2
- package/dist/actions/get-organization-details.cjs.map +1 -1
- package/dist/actions/get-organization-details.d.cts +20 -3
- package/dist/actions/get-organization-details.d.cts.map +1 -1
- package/dist/actions/get-organization-details.d.mts +20 -3
- package/dist/actions/get-organization-details.d.mts.map +1 -1
- package/dist/actions/get-organization-details.mjs +2 -2
- package/dist/actions/get-organization-details.mjs.map +1 -1
- package/dist/actions/get-service-info.cjs +2 -2
- package/dist/actions/get-service-info.cjs.map +1 -1
- package/dist/actions/get-service-info.d.cts +8 -3
- package/dist/actions/get-service-info.d.cts.map +1 -1
- package/dist/actions/get-service-info.d.mts +8 -3
- package/dist/actions/get-service-info.d.mts.map +1 -1
- package/dist/actions/get-service-info.mjs +2 -2
- package/dist/actions/get-service-info.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +5 -5
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +22 -3
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +22 -3
- package/dist/actions/get-user-info.d.mts.map +1 -1
- package/dist/actions/get-user-info.mjs +5 -5
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/get-wave-build-logs.cjs +1 -1
- package/dist/actions/get-wave-build-logs.cjs.map +1 -1
- package/dist/actions/get-wave-build-logs.d.cts +9 -3
- package/dist/actions/get-wave-build-logs.d.cts.map +1 -1
- package/dist/actions/get-wave-build-logs.d.mts +9 -3
- package/dist/actions/get-wave-build-logs.d.mts.map +1 -1
- package/dist/actions/get-wave-build-logs.mjs +1 -1
- package/dist/actions/get-wave-build-logs.mjs.map +1 -1
- package/dist/actions/get-wave-build-status.cjs.map +1 -1
- package/dist/actions/get-wave-build-status.d.cts +16 -3
- package/dist/actions/get-wave-build-status.d.cts.map +1 -1
- package/dist/actions/get-wave-build-status.d.mts +16 -3
- package/dist/actions/get-wave-build-status.d.mts.map +1 -1
- package/dist/actions/get-wave-build-status.mjs.map +1 -1
- package/dist/actions/inspect-wave-container.cjs.map +1 -1
- package/dist/actions/inspect-wave-container.d.cts +26 -3
- package/dist/actions/inspect-wave-container.d.cts.map +1 -1
- package/dist/actions/inspect-wave-container.d.mts +26 -3
- package/dist/actions/inspect-wave-container.d.mts.map +1 -1
- package/dist/actions/inspect-wave-container.mjs.map +1 -1
- package/dist/actions/list-action-event-types.cjs +4 -4
- package/dist/actions/list-action-event-types.cjs.map +1 -1
- package/dist/actions/list-action-event-types.d.cts +14 -3
- package/dist/actions/list-action-event-types.d.cts.map +1 -1
- package/dist/actions/list-action-event-types.d.mts +14 -3
- package/dist/actions/list-action-event-types.d.mts.map +1 -1
- package/dist/actions/list-action-event-types.mjs +4 -4
- package/dist/actions/list-action-event-types.mjs.map +1 -1
- package/dist/actions/list-compute-environments.cjs +2 -2
- package/dist/actions/list-compute-environments.cjs.map +1 -1
- package/dist/actions/list-compute-environments.d.cts +30 -3
- package/dist/actions/list-compute-environments.d.cts.map +1 -1
- package/dist/actions/list-compute-environments.d.mts +30 -3
- package/dist/actions/list-compute-environments.d.mts.map +1 -1
- package/dist/actions/list-compute-environments.mjs +2 -2
- package/dist/actions/list-compute-environments.mjs.map +1 -1
- package/dist/actions/list-organizations.cjs +2 -2
- package/dist/actions/list-organizations.cjs.map +1 -1
- package/dist/actions/list-organizations.d.cts +18 -3
- package/dist/actions/list-organizations.d.cts.map +1 -1
- package/dist/actions/list-organizations.d.mts +18 -3
- package/dist/actions/list-organizations.d.mts.map +1 -1
- package/dist/actions/list-organizations.mjs +2 -2
- package/dist/actions/list-organizations.mjs.map +1 -1
- package/dist/actions/list-pipelines.cjs +6 -6
- package/dist/actions/list-pipelines.cjs.map +1 -1
- package/dist/actions/list-pipelines.d.cts +29 -3
- package/dist/actions/list-pipelines.d.cts.map +1 -1
- package/dist/actions/list-pipelines.d.mts +29 -3
- package/dist/actions/list-pipelines.d.mts.map +1 -1
- package/dist/actions/list-pipelines.mjs +6 -6
- package/dist/actions/list-pipelines.mjs.map +1 -1
- package/dist/actions/list-workflows.cjs +2 -2
- package/dist/actions/list-workflows.cjs.map +1 -1
- package/dist/actions/list-workflows.d.cts +30 -3
- package/dist/actions/list-workflows.d.cts.map +1 -1
- package/dist/actions/list-workflows.d.mts +30 -3
- package/dist/actions/list-workflows.d.mts.map +1 -1
- package/dist/actions/list-workflows.mjs +2 -2
- package/dist/actions/list-workflows.mjs.map +1 -1
- package/dist/actions/validate-action-name.cjs +2 -2
- package/dist/actions/validate-action-name.cjs.map +1 -1
- package/dist/actions/validate-action-name.d.cts +13 -3
- package/dist/actions/validate-action-name.d.cts.map +1 -1
- package/dist/actions/validate-action-name.d.mts +13 -3
- package/dist/actions/validate-action-name.d.mts.map +1 -1
- package/dist/actions/validate-action-name.mjs +2 -2
- package/dist/actions/validate-action-name.mjs.map +1 -1
- package/dist/actions/validate-pipeline-name.cjs +2 -2
- package/dist/actions/validate-pipeline-name.cjs.map +1 -1
- package/dist/actions/validate-pipeline-name.d.cts +15 -3
- package/dist/actions/validate-pipeline-name.d.cts.map +1 -1
- package/dist/actions/validate-pipeline-name.d.mts +15 -3
- package/dist/actions/validate-pipeline-name.d.mts.map +1 -1
- package/dist/actions/validate-pipeline-name.mjs +2 -2
- package/dist/actions/validate-pipeline-name.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["seqera","executeSeqeraTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { seqera } from \"./app\";\nimport { executeSeqeraTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["seqera","executeSeqeraTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { seqera } from \"./app\";\nimport { executeSeqeraTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return seqera.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSeqeraTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { seqera } from \"./app\";\nimport { executeSeqeraTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { seqera } from \"./app\";\nimport { executeSeqeraTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return seqera.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSeqeraTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
|
|
@@ -34,7 +34,7 @@ const SeqeraCreateWaveContainerOutput = zod.z.object({
|
|
|
34
34
|
cached: zod.z.boolean().describe("Indicates if the requested image is already built or in progress").nullable().optional(),
|
|
35
35
|
buildId: zod.z.string().describe("Build identifier if the container was built (only present for build operations)").nullable().optional(),
|
|
36
36
|
expiration: zod.z.string().describe("Expiration timestamp in ISO-8601 format (e.g., '2024-12-31T23:59:59Z')").nullable().optional(),
|
|
37
|
-
targetImage: zod.z.string().describe("Wave container image name that can be accessed via Docker or OCI-compliant clients"),
|
|
37
|
+
targetImage: zod.z.string().describe("Wave container image name that can be accessed via Docker or OCI-compliant clients").nullable(),
|
|
38
38
|
containerToken: zod.z.string().describe("Unique token identifying the Wave container request").nullable().optional()
|
|
39
39
|
}).describe("Response model for Wave container creation.");
|
|
40
40
|
const seqeraCreateWaveContainer = require_action.action("SEQERA_CREATE_WAVE_CONTAINER", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-wave-container.cjs","names":["z","action"],"sources":["../../src/actions/create-wave-container.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraCreateWaveContainerInput
|
|
1
|
+
{"version":3,"file":"create-wave-container.cjs","names":["z","action"],"sources":["../../src/actions/create-wave-container.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraCreateWaveContainerInput = z.object({\n freeze: z.boolean().describe(\"If true, pushes the container to user-defined repository with a permanent URL (prevents expiration)\").optional(),\n packages: z.object({\n type: z.enum([\"CONDA\", \"CRAN\"]).describe(\"Type of packages (CONDA or CRAN)\"),\n entries: z.array(z.string()).describe(\"List of package names to install\"),\n options: z.object({}).describe(\"Additional package manager options as key-value pairs\").optional(),\n channels: z.array(z.string()).describe(\"Package channels for Conda (e.g., conda-forge, bioconda)\").optional(),\n}).describe(\"Specification for Conda or CRAN packages.\").optional(),\n condaFile: z.string().describe(\"Base64-encoded Conda environment YAML file for building a container\").optional(),\n nameStrategy: z.enum([\"none\", \"tagPrefix\", \"imageSuffix\"]).describe(\"Enum for container name strategies.\").optional(),\n containerFile: z.string().describe(\"Base64-encoded Dockerfile content for building a new container. Required if containerImage and packages are not provided.\").optional(),\n containerImage: z.string().describe(\"Name of the container to be served (e.g., 'docker.io/library/ubuntu:latest'). Required if containerFile and packages are not provided.\").optional(),\n buildRepository: z.string().describe(\"Container repository where container builds should be pushed\").optional(),\n cacheRepository: z.string().describe(\"Container repository used to cache build layers\").optional(),\n containerConfig: z.object({\n cmd: z.array(z.string()).describe(\"Override container command\").optional(),\n env: z.array(z.string()).describe(\"Environment variables in KEY=VALUE format\").optional(),\n layers: z.array(z.object({})).describe(\"Custom container layers\").optional(),\n entrypoint: z.array(z.string()).describe(\"Override container entrypoint\").optional(),\n workingDir: z.string().describe(\"Container working directory\").optional(),\n}).describe(\"Configuration for container customization.\").optional(),\n towerAccessToken: z.string().describe(\"Seqera Platform access token for authentication\").optional(),\n towerWorkspaceId: z.number().int().describe(\"Seqera Platform workspace ID for retrieving credentials\").optional(),\n containerPlatform: z.enum([\"linux/amd64\", \"linux/arm64\"]).describe(\"Enum for container platform architectures.\").optional(),\n}).describe(\"Request model for creating a Wave container via the v1alpha2 API.\");\nexport const SeqeraCreateWaveContainerOutput = z.object({\n cached: z.boolean().describe(\"Indicates if the requested image is already built or in progress\").nullable().optional(),\n buildId: z.string().describe(\"Build identifier if the container was built (only present for build operations)\").nullable().optional(),\n expiration: z.string().describe(\"Expiration timestamp in ISO-8601 format (e.g., '2024-12-31T23:59:59Z')\").nullable().optional(),\n targetImage: z.string().describe(\"Wave container image name that can be accessed via Docker or OCI-compliant clients\").nullable(),\n containerToken: z.string().describe(\"Unique token identifying the Wave container request\").nullable().optional(),\n}).describe(\"Response model for Wave container creation.\");\n\nexport const seqeraCreateWaveContainer = action(\"SEQERA_CREATE_WAVE_CONTAINER\", {\n slug: \"seqera-create-wave-container\",\n name: \"Create Wave Container\",\n description: \"Tool to submit a request to Wave for accessing a private container registry or building a container image on-the-fly. Use when you need to provision containers via Wave with Dockerfile, Conda recipe, or package specifications. Returns the name of the container made available by Wave.\",\n input: SeqeraCreateWaveContainerInput,\n output: SeqeraCreateWaveContainerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC7I,UAAUA,IAAAA,EAAE,OAAO;EACnB,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,kCAA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";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-wave-container.d.ts
|
|
4
|
-
declare const SeqeraCreateWaveContainerInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SeqeraCreateWaveContainerInput: z.ZodObject<{
|
|
5
|
+
freeze: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
packages: z.ZodOptional<z.ZodObject<{
|
|
7
|
+
type: z.ZodEnum<{
|
|
8
|
+
CONDA: "CONDA";
|
|
9
|
+
CRAN: "CRAN";
|
|
10
|
+
}>;
|
|
11
|
+
entries: z.ZodArray<z.ZodString>;
|
|
12
|
+
options: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
13
|
+
channels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
condaFile: z.ZodOptional<z.ZodString>;
|
|
16
|
+
nameStrategy: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
none: "none";
|
|
18
|
+
tagPrefix: "tagPrefix";
|
|
19
|
+
imageSuffix: "imageSuffix";
|
|
20
|
+
}>>;
|
|
21
|
+
containerFile: z.ZodOptional<z.ZodString>;
|
|
22
|
+
containerImage: z.ZodOptional<z.ZodString>;
|
|
23
|
+
buildRepository: z.ZodOptional<z.ZodString>;
|
|
24
|
+
cacheRepository: z.ZodOptional<z.ZodString>;
|
|
25
|
+
containerConfig: z.ZodOptional<z.ZodObject<{
|
|
26
|
+
cmd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
|
+
env: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
|
+
layers: z.ZodOptional<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>;
|
|
29
|
+
entrypoint: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30
|
+
workingDir: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$strip>>;
|
|
32
|
+
towerAccessToken: z.ZodOptional<z.ZodString>;
|
|
33
|
+
towerWorkspaceId: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
containerPlatform: z.ZodOptional<z.ZodEnum<{
|
|
35
|
+
"linux/amd64": "linux/amd64";
|
|
36
|
+
"linux/arm64": "linux/arm64";
|
|
37
|
+
}>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
declare const SeqeraCreateWaveContainerOutput: z.ZodObject<{
|
|
40
|
+
cached: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
41
|
+
buildId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
expiration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
targetImage: z.ZodNullable<z.ZodString>;
|
|
44
|
+
containerToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
declare const seqeraCreateWaveContainer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
|
+
freeze?: boolean | undefined;
|
|
48
|
+
packages?: {
|
|
49
|
+
type: "CONDA" | "CRAN";
|
|
50
|
+
entries: string[];
|
|
51
|
+
options?: Record<string, never> | undefined;
|
|
52
|
+
channels?: string[] | undefined;
|
|
53
|
+
} | undefined;
|
|
54
|
+
condaFile?: string | undefined;
|
|
55
|
+
nameStrategy?: "none" | "tagPrefix" | "imageSuffix" | undefined;
|
|
56
|
+
containerFile?: string | undefined;
|
|
57
|
+
containerImage?: string | undefined;
|
|
58
|
+
buildRepository?: string | undefined;
|
|
59
|
+
cacheRepository?: string | undefined;
|
|
60
|
+
containerConfig?: {
|
|
61
|
+
cmd?: string[] | undefined;
|
|
62
|
+
env?: string[] | undefined;
|
|
63
|
+
layers?: Record<string, never>[] | undefined;
|
|
64
|
+
entrypoint?: string[] | undefined;
|
|
65
|
+
workingDir?: string | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
towerAccessToken?: string | undefined;
|
|
68
|
+
towerWorkspaceId?: number | undefined;
|
|
69
|
+
containerPlatform?: "linux/amd64" | "linux/arm64" | undefined;
|
|
70
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
71
|
//#endregion
|
|
8
72
|
export { seqeraCreateWaveContainer };
|
|
9
73
|
//# sourceMappingURL=create-wave-container.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-wave-container.d.cts","names":[],"sources":["../../src/actions/create-wave-container.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"create-wave-container.d.cts","names":[],"sources":["../../src/actions/create-wave-container.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAQ/B,yBAAA,gCAAyB,wBAAA;;;;;cAMpC,MAAA;;;;;;;;;;;;aAAA,MAAA"}
|
|
@@ -1,9 +1,73 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-wave-container.d.ts
|
|
4
|
-
declare const SeqeraCreateWaveContainerInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SeqeraCreateWaveContainerInput: z.ZodObject<{
|
|
5
|
+
freeze: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
packages: z.ZodOptional<z.ZodObject<{
|
|
7
|
+
type: z.ZodEnum<{
|
|
8
|
+
CONDA: "CONDA";
|
|
9
|
+
CRAN: "CRAN";
|
|
10
|
+
}>;
|
|
11
|
+
entries: z.ZodArray<z.ZodString>;
|
|
12
|
+
options: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
13
|
+
channels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
condaFile: z.ZodOptional<z.ZodString>;
|
|
16
|
+
nameStrategy: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
none: "none";
|
|
18
|
+
tagPrefix: "tagPrefix";
|
|
19
|
+
imageSuffix: "imageSuffix";
|
|
20
|
+
}>>;
|
|
21
|
+
containerFile: z.ZodOptional<z.ZodString>;
|
|
22
|
+
containerImage: z.ZodOptional<z.ZodString>;
|
|
23
|
+
buildRepository: z.ZodOptional<z.ZodString>;
|
|
24
|
+
cacheRepository: z.ZodOptional<z.ZodString>;
|
|
25
|
+
containerConfig: z.ZodOptional<z.ZodObject<{
|
|
26
|
+
cmd: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
|
+
env: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
|
+
layers: z.ZodOptional<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>;
|
|
29
|
+
entrypoint: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30
|
+
workingDir: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$strip>>;
|
|
32
|
+
towerAccessToken: z.ZodOptional<z.ZodString>;
|
|
33
|
+
towerWorkspaceId: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
containerPlatform: z.ZodOptional<z.ZodEnum<{
|
|
35
|
+
"linux/amd64": "linux/amd64";
|
|
36
|
+
"linux/arm64": "linux/arm64";
|
|
37
|
+
}>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
declare const SeqeraCreateWaveContainerOutput: z.ZodObject<{
|
|
40
|
+
cached: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
41
|
+
buildId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
expiration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
targetImage: z.ZodNullable<z.ZodString>;
|
|
44
|
+
containerToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
declare const seqeraCreateWaveContainer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
|
+
freeze?: boolean | undefined;
|
|
48
|
+
packages?: {
|
|
49
|
+
type: "CONDA" | "CRAN";
|
|
50
|
+
entries: string[];
|
|
51
|
+
options?: Record<string, never> | undefined;
|
|
52
|
+
channels?: string[] | undefined;
|
|
53
|
+
} | undefined;
|
|
54
|
+
condaFile?: string | undefined;
|
|
55
|
+
nameStrategy?: "none" | "tagPrefix" | "imageSuffix" | undefined;
|
|
56
|
+
containerFile?: string | undefined;
|
|
57
|
+
containerImage?: string | undefined;
|
|
58
|
+
buildRepository?: string | undefined;
|
|
59
|
+
cacheRepository?: string | undefined;
|
|
60
|
+
containerConfig?: {
|
|
61
|
+
cmd?: string[] | undefined;
|
|
62
|
+
env?: string[] | undefined;
|
|
63
|
+
layers?: Record<string, never>[] | undefined;
|
|
64
|
+
entrypoint?: string[] | undefined;
|
|
65
|
+
workingDir?: string | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
towerAccessToken?: string | undefined;
|
|
68
|
+
towerWorkspaceId?: number | undefined;
|
|
69
|
+
containerPlatform?: "linux/amd64" | "linux/arm64" | undefined;
|
|
70
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
71
|
//#endregion
|
|
8
72
|
export { seqeraCreateWaveContainer };
|
|
9
73
|
//# sourceMappingURL=create-wave-container.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-wave-container.d.mts","names":[],"sources":["../../src/actions/create-wave-container.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"create-wave-container.d.mts","names":[],"sources":["../../src/actions/create-wave-container.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAQ/B,yBAAA,gCAAyB,wBAAA;;;;;cAMpC,MAAA;;;;;;;;;;;;aAAA,MAAA"}
|
|
@@ -37,7 +37,7 @@ const seqeraCreateWaveContainer = action("SEQERA_CREATE_WAVE_CONTAINER", {
|
|
|
37
37
|
cached: z.boolean().describe("Indicates if the requested image is already built or in progress").nullable().optional(),
|
|
38
38
|
buildId: z.string().describe("Build identifier if the container was built (only present for build operations)").nullable().optional(),
|
|
39
39
|
expiration: z.string().describe("Expiration timestamp in ISO-8601 format (e.g., '2024-12-31T23:59:59Z')").nullable().optional(),
|
|
40
|
-
targetImage: z.string().describe("Wave container image name that can be accessed via Docker or OCI-compliant clients"),
|
|
40
|
+
targetImage: z.string().describe("Wave container image name that can be accessed via Docker or OCI-compliant clients").nullable(),
|
|
41
41
|
containerToken: z.string().describe("Unique token identifying the Wave container request").nullable().optional()
|
|
42
42
|
}).describe("Response model for Wave container creation.")
|
|
43
43
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-wave-container.mjs","names":[],"sources":["../../src/actions/create-wave-container.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraCreateWaveContainerInput
|
|
1
|
+
{"version":3,"file":"create-wave-container.mjs","names":[],"sources":["../../src/actions/create-wave-container.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraCreateWaveContainerInput = z.object({\n freeze: z.boolean().describe(\"If true, pushes the container to user-defined repository with a permanent URL (prevents expiration)\").optional(),\n packages: z.object({\n type: z.enum([\"CONDA\", \"CRAN\"]).describe(\"Type of packages (CONDA or CRAN)\"),\n entries: z.array(z.string()).describe(\"List of package names to install\"),\n options: z.object({}).describe(\"Additional package manager options as key-value pairs\").optional(),\n channels: z.array(z.string()).describe(\"Package channels for Conda (e.g., conda-forge, bioconda)\").optional(),\n}).describe(\"Specification for Conda or CRAN packages.\").optional(),\n condaFile: z.string().describe(\"Base64-encoded Conda environment YAML file for building a container\").optional(),\n nameStrategy: z.enum([\"none\", \"tagPrefix\", \"imageSuffix\"]).describe(\"Enum for container name strategies.\").optional(),\n containerFile: z.string().describe(\"Base64-encoded Dockerfile content for building a new container. Required if containerImage and packages are not provided.\").optional(),\n containerImage: z.string().describe(\"Name of the container to be served (e.g., 'docker.io/library/ubuntu:latest'). Required if containerFile and packages are not provided.\").optional(),\n buildRepository: z.string().describe(\"Container repository where container builds should be pushed\").optional(),\n cacheRepository: z.string().describe(\"Container repository used to cache build layers\").optional(),\n containerConfig: z.object({\n cmd: z.array(z.string()).describe(\"Override container command\").optional(),\n env: z.array(z.string()).describe(\"Environment variables in KEY=VALUE format\").optional(),\n layers: z.array(z.object({})).describe(\"Custom container layers\").optional(),\n entrypoint: z.array(z.string()).describe(\"Override container entrypoint\").optional(),\n workingDir: z.string().describe(\"Container working directory\").optional(),\n}).describe(\"Configuration for container customization.\").optional(),\n towerAccessToken: z.string().describe(\"Seqera Platform access token for authentication\").optional(),\n towerWorkspaceId: z.number().int().describe(\"Seqera Platform workspace ID for retrieving credentials\").optional(),\n containerPlatform: z.enum([\"linux/amd64\", \"linux/arm64\"]).describe(\"Enum for container platform architectures.\").optional(),\n}).describe(\"Request model for creating a Wave container via the v1alpha2 API.\");\nexport const SeqeraCreateWaveContainerOutput = z.object({\n cached: z.boolean().describe(\"Indicates if the requested image is already built or in progress\").nullable().optional(),\n buildId: z.string().describe(\"Build identifier if the container was built (only present for build operations)\").nullable().optional(),\n expiration: z.string().describe(\"Expiration timestamp in ISO-8601 format (e.g., '2024-12-31T23:59:59Z')\").nullable().optional(),\n targetImage: z.string().describe(\"Wave container image name that can be accessed via Docker or OCI-compliant clients\").nullable(),\n containerToken: z.string().describe(\"Unique token identifying the Wave container request\").nullable().optional(),\n}).describe(\"Response model for Wave container creation.\");\n\nexport const seqeraCreateWaveContainer = action(\"SEQERA_CREATE_WAVE_CONTAINER\", {\n slug: \"seqera-create-wave-container\",\n name: \"Create Wave Container\",\n description: \"Tool to submit a request to Wave for accessing a private container registry or building a container image on-the-fly. Use when you need to provision containers via Wave with Dockerfile, Conda recipe, or package specifications. Returns the name of the container made available by Wave.\",\n input: SeqeraCreateWaveContainerInput,\n output: SeqeraCreateWaveContainerOutput,\n});\n"],"mappings":";;AAqCA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArC4C,EAAE,OAAO;EACrD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC7I,UAAU,EAAE,OAAO;GACnB,MAAM,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,kCAAkC;GAC3E,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC;GACxE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;GACjG,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC9G,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC/G,cAAc,EAAE,KAAK;GAAC;GAAQ;GAAa;EAAa,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACpH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;EACzK,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EACvL,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC9G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACjG,iBAAiB,EAAE,OAAO;GAC1B,KAAK,EAAE,MAAM,EAAE,OAAO,CA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AC"}
|
|
@@ -3,9 +3,9 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-organization-details.ts
|
|
4
4
|
const SeqeraGetOrganizationDetailsInput = zod.z.object({ organizationId: zod.z.string().describe("The unique identifier of the organization (numeric ID)") }).describe("Request model for retrieving organization details.");
|
|
5
5
|
const SeqeraGetOrganizationDetailsOutput = zod.z.object({
|
|
6
|
-
name: zod.z.string().describe("Organization name"),
|
|
6
|
+
name: zod.z.string().describe("Organization name").nullable(),
|
|
7
7
|
type: zod.z.string().describe("Organization type (e.g., 'pro')").nullable().optional(),
|
|
8
|
-
orgId: zod.z.number().int().describe("Organization unique identifier"),
|
|
8
|
+
orgId: zod.z.number().int().describe("Organization unique identifier").nullable(),
|
|
9
9
|
logoId: zod.z.string().describe("Organization logo identifier").nullable().optional(),
|
|
10
10
|
paying: zod.z.boolean().describe("Whether the organization has a paid subscription").nullable().optional(),
|
|
11
11
|
logoUrl: zod.z.string().describe("Organization logo URL").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-organization-details.cjs","names":["z","action"],"sources":["../../src/actions/get-organization-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraGetOrganizationDetailsInput
|
|
1
|
+
{"version":3,"file":"get-organization-details.cjs","names":["z","action"],"sources":["../../src/actions/get-organization-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraGetOrganizationDetailsInput = z.object({\n organizationId: z.string().describe(\"The unique identifier of the organization (numeric ID)\"),\n}).describe(\"Request model for retrieving organization details.\");\nexport const SeqeraGetOrganizationDetailsOutput = z.object({\n name: z.string().describe(\"Organization name\").nullable(),\n type: z.string().describe(\"Organization type (e.g., 'pro')\").nullable().optional(),\n orgId: z.number().int().describe(\"Organization unique identifier\").nullable(),\n logoId: z.string().describe(\"Organization logo identifier\").nullable().optional(),\n paying: z.boolean().describe(\"Whether the organization has a paid subscription\").nullable().optional(),\n logoUrl: z.string().describe(\"Organization logo URL\").nullable().optional(),\n website: z.string().describe(\"Organization website URL\").nullable().optional(),\n fullName: z.string().describe(\"Organization full name\").nullable().optional(),\n location: z.string().describe(\"Organization location\").nullable().optional(),\n memberId: z.number().int().describe(\"Current user's member ID in this organization\").nullable().optional(),\n memberRole: z.string().describe(\"Current user's role in this organization\").nullable().optional(),\n description: z.string().describe(\"Organization description\").nullable().optional(),\n}).describe(\"Response model for organization details.\");\n\nexport const seqeraGetOrganizationDetails = action(\"SEQERA_GET_ORGANIZATION_DETAILS\", {\n slug: \"seqera-get-organization-details\",\n name: \"Get Organization Details\",\n description: \"Tool to retrieve detailed information about a specific organization.\",\n input: SeqeraGetOrganizationDetailsInput,\n output: SeqeraGetOrganizationDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EAC9F,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-organization-details.d.ts
|
|
4
|
-
declare const SeqeraGetOrganizationDetailsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SeqeraGetOrganizationDetailsInput: z.ZodObject<{
|
|
5
|
+
organizationId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SeqeraGetOrganizationDetailsOutput: z.ZodObject<{
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
orgId: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
logoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
paying: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
|
+
logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
memberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
memberRole: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const seqeraGetOrganizationDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
organizationId: string;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { seqeraGetOrganizationDetails };
|
|
9
26
|
//# sourceMappingURL=get-organization-details.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-organization-details.d.cts","names":[],"sources":["../../src/actions/get-organization-details.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"get-organization-details.d.cts","names":[],"sources":["../../src/actions/get-organization-details.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAGjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAelC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-organization-details.d.ts
|
|
4
|
-
declare const SeqeraGetOrganizationDetailsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SeqeraGetOrganizationDetailsInput: z.ZodObject<{
|
|
5
|
+
organizationId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SeqeraGetOrganizationDetailsOutput: z.ZodObject<{
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
orgId: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
logoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
paying: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
|
+
logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
memberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
memberRole: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const seqeraGetOrganizationDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
organizationId: string;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { seqeraGetOrganizationDetails };
|
|
9
26
|
//# sourceMappingURL=get-organization-details.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-organization-details.d.mts","names":[],"sources":["../../src/actions/get-organization-details.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"get-organization-details.d.mts","names":[],"sources":["../../src/actions/get-organization-details.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAGjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAelC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -6,9 +6,9 @@ const seqeraGetOrganizationDetails = action("SEQERA_GET_ORGANIZATION_DETAILS", {
|
|
|
6
6
|
description: "Tool to retrieve detailed information about a specific organization.",
|
|
7
7
|
input: z.object({ organizationId: z.string().describe("The unique identifier of the organization (numeric ID)") }).describe("Request model for retrieving organization details."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
name: z.string().describe("Organization name"),
|
|
9
|
+
name: z.string().describe("Organization name").nullable(),
|
|
10
10
|
type: z.string().describe("Organization type (e.g., 'pro')").nullable().optional(),
|
|
11
|
-
orgId: z.number().int().describe("Organization unique identifier"),
|
|
11
|
+
orgId: z.number().int().describe("Organization unique identifier").nullable(),
|
|
12
12
|
logoId: z.string().describe("Organization logo identifier").nullable().optional(),
|
|
13
13
|
paying: z.boolean().describe("Whether the organization has a paid subscription").nullable().optional(),
|
|
14
14
|
logoUrl: z.string().describe("Organization logo URL").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-organization-details.mjs","names":[],"sources":["../../src/actions/get-organization-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraGetOrganizationDetailsInput
|
|
1
|
+
{"version":3,"file":"get-organization-details.mjs","names":[],"sources":["../../src/actions/get-organization-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraGetOrganizationDetailsInput = z.object({\n organizationId: z.string().describe(\"The unique identifier of the organization (numeric ID)\"),\n}).describe(\"Request model for retrieving organization details.\");\nexport const SeqeraGetOrganizationDetailsOutput = z.object({\n name: z.string().describe(\"Organization name\").nullable(),\n type: z.string().describe(\"Organization type (e.g., 'pro')\").nullable().optional(),\n orgId: z.number().int().describe(\"Organization unique identifier\").nullable(),\n logoId: z.string().describe(\"Organization logo identifier\").nullable().optional(),\n paying: z.boolean().describe(\"Whether the organization has a paid subscription\").nullable().optional(),\n logoUrl: z.string().describe(\"Organization logo URL\").nullable().optional(),\n website: z.string().describe(\"Organization website URL\").nullable().optional(),\n fullName: z.string().describe(\"Organization full name\").nullable().optional(),\n location: z.string().describe(\"Organization location\").nullable().optional(),\n memberId: z.number().int().describe(\"Current user's member ID in this organization\").nullable().optional(),\n memberRole: z.string().describe(\"Current user's role in this organization\").nullable().optional(),\n description: z.string().describe(\"Organization description\").nullable().optional(),\n}).describe(\"Response model for organization details.\");\n\nexport const seqeraGetOrganizationDetails = action(\"SEQERA_GET_ORGANIZATION_DETAILS\", {\n slug: \"seqera-get-organization-details\",\n name: \"Get Organization Details\",\n description: \"Tool to retrieve detailed information about a specific organization.\",\n input: SeqeraGetOrganizationDetailsInput,\n output: SeqeraGetOrganizationDetailsOutput,\n});\n"],"mappings":";;AAsBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB+C,EAAE,OAAO,EACxD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EAC9F,CAAC,CAAC,CAAC,SAAS,oDAoBH;CACP,QApBgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-service-info.ts
|
|
4
4
|
const SeqeraGetServiceInfoInput = zod.z.object({}).describe("Request model for retrieving information about the Seqera service.");
|
|
5
5
|
const SeqeraGetServiceInfo_ServiceInfoSchema = zod.z.object({
|
|
6
|
-
version: zod.z.string().describe("The version of the Seqera Platform service"),
|
|
7
|
-
commitId: zod.z.string().describe("The Git commit ID for the running service")
|
|
6
|
+
version: zod.z.string().describe("The version of the Seqera Platform service").nullable(),
|
|
7
|
+
commitId: zod.z.string().describe("The Git commit ID for the running service").nullable()
|
|
8
8
|
}).describe("Contains version and commit details of the Seqera service.");
|
|
9
9
|
const SeqeraGetServiceInfoOutput = zod.z.object({ serviceInfo: SeqeraGetServiceInfo_ServiceInfoSchema.nullable() }).describe("Response model for service info action. Contains the service info object.");
|
|
10
10
|
const seqeraGetServiceInfo = require_action.action("SEQERA_GET_SERVICE_INFO", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-service-info.cjs","names":["z","action"],"sources":["../../src/actions/get-service-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraGetServiceInfoInput
|
|
1
|
+
{"version":3,"file":"get-service-info.cjs","names":["z","action"],"sources":["../../src/actions/get-service-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraGetServiceInfoInput = z.object({}).describe(\"Request model for retrieving information about the Seqera service.\");\nconst SeqeraGetServiceInfo_ServiceInfoSchema = z.object({\n version: z.string().describe(\"The version of the Seqera Platform service\").nullable(),\n commitId: z.string().describe(\"The Git commit ID for the running service\").nullable(),\n}).describe(\"Contains version and commit details of the Seqera service.\");\nexport const SeqeraGetServiceInfoOutput = z.object({\n serviceInfo: SeqeraGetServiceInfo_ServiceInfoSchema.nullable(),\n}).describe(\"Response model for service info action. Contains the service info object.\");\n\nexport const seqeraGetServiceInfo = action(\"SEQERA_GET_SERVICE_INFO\", {\n slug: \"seqera-get-service-info\",\n name: \"Get Service Info\",\n description: \"Tool to retrieve information about the Seqera API service. Use when you need to check the service version and commit ID for troubleshooting.\",\n input: SeqeraGetServiceInfoInput,\n output: SeqeraGetServiceInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACnI,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,aAAa,uCAAuC,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAEvF,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-service-info.d.ts
|
|
4
|
-
declare const SeqeraGetServiceInfoInput: z.
|
|
5
|
-
declare const SeqeraGetServiceInfoOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SeqeraGetServiceInfoInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SeqeraGetServiceInfoOutput: z.ZodObject<{
|
|
6
|
+
serviceInfo: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
version: z.ZodNullable<z.ZodString>;
|
|
8
|
+
commitId: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const seqeraGetServiceInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { seqeraGetServiceInfo };
|
|
9
14
|
//# sourceMappingURL=get-service-info.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-service-info.d.cts","names":[],"sources":["../../src/actions/get-service-info.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-service-info.d.cts","names":[],"sources":["../../src/actions/get-service-info.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-service-info.d.ts
|
|
4
|
-
declare const SeqeraGetServiceInfoInput: z.
|
|
5
|
-
declare const SeqeraGetServiceInfoOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SeqeraGetServiceInfoInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SeqeraGetServiceInfoOutput: z.ZodObject<{
|
|
6
|
+
serviceInfo: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
version: z.ZodNullable<z.ZodString>;
|
|
8
|
+
commitId: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const seqeraGetServiceInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { seqeraGetServiceInfo };
|
|
9
14
|
//# sourceMappingURL=get-service-info.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-service-info.d.mts","names":[],"sources":["../../src/actions/get-service-info.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-service-info.d.mts","names":[],"sources":["../../src/actions/get-service-info.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,8 +3,8 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-service-info.ts
|
|
4
4
|
const SeqeraGetServiceInfoInput = z.object({}).describe("Request model for retrieving information about the Seqera service.");
|
|
5
5
|
const SeqeraGetServiceInfo_ServiceInfoSchema = z.object({
|
|
6
|
-
version: z.string().describe("The version of the Seqera Platform service"),
|
|
7
|
-
commitId: z.string().describe("The Git commit ID for the running service")
|
|
6
|
+
version: z.string().describe("The version of the Seqera Platform service").nullable(),
|
|
7
|
+
commitId: z.string().describe("The Git commit ID for the running service").nullable()
|
|
8
8
|
}).describe("Contains version and commit details of the Seqera service.");
|
|
9
9
|
const seqeraGetServiceInfo = action("SEQERA_GET_SERVICE_INFO", {
|
|
10
10
|
slug: "seqera-get-service-info",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-service-info.mjs","names":[],"sources":["../../src/actions/get-service-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraGetServiceInfoInput
|
|
1
|
+
{"version":3,"file":"get-service-info.mjs","names":[],"sources":["../../src/actions/get-service-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraGetServiceInfoInput = z.object({}).describe(\"Request model for retrieving information about the Seqera service.\");\nconst SeqeraGetServiceInfo_ServiceInfoSchema = z.object({\n version: z.string().describe(\"The version of the Seqera Platform service\").nullable(),\n commitId: z.string().describe(\"The Git commit ID for the running service\").nullable(),\n}).describe(\"Contains version and commit details of the Seqera service.\");\nexport const SeqeraGetServiceInfoOutput = z.object({\n serviceInfo: SeqeraGetServiceInfo_ServiceInfoSchema.nullable(),\n}).describe(\"Response model for service info action. Contains the service info object.\");\n\nexport const seqeraGetServiceInfo = action(\"SEQERA_GET_SERVICE_INFO\", {\n slug: \"seqera-get-service-info\",\n name: \"Get Service Info\",\n description: \"Tool to retrieve information about the Seqera API service. Use when you need to check the service version and commit ID for troubleshooting.\",\n input: SeqeraGetServiceInfoInput,\n output: SeqeraGetServiceInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACnI,MAAM,yCAAyC,EAAE,OAAO;CACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAKxE,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,aAAa,uCAAuC,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,2EAOF;AACV,CAAC"}
|
|
@@ -3,13 +3,13 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-user-info.ts
|
|
4
4
|
const SeqeraGetUserInfoInput = zod.z.object({}).describe("Request model for retrieving authenticated user information.");
|
|
5
5
|
const SeqeraGetUserInfoOutput = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Unique user ID"),
|
|
7
|
-
email: zod.z.string().describe("User's email address"),
|
|
6
|
+
id: zod.z.number().int().describe("Unique user ID").nullable(),
|
|
7
|
+
email: zod.z.string().describe("User's email address").nullable(),
|
|
8
8
|
avatar: zod.z.string().describe("URL to user's avatar image").nullable().optional(),
|
|
9
9
|
deleted: zod.z.boolean().default(false).describe("Whether the user is deleted").nullable().optional(),
|
|
10
10
|
avatarId: zod.z.string().describe("Avatar ID of the user").nullable().optional(),
|
|
11
11
|
lastName: zod.z.string().describe("Last name of the user").nullable().optional(),
|
|
12
|
-
userName: zod.z.string().describe("Username of the user"),
|
|
12
|
+
userName: zod.z.string().describe("Username of the user").nullable(),
|
|
13
13
|
firstName: zod.z.string().describe("First name of the user").nullable().optional(),
|
|
14
14
|
lastAccess: zod.z.string().describe("Last access timestamp").nullable().optional(),
|
|
15
15
|
dateCreated: zod.z.string().describe("Date the user was created").nullable().optional(),
|
|
@@ -18,8 +18,8 @@ const SeqeraGetUserInfoOutput = zod.z.object({
|
|
|
18
18
|
needConsent: zod.z.boolean().describe("Whether user needs consent").nullable().optional(),
|
|
19
19
|
notification: zod.z.boolean().describe("Whether user has notifications enabled").nullable().optional(),
|
|
20
20
|
organization: zod.z.string().describe("Organization of the user").nullable().optional(),
|
|
21
|
-
marketingConsent: zod.z.boolean().describe("Whether user has consented to marketing"),
|
|
22
|
-
termsOfUseConsent: zod.z.boolean().describe("Whether user has consented to terms of use"),
|
|
21
|
+
marketingConsent: zod.z.boolean().describe("Whether user has consented to marketing").nullable(),
|
|
22
|
+
termsOfUseConsent: zod.z.boolean().describe("Whether user has consented to terms of use").nullable(),
|
|
23
23
|
defaultWorkspaceId: zod.z.number().int().describe("Default workspace ID for the user").nullable().optional()
|
|
24
24
|
}).describe("Response schema for GET_USER_INFO action.");
|
|
25
25
|
const seqeraGetUserInfo = require_action.action("SEQERA_GET_USER_INFO", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraGetUserInfoInput
|
|
1
|
+
{"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SeqeraGetUserInfoInput = z.object({}).describe(\"Request model for retrieving authenticated user information.\");\nexport const SeqeraGetUserInfoOutput = z.object({\n id: z.number().int().describe(\"Unique user ID\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n avatar: z.string().describe(\"URL to user's avatar image\").nullable().optional(),\n deleted: z.boolean().default(false).describe(\"Whether the user is deleted\").nullable().optional(),\n avatarId: z.string().describe(\"Avatar ID of the user\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the user\").nullable().optional(),\n userName: z.string().describe(\"Username of the user\").nullable(),\n firstName: z.string().describe(\"First name of the user\").nullable().optional(),\n lastAccess: z.string().describe(\"Last access timestamp\").nullable().optional(),\n dateCreated: z.string().describe(\"Date the user was created\").nullable().optional(),\n description: z.string().describe(\"Description of the user\").nullable().optional(),\n lastUpdated: z.string().describe(\"Last updated timestamp\").nullable().optional(),\n needConsent: z.boolean().describe(\"Whether user needs consent\").nullable().optional(),\n notification: z.boolean().describe(\"Whether user has notifications enabled\").nullable().optional(),\n organization: z.string().describe(\"Organization of the user\").nullable().optional(),\n marketingConsent: z.boolean().describe(\"Whether user has consented to marketing\").nullable(),\n termsOfUseConsent: z.boolean().describe(\"Whether user has consented to terms of use\").nullable(),\n defaultWorkspaceId: z.number().int().describe(\"Default workspace ID for the user\").nullable().optional(),\n}).describe(\"Response schema for GET_USER_INFO action.\");\n\nexport const seqeraGetUserInfo = action(\"SEQERA_GET_USER_INFO\", {\n slug: \"seqera-get-user-info\",\n name: \"Get User Info\",\n description: \"Tool to retrieve information about the authenticated user. Use when you need to fetch details of the current user after authentication.\",\n input: SeqeraGetUserInfoInput,\n output: SeqeraGetUserInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1H,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,C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A,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-info.d.ts
|
|
4
|
-
declare const SeqeraGetUserInfoInput: z.
|
|
5
|
-
declare const SeqeraGetUserInfoOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SeqeraGetUserInfoInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SeqeraGetUserInfoOutput: z.ZodObject<{
|
|
6
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
7
|
+
email: z.ZodNullable<z.ZodString>;
|
|
8
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
deleted: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
|
+
avatarId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
userName: z.ZodNullable<z.ZodString>;
|
|
13
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
lastAccess: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
dateCreated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
needConsent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
+
notification: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
|
+
organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
marketingConsent: z.ZodNullable<z.ZodBoolean>;
|
|
22
|
+
termsOfUseConsent: z.ZodNullable<z.ZodBoolean>;
|
|
23
|
+
defaultWorkspaceId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const seqeraGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { seqeraGetUserInfo };
|
|
9
28
|
//# sourceMappingURL=get-user-info.d.cts.map
|