@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
@@ -148,151 +148,151 @@ export type QueueDeployRequestOutput = typeof QueueDeployRequestOutput.Type;
148
148
  * @param instant_ddl - Whether or not to deploy the request with instant DDL. Defaults to false.
149
149
  */
150
150
  export declare const queueDeployRequest: import("@distilled.cloud/core/client").OperationMethod<{
151
+ readonly organization: string;
151
152
  readonly database: string;
152
- readonly instant_ddl?: boolean | undefined;
153
153
  readonly number: number;
154
- readonly organization: string;
154
+ readonly instant_ddl?: boolean | 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=queueDeployRequest.d.ts.map
@@ -20,10 +20,10 @@ export type ReassignRoleObjectsOutput = typeof ReassignRoleObjectsOutput.Type;
20
20
  * @param successor - The role to reassign ownership to
21
21
  */
22
22
  export declare const reassignRoleObjects: 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 id: string;
26
- readonly organization: string;
27
27
  readonly successor: string;
28
28
  }, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
29
29
  //# sourceMappingURL=reassignRoleObjects.d.ts.map
@@ -18,9 +18,9 @@ export type RemoveOrganizationMemberOutput = typeof RemoveOrganizationMemberOutp
18
18
  * @param delete_service_tokens - Whether to delete all service tokens associated with the member. Only available when removing other members (not yourself).
19
19
  */
20
20
  export declare const removeOrganizationMember: import("@distilled.cloud/core/client").OperationMethod<{
21
+ readonly organization: string;
22
+ readonly id: string;
21
23
  readonly delete_passwords?: boolean | undefined;
22
24
  readonly delete_service_tokens?: boolean | undefined;
23
- readonly id: string;
24
- readonly organization: string;
25
25
  }, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
26
26
  //# sourceMappingURL=removeOrganizationMember.d.ts.map
@@ -18,9 +18,9 @@ export type RemoveOrganizationTeamMemberOutput = typeof RemoveOrganizationTeamMe
18
18
  * @param delete_passwords - Whether to delete the member's passwords created through this team
19
19
  */
20
20
  export declare const removeOrganizationTeamMember: import("@distilled.cloud/core/client").OperationMethod<{
21
- readonly delete_passwords?: boolean | undefined;
22
- readonly id: string;
23
21
  readonly organization: string;
24
22
  readonly team: string;
23
+ readonly id: string;
24
+ readonly delete_passwords?: boolean | undefined;
25
25
  }, void, BadRequest | Forbidden | NotFound | UnprocessableEntity, import("../credentials.ts").Credentials>;
26
26
  //# sourceMappingURL=removeOrganizationTeamMember.d.ts.map
@@ -60,51 +60,51 @@ export type RenewPasswordOutput = typeof RenewPasswordOutput.Type;
60
60
  * @param id - The ID of the password
61
61
  */
62
62
  export declare const renewPassword: import("@distilled.cloud/core/client").OperationMethod<{
63
- readonly branch: string;
63
+ readonly organization: string;
64
64
  readonly database: string;
65
+ readonly branch: string;
65
66
  readonly id: string;
66
- readonly organization: string;
67
67
  }, {
68
- readonly access_host_regional_url: string;
69
- readonly access_host_regional_urls: readonly string[];
70
- readonly access_host_url: string;
71
- readonly actor: {
72
- readonly avatar_url: string;
73
- readonly display_name: string;
74
- readonly id: string;
75
- };
68
+ readonly id: string;
69
+ readonly name: string;
70
+ readonly role: "admin" | "reader" | "readwriter" | "writer";
76
71
  readonly cidrs: readonly string[] | null;
77
72
  readonly created_at: string;
78
- readonly database_branch: {
79
- readonly id: string;
80
- readonly mysql_edge_address: string;
81
- readonly name: string;
82
- readonly private_edge_connectivity: boolean;
83
- readonly production: boolean;
84
- };
85
73
  readonly deleted_at: string | null;
86
- readonly direct_vtgate: boolean;
87
- readonly direct_vtgate_addresses: readonly string[];
88
- readonly expired: boolean;
89
74
  readonly expires_at: string | null;
90
- readonly id: string;
91
75
  readonly last_used_at: string | null;
92
- readonly name: string;
93
- readonly plain_text: string | import("effect/Redacted").Redacted<string> | null;
94
- readonly region: {
95
- readonly current_default: boolean;
76
+ readonly expired: boolean;
77
+ readonly direct_vtgate: boolean;
78
+ readonly direct_vtgate_addresses: readonly string[];
79
+ readonly ttl_seconds: number | null;
80
+ readonly access_host_url: string;
81
+ readonly access_host_regional_url: string;
82
+ readonly access_host_regional_urls: readonly string[];
83
+ readonly actor: {
84
+ readonly id: string;
96
85
  readonly display_name: string;
97
- readonly enabled: boolean;
86
+ readonly avatar_url: string;
87
+ };
88
+ readonly region: {
98
89
  readonly id: string;
99
- readonly location: string;
100
90
  readonly provider: string;
91
+ readonly enabled: boolean;
101
92
  readonly public_ip_addresses: readonly string[];
93
+ readonly display_name: string;
94
+ readonly location: string;
102
95
  readonly slug: string;
96
+ readonly current_default: boolean;
103
97
  };
104
- readonly renewable: boolean;
105
- readonly replica: boolean;
106
- readonly role: "admin" | "reader" | "readwriter" | "writer";
107
- readonly ttl_seconds: number | null;
108
98
  readonly username: string;
99
+ readonly plain_text: string | import("effect/Redacted").Redacted<string> | null;
100
+ readonly replica: boolean;
101
+ readonly renewable: boolean;
102
+ readonly database_branch: {
103
+ readonly name: string;
104
+ readonly id: string;
105
+ readonly production: boolean;
106
+ readonly mysql_edge_address: string;
107
+ readonly private_edge_connectivity: boolean;
108
+ };
109
109
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
110
110
  //# sourceMappingURL=renewPassword.d.ts.map
@@ -54,45 +54,45 @@ export type RenewRoleOutput = typeof RenewRoleOutput.Type;
54
54
  * @param id - The ID of the role
55
55
  */
56
56
  export declare const renewRole: import("@distilled.cloud/core/client").OperationMethod<{
57
- readonly branch: string;
57
+ readonly organization: string;
58
58
  readonly database: string;
59
+ readonly branch: string;
59
60
  readonly id: string;
60
- readonly organization: string;
61
61
  }, {
62
+ readonly id: string;
63
+ readonly name: string;
62
64
  readonly access_host_url: string;
63
- readonly actor: {
64
- readonly avatar_url: string;
65
- readonly display_name: string;
66
- readonly id: string;
67
- };
68
- readonly branch: {
69
- readonly created_at: string;
70
- readonly deleted_at: string | null;
71
- readonly id: string;
72
- readonly name: string;
73
- readonly updated_at: string;
74
- };
75
- readonly created_at: string;
65
+ readonly private_access_host_url: string;
66
+ readonly private_connection_service_name: string;
67
+ readonly username: string;
68
+ readonly password: string | import("effect/Redacted").Redacted<string> | null;
76
69
  readonly database_name: string;
77
- readonly default: boolean;
70
+ readonly created_at: string;
71
+ readonly updated_at: string;
78
72
  readonly deleted_at: string | null;
73
+ readonly expires_at: string | null;
74
+ readonly dropped_at: string | null;
79
75
  readonly disabled_at: string | null;
80
76
  readonly drop_failed: string | null;
81
- readonly dropped_at: string | null;
82
77
  readonly expired: boolean;
83
- readonly expires_at: string | null;
84
- readonly id: string;
78
+ readonly default: boolean;
79
+ readonly ttl: number | null;
85
80
  readonly inherited_roles: readonly ("pg_checkpoint" | "pg_create_subscription" | "pg_maintain" | "pg_monitor" | "pg_read_all_data" | "pg_read_all_settings" | "pg_read_all_stats" | "pg_signal_backend" | "pg_stat_scan_tables" | "pg_use_reserved_connections" | "pg_write_all_data" | "postgres" | "pscale_managed")[];
86
- readonly name: string;
87
- readonly password: string | import("effect/Redacted").Redacted<string> | null;
88
- readonly private_access_host_url: string;
89
- readonly private_connection_service_name: string;
81
+ readonly branch: {
82
+ readonly id: string;
83
+ readonly name: string;
84
+ readonly created_at: string;
85
+ readonly updated_at: string;
86
+ readonly deleted_at: string | null;
87
+ };
88
+ readonly actor: {
89
+ readonly id: string;
90
+ readonly display_name: string;
91
+ readonly avatar_url: string;
92
+ };
90
93
  readonly query_safety_settings: {
91
94
  readonly require_where_on_delete: "off" | "on" | "warn";
92
95
  readonly require_where_on_update: "off" | "on" | "warn";
93
96
  };
94
- readonly ttl: number | null;
95
- readonly updated_at: string;
96
- readonly username: string;
97
97
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
98
98
  //# sourceMappingURL=renewRole.d.ts.map
@@ -52,44 +52,44 @@ export type ResetDefaultRoleOutput = typeof ResetDefaultRoleOutput.Type;
52
52
  * @param branch - Branch name from `list_branches`. Example: `main`.
53
53
  */
54
54
  export declare const resetDefaultRole: import("@distilled.cloud/core/client").OperationMethod<{
55
- readonly branch: string;
56
- readonly database: string;
57
55
  readonly organization: string;
56
+ readonly database: string;
57
+ readonly branch: string;
58
58
  }, {
59
+ readonly id: string;
60
+ readonly name: string;
59
61
  readonly access_host_url: string;
60
- readonly actor: {
61
- readonly avatar_url: string;
62
- readonly display_name: string;
63
- readonly id: string;
64
- };
65
- readonly branch: {
66
- readonly created_at: string;
67
- readonly deleted_at: string | null;
68
- readonly id: string;
69
- readonly name: string;
70
- readonly updated_at: string;
71
- };
72
- readonly created_at: string;
62
+ readonly private_access_host_url: string;
63
+ readonly private_connection_service_name: string;
64
+ readonly username: string;
65
+ readonly password: string | import("effect/Redacted").Redacted<string> | null;
73
66
  readonly database_name: string;
74
- readonly default: boolean;
67
+ readonly created_at: string;
68
+ readonly updated_at: string;
75
69
  readonly deleted_at: string | null;
70
+ readonly expires_at: string | null;
71
+ readonly dropped_at: string | null;
76
72
  readonly disabled_at: string | null;
77
73
  readonly drop_failed: string | null;
78
- readonly dropped_at: string | null;
79
74
  readonly expired: boolean;
80
- readonly expires_at: string | null;
81
- readonly id: string;
75
+ readonly default: boolean;
76
+ readonly ttl: number | null;
82
77
  readonly inherited_roles: readonly ("pg_checkpoint" | "pg_create_subscription" | "pg_maintain" | "pg_monitor" | "pg_read_all_data" | "pg_read_all_settings" | "pg_read_all_stats" | "pg_signal_backend" | "pg_stat_scan_tables" | "pg_use_reserved_connections" | "pg_write_all_data" | "postgres" | "pscale_managed")[];
83
- readonly name: string;
84
- readonly password: string | import("effect/Redacted").Redacted<string> | null;
85
- readonly private_access_host_url: string;
86
- readonly private_connection_service_name: string;
78
+ readonly branch: {
79
+ readonly id: string;
80
+ readonly name: string;
81
+ readonly created_at: string;
82
+ readonly updated_at: string;
83
+ readonly deleted_at: string | null;
84
+ };
85
+ readonly actor: {
86
+ readonly id: string;
87
+ readonly display_name: string;
88
+ readonly avatar_url: string;
89
+ };
87
90
  readonly query_safety_settings: {
88
91
  readonly require_where_on_delete: "off" | "on" | "warn";
89
92
  readonly require_where_on_update: "off" | "on" | "warn";
90
93
  };
91
- readonly ttl: number | null;
92
- readonly updated_at: string;
93
- readonly username: string;
94
94
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
95
95
  //# sourceMappingURL=resetDefaultRole.d.ts.map
@@ -54,45 +54,45 @@ export type ResetRoleOutput = typeof ResetRoleOutput.Type;
54
54
  * @param id - The ID of the role
55
55
  */
56
56
  export declare const resetRole: import("@distilled.cloud/core/client").OperationMethod<{
57
- readonly branch: string;
57
+ readonly organization: string;
58
58
  readonly database: string;
59
+ readonly branch: string;
59
60
  readonly id: string;
60
- readonly organization: string;
61
61
  }, {
62
+ readonly id: string;
63
+ readonly name: string;
62
64
  readonly access_host_url: string;
63
- readonly actor: {
64
- readonly avatar_url: string;
65
- readonly display_name: string;
66
- readonly id: string;
67
- };
68
- readonly branch: {
69
- readonly created_at: string;
70
- readonly deleted_at: string | null;
71
- readonly id: string;
72
- readonly name: string;
73
- readonly updated_at: string;
74
- };
75
- readonly created_at: string;
65
+ readonly private_access_host_url: string;
66
+ readonly private_connection_service_name: string;
67
+ readonly username: string;
68
+ readonly password: string | import("effect/Redacted").Redacted<string> | null;
76
69
  readonly database_name: string;
77
- readonly default: boolean;
70
+ readonly created_at: string;
71
+ readonly updated_at: string;
78
72
  readonly deleted_at: string | null;
73
+ readonly expires_at: string | null;
74
+ readonly dropped_at: string | null;
79
75
  readonly disabled_at: string | null;
80
76
  readonly drop_failed: string | null;
81
- readonly dropped_at: string | null;
82
77
  readonly expired: boolean;
83
- readonly expires_at: string | null;
84
- readonly id: string;
78
+ readonly default: boolean;
79
+ readonly ttl: number | null;
85
80
  readonly inherited_roles: readonly ("pg_checkpoint" | "pg_create_subscription" | "pg_maintain" | "pg_monitor" | "pg_read_all_data" | "pg_read_all_settings" | "pg_read_all_stats" | "pg_signal_backend" | "pg_stat_scan_tables" | "pg_use_reserved_connections" | "pg_write_all_data" | "postgres" | "pscale_managed")[];
86
- readonly name: string;
87
- readonly password: string | import("effect/Redacted").Redacted<string> | null;
88
- readonly private_access_host_url: string;
89
- readonly private_connection_service_name: string;
81
+ readonly branch: {
82
+ readonly id: string;
83
+ readonly name: string;
84
+ readonly created_at: string;
85
+ readonly updated_at: string;
86
+ readonly deleted_at: string | null;
87
+ };
88
+ readonly actor: {
89
+ readonly id: string;
90
+ readonly display_name: string;
91
+ readonly avatar_url: string;
92
+ };
90
93
  readonly query_safety_settings: {
91
94
  readonly require_where_on_delete: "off" | "on" | "warn";
92
95
  readonly require_where_on_update: "off" | "on" | "warn";
93
96
  };
94
- readonly ttl: number | null;
95
- readonly updated_at: string;
96
- readonly username: string;
97
97
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
98
98
  //# sourceMappingURL=resetRole.d.ts.map
@@ -34,22 +34,22 @@ export type ReviewDeployRequestOutput = typeof ReviewDeployRequestOutput.Type;
34
34
  * @param body - Deploy request review comments
35
35
  */
36
36
  export declare const reviewDeployRequest: import("@distilled.cloud/core/client").OperationMethod<{
37
- readonly body?: string | undefined;
37
+ readonly organization: string;
38
38
  readonly database: string;
39
39
  readonly number: number;
40
- readonly organization: string;
41
40
  readonly state?: "approved" | "commented" | undefined;
41
+ readonly body?: string | undefined;
42
42
  }, {
43
- readonly actor: {
44
- readonly avatar_url: string;
45
- readonly display_name: string;
46
- readonly id: string;
47
- };
43
+ readonly id: string;
48
44
  readonly body: string;
49
- readonly created_at: string;
50
45
  readonly html_body: string;
51
- readonly id: string;
52
46
  readonly state: "approved" | "commented";
47
+ readonly created_at: string;
53
48
  readonly updated_at: string;
49
+ readonly actor: {
50
+ readonly id: string;
51
+ readonly display_name: string;
52
+ readonly avatar_url: string;
53
+ };
54
54
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
55
55
  //# sourceMappingURL=reviewDeployRequest.d.ts.map