@distilled.cloud/neon 0.19.2 → 0.20.1
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
|
@@ -50,32 +50,32 @@ export type ResetProjectBranchRolePasswordOutput = typeof ResetProjectBranchRole
|
|
|
50
50
|
* @param role_name - The role name
|
|
51
51
|
*/
|
|
52
52
|
export declare const resetProjectBranchRolePassword: import("@distilled.cloud/core/client").OperationMethod<{
|
|
53
|
-
readonly branch_id: string;
|
|
54
53
|
readonly project_id: string;
|
|
54
|
+
readonly branch_id: string;
|
|
55
55
|
readonly role_name: string;
|
|
56
56
|
}, {
|
|
57
|
+
readonly role: {
|
|
58
|
+
readonly branch_id: string;
|
|
59
|
+
readonly name: string;
|
|
60
|
+
readonly password?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
61
|
+
readonly protected?: boolean | undefined;
|
|
62
|
+
readonly authentication_method?: string | undefined;
|
|
63
|
+
readonly created_at: string;
|
|
64
|
+
readonly updated_at: string;
|
|
65
|
+
};
|
|
57
66
|
readonly operations: readonly {
|
|
58
|
-
readonly
|
|
67
|
+
readonly id: string;
|
|
68
|
+
readonly project_id: string;
|
|
59
69
|
readonly branch_id?: string | undefined;
|
|
60
|
-
readonly created_at: string;
|
|
61
70
|
readonly endpoint_id?: string | undefined;
|
|
71
|
+
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";
|
|
72
|
+
readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
|
|
62
73
|
readonly error?: string | undefined;
|
|
63
74
|
readonly failures_count: number;
|
|
64
|
-
readonly id: string;
|
|
65
|
-
readonly project_id: string;
|
|
66
75
|
readonly retry_at?: string | undefined;
|
|
67
|
-
readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
|
|
68
|
-
readonly total_duration_ms: number;
|
|
69
|
-
readonly updated_at: string;
|
|
70
|
-
}[];
|
|
71
|
-
readonly role: {
|
|
72
|
-
readonly authentication_method?: string | undefined;
|
|
73
|
-
readonly branch_id: string;
|
|
74
76
|
readonly created_at: string;
|
|
75
|
-
readonly name: string;
|
|
76
|
-
readonly password?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
77
|
-
readonly protected?: boolean | undefined;
|
|
78
77
|
readonly updated_at: string;
|
|
79
|
-
|
|
78
|
+
readonly total_duration_ms: number;
|
|
79
|
+
}[];
|
|
80
80
|
}, NotFound, import("../credentials.ts").Credentials>;
|
|
81
81
|
//# sourceMappingURL=resetProjectBranchRolePassword.d.ts.map
|
|
@@ -70,30 +70,21 @@ export type RestartProjectEndpointOutput = typeof RestartProjectEndpointOutput.T
|
|
|
70
70
|
* @param endpoint_id - The endpoint ID
|
|
71
71
|
*/
|
|
72
72
|
export declare const restartProjectEndpoint: import("@distilled.cloud/core/client").OperationMethod<{
|
|
73
|
-
readonly endpoint_id: string;
|
|
74
73
|
readonly project_id: string;
|
|
74
|
+
readonly endpoint_id: string;
|
|
75
75
|
}, {
|
|
76
76
|
readonly endpoint: {
|
|
77
|
-
readonly autoscaling_limit_max_cu: number;
|
|
78
|
-
readonly autoscaling_limit_min_cu: number;
|
|
79
|
-
readonly branch_id: string;
|
|
80
|
-
readonly compute_release_version?: string | undefined;
|
|
81
|
-
readonly created_at: string;
|
|
82
|
-
readonly creation_source: string;
|
|
83
|
-
readonly current_state: "active" | "idle" | "init";
|
|
84
|
-
readonly disabled: boolean;
|
|
85
77
|
readonly host: string;
|
|
86
78
|
readonly id: string;
|
|
87
|
-
readonly last_active?: string | undefined;
|
|
88
79
|
readonly name?: string | undefined;
|
|
89
|
-
readonly passwordless_access: boolean;
|
|
90
|
-
readonly pending_state?: "active" | "idle" | "init" | undefined;
|
|
91
|
-
readonly pooler_enabled: boolean;
|
|
92
|
-
readonly pooler_mode: "transaction";
|
|
93
80
|
readonly project_id: string;
|
|
94
|
-
readonly
|
|
95
|
-
readonly
|
|
81
|
+
readonly branch_id: string;
|
|
82
|
+
readonly autoscaling_limit_min_cu: number;
|
|
83
|
+
readonly autoscaling_limit_max_cu: number;
|
|
96
84
|
readonly region_id: string;
|
|
85
|
+
readonly type: "read_only" | "read_write";
|
|
86
|
+
readonly current_state: "active" | "idle" | "init";
|
|
87
|
+
readonly pending_state?: "active" | "idle" | "init" | undefined;
|
|
97
88
|
readonly settings: {
|
|
98
89
|
readonly pg_settings?: {
|
|
99
90
|
readonly [x: string]: string;
|
|
@@ -102,29 +93,38 @@ export declare const restartProjectEndpoint: import("@distilled.cloud/core/clien
|
|
|
102
93
|
readonly [x: string]: string;
|
|
103
94
|
} | undefined;
|
|
104
95
|
readonly preload_libraries?: {
|
|
105
|
-
readonly enabled_libraries?: readonly string[] | undefined;
|
|
106
96
|
readonly use_defaults?: boolean | undefined;
|
|
97
|
+
readonly enabled_libraries?: readonly string[] | undefined;
|
|
107
98
|
} | undefined;
|
|
108
99
|
};
|
|
100
|
+
readonly pooler_enabled: boolean;
|
|
101
|
+
readonly pooler_mode: "transaction";
|
|
102
|
+
readonly disabled: boolean;
|
|
103
|
+
readonly passwordless_access: boolean;
|
|
104
|
+
readonly last_active?: string | undefined;
|
|
105
|
+
readonly creation_source: string;
|
|
106
|
+
readonly created_at: string;
|
|
107
|
+
readonly updated_at: string;
|
|
109
108
|
readonly started_at?: string | undefined;
|
|
110
|
-
readonly suspend_timeout_seconds: number;
|
|
111
109
|
readonly suspended_at?: string | undefined;
|
|
112
|
-
readonly
|
|
113
|
-
readonly
|
|
110
|
+
readonly proxy_host: string;
|
|
111
|
+
readonly suspend_timeout_seconds: number;
|
|
112
|
+
readonly provisioner: string;
|
|
113
|
+
readonly compute_release_version?: string | undefined;
|
|
114
114
|
};
|
|
115
115
|
readonly operations: readonly {
|
|
116
|
-
readonly
|
|
116
|
+
readonly id: string;
|
|
117
|
+
readonly project_id: string;
|
|
117
118
|
readonly branch_id?: string | undefined;
|
|
118
|
-
readonly created_at: string;
|
|
119
119
|
readonly endpoint_id?: string | undefined;
|
|
120
|
+
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";
|
|
121
|
+
readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
|
|
120
122
|
readonly error?: string | undefined;
|
|
121
123
|
readonly failures_count: number;
|
|
122
|
-
readonly id: string;
|
|
123
|
-
readonly project_id: string;
|
|
124
124
|
readonly retry_at?: string | undefined;
|
|
125
|
-
readonly
|
|
126
|
-
readonly total_duration_ms: number;
|
|
125
|
+
readonly created_at: string;
|
|
127
126
|
readonly updated_at: string;
|
|
127
|
+
readonly total_duration_ms: number;
|
|
128
128
|
}[];
|
|
129
129
|
}, NotFound, import("../credentials.ts").Credentials>;
|
|
130
130
|
//# sourceMappingURL=restartProjectEndpoint.d.ts.map
|
|
@@ -78,69 +78,69 @@ export type RestoreProjectBranchOutput = typeof RestoreProjectBranchOutput.Type;
|
|
|
78
78
|
* @param branch_id - The branch ID
|
|
79
79
|
*/
|
|
80
80
|
export declare const restoreProjectBranch: import("@distilled.cloud/core/client").OperationMethod<{
|
|
81
|
-
readonly branch_id: string;
|
|
82
|
-
readonly preserve_under_name?: string | undefined;
|
|
83
81
|
readonly project_id: string;
|
|
82
|
+
readonly branch_id: string;
|
|
84
83
|
readonly source_branch_id: string;
|
|
85
84
|
readonly source_lsn?: string | undefined;
|
|
86
85
|
readonly source_timestamp?: string | undefined;
|
|
86
|
+
readonly preserve_under_name?: string | undefined;
|
|
87
87
|
}, {
|
|
88
88
|
readonly branch: {
|
|
89
|
-
readonly active_time_seconds: number;
|
|
90
|
-
readonly compute_time_seconds: number;
|
|
91
|
-
readonly cpu_used_sec: number;
|
|
92
|
-
readonly created_at: string;
|
|
93
|
-
readonly created_by?: {
|
|
94
|
-
readonly image?: string | undefined;
|
|
95
|
-
readonly name?: string | undefined;
|
|
96
|
-
} | undefined;
|
|
97
|
-
readonly creation_source: string;
|
|
98
|
-
readonly current_state: string;
|
|
99
|
-
readonly data_transfer_bytes: number;
|
|
100
|
-
readonly default: boolean;
|
|
101
|
-
readonly expires_at?: string | undefined;
|
|
102
89
|
readonly id: string;
|
|
103
|
-
readonly
|
|
104
|
-
readonly last_reset_at?: string | undefined;
|
|
105
|
-
readonly logical_size?: number | undefined;
|
|
106
|
-
readonly name: string;
|
|
90
|
+
readonly project_id: string;
|
|
107
91
|
readonly parent_id?: string | undefined;
|
|
108
92
|
readonly parent_lsn?: string | undefined;
|
|
109
93
|
readonly parent_timestamp?: string | undefined;
|
|
94
|
+
readonly name: string;
|
|
95
|
+
readonly current_state: string;
|
|
110
96
|
readonly pending_state?: string | undefined;
|
|
97
|
+
readonly state_changed_at: string;
|
|
98
|
+
readonly logical_size?: number | undefined;
|
|
99
|
+
readonly creation_source: string;
|
|
111
100
|
readonly primary?: boolean | undefined;
|
|
112
|
-
readonly
|
|
101
|
+
readonly default: boolean;
|
|
113
102
|
readonly protected: boolean;
|
|
114
|
-
readonly
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
103
|
+
readonly cpu_used_sec: number;
|
|
104
|
+
readonly compute_time_seconds: number;
|
|
105
|
+
readonly active_time_seconds: number;
|
|
106
|
+
readonly written_data_bytes: number;
|
|
107
|
+
readonly data_transfer_bytes: number;
|
|
108
|
+
readonly created_at: string;
|
|
109
|
+
readonly updated_at: string;
|
|
110
|
+
readonly ttl_interval_seconds?: number | undefined;
|
|
111
|
+
readonly expires_at?: string | undefined;
|
|
112
|
+
readonly last_reset_at?: string | undefined;
|
|
113
|
+
readonly created_by?: {
|
|
114
|
+
readonly name?: string | undefined;
|
|
115
|
+
readonly image?: string | undefined;
|
|
118
116
|
} | undefined;
|
|
117
|
+
readonly init_source?: string | undefined;
|
|
119
118
|
readonly restore_status?: string | undefined;
|
|
120
|
-
readonly restored_as?: string | undefined;
|
|
121
119
|
readonly restored_from?: string | undefined;
|
|
120
|
+
readonly restored_as?: string | undefined;
|
|
122
121
|
readonly restricted_actions?: readonly {
|
|
123
122
|
readonly name: string;
|
|
124
123
|
readonly reason: string;
|
|
125
124
|
}[] | undefined;
|
|
126
|
-
readonly
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
125
|
+
readonly recovery?: {
|
|
126
|
+
readonly deleted_at: string;
|
|
127
|
+
readonly recoverable_until: string;
|
|
128
|
+
readonly deletion_method: "ttl" | "user";
|
|
129
|
+
} | undefined;
|
|
130
130
|
};
|
|
131
131
|
readonly operations: readonly {
|
|
132
|
-
readonly
|
|
132
|
+
readonly id: string;
|
|
133
|
+
readonly project_id: string;
|
|
133
134
|
readonly branch_id?: string | undefined;
|
|
134
|
-
readonly created_at: string;
|
|
135
135
|
readonly endpoint_id?: string | undefined;
|
|
136
|
+
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";
|
|
137
|
+
readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
|
|
136
138
|
readonly error?: string | undefined;
|
|
137
139
|
readonly failures_count: number;
|
|
138
|
-
readonly id: string;
|
|
139
|
-
readonly project_id: string;
|
|
140
140
|
readonly retry_at?: string | undefined;
|
|
141
|
-
readonly
|
|
142
|
-
readonly total_duration_ms: number;
|
|
141
|
+
readonly created_at: string;
|
|
143
142
|
readonly updated_at: string;
|
|
143
|
+
readonly total_duration_ms: number;
|
|
144
144
|
}[];
|
|
145
145
|
}, NotFound, import("../credentials.ts").Credentials>;
|
|
146
146
|
//# sourceMappingURL=restoreProjectBranch.d.ts.map
|
|
@@ -115,76 +115,67 @@ A name for the newly restored branch. If omitted, a default name will be generat
|
|
|
115
115
|
|
|
116
116
|
*/
|
|
117
117
|
export declare const restoreSnapshot: import("@distilled.cloud/core/client").OperationMethod<{
|
|
118
|
-
readonly finalize_restore?: boolean | undefined;
|
|
119
|
-
readonly name?: string | undefined;
|
|
120
118
|
readonly project_id: string;
|
|
121
119
|
readonly snapshot_id: string;
|
|
120
|
+
readonly name?: string | undefined;
|
|
122
121
|
readonly target_branch_id?: string | undefined;
|
|
122
|
+
readonly finalize_restore?: boolean | undefined;
|
|
123
123
|
}, {
|
|
124
124
|
readonly branch: {
|
|
125
|
-
readonly active_time_seconds: number;
|
|
126
|
-
readonly compute_time_seconds: number;
|
|
127
|
-
readonly cpu_used_sec: number;
|
|
128
|
-
readonly created_at: string;
|
|
129
|
-
readonly created_by?: {
|
|
130
|
-
readonly image?: string | undefined;
|
|
131
|
-
readonly name?: string | undefined;
|
|
132
|
-
} | undefined;
|
|
133
|
-
readonly creation_source: string;
|
|
134
|
-
readonly current_state: string;
|
|
135
|
-
readonly data_transfer_bytes: number;
|
|
136
|
-
readonly default: boolean;
|
|
137
|
-
readonly expires_at?: string | undefined;
|
|
138
125
|
readonly id: string;
|
|
139
|
-
readonly
|
|
140
|
-
readonly last_reset_at?: string | undefined;
|
|
141
|
-
readonly logical_size?: number | undefined;
|
|
142
|
-
readonly name: string;
|
|
126
|
+
readonly project_id: string;
|
|
143
127
|
readonly parent_id?: string | undefined;
|
|
144
128
|
readonly parent_lsn?: string | undefined;
|
|
145
129
|
readonly parent_timestamp?: string | undefined;
|
|
130
|
+
readonly name: string;
|
|
131
|
+
readonly current_state: string;
|
|
146
132
|
readonly pending_state?: string | undefined;
|
|
133
|
+
readonly state_changed_at: string;
|
|
134
|
+
readonly logical_size?: number | undefined;
|
|
135
|
+
readonly creation_source: string;
|
|
147
136
|
readonly primary?: boolean | undefined;
|
|
148
|
-
readonly
|
|
137
|
+
readonly default: boolean;
|
|
149
138
|
readonly protected: boolean;
|
|
150
|
-
readonly
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
139
|
+
readonly cpu_used_sec: number;
|
|
140
|
+
readonly compute_time_seconds: number;
|
|
141
|
+
readonly active_time_seconds: number;
|
|
142
|
+
readonly written_data_bytes: number;
|
|
143
|
+
readonly data_transfer_bytes: number;
|
|
144
|
+
readonly created_at: string;
|
|
145
|
+
readonly updated_at: string;
|
|
146
|
+
readonly ttl_interval_seconds?: number | undefined;
|
|
147
|
+
readonly expires_at?: string | undefined;
|
|
148
|
+
readonly last_reset_at?: string | undefined;
|
|
149
|
+
readonly created_by?: {
|
|
150
|
+
readonly name?: string | undefined;
|
|
151
|
+
readonly image?: string | undefined;
|
|
154
152
|
} | undefined;
|
|
153
|
+
readonly init_source?: string | undefined;
|
|
155
154
|
readonly restore_status?: string | undefined;
|
|
156
|
-
readonly restored_as?: string | undefined;
|
|
157
155
|
readonly restored_from?: string | undefined;
|
|
156
|
+
readonly restored_as?: string | undefined;
|
|
158
157
|
readonly restricted_actions?: readonly {
|
|
159
158
|
readonly name: string;
|
|
160
159
|
readonly reason: string;
|
|
161
160
|
}[] | undefined;
|
|
162
|
-
readonly
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
161
|
+
readonly recovery?: {
|
|
162
|
+
readonly deleted_at: string;
|
|
163
|
+
readonly recoverable_until: string;
|
|
164
|
+
readonly deletion_method: "ttl" | "user";
|
|
165
|
+
} | undefined;
|
|
166
166
|
};
|
|
167
167
|
readonly endpoints?: readonly {
|
|
168
|
-
readonly autoscaling_limit_max_cu: number;
|
|
169
|
-
readonly autoscaling_limit_min_cu: number;
|
|
170
|
-
readonly branch_id: string;
|
|
171
|
-
readonly compute_release_version?: string | undefined;
|
|
172
|
-
readonly created_at: string;
|
|
173
|
-
readonly creation_source: string;
|
|
174
|
-
readonly current_state: "active" | "idle" | "init";
|
|
175
|
-
readonly disabled: boolean;
|
|
176
168
|
readonly host: string;
|
|
177
169
|
readonly id: string;
|
|
178
|
-
readonly last_active?: string | undefined;
|
|
179
170
|
readonly name?: string | undefined;
|
|
180
|
-
readonly passwordless_access: boolean;
|
|
181
|
-
readonly pending_state?: "active" | "idle" | "init" | undefined;
|
|
182
|
-
readonly pooler_enabled: boolean;
|
|
183
|
-
readonly pooler_mode: "transaction";
|
|
184
171
|
readonly project_id: string;
|
|
185
|
-
readonly
|
|
186
|
-
readonly
|
|
172
|
+
readonly branch_id: string;
|
|
173
|
+
readonly autoscaling_limit_min_cu: number;
|
|
174
|
+
readonly autoscaling_limit_max_cu: number;
|
|
187
175
|
readonly region_id: string;
|
|
176
|
+
readonly type: "read_only" | "read_write";
|
|
177
|
+
readonly current_state: "active" | "idle" | "init";
|
|
178
|
+
readonly pending_state?: "active" | "idle" | "init" | undefined;
|
|
188
179
|
readonly settings: {
|
|
189
180
|
readonly pg_settings?: {
|
|
190
181
|
readonly [x: string]: string;
|
|
@@ -193,29 +184,38 @@ export declare const restoreSnapshot: import("@distilled.cloud/core/client").Ope
|
|
|
193
184
|
readonly [x: string]: string;
|
|
194
185
|
} | undefined;
|
|
195
186
|
readonly preload_libraries?: {
|
|
196
|
-
readonly enabled_libraries?: readonly string[] | undefined;
|
|
197
187
|
readonly use_defaults?: boolean | undefined;
|
|
188
|
+
readonly enabled_libraries?: readonly string[] | undefined;
|
|
198
189
|
} | undefined;
|
|
199
190
|
};
|
|
191
|
+
readonly pooler_enabled: boolean;
|
|
192
|
+
readonly pooler_mode: "transaction";
|
|
193
|
+
readonly disabled: boolean;
|
|
194
|
+
readonly passwordless_access: boolean;
|
|
195
|
+
readonly last_active?: string | undefined;
|
|
196
|
+
readonly creation_source: string;
|
|
197
|
+
readonly created_at: string;
|
|
198
|
+
readonly updated_at: string;
|
|
200
199
|
readonly started_at?: string | undefined;
|
|
201
|
-
readonly suspend_timeout_seconds: number;
|
|
202
200
|
readonly suspended_at?: string | undefined;
|
|
203
|
-
readonly
|
|
204
|
-
readonly
|
|
201
|
+
readonly proxy_host: string;
|
|
202
|
+
readonly suspend_timeout_seconds: number;
|
|
203
|
+
readonly provisioner: string;
|
|
204
|
+
readonly compute_release_version?: string | undefined;
|
|
205
205
|
}[] | undefined;
|
|
206
206
|
readonly operations: readonly {
|
|
207
|
-
readonly
|
|
207
|
+
readonly id: string;
|
|
208
|
+
readonly project_id: string;
|
|
208
209
|
readonly branch_id?: string | undefined;
|
|
209
|
-
readonly created_at: string;
|
|
210
210
|
readonly endpoint_id?: string | undefined;
|
|
211
|
+
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";
|
|
212
|
+
readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
|
|
211
213
|
readonly error?: string | undefined;
|
|
212
214
|
readonly failures_count: number;
|
|
213
|
-
readonly id: string;
|
|
214
|
-
readonly project_id: string;
|
|
215
215
|
readonly retry_at?: string | undefined;
|
|
216
|
-
readonly
|
|
217
|
-
readonly total_duration_ms: number;
|
|
216
|
+
readonly created_at: string;
|
|
218
217
|
readonly updated_at: string;
|
|
218
|
+
readonly total_duration_ms: number;
|
|
219
219
|
}[];
|
|
220
220
|
}, never, import("../credentials.ts").Credentials>;
|
|
221
221
|
//# sourceMappingURL=restoreSnapshot.d.ts.map
|
|
@@ -29,12 +29,12 @@ export type RevokeApiKeyOutput = typeof RevokeApiKeyOutput.Type;
|
|
|
29
29
|
export declare const revokeApiKey: import("@distilled.cloud/core/client").OperationMethod<{
|
|
30
30
|
readonly key_id: number;
|
|
31
31
|
}, {
|
|
32
|
+
readonly id: number;
|
|
33
|
+
readonly name: string;
|
|
32
34
|
readonly created_at: string;
|
|
33
35
|
readonly created_by: string;
|
|
34
|
-
readonly id: number;
|
|
35
36
|
readonly last_used_at?: string | null | undefined;
|
|
36
37
|
readonly last_used_from_addr: string;
|
|
37
|
-
readonly name: string;
|
|
38
38
|
readonly revoked: boolean;
|
|
39
39
|
}, NotFound, import("../credentials.ts").Credentials>;
|
|
40
40
|
//# sourceMappingURL=revokeApiKey.d.ts.map
|
|
@@ -29,16 +29,16 @@ export type RevokeOrgApiKeyOutput = typeof RevokeOrgApiKeyOutput.Type;
|
|
|
29
29
|
* @param key_id - The API key ID
|
|
30
30
|
*/
|
|
31
31
|
export declare const revokeOrgApiKey: import("@distilled.cloud/core/client").OperationMethod<{
|
|
32
|
-
readonly key_id: number;
|
|
33
32
|
readonly org_id: string;
|
|
33
|
+
readonly key_id: number;
|
|
34
34
|
}, {
|
|
35
|
+
readonly id: number;
|
|
36
|
+
readonly name: string;
|
|
35
37
|
readonly created_at: string;
|
|
36
38
|
readonly created_by: string;
|
|
37
|
-
readonly id: number;
|
|
38
39
|
readonly last_used_at?: string | null | undefined;
|
|
39
40
|
readonly last_used_from_addr: string;
|
|
40
|
-
readonly name: string;
|
|
41
|
-
readonly project_id?: string | undefined;
|
|
42
41
|
readonly revoked: boolean;
|
|
42
|
+
readonly project_id?: string | undefined;
|
|
43
43
|
}, never, import("../credentials.ts").Credentials>;
|
|
44
44
|
//# sourceMappingURL=revokeOrgApiKey.d.ts.map
|
|
@@ -17,12 +17,12 @@ export type RevokePermissionFromProjectOutput = typeof RevokePermissionFromProje
|
|
|
17
17
|
* Revokes project access from the user associated with the specified permission `id`. You can retrieve a user's permission `id` by listing project access.
|
|
18
18
|
*/
|
|
19
19
|
export declare const revokePermissionFromProject: import("@distilled.cloud/core/client").OperationMethod<{
|
|
20
|
-
readonly permission_id: string;
|
|
21
20
|
readonly project_id: string;
|
|
21
|
+
readonly permission_id: string;
|
|
22
22
|
}, {
|
|
23
|
-
readonly granted_at: string;
|
|
24
|
-
readonly granted_to_email: string;
|
|
25
23
|
readonly id: string;
|
|
24
|
+
readonly granted_to_email: string;
|
|
25
|
+
readonly granted_at: string;
|
|
26
26
|
readonly revoked_at?: string | undefined;
|
|
27
27
|
}, never, import("../credentials.ts").Credentials>;
|
|
28
28
|
//# sourceMappingURL=revokePermissionFromProject.d.ts.map
|
|
@@ -25,17 +25,17 @@ export type SendNeonAuthTestEmailOutput = typeof SendNeonAuthTestEmailOutput.Typ
|
|
|
25
25
|
* @param branch_id - The Neon branch ID
|
|
26
26
|
*/
|
|
27
27
|
export declare const sendNeonAuthTestEmail: import("@distilled.cloud/core/client").OperationMethod<{
|
|
28
|
+
readonly project_id: string;
|
|
28
29
|
readonly branch_id: string;
|
|
29
30
|
readonly host: string;
|
|
30
|
-
readonly password: string | import("effect/Redacted").Redacted<string>;
|
|
31
31
|
readonly port: number;
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
32
|
+
readonly username: string;
|
|
33
|
+
readonly password: string | import("effect/Redacted").Redacted<string>;
|
|
34
34
|
readonly sender_email: string;
|
|
35
35
|
readonly sender_name: string;
|
|
36
|
-
readonly
|
|
36
|
+
readonly recipient_email: string;
|
|
37
37
|
}, {
|
|
38
|
-
readonly error_message?: string | undefined;
|
|
39
38
|
readonly success: boolean;
|
|
39
|
+
readonly error_message?: string | undefined;
|
|
40
40
|
}, never, import("../credentials.ts").Credentials>;
|
|
41
41
|
//# sourceMappingURL=sendNeonAuthTestEmail.d.ts.map
|
|
@@ -78,65 +78,65 @@ export type SetDefaultProjectBranchOutput = typeof SetDefaultProjectBranchOutput
|
|
|
78
78
|
* @param branch_id - The branch ID
|
|
79
79
|
*/
|
|
80
80
|
export declare const setDefaultProjectBranch: import("@distilled.cloud/core/client").OperationMethod<{
|
|
81
|
-
readonly branch_id: string;
|
|
82
81
|
readonly project_id: string;
|
|
82
|
+
readonly branch_id: string;
|
|
83
83
|
}, {
|
|
84
84
|
readonly branch: {
|
|
85
|
-
readonly active_time_seconds: number;
|
|
86
|
-
readonly compute_time_seconds: number;
|
|
87
|
-
readonly cpu_used_sec: number;
|
|
88
|
-
readonly created_at: string;
|
|
89
|
-
readonly created_by?: {
|
|
90
|
-
readonly image?: string | undefined;
|
|
91
|
-
readonly name?: string | undefined;
|
|
92
|
-
} | undefined;
|
|
93
|
-
readonly creation_source: string;
|
|
94
|
-
readonly current_state: string;
|
|
95
|
-
readonly data_transfer_bytes: number;
|
|
96
|
-
readonly default: boolean;
|
|
97
|
-
readonly expires_at?: string | undefined;
|
|
98
85
|
readonly id: string;
|
|
99
|
-
readonly
|
|
100
|
-
readonly last_reset_at?: string | undefined;
|
|
101
|
-
readonly logical_size?: number | undefined;
|
|
102
|
-
readonly name: string;
|
|
86
|
+
readonly project_id: string;
|
|
103
87
|
readonly parent_id?: string | undefined;
|
|
104
88
|
readonly parent_lsn?: string | undefined;
|
|
105
89
|
readonly parent_timestamp?: string | undefined;
|
|
90
|
+
readonly name: string;
|
|
91
|
+
readonly current_state: string;
|
|
106
92
|
readonly pending_state?: string | undefined;
|
|
93
|
+
readonly state_changed_at: string;
|
|
94
|
+
readonly logical_size?: number | undefined;
|
|
95
|
+
readonly creation_source: string;
|
|
107
96
|
readonly primary?: boolean | undefined;
|
|
108
|
-
readonly
|
|
97
|
+
readonly default: boolean;
|
|
109
98
|
readonly protected: boolean;
|
|
110
|
-
readonly
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
99
|
+
readonly cpu_used_sec: number;
|
|
100
|
+
readonly compute_time_seconds: number;
|
|
101
|
+
readonly active_time_seconds: number;
|
|
102
|
+
readonly written_data_bytes: number;
|
|
103
|
+
readonly data_transfer_bytes: number;
|
|
104
|
+
readonly created_at: string;
|
|
105
|
+
readonly updated_at: string;
|
|
106
|
+
readonly ttl_interval_seconds?: number | undefined;
|
|
107
|
+
readonly expires_at?: string | undefined;
|
|
108
|
+
readonly last_reset_at?: string | undefined;
|
|
109
|
+
readonly created_by?: {
|
|
110
|
+
readonly name?: string | undefined;
|
|
111
|
+
readonly image?: string | undefined;
|
|
114
112
|
} | undefined;
|
|
113
|
+
readonly init_source?: string | undefined;
|
|
115
114
|
readonly restore_status?: string | undefined;
|
|
116
|
-
readonly restored_as?: string | undefined;
|
|
117
115
|
readonly restored_from?: string | undefined;
|
|
116
|
+
readonly restored_as?: string | undefined;
|
|
118
117
|
readonly restricted_actions?: readonly {
|
|
119
118
|
readonly name: string;
|
|
120
119
|
readonly reason: string;
|
|
121
120
|
}[] | undefined;
|
|
122
|
-
readonly
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
readonly recovery?: {
|
|
122
|
+
readonly deleted_at: string;
|
|
123
|
+
readonly recoverable_until: string;
|
|
124
|
+
readonly deletion_method: "ttl" | "user";
|
|
125
|
+
} | undefined;
|
|
126
126
|
};
|
|
127
127
|
readonly operations: readonly {
|
|
128
|
-
readonly
|
|
128
|
+
readonly id: string;
|
|
129
|
+
readonly project_id: string;
|
|
129
130
|
readonly branch_id?: string | undefined;
|
|
130
|
-
readonly created_at: string;
|
|
131
131
|
readonly endpoint_id?: string | undefined;
|
|
132
|
+
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";
|
|
133
|
+
readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
|
|
132
134
|
readonly error?: string | undefined;
|
|
133
135
|
readonly failures_count: number;
|
|
134
|
-
readonly id: string;
|
|
135
|
-
readonly project_id: string;
|
|
136
136
|
readonly retry_at?: string | undefined;
|
|
137
|
-
readonly
|
|
138
|
-
readonly total_duration_ms: number;
|
|
137
|
+
readonly created_at: string;
|
|
139
138
|
readonly updated_at: string;
|
|
139
|
+
readonly total_duration_ms: number;
|
|
140
140
|
}[];
|
|
141
141
|
}, NotFound, import("../credentials.ts").Credentials>;
|
|
142
142
|
//# sourceMappingURL=setDefaultProjectBranch.d.ts.map
|
|
@@ -23,12 +23,12 @@ export type SetSnapshotScheduleOutput = typeof SetSnapshotScheduleOutput.Type;
|
|
|
23
23
|
* @param branch_id - The branch ID
|
|
24
24
|
*/
|
|
25
25
|
export declare const setSnapshotSchedule: import("@distilled.cloud/core/client").OperationMethod<{
|
|
26
|
-
readonly branch_id: string;
|
|
27
26
|
readonly project_id: string;
|
|
27
|
+
readonly branch_id: string;
|
|
28
28
|
readonly schedule: readonly {
|
|
29
|
-
readonly day?: number | undefined;
|
|
30
29
|
readonly frequency: string;
|
|
31
30
|
readonly hour?: number | undefined;
|
|
31
|
+
readonly day?: number | undefined;
|
|
32
32
|
readonly month?: number | undefined;
|
|
33
33
|
readonly retention_seconds?: number | undefined;
|
|
34
34
|
}[];
|
|
@@ -35,22 +35,22 @@ export type StartAnonymizationOutput = typeof StartAnonymizationOutput.Type;
|
|
|
35
35
|
* @param branch_id - The branch ID
|
|
36
36
|
*/
|
|
37
37
|
export declare const startAnonymization: import("@distilled.cloud/core/client").OperationMethod<{
|
|
38
|
-
readonly branch_id: string;
|
|
39
38
|
readonly project_id: string;
|
|
39
|
+
readonly branch_id: string;
|
|
40
40
|
}, {
|
|
41
|
+
readonly project_id: string;
|
|
41
42
|
readonly branch_id: string;
|
|
43
|
+
readonly state: string;
|
|
44
|
+
readonly status_message?: string | undefined;
|
|
42
45
|
readonly created_at: string;
|
|
46
|
+
readonly updated_at: string;
|
|
43
47
|
readonly failed_at?: string | undefined;
|
|
44
48
|
readonly last_run?: {
|
|
45
|
-
readonly completed_at?: string | undefined;
|
|
46
|
-
readonly masked_columns?: number | undefined;
|
|
47
49
|
readonly started_at?: string | undefined;
|
|
50
|
+
readonly completed_at?: string | undefined;
|
|
48
51
|
readonly triggered_by?: string | undefined;
|
|
49
52
|
readonly triggered_by_username?: string | undefined;
|
|
53
|
+
readonly masked_columns?: number | undefined;
|
|
50
54
|
} | undefined;
|
|
51
|
-
readonly project_id: string;
|
|
52
|
-
readonly state: string;
|
|
53
|
-
readonly status_message?: string | undefined;
|
|
54
|
-
readonly updated_at: string;
|
|
55
55
|
}, never, import("../credentials.ts").Credentials>;
|
|
56
56
|
//# sourceMappingURL=startAnonymization.d.ts.map
|