@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.
Files changed (169) hide show
  1. package/lib/credentials.d.ts +1 -1
  2. package/lib/credentials.d.ts.map +1 -1
  3. package/lib/credentials.js +2 -2
  4. package/lib/credentials.js.map +1 -1
  5. package/lib/operations/addOrganizationTeamMember.d.ts +53 -53
  6. package/lib/operations/cancelBouncerResizeRequest.d.ts +3 -3
  7. package/lib/operations/cancelBranchChangeRequest.d.ts +2 -2
  8. package/lib/operations/cancelDeployRequest.d.ts +92 -92
  9. package/lib/operations/checkDeployRequestStorage.d.ts +5 -5
  10. package/lib/operations/closeDeployRequest.d.ts +92 -92
  11. package/lib/operations/completeErroredDeploy.d.ts +92 -92
  12. package/lib/operations/completeGatedDeployRequest.d.ts +92 -92
  13. package/lib/operations/completeRevert.d.ts +92 -92
  14. package/lib/operations/createBackup.d.ts +42 -42
  15. package/lib/operations/createBackupPolicy.d.ts +16 -16
  16. package/lib/operations/createBouncer.d.ts +38 -38
  17. package/lib/operations/createBranch.d.ts +43 -43
  18. package/lib/operations/createDatabase.d.ts +47 -47
  19. package/lib/operations/createDatabasePostgresCidr.d.ts +12 -12
  20. package/lib/operations/createDeployRequest.d.ts +95 -95
  21. package/lib/operations/createKeyspace.d.ts +21 -21
  22. package/lib/operations/createOauthToken.d.ts +48 -48
  23. package/lib/operations/createOrganizationTeam.d.ts +22 -22
  24. package/lib/operations/createPassword.d.ts +34 -34
  25. package/lib/operations/createQueryPatternsReport.d.ts +10 -10
  26. package/lib/operations/createRole.d.ts +28 -28
  27. package/lib/operations/createServiceToken.d.ts +46 -46
  28. package/lib/operations/createTrafficBudget.d.ts +29 -29
  29. package/lib/operations/createTrafficRule.d.ts +15 -15
  30. package/lib/operations/createWebhook.d.ts +8 -8
  31. package/lib/operations/createWorkflow.d.ts +75 -75
  32. package/lib/operations/deleteBackup.d.ts +2 -2
  33. package/lib/operations/deleteBackupPolicy.d.ts +1 -1
  34. package/lib/operations/deleteBouncer.d.ts +3 -3
  35. package/lib/operations/deleteBranch.d.ts +2 -2
  36. package/lib/operations/deleteDatabase.d.ts +1 -1
  37. package/lib/operations/deleteDatabasePostgresCidr.d.ts +1 -1
  38. package/lib/operations/deleteKeyspace.d.ts +2 -2
  39. package/lib/operations/deleteOauthToken.d.ts +1 -1
  40. package/lib/operations/deletePassword.d.ts +2 -2
  41. package/lib/operations/deleteQueryPatternsReport.d.ts +2 -2
  42. package/lib/operations/deleteRole.d.ts +2 -2
  43. package/lib/operations/deleteServiceToken.d.ts +1 -1
  44. package/lib/operations/deleteTrafficBudget.d.ts +2 -2
  45. package/lib/operations/deleteTrafficRule.d.ts +2 -2
  46. package/lib/operations/deleteWebhook.d.ts +1 -1
  47. package/lib/operations/demoteBranch.d.ts +40 -40
  48. package/lib/operations/disableSafeMigrations.d.ts +40 -40
  49. package/lib/operations/dismissSchemaRecommendation.d.ts +16 -16
  50. package/lib/operations/enableSafeMigrations.d.ts +40 -40
  51. package/lib/operations/getBackup.d.ts +41 -41
  52. package/lib/operations/getBackupPolicy.d.ts +11 -11
  53. package/lib/operations/getBouncer.d.ts +37 -37
  54. package/lib/operations/getBranch.d.ts +40 -40
  55. package/lib/operations/getBranchChangeRequest.d.ts +26 -26
  56. package/lib/operations/getBranchSchema.d.ts +3 -3
  57. package/lib/operations/getCurrentUser.d.ts +10 -10
  58. package/lib/operations/getDatabase.d.ts +43 -43
  59. package/lib/operations/getDatabasePostgresCidr.d.ts +10 -10
  60. package/lib/operations/getDatabaseThrottler.d.ts +4 -4
  61. package/lib/operations/getDefaultRole.d.ts +26 -26
  62. package/lib/operations/getDeployQueue.d.ts +74 -74
  63. package/lib/operations/getDeployRequest.d.ts +92 -92
  64. package/lib/operations/getDeployRequestThrottler.d.ts +4 -4
  65. package/lib/operations/getDeployment.d.ts +70 -70
  66. package/lib/operations/getInvoice.d.ts +5 -5
  67. package/lib/operations/getInvoiceLineItems.d.ts +11 -11
  68. package/lib/operations/getKeyspace.d.ts +20 -20
  69. package/lib/operations/getKeyspaceRolloutStatus.d.ts +5 -5
  70. package/lib/operations/getKeyspaceVschema.d.ts +2 -2
  71. package/lib/operations/getMaintenanceSchedule.d.ts +14 -14
  72. package/lib/operations/getOauthApplication.d.ts +12 -12
  73. package/lib/operations/getOauthToken.d.ts +46 -46
  74. package/lib/operations/getOrganization.d.ts +12 -12
  75. package/lib/operations/getOrganizationMembership.d.ts +14 -14
  76. package/lib/operations/getOrganizationTeam.d.ts +20 -20
  77. package/lib/operations/getOrganizationTeamMember.d.ts +54 -54
  78. package/lib/operations/getPassword.d.ts +31 -31
  79. package/lib/operations/getQueryPatternsReport.d.ts +2 -2
  80. package/lib/operations/getQueryPatternsReportStatus.d.ts +10 -10
  81. package/lib/operations/getRole.d.ts +26 -26
  82. package/lib/operations/getSchemaRecommendation.d.ts +16 -16
  83. package/lib/operations/getServiceToken.d.ts +46 -46
  84. package/lib/operations/getTrafficBudget.d.ts +24 -24
  85. package/lib/operations/getWebhook.d.ts +7 -7
  86. package/lib/operations/getWorkflow.d.ts +71 -71
  87. package/lib/operations/lintBranchSchema.d.ts +18 -18
  88. package/lib/operations/listAuditLogs.d.ts +16 -16
  89. package/lib/operations/listBackupPolicies.d.ts +15 -15
  90. package/lib/operations/listBackups.d.ts +51 -51
  91. package/lib/operations/listBouncerResizeRequests.d.ts +31 -31
  92. package/lib/operations/listBouncers.d.ts +40 -40
  93. package/lib/operations/listBranchBouncerResizeRequests.d.ts +30 -30
  94. package/lib/operations/listBranchChangeRequests.d.ts +30 -30
  95. package/lib/operations/listBranches.d.ts +46 -46
  96. package/lib/operations/listClusterSizeSkus.d.ts +12 -12
  97. package/lib/operations/listDatabasePostgresCidrs.d.ts +14 -14
  98. package/lib/operations/listDatabaseRegions.d.ts +9 -9
  99. package/lib/operations/listDatabases.d.ts +47 -47
  100. package/lib/operations/listDeployOperations.d.ts +16 -16
  101. package/lib/operations/listDeployRequestReviews.d.ts +12 -12
  102. package/lib/operations/listDeployRequests.d.ts +100 -100
  103. package/lib/operations/listExtensions.d.ts +24 -24
  104. package/lib/operations/listGeneratedQueryPatternsReports.d.ts +14 -14
  105. package/lib/operations/listInvoices.d.ts +8 -8
  106. package/lib/operations/listKeyspaces.d.ts +24 -24
  107. package/lib/operations/listMaintenanceSchedules.d.ts +18 -18
  108. package/lib/operations/listMaintenanceWindows.d.ts +8 -8
  109. package/lib/operations/listOauthApplications.d.ts +15 -15
  110. package/lib/operations/listOauthTokens.d.ts +50 -50
  111. package/lib/operations/listOrganizationMembers.d.ts +18 -18
  112. package/lib/operations/listOrganizationTeamMembers.d.ts +58 -58
  113. package/lib/operations/listOrganizationTeams.d.ts +25 -25
  114. package/lib/operations/listOrganizations.d.ts +16 -16
  115. package/lib/operations/listParameters.d.ts +18 -18
  116. package/lib/operations/listPasswords.d.ts +36 -36
  117. package/lib/operations/listPublicRegions.d.ts +7 -7
  118. package/lib/operations/listReadOnlyRegions.d.ts +17 -17
  119. package/lib/operations/listRegionsForOrganization.d.ts +8 -8
  120. package/lib/operations/listRoles.d.ts +30 -30
  121. package/lib/operations/listSchemaRecommendations.d.ts +21 -21
  122. package/lib/operations/listServiceTokens.d.ts +49 -49
  123. package/lib/operations/listTrafficBudgets.d.ts +30 -30
  124. package/lib/operations/listWebhooks.d.ts +11 -11
  125. package/lib/operations/listWorkflows.d.ts +76 -76
  126. package/lib/operations/promoteBranch.d.ts +40 -40
  127. package/lib/operations/queueDeployRequest.d.ts +93 -93
  128. package/lib/operations/reassignRoleObjects.d.ts +2 -2
  129. package/lib/operations/removeOrganizationMember.d.ts +2 -2
  130. package/lib/operations/removeOrganizationTeamMember.d.ts +2 -2
  131. package/lib/operations/renewPassword.d.ts +31 -31
  132. package/lib/operations/renewRole.d.ts +26 -26
  133. package/lib/operations/resetDefaultRole.d.ts +26 -26
  134. package/lib/operations/resetRole.d.ts +26 -26
  135. package/lib/operations/reviewDeployRequest.d.ts +9 -9
  136. package/lib/operations/skipRevertPeriod.d.ts +92 -92
  137. package/lib/operations/testWebhook.d.ts +1 -1
  138. package/lib/operations/updateAutoApply.d.ts +93 -93
  139. package/lib/operations/updateAutoDeleteBranch.d.ts +93 -93
  140. package/lib/operations/updateBackup.d.ts +41 -41
  141. package/lib/operations/updateBackupPolicy.d.ts +17 -17
  142. package/lib/operations/updateBouncerResizeRequest.d.ts +28 -28
  143. package/lib/operations/updateBranch.d.ts +40 -40
  144. package/lib/operations/updateBranchChangeRequest.d.ts +27 -27
  145. package/lib/operations/updateBranchClusterConfig.d.ts +2 -2
  146. package/lib/operations/updateDatabasePostgresCidr.d.ts +12 -12
  147. package/lib/operations/updateDatabaseSettings.d.ts +50 -50
  148. package/lib/operations/updateDatabaseThrottler.d.ts +5 -5
  149. package/lib/operations/updateDeployRequestThrottler.d.ts +5 -5
  150. package/lib/operations/updateKeyspace.d.ts +20 -20
  151. package/lib/operations/updateKeyspaceVschema.d.ts +2 -2
  152. package/lib/operations/updateOrganization.d.ts +13 -13
  153. package/lib/operations/updateOrganizationMembership.d.ts +14 -14
  154. package/lib/operations/updateOrganizationTeam.d.ts +22 -22
  155. package/lib/operations/updatePassword.d.ts +32 -32
  156. package/lib/operations/updateRole.d.ts +26 -26
  157. package/lib/operations/updateTrafficBudget.d.ts +29 -29
  158. package/lib/operations/updateWebhook.d.ts +9 -9
  159. package/lib/operations/verifyWorkflow.d.ts +71 -71
  160. package/lib/operations/workflowCancel.d.ts +71 -71
  161. package/lib/operations/workflowComplete.d.ts +71 -71
  162. package/lib/operations/workflowCutover.d.ts +71 -71
  163. package/lib/operations/workflowRetry.d.ts +71 -71
  164. package/lib/operations/workflowReverseCutover.d.ts +71 -71
  165. package/lib/operations/workflowReverseTraffic.d.ts +71 -71
  166. package/lib/operations/workflowSwitchPrimaries.d.ts +71 -71
  167. package/lib/operations/workflowSwitchReplicas.d.ts +71 -71
  168. package/package.json +3 -3
  169. package/src/credentials.ts +2 -2
@@ -148,151 +148,151 @@ export type CloseDeployRequestOutput = typeof CloseDeployRequestOutput.Type;
148
148
  * @param state - The deploy request will be updated to this state
149
149
  */
150
150
  export declare const closeDeployRequest: import("@distilled.cloud/core/client").OperationMethod<{
151
+ readonly organization: string;
151
152
  readonly database: string;
152
153
  readonly number: number;
153
- readonly organization: string;
154
154
  readonly state?: "closed" | undefined;
155
155
  }, {
156
+ readonly id: string;
157
+ readonly number: number;
156
158
  readonly actor: {
157
- readonly avatar_url: string;
159
+ readonly id: string;
158
160
  readonly display_name: string;
161
+ readonly avatar_url: string;
162
+ };
163
+ readonly closed_by: {
159
164
  readonly id: string;
165
+ readonly display_name: string;
166
+ readonly avatar_url: string;
160
167
  };
161
- readonly approved: boolean;
162
168
  readonly branch: string;
169
+ readonly branch_id: string;
163
170
  readonly branch_deleted: boolean;
164
- readonly branch_deleted_at: string;
165
171
  readonly branch_deleted_by: {
166
- readonly avatar_url: string;
167
- readonly display_name: string;
168
172
  readonly id: string;
169
- };
170
- readonly branch_id: string;
171
- readonly closed_at: string;
172
- readonly closed_by: {
173
- readonly avatar_url: string;
174
173
  readonly display_name: string;
175
- readonly id: string;
174
+ readonly avatar_url: string;
176
175
  };
177
- readonly created_at: string;
178
- readonly deployed_at: string;
176
+ readonly branch_deleted_at: string;
177
+ readonly into_branch: string;
178
+ readonly into_branch_sharded: boolean;
179
+ readonly into_branch_shard_count: number;
180
+ readonly approved: boolean;
181
+ readonly state: "closed" | "open";
182
+ 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";
179
183
  readonly deployment: {
180
- readonly actor: {
181
- readonly avatar_url: string;
182
- readonly display_name: string;
183
- readonly id: string;
184
- };
184
+ readonly id: string;
185
185
  readonly auto_cutover: boolean;
186
186
  readonly auto_delete_branch: boolean;
187
- readonly cancelled_actor: {
188
- readonly avatar_url: string;
189
- readonly display_name: string;
190
- readonly id: string;
191
- };
192
187
  readonly created_at: string;
193
- readonly cutover_actor: {
194
- readonly avatar_url: string;
195
- readonly display_name: string;
196
- readonly id: string;
197
- };
198
188
  readonly cutover_at: string;
199
189
  readonly cutover_expiring: boolean;
200
190
  readonly deploy_check_errors: string;
201
- readonly deploy_operation_summaries: readonly {
202
- readonly can_drop_data: boolean;
203
- readonly created_at: string;
204
- readonly ddl_statement: string;
205
- readonly deploy_errors: string;
206
- readonly eta_seconds: number;
191
+ readonly finished_at: string;
192
+ readonly queued_at: string;
193
+ readonly ready_to_cutover_at: string;
194
+ readonly started_at: string;
195
+ 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";
196
+ readonly submitted_at: string;
197
+ readonly updated_at: string;
198
+ readonly into_branch: string;
199
+ readonly deploy_request_number: number;
200
+ readonly deployable: boolean;
201
+ readonly preceding_deployments: readonly {
202
+ readonly [x: string]: unknown;
203
+ }[];
204
+ readonly deploy_operations: readonly {
207
205
  readonly id: string;
206
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
208
207
  readonly keyspace_name: string;
208
+ readonly table_name: string;
209
209
  readonly operation_name: string;
210
- readonly operations: readonly {
211
- readonly eta_seconds: number;
212
- readonly id: string;
213
- readonly progress_percentage: number;
214
- readonly shard: string;
215
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
216
- }[];
210
+ readonly eta_seconds: number;
217
211
  readonly progress_percentage: number;
218
- readonly removed_foreign_key_names: readonly string[];
219
- readonly shard_count: number;
220
- readonly shard_names: readonly string[];
221
- readonly sharded: boolean;
222
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
212
+ readonly deploy_error_docs_url: string;
213
+ readonly ddl_statement: string;
223
214
  readonly syntax_highlighted_ddl: string;
224
- readonly table_name: string;
215
+ readonly created_at: string;
216
+ readonly updated_at: string;
217
+ readonly throttled_at: string;
218
+ readonly can_drop_data: boolean;
219
+ readonly table_locked: boolean;
225
220
  readonly table_recently_used: boolean;
226
221
  readonly table_recently_used_at: string;
227
- readonly throttled_at: string;
222
+ readonly removed_foreign_key_names: readonly string[];
223
+ readonly deploy_errors: string;
228
224
  }[];
229
- readonly deploy_operations: readonly {
230
- readonly can_drop_data: boolean;
225
+ readonly deploy_operation_summaries: readonly {
226
+ readonly id: string;
231
227
  readonly created_at: string;
232
- readonly ddl_statement: string;
233
- readonly deploy_error_docs_url: string;
234
228
  readonly deploy_errors: string;
229
+ readonly ddl_statement: string;
235
230
  readonly eta_seconds: number;
236
- readonly id: string;
237
231
  readonly keyspace_name: string;
238
232
  readonly operation_name: string;
239
233
  readonly progress_percentage: number;
240
- readonly removed_foreign_key_names: readonly string[];
241
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
234
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
242
235
  readonly syntax_highlighted_ddl: string;
243
- readonly table_locked: boolean;
244
236
  readonly table_name: string;
245
- readonly table_recently_used: boolean;
246
237
  readonly table_recently_used_at: string;
247
238
  readonly throttled_at: string;
248
- readonly updated_at: string;
239
+ readonly removed_foreign_key_names: readonly string[];
240
+ readonly shard_count: number;
241
+ readonly shard_names: readonly string[];
242
+ readonly can_drop_data: boolean;
243
+ readonly table_recently_used: boolean;
244
+ readonly sharded: boolean;
245
+ readonly operations: readonly {
246
+ readonly id: string;
247
+ readonly shard: string;
248
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
249
+ readonly progress_percentage: number;
250
+ readonly eta_seconds: number;
251
+ }[];
249
252
  }[];
250
- readonly deploy_request_number: number;
251
- readonly deployable: boolean;
252
- readonly deployment_revert_request: {
253
- readonly [x: string]: unknown;
254
- };
255
- readonly finished_at: string;
256
- readonly id: string;
257
- readonly instant_ddl: boolean;
258
- readonly instant_ddl_eligible: boolean;
259
- readonly into_branch: string;
260
253
  readonly lint_errors: readonly {
261
254
  readonly [x: string]: unknown;
262
255
  }[];
263
- readonly locked_table_name: string;
264
- readonly lookup_vindex_operations: readonly {
265
- readonly [x: string]: unknown;
266
- }[];
267
- readonly preceding_deployments: readonly {
256
+ readonly sequential_diff_dependencies: readonly {
268
257
  readonly [x: string]: unknown;
269
258
  }[];
270
- readonly queued_at: string;
271
- readonly ready_to_cutover_at: string;
272
- readonly schema_last_updated_at: string;
273
- readonly sequential_diff_dependencies: readonly {
259
+ readonly lookup_vindex_operations: readonly {
274
260
  readonly [x: string]: unknown;
275
261
  }[];
276
- readonly started_at: string;
277
- 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";
278
- readonly submitted_at: string;
279
- readonly table_locked: boolean;
280
262
  readonly throttler_configurations: readonly {
281
263
  readonly [x: string]: unknown;
282
264
  }[];
283
- readonly updated_at: string;
265
+ readonly deployment_revert_request: {
266
+ readonly [x: string]: unknown;
267
+ };
268
+ readonly actor: {
269
+ readonly id: string;
270
+ readonly display_name: string;
271
+ readonly avatar_url: string;
272
+ };
273
+ readonly cutover_actor: {
274
+ readonly id: string;
275
+ readonly display_name: string;
276
+ readonly avatar_url: string;
277
+ };
278
+ readonly cancelled_actor: {
279
+ readonly id: string;
280
+ readonly display_name: string;
281
+ readonly avatar_url: string;
282
+ };
283
+ readonly schema_last_updated_at: string;
284
+ readonly table_locked: boolean;
285
+ readonly locked_table_name: string;
286
+ readonly instant_ddl: boolean;
287
+ readonly instant_ddl_eligible: boolean;
284
288
  };
285
- 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";
286
- readonly html_body: string;
289
+ readonly num_comments: number;
287
290
  readonly html_url: string;
288
- readonly id: string;
289
- readonly into_branch: string;
290
- readonly into_branch_shard_count: number;
291
- readonly into_branch_sharded: boolean;
292
291
  readonly notes: string;
293
- readonly num_comments: number;
294
- readonly number: number;
295
- readonly state: "closed" | "open";
292
+ readonly html_body: string;
293
+ readonly created_at: string;
296
294
  readonly updated_at: string;
295
+ readonly closed_at: string;
296
+ readonly deployed_at: string;
297
297
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
298
298
  //# sourceMappingURL=closeDeployRequest.d.ts.map
@@ -146,150 +146,150 @@ export type CompleteErroredDeployOutput = typeof CompleteErroredDeployOutput.Typ
146
146
  * @param number - The number of the deploy request
147
147
  */
148
148
  export declare const completeErroredDeploy: 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 avatar_url: string;
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 id: string;
171
+ readonly avatar_url: string;
173
172
  };
174
- readonly created_at: string;
175
- readonly deployed_at: string;
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 actor: {
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 deploy_operation_summaries: readonly {
199
- readonly can_drop_data: boolean;
200
- readonly created_at: string;
201
- readonly ddl_statement: string;
202
- readonly deploy_errors: string;
203
- readonly eta_seconds: number;
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 operations: 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 removed_foreign_key_names: readonly string[];
216
- readonly shard_count: number;
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 table_name: string;
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 throttled_at: string;
219
+ readonly removed_foreign_key_names: readonly string[];
220
+ readonly deploy_errors: string;
225
221
  }[];
226
- readonly deploy_operations: readonly {
227
- readonly can_drop_data: boolean;
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 removed_foreign_key_names: readonly string[];
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 updated_at: string;
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 locked_table_name: string;
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 queued_at: string;
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 updated_at: string;
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 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";
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 num_comments: number;
291
- readonly number: number;
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=completeErroredDeploy.d.ts.map