@keystrokehq/neo4j 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/aggregate-directors.cjs +8 -8
- package/dist/actions/aggregate-directors.cjs.map +1 -1
- package/dist/actions/aggregate-directors.d.cts +21 -3
- package/dist/actions/aggregate-directors.d.cts.map +1 -1
- package/dist/actions/aggregate-directors.d.mts +21 -3
- package/dist/actions/aggregate-directors.d.mts.map +1 -1
- package/dist/actions/aggregate-directors.mjs +8 -8
- package/dist/actions/aggregate-directors.mjs.map +1 -1
- package/dist/actions/create-instance-beta.cjs +12 -12
- package/dist/actions/create-instance-beta.cjs.map +1 -1
- package/dist/actions/create-instance-beta.d.cts +57 -3
- package/dist/actions/create-instance-beta.d.cts.map +1 -1
- package/dist/actions/create-instance-beta.d.mts +57 -3
- package/dist/actions/create-instance-beta.d.mts.map +1 -1
- package/dist/actions/create-instance-beta.mjs +12 -12
- package/dist/actions/create-instance-beta.mjs.map +1 -1
- package/dist/actions/create-snapshot.cjs +1 -1
- package/dist/actions/create-snapshot.cjs.map +1 -1
- package/dist/actions/create-snapshot.d.cts +11 -3
- package/dist/actions/create-snapshot.d.cts.map +1 -1
- package/dist/actions/create-snapshot.d.mts +11 -3
- package/dist/actions/create-snapshot.d.mts.map +1 -1
- package/dist/actions/create-snapshot.mjs +1 -1
- package/dist/actions/create-snapshot.mjs.map +1 -1
- package/dist/actions/estimate-gds-session-size.cjs +4 -4
- package/dist/actions/estimate-gds-session-size.cjs.map +1 -1
- package/dist/actions/estimate-gds-session-size.d.cts +22 -3
- package/dist/actions/estimate-gds-session-size.d.cts.map +1 -1
- package/dist/actions/estimate-gds-session-size.d.mts +22 -3
- package/dist/actions/estimate-gds-session-size.d.mts.map +1 -1
- package/dist/actions/estimate-gds-session-size.mjs +4 -4
- package/dist/actions/estimate-gds-session-size.mjs.map +1 -1
- package/dist/actions/get-instance-beta.cjs +6 -6
- package/dist/actions/get-instance-beta.cjs.map +1 -1
- package/dist/actions/get-instance-beta.d.cts +52 -3
- package/dist/actions/get-instance-beta.d.cts.map +1 -1
- package/dist/actions/get-instance-beta.d.mts +52 -3
- package/dist/actions/get-instance-beta.d.mts.map +1 -1
- package/dist/actions/get-instance-beta.mjs +6 -6
- package/dist/actions/get-instance-beta.mjs.map +1 -1
- package/dist/actions/get-organization-user.cjs +10 -10
- package/dist/actions/get-organization-user.cjs.map +1 -1
- package/dist/actions/get-organization-user.d.cts +23 -3
- package/dist/actions/get-organization-user.d.cts.map +1 -1
- package/dist/actions/get-organization-user.d.mts +23 -3
- package/dist/actions/get-organization-user.d.mts.map +1 -1
- package/dist/actions/get-organization-user.mjs +10 -10
- package/dist/actions/get-organization-user.mjs.map +1 -1
- package/dist/actions/get-project-beta.cjs +12 -12
- package/dist/actions/get-project-beta.cjs.map +1 -1
- package/dist/actions/get-project-beta.d.cts +21 -3
- package/dist/actions/get-project-beta.d.cts.map +1 -1
- package/dist/actions/get-project-beta.d.mts +21 -3
- package/dist/actions/get-project-beta.d.mts.map +1 -1
- package/dist/actions/get-project-beta.mjs +12 -12
- package/dist/actions/get-project-beta.mjs.map +1 -1
- package/dist/actions/get-project.cjs +12 -12
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +21 -3
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +21 -3
- package/dist/actions/get-project.d.mts.map +1 -1
- package/dist/actions/get-project.mjs +12 -12
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-snapshot.cjs +7 -7
- package/dist/actions/get-snapshot.cjs.map +1 -1
- package/dist/actions/get-snapshot.d.cts +17 -3
- package/dist/actions/get-snapshot.d.cts.map +1 -1
- package/dist/actions/get-snapshot.d.mts +17 -3
- package/dist/actions/get-snapshot.d.mts.map +1 -1
- package/dist/actions/get-snapshot.mjs +7 -7
- package/dist/actions/get-snapshot.mjs.map +1 -1
- package/dist/actions/list-agents.cjs +13 -13
- package/dist/actions/list-agents.cjs.map +1 -1
- package/dist/actions/list-agents.d.cts +31 -3
- package/dist/actions/list-agents.d.cts.map +1 -1
- package/dist/actions/list-agents.d.mts +31 -3
- package/dist/actions/list-agents.d.mts.map +1 -1
- package/dist/actions/list-agents.mjs +13 -13
- package/dist/actions/list-agents.mjs.map +1 -1
- package/dist/actions/list-gds-sessions.cjs +5 -5
- package/dist/actions/list-gds-sessions.cjs.map +1 -1
- package/dist/actions/list-gds-sessions.d.cts +26 -3
- package/dist/actions/list-gds-sessions.d.cts.map +1 -1
- package/dist/actions/list-gds-sessions.d.mts +26 -3
- package/dist/actions/list-gds-sessions.d.mts.map +1 -1
- package/dist/actions/list-gds-sessions.mjs +5 -5
- package/dist/actions/list-gds-sessions.mjs.map +1 -1
- package/dist/actions/list-instances-beta.cjs +7 -7
- package/dist/actions/list-instances-beta.cjs.map +1 -1
- package/dist/actions/list-instances-beta.d.cts +15 -3
- package/dist/actions/list-instances-beta.d.cts.map +1 -1
- package/dist/actions/list-instances-beta.d.mts +15 -3
- package/dist/actions/list-instances-beta.d.mts.map +1 -1
- package/dist/actions/list-instances-beta.mjs +7 -7
- package/dist/actions/list-instances-beta.mjs.map +1 -1
- package/dist/actions/list-ip-filters.cjs +7 -7
- package/dist/actions/list-ip-filters.cjs.map +1 -1
- package/dist/actions/list-ip-filters.d.cts +22 -3
- package/dist/actions/list-ip-filters.d.cts.map +1 -1
- package/dist/actions/list-ip-filters.d.mts +22 -3
- package/dist/actions/list-ip-filters.d.mts.map +1 -1
- package/dist/actions/list-ip-filters.mjs +7 -7
- package/dist/actions/list-ip-filters.mjs.map +1 -1
- package/dist/actions/list-project-users.cjs +4 -4
- package/dist/actions/list-project-users.cjs.map +1 -1
- package/dist/actions/list-project-users.d.cts +15 -3
- package/dist/actions/list-project-users.d.cts.map +1 -1
- package/dist/actions/list-project-users.d.mts +15 -3
- package/dist/actions/list-project-users.d.mts.map +1 -1
- package/dist/actions/list-project-users.mjs +4 -4
- package/dist/actions/list-project-users.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +4 -4
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +8 -3
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +8 -3
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +4 -4
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/list-snapshots.cjs +7 -7
- package/dist/actions/list-snapshots.cjs.map +1 -1
- package/dist/actions/list-snapshots.d.cts +17 -3
- package/dist/actions/list-snapshots.d.cts.map +1 -1
- package/dist/actions/list-snapshots.d.mts +17 -3
- package/dist/actions/list-snapshots.d.mts.map +1 -1
- package/dist/actions/list-snapshots.mjs +7 -7
- package/dist/actions/list-snapshots.mjs.map +1 -1
- package/dist/actions/pause-instance-beta.cjs +1 -1
- package/dist/actions/pause-instance-beta.cjs.map +1 -1
- package/dist/actions/pause-instance-beta.d.cts +7 -3
- package/dist/actions/pause-instance-beta.d.cts.map +1 -1
- package/dist/actions/pause-instance-beta.d.mts +7 -3
- package/dist/actions/pause-instance-beta.d.mts.map +1 -1
- package/dist/actions/pause-instance-beta.mjs +1 -1
- package/dist/actions/pause-instance-beta.mjs.map +1 -1
- package/dist/actions/restore-snapshot.cjs +1 -1
- package/dist/actions/restore-snapshot.cjs.map +1 -1
- package/dist/actions/restore-snapshot.d.cts +22 -3
- package/dist/actions/restore-snapshot.d.cts.map +1 -1
- package/dist/actions/restore-snapshot.d.mts +22 -3
- package/dist/actions/restore-snapshot.d.mts.map +1 -1
- package/dist/actions/restore-snapshot.mjs +1 -1
- package/dist/actions/restore-snapshot.mjs.map +1 -1
- package/dist/actions/update-instance-beta.cjs +6 -6
- package/dist/actions/update-instance-beta.cjs.map +1 -1
- package/dist/actions/update-instance-beta.d.cts +37 -3
- package/dist/actions/update-instance-beta.d.cts.map +1 -1
- package/dist/actions/update-instance-beta.d.mts +37 -3
- package/dist/actions/update-instance-beta.d.mts.map +1 -1
- package/dist/actions/update-instance-beta.mjs +6 -6
- package/dist/actions/update-instance-beta.mjs.map +1 -1
- package/dist/actions/update-instance.cjs +9 -9
- package/dist/actions/update-instance.cjs.map +1 -1
- package/dist/actions/update-instance.d.cts +68 -3
- package/dist/actions/update-instance.d.cts.map +1 -1
- package/dist/actions/update-instance.d.mts +68 -3
- package/dist/actions/update-instance.d.mts.map +1 -1
- package/dist/actions/update-instance.mjs +9 -9
- package/dist/actions/update-instance.mjs.map +1 -1
- package/dist/actions/update-ip-filter.cjs +11 -11
- package/dist/actions/update-ip-filter.cjs.map +1 -1
- package/dist/actions/update-ip-filter.d.cts +45 -3
- package/dist/actions/update-ip-filter.d.cts.map +1 -1
- package/dist/actions/update-ip-filter.d.mts +45 -3
- package/dist/actions/update-ip-filter.d.mts.map +1 -1
- package/dist/actions/update-ip-filter.mjs +11 -11
- package/dist/actions/update-ip-filter.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -6,18 +6,18 @@ const Neo4jListSnapshotsInput = z.object({
|
|
|
6
6
|
instance_id: z.string().describe("The unique identifier of the Neo4j Aura instance to list snapshots for.")
|
|
7
7
|
}).describe("Request model for listing snapshots of a Neo4j Aura instance.");
|
|
8
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.");
|
|
9
|
+
status: z.string().describe("The current status of the snapshot (e.g., available, creating, failed).").nullable(),
|
|
10
|
+
profile: z.string().describe("The profile/type of the Aura instance.").nullable(),
|
|
11
|
+
timestamp: z.string().describe("The timestamp when the snapshot was created, in ISO 8601 format.").nullable(),
|
|
12
|
+
instance_id: z.string().describe("The unique identifier of the Neo4j Aura instance that this snapshot belongs to.").nullable(),
|
|
13
|
+
snapshot_id: z.string().describe("The unique identifier of the snapshot.").nullable()
|
|
14
|
+
}).passthrough().describe("Data model for a single snapshot.");
|
|
15
15
|
const neo4jListSnapshots = action("NEO4J_LIST_SNAPSHOTS", {
|
|
16
16
|
slug: "neo4j-list-snapshots",
|
|
17
17
|
name: "List Neo4j Aura Snapshots",
|
|
18
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
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.")
|
|
20
|
+
output: z.object({ data: z.array(Neo4jListSnapshots_SnapshotDataSchema).describe("A list of snapshot objects containing instance ID, profile, snapshot ID, status, and timestamp.") }).passthrough().describe("Response model for listing snapshots of a Neo4j Aura instance.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { neo4jListSnapshots };
|
|
@@ -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
|
|
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":";;;AAIA,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,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iGAAiG,EACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/pause-instance-beta.ts
|
|
4
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.
|
|
5
|
+
const Neo4jPauseInstanceBetaOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response model for pausing a Neo4j Aura instance.");
|
|
6
6
|
const neo4jPauseInstanceBeta = require_action.action("NEO4J_PAUSE_INSTANCE_BETA", {
|
|
7
7
|
slug: "neo4j-pause-instance-beta",
|
|
8
8
|
name: "Pause Neo4j Aura Instance",
|
|
@@ -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
|
|
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":";;;AAIA,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,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/pause-instance-beta.d.ts
|
|
4
|
-
declare const Neo4jPauseInstanceBetaInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const Neo4jPauseInstanceBetaInput: z.ZodObject<{
|
|
5
|
+
instance_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const Neo4jPauseInstanceBetaOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
|
+
declare const neo4jPauseInstanceBeta: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
instance_id: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { neo4jPauseInstanceBeta };
|
|
9
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":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"pause-instance-beta.d.cts","names":[],"sources":["../../src/actions/pause-instance-beta.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/pause-instance-beta.d.ts
|
|
4
|
-
declare const Neo4jPauseInstanceBetaInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const Neo4jPauseInstanceBetaInput: z.ZodObject<{
|
|
5
|
+
instance_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const Neo4jPauseInstanceBetaOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
|
+
declare const neo4jPauseInstanceBeta: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
instance_id: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { neo4jPauseInstanceBeta };
|
|
9
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":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"pause-instance-beta.d.mts","names":[],"sources":["../../src/actions/pause-instance-beta.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const neo4jPauseInstanceBeta = action("NEO4J_PAUSE_INSTANCE_BETA", {
|
|
|
5
5
|
name: "Pause Neo4j Aura Instance",
|
|
6
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
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.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Response model for pausing a Neo4j Aura instance.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { neo4jPauseInstanceBeta };
|
|
@@ -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
|
|
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":";;AASA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyC,EAAE,OAAO,EAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EAC/F,CAAC,CAAC,CAAC,SAAS,kDAOH;CACP,QAP0C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAO7E;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ const Neo4jRestoreSnapshotOutput = zod.z.object({
|
|
|
18
18
|
created_at: zod.z.string().describe("The timestamp when the instance was created.").nullable().optional(),
|
|
19
19
|
cloud_provider: zod.z.string().describe("The cloud provider hosting the instance.").nullable().optional(),
|
|
20
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.");
|
|
21
|
+
}).passthrough().describe("Response model for restoring a Neo4j Aura instance from a snapshot.");
|
|
22
22
|
const neo4jRestoreSnapshot = require_action.action("NEO4J_RESTORE_SNAPSHOT", {
|
|
23
23
|
slug: "neo4j-restore-snapshot",
|
|
24
24
|
name: "Restore Neo4j Aura Instance from Snapshot",
|
|
@@ -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
|
|
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":";;;AAIA,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,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/restore-snapshot.d.ts
|
|
4
|
-
declare const Neo4jRestoreSnapshotInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const Neo4jRestoreSnapshotInput: z.ZodObject<{
|
|
5
|
+
instance_id: z.ZodString;
|
|
6
|
+
snapshot_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const Neo4jRestoreSnapshotOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
memory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
storage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
tenant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
cloud_provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
connection_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
|
+
declare const neo4jRestoreSnapshot: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
instance_id: string;
|
|
24
|
+
snapshot_id: string;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { neo4jRestoreSnapshot };
|
|
9
28
|
//# sourceMappingURL=restore-snapshot.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore-snapshot.d.cts","names":[],"sources":["../../src/actions/restore-snapshot.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"restore-snapshot.d.cts","names":[],"sources":["../../src/actions/restore-snapshot.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/restore-snapshot.d.ts
|
|
4
|
-
declare const Neo4jRestoreSnapshotInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const Neo4jRestoreSnapshotInput: z.ZodObject<{
|
|
5
|
+
instance_id: z.ZodString;
|
|
6
|
+
snapshot_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const Neo4jRestoreSnapshotOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
memory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
storage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
tenant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
cloud_provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
connection_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
|
+
declare const neo4jRestoreSnapshot: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
instance_id: string;
|
|
24
|
+
snapshot_id: string;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { neo4jRestoreSnapshot };
|
|
9
28
|
//# sourceMappingURL=restore-snapshot.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore-snapshot.d.mts","names":[],"sources":["../../src/actions/restore-snapshot.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"restore-snapshot.d.mts","names":[],"sources":["../../src/actions/restore-snapshot.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -21,7 +21,7 @@ const neo4jRestoreSnapshot = action("NEO4J_RESTORE_SNAPSHOT", {
|
|
|
21
21
|
created_at: z.string().describe("The timestamp when the instance was created.").nullable().optional(),
|
|
22
22
|
cloud_provider: z.string().describe("The cloud provider hosting the instance.").nullable().optional(),
|
|
23
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.")
|
|
24
|
+
}).passthrough().describe("Response model for restoring a Neo4j Aura instance from a snapshot.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { neo4jRestoreSnapshot };
|
|
@@ -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
|
|
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":";;AAuBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBuC,EAAE,OAAO;EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC3F,CAAC,CAAC,CAAC,SAAS,oEAoBH;CACP,QApBwC,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,qEAOhB;AACV,CAAC"}
|
|
@@ -10,14 +10,14 @@ const Neo4jUpdateInstanceBetaInput = zod.z.object({
|
|
|
10
10
|
graph_analytics_plugin: zod.z.boolean().describe("Add or remove the instance graph analytics plugin.").optional()
|
|
11
11
|
}).describe("Request model for updating a Neo4j Aura instance configuration.");
|
|
12
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"),
|
|
13
|
+
id: zod.z.string().describe("The id of the instance").nullable(),
|
|
14
|
+
name: zod.z.string().describe("The name of the instance").nullable(),
|
|
15
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
16
|
memory: zod.z.string().describe("The size of the instance memory in GB.").nullable().optional(),
|
|
17
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"),
|
|
18
|
+
status: zod.z.string().describe("The status of the instance").nullable(),
|
|
19
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"),
|
|
20
|
+
tenant_id: zod.z.string().describe("The project to which the instance belongs to").nullable(),
|
|
21
21
|
created_at: zod.z.string().describe("The timestamp when the instance was created").nullable().optional(),
|
|
22
22
|
graph_nodes: zod.z.union([zod.z.string(), zod.z.number().int()]).nullable().optional(),
|
|
23
23
|
cloud_provider: zod.z.string().describe("The cloud provider hosting the instance (gcp, aws, or azure).").nullable().optional(),
|
|
@@ -27,8 +27,8 @@ const Neo4jUpdateInstanceBeta_InstanceDataSchema = zod.z.object({
|
|
|
27
27
|
graph_analytics_plugin: zod.z.boolean().describe("The graph analytics plugin configuration of the instance.").nullable().optional(),
|
|
28
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
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.");
|
|
30
|
+
}).passthrough().describe("Detailed information about a Neo4j Aura instance.");
|
|
31
|
+
const Neo4jUpdateInstanceBetaOutput = zod.z.object({ data: Neo4jUpdateInstanceBeta_InstanceDataSchema.nullable().optional() }).passthrough().describe("Response model for updating a Neo4j Aura instance configuration.");
|
|
32
32
|
const neo4jUpdateInstanceBeta = require_action.action("NEO4J_UPDATE_INSTANCE_BETA", {
|
|
33
33
|
slug: "neo4j-update-instance-beta",
|
|
34
34
|
name: "Update Neo4j Aura Instance",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-instance-beta.cjs","names":["z","action"],"sources":["../../src/actions/update-instance-beta.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Neo4jUpdateInstanceBetaInput
|
|
1
|
+
{"version":3,"file":"update-instance-beta.cjs","names":["z","action"],"sources":["../../src/actions/update-instance-beta.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Neo4jUpdateInstanceBetaInput = z.object({\n name: 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(),\n memory: z.string().describe(\"The size of the instance memory in GB. Please refer to your Aura projects instance configurations for valid sizes.\").optional(),\n storage: z.string().describe(\"The size of the instance storage in GB. Please refer to your Aura projects instance configurations for valid sizes.\").optional(),\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance to update.\"),\n vector_optimized: z.boolean().describe(\"Add or remove the instance vector optimization.\").optional(),\n graph_analytics_plugin: z.boolean().describe(\"Add or remove the instance graph analytics plugin.\").optional(),\n}).describe(\"Request model for updating a Neo4j Aura instance configuration.\");\nconst Neo4jUpdateInstanceBeta_InstanceDataSchema = z.object({\n id: z.string().describe(\"The id of the instance\").nullable(),\n name: z.string().describe(\"The name of the instance\").nullable(),\n type: z.string().describe(\"The type of the instance (enterprise-db, enterprise-ds, business-critical, professional-db, professional-ds, free-db)\").nullable().optional(),\n memory: z.string().describe(\"The size of the instance memory in GB.\").nullable().optional(),\n region: z.string().describe(\"The region where the instance is hosted.\").nullable().optional(),\n status: z.string().describe(\"The status of the instance\").nullable(),\n storage: z.string().describe(\"Storage allocated to the instance. **This field is NOT returned for free instances**\").nullable().optional(),\n tenant_id: z.string().describe(\"The project to which the instance belongs to\").nullable(),\n created_at: z.string().describe(\"The timestamp when the instance was created\").nullable().optional(),\n graph_nodes: z.union([z.string(), z.number().int()]).nullable().optional(),\n cloud_provider: z.string().describe(\"The cloud provider hosting the instance (gcp, aws, or azure).\").nullable().optional(),\n connection_url: z.string().describe(\"URL for connecting to the Neo4j instance\").nullable().optional(),\n vector_optimized: z.boolean().describe(\"The vector optimization configuration of the instance.\").nullable().optional(),\n graph_relationships: z.union([z.string(), z.number().int()]).nullable().optional(),\n graph_analytics_plugin: z.boolean().describe(\"The graph analytics plugin configuration of the instance.\").nullable().optional(),\n customer_managed_key_id: z.string().describe(\"ID of the Customer Managed Key if one was used for creating the instance\").nullable().optional(),\n metrics_integration_url: z.string().describe(\"Metrics integration endpoint URL for the Neo4j instance\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a Neo4j Aura instance.\");\nexport const Neo4jUpdateInstanceBetaOutput = z.object({\n data: Neo4jUpdateInstanceBeta_InstanceDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for updating a Neo4j Aura instance configuration.\");\n\nexport const neo4jUpdateInstanceBeta = action(\"NEO4J_UPDATE_INSTANCE_BETA\", {\n slug: \"neo4j-update-instance-beta\",\n name: \"Update Neo4j Aura Instance\",\n 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.\",\n input: Neo4jUpdateInstanceBetaInput,\n output: Neo4jUpdateInstanceBetaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACpK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC3J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC7J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC9F,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACnG,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,qBAAqBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,43 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-instance-beta.d.ts
|
|
4
|
-
declare const Neo4jUpdateInstanceBetaInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const Neo4jUpdateInstanceBetaInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
7
|
+
storage: z.ZodOptional<z.ZodString>;
|
|
8
|
+
instance_id: z.ZodString;
|
|
9
|
+
vector_optimized: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
graph_analytics_plugin: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const Neo4jUpdateInstanceBetaOutput: z.ZodObject<{
|
|
13
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
memory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
status: z.ZodNullable<z.ZodString>;
|
|
20
|
+
storage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
tenant_id: z.ZodNullable<z.ZodString>;
|
|
22
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
graph_nodes: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
24
|
+
cloud_provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
connection_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
vector_optimized: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
27
|
+
graph_relationships: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
28
|
+
graph_analytics_plugin: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
|
+
customer_managed_key_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
metrics_integration_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
|
+
}, z.core.$loose>;
|
|
33
|
+
declare const neo4jUpdateInstanceBeta: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
|
+
instance_id: string;
|
|
35
|
+
name?: string | undefined;
|
|
36
|
+
memory?: string | undefined;
|
|
37
|
+
storage?: string | undefined;
|
|
38
|
+
vector_optimized?: boolean | undefined;
|
|
39
|
+
graph_analytics_plugin?: boolean | undefined;
|
|
40
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
41
|
//#endregion
|
|
8
42
|
export { neo4jUpdateInstanceBeta };
|
|
9
43
|
//# sourceMappingURL=update-instance-beta.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-instance-beta.d.cts","names":[],"sources":["../../src/actions/update-instance-beta.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"update-instance-beta.d.cts","names":[],"sources":["../../src/actions/update-instance-beta.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cA2B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,43 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-instance-beta.d.ts
|
|
4
|
-
declare const Neo4jUpdateInstanceBetaInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const Neo4jUpdateInstanceBetaInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
7
|
+
storage: z.ZodOptional<z.ZodString>;
|
|
8
|
+
instance_id: z.ZodString;
|
|
9
|
+
vector_optimized: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
graph_analytics_plugin: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const Neo4jUpdateInstanceBetaOutput: z.ZodObject<{
|
|
13
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
memory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
status: z.ZodNullable<z.ZodString>;
|
|
20
|
+
storage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
tenant_id: z.ZodNullable<z.ZodString>;
|
|
22
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
graph_nodes: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
24
|
+
cloud_provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
connection_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
vector_optimized: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
27
|
+
graph_relationships: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
28
|
+
graph_analytics_plugin: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
|
+
customer_managed_key_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
metrics_integration_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
|
+
}, z.core.$loose>;
|
|
33
|
+
declare const neo4jUpdateInstanceBeta: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
|
+
instance_id: string;
|
|
35
|
+
name?: string | undefined;
|
|
36
|
+
memory?: string | undefined;
|
|
37
|
+
storage?: string | undefined;
|
|
38
|
+
vector_optimized?: boolean | undefined;
|
|
39
|
+
graph_analytics_plugin?: boolean | undefined;
|
|
40
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
41
|
//#endregion
|
|
8
42
|
export { neo4jUpdateInstanceBeta };
|
|
9
43
|
//# sourceMappingURL=update-instance-beta.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-instance-beta.d.mts","names":[],"sources":["../../src/actions/update-instance-beta.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"update-instance-beta.d.mts","names":[],"sources":["../../src/actions/update-instance-beta.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cA2B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -10,14 +10,14 @@ const Neo4jUpdateInstanceBetaInput = z.object({
|
|
|
10
10
|
graph_analytics_plugin: z.boolean().describe("Add or remove the instance graph analytics plugin.").optional()
|
|
11
11
|
}).describe("Request model for updating a Neo4j Aura instance configuration.");
|
|
12
12
|
const Neo4jUpdateInstanceBeta_InstanceDataSchema = z.object({
|
|
13
|
-
id: z.string().describe("The id of the instance"),
|
|
14
|
-
name: z.string().describe("The name of the instance"),
|
|
13
|
+
id: z.string().describe("The id of the instance").nullable(),
|
|
14
|
+
name: z.string().describe("The name of the instance").nullable(),
|
|
15
15
|
type: z.string().describe("The type of the instance (enterprise-db, enterprise-ds, business-critical, professional-db, professional-ds, free-db)").nullable().optional(),
|
|
16
16
|
memory: z.string().describe("The size of the instance memory in GB.").nullable().optional(),
|
|
17
17
|
region: z.string().describe("The region where the instance is hosted.").nullable().optional(),
|
|
18
|
-
status: z.string().describe("The status of the instance"),
|
|
18
|
+
status: z.string().describe("The status of the instance").nullable(),
|
|
19
19
|
storage: z.string().describe("Storage allocated to the instance. **This field is NOT returned for free instances**").nullable().optional(),
|
|
20
|
-
tenant_id: z.string().describe("The project to which the instance belongs to"),
|
|
20
|
+
tenant_id: z.string().describe("The project to which the instance belongs to").nullable(),
|
|
21
21
|
created_at: z.string().describe("The timestamp when the instance was created").nullable().optional(),
|
|
22
22
|
graph_nodes: z.union([z.string(), z.number().int()]).nullable().optional(),
|
|
23
23
|
cloud_provider: z.string().describe("The cloud provider hosting the instance (gcp, aws, or azure).").nullable().optional(),
|
|
@@ -27,13 +27,13 @@ const Neo4jUpdateInstanceBeta_InstanceDataSchema = z.object({
|
|
|
27
27
|
graph_analytics_plugin: z.boolean().describe("The graph analytics plugin configuration of the instance.").nullable().optional(),
|
|
28
28
|
customer_managed_key_id: z.string().describe("ID of the Customer Managed Key if one was used for creating the instance").nullable().optional(),
|
|
29
29
|
metrics_integration_url: z.string().describe("Metrics integration endpoint URL for the Neo4j instance").nullable().optional()
|
|
30
|
-
}).describe("Detailed information about a Neo4j Aura instance.");
|
|
30
|
+
}).passthrough().describe("Detailed information about a Neo4j Aura instance.");
|
|
31
31
|
const neo4jUpdateInstanceBeta = action("NEO4J_UPDATE_INSTANCE_BETA", {
|
|
32
32
|
slug: "neo4j-update-instance-beta",
|
|
33
33
|
name: "Update Neo4j Aura Instance",
|
|
34
34
|
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.",
|
|
35
35
|
input: Neo4jUpdateInstanceBetaInput,
|
|
36
|
-
output: z.object({ data: Neo4jUpdateInstanceBeta_InstanceDataSchema.nullable().optional() }).describe("Response model for updating a Neo4j Aura instance configuration.")
|
|
36
|
+
output: z.object({ data: Neo4jUpdateInstanceBeta_InstanceDataSchema.nullable().optional() }).passthrough().describe("Response model for updating a Neo4j Aura instance configuration.")
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
39
|
export { neo4jUpdateInstanceBeta };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-instance-beta.mjs","names":[],"sources":["../../src/actions/update-instance-beta.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Neo4jUpdateInstanceBetaInput
|
|
1
|
+
{"version":3,"file":"update-instance-beta.mjs","names":[],"sources":["../../src/actions/update-instance-beta.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Neo4jUpdateInstanceBetaInput = z.object({\n name: 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(),\n memory: z.string().describe(\"The size of the instance memory in GB. Please refer to your Aura projects instance configurations for valid sizes.\").optional(),\n storage: z.string().describe(\"The size of the instance storage in GB. Please refer to your Aura projects instance configurations for valid sizes.\").optional(),\n instance_id: z.string().describe(\"The unique identifier of the Neo4j Aura instance to update.\"),\n vector_optimized: z.boolean().describe(\"Add or remove the instance vector optimization.\").optional(),\n graph_analytics_plugin: z.boolean().describe(\"Add or remove the instance graph analytics plugin.\").optional(),\n}).describe(\"Request model for updating a Neo4j Aura instance configuration.\");\nconst Neo4jUpdateInstanceBeta_InstanceDataSchema = z.object({\n id: z.string().describe(\"The id of the instance\").nullable(),\n name: z.string().describe(\"The name of the instance\").nullable(),\n type: z.string().describe(\"The type of the instance (enterprise-db, enterprise-ds, business-critical, professional-db, professional-ds, free-db)\").nullable().optional(),\n memory: z.string().describe(\"The size of the instance memory in GB.\").nullable().optional(),\n region: z.string().describe(\"The region where the instance is hosted.\").nullable().optional(),\n status: z.string().describe(\"The status of the instance\").nullable(),\n storage: z.string().describe(\"Storage allocated to the instance. **This field is NOT returned for free instances**\").nullable().optional(),\n tenant_id: z.string().describe(\"The project to which the instance belongs to\").nullable(),\n created_at: z.string().describe(\"The timestamp when the instance was created\").nullable().optional(),\n graph_nodes: z.union([z.string(), z.number().int()]).nullable().optional(),\n cloud_provider: z.string().describe(\"The cloud provider hosting the instance (gcp, aws, or azure).\").nullable().optional(),\n connection_url: z.string().describe(\"URL for connecting to the Neo4j instance\").nullable().optional(),\n vector_optimized: z.boolean().describe(\"The vector optimization configuration of the instance.\").nullable().optional(),\n graph_relationships: z.union([z.string(), z.number().int()]).nullable().optional(),\n graph_analytics_plugin: z.boolean().describe(\"The graph analytics plugin configuration of the instance.\").nullable().optional(),\n customer_managed_key_id: z.string().describe(\"ID of the Customer Managed Key if one was used for creating the instance\").nullable().optional(),\n metrics_integration_url: z.string().describe(\"Metrics integration endpoint URL for the Neo4j instance\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a Neo4j Aura instance.\");\nexport const Neo4jUpdateInstanceBetaOutput = z.object({\n data: Neo4jUpdateInstanceBeta_InstanceDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for updating a Neo4j Aura instance configuration.\");\n\nexport const neo4jUpdateInstanceBeta = action(\"NEO4J_UPDATE_INSTANCE_BETA\", {\n slug: \"neo4j-update-instance-beta\",\n name: \"Update Neo4j Aura Instance\",\n 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.\",\n input: Neo4jUpdateInstanceBetaInput,\n output: Neo4jUpdateInstanceBetaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACpK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC3J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC7J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC9F,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACnG,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,qBAAqB,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAK7E,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAOhB;AACV,CAAC"}
|
|
@@ -43,18 +43,18 @@ const Neo4jUpdateInstance_CdcEnrichmentModeSchema = zod.z.enum([
|
|
|
43
43
|
"disabled"
|
|
44
44
|
]).describe("CDC enrichment mode for the instance.");
|
|
45
45
|
const Neo4jUpdateInstance_InstanceDataSchema = zod.z.object({
|
|
46
|
-
id: zod.z.string().describe("The unique identifier of the instance."),
|
|
47
|
-
name: zod.z.string().describe("The name of the instance."),
|
|
46
|
+
id: zod.z.string().describe("The unique identifier of the instance.").nullable(),
|
|
47
|
+
name: zod.z.string().describe("The name of the instance.").nullable(),
|
|
48
48
|
type: Neo4jUpdateInstance_InstanceTypeSchema.nullable(),
|
|
49
|
-
memory: zod.z.string().describe("The size of the instance memory in GB."),
|
|
50
|
-
region: zod.z.string().describe("The region where the instance is hosted."),
|
|
49
|
+
memory: zod.z.string().describe("The size of the instance memory in GB.").nullable(),
|
|
50
|
+
region: zod.z.string().describe("The region where the instance is hosted.").nullable(),
|
|
51
51
|
status: Neo4jUpdateInstance_InstanceStatusSchema.nullable(),
|
|
52
52
|
storage: zod.z.union([zod.z.string(), zod.z.number().int()]).nullable().optional(),
|
|
53
|
-
tenant_id: zod.z.string().describe("The project to which the instance belongs to."),
|
|
54
|
-
created_at: zod.z.string().describe("The timestamp when the instance was created."),
|
|
53
|
+
tenant_id: zod.z.string().describe("The project to which the instance belongs to.").nullable(),
|
|
54
|
+
created_at: zod.z.string().describe("The timestamp when the instance was created.").nullable(),
|
|
55
55
|
graph_nodes: zod.z.union([zod.z.string(), zod.z.number().int()]).nullable().optional(),
|
|
56
56
|
cloud_provider: Neo4jUpdateInstance_CloudProviderSchema.nullable(),
|
|
57
|
-
connection_url: zod.z.string().describe("URL for connecting to the Neo4j instance."),
|
|
57
|
+
connection_url: zod.z.string().describe("URL for connecting to the Neo4j instance.").nullable(),
|
|
58
58
|
vector_optimized: zod.z.boolean().describe("The vector optimization configuration of the instance.").nullable().optional(),
|
|
59
59
|
secondaries_count: zod.z.number().int().describe("The number of secondaries in an Instance. This field is returned ONLY for VDC instances.").nullable().optional(),
|
|
60
60
|
cdc_enrichment_mode: Neo4jUpdateInstance_CdcEnrichmentModeSchema.nullable().optional(),
|
|
@@ -62,8 +62,8 @@ const Neo4jUpdateInstance_InstanceDataSchema = zod.z.object({
|
|
|
62
62
|
graph_analytics_plugin: zod.z.boolean().describe("The graph analytics plugin configuration of the instance.").nullable().optional(),
|
|
63
63
|
customer_managed_key_id: zod.z.string().describe("ID of the Customer Managed Key if one was used for creating the instance.").nullable().optional(),
|
|
64
64
|
metrics_integration_url: zod.z.string().describe("Metrics integration endpoint URL for the Neo4j instance.").nullable().optional()
|
|
65
|
-
}).describe("Data model containing full instance details returned after update.");
|
|
66
|
-
const Neo4jUpdateInstanceOutput = zod.z.object({ data: Neo4jUpdateInstance_InstanceDataSchema.nullable() }).describe("Response schema for updating a Neo4j Aura instance.");
|
|
65
|
+
}).passthrough().describe("Data model containing full instance details returned after update.");
|
|
66
|
+
const Neo4jUpdateInstanceOutput = zod.z.object({ data: Neo4jUpdateInstance_InstanceDataSchema.nullable() }).passthrough().describe("Response schema for updating a Neo4j Aura instance.");
|
|
67
67
|
const neo4jUpdateInstance = require_action.action("NEO4J_UPDATE_INSTANCE", {
|
|
68
68
|
slug: "neo4j-update-instance",
|
|
69
69
|
name: "Update Neo4j Aura Instance",
|