@distilled.cloud/planetscale 0.19.2 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/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
|
@@ -146,150 +146,150 @@ export type CompleteGatedDeployRequestOutput = typeof CompleteGatedDeployRequest
|
|
|
146
146
|
* @param number - The number of the deploy request
|
|
147
147
|
*/
|
|
148
148
|
export declare const completeGatedDeployRequest: import("@distilled.cloud/core/client").OperationMethod<{
|
|
149
|
+
readonly organization: string;
|
|
149
150
|
readonly database: string;
|
|
150
151
|
readonly number: number;
|
|
151
|
-
readonly organization: string;
|
|
152
152
|
}, {
|
|
153
|
+
readonly id: string;
|
|
154
|
+
readonly number: number;
|
|
153
155
|
readonly actor: {
|
|
154
|
-
readonly
|
|
156
|
+
readonly id: string;
|
|
155
157
|
readonly display_name: string;
|
|
158
|
+
readonly avatar_url: string;
|
|
159
|
+
};
|
|
160
|
+
readonly closed_by: {
|
|
156
161
|
readonly id: string;
|
|
162
|
+
readonly display_name: string;
|
|
163
|
+
readonly avatar_url: string;
|
|
157
164
|
};
|
|
158
|
-
readonly approved: boolean;
|
|
159
165
|
readonly branch: string;
|
|
166
|
+
readonly branch_id: string;
|
|
160
167
|
readonly branch_deleted: boolean;
|
|
161
|
-
readonly branch_deleted_at: string;
|
|
162
168
|
readonly branch_deleted_by: {
|
|
163
|
-
readonly avatar_url: string;
|
|
164
|
-
readonly display_name: string;
|
|
165
169
|
readonly id: string;
|
|
166
|
-
};
|
|
167
|
-
readonly branch_id: string;
|
|
168
|
-
readonly closed_at: string;
|
|
169
|
-
readonly closed_by: {
|
|
170
|
-
readonly avatar_url: string;
|
|
171
170
|
readonly display_name: string;
|
|
172
|
-
readonly
|
|
171
|
+
readonly avatar_url: string;
|
|
173
172
|
};
|
|
174
|
-
readonly
|
|
175
|
-
readonly
|
|
173
|
+
readonly branch_deleted_at: string;
|
|
174
|
+
readonly into_branch: string;
|
|
175
|
+
readonly into_branch_sharded: boolean;
|
|
176
|
+
readonly into_branch_shard_count: number;
|
|
177
|
+
readonly approved: boolean;
|
|
178
|
+
readonly state: "closed" | "open";
|
|
179
|
+
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";
|
|
176
180
|
readonly deployment: {
|
|
177
|
-
readonly
|
|
178
|
-
readonly avatar_url: string;
|
|
179
|
-
readonly display_name: string;
|
|
180
|
-
readonly id: string;
|
|
181
|
-
};
|
|
181
|
+
readonly id: string;
|
|
182
182
|
readonly auto_cutover: boolean;
|
|
183
183
|
readonly auto_delete_branch: boolean;
|
|
184
|
-
readonly cancelled_actor: {
|
|
185
|
-
readonly avatar_url: string;
|
|
186
|
-
readonly display_name: string;
|
|
187
|
-
readonly id: string;
|
|
188
|
-
};
|
|
189
184
|
readonly created_at: string;
|
|
190
|
-
readonly cutover_actor: {
|
|
191
|
-
readonly avatar_url: string;
|
|
192
|
-
readonly display_name: string;
|
|
193
|
-
readonly id: string;
|
|
194
|
-
};
|
|
195
185
|
readonly cutover_at: string;
|
|
196
186
|
readonly cutover_expiring: boolean;
|
|
197
187
|
readonly deploy_check_errors: string;
|
|
198
|
-
readonly
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
188
|
+
readonly finished_at: string;
|
|
189
|
+
readonly queued_at: string;
|
|
190
|
+
readonly ready_to_cutover_at: string;
|
|
191
|
+
readonly started_at: string;
|
|
192
|
+
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";
|
|
193
|
+
readonly submitted_at: string;
|
|
194
|
+
readonly updated_at: string;
|
|
195
|
+
readonly into_branch: string;
|
|
196
|
+
readonly deploy_request_number: number;
|
|
197
|
+
readonly deployable: boolean;
|
|
198
|
+
readonly preceding_deployments: readonly {
|
|
199
|
+
readonly [x: string]: unknown;
|
|
200
|
+
}[];
|
|
201
|
+
readonly deploy_operations: readonly {
|
|
204
202
|
readonly id: string;
|
|
203
|
+
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
205
204
|
readonly keyspace_name: string;
|
|
205
|
+
readonly table_name: string;
|
|
206
206
|
readonly operation_name: string;
|
|
207
|
-
readonly
|
|
208
|
-
readonly eta_seconds: number;
|
|
209
|
-
readonly id: string;
|
|
210
|
-
readonly progress_percentage: number;
|
|
211
|
-
readonly shard: string;
|
|
212
|
-
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
213
|
-
}[];
|
|
207
|
+
readonly eta_seconds: number;
|
|
214
208
|
readonly progress_percentage: number;
|
|
215
|
-
readonly
|
|
216
|
-
readonly
|
|
217
|
-
readonly shard_names: readonly string[];
|
|
218
|
-
readonly sharded: boolean;
|
|
219
|
-
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
|
|
209
|
+
readonly deploy_error_docs_url: string;
|
|
210
|
+
readonly ddl_statement: string;
|
|
220
211
|
readonly syntax_highlighted_ddl: string;
|
|
221
|
-
readonly
|
|
212
|
+
readonly created_at: string;
|
|
213
|
+
readonly updated_at: string;
|
|
214
|
+
readonly throttled_at: string;
|
|
215
|
+
readonly can_drop_data: boolean;
|
|
216
|
+
readonly table_locked: boolean;
|
|
222
217
|
readonly table_recently_used: boolean;
|
|
223
218
|
readonly table_recently_used_at: string;
|
|
224
|
-
readonly
|
|
219
|
+
readonly removed_foreign_key_names: readonly string[];
|
|
220
|
+
readonly deploy_errors: string;
|
|
225
221
|
}[];
|
|
226
|
-
readonly
|
|
227
|
-
readonly
|
|
222
|
+
readonly deploy_operation_summaries: readonly {
|
|
223
|
+
readonly id: string;
|
|
228
224
|
readonly created_at: string;
|
|
229
|
-
readonly ddl_statement: string;
|
|
230
|
-
readonly deploy_error_docs_url: string;
|
|
231
225
|
readonly deploy_errors: string;
|
|
226
|
+
readonly ddl_statement: string;
|
|
232
227
|
readonly eta_seconds: number;
|
|
233
|
-
readonly id: string;
|
|
234
228
|
readonly keyspace_name: string;
|
|
235
229
|
readonly operation_name: string;
|
|
236
230
|
readonly progress_percentage: number;
|
|
237
|
-
readonly
|
|
238
|
-
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
231
|
+
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
|
|
239
232
|
readonly syntax_highlighted_ddl: string;
|
|
240
|
-
readonly table_locked: boolean;
|
|
241
233
|
readonly table_name: string;
|
|
242
|
-
readonly table_recently_used: boolean;
|
|
243
234
|
readonly table_recently_used_at: string;
|
|
244
235
|
readonly throttled_at: string;
|
|
245
|
-
readonly
|
|
236
|
+
readonly removed_foreign_key_names: readonly string[];
|
|
237
|
+
readonly shard_count: number;
|
|
238
|
+
readonly shard_names: readonly string[];
|
|
239
|
+
readonly can_drop_data: boolean;
|
|
240
|
+
readonly table_recently_used: boolean;
|
|
241
|
+
readonly sharded: boolean;
|
|
242
|
+
readonly operations: readonly {
|
|
243
|
+
readonly id: string;
|
|
244
|
+
readonly shard: string;
|
|
245
|
+
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
246
|
+
readonly progress_percentage: number;
|
|
247
|
+
readonly eta_seconds: number;
|
|
248
|
+
}[];
|
|
246
249
|
}[];
|
|
247
|
-
readonly deploy_request_number: number;
|
|
248
|
-
readonly deployable: boolean;
|
|
249
|
-
readonly deployment_revert_request: {
|
|
250
|
-
readonly [x: string]: unknown;
|
|
251
|
-
};
|
|
252
|
-
readonly finished_at: string;
|
|
253
|
-
readonly id: string;
|
|
254
|
-
readonly instant_ddl: boolean;
|
|
255
|
-
readonly instant_ddl_eligible: boolean;
|
|
256
|
-
readonly into_branch: string;
|
|
257
250
|
readonly lint_errors: readonly {
|
|
258
251
|
readonly [x: string]: unknown;
|
|
259
252
|
}[];
|
|
260
|
-
readonly
|
|
261
|
-
readonly lookup_vindex_operations: readonly {
|
|
262
|
-
readonly [x: string]: unknown;
|
|
263
|
-
}[];
|
|
264
|
-
readonly preceding_deployments: readonly {
|
|
253
|
+
readonly sequential_diff_dependencies: readonly {
|
|
265
254
|
readonly [x: string]: unknown;
|
|
266
255
|
}[];
|
|
267
|
-
readonly
|
|
268
|
-
readonly ready_to_cutover_at: string;
|
|
269
|
-
readonly schema_last_updated_at: string;
|
|
270
|
-
readonly sequential_diff_dependencies: readonly {
|
|
256
|
+
readonly lookup_vindex_operations: readonly {
|
|
271
257
|
readonly [x: string]: unknown;
|
|
272
258
|
}[];
|
|
273
|
-
readonly started_at: string;
|
|
274
|
-
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";
|
|
275
|
-
readonly submitted_at: string;
|
|
276
|
-
readonly table_locked: boolean;
|
|
277
259
|
readonly throttler_configurations: readonly {
|
|
278
260
|
readonly [x: string]: unknown;
|
|
279
261
|
}[];
|
|
280
|
-
readonly
|
|
262
|
+
readonly deployment_revert_request: {
|
|
263
|
+
readonly [x: string]: unknown;
|
|
264
|
+
};
|
|
265
|
+
readonly actor: {
|
|
266
|
+
readonly id: string;
|
|
267
|
+
readonly display_name: string;
|
|
268
|
+
readonly avatar_url: string;
|
|
269
|
+
};
|
|
270
|
+
readonly cutover_actor: {
|
|
271
|
+
readonly id: string;
|
|
272
|
+
readonly display_name: string;
|
|
273
|
+
readonly avatar_url: string;
|
|
274
|
+
};
|
|
275
|
+
readonly cancelled_actor: {
|
|
276
|
+
readonly id: string;
|
|
277
|
+
readonly display_name: string;
|
|
278
|
+
readonly avatar_url: string;
|
|
279
|
+
};
|
|
280
|
+
readonly schema_last_updated_at: string;
|
|
281
|
+
readonly table_locked: boolean;
|
|
282
|
+
readonly locked_table_name: string;
|
|
283
|
+
readonly instant_ddl: boolean;
|
|
284
|
+
readonly instant_ddl_eligible: boolean;
|
|
281
285
|
};
|
|
282
|
-
readonly
|
|
283
|
-
readonly html_body: string;
|
|
286
|
+
readonly num_comments: number;
|
|
284
287
|
readonly html_url: string;
|
|
285
|
-
readonly id: string;
|
|
286
|
-
readonly into_branch: string;
|
|
287
|
-
readonly into_branch_shard_count: number;
|
|
288
|
-
readonly into_branch_sharded: boolean;
|
|
289
288
|
readonly notes: string;
|
|
290
|
-
readonly
|
|
291
|
-
readonly
|
|
292
|
-
readonly state: "closed" | "open";
|
|
289
|
+
readonly html_body: string;
|
|
290
|
+
readonly created_at: string;
|
|
293
291
|
readonly updated_at: string;
|
|
292
|
+
readonly closed_at: string;
|
|
293
|
+
readonly deployed_at: string;
|
|
294
294
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
295
295
|
//# sourceMappingURL=completeGatedDeployRequest.d.ts.map
|
|
@@ -146,150 +146,150 @@ export type CompleteRevertOutput = typeof CompleteRevertOutput.Type;
|
|
|
146
146
|
* @param number - The number of the deploy request
|
|
147
147
|
*/
|
|
148
148
|
export declare const completeRevert: import("@distilled.cloud/core/client").OperationMethod<{
|
|
149
|
+
readonly organization: string;
|
|
149
150
|
readonly database: string;
|
|
150
151
|
readonly number: number;
|
|
151
|
-
readonly organization: string;
|
|
152
152
|
}, {
|
|
153
|
+
readonly id: string;
|
|
154
|
+
readonly number: number;
|
|
153
155
|
readonly actor: {
|
|
154
|
-
readonly
|
|
156
|
+
readonly id: string;
|
|
155
157
|
readonly display_name: string;
|
|
158
|
+
readonly avatar_url: string;
|
|
159
|
+
};
|
|
160
|
+
readonly closed_by: {
|
|
156
161
|
readonly id: string;
|
|
162
|
+
readonly display_name: string;
|
|
163
|
+
readonly avatar_url: string;
|
|
157
164
|
};
|
|
158
|
-
readonly approved: boolean;
|
|
159
165
|
readonly branch: string;
|
|
166
|
+
readonly branch_id: string;
|
|
160
167
|
readonly branch_deleted: boolean;
|
|
161
|
-
readonly branch_deleted_at: string;
|
|
162
168
|
readonly branch_deleted_by: {
|
|
163
|
-
readonly avatar_url: string;
|
|
164
|
-
readonly display_name: string;
|
|
165
169
|
readonly id: string;
|
|
166
|
-
};
|
|
167
|
-
readonly branch_id: string;
|
|
168
|
-
readonly closed_at: string;
|
|
169
|
-
readonly closed_by: {
|
|
170
|
-
readonly avatar_url: string;
|
|
171
170
|
readonly display_name: string;
|
|
172
|
-
readonly
|
|
171
|
+
readonly avatar_url: string;
|
|
173
172
|
};
|
|
174
|
-
readonly
|
|
175
|
-
readonly
|
|
173
|
+
readonly branch_deleted_at: string;
|
|
174
|
+
readonly into_branch: string;
|
|
175
|
+
readonly into_branch_sharded: boolean;
|
|
176
|
+
readonly into_branch_shard_count: number;
|
|
177
|
+
readonly approved: boolean;
|
|
178
|
+
readonly state: "closed" | "open";
|
|
179
|
+
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";
|
|
176
180
|
readonly deployment: {
|
|
177
|
-
readonly
|
|
178
|
-
readonly avatar_url: string;
|
|
179
|
-
readonly display_name: string;
|
|
180
|
-
readonly id: string;
|
|
181
|
-
};
|
|
181
|
+
readonly id: string;
|
|
182
182
|
readonly auto_cutover: boolean;
|
|
183
183
|
readonly auto_delete_branch: boolean;
|
|
184
|
-
readonly cancelled_actor: {
|
|
185
|
-
readonly avatar_url: string;
|
|
186
|
-
readonly display_name: string;
|
|
187
|
-
readonly id: string;
|
|
188
|
-
};
|
|
189
184
|
readonly created_at: string;
|
|
190
|
-
readonly cutover_actor: {
|
|
191
|
-
readonly avatar_url: string;
|
|
192
|
-
readonly display_name: string;
|
|
193
|
-
readonly id: string;
|
|
194
|
-
};
|
|
195
185
|
readonly cutover_at: string;
|
|
196
186
|
readonly cutover_expiring: boolean;
|
|
197
187
|
readonly deploy_check_errors: string;
|
|
198
|
-
readonly
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
188
|
+
readonly finished_at: string;
|
|
189
|
+
readonly queued_at: string;
|
|
190
|
+
readonly ready_to_cutover_at: string;
|
|
191
|
+
readonly started_at: string;
|
|
192
|
+
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";
|
|
193
|
+
readonly submitted_at: string;
|
|
194
|
+
readonly updated_at: string;
|
|
195
|
+
readonly into_branch: string;
|
|
196
|
+
readonly deploy_request_number: number;
|
|
197
|
+
readonly deployable: boolean;
|
|
198
|
+
readonly preceding_deployments: readonly {
|
|
199
|
+
readonly [x: string]: unknown;
|
|
200
|
+
}[];
|
|
201
|
+
readonly deploy_operations: readonly {
|
|
204
202
|
readonly id: string;
|
|
203
|
+
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
205
204
|
readonly keyspace_name: string;
|
|
205
|
+
readonly table_name: string;
|
|
206
206
|
readonly operation_name: string;
|
|
207
|
-
readonly
|
|
208
|
-
readonly eta_seconds: number;
|
|
209
|
-
readonly id: string;
|
|
210
|
-
readonly progress_percentage: number;
|
|
211
|
-
readonly shard: string;
|
|
212
|
-
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
213
|
-
}[];
|
|
207
|
+
readonly eta_seconds: number;
|
|
214
208
|
readonly progress_percentage: number;
|
|
215
|
-
readonly
|
|
216
|
-
readonly
|
|
217
|
-
readonly shard_names: readonly string[];
|
|
218
|
-
readonly sharded: boolean;
|
|
219
|
-
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
|
|
209
|
+
readonly deploy_error_docs_url: string;
|
|
210
|
+
readonly ddl_statement: string;
|
|
220
211
|
readonly syntax_highlighted_ddl: string;
|
|
221
|
-
readonly
|
|
212
|
+
readonly created_at: string;
|
|
213
|
+
readonly updated_at: string;
|
|
214
|
+
readonly throttled_at: string;
|
|
215
|
+
readonly can_drop_data: boolean;
|
|
216
|
+
readonly table_locked: boolean;
|
|
222
217
|
readonly table_recently_used: boolean;
|
|
223
218
|
readonly table_recently_used_at: string;
|
|
224
|
-
readonly
|
|
219
|
+
readonly removed_foreign_key_names: readonly string[];
|
|
220
|
+
readonly deploy_errors: string;
|
|
225
221
|
}[];
|
|
226
|
-
readonly
|
|
227
|
-
readonly
|
|
222
|
+
readonly deploy_operation_summaries: readonly {
|
|
223
|
+
readonly id: string;
|
|
228
224
|
readonly created_at: string;
|
|
229
|
-
readonly ddl_statement: string;
|
|
230
|
-
readonly deploy_error_docs_url: string;
|
|
231
225
|
readonly deploy_errors: string;
|
|
226
|
+
readonly ddl_statement: string;
|
|
232
227
|
readonly eta_seconds: number;
|
|
233
|
-
readonly id: string;
|
|
234
228
|
readonly keyspace_name: string;
|
|
235
229
|
readonly operation_name: string;
|
|
236
230
|
readonly progress_percentage: number;
|
|
237
|
-
readonly
|
|
238
|
-
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
231
|
+
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
|
|
239
232
|
readonly syntax_highlighted_ddl: string;
|
|
240
|
-
readonly table_locked: boolean;
|
|
241
233
|
readonly table_name: string;
|
|
242
|
-
readonly table_recently_used: boolean;
|
|
243
234
|
readonly table_recently_used_at: string;
|
|
244
235
|
readonly throttled_at: string;
|
|
245
|
-
readonly
|
|
236
|
+
readonly removed_foreign_key_names: readonly string[];
|
|
237
|
+
readonly shard_count: number;
|
|
238
|
+
readonly shard_names: readonly string[];
|
|
239
|
+
readonly can_drop_data: boolean;
|
|
240
|
+
readonly table_recently_used: boolean;
|
|
241
|
+
readonly sharded: boolean;
|
|
242
|
+
readonly operations: readonly {
|
|
243
|
+
readonly id: string;
|
|
244
|
+
readonly shard: string;
|
|
245
|
+
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
246
|
+
readonly progress_percentage: number;
|
|
247
|
+
readonly eta_seconds: number;
|
|
248
|
+
}[];
|
|
246
249
|
}[];
|
|
247
|
-
readonly deploy_request_number: number;
|
|
248
|
-
readonly deployable: boolean;
|
|
249
|
-
readonly deployment_revert_request: {
|
|
250
|
-
readonly [x: string]: unknown;
|
|
251
|
-
};
|
|
252
|
-
readonly finished_at: string;
|
|
253
|
-
readonly id: string;
|
|
254
|
-
readonly instant_ddl: boolean;
|
|
255
|
-
readonly instant_ddl_eligible: boolean;
|
|
256
|
-
readonly into_branch: string;
|
|
257
250
|
readonly lint_errors: readonly {
|
|
258
251
|
readonly [x: string]: unknown;
|
|
259
252
|
}[];
|
|
260
|
-
readonly
|
|
261
|
-
readonly lookup_vindex_operations: readonly {
|
|
262
|
-
readonly [x: string]: unknown;
|
|
263
|
-
}[];
|
|
264
|
-
readonly preceding_deployments: readonly {
|
|
253
|
+
readonly sequential_diff_dependencies: readonly {
|
|
265
254
|
readonly [x: string]: unknown;
|
|
266
255
|
}[];
|
|
267
|
-
readonly
|
|
268
|
-
readonly ready_to_cutover_at: string;
|
|
269
|
-
readonly schema_last_updated_at: string;
|
|
270
|
-
readonly sequential_diff_dependencies: readonly {
|
|
256
|
+
readonly lookup_vindex_operations: readonly {
|
|
271
257
|
readonly [x: string]: unknown;
|
|
272
258
|
}[];
|
|
273
|
-
readonly started_at: string;
|
|
274
|
-
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";
|
|
275
|
-
readonly submitted_at: string;
|
|
276
|
-
readonly table_locked: boolean;
|
|
277
259
|
readonly throttler_configurations: readonly {
|
|
278
260
|
readonly [x: string]: unknown;
|
|
279
261
|
}[];
|
|
280
|
-
readonly
|
|
262
|
+
readonly deployment_revert_request: {
|
|
263
|
+
readonly [x: string]: unknown;
|
|
264
|
+
};
|
|
265
|
+
readonly actor: {
|
|
266
|
+
readonly id: string;
|
|
267
|
+
readonly display_name: string;
|
|
268
|
+
readonly avatar_url: string;
|
|
269
|
+
};
|
|
270
|
+
readonly cutover_actor: {
|
|
271
|
+
readonly id: string;
|
|
272
|
+
readonly display_name: string;
|
|
273
|
+
readonly avatar_url: string;
|
|
274
|
+
};
|
|
275
|
+
readonly cancelled_actor: {
|
|
276
|
+
readonly id: string;
|
|
277
|
+
readonly display_name: string;
|
|
278
|
+
readonly avatar_url: string;
|
|
279
|
+
};
|
|
280
|
+
readonly schema_last_updated_at: string;
|
|
281
|
+
readonly table_locked: boolean;
|
|
282
|
+
readonly locked_table_name: string;
|
|
283
|
+
readonly instant_ddl: boolean;
|
|
284
|
+
readonly instant_ddl_eligible: boolean;
|
|
281
285
|
};
|
|
282
|
-
readonly
|
|
283
|
-
readonly html_body: string;
|
|
286
|
+
readonly num_comments: number;
|
|
284
287
|
readonly html_url: string;
|
|
285
|
-
readonly id: string;
|
|
286
|
-
readonly into_branch: string;
|
|
287
|
-
readonly into_branch_shard_count: number;
|
|
288
|
-
readonly into_branch_sharded: boolean;
|
|
289
288
|
readonly notes: string;
|
|
290
|
-
readonly
|
|
291
|
-
readonly
|
|
292
|
-
readonly state: "closed" | "open";
|
|
289
|
+
readonly html_body: string;
|
|
290
|
+
readonly created_at: string;
|
|
293
291
|
readonly updated_at: string;
|
|
292
|
+
readonly closed_at: string;
|
|
293
|
+
readonly deployed_at: string;
|
|
294
294
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
295
295
|
//# sourceMappingURL=completeRevert.d.ts.map
|
|
@@ -84,72 +84,72 @@ export type CreateBackupOutput = typeof CreateBackupOutput.Type;
|
|
|
84
84
|
* @param emergency - Whether the backup is an immediate backup that may affect database performance. Emergency backups are only supported for PostgreSQL databases.
|
|
85
85
|
*/
|
|
86
86
|
export declare const createBackup: import("@distilled.cloud/core/client").OperationMethod<{
|
|
87
|
-
readonly
|
|
87
|
+
readonly organization: string;
|
|
88
88
|
readonly database: string;
|
|
89
|
-
readonly
|
|
89
|
+
readonly branch: string;
|
|
90
90
|
readonly name?: string | undefined;
|
|
91
|
-
readonly organization: string;
|
|
92
91
|
readonly retention_unit?: "day" | "hour" | "month" | "week" | "year" | undefined;
|
|
93
92
|
readonly retention_value?: number | undefined;
|
|
93
|
+
readonly emergency?: boolean | undefined;
|
|
94
94
|
}, {
|
|
95
|
+
readonly id: string;
|
|
96
|
+
readonly name: string;
|
|
97
|
+
readonly state: "canceled" | "failed" | "ignored" | "pending" | "running" | "success";
|
|
98
|
+
readonly size: number;
|
|
99
|
+
readonly estimated_storage_cost: number;
|
|
100
|
+
readonly created_at: string;
|
|
101
|
+
readonly updated_at: string;
|
|
102
|
+
readonly started_at: string | null;
|
|
103
|
+
readonly expires_at: string | null;
|
|
104
|
+
readonly completed_at: string | null;
|
|
105
|
+
readonly deleted_at: string | null;
|
|
106
|
+
readonly pvc_size: number;
|
|
107
|
+
readonly protected: boolean;
|
|
108
|
+
readonly required: boolean;
|
|
109
|
+
readonly restored_branches: readonly {
|
|
110
|
+
readonly id: string;
|
|
111
|
+
readonly name: string;
|
|
112
|
+
readonly created_at: string;
|
|
113
|
+
readonly updated_at: string;
|
|
114
|
+
readonly deleted_at: string | null;
|
|
115
|
+
}[];
|
|
95
116
|
readonly actor: {
|
|
96
|
-
readonly avatar_url: string;
|
|
97
|
-
readonly display_name: string;
|
|
98
117
|
readonly id: string;
|
|
118
|
+
readonly display_name: string;
|
|
119
|
+
readonly avatar_url: string;
|
|
99
120
|
};
|
|
100
121
|
readonly backup_policy: {
|
|
101
|
-
readonly created_at: string;
|
|
102
|
-
readonly display_name: string;
|
|
103
|
-
readonly frequency_unit: string;
|
|
104
|
-
readonly frequency_value: number;
|
|
105
122
|
readonly id: string;
|
|
106
|
-
readonly
|
|
123
|
+
readonly display_name: string;
|
|
107
124
|
readonly name: string;
|
|
108
|
-
readonly
|
|
109
|
-
readonly required: boolean;
|
|
110
|
-
readonly retention_unit: string;
|
|
125
|
+
readonly target: "development" | "production";
|
|
111
126
|
readonly retention_value: number;
|
|
112
|
-
readonly
|
|
127
|
+
readonly retention_unit: string;
|
|
128
|
+
readonly frequency_value: number;
|
|
129
|
+
readonly frequency_unit: string;
|
|
113
130
|
readonly schedule_time: string | null;
|
|
131
|
+
readonly schedule_day: number;
|
|
114
132
|
readonly schedule_week: number;
|
|
115
|
-
readonly
|
|
133
|
+
readonly created_at: string;
|
|
116
134
|
readonly updated_at: string;
|
|
135
|
+
readonly last_ran_at: string | null;
|
|
136
|
+
readonly next_run_at: string | null;
|
|
137
|
+
readonly required: boolean;
|
|
117
138
|
} | null;
|
|
118
|
-
readonly
|
|
119
|
-
readonly created_at: string;
|
|
120
|
-
readonly database_branch: {
|
|
121
|
-
readonly created_at: string;
|
|
122
|
-
readonly deleted_at: string | null;
|
|
139
|
+
readonly schema_snapshot: {
|
|
123
140
|
readonly id: string;
|
|
124
141
|
readonly name: string;
|
|
142
|
+
readonly created_at: string;
|
|
125
143
|
readonly updated_at: string;
|
|
144
|
+
readonly linted_at: string | null;
|
|
145
|
+
readonly url: string;
|
|
126
146
|
};
|
|
127
|
-
readonly
|
|
128
|
-
readonly estimated_storage_cost: number;
|
|
129
|
-
readonly expires_at: string | null;
|
|
130
|
-
readonly id: string;
|
|
131
|
-
readonly name: string;
|
|
132
|
-
readonly protected: boolean;
|
|
133
|
-
readonly pvc_size: number;
|
|
134
|
-
readonly required: boolean;
|
|
135
|
-
readonly restored_branches: readonly {
|
|
136
|
-
readonly created_at: string;
|
|
137
|
-
readonly deleted_at: string | null;
|
|
147
|
+
readonly database_branch: {
|
|
138
148
|
readonly id: string;
|
|
139
149
|
readonly name: string;
|
|
140
|
-
readonly updated_at: string;
|
|
141
|
-
}[];
|
|
142
|
-
readonly schema_snapshot: {
|
|
143
150
|
readonly created_at: string;
|
|
144
|
-
readonly id: string;
|
|
145
|
-
readonly linted_at: string | null;
|
|
146
|
-
readonly name: string;
|
|
147
151
|
readonly updated_at: string;
|
|
148
|
-
readonly
|
|
152
|
+
readonly deleted_at: string | null;
|
|
149
153
|
};
|
|
150
|
-
readonly size: number;
|
|
151
|
-
readonly started_at: string | null;
|
|
152
|
-
readonly state: "canceled" | "failed" | "ignored" | "pending" | "running" | "success";
|
|
153
|
-
readonly updated_at: string;
|
|
154
154
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
155
155
|
//# sourceMappingURL=createBackup.d.ts.map
|
|
@@ -49,33 +49,33 @@ export type CreateBackupPolicyOutput = typeof CreateBackupPolicyOutput.Type;
|
|
|
49
49
|
* @param schedule_week - Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week
|
|
50
50
|
*/
|
|
51
51
|
export declare const createBackupPolicy: import("@distilled.cloud/core/client").OperationMethod<{
|
|
52
|
+
readonly organization: string;
|
|
52
53
|
readonly database: string;
|
|
53
|
-
readonly frequency_unit?: "day" | "hour" | "month" | "week" | undefined;
|
|
54
|
-
readonly frequency_value?: number | undefined;
|
|
55
54
|
readonly name?: string | undefined;
|
|
56
|
-
readonly
|
|
57
|
-
readonly retention_unit?: "day" | "hour" | "month" | "week" | "year" | undefined;
|
|
55
|
+
readonly target?: "development" | "production" | undefined;
|
|
58
56
|
readonly retention_value?: number | undefined;
|
|
59
|
-
readonly
|
|
57
|
+
readonly retention_unit?: "day" | "hour" | "month" | "week" | "year" | undefined;
|
|
58
|
+
readonly frequency_value?: number | undefined;
|
|
59
|
+
readonly frequency_unit?: "day" | "hour" | "month" | "week" | undefined;
|
|
60
60
|
readonly schedule_time?: string | undefined;
|
|
61
|
+
readonly schedule_day?: number | undefined;
|
|
61
62
|
readonly schedule_week?: number | undefined;
|
|
62
|
-
readonly target?: "development" | "production" | undefined;
|
|
63
63
|
}, {
|
|
64
|
-
readonly created_at: string;
|
|
65
|
-
readonly display_name: string;
|
|
66
|
-
readonly frequency_unit: string;
|
|
67
|
-
readonly frequency_value: number;
|
|
68
64
|
readonly id: string;
|
|
69
|
-
readonly
|
|
65
|
+
readonly display_name: string;
|
|
70
66
|
readonly name: string;
|
|
71
|
-
readonly
|
|
72
|
-
readonly required: boolean;
|
|
73
|
-
readonly retention_unit: string;
|
|
67
|
+
readonly target: "development" | "production";
|
|
74
68
|
readonly retention_value: number;
|
|
75
|
-
readonly
|
|
69
|
+
readonly retention_unit: string;
|
|
70
|
+
readonly frequency_value: number;
|
|
71
|
+
readonly frequency_unit: string;
|
|
76
72
|
readonly schedule_time: string;
|
|
73
|
+
readonly schedule_day: number;
|
|
77
74
|
readonly schedule_week: number;
|
|
78
|
-
readonly
|
|
75
|
+
readonly created_at: string;
|
|
79
76
|
readonly updated_at: string;
|
|
77
|
+
readonly last_ran_at: string;
|
|
78
|
+
readonly next_run_at: string;
|
|
79
|
+
readonly required: boolean;
|
|
80
80
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
81
81
|
//# sourceMappingURL=createBackupPolicy.d.ts.map
|