@neon/tools 0.6.0 → 0.8.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 +26 -9
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/lib/ergonomic/bind.d.ts +4 -1
- package/dist/lib/ergonomic/bind.d.ts.map +1 -1
- package/dist/lib/ergonomic/bind.js +6 -1
- package/dist/lib/ergonomic/catalog.d.ts +157 -98
- package/dist/lib/ergonomic/catalog.d.ts.map +1 -1
- package/dist/lib/ergonomic/catalog.js +5 -3
- package/dist/lib/ergonomic/composed.d.ts +80 -6
- package/dist/lib/ergonomic/composed.d.ts.map +1 -1
- package/dist/lib/ergonomic/composed.js +64 -9
- 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 -0
- package/package.json +2 -2
|
@@ -27,7 +27,7 @@ export declare const toolFactories: {
|
|
|
27
27
|
limit?: number | undefined;
|
|
28
28
|
timeout?: number | undefined;
|
|
29
29
|
recoverable?: boolean | undefined;
|
|
30
|
-
}>>, "
|
|
30
|
+
}>>, "list_projects", {
|
|
31
31
|
id: string;
|
|
32
32
|
platform_id: string;
|
|
33
33
|
region_id: string;
|
|
@@ -96,7 +96,7 @@ export declare const toolFactories: {
|
|
|
96
96
|
}[]>;
|
|
97
97
|
"projects.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
98
98
|
project_id: z.ZodString;
|
|
99
|
-
}, z.core.$strict>, "
|
|
99
|
+
}, z.core.$strict>, "get_projects", {
|
|
100
100
|
data_storage_bytes_hour: number;
|
|
101
101
|
data_transfer_bytes: number;
|
|
102
102
|
written_data_bytes: number;
|
|
@@ -228,7 +228,7 @@ export declare const toolFactories: {
|
|
|
228
228
|
store_passwords: z.ZodOptional<z.ZodBoolean>;
|
|
229
229
|
history_retention_seconds: z.ZodOptional<z.ZodInt>;
|
|
230
230
|
org_id: z.ZodOptional<z.ZodString>;
|
|
231
|
-
}, z.core.$strict>, "
|
|
231
|
+
}, z.core.$strict>, "create_and_connect_projects", {
|
|
232
232
|
project: {
|
|
233
233
|
data_storage_bytes_hour: number;
|
|
234
234
|
data_transfer_bytes: number;
|
|
@@ -350,7 +350,7 @@ export declare const toolFactories: {
|
|
|
350
350
|
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
351
351
|
}, z.core.$strict>>;
|
|
352
352
|
history_retention_seconds: z.ZodOptional<z.ZodInt>;
|
|
353
|
-
}, z.core.$strict>, "
|
|
353
|
+
}, z.core.$strict>, "update_projects", {
|
|
354
354
|
data_storage_bytes_hour: number;
|
|
355
355
|
data_transfer_bytes: number;
|
|
356
356
|
written_data_bytes: number;
|
|
@@ -429,7 +429,7 @@ export declare const toolFactories: {
|
|
|
429
429
|
}>;
|
|
430
430
|
"projects.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
431
431
|
project_id: z.ZodString;
|
|
432
|
-
}, z.core.$strict>, "
|
|
432
|
+
}, z.core.$strict>, "delete_projects", {
|
|
433
433
|
data_storage_bytes_hour: number;
|
|
434
434
|
data_transfer_bytes: number;
|
|
435
435
|
written_data_bytes: number;
|
|
@@ -508,7 +508,7 @@ export declare const toolFactories: {
|
|
|
508
508
|
}>;
|
|
509
509
|
"projects.recover": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
510
510
|
project_id: z.ZodString;
|
|
511
|
-
}, z.core.$strict>, "
|
|
511
|
+
}, z.core.$strict>, "recover_projects", {
|
|
512
512
|
data_storage_bytes_hour: number;
|
|
513
513
|
data_transfer_bytes: number;
|
|
514
514
|
written_data_bytes: number;
|
|
@@ -589,14 +589,14 @@ export declare const toolFactories: {
|
|
|
589
589
|
source_org_id: z.ZodString;
|
|
590
590
|
destination_org_id: z.ZodString;
|
|
591
591
|
project_ids: z.ZodArray<z.ZodString>;
|
|
592
|
-
}, z.core.$strict>, "
|
|
592
|
+
}, z.core.$strict>, "transfer_projects", null>;
|
|
593
593
|
"projects.transferFromUser": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
594
594
|
destination_org_id: z.ZodString;
|
|
595
595
|
project_ids: z.ZodArray<z.ZodString>;
|
|
596
|
-
}, z.core.$strict>, "
|
|
596
|
+
}, z.core.$strict>, "transfer_from_user_projects", null>;
|
|
597
597
|
"projects.permissions.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
598
598
|
project_id: z.ZodString;
|
|
599
|
-
}, z.core.$strict>, "
|
|
599
|
+
}, z.core.$strict>, "list_projects_permissions", {
|
|
600
600
|
id: string;
|
|
601
601
|
granted_to_email: string;
|
|
602
602
|
granted_at: string;
|
|
@@ -605,7 +605,7 @@ export declare const toolFactories: {
|
|
|
605
605
|
"projects.permissions.grant": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
606
606
|
project_id: z.ZodString;
|
|
607
607
|
email: z.ZodEmail;
|
|
608
|
-
}, z.core.$strict>, "
|
|
608
|
+
}, z.core.$strict>, "grant_projects_permissions", {
|
|
609
609
|
id: string;
|
|
610
610
|
granted_to_email: string;
|
|
611
611
|
granted_at: string;
|
|
@@ -614,7 +614,7 @@ export declare const toolFactories: {
|
|
|
614
614
|
"projects.permissions.revoke": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
615
615
|
project_id: z.ZodString;
|
|
616
616
|
permission_id: z.ZodString;
|
|
617
|
-
}, z.core.$strict>, "
|
|
617
|
+
}, z.core.$strict>, "revoke_projects_permissions", {
|
|
618
618
|
id: string;
|
|
619
619
|
granted_to_email: string;
|
|
620
620
|
granted_at: string;
|
|
@@ -632,7 +632,7 @@ export declare const toolFactories: {
|
|
|
632
632
|
}, {
|
|
633
633
|
project_id: string;
|
|
634
634
|
limit?: number | undefined;
|
|
635
|
-
}>>, "
|
|
635
|
+
}>>, "list_projects_members", {
|
|
636
636
|
member_id: string;
|
|
637
637
|
user_id: string;
|
|
638
638
|
email?: string | null | undefined;
|
|
@@ -653,7 +653,7 @@ export declare const toolFactories: {
|
|
|
653
653
|
editor: "editor";
|
|
654
654
|
admin: "admin";
|
|
655
655
|
}>;
|
|
656
|
-
}, z.core.$strict>, "
|
|
656
|
+
}, z.core.$strict>, "set_role_projects_members", {
|
|
657
657
|
project_id: string;
|
|
658
658
|
member_id: string;
|
|
659
659
|
user_id: string;
|
|
@@ -671,7 +671,7 @@ export declare const toolFactories: {
|
|
|
671
671
|
project_id: z.ZodString;
|
|
672
672
|
member_id: z.ZodUUID;
|
|
673
673
|
confirm_self_lockout: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
674
|
-
}, z.core.$strict>, "
|
|
674
|
+
}, z.core.$strict>, "remove_role_projects_members", {
|
|
675
675
|
project_id: string;
|
|
676
676
|
member_id: string;
|
|
677
677
|
user_id: string;
|
|
@@ -713,7 +713,7 @@ export declare const toolFactories: {
|
|
|
713
713
|
sort_order?: "asc" | "desc" | undefined;
|
|
714
714
|
limit?: number | undefined;
|
|
715
715
|
include_deleted?: boolean | undefined;
|
|
716
|
-
}>>, "
|
|
716
|
+
}>>, "list_branches", {
|
|
717
717
|
id: string;
|
|
718
718
|
project_id: string;
|
|
719
719
|
parent_id?: string | null | undefined;
|
|
@@ -759,7 +759,7 @@ export declare const toolFactories: {
|
|
|
759
759
|
"branches.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
760
760
|
project_id: z.ZodString;
|
|
761
761
|
branch_id: z.ZodString;
|
|
762
|
-
}, z.core.$strict>, "
|
|
762
|
+
}, z.core.$strict>, "get_branches", {
|
|
763
763
|
id: string;
|
|
764
764
|
project_id: string;
|
|
765
765
|
parent_id?: string | null | undefined;
|
|
@@ -812,7 +812,7 @@ export declare const toolFactories: {
|
|
|
812
812
|
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
813
813
|
}, z.core.$strict>>;
|
|
814
814
|
pooled: z.ZodOptional<z.ZodBoolean>;
|
|
815
|
-
}, z.core.$strict>, "
|
|
815
|
+
}, z.core.$strict>, "create_with_compute_branches", {
|
|
816
816
|
branch: {
|
|
817
817
|
id: string;
|
|
818
818
|
project_id: string;
|
|
@@ -903,7 +903,7 @@ export declare const toolFactories: {
|
|
|
903
903
|
name: z.ZodOptional<z.ZodString>;
|
|
904
904
|
protected: z.ZodOptional<z.ZodBoolean>;
|
|
905
905
|
expires_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
906
|
-
}, z.core.$strict>, "
|
|
906
|
+
}, z.core.$strict>, "update_branches", {
|
|
907
907
|
id: string;
|
|
908
908
|
project_id: string;
|
|
909
909
|
parent_id?: string | null | undefined;
|
|
@@ -958,10 +958,10 @@ export declare const toolFactories: {
|
|
|
958
958
|
}, {
|
|
959
959
|
project_id: string;
|
|
960
960
|
branch_id: string;
|
|
961
|
-
}>>, "
|
|
961
|
+
}>>, "delete_branches", null>;
|
|
962
962
|
"branches.getDefault": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
963
963
|
project_id: z.ZodString;
|
|
964
|
-
}, z.core.$strict>, "
|
|
964
|
+
}, z.core.$strict>, "get_default_branches", {
|
|
965
965
|
id: string;
|
|
966
966
|
project_id: string;
|
|
967
967
|
parent_id?: string | null | undefined;
|
|
@@ -1007,7 +1007,7 @@ export declare const toolFactories: {
|
|
|
1007
1007
|
"branches.setDefault": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1008
1008
|
project_id: z.ZodString;
|
|
1009
1009
|
branch_id: z.ZodString;
|
|
1010
|
-
}, z.core.$strict>, "
|
|
1010
|
+
}, z.core.$strict>, "set_default_branches", {
|
|
1011
1011
|
id: string;
|
|
1012
1012
|
project_id: string;
|
|
1013
1013
|
parent_id?: string | null | undefined;
|
|
@@ -1050,11 +1050,70 @@ export declare const toolFactories: {
|
|
|
1050
1050
|
deletion_method: "user" | "ttl";
|
|
1051
1051
|
} | null | undefined;
|
|
1052
1052
|
}>;
|
|
1053
|
+
"branches.resetFromParent": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1054
|
+
project_id: z.ZodString;
|
|
1055
|
+
branch_id: z.ZodString;
|
|
1056
|
+
preserve_under_name: z.ZodOptional<z.ZodString>;
|
|
1057
|
+
}, z.core.$strict>, "reset_from_parent_branches", {
|
|
1058
|
+
id: string;
|
|
1059
|
+
project_id: string;
|
|
1060
|
+
parent_id?: string | null | undefined;
|
|
1061
|
+
parent_lsn?: string | null | undefined;
|
|
1062
|
+
parent_timestamp?: string | null | undefined;
|
|
1063
|
+
name: string;
|
|
1064
|
+
current_state: import("@neon/sdk").BranchState;
|
|
1065
|
+
pending_state?: string | null | undefined;
|
|
1066
|
+
state_changed_at: string;
|
|
1067
|
+
logical_size?: number | null | undefined;
|
|
1068
|
+
creation_source: string;
|
|
1069
|
+
primary?: boolean | null | undefined;
|
|
1070
|
+
default: boolean;
|
|
1071
|
+
protected: boolean;
|
|
1072
|
+
cpu_used_sec: number;
|
|
1073
|
+
compute_time_seconds: number;
|
|
1074
|
+
active_time_seconds: number;
|
|
1075
|
+
written_data_bytes: number;
|
|
1076
|
+
data_transfer_bytes: number;
|
|
1077
|
+
created_at: string;
|
|
1078
|
+
updated_at: string;
|
|
1079
|
+
ttl_interval_seconds?: number | null | undefined;
|
|
1080
|
+
expires_at?: string | null | undefined;
|
|
1081
|
+
last_reset_at?: string | null | undefined;
|
|
1082
|
+
created_by?: {
|
|
1083
|
+
name?: string | null | undefined;
|
|
1084
|
+
image?: string | null | undefined;
|
|
1085
|
+
} | null | undefined;
|
|
1086
|
+
init_source?: string | null | undefined;
|
|
1087
|
+
restore_status?: string | null | undefined;
|
|
1088
|
+
restored_from?: string | null | undefined;
|
|
1089
|
+
restored_as?: string | null | undefined;
|
|
1090
|
+
restricted_actions?: {
|
|
1091
|
+
name: string;
|
|
1092
|
+
reason: string;
|
|
1093
|
+
}[] | null | undefined;
|
|
1094
|
+
recovery?: {
|
|
1095
|
+
deleted_at: string;
|
|
1096
|
+
recoverable_until: string;
|
|
1097
|
+
deletion_method: "user" | "ttl";
|
|
1098
|
+
} | null | undefined;
|
|
1099
|
+
}>;
|
|
1100
|
+
"branches.compareSchema": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1101
|
+
project_id: z.ZodString;
|
|
1102
|
+
branch_id: z.ZodString;
|
|
1103
|
+
database_name: z.ZodString;
|
|
1104
|
+
base_branch_id: z.ZodOptional<z.ZodString>;
|
|
1105
|
+
lsn: z.ZodOptional<z.ZodString>;
|
|
1106
|
+
timestamp: z.ZodOptional<z.ZodISODateTime>;
|
|
1107
|
+
base_lsn: z.ZodOptional<z.ZodString>;
|
|
1108
|
+
base_timestamp: z.ZodOptional<z.ZodISODateTime>;
|
|
1109
|
+
}, z.core.$strict>, "compare_schema_branches", {
|
|
1110
|
+
diff?: string | null | undefined;
|
|
1111
|
+
}>;
|
|
1053
1112
|
"branches.finalizeRestore": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1054
1113
|
project_id: z.ZodString;
|
|
1055
1114
|
branch_id: z.ZodString;
|
|
1056
1115
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1057
|
-
}, z.core.$strict>, "
|
|
1116
|
+
}, z.core.$strict>, "finalize_restore_branches", null>;
|
|
1058
1117
|
"postgres.connectionString": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1059
1118
|
project_id: z.ZodString;
|
|
1060
1119
|
branch_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1062,10 +1121,10 @@ export declare const toolFactories: {
|
|
|
1062
1121
|
database_name: z.ZodString;
|
|
1063
1122
|
role_name: z.ZodString;
|
|
1064
1123
|
pooled: z.ZodOptional<z.ZodBoolean>;
|
|
1065
|
-
}, z.core.$strict>, "
|
|
1124
|
+
}, z.core.$strict>, "connection_string_postgres", string>;
|
|
1066
1125
|
"postgres.endpoints.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1067
1126
|
project_id: z.ZodString;
|
|
1068
|
-
}, z.core.$strict>, "
|
|
1127
|
+
}, z.core.$strict>, "list_postgres_endpoints", {
|
|
1069
1128
|
host: string;
|
|
1070
1129
|
id: string;
|
|
1071
1130
|
name?: string | null | undefined;
|
|
@@ -1107,7 +1166,7 @@ export declare const toolFactories: {
|
|
|
1107
1166
|
"postgres.endpoints.listByBranch": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1108
1167
|
project_id: z.ZodString;
|
|
1109
1168
|
branch_id: z.ZodString;
|
|
1110
|
-
}, z.core.$strict>, "
|
|
1169
|
+
}, z.core.$strict>, "list_by_branch_postgres_endpoints", {
|
|
1111
1170
|
host: string;
|
|
1112
1171
|
id: string;
|
|
1113
1172
|
name?: string | null | undefined;
|
|
@@ -1149,7 +1208,7 @@ export declare const toolFactories: {
|
|
|
1149
1208
|
"postgres.endpoints.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1150
1209
|
project_id: z.ZodString;
|
|
1151
1210
|
endpoint_id: z.ZodString;
|
|
1152
|
-
}, z.core.$strict>, "
|
|
1211
|
+
}, z.core.$strict>, "get_postgres_endpoints", {
|
|
1153
1212
|
host: string;
|
|
1154
1213
|
id: string;
|
|
1155
1214
|
name?: string | null | undefined;
|
|
@@ -1215,7 +1274,7 @@ export declare const toolFactories: {
|
|
|
1215
1274
|
passwordless_access: z.ZodOptional<z.ZodBoolean>;
|
|
1216
1275
|
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
1217
1276
|
name: z.ZodOptional<z.ZodString>;
|
|
1218
|
-
}, z.core.$strict>, "
|
|
1277
|
+
}, z.core.$strict>, "create_postgres_endpoints", {
|
|
1219
1278
|
host: string;
|
|
1220
1279
|
id: string;
|
|
1221
1280
|
name?: string | null | undefined;
|
|
@@ -1277,7 +1336,7 @@ export declare const toolFactories: {
|
|
|
1277
1336
|
passwordless_access: z.ZodOptional<z.ZodBoolean>;
|
|
1278
1337
|
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
1279
1338
|
name: z.ZodOptional<z.ZodString>;
|
|
1280
|
-
}, z.core.$strict>, "
|
|
1339
|
+
}, z.core.$strict>, "update_postgres_endpoints", {
|
|
1281
1340
|
host: string;
|
|
1282
1341
|
id: string;
|
|
1283
1342
|
name?: string | null | undefined;
|
|
@@ -1319,11 +1378,11 @@ export declare const toolFactories: {
|
|
|
1319
1378
|
"postgres.endpoints.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1320
1379
|
project_id: z.ZodString;
|
|
1321
1380
|
endpoint_id: z.ZodString;
|
|
1322
|
-
}, z.core.$strict>, "
|
|
1381
|
+
}, z.core.$strict>, "delete_postgres_endpoints", null>;
|
|
1323
1382
|
"postgres.endpoints.start": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1324
1383
|
project_id: z.ZodString;
|
|
1325
1384
|
endpoint_id: z.ZodString;
|
|
1326
|
-
}, z.core.$strict>, "
|
|
1385
|
+
}, z.core.$strict>, "start_postgres_endpoints", {
|
|
1327
1386
|
host: string;
|
|
1328
1387
|
id: string;
|
|
1329
1388
|
name?: string | null | undefined;
|
|
@@ -1365,7 +1424,7 @@ export declare const toolFactories: {
|
|
|
1365
1424
|
"postgres.endpoints.suspend": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1366
1425
|
project_id: z.ZodString;
|
|
1367
1426
|
endpoint_id: z.ZodString;
|
|
1368
|
-
}, z.core.$strict>, "
|
|
1427
|
+
}, z.core.$strict>, "suspend_postgres_endpoints", {
|
|
1369
1428
|
host: string;
|
|
1370
1429
|
id: string;
|
|
1371
1430
|
name?: string | null | undefined;
|
|
@@ -1407,7 +1466,7 @@ export declare const toolFactories: {
|
|
|
1407
1466
|
"postgres.endpoints.restart": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1408
1467
|
project_id: z.ZodString;
|
|
1409
1468
|
endpoint_id: z.ZodString;
|
|
1410
|
-
}, z.core.$strict>, "
|
|
1469
|
+
}, z.core.$strict>, "restart_postgres_endpoints", {
|
|
1411
1470
|
host: string;
|
|
1412
1471
|
id: string;
|
|
1413
1472
|
name?: string | null | undefined;
|
|
@@ -1449,7 +1508,7 @@ export declare const toolFactories: {
|
|
|
1449
1508
|
"postgres.roles.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1450
1509
|
project_id: z.ZodString;
|
|
1451
1510
|
branch_id: z.ZodString;
|
|
1452
|
-
}, z.core.$strict>, "
|
|
1511
|
+
}, z.core.$strict>, "list_postgres_roles", {
|
|
1453
1512
|
branch_id: string;
|
|
1454
1513
|
name: string;
|
|
1455
1514
|
password?: string | null | undefined;
|
|
@@ -1462,7 +1521,7 @@ export declare const toolFactories: {
|
|
|
1462
1521
|
project_id: z.ZodString;
|
|
1463
1522
|
branch_id: z.ZodString;
|
|
1464
1523
|
role_name: z.ZodString;
|
|
1465
|
-
}, z.core.$strict>, "
|
|
1524
|
+
}, z.core.$strict>, "get_postgres_roles", {
|
|
1466
1525
|
branch_id: string;
|
|
1467
1526
|
name: string;
|
|
1468
1527
|
password?: string | null | undefined;
|
|
@@ -1476,7 +1535,7 @@ export declare const toolFactories: {
|
|
|
1476
1535
|
branch_id: z.ZodString;
|
|
1477
1536
|
name: z.ZodString;
|
|
1478
1537
|
no_login: z.ZodOptional<z.ZodBoolean>;
|
|
1479
|
-
}, z.core.$strict>, "
|
|
1538
|
+
}, z.core.$strict>, "create_postgres_roles", {
|
|
1480
1539
|
branch_id: string;
|
|
1481
1540
|
name: string;
|
|
1482
1541
|
password?: string | null | undefined;
|
|
@@ -1489,12 +1548,12 @@ export declare const toolFactories: {
|
|
|
1489
1548
|
project_id: z.ZodString;
|
|
1490
1549
|
branch_id: z.ZodString;
|
|
1491
1550
|
role_name: z.ZodString;
|
|
1492
|
-
}, z.core.$strict>, "
|
|
1551
|
+
}, z.core.$strict>, "delete_postgres_roles", null>;
|
|
1493
1552
|
"postgres.roles.resetPassword": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1494
1553
|
project_id: z.ZodString;
|
|
1495
1554
|
branch_id: z.ZodString;
|
|
1496
1555
|
role_name: z.ZodString;
|
|
1497
|
-
}, z.core.$strict>, "
|
|
1556
|
+
}, z.core.$strict>, "reset_password_postgres_roles", {
|
|
1498
1557
|
branch_id: string;
|
|
1499
1558
|
name: string;
|
|
1500
1559
|
password?: string | null | undefined;
|
|
@@ -1506,7 +1565,7 @@ export declare const toolFactories: {
|
|
|
1506
1565
|
"postgres.databases.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1507
1566
|
project_id: z.ZodString;
|
|
1508
1567
|
branch_id: z.ZodString;
|
|
1509
|
-
}, z.core.$strict>, "
|
|
1568
|
+
}, z.core.$strict>, "list_postgres_databases", {
|
|
1510
1569
|
id: number;
|
|
1511
1570
|
branch_id: string;
|
|
1512
1571
|
name: string;
|
|
@@ -1518,7 +1577,7 @@ export declare const toolFactories: {
|
|
|
1518
1577
|
project_id: z.ZodString;
|
|
1519
1578
|
branch_id: z.ZodString;
|
|
1520
1579
|
database_name: z.ZodString;
|
|
1521
|
-
}, z.core.$strict>, "
|
|
1580
|
+
}, z.core.$strict>, "get_postgres_databases", {
|
|
1522
1581
|
id: number;
|
|
1523
1582
|
branch_id: string;
|
|
1524
1583
|
name: string;
|
|
@@ -1531,7 +1590,7 @@ export declare const toolFactories: {
|
|
|
1531
1590
|
branch_id: z.ZodString;
|
|
1532
1591
|
name: z.ZodString;
|
|
1533
1592
|
owner_name: z.ZodString;
|
|
1534
|
-
}, z.core.$strict>, "
|
|
1593
|
+
}, z.core.$strict>, "create_postgres_databases", {
|
|
1535
1594
|
id: number;
|
|
1536
1595
|
branch_id: string;
|
|
1537
1596
|
name: string;
|
|
@@ -1545,7 +1604,7 @@ export declare const toolFactories: {
|
|
|
1545
1604
|
database_name: z.ZodString;
|
|
1546
1605
|
name: z.ZodOptional<z.ZodString>;
|
|
1547
1606
|
owner_name: z.ZodOptional<z.ZodString>;
|
|
1548
|
-
}, z.core.$strict>, "
|
|
1607
|
+
}, z.core.$strict>, "update_postgres_databases", {
|
|
1549
1608
|
id: number;
|
|
1550
1609
|
branch_id: string;
|
|
1551
1610
|
name: string;
|
|
@@ -1557,12 +1616,12 @@ export declare const toolFactories: {
|
|
|
1557
1616
|
project_id: z.ZodString;
|
|
1558
1617
|
branch_id: z.ZodString;
|
|
1559
1618
|
database_name: z.ZodString;
|
|
1560
|
-
}, z.core.$strict>, "
|
|
1619
|
+
}, z.core.$strict>, "delete_postgres_databases", null>;
|
|
1561
1620
|
"postgres.dataApi.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1562
1621
|
project_id: z.ZodString;
|
|
1563
1622
|
branch_id: z.ZodString;
|
|
1564
1623
|
database_name: z.ZodString;
|
|
1565
|
-
}, z.core.$strict>, "
|
|
1624
|
+
}, z.core.$strict>, "get_postgres_data_api", {
|
|
1566
1625
|
url: string;
|
|
1567
1626
|
status: string;
|
|
1568
1627
|
settings?: {
|
|
@@ -1604,7 +1663,7 @@ export declare const toolFactories: {
|
|
|
1604
1663
|
server_cors_allowed_origins: z.ZodOptional<z.ZodString>;
|
|
1605
1664
|
server_timing_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1606
1665
|
}, z.core.$strict>>>;
|
|
1607
|
-
}, z.core.$strict>, "
|
|
1666
|
+
}, z.core.$strict>, "create_postgres_data_api", {
|
|
1608
1667
|
url: string;
|
|
1609
1668
|
}>;
|
|
1610
1669
|
"postgres.dataApi.update": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
@@ -1621,16 +1680,16 @@ export declare const toolFactories: {
|
|
|
1621
1680
|
openapi_mode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1622
1681
|
server_cors_allowed_origins: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1623
1682
|
server_timing_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1624
|
-
}, z.core.$strict>, "
|
|
1683
|
+
}, z.core.$strict>, "update_postgres_data_api", null>;
|
|
1625
1684
|
"postgres.dataApi.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1626
1685
|
project_id: z.ZodString;
|
|
1627
1686
|
branch_id: z.ZodString;
|
|
1628
1687
|
database_name: z.ZodString;
|
|
1629
|
-
}, z.core.$strict>, "
|
|
1688
|
+
}, z.core.$strict>, "delete_postgres_data_api", null>;
|
|
1630
1689
|
"storage.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1631
1690
|
project_id: z.ZodString;
|
|
1632
1691
|
branch_id: z.ZodString;
|
|
1633
|
-
}, z.core.$strict>, "
|
|
1692
|
+
}, z.core.$strict>, "get_storage", {
|
|
1634
1693
|
enabled: boolean;
|
|
1635
1694
|
s3_endpoint: string;
|
|
1636
1695
|
region: string;
|
|
@@ -1639,7 +1698,7 @@ export declare const toolFactories: {
|
|
|
1639
1698
|
"storage.buckets.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1640
1699
|
project_id: z.ZodString;
|
|
1641
1700
|
branch_id: z.ZodString;
|
|
1642
|
-
}, z.core.$strict>, "
|
|
1701
|
+
}, z.core.$strict>, "list_storage_buckets", {
|
|
1643
1702
|
name: string;
|
|
1644
1703
|
access_level: import("@neon/sdk").BucketAccessLevel;
|
|
1645
1704
|
created_at: string;
|
|
@@ -1652,7 +1711,7 @@ export declare const toolFactories: {
|
|
|
1652
1711
|
private: "private";
|
|
1653
1712
|
public_read: "public_read";
|
|
1654
1713
|
}>>;
|
|
1655
|
-
}, z.core.$strict>, "
|
|
1714
|
+
}, z.core.$strict>, "create_storage_buckets", {
|
|
1656
1715
|
name: string;
|
|
1657
1716
|
access_level: import("@neon/sdk").BucketAccessLevel;
|
|
1658
1717
|
created_at: string;
|
|
@@ -1661,7 +1720,7 @@ export declare const toolFactories: {
|
|
|
1661
1720
|
project_id: z.ZodString;
|
|
1662
1721
|
branch_id: z.ZodString;
|
|
1663
1722
|
bucket_name: z.ZodString;
|
|
1664
|
-
}, z.core.$strict>, "
|
|
1723
|
+
}, z.core.$strict>, "delete_storage_buckets", null>;
|
|
1665
1724
|
"storage.objects.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodType<{
|
|
1666
1725
|
project_id: string;
|
|
1667
1726
|
branch_id: string;
|
|
@@ -1690,7 +1749,7 @@ export declare const toolFactories: {
|
|
|
1690
1749
|
prefix?: string | undefined;
|
|
1691
1750
|
bucket_name: string;
|
|
1692
1751
|
delimiter?: string | undefined;
|
|
1693
|
-
}>>, "
|
|
1752
|
+
}>>, "list_storage_objects", {
|
|
1694
1753
|
folders: string[];
|
|
1695
1754
|
objects: {
|
|
1696
1755
|
key: string;
|
|
@@ -1705,13 +1764,13 @@ export declare const toolFactories: {
|
|
|
1705
1764
|
branch_id: z.ZodString;
|
|
1706
1765
|
bucket_name: z.ZodString;
|
|
1707
1766
|
object_key: z.ZodString;
|
|
1708
|
-
}, z.core.$strict>, "
|
|
1767
|
+
}, z.core.$strict>, "delete_storage_objects", null>;
|
|
1709
1768
|
"storage.objects.deleteByPrefix": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1710
1769
|
project_id: z.ZodString;
|
|
1711
1770
|
branch_id: z.ZodString;
|
|
1712
1771
|
bucket_name: z.ZodString;
|
|
1713
1772
|
prefix: z.ZodString;
|
|
1714
|
-
}, z.core.$strict>, "
|
|
1773
|
+
}, z.core.$strict>, "delete_by_prefix_storage_objects", {
|
|
1715
1774
|
deleted: number;
|
|
1716
1775
|
}>;
|
|
1717
1776
|
"storage.objects.presign": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
@@ -1725,7 +1784,7 @@ export declare const toolFactories: {
|
|
|
1725
1784
|
}>;
|
|
1726
1785
|
content_type: z.ZodOptional<z.ZodString>;
|
|
1727
1786
|
expires_in_seconds: z.ZodOptional<z.ZodInt>;
|
|
1728
|
-
}, z.core.$strict>, "
|
|
1787
|
+
}, z.core.$strict>, "presign_storage_objects", {
|
|
1729
1788
|
url: string;
|
|
1730
1789
|
method: string;
|
|
1731
1790
|
headers: {
|
|
@@ -1749,7 +1808,7 @@ export declare const toolFactories: {
|
|
|
1749
1808
|
project_id: string;
|
|
1750
1809
|
branch_id: string;
|
|
1751
1810
|
limit?: number | undefined;
|
|
1752
|
-
}>>, "
|
|
1811
|
+
}>>, "list_functions", {
|
|
1753
1812
|
id: string;
|
|
1754
1813
|
slug: string;
|
|
1755
1814
|
name: string;
|
|
@@ -1778,7 +1837,7 @@ export declare const toolFactories: {
|
|
|
1778
1837
|
project_id: z.ZodString;
|
|
1779
1838
|
branch_id: z.ZodString;
|
|
1780
1839
|
slug: z.ZodString;
|
|
1781
|
-
}, z.core.$strict>, "
|
|
1840
|
+
}, z.core.$strict>, "get_functions", {
|
|
1782
1841
|
id: string;
|
|
1783
1842
|
slug: string;
|
|
1784
1843
|
name: string;
|
|
@@ -1808,7 +1867,7 @@ export declare const toolFactories: {
|
|
|
1808
1867
|
branch_id: z.ZodString;
|
|
1809
1868
|
slug: z.ZodString;
|
|
1810
1869
|
name: z.ZodNullable<z.ZodString>;
|
|
1811
|
-
}, z.core.$strict>, "
|
|
1870
|
+
}, z.core.$strict>, "update_functions", {
|
|
1812
1871
|
id: string;
|
|
1813
1872
|
slug: string;
|
|
1814
1873
|
name: string;
|
|
@@ -1837,7 +1896,7 @@ export declare const toolFactories: {
|
|
|
1837
1896
|
project_id: z.ZodString;
|
|
1838
1897
|
branch_id: z.ZodString;
|
|
1839
1898
|
slug: z.ZodString;
|
|
1840
|
-
}, z.core.$strict>, "
|
|
1899
|
+
}, z.core.$strict>, "delete_functions", null>;
|
|
1841
1900
|
"functions.deploy": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1842
1901
|
project_id: z.ZodString;
|
|
1843
1902
|
branch_id: z.ZodString;
|
|
@@ -1847,7 +1906,7 @@ export declare const toolFactories: {
|
|
|
1847
1906
|
nodejs24: "nodejs24";
|
|
1848
1907
|
}>>;
|
|
1849
1908
|
environment: z.ZodOptional<z.ZodString>;
|
|
1850
|
-
}, z.core.$strict>, "
|
|
1909
|
+
}, z.core.$strict>, "deploy_functions", {
|
|
1851
1910
|
id: number;
|
|
1852
1911
|
status: "pending" | "building" | "completed" | "failed";
|
|
1853
1912
|
memory_mib: number;
|
|
@@ -1859,7 +1918,7 @@ export declare const toolFactories: {
|
|
|
1859
1918
|
"credentials.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1860
1919
|
project_id: z.ZodString;
|
|
1861
1920
|
branch_id: z.ZodString;
|
|
1862
|
-
}, z.core.$strict>, "
|
|
1921
|
+
}, z.core.$strict>, "list_credentials", {
|
|
1863
1922
|
token_id: string;
|
|
1864
1923
|
token_id_short: string;
|
|
1865
1924
|
name?: string | null | undefined;
|
|
@@ -1885,7 +1944,7 @@ export declare const toolFactories: {
|
|
|
1885
1944
|
principal_type: z.ZodEnum<{
|
|
1886
1945
|
user: "user";
|
|
1887
1946
|
}>;
|
|
1888
|
-
}, z.core.$strict>, "
|
|
1947
|
+
}, z.core.$strict>, "create_credentials", {
|
|
1889
1948
|
token_id: string;
|
|
1890
1949
|
token_id_short: string;
|
|
1891
1950
|
name?: string | null | undefined;
|
|
@@ -1900,11 +1959,11 @@ export declare const toolFactories: {
|
|
|
1900
1959
|
project_id: z.ZodString;
|
|
1901
1960
|
branch_id: z.ZodString;
|
|
1902
1961
|
token_id: z.ZodString;
|
|
1903
|
-
}, z.core.$strict>, "
|
|
1962
|
+
}, z.core.$strict>, "revoke_credentials", null>;
|
|
1904
1963
|
"aiGateway.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1905
1964
|
project_id: z.ZodString;
|
|
1906
1965
|
branch_id: z.ZodString;
|
|
1907
|
-
}, z.core.$strict>, "
|
|
1966
|
+
}, z.core.$strict>, "get_ai_gateway", {
|
|
1908
1967
|
enabled: boolean;
|
|
1909
1968
|
base_url: string;
|
|
1910
1969
|
}>;
|
|
@@ -1972,7 +2031,7 @@ export declare const toolFactories: {
|
|
|
1972
2031
|
body_contains?: string | undefined;
|
|
1973
2032
|
trace_id?: string | undefined;
|
|
1974
2033
|
logql?: string | undefined;
|
|
1975
|
-
}>>, "
|
|
2034
|
+
}>>, "query_logs", {
|
|
1976
2035
|
timestamp: string;
|
|
1977
2036
|
message: string;
|
|
1978
2037
|
source?: import("@neon/sdk").ProjectBranchLogSource | null | undefined;
|
|
@@ -1990,7 +2049,7 @@ export declare const toolFactories: {
|
|
|
1990
2049
|
"logs.fields": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1991
2050
|
project_id: z.ZodString;
|
|
1992
2051
|
branch_id: z.ZodString;
|
|
1993
|
-
}, z.core.$strict>, "
|
|
2052
|
+
}, z.core.$strict>, "fields_logs", string[]>;
|
|
1994
2053
|
"logs.fieldValues": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
1995
2054
|
project_id: z.ZodString;
|
|
1996
2055
|
branch_id: z.ZodString;
|
|
@@ -2004,13 +2063,13 @@ export declare const toolFactories: {
|
|
|
2004
2063
|
pg_endpoint: "pg_endpoint";
|
|
2005
2064
|
}>>>;
|
|
2006
2065
|
limit: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
2007
|
-
}, z.core.$strict>, "
|
|
2066
|
+
}, z.core.$strict>, "field_values_logs", {
|
|
2008
2067
|
values: string[];
|
|
2009
2068
|
is_truncated: boolean;
|
|
2010
2069
|
}>;
|
|
2011
2070
|
"snapshots.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
2012
2071
|
project_id: z.ZodString;
|
|
2013
|
-
}, z.core.$strict>, "
|
|
2072
|
+
}, z.core.$strict>, "list_snapshots", {
|
|
2014
2073
|
id: string;
|
|
2015
2074
|
name: string;
|
|
2016
2075
|
lsn?: string | null | undefined;
|
|
@@ -2029,7 +2088,7 @@ export declare const toolFactories: {
|
|
|
2029
2088
|
timestamp: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2030
2089
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2031
2090
|
expires_at: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2032
|
-
}, z.core.$strict>, "
|
|
2091
|
+
}, z.core.$strict>, "create_snapshots", {
|
|
2033
2092
|
id: string;
|
|
2034
2093
|
name: string;
|
|
2035
2094
|
lsn?: string | null | undefined;
|
|
@@ -2046,7 +2105,7 @@ export declare const toolFactories: {
|
|
|
2046
2105
|
snapshot_id: z.ZodString;
|
|
2047
2106
|
name: z.ZodOptional<z.ZodString>;
|
|
2048
2107
|
expires_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
2049
|
-
}, z.core.$strict>, "
|
|
2108
|
+
}, z.core.$strict>, "update_snapshots", {
|
|
2050
2109
|
id: string;
|
|
2051
2110
|
name: string;
|
|
2052
2111
|
lsn?: string | null | undefined;
|
|
@@ -2061,14 +2120,14 @@ export declare const toolFactories: {
|
|
|
2061
2120
|
"snapshots.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
2062
2121
|
project_id: z.ZodString;
|
|
2063
2122
|
snapshot_id: z.ZodString;
|
|
2064
|
-
}, z.core.$strict>, "
|
|
2123
|
+
}, z.core.$strict>, "delete_snapshots", null>;
|
|
2065
2124
|
"snapshots.restore": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
2066
2125
|
project_id: z.ZodString;
|
|
2067
2126
|
snapshot_id: z.ZodString;
|
|
2068
2127
|
name: z.ZodOptional<z.ZodString>;
|
|
2069
2128
|
target_branch_id: z.ZodOptional<z.ZodString>;
|
|
2070
2129
|
finalize: z.ZodOptional<z.ZodBoolean>;
|
|
2071
|
-
}, z.core.$strict>, "
|
|
2130
|
+
}, z.core.$strict>, "restore_snapshots", {
|
|
2072
2131
|
id: string;
|
|
2073
2132
|
project_id: string;
|
|
2074
2133
|
parent_id?: string | null | undefined;
|
|
@@ -2114,7 +2173,7 @@ export declare const toolFactories: {
|
|
|
2114
2173
|
"snapshots.getSchedule": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
2115
2174
|
project_id: z.ZodString;
|
|
2116
2175
|
branch_id: z.ZodString;
|
|
2117
|
-
}, z.core.$strict>, "
|
|
2176
|
+
}, z.core.$strict>, "get_schedule_snapshots", {
|
|
2118
2177
|
schedule: {
|
|
2119
2178
|
frequency: string;
|
|
2120
2179
|
hour?: number | null | undefined;
|
|
@@ -2137,7 +2196,7 @@ export declare const toolFactories: {
|
|
|
2137
2196
|
month: z.ZodOptional<z.ZodInt>;
|
|
2138
2197
|
retention_seconds: z.ZodOptional<z.ZodInt>;
|
|
2139
2198
|
}, z.core.$strict>>;
|
|
2140
|
-
}, z.core.$strict>, "
|
|
2199
|
+
}, z.core.$strict>, "set_schedule_snapshots", null>;
|
|
2141
2200
|
"operations.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodType<{
|
|
2142
2201
|
project_id: string;
|
|
2143
2202
|
limit?: number | undefined;
|
|
@@ -2150,7 +2209,7 @@ export declare const toolFactories: {
|
|
|
2150
2209
|
}, {
|
|
2151
2210
|
project_id: string;
|
|
2152
2211
|
limit?: number | undefined;
|
|
2153
|
-
}>>, "
|
|
2212
|
+
}>>, "list_operations", {
|
|
2154
2213
|
id: string;
|
|
2155
2214
|
project_id: string;
|
|
2156
2215
|
branch_id?: string | null | undefined;
|
|
@@ -2167,7 +2226,7 @@ export declare const toolFactories: {
|
|
|
2167
2226
|
"operations.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
2168
2227
|
project_id: z.ZodString;
|
|
2169
2228
|
operation_id: z.ZodUUID;
|
|
2170
|
-
}, z.core.$strict>, "
|
|
2229
|
+
}, z.core.$strict>, "get_operations", {
|
|
2171
2230
|
id: string;
|
|
2172
2231
|
project_id: string;
|
|
2173
2232
|
branch_id?: string | null | undefined;
|
|
@@ -2184,7 +2243,7 @@ export declare const toolFactories: {
|
|
|
2184
2243
|
"auth.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
2185
2244
|
project_id: z.ZodString;
|
|
2186
2245
|
branch_id: z.ZodString;
|
|
2187
|
-
}, z.core.$strict>, "
|
|
2246
|
+
}, z.core.$strict>, "get_auth", {
|
|
2188
2247
|
auth_provider: import("@neon/sdk").NeonAuthSupportedAuthProvider;
|
|
2189
2248
|
auth_provider_project_id: string;
|
|
2190
2249
|
branch_id: string;
|
|
@@ -2205,7 +2264,7 @@ export declare const toolFactories: {
|
|
|
2205
2264
|
better_auth: "better_auth";
|
|
2206
2265
|
}>;
|
|
2207
2266
|
database_name: z.ZodOptional<z.ZodString>;
|
|
2208
|
-
}, z.core.$strict>, "
|
|
2267
|
+
}, z.core.$strict>, "create_auth", {
|
|
2209
2268
|
auth_provider: import("@neon/sdk").NeonAuthSupportedAuthProvider;
|
|
2210
2269
|
auth_provider_project_id: string;
|
|
2211
2270
|
pub_client_key: string;
|
|
@@ -2219,18 +2278,18 @@ export declare const toolFactories: {
|
|
|
2219
2278
|
project_id: z.ZodString;
|
|
2220
2279
|
branch_id: z.ZodString;
|
|
2221
2280
|
delete_data: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2222
|
-
}, z.core.$strict>, "
|
|
2281
|
+
}, z.core.$strict>, "disable_auth", null>;
|
|
2223
2282
|
"auth.updateConfig": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
2224
2283
|
project_id: z.ZodString;
|
|
2225
2284
|
branch_id: z.ZodString;
|
|
2226
2285
|
name: z.ZodString;
|
|
2227
|
-
}, z.core.$strict>, "
|
|
2286
|
+
}, z.core.$strict>, "update_config_auth", {
|
|
2228
2287
|
name: string;
|
|
2229
2288
|
}>;
|
|
2230
2289
|
"auth.oauthProviders.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
2231
2290
|
project_id: z.ZodString;
|
|
2232
2291
|
branch_id: z.ZodString;
|
|
2233
|
-
}, z.core.$strict>, "
|
|
2292
|
+
}, z.core.$strict>, "list_auth_oauth_providers", {
|
|
2234
2293
|
id: import("@neon/sdk").NeonAuthOauthProviderId;
|
|
2235
2294
|
type: import("@neon/sdk").NeonAuthOauthProviderType;
|
|
2236
2295
|
client_id?: string | null | undefined;
|
|
@@ -2248,7 +2307,7 @@ export declare const toolFactories: {
|
|
|
2248
2307
|
client_id: z.ZodOptional<z.ZodString>;
|
|
2249
2308
|
client_secret: z.ZodOptional<z.ZodString>;
|
|
2250
2309
|
microsoft_tenant_id: z.ZodOptional<z.ZodString>;
|
|
2251
|
-
}, z.core.$strict>, "
|
|
2310
|
+
}, z.core.$strict>, "add_auth_oauth_providers", {
|
|
2252
2311
|
id: import("@neon/sdk").NeonAuthOauthProviderId;
|
|
2253
2312
|
type: import("@neon/sdk").NeonAuthOauthProviderType;
|
|
2254
2313
|
client_id?: string | null | undefined;
|
|
@@ -2266,7 +2325,7 @@ export declare const toolFactories: {
|
|
|
2266
2325
|
client_id: z.ZodOptional<z.ZodString>;
|
|
2267
2326
|
client_secret: z.ZodOptional<z.ZodString>;
|
|
2268
2327
|
microsoft_tenant_id: z.ZodOptional<z.ZodString>;
|
|
2269
|
-
}, z.core.$strict>, "
|
|
2328
|
+
}, z.core.$strict>, "update_auth_oauth_providers", {
|
|
2270
2329
|
id: import("@neon/sdk").NeonAuthOauthProviderId;
|
|
2271
2330
|
type: import("@neon/sdk").NeonAuthOauthProviderType;
|
|
2272
2331
|
client_id?: string | null | undefined;
|
|
@@ -2281,11 +2340,11 @@ export declare const toolFactories: {
|
|
|
2281
2340
|
microsoft: "microsoft";
|
|
2282
2341
|
vercel: "vercel";
|
|
2283
2342
|
}>;
|
|
2284
|
-
}, z.core.$strict>, "
|
|
2343
|
+
}, z.core.$strict>, "delete_auth_oauth_providers", null>;
|
|
2285
2344
|
"auth.trustedDomains.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
2286
2345
|
project_id: z.ZodString;
|
|
2287
2346
|
branch_id: z.ZodString;
|
|
2288
|
-
}, z.core.$strict>, "
|
|
2347
|
+
}, z.core.$strict>, "list_auth_trusted_domains", {
|
|
2289
2348
|
domain: string;
|
|
2290
2349
|
auth_provider: import("@neon/sdk").NeonAuthSupportedAuthProvider;
|
|
2291
2350
|
}[]>;
|
|
@@ -2298,7 +2357,7 @@ export declare const toolFactories: {
|
|
|
2298
2357
|
stack: "stack";
|
|
2299
2358
|
better_auth: "better_auth";
|
|
2300
2359
|
}>;
|
|
2301
|
-
}, z.core.$strict>, "
|
|
2360
|
+
}, z.core.$strict>, "add_auth_trusted_domains", null>;
|
|
2302
2361
|
"auth.trustedDomains.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
2303
2362
|
project_id: z.ZodString;
|
|
2304
2363
|
branch_id: z.ZodString;
|
|
@@ -2310,26 +2369,26 @@ export declare const toolFactories: {
|
|
|
2310
2369
|
domains: z.ZodArray<z.ZodObject<{
|
|
2311
2370
|
domain: z.ZodURL;
|
|
2312
2371
|
}, z.core.$strict>>;
|
|
2313
|
-
}, z.core.$strict>, "
|
|
2372
|
+
}, z.core.$strict>, "delete_auth_trusted_domains", null>;
|
|
2314
2373
|
"auth.users.create": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
2315
2374
|
project_id: z.ZodString;
|
|
2316
2375
|
branch_id: z.ZodString;
|
|
2317
2376
|
email: z.ZodEmail;
|
|
2318
2377
|
name: z.ZodOptional<z.ZodString>;
|
|
2319
|
-
}, z.core.$strict>, "
|
|
2378
|
+
}, z.core.$strict>, "create_auth_users", {
|
|
2320
2379
|
id: string;
|
|
2321
2380
|
}>;
|
|
2322
2381
|
"auth.users.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
2323
2382
|
project_id: z.ZodString;
|
|
2324
2383
|
branch_id: z.ZodString;
|
|
2325
2384
|
auth_user_id: z.ZodString;
|
|
2326
|
-
}, z.core.$strict>, "
|
|
2385
|
+
}, z.core.$strict>, "delete_auth_users", null>;
|
|
2327
2386
|
"auth.users.updateRole": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
2328
2387
|
project_id: z.ZodString;
|
|
2329
2388
|
branch_id: z.ZodString;
|
|
2330
2389
|
auth_user_id: z.ZodString;
|
|
2331
2390
|
roles: z.ZodArray<z.ZodString>;
|
|
2332
|
-
}, z.core.$strict>, "
|
|
2391
|
+
}, z.core.$strict>, "update_role_auth_users", {
|
|
2333
2392
|
id: string;
|
|
2334
2393
|
}>;
|
|
2335
2394
|
"consumption.perProject": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodType<{
|
|
@@ -2368,7 +2427,7 @@ export declare const toolFactories: {
|
|
|
2368
2427
|
to: string;
|
|
2369
2428
|
granularity: "hourly" | "daily" | "monthly";
|
|
2370
2429
|
include_v1_metrics?: boolean | undefined;
|
|
2371
|
-
}>>, "
|
|
2430
|
+
}>>, "per_project_consumption", {
|
|
2372
2431
|
project_id: string;
|
|
2373
2432
|
periods: {
|
|
2374
2433
|
period_id: string;
|
|
@@ -2420,7 +2479,7 @@ export declare const toolFactories: {
|
|
|
2420
2479
|
from: string;
|
|
2421
2480
|
to: string;
|
|
2422
2481
|
granularity: "hourly" | "daily" | "monthly";
|
|
2423
|
-
}>>, "
|
|
2482
|
+
}>>, "per_project_v2_consumption", {
|
|
2424
2483
|
project_id: string;
|
|
2425
2484
|
periods: {
|
|
2426
2485
|
period_id: string;
|
|
@@ -2473,7 +2532,7 @@ export declare const toolFactories: {
|
|
|
2473
2532
|
to: string;
|
|
2474
2533
|
granularity: "hourly" | "daily" | "monthly";
|
|
2475
2534
|
branch_ids?: string[] | undefined;
|
|
2476
|
-
}>>, "
|
|
2535
|
+
}>>, "per_branch_v2_consumption", {
|
|
2477
2536
|
project_id: string;
|
|
2478
2537
|
branch_id: string;
|
|
2479
2538
|
periods: {
|
|
@@ -2491,7 +2550,7 @@ export declare const toolFactories: {
|
|
|
2491
2550
|
}[];
|
|
2492
2551
|
}[];
|
|
2493
2552
|
}[]>;
|
|
2494
|
-
"apiKeys.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "
|
|
2553
|
+
"apiKeys.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "list_api_keys", {
|
|
2495
2554
|
id: number;
|
|
2496
2555
|
name: string;
|
|
2497
2556
|
created_at: string;
|
|
@@ -2505,7 +2564,7 @@ export declare const toolFactories: {
|
|
|
2505
2564
|
}[]>;
|
|
2506
2565
|
"apiKeys.create": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
2507
2566
|
key_name: z.ZodString;
|
|
2508
|
-
}, z.core.$strict>, "
|
|
2567
|
+
}, z.core.$strict>, "create_api_keys", {
|
|
2509
2568
|
id: number;
|
|
2510
2569
|
key: string;
|
|
2511
2570
|
name: string;
|
|
@@ -2514,7 +2573,7 @@ export declare const toolFactories: {
|
|
|
2514
2573
|
}>;
|
|
2515
2574
|
"apiKeys.revoke": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
|
|
2516
2575
|
key_id: z.ZodInt;
|
|
2517
|
-
}, z.core.$strict>, "
|
|
2576
|
+
}, z.core.$strict>, "revoke_api_keys", {
|
|
2518
2577
|
id: number;
|
|
2519
2578
|
name: string;
|
|
2520
2579
|
created_at: string;
|
|
@@ -2523,14 +2582,14 @@ export declare const toolFactories: {
|
|
|
2523
2582
|
last_used_from_addr: string;
|
|
2524
2583
|
revoked: boolean;
|
|
2525
2584
|
}>;
|
|
2526
|
-
"regions.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "
|
|
2585
|
+
"regions.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "list_regions", {
|
|
2527
2586
|
region_id: string;
|
|
2528
2587
|
name: string;
|
|
2529
2588
|
default: boolean;
|
|
2530
2589
|
geo_lat: string;
|
|
2531
2590
|
geo_long: string;
|
|
2532
2591
|
}[]>;
|
|
2533
|
-
"user.me": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "
|
|
2592
|
+
"user.me": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "me_user", {
|
|
2534
2593
|
active_seconds_limit: number;
|
|
2535
2594
|
billing_account?: {
|
|
2536
2595
|
state: import("@neon/sdk").BillingAccountState;
|
|
@@ -2586,7 +2645,7 @@ export declare const toolFactories: {
|
|
|
2586
2645
|
compute_seconds_limit?: number | null | undefined;
|
|
2587
2646
|
plan: string;
|
|
2588
2647
|
}>;
|
|
2589
|
-
"user.organizations": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "
|
|
2648
|
+
"user.organizations": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "organizations_user", {
|
|
2590
2649
|
id: string;
|
|
2591
2650
|
name: string;
|
|
2592
2651
|
handle: string;
|