@distilled.cloud/planetscale 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/credentials.d.ts +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +2 -2
- package/lib/credentials.js.map +1 -1
- package/lib/operations/addOrganizationTeamMember.d.ts +53 -53
- package/lib/operations/cancelBouncerResizeRequest.d.ts +3 -3
- package/lib/operations/cancelBranchChangeRequest.d.ts +2 -2
- package/lib/operations/cancelDeployRequest.d.ts +92 -92
- package/lib/operations/checkDeployRequestStorage.d.ts +5 -5
- package/lib/operations/closeDeployRequest.d.ts +92 -92
- package/lib/operations/completeErroredDeploy.d.ts +92 -92
- package/lib/operations/completeGatedDeployRequest.d.ts +92 -92
- package/lib/operations/completeRevert.d.ts +92 -92
- package/lib/operations/createBackup.d.ts +42 -42
- package/lib/operations/createBackupPolicy.d.ts +16 -16
- package/lib/operations/createBouncer.d.ts +38 -38
- package/lib/operations/createBranch.d.ts +43 -43
- package/lib/operations/createDatabase.d.ts +47 -47
- package/lib/operations/createDatabasePostgresCidr.d.ts +12 -12
- package/lib/operations/createDeployRequest.d.ts +95 -95
- package/lib/operations/createKeyspace.d.ts +21 -21
- package/lib/operations/createOauthToken.d.ts +48 -48
- package/lib/operations/createOrganizationTeam.d.ts +22 -22
- package/lib/operations/createPassword.d.ts +34 -34
- package/lib/operations/createQueryPatternsReport.d.ts +10 -10
- package/lib/operations/createRole.d.ts +28 -28
- package/lib/operations/createServiceToken.d.ts +46 -46
- package/lib/operations/createTrafficBudget.d.ts +29 -29
- package/lib/operations/createTrafficRule.d.ts +15 -15
- package/lib/operations/createWebhook.d.ts +8 -8
- package/lib/operations/createWorkflow.d.ts +75 -75
- package/lib/operations/deleteBackup.d.ts +2 -2
- package/lib/operations/deleteBackupPolicy.d.ts +1 -1
- package/lib/operations/deleteBouncer.d.ts +3 -3
- package/lib/operations/deleteBranch.d.ts +2 -2
- package/lib/operations/deleteDatabase.d.ts +1 -1
- package/lib/operations/deleteDatabasePostgresCidr.d.ts +1 -1
- package/lib/operations/deleteKeyspace.d.ts +2 -2
- package/lib/operations/deleteOauthToken.d.ts +1 -1
- package/lib/operations/deletePassword.d.ts +2 -2
- package/lib/operations/deleteQueryPatternsReport.d.ts +2 -2
- package/lib/operations/deleteRole.d.ts +2 -2
- package/lib/operations/deleteServiceToken.d.ts +1 -1
- package/lib/operations/deleteTrafficBudget.d.ts +2 -2
- package/lib/operations/deleteTrafficRule.d.ts +2 -2
- package/lib/operations/deleteWebhook.d.ts +1 -1
- package/lib/operations/demoteBranch.d.ts +40 -40
- package/lib/operations/disableSafeMigrations.d.ts +40 -40
- package/lib/operations/dismissSchemaRecommendation.d.ts +16 -16
- package/lib/operations/enableSafeMigrations.d.ts +40 -40
- package/lib/operations/getBackup.d.ts +41 -41
- package/lib/operations/getBackupPolicy.d.ts +11 -11
- package/lib/operations/getBouncer.d.ts +37 -37
- package/lib/operations/getBranch.d.ts +40 -40
- package/lib/operations/getBranchChangeRequest.d.ts +26 -26
- package/lib/operations/getBranchSchema.d.ts +3 -3
- package/lib/operations/getCurrentUser.d.ts +10 -10
- package/lib/operations/getDatabase.d.ts +43 -43
- package/lib/operations/getDatabasePostgresCidr.d.ts +10 -10
- package/lib/operations/getDatabaseThrottler.d.ts +4 -4
- package/lib/operations/getDefaultRole.d.ts +26 -26
- package/lib/operations/getDeployQueue.d.ts +74 -74
- package/lib/operations/getDeployRequest.d.ts +92 -92
- package/lib/operations/getDeployRequestThrottler.d.ts +4 -4
- package/lib/operations/getDeployment.d.ts +70 -70
- package/lib/operations/getInvoice.d.ts +5 -5
- package/lib/operations/getInvoiceLineItems.d.ts +11 -11
- package/lib/operations/getKeyspace.d.ts +20 -20
- package/lib/operations/getKeyspaceRolloutStatus.d.ts +5 -5
- package/lib/operations/getKeyspaceVschema.d.ts +2 -2
- package/lib/operations/getMaintenanceSchedule.d.ts +14 -14
- package/lib/operations/getOauthApplication.d.ts +12 -12
- package/lib/operations/getOauthToken.d.ts +46 -46
- package/lib/operations/getOrganization.d.ts +12 -12
- package/lib/operations/getOrganizationMembership.d.ts +14 -14
- package/lib/operations/getOrganizationTeam.d.ts +20 -20
- package/lib/operations/getOrganizationTeamMember.d.ts +54 -54
- package/lib/operations/getPassword.d.ts +31 -31
- package/lib/operations/getQueryPatternsReport.d.ts +2 -2
- package/lib/operations/getQueryPatternsReportStatus.d.ts +10 -10
- package/lib/operations/getRole.d.ts +26 -26
- package/lib/operations/getSchemaRecommendation.d.ts +16 -16
- package/lib/operations/getServiceToken.d.ts +46 -46
- package/lib/operations/getTrafficBudget.d.ts +24 -24
- package/lib/operations/getWebhook.d.ts +7 -7
- package/lib/operations/getWorkflow.d.ts +71 -71
- package/lib/operations/lintBranchSchema.d.ts +18 -18
- package/lib/operations/listAuditLogs.d.ts +16 -16
- package/lib/operations/listBackupPolicies.d.ts +15 -15
- package/lib/operations/listBackups.d.ts +51 -51
- package/lib/operations/listBouncerResizeRequests.d.ts +31 -31
- package/lib/operations/listBouncers.d.ts +40 -40
- package/lib/operations/listBranchBouncerResizeRequests.d.ts +30 -30
- package/lib/operations/listBranchChangeRequests.d.ts +30 -30
- package/lib/operations/listBranches.d.ts +46 -46
- package/lib/operations/listClusterSizeSkus.d.ts +12 -12
- package/lib/operations/listDatabasePostgresCidrs.d.ts +14 -14
- package/lib/operations/listDatabaseRegions.d.ts +9 -9
- package/lib/operations/listDatabases.d.ts +47 -47
- package/lib/operations/listDeployOperations.d.ts +16 -16
- package/lib/operations/listDeployRequestReviews.d.ts +12 -12
- package/lib/operations/listDeployRequests.d.ts +100 -100
- package/lib/operations/listExtensions.d.ts +24 -24
- package/lib/operations/listGeneratedQueryPatternsReports.d.ts +14 -14
- package/lib/operations/listInvoices.d.ts +8 -8
- package/lib/operations/listKeyspaces.d.ts +24 -24
- package/lib/operations/listMaintenanceSchedules.d.ts +18 -18
- package/lib/operations/listMaintenanceWindows.d.ts +8 -8
- package/lib/operations/listOauthApplications.d.ts +15 -15
- package/lib/operations/listOauthTokens.d.ts +50 -50
- package/lib/operations/listOrganizationMembers.d.ts +18 -18
- package/lib/operations/listOrganizationTeamMembers.d.ts +58 -58
- package/lib/operations/listOrganizationTeams.d.ts +25 -25
- package/lib/operations/listOrganizations.d.ts +16 -16
- package/lib/operations/listParameters.d.ts +18 -18
- package/lib/operations/listPasswords.d.ts +36 -36
- package/lib/operations/listPublicRegions.d.ts +7 -7
- package/lib/operations/listReadOnlyRegions.d.ts +17 -17
- package/lib/operations/listRegionsForOrganization.d.ts +8 -8
- package/lib/operations/listRoles.d.ts +30 -30
- package/lib/operations/listSchemaRecommendations.d.ts +21 -21
- package/lib/operations/listServiceTokens.d.ts +49 -49
- package/lib/operations/listTrafficBudgets.d.ts +30 -30
- package/lib/operations/listWebhooks.d.ts +11 -11
- package/lib/operations/listWorkflows.d.ts +76 -76
- package/lib/operations/promoteBranch.d.ts +40 -40
- package/lib/operations/queueDeployRequest.d.ts +93 -93
- package/lib/operations/reassignRoleObjects.d.ts +2 -2
- package/lib/operations/removeOrganizationMember.d.ts +2 -2
- package/lib/operations/removeOrganizationTeamMember.d.ts +2 -2
- package/lib/operations/renewPassword.d.ts +31 -31
- package/lib/operations/renewRole.d.ts +26 -26
- package/lib/operations/resetDefaultRole.d.ts +26 -26
- package/lib/operations/resetRole.d.ts +26 -26
- package/lib/operations/reviewDeployRequest.d.ts +9 -9
- package/lib/operations/skipRevertPeriod.d.ts +92 -92
- package/lib/operations/testWebhook.d.ts +1 -1
- package/lib/operations/updateAutoApply.d.ts +93 -93
- package/lib/operations/updateAutoDeleteBranch.d.ts +93 -93
- package/lib/operations/updateBackup.d.ts +41 -41
- package/lib/operations/updateBackupPolicy.d.ts +17 -17
- package/lib/operations/updateBouncerResizeRequest.d.ts +28 -28
- package/lib/operations/updateBranch.d.ts +40 -40
- package/lib/operations/updateBranchChangeRequest.d.ts +27 -27
- package/lib/operations/updateBranchClusterConfig.d.ts +2 -2
- package/lib/operations/updateDatabasePostgresCidr.d.ts +12 -12
- package/lib/operations/updateDatabaseSettings.d.ts +50 -50
- package/lib/operations/updateDatabaseThrottler.d.ts +5 -5
- package/lib/operations/updateDeployRequestThrottler.d.ts +5 -5
- package/lib/operations/updateKeyspace.d.ts +20 -20
- package/lib/operations/updateKeyspaceVschema.d.ts +2 -2
- package/lib/operations/updateOrganization.d.ts +13 -13
- package/lib/operations/updateOrganizationMembership.d.ts +14 -14
- package/lib/operations/updateOrganizationTeam.d.ts +22 -22
- package/lib/operations/updatePassword.d.ts +32 -32
- package/lib/operations/updateRole.d.ts +26 -26
- package/lib/operations/updateTrafficBudget.d.ts +29 -29
- package/lib/operations/updateWebhook.d.ts +9 -9
- package/lib/operations/verifyWorkflow.d.ts +71 -71
- package/lib/operations/workflowCancel.d.ts +71 -71
- package/lib/operations/workflowComplete.d.ts +71 -71
- package/lib/operations/workflowCutover.d.ts +71 -71
- package/lib/operations/workflowRetry.d.ts +71 -71
- package/lib/operations/workflowReverseCutover.d.ts +71 -71
- package/lib/operations/workflowReverseTraffic.d.ts +71 -71
- package/lib/operations/workflowSwitchPrimaries.d.ts +71 -71
- package/lib/operations/workflowSwitchReplicas.d.ts +71 -71
- package/package.json +3 -3
- package/src/credentials.ts +2 -2
|
@@ -150,151 +150,151 @@ export type UpdateAutoDeleteBranchOutput = typeof UpdateAutoDeleteBranchOutput.T
|
|
|
150
150
|
* @param enable - Whether or not to enable auto-delete branch for the deploy request
|
|
151
151
|
*/
|
|
152
152
|
export declare const updateAutoDeleteBranch: import("@distilled.cloud/core/client").OperationMethod<{
|
|
153
|
+
readonly organization: string;
|
|
153
154
|
readonly database: string;
|
|
154
|
-
readonly enable?: boolean | undefined;
|
|
155
155
|
readonly number: number;
|
|
156
|
-
readonly
|
|
156
|
+
readonly enable?: boolean | undefined;
|
|
157
157
|
}, {
|
|
158
|
+
readonly id: string;
|
|
159
|
+
readonly number: number;
|
|
158
160
|
readonly actor: {
|
|
159
|
-
readonly
|
|
161
|
+
readonly id: string;
|
|
160
162
|
readonly display_name: string;
|
|
163
|
+
readonly avatar_url: string;
|
|
164
|
+
};
|
|
165
|
+
readonly closed_by: {
|
|
161
166
|
readonly id: string;
|
|
167
|
+
readonly display_name: string;
|
|
168
|
+
readonly avatar_url: string;
|
|
162
169
|
};
|
|
163
|
-
readonly approved: boolean;
|
|
164
170
|
readonly branch: string;
|
|
171
|
+
readonly branch_id: string;
|
|
165
172
|
readonly branch_deleted: boolean;
|
|
166
|
-
readonly branch_deleted_at: string;
|
|
167
173
|
readonly branch_deleted_by: {
|
|
168
|
-
readonly avatar_url: string;
|
|
169
|
-
readonly display_name: string;
|
|
170
174
|
readonly id: string;
|
|
171
|
-
};
|
|
172
|
-
readonly branch_id: string;
|
|
173
|
-
readonly closed_at: string;
|
|
174
|
-
readonly closed_by: {
|
|
175
|
-
readonly avatar_url: string;
|
|
176
175
|
readonly display_name: string;
|
|
177
|
-
readonly
|
|
176
|
+
readonly avatar_url: string;
|
|
178
177
|
};
|
|
179
|
-
readonly
|
|
180
|
-
readonly
|
|
178
|
+
readonly branch_deleted_at: string;
|
|
179
|
+
readonly into_branch: string;
|
|
180
|
+
readonly into_branch_sharded: boolean;
|
|
181
|
+
readonly into_branch_shard_count: number;
|
|
182
|
+
readonly approved: boolean;
|
|
183
|
+
readonly state: "closed" | "open";
|
|
184
|
+
readonly deployment_state: "cancelled" | "complete" | "complete_cancel" | "complete_error" | "complete_pending_revert" | "complete_revert" | "complete_revert_error" | "error" | "in_progress" | "in_progress_cancel" | "in_progress_cutover" | "in_progress_revert" | "in_progress_revert_vschema" | "in_progress_vschema" | "no_changes" | "pending" | "pending_cutover" | "queued" | "ready" | "submitting";
|
|
181
185
|
readonly deployment: {
|
|
182
|
-
readonly
|
|
183
|
-
readonly avatar_url: string;
|
|
184
|
-
readonly display_name: string;
|
|
185
|
-
readonly id: string;
|
|
186
|
-
};
|
|
186
|
+
readonly id: string;
|
|
187
187
|
readonly auto_cutover: boolean;
|
|
188
188
|
readonly auto_delete_branch: boolean;
|
|
189
|
-
readonly cancelled_actor: {
|
|
190
|
-
readonly avatar_url: string;
|
|
191
|
-
readonly display_name: string;
|
|
192
|
-
readonly id: string;
|
|
193
|
-
};
|
|
194
189
|
readonly created_at: string;
|
|
195
|
-
readonly cutover_actor: {
|
|
196
|
-
readonly avatar_url: string;
|
|
197
|
-
readonly display_name: string;
|
|
198
|
-
readonly id: string;
|
|
199
|
-
};
|
|
200
190
|
readonly cutover_at: string;
|
|
201
191
|
readonly cutover_expiring: boolean;
|
|
202
192
|
readonly deploy_check_errors: string;
|
|
203
|
-
readonly
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
193
|
+
readonly finished_at: string;
|
|
194
|
+
readonly queued_at: string;
|
|
195
|
+
readonly ready_to_cutover_at: string;
|
|
196
|
+
readonly started_at: string;
|
|
197
|
+
readonly state: "cancelled" | "complete" | "complete_cancel" | "complete_error" | "complete_pending_revert" | "complete_revert" | "complete_revert_error" | "error" | "in_progress" | "in_progress_cancel" | "in_progress_cutover" | "in_progress_revert" | "in_progress_revert_vschema" | "in_progress_vschema" | "no_changes" | "pending" | "pending_cutover" | "queued" | "ready" | "submitting";
|
|
198
|
+
readonly submitted_at: string;
|
|
199
|
+
readonly updated_at: string;
|
|
200
|
+
readonly into_branch: string;
|
|
201
|
+
readonly deploy_request_number: number;
|
|
202
|
+
readonly deployable: boolean;
|
|
203
|
+
readonly preceding_deployments: readonly {
|
|
204
|
+
readonly [x: string]: unknown;
|
|
205
|
+
}[];
|
|
206
|
+
readonly deploy_operations: readonly {
|
|
209
207
|
readonly id: string;
|
|
208
|
+
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
210
209
|
readonly keyspace_name: string;
|
|
210
|
+
readonly table_name: string;
|
|
211
211
|
readonly operation_name: string;
|
|
212
|
-
readonly
|
|
213
|
-
readonly eta_seconds: number;
|
|
214
|
-
readonly id: string;
|
|
215
|
-
readonly progress_percentage: number;
|
|
216
|
-
readonly shard: string;
|
|
217
|
-
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
218
|
-
}[];
|
|
212
|
+
readonly eta_seconds: number;
|
|
219
213
|
readonly progress_percentage: number;
|
|
220
|
-
readonly
|
|
221
|
-
readonly
|
|
222
|
-
readonly shard_names: readonly string[];
|
|
223
|
-
readonly sharded: boolean;
|
|
224
|
-
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
|
|
214
|
+
readonly deploy_error_docs_url: string;
|
|
215
|
+
readonly ddl_statement: string;
|
|
225
216
|
readonly syntax_highlighted_ddl: string;
|
|
226
|
-
readonly
|
|
217
|
+
readonly created_at: string;
|
|
218
|
+
readonly updated_at: string;
|
|
219
|
+
readonly throttled_at: string;
|
|
220
|
+
readonly can_drop_data: boolean;
|
|
221
|
+
readonly table_locked: boolean;
|
|
227
222
|
readonly table_recently_used: boolean;
|
|
228
223
|
readonly table_recently_used_at: string;
|
|
229
|
-
readonly
|
|
224
|
+
readonly removed_foreign_key_names: readonly string[];
|
|
225
|
+
readonly deploy_errors: string;
|
|
230
226
|
}[];
|
|
231
|
-
readonly
|
|
232
|
-
readonly
|
|
227
|
+
readonly deploy_operation_summaries: readonly {
|
|
228
|
+
readonly id: string;
|
|
233
229
|
readonly created_at: string;
|
|
234
|
-
readonly ddl_statement: string;
|
|
235
|
-
readonly deploy_error_docs_url: string;
|
|
236
230
|
readonly deploy_errors: string;
|
|
231
|
+
readonly ddl_statement: string;
|
|
237
232
|
readonly eta_seconds: number;
|
|
238
|
-
readonly id: string;
|
|
239
233
|
readonly keyspace_name: string;
|
|
240
234
|
readonly operation_name: string;
|
|
241
235
|
readonly progress_percentage: number;
|
|
242
|
-
readonly
|
|
243
|
-
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
236
|
+
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
|
|
244
237
|
readonly syntax_highlighted_ddl: string;
|
|
245
|
-
readonly table_locked: boolean;
|
|
246
238
|
readonly table_name: string;
|
|
247
|
-
readonly table_recently_used: boolean;
|
|
248
239
|
readonly table_recently_used_at: string;
|
|
249
240
|
readonly throttled_at: string;
|
|
250
|
-
readonly
|
|
241
|
+
readonly removed_foreign_key_names: readonly string[];
|
|
242
|
+
readonly shard_count: number;
|
|
243
|
+
readonly shard_names: readonly string[];
|
|
244
|
+
readonly can_drop_data: boolean;
|
|
245
|
+
readonly table_recently_used: boolean;
|
|
246
|
+
readonly sharded: boolean;
|
|
247
|
+
readonly operations: readonly {
|
|
248
|
+
readonly id: string;
|
|
249
|
+
readonly shard: string;
|
|
250
|
+
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
251
|
+
readonly progress_percentage: number;
|
|
252
|
+
readonly eta_seconds: number;
|
|
253
|
+
}[];
|
|
251
254
|
}[];
|
|
252
|
-
readonly deploy_request_number: number;
|
|
253
|
-
readonly deployable: boolean;
|
|
254
|
-
readonly deployment_revert_request: {
|
|
255
|
-
readonly [x: string]: unknown;
|
|
256
|
-
};
|
|
257
|
-
readonly finished_at: string;
|
|
258
|
-
readonly id: string;
|
|
259
|
-
readonly instant_ddl: boolean;
|
|
260
|
-
readonly instant_ddl_eligible: boolean;
|
|
261
|
-
readonly into_branch: string;
|
|
262
255
|
readonly lint_errors: readonly {
|
|
263
256
|
readonly [x: string]: unknown;
|
|
264
257
|
}[];
|
|
265
|
-
readonly
|
|
266
|
-
readonly lookup_vindex_operations: readonly {
|
|
267
|
-
readonly [x: string]: unknown;
|
|
268
|
-
}[];
|
|
269
|
-
readonly preceding_deployments: readonly {
|
|
258
|
+
readonly sequential_diff_dependencies: readonly {
|
|
270
259
|
readonly [x: string]: unknown;
|
|
271
260
|
}[];
|
|
272
|
-
readonly
|
|
273
|
-
readonly ready_to_cutover_at: string;
|
|
274
|
-
readonly schema_last_updated_at: string;
|
|
275
|
-
readonly sequential_diff_dependencies: readonly {
|
|
261
|
+
readonly lookup_vindex_operations: readonly {
|
|
276
262
|
readonly [x: string]: unknown;
|
|
277
263
|
}[];
|
|
278
|
-
readonly started_at: string;
|
|
279
|
-
readonly state: "cancelled" | "complete" | "complete_cancel" | "complete_error" | "complete_pending_revert" | "complete_revert" | "complete_revert_error" | "error" | "in_progress" | "in_progress_cancel" | "in_progress_cutover" | "in_progress_revert" | "in_progress_revert_vschema" | "in_progress_vschema" | "no_changes" | "pending" | "pending_cutover" | "queued" | "ready" | "submitting";
|
|
280
|
-
readonly submitted_at: string;
|
|
281
|
-
readonly table_locked: boolean;
|
|
282
264
|
readonly throttler_configurations: readonly {
|
|
283
265
|
readonly [x: string]: unknown;
|
|
284
266
|
}[];
|
|
285
|
-
readonly
|
|
267
|
+
readonly deployment_revert_request: {
|
|
268
|
+
readonly [x: string]: unknown;
|
|
269
|
+
};
|
|
270
|
+
readonly actor: {
|
|
271
|
+
readonly id: string;
|
|
272
|
+
readonly display_name: string;
|
|
273
|
+
readonly avatar_url: string;
|
|
274
|
+
};
|
|
275
|
+
readonly cutover_actor: {
|
|
276
|
+
readonly id: string;
|
|
277
|
+
readonly display_name: string;
|
|
278
|
+
readonly avatar_url: string;
|
|
279
|
+
};
|
|
280
|
+
readonly cancelled_actor: {
|
|
281
|
+
readonly id: string;
|
|
282
|
+
readonly display_name: string;
|
|
283
|
+
readonly avatar_url: string;
|
|
284
|
+
};
|
|
285
|
+
readonly schema_last_updated_at: string;
|
|
286
|
+
readonly table_locked: boolean;
|
|
287
|
+
readonly locked_table_name: string;
|
|
288
|
+
readonly instant_ddl: boolean;
|
|
289
|
+
readonly instant_ddl_eligible: boolean;
|
|
286
290
|
};
|
|
287
|
-
readonly
|
|
288
|
-
readonly html_body: string;
|
|
291
|
+
readonly num_comments: number;
|
|
289
292
|
readonly html_url: string;
|
|
290
|
-
readonly id: string;
|
|
291
|
-
readonly into_branch: string;
|
|
292
|
-
readonly into_branch_shard_count: number;
|
|
293
|
-
readonly into_branch_sharded: boolean;
|
|
294
293
|
readonly notes: string;
|
|
295
|
-
readonly
|
|
296
|
-
readonly
|
|
297
|
-
readonly state: "closed" | "open";
|
|
294
|
+
readonly html_body: string;
|
|
295
|
+
readonly created_at: string;
|
|
298
296
|
readonly updated_at: string;
|
|
297
|
+
readonly closed_at: string;
|
|
298
|
+
readonly deployed_at: string;
|
|
299
299
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
300
300
|
//# sourceMappingURL=updateAutoDeleteBranch.d.ts.map
|
|
@@ -80,70 +80,70 @@ export type UpdateBackupOutput = typeof UpdateBackupOutput.Type;
|
|
|
80
80
|
* @param protected - Whether the backup is protected from deletion or not
|
|
81
81
|
*/
|
|
82
82
|
export declare const updateBackup: import("@distilled.cloud/core/client").OperationMethod<{
|
|
83
|
-
readonly branch: string;
|
|
84
|
-
readonly database: string;
|
|
85
83
|
readonly id: string;
|
|
86
84
|
readonly organization: string;
|
|
85
|
+
readonly database: string;
|
|
86
|
+
readonly branch: string;
|
|
87
87
|
readonly protected?: boolean | undefined;
|
|
88
88
|
}, {
|
|
89
|
+
readonly id: string;
|
|
90
|
+
readonly name: string;
|
|
91
|
+
readonly state: "canceled" | "failed" | "ignored" | "pending" | "running" | "success";
|
|
92
|
+
readonly size: number;
|
|
93
|
+
readonly estimated_storage_cost: number;
|
|
94
|
+
readonly created_at: string;
|
|
95
|
+
readonly updated_at: string;
|
|
96
|
+
readonly started_at: string | null;
|
|
97
|
+
readonly expires_at: string | null;
|
|
98
|
+
readonly completed_at: string | null;
|
|
99
|
+
readonly deleted_at: string | null;
|
|
100
|
+
readonly pvc_size: number;
|
|
101
|
+
readonly protected: boolean;
|
|
102
|
+
readonly required: boolean;
|
|
103
|
+
readonly restored_branches: readonly {
|
|
104
|
+
readonly id: string;
|
|
105
|
+
readonly name: string;
|
|
106
|
+
readonly created_at: string;
|
|
107
|
+
readonly updated_at: string;
|
|
108
|
+
readonly deleted_at: string | null;
|
|
109
|
+
}[];
|
|
89
110
|
readonly actor: {
|
|
90
|
-
readonly avatar_url: string;
|
|
91
|
-
readonly display_name: string;
|
|
92
111
|
readonly id: string;
|
|
112
|
+
readonly display_name: string;
|
|
113
|
+
readonly avatar_url: string;
|
|
93
114
|
};
|
|
94
115
|
readonly backup_policy: {
|
|
95
|
-
readonly created_at: string;
|
|
96
|
-
readonly display_name: string;
|
|
97
|
-
readonly frequency_unit: string;
|
|
98
|
-
readonly frequency_value: number;
|
|
99
116
|
readonly id: string;
|
|
100
|
-
readonly
|
|
117
|
+
readonly display_name: string;
|
|
101
118
|
readonly name: string;
|
|
102
|
-
readonly
|
|
103
|
-
readonly required: boolean;
|
|
104
|
-
readonly retention_unit: string;
|
|
119
|
+
readonly target: "development" | "production";
|
|
105
120
|
readonly retention_value: number;
|
|
106
|
-
readonly
|
|
121
|
+
readonly retention_unit: string;
|
|
122
|
+
readonly frequency_value: number;
|
|
123
|
+
readonly frequency_unit: string;
|
|
107
124
|
readonly schedule_time: string | null;
|
|
125
|
+
readonly schedule_day: number;
|
|
108
126
|
readonly schedule_week: number;
|
|
109
|
-
readonly
|
|
127
|
+
readonly created_at: string;
|
|
110
128
|
readonly updated_at: string;
|
|
129
|
+
readonly last_ran_at: string | null;
|
|
130
|
+
readonly next_run_at: string | null;
|
|
131
|
+
readonly required: boolean;
|
|
111
132
|
} | null;
|
|
112
|
-
readonly
|
|
113
|
-
readonly created_at: string;
|
|
114
|
-
readonly database_branch: {
|
|
115
|
-
readonly created_at: string;
|
|
116
|
-
readonly deleted_at: string | null;
|
|
133
|
+
readonly schema_snapshot: {
|
|
117
134
|
readonly id: string;
|
|
118
135
|
readonly name: string;
|
|
136
|
+
readonly created_at: string;
|
|
119
137
|
readonly updated_at: string;
|
|
138
|
+
readonly linted_at: string | null;
|
|
139
|
+
readonly url: string;
|
|
120
140
|
};
|
|
121
|
-
readonly
|
|
122
|
-
readonly estimated_storage_cost: number;
|
|
123
|
-
readonly expires_at: string | null;
|
|
124
|
-
readonly id: string;
|
|
125
|
-
readonly name: string;
|
|
126
|
-
readonly protected: boolean;
|
|
127
|
-
readonly pvc_size: number;
|
|
128
|
-
readonly required: boolean;
|
|
129
|
-
readonly restored_branches: readonly {
|
|
130
|
-
readonly created_at: string;
|
|
131
|
-
readonly deleted_at: string | null;
|
|
141
|
+
readonly database_branch: {
|
|
132
142
|
readonly id: string;
|
|
133
143
|
readonly name: string;
|
|
134
|
-
readonly updated_at: string;
|
|
135
|
-
}[];
|
|
136
|
-
readonly schema_snapshot: {
|
|
137
144
|
readonly created_at: string;
|
|
138
|
-
readonly id: string;
|
|
139
|
-
readonly linted_at: string | null;
|
|
140
|
-
readonly name: string;
|
|
141
145
|
readonly updated_at: string;
|
|
142
|
-
readonly
|
|
146
|
+
readonly deleted_at: string | null;
|
|
143
147
|
};
|
|
144
|
-
readonly size: number;
|
|
145
|
-
readonly started_at: string | null;
|
|
146
|
-
readonly state: "canceled" | "failed" | "ignored" | "pending" | "running" | "success";
|
|
147
|
-
readonly updated_at: string;
|
|
148
148
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
149
149
|
//# sourceMappingURL=updateBackup.d.ts.map
|
|
@@ -51,34 +51,34 @@ export type UpdateBackupPolicyOutput = typeof UpdateBackupPolicyOutput.Type;
|
|
|
51
51
|
* @param schedule_week - Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week
|
|
52
52
|
*/
|
|
53
53
|
export declare const updateBackupPolicy: import("@distilled.cloud/core/client").OperationMethod<{
|
|
54
|
-
readonly database: string;
|
|
55
|
-
readonly frequency_unit?: "day" | "hour" | "month" | "week" | undefined;
|
|
56
|
-
readonly frequency_value?: number | undefined;
|
|
57
54
|
readonly id: string;
|
|
58
|
-
readonly name?: string | undefined;
|
|
59
55
|
readonly organization: string;
|
|
60
|
-
readonly
|
|
56
|
+
readonly database: string;
|
|
57
|
+
readonly name?: string | undefined;
|
|
58
|
+
readonly target?: "development" | "production" | undefined;
|
|
61
59
|
readonly retention_value?: number | undefined;
|
|
62
|
-
readonly
|
|
60
|
+
readonly retention_unit?: "day" | "hour" | "month" | "week" | "year" | undefined;
|
|
61
|
+
readonly frequency_value?: number | undefined;
|
|
62
|
+
readonly frequency_unit?: "day" | "hour" | "month" | "week" | undefined;
|
|
63
63
|
readonly schedule_time?: string | undefined;
|
|
64
|
+
readonly schedule_day?: number | undefined;
|
|
64
65
|
readonly schedule_week?: number | undefined;
|
|
65
|
-
readonly target?: "development" | "production" | undefined;
|
|
66
66
|
}, {
|
|
67
|
-
readonly created_at: string;
|
|
68
|
-
readonly display_name: string;
|
|
69
|
-
readonly frequency_unit: string;
|
|
70
|
-
readonly frequency_value: number;
|
|
71
67
|
readonly id: string;
|
|
72
|
-
readonly
|
|
68
|
+
readonly display_name: string;
|
|
73
69
|
readonly name: string;
|
|
74
|
-
readonly
|
|
75
|
-
readonly required: boolean;
|
|
76
|
-
readonly retention_unit: string;
|
|
70
|
+
readonly target: "development" | "production";
|
|
77
71
|
readonly retention_value: number;
|
|
78
|
-
readonly
|
|
72
|
+
readonly retention_unit: string;
|
|
73
|
+
readonly frequency_value: number;
|
|
74
|
+
readonly frequency_unit: string;
|
|
79
75
|
readonly schedule_time: string;
|
|
76
|
+
readonly schedule_day: number;
|
|
80
77
|
readonly schedule_week: number;
|
|
81
|
-
readonly
|
|
78
|
+
readonly created_at: string;
|
|
82
79
|
readonly updated_at: string;
|
|
80
|
+
readonly last_ran_at: string;
|
|
81
|
+
readonly next_run_at: string;
|
|
82
|
+
readonly required: boolean;
|
|
83
83
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
84
84
|
//# sourceMappingURL=updateBackupPolicy.d.ts.map
|
|
@@ -61,55 +61,55 @@ export type UpdateBouncerResizeRequestOutput = typeof UpdateBouncerResizeRequest
|
|
|
61
61
|
* @param parameters - Bouncer configuration parameters nested by namespace (e.g., {"pgbouncer": {"default_pool_size": "100"}}). Use the 'List cluster parameters' endpoint to retrieve available parameters. Only parameters with namespace 'pgbouncer' can be updated.
|
|
62
62
|
*/
|
|
63
63
|
export declare const updateBouncerResizeRequest: import("@distilled.cloud/core/client").OperationMethod<{
|
|
64
|
+
readonly organization: string;
|
|
65
|
+
readonly database: string;
|
|
66
|
+
readonly branch: string;
|
|
64
67
|
readonly bouncer: string;
|
|
65
68
|
readonly bouncer_size?: string | undefined;
|
|
66
|
-
readonly
|
|
67
|
-
readonly database: string;
|
|
68
|
-
readonly organization: string;
|
|
69
|
+
readonly replicas_per_cell?: number | undefined;
|
|
69
70
|
readonly parameters?: {
|
|
70
71
|
readonly [x: string]: unknown;
|
|
71
72
|
} | undefined;
|
|
72
|
-
readonly replicas_per_cell?: number | undefined;
|
|
73
73
|
}, {
|
|
74
|
-
readonly actor: {
|
|
75
|
-
readonly avatar_url: string;
|
|
76
|
-
readonly display_name: string;
|
|
77
|
-
readonly id: string;
|
|
78
|
-
};
|
|
79
|
-
readonly bouncer: {
|
|
80
|
-
readonly created_at: string;
|
|
81
|
-
readonly deleted_at: string;
|
|
82
|
-
readonly id: string;
|
|
83
|
-
readonly name: string;
|
|
84
|
-
readonly updated_at: string;
|
|
85
|
-
};
|
|
86
|
-
readonly completed_at: string;
|
|
87
|
-
readonly created_at: string;
|
|
88
74
|
readonly id: string;
|
|
75
|
+
readonly state: "canceled" | "completed" | "pending" | "resizing";
|
|
76
|
+
readonly replicas_per_cell: number;
|
|
89
77
|
readonly parameters: {
|
|
90
78
|
readonly [x: string]: unknown;
|
|
91
79
|
};
|
|
80
|
+
readonly previous_replicas_per_cell: number;
|
|
92
81
|
readonly previous_parameters: {
|
|
93
82
|
readonly [x: string]: unknown;
|
|
94
83
|
};
|
|
95
|
-
readonly
|
|
96
|
-
readonly
|
|
97
|
-
|
|
84
|
+
readonly started_at: string;
|
|
85
|
+
readonly completed_at: string;
|
|
86
|
+
readonly created_at: string;
|
|
87
|
+
readonly updated_at: string;
|
|
88
|
+
readonly actor: {
|
|
89
|
+
readonly id: string;
|
|
98
90
|
readonly display_name: string;
|
|
91
|
+
readonly avatar_url: string;
|
|
92
|
+
};
|
|
93
|
+
readonly bouncer: {
|
|
94
|
+
readonly id: string;
|
|
99
95
|
readonly name: string;
|
|
100
|
-
readonly
|
|
101
|
-
readonly
|
|
96
|
+
readonly created_at: string;
|
|
97
|
+
readonly updated_at: string;
|
|
98
|
+
readonly deleted_at: string;
|
|
102
99
|
};
|
|
103
|
-
readonly replicas_per_cell: number;
|
|
104
100
|
readonly sku: {
|
|
105
|
-
readonly
|
|
101
|
+
readonly name: string;
|
|
106
102
|
readonly display_name: string;
|
|
103
|
+
readonly cpu: string;
|
|
104
|
+
readonly ram: number;
|
|
105
|
+
readonly sort_order: number;
|
|
106
|
+
};
|
|
107
|
+
readonly previous_sku: {
|
|
107
108
|
readonly name: string;
|
|
109
|
+
readonly display_name: string;
|
|
110
|
+
readonly cpu: string;
|
|
108
111
|
readonly ram: number;
|
|
109
112
|
readonly sort_order: number;
|
|
110
113
|
};
|
|
111
|
-
readonly started_at: string;
|
|
112
|
-
readonly state: "canceled" | "completed" | "pending" | "resizing";
|
|
113
|
-
readonly updated_at: string;
|
|
114
114
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
115
115
|
//# sourceMappingURL=updateBouncerResizeRequest.d.ts.map
|
|
@@ -72,65 +72,65 @@ export type UpdateBranchOutput = typeof UpdateBranchOutput.Type;
|
|
|
72
72
|
* @param new_name - The name to update the branch
|
|
73
73
|
*/
|
|
74
74
|
export declare const updateBranch: import("@distilled.cloud/core/client").OperationMethod<{
|
|
75
|
-
readonly
|
|
75
|
+
readonly organization: string;
|
|
76
76
|
readonly database: string;
|
|
77
|
+
readonly branch: string;
|
|
77
78
|
readonly new_name: string;
|
|
78
|
-
readonly organization: string;
|
|
79
79
|
}, {
|
|
80
|
-
readonly
|
|
81
|
-
|
|
82
|
-
readonly display_name: string;
|
|
83
|
-
readonly id: string;
|
|
84
|
-
};
|
|
85
|
-
readonly cluster_iops: number | null;
|
|
86
|
-
readonly cluster_name: string;
|
|
80
|
+
readonly id: string;
|
|
81
|
+
readonly name: string;
|
|
87
82
|
readonly created_at: string;
|
|
83
|
+
readonly updated_at: string;
|
|
88
84
|
readonly deleted_at: string | null;
|
|
89
|
-
readonly
|
|
90
|
-
readonly
|
|
91
|
-
readonly has_replicas: boolean;
|
|
92
|
-
readonly html_url: string;
|
|
93
|
-
readonly id: string;
|
|
85
|
+
readonly restore_checklist_completed_at: string | null;
|
|
86
|
+
readonly schema_last_updated_at: string;
|
|
94
87
|
readonly kind: "mysql" | "postgresql";
|
|
95
|
-
readonly metal: boolean;
|
|
96
88
|
readonly mysql_address?: string | undefined;
|
|
97
89
|
readonly mysql_edge_address?: string | undefined;
|
|
98
|
-
readonly
|
|
99
|
-
readonly
|
|
100
|
-
readonly
|
|
101
|
-
readonly
|
|
90
|
+
readonly state: "awakening" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
|
|
91
|
+
readonly direct_vtgate?: boolean | undefined;
|
|
92
|
+
readonly vtgate_size?: string | undefined;
|
|
93
|
+
readonly vtgate_count?: number | undefined;
|
|
94
|
+
readonly cluster_name: string;
|
|
95
|
+
readonly cluster_iops: number | null;
|
|
102
96
|
readonly ready: boolean;
|
|
103
|
-
readonly
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
97
|
+
readonly schema_ready?: boolean | undefined;
|
|
98
|
+
readonly metal: boolean;
|
|
99
|
+
readonly production: boolean;
|
|
100
|
+
readonly safe_migrations: boolean;
|
|
101
|
+
readonly sharded?: boolean | undefined;
|
|
102
|
+
readonly shard_count?: number | undefined;
|
|
103
|
+
readonly stale_schema: boolean;
|
|
104
|
+
readonly actor: {
|
|
107
105
|
readonly id: string;
|
|
108
|
-
readonly
|
|
109
|
-
readonly
|
|
110
|
-
readonly public_ip_addresses: readonly string[];
|
|
111
|
-
readonly slug: string;
|
|
106
|
+
readonly display_name: string;
|
|
107
|
+
readonly avatar_url: string;
|
|
112
108
|
};
|
|
113
|
-
readonly restore_checklist_completed_at: string | null;
|
|
114
109
|
readonly restored_from_branch: {
|
|
115
|
-
readonly created_at: string;
|
|
116
|
-
readonly deleted_at: string;
|
|
117
110
|
readonly id: string;
|
|
118
111
|
readonly name: string;
|
|
112
|
+
readonly created_at: string;
|
|
119
113
|
readonly updated_at: string;
|
|
114
|
+
readonly deleted_at: string;
|
|
120
115
|
} | null;
|
|
121
|
-
readonly
|
|
122
|
-
readonly
|
|
123
|
-
readonly
|
|
124
|
-
readonly
|
|
125
|
-
readonly sharded?: boolean | undefined;
|
|
126
|
-
readonly stale_schema: boolean;
|
|
127
|
-
readonly state: "awakening" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
|
|
128
|
-
readonly updated_at: string;
|
|
116
|
+
readonly private_edge_connectivity: boolean;
|
|
117
|
+
readonly has_replicas: boolean;
|
|
118
|
+
readonly has_read_only_replicas: boolean;
|
|
119
|
+
readonly html_url: string;
|
|
129
120
|
readonly url: string;
|
|
130
|
-
readonly
|
|
121
|
+
readonly region: {
|
|
122
|
+
readonly id: string;
|
|
123
|
+
readonly provider: string;
|
|
124
|
+
readonly enabled: boolean;
|
|
125
|
+
readonly public_ip_addresses: readonly string[];
|
|
126
|
+
readonly display_name: string;
|
|
127
|
+
readonly location: string;
|
|
128
|
+
readonly slug: string;
|
|
129
|
+
readonly current_default: boolean;
|
|
130
|
+
};
|
|
131
|
+
readonly parent_branch: string | null;
|
|
131
132
|
readonly vtgate_options?: {
|
|
132
133
|
readonly [x: string]: unknown;
|
|
133
134
|
} | undefined;
|
|
134
|
-
readonly vtgate_size?: string | undefined;
|
|
135
135
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
136
136
|
//# sourceMappingURL=updateBranch.d.ts.map
|