@neon/tools 2.9.0 → 2.11.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 +9 -1
- package/dist/lib/ergonomic/catalog.d.ts +232 -152
- package/dist/lib/ergonomic/catalog.d.ts.map +1 -1
- package/dist/lib/ergonomic/catalog.js +35 -2
- package/dist/lib/ergonomic/composed.d.ts +38 -0
- package/dist/lib/ergonomic/composed.d.ts.map +1 -1
- package/dist/lib/ergonomic/composed.js +42 -2
- package/dist/lib/ergonomic/ids.d.ts +2 -2
- package/dist/lib/ergonomic/ids.d.ts.map +1 -1
- package/dist/lib/ergonomic/ids.js +9 -3
- package/package.json +2 -2
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
+
import type { NeonTool, NeonToolExecutionContext } from "../operation.js";
|
|
2
3
|
import { type ToolClientOptions } from "./bind.js";
|
|
3
4
|
import type { NeonToolId } from "./ids.js";
|
|
4
5
|
export type ToolFactory = (typeof toolFactories)[NeonToolId];
|
|
5
6
|
export declare const toolFactories: {
|
|
6
|
-
"projects.list": (options: ToolClientOptions) =>
|
|
7
|
+
"projects.list": (options: ToolClientOptions) => NeonTool<z.ZodType<{
|
|
7
8
|
search?: string | undefined;
|
|
8
9
|
org_id?: string | undefined;
|
|
9
10
|
limit?: number | undefined;
|
|
@@ -94,10 +95,10 @@ export declare const toolFactories: {
|
|
|
94
95
|
recoverable_until?: string | null | undefined;
|
|
95
96
|
effective_project_permission?: (import("@neon/sdk").ProjectPermissionLevel | null) | undefined;
|
|
96
97
|
}[]>;
|
|
97
|
-
"projects.count": (options: ToolClientOptions) =>
|
|
98
|
+
"projects.count": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
98
99
|
org_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
99
100
|
}, z.core.$strict>, "count_projects", number>;
|
|
100
|
-
"projects.get": (options: ToolClientOptions) =>
|
|
101
|
+
"projects.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
101
102
|
project_id: z.ZodString;
|
|
102
103
|
}, z.core.$strict>, "get_projects", {
|
|
103
104
|
data_storage_bytes_hour: number;
|
|
@@ -176,7 +177,7 @@ export declare const toolFactories: {
|
|
|
176
177
|
hipaa_enabled_at?: string | null | undefined;
|
|
177
178
|
effective_project_permission?: (import("@neon/sdk").ProjectPermissionLevel | null) | undefined;
|
|
178
179
|
}>;
|
|
179
|
-
"projects.create": (options: ToolClientOptions) =>
|
|
180
|
+
"projects.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
180
181
|
settings: z.ZodOptional<z.ZodObject<{
|
|
181
182
|
quota: z.ZodOptional<z.ZodObject<{
|
|
182
183
|
active_time_seconds: z.ZodOptional<z.ZodInt>;
|
|
@@ -310,7 +311,7 @@ export declare const toolFactories: {
|
|
|
310
311
|
hipaa_enabled_at?: string | null | undefined;
|
|
311
312
|
effective_project_permission?: (import("@neon/sdk").ProjectPermissionLevel | null) | undefined;
|
|
312
313
|
}>;
|
|
313
|
-
"projects.createAndConnect": (options: ToolClientOptions) =>
|
|
314
|
+
"projects.createAndConnect": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
314
315
|
pooled: z.ZodOptional<z.ZodBoolean>;
|
|
315
316
|
settings: z.ZodOptional<z.ZodObject<{
|
|
316
317
|
quota: z.ZodOptional<z.ZodObject<{
|
|
@@ -448,7 +449,7 @@ export declare const toolFactories: {
|
|
|
448
449
|
};
|
|
449
450
|
connectionString: string;
|
|
450
451
|
}>;
|
|
451
|
-
"projects.update": (options: ToolClientOptions) =>
|
|
452
|
+
"projects.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
452
453
|
project_id: z.ZodString;
|
|
453
454
|
settings: z.ZodOptional<z.ZodObject<{
|
|
454
455
|
quota: z.ZodOptional<z.ZodObject<{
|
|
@@ -567,7 +568,7 @@ export declare const toolFactories: {
|
|
|
567
568
|
hipaa_enabled_at?: string | null | undefined;
|
|
568
569
|
effective_project_permission?: (import("@neon/sdk").ProjectPermissionLevel | null) | undefined;
|
|
569
570
|
}>;
|
|
570
|
-
"projects.delete": (options: ToolClientOptions) =>
|
|
571
|
+
"projects.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
571
572
|
project_id: z.ZodString;
|
|
572
573
|
}, z.core.$strict>, "delete_projects", {
|
|
573
574
|
data_storage_bytes_hour: number;
|
|
@@ -646,7 +647,7 @@ export declare const toolFactories: {
|
|
|
646
647
|
hipaa_enabled_at?: string | null | undefined;
|
|
647
648
|
effective_project_permission?: (import("@neon/sdk").ProjectPermissionLevel | null) | undefined;
|
|
648
649
|
}>;
|
|
649
|
-
"projects.recover": (options: ToolClientOptions) =>
|
|
650
|
+
"projects.recover": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
650
651
|
project_id: z.ZodString;
|
|
651
652
|
}, z.core.$strict>, "recover_projects", {
|
|
652
653
|
data_storage_bytes_hour: number;
|
|
@@ -725,16 +726,16 @@ export declare const toolFactories: {
|
|
|
725
726
|
hipaa_enabled_at?: string | null | undefined;
|
|
726
727
|
effective_project_permission?: (import("@neon/sdk").ProjectPermissionLevel | null) | undefined;
|
|
727
728
|
}>;
|
|
728
|
-
"projects.transfer": (options: ToolClientOptions) =>
|
|
729
|
+
"projects.transfer": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
729
730
|
source_org_id: z.ZodString;
|
|
730
731
|
destination_org_id: z.ZodString;
|
|
731
732
|
project_ids: z.ZodArray<z.ZodString>;
|
|
732
733
|
}, z.core.$strict>, "transfer_projects", null>;
|
|
733
|
-
"projects.transferFromUser": (options: ToolClientOptions) =>
|
|
734
|
+
"projects.transferFromUser": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
734
735
|
destination_org_id: z.ZodString;
|
|
735
736
|
project_ids: z.ZodArray<z.ZodString>;
|
|
736
737
|
}, z.core.$strict>, "transfer_from_user_projects", null>;
|
|
737
|
-
"projects.permissions.list": (options: ToolClientOptions) =>
|
|
738
|
+
"projects.permissions.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
738
739
|
project_id: z.ZodString;
|
|
739
740
|
}, z.core.$strict>, "list_projects_permissions", {
|
|
740
741
|
id: string;
|
|
@@ -742,7 +743,7 @@ export declare const toolFactories: {
|
|
|
742
743
|
granted_at: string;
|
|
743
744
|
revoked_at?: string | null | undefined;
|
|
744
745
|
}[]>;
|
|
745
|
-
"projects.permissions.grant": (options: ToolClientOptions) =>
|
|
746
|
+
"projects.permissions.grant": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
746
747
|
project_id: z.ZodString;
|
|
747
748
|
email: z.ZodEmail;
|
|
748
749
|
}, z.core.$strict>, "grant_projects_permissions", {
|
|
@@ -751,7 +752,7 @@ export declare const toolFactories: {
|
|
|
751
752
|
granted_at: string;
|
|
752
753
|
revoked_at?: string | null | undefined;
|
|
753
754
|
}>;
|
|
754
|
-
"projects.permissions.revoke": (options: ToolClientOptions) =>
|
|
755
|
+
"projects.permissions.revoke": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
755
756
|
project_id: z.ZodString;
|
|
756
757
|
permission_id: z.ZodString;
|
|
757
758
|
}, z.core.$strict>, "revoke_projects_permissions", {
|
|
@@ -760,7 +761,7 @@ export declare const toolFactories: {
|
|
|
760
761
|
granted_at: string;
|
|
761
762
|
revoked_at?: string | null | undefined;
|
|
762
763
|
}>;
|
|
763
|
-
"projects.members.list": (options: ToolClientOptions) =>
|
|
764
|
+
"projects.members.list": (options: ToolClientOptions) => NeonTool<z.ZodType<{
|
|
764
765
|
project_id: string;
|
|
765
766
|
limit?: number | undefined;
|
|
766
767
|
}, {
|
|
@@ -784,7 +785,7 @@ export declare const toolFactories: {
|
|
|
784
785
|
effective_project_permission?: import("@neon/sdk").ProjectPermissionLevel | null | undefined;
|
|
785
786
|
grant_source?: import("@neon/sdk").ProjectMemberGrantSource | null | undefined;
|
|
786
787
|
}[]>;
|
|
787
|
-
"projects.members.setRole": (options: ToolClientOptions) =>
|
|
788
|
+
"projects.members.setRole": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
788
789
|
project_id: z.ZodString;
|
|
789
790
|
member_id: z.ZodUUID;
|
|
790
791
|
confirm_self_demotion: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -807,7 +808,7 @@ export declare const toolFactories: {
|
|
|
807
808
|
credential_rotation_recommended?: boolean | null | undefined;
|
|
808
809
|
org_api_key_rotation_recommended?: boolean | null | undefined;
|
|
809
810
|
}>;
|
|
810
|
-
"projects.members.removeRole": (options: ToolClientOptions) =>
|
|
811
|
+
"projects.members.removeRole": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
811
812
|
project_id: z.ZodString;
|
|
812
813
|
member_id: z.ZodUUID;
|
|
813
814
|
confirm_self_lockout: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -825,7 +826,7 @@ export declare const toolFactories: {
|
|
|
825
826
|
credential_rotation_recommended?: boolean | null | undefined;
|
|
826
827
|
org_api_key_rotation_recommended?: boolean | null | undefined;
|
|
827
828
|
}>;
|
|
828
|
-
"branches.list": (options: ToolClientOptions) =>
|
|
829
|
+
"branches.list": (options: ToolClientOptions) => NeonTool<z.ZodType<{
|
|
829
830
|
search?: string | undefined;
|
|
830
831
|
project_id: string;
|
|
831
832
|
sort_by?: "name" | "created_at" | "updated_at" | undefined;
|
|
@@ -896,7 +897,7 @@ export declare const toolFactories: {
|
|
|
896
897
|
deletion_method: "user" | "ttl";
|
|
897
898
|
} | null | undefined;
|
|
898
899
|
}[]>;
|
|
899
|
-
"branches.get": (options: ToolClientOptions) =>
|
|
900
|
+
"branches.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
900
901
|
project_id: z.ZodString;
|
|
901
902
|
branch_id: z.ZodString;
|
|
902
903
|
}, z.core.$strict>, "get_branches", {
|
|
@@ -942,7 +943,7 @@ export declare const toolFactories: {
|
|
|
942
943
|
deletion_method: "user" | "ttl";
|
|
943
944
|
} | null | undefined;
|
|
944
945
|
}>;
|
|
945
|
-
"branches.create": (options: ToolClientOptions) =>
|
|
946
|
+
"branches.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
946
947
|
project_id: z.ZodString;
|
|
947
948
|
name: z.ZodOptional<z.ZodString>;
|
|
948
949
|
parent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -995,7 +996,7 @@ export declare const toolFactories: {
|
|
|
995
996
|
deletion_method: "user" | "ttl";
|
|
996
997
|
} | null | undefined;
|
|
997
998
|
}>;
|
|
998
|
-
"branches.createAndConnect": (options: ToolClientOptions) =>
|
|
999
|
+
"branches.createAndConnect": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
999
1000
|
project_id: z.ZodString;
|
|
1000
1001
|
name: z.ZodOptional<z.ZodString>;
|
|
1001
1002
|
parent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1090,7 +1091,7 @@ export declare const toolFactories: {
|
|
|
1090
1091
|
};
|
|
1091
1092
|
connectionString: string;
|
|
1092
1093
|
}>;
|
|
1093
|
-
"branches.update": (options: ToolClientOptions) =>
|
|
1094
|
+
"branches.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1094
1095
|
project_id: z.ZodString;
|
|
1095
1096
|
branch_id: z.ZodString;
|
|
1096
1097
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1139,11 +1140,11 @@ export declare const toolFactories: {
|
|
|
1139
1140
|
deletion_method: "user" | "ttl";
|
|
1140
1141
|
} | null | undefined;
|
|
1141
1142
|
}>;
|
|
1142
|
-
"branches.delete": (options: ToolClientOptions) =>
|
|
1143
|
+
"branches.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1143
1144
|
project_id: z.ZodString;
|
|
1144
1145
|
branch_id: z.ZodString;
|
|
1145
1146
|
}, z.core.$strict>, "delete_branches", null>;
|
|
1146
|
-
"branches.getDefault": (options: ToolClientOptions) =>
|
|
1147
|
+
"branches.getDefault": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1147
1148
|
project_id: z.ZodString;
|
|
1148
1149
|
}, z.core.$strict>, "get_default_branches", {
|
|
1149
1150
|
id: string;
|
|
@@ -1188,7 +1189,7 @@ export declare const toolFactories: {
|
|
|
1188
1189
|
deletion_method: "user" | "ttl";
|
|
1189
1190
|
} | null | undefined;
|
|
1190
1191
|
}>;
|
|
1191
|
-
"branches.setDefault": (options: ToolClientOptions) =>
|
|
1192
|
+
"branches.setDefault": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1192
1193
|
project_id: z.ZodString;
|
|
1193
1194
|
branch_id: z.ZodString;
|
|
1194
1195
|
}, z.core.$strict>, "set_default_branches", {
|
|
@@ -1234,7 +1235,7 @@ export declare const toolFactories: {
|
|
|
1234
1235
|
deletion_method: "user" | "ttl";
|
|
1235
1236
|
} | null | undefined;
|
|
1236
1237
|
}>;
|
|
1237
|
-
"branches.resetFromParent": (options: ToolClientOptions) =>
|
|
1238
|
+
"branches.resetFromParent": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1238
1239
|
project_id: z.ZodString;
|
|
1239
1240
|
branch_id: z.ZodString;
|
|
1240
1241
|
preserve_under_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1281,7 +1282,7 @@ export declare const toolFactories: {
|
|
|
1281
1282
|
deletion_method: "user" | "ttl";
|
|
1282
1283
|
} | null | undefined;
|
|
1283
1284
|
}>;
|
|
1284
|
-
"branches.compareSchema": (options: ToolClientOptions) =>
|
|
1285
|
+
"branches.compareSchema": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1285
1286
|
project_id: z.ZodString;
|
|
1286
1287
|
branch_id: z.ZodString;
|
|
1287
1288
|
database_name: z.ZodString;
|
|
@@ -1293,12 +1294,12 @@ export declare const toolFactories: {
|
|
|
1293
1294
|
}, z.core.$strict>, "compare_schema_branches", {
|
|
1294
1295
|
diff?: string | null | undefined;
|
|
1295
1296
|
}>;
|
|
1296
|
-
"branches.finalizeRestore": (options: ToolClientOptions) =>
|
|
1297
|
+
"branches.finalizeRestore": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1297
1298
|
project_id: z.ZodString;
|
|
1298
1299
|
branch_id: z.ZodString;
|
|
1299
1300
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1300
1301
|
}, z.core.$strict>, "finalize_restore_branches", null>;
|
|
1301
|
-
"postgres.connectionString": (options: ToolClientOptions) =>
|
|
1302
|
+
"postgres.connectionString": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1302
1303
|
project_id: z.ZodString;
|
|
1303
1304
|
branch_id: z.ZodOptional<z.ZodString>;
|
|
1304
1305
|
endpoint_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1306,7 +1307,7 @@ export declare const toolFactories: {
|
|
|
1306
1307
|
role_name: z.ZodString;
|
|
1307
1308
|
pooled: z.ZodOptional<z.ZodBoolean>;
|
|
1308
1309
|
}, z.core.$strict>, "connection_string_postgres", string>;
|
|
1309
|
-
"postgres.endpoints.list": (options: ToolClientOptions) =>
|
|
1310
|
+
"postgres.endpoints.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1310
1311
|
project_id: z.ZodString;
|
|
1311
1312
|
}, z.core.$strict>, "list_postgres_endpoints", {
|
|
1312
1313
|
host: string;
|
|
@@ -1347,7 +1348,7 @@ export declare const toolFactories: {
|
|
|
1347
1348
|
provisioner: import("@neon/sdk").Provisioner;
|
|
1348
1349
|
compute_release_version?: string | null | undefined;
|
|
1349
1350
|
}[]>;
|
|
1350
|
-
"postgres.endpoints.listByBranch": (options: ToolClientOptions) =>
|
|
1351
|
+
"postgres.endpoints.listByBranch": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1351
1352
|
project_id: z.ZodString;
|
|
1352
1353
|
branch_id: z.ZodString;
|
|
1353
1354
|
}, z.core.$strict>, "list_by_branch_postgres_endpoints", {
|
|
@@ -1389,7 +1390,7 @@ export declare const toolFactories: {
|
|
|
1389
1390
|
provisioner: import("@neon/sdk").Provisioner;
|
|
1390
1391
|
compute_release_version?: string | null | undefined;
|
|
1391
1392
|
}[]>;
|
|
1392
|
-
"postgres.endpoints.get": (options: ToolClientOptions) =>
|
|
1393
|
+
"postgres.endpoints.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1393
1394
|
project_id: z.ZodString;
|
|
1394
1395
|
endpoint_id: z.ZodString;
|
|
1395
1396
|
}, z.core.$strict>, "get_postgres_endpoints", {
|
|
@@ -1431,7 +1432,7 @@ export declare const toolFactories: {
|
|
|
1431
1432
|
provisioner: import("@neon/sdk").Provisioner;
|
|
1432
1433
|
compute_release_version?: string | null | undefined;
|
|
1433
1434
|
}>;
|
|
1434
|
-
"postgres.endpoints.create": (options: ToolClientOptions) =>
|
|
1435
|
+
"postgres.endpoints.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1435
1436
|
project_id: z.ZodString;
|
|
1436
1437
|
branch_id: z.ZodString;
|
|
1437
1438
|
region_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1497,7 +1498,7 @@ export declare const toolFactories: {
|
|
|
1497
1498
|
provisioner: import("@neon/sdk").Provisioner;
|
|
1498
1499
|
compute_release_version?: string | null | undefined;
|
|
1499
1500
|
}>;
|
|
1500
|
-
"postgres.endpoints.update": (options: ToolClientOptions) =>
|
|
1501
|
+
"postgres.endpoints.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1501
1502
|
project_id: z.ZodString;
|
|
1502
1503
|
endpoint_id: z.ZodString;
|
|
1503
1504
|
branch_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1559,11 +1560,11 @@ export declare const toolFactories: {
|
|
|
1559
1560
|
provisioner: import("@neon/sdk").Provisioner;
|
|
1560
1561
|
compute_release_version?: string | null | undefined;
|
|
1561
1562
|
}>;
|
|
1562
|
-
"postgres.endpoints.delete": (options: ToolClientOptions) =>
|
|
1563
|
+
"postgres.endpoints.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1563
1564
|
project_id: z.ZodString;
|
|
1564
1565
|
endpoint_id: z.ZodString;
|
|
1565
1566
|
}, z.core.$strict>, "delete_postgres_endpoints", null>;
|
|
1566
|
-
"postgres.endpoints.start": (options: ToolClientOptions) =>
|
|
1567
|
+
"postgres.endpoints.start": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1567
1568
|
project_id: z.ZodString;
|
|
1568
1569
|
endpoint_id: z.ZodString;
|
|
1569
1570
|
}, z.core.$strict>, "start_postgres_endpoints", {
|
|
@@ -1605,7 +1606,7 @@ export declare const toolFactories: {
|
|
|
1605
1606
|
provisioner: import("@neon/sdk").Provisioner;
|
|
1606
1607
|
compute_release_version?: string | null | undefined;
|
|
1607
1608
|
}>;
|
|
1608
|
-
"postgres.endpoints.suspend": (options: ToolClientOptions) =>
|
|
1609
|
+
"postgres.endpoints.suspend": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1609
1610
|
project_id: z.ZodString;
|
|
1610
1611
|
endpoint_id: z.ZodString;
|
|
1611
1612
|
}, z.core.$strict>, "suspend_postgres_endpoints", {
|
|
@@ -1647,7 +1648,7 @@ export declare const toolFactories: {
|
|
|
1647
1648
|
provisioner: import("@neon/sdk").Provisioner;
|
|
1648
1649
|
compute_release_version?: string | null | undefined;
|
|
1649
1650
|
}>;
|
|
1650
|
-
"postgres.endpoints.restart": (options: ToolClientOptions) =>
|
|
1651
|
+
"postgres.endpoints.restart": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1651
1652
|
project_id: z.ZodString;
|
|
1652
1653
|
endpoint_id: z.ZodString;
|
|
1653
1654
|
}, z.core.$strict>, "restart_postgres_endpoints", {
|
|
@@ -1689,7 +1690,7 @@ export declare const toolFactories: {
|
|
|
1689
1690
|
provisioner: import("@neon/sdk").Provisioner;
|
|
1690
1691
|
compute_release_version?: string | null | undefined;
|
|
1691
1692
|
}>;
|
|
1692
|
-
"postgres.roles.list": (options: ToolClientOptions) =>
|
|
1693
|
+
"postgres.roles.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1693
1694
|
project_id: z.ZodString;
|
|
1694
1695
|
branch_id: z.ZodString;
|
|
1695
1696
|
}, z.core.$strict>, "list_postgres_roles", {
|
|
@@ -1701,7 +1702,7 @@ export declare const toolFactories: {
|
|
|
1701
1702
|
created_at: string;
|
|
1702
1703
|
updated_at: string;
|
|
1703
1704
|
}[]>;
|
|
1704
|
-
"postgres.roles.get": (options: ToolClientOptions) =>
|
|
1705
|
+
"postgres.roles.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1705
1706
|
project_id: z.ZodString;
|
|
1706
1707
|
branch_id: z.ZodString;
|
|
1707
1708
|
role_name: z.ZodString;
|
|
@@ -1714,7 +1715,7 @@ export declare const toolFactories: {
|
|
|
1714
1715
|
created_at: string;
|
|
1715
1716
|
updated_at: string;
|
|
1716
1717
|
}>;
|
|
1717
|
-
"postgres.roles.create": (options: ToolClientOptions) =>
|
|
1718
|
+
"postgres.roles.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1718
1719
|
project_id: z.ZodString;
|
|
1719
1720
|
branch_id: z.ZodString;
|
|
1720
1721
|
name: z.ZodString;
|
|
@@ -1735,12 +1736,12 @@ export declare const toolFactories: {
|
|
|
1735
1736
|
created_at: string;
|
|
1736
1737
|
updated_at: string;
|
|
1737
1738
|
}>;
|
|
1738
|
-
"postgres.roles.delete": (options: ToolClientOptions) =>
|
|
1739
|
+
"postgres.roles.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1739
1740
|
project_id: z.ZodString;
|
|
1740
1741
|
branch_id: z.ZodString;
|
|
1741
1742
|
role_name: z.ZodString;
|
|
1742
1743
|
}, z.core.$strict>, "delete_postgres_roles", null>;
|
|
1743
|
-
"postgres.roles.resetPassword": (options: ToolClientOptions) =>
|
|
1744
|
+
"postgres.roles.resetPassword": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1744
1745
|
project_id: z.ZodString;
|
|
1745
1746
|
branch_id: z.ZodString;
|
|
1746
1747
|
role_name: z.ZodString;
|
|
@@ -1753,7 +1754,7 @@ export declare const toolFactories: {
|
|
|
1753
1754
|
created_at: string;
|
|
1754
1755
|
updated_at: string;
|
|
1755
1756
|
}>;
|
|
1756
|
-
"postgres.databases.list": (options: ToolClientOptions) =>
|
|
1757
|
+
"postgres.databases.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1757
1758
|
project_id: z.ZodString;
|
|
1758
1759
|
branch_id: z.ZodString;
|
|
1759
1760
|
}, z.core.$strict>, "list_postgres_databases", {
|
|
@@ -1764,7 +1765,7 @@ export declare const toolFactories: {
|
|
|
1764
1765
|
created_at: string;
|
|
1765
1766
|
updated_at: string;
|
|
1766
1767
|
}[]>;
|
|
1767
|
-
"postgres.databases.get": (options: ToolClientOptions) =>
|
|
1768
|
+
"postgres.databases.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1768
1769
|
project_id: z.ZodString;
|
|
1769
1770
|
branch_id: z.ZodString;
|
|
1770
1771
|
database_name: z.ZodString;
|
|
@@ -1776,7 +1777,7 @@ export declare const toolFactories: {
|
|
|
1776
1777
|
created_at: string;
|
|
1777
1778
|
updated_at: string;
|
|
1778
1779
|
}>;
|
|
1779
|
-
"postgres.databases.create": (options: ToolClientOptions) =>
|
|
1780
|
+
"postgres.databases.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1780
1781
|
project_id: z.ZodString;
|
|
1781
1782
|
branch_id: z.ZodString;
|
|
1782
1783
|
name: z.ZodString;
|
|
@@ -1789,7 +1790,7 @@ export declare const toolFactories: {
|
|
|
1789
1790
|
created_at: string;
|
|
1790
1791
|
updated_at: string;
|
|
1791
1792
|
}>;
|
|
1792
|
-
"postgres.databases.update": (options: ToolClientOptions) =>
|
|
1793
|
+
"postgres.databases.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1793
1794
|
project_id: z.ZodString;
|
|
1794
1795
|
branch_id: z.ZodString;
|
|
1795
1796
|
database_name: z.ZodString;
|
|
@@ -1803,12 +1804,12 @@ export declare const toolFactories: {
|
|
|
1803
1804
|
created_at: string;
|
|
1804
1805
|
updated_at: string;
|
|
1805
1806
|
}>;
|
|
1806
|
-
"postgres.databases.delete": (options: ToolClientOptions) =>
|
|
1807
|
+
"postgres.databases.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1807
1808
|
project_id: z.ZodString;
|
|
1808
1809
|
branch_id: z.ZodString;
|
|
1809
1810
|
database_name: z.ZodString;
|
|
1810
1811
|
}, z.core.$strict>, "delete_postgres_databases", null>;
|
|
1811
|
-
"postgres.dataApi.get": (options: ToolClientOptions) =>
|
|
1812
|
+
"postgres.dataApi.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1812
1813
|
project_id: z.ZodString;
|
|
1813
1814
|
branch_id: z.ZodString;
|
|
1814
1815
|
database_name: z.ZodString;
|
|
@@ -1830,7 +1831,7 @@ export declare const toolFactories: {
|
|
|
1830
1831
|
available_schemas?: string[] | null | undefined;
|
|
1831
1832
|
observed_at?: string | null | undefined;
|
|
1832
1833
|
}>;
|
|
1833
|
-
"postgres.dataApi.create": (options: ToolClientOptions) =>
|
|
1834
|
+
"postgres.dataApi.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1834
1835
|
project_id: z.ZodString;
|
|
1835
1836
|
branch_id: z.ZodString;
|
|
1836
1837
|
database_name: z.ZodString;
|
|
@@ -1858,7 +1859,7 @@ export declare const toolFactories: {
|
|
|
1858
1859
|
}, z.core.$strict>, "create_postgres_data_api", {
|
|
1859
1860
|
url: string;
|
|
1860
1861
|
}>;
|
|
1861
|
-
"postgres.dataApi.update": (options: ToolClientOptions) =>
|
|
1862
|
+
"postgres.dataApi.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1862
1863
|
project_id: z.ZodString;
|
|
1863
1864
|
branch_id: z.ZodString;
|
|
1864
1865
|
database_name: z.ZodString;
|
|
@@ -1873,12 +1874,12 @@ export declare const toolFactories: {
|
|
|
1873
1874
|
server_cors_allowed_origins: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1874
1875
|
server_timing_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1875
1876
|
}, z.core.$strict>, "update_postgres_data_api", null>;
|
|
1876
|
-
"postgres.dataApi.delete": (options: ToolClientOptions) =>
|
|
1877
|
+
"postgres.dataApi.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1877
1878
|
project_id: z.ZodString;
|
|
1878
1879
|
branch_id: z.ZodString;
|
|
1879
1880
|
database_name: z.ZodString;
|
|
1880
1881
|
}, z.core.$strict>, "delete_postgres_data_api", null>;
|
|
1881
|
-
"storage.get": (options: ToolClientOptions) =>
|
|
1882
|
+
"storage.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1882
1883
|
project_id: z.ZodString;
|
|
1883
1884
|
branch_id: z.ZodString;
|
|
1884
1885
|
}, z.core.$strict>, "get_storage", {
|
|
@@ -1887,7 +1888,7 @@ export declare const toolFactories: {
|
|
|
1887
1888
|
region: string;
|
|
1888
1889
|
force_path_style: boolean;
|
|
1889
1890
|
}>;
|
|
1890
|
-
"storage.buckets.list": (options: ToolClientOptions) =>
|
|
1891
|
+
"storage.buckets.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1891
1892
|
project_id: z.ZodString;
|
|
1892
1893
|
branch_id: z.ZodString;
|
|
1893
1894
|
}, z.core.$strict>, "list_storage_buckets", {
|
|
@@ -1895,7 +1896,7 @@ export declare const toolFactories: {
|
|
|
1895
1896
|
access_level: import("@neon/sdk").BucketAccessLevel;
|
|
1896
1897
|
created_at: string;
|
|
1897
1898
|
}[]>;
|
|
1898
|
-
"storage.buckets.create": (options: ToolClientOptions) =>
|
|
1899
|
+
"storage.buckets.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1899
1900
|
project_id: z.ZodString;
|
|
1900
1901
|
branch_id: z.ZodString;
|
|
1901
1902
|
name: z.ZodString;
|
|
@@ -1908,12 +1909,12 @@ export declare const toolFactories: {
|
|
|
1908
1909
|
access_level: import("@neon/sdk").BucketAccessLevel;
|
|
1909
1910
|
created_at: string;
|
|
1910
1911
|
}>;
|
|
1911
|
-
"storage.buckets.delete": (options: ToolClientOptions) =>
|
|
1912
|
+
"storage.buckets.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1912
1913
|
project_id: z.ZodString;
|
|
1913
1914
|
branch_id: z.ZodString;
|
|
1914
1915
|
bucket_name: z.ZodString;
|
|
1915
1916
|
}, z.core.$strict>, "delete_storage_buckets", null>;
|
|
1916
|
-
"storage.objects.list": (options: ToolClientOptions) =>
|
|
1917
|
+
"storage.objects.list": (options: ToolClientOptions) => NeonTool<z.ZodType<{
|
|
1917
1918
|
project_id: string;
|
|
1918
1919
|
branch_id: string;
|
|
1919
1920
|
limit?: number | undefined;
|
|
@@ -1951,13 +1952,13 @@ export declare const toolFactories: {
|
|
|
1951
1952
|
}[];
|
|
1952
1953
|
prefix: string;
|
|
1953
1954
|
}>;
|
|
1954
|
-
"storage.objects.delete": (options: ToolClientOptions) =>
|
|
1955
|
+
"storage.objects.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1955
1956
|
project_id: z.ZodString;
|
|
1956
1957
|
branch_id: z.ZodString;
|
|
1957
1958
|
bucket_name: z.ZodString;
|
|
1958
1959
|
object_key: z.ZodString;
|
|
1959
1960
|
}, z.core.$strict>, "delete_storage_objects", null>;
|
|
1960
|
-
"storage.objects.deleteByPrefix": (options: ToolClientOptions) =>
|
|
1961
|
+
"storage.objects.deleteByPrefix": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1961
1962
|
project_id: z.ZodString;
|
|
1962
1963
|
branch_id: z.ZodString;
|
|
1963
1964
|
bucket_name: z.ZodString;
|
|
@@ -1965,7 +1966,7 @@ export declare const toolFactories: {
|
|
|
1965
1966
|
}, z.core.$strict>, "delete_by_prefix_storage_objects", {
|
|
1966
1967
|
deleted: number;
|
|
1967
1968
|
}>;
|
|
1968
|
-
"storage.objects.presign": (options: ToolClientOptions) =>
|
|
1969
|
+
"storage.objects.presign": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
1969
1970
|
project_id: z.ZodString;
|
|
1970
1971
|
branch_id: z.ZodString;
|
|
1971
1972
|
bucket_name: z.ZodString;
|
|
@@ -1984,7 +1985,7 @@ export declare const toolFactories: {
|
|
|
1984
1985
|
};
|
|
1985
1986
|
expires_at: string;
|
|
1986
1987
|
}>;
|
|
1987
|
-
"functions.list": (options: ToolClientOptions) =>
|
|
1988
|
+
"functions.list": (options: ToolClientOptions) => NeonTool<z.ZodType<{
|
|
1988
1989
|
project_id: string;
|
|
1989
1990
|
branch_id: string;
|
|
1990
1991
|
limit?: number | undefined;
|
|
@@ -2025,7 +2026,7 @@ export declare const toolFactories: {
|
|
|
2025
2026
|
} | null | undefined;
|
|
2026
2027
|
created_at: string;
|
|
2027
2028
|
}[]>;
|
|
2028
|
-
"functions.get": (options: ToolClientOptions) =>
|
|
2029
|
+
"functions.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2029
2030
|
project_id: z.ZodString;
|
|
2030
2031
|
branch_id: z.ZodString;
|
|
2031
2032
|
slug: z.ZodString;
|
|
@@ -2054,7 +2055,7 @@ export declare const toolFactories: {
|
|
|
2054
2055
|
} | null | undefined;
|
|
2055
2056
|
created_at: string;
|
|
2056
2057
|
}>;
|
|
2057
|
-
"functions.update": (options: ToolClientOptions) =>
|
|
2058
|
+
"functions.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2058
2059
|
project_id: z.ZodString;
|
|
2059
2060
|
branch_id: z.ZodString;
|
|
2060
2061
|
slug: z.ZodString;
|
|
@@ -2084,12 +2085,12 @@ export declare const toolFactories: {
|
|
|
2084
2085
|
} | null | undefined;
|
|
2085
2086
|
created_at: string;
|
|
2086
2087
|
}>;
|
|
2087
|
-
"functions.delete": (options: ToolClientOptions) =>
|
|
2088
|
+
"functions.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2088
2089
|
project_id: z.ZodString;
|
|
2089
2090
|
branch_id: z.ZodString;
|
|
2090
2091
|
slug: z.ZodString;
|
|
2091
2092
|
}, z.core.$strict>, "delete_functions", null>;
|
|
2092
|
-
"functions.deploy": (options: ToolClientOptions) =>
|
|
2093
|
+
"functions.deploy": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2093
2094
|
project_id: z.ZodString;
|
|
2094
2095
|
branch_id: z.ZodString;
|
|
2095
2096
|
slug: z.ZodString;
|
|
@@ -2107,7 +2108,7 @@ export declare const toolFactories: {
|
|
|
2107
2108
|
environment?: string[] | null | undefined;
|
|
2108
2109
|
error?: string | null | undefined;
|
|
2109
2110
|
}>;
|
|
2110
|
-
"functions.customDomains.list": (options: ToolClientOptions) =>
|
|
2111
|
+
"functions.customDomains.list": (options: ToolClientOptions) => NeonTool<z.ZodType<{
|
|
2111
2112
|
project_id: string;
|
|
2112
2113
|
branch_id: string;
|
|
2113
2114
|
limit?: number | undefined;
|
|
@@ -2133,7 +2134,7 @@ export declare const toolFactories: {
|
|
|
2133
2134
|
binding_status?: string | null | undefined;
|
|
2134
2135
|
status_reason?: string | null | undefined;
|
|
2135
2136
|
}[]>;
|
|
2136
|
-
"functions.customDomains.register": (options: ToolClientOptions) =>
|
|
2137
|
+
"functions.customDomains.register": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2137
2138
|
project_id: z.ZodString;
|
|
2138
2139
|
branch_id: z.ZodString;
|
|
2139
2140
|
domain: z.ZodString;
|
|
@@ -2149,12 +2150,12 @@ export declare const toolFactories: {
|
|
|
2149
2150
|
binding_status?: string | null | undefined;
|
|
2150
2151
|
status_reason?: string | null | undefined;
|
|
2151
2152
|
}>;
|
|
2152
|
-
"functions.customDomains.delete": (options: ToolClientOptions) =>
|
|
2153
|
+
"functions.customDomains.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2153
2154
|
project_id: z.ZodString;
|
|
2154
2155
|
branch_id: z.ZodString;
|
|
2155
2156
|
domain: z.ZodString;
|
|
2156
2157
|
}, z.core.$strict>, "delete_functions_custom_domains", null>;
|
|
2157
|
-
"triggers.list": (options: ToolClientOptions) =>
|
|
2158
|
+
"triggers.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2158
2159
|
project_id: z.ZodString;
|
|
2159
2160
|
branch_id: z.ZodString;
|
|
2160
2161
|
}, z.core.$strict>, "list_triggers", ({
|
|
@@ -2184,7 +2185,7 @@ export declare const toolFactories: {
|
|
|
2184
2185
|
version: number;
|
|
2185
2186
|
inherited: boolean;
|
|
2186
2187
|
})[]>;
|
|
2187
|
-
"triggers.get": (options: ToolClientOptions) =>
|
|
2188
|
+
"triggers.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2188
2189
|
project_id: z.ZodString;
|
|
2189
2190
|
branch_id: z.ZodString;
|
|
2190
2191
|
trigger_id: z.ZodString;
|
|
@@ -2215,7 +2216,7 @@ export declare const toolFactories: {
|
|
|
2215
2216
|
version: number;
|
|
2216
2217
|
inherited: boolean;
|
|
2217
2218
|
}>;
|
|
2218
|
-
"triggers.create": (options: ToolClientOptions) =>
|
|
2219
|
+
"triggers.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2219
2220
|
project_id: z.ZodString;
|
|
2220
2221
|
branch_id: z.ZodString;
|
|
2221
2222
|
body: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2265,7 +2266,7 @@ export declare const toolFactories: {
|
|
|
2265
2266
|
version: number;
|
|
2266
2267
|
inherited: boolean;
|
|
2267
2268
|
}>;
|
|
2268
|
-
"triggers.update": (options: ToolClientOptions) =>
|
|
2269
|
+
"triggers.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2269
2270
|
project_id: z.ZodString;
|
|
2270
2271
|
branch_id: z.ZodString;
|
|
2271
2272
|
trigger_id: z.ZodString;
|
|
@@ -2316,12 +2317,12 @@ export declare const toolFactories: {
|
|
|
2316
2317
|
version: number;
|
|
2317
2318
|
inherited: boolean;
|
|
2318
2319
|
}>;
|
|
2319
|
-
"triggers.delete": (options: ToolClientOptions) =>
|
|
2320
|
+
"triggers.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2320
2321
|
project_id: z.ZodString;
|
|
2321
2322
|
branch_id: z.ZodString;
|
|
2322
2323
|
trigger_id: z.ZodString;
|
|
2323
2324
|
}, z.core.$strict>, "delete_triggers", null>;
|
|
2324
|
-
"credentials.list": (options: ToolClientOptions) =>
|
|
2325
|
+
"credentials.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2325
2326
|
project_id: z.ZodString;
|
|
2326
2327
|
branch_id: z.ZodString;
|
|
2327
2328
|
}, z.core.$strict>, "list_credentials", {
|
|
@@ -2337,7 +2338,7 @@ export declare const toolFactories: {
|
|
|
2337
2338
|
revoked_at?: string | null | undefined;
|
|
2338
2339
|
expires_at?: string | null | undefined;
|
|
2339
2340
|
}[]>;
|
|
2340
|
-
"credentials.create": (options: ToolClientOptions) =>
|
|
2341
|
+
"credentials.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2341
2342
|
project_id: z.ZodString;
|
|
2342
2343
|
branch_id: z.ZodString;
|
|
2343
2344
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2361,12 +2362,12 @@ export declare const toolFactories: {
|
|
|
2361
2362
|
created_at: string;
|
|
2362
2363
|
expires_at?: string | null | undefined;
|
|
2363
2364
|
}>;
|
|
2364
|
-
"credentials.revoke": (options: ToolClientOptions) =>
|
|
2365
|
+
"credentials.revoke": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2365
2366
|
project_id: z.ZodString;
|
|
2366
2367
|
branch_id: z.ZodString;
|
|
2367
2368
|
token_id: z.ZodString;
|
|
2368
2369
|
}, z.core.$strict>, "revoke_credentials", null>;
|
|
2369
|
-
"credentials.rotate": (options: ToolClientOptions) =>
|
|
2370
|
+
"credentials.rotate": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2370
2371
|
project_id: z.ZodString;
|
|
2371
2372
|
branch_id: z.ZodString;
|
|
2372
2373
|
token_id: z.ZodString;
|
|
@@ -2382,14 +2383,14 @@ export declare const toolFactories: {
|
|
|
2382
2383
|
created_at: string;
|
|
2383
2384
|
expires_at?: string | null | undefined;
|
|
2384
2385
|
}>;
|
|
2385
|
-
"aiGateway.get": (options: ToolClientOptions) =>
|
|
2386
|
+
"aiGateway.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2386
2387
|
project_id: z.ZodString;
|
|
2387
2388
|
branch_id: z.ZodString;
|
|
2388
2389
|
}, z.core.$strict>, "get_ai_gateway", {
|
|
2389
2390
|
enabled: boolean;
|
|
2390
2391
|
base_url: string;
|
|
2391
2392
|
}>;
|
|
2392
|
-
"realtime.get": (options: ToolClientOptions) =>
|
|
2393
|
+
"realtime.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2393
2394
|
project_id: z.ZodString;
|
|
2394
2395
|
branch_id: z.ZodString;
|
|
2395
2396
|
}, z.core.$strict>, "get_realtime", {
|
|
@@ -2399,27 +2400,27 @@ export declare const toolFactories: {
|
|
|
2399
2400
|
revision?: number | null | undefined;
|
|
2400
2401
|
allowed_origins?: string[] | null | undefined;
|
|
2401
2402
|
}>;
|
|
2402
|
-
"realtime.enable": (options: ToolClientOptions) =>
|
|
2403
|
+
"realtime.enable": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2403
2404
|
project_id: z.ZodString;
|
|
2404
2405
|
branch_id: z.ZodString;
|
|
2405
2406
|
allowed_origins: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2406
2407
|
}, z.core.$strict>, "enable_realtime", null>;
|
|
2407
|
-
"realtime.disable": (options: ToolClientOptions) =>
|
|
2408
|
+
"realtime.disable": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2408
2409
|
project_id: z.ZodString;
|
|
2409
2410
|
branch_id: z.ZodString;
|
|
2410
2411
|
}, z.core.$strict>, "disable_realtime", null>;
|
|
2411
|
-
"realtime.secret": (options: ToolClientOptions) =>
|
|
2412
|
+
"realtime.secret": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2412
2413
|
project_id: z.ZodString;
|
|
2413
2414
|
branch_id: z.ZodString;
|
|
2414
2415
|
}, z.core.$strict>, "secret_realtime", {
|
|
2415
2416
|
secret: string;
|
|
2416
2417
|
pending: boolean;
|
|
2417
2418
|
}>;
|
|
2418
|
-
"realtime.rotateSecret": (options: ToolClientOptions) =>
|
|
2419
|
+
"realtime.rotateSecret": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2419
2420
|
project_id: z.ZodString;
|
|
2420
2421
|
branch_id: z.ZodString;
|
|
2421
2422
|
}, z.core.$strict>, "rotate_secret_realtime", null>;
|
|
2422
|
-
"logs.query": (options: ToolClientOptions) =>
|
|
2423
|
+
"logs.query": (options: ToolClientOptions) => NeonTool<z.ZodType<{
|
|
2423
2424
|
project_id: string;
|
|
2424
2425
|
branch_id: string;
|
|
2425
2426
|
start_time?: string | undefined;
|
|
@@ -2498,11 +2499,11 @@ export declare const toolFactories: {
|
|
|
2498
2499
|
[x: string]: unknown;
|
|
2499
2500
|
};
|
|
2500
2501
|
}[]>;
|
|
2501
|
-
"logs.fields": (options: ToolClientOptions) =>
|
|
2502
|
+
"logs.fields": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2502
2503
|
project_id: z.ZodString;
|
|
2503
2504
|
branch_id: z.ZodString;
|
|
2504
2505
|
}, z.core.$strict>, "fields_logs", string[]>;
|
|
2505
|
-
"logs.fieldValues": (options: ToolClientOptions) =>
|
|
2506
|
+
"logs.fieldValues": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2506
2507
|
project_id: z.ZodString;
|
|
2507
2508
|
branch_id: z.ZodString;
|
|
2508
2509
|
field_name: z.ZodString;
|
|
@@ -2519,7 +2520,32 @@ export declare const toolFactories: {
|
|
|
2519
2520
|
values: string[];
|
|
2520
2521
|
is_truncated: boolean;
|
|
2521
2522
|
}>;
|
|
2522
|
-
"
|
|
2523
|
+
"logs.loki.queryRange": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2524
|
+
project_id: z.ZodString;
|
|
2525
|
+
branch_id: z.ZodString;
|
|
2526
|
+
query: z.ZodString;
|
|
2527
|
+
since: z.ZodOptional<z.ZodString>;
|
|
2528
|
+
start: z.ZodOptional<z.ZodString>;
|
|
2529
|
+
end: z.ZodOptional<z.ZodString>;
|
|
2530
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2531
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
2532
|
+
forward: "forward";
|
|
2533
|
+
backward: "backward";
|
|
2534
|
+
}>>;
|
|
2535
|
+
}, z.core.$strict>, "query_range_logs_loki", {
|
|
2536
|
+
status: "success";
|
|
2537
|
+
data: {
|
|
2538
|
+
resultType: "streams";
|
|
2539
|
+
result: {
|
|
2540
|
+
stream: {
|
|
2541
|
+
[x: string]: string;
|
|
2542
|
+
};
|
|
2543
|
+
values: string[][];
|
|
2544
|
+
}[];
|
|
2545
|
+
};
|
|
2546
|
+
warnings?: string[] | null | undefined;
|
|
2547
|
+
}>;
|
|
2548
|
+
"snapshots.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2523
2549
|
project_id: z.ZodString;
|
|
2524
2550
|
}, z.core.$strict>, "list_snapshots", {
|
|
2525
2551
|
id: string;
|
|
@@ -2533,7 +2559,7 @@ export declare const toolFactories: {
|
|
|
2533
2559
|
full_size?: number | null | undefined;
|
|
2534
2560
|
diff_size?: number | null | undefined;
|
|
2535
2561
|
}[]>;
|
|
2536
|
-
"snapshots.create": (options: ToolClientOptions) =>
|
|
2562
|
+
"snapshots.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2537
2563
|
project_id: z.ZodString;
|
|
2538
2564
|
branch_id: z.ZodString;
|
|
2539
2565
|
lsn: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -2552,7 +2578,7 @@ export declare const toolFactories: {
|
|
|
2552
2578
|
full_size?: number | null | undefined;
|
|
2553
2579
|
diff_size?: number | null | undefined;
|
|
2554
2580
|
}>;
|
|
2555
|
-
"snapshots.update": (options: ToolClientOptions) =>
|
|
2581
|
+
"snapshots.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2556
2582
|
project_id: z.ZodString;
|
|
2557
2583
|
snapshot_id: z.ZodString;
|
|
2558
2584
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2569,11 +2595,11 @@ export declare const toolFactories: {
|
|
|
2569
2595
|
full_size?: number | null | undefined;
|
|
2570
2596
|
diff_size?: number | null | undefined;
|
|
2571
2597
|
}>;
|
|
2572
|
-
"snapshots.delete": (options: ToolClientOptions) =>
|
|
2598
|
+
"snapshots.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2573
2599
|
project_id: z.ZodString;
|
|
2574
2600
|
snapshot_id: z.ZodString;
|
|
2575
2601
|
}, z.core.$strict>, "delete_snapshots", null>;
|
|
2576
|
-
"snapshots.restore": (options: ToolClientOptions) =>
|
|
2602
|
+
"snapshots.restore": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2577
2603
|
project_id: z.ZodString;
|
|
2578
2604
|
snapshot_id: z.ZodString;
|
|
2579
2605
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2622,7 +2648,7 @@ export declare const toolFactories: {
|
|
|
2622
2648
|
deletion_method: "user" | "ttl";
|
|
2623
2649
|
} | null | undefined;
|
|
2624
2650
|
}>;
|
|
2625
|
-
"snapshots.getSchedule": (options: ToolClientOptions) =>
|
|
2651
|
+
"snapshots.getSchedule": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2626
2652
|
project_id: z.ZodString;
|
|
2627
2653
|
branch_id: z.ZodString;
|
|
2628
2654
|
}, z.core.$strict>, "get_schedule_snapshots", {
|
|
@@ -2634,7 +2660,7 @@ export declare const toolFactories: {
|
|
|
2634
2660
|
retention_seconds?: number | null | undefined;
|
|
2635
2661
|
}[];
|
|
2636
2662
|
}>;
|
|
2637
|
-
"snapshots.setSchedule": (options: ToolClientOptions) =>
|
|
2663
|
+
"snapshots.setSchedule": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2638
2664
|
project_id: z.ZodString;
|
|
2639
2665
|
branch_id: z.ZodString;
|
|
2640
2666
|
schedule: z.ZodArray<z.ZodObject<{
|
|
@@ -2649,7 +2675,7 @@ export declare const toolFactories: {
|
|
|
2649
2675
|
retention_seconds: z.ZodOptional<z.ZodInt>;
|
|
2650
2676
|
}, z.core.$strict>>;
|
|
2651
2677
|
}, z.core.$strict>, "set_schedule_snapshots", null>;
|
|
2652
|
-
"operations.list": (options: ToolClientOptions) =>
|
|
2678
|
+
"operations.list": (options: ToolClientOptions) => NeonTool<z.ZodType<{
|
|
2653
2679
|
project_id: string;
|
|
2654
2680
|
limit?: number | undefined;
|
|
2655
2681
|
}, {
|
|
@@ -2675,7 +2701,7 @@ export declare const toolFactories: {
|
|
|
2675
2701
|
updated_at: string;
|
|
2676
2702
|
total_duration_ms: number;
|
|
2677
2703
|
}[]>;
|
|
2678
|
-
"operations.get": (options: ToolClientOptions) =>
|
|
2704
|
+
"operations.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2679
2705
|
project_id: z.ZodString;
|
|
2680
2706
|
operation_id: z.ZodUUID;
|
|
2681
2707
|
}, z.core.$strict>, "get_operations", {
|
|
@@ -2692,7 +2718,7 @@ export declare const toolFactories: {
|
|
|
2692
2718
|
updated_at: string;
|
|
2693
2719
|
total_duration_ms: number;
|
|
2694
2720
|
}>;
|
|
2695
|
-
"auth.get": (options: ToolClientOptions) =>
|
|
2721
|
+
"auth.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2696
2722
|
project_id: z.ZodString;
|
|
2697
2723
|
branch_id: z.ZodString;
|
|
2698
2724
|
}, z.core.$strict>, "get_auth", {
|
|
@@ -2707,7 +2733,7 @@ export declare const toolFactories: {
|
|
|
2707
2733
|
base_url?: string | null | undefined;
|
|
2708
2734
|
name?: string | null | undefined;
|
|
2709
2735
|
}>;
|
|
2710
|
-
"auth.create": (options: ToolClientOptions) =>
|
|
2736
|
+
"auth.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2711
2737
|
project_id: z.ZodString;
|
|
2712
2738
|
branch_id: z.ZodString;
|
|
2713
2739
|
auth_provider: z.ZodEnum<{
|
|
@@ -2726,19 +2752,19 @@ export declare const toolFactories: {
|
|
|
2726
2752
|
table_name: string;
|
|
2727
2753
|
base_url?: string | null | undefined;
|
|
2728
2754
|
}>;
|
|
2729
|
-
"auth.disable": (options: ToolClientOptions) =>
|
|
2755
|
+
"auth.disable": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2730
2756
|
project_id: z.ZodString;
|
|
2731
2757
|
branch_id: z.ZodString;
|
|
2732
2758
|
delete_data: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2733
2759
|
}, z.core.$strict>, "disable_auth", null>;
|
|
2734
|
-
"auth.updateConfig": (options: ToolClientOptions) =>
|
|
2760
|
+
"auth.updateConfig": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2735
2761
|
project_id: z.ZodString;
|
|
2736
2762
|
branch_id: z.ZodString;
|
|
2737
2763
|
name: z.ZodString;
|
|
2738
2764
|
}, z.core.$strict>, "update_config_auth", {
|
|
2739
2765
|
name: string;
|
|
2740
2766
|
}>;
|
|
2741
|
-
"auth.oauthProviders.list": (options: ToolClientOptions) =>
|
|
2767
|
+
"auth.oauthProviders.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2742
2768
|
project_id: z.ZodString;
|
|
2743
2769
|
branch_id: z.ZodString;
|
|
2744
2770
|
}, z.core.$strict>, "list_auth_oauth_providers", {
|
|
@@ -2750,7 +2776,7 @@ export declare const toolFactories: {
|
|
|
2750
2776
|
apple_team_id?: string | null | undefined;
|
|
2751
2777
|
apple_key_id?: string | null | undefined;
|
|
2752
2778
|
}[]>;
|
|
2753
|
-
"auth.oauthProviders.add": (options: ToolClientOptions) =>
|
|
2779
|
+
"auth.oauthProviders.add": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2754
2780
|
project_id: z.ZodString;
|
|
2755
2781
|
branch_id: z.ZodString;
|
|
2756
2782
|
id: z.ZodEnum<{
|
|
@@ -2774,7 +2800,7 @@ export declare const toolFactories: {
|
|
|
2774
2800
|
apple_team_id?: string | null | undefined;
|
|
2775
2801
|
apple_key_id?: string | null | undefined;
|
|
2776
2802
|
}>;
|
|
2777
|
-
"auth.oauthProviders.update": (options: ToolClientOptions) =>
|
|
2803
|
+
"auth.oauthProviders.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2778
2804
|
project_id: z.ZodString;
|
|
2779
2805
|
branch_id: z.ZodString;
|
|
2780
2806
|
oauth_provider_id: z.ZodEnum<{
|
|
@@ -2798,7 +2824,7 @@ export declare const toolFactories: {
|
|
|
2798
2824
|
apple_team_id?: string | null | undefined;
|
|
2799
2825
|
apple_key_id?: string | null | undefined;
|
|
2800
2826
|
}>;
|
|
2801
|
-
"auth.oauthProviders.delete": (options: ToolClientOptions) =>
|
|
2827
|
+
"auth.oauthProviders.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2802
2828
|
project_id: z.ZodString;
|
|
2803
2829
|
branch_id: z.ZodString;
|
|
2804
2830
|
oauth_provider_id: z.ZodEnum<{
|
|
@@ -2809,7 +2835,7 @@ export declare const toolFactories: {
|
|
|
2809
2835
|
apple: "apple";
|
|
2810
2836
|
}>;
|
|
2811
2837
|
}, z.core.$strict>, "delete_auth_oauth_providers", null>;
|
|
2812
|
-
"auth.oauthServer.get": (options: ToolClientOptions) =>
|
|
2838
|
+
"auth.oauthServer.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2813
2839
|
project_id: z.ZodString;
|
|
2814
2840
|
branch_id: z.ZodString;
|
|
2815
2841
|
}, z.core.$strict>, "get_auth_oauth_server", {
|
|
@@ -2825,7 +2851,7 @@ export declare const toolFactories: {
|
|
|
2825
2851
|
identifier: string;
|
|
2826
2852
|
}[] | null | undefined;
|
|
2827
2853
|
}>;
|
|
2828
|
-
"auth.oauthServer.update": (options: ToolClientOptions) =>
|
|
2854
|
+
"auth.oauthServer.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2829
2855
|
project_id: z.ZodString;
|
|
2830
2856
|
branch_id: z.ZodString;
|
|
2831
2857
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2852,7 +2878,7 @@ export declare const toolFactories: {
|
|
|
2852
2878
|
identifier: string;
|
|
2853
2879
|
}[] | null | undefined;
|
|
2854
2880
|
}>;
|
|
2855
|
-
"auth.oauthClients.list": (options: ToolClientOptions) =>
|
|
2881
|
+
"auth.oauthClients.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2856
2882
|
project_id: z.ZodString;
|
|
2857
2883
|
branch_id: z.ZodString;
|
|
2858
2884
|
}, z.core.$strict>, "list_auth_oauth_clients", {
|
|
@@ -2865,7 +2891,7 @@ export declare const toolFactories: {
|
|
|
2865
2891
|
disabled: boolean;
|
|
2866
2892
|
created_at?: string | null | undefined;
|
|
2867
2893
|
}[]>;
|
|
2868
|
-
"auth.oauthClients.get": (options: ToolClientOptions) =>
|
|
2894
|
+
"auth.oauthClients.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2869
2895
|
project_id: z.ZodString;
|
|
2870
2896
|
branch_id: z.ZodString;
|
|
2871
2897
|
client_id: z.ZodString;
|
|
@@ -2879,7 +2905,7 @@ export declare const toolFactories: {
|
|
|
2879
2905
|
disabled: boolean;
|
|
2880
2906
|
created_at?: string | null | undefined;
|
|
2881
2907
|
}>;
|
|
2882
|
-
"auth.oauthClients.create": (options: ToolClientOptions) =>
|
|
2908
|
+
"auth.oauthClients.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2883
2909
|
project_id: z.ZodString;
|
|
2884
2910
|
branch_id: z.ZodString;
|
|
2885
2911
|
name: z.ZodString;
|
|
@@ -2901,7 +2927,7 @@ export declare const toolFactories: {
|
|
|
2901
2927
|
created_at?: string | null | undefined;
|
|
2902
2928
|
client_secret?: string | null | undefined;
|
|
2903
2929
|
}>;
|
|
2904
|
-
"auth.oauthClients.update": (options: ToolClientOptions) =>
|
|
2930
|
+
"auth.oauthClients.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2905
2931
|
project_id: z.ZodString;
|
|
2906
2932
|
branch_id: z.ZodString;
|
|
2907
2933
|
client_id: z.ZodString;
|
|
@@ -2920,12 +2946,12 @@ export declare const toolFactories: {
|
|
|
2920
2946
|
disabled: boolean;
|
|
2921
2947
|
created_at?: string | null | undefined;
|
|
2922
2948
|
}>;
|
|
2923
|
-
"auth.oauthClients.delete": (options: ToolClientOptions) =>
|
|
2949
|
+
"auth.oauthClients.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2924
2950
|
project_id: z.ZodString;
|
|
2925
2951
|
branch_id: z.ZodString;
|
|
2926
2952
|
client_id: z.ZodString;
|
|
2927
2953
|
}, z.core.$strict>, "delete_auth_oauth_clients", null>;
|
|
2928
|
-
"auth.oauthClients.rotateSecret": (options: ToolClientOptions) =>
|
|
2954
|
+
"auth.oauthClients.rotateSecret": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2929
2955
|
project_id: z.ZodString;
|
|
2930
2956
|
branch_id: z.ZodString;
|
|
2931
2957
|
client_id: z.ZodString;
|
|
@@ -2933,14 +2959,14 @@ export declare const toolFactories: {
|
|
|
2933
2959
|
client_id: string;
|
|
2934
2960
|
client_secret: string;
|
|
2935
2961
|
}>;
|
|
2936
|
-
"auth.trustedDomains.list": (options: ToolClientOptions) =>
|
|
2962
|
+
"auth.trustedDomains.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2937
2963
|
project_id: z.ZodString;
|
|
2938
2964
|
branch_id: z.ZodString;
|
|
2939
2965
|
}, z.core.$strict>, "list_auth_trusted_domains", {
|
|
2940
2966
|
domain: string;
|
|
2941
2967
|
auth_provider: import("@neon/sdk").NeonAuthSupportedAuthProvider;
|
|
2942
2968
|
}[]>;
|
|
2943
|
-
"auth.trustedDomains.add": (options: ToolClientOptions) =>
|
|
2969
|
+
"auth.trustedDomains.add": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2944
2970
|
project_id: z.ZodString;
|
|
2945
2971
|
branch_id: z.ZodString;
|
|
2946
2972
|
domain: z.ZodURL;
|
|
@@ -2950,7 +2976,7 @@ export declare const toolFactories: {
|
|
|
2950
2976
|
better_auth: "better_auth";
|
|
2951
2977
|
}>;
|
|
2952
2978
|
}, z.core.$strict>, "add_auth_trusted_domains", null>;
|
|
2953
|
-
"auth.trustedDomains.delete": (options: ToolClientOptions) =>
|
|
2979
|
+
"auth.trustedDomains.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2954
2980
|
project_id: z.ZodString;
|
|
2955
2981
|
branch_id: z.ZodString;
|
|
2956
2982
|
auth_provider: z.ZodEnum<{
|
|
@@ -2962,7 +2988,7 @@ export declare const toolFactories: {
|
|
|
2962
2988
|
domain: z.ZodURL;
|
|
2963
2989
|
}, z.core.$strict>>;
|
|
2964
2990
|
}, z.core.$strict>, "delete_auth_trusted_domains", null>;
|
|
2965
|
-
"auth.users.create": (options: ToolClientOptions) =>
|
|
2991
|
+
"auth.users.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2966
2992
|
project_id: z.ZodString;
|
|
2967
2993
|
branch_id: z.ZodString;
|
|
2968
2994
|
email: z.ZodEmail;
|
|
@@ -2970,12 +2996,12 @@ export declare const toolFactories: {
|
|
|
2970
2996
|
}, z.core.$strict>, "create_auth_users", {
|
|
2971
2997
|
id: string;
|
|
2972
2998
|
}>;
|
|
2973
|
-
"auth.users.delete": (options: ToolClientOptions) =>
|
|
2999
|
+
"auth.users.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2974
3000
|
project_id: z.ZodString;
|
|
2975
3001
|
branch_id: z.ZodString;
|
|
2976
3002
|
auth_user_id: z.ZodString;
|
|
2977
3003
|
}, z.core.$strict>, "delete_auth_users", null>;
|
|
2978
|
-
"auth.users.updateRole": (options: ToolClientOptions) =>
|
|
3004
|
+
"auth.users.updateRole": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2979
3005
|
project_id: z.ZodString;
|
|
2980
3006
|
branch_id: z.ZodString;
|
|
2981
3007
|
auth_user_id: z.ZodString;
|
|
@@ -2983,20 +3009,20 @@ export declare const toolFactories: {
|
|
|
2983
3009
|
}, z.core.$strict>, "update_role_auth_users", {
|
|
2984
3010
|
id: string;
|
|
2985
3011
|
}>;
|
|
2986
|
-
"auth.allowLocalhost.get": (options: ToolClientOptions) =>
|
|
3012
|
+
"auth.allowLocalhost.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2987
3013
|
project_id: z.ZodString;
|
|
2988
3014
|
branch_id: z.ZodString;
|
|
2989
3015
|
}, z.core.$strict>, "get_auth_allow_localhost", {
|
|
2990
3016
|
allow_localhost: boolean;
|
|
2991
3017
|
}>;
|
|
2992
|
-
"auth.allowLocalhost.update": (options: ToolClientOptions) =>
|
|
3018
|
+
"auth.allowLocalhost.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2993
3019
|
project_id: z.ZodString;
|
|
2994
3020
|
branch_id: z.ZodString;
|
|
2995
3021
|
allow_localhost: z.ZodBoolean;
|
|
2996
3022
|
}, z.core.$strict>, "update_auth_allow_localhost", {
|
|
2997
3023
|
allow_localhost: boolean;
|
|
2998
3024
|
}>;
|
|
2999
|
-
"auth.emailAndPassword.get": (options: ToolClientOptions) =>
|
|
3025
|
+
"auth.emailAndPassword.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3000
3026
|
project_id: z.ZodString;
|
|
3001
3027
|
branch_id: z.ZodString;
|
|
3002
3028
|
}, z.core.$strict>, "get_auth_email_and_password", {
|
|
@@ -3009,7 +3035,7 @@ export declare const toolFactories: {
|
|
|
3009
3035
|
disable_sign_up: boolean;
|
|
3010
3036
|
revoke_sessions_on_password_reset: boolean;
|
|
3011
3037
|
}>;
|
|
3012
|
-
"auth.emailAndPassword.update": (options: ToolClientOptions) =>
|
|
3038
|
+
"auth.emailAndPassword.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3013
3039
|
project_id: z.ZodString;
|
|
3014
3040
|
branch_id: z.ZodString;
|
|
3015
3041
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3033,7 +3059,7 @@ export declare const toolFactories: {
|
|
|
3033
3059
|
disable_sign_up: boolean;
|
|
3034
3060
|
revoke_sessions_on_password_reset: boolean;
|
|
3035
3061
|
}>;
|
|
3036
|
-
"auth.emailProvider.get": (options: ToolClientOptions) =>
|
|
3062
|
+
"auth.emailProvider.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3037
3063
|
project_id: z.ZodString;
|
|
3038
3064
|
branch_id: z.ZodString;
|
|
3039
3065
|
}, z.core.$strict>, "get_auth_email_provider", {
|
|
@@ -3049,7 +3075,7 @@ export declare const toolFactories: {
|
|
|
3049
3075
|
sender_email?: string | null | undefined;
|
|
3050
3076
|
sender_name?: string | null | undefined;
|
|
3051
3077
|
}>;
|
|
3052
|
-
"auth.emailProvider.update": (options: ToolClientOptions) =>
|
|
3078
|
+
"auth.emailProvider.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3053
3079
|
project_id: z.ZodString;
|
|
3054
3080
|
branch_id: z.ZodString;
|
|
3055
3081
|
body: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3078,7 +3104,7 @@ export declare const toolFactories: {
|
|
|
3078
3104
|
sender_email?: string | null | undefined;
|
|
3079
3105
|
sender_name?: string | null | undefined;
|
|
3080
3106
|
}>;
|
|
3081
|
-
"auth.emailProvider.sendTest": (options: ToolClientOptions) =>
|
|
3107
|
+
"auth.emailProvider.sendTest": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3082
3108
|
project_id: z.ZodString;
|
|
3083
3109
|
branch_id: z.ZodString;
|
|
3084
3110
|
recipient_email: z.ZodEmail;
|
|
@@ -3086,7 +3112,7 @@ export declare const toolFactories: {
|
|
|
3086
3112
|
success: boolean;
|
|
3087
3113
|
error_message?: string | null | undefined;
|
|
3088
3114
|
}>;
|
|
3089
|
-
"auth.plugins.get": (options: ToolClientOptions) =>
|
|
3115
|
+
"auth.plugins.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3090
3116
|
project_id: z.ZodString;
|
|
3091
3117
|
branch_id: z.ZodString;
|
|
3092
3118
|
}, z.core.$strict>, "get_auth_plugins", {
|
|
@@ -3153,7 +3179,7 @@ export declare const toolFactories: {
|
|
|
3153
3179
|
}[] | null | undefined;
|
|
3154
3180
|
allow_localhost?: boolean | null | undefined;
|
|
3155
3181
|
}>;
|
|
3156
|
-
"auth.plugins.magicLink.update": (options: ToolClientOptions) =>
|
|
3182
|
+
"auth.plugins.magicLink.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3157
3183
|
project_id: z.ZodString;
|
|
3158
3184
|
branch_id: z.ZodString;
|
|
3159
3185
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3164,7 +3190,7 @@ export declare const toolFactories: {
|
|
|
3164
3190
|
expires_in: number;
|
|
3165
3191
|
disable_sign_up: boolean;
|
|
3166
3192
|
}>;
|
|
3167
|
-
"auth.plugins.organization.update": (options: ToolClientOptions) =>
|
|
3193
|
+
"auth.plugins.organization.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3168
3194
|
project_id: z.ZodString;
|
|
3169
3195
|
branch_id: z.ZodString;
|
|
3170
3196
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3182,14 +3208,14 @@ export declare const toolFactories: {
|
|
|
3182
3208
|
creator_role: "admin" | "owner";
|
|
3183
3209
|
send_invitation_email: boolean;
|
|
3184
3210
|
}>;
|
|
3185
|
-
"auth.plugins.phoneNumber.get": (options: ToolClientOptions) =>
|
|
3211
|
+
"auth.plugins.phoneNumber.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3186
3212
|
project_id: z.ZodString;
|
|
3187
3213
|
branch_id: z.ZodString;
|
|
3188
3214
|
}, z.core.$strict>, "get_auth_plugins_phone_number", {
|
|
3189
3215
|
enabled: boolean;
|
|
3190
3216
|
otp_expires_in?: number | null | undefined;
|
|
3191
3217
|
}>;
|
|
3192
|
-
"auth.plugins.phoneNumber.update": (options: ToolClientOptions) =>
|
|
3218
|
+
"auth.plugins.phoneNumber.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3193
3219
|
project_id: z.ZodString;
|
|
3194
3220
|
branch_id: z.ZodString;
|
|
3195
3221
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3198,7 +3224,7 @@ export declare const toolFactories: {
|
|
|
3198
3224
|
enabled: boolean;
|
|
3199
3225
|
otp_expires_in?: number | null | undefined;
|
|
3200
3226
|
}>;
|
|
3201
|
-
"auth.webhooks.get": (options: ToolClientOptions) =>
|
|
3227
|
+
"auth.webhooks.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3202
3228
|
project_id: z.ZodString;
|
|
3203
3229
|
branch_id: z.ZodString;
|
|
3204
3230
|
}, z.core.$strict>, "get_auth_webhooks", {
|
|
@@ -3207,7 +3233,7 @@ export declare const toolFactories: {
|
|
|
3207
3233
|
enabled_events?: ("user.before_create" | "user.created" | "send.otp" | "send.magic_link" | "organization.invitation.created" | "organization.invitation.accepted" | "phone_number.verified")[] | null | undefined;
|
|
3208
3234
|
timeout_seconds?: number | null | undefined;
|
|
3209
3235
|
}>;
|
|
3210
|
-
"auth.webhooks.update": (options: ToolClientOptions) =>
|
|
3236
|
+
"auth.webhooks.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3211
3237
|
project_id: z.ZodString;
|
|
3212
3238
|
branch_id: z.ZodString;
|
|
3213
3239
|
enabled: z.ZodBoolean;
|
|
@@ -3228,7 +3254,7 @@ export declare const toolFactories: {
|
|
|
3228
3254
|
enabled_events?: ("user.before_create" | "user.created" | "send.otp" | "send.magic_link" | "organization.invitation.created" | "organization.invitation.accepted" | "phone_number.verified")[] | null | undefined;
|
|
3229
3255
|
timeout_seconds?: number | null | undefined;
|
|
3230
3256
|
}>;
|
|
3231
|
-
"consumption.perProject": (options: ToolClientOptions) =>
|
|
3257
|
+
"consumption.perProject": (options: ToolClientOptions) => NeonTool<z.ZodType<{
|
|
3232
3258
|
metrics?: string[] | undefined;
|
|
3233
3259
|
org_id?: string | undefined;
|
|
3234
3260
|
project_ids?: string[] | undefined;
|
|
@@ -3284,7 +3310,7 @@ export declare const toolFactories: {
|
|
|
3284
3310
|
}[];
|
|
3285
3311
|
}[];
|
|
3286
3312
|
}[]>;
|
|
3287
|
-
"consumption.perProjectV2": (options: ToolClientOptions) =>
|
|
3313
|
+
"consumption.perProjectV2": (options: ToolClientOptions) => NeonTool<z.ZodType<{
|
|
3288
3314
|
metrics: string[];
|
|
3289
3315
|
org_id: string;
|
|
3290
3316
|
project_ids?: string[] | undefined;
|
|
@@ -3333,7 +3359,7 @@ export declare const toolFactories: {
|
|
|
3333
3359
|
}[];
|
|
3334
3360
|
}[];
|
|
3335
3361
|
}[]>;
|
|
3336
|
-
"consumption.perBranchV2": (options: ToolClientOptions) =>
|
|
3362
|
+
"consumption.perBranchV2": (options: ToolClientOptions) => NeonTool<z.ZodType<{
|
|
3337
3363
|
metrics: string[];
|
|
3338
3364
|
org_id: string;
|
|
3339
3365
|
project_ids: string[];
|
|
@@ -3387,7 +3413,7 @@ export declare const toolFactories: {
|
|
|
3387
3413
|
}[];
|
|
3388
3414
|
}[];
|
|
3389
3415
|
}[]>;
|
|
3390
|
-
"apiKeys.list": (options: ToolClientOptions) =>
|
|
3416
|
+
"apiKeys.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{}, z.core.$strict>, "list_api_keys", {
|
|
3391
3417
|
id: number;
|
|
3392
3418
|
name: string;
|
|
3393
3419
|
created_at: string;
|
|
@@ -3399,7 +3425,7 @@ export declare const toolFactories: {
|
|
|
3399
3425
|
last_used_at?: string | null | undefined;
|
|
3400
3426
|
last_used_from_addr: string;
|
|
3401
3427
|
}[]>;
|
|
3402
|
-
"apiKeys.create": (options: ToolClientOptions) =>
|
|
3428
|
+
"apiKeys.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3403
3429
|
key_name: z.ZodString;
|
|
3404
3430
|
}, z.core.$strict>, "create_api_keys", {
|
|
3405
3431
|
id: number;
|
|
@@ -3408,7 +3434,7 @@ export declare const toolFactories: {
|
|
|
3408
3434
|
created_at: string;
|
|
3409
3435
|
created_by: string;
|
|
3410
3436
|
}>;
|
|
3411
|
-
"apiKeys.revoke": (options: ToolClientOptions) =>
|
|
3437
|
+
"apiKeys.revoke": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3412
3438
|
key_id: z.ZodInt;
|
|
3413
3439
|
}, z.core.$strict>, "revoke_api_keys", {
|
|
3414
3440
|
id: number;
|
|
@@ -3419,7 +3445,7 @@ export declare const toolFactories: {
|
|
|
3419
3445
|
last_used_from_addr: string;
|
|
3420
3446
|
revoked: boolean;
|
|
3421
3447
|
}>;
|
|
3422
|
-
"organizations.get": (options: ToolClientOptions) =>
|
|
3448
|
+
"organizations.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3423
3449
|
org_id: z.ZodString;
|
|
3424
3450
|
}, z.core.$strict>, "get_organizations", {
|
|
3425
3451
|
id: string;
|
|
@@ -3432,7 +3458,7 @@ export declare const toolFactories: {
|
|
|
3432
3458
|
allow_hipaa_projects?: boolean | null | undefined;
|
|
3433
3459
|
require_mfa?: boolean | null | undefined;
|
|
3434
3460
|
}>;
|
|
3435
|
-
"organizations.members.list": (options: ToolClientOptions) =>
|
|
3461
|
+
"organizations.members.list": (options: ToolClientOptions) => NeonTool<z.ZodType<{
|
|
3436
3462
|
org_id: string;
|
|
3437
3463
|
sort_by?: "email" | "role" | "joined_at" | undefined;
|
|
3438
3464
|
sort_order?: "asc" | "desc" | undefined;
|
|
@@ -3466,7 +3492,7 @@ export declare const toolFactories: {
|
|
|
3466
3492
|
deactivated_at?: string | null | undefined;
|
|
3467
3493
|
};
|
|
3468
3494
|
}[]>;
|
|
3469
|
-
"organizations.members.get": (options: ToolClientOptions) =>
|
|
3495
|
+
"organizations.members.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3470
3496
|
org_id: z.ZodString;
|
|
3471
3497
|
member_id: z.ZodUUID;
|
|
3472
3498
|
}, z.core.$strict>, "get_organizations_members", {
|
|
@@ -3476,7 +3502,7 @@ export declare const toolFactories: {
|
|
|
3476
3502
|
role: import("@neon/sdk").MemberRole;
|
|
3477
3503
|
joined_at?: string | null | undefined;
|
|
3478
3504
|
}>;
|
|
3479
|
-
"organizations.members.update": (options: ToolClientOptions) =>
|
|
3505
|
+
"organizations.members.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3480
3506
|
org_id: z.ZodString;
|
|
3481
3507
|
member_id: z.ZodUUID;
|
|
3482
3508
|
role: z.ZodEnum<{
|
|
@@ -3493,11 +3519,11 @@ export declare const toolFactories: {
|
|
|
3493
3519
|
role: import("@neon/sdk").MemberRole;
|
|
3494
3520
|
joined_at?: string | null | undefined;
|
|
3495
3521
|
}>;
|
|
3496
|
-
"organizations.members.remove": (options: ToolClientOptions) =>
|
|
3522
|
+
"organizations.members.remove": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3497
3523
|
org_id: z.ZodString;
|
|
3498
3524
|
member_id: z.ZodUUID;
|
|
3499
3525
|
}, z.core.$strict>, "remove_organizations_members", null>;
|
|
3500
|
-
"organizations.invitations.list": (options: ToolClientOptions) =>
|
|
3526
|
+
"organizations.invitations.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3501
3527
|
org_id: z.ZodString;
|
|
3502
3528
|
}, z.core.$strict>, "list_organizations_invitations", {
|
|
3503
3529
|
id: string;
|
|
@@ -3507,7 +3533,7 @@ export declare const toolFactories: {
|
|
|
3507
3533
|
invited_at: string;
|
|
3508
3534
|
role: import("@neon/sdk").MemberRole;
|
|
3509
3535
|
}[]>;
|
|
3510
|
-
"organizations.invitations.create": (options: ToolClientOptions) =>
|
|
3536
|
+
"organizations.invitations.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3511
3537
|
org_id: z.ZodString;
|
|
3512
3538
|
invitations: z.ZodArray<z.ZodObject<{
|
|
3513
3539
|
email: z.ZodEmail;
|
|
@@ -3527,21 +3553,21 @@ export declare const toolFactories: {
|
|
|
3527
3553
|
invited_at: string;
|
|
3528
3554
|
role: import("@neon/sdk").MemberRole;
|
|
3529
3555
|
}[]>;
|
|
3530
|
-
"organizations.spendingLimit.get": (options: ToolClientOptions) =>
|
|
3556
|
+
"organizations.spendingLimit.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3531
3557
|
org_id: z.ZodString;
|
|
3532
3558
|
}, z.core.$strict>, "get_organizations_spending_limit", {
|
|
3533
3559
|
spending_limit_cents: number | null;
|
|
3534
3560
|
}>;
|
|
3535
|
-
"organizations.spendingLimit.set": (options: ToolClientOptions) =>
|
|
3561
|
+
"organizations.spendingLimit.set": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3536
3562
|
org_id: z.ZodString;
|
|
3537
3563
|
spending_limit_cents: z.ZodInt;
|
|
3538
3564
|
}, z.core.$strict>, "set_organizations_spending_limit", {
|
|
3539
3565
|
spending_limit_cents: number | null;
|
|
3540
3566
|
}>;
|
|
3541
|
-
"organizations.spendingLimit.delete": (options: ToolClientOptions) =>
|
|
3567
|
+
"organizations.spendingLimit.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3542
3568
|
org_id: z.ZodString;
|
|
3543
3569
|
}, z.core.$strict>, "delete_organizations_spending_limit", null>;
|
|
3544
|
-
"organizations.apiKeys.list": (options: ToolClientOptions) =>
|
|
3570
|
+
"organizations.apiKeys.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3545
3571
|
org_id: z.ZodString;
|
|
3546
3572
|
}, z.core.$strict>, "list_organizations_api_keys", {
|
|
3547
3573
|
id: number;
|
|
@@ -3556,7 +3582,7 @@ export declare const toolFactories: {
|
|
|
3556
3582
|
last_used_from_addr: string;
|
|
3557
3583
|
project_id?: string | null | undefined;
|
|
3558
3584
|
}[]>;
|
|
3559
|
-
"organizations.apiKeys.create": (options: ToolClientOptions) =>
|
|
3585
|
+
"organizations.apiKeys.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3560
3586
|
org_id: z.ZodString;
|
|
3561
3587
|
key_name: z.ZodString;
|
|
3562
3588
|
project_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3568,7 +3594,7 @@ export declare const toolFactories: {
|
|
|
3568
3594
|
created_by: string;
|
|
3569
3595
|
project_id?: string | null | undefined;
|
|
3570
3596
|
}>;
|
|
3571
|
-
"organizations.apiKeys.revoke": (options: ToolClientOptions) =>
|
|
3597
|
+
"organizations.apiKeys.revoke": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3572
3598
|
org_id: z.ZodString;
|
|
3573
3599
|
key_id: z.ZodInt;
|
|
3574
3600
|
}, z.core.$strict>, "revoke_organizations_api_keys", {
|
|
@@ -3581,14 +3607,14 @@ export declare const toolFactories: {
|
|
|
3581
3607
|
revoked: boolean;
|
|
3582
3608
|
project_id?: string | null | undefined;
|
|
3583
3609
|
}>;
|
|
3584
|
-
"regions.list": (options: ToolClientOptions) =>
|
|
3610
|
+
"regions.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{}, z.core.$strict>, "list_regions", {
|
|
3585
3611
|
region_id: string;
|
|
3586
3612
|
name: string;
|
|
3587
3613
|
default: boolean;
|
|
3588
3614
|
geo_lat: string;
|
|
3589
3615
|
geo_long: string;
|
|
3590
3616
|
}[]>;
|
|
3591
|
-
"user.me": (options: ToolClientOptions) =>
|
|
3617
|
+
"user.me": (options: ToolClientOptions) => NeonTool<z.ZodObject<{}, z.core.$strict>, "me_user", {
|
|
3592
3618
|
active_seconds_limit: number;
|
|
3593
3619
|
billing_account?: {
|
|
3594
3620
|
state: import("@neon/sdk").BillingAccountState;
|
|
@@ -3644,7 +3670,7 @@ export declare const toolFactories: {
|
|
|
3644
3670
|
compute_seconds_limit?: number | null | undefined;
|
|
3645
3671
|
plan: string;
|
|
3646
3672
|
}>;
|
|
3647
|
-
"user.organizations": (options: ToolClientOptions) =>
|
|
3673
|
+
"user.organizations": (options: ToolClientOptions) => NeonTool<z.ZodObject<{}, z.core.$strict>, "organizations_user", {
|
|
3648
3674
|
id: string;
|
|
3649
3675
|
name: string;
|
|
3650
3676
|
handle: string;
|
|
@@ -3655,5 +3681,59 @@ export declare const toolFactories: {
|
|
|
3655
3681
|
allow_hipaa_projects?: boolean | null | undefined;
|
|
3656
3682
|
require_mfa?: boolean | null | undefined;
|
|
3657
3683
|
}[]>;
|
|
3684
|
+
"incidents.list": (options: ToolClientOptions) => {
|
|
3685
|
+
operationId: string;
|
|
3686
|
+
id: "list_incidents";
|
|
3687
|
+
title: string;
|
|
3688
|
+
description: string;
|
|
3689
|
+
inputSchema: z.ZodObject<{}, z.core.$strict>;
|
|
3690
|
+
annotations: {
|
|
3691
|
+
readOnlyHint: true;
|
|
3692
|
+
destructiveHint: false;
|
|
3693
|
+
idempotentHint: true;
|
|
3694
|
+
openWorldHint: true;
|
|
3695
|
+
};
|
|
3696
|
+
requiresApproval: false;
|
|
3697
|
+
metadata: {
|
|
3698
|
+
method: string;
|
|
3699
|
+
path: string;
|
|
3700
|
+
stability: string;
|
|
3701
|
+
deprecated: false;
|
|
3702
|
+
tags: string[];
|
|
3703
|
+
};
|
|
3704
|
+
execute(input: unknown, context?: NeonToolExecutionContext): Promise<import("../operation.js").NeonToolResult<{
|
|
3705
|
+
status: import("@neon/sdk").NeonServiceStatus;
|
|
3706
|
+
updated_at: string;
|
|
3707
|
+
status_page_url: "https://neonstatus.com";
|
|
3708
|
+
incidents: {
|
|
3709
|
+
id: string;
|
|
3710
|
+
name: string;
|
|
3711
|
+
state: import("@neon/sdk").NeonIncidentState;
|
|
3712
|
+
status: import("@neon/sdk").NeonServiceStatus;
|
|
3713
|
+
started_at: string;
|
|
3714
|
+
updated_at: string;
|
|
3715
|
+
latest_update: string;
|
|
3716
|
+
components: string[];
|
|
3717
|
+
regions: string[];
|
|
3718
|
+
url: string;
|
|
3719
|
+
}[];
|
|
3720
|
+
maintenance: {
|
|
3721
|
+
id: string;
|
|
3722
|
+
name: string;
|
|
3723
|
+
state: "active" | "pending";
|
|
3724
|
+
planned_start: string;
|
|
3725
|
+
planned_end: string;
|
|
3726
|
+
latest_update: string;
|
|
3727
|
+
components: string[];
|
|
3728
|
+
regions: string[];
|
|
3729
|
+
url: string;
|
|
3730
|
+
}[];
|
|
3731
|
+
affected_components: {
|
|
3732
|
+
name: string;
|
|
3733
|
+
status: import("@neon/sdk").NeonServiceStatus;
|
|
3734
|
+
regions: string[];
|
|
3735
|
+
}[];
|
|
3736
|
+
}>>;
|
|
3737
|
+
};
|
|
3658
3738
|
};
|
|
3659
3739
|
//# sourceMappingURL=catalog.d.ts.map
|