@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
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-connections.ts
|
|
4
|
+
const RocketadminGetConnectionsInput = z.object({}).describe("Request model for retrieving all connections where user has access.\nNo parameters are required.");
|
|
5
|
+
const RocketadminGetConnections_ConnectionSchema = z.object({
|
|
6
|
+
id: z.string().describe("The unique identifier of the connection.").nullable().optional(),
|
|
7
|
+
ssh: z.boolean().describe("Indicates whether SSH tunneling is enabled.").nullable().optional(),
|
|
8
|
+
ssl: z.boolean().describe("Indicates whether SSL/TLS is enabled.").nullable().optional(),
|
|
9
|
+
host: z.string().describe("The host address of the database server.").nullable().optional(),
|
|
10
|
+
port: z.number().int().describe("The port number of the database server.").nullable().optional(),
|
|
11
|
+
type: z.string().describe("The database type (e.g., MySQL, PostgreSQL, MSSQL, Oracle, MongoDB).").nullable().optional(),
|
|
12
|
+
title: z.string().describe("The name or title of the connection.").nullable().optional(),
|
|
13
|
+
database: z.string().describe("The name of the database.").nullable().optional(),
|
|
14
|
+
username: z.string().describe("The username for database authentication.").nullable().optional(),
|
|
15
|
+
createdAt: z.string().describe("The timestamp when the connection was created.").nullable().optional(),
|
|
16
|
+
masterPwd: z.boolean().describe("Indicates whether a master password is configured.").nullable().optional(),
|
|
17
|
+
updatedAt: z.string().describe("The timestamp when the connection was last updated.").nullable().optional(),
|
|
18
|
+
isTestConnection: z.boolean().describe("Indicates whether this is a test connection.").nullable().optional()
|
|
19
|
+
}).describe("Model representing a database connection.");
|
|
20
|
+
const rocketadminGetConnections = action("ROCKETADMIN_GET_CONNECTIONS", {
|
|
21
|
+
slug: "rocketadmin-get-connections",
|
|
22
|
+
name: "Get All Connections",
|
|
23
|
+
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.",
|
|
24
|
+
input: RocketadminGetConnectionsInput,
|
|
25
|
+
output: z.object({ connections: 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.")
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { rocketadminGetConnections };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=get-connections.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-connections.mjs","names":[],"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+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kGAAkG;AACpL,MAAM,6CAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAKvD,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,aAAa,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxJ,CAAC,CAAC,CAAC,SAAS,kEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-hello.ts
|
|
4
|
+
const RocketadminGetHelloInput = zod.z.object({}).describe("Request model for the hello endpoint. No parameters are required.");
|
|
5
|
+
const RocketadminGetHelloOutput = zod.z.object({ message: zod.z.string().describe("The greeting message returned by the API.") }).describe("Response model for the hello endpoint.");
|
|
6
|
+
const rocketadminGetHello = require_action.action("ROCKETADMIN_GET_HELLO", {
|
|
7
|
+
slug: "rocketadmin-get-hello",
|
|
8
|
+
name: "Get Hello",
|
|
9
|
+
description: "Tool to retrieve a hello greeting message from the Rocketadmin API. Use when testing API connectivity or getting a simple greeting response.",
|
|
10
|
+
input: RocketadminGetHelloInput,
|
|
11
|
+
output: RocketadminGetHelloOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.rocketadminGetHello = rocketadminGetHello;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-hello.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-hello.cjs","names":["z","action"],"sources":["../../src/actions/get-hello.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminGetHelloInput: z.ZodTypeAny = z.object({}).describe(\"Request model for the hello endpoint. No parameters are required.\");\nexport const RocketadminGetHelloOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"The greeting message returned by the API.\"),\n}).describe(\"Response model for the hello endpoint.\");\n\nexport const rocketadminGetHello = action(\"ROCKETADMIN_GET_HELLO\", {\n slug: \"rocketadmin-get-hello\",\n name: \"Get Hello\",\n description: \"Tool to retrieve a hello greeting message from the Rocketadmin API. Use when testing API connectivity or getting a simple greeting response.\",\n input: RocketadminGetHelloInput,\n output: RocketadminGetHelloOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/I,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EAC1E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-hello.d.ts
|
|
4
|
+
declare const RocketadminGetHelloInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetHelloOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetHello: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetHello };
|
|
9
|
+
//# sourceMappingURL=get-hello.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-hello.d.cts","names":[],"sources":["../../src/actions/get-hello.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAAuG;AAAA,cACnI,yBAAA,EAA2B,CAAA,CAAE,UAEW;AAAA,cAExC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-hello.d.ts
|
|
4
|
+
declare const RocketadminGetHelloInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetHelloOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetHello: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetHello };
|
|
9
|
+
//# sourceMappingURL=get-hello.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-hello.d.mts","names":[],"sources":["../../src/actions/get-hello.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAAuG;AAAA,cACnI,yBAAA,EAA2B,CAAA,CAAE,UAEW;AAAA,cAExC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const rocketadminGetHello = action("ROCKETADMIN_GET_HELLO", {
|
|
4
|
+
slug: "rocketadmin-get-hello",
|
|
5
|
+
name: "Get Hello",
|
|
6
|
+
description: "Tool to retrieve a hello greeting message from the Rocketadmin API. Use when testing API connectivity or getting a simple greeting response.",
|
|
7
|
+
input: z.object({}).describe("Request model for the hello endpoint. No parameters are required."),
|
|
8
|
+
output: z.object({ message: z.string().describe("The greeting message returned by the API.") }).describe("Response model for the hello endpoint.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { rocketadminGetHello };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=get-hello.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-hello.mjs","names":[],"sources":["../../src/actions/get-hello.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminGetHelloInput: z.ZodTypeAny = z.object({}).describe(\"Request model for the hello endpoint. No parameters are required.\");\nexport const RocketadminGetHelloOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"The greeting message returned by the API.\"),\n}).describe(\"Response model for the hello endpoint.\");\n\nexport const rocketadminGetHello = action(\"ROCKETADMIN_GET_HELLO\", {\n slug: \"rocketadmin-get-hello\",\n name: \"Get Hello\",\n description: \"Tool to retrieve a hello greeting message from the Rocketadmin API. Use when testing API connectivity or getting a simple greeting response.\",\n input: RocketadminGetHelloInput,\n output: RocketadminGetHelloOutput,\n});\n"],"mappings":";;AASA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAToD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEASnE;CACP,QATqD,EAAE,OAAO,EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EAC1E,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-saas-users-email.ts
|
|
4
|
+
const RocketadminGetSaasUsersEmailInput = zod.z.object({ user_email: zod.z.string().describe("The email address of the user to retrieve information for") }).describe("Request model for retrieving user information by email.");
|
|
5
|
+
const RocketadminGetSaasUsersEmail_UserInfoSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("User's unique identifier").nullable().optional(),
|
|
7
|
+
name: zod.z.string().describe("User's name").nullable().optional(),
|
|
8
|
+
email: zod.z.string().describe("User's email address").nullable().optional(),
|
|
9
|
+
created_at: zod.z.string().describe("User creation timestamp").nullable().optional()
|
|
10
|
+
}).describe("Model for a single user's information.");
|
|
11
|
+
const RocketadminGetSaasUsersEmailOutput = zod.z.object({ users: zod.z.array(RocketadminGetSaasUsersEmail_UserInfoSchema).describe("List of users matching the email").nullable().optional() }).describe("Response model containing list of users matching the email.");
|
|
12
|
+
const rocketadminGetSaasUsersEmail = require_action.action("ROCKETADMIN_GET_SAAS_USERS_EMAIL", {
|
|
13
|
+
slug: "rocketadmin-get-saas-users-email",
|
|
14
|
+
name: "Get SaaS Users by Email",
|
|
15
|
+
description: "Tool to retrieve user information by email address. Use when you need to get details about a specific user by their email.",
|
|
16
|
+
input: RocketadminGetSaasUsersEmailInput,
|
|
17
|
+
output: RocketadminGetSaasUsersEmailOutput
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.rocketadminGetSaasUsersEmail = rocketadminGetSaasUsersEmail;
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=get-saas-users-email.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-saas-users-email.cjs","names":["z","action"],"sources":["../../src/actions/get-saas-users-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminGetSaasUsersEmailInput: z.ZodTypeAny = z.object({\n user_email: z.string().describe(\"The email address of the user to retrieve information for\"),\n}).describe(\"Request model for retrieving user information by email.\");\nconst RocketadminGetSaasUsersEmail_UserInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User's unique identifier\").nullable().optional(),\n name: z.string().describe(\"User's name\").nullable().optional(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n created_at: z.string().describe(\"User creation timestamp\").nullable().optional(),\n}).describe(\"Model for a single user's information.\");\nexport const RocketadminGetSaasUsersEmailOutput: z.ZodTypeAny = z.object({\n users: z.array(RocketadminGetSaasUsersEmail_UserInfoSchema).describe(\"List of users matching the email\").nullable().optional(),\n}).describe(\"Response model containing list of users matching the email.\");\n\nexport const rocketadminGetSaasUsersEmail = action(\"ROCKETADMIN_GET_SAAS_USERS_EMAIL\", {\n slug: \"rocketadmin-get-saas-users-email\",\n name: \"Get SaaS Users by Email\",\n description: \"Tool to retrieve user information by email address. Use when you need to get details about a specific user by their email.\",\n input: RocketadminGetSaasUsersEmailInput,\n output: RocketadminGetSaasUsersEmailOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EAC7F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,OAAOA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,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-saas-users-email.d.ts
|
|
4
|
+
declare const RocketadminGetSaasUsersEmailInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetSaasUsersEmailOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetSaasUsersEmail: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetSaasUsersEmail };
|
|
9
|
+
//# sourceMappingURL=get-saas-users-email.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-saas-users-email.d.cts","names":[],"sources":["../../src/actions/get-saas-users-email.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEoB;AAAA,cAOzD,kCAAA,EAAoC,CAAA,CAAE,UAEuB;AAAA,cAE7D,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-saas-users-email.d.ts
|
|
4
|
+
declare const RocketadminGetSaasUsersEmailInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetSaasUsersEmailOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetSaasUsersEmail: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetSaasUsersEmail };
|
|
9
|
+
//# sourceMappingURL=get-saas-users-email.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-saas-users-email.d.mts","names":[],"sources":["../../src/actions/get-saas-users-email.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEoB;AAAA,cAOzD,kCAAA,EAAoC,CAAA,CAAE,UAEuB;AAAA,cAE7D,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-saas-users-email.ts
|
|
4
|
+
const RocketadminGetSaasUsersEmailInput = z.object({ user_email: z.string().describe("The email address of the user to retrieve information for") }).describe("Request model for retrieving user information by email.");
|
|
5
|
+
const RocketadminGetSaasUsersEmail_UserInfoSchema = z.object({
|
|
6
|
+
id: z.string().describe("User's unique identifier").nullable().optional(),
|
|
7
|
+
name: z.string().describe("User's name").nullable().optional(),
|
|
8
|
+
email: z.string().describe("User's email address").nullable().optional(),
|
|
9
|
+
created_at: z.string().describe("User creation timestamp").nullable().optional()
|
|
10
|
+
}).describe("Model for a single user's information.");
|
|
11
|
+
const rocketadminGetSaasUsersEmail = action("ROCKETADMIN_GET_SAAS_USERS_EMAIL", {
|
|
12
|
+
slug: "rocketadmin-get-saas-users-email",
|
|
13
|
+
name: "Get SaaS Users by Email",
|
|
14
|
+
description: "Tool to retrieve user information by email address. Use when you need to get details about a specific user by their email.",
|
|
15
|
+
input: RocketadminGetSaasUsersEmailInput,
|
|
16
|
+
output: z.object({ users: z.array(RocketadminGetSaasUsersEmail_UserInfoSchema).describe("List of users matching the email").nullable().optional() }).describe("Response model containing list of users matching the email.")
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { rocketadminGetSaasUsersEmail };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=get-saas-users-email.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-saas-users-email.mjs","names":[],"sources":["../../src/actions/get-saas-users-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminGetSaasUsersEmailInput: z.ZodTypeAny = z.object({\n user_email: z.string().describe(\"The email address of the user to retrieve information for\"),\n}).describe(\"Request model for retrieving user information by email.\");\nconst RocketadminGetSaasUsersEmail_UserInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User's unique identifier\").nullable().optional(),\n name: z.string().describe(\"User's name\").nullable().optional(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n created_at: z.string().describe(\"User creation timestamp\").nullable().optional(),\n}).describe(\"Model for a single user's information.\");\nexport const RocketadminGetSaasUsersEmailOutput: z.ZodTypeAny = z.object({\n users: z.array(RocketadminGetSaasUsersEmail_UserInfoSchema).describe(\"List of users matching the email\").nullable().optional(),\n}).describe(\"Response model containing list of users matching the email.\");\n\nexport const rocketadminGetSaasUsersEmail = action(\"ROCKETADMIN_GET_SAAS_USERS_EMAIL\", {\n slug: \"rocketadmin-get-saas-users-email\",\n name: \"Get SaaS Users by Email\",\n description: \"Tool to retrieve user information by email address. Use when you need to get details about a specific user by their email.\",\n input: RocketadminGetSaasUsersEmailInput,\n output: RocketadminGetSaasUsersEmailOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO,EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EAC7F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,8CAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAKpD,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,OAAO,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-table-row.ts
|
|
4
|
+
const RocketadminGetTableRowInput = 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 database table to query."),
|
|
7
|
+
connectionId: zod.z.string().describe("The unique identifier for the database connection.")
|
|
8
|
+
}).describe("Request model for retrieving a row from a table by primary key.");
|
|
9
|
+
const RocketadminGetTableRowOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response model containing the row data from the specified table.\nThe response structure is dynamic and depends on the table schema.\nAll columns and their values are returned as top-level fields.");
|
|
10
|
+
const rocketadminGetTableRow = require_action.action("ROCKETADMIN_GET_TABLE_ROW", {
|
|
11
|
+
slug: "rocketadmin-get-table-row",
|
|
12
|
+
name: "Get Table Row by Primary Key",
|
|
13
|
+
description: "Tool to retrieve a single row from a database table using its primary key. Use when you need to fetch specific row data by its ID from a RocketAdmin connection.",
|
|
14
|
+
input: RocketadminGetTableRowInput,
|
|
15
|
+
output: RocketadminGetTableRowOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.rocketadminGetTableRow = rocketadminGetTableRow;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=get-table-row.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-table-row.cjs","names":["z","action"],"sources":["../../src/actions/get-table-row.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminGetTableRowInput: z.ZodTypeAny = z.object({\n id: z.union([z.string(), z.number().int()]),\n tableName: z.string().describe(\"The name of the database table to query.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection.\"),\n}).describe(\"Request model for retrieving a row from a table by primary key.\");\nexport const RocketadminGetTableRowOutput: z.ZodTypeAny = z.record(z.string(), z.unknown()).describe(\"Response model containing the row data from the specified table.\\nThe response structure is dynamic and depends on the table schema.\\nAll columns and their values are returned as top-level fields.\");\n\nexport const rocketadminGetTableRow = action(\"ROCKETADMIN_GET_TABLE_ROW\", {\n slug: \"rocketadmin-get-table-row\",\n name: \"Get Table Row by Primary Key\",\n description: \"Tool to retrieve a single row from a database table using its primary key. Use when you need to fetch specific row data by its ID from a RocketAdmin connection.\",\n input: RocketadminGetTableRowInput,\n output: RocketadminGetTableRowOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,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,0CAA0C;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACxF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,+BAA6CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sMAAsM;AAE3S,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/get-table-row.d.ts
|
|
4
|
+
declare const RocketadminGetTableRowInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetTableRowOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetTableRow: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetTableRow };
|
|
9
|
+
//# sourceMappingURL=get-table-row.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-table-row.d.cts","names":[],"sources":["../../src/actions/get-table-row.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAIkC;AAAA,cACjE,4BAAA,EAA8B,CAAA,CAAE,UAA+P;AAAA,cAE/R,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-table-row.d.ts
|
|
4
|
+
declare const RocketadminGetTableRowInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetTableRowOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetTableRow: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetTableRow };
|
|
9
|
+
//# sourceMappingURL=get-table-row.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-table-row.d.mts","names":[],"sources":["../../src/actions/get-table-row.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAIkC;AAAA,cACjE,4BAAA,EAA8B,CAAA,CAAE,UAA+P;AAAA,cAE/R,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const rocketadminGetTableRow = action("ROCKETADMIN_GET_TABLE_ROW", {
|
|
4
|
+
slug: "rocketadmin-get-table-row",
|
|
5
|
+
name: "Get Table Row by Primary Key",
|
|
6
|
+
description: "Tool to retrieve a single row from a database table using its primary key. Use when you need to fetch specific row data by its ID from a RocketAdmin connection.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.union([z.string(), z.number().int()]),
|
|
9
|
+
tableName: z.string().describe("The name of the database table to query."),
|
|
10
|
+
connectionId: z.string().describe("The unique identifier for the database connection.")
|
|
11
|
+
}).describe("Request model for retrieving a row from a table by primary key."),
|
|
12
|
+
output: z.record(z.string(), z.unknown()).describe("Response model containing the row data from the specified table.\nThe response structure is dynamic and depends on the table schema.\nAll columns and their values are returned as top-level fields.")
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { rocketadminGetTableRow };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=get-table-row.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-table-row.mjs","names":[],"sources":["../../src/actions/get-table-row.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminGetTableRowInput: z.ZodTypeAny = z.object({\n id: z.union([z.string(), z.number().int()]),\n tableName: z.string().describe(\"The name of the database table to query.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection.\"),\n}).describe(\"Request model for retrieving a row from a table by primary key.\");\nexport const RocketadminGetTableRowOutput: z.ZodTypeAny = z.record(z.string(), z.unknown()).describe(\"Response model containing the row data from the specified table.\\nThe response structure is dynamic and depends on the table schema.\\nAll columns and their values are returned as top-level fields.\");\n\nexport const rocketadminGetTableRow = action(\"ROCKETADMIN_GET_TABLE_ROW\", {\n slug: \"rocketadmin-get-table-row\",\n name: \"Get Table Row by Primary Key\",\n description: \"Tool to retrieve a single row from a database table using its primary key. Use when you need to fetch specific row data by its ID from a RocketAdmin connection.\",\n input: RocketadminGetTableRowInput,\n output: RocketadminGetTableRowOutput,\n});\n"],"mappings":";;AAWA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuD,EAAE,OAAO;EAChE,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;EAC1C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACxF,CAAC,CAAC,CAAC,SAAS,iEAOH;CACP,QAPwD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sMAO3F;AACV,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-table-structure.ts
|
|
4
|
+
const RocketadminGetTableStructureInput = zod.z.object({
|
|
5
|
+
tableName: zod.z.string().describe("The name of the database table to retrieve structure for."),
|
|
6
|
+
connectionId: zod.z.string().describe("The unique identifier for the database connection.")
|
|
7
|
+
}).describe("Request model for retrieving table structure information.");
|
|
8
|
+
const RocketadminGetTableStructure_ColumnStructureSchema = zod.z.object({
|
|
9
|
+
data_type: zod.z.string().describe("The SQL data type of the column.").nullable().optional(),
|
|
10
|
+
column_name: zod.z.string().describe("The name of the column.").nullable().optional(),
|
|
11
|
+
column_type: zod.z.string().describe("The data type of the column.").nullable().optional(),
|
|
12
|
+
is_nullable: zod.z.union([zod.z.boolean(), zod.z.string()]).nullable().optional(),
|
|
13
|
+
column_default: zod.z.string().describe("The default value of the column.").nullable().optional(),
|
|
14
|
+
is_foreign_key: zod.z.boolean().describe("Indicates if this column is a foreign key.").nullable().optional(),
|
|
15
|
+
is_primary_key: zod.z.boolean().describe("Indicates if this column is a primary key.").nullable().optional(),
|
|
16
|
+
foreign_key_table: zod.z.string().describe("The table referenced by this foreign key.").nullable().optional(),
|
|
17
|
+
foreign_key_column: zod.z.string().describe("The column referenced by this foreign key.").nullable().optional(),
|
|
18
|
+
character_maximum_length: zod.z.number().int().describe("Maximum length for character data types.").nullable().optional()
|
|
19
|
+
}).describe("Model representing a database column structure.");
|
|
20
|
+
const RocketadminGetTableStructure_ForeignKeySchema = zod.z.object({
|
|
21
|
+
column_name: zod.z.string().describe("The column name that is a foreign key.").nullable().optional(),
|
|
22
|
+
referenced_table: zod.z.string().describe("The table being referenced.").nullable().optional(),
|
|
23
|
+
referenced_column: zod.z.string().describe("The column being referenced in the foreign table.").nullable().optional()
|
|
24
|
+
}).passthrough().describe("Model representing a foreign key relationship.");
|
|
25
|
+
const RocketadminGetTableStructure_PrimaryColumnSchema = zod.z.object({ column_name: zod.z.string().describe("The name of the primary key column.").nullable().optional() }).passthrough().describe("Model representing a primary key column.");
|
|
26
|
+
const RocketadminGetTableStructureOutput = zod.z.object({
|
|
27
|
+
structure: zod.z.array(RocketadminGetTableStructure_ColumnStructureSchema).describe("List of column structures for the table.").nullable().optional(),
|
|
28
|
+
table_name: zod.z.string().describe("The name of the table.").nullable().optional(),
|
|
29
|
+
foreignKeys: zod.z.array(RocketadminGetTableStructure_ForeignKeySchema).describe("List of foreign key relationships.").nullable().optional(),
|
|
30
|
+
primaryColumns: zod.z.array(RocketadminGetTableStructure_PrimaryColumnSchema).describe("List of primary key columns.").nullable().optional()
|
|
31
|
+
}).passthrough().describe("Response model containing the table structure information.\nThe response includes column definitions, data types, constraints, and relationships.");
|
|
32
|
+
const rocketadminGetTableStructure = require_action.action("ROCKETADMIN_GET_TABLE_STRUCTURE", {
|
|
33
|
+
slug: "rocketadmin-get-table-structure",
|
|
34
|
+
name: "Get Table Structure",
|
|
35
|
+
description: "Tool to retrieve the structural information of a database table including columns, data types, constraints, and relationships. Use when you need to understand the schema of a specific table in a RocketAdmin connection.",
|
|
36
|
+
input: RocketadminGetTableStructureInput,
|
|
37
|
+
output: RocketadminGetTableStructureOutput
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
exports.rocketadminGetTableStructure = rocketadminGetTableStructure;
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=get-table-structure.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-table-structure.cjs","names":["z","action"],"sources":["../../src/actions/get-table-structure.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminGetTableStructureInput: z.ZodTypeAny = z.object({\n tableName: z.string().describe(\"The name of the database table to retrieve structure for.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection.\"),\n}).describe(\"Request model for retrieving table structure information.\");\nconst RocketadminGetTableStructure_ColumnStructureSchema: z.ZodTypeAny = z.object({\n data_type: z.string().describe(\"The SQL data type of the column.\").nullable().optional(),\n column_name: z.string().describe(\"The name of the column.\").nullable().optional(),\n column_type: z.string().describe(\"The data type of the column.\").nullable().optional(),\n is_nullable: z.union([z.boolean(), z.string()]).nullable().optional(),\n column_default: z.string().describe(\"The default value of the column.\").nullable().optional(),\n is_foreign_key: z.boolean().describe(\"Indicates if this column is a foreign key.\").nullable().optional(),\n is_primary_key: z.boolean().describe(\"Indicates if this column is a primary key.\").nullable().optional(),\n foreign_key_table: z.string().describe(\"The table referenced by this foreign key.\").nullable().optional(),\n foreign_key_column: z.string().describe(\"The column referenced by this foreign key.\").nullable().optional(),\n character_maximum_length: z.number().int().describe(\"Maximum length for character data types.\").nullable().optional(),\n}).describe(\"Model representing a database column structure.\");\nconst RocketadminGetTableStructure_ForeignKeySchema: z.ZodTypeAny = z.object({\n column_name: z.string().describe(\"The column name that is a foreign key.\").nullable().optional(),\n referenced_table: z.string().describe(\"The table being referenced.\").nullable().optional(),\n referenced_column: z.string().describe(\"The column being referenced in the foreign table.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a foreign key relationship.\");\nconst RocketadminGetTableStructure_PrimaryColumnSchema: z.ZodTypeAny = z.object({\n column_name: z.string().describe(\"The name of the primary key column.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a primary key column.\");\nexport const RocketadminGetTableStructureOutput: z.ZodTypeAny = z.object({\n structure: z.array(RocketadminGetTableStructure_ColumnStructureSchema).describe(\"List of column structures for the table.\").nullable().optional(),\n table_name: z.string().describe(\"The name of the table.\").nullable().optional(),\n foreignKeys: z.array(RocketadminGetTableStructure_ForeignKeySchema).describe(\"List of foreign key relationships.\").nullable().optional(),\n primaryColumns: z.array(RocketadminGetTableStructure_PrimaryColumnSchema).describe(\"List of primary key columns.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the table structure information.\\nThe response includes column definitions, data types, constraints, and relationships.\");\n\nexport const rocketadminGetTableStructure = action(\"ROCKETADMIN_GET_TABLE_STRUCTURE\", {\n slug: \"rocketadmin-get-table-structure\",\n name: \"Get Table Structure\",\n description: \"Tool to retrieve the structural information of a database table including columns, data types, constraints, and relationships. Use when you need to understand the schema of a specific table in a RocketAdmin connection.\",\n input: RocketadminGetTableStructureInput,\n output: RocketadminGetTableStructureOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACxF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,mDAAiEA,IAAAA,EAAE,OAAO,EAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,WAAWA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,gBAAgBA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mJAAmJ;AAE7K,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,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-table-structure.d.ts
|
|
4
|
+
declare const RocketadminGetTableStructureInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetTableStructureOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetTableStructure: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetTableStructure };
|
|
9
|
+
//# sourceMappingURL=get-table-structure.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-table-structure.d.cts","names":[],"sources":["../../src/actions/get-table-structure.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGsB;AAAA,cAqB3D,kCAAA,EAAoC,CAAA,CAAE,UAK2H;AAAA,cAEjK,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-table-structure.d.ts
|
|
4
|
+
declare const RocketadminGetTableStructureInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetTableStructureOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetTableStructure: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetTableStructure };
|
|
9
|
+
//# sourceMappingURL=get-table-structure.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-table-structure.d.mts","names":[],"sources":["../../src/actions/get-table-structure.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGsB;AAAA,cAqB3D,kCAAA,EAAoC,CAAA,CAAE,UAK2H;AAAA,cAEjK,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-table-structure.ts
|
|
4
|
+
const RocketadminGetTableStructureInput = z.object({
|
|
5
|
+
tableName: z.string().describe("The name of the database table to retrieve structure for."),
|
|
6
|
+
connectionId: z.string().describe("The unique identifier for the database connection.")
|
|
7
|
+
}).describe("Request model for retrieving table structure information.");
|
|
8
|
+
const RocketadminGetTableStructure_ColumnStructureSchema = z.object({
|
|
9
|
+
data_type: z.string().describe("The SQL data type of the column.").nullable().optional(),
|
|
10
|
+
column_name: z.string().describe("The name of the column.").nullable().optional(),
|
|
11
|
+
column_type: z.string().describe("The data type of the column.").nullable().optional(),
|
|
12
|
+
is_nullable: z.union([z.boolean(), z.string()]).nullable().optional(),
|
|
13
|
+
column_default: z.string().describe("The default value of the column.").nullable().optional(),
|
|
14
|
+
is_foreign_key: z.boolean().describe("Indicates if this column is a foreign key.").nullable().optional(),
|
|
15
|
+
is_primary_key: z.boolean().describe("Indicates if this column is a primary key.").nullable().optional(),
|
|
16
|
+
foreign_key_table: z.string().describe("The table referenced by this foreign key.").nullable().optional(),
|
|
17
|
+
foreign_key_column: z.string().describe("The column referenced by this foreign key.").nullable().optional(),
|
|
18
|
+
character_maximum_length: z.number().int().describe("Maximum length for character data types.").nullable().optional()
|
|
19
|
+
}).describe("Model representing a database column structure.");
|
|
20
|
+
const RocketadminGetTableStructure_ForeignKeySchema = z.object({
|
|
21
|
+
column_name: z.string().describe("The column name that is a foreign key.").nullable().optional(),
|
|
22
|
+
referenced_table: z.string().describe("The table being referenced.").nullable().optional(),
|
|
23
|
+
referenced_column: z.string().describe("The column being referenced in the foreign table.").nullable().optional()
|
|
24
|
+
}).passthrough().describe("Model representing a foreign key relationship.");
|
|
25
|
+
const RocketadminGetTableStructure_PrimaryColumnSchema = z.object({ column_name: z.string().describe("The name of the primary key column.").nullable().optional() }).passthrough().describe("Model representing a primary key column.");
|
|
26
|
+
const rocketadminGetTableStructure = action("ROCKETADMIN_GET_TABLE_STRUCTURE", {
|
|
27
|
+
slug: "rocketadmin-get-table-structure",
|
|
28
|
+
name: "Get Table Structure",
|
|
29
|
+
description: "Tool to retrieve the structural information of a database table including columns, data types, constraints, and relationships. Use when you need to understand the schema of a specific table in a RocketAdmin connection.",
|
|
30
|
+
input: RocketadminGetTableStructureInput,
|
|
31
|
+
output: z.object({
|
|
32
|
+
structure: z.array(RocketadminGetTableStructure_ColumnStructureSchema).describe("List of column structures for the table.").nullable().optional(),
|
|
33
|
+
table_name: z.string().describe("The name of the table.").nullable().optional(),
|
|
34
|
+
foreignKeys: z.array(RocketadminGetTableStructure_ForeignKeySchema).describe("List of foreign key relationships.").nullable().optional(),
|
|
35
|
+
primaryColumns: z.array(RocketadminGetTableStructure_PrimaryColumnSchema).describe("List of primary key columns.").nullable().optional()
|
|
36
|
+
}).passthrough().describe("Response model containing the table structure information.\nThe response includes column definitions, data types, constraints, and relationships.")
|
|
37
|
+
});
|
|
38
|
+
//#endregion
|
|
39
|
+
export { rocketadminGetTableStructure };
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=get-table-structure.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-table-structure.mjs","names":[],"sources":["../../src/actions/get-table-structure.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminGetTableStructureInput: z.ZodTypeAny = z.object({\n tableName: z.string().describe(\"The name of the database table to retrieve structure for.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection.\"),\n}).describe(\"Request model for retrieving table structure information.\");\nconst RocketadminGetTableStructure_ColumnStructureSchema: z.ZodTypeAny = z.object({\n data_type: z.string().describe(\"The SQL data type of the column.\").nullable().optional(),\n column_name: z.string().describe(\"The name of the column.\").nullable().optional(),\n column_type: z.string().describe(\"The data type of the column.\").nullable().optional(),\n is_nullable: z.union([z.boolean(), z.string()]).nullable().optional(),\n column_default: z.string().describe(\"The default value of the column.\").nullable().optional(),\n is_foreign_key: z.boolean().describe(\"Indicates if this column is a foreign key.\").nullable().optional(),\n is_primary_key: z.boolean().describe(\"Indicates if this column is a primary key.\").nullable().optional(),\n foreign_key_table: z.string().describe(\"The table referenced by this foreign key.\").nullable().optional(),\n foreign_key_column: z.string().describe(\"The column referenced by this foreign key.\").nullable().optional(),\n character_maximum_length: z.number().int().describe(\"Maximum length for character data types.\").nullable().optional(),\n}).describe(\"Model representing a database column structure.\");\nconst RocketadminGetTableStructure_ForeignKeySchema: z.ZodTypeAny = z.object({\n column_name: z.string().describe(\"The column name that is a foreign key.\").nullable().optional(),\n referenced_table: z.string().describe(\"The table being referenced.\").nullable().optional(),\n referenced_column: z.string().describe(\"The column being referenced in the foreign table.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a foreign key relationship.\");\nconst RocketadminGetTableStructure_PrimaryColumnSchema: z.ZodTypeAny = z.object({\n column_name: z.string().describe(\"The name of the primary key column.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a primary key column.\");\nexport const RocketadminGetTableStructureOutput: z.ZodTypeAny = z.object({\n structure: z.array(RocketadminGetTableStructure_ColumnStructureSchema).describe(\"List of column structures for the table.\").nullable().optional(),\n table_name: z.string().describe(\"The name of the table.\").nullable().optional(),\n foreignKeys: z.array(RocketadminGetTableStructure_ForeignKeySchema).describe(\"List of foreign key relationships.\").nullable().optional(),\n primaryColumns: z.array(RocketadminGetTableStructure_PrimaryColumnSchema).describe(\"List of primary key columns.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the table structure information.\\nThe response includes column definitions, data types, constraints, and relationships.\");\n\nexport const rocketadminGetTableStructure = action(\"ROCKETADMIN_GET_TABLE_STRUCTURE\", {\n slug: \"rocketadmin-get-table-structure\",\n name: \"Get Table Structure\",\n description: \"Tool to retrieve the structural information of a database table including columns, data types, constraints, and relationships. Use when you need to understand the schema of a specific table in a RocketAdmin connection.\",\n input: RocketadminGetTableStructureInput,\n output: RocketadminGetTableStructureOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACxF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,qDAAmE,EAAE,OAAO;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,MAAM,CAAC,EAAE,QAAQ,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,gDAA8D,EAAE,OAAO;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,mDAAiE,EAAE,OAAO,EAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAQpE,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ8D,EAAE,OAAO;EACvE,WAAW,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,aAAa,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,gBAAgB,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mJAOhB;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-user-email-verify.ts
|
|
4
|
+
const RocketadminGetUserEmailVerifyInput = zod.z.object({ verificationString: zod.z.string().describe("A unique verification token string used to authenticate and validate the user's email address during the verification process.") }).describe("Request model for verifying a user's email address.");
|
|
5
|
+
const RocketadminGetUserEmailVerifyOutput = zod.z.object({
|
|
6
|
+
message: zod.z.string().describe("A message providing additional information about the verification result.").nullable().optional(),
|
|
7
|
+
success: zod.z.boolean().describe("Indicates whether the email verification was successful.").nullable().optional(),
|
|
8
|
+
statusCode: zod.z.number().int().describe("HTTP status code returned by the API.").nullable().optional()
|
|
9
|
+
}).describe("Response model for email verification.");
|
|
10
|
+
const rocketadminGetUserEmailVerify = require_action.action("ROCKETADMIN_GET_USER_EMAIL_VERIFY", {
|
|
11
|
+
slug: "rocketadmin-get-user-email-verify",
|
|
12
|
+
name: "Verify User Email",
|
|
13
|
+
description: "Tool to verify a user's email address using a verification token. Use when you need to confirm a user's email address after registration or email change.",
|
|
14
|
+
input: RocketadminGetUserEmailVerifyInput,
|
|
15
|
+
output: RocketadminGetUserEmailVerifyOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.rocketadminGetUserEmailVerify = rocketadminGetUserEmailVerify;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=get-user-email-verify.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-email-verify.cjs","names":["z","action"],"sources":["../../src/actions/get-user-email-verify.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminGetUserEmailVerifyInput: z.ZodTypeAny = z.object({\n verificationString: z.string().describe(\"A unique verification token string used to authenticate and validate the user's email address during the verification process.\"),\n}).describe(\"Request model for verifying a user's email address.\");\nexport const RocketadminGetUserEmailVerifyOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"A message providing additional information about the verification result.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the email verification was successful.\").nullable().optional(),\n statusCode: z.number().int().describe(\"HTTP status code returned by the API.\").nullable().optional(),\n}).describe(\"Response model for email verification.\");\n\nexport const rocketadminGetUserEmailVerify = action(\"ROCKETADMIN_GET_USER_EMAIL_VERIFY\", {\n slug: \"rocketadmin-get-user-email-verify\",\n name: \"Verify User Email\",\n description: \"Tool to verify a user's email address using a verification token. Use when you need to confirm a user's email address after registration or email change.\",\n input: RocketadminGetUserEmailVerifyInput,\n output: RocketadminGetUserEmailVerifyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,EAC1K,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,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-user-email-verify.d.ts
|
|
4
|
+
declare const RocketadminGetUserEmailVerifyInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetUserEmailVerifyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetUserEmailVerify: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetUserEmailVerify };
|
|
9
|
+
//# sourceMappingURL=get-user-email-verify.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-email-verify.d.cts","names":[],"sources":["../../src/actions/get-user-email-verify.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAEe;AAAA,cACrD,mCAAA,EAAqC,CAAA,CAAE,UAIC;AAAA,cAExC,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-user-email-verify.d.ts
|
|
4
|
+
declare const RocketadminGetUserEmailVerifyInput: z.ZodTypeAny;
|
|
5
|
+
declare const RocketadminGetUserEmailVerifyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rocketadminGetUserEmailVerify: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rocketadminGetUserEmailVerify };
|
|
9
|
+
//# sourceMappingURL=get-user-email-verify.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-email-verify.d.mts","names":[],"sources":["../../src/actions/get-user-email-verify.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAEe;AAAA,cACrD,mCAAA,EAAqC,CAAA,CAAE,UAIC;AAAA,cAExC,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const rocketadminGetUserEmailVerify = action("ROCKETADMIN_GET_USER_EMAIL_VERIFY", {
|
|
4
|
+
slug: "rocketadmin-get-user-email-verify",
|
|
5
|
+
name: "Verify User Email",
|
|
6
|
+
description: "Tool to verify a user's email address using a verification token. Use when you need to confirm a user's email address after registration or email change.",
|
|
7
|
+
input: z.object({ verificationString: z.string().describe("A unique verification token string used to authenticate and validate the user's email address during the verification process.") }).describe("Request model for verifying a user's email address."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
message: z.string().describe("A message providing additional information about the verification result.").nullable().optional(),
|
|
10
|
+
success: z.boolean().describe("Indicates whether the email verification was successful.").nullable().optional(),
|
|
11
|
+
statusCode: z.number().int().describe("HTTP status code returned by the API.").nullable().optional()
|
|
12
|
+
}).describe("Response model for email verification.")
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { rocketadminGetUserEmailVerify };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=get-user-email-verify.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-email-verify.mjs","names":[],"sources":["../../src/actions/get-user-email-verify.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminGetUserEmailVerifyInput: z.ZodTypeAny = z.object({\n verificationString: z.string().describe(\"A unique verification token string used to authenticate and validate the user's email address during the verification process.\"),\n}).describe(\"Request model for verifying a user's email address.\");\nexport const RocketadminGetUserEmailVerifyOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"A message providing additional information about the verification result.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the email verification was successful.\").nullable().optional(),\n statusCode: z.number().int().describe(\"HTTP status code returned by the API.\").nullable().optional(),\n}).describe(\"Response model for email verification.\");\n\nexport const rocketadminGetUserEmailVerify = action(\"ROCKETADMIN_GET_USER_EMAIL_VERIFY\", {\n slug: \"rocketadmin-get-user-email-verify\",\n name: \"Verify User Email\",\n description: \"Tool to verify a user's email address using a verification token. Use when you need to confirm a user's email address after registration or email change.\",\n input: RocketadminGetUserEmailVerifyInput,\n output: RocketadminGetUserEmailVerifyOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb8D,EAAE,OAAO,EACvE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,EAC1K,CAAC,CAAC,CAAC,SAAS,qDAWH;CACP,QAX+D,EAAE,OAAO;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_check_api_key = require("./check-api-key.cjs");
|
|
3
|
+
const require_delete_table_row = require("./delete-table-row.cjs");
|
|
4
|
+
const require_get_company_invite_verify = require("./get-company-invite-verify.cjs");
|
|
5
|
+
const require_get_connection_tables_v2 = require("./get-connection-tables-v2.cjs");
|
|
6
|
+
const require_get_connection_token = require("./get-connection-token.cjs");
|
|
7
|
+
const require_get_connections = require("./get-connections.cjs");
|
|
8
|
+
const require_get_hello = require("./get-hello.cjs");
|
|
9
|
+
const require_get_saas_users_email = require("./get-saas-users-email.cjs");
|
|
10
|
+
const require_get_table_row = require("./get-table-row.cjs");
|
|
11
|
+
const require_get_table_structure = require("./get-table-structure.cjs");
|
|
12
|
+
const require_get_user_email_verify = require("./get-user-email-verify.cjs");
|
|
13
|
+
const require_post_table_csv_export = require("./post-table-csv-export.cjs");
|
|
14
|
+
const require_post_table_row = require("./post-table-row.cjs");
|
|
15
|
+
const require_post_table_rows_find = require("./post-table-rows-find.cjs");
|
|
16
|
+
const require_put_table_row = require("./put-table-row.cjs");
|
|
17
|
+
const require_put_table_rows_delete = require("./put-table-rows-delete.cjs");
|
|
18
|
+
const require_put_table_rows_update = require("./put-table-rows-update.cjs");
|
|
19
|
+
exports.rocketadminCheckApiKey = require_check_api_key.rocketadminCheckApiKey;
|
|
20
|
+
exports.rocketadminDeleteTableRow = require_delete_table_row.rocketadminDeleteTableRow;
|
|
21
|
+
exports.rocketadminGetCompanyInviteVerify = require_get_company_invite_verify.rocketadminGetCompanyInviteVerify;
|
|
22
|
+
exports.rocketadminGetConnectionTablesV2 = require_get_connection_tables_v2.rocketadminGetConnectionTablesV2;
|
|
23
|
+
exports.rocketadminGetConnectionToken = require_get_connection_token.rocketadminGetConnectionToken;
|
|
24
|
+
exports.rocketadminGetConnections = require_get_connections.rocketadminGetConnections;
|
|
25
|
+
exports.rocketadminGetHello = require_get_hello.rocketadminGetHello;
|
|
26
|
+
exports.rocketadminGetSaasUsersEmail = require_get_saas_users_email.rocketadminGetSaasUsersEmail;
|
|
27
|
+
exports.rocketadminGetTableRow = require_get_table_row.rocketadminGetTableRow;
|
|
28
|
+
exports.rocketadminGetTableStructure = require_get_table_structure.rocketadminGetTableStructure;
|
|
29
|
+
exports.rocketadminGetUserEmailVerify = require_get_user_email_verify.rocketadminGetUserEmailVerify;
|
|
30
|
+
exports.rocketadminPostTableCsvExport = require_post_table_csv_export.rocketadminPostTableCsvExport;
|
|
31
|
+
exports.rocketadminPostTableRow = require_post_table_row.rocketadminPostTableRow;
|
|
32
|
+
exports.rocketadminPostTableRowsFind = require_post_table_rows_find.rocketadminPostTableRowsFind;
|
|
33
|
+
exports.rocketadminPutTableRow = require_put_table_row.rocketadminPutTableRow;
|
|
34
|
+
exports.rocketadminPutTableRowsDelete = require_put_table_rows_delete.rocketadminPutTableRowsDelete;
|
|
35
|
+
exports.rocketadminPutTableRowsUpdate = require_put_table_rows_update.rocketadminPutTableRowsUpdate;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { rocketadminCheckApiKey } from "./check-api-key.cjs";
|
|
2
|
+
import { rocketadminDeleteTableRow } from "./delete-table-row.cjs";
|
|
3
|
+
import { rocketadminGetCompanyInviteVerify } from "./get-company-invite-verify.cjs";
|
|
4
|
+
import { rocketadminGetConnectionTablesV2 } from "./get-connection-tables-v2.cjs";
|
|
5
|
+
import { rocketadminGetConnectionToken } from "./get-connection-token.cjs";
|
|
6
|
+
import { rocketadminGetConnections } from "./get-connections.cjs";
|
|
7
|
+
import { rocketadminGetHello } from "./get-hello.cjs";
|
|
8
|
+
import { rocketadminGetSaasUsersEmail } from "./get-saas-users-email.cjs";
|
|
9
|
+
import { rocketadminGetTableRow } from "./get-table-row.cjs";
|
|
10
|
+
import { rocketadminGetTableStructure } from "./get-table-structure.cjs";
|
|
11
|
+
import { rocketadminGetUserEmailVerify } from "./get-user-email-verify.cjs";
|
|
12
|
+
import { rocketadminPostTableCsvExport } from "./post-table-csv-export.cjs";
|
|
13
|
+
import { rocketadminPostTableRow } from "./post-table-row.cjs";
|
|
14
|
+
import { rocketadminPostTableRowsFind } from "./post-table-rows-find.cjs";
|
|
15
|
+
import { rocketadminPutTableRow } from "./put-table-row.cjs";
|
|
16
|
+
import { rocketadminPutTableRowsDelete } from "./put-table-rows-delete.cjs";
|
|
17
|
+
import { rocketadminPutTableRowsUpdate } from "./put-table-rows-update.cjs";
|
|
18
|
+
export { rocketadminCheckApiKey, rocketadminDeleteTableRow, rocketadminGetCompanyInviteVerify, rocketadminGetConnectionTablesV2, rocketadminGetConnectionToken, rocketadminGetConnections, rocketadminGetHello, rocketadminGetSaasUsersEmail, rocketadminGetTableRow, rocketadminGetTableStructure, rocketadminGetUserEmailVerify, rocketadminPostTableCsvExport, rocketadminPostTableRow, rocketadminPostTableRowsFind, rocketadminPutTableRow, rocketadminPutTableRowsDelete, rocketadminPutTableRowsUpdate };
|