@keystrokehq/runpod 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-cluster.cjs +3 -3
  4. package/dist/actions/create-cluster.cjs.map +1 -1
  5. package/dist/actions/create-cluster.d.cts +68 -3
  6. package/dist/actions/create-cluster.d.cts.map +1 -1
  7. package/dist/actions/create-cluster.d.mts +68 -3
  8. package/dist/actions/create-cluster.d.mts.map +1 -1
  9. package/dist/actions/create-cluster.mjs +3 -3
  10. package/dist/actions/create-cluster.mjs.map +1 -1
  11. package/dist/actions/create-secret.cjs +2 -2
  12. package/dist/actions/create-secret.cjs.map +1 -1
  13. package/dist/actions/create-secret.d.cts +17 -3
  14. package/dist/actions/create-secret.d.cts.map +1 -1
  15. package/dist/actions/create-secret.d.mts +17 -3
  16. package/dist/actions/create-secret.d.mts.map +1 -1
  17. package/dist/actions/create-secret.mjs +2 -2
  18. package/dist/actions/create-secret.mjs.map +1 -1
  19. package/dist/actions/delete-registry-auth.cjs +5 -5
  20. package/dist/actions/delete-registry-auth.cjs.map +1 -1
  21. package/dist/actions/delete-registry-auth.d.cts +16 -3
  22. package/dist/actions/delete-registry-auth.d.cts.map +1 -1
  23. package/dist/actions/delete-registry-auth.d.mts +16 -3
  24. package/dist/actions/delete-registry-auth.d.mts.map +1 -1
  25. package/dist/actions/delete-registry-auth.mjs +5 -5
  26. package/dist/actions/delete-registry-auth.mjs.map +1 -1
  27. package/dist/actions/delete-template.cjs +5 -5
  28. package/dist/actions/delete-template.cjs.map +1 -1
  29. package/dist/actions/delete-template.d.cts +16 -3
  30. package/dist/actions/delete-template.d.cts.map +1 -1
  31. package/dist/actions/delete-template.d.mts +16 -3
  32. package/dist/actions/delete-template.d.mts.map +1 -1
  33. package/dist/actions/delete-template.mjs +5 -5
  34. package/dist/actions/delete-template.mjs.map +1 -1
  35. package/dist/actions/get-gpu-types.cjs +1 -1
  36. package/dist/actions/get-gpu-types.cjs.map +1 -1
  37. package/dist/actions/get-gpu-types.d.cts +18 -3
  38. package/dist/actions/get-gpu-types.d.cts.map +1 -1
  39. package/dist/actions/get-gpu-types.d.mts +18 -3
  40. package/dist/actions/get-gpu-types.d.mts.map +1 -1
  41. package/dist/actions/get-gpu-types.mjs +1 -1
  42. package/dist/actions/get-gpu-types.mjs.map +1 -1
  43. package/dist/actions/get-myself.cjs +2 -2
  44. package/dist/actions/get-myself.cjs.map +1 -1
  45. package/dist/actions/get-myself.d.cts +12 -3
  46. package/dist/actions/get-myself.d.cts.map +1 -1
  47. package/dist/actions/get-myself.d.mts +12 -3
  48. package/dist/actions/get-myself.d.mts.map +1 -1
  49. package/dist/actions/get-myself.mjs +2 -2
  50. package/dist/actions/get-myself.mjs.map +1 -1
  51. package/dist/actions/get-pod.cjs +2 -2
  52. package/dist/actions/get-pod.cjs.map +1 -1
  53. package/dist/actions/get-pod.d.cts +19 -3
  54. package/dist/actions/get-pod.d.cts.map +1 -1
  55. package/dist/actions/get-pod.d.mts +19 -3
  56. package/dist/actions/get-pod.d.mts.map +1 -1
  57. package/dist/actions/get-pod.mjs +2 -2
  58. package/dist/actions/get-pod.mjs.map +1 -1
  59. package/dist/actions/list-cpu-types.cjs +8 -8
  60. package/dist/actions/list-cpu-types.cjs.map +1 -1
  61. package/dist/actions/list-cpu-types.d.cts +14 -3
  62. package/dist/actions/list-cpu-types.d.cts.map +1 -1
  63. package/dist/actions/list-cpu-types.d.mts +14 -3
  64. package/dist/actions/list-cpu-types.d.mts.map +1 -1
  65. package/dist/actions/list-cpu-types.mjs +8 -8
  66. package/dist/actions/list-cpu-types.mjs.map +1 -1
  67. package/dist/actions/save-endpoint.cjs +3 -3
  68. package/dist/actions/save-endpoint.cjs.map +1 -1
  69. package/dist/actions/save-endpoint.d.cts +41 -3
  70. package/dist/actions/save-endpoint.d.cts.map +1 -1
  71. package/dist/actions/save-endpoint.d.mts +41 -3
  72. package/dist/actions/save-endpoint.d.mts.map +1 -1
  73. package/dist/actions/save-endpoint.mjs +3 -3
  74. package/dist/actions/save-endpoint.mjs.map +1 -1
  75. package/dist/actions/save-registry-auth.cjs +8 -8
  76. package/dist/actions/save-registry-auth.cjs.map +1 -1
  77. package/dist/actions/save-registry-auth.d.cts +25 -3
  78. package/dist/actions/save-registry-auth.d.cts.map +1 -1
  79. package/dist/actions/save-registry-auth.d.mts +25 -3
  80. package/dist/actions/save-registry-auth.d.mts.map +1 -1
  81. package/dist/actions/save-registry-auth.mjs +8 -8
  82. package/dist/actions/save-registry-auth.mjs.map +1 -1
  83. package/dist/actions/save-template.cjs +10 -10
  84. package/dist/actions/save-template.cjs.map +1 -1
  85. package/dist/actions/save-template.d.cts +50 -3
  86. package/dist/actions/save-template.d.cts.map +1 -1
  87. package/dist/actions/save-template.d.mts +50 -3
  88. package/dist/actions/save-template.d.mts.map +1 -1
  89. package/dist/actions/save-template.mjs +10 -10
  90. package/dist/actions/save-template.mjs.map +1 -1
  91. package/dist/actions/update-registry-auth.cjs +3 -3
  92. package/dist/actions/update-registry-auth.cjs.map +1 -1
  93. package/dist/actions/update-registry-auth.d.cts +14 -3
  94. package/dist/actions/update-registry-auth.d.cts.map +1 -1
  95. package/dist/actions/update-registry-auth.d.mts +14 -3
  96. package/dist/actions/update-registry-auth.d.mts.map +1 -1
  97. package/dist/actions/update-registry-auth.mjs +3 -3
  98. package/dist/actions/update-registry-auth.mjs.map +1 -1
  99. package/dist/actions/update-user-settings.cjs +2 -2
  100. package/dist/actions/update-user-settings.cjs.map +1 -1
  101. package/dist/actions/update-user-settings.d.cts +13 -3
  102. package/dist/actions/update-user-settings.d.cts.map +1 -1
  103. package/dist/actions/update-user-settings.d.mts +13 -3
  104. package/dist/actions/update-user-settings.d.mts.map +1 -1
  105. package/dist/actions/update-user-settings.mjs +2 -2
  106. package/dist/actions/update-user-settings.mjs.map +1 -1
  107. package/dist/catalog.cjs +7 -1
  108. package/dist/catalog.cjs.map +1 -1
  109. package/dist/catalog.d.cts +8 -0
  110. package/dist/catalog.d.mts +8 -0
  111. package/dist/catalog.mjs +7 -1
  112. package/dist/catalog.mjs.map +1 -1
  113. package/package.json +2 -2
@@ -3,15 +3,15 @@ let zod = require("zod");
3
3
  //#region src/actions/list-cpu-types.ts
4
4
  const RunpodListCpuTypesInput = zod.z.object({}).describe("Request model for retrieving available CPU types from RunPod.");
5
5
  const RunpodListCpuTypes_CpuTypeSchema = zod.z.object({
6
- id: zod.z.string().describe("Unique identifier for the CPU type."),
7
- cores: zod.z.number().int().describe("Number of processor cores."),
6
+ id: zod.z.string().describe("Unique identifier for the CPU type.").nullable(),
7
+ cores: zod.z.number().int().describe("Number of processor cores.").nullable(),
8
8
  groupId: zod.z.string().describe("Associated CPU group identifier.").nullable().optional(),
9
- displayName: zod.z.string().describe("Human-readable name for display purposes."),
10
- manufacturer: zod.z.string().describe("CPU manufacturer name (e.g., Intel, AMD)."),
11
- threadsPerCore: zod.z.number().int().describe("Thread count per individual core.")
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.");
9
+ displayName: zod.z.string().describe("Human-readable name for display purposes.").nullable(),
10
+ manufacturer: zod.z.string().describe("CPU manufacturer name (e.g., Intel, AMD).").nullable(),
11
+ threadsPerCore: zod.z.number().int().describe("Thread count per individual core.").nullable()
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.ZodTypeAny = z.object({}).describe(\"Request model for retrieving available CPU types from RunPod.\");\nconst RunpodListCpuTypes_CpuTypeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the CPU type.\"),\n cores: z.number().int().describe(\"Number of processor cores.\"),\n groupId: z.string().describe(\"Associated CPU group identifier.\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable name for display purposes.\"),\n manufacturer: z.string().describe(\"CPU manufacturer name (e.g., Intel, AMD).\"),\n threadsPerCore: z.number().int().describe(\"Thread count per individual core.\"),\n}).describe(\"CPU type specification with hardware details.\");\nconst RunpodListCpuTypes_ListCpuTypesResponseDataSchema: z.ZodTypeAny = 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.ZodTypeAny = 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,0BAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC1I,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC7E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;AAC/E,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,oDAAkEA,IAAAA,EAAE,OAAO,EAC/E,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,yDAAyD,EACxH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,MAAM,kDAAkD,SAAS,EACnE,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAEpF,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-cpu-types.d.ts
4
- declare const RunpodListCpuTypesInput: z.ZodTypeAny;
5
- declare const RunpodListCpuTypesOutput: z.ZodTypeAny;
6
- declare const runpodListCpuTypes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RunpodListCpuTypesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RunpodListCpuTypesOutput: z.ZodObject<{
6
+ data: z.ZodNullable<z.ZodObject<{
7
+ cpuTypes: z.ZodArray<z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ cores: z.ZodNullable<z.ZodNumber>;
10
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ displayName: z.ZodNullable<z.ZodString>;
12
+ manufacturer: z.ZodNullable<z.ZodString>;
13
+ threadsPerCore: z.ZodNullable<z.ZodNumber>;
14
+ }, z.core.$loose>>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
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]>;
7
18
  //#endregion
8
19
  export { runpodListCpuTypes };
9
20
  //# sourceMappingURL=list-cpu-types.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-cpu-types.d.cts","names":[],"sources":["../../src/actions/list-cpu-types.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAAmG;AAAA,cAY9H,wBAAA,EAA0B,CAAA,CAAE,UAE4C;AAAA,cAExE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-cpu-types.d.cts","names":[],"sources":["../../src/actions/list-cpu-types.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-cpu-types.d.ts
4
- declare const RunpodListCpuTypesInput: z.ZodTypeAny;
5
- declare const RunpodListCpuTypesOutput: z.ZodTypeAny;
6
- declare const runpodListCpuTypes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RunpodListCpuTypesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RunpodListCpuTypesOutput: z.ZodObject<{
6
+ data: z.ZodNullable<z.ZodObject<{
7
+ cpuTypes: z.ZodArray<z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ cores: z.ZodNullable<z.ZodNumber>;
10
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ displayName: z.ZodNullable<z.ZodString>;
12
+ manufacturer: z.ZodNullable<z.ZodString>;
13
+ threadsPerCore: z.ZodNullable<z.ZodNumber>;
14
+ }, z.core.$loose>>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
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]>;
7
18
  //#endregion
8
19
  export { runpodListCpuTypes };
9
20
  //# sourceMappingURL=list-cpu-types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-cpu-types.d.mts","names":[],"sources":["../../src/actions/list-cpu-types.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAAmG;AAAA,cAY9H,wBAAA,EAA0B,CAAA,CAAE,UAE4C;AAAA,cAExE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-cpu-types.d.mts","names":[],"sources":["../../src/actions/list-cpu-types.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,20 +3,20 @@ import { z } from "zod";
3
3
  //#region src/actions/list-cpu-types.ts
4
4
  const RunpodListCpuTypesInput = z.object({}).describe("Request model for retrieving available CPU types from RunPod.");
5
5
  const RunpodListCpuTypes_CpuTypeSchema = z.object({
6
- id: z.string().describe("Unique identifier for the CPU type."),
7
- cores: z.number().int().describe("Number of processor cores."),
6
+ id: z.string().describe("Unique identifier for the CPU type.").nullable(),
7
+ cores: z.number().int().describe("Number of processor cores.").nullable(),
8
8
  groupId: z.string().describe("Associated CPU group identifier.").nullable().optional(),
9
- displayName: z.string().describe("Human-readable name for display purposes."),
10
- manufacturer: z.string().describe("CPU manufacturer name (e.g., Intel, AMD)."),
11
- threadsPerCore: z.number().int().describe("Thread count per individual core.")
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.");
9
+ displayName: z.string().describe("Human-readable name for display purposes.").nullable(),
10
+ manufacturer: z.string().describe("CPU manufacturer name (e.g., Intel, AMD).").nullable(),
11
+ threadsPerCore: z.number().int().describe("Thread count per individual core.").nullable()
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.ZodTypeAny = z.object({}).describe(\"Request model for retrieving available CPU types from RunPod.\");\nconst RunpodListCpuTypes_CpuTypeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the CPU type.\"),\n cores: z.number().int().describe(\"Number of processor cores.\"),\n groupId: z.string().describe(\"Associated CPU group identifier.\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable name for display purposes.\"),\n manufacturer: z.string().describe(\"CPU manufacturer name (e.g., Intel, AMD).\"),\n threadsPerCore: z.number().int().describe(\"Thread count per individual core.\"),\n}).describe(\"CPU type specification with hardware details.\");\nconst RunpodListCpuTypes_ListCpuTypesResponseDataSchema: z.ZodTypeAny = 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.ZodTypeAny = 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,0BAAwC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC1I,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC7E,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;AAC/E,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,oDAAkE,EAAE,OAAO,EAC/E,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,yDAAyD,EACxH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAK5D,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,MAAM,kDAAkD,SAAS,EACnE,CAAC,CAAC,CAAC,SAAS,wEAOF;AACV,CAAC"}
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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.object({\n saveEndpoint: RunpodSaveEndpoint_SaveEndpointDataSchema.nullable().optional(),\n}).describe(\"Wrapper for the data object in GraphQL response.\");\nexport const RunpodSaveEndpointOutput: z.ZodTypeAny = 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":"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"}
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":"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"}
@@ -1,9 +1,47 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/save-endpoint.d.ts
4
- declare const RunpodSaveEndpointInput: z.ZodTypeAny;
5
- declare const RunpodSaveEndpointOutput: z.ZodTypeAny;
6
- declare const runpodSaveEndpoint: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RunpodSaveEndpointInput: z.ZodObject<{
5
+ id: z.ZodOptional<z.ZodString>;
6
+ name: z.ZodString;
7
+ gpu_ids: z.ZodString;
8
+ locations: z.ZodOptional<z.ZodString>;
9
+ scaler_type: z.ZodOptional<z.ZodString>;
10
+ template_id: z.ZodString;
11
+ workers_max: z.ZodOptional<z.ZodNumber>;
12
+ workers_min: z.ZodOptional<z.ZodNumber>;
13
+ idle_timeout: z.ZodOptional<z.ZodNumber>;
14
+ scaler_value: z.ZodOptional<z.ZodNumber>;
15
+ network_volume_id: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const RunpodSaveEndpointOutput: z.ZodObject<{
18
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
+ saveEndpoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ gpu_ids: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ scaler_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ workers_max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ workers_min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ scaler_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ }, z.core.$loose>>>;
29
+ }, z.core.$loose>>>;
30
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
31
+ }, z.core.$loose>;
32
+ declare const runpodSaveEndpoint: import("@keystrokehq/action").WorkflowActionDefinition<{
33
+ name: string;
34
+ gpu_ids: string;
35
+ template_id: string;
36
+ id?: string | undefined;
37
+ locations?: string | undefined;
38
+ scaler_type?: string | undefined;
39
+ workers_max?: number | undefined;
40
+ workers_min?: number | undefined;
41
+ idle_timeout?: number | undefined;
42
+ scaler_value?: number | undefined;
43
+ network_volume_id?: string | undefined;
44
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
45
  //#endregion
8
46
  export { runpodSaveEndpoint };
9
47
  //# sourceMappingURL=save-endpoint.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"save-endpoint.d.cts","names":[],"sources":["../../src/actions/save-endpoint.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAY2C;AAAA,cActE,wBAAA,EAA0B,CAAA,CAAE,UAGmB;AAAA,cAE/C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"save-endpoint.d.cts","names":[],"sources":["../../src/actions/save-endpoint.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA0BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,47 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/save-endpoint.d.ts
4
- declare const RunpodSaveEndpointInput: z.ZodTypeAny;
5
- declare const RunpodSaveEndpointOutput: z.ZodTypeAny;
6
- declare const runpodSaveEndpoint: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RunpodSaveEndpointInput: z.ZodObject<{
5
+ id: z.ZodOptional<z.ZodString>;
6
+ name: z.ZodString;
7
+ gpu_ids: z.ZodString;
8
+ locations: z.ZodOptional<z.ZodString>;
9
+ scaler_type: z.ZodOptional<z.ZodString>;
10
+ template_id: z.ZodString;
11
+ workers_max: z.ZodOptional<z.ZodNumber>;
12
+ workers_min: z.ZodOptional<z.ZodNumber>;
13
+ idle_timeout: z.ZodOptional<z.ZodNumber>;
14
+ scaler_value: z.ZodOptional<z.ZodNumber>;
15
+ network_volume_id: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const RunpodSaveEndpointOutput: z.ZodObject<{
18
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
+ saveEndpoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ gpu_ids: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ scaler_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ workers_max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ workers_min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ scaler_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ }, z.core.$loose>>>;
29
+ }, z.core.$loose>>>;
30
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
31
+ }, z.core.$loose>;
32
+ declare const runpodSaveEndpoint: import("@keystrokehq/action").WorkflowActionDefinition<{
33
+ name: string;
34
+ gpu_ids: string;
35
+ template_id: string;
36
+ id?: string | undefined;
37
+ locations?: string | undefined;
38
+ scaler_type?: string | undefined;
39
+ workers_max?: number | undefined;
40
+ workers_min?: number | undefined;
41
+ idle_timeout?: number | undefined;
42
+ scaler_value?: number | undefined;
43
+ network_volume_id?: string | undefined;
44
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
45
  //#endregion
8
46
  export { runpodSaveEndpoint };
9
47
  //# sourceMappingURL=save-endpoint.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"save-endpoint.d.mts","names":[],"sources":["../../src/actions/save-endpoint.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAY2C;AAAA,cActE,wBAAA,EAA0B,CAAA,CAAE,UAGmB;AAAA,cAE/C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"save-endpoint.d.mts","names":[],"sources":["../../src/actions/save-endpoint.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA0BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.object({\n saveEndpoint: RunpodSaveEndpoint_SaveEndpointDataSchema.nullable().optional(),\n}).describe(\"Wrapper for the data object in GraphQL response.\");\nexport const RunpodSaveEndpointOutput: z.ZodTypeAny = 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,0BAAwC,EAAE,OAAO;CAC5D,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,4CAA0D,EAAE,OAAO;CACvE,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;AACvE,MAAM,mDAAiE,EAAE,OAAO,EAC9E,cAAc,0CAA0C,SAAS,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAM9D,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoD,EAAE,OAAO;EAC7D,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,SAAS,+CAOF;AACV,CAAC"}
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"}
@@ -7,21 +7,21 @@ const RunpodSaveRegistryAuthInput = zod.z.object({
7
7
  username: zod.z.string().describe("The username for authenticating with the container registry.")
8
8
  }).describe("Request parameters for saving container registry authentication.");
9
9
  const RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema = zod.z.object({
10
- id: zod.z.string().describe("The unique identifier of the saved registry authentication credential."),
11
- name: zod.z.string().describe("The user-defined name of the registry authentication credential."),
10
+ id: zod.z.string().describe("The unique identifier of the saved registry authentication credential.").nullable(),
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
- message: zod.z.string().describe("Human-readable description of the error that occurred."),
19
- locations: zod.z.array(zod.z.object({})).describe("Array indicating where in the GraphQL operation the error occurred.").nullable().optional()
20
- }).describe("GraphQL error object.");
18
+ message: zod.z.string().describe("Human-readable description of the error that occurred.").nullable(),
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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the saved registry authentication credential.\"),\n name: z.string().describe(\"The user-defined name of the registry authentication credential.\"),\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.ZodTypeAny = z.object({\n saveRegistryAuth: RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema.nullable(),\n}).describe(\"Data field containing the mutation result.\");\nconst RunpodSaveRegistryAuth_GraphQLErrorSchema: z.ZodTypeAny = 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.\"),\n locations: z.array(z.object({})).describe(\"Array indicating where in the GraphQL operation the error occurred.\").nullable().optional(),\n}).describe(\"GraphQL error object.\");\nexport const RunpodSaveRegistryAuthOutput: z.ZodTypeAny = 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}).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,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,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,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAC5F,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,SAAS,+EAA+E;AAC3F,MAAM,4DAA0EA,IAAAA,EAAE,OAAO,EACvF,kBAAkB,kDAAkD,SAAS,EAC/E,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,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;CACrF,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,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,SAAS,8CAA8C;AAE1D,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/save-registry-auth.d.ts
4
- declare const RunpodSaveRegistryAuthInput: z.ZodTypeAny;
5
- declare const RunpodSaveRegistryAuthOutput: z.ZodTypeAny;
6
- declare const runpodSaveRegistryAuth: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RunpodSaveRegistryAuthInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ password: z.ZodString;
7
+ username: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const RunpodSaveRegistryAuthOutput: z.ZodObject<{
10
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
+ saveRegistryAuth: z.ZodNullable<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ registryAuth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$loose>>>;
18
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
19
+ path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
20
+ message: z.ZodNullable<z.ZodString>;
21
+ locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
22
+ }, z.core.$loose>>>>;
23
+ }, z.core.$loose>;
24
+ declare const runpodSaveRegistryAuth: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ name: string;
26
+ password: string;
27
+ username: string;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { runpodSaveRegistryAuth };
9
31
  //# sourceMappingURL=save-registry-auth.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"save-registry-auth.d.cts","names":[],"sources":["../../src/actions/save-registry-auth.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAImC;AAAA,cAelE,4BAAA,EAA8B,CAAA,CAAE,UAGc;AAAA,cAE9C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"save-registry-auth.d.cts","names":[],"sources":["../../src/actions/save-registry-auth.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/save-registry-auth.d.ts
4
- declare const RunpodSaveRegistryAuthInput: z.ZodTypeAny;
5
- declare const RunpodSaveRegistryAuthOutput: z.ZodTypeAny;
6
- declare const runpodSaveRegistryAuth: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RunpodSaveRegistryAuthInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ password: z.ZodString;
7
+ username: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const RunpodSaveRegistryAuthOutput: z.ZodObject<{
10
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
+ saveRegistryAuth: z.ZodNullable<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ registryAuth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$loose>>>;
18
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
19
+ path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
20
+ message: z.ZodNullable<z.ZodString>;
21
+ locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
22
+ }, z.core.$loose>>>>;
23
+ }, z.core.$loose>;
24
+ declare const runpodSaveRegistryAuth: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ name: string;
26
+ password: string;
27
+ username: string;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { runpodSaveRegistryAuth };
9
31
  //# sourceMappingURL=save-registry-auth.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"save-registry-auth.d.mts","names":[],"sources":["../../src/actions/save-registry-auth.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAImC;AAAA,cAelE,4BAAA,EAA8B,CAAA,CAAE,UAGc;AAAA,cAE9C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"save-registry-auth.d.mts","names":[],"sources":["../../src/actions/save-registry-auth.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -7,17 +7,17 @@ const RunpodSaveRegistryAuthInput = z.object({
7
7
  username: z.string().describe("The username for authenticating with the container registry.")
8
8
  }).describe("Request parameters for saving container registry authentication.");
9
9
  const RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema = z.object({
10
- id: z.string().describe("The unique identifier of the saved registry authentication credential."),
11
- name: z.string().describe("The user-defined name of the registry authentication credential."),
10
+ id: z.string().describe("The unique identifier of the saved registry authentication credential.").nullable(),
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
- message: z.string().describe("Human-readable description of the error that occurred."),
19
- locations: z.array(z.object({})).describe("Array indicating where in the GraphQL operation the error occurred.").nullable().optional()
20
- }).describe("GraphQL error object.");
18
+ message: z.string().describe("Human-readable description of the error that occurred.").nullable(),
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 };
@@ -1 +1 @@
1
- {"version":3,"file":"save-registry-auth.mjs","names":[],"sources":["../../src/actions/save-registry-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodSaveRegistryAuthInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the saved registry authentication credential.\"),\n name: z.string().describe(\"The user-defined name of the registry authentication credential.\"),\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.ZodTypeAny = z.object({\n saveRegistryAuth: RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema.nullable(),\n}).describe(\"Data field containing the mutation result.\");\nconst RunpodSaveRegistryAuth_GraphQLErrorSchema: z.ZodTypeAny = 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.\"),\n locations: z.array(z.object({})).describe(\"Array indicating where in the GraphQL operation the error occurred.\").nullable().optional(),\n}).describe(\"GraphQL error object.\");\nexport const RunpodSaveRegistryAuthOutput: z.ZodTypeAny = 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}).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,8BAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ;CACnL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AAC9F,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,oDAAkE,EAAE,OAAO;CAC/E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,4DAA0E,EAAE,OAAO,EACvF,kBAAkB,kDAAkD,SAAS,EAC/E,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,4CAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACrF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,uBAAuB;AAMnC,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,MAAM,0DAA0D,SAAS,CAAC,CAAC,SAAS;EACpF,QAAQ,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9L,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"save-registry-auth.mjs","names":[],"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,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ;CACnL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AAC9F,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC3G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,cAAc,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,4DAA4D,EAAE,OAAO,EACzE,kBAAkB,kDAAkD,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChG,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AAMjD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,0DAA0D,SAAS,CAAC,CAAC,SAAS;EACpF,QAAQ,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}