@keystrokehq/runpod 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/create-cluster.cjs +3 -3
- package/dist/actions/create-cluster.cjs.map +1 -1
- package/dist/actions/create-cluster.d.cts +4 -4
- package/dist/actions/create-cluster.d.mts +4 -4
- package/dist/actions/create-cluster.mjs +3 -3
- package/dist/actions/create-cluster.mjs.map +1 -1
- package/dist/actions/create-secret.cjs +2 -2
- package/dist/actions/create-secret.cjs.map +1 -1
- package/dist/actions/create-secret.d.cts +2 -2
- package/dist/actions/create-secret.d.mts +2 -2
- package/dist/actions/create-secret.mjs +2 -2
- package/dist/actions/create-secret.mjs.map +1 -1
- package/dist/actions/delete-registry-auth.cjs +4 -4
- package/dist/actions/delete-registry-auth.cjs.map +1 -1
- package/dist/actions/delete-registry-auth.d.cts +4 -4
- package/dist/actions/delete-registry-auth.d.mts +4 -4
- package/dist/actions/delete-registry-auth.mjs +4 -4
- package/dist/actions/delete-registry-auth.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +4 -4
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +4 -4
- package/dist/actions/delete-template.d.mts +4 -4
- package/dist/actions/delete-template.mjs +4 -4
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/get-gpu-types.cjs +1 -1
- package/dist/actions/get-gpu-types.cjs.map +1 -1
- package/dist/actions/get-gpu-types.d.cts +1 -1
- package/dist/actions/get-gpu-types.d.mts +1 -1
- package/dist/actions/get-gpu-types.mjs +1 -1
- package/dist/actions/get-gpu-types.mjs.map +1 -1
- package/dist/actions/get-myself.cjs +2 -2
- package/dist/actions/get-myself.cjs.map +1 -1
- package/dist/actions/get-myself.d.cts +2 -2
- package/dist/actions/get-myself.d.mts +2 -2
- package/dist/actions/get-myself.mjs +2 -2
- package/dist/actions/get-myself.mjs.map +1 -1
- package/dist/actions/get-pod.cjs +2 -2
- package/dist/actions/get-pod.cjs.map +1 -1
- package/dist/actions/get-pod.d.cts +2 -2
- package/dist/actions/get-pod.d.mts +2 -2
- package/dist/actions/get-pod.mjs +2 -2
- package/dist/actions/get-pod.mjs.map +1 -1
- package/dist/actions/list-cpu-types.cjs +3 -3
- package/dist/actions/list-cpu-types.cjs.map +1 -1
- package/dist/actions/list-cpu-types.d.cts +3 -3
- package/dist/actions/list-cpu-types.d.mts +3 -3
- package/dist/actions/list-cpu-types.mjs +3 -3
- package/dist/actions/list-cpu-types.mjs.map +1 -1
- package/dist/actions/save-endpoint.cjs +3 -3
- package/dist/actions/save-endpoint.cjs.map +1 -1
- package/dist/actions/save-endpoint.d.cts +3 -3
- package/dist/actions/save-endpoint.d.mts +3 -3
- package/dist/actions/save-endpoint.mjs +3 -3
- package/dist/actions/save-endpoint.mjs.map +1 -1
- package/dist/actions/save-registry-auth.cjs +5 -5
- package/dist/actions/save-registry-auth.cjs.map +1 -1
- package/dist/actions/save-registry-auth.d.cts +5 -5
- package/dist/actions/save-registry-auth.d.mts +5 -5
- package/dist/actions/save-registry-auth.mjs +5 -5
- package/dist/actions/save-registry-auth.mjs.map +1 -1
- package/dist/actions/save-template.cjs +4 -4
- package/dist/actions/save-template.cjs.map +1 -1
- package/dist/actions/save-template.d.cts +5 -4
- package/dist/actions/save-template.d.mts +5 -4
- package/dist/actions/save-template.mjs +4 -4
- package/dist/actions/save-template.mjs.map +1 -1
- package/dist/actions/update-registry-auth.cjs +1 -1
- package/dist/actions/update-registry-auth.cjs.map +1 -1
- package/dist/actions/update-registry-auth.d.cts +1 -1
- package/dist/actions/update-registry-auth.d.mts +1 -1
- package/dist/actions/update-registry-auth.mjs +1 -1
- package/dist/actions/update-registry-auth.mjs.map +1 -1
- package/dist/actions/update-user-settings.cjs +2 -2
- package/dist/actions/update-user-settings.cjs.map +1 -1
- package/dist/actions/update-user-settings.d.cts +2 -2
- package/dist/actions/update-user-settings.d.mts +2 -2
- package/dist/actions/update-user-settings.mjs +2 -2
- package/dist/actions/update-user-settings.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-gpu-types.mjs","names":[],"sources":["../../src/actions/get-gpu-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodGetGpuTypesInput = z.object({\n input: z.object({\n id: z.string().describe(\"Filter by a single GPU type ID. Use this to retrieve a specific GPU type.\").optional(),\n ids: z.array(z.string()).describe(\"Filter by multiple GPU type IDs. Returns GPU types matching any of the provided IDs.\").optional(),\n cluster: z.boolean().describe(\"Filter for cluster-compatible GPU types. Set to true to only return GPUs that can be used in cluster deployments.\").optional(),\n}).describe(\"Filter options for querying GPU types.\").optional(),\n}).describe(\"Request parameters for querying available GPU types.\");\nexport const RunpodGetGpuTypesOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"GraphQL response data containing the gpuTypes array.\").nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Array of error objects if the GraphQL query encountered issues.\").nullable().optional(),\n}).describe(\"Response containing the list of available GPU types.\");\n\nexport const runpodGetGpuTypes = action(\"RUNPOD_GET_GPU_TYPES\", {\n slug: \"runpod-get-gpu-types\",\n name: \"Get GPU Types\",\n description: \"Tool to retrieve available GPU types and their specifications, pricing, and availability from RunPod. Use when you need to find GPU options for deployment.\",\n input: RunpodGetGpuTypesInput,\n output: RunpodGetGpuTypesOutput,\n});\n"],"mappings":";;AAgBA,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoC,EAAE,OAAO,EAC7C,OAAO,EAAE,OAAO;EAChB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAC9G,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACnI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAVqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-gpu-types.mjs","names":[],"sources":["../../src/actions/get-gpu-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodGetGpuTypesInput = z.object({\n input: z.object({\n id: z.string().describe(\"Filter by a single GPU type ID. Use this to retrieve a specific GPU type.\").optional(),\n ids: z.array(z.string()).describe(\"Filter by multiple GPU type IDs. Returns GPU types matching any of the provided IDs.\").optional(),\n cluster: z.boolean().describe(\"Filter for cluster-compatible GPU types. Set to true to only return GPUs that can be used in cluster deployments.\").optional(),\n}).describe(\"Filter options for querying GPU types.\").optional(),\n}).describe(\"Request parameters for querying available GPU types.\");\nexport const RunpodGetGpuTypesOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"GraphQL response data containing the gpuTypes array.\").nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Array of error objects if the GraphQL query encountered issues.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the list of available GPU types.\");\n\nexport const runpodGetGpuTypes = action(\"RUNPOD_GET_GPU_TYPES\", {\n slug: \"runpod-get-gpu-types\",\n name: \"Get GPU Types\",\n description: \"Tool to retrieve available GPU types and their specifications, pricing, and availability from RunPod. Use when you need to find GPU options for deployment.\",\n input: RunpodGetGpuTypesInput,\n output: RunpodGetGpuTypesOutput,\n});\n"],"mappings":";;AAgBA,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoC,EAAE,OAAO,EAC7C,OAAO,EAAE,OAAO;EAChB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAC9G,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACnI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAVqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -8,11 +8,11 @@ const RunpodGetMyself_UserDetailsSchema = zod.z.object({
|
|
|
8
8
|
authId: zod.z.string().describe("Authentication ID for the user.").nullable().optional(),
|
|
9
9
|
multiFactorEnabled: zod.z.boolean().describe("Whether multi-factor authentication is enabled.").nullable().optional(),
|
|
10
10
|
signedTermsOfService: zod.z.boolean().describe("Whether the user has signed the terms of service.").nullable().optional()
|
|
11
|
-
}).describe("Basic user account information from RunPod. Note: Financial and billing fields require elevated API key permissions.");
|
|
11
|
+
}).passthrough().describe("Basic user account information from RunPod. Note: Financial and billing fields require elevated API key permissions.");
|
|
12
12
|
const RunpodGetMyselfOutput = zod.z.object({
|
|
13
13
|
user: RunpodGetMyself_UserDetailsSchema.nullable().optional(),
|
|
14
14
|
errors: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Any GraphQL errors returned by the API.").nullable().optional()
|
|
15
|
-
}).describe("Response model for RUNPOD_GET_MYSELF.");
|
|
15
|
+
}).passthrough().describe("Response model for RUNPOD_GET_MYSELF.");
|
|
16
16
|
const runpodGetMyself = require_action.action("RUNPOD_GET_MYSELF", {
|
|
17
17
|
slug: "runpod-get-myself",
|
|
18
18
|
name: "Get authenticated user info",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-myself.cjs","names":["z","action"],"sources":["../../src/actions/get-myself.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodGetMyselfInput = z.object({}).describe(\"Request model for RUNPOD_GRAPHQL_MYSELF. No parameters required.\");\nconst RunpodGetMyself_UserDetailsSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n authId: z.string().describe(\"Authentication ID for the user.\").nullable().optional(),\n multiFactorEnabled: z.boolean().describe(\"Whether multi-factor authentication is enabled.\").nullable().optional(),\n signedTermsOfService: z.boolean().describe(\"Whether the user has signed the terms of service.\").nullable().optional(),\n}).describe(\"Basic user account information from RunPod. Note: Financial and billing fields require elevated API key permissions.\");\nexport const RunpodGetMyselfOutput = z.object({\n user: RunpodGetMyself_UserDetailsSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n}).describe(\"Response model for RUNPOD_GET_MYSELF.\");\n\nexport const runpodGetMyself = action(\"RUNPOD_GET_MYSELF\", {\n slug: \"runpod-get-myself\",\n name: \"Get authenticated user info\",\n description: \"Retrieve basic information about the authenticated user including ID, email, and security settings. Use this to get the current user's ID, email address, terms of service status, and MFA settings. Note: Access to financial fields (balance, spending, etc.) requires elevated API key permissions.\",\n input: RunpodGetMyselfInput,\n output: RunpodGetMyselfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC5H,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,sHAAsH;
|
|
1
|
+
{"version":3,"file":"get-myself.cjs","names":["z","action"],"sources":["../../src/actions/get-myself.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodGetMyselfInput = z.object({}).describe(\"Request model for RUNPOD_GRAPHQL_MYSELF. No parameters required.\");\nconst RunpodGetMyself_UserDetailsSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n authId: z.string().describe(\"Authentication ID for the user.\").nullable().optional(),\n multiFactorEnabled: z.boolean().describe(\"Whether multi-factor authentication is enabled.\").nullable().optional(),\n signedTermsOfService: z.boolean().describe(\"Whether the user has signed the terms of service.\").nullable().optional(),\n}).passthrough().describe(\"Basic user account information from RunPod. Note: Financial and billing fields require elevated API key permissions.\");\nexport const RunpodGetMyselfOutput = z.object({\n user: RunpodGetMyself_UserDetailsSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response model for RUNPOD_GET_MYSELF.\");\n\nexport const runpodGetMyself = action(\"RUNPOD_GET_MYSELF\", {\n slug: \"runpod-get-myself\",\n name: \"Get authenticated user info\",\n description: \"Retrieve basic information about the authenticated user including ID, email, and security settings. Use this to get the current user's ID, email address, terms of service status, and MFA settings. Note: Access to financial fields (balance, spending, etc.) requires elevated API key permissions.\",\n input: RunpodGetMyselfInput,\n output: RunpodGetMyselfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC5H,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sHAAsH;AAChJ,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAM,kCAAkC,SAAS,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,9 +9,9 @@ declare const RunpodGetMyselfOutput: z.ZodObject<{
|
|
|
9
9
|
authId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
multiFactorEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
11
|
signedTermsOfService: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
13
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const runpodGetMyself: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { runpodGetMyself };
|
|
@@ -9,9 +9,9 @@ declare const RunpodGetMyselfOutput: z.ZodObject<{
|
|
|
9
9
|
authId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
multiFactorEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
11
|
signedTermsOfService: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
13
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const runpodGetMyself: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { runpodGetMyself };
|
|
@@ -8,7 +8,7 @@ const RunpodGetMyself_UserDetailsSchema = z.object({
|
|
|
8
8
|
authId: z.string().describe("Authentication ID for the user.").nullable().optional(),
|
|
9
9
|
multiFactorEnabled: z.boolean().describe("Whether multi-factor authentication is enabled.").nullable().optional(),
|
|
10
10
|
signedTermsOfService: z.boolean().describe("Whether the user has signed the terms of service.").nullable().optional()
|
|
11
|
-
}).describe("Basic user account information from RunPod. Note: Financial and billing fields require elevated API key permissions.");
|
|
11
|
+
}).passthrough().describe("Basic user account information from RunPod. Note: Financial and billing fields require elevated API key permissions.");
|
|
12
12
|
const runpodGetMyself = action("RUNPOD_GET_MYSELF", {
|
|
13
13
|
slug: "runpod-get-myself",
|
|
14
14
|
name: "Get authenticated user info",
|
|
@@ -17,7 +17,7 @@ const runpodGetMyself = action("RUNPOD_GET_MYSELF", {
|
|
|
17
17
|
output: z.object({
|
|
18
18
|
user: RunpodGetMyself_UserDetailsSchema.nullable().optional(),
|
|
19
19
|
errors: z.array(z.record(z.string(), z.unknown())).describe("Any GraphQL errors returned by the API.").nullable().optional()
|
|
20
|
-
}).describe("Response model for RUNPOD_GET_MYSELF.")
|
|
20
|
+
}).passthrough().describe("Response model for RUNPOD_GET_MYSELF.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { runpodGetMyself };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-myself.mjs","names":[],"sources":["../../src/actions/get-myself.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodGetMyselfInput = z.object({}).describe(\"Request model for RUNPOD_GRAPHQL_MYSELF. No parameters required.\");\nconst RunpodGetMyself_UserDetailsSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n authId: z.string().describe(\"Authentication ID for the user.\").nullable().optional(),\n multiFactorEnabled: z.boolean().describe(\"Whether multi-factor authentication is enabled.\").nullable().optional(),\n signedTermsOfService: z.boolean().describe(\"Whether the user has signed the terms of service.\").nullable().optional(),\n}).describe(\"Basic user account information from RunPod. Note: Financial and billing fields require elevated API key permissions.\");\nexport const RunpodGetMyselfOutput = z.object({\n user: RunpodGetMyself_UserDetailsSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n}).describe(\"Response model for RUNPOD_GET_MYSELF.\");\n\nexport const runpodGetMyself = action(\"RUNPOD_GET_MYSELF\", {\n slug: \"runpod-get-myself\",\n name: \"Get authenticated user info\",\n description: \"Retrieve basic information about the authenticated user including ID, email, and security settings. Use this to get the current user's ID, email address, terms of service status, and MFA settings. Note: Access to financial fields (balance, spending, etc.) requires elevated API key permissions.\",\n input: RunpodGetMyselfInput,\n output: RunpodGetMyselfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC5H,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,sHAAsH;
|
|
1
|
+
{"version":3,"file":"get-myself.mjs","names":[],"sources":["../../src/actions/get-myself.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodGetMyselfInput = z.object({}).describe(\"Request model for RUNPOD_GRAPHQL_MYSELF. No parameters required.\");\nconst RunpodGetMyself_UserDetailsSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n authId: z.string().describe(\"Authentication ID for the user.\").nullable().optional(),\n multiFactorEnabled: z.boolean().describe(\"Whether multi-factor authentication is enabled.\").nullable().optional(),\n signedTermsOfService: z.boolean().describe(\"Whether the user has signed the terms of service.\").nullable().optional(),\n}).passthrough().describe(\"Basic user account information from RunPod. Note: Financial and billing fields require elevated API key permissions.\");\nexport const RunpodGetMyselfOutput = z.object({\n user: RunpodGetMyself_UserDetailsSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response model for RUNPOD_GET_MYSELF.\");\n\nexport const runpodGetMyself = action(\"RUNPOD_GET_MYSELF\", {\n slug: \"runpod-get-myself\",\n name: \"Get authenticated user info\",\n description: \"Retrieve basic information about the authenticated user including ID, email, and security settings. Use this to get the current user's ID, email address, terms of service status, and MFA settings. Note: Access to financial fields (balance, spending, etc.) requires elevated API key permissions.\",\n input: RunpodGetMyselfInput,\n output: RunpodGetMyselfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC5H,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sHAAsH;AAMhJ,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmC,EAAE,OAAO;EAC5C,MAAM,kCAAkC,SAAS,CAAC,CAAC,SAAS;EAC5D,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
|
package/dist/actions/get-pod.cjs
CHANGED
|
@@ -11,11 +11,11 @@ const RunpodGetPod_PodDetailsSchema = zod.z.object({
|
|
|
11
11
|
vcpuCount: zod.z.number().int().describe("The number of virtual CPUs allocated to the pod.").nullable().optional(),
|
|
12
12
|
memoryInGb: zod.z.number().int().describe("The amount of memory allocated to the pod in gigabytes.").nullable().optional(),
|
|
13
13
|
desiredStatus: zod.z.string().describe("The desired status of the pod (e.g., RUNNING, STOPPED).").nullable().optional()
|
|
14
|
-
}).describe("Detailed information about a RunPod pod.");
|
|
14
|
+
}).passthrough().describe("Detailed information about a RunPod pod.");
|
|
15
15
|
const RunpodGetPodOutput = zod.z.object({
|
|
16
16
|
pod: RunpodGetPod_PodDetailsSchema.nullable().optional(),
|
|
17
17
|
errors: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Any GraphQL errors returned by the API.").nullable().optional()
|
|
18
|
-
}).describe("Response model for RUNPOD_GRAPHQL_GET_POD.");
|
|
18
|
+
}).passthrough().describe("Response model for RUNPOD_GRAPHQL_GET_POD.");
|
|
19
19
|
const runpodGetPod = require_action.action("RUNPOD_GET_POD", {
|
|
20
20
|
slug: "runpod-get-pod",
|
|
21
21
|
name: "Get Pod Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-pod.cjs","names":["z","action"],"sources":["../../src/actions/get-pod.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodGetPodInput = z.object({\n pod_id: z.string().describe(\"The unique identifier of the pod to retrieve. This is the pod ID assigned by RunPod when the pod was created.\"),\n}).describe(\"Request model for RUNPOD_GRAPHQL_GET_POD.\");\nconst RunpodGetPod_PodDetailsSchema = z.object({\n id: z.string().describe(\"The unique identifier of the pod.\").nullable().optional(),\n name: z.string().describe(\"The name of the pod.\").nullable().optional(),\n gpuCount: z.number().int().describe(\"The number of GPUs allocated to the pod.\").nullable().optional(),\n costPerHr: z.number().describe(\"The cost per hour for running the pod in USD.\").nullable().optional(),\n imageName: z.string().describe(\"The Docker image name used for the pod.\").nullable().optional(),\n vcpuCount: z.number().int().describe(\"The number of virtual CPUs allocated to the pod.\").nullable().optional(),\n memoryInGb: z.number().int().describe(\"The amount of memory allocated to the pod in gigabytes.\").nullable().optional(),\n desiredStatus: z.string().describe(\"The desired status of the pod (e.g., RUNNING, STOPPED).\").nullable().optional(),\n}).describe(\"Detailed information about a RunPod pod.\");\nexport const RunpodGetPodOutput = z.object({\n pod: RunpodGetPod_PodDetailsSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n}).describe(\"Response model for RUNPOD_GRAPHQL_GET_POD.\");\n\nexport const runpodGetPod = action(\"RUNPOD_GET_POD\", {\n slug: \"runpod-get-pod\",\n name: \"Get Pod Details\",\n description: \"Retrieve details of a specific RunPod pod by its unique pod ID. Returns pod configuration including GPU count, memory, cost, and status. Use when you need to check the current state or configuration of an existing pod.\",\n input: RunpodGetPodInput,\n output: RunpodGetPodOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAoBA,IAAAA,EAAE,OAAO,EACxC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EAC7I,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"get-pod.cjs","names":["z","action"],"sources":["../../src/actions/get-pod.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodGetPodInput = z.object({\n pod_id: z.string().describe(\"The unique identifier of the pod to retrieve. This is the pod ID assigned by RunPod when the pod was created.\"),\n}).describe(\"Request model for RUNPOD_GRAPHQL_GET_POD.\");\nconst RunpodGetPod_PodDetailsSchema = z.object({\n id: z.string().describe(\"The unique identifier of the pod.\").nullable().optional(),\n name: z.string().describe(\"The name of the pod.\").nullable().optional(),\n gpuCount: z.number().int().describe(\"The number of GPUs allocated to the pod.\").nullable().optional(),\n costPerHr: z.number().describe(\"The cost per hour for running the pod in USD.\").nullable().optional(),\n imageName: z.string().describe(\"The Docker image name used for the pod.\").nullable().optional(),\n vcpuCount: z.number().int().describe(\"The number of virtual CPUs allocated to the pod.\").nullable().optional(),\n memoryInGb: z.number().int().describe(\"The amount of memory allocated to the pod in gigabytes.\").nullable().optional(),\n desiredStatus: z.string().describe(\"The desired status of the pod (e.g., RUNNING, STOPPED).\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a RunPod pod.\");\nexport const RunpodGetPodOutput = z.object({\n pod: RunpodGetPod_PodDetailsSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response model for RUNPOD_GRAPHQL_GET_POD.\");\n\nexport const runpodGetPod = action(\"RUNPOD_GET_POD\", {\n slug: \"runpod-get-pod\",\n name: \"Get Pod Details\",\n description: \"Retrieve details of a specific RunPod pod by its unique pod ID. Returns pod configuration including GPU count, memory, cost, and status. Use when you need to check the current state or configuration of an existing pod.\",\n input: RunpodGetPodInput,\n output: RunpodGetPodOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAoBA,IAAAA,EAAE,OAAO,EACxC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EAC7I,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,KAAK,8BAA8B,SAAS,CAAC,CAAC,SAAS;CACvD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,eAAeC,eAAAA,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,9 +14,9 @@ declare const RunpodGetPodOutput: z.ZodObject<{
|
|
|
14
14
|
vcpuCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
memoryInGb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
desiredStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
18
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const runpodGetPod: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
pod_id: string;
|
|
22
22
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -14,9 +14,9 @@ declare const RunpodGetPodOutput: z.ZodObject<{
|
|
|
14
14
|
vcpuCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
memoryInGb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
desiredStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
18
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const runpodGetPod: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
pod_id: string;
|
|
22
22
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
package/dist/actions/get-pod.mjs
CHANGED
|
@@ -11,7 +11,7 @@ const RunpodGetPod_PodDetailsSchema = z.object({
|
|
|
11
11
|
vcpuCount: z.number().int().describe("The number of virtual CPUs allocated to the pod.").nullable().optional(),
|
|
12
12
|
memoryInGb: z.number().int().describe("The amount of memory allocated to the pod in gigabytes.").nullable().optional(),
|
|
13
13
|
desiredStatus: z.string().describe("The desired status of the pod (e.g., RUNNING, STOPPED).").nullable().optional()
|
|
14
|
-
}).describe("Detailed information about a RunPod pod.");
|
|
14
|
+
}).passthrough().describe("Detailed information about a RunPod pod.");
|
|
15
15
|
const runpodGetPod = action("RUNPOD_GET_POD", {
|
|
16
16
|
slug: "runpod-get-pod",
|
|
17
17
|
name: "Get Pod Details",
|
|
@@ -20,7 +20,7 @@ const runpodGetPod = action("RUNPOD_GET_POD", {
|
|
|
20
20
|
output: z.object({
|
|
21
21
|
pod: RunpodGetPod_PodDetailsSchema.nullable().optional(),
|
|
22
22
|
errors: z.array(z.record(z.string(), z.unknown())).describe("Any GraphQL errors returned by the API.").nullable().optional()
|
|
23
|
-
}).describe("Response model for RUNPOD_GRAPHQL_GET_POD.")
|
|
23
|
+
}).passthrough().describe("Response model for RUNPOD_GRAPHQL_GET_POD.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { runpodGetPod };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-pod.mjs","names":[],"sources":["../../src/actions/get-pod.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodGetPodInput = z.object({\n pod_id: z.string().describe(\"The unique identifier of the pod to retrieve. This is the pod ID assigned by RunPod when the pod was created.\"),\n}).describe(\"Request model for RUNPOD_GRAPHQL_GET_POD.\");\nconst RunpodGetPod_PodDetailsSchema = z.object({\n id: z.string().describe(\"The unique identifier of the pod.\").nullable().optional(),\n name: z.string().describe(\"The name of the pod.\").nullable().optional(),\n gpuCount: z.number().int().describe(\"The number of GPUs allocated to the pod.\").nullable().optional(),\n costPerHr: z.number().describe(\"The cost per hour for running the pod in USD.\").nullable().optional(),\n imageName: z.string().describe(\"The Docker image name used for the pod.\").nullable().optional(),\n vcpuCount: z.number().int().describe(\"The number of virtual CPUs allocated to the pod.\").nullable().optional(),\n memoryInGb: z.number().int().describe(\"The amount of memory allocated to the pod in gigabytes.\").nullable().optional(),\n desiredStatus: z.string().describe(\"The desired status of the pod (e.g., RUNNING, STOPPED).\").nullable().optional(),\n}).describe(\"Detailed information about a RunPod pod.\");\nexport const RunpodGetPodOutput = z.object({\n pod: RunpodGetPod_PodDetailsSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n}).describe(\"Response model for RUNPOD_GRAPHQL_GET_POD.\");\n\nexport const runpodGetPod = action(\"RUNPOD_GET_POD\", {\n slug: \"runpod-get-pod\",\n name: \"Get Pod Details\",\n description: \"Retrieve details of a specific RunPod pod by its unique pod ID. Returns pod configuration including GPU count, memory, cost, and status. Use when you need to check the current state or configuration of an existing pod.\",\n input: RunpodGetPodInput,\n output: RunpodGetPodOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAoB,EAAE,OAAO,EACxC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EAC7I,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"get-pod.mjs","names":[],"sources":["../../src/actions/get-pod.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodGetPodInput = z.object({\n pod_id: z.string().describe(\"The unique identifier of the pod to retrieve. This is the pod ID assigned by RunPod when the pod was created.\"),\n}).describe(\"Request model for RUNPOD_GRAPHQL_GET_POD.\");\nconst RunpodGetPod_PodDetailsSchema = z.object({\n id: z.string().describe(\"The unique identifier of the pod.\").nullable().optional(),\n name: z.string().describe(\"The name of the pod.\").nullable().optional(),\n gpuCount: z.number().int().describe(\"The number of GPUs allocated to the pod.\").nullable().optional(),\n costPerHr: z.number().describe(\"The cost per hour for running the pod in USD.\").nullable().optional(),\n imageName: z.string().describe(\"The Docker image name used for the pod.\").nullable().optional(),\n vcpuCount: z.number().int().describe(\"The number of virtual CPUs allocated to the pod.\").nullable().optional(),\n memoryInGb: z.number().int().describe(\"The amount of memory allocated to the pod in gigabytes.\").nullable().optional(),\n desiredStatus: z.string().describe(\"The desired status of the pod (e.g., RUNNING, STOPPED).\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a RunPod pod.\");\nexport const RunpodGetPodOutput = z.object({\n pod: RunpodGetPod_PodDetailsSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response model for RUNPOD_GRAPHQL_GET_POD.\");\n\nexport const runpodGetPod = action(\"RUNPOD_GET_POD\", {\n slug: \"runpod-get-pod\",\n name: \"Get Pod Details\",\n description: \"Retrieve details of a specific RunPod pod by its unique pod ID. Returns pod configuration including GPU count, memory, cost, and status. Use when you need to check the current state or configuration of an existing pod.\",\n input: RunpodGetPodInput,\n output: RunpodGetPodOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAoB,EAAE,OAAO,EACxC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EAC7I,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,eAAe,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgC,EAAE,OAAO;EACzC,KAAK,8BAA8B,SAAS,CAAC,CAAC,SAAS;EACvD,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -9,9 +9,9 @@ const RunpodListCpuTypes_CpuTypeSchema = zod.z.object({
|
|
|
9
9
|
displayName: zod.z.string().describe("Human-readable name for display purposes.").nullable(),
|
|
10
10
|
manufacturer: zod.z.string().describe("CPU manufacturer name (e.g., Intel, AMD).").nullable(),
|
|
11
11
|
threadsPerCore: zod.z.number().int().describe("Thread count per individual core.").nullable()
|
|
12
|
-
}).describe("CPU type specification with hardware details.");
|
|
13
|
-
const RunpodListCpuTypes_ListCpuTypesResponseDataSchema = zod.z.object({ cpuTypes: zod.z.array(RunpodListCpuTypes_CpuTypeSchema).describe("Array of available CPU types with their specifications.") }).describe("Data wrapper containing the list of CPU types.");
|
|
14
|
-
const RunpodListCpuTypesOutput = zod.z.object({ data: RunpodListCpuTypes_ListCpuTypesResponseDataSchema.nullable() }).describe("Response model containing available CPU types from RunPod GraphQL API.");
|
|
12
|
+
}).passthrough().describe("CPU type specification with hardware details.");
|
|
13
|
+
const RunpodListCpuTypes_ListCpuTypesResponseDataSchema = zod.z.object({ cpuTypes: zod.z.array(RunpodListCpuTypes_CpuTypeSchema).describe("Array of available CPU types with their specifications.") }).passthrough().describe("Data wrapper containing the list of CPU types.");
|
|
14
|
+
const RunpodListCpuTypesOutput = zod.z.object({ data: RunpodListCpuTypes_ListCpuTypesResponseDataSchema.nullable() }).passthrough().describe("Response model containing available CPU types from RunPod GraphQL API.");
|
|
15
15
|
const runpodListCpuTypes = require_action.action("RUNPOD_LIST_CPU_TYPES", {
|
|
16
16
|
slug: "runpod-list-cpu-types",
|
|
17
17
|
name: "List CPU Types",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-cpu-types.cjs","names":["z","action"],"sources":["../../src/actions/list-cpu-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodListCpuTypesInput = z.object({}).describe(\"Request model for retrieving available CPU types from RunPod.\");\nconst RunpodListCpuTypes_CpuTypeSchema = z.object({\n id: z.string().describe(\"Unique identifier for the CPU type.\").nullable(),\n cores: z.number().int().describe(\"Number of processor cores.\").nullable(),\n groupId: z.string().describe(\"Associated CPU group identifier.\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable name for display purposes.\").nullable(),\n manufacturer: z.string().describe(\"CPU manufacturer name (e.g., Intel, AMD).\").nullable(),\n threadsPerCore: z.number().int().describe(\"Thread count per individual core.\").nullable(),\n}).describe(\"CPU type specification with hardware details.\");\nconst RunpodListCpuTypes_ListCpuTypesResponseDataSchema = z.object({\n cpuTypes: z.array(RunpodListCpuTypes_CpuTypeSchema).describe(\"Array of available CPU types with their specifications.\"),\n}).describe(\"Data wrapper containing the list of CPU types.\");\nexport const RunpodListCpuTypesOutput = z.object({\n data: RunpodListCpuTypes_ListCpuTypesResponseDataSchema.nullable(),\n}).describe(\"Response model containing available CPU types from RunPod GraphQL API.\");\n\nexport const runpodListCpuTypes = action(\"RUNPOD_LIST_CPU_TYPES\", {\n slug: \"runpod-list-cpu-types\",\n name: \"List CPU Types\",\n description: \"Tool to retrieve available CPU types and their specifications from RunPod. Use when you need to view CPU options for provisioning pods or selecting hardware configurations.\",\n input: RunpodListCpuTypesInput,\n output: RunpodListCpuTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC5H,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"list-cpu-types.cjs","names":["z","action"],"sources":["../../src/actions/list-cpu-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodListCpuTypesInput = z.object({}).describe(\"Request model for retrieving available CPU types from RunPod.\");\nconst RunpodListCpuTypes_CpuTypeSchema = z.object({\n id: z.string().describe(\"Unique identifier for the CPU type.\").nullable(),\n cores: z.number().int().describe(\"Number of processor cores.\").nullable(),\n groupId: z.string().describe(\"Associated CPU group identifier.\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable name for display purposes.\").nullable(),\n manufacturer: z.string().describe(\"CPU manufacturer name (e.g., Intel, AMD).\").nullable(),\n threadsPerCore: z.number().int().describe(\"Thread count per individual core.\").nullable(),\n}).passthrough().describe(\"CPU type specification with hardware details.\");\nconst RunpodListCpuTypes_ListCpuTypesResponseDataSchema = z.object({\n cpuTypes: z.array(RunpodListCpuTypes_CpuTypeSchema).describe(\"Array of available CPU types with their specifications.\"),\n}).passthrough().describe(\"Data wrapper containing the list of CPU types.\");\nexport const RunpodListCpuTypesOutput = z.object({\n data: RunpodListCpuTypes_ListCpuTypesResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing available CPU types from RunPod GraphQL API.\");\n\nexport const runpodListCpuTypes = action(\"RUNPOD_LIST_CPU_TYPES\", {\n slug: \"runpod-list-cpu-types\",\n name: \"List CPU Types\",\n description: \"Tool to retrieve available CPU types and their specifications from RunPod. Use when you need to view CPU options for provisioning pods or selecting hardware configurations.\",\n input: RunpodListCpuTypesInput,\n output: RunpodListCpuTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC5H,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO,EACjE,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,yDAAyD,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAM,kDAAkD,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,9 +11,9 @@ declare const RunpodListCpuTypesOutput: z.ZodObject<{
|
|
|
11
11
|
displayName: z.ZodNullable<z.ZodString>;
|
|
12
12
|
manufacturer: z.ZodNullable<z.ZodString>;
|
|
13
13
|
threadsPerCore: z.ZodNullable<z.ZodNumber>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const runpodListCpuTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { runpodListCpuTypes };
|
|
@@ -11,9 +11,9 @@ declare const RunpodListCpuTypesOutput: z.ZodObject<{
|
|
|
11
11
|
displayName: z.ZodNullable<z.ZodString>;
|
|
12
12
|
manufacturer: z.ZodNullable<z.ZodString>;
|
|
13
13
|
threadsPerCore: z.ZodNullable<z.ZodNumber>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const runpodListCpuTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { runpodListCpuTypes };
|
|
@@ -9,14 +9,14 @@ const RunpodListCpuTypes_CpuTypeSchema = z.object({
|
|
|
9
9
|
displayName: z.string().describe("Human-readable name for display purposes.").nullable(),
|
|
10
10
|
manufacturer: z.string().describe("CPU manufacturer name (e.g., Intel, AMD).").nullable(),
|
|
11
11
|
threadsPerCore: z.number().int().describe("Thread count per individual core.").nullable()
|
|
12
|
-
}).describe("CPU type specification with hardware details.");
|
|
13
|
-
const RunpodListCpuTypes_ListCpuTypesResponseDataSchema = z.object({ cpuTypes: z.array(RunpodListCpuTypes_CpuTypeSchema).describe("Array of available CPU types with their specifications.") }).describe("Data wrapper containing the list of CPU types.");
|
|
12
|
+
}).passthrough().describe("CPU type specification with hardware details.");
|
|
13
|
+
const RunpodListCpuTypes_ListCpuTypesResponseDataSchema = z.object({ cpuTypes: z.array(RunpodListCpuTypes_CpuTypeSchema).describe("Array of available CPU types with their specifications.") }).passthrough().describe("Data wrapper containing the list of CPU types.");
|
|
14
14
|
const runpodListCpuTypes = action("RUNPOD_LIST_CPU_TYPES", {
|
|
15
15
|
slug: "runpod-list-cpu-types",
|
|
16
16
|
name: "List CPU Types",
|
|
17
17
|
description: "Tool to retrieve available CPU types and their specifications from RunPod. Use when you need to view CPU options for provisioning pods or selecting hardware configurations.",
|
|
18
18
|
input: RunpodListCpuTypesInput,
|
|
19
|
-
output: z.object({ data: RunpodListCpuTypes_ListCpuTypesResponseDataSchema.nullable() }).describe("Response model containing available CPU types from RunPod GraphQL API.")
|
|
19
|
+
output: z.object({ data: RunpodListCpuTypes_ListCpuTypesResponseDataSchema.nullable() }).passthrough().describe("Response model containing available CPU types from RunPod GraphQL API.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { runpodListCpuTypes };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-cpu-types.mjs","names":[],"sources":["../../src/actions/list-cpu-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodListCpuTypesInput = z.object({}).describe(\"Request model for retrieving available CPU types from RunPod.\");\nconst RunpodListCpuTypes_CpuTypeSchema = z.object({\n id: z.string().describe(\"Unique identifier for the CPU type.\").nullable(),\n cores: z.number().int().describe(\"Number of processor cores.\").nullable(),\n groupId: z.string().describe(\"Associated CPU group identifier.\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable name for display purposes.\").nullable(),\n manufacturer: z.string().describe(\"CPU manufacturer name (e.g., Intel, AMD).\").nullable(),\n threadsPerCore: z.number().int().describe(\"Thread count per individual core.\").nullable(),\n}).describe(\"CPU type specification with hardware details.\");\nconst RunpodListCpuTypes_ListCpuTypesResponseDataSchema = z.object({\n cpuTypes: z.array(RunpodListCpuTypes_CpuTypeSchema).describe(\"Array of available CPU types with their specifications.\"),\n}).describe(\"Data wrapper containing the list of CPU types.\");\nexport const RunpodListCpuTypesOutput = z.object({\n data: RunpodListCpuTypes_ListCpuTypesResponseDataSchema.nullable(),\n}).describe(\"Response model containing available CPU types from RunPod GraphQL API.\");\n\nexport const runpodListCpuTypes = action(\"RUNPOD_LIST_CPU_TYPES\", {\n slug: \"runpod-list-cpu-types\",\n name: \"List CPU Types\",\n description: \"Tool to retrieve available CPU types and their specifications from RunPod. Use when you need to view CPU options for provisioning pods or selecting hardware configurations.\",\n input: RunpodListCpuTypesInput,\n output: RunpodListCpuTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC5H,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"list-cpu-types.mjs","names":[],"sources":["../../src/actions/list-cpu-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodListCpuTypesInput = z.object({}).describe(\"Request model for retrieving available CPU types from RunPod.\");\nconst RunpodListCpuTypes_CpuTypeSchema = z.object({\n id: z.string().describe(\"Unique identifier for the CPU type.\").nullable(),\n cores: z.number().int().describe(\"Number of processor cores.\").nullable(),\n groupId: z.string().describe(\"Associated CPU group identifier.\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable name for display purposes.\").nullable(),\n manufacturer: z.string().describe(\"CPU manufacturer name (e.g., Intel, AMD).\").nullable(),\n threadsPerCore: z.number().int().describe(\"Thread count per individual core.\").nullable(),\n}).passthrough().describe(\"CPU type specification with hardware details.\");\nconst RunpodListCpuTypes_ListCpuTypesResponseDataSchema = z.object({\n cpuTypes: z.array(RunpodListCpuTypes_CpuTypeSchema).describe(\"Array of available CPU types with their specifications.\"),\n}).passthrough().describe(\"Data wrapper containing the list of CPU types.\");\nexport const RunpodListCpuTypesOutput = z.object({\n data: RunpodListCpuTypes_ListCpuTypesResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing available CPU types from RunPod GraphQL API.\");\n\nexport const runpodListCpuTypes = action(\"RUNPOD_LIST_CPU_TYPES\", {\n slug: \"runpod-list-cpu-types\",\n name: \"List CPU Types\",\n description: \"Tool to retrieve available CPU types and their specifications from RunPod. Use when you need to view CPU options for provisioning pods or selecting hardware configurations.\",\n input: RunpodListCpuTypesInput,\n output: RunpodListCpuTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC5H,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,oDAAoD,EAAE,OAAO,EACjE,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,yDAAyD,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAK1E,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,kDAAkD,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAOhB;AACV,CAAC"}
|
|
@@ -23,12 +23,12 @@ const RunpodSaveEndpoint_SaveEndpointDataSchema = zod.z.object({
|
|
|
23
23
|
workers_max: zod.z.number().int().describe("Maximum number of workers configured.").nullable().optional(),
|
|
24
24
|
workers_min: zod.z.number().int().describe("Minimum number of workers configured.").nullable().optional(),
|
|
25
25
|
scaler_value: zod.z.number().int().describe("Target value for the scaler.").nullable().optional()
|
|
26
|
-
}).describe("The saveEndpoint data returned from the GraphQL mutation.");
|
|
27
|
-
const RunpodSaveEndpoint_SaveEndpointDataWrapperSchema = zod.z.object({ saveEndpoint: RunpodSaveEndpoint_SaveEndpointDataSchema.nullable().optional() }).describe("Wrapper for the data object in GraphQL response.");
|
|
26
|
+
}).passthrough().describe("The saveEndpoint data returned from the GraphQL mutation.");
|
|
27
|
+
const RunpodSaveEndpoint_SaveEndpointDataWrapperSchema = zod.z.object({ saveEndpoint: RunpodSaveEndpoint_SaveEndpointDataSchema.nullable().optional() }).passthrough().describe("Wrapper for the data object in GraphQL response.");
|
|
28
28
|
const RunpodSaveEndpointOutput = zod.z.object({
|
|
29
29
|
data: RunpodSaveEndpoint_SaveEndpointDataWrapperSchema.nullable().optional(),
|
|
30
30
|
errors: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of GraphQL errors if the mutation failed. Each error contains 'message' and may include 'locations' and 'path' fields.").nullable().optional()
|
|
31
|
-
}).describe("Response model for the saveEndpoint mutation.");
|
|
31
|
+
}).passthrough().describe("Response model for the saveEndpoint mutation.");
|
|
32
32
|
const runpodSaveEndpoint = require_action.action("RUNPOD_SAVE_ENDPOINT", {
|
|
33
33
|
slug: "runpod-save-endpoint",
|
|
34
34
|
name: "Save Serverless Endpoint",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-endpoint.cjs","names":["z","action"],"sources":["../../src/actions/save-endpoint.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodSaveEndpointInput = z.object({\n id: z.string().describe(\"Endpoint ID to update an existing endpoint. If provided, the mutation will update the existing endpoint instead of creating a new one. Omit this field to create a new endpoint.\").optional(),\n name: z.string().describe(\"Name of the endpoint (required for creation). Must be a descriptive identifier for the serverless endpoint.\"),\n gpu_ids: z.string().describe(\"GPU type identifier for the endpoint (required for creation). Examples: 'NVIDIA RTX A4000', 'NVIDIA A40', 'NVIDIA RTX A5000'. Specify the exact GPU model string from RunPod's available GPU types.\"),\n locations: z.string().describe(\"Comma-separated list of data center locations where the endpoint should run. Example: 'US-CA-1,US-OR-1'. If not specified, RunPod will choose automatically.\").optional(),\n scaler_type: z.string().describe(\"Type of autoscaling algorithm to use. Options: 'QUEUE_DELAY' (scale based on queue wait time), 'REQUEST_COUNT' (scale based on number of requests). QUEUE_DELAY is recommended for most use cases.\").optional(),\n template_id: z.string().describe(\"Template ID for the endpoint configuration (required for creation). This is the ID of a pre-configured template in your RunPod account.\"),\n workers_max: z.number().int().describe(\"Maximum number of workers (GPU instances) to scale up to. This is the upper limit for autoscaling. Must be >= workers_min.\").optional(),\n workers_min: z.number().int().describe(\"Minimum number of workers (GPU instances) to keep running. Set to 0 to allow scaling down to zero when idle. Set to 1 or higher to maintain always-on capacity.\").optional(),\n idle_timeout: z.number().int().describe(\"Idle timeout in seconds before workers are scaled down. Workers will be terminated after being idle for this duration. Common values: 5, 10, 30, 60.\").optional(),\n scaler_value: z.number().int().describe(\"Target value for the scaler. For QUEUE_DELAY: target delay in seconds before scaling up. For REQUEST_COUNT: target number of requests per worker. Common values: 1-10 for QUEUE_DELAY, 1-100 for REQUEST_COUNT.\").optional(),\n network_volume_id: z.string().describe(\"Network volume ID to attach to the endpoint for persistent storage. If specified, this network volume will be mounted to all workers.\").optional(),\n}).describe(\"Request model for creating or updating a RunPod serverless endpoint.\");\nconst RunpodSaveEndpoint_SaveEndpointDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the created or updated endpoint.\").nullable().optional(),\n name: z.string().describe(\"Name of the endpoint.\").nullable().optional(),\n gpu_ids: z.string().describe(\"GPU type identifier configured for the endpoint.\").nullable().optional(),\n scaler_type: z.string().describe(\"Autoscaling algorithm type configured for the endpoint.\").nullable().optional(),\n template_id: z.string().describe(\"Template ID used for the endpoint configuration.\").nullable().optional(),\n workers_max: z.number().int().describe(\"Maximum number of workers configured.\").nullable().optional(),\n workers_min: z.number().int().describe(\"Minimum number of workers configured.\").nullable().optional(),\n scaler_value: z.number().int().describe(\"Target value for the scaler.\").nullable().optional(),\n}).describe(\"The saveEndpoint data returned from the GraphQL mutation.\");\nconst RunpodSaveEndpoint_SaveEndpointDataWrapperSchema = z.object({\n saveEndpoint: RunpodSaveEndpoint_SaveEndpointDataSchema.nullable().optional(),\n}).describe(\"Wrapper for the data object in GraphQL response.\");\nexport const RunpodSaveEndpointOutput = z.object({\n data: RunpodSaveEndpoint_SaveEndpointDataWrapperSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"List of GraphQL errors if the mutation failed. Each error contains 'message' and may include 'locations' and 'path' fields.\").nullable().optional(),\n}).describe(\"Response model for the saveEndpoint mutation.\");\n\nexport const runpodSaveEndpoint = action(\"RUNPOD_SAVE_ENDPOINT\", {\n slug: \"runpod-save-endpoint\",\n name: \"Save Serverless Endpoint\",\n description: \"Tool to create or update a RunPod serverless endpoint with GPU configuration and scaling settings. Use when configuring new GPU-accelerated serverless endpoints or modifying existing endpoint parameters. Include 'id' parameter to update an existing endpoint, omit it to create a new one.\",\n input: RunpodSaveEndpointInput,\n output: RunpodSaveEndpointOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CACrN,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACvI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM;CAClO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACxM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CAChP,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CAC1K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CAC9K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;CACnN,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACzM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iNAAiN,CAAC,CAAC,SAAS;CACpQ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;AAC3L,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,2DAA2D;
|
|
1
|
+
{"version":3,"file":"save-endpoint.cjs","names":["z","action"],"sources":["../../src/actions/save-endpoint.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodSaveEndpointInput = z.object({\n id: z.string().describe(\"Endpoint ID to update an existing endpoint. If provided, the mutation will update the existing endpoint instead of creating a new one. Omit this field to create a new endpoint.\").optional(),\n name: z.string().describe(\"Name of the endpoint (required for creation). Must be a descriptive identifier for the serverless endpoint.\"),\n gpu_ids: z.string().describe(\"GPU type identifier for the endpoint (required for creation). Examples: 'NVIDIA RTX A4000', 'NVIDIA A40', 'NVIDIA RTX A5000'. Specify the exact GPU model string from RunPod's available GPU types.\"),\n locations: z.string().describe(\"Comma-separated list of data center locations where the endpoint should run. Example: 'US-CA-1,US-OR-1'. If not specified, RunPod will choose automatically.\").optional(),\n scaler_type: z.string().describe(\"Type of autoscaling algorithm to use. Options: 'QUEUE_DELAY' (scale based on queue wait time), 'REQUEST_COUNT' (scale based on number of requests). QUEUE_DELAY is recommended for most use cases.\").optional(),\n template_id: z.string().describe(\"Template ID for the endpoint configuration (required for creation). This is the ID of a pre-configured template in your RunPod account.\"),\n workers_max: z.number().int().describe(\"Maximum number of workers (GPU instances) to scale up to. This is the upper limit for autoscaling. Must be >= workers_min.\").optional(),\n workers_min: z.number().int().describe(\"Minimum number of workers (GPU instances) to keep running. Set to 0 to allow scaling down to zero when idle. Set to 1 or higher to maintain always-on capacity.\").optional(),\n idle_timeout: z.number().int().describe(\"Idle timeout in seconds before workers are scaled down. Workers will be terminated after being idle for this duration. Common values: 5, 10, 30, 60.\").optional(),\n scaler_value: z.number().int().describe(\"Target value for the scaler. For QUEUE_DELAY: target delay in seconds before scaling up. For REQUEST_COUNT: target number of requests per worker. Common values: 1-10 for QUEUE_DELAY, 1-100 for REQUEST_COUNT.\").optional(),\n network_volume_id: z.string().describe(\"Network volume ID to attach to the endpoint for persistent storage. If specified, this network volume will be mounted to all workers.\").optional(),\n}).describe(\"Request model for creating or updating a RunPod serverless endpoint.\");\nconst RunpodSaveEndpoint_SaveEndpointDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the created or updated endpoint.\").nullable().optional(),\n name: z.string().describe(\"Name of the endpoint.\").nullable().optional(),\n gpu_ids: z.string().describe(\"GPU type identifier configured for the endpoint.\").nullable().optional(),\n scaler_type: z.string().describe(\"Autoscaling algorithm type configured for the endpoint.\").nullable().optional(),\n template_id: z.string().describe(\"Template ID used for the endpoint configuration.\").nullable().optional(),\n workers_max: z.number().int().describe(\"Maximum number of workers configured.\").nullable().optional(),\n workers_min: z.number().int().describe(\"Minimum number of workers configured.\").nullable().optional(),\n scaler_value: z.number().int().describe(\"Target value for the scaler.\").nullable().optional(),\n}).passthrough().describe(\"The saveEndpoint data returned from the GraphQL mutation.\");\nconst RunpodSaveEndpoint_SaveEndpointDataWrapperSchema = z.object({\n saveEndpoint: RunpodSaveEndpoint_SaveEndpointDataSchema.nullable().optional(),\n}).passthrough().describe(\"Wrapper for the data object in GraphQL response.\");\nexport const RunpodSaveEndpointOutput = z.object({\n data: RunpodSaveEndpoint_SaveEndpointDataWrapperSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"List of GraphQL errors if the mutation failed. Each error contains 'message' and may include 'locations' and 'path' fields.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the saveEndpoint mutation.\");\n\nexport const runpodSaveEndpoint = action(\"RUNPOD_SAVE_ENDPOINT\", {\n slug: \"runpod-save-endpoint\",\n name: \"Save Serverless Endpoint\",\n description: \"Tool to create or update a RunPod serverless endpoint with GPU configuration and scaling settings. Use when configuring new GPU-accelerated serverless endpoints or modifying existing endpoint parameters. Include 'id' parameter to update an existing endpoint, omit it to create a new one.\",\n input: RunpodSaveEndpointInput,\n output: RunpodSaveEndpointOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CACrN,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACvI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM;CAClO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACxM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CAChP,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CAC1K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CAC9K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;CACnN,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACzM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iNAAiN,CAAC,CAAC,SAAS;CACpQ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;AAC3L,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,cAAc,0CAA0C,SAAS,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAM,iDAAiD,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -25,10 +25,10 @@ declare const RunpodSaveEndpointOutput: z.ZodObject<{
|
|
|
25
25
|
workers_max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
26
|
workers_min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
scaler_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
-
}, z.core.$
|
|
29
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
|
+
}, z.core.$loose>>>;
|
|
30
30
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const runpodSaveEndpoint: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
name: string;
|
|
34
34
|
gpu_ids: string;
|
|
@@ -25,10 +25,10 @@ declare const RunpodSaveEndpointOutput: z.ZodObject<{
|
|
|
25
25
|
workers_max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
26
|
workers_min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
scaler_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
-
}, z.core.$
|
|
29
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
|
+
}, z.core.$loose>>>;
|
|
30
30
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const runpodSaveEndpoint: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
name: string;
|
|
34
34
|
gpu_ids: string;
|
|
@@ -23,8 +23,8 @@ const RunpodSaveEndpoint_SaveEndpointDataSchema = z.object({
|
|
|
23
23
|
workers_max: z.number().int().describe("Maximum number of workers configured.").nullable().optional(),
|
|
24
24
|
workers_min: z.number().int().describe("Minimum number of workers configured.").nullable().optional(),
|
|
25
25
|
scaler_value: z.number().int().describe("Target value for the scaler.").nullable().optional()
|
|
26
|
-
}).describe("The saveEndpoint data returned from the GraphQL mutation.");
|
|
27
|
-
const RunpodSaveEndpoint_SaveEndpointDataWrapperSchema = z.object({ saveEndpoint: RunpodSaveEndpoint_SaveEndpointDataSchema.nullable().optional() }).describe("Wrapper for the data object in GraphQL response.");
|
|
26
|
+
}).passthrough().describe("The saveEndpoint data returned from the GraphQL mutation.");
|
|
27
|
+
const RunpodSaveEndpoint_SaveEndpointDataWrapperSchema = z.object({ saveEndpoint: RunpodSaveEndpoint_SaveEndpointDataSchema.nullable().optional() }).passthrough().describe("Wrapper for the data object in GraphQL response.");
|
|
28
28
|
const runpodSaveEndpoint = action("RUNPOD_SAVE_ENDPOINT", {
|
|
29
29
|
slug: "runpod-save-endpoint",
|
|
30
30
|
name: "Save Serverless Endpoint",
|
|
@@ -33,7 +33,7 @@ const runpodSaveEndpoint = action("RUNPOD_SAVE_ENDPOINT", {
|
|
|
33
33
|
output: z.object({
|
|
34
34
|
data: RunpodSaveEndpoint_SaveEndpointDataWrapperSchema.nullable().optional(),
|
|
35
35
|
errors: z.array(z.record(z.string(), z.unknown())).describe("List of GraphQL errors if the mutation failed. Each error contains 'message' and may include 'locations' and 'path' fields.").nullable().optional()
|
|
36
|
-
}).describe("Response model for the saveEndpoint mutation.")
|
|
36
|
+
}).passthrough().describe("Response model for the saveEndpoint mutation.")
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
39
|
export { runpodSaveEndpoint };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-endpoint.mjs","names":[],"sources":["../../src/actions/save-endpoint.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodSaveEndpointInput = z.object({\n id: z.string().describe(\"Endpoint ID to update an existing endpoint. If provided, the mutation will update the existing endpoint instead of creating a new one. Omit this field to create a new endpoint.\").optional(),\n name: z.string().describe(\"Name of the endpoint (required for creation). Must be a descriptive identifier for the serverless endpoint.\"),\n gpu_ids: z.string().describe(\"GPU type identifier for the endpoint (required for creation). Examples: 'NVIDIA RTX A4000', 'NVIDIA A40', 'NVIDIA RTX A5000'. Specify the exact GPU model string from RunPod's available GPU types.\"),\n locations: z.string().describe(\"Comma-separated list of data center locations where the endpoint should run. Example: 'US-CA-1,US-OR-1'. If not specified, RunPod will choose automatically.\").optional(),\n scaler_type: z.string().describe(\"Type of autoscaling algorithm to use. Options: 'QUEUE_DELAY' (scale based on queue wait time), 'REQUEST_COUNT' (scale based on number of requests). QUEUE_DELAY is recommended for most use cases.\").optional(),\n template_id: z.string().describe(\"Template ID for the endpoint configuration (required for creation). This is the ID of a pre-configured template in your RunPod account.\"),\n workers_max: z.number().int().describe(\"Maximum number of workers (GPU instances) to scale up to. This is the upper limit for autoscaling. Must be >= workers_min.\").optional(),\n workers_min: z.number().int().describe(\"Minimum number of workers (GPU instances) to keep running. Set to 0 to allow scaling down to zero when idle. Set to 1 or higher to maintain always-on capacity.\").optional(),\n idle_timeout: z.number().int().describe(\"Idle timeout in seconds before workers are scaled down. Workers will be terminated after being idle for this duration. Common values: 5, 10, 30, 60.\").optional(),\n scaler_value: z.number().int().describe(\"Target value for the scaler. For QUEUE_DELAY: target delay in seconds before scaling up. For REQUEST_COUNT: target number of requests per worker. Common values: 1-10 for QUEUE_DELAY, 1-100 for REQUEST_COUNT.\").optional(),\n network_volume_id: z.string().describe(\"Network volume ID to attach to the endpoint for persistent storage. If specified, this network volume will be mounted to all workers.\").optional(),\n}).describe(\"Request model for creating or updating a RunPod serverless endpoint.\");\nconst RunpodSaveEndpoint_SaveEndpointDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the created or updated endpoint.\").nullable().optional(),\n name: z.string().describe(\"Name of the endpoint.\").nullable().optional(),\n gpu_ids: z.string().describe(\"GPU type identifier configured for the endpoint.\").nullable().optional(),\n scaler_type: z.string().describe(\"Autoscaling algorithm type configured for the endpoint.\").nullable().optional(),\n template_id: z.string().describe(\"Template ID used for the endpoint configuration.\").nullable().optional(),\n workers_max: z.number().int().describe(\"Maximum number of workers configured.\").nullable().optional(),\n workers_min: z.number().int().describe(\"Minimum number of workers configured.\").nullable().optional(),\n scaler_value: z.number().int().describe(\"Target value for the scaler.\").nullable().optional(),\n}).describe(\"The saveEndpoint data returned from the GraphQL mutation.\");\nconst RunpodSaveEndpoint_SaveEndpointDataWrapperSchema = z.object({\n saveEndpoint: RunpodSaveEndpoint_SaveEndpointDataSchema.nullable().optional(),\n}).describe(\"Wrapper for the data object in GraphQL response.\");\nexport const RunpodSaveEndpointOutput = z.object({\n data: RunpodSaveEndpoint_SaveEndpointDataWrapperSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"List of GraphQL errors if the mutation failed. Each error contains 'message' and may include 'locations' and 'path' fields.\").nullable().optional(),\n}).describe(\"Response model for the saveEndpoint mutation.\");\n\nexport const runpodSaveEndpoint = action(\"RUNPOD_SAVE_ENDPOINT\", {\n slug: \"runpod-save-endpoint\",\n name: \"Save Serverless Endpoint\",\n description: \"Tool to create or update a RunPod serverless endpoint with GPU configuration and scaling settings. Use when configuring new GPU-accelerated serverless endpoints or modifying existing endpoint parameters. Include 'id' parameter to update an existing endpoint, omit it to create a new one.\",\n input: RunpodSaveEndpointInput,\n output: RunpodSaveEndpointOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CACrN,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACvI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM;CAClO,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACxM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CAChP,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CAC1K,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CAC9K,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;CACnN,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACzM,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iNAAiN,CAAC,CAAC,SAAS;CACpQ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;AAC3L,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,2DAA2D;
|
|
1
|
+
{"version":3,"file":"save-endpoint.mjs","names":[],"sources":["../../src/actions/save-endpoint.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodSaveEndpointInput = z.object({\n id: z.string().describe(\"Endpoint ID to update an existing endpoint. If provided, the mutation will update the existing endpoint instead of creating a new one. Omit this field to create a new endpoint.\").optional(),\n name: z.string().describe(\"Name of the endpoint (required for creation). Must be a descriptive identifier for the serverless endpoint.\"),\n gpu_ids: z.string().describe(\"GPU type identifier for the endpoint (required for creation). Examples: 'NVIDIA RTX A4000', 'NVIDIA A40', 'NVIDIA RTX A5000'. Specify the exact GPU model string from RunPod's available GPU types.\"),\n locations: z.string().describe(\"Comma-separated list of data center locations where the endpoint should run. Example: 'US-CA-1,US-OR-1'. If not specified, RunPod will choose automatically.\").optional(),\n scaler_type: z.string().describe(\"Type of autoscaling algorithm to use. Options: 'QUEUE_DELAY' (scale based on queue wait time), 'REQUEST_COUNT' (scale based on number of requests). QUEUE_DELAY is recommended for most use cases.\").optional(),\n template_id: z.string().describe(\"Template ID for the endpoint configuration (required for creation). This is the ID of a pre-configured template in your RunPod account.\"),\n workers_max: z.number().int().describe(\"Maximum number of workers (GPU instances) to scale up to. This is the upper limit for autoscaling. Must be >= workers_min.\").optional(),\n workers_min: z.number().int().describe(\"Minimum number of workers (GPU instances) to keep running. Set to 0 to allow scaling down to zero when idle. Set to 1 or higher to maintain always-on capacity.\").optional(),\n idle_timeout: z.number().int().describe(\"Idle timeout in seconds before workers are scaled down. Workers will be terminated after being idle for this duration. Common values: 5, 10, 30, 60.\").optional(),\n scaler_value: z.number().int().describe(\"Target value for the scaler. For QUEUE_DELAY: target delay in seconds before scaling up. For REQUEST_COUNT: target number of requests per worker. Common values: 1-10 for QUEUE_DELAY, 1-100 for REQUEST_COUNT.\").optional(),\n network_volume_id: z.string().describe(\"Network volume ID to attach to the endpoint for persistent storage. If specified, this network volume will be mounted to all workers.\").optional(),\n}).describe(\"Request model for creating or updating a RunPod serverless endpoint.\");\nconst RunpodSaveEndpoint_SaveEndpointDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the created or updated endpoint.\").nullable().optional(),\n name: z.string().describe(\"Name of the endpoint.\").nullable().optional(),\n gpu_ids: z.string().describe(\"GPU type identifier configured for the endpoint.\").nullable().optional(),\n scaler_type: z.string().describe(\"Autoscaling algorithm type configured for the endpoint.\").nullable().optional(),\n template_id: z.string().describe(\"Template ID used for the endpoint configuration.\").nullable().optional(),\n workers_max: z.number().int().describe(\"Maximum number of workers configured.\").nullable().optional(),\n workers_min: z.number().int().describe(\"Minimum number of workers configured.\").nullable().optional(),\n scaler_value: z.number().int().describe(\"Target value for the scaler.\").nullable().optional(),\n}).passthrough().describe(\"The saveEndpoint data returned from the GraphQL mutation.\");\nconst RunpodSaveEndpoint_SaveEndpointDataWrapperSchema = z.object({\n saveEndpoint: RunpodSaveEndpoint_SaveEndpointDataSchema.nullable().optional(),\n}).passthrough().describe(\"Wrapper for the data object in GraphQL response.\");\nexport const RunpodSaveEndpointOutput = z.object({\n data: RunpodSaveEndpoint_SaveEndpointDataWrapperSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"List of GraphQL errors if the mutation failed. Each error contains 'message' and may include 'locations' and 'path' fields.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the saveEndpoint mutation.\");\n\nexport const runpodSaveEndpoint = action(\"RUNPOD_SAVE_ENDPOINT\", {\n slug: \"runpod-save-endpoint\",\n name: \"Save Serverless Endpoint\",\n description: \"Tool to create or update a RunPod serverless endpoint with GPU configuration and scaling settings. Use when configuring new GPU-accelerated serverless endpoints or modifying existing endpoint parameters. Include 'id' parameter to update an existing endpoint, omit it to create a new one.\",\n input: RunpodSaveEndpointInput,\n output: RunpodSaveEndpointOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CACrN,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACvI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM;CAClO,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACxM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CAChP,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CAC1K,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CAC9K,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;CACnN,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACzM,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iNAAiN,CAAC,CAAC,SAAS;CACpQ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;AAC3L,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAM,mDAAmD,EAAE,OAAO,EAChE,cAAc,0CAA0C,SAAS,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAM5E,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,MAAM,iDAAiD,SAAS,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -11,17 +11,17 @@ const RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema = zod.z.object({
|
|
|
11
11
|
name: zod.z.string().describe("The user-defined name of the registry authentication credential.").nullable(),
|
|
12
12
|
userId: zod.z.string().describe("The ID of the user who owns this registry authentication credential.").nullable().optional(),
|
|
13
13
|
registryAuth: zod.z.string().describe("The encoded authentication string for the container registry.").nullable().optional()
|
|
14
|
-
}).describe("The registry authentication object returned by the saveRegistryAuth mutation.");
|
|
15
|
-
const RunpodSaveRegistryAuth_SaveRegistryAuthResponseDataSchema = zod.z.object({ saveRegistryAuth: RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema.nullable() }).describe("Data field containing the mutation result.");
|
|
14
|
+
}).passthrough().describe("The registry authentication object returned by the saveRegistryAuth mutation.");
|
|
15
|
+
const RunpodSaveRegistryAuth_SaveRegistryAuthResponseDataSchema = zod.z.object({ saveRegistryAuth: RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema.nullable() }).passthrough().describe("Data field containing the mutation result.");
|
|
16
16
|
const RunpodSaveRegistryAuth_GraphQLErrorSchema = zod.z.object({
|
|
17
17
|
path: zod.z.array(zod.z.union([zod.z.string(), zod.z.number().int()])).describe("Path to the field in the response that caused the error.").nullable().optional(),
|
|
18
18
|
message: zod.z.string().describe("Human-readable description of the error that occurred.").nullable(),
|
|
19
|
-
locations: zod.z.array(zod.z.
|
|
20
|
-
}).describe("GraphQL error object.");
|
|
19
|
+
locations: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array indicating where in the GraphQL operation the error occurred.").nullable().optional()
|
|
20
|
+
}).passthrough().describe("GraphQL error object.");
|
|
21
21
|
const RunpodSaveRegistryAuthOutput = zod.z.object({
|
|
22
22
|
data: RunpodSaveRegistryAuth_SaveRegistryAuthResponseDataSchema.nullable().optional(),
|
|
23
23
|
errors: zod.z.array(RunpodSaveRegistryAuth_GraphQLErrorSchema).describe("Array of error objects returned if the mutation encounters issues. Absent if no errors occurred.").nullable().optional()
|
|
24
|
-
}).describe("Response from the saveRegistryAuth mutation.");
|
|
24
|
+
}).passthrough().describe("Response from the saveRegistryAuth mutation.");
|
|
25
25
|
const runpodSaveRegistryAuth = require_action.action("RUNPOD_SAVE_REGISTRY_AUTH", {
|
|
26
26
|
slug: "runpod-save-registry-auth",
|
|
27
27
|
name: "Save Container Registry Authentication",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-registry-auth.cjs","names":["z","action"],"sources":["../../src/actions/save-registry-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodSaveRegistryAuthInput = z.object({\n name: z.string().describe(\"A user-defined name for the container registry authentication credential. This name must be unique across all registry authentications in your account.\"),\n password: z.string().describe(\"The password for authenticating with the container registry.\"),\n username: z.string().describe(\"The username for authenticating with the container registry.\"),\n}).describe(\"Request parameters for saving container registry authentication.\");\nconst RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the saved registry authentication credential.\").nullable(),\n name: z.string().describe(\"The user-defined name of the registry authentication credential.\").nullable(),\n userId: z.string().describe(\"The ID of the user who owns this registry authentication credential.\").nullable().optional(),\n registryAuth: z.string().describe(\"The encoded authentication string for the container registry.\").nullable().optional(),\n}).describe(\"The registry authentication object returned by the saveRegistryAuth mutation.\");\nconst RunpodSaveRegistryAuth_SaveRegistryAuthResponseDataSchema = z.object({\n saveRegistryAuth: RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema.nullable(),\n}).describe(\"Data field containing the mutation result.\");\nconst RunpodSaveRegistryAuth_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field in the response that caused the error.\").nullable().optional(),\n message: z.string().describe(\"Human-readable description of the error that occurred.\").nullable(),\n locations: z.array(z.
|
|
1
|
+
{"version":3,"file":"save-registry-auth.cjs","names":["z","action"],"sources":["../../src/actions/save-registry-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodSaveRegistryAuthInput = z.object({\n name: z.string().describe(\"A user-defined name for the container registry authentication credential. This name must be unique across all registry authentications in your account.\"),\n password: z.string().describe(\"The password for authenticating with the container registry.\"),\n username: z.string().describe(\"The username for authenticating with the container registry.\"),\n}).describe(\"Request parameters for saving container registry authentication.\");\nconst RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the saved registry authentication credential.\").nullable(),\n name: z.string().describe(\"The user-defined name of the registry authentication credential.\").nullable(),\n userId: z.string().describe(\"The ID of the user who owns this registry authentication credential.\").nullable().optional(),\n registryAuth: z.string().describe(\"The encoded authentication string for the container registry.\").nullable().optional(),\n}).passthrough().describe(\"The registry authentication object returned by the saveRegistryAuth mutation.\");\nconst RunpodSaveRegistryAuth_SaveRegistryAuthResponseDataSchema = z.object({\n saveRegistryAuth: RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema.nullable(),\n}).passthrough().describe(\"Data field containing the mutation result.\");\nconst RunpodSaveRegistryAuth_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field in the response that caused the error.\").nullable().optional(),\n message: z.string().describe(\"Human-readable description of the error that occurred.\").nullable(),\n locations: z.array(z.record(z.string(), z.unknown())).describe(\"Array indicating where in the GraphQL operation the error occurred.\").nullable().optional(),\n}).passthrough().describe(\"GraphQL error object.\");\nexport const RunpodSaveRegistryAuthOutput = z.object({\n data: RunpodSaveRegistryAuth_SaveRegistryAuthResponseDataSchema.nullable().optional(),\n errors: z.array(RunpodSaveRegistryAuth_GraphQLErrorSchema).describe(\"Array of error objects returned if the mutation encounters issues. Absent if no errors occurred.\").nullable().optional(),\n}).passthrough().describe(\"Response from the saveRegistryAuth mutation.\");\n\nexport const runpodSaveRegistryAuth = action(\"RUNPOD_SAVE_REGISTRY_AUTH\", {\n slug: \"runpod-save-registry-auth\",\n name: \"Save Container Registry Authentication\",\n description: \"Tool to save container registry authentication credentials for accessing private Docker images in RunPod. Use when you need to store credentials for a private container registry.\",\n input: RunpodSaveRegistryAuthInput,\n output: RunpodSaveRegistryAuthOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ;CACnL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AAC9F,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC3G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AACzG,MAAM,4DAA4DA,IAAAA,EAAE,OAAO,EACzE,kBAAkB,kDAAkD,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AACjD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,0DAA0D,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,14 +13,14 @@ declare const RunpodSaveRegistryAuthOutput: z.ZodObject<{
|
|
|
13
13
|
name: z.ZodNullable<z.ZodString>;
|
|
14
14
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
registryAuth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
18
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
19
19
|
path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
|
|
20
20
|
message: z.ZodNullable<z.ZodString>;
|
|
21
|
-
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
21
|
+
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const runpodSaveRegistryAuth: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
name: string;
|
|
26
26
|
password: string;
|
|
@@ -13,14 +13,14 @@ declare const RunpodSaveRegistryAuthOutput: z.ZodObject<{
|
|
|
13
13
|
name: z.ZodNullable<z.ZodString>;
|
|
14
14
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
registryAuth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
18
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
19
19
|
path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
|
|
20
20
|
message: z.ZodNullable<z.ZodString>;
|
|
21
|
-
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
21
|
+
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const runpodSaveRegistryAuth: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
name: string;
|
|
26
26
|
password: string;
|
|
@@ -11,13 +11,13 @@ const RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema = z.object({
|
|
|
11
11
|
name: z.string().describe("The user-defined name of the registry authentication credential.").nullable(),
|
|
12
12
|
userId: z.string().describe("The ID of the user who owns this registry authentication credential.").nullable().optional(),
|
|
13
13
|
registryAuth: z.string().describe("The encoded authentication string for the container registry.").nullable().optional()
|
|
14
|
-
}).describe("The registry authentication object returned by the saveRegistryAuth mutation.");
|
|
15
|
-
const RunpodSaveRegistryAuth_SaveRegistryAuthResponseDataSchema = z.object({ saveRegistryAuth: RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema.nullable() }).describe("Data field containing the mutation result.");
|
|
14
|
+
}).passthrough().describe("The registry authentication object returned by the saveRegistryAuth mutation.");
|
|
15
|
+
const RunpodSaveRegistryAuth_SaveRegistryAuthResponseDataSchema = z.object({ saveRegistryAuth: RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema.nullable() }).passthrough().describe("Data field containing the mutation result.");
|
|
16
16
|
const RunpodSaveRegistryAuth_GraphQLErrorSchema = z.object({
|
|
17
17
|
path: z.array(z.union([z.string(), z.number().int()])).describe("Path to the field in the response that caused the error.").nullable().optional(),
|
|
18
18
|
message: z.string().describe("Human-readable description of the error that occurred.").nullable(),
|
|
19
|
-
locations: z.array(z.
|
|
20
|
-
}).describe("GraphQL error object.");
|
|
19
|
+
locations: z.array(z.record(z.string(), z.unknown())).describe("Array indicating where in the GraphQL operation the error occurred.").nullable().optional()
|
|
20
|
+
}).passthrough().describe("GraphQL error object.");
|
|
21
21
|
const runpodSaveRegistryAuth = action("RUNPOD_SAVE_REGISTRY_AUTH", {
|
|
22
22
|
slug: "runpod-save-registry-auth",
|
|
23
23
|
name: "Save Container Registry Authentication",
|
|
@@ -26,7 +26,7 @@ const runpodSaveRegistryAuth = action("RUNPOD_SAVE_REGISTRY_AUTH", {
|
|
|
26
26
|
output: z.object({
|
|
27
27
|
data: RunpodSaveRegistryAuth_SaveRegistryAuthResponseDataSchema.nullable().optional(),
|
|
28
28
|
errors: z.array(RunpodSaveRegistryAuth_GraphQLErrorSchema).describe("Array of error objects returned if the mutation encounters issues. Absent if no errors occurred.").nullable().optional()
|
|
29
|
-
}).describe("Response from the saveRegistryAuth mutation.")
|
|
29
|
+
}).passthrough().describe("Response from the saveRegistryAuth mutation.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { runpodSaveRegistryAuth };
|