@neon/tools 2.7.0 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/generated/zod.gen.d.ts +312 -312
- package/dist/generated/zod.gen.d.ts.map +1 -1
- package/dist/generated/zod.gen.js +1896 -1426
- package/dist/lib/ergonomic/catalog.d.ts +245 -0
- package/dist/lib/ergonomic/catalog.d.ts.map +1 -1
- package/dist/lib/ergonomic/catalog.js +151 -0
- package/dist/lib/ergonomic/composed.d.ts.map +1 -1
- package/dist/lib/ergonomic/composed.js +2 -2
- package/dist/lib/ergonomic/ids.d.ts +1 -1
- package/dist/lib/ergonomic/ids.d.ts.map +1 -1
- package/dist/lib/ergonomic/ids.js +14 -0
- package/dist/operations.gen.js +20 -20
- package/package.json +2 -2
|
@@ -16,10 +16,6 @@ export declare const zPaginationResponse: z.ZodObject<{
|
|
|
16
16
|
* Empty response.
|
|
17
17
|
*/
|
|
18
18
|
export declare const zEmptyResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
19
|
-
export declare const zPlanVersion: z.ZodObject<{
|
|
20
|
-
major: z.ZodInt;
|
|
21
|
-
minor: z.ZodInt;
|
|
22
|
-
}, z.core.$strict>;
|
|
23
19
|
export declare const zPlanDetails: z.ZodObject<{
|
|
24
20
|
name: z.ZodString;
|
|
25
21
|
version: z.ZodOptional<z.ZodObject<{
|
|
@@ -27,6 +23,10 @@ export declare const zPlanDetails: z.ZodObject<{
|
|
|
27
23
|
minor: z.ZodInt;
|
|
28
24
|
}, z.core.$strict>>;
|
|
29
25
|
}, z.core.$strict>;
|
|
26
|
+
export declare const zPlanVersion: z.ZodObject<{
|
|
27
|
+
major: z.ZodInt;
|
|
28
|
+
minor: z.ZodInt;
|
|
29
|
+
}, z.core.$strict>;
|
|
30
30
|
/**
|
|
31
31
|
* Add a new JWKS to a specific endpoint of a project
|
|
32
32
|
*/
|
|
@@ -205,19 +205,6 @@ export declare const zOperationAction: z.ZodEnum<{
|
|
|
205
205
|
update_catalog: "update_catalog";
|
|
206
206
|
epc_sync: "epc_sync";
|
|
207
207
|
}>;
|
|
208
|
-
/**
|
|
209
|
-
* Lifecycle state of the operation. `scheduling`: queued, not yet started. `running`: actively executing. `finished`: completed successfully. `failed`: ended with a failure. `error`: ended with a terminal error. `cancelling`: cancellation requested but not yet complete. `cancelled`: stopped before completion. `skipped`: bypassed without executing.
|
|
210
|
-
*/
|
|
211
|
-
export declare const zOperationStatus: z.ZodEnum<{
|
|
212
|
-
error: "error";
|
|
213
|
-
scheduling: "scheduling";
|
|
214
|
-
running: "running";
|
|
215
|
-
finished: "finished";
|
|
216
|
-
failed: "failed";
|
|
217
|
-
cancelling: "cancelling";
|
|
218
|
-
cancelled: "cancelled";
|
|
219
|
-
skipped: "skipped";
|
|
220
|
-
}>;
|
|
221
208
|
/**
|
|
222
209
|
* An asynchronous action Neon performs on your resources (for example, starting a compute or creating a branch). Fields such as `action`, `status`, and `total_duration_ms` describe the operation and its progress.
|
|
223
210
|
*/
|
|
@@ -405,6 +392,19 @@ export declare const zOperationsResponse: z.ZodObject<{
|
|
|
405
392
|
total_duration_ms: z.ZodInt;
|
|
406
393
|
}, z.core.$strict>>;
|
|
407
394
|
}, z.core.$strict>;
|
|
395
|
+
/**
|
|
396
|
+
* Lifecycle state of the operation. `scheduling`: queued, not yet started. `running`: actively executing. `finished`: completed successfully. `failed`: ended with a failure. `error`: ended with a terminal error. `cancelling`: cancellation requested but not yet complete. `cancelled`: stopped before completion. `skipped`: bypassed without executing.
|
|
397
|
+
*/
|
|
398
|
+
export declare const zOperationStatus: z.ZodEnum<{
|
|
399
|
+
error: "error";
|
|
400
|
+
scheduling: "scheduling";
|
|
401
|
+
running: "running";
|
|
402
|
+
finished: "finished";
|
|
403
|
+
failed: "failed";
|
|
404
|
+
cancelling: "cancelling";
|
|
405
|
+
cancelled: "cancelled";
|
|
406
|
+
skipped: "skipped";
|
|
407
|
+
}>;
|
|
408
408
|
export declare const zProjectTransferRequestResponse: z.ZodObject<{
|
|
409
409
|
id: z.ZodUUID;
|
|
410
410
|
project_id: z.ZodString;
|
|
@@ -906,6 +906,31 @@ export declare const zBranchResponse: z.ZodObject<{
|
|
|
906
906
|
}, z.core.$strict>>;
|
|
907
907
|
}, z.core.$strict>;
|
|
908
908
|
}, z.core.$strict>;
|
|
909
|
+
export declare const zBranchSchemaResponse: z.ZodObject<{
|
|
910
|
+
sql: z.ZodOptional<z.ZodString>;
|
|
911
|
+
json: z.ZodOptional<z.ZodObject<{
|
|
912
|
+
tables: z.ZodArray<z.ZodObject<{
|
|
913
|
+
schema: z.ZodString;
|
|
914
|
+
name: z.ZodString;
|
|
915
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
916
|
+
name: z.ZodString;
|
|
917
|
+
type: z.ZodString;
|
|
918
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
919
|
+
generated: z.ZodOptional<z.ZodBoolean>;
|
|
920
|
+
}, z.core.$strict>>;
|
|
921
|
+
constraints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
922
|
+
type: z.ZodString;
|
|
923
|
+
columns: z.ZodArray<z.ZodString>;
|
|
924
|
+
name: z.ZodOptional<z.ZodString>;
|
|
925
|
+
referenced_table: z.ZodOptional<z.ZodObject<{
|
|
926
|
+
schema: z.ZodString;
|
|
927
|
+
table: z.ZodString;
|
|
928
|
+
columns: z.ZodArray<z.ZodString>;
|
|
929
|
+
}, z.core.$strict>>;
|
|
930
|
+
}, z.core.$strict>>>;
|
|
931
|
+
}, z.core.$strict>>;
|
|
932
|
+
}, z.core.$strict>>;
|
|
933
|
+
}, z.core.$strict>;
|
|
909
934
|
export declare const zBranchSchemaCompareResponse: z.ZodObject<{
|
|
910
935
|
diff: z.ZodOptional<z.ZodString>;
|
|
911
936
|
}, z.core.$strict>;
|
|
@@ -1801,13 +1826,6 @@ export declare const zProjectSettingsData: z.ZodObject<{
|
|
|
1801
1826
|
* A raw representation of Postgres settings
|
|
1802
1827
|
*/
|
|
1803
1828
|
export declare const zPgSettingsData: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1804
|
-
/**
|
|
1805
|
-
* Deprecated. A raw representation of PgBouncer settings. Removal scheduled for June 20, 2026.
|
|
1806
|
-
*
|
|
1807
|
-
*
|
|
1808
|
-
* @deprecated
|
|
1809
|
-
*/
|
|
1810
|
-
export declare const zPgbouncerSettingsData: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1811
1829
|
/**
|
|
1812
1830
|
* A collection of settings for a compute endpoint
|
|
1813
1831
|
*/
|
|
@@ -1819,57 +1837,6 @@ export declare const zEndpointSettingsData: z.ZodObject<{
|
|
|
1819
1837
|
enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1820
1838
|
}, z.core.$strict>>;
|
|
1821
1839
|
}, z.core.$strict>;
|
|
1822
|
-
export declare const zBranchCreateRequestEndpointOptions: z.ZodObject<{
|
|
1823
|
-
type: z.ZodEnum<{
|
|
1824
|
-
read_only: "read_only";
|
|
1825
|
-
read_write: "read_write";
|
|
1826
|
-
}>;
|
|
1827
|
-
settings: z.ZodOptional<z.ZodObject<{
|
|
1828
|
-
pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1829
|
-
pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1830
|
-
preload_libraries: z.ZodOptional<z.ZodObject<{
|
|
1831
|
-
use_defaults: z.ZodOptional<z.ZodBoolean>;
|
|
1832
|
-
enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1833
|
-
}, z.core.$strict>>;
|
|
1834
|
-
}, z.core.$strict>>;
|
|
1835
|
-
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
1836
|
-
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
1837
|
-
provisioner: z.ZodOptional<z.ZodString>;
|
|
1838
|
-
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
1839
|
-
}, z.core.$strict>;
|
|
1840
|
-
export declare const zBranchCreateRequest: z.ZodObject<{
|
|
1841
|
-
endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1842
|
-
type: z.ZodEnum<{
|
|
1843
|
-
read_only: "read_only";
|
|
1844
|
-
read_write: "read_write";
|
|
1845
|
-
}>;
|
|
1846
|
-
settings: z.ZodOptional<z.ZodObject<{
|
|
1847
|
-
pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1848
|
-
pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1849
|
-
preload_libraries: z.ZodOptional<z.ZodObject<{
|
|
1850
|
-
use_defaults: z.ZodOptional<z.ZodBoolean>;
|
|
1851
|
-
enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1852
|
-
}, z.core.$strict>>;
|
|
1853
|
-
}, z.core.$strict>>;
|
|
1854
|
-
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
1855
|
-
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
1856
|
-
provisioner: z.ZodOptional<z.ZodString>;
|
|
1857
|
-
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
1858
|
-
}, z.core.$strict>>>;
|
|
1859
|
-
branch: z.ZodOptional<z.ZodObject<{
|
|
1860
|
-
parent_id: z.ZodOptional<z.ZodString>;
|
|
1861
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1862
|
-
parent_lsn: z.ZodOptional<z.ZodString>;
|
|
1863
|
-
parent_timestamp: z.ZodOptional<z.ZodISODateTime>;
|
|
1864
|
-
protected: z.ZodOptional<z.ZodBoolean>;
|
|
1865
|
-
realtime: z.ZodOptional<z.ZodObject<{
|
|
1866
|
-
allowed_origins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1867
|
-
}, z.core.$strict>>;
|
|
1868
|
-
archived: z.ZodOptional<z.ZodBoolean>;
|
|
1869
|
-
init_source: z.ZodOptional<z.ZodString>;
|
|
1870
|
-
expires_at: z.ZodOptional<z.ZodISODateTime>;
|
|
1871
|
-
}, z.core.$strict>>;
|
|
1872
|
-
}, z.core.$strict>;
|
|
1873
1840
|
export declare const zEndpoint: z.ZodObject<{
|
|
1874
1841
|
host: z.ZodString;
|
|
1875
1842
|
id: z.ZodString;
|
|
@@ -2175,6 +2142,64 @@ export declare const zProjectUpdateRequest: z.ZodObject<{
|
|
|
2175
2142
|
history_retention_seconds: z.ZodOptional<z.ZodInt>;
|
|
2176
2143
|
}, z.core.$strict>;
|
|
2177
2144
|
}, z.core.$strict>;
|
|
2145
|
+
/**
|
|
2146
|
+
* Deprecated. A raw representation of PgBouncer settings. Removal scheduled for June 20, 2026.
|
|
2147
|
+
*
|
|
2148
|
+
*
|
|
2149
|
+
* @deprecated
|
|
2150
|
+
*/
|
|
2151
|
+
export declare const zPgbouncerSettingsData: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2152
|
+
export declare const zBranchCreateRequestEndpointOptions: z.ZodObject<{
|
|
2153
|
+
type: z.ZodEnum<{
|
|
2154
|
+
read_only: "read_only";
|
|
2155
|
+
read_write: "read_write";
|
|
2156
|
+
}>;
|
|
2157
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
2158
|
+
pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2159
|
+
pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2160
|
+
preload_libraries: z.ZodOptional<z.ZodObject<{
|
|
2161
|
+
use_defaults: z.ZodOptional<z.ZodBoolean>;
|
|
2162
|
+
enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2163
|
+
}, z.core.$strict>>;
|
|
2164
|
+
}, z.core.$strict>>;
|
|
2165
|
+
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
2166
|
+
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
2167
|
+
provisioner: z.ZodOptional<z.ZodString>;
|
|
2168
|
+
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
2169
|
+
}, z.core.$strict>;
|
|
2170
|
+
export declare const zBranchCreateRequest: z.ZodObject<{
|
|
2171
|
+
endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2172
|
+
type: z.ZodEnum<{
|
|
2173
|
+
read_only: "read_only";
|
|
2174
|
+
read_write: "read_write";
|
|
2175
|
+
}>;
|
|
2176
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
2177
|
+
pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2178
|
+
pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2179
|
+
preload_libraries: z.ZodOptional<z.ZodObject<{
|
|
2180
|
+
use_defaults: z.ZodOptional<z.ZodBoolean>;
|
|
2181
|
+
enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2182
|
+
}, z.core.$strict>>;
|
|
2183
|
+
}, z.core.$strict>>;
|
|
2184
|
+
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
2185
|
+
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
2186
|
+
provisioner: z.ZodOptional<z.ZodString>;
|
|
2187
|
+
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
2188
|
+
}, z.core.$strict>>>;
|
|
2189
|
+
branch: z.ZodOptional<z.ZodObject<{
|
|
2190
|
+
parent_id: z.ZodOptional<z.ZodString>;
|
|
2191
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2192
|
+
parent_lsn: z.ZodOptional<z.ZodString>;
|
|
2193
|
+
parent_timestamp: z.ZodOptional<z.ZodISODateTime>;
|
|
2194
|
+
protected: z.ZodOptional<z.ZodBoolean>;
|
|
2195
|
+
realtime: z.ZodOptional<z.ZodObject<{
|
|
2196
|
+
allowed_origins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2197
|
+
}, z.core.$strict>>;
|
|
2198
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
2199
|
+
init_source: z.ZodOptional<z.ZodString>;
|
|
2200
|
+
expires_at: z.ZodOptional<z.ZodISODateTime>;
|
|
2201
|
+
}, z.core.$strict>>;
|
|
2202
|
+
}, z.core.$strict>;
|
|
2178
2203
|
/**
|
|
2179
2204
|
* The major Postgres version number. Supported versions are `14`, `15`, `16`, `17`, and `18`. `19` is rolling out and is accepted only in regions where it is enabled; requesting it elsewhere returns an error.
|
|
2180
2205
|
*/
|
|
@@ -2254,130 +2279,36 @@ export declare const zProjectListItem: z.ZodObject<{
|
|
|
2254
2279
|
ADMIN: "ADMIN";
|
|
2255
2280
|
}>>>;
|
|
2256
2281
|
}, z.core.$strict>;
|
|
2257
|
-
export declare const
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2282
|
+
export declare const zProject: z.ZodObject<{
|
|
2283
|
+
data_storage_bytes_hour: z.ZodInt;
|
|
2284
|
+
data_transfer_bytes: z.ZodInt;
|
|
2285
|
+
written_data_bytes: z.ZodInt;
|
|
2286
|
+
compute_time_seconds: z.ZodInt;
|
|
2287
|
+
active_time_seconds: z.ZodInt;
|
|
2288
|
+
cpu_used_sec: z.ZodInt;
|
|
2289
|
+
id: z.ZodString;
|
|
2290
|
+
platform_id: z.ZodString;
|
|
2291
|
+
region_id: z.ZodString;
|
|
2292
|
+
name: z.ZodString;
|
|
2293
|
+
provisioner: z.ZodString;
|
|
2294
|
+
default_endpoint_settings: z.ZodOptional<z.ZodObject<{
|
|
2295
|
+
pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2296
|
+
pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2297
|
+
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
2298
|
+
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
2299
|
+
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
2300
|
+
}, z.core.$strict>>;
|
|
2301
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
2302
|
+
quota: z.ZodOptional<z.ZodObject<{
|
|
2303
|
+
active_time_seconds: z.ZodOptional<z.ZodInt>;
|
|
2304
|
+
compute_time_seconds: z.ZodOptional<z.ZodInt>;
|
|
2305
|
+
written_data_bytes: z.ZodOptional<z.ZodInt>;
|
|
2306
|
+
data_transfer_bytes: z.ZodOptional<z.ZodInt>;
|
|
2307
|
+
logical_size_bytes: z.ZodOptional<z.ZodInt>;
|
|
2270
2308
|
}, z.core.$strict>>;
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
compute_time_seconds: z.ZodOptional<z.ZodInt>;
|
|
2275
|
-
written_data_bytes: z.ZodOptional<z.ZodInt>;
|
|
2276
|
-
data_transfer_bytes: z.ZodOptional<z.ZodInt>;
|
|
2277
|
-
logical_size_bytes: z.ZodOptional<z.ZodInt>;
|
|
2278
|
-
}, z.core.$strict>>;
|
|
2279
|
-
allowed_ips: z.ZodOptional<z.ZodObject<{
|
|
2280
|
-
ips: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2281
|
-
protected_branches_only: z.ZodOptional<z.ZodBoolean>;
|
|
2282
|
-
}, z.core.$strict>>;
|
|
2283
|
-
enable_logical_replication: z.ZodOptional<z.ZodBoolean>;
|
|
2284
|
-
maintenance_window: z.ZodOptional<z.ZodObject<{
|
|
2285
|
-
weekdays: z.ZodArray<z.ZodInt>;
|
|
2286
|
-
start_time: z.ZodString;
|
|
2287
|
-
end_time: z.ZodString;
|
|
2288
|
-
}, z.core.$strict>>;
|
|
2289
|
-
block_public_connections: z.ZodOptional<z.ZodBoolean>;
|
|
2290
|
-
block_vpc_connections: z.ZodOptional<z.ZodBoolean>;
|
|
2291
|
-
audit_log_level: z.ZodOptional<z.ZodEnum<{
|
|
2292
|
-
base: "base";
|
|
2293
|
-
extended: "extended";
|
|
2294
|
-
full: "full";
|
|
2295
|
-
}>>;
|
|
2296
|
-
hipaa: z.ZodOptional<z.ZodBoolean>;
|
|
2297
|
-
preload_libraries: z.ZodOptional<z.ZodObject<{
|
|
2298
|
-
use_defaults: z.ZodOptional<z.ZodBoolean>;
|
|
2299
|
-
enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2300
|
-
}, z.core.$strict>>;
|
|
2301
|
-
}, z.core.$strict>>;
|
|
2302
|
-
pg_version: z.ZodInt;
|
|
2303
|
-
proxy_host: z.ZodString;
|
|
2304
|
-
branch_logical_size_limit: z.ZodInt;
|
|
2305
|
-
branch_logical_size_limit_bytes: z.ZodInt;
|
|
2306
|
-
store_passwords: z.ZodBoolean;
|
|
2307
|
-
active_time: z.ZodInt;
|
|
2308
|
-
cpu_used_sec: z.ZodInt;
|
|
2309
|
-
maintenance_starts_at: z.ZodOptional<z.ZodISODateTime>;
|
|
2310
|
-
creation_source: z.ZodString;
|
|
2311
|
-
created_at: z.ZodISODateTime;
|
|
2312
|
-
updated_at: z.ZodISODateTime;
|
|
2313
|
-
synthetic_storage_size: z.ZodOptional<z.ZodInt>;
|
|
2314
|
-
quota_reset_at: z.ZodOptional<z.ZodISODateTime>;
|
|
2315
|
-
owner_id: z.ZodString;
|
|
2316
|
-
compute_last_active_at: z.ZodOptional<z.ZodISODateTime>;
|
|
2317
|
-
org_id: z.ZodOptional<z.ZodString>;
|
|
2318
|
-
org_name: z.ZodOptional<z.ZodString>;
|
|
2319
|
-
history_retention_seconds: z.ZodOptional<z.ZodInt>;
|
|
2320
|
-
hipaa_enabled_at: z.ZodOptional<z.ZodISODateTime>;
|
|
2321
|
-
deleted_at: z.ZodOptional<z.ZodISODateTime>;
|
|
2322
|
-
recoverable_until: z.ZodOptional<z.ZodISODateTime>;
|
|
2323
|
-
effective_project_permission: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2324
|
-
VIEWER: "VIEWER";
|
|
2325
|
-
EDITOR: "EDITOR";
|
|
2326
|
-
ADMIN: "ADMIN";
|
|
2327
|
-
}>>>;
|
|
2328
|
-
}, z.core.$strict>>;
|
|
2329
|
-
unavailable_project_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2330
|
-
}, z.core.$strict>;
|
|
2331
|
-
export declare const zProjectOwnerData: z.ZodObject<{
|
|
2332
|
-
email: z.ZodEmail;
|
|
2333
|
-
name: z.ZodString;
|
|
2334
|
-
branches_limit: z.ZodInt;
|
|
2335
|
-
subscription_type: z.ZodEnum<{
|
|
2336
|
-
UNKNOWN: "UNKNOWN";
|
|
2337
|
-
direct_sales: "direct_sales";
|
|
2338
|
-
direct_sales_v3: "direct_sales_v3";
|
|
2339
|
-
aws_marketplace: "aws_marketplace";
|
|
2340
|
-
free_v2: "free_v2";
|
|
2341
|
-
free_v3: "free_v3";
|
|
2342
|
-
build: "build";
|
|
2343
|
-
launch: "launch";
|
|
2344
|
-
launch_v3: "launch_v3";
|
|
2345
|
-
scale: "scale";
|
|
2346
|
-
scale_v3: "scale_v3";
|
|
2347
|
-
business: "business";
|
|
2348
|
-
vercel_pg_legacy: "vercel_pg_legacy";
|
|
2349
|
-
}>;
|
|
2350
|
-
}, z.core.$strict>;
|
|
2351
|
-
export declare const zProject: z.ZodObject<{
|
|
2352
|
-
data_storage_bytes_hour: z.ZodInt;
|
|
2353
|
-
data_transfer_bytes: z.ZodInt;
|
|
2354
|
-
written_data_bytes: z.ZodInt;
|
|
2355
|
-
compute_time_seconds: z.ZodInt;
|
|
2356
|
-
active_time_seconds: z.ZodInt;
|
|
2357
|
-
cpu_used_sec: z.ZodInt;
|
|
2358
|
-
id: z.ZodString;
|
|
2359
|
-
platform_id: z.ZodString;
|
|
2360
|
-
region_id: z.ZodString;
|
|
2361
|
-
name: z.ZodString;
|
|
2362
|
-
provisioner: z.ZodString;
|
|
2363
|
-
default_endpoint_settings: z.ZodOptional<z.ZodObject<{
|
|
2364
|
-
pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2365
|
-
pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2366
|
-
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
2367
|
-
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
2368
|
-
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
2369
|
-
}, z.core.$strict>>;
|
|
2370
|
-
settings: z.ZodOptional<z.ZodObject<{
|
|
2371
|
-
quota: z.ZodOptional<z.ZodObject<{
|
|
2372
|
-
active_time_seconds: z.ZodOptional<z.ZodInt>;
|
|
2373
|
-
compute_time_seconds: z.ZodOptional<z.ZodInt>;
|
|
2374
|
-
written_data_bytes: z.ZodOptional<z.ZodInt>;
|
|
2375
|
-
data_transfer_bytes: z.ZodOptional<z.ZodInt>;
|
|
2376
|
-
logical_size_bytes: z.ZodOptional<z.ZodInt>;
|
|
2377
|
-
}, z.core.$strict>>;
|
|
2378
|
-
allowed_ips: z.ZodOptional<z.ZodObject<{
|
|
2379
|
-
ips: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2380
|
-
protected_branches_only: z.ZodOptional<z.ZodBoolean>;
|
|
2309
|
+
allowed_ips: z.ZodOptional<z.ZodObject<{
|
|
2310
|
+
ips: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2311
|
+
protected_branches_only: z.ZodOptional<z.ZodBoolean>;
|
|
2381
2312
|
}, z.core.$strict>>;
|
|
2382
2313
|
enable_logical_replication: z.ZodOptional<z.ZodBoolean>;
|
|
2383
2314
|
maintenance_window: z.ZodOptional<z.ZodObject<{
|
|
@@ -2443,6 +2374,66 @@ export declare const zProject: z.ZodObject<{
|
|
|
2443
2374
|
ADMIN: "ADMIN";
|
|
2444
2375
|
}>>>;
|
|
2445
2376
|
}, z.core.$strict>;
|
|
2377
|
+
export declare const zProjectCreateRequest: z.ZodObject<{
|
|
2378
|
+
project: z.ZodObject<{
|
|
2379
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
2380
|
+
quota: z.ZodOptional<z.ZodObject<{
|
|
2381
|
+
active_time_seconds: z.ZodOptional<z.ZodInt>;
|
|
2382
|
+
compute_time_seconds: z.ZodOptional<z.ZodInt>;
|
|
2383
|
+
written_data_bytes: z.ZodOptional<z.ZodInt>;
|
|
2384
|
+
data_transfer_bytes: z.ZodOptional<z.ZodInt>;
|
|
2385
|
+
logical_size_bytes: z.ZodOptional<z.ZodInt>;
|
|
2386
|
+
}, z.core.$strict>>;
|
|
2387
|
+
allowed_ips: z.ZodOptional<z.ZodObject<{
|
|
2388
|
+
ips: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2389
|
+
protected_branches_only: z.ZodOptional<z.ZodBoolean>;
|
|
2390
|
+
}, z.core.$strict>>;
|
|
2391
|
+
enable_logical_replication: z.ZodOptional<z.ZodBoolean>;
|
|
2392
|
+
maintenance_window: z.ZodOptional<z.ZodObject<{
|
|
2393
|
+
weekdays: z.ZodArray<z.ZodInt>;
|
|
2394
|
+
start_time: z.ZodString;
|
|
2395
|
+
end_time: z.ZodString;
|
|
2396
|
+
}, z.core.$strict>>;
|
|
2397
|
+
block_public_connections: z.ZodOptional<z.ZodBoolean>;
|
|
2398
|
+
block_vpc_connections: z.ZodOptional<z.ZodBoolean>;
|
|
2399
|
+
audit_log_level: z.ZodOptional<z.ZodEnum<{
|
|
2400
|
+
base: "base";
|
|
2401
|
+
extended: "extended";
|
|
2402
|
+
full: "full";
|
|
2403
|
+
}>>;
|
|
2404
|
+
hipaa: z.ZodOptional<z.ZodBoolean>;
|
|
2405
|
+
preload_libraries: z.ZodOptional<z.ZodObject<{
|
|
2406
|
+
use_defaults: z.ZodOptional<z.ZodBoolean>;
|
|
2407
|
+
enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2408
|
+
}, z.core.$strict>>;
|
|
2409
|
+
}, z.core.$strict>>;
|
|
2410
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2411
|
+
realtime: z.ZodOptional<z.ZodObject<{
|
|
2412
|
+
allowed_origins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2413
|
+
}, z.core.$strict>>;
|
|
2414
|
+
branch: z.ZodOptional<z.ZodObject<{
|
|
2415
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2416
|
+
role_name: z.ZodOptional<z.ZodString>;
|
|
2417
|
+
database_name: z.ZodOptional<z.ZodString>;
|
|
2418
|
+
annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2419
|
+
}, z.core.$strict>>;
|
|
2420
|
+
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
2421
|
+
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
2422
|
+
provisioner: z.ZodOptional<z.ZodString>;
|
|
2423
|
+
region_id: z.ZodOptional<z.ZodString>;
|
|
2424
|
+
default_endpoint_settings: z.ZodOptional<z.ZodObject<{
|
|
2425
|
+
pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2426
|
+
pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2427
|
+
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
2428
|
+
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
2429
|
+
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
2430
|
+
}, z.core.$strict>>;
|
|
2431
|
+
pg_version: z.ZodOptional<z.ZodInt>;
|
|
2432
|
+
store_passwords: z.ZodOptional<z.ZodBoolean>;
|
|
2433
|
+
history_retention_seconds: z.ZodOptional<z.ZodInt>;
|
|
2434
|
+
org_id: z.ZodOptional<z.ZodString>;
|
|
2435
|
+
}, z.core.$strict>;
|
|
2436
|
+
}, z.core.$strict>;
|
|
2446
2437
|
export declare const zProjectResponse: z.ZodObject<{
|
|
2447
2438
|
project: z.ZodObject<{
|
|
2448
2439
|
data_storage_bytes_hour: z.ZodInt;
|
|
@@ -2683,6 +2674,100 @@ export declare const zProjectRecoverResponse: z.ZodObject<{
|
|
|
2683
2674
|
}, z.core.$strict>>;
|
|
2684
2675
|
}, z.core.$strict>>;
|
|
2685
2676
|
}, z.core.$strict>;
|
|
2677
|
+
export declare const zProjectsResponse: z.ZodObject<{
|
|
2678
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
2679
|
+
id: z.ZodString;
|
|
2680
|
+
platform_id: z.ZodString;
|
|
2681
|
+
region_id: z.ZodString;
|
|
2682
|
+
name: z.ZodString;
|
|
2683
|
+
provisioner: z.ZodString;
|
|
2684
|
+
default_endpoint_settings: z.ZodOptional<z.ZodObject<{
|
|
2685
|
+
pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2686
|
+
pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2687
|
+
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
2688
|
+
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
2689
|
+
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
2690
|
+
}, z.core.$strict>>;
|
|
2691
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
2692
|
+
quota: z.ZodOptional<z.ZodObject<{
|
|
2693
|
+
active_time_seconds: z.ZodOptional<z.ZodInt>;
|
|
2694
|
+
compute_time_seconds: z.ZodOptional<z.ZodInt>;
|
|
2695
|
+
written_data_bytes: z.ZodOptional<z.ZodInt>;
|
|
2696
|
+
data_transfer_bytes: z.ZodOptional<z.ZodInt>;
|
|
2697
|
+
logical_size_bytes: z.ZodOptional<z.ZodInt>;
|
|
2698
|
+
}, z.core.$strict>>;
|
|
2699
|
+
allowed_ips: z.ZodOptional<z.ZodObject<{
|
|
2700
|
+
ips: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2701
|
+
protected_branches_only: z.ZodOptional<z.ZodBoolean>;
|
|
2702
|
+
}, z.core.$strict>>;
|
|
2703
|
+
enable_logical_replication: z.ZodOptional<z.ZodBoolean>;
|
|
2704
|
+
maintenance_window: z.ZodOptional<z.ZodObject<{
|
|
2705
|
+
weekdays: z.ZodArray<z.ZodInt>;
|
|
2706
|
+
start_time: z.ZodString;
|
|
2707
|
+
end_time: z.ZodString;
|
|
2708
|
+
}, z.core.$strict>>;
|
|
2709
|
+
block_public_connections: z.ZodOptional<z.ZodBoolean>;
|
|
2710
|
+
block_vpc_connections: z.ZodOptional<z.ZodBoolean>;
|
|
2711
|
+
audit_log_level: z.ZodOptional<z.ZodEnum<{
|
|
2712
|
+
base: "base";
|
|
2713
|
+
extended: "extended";
|
|
2714
|
+
full: "full";
|
|
2715
|
+
}>>;
|
|
2716
|
+
hipaa: z.ZodOptional<z.ZodBoolean>;
|
|
2717
|
+
preload_libraries: z.ZodOptional<z.ZodObject<{
|
|
2718
|
+
use_defaults: z.ZodOptional<z.ZodBoolean>;
|
|
2719
|
+
enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2720
|
+
}, z.core.$strict>>;
|
|
2721
|
+
}, z.core.$strict>>;
|
|
2722
|
+
pg_version: z.ZodInt;
|
|
2723
|
+
proxy_host: z.ZodString;
|
|
2724
|
+
branch_logical_size_limit: z.ZodInt;
|
|
2725
|
+
branch_logical_size_limit_bytes: z.ZodInt;
|
|
2726
|
+
store_passwords: z.ZodBoolean;
|
|
2727
|
+
active_time: z.ZodInt;
|
|
2728
|
+
cpu_used_sec: z.ZodInt;
|
|
2729
|
+
maintenance_starts_at: z.ZodOptional<z.ZodISODateTime>;
|
|
2730
|
+
creation_source: z.ZodString;
|
|
2731
|
+
created_at: z.ZodISODateTime;
|
|
2732
|
+
updated_at: z.ZodISODateTime;
|
|
2733
|
+
synthetic_storage_size: z.ZodOptional<z.ZodInt>;
|
|
2734
|
+
quota_reset_at: z.ZodOptional<z.ZodISODateTime>;
|
|
2735
|
+
owner_id: z.ZodString;
|
|
2736
|
+
compute_last_active_at: z.ZodOptional<z.ZodISODateTime>;
|
|
2737
|
+
org_id: z.ZodOptional<z.ZodString>;
|
|
2738
|
+
org_name: z.ZodOptional<z.ZodString>;
|
|
2739
|
+
history_retention_seconds: z.ZodOptional<z.ZodInt>;
|
|
2740
|
+
hipaa_enabled_at: z.ZodOptional<z.ZodISODateTime>;
|
|
2741
|
+
deleted_at: z.ZodOptional<z.ZodISODateTime>;
|
|
2742
|
+
recoverable_until: z.ZodOptional<z.ZodISODateTime>;
|
|
2743
|
+
effective_project_permission: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2744
|
+
VIEWER: "VIEWER";
|
|
2745
|
+
EDITOR: "EDITOR";
|
|
2746
|
+
ADMIN: "ADMIN";
|
|
2747
|
+
}>>>;
|
|
2748
|
+
}, z.core.$strict>>;
|
|
2749
|
+
unavailable_project_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2750
|
+
}, z.core.$strict>;
|
|
2751
|
+
export declare const zProjectOwnerData: z.ZodObject<{
|
|
2752
|
+
email: z.ZodEmail;
|
|
2753
|
+
name: z.ZodString;
|
|
2754
|
+
branches_limit: z.ZodInt;
|
|
2755
|
+
subscription_type: z.ZodEnum<{
|
|
2756
|
+
UNKNOWN: "UNKNOWN";
|
|
2757
|
+
direct_sales: "direct_sales";
|
|
2758
|
+
direct_sales_v3: "direct_sales_v3";
|
|
2759
|
+
aws_marketplace: "aws_marketplace";
|
|
2760
|
+
free_v2: "free_v2";
|
|
2761
|
+
free_v3: "free_v3";
|
|
2762
|
+
build: "build";
|
|
2763
|
+
launch: "launch";
|
|
2764
|
+
launch_v3: "launch_v3";
|
|
2765
|
+
scale: "scale";
|
|
2766
|
+
scale_v3: "scale_v3";
|
|
2767
|
+
business: "business";
|
|
2768
|
+
vercel_pg_legacy: "vercel_pg_legacy";
|
|
2769
|
+
}>;
|
|
2770
|
+
}, z.core.$strict>;
|
|
2686
2771
|
export declare const zLimitsUnsatisfiedResponse: z.ZodObject<{
|
|
2687
2772
|
limits: z.ZodArray<z.ZodObject<{
|
|
2688
2773
|
name: z.ZodString;
|
|
@@ -3081,17 +3166,6 @@ export declare const zNeonAuthWebhookConfig: z.ZodObject<{
|
|
|
3081
3166
|
}>>>;
|
|
3082
3167
|
timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
3083
3168
|
}, z.core.$strict>;
|
|
3084
|
-
export declare const zNeonAuthOauthProviderId: z.ZodEnum<{
|
|
3085
|
-
github: "github";
|
|
3086
|
-
google: "google";
|
|
3087
|
-
microsoft: "microsoft";
|
|
3088
|
-
vercel: "vercel";
|
|
3089
|
-
apple: "apple";
|
|
3090
|
-
}>;
|
|
3091
|
-
export declare const zNeonAuthOauthProviderType: z.ZodEnum<{
|
|
3092
|
-
standard: "standard";
|
|
3093
|
-
shared: "shared";
|
|
3094
|
-
}>;
|
|
3095
3169
|
export declare const zNeonAuthOauthProvider: z.ZodObject<{
|
|
3096
3170
|
id: z.ZodEnum<{
|
|
3097
3171
|
github: "github";
|
|
@@ -3130,6 +3204,17 @@ export declare const zListNeonAuthOauthProvidersResponse: z.ZodObject<{
|
|
|
3130
3204
|
apple_key_id: z.ZodOptional<z.ZodString>;
|
|
3131
3205
|
}, z.core.$strict>>;
|
|
3132
3206
|
}, z.core.$strict>;
|
|
3207
|
+
export declare const zNeonAuthOauthProviderId: z.ZodEnum<{
|
|
3208
|
+
github: "github";
|
|
3209
|
+
google: "google";
|
|
3210
|
+
microsoft: "microsoft";
|
|
3211
|
+
vercel: "vercel";
|
|
3212
|
+
apple: "apple";
|
|
3213
|
+
}>;
|
|
3214
|
+
export declare const zNeonAuthOauthProviderType: z.ZodEnum<{
|
|
3215
|
+
standard: "standard";
|
|
3216
|
+
shared: "shared";
|
|
3217
|
+
}>;
|
|
3133
3218
|
export declare const zNeonAuthAddOAuthProviderRequest: z.ZodObject<{
|
|
3134
3219
|
id: z.ZodEnum<{
|
|
3135
3220
|
github: "github";
|
|
@@ -3228,19 +3313,6 @@ export declare const zNeonAuthEmailVerificationMethod: z.ZodEnum<{
|
|
|
3228
3313
|
link: "link";
|
|
3229
3314
|
otp: "otp";
|
|
3230
3315
|
}>;
|
|
3231
|
-
export declare const zNeonAuthEmailAndPasswordConfig: z.ZodObject<{
|
|
3232
|
-
enabled: z.ZodBoolean;
|
|
3233
|
-
email_verification_method: z.ZodEnum<{
|
|
3234
|
-
link: "link";
|
|
3235
|
-
otp: "otp";
|
|
3236
|
-
}>;
|
|
3237
|
-
require_email_verification: z.ZodBoolean;
|
|
3238
|
-
auto_sign_in_after_verification: z.ZodBoolean;
|
|
3239
|
-
send_verification_email_on_sign_up: z.ZodBoolean;
|
|
3240
|
-
send_verification_email_on_sign_in: z.ZodBoolean;
|
|
3241
|
-
disable_sign_up: z.ZodBoolean;
|
|
3242
|
-
revoke_sessions_on_password_reset: z.ZodBoolean;
|
|
3243
|
-
}, z.core.$strict>;
|
|
3244
3316
|
/**
|
|
3245
3317
|
* Aggregated plugin configurations for Neon Auth
|
|
3246
3318
|
*/
|
|
@@ -3323,6 +3395,19 @@ export declare const zNeonAuthPluginConfigs: z.ZodObject<{
|
|
|
3323
3395
|
}, z.core.$strict>>>;
|
|
3324
3396
|
allow_localhost: z.ZodOptional<z.ZodBoolean>;
|
|
3325
3397
|
}, z.core.$strict>;
|
|
3398
|
+
export declare const zNeonAuthEmailAndPasswordConfig: z.ZodObject<{
|
|
3399
|
+
enabled: z.ZodBoolean;
|
|
3400
|
+
email_verification_method: z.ZodEnum<{
|
|
3401
|
+
link: "link";
|
|
3402
|
+
otp: "otp";
|
|
3403
|
+
}>;
|
|
3404
|
+
require_email_verification: z.ZodBoolean;
|
|
3405
|
+
auto_sign_in_after_verification: z.ZodBoolean;
|
|
3406
|
+
send_verification_email_on_sign_up: z.ZodBoolean;
|
|
3407
|
+
send_verification_email_on_sign_in: z.ZodBoolean;
|
|
3408
|
+
disable_sign_up: z.ZodBoolean;
|
|
3409
|
+
revoke_sessions_on_password_reset: z.ZodBoolean;
|
|
3410
|
+
}, z.core.$strict>;
|
|
3326
3411
|
export declare const zNeonAuthEmailAndPasswordConfigUpdate: z.ZodObject<{
|
|
3327
3412
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3328
3413
|
email_verification_method: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3388,12 +3473,12 @@ export declare const zNeonAuthConfigUpdate: z.ZodObject<{
|
|
|
3388
3473
|
export declare const zNeonAuthConfigResponse: z.ZodObject<{
|
|
3389
3474
|
name: z.ZodString;
|
|
3390
3475
|
}, z.core.$strict>;
|
|
3391
|
-
export declare const zErrorCode: z.ZodString;
|
|
3392
3476
|
export declare const zGeneralError: z.ZodObject<{
|
|
3393
3477
|
request_id: z.ZodOptional<z.ZodString>;
|
|
3394
3478
|
code: z.ZodString;
|
|
3395
3479
|
message: z.ZodString;
|
|
3396
3480
|
}, z.core.$strict>;
|
|
3481
|
+
export declare const zErrorCode: z.ZodString;
|
|
3397
3482
|
export declare const zBranchOperations: z.ZodObject<{
|
|
3398
3483
|
branch: z.ZodObject<{
|
|
3399
3484
|
id: z.ZodString;
|
|
@@ -3926,70 +4011,6 @@ export declare const zJwksCreationOperation: z.ZodObject<{
|
|
|
3926
4011
|
* A free-form map of string key-value pairs for attaching metadata to a resource (for example, a git commit reference). Maximum 50 entries.
|
|
3927
4012
|
*/
|
|
3928
4013
|
export declare const zAnnotationValueData: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3929
|
-
export declare const zProjectCreateRequest: z.ZodObject<{
|
|
3930
|
-
project: z.ZodObject<{
|
|
3931
|
-
settings: z.ZodOptional<z.ZodObject<{
|
|
3932
|
-
quota: z.ZodOptional<z.ZodObject<{
|
|
3933
|
-
active_time_seconds: z.ZodOptional<z.ZodInt>;
|
|
3934
|
-
compute_time_seconds: z.ZodOptional<z.ZodInt>;
|
|
3935
|
-
written_data_bytes: z.ZodOptional<z.ZodInt>;
|
|
3936
|
-
data_transfer_bytes: z.ZodOptional<z.ZodInt>;
|
|
3937
|
-
logical_size_bytes: z.ZodOptional<z.ZodInt>;
|
|
3938
|
-
}, z.core.$strict>>;
|
|
3939
|
-
allowed_ips: z.ZodOptional<z.ZodObject<{
|
|
3940
|
-
ips: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3941
|
-
protected_branches_only: z.ZodOptional<z.ZodBoolean>;
|
|
3942
|
-
}, z.core.$strict>>;
|
|
3943
|
-
enable_logical_replication: z.ZodOptional<z.ZodBoolean>;
|
|
3944
|
-
maintenance_window: z.ZodOptional<z.ZodObject<{
|
|
3945
|
-
weekdays: z.ZodArray<z.ZodInt>;
|
|
3946
|
-
start_time: z.ZodString;
|
|
3947
|
-
end_time: z.ZodString;
|
|
3948
|
-
}, z.core.$strict>>;
|
|
3949
|
-
block_public_connections: z.ZodOptional<z.ZodBoolean>;
|
|
3950
|
-
block_vpc_connections: z.ZodOptional<z.ZodBoolean>;
|
|
3951
|
-
audit_log_level: z.ZodOptional<z.ZodEnum<{
|
|
3952
|
-
base: "base";
|
|
3953
|
-
extended: "extended";
|
|
3954
|
-
full: "full";
|
|
3955
|
-
}>>;
|
|
3956
|
-
hipaa: z.ZodOptional<z.ZodBoolean>;
|
|
3957
|
-
preload_libraries: z.ZodOptional<z.ZodObject<{
|
|
3958
|
-
use_defaults: z.ZodOptional<z.ZodBoolean>;
|
|
3959
|
-
enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3960
|
-
}, z.core.$strict>>;
|
|
3961
|
-
}, z.core.$strict>>;
|
|
3962
|
-
name: z.ZodOptional<z.ZodString>;
|
|
3963
|
-
realtime: z.ZodOptional<z.ZodObject<{
|
|
3964
|
-
allowed_origins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3965
|
-
}, z.core.$strict>>;
|
|
3966
|
-
branch: z.ZodOptional<z.ZodObject<{
|
|
3967
|
-
name: z.ZodOptional<z.ZodString>;
|
|
3968
|
-
role_name: z.ZodOptional<z.ZodString>;
|
|
3969
|
-
database_name: z.ZodOptional<z.ZodString>;
|
|
3970
|
-
annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3971
|
-
}, z.core.$strict>>;
|
|
3972
|
-
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
3973
|
-
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
3974
|
-
provisioner: z.ZodOptional<z.ZodString>;
|
|
3975
|
-
region_id: z.ZodOptional<z.ZodString>;
|
|
3976
|
-
default_endpoint_settings: z.ZodOptional<z.ZodObject<{
|
|
3977
|
-
pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3978
|
-
pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3979
|
-
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
3980
|
-
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
3981
|
-
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
3982
|
-
}, z.core.$strict>>;
|
|
3983
|
-
pg_version: z.ZodOptional<z.ZodInt>;
|
|
3984
|
-
store_passwords: z.ZodOptional<z.ZodBoolean>;
|
|
3985
|
-
history_retention_seconds: z.ZodOptional<z.ZodInt>;
|
|
3986
|
-
org_id: z.ZodOptional<z.ZodString>;
|
|
3987
|
-
}, z.core.$strict>;
|
|
3988
|
-
}, z.core.$strict>;
|
|
3989
|
-
export declare const zAnnotationObjectData: z.ZodObject<{
|
|
3990
|
-
type: z.ZodString;
|
|
3991
|
-
id: z.ZodString;
|
|
3992
|
-
}, z.core.$strict>;
|
|
3993
4014
|
export declare const zAnnotationData: z.ZodObject<{
|
|
3994
4015
|
object: z.ZodObject<{
|
|
3995
4016
|
type: z.ZodString;
|
|
@@ -3999,6 +4020,10 @@ export declare const zAnnotationData: z.ZodObject<{
|
|
|
3999
4020
|
created_at: z.ZodOptional<z.ZodISODateTime>;
|
|
4000
4021
|
updated_at: z.ZodOptional<z.ZodISODateTime>;
|
|
4001
4022
|
}, z.core.$strict>;
|
|
4023
|
+
export declare const zAnnotationObjectData: z.ZodObject<{
|
|
4024
|
+
type: z.ZodString;
|
|
4025
|
+
id: z.ZodString;
|
|
4026
|
+
}, z.core.$strict>;
|
|
4002
4027
|
export declare const zAnnotationCreateValueRequest: z.ZodObject<{
|
|
4003
4028
|
annotation_value: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4004
4029
|
}, z.core.$strict>;
|
|
@@ -4219,31 +4244,6 @@ export declare const zBranchSchemaJson: z.ZodObject<{
|
|
|
4219
4244
|
}, z.core.$strict>>>;
|
|
4220
4245
|
}, z.core.$strict>>;
|
|
4221
4246
|
}, z.core.$strict>;
|
|
4222
|
-
export declare const zBranchSchemaResponse: z.ZodObject<{
|
|
4223
|
-
sql: z.ZodOptional<z.ZodString>;
|
|
4224
|
-
json: z.ZodOptional<z.ZodObject<{
|
|
4225
|
-
tables: z.ZodArray<z.ZodObject<{
|
|
4226
|
-
schema: z.ZodString;
|
|
4227
|
-
name: z.ZodString;
|
|
4228
|
-
columns: z.ZodArray<z.ZodObject<{
|
|
4229
|
-
name: z.ZodString;
|
|
4230
|
-
type: z.ZodString;
|
|
4231
|
-
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
4232
|
-
generated: z.ZodOptional<z.ZodBoolean>;
|
|
4233
|
-
}, z.core.$strict>>;
|
|
4234
|
-
constraints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4235
|
-
type: z.ZodString;
|
|
4236
|
-
columns: z.ZodArray<z.ZodString>;
|
|
4237
|
-
name: z.ZodOptional<z.ZodString>;
|
|
4238
|
-
referenced_table: z.ZodOptional<z.ZodObject<{
|
|
4239
|
-
schema: z.ZodString;
|
|
4240
|
-
table: z.ZodString;
|
|
4241
|
-
columns: z.ZodArray<z.ZodString>;
|
|
4242
|
-
}, z.core.$strict>>;
|
|
4243
|
-
}, z.core.$strict>>>;
|
|
4244
|
-
}, z.core.$strict>>;
|
|
4245
|
-
}, z.core.$strict>>;
|
|
4246
|
-
}, z.core.$strict>;
|
|
4247
4247
|
/**
|
|
4248
4248
|
* Controls anonymous access to objects in the bucket.
|
|
4249
4249
|
* - `private`: all reads and writes require authenticated requests (default).
|