@neon/sdk 0.2.0 → 1.1.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 +135 -5
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +2 -2
- package/dist/client/raw.gen.d.ts +4282 -0
- package/dist/client/raw.gen.d.ts.map +1 -0
- package/dist/client/raw.gen.js +170 -0
- package/dist/client/raw.gen.js.map +1 -0
- package/dist/client/sdk.gen.d.ts +252 -2
- package/dist/client/sdk.gen.d.ts.map +1 -1
- package/dist/client/sdk.gen.js +634 -1
- package/dist/client/sdk.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +2092 -1010
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/neon/client.d.ts +10 -0
- package/dist/neon/client.d.ts.map +1 -1
- package/dist/neon/client.js +10 -0
- package/dist/neon/client.js.map +1 -1
- package/dist/neon/client.test-d.js +17 -0
- package/dist/neon/client.test-d.js.map +1 -1
- package/dist/neon/coverage.d.ts.map +1 -1
- package/dist/neon/coverage.js +57 -0
- package/dist/neon/coverage.js.map +1 -1
- package/dist/neon/raw-wrap.d.ts +63 -0
- package/dist/neon/raw-wrap.d.ts.map +1 -0
- package/dist/neon/raw-wrap.js +47 -0
- package/dist/neon/raw-wrap.js.map +1 -0
- package/dist/neon/resources/ai-gateway.d.ts +16 -0
- package/dist/neon/resources/ai-gateway.d.ts.map +1 -0
- package/dist/neon/resources/ai-gateway.js +23 -0
- package/dist/neon/resources/ai-gateway.js.map +1 -0
- package/dist/neon/resources/auth.d.ts +81 -0
- package/dist/neon/resources/auth.d.ts.map +1 -0
- package/dist/neon/resources/auth.js +197 -0
- package/dist/neon/resources/auth.js.map +1 -0
- package/dist/neon/resources/branches.d.ts +7 -0
- package/dist/neon/resources/branches.d.ts.map +1 -1
- package/dist/neon/resources/branches.js +11 -1
- package/dist/neon/resources/branches.js.map +1 -1
- package/dist/neon/resources/bucket-objects.d.ts +33 -0
- package/dist/neon/resources/bucket-objects.d.ts.map +1 -0
- package/dist/neon/resources/bucket-objects.js +74 -0
- package/dist/neon/resources/bucket-objects.js.map +1 -0
- package/dist/neon/resources/buckets.d.ts +23 -0
- package/dist/neon/resources/buckets.d.ts.map +1 -0
- package/dist/neon/resources/buckets.js +45 -0
- package/dist/neon/resources/buckets.js.map +1 -0
- package/dist/neon/resources/credentials.d.ts +23 -0
- package/dist/neon/resources/credentials.d.ts.map +1 -0
- package/dist/neon/resources/credentials.js +45 -0
- package/dist/neon/resources/credentials.js.map +1 -0
- package/dist/neon/resources/endpoints.d.ts +3 -0
- package/dist/neon/resources/endpoints.d.ts.map +1 -1
- package/dist/neon/resources/endpoints.js +11 -1
- package/dist/neon/resources/endpoints.js.map +1 -1
- package/dist/neon/resources/functions.d.ts +30 -0
- package/dist/neon/resources/functions.d.ts.map +1 -0
- package/dist/neon/resources/functions.js +79 -0
- package/dist/neon/resources/functions.js.map +1 -0
- package/dist/neon/resources/projects.d.ts +26 -2
- package/dist/neon/resources/projects.d.ts.map +1 -1
- package/dist/neon/resources/projects.js +44 -2
- package/dist/neon/resources/projects.js.map +1 -1
- package/dist/neon/resources/snapshots.d.ts +16 -5
- package/dist/neon/resources/snapshots.d.ts.map +1 -1
- package/dist/neon/resources/snapshots.js +4 -1
- package/dist/neon/resources/snapshots.js.map +1 -1
- package/dist/neon/resources/storage.d.ts +24 -0
- package/dist/neon/resources/storage.d.ts.map +1 -0
- package/dist/neon/resources/storage.js +32 -0
- package/dist/neon/resources/storage.js.map +1 -0
- package/dist/node_modules/.pnpm/@vitest_runner@3.0.9/node_modules/@vitest/runner/dist/chunk-tasks.js +1 -1
- package/dist/node_modules/.pnpm/@vitest_runner@3.0.9/node_modules/@vitest/runner/dist/index.js +4 -3
- package/dist/node_modules/.pnpm/@vitest_runner@3.0.9/node_modules/@vitest/runner/dist/index.js.map +1 -1
- package/dist/node_modules/.pnpm/@vitest_utils@3.0.9/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js +1 -1
- package/dist/node_modules/.pnpm/@vitest_utils@3.0.9/node_modules/@vitest/utils/dist/index.js +3 -3
- package/dist/node_modules/.pnpm/@vitest_utils@3.0.9/node_modules/@vitest/utils/dist/source-map.js +1 -1
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js +1 -1
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js +1 -1
- package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js +1 -1
- package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js +1 -1
- package/dist/node_modules/.pnpm/vitest@3.0.9_@types_debug@4.1.13_@types_node@20.19.17_jiti@2.7.0_jsdom@26.1.0_lightning_fb7ae83398b95c49208c9194029bba02/node_modules/vitest/dist/index.js +2 -2
- package/dist/raw.d.ts +4 -3
- package/dist/raw.js +24 -3
- package/dist/raw.js.map +1 -1
- package/package.json +4 -4
|
@@ -2,71 +2,6 @@
|
|
|
2
2
|
type ClientOptions = {
|
|
3
3
|
baseUrl: 'https://console.neon.tech/api/v2' | (string & {});
|
|
4
4
|
};
|
|
5
|
-
type Features = {
|
|
6
|
-
[key: string]: boolean;
|
|
7
|
-
};
|
|
8
|
-
type FeatureFlags = {
|
|
9
|
-
[key: string]: boolean | string;
|
|
10
|
-
};
|
|
11
|
-
type TelemetryConnection = {
|
|
12
|
-
/**
|
|
13
|
-
* Required. Communication protocol used to send telemetry data. Options: grpc, http.
|
|
14
|
-
* For gRPC, the endpoint must include an explicit port.
|
|
15
|
-
*
|
|
16
|
-
*/
|
|
17
|
-
protocol: 'grpc' | 'http';
|
|
18
|
-
/**
|
|
19
|
-
* Required. URI of the OpenTelemetry Collector (e.g., https://collector.customer.com:4317).
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
22
|
-
endpoint: string;
|
|
23
|
-
authentication: TelemetryAuthentication;
|
|
24
|
-
};
|
|
25
|
-
type TelemetryAuthentication = {
|
|
26
|
-
bearer_token?: {
|
|
27
|
-
token: string;
|
|
28
|
-
};
|
|
29
|
-
basic?: {
|
|
30
|
-
username: string;
|
|
31
|
-
password: string;
|
|
32
|
-
};
|
|
33
|
-
api_key?: {
|
|
34
|
-
key: string;
|
|
35
|
-
/**
|
|
36
|
-
* Optional. Custom header name for the API key. If not specified, defaults to "X-API-Key".
|
|
37
|
-
* This allows using custom header names like "Authorization", "X-Custom-Key", etc.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
header_name?: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
type TelemetryConfig = {
|
|
44
|
-
/**
|
|
45
|
-
* Required. The telemetry data types to enable. One or both of: metrics, logs.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
types: Array<'metrics' | 'logs'>;
|
|
49
|
-
/**
|
|
50
|
-
* Optional. Overrides the default endpoint for metrics (e.g., https://metrics.customer.com:4317).
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
metrics_endpoint_override?: string;
|
|
54
|
-
/**
|
|
55
|
-
* Optional. Overrides the default endpoint for logs (e.g., https://logs.customer.com:4318).
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
logs_endpoint_override?: string;
|
|
59
|
-
};
|
|
60
|
-
type TelemetryResource = {
|
|
61
|
-
/**
|
|
62
|
-
* Optional. Key-value attributes that describe the source of telemetry (e.g., service.name: neon-test).
|
|
63
|
-
* See: @https://opentelemetry.io/docs/specs/semconv/resource/#services
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
attributes?: {
|
|
67
|
-
[key: string]: string;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
5
|
type ComputeUnit = number;
|
|
71
6
|
/**
|
|
72
7
|
* The Neon compute provisioner.
|
|
@@ -402,7 +337,7 @@ type OperationsResponse = {
|
|
|
402
337
|
/**
|
|
403
338
|
* The action performed by the operation
|
|
404
339
|
*/
|
|
405
|
-
type OperationAction = 'create_compute' | 'create_timeline' | 'start_compute' | 'suspend_compute' | 'apply_config' | 'check_availability' | 'delete_timeline' | 'create_branch' | 'import_data' | 'tenant_ignore' | 'tenant_attach' | 'tenant_detach' | 'tenant_reattach' | 'replace_safekeeper' | 'disable_maintenance' | 'apply_storage_config' | 'prepare_secondary_pageserver' | 'switch_pageserver' | 'detach_parent_branch' | 'timeline_archive' | 'timeline_unarchive' | 'start_reserved_compute' | 'sync_dbs_and_roles_from_compute' | 'apply_schema_from_branch' | 'timeline_mark_invisible' | 'timeline_update_protected_config' | 'prewarm_replica' | 'promote_replica' | 'set_storage_non_dirty' | 'swap_binding_id' | 'finalize_migration' | 'mark_migration_prepared';
|
|
340
|
+
type OperationAction = 'create_compute' | 'create_timeline' | 'start_compute' | 'suspend_compute' | 'apply_config' | 'check_availability' | 'delete_timeline' | 'create_branch' | 'import_data' | 'tenant_ignore' | 'tenant_attach' | 'tenant_detach' | 'tenant_reattach' | 'replace_safekeeper' | 'disable_maintenance' | 'apply_storage_config' | 'prepare_secondary_pageserver' | 'switch_pageserver' | 'detach_parent_branch' | 'timeline_archive' | 'timeline_unarchive' | 'start_reserved_compute' | 'sync_dbs_and_roles_from_compute' | 'apply_schema_from_branch' | 'timeline_mark_invisible' | 'timeline_update_protected_config' | 'prewarm_replica' | 'promote_replica' | 'set_storage_non_dirty' | 'swap_binding_id' | 'finalize_migration' | 'mark_migration_prepared' | 'update_catalog';
|
|
406
341
|
/**
|
|
407
342
|
* The status of the operation
|
|
408
343
|
*/
|
|
@@ -834,12 +769,6 @@ type ProjectsResponse = {
|
|
|
834
769
|
*/
|
|
835
770
|
unavailable_project_ids?: Array<string>;
|
|
836
771
|
};
|
|
837
|
-
type ProjectsCountResponse = {
|
|
838
|
-
/**
|
|
839
|
-
* The total number of projects matching the query criteria.
|
|
840
|
-
*/
|
|
841
|
-
count: number;
|
|
842
|
-
};
|
|
843
772
|
type ProjectPermission = {
|
|
844
773
|
id: string;
|
|
845
774
|
granted_to_email: string;
|
|
@@ -854,12 +783,13 @@ type GrantPermissionToProjectRequest = {
|
|
|
854
783
|
};
|
|
855
784
|
/**
|
|
856
785
|
* The caller's effective permission for a project when
|
|
857
|
-
* per-project permissions are enabled.
|
|
858
|
-
*
|
|
859
|
-
* projects, flag-off organizations, and non-user
|
|
786
|
+
* per-project permissions are enabled. `VIEWER` grants read access,
|
|
787
|
+
* `EDITOR` adds update access, and `ADMIN` grants full management.
|
|
788
|
+
* Omitted for personal projects, flag-off organizations, and non-user
|
|
789
|
+
* subjects.
|
|
860
790
|
*
|
|
861
791
|
*/
|
|
862
|
-
type ProjectPermissionLevel = '
|
|
792
|
+
type ProjectPermissionLevel = 'VIEWER' | 'EDITOR' | 'ADMIN';
|
|
863
793
|
type ConsumptionHistoryPerProjectResponse = {
|
|
864
794
|
projects: Array<ConsumptionHistoryPerProject>;
|
|
865
795
|
};
|
|
@@ -1002,52 +932,6 @@ type ConsumptionMetricValue = {
|
|
|
1002
932
|
};
|
|
1003
933
|
type ConsumptionHistoryGranularity = 'hourly' | 'daily' | 'monthly';
|
|
1004
934
|
type ConsumptionHistoryQueryMetrics = Array<string>;
|
|
1005
|
-
type ProjectLimits = {
|
|
1006
|
-
limits: Limits;
|
|
1007
|
-
features: Features;
|
|
1008
|
-
};
|
|
1009
|
-
type Limits = {
|
|
1010
|
-
active_time: number;
|
|
1011
|
-
max_projects: number;
|
|
1012
|
-
max_branches: number;
|
|
1013
|
-
max_snapshots: number;
|
|
1014
|
-
max_protected_branches: number;
|
|
1015
|
-
max_autoscaling_cu: number;
|
|
1016
|
-
max_fixed_size_cu: number;
|
|
1017
|
-
cpu_seconds: number;
|
|
1018
|
-
max_compute_time_non_primary: number;
|
|
1019
|
-
max_active_endpoints: number;
|
|
1020
|
-
max_read_only_endpoints: number;
|
|
1021
|
-
max_read_computes_per_branch?: number;
|
|
1022
|
-
max_allowed_ips: number;
|
|
1023
|
-
max_vpc_endpoints_per_region: number;
|
|
1024
|
-
max_monitoring_retention_hours: number;
|
|
1025
|
-
max_history_retention_seconds: number;
|
|
1026
|
-
min_autosuspend_seconds: number;
|
|
1027
|
-
max_data_transfer: number;
|
|
1028
|
-
min_idle_seconds_to_autoarchive: number;
|
|
1029
|
-
min_age_seconds_to_autoarchive: number;
|
|
1030
|
-
max_branch_roles: number;
|
|
1031
|
-
max_branch_databases: number;
|
|
1032
|
-
max_concurrent_scheduled_operation_chains_per_project: number;
|
|
1033
|
-
max_concurrent_executing_operation_chains_per_project: number;
|
|
1034
|
-
max_root_branches: number;
|
|
1035
|
-
max_import_size: number;
|
|
1036
|
-
max_organization_members: number;
|
|
1037
|
-
schema_only_branches_size_limit: number;
|
|
1038
|
-
per_project: {
|
|
1039
|
-
compute_time_seconds: number;
|
|
1040
|
-
written_data_bytes: number;
|
|
1041
|
-
data_transfer_bytes: number;
|
|
1042
|
-
/**
|
|
1043
|
-
* Soft limit on PITR history size per project, in bytes. Display-only nudge —
|
|
1044
|
-
* not enforced server-side. Value <= 0 means unlimited.
|
|
1045
|
-
*
|
|
1046
|
-
*/
|
|
1047
|
-
history_size_bytes: number;
|
|
1048
|
-
suspend_default_branch: boolean;
|
|
1049
|
-
};
|
|
1050
|
-
};
|
|
1051
935
|
type ProjectAuditLogLevel = 'base' | 'extended' | 'full';
|
|
1052
936
|
type AvailablePreloadLibrary = {
|
|
1053
937
|
library_name: string;
|
|
@@ -1269,33 +1153,6 @@ type BranchRecoveryInfo = {
|
|
|
1269
1153
|
*/
|
|
1270
1154
|
deletion_method: 'user' | 'ttl';
|
|
1271
1155
|
};
|
|
1272
|
-
type BranchConsumption = {
|
|
1273
|
-
/**
|
|
1274
|
-
* Seconds. The number of CPU seconds used by the branch's compute endpoints, including compute endpoints that have been deleted.
|
|
1275
|
-
*
|
|
1276
|
-
*/
|
|
1277
|
-
compute_time_seconds: number;
|
|
1278
|
-
/**
|
|
1279
|
-
* Bytes. The number of bytes transferred to and from the branch.
|
|
1280
|
-
*
|
|
1281
|
-
*/
|
|
1282
|
-
data_transfer_bytes: number;
|
|
1283
|
-
/**
|
|
1284
|
-
* Bytes. The logical size of the branch.
|
|
1285
|
-
*
|
|
1286
|
-
*/
|
|
1287
|
-
logical_size_bytes: number;
|
|
1288
|
-
/**
|
|
1289
|
-
* Bytes. The number of bytes written to the branch since the parent branch.
|
|
1290
|
-
*
|
|
1291
|
-
*/
|
|
1292
|
-
written_size_since_parent_bytes: number;
|
|
1293
|
-
/**
|
|
1294
|
-
* Bytes. The number of bytes in the PITR history of the branch since the parent branch.
|
|
1295
|
-
*
|
|
1296
|
-
*/
|
|
1297
|
-
pitr_history_size_since_parent_bytes: number;
|
|
1298
|
-
};
|
|
1299
1156
|
type BranchCreateRequestEndpointOptions = {
|
|
1300
1157
|
type: EndpointType;
|
|
1301
1158
|
settings?: EndpointSettingsData;
|
|
@@ -1410,9 +1267,6 @@ type BranchRestoreRequest = {
|
|
|
1410
1267
|
type BranchResponse = {
|
|
1411
1268
|
branch: Branch;
|
|
1412
1269
|
};
|
|
1413
|
-
type BranchConsumptionResponse = {
|
|
1414
|
-
consumption: BranchConsumption;
|
|
1415
|
-
};
|
|
1416
1270
|
type BranchSchemaResponse = {
|
|
1417
1271
|
sql?: string;
|
|
1418
1272
|
json?: BranchSchemaJson;
|
|
@@ -1426,13 +1280,6 @@ type BranchesResponse = {
|
|
|
1426
1280
|
type BranchesCountResponse = {
|
|
1427
1281
|
count: number;
|
|
1428
1282
|
};
|
|
1429
|
-
type ProjectsBranchesCountResponse = {
|
|
1430
|
-
projects: {
|
|
1431
|
-
[key: string]: {
|
|
1432
|
-
count: number;
|
|
1433
|
-
};
|
|
1434
|
-
};
|
|
1435
|
-
};
|
|
1436
1283
|
type MaskingRule = {
|
|
1437
1284
|
/**
|
|
1438
1285
|
* The name of the database containing the table to be masked
|
|
@@ -1936,29 +1783,6 @@ type EndpointsResponse = {
|
|
|
1936
1783
|
type EndpointsOptionalResponse = {
|
|
1937
1784
|
endpoints?: Array<Endpoint>;
|
|
1938
1785
|
};
|
|
1939
|
-
type EndpointPasswordlessSessionAuthRequest = {
|
|
1940
|
-
session_id: string;
|
|
1941
|
-
};
|
|
1942
|
-
/**
|
|
1943
|
-
* A Duration represents the elapsed time between two instants
|
|
1944
|
-
* as an int64 nanosecond count. The representation limits the
|
|
1945
|
-
* largest representable duration to approximately 290 years.
|
|
1946
|
-
*/
|
|
1947
|
-
type Duration = number;
|
|
1948
|
-
type StatementResult = {
|
|
1949
|
-
data?: StatementData;
|
|
1950
|
-
error?: string;
|
|
1951
|
-
explain_data?: Array<ExplainData>;
|
|
1952
|
-
query: string;
|
|
1953
|
-
};
|
|
1954
|
-
type StatementData = {
|
|
1955
|
-
fields?: Array<string>;
|
|
1956
|
-
rows?: Array<Array<string>>;
|
|
1957
|
-
truncated: boolean;
|
|
1958
|
-
};
|
|
1959
|
-
type ExplainData = {
|
|
1960
|
-
'QUERY PLAN': string;
|
|
1961
|
-
};
|
|
1962
1786
|
type Role = {
|
|
1963
1787
|
/**
|
|
1964
1788
|
* The ID of the branch to which the role belongs
|
|
@@ -2318,29 +2142,9 @@ type Organization = {
|
|
|
2318
2142
|
*/
|
|
2319
2143
|
require_mfa?: boolean;
|
|
2320
2144
|
};
|
|
2321
|
-
type EnableOrganizationFeatureRequest = {
|
|
2322
|
-
/**
|
|
2323
|
-
* The feature to enable for the organization
|
|
2324
|
-
*/
|
|
2325
|
-
feature: 'allow_hipaa_projects';
|
|
2326
|
-
};
|
|
2327
2145
|
type OrganizationsResponse = {
|
|
2328
2146
|
organizations: Array<Organization>;
|
|
2329
2147
|
};
|
|
2330
|
-
type OrganizationMembership = {
|
|
2331
|
-
organization: Organization;
|
|
2332
|
-
role: MemberRole;
|
|
2333
|
-
};
|
|
2334
|
-
type OrganizationMembershipsResponse = {
|
|
2335
|
-
memberships: Array<OrganizationMembership>;
|
|
2336
|
-
};
|
|
2337
|
-
type OrganizationsUpdateRequest = {
|
|
2338
|
-
name?: string;
|
|
2339
|
-
/**
|
|
2340
|
-
* If true, all members must have MFA enabled to access this organization
|
|
2341
|
-
*/
|
|
2342
|
-
require_mfa?: boolean;
|
|
2343
|
-
};
|
|
2344
2148
|
type OrganizationInvitationsResponse = {
|
|
2345
2149
|
invitations: Array<Invitation>;
|
|
2346
2150
|
};
|
|
@@ -2351,58 +2155,12 @@ type OrganizationInviteCreateRequest = {
|
|
|
2351
2155
|
type OrganizationInvitesCreateRequest = {
|
|
2352
2156
|
invitations: Array<OrganizationInviteCreateRequest>;
|
|
2353
2157
|
};
|
|
2354
|
-
type OrganizationInviteUpdateRequest = {
|
|
2355
|
-
email?: string;
|
|
2356
|
-
role?: MemberRole;
|
|
2357
|
-
resend?: boolean;
|
|
2358
|
-
};
|
|
2359
|
-
/**
|
|
2360
|
-
* A list of details for guests of an organization
|
|
2361
|
-
*
|
|
2362
|
-
*/
|
|
2363
|
-
type OrganizationGuestsResponse = Array<OrganizationGuest>;
|
|
2364
|
-
/**
|
|
2365
|
-
* Details of an organization guest, who is not directly a member of
|
|
2366
|
-
* an organization but has been shared one of the projects it owns
|
|
2367
|
-
*
|
|
2368
|
-
*/
|
|
2369
|
-
type OrganizationGuest = {
|
|
2370
|
-
permission_id: string;
|
|
2371
|
-
user_email: string;
|
|
2372
|
-
project_id: string;
|
|
2373
|
-
project_name: string;
|
|
2374
|
-
};
|
|
2375
2158
|
type OrganizationMemberUpdateRequest = {
|
|
2376
2159
|
role: MemberRole;
|
|
2377
2160
|
};
|
|
2378
2161
|
type OrganizationMembersResponse = {
|
|
2379
2162
|
members: Array<MemberWithUser>;
|
|
2380
2163
|
};
|
|
2381
|
-
type InvitationCreateRequest = {
|
|
2382
|
-
/**
|
|
2383
|
-
* Email to invite
|
|
2384
|
-
*/
|
|
2385
|
-
email: string;
|
|
2386
|
-
role: MemberRole;
|
|
2387
|
-
};
|
|
2388
|
-
type OrganizationCreateRequest = {
|
|
2389
|
-
organization: {
|
|
2390
|
-
/**
|
|
2391
|
-
* The organization name
|
|
2392
|
-
*/
|
|
2393
|
-
name?: string;
|
|
2394
|
-
/**
|
|
2395
|
-
* Emails with roles to invite to the organization
|
|
2396
|
-
*/
|
|
2397
|
-
invitations?: Array<InvitationCreateRequest>;
|
|
2398
|
-
};
|
|
2399
|
-
subscription_type: BillingSubscriptionType;
|
|
2400
|
-
/**
|
|
2401
|
-
* Whether to transfer credits from the user account to the newly created organization account.
|
|
2402
|
-
*
|
|
2403
|
-
*/
|
|
2404
|
-
transfer_credits?: boolean;
|
|
2405
|
-
};
|
|
2406
2164
|
type ActiveRegionsResponse = {
|
|
2407
2165
|
/**
|
|
2408
2166
|
* The list of active regions
|
|
@@ -2444,26 +2202,6 @@ type CurrentUserAuthAccount = {
|
|
|
2444
2202
|
name: string;
|
|
2445
2203
|
provider: IdentityProviderId;
|
|
2446
2204
|
};
|
|
2447
|
-
type LinkedAuthAccount = {
|
|
2448
|
-
provider: IdentityProviderId;
|
|
2449
|
-
provider_display_name: string;
|
|
2450
|
-
username: string;
|
|
2451
|
-
};
|
|
2452
|
-
type UpdateUserInfoRequest = {
|
|
2453
|
-
email?: string;
|
|
2454
|
-
id: string;
|
|
2455
|
-
/**
|
|
2456
|
-
* DEPRECATED. This field is ignored.
|
|
2457
|
-
*
|
|
2458
|
-
*
|
|
2459
|
-
* @deprecated
|
|
2460
|
-
*/
|
|
2461
|
-
image?: string;
|
|
2462
|
-
first_name?: string;
|
|
2463
|
-
last_name?: string;
|
|
2464
|
-
password?: string;
|
|
2465
|
-
new_password?: string;
|
|
2466
|
-
};
|
|
2467
2205
|
type CurrentUserInfoResponse = {
|
|
2468
2206
|
/**
|
|
2469
2207
|
* Control plane observes active endpoints of a user this amount of wall-clock time.
|
|
@@ -2495,15 +2233,6 @@ type CurrentUserInfoResponse = {
|
|
|
2495
2233
|
compute_seconds_limit?: number;
|
|
2496
2234
|
plan: string;
|
|
2497
2235
|
};
|
|
2498
|
-
type ConvertUserToOrgRequest = {
|
|
2499
|
-
name: string;
|
|
2500
|
-
};
|
|
2501
|
-
type CurrentUserInfoAuthResponse = {
|
|
2502
|
-
password_stored: boolean;
|
|
2503
|
-
auth_accounts: Array<CurrentUserAuthAccount>;
|
|
2504
|
-
linked_accounts: Array<LinkedAuthAccount>;
|
|
2505
|
-
provider: string;
|
|
2506
|
-
};
|
|
2507
2236
|
type AuthDetailsResponse = {
|
|
2508
2237
|
account_id: string;
|
|
2509
2238
|
auth_method: 'keycloak' | 'session_cookie' | 'api_key_user' | 'api_key_org' | 'oauth';
|
|
@@ -2519,9 +2248,6 @@ type TransferProjectsToOrganizationRequest = {
|
|
|
2519
2248
|
*/
|
|
2520
2249
|
project_ids: Array<string>;
|
|
2521
2250
|
};
|
|
2522
|
-
type VerifyUserPasswordRequest = {
|
|
2523
|
-
password: string;
|
|
2524
|
-
};
|
|
2525
2251
|
/**
|
|
2526
2252
|
* Identity provider id from keycloak
|
|
2527
2253
|
*/
|
|
@@ -2614,12 +2340,6 @@ type PgbouncerSettingsData = {
|
|
|
2614
2340
|
* The major Postgres version number. Currently supported versions are `14`, `15`, `16`, `17`, and `18`.
|
|
2615
2341
|
*/
|
|
2616
2342
|
type PgVersion = number;
|
|
2617
|
-
type HealthCheck = {
|
|
2618
|
-
/**
|
|
2619
|
-
* Service status
|
|
2620
|
-
*/
|
|
2621
|
-
status: string;
|
|
2622
|
-
};
|
|
2623
2343
|
type ProjectOwnerData = {
|
|
2624
2344
|
email: string;
|
|
2625
2345
|
name: string;
|
|
@@ -2646,8 +2366,6 @@ type ProjectsWithIntegrationResponse = {
|
|
|
2646
2366
|
integration: string;
|
|
2647
2367
|
}>;
|
|
2648
2368
|
};
|
|
2649
|
-
type UserDeletionConditionName = 'project_count' | 'org_admin_membership_count' | 'subscription_type';
|
|
2650
|
-
type OrgDeletionConditionName = 'project_count';
|
|
2651
2369
|
/**
|
|
2652
2370
|
* Configuration settings for the Neon Data API
|
|
2653
2371
|
*/
|
|
@@ -3134,7 +2852,6 @@ type EndpointOperations = EndpointResponse & OperationsResponse;
|
|
|
3134
2852
|
type DatabaseOperations = DatabaseResponse & OperationsResponse;
|
|
3135
2853
|
type RoleOperations = RoleResponse & OperationsResponse;
|
|
3136
2854
|
type JwksCreationOperation = JwksResponse & OperationsResponse;
|
|
3137
|
-
type SupportTicketSeverity = 'low' | 'normal' | 'high' | 'critical' | 'urgent';
|
|
3138
2855
|
type AnnotationData = {
|
|
3139
2856
|
object: AnnotationObjectData;
|
|
3140
2857
|
value: AnnotationValueData;
|
|
@@ -3224,6 +2941,15 @@ type Snapshot = {
|
|
|
3224
2941
|
type SnapshotUpdateRequest = {
|
|
3225
2942
|
snapshot: {
|
|
3226
2943
|
name?: string;
|
|
2944
|
+
/**
|
|
2945
|
+
* The date and time when the snapshot will expire.
|
|
2946
|
+
*
|
|
2947
|
+
* Omit to leave the current expiration unchanged. Send `null` to
|
|
2948
|
+
* clear the expiration so the snapshot never expires. A future
|
|
2949
|
+
* timestamp sets the absolute expiration.
|
|
2950
|
+
*
|
|
2951
|
+
*/
|
|
2952
|
+
expires_at?: string | null;
|
|
3227
2953
|
};
|
|
3228
2954
|
};
|
|
3229
2955
|
type BackupScheduleItem = {
|
|
@@ -3262,10 +2988,6 @@ type BackupScheduleItem = {
|
|
|
3262
2988
|
type BackupSchedule = {
|
|
3263
2989
|
schedule: Array<BackupScheduleItem>;
|
|
3264
2990
|
};
|
|
3265
|
-
type SupportTicket = {
|
|
3266
|
-
salesforce_id?: string;
|
|
3267
|
-
failed_uploads?: Array<string>;
|
|
3268
|
-
};
|
|
3269
2991
|
type BranchSchemaJson = {
|
|
3270
2992
|
tables: Array<{
|
|
3271
2993
|
schema: string;
|
|
@@ -3316,130 +3038,453 @@ type BranchSchemaJson = {
|
|
|
3316
3038
|
}>;
|
|
3317
3039
|
}>;
|
|
3318
3040
|
};
|
|
3319
|
-
type SystemStatusSummaryResponse = {
|
|
3320
|
-
ongoing_incidents: number;
|
|
3321
|
-
in_progress_maintenances: number;
|
|
3322
|
-
scheduled_maintenances: number;
|
|
3323
|
-
};
|
|
3324
|
-
/**
|
|
3325
|
-
* A cursor to use in pagination. A cursor defines your place in the data list. Include `response.pagination.next` in subsequent API calls to fetch next page of the list.
|
|
3326
|
-
*/
|
|
3327
|
-
type CursorParam = string;
|
|
3328
|
-
/**
|
|
3329
|
-
* The maximum number of records to be returned in the response
|
|
3330
|
-
*/
|
|
3331
|
-
type LimitParam = number;
|
|
3332
3041
|
/**
|
|
3333
|
-
*
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
* Specify an explicit timeout in milliseconds to limit response delay.
|
|
3338
|
-
* After timing out, the incomplete list of project data fetched so far will be returned.
|
|
3339
|
-
* Projects still being fetched when the timeout occurred are listed in the "unavailable" attribute of the response.
|
|
3340
|
-
* If not specified, an implicit implementation defined timeout is chosen with the same behaviour as above
|
|
3042
|
+
* Controls anonymous access to objects in the bucket.
|
|
3043
|
+
* - `private`: all reads and writes require authenticated requests (default).
|
|
3044
|
+
* - `public_read`: anonymous `GetObject`/`HeadObject` requests succeed; listing,
|
|
3045
|
+
* writes, and deletes still require authenticated requests.
|
|
3341
3046
|
*
|
|
3342
3047
|
*/
|
|
3343
|
-
type
|
|
3344
|
-
type
|
|
3345
|
-
body?: never;
|
|
3346
|
-
path: {
|
|
3347
|
-
/**
|
|
3348
|
-
* Neon project ID
|
|
3349
|
-
*/
|
|
3350
|
-
project_id: string;
|
|
3351
|
-
};
|
|
3352
|
-
query?: {
|
|
3353
|
-
/**
|
|
3354
|
-
* Branch ID to analyze. If not specified, the project's default branch is used.
|
|
3355
|
-
*/
|
|
3356
|
-
branch_id?: string;
|
|
3357
|
-
/**
|
|
3358
|
-
* Database name to analyze. Required if branch has multiple databases.
|
|
3359
|
-
*/
|
|
3360
|
-
database_name?: string;
|
|
3361
|
-
/**
|
|
3362
|
-
* Filter issues by category
|
|
3363
|
-
*/
|
|
3364
|
-
category?: AdvisorCategory;
|
|
3365
|
-
/**
|
|
3366
|
-
* Minimum severity level to include. For example, WARN returns WARN and ERROR issues, excluding INFO.
|
|
3367
|
-
*/
|
|
3368
|
-
min_severity?: 'INFO' | 'WARN' | 'ERROR';
|
|
3369
|
-
};
|
|
3370
|
-
url: '/projects/{project_id}/advisors';
|
|
3371
|
-
};
|
|
3372
|
-
type GetProjectAdvisorSecurityIssuesErrors = {
|
|
3048
|
+
type BucketAccessLevel = 'private' | 'public_read';
|
|
3049
|
+
type Bucket = {
|
|
3373
3050
|
/**
|
|
3374
|
-
*
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
*
|
|
3380
|
-
*
|
|
3381
|
-
*
|
|
3382
|
-
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
3383
|
-
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
3384
|
-
*
|
|
3385
|
-
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
3386
|
-
*
|
|
3387
|
-
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
3051
|
+
* The bucket name (unique within a branch).
|
|
3052
|
+
*/
|
|
3053
|
+
name: string;
|
|
3054
|
+
access_level: BucketAccessLevel;
|
|
3055
|
+
/**
|
|
3056
|
+
* When the bucket was created. For a bucket inherited from an
|
|
3057
|
+
* ancestor branch this is the ancestor's creation time (the branch
|
|
3058
|
+
* fork never re-creates the bucket).
|
|
3388
3059
|
*
|
|
3389
3060
|
*/
|
|
3390
|
-
|
|
3061
|
+
created_at: string;
|
|
3391
3062
|
};
|
|
3392
|
-
type
|
|
3393
|
-
type GetProjectAdvisorSecurityIssuesResponses = {
|
|
3063
|
+
type BucketCreateRequest = {
|
|
3394
3064
|
/**
|
|
3395
|
-
*
|
|
3065
|
+
* The bucket name.
|
|
3396
3066
|
*/
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3067
|
+
name: string;
|
|
3068
|
+
/**
|
|
3069
|
+
* Access level for the bucket. Defaults to `private`. Set to `public_read`
|
|
3070
|
+
* to allow anonymous `GetObject`/`HeadObject` on objects in this bucket.
|
|
3071
|
+
*
|
|
3072
|
+
*/
|
|
3073
|
+
access_level?: 'private' | 'public_read';
|
|
3400
3074
|
};
|
|
3401
|
-
type
|
|
3402
|
-
|
|
3403
|
-
body?: never;
|
|
3404
|
-
path?: never;
|
|
3405
|
-
query?: never;
|
|
3406
|
-
url: '/api_keys';
|
|
3075
|
+
type BucketResponse = {
|
|
3076
|
+
bucket: Bucket;
|
|
3407
3077
|
};
|
|
3408
|
-
type
|
|
3078
|
+
type BucketsListResponse = {
|
|
3079
|
+
buckets: Array<Bucket>;
|
|
3080
|
+
};
|
|
3081
|
+
type BranchStorage = {
|
|
3409
3082
|
/**
|
|
3410
|
-
*
|
|
3083
|
+
* Always `true` in 200 responses. Present for forward compatibility: a
|
|
3084
|
+
* future version may add intermediate states; callers should treat `true`
|
|
3085
|
+
* as "storage is usable for this branch right now."
|
|
3411
3086
|
*
|
|
3412
|
-
|
|
3413
|
-
|
|
3087
|
+
*/
|
|
3088
|
+
enabled: boolean;
|
|
3089
|
+
/**
|
|
3090
|
+
* The S3-compatible endpoint URL for this branch.
|
|
3091
|
+
*/
|
|
3092
|
+
s3_endpoint: string;
|
|
3093
|
+
/**
|
|
3094
|
+
* The AWS region for this branch's storage. The platform normalizes
|
|
3095
|
+
* the us-east-1 convention server-side: a non-empty region string is
|
|
3096
|
+
* always returned in 200 responses (e.g. `"us-east-1"` for the S3
|
|
3097
|
+
* default region).
|
|
3414
3098
|
*
|
|
3415
|
-
|
|
3416
|
-
|
|
3099
|
+
*/
|
|
3100
|
+
region: string;
|
|
3101
|
+
/**
|
|
3102
|
+
* Whether the S3 client must use path-style addressing
|
|
3103
|
+
* (bucket-in-path rather than virtual-hosted subdomain).
|
|
3104
|
+
* Always true: the wildcard TLS cert covers one level of subdomain
|
|
3105
|
+
* (*.storage.<suffix>), so the branch ID occupies that label and the
|
|
3106
|
+
* bucket name must travel in the request path, not as a further
|
|
3107
|
+
* subdomain. Callers must set the S3 SDK's ForcePathStyle (or
|
|
3108
|
+
* equivalent) to true.
|
|
3417
3109
|
*
|
|
3418
|
-
|
|
3419
|
-
|
|
3110
|
+
*/
|
|
3111
|
+
force_path_style: boolean;
|
|
3112
|
+
};
|
|
3113
|
+
type BranchStorageNotEnabled = {
|
|
3114
|
+
code: string;
|
|
3115
|
+
message: string;
|
|
3116
|
+
/**
|
|
3117
|
+
* Machine-readable reason why storage is unavailable:
|
|
3118
|
+
* - `org_not_entitled`: the org's `PlatformBranchableStorage` feature flag is off.
|
|
3119
|
+
* - `region_unavailable`: the project's region has no storage admin service wired.
|
|
3120
|
+
* - `branch_directory_missing`: the branch is not registered in the storage service.
|
|
3121
|
+
* - `branch_not_found`: the project or branch does not exist, or the caller does not
|
|
3122
|
+
* have access to it.
|
|
3420
3123
|
*
|
|
3421
|
-
|
|
3124
|
+
*/
|
|
3125
|
+
reason: 'org_not_entitled' | 'region_unavailable' | 'branch_directory_missing' | 'branch_not_found';
|
|
3126
|
+
};
|
|
3127
|
+
type BranchAiGateway = {
|
|
3128
|
+
/**
|
|
3129
|
+
* Always `true` in 200 responses. Present for forward compatibility,
|
|
3130
|
+
* mirroring BranchStorage.enabled.
|
|
3422
3131
|
*
|
|
3423
|
-
|
|
3132
|
+
*/
|
|
3133
|
+
enabled: boolean;
|
|
3134
|
+
/**
|
|
3135
|
+
* The AI-gateway endpoint root for this branch — an OpenAI-compatible
|
|
3136
|
+
* base URL. No dialect path is included; clients append the route
|
|
3137
|
+
* (e.g. `/ai-gateway/openai/v1/responses`) themselves.
|
|
3424
3138
|
*
|
|
3425
3139
|
*/
|
|
3426
|
-
|
|
3140
|
+
base_url: string;
|
|
3427
3141
|
};
|
|
3428
|
-
type
|
|
3429
|
-
|
|
3142
|
+
type BranchAiGatewayNotEnabled = {
|
|
3143
|
+
code: string;
|
|
3144
|
+
message: string;
|
|
3430
3145
|
/**
|
|
3431
|
-
*
|
|
3146
|
+
* Machine-readable reason why the AI gateway is unavailable:
|
|
3147
|
+
* - `ai_gateway_unavailable`: the project's region/cell has no AI gateway configured.
|
|
3148
|
+
* - `branch_not_found`: the project or branch does not exist, or the caller does not
|
|
3149
|
+
* have access to it.
|
|
3150
|
+
*
|
|
3432
3151
|
*/
|
|
3433
|
-
|
|
3152
|
+
reason: 'ai_gateway_unavailable' | 'branch_not_found';
|
|
3434
3153
|
};
|
|
3435
|
-
type
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3154
|
+
type BucketObject = {
|
|
3155
|
+
/**
|
|
3156
|
+
* The full object key.
|
|
3157
|
+
*/
|
|
3158
|
+
key: string;
|
|
3159
|
+
/**
|
|
3160
|
+
* The object size in bytes.
|
|
3161
|
+
*/
|
|
3162
|
+
size: number;
|
|
3163
|
+
/**
|
|
3164
|
+
* The time the object was last modified.
|
|
3165
|
+
*/
|
|
3166
|
+
last_modified: string;
|
|
3167
|
+
/**
|
|
3168
|
+
* The object's entity tag (content hash).
|
|
3169
|
+
*/
|
|
3170
|
+
etag: string;
|
|
3441
3171
|
};
|
|
3442
|
-
type
|
|
3172
|
+
type BucketObjectsListResponse = {
|
|
3173
|
+
/**
|
|
3174
|
+
* Common prefixes (folder names) collapsed under the requested
|
|
3175
|
+
* `delimiter`. Empty when no `delimiter` was supplied.
|
|
3176
|
+
*
|
|
3177
|
+
*/
|
|
3178
|
+
folders: Array<string>;
|
|
3179
|
+
/**
|
|
3180
|
+
* Objects whose keys did not collapse into a folder.
|
|
3181
|
+
*/
|
|
3182
|
+
objects: Array<BucketObject>;
|
|
3183
|
+
/**
|
|
3184
|
+
* The prefix that was applied to this listing (echoed back).
|
|
3185
|
+
*/
|
|
3186
|
+
prefix: string;
|
|
3187
|
+
/**
|
|
3188
|
+
* Pagination cursor to pass as `cursor` on the next request. Empty
|
|
3189
|
+
* when the listing is not truncated.
|
|
3190
|
+
*
|
|
3191
|
+
*/
|
|
3192
|
+
next_cursor?: string;
|
|
3193
|
+
/**
|
|
3194
|
+
* True when more results exist beyond this page.
|
|
3195
|
+
*/
|
|
3196
|
+
is_truncated: boolean;
|
|
3197
|
+
};
|
|
3198
|
+
type BucketObjectsDeletePrefixResponse = {
|
|
3199
|
+
/**
|
|
3200
|
+
* The number of objects soft-deleted under the prefix. 0 when no live
|
|
3201
|
+
* object matched the prefix on this branch.
|
|
3202
|
+
*
|
|
3203
|
+
*/
|
|
3204
|
+
deleted: number;
|
|
3205
|
+
};
|
|
3206
|
+
/**
|
|
3207
|
+
* Options for the presigned URL. The `operation` selects upload (`PUT`)
|
|
3208
|
+
* or download (`GET`); the remaining fields are optional.
|
|
3209
|
+
*
|
|
3210
|
+
*/
|
|
3211
|
+
type PresignRequest = {
|
|
3212
|
+
/**
|
|
3213
|
+
* The transfer direction. `upload` returns a presigned `PUT` URL;
|
|
3214
|
+
* `download` returns a presigned `GET` URL.
|
|
3215
|
+
*
|
|
3216
|
+
*/
|
|
3217
|
+
operation: 'upload' | 'download';
|
|
3218
|
+
/**
|
|
3219
|
+
* The `Content-Type` to bind into the signed request. Only meaningful
|
|
3220
|
+
* for `upload`: when set, the caller MUST send the same `Content-Type`
|
|
3221
|
+
* header on the `PUT`, and the value is echoed back in the response
|
|
3222
|
+
* `headers`. Ignored for `download`.
|
|
3223
|
+
*
|
|
3224
|
+
*/
|
|
3225
|
+
content_type?: string;
|
|
3226
|
+
/**
|
|
3227
|
+
* How long the presigned URL stays valid, in seconds. Defaults to 900
|
|
3228
|
+
* (15 minutes); capped at 604800 (7 days).
|
|
3229
|
+
*
|
|
3230
|
+
*/
|
|
3231
|
+
expires_in_seconds?: number;
|
|
3232
|
+
};
|
|
3233
|
+
type PresignResponse = {
|
|
3234
|
+
/**
|
|
3235
|
+
* The presigned URL. Transfer the object bytes by issuing
|
|
3236
|
+
* `method url` with the returned `headers`.
|
|
3237
|
+
*
|
|
3238
|
+
*/
|
|
3239
|
+
url: string;
|
|
3240
|
+
/**
|
|
3241
|
+
* The HTTP method to use against `url`: `PUT` for an upload,
|
|
3242
|
+
* `GET` for a download.
|
|
3243
|
+
*
|
|
3244
|
+
*/
|
|
3245
|
+
method: string;
|
|
3246
|
+
/**
|
|
3247
|
+
* Headers the caller MUST send verbatim on the request (e.g.
|
|
3248
|
+
* `Content-Type` when it was signed on an upload). May be empty.
|
|
3249
|
+
*
|
|
3250
|
+
*/
|
|
3251
|
+
headers: {
|
|
3252
|
+
[key: string]: string;
|
|
3253
|
+
};
|
|
3254
|
+
/**
|
|
3255
|
+
* When the presigned URL stops being valid.
|
|
3256
|
+
*/
|
|
3257
|
+
expires_at: string;
|
|
3258
|
+
};
|
|
3259
|
+
/**
|
|
3260
|
+
* A single capability a credential may exercise. A credential is granted
|
|
3261
|
+
* a set of these; it may only perform actions explicitly listed in its
|
|
3262
|
+
* scopes.
|
|
3263
|
+
*
|
|
3264
|
+
*/
|
|
3265
|
+
type CredentialScope = 'storage:read' | 'storage:write' | 'ai_gateway:invoke' | 'functions:invoke';
|
|
3266
|
+
type CreateCredentialRequest = {
|
|
3267
|
+
/**
|
|
3268
|
+
* Free-form customer label for the credential.
|
|
3269
|
+
*/
|
|
3270
|
+
name?: string;
|
|
3271
|
+
scopes: Array<CredentialScope>;
|
|
3272
|
+
/**
|
|
3273
|
+
* Principal type for the credential. Only `user` is customer-managed
|
|
3274
|
+
* and accepted here. `function` and `system` credentials are
|
|
3275
|
+
* platform-internal (e.g. function-serve auto-mint, presign signer)
|
|
3276
|
+
* and are never issued through the customer-facing API.
|
|
3277
|
+
*
|
|
3278
|
+
*/
|
|
3279
|
+
principal_type: 'user';
|
|
3280
|
+
};
|
|
3281
|
+
type CreateCredentialResponse = {
|
|
3282
|
+
/**
|
|
3283
|
+
* Opaque credential id (e.g. nak_live_<32hex>).
|
|
3284
|
+
*/
|
|
3285
|
+
token_id: string;
|
|
3286
|
+
/**
|
|
3287
|
+
* First 12 hex chars of token_id; safe to log.
|
|
3288
|
+
*/
|
|
3289
|
+
token_id_short: string;
|
|
3290
|
+
/**
|
|
3291
|
+
* Customer-supplied label, echoed back from the request. Absent when not provided.
|
|
3292
|
+
*/
|
|
3293
|
+
name?: string;
|
|
3294
|
+
/**
|
|
3295
|
+
* Bearer token; returned exactly once.
|
|
3296
|
+
*/
|
|
3297
|
+
api_token: string;
|
|
3298
|
+
/**
|
|
3299
|
+
* nsk_live_<64 hex>; the AWS_SECRET_ACCESS_KEY, returned exactly once.
|
|
3300
|
+
*/
|
|
3301
|
+
s3_secret_access_key: string;
|
|
3302
|
+
scopes: Array<CredentialScope>;
|
|
3303
|
+
branch_id: string;
|
|
3304
|
+
created_at: string;
|
|
3305
|
+
/**
|
|
3306
|
+
* When the credential expires; absent means never expires.
|
|
3307
|
+
*
|
|
3308
|
+
*/
|
|
3309
|
+
expires_at?: string;
|
|
3310
|
+
};
|
|
3311
|
+
type CredentialMeta = {
|
|
3312
|
+
/**
|
|
3313
|
+
* Opaque credential id (e.g. nak_live_<32hex>).
|
|
3314
|
+
*/
|
|
3315
|
+
token_id: string;
|
|
3316
|
+
token_id_short: string;
|
|
3317
|
+
/**
|
|
3318
|
+
* Customer-supplied label; absent when not provided at issuance.
|
|
3319
|
+
*/
|
|
3320
|
+
name?: string;
|
|
3321
|
+
scopes: Array<CredentialScope>;
|
|
3322
|
+
branch_id?: string;
|
|
3323
|
+
principal_type: string;
|
|
3324
|
+
function_id?: string;
|
|
3325
|
+
created_at: string;
|
|
3326
|
+
last_used_at?: string;
|
|
3327
|
+
revoked_at?: string;
|
|
3328
|
+
/**
|
|
3329
|
+
* When the credential expires; absent means never expires. The
|
|
3330
|
+
* verifier refuses to authenticate after `expires_at <= now()`.
|
|
3331
|
+
*
|
|
3332
|
+
*/
|
|
3333
|
+
expires_at?: string;
|
|
3334
|
+
};
|
|
3335
|
+
type ListCredentialsResponse = {
|
|
3336
|
+
credentials: Array<CredentialMeta>;
|
|
3337
|
+
};
|
|
3338
|
+
type NeonFunction = {
|
|
3339
|
+
/**
|
|
3340
|
+
* Opaque, stable function identifier.
|
|
3341
|
+
*/
|
|
3342
|
+
id: string;
|
|
3343
|
+
/**
|
|
3344
|
+
* Branch-unique, lowercase DNS-label. Forms the invocation URL's host together with the branch id. Immutable.
|
|
3345
|
+
*/
|
|
3346
|
+
slug: string;
|
|
3347
|
+
/**
|
|
3348
|
+
* Free-form display name.
|
|
3349
|
+
*/
|
|
3350
|
+
name: string;
|
|
3351
|
+
/**
|
|
3352
|
+
* URL at which the function is invoked. The host carries `<branch_id>-<slug>` as its first DNS label under a Neon-managed functions domain, and the URL ends with a trailing slash so paths concatenate onto it. Empty string when the function has no servable invoke host (e.g. a deployment without an invocation front-door).
|
|
3353
|
+
*/
|
|
3354
|
+
invocation_url: string;
|
|
3355
|
+
/**
|
|
3356
|
+
* The most recent deployment, regardless of build status. It may
|
|
3357
|
+
* still be building or it may have failed. Omitted until the first
|
|
3358
|
+
* deployment is created.
|
|
3359
|
+
*
|
|
3360
|
+
*/
|
|
3361
|
+
current_deployment?: NeonFunctionDeployment;
|
|
3362
|
+
/**
|
|
3363
|
+
* The most recent deployment whose build completed successfully.
|
|
3364
|
+
* This is the deployment that serves invocations. Omitted until a
|
|
3365
|
+
* deployment succeeds.
|
|
3366
|
+
*
|
|
3367
|
+
*/
|
|
3368
|
+
active_deployment?: NeonFunctionDeployment;
|
|
3369
|
+
created_at: string;
|
|
3370
|
+
};
|
|
3371
|
+
type NeonFunctionDeployment = {
|
|
3372
|
+
/**
|
|
3373
|
+
* The deployment id, which is the platform version number (monotonic per function).
|
|
3374
|
+
*/
|
|
3375
|
+
id: number;
|
|
3376
|
+
/**
|
|
3377
|
+
* Build lifecycle status of the deployment.
|
|
3378
|
+
*/
|
|
3379
|
+
status: 'pending' | 'building' | 'completed' | 'failed';
|
|
3380
|
+
memory_mib: number;
|
|
3381
|
+
runtime: string;
|
|
3382
|
+
created_at: string;
|
|
3383
|
+
/**
|
|
3384
|
+
* The NAMES of the deployment's environment variables, sorted.
|
|
3385
|
+
* Values are encrypted at rest and are never returned — they are
|
|
3386
|
+
* write-only. To change a value, deploy the variable with the new
|
|
3387
|
+
* value; to remove a variable, deploy it with an empty value.
|
|
3388
|
+
*
|
|
3389
|
+
*/
|
|
3390
|
+
environment?: Array<string>;
|
|
3391
|
+
/**
|
|
3392
|
+
* Human-readable reason the deployment build failed. Present only
|
|
3393
|
+
* when `status` is `failed`.
|
|
3394
|
+
*
|
|
3395
|
+
*/
|
|
3396
|
+
error?: string;
|
|
3397
|
+
};
|
|
3398
|
+
type NeonFunctionResponse = {
|
|
3399
|
+
function: NeonFunction;
|
|
3400
|
+
};
|
|
3401
|
+
type NeonFunctionsListResponse = {
|
|
3402
|
+
functions: Array<NeonFunction>;
|
|
3403
|
+
};
|
|
3404
|
+
type NeonFunctionUpdateRequest = {
|
|
3405
|
+
/**
|
|
3406
|
+
* New display name for the function. `null` clears the display
|
|
3407
|
+
* name; the function's `name` then falls back to its slug. Leading
|
|
3408
|
+
* and trailing whitespace is trimmed; a whitespace-only name is
|
|
3409
|
+
* rejected.
|
|
3410
|
+
*
|
|
3411
|
+
*/
|
|
3412
|
+
name: string | null;
|
|
3413
|
+
};
|
|
3414
|
+
type NeonFunctionDeploymentResponse = {
|
|
3415
|
+
deployment: NeonFunctionDeployment;
|
|
3416
|
+
};
|
|
3417
|
+
type FunctionDeployRequest = {
|
|
3418
|
+
/**
|
|
3419
|
+
* Optional ZIP archive of the function source code. Omit to reuse the
|
|
3420
|
+
* latest version's bundle (a config-only change). Required for the
|
|
3421
|
+
* first deployment of a function.
|
|
3422
|
+
*
|
|
3423
|
+
*/
|
|
3424
|
+
zip?: Blob | File;
|
|
3425
|
+
runtime?: 'nodejs24';
|
|
3426
|
+
/**
|
|
3427
|
+
* Optional JSON object (a string-to-string map) of environment
|
|
3428
|
+
* variables for the deployment, e.g. {"KEY":"VALUE"}. Carried as a
|
|
3429
|
+
* JSON-encoded string because multipart form data does not support
|
|
3430
|
+
* typed object parts.
|
|
3431
|
+
*
|
|
3432
|
+
* Values are write-only: they are encrypted at rest, and responses
|
|
3433
|
+
* carry only the variable names (the `environment` array), never the
|
|
3434
|
+
* values.
|
|
3435
|
+
*
|
|
3436
|
+
*/
|
|
3437
|
+
environment?: string;
|
|
3438
|
+
};
|
|
3439
|
+
/**
|
|
3440
|
+
* A cursor to use in pagination. A cursor defines your place in the data list. Include `response.pagination.next` in subsequent API calls to fetch next page of the list.
|
|
3441
|
+
*/
|
|
3442
|
+
type CursorParam = string;
|
|
3443
|
+
/**
|
|
3444
|
+
* The maximum number of records to be returned in the response
|
|
3445
|
+
*/
|
|
3446
|
+
type LimitParam = number;
|
|
3447
|
+
/**
|
|
3448
|
+
* Defines the sorting order of entities.
|
|
3449
|
+
*/
|
|
3450
|
+
type SortOrderParam = 'asc' | 'desc';
|
|
3451
|
+
/**
|
|
3452
|
+
* Specify an explicit timeout in milliseconds to limit response delay.
|
|
3453
|
+
* After timing out, the incomplete list of project data fetched so far will be returned.
|
|
3454
|
+
* Projects still being fetched when the timeout occurred are listed in the "unavailable" attribute of the response.
|
|
3455
|
+
* If not specified, an implicit implementation defined timeout is chosen with the same behaviour as above
|
|
3456
|
+
*
|
|
3457
|
+
*/
|
|
3458
|
+
type TimeoutParam = number;
|
|
3459
|
+
type GetProjectAdvisorSecurityIssuesData = {
|
|
3460
|
+
body?: never;
|
|
3461
|
+
path: {
|
|
3462
|
+
/**
|
|
3463
|
+
* Neon project ID
|
|
3464
|
+
*/
|
|
3465
|
+
project_id: string;
|
|
3466
|
+
};
|
|
3467
|
+
query?: {
|
|
3468
|
+
/**
|
|
3469
|
+
* Branch ID to analyze. If not specified, the project's default branch is used.
|
|
3470
|
+
*/
|
|
3471
|
+
branch_id?: string;
|
|
3472
|
+
/**
|
|
3473
|
+
* Database name to analyze. Required if branch has multiple databases.
|
|
3474
|
+
*/
|
|
3475
|
+
database_name?: string;
|
|
3476
|
+
/**
|
|
3477
|
+
* Filter issues by category
|
|
3478
|
+
*/
|
|
3479
|
+
category?: AdvisorCategory;
|
|
3480
|
+
/**
|
|
3481
|
+
* Minimum severity level to include. For example, WARN returns WARN and ERROR issues, excluding INFO.
|
|
3482
|
+
*/
|
|
3483
|
+
min_severity?: 'INFO' | 'WARN' | 'ERROR';
|
|
3484
|
+
};
|
|
3485
|
+
url: '/projects/{project_id}/advisors';
|
|
3486
|
+
};
|
|
3487
|
+
type GetProjectAdvisorSecurityIssuesErrors = {
|
|
3443
3488
|
/**
|
|
3444
3489
|
* General Error.
|
|
3445
3490
|
*
|
|
@@ -3459,26 +3504,23 @@ type CreateApiKeyErrors = {
|
|
|
3459
3504
|
*/
|
|
3460
3505
|
'4XX': GeneralError;
|
|
3461
3506
|
};
|
|
3462
|
-
type
|
|
3463
|
-
type
|
|
3507
|
+
type GetProjectAdvisorSecurityIssuesError = GetProjectAdvisorSecurityIssuesErrors[keyof GetProjectAdvisorSecurityIssuesErrors];
|
|
3508
|
+
type GetProjectAdvisorSecurityIssuesResponses = {
|
|
3464
3509
|
/**
|
|
3465
|
-
*
|
|
3510
|
+
* Successfully retrieved security advisor issues
|
|
3466
3511
|
*/
|
|
3467
|
-
200:
|
|
3512
|
+
200: {
|
|
3513
|
+
issues: Array<AdvisorIssue>;
|
|
3514
|
+
};
|
|
3468
3515
|
};
|
|
3469
|
-
type
|
|
3470
|
-
type
|
|
3516
|
+
type GetProjectAdvisorSecurityIssuesResponse = GetProjectAdvisorSecurityIssuesResponses[keyof GetProjectAdvisorSecurityIssuesResponses];
|
|
3517
|
+
type ListApiKeysData = {
|
|
3471
3518
|
body?: never;
|
|
3472
|
-
path
|
|
3473
|
-
/**
|
|
3474
|
-
* The API key ID
|
|
3475
|
-
*/
|
|
3476
|
-
key_id: number;
|
|
3477
|
-
};
|
|
3519
|
+
path?: never;
|
|
3478
3520
|
query?: never;
|
|
3479
|
-
url: '/api_keys
|
|
3521
|
+
url: '/api_keys';
|
|
3480
3522
|
};
|
|
3481
|
-
type
|
|
3523
|
+
type ListApiKeysErrors = {
|
|
3482
3524
|
/**
|
|
3483
3525
|
* General Error.
|
|
3484
3526
|
*
|
|
@@ -3498,30 +3540,21 @@ type RevokeApiKeyErrors = {
|
|
|
3498
3540
|
*/
|
|
3499
3541
|
'4XX': GeneralError;
|
|
3500
3542
|
};
|
|
3501
|
-
type
|
|
3502
|
-
type
|
|
3543
|
+
type ListApiKeysError = ListApiKeysErrors[keyof ListApiKeysErrors];
|
|
3544
|
+
type ListApiKeysResponses = {
|
|
3503
3545
|
/**
|
|
3504
|
-
*
|
|
3546
|
+
* Returned the API keys for the Neon account
|
|
3505
3547
|
*/
|
|
3506
|
-
200:
|
|
3548
|
+
200: Array<ApiKeysListResponseItem>;
|
|
3507
3549
|
};
|
|
3508
|
-
type
|
|
3509
|
-
type
|
|
3510
|
-
body
|
|
3511
|
-
path
|
|
3512
|
-
/**
|
|
3513
|
-
* The Neon project ID
|
|
3514
|
-
*/
|
|
3515
|
-
project_id: string;
|
|
3516
|
-
/**
|
|
3517
|
-
* The operation ID
|
|
3518
|
-
*/
|
|
3519
|
-
operation_id: string;
|
|
3520
|
-
};
|
|
3550
|
+
type ListApiKeysResponse = ListApiKeysResponses[keyof ListApiKeysResponses];
|
|
3551
|
+
type CreateApiKeyData = {
|
|
3552
|
+
body: ApiKeyCreateRequest;
|
|
3553
|
+
path?: never;
|
|
3521
3554
|
query?: never;
|
|
3522
|
-
url: '/
|
|
3555
|
+
url: '/api_keys';
|
|
3523
3556
|
};
|
|
3524
|
-
type
|
|
3557
|
+
type CreateApiKeyErrors = {
|
|
3525
3558
|
/**
|
|
3526
3559
|
* General Error.
|
|
3527
3560
|
*
|
|
@@ -3541,10 +3574,92 @@ type GetProjectOperationErrors = {
|
|
|
3541
3574
|
*/
|
|
3542
3575
|
'4XX': GeneralError;
|
|
3543
3576
|
};
|
|
3544
|
-
type
|
|
3545
|
-
type
|
|
3577
|
+
type CreateApiKeyError = CreateApiKeyErrors[keyof CreateApiKeyErrors];
|
|
3578
|
+
type CreateApiKeyResponses = {
|
|
3546
3579
|
/**
|
|
3547
|
-
*
|
|
3580
|
+
* Created an API key
|
|
3581
|
+
*/
|
|
3582
|
+
200: ApiKeyCreateResponse;
|
|
3583
|
+
};
|
|
3584
|
+
type CreateApiKeyResponse = CreateApiKeyResponses[keyof CreateApiKeyResponses];
|
|
3585
|
+
type RevokeApiKeyData = {
|
|
3586
|
+
body?: never;
|
|
3587
|
+
path: {
|
|
3588
|
+
/**
|
|
3589
|
+
* The API key ID
|
|
3590
|
+
*/
|
|
3591
|
+
key_id: number;
|
|
3592
|
+
};
|
|
3593
|
+
query?: never;
|
|
3594
|
+
url: '/api_keys/{key_id}';
|
|
3595
|
+
};
|
|
3596
|
+
type RevokeApiKeyErrors = {
|
|
3597
|
+
/**
|
|
3598
|
+
* General Error.
|
|
3599
|
+
*
|
|
3600
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
3601
|
+
* and whether a response was received.
|
|
3602
|
+
*
|
|
3603
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
3604
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
3605
|
+
*
|
|
3606
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
3607
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
3608
|
+
*
|
|
3609
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
3610
|
+
*
|
|
3611
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
3612
|
+
*
|
|
3613
|
+
*/
|
|
3614
|
+
'4XX': GeneralError;
|
|
3615
|
+
};
|
|
3616
|
+
type RevokeApiKeyError = RevokeApiKeyErrors[keyof RevokeApiKeyErrors];
|
|
3617
|
+
type RevokeApiKeyResponses = {
|
|
3618
|
+
/**
|
|
3619
|
+
* Revoked the specified API key
|
|
3620
|
+
*/
|
|
3621
|
+
200: ApiKeyRevokeResponse;
|
|
3622
|
+
};
|
|
3623
|
+
type RevokeApiKeyResponse = RevokeApiKeyResponses[keyof RevokeApiKeyResponses];
|
|
3624
|
+
type GetProjectOperationData = {
|
|
3625
|
+
body?: never;
|
|
3626
|
+
path: {
|
|
3627
|
+
/**
|
|
3628
|
+
* The Neon project ID
|
|
3629
|
+
*/
|
|
3630
|
+
project_id: string;
|
|
3631
|
+
/**
|
|
3632
|
+
* The operation ID
|
|
3633
|
+
*/
|
|
3634
|
+
operation_id: string;
|
|
3635
|
+
};
|
|
3636
|
+
query?: never;
|
|
3637
|
+
url: '/projects/{project_id}/operations/{operation_id}';
|
|
3638
|
+
};
|
|
3639
|
+
type GetProjectOperationErrors = {
|
|
3640
|
+
/**
|
|
3641
|
+
* General Error.
|
|
3642
|
+
*
|
|
3643
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
3644
|
+
* and whether a response was received.
|
|
3645
|
+
*
|
|
3646
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
3647
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
3648
|
+
*
|
|
3649
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
3650
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
3651
|
+
*
|
|
3652
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
3653
|
+
*
|
|
3654
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
3655
|
+
*
|
|
3656
|
+
*/
|
|
3657
|
+
'4XX': GeneralError;
|
|
3658
|
+
};
|
|
3659
|
+
type GetProjectOperationError = GetProjectOperationErrors[keyof GetProjectOperationErrors];
|
|
3660
|
+
type GetProjectOperationResponses = {
|
|
3661
|
+
/**
|
|
3662
|
+
* Returned details for the specified operation
|
|
3548
3663
|
*/
|
|
3549
3664
|
200: OperationResponse;
|
|
3550
3665
|
};
|
|
@@ -7094,6 +7209,49 @@ type SetDefaultProjectBranchResponses = {
|
|
|
7094
7209
|
200: BranchOperations;
|
|
7095
7210
|
};
|
|
7096
7211
|
type SetDefaultProjectBranchResponse = SetDefaultProjectBranchResponses[keyof SetDefaultProjectBranchResponses];
|
|
7212
|
+
type RecoverProjectBranchData = {
|
|
7213
|
+
body?: never;
|
|
7214
|
+
path: {
|
|
7215
|
+
/**
|
|
7216
|
+
* The Neon project ID
|
|
7217
|
+
*/
|
|
7218
|
+
project_id: string;
|
|
7219
|
+
/**
|
|
7220
|
+
* The branch ID
|
|
7221
|
+
*/
|
|
7222
|
+
branch_id: string;
|
|
7223
|
+
};
|
|
7224
|
+
query?: never;
|
|
7225
|
+
url: '/projects/{project_id}/branches/{branch_id}/recover';
|
|
7226
|
+
};
|
|
7227
|
+
type RecoverProjectBranchErrors = {
|
|
7228
|
+
/**
|
|
7229
|
+
* General Error.
|
|
7230
|
+
*
|
|
7231
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
7232
|
+
* and whether a response was received.
|
|
7233
|
+
*
|
|
7234
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
7235
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
7236
|
+
*
|
|
7237
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
7238
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
7239
|
+
*
|
|
7240
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
7241
|
+
*
|
|
7242
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
7243
|
+
*
|
|
7244
|
+
*/
|
|
7245
|
+
'4XX': GeneralError;
|
|
7246
|
+
};
|
|
7247
|
+
type RecoverProjectBranchError = RecoverProjectBranchErrors[keyof RecoverProjectBranchErrors];
|
|
7248
|
+
type RecoverProjectBranchResponses = {
|
|
7249
|
+
/**
|
|
7250
|
+
* Recovered the specified branch
|
|
7251
|
+
*/
|
|
7252
|
+
200: BranchRecoverResponse;
|
|
7253
|
+
};
|
|
7254
|
+
type RecoverProjectBranchResponse = RecoverProjectBranchResponses[keyof RecoverProjectBranchResponses];
|
|
7097
7255
|
type FinalizeRestoreBranchData = {
|
|
7098
7256
|
body?: {
|
|
7099
7257
|
/**
|
|
@@ -8425,127 +8583,893 @@ type GetConsumptionHistoryPerProjectV2Errors = {
|
|
|
8425
8583
|
*/
|
|
8426
8584
|
'4XX': GeneralError;
|
|
8427
8585
|
};
|
|
8428
|
-
type GetConsumptionHistoryPerProjectV2Error = GetConsumptionHistoryPerProjectV2Errors[keyof GetConsumptionHistoryPerProjectV2Errors];
|
|
8429
|
-
type GetConsumptionHistoryPerProjectV2Responses = {
|
|
8586
|
+
type GetConsumptionHistoryPerProjectV2Error = GetConsumptionHistoryPerProjectV2Errors[keyof GetConsumptionHistoryPerProjectV2Errors];
|
|
8587
|
+
type GetConsumptionHistoryPerProjectV2Responses = {
|
|
8588
|
+
/**
|
|
8589
|
+
* Project consumption metrics for the Neon account.
|
|
8590
|
+
*/
|
|
8591
|
+
200: ConsumptionHistoryPerProjectV2Response & PaginationResponse;
|
|
8592
|
+
};
|
|
8593
|
+
type GetConsumptionHistoryPerProjectV2Response = GetConsumptionHistoryPerProjectV2Responses[keyof GetConsumptionHistoryPerProjectV2Responses];
|
|
8594
|
+
type GetConsumptionHistoryPerBranchV2Data = {
|
|
8595
|
+
body?: never;
|
|
8596
|
+
path?: never;
|
|
8597
|
+
query: {
|
|
8598
|
+
/**
|
|
8599
|
+
* Cursor from the previous response (`pagination.cursor`). Pass it to fetch the next page
|
|
8600
|
+
* of branches. Pages are ordered by project ID, then branch ID.
|
|
8601
|
+
*
|
|
8602
|
+
*/
|
|
8603
|
+
cursor?: string;
|
|
8604
|
+
/**
|
|
8605
|
+
* Maximum number of branches per page. Allowed range: 1 to 1000. Default: 100.
|
|
8606
|
+
*
|
|
8607
|
+
*/
|
|
8608
|
+
limit?: number;
|
|
8609
|
+
/**
|
|
8610
|
+
* Project IDs to include (required, 1 to 100). Returns metrics for branches in these projects.
|
|
8611
|
+
*
|
|
8612
|
+
* Pass multiple IDs as repeated query parameters or a comma-separated list:
|
|
8613
|
+
* - `project_ids=cold-poetry-09157238&project_ids=quiet-snow-71788278`
|
|
8614
|
+
* - `project_ids=cold-poetry-09157238,quiet-snow-71788278`
|
|
8615
|
+
*
|
|
8616
|
+
*/
|
|
8617
|
+
project_ids: Array<string>;
|
|
8618
|
+
/**
|
|
8619
|
+
* Optional branch IDs to filter the response (up to 100). If omitted, all branches in the
|
|
8620
|
+
* listed projects are included.
|
|
8621
|
+
*
|
|
8622
|
+
* Pass multiple IDs as repeated query parameters or a comma-separated list:
|
|
8623
|
+
* - `branch_ids=br-aged-salad-637688&branch_ids=br-sweet-breeze-497520`
|
|
8624
|
+
* - `branch_ids=br-aged-salad-637688,br-sweet-breeze-497520`
|
|
8625
|
+
*
|
|
8626
|
+
*/
|
|
8627
|
+
branch_ids?: Array<string>;
|
|
8628
|
+
/**
|
|
8629
|
+
* Specify the start `date-time` for the consumption period.
|
|
8630
|
+
* The `date-time` value is rounded according to the specified `granularity`.
|
|
8631
|
+
* For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`.
|
|
8632
|
+
* The specified `date-time` value must respect the specified `granularity`:
|
|
8633
|
+
* - For `hourly`, consumption metrics are limited to the last 168 hours.
|
|
8634
|
+
* - For `daily`, consumption metrics are limited to the last 60 days.
|
|
8635
|
+
* - For `monthly`, consumption metrics are limited to the last year.
|
|
8636
|
+
*
|
|
8637
|
+
* Branch-level metrics are returned from when the account first ingests branch-level
|
|
8638
|
+
* consumption data. Periods before that time contain no branch metrics.
|
|
8639
|
+
*
|
|
8640
|
+
*/
|
|
8641
|
+
from: string;
|
|
8642
|
+
/**
|
|
8643
|
+
* Specify the end `date-time` for the consumption period.
|
|
8644
|
+
* The `date-time` value is rounded according to the specified `granularity`.
|
|
8645
|
+
* For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`.
|
|
8646
|
+
* The specified `date-time` value must respect the specified `granularity`:
|
|
8647
|
+
* - For `hourly`, consumption metrics are limited to the last 168 hours.
|
|
8648
|
+
* - For `daily`, consumption metrics are limited to the last 60 days.
|
|
8649
|
+
* - For `monthly`, consumption metrics are limited to the last year.
|
|
8650
|
+
*
|
|
8651
|
+
*/
|
|
8652
|
+
to: string;
|
|
8653
|
+
/**
|
|
8654
|
+
* Specify the granularity of consumption metrics.
|
|
8655
|
+
* Hourly, daily, and monthly metrics are available for the last 168 hours, 60 days,
|
|
8656
|
+
* and 1 year, respectively.
|
|
8657
|
+
*
|
|
8658
|
+
*/
|
|
8659
|
+
granularity: ConsumptionHistoryGranularity;
|
|
8660
|
+
/**
|
|
8661
|
+
* Organization ID. Metrics are returned for projects in this organization.
|
|
8662
|
+
*
|
|
8663
|
+
*/
|
|
8664
|
+
org_id: string;
|
|
8665
|
+
/**
|
|
8666
|
+
* Required. List the metrics to return. Only these values are supported:
|
|
8667
|
+
* - `compute_unit_seconds`
|
|
8668
|
+
* - `root_branch_bytes_month`
|
|
8669
|
+
* - `child_branch_bytes_month`
|
|
8670
|
+
* - `instant_restore_bytes_month`
|
|
8671
|
+
* - `public_network_transfer_bytes`
|
|
8672
|
+
* - `private_network_transfer_bytes`
|
|
8673
|
+
*
|
|
8674
|
+
* Not supported on this endpoint: `extra_branches_month`, `snapshot_storage_bytes_month`.
|
|
8675
|
+
* Use `GET /consumption_history/v2/projects` for those.
|
|
8676
|
+
*
|
|
8677
|
+
* Pass multiple values as repeated query parameters or a comma-separated list:
|
|
8678
|
+
* - `metrics=compute_unit_seconds&metrics=public_network_transfer_bytes`
|
|
8679
|
+
* - `metrics=compute_unit_seconds,public_network_transfer_bytes`
|
|
8680
|
+
*
|
|
8681
|
+
*/
|
|
8682
|
+
metrics: ConsumptionHistoryQueryMetrics;
|
|
8683
|
+
};
|
|
8684
|
+
url: '/consumption_history/v2/branches';
|
|
8685
|
+
};
|
|
8686
|
+
type GetConsumptionHistoryPerBranchV2Errors = {
|
|
8687
|
+
/**
|
|
8688
|
+
* Not available for this account. Branch consumption history requires a paid usage-based
|
|
8689
|
+
* Launch, Scale, Agent, or Enterprise plan.
|
|
8690
|
+
*
|
|
8691
|
+
*/
|
|
8692
|
+
403: GeneralError;
|
|
8693
|
+
/**
|
|
8694
|
+
* Account is not a member of the organization specified by `org_id`.
|
|
8695
|
+
*/
|
|
8696
|
+
404: GeneralError;
|
|
8697
|
+
/**
|
|
8698
|
+
* The `from` and `to` range is not valid for the selected `granularity`. Adjust the range or
|
|
8699
|
+
* choose a different granularity.
|
|
8700
|
+
*
|
|
8701
|
+
*/
|
|
8702
|
+
406: GeneralError;
|
|
8703
|
+
/**
|
|
8704
|
+
* Too many requests
|
|
8705
|
+
*/
|
|
8706
|
+
429: GeneralError;
|
|
8707
|
+
/**
|
|
8708
|
+
* General Error.
|
|
8709
|
+
*
|
|
8710
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
8711
|
+
* and whether a response was received.
|
|
8712
|
+
*
|
|
8713
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
8714
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
8715
|
+
*
|
|
8716
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
8717
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
8718
|
+
*
|
|
8719
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
8720
|
+
*
|
|
8721
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
8722
|
+
*
|
|
8723
|
+
*/
|
|
8724
|
+
'4XX': GeneralError;
|
|
8725
|
+
};
|
|
8726
|
+
type GetConsumptionHistoryPerBranchV2Error = GetConsumptionHistoryPerBranchV2Errors[keyof GetConsumptionHistoryPerBranchV2Errors];
|
|
8727
|
+
type GetConsumptionHistoryPerBranchV2Responses = {
|
|
8728
|
+
/**
|
|
8729
|
+
* Branch consumption metrics for the Neon account.
|
|
8730
|
+
*/
|
|
8731
|
+
200: ConsumptionHistoryPerBranchV2Response & PaginationResponse;
|
|
8732
|
+
};
|
|
8733
|
+
type GetConsumptionHistoryPerBranchV2Response = GetConsumptionHistoryPerBranchV2Responses[keyof GetConsumptionHistoryPerBranchV2Responses];
|
|
8734
|
+
type GetOrganizationData = {
|
|
8735
|
+
body?: never;
|
|
8736
|
+
path: {
|
|
8737
|
+
/**
|
|
8738
|
+
* The Neon organization ID
|
|
8739
|
+
*/
|
|
8740
|
+
org_id: string;
|
|
8741
|
+
};
|
|
8742
|
+
query?: never;
|
|
8743
|
+
url: '/organizations/{org_id}';
|
|
8744
|
+
};
|
|
8745
|
+
type GetOrganizationErrors = {
|
|
8746
|
+
/**
|
|
8747
|
+
* General Error.
|
|
8748
|
+
*
|
|
8749
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
8750
|
+
* and whether a response was received.
|
|
8751
|
+
*
|
|
8752
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
8753
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
8754
|
+
*
|
|
8755
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
8756
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
8757
|
+
*
|
|
8758
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
8759
|
+
*
|
|
8760
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
8761
|
+
*
|
|
8762
|
+
*/
|
|
8763
|
+
'4XX': GeneralError;
|
|
8764
|
+
};
|
|
8765
|
+
type GetOrganizationError = GetOrganizationErrors[keyof GetOrganizationErrors];
|
|
8766
|
+
type GetOrganizationResponses = {
|
|
8767
|
+
/**
|
|
8768
|
+
* Returned information about the organization
|
|
8769
|
+
*/
|
|
8770
|
+
200: Organization;
|
|
8771
|
+
};
|
|
8772
|
+
type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
8773
|
+
type ListOrgApiKeysData = {
|
|
8774
|
+
body?: never;
|
|
8775
|
+
path: {
|
|
8776
|
+
/**
|
|
8777
|
+
* The Neon organization ID
|
|
8778
|
+
*/
|
|
8779
|
+
org_id: string;
|
|
8780
|
+
};
|
|
8781
|
+
query?: never;
|
|
8782
|
+
url: '/organizations/{org_id}/api_keys';
|
|
8783
|
+
};
|
|
8784
|
+
type ListOrgApiKeysErrors = {
|
|
8785
|
+
/**
|
|
8786
|
+
* General Error.
|
|
8787
|
+
*
|
|
8788
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
8789
|
+
* and whether a response was received.
|
|
8790
|
+
*
|
|
8791
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
8792
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
8793
|
+
*
|
|
8794
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
8795
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
8796
|
+
*
|
|
8797
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
8798
|
+
*
|
|
8799
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
8800
|
+
*
|
|
8801
|
+
*/
|
|
8802
|
+
'4XX': GeneralError;
|
|
8803
|
+
};
|
|
8804
|
+
type ListOrgApiKeysError = ListOrgApiKeysErrors[keyof ListOrgApiKeysErrors];
|
|
8805
|
+
type ListOrgApiKeysResponses = {
|
|
8806
|
+
/**
|
|
8807
|
+
* Returned the API keys for the specified organization
|
|
8808
|
+
*/
|
|
8809
|
+
200: Array<OrgApiKeysListResponseItem>;
|
|
8810
|
+
};
|
|
8811
|
+
type ListOrgApiKeysResponse = ListOrgApiKeysResponses[keyof ListOrgApiKeysResponses];
|
|
8812
|
+
type CreateOrgApiKeyData = {
|
|
8813
|
+
body: OrgApiKeyCreateRequest;
|
|
8814
|
+
path: {
|
|
8815
|
+
/**
|
|
8816
|
+
* The Neon organization ID
|
|
8817
|
+
*/
|
|
8818
|
+
org_id: string;
|
|
8819
|
+
};
|
|
8820
|
+
query?: never;
|
|
8821
|
+
url: '/organizations/{org_id}/api_keys';
|
|
8822
|
+
};
|
|
8823
|
+
type CreateOrgApiKeyErrors = {
|
|
8824
|
+
/**
|
|
8825
|
+
* General Error.
|
|
8826
|
+
*
|
|
8827
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
8828
|
+
* and whether a response was received.
|
|
8829
|
+
*
|
|
8830
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
8831
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
8832
|
+
*
|
|
8833
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
8834
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
8835
|
+
*
|
|
8836
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
8837
|
+
*
|
|
8838
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
8839
|
+
*
|
|
8840
|
+
*/
|
|
8841
|
+
'4XX': GeneralError;
|
|
8842
|
+
};
|
|
8843
|
+
type CreateOrgApiKeyError = CreateOrgApiKeyErrors[keyof CreateOrgApiKeyErrors];
|
|
8844
|
+
type CreateOrgApiKeyResponses = {
|
|
8845
|
+
/**
|
|
8846
|
+
* Created an organization API key
|
|
8847
|
+
*/
|
|
8848
|
+
200: OrgApiKeyCreateResponse;
|
|
8849
|
+
};
|
|
8850
|
+
type CreateOrgApiKeyResponse = CreateOrgApiKeyResponses[keyof CreateOrgApiKeyResponses];
|
|
8851
|
+
type RevokeOrgApiKeyData = {
|
|
8852
|
+
body?: never;
|
|
8853
|
+
path: {
|
|
8854
|
+
/**
|
|
8855
|
+
* The Neon organization ID
|
|
8856
|
+
*/
|
|
8857
|
+
org_id: string;
|
|
8858
|
+
/**
|
|
8859
|
+
* The API key ID
|
|
8860
|
+
*/
|
|
8861
|
+
key_id: number;
|
|
8862
|
+
};
|
|
8863
|
+
query?: never;
|
|
8864
|
+
url: '/organizations/{org_id}/api_keys/{key_id}';
|
|
8865
|
+
};
|
|
8866
|
+
type RevokeOrgApiKeyErrors = {
|
|
8867
|
+
/**
|
|
8868
|
+
* General Error.
|
|
8869
|
+
*
|
|
8870
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
8871
|
+
* and whether a response was received.
|
|
8872
|
+
*
|
|
8873
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
8874
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
8875
|
+
*
|
|
8876
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
8877
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
8878
|
+
*
|
|
8879
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
8880
|
+
*
|
|
8881
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
8882
|
+
*
|
|
8883
|
+
*/
|
|
8884
|
+
'4XX': GeneralError;
|
|
8885
|
+
};
|
|
8886
|
+
type RevokeOrgApiKeyError = RevokeOrgApiKeyErrors[keyof RevokeOrgApiKeyErrors];
|
|
8887
|
+
type RevokeOrgApiKeyResponses = {
|
|
8888
|
+
/**
|
|
8889
|
+
* Revoked the specified organization API key
|
|
8890
|
+
*/
|
|
8891
|
+
200: OrgApiKeyRevokeResponse;
|
|
8892
|
+
};
|
|
8893
|
+
type RevokeOrgApiKeyResponse = RevokeOrgApiKeyResponses[keyof RevokeOrgApiKeyResponses];
|
|
8894
|
+
type DeleteOrganizationSpendingLimitData = {
|
|
8895
|
+
body?: never;
|
|
8896
|
+
path: {
|
|
8897
|
+
/**
|
|
8898
|
+
* The Neon organization ID
|
|
8899
|
+
*/
|
|
8900
|
+
org_id: string;
|
|
8901
|
+
};
|
|
8902
|
+
query?: never;
|
|
8903
|
+
url: '/organizations/{org_id}/billing/spending_limit';
|
|
8904
|
+
};
|
|
8905
|
+
type DeleteOrganizationSpendingLimitErrors = {
|
|
8906
|
+
/**
|
|
8907
|
+
* General Error.
|
|
8908
|
+
*
|
|
8909
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
8910
|
+
* and whether a response was received.
|
|
8911
|
+
*
|
|
8912
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
8913
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
8914
|
+
*
|
|
8915
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
8916
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
8917
|
+
*
|
|
8918
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
8919
|
+
*
|
|
8920
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
8921
|
+
*
|
|
8922
|
+
*/
|
|
8923
|
+
'4XX': GeneralError;
|
|
8924
|
+
};
|
|
8925
|
+
type DeleteOrganizationSpendingLimitError = DeleteOrganizationSpendingLimitErrors[keyof DeleteOrganizationSpendingLimitErrors];
|
|
8926
|
+
type DeleteOrganizationSpendingLimitResponses = {
|
|
8927
|
+
/**
|
|
8928
|
+
* The spending limit has been cleared.
|
|
8929
|
+
*/
|
|
8930
|
+
200: EmptyResponse;
|
|
8931
|
+
};
|
|
8932
|
+
type DeleteOrganizationSpendingLimitResponse = DeleteOrganizationSpendingLimitResponses[keyof DeleteOrganizationSpendingLimitResponses];
|
|
8933
|
+
type GetOrganizationSpendingLimitData = {
|
|
8934
|
+
body?: never;
|
|
8935
|
+
path: {
|
|
8936
|
+
/**
|
|
8937
|
+
* The Neon organization ID
|
|
8938
|
+
*/
|
|
8939
|
+
org_id: string;
|
|
8940
|
+
};
|
|
8941
|
+
query?: never;
|
|
8942
|
+
url: '/organizations/{org_id}/billing/spending_limit';
|
|
8943
|
+
};
|
|
8944
|
+
type GetOrganizationSpendingLimitErrors = {
|
|
8945
|
+
/**
|
|
8946
|
+
* General Error.
|
|
8947
|
+
*
|
|
8948
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
8949
|
+
* and whether a response was received.
|
|
8950
|
+
*
|
|
8951
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
8952
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
8953
|
+
*
|
|
8954
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
8955
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
8956
|
+
*
|
|
8957
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
8958
|
+
*
|
|
8959
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
8960
|
+
*
|
|
8961
|
+
*/
|
|
8962
|
+
'4XX': GeneralError;
|
|
8963
|
+
};
|
|
8964
|
+
type GetOrganizationSpendingLimitError = GetOrganizationSpendingLimitErrors[keyof GetOrganizationSpendingLimitErrors];
|
|
8965
|
+
type GetOrganizationSpendingLimitResponses = {
|
|
8966
|
+
/**
|
|
8967
|
+
* The organization's current spending limit.
|
|
8968
|
+
*/
|
|
8969
|
+
200: SpendingLimitResponse;
|
|
8970
|
+
};
|
|
8971
|
+
type GetOrganizationSpendingLimitResponse = GetOrganizationSpendingLimitResponses[keyof GetOrganizationSpendingLimitResponses];
|
|
8972
|
+
type SetOrganizationSpendingLimitData = {
|
|
8973
|
+
body: SpendingLimitUpdateRequest;
|
|
8974
|
+
path: {
|
|
8975
|
+
/**
|
|
8976
|
+
* The Neon organization ID
|
|
8977
|
+
*/
|
|
8978
|
+
org_id: string;
|
|
8979
|
+
};
|
|
8980
|
+
query?: never;
|
|
8981
|
+
url: '/organizations/{org_id}/billing/spending_limit';
|
|
8982
|
+
};
|
|
8983
|
+
type SetOrganizationSpendingLimitErrors = {
|
|
8984
|
+
/**
|
|
8985
|
+
* General Error.
|
|
8986
|
+
*
|
|
8987
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
8988
|
+
* and whether a response was received.
|
|
8989
|
+
*
|
|
8990
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
8991
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
8992
|
+
*
|
|
8993
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
8994
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
8995
|
+
*
|
|
8996
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
8997
|
+
*
|
|
8998
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
8999
|
+
*
|
|
9000
|
+
*/
|
|
9001
|
+
'4XX': GeneralError;
|
|
9002
|
+
};
|
|
9003
|
+
type SetOrganizationSpendingLimitError = SetOrganizationSpendingLimitErrors[keyof SetOrganizationSpendingLimitErrors];
|
|
9004
|
+
type SetOrganizationSpendingLimitResponses = {
|
|
9005
|
+
/**
|
|
9006
|
+
* The updated spending limit value.
|
|
9007
|
+
*/
|
|
9008
|
+
200: SpendingLimitResponse;
|
|
9009
|
+
};
|
|
9010
|
+
type SetOrganizationSpendingLimitResponse = SetOrganizationSpendingLimitResponses[keyof SetOrganizationSpendingLimitResponses];
|
|
9011
|
+
type GetOrganizationMembersData = {
|
|
9012
|
+
body?: never;
|
|
9013
|
+
path: {
|
|
9014
|
+
/**
|
|
9015
|
+
* The Neon organization ID
|
|
9016
|
+
*/
|
|
9017
|
+
org_id: string;
|
|
9018
|
+
};
|
|
9019
|
+
query?: {
|
|
9020
|
+
/**
|
|
9021
|
+
* Sort the members by the specified field. Defaults to `joined_at`.
|
|
9022
|
+
*/
|
|
9023
|
+
sort_by?: 'email' | 'role' | 'joined_at';
|
|
9024
|
+
/**
|
|
9025
|
+
* A cursor to use in pagination. A cursor defines your place in the data list. Include `response.pagination.next` in subsequent API calls to fetch next page of the list.
|
|
9026
|
+
*/
|
|
9027
|
+
cursor?: string;
|
|
9028
|
+
/**
|
|
9029
|
+
* Defines the sorting order of entities.
|
|
9030
|
+
*/
|
|
9031
|
+
sort_order?: 'asc' | 'desc';
|
|
9032
|
+
/**
|
|
9033
|
+
* The maximum number of members to return in the response
|
|
9034
|
+
*/
|
|
9035
|
+
limit?: number;
|
|
9036
|
+
};
|
|
9037
|
+
url: '/organizations/{org_id}/members';
|
|
9038
|
+
};
|
|
9039
|
+
type GetOrganizationMembersErrors = {
|
|
9040
|
+
/**
|
|
9041
|
+
* General Error.
|
|
9042
|
+
*
|
|
9043
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
9044
|
+
* and whether a response was received.
|
|
9045
|
+
*
|
|
9046
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
9047
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
9048
|
+
*
|
|
9049
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
9050
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
9051
|
+
*
|
|
9052
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
9053
|
+
*
|
|
9054
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
9055
|
+
*
|
|
9056
|
+
*/
|
|
9057
|
+
'4XX': GeneralError;
|
|
9058
|
+
};
|
|
9059
|
+
type GetOrganizationMembersError = GetOrganizationMembersErrors[keyof GetOrganizationMembersErrors];
|
|
9060
|
+
type GetOrganizationMembersResponses = {
|
|
9061
|
+
/**
|
|
9062
|
+
* Returned information about organization members
|
|
9063
|
+
*/
|
|
9064
|
+
200: OrganizationMembersResponse & CursorPaginationResponse;
|
|
9065
|
+
};
|
|
9066
|
+
type GetOrganizationMembersResponse = GetOrganizationMembersResponses[keyof GetOrganizationMembersResponses];
|
|
9067
|
+
type RemoveOrganizationMemberData = {
|
|
9068
|
+
body?: never;
|
|
9069
|
+
path: {
|
|
9070
|
+
/**
|
|
9071
|
+
* The Neon organization ID
|
|
9072
|
+
*/
|
|
9073
|
+
org_id: string;
|
|
9074
|
+
/**
|
|
9075
|
+
* The Neon organization member ID
|
|
9076
|
+
*/
|
|
9077
|
+
member_id: string;
|
|
9078
|
+
};
|
|
9079
|
+
query?: never;
|
|
9080
|
+
url: '/organizations/{org_id}/members/{member_id}';
|
|
9081
|
+
};
|
|
9082
|
+
type RemoveOrganizationMemberErrors = {
|
|
9083
|
+
/**
|
|
9084
|
+
* General Error.
|
|
9085
|
+
*
|
|
9086
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
9087
|
+
* and whether a response was received.
|
|
9088
|
+
*
|
|
9089
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
9090
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
9091
|
+
*
|
|
9092
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
9093
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
9094
|
+
*
|
|
9095
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
9096
|
+
*
|
|
9097
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
9098
|
+
*
|
|
9099
|
+
*/
|
|
9100
|
+
'4XX': GeneralError;
|
|
9101
|
+
};
|
|
9102
|
+
type RemoveOrganizationMemberError = RemoveOrganizationMemberErrors[keyof RemoveOrganizationMemberErrors];
|
|
9103
|
+
type RemoveOrganizationMemberResponses = {
|
|
9104
|
+
/**
|
|
9105
|
+
* Removed organization member
|
|
9106
|
+
*/
|
|
9107
|
+
200: EmptyResponse;
|
|
9108
|
+
};
|
|
9109
|
+
type RemoveOrganizationMemberResponse = RemoveOrganizationMemberResponses[keyof RemoveOrganizationMemberResponses];
|
|
9110
|
+
type GetOrganizationMemberData = {
|
|
9111
|
+
body?: never;
|
|
9112
|
+
path: {
|
|
9113
|
+
/**
|
|
9114
|
+
* The Neon organization ID
|
|
9115
|
+
*/
|
|
9116
|
+
org_id: string;
|
|
9117
|
+
/**
|
|
9118
|
+
* The Neon organization member ID
|
|
9119
|
+
*/
|
|
9120
|
+
member_id: string;
|
|
9121
|
+
};
|
|
9122
|
+
query?: never;
|
|
9123
|
+
url: '/organizations/{org_id}/members/{member_id}';
|
|
9124
|
+
};
|
|
9125
|
+
type GetOrganizationMemberErrors = {
|
|
9126
|
+
/**
|
|
9127
|
+
* General Error.
|
|
9128
|
+
*
|
|
9129
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
9130
|
+
* and whether a response was received.
|
|
9131
|
+
*
|
|
9132
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
9133
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
9134
|
+
*
|
|
9135
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
9136
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
9137
|
+
*
|
|
9138
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
9139
|
+
*
|
|
9140
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
9141
|
+
*
|
|
9142
|
+
*/
|
|
9143
|
+
'4XX': GeneralError;
|
|
9144
|
+
};
|
|
9145
|
+
type GetOrganizationMemberError = GetOrganizationMemberErrors[keyof GetOrganizationMemberErrors];
|
|
9146
|
+
type GetOrganizationMemberResponses = {
|
|
9147
|
+
/**
|
|
9148
|
+
* Returned information about the organization member
|
|
9149
|
+
*/
|
|
9150
|
+
200: Member;
|
|
9151
|
+
};
|
|
9152
|
+
type GetOrganizationMemberResponse = GetOrganizationMemberResponses[keyof GetOrganizationMemberResponses];
|
|
9153
|
+
type UpdateOrganizationMemberData = {
|
|
9154
|
+
body: OrganizationMemberUpdateRequest;
|
|
9155
|
+
path: {
|
|
9156
|
+
/**
|
|
9157
|
+
* The Neon organization ID
|
|
9158
|
+
*/
|
|
9159
|
+
org_id: string;
|
|
9160
|
+
/**
|
|
9161
|
+
* The Neon organization member ID
|
|
9162
|
+
*/
|
|
9163
|
+
member_id: string;
|
|
9164
|
+
};
|
|
9165
|
+
query?: never;
|
|
9166
|
+
url: '/organizations/{org_id}/members/{member_id}';
|
|
9167
|
+
};
|
|
9168
|
+
type UpdateOrganizationMemberErrors = {
|
|
9169
|
+
/**
|
|
9170
|
+
* General Error.
|
|
9171
|
+
*
|
|
9172
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
9173
|
+
* and whether a response was received.
|
|
9174
|
+
*
|
|
9175
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
9176
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
9177
|
+
*
|
|
9178
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
9179
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
9180
|
+
*
|
|
9181
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
9182
|
+
*
|
|
9183
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
9184
|
+
*
|
|
9185
|
+
*/
|
|
9186
|
+
'4XX': GeneralError;
|
|
9187
|
+
};
|
|
9188
|
+
type UpdateOrganizationMemberError = UpdateOrganizationMemberErrors[keyof UpdateOrganizationMemberErrors];
|
|
9189
|
+
type UpdateOrganizationMemberResponses = {
|
|
9190
|
+
/**
|
|
9191
|
+
* The updated organization member
|
|
9192
|
+
*/
|
|
9193
|
+
200: Member;
|
|
9194
|
+
};
|
|
9195
|
+
type UpdateOrganizationMemberResponse = UpdateOrganizationMemberResponses[keyof UpdateOrganizationMemberResponses];
|
|
9196
|
+
type GetOrganizationInvitationsData = {
|
|
9197
|
+
body?: never;
|
|
9198
|
+
path: {
|
|
9199
|
+
/**
|
|
9200
|
+
* The Neon organization ID
|
|
9201
|
+
*/
|
|
9202
|
+
org_id: string;
|
|
9203
|
+
};
|
|
9204
|
+
query?: never;
|
|
9205
|
+
url: '/organizations/{org_id}/invitations';
|
|
9206
|
+
};
|
|
9207
|
+
type GetOrganizationInvitationsErrors = {
|
|
9208
|
+
/**
|
|
9209
|
+
* General Error.
|
|
9210
|
+
*
|
|
9211
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
9212
|
+
* and whether a response was received.
|
|
9213
|
+
*
|
|
9214
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
9215
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
9216
|
+
*
|
|
9217
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
9218
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
9219
|
+
*
|
|
9220
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
9221
|
+
*
|
|
9222
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
9223
|
+
*
|
|
9224
|
+
*/
|
|
9225
|
+
'4XX': GeneralError;
|
|
9226
|
+
};
|
|
9227
|
+
type GetOrganizationInvitationsError = GetOrganizationInvitationsErrors[keyof GetOrganizationInvitationsErrors];
|
|
9228
|
+
type GetOrganizationInvitationsResponses = {
|
|
9229
|
+
/**
|
|
9230
|
+
* Returned information about the organization invitations
|
|
9231
|
+
*/
|
|
9232
|
+
200: OrganizationInvitationsResponse;
|
|
9233
|
+
};
|
|
9234
|
+
type GetOrganizationInvitationsResponse = GetOrganizationInvitationsResponses[keyof GetOrganizationInvitationsResponses];
|
|
9235
|
+
type CreateOrganizationInvitationsData = {
|
|
9236
|
+
body: OrganizationInvitesCreateRequest;
|
|
9237
|
+
path: {
|
|
9238
|
+
/**
|
|
9239
|
+
* The Neon organization ID
|
|
9240
|
+
*/
|
|
9241
|
+
org_id: string;
|
|
9242
|
+
};
|
|
9243
|
+
query?: never;
|
|
9244
|
+
url: '/organizations/{org_id}/invitations';
|
|
9245
|
+
};
|
|
9246
|
+
type CreateOrganizationInvitationsErrors = {
|
|
9247
|
+
/**
|
|
9248
|
+
* General Error.
|
|
9249
|
+
*
|
|
9250
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
9251
|
+
* and whether a response was received.
|
|
9252
|
+
*
|
|
9253
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
9254
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
9255
|
+
*
|
|
9256
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
9257
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
9258
|
+
*
|
|
9259
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
9260
|
+
*
|
|
9261
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
9262
|
+
*
|
|
9263
|
+
*/
|
|
9264
|
+
'4XX': GeneralError;
|
|
9265
|
+
};
|
|
9266
|
+
type CreateOrganizationInvitationsError = CreateOrganizationInvitationsErrors[keyof CreateOrganizationInvitationsErrors];
|
|
9267
|
+
type CreateOrganizationInvitationsResponses = {
|
|
9268
|
+
/**
|
|
9269
|
+
* The created organization invitation
|
|
9270
|
+
*/
|
|
9271
|
+
200: OrganizationInvitationsResponse;
|
|
9272
|
+
};
|
|
9273
|
+
type CreateOrganizationInvitationsResponse = CreateOrganizationInvitationsResponses[keyof CreateOrganizationInvitationsResponses];
|
|
9274
|
+
type TransferProjectsFromOrgToOrgData = {
|
|
9275
|
+
body: TransferProjectsToOrganizationRequest;
|
|
9276
|
+
path: {
|
|
9277
|
+
/**
|
|
9278
|
+
* The Neon organization ID (source org, which currently owns the project)
|
|
9279
|
+
*/
|
|
9280
|
+
source_org_id: string;
|
|
9281
|
+
};
|
|
9282
|
+
query?: never;
|
|
9283
|
+
url: '/organizations/{source_org_id}/projects/transfer';
|
|
9284
|
+
};
|
|
9285
|
+
type TransferProjectsFromOrgToOrgErrors = {
|
|
9286
|
+
/**
|
|
9287
|
+
* Transfer failed - the target organization has too many projects or its plan is incompatible with the source organization. Reduce projects or upgrade the organization.
|
|
9288
|
+
*/
|
|
9289
|
+
406: LimitsUnsatisfiedResponse;
|
|
9290
|
+
/**
|
|
9291
|
+
* One or more of the provided project IDs have GitHub or Vercel integrations installed. Transferring integration projects is currently not supported
|
|
9292
|
+
*/
|
|
9293
|
+
422: ProjectsWithIntegrationResponse;
|
|
9294
|
+
/**
|
|
9295
|
+
* General Error.
|
|
9296
|
+
*
|
|
9297
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
9298
|
+
* and whether a response was received.
|
|
9299
|
+
*
|
|
9300
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
9301
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
9302
|
+
*
|
|
9303
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
9304
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
9305
|
+
*
|
|
9306
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
9307
|
+
*
|
|
9308
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
9309
|
+
*
|
|
9310
|
+
*/
|
|
9311
|
+
'4XX': GeneralError;
|
|
9312
|
+
};
|
|
9313
|
+
type TransferProjectsFromOrgToOrgError = TransferProjectsFromOrgToOrgErrors[keyof TransferProjectsFromOrgToOrgErrors];
|
|
9314
|
+
type TransferProjectsFromOrgToOrgResponses = {
|
|
9315
|
+
/**
|
|
9316
|
+
* Projects successfully transferred from organization to organization
|
|
9317
|
+
*/
|
|
9318
|
+
200: EmptyResponse;
|
|
9319
|
+
};
|
|
9320
|
+
type TransferProjectsFromOrgToOrgResponse = TransferProjectsFromOrgToOrgResponses[keyof TransferProjectsFromOrgToOrgResponses];
|
|
9321
|
+
type ListOrganizationVpcEndpointsAllRegionsData = {
|
|
9322
|
+
body?: never;
|
|
9323
|
+
path: {
|
|
9324
|
+
/**
|
|
9325
|
+
* The Neon organization ID
|
|
9326
|
+
*/
|
|
9327
|
+
org_id: string;
|
|
9328
|
+
};
|
|
9329
|
+
query?: never;
|
|
9330
|
+
url: '/organizations/{org_id}/vpc/vpc_endpoints';
|
|
9331
|
+
};
|
|
9332
|
+
type ListOrganizationVpcEndpointsAllRegionsErrors = {
|
|
9333
|
+
/**
|
|
9334
|
+
* General Error.
|
|
9335
|
+
*
|
|
9336
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
9337
|
+
* and whether a response was received.
|
|
9338
|
+
*
|
|
9339
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
9340
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
9341
|
+
*
|
|
9342
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
9343
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
9344
|
+
*
|
|
9345
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
9346
|
+
*
|
|
9347
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
9348
|
+
*
|
|
9349
|
+
*/
|
|
9350
|
+
'4XX': GeneralError;
|
|
9351
|
+
};
|
|
9352
|
+
type ListOrganizationVpcEndpointsAllRegionsError = ListOrganizationVpcEndpointsAllRegionsErrors[keyof ListOrganizationVpcEndpointsAllRegionsErrors];
|
|
9353
|
+
type ListOrganizationVpcEndpointsAllRegionsResponses = {
|
|
9354
|
+
/**
|
|
9355
|
+
* The list of configured VPC endpoint IDs for the specified organization across all regions
|
|
9356
|
+
*/
|
|
9357
|
+
200: VpcEndpointsWithRegionResponse;
|
|
9358
|
+
};
|
|
9359
|
+
type ListOrganizationVpcEndpointsAllRegionsResponse = ListOrganizationVpcEndpointsAllRegionsResponses[keyof ListOrganizationVpcEndpointsAllRegionsResponses];
|
|
9360
|
+
type ListOrganizationVpcEndpointsData = {
|
|
9361
|
+
body?: never;
|
|
9362
|
+
path: {
|
|
9363
|
+
/**
|
|
9364
|
+
* The Neon organization ID
|
|
9365
|
+
*/
|
|
9366
|
+
org_id: string;
|
|
9367
|
+
/**
|
|
9368
|
+
* The Neon region ID
|
|
9369
|
+
*/
|
|
9370
|
+
region_id: string;
|
|
9371
|
+
};
|
|
9372
|
+
query?: never;
|
|
9373
|
+
url: '/organizations/{org_id}/vpc/region/{region_id}/vpc_endpoints';
|
|
9374
|
+
};
|
|
9375
|
+
type ListOrganizationVpcEndpointsErrors = {
|
|
9376
|
+
/**
|
|
9377
|
+
* General Error.
|
|
9378
|
+
*
|
|
9379
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
9380
|
+
* and whether a response was received.
|
|
9381
|
+
*
|
|
9382
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
9383
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
9384
|
+
*
|
|
9385
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
9386
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
9387
|
+
*
|
|
9388
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
9389
|
+
*
|
|
9390
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
9391
|
+
*
|
|
9392
|
+
*/
|
|
9393
|
+
'4XX': GeneralError;
|
|
9394
|
+
};
|
|
9395
|
+
type ListOrganizationVpcEndpointsError = ListOrganizationVpcEndpointsErrors[keyof ListOrganizationVpcEndpointsErrors];
|
|
9396
|
+
type ListOrganizationVpcEndpointsResponses = {
|
|
9397
|
+
/**
|
|
9398
|
+
* The list of configured VPC endpoint IDs for the specified organization
|
|
9399
|
+
*/
|
|
9400
|
+
200: VpcEndpointsResponse;
|
|
9401
|
+
};
|
|
9402
|
+
type ListOrganizationVpcEndpointsResponse = ListOrganizationVpcEndpointsResponses[keyof ListOrganizationVpcEndpointsResponses];
|
|
9403
|
+
type DeleteOrganizationVpcEndpointData = {
|
|
9404
|
+
body?: never;
|
|
9405
|
+
path: {
|
|
9406
|
+
/**
|
|
9407
|
+
* The Neon organization ID
|
|
9408
|
+
*/
|
|
9409
|
+
org_id: string;
|
|
9410
|
+
/**
|
|
9411
|
+
* The Neon region ID.
|
|
9412
|
+
* Azure regions are currently not supported.
|
|
9413
|
+
*
|
|
9414
|
+
*/
|
|
9415
|
+
region_id: string;
|
|
9416
|
+
/**
|
|
9417
|
+
* The VPC endpoint ID
|
|
9418
|
+
*/
|
|
9419
|
+
vpc_endpoint_id: string;
|
|
9420
|
+
};
|
|
9421
|
+
query?: never;
|
|
9422
|
+
url: '/organizations/{org_id}/vpc/region/{region_id}/vpc_endpoints/{vpc_endpoint_id}';
|
|
9423
|
+
};
|
|
9424
|
+
type DeleteOrganizationVpcEndpointErrors = {
|
|
9425
|
+
/**
|
|
9426
|
+
* General Error.
|
|
9427
|
+
*
|
|
9428
|
+
* The request may or may not be safe to retry, depending on the HTTP method, response status code,
|
|
9429
|
+
* and whether a response was received.
|
|
9430
|
+
*
|
|
9431
|
+
* - If no response is returned from the API, a network error or timeout likely occurred.
|
|
9432
|
+
* - In some cases, the request may have reached the server and been successfully processed, but the response failed to reach the client. As a result, retrying non-idempotent requests can lead to unintended results.
|
|
9433
|
+
*
|
|
9434
|
+
* The following HTTP methods are considered non-idempotent: `POST`, `PATCH`, `DELETE`, and `PUT`. Retrying these methods is generally **not safe**.
|
|
9435
|
+
* The following methods are considered idempotent: `GET`, `HEAD`, and `OPTIONS`. Retrying these methods is **safe** in the event of a network error or timeout.
|
|
9436
|
+
*
|
|
9437
|
+
* Any request that returns a `503 Service Unavailable` response is always safe to retry.
|
|
9438
|
+
*
|
|
9439
|
+
* Any request that returns a `423 Locked` response is safe to retry. `423 Locked` indicates that the resource is temporarily locked, for example, due to another operation in progress.
|
|
9440
|
+
*
|
|
9441
|
+
*/
|
|
9442
|
+
'4XX': GeneralError;
|
|
9443
|
+
};
|
|
9444
|
+
type DeleteOrganizationVpcEndpointError = DeleteOrganizationVpcEndpointErrors[keyof DeleteOrganizationVpcEndpointErrors];
|
|
9445
|
+
type DeleteOrganizationVpcEndpointResponses = {
|
|
8430
9446
|
/**
|
|
8431
|
-
*
|
|
9447
|
+
* Deleted the VPC endpoint from the specified Neon organization
|
|
8432
9448
|
*/
|
|
8433
|
-
200:
|
|
9449
|
+
200: unknown;
|
|
8434
9450
|
};
|
|
8435
|
-
type
|
|
8436
|
-
type GetConsumptionHistoryPerBranchV2Data = {
|
|
9451
|
+
type GetOrganizationVpcEndpointDetailsData = {
|
|
8437
9452
|
body?: never;
|
|
8438
|
-
path
|
|
8439
|
-
query: {
|
|
8440
|
-
/**
|
|
8441
|
-
* Cursor from the previous response (`pagination.cursor`). Pass it to fetch the next page
|
|
8442
|
-
* of branches. Pages are ordered by project ID, then branch ID.
|
|
8443
|
-
*
|
|
8444
|
-
*/
|
|
8445
|
-
cursor?: string;
|
|
8446
|
-
/**
|
|
8447
|
-
* Maximum number of branches per page. Allowed range: 1 to 1000. Default: 100.
|
|
8448
|
-
*
|
|
8449
|
-
*/
|
|
8450
|
-
limit?: number;
|
|
8451
|
-
/**
|
|
8452
|
-
* Project IDs to include (required, 1 to 100). Returns metrics for branches in these projects.
|
|
8453
|
-
*
|
|
8454
|
-
* Pass multiple IDs as repeated query parameters or a comma-separated list:
|
|
8455
|
-
* - `project_ids=cold-poetry-09157238&project_ids=quiet-snow-71788278`
|
|
8456
|
-
* - `project_ids=cold-poetry-09157238,quiet-snow-71788278`
|
|
8457
|
-
*
|
|
8458
|
-
*/
|
|
8459
|
-
project_ids: Array<string>;
|
|
8460
|
-
/**
|
|
8461
|
-
* Optional branch IDs to filter the response (up to 100). If omitted, all branches in the
|
|
8462
|
-
* listed projects are included.
|
|
8463
|
-
*
|
|
8464
|
-
* Pass multiple IDs as repeated query parameters or a comma-separated list:
|
|
8465
|
-
* - `branch_ids=br-aged-salad-637688&branch_ids=br-sweet-breeze-497520`
|
|
8466
|
-
* - `branch_ids=br-aged-salad-637688,br-sweet-breeze-497520`
|
|
8467
|
-
*
|
|
8468
|
-
*/
|
|
8469
|
-
branch_ids?: Array<string>;
|
|
8470
|
-
/**
|
|
8471
|
-
* Specify the start `date-time` for the consumption period.
|
|
8472
|
-
* The `date-time` value is rounded according to the specified `granularity`.
|
|
8473
|
-
* For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`.
|
|
8474
|
-
* The specified `date-time` value must respect the specified `granularity`:
|
|
8475
|
-
* - For `hourly`, consumption metrics are limited to the last 168 hours.
|
|
8476
|
-
* - For `daily`, consumption metrics are limited to the last 60 days.
|
|
8477
|
-
* - For `monthly`, consumption metrics are limited to the last year.
|
|
8478
|
-
*
|
|
8479
|
-
* Branch-level metrics are returned from when the account first ingests branch-level
|
|
8480
|
-
* consumption data. Periods before that time contain no branch metrics.
|
|
8481
|
-
*
|
|
8482
|
-
*/
|
|
8483
|
-
from: string;
|
|
8484
|
-
/**
|
|
8485
|
-
* Specify the end `date-time` for the consumption period.
|
|
8486
|
-
* The `date-time` value is rounded according to the specified `granularity`.
|
|
8487
|
-
* For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`.
|
|
8488
|
-
* The specified `date-time` value must respect the specified `granularity`:
|
|
8489
|
-
* - For `hourly`, consumption metrics are limited to the last 168 hours.
|
|
8490
|
-
* - For `daily`, consumption metrics are limited to the last 60 days.
|
|
8491
|
-
* - For `monthly`, consumption metrics are limited to the last year.
|
|
8492
|
-
*
|
|
8493
|
-
*/
|
|
8494
|
-
to: string;
|
|
9453
|
+
path: {
|
|
8495
9454
|
/**
|
|
8496
|
-
*
|
|
8497
|
-
* Hourly, daily, and monthly metrics are available for the last 168 hours, 60 days,
|
|
8498
|
-
* and 1 year, respectively.
|
|
8499
|
-
*
|
|
9455
|
+
* The Neon organization ID
|
|
8500
9456
|
*/
|
|
8501
|
-
|
|
9457
|
+
org_id: string;
|
|
8502
9458
|
/**
|
|
8503
|
-
*
|
|
9459
|
+
* The Neon region ID.
|
|
9460
|
+
* Azure regions are currently not supported.
|
|
8504
9461
|
*
|
|
8505
9462
|
*/
|
|
8506
|
-
|
|
9463
|
+
region_id: string;
|
|
8507
9464
|
/**
|
|
8508
|
-
*
|
|
8509
|
-
* - `compute_unit_seconds`
|
|
8510
|
-
* - `root_branch_bytes_month`
|
|
8511
|
-
* - `child_branch_bytes_month`
|
|
8512
|
-
* - `instant_restore_bytes_month`
|
|
8513
|
-
* - `public_network_transfer_bytes`
|
|
8514
|
-
* - `private_network_transfer_bytes`
|
|
8515
|
-
*
|
|
8516
|
-
* Not supported on this endpoint: `extra_branches_month`, `snapshot_storage_bytes_month`.
|
|
8517
|
-
* Use `GET /consumption_history/v2/projects` for those.
|
|
8518
|
-
*
|
|
8519
|
-
* Pass multiple values as repeated query parameters or a comma-separated list:
|
|
8520
|
-
* - `metrics=compute_unit_seconds&metrics=public_network_transfer_bytes`
|
|
8521
|
-
* - `metrics=compute_unit_seconds,public_network_transfer_bytes`
|
|
8522
|
-
*
|
|
9465
|
+
* The VPC endpoint ID
|
|
8523
9466
|
*/
|
|
8524
|
-
|
|
9467
|
+
vpc_endpoint_id: string;
|
|
8525
9468
|
};
|
|
8526
|
-
|
|
9469
|
+
query?: never;
|
|
9470
|
+
url: '/organizations/{org_id}/vpc/region/{region_id}/vpc_endpoints/{vpc_endpoint_id}';
|
|
8527
9471
|
};
|
|
8528
|
-
type
|
|
8529
|
-
/**
|
|
8530
|
-
* Not available for this account. Branch consumption history requires a paid usage-based
|
|
8531
|
-
* Launch, Scale, Agent, or Enterprise plan.
|
|
8532
|
-
*
|
|
8533
|
-
*/
|
|
8534
|
-
403: GeneralError;
|
|
8535
|
-
/**
|
|
8536
|
-
* Account is not a member of the organization specified by `org_id`.
|
|
8537
|
-
*/
|
|
8538
|
-
404: GeneralError;
|
|
8539
|
-
/**
|
|
8540
|
-
* The `from` and `to` range is not valid for the selected `granularity`. Adjust the range or
|
|
8541
|
-
* choose a different granularity.
|
|
8542
|
-
*
|
|
8543
|
-
*/
|
|
8544
|
-
406: GeneralError;
|
|
8545
|
-
/**
|
|
8546
|
-
* Too many requests
|
|
8547
|
-
*/
|
|
8548
|
-
429: GeneralError;
|
|
9472
|
+
type GetOrganizationVpcEndpointDetailsErrors = {
|
|
8549
9473
|
/**
|
|
8550
9474
|
* General Error.
|
|
8551
9475
|
*
|
|
@@ -8565,26 +9489,36 @@ type GetConsumptionHistoryPerBranchV2Errors = {
|
|
|
8565
9489
|
*/
|
|
8566
9490
|
'4XX': GeneralError;
|
|
8567
9491
|
};
|
|
8568
|
-
type
|
|
8569
|
-
type
|
|
9492
|
+
type GetOrganizationVpcEndpointDetailsError = GetOrganizationVpcEndpointDetailsErrors[keyof GetOrganizationVpcEndpointDetailsErrors];
|
|
9493
|
+
type GetOrganizationVpcEndpointDetailsResponses = {
|
|
8570
9494
|
/**
|
|
8571
|
-
*
|
|
9495
|
+
* Returned the current status and configuration details of the specified VPC endpoint.
|
|
8572
9496
|
*/
|
|
8573
|
-
200:
|
|
9497
|
+
200: VpcEndpointDetails;
|
|
8574
9498
|
};
|
|
8575
|
-
type
|
|
8576
|
-
type
|
|
8577
|
-
body
|
|
9499
|
+
type GetOrganizationVpcEndpointDetailsResponse = GetOrganizationVpcEndpointDetailsResponses[keyof GetOrganizationVpcEndpointDetailsResponses];
|
|
9500
|
+
type AssignOrganizationVpcEndpointData = {
|
|
9501
|
+
body: VpcEndpointAssignment;
|
|
8578
9502
|
path: {
|
|
8579
9503
|
/**
|
|
8580
9504
|
* The Neon organization ID
|
|
8581
9505
|
*/
|
|
8582
9506
|
org_id: string;
|
|
9507
|
+
/**
|
|
9508
|
+
* The Neon region ID.
|
|
9509
|
+
* Azure regions are currently not supported.
|
|
9510
|
+
*
|
|
9511
|
+
*/
|
|
9512
|
+
region_id: string;
|
|
9513
|
+
/**
|
|
9514
|
+
* The VPC endpoint ID
|
|
9515
|
+
*/
|
|
9516
|
+
vpc_endpoint_id: string;
|
|
8583
9517
|
};
|
|
8584
9518
|
query?: never;
|
|
8585
|
-
url: '/organizations/{org_id}';
|
|
9519
|
+
url: '/organizations/{org_id}/vpc/region/{region_id}/vpc_endpoints/{vpc_endpoint_id}';
|
|
8586
9520
|
};
|
|
8587
|
-
type
|
|
9521
|
+
type AssignOrganizationVpcEndpointErrors = {
|
|
8588
9522
|
/**
|
|
8589
9523
|
* General Error.
|
|
8590
9524
|
*
|
|
@@ -8604,26 +9538,27 @@ type GetOrganizationErrors = {
|
|
|
8604
9538
|
*/
|
|
8605
9539
|
'4XX': GeneralError;
|
|
8606
9540
|
};
|
|
8607
|
-
type
|
|
8608
|
-
type
|
|
9541
|
+
type AssignOrganizationVpcEndpointError = AssignOrganizationVpcEndpointErrors[keyof AssignOrganizationVpcEndpointErrors];
|
|
9542
|
+
type AssignOrganizationVpcEndpointResponses = {
|
|
8609
9543
|
/**
|
|
8610
|
-
*
|
|
9544
|
+
* Assigned the VPC endpoint to the specified Neon organization
|
|
8611
9545
|
*/
|
|
8612
|
-
200:
|
|
9546
|
+
200: unknown;
|
|
8613
9547
|
};
|
|
8614
|
-
type
|
|
8615
|
-
type ListOrgApiKeysData = {
|
|
9548
|
+
type GetActiveRegionsData = {
|
|
8616
9549
|
body?: never;
|
|
8617
|
-
path
|
|
9550
|
+
path?: never;
|
|
9551
|
+
query?: {
|
|
8618
9552
|
/**
|
|
8619
|
-
*
|
|
9553
|
+
* Organization ID. When provided, returns only regions available to this organization.
|
|
9554
|
+
* Recommended for accurate region availability.
|
|
9555
|
+
*
|
|
8620
9556
|
*/
|
|
8621
|
-
org_id
|
|
9557
|
+
org_id?: string;
|
|
8622
9558
|
};
|
|
8623
|
-
|
|
8624
|
-
url: '/organizations/{org_id}/api_keys';
|
|
9559
|
+
url: '/regions';
|
|
8625
9560
|
};
|
|
8626
|
-
type
|
|
9561
|
+
type GetActiveRegionsErrors = {
|
|
8627
9562
|
/**
|
|
8628
9563
|
* General Error.
|
|
8629
9564
|
*
|
|
@@ -8643,26 +9578,21 @@ type ListOrgApiKeysErrors = {
|
|
|
8643
9578
|
*/
|
|
8644
9579
|
'4XX': GeneralError;
|
|
8645
9580
|
};
|
|
8646
|
-
type
|
|
8647
|
-
type
|
|
9581
|
+
type GetActiveRegionsError = GetActiveRegionsErrors[keyof GetActiveRegionsErrors];
|
|
9582
|
+
type GetActiveRegionsResponses = {
|
|
8648
9583
|
/**
|
|
8649
|
-
*
|
|
9584
|
+
* The list of active regions
|
|
8650
9585
|
*/
|
|
8651
|
-
200:
|
|
9586
|
+
200: ActiveRegionsResponse;
|
|
8652
9587
|
};
|
|
8653
|
-
type
|
|
8654
|
-
type
|
|
8655
|
-
body
|
|
8656
|
-
path
|
|
8657
|
-
/**
|
|
8658
|
-
* The Neon organization ID
|
|
8659
|
-
*/
|
|
8660
|
-
org_id: string;
|
|
8661
|
-
};
|
|
9588
|
+
type GetActiveRegionsResponse = GetActiveRegionsResponses[keyof GetActiveRegionsResponses];
|
|
9589
|
+
type GetCurrentUserInfoData = {
|
|
9590
|
+
body?: never;
|
|
9591
|
+
path?: never;
|
|
8662
9592
|
query?: never;
|
|
8663
|
-
url: '/
|
|
9593
|
+
url: '/users/me';
|
|
8664
9594
|
};
|
|
8665
|
-
type
|
|
9595
|
+
type GetCurrentUserInfoErrors = {
|
|
8666
9596
|
/**
|
|
8667
9597
|
* General Error.
|
|
8668
9598
|
*
|
|
@@ -8682,30 +9612,22 @@ type CreateOrgApiKeyErrors = {
|
|
|
8682
9612
|
*/
|
|
8683
9613
|
'4XX': GeneralError;
|
|
8684
9614
|
};
|
|
8685
|
-
type
|
|
8686
|
-
type
|
|
9615
|
+
type GetCurrentUserInfoError = GetCurrentUserInfoErrors[keyof GetCurrentUserInfoErrors];
|
|
9616
|
+
type GetCurrentUserInfoResponses = {
|
|
8687
9617
|
/**
|
|
8688
|
-
*
|
|
9618
|
+
* Returned information about the current user
|
|
9619
|
+
*
|
|
8689
9620
|
*/
|
|
8690
|
-
200:
|
|
9621
|
+
200: CurrentUserInfoResponse;
|
|
8691
9622
|
};
|
|
8692
|
-
type
|
|
8693
|
-
type
|
|
9623
|
+
type GetCurrentUserInfoResponse = GetCurrentUserInfoResponses[keyof GetCurrentUserInfoResponses];
|
|
9624
|
+
type GetCurrentUserOrganizationsData = {
|
|
8694
9625
|
body?: never;
|
|
8695
|
-
path
|
|
8696
|
-
/**
|
|
8697
|
-
* The Neon organization ID
|
|
8698
|
-
*/
|
|
8699
|
-
org_id: string;
|
|
8700
|
-
/**
|
|
8701
|
-
* The API key ID
|
|
8702
|
-
*/
|
|
8703
|
-
key_id: number;
|
|
8704
|
-
};
|
|
9626
|
+
path?: never;
|
|
8705
9627
|
query?: never;
|
|
8706
|
-
url: '/
|
|
9628
|
+
url: '/users/me/organizations';
|
|
8707
9629
|
};
|
|
8708
|
-
type
|
|
9630
|
+
type GetCurrentUserOrganizationsErrors = {
|
|
8709
9631
|
/**
|
|
8710
9632
|
* General Error.
|
|
8711
9633
|
*
|
|
@@ -8725,26 +9647,30 @@ type RevokeOrgApiKeyErrors = {
|
|
|
8725
9647
|
*/
|
|
8726
9648
|
'4XX': GeneralError;
|
|
8727
9649
|
};
|
|
8728
|
-
type
|
|
8729
|
-
type
|
|
9650
|
+
type GetCurrentUserOrganizationsError = GetCurrentUserOrganizationsErrors[keyof GetCurrentUserOrganizationsErrors];
|
|
9651
|
+
type GetCurrentUserOrganizationsResponses = {
|
|
8730
9652
|
/**
|
|
8731
|
-
*
|
|
8732
|
-
|
|
8733
|
-
|
|
8734
|
-
|
|
8735
|
-
|
|
8736
|
-
type
|
|
8737
|
-
|
|
8738
|
-
|
|
8739
|
-
|
|
8740
|
-
* The Neon organization ID
|
|
8741
|
-
*/
|
|
8742
|
-
org_id: string;
|
|
8743
|
-
};
|
|
9653
|
+
* Returned information about the current user organizations
|
|
9654
|
+
*
|
|
9655
|
+
*/
|
|
9656
|
+
200: OrganizationsResponse;
|
|
9657
|
+
};
|
|
9658
|
+
type GetCurrentUserOrganizationsResponse = GetCurrentUserOrganizationsResponses[keyof GetCurrentUserOrganizationsResponses];
|
|
9659
|
+
type TransferProjectsFromUserToOrgData = {
|
|
9660
|
+
body: TransferProjectsToOrganizationRequest;
|
|
9661
|
+
path?: never;
|
|
8744
9662
|
query?: never;
|
|
8745
|
-
url: '/
|
|
9663
|
+
url: '/users/me/projects/transfer';
|
|
8746
9664
|
};
|
|
8747
|
-
type
|
|
9665
|
+
type TransferProjectsFromUserToOrgErrors = {
|
|
9666
|
+
/**
|
|
9667
|
+
* Transfer failed - the target organization has too many projects or its plan is incompatible with the source account. Reduce the number of projects or upgrade the target organization to increase its capacity.
|
|
9668
|
+
*/
|
|
9669
|
+
406: LimitsUnsatisfiedResponse;
|
|
9670
|
+
/**
|
|
9671
|
+
* One or more of the provided project IDs have GitHub or Vercel integrations installed. Transferring integration projects is currently not supported
|
|
9672
|
+
*/
|
|
9673
|
+
422: ProjectsWithIntegrationResponse;
|
|
8748
9674
|
/**
|
|
8749
9675
|
* General Error.
|
|
8750
9676
|
*
|
|
@@ -8764,26 +9690,21 @@ type DeleteOrganizationSpendingLimitErrors = {
|
|
|
8764
9690
|
*/
|
|
8765
9691
|
'4XX': GeneralError;
|
|
8766
9692
|
};
|
|
8767
|
-
type
|
|
8768
|
-
type
|
|
9693
|
+
type TransferProjectsFromUserToOrgError = TransferProjectsFromUserToOrgErrors[keyof TransferProjectsFromUserToOrgErrors];
|
|
9694
|
+
type TransferProjectsFromUserToOrgResponses = {
|
|
8769
9695
|
/**
|
|
8770
|
-
*
|
|
9696
|
+
* Projects successfully transferred from personal account to organization
|
|
8771
9697
|
*/
|
|
8772
9698
|
200: EmptyResponse;
|
|
8773
9699
|
};
|
|
8774
|
-
type
|
|
8775
|
-
type
|
|
9700
|
+
type TransferProjectsFromUserToOrgResponse = TransferProjectsFromUserToOrgResponses[keyof TransferProjectsFromUserToOrgResponses];
|
|
9701
|
+
type GetAuthDetailsData = {
|
|
8776
9702
|
body?: never;
|
|
8777
|
-
path
|
|
8778
|
-
/**
|
|
8779
|
-
* The Neon organization ID
|
|
8780
|
-
*/
|
|
8781
|
-
org_id: string;
|
|
8782
|
-
};
|
|
9703
|
+
path?: never;
|
|
8783
9704
|
query?: never;
|
|
8784
|
-
url: '/
|
|
9705
|
+
url: '/auth';
|
|
8785
9706
|
};
|
|
8786
|
-
type
|
|
9707
|
+
type GetAuthDetailsErrors = {
|
|
8787
9708
|
/**
|
|
8788
9709
|
* General Error.
|
|
8789
9710
|
*
|
|
@@ -8803,26 +9724,54 @@ type GetOrganizationSpendingLimitErrors = {
|
|
|
8803
9724
|
*/
|
|
8804
9725
|
'4XX': GeneralError;
|
|
8805
9726
|
};
|
|
8806
|
-
type
|
|
8807
|
-
type
|
|
9727
|
+
type GetAuthDetailsError = GetAuthDetailsErrors[keyof GetAuthDetailsErrors];
|
|
9728
|
+
type GetAuthDetailsResponses = {
|
|
8808
9729
|
/**
|
|
8809
|
-
*
|
|
9730
|
+
* Returned auth information about the current auth entity
|
|
9731
|
+
*
|
|
8810
9732
|
*/
|
|
8811
|
-
200:
|
|
9733
|
+
200: AuthDetailsResponse;
|
|
8812
9734
|
};
|
|
8813
|
-
type
|
|
8814
|
-
type
|
|
8815
|
-
body
|
|
9735
|
+
type GetAuthDetailsResponse = GetAuthDetailsResponses[keyof GetAuthDetailsResponses];
|
|
9736
|
+
type CreateSnapshotData = {
|
|
9737
|
+
body?: never;
|
|
8816
9738
|
path: {
|
|
8817
9739
|
/**
|
|
8818
|
-
* The Neon
|
|
9740
|
+
* The Neon project ID
|
|
8819
9741
|
*/
|
|
8820
|
-
|
|
9742
|
+
project_id: string;
|
|
9743
|
+
/**
|
|
9744
|
+
* The branch ID
|
|
9745
|
+
*/
|
|
9746
|
+
branch_id: string;
|
|
8821
9747
|
};
|
|
8822
|
-
query?:
|
|
8823
|
-
|
|
9748
|
+
query?: {
|
|
9749
|
+
/**
|
|
9750
|
+
* The target Log Sequence Number (LSN) to take the snapshot from.
|
|
9751
|
+
* Must fall within the restore window. Cannot be used with `timestamp`
|
|
9752
|
+
*
|
|
9753
|
+
*/
|
|
9754
|
+
lsn?: string;
|
|
9755
|
+
/**
|
|
9756
|
+
* The target timestamp for the snapshot. Must fall within the restore window.
|
|
9757
|
+
* Use ISO 8601 format (e.g. 2025-08-05T22:00:00Z). Cannot be used with `lsn`.
|
|
9758
|
+
*
|
|
9759
|
+
*/
|
|
9760
|
+
timestamp?: string;
|
|
9761
|
+
/**
|
|
9762
|
+
* A name for the snapshot.
|
|
9763
|
+
*/
|
|
9764
|
+
name?: string;
|
|
9765
|
+
/**
|
|
9766
|
+
* The time at which the snapshot will be automatically deleted.
|
|
9767
|
+
* Use ISO 8601 format (e.g. 2025-08-05T22:00:00Z).
|
|
9768
|
+
*
|
|
9769
|
+
*/
|
|
9770
|
+
expires_at?: string;
|
|
9771
|
+
};
|
|
9772
|
+
url: '/projects/{project_id}/branches/{branch_id}/snapshot';
|
|
8824
9773
|
};
|
|
8825
|
-
type
|
|
9774
|
+
type CreateSnapshotErrors = {
|
|
8826
9775
|
/**
|
|
8827
9776
|
* General Error.
|
|
8828
9777
|
*
|
|
@@ -8842,43 +9791,29 @@ type SetOrganizationSpendingLimitErrors = {
|
|
|
8842
9791
|
*/
|
|
8843
9792
|
'4XX': GeneralError;
|
|
8844
9793
|
};
|
|
8845
|
-
type
|
|
8846
|
-
type
|
|
9794
|
+
type CreateSnapshotError = CreateSnapshotErrors[keyof CreateSnapshotErrors];
|
|
9795
|
+
type CreateSnapshotResponses = {
|
|
8847
9796
|
/**
|
|
8848
|
-
*
|
|
9797
|
+
* Successfully created the snapshot
|
|
8849
9798
|
*/
|
|
8850
|
-
200:
|
|
9799
|
+
200: {
|
|
9800
|
+
snapshot: Snapshot;
|
|
9801
|
+
operations: Array<Operation>;
|
|
9802
|
+
};
|
|
8851
9803
|
};
|
|
8852
|
-
type
|
|
8853
|
-
type
|
|
9804
|
+
type CreateSnapshotResponse = CreateSnapshotResponses[keyof CreateSnapshotResponses];
|
|
9805
|
+
type ListSnapshotsData = {
|
|
8854
9806
|
body?: never;
|
|
8855
9807
|
path: {
|
|
8856
9808
|
/**
|
|
8857
|
-
* The Neon
|
|
8858
|
-
*/
|
|
8859
|
-
org_id: string;
|
|
8860
|
-
};
|
|
8861
|
-
query?: {
|
|
8862
|
-
/**
|
|
8863
|
-
* Sort the members by the specified field. Defaults to `joined_at`.
|
|
8864
|
-
*/
|
|
8865
|
-
sort_by?: 'email' | 'role' | 'joined_at';
|
|
8866
|
-
/**
|
|
8867
|
-
* A cursor to use in pagination. A cursor defines your place in the data list. Include `response.pagination.next` in subsequent API calls to fetch next page of the list.
|
|
8868
|
-
*/
|
|
8869
|
-
cursor?: string;
|
|
8870
|
-
/**
|
|
8871
|
-
* Defines the sorting order of entities.
|
|
8872
|
-
*/
|
|
8873
|
-
sort_order?: 'asc' | 'desc';
|
|
8874
|
-
/**
|
|
8875
|
-
* The maximum number of members to return in the response
|
|
9809
|
+
* The Neon project ID
|
|
8876
9810
|
*/
|
|
8877
|
-
|
|
9811
|
+
project_id: string;
|
|
8878
9812
|
};
|
|
8879
|
-
|
|
9813
|
+
query?: never;
|
|
9814
|
+
url: '/projects/{project_id}/snapshots';
|
|
8880
9815
|
};
|
|
8881
|
-
type
|
|
9816
|
+
type ListSnapshotsErrors = {
|
|
8882
9817
|
/**
|
|
8883
9818
|
* General Error.
|
|
8884
9819
|
*
|
|
@@ -8898,30 +9833,32 @@ type GetOrganizationMembersErrors = {
|
|
|
8898
9833
|
*/
|
|
8899
9834
|
'4XX': GeneralError;
|
|
8900
9835
|
};
|
|
8901
|
-
type
|
|
8902
|
-
type
|
|
9836
|
+
type ListSnapshotsError = ListSnapshotsErrors[keyof ListSnapshotsErrors];
|
|
9837
|
+
type ListSnapshotsResponses = {
|
|
8903
9838
|
/**
|
|
8904
|
-
*
|
|
9839
|
+
* Projects snapshots
|
|
8905
9840
|
*/
|
|
8906
|
-
200:
|
|
9841
|
+
200: {
|
|
9842
|
+
snapshots: Array<Snapshot>;
|
|
9843
|
+
};
|
|
8907
9844
|
};
|
|
8908
|
-
type
|
|
8909
|
-
type
|
|
9845
|
+
type ListSnapshotsResponse = ListSnapshotsResponses[keyof ListSnapshotsResponses];
|
|
9846
|
+
type DeleteSnapshotData = {
|
|
8910
9847
|
body?: never;
|
|
8911
9848
|
path: {
|
|
8912
9849
|
/**
|
|
8913
|
-
* The Neon
|
|
9850
|
+
* The Neon project ID
|
|
8914
9851
|
*/
|
|
8915
|
-
|
|
9852
|
+
project_id: string;
|
|
8916
9853
|
/**
|
|
8917
|
-
* The
|
|
9854
|
+
* The snapshot ID
|
|
8918
9855
|
*/
|
|
8919
|
-
|
|
9856
|
+
snapshot_id: string;
|
|
8920
9857
|
};
|
|
8921
9858
|
query?: never;
|
|
8922
|
-
url: '/
|
|
9859
|
+
url: '/projects/{project_id}/snapshots/{snapshot_id}';
|
|
8923
9860
|
};
|
|
8924
|
-
type
|
|
9861
|
+
type DeleteSnapshotErrors = {
|
|
8925
9862
|
/**
|
|
8926
9863
|
* General Error.
|
|
8927
9864
|
*
|
|
@@ -8941,30 +9878,30 @@ type RemoveOrganizationMemberErrors = {
|
|
|
8941
9878
|
*/
|
|
8942
9879
|
'4XX': GeneralError;
|
|
8943
9880
|
};
|
|
8944
|
-
type
|
|
8945
|
-
type
|
|
9881
|
+
type DeleteSnapshotError = DeleteSnapshotErrors[keyof DeleteSnapshotErrors];
|
|
9882
|
+
type DeleteSnapshotResponses = {
|
|
8946
9883
|
/**
|
|
8947
|
-
*
|
|
9884
|
+
* OK
|
|
8948
9885
|
*/
|
|
8949
|
-
|
|
9886
|
+
202: OperationsResponse;
|
|
8950
9887
|
};
|
|
8951
|
-
type
|
|
8952
|
-
type
|
|
8953
|
-
body
|
|
9888
|
+
type DeleteSnapshotResponse = DeleteSnapshotResponses[keyof DeleteSnapshotResponses];
|
|
9889
|
+
type UpdateSnapshotData = {
|
|
9890
|
+
body: SnapshotUpdateRequest;
|
|
8954
9891
|
path: {
|
|
8955
9892
|
/**
|
|
8956
|
-
* The Neon
|
|
9893
|
+
* The Neon project ID
|
|
8957
9894
|
*/
|
|
8958
|
-
|
|
9895
|
+
project_id: string;
|
|
8959
9896
|
/**
|
|
8960
|
-
* The
|
|
9897
|
+
* The snapshot ID
|
|
8961
9898
|
*/
|
|
8962
|
-
|
|
9899
|
+
snapshot_id: string;
|
|
8963
9900
|
};
|
|
8964
9901
|
query?: never;
|
|
8965
|
-
url: '/
|
|
9902
|
+
url: '/projects/{project_id}/snapshots/{snapshot_id}';
|
|
8966
9903
|
};
|
|
8967
|
-
type
|
|
9904
|
+
type UpdateSnapshotErrors = {
|
|
8968
9905
|
/**
|
|
8969
9906
|
* General Error.
|
|
8970
9907
|
*
|
|
@@ -8984,30 +9921,63 @@ type GetOrganizationMemberErrors = {
|
|
|
8984
9921
|
*/
|
|
8985
9922
|
'4XX': GeneralError;
|
|
8986
9923
|
};
|
|
8987
|
-
type
|
|
8988
|
-
type
|
|
9924
|
+
type UpdateSnapshotError = UpdateSnapshotErrors[keyof UpdateSnapshotErrors];
|
|
9925
|
+
type UpdateSnapshotResponses = {
|
|
8989
9926
|
/**
|
|
8990
|
-
*
|
|
9927
|
+
* Successfully updated the snapshot
|
|
8991
9928
|
*/
|
|
8992
|
-
200:
|
|
9929
|
+
200: {
|
|
9930
|
+
snapshot: Snapshot;
|
|
9931
|
+
};
|
|
8993
9932
|
};
|
|
8994
|
-
type
|
|
8995
|
-
type
|
|
8996
|
-
body
|
|
9933
|
+
type UpdateSnapshotResponse = UpdateSnapshotResponses[keyof UpdateSnapshotResponses];
|
|
9934
|
+
type RestoreSnapshotData = {
|
|
9935
|
+
body?: {
|
|
9936
|
+
/**
|
|
9937
|
+
* A name for the newly restored branch.
|
|
9938
|
+
* If omitted, a default name will be generated.
|
|
9939
|
+
*
|
|
9940
|
+
*/
|
|
9941
|
+
name?: string;
|
|
9942
|
+
/**
|
|
9943
|
+
* The ID of the branch to restore the snapshot into.
|
|
9944
|
+
* If not specified, the branch from which the snapshot was originally
|
|
9945
|
+
* created (`snapshot.source_branch_id`) will be used.
|
|
9946
|
+
*
|
|
9947
|
+
*/
|
|
9948
|
+
target_branch_id?: string;
|
|
9949
|
+
/**
|
|
9950
|
+
* Set to `true` to finalize the restore operation immediately.
|
|
9951
|
+
* This will complete the restore and move any associated computes to the new branch,
|
|
9952
|
+
* similar to the `finalizeRestoreBranch` operation.
|
|
9953
|
+
* Defaults to `false` to allow previewing the restored snapshot data first.
|
|
9954
|
+
*
|
|
9955
|
+
*/
|
|
9956
|
+
finalize_restore?: boolean;
|
|
9957
|
+
};
|
|
8997
9958
|
path: {
|
|
8998
9959
|
/**
|
|
8999
|
-
* The Neon
|
|
9960
|
+
* The Neon project ID
|
|
9000
9961
|
*/
|
|
9001
|
-
|
|
9962
|
+
project_id: string;
|
|
9002
9963
|
/**
|
|
9003
|
-
* The
|
|
9964
|
+
* The snapshot ID
|
|
9004
9965
|
*/
|
|
9005
|
-
|
|
9966
|
+
snapshot_id: string;
|
|
9006
9967
|
};
|
|
9007
|
-
query?:
|
|
9008
|
-
|
|
9968
|
+
query?: {
|
|
9969
|
+
/**
|
|
9970
|
+
* DEPRECATED. Use the `name` field in the request body instead.
|
|
9971
|
+
* A name for the newly restored branch. If omitted, a default name will be generated.
|
|
9972
|
+
*
|
|
9973
|
+
*
|
|
9974
|
+
* @deprecated
|
|
9975
|
+
*/
|
|
9976
|
+
name?: string;
|
|
9977
|
+
};
|
|
9978
|
+
url: '/projects/{project_id}/snapshots/{snapshot_id}/restore';
|
|
9009
9979
|
};
|
|
9010
|
-
type
|
|
9980
|
+
type RestoreSnapshotErrors = {
|
|
9011
9981
|
/**
|
|
9012
9982
|
* General Error.
|
|
9013
9983
|
*
|
|
@@ -9027,26 +9997,30 @@ type UpdateOrganizationMemberErrors = {
|
|
|
9027
9997
|
*/
|
|
9028
9998
|
'4XX': GeneralError;
|
|
9029
9999
|
};
|
|
9030
|
-
type
|
|
9031
|
-
type
|
|
10000
|
+
type RestoreSnapshotError = RestoreSnapshotErrors[keyof RestoreSnapshotErrors];
|
|
10001
|
+
type RestoreSnapshotResponses = {
|
|
9032
10002
|
/**
|
|
9033
|
-
*
|
|
10003
|
+
* Branch restored from snapshot and its operations.
|
|
9034
10004
|
*/
|
|
9035
|
-
200:
|
|
10005
|
+
200: BranchResponse & EndpointsOptionalResponse & OperationsResponse;
|
|
9036
10006
|
};
|
|
9037
|
-
type
|
|
9038
|
-
type
|
|
10007
|
+
type RestoreSnapshotResponse = RestoreSnapshotResponses[keyof RestoreSnapshotResponses];
|
|
10008
|
+
type GetSnapshotScheduleData = {
|
|
9039
10009
|
body?: never;
|
|
9040
10010
|
path: {
|
|
9041
10011
|
/**
|
|
9042
|
-
* The Neon
|
|
10012
|
+
* The Neon project ID
|
|
9043
10013
|
*/
|
|
9044
|
-
|
|
10014
|
+
project_id: string;
|
|
10015
|
+
/**
|
|
10016
|
+
* The branch ID
|
|
10017
|
+
*/
|
|
10018
|
+
branch_id: string;
|
|
9045
10019
|
};
|
|
9046
10020
|
query?: never;
|
|
9047
|
-
url: '/
|
|
10021
|
+
url: '/projects/{project_id}/branches/{branch_id}/backup_schedule';
|
|
9048
10022
|
};
|
|
9049
|
-
type
|
|
10023
|
+
type GetSnapshotScheduleErrors = {
|
|
9050
10024
|
/**
|
|
9051
10025
|
* General Error.
|
|
9052
10026
|
*
|
|
@@ -9066,26 +10040,30 @@ type GetOrganizationInvitationsErrors = {
|
|
|
9066
10040
|
*/
|
|
9067
10041
|
'4XX': GeneralError;
|
|
9068
10042
|
};
|
|
9069
|
-
type
|
|
9070
|
-
type
|
|
10043
|
+
type GetSnapshotScheduleError = GetSnapshotScheduleErrors[keyof GetSnapshotScheduleErrors];
|
|
10044
|
+
type GetSnapshotScheduleResponses = {
|
|
9071
10045
|
/**
|
|
9072
|
-
*
|
|
10046
|
+
* Schedule of frequencies to create snapshots
|
|
9073
10047
|
*/
|
|
9074
|
-
200:
|
|
10048
|
+
200: BackupSchedule;
|
|
9075
10049
|
};
|
|
9076
|
-
type
|
|
9077
|
-
type
|
|
9078
|
-
body:
|
|
10050
|
+
type GetSnapshotScheduleResponse = GetSnapshotScheduleResponses[keyof GetSnapshotScheduleResponses];
|
|
10051
|
+
type SetSnapshotScheduleData = {
|
|
10052
|
+
body: BackupSchedule;
|
|
9079
10053
|
path: {
|
|
9080
10054
|
/**
|
|
9081
|
-
* The Neon
|
|
10055
|
+
* The Neon project ID
|
|
9082
10056
|
*/
|
|
9083
|
-
|
|
10057
|
+
project_id: string;
|
|
10058
|
+
/**
|
|
10059
|
+
* The branch ID
|
|
10060
|
+
*/
|
|
10061
|
+
branch_id: string;
|
|
9084
10062
|
};
|
|
9085
10063
|
query?: never;
|
|
9086
|
-
url: '/
|
|
10064
|
+
url: '/projects/{project_id}/branches/{branch_id}/backup_schedule';
|
|
9087
10065
|
};
|
|
9088
|
-
type
|
|
10066
|
+
type SetSnapshotScheduleErrors = {
|
|
9089
10067
|
/**
|
|
9090
10068
|
* General Error.
|
|
9091
10069
|
*
|
|
@@ -9105,34 +10083,30 @@ type CreateOrganizationInvitationsErrors = {
|
|
|
9105
10083
|
*/
|
|
9106
10084
|
'4XX': GeneralError;
|
|
9107
10085
|
};
|
|
9108
|
-
type
|
|
9109
|
-
type
|
|
10086
|
+
type SetSnapshotScheduleError = SetSnapshotScheduleErrors[keyof SetSnapshotScheduleErrors];
|
|
10087
|
+
type SetSnapshotScheduleResponses = {
|
|
9110
10088
|
/**
|
|
9111
|
-
*
|
|
10089
|
+
* Empty response
|
|
9112
10090
|
*/
|
|
9113
|
-
200:
|
|
10091
|
+
200: EmptyResponse;
|
|
9114
10092
|
};
|
|
9115
|
-
type
|
|
9116
|
-
type
|
|
9117
|
-
body
|
|
10093
|
+
type SetSnapshotScheduleResponse = SetSnapshotScheduleResponses[keyof SetSnapshotScheduleResponses];
|
|
10094
|
+
type ListProjectBranchBucketsData = {
|
|
10095
|
+
body?: never;
|
|
9118
10096
|
path: {
|
|
9119
10097
|
/**
|
|
9120
|
-
* The Neon
|
|
10098
|
+
* The Neon project ID
|
|
9121
10099
|
*/
|
|
9122
|
-
|
|
10100
|
+
project_id: string;
|
|
10101
|
+
/**
|
|
10102
|
+
* The Neon branch ID
|
|
10103
|
+
*/
|
|
10104
|
+
branch_id: string;
|
|
9123
10105
|
};
|
|
9124
10106
|
query?: never;
|
|
9125
|
-
url: '/
|
|
10107
|
+
url: '/projects/{project_id}/branches/{branch_id}/buckets';
|
|
9126
10108
|
};
|
|
9127
|
-
type
|
|
9128
|
-
/**
|
|
9129
|
-
* Transfer failed - the target organization has too many projects or its plan is incompatible with the source organization. Reduce projects or upgrade the organization.
|
|
9130
|
-
*/
|
|
9131
|
-
406: LimitsUnsatisfiedResponse;
|
|
9132
|
-
/**
|
|
9133
|
-
* One or more of the provided project IDs have GitHub or Vercel integrations installed. Transferring integration projects is currently not supported
|
|
9134
|
-
*/
|
|
9135
|
-
422: ProjectsWithIntegrationResponse;
|
|
10109
|
+
type ListProjectBranchBucketsErrors = {
|
|
9136
10110
|
/**
|
|
9137
10111
|
* General Error.
|
|
9138
10112
|
*
|
|
@@ -9152,26 +10126,34 @@ type TransferProjectsFromOrgToOrgErrors = {
|
|
|
9152
10126
|
*/
|
|
9153
10127
|
'4XX': GeneralError;
|
|
9154
10128
|
};
|
|
9155
|
-
type
|
|
9156
|
-
type
|
|
10129
|
+
type ListProjectBranchBucketsError = ListProjectBranchBucketsErrors[keyof ListProjectBranchBucketsErrors];
|
|
10130
|
+
type ListProjectBranchBucketsResponses = {
|
|
9157
10131
|
/**
|
|
9158
|
-
*
|
|
10132
|
+
* The list of buckets
|
|
9159
10133
|
*/
|
|
9160
|
-
200:
|
|
10134
|
+
200: BucketsListResponse;
|
|
9161
10135
|
};
|
|
9162
|
-
type
|
|
9163
|
-
type
|
|
9164
|
-
body
|
|
10136
|
+
type ListProjectBranchBucketsResponse = ListProjectBranchBucketsResponses[keyof ListProjectBranchBucketsResponses];
|
|
10137
|
+
type CreateProjectBranchBucketData = {
|
|
10138
|
+
body: BucketCreateRequest;
|
|
9165
10139
|
path: {
|
|
9166
10140
|
/**
|
|
9167
|
-
* The Neon
|
|
10141
|
+
* The Neon project ID
|
|
9168
10142
|
*/
|
|
9169
|
-
|
|
10143
|
+
project_id: string;
|
|
10144
|
+
/**
|
|
10145
|
+
* The Neon branch ID
|
|
10146
|
+
*/
|
|
10147
|
+
branch_id: string;
|
|
9170
10148
|
};
|
|
9171
10149
|
query?: never;
|
|
9172
|
-
url: '/
|
|
10150
|
+
url: '/projects/{project_id}/branches/{branch_id}/buckets';
|
|
9173
10151
|
};
|
|
9174
|
-
type
|
|
10152
|
+
type CreateProjectBranchBucketErrors = {
|
|
10153
|
+
/**
|
|
10154
|
+
* The project has been deleted
|
|
10155
|
+
*/
|
|
10156
|
+
410: GeneralError;
|
|
9175
10157
|
/**
|
|
9176
10158
|
* General Error.
|
|
9177
10159
|
*
|
|
@@ -9191,30 +10173,38 @@ type ListOrganizationVpcEndpointsAllRegionsErrors = {
|
|
|
9191
10173
|
*/
|
|
9192
10174
|
'4XX': GeneralError;
|
|
9193
10175
|
};
|
|
9194
|
-
type
|
|
9195
|
-
type
|
|
10176
|
+
type CreateProjectBranchBucketError = CreateProjectBranchBucketErrors[keyof CreateProjectBranchBucketErrors];
|
|
10177
|
+
type CreateProjectBranchBucketResponses = {
|
|
9196
10178
|
/**
|
|
9197
|
-
*
|
|
10179
|
+
* Bucket created
|
|
9198
10180
|
*/
|
|
9199
|
-
|
|
10181
|
+
201: BucketResponse;
|
|
9200
10182
|
};
|
|
9201
|
-
type
|
|
9202
|
-
type
|
|
10183
|
+
type CreateProjectBranchBucketResponse = CreateProjectBranchBucketResponses[keyof CreateProjectBranchBucketResponses];
|
|
10184
|
+
type DeleteProjectBranchBucketData = {
|
|
9203
10185
|
body?: never;
|
|
9204
10186
|
path: {
|
|
9205
10187
|
/**
|
|
9206
|
-
* The Neon
|
|
10188
|
+
* The Neon project ID
|
|
9207
10189
|
*/
|
|
9208
|
-
|
|
10190
|
+
project_id: string;
|
|
9209
10191
|
/**
|
|
9210
|
-
* The Neon
|
|
10192
|
+
* The Neon branch ID
|
|
9211
10193
|
*/
|
|
9212
|
-
|
|
10194
|
+
branch_id: string;
|
|
10195
|
+
/**
|
|
10196
|
+
* The bucket name
|
|
10197
|
+
*/
|
|
10198
|
+
bucket_name: string;
|
|
9213
10199
|
};
|
|
9214
10200
|
query?: never;
|
|
9215
|
-
url: '/
|
|
10201
|
+
url: '/projects/{project_id}/branches/{branch_id}/buckets/{bucket_name}';
|
|
9216
10202
|
};
|
|
9217
|
-
type
|
|
10203
|
+
type DeleteProjectBranchBucketErrors = {
|
|
10204
|
+
/**
|
|
10205
|
+
* Bucket not found
|
|
10206
|
+
*/
|
|
10207
|
+
404: GeneralError;
|
|
9218
10208
|
/**
|
|
9219
10209
|
* General Error.
|
|
9220
10210
|
*
|
|
@@ -9234,36 +10224,37 @@ type ListOrganizationVpcEndpointsErrors = {
|
|
|
9234
10224
|
*/
|
|
9235
10225
|
'4XX': GeneralError;
|
|
9236
10226
|
};
|
|
9237
|
-
type
|
|
9238
|
-
type
|
|
10227
|
+
type DeleteProjectBranchBucketError = DeleteProjectBranchBucketErrors[keyof DeleteProjectBranchBucketErrors];
|
|
10228
|
+
type DeleteProjectBranchBucketResponses = {
|
|
9239
10229
|
/**
|
|
9240
|
-
*
|
|
10230
|
+
* Bucket deleted
|
|
9241
10231
|
*/
|
|
9242
|
-
|
|
10232
|
+
204: void;
|
|
9243
10233
|
};
|
|
9244
|
-
type
|
|
9245
|
-
type
|
|
10234
|
+
type DeleteProjectBranchBucketResponse = DeleteProjectBranchBucketResponses[keyof DeleteProjectBranchBucketResponses];
|
|
10235
|
+
type GetProjectBranchStorageData = {
|
|
9246
10236
|
body?: never;
|
|
9247
10237
|
path: {
|
|
9248
10238
|
/**
|
|
9249
|
-
* The Neon
|
|
9250
|
-
*/
|
|
9251
|
-
org_id: string;
|
|
9252
|
-
/**
|
|
9253
|
-
* The Neon region ID.
|
|
9254
|
-
* Azure regions are currently not supported.
|
|
9255
|
-
*
|
|
10239
|
+
* The Neon project ID
|
|
9256
10240
|
*/
|
|
9257
|
-
|
|
10241
|
+
project_id: string;
|
|
9258
10242
|
/**
|
|
9259
|
-
* The
|
|
10243
|
+
* The Neon branch ID
|
|
9260
10244
|
*/
|
|
9261
|
-
|
|
10245
|
+
branch_id: string;
|
|
9262
10246
|
};
|
|
9263
10247
|
query?: never;
|
|
9264
|
-
url: '/
|
|
10248
|
+
url: '/projects/{project_id}/branches/{branch_id}/storage';
|
|
9265
10249
|
};
|
|
9266
|
-
type
|
|
10250
|
+
type GetProjectBranchStorageErrors = {
|
|
10251
|
+
/**
|
|
10252
|
+
* Storage is not enabled for this branch, or the project/branch was not
|
|
10253
|
+
* found. The body is always `BranchStorageNotEnabled` — see `reason` for
|
|
10254
|
+
* the exact cause.
|
|
10255
|
+
*
|
|
10256
|
+
*/
|
|
10257
|
+
404: BranchStorageNotEnabled;
|
|
9267
10258
|
/**
|
|
9268
10259
|
* General Error.
|
|
9269
10260
|
*
|
|
@@ -9283,35 +10274,37 @@ type DeleteOrganizationVpcEndpointErrors = {
|
|
|
9283
10274
|
*/
|
|
9284
10275
|
'4XX': GeneralError;
|
|
9285
10276
|
};
|
|
9286
|
-
type
|
|
9287
|
-
type
|
|
10277
|
+
type GetProjectBranchStorageError = GetProjectBranchStorageErrors[keyof GetProjectBranchStorageErrors];
|
|
10278
|
+
type GetProjectBranchStorageResponses = {
|
|
9288
10279
|
/**
|
|
9289
|
-
*
|
|
10280
|
+
* Storage is enabled for this branch
|
|
9290
10281
|
*/
|
|
9291
|
-
200:
|
|
10282
|
+
200: BranchStorage;
|
|
9292
10283
|
};
|
|
9293
|
-
type
|
|
10284
|
+
type GetProjectBranchStorageResponse = GetProjectBranchStorageResponses[keyof GetProjectBranchStorageResponses];
|
|
10285
|
+
type GetProjectBranchAiGatewayData = {
|
|
9294
10286
|
body?: never;
|
|
9295
10287
|
path: {
|
|
9296
10288
|
/**
|
|
9297
|
-
* The Neon
|
|
9298
|
-
*/
|
|
9299
|
-
org_id: string;
|
|
9300
|
-
/**
|
|
9301
|
-
* The Neon region ID.
|
|
9302
|
-
* Azure regions are currently not supported.
|
|
9303
|
-
*
|
|
10289
|
+
* The Neon project ID
|
|
9304
10290
|
*/
|
|
9305
|
-
|
|
10291
|
+
project_id: string;
|
|
9306
10292
|
/**
|
|
9307
|
-
* The
|
|
10293
|
+
* The Neon branch ID
|
|
9308
10294
|
*/
|
|
9309
|
-
|
|
10295
|
+
branch_id: string;
|
|
9310
10296
|
};
|
|
9311
10297
|
query?: never;
|
|
9312
|
-
url: '/
|
|
10298
|
+
url: '/projects/{project_id}/branches/{branch_id}/ai_gateway';
|
|
9313
10299
|
};
|
|
9314
|
-
type
|
|
10300
|
+
type GetProjectBranchAiGatewayErrors = {
|
|
10301
|
+
/**
|
|
10302
|
+
* AI Gateway is not available for this branch, or the project/branch
|
|
10303
|
+
* was not found. The body is always `BranchAiGatewayNotEnabled` — see
|
|
10304
|
+
* `reason` for the exact cause.
|
|
10305
|
+
*
|
|
10306
|
+
*/
|
|
10307
|
+
404: BranchAiGatewayNotEnabled;
|
|
9315
10308
|
/**
|
|
9316
10309
|
* General Error.
|
|
9317
10310
|
*
|
|
@@ -9331,36 +10324,55 @@ type GetOrganizationVpcEndpointDetailsErrors = {
|
|
|
9331
10324
|
*/
|
|
9332
10325
|
'4XX': GeneralError;
|
|
9333
10326
|
};
|
|
9334
|
-
type
|
|
9335
|
-
type
|
|
10327
|
+
type GetProjectBranchAiGatewayError = GetProjectBranchAiGatewayErrors[keyof GetProjectBranchAiGatewayErrors];
|
|
10328
|
+
type GetProjectBranchAiGatewayResponses = {
|
|
9336
10329
|
/**
|
|
9337
|
-
*
|
|
10330
|
+
* AI Gateway is enabled for this branch
|
|
9338
10331
|
*/
|
|
9339
|
-
200:
|
|
10332
|
+
200: BranchAiGateway;
|
|
9340
10333
|
};
|
|
9341
|
-
type
|
|
9342
|
-
type
|
|
9343
|
-
body
|
|
10334
|
+
type GetProjectBranchAiGatewayResponse = GetProjectBranchAiGatewayResponses[keyof GetProjectBranchAiGatewayResponses];
|
|
10335
|
+
type ListProjectBranchBucketObjectsData = {
|
|
10336
|
+
body?: never;
|
|
9344
10337
|
path: {
|
|
9345
10338
|
/**
|
|
9346
|
-
* The Neon
|
|
10339
|
+
* The Neon project ID
|
|
9347
10340
|
*/
|
|
9348
|
-
|
|
10341
|
+
project_id: string;
|
|
9349
10342
|
/**
|
|
9350
|
-
* The Neon
|
|
9351
|
-
|
|
10343
|
+
* The Neon branch ID
|
|
10344
|
+
*/
|
|
10345
|
+
branch_id: string;
|
|
10346
|
+
/**
|
|
10347
|
+
* The bucket name
|
|
10348
|
+
*/
|
|
10349
|
+
bucket_name: string;
|
|
10350
|
+
};
|
|
10351
|
+
query?: {
|
|
10352
|
+
/**
|
|
10353
|
+
* Only list objects whose key starts with this prefix.
|
|
10354
|
+
*/
|
|
10355
|
+
prefix?: string;
|
|
10356
|
+
/**
|
|
10357
|
+
* Collapse keys sharing a common prefix up to the first occurrence of
|
|
10358
|
+
* this delimiter (typically `/`) into the `folders` array.
|
|
9352
10359
|
*
|
|
9353
10360
|
*/
|
|
9354
|
-
|
|
10361
|
+
delimiter?: string;
|
|
9355
10362
|
/**
|
|
9356
|
-
*
|
|
10363
|
+
* Opaque pagination cursor returned as `next_cursor` by a previous
|
|
10364
|
+
* call. Resume listing after the last item of the previous page.
|
|
10365
|
+
*
|
|
9357
10366
|
*/
|
|
9358
|
-
|
|
10367
|
+
cursor?: string;
|
|
10368
|
+
/**
|
|
10369
|
+
* Maximum number of items (objects + folders) to return.
|
|
10370
|
+
*/
|
|
10371
|
+
limit?: number;
|
|
9359
10372
|
};
|
|
9360
|
-
|
|
9361
|
-
url: '/organizations/{org_id}/vpc/region/{region_id}/vpc_endpoints/{vpc_endpoint_id}';
|
|
10373
|
+
url: '/projects/{project_id}/branches/{branch_id}/buckets/{bucket_name}/objects';
|
|
9362
10374
|
};
|
|
9363
|
-
type
|
|
10375
|
+
type ListProjectBranchBucketObjectsErrors = {
|
|
9364
10376
|
/**
|
|
9365
10377
|
* General Error.
|
|
9366
10378
|
*
|
|
@@ -9380,27 +10392,44 @@ type AssignOrganizationVpcEndpointErrors = {
|
|
|
9380
10392
|
*/
|
|
9381
10393
|
'4XX': GeneralError;
|
|
9382
10394
|
};
|
|
9383
|
-
type
|
|
9384
|
-
type
|
|
10395
|
+
type ListProjectBranchBucketObjectsError = ListProjectBranchBucketObjectsErrors[keyof ListProjectBranchBucketObjectsErrors];
|
|
10396
|
+
type ListProjectBranchBucketObjectsResponses = {
|
|
9385
10397
|
/**
|
|
9386
|
-
*
|
|
10398
|
+
* The list of objects and folders
|
|
9387
10399
|
*/
|
|
9388
|
-
200:
|
|
10400
|
+
200: BucketObjectsListResponse;
|
|
9389
10401
|
};
|
|
9390
|
-
type
|
|
10402
|
+
type ListProjectBranchBucketObjectsResponse = ListProjectBranchBucketObjectsResponses[keyof ListProjectBranchBucketObjectsResponses];
|
|
10403
|
+
type DeleteProjectBranchBucketObjectData = {
|
|
9391
10404
|
body?: never;
|
|
9392
|
-
path
|
|
9393
|
-
query?: {
|
|
10405
|
+
path: {
|
|
9394
10406
|
/**
|
|
9395
|
-
*
|
|
9396
|
-
|
|
10407
|
+
* The Neon project ID
|
|
10408
|
+
*/
|
|
10409
|
+
project_id: string;
|
|
10410
|
+
/**
|
|
10411
|
+
* The Neon branch ID
|
|
10412
|
+
*/
|
|
10413
|
+
branch_id: string;
|
|
10414
|
+
/**
|
|
10415
|
+
* The bucket name
|
|
10416
|
+
*/
|
|
10417
|
+
bucket_name: string;
|
|
10418
|
+
/**
|
|
10419
|
+
* The object key. Keys may contain `/`; the `/` characters of nested
|
|
10420
|
+
* keys must be percent-encoded (`%2F`) in the path segment.
|
|
9397
10421
|
*
|
|
9398
10422
|
*/
|
|
9399
|
-
|
|
10423
|
+
object_key: string;
|
|
9400
10424
|
};
|
|
9401
|
-
|
|
10425
|
+
query?: never;
|
|
10426
|
+
url: '/projects/{project_id}/branches/{branch_id}/buckets/{bucket_name}/objects/{object_key}';
|
|
9402
10427
|
};
|
|
9403
|
-
type
|
|
10428
|
+
type DeleteProjectBranchBucketObjectErrors = {
|
|
10429
|
+
/**
|
|
10430
|
+
* Object not found
|
|
10431
|
+
*/
|
|
10432
|
+
404: GeneralError;
|
|
9404
10433
|
/**
|
|
9405
10434
|
* General Error.
|
|
9406
10435
|
*
|
|
@@ -9420,21 +10449,44 @@ type GetActiveRegionsErrors = {
|
|
|
9420
10449
|
*/
|
|
9421
10450
|
'4XX': GeneralError;
|
|
9422
10451
|
};
|
|
9423
|
-
type
|
|
9424
|
-
type
|
|
10452
|
+
type DeleteProjectBranchBucketObjectError = DeleteProjectBranchBucketObjectErrors[keyof DeleteProjectBranchBucketObjectErrors];
|
|
10453
|
+
type DeleteProjectBranchBucketObjectResponses = {
|
|
9425
10454
|
/**
|
|
9426
|
-
*
|
|
10455
|
+
* Object deleted
|
|
9427
10456
|
*/
|
|
9428
|
-
|
|
10457
|
+
204: void;
|
|
9429
10458
|
};
|
|
9430
|
-
type
|
|
9431
|
-
type
|
|
10459
|
+
type DeleteProjectBranchBucketObjectResponse = DeleteProjectBranchBucketObjectResponses[keyof DeleteProjectBranchBucketObjectResponses];
|
|
10460
|
+
type GetProjectBranchBucketObjectData = {
|
|
9432
10461
|
body?: never;
|
|
9433
|
-
path
|
|
10462
|
+
path: {
|
|
10463
|
+
/**
|
|
10464
|
+
* The Neon project ID
|
|
10465
|
+
*/
|
|
10466
|
+
project_id: string;
|
|
10467
|
+
/**
|
|
10468
|
+
* The Neon branch ID
|
|
10469
|
+
*/
|
|
10470
|
+
branch_id: string;
|
|
10471
|
+
/**
|
|
10472
|
+
* The bucket name
|
|
10473
|
+
*/
|
|
10474
|
+
bucket_name: string;
|
|
10475
|
+
/**
|
|
10476
|
+
* The object key. Keys may contain `/`; the `/` characters of nested
|
|
10477
|
+
* keys must be percent-encoded (`%2F`) in the path segment.
|
|
10478
|
+
*
|
|
10479
|
+
*/
|
|
10480
|
+
object_key: string;
|
|
10481
|
+
};
|
|
9434
10482
|
query?: never;
|
|
9435
|
-
url: '/
|
|
10483
|
+
url: '/projects/{project_id}/branches/{branch_id}/buckets/{bucket_name}/objects/{object_key}/download';
|
|
9436
10484
|
};
|
|
9437
|
-
type
|
|
10485
|
+
type GetProjectBranchBucketObjectErrors = {
|
|
10486
|
+
/**
|
|
10487
|
+
* Object not found
|
|
10488
|
+
*/
|
|
10489
|
+
404: GeneralError;
|
|
9438
10490
|
/**
|
|
9439
10491
|
* General Error.
|
|
9440
10492
|
*
|
|
@@ -9454,22 +10506,50 @@ type GetCurrentUserInfoErrors = {
|
|
|
9454
10506
|
*/
|
|
9455
10507
|
'4XX': GeneralError;
|
|
9456
10508
|
};
|
|
9457
|
-
type
|
|
9458
|
-
type
|
|
10509
|
+
type GetProjectBranchBucketObjectError = GetProjectBranchBucketObjectErrors[keyof GetProjectBranchBucketObjectErrors];
|
|
10510
|
+
type GetProjectBranchBucketObjectResponses = {
|
|
9459
10511
|
/**
|
|
9460
|
-
*
|
|
10512
|
+
* The object's raw bytes, streamed verbatim. `Content-Length` and
|
|
10513
|
+
* `ETag` headers are set from the stored object metadata;
|
|
10514
|
+
* `X-Content-Type-Options` and `Content-Disposition` harden the
|
|
10515
|
+
* browser against the caller-controlled bytes.
|
|
9461
10516
|
*
|
|
9462
10517
|
*/
|
|
9463
|
-
200:
|
|
10518
|
+
200: Blob | File;
|
|
9464
10519
|
};
|
|
9465
|
-
type
|
|
9466
|
-
type
|
|
10520
|
+
type GetProjectBranchBucketObjectResponse = GetProjectBranchBucketObjectResponses[keyof GetProjectBranchBucketObjectResponses];
|
|
10521
|
+
type DeleteProjectBranchBucketObjectsByPrefixData = {
|
|
9467
10522
|
body?: never;
|
|
9468
|
-
path
|
|
9469
|
-
|
|
9470
|
-
|
|
10523
|
+
path: {
|
|
10524
|
+
/**
|
|
10525
|
+
* The Neon project ID
|
|
10526
|
+
*/
|
|
10527
|
+
project_id: string;
|
|
10528
|
+
/**
|
|
10529
|
+
* The Neon branch ID
|
|
10530
|
+
*/
|
|
10531
|
+
branch_id: string;
|
|
10532
|
+
/**
|
|
10533
|
+
* The bucket name
|
|
10534
|
+
*/
|
|
10535
|
+
bucket_name: string;
|
|
10536
|
+
};
|
|
10537
|
+
query: {
|
|
10538
|
+
/**
|
|
10539
|
+
* The key prefix (folder) to delete. Must be non-empty and end with
|
|
10540
|
+
* `/`. Every object on this branch whose key starts with this prefix
|
|
10541
|
+
* is soft-deleted.
|
|
10542
|
+
*
|
|
10543
|
+
*/
|
|
10544
|
+
prefix: string;
|
|
10545
|
+
};
|
|
10546
|
+
url: '/projects/{project_id}/branches/{branch_id}/buckets/{bucket_name}/objects-by-prefix';
|
|
9471
10547
|
};
|
|
9472
|
-
type
|
|
10548
|
+
type DeleteProjectBranchBucketObjectsByPrefixErrors = {
|
|
10549
|
+
/**
|
|
10550
|
+
* Bucket not found
|
|
10551
|
+
*/
|
|
10552
|
+
404: GeneralError;
|
|
9473
10553
|
/**
|
|
9474
10554
|
* General Error.
|
|
9475
10555
|
*
|
|
@@ -9489,30 +10569,46 @@ type GetCurrentUserOrganizationsErrors = {
|
|
|
9489
10569
|
*/
|
|
9490
10570
|
'4XX': GeneralError;
|
|
9491
10571
|
};
|
|
9492
|
-
type
|
|
9493
|
-
type
|
|
10572
|
+
type DeleteProjectBranchBucketObjectsByPrefixError = DeleteProjectBranchBucketObjectsByPrefixErrors[keyof DeleteProjectBranchBucketObjectsByPrefixErrors];
|
|
10573
|
+
type DeleteProjectBranchBucketObjectsByPrefixResponses = {
|
|
9494
10574
|
/**
|
|
9495
|
-
*
|
|
10575
|
+
* The prefix was soft-deleted. `deleted` is the number of objects
|
|
10576
|
+
* tombstoned (may be 0 when nothing live matched on this branch).
|
|
9496
10577
|
*
|
|
9497
10578
|
*/
|
|
9498
|
-
200:
|
|
10579
|
+
200: BucketObjectsDeletePrefixResponse;
|
|
9499
10580
|
};
|
|
9500
|
-
type
|
|
9501
|
-
type
|
|
9502
|
-
body:
|
|
9503
|
-
path
|
|
10581
|
+
type DeleteProjectBranchBucketObjectsByPrefixResponse = DeleteProjectBranchBucketObjectsByPrefixResponses[keyof DeleteProjectBranchBucketObjectsByPrefixResponses];
|
|
10582
|
+
type PresignProjectBranchBucketObjectData = {
|
|
10583
|
+
body: PresignRequest;
|
|
10584
|
+
path: {
|
|
10585
|
+
/**
|
|
10586
|
+
* The Neon project ID
|
|
10587
|
+
*/
|
|
10588
|
+
project_id: string;
|
|
10589
|
+
/**
|
|
10590
|
+
* The Neon branch ID
|
|
10591
|
+
*/
|
|
10592
|
+
branch_id: string;
|
|
10593
|
+
/**
|
|
10594
|
+
* The bucket name
|
|
10595
|
+
*/
|
|
10596
|
+
bucket_name: string;
|
|
10597
|
+
/**
|
|
10598
|
+
* The object key. Keys may contain `/`; the `/` characters of nested
|
|
10599
|
+
* keys must be percent-encoded (`%2F`) in the path segment.
|
|
10600
|
+
*
|
|
10601
|
+
*/
|
|
10602
|
+
object_key: string;
|
|
10603
|
+
};
|
|
9504
10604
|
query?: never;
|
|
9505
|
-
url: '/
|
|
10605
|
+
url: '/projects/{project_id}/branches/{branch_id}/buckets/{bucket_name}/objects/{object_key}/presign';
|
|
9506
10606
|
};
|
|
9507
|
-
type
|
|
9508
|
-
/**
|
|
9509
|
-
* Transfer failed - the target organization has too many projects or its plan is incompatible with the source account. Reduce the number of projects or upgrade the target organization to increase its capacity.
|
|
9510
|
-
*/
|
|
9511
|
-
406: LimitsUnsatisfiedResponse;
|
|
10607
|
+
type PresignProjectBranchBucketObjectErrors = {
|
|
9512
10608
|
/**
|
|
9513
|
-
*
|
|
10609
|
+
* Bucket or branch not found
|
|
9514
10610
|
*/
|
|
9515
|
-
|
|
10611
|
+
404: GeneralError;
|
|
9516
10612
|
/**
|
|
9517
10613
|
* General Error.
|
|
9518
10614
|
*
|
|
@@ -9532,21 +10628,32 @@ type TransferProjectsFromUserToOrgErrors = {
|
|
|
9532
10628
|
*/
|
|
9533
10629
|
'4XX': GeneralError;
|
|
9534
10630
|
};
|
|
9535
|
-
type
|
|
9536
|
-
type
|
|
10631
|
+
type PresignProjectBranchBucketObjectError = PresignProjectBranchBucketObjectErrors[keyof PresignProjectBranchBucketObjectErrors];
|
|
10632
|
+
type PresignProjectBranchBucketObjectResponses = {
|
|
9537
10633
|
/**
|
|
9538
|
-
*
|
|
10634
|
+
* A presigned URL valid until `expires_at`. The caller transfers the
|
|
10635
|
+
* object bytes by issuing `method url` with the returned `headers`.
|
|
10636
|
+
*
|
|
9539
10637
|
*/
|
|
9540
|
-
200:
|
|
10638
|
+
200: PresignResponse;
|
|
9541
10639
|
};
|
|
9542
|
-
type
|
|
9543
|
-
type
|
|
10640
|
+
type PresignProjectBranchBucketObjectResponse = PresignProjectBranchBucketObjectResponses[keyof PresignProjectBranchBucketObjectResponses];
|
|
10641
|
+
type ListCredentialsData = {
|
|
9544
10642
|
body?: never;
|
|
9545
|
-
path
|
|
10643
|
+
path: {
|
|
10644
|
+
/**
|
|
10645
|
+
* The Neon project ID
|
|
10646
|
+
*/
|
|
10647
|
+
project_id: string;
|
|
10648
|
+
/**
|
|
10649
|
+
* The Neon branch ID
|
|
10650
|
+
*/
|
|
10651
|
+
branch_id: string;
|
|
10652
|
+
};
|
|
9546
10653
|
query?: never;
|
|
9547
|
-
url: '/
|
|
10654
|
+
url: '/projects/{project_id}/branches/{branch_id}/credentials';
|
|
9548
10655
|
};
|
|
9549
|
-
type
|
|
10656
|
+
type ListCredentialsErrors = {
|
|
9550
10657
|
/**
|
|
9551
10658
|
* General Error.
|
|
9552
10659
|
*
|
|
@@ -9566,54 +10673,30 @@ type GetAuthDetailsErrors = {
|
|
|
9566
10673
|
*/
|
|
9567
10674
|
'4XX': GeneralError;
|
|
9568
10675
|
};
|
|
9569
|
-
type
|
|
9570
|
-
type
|
|
10676
|
+
type ListCredentialsError = ListCredentialsErrors[keyof ListCredentialsErrors];
|
|
10677
|
+
type ListCredentialsResponses = {
|
|
9571
10678
|
/**
|
|
9572
|
-
*
|
|
9573
|
-
*
|
|
10679
|
+
* The list of credentials
|
|
9574
10680
|
*/
|
|
9575
|
-
200:
|
|
10681
|
+
200: ListCredentialsResponse;
|
|
9576
10682
|
};
|
|
9577
|
-
type
|
|
9578
|
-
type
|
|
9579
|
-
body
|
|
10683
|
+
type ListCredentialsResponse2 = ListCredentialsResponses[keyof ListCredentialsResponses];
|
|
10684
|
+
type CreateCredentialData = {
|
|
10685
|
+
body: CreateCredentialRequest;
|
|
9580
10686
|
path: {
|
|
9581
10687
|
/**
|
|
9582
10688
|
* The Neon project ID
|
|
9583
10689
|
*/
|
|
9584
10690
|
project_id: string;
|
|
9585
10691
|
/**
|
|
9586
|
-
* The branch ID
|
|
10692
|
+
* The Neon branch ID
|
|
9587
10693
|
*/
|
|
9588
10694
|
branch_id: string;
|
|
9589
10695
|
};
|
|
9590
|
-
query?:
|
|
9591
|
-
|
|
9592
|
-
* The target Log Sequence Number (LSN) to take the snapshot from.
|
|
9593
|
-
* Must fall within the restore window. Cannot be used with `timestamp`
|
|
9594
|
-
*
|
|
9595
|
-
*/
|
|
9596
|
-
lsn?: string;
|
|
9597
|
-
/**
|
|
9598
|
-
* The target timestamp for the snapshot. Must fall within the restore window.
|
|
9599
|
-
* Use ISO 8601 format (e.g. 2025-08-05T22:00:00Z). Cannot be used with `lsn`.
|
|
9600
|
-
*
|
|
9601
|
-
*/
|
|
9602
|
-
timestamp?: string;
|
|
9603
|
-
/**
|
|
9604
|
-
* A name for the snapshot.
|
|
9605
|
-
*/
|
|
9606
|
-
name?: string;
|
|
9607
|
-
/**
|
|
9608
|
-
* The time at which the snapshot will be automatically deleted.
|
|
9609
|
-
* Use ISO 8601 format (e.g. 2025-08-05T22:00:00Z).
|
|
9610
|
-
*
|
|
9611
|
-
*/
|
|
9612
|
-
expires_at?: string;
|
|
9613
|
-
};
|
|
9614
|
-
url: '/projects/{project_id}/branches/{branch_id}/snapshot';
|
|
10696
|
+
query?: never;
|
|
10697
|
+
url: '/projects/{project_id}/branches/{branch_id}/credentials';
|
|
9615
10698
|
};
|
|
9616
|
-
type
|
|
10699
|
+
type CreateCredentialErrors = {
|
|
9617
10700
|
/**
|
|
9618
10701
|
* General Error.
|
|
9619
10702
|
*
|
|
@@ -9633,29 +10716,38 @@ type CreateSnapshotErrors = {
|
|
|
9633
10716
|
*/
|
|
9634
10717
|
'4XX': GeneralError;
|
|
9635
10718
|
};
|
|
9636
|
-
type
|
|
9637
|
-
type
|
|
10719
|
+
type CreateCredentialError = CreateCredentialErrors[keyof CreateCredentialErrors];
|
|
10720
|
+
type CreateCredentialResponses = {
|
|
9638
10721
|
/**
|
|
9639
|
-
*
|
|
10722
|
+
* Credential issued — secrets shown once.
|
|
9640
10723
|
*/
|
|
9641
|
-
|
|
9642
|
-
snapshot: Snapshot;
|
|
9643
|
-
operations: Array<Operation>;
|
|
9644
|
-
};
|
|
10724
|
+
201: CreateCredentialResponse;
|
|
9645
10725
|
};
|
|
9646
|
-
type
|
|
9647
|
-
type
|
|
10726
|
+
type CreateCredentialResponse2 = CreateCredentialResponses[keyof CreateCredentialResponses];
|
|
10727
|
+
type RevokeCredentialData = {
|
|
9648
10728
|
body?: never;
|
|
9649
10729
|
path: {
|
|
9650
10730
|
/**
|
|
9651
10731
|
* The Neon project ID
|
|
9652
10732
|
*/
|
|
9653
10733
|
project_id: string;
|
|
10734
|
+
/**
|
|
10735
|
+
* The Neon branch ID
|
|
10736
|
+
*/
|
|
10737
|
+
branch_id: string;
|
|
10738
|
+
/**
|
|
10739
|
+
* The opaque credential id (e.g. nak_live_<32hex>).
|
|
10740
|
+
*/
|
|
10741
|
+
token_id: string;
|
|
9654
10742
|
};
|
|
9655
10743
|
query?: never;
|
|
9656
|
-
url: '/projects/{project_id}/
|
|
10744
|
+
url: '/projects/{project_id}/branches/{branch_id}/credentials/{token_id}';
|
|
9657
10745
|
};
|
|
9658
|
-
type
|
|
10746
|
+
type RevokeCredentialErrors = {
|
|
10747
|
+
/**
|
|
10748
|
+
* Credential not found
|
|
10749
|
+
*/
|
|
10750
|
+
404: GeneralError;
|
|
9659
10751
|
/**
|
|
9660
10752
|
* General Error.
|
|
9661
10753
|
*
|
|
@@ -9675,17 +10767,15 @@ type ListSnapshotsErrors = {
|
|
|
9675
10767
|
*/
|
|
9676
10768
|
'4XX': GeneralError;
|
|
9677
10769
|
};
|
|
9678
|
-
type
|
|
9679
|
-
type
|
|
10770
|
+
type RevokeCredentialError = RevokeCredentialErrors[keyof RevokeCredentialErrors];
|
|
10771
|
+
type RevokeCredentialResponses = {
|
|
9680
10772
|
/**
|
|
9681
|
-
*
|
|
10773
|
+
* Credential revoked
|
|
9682
10774
|
*/
|
|
9683
|
-
|
|
9684
|
-
snapshots: Array<Snapshot>;
|
|
9685
|
-
};
|
|
10775
|
+
204: void;
|
|
9686
10776
|
};
|
|
9687
|
-
type
|
|
9688
|
-
type
|
|
10777
|
+
type RevokeCredentialResponse = RevokeCredentialResponses[keyof RevokeCredentialResponses];
|
|
10778
|
+
type ListProjectBranchFunctionsData = {
|
|
9689
10779
|
body?: never;
|
|
9690
10780
|
path: {
|
|
9691
10781
|
/**
|
|
@@ -9693,14 +10783,23 @@ type DeleteSnapshotData = {
|
|
|
9693
10783
|
*/
|
|
9694
10784
|
project_id: string;
|
|
9695
10785
|
/**
|
|
9696
|
-
* The
|
|
10786
|
+
* The Neon branch ID
|
|
9697
10787
|
*/
|
|
9698
|
-
|
|
10788
|
+
branch_id: string;
|
|
9699
10789
|
};
|
|
9700
|
-
query?:
|
|
9701
|
-
|
|
10790
|
+
query?: {
|
|
10791
|
+
/**
|
|
10792
|
+
* A cursor to use in pagination. A cursor defines your place in the data list. Include `response.pagination.next` in subsequent API calls to fetch next page of the list.
|
|
10793
|
+
*/
|
|
10794
|
+
cursor?: string;
|
|
10795
|
+
/**
|
|
10796
|
+
* Specify a value from 1 to 1000 to limit number of functions in the response
|
|
10797
|
+
*/
|
|
10798
|
+
limit?: number;
|
|
10799
|
+
};
|
|
10800
|
+
url: '/projects/{project_id}/branches/{branch_id}/functions';
|
|
9702
10801
|
};
|
|
9703
|
-
type
|
|
10802
|
+
type ListProjectBranchFunctionsErrors = {
|
|
9704
10803
|
/**
|
|
9705
10804
|
* General Error.
|
|
9706
10805
|
*
|
|
@@ -9720,30 +10819,34 @@ type DeleteSnapshotErrors = {
|
|
|
9720
10819
|
*/
|
|
9721
10820
|
'4XX': GeneralError;
|
|
9722
10821
|
};
|
|
9723
|
-
type
|
|
9724
|
-
type
|
|
10822
|
+
type ListProjectBranchFunctionsError = ListProjectBranchFunctionsErrors[keyof ListProjectBranchFunctionsErrors];
|
|
10823
|
+
type ListProjectBranchFunctionsResponses = {
|
|
9725
10824
|
/**
|
|
9726
|
-
*
|
|
10825
|
+
* The list of functions
|
|
9727
10826
|
*/
|
|
9728
|
-
|
|
10827
|
+
200: NeonFunctionsListResponse & CursorPaginationResponse;
|
|
9729
10828
|
};
|
|
9730
|
-
type
|
|
9731
|
-
type
|
|
9732
|
-
body
|
|
10829
|
+
type ListProjectBranchFunctionsResponse = ListProjectBranchFunctionsResponses[keyof ListProjectBranchFunctionsResponses];
|
|
10830
|
+
type DeleteProjectBranchFunctionData = {
|
|
10831
|
+
body?: never;
|
|
9733
10832
|
path: {
|
|
9734
10833
|
/**
|
|
9735
10834
|
* The Neon project ID
|
|
9736
10835
|
*/
|
|
9737
10836
|
project_id: string;
|
|
9738
10837
|
/**
|
|
9739
|
-
* The
|
|
10838
|
+
* The Neon branch ID
|
|
9740
10839
|
*/
|
|
9741
|
-
|
|
10840
|
+
branch_id: string;
|
|
10841
|
+
/**
|
|
10842
|
+
* The function slug
|
|
10843
|
+
*/
|
|
10844
|
+
slug: string;
|
|
9742
10845
|
};
|
|
9743
10846
|
query?: never;
|
|
9744
|
-
url: '/projects/{project_id}/
|
|
10847
|
+
url: '/projects/{project_id}/branches/{branch_id}/functions/{slug}';
|
|
9745
10848
|
};
|
|
9746
|
-
type
|
|
10849
|
+
type DeleteProjectBranchFunctionErrors = {
|
|
9747
10850
|
/**
|
|
9748
10851
|
* General Error.
|
|
9749
10852
|
*
|
|
@@ -9763,63 +10866,34 @@ type UpdateSnapshotErrors = {
|
|
|
9763
10866
|
*/
|
|
9764
10867
|
'4XX': GeneralError;
|
|
9765
10868
|
};
|
|
9766
|
-
type
|
|
9767
|
-
type
|
|
10869
|
+
type DeleteProjectBranchFunctionError = DeleteProjectBranchFunctionErrors[keyof DeleteProjectBranchFunctionErrors];
|
|
10870
|
+
type DeleteProjectBranchFunctionResponses = {
|
|
9768
10871
|
/**
|
|
9769
|
-
*
|
|
10872
|
+
* Function deleted
|
|
9770
10873
|
*/
|
|
9771
|
-
|
|
9772
|
-
snapshot: Snapshot;
|
|
9773
|
-
};
|
|
10874
|
+
204: void;
|
|
9774
10875
|
};
|
|
9775
|
-
type
|
|
9776
|
-
type
|
|
9777
|
-
body?:
|
|
9778
|
-
/**
|
|
9779
|
-
* A name for the newly restored branch.
|
|
9780
|
-
* If omitted, a default name will be generated.
|
|
9781
|
-
*
|
|
9782
|
-
*/
|
|
9783
|
-
name?: string;
|
|
9784
|
-
/**
|
|
9785
|
-
* The ID of the branch to restore the snapshot into.
|
|
9786
|
-
* If not specified, the branch from which the snapshot was originally
|
|
9787
|
-
* created (`snapshot.source_branch_id`) will be used.
|
|
9788
|
-
*
|
|
9789
|
-
*/
|
|
9790
|
-
target_branch_id?: string;
|
|
9791
|
-
/**
|
|
9792
|
-
* Set to `true` to finalize the restore operation immediately.
|
|
9793
|
-
* This will complete the restore and move any associated computes to the new branch,
|
|
9794
|
-
* similar to the `finalizeRestoreBranch` operation.
|
|
9795
|
-
* Defaults to `false` to allow previewing the restored snapshot data first.
|
|
9796
|
-
*
|
|
9797
|
-
*/
|
|
9798
|
-
finalize_restore?: boolean;
|
|
9799
|
-
};
|
|
10876
|
+
type DeleteProjectBranchFunctionResponse = DeleteProjectBranchFunctionResponses[keyof DeleteProjectBranchFunctionResponses];
|
|
10877
|
+
type GetProjectBranchFunctionData = {
|
|
10878
|
+
body?: never;
|
|
9800
10879
|
path: {
|
|
9801
10880
|
/**
|
|
9802
10881
|
* The Neon project ID
|
|
9803
10882
|
*/
|
|
9804
10883
|
project_id: string;
|
|
9805
10884
|
/**
|
|
9806
|
-
* The
|
|
10885
|
+
* The Neon branch ID
|
|
9807
10886
|
*/
|
|
9808
|
-
|
|
9809
|
-
};
|
|
9810
|
-
query?: {
|
|
10887
|
+
branch_id: string;
|
|
9811
10888
|
/**
|
|
9812
|
-
*
|
|
9813
|
-
* A name for the newly restored branch. If omitted, a default name will be generated.
|
|
9814
|
-
*
|
|
9815
|
-
*
|
|
9816
|
-
* @deprecated
|
|
10889
|
+
* The function slug
|
|
9817
10890
|
*/
|
|
9818
|
-
|
|
10891
|
+
slug: string;
|
|
9819
10892
|
};
|
|
9820
|
-
|
|
10893
|
+
query?: never;
|
|
10894
|
+
url: '/projects/{project_id}/branches/{branch_id}/functions/{slug}';
|
|
9821
10895
|
};
|
|
9822
|
-
type
|
|
10896
|
+
type GetProjectBranchFunctionErrors = {
|
|
9823
10897
|
/**
|
|
9824
10898
|
* General Error.
|
|
9825
10899
|
*
|
|
@@ -9839,30 +10913,34 @@ type RestoreSnapshotErrors = {
|
|
|
9839
10913
|
*/
|
|
9840
10914
|
'4XX': GeneralError;
|
|
9841
10915
|
};
|
|
9842
|
-
type
|
|
9843
|
-
type
|
|
10916
|
+
type GetProjectBranchFunctionError = GetProjectBranchFunctionErrors[keyof GetProjectBranchFunctionErrors];
|
|
10917
|
+
type GetProjectBranchFunctionResponses = {
|
|
9844
10918
|
/**
|
|
9845
|
-
*
|
|
10919
|
+
* The function details
|
|
9846
10920
|
*/
|
|
9847
|
-
200:
|
|
10921
|
+
200: NeonFunctionResponse;
|
|
9848
10922
|
};
|
|
9849
|
-
type
|
|
9850
|
-
type
|
|
9851
|
-
body
|
|
10923
|
+
type GetProjectBranchFunctionResponse = GetProjectBranchFunctionResponses[keyof GetProjectBranchFunctionResponses];
|
|
10924
|
+
type UpdateProjectBranchFunctionData = {
|
|
10925
|
+
body: NeonFunctionUpdateRequest;
|
|
9852
10926
|
path: {
|
|
9853
10927
|
/**
|
|
9854
10928
|
* The Neon project ID
|
|
9855
10929
|
*/
|
|
9856
10930
|
project_id: string;
|
|
9857
10931
|
/**
|
|
9858
|
-
* The branch ID
|
|
10932
|
+
* The Neon branch ID
|
|
9859
10933
|
*/
|
|
9860
10934
|
branch_id: string;
|
|
10935
|
+
/**
|
|
10936
|
+
* The function slug
|
|
10937
|
+
*/
|
|
10938
|
+
slug: string;
|
|
9861
10939
|
};
|
|
9862
10940
|
query?: never;
|
|
9863
|
-
url: '/projects/{project_id}/branches/{branch_id}/
|
|
10941
|
+
url: '/projects/{project_id}/branches/{branch_id}/functions/{slug}';
|
|
9864
10942
|
};
|
|
9865
|
-
type
|
|
10943
|
+
type UpdateProjectBranchFunctionErrors = {
|
|
9866
10944
|
/**
|
|
9867
10945
|
* General Error.
|
|
9868
10946
|
*
|
|
@@ -9882,30 +10960,34 @@ type GetSnapshotScheduleErrors = {
|
|
|
9882
10960
|
*/
|
|
9883
10961
|
'4XX': GeneralError;
|
|
9884
10962
|
};
|
|
9885
|
-
type
|
|
9886
|
-
type
|
|
10963
|
+
type UpdateProjectBranchFunctionError = UpdateProjectBranchFunctionErrors[keyof UpdateProjectBranchFunctionErrors];
|
|
10964
|
+
type UpdateProjectBranchFunctionResponses = {
|
|
9887
10965
|
/**
|
|
9888
|
-
*
|
|
10966
|
+
* The updated function
|
|
9889
10967
|
*/
|
|
9890
|
-
200:
|
|
10968
|
+
200: NeonFunctionResponse;
|
|
9891
10969
|
};
|
|
9892
|
-
type
|
|
9893
|
-
type
|
|
9894
|
-
body:
|
|
10970
|
+
type UpdateProjectBranchFunctionResponse = UpdateProjectBranchFunctionResponses[keyof UpdateProjectBranchFunctionResponses];
|
|
10971
|
+
type CreateProjectBranchFunctionDeploymentData = {
|
|
10972
|
+
body: FunctionDeployRequest;
|
|
9895
10973
|
path: {
|
|
9896
10974
|
/**
|
|
9897
10975
|
* The Neon project ID
|
|
9898
10976
|
*/
|
|
9899
10977
|
project_id: string;
|
|
9900
10978
|
/**
|
|
9901
|
-
* The branch ID
|
|
10979
|
+
* The Neon branch ID
|
|
9902
10980
|
*/
|
|
9903
10981
|
branch_id: string;
|
|
10982
|
+
/**
|
|
10983
|
+
* The function slug
|
|
10984
|
+
*/
|
|
10985
|
+
slug: string;
|
|
9904
10986
|
};
|
|
9905
10987
|
query?: never;
|
|
9906
|
-
url: '/projects/{project_id}/branches/{branch_id}/
|
|
10988
|
+
url: '/projects/{project_id}/branches/{branch_id}/functions/{slug}/deployments';
|
|
9907
10989
|
};
|
|
9908
|
-
type
|
|
10990
|
+
type CreateProjectBranchFunctionDeploymentErrors = {
|
|
9909
10991
|
/**
|
|
9910
10992
|
* General Error.
|
|
9911
10993
|
*
|
|
@@ -9925,14 +11007,14 @@ type SetSnapshotScheduleErrors = {
|
|
|
9925
11007
|
*/
|
|
9926
11008
|
'4XX': GeneralError;
|
|
9927
11009
|
};
|
|
9928
|
-
type
|
|
9929
|
-
type
|
|
11010
|
+
type CreateProjectBranchFunctionDeploymentError = CreateProjectBranchFunctionDeploymentErrors[keyof CreateProjectBranchFunctionDeploymentErrors];
|
|
11011
|
+
type CreateProjectBranchFunctionDeploymentResponses = {
|
|
9930
11012
|
/**
|
|
9931
|
-
*
|
|
11013
|
+
* The created deployment
|
|
9932
11014
|
*/
|
|
9933
|
-
|
|
11015
|
+
201: NeonFunctionDeploymentResponse;
|
|
9934
11016
|
};
|
|
9935
|
-
type
|
|
11017
|
+
type CreateProjectBranchFunctionDeploymentResponse = CreateProjectBranchFunctionDeploymentResponses[keyof CreateProjectBranchFunctionDeploymentResponses];
|
|
9936
11018
|
//#endregion
|
|
9937
|
-
export { AcceptProjectTransferRequestData, AcceptProjectTransferRequestError, AcceptProjectTransferRequestErrors, AcceptProjectTransferRequestResponse, AcceptProjectTransferRequestResponses, AcceptProjectTransferRequestSatisfiesPlanError, ActiveRegionsResponse, AddBranchNeonAuthOauthProviderData, AddBranchNeonAuthOauthProviderError, AddBranchNeonAuthOauthProviderErrors, AddBranchNeonAuthOauthProviderResponse, AddBranchNeonAuthOauthProviderResponses, AddBranchNeonAuthTrustedDomainData, AddBranchNeonAuthTrustedDomainError, AddBranchNeonAuthTrustedDomainErrors, AddBranchNeonAuthTrustedDomainResponses, AddNeonAuthDomainToRedirectUriWhitelistData, AddNeonAuthDomainToRedirectUriWhitelistError, AddNeonAuthDomainToRedirectUriWhitelistErrors, AddNeonAuthDomainToRedirectUriWhitelistResponses, AddNeonAuthOauthProviderData, AddNeonAuthOauthProviderError, AddNeonAuthOauthProviderErrors, AddNeonAuthOauthProviderResponse, AddNeonAuthOauthProviderResponses, AddProjectJwksData, AddProjectJwksError, AddProjectJwksErrors, AddProjectJwksRequest, AddProjectJwksResponse, AddProjectJwksResponses, AdvisorCategory, AdvisorIssue, AllowedIps, AnnotationCreateValueRequest, AnnotationData, AnnotationObjectData, AnnotationResponse, AnnotationValueData, AnnotationsMapResponse, AnonymizationRunMetadata, AnonymizedBranchStatusResponse, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyCreatorData, ApiKeyRevokeResponse, ApiKeysListResponseItem, ApplicationType, AssignOrganizationVpcEndpointData, AssignOrganizationVpcEndpointError, AssignOrganizationVpcEndpointErrors, AssignOrganizationVpcEndpointResponses, AssignProjectVpcEndpointData, AssignProjectVpcEndpointError, AssignProjectVpcEndpointErrors, AssignProjectVpcEndpointResponses, AuthDetailsResponse, AvailablePreloadLibraries, AvailablePreloadLibrary, BackupSchedule, BackupScheduleItem, BillingAccount, BillingAccountState, BillingPaymentMethod, BillingSubscriptionType, Branch, BranchAnonymizedCreateRequest, BranchConsumption, BranchConsumptionResponse, BranchCreateRequest, BranchCreateRequestEndpointOptions, BranchOperations, BranchRecoverResponse, BranchRecoveryInfo, BranchResponse, BranchRestoreRequest, BranchRestoreStatus, BranchRestrictedAction, BranchSchemaCompareResponse, BranchSchemaJson, BranchSchemaResponse, BranchState, BranchUpdateRequest, BranchesCountResponse, BranchesResponse, ClientOptions, ComputeUnit, ConnectionDetails, ConnectionParameters, ConnectionUriResponse, ConnectionUrisOptionalResponse, ConnectionUrisResponse, ConsumptionHistoryGranularity, ConsumptionHistoryPerBranchV2, ConsumptionHistoryPerBranchV2Response, ConsumptionHistoryPerPeriod, ConsumptionHistoryPerPeriodV2, ConsumptionHistoryPerProject, ConsumptionHistoryPerProjectResponse, ConsumptionHistoryPerProjectV2, ConsumptionHistoryPerProjectV2Response, ConsumptionHistoryPerTimeframe, ConsumptionHistoryPerTimeframeV2, ConsumptionHistoryQueryMetrics, ConsumptionMetricValue, ConvertUserToOrgRequest, CountProjectBranchesData, CountProjectBranchesError, CountProjectBranchesErrors, CountProjectBranchesResponse, CountProjectBranchesResponses, CreateApiKeyData, CreateApiKeyError, CreateApiKeyErrors, CreateApiKeyResponse, CreateApiKeyResponses, CreateBranchNeonAuthNewUserData, CreateBranchNeonAuthNewUserError, CreateBranchNeonAuthNewUserErrors, CreateBranchNeonAuthNewUserRequest, CreateBranchNeonAuthNewUserResponse, CreateBranchNeonAuthNewUserResponses, CreateNeonAuthData, CreateNeonAuthError, CreateNeonAuthErrors, CreateNeonAuthIntegrationData, CreateNeonAuthIntegrationError, CreateNeonAuthIntegrationErrors, CreateNeonAuthIntegrationResponse, CreateNeonAuthIntegrationResponses, CreateNeonAuthNewUserData, CreateNeonAuthNewUserError, CreateNeonAuthNewUserErrors, CreateNeonAuthNewUserResponse, CreateNeonAuthNewUserResponses, CreateNeonAuthProviderSdkKeysData, CreateNeonAuthProviderSdkKeysError, CreateNeonAuthProviderSdkKeysErrors, CreateNeonAuthProviderSdkKeysResponse, CreateNeonAuthProviderSdkKeysResponses, CreateNeonAuthResponse, CreateNeonAuthResponses, CreateOrgApiKeyData, CreateOrgApiKeyError, CreateOrgApiKeyErrors, CreateOrgApiKeyResponse, CreateOrgApiKeyResponses, CreateOrganizationInvitationsData, CreateOrganizationInvitationsError, CreateOrganizationInvitationsErrors, CreateOrganizationInvitationsResponse, CreateOrganizationInvitationsResponses, CreateProjectBranchAnonymizedData, CreateProjectBranchAnonymizedError, CreateProjectBranchAnonymizedErrors, CreateProjectBranchAnonymizedResponse, CreateProjectBranchAnonymizedResponses, CreateProjectBranchData, CreateProjectBranchDataApiData, CreateProjectBranchDataApiError, CreateProjectBranchDataApiErrors, CreateProjectBranchDataApiResponse, CreateProjectBranchDataApiResponses, CreateProjectBranchDatabaseData, CreateProjectBranchDatabaseError, CreateProjectBranchDatabaseErrors, CreateProjectBranchDatabaseResponse, CreateProjectBranchDatabaseResponses, CreateProjectBranchError, CreateProjectBranchErrors, CreateProjectBranchResponse, CreateProjectBranchResponses, CreateProjectBranchRoleData, CreateProjectBranchRoleError, CreateProjectBranchRoleErrors, CreateProjectBranchRoleResponse, CreateProjectBranchRoleResponses, CreateProjectData, CreateProjectEndpointData, CreateProjectEndpointError, CreateProjectEndpointErrors, CreateProjectEndpointResponse, CreateProjectEndpointResponses, CreateProjectError, CreateProjectErrors, CreateProjectResponse, CreateProjectResponses, CreateProjectTransferRequestData, CreateProjectTransferRequestError, CreateProjectTransferRequestErrors, CreateProjectTransferRequestResponse, CreateProjectTransferRequestResponses, CreateSnapshotData, CreateSnapshotError, CreateSnapshotErrors, CreateSnapshotResponse, CreateSnapshotResponses, CurrentUserAuthAccount, CurrentUserInfoAuthResponse, CurrentUserInfoResponse, CursorPagination, CursorPaginationResponse, CursorParam, DataApiCreateRequest, DataApiCreateResponse, DataApiReponse, DataApiSettings, DataApiUpdateRequest, Database, DatabaseCreateRequest, DatabaseOperations, DatabaseResponse, DatabaseUpdateRequest, DatabasesResponse, DefaultEndpointSettings, DeleteBranchNeonAuthOauthProviderData, DeleteBranchNeonAuthOauthProviderError, DeleteBranchNeonAuthOauthProviderErrors, DeleteBranchNeonAuthOauthProviderResponses, DeleteBranchNeonAuthTrustedDomainData, DeleteBranchNeonAuthTrustedDomainError, DeleteBranchNeonAuthTrustedDomainErrors, DeleteBranchNeonAuthTrustedDomainResponses, DeleteBranchNeonAuthUserData, DeleteBranchNeonAuthUserError, DeleteBranchNeonAuthUserErrors, DeleteBranchNeonAuthUserResponse, DeleteBranchNeonAuthUserResponses, DeleteNeonAuthDomainFromRedirectUriWhitelistData, DeleteNeonAuthDomainFromRedirectUriWhitelistError, DeleteNeonAuthDomainFromRedirectUriWhitelistErrors, DeleteNeonAuthDomainFromRedirectUriWhitelistResponses, DeleteNeonAuthIntegrationData, DeleteNeonAuthIntegrationError, DeleteNeonAuthIntegrationErrors, DeleteNeonAuthIntegrationResponses, DeleteNeonAuthOauthProviderData, DeleteNeonAuthOauthProviderError, DeleteNeonAuthOauthProviderErrors, DeleteNeonAuthOauthProviderResponses, DeleteNeonAuthUserData, DeleteNeonAuthUserError, DeleteNeonAuthUserErrors, DeleteNeonAuthUserResponse, DeleteNeonAuthUserResponses, DeleteOrganizationSpendingLimitData, DeleteOrganizationSpendingLimitError, DeleteOrganizationSpendingLimitErrors, DeleteOrganizationSpendingLimitResponse, DeleteOrganizationSpendingLimitResponses, DeleteOrganizationVpcEndpointData, DeleteOrganizationVpcEndpointError, DeleteOrganizationVpcEndpointErrors, DeleteOrganizationVpcEndpointResponses, DeleteProjectBranchData, DeleteProjectBranchDataApiData, DeleteProjectBranchDataApiError, DeleteProjectBranchDataApiErrors, DeleteProjectBranchDataApiResponse, DeleteProjectBranchDataApiResponses, DeleteProjectBranchDatabaseData, DeleteProjectBranchDatabaseError, DeleteProjectBranchDatabaseErrors, DeleteProjectBranchDatabaseResponse, DeleteProjectBranchDatabaseResponses, DeleteProjectBranchError, DeleteProjectBranchErrors, DeleteProjectBranchResponse, DeleteProjectBranchResponses, DeleteProjectBranchRoleData, DeleteProjectBranchRoleError, DeleteProjectBranchRoleErrors, DeleteProjectBranchRoleResponse, DeleteProjectBranchRoleResponses, DeleteProjectData, DeleteProjectEndpointData, DeleteProjectEndpointError, DeleteProjectEndpointErrors, DeleteProjectEndpointResponse, DeleteProjectEndpointResponses, DeleteProjectError, DeleteProjectErrors, DeleteProjectJwksData, DeleteProjectJwksError, DeleteProjectJwksErrors, DeleteProjectJwksResponse, DeleteProjectJwksResponses, DeleteProjectResponse, DeleteProjectResponses, DeleteProjectVpcEndpointData, DeleteProjectVpcEndpointError, DeleteProjectVpcEndpointErrors, DeleteProjectVpcEndpointResponses, DeleteSnapshotData, DeleteSnapshotError, DeleteSnapshotErrors, DeleteSnapshotResponse, DeleteSnapshotResponses, DisableNeonAuthData, DisableNeonAuthError, DisableNeonAuthErrors, DisableNeonAuthResponses, Duration, EmptyResponse, EnableNeonAuthIntegrationRequest, EnableOrganizationFeatureRequest, Endpoint, EndpointCreateRequest, EndpointOperations, EndpointPasswordlessSessionAuthRequest, EndpointPoolerMode, EndpointResponse, EndpointSettingsData, EndpointState, EndpointType, EndpointUpdateRequest, EndpointsOptionalResponse, EndpointsResponse, ErrorCode, ExplainData, FeatureFlags, Features, FinalizeRestoreBranchData, FinalizeRestoreBranchError, FinalizeRestoreBranchErrors, FinalizeRestoreBranchResponse, FinalizeRestoreBranchResponses, GeneralError, GetActiveRegionsData, GetActiveRegionsError, GetActiveRegionsErrors, GetActiveRegionsResponse, GetActiveRegionsResponses, GetAnonymizedBranchStatusData, GetAnonymizedBranchStatusError, GetAnonymizedBranchStatusErrors, GetAnonymizedBranchStatusResponse, GetAnonymizedBranchStatusResponses, GetAuthDetailsData, GetAuthDetailsError, GetAuthDetailsErrors, GetAuthDetailsResponse, GetAuthDetailsResponses, GetAvailablePreloadLibrariesData, GetAvailablePreloadLibrariesError, GetAvailablePreloadLibrariesErrors, GetAvailablePreloadLibrariesResponse, GetAvailablePreloadLibrariesResponses, GetConnectionUriData, GetConnectionUriError, GetConnectionUriErrors, GetConnectionUriResponse, GetConnectionUriResponses, GetConsumptionHistoryPerBranchV2Data, GetConsumptionHistoryPerBranchV2Error, GetConsumptionHistoryPerBranchV2Errors, GetConsumptionHistoryPerBranchV2Response, GetConsumptionHistoryPerBranchV2Responses, GetConsumptionHistoryPerProjectData, GetConsumptionHistoryPerProjectError, GetConsumptionHistoryPerProjectErrors, GetConsumptionHistoryPerProjectResponse, GetConsumptionHistoryPerProjectResponses, GetConsumptionHistoryPerProjectV2Data, GetConsumptionHistoryPerProjectV2Error, GetConsumptionHistoryPerProjectV2Errors, GetConsumptionHistoryPerProjectV2Response, GetConsumptionHistoryPerProjectV2Responses, GetCurrentUserInfoData, GetCurrentUserInfoError, GetCurrentUserInfoErrors, GetCurrentUserInfoResponse, GetCurrentUserInfoResponses, GetCurrentUserOrganizationsData, GetCurrentUserOrganizationsError, GetCurrentUserOrganizationsErrors, GetCurrentUserOrganizationsResponse, GetCurrentUserOrganizationsResponses, GetMaskingRulesData, GetMaskingRulesError, GetMaskingRulesErrors, GetMaskingRulesResponse, GetMaskingRulesResponses, GetNeonAuthAllowLocalhostData, GetNeonAuthAllowLocalhostError, GetNeonAuthAllowLocalhostErrors, GetNeonAuthAllowLocalhostResponse, GetNeonAuthAllowLocalhostResponses, GetNeonAuthData, GetNeonAuthEmailAndPasswordConfigData, GetNeonAuthEmailAndPasswordConfigError, GetNeonAuthEmailAndPasswordConfigErrors, GetNeonAuthEmailAndPasswordConfigResponse, GetNeonAuthEmailAndPasswordConfigResponses, GetNeonAuthEmailProviderData, GetNeonAuthEmailProviderError, GetNeonAuthEmailProviderErrors, GetNeonAuthEmailProviderResponse, GetNeonAuthEmailProviderResponses, GetNeonAuthEmailServerData, GetNeonAuthEmailServerError, GetNeonAuthEmailServerErrors, GetNeonAuthEmailServerResponse, GetNeonAuthEmailServerResponses, GetNeonAuthError, GetNeonAuthErrors, GetNeonAuthPhoneNumberPluginData, GetNeonAuthPhoneNumberPluginError, GetNeonAuthPhoneNumberPluginErrors, GetNeonAuthPhoneNumberPluginResponse, GetNeonAuthPhoneNumberPluginResponses, GetNeonAuthPluginConfigsData, GetNeonAuthPluginConfigsError, GetNeonAuthPluginConfigsErrors, GetNeonAuthPluginConfigsResponse, GetNeonAuthPluginConfigsResponses, GetNeonAuthResponse, GetNeonAuthResponses, GetNeonAuthWebhookConfigData, GetNeonAuthWebhookConfigError, GetNeonAuthWebhookConfigErrors, GetNeonAuthWebhookConfigResponse, GetNeonAuthWebhookConfigResponses, GetOrganizationData, GetOrganizationError, GetOrganizationErrors, GetOrganizationInvitationsData, GetOrganizationInvitationsError, GetOrganizationInvitationsErrors, GetOrganizationInvitationsResponse, GetOrganizationInvitationsResponses, GetOrganizationMemberData, GetOrganizationMemberError, GetOrganizationMemberErrors, GetOrganizationMemberResponse, GetOrganizationMemberResponses, GetOrganizationMembersData, GetOrganizationMembersError, GetOrganizationMembersErrors, GetOrganizationMembersResponse, GetOrganizationMembersResponses, GetOrganizationResponse, GetOrganizationResponses, GetOrganizationSpendingLimitData, GetOrganizationSpendingLimitError, GetOrganizationSpendingLimitErrors, GetOrganizationSpendingLimitResponse, GetOrganizationSpendingLimitResponses, GetOrganizationVpcEndpointDetailsData, GetOrganizationVpcEndpointDetailsError, GetOrganizationVpcEndpointDetailsErrors, GetOrganizationVpcEndpointDetailsResponse, GetOrganizationVpcEndpointDetailsResponses, GetProjectAdvisorSecurityIssuesData, GetProjectAdvisorSecurityIssuesError, GetProjectAdvisorSecurityIssuesErrors, GetProjectAdvisorSecurityIssuesResponse, GetProjectAdvisorSecurityIssuesResponses, GetProjectBranchData, GetProjectBranchDataApiData, GetProjectBranchDataApiError, GetProjectBranchDataApiErrors, GetProjectBranchDataApiResponse, GetProjectBranchDataApiResponses, GetProjectBranchDatabaseData, GetProjectBranchDatabaseError, GetProjectBranchDatabaseErrors, GetProjectBranchDatabaseResponse, GetProjectBranchDatabaseResponses, GetProjectBranchError, GetProjectBranchErrors, GetProjectBranchResponse, GetProjectBranchResponses, GetProjectBranchRoleData, GetProjectBranchRoleError, GetProjectBranchRoleErrors, GetProjectBranchRolePasswordData, GetProjectBranchRolePasswordError, GetProjectBranchRolePasswordErrors, GetProjectBranchRolePasswordResponse, GetProjectBranchRolePasswordResponses, GetProjectBranchRoleResponse, GetProjectBranchRoleResponses, GetProjectBranchSchemaComparisonData, GetProjectBranchSchemaComparisonError, GetProjectBranchSchemaComparisonErrors, GetProjectBranchSchemaComparisonResponse, GetProjectBranchSchemaComparisonResponses, GetProjectBranchSchemaData, GetProjectBranchSchemaError, GetProjectBranchSchemaErrors, GetProjectBranchSchemaResponse, GetProjectBranchSchemaResponses, GetProjectData, GetProjectEndpointData, GetProjectEndpointError, GetProjectEndpointErrors, GetProjectEndpointResponse, GetProjectEndpointResponses, GetProjectError, GetProjectErrors, GetProjectJwksData, GetProjectJwksError, GetProjectJwksErrors, GetProjectJwksResponse, GetProjectJwksResponses, GetProjectOperationData, GetProjectOperationError, GetProjectOperationErrors, GetProjectOperationResponse, GetProjectOperationResponses, GetProjectResponse, GetProjectResponses, GetSnapshotScheduleData, GetSnapshotScheduleError, GetSnapshotScheduleErrors, GetSnapshotScheduleResponse, GetSnapshotScheduleResponses, GrantPermissionToProjectData, GrantPermissionToProjectError, GrantPermissionToProjectErrors, GrantPermissionToProjectRequest, GrantPermissionToProjectResponse, GrantPermissionToProjectResponses, HealthCheck, IdentityProviderId, Invitation, InvitationCreateRequest, Jwks, JwksCreationOperation, JwksResponse, LimitParam, Limits, LimitsUnsatisfiedResponse, LinkedAuthAccount, ListApiKeysData, ListApiKeysError, ListApiKeysErrors, ListApiKeysResponse, ListApiKeysResponses, ListBranchNeonAuthOauthProvidersData, ListBranchNeonAuthOauthProvidersError, ListBranchNeonAuthOauthProvidersErrors, ListBranchNeonAuthOauthProvidersResponse, ListBranchNeonAuthOauthProvidersResponses, ListBranchNeonAuthTrustedDomainsData, ListBranchNeonAuthTrustedDomainsError, ListBranchNeonAuthTrustedDomainsErrors, ListBranchNeonAuthTrustedDomainsResponse, ListBranchNeonAuthTrustedDomainsResponses, ListNeonAuthIntegrationsData, ListNeonAuthIntegrationsError, ListNeonAuthIntegrationsErrors, ListNeonAuthIntegrationsResponse, ListNeonAuthIntegrationsResponse2, ListNeonAuthIntegrationsResponses, ListNeonAuthOauthProvidersData, ListNeonAuthOauthProvidersError, ListNeonAuthOauthProvidersErrors, ListNeonAuthOauthProvidersResponse, ListNeonAuthOauthProvidersResponse2, ListNeonAuthOauthProvidersResponses, ListNeonAuthRedirectUriWhitelistDomainsData, ListNeonAuthRedirectUriWhitelistDomainsError, ListNeonAuthRedirectUriWhitelistDomainsErrors, ListNeonAuthRedirectUriWhitelistDomainsResponse, ListNeonAuthRedirectUriWhitelistDomainsResponses, ListOrgApiKeysData, ListOrgApiKeysError, ListOrgApiKeysErrors, ListOrgApiKeysResponse, ListOrgApiKeysResponses, ListOrganizationVpcEndpointsAllRegionsData, ListOrganizationVpcEndpointsAllRegionsError, ListOrganizationVpcEndpointsAllRegionsErrors, ListOrganizationVpcEndpointsAllRegionsResponse, ListOrganizationVpcEndpointsAllRegionsResponses, ListOrganizationVpcEndpointsData, ListOrganizationVpcEndpointsError, ListOrganizationVpcEndpointsErrors, ListOrganizationVpcEndpointsResponse, ListOrganizationVpcEndpointsResponses, ListProjectBranchDatabasesData, ListProjectBranchDatabasesError, ListProjectBranchDatabasesErrors, ListProjectBranchDatabasesResponse, ListProjectBranchDatabasesResponses, ListProjectBranchEndpointsData, ListProjectBranchEndpointsError, ListProjectBranchEndpointsErrors, ListProjectBranchEndpointsResponse, ListProjectBranchEndpointsResponses, ListProjectBranchRolesData, ListProjectBranchRolesError, ListProjectBranchRolesErrors, ListProjectBranchRolesResponse, ListProjectBranchRolesResponses, ListProjectBranchesData, ListProjectBranchesError, ListProjectBranchesErrors, ListProjectBranchesResponse, ListProjectBranchesResponses, ListProjectEndpointsData, ListProjectEndpointsError, ListProjectEndpointsErrors, ListProjectEndpointsResponse, ListProjectEndpointsResponses, ListProjectOperationsData, ListProjectOperationsError, ListProjectOperationsErrors, ListProjectOperationsResponse, ListProjectOperationsResponses, ListProjectPermissionsData, ListProjectPermissionsError, ListProjectPermissionsErrors, ListProjectPermissionsResponse, ListProjectPermissionsResponses, ListProjectVpcEndpointsData, ListProjectVpcEndpointsError, ListProjectVpcEndpointsErrors, ListProjectVpcEndpointsResponse, ListProjectVpcEndpointsResponses, ListProjectsData, ListProjectsError, ListProjectsErrors, ListProjectsResponse, ListProjectsResponses, ListSharedProjectsData, ListSharedProjectsError, ListSharedProjectsErrors, ListSharedProjectsResponse, ListSharedProjectsResponses, ListSnapshotsData, ListSnapshotsError, ListSnapshotsErrors, ListSnapshotsResponse, ListSnapshotsResponses, MaintenanceWindow, MaskingRule, MaskingRulesResponse, MaskingRulesUpdateRequest, Member, MemberRole, MemberUserInfo, MemberWithUser, NeonAuthAddDomainToRedirectUriWhitelistRequest, NeonAuthAddOAuthProviderRequest, NeonAuthAllowLocalhostResponse, NeonAuthConfigResponse, NeonAuthConfigUpdate, NeonAuthCreateAuthProviderSdkKeysRequest, NeonAuthCreateIntegrationRequest, NeonAuthCreateIntegrationResponse, NeonAuthCreateNewUserRequest, NeonAuthCreateNewUserResponse, NeonAuthDeleteDomainFromRedirectUriWhitelistItem, NeonAuthDeleteDomainFromRedirectUriWhitelistRequest, NeonAuthEmailAndPasswordConfig, NeonAuthEmailAndPasswordConfigUpdate, NeonAuthEmailServerConfig, NeonAuthEmailVerificationMethod, NeonAuthIntegration, NeonAuthMagicLinkConfig, NeonAuthMagicLinkConfigUpdate, NeonAuthOauthProvider, NeonAuthOauthProviderId, NeonAuthOauthProviderType, NeonAuthOrganizationConfig, NeonAuthOrganizationConfigUpdate, NeonAuthPhoneNumberConfig, NeonAuthPhoneNumberConfigUpdate, NeonAuthPluginConfigs, NeonAuthProviderProjectOwnedBy, NeonAuthProviderProjectTransferStatus, NeonAuthRedirectUriWhitelistDomain, NeonAuthRedirectUriWhitelistResponse, NeonAuthSupportedAuthProvider, NeonAuthTransferAuthProviderProjectRequest, NeonAuthTransferAuthProviderProjectResponse, NeonAuthUpdateOAuthProviderRequest, NeonAuthWebhookConfig, Operation, OperationAction, OperationResponse, OperationStatus, OperationsResponse, OrgApiKeyCreateRequest, OrgApiKeyCreateResponse, OrgApiKeyRevokeResponse, OrgApiKeysListResponseItem, OrgDeletionConditionName, Organization, OrganizationCreateRequest, OrganizationGuest, OrganizationGuestsResponse, OrganizationInvitationsResponse, OrganizationInviteCreateRequest, OrganizationInviteUpdateRequest, OrganizationInvitesCreateRequest, OrganizationMemberUpdateRequest, OrganizationMembersResponse, OrganizationMembership, OrganizationMembershipsResponse, OrganizationsResponse, OrganizationsUpdateRequest, Pagination, PaginationResponse, PaymentSource, PaymentSourceBankCard, PgSettingsData, PgVersion, PgbouncerSettingsData, PlanDetails, PlanVersion, PreloadLibraries, Project, ProjectAuditLogLevel, ProjectCreateRequest, ProjectJwksResponse, ProjectLimits, ProjectListItem, ProjectOwnerData, ProjectPermission, ProjectPermissionLevel, ProjectPermissions, ProjectQuota, ProjectRecoverResponse, ProjectResponse, ProjectSettingsData, ProjectTransferRequestResponse, ProjectUpdateRequest, ProjectsApplicationsMapResponse, ProjectsBranchesCountResponse, ProjectsCountResponse, ProjectsIntegrationsMapResponse, ProjectsResponse, ProjectsWithIntegrationResponse, Provisioner, RecoverProjectData, RecoverProjectError, RecoverProjectErrors, RecoverProjectResponse, RecoverProjectResponses, RegionResponse, RemoveOrganizationMemberData, RemoveOrganizationMemberError, RemoveOrganizationMemberErrors, RemoveOrganizationMemberResponse, RemoveOrganizationMemberResponses, ResetProjectBranchRolePasswordData, ResetProjectBranchRolePasswordError, ResetProjectBranchRolePasswordErrors, ResetProjectBranchRolePasswordResponse, ResetProjectBranchRolePasswordResponses, RestartProjectEndpointData, RestartProjectEndpointError, RestartProjectEndpointErrors, RestartProjectEndpointResponse, RestartProjectEndpointResponses, RestoreProjectBranchData, RestoreProjectBranchError, RestoreProjectBranchErrors, RestoreProjectBranchResponse, RestoreProjectBranchResponses, RestoreSnapshotData, RestoreSnapshotError, RestoreSnapshotErrors, RestoreSnapshotResponse, RestoreSnapshotResponses, RevokeApiKeyData, RevokeApiKeyError, RevokeApiKeyErrors, RevokeApiKeyResponse, RevokeApiKeyResponses, RevokeOrgApiKeyData, RevokeOrgApiKeyError, RevokeOrgApiKeyErrors, RevokeOrgApiKeyResponse, RevokeOrgApiKeyResponses, RevokePermissionFromProjectData, RevokePermissionFromProjectError, RevokePermissionFromProjectErrors, RevokePermissionFromProjectResponse, RevokePermissionFromProjectResponses, Role, RoleCreateRequest, RoleOperations, RolePasswordResponse, RoleResponse, RolesResponse, SendNeonAuthTestEmailData, SendNeonAuthTestEmailError, SendNeonAuthTestEmailErrors, SendNeonAuthTestEmailRequest, SendNeonAuthTestEmailResponse, SendNeonAuthTestEmailResponse2, SendNeonAuthTestEmailResponses, SetDefaultProjectBranchData, SetDefaultProjectBranchError, SetDefaultProjectBranchErrors, SetDefaultProjectBranchResponse, SetDefaultProjectBranchResponses, SetOrganizationSpendingLimitData, SetOrganizationSpendingLimitError, SetOrganizationSpendingLimitErrors, SetOrganizationSpendingLimitResponse, SetOrganizationSpendingLimitResponses, SetSnapshotScheduleData, SetSnapshotScheduleError, SetSnapshotScheduleErrors, SetSnapshotScheduleResponse, SetSnapshotScheduleResponses, SharedEmailServer, Snapshot, SnapshotUpdateRequest, SortOrderParam, SpendingLimitResponse, SpendingLimitUpdateRequest, StandardEmailServer, StartAnonymizationData, StartAnonymizationError, StartAnonymizationErrors, StartAnonymizationResponse, StartAnonymizationResponses, StartProjectEndpointData, StartProjectEndpointError, StartProjectEndpointErrors, StartProjectEndpointResponse, StartProjectEndpointResponses, StatementData, StatementResult, SupportTicket, SupportTicketSeverity, SuspendProjectEndpointData, SuspendProjectEndpointError, SuspendProjectEndpointErrors, SuspendProjectEndpointResponse, SuspendProjectEndpointResponses, SuspendTimeoutSeconds, SystemStatusSummaryResponse, TelemetryAuthentication, TelemetryConfig, TelemetryConnection, TelemetryResource, TimeoutParam, TransferNeonAuthProviderProjectData, TransferNeonAuthProviderProjectError, TransferNeonAuthProviderProjectErrors, TransferNeonAuthProviderProjectResponse, TransferNeonAuthProviderProjectResponses, TransferProjectsFromOrgToOrgData, TransferProjectsFromOrgToOrgError, TransferProjectsFromOrgToOrgErrors, TransferProjectsFromOrgToOrgResponse, TransferProjectsFromOrgToOrgResponses, TransferProjectsFromUserToOrgData, TransferProjectsFromUserToOrgError, TransferProjectsFromUserToOrgErrors, TransferProjectsFromUserToOrgResponse, TransferProjectsFromUserToOrgResponses, TransferProjectsToOrganizationRequest, UpdateBranchNeonAuthOauthProviderData, UpdateBranchNeonAuthOauthProviderError, UpdateBranchNeonAuthOauthProviderErrors, UpdateBranchNeonAuthOauthProviderResponse, UpdateBranchNeonAuthOauthProviderResponses, UpdateMaskingRulesData, UpdateMaskingRulesError, UpdateMaskingRulesErrors, UpdateMaskingRulesResponse, UpdateMaskingRulesResponses, UpdateNeonAuthAllowLocalhostData, UpdateNeonAuthAllowLocalhostError, UpdateNeonAuthAllowLocalhostErrors, UpdateNeonAuthAllowLocalhostRequest, UpdateNeonAuthAllowLocalhostResponse, UpdateNeonAuthAllowLocalhostResponses, UpdateNeonAuthConfigData, UpdateNeonAuthConfigError, UpdateNeonAuthConfigErrors, UpdateNeonAuthConfigResponse, UpdateNeonAuthConfigResponses, UpdateNeonAuthEmailAndPasswordConfigData, UpdateNeonAuthEmailAndPasswordConfigError, UpdateNeonAuthEmailAndPasswordConfigErrors, UpdateNeonAuthEmailAndPasswordConfigResponse, UpdateNeonAuthEmailAndPasswordConfigResponses, UpdateNeonAuthEmailProviderData, UpdateNeonAuthEmailProviderError, UpdateNeonAuthEmailProviderErrors, UpdateNeonAuthEmailProviderResponse, UpdateNeonAuthEmailProviderResponses, UpdateNeonAuthEmailServerData, UpdateNeonAuthEmailServerError, UpdateNeonAuthEmailServerErrors, UpdateNeonAuthEmailServerResponse, UpdateNeonAuthEmailServerResponses, UpdateNeonAuthMagicLinkPluginData, UpdateNeonAuthMagicLinkPluginError, UpdateNeonAuthMagicLinkPluginErrors, UpdateNeonAuthMagicLinkPluginResponse, UpdateNeonAuthMagicLinkPluginResponses, UpdateNeonAuthOauthProviderData, UpdateNeonAuthOauthProviderError, UpdateNeonAuthOauthProviderErrors, UpdateNeonAuthOauthProviderResponse, UpdateNeonAuthOauthProviderResponses, UpdateNeonAuthOrganizationPluginData, UpdateNeonAuthOrganizationPluginError, UpdateNeonAuthOrganizationPluginErrors, UpdateNeonAuthOrganizationPluginResponse, UpdateNeonAuthOrganizationPluginResponses, UpdateNeonAuthPhoneNumberPluginData, UpdateNeonAuthPhoneNumberPluginError, UpdateNeonAuthPhoneNumberPluginErrors, UpdateNeonAuthPhoneNumberPluginResponse, UpdateNeonAuthPhoneNumberPluginResponses, UpdateNeonAuthUserRoleData, UpdateNeonAuthUserRoleError, UpdateNeonAuthUserRoleErrors, UpdateNeonAuthUserRoleRequest, UpdateNeonAuthUserRoleResponse, UpdateNeonAuthUserRoleResponse2, UpdateNeonAuthUserRoleResponses, UpdateNeonAuthWebhookConfigData, UpdateNeonAuthWebhookConfigError, UpdateNeonAuthWebhookConfigErrors, UpdateNeonAuthWebhookConfigResponse, UpdateNeonAuthWebhookConfigResponses, UpdateOrganizationMemberData, UpdateOrganizationMemberError, UpdateOrganizationMemberErrors, UpdateOrganizationMemberResponse, UpdateOrganizationMemberResponses, UpdateProjectBranchData, UpdateProjectBranchDataApiData, UpdateProjectBranchDataApiError, UpdateProjectBranchDataApiErrors, UpdateProjectBranchDataApiResponse, UpdateProjectBranchDataApiResponses, UpdateProjectBranchDatabaseData, UpdateProjectBranchDatabaseError, UpdateProjectBranchDatabaseErrors, UpdateProjectBranchDatabaseResponse, UpdateProjectBranchDatabaseResponses, UpdateProjectBranchError, UpdateProjectBranchErrors, UpdateProjectBranchResponse, UpdateProjectBranchResponses, UpdateProjectData, UpdateProjectEndpointData, UpdateProjectEndpointError, UpdateProjectEndpointErrors, UpdateProjectEndpointResponse, UpdateProjectEndpointResponses, UpdateProjectError, UpdateProjectErrors, UpdateProjectResponse, UpdateProjectResponses, UpdateSnapshotData, UpdateSnapshotError, UpdateSnapshotErrors, UpdateSnapshotResponse, UpdateSnapshotResponses, UpdateUserInfoRequest, UserDeletionConditionName, VerifyUserPasswordRequest, VpcEndpoint, VpcEndpointAssignment, VpcEndpointDetails, VpcEndpointWithRegion, VpcEndpointsResponse, VpcEndpointsWithRegionResponse };
|
|
11019
|
+
export { AcceptProjectTransferRequestData, AcceptProjectTransferRequestError, AcceptProjectTransferRequestErrors, AcceptProjectTransferRequestResponse, AcceptProjectTransferRequestResponses, AcceptProjectTransferRequestSatisfiesPlanError, ActiveRegionsResponse, AddBranchNeonAuthOauthProviderData, AddBranchNeonAuthOauthProviderError, AddBranchNeonAuthOauthProviderErrors, AddBranchNeonAuthOauthProviderResponse, AddBranchNeonAuthOauthProviderResponses, AddBranchNeonAuthTrustedDomainData, AddBranchNeonAuthTrustedDomainError, AddBranchNeonAuthTrustedDomainErrors, AddBranchNeonAuthTrustedDomainResponses, AddNeonAuthDomainToRedirectUriWhitelistData, AddNeonAuthDomainToRedirectUriWhitelistError, AddNeonAuthDomainToRedirectUriWhitelistErrors, AddNeonAuthDomainToRedirectUriWhitelistResponses, AddNeonAuthOauthProviderData, AddNeonAuthOauthProviderError, AddNeonAuthOauthProviderErrors, AddNeonAuthOauthProviderResponse, AddNeonAuthOauthProviderResponses, AddProjectJwksData, AddProjectJwksError, AddProjectJwksErrors, AddProjectJwksRequest, AddProjectJwksResponse, AddProjectJwksResponses, AdvisorCategory, AdvisorIssue, AllowedIps, AnnotationCreateValueRequest, AnnotationData, AnnotationObjectData, AnnotationResponse, AnnotationValueData, AnnotationsMapResponse, AnonymizationRunMetadata, AnonymizedBranchStatusResponse, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyCreatorData, ApiKeyRevokeResponse, ApiKeysListResponseItem, ApplicationType, AssignOrganizationVpcEndpointData, AssignOrganizationVpcEndpointError, AssignOrganizationVpcEndpointErrors, AssignOrganizationVpcEndpointResponses, AssignProjectVpcEndpointData, AssignProjectVpcEndpointError, AssignProjectVpcEndpointErrors, AssignProjectVpcEndpointResponses, AuthDetailsResponse, AvailablePreloadLibraries, AvailablePreloadLibrary, BackupSchedule, BackupScheduleItem, BillingAccount, BillingAccountState, BillingPaymentMethod, BillingSubscriptionType, Branch, BranchAiGateway, BranchAiGatewayNotEnabled, BranchAnonymizedCreateRequest, BranchCreateRequest, BranchCreateRequestEndpointOptions, BranchOperations, BranchRecoverResponse, BranchRecoveryInfo, BranchResponse, BranchRestoreRequest, BranchRestoreStatus, BranchRestrictedAction, BranchSchemaCompareResponse, BranchSchemaJson, BranchSchemaResponse, BranchState, BranchStorage, BranchStorageNotEnabled, BranchUpdateRequest, BranchesCountResponse, BranchesResponse, Bucket, BucketAccessLevel, BucketCreateRequest, BucketObject, BucketObjectsDeletePrefixResponse, BucketObjectsListResponse, BucketResponse, BucketsListResponse, ClientOptions, ComputeUnit, ConnectionDetails, ConnectionParameters, ConnectionUriResponse, ConnectionUrisOptionalResponse, ConnectionUrisResponse, ConsumptionHistoryGranularity, ConsumptionHistoryPerBranchV2, ConsumptionHistoryPerBranchV2Response, ConsumptionHistoryPerPeriod, ConsumptionHistoryPerPeriodV2, ConsumptionHistoryPerProject, ConsumptionHistoryPerProjectResponse, ConsumptionHistoryPerProjectV2, ConsumptionHistoryPerProjectV2Response, ConsumptionHistoryPerTimeframe, ConsumptionHistoryPerTimeframeV2, ConsumptionHistoryQueryMetrics, ConsumptionMetricValue, CountProjectBranchesData, CountProjectBranchesError, CountProjectBranchesErrors, CountProjectBranchesResponse, CountProjectBranchesResponses, CreateApiKeyData, CreateApiKeyError, CreateApiKeyErrors, CreateApiKeyResponse, CreateApiKeyResponses, CreateBranchNeonAuthNewUserData, CreateBranchNeonAuthNewUserError, CreateBranchNeonAuthNewUserErrors, CreateBranchNeonAuthNewUserRequest, CreateBranchNeonAuthNewUserResponse, CreateBranchNeonAuthNewUserResponses, CreateCredentialData, CreateCredentialError, CreateCredentialErrors, CreateCredentialRequest, CreateCredentialResponse, CreateCredentialResponse2, CreateCredentialResponses, CreateNeonAuthData, CreateNeonAuthError, CreateNeonAuthErrors, CreateNeonAuthIntegrationData, CreateNeonAuthIntegrationError, CreateNeonAuthIntegrationErrors, CreateNeonAuthIntegrationResponse, CreateNeonAuthIntegrationResponses, CreateNeonAuthNewUserData, CreateNeonAuthNewUserError, CreateNeonAuthNewUserErrors, CreateNeonAuthNewUserResponse, CreateNeonAuthNewUserResponses, CreateNeonAuthProviderSdkKeysData, CreateNeonAuthProviderSdkKeysError, CreateNeonAuthProviderSdkKeysErrors, CreateNeonAuthProviderSdkKeysResponse, CreateNeonAuthProviderSdkKeysResponses, CreateNeonAuthResponse, CreateNeonAuthResponses, CreateOrgApiKeyData, CreateOrgApiKeyError, CreateOrgApiKeyErrors, CreateOrgApiKeyResponse, CreateOrgApiKeyResponses, CreateOrganizationInvitationsData, CreateOrganizationInvitationsError, CreateOrganizationInvitationsErrors, CreateOrganizationInvitationsResponse, CreateOrganizationInvitationsResponses, CreateProjectBranchAnonymizedData, CreateProjectBranchAnonymizedError, CreateProjectBranchAnonymizedErrors, CreateProjectBranchAnonymizedResponse, CreateProjectBranchAnonymizedResponses, CreateProjectBranchBucketData, CreateProjectBranchBucketError, CreateProjectBranchBucketErrors, CreateProjectBranchBucketResponse, CreateProjectBranchBucketResponses, CreateProjectBranchData, CreateProjectBranchDataApiData, CreateProjectBranchDataApiError, CreateProjectBranchDataApiErrors, CreateProjectBranchDataApiResponse, CreateProjectBranchDataApiResponses, CreateProjectBranchDatabaseData, CreateProjectBranchDatabaseError, CreateProjectBranchDatabaseErrors, CreateProjectBranchDatabaseResponse, CreateProjectBranchDatabaseResponses, CreateProjectBranchError, CreateProjectBranchErrors, CreateProjectBranchFunctionDeploymentData, CreateProjectBranchFunctionDeploymentError, CreateProjectBranchFunctionDeploymentErrors, CreateProjectBranchFunctionDeploymentResponse, CreateProjectBranchFunctionDeploymentResponses, CreateProjectBranchResponse, CreateProjectBranchResponses, CreateProjectBranchRoleData, CreateProjectBranchRoleError, CreateProjectBranchRoleErrors, CreateProjectBranchRoleResponse, CreateProjectBranchRoleResponses, CreateProjectData, CreateProjectEndpointData, CreateProjectEndpointError, CreateProjectEndpointErrors, CreateProjectEndpointResponse, CreateProjectEndpointResponses, CreateProjectError, CreateProjectErrors, CreateProjectResponse, CreateProjectResponses, CreateProjectTransferRequestData, CreateProjectTransferRequestError, CreateProjectTransferRequestErrors, CreateProjectTransferRequestResponse, CreateProjectTransferRequestResponses, CreateSnapshotData, CreateSnapshotError, CreateSnapshotErrors, CreateSnapshotResponse, CreateSnapshotResponses, CredentialMeta, CredentialScope, CurrentUserAuthAccount, CurrentUserInfoResponse, CursorPagination, CursorPaginationResponse, CursorParam, DataApiCreateRequest, DataApiCreateResponse, DataApiReponse, DataApiSettings, DataApiUpdateRequest, Database, DatabaseCreateRequest, DatabaseOperations, DatabaseResponse, DatabaseUpdateRequest, DatabasesResponse, DefaultEndpointSettings, DeleteBranchNeonAuthOauthProviderData, DeleteBranchNeonAuthOauthProviderError, DeleteBranchNeonAuthOauthProviderErrors, DeleteBranchNeonAuthOauthProviderResponses, DeleteBranchNeonAuthTrustedDomainData, DeleteBranchNeonAuthTrustedDomainError, DeleteBranchNeonAuthTrustedDomainErrors, DeleteBranchNeonAuthTrustedDomainResponses, DeleteBranchNeonAuthUserData, DeleteBranchNeonAuthUserError, DeleteBranchNeonAuthUserErrors, DeleteBranchNeonAuthUserResponse, DeleteBranchNeonAuthUserResponses, DeleteNeonAuthDomainFromRedirectUriWhitelistData, DeleteNeonAuthDomainFromRedirectUriWhitelistError, DeleteNeonAuthDomainFromRedirectUriWhitelistErrors, DeleteNeonAuthDomainFromRedirectUriWhitelistResponses, DeleteNeonAuthIntegrationData, DeleteNeonAuthIntegrationError, DeleteNeonAuthIntegrationErrors, DeleteNeonAuthIntegrationResponses, DeleteNeonAuthOauthProviderData, DeleteNeonAuthOauthProviderError, DeleteNeonAuthOauthProviderErrors, DeleteNeonAuthOauthProviderResponses, DeleteNeonAuthUserData, DeleteNeonAuthUserError, DeleteNeonAuthUserErrors, DeleteNeonAuthUserResponse, DeleteNeonAuthUserResponses, DeleteOrganizationSpendingLimitData, DeleteOrganizationSpendingLimitError, DeleteOrganizationSpendingLimitErrors, DeleteOrganizationSpendingLimitResponse, DeleteOrganizationSpendingLimitResponses, DeleteOrganizationVpcEndpointData, DeleteOrganizationVpcEndpointError, DeleteOrganizationVpcEndpointErrors, DeleteOrganizationVpcEndpointResponses, DeleteProjectBranchBucketData, DeleteProjectBranchBucketError, DeleteProjectBranchBucketErrors, DeleteProjectBranchBucketObjectData, DeleteProjectBranchBucketObjectError, DeleteProjectBranchBucketObjectErrors, DeleteProjectBranchBucketObjectResponse, DeleteProjectBranchBucketObjectResponses, DeleteProjectBranchBucketObjectsByPrefixData, DeleteProjectBranchBucketObjectsByPrefixError, DeleteProjectBranchBucketObjectsByPrefixErrors, DeleteProjectBranchBucketObjectsByPrefixResponse, DeleteProjectBranchBucketObjectsByPrefixResponses, DeleteProjectBranchBucketResponse, DeleteProjectBranchBucketResponses, DeleteProjectBranchData, DeleteProjectBranchDataApiData, DeleteProjectBranchDataApiError, DeleteProjectBranchDataApiErrors, DeleteProjectBranchDataApiResponse, DeleteProjectBranchDataApiResponses, DeleteProjectBranchDatabaseData, DeleteProjectBranchDatabaseError, DeleteProjectBranchDatabaseErrors, DeleteProjectBranchDatabaseResponse, DeleteProjectBranchDatabaseResponses, DeleteProjectBranchError, DeleteProjectBranchErrors, DeleteProjectBranchFunctionData, DeleteProjectBranchFunctionError, DeleteProjectBranchFunctionErrors, DeleteProjectBranchFunctionResponse, DeleteProjectBranchFunctionResponses, DeleteProjectBranchResponse, DeleteProjectBranchResponses, DeleteProjectBranchRoleData, DeleteProjectBranchRoleError, DeleteProjectBranchRoleErrors, DeleteProjectBranchRoleResponse, DeleteProjectBranchRoleResponses, DeleteProjectData, DeleteProjectEndpointData, DeleteProjectEndpointError, DeleteProjectEndpointErrors, DeleteProjectEndpointResponse, DeleteProjectEndpointResponses, DeleteProjectError, DeleteProjectErrors, DeleteProjectJwksData, DeleteProjectJwksError, DeleteProjectJwksErrors, DeleteProjectJwksResponse, DeleteProjectJwksResponses, DeleteProjectResponse, DeleteProjectResponses, DeleteProjectVpcEndpointData, DeleteProjectVpcEndpointError, DeleteProjectVpcEndpointErrors, DeleteProjectVpcEndpointResponses, DeleteSnapshotData, DeleteSnapshotError, DeleteSnapshotErrors, DeleteSnapshotResponse, DeleteSnapshotResponses, DisableNeonAuthData, DisableNeonAuthError, DisableNeonAuthErrors, DisableNeonAuthResponses, EmptyResponse, EnableNeonAuthIntegrationRequest, Endpoint, EndpointCreateRequest, EndpointOperations, EndpointPoolerMode, EndpointResponse, EndpointSettingsData, EndpointState, EndpointType, EndpointUpdateRequest, EndpointsOptionalResponse, EndpointsResponse, ErrorCode, FinalizeRestoreBranchData, FinalizeRestoreBranchError, FinalizeRestoreBranchErrors, FinalizeRestoreBranchResponse, FinalizeRestoreBranchResponses, FunctionDeployRequest, GeneralError, GetActiveRegionsData, GetActiveRegionsError, GetActiveRegionsErrors, GetActiveRegionsResponse, GetActiveRegionsResponses, GetAnonymizedBranchStatusData, GetAnonymizedBranchStatusError, GetAnonymizedBranchStatusErrors, GetAnonymizedBranchStatusResponse, GetAnonymizedBranchStatusResponses, GetAuthDetailsData, GetAuthDetailsError, GetAuthDetailsErrors, GetAuthDetailsResponse, GetAuthDetailsResponses, GetAvailablePreloadLibrariesData, GetAvailablePreloadLibrariesError, GetAvailablePreloadLibrariesErrors, GetAvailablePreloadLibrariesResponse, GetAvailablePreloadLibrariesResponses, GetConnectionUriData, GetConnectionUriError, GetConnectionUriErrors, GetConnectionUriResponse, GetConnectionUriResponses, GetConsumptionHistoryPerBranchV2Data, GetConsumptionHistoryPerBranchV2Error, GetConsumptionHistoryPerBranchV2Errors, GetConsumptionHistoryPerBranchV2Response, GetConsumptionHistoryPerBranchV2Responses, GetConsumptionHistoryPerProjectData, GetConsumptionHistoryPerProjectError, GetConsumptionHistoryPerProjectErrors, GetConsumptionHistoryPerProjectResponse, GetConsumptionHistoryPerProjectResponses, GetConsumptionHistoryPerProjectV2Data, GetConsumptionHistoryPerProjectV2Error, GetConsumptionHistoryPerProjectV2Errors, GetConsumptionHistoryPerProjectV2Response, GetConsumptionHistoryPerProjectV2Responses, GetCurrentUserInfoData, GetCurrentUserInfoError, GetCurrentUserInfoErrors, GetCurrentUserInfoResponse, GetCurrentUserInfoResponses, GetCurrentUserOrganizationsData, GetCurrentUserOrganizationsError, GetCurrentUserOrganizationsErrors, GetCurrentUserOrganizationsResponse, GetCurrentUserOrganizationsResponses, GetMaskingRulesData, GetMaskingRulesError, GetMaskingRulesErrors, GetMaskingRulesResponse, GetMaskingRulesResponses, GetNeonAuthAllowLocalhostData, GetNeonAuthAllowLocalhostError, GetNeonAuthAllowLocalhostErrors, GetNeonAuthAllowLocalhostResponse, GetNeonAuthAllowLocalhostResponses, GetNeonAuthData, GetNeonAuthEmailAndPasswordConfigData, GetNeonAuthEmailAndPasswordConfigError, GetNeonAuthEmailAndPasswordConfigErrors, GetNeonAuthEmailAndPasswordConfigResponse, GetNeonAuthEmailAndPasswordConfigResponses, GetNeonAuthEmailProviderData, GetNeonAuthEmailProviderError, GetNeonAuthEmailProviderErrors, GetNeonAuthEmailProviderResponse, GetNeonAuthEmailProviderResponses, GetNeonAuthEmailServerData, GetNeonAuthEmailServerError, GetNeonAuthEmailServerErrors, GetNeonAuthEmailServerResponse, GetNeonAuthEmailServerResponses, GetNeonAuthError, GetNeonAuthErrors, GetNeonAuthPhoneNumberPluginData, GetNeonAuthPhoneNumberPluginError, GetNeonAuthPhoneNumberPluginErrors, GetNeonAuthPhoneNumberPluginResponse, GetNeonAuthPhoneNumberPluginResponses, GetNeonAuthPluginConfigsData, GetNeonAuthPluginConfigsError, GetNeonAuthPluginConfigsErrors, GetNeonAuthPluginConfigsResponse, GetNeonAuthPluginConfigsResponses, GetNeonAuthResponse, GetNeonAuthResponses, GetNeonAuthWebhookConfigData, GetNeonAuthWebhookConfigError, GetNeonAuthWebhookConfigErrors, GetNeonAuthWebhookConfigResponse, GetNeonAuthWebhookConfigResponses, GetOrganizationData, GetOrganizationError, GetOrganizationErrors, GetOrganizationInvitationsData, GetOrganizationInvitationsError, GetOrganizationInvitationsErrors, GetOrganizationInvitationsResponse, GetOrganizationInvitationsResponses, GetOrganizationMemberData, GetOrganizationMemberError, GetOrganizationMemberErrors, GetOrganizationMemberResponse, GetOrganizationMemberResponses, GetOrganizationMembersData, GetOrganizationMembersError, GetOrganizationMembersErrors, GetOrganizationMembersResponse, GetOrganizationMembersResponses, GetOrganizationResponse, GetOrganizationResponses, GetOrganizationSpendingLimitData, GetOrganizationSpendingLimitError, GetOrganizationSpendingLimitErrors, GetOrganizationSpendingLimitResponse, GetOrganizationSpendingLimitResponses, GetOrganizationVpcEndpointDetailsData, GetOrganizationVpcEndpointDetailsError, GetOrganizationVpcEndpointDetailsErrors, GetOrganizationVpcEndpointDetailsResponse, GetOrganizationVpcEndpointDetailsResponses, GetProjectAdvisorSecurityIssuesData, GetProjectAdvisorSecurityIssuesError, GetProjectAdvisorSecurityIssuesErrors, GetProjectAdvisorSecurityIssuesResponse, GetProjectAdvisorSecurityIssuesResponses, GetProjectBranchAiGatewayData, GetProjectBranchAiGatewayError, GetProjectBranchAiGatewayErrors, GetProjectBranchAiGatewayResponse, GetProjectBranchAiGatewayResponses, GetProjectBranchBucketObjectData, GetProjectBranchBucketObjectError, GetProjectBranchBucketObjectErrors, GetProjectBranchBucketObjectResponse, GetProjectBranchBucketObjectResponses, GetProjectBranchData, GetProjectBranchDataApiData, GetProjectBranchDataApiError, GetProjectBranchDataApiErrors, GetProjectBranchDataApiResponse, GetProjectBranchDataApiResponses, GetProjectBranchDatabaseData, GetProjectBranchDatabaseError, GetProjectBranchDatabaseErrors, GetProjectBranchDatabaseResponse, GetProjectBranchDatabaseResponses, GetProjectBranchError, GetProjectBranchErrors, GetProjectBranchFunctionData, GetProjectBranchFunctionError, GetProjectBranchFunctionErrors, GetProjectBranchFunctionResponse, GetProjectBranchFunctionResponses, GetProjectBranchResponse, GetProjectBranchResponses, GetProjectBranchRoleData, GetProjectBranchRoleError, GetProjectBranchRoleErrors, GetProjectBranchRolePasswordData, GetProjectBranchRolePasswordError, GetProjectBranchRolePasswordErrors, GetProjectBranchRolePasswordResponse, GetProjectBranchRolePasswordResponses, GetProjectBranchRoleResponse, GetProjectBranchRoleResponses, GetProjectBranchSchemaComparisonData, GetProjectBranchSchemaComparisonError, GetProjectBranchSchemaComparisonErrors, GetProjectBranchSchemaComparisonResponse, GetProjectBranchSchemaComparisonResponses, GetProjectBranchSchemaData, GetProjectBranchSchemaError, GetProjectBranchSchemaErrors, GetProjectBranchSchemaResponse, GetProjectBranchSchemaResponses, GetProjectBranchStorageData, GetProjectBranchStorageError, GetProjectBranchStorageErrors, GetProjectBranchStorageResponse, GetProjectBranchStorageResponses, GetProjectData, GetProjectEndpointData, GetProjectEndpointError, GetProjectEndpointErrors, GetProjectEndpointResponse, GetProjectEndpointResponses, GetProjectError, GetProjectErrors, GetProjectJwksData, GetProjectJwksError, GetProjectJwksErrors, GetProjectJwksResponse, GetProjectJwksResponses, GetProjectOperationData, GetProjectOperationError, GetProjectOperationErrors, GetProjectOperationResponse, GetProjectOperationResponses, GetProjectResponse, GetProjectResponses, GetSnapshotScheduleData, GetSnapshotScheduleError, GetSnapshotScheduleErrors, GetSnapshotScheduleResponse, GetSnapshotScheduleResponses, GrantPermissionToProjectData, GrantPermissionToProjectError, GrantPermissionToProjectErrors, GrantPermissionToProjectRequest, GrantPermissionToProjectResponse, GrantPermissionToProjectResponses, IdentityProviderId, Invitation, Jwks, JwksCreationOperation, JwksResponse, LimitParam, LimitsUnsatisfiedResponse, ListApiKeysData, ListApiKeysError, ListApiKeysErrors, ListApiKeysResponse, ListApiKeysResponses, ListBranchNeonAuthOauthProvidersData, ListBranchNeonAuthOauthProvidersError, ListBranchNeonAuthOauthProvidersErrors, ListBranchNeonAuthOauthProvidersResponse, ListBranchNeonAuthOauthProvidersResponses, ListBranchNeonAuthTrustedDomainsData, ListBranchNeonAuthTrustedDomainsError, ListBranchNeonAuthTrustedDomainsErrors, ListBranchNeonAuthTrustedDomainsResponse, ListBranchNeonAuthTrustedDomainsResponses, ListCredentialsData, ListCredentialsError, ListCredentialsErrors, ListCredentialsResponse, ListCredentialsResponse2, ListCredentialsResponses, ListNeonAuthIntegrationsData, ListNeonAuthIntegrationsError, ListNeonAuthIntegrationsErrors, ListNeonAuthIntegrationsResponse, ListNeonAuthIntegrationsResponse2, ListNeonAuthIntegrationsResponses, ListNeonAuthOauthProvidersData, ListNeonAuthOauthProvidersError, ListNeonAuthOauthProvidersErrors, ListNeonAuthOauthProvidersResponse, ListNeonAuthOauthProvidersResponse2, ListNeonAuthOauthProvidersResponses, ListNeonAuthRedirectUriWhitelistDomainsData, ListNeonAuthRedirectUriWhitelistDomainsError, ListNeonAuthRedirectUriWhitelistDomainsErrors, ListNeonAuthRedirectUriWhitelistDomainsResponse, ListNeonAuthRedirectUriWhitelistDomainsResponses, ListOrgApiKeysData, ListOrgApiKeysError, ListOrgApiKeysErrors, ListOrgApiKeysResponse, ListOrgApiKeysResponses, ListOrganizationVpcEndpointsAllRegionsData, ListOrganizationVpcEndpointsAllRegionsError, ListOrganizationVpcEndpointsAllRegionsErrors, ListOrganizationVpcEndpointsAllRegionsResponse, ListOrganizationVpcEndpointsAllRegionsResponses, ListOrganizationVpcEndpointsData, ListOrganizationVpcEndpointsError, ListOrganizationVpcEndpointsErrors, ListOrganizationVpcEndpointsResponse, ListOrganizationVpcEndpointsResponses, ListProjectBranchBucketObjectsData, ListProjectBranchBucketObjectsError, ListProjectBranchBucketObjectsErrors, ListProjectBranchBucketObjectsResponse, ListProjectBranchBucketObjectsResponses, ListProjectBranchBucketsData, ListProjectBranchBucketsError, ListProjectBranchBucketsErrors, ListProjectBranchBucketsResponse, ListProjectBranchBucketsResponses, ListProjectBranchDatabasesData, ListProjectBranchDatabasesError, ListProjectBranchDatabasesErrors, ListProjectBranchDatabasesResponse, ListProjectBranchDatabasesResponses, ListProjectBranchEndpointsData, ListProjectBranchEndpointsError, ListProjectBranchEndpointsErrors, ListProjectBranchEndpointsResponse, ListProjectBranchEndpointsResponses, ListProjectBranchFunctionsData, ListProjectBranchFunctionsError, ListProjectBranchFunctionsErrors, ListProjectBranchFunctionsResponse, ListProjectBranchFunctionsResponses, ListProjectBranchRolesData, ListProjectBranchRolesError, ListProjectBranchRolesErrors, ListProjectBranchRolesResponse, ListProjectBranchRolesResponses, ListProjectBranchesData, ListProjectBranchesError, ListProjectBranchesErrors, ListProjectBranchesResponse, ListProjectBranchesResponses, ListProjectEndpointsData, ListProjectEndpointsError, ListProjectEndpointsErrors, ListProjectEndpointsResponse, ListProjectEndpointsResponses, ListProjectOperationsData, ListProjectOperationsError, ListProjectOperationsErrors, ListProjectOperationsResponse, ListProjectOperationsResponses, ListProjectPermissionsData, ListProjectPermissionsError, ListProjectPermissionsErrors, ListProjectPermissionsResponse, ListProjectPermissionsResponses, ListProjectVpcEndpointsData, ListProjectVpcEndpointsError, ListProjectVpcEndpointsErrors, ListProjectVpcEndpointsResponse, ListProjectVpcEndpointsResponses, ListProjectsData, ListProjectsError, ListProjectsErrors, ListProjectsResponse, ListProjectsResponses, ListSharedProjectsData, ListSharedProjectsError, ListSharedProjectsErrors, ListSharedProjectsResponse, ListSharedProjectsResponses, ListSnapshotsData, ListSnapshotsError, ListSnapshotsErrors, ListSnapshotsResponse, ListSnapshotsResponses, MaintenanceWindow, MaskingRule, MaskingRulesResponse, MaskingRulesUpdateRequest, Member, MemberRole, MemberUserInfo, MemberWithUser, NeonAuthAddDomainToRedirectUriWhitelistRequest, NeonAuthAddOAuthProviderRequest, NeonAuthAllowLocalhostResponse, NeonAuthConfigResponse, NeonAuthConfigUpdate, NeonAuthCreateAuthProviderSdkKeysRequest, NeonAuthCreateIntegrationRequest, NeonAuthCreateIntegrationResponse, NeonAuthCreateNewUserRequest, NeonAuthCreateNewUserResponse, NeonAuthDeleteDomainFromRedirectUriWhitelistItem, NeonAuthDeleteDomainFromRedirectUriWhitelistRequest, NeonAuthEmailAndPasswordConfig, NeonAuthEmailAndPasswordConfigUpdate, NeonAuthEmailServerConfig, NeonAuthEmailVerificationMethod, NeonAuthIntegration, NeonAuthMagicLinkConfig, NeonAuthMagicLinkConfigUpdate, NeonAuthOauthProvider, NeonAuthOauthProviderId, NeonAuthOauthProviderType, NeonAuthOrganizationConfig, NeonAuthOrganizationConfigUpdate, NeonAuthPhoneNumberConfig, NeonAuthPhoneNumberConfigUpdate, NeonAuthPluginConfigs, NeonAuthProviderProjectOwnedBy, NeonAuthProviderProjectTransferStatus, NeonAuthRedirectUriWhitelistDomain, NeonAuthRedirectUriWhitelistResponse, NeonAuthSupportedAuthProvider, NeonAuthTransferAuthProviderProjectRequest, NeonAuthTransferAuthProviderProjectResponse, NeonAuthUpdateOAuthProviderRequest, NeonAuthWebhookConfig, NeonFunction, NeonFunctionDeployment, NeonFunctionDeploymentResponse, NeonFunctionResponse, NeonFunctionUpdateRequest, NeonFunctionsListResponse, Operation, OperationAction, OperationResponse, OperationStatus, OperationsResponse, OrgApiKeyCreateRequest, OrgApiKeyCreateResponse, OrgApiKeyRevokeResponse, OrgApiKeysListResponseItem, Organization, OrganizationInvitationsResponse, OrganizationInviteCreateRequest, OrganizationInvitesCreateRequest, OrganizationMemberUpdateRequest, OrganizationMembersResponse, OrganizationsResponse, Pagination, PaginationResponse, PaymentSource, PaymentSourceBankCard, PgSettingsData, PgVersion, PgbouncerSettingsData, PlanDetails, PlanVersion, PreloadLibraries, PresignProjectBranchBucketObjectData, PresignProjectBranchBucketObjectError, PresignProjectBranchBucketObjectErrors, PresignProjectBranchBucketObjectResponse, PresignProjectBranchBucketObjectResponses, PresignRequest, PresignResponse, Project, ProjectAuditLogLevel, ProjectCreateRequest, ProjectJwksResponse, ProjectListItem, ProjectOwnerData, ProjectPermission, ProjectPermissionLevel, ProjectPermissions, ProjectQuota, ProjectRecoverResponse, ProjectResponse, ProjectSettingsData, ProjectTransferRequestResponse, ProjectUpdateRequest, ProjectsApplicationsMapResponse, ProjectsIntegrationsMapResponse, ProjectsResponse, ProjectsWithIntegrationResponse, Provisioner, RecoverProjectBranchData, RecoverProjectBranchError, RecoverProjectBranchErrors, RecoverProjectBranchResponse, RecoverProjectBranchResponses, RecoverProjectData, RecoverProjectError, RecoverProjectErrors, RecoverProjectResponse, RecoverProjectResponses, RegionResponse, RemoveOrganizationMemberData, RemoveOrganizationMemberError, RemoveOrganizationMemberErrors, RemoveOrganizationMemberResponse, RemoveOrganizationMemberResponses, ResetProjectBranchRolePasswordData, ResetProjectBranchRolePasswordError, ResetProjectBranchRolePasswordErrors, ResetProjectBranchRolePasswordResponse, ResetProjectBranchRolePasswordResponses, RestartProjectEndpointData, RestartProjectEndpointError, RestartProjectEndpointErrors, RestartProjectEndpointResponse, RestartProjectEndpointResponses, RestoreProjectBranchData, RestoreProjectBranchError, RestoreProjectBranchErrors, RestoreProjectBranchResponse, RestoreProjectBranchResponses, RestoreSnapshotData, RestoreSnapshotError, RestoreSnapshotErrors, RestoreSnapshotResponse, RestoreSnapshotResponses, RevokeApiKeyData, RevokeApiKeyError, RevokeApiKeyErrors, RevokeApiKeyResponse, RevokeApiKeyResponses, RevokeCredentialData, RevokeCredentialError, RevokeCredentialErrors, RevokeCredentialResponse, RevokeCredentialResponses, RevokeOrgApiKeyData, RevokeOrgApiKeyError, RevokeOrgApiKeyErrors, RevokeOrgApiKeyResponse, RevokeOrgApiKeyResponses, RevokePermissionFromProjectData, RevokePermissionFromProjectError, RevokePermissionFromProjectErrors, RevokePermissionFromProjectResponse, RevokePermissionFromProjectResponses, Role, RoleCreateRequest, RoleOperations, RolePasswordResponse, RoleResponse, RolesResponse, SendNeonAuthTestEmailData, SendNeonAuthTestEmailError, SendNeonAuthTestEmailErrors, SendNeonAuthTestEmailRequest, SendNeonAuthTestEmailResponse, SendNeonAuthTestEmailResponse2, SendNeonAuthTestEmailResponses, SetDefaultProjectBranchData, SetDefaultProjectBranchError, SetDefaultProjectBranchErrors, SetDefaultProjectBranchResponse, SetDefaultProjectBranchResponses, SetOrganizationSpendingLimitData, SetOrganizationSpendingLimitError, SetOrganizationSpendingLimitErrors, SetOrganizationSpendingLimitResponse, SetOrganizationSpendingLimitResponses, SetSnapshotScheduleData, SetSnapshotScheduleError, SetSnapshotScheduleErrors, SetSnapshotScheduleResponse, SetSnapshotScheduleResponses, SharedEmailServer, Snapshot, SnapshotUpdateRequest, SortOrderParam, SpendingLimitResponse, SpendingLimitUpdateRequest, StandardEmailServer, StartAnonymizationData, StartAnonymizationError, StartAnonymizationErrors, StartAnonymizationResponse, StartAnonymizationResponses, StartProjectEndpointData, StartProjectEndpointError, StartProjectEndpointErrors, StartProjectEndpointResponse, StartProjectEndpointResponses, SuspendProjectEndpointData, SuspendProjectEndpointError, SuspendProjectEndpointErrors, SuspendProjectEndpointResponse, SuspendProjectEndpointResponses, SuspendTimeoutSeconds, TimeoutParam, TransferNeonAuthProviderProjectData, TransferNeonAuthProviderProjectError, TransferNeonAuthProviderProjectErrors, TransferNeonAuthProviderProjectResponse, TransferNeonAuthProviderProjectResponses, TransferProjectsFromOrgToOrgData, TransferProjectsFromOrgToOrgError, TransferProjectsFromOrgToOrgErrors, TransferProjectsFromOrgToOrgResponse, TransferProjectsFromOrgToOrgResponses, TransferProjectsFromUserToOrgData, TransferProjectsFromUserToOrgError, TransferProjectsFromUserToOrgErrors, TransferProjectsFromUserToOrgResponse, TransferProjectsFromUserToOrgResponses, TransferProjectsToOrganizationRequest, UpdateBranchNeonAuthOauthProviderData, UpdateBranchNeonAuthOauthProviderError, UpdateBranchNeonAuthOauthProviderErrors, UpdateBranchNeonAuthOauthProviderResponse, UpdateBranchNeonAuthOauthProviderResponses, UpdateMaskingRulesData, UpdateMaskingRulesError, UpdateMaskingRulesErrors, UpdateMaskingRulesResponse, UpdateMaskingRulesResponses, UpdateNeonAuthAllowLocalhostData, UpdateNeonAuthAllowLocalhostError, UpdateNeonAuthAllowLocalhostErrors, UpdateNeonAuthAllowLocalhostRequest, UpdateNeonAuthAllowLocalhostResponse, UpdateNeonAuthAllowLocalhostResponses, UpdateNeonAuthConfigData, UpdateNeonAuthConfigError, UpdateNeonAuthConfigErrors, UpdateNeonAuthConfigResponse, UpdateNeonAuthConfigResponses, UpdateNeonAuthEmailAndPasswordConfigData, UpdateNeonAuthEmailAndPasswordConfigError, UpdateNeonAuthEmailAndPasswordConfigErrors, UpdateNeonAuthEmailAndPasswordConfigResponse, UpdateNeonAuthEmailAndPasswordConfigResponses, UpdateNeonAuthEmailProviderData, UpdateNeonAuthEmailProviderError, UpdateNeonAuthEmailProviderErrors, UpdateNeonAuthEmailProviderResponse, UpdateNeonAuthEmailProviderResponses, UpdateNeonAuthEmailServerData, UpdateNeonAuthEmailServerError, UpdateNeonAuthEmailServerErrors, UpdateNeonAuthEmailServerResponse, UpdateNeonAuthEmailServerResponses, UpdateNeonAuthMagicLinkPluginData, UpdateNeonAuthMagicLinkPluginError, UpdateNeonAuthMagicLinkPluginErrors, UpdateNeonAuthMagicLinkPluginResponse, UpdateNeonAuthMagicLinkPluginResponses, UpdateNeonAuthOauthProviderData, UpdateNeonAuthOauthProviderError, UpdateNeonAuthOauthProviderErrors, UpdateNeonAuthOauthProviderResponse, UpdateNeonAuthOauthProviderResponses, UpdateNeonAuthOrganizationPluginData, UpdateNeonAuthOrganizationPluginError, UpdateNeonAuthOrganizationPluginErrors, UpdateNeonAuthOrganizationPluginResponse, UpdateNeonAuthOrganizationPluginResponses, UpdateNeonAuthPhoneNumberPluginData, UpdateNeonAuthPhoneNumberPluginError, UpdateNeonAuthPhoneNumberPluginErrors, UpdateNeonAuthPhoneNumberPluginResponse, UpdateNeonAuthPhoneNumberPluginResponses, UpdateNeonAuthUserRoleData, UpdateNeonAuthUserRoleError, UpdateNeonAuthUserRoleErrors, UpdateNeonAuthUserRoleRequest, UpdateNeonAuthUserRoleResponse, UpdateNeonAuthUserRoleResponse2, UpdateNeonAuthUserRoleResponses, UpdateNeonAuthWebhookConfigData, UpdateNeonAuthWebhookConfigError, UpdateNeonAuthWebhookConfigErrors, UpdateNeonAuthWebhookConfigResponse, UpdateNeonAuthWebhookConfigResponses, UpdateOrganizationMemberData, UpdateOrganizationMemberError, UpdateOrganizationMemberErrors, UpdateOrganizationMemberResponse, UpdateOrganizationMemberResponses, UpdateProjectBranchData, UpdateProjectBranchDataApiData, UpdateProjectBranchDataApiError, UpdateProjectBranchDataApiErrors, UpdateProjectBranchDataApiResponse, UpdateProjectBranchDataApiResponses, UpdateProjectBranchDatabaseData, UpdateProjectBranchDatabaseError, UpdateProjectBranchDatabaseErrors, UpdateProjectBranchDatabaseResponse, UpdateProjectBranchDatabaseResponses, UpdateProjectBranchError, UpdateProjectBranchErrors, UpdateProjectBranchFunctionData, UpdateProjectBranchFunctionError, UpdateProjectBranchFunctionErrors, UpdateProjectBranchFunctionResponse, UpdateProjectBranchFunctionResponses, UpdateProjectBranchResponse, UpdateProjectBranchResponses, UpdateProjectData, UpdateProjectEndpointData, UpdateProjectEndpointError, UpdateProjectEndpointErrors, UpdateProjectEndpointResponse, UpdateProjectEndpointResponses, UpdateProjectError, UpdateProjectErrors, UpdateProjectResponse, UpdateProjectResponses, UpdateSnapshotData, UpdateSnapshotError, UpdateSnapshotErrors, UpdateSnapshotResponse, UpdateSnapshotResponses, VpcEndpoint, VpcEndpointAssignment, VpcEndpointDetails, VpcEndpointWithRegion, VpcEndpointsResponse, VpcEndpointsWithRegionResponse };
|
|
9938
11020
|
//# sourceMappingURL=types.gen.d.ts.map
|