@distilled.cloud/neon 0.19.2 → 0.20.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/lib/operations/acceptProjectTransferRequest.d.ts +1 -1
- package/lib/operations/addBranchNeonAuthOauthProvider.d.ts +4 -4
- package/lib/operations/addBranchNeonAuthTrustedDomain.d.ts +2 -2
- package/lib/operations/addProjectJWKS.d.ts +14 -14
- package/lib/operations/assignOrganizationVPCEndpoint.d.ts +1 -1
- package/lib/operations/assignProjectVPCEndpoint.d.ts +1 -1
- package/lib/operations/createApiKey.d.ts +2 -2
- package/lib/operations/createBranchNeonAuthNewUser.d.ts +1 -1
- package/lib/operations/createNeonAuth.d.ts +5 -5
- package/lib/operations/createNeonAuthProviderSDKKeys.d.ts +4 -4
- package/lib/operations/createOrgApiKey.d.ts +3 -3
- package/lib/operations/createOrganizationInvitations.d.ts +4 -4
- package/lib/operations/createProject.d.ts +187 -187
- package/lib/operations/createProjectBranch.d.ts +91 -91
- package/lib/operations/createProjectBranchAnonymized.d.ts +91 -91
- package/lib/operations/createProjectBranchDataAPI.d.ts +6 -6
- package/lib/operations/createProjectBranchDatabase.d.ts +9 -9
- package/lib/operations/createProjectBranchRole.d.ts +16 -16
- package/lib/operations/createProjectEndpoint.d.ts +36 -36
- package/lib/operations/createProjectTransferRequest.d.ts +2 -2
- package/lib/operations/createSnapshot.d.ts +21 -21
- package/lib/operations/deleteBranchNeonAuthOauthProvider.d.ts +1 -1
- package/lib/operations/deleteBranchNeonAuthTrustedDomain.d.ts +2 -2
- package/lib/operations/deleteBranchNeonAuthUser.d.ts +2 -2
- package/lib/operations/deleteProject.d.ts +48 -48
- package/lib/operations/deleteProjectBranch.d.ts +34 -34
- package/lib/operations/deleteProjectBranchDataAPI.d.ts +1 -1
- package/lib/operations/deleteProjectBranchDatabase.d.ts +9 -9
- package/lib/operations/deleteProjectBranchRole.d.ts +16 -16
- package/lib/operations/deleteProjectEndpoint.d.ts +26 -26
- package/lib/operations/deleteProjectJWKS.d.ts +6 -6
- package/lib/operations/disableNeonAuth.d.ts +1 -1
- package/lib/operations/finalizeRestoreBranch.d.ts +7 -7
- package/lib/operations/getActiveRegions.d.ts +2 -2
- package/lib/operations/getAnonymizedBranchStatus.d.ts +7 -7
- package/lib/operations/getAuthDetails.d.ts +1 -1
- package/lib/operations/getAvailablePreloadLibraries.d.ts +1 -1
- package/lib/operations/getConnectionURI.d.ts +3 -3
- package/lib/operations/getConsumptionHistoryPerAccount.d.ts +10 -10
- package/lib/operations/getConsumptionHistoryPerProject.d.ts +16 -16
- package/lib/operations/getConsumptionHistoryPerProjectV2.d.ts +14 -14
- package/lib/operations/getCurrentUserInfo.d.ts +29 -29
- package/lib/operations/getCurrentUserOrganizations.d.ts +5 -5
- package/lib/operations/getMaskingRules.d.ts +4 -4
- package/lib/operations/getNeonAuth.d.ts +5 -5
- package/lib/operations/getNeonAuthAllowLocalhost.d.ts +1 -1
- package/lib/operations/getNeonAuthEmailAndPasswordConfig.d.ts +5 -5
- package/lib/operations/getNeonAuthEmailProvider.d.ts +1 -1
- package/lib/operations/getNeonAuthPhoneNumberPlugin.d.ts +2 -2
- package/lib/operations/getNeonAuthPluginConfigs.d.ts +25 -25
- package/lib/operations/getNeonAuthWebhookConfig.d.ts +2 -2
- package/lib/operations/getOrganization.d.ts +5 -5
- package/lib/operations/getOrganizationInvitations.d.ts +3 -3
- package/lib/operations/getOrganizationMember.d.ts +3 -3
- package/lib/operations/getOrganizationMembers.d.ts +5 -5
- package/lib/operations/getOrganizationVPCEndpointDetails.d.ts +3 -3
- package/lib/operations/getProject.d.ts +48 -48
- package/lib/operations/getProjectAdvisorSecurityIssues.d.ts +8 -8
- package/lib/operations/getProjectBranch.d.ts +39 -39
- package/lib/operations/getProjectBranchDataAPI.d.ts +5 -5
- package/lib/operations/getProjectBranchDatabase.d.ts +3 -3
- package/lib/operations/getProjectBranchRole.d.ts +3 -3
- package/lib/operations/getProjectBranchRolePassword.d.ts +1 -1
- package/lib/operations/getProjectBranchSchema.d.ts +9 -9
- package/lib/operations/getProjectBranchSchemaComparison.d.ts +4 -4
- package/lib/operations/getProjectEndpoint.d.ts +20 -20
- package/lib/operations/getProjectJWKS.d.ts +5 -5
- package/lib/operations/getProjectOperation.d.ts +7 -7
- package/lib/operations/getSnapshotSchedule.d.ts +2 -2
- package/lib/operations/grantPermissionToProject.d.ts +3 -3
- package/lib/operations/listApiKeys.d.ts +3 -3
- package/lib/operations/listBranchNeonAuthOauthProviders.d.ts +3 -3
- package/lib/operations/listBranchNeonAuthTrustedDomains.d.ts +2 -2
- package/lib/operations/listOrgApiKeys.d.ts +3 -3
- package/lib/operations/listOrganizationVPCEndpoints.d.ts +1 -1
- package/lib/operations/listOrganizationVPCEndpointsAllRegions.d.ts +1 -1
- package/lib/operations/listProjectBranchDatabases.d.ts +3 -3
- package/lib/operations/listProjectBranchEndpoints.d.ts +20 -20
- package/lib/operations/listProjectBranchRoles.d.ts +3 -3
- package/lib/operations/listProjectBranches.d.ts +43 -43
- package/lib/operations/listProjectEndpoints.d.ts +19 -19
- package/lib/operations/listProjectOperations.d.ts +7 -7
- package/lib/operations/listProjectPermissions.d.ts +2 -2
- package/lib/operations/listProjectVPCEndpoints.d.ts +1 -1
- package/lib/operations/listProjects.d.ts +51 -51
- package/lib/operations/listSharedProjects.d.ts +43 -43
- package/lib/operations/listSnapshots.d.ts +7 -7
- package/lib/operations/recoverProject.d.ts +90 -90
- package/lib/operations/recoverProjectBranch.d.ts +47 -47
- package/lib/operations/removeOrganizationMember.d.ts +1 -1
- package/lib/operations/resetProjectBranchRolePassword.d.ts +16 -16
- package/lib/operations/restartProjectEndpoint.d.ts +26 -26
- package/lib/operations/restoreProjectBranch.d.ts +35 -35
- package/lib/operations/restoreSnapshot.d.ts +54 -54
- package/lib/operations/revokeApiKey.d.ts +2 -2
- package/lib/operations/revokeOrgApiKey.d.ts +4 -4
- package/lib/operations/revokePermissionFromProject.d.ts +3 -3
- package/lib/operations/sendNeonAuthTestEmail.d.ts +5 -5
- package/lib/operations/setDefaultProjectBranch.d.ts +34 -34
- package/lib/operations/setSnapshotSchedule.d.ts +2 -2
- package/lib/operations/startAnonymization.d.ts +7 -7
- package/lib/operations/startProjectEndpoint.d.ts +26 -26
- package/lib/operations/suspendProjectEndpoint.d.ts +26 -26
- package/lib/operations/transferNeonAuthProviderProject.d.ts +1 -1
- package/lib/operations/transferProjectsFromOrgToOrg.d.ts +1 -1
- package/lib/operations/updateBranchNeonAuthOauthProvider.d.ts +4 -4
- package/lib/operations/updateMaskingRules.d.ts +7 -7
- package/lib/operations/updateNeonAuthAllowLocalhost.d.ts +2 -2
- package/lib/operations/updateNeonAuthConfig.d.ts +1 -1
- package/lib/operations/updateNeonAuthEmailAndPasswordConfig.d.ts +9 -9
- package/lib/operations/updateNeonAuthEmailProvider.d.ts +1 -1
- package/lib/operations/updateNeonAuthMagicLinkPlugin.d.ts +3 -3
- package/lib/operations/updateNeonAuthOrganizationPlugin.d.ts +5 -5
- package/lib/operations/updateNeonAuthPhoneNumberPlugin.d.ts +3 -3
- package/lib/operations/updateNeonAuthUserRole.d.ts +2 -2
- package/lib/operations/updateNeonAuthWebhookConfig.d.ts +3 -3
- package/lib/operations/updateOrganizationMember.d.ts +3 -3
- package/lib/operations/updateProject.d.ts +89 -89
- package/lib/operations/updateProjectBranch.d.ts +36 -36
- package/lib/operations/updateProjectBranchDataAPI.d.ts +2 -2
- package/lib/operations/updateProjectBranchDatabase.d.ts +10 -10
- package/lib/operations/updateProjectEndpoint.d.ts +35 -35
- package/lib/operations/updateSnapshot.d.ts +8 -8
- package/package.json +3 -3
|
@@ -95,17 +95,11 @@ export type CreateProjectEndpointOutput = typeof CreateProjectEndpointOutput.Typ
|
|
|
95
95
|
* @param project_id - The Neon project ID
|
|
96
96
|
*/
|
|
97
97
|
export declare const createProjectEndpoint: import("@distilled.cloud/core/client").OperationMethod<{
|
|
98
|
+
readonly project_id: string;
|
|
98
99
|
readonly endpoint: {
|
|
99
|
-
readonly autoscaling_limit_max_cu?: number | undefined;
|
|
100
|
-
readonly autoscaling_limit_min_cu?: number | undefined;
|
|
101
100
|
readonly branch_id: string;
|
|
102
|
-
readonly disabled?: boolean | undefined;
|
|
103
|
-
readonly name?: string | undefined;
|
|
104
|
-
readonly passwordless_access?: boolean | undefined;
|
|
105
|
-
readonly pooler_enabled?: boolean | undefined;
|
|
106
|
-
readonly pooler_mode?: "transaction" | undefined;
|
|
107
|
-
readonly provisioner?: string | undefined;
|
|
108
101
|
readonly region_id?: string | undefined;
|
|
102
|
+
readonly type: "read_only" | "read_write";
|
|
109
103
|
readonly settings?: {
|
|
110
104
|
readonly pg_settings?: {
|
|
111
105
|
readonly [x: string]: string;
|
|
@@ -114,36 +108,33 @@ export declare const createProjectEndpoint: import("@distilled.cloud/core/client
|
|
|
114
108
|
readonly [x: string]: string;
|
|
115
109
|
} | undefined;
|
|
116
110
|
readonly preload_libraries?: {
|
|
117
|
-
readonly enabled_libraries?: readonly string[] | undefined;
|
|
118
111
|
readonly use_defaults?: boolean | undefined;
|
|
112
|
+
readonly enabled_libraries?: readonly string[] | undefined;
|
|
119
113
|
} | undefined;
|
|
120
114
|
} | undefined;
|
|
115
|
+
readonly autoscaling_limit_min_cu?: number | undefined;
|
|
116
|
+
readonly autoscaling_limit_max_cu?: number | undefined;
|
|
117
|
+
readonly provisioner?: string | undefined;
|
|
118
|
+
readonly pooler_enabled?: boolean | undefined;
|
|
119
|
+
readonly pooler_mode?: "transaction" | undefined;
|
|
120
|
+
readonly disabled?: boolean | undefined;
|
|
121
|
+
readonly passwordless_access?: boolean | undefined;
|
|
121
122
|
readonly suspend_timeout_seconds?: number | undefined;
|
|
122
|
-
readonly
|
|
123
|
+
readonly name?: string | undefined;
|
|
123
124
|
};
|
|
124
|
-
readonly project_id: string;
|
|
125
125
|
}, {
|
|
126
126
|
readonly endpoint: {
|
|
127
|
-
readonly autoscaling_limit_max_cu: number;
|
|
128
|
-
readonly autoscaling_limit_min_cu: number;
|
|
129
|
-
readonly branch_id: string;
|
|
130
|
-
readonly compute_release_version?: string | undefined;
|
|
131
|
-
readonly created_at: string;
|
|
132
|
-
readonly creation_source: string;
|
|
133
|
-
readonly current_state: "active" | "idle" | "init";
|
|
134
|
-
readonly disabled: boolean;
|
|
135
127
|
readonly host: string;
|
|
136
128
|
readonly id: string;
|
|
137
|
-
readonly last_active?: string | undefined;
|
|
138
129
|
readonly name?: string | undefined;
|
|
139
|
-
readonly passwordless_access: boolean;
|
|
140
|
-
readonly pending_state?: "active" | "idle" | "init" | undefined;
|
|
141
|
-
readonly pooler_enabled: boolean;
|
|
142
|
-
readonly pooler_mode: "transaction";
|
|
143
130
|
readonly project_id: string;
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
131
|
+
readonly branch_id: string;
|
|
132
|
+
readonly autoscaling_limit_min_cu: number;
|
|
133
|
+
readonly autoscaling_limit_max_cu: number;
|
|
146
134
|
readonly region_id: string;
|
|
135
|
+
readonly type: "read_only" | "read_write";
|
|
136
|
+
readonly current_state: "active" | "idle" | "init";
|
|
137
|
+
readonly pending_state?: "active" | "idle" | "init" | undefined;
|
|
147
138
|
readonly settings: {
|
|
148
139
|
readonly pg_settings?: {
|
|
149
140
|
readonly [x: string]: string;
|
|
@@ -152,29 +143,38 @@ export declare const createProjectEndpoint: import("@distilled.cloud/core/client
|
|
|
152
143
|
readonly [x: string]: string;
|
|
153
144
|
} | undefined;
|
|
154
145
|
readonly preload_libraries?: {
|
|
155
|
-
readonly enabled_libraries?: readonly string[] | undefined;
|
|
156
146
|
readonly use_defaults?: boolean | undefined;
|
|
147
|
+
readonly enabled_libraries?: readonly string[] | undefined;
|
|
157
148
|
} | undefined;
|
|
158
149
|
};
|
|
150
|
+
readonly pooler_enabled: boolean;
|
|
151
|
+
readonly pooler_mode: "transaction";
|
|
152
|
+
readonly disabled: boolean;
|
|
153
|
+
readonly passwordless_access: boolean;
|
|
154
|
+
readonly last_active?: string | undefined;
|
|
155
|
+
readonly creation_source: string;
|
|
156
|
+
readonly created_at: string;
|
|
157
|
+
readonly updated_at: string;
|
|
159
158
|
readonly started_at?: string | undefined;
|
|
160
|
-
readonly suspend_timeout_seconds: number;
|
|
161
159
|
readonly suspended_at?: string | undefined;
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
160
|
+
readonly proxy_host: string;
|
|
161
|
+
readonly suspend_timeout_seconds: number;
|
|
162
|
+
readonly provisioner: string;
|
|
163
|
+
readonly compute_release_version?: string | undefined;
|
|
164
164
|
};
|
|
165
165
|
readonly operations: readonly {
|
|
166
|
-
readonly
|
|
166
|
+
readonly id: string;
|
|
167
|
+
readonly project_id: string;
|
|
167
168
|
readonly branch_id?: string | undefined;
|
|
168
|
-
readonly created_at: string;
|
|
169
169
|
readonly endpoint_id?: string | undefined;
|
|
170
|
+
readonly action: "apply_config" | "apply_schema_from_branch" | "apply_storage_config" | "check_availability" | "create_branch" | "create_compute" | "create_timeline" | "delete_timeline" | "detach_parent_branch" | "disable_maintenance" | "finalize_migration" | "import_data" | "mark_migration_prepared" | "prepare_secondary_pageserver" | "prewarm_replica" | "promote_replica" | "replace_safekeeper" | "set_storage_non_dirty" | "start_compute" | "start_reserved_compute" | "suspend_compute" | "swap_binding_id" | "switch_pageserver" | "sync_dbs_and_roles_from_compute" | "tenant_attach" | "tenant_detach" | "tenant_ignore" | "tenant_reattach" | "timeline_archive" | "timeline_mark_invisible" | "timeline_unarchive" | "timeline_update_protected_config";
|
|
171
|
+
readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
|
|
170
172
|
readonly error?: string | undefined;
|
|
171
173
|
readonly failures_count: number;
|
|
172
|
-
readonly id: string;
|
|
173
|
-
readonly project_id: string;
|
|
174
174
|
readonly retry_at?: string | undefined;
|
|
175
|
-
readonly
|
|
176
|
-
readonly total_duration_ms: number;
|
|
175
|
+
readonly created_at: string;
|
|
177
176
|
readonly updated_at: string;
|
|
177
|
+
readonly total_duration_ms: number;
|
|
178
178
|
}[];
|
|
179
179
|
}, Conflict | NotFound, import("../credentials.ts").Credentials>;
|
|
180
180
|
//# sourceMappingURL=createProjectEndpoint.d.ts.map
|
|
@@ -29,9 +29,9 @@ export declare const createProjectTransferRequest: import("@distilled.cloud/core
|
|
|
29
29
|
readonly project_id: string;
|
|
30
30
|
readonly ttl_seconds?: number | undefined;
|
|
31
31
|
}, {
|
|
32
|
-
readonly created_at: string;
|
|
33
|
-
readonly expires_at: string;
|
|
34
32
|
readonly id: string;
|
|
35
33
|
readonly project_id: string;
|
|
34
|
+
readonly created_at: string;
|
|
35
|
+
readonly expires_at: string;
|
|
36
36
|
}, never, import("../credentials.ts").Credentials>;
|
|
37
37
|
//# sourceMappingURL=createProjectTransferRequest.d.ts.map
|
|
@@ -58,38 +58,38 @@ Use ISO 8601 format (e.g. 2025-08-05T22:00:00Z).
|
|
|
58
58
|
|
|
59
59
|
*/
|
|
60
60
|
export declare const createSnapshot: import("@distilled.cloud/core/client").OperationMethod<{
|
|
61
|
+
readonly project_id: string;
|
|
61
62
|
readonly branch_id: string;
|
|
62
|
-
readonly expires_at?: string | undefined;
|
|
63
63
|
readonly lsn?: string | undefined;
|
|
64
|
-
readonly name?: string | undefined;
|
|
65
|
-
readonly project_id: string;
|
|
66
64
|
readonly timestamp?: string | undefined;
|
|
65
|
+
readonly name?: string | undefined;
|
|
66
|
+
readonly expires_at?: string | undefined;
|
|
67
67
|
}, {
|
|
68
|
+
readonly snapshot: {
|
|
69
|
+
readonly id: string;
|
|
70
|
+
readonly name: string;
|
|
71
|
+
readonly lsn?: string | undefined;
|
|
72
|
+
readonly timestamp?: string | undefined;
|
|
73
|
+
readonly source_branch_id?: string | undefined;
|
|
74
|
+
readonly created_at: string;
|
|
75
|
+
readonly expires_at?: string | undefined;
|
|
76
|
+
readonly manual?: boolean | undefined;
|
|
77
|
+
readonly full_size?: number | undefined;
|
|
78
|
+
readonly diff_size?: number | undefined;
|
|
79
|
+
};
|
|
68
80
|
readonly operations: readonly {
|
|
69
|
-
readonly
|
|
81
|
+
readonly id: string;
|
|
82
|
+
readonly project_id: string;
|
|
70
83
|
readonly branch_id?: string | undefined;
|
|
71
|
-
readonly created_at: string;
|
|
72
84
|
readonly endpoint_id?: string | undefined;
|
|
85
|
+
readonly action: "apply_config" | "apply_schema_from_branch" | "apply_storage_config" | "check_availability" | "create_branch" | "create_compute" | "create_timeline" | "delete_timeline" | "detach_parent_branch" | "disable_maintenance" | "finalize_migration" | "import_data" | "mark_migration_prepared" | "prepare_secondary_pageserver" | "prewarm_replica" | "promote_replica" | "replace_safekeeper" | "set_storage_non_dirty" | "start_compute" | "start_reserved_compute" | "suspend_compute" | "swap_binding_id" | "switch_pageserver" | "sync_dbs_and_roles_from_compute" | "tenant_attach" | "tenant_detach" | "tenant_ignore" | "tenant_reattach" | "timeline_archive" | "timeline_mark_invisible" | "timeline_unarchive" | "timeline_update_protected_config";
|
|
86
|
+
readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
|
|
73
87
|
readonly error?: string | undefined;
|
|
74
88
|
readonly failures_count: number;
|
|
75
|
-
readonly id: string;
|
|
76
|
-
readonly project_id: string;
|
|
77
89
|
readonly retry_at?: string | undefined;
|
|
78
|
-
readonly
|
|
79
|
-
readonly total_duration_ms: number;
|
|
90
|
+
readonly created_at: string;
|
|
80
91
|
readonly updated_at: string;
|
|
92
|
+
readonly total_duration_ms: number;
|
|
81
93
|
}[];
|
|
82
|
-
readonly snapshot: {
|
|
83
|
-
readonly created_at: string;
|
|
84
|
-
readonly diff_size?: number | undefined;
|
|
85
|
-
readonly expires_at?: string | undefined;
|
|
86
|
-
readonly full_size?: number | undefined;
|
|
87
|
-
readonly id: string;
|
|
88
|
-
readonly lsn?: string | undefined;
|
|
89
|
-
readonly manual?: boolean | undefined;
|
|
90
|
-
readonly name: string;
|
|
91
|
-
readonly source_branch_id?: string | undefined;
|
|
92
|
-
readonly timestamp?: string | undefined;
|
|
93
|
-
};
|
|
94
94
|
}, never, import("../credentials.ts").Credentials>;
|
|
95
95
|
//# sourceMappingURL=createSnapshot.d.ts.map
|
|
@@ -17,8 +17,8 @@ export type DeleteBranchNeonAuthOauthProviderOutput = typeof DeleteBranchNeonAut
|
|
|
17
17
|
* @param oauth_provider_id - The OAuth provider ID
|
|
18
18
|
*/
|
|
19
19
|
export declare const deleteBranchNeonAuthOauthProvider: import("@distilled.cloud/core/client").OperationMethod<{
|
|
20
|
+
readonly project_id: string;
|
|
20
21
|
readonly branch_id: string;
|
|
21
22
|
readonly oauth_provider_id: string;
|
|
22
|
-
readonly project_id: string;
|
|
23
23
|
}, void, never, import("../credentials.ts").Credentials>;
|
|
24
24
|
//# sourceMappingURL=deleteBranchNeonAuthOauthProvider.d.ts.map
|
|
@@ -19,11 +19,11 @@ export type DeleteBranchNeonAuthTrustedDomainOutput = typeof DeleteBranchNeonAut
|
|
|
19
19
|
* @param branch_id - The Neon branch ID
|
|
20
20
|
*/
|
|
21
21
|
export declare const deleteBranchNeonAuthTrustedDomain: import("@distilled.cloud/core/client").OperationMethod<{
|
|
22
|
-
readonly
|
|
22
|
+
readonly project_id: string;
|
|
23
23
|
readonly branch_id: string;
|
|
24
|
+
readonly auth_provider: "better_auth" | "mock" | "stack" | "stack_v2";
|
|
24
25
|
readonly domains: readonly {
|
|
25
26
|
readonly domain: string;
|
|
26
27
|
}[];
|
|
27
|
-
readonly project_id: string;
|
|
28
28
|
}, void, never, import("../credentials.ts").Credentials>;
|
|
29
29
|
//# sourceMappingURL=deleteBranchNeonAuthTrustedDomain.d.ts.map
|
|
@@ -17,8 +17,8 @@ export type DeleteBranchNeonAuthUserOutput = typeof DeleteBranchNeonAuthUserOutp
|
|
|
17
17
|
* @param auth_user_id - The Neon user ID
|
|
18
18
|
*/
|
|
19
19
|
export declare const deleteBranchNeonAuthUser: import("@distilled.cloud/core/client").OperationMethod<{
|
|
20
|
-
readonly auth_user_id: string;
|
|
21
|
-
readonly branch_id: string;
|
|
22
20
|
readonly project_id: string;
|
|
21
|
+
readonly branch_id: string;
|
|
22
|
+
readonly auth_user_id: string;
|
|
23
23
|
}, void, never, import("../credentials.ts").Credentials>;
|
|
24
24
|
//# sourceMappingURL=deleteBranchNeonAuthUser.d.ts.map
|
|
@@ -93,80 +93,80 @@ export declare const deleteProject: import("@distilled.cloud/core/client").Opera
|
|
|
93
93
|
readonly project_id: string;
|
|
94
94
|
}, {
|
|
95
95
|
readonly project: {
|
|
96
|
-
readonly active_time_seconds: number;
|
|
97
|
-
readonly branch_logical_size_limit: number;
|
|
98
|
-
readonly branch_logical_size_limit_bytes: number;
|
|
99
|
-
readonly compute_last_active_at?: string | undefined;
|
|
100
|
-
readonly compute_time_seconds: number;
|
|
101
|
-
readonly consumption_period_end: string;
|
|
102
|
-
readonly consumption_period_start: string;
|
|
103
|
-
readonly cpu_used_sec: number;
|
|
104
|
-
readonly created_at: string;
|
|
105
|
-
readonly creation_source: string;
|
|
106
96
|
readonly data_storage_bytes_hour: number;
|
|
107
97
|
readonly data_transfer_bytes: number;
|
|
98
|
+
readonly written_data_bytes: number;
|
|
99
|
+
readonly compute_time_seconds: number;
|
|
100
|
+
readonly active_time_seconds: number;
|
|
101
|
+
readonly cpu_used_sec: number;
|
|
102
|
+
readonly id: string;
|
|
103
|
+
readonly platform_id: string;
|
|
104
|
+
readonly region_id: string;
|
|
105
|
+
readonly name: string;
|
|
106
|
+
readonly provisioner: string;
|
|
108
107
|
readonly default_endpoint_settings?: {
|
|
109
|
-
readonly autoscaling_limit_max_cu?: number | undefined;
|
|
110
|
-
readonly autoscaling_limit_min_cu?: number | undefined;
|
|
111
108
|
readonly pg_settings?: {
|
|
112
109
|
readonly [x: string]: string;
|
|
113
110
|
} | undefined;
|
|
114
111
|
readonly pgbouncer_settings?: {
|
|
115
112
|
readonly [x: string]: string;
|
|
116
113
|
} | undefined;
|
|
114
|
+
readonly autoscaling_limit_min_cu?: number | undefined;
|
|
115
|
+
readonly autoscaling_limit_max_cu?: number | undefined;
|
|
117
116
|
readonly suspend_timeout_seconds?: number | undefined;
|
|
118
117
|
} | undefined;
|
|
119
|
-
readonly hipaa_enabled_at?: string | undefined;
|
|
120
|
-
readonly history_retention_seconds: number;
|
|
121
|
-
readonly id: string;
|
|
122
|
-
readonly maintenance_scheduled_for?: string | undefined;
|
|
123
|
-
readonly maintenance_starts_at?: string | undefined;
|
|
124
|
-
readonly name: string;
|
|
125
|
-
readonly org_id?: string | undefined;
|
|
126
|
-
readonly owner?: {
|
|
127
|
-
readonly branches_limit: number;
|
|
128
|
-
readonly email: string;
|
|
129
|
-
readonly name: string;
|
|
130
|
-
readonly subscription_type: "UNKNOWN" | "aws_marketplace" | "business" | "direct_sales" | "direct_sales_v3" | "free_v2" | "free_v3" | "launch" | "launch_v3" | "scale" | "scale_v3" | "vercel_pg_legacy";
|
|
131
|
-
} | undefined;
|
|
132
|
-
readonly owner_id: string;
|
|
133
|
-
readonly pg_version: number;
|
|
134
|
-
readonly platform_id: string;
|
|
135
|
-
readonly provisioner: string;
|
|
136
|
-
readonly proxy_host: string;
|
|
137
|
-
readonly quota_reset_at?: string | undefined;
|
|
138
|
-
readonly region_id: string;
|
|
139
118
|
readonly settings?: {
|
|
119
|
+
readonly quota?: {
|
|
120
|
+
readonly active_time_seconds?: number | undefined;
|
|
121
|
+
readonly compute_time_seconds?: number | undefined;
|
|
122
|
+
readonly written_data_bytes?: number | undefined;
|
|
123
|
+
readonly data_transfer_bytes?: number | undefined;
|
|
124
|
+
readonly logical_size_bytes?: number | undefined;
|
|
125
|
+
} | undefined;
|
|
140
126
|
readonly allowed_ips?: {
|
|
141
127
|
readonly ips?: readonly string[] | undefined;
|
|
142
128
|
readonly protected_branches_only?: boolean | undefined;
|
|
143
129
|
} | undefined;
|
|
144
|
-
readonly audit_log_level?: "base" | "extended" | "full" | undefined;
|
|
145
|
-
readonly block_public_connections?: boolean | undefined;
|
|
146
|
-
readonly block_vpc_connections?: boolean | undefined;
|
|
147
130
|
readonly enable_logical_replication?: boolean | undefined;
|
|
148
|
-
readonly hipaa?: boolean | undefined;
|
|
149
131
|
readonly maintenance_window?: {
|
|
150
|
-
readonly end_time: string;
|
|
151
|
-
readonly start_time: string;
|
|
152
132
|
readonly weekdays: readonly number[];
|
|
133
|
+
readonly start_time: string;
|
|
134
|
+
readonly end_time: string;
|
|
153
135
|
} | undefined;
|
|
136
|
+
readonly block_public_connections?: boolean | undefined;
|
|
137
|
+
readonly block_vpc_connections?: boolean | undefined;
|
|
138
|
+
readonly audit_log_level?: "base" | "extended" | "full" | undefined;
|
|
139
|
+
readonly hipaa?: boolean | undefined;
|
|
154
140
|
readonly preload_libraries?: {
|
|
155
|
-
readonly enabled_libraries?: readonly string[] | undefined;
|
|
156
141
|
readonly use_defaults?: boolean | undefined;
|
|
157
|
-
|
|
158
|
-
readonly quota?: {
|
|
159
|
-
readonly active_time_seconds?: number | undefined;
|
|
160
|
-
readonly compute_time_seconds?: number | undefined;
|
|
161
|
-
readonly data_transfer_bytes?: number | undefined;
|
|
162
|
-
readonly logical_size_bytes?: number | undefined;
|
|
163
|
-
readonly written_data_bytes?: number | undefined;
|
|
142
|
+
readonly enabled_libraries?: readonly string[] | undefined;
|
|
164
143
|
} | undefined;
|
|
165
144
|
} | undefined;
|
|
145
|
+
readonly pg_version: number;
|
|
146
|
+
readonly proxy_host: string;
|
|
147
|
+
readonly branch_logical_size_limit: number;
|
|
148
|
+
readonly branch_logical_size_limit_bytes: number;
|
|
166
149
|
readonly store_passwords: boolean;
|
|
167
|
-
readonly
|
|
150
|
+
readonly maintenance_starts_at?: string | undefined;
|
|
151
|
+
readonly creation_source: string;
|
|
152
|
+
readonly history_retention_seconds: number;
|
|
153
|
+
readonly created_at: string;
|
|
168
154
|
readonly updated_at: string;
|
|
169
|
-
readonly
|
|
155
|
+
readonly synthetic_storage_size?: number | undefined;
|
|
156
|
+
readonly consumption_period_start: string;
|
|
157
|
+
readonly consumption_period_end: string;
|
|
158
|
+
readonly quota_reset_at?: string | undefined;
|
|
159
|
+
readonly owner_id: string;
|
|
160
|
+
readonly owner?: {
|
|
161
|
+
readonly email: string;
|
|
162
|
+
readonly name: string;
|
|
163
|
+
readonly branches_limit: number;
|
|
164
|
+
readonly subscription_type: "UNKNOWN" | "aws_marketplace" | "business" | "direct_sales" | "direct_sales_v3" | "free_v2" | "free_v3" | "launch" | "launch_v3" | "scale" | "scale_v3" | "vercel_pg_legacy";
|
|
165
|
+
} | undefined;
|
|
166
|
+
readonly compute_last_active_at?: string | undefined;
|
|
167
|
+
readonly org_id?: string | undefined;
|
|
168
|
+
readonly maintenance_scheduled_for?: string | undefined;
|
|
169
|
+
readonly hipaa_enabled_at?: string | undefined;
|
|
170
170
|
};
|
|
171
171
|
}, NotFound, import("../credentials.ts").Credentials>;
|
|
172
172
|
//# sourceMappingURL=deleteProject.d.ts.map
|
|
@@ -92,66 +92,66 @@ This parameter is part of the Branch Recovery feature, which is in preview and n
|
|
|
92
92
|
|
|
93
93
|
*/
|
|
94
94
|
export declare const deleteProjectBranch: import("@distilled.cloud/core/client").OperationMethod<{
|
|
95
|
+
readonly project_id: string;
|
|
95
96
|
readonly branch_id: string;
|
|
96
97
|
readonly hard_delete?: boolean | undefined;
|
|
97
|
-
readonly project_id: string;
|
|
98
98
|
}, {
|
|
99
99
|
readonly branch: {
|
|
100
|
-
readonly active_time_seconds: number;
|
|
101
|
-
readonly compute_time_seconds: number;
|
|
102
|
-
readonly cpu_used_sec: number;
|
|
103
|
-
readonly created_at: string;
|
|
104
|
-
readonly created_by?: {
|
|
105
|
-
readonly image?: string | undefined;
|
|
106
|
-
readonly name?: string | undefined;
|
|
107
|
-
} | undefined;
|
|
108
|
-
readonly creation_source: string;
|
|
109
|
-
readonly current_state: string;
|
|
110
|
-
readonly data_transfer_bytes: number;
|
|
111
|
-
readonly default: boolean;
|
|
112
|
-
readonly expires_at?: string | undefined;
|
|
113
100
|
readonly id: string;
|
|
114
|
-
readonly
|
|
115
|
-
readonly last_reset_at?: string | undefined;
|
|
116
|
-
readonly logical_size?: number | undefined;
|
|
117
|
-
readonly name: string;
|
|
101
|
+
readonly project_id: string;
|
|
118
102
|
readonly parent_id?: string | undefined;
|
|
119
103
|
readonly parent_lsn?: string | undefined;
|
|
120
104
|
readonly parent_timestamp?: string | undefined;
|
|
105
|
+
readonly name: string;
|
|
106
|
+
readonly current_state: string;
|
|
121
107
|
readonly pending_state?: string | undefined;
|
|
108
|
+
readonly state_changed_at: string;
|
|
109
|
+
readonly logical_size?: number | undefined;
|
|
110
|
+
readonly creation_source: string;
|
|
122
111
|
readonly primary?: boolean | undefined;
|
|
123
|
-
readonly
|
|
112
|
+
readonly default: boolean;
|
|
124
113
|
readonly protected: boolean;
|
|
125
|
-
readonly
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
114
|
+
readonly cpu_used_sec: number;
|
|
115
|
+
readonly compute_time_seconds: number;
|
|
116
|
+
readonly active_time_seconds: number;
|
|
117
|
+
readonly written_data_bytes: number;
|
|
118
|
+
readonly data_transfer_bytes: number;
|
|
119
|
+
readonly created_at: string;
|
|
120
|
+
readonly updated_at: string;
|
|
121
|
+
readonly ttl_interval_seconds?: number | undefined;
|
|
122
|
+
readonly expires_at?: string | undefined;
|
|
123
|
+
readonly last_reset_at?: string | undefined;
|
|
124
|
+
readonly created_by?: {
|
|
125
|
+
readonly name?: string | undefined;
|
|
126
|
+
readonly image?: string | undefined;
|
|
129
127
|
} | undefined;
|
|
128
|
+
readonly init_source?: string | undefined;
|
|
130
129
|
readonly restore_status?: string | undefined;
|
|
131
|
-
readonly restored_as?: string | undefined;
|
|
132
130
|
readonly restored_from?: string | undefined;
|
|
131
|
+
readonly restored_as?: string | undefined;
|
|
133
132
|
readonly restricted_actions?: readonly {
|
|
134
133
|
readonly name: string;
|
|
135
134
|
readonly reason: string;
|
|
136
135
|
}[] | undefined;
|
|
137
|
-
readonly
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
136
|
+
readonly recovery?: {
|
|
137
|
+
readonly deleted_at: string;
|
|
138
|
+
readonly recoverable_until: string;
|
|
139
|
+
readonly deletion_method: "ttl" | "user";
|
|
140
|
+
} | undefined;
|
|
141
141
|
};
|
|
142
142
|
readonly operations: readonly {
|
|
143
|
-
readonly
|
|
143
|
+
readonly id: string;
|
|
144
|
+
readonly project_id: string;
|
|
144
145
|
readonly branch_id?: string | undefined;
|
|
145
|
-
readonly created_at: string;
|
|
146
146
|
readonly endpoint_id?: string | undefined;
|
|
147
|
+
readonly action: "apply_config" | "apply_schema_from_branch" | "apply_storage_config" | "check_availability" | "create_branch" | "create_compute" | "create_timeline" | "delete_timeline" | "detach_parent_branch" | "disable_maintenance" | "finalize_migration" | "import_data" | "mark_migration_prepared" | "prepare_secondary_pageserver" | "prewarm_replica" | "promote_replica" | "replace_safekeeper" | "set_storage_non_dirty" | "start_compute" | "start_reserved_compute" | "suspend_compute" | "swap_binding_id" | "switch_pageserver" | "sync_dbs_and_roles_from_compute" | "tenant_attach" | "tenant_detach" | "tenant_ignore" | "tenant_reattach" | "timeline_archive" | "timeline_mark_invisible" | "timeline_unarchive" | "timeline_update_protected_config";
|
|
148
|
+
readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
|
|
147
149
|
readonly error?: string | undefined;
|
|
148
150
|
readonly failures_count: number;
|
|
149
|
-
readonly id: string;
|
|
150
|
-
readonly project_id: string;
|
|
151
151
|
readonly retry_at?: string | undefined;
|
|
152
|
-
readonly
|
|
153
|
-
readonly total_duration_ms: number;
|
|
152
|
+
readonly created_at: string;
|
|
154
153
|
readonly updated_at: string;
|
|
154
|
+
readonly total_duration_ms: number;
|
|
155
155
|
}[];
|
|
156
156
|
}, NotFound | UnprocessableEntity, import("../credentials.ts").Credentials>;
|
|
157
157
|
//# sourceMappingURL=deleteProjectBranch.d.ts.map
|
|
@@ -18,8 +18,8 @@ export type DeleteProjectBranchDataAPIOutput = typeof DeleteProjectBranchDataAPI
|
|
|
18
18
|
* @param database_name - The database name
|
|
19
19
|
*/
|
|
20
20
|
export declare const deleteProjectBranchDataAPI: import("@distilled.cloud/core/client").OperationMethod<{
|
|
21
|
+
readonly project_id: string;
|
|
21
22
|
readonly branch_id: string;
|
|
22
23
|
readonly database_name: string;
|
|
23
|
-
readonly project_id: string;
|
|
24
24
|
}, {}, never, import("../credentials.ts").Credentials>;
|
|
25
25
|
//# sourceMappingURL=deleteProjectBranchDataAPI.d.ts.map
|
|
@@ -44,31 +44,31 @@ export type DeleteProjectBranchDatabaseOutput = typeof DeleteProjectBranchDataba
|
|
|
44
44
|
* @param database_name - The database name
|
|
45
45
|
*/
|
|
46
46
|
export declare const deleteProjectBranchDatabase: import("@distilled.cloud/core/client").OperationMethod<{
|
|
47
|
+
readonly project_id: string;
|
|
47
48
|
readonly branch_id: string;
|
|
48
49
|
readonly database_name: string;
|
|
49
|
-
readonly project_id: string;
|
|
50
50
|
}, {
|
|
51
51
|
readonly database: {
|
|
52
|
-
readonly branch_id: string;
|
|
53
|
-
readonly created_at: string;
|
|
54
52
|
readonly id: number;
|
|
53
|
+
readonly branch_id: string;
|
|
55
54
|
readonly name: string;
|
|
56
55
|
readonly owner_name: string;
|
|
56
|
+
readonly created_at: string;
|
|
57
57
|
readonly updated_at: string;
|
|
58
58
|
};
|
|
59
59
|
readonly operations: readonly {
|
|
60
|
-
readonly
|
|
60
|
+
readonly id: string;
|
|
61
|
+
readonly project_id: string;
|
|
61
62
|
readonly branch_id?: string | undefined;
|
|
62
|
-
readonly created_at: string;
|
|
63
63
|
readonly endpoint_id?: string | undefined;
|
|
64
|
+
readonly action: "apply_config" | "apply_schema_from_branch" | "apply_storage_config" | "check_availability" | "create_branch" | "create_compute" | "create_timeline" | "delete_timeline" | "detach_parent_branch" | "disable_maintenance" | "finalize_migration" | "import_data" | "mark_migration_prepared" | "prepare_secondary_pageserver" | "prewarm_replica" | "promote_replica" | "replace_safekeeper" | "set_storage_non_dirty" | "start_compute" | "start_reserved_compute" | "suspend_compute" | "swap_binding_id" | "switch_pageserver" | "sync_dbs_and_roles_from_compute" | "tenant_attach" | "tenant_detach" | "tenant_ignore" | "tenant_reattach" | "timeline_archive" | "timeline_mark_invisible" | "timeline_unarchive" | "timeline_update_protected_config";
|
|
65
|
+
readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
|
|
64
66
|
readonly error?: string | undefined;
|
|
65
67
|
readonly failures_count: number;
|
|
66
|
-
readonly id: string;
|
|
67
|
-
readonly project_id: string;
|
|
68
68
|
readonly retry_at?: string | undefined;
|
|
69
|
-
readonly
|
|
70
|
-
readonly total_duration_ms: number;
|
|
69
|
+
readonly created_at: string;
|
|
71
70
|
readonly updated_at: string;
|
|
71
|
+
readonly total_duration_ms: number;
|
|
72
72
|
}[];
|
|
73
73
|
}, NotFound, import("../credentials.ts").Credentials>;
|
|
74
74
|
//# sourceMappingURL=deleteProjectBranchDatabase.d.ts.map
|
|
@@ -46,32 +46,32 @@ export type DeleteProjectBranchRoleOutput = typeof DeleteProjectBranchRoleOutput
|
|
|
46
46
|
* @param role_name - The role name
|
|
47
47
|
*/
|
|
48
48
|
export declare const deleteProjectBranchRole: import("@distilled.cloud/core/client").OperationMethod<{
|
|
49
|
-
readonly branch_id: string;
|
|
50
49
|
readonly project_id: string;
|
|
50
|
+
readonly branch_id: string;
|
|
51
51
|
readonly role_name: string;
|
|
52
52
|
}, {
|
|
53
|
+
readonly role: {
|
|
54
|
+
readonly branch_id: string;
|
|
55
|
+
readonly name: string;
|
|
56
|
+
readonly password?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
57
|
+
readonly protected?: boolean | undefined;
|
|
58
|
+
readonly authentication_method?: string | undefined;
|
|
59
|
+
readonly created_at: string;
|
|
60
|
+
readonly updated_at: string;
|
|
61
|
+
};
|
|
53
62
|
readonly operations: readonly {
|
|
54
|
-
readonly
|
|
63
|
+
readonly id: string;
|
|
64
|
+
readonly project_id: string;
|
|
55
65
|
readonly branch_id?: string | undefined;
|
|
56
|
-
readonly created_at: string;
|
|
57
66
|
readonly endpoint_id?: string | undefined;
|
|
67
|
+
readonly action: "apply_config" | "apply_schema_from_branch" | "apply_storage_config" | "check_availability" | "create_branch" | "create_compute" | "create_timeline" | "delete_timeline" | "detach_parent_branch" | "disable_maintenance" | "finalize_migration" | "import_data" | "mark_migration_prepared" | "prepare_secondary_pageserver" | "prewarm_replica" | "promote_replica" | "replace_safekeeper" | "set_storage_non_dirty" | "start_compute" | "start_reserved_compute" | "suspend_compute" | "swap_binding_id" | "switch_pageserver" | "sync_dbs_and_roles_from_compute" | "tenant_attach" | "tenant_detach" | "tenant_ignore" | "tenant_reattach" | "timeline_archive" | "timeline_mark_invisible" | "timeline_unarchive" | "timeline_update_protected_config";
|
|
68
|
+
readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
|
|
58
69
|
readonly error?: string | undefined;
|
|
59
70
|
readonly failures_count: number;
|
|
60
|
-
readonly id: string;
|
|
61
|
-
readonly project_id: string;
|
|
62
71
|
readonly retry_at?: string | undefined;
|
|
63
|
-
readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
|
|
64
|
-
readonly total_duration_ms: number;
|
|
65
|
-
readonly updated_at: string;
|
|
66
|
-
}[];
|
|
67
|
-
readonly role: {
|
|
68
|
-
readonly authentication_method?: string | undefined;
|
|
69
|
-
readonly branch_id: string;
|
|
70
72
|
readonly created_at: string;
|
|
71
|
-
readonly name: string;
|
|
72
|
-
readonly password?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
73
|
-
readonly protected?: boolean | undefined;
|
|
74
73
|
readonly updated_at: string;
|
|
75
|
-
|
|
74
|
+
readonly total_duration_ms: number;
|
|
75
|
+
}[];
|
|
76
76
|
}, NotFound | UnprocessableEntity, import("../credentials.ts").Credentials>;
|
|
77
77
|
//# sourceMappingURL=deleteProjectBranchRole.d.ts.map
|