@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,150 +148,150 @@ export type SkipRevertPeriodOutput = typeof SkipRevertPeriodOutput.Type;
148
148
  * @param number - The number of the deploy request
149
149
  */
150
150
  export declare const skipRevertPeriod: 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
  }, {
155
+ readonly id: string;
156
+ readonly number: number;
155
157
  readonly actor: {
156
- readonly avatar_url: string;
158
+ readonly id: string;
157
159
  readonly display_name: string;
160
+ readonly avatar_url: string;
161
+ };
162
+ readonly closed_by: {
158
163
  readonly id: string;
164
+ readonly display_name: string;
165
+ readonly avatar_url: string;
159
166
  };
160
- readonly approved: boolean;
161
167
  readonly branch: string;
168
+ readonly branch_id: string;
162
169
  readonly branch_deleted: boolean;
163
- readonly branch_deleted_at: string;
164
170
  readonly branch_deleted_by: {
165
- readonly avatar_url: string;
166
- readonly display_name: string;
167
171
  readonly id: string;
168
- };
169
- readonly branch_id: string;
170
- readonly closed_at: string;
171
- readonly closed_by: {
172
- readonly avatar_url: string;
173
172
  readonly display_name: string;
174
- readonly id: string;
173
+ readonly avatar_url: string;
175
174
  };
176
- readonly created_at: string;
177
- readonly deployed_at: string;
175
+ readonly branch_deleted_at: string;
176
+ readonly into_branch: string;
177
+ readonly into_branch_sharded: boolean;
178
+ readonly into_branch_shard_count: number;
179
+ readonly approved: boolean;
180
+ readonly state: "closed" | "open";
181
+ 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";
178
182
  readonly deployment: {
179
- readonly actor: {
180
- readonly avatar_url: string;
181
- readonly display_name: string;
182
- readonly id: string;
183
- };
183
+ readonly id: string;
184
184
  readonly auto_cutover: boolean;
185
185
  readonly auto_delete_branch: boolean;
186
- readonly cancelled_actor: {
187
- readonly avatar_url: string;
188
- readonly display_name: string;
189
- readonly id: string;
190
- };
191
186
  readonly created_at: string;
192
- readonly cutover_actor: {
193
- readonly avatar_url: string;
194
- readonly display_name: string;
195
- readonly id: string;
196
- };
197
187
  readonly cutover_at: string;
198
188
  readonly cutover_expiring: boolean;
199
189
  readonly deploy_check_errors: string;
200
- readonly deploy_operation_summaries: readonly {
201
- readonly can_drop_data: boolean;
202
- readonly created_at: string;
203
- readonly ddl_statement: string;
204
- readonly deploy_errors: string;
205
- readonly eta_seconds: number;
190
+ readonly finished_at: string;
191
+ readonly queued_at: string;
192
+ readonly ready_to_cutover_at: string;
193
+ readonly started_at: string;
194
+ 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";
195
+ readonly submitted_at: string;
196
+ readonly updated_at: string;
197
+ readonly into_branch: string;
198
+ readonly deploy_request_number: number;
199
+ readonly deployable: boolean;
200
+ readonly preceding_deployments: readonly {
201
+ readonly [x: string]: unknown;
202
+ }[];
203
+ readonly deploy_operations: readonly {
206
204
  readonly id: string;
205
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
207
206
  readonly keyspace_name: string;
207
+ readonly table_name: string;
208
208
  readonly operation_name: string;
209
- readonly operations: readonly {
210
- readonly eta_seconds: number;
211
- readonly id: string;
212
- readonly progress_percentage: number;
213
- readonly shard: string;
214
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
215
- }[];
209
+ readonly eta_seconds: number;
216
210
  readonly progress_percentage: number;
217
- readonly removed_foreign_key_names: readonly string[];
218
- readonly shard_count: number;
219
- readonly shard_names: readonly string[];
220
- readonly sharded: boolean;
221
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
211
+ readonly deploy_error_docs_url: string;
212
+ readonly ddl_statement: string;
222
213
  readonly syntax_highlighted_ddl: string;
223
- readonly table_name: string;
214
+ readonly created_at: string;
215
+ readonly updated_at: string;
216
+ readonly throttled_at: string;
217
+ readonly can_drop_data: boolean;
218
+ readonly table_locked: boolean;
224
219
  readonly table_recently_used: boolean;
225
220
  readonly table_recently_used_at: string;
226
- readonly throttled_at: string;
221
+ readonly removed_foreign_key_names: readonly string[];
222
+ readonly deploy_errors: string;
227
223
  }[];
228
- readonly deploy_operations: readonly {
229
- readonly can_drop_data: boolean;
224
+ readonly deploy_operation_summaries: readonly {
225
+ readonly id: string;
230
226
  readonly created_at: string;
231
- readonly ddl_statement: string;
232
- readonly deploy_error_docs_url: string;
233
227
  readonly deploy_errors: string;
228
+ readonly ddl_statement: string;
234
229
  readonly eta_seconds: number;
235
- readonly id: string;
236
230
  readonly keyspace_name: string;
237
231
  readonly operation_name: string;
238
232
  readonly progress_percentage: number;
239
- readonly removed_foreign_key_names: readonly string[];
240
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
233
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
241
234
  readonly syntax_highlighted_ddl: string;
242
- readonly table_locked: boolean;
243
235
  readonly table_name: string;
244
- readonly table_recently_used: boolean;
245
236
  readonly table_recently_used_at: string;
246
237
  readonly throttled_at: string;
247
- readonly updated_at: string;
238
+ readonly removed_foreign_key_names: readonly string[];
239
+ readonly shard_count: number;
240
+ readonly shard_names: readonly string[];
241
+ readonly can_drop_data: boolean;
242
+ readonly table_recently_used: boolean;
243
+ readonly sharded: boolean;
244
+ readonly operations: readonly {
245
+ readonly id: string;
246
+ readonly shard: string;
247
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
248
+ readonly progress_percentage: number;
249
+ readonly eta_seconds: number;
250
+ }[];
248
251
  }[];
249
- readonly deploy_request_number: number;
250
- readonly deployable: boolean;
251
- readonly deployment_revert_request: {
252
- readonly [x: string]: unknown;
253
- };
254
- readonly finished_at: string;
255
- readonly id: string;
256
- readonly instant_ddl: boolean;
257
- readonly instant_ddl_eligible: boolean;
258
- readonly into_branch: string;
259
252
  readonly lint_errors: readonly {
260
253
  readonly [x: string]: unknown;
261
254
  }[];
262
- readonly locked_table_name: string;
263
- readonly lookup_vindex_operations: readonly {
264
- readonly [x: string]: unknown;
265
- }[];
266
- readonly preceding_deployments: readonly {
255
+ readonly sequential_diff_dependencies: readonly {
267
256
  readonly [x: string]: unknown;
268
257
  }[];
269
- readonly queued_at: string;
270
- readonly ready_to_cutover_at: string;
271
- readonly schema_last_updated_at: string;
272
- readonly sequential_diff_dependencies: readonly {
258
+ readonly lookup_vindex_operations: readonly {
273
259
  readonly [x: string]: unknown;
274
260
  }[];
275
- readonly started_at: string;
276
- 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";
277
- readonly submitted_at: string;
278
- readonly table_locked: boolean;
279
261
  readonly throttler_configurations: readonly {
280
262
  readonly [x: string]: unknown;
281
263
  }[];
282
- readonly updated_at: string;
264
+ readonly deployment_revert_request: {
265
+ readonly [x: string]: unknown;
266
+ };
267
+ readonly actor: {
268
+ readonly id: string;
269
+ readonly display_name: string;
270
+ readonly avatar_url: string;
271
+ };
272
+ readonly cutover_actor: {
273
+ readonly id: string;
274
+ readonly display_name: string;
275
+ readonly avatar_url: string;
276
+ };
277
+ readonly cancelled_actor: {
278
+ readonly id: string;
279
+ readonly display_name: string;
280
+ readonly avatar_url: string;
281
+ };
282
+ readonly schema_last_updated_at: string;
283
+ readonly table_locked: boolean;
284
+ readonly locked_table_name: string;
285
+ readonly instant_ddl: boolean;
286
+ readonly instant_ddl_eligible: boolean;
283
287
  };
284
- 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";
285
- readonly html_body: string;
288
+ readonly num_comments: number;
286
289
  readonly html_url: string;
287
- readonly id: string;
288
- readonly into_branch: string;
289
- readonly into_branch_shard_count: number;
290
- readonly into_branch_sharded: boolean;
291
290
  readonly notes: string;
292
- readonly num_comments: number;
293
- readonly number: number;
294
- readonly state: "closed" | "open";
291
+ readonly html_body: string;
292
+ readonly created_at: string;
295
293
  readonly updated_at: string;
294
+ readonly closed_at: string;
295
+ readonly deployed_at: string;
296
296
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
297
297
  //# sourceMappingURL=skipRevertPeriod.d.ts.map
@@ -18,8 +18,8 @@ export type TestWebhookOutput = typeof TestWebhookOutput.Type;
18
18
  * @param id - The ID of the webhook
19
19
  */
20
20
  export declare const testWebhook: import("@distilled.cloud/core/client").OperationMethod<{
21
+ readonly organization: string;
21
22
  readonly database: string;
22
23
  readonly id: string;
23
- readonly organization: string;
24
24
  }, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
25
25
  //# sourceMappingURL=testWebhook.d.ts.map
@@ -150,151 +150,151 @@ export type UpdateAutoApplyOutput = typeof UpdateAutoApplyOutput.Type;
150
150
  * @param enable - Whether or not to enable auto-apply for the deploy request
151
151
  */
152
152
  export declare const updateAutoApply: 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 organization: string;
156
+ readonly enable?: boolean | undefined;
157
157
  }, {
158
+ readonly id: string;
159
+ readonly number: number;
158
160
  readonly actor: {
159
- readonly avatar_url: string;
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 id: string;
176
+ readonly avatar_url: string;
178
177
  };
179
- readonly created_at: string;
180
- readonly deployed_at: string;
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 actor: {
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 deploy_operation_summaries: readonly {
204
- readonly can_drop_data: boolean;
205
- readonly created_at: string;
206
- readonly ddl_statement: string;
207
- readonly deploy_errors: string;
208
- readonly eta_seconds: number;
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 operations: 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 removed_foreign_key_names: readonly string[];
221
- readonly shard_count: number;
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 table_name: string;
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 throttled_at: string;
224
+ readonly removed_foreign_key_names: readonly string[];
225
+ readonly deploy_errors: string;
230
226
  }[];
231
- readonly deploy_operations: readonly {
232
- readonly can_drop_data: boolean;
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 removed_foreign_key_names: readonly string[];
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 updated_at: string;
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 locked_table_name: string;
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 queued_at: string;
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 updated_at: string;
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 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";
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 num_comments: number;
296
- readonly number: number;
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=updateAutoApply.d.ts.map