@keystrokehq/neo4j 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/aggregate-directors.cjs +30 -0
- package/dist/actions/aggregate-directors.cjs.map +1 -0
- package/dist/actions/aggregate-directors.d.cts +9 -0
- package/dist/actions/aggregate-directors.d.cts.map +1 -0
- package/dist/actions/aggregate-directors.d.mts +9 -0
- package/dist/actions/aggregate-directors.d.mts.map +1 -0
- package/dist/actions/aggregate-directors.mjs +29 -0
- package/dist/actions/aggregate-directors.mjs.map +1 -0
- package/dist/actions/create-instance-beta.cjs +55 -0
- package/dist/actions/create-instance-beta.cjs.map +1 -0
- package/dist/actions/create-instance-beta.d.cts +9 -0
- package/dist/actions/create-instance-beta.d.cts.map +1 -0
- package/dist/actions/create-instance-beta.d.mts +9 -0
- package/dist/actions/create-instance-beta.d.mts.map +1 -0
- package/dist/actions/create-instance-beta.mjs +54 -0
- package/dist/actions/create-instance-beta.mjs.map +1 -0
- package/dist/actions/create-snapshot.cjs +20 -0
- package/dist/actions/create-snapshot.cjs.map +1 -0
- package/dist/actions/create-snapshot.d.cts +9 -0
- package/dist/actions/create-snapshot.d.cts.map +1 -0
- package/dist/actions/create-snapshot.d.mts +9 -0
- package/dist/actions/create-snapshot.d.mts.map +1 -0
- package/dist/actions/create-snapshot.mjs +17 -0
- package/dist/actions/create-snapshot.mjs.map +1 -0
- package/dist/actions/estimate-gds-session-size.cjs +27 -0
- package/dist/actions/estimate-gds-session-size.cjs.map +1 -0
- package/dist/actions/estimate-gds-session-size.d.cts +9 -0
- package/dist/actions/estimate-gds-session-size.d.cts.map +1 -0
- package/dist/actions/estimate-gds-session-size.d.mts +9 -0
- package/dist/actions/estimate-gds-session-size.d.mts.map +1 -0
- package/dist/actions/estimate-gds-session-size.mjs +26 -0
- package/dist/actions/estimate-gds-session-size.mjs.map +1 -0
- package/dist/actions/get-instance-beta.cjs +63 -0
- package/dist/actions/get-instance-beta.cjs.map +1 -0
- package/dist/actions/get-instance-beta.d.cts +9 -0
- package/dist/actions/get-instance-beta.d.cts.map +1 -0
- package/dist/actions/get-instance-beta.d.mts +9 -0
- package/dist/actions/get-instance-beta.d.mts.map +1 -0
- package/dist/actions/get-instance-beta.mjs +62 -0
- package/dist/actions/get-instance-beta.mjs.map +1 -0
- package/dist/actions/get-organization-user.cjs +33 -0
- package/dist/actions/get-organization-user.cjs.map +1 -0
- package/dist/actions/get-organization-user.d.cts +9 -0
- package/dist/actions/get-organization-user.d.cts.map +1 -0
- package/dist/actions/get-organization-user.d.mts +9 -0
- package/dist/actions/get-organization-user.d.mts.map +1 -0
- package/dist/actions/get-organization-user.mjs +32 -0
- package/dist/actions/get-organization-user.mjs.map +1 -0
- package/dist/actions/get-project-beta.cjs +30 -0
- package/dist/actions/get-project-beta.cjs.map +1 -0
- package/dist/actions/get-project-beta.d.cts +9 -0
- package/dist/actions/get-project-beta.d.cts.map +1 -0
- package/dist/actions/get-project-beta.d.mts +9 -0
- package/dist/actions/get-project-beta.d.mts.map +1 -0
- package/dist/actions/get-project-beta.mjs +29 -0
- package/dist/actions/get-project-beta.mjs.map +1 -0
- package/dist/actions/get-project.cjs +30 -0
- package/dist/actions/get-project.cjs.map +1 -0
- package/dist/actions/get-project.d.cts +9 -0
- package/dist/actions/get-project.d.cts.map +1 -0
- package/dist/actions/get-project.d.mts +9 -0
- package/dist/actions/get-project.d.mts.map +1 -0
- package/dist/actions/get-project.mjs +29 -0
- package/dist/actions/get-project.mjs.map +1 -0
- package/dist/actions/get-snapshot.cjs +26 -0
- package/dist/actions/get-snapshot.cjs.map +1 -0
- package/dist/actions/get-snapshot.d.cts +9 -0
- package/dist/actions/get-snapshot.d.cts.map +1 -0
- package/dist/actions/get-snapshot.d.mts +9 -0
- package/dist/actions/get-snapshot.d.mts.map +1 -0
- package/dist/actions/get-snapshot.mjs +25 -0
- package/dist/actions/get-snapshot.mjs.map +1 -0
- package/dist/actions/index.cjs +43 -0
- package/dist/actions/index.d.cts +22 -0
- package/dist/actions/index.d.mts +22 -0
- package/dist/actions/index.mjs +22 -0
- package/dist/actions/list-agents.cjs +40 -0
- package/dist/actions/list-agents.cjs.map +1 -0
- package/dist/actions/list-agents.d.cts +9 -0
- package/dist/actions/list-agents.d.cts.map +1 -0
- package/dist/actions/list-agents.d.mts +9 -0
- package/dist/actions/list-agents.d.mts.map +1 -0
- package/dist/actions/list-agents.mjs +39 -0
- package/dist/actions/list-agents.mjs.map +1 -0
- package/dist/actions/list-gds-sessions.cjs +37 -0
- package/dist/actions/list-gds-sessions.cjs.map +1 -0
- package/dist/actions/list-gds-sessions.d.cts +9 -0
- package/dist/actions/list-gds-sessions.d.cts.map +1 -0
- package/dist/actions/list-gds-sessions.d.mts +9 -0
- package/dist/actions/list-gds-sessions.d.mts.map +1 -0
- package/dist/actions/list-gds-sessions.mjs +36 -0
- package/dist/actions/list-gds-sessions.mjs.map +1 -0
- package/dist/actions/list-instances-beta.cjs +23 -0
- package/dist/actions/list-instances-beta.cjs.map +1 -0
- package/dist/actions/list-instances-beta.d.cts +9 -0
- package/dist/actions/list-instances-beta.d.cts.map +1 -0
- package/dist/actions/list-instances-beta.d.mts +9 -0
- package/dist/actions/list-instances-beta.d.mts.map +1 -0
- package/dist/actions/list-instances-beta.mjs +22 -0
- package/dist/actions/list-instances-beta.mjs.map +1 -0
- package/dist/actions/list-ip-filters.cjs +31 -0
- package/dist/actions/list-ip-filters.cjs.map +1 -0
- package/dist/actions/list-ip-filters.d.cts +9 -0
- package/dist/actions/list-ip-filters.d.cts.map +1 -0
- package/dist/actions/list-ip-filters.d.mts +9 -0
- package/dist/actions/list-ip-filters.d.mts.map +1 -0
- package/dist/actions/list-ip-filters.mjs +30 -0
- package/dist/actions/list-ip-filters.mjs.map +1 -0
- package/dist/actions/list-project-users.cjs +24 -0
- package/dist/actions/list-project-users.cjs.map +1 -0
- package/dist/actions/list-project-users.d.cts +9 -0
- package/dist/actions/list-project-users.d.cts.map +1 -0
- package/dist/actions/list-project-users.d.mts +9 -0
- package/dist/actions/list-project-users.d.mts.map +1 -0
- package/dist/actions/list-project-users.mjs +23 -0
- package/dist/actions/list-project-users.mjs.map +1 -0
- package/dist/actions/list-projects.cjs +20 -0
- package/dist/actions/list-projects.cjs.map +1 -0
- package/dist/actions/list-projects.d.cts +9 -0
- package/dist/actions/list-projects.d.cts.map +1 -0
- package/dist/actions/list-projects.d.mts +9 -0
- package/dist/actions/list-projects.d.mts.map +1 -0
- package/dist/actions/list-projects.mjs +19 -0
- package/dist/actions/list-projects.mjs.map +1 -0
- package/dist/actions/list-snapshots.cjs +26 -0
- package/dist/actions/list-snapshots.cjs.map +1 -0
- package/dist/actions/list-snapshots.d.cts +9 -0
- package/dist/actions/list-snapshots.d.cts.map +1 -0
- package/dist/actions/list-snapshots.d.mts +9 -0
- package/dist/actions/list-snapshots.d.mts.map +1 -0
- package/dist/actions/list-snapshots.mjs +25 -0
- package/dist/actions/list-snapshots.mjs.map +1 -0
- package/dist/actions/pause-instance-beta.cjs +16 -0
- package/dist/actions/pause-instance-beta.cjs.map +1 -0
- package/dist/actions/pause-instance-beta.d.cts +9 -0
- package/dist/actions/pause-instance-beta.d.cts.map +1 -0
- package/dist/actions/pause-instance-beta.d.mts +9 -0
- package/dist/actions/pause-instance-beta.d.mts.map +1 -0
- package/dist/actions/pause-instance-beta.mjs +13 -0
- package/dist/actions/pause-instance-beta.mjs.map +1 -0
- package/dist/actions/restore-snapshot.cjs +32 -0
- package/dist/actions/restore-snapshot.cjs.map +1 -0
- package/dist/actions/restore-snapshot.d.cts +9 -0
- package/dist/actions/restore-snapshot.d.cts.map +1 -0
- package/dist/actions/restore-snapshot.d.mts +9 -0
- package/dist/actions/restore-snapshot.d.mts.map +1 -0
- package/dist/actions/restore-snapshot.mjs +29 -0
- package/dist/actions/restore-snapshot.mjs.map +1 -0
- package/dist/actions/update-instance-beta.cjs +42 -0
- package/dist/actions/update-instance-beta.cjs.map +1 -0
- package/dist/actions/update-instance-beta.d.cts +9 -0
- package/dist/actions/update-instance-beta.d.cts.map +1 -0
- package/dist/actions/update-instance-beta.d.mts +9 -0
- package/dist/actions/update-instance-beta.d.mts.map +1 -0
- package/dist/actions/update-instance-beta.mjs +41 -0
- package/dist/actions/update-instance-beta.mjs.map +1 -0
- package/dist/actions/update-instance.cjs +77 -0
- package/dist/actions/update-instance.cjs.map +1 -0
- package/dist/actions/update-instance.d.cts +9 -0
- package/dist/actions/update-instance.d.cts.map +1 -0
- package/dist/actions/update-instance.d.mts +9 -0
- package/dist/actions/update-instance.d.mts.map +1 -0
- package/dist/actions/update-instance.mjs +76 -0
- package/dist/actions/update-instance.mjs.map +1 -0
- package/dist/actions/update-ip-filter.cjs +47 -0
- package/dist/actions/update-ip-filter.cjs.map +1 -0
- package/dist/actions/update-ip-filter.d.cts +9 -0
- package/dist/actions/update-ip-filter.d.cts.map +1 -0
- package/dist/actions/update-ip-filter.d.mts +9 -0
- package/dist/actions/update-ip-filter.d.mts.map +1 -0
- package/dist/actions/update-ip-filter.mjs +46 -0
- package/dist/actions/update-ip-filter.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 +48 -0
- package/dist/index.d.cts +24 -0
- package/dist/index.d.mts +24 -0
- package/dist/index.mjs +25 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-ip-filters.d.cts","names":[],"sources":["../../src/actions/list-ip-filters.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEyC;AAAA,cAgBpE,wBAAA,EAA0B,CAAA,CAAE,UAEyC;AAAA,cAErE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-ip-filters.d.ts
|
|
4
|
+
declare const Neo4jListIpFiltersInput: z.ZodTypeAny;
|
|
5
|
+
declare const Neo4jListIpFiltersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neo4jListIpFilters: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neo4jListIpFilters };
|
|
9
|
+
//# sourceMappingURL=list-ip-filters.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-ip-filters.d.mts","names":[],"sources":["../../src/actions/list-ip-filters.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEyC;AAAA,cAgBpE,wBAAA,EAA0B,CAAA,CAAE,UAEyC;AAAA,cAErE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-ip-filters.ts
|
|
4
|
+
const Neo4jListIpFiltersInput = z.object({ organization_id: z.string().describe("The unique identifier of the organization whose IP filters to list.") }).describe("Request model for listing IP filters of a Neo4j Aura organization.");
|
|
5
|
+
const Neo4jListIpFilters_FilteredEntitiesSchema = z.object({
|
|
6
|
+
projects: z.array(z.string()).describe("List of project IDs that are filtered by this IP filter rule.").nullable().optional(),
|
|
7
|
+
instances: z.array(z.string()).describe("List of instance IDs that are filtered by this IP filter rule.").nullable().optional(),
|
|
8
|
+
organizations: z.array(z.string()).describe("List of organization IDs that are filtered by this IP filter rule.").nullable().optional()
|
|
9
|
+
}).describe("Container for entities that are filtered by an IP filter rule.");
|
|
10
|
+
const Neo4jListIpFilters_IpFilterSchema = z.object({
|
|
11
|
+
id: z.string().describe("The unique identifier of the IP filter."),
|
|
12
|
+
name: z.string().describe("The name of the IP filter."),
|
|
13
|
+
allow_list: z.array(z.string()).describe("A list of CIDR blocks that are allowed by the filter.").nullable().optional(),
|
|
14
|
+
updated_at: z.string().describe("The date and time when the IP filter was last updated, in ISO 8601 format.").nullable().optional(),
|
|
15
|
+
description: z.string().describe("The description of the IP filter.").nullable().optional(),
|
|
16
|
+
organization_id: z.string().describe("The unique identifier of the organization that owns the IP filter."),
|
|
17
|
+
filtered_entities: Neo4jListIpFilters_FilteredEntitiesSchema.nullable().optional(),
|
|
18
|
+
filtering_disabled: z.boolean().describe("Indicates whether the IP filter is disabled. When disabled, all traffic is allowed regardless of the allow list.")
|
|
19
|
+
}).describe("Describes an IP filter for an organization.");
|
|
20
|
+
const neo4jListIpFilters = action("NEO4J_LIST_IP_FILTERS", {
|
|
21
|
+
slug: "neo4j-list-ip-filters",
|
|
22
|
+
name: "List IP Filters",
|
|
23
|
+
description: "Returns a list of IP filters configured for a Neo4j Aura organization. Use this action when you need to retrieve all IP filters to check which CIDR blocks are allowed or blocked, or to determine which resources are protected by IP filtering.",
|
|
24
|
+
input: Neo4jListIpFiltersInput,
|
|
25
|
+
output: z.object({ data: z.array(Neo4jListIpFilters_IpFilterSchema).describe("The list of IP filters configured for the organization.") }).describe("Response model for listing IP filters of a Neo4j Aura organization.")
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { neo4jListIpFilters };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=list-ip-filters.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-ip-filters.mjs","names":[],"sources":["../../src/actions/list-ip-filters.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Neo4jListIpFiltersInput: z.ZodTypeAny = z.object({\n organization_id: z.string().describe(\"The unique identifier of the organization whose IP filters to list.\"),\n}).describe(\"Request model for listing IP filters of a Neo4j Aura organization.\");\nconst Neo4jListIpFilters_FilteredEntitiesSchema: z.ZodTypeAny = z.object({\n projects: z.array(z.string()).describe(\"List of project IDs that are filtered by this IP filter rule.\").nullable().optional(),\n instances: z.array(z.string()).describe(\"List of instance IDs that are filtered by this IP filter rule.\").nullable().optional(),\n organizations: z.array(z.string()).describe(\"List of organization IDs that are filtered by this IP filter rule.\").nullable().optional(),\n}).describe(\"Container for entities that are filtered by an IP filter rule.\");\nconst Neo4jListIpFilters_IpFilterSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the IP filter.\"),\n name: z.string().describe(\"The name of the IP filter.\"),\n allow_list: z.array(z.string()).describe(\"A list of CIDR blocks that are allowed by the filter.\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time when the IP filter was last updated, in ISO 8601 format.\").nullable().optional(),\n description: z.string().describe(\"The description of the IP filter.\").nullable().optional(),\n organization_id: z.string().describe(\"The unique identifier of the organization that owns the IP filter.\"),\n filtered_entities: Neo4jListIpFilters_FilteredEntitiesSchema.nullable().optional(),\n filtering_disabled: z.boolean().describe(\"Indicates whether the IP filter is disabled. When disabled, all traffic is allowed regardless of the allow list.\"),\n}).describe(\"Describes an IP filter for an organization.\");\nexport const Neo4jListIpFiltersOutput: z.ZodTypeAny = z.object({\n data: z.array(Neo4jListIpFilters_IpFilterSchema).describe(\"The list of IP filters configured for the organization.\"),\n}).describe(\"Response model for listing IP filters of a Neo4j Aura organization.\");\n\nexport const neo4jListIpFilters = action(\"NEO4J_LIST_IP_FILTERS\", {\n slug: \"neo4j-list-ip-filters\",\n name: \"List IP Filters\",\n description: \"Returns a list of IP filters configured for a Neo4j Aura organization. Use this action when you need to retrieve all IP filters to check which CIDR blocks are allowed or blocked, or to determine which resources are protected by IP filtering.\",\n input: Neo4jListIpFiltersInput,\n output: Neo4jListIpFiltersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,EAC5D,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EAC5G,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,4CAA0D,EAAE,OAAO;CACvE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,oCAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACzG,mBAAmB,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACjF,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH;AAC7J,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAKzD,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,MAAM,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,yDAAyD,EACrH,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-project-users.ts
|
|
4
|
+
const Neo4jListProjectUsersInput = zod.z.object({
|
|
5
|
+
project_id: zod.z.string().describe("The unique identifier of the project"),
|
|
6
|
+
organization_id: zod.z.string().describe("The unique identifier of the organization")
|
|
7
|
+
}).describe("Request model for listing users in a Neo4j Aura project.");
|
|
8
|
+
const Neo4jListProjectUsers_ProjectUserSchema = zod.z.object({
|
|
9
|
+
email: zod.z.string().describe("Email address of the user"),
|
|
10
|
+
user_id: zod.z.string().describe("The unique identifier of the user"),
|
|
11
|
+
project_roles: zod.z.array(zod.z.string()).describe("Roles assigned to the user within the project (e.g., 'viewer', 'editor', 'admin')")
|
|
12
|
+
}).describe("Represents a user within an Aura project.");
|
|
13
|
+
const Neo4jListProjectUsersOutput = zod.z.object({ data: zod.z.array(Neo4jListProjectUsers_ProjectUserSchema).describe("List of users in the project") }).describe("Response model for listing users in a Neo4j Aura project.");
|
|
14
|
+
const neo4jListProjectUsers = require_action.action("NEO4J_LIST_PROJECT_USERS", {
|
|
15
|
+
slug: "neo4j-list-project-users",
|
|
16
|
+
name: "List Project Users",
|
|
17
|
+
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.",
|
|
18
|
+
input: Neo4jListProjectUsersInput,
|
|
19
|
+
output: Neo4jListProjectUsersOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.neo4jListProjectUsers = neo4jListProjectUsers;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=list-project-users.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the user\"),\n user_id: z.string().describe(\"The unique identifier of the user\"),\n project_roles: z.array(z.string()).describe(\"Roles assigned to the user within the project (e.g., 'viewer', 'editor', 'admin')\"),\n}).describe(\"Represents a user within an Aura project.\");\nexport const Neo4jListProjectUsersOutput: z.ZodTypeAny = z.object({\n data: z.array(Neo4jListProjectUsers_ProjectUserSchema).describe(\"List of users in the project\"),\n}).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":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,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,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAChE,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mFAAmF;AACjI,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,MAAMA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8BAA8B,EAChG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,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/list-project-users.d.ts
|
|
4
|
+
declare const Neo4jListProjectUsersInput: z.ZodTypeAny;
|
|
5
|
+
declare const Neo4jListProjectUsersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neo4jListProjectUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neo4jListProjectUsers };
|
|
9
|
+
//# sourceMappingURL=list-project-users.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-project-users.d.cts","names":[],"sources":["../../src/actions/list-project-users.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAG4B;AAAA,cAM1D,2BAAA,EAA6B,CAAA,CAAE,UAE4B;AAAA,cAE3D,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-project-users.d.ts
|
|
4
|
+
declare const Neo4jListProjectUsersInput: z.ZodTypeAny;
|
|
5
|
+
declare const Neo4jListProjectUsersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neo4jListProjectUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neo4jListProjectUsers };
|
|
9
|
+
//# sourceMappingURL=list-project-users.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-project-users.d.mts","names":[],"sources":["../../src/actions/list-project-users.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAG4B;AAAA,cAM1D,2BAAA,EAA6B,CAAA,CAAE,UAE4B;AAAA,cAE3D,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-project-users.ts
|
|
4
|
+
const Neo4jListProjectUsersInput = z.object({
|
|
5
|
+
project_id: z.string().describe("The unique identifier of the project"),
|
|
6
|
+
organization_id: z.string().describe("The unique identifier of the organization")
|
|
7
|
+
}).describe("Request model for listing users in a Neo4j Aura project.");
|
|
8
|
+
const Neo4jListProjectUsers_ProjectUserSchema = z.object({
|
|
9
|
+
email: z.string().describe("Email address of the user"),
|
|
10
|
+
user_id: z.string().describe("The unique identifier of the user"),
|
|
11
|
+
project_roles: z.array(z.string()).describe("Roles assigned to the user within the project (e.g., 'viewer', 'editor', 'admin')")
|
|
12
|
+
}).describe("Represents a user within an Aura project.");
|
|
13
|
+
const neo4jListProjectUsers = action("NEO4J_LIST_PROJECT_USERS", {
|
|
14
|
+
slug: "neo4j-list-project-users",
|
|
15
|
+
name: "List Project Users",
|
|
16
|
+
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.",
|
|
17
|
+
input: Neo4jListProjectUsersInput,
|
|
18
|
+
output: z.object({ data: z.array(Neo4jListProjectUsers_ProjectUserSchema).describe("List of users in the project") }).describe("Response model for listing users in a Neo4j Aura project.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { neo4jListProjectUsers };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=list-project-users.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the user\"),\n user_id: z.string().describe(\"The unique identifier of the user\"),\n project_roles: z.array(z.string()).describe(\"Roles assigned to the user within the project (e.g., 'viewer', 'editor', 'admin')\"),\n}).describe(\"Represents a user within an Aura project.\");\nexport const Neo4jListProjectUsersOutput: z.ZodTypeAny = z.object({\n data: z.array(Neo4jListProjectUsers_ProjectUserSchema).describe(\"List of users in the project\"),\n}).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":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAClF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,0CAAwD,EAAE,OAAO;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAChE,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mFAAmF;AACjI,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAKvD,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,MAAM,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8BAA8B,EAChG,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-projects.ts
|
|
4
|
+
const Neo4jListProjectsInput = zod.z.object({}).describe("Request model for listing Aura projects.");
|
|
5
|
+
const Neo4jListProjects_ProjectSummarySchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("The unique identifier of the Aura project."),
|
|
7
|
+
name: zod.z.string().describe("The name of the Aura project.")
|
|
8
|
+
}).describe("Summary of an Aura project with ID and name.");
|
|
9
|
+
const Neo4jListProjectsOutput = zod.z.object({ data: zod.z.array(Neo4jListProjects_ProjectSummarySchema).describe("List of Aura projects (tenants) the authenticated user has access to.") }).describe("Response model for listing Aura projects.");
|
|
10
|
+
const neo4jListProjects = require_action.action("NEO4J_LIST_PROJECTS", {
|
|
11
|
+
slug: "neo4j-list-projects",
|
|
12
|
+
name: "List Aura Projects",
|
|
13
|
+
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.",
|
|
14
|
+
input: Neo4jListProjectsInput,
|
|
15
|
+
output: Neo4jListProjectsOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.neo4jListProjects = neo4jListProjects;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=list-projects.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = z.object({}).describe(\"Request model for listing Aura projects.\");\nconst Neo4jListProjects_ProjectSummarySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the Aura project.\"),\n name: z.string().describe(\"The name of the Aura project.\"),\n}).describe(\"Summary of an Aura project with ID and name.\");\nexport const Neo4jListProjectsOutput: z.ZodTypeAny = z.object({\n data: z.array(Neo4jListProjects_ProjectSummarySchema).describe(\"List of Aura projects (tenants) the authenticated user has access to.\"),\n}).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":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACpH,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC3D,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,uEAAuE,EACxI,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,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/list-projects.d.ts
|
|
4
|
+
declare const Neo4jListProjectsInput: z.ZodTypeAny;
|
|
5
|
+
declare const Neo4jListProjectsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neo4jListProjects: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neo4jListProjects };
|
|
9
|
+
//# sourceMappingURL=list-projects.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAA8E;AAAA,cAKxG,uBAAA,EAAyB,CAAA,CAAE,UAEgB;AAAA,cAE3C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-projects.d.ts
|
|
4
|
+
declare const Neo4jListProjectsInput: z.ZodTypeAny;
|
|
5
|
+
declare const Neo4jListProjectsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neo4jListProjects: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neo4jListProjects };
|
|
9
|
+
//# sourceMappingURL=list-projects.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAA8E;AAAA,cAKxG,uBAAA,EAAyB,CAAA,CAAE,UAEgB;AAAA,cAE3C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-projects.ts
|
|
4
|
+
const Neo4jListProjectsInput = z.object({}).describe("Request model for listing Aura projects.");
|
|
5
|
+
const Neo4jListProjects_ProjectSummarySchema = z.object({
|
|
6
|
+
id: z.string().describe("The unique identifier of the Aura project."),
|
|
7
|
+
name: z.string().describe("The name of the Aura project.")
|
|
8
|
+
}).describe("Summary of an Aura project with ID and name.");
|
|
9
|
+
const neo4jListProjects = action("NEO4J_LIST_PROJECTS", {
|
|
10
|
+
slug: "neo4j-list-projects",
|
|
11
|
+
name: "List Aura Projects",
|
|
12
|
+
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.",
|
|
13
|
+
input: Neo4jListProjectsInput,
|
|
14
|
+
output: z.object({ data: z.array(Neo4jListProjects_ProjectSummarySchema).describe("List of Aura projects (tenants) the authenticated user has access to.") }).describe("Response model for listing Aura projects.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { neo4jListProjects };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=list-projects.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = z.object({}).describe(\"Request model for listing Aura projects.\");\nconst Neo4jListProjects_ProjectSummarySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the Aura project.\"),\n name: z.string().describe(\"The name of the Aura project.\"),\n}).describe(\"Summary of an Aura project with ID and name.\");\nexport const Neo4jListProjectsOutput: z.ZodTypeAny = z.object({\n data: z.array(Neo4jListProjects_ProjectSummarySchema).describe(\"List of Aura projects (tenants) the authenticated user has access to.\"),\n}).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":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACpH,MAAM,yCAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC3D,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAK1D,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,MAAM,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,uEAAuE,EACxI,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-snapshots.ts
|
|
4
|
+
const Neo4jListSnapshotsInput = zod.z.object({
|
|
5
|
+
date: zod.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(),
|
|
6
|
+
instance_id: zod.z.string().describe("The unique identifier of the Neo4j Aura instance to list snapshots for.")
|
|
7
|
+
}).describe("Request model for listing snapshots of a Neo4j Aura instance.");
|
|
8
|
+
const Neo4jListSnapshots_SnapshotDataSchema = zod.z.object({
|
|
9
|
+
status: zod.z.string().describe("The current status of the snapshot (e.g., available, creating, failed)."),
|
|
10
|
+
profile: zod.z.string().describe("The profile/type of the Aura instance."),
|
|
11
|
+
timestamp: zod.z.string().describe("The timestamp when the snapshot was created, in ISO 8601 format."),
|
|
12
|
+
instance_id: zod.z.string().describe("The unique identifier of the Neo4j Aura instance that this snapshot belongs to."),
|
|
13
|
+
snapshot_id: zod.z.string().describe("The unique identifier of the snapshot.")
|
|
14
|
+
}).describe("Data model for a single snapshot.");
|
|
15
|
+
const Neo4jListSnapshotsOutput = zod.z.object({ data: zod.z.array(Neo4jListSnapshots_SnapshotDataSchema).describe("A list of snapshot objects containing instance ID, profile, snapshot ID, status, and timestamp.") }).describe("Response model for listing snapshots of a Neo4j Aura instance.");
|
|
16
|
+
const neo4jListSnapshots = require_action.action("NEO4J_LIST_SNAPSHOTS", {
|
|
17
|
+
slug: "neo4j-list-snapshots",
|
|
18
|
+
name: "List Neo4j Aura Snapshots",
|
|
19
|
+
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.",
|
|
20
|
+
input: Neo4jListSnapshotsInput,
|
|
21
|
+
output: Neo4jListSnapshotsOutput
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
exports.neo4jListSnapshots = neo4jListSnapshots;
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=list-snapshots.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n status: z.string().describe(\"The current status of the snapshot (e.g., available, creating, failed).\"),\n profile: z.string().describe(\"The profile/type of the Aura instance.\"),\n timestamp: z.string().describe(\"The timestamp when the snapshot was created, in ISO 8601 format.\"),\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance that this snapshot belongs to.\"),\n snapshot_id: z.string().describe(\"The unique identifier of the snapshot.\"),\n}).describe(\"Data model for a single snapshot.\");\nexport const Neo4jListSnapshotsOutput: z.ZodTypeAny = z.object({\n data: z.array(Neo4jListSnapshots_SnapshotDataSchema).describe(\"A list of snapshot objects containing instance ID, profile, snapshot ID, status, and timestamp.\"),\n}).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":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,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,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAClH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC3E,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,MAAMA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iGAAiG,EACjK,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,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/list-snapshots.d.ts
|
|
4
|
+
declare const Neo4jListSnapshotsInput: z.ZodTypeAny;
|
|
5
|
+
declare const Neo4jListSnapshotsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neo4jListSnapshots: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neo4jListSnapshots };
|
|
9
|
+
//# sourceMappingURL=list-snapshots.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-snapshots.d.cts","names":[],"sources":["../../src/actions/list-snapshots.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGoC;AAAA,cAQ/D,wBAAA,EAA0B,CAAA,CAAE,UAEoC;AAAA,cAEhE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-snapshots.d.ts
|
|
4
|
+
declare const Neo4jListSnapshotsInput: z.ZodTypeAny;
|
|
5
|
+
declare const Neo4jListSnapshotsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neo4jListSnapshots: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neo4jListSnapshots };
|
|
9
|
+
//# sourceMappingURL=list-snapshots.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-snapshots.d.mts","names":[],"sources":["../../src/actions/list-snapshots.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGoC;AAAA,cAQ/D,wBAAA,EAA0B,CAAA,CAAE,UAEoC;AAAA,cAEhE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-snapshots.ts
|
|
4
|
+
const Neo4jListSnapshotsInput = z.object({
|
|
5
|
+
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(),
|
|
6
|
+
instance_id: z.string().describe("The unique identifier of the Neo4j Aura instance to list snapshots for.")
|
|
7
|
+
}).describe("Request model for listing snapshots of a Neo4j Aura instance.");
|
|
8
|
+
const Neo4jListSnapshots_SnapshotDataSchema = z.object({
|
|
9
|
+
status: z.string().describe("The current status of the snapshot (e.g., available, creating, failed)."),
|
|
10
|
+
profile: z.string().describe("The profile/type of the Aura instance."),
|
|
11
|
+
timestamp: z.string().describe("The timestamp when the snapshot was created, in ISO 8601 format."),
|
|
12
|
+
instance_id: z.string().describe("The unique identifier of the Neo4j Aura instance that this snapshot belongs to."),
|
|
13
|
+
snapshot_id: z.string().describe("The unique identifier of the snapshot.")
|
|
14
|
+
}).describe("Data model for a single snapshot.");
|
|
15
|
+
const neo4jListSnapshots = action("NEO4J_LIST_SNAPSHOTS", {
|
|
16
|
+
slug: "neo4j-list-snapshots",
|
|
17
|
+
name: "List Neo4j Aura Snapshots",
|
|
18
|
+
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.",
|
|
19
|
+
input: Neo4jListSnapshotsInput,
|
|
20
|
+
output: z.object({ data: z.array(Neo4jListSnapshots_SnapshotDataSchema).describe("A list of snapshot objects containing instance ID, profile, snapshot ID, status, and timestamp.") }).describe("Response model for listing snapshots of a Neo4j Aura instance.")
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { neo4jListSnapshots };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=list-snapshots.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n status: z.string().describe(\"The current status of the snapshot (e.g., available, creating, failed).\"),\n profile: z.string().describe(\"The profile/type of the Aura instance.\"),\n timestamp: z.string().describe(\"The timestamp when the snapshot was created, in ISO 8601 format.\"),\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance that this snapshot belongs to.\"),\n snapshot_id: z.string().describe(\"The unique identifier of the snapshot.\"),\n}).describe(\"Data model for a single snapshot.\");\nexport const Neo4jListSnapshotsOutput: z.ZodTypeAny = z.object({\n data: z.array(Neo4jListSnapshots_SnapshotDataSchema).describe(\"A list of snapshot objects containing instance ID, profile, snapshot ID, status, and timestamp.\"),\n}).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":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,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,wCAAsD,EAAE,OAAO;CACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACrG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAClH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC3E,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAK/C,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,MAAM,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iGAAiG,EACjK,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/pause-instance-beta.ts
|
|
4
|
+
const Neo4jPauseInstanceBetaInput = zod.z.object({ instance_id: zod.z.string().describe("The unique identifier of the Neo4j Aura instance to pause.") }).describe("Request model for pausing a Neo4j Aura instance.");
|
|
5
|
+
const Neo4jPauseInstanceBetaOutput = zod.z.object({}).describe("Response model for pausing a Neo4j Aura instance.");
|
|
6
|
+
const neo4jPauseInstanceBeta = require_action.action("NEO4J_PAUSE_INSTANCE_BETA", {
|
|
7
|
+
slug: "neo4j-pause-instance-beta",
|
|
8
|
+
name: "Pause Neo4j Aura Instance",
|
|
9
|
+
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.",
|
|
10
|
+
input: Neo4jPauseInstanceBetaInput,
|
|
11
|
+
output: Neo4jPauseInstanceBetaOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.neo4jPauseInstanceBeta = neo4jPauseInstanceBeta;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=pause-instance-beta.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({}).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":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EAC/F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAEnI,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/pause-instance-beta.d.ts
|
|
4
|
+
declare const Neo4jPauseInstanceBetaInput: z.ZodTypeAny;
|
|
5
|
+
declare const Neo4jPauseInstanceBetaOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neo4jPauseInstanceBeta: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neo4jPauseInstanceBeta };
|
|
9
|
+
//# sourceMappingURL=pause-instance-beta.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pause-instance-beta.d.cts","names":[],"sources":["../../src/actions/pause-instance-beta.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEmB;AAAA,cAClD,4BAAA,EAA8B,CAAA,CAAE,UAAuF;AAAA,cAEvH,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/pause-instance-beta.d.ts
|
|
4
|
+
declare const Neo4jPauseInstanceBetaInput: z.ZodTypeAny;
|
|
5
|
+
declare const Neo4jPauseInstanceBetaOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neo4jPauseInstanceBeta: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neo4jPauseInstanceBeta };
|
|
9
|
+
//# sourceMappingURL=pause-instance-beta.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pause-instance-beta.d.mts","names":[],"sources":["../../src/actions/pause-instance-beta.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEmB;AAAA,cAClD,4BAAA,EAA8B,CAAA,CAAE,UAAuF;AAAA,cAEvH,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const neo4jPauseInstanceBeta = action("NEO4J_PAUSE_INSTANCE_BETA", {
|
|
4
|
+
slug: "neo4j-pause-instance-beta",
|
|
5
|
+
name: "Pause Neo4j Aura Instance",
|
|
6
|
+
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.",
|
|
7
|
+
input: z.object({ instance_id: z.string().describe("The unique identifier of the Neo4j Aura instance to pause.") }).describe("Request model for pausing a Neo4j Aura instance."),
|
|
8
|
+
output: z.object({}).describe("Response model for pausing a Neo4j Aura instance.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { neo4jPauseInstanceBeta };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=pause-instance-beta.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({}).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":";;AASA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuD,EAAE,OAAO,EAChE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EAC/F,CAAC,CAAC,CAAC,SAAS,kDAOH;CACP,QAPwD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAOtE;AACV,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/restore-snapshot.ts
|
|
4
|
+
const Neo4jRestoreSnapshotInput = zod.z.object({
|
|
5
|
+
instance_id: zod.z.string().describe("The unique identifier of the Neo4j Aura instance to restore."),
|
|
6
|
+
snapshot_id: zod.z.string().describe("The unique identifier of the snapshot to restore from.")
|
|
7
|
+
}).describe("Request model for restoring a Neo4j Aura instance from a snapshot.");
|
|
8
|
+
const Neo4jRestoreSnapshotOutput = zod.z.object({
|
|
9
|
+
id: zod.z.string().describe("The unique identifier of the instance.").nullable().optional(),
|
|
10
|
+
name: zod.z.string().describe("The name of the instance.").nullable().optional(),
|
|
11
|
+
type: zod.z.string().describe("The type of the instance.").nullable().optional(),
|
|
12
|
+
memory: zod.z.string().describe("The memory configuration of the instance.").nullable().optional(),
|
|
13
|
+
region: zod.z.string().describe("The region where the instance is hosted.").nullable().optional(),
|
|
14
|
+
status: zod.z.string().describe("The current status of the instance (e.g., 'restoring', 'online').").nullable().optional(),
|
|
15
|
+
message: zod.z.string().describe("A message describing the operation result.").nullable().optional(),
|
|
16
|
+
storage: zod.z.string().describe("The storage configuration of the instance.").nullable().optional(),
|
|
17
|
+
tenant_id: zod.z.string().describe("The tenant identifier.").nullable().optional(),
|
|
18
|
+
created_at: zod.z.string().describe("The timestamp when the instance was created.").nullable().optional(),
|
|
19
|
+
cloud_provider: zod.z.string().describe("The cloud provider hosting the instance.").nullable().optional(),
|
|
20
|
+
connection_url: zod.z.string().describe("The connection URL for the instance.").nullable().optional()
|
|
21
|
+
}).describe("Response model for restoring a Neo4j Aura instance from a snapshot.");
|
|
22
|
+
const neo4jRestoreSnapshot = require_action.action("NEO4J_RESTORE_SNAPSHOT", {
|
|
23
|
+
slug: "neo4j-restore-snapshot",
|
|
24
|
+
name: "Restore Neo4j Aura Instance from Snapshot",
|
|
25
|
+
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.",
|
|
26
|
+
input: Neo4jRestoreSnapshotInput,
|
|
27
|
+
output: Neo4jRestoreSnapshotOutput
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
exports.neo4jRestoreSnapshot = neo4jRestoreSnapshot;
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=restore-snapshot.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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}).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":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,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,SAAS,qEAAqE;AAEjF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,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/restore-snapshot.d.ts
|
|
4
|
+
declare const Neo4jRestoreSnapshotInput: z.ZodTypeAny;
|
|
5
|
+
declare const Neo4jRestoreSnapshotOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neo4jRestoreSnapshot: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neo4jRestoreSnapshot };
|
|
9
|
+
//# sourceMappingURL=restore-snapshot.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restore-snapshot.d.cts","names":[],"sources":["../../src/actions/restore-snapshot.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGuC;AAAA,cACpE,0BAAA,EAA4B,CAAA,CAAE,UAauC;AAAA,cAErE,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/restore-snapshot.d.ts
|
|
4
|
+
declare const Neo4jRestoreSnapshotInput: z.ZodTypeAny;
|
|
5
|
+
declare const Neo4jRestoreSnapshotOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neo4jRestoreSnapshot: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neo4jRestoreSnapshot };
|
|
9
|
+
//# sourceMappingURL=restore-snapshot.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restore-snapshot.d.mts","names":[],"sources":["../../src/actions/restore-snapshot.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGuC;AAAA,cACpE,0BAAA,EAA4B,CAAA,CAAE,UAauC;AAAA,cAErE,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const neo4jRestoreSnapshot = action("NEO4J_RESTORE_SNAPSHOT", {
|
|
4
|
+
slug: "neo4j-restore-snapshot",
|
|
5
|
+
name: "Restore Neo4j Aura Instance from Snapshot",
|
|
6
|
+
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.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
instance_id: z.string().describe("The unique identifier of the Neo4j Aura instance to restore."),
|
|
9
|
+
snapshot_id: z.string().describe("The unique identifier of the snapshot to restore from.")
|
|
10
|
+
}).describe("Request model for restoring a Neo4j Aura instance from a snapshot."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
id: z.string().describe("The unique identifier of the instance.").nullable().optional(),
|
|
13
|
+
name: z.string().describe("The name of the instance.").nullable().optional(),
|
|
14
|
+
type: z.string().describe("The type of the instance.").nullable().optional(),
|
|
15
|
+
memory: z.string().describe("The memory configuration of the instance.").nullable().optional(),
|
|
16
|
+
region: z.string().describe("The region where the instance is hosted.").nullable().optional(),
|
|
17
|
+
status: z.string().describe("The current status of the instance (e.g., 'restoring', 'online').").nullable().optional(),
|
|
18
|
+
message: z.string().describe("A message describing the operation result.").nullable().optional(),
|
|
19
|
+
storage: z.string().describe("The storage configuration of the instance.").nullable().optional(),
|
|
20
|
+
tenant_id: z.string().describe("The tenant identifier.").nullable().optional(),
|
|
21
|
+
created_at: z.string().describe("The timestamp when the instance was created.").nullable().optional(),
|
|
22
|
+
cloud_provider: z.string().describe("The cloud provider hosting the instance.").nullable().optional(),
|
|
23
|
+
connection_url: z.string().describe("The connection URL for the instance.").nullable().optional()
|
|
24
|
+
}).describe("Response model for restoring a Neo4j Aura instance from a snapshot.")
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { neo4jRestoreSnapshot };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=restore-snapshot.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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}).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":";;AAuBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBqD,EAAE,OAAO;EAC9D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC3F,CAAC,CAAC,CAAC,SAAS,oEAoBH;CACP,QApBsD,EAAE,OAAO;EAC/D,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,SAAS,qEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-instance-beta.ts
|
|
4
|
+
const Neo4jUpdateInstanceBetaInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("Edit the instance name in the Aura Console. The name may include any UTF-8 characters with no trailing or leading whitespace.").optional(),
|
|
6
|
+
memory: zod.z.string().describe("The size of the instance memory in GB. Please refer to your Aura projects instance configurations for valid sizes.").optional(),
|
|
7
|
+
storage: zod.z.string().describe("The size of the instance storage in GB. Please refer to your Aura projects instance configurations for valid sizes.").optional(),
|
|
8
|
+
instance_id: zod.z.string().describe("The unique identifier of the Neo4j Aura instance to update."),
|
|
9
|
+
vector_optimized: zod.z.boolean().describe("Add or remove the instance vector optimization.").optional(),
|
|
10
|
+
graph_analytics_plugin: zod.z.boolean().describe("Add or remove the instance graph analytics plugin.").optional()
|
|
11
|
+
}).describe("Request model for updating a Neo4j Aura instance configuration.");
|
|
12
|
+
const Neo4jUpdateInstanceBeta_InstanceDataSchema = zod.z.object({
|
|
13
|
+
id: zod.z.string().describe("The id of the instance"),
|
|
14
|
+
name: zod.z.string().describe("The name of the instance"),
|
|
15
|
+
type: zod.z.string().describe("The type of the instance (enterprise-db, enterprise-ds, business-critical, professional-db, professional-ds, free-db)").nullable().optional(),
|
|
16
|
+
memory: zod.z.string().describe("The size of the instance memory in GB.").nullable().optional(),
|
|
17
|
+
region: zod.z.string().describe("The region where the instance is hosted.").nullable().optional(),
|
|
18
|
+
status: zod.z.string().describe("The status of the instance"),
|
|
19
|
+
storage: zod.z.string().describe("Storage allocated to the instance. **This field is NOT returned for free instances**").nullable().optional(),
|
|
20
|
+
tenant_id: zod.z.string().describe("The project to which the instance belongs to"),
|
|
21
|
+
created_at: zod.z.string().describe("The timestamp when the instance was created").nullable().optional(),
|
|
22
|
+
graph_nodes: zod.z.union([zod.z.string(), zod.z.number().int()]).nullable().optional(),
|
|
23
|
+
cloud_provider: zod.z.string().describe("The cloud provider hosting the instance (gcp, aws, or azure).").nullable().optional(),
|
|
24
|
+
connection_url: zod.z.string().describe("URL for connecting to the Neo4j instance").nullable().optional(),
|
|
25
|
+
vector_optimized: zod.z.boolean().describe("The vector optimization configuration of the instance.").nullable().optional(),
|
|
26
|
+
graph_relationships: zod.z.union([zod.z.string(), zod.z.number().int()]).nullable().optional(),
|
|
27
|
+
graph_analytics_plugin: zod.z.boolean().describe("The graph analytics plugin configuration of the instance.").nullable().optional(),
|
|
28
|
+
customer_managed_key_id: zod.z.string().describe("ID of the Customer Managed Key if one was used for creating the instance").nullable().optional(),
|
|
29
|
+
metrics_integration_url: zod.z.string().describe("Metrics integration endpoint URL for the Neo4j instance").nullable().optional()
|
|
30
|
+
}).describe("Detailed information about a Neo4j Aura instance.");
|
|
31
|
+
const Neo4jUpdateInstanceBetaOutput = zod.z.object({ data: Neo4jUpdateInstanceBeta_InstanceDataSchema.nullable().optional() }).describe("Response model for updating a Neo4j Aura instance configuration.");
|
|
32
|
+
const neo4jUpdateInstanceBeta = require_action.action("NEO4J_UPDATE_INSTANCE_BETA", {
|
|
33
|
+
slug: "neo4j-update-instance-beta",
|
|
34
|
+
name: "Update Neo4j Aura Instance",
|
|
35
|
+
description: "Edits the configuration of a Neo4j Aura instance. Allows updating the instance name, memory allocation, storage size, and plugin configurations. Use this action when you need to modify an existing Neo4j Aura instance's settings such as renaming the instance, adjusting memory/storage resources, or enabling/disabling the graph analytics plugin or vector optimization features. Note: Some operations like resizing memory or storage may result in a 202 Accepted response indicating the resize request was accepted for async processing.",
|
|
36
|
+
input: Neo4jUpdateInstanceBetaInput,
|
|
37
|
+
output: Neo4jUpdateInstanceBetaOutput
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
exports.neo4jUpdateInstanceBeta = neo4jUpdateInstanceBeta;
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=update-instance-beta.cjs.map
|