@distilled.cloud/neon 0.18.2 → 0.19.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/addProjectJWKS.d.ts +2 -2
- package/lib/operations/addProjectJWKS.d.ts.map +1 -1
- package/lib/operations/addProjectJWKS.js +3 -0
- package/lib/operations/addProjectJWKS.js.map +1 -1
- package/lib/operations/createProject.d.ts +12 -2
- package/lib/operations/createProject.d.ts.map +1 -1
- package/lib/operations/createProject.js +8 -0
- package/lib/operations/createProject.js.map +1 -1
- package/lib/operations/createProjectBranch.d.ts +12 -2
- package/lib/operations/createProjectBranch.d.ts.map +1 -1
- package/lib/operations/createProjectBranch.js +8 -0
- package/lib/operations/createProjectBranch.js.map +1 -1
- package/lib/operations/createProjectBranchAnonymized.d.ts +12 -2
- package/lib/operations/createProjectBranchAnonymized.d.ts.map +1 -1
- package/lib/operations/createProjectBranchAnonymized.js +8 -0
- package/lib/operations/createProjectBranchAnonymized.js.map +1 -1
- package/lib/operations/createProjectBranchDatabase.d.ts +2 -2
- package/lib/operations/createProjectBranchDatabase.d.ts.map +1 -1
- package/lib/operations/createProjectBranchDatabase.js +3 -0
- package/lib/operations/createProjectBranchDatabase.js.map +1 -1
- package/lib/operations/createProjectBranchRole.d.ts +2 -2
- package/lib/operations/createProjectBranchRole.d.ts.map +1 -1
- package/lib/operations/createProjectBranchRole.js +3 -0
- package/lib/operations/createProjectBranchRole.js.map +1 -1
- package/lib/operations/createProjectEndpoint.d.ts +2 -2
- package/lib/operations/createProjectEndpoint.d.ts.map +1 -1
- package/lib/operations/createProjectEndpoint.js +3 -0
- package/lib/operations/createProjectEndpoint.js.map +1 -1
- package/lib/operations/createSnapshot.d.ts +6 -2
- package/lib/operations/createSnapshot.d.ts.map +1 -1
- package/lib/operations/createSnapshot.js +5 -0
- package/lib/operations/createSnapshot.js.map +1 -1
- package/lib/operations/deleteProjectBranch.d.ts +22 -2
- package/lib/operations/deleteProjectBranch.d.ts.map +1 -1
- package/lib/operations/deleteProjectBranch.js +17 -0
- package/lib/operations/deleteProjectBranch.js.map +1 -1
- package/lib/operations/deleteProjectBranchDatabase.d.ts +2 -2
- package/lib/operations/deleteProjectBranchDatabase.d.ts.map +1 -1
- package/lib/operations/deleteProjectBranchDatabase.js +3 -0
- package/lib/operations/deleteProjectBranchDatabase.js.map +1 -1
- package/lib/operations/deleteProjectBranchRole.d.ts +2 -2
- package/lib/operations/deleteProjectBranchRole.d.ts.map +1 -1
- package/lib/operations/deleteProjectBranchRole.js +3 -0
- package/lib/operations/deleteProjectBranchRole.js.map +1 -1
- package/lib/operations/deleteProjectEndpoint.d.ts +2 -2
- package/lib/operations/deleteProjectEndpoint.d.ts.map +1 -1
- package/lib/operations/deleteProjectEndpoint.js +3 -0
- package/lib/operations/deleteProjectEndpoint.js.map +1 -1
- package/lib/operations/finalizeRestoreBranch.d.ts +2 -2
- package/lib/operations/finalizeRestoreBranch.d.ts.map +1 -1
- package/lib/operations/finalizeRestoreBranch.js +3 -0
- package/lib/operations/finalizeRestoreBranch.js.map +1 -1
- package/lib/operations/getConsumptionHistoryPerProject.d.ts +1 -1
- package/lib/operations/getConsumptionHistoryPerProject.d.ts.map +1 -1
- package/lib/operations/getConsumptionHistoryPerProject.js +7 -1
- package/lib/operations/getConsumptionHistoryPerProject.js.map +1 -1
- package/lib/operations/getConsumptionHistoryPerProjectV2.d.ts +2 -1
- package/lib/operations/getConsumptionHistoryPerProjectV2.d.ts.map +1 -1
- package/lib/operations/getConsumptionHistoryPerProjectV2.js +8 -1
- package/lib/operations/getConsumptionHistoryPerProjectV2.js.map +1 -1
- package/lib/operations/getCurrentUserInfo.d.ts +4 -2
- package/lib/operations/getCurrentUserInfo.d.ts.map +1 -1
- package/lib/operations/getCurrentUserInfo.js +2 -0
- package/lib/operations/getCurrentUserInfo.js.map +1 -1
- package/lib/operations/getCurrentUserOrganizations.d.ts +2 -0
- package/lib/operations/getCurrentUserOrganizations.d.ts.map +1 -1
- package/lib/operations/getCurrentUserOrganizations.js +1 -0
- package/lib/operations/getCurrentUserOrganizations.js.map +1 -1
- package/lib/operations/getNeonAuth.d.ts +2 -0
- package/lib/operations/getNeonAuth.d.ts.map +1 -1
- package/lib/operations/getNeonAuth.js +1 -0
- package/lib/operations/getNeonAuth.js.map +1 -1
- package/lib/operations/getNeonAuthPluginConfigs.d.ts +20 -0
- package/lib/operations/getNeonAuthPluginConfigs.d.ts.map +1 -1
- package/lib/operations/getNeonAuthPluginConfigs.js +10 -0
- package/lib/operations/getNeonAuthPluginConfigs.js.map +1 -1
- package/lib/operations/getNeonAuthWebhookConfig.d.ts +2 -2
- package/lib/operations/getNeonAuthWebhookConfig.d.ts.map +1 -1
- package/lib/operations/getNeonAuthWebhookConfig.js +1 -0
- package/lib/operations/getNeonAuthWebhookConfig.js.map +1 -1
- package/lib/operations/getOrganization.d.ts +2 -0
- package/lib/operations/getOrganization.d.ts.map +1 -1
- package/lib/operations/getOrganization.js +1 -0
- package/lib/operations/getOrganization.js.map +1 -1
- package/lib/operations/getOrganizationMembers.d.ts +3 -1
- package/lib/operations/getOrganizationMembers.d.ts.map +1 -1
- package/lib/operations/getOrganizationMembers.js +9 -1
- package/lib/operations/getOrganizationMembers.js.map +1 -1
- package/lib/operations/getProjectBranch.d.ts +10 -0
- package/lib/operations/getProjectBranch.d.ts.map +1 -1
- package/lib/operations/getProjectBranch.js +5 -0
- package/lib/operations/getProjectBranch.js.map +1 -1
- package/lib/operations/getProjectOperation.d.ts +2 -2
- package/lib/operations/getProjectOperation.d.ts.map +1 -1
- package/lib/operations/getProjectOperation.js +3 -0
- package/lib/operations/getProjectOperation.js.map +1 -1
- package/lib/operations/index.d.ts +8 -1
- package/lib/operations/index.d.ts.map +1 -1
- package/lib/operations/index.js +8 -1
- package/lib/operations/index.js.map +1 -1
- package/lib/operations/listProjectBranches.d.ts +18 -1
- package/lib/operations/listProjectBranches.d.ts.map +1 -1
- package/lib/operations/listProjectBranches.js +19 -1
- package/lib/operations/listProjectBranches.js.map +1 -1
- package/lib/operations/listProjectOperations.d.ts +3 -3
- package/lib/operations/listProjectOperations.d.ts.map +1 -1
- package/lib/operations/listProjectOperations.js +11 -1
- package/lib/operations/listProjectOperations.js.map +1 -1
- package/lib/operations/listProjects.d.ts +1 -1
- package/lib/operations/listProjects.d.ts.map +1 -1
- package/lib/operations/listProjects.js +7 -1
- package/lib/operations/listProjects.js.map +1 -1
- package/lib/operations/listSharedProjects.d.ts +1 -1
- package/lib/operations/listSharedProjects.d.ts.map +1 -1
- package/lib/operations/listSharedProjects.js +7 -1
- package/lib/operations/listSharedProjects.js.map +1 -1
- package/lib/operations/listSnapshots.d.ts +4 -0
- package/lib/operations/listSnapshots.d.ts.map +1 -1
- package/lib/operations/listSnapshots.js +2 -0
- package/lib/operations/listSnapshots.js.map +1 -1
- package/lib/operations/recoverProject.d.ts +10 -0
- package/lib/operations/recoverProject.d.ts.map +1 -1
- package/lib/operations/recoverProject.js +5 -0
- package/lib/operations/recoverProject.js.map +1 -1
- package/lib/operations/resetProjectBranchRolePassword.d.ts +2 -2
- package/lib/operations/resetProjectBranchRolePassword.d.ts.map +1 -1
- package/lib/operations/resetProjectBranchRolePassword.js +3 -0
- package/lib/operations/resetProjectBranchRolePassword.js.map +1 -1
- package/lib/operations/restartProjectEndpoint.d.ts +2 -2
- package/lib/operations/restartProjectEndpoint.d.ts.map +1 -1
- package/lib/operations/restartProjectEndpoint.js +3 -0
- package/lib/operations/restartProjectEndpoint.js.map +1 -1
- package/lib/operations/restoreProjectBranch.d.ts +12 -2
- package/lib/operations/restoreProjectBranch.d.ts.map +1 -1
- package/lib/operations/restoreProjectBranch.js +8 -0
- package/lib/operations/restoreProjectBranch.js.map +1 -1
- package/lib/operations/restoreSnapshot.d.ts +12 -2
- package/lib/operations/restoreSnapshot.d.ts.map +1 -1
- package/lib/operations/restoreSnapshot.js +8 -0
- package/lib/operations/restoreSnapshot.js.map +1 -1
- package/lib/operations/setDefaultProjectBranch.d.ts +12 -2
- package/lib/operations/setDefaultProjectBranch.d.ts.map +1 -1
- package/lib/operations/setDefaultProjectBranch.js +8 -0
- package/lib/operations/setDefaultProjectBranch.js.map +1 -1
- package/lib/operations/startProjectEndpoint.d.ts +2 -2
- package/lib/operations/startProjectEndpoint.d.ts.map +1 -1
- package/lib/operations/startProjectEndpoint.js +3 -0
- package/lib/operations/startProjectEndpoint.js.map +1 -1
- package/lib/operations/suspendProjectEndpoint.d.ts +2 -2
- package/lib/operations/suspendProjectEndpoint.d.ts.map +1 -1
- package/lib/operations/suspendProjectEndpoint.js +3 -0
- package/lib/operations/suspendProjectEndpoint.js.map +1 -1
- package/lib/operations/updateNeonAuthWebhookConfig.d.ts +4 -4
- package/lib/operations/updateNeonAuthWebhookConfig.d.ts.map +1 -1
- package/lib/operations/updateNeonAuthWebhookConfig.js +2 -0
- package/lib/operations/updateNeonAuthWebhookConfig.js.map +1 -1
- package/lib/operations/updateProject.d.ts +2 -2
- package/lib/operations/updateProject.d.ts.map +1 -1
- package/lib/operations/updateProject.js +3 -0
- package/lib/operations/updateProject.js.map +1 -1
- package/lib/operations/updateProjectBranch.d.ts +12 -2
- package/lib/operations/updateProjectBranch.d.ts.map +1 -1
- package/lib/operations/updateProjectBranch.js +8 -0
- package/lib/operations/updateProjectBranch.js.map +1 -1
- package/lib/operations/updateProjectBranchDatabase.d.ts +2 -2
- package/lib/operations/updateProjectBranchDatabase.d.ts.map +1 -1
- package/lib/operations/updateProjectBranchDatabase.js +3 -0
- package/lib/operations/updateProjectBranchDatabase.js.map +1 -1
- package/lib/operations/updateProjectEndpoint.d.ts +2 -2
- package/lib/operations/updateProjectEndpoint.d.ts.map +1 -1
- package/lib/operations/updateProjectEndpoint.js +3 -0
- package/lib/operations/updateProjectEndpoint.js.map +1 -1
- package/lib/operations/updateSnapshot.d.ts +4 -0
- package/lib/operations/updateSnapshot.d.ts.map +1 -1
- package/lib/operations/updateSnapshot.js +2 -0
- package/lib/operations/updateSnapshot.js.map +1 -1
- package/package.json +2 -2
- package/src/operations/addProjectJWKS.ts +3 -0
- package/src/operations/createProject.ts +10 -0
- package/src/operations/createProjectBranch.ts +10 -0
- package/src/operations/createProjectBranchAnonymized.ts +10 -0
- package/src/operations/createProjectBranchDatabase.ts +3 -0
- package/src/operations/createProjectBranchRole.ts +3 -0
- package/src/operations/createProjectEndpoint.ts +3 -0
- package/src/operations/createSnapshot.ts +5 -0
- package/src/operations/deleteProjectBranch.ts +19 -0
- package/src/operations/deleteProjectBranchDatabase.ts +3 -0
- package/src/operations/deleteProjectBranchRole.ts +3 -0
- package/src/operations/deleteProjectEndpoint.ts +3 -0
- package/src/operations/finalizeRestoreBranch.ts +3 -0
- package/src/operations/getConsumptionHistoryPerProject.ts +7 -1
- package/src/operations/getConsumptionHistoryPerProjectV2.ts +8 -1
- package/src/operations/getCurrentUserInfo.ts +2 -0
- package/src/operations/getCurrentUserOrganizations.ts +1 -0
- package/src/operations/getNeonAuth.ts +1 -0
- package/src/operations/getNeonAuthPluginConfigs.ts +14 -0
- package/src/operations/getNeonAuthWebhookConfig.ts +1 -0
- package/src/operations/getOrganization.ts +1 -0
- package/src/operations/getOrganizationMembers.ts +10 -4
- package/src/operations/getProjectBranch.ts +7 -0
- package/src/operations/getProjectOperation.ts +3 -0
- package/src/operations/index.ts +8 -1
- package/src/operations/listProjectBranches.ts +25 -5
- package/src/operations/listProjectOperations.ts +12 -4
- package/src/operations/listProjects.ts +12 -4
- package/src/operations/listSharedProjects.ts +12 -4
- package/src/operations/listSnapshots.ts +2 -0
- package/src/operations/recoverProject.ts +7 -0
- package/src/operations/resetProjectBranchRolePassword.ts +3 -0
- package/src/operations/restartProjectEndpoint.ts +3 -0
- package/src/operations/restoreProjectBranch.ts +10 -0
- package/src/operations/restoreSnapshot.ts +10 -0
- package/src/operations/setDefaultProjectBranch.ts +10 -0
- package/src/operations/startProjectEndpoint.ts +3 -0
- package/src/operations/suspendProjectEndpoint.ts +3 -0
- package/src/operations/updateNeonAuthWebhookConfig.ts +2 -0
- package/src/operations/updateProject.ts +3 -0
- package/src/operations/updateProjectBranch.ts +10 -0
- package/src/operations/updateProjectBranchDatabase.ts +3 -0
- package/src/operations/updateProjectEndpoint.ts +3 -0
- package/src/operations/updateSnapshot.ts +2 -0
|
@@ -8,6 +8,7 @@ export const DeleteProjectBranchInput =
|
|
|
8
8
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
9
|
project_id: Schema.String.pipe(T.PathParam()),
|
|
10
10
|
branch_id: Schema.String.pipe(T.PathParam()),
|
|
11
|
+
hard_delete: Schema.optional(Schema.Boolean),
|
|
11
12
|
}).pipe(
|
|
12
13
|
T.Http({
|
|
13
14
|
method: "DELETE",
|
|
@@ -62,6 +63,13 @@ export const DeleteProjectBranchOutput =
|
|
|
62
63
|
}),
|
|
63
64
|
),
|
|
64
65
|
),
|
|
66
|
+
recovery: Schema.optional(
|
|
67
|
+
Schema.Struct({
|
|
68
|
+
deleted_at: Schema.String,
|
|
69
|
+
recoverable_until: Schema.String,
|
|
70
|
+
deletion_method: Schema.Literals(["user", "ttl"]),
|
|
71
|
+
}),
|
|
72
|
+
),
|
|
65
73
|
}),
|
|
66
74
|
operations: Schema.Array(
|
|
67
75
|
Schema.Struct({
|
|
@@ -95,10 +103,13 @@ export const DeleteProjectBranchOutput =
|
|
|
95
103
|
"sync_dbs_and_roles_from_compute",
|
|
96
104
|
"apply_schema_from_branch",
|
|
97
105
|
"timeline_mark_invisible",
|
|
106
|
+
"timeline_update_protected_config",
|
|
98
107
|
"prewarm_replica",
|
|
99
108
|
"promote_replica",
|
|
100
109
|
"set_storage_non_dirty",
|
|
101
110
|
"swap_binding_id",
|
|
111
|
+
"finalize_migration",
|
|
112
|
+
"mark_migration_prepared",
|
|
102
113
|
]),
|
|
103
114
|
status: Schema.Literals([
|
|
104
115
|
"scheduling",
|
|
@@ -135,9 +146,17 @@ export type DeleteProjectBranchOutput = typeof DeleteProjectBranchOutput.Type;
|
|
|
135
146
|
* The deletion occurs after all operations finish.
|
|
136
147
|
* You cannot delete a project's root or default branch, and you cannot delete a branch that has a child branch.
|
|
137
148
|
* A project must have at least one branch.
|
|
149
|
+
* By default, deleted branches can be recovered within a 7-day grace period.
|
|
150
|
+
* Use the `hard_delete` parameter to permanently delete the branch immediately without a recovery window.
|
|
151
|
+
* Soft delete and branch recovery are in preview and not available to all users.
|
|
138
152
|
*
|
|
139
153
|
* @param project_id - The Neon project ID
|
|
140
154
|
* @param branch_id - The branch ID
|
|
155
|
+
* @param hard_delete - If true, the branch is permanently deleted immediately without a recovery window.
|
|
156
|
+
If false (default), the branch can be recovered within 7 days via the recover endpoint.
|
|
157
|
+
|
|
158
|
+
This parameter is part of the Branch Recovery feature, which is in preview and not available to all users.
|
|
159
|
+
|
|
141
160
|
*/
|
|
142
161
|
export const deleteProjectBranch = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
143
162
|
inputSchema: DeleteProjectBranchInput,
|
|
@@ -61,10 +61,13 @@ export const DeleteProjectBranchDatabaseOutput =
|
|
|
61
61
|
"sync_dbs_and_roles_from_compute",
|
|
62
62
|
"apply_schema_from_branch",
|
|
63
63
|
"timeline_mark_invisible",
|
|
64
|
+
"timeline_update_protected_config",
|
|
64
65
|
"prewarm_replica",
|
|
65
66
|
"promote_replica",
|
|
66
67
|
"set_storage_non_dirty",
|
|
67
68
|
"swap_binding_id",
|
|
69
|
+
"finalize_migration",
|
|
70
|
+
"mark_migration_prepared",
|
|
68
71
|
]),
|
|
69
72
|
status: Schema.Literals([
|
|
70
73
|
"scheduling",
|
|
@@ -63,10 +63,13 @@ export const DeleteProjectBranchRoleOutput =
|
|
|
63
63
|
"sync_dbs_and_roles_from_compute",
|
|
64
64
|
"apply_schema_from_branch",
|
|
65
65
|
"timeline_mark_invisible",
|
|
66
|
+
"timeline_update_protected_config",
|
|
66
67
|
"prewarm_replica",
|
|
67
68
|
"promote_replica",
|
|
68
69
|
"set_storage_non_dirty",
|
|
69
70
|
"swap_binding_id",
|
|
71
|
+
"finalize_migration",
|
|
72
|
+
"mark_migration_prepared",
|
|
70
73
|
]),
|
|
71
74
|
status: Schema.Literals([
|
|
72
75
|
"scheduling",
|
|
@@ -94,10 +94,13 @@ export const DeleteProjectEndpointOutput =
|
|
|
94
94
|
"sync_dbs_and_roles_from_compute",
|
|
95
95
|
"apply_schema_from_branch",
|
|
96
96
|
"timeline_mark_invisible",
|
|
97
|
+
"timeline_update_protected_config",
|
|
97
98
|
"prewarm_replica",
|
|
98
99
|
"promote_replica",
|
|
99
100
|
"set_storage_non_dirty",
|
|
100
101
|
"swap_binding_id",
|
|
102
|
+
"finalize_migration",
|
|
103
|
+
"mark_migration_prepared",
|
|
101
104
|
]),
|
|
102
105
|
status: Schema.Literals([
|
|
103
106
|
"scheduling",
|
|
@@ -51,10 +51,13 @@ export const FinalizeRestoreBranchOutput =
|
|
|
51
51
|
"sync_dbs_and_roles_from_compute",
|
|
52
52
|
"apply_schema_from_branch",
|
|
53
53
|
"timeline_mark_invisible",
|
|
54
|
+
"timeline_update_protected_config",
|
|
54
55
|
"prewarm_replica",
|
|
55
56
|
"promote_replica",
|
|
56
57
|
"set_storage_non_dirty",
|
|
57
58
|
"swap_binding_id",
|
|
59
|
+
"finalize_migration",
|
|
60
|
+
"mark_migration_prepared",
|
|
58
61
|
]),
|
|
59
62
|
status: Schema.Literals([
|
|
60
63
|
"scheduling",
|
|
@@ -122,8 +122,14 @@ A list of metrics can be specified as an array of parameter values or as a comma
|
|
|
122
122
|
|
|
123
123
|
*/
|
|
124
124
|
export const getConsumptionHistoryPerProject =
|
|
125
|
-
/*@__PURE__*/ /*#__PURE__*/ API.
|
|
125
|
+
/*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
126
126
|
inputSchema: GetConsumptionHistoryPerProjectInput,
|
|
127
127
|
outputSchema: GetConsumptionHistoryPerProjectOutput,
|
|
128
128
|
errors: [Forbidden, NotFound] as const,
|
|
129
|
+
pagination: {
|
|
130
|
+
mode: "cursor",
|
|
131
|
+
inputToken: "cursor",
|
|
132
|
+
outputToken: "pagination.cursor",
|
|
133
|
+
items: "projects",
|
|
134
|
+
},
|
|
129
135
|
}));
|
|
@@ -108,6 +108,7 @@ Possible values:
|
|
|
108
108
|
- `public_network_transfer_bytes`
|
|
109
109
|
- `private_network_transfer_bytes`
|
|
110
110
|
- `extra_branches_month`
|
|
111
|
+
- `snapshot_storage_bytes_month`
|
|
111
112
|
|
|
112
113
|
A list of metrics can be specified as an array of parameter values or as a comma-separated list in a single parameter value.
|
|
113
114
|
- As an array of parameter values: `metrics=compute_unit_seconds&metrics=extra_branches_month`
|
|
@@ -115,8 +116,14 @@ A list of metrics can be specified as an array of parameter values or as a comma
|
|
|
115
116
|
|
|
116
117
|
*/
|
|
117
118
|
export const getConsumptionHistoryPerProjectV2 =
|
|
118
|
-
/*@__PURE__*/ /*#__PURE__*/ API.
|
|
119
|
+
/*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
119
120
|
inputSchema: GetConsumptionHistoryPerProjectV2Input,
|
|
120
121
|
outputSchema: GetConsumptionHistoryPerProjectV2Output,
|
|
121
122
|
errors: [Forbidden, NotFound] as const,
|
|
123
|
+
pagination: {
|
|
124
|
+
mode: "cursor",
|
|
125
|
+
inputToken: "cursor",
|
|
126
|
+
outputToken: "pagination.cursor",
|
|
127
|
+
items: "projects",
|
|
128
|
+
},
|
|
122
129
|
}));
|
|
@@ -69,6 +69,7 @@ export const GetCurrentUserInfoOutput =
|
|
|
69
69
|
"staff",
|
|
70
70
|
"trial",
|
|
71
71
|
"sponsorship",
|
|
72
|
+
"shared_payment_token",
|
|
72
73
|
]),
|
|
73
74
|
quota_reset_at_last: Schema.String,
|
|
74
75
|
name: Schema.String,
|
|
@@ -94,6 +95,7 @@ export const GetCurrentUserInfoOutput =
|
|
|
94
95
|
),
|
|
95
96
|
}),
|
|
96
97
|
),
|
|
98
|
+
spending_limit_cents: Schema.optional(Schema.NullOr(Schema.Number)),
|
|
97
99
|
}),
|
|
98
100
|
),
|
|
99
101
|
auth_accounts: Schema.Array(
|
|
@@ -25,6 +25,7 @@ export const GetNeonAuthOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
25
25
|
transfer_status: Schema.optional(Schema.Literals(["initiated", "finished"])),
|
|
26
26
|
jwks_url: Schema.String,
|
|
27
27
|
base_url: Schema.optional(Schema.String),
|
|
28
|
+
name: Schema.optional(Schema.String),
|
|
28
29
|
});
|
|
29
30
|
export type GetNeonAuthOutput = typeof GetNeonAuthOutput.Type;
|
|
30
31
|
|
|
@@ -29,6 +29,20 @@ export const GetNeonAuthPluginConfigsOutput =
|
|
|
29
29
|
send_invitation_email: Schema.Boolean,
|
|
30
30
|
}),
|
|
31
31
|
),
|
|
32
|
+
magic_link: Schema.optional(
|
|
33
|
+
Schema.Struct({
|
|
34
|
+
enabled: Schema.Boolean,
|
|
35
|
+
expires_in: Schema.Number,
|
|
36
|
+
disable_sign_up: Schema.Boolean,
|
|
37
|
+
}),
|
|
38
|
+
),
|
|
39
|
+
phone_number: Schema.optional(
|
|
40
|
+
Schema.Struct({
|
|
41
|
+
enabled: Schema.Boolean,
|
|
42
|
+
otp_expires_in: Schema.optional(Schema.Number),
|
|
43
|
+
allowed_attempts: Schema.optional(Schema.Number),
|
|
44
|
+
}),
|
|
45
|
+
),
|
|
32
46
|
email_provider: Schema.optional(Schema.Unknown),
|
|
33
47
|
email_and_password: Schema.optional(
|
|
34
48
|
Schema.Struct({
|
|
@@ -18,6 +18,7 @@ export const GetOrganizationOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
18
18
|
managed_by: Schema.String,
|
|
19
19
|
updated_at: Schema.String,
|
|
20
20
|
allow_hipaa_projects: Schema.optional(Schema.Boolean),
|
|
21
|
+
require_mfa: Schema.optional(Schema.Boolean),
|
|
21
22
|
});
|
|
22
23
|
export type GetOrganizationOutput = typeof GetOrganizationOutput.Type;
|
|
23
24
|
|
|
@@ -29,6 +29,7 @@ export const GetOrganizationMembersOutput =
|
|
|
29
29
|
user: Schema.Struct({
|
|
30
30
|
email: Schema.String,
|
|
31
31
|
has_mfa: Schema.optional(Schema.Boolean),
|
|
32
|
+
deactivated_at: Schema.optional(Schema.String),
|
|
32
33
|
}),
|
|
33
34
|
}),
|
|
34
35
|
),
|
|
@@ -55,9 +56,14 @@ export type GetOrganizationMembersOutput =
|
|
|
55
56
|
* @param sort_order - Defines the sorting order of entities.
|
|
56
57
|
* @param limit - The maximum number of members to return in the response
|
|
57
58
|
*/
|
|
58
|
-
export const getOrganizationMembers =
|
|
59
|
-
() => ({
|
|
59
|
+
export const getOrganizationMembers =
|
|
60
|
+
/*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
60
61
|
inputSchema: GetOrganizationMembersInput,
|
|
61
62
|
outputSchema: GetOrganizationMembersOutput,
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
pagination: {
|
|
64
|
+
mode: "cursor",
|
|
65
|
+
inputToken: "cursor",
|
|
66
|
+
outputToken: "pagination.next",
|
|
67
|
+
items: "members",
|
|
68
|
+
},
|
|
69
|
+
}));
|
|
@@ -61,6 +61,13 @@ export const GetProjectBranchOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
61
61
|
}),
|
|
62
62
|
),
|
|
63
63
|
),
|
|
64
|
+
recovery: Schema.optional(
|
|
65
|
+
Schema.Struct({
|
|
66
|
+
deleted_at: Schema.String,
|
|
67
|
+
recoverable_until: Schema.String,
|
|
68
|
+
deletion_method: Schema.Literals(["user", "ttl"]),
|
|
69
|
+
}),
|
|
70
|
+
),
|
|
64
71
|
}),
|
|
65
72
|
annotation: Schema.Struct({
|
|
66
73
|
object: Schema.Struct({
|
|
@@ -50,10 +50,13 @@ export const GetProjectOperationOutput =
|
|
|
50
50
|
"sync_dbs_and_roles_from_compute",
|
|
51
51
|
"apply_schema_from_branch",
|
|
52
52
|
"timeline_mark_invisible",
|
|
53
|
+
"timeline_update_protected_config",
|
|
53
54
|
"prewarm_replica",
|
|
54
55
|
"promote_replica",
|
|
55
56
|
"set_storage_non_dirty",
|
|
56
57
|
"swap_binding_id",
|
|
58
|
+
"finalize_migration",
|
|
59
|
+
"mark_migration_prepared",
|
|
57
60
|
]),
|
|
58
61
|
status: Schema.Literals([
|
|
59
62
|
"scheduling",
|
package/src/operations/index.ts
CHANGED
|
@@ -49,6 +49,10 @@ export * from "./getNeonAuthAllowLocalhost.ts";
|
|
|
49
49
|
export * from "./updateNeonAuthAllowLocalhost.ts";
|
|
50
50
|
export * from "./getNeonAuthPluginConfigs.ts";
|
|
51
51
|
export * from "./updateNeonAuthOrganizationPlugin.ts";
|
|
52
|
+
export * from "./updateNeonAuthConfig.ts";
|
|
53
|
+
export * from "./updateNeonAuthMagicLinkPlugin.ts";
|
|
54
|
+
export * from "./getNeonAuthPhoneNumberPlugin.ts";
|
|
55
|
+
export * from "./updateNeonAuthPhoneNumberPlugin.ts";
|
|
52
56
|
export * from "./getNeonAuthWebhookConfig.ts";
|
|
53
57
|
export * from "./updateNeonAuthWebhookConfig.ts";
|
|
54
58
|
export * from "./listProjectBranches.ts";
|
|
@@ -66,6 +70,7 @@ export * from "./updateMaskingRules.ts";
|
|
|
66
70
|
export * from "./getAnonymizedBranchStatus.ts";
|
|
67
71
|
export * from "./startAnonymization.ts";
|
|
68
72
|
export * from "./setDefaultProjectBranch.ts";
|
|
73
|
+
export * from "./recoverProjectBranch.ts";
|
|
69
74
|
export * from "./finalizeRestoreBranch.ts";
|
|
70
75
|
export * from "./listProjectBranchEndpoints.ts";
|
|
71
76
|
export * from "./listProjectBranchDatabases.ts";
|
|
@@ -96,6 +101,9 @@ export * from "./getOrganization.ts";
|
|
|
96
101
|
export * from "./listOrgApiKeys.ts";
|
|
97
102
|
export * from "./createOrgApiKey.ts";
|
|
98
103
|
export * from "./revokeOrgApiKey.ts";
|
|
104
|
+
export * from "./getOrganizationSpendingLimit.ts";
|
|
105
|
+
export * from "./setOrganizationSpendingLimit.ts";
|
|
106
|
+
export * from "./deleteOrganizationSpendingLimit.ts";
|
|
99
107
|
export * from "./getOrganizationMembers.ts";
|
|
100
108
|
export * from "./getOrganizationMember.ts";
|
|
101
109
|
export * from "./updateOrganizationMember.ts";
|
|
@@ -111,7 +119,6 @@ export * from "./deleteOrganizationVPCEndpoint.ts";
|
|
|
111
119
|
export * from "./getActiveRegions.ts";
|
|
112
120
|
export * from "./getCurrentUserInfo.ts";
|
|
113
121
|
export * from "./getCurrentUserOrganizations.ts";
|
|
114
|
-
export * from "./transferProjectsFromUserToOrg.ts";
|
|
115
122
|
export * from "./getAuthDetails.ts";
|
|
116
123
|
export * from "./createSnapshot.ts";
|
|
117
124
|
export * from "./listSnapshots.ts";
|
|
@@ -14,6 +14,7 @@ export const ListProjectBranchesInput =
|
|
|
14
14
|
cursor: Schema.optional(Schema.String),
|
|
15
15
|
sort_order: Schema.optional(Schema.Literals(["asc", "desc"])),
|
|
16
16
|
limit: Schema.optional(Schema.Number),
|
|
17
|
+
include_deleted: Schema.optional(Schema.Boolean),
|
|
17
18
|
}).pipe(T.Http({ method: "GET", path: "/projects/{project_id}/branches" }));
|
|
18
19
|
export type ListProjectBranchesInput = typeof ListProjectBranchesInput.Type;
|
|
19
20
|
|
|
@@ -64,6 +65,13 @@ export const ListProjectBranchesOutput =
|
|
|
64
65
|
}),
|
|
65
66
|
),
|
|
66
67
|
),
|
|
68
|
+
recovery: Schema.optional(
|
|
69
|
+
Schema.Struct({
|
|
70
|
+
deleted_at: Schema.String,
|
|
71
|
+
recoverable_until: Schema.String,
|
|
72
|
+
deletion_method: Schema.Literals(["user", "ttl"]),
|
|
73
|
+
}),
|
|
74
|
+
),
|
|
67
75
|
}),
|
|
68
76
|
),
|
|
69
77
|
annotations: Schema.Record(
|
|
@@ -106,9 +114,21 @@ export type ListProjectBranchesOutput = typeof ListProjectBranchesOutput.Type;
|
|
|
106
114
|
* @param cursor - 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.
|
|
107
115
|
* @param sort_order - Defines the sorting order of entities.
|
|
108
116
|
* @param limit - The maximum number of records to be returned in the response
|
|
117
|
+
* @param include_deleted - If true, return recoverable deleted branches too (soft-deleted within the recovery window).
|
|
118
|
+
If false or not provided, return only active (non-deleted) branches.
|
|
119
|
+
|
|
120
|
+
This parameter is part of the Branch Recovery feature, which is in preview and not available to all users.
|
|
121
|
+
|
|
109
122
|
*/
|
|
110
|
-
export const listProjectBranches =
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
123
|
+
export const listProjectBranches =
|
|
124
|
+
/*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
125
|
+
inputSchema: ListProjectBranchesInput,
|
|
126
|
+
outputSchema: ListProjectBranchesOutput,
|
|
127
|
+
errors: [NotFound] as const,
|
|
128
|
+
pagination: {
|
|
129
|
+
mode: "cursor",
|
|
130
|
+
inputToken: "cursor",
|
|
131
|
+
outputToken: "pagination.next",
|
|
132
|
+
items: "branches",
|
|
133
|
+
},
|
|
134
|
+
}));
|
|
@@ -47,10 +47,13 @@ export const ListProjectOperationsOutput =
|
|
|
47
47
|
"sync_dbs_and_roles_from_compute",
|
|
48
48
|
"apply_schema_from_branch",
|
|
49
49
|
"timeline_mark_invisible",
|
|
50
|
+
"timeline_update_protected_config",
|
|
50
51
|
"prewarm_replica",
|
|
51
52
|
"promote_replica",
|
|
52
53
|
"set_storage_non_dirty",
|
|
53
54
|
"swap_binding_id",
|
|
55
|
+
"finalize_migration",
|
|
56
|
+
"mark_migration_prepared",
|
|
54
57
|
]),
|
|
55
58
|
status: Schema.Literals([
|
|
56
59
|
"scheduling",
|
|
@@ -95,10 +98,15 @@ export type ListProjectOperationsOutput =
|
|
|
95
98
|
* @param limit - Specify a value from 1 to 1000 to limit number of operations in the response
|
|
96
99
|
* @param project_id - The Neon project ID
|
|
97
100
|
*/
|
|
98
|
-
export const listProjectOperations =
|
|
99
|
-
() => ({
|
|
101
|
+
export const listProjectOperations =
|
|
102
|
+
/*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
100
103
|
inputSchema: ListProjectOperationsInput,
|
|
101
104
|
outputSchema: ListProjectOperationsOutput,
|
|
102
105
|
errors: [NotFound] as const,
|
|
103
|
-
|
|
104
|
-
|
|
106
|
+
pagination: {
|
|
107
|
+
mode: "cursor",
|
|
108
|
+
inputToken: "cursor",
|
|
109
|
+
outputToken: "pagination.cursor",
|
|
110
|
+
items: "operations",
|
|
111
|
+
},
|
|
112
|
+
}));
|
|
@@ -138,7 +138,15 @@ If not specified, an implicit implementation defined timeout is chosen with the
|
|
|
138
138
|
* @param recoverable - Show only deleted projects within the recovery window.
|
|
139
139
|
|
|
140
140
|
*/
|
|
141
|
-
export const listProjects = /*@__PURE__*/ /*#__PURE__*/ API.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
141
|
+
export const listProjects = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(
|
|
142
|
+
() => ({
|
|
143
|
+
inputSchema: ListProjectsInput,
|
|
144
|
+
outputSchema: ListProjectsOutput,
|
|
145
|
+
pagination: {
|
|
146
|
+
mode: "cursor",
|
|
147
|
+
inputToken: "cursor",
|
|
148
|
+
outputToken: "pagination.cursor",
|
|
149
|
+
items: "projects",
|
|
150
|
+
},
|
|
151
|
+
}),
|
|
152
|
+
);
|
|
@@ -122,7 +122,15 @@ Projects still being fetched when the timeout occurred are listed in the "unavai
|
|
|
122
122
|
If not specified, an implicit implementation defined timeout is chosen with the same behaviour as above
|
|
123
123
|
|
|
124
124
|
*/
|
|
125
|
-
export const listSharedProjects = /*@__PURE__*/ /*#__PURE__*/ API.
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
125
|
+
export const listSharedProjects = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(
|
|
126
|
+
() => ({
|
|
127
|
+
inputSchema: ListSharedProjectsInput,
|
|
128
|
+
outputSchema: ListSharedProjectsOutput,
|
|
129
|
+
pagination: {
|
|
130
|
+
mode: "cursor",
|
|
131
|
+
inputToken: "cursor",
|
|
132
|
+
outputToken: "pagination.cursor",
|
|
133
|
+
items: "projects",
|
|
134
|
+
},
|
|
135
|
+
}),
|
|
136
|
+
);
|
|
@@ -20,6 +20,8 @@ export const ListSnapshotsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
20
20
|
created_at: Schema.String,
|
|
21
21
|
expires_at: Schema.optional(Schema.String),
|
|
22
22
|
manual: Schema.optional(Schema.Boolean),
|
|
23
|
+
full_size: Schema.optional(Schema.Number),
|
|
24
|
+
diff_size: Schema.optional(Schema.Number),
|
|
23
25
|
}),
|
|
24
26
|
),
|
|
25
27
|
});
|
|
@@ -159,6 +159,13 @@ export const RecoverProjectOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
159
159
|
}),
|
|
160
160
|
),
|
|
161
161
|
),
|
|
162
|
+
recovery: Schema.optional(
|
|
163
|
+
Schema.Struct({
|
|
164
|
+
deleted_at: Schema.String,
|
|
165
|
+
recoverable_until: Schema.String,
|
|
166
|
+
deletion_method: Schema.Literals(["user", "ttl"]),
|
|
167
|
+
}),
|
|
168
|
+
),
|
|
162
169
|
}),
|
|
163
170
|
),
|
|
164
171
|
});
|
|
@@ -63,10 +63,13 @@ export const ResetProjectBranchRolePasswordOutput =
|
|
|
63
63
|
"sync_dbs_and_roles_from_compute",
|
|
64
64
|
"apply_schema_from_branch",
|
|
65
65
|
"timeline_mark_invisible",
|
|
66
|
+
"timeline_update_protected_config",
|
|
66
67
|
"prewarm_replica",
|
|
67
68
|
"promote_replica",
|
|
68
69
|
"set_storage_non_dirty",
|
|
69
70
|
"swap_binding_id",
|
|
71
|
+
"finalize_migration",
|
|
72
|
+
"mark_migration_prepared",
|
|
70
73
|
]),
|
|
71
74
|
status: Schema.Literals([
|
|
72
75
|
"scheduling",
|
|
@@ -95,10 +95,13 @@ export const RestartProjectEndpointOutput =
|
|
|
95
95
|
"sync_dbs_and_roles_from_compute",
|
|
96
96
|
"apply_schema_from_branch",
|
|
97
97
|
"timeline_mark_invisible",
|
|
98
|
+
"timeline_update_protected_config",
|
|
98
99
|
"prewarm_replica",
|
|
99
100
|
"promote_replica",
|
|
100
101
|
"set_storage_non_dirty",
|
|
101
102
|
"swap_binding_id",
|
|
103
|
+
"finalize_migration",
|
|
104
|
+
"mark_migration_prepared",
|
|
102
105
|
]),
|
|
103
106
|
status: Schema.Literals([
|
|
104
107
|
"scheduling",
|
|
@@ -66,6 +66,13 @@ export const RestoreProjectBranchOutput =
|
|
|
66
66
|
}),
|
|
67
67
|
),
|
|
68
68
|
),
|
|
69
|
+
recovery: Schema.optional(
|
|
70
|
+
Schema.Struct({
|
|
71
|
+
deleted_at: Schema.String,
|
|
72
|
+
recoverable_until: Schema.String,
|
|
73
|
+
deletion_method: Schema.Literals(["user", "ttl"]),
|
|
74
|
+
}),
|
|
75
|
+
),
|
|
69
76
|
}),
|
|
70
77
|
operations: Schema.Array(
|
|
71
78
|
Schema.Struct({
|
|
@@ -99,10 +106,13 @@ export const RestoreProjectBranchOutput =
|
|
|
99
106
|
"sync_dbs_and_roles_from_compute",
|
|
100
107
|
"apply_schema_from_branch",
|
|
101
108
|
"timeline_mark_invisible",
|
|
109
|
+
"timeline_update_protected_config",
|
|
102
110
|
"prewarm_replica",
|
|
103
111
|
"promote_replica",
|
|
104
112
|
"set_storage_non_dirty",
|
|
105
113
|
"swap_binding_id",
|
|
114
|
+
"finalize_migration",
|
|
115
|
+
"mark_migration_prepared",
|
|
106
116
|
]),
|
|
107
117
|
status: Schema.Literals([
|
|
108
118
|
"scheduling",
|
|
@@ -62,6 +62,13 @@ export const RestoreSnapshotOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
62
62
|
}),
|
|
63
63
|
),
|
|
64
64
|
),
|
|
65
|
+
recovery: Schema.optional(
|
|
66
|
+
Schema.Struct({
|
|
67
|
+
deleted_at: Schema.String,
|
|
68
|
+
recoverable_until: Schema.String,
|
|
69
|
+
deletion_method: Schema.Literals(["user", "ttl"]),
|
|
70
|
+
}),
|
|
71
|
+
),
|
|
65
72
|
}),
|
|
66
73
|
endpoints: Schema.optional(
|
|
67
74
|
Schema.Array(
|
|
@@ -142,10 +149,13 @@ export const RestoreSnapshotOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
142
149
|
"sync_dbs_and_roles_from_compute",
|
|
143
150
|
"apply_schema_from_branch",
|
|
144
151
|
"timeline_mark_invisible",
|
|
152
|
+
"timeline_update_protected_config",
|
|
145
153
|
"prewarm_replica",
|
|
146
154
|
"promote_replica",
|
|
147
155
|
"set_storage_non_dirty",
|
|
148
156
|
"swap_binding_id",
|
|
157
|
+
"finalize_migration",
|
|
158
|
+
"mark_migration_prepared",
|
|
149
159
|
]),
|
|
150
160
|
status: Schema.Literals([
|
|
151
161
|
"scheduling",
|
|
@@ -63,6 +63,13 @@ export const SetDefaultProjectBranchOutput =
|
|
|
63
63
|
}),
|
|
64
64
|
),
|
|
65
65
|
),
|
|
66
|
+
recovery: Schema.optional(
|
|
67
|
+
Schema.Struct({
|
|
68
|
+
deleted_at: Schema.String,
|
|
69
|
+
recoverable_until: Schema.String,
|
|
70
|
+
deletion_method: Schema.Literals(["user", "ttl"]),
|
|
71
|
+
}),
|
|
72
|
+
),
|
|
66
73
|
}),
|
|
67
74
|
operations: Schema.Array(
|
|
68
75
|
Schema.Struct({
|
|
@@ -96,10 +103,13 @@ export const SetDefaultProjectBranchOutput =
|
|
|
96
103
|
"sync_dbs_and_roles_from_compute",
|
|
97
104
|
"apply_schema_from_branch",
|
|
98
105
|
"timeline_mark_invisible",
|
|
106
|
+
"timeline_update_protected_config",
|
|
99
107
|
"prewarm_replica",
|
|
100
108
|
"promote_replica",
|
|
101
109
|
"set_storage_non_dirty",
|
|
102
110
|
"swap_binding_id",
|
|
111
|
+
"finalize_migration",
|
|
112
|
+
"mark_migration_prepared",
|
|
103
113
|
]),
|
|
104
114
|
status: Schema.Literals([
|
|
105
115
|
"scheduling",
|
|
@@ -94,10 +94,13 @@ export const StartProjectEndpointOutput =
|
|
|
94
94
|
"sync_dbs_and_roles_from_compute",
|
|
95
95
|
"apply_schema_from_branch",
|
|
96
96
|
"timeline_mark_invisible",
|
|
97
|
+
"timeline_update_protected_config",
|
|
97
98
|
"prewarm_replica",
|
|
98
99
|
"promote_replica",
|
|
99
100
|
"set_storage_non_dirty",
|
|
100
101
|
"swap_binding_id",
|
|
102
|
+
"finalize_migration",
|
|
103
|
+
"mark_migration_prepared",
|
|
101
104
|
]),
|
|
102
105
|
status: Schema.Literals([
|
|
103
106
|
"scheduling",
|
|
@@ -95,10 +95,13 @@ export const SuspendProjectEndpointOutput =
|
|
|
95
95
|
"sync_dbs_and_roles_from_compute",
|
|
96
96
|
"apply_schema_from_branch",
|
|
97
97
|
"timeline_mark_invisible",
|
|
98
|
+
"timeline_update_protected_config",
|
|
98
99
|
"prewarm_replica",
|
|
99
100
|
"promote_replica",
|
|
100
101
|
"set_storage_non_dirty",
|
|
101
102
|
"swap_binding_id",
|
|
103
|
+
"finalize_migration",
|
|
104
|
+
"mark_migration_prepared",
|
|
102
105
|
]),
|
|
103
106
|
status: Schema.Literals([
|
|
104
107
|
"scheduling",
|
|
@@ -18,6 +18,7 @@ export const UpdateNeonAuthWebhookConfigInput =
|
|
|
18
18
|
"send.magic_link",
|
|
19
19
|
"organization.invitation.created",
|
|
20
20
|
"organization.invitation.accepted",
|
|
21
|
+
"phone_number.verified",
|
|
21
22
|
]),
|
|
22
23
|
),
|
|
23
24
|
),
|
|
@@ -45,6 +46,7 @@ export const UpdateNeonAuthWebhookConfigOutput =
|
|
|
45
46
|
"send.magic_link",
|
|
46
47
|
"organization.invitation.created",
|
|
47
48
|
"organization.invitation.accepted",
|
|
49
|
+
"phone_number.verified",
|
|
48
50
|
]),
|
|
49
51
|
),
|
|
50
52
|
),
|
|
@@ -204,10 +204,13 @@ export const UpdateProjectOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
204
204
|
"sync_dbs_and_roles_from_compute",
|
|
205
205
|
"apply_schema_from_branch",
|
|
206
206
|
"timeline_mark_invisible",
|
|
207
|
+
"timeline_update_protected_config",
|
|
207
208
|
"prewarm_replica",
|
|
208
209
|
"promote_replica",
|
|
209
210
|
"set_storage_non_dirty",
|
|
210
211
|
"swap_binding_id",
|
|
212
|
+
"finalize_migration",
|
|
213
|
+
"mark_migration_prepared",
|
|
211
214
|
]),
|
|
212
215
|
status: Schema.Literals([
|
|
213
216
|
"scheduling",
|