@neon/tools 0.5.0 → 0.6.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.
@@ -0,0 +1,2601 @@
1
+ import * as z from "zod";
2
+ import { type ToolClientOptions } from "./bind.js";
3
+ import type { NeonToolId } from "./ids.js";
4
+ export type ToolFactory = (typeof toolFactories)[NeonToolId];
5
+ export declare const toolFactories: {
6
+ "projects.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodType<{
7
+ search?: string | undefined;
8
+ org_id?: string | undefined;
9
+ limit?: number | undefined;
10
+ timeout?: number | undefined;
11
+ recoverable?: boolean | undefined;
12
+ }, {
13
+ search?: string | undefined;
14
+ org_id?: string | undefined;
15
+ limit?: number | undefined;
16
+ timeout?: number | undefined;
17
+ recoverable?: boolean | undefined;
18
+ }, z.core.$ZodTypeInternals<{
19
+ search?: string | undefined;
20
+ org_id?: string | undefined;
21
+ limit?: number | undefined;
22
+ timeout?: number | undefined;
23
+ recoverable?: boolean | undefined;
24
+ }, {
25
+ search?: string | undefined;
26
+ org_id?: string | undefined;
27
+ limit?: number | undefined;
28
+ timeout?: number | undefined;
29
+ recoverable?: boolean | undefined;
30
+ }>>, "projects_list", {
31
+ id: string;
32
+ platform_id: string;
33
+ region_id: string;
34
+ name: string;
35
+ provisioner: import("@neon/sdk").Provisioner;
36
+ default_endpoint_settings?: {
37
+ pg_settings?: {
38
+ [x: string]: string;
39
+ } | null | undefined;
40
+ pgbouncer_settings?: {
41
+ [x: string]: string;
42
+ } | null | undefined;
43
+ autoscaling_limit_min_cu?: number | null | undefined;
44
+ autoscaling_limit_max_cu?: number | null | undefined;
45
+ suspend_timeout_seconds?: number | null | undefined;
46
+ } | null | undefined;
47
+ settings?: {
48
+ quota?: {
49
+ active_time_seconds?: number | null | undefined;
50
+ compute_time_seconds?: number | null | undefined;
51
+ written_data_bytes?: number | null | undefined;
52
+ data_transfer_bytes?: number | null | undefined;
53
+ logical_size_bytes?: number | null | undefined;
54
+ } | null | undefined;
55
+ allowed_ips?: {
56
+ ips?: string[] | null | undefined;
57
+ protected_branches_only?: boolean | null | undefined;
58
+ } | null | undefined;
59
+ enable_logical_replication?: boolean | null | undefined;
60
+ maintenance_window?: {
61
+ weekdays: number[];
62
+ start_time: string;
63
+ end_time: string;
64
+ } | null | undefined;
65
+ block_public_connections?: boolean | null | undefined;
66
+ block_vpc_connections?: boolean | null | undefined;
67
+ audit_log_level?: import("@neon/sdk").ProjectAuditLogLevel | null | undefined;
68
+ hipaa?: boolean | null | undefined;
69
+ preload_libraries?: {
70
+ use_defaults?: boolean | null | undefined;
71
+ enabled_libraries?: string[] | null | undefined;
72
+ } | null | undefined;
73
+ } | null | undefined;
74
+ pg_version: import("@neon/sdk").PgVersion;
75
+ proxy_host: string;
76
+ branch_logical_size_limit: number;
77
+ branch_logical_size_limit_bytes: number;
78
+ store_passwords: boolean;
79
+ active_time: number;
80
+ cpu_used_sec: number;
81
+ maintenance_starts_at?: string | null | undefined;
82
+ creation_source: string;
83
+ created_at: string;
84
+ updated_at: string;
85
+ synthetic_storage_size?: number | null | undefined;
86
+ quota_reset_at?: string | null | undefined;
87
+ owner_id: string;
88
+ compute_last_active_at?: string | null | undefined;
89
+ org_id?: string | null | undefined;
90
+ org_name?: string | null | undefined;
91
+ history_retention_seconds?: number | null | undefined;
92
+ hipaa_enabled_at?: string | null | undefined;
93
+ deleted_at?: string | null | undefined;
94
+ recoverable_until?: string | null | undefined;
95
+ effective_project_permission?: (import("@neon/sdk").ProjectPermissionLevel | null) | undefined;
96
+ }[]>;
97
+ "projects.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
98
+ project_id: z.ZodString;
99
+ }, z.core.$strict>, "projects_get", {
100
+ data_storage_bytes_hour: number;
101
+ data_transfer_bytes: number;
102
+ written_data_bytes: number;
103
+ compute_time_seconds: number;
104
+ active_time_seconds: number;
105
+ cpu_used_sec: number;
106
+ id: string;
107
+ platform_id: string;
108
+ region_id: string;
109
+ name: string;
110
+ provisioner: import("@neon/sdk").Provisioner;
111
+ default_endpoint_settings?: {
112
+ pg_settings?: {
113
+ [x: string]: string;
114
+ } | null | undefined;
115
+ pgbouncer_settings?: {
116
+ [x: string]: string;
117
+ } | null | undefined;
118
+ autoscaling_limit_min_cu?: number | null | undefined;
119
+ autoscaling_limit_max_cu?: number | null | undefined;
120
+ suspend_timeout_seconds?: number | null | undefined;
121
+ } | null | undefined;
122
+ settings?: {
123
+ quota?: {
124
+ active_time_seconds?: number | null | undefined;
125
+ compute_time_seconds?: number | null | undefined;
126
+ written_data_bytes?: number | null | undefined;
127
+ data_transfer_bytes?: number | null | undefined;
128
+ logical_size_bytes?: number | null | undefined;
129
+ } | null | undefined;
130
+ allowed_ips?: {
131
+ ips?: string[] | null | undefined;
132
+ protected_branches_only?: boolean | null | undefined;
133
+ } | null | undefined;
134
+ enable_logical_replication?: boolean | null | undefined;
135
+ maintenance_window?: {
136
+ weekdays: number[];
137
+ start_time: string;
138
+ end_time: string;
139
+ } | null | undefined;
140
+ block_public_connections?: boolean | null | undefined;
141
+ block_vpc_connections?: boolean | null | undefined;
142
+ audit_log_level?: import("@neon/sdk").ProjectAuditLogLevel | null | undefined;
143
+ hipaa?: boolean | null | undefined;
144
+ preload_libraries?: {
145
+ use_defaults?: boolean | null | undefined;
146
+ enabled_libraries?: string[] | null | undefined;
147
+ } | null | undefined;
148
+ } | null | undefined;
149
+ pg_version: import("@neon/sdk").PgVersion;
150
+ proxy_host: string;
151
+ branch_logical_size_limit: number;
152
+ branch_logical_size_limit_bytes: number;
153
+ store_passwords: boolean;
154
+ maintenance_starts_at?: string | null | undefined;
155
+ creation_source: string;
156
+ history_retention_seconds: number;
157
+ created_at: string;
158
+ updated_at: string;
159
+ synthetic_storage_size?: number | null | undefined;
160
+ consumption_period_start: string;
161
+ consumption_period_end: string;
162
+ quota_reset_at?: string | null | undefined;
163
+ owner_id: string;
164
+ owner?: {
165
+ email: string;
166
+ name: string;
167
+ branches_limit: number;
168
+ subscription_type: import("@neon/sdk").BillingSubscriptionType;
169
+ } | null | undefined;
170
+ compute_last_active_at?: string | null | undefined;
171
+ org_id?: string | null | undefined;
172
+ maintenance_scheduled_for?: string | null | undefined;
173
+ hipaa_enabled_at?: string | null | undefined;
174
+ effective_project_permission?: (import("@neon/sdk").ProjectPermissionLevel | null) | undefined;
175
+ }>;
176
+ "projects.createAndConnect": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
177
+ pooled: z.ZodOptional<z.ZodBoolean>;
178
+ settings: z.ZodOptional<z.ZodObject<{
179
+ quota: z.ZodOptional<z.ZodObject<{
180
+ active_time_seconds: z.ZodOptional<z.ZodInt>;
181
+ compute_time_seconds: z.ZodOptional<z.ZodInt>;
182
+ written_data_bytes: z.ZodOptional<z.ZodInt>;
183
+ data_transfer_bytes: z.ZodOptional<z.ZodInt>;
184
+ logical_size_bytes: z.ZodOptional<z.ZodInt>;
185
+ }, z.core.$strict>>;
186
+ allowed_ips: z.ZodOptional<z.ZodObject<{
187
+ ips: z.ZodOptional<z.ZodArray<z.ZodString>>;
188
+ protected_branches_only: z.ZodOptional<z.ZodBoolean>;
189
+ }, z.core.$strict>>;
190
+ enable_logical_replication: z.ZodOptional<z.ZodBoolean>;
191
+ maintenance_window: z.ZodOptional<z.ZodObject<{
192
+ weekdays: z.ZodArray<z.ZodInt>;
193
+ start_time: z.ZodString;
194
+ end_time: z.ZodString;
195
+ }, z.core.$strict>>;
196
+ block_public_connections: z.ZodOptional<z.ZodBoolean>;
197
+ block_vpc_connections: z.ZodOptional<z.ZodBoolean>;
198
+ audit_log_level: z.ZodOptional<z.ZodEnum<{
199
+ base: "base";
200
+ extended: "extended";
201
+ full: "full";
202
+ }>>;
203
+ hipaa: z.ZodOptional<z.ZodBoolean>;
204
+ preload_libraries: z.ZodOptional<z.ZodObject<{
205
+ use_defaults: z.ZodOptional<z.ZodBoolean>;
206
+ enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
207
+ }, z.core.$strict>>;
208
+ }, z.core.$strict>>;
209
+ name: z.ZodOptional<z.ZodString>;
210
+ branch: z.ZodOptional<z.ZodObject<{
211
+ name: z.ZodOptional<z.ZodString>;
212
+ role_name: z.ZodOptional<z.ZodString>;
213
+ database_name: z.ZodOptional<z.ZodString>;
214
+ annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
215
+ }, z.core.$strict>>;
216
+ autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
217
+ autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
218
+ provisioner: z.ZodOptional<z.ZodString>;
219
+ region_id: z.ZodOptional<z.ZodString>;
220
+ default_endpoint_settings: z.ZodOptional<z.ZodObject<{
221
+ pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
222
+ pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
223
+ autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
224
+ autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
225
+ suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
226
+ }, z.core.$strict>>;
227
+ pg_version: z.ZodOptional<z.ZodInt>;
228
+ store_passwords: z.ZodOptional<z.ZodBoolean>;
229
+ history_retention_seconds: z.ZodOptional<z.ZodInt>;
230
+ org_id: z.ZodOptional<z.ZodString>;
231
+ }, z.core.$strict>, "projects_create_and_connect", {
232
+ project: {
233
+ data_storage_bytes_hour: number;
234
+ data_transfer_bytes: number;
235
+ written_data_bytes: number;
236
+ compute_time_seconds: number;
237
+ active_time_seconds: number;
238
+ cpu_used_sec: number;
239
+ id: string;
240
+ platform_id: string;
241
+ region_id: string;
242
+ name: string;
243
+ provisioner: import("@neon/sdk").Provisioner;
244
+ default_endpoint_settings?: {
245
+ pg_settings?: {
246
+ [x: string]: string;
247
+ } | null | undefined;
248
+ pgbouncer_settings?: {
249
+ [x: string]: string;
250
+ } | null | undefined;
251
+ autoscaling_limit_min_cu?: number | null | undefined;
252
+ autoscaling_limit_max_cu?: number | null | undefined;
253
+ suspend_timeout_seconds?: number | null | undefined;
254
+ } | null | undefined;
255
+ settings?: {
256
+ quota?: {
257
+ active_time_seconds?: number | null | undefined;
258
+ compute_time_seconds?: number | null | undefined;
259
+ written_data_bytes?: number | null | undefined;
260
+ data_transfer_bytes?: number | null | undefined;
261
+ logical_size_bytes?: number | null | undefined;
262
+ } | null | undefined;
263
+ allowed_ips?: {
264
+ ips?: string[] | null | undefined;
265
+ protected_branches_only?: boolean | null | undefined;
266
+ } | null | undefined;
267
+ enable_logical_replication?: boolean | null | undefined;
268
+ maintenance_window?: {
269
+ weekdays: number[];
270
+ start_time: string;
271
+ end_time: string;
272
+ } | null | undefined;
273
+ block_public_connections?: boolean | null | undefined;
274
+ block_vpc_connections?: boolean | null | undefined;
275
+ audit_log_level?: import("@neon/sdk").ProjectAuditLogLevel | null | undefined;
276
+ hipaa?: boolean | null | undefined;
277
+ preload_libraries?: {
278
+ use_defaults?: boolean | null | undefined;
279
+ enabled_libraries?: string[] | null | undefined;
280
+ } | null | undefined;
281
+ } | null | undefined;
282
+ pg_version: import("@neon/sdk").PgVersion;
283
+ proxy_host: string;
284
+ branch_logical_size_limit: number;
285
+ branch_logical_size_limit_bytes: number;
286
+ store_passwords: boolean;
287
+ maintenance_starts_at?: string | null | undefined;
288
+ creation_source: string;
289
+ history_retention_seconds: number;
290
+ created_at: string;
291
+ updated_at: string;
292
+ synthetic_storage_size?: number | null | undefined;
293
+ consumption_period_start: string;
294
+ consumption_period_end: string;
295
+ quota_reset_at?: string | null | undefined;
296
+ owner_id: string;
297
+ owner?: {
298
+ email: string;
299
+ name: string;
300
+ branches_limit: number;
301
+ subscription_type: import("@neon/sdk").BillingSubscriptionType;
302
+ } | null | undefined;
303
+ compute_last_active_at?: string | null | undefined;
304
+ org_id?: string | null | undefined;
305
+ maintenance_scheduled_for?: string | null | undefined;
306
+ hipaa_enabled_at?: string | null | undefined;
307
+ effective_project_permission?: (import("@neon/sdk").ProjectPermissionLevel | null) | undefined;
308
+ };
309
+ connectionString: string;
310
+ }>;
311
+ "projects.update": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
312
+ project_id: z.ZodString;
313
+ settings: z.ZodOptional<z.ZodObject<{
314
+ quota: z.ZodOptional<z.ZodObject<{
315
+ active_time_seconds: z.ZodOptional<z.ZodInt>;
316
+ compute_time_seconds: z.ZodOptional<z.ZodInt>;
317
+ written_data_bytes: z.ZodOptional<z.ZodInt>;
318
+ data_transfer_bytes: z.ZodOptional<z.ZodInt>;
319
+ logical_size_bytes: z.ZodOptional<z.ZodInt>;
320
+ }, z.core.$strict>>;
321
+ allowed_ips: z.ZodOptional<z.ZodObject<{
322
+ ips: z.ZodOptional<z.ZodArray<z.ZodString>>;
323
+ protected_branches_only: z.ZodOptional<z.ZodBoolean>;
324
+ }, z.core.$strict>>;
325
+ enable_logical_replication: z.ZodOptional<z.ZodBoolean>;
326
+ maintenance_window: z.ZodOptional<z.ZodObject<{
327
+ weekdays: z.ZodArray<z.ZodInt>;
328
+ start_time: z.ZodString;
329
+ end_time: z.ZodString;
330
+ }, z.core.$strict>>;
331
+ block_public_connections: z.ZodOptional<z.ZodBoolean>;
332
+ block_vpc_connections: z.ZodOptional<z.ZodBoolean>;
333
+ audit_log_level: z.ZodOptional<z.ZodEnum<{
334
+ base: "base";
335
+ extended: "extended";
336
+ full: "full";
337
+ }>>;
338
+ hipaa: z.ZodOptional<z.ZodBoolean>;
339
+ preload_libraries: z.ZodOptional<z.ZodObject<{
340
+ use_defaults: z.ZodOptional<z.ZodBoolean>;
341
+ enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
342
+ }, z.core.$strict>>;
343
+ }, z.core.$strict>>;
344
+ name: z.ZodOptional<z.ZodString>;
345
+ default_endpoint_settings: z.ZodOptional<z.ZodObject<{
346
+ pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
347
+ pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
348
+ autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
349
+ autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
350
+ suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
351
+ }, z.core.$strict>>;
352
+ history_retention_seconds: z.ZodOptional<z.ZodInt>;
353
+ }, z.core.$strict>, "projects_update", {
354
+ data_storage_bytes_hour: number;
355
+ data_transfer_bytes: number;
356
+ written_data_bytes: number;
357
+ compute_time_seconds: number;
358
+ active_time_seconds: number;
359
+ cpu_used_sec: number;
360
+ id: string;
361
+ platform_id: string;
362
+ region_id: string;
363
+ name: string;
364
+ provisioner: import("@neon/sdk").Provisioner;
365
+ default_endpoint_settings?: {
366
+ pg_settings?: {
367
+ [x: string]: string;
368
+ } | null | undefined;
369
+ pgbouncer_settings?: {
370
+ [x: string]: string;
371
+ } | null | undefined;
372
+ autoscaling_limit_min_cu?: number | null | undefined;
373
+ autoscaling_limit_max_cu?: number | null | undefined;
374
+ suspend_timeout_seconds?: number | null | undefined;
375
+ } | null | undefined;
376
+ settings?: {
377
+ quota?: {
378
+ active_time_seconds?: number | null | undefined;
379
+ compute_time_seconds?: number | null | undefined;
380
+ written_data_bytes?: number | null | undefined;
381
+ data_transfer_bytes?: number | null | undefined;
382
+ logical_size_bytes?: number | null | undefined;
383
+ } | null | undefined;
384
+ allowed_ips?: {
385
+ ips?: string[] | null | undefined;
386
+ protected_branches_only?: boolean | null | undefined;
387
+ } | null | undefined;
388
+ enable_logical_replication?: boolean | null | undefined;
389
+ maintenance_window?: {
390
+ weekdays: number[];
391
+ start_time: string;
392
+ end_time: string;
393
+ } | null | undefined;
394
+ block_public_connections?: boolean | null | undefined;
395
+ block_vpc_connections?: boolean | null | undefined;
396
+ audit_log_level?: import("@neon/sdk").ProjectAuditLogLevel | null | undefined;
397
+ hipaa?: boolean | null | undefined;
398
+ preload_libraries?: {
399
+ use_defaults?: boolean | null | undefined;
400
+ enabled_libraries?: string[] | null | undefined;
401
+ } | null | undefined;
402
+ } | null | undefined;
403
+ pg_version: import("@neon/sdk").PgVersion;
404
+ proxy_host: string;
405
+ branch_logical_size_limit: number;
406
+ branch_logical_size_limit_bytes: number;
407
+ store_passwords: boolean;
408
+ maintenance_starts_at?: string | null | undefined;
409
+ creation_source: string;
410
+ history_retention_seconds: number;
411
+ created_at: string;
412
+ updated_at: string;
413
+ synthetic_storage_size?: number | null | undefined;
414
+ consumption_period_start: string;
415
+ consumption_period_end: string;
416
+ quota_reset_at?: string | null | undefined;
417
+ owner_id: string;
418
+ owner?: {
419
+ email: string;
420
+ name: string;
421
+ branches_limit: number;
422
+ subscription_type: import("@neon/sdk").BillingSubscriptionType;
423
+ } | null | undefined;
424
+ compute_last_active_at?: string | null | undefined;
425
+ org_id?: string | null | undefined;
426
+ maintenance_scheduled_for?: string | null | undefined;
427
+ hipaa_enabled_at?: string | null | undefined;
428
+ effective_project_permission?: (import("@neon/sdk").ProjectPermissionLevel | null) | undefined;
429
+ }>;
430
+ "projects.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
431
+ project_id: z.ZodString;
432
+ }, z.core.$strict>, "projects_delete", {
433
+ data_storage_bytes_hour: number;
434
+ data_transfer_bytes: number;
435
+ written_data_bytes: number;
436
+ compute_time_seconds: number;
437
+ active_time_seconds: number;
438
+ cpu_used_sec: number;
439
+ id: string;
440
+ platform_id: string;
441
+ region_id: string;
442
+ name: string;
443
+ provisioner: import("@neon/sdk").Provisioner;
444
+ default_endpoint_settings?: {
445
+ pg_settings?: {
446
+ [x: string]: string;
447
+ } | null | undefined;
448
+ pgbouncer_settings?: {
449
+ [x: string]: string;
450
+ } | null | undefined;
451
+ autoscaling_limit_min_cu?: number | null | undefined;
452
+ autoscaling_limit_max_cu?: number | null | undefined;
453
+ suspend_timeout_seconds?: number | null | undefined;
454
+ } | null | undefined;
455
+ settings?: {
456
+ quota?: {
457
+ active_time_seconds?: number | null | undefined;
458
+ compute_time_seconds?: number | null | undefined;
459
+ written_data_bytes?: number | null | undefined;
460
+ data_transfer_bytes?: number | null | undefined;
461
+ logical_size_bytes?: number | null | undefined;
462
+ } | null | undefined;
463
+ allowed_ips?: {
464
+ ips?: string[] | null | undefined;
465
+ protected_branches_only?: boolean | null | undefined;
466
+ } | null | undefined;
467
+ enable_logical_replication?: boolean | null | undefined;
468
+ maintenance_window?: {
469
+ weekdays: number[];
470
+ start_time: string;
471
+ end_time: string;
472
+ } | null | undefined;
473
+ block_public_connections?: boolean | null | undefined;
474
+ block_vpc_connections?: boolean | null | undefined;
475
+ audit_log_level?: import("@neon/sdk").ProjectAuditLogLevel | null | undefined;
476
+ hipaa?: boolean | null | undefined;
477
+ preload_libraries?: {
478
+ use_defaults?: boolean | null | undefined;
479
+ enabled_libraries?: string[] | null | undefined;
480
+ } | null | undefined;
481
+ } | null | undefined;
482
+ pg_version: import("@neon/sdk").PgVersion;
483
+ proxy_host: string;
484
+ branch_logical_size_limit: number;
485
+ branch_logical_size_limit_bytes: number;
486
+ store_passwords: boolean;
487
+ maintenance_starts_at?: string | null | undefined;
488
+ creation_source: string;
489
+ history_retention_seconds: number;
490
+ created_at: string;
491
+ updated_at: string;
492
+ synthetic_storage_size?: number | null | undefined;
493
+ consumption_period_start: string;
494
+ consumption_period_end: string;
495
+ quota_reset_at?: string | null | undefined;
496
+ owner_id: string;
497
+ owner?: {
498
+ email: string;
499
+ name: string;
500
+ branches_limit: number;
501
+ subscription_type: import("@neon/sdk").BillingSubscriptionType;
502
+ } | null | undefined;
503
+ compute_last_active_at?: string | null | undefined;
504
+ org_id?: string | null | undefined;
505
+ maintenance_scheduled_for?: string | null | undefined;
506
+ hipaa_enabled_at?: string | null | undefined;
507
+ effective_project_permission?: (import("@neon/sdk").ProjectPermissionLevel | null) | undefined;
508
+ }>;
509
+ "projects.recover": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
510
+ project_id: z.ZodString;
511
+ }, z.core.$strict>, "projects_recover", {
512
+ data_storage_bytes_hour: number;
513
+ data_transfer_bytes: number;
514
+ written_data_bytes: number;
515
+ compute_time_seconds: number;
516
+ active_time_seconds: number;
517
+ cpu_used_sec: number;
518
+ id: string;
519
+ platform_id: string;
520
+ region_id: string;
521
+ name: string;
522
+ provisioner: import("@neon/sdk").Provisioner;
523
+ default_endpoint_settings?: {
524
+ pg_settings?: {
525
+ [x: string]: string;
526
+ } | null | undefined;
527
+ pgbouncer_settings?: {
528
+ [x: string]: string;
529
+ } | null | undefined;
530
+ autoscaling_limit_min_cu?: number | null | undefined;
531
+ autoscaling_limit_max_cu?: number | null | undefined;
532
+ suspend_timeout_seconds?: number | null | undefined;
533
+ } | null | undefined;
534
+ settings?: {
535
+ quota?: {
536
+ active_time_seconds?: number | null | undefined;
537
+ compute_time_seconds?: number | null | undefined;
538
+ written_data_bytes?: number | null | undefined;
539
+ data_transfer_bytes?: number | null | undefined;
540
+ logical_size_bytes?: number | null | undefined;
541
+ } | null | undefined;
542
+ allowed_ips?: {
543
+ ips?: string[] | null | undefined;
544
+ protected_branches_only?: boolean | null | undefined;
545
+ } | null | undefined;
546
+ enable_logical_replication?: boolean | null | undefined;
547
+ maintenance_window?: {
548
+ weekdays: number[];
549
+ start_time: string;
550
+ end_time: string;
551
+ } | null | undefined;
552
+ block_public_connections?: boolean | null | undefined;
553
+ block_vpc_connections?: boolean | null | undefined;
554
+ audit_log_level?: import("@neon/sdk").ProjectAuditLogLevel | null | undefined;
555
+ hipaa?: boolean | null | undefined;
556
+ preload_libraries?: {
557
+ use_defaults?: boolean | null | undefined;
558
+ enabled_libraries?: string[] | null | undefined;
559
+ } | null | undefined;
560
+ } | null | undefined;
561
+ pg_version: import("@neon/sdk").PgVersion;
562
+ proxy_host: string;
563
+ branch_logical_size_limit: number;
564
+ branch_logical_size_limit_bytes: number;
565
+ store_passwords: boolean;
566
+ maintenance_starts_at?: string | null | undefined;
567
+ creation_source: string;
568
+ history_retention_seconds: number;
569
+ created_at: string;
570
+ updated_at: string;
571
+ synthetic_storage_size?: number | null | undefined;
572
+ consumption_period_start: string;
573
+ consumption_period_end: string;
574
+ quota_reset_at?: string | null | undefined;
575
+ owner_id: string;
576
+ owner?: {
577
+ email: string;
578
+ name: string;
579
+ branches_limit: number;
580
+ subscription_type: import("@neon/sdk").BillingSubscriptionType;
581
+ } | null | undefined;
582
+ compute_last_active_at?: string | null | undefined;
583
+ org_id?: string | null | undefined;
584
+ maintenance_scheduled_for?: string | null | undefined;
585
+ hipaa_enabled_at?: string | null | undefined;
586
+ effective_project_permission?: (import("@neon/sdk").ProjectPermissionLevel | null) | undefined;
587
+ }>;
588
+ "projects.transfer": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
589
+ source_org_id: z.ZodString;
590
+ destination_org_id: z.ZodString;
591
+ project_ids: z.ZodArray<z.ZodString>;
592
+ }, z.core.$strict>, "projects_transfer", null>;
593
+ "projects.transferFromUser": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
594
+ destination_org_id: z.ZodString;
595
+ project_ids: z.ZodArray<z.ZodString>;
596
+ }, z.core.$strict>, "projects_transfer_from_user", null>;
597
+ "projects.permissions.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
598
+ project_id: z.ZodString;
599
+ }, z.core.$strict>, "projects_permissions_list", {
600
+ id: string;
601
+ granted_to_email: string;
602
+ granted_at: string;
603
+ revoked_at?: string | null | undefined;
604
+ }[]>;
605
+ "projects.permissions.grant": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
606
+ project_id: z.ZodString;
607
+ email: z.ZodEmail;
608
+ }, z.core.$strict>, "projects_permissions_grant", {
609
+ id: string;
610
+ granted_to_email: string;
611
+ granted_at: string;
612
+ revoked_at?: string | null | undefined;
613
+ }>;
614
+ "projects.permissions.revoke": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
615
+ project_id: z.ZodString;
616
+ permission_id: z.ZodString;
617
+ }, z.core.$strict>, "projects_permissions_revoke", {
618
+ id: string;
619
+ granted_to_email: string;
620
+ granted_at: string;
621
+ revoked_at?: string | null | undefined;
622
+ }>;
623
+ "projects.members.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodType<{
624
+ project_id: string;
625
+ limit?: number | undefined;
626
+ }, {
627
+ project_id: string;
628
+ limit?: number | undefined;
629
+ }, z.core.$ZodTypeInternals<{
630
+ project_id: string;
631
+ limit?: number | undefined;
632
+ }, {
633
+ project_id: string;
634
+ limit?: number | undefined;
635
+ }>>, "projects_members_list", {
636
+ member_id: string;
637
+ user_id: string;
638
+ email?: string | null | undefined;
639
+ name?: string | null | undefined;
640
+ org_role: import("@neon/sdk").ProjectMemberOrgRole;
641
+ project_role?: import("@neon/sdk").ProjectRole | null | undefined;
642
+ org_default_project_permission?: import("@neon/sdk").ProjectPermissionLevel | null | undefined;
643
+ explicit_project_permission?: import("@neon/sdk").ProjectPermissionLevel | null | undefined;
644
+ effective_project_permission?: import("@neon/sdk").ProjectPermissionLevel | null | undefined;
645
+ grant_source?: import("@neon/sdk").ProjectMemberGrantSource | null | undefined;
646
+ }[]>;
647
+ "projects.members.setRole": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
648
+ project_id: z.ZodString;
649
+ member_id: z.ZodUUID;
650
+ confirm_self_demotion: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
651
+ role: z.ZodEnum<{
652
+ viewer: "viewer";
653
+ editor: "editor";
654
+ admin: "admin";
655
+ }>;
656
+ }, z.core.$strict>, "projects_members_set_role", {
657
+ project_id: string;
658
+ member_id: string;
659
+ user_id: string;
660
+ email?: string | null | undefined;
661
+ name?: string | null | undefined;
662
+ org_role: import("@neon/sdk").ProjectMemberOrgRole;
663
+ project_role?: import("@neon/sdk").ProjectRole | null | undefined;
664
+ org_default_project_permission?: import("@neon/sdk").ProjectPermissionLevel | null | undefined;
665
+ explicit_project_permission?: import("@neon/sdk").ProjectPermissionLevel | null | undefined;
666
+ effective_project_permission?: import("@neon/sdk").ProjectPermissionLevel | null | undefined;
667
+ credential_rotation_recommended?: boolean | null | undefined;
668
+ org_api_key_rotation_recommended?: boolean | null | undefined;
669
+ }>;
670
+ "projects.members.removeRole": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
671
+ project_id: z.ZodString;
672
+ member_id: z.ZodUUID;
673
+ confirm_self_lockout: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
674
+ }, z.core.$strict>, "projects_members_remove_role", {
675
+ project_id: string;
676
+ member_id: string;
677
+ user_id: string;
678
+ email?: string | null | undefined;
679
+ name?: string | null | undefined;
680
+ org_role: import("@neon/sdk").ProjectMemberOrgRole;
681
+ project_role?: import("@neon/sdk").ProjectRole | null | undefined;
682
+ org_default_project_permission?: import("@neon/sdk").ProjectPermissionLevel | null | undefined;
683
+ explicit_project_permission?: import("@neon/sdk").ProjectPermissionLevel | null | undefined;
684
+ effective_project_permission?: import("@neon/sdk").ProjectPermissionLevel | null | undefined;
685
+ credential_rotation_recommended?: boolean | null | undefined;
686
+ org_api_key_rotation_recommended?: boolean | null | undefined;
687
+ }>;
688
+ "branches.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodType<{
689
+ search?: string | undefined;
690
+ project_id: string;
691
+ sort_by?: "name" | "created_at" | "updated_at" | undefined;
692
+ sort_order?: "asc" | "desc" | undefined;
693
+ limit?: number | undefined;
694
+ include_deleted?: boolean | undefined;
695
+ }, {
696
+ search?: string | undefined;
697
+ project_id: string;
698
+ sort_by?: "name" | "created_at" | "updated_at" | undefined;
699
+ sort_order?: "asc" | "desc" | undefined;
700
+ limit?: number | undefined;
701
+ include_deleted?: boolean | undefined;
702
+ }, z.core.$ZodTypeInternals<{
703
+ search?: string | undefined;
704
+ project_id: string;
705
+ sort_by?: "name" | "created_at" | "updated_at" | undefined;
706
+ sort_order?: "asc" | "desc" | undefined;
707
+ limit?: number | undefined;
708
+ include_deleted?: boolean | undefined;
709
+ }, {
710
+ search?: string | undefined;
711
+ project_id: string;
712
+ sort_by?: "name" | "created_at" | "updated_at" | undefined;
713
+ sort_order?: "asc" | "desc" | undefined;
714
+ limit?: number | undefined;
715
+ include_deleted?: boolean | undefined;
716
+ }>>, "branches_list", {
717
+ id: string;
718
+ project_id: string;
719
+ parent_id?: string | null | undefined;
720
+ parent_lsn?: string | null | undefined;
721
+ parent_timestamp?: string | null | undefined;
722
+ name: string;
723
+ current_state: import("@neon/sdk").BranchState;
724
+ pending_state?: string | null | undefined;
725
+ state_changed_at: string;
726
+ logical_size?: number | null | undefined;
727
+ creation_source: string;
728
+ primary?: boolean | null | undefined;
729
+ default: boolean;
730
+ protected: boolean;
731
+ cpu_used_sec: number;
732
+ compute_time_seconds: number;
733
+ active_time_seconds: number;
734
+ written_data_bytes: number;
735
+ data_transfer_bytes: number;
736
+ created_at: string;
737
+ updated_at: string;
738
+ ttl_interval_seconds?: number | null | undefined;
739
+ expires_at?: string | null | undefined;
740
+ last_reset_at?: string | null | undefined;
741
+ created_by?: {
742
+ name?: string | null | undefined;
743
+ image?: string | null | undefined;
744
+ } | null | undefined;
745
+ init_source?: string | null | undefined;
746
+ restore_status?: string | null | undefined;
747
+ restored_from?: string | null | undefined;
748
+ restored_as?: string | null | undefined;
749
+ restricted_actions?: {
750
+ name: string;
751
+ reason: string;
752
+ }[] | null | undefined;
753
+ recovery?: {
754
+ deleted_at: string;
755
+ recoverable_until: string;
756
+ deletion_method: "user" | "ttl";
757
+ } | null | undefined;
758
+ }[]>;
759
+ "branches.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
760
+ project_id: z.ZodString;
761
+ branch_id: z.ZodString;
762
+ }, z.core.$strict>, "branches_get", {
763
+ id: string;
764
+ project_id: string;
765
+ parent_id?: string | null | undefined;
766
+ parent_lsn?: string | null | undefined;
767
+ parent_timestamp?: string | null | undefined;
768
+ name: string;
769
+ current_state: import("@neon/sdk").BranchState;
770
+ pending_state?: string | null | undefined;
771
+ state_changed_at: string;
772
+ logical_size?: number | null | undefined;
773
+ creation_source: string;
774
+ primary?: boolean | null | undefined;
775
+ default: boolean;
776
+ protected: boolean;
777
+ cpu_used_sec: number;
778
+ compute_time_seconds: number;
779
+ active_time_seconds: number;
780
+ written_data_bytes: number;
781
+ data_transfer_bytes: number;
782
+ created_at: string;
783
+ updated_at: string;
784
+ ttl_interval_seconds?: number | null | undefined;
785
+ expires_at?: string | null | undefined;
786
+ last_reset_at?: string | null | undefined;
787
+ created_by?: {
788
+ name?: string | null | undefined;
789
+ image?: string | null | undefined;
790
+ } | null | undefined;
791
+ init_source?: string | null | undefined;
792
+ restore_status?: string | null | undefined;
793
+ restored_from?: string | null | undefined;
794
+ restored_as?: string | null | undefined;
795
+ restricted_actions?: {
796
+ name: string;
797
+ reason: string;
798
+ }[] | null | undefined;
799
+ recovery?: {
800
+ deleted_at: string;
801
+ recoverable_until: string;
802
+ deletion_method: "user" | "ttl";
803
+ } | null | undefined;
804
+ }>;
805
+ "branches.createWithCompute": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
806
+ project_id: z.ZodString;
807
+ name: z.ZodOptional<z.ZodString>;
808
+ parent_id: z.ZodOptional<z.ZodString>;
809
+ compute: z.ZodOptional<z.ZodObject<{
810
+ min_cu: z.ZodOptional<z.ZodNumber>;
811
+ max_cu: z.ZodOptional<z.ZodNumber>;
812
+ suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
813
+ }, z.core.$strict>>;
814
+ pooled: z.ZodOptional<z.ZodBoolean>;
815
+ }, z.core.$strict>, "branches_create_with_compute", {
816
+ branch: {
817
+ id: string;
818
+ project_id: string;
819
+ parent_id?: string | null | undefined;
820
+ parent_lsn?: string | null | undefined;
821
+ parent_timestamp?: string | null | undefined;
822
+ name: string;
823
+ current_state: import("@neon/sdk").BranchState;
824
+ pending_state?: string | null | undefined;
825
+ state_changed_at: string;
826
+ logical_size?: number | null | undefined;
827
+ creation_source: string;
828
+ primary?: boolean | null | undefined;
829
+ default: boolean;
830
+ protected: boolean;
831
+ cpu_used_sec: number;
832
+ compute_time_seconds: number;
833
+ active_time_seconds: number;
834
+ written_data_bytes: number;
835
+ data_transfer_bytes: number;
836
+ created_at: string;
837
+ updated_at: string;
838
+ ttl_interval_seconds?: number | null | undefined;
839
+ expires_at?: string | null | undefined;
840
+ last_reset_at?: string | null | undefined;
841
+ created_by?: {
842
+ name?: string | null | undefined;
843
+ image?: string | null | undefined;
844
+ } | null | undefined;
845
+ init_source?: string | null | undefined;
846
+ restore_status?: string | null | undefined;
847
+ restored_from?: string | null | undefined;
848
+ restored_as?: string | null | undefined;
849
+ restricted_actions?: {
850
+ name: string;
851
+ reason: string;
852
+ }[] | null | undefined;
853
+ recovery?: {
854
+ deleted_at: string;
855
+ recoverable_until: string;
856
+ deletion_method: "user" | "ttl";
857
+ } | null | undefined;
858
+ };
859
+ endpoint: {
860
+ host: string;
861
+ id: string;
862
+ name?: string | null | undefined;
863
+ project_id: string;
864
+ branch_id: string;
865
+ autoscaling_limit_min_cu: import("@neon/sdk").ComputeUnit;
866
+ autoscaling_limit_max_cu: import("@neon/sdk").ComputeUnit;
867
+ region_id: string;
868
+ type: import("@neon/sdk").EndpointType;
869
+ current_state: import("@neon/sdk").EndpointState;
870
+ pending_state?: import("@neon/sdk").EndpointState | null | undefined;
871
+ settings: {
872
+ pg_settings?: {
873
+ [x: string]: string;
874
+ } | null | undefined;
875
+ pgbouncer_settings?: {
876
+ [x: string]: string;
877
+ } | null | undefined;
878
+ preload_libraries?: {
879
+ use_defaults?: boolean | null | undefined;
880
+ enabled_libraries?: string[] | null | undefined;
881
+ } | null | undefined;
882
+ };
883
+ pooler_enabled: boolean;
884
+ pooler_mode: import("@neon/sdk").EndpointPoolerMode;
885
+ disabled: boolean;
886
+ passwordless_access: boolean;
887
+ last_active?: string | null | undefined;
888
+ creation_source: string;
889
+ created_at: string;
890
+ updated_at: string;
891
+ started_at?: string | null | undefined;
892
+ suspended_at?: string | null | undefined;
893
+ proxy_host: string;
894
+ suspend_timeout_seconds: import("@neon/sdk").SuspendTimeoutSeconds;
895
+ provisioner: import("@neon/sdk").Provisioner;
896
+ compute_release_version?: string | null | undefined;
897
+ };
898
+ connectionString: string;
899
+ }>;
900
+ "branches.update": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
901
+ project_id: z.ZodString;
902
+ branch_id: z.ZodString;
903
+ name: z.ZodOptional<z.ZodString>;
904
+ protected: z.ZodOptional<z.ZodBoolean>;
905
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
906
+ }, z.core.$strict>, "branches_update", {
907
+ id: string;
908
+ project_id: string;
909
+ parent_id?: string | null | undefined;
910
+ parent_lsn?: string | null | undefined;
911
+ parent_timestamp?: string | null | undefined;
912
+ name: string;
913
+ current_state: import("@neon/sdk").BranchState;
914
+ pending_state?: string | null | undefined;
915
+ state_changed_at: string;
916
+ logical_size?: number | null | undefined;
917
+ creation_source: string;
918
+ primary?: boolean | null | undefined;
919
+ default: boolean;
920
+ protected: boolean;
921
+ cpu_used_sec: number;
922
+ compute_time_seconds: number;
923
+ active_time_seconds: number;
924
+ written_data_bytes: number;
925
+ data_transfer_bytes: number;
926
+ created_at: string;
927
+ updated_at: string;
928
+ ttl_interval_seconds?: number | null | undefined;
929
+ expires_at?: string | null | undefined;
930
+ last_reset_at?: string | null | undefined;
931
+ created_by?: {
932
+ name?: string | null | undefined;
933
+ image?: string | null | undefined;
934
+ } | null | undefined;
935
+ init_source?: string | null | undefined;
936
+ restore_status?: string | null | undefined;
937
+ restored_from?: string | null | undefined;
938
+ restored_as?: string | null | undefined;
939
+ restricted_actions?: {
940
+ name: string;
941
+ reason: string;
942
+ }[] | null | undefined;
943
+ recovery?: {
944
+ deleted_at: string;
945
+ recoverable_until: string;
946
+ deletion_method: "user" | "ttl";
947
+ } | null | undefined;
948
+ }>;
949
+ "branches.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodType<{
950
+ project_id: string;
951
+ branch_id: string;
952
+ }, {
953
+ project_id: string;
954
+ branch_id: string;
955
+ }, z.core.$ZodTypeInternals<{
956
+ project_id: string;
957
+ branch_id: string;
958
+ }, {
959
+ project_id: string;
960
+ branch_id: string;
961
+ }>>, "branches_delete", null>;
962
+ "branches.getDefault": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
963
+ project_id: z.ZodString;
964
+ }, z.core.$strict>, "branches_get_default", {
965
+ id: string;
966
+ project_id: string;
967
+ parent_id?: string | null | undefined;
968
+ parent_lsn?: string | null | undefined;
969
+ parent_timestamp?: string | null | undefined;
970
+ name: string;
971
+ current_state: import("@neon/sdk").BranchState;
972
+ pending_state?: string | null | undefined;
973
+ state_changed_at: string;
974
+ logical_size?: number | null | undefined;
975
+ creation_source: string;
976
+ primary?: boolean | null | undefined;
977
+ default: boolean;
978
+ protected: boolean;
979
+ cpu_used_sec: number;
980
+ compute_time_seconds: number;
981
+ active_time_seconds: number;
982
+ written_data_bytes: number;
983
+ data_transfer_bytes: number;
984
+ created_at: string;
985
+ updated_at: string;
986
+ ttl_interval_seconds?: number | null | undefined;
987
+ expires_at?: string | null | undefined;
988
+ last_reset_at?: string | null | undefined;
989
+ created_by?: {
990
+ name?: string | null | undefined;
991
+ image?: string | null | undefined;
992
+ } | null | undefined;
993
+ init_source?: string | null | undefined;
994
+ restore_status?: string | null | undefined;
995
+ restored_from?: string | null | undefined;
996
+ restored_as?: string | null | undefined;
997
+ restricted_actions?: {
998
+ name: string;
999
+ reason: string;
1000
+ }[] | null | undefined;
1001
+ recovery?: {
1002
+ deleted_at: string;
1003
+ recoverable_until: string;
1004
+ deletion_method: "user" | "ttl";
1005
+ } | null | undefined;
1006
+ }>;
1007
+ "branches.setDefault": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1008
+ project_id: z.ZodString;
1009
+ branch_id: z.ZodString;
1010
+ }, z.core.$strict>, "branches_set_default", {
1011
+ id: string;
1012
+ project_id: string;
1013
+ parent_id?: string | null | undefined;
1014
+ parent_lsn?: string | null | undefined;
1015
+ parent_timestamp?: string | null | undefined;
1016
+ name: string;
1017
+ current_state: import("@neon/sdk").BranchState;
1018
+ pending_state?: string | null | undefined;
1019
+ state_changed_at: string;
1020
+ logical_size?: number | null | undefined;
1021
+ creation_source: string;
1022
+ primary?: boolean | null | undefined;
1023
+ default: boolean;
1024
+ protected: boolean;
1025
+ cpu_used_sec: number;
1026
+ compute_time_seconds: number;
1027
+ active_time_seconds: number;
1028
+ written_data_bytes: number;
1029
+ data_transfer_bytes: number;
1030
+ created_at: string;
1031
+ updated_at: string;
1032
+ ttl_interval_seconds?: number | null | undefined;
1033
+ expires_at?: string | null | undefined;
1034
+ last_reset_at?: string | null | undefined;
1035
+ created_by?: {
1036
+ name?: string | null | undefined;
1037
+ image?: string | null | undefined;
1038
+ } | null | undefined;
1039
+ init_source?: string | null | undefined;
1040
+ restore_status?: string | null | undefined;
1041
+ restored_from?: string | null | undefined;
1042
+ restored_as?: string | null | undefined;
1043
+ restricted_actions?: {
1044
+ name: string;
1045
+ reason: string;
1046
+ }[] | null | undefined;
1047
+ recovery?: {
1048
+ deleted_at: string;
1049
+ recoverable_until: string;
1050
+ deletion_method: "user" | "ttl";
1051
+ } | null | undefined;
1052
+ }>;
1053
+ "branches.finalizeRestore": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1054
+ project_id: z.ZodString;
1055
+ branch_id: z.ZodString;
1056
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1057
+ }, z.core.$strict>, "branches_finalize_restore", null>;
1058
+ "postgres.connectionString": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1059
+ project_id: z.ZodString;
1060
+ branch_id: z.ZodOptional<z.ZodString>;
1061
+ endpoint_id: z.ZodOptional<z.ZodString>;
1062
+ database_name: z.ZodString;
1063
+ role_name: z.ZodString;
1064
+ pooled: z.ZodOptional<z.ZodBoolean>;
1065
+ }, z.core.$strict>, "postgres_connection_string", string>;
1066
+ "postgres.endpoints.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1067
+ project_id: z.ZodString;
1068
+ }, z.core.$strict>, "postgres_endpoints_list", {
1069
+ host: string;
1070
+ id: string;
1071
+ name?: string | null | undefined;
1072
+ project_id: string;
1073
+ branch_id: string;
1074
+ autoscaling_limit_min_cu: import("@neon/sdk").ComputeUnit;
1075
+ autoscaling_limit_max_cu: import("@neon/sdk").ComputeUnit;
1076
+ region_id: string;
1077
+ type: import("@neon/sdk").EndpointType;
1078
+ current_state: import("@neon/sdk").EndpointState;
1079
+ pending_state?: import("@neon/sdk").EndpointState | null | undefined;
1080
+ settings: {
1081
+ pg_settings?: {
1082
+ [x: string]: string;
1083
+ } | null | undefined;
1084
+ pgbouncer_settings?: {
1085
+ [x: string]: string;
1086
+ } | null | undefined;
1087
+ preload_libraries?: {
1088
+ use_defaults?: boolean | null | undefined;
1089
+ enabled_libraries?: string[] | null | undefined;
1090
+ } | null | undefined;
1091
+ };
1092
+ pooler_enabled: boolean;
1093
+ pooler_mode: import("@neon/sdk").EndpointPoolerMode;
1094
+ disabled: boolean;
1095
+ passwordless_access: boolean;
1096
+ last_active?: string | null | undefined;
1097
+ creation_source: string;
1098
+ created_at: string;
1099
+ updated_at: string;
1100
+ started_at?: string | null | undefined;
1101
+ suspended_at?: string | null | undefined;
1102
+ proxy_host: string;
1103
+ suspend_timeout_seconds: import("@neon/sdk").SuspendTimeoutSeconds;
1104
+ provisioner: import("@neon/sdk").Provisioner;
1105
+ compute_release_version?: string | null | undefined;
1106
+ }[]>;
1107
+ "postgres.endpoints.listByBranch": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1108
+ project_id: z.ZodString;
1109
+ branch_id: z.ZodString;
1110
+ }, z.core.$strict>, "postgres_endpoints_list_by_branch", {
1111
+ host: string;
1112
+ id: string;
1113
+ name?: string | null | undefined;
1114
+ project_id: string;
1115
+ branch_id: string;
1116
+ autoscaling_limit_min_cu: import("@neon/sdk").ComputeUnit;
1117
+ autoscaling_limit_max_cu: import("@neon/sdk").ComputeUnit;
1118
+ region_id: string;
1119
+ type: import("@neon/sdk").EndpointType;
1120
+ current_state: import("@neon/sdk").EndpointState;
1121
+ pending_state?: import("@neon/sdk").EndpointState | null | undefined;
1122
+ settings: {
1123
+ pg_settings?: {
1124
+ [x: string]: string;
1125
+ } | null | undefined;
1126
+ pgbouncer_settings?: {
1127
+ [x: string]: string;
1128
+ } | null | undefined;
1129
+ preload_libraries?: {
1130
+ use_defaults?: boolean | null | undefined;
1131
+ enabled_libraries?: string[] | null | undefined;
1132
+ } | null | undefined;
1133
+ };
1134
+ pooler_enabled: boolean;
1135
+ pooler_mode: import("@neon/sdk").EndpointPoolerMode;
1136
+ disabled: boolean;
1137
+ passwordless_access: boolean;
1138
+ last_active?: string | null | undefined;
1139
+ creation_source: string;
1140
+ created_at: string;
1141
+ updated_at: string;
1142
+ started_at?: string | null | undefined;
1143
+ suspended_at?: string | null | undefined;
1144
+ proxy_host: string;
1145
+ suspend_timeout_seconds: import("@neon/sdk").SuspendTimeoutSeconds;
1146
+ provisioner: import("@neon/sdk").Provisioner;
1147
+ compute_release_version?: string | null | undefined;
1148
+ }[]>;
1149
+ "postgres.endpoints.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1150
+ project_id: z.ZodString;
1151
+ endpoint_id: z.ZodString;
1152
+ }, z.core.$strict>, "postgres_endpoints_get", {
1153
+ host: string;
1154
+ id: string;
1155
+ name?: string | null | undefined;
1156
+ project_id: string;
1157
+ branch_id: string;
1158
+ autoscaling_limit_min_cu: import("@neon/sdk").ComputeUnit;
1159
+ autoscaling_limit_max_cu: import("@neon/sdk").ComputeUnit;
1160
+ region_id: string;
1161
+ type: import("@neon/sdk").EndpointType;
1162
+ current_state: import("@neon/sdk").EndpointState;
1163
+ pending_state?: import("@neon/sdk").EndpointState | null | undefined;
1164
+ settings: {
1165
+ pg_settings?: {
1166
+ [x: string]: string;
1167
+ } | null | undefined;
1168
+ pgbouncer_settings?: {
1169
+ [x: string]: string;
1170
+ } | null | undefined;
1171
+ preload_libraries?: {
1172
+ use_defaults?: boolean | null | undefined;
1173
+ enabled_libraries?: string[] | null | undefined;
1174
+ } | null | undefined;
1175
+ };
1176
+ pooler_enabled: boolean;
1177
+ pooler_mode: import("@neon/sdk").EndpointPoolerMode;
1178
+ disabled: boolean;
1179
+ passwordless_access: boolean;
1180
+ last_active?: string | null | undefined;
1181
+ creation_source: string;
1182
+ created_at: string;
1183
+ updated_at: string;
1184
+ started_at?: string | null | undefined;
1185
+ suspended_at?: string | null | undefined;
1186
+ proxy_host: string;
1187
+ suspend_timeout_seconds: import("@neon/sdk").SuspendTimeoutSeconds;
1188
+ provisioner: import("@neon/sdk").Provisioner;
1189
+ compute_release_version?: string | null | undefined;
1190
+ }>;
1191
+ "postgres.endpoints.create": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1192
+ project_id: z.ZodString;
1193
+ branch_id: z.ZodString;
1194
+ region_id: z.ZodOptional<z.ZodString>;
1195
+ type: z.ZodEnum<{
1196
+ read_only: "read_only";
1197
+ read_write: "read_write";
1198
+ }>;
1199
+ settings: z.ZodOptional<z.ZodObject<{
1200
+ pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1201
+ pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1202
+ preload_libraries: z.ZodOptional<z.ZodObject<{
1203
+ use_defaults: z.ZodOptional<z.ZodBoolean>;
1204
+ enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
1205
+ }, z.core.$strict>>;
1206
+ }, z.core.$strict>>;
1207
+ autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
1208
+ autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
1209
+ provisioner: z.ZodOptional<z.ZodString>;
1210
+ pooler_enabled: z.ZodOptional<z.ZodBoolean>;
1211
+ pooler_mode: z.ZodOptional<z.ZodEnum<{
1212
+ transaction: "transaction";
1213
+ }>>;
1214
+ disabled: z.ZodOptional<z.ZodBoolean>;
1215
+ passwordless_access: z.ZodOptional<z.ZodBoolean>;
1216
+ suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
1217
+ name: z.ZodOptional<z.ZodString>;
1218
+ }, z.core.$strict>, "postgres_endpoints_create", {
1219
+ host: string;
1220
+ id: string;
1221
+ name?: string | null | undefined;
1222
+ project_id: string;
1223
+ branch_id: string;
1224
+ autoscaling_limit_min_cu: import("@neon/sdk").ComputeUnit;
1225
+ autoscaling_limit_max_cu: import("@neon/sdk").ComputeUnit;
1226
+ region_id: string;
1227
+ type: import("@neon/sdk").EndpointType;
1228
+ current_state: import("@neon/sdk").EndpointState;
1229
+ pending_state?: import("@neon/sdk").EndpointState | null | undefined;
1230
+ settings: {
1231
+ pg_settings?: {
1232
+ [x: string]: string;
1233
+ } | null | undefined;
1234
+ pgbouncer_settings?: {
1235
+ [x: string]: string;
1236
+ } | null | undefined;
1237
+ preload_libraries?: {
1238
+ use_defaults?: boolean | null | undefined;
1239
+ enabled_libraries?: string[] | null | undefined;
1240
+ } | null | undefined;
1241
+ };
1242
+ pooler_enabled: boolean;
1243
+ pooler_mode: import("@neon/sdk").EndpointPoolerMode;
1244
+ disabled: boolean;
1245
+ passwordless_access: boolean;
1246
+ last_active?: string | null | undefined;
1247
+ creation_source: string;
1248
+ created_at: string;
1249
+ updated_at: string;
1250
+ started_at?: string | null | undefined;
1251
+ suspended_at?: string | null | undefined;
1252
+ proxy_host: string;
1253
+ suspend_timeout_seconds: import("@neon/sdk").SuspendTimeoutSeconds;
1254
+ provisioner: import("@neon/sdk").Provisioner;
1255
+ compute_release_version?: string | null | undefined;
1256
+ }>;
1257
+ "postgres.endpoints.update": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1258
+ project_id: z.ZodString;
1259
+ endpoint_id: z.ZodString;
1260
+ branch_id: z.ZodOptional<z.ZodString>;
1261
+ autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
1262
+ autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
1263
+ provisioner: z.ZodOptional<z.ZodString>;
1264
+ settings: z.ZodOptional<z.ZodObject<{
1265
+ pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1266
+ pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1267
+ preload_libraries: z.ZodOptional<z.ZodObject<{
1268
+ use_defaults: z.ZodOptional<z.ZodBoolean>;
1269
+ enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
1270
+ }, z.core.$strict>>;
1271
+ }, z.core.$strict>>;
1272
+ pooler_enabled: z.ZodOptional<z.ZodBoolean>;
1273
+ pooler_mode: z.ZodOptional<z.ZodEnum<{
1274
+ transaction: "transaction";
1275
+ }>>;
1276
+ disabled: z.ZodOptional<z.ZodBoolean>;
1277
+ passwordless_access: z.ZodOptional<z.ZodBoolean>;
1278
+ suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
1279
+ name: z.ZodOptional<z.ZodString>;
1280
+ }, z.core.$strict>, "postgres_endpoints_update", {
1281
+ host: string;
1282
+ id: string;
1283
+ name?: string | null | undefined;
1284
+ project_id: string;
1285
+ branch_id: string;
1286
+ autoscaling_limit_min_cu: import("@neon/sdk").ComputeUnit;
1287
+ autoscaling_limit_max_cu: import("@neon/sdk").ComputeUnit;
1288
+ region_id: string;
1289
+ type: import("@neon/sdk").EndpointType;
1290
+ current_state: import("@neon/sdk").EndpointState;
1291
+ pending_state?: import("@neon/sdk").EndpointState | null | undefined;
1292
+ settings: {
1293
+ pg_settings?: {
1294
+ [x: string]: string;
1295
+ } | null | undefined;
1296
+ pgbouncer_settings?: {
1297
+ [x: string]: string;
1298
+ } | null | undefined;
1299
+ preload_libraries?: {
1300
+ use_defaults?: boolean | null | undefined;
1301
+ enabled_libraries?: string[] | null | undefined;
1302
+ } | null | undefined;
1303
+ };
1304
+ pooler_enabled: boolean;
1305
+ pooler_mode: import("@neon/sdk").EndpointPoolerMode;
1306
+ disabled: boolean;
1307
+ passwordless_access: boolean;
1308
+ last_active?: string | null | undefined;
1309
+ creation_source: string;
1310
+ created_at: string;
1311
+ updated_at: string;
1312
+ started_at?: string | null | undefined;
1313
+ suspended_at?: string | null | undefined;
1314
+ proxy_host: string;
1315
+ suspend_timeout_seconds: import("@neon/sdk").SuspendTimeoutSeconds;
1316
+ provisioner: import("@neon/sdk").Provisioner;
1317
+ compute_release_version?: string | null | undefined;
1318
+ }>;
1319
+ "postgres.endpoints.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1320
+ project_id: z.ZodString;
1321
+ endpoint_id: z.ZodString;
1322
+ }, z.core.$strict>, "postgres_endpoints_delete", null>;
1323
+ "postgres.endpoints.start": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1324
+ project_id: z.ZodString;
1325
+ endpoint_id: z.ZodString;
1326
+ }, z.core.$strict>, "postgres_endpoints_start", {
1327
+ host: string;
1328
+ id: string;
1329
+ name?: string | null | undefined;
1330
+ project_id: string;
1331
+ branch_id: string;
1332
+ autoscaling_limit_min_cu: import("@neon/sdk").ComputeUnit;
1333
+ autoscaling_limit_max_cu: import("@neon/sdk").ComputeUnit;
1334
+ region_id: string;
1335
+ type: import("@neon/sdk").EndpointType;
1336
+ current_state: import("@neon/sdk").EndpointState;
1337
+ pending_state?: import("@neon/sdk").EndpointState | null | undefined;
1338
+ settings: {
1339
+ pg_settings?: {
1340
+ [x: string]: string;
1341
+ } | null | undefined;
1342
+ pgbouncer_settings?: {
1343
+ [x: string]: string;
1344
+ } | null | undefined;
1345
+ preload_libraries?: {
1346
+ use_defaults?: boolean | null | undefined;
1347
+ enabled_libraries?: string[] | null | undefined;
1348
+ } | null | undefined;
1349
+ };
1350
+ pooler_enabled: boolean;
1351
+ pooler_mode: import("@neon/sdk").EndpointPoolerMode;
1352
+ disabled: boolean;
1353
+ passwordless_access: boolean;
1354
+ last_active?: string | null | undefined;
1355
+ creation_source: string;
1356
+ created_at: string;
1357
+ updated_at: string;
1358
+ started_at?: string | null | undefined;
1359
+ suspended_at?: string | null | undefined;
1360
+ proxy_host: string;
1361
+ suspend_timeout_seconds: import("@neon/sdk").SuspendTimeoutSeconds;
1362
+ provisioner: import("@neon/sdk").Provisioner;
1363
+ compute_release_version?: string | null | undefined;
1364
+ }>;
1365
+ "postgres.endpoints.suspend": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1366
+ project_id: z.ZodString;
1367
+ endpoint_id: z.ZodString;
1368
+ }, z.core.$strict>, "postgres_endpoints_suspend", {
1369
+ host: string;
1370
+ id: string;
1371
+ name?: string | null | undefined;
1372
+ project_id: string;
1373
+ branch_id: string;
1374
+ autoscaling_limit_min_cu: import("@neon/sdk").ComputeUnit;
1375
+ autoscaling_limit_max_cu: import("@neon/sdk").ComputeUnit;
1376
+ region_id: string;
1377
+ type: import("@neon/sdk").EndpointType;
1378
+ current_state: import("@neon/sdk").EndpointState;
1379
+ pending_state?: import("@neon/sdk").EndpointState | null | undefined;
1380
+ settings: {
1381
+ pg_settings?: {
1382
+ [x: string]: string;
1383
+ } | null | undefined;
1384
+ pgbouncer_settings?: {
1385
+ [x: string]: string;
1386
+ } | null | undefined;
1387
+ preload_libraries?: {
1388
+ use_defaults?: boolean | null | undefined;
1389
+ enabled_libraries?: string[] | null | undefined;
1390
+ } | null | undefined;
1391
+ };
1392
+ pooler_enabled: boolean;
1393
+ pooler_mode: import("@neon/sdk").EndpointPoolerMode;
1394
+ disabled: boolean;
1395
+ passwordless_access: boolean;
1396
+ last_active?: string | null | undefined;
1397
+ creation_source: string;
1398
+ created_at: string;
1399
+ updated_at: string;
1400
+ started_at?: string | null | undefined;
1401
+ suspended_at?: string | null | undefined;
1402
+ proxy_host: string;
1403
+ suspend_timeout_seconds: import("@neon/sdk").SuspendTimeoutSeconds;
1404
+ provisioner: import("@neon/sdk").Provisioner;
1405
+ compute_release_version?: string | null | undefined;
1406
+ }>;
1407
+ "postgres.endpoints.restart": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1408
+ project_id: z.ZodString;
1409
+ endpoint_id: z.ZodString;
1410
+ }, z.core.$strict>, "postgres_endpoints_restart", {
1411
+ host: string;
1412
+ id: string;
1413
+ name?: string | null | undefined;
1414
+ project_id: string;
1415
+ branch_id: string;
1416
+ autoscaling_limit_min_cu: import("@neon/sdk").ComputeUnit;
1417
+ autoscaling_limit_max_cu: import("@neon/sdk").ComputeUnit;
1418
+ region_id: string;
1419
+ type: import("@neon/sdk").EndpointType;
1420
+ current_state: import("@neon/sdk").EndpointState;
1421
+ pending_state?: import("@neon/sdk").EndpointState | null | undefined;
1422
+ settings: {
1423
+ pg_settings?: {
1424
+ [x: string]: string;
1425
+ } | null | undefined;
1426
+ pgbouncer_settings?: {
1427
+ [x: string]: string;
1428
+ } | null | undefined;
1429
+ preload_libraries?: {
1430
+ use_defaults?: boolean | null | undefined;
1431
+ enabled_libraries?: string[] | null | undefined;
1432
+ } | null | undefined;
1433
+ };
1434
+ pooler_enabled: boolean;
1435
+ pooler_mode: import("@neon/sdk").EndpointPoolerMode;
1436
+ disabled: boolean;
1437
+ passwordless_access: boolean;
1438
+ last_active?: string | null | undefined;
1439
+ creation_source: string;
1440
+ created_at: string;
1441
+ updated_at: string;
1442
+ started_at?: string | null | undefined;
1443
+ suspended_at?: string | null | undefined;
1444
+ proxy_host: string;
1445
+ suspend_timeout_seconds: import("@neon/sdk").SuspendTimeoutSeconds;
1446
+ provisioner: import("@neon/sdk").Provisioner;
1447
+ compute_release_version?: string | null | undefined;
1448
+ }>;
1449
+ "postgres.roles.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1450
+ project_id: z.ZodString;
1451
+ branch_id: z.ZodString;
1452
+ }, z.core.$strict>, "postgres_roles_list", {
1453
+ branch_id: string;
1454
+ name: string;
1455
+ password?: string | null | undefined;
1456
+ protected?: boolean | null | undefined;
1457
+ authentication_method?: string | null | undefined;
1458
+ created_at: string;
1459
+ updated_at: string;
1460
+ }[]>;
1461
+ "postgres.roles.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1462
+ project_id: z.ZodString;
1463
+ branch_id: z.ZodString;
1464
+ role_name: z.ZodString;
1465
+ }, z.core.$strict>, "postgres_roles_get", {
1466
+ branch_id: string;
1467
+ name: string;
1468
+ password?: string | null | undefined;
1469
+ protected?: boolean | null | undefined;
1470
+ authentication_method?: string | null | undefined;
1471
+ created_at: string;
1472
+ updated_at: string;
1473
+ }>;
1474
+ "postgres.roles.create": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1475
+ project_id: z.ZodString;
1476
+ branch_id: z.ZodString;
1477
+ name: z.ZodString;
1478
+ no_login: z.ZodOptional<z.ZodBoolean>;
1479
+ }, z.core.$strict>, "postgres_roles_create", {
1480
+ branch_id: string;
1481
+ name: string;
1482
+ password?: string | null | undefined;
1483
+ protected?: boolean | null | undefined;
1484
+ authentication_method?: string | null | undefined;
1485
+ created_at: string;
1486
+ updated_at: string;
1487
+ }>;
1488
+ "postgres.roles.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1489
+ project_id: z.ZodString;
1490
+ branch_id: z.ZodString;
1491
+ role_name: z.ZodString;
1492
+ }, z.core.$strict>, "postgres_roles_delete", null>;
1493
+ "postgres.roles.resetPassword": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1494
+ project_id: z.ZodString;
1495
+ branch_id: z.ZodString;
1496
+ role_name: z.ZodString;
1497
+ }, z.core.$strict>, "postgres_roles_reset_password", {
1498
+ branch_id: string;
1499
+ name: string;
1500
+ password?: string | null | undefined;
1501
+ protected?: boolean | null | undefined;
1502
+ authentication_method?: string | null | undefined;
1503
+ created_at: string;
1504
+ updated_at: string;
1505
+ }>;
1506
+ "postgres.databases.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1507
+ project_id: z.ZodString;
1508
+ branch_id: z.ZodString;
1509
+ }, z.core.$strict>, "postgres_databases_list", {
1510
+ id: number;
1511
+ branch_id: string;
1512
+ name: string;
1513
+ owner_name: string;
1514
+ created_at: string;
1515
+ updated_at: string;
1516
+ }[]>;
1517
+ "postgres.databases.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1518
+ project_id: z.ZodString;
1519
+ branch_id: z.ZodString;
1520
+ database_name: z.ZodString;
1521
+ }, z.core.$strict>, "postgres_databases_get", {
1522
+ id: number;
1523
+ branch_id: string;
1524
+ name: string;
1525
+ owner_name: string;
1526
+ created_at: string;
1527
+ updated_at: string;
1528
+ }>;
1529
+ "postgres.databases.create": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1530
+ project_id: z.ZodString;
1531
+ branch_id: z.ZodString;
1532
+ name: z.ZodString;
1533
+ owner_name: z.ZodString;
1534
+ }, z.core.$strict>, "postgres_databases_create", {
1535
+ id: number;
1536
+ branch_id: string;
1537
+ name: string;
1538
+ owner_name: string;
1539
+ created_at: string;
1540
+ updated_at: string;
1541
+ }>;
1542
+ "postgres.databases.update": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1543
+ project_id: z.ZodString;
1544
+ branch_id: z.ZodString;
1545
+ database_name: z.ZodString;
1546
+ name: z.ZodOptional<z.ZodString>;
1547
+ owner_name: z.ZodOptional<z.ZodString>;
1548
+ }, z.core.$strict>, "postgres_databases_update", {
1549
+ id: number;
1550
+ branch_id: string;
1551
+ name: string;
1552
+ owner_name: string;
1553
+ created_at: string;
1554
+ updated_at: string;
1555
+ }>;
1556
+ "postgres.databases.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1557
+ project_id: z.ZodString;
1558
+ branch_id: z.ZodString;
1559
+ database_name: z.ZodString;
1560
+ }, z.core.$strict>, "postgres_databases_delete", null>;
1561
+ "postgres.dataApi.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1562
+ project_id: z.ZodString;
1563
+ branch_id: z.ZodString;
1564
+ database_name: z.ZodString;
1565
+ }, z.core.$strict>, "postgres_data_api_get", {
1566
+ url: string;
1567
+ status: string;
1568
+ settings?: {
1569
+ db_aggregates_enabled?: boolean | null | undefined;
1570
+ db_anon_role?: string | null | undefined;
1571
+ db_extra_search_path?: string | null | undefined;
1572
+ db_max_rows?: number | null | undefined;
1573
+ db_schemas?: string[] | null | undefined;
1574
+ jwt_role_claim_key?: string | null | undefined;
1575
+ jwt_cache_max_lifetime?: number | null | undefined;
1576
+ openapi_mode?: string | null | undefined;
1577
+ server_cors_allowed_origins?: string | null | undefined;
1578
+ server_timing_enabled?: boolean | null | undefined;
1579
+ } | null | undefined;
1580
+ available_schemas?: string[] | null | undefined;
1581
+ }>;
1582
+ "postgres.dataApi.create": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1583
+ project_id: z.ZodString;
1584
+ branch_id: z.ZodString;
1585
+ database_name: z.ZodString;
1586
+ auth_provider: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1587
+ external: "external";
1588
+ neon_auth: "neon_auth";
1589
+ }>>>;
1590
+ jwks_url: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
1591
+ provider_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1592
+ jwt_audience: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1593
+ add_default_grants: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1594
+ skip_auth_schema: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1595
+ settings: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1596
+ db_aggregates_enabled: z.ZodOptional<z.ZodBoolean>;
1597
+ db_anon_role: z.ZodOptional<z.ZodString>;
1598
+ db_extra_search_path: z.ZodOptional<z.ZodString>;
1599
+ db_max_rows: z.ZodOptional<z.ZodInt>;
1600
+ db_schemas: z.ZodOptional<z.ZodArray<z.ZodString>>;
1601
+ jwt_role_claim_key: z.ZodOptional<z.ZodString>;
1602
+ jwt_cache_max_lifetime: z.ZodOptional<z.ZodInt>;
1603
+ openapi_mode: z.ZodOptional<z.ZodString>;
1604
+ server_cors_allowed_origins: z.ZodOptional<z.ZodString>;
1605
+ server_timing_enabled: z.ZodOptional<z.ZodBoolean>;
1606
+ }, z.core.$strict>>>;
1607
+ }, z.core.$strict>, "postgres_data_api_create", {
1608
+ url: string;
1609
+ }>;
1610
+ "postgres.dataApi.update": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1611
+ project_id: z.ZodString;
1612
+ branch_id: z.ZodString;
1613
+ database_name: z.ZodString;
1614
+ db_aggregates_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1615
+ db_anon_role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1616
+ db_extra_search_path: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1617
+ db_max_rows: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
1618
+ db_schemas: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1619
+ jwt_role_claim_key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1620
+ jwt_cache_max_lifetime: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
1621
+ openapi_mode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1622
+ server_cors_allowed_origins: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1623
+ server_timing_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1624
+ }, z.core.$strict>, "postgres_data_api_update", null>;
1625
+ "postgres.dataApi.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1626
+ project_id: z.ZodString;
1627
+ branch_id: z.ZodString;
1628
+ database_name: z.ZodString;
1629
+ }, z.core.$strict>, "postgres_data_api_delete", null>;
1630
+ "storage.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1631
+ project_id: z.ZodString;
1632
+ branch_id: z.ZodString;
1633
+ }, z.core.$strict>, "storage_get", {
1634
+ enabled: boolean;
1635
+ s3_endpoint: string;
1636
+ region: string;
1637
+ force_path_style: boolean;
1638
+ }>;
1639
+ "storage.buckets.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1640
+ project_id: z.ZodString;
1641
+ branch_id: z.ZodString;
1642
+ }, z.core.$strict>, "storage_buckets_list", {
1643
+ name: string;
1644
+ access_level: import("@neon/sdk").BucketAccessLevel;
1645
+ created_at: string;
1646
+ }[]>;
1647
+ "storage.buckets.create": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1648
+ project_id: z.ZodString;
1649
+ branch_id: z.ZodString;
1650
+ name: z.ZodString;
1651
+ access_level: z.ZodOptional<z.ZodEnum<{
1652
+ private: "private";
1653
+ public_read: "public_read";
1654
+ }>>;
1655
+ }, z.core.$strict>, "storage_buckets_create", {
1656
+ name: string;
1657
+ access_level: import("@neon/sdk").BucketAccessLevel;
1658
+ created_at: string;
1659
+ }>;
1660
+ "storage.buckets.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1661
+ project_id: z.ZodString;
1662
+ branch_id: z.ZodString;
1663
+ bucket_name: z.ZodString;
1664
+ }, z.core.$strict>, "storage_buckets_delete", null>;
1665
+ "storage.objects.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodType<{
1666
+ project_id: string;
1667
+ branch_id: string;
1668
+ limit?: number | undefined;
1669
+ prefix?: string | undefined;
1670
+ bucket_name: string;
1671
+ delimiter?: string | undefined;
1672
+ }, {
1673
+ project_id: string;
1674
+ branch_id: string;
1675
+ limit?: number | undefined;
1676
+ prefix?: string | undefined;
1677
+ bucket_name: string;
1678
+ delimiter?: string | undefined;
1679
+ }, z.core.$ZodTypeInternals<{
1680
+ project_id: string;
1681
+ branch_id: string;
1682
+ limit?: number | undefined;
1683
+ prefix?: string | undefined;
1684
+ bucket_name: string;
1685
+ delimiter?: string | undefined;
1686
+ }, {
1687
+ project_id: string;
1688
+ branch_id: string;
1689
+ limit?: number | undefined;
1690
+ prefix?: string | undefined;
1691
+ bucket_name: string;
1692
+ delimiter?: string | undefined;
1693
+ }>>, "storage_objects_list", {
1694
+ folders: string[];
1695
+ objects: {
1696
+ key: string;
1697
+ size: number;
1698
+ last_modified: string;
1699
+ etag: string;
1700
+ }[];
1701
+ prefix: string;
1702
+ }>;
1703
+ "storage.objects.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1704
+ project_id: z.ZodString;
1705
+ branch_id: z.ZodString;
1706
+ bucket_name: z.ZodString;
1707
+ object_key: z.ZodString;
1708
+ }, z.core.$strict>, "storage_objects_delete", null>;
1709
+ "storage.objects.deleteByPrefix": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1710
+ project_id: z.ZodString;
1711
+ branch_id: z.ZodString;
1712
+ bucket_name: z.ZodString;
1713
+ prefix: z.ZodString;
1714
+ }, z.core.$strict>, "storage_objects_delete_by_prefix", {
1715
+ deleted: number;
1716
+ }>;
1717
+ "storage.objects.presign": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1718
+ project_id: z.ZodString;
1719
+ branch_id: z.ZodString;
1720
+ bucket_name: z.ZodString;
1721
+ object_key: z.ZodString;
1722
+ operation: z.ZodEnum<{
1723
+ upload: "upload";
1724
+ download: "download";
1725
+ }>;
1726
+ content_type: z.ZodOptional<z.ZodString>;
1727
+ expires_in_seconds: z.ZodOptional<z.ZodInt>;
1728
+ }, z.core.$strict>, "storage_objects_presign", {
1729
+ url: string;
1730
+ method: string;
1731
+ headers: {
1732
+ [x: string]: string;
1733
+ };
1734
+ expires_at: string;
1735
+ }>;
1736
+ "functions.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodType<{
1737
+ project_id: string;
1738
+ branch_id: string;
1739
+ limit?: number | undefined;
1740
+ }, {
1741
+ project_id: string;
1742
+ branch_id: string;
1743
+ limit?: number | undefined;
1744
+ }, z.core.$ZodTypeInternals<{
1745
+ project_id: string;
1746
+ branch_id: string;
1747
+ limit?: number | undefined;
1748
+ }, {
1749
+ project_id: string;
1750
+ branch_id: string;
1751
+ limit?: number | undefined;
1752
+ }>>, "functions_list", {
1753
+ id: string;
1754
+ slug: string;
1755
+ name: string;
1756
+ invocation_url: string;
1757
+ current_deployment?: {
1758
+ id: number;
1759
+ status: "pending" | "building" | "completed" | "failed";
1760
+ memory_mib: number;
1761
+ runtime: string;
1762
+ created_at: string;
1763
+ environment?: string[] | null | undefined;
1764
+ error?: string | null | undefined;
1765
+ } | null | undefined;
1766
+ active_deployment?: {
1767
+ id: number;
1768
+ status: "pending" | "building" | "completed" | "failed";
1769
+ memory_mib: number;
1770
+ runtime: string;
1771
+ created_at: string;
1772
+ environment?: string[] | null | undefined;
1773
+ error?: string | null | undefined;
1774
+ } | null | undefined;
1775
+ created_at: string;
1776
+ }[]>;
1777
+ "functions.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1778
+ project_id: z.ZodString;
1779
+ branch_id: z.ZodString;
1780
+ slug: z.ZodString;
1781
+ }, z.core.$strict>, "functions_get", {
1782
+ id: string;
1783
+ slug: string;
1784
+ name: string;
1785
+ invocation_url: string;
1786
+ current_deployment?: {
1787
+ id: number;
1788
+ status: "pending" | "building" | "completed" | "failed";
1789
+ memory_mib: number;
1790
+ runtime: string;
1791
+ created_at: string;
1792
+ environment?: string[] | null | undefined;
1793
+ error?: string | null | undefined;
1794
+ } | null | undefined;
1795
+ active_deployment?: {
1796
+ id: number;
1797
+ status: "pending" | "building" | "completed" | "failed";
1798
+ memory_mib: number;
1799
+ runtime: string;
1800
+ created_at: string;
1801
+ environment?: string[] | null | undefined;
1802
+ error?: string | null | undefined;
1803
+ } | null | undefined;
1804
+ created_at: string;
1805
+ }>;
1806
+ "functions.update": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1807
+ project_id: z.ZodString;
1808
+ branch_id: z.ZodString;
1809
+ slug: z.ZodString;
1810
+ name: z.ZodNullable<z.ZodString>;
1811
+ }, z.core.$strict>, "functions_update", {
1812
+ id: string;
1813
+ slug: string;
1814
+ name: string;
1815
+ invocation_url: string;
1816
+ current_deployment?: {
1817
+ id: number;
1818
+ status: "pending" | "building" | "completed" | "failed";
1819
+ memory_mib: number;
1820
+ runtime: string;
1821
+ created_at: string;
1822
+ environment?: string[] | null | undefined;
1823
+ error?: string | null | undefined;
1824
+ } | null | undefined;
1825
+ active_deployment?: {
1826
+ id: number;
1827
+ status: "pending" | "building" | "completed" | "failed";
1828
+ memory_mib: number;
1829
+ runtime: string;
1830
+ created_at: string;
1831
+ environment?: string[] | null | undefined;
1832
+ error?: string | null | undefined;
1833
+ } | null | undefined;
1834
+ created_at: string;
1835
+ }>;
1836
+ "functions.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1837
+ project_id: z.ZodString;
1838
+ branch_id: z.ZodString;
1839
+ slug: z.ZodString;
1840
+ }, z.core.$strict>, "functions_delete", null>;
1841
+ "functions.deploy": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1842
+ project_id: z.ZodString;
1843
+ branch_id: z.ZodString;
1844
+ slug: z.ZodString;
1845
+ zip: z.ZodOptional<z.ZodBase64>;
1846
+ runtime: z.ZodOptional<z.ZodEnum<{
1847
+ nodejs24: "nodejs24";
1848
+ }>>;
1849
+ environment: z.ZodOptional<z.ZodString>;
1850
+ }, z.core.$strict>, "functions_deploy", {
1851
+ id: number;
1852
+ status: "pending" | "building" | "completed" | "failed";
1853
+ memory_mib: number;
1854
+ runtime: string;
1855
+ created_at: string;
1856
+ environment?: string[] | null | undefined;
1857
+ error?: string | null | undefined;
1858
+ }>;
1859
+ "credentials.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1860
+ project_id: z.ZodString;
1861
+ branch_id: z.ZodString;
1862
+ }, z.core.$strict>, "credentials_list", {
1863
+ token_id: string;
1864
+ token_id_short: string;
1865
+ name?: string | null | undefined;
1866
+ scopes: import("@neon/sdk").CredentialScope[];
1867
+ branch_id?: string | null | undefined;
1868
+ principal_type: string;
1869
+ function_id?: string | null | undefined;
1870
+ created_at: string;
1871
+ last_used_at?: string | null | undefined;
1872
+ revoked_at?: string | null | undefined;
1873
+ expires_at?: string | null | undefined;
1874
+ }[]>;
1875
+ "credentials.create": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1876
+ project_id: z.ZodString;
1877
+ branch_id: z.ZodString;
1878
+ name: z.ZodOptional<z.ZodString>;
1879
+ scopes: z.ZodArray<z.ZodEnum<{
1880
+ "storage:read": "storage:read";
1881
+ "storage:write": "storage:write";
1882
+ "ai_gateway:invoke": "ai_gateway:invoke";
1883
+ "functions:invoke": "functions:invoke";
1884
+ }>>;
1885
+ principal_type: z.ZodEnum<{
1886
+ user: "user";
1887
+ }>;
1888
+ }, z.core.$strict>, "credentials_create", {
1889
+ token_id: string;
1890
+ token_id_short: string;
1891
+ name?: string | null | undefined;
1892
+ api_token: string;
1893
+ s3_secret_access_key: string;
1894
+ scopes: import("@neon/sdk").CredentialScope[];
1895
+ branch_id: string;
1896
+ created_at: string;
1897
+ expires_at?: string | null | undefined;
1898
+ }>;
1899
+ "credentials.revoke": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1900
+ project_id: z.ZodString;
1901
+ branch_id: z.ZodString;
1902
+ token_id: z.ZodString;
1903
+ }, z.core.$strict>, "credentials_revoke", null>;
1904
+ "aiGateway.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1905
+ project_id: z.ZodString;
1906
+ branch_id: z.ZodString;
1907
+ }, z.core.$strict>, "ai_gateway_get", {
1908
+ enabled: boolean;
1909
+ base_url: string;
1910
+ }>;
1911
+ "logs.query": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodType<{
1912
+ project_id: string;
1913
+ branch_id: string;
1914
+ start_time?: string | undefined;
1915
+ end_time?: string | undefined;
1916
+ sort_order?: "asc" | "desc" | undefined;
1917
+ since?: string | undefined;
1918
+ limit?: number | undefined;
1919
+ source?: "function" | "storage" | "pg_endpoint" | undefined;
1920
+ service_name?: string | undefined;
1921
+ scope_name?: string | undefined;
1922
+ minimum_severity?: "trace" | "error" | "debug" | "info" | "warn" | "fatal" | undefined;
1923
+ severity_text?: string | undefined;
1924
+ body_contains?: string | undefined;
1925
+ trace_id?: string | undefined;
1926
+ logql?: string | undefined;
1927
+ }, {
1928
+ project_id: string;
1929
+ branch_id: string;
1930
+ start_time?: string | undefined;
1931
+ end_time?: string | undefined;
1932
+ sort_order?: "asc" | "desc" | undefined;
1933
+ since?: string | undefined;
1934
+ limit?: number | undefined;
1935
+ source?: "function" | "storage" | "pg_endpoint" | undefined;
1936
+ service_name?: string | undefined;
1937
+ scope_name?: string | undefined;
1938
+ minimum_severity?: "trace" | "error" | "debug" | "info" | "warn" | "fatal" | undefined;
1939
+ severity_text?: string | undefined;
1940
+ body_contains?: string | undefined;
1941
+ trace_id?: string | undefined;
1942
+ logql?: string | undefined;
1943
+ }, z.core.$ZodTypeInternals<{
1944
+ project_id: string;
1945
+ branch_id: string;
1946
+ start_time?: string | undefined;
1947
+ end_time?: string | undefined;
1948
+ sort_order?: "asc" | "desc" | undefined;
1949
+ since?: string | undefined;
1950
+ limit?: number | undefined;
1951
+ source?: "function" | "storage" | "pg_endpoint" | undefined;
1952
+ service_name?: string | undefined;
1953
+ scope_name?: string | undefined;
1954
+ minimum_severity?: "trace" | "error" | "debug" | "info" | "warn" | "fatal" | undefined;
1955
+ severity_text?: string | undefined;
1956
+ body_contains?: string | undefined;
1957
+ trace_id?: string | undefined;
1958
+ logql?: string | undefined;
1959
+ }, {
1960
+ project_id: string;
1961
+ branch_id: string;
1962
+ start_time?: string | undefined;
1963
+ end_time?: string | undefined;
1964
+ sort_order?: "asc" | "desc" | undefined;
1965
+ since?: string | undefined;
1966
+ limit?: number | undefined;
1967
+ source?: "function" | "storage" | "pg_endpoint" | undefined;
1968
+ service_name?: string | undefined;
1969
+ scope_name?: string | undefined;
1970
+ minimum_severity?: "trace" | "error" | "debug" | "info" | "warn" | "fatal" | undefined;
1971
+ severity_text?: string | undefined;
1972
+ body_contains?: string | undefined;
1973
+ trace_id?: string | undefined;
1974
+ logql?: string | undefined;
1975
+ }>>, "logs_query", {
1976
+ timestamp: string;
1977
+ message: string;
1978
+ source?: import("@neon/sdk").ProjectBranchLogSource | null | undefined;
1979
+ entity_id?: string | null | undefined;
1980
+ service_name?: string | null | undefined;
1981
+ scope_name?: string | null | undefined;
1982
+ severity_number?: number | null | undefined;
1983
+ severity_text?: string | null | undefined;
1984
+ trace_id?: string | null | undefined;
1985
+ span_id?: string | null | undefined;
1986
+ attributes: {
1987
+ [x: string]: unknown;
1988
+ };
1989
+ }[]>;
1990
+ "logs.fields": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1991
+ project_id: z.ZodString;
1992
+ branch_id: z.ZodString;
1993
+ }, z.core.$strict>, "logs_fields", string[]>;
1994
+ "logs.fieldValues": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1995
+ project_id: z.ZodString;
1996
+ branch_id: z.ZodString;
1997
+ field_name: z.ZodString;
1998
+ since: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1999
+ start_time: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
2000
+ end_time: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
2001
+ source: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
2002
+ function: "function";
2003
+ storage: "storage";
2004
+ pg_endpoint: "pg_endpoint";
2005
+ }>>>;
2006
+ limit: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
2007
+ }, z.core.$strict>, "logs_field_values", {
2008
+ values: string[];
2009
+ is_truncated: boolean;
2010
+ }>;
2011
+ "snapshots.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2012
+ project_id: z.ZodString;
2013
+ }, z.core.$strict>, "snapshots_list", {
2014
+ id: string;
2015
+ name: string;
2016
+ lsn?: string | null | undefined;
2017
+ timestamp?: string | null | undefined;
2018
+ source_branch_id?: string | null | undefined;
2019
+ created_at: string;
2020
+ expires_at?: string | null | undefined;
2021
+ manual?: boolean | null | undefined;
2022
+ full_size?: number | null | undefined;
2023
+ diff_size?: number | null | undefined;
2024
+ }[]>;
2025
+ "snapshots.create": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2026
+ project_id: z.ZodString;
2027
+ branch_id: z.ZodString;
2028
+ lsn: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2029
+ timestamp: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2030
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2031
+ expires_at: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2032
+ }, z.core.$strict>, "snapshots_create", {
2033
+ id: string;
2034
+ name: string;
2035
+ lsn?: string | null | undefined;
2036
+ timestamp?: string | null | undefined;
2037
+ source_branch_id?: string | null | undefined;
2038
+ created_at: string;
2039
+ expires_at?: string | null | undefined;
2040
+ manual?: boolean | null | undefined;
2041
+ full_size?: number | null | undefined;
2042
+ diff_size?: number | null | undefined;
2043
+ }>;
2044
+ "snapshots.update": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2045
+ project_id: z.ZodString;
2046
+ snapshot_id: z.ZodString;
2047
+ name: z.ZodOptional<z.ZodString>;
2048
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
2049
+ }, z.core.$strict>, "snapshots_update", {
2050
+ id: string;
2051
+ name: string;
2052
+ lsn?: string | null | undefined;
2053
+ timestamp?: string | null | undefined;
2054
+ source_branch_id?: string | null | undefined;
2055
+ created_at: string;
2056
+ expires_at?: string | null | undefined;
2057
+ manual?: boolean | null | undefined;
2058
+ full_size?: number | null | undefined;
2059
+ diff_size?: number | null | undefined;
2060
+ }>;
2061
+ "snapshots.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2062
+ project_id: z.ZodString;
2063
+ snapshot_id: z.ZodString;
2064
+ }, z.core.$strict>, "snapshots_delete", null>;
2065
+ "snapshots.restore": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2066
+ project_id: z.ZodString;
2067
+ snapshot_id: z.ZodString;
2068
+ name: z.ZodOptional<z.ZodString>;
2069
+ target_branch_id: z.ZodOptional<z.ZodString>;
2070
+ finalize: z.ZodOptional<z.ZodBoolean>;
2071
+ }, z.core.$strict>, "snapshots_restore", {
2072
+ id: string;
2073
+ project_id: string;
2074
+ parent_id?: string | null | undefined;
2075
+ parent_lsn?: string | null | undefined;
2076
+ parent_timestamp?: string | null | undefined;
2077
+ name: string;
2078
+ current_state: import("@neon/sdk").BranchState;
2079
+ pending_state?: string | null | undefined;
2080
+ state_changed_at: string;
2081
+ logical_size?: number | null | undefined;
2082
+ creation_source: string;
2083
+ primary?: boolean | null | undefined;
2084
+ default: boolean;
2085
+ protected: boolean;
2086
+ cpu_used_sec: number;
2087
+ compute_time_seconds: number;
2088
+ active_time_seconds: number;
2089
+ written_data_bytes: number;
2090
+ data_transfer_bytes: number;
2091
+ created_at: string;
2092
+ updated_at: string;
2093
+ ttl_interval_seconds?: number | null | undefined;
2094
+ expires_at?: string | null | undefined;
2095
+ last_reset_at?: string | null | undefined;
2096
+ created_by?: {
2097
+ name?: string | null | undefined;
2098
+ image?: string | null | undefined;
2099
+ } | null | undefined;
2100
+ init_source?: string | null | undefined;
2101
+ restore_status?: string | null | undefined;
2102
+ restored_from?: string | null | undefined;
2103
+ restored_as?: string | null | undefined;
2104
+ restricted_actions?: {
2105
+ name: string;
2106
+ reason: string;
2107
+ }[] | null | undefined;
2108
+ recovery?: {
2109
+ deleted_at: string;
2110
+ recoverable_until: string;
2111
+ deletion_method: "user" | "ttl";
2112
+ } | null | undefined;
2113
+ }>;
2114
+ "snapshots.getSchedule": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2115
+ project_id: z.ZodString;
2116
+ branch_id: z.ZodString;
2117
+ }, z.core.$strict>, "snapshots_get_schedule", {
2118
+ schedule: {
2119
+ frequency: string;
2120
+ hour?: number | null | undefined;
2121
+ day?: number | null | undefined;
2122
+ month?: number | null | undefined;
2123
+ retention_seconds?: number | null | undefined;
2124
+ }[];
2125
+ }>;
2126
+ "snapshots.setSchedule": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2127
+ project_id: z.ZodString;
2128
+ branch_id: z.ZodString;
2129
+ schedule: z.ZodArray<z.ZodObject<{
2130
+ frequency: z.ZodEnum<{
2131
+ daily: "daily";
2132
+ monthly: "monthly";
2133
+ weekly: "weekly";
2134
+ }>;
2135
+ hour: z.ZodOptional<z.ZodInt>;
2136
+ day: z.ZodOptional<z.ZodInt>;
2137
+ month: z.ZodOptional<z.ZodInt>;
2138
+ retention_seconds: z.ZodOptional<z.ZodInt>;
2139
+ }, z.core.$strict>>;
2140
+ }, z.core.$strict>, "snapshots_set_schedule", null>;
2141
+ "operations.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodType<{
2142
+ project_id: string;
2143
+ limit?: number | undefined;
2144
+ }, {
2145
+ project_id: string;
2146
+ limit?: number | undefined;
2147
+ }, z.core.$ZodTypeInternals<{
2148
+ project_id: string;
2149
+ limit?: number | undefined;
2150
+ }, {
2151
+ project_id: string;
2152
+ limit?: number | undefined;
2153
+ }>>, "operations_list", {
2154
+ id: string;
2155
+ project_id: string;
2156
+ branch_id?: string | null | undefined;
2157
+ endpoint_id?: string | null | undefined;
2158
+ action: import("@neon/sdk").OperationAction;
2159
+ status: import("@neon/sdk").OperationStatus;
2160
+ error?: string | null | undefined;
2161
+ failures_count: number;
2162
+ retry_at?: string | null | undefined;
2163
+ created_at: string;
2164
+ updated_at: string;
2165
+ total_duration_ms: number;
2166
+ }[]>;
2167
+ "operations.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2168
+ project_id: z.ZodString;
2169
+ operation_id: z.ZodUUID;
2170
+ }, z.core.$strict>, "operations_get", {
2171
+ id: string;
2172
+ project_id: string;
2173
+ branch_id?: string | null | undefined;
2174
+ endpoint_id?: string | null | undefined;
2175
+ action: import("@neon/sdk").OperationAction;
2176
+ status: import("@neon/sdk").OperationStatus;
2177
+ error?: string | null | undefined;
2178
+ failures_count: number;
2179
+ retry_at?: string | null | undefined;
2180
+ created_at: string;
2181
+ updated_at: string;
2182
+ total_duration_ms: number;
2183
+ }>;
2184
+ "auth.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2185
+ project_id: z.ZodString;
2186
+ branch_id: z.ZodString;
2187
+ }, z.core.$strict>, "auth_get", {
2188
+ auth_provider: import("@neon/sdk").NeonAuthSupportedAuthProvider;
2189
+ auth_provider_project_id: string;
2190
+ branch_id: string;
2191
+ db_name: string;
2192
+ created_at: string;
2193
+ owned_by: import("@neon/sdk").NeonAuthProviderProjectOwnedBy;
2194
+ transfer_status?: import("@neon/sdk").NeonAuthProviderProjectTransferStatus | null | undefined;
2195
+ jwks_url: string;
2196
+ base_url?: string | null | undefined;
2197
+ name?: string | null | undefined;
2198
+ }>;
2199
+ "auth.create": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2200
+ project_id: z.ZodString;
2201
+ branch_id: z.ZodString;
2202
+ auth_provider: z.ZodEnum<{
2203
+ mock: "mock";
2204
+ stack: "stack";
2205
+ better_auth: "better_auth";
2206
+ }>;
2207
+ database_name: z.ZodOptional<z.ZodString>;
2208
+ }, z.core.$strict>, "auth_create", {
2209
+ auth_provider: import("@neon/sdk").NeonAuthSupportedAuthProvider;
2210
+ auth_provider_project_id: string;
2211
+ pub_client_key: string;
2212
+ secret_server_key: string;
2213
+ jwks_url: string;
2214
+ schema_name: string;
2215
+ table_name: string;
2216
+ base_url?: string | null | undefined;
2217
+ }>;
2218
+ "auth.disable": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2219
+ project_id: z.ZodString;
2220
+ branch_id: z.ZodString;
2221
+ delete_data: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2222
+ }, z.core.$strict>, "auth_disable", null>;
2223
+ "auth.updateConfig": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2224
+ project_id: z.ZodString;
2225
+ branch_id: z.ZodString;
2226
+ name: z.ZodString;
2227
+ }, z.core.$strict>, "auth_update_config", {
2228
+ name: string;
2229
+ }>;
2230
+ "auth.oauthProviders.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2231
+ project_id: z.ZodString;
2232
+ branch_id: z.ZodString;
2233
+ }, z.core.$strict>, "auth_oauth_providers_list", {
2234
+ id: import("@neon/sdk").NeonAuthOauthProviderId;
2235
+ type: import("@neon/sdk").NeonAuthOauthProviderType;
2236
+ client_id?: string | null | undefined;
2237
+ client_secret?: string | null | undefined;
2238
+ }[]>;
2239
+ "auth.oauthProviders.add": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2240
+ project_id: z.ZodString;
2241
+ branch_id: z.ZodString;
2242
+ id: z.ZodEnum<{
2243
+ github: "github";
2244
+ google: "google";
2245
+ microsoft: "microsoft";
2246
+ vercel: "vercel";
2247
+ }>;
2248
+ client_id: z.ZodOptional<z.ZodString>;
2249
+ client_secret: z.ZodOptional<z.ZodString>;
2250
+ microsoft_tenant_id: z.ZodOptional<z.ZodString>;
2251
+ }, z.core.$strict>, "auth_oauth_providers_add", {
2252
+ id: import("@neon/sdk").NeonAuthOauthProviderId;
2253
+ type: import("@neon/sdk").NeonAuthOauthProviderType;
2254
+ client_id?: string | null | undefined;
2255
+ client_secret?: string | null | undefined;
2256
+ }>;
2257
+ "auth.oauthProviders.update": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2258
+ project_id: z.ZodString;
2259
+ branch_id: z.ZodString;
2260
+ oauth_provider_id: z.ZodEnum<{
2261
+ github: "github";
2262
+ google: "google";
2263
+ microsoft: "microsoft";
2264
+ vercel: "vercel";
2265
+ }>;
2266
+ client_id: z.ZodOptional<z.ZodString>;
2267
+ client_secret: z.ZodOptional<z.ZodString>;
2268
+ microsoft_tenant_id: z.ZodOptional<z.ZodString>;
2269
+ }, z.core.$strict>, "auth_oauth_providers_update", {
2270
+ id: import("@neon/sdk").NeonAuthOauthProviderId;
2271
+ type: import("@neon/sdk").NeonAuthOauthProviderType;
2272
+ client_id?: string | null | undefined;
2273
+ client_secret?: string | null | undefined;
2274
+ }>;
2275
+ "auth.oauthProviders.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2276
+ project_id: z.ZodString;
2277
+ branch_id: z.ZodString;
2278
+ oauth_provider_id: z.ZodEnum<{
2279
+ github: "github";
2280
+ google: "google";
2281
+ microsoft: "microsoft";
2282
+ vercel: "vercel";
2283
+ }>;
2284
+ }, z.core.$strict>, "auth_oauth_providers_delete", null>;
2285
+ "auth.trustedDomains.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2286
+ project_id: z.ZodString;
2287
+ branch_id: z.ZodString;
2288
+ }, z.core.$strict>, "auth_trusted_domains_list", {
2289
+ domain: string;
2290
+ auth_provider: import("@neon/sdk").NeonAuthSupportedAuthProvider;
2291
+ }[]>;
2292
+ "auth.trustedDomains.add": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2293
+ project_id: z.ZodString;
2294
+ branch_id: z.ZodString;
2295
+ domain: z.ZodURL;
2296
+ auth_provider: z.ZodEnum<{
2297
+ mock: "mock";
2298
+ stack: "stack";
2299
+ better_auth: "better_auth";
2300
+ }>;
2301
+ }, z.core.$strict>, "auth_trusted_domains_add", null>;
2302
+ "auth.trustedDomains.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2303
+ project_id: z.ZodString;
2304
+ branch_id: z.ZodString;
2305
+ auth_provider: z.ZodEnum<{
2306
+ mock: "mock";
2307
+ stack: "stack";
2308
+ better_auth: "better_auth";
2309
+ }>;
2310
+ domains: z.ZodArray<z.ZodObject<{
2311
+ domain: z.ZodURL;
2312
+ }, z.core.$strict>>;
2313
+ }, z.core.$strict>, "auth_trusted_domains_delete", null>;
2314
+ "auth.users.create": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2315
+ project_id: z.ZodString;
2316
+ branch_id: z.ZodString;
2317
+ email: z.ZodEmail;
2318
+ name: z.ZodOptional<z.ZodString>;
2319
+ }, z.core.$strict>, "auth_users_create", {
2320
+ id: string;
2321
+ }>;
2322
+ "auth.users.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2323
+ project_id: z.ZodString;
2324
+ branch_id: z.ZodString;
2325
+ auth_user_id: z.ZodString;
2326
+ }, z.core.$strict>, "auth_users_delete", null>;
2327
+ "auth.users.updateRole": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2328
+ project_id: z.ZodString;
2329
+ branch_id: z.ZodString;
2330
+ auth_user_id: z.ZodString;
2331
+ roles: z.ZodArray<z.ZodString>;
2332
+ }, z.core.$strict>, "auth_users_update_role", {
2333
+ id: string;
2334
+ }>;
2335
+ "consumption.perProject": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodType<{
2336
+ metrics?: string[] | undefined;
2337
+ org_id?: string | undefined;
2338
+ project_ids?: string[] | undefined;
2339
+ limit?: number | undefined;
2340
+ from: string;
2341
+ to: string;
2342
+ granularity: "hourly" | "daily" | "monthly";
2343
+ include_v1_metrics?: boolean | undefined;
2344
+ }, {
2345
+ metrics?: string[] | undefined;
2346
+ org_id?: string | undefined;
2347
+ project_ids?: string[] | undefined;
2348
+ limit?: number | undefined;
2349
+ from: string;
2350
+ to: string;
2351
+ granularity: "hourly" | "daily" | "monthly";
2352
+ include_v1_metrics?: boolean | undefined;
2353
+ }, z.core.$ZodTypeInternals<{
2354
+ metrics?: string[] | undefined;
2355
+ org_id?: string | undefined;
2356
+ project_ids?: string[] | undefined;
2357
+ limit?: number | undefined;
2358
+ from: string;
2359
+ to: string;
2360
+ granularity: "hourly" | "daily" | "monthly";
2361
+ include_v1_metrics?: boolean | undefined;
2362
+ }, {
2363
+ metrics?: string[] | undefined;
2364
+ org_id?: string | undefined;
2365
+ project_ids?: string[] | undefined;
2366
+ limit?: number | undefined;
2367
+ from: string;
2368
+ to: string;
2369
+ granularity: "hourly" | "daily" | "monthly";
2370
+ include_v1_metrics?: boolean | undefined;
2371
+ }>>, "consumption_per_project", {
2372
+ project_id: string;
2373
+ periods: {
2374
+ period_id: string;
2375
+ period_plan: string;
2376
+ period_start: string;
2377
+ period_end?: string | null | undefined;
2378
+ consumption: {
2379
+ timeframe_start: string;
2380
+ timeframe_end: string;
2381
+ active_time_seconds: number;
2382
+ compute_time_seconds: number;
2383
+ written_data_bytes: number;
2384
+ synthetic_storage_size_bytes: number;
2385
+ data_storage_bytes_hour?: number | null | undefined;
2386
+ logical_size_bytes?: number | null | undefined;
2387
+ logical_size_bytes_hour?: number | null | undefined;
2388
+ }[];
2389
+ }[];
2390
+ }[]>;
2391
+ "consumption.perProjectV2": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodType<{
2392
+ metrics: string[];
2393
+ org_id: string;
2394
+ project_ids?: string[] | undefined;
2395
+ limit?: number | undefined;
2396
+ from: string;
2397
+ to: string;
2398
+ granularity: "hourly" | "daily" | "monthly";
2399
+ }, {
2400
+ metrics: string[];
2401
+ org_id: string;
2402
+ project_ids?: string[] | undefined;
2403
+ limit?: number | undefined;
2404
+ from: string;
2405
+ to: string;
2406
+ granularity: "hourly" | "daily" | "monthly";
2407
+ }, z.core.$ZodTypeInternals<{
2408
+ metrics: string[];
2409
+ org_id: string;
2410
+ project_ids?: string[] | undefined;
2411
+ limit?: number | undefined;
2412
+ from: string;
2413
+ to: string;
2414
+ granularity: "hourly" | "daily" | "monthly";
2415
+ }, {
2416
+ metrics: string[];
2417
+ org_id: string;
2418
+ project_ids?: string[] | undefined;
2419
+ limit?: number | undefined;
2420
+ from: string;
2421
+ to: string;
2422
+ granularity: "hourly" | "daily" | "monthly";
2423
+ }>>, "consumption_per_project_v2", {
2424
+ project_id: string;
2425
+ periods: {
2426
+ period_id: string;
2427
+ period_plan: string;
2428
+ period_start: string;
2429
+ period_end?: string | null | undefined;
2430
+ consumption: {
2431
+ timeframe_start?: string | null | undefined;
2432
+ timeframe_end?: string | null | undefined;
2433
+ metrics?: {
2434
+ metric_name: string;
2435
+ value: number;
2436
+ }[] | null | undefined;
2437
+ }[];
2438
+ }[];
2439
+ }[]>;
2440
+ "consumption.perBranchV2": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodType<{
2441
+ metrics: string[];
2442
+ org_id: string;
2443
+ project_ids: string[];
2444
+ limit?: number | undefined;
2445
+ from: string;
2446
+ to: string;
2447
+ granularity: "hourly" | "daily" | "monthly";
2448
+ branch_ids?: string[] | undefined;
2449
+ }, {
2450
+ metrics: string[];
2451
+ org_id: string;
2452
+ project_ids: string[];
2453
+ limit?: number | undefined;
2454
+ from: string;
2455
+ to: string;
2456
+ granularity: "hourly" | "daily" | "monthly";
2457
+ branch_ids?: string[] | undefined;
2458
+ }, z.core.$ZodTypeInternals<{
2459
+ metrics: string[];
2460
+ org_id: string;
2461
+ project_ids: string[];
2462
+ limit?: number | undefined;
2463
+ from: string;
2464
+ to: string;
2465
+ granularity: "hourly" | "daily" | "monthly";
2466
+ branch_ids?: string[] | undefined;
2467
+ }, {
2468
+ metrics: string[];
2469
+ org_id: string;
2470
+ project_ids: string[];
2471
+ limit?: number | undefined;
2472
+ from: string;
2473
+ to: string;
2474
+ granularity: "hourly" | "daily" | "monthly";
2475
+ branch_ids?: string[] | undefined;
2476
+ }>>, "consumption_per_branch_v2", {
2477
+ project_id: string;
2478
+ branch_id: string;
2479
+ periods: {
2480
+ period_id: string;
2481
+ period_plan: string;
2482
+ period_start: string;
2483
+ period_end?: string | null | undefined;
2484
+ consumption: {
2485
+ timeframe_start?: string | null | undefined;
2486
+ timeframe_end?: string | null | undefined;
2487
+ metrics?: {
2488
+ metric_name: string;
2489
+ value: number;
2490
+ }[] | null | undefined;
2491
+ }[];
2492
+ }[];
2493
+ }[]>;
2494
+ "apiKeys.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "api_keys_list", {
2495
+ id: number;
2496
+ name: string;
2497
+ created_at: string;
2498
+ created_by: {
2499
+ id: string;
2500
+ name: string;
2501
+ image: string;
2502
+ };
2503
+ last_used_at?: string | null | undefined;
2504
+ last_used_from_addr: string;
2505
+ }[]>;
2506
+ "apiKeys.create": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2507
+ key_name: z.ZodString;
2508
+ }, z.core.$strict>, "api_keys_create", {
2509
+ id: number;
2510
+ key: string;
2511
+ name: string;
2512
+ created_at: string;
2513
+ created_by: string;
2514
+ }>;
2515
+ "apiKeys.revoke": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2516
+ key_id: z.ZodInt;
2517
+ }, z.core.$strict>, "api_keys_revoke", {
2518
+ id: number;
2519
+ name: string;
2520
+ created_at: string;
2521
+ created_by: string;
2522
+ last_used_at?: string | null | undefined;
2523
+ last_used_from_addr: string;
2524
+ revoked: boolean;
2525
+ }>;
2526
+ "regions.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "regions_list", {
2527
+ region_id: string;
2528
+ name: string;
2529
+ default: boolean;
2530
+ geo_lat: string;
2531
+ geo_long: string;
2532
+ }[]>;
2533
+ "user.me": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "user_me", {
2534
+ active_seconds_limit: number;
2535
+ billing_account?: {
2536
+ state: import("@neon/sdk").BillingAccountState;
2537
+ payment_source: {
2538
+ type: string;
2539
+ card?: {
2540
+ last4: string;
2541
+ brand?: "unknown" | "amex" | "diners" | "discover" | "jcb" | "mastercard" | "unionpay" | "visa" | null | undefined;
2542
+ exp_month?: number | null | undefined;
2543
+ exp_year?: number | null | undefined;
2544
+ } | null | undefined;
2545
+ };
2546
+ subscription_type: import("@neon/sdk").BillingSubscriptionType;
2547
+ payment_method: import("@neon/sdk").BillingPaymentMethod;
2548
+ quota_reset_at_last: string;
2549
+ name: string;
2550
+ email: string;
2551
+ address_city: string;
2552
+ address_country: string;
2553
+ address_country_name?: string | null | undefined;
2554
+ address_line1: string;
2555
+ address_line2: string;
2556
+ address_postal_code: string;
2557
+ address_state: string;
2558
+ orb_portal_url?: string | null | undefined;
2559
+ tax_id?: string | null | undefined;
2560
+ tax_id_type?: string | null | undefined;
2561
+ plan_details?: {
2562
+ name: string;
2563
+ version?: {
2564
+ major: number;
2565
+ minor: number;
2566
+ } | null | undefined;
2567
+ } | null | undefined;
2568
+ spending_limit_cents?: number | null | undefined;
2569
+ } | null | undefined;
2570
+ auth_accounts: {
2571
+ email: string;
2572
+ image: string;
2573
+ login: string;
2574
+ name: string;
2575
+ provider: import("@neon/sdk").IdentityProviderId;
2576
+ }[];
2577
+ email: string;
2578
+ id: string;
2579
+ image: string;
2580
+ login: string;
2581
+ name: string;
2582
+ last_name: string;
2583
+ projects_limit: number;
2584
+ branches_limit: number;
2585
+ max_autoscaling_limit: number;
2586
+ compute_seconds_limit?: number | null | undefined;
2587
+ plan: string;
2588
+ }>;
2589
+ "user.organizations": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "user_organizations", {
2590
+ id: string;
2591
+ name: string;
2592
+ handle: string;
2593
+ plan: string;
2594
+ created_at: string;
2595
+ managed_by: string;
2596
+ updated_at: string;
2597
+ allow_hipaa_projects?: boolean | null | undefined;
2598
+ require_mfa?: boolean | null | undefined;
2599
+ }[]>;
2600
+ };
2601
+ //# sourceMappingURL=catalog.d.ts.map