@neon/tools 2.10.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 +8 -0
- package/dist/lib/ergonomic/catalog.d.ts +208 -153
- package/dist/lib/ergonomic/catalog.d.ts.map +1 -1
- package/dist/lib/ergonomic/catalog.js +33 -1
- package/dist/lib/ergonomic/ids.d.ts +1 -1
- package/dist/lib/ergonomic/ids.d.ts.map +1 -1
- package/dist/lib/ergonomic/ids.js +2 -1
- 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,7 @@ export declare const toolFactories: {
|
|
|
2519
2520
|
values: string[];
|
|
2520
2521
|
is_truncated: boolean;
|
|
2521
2522
|
}>;
|
|
2522
|
-
"logs.loki.queryRange": (options: ToolClientOptions) =>
|
|
2523
|
+
"logs.loki.queryRange": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2523
2524
|
project_id: z.ZodString;
|
|
2524
2525
|
branch_id: z.ZodString;
|
|
2525
2526
|
query: z.ZodString;
|
|
@@ -2544,7 +2545,7 @@ export declare const toolFactories: {
|
|
|
2544
2545
|
};
|
|
2545
2546
|
warnings?: string[] | null | undefined;
|
|
2546
2547
|
}>;
|
|
2547
|
-
"snapshots.list": (options: ToolClientOptions) =>
|
|
2548
|
+
"snapshots.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2548
2549
|
project_id: z.ZodString;
|
|
2549
2550
|
}, z.core.$strict>, "list_snapshots", {
|
|
2550
2551
|
id: string;
|
|
@@ -2558,7 +2559,7 @@ export declare const toolFactories: {
|
|
|
2558
2559
|
full_size?: number | null | undefined;
|
|
2559
2560
|
diff_size?: number | null | undefined;
|
|
2560
2561
|
}[]>;
|
|
2561
|
-
"snapshots.create": (options: ToolClientOptions) =>
|
|
2562
|
+
"snapshots.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2562
2563
|
project_id: z.ZodString;
|
|
2563
2564
|
branch_id: z.ZodString;
|
|
2564
2565
|
lsn: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -2577,7 +2578,7 @@ export declare const toolFactories: {
|
|
|
2577
2578
|
full_size?: number | null | undefined;
|
|
2578
2579
|
diff_size?: number | null | undefined;
|
|
2579
2580
|
}>;
|
|
2580
|
-
"snapshots.update": (options: ToolClientOptions) =>
|
|
2581
|
+
"snapshots.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2581
2582
|
project_id: z.ZodString;
|
|
2582
2583
|
snapshot_id: z.ZodString;
|
|
2583
2584
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2594,11 +2595,11 @@ export declare const toolFactories: {
|
|
|
2594
2595
|
full_size?: number | null | undefined;
|
|
2595
2596
|
diff_size?: number | null | undefined;
|
|
2596
2597
|
}>;
|
|
2597
|
-
"snapshots.delete": (options: ToolClientOptions) =>
|
|
2598
|
+
"snapshots.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2598
2599
|
project_id: z.ZodString;
|
|
2599
2600
|
snapshot_id: z.ZodString;
|
|
2600
2601
|
}, z.core.$strict>, "delete_snapshots", null>;
|
|
2601
|
-
"snapshots.restore": (options: ToolClientOptions) =>
|
|
2602
|
+
"snapshots.restore": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2602
2603
|
project_id: z.ZodString;
|
|
2603
2604
|
snapshot_id: z.ZodString;
|
|
2604
2605
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2647,7 +2648,7 @@ export declare const toolFactories: {
|
|
|
2647
2648
|
deletion_method: "user" | "ttl";
|
|
2648
2649
|
} | null | undefined;
|
|
2649
2650
|
}>;
|
|
2650
|
-
"snapshots.getSchedule": (options: ToolClientOptions) =>
|
|
2651
|
+
"snapshots.getSchedule": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2651
2652
|
project_id: z.ZodString;
|
|
2652
2653
|
branch_id: z.ZodString;
|
|
2653
2654
|
}, z.core.$strict>, "get_schedule_snapshots", {
|
|
@@ -2659,7 +2660,7 @@ export declare const toolFactories: {
|
|
|
2659
2660
|
retention_seconds?: number | null | undefined;
|
|
2660
2661
|
}[];
|
|
2661
2662
|
}>;
|
|
2662
|
-
"snapshots.setSchedule": (options: ToolClientOptions) =>
|
|
2663
|
+
"snapshots.setSchedule": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2663
2664
|
project_id: z.ZodString;
|
|
2664
2665
|
branch_id: z.ZodString;
|
|
2665
2666
|
schedule: z.ZodArray<z.ZodObject<{
|
|
@@ -2674,7 +2675,7 @@ export declare const toolFactories: {
|
|
|
2674
2675
|
retention_seconds: z.ZodOptional<z.ZodInt>;
|
|
2675
2676
|
}, z.core.$strict>>;
|
|
2676
2677
|
}, z.core.$strict>, "set_schedule_snapshots", null>;
|
|
2677
|
-
"operations.list": (options: ToolClientOptions) =>
|
|
2678
|
+
"operations.list": (options: ToolClientOptions) => NeonTool<z.ZodType<{
|
|
2678
2679
|
project_id: string;
|
|
2679
2680
|
limit?: number | undefined;
|
|
2680
2681
|
}, {
|
|
@@ -2700,7 +2701,7 @@ export declare const toolFactories: {
|
|
|
2700
2701
|
updated_at: string;
|
|
2701
2702
|
total_duration_ms: number;
|
|
2702
2703
|
}[]>;
|
|
2703
|
-
"operations.get": (options: ToolClientOptions) =>
|
|
2704
|
+
"operations.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2704
2705
|
project_id: z.ZodString;
|
|
2705
2706
|
operation_id: z.ZodUUID;
|
|
2706
2707
|
}, z.core.$strict>, "get_operations", {
|
|
@@ -2717,7 +2718,7 @@ export declare const toolFactories: {
|
|
|
2717
2718
|
updated_at: string;
|
|
2718
2719
|
total_duration_ms: number;
|
|
2719
2720
|
}>;
|
|
2720
|
-
"auth.get": (options: ToolClientOptions) =>
|
|
2721
|
+
"auth.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2721
2722
|
project_id: z.ZodString;
|
|
2722
2723
|
branch_id: z.ZodString;
|
|
2723
2724
|
}, z.core.$strict>, "get_auth", {
|
|
@@ -2732,7 +2733,7 @@ export declare const toolFactories: {
|
|
|
2732
2733
|
base_url?: string | null | undefined;
|
|
2733
2734
|
name?: string | null | undefined;
|
|
2734
2735
|
}>;
|
|
2735
|
-
"auth.create": (options: ToolClientOptions) =>
|
|
2736
|
+
"auth.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2736
2737
|
project_id: z.ZodString;
|
|
2737
2738
|
branch_id: z.ZodString;
|
|
2738
2739
|
auth_provider: z.ZodEnum<{
|
|
@@ -2751,19 +2752,19 @@ export declare const toolFactories: {
|
|
|
2751
2752
|
table_name: string;
|
|
2752
2753
|
base_url?: string | null | undefined;
|
|
2753
2754
|
}>;
|
|
2754
|
-
"auth.disable": (options: ToolClientOptions) =>
|
|
2755
|
+
"auth.disable": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2755
2756
|
project_id: z.ZodString;
|
|
2756
2757
|
branch_id: z.ZodString;
|
|
2757
2758
|
delete_data: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2758
2759
|
}, z.core.$strict>, "disable_auth", null>;
|
|
2759
|
-
"auth.updateConfig": (options: ToolClientOptions) =>
|
|
2760
|
+
"auth.updateConfig": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2760
2761
|
project_id: z.ZodString;
|
|
2761
2762
|
branch_id: z.ZodString;
|
|
2762
2763
|
name: z.ZodString;
|
|
2763
2764
|
}, z.core.$strict>, "update_config_auth", {
|
|
2764
2765
|
name: string;
|
|
2765
2766
|
}>;
|
|
2766
|
-
"auth.oauthProviders.list": (options: ToolClientOptions) =>
|
|
2767
|
+
"auth.oauthProviders.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2767
2768
|
project_id: z.ZodString;
|
|
2768
2769
|
branch_id: z.ZodString;
|
|
2769
2770
|
}, z.core.$strict>, "list_auth_oauth_providers", {
|
|
@@ -2775,7 +2776,7 @@ export declare const toolFactories: {
|
|
|
2775
2776
|
apple_team_id?: string | null | undefined;
|
|
2776
2777
|
apple_key_id?: string | null | undefined;
|
|
2777
2778
|
}[]>;
|
|
2778
|
-
"auth.oauthProviders.add": (options: ToolClientOptions) =>
|
|
2779
|
+
"auth.oauthProviders.add": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2779
2780
|
project_id: z.ZodString;
|
|
2780
2781
|
branch_id: z.ZodString;
|
|
2781
2782
|
id: z.ZodEnum<{
|
|
@@ -2799,7 +2800,7 @@ export declare const toolFactories: {
|
|
|
2799
2800
|
apple_team_id?: string | null | undefined;
|
|
2800
2801
|
apple_key_id?: string | null | undefined;
|
|
2801
2802
|
}>;
|
|
2802
|
-
"auth.oauthProviders.update": (options: ToolClientOptions) =>
|
|
2803
|
+
"auth.oauthProviders.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2803
2804
|
project_id: z.ZodString;
|
|
2804
2805
|
branch_id: z.ZodString;
|
|
2805
2806
|
oauth_provider_id: z.ZodEnum<{
|
|
@@ -2823,7 +2824,7 @@ export declare const toolFactories: {
|
|
|
2823
2824
|
apple_team_id?: string | null | undefined;
|
|
2824
2825
|
apple_key_id?: string | null | undefined;
|
|
2825
2826
|
}>;
|
|
2826
|
-
"auth.oauthProviders.delete": (options: ToolClientOptions) =>
|
|
2827
|
+
"auth.oauthProviders.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2827
2828
|
project_id: z.ZodString;
|
|
2828
2829
|
branch_id: z.ZodString;
|
|
2829
2830
|
oauth_provider_id: z.ZodEnum<{
|
|
@@ -2834,7 +2835,7 @@ export declare const toolFactories: {
|
|
|
2834
2835
|
apple: "apple";
|
|
2835
2836
|
}>;
|
|
2836
2837
|
}, z.core.$strict>, "delete_auth_oauth_providers", null>;
|
|
2837
|
-
"auth.oauthServer.get": (options: ToolClientOptions) =>
|
|
2838
|
+
"auth.oauthServer.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2838
2839
|
project_id: z.ZodString;
|
|
2839
2840
|
branch_id: z.ZodString;
|
|
2840
2841
|
}, z.core.$strict>, "get_auth_oauth_server", {
|
|
@@ -2850,7 +2851,7 @@ export declare const toolFactories: {
|
|
|
2850
2851
|
identifier: string;
|
|
2851
2852
|
}[] | null | undefined;
|
|
2852
2853
|
}>;
|
|
2853
|
-
"auth.oauthServer.update": (options: ToolClientOptions) =>
|
|
2854
|
+
"auth.oauthServer.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2854
2855
|
project_id: z.ZodString;
|
|
2855
2856
|
branch_id: z.ZodString;
|
|
2856
2857
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2877,7 +2878,7 @@ export declare const toolFactories: {
|
|
|
2877
2878
|
identifier: string;
|
|
2878
2879
|
}[] | null | undefined;
|
|
2879
2880
|
}>;
|
|
2880
|
-
"auth.oauthClients.list": (options: ToolClientOptions) =>
|
|
2881
|
+
"auth.oauthClients.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2881
2882
|
project_id: z.ZodString;
|
|
2882
2883
|
branch_id: z.ZodString;
|
|
2883
2884
|
}, z.core.$strict>, "list_auth_oauth_clients", {
|
|
@@ -2890,7 +2891,7 @@ export declare const toolFactories: {
|
|
|
2890
2891
|
disabled: boolean;
|
|
2891
2892
|
created_at?: string | null | undefined;
|
|
2892
2893
|
}[]>;
|
|
2893
|
-
"auth.oauthClients.get": (options: ToolClientOptions) =>
|
|
2894
|
+
"auth.oauthClients.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2894
2895
|
project_id: z.ZodString;
|
|
2895
2896
|
branch_id: z.ZodString;
|
|
2896
2897
|
client_id: z.ZodString;
|
|
@@ -2904,7 +2905,7 @@ export declare const toolFactories: {
|
|
|
2904
2905
|
disabled: boolean;
|
|
2905
2906
|
created_at?: string | null | undefined;
|
|
2906
2907
|
}>;
|
|
2907
|
-
"auth.oauthClients.create": (options: ToolClientOptions) =>
|
|
2908
|
+
"auth.oauthClients.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2908
2909
|
project_id: z.ZodString;
|
|
2909
2910
|
branch_id: z.ZodString;
|
|
2910
2911
|
name: z.ZodString;
|
|
@@ -2926,7 +2927,7 @@ export declare const toolFactories: {
|
|
|
2926
2927
|
created_at?: string | null | undefined;
|
|
2927
2928
|
client_secret?: string | null | undefined;
|
|
2928
2929
|
}>;
|
|
2929
|
-
"auth.oauthClients.update": (options: ToolClientOptions) =>
|
|
2930
|
+
"auth.oauthClients.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2930
2931
|
project_id: z.ZodString;
|
|
2931
2932
|
branch_id: z.ZodString;
|
|
2932
2933
|
client_id: z.ZodString;
|
|
@@ -2945,12 +2946,12 @@ export declare const toolFactories: {
|
|
|
2945
2946
|
disabled: boolean;
|
|
2946
2947
|
created_at?: string | null | undefined;
|
|
2947
2948
|
}>;
|
|
2948
|
-
"auth.oauthClients.delete": (options: ToolClientOptions) =>
|
|
2949
|
+
"auth.oauthClients.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2949
2950
|
project_id: z.ZodString;
|
|
2950
2951
|
branch_id: z.ZodString;
|
|
2951
2952
|
client_id: z.ZodString;
|
|
2952
2953
|
}, z.core.$strict>, "delete_auth_oauth_clients", null>;
|
|
2953
|
-
"auth.oauthClients.rotateSecret": (options: ToolClientOptions) =>
|
|
2954
|
+
"auth.oauthClients.rotateSecret": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2954
2955
|
project_id: z.ZodString;
|
|
2955
2956
|
branch_id: z.ZodString;
|
|
2956
2957
|
client_id: z.ZodString;
|
|
@@ -2958,14 +2959,14 @@ export declare const toolFactories: {
|
|
|
2958
2959
|
client_id: string;
|
|
2959
2960
|
client_secret: string;
|
|
2960
2961
|
}>;
|
|
2961
|
-
"auth.trustedDomains.list": (options: ToolClientOptions) =>
|
|
2962
|
+
"auth.trustedDomains.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2962
2963
|
project_id: z.ZodString;
|
|
2963
2964
|
branch_id: z.ZodString;
|
|
2964
2965
|
}, z.core.$strict>, "list_auth_trusted_domains", {
|
|
2965
2966
|
domain: string;
|
|
2966
2967
|
auth_provider: import("@neon/sdk").NeonAuthSupportedAuthProvider;
|
|
2967
2968
|
}[]>;
|
|
2968
|
-
"auth.trustedDomains.add": (options: ToolClientOptions) =>
|
|
2969
|
+
"auth.trustedDomains.add": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2969
2970
|
project_id: z.ZodString;
|
|
2970
2971
|
branch_id: z.ZodString;
|
|
2971
2972
|
domain: z.ZodURL;
|
|
@@ -2975,7 +2976,7 @@ export declare const toolFactories: {
|
|
|
2975
2976
|
better_auth: "better_auth";
|
|
2976
2977
|
}>;
|
|
2977
2978
|
}, z.core.$strict>, "add_auth_trusted_domains", null>;
|
|
2978
|
-
"auth.trustedDomains.delete": (options: ToolClientOptions) =>
|
|
2979
|
+
"auth.trustedDomains.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2979
2980
|
project_id: z.ZodString;
|
|
2980
2981
|
branch_id: z.ZodString;
|
|
2981
2982
|
auth_provider: z.ZodEnum<{
|
|
@@ -2987,7 +2988,7 @@ export declare const toolFactories: {
|
|
|
2987
2988
|
domain: z.ZodURL;
|
|
2988
2989
|
}, z.core.$strict>>;
|
|
2989
2990
|
}, z.core.$strict>, "delete_auth_trusted_domains", null>;
|
|
2990
|
-
"auth.users.create": (options: ToolClientOptions) =>
|
|
2991
|
+
"auth.users.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2991
2992
|
project_id: z.ZodString;
|
|
2992
2993
|
branch_id: z.ZodString;
|
|
2993
2994
|
email: z.ZodEmail;
|
|
@@ -2995,12 +2996,12 @@ export declare const toolFactories: {
|
|
|
2995
2996
|
}, z.core.$strict>, "create_auth_users", {
|
|
2996
2997
|
id: string;
|
|
2997
2998
|
}>;
|
|
2998
|
-
"auth.users.delete": (options: ToolClientOptions) =>
|
|
2999
|
+
"auth.users.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
2999
3000
|
project_id: z.ZodString;
|
|
3000
3001
|
branch_id: z.ZodString;
|
|
3001
3002
|
auth_user_id: z.ZodString;
|
|
3002
3003
|
}, z.core.$strict>, "delete_auth_users", null>;
|
|
3003
|
-
"auth.users.updateRole": (options: ToolClientOptions) =>
|
|
3004
|
+
"auth.users.updateRole": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3004
3005
|
project_id: z.ZodString;
|
|
3005
3006
|
branch_id: z.ZodString;
|
|
3006
3007
|
auth_user_id: z.ZodString;
|
|
@@ -3008,20 +3009,20 @@ export declare const toolFactories: {
|
|
|
3008
3009
|
}, z.core.$strict>, "update_role_auth_users", {
|
|
3009
3010
|
id: string;
|
|
3010
3011
|
}>;
|
|
3011
|
-
"auth.allowLocalhost.get": (options: ToolClientOptions) =>
|
|
3012
|
+
"auth.allowLocalhost.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3012
3013
|
project_id: z.ZodString;
|
|
3013
3014
|
branch_id: z.ZodString;
|
|
3014
3015
|
}, z.core.$strict>, "get_auth_allow_localhost", {
|
|
3015
3016
|
allow_localhost: boolean;
|
|
3016
3017
|
}>;
|
|
3017
|
-
"auth.allowLocalhost.update": (options: ToolClientOptions) =>
|
|
3018
|
+
"auth.allowLocalhost.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3018
3019
|
project_id: z.ZodString;
|
|
3019
3020
|
branch_id: z.ZodString;
|
|
3020
3021
|
allow_localhost: z.ZodBoolean;
|
|
3021
3022
|
}, z.core.$strict>, "update_auth_allow_localhost", {
|
|
3022
3023
|
allow_localhost: boolean;
|
|
3023
3024
|
}>;
|
|
3024
|
-
"auth.emailAndPassword.get": (options: ToolClientOptions) =>
|
|
3025
|
+
"auth.emailAndPassword.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3025
3026
|
project_id: z.ZodString;
|
|
3026
3027
|
branch_id: z.ZodString;
|
|
3027
3028
|
}, z.core.$strict>, "get_auth_email_and_password", {
|
|
@@ -3034,7 +3035,7 @@ export declare const toolFactories: {
|
|
|
3034
3035
|
disable_sign_up: boolean;
|
|
3035
3036
|
revoke_sessions_on_password_reset: boolean;
|
|
3036
3037
|
}>;
|
|
3037
|
-
"auth.emailAndPassword.update": (options: ToolClientOptions) =>
|
|
3038
|
+
"auth.emailAndPassword.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3038
3039
|
project_id: z.ZodString;
|
|
3039
3040
|
branch_id: z.ZodString;
|
|
3040
3041
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3058,7 +3059,7 @@ export declare const toolFactories: {
|
|
|
3058
3059
|
disable_sign_up: boolean;
|
|
3059
3060
|
revoke_sessions_on_password_reset: boolean;
|
|
3060
3061
|
}>;
|
|
3061
|
-
"auth.emailProvider.get": (options: ToolClientOptions) =>
|
|
3062
|
+
"auth.emailProvider.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3062
3063
|
project_id: z.ZodString;
|
|
3063
3064
|
branch_id: z.ZodString;
|
|
3064
3065
|
}, z.core.$strict>, "get_auth_email_provider", {
|
|
@@ -3074,7 +3075,7 @@ export declare const toolFactories: {
|
|
|
3074
3075
|
sender_email?: string | null | undefined;
|
|
3075
3076
|
sender_name?: string | null | undefined;
|
|
3076
3077
|
}>;
|
|
3077
|
-
"auth.emailProvider.update": (options: ToolClientOptions) =>
|
|
3078
|
+
"auth.emailProvider.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3078
3079
|
project_id: z.ZodString;
|
|
3079
3080
|
branch_id: z.ZodString;
|
|
3080
3081
|
body: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3103,7 +3104,7 @@ export declare const toolFactories: {
|
|
|
3103
3104
|
sender_email?: string | null | undefined;
|
|
3104
3105
|
sender_name?: string | null | undefined;
|
|
3105
3106
|
}>;
|
|
3106
|
-
"auth.emailProvider.sendTest": (options: ToolClientOptions) =>
|
|
3107
|
+
"auth.emailProvider.sendTest": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3107
3108
|
project_id: z.ZodString;
|
|
3108
3109
|
branch_id: z.ZodString;
|
|
3109
3110
|
recipient_email: z.ZodEmail;
|
|
@@ -3111,7 +3112,7 @@ export declare const toolFactories: {
|
|
|
3111
3112
|
success: boolean;
|
|
3112
3113
|
error_message?: string | null | undefined;
|
|
3113
3114
|
}>;
|
|
3114
|
-
"auth.plugins.get": (options: ToolClientOptions) =>
|
|
3115
|
+
"auth.plugins.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3115
3116
|
project_id: z.ZodString;
|
|
3116
3117
|
branch_id: z.ZodString;
|
|
3117
3118
|
}, z.core.$strict>, "get_auth_plugins", {
|
|
@@ -3178,7 +3179,7 @@ export declare const toolFactories: {
|
|
|
3178
3179
|
}[] | null | undefined;
|
|
3179
3180
|
allow_localhost?: boolean | null | undefined;
|
|
3180
3181
|
}>;
|
|
3181
|
-
"auth.plugins.magicLink.update": (options: ToolClientOptions) =>
|
|
3182
|
+
"auth.plugins.magicLink.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3182
3183
|
project_id: z.ZodString;
|
|
3183
3184
|
branch_id: z.ZodString;
|
|
3184
3185
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3189,7 +3190,7 @@ export declare const toolFactories: {
|
|
|
3189
3190
|
expires_in: number;
|
|
3190
3191
|
disable_sign_up: boolean;
|
|
3191
3192
|
}>;
|
|
3192
|
-
"auth.plugins.organization.update": (options: ToolClientOptions) =>
|
|
3193
|
+
"auth.plugins.organization.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3193
3194
|
project_id: z.ZodString;
|
|
3194
3195
|
branch_id: z.ZodString;
|
|
3195
3196
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3207,14 +3208,14 @@ export declare const toolFactories: {
|
|
|
3207
3208
|
creator_role: "admin" | "owner";
|
|
3208
3209
|
send_invitation_email: boolean;
|
|
3209
3210
|
}>;
|
|
3210
|
-
"auth.plugins.phoneNumber.get": (options: ToolClientOptions) =>
|
|
3211
|
+
"auth.plugins.phoneNumber.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3211
3212
|
project_id: z.ZodString;
|
|
3212
3213
|
branch_id: z.ZodString;
|
|
3213
3214
|
}, z.core.$strict>, "get_auth_plugins_phone_number", {
|
|
3214
3215
|
enabled: boolean;
|
|
3215
3216
|
otp_expires_in?: number | null | undefined;
|
|
3216
3217
|
}>;
|
|
3217
|
-
"auth.plugins.phoneNumber.update": (options: ToolClientOptions) =>
|
|
3218
|
+
"auth.plugins.phoneNumber.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3218
3219
|
project_id: z.ZodString;
|
|
3219
3220
|
branch_id: z.ZodString;
|
|
3220
3221
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3223,7 +3224,7 @@ export declare const toolFactories: {
|
|
|
3223
3224
|
enabled: boolean;
|
|
3224
3225
|
otp_expires_in?: number | null | undefined;
|
|
3225
3226
|
}>;
|
|
3226
|
-
"auth.webhooks.get": (options: ToolClientOptions) =>
|
|
3227
|
+
"auth.webhooks.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3227
3228
|
project_id: z.ZodString;
|
|
3228
3229
|
branch_id: z.ZodString;
|
|
3229
3230
|
}, z.core.$strict>, "get_auth_webhooks", {
|
|
@@ -3232,7 +3233,7 @@ export declare const toolFactories: {
|
|
|
3232
3233
|
enabled_events?: ("user.before_create" | "user.created" | "send.otp" | "send.magic_link" | "organization.invitation.created" | "organization.invitation.accepted" | "phone_number.verified")[] | null | undefined;
|
|
3233
3234
|
timeout_seconds?: number | null | undefined;
|
|
3234
3235
|
}>;
|
|
3235
|
-
"auth.webhooks.update": (options: ToolClientOptions) =>
|
|
3236
|
+
"auth.webhooks.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3236
3237
|
project_id: z.ZodString;
|
|
3237
3238
|
branch_id: z.ZodString;
|
|
3238
3239
|
enabled: z.ZodBoolean;
|
|
@@ -3253,7 +3254,7 @@ export declare const toolFactories: {
|
|
|
3253
3254
|
enabled_events?: ("user.before_create" | "user.created" | "send.otp" | "send.magic_link" | "organization.invitation.created" | "organization.invitation.accepted" | "phone_number.verified")[] | null | undefined;
|
|
3254
3255
|
timeout_seconds?: number | null | undefined;
|
|
3255
3256
|
}>;
|
|
3256
|
-
"consumption.perProject": (options: ToolClientOptions) =>
|
|
3257
|
+
"consumption.perProject": (options: ToolClientOptions) => NeonTool<z.ZodType<{
|
|
3257
3258
|
metrics?: string[] | undefined;
|
|
3258
3259
|
org_id?: string | undefined;
|
|
3259
3260
|
project_ids?: string[] | undefined;
|
|
@@ -3309,7 +3310,7 @@ export declare const toolFactories: {
|
|
|
3309
3310
|
}[];
|
|
3310
3311
|
}[];
|
|
3311
3312
|
}[]>;
|
|
3312
|
-
"consumption.perProjectV2": (options: ToolClientOptions) =>
|
|
3313
|
+
"consumption.perProjectV2": (options: ToolClientOptions) => NeonTool<z.ZodType<{
|
|
3313
3314
|
metrics: string[];
|
|
3314
3315
|
org_id: string;
|
|
3315
3316
|
project_ids?: string[] | undefined;
|
|
@@ -3358,7 +3359,7 @@ export declare const toolFactories: {
|
|
|
3358
3359
|
}[];
|
|
3359
3360
|
}[];
|
|
3360
3361
|
}[]>;
|
|
3361
|
-
"consumption.perBranchV2": (options: ToolClientOptions) =>
|
|
3362
|
+
"consumption.perBranchV2": (options: ToolClientOptions) => NeonTool<z.ZodType<{
|
|
3362
3363
|
metrics: string[];
|
|
3363
3364
|
org_id: string;
|
|
3364
3365
|
project_ids: string[];
|
|
@@ -3412,7 +3413,7 @@ export declare const toolFactories: {
|
|
|
3412
3413
|
}[];
|
|
3413
3414
|
}[];
|
|
3414
3415
|
}[]>;
|
|
3415
|
-
"apiKeys.list": (options: ToolClientOptions) =>
|
|
3416
|
+
"apiKeys.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{}, z.core.$strict>, "list_api_keys", {
|
|
3416
3417
|
id: number;
|
|
3417
3418
|
name: string;
|
|
3418
3419
|
created_at: string;
|
|
@@ -3424,7 +3425,7 @@ export declare const toolFactories: {
|
|
|
3424
3425
|
last_used_at?: string | null | undefined;
|
|
3425
3426
|
last_used_from_addr: string;
|
|
3426
3427
|
}[]>;
|
|
3427
|
-
"apiKeys.create": (options: ToolClientOptions) =>
|
|
3428
|
+
"apiKeys.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3428
3429
|
key_name: z.ZodString;
|
|
3429
3430
|
}, z.core.$strict>, "create_api_keys", {
|
|
3430
3431
|
id: number;
|
|
@@ -3433,7 +3434,7 @@ export declare const toolFactories: {
|
|
|
3433
3434
|
created_at: string;
|
|
3434
3435
|
created_by: string;
|
|
3435
3436
|
}>;
|
|
3436
|
-
"apiKeys.revoke": (options: ToolClientOptions) =>
|
|
3437
|
+
"apiKeys.revoke": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3437
3438
|
key_id: z.ZodInt;
|
|
3438
3439
|
}, z.core.$strict>, "revoke_api_keys", {
|
|
3439
3440
|
id: number;
|
|
@@ -3444,7 +3445,7 @@ export declare const toolFactories: {
|
|
|
3444
3445
|
last_used_from_addr: string;
|
|
3445
3446
|
revoked: boolean;
|
|
3446
3447
|
}>;
|
|
3447
|
-
"organizations.get": (options: ToolClientOptions) =>
|
|
3448
|
+
"organizations.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3448
3449
|
org_id: z.ZodString;
|
|
3449
3450
|
}, z.core.$strict>, "get_organizations", {
|
|
3450
3451
|
id: string;
|
|
@@ -3457,7 +3458,7 @@ export declare const toolFactories: {
|
|
|
3457
3458
|
allow_hipaa_projects?: boolean | null | undefined;
|
|
3458
3459
|
require_mfa?: boolean | null | undefined;
|
|
3459
3460
|
}>;
|
|
3460
|
-
"organizations.members.list": (options: ToolClientOptions) =>
|
|
3461
|
+
"organizations.members.list": (options: ToolClientOptions) => NeonTool<z.ZodType<{
|
|
3461
3462
|
org_id: string;
|
|
3462
3463
|
sort_by?: "email" | "role" | "joined_at" | undefined;
|
|
3463
3464
|
sort_order?: "asc" | "desc" | undefined;
|
|
@@ -3491,7 +3492,7 @@ export declare const toolFactories: {
|
|
|
3491
3492
|
deactivated_at?: string | null | undefined;
|
|
3492
3493
|
};
|
|
3493
3494
|
}[]>;
|
|
3494
|
-
"organizations.members.get": (options: ToolClientOptions) =>
|
|
3495
|
+
"organizations.members.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3495
3496
|
org_id: z.ZodString;
|
|
3496
3497
|
member_id: z.ZodUUID;
|
|
3497
3498
|
}, z.core.$strict>, "get_organizations_members", {
|
|
@@ -3501,7 +3502,7 @@ export declare const toolFactories: {
|
|
|
3501
3502
|
role: import("@neon/sdk").MemberRole;
|
|
3502
3503
|
joined_at?: string | null | undefined;
|
|
3503
3504
|
}>;
|
|
3504
|
-
"organizations.members.update": (options: ToolClientOptions) =>
|
|
3505
|
+
"organizations.members.update": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3505
3506
|
org_id: z.ZodString;
|
|
3506
3507
|
member_id: z.ZodUUID;
|
|
3507
3508
|
role: z.ZodEnum<{
|
|
@@ -3518,11 +3519,11 @@ export declare const toolFactories: {
|
|
|
3518
3519
|
role: import("@neon/sdk").MemberRole;
|
|
3519
3520
|
joined_at?: string | null | undefined;
|
|
3520
3521
|
}>;
|
|
3521
|
-
"organizations.members.remove": (options: ToolClientOptions) =>
|
|
3522
|
+
"organizations.members.remove": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3522
3523
|
org_id: z.ZodString;
|
|
3523
3524
|
member_id: z.ZodUUID;
|
|
3524
3525
|
}, z.core.$strict>, "remove_organizations_members", null>;
|
|
3525
|
-
"organizations.invitations.list": (options: ToolClientOptions) =>
|
|
3526
|
+
"organizations.invitations.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3526
3527
|
org_id: z.ZodString;
|
|
3527
3528
|
}, z.core.$strict>, "list_organizations_invitations", {
|
|
3528
3529
|
id: string;
|
|
@@ -3532,7 +3533,7 @@ export declare const toolFactories: {
|
|
|
3532
3533
|
invited_at: string;
|
|
3533
3534
|
role: import("@neon/sdk").MemberRole;
|
|
3534
3535
|
}[]>;
|
|
3535
|
-
"organizations.invitations.create": (options: ToolClientOptions) =>
|
|
3536
|
+
"organizations.invitations.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3536
3537
|
org_id: z.ZodString;
|
|
3537
3538
|
invitations: z.ZodArray<z.ZodObject<{
|
|
3538
3539
|
email: z.ZodEmail;
|
|
@@ -3552,21 +3553,21 @@ export declare const toolFactories: {
|
|
|
3552
3553
|
invited_at: string;
|
|
3553
3554
|
role: import("@neon/sdk").MemberRole;
|
|
3554
3555
|
}[]>;
|
|
3555
|
-
"organizations.spendingLimit.get": (options: ToolClientOptions) =>
|
|
3556
|
+
"organizations.spendingLimit.get": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3556
3557
|
org_id: z.ZodString;
|
|
3557
3558
|
}, z.core.$strict>, "get_organizations_spending_limit", {
|
|
3558
3559
|
spending_limit_cents: number | null;
|
|
3559
3560
|
}>;
|
|
3560
|
-
"organizations.spendingLimit.set": (options: ToolClientOptions) =>
|
|
3561
|
+
"organizations.spendingLimit.set": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3561
3562
|
org_id: z.ZodString;
|
|
3562
3563
|
spending_limit_cents: z.ZodInt;
|
|
3563
3564
|
}, z.core.$strict>, "set_organizations_spending_limit", {
|
|
3564
3565
|
spending_limit_cents: number | null;
|
|
3565
3566
|
}>;
|
|
3566
|
-
"organizations.spendingLimit.delete": (options: ToolClientOptions) =>
|
|
3567
|
+
"organizations.spendingLimit.delete": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3567
3568
|
org_id: z.ZodString;
|
|
3568
3569
|
}, z.core.$strict>, "delete_organizations_spending_limit", null>;
|
|
3569
|
-
"organizations.apiKeys.list": (options: ToolClientOptions) =>
|
|
3570
|
+
"organizations.apiKeys.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3570
3571
|
org_id: z.ZodString;
|
|
3571
3572
|
}, z.core.$strict>, "list_organizations_api_keys", {
|
|
3572
3573
|
id: number;
|
|
@@ -3581,7 +3582,7 @@ export declare const toolFactories: {
|
|
|
3581
3582
|
last_used_from_addr: string;
|
|
3582
3583
|
project_id?: string | null | undefined;
|
|
3583
3584
|
}[]>;
|
|
3584
|
-
"organizations.apiKeys.create": (options: ToolClientOptions) =>
|
|
3585
|
+
"organizations.apiKeys.create": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3585
3586
|
org_id: z.ZodString;
|
|
3586
3587
|
key_name: z.ZodString;
|
|
3587
3588
|
project_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3593,7 +3594,7 @@ export declare const toolFactories: {
|
|
|
3593
3594
|
created_by: string;
|
|
3594
3595
|
project_id?: string | null | undefined;
|
|
3595
3596
|
}>;
|
|
3596
|
-
"organizations.apiKeys.revoke": (options: ToolClientOptions) =>
|
|
3597
|
+
"organizations.apiKeys.revoke": (options: ToolClientOptions) => NeonTool<z.ZodObject<{
|
|
3597
3598
|
org_id: z.ZodString;
|
|
3598
3599
|
key_id: z.ZodInt;
|
|
3599
3600
|
}, z.core.$strict>, "revoke_organizations_api_keys", {
|
|
@@ -3606,14 +3607,14 @@ export declare const toolFactories: {
|
|
|
3606
3607
|
revoked: boolean;
|
|
3607
3608
|
project_id?: string | null | undefined;
|
|
3608
3609
|
}>;
|
|
3609
|
-
"regions.list": (options: ToolClientOptions) =>
|
|
3610
|
+
"regions.list": (options: ToolClientOptions) => NeonTool<z.ZodObject<{}, z.core.$strict>, "list_regions", {
|
|
3610
3611
|
region_id: string;
|
|
3611
3612
|
name: string;
|
|
3612
3613
|
default: boolean;
|
|
3613
3614
|
geo_lat: string;
|
|
3614
3615
|
geo_long: string;
|
|
3615
3616
|
}[]>;
|
|
3616
|
-
"user.me": (options: ToolClientOptions) =>
|
|
3617
|
+
"user.me": (options: ToolClientOptions) => NeonTool<z.ZodObject<{}, z.core.$strict>, "me_user", {
|
|
3617
3618
|
active_seconds_limit: number;
|
|
3618
3619
|
billing_account?: {
|
|
3619
3620
|
state: import("@neon/sdk").BillingAccountState;
|
|
@@ -3669,7 +3670,7 @@ export declare const toolFactories: {
|
|
|
3669
3670
|
compute_seconds_limit?: number | null | undefined;
|
|
3670
3671
|
plan: string;
|
|
3671
3672
|
}>;
|
|
3672
|
-
"user.organizations": (options: ToolClientOptions) =>
|
|
3673
|
+
"user.organizations": (options: ToolClientOptions) => NeonTool<z.ZodObject<{}, z.core.$strict>, "organizations_user", {
|
|
3673
3674
|
id: string;
|
|
3674
3675
|
name: string;
|
|
3675
3676
|
handle: string;
|
|
@@ -3680,5 +3681,59 @@ export declare const toolFactories: {
|
|
|
3680
3681
|
allow_hipaa_projects?: boolean | null | undefined;
|
|
3681
3682
|
require_mfa?: boolean | null | undefined;
|
|
3682
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
|
+
};
|
|
3683
3738
|
};
|
|
3684
3739
|
//# sourceMappingURL=catalog.d.ts.map
|