@keystrokehq/neo4j 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/aggregate-directors.cjs +1 -0
- package/dist/actions/aggregate-directors.cjs.map +1 -1
- package/dist/actions/aggregate-directors.d.cts +3 -15
- package/dist/actions/aggregate-directors.d.cts.map +1 -1
- package/dist/actions/aggregate-directors.d.mts +3 -15
- package/dist/actions/aggregate-directors.d.mts.map +1 -1
- package/dist/actions/aggregate-directors.mjs +1 -0
- package/dist/actions/aggregate-directors.mjs.map +1 -1
- package/dist/actions/create-instance-beta.cjs +1 -0
- package/dist/actions/create-instance-beta.cjs.map +1 -1
- package/dist/actions/create-instance-beta.d.cts +3 -27
- package/dist/actions/create-instance-beta.d.cts.map +1 -1
- package/dist/actions/create-instance-beta.d.mts +3 -27
- package/dist/actions/create-instance-beta.d.mts.map +1 -1
- package/dist/actions/create-instance-beta.mjs +1 -0
- package/dist/actions/create-instance-beta.mjs.map +1 -1
- package/dist/actions/create-snapshot.cjs +1 -0
- package/dist/actions/create-snapshot.cjs.map +1 -1
- package/dist/actions/create-snapshot.d.cts +3 -15
- package/dist/actions/create-snapshot.d.cts.map +1 -1
- package/dist/actions/create-snapshot.d.mts +3 -15
- package/dist/actions/create-snapshot.d.mts.map +1 -1
- package/dist/actions/create-snapshot.mjs +1 -0
- package/dist/actions/create-snapshot.mjs.map +1 -1
- package/dist/actions/estimate-gds-session-size.cjs +1 -0
- package/dist/actions/estimate-gds-session-size.cjs.map +1 -1
- package/dist/actions/estimate-gds-session-size.d.cts +3 -20
- package/dist/actions/estimate-gds-session-size.d.cts.map +1 -1
- package/dist/actions/estimate-gds-session-size.d.mts +3 -20
- package/dist/actions/estimate-gds-session-size.d.mts.map +1 -1
- package/dist/actions/estimate-gds-session-size.mjs +1 -0
- package/dist/actions/estimate-gds-session-size.mjs.map +1 -1
- package/dist/actions/get-instance-beta.cjs +1 -0
- package/dist/actions/get-instance-beta.cjs.map +1 -1
- package/dist/actions/get-instance-beta.d.cts +3 -15
- package/dist/actions/get-instance-beta.d.cts.map +1 -1
- package/dist/actions/get-instance-beta.d.mts +3 -15
- package/dist/actions/get-instance-beta.d.mts.map +1 -1
- package/dist/actions/get-instance-beta.mjs +1 -0
- package/dist/actions/get-instance-beta.mjs.map +1 -1
- package/dist/actions/get-organization-user.cjs +1 -0
- package/dist/actions/get-organization-user.cjs.map +1 -1
- package/dist/actions/get-organization-user.d.cts +3 -16
- package/dist/actions/get-organization-user.d.cts.map +1 -1
- package/dist/actions/get-organization-user.d.mts +3 -16
- package/dist/actions/get-organization-user.d.mts.map +1 -1
- package/dist/actions/get-organization-user.mjs +1 -0
- package/dist/actions/get-organization-user.mjs.map +1 -1
- package/dist/actions/get-project-beta.cjs +1 -0
- package/dist/actions/get-project-beta.cjs.map +1 -1
- package/dist/actions/get-project-beta.d.cts +3 -15
- package/dist/actions/get-project-beta.d.cts.map +1 -1
- package/dist/actions/get-project-beta.d.mts +3 -15
- package/dist/actions/get-project-beta.d.mts.map +1 -1
- package/dist/actions/get-project-beta.mjs +1 -0
- package/dist/actions/get-project-beta.mjs.map +1 -1
- package/dist/actions/get-project.cjs +1 -0
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +3 -15
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +3 -15
- package/dist/actions/get-project.d.mts.map +1 -1
- package/dist/actions/get-project.mjs +1 -0
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-snapshot.cjs +1 -0
- package/dist/actions/get-snapshot.cjs.map +1 -1
- package/dist/actions/get-snapshot.d.cts +3 -16
- package/dist/actions/get-snapshot.d.cts.map +1 -1
- package/dist/actions/get-snapshot.d.mts +3 -16
- package/dist/actions/get-snapshot.d.mts.map +1 -1
- package/dist/actions/get-snapshot.mjs +1 -0
- package/dist/actions/get-snapshot.mjs.map +1 -1
- package/dist/actions/list-agents.cjs +1 -0
- package/dist/actions/list-agents.cjs.map +1 -1
- package/dist/actions/list-agents.d.cts +3 -16
- package/dist/actions/list-agents.d.cts.map +1 -1
- package/dist/actions/list-agents.d.mts +3 -16
- package/dist/actions/list-agents.d.mts.map +1 -1
- package/dist/actions/list-agents.mjs +1 -0
- package/dist/actions/list-agents.mjs.map +1 -1
- package/dist/actions/list-gds-sessions.cjs +1 -0
- package/dist/actions/list-gds-sessions.cjs.map +1 -1
- package/dist/actions/list-gds-sessions.d.cts +3 -17
- package/dist/actions/list-gds-sessions.d.cts.map +1 -1
- package/dist/actions/list-gds-sessions.d.mts +3 -17
- package/dist/actions/list-gds-sessions.d.mts.map +1 -1
- package/dist/actions/list-gds-sessions.mjs +1 -0
- package/dist/actions/list-gds-sessions.mjs.map +1 -1
- package/dist/actions/list-instances-beta.cjs +1 -0
- package/dist/actions/list-instances-beta.cjs.map +1 -1
- package/dist/actions/list-instances-beta.d.cts +3 -15
- package/dist/actions/list-instances-beta.d.cts.map +1 -1
- package/dist/actions/list-instances-beta.d.mts +3 -15
- package/dist/actions/list-instances-beta.d.mts.map +1 -1
- package/dist/actions/list-instances-beta.mjs +1 -0
- package/dist/actions/list-instances-beta.mjs.map +1 -1
- package/dist/actions/list-ip-filters.cjs +1 -0
- package/dist/actions/list-ip-filters.cjs.map +1 -1
- package/dist/actions/list-ip-filters.d.cts +3 -15
- package/dist/actions/list-ip-filters.d.cts.map +1 -1
- package/dist/actions/list-ip-filters.d.mts +3 -15
- package/dist/actions/list-ip-filters.d.mts.map +1 -1
- package/dist/actions/list-ip-filters.mjs +1 -0
- package/dist/actions/list-ip-filters.mjs.map +1 -1
- package/dist/actions/list-project-users.cjs +1 -0
- package/dist/actions/list-project-users.cjs.map +1 -1
- package/dist/actions/list-project-users.d.cts +3 -16
- package/dist/actions/list-project-users.d.cts.map +1 -1
- package/dist/actions/list-project-users.d.mts +3 -16
- package/dist/actions/list-project-users.d.mts.map +1 -1
- package/dist/actions/list-project-users.mjs +1 -0
- package/dist/actions/list-project-users.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +1 -0
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +3 -13
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +3 -13
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +1 -0
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/list-snapshots.cjs +1 -0
- package/dist/actions/list-snapshots.cjs.map +1 -1
- package/dist/actions/list-snapshots.d.cts +3 -16
- package/dist/actions/list-snapshots.d.cts.map +1 -1
- package/dist/actions/list-snapshots.d.mts +3 -16
- package/dist/actions/list-snapshots.d.mts.map +1 -1
- package/dist/actions/list-snapshots.mjs +1 -0
- package/dist/actions/list-snapshots.mjs.map +1 -1
- package/dist/actions/pause-instance-beta.cjs +1 -0
- package/dist/actions/pause-instance-beta.cjs.map +1 -1
- package/dist/actions/pause-instance-beta.d.cts +3 -15
- package/dist/actions/pause-instance-beta.d.cts.map +1 -1
- package/dist/actions/pause-instance-beta.d.mts +3 -15
- package/dist/actions/pause-instance-beta.d.mts.map +1 -1
- package/dist/actions/pause-instance-beta.mjs +1 -0
- package/dist/actions/pause-instance-beta.mjs.map +1 -1
- package/dist/actions/restore-snapshot.cjs +1 -0
- package/dist/actions/restore-snapshot.cjs.map +1 -1
- package/dist/actions/restore-snapshot.d.cts +3 -16
- package/dist/actions/restore-snapshot.d.cts.map +1 -1
- package/dist/actions/restore-snapshot.d.mts +3 -16
- package/dist/actions/restore-snapshot.d.mts.map +1 -1
- package/dist/actions/restore-snapshot.mjs +1 -0
- package/dist/actions/restore-snapshot.mjs.map +1 -1
- package/dist/actions/update-instance-beta.cjs +1 -0
- package/dist/actions/update-instance-beta.cjs.map +1 -1
- package/dist/actions/update-instance-beta.d.cts +3 -20
- package/dist/actions/update-instance-beta.d.cts.map +1 -1
- package/dist/actions/update-instance-beta.d.mts +3 -20
- package/dist/actions/update-instance-beta.d.mts.map +1 -1
- package/dist/actions/update-instance-beta.mjs +1 -0
- package/dist/actions/update-instance-beta.mjs.map +1 -1
- package/dist/actions/update-instance.cjs +1 -0
- package/dist/actions/update-instance.cjs.map +1 -1
- package/dist/actions/update-instance.d.cts +3 -20
- package/dist/actions/update-instance.d.cts.map +1 -1
- package/dist/actions/update-instance.d.mts +3 -20
- package/dist/actions/update-instance.d.mts.map +1 -1
- package/dist/actions/update-instance.mjs +1 -0
- package/dist/actions/update-instance.mjs.map +1 -1
- package/dist/actions/update-ip-filter.cjs +1 -0
- package/dist/actions/update-ip-filter.cjs.map +1 -1
- package/dist/actions/update-ip-filter.d.cts +3 -25
- package/dist/actions/update-ip-filter.d.cts.map +1 -1
- package/dist/actions/update-ip-filter.d.mts +3 -25
- package/dist/actions/update-ip-filter.d.mts.map +1 -1
- package/dist/actions/update-ip-filter.mjs +1 -0
- package/dist/actions/update-ip-filter.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-project-users.cjs","names":["z","action"],"sources":["../../src/actions/list-project-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Neo4jListProjectUsersInput = z.object({\n project_id: z.string().describe(\"The unique identifier of the project\"),\n organization_id: z.string().describe(\"The unique identifier of the organization\"),\n}).describe(\"Request model for listing users in a Neo4j Aura project.\");\nconst Neo4jListProjectUsers_ProjectUserSchema = z.object({\n email: z.string().describe(\"Email address of the user\").nullable(),\n user_id: z.string().describe(\"The unique identifier of the user\").nullable(),\n project_roles: z.array(z.string()).describe(\"Roles assigned to the user within the project (e.g., 'viewer', 'editor', 'admin')\"),\n}).passthrough().describe(\"Represents a user within an Aura project.\");\nexport const Neo4jListProjectUsersOutput = z.object({\n data: z.array(Neo4jListProjectUsers_ProjectUserSchema).describe(\"List of users in the project\"),\n}).passthrough().describe(\"Response model for listing users in a Neo4j Aura project.\");\n\nexport const neo4jListProjectUsers = action(\"NEO4J_LIST_PROJECT_USERS\", {\n slug: \"neo4j-list-project-users\",\n name: \"List Project Users\",\n description: \"List all users in a specific Neo4j Aura project. Returns user information including email, user ID, and project roles for each user. Use this action when you need to retrieve all users associated with a project to identify team members or verify user access levels.\",\n input: Neo4jListProjectUsersInput,\n output: Neo4jListProjectUsersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-project-users.cjs","names":["z","action"],"sources":["../../src/actions/list-project-users.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neo4j } from \"../app\";\n\nexport const Neo4jListProjectUsersInput = z.object({\n project_id: z.string().describe(\"The unique identifier of the project\"),\n organization_id: z.string().describe(\"The unique identifier of the organization\"),\n}).describe(\"Request model for listing users in a Neo4j Aura project.\");\nconst Neo4jListProjectUsers_ProjectUserSchema = z.object({\n email: z.string().describe(\"Email address of the user\").nullable(),\n user_id: z.string().describe(\"The unique identifier of the user\").nullable(),\n project_roles: z.array(z.string()).describe(\"Roles assigned to the user within the project (e.g., 'viewer', 'editor', 'admin')\"),\n}).passthrough().describe(\"Represents a user within an Aura project.\");\nexport const Neo4jListProjectUsersOutput = z.object({\n data: z.array(Neo4jListProjectUsers_ProjectUserSchema).describe(\"List of users in the project\"),\n}).passthrough().describe(\"Response model for listing users in a Neo4j Aura project.\");\n\nexport const neo4jListProjectUsers: AppAction<\n typeof Neo4jListProjectUsersInput,\n typeof Neo4jListProjectUsersOutput,\n typeof neo4j.credential\n> = action(\"NEO4J_LIST_PROJECT_USERS\", {\n slug: \"neo4j-list-project-users\",\n name: \"List Project Users\",\n description: \"List all users in a specific Neo4j Aura project. Returns user information including email, user ID, and project roles for each user. Use this action when you need to retrieve all users associated with a project to identify team members or verify user access levels.\",\n input: Neo4jListProjectUsersInput,\n output: Neo4jListProjectUsersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAClF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mFAAmF;AACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8BAA8B,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neo4j } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-project-users.d.ts
|
|
@@ -12,22 +14,7 @@ declare const Neo4jListProjectUsersOutput: z.ZodObject<{
|
|
|
12
14
|
project_roles: z.ZodArray<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const neo4jListProjectUsers:
|
|
16
|
-
project_id: string;
|
|
17
|
-
organization_id: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const neo4jListProjectUsers: AppAction<typeof Neo4jListProjectUsersInput, typeof Neo4jListProjectUsersOutput, typeof neo4j.credential>;
|
|
31
18
|
//#endregion
|
|
32
19
|
export { neo4jListProjectUsers };
|
|
33
20
|
//# sourceMappingURL=list-project-users.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-project-users.d.cts","names":[],"sources":["../../src/actions/list-project-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-project-users.d.cts","names":[],"sources":["../../src/actions/list-project-users.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neo4j } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-project-users.d.ts
|
|
@@ -12,22 +14,7 @@ declare const Neo4jListProjectUsersOutput: z.ZodObject<{
|
|
|
12
14
|
project_roles: z.ZodArray<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const neo4jListProjectUsers:
|
|
16
|
-
project_id: string;
|
|
17
|
-
organization_id: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const neo4jListProjectUsers: AppAction<typeof Neo4jListProjectUsersInput, typeof Neo4jListProjectUsersOutput, typeof neo4j.credential>;
|
|
31
18
|
//#endregion
|
|
32
19
|
export { neo4jListProjectUsers };
|
|
33
20
|
//# sourceMappingURL=list-project-users.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-project-users.d.mts","names":[],"sources":["../../src/actions/list-project-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-project-users.d.mts","names":[],"sources":["../../src/actions/list-project-users.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-project-users.mjs","names":[],"sources":["../../src/actions/list-project-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Neo4jListProjectUsersInput = z.object({\n project_id: z.string().describe(\"The unique identifier of the project\"),\n organization_id: z.string().describe(\"The unique identifier of the organization\"),\n}).describe(\"Request model for listing users in a Neo4j Aura project.\");\nconst Neo4jListProjectUsers_ProjectUserSchema = z.object({\n email: z.string().describe(\"Email address of the user\").nullable(),\n user_id: z.string().describe(\"The unique identifier of the user\").nullable(),\n project_roles: z.array(z.string()).describe(\"Roles assigned to the user within the project (e.g., 'viewer', 'editor', 'admin')\"),\n}).passthrough().describe(\"Represents a user within an Aura project.\");\nexport const Neo4jListProjectUsersOutput = z.object({\n data: z.array(Neo4jListProjectUsers_ProjectUserSchema).describe(\"List of users in the project\"),\n}).passthrough().describe(\"Response model for listing users in a Neo4j Aura project.\");\n\nexport const neo4jListProjectUsers = action(\"NEO4J_LIST_PROJECT_USERS\", {\n slug: \"neo4j-list-project-users\",\n name: \"List Project Users\",\n description: \"List all users in a specific Neo4j Aura project. Returns user information including email, user ID, and project roles for each user. Use this action when you need to retrieve all users associated with a project to identify team members or verify user access levels.\",\n input: Neo4jListProjectUsersInput,\n output: Neo4jListProjectUsersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-project-users.mjs","names":[],"sources":["../../src/actions/list-project-users.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neo4j } from \"../app\";\n\nexport const Neo4jListProjectUsersInput = z.object({\n project_id: z.string().describe(\"The unique identifier of the project\"),\n organization_id: z.string().describe(\"The unique identifier of the organization\"),\n}).describe(\"Request model for listing users in a Neo4j Aura project.\");\nconst Neo4jListProjectUsers_ProjectUserSchema = z.object({\n email: z.string().describe(\"Email address of the user\").nullable(),\n user_id: z.string().describe(\"The unique identifier of the user\").nullable(),\n project_roles: z.array(z.string()).describe(\"Roles assigned to the user within the project (e.g., 'viewer', 'editor', 'admin')\"),\n}).passthrough().describe(\"Represents a user within an Aura project.\");\nexport const Neo4jListProjectUsersOutput = z.object({\n data: z.array(Neo4jListProjectUsers_ProjectUserSchema).describe(\"List of users in the project\"),\n}).passthrough().describe(\"Response model for listing users in a Neo4j Aura project.\");\n\nexport const neo4jListProjectUsers: AppAction<\n typeof Neo4jListProjectUsersInput,\n typeof Neo4jListProjectUsersOutput,\n typeof neo4j.credential\n> = action(\"NEO4J_LIST_PROJECT_USERS\", {\n slug: \"neo4j-list-project-users\",\n name: \"List Project Users\",\n description: \"List all users in a specific Neo4j Aura project. Returns user information including email, user ID, and project roles for each user. Use this action when you need to retrieve all users associated with a project to identify team members or verify user access levels.\",\n input: Neo4jListProjectUsersInput,\n output: Neo4jListProjectUsersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAClF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,0CAA0C,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mFAAmF;AACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,MAAM,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8BAA8B,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Neo4jListProjectsInput = z.object({}).describe(\"Request model for listing Aura projects.\");\nconst Neo4jListProjects_ProjectSummarySchema = z.object({\n id: z.string().describe(\"The unique identifier of the Aura project.\").nullable(),\n name: z.string().describe(\"The name of the Aura project.\").nullable(),\n}).passthrough().describe(\"Summary of an Aura project with ID and name.\");\nexport const Neo4jListProjectsOutput = z.object({\n data: z.array(Neo4jListProjects_ProjectSummarySchema).describe(\"List of Aura projects (tenants) the authenticated user has access to.\"),\n}).passthrough().describe(\"Response model for listing Aura projects.\");\n\nexport const neo4jListProjects = action(\"NEO4J_LIST_PROJECTS\", {\n slug: \"neo4j-list-projects\",\n name: \"List Aura Projects\",\n description: \"List all Aura projects (tenants) available to the authenticated user. Returns a summary of each project including its unique ID and name. Use this action when you need to retrieve all Aura projects to identify which projects are accessible or to select a specific project for subsequent operations.\",\n input: Neo4jListProjectsInput,\n output: Neo4jListProjectsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neo4j } from \"../app\";\n\nexport const Neo4jListProjectsInput = z.object({}).describe(\"Request model for listing Aura projects.\");\nconst Neo4jListProjects_ProjectSummarySchema = z.object({\n id: z.string().describe(\"The unique identifier of the Aura project.\").nullable(),\n name: z.string().describe(\"The name of the Aura project.\").nullable(),\n}).passthrough().describe(\"Summary of an Aura project with ID and name.\");\nexport const Neo4jListProjectsOutput = z.object({\n data: z.array(Neo4jListProjects_ProjectSummarySchema).describe(\"List of Aura projects (tenants) the authenticated user has access to.\"),\n}).passthrough().describe(\"Response model for listing Aura projects.\");\n\nexport const neo4jListProjects: AppAction<\n typeof Neo4jListProjectsInput,\n typeof Neo4jListProjectsOutput,\n typeof neo4j.credential\n> = action(\"NEO4J_LIST_PROJECTS\", {\n slug: \"neo4j-list-projects\",\n name: \"List Aura Projects\",\n description: \"List all Aura projects (tenants) available to the authenticated user. Returns a summary of each project including its unique ID and name. Use this action when you need to retrieve all Aura projects to identify which projects are accessible or to select a specific project for subsequent operations.\",\n input: Neo4jListProjectsInput,\n output: Neo4jListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtG,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,uEAAuE,EACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neo4j } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-projects.d.ts
|
|
@@ -8,19 +10,7 @@ declare const Neo4jListProjectsOutput: z.ZodObject<{
|
|
|
8
10
|
name: z.ZodNullable<z.ZodString>;
|
|
9
11
|
}, z.core.$loose>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const neo4jListProjects:
|
|
12
|
-
connectionId: z.ZodString;
|
|
13
|
-
entityId: z.ZodString;
|
|
14
|
-
instanceId: z.ZodString;
|
|
15
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
16
|
-
generic_api_key: z.ZodString;
|
|
17
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const neo4jListProjects: AppAction<typeof Neo4jListProjectsInput, typeof Neo4jListProjectsOutput, typeof neo4j.credential>;
|
|
24
14
|
//#endregion
|
|
25
15
|
export { neo4jListProjects };
|
|
26
16
|
//# sourceMappingURL=list-projects.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neo4j } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-projects.d.ts
|
|
@@ -8,19 +10,7 @@ declare const Neo4jListProjectsOutput: z.ZodObject<{
|
|
|
8
10
|
name: z.ZodNullable<z.ZodString>;
|
|
9
11
|
}, z.core.$loose>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const neo4jListProjects:
|
|
12
|
-
connectionId: z.ZodString;
|
|
13
|
-
entityId: z.ZodString;
|
|
14
|
-
instanceId: z.ZodString;
|
|
15
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
16
|
-
generic_api_key: z.ZodString;
|
|
17
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const neo4jListProjects: AppAction<typeof Neo4jListProjectsInput, typeof Neo4jListProjectsOutput, typeof neo4j.credential>;
|
|
24
14
|
//#endregion
|
|
25
15
|
export { neo4jListProjects };
|
|
26
16
|
//# sourceMappingURL=list-projects.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Neo4jListProjectsInput = z.object({}).describe(\"Request model for listing Aura projects.\");\nconst Neo4jListProjects_ProjectSummarySchema = z.object({\n id: z.string().describe(\"The unique identifier of the Aura project.\").nullable(),\n name: z.string().describe(\"The name of the Aura project.\").nullable(),\n}).passthrough().describe(\"Summary of an Aura project with ID and name.\");\nexport const Neo4jListProjectsOutput = z.object({\n data: z.array(Neo4jListProjects_ProjectSummarySchema).describe(\"List of Aura projects (tenants) the authenticated user has access to.\"),\n}).passthrough().describe(\"Response model for listing Aura projects.\");\n\nexport const neo4jListProjects = action(\"NEO4J_LIST_PROJECTS\", {\n slug: \"neo4j-list-projects\",\n name: \"List Aura Projects\",\n description: \"List all Aura projects (tenants) available to the authenticated user. Returns a summary of each project including its unique ID and name. Use this action when you need to retrieve all Aura projects to identify which projects are accessible or to select a specific project for subsequent operations.\",\n input: Neo4jListProjectsInput,\n output: Neo4jListProjectsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neo4j } from \"../app\";\n\nexport const Neo4jListProjectsInput = z.object({}).describe(\"Request model for listing Aura projects.\");\nconst Neo4jListProjects_ProjectSummarySchema = z.object({\n id: z.string().describe(\"The unique identifier of the Aura project.\").nullable(),\n name: z.string().describe(\"The name of the Aura project.\").nullable(),\n}).passthrough().describe(\"Summary of an Aura project with ID and name.\");\nexport const Neo4jListProjectsOutput = z.object({\n data: z.array(Neo4jListProjects_ProjectSummarySchema).describe(\"List of Aura projects (tenants) the authenticated user has access to.\"),\n}).passthrough().describe(\"Response model for listing Aura projects.\");\n\nexport const neo4jListProjects: AppAction<\n typeof Neo4jListProjectsInput,\n typeof Neo4jListProjectsOutput,\n typeof neo4j.credential\n> = action(\"NEO4J_LIST_PROJECTS\", {\n slug: \"neo4j-list-projects\",\n name: \"List Aura Projects\",\n description: \"List all Aura projects (tenants) available to the authenticated user. Returns a summary of each project including its unique ID and name. Use this action when you need to retrieve all Aura projects to identify which projects are accessible or to select a specific project for subsequent operations.\",\n input: Neo4jListProjectsInput,\n output: Neo4jListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtG,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqC,EAAE,OAAO,EAC9C,MAAM,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,uEAAuE,EACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-snapshots.cjs","names":["z","action"],"sources":["../../src/actions/list-snapshots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Neo4jListSnapshotsInput = z.object({\n date: z.string().describe(\"An optional date parameter to list snapshots for a given day, in YYYY-MM-DD format. Defaults to today if not specified.\").optional(),\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance to list snapshots for.\"),\n}).describe(\"Request model for listing snapshots of a Neo4j Aura instance.\");\nconst Neo4jListSnapshots_SnapshotDataSchema = z.object({\n status: z.string().describe(\"The current status of the snapshot (e.g., available, creating, failed).\").nullable(),\n profile: z.string().describe(\"The profile/type of the Aura instance.\").nullable(),\n timestamp: z.string().describe(\"The timestamp when the snapshot was created, in ISO 8601 format.\").nullable(),\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance that this snapshot belongs to.\").nullable(),\n snapshot_id: z.string().describe(\"The unique identifier of the snapshot.\").nullable(),\n}).passthrough().describe(\"Data model for a single snapshot.\");\nexport const Neo4jListSnapshotsOutput = z.object({\n data: z.array(Neo4jListSnapshots_SnapshotDataSchema).describe(\"A list of snapshot objects containing instance ID, profile, snapshot ID, status, and timestamp.\"),\n}).passthrough().describe(\"Response model for listing snapshots of a Neo4j Aura instance.\");\n\nexport const neo4jListSnapshots = action(\"NEO4J_LIST_SNAPSHOTS\", {\n slug: \"neo4j-list-snapshots\",\n name: \"List Neo4j Aura Snapshots\",\n description: \"Lists available snapshots for a Neo4j Aura instance. Returns both scheduled and ad-hoc snapshots with their status and creation timestamps. Use when you need to retrieve information about available database backups or recovery points for a specific Aura instance. The date parameter can filter results to a specific day.\",\n input: Neo4jListSnapshotsInput,\n output: Neo4jListSnapshotsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-snapshots.cjs","names":["z","action"],"sources":["../../src/actions/list-snapshots.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neo4j } from \"../app\";\n\nexport const Neo4jListSnapshotsInput = z.object({\n date: z.string().describe(\"An optional date parameter to list snapshots for a given day, in YYYY-MM-DD format. Defaults to today if not specified.\").optional(),\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance to list snapshots for.\"),\n}).describe(\"Request model for listing snapshots of a Neo4j Aura instance.\");\nconst Neo4jListSnapshots_SnapshotDataSchema = z.object({\n status: z.string().describe(\"The current status of the snapshot (e.g., available, creating, failed).\").nullable(),\n profile: z.string().describe(\"The profile/type of the Aura instance.\").nullable(),\n timestamp: z.string().describe(\"The timestamp when the snapshot was created, in ISO 8601 format.\").nullable(),\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance that this snapshot belongs to.\").nullable(),\n snapshot_id: z.string().describe(\"The unique identifier of the snapshot.\").nullable(),\n}).passthrough().describe(\"Data model for a single snapshot.\");\nexport const Neo4jListSnapshotsOutput = z.object({\n data: z.array(Neo4jListSnapshots_SnapshotDataSchema).describe(\"A list of snapshot objects containing instance ID, profile, snapshot ID, status, and timestamp.\"),\n}).passthrough().describe(\"Response model for listing snapshots of a Neo4j Aura instance.\");\n\nexport const neo4jListSnapshots: AppAction<\n typeof Neo4jListSnapshotsInput,\n typeof Neo4jListSnapshotsOutput,\n typeof neo4j.credential\n> = action(\"NEO4J_LIST_SNAPSHOTS\", {\n slug: \"neo4j-list-snapshots\",\n name: \"List Neo4j Aura Snapshots\",\n description: \"Lists available snapshots for a Neo4j Aura instance. Returns both scheduled and ad-hoc snapshots with their status and creation timestamps. Use when you need to retrieve information about available database backups or recovery points for a specific Aura instance. The date parameter can filter results to a specific day.\",\n input: Neo4jListSnapshotsInput,\n output: Neo4jListSnapshotsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAC9J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;AAC5G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC7H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iGAAiG,EACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neo4j } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-snapshots.d.ts
|
|
@@ -14,22 +16,7 @@ declare const Neo4jListSnapshotsOutput: z.ZodObject<{
|
|
|
14
16
|
snapshot_id: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const neo4jListSnapshots:
|
|
18
|
-
instance_id: string;
|
|
19
|
-
date?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const neo4jListSnapshots: AppAction<typeof Neo4jListSnapshotsInput, typeof Neo4jListSnapshotsOutput, typeof neo4j.credential>;
|
|
33
20
|
//#endregion
|
|
34
21
|
export { neo4jListSnapshots };
|
|
35
22
|
//# sourceMappingURL=list-snapshots.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-snapshots.d.cts","names":[],"sources":["../../src/actions/list-snapshots.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-snapshots.d.cts","names":[],"sources":["../../src/actions/list-snapshots.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAWvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neo4j } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-snapshots.d.ts
|
|
@@ -14,22 +16,7 @@ declare const Neo4jListSnapshotsOutput: z.ZodObject<{
|
|
|
14
16
|
snapshot_id: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const neo4jListSnapshots:
|
|
18
|
-
instance_id: string;
|
|
19
|
-
date?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const neo4jListSnapshots: AppAction<typeof Neo4jListSnapshotsInput, typeof Neo4jListSnapshotsOutput, typeof neo4j.credential>;
|
|
33
20
|
//#endregion
|
|
34
21
|
export { neo4jListSnapshots };
|
|
35
22
|
//# sourceMappingURL=list-snapshots.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-snapshots.d.mts","names":[],"sources":["../../src/actions/list-snapshots.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-snapshots.d.mts","names":[],"sources":["../../src/actions/list-snapshots.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAWvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-snapshots.mjs","names":[],"sources":["../../src/actions/list-snapshots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Neo4jListSnapshotsInput = z.object({\n date: z.string().describe(\"An optional date parameter to list snapshots for a given day, in YYYY-MM-DD format. Defaults to today if not specified.\").optional(),\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance to list snapshots for.\"),\n}).describe(\"Request model for listing snapshots of a Neo4j Aura instance.\");\nconst Neo4jListSnapshots_SnapshotDataSchema = z.object({\n status: z.string().describe(\"The current status of the snapshot (e.g., available, creating, failed).\").nullable(),\n profile: z.string().describe(\"The profile/type of the Aura instance.\").nullable(),\n timestamp: z.string().describe(\"The timestamp when the snapshot was created, in ISO 8601 format.\").nullable(),\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance that this snapshot belongs to.\").nullable(),\n snapshot_id: z.string().describe(\"The unique identifier of the snapshot.\").nullable(),\n}).passthrough().describe(\"Data model for a single snapshot.\");\nexport const Neo4jListSnapshotsOutput = z.object({\n data: z.array(Neo4jListSnapshots_SnapshotDataSchema).describe(\"A list of snapshot objects containing instance ID, profile, snapshot ID, status, and timestamp.\"),\n}).passthrough().describe(\"Response model for listing snapshots of a Neo4j Aura instance.\");\n\nexport const neo4jListSnapshots = action(\"NEO4J_LIST_SNAPSHOTS\", {\n slug: \"neo4j-list-snapshots\",\n name: \"List Neo4j Aura Snapshots\",\n description: \"Lists available snapshots for a Neo4j Aura instance. Returns both scheduled and ad-hoc snapshots with their status and creation timestamps. Use when you need to retrieve information about available database backups or recovery points for a specific Aura instance. The date parameter can filter results to a specific day.\",\n input: Neo4jListSnapshotsInput,\n output: Neo4jListSnapshotsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-snapshots.mjs","names":[],"sources":["../../src/actions/list-snapshots.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neo4j } from \"../app\";\n\nexport const Neo4jListSnapshotsInput = z.object({\n date: z.string().describe(\"An optional date parameter to list snapshots for a given day, in YYYY-MM-DD format. Defaults to today if not specified.\").optional(),\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance to list snapshots for.\"),\n}).describe(\"Request model for listing snapshots of a Neo4j Aura instance.\");\nconst Neo4jListSnapshots_SnapshotDataSchema = z.object({\n status: z.string().describe(\"The current status of the snapshot (e.g., available, creating, failed).\").nullable(),\n profile: z.string().describe(\"The profile/type of the Aura instance.\").nullable(),\n timestamp: z.string().describe(\"The timestamp when the snapshot was created, in ISO 8601 format.\").nullable(),\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance that this snapshot belongs to.\").nullable(),\n snapshot_id: z.string().describe(\"The unique identifier of the snapshot.\").nullable(),\n}).passthrough().describe(\"Data model for a single snapshot.\");\nexport const Neo4jListSnapshotsOutput = z.object({\n data: z.array(Neo4jListSnapshots_SnapshotDataSchema).describe(\"A list of snapshot objects containing instance ID, profile, snapshot ID, status, and timestamp.\"),\n}).passthrough().describe(\"Response model for listing snapshots of a Neo4j Aura instance.\");\n\nexport const neo4jListSnapshots: AppAction<\n typeof Neo4jListSnapshotsInput,\n typeof Neo4jListSnapshotsOutput,\n typeof neo4j.credential\n> = action(\"NEO4J_LIST_SNAPSHOTS\", {\n slug: \"neo4j-list-snapshots\",\n name: \"List Neo4j Aura Snapshots\",\n description: \"Lists available snapshots for a Neo4j Aura instance. Returns both scheduled and ad-hoc snapshots with their status and creation timestamps. Use when you need to retrieve information about available database backups or recovery points for a specific Aura instance. The date parameter can filter results to a specific day.\",\n input: Neo4jListSnapshotsInput,\n output: Neo4jListSnapshotsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAC9J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;AAC5G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,wCAAwC,EAAE,OAAO;CACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC7H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO,EAC/C,MAAM,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iGAAiG,EACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pause-instance-beta.cjs","names":["z","action"],"sources":["../../src/actions/pause-instance-beta.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Neo4jPauseInstanceBetaInput = z.object({\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance to pause.\"),\n}).describe(\"Request model for pausing a Neo4j Aura instance.\");\nexport const Neo4jPauseInstanceBetaOutput = z.record(z.string(), z.unknown()).describe(\"Response model for pausing a Neo4j Aura instance.\");\n\nexport const neo4jPauseInstanceBeta = action(\"NEO4J_PAUSE_INSTANCE_BETA\", {\n slug: \"neo4j-pause-instance-beta\",\n name: \"Pause Neo4j Aura Instance\",\n description: \"Pauses a Neo4j Aura instance. Use when you need to temporarily stop an instance to reduce costs or perform maintenance. The instance can be resumed later using the ResumeInstance action. This action is asynchronous - the instance will be in a 'pausing' state until the operation completes. Note: this action cannot be performed if an ongoing operation (such as cloning) is in progress on the instance.\",\n input: Neo4jPauseInstanceBetaInput,\n output: Neo4jPauseInstanceBetaOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"pause-instance-beta.cjs","names":["z","action"],"sources":["../../src/actions/pause-instance-beta.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neo4j } from \"../app\";\n\nexport const Neo4jPauseInstanceBetaInput = z.object({\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance to pause.\"),\n}).describe(\"Request model for pausing a Neo4j Aura instance.\");\nexport const Neo4jPauseInstanceBetaOutput = z.record(z.string(), z.unknown()).describe(\"Response model for pausing a Neo4j Aura instance.\");\n\nexport const neo4jPauseInstanceBeta: AppAction<\n typeof Neo4jPauseInstanceBetaInput,\n typeof Neo4jPauseInstanceBetaOutput,\n typeof neo4j.credential\n> = action(\"NEO4J_PAUSE_INSTANCE_BETA\", {\n slug: \"neo4j-pause-instance-beta\",\n name: \"Pause Neo4j Aura Instance\",\n description: \"Pauses a Neo4j Aura instance. Use when you need to temporarily stop an instance to reduce costs or perform maintenance. The instance can be resumed later using the ResumeInstance action. This action is asynchronous - the instance will be in a 'pausing' state until the operation completes. Note: this action cannot be performed if an ongoing operation (such as cloning) is in progress on the instance.\",\n input: Neo4jPauseInstanceBetaInput,\n output: Neo4jPauseInstanceBetaOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EAC/F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,+BAA+BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE1I,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neo4j } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/pause-instance-beta.d.ts
|
|
@@ -5,21 +7,7 @@ declare const Neo4jPauseInstanceBetaInput: z.ZodObject<{
|
|
|
5
7
|
instance_id: z.ZodString;
|
|
6
8
|
}, z.core.$strip>;
|
|
7
9
|
declare const Neo4jPauseInstanceBetaOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
|
-
declare const neo4jPauseInstanceBeta:
|
|
9
|
-
instance_id: string;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
11
|
-
connectionId: z.ZodString;
|
|
12
|
-
entityId: z.ZodString;
|
|
13
|
-
instanceId: z.ZodString;
|
|
14
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
-
generic_api_key: z.ZodString;
|
|
16
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>;
|
|
10
|
+
declare const neo4jPauseInstanceBeta: AppAction<typeof Neo4jPauseInstanceBetaInput, typeof Neo4jPauseInstanceBetaOutput, typeof neo4j.credential>;
|
|
23
11
|
//#endregion
|
|
24
12
|
export { neo4jPauseInstanceBeta };
|
|
25
13
|
//# sourceMappingURL=pause-instance-beta.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pause-instance-beta.d.cts","names":[],"sources":["../../src/actions/pause-instance-beta.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"pause-instance-beta.d.cts","names":[],"sources":["../../src/actions/pause-instance-beta.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neo4j } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/pause-instance-beta.d.ts
|
|
@@ -5,21 +7,7 @@ declare const Neo4jPauseInstanceBetaInput: z.ZodObject<{
|
|
|
5
7
|
instance_id: z.ZodString;
|
|
6
8
|
}, z.core.$strip>;
|
|
7
9
|
declare const Neo4jPauseInstanceBetaOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
|
-
declare const neo4jPauseInstanceBeta:
|
|
9
|
-
instance_id: string;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
11
|
-
connectionId: z.ZodString;
|
|
12
|
-
entityId: z.ZodString;
|
|
13
|
-
instanceId: z.ZodString;
|
|
14
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
-
generic_api_key: z.ZodString;
|
|
16
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>;
|
|
10
|
+
declare const neo4jPauseInstanceBeta: AppAction<typeof Neo4jPauseInstanceBetaInput, typeof Neo4jPauseInstanceBetaOutput, typeof neo4j.credential>;
|
|
23
11
|
//#endregion
|
|
24
12
|
export { neo4jPauseInstanceBeta };
|
|
25
13
|
//# sourceMappingURL=pause-instance-beta.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pause-instance-beta.d.mts","names":[],"sources":["../../src/actions/pause-instance-beta.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"pause-instance-beta.d.mts","names":[],"sources":["../../src/actions/pause-instance-beta.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pause-instance-beta.mjs","names":[],"sources":["../../src/actions/pause-instance-beta.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Neo4jPauseInstanceBetaInput = z.object({\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance to pause.\"),\n}).describe(\"Request model for pausing a Neo4j Aura instance.\");\nexport const Neo4jPauseInstanceBetaOutput = z.record(z.string(), z.unknown()).describe(\"Response model for pausing a Neo4j Aura instance.\");\n\nexport const neo4jPauseInstanceBeta = action(\"NEO4J_PAUSE_INSTANCE_BETA\", {\n slug: \"neo4j-pause-instance-beta\",\n name: \"Pause Neo4j Aura Instance\",\n description: \"Pauses a Neo4j Aura instance. Use when you need to temporarily stop an instance to reduce costs or perform maintenance. The instance can be resumed later using the ResumeInstance action. This action is asynchronous - the instance will be in a 'pausing' state until the operation completes. Note: this action cannot be performed if an ongoing operation (such as cloning) is in progress on the instance.\",\n input: Neo4jPauseInstanceBetaInput,\n output: Neo4jPauseInstanceBetaOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"pause-instance-beta.mjs","names":[],"sources":["../../src/actions/pause-instance-beta.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neo4j } from \"../app\";\n\nexport const Neo4jPauseInstanceBetaInput = z.object({\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance to pause.\"),\n}).describe(\"Request model for pausing a Neo4j Aura instance.\");\nexport const Neo4jPauseInstanceBetaOutput = z.record(z.string(), z.unknown()).describe(\"Response model for pausing a Neo4j Aura instance.\");\n\nexport const neo4jPauseInstanceBeta: AppAction<\n typeof Neo4jPauseInstanceBetaInput,\n typeof Neo4jPauseInstanceBetaOutput,\n typeof neo4j.credential\n> = action(\"NEO4J_PAUSE_INSTANCE_BETA\", {\n slug: \"neo4j-pause-instance-beta\",\n name: \"Pause Neo4j Aura Instance\",\n description: \"Pauses a Neo4j Aura instance. Use when you need to temporarily stop an instance to reduce costs or perform maintenance. The instance can be resumed later using the ResumeInstance action. This action is asynchronous - the instance will be in a 'pausing' state until the operation completes. Note: this action cannot be performed if an ongoing operation (such as cloning) is in progress on the instance.\",\n input: Neo4jPauseInstanceBetaInput,\n output: Neo4jPauseInstanceBetaOutput,\n});\n"],"mappings":";;;AAWA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO,EAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EAC/F,CAAC,CAAC,CAAC,SAAS,kDAWH;CACP,QAX0C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAW7E;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore-snapshot.cjs","names":["z","action"],"sources":["../../src/actions/restore-snapshot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Neo4jRestoreSnapshotInput = z.object({\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance to restore.\"),\n snapshot_id: z.string().describe(\"The unique identifier of the snapshot to restore from.\"),\n}).describe(\"Request model for restoring a Neo4j Aura instance from a snapshot.\");\nexport const Neo4jRestoreSnapshotOutput = z.object({\n id: z.string().describe(\"The unique identifier of the instance.\").nullable().optional(),\n name: z.string().describe(\"The name of the instance.\").nullable().optional(),\n type: z.string().describe(\"The type of the instance.\").nullable().optional(),\n memory: z.string().describe(\"The memory configuration of the instance.\").nullable().optional(),\n region: z.string().describe(\"The region where the instance is hosted.\").nullable().optional(),\n status: z.string().describe(\"The current status of the instance (e.g., 'restoring', 'online').\").nullable().optional(),\n message: z.string().describe(\"A message describing the operation result.\").nullable().optional(),\n storage: z.string().describe(\"The storage configuration of the instance.\").nullable().optional(),\n tenant_id: z.string().describe(\"The tenant identifier.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the instance was created.\").nullable().optional(),\n cloud_provider: z.string().describe(\"The cloud provider hosting the instance.\").nullable().optional(),\n connection_url: z.string().describe(\"The connection URL for the instance.\").nullable().optional(),\n}).passthrough().describe(\"Response model for restoring a Neo4j Aura instance from a snapshot.\");\n\nexport const neo4jRestoreSnapshot = action(\"NEO4J_RESTORE_SNAPSHOT\", {\n slug: \"neo4j-restore-snapshot\",\n name: \"Restore Neo4j Aura Instance from Snapshot\",\n description: \"Restore a Neo4j Aura instance from a snapshot. Replaces all current data with the snapshot data. This action is irreversible — all data since the snapshot was taken will be permanently lost. Use this action when you need to recover an Aura instance to a previous state from a specific snapshot. This operation cannot be undone once initiated.\",\n input: Neo4jRestoreSnapshotInput,\n output: Neo4jRestoreSnapshotOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"restore-snapshot.cjs","names":["z","action"],"sources":["../../src/actions/restore-snapshot.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neo4j } from \"../app\";\n\nexport const Neo4jRestoreSnapshotInput = z.object({\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance to restore.\"),\n snapshot_id: z.string().describe(\"The unique identifier of the snapshot to restore from.\"),\n}).describe(\"Request model for restoring a Neo4j Aura instance from a snapshot.\");\nexport const Neo4jRestoreSnapshotOutput = z.object({\n id: z.string().describe(\"The unique identifier of the instance.\").nullable().optional(),\n name: z.string().describe(\"The name of the instance.\").nullable().optional(),\n type: z.string().describe(\"The type of the instance.\").nullable().optional(),\n memory: z.string().describe(\"The memory configuration of the instance.\").nullable().optional(),\n region: z.string().describe(\"The region where the instance is hosted.\").nullable().optional(),\n status: z.string().describe(\"The current status of the instance (e.g., 'restoring', 'online').\").nullable().optional(),\n message: z.string().describe(\"A message describing the operation result.\").nullable().optional(),\n storage: z.string().describe(\"The storage configuration of the instance.\").nullable().optional(),\n tenant_id: z.string().describe(\"The tenant identifier.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the instance was created.\").nullable().optional(),\n cloud_provider: z.string().describe(\"The cloud provider hosting the instance.\").nullable().optional(),\n connection_url: z.string().describe(\"The connection URL for the instance.\").nullable().optional(),\n}).passthrough().describe(\"Response model for restoring a Neo4j Aura instance from a snapshot.\");\n\nexport const neo4jRestoreSnapshot: AppAction<\n typeof Neo4jRestoreSnapshotInput,\n typeof Neo4jRestoreSnapshotOutput,\n typeof neo4j.credential\n> = action(\"NEO4J_RESTORE_SNAPSHOT\", {\n slug: \"neo4j-restore-snapshot\",\n name: \"Restore Neo4j Aura Instance from Snapshot\",\n description: \"Restore a Neo4j Aura instance from a snapshot. Replaces all current data with the snapshot data. This action is irreversible — all data since the snapshot was taken will be permanently lost. Use this action when you need to recover an Aura instance to a previous state from a specific snapshot. This operation cannot be undone once initiated.\",\n input: Neo4jRestoreSnapshotInput,\n output: Neo4jRestoreSnapshotOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC3F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neo4j } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/restore-snapshot.d.ts
|
|
@@ -19,22 +21,7 @@ declare const Neo4jRestoreSnapshotOutput: z.ZodObject<{
|
|
|
19
21
|
cloud_provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
connection_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const neo4jRestoreSnapshot:
|
|
23
|
-
instance_id: string;
|
|
24
|
-
snapshot_id: string;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const neo4jRestoreSnapshot: AppAction<typeof Neo4jRestoreSnapshotInput, typeof Neo4jRestoreSnapshotOutput, typeof neo4j.credential>;
|
|
38
25
|
//#endregion
|
|
39
26
|
export { neo4jRestoreSnapshot };
|
|
40
27
|
//# sourceMappingURL=restore-snapshot.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore-snapshot.d.cts","names":[],"sources":["../../src/actions/restore-snapshot.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"restore-snapshot.d.cts","names":[],"sources":["../../src/actions/restore-snapshot.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neo4j } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/restore-snapshot.d.ts
|
|
@@ -19,22 +21,7 @@ declare const Neo4jRestoreSnapshotOutput: z.ZodObject<{
|
|
|
19
21
|
cloud_provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
connection_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const neo4jRestoreSnapshot:
|
|
23
|
-
instance_id: string;
|
|
24
|
-
snapshot_id: string;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"neo4j", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const neo4jRestoreSnapshot: AppAction<typeof Neo4jRestoreSnapshotInput, typeof Neo4jRestoreSnapshotOutput, typeof neo4j.credential>;
|
|
38
25
|
//#endregion
|
|
39
26
|
export { neo4jRestoreSnapshot };
|
|
40
27
|
//# sourceMappingURL=restore-snapshot.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore-snapshot.d.mts","names":[],"sources":["../../src/actions/restore-snapshot.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"restore-snapshot.d.mts","names":[],"sources":["../../src/actions/restore-snapshot.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore-snapshot.mjs","names":[],"sources":["../../src/actions/restore-snapshot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Neo4jRestoreSnapshotInput = z.object({\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance to restore.\"),\n snapshot_id: z.string().describe(\"The unique identifier of the snapshot to restore from.\"),\n}).describe(\"Request model for restoring a Neo4j Aura instance from a snapshot.\");\nexport const Neo4jRestoreSnapshotOutput = z.object({\n id: z.string().describe(\"The unique identifier of the instance.\").nullable().optional(),\n name: z.string().describe(\"The name of the instance.\").nullable().optional(),\n type: z.string().describe(\"The type of the instance.\").nullable().optional(),\n memory: z.string().describe(\"The memory configuration of the instance.\").nullable().optional(),\n region: z.string().describe(\"The region where the instance is hosted.\").nullable().optional(),\n status: z.string().describe(\"The current status of the instance (e.g., 'restoring', 'online').\").nullable().optional(),\n message: z.string().describe(\"A message describing the operation result.\").nullable().optional(),\n storage: z.string().describe(\"The storage configuration of the instance.\").nullable().optional(),\n tenant_id: z.string().describe(\"The tenant identifier.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the instance was created.\").nullable().optional(),\n cloud_provider: z.string().describe(\"The cloud provider hosting the instance.\").nullable().optional(),\n connection_url: z.string().describe(\"The connection URL for the instance.\").nullable().optional(),\n}).passthrough().describe(\"Response model for restoring a Neo4j Aura instance from a snapshot.\");\n\nexport const neo4jRestoreSnapshot = action(\"NEO4J_RESTORE_SNAPSHOT\", {\n slug: \"neo4j-restore-snapshot\",\n name: \"Restore Neo4j Aura Instance from Snapshot\",\n description: \"Restore a Neo4j Aura instance from a snapshot. Replaces all current data with the snapshot data. This action is irreversible — all data since the snapshot was taken will be permanently lost. Use this action when you need to recover an Aura instance to a previous state from a specific snapshot. This operation cannot be undone once initiated.\",\n input: Neo4jRestoreSnapshotInput,\n output: Neo4jRestoreSnapshotOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"restore-snapshot.mjs","names":[],"sources":["../../src/actions/restore-snapshot.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neo4j } from \"../app\";\n\nexport const Neo4jRestoreSnapshotInput = z.object({\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance to restore.\"),\n snapshot_id: z.string().describe(\"The unique identifier of the snapshot to restore from.\"),\n}).describe(\"Request model for restoring a Neo4j Aura instance from a snapshot.\");\nexport const Neo4jRestoreSnapshotOutput = z.object({\n id: z.string().describe(\"The unique identifier of the instance.\").nullable().optional(),\n name: z.string().describe(\"The name of the instance.\").nullable().optional(),\n type: z.string().describe(\"The type of the instance.\").nullable().optional(),\n memory: z.string().describe(\"The memory configuration of the instance.\").nullable().optional(),\n region: z.string().describe(\"The region where the instance is hosted.\").nullable().optional(),\n status: z.string().describe(\"The current status of the instance (e.g., 'restoring', 'online').\").nullable().optional(),\n message: z.string().describe(\"A message describing the operation result.\").nullable().optional(),\n storage: z.string().describe(\"The storage configuration of the instance.\").nullable().optional(),\n tenant_id: z.string().describe(\"The tenant identifier.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the instance was created.\").nullable().optional(),\n cloud_provider: z.string().describe(\"The cloud provider hosting the instance.\").nullable().optional(),\n connection_url: z.string().describe(\"The connection URL for the instance.\").nullable().optional(),\n}).passthrough().describe(\"Response model for restoring a Neo4j Aura instance from a snapshot.\");\n\nexport const neo4jRestoreSnapshot: AppAction<\n typeof Neo4jRestoreSnapshotInput,\n typeof Neo4jRestoreSnapshotOutput,\n typeof neo4j.credential\n> = action(\"NEO4J_RESTORE_SNAPSHOT\", {\n slug: \"neo4j-restore-snapshot\",\n name: \"Restore Neo4j Aura Instance from Snapshot\",\n description: \"Restore a Neo4j Aura instance from a snapshot. Replaces all current data with the snapshot data. This action is irreversible — all data since the snapshot was taken will be permanently lost. Use this action when you need to recover an Aura instance to a previous state from a specific snapshot. This operation cannot be undone once initiated.\",\n input: Neo4jRestoreSnapshotInput,\n output: Neo4jRestoreSnapshotOutput,\n});\n"],"mappings":";;;AAyBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BuC,EAAE,OAAO;EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC3F,CAAC,CAAC,CAAC,SAAS,oEAwBH;CACP,QAxBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAWhB;AACV,CAAC"}
|