@keystrokehq/rocketadmin 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/check-api-key.cjs +16 -0
- package/dist/actions/check-api-key.cjs.map +1 -0
- package/dist/actions/check-api-key.d.cts +9 -0
- package/dist/actions/check-api-key.d.cts.map +1 -0
- package/dist/actions/check-api-key.d.mts +9 -0
- package/dist/actions/check-api-key.d.mts.map +1 -0
- package/dist/actions/check-api-key.mjs +13 -0
- package/dist/actions/check-api-key.mjs.map +1 -0
- package/dist/actions/delete-table-row.cjs +20 -0
- package/dist/actions/delete-table-row.cjs.map +1 -0
- package/dist/actions/delete-table-row.d.cts +9 -0
- package/dist/actions/delete-table-row.d.cts.map +1 -0
- package/dist/actions/delete-table-row.d.mts +9 -0
- package/dist/actions/delete-table-row.d.mts.map +1 -0
- package/dist/actions/delete-table-row.mjs +17 -0
- package/dist/actions/delete-table-row.mjs.map +1 -0
- package/dist/actions/get-company-invite-verify.cjs +19 -0
- package/dist/actions/get-company-invite-verify.cjs.map +1 -0
- package/dist/actions/get-company-invite-verify.d.cts +9 -0
- package/dist/actions/get-company-invite-verify.d.cts.map +1 -0
- package/dist/actions/get-company-invite-verify.d.mts +9 -0
- package/dist/actions/get-company-invite-verify.d.mts.map +1 -0
- package/dist/actions/get-company-invite-verify.mjs +16 -0
- package/dist/actions/get-company-invite-verify.mjs.map +1 -0
- package/dist/actions/get-connection-tables-v2.cjs +29 -0
- package/dist/actions/get-connection-tables-v2.cjs.map +1 -0
- package/dist/actions/get-connection-tables-v2.d.cts +9 -0
- package/dist/actions/get-connection-tables-v2.d.cts.map +1 -0
- package/dist/actions/get-connection-tables-v2.d.mts +9 -0
- package/dist/actions/get-connection-tables-v2.d.mts.map +1 -0
- package/dist/actions/get-connection-tables-v2.mjs +28 -0
- package/dist/actions/get-connection-tables-v2.mjs.map +1 -0
- package/dist/actions/get-connection-token.cjs +16 -0
- package/dist/actions/get-connection-token.cjs.map +1 -0
- package/dist/actions/get-connection-token.d.cts +9 -0
- package/dist/actions/get-connection-token.d.cts.map +1 -0
- package/dist/actions/get-connection-token.d.mts +9 -0
- package/dist/actions/get-connection-token.d.mts.map +1 -0
- package/dist/actions/get-connection-token.mjs +13 -0
- package/dist/actions/get-connection-token.mjs.map +1 -0
- package/dist/actions/get-connections.cjs +31 -0
- package/dist/actions/get-connections.cjs.map +1 -0
- package/dist/actions/get-connections.d.cts +9 -0
- package/dist/actions/get-connections.d.cts.map +1 -0
- package/dist/actions/get-connections.d.mts +9 -0
- package/dist/actions/get-connections.d.mts.map +1 -0
- package/dist/actions/get-connections.mjs +30 -0
- package/dist/actions/get-connections.mjs.map +1 -0
- package/dist/actions/get-hello.cjs +16 -0
- package/dist/actions/get-hello.cjs.map +1 -0
- package/dist/actions/get-hello.d.cts +9 -0
- package/dist/actions/get-hello.d.cts.map +1 -0
- package/dist/actions/get-hello.d.mts +9 -0
- package/dist/actions/get-hello.d.mts.map +1 -0
- package/dist/actions/get-hello.mjs +13 -0
- package/dist/actions/get-hello.mjs.map +1 -0
- package/dist/actions/get-saas-users-email.cjs +22 -0
- package/dist/actions/get-saas-users-email.cjs.map +1 -0
- package/dist/actions/get-saas-users-email.d.cts +9 -0
- package/dist/actions/get-saas-users-email.d.cts.map +1 -0
- package/dist/actions/get-saas-users-email.d.mts +9 -0
- package/dist/actions/get-saas-users-email.d.mts.map +1 -0
- package/dist/actions/get-saas-users-email.mjs +21 -0
- package/dist/actions/get-saas-users-email.mjs.map +1 -0
- package/dist/actions/get-table-row.cjs +20 -0
- package/dist/actions/get-table-row.cjs.map +1 -0
- package/dist/actions/get-table-row.d.cts +9 -0
- package/dist/actions/get-table-row.d.cts.map +1 -0
- package/dist/actions/get-table-row.d.mts +9 -0
- package/dist/actions/get-table-row.d.mts.map +1 -0
- package/dist/actions/get-table-row.mjs +17 -0
- package/dist/actions/get-table-row.mjs.map +1 -0
- package/dist/actions/get-table-structure.cjs +42 -0
- package/dist/actions/get-table-structure.cjs.map +1 -0
- package/dist/actions/get-table-structure.d.cts +9 -0
- package/dist/actions/get-table-structure.d.cts.map +1 -0
- package/dist/actions/get-table-structure.d.mts +9 -0
- package/dist/actions/get-table-structure.d.mts.map +1 -0
- package/dist/actions/get-table-structure.mjs +41 -0
- package/dist/actions/get-table-structure.mjs.map +1 -0
- package/dist/actions/get-user-email-verify.cjs +20 -0
- package/dist/actions/get-user-email-verify.cjs.map +1 -0
- package/dist/actions/get-user-email-verify.d.cts +9 -0
- package/dist/actions/get-user-email-verify.d.cts.map +1 -0
- package/dist/actions/get-user-email-verify.d.mts +9 -0
- package/dist/actions/get-user-email-verify.d.mts.map +1 -0
- package/dist/actions/get-user-email-verify.mjs +17 -0
- package/dist/actions/get-user-email-verify.mjs.map +1 -0
- package/dist/actions/index.cjs +35 -0
- package/dist/actions/index.d.cts +18 -0
- package/dist/actions/index.d.mts +18 -0
- package/dist/actions/index.mjs +18 -0
- package/dist/actions/post-table-csv-export.cjs +29 -0
- package/dist/actions/post-table-csv-export.cjs.map +1 -0
- package/dist/actions/post-table-csv-export.d.cts +9 -0
- package/dist/actions/post-table-csv-export.d.cts.map +1 -0
- package/dist/actions/post-table-csv-export.d.mts +9 -0
- package/dist/actions/post-table-csv-export.d.mts.map +1 -0
- package/dist/actions/post-table-csv-export.mjs +26 -0
- package/dist/actions/post-table-csv-export.mjs.map +1 -0
- package/dist/actions/post-table-row.cjs +20 -0
- package/dist/actions/post-table-row.cjs.map +1 -0
- package/dist/actions/post-table-row.d.cts +9 -0
- package/dist/actions/post-table-row.d.cts.map +1 -0
- package/dist/actions/post-table-row.d.mts +9 -0
- package/dist/actions/post-table-row.d.mts.map +1 -0
- package/dist/actions/post-table-row.mjs +17 -0
- package/dist/actions/post-table-row.mjs.map +1 -0
- package/dist/actions/post-table-rows-find.cjs +22 -0
- package/dist/actions/post-table-rows-find.cjs.map +1 -0
- package/dist/actions/post-table-rows-find.d.cts +9 -0
- package/dist/actions/post-table-rows-find.d.cts.map +1 -0
- package/dist/actions/post-table-rows-find.d.mts +9 -0
- package/dist/actions/post-table-rows-find.d.mts.map +1 -0
- package/dist/actions/post-table-rows-find.mjs +19 -0
- package/dist/actions/post-table-rows-find.mjs.map +1 -0
- package/dist/actions/put-table-row.cjs +21 -0
- package/dist/actions/put-table-row.cjs.map +1 -0
- package/dist/actions/put-table-row.d.cts +9 -0
- package/dist/actions/put-table-row.d.cts.map +1 -0
- package/dist/actions/put-table-row.d.mts +9 -0
- package/dist/actions/put-table-row.d.mts.map +1 -0
- package/dist/actions/put-table-row.mjs +18 -0
- package/dist/actions/put-table-row.mjs.map +1 -0
- package/dist/actions/put-table-rows-delete.cjs +20 -0
- package/dist/actions/put-table-rows-delete.cjs.map +1 -0
- package/dist/actions/put-table-rows-delete.d.cts +9 -0
- package/dist/actions/put-table-rows-delete.d.cts.map +1 -0
- package/dist/actions/put-table-rows-delete.d.mts +9 -0
- package/dist/actions/put-table-rows-delete.d.mts.map +1 -0
- package/dist/actions/put-table-rows-delete.mjs +17 -0
- package/dist/actions/put-table-rows-delete.mjs.map +1 -0
- package/dist/actions/put-table-rows-update.cjs +21 -0
- package/dist/actions/put-table-rows-update.cjs.map +1 -0
- package/dist/actions/put-table-rows-update.d.cts +9 -0
- package/dist/actions/put-table-rows-update.d.cts.map +1 -0
- package/dist/actions/put-table-rows-update.d.mts +9 -0
- package/dist/actions/put-table-rows-update.d.mts.map +1 -0
- package/dist/actions/put-table-rows-update.mjs +18 -0
- package/dist/actions/put-table-rows-update.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +40 -0
- package/dist/index.d.cts +20 -0
- package/dist/index.d.mts +20 -0
- package/dist/index.mjs +21 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @keystrokehq/rocketadmin
|
|
2
|
+
|
|
3
|
+
Keystroke-managed integration.
|
|
4
|
+
|
|
5
|
+
**App:** `rocketadmin`
|
|
6
|
+
**Version:** `20260615_00`
|
|
7
|
+
**Actions:** 17
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { defineAgent } from "@keystrokehq/keystroke/agent";
|
|
11
|
+
import { rocketadminCheckApiKey } from "@keystrokehq/rocketadmin/actions";
|
|
12
|
+
|
|
13
|
+
export default defineAgent({
|
|
14
|
+
key: "rocketadmin-agent",
|
|
15
|
+
tools: [rocketadminCheckApiKey],
|
|
16
|
+
});
|
|
17
|
+
```
|
package/dist/action.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_app = require("./app.cjs");
|
|
2
|
+
const require_execute = require("./execute.cjs");
|
|
3
|
+
require("zod");
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return require_app.rocketadmin.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await require_execute.executeRocketadminTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.action = action;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["rocketadmin","executeRocketadminTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rocketadmin } from \"./app\";\nimport { executeRocketadminTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return rocketadmin.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRocketadminTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
|
package/dist/action.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { rocketadmin } from "./app.mjs";
|
|
2
|
+
import { executeRocketadminTool } from "./execute.mjs";
|
|
3
|
+
import "zod";
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return rocketadmin.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await executeRocketadminTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { action };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rocketadmin } from \"./app\";\nimport { executeRocketadminTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return rocketadmin.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRocketadminTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/check-api-key.ts
|
|
4
|
+
const RocketadminCheckApiKeyInput = zod.z.object({}).describe("Request model for checking API key validity. No parameters are required.");
|
|
5
|
+
const RocketadminCheckApiKeyOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the API key is valid and active.") }).describe("Response model for API key validation check.");
|
|
6
|
+
const rocketadminCheckApiKey = require_action.action("ROCKETADMIN_CHECK_API_KEY", {
|
|
7
|
+
slug: "rocketadmin-check-api-key",
|
|
8
|
+
name: "Check API Key",
|
|
9
|
+
description: "Tool to validate whether an API key is legitimate and active. Use when you need to verify that the current API key is valid before performing other operations.",
|
|
10
|
+
input: RocketadminCheckApiKeyInput,
|
|
11
|
+
output: RocketadminCheckApiKeyOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.rocketadminCheckApiKey = rocketadminCheckApiKey;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=check-api-key.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-api-key.cjs","names":["z","action"],"sources":["../../src/actions/check-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminCheckApiKeyInput: z.ZodTypeAny = z.object({}).describe(\"Request model for checking API key validity. No parameters are required.\");\nexport const RocketadminCheckApiKeyOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the API key is valid and active.\"),\n}).describe(\"Response model for API key validation check.\");\n\nexport const rocketadminCheckApiKey = action(\"ROCKETADMIN_CHECK_API_KEY\", {\n slug: \"rocketadmin-check-api-key\",\n name: \"Check API Key\",\n description: \"Tool to validate whether an API key is legitimate and active. Use when you need to verify that the current API key is valid before performing other operations.\",\n input: RocketadminCheckApiKeyInput,\n output: RocketadminCheckApiKeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACzJ,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/check-api-key.d.ts
|
|
4
|
+
declare const RocketadminCheckApiKeyInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminCheckApiKeyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminCheckApiKey: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminCheckApiKey };
|
|
9
|
+
//# sourceMappingURL=check-api-key.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-api-key.d.cts","names":[],"sources":["../../src/actions/check-api-key.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAA8G;AAAA,cAC7I,4BAAA,EAA8B,CAAA,CAAE,UAEc;AAAA,cAE9C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/check-api-key.d.ts
|
|
4
|
+
declare const RocketadminCheckApiKeyInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminCheckApiKeyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminCheckApiKey: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminCheckApiKey };
|
|
9
|
+
//# sourceMappingURL=check-api-key.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-api-key.d.mts","names":[],"sources":["../../src/actions/check-api-key.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAA8G;AAAA,cAC7I,4BAAA,EAA8B,CAAA,CAAE,UAEc;AAAA,cAE9C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const rocketadminCheckApiKey = action("ROCKETADMIN_CHECK_API_KEY", {
|
|
4
|
+
slug: "rocketadmin-check-api-key",
|
|
5
|
+
name: "Check API Key",
|
|
6
|
+
description: "Tool to validate whether an API key is legitimate and active. Use when you need to verify that the current API key is valid before performing other operations.",
|
|
7
|
+
input: z.object({}).describe("Request model for checking API key validity. No parameters are required."),
|
|
8
|
+
output: z.object({ success: z.boolean().describe("Indicates whether the API key is valid and active.") }).describe("Response model for API key validation check.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { rocketadminCheckApiKey };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=check-api-key.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-api-key.mjs","names":[],"sources":["../../src/actions/check-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminCheckApiKeyInput: z.ZodTypeAny = z.object({}).describe(\"Request model for checking API key validity. No parameters are required.\");\nexport const RocketadminCheckApiKeyOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the API key is valid and active.\"),\n}).describe(\"Response model for API key validation check.\");\n\nexport const rocketadminCheckApiKey = action(\"ROCKETADMIN_CHECK_API_KEY\", {\n slug: \"rocketadmin-check-api-key\",\n name: \"Check API Key\",\n description: \"Tool to validate whether an API key is legitimate and active. Use when you need to verify that the current API key is valid before performing other operations.\",\n input: RocketadminCheckApiKeyInput,\n output: RocketadminCheckApiKeyOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAStE;CACP,QATwD,EAAE,OAAO,EACjE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-table-row.ts
|
|
4
|
+
const RocketadminDeleteTableRowInput = zod.z.object({
|
|
5
|
+
id: zod.z.union([zod.z.string(), zod.z.number().int()]),
|
|
6
|
+
tableName: zod.z.string().describe("The name of the table from which the row will be deleted."),
|
|
7
|
+
connectionId: zod.z.string().describe("The unique identifier for the database connection where the deletion will occur.")
|
|
8
|
+
}).describe("Request model for deleting a row from a table by primary key.");
|
|
9
|
+
const RocketadminDeleteTableRowOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the deletion was successful.").nullable().optional() }).describe("Response model for successful deletion of a table row.");
|
|
10
|
+
const rocketadminDeleteTableRow = require_action.action("ROCKETADMIN_DELETE_TABLE_ROW", {
|
|
11
|
+
slug: "rocketadmin-delete-table-row",
|
|
12
|
+
name: "Delete Table Row by Primary Key",
|
|
13
|
+
description: "Tool to delete a single row from a database table by primary key. Use when you need to remove a specific row identified by its ID. This is an API+ feature.",
|
|
14
|
+
input: RocketadminDeleteTableRowInput,
|
|
15
|
+
output: RocketadminDeleteTableRowOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.rocketadminDeleteTableRow = rocketadminDeleteTableRow;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=delete-table-row.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-table-row.cjs","names":["z","action"],"sources":["../../src/actions/delete-table-row.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminDeleteTableRowInput: z.ZodTypeAny = z.object({\n id: z.union([z.string(), z.number().int()]),\n tableName: z.string().describe(\"The name of the table from which the row will be deleted.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection where the deletion will occur.\"),\n}).describe(\"Request model for deleting a row from a table by primary key.\");\nexport const RocketadminDeleteTableRowOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the deletion was successful.\").nullable().optional(),\n}).describe(\"Response model for successful deletion of a table row.\");\n\nexport const rocketadminDeleteTableRow = action(\"ROCKETADMIN_DELETE_TABLE_ROW\", {\n slug: \"rocketadmin-delete-table-row\",\n name: \"Delete Table Row by Primary Key\",\n description: \"Tool to delete a single row from a database table by primary key. Use when you need to remove a specific row identified by its ID. This is an API+ feature.\",\n input: RocketadminDeleteTableRowInput,\n output: RocketadminDeleteTableRowOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAC1C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;AACtH,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-table-row.d.ts
|
|
4
|
+
declare const RocketadminDeleteTableRowInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminDeleteTableRowOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminDeleteTableRow: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminDeleteTableRow };
|
|
9
|
+
//# sourceMappingURL=delete-table-row.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-table-row.d.cts","names":[],"sources":["../../src/actions/delete-table-row.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAI6B;AAAA,cAC/D,+BAAA,EAAiC,CAAA,CAAE,UAEqB;AAAA,cAExD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-table-row.d.ts
|
|
4
|
+
declare const RocketadminDeleteTableRowInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminDeleteTableRowOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminDeleteTableRow: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminDeleteTableRow };
|
|
9
|
+
//# sourceMappingURL=delete-table-row.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-table-row.d.mts","names":[],"sources":["../../src/actions/delete-table-row.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAI6B;AAAA,cAC/D,+BAAA,EAAiC,CAAA,CAAE,UAEqB;AAAA,cAExD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const rocketadminDeleteTableRow = action("ROCKETADMIN_DELETE_TABLE_ROW", {
|
|
4
|
+
slug: "rocketadmin-delete-table-row",
|
|
5
|
+
name: "Delete Table Row by Primary Key",
|
|
6
|
+
description: "Tool to delete a single row from a database table by primary key. Use when you need to remove a specific row identified by its ID. This is an API+ feature.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.union([z.string(), z.number().int()]),
|
|
9
|
+
tableName: z.string().describe("The name of the table from which the row will be deleted."),
|
|
10
|
+
connectionId: z.string().describe("The unique identifier for the database connection where the deletion will occur.")
|
|
11
|
+
}).describe("Request model for deleting a row from a table by primary key."),
|
|
12
|
+
output: z.object({ success: z.boolean().default(true).describe("Indicates whether the deletion was successful.").nullable().optional() }).describe("Response model for successful deletion of a table row.")
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { rocketadminDeleteTableRow };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=delete-table-row.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-table-row.mjs","names":[],"sources":["../../src/actions/delete-table-row.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminDeleteTableRowInput: z.ZodTypeAny = z.object({\n id: z.union([z.string(), z.number().int()]),\n tableName: z.string().describe(\"The name of the table from which the row will be deleted.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection where the deletion will occur.\"),\n}).describe(\"Request model for deleting a row from a table by primary key.\");\nexport const RocketadminDeleteTableRowOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the deletion was successful.\").nullable().optional(),\n}).describe(\"Response model for successful deletion of a table row.\");\n\nexport const rocketadminDeleteTableRow = action(\"ROCKETADMIN_DELETE_TABLE_ROW\", {\n slug: \"rocketadmin-delete-table-row\",\n name: \"Delete Table Row by Primary Key\",\n description: \"Tool to delete a single row from a database table by primary key. Use when you need to remove a specific row identified by its ID. This is an API+ feature.\",\n input: RocketadminDeleteTableRowInput,\n output: RocketadminDeleteTableRowOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb0D,EAAE,OAAO;EACnE,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;EAC1C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CACtH,CAAC,CAAC,CAAC,SAAS,+DASH;CACP,QAT2D,EAAE,OAAO,EACpE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-company-invite-verify.ts
|
|
4
|
+
const RocketadminGetCompanyInviteVerifyInput = zod.z.object({ verificationString: zod.z.string().describe("A unique verification token string used to validate the company invitation link and check if it is still available and valid.") }).describe("Request model for verifying a company invitation link.");
|
|
5
|
+
const RocketadminGetCompanyInviteVerifyOutput = zod.z.object({
|
|
6
|
+
message: zod.z.string().describe("A message providing additional information about the verification link status.").nullable().optional(),
|
|
7
|
+
success: zod.z.boolean().describe("Indicates whether the company invitation verification link is available and valid.").nullable().optional()
|
|
8
|
+
}).describe("Response model for company invitation verification check.");
|
|
9
|
+
const rocketadminGetCompanyInviteVerify = require_action.action("ROCKETADMIN_GET_COMPANY_INVITE_VERIFY", {
|
|
10
|
+
slug: "rocketadmin-get-company-invite-verify",
|
|
11
|
+
name: "Verify Company Invitation Link",
|
|
12
|
+
description: "Tool to check if a company invitation verification link is available and valid. Use when you need to verify a company invitation token before accepting the invitation.",
|
|
13
|
+
input: RocketadminGetCompanyInviteVerifyInput,
|
|
14
|
+
output: RocketadminGetCompanyInviteVerifyOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.rocketadminGetCompanyInviteVerify = rocketadminGetCompanyInviteVerify;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=get-company-invite-verify.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-company-invite-verify.cjs","names":["z","action"],"sources":["../../src/actions/get-company-invite-verify.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminGetCompanyInviteVerifyInput: z.ZodTypeAny = z.object({\n verificationString: z.string().describe(\"A unique verification token string used to validate the company invitation link and check if it is still available and valid.\"),\n}).describe(\"Request model for verifying a company invitation link.\");\nexport const RocketadminGetCompanyInviteVerifyOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"A message providing additional information about the verification link status.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the company invitation verification link is available and valid.\").nullable().optional(),\n}).describe(\"Response model for company invitation verification check.\");\n\nexport const rocketadminGetCompanyInviteVerify = action(\"ROCKETADMIN_GET_COMPANY_INVITE_VERIFY\", {\n slug: \"rocketadmin-get-company-invite-verify\",\n name: \"Verify Company Invitation Link\",\n description: \"Tool to check if a company invitation verification link is available and valid. Use when you need to verify a company invitation token before accepting the invitation.\",\n input: RocketadminGetCompanyInviteVerifyInput,\n output: RocketadminGetCompanyInviteVerifyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO,EAC3E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,EACzK,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-company-invite-verify.d.ts
|
|
4
|
+
declare const RocketadminGetCompanyInviteVerifyInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetCompanyInviteVerifyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetCompanyInviteVerify: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetCompanyInviteVerify };
|
|
9
|
+
//# sourceMappingURL=get-company-invite-verify.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-company-invite-verify.d.cts","names":[],"sources":["../../src/actions/get-company-invite-verify.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAEc;AAAA,cACxD,uCAAA,EAAyC,CAAA,CAAE,UAGgB;AAAA,cAE3D,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-company-invite-verify.d.ts
|
|
4
|
+
declare const RocketadminGetCompanyInviteVerifyInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetCompanyInviteVerifyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetCompanyInviteVerify: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetCompanyInviteVerify };
|
|
9
|
+
//# sourceMappingURL=get-company-invite-verify.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-company-invite-verify.d.mts","names":[],"sources":["../../src/actions/get-company-invite-verify.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAEc;AAAA,cACxD,uCAAA,EAAyC,CAAA,CAAE,UAGgB;AAAA,cAE3D,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const rocketadminGetCompanyInviteVerify = action("ROCKETADMIN_GET_COMPANY_INVITE_VERIFY", {
|
|
4
|
+
slug: "rocketadmin-get-company-invite-verify",
|
|
5
|
+
name: "Verify Company Invitation Link",
|
|
6
|
+
description: "Tool to check if a company invitation verification link is available and valid. Use when you need to verify a company invitation token before accepting the invitation.",
|
|
7
|
+
input: z.object({ verificationString: z.string().describe("A unique verification token string used to validate the company invitation link and check if it is still available and valid.") }).describe("Request model for verifying a company invitation link."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
message: z.string().describe("A message providing additional information about the verification link status.").nullable().optional(),
|
|
10
|
+
success: z.boolean().describe("Indicates whether the company invitation verification link is available and valid.").nullable().optional()
|
|
11
|
+
}).describe("Response model for company invitation verification check.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { rocketadminGetCompanyInviteVerify };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-company-invite-verify.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-company-invite-verify.mjs","names":[],"sources":["../../src/actions/get-company-invite-verify.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminGetCompanyInviteVerifyInput: z.ZodTypeAny = z.object({\n verificationString: z.string().describe(\"A unique verification token string used to validate the company invitation link and check if it is still available and valid.\"),\n}).describe(\"Request model for verifying a company invitation link.\");\nexport const RocketadminGetCompanyInviteVerifyOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"A message providing additional information about the verification link status.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the company invitation verification link is available and valid.\").nullable().optional(),\n}).describe(\"Response model for company invitation verification check.\");\n\nexport const rocketadminGetCompanyInviteVerify = action(\"ROCKETADMIN_GET_COMPANY_INVITE_VERIFY\", {\n slug: \"rocketadmin-get-company-invite-verify\",\n name: \"Verify Company Invitation Link\",\n description: \"Tool to check if a company invitation verification link is available and valid. Use when you need to verify a company invitation token before accepting the invitation.\",\n input: RocketadminGetCompanyInviteVerifyInput,\n output: RocketadminGetCompanyInviteVerifyOutput,\n});\n"],"mappings":";;AAYA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZkE,EAAE,OAAO,EAC3E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,EACzK,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAVmE,EAAE,OAAO;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-connection-tables-v2.ts
|
|
4
|
+
const RocketadminGetConnectionTablesV2Input = zod.z.object({ connectionId: zod.z.string().describe("The unique identifier for the database connection to query tables from.") }).describe("Request model for retrieving tables in a database connection.");
|
|
5
|
+
const RocketadminGetConnectionTablesV2_TableInfoSchema = zod.z.object({
|
|
6
|
+
tableName: zod.z.string().describe("Name of the database table.").nullable().optional(),
|
|
7
|
+
table_type: zod.z.string().describe("Type of the table (e.g., TABLE, VIEW).").nullable().optional(),
|
|
8
|
+
display_name: zod.z.string().describe("Display name for the table.").nullable().optional(),
|
|
9
|
+
table_schema: zod.z.string().describe("Schema name where the table belongs.").nullable().optional()
|
|
10
|
+
}).describe("Model representing table information.");
|
|
11
|
+
const RocketadminGetConnectionTablesV2_CategoryInfoSchema = zod.z.object({
|
|
12
|
+
tables: zod.z.array(RocketadminGetConnectionTablesV2_TableInfoSchema).describe("List of tables within this category.").nullable().optional(),
|
|
13
|
+
categoryName: zod.z.string().describe("Name of the category.").nullable().optional()
|
|
14
|
+
}).describe("Model representing category information with associated tables.");
|
|
15
|
+
const RocketadminGetConnectionTablesV2Output = zod.z.object({
|
|
16
|
+
tables: zod.z.array(RocketadminGetConnectionTablesV2_TableInfoSchema).describe("List of all tables in the connection.").nullable().optional(),
|
|
17
|
+
categories: zod.z.array(RocketadminGetConnectionTablesV2_CategoryInfoSchema).describe("List of categories with their associated tables.").nullable().optional()
|
|
18
|
+
}).describe("Response model containing all tables in a connection organized by categories.");
|
|
19
|
+
const rocketadminGetConnectionTablesV2 = require_action.action("ROCKETADMIN_GET_CONNECTION_TABLES_V2", {
|
|
20
|
+
slug: "rocketadmin-get-connection-tables-v2",
|
|
21
|
+
name: "Get Connection Tables V2",
|
|
22
|
+
description: "Tool to retrieve all tables in a database connection organized with category information. Use when you need to discover available tables in a specific connection.",
|
|
23
|
+
input: RocketadminGetConnectionTablesV2Input,
|
|
24
|
+
output: RocketadminGetConnectionTablesV2Output
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.rocketadminGetConnectionTablesV2 = rocketadminGetConnectionTablesV2;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=get-connection-tables-v2.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-connection-tables-v2.cjs","names":["z","action"],"sources":["../../src/actions/get-connection-tables-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminGetConnectionTablesV2Input: z.ZodTypeAny = z.object({\n connectionId: z.string().describe(\"The unique identifier for the database connection to query tables from.\"),\n}).describe(\"Request model for retrieving tables in a database connection.\");\nconst RocketadminGetConnectionTablesV2_TableInfoSchema: z.ZodTypeAny = z.object({\n tableName: z.string().describe(\"Name of the database table.\").nullable().optional(),\n table_type: z.string().describe(\"Type of the table (e.g., TABLE, VIEW).\").nullable().optional(),\n display_name: z.string().describe(\"Display name for the table.\").nullable().optional(),\n table_schema: z.string().describe(\"Schema name where the table belongs.\").nullable().optional(),\n}).describe(\"Model representing table information.\");\nconst RocketadminGetConnectionTablesV2_CategoryInfoSchema: z.ZodTypeAny = z.object({\n tables: z.array(RocketadminGetConnectionTablesV2_TableInfoSchema).describe(\"List of tables within this category.\").nullable().optional(),\n categoryName: z.string().describe(\"Name of the category.\").nullable().optional(),\n}).describe(\"Model representing category information with associated tables.\");\nexport const RocketadminGetConnectionTablesV2Output: z.ZodTypeAny = z.object({\n tables: z.array(RocketadminGetConnectionTablesV2_TableInfoSchema).describe(\"List of all tables in the connection.\").nullable().optional(),\n categories: z.array(RocketadminGetConnectionTablesV2_CategoryInfoSchema).describe(\"List of categories with their associated tables.\").nullable().optional(),\n}).describe(\"Response model containing all tables in a connection organized by categories.\");\n\nexport const rocketadminGetConnectionTablesV2 = action(\"ROCKETADMIN_GET_CONNECTION_TABLES_V2\", {\n slug: \"rocketadmin-get-connection-tables-v2\",\n name: \"Get Connection Tables V2\",\n description: \"Tool to retrieve all tables in a database connection organized with category information. Use when you need to discover available tables in a specific connection.\",\n input: RocketadminGetConnectionTablesV2Input,\n output: RocketadminGetConnectionTablesV2Output,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EAC7G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,QAAQA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,QAAQA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,YAAYA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAE3F,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-connection-tables-v2.d.ts
|
|
4
|
+
declare const RocketadminGetConnectionTablesV2Input: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetConnectionTablesV2Output: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetConnectionTablesV2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetConnectionTablesV2 };
|
|
9
|
+
//# sourceMappingURL=get-connection-tables-v2.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-connection-tables-v2.d.cts","names":[],"sources":["../../src/actions/get-connection-tables-v2.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAEsB;AAAA,cAW/D,sCAAA,EAAwC,CAAA,CAAE,UAGqC;AAAA,cAE/E,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-connection-tables-v2.d.ts
|
|
4
|
+
declare const RocketadminGetConnectionTablesV2Input: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetConnectionTablesV2Output: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetConnectionTablesV2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetConnectionTablesV2 };
|
|
9
|
+
//# sourceMappingURL=get-connection-tables-v2.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-connection-tables-v2.d.mts","names":[],"sources":["../../src/actions/get-connection-tables-v2.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAEsB;AAAA,cAW/D,sCAAA,EAAwC,CAAA,CAAE,UAGqC;AAAA,cAE/E,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-connection-tables-v2.ts
|
|
4
|
+
const RocketadminGetConnectionTablesV2Input = z.object({ connectionId: z.string().describe("The unique identifier for the database connection to query tables from.") }).describe("Request model for retrieving tables in a database connection.");
|
|
5
|
+
const RocketadminGetConnectionTablesV2_TableInfoSchema = z.object({
|
|
6
|
+
tableName: z.string().describe("Name of the database table.").nullable().optional(),
|
|
7
|
+
table_type: z.string().describe("Type of the table (e.g., TABLE, VIEW).").nullable().optional(),
|
|
8
|
+
display_name: z.string().describe("Display name for the table.").nullable().optional(),
|
|
9
|
+
table_schema: z.string().describe("Schema name where the table belongs.").nullable().optional()
|
|
10
|
+
}).describe("Model representing table information.");
|
|
11
|
+
const RocketadminGetConnectionTablesV2_CategoryInfoSchema = z.object({
|
|
12
|
+
tables: z.array(RocketadminGetConnectionTablesV2_TableInfoSchema).describe("List of tables within this category.").nullable().optional(),
|
|
13
|
+
categoryName: z.string().describe("Name of the category.").nullable().optional()
|
|
14
|
+
}).describe("Model representing category information with associated tables.");
|
|
15
|
+
const rocketadminGetConnectionTablesV2 = action("ROCKETADMIN_GET_CONNECTION_TABLES_V2", {
|
|
16
|
+
slug: "rocketadmin-get-connection-tables-v2",
|
|
17
|
+
name: "Get Connection Tables V2",
|
|
18
|
+
description: "Tool to retrieve all tables in a database connection organized with category information. Use when you need to discover available tables in a specific connection.",
|
|
19
|
+
input: RocketadminGetConnectionTablesV2Input,
|
|
20
|
+
output: z.object({
|
|
21
|
+
tables: z.array(RocketadminGetConnectionTablesV2_TableInfoSchema).describe("List of all tables in the connection.").nullable().optional(),
|
|
22
|
+
categories: z.array(RocketadminGetConnectionTablesV2_CategoryInfoSchema).describe("List of categories with their associated tables.").nullable().optional()
|
|
23
|
+
}).describe("Response model containing all tables in a connection organized by categories.")
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { rocketadminGetConnectionTablesV2 };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-connection-tables-v2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-connection-tables-v2.mjs","names":[],"sources":["../../src/actions/get-connection-tables-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminGetConnectionTablesV2Input: z.ZodTypeAny = z.object({\n connectionId: z.string().describe(\"The unique identifier for the database connection to query tables from.\"),\n}).describe(\"Request model for retrieving tables in a database connection.\");\nconst RocketadminGetConnectionTablesV2_TableInfoSchema: z.ZodTypeAny = z.object({\n tableName: z.string().describe(\"Name of the database table.\").nullable().optional(),\n table_type: z.string().describe(\"Type of the table (e.g., TABLE, VIEW).\").nullable().optional(),\n display_name: z.string().describe(\"Display name for the table.\").nullable().optional(),\n table_schema: z.string().describe(\"Schema name where the table belongs.\").nullable().optional(),\n}).describe(\"Model representing table information.\");\nconst RocketadminGetConnectionTablesV2_CategoryInfoSchema: z.ZodTypeAny = z.object({\n tables: z.array(RocketadminGetConnectionTablesV2_TableInfoSchema).describe(\"List of tables within this category.\").nullable().optional(),\n categoryName: z.string().describe(\"Name of the category.\").nullable().optional(),\n}).describe(\"Model representing category information with associated tables.\");\nexport const RocketadminGetConnectionTablesV2Output: z.ZodTypeAny = z.object({\n tables: z.array(RocketadminGetConnectionTablesV2_TableInfoSchema).describe(\"List of all tables in the connection.\").nullable().optional(),\n categories: z.array(RocketadminGetConnectionTablesV2_CategoryInfoSchema).describe(\"List of categories with their associated tables.\").nullable().optional(),\n}).describe(\"Response model containing all tables in a connection organized by categories.\");\n\nexport const rocketadminGetConnectionTablesV2 = action(\"ROCKETADMIN_GET_CONNECTION_TABLES_V2\", {\n slug: \"rocketadmin-get-connection-tables-v2\",\n name: \"Get Connection Tables V2\",\n description: \"Tool to retrieve all tables in a database connection organized with category information. Use when you need to discover available tables in a specific connection.\",\n input: RocketadminGetConnectionTablesV2Input,\n output: RocketadminGetConnectionTablesV2Output,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO,EAC1E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EAC7G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,mDAAiE,EAAE,OAAO;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,sDAAoE,EAAE,OAAO;CACjF,QAAQ,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAM7E,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkE,EAAE,OAAO;EAC3E,QAAQ,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,YAAY,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,CAAC,CAAC,CAAC,SAAS,+EAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-connection-token.ts
|
|
4
|
+
const RocketadminGetConnectionTokenInput = zod.z.object({}).describe("Request model for validating connection agent token. No parameters are required.");
|
|
5
|
+
const RocketadminGetConnectionTokenOutput = zod.z.object({ isValid: zod.z.boolean().describe("Boolean indicating if the connection token is valid.") }).describe("Response model for connection token validation.");
|
|
6
|
+
const rocketadminGetConnectionToken = require_action.action("ROCKETADMIN_GET_CONNECTION_TOKEN", {
|
|
7
|
+
slug: "rocketadmin-get-connection-token",
|
|
8
|
+
name: "Validate Connection Token",
|
|
9
|
+
description: "Tool to validate if connection agent token is valid. Use when you need to check if the current connection token is still authorized and active.",
|
|
10
|
+
input: RocketadminGetConnectionTokenInput,
|
|
11
|
+
output: RocketadminGetConnectionTokenOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.rocketadminGetConnectionToken = rocketadminGetConnectionToken;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-connection-token.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-connection-token.cjs","names":["z","action"],"sources":["../../src/actions/get-connection-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminGetConnectionTokenInput: z.ZodTypeAny = z.object({}).describe(\"Request model for validating connection agent token. No parameters are required.\");\nexport const RocketadminGetConnectionTokenOutput: z.ZodTypeAny = z.object({\n isValid: z.boolean().describe(\"Boolean indicating if the connection token is valid.\"),\n}).describe(\"Response model for connection token validation.\");\n\nexport const rocketadminGetConnectionToken = action(\"ROCKETADMIN_GET_CONNECTION_TOKEN\", {\n slug: \"rocketadmin-get-connection-token\",\n name: \"Validate Connection Token\",\n description: \"Tool to validate if connection agent token is valid. Use when you need to check if the current connection token is still authorized and active.\",\n input: RocketadminGetConnectionTokenInput,\n output: RocketadminGetConnectionTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kFAAkF;AACxK,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,EACtF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-connection-token.d.ts
|
|
4
|
+
declare const RocketadminGetConnectionTokenInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetConnectionTokenOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetConnectionToken: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetConnectionToken };
|
|
9
|
+
//# sourceMappingURL=get-connection-token.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-connection-token.d.cts","names":[],"sources":["../../src/actions/get-connection-token.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAAsH;AAAA,cAC5J,mCAAA,EAAqC,CAAA,CAAE,UAEU;AAAA,cAEjD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-connection-token.d.ts
|
|
4
|
+
declare const RocketadminGetConnectionTokenInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetConnectionTokenOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetConnectionToken: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetConnectionToken };
|
|
9
|
+
//# sourceMappingURL=get-connection-token.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-connection-token.d.mts","names":[],"sources":["../../src/actions/get-connection-token.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAAsH;AAAA,cAC5J,mCAAA,EAAqC,CAAA,CAAE,UAEU;AAAA,cAEjD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const rocketadminGetConnectionToken = action("ROCKETADMIN_GET_CONNECTION_TOKEN", {
|
|
4
|
+
slug: "rocketadmin-get-connection-token",
|
|
5
|
+
name: "Validate Connection Token",
|
|
6
|
+
description: "Tool to validate if connection agent token is valid. Use when you need to check if the current connection token is still authorized and active.",
|
|
7
|
+
input: z.object({}).describe("Request model for validating connection agent token. No parameters are required."),
|
|
8
|
+
output: z.object({ isValid: z.boolean().describe("Boolean indicating if the connection token is valid.") }).describe("Response model for connection token validation.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { rocketadminGetConnectionToken };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=get-connection-token.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-connection-token.mjs","names":[],"sources":["../../src/actions/get-connection-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminGetConnectionTokenInput: z.ZodTypeAny = z.object({}).describe(\"Request model for validating connection agent token. No parameters are required.\");\nexport const RocketadminGetConnectionTokenOutput: z.ZodTypeAny = z.object({\n isValid: z.boolean().describe(\"Boolean indicating if the connection token is valid.\"),\n}).describe(\"Response model for connection token validation.\");\n\nexport const rocketadminGetConnectionToken = action(\"ROCKETADMIN_GET_CONNECTION_TOKEN\", {\n slug: \"rocketadmin-get-connection-token\",\n name: \"Validate Connection Token\",\n description: \"Tool to validate if connection agent token is valid. Use when you need to check if the current connection token is still authorized and active.\",\n input: RocketadminGetConnectionTokenInput,\n output: RocketadminGetConnectionTokenOutput,\n});\n"],"mappings":";;AASA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT8D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kFAS7E;CACP,QAT+D,EAAE,OAAO,EACxE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,EACtF,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-connections.ts
|
|
4
|
+
const RocketadminGetConnectionsInput = zod.z.object({}).describe("Request model for retrieving all connections where user has access.\nNo parameters are required.");
|
|
5
|
+
const RocketadminGetConnections_ConnectionSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("The unique identifier of the connection.").nullable().optional(),
|
|
7
|
+
ssh: zod.z.boolean().describe("Indicates whether SSH tunneling is enabled.").nullable().optional(),
|
|
8
|
+
ssl: zod.z.boolean().describe("Indicates whether SSL/TLS is enabled.").nullable().optional(),
|
|
9
|
+
host: zod.z.string().describe("The host address of the database server.").nullable().optional(),
|
|
10
|
+
port: zod.z.number().int().describe("The port number of the database server.").nullable().optional(),
|
|
11
|
+
type: zod.z.string().describe("The database type (e.g., MySQL, PostgreSQL, MSSQL, Oracle, MongoDB).").nullable().optional(),
|
|
12
|
+
title: zod.z.string().describe("The name or title of the connection.").nullable().optional(),
|
|
13
|
+
database: zod.z.string().describe("The name of the database.").nullable().optional(),
|
|
14
|
+
username: zod.z.string().describe("The username for database authentication.").nullable().optional(),
|
|
15
|
+
createdAt: zod.z.string().describe("The timestamp when the connection was created.").nullable().optional(),
|
|
16
|
+
masterPwd: zod.z.boolean().describe("Indicates whether a master password is configured.").nullable().optional(),
|
|
17
|
+
updatedAt: zod.z.string().describe("The timestamp when the connection was last updated.").nullable().optional(),
|
|
18
|
+
isTestConnection: zod.z.boolean().describe("Indicates whether this is a test connection.").nullable().optional()
|
|
19
|
+
}).describe("Model representing a database connection.");
|
|
20
|
+
const RocketadminGetConnectionsOutput = zod.z.object({ connections: zod.z.array(RocketadminGetConnections_ConnectionSchema).describe("List of database connections accessible to the user.").nullable().optional() }).describe("Response model containing all connections where user has access.");
|
|
21
|
+
const rocketadminGetConnections = require_action.action("ROCKETADMIN_GET_CONNECTIONS", {
|
|
22
|
+
slug: "rocketadmin-get-connections",
|
|
23
|
+
name: "Get All Connections",
|
|
24
|
+
description: "Tool to retrieve all database connections where the user has access. Use when you need to discover available connections in the user's workspace.",
|
|
25
|
+
input: RocketadminGetConnectionsInput,
|
|
26
|
+
output: RocketadminGetConnectionsOutput
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
exports.rocketadminGetConnections = rocketadminGetConnections;
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=get-connections.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-connections.cjs","names":["z","action"],"sources":["../../src/actions/get-connections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminGetConnectionsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all connections where user has access.\\nNo parameters are required.\");\nconst RocketadminGetConnections_ConnectionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the connection.\").nullable().optional(),\n ssh: z.boolean().describe(\"Indicates whether SSH tunneling is enabled.\").nullable().optional(),\n ssl: z.boolean().describe(\"Indicates whether SSL/TLS is enabled.\").nullable().optional(),\n host: z.string().describe(\"The host address of the database server.\").nullable().optional(),\n port: z.number().int().describe(\"The port number of the database server.\").nullable().optional(),\n type: z.string().describe(\"The database type (e.g., MySQL, PostgreSQL, MSSQL, Oracle, MongoDB).\").nullable().optional(),\n title: z.string().describe(\"The name or title of the connection.\").nullable().optional(),\n database: z.string().describe(\"The name of the database.\").nullable().optional(),\n username: z.string().describe(\"The username for database authentication.\").nullable().optional(),\n createdAt: z.string().describe(\"The timestamp when the connection was created.\").nullable().optional(),\n masterPwd: z.boolean().describe(\"Indicates whether a master password is configured.\").nullable().optional(),\n updatedAt: z.string().describe(\"The timestamp when the connection was last updated.\").nullable().optional(),\n isTestConnection: z.boolean().describe(\"Indicates whether this is a test connection.\").nullable().optional(),\n}).describe(\"Model representing a database connection.\");\nexport const RocketadminGetConnectionsOutput: z.ZodTypeAny = z.object({\n connections: z.array(RocketadminGetConnections_ConnectionSchema).describe(\"List of database connections accessible to the user.\").nullable().optional(),\n}).describe(\"Response model containing all connections where user has access.\");\n\nexport const rocketadminGetConnections = action(\"ROCKETADMIN_GET_CONNECTIONS\", {\n slug: \"rocketadmin-get-connections\",\n name: \"Get All Connections\",\n description: \"Tool to retrieve all database connections where the user has access. Use when you need to discover available connections in the user's workspace.\",\n input: RocketadminGetConnectionsInput,\n output: RocketadminGetConnectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kGAAkG;AACpL,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,aAAaA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxJ,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-connections.d.ts
|
|
4
|
+
declare const RocketadminGetConnectionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetConnectionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetConnections: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetConnections };
|
|
9
|
+
//# sourceMappingURL=get-connections.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-connections.d.cts","names":[],"sources":["../../src/actions/get-connections.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAsI;AAAA,cAgBxK,+BAAA,EAAiC,CAAA,CAAE,UAE+B;AAAA,cAElE,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-connections.d.ts
|
|
4
|
+
declare const RocketadminGetConnectionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetConnectionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetConnections: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetConnections };
|
|
9
|
+
//# sourceMappingURL=get-connections.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-connections.d.mts","names":[],"sources":["../../src/actions/get-connections.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAsI;AAAA,cAgBxK,+BAAA,EAAiC,CAAA,CAAE,UAE+B;AAAA,cAElE,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|