@distilled.cloud/planetscale 0.19.1 → 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.
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
@@ -146,150 +146,150 @@ export type GetDeployRequestOutput = typeof GetDeployRequestOutput.Type;
146
146
  * @param number - The number of the deploy request
147
147
  */
148
148
  export declare const getDeployRequest: 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=getDeployRequest.d.ts.map
@@ -29,21 +29,21 @@ export type GetDeployRequestThrottlerOutput = typeof GetDeployRequestThrottlerOu
29
29
  * @param number - The number of the deploy request
30
30
  */
31
31
  export declare const getDeployRequestThrottler: import("@distilled.cloud/core/client").OperationMethod<{
32
+ readonly organization: string;
32
33
  readonly database: string;
33
34
  readonly number: number;
34
- readonly organization: string;
35
35
  }, {
36
+ readonly keyspaces: readonly string[];
36
37
  readonly configurable: {
37
- readonly created_at: string;
38
- readonly deleted_at: string;
39
38
  readonly id: string;
40
39
  readonly name: string;
40
+ readonly created_at: string;
41
41
  readonly updated_at: string;
42
+ readonly deleted_at: string;
42
43
  };
43
44
  readonly configurations: readonly {
44
45
  readonly keyspace_name: string;
45
46
  readonly ratio: number;
46
47
  }[];
47
- readonly keyspaces: readonly string[];
48
48
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
49
49
  //# sourceMappingURL=getDeployRequestThrottler.d.ts.map
@@ -111,113 +111,113 @@ export type GetDeploymentOutput = typeof GetDeploymentOutput.Type;
111
111
  * @param number - The number of the deploy request
112
112
  */
113
113
  export declare const getDeployment: import("@distilled.cloud/core/client").OperationMethod<{
114
+ readonly organization: string;
114
115
  readonly database: string;
115
116
  readonly number: number;
116
- readonly organization: string;
117
117
  }, {
118
- readonly actor: {
119
- readonly avatar_url: string;
120
- readonly display_name: string;
121
- readonly id: string;
122
- };
118
+ readonly id: string;
123
119
  readonly auto_cutover: boolean;
124
120
  readonly auto_delete_branch: boolean;
125
- readonly cancelled_actor: {
126
- readonly avatar_url: string;
127
- readonly display_name: string;
128
- readonly id: string;
129
- };
130
121
  readonly created_at: string;
131
- readonly cutover_actor: {
132
- readonly avatar_url: string;
133
- readonly display_name: string;
134
- readonly id: string;
135
- };
136
122
  readonly cutover_at: string;
137
123
  readonly cutover_expiring: boolean;
138
124
  readonly deploy_check_errors: string;
139
- readonly deploy_operation_summaries: readonly {
140
- readonly can_drop_data: boolean;
141
- readonly created_at: string;
142
- readonly ddl_statement: string;
143
- readonly deploy_errors: string;
144
- readonly eta_seconds: number;
125
+ readonly finished_at: string;
126
+ readonly queued_at: string;
127
+ readonly ready_to_cutover_at: string;
128
+ readonly started_at: string;
129
+ 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";
130
+ readonly submitted_at: string;
131
+ readonly updated_at: string;
132
+ readonly into_branch: string;
133
+ readonly deploy_request_number: number;
134
+ readonly deployable: boolean;
135
+ readonly preceding_deployments: readonly {
136
+ readonly [x: string]: unknown;
137
+ }[];
138
+ readonly deploy_operations: readonly {
145
139
  readonly id: string;
140
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
146
141
  readonly keyspace_name: string;
142
+ readonly table_name: string;
147
143
  readonly operation_name: string;
148
- readonly operations: readonly {
149
- readonly eta_seconds: number;
150
- readonly id: string;
151
- readonly progress_percentage: number;
152
- readonly shard: string;
153
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
154
- }[];
144
+ readonly eta_seconds: number;
155
145
  readonly progress_percentage: number;
156
- readonly removed_foreign_key_names: readonly string[];
157
- readonly shard_count: number;
158
- readonly shard_names: readonly string[];
159
- readonly sharded: boolean;
160
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
146
+ readonly deploy_error_docs_url: string;
147
+ readonly ddl_statement: string;
161
148
  readonly syntax_highlighted_ddl: string;
162
- readonly table_name: string;
149
+ readonly created_at: string;
150
+ readonly updated_at: string;
151
+ readonly throttled_at: string;
152
+ readonly can_drop_data: boolean;
153
+ readonly table_locked: boolean;
163
154
  readonly table_recently_used: boolean;
164
155
  readonly table_recently_used_at: string;
165
- readonly throttled_at: string;
156
+ readonly removed_foreign_key_names: readonly string[];
157
+ readonly deploy_errors: string;
166
158
  }[];
167
- readonly deploy_operations: readonly {
168
- readonly can_drop_data: boolean;
159
+ readonly deploy_operation_summaries: readonly {
160
+ readonly id: string;
169
161
  readonly created_at: string;
170
- readonly ddl_statement: string;
171
- readonly deploy_error_docs_url: string;
172
162
  readonly deploy_errors: string;
163
+ readonly ddl_statement: string;
173
164
  readonly eta_seconds: number;
174
- readonly id: string;
175
165
  readonly keyspace_name: string;
176
166
  readonly operation_name: string;
177
167
  readonly progress_percentage: number;
178
- readonly removed_foreign_key_names: readonly string[];
179
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
168
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
180
169
  readonly syntax_highlighted_ddl: string;
181
- readonly table_locked: boolean;
182
170
  readonly table_name: string;
183
- readonly table_recently_used: boolean;
184
171
  readonly table_recently_used_at: string;
185
172
  readonly throttled_at: string;
186
- readonly updated_at: string;
173
+ readonly removed_foreign_key_names: readonly string[];
174
+ readonly shard_count: number;
175
+ readonly shard_names: readonly string[];
176
+ readonly can_drop_data: boolean;
177
+ readonly table_recently_used: boolean;
178
+ readonly sharded: boolean;
179
+ readonly operations: readonly {
180
+ readonly id: string;
181
+ readonly shard: string;
182
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
183
+ readonly progress_percentage: number;
184
+ readonly eta_seconds: number;
185
+ }[];
187
186
  }[];
188
- readonly deploy_request_number: number;
189
- readonly deployable: boolean;
190
- readonly deployment_revert_request: {
191
- readonly [x: string]: unknown;
192
- };
193
- readonly finished_at: string;
194
- readonly id: string;
195
- readonly instant_ddl: boolean;
196
- readonly instant_ddl_eligible: boolean;
197
- readonly into_branch: string;
198
187
  readonly lint_errors: readonly {
199
188
  readonly [x: string]: unknown;
200
189
  }[];
201
- readonly locked_table_name: string;
202
- readonly lookup_vindex_operations: readonly {
203
- readonly [x: string]: unknown;
204
- }[];
205
- readonly preceding_deployments: readonly {
190
+ readonly sequential_diff_dependencies: readonly {
206
191
  readonly [x: string]: unknown;
207
192
  }[];
208
- readonly queued_at: string;
209
- readonly ready_to_cutover_at: string;
210
- readonly schema_last_updated_at: string;
211
- readonly sequential_diff_dependencies: readonly {
193
+ readonly lookup_vindex_operations: readonly {
212
194
  readonly [x: string]: unknown;
213
195
  }[];
214
- readonly started_at: string;
215
- 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";
216
- readonly submitted_at: string;
217
- readonly table_locked: boolean;
218
196
  readonly throttler_configurations: readonly {
219
197
  readonly [x: string]: unknown;
220
198
  }[];
221
- readonly updated_at: string;
199
+ readonly deployment_revert_request: {
200
+ readonly [x: string]: unknown;
201
+ };
202
+ readonly actor: {
203
+ readonly id: string;
204
+ readonly display_name: string;
205
+ readonly avatar_url: string;
206
+ };
207
+ readonly cutover_actor: {
208
+ readonly id: string;
209
+ readonly display_name: string;
210
+ readonly avatar_url: string;
211
+ };
212
+ readonly cancelled_actor: {
213
+ readonly id: string;
214
+ readonly display_name: string;
215
+ readonly avatar_url: string;
216
+ };
217
+ readonly schema_last_updated_at: string;
218
+ readonly table_locked: boolean;
219
+ readonly locked_table_name: string;
220
+ readonly instant_ddl: boolean;
221
+ readonly instant_ddl_eligible: boolean;
222
222
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
223
223
  //# sourceMappingURL=getDeployment.d.ts.map
@@ -21,14 +21,14 @@ export type GetInvoiceOutput = typeof GetInvoiceOutput.Type;
21
21
  * @param id - Invoice public ID from `list_invoices`. Example: `aabb12123434`.
22
22
  */
23
23
  export declare const getInvoice: import("@distilled.cloud/core/client").OperationMethod<{
24
- readonly id: string;
25
24
  readonly organization: string;
25
+ readonly id: string;
26
26
  }, {
27
- readonly billing_period_end: string;
28
- readonly billing_period_start: string;
29
27
  readonly id: string;
30
- readonly overdue: boolean;
31
- readonly paid: boolean;
32
28
  readonly total: string;
29
+ readonly billing_period_start: string;
30
+ readonly billing_period_end: string;
31
+ readonly paid: boolean;
32
+ readonly overdue: boolean;
33
33
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
34
34
  //# sourceMappingURL=getInvoice.d.ts.map
@@ -41,30 +41,30 @@ export type GetInvoiceLineItemsOutput = typeof GetInvoiceLineItemsOutput.Type;
41
41
  * @param per_page - If provided, specifies the number of returned results
42
42
  */
43
43
  export declare const getInvoiceLineItems: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
44
- readonly id: string;
45
44
  readonly organization: string;
45
+ readonly id: string;
46
46
  readonly page?: number | undefined;
47
47
  readonly per_page?: number | undefined;
48
48
  }, {
49
49
  readonly current_page: number;
50
+ readonly next_page: number | null;
51
+ readonly next_page_url: string | null;
52
+ readonly prev_page: number | null;
53
+ readonly prev_page_url: string | null;
50
54
  readonly data: readonly {
51
- readonly database_id: string;
52
- readonly database_name: string;
53
- readonly description: string;
54
55
  readonly id: string;
56
+ readonly subtotal: number;
57
+ readonly description: string;
55
58
  readonly metric_name: string;
59
+ readonly database_id: string;
60
+ readonly database_name: string;
56
61
  readonly resource: {
57
- readonly created_at: string;
58
- readonly deleted_at: string;
59
62
  readonly id: string;
60
63
  readonly name: string;
64
+ readonly created_at: string;
61
65
  readonly updated_at: string;
66
+ readonly deleted_at: string;
62
67
  };
63
- readonly subtotal: number;
64
68
  }[];
65
- readonly next_page: number | null;
66
- readonly next_page_url: string | null;
67
- readonly prev_page: number | null;
68
- readonly prev_page_url: string | null;
69
69
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
70
70
  //# sourceMappingURL=getInvoiceLineItems.d.ts.map
@@ -48,41 +48,41 @@ export type GetKeyspaceOutput = typeof GetKeyspaceOutput.Type;
48
48
  * @param keyspace - The name of the keyspace
49
49
  */
50
50
  export declare const getKeyspace: import("@distilled.cloud/core/client").OperationMethod<{
51
- readonly branch: string;
51
+ readonly organization: string;
52
52
  readonly database: string;
53
+ readonly branch: string;
53
54
  readonly keyspace: string;
54
- readonly organization: string;
55
55
  }, {
56
- readonly cluster_display_name: string;
56
+ readonly id: string;
57
+ readonly name: string;
58
+ readonly shards: number;
59
+ readonly sharded: boolean;
60
+ readonly replicas: number;
61
+ readonly extra_replicas: number;
62
+ readonly created_at: string;
63
+ readonly updated_at: string;
57
64
  readonly cluster_name: string;
65
+ readonly cluster_display_name: string;
66
+ readonly resizing: boolean;
67
+ readonly resize_pending: boolean;
58
68
  readonly config_change_in_progress: boolean;
59
- readonly created_at: string;
69
+ readonly ready: boolean;
70
+ readonly metal: boolean;
60
71
  readonly default: boolean;
61
- readonly extra_replicas: number;
62
- readonly id: string;
63
72
  readonly imported: boolean;
64
- readonly metal: boolean;
65
- readonly mysqld_options: {
66
- readonly [x: string]: unknown;
67
- };
68
- readonly name: string;
73
+ readonly vector_pool_allocation: number | null;
69
74
  readonly node_ttl_strategy: "node_ttl_always" | "node_ttl_follow_maintenance" | "node_ttl_off";
70
- readonly ready: boolean;
71
- readonly replicas: number;
72
75
  readonly replication_durability_constraints: {
73
76
  readonly strategy?: "always" | "available" | "lag" | undefined;
74
77
  };
75
- readonly resize_pending: boolean;
76
- readonly resizing: boolean;
77
- readonly sharded: boolean;
78
- readonly shards: number;
79
- readonly updated_at: string;
80
- readonly vector_pool_allocation: number | null;
81
78
  readonly vreplication_flags: {
82
- readonly allow_no_blob_binlog_row_image: boolean;
83
79
  readonly optimize_inserts: boolean;
80
+ readonly allow_no_blob_binlog_row_image: boolean;
84
81
  readonly vplayer_batching: boolean;
85
82
  };
83
+ readonly mysqld_options: {
84
+ readonly [x: string]: unknown;
85
+ };
86
86
  readonly vttablet_options: {
87
87
  readonly [x: string]: unknown;
88
88
  };
@@ -27,18 +27,18 @@ export type GetKeyspaceRolloutStatusOutput = typeof GetKeyspaceRolloutStatusOutp
27
27
  * @param keyspace - The name of the keyspace
28
28
  */
29
29
  export declare const getKeyspaceRolloutStatus: import("@distilled.cloud/core/client").OperationMethod<{
30
- readonly branch: string;
30
+ readonly organization: string;
31
31
  readonly database: string;
32
+ readonly branch: string;
32
33
  readonly keyspace: string;
33
- readonly organization: string;
34
34
  }, {
35
35
  readonly name: string;
36
+ readonly state: string;
36
37
  readonly shards: readonly {
37
- readonly last_rollout_finished_at: string;
38
- readonly last_rollout_started_at: string;
39
38
  readonly name: string;
39
+ readonly last_rollout_started_at: string;
40
+ readonly last_rollout_finished_at: string;
40
41
  readonly state: string;
41
42
  }[];
42
- readonly state: string;
43
43
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
44
44
  //# sourceMappingURL=getKeyspaceRolloutStatus.d.ts.map
@@ -20,10 +20,10 @@ export type GetKeyspaceVschemaOutput = typeof GetKeyspaceVschemaOutput.Type;
20
20
  * @param keyspace - The name of the keyspace
21
21
  */
22
22
  export declare const getKeyspaceVschema: import("@distilled.cloud/core/client").OperationMethod<{
23
- readonly branch: string;
23
+ readonly organization: string;
24
24
  readonly database: string;
25
+ readonly branch: string;
25
26
  readonly keyspace: string;
26
- readonly organization: string;
27
27
  }, {
28
28
  readonly raw: string;
29
29
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
@@ -35,27 +35,27 @@ export type GetMaintenanceScheduleOutput = typeof GetMaintenanceScheduleOutput.T
35
35
  * @param database - Database name slug from `list_databases`. Example: `app-db`.
36
36
  */
37
37
  export declare const getMaintenanceSchedule: import("@distilled.cloud/core/client").OperationMethod<{
38
- readonly database: string;
39
38
  readonly id: string;
40
39
  readonly organization: string;
40
+ readonly database: string;
41
41
  }, {
42
+ readonly id: string;
43
+ readonly name: string;
42
44
  readonly created_at: string;
43
- readonly day: number;
44
- readonly deadline_at: string;
45
+ readonly updated_at: string;
46
+ readonly last_window_datetime: string;
47
+ readonly next_window_datetime: string;
45
48
  readonly duration: number;
49
+ readonly day: number;
50
+ readonly hour: number;
51
+ readonly week: number;
52
+ readonly frequency_value: number;
53
+ readonly frequency_unit: "day" | "month" | "once" | "week";
46
54
  readonly enabled: boolean;
47
55
  readonly expires_at: string;
48
- readonly frequency_unit: "day" | "month" | "once" | "week";
49
- readonly frequency_value: number;
50
- readonly hour: number;
51
- readonly id: string;
52
- readonly last_window_datetime: string;
53
- readonly name: string;
54
- readonly next_window_datetime: string;
55
- readonly pending_vitess_version: string;
56
- readonly pending_vitess_version_update: boolean;
56
+ readonly deadline_at: string;
57
57
  readonly required: boolean;
58
- readonly updated_at: string;
59
- readonly week: number;
58
+ readonly pending_vitess_version_update: boolean;
59
+ readonly pending_vitess_version: string;
60
60
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
61
61
  //# sourceMappingURL=getMaintenanceSchedule.d.ts.map