@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
@@ -101,84 +101,84 @@ export type ListBackupsOutput = typeof ListBackupsOutput.Type;
101
101
  * @param per_page - If provided, specifies the number of returned results
102
102
  */
103
103
  export declare const listBackups: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
104
- readonly all?: boolean | undefined;
105
- readonly branch: string;
104
+ readonly organization: string;
106
105
  readonly database: string;
106
+ readonly branch: string;
107
+ readonly all?: boolean | undefined;
108
+ readonly state?: "canceled" | "failed" | "ignored" | "pending" | "running" | "success" | undefined;
109
+ readonly policy?: string | undefined;
107
110
  readonly from?: string | undefined;
108
- readonly organization: string;
111
+ readonly to?: string | undefined;
112
+ readonly running_at?: string | undefined;
113
+ readonly production?: boolean | undefined;
109
114
  readonly page?: number | undefined;
110
115
  readonly per_page?: number | undefined;
111
- readonly policy?: string | undefined;
112
- readonly production?: boolean | undefined;
113
- readonly running_at?: string | undefined;
114
- readonly state?: "canceled" | "failed" | "ignored" | "pending" | "running" | "success" | undefined;
115
- readonly to?: string | undefined;
116
116
  }, {
117
117
  readonly current_page: number;
118
+ readonly next_page: number | null;
119
+ readonly next_page_url: string | null;
120
+ readonly prev_page: number | null;
121
+ readonly prev_page_url: string | null;
118
122
  readonly data: readonly {
123
+ readonly id: string;
124
+ readonly name: string;
125
+ readonly state: "canceled" | "failed" | "ignored" | "pending" | "running" | "success";
126
+ readonly size: number;
127
+ readonly estimated_storage_cost: number;
128
+ readonly created_at: string;
129
+ readonly updated_at: string;
130
+ readonly started_at: string | null;
131
+ readonly expires_at: string | null;
132
+ readonly completed_at: string | null;
133
+ readonly deleted_at: string | null;
134
+ readonly pvc_size: number;
135
+ readonly protected: boolean;
136
+ readonly required: boolean;
137
+ readonly restored_branches: readonly {
138
+ readonly id: string;
139
+ readonly name: string;
140
+ readonly created_at: string;
141
+ readonly updated_at: string;
142
+ readonly deleted_at: string | null;
143
+ }[];
119
144
  readonly actor: {
120
- readonly avatar_url: string;
121
- readonly display_name: string;
122
145
  readonly id: string;
146
+ readonly display_name: string;
147
+ readonly avatar_url: string;
123
148
  };
124
149
  readonly backup_policy: {
125
- readonly created_at: string;
126
- readonly display_name: string;
127
- readonly frequency_unit: string;
128
- readonly frequency_value: number;
129
150
  readonly id: string;
130
- readonly last_ran_at: string | null;
151
+ readonly display_name: string;
131
152
  readonly name: string;
132
- readonly next_run_at: string | null;
133
- readonly required: boolean;
134
- readonly retention_unit: string;
153
+ readonly target: "development" | "production";
135
154
  readonly retention_value: number;
136
- readonly schedule_day: number;
155
+ readonly retention_unit: string;
156
+ readonly frequency_value: number;
157
+ readonly frequency_unit: string;
137
158
  readonly schedule_time: string | null;
159
+ readonly schedule_day: number;
138
160
  readonly schedule_week: number;
139
- readonly target: "development" | "production";
161
+ readonly created_at: string;
140
162
  readonly updated_at: string;
163
+ readonly last_ran_at: string | null;
164
+ readonly next_run_at: string | null;
165
+ readonly required: boolean;
141
166
  } | null;
142
- readonly completed_at: string | null;
143
- readonly created_at: string;
144
- readonly database_branch: {
145
- readonly created_at: string;
146
- readonly deleted_at: string | null;
167
+ readonly schema_snapshot: {
147
168
  readonly id: string;
148
169
  readonly name: string;
170
+ readonly created_at: string;
149
171
  readonly updated_at: string;
172
+ readonly linted_at: string | null;
173
+ readonly url: string;
150
174
  };
151
- readonly deleted_at: string | null;
152
- readonly estimated_storage_cost: number;
153
- readonly expires_at: string | null;
154
- readonly id: string;
155
- readonly name: string;
156
- readonly protected: boolean;
157
- readonly pvc_size: number;
158
- readonly required: boolean;
159
- readonly restored_branches: readonly {
160
- readonly created_at: string;
161
- readonly deleted_at: string | null;
175
+ readonly database_branch: {
162
176
  readonly id: string;
163
177
  readonly name: string;
164
- readonly updated_at: string;
165
- }[];
166
- readonly schema_snapshot: {
167
178
  readonly created_at: string;
168
- readonly id: string;
169
- readonly linted_at: string | null;
170
- readonly name: string;
171
179
  readonly updated_at: string;
172
- readonly url: string;
180
+ readonly deleted_at: string | null;
173
181
  };
174
- readonly size: number;
175
- readonly started_at: string | null;
176
- readonly state: "canceled" | "failed" | "ignored" | "pending" | "running" | "success";
177
- readonly updated_at: string;
178
182
  }[];
179
- readonly next_page: number | null;
180
- readonly next_page_url: string | null;
181
- readonly prev_page: number | null;
182
- readonly prev_page_url: string | null;
183
183
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
184
184
  //# sourceMappingURL=listBackups.d.ts.map
@@ -66,59 +66,59 @@ export type ListBouncerResizeRequestsOutput = typeof ListBouncerResizeRequestsOu
66
66
  * @param per_page - If provided, specifies the number of returned results
67
67
  */
68
68
  export declare const listBouncerResizeRequests: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
69
- readonly bouncer: string;
70
- readonly branch: string;
71
- readonly database: string;
72
69
  readonly organization: string;
70
+ readonly database: string;
71
+ readonly branch: string;
72
+ readonly bouncer: string;
73
73
  readonly page?: number | undefined;
74
74
  readonly per_page?: number | undefined;
75
75
  }, {
76
76
  readonly current_page: number;
77
+ readonly next_page: number | null;
78
+ readonly next_page_url: string | null;
79
+ readonly prev_page: number | null;
80
+ readonly prev_page_url: string | null;
77
81
  readonly data: readonly {
78
- readonly actor: {
79
- readonly avatar_url: string;
80
- readonly display_name: string;
81
- readonly id: string;
82
- };
83
- readonly bouncer: {
84
- readonly created_at: string;
85
- readonly deleted_at: string;
86
- readonly id: string;
87
- readonly name: string;
88
- readonly updated_at: string;
89
- };
90
- readonly completed_at: string;
91
- readonly created_at: string;
92
82
  readonly id: string;
83
+ readonly state: "canceled" | "completed" | "pending" | "resizing";
84
+ readonly replicas_per_cell: number;
93
85
  readonly parameters: {
94
86
  readonly [x: string]: unknown;
95
87
  };
88
+ readonly previous_replicas_per_cell: number;
96
89
  readonly previous_parameters: {
97
90
  readonly [x: string]: unknown;
98
91
  };
99
- readonly previous_replicas_per_cell: number;
100
- readonly previous_sku: {
101
- readonly cpu: string;
92
+ readonly started_at: string;
93
+ readonly completed_at: string;
94
+ readonly created_at: string;
95
+ readonly updated_at: string;
96
+ readonly actor: {
97
+ readonly id: string;
102
98
  readonly display_name: string;
99
+ readonly avatar_url: string;
100
+ };
101
+ readonly bouncer: {
102
+ readonly id: string;
103
103
  readonly name: string;
104
- readonly ram: number;
105
- readonly sort_order: number;
104
+ readonly created_at: string;
105
+ readonly updated_at: string;
106
+ readonly deleted_at: string;
106
107
  };
107
- readonly replicas_per_cell: number;
108
108
  readonly sku: {
109
- readonly cpu: string;
109
+ readonly name: string;
110
110
  readonly display_name: string;
111
+ readonly cpu: string;
112
+ readonly ram: number;
113
+ readonly sort_order: number;
114
+ };
115
+ readonly previous_sku: {
111
116
  readonly name: string;
117
+ readonly display_name: string;
118
+ readonly cpu: string;
112
119
  readonly ram: number;
113
120
  readonly sort_order: number;
114
121
  };
115
- readonly started_at: string;
116
- readonly state: "canceled" | "completed" | "pending" | "resizing";
117
- readonly updated_at: string;
118
122
  }[];
119
- readonly next_page: number | null;
120
- readonly next_page_url: string | null;
121
- readonly prev_page: number | null;
122
- readonly prev_page_url: string | null;
123
123
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
124
124
  //# sourceMappingURL=listBouncerResizeRequests.d.ts.map
@@ -80,70 +80,70 @@ export type ListBouncersOutput = typeof ListBouncersOutput.Type;
80
80
  * @param per_page - If provided, specifies the number of returned results
81
81
  */
82
82
  export declare const listBouncers: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
83
- readonly branch: string;
84
- readonly database: string;
85
83
  readonly organization: string;
84
+ readonly database: string;
85
+ readonly branch: string;
86
86
  readonly page?: number | undefined;
87
87
  readonly per_page?: number | undefined;
88
88
  }, {
89
89
  readonly current_page: number;
90
+ readonly next_page: number | null;
91
+ readonly next_page_url: string | null;
92
+ readonly prev_page: number | null;
93
+ readonly prev_page_url: string | null;
90
94
  readonly data: readonly {
91
- readonly actor: {
92
- readonly avatar_url: string;
95
+ readonly id: string;
96
+ readonly name: string;
97
+ readonly sku: {
98
+ readonly name: string;
93
99
  readonly display_name: string;
100
+ readonly cpu: string;
101
+ readonly ram: number;
102
+ readonly sort_order: number;
103
+ };
104
+ readonly target: "primary" | "replica" | "replica_az_affinity";
105
+ readonly replicas_per_cell: number;
106
+ readonly created_at: string;
107
+ readonly updated_at: string;
108
+ readonly deleted_at: string;
109
+ readonly actor: {
94
110
  readonly id: string;
111
+ readonly display_name: string;
112
+ readonly avatar_url: string;
95
113
  };
96
114
  readonly branch: {
97
- readonly created_at: string;
98
- readonly deleted_at: string;
99
115
  readonly id: string;
100
116
  readonly name: string;
117
+ readonly created_at: string;
101
118
  readonly updated_at: string;
119
+ readonly deleted_at: string;
102
120
  };
103
- readonly created_at: string;
104
- readonly deleted_at: string;
105
- readonly id: string;
106
- readonly name: string;
107
121
  readonly parameters: readonly {
108
- readonly actor: {
109
- readonly avatar_url: string;
110
- readonly display_name: string;
111
- readonly id: string;
112
- };
122
+ readonly id: string;
123
+ readonly namespace: "pgbouncer";
124
+ readonly name: string;
125
+ readonly display_name: string;
113
126
  readonly category: string;
114
- readonly created_at: string;
115
- readonly default_value: string;
116
127
  readonly description: string;
117
- readonly display_name: string;
118
- readonly id: string;
119
128
  readonly immutable: boolean;
120
- readonly max: number;
121
- readonly min: number;
122
- readonly name: string;
123
- readonly namespace: "pgbouncer";
124
- readonly options: readonly string[];
125
129
  readonly parameter_type: "array" | "integer" | "seconds" | "select" | "string";
130
+ readonly default_value: string;
131
+ readonly value: string;
126
132
  readonly required: boolean;
133
+ readonly created_at: string;
134
+ readonly updated_at: string;
127
135
  readonly restart: boolean;
136
+ readonly max: number;
137
+ readonly min: number;
128
138
  readonly step: number;
129
- readonly updated_at: string;
130
139
  readonly url: string;
131
- readonly value: string;
140
+ readonly options: readonly string[];
141
+ readonly actor: {
142
+ readonly id: string;
143
+ readonly display_name: string;
144
+ readonly avatar_url: string;
145
+ };
132
146
  }[];
133
- readonly replicas_per_cell: number;
134
- readonly sku: {
135
- readonly cpu: string;
136
- readonly display_name: string;
137
- readonly name: string;
138
- readonly ram: number;
139
- readonly sort_order: number;
140
- };
141
- readonly target: "primary" | "replica" | "replica_az_affinity";
142
- readonly updated_at: string;
143
147
  }[];
144
- readonly next_page: number | null;
145
- readonly next_page_url: string | null;
146
- readonly prev_page: number | null;
147
- readonly prev_page_url: string | null;
148
148
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
149
149
  //# sourceMappingURL=listBouncers.d.ts.map
@@ -64,58 +64,58 @@ export type ListBranchBouncerResizeRequestsOutput = typeof ListBranchBouncerResi
64
64
  * @param per_page - If provided, specifies the number of returned results
65
65
  */
66
66
  export declare const listBranchBouncerResizeRequests: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
67
- readonly branch: string;
68
- readonly database: string;
69
67
  readonly organization: string;
68
+ readonly database: string;
69
+ readonly branch: string;
70
70
  readonly page?: number | undefined;
71
71
  readonly per_page?: number | undefined;
72
72
  }, {
73
73
  readonly current_page: number;
74
+ readonly next_page: number | null;
75
+ readonly next_page_url: string | null;
76
+ readonly prev_page: number | null;
77
+ readonly prev_page_url: string | null;
74
78
  readonly data: readonly {
75
- readonly actor: {
76
- readonly avatar_url: string;
77
- readonly display_name: string;
78
- readonly id: string;
79
- };
80
- readonly bouncer: {
81
- readonly created_at: string;
82
- readonly deleted_at: string;
83
- readonly id: string;
84
- readonly name: string;
85
- readonly updated_at: string;
86
- };
87
- readonly completed_at: string;
88
- readonly created_at: string;
89
79
  readonly id: string;
80
+ readonly state: "canceled" | "completed" | "pending" | "resizing";
81
+ readonly replicas_per_cell: number;
90
82
  readonly parameters: {
91
83
  readonly [x: string]: unknown;
92
84
  };
85
+ readonly previous_replicas_per_cell: number;
93
86
  readonly previous_parameters: {
94
87
  readonly [x: string]: unknown;
95
88
  };
96
- readonly previous_replicas_per_cell: number;
97
- readonly previous_sku: {
98
- readonly cpu: string;
89
+ readonly started_at: string;
90
+ readonly completed_at: string;
91
+ readonly created_at: string;
92
+ readonly updated_at: string;
93
+ readonly actor: {
94
+ readonly id: string;
99
95
  readonly display_name: string;
96
+ readonly avatar_url: string;
97
+ };
98
+ readonly bouncer: {
99
+ readonly id: string;
100
100
  readonly name: string;
101
- readonly ram: number;
102
- readonly sort_order: number;
101
+ readonly created_at: string;
102
+ readonly updated_at: string;
103
+ readonly deleted_at: string;
103
104
  };
104
- readonly replicas_per_cell: number;
105
105
  readonly sku: {
106
- readonly cpu: string;
106
+ readonly name: string;
107
107
  readonly display_name: string;
108
+ readonly cpu: string;
109
+ readonly ram: number;
110
+ readonly sort_order: number;
111
+ };
112
+ readonly previous_sku: {
108
113
  readonly name: string;
114
+ readonly display_name: string;
115
+ readonly cpu: string;
109
116
  readonly ram: number;
110
117
  readonly sort_order: number;
111
118
  };
112
- readonly started_at: string;
113
- readonly state: "canceled" | "completed" | "pending" | "resizing";
114
- readonly updated_at: string;
115
119
  }[];
116
- readonly next_page: number | null;
117
- readonly next_page_url: string | null;
118
- readonly prev_page: number | null;
119
- readonly prev_page_url: string | null;
120
120
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
121
121
  //# sourceMappingURL=listBranchBouncerResizeRequests.d.ts.map
@@ -64,58 +64,58 @@ export type ListBranchChangeRequestsOutput = typeof ListBranchChangeRequestsOutp
64
64
  * @param per_page - If provided, specifies the number of returned results
65
65
  */
66
66
  export declare const listBranchChangeRequests: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
67
- readonly branch: string;
68
- readonly database: string;
69
67
  readonly organization: string;
68
+ readonly database: string;
69
+ readonly branch: string;
70
70
  readonly page?: number | undefined;
71
71
  readonly per_page?: number | undefined;
72
72
  }, {
73
73
  readonly current_page: number;
74
+ readonly next_page: number | null;
75
+ readonly next_page_url: string | null;
76
+ readonly prev_page: number | null;
77
+ readonly prev_page_url: string | null;
74
78
  readonly data: readonly {
79
+ readonly id: string;
80
+ readonly restart: readonly number[];
81
+ readonly state: "canceled" | "completed" | "pending" | "queued" | "resizing";
82
+ readonly started_at: string;
83
+ readonly completed_at: string;
84
+ readonly created_at: string;
85
+ readonly updated_at: string;
75
86
  readonly actor: {
76
- readonly avatar_url: string;
77
- readonly display_name: string;
78
87
  readonly id: string;
88
+ readonly display_name: string;
89
+ readonly avatar_url: string;
79
90
  };
91
+ readonly cluster_name: string;
80
92
  readonly cluster_display_name: string;
81
93
  readonly cluster_metal: boolean;
82
- readonly cluster_name: string;
83
- readonly completed_at: string;
84
- readonly created_at: string;
85
- readonly id: string;
86
- readonly maximum_storage_bytes: number;
87
- readonly minimum_storage_bytes: number;
94
+ readonly replicas: number;
88
95
  readonly parameters: {
89
96
  readonly [x: string]: unknown;
90
97
  };
98
+ readonly previous_cluster_name: string;
91
99
  readonly previous_cluster_display_name: string;
92
100
  readonly previous_cluster_metal: boolean;
93
- readonly previous_cluster_name: string;
94
- readonly previous_maximum_storage_bytes: number;
95
- readonly previous_minimum_storage_bytes: number;
101
+ readonly previous_replicas: number;
96
102
  readonly previous_parameters: {
97
103
  readonly [x: string]: unknown;
98
104
  };
99
- readonly previous_replicas: number;
100
- readonly previous_storage_autoscaling: boolean;
101
- readonly previous_storage_iops: number;
102
- readonly previous_storage_shrinking: boolean;
103
- readonly previous_storage_throughput_mibs: number;
104
- readonly previous_storage_type: string;
105
- readonly replicas: number;
106
- readonly restart: readonly number[];
107
- readonly started_at: string;
108
- readonly state: "canceled" | "completed" | "pending" | "queued" | "resizing";
105
+ readonly minimum_storage_bytes: number;
106
+ readonly maximum_storage_bytes: number;
109
107
  readonly storage_autoscaling: boolean;
110
- readonly storage_iops: number;
111
108
  readonly storage_shrinking: boolean;
112
- readonly storage_throughput_mibs: number;
113
109
  readonly storage_type: "gp3" | "io2" | "pd_ssd";
114
- readonly updated_at: string;
110
+ readonly storage_iops: number;
111
+ readonly storage_throughput_mibs: number;
112
+ readonly previous_minimum_storage_bytes: number;
113
+ readonly previous_maximum_storage_bytes: number;
114
+ readonly previous_storage_autoscaling: boolean;
115
+ readonly previous_storage_shrinking: boolean;
116
+ readonly previous_storage_type: string;
117
+ readonly previous_storage_iops: number;
118
+ readonly previous_storage_throughput_mibs: number;
115
119
  }[];
116
- readonly next_page: number | null;
117
- readonly next_page_url: string | null;
118
- readonly prev_page: number | null;
119
- readonly prev_page_url: string | null;
120
120
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
121
121
  //# sourceMappingURL=listBranchChangeRequests.d.ts.map
@@ -87,76 +87,76 @@ export type ListBranchesOutput = typeof ListBranchesOutput.Type;
87
87
  * @param per_page - If provided, specifies the number of returned results
88
88
  */
89
89
  export declare const listBranches: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
90
+ readonly organization: string;
90
91
  readonly database: string;
92
+ readonly q?: string | undefined;
93
+ readonly production?: boolean | undefined;
94
+ readonly safe_migrations?: boolean | undefined;
91
95
  readonly order?: "asc" | "desc" | undefined;
92
- readonly organization: string;
93
96
  readonly page?: number | undefined;
94
97
  readonly per_page?: number | undefined;
95
- readonly production?: boolean | undefined;
96
- readonly q?: string | undefined;
97
- readonly safe_migrations?: boolean | undefined;
98
98
  }, {
99
99
  readonly current_page: number;
100
+ readonly next_page: number | null;
101
+ readonly next_page_url: string | null;
102
+ readonly prev_page: number | null;
103
+ readonly prev_page_url: string | null;
100
104
  readonly data: readonly {
101
- readonly actor: {
102
- readonly avatar_url: string;
103
- readonly display_name: string;
104
- readonly id: string;
105
- };
106
- readonly cluster_iops: number | null;
107
- readonly cluster_name: string;
105
+ readonly id: string;
106
+ readonly name: string;
108
107
  readonly created_at: string;
108
+ readonly updated_at: string;
109
109
  readonly deleted_at: string | null;
110
- readonly direct_vtgate?: boolean | undefined;
111
- readonly has_read_only_replicas: boolean;
112
- readonly has_replicas: boolean;
113
- readonly html_url: string;
114
- readonly id: string;
110
+ readonly restore_checklist_completed_at: string | null;
111
+ readonly schema_last_updated_at: string;
115
112
  readonly kind: "mysql" | "postgresql";
116
- readonly metal: boolean;
117
113
  readonly mysql_address?: string | undefined;
118
114
  readonly mysql_edge_address?: string | undefined;
119
- readonly name: string;
120
- readonly parent_branch: string | null;
121
- readonly private_edge_connectivity: boolean;
122
- readonly production: boolean;
115
+ readonly state: "awakening" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
116
+ readonly direct_vtgate?: boolean | undefined;
117
+ readonly vtgate_size?: string | undefined;
118
+ readonly vtgate_count?: number | undefined;
119
+ readonly cluster_name: string;
120
+ readonly cluster_iops: number | null;
123
121
  readonly ready: boolean;
124
- readonly region: {
125
- readonly current_default: boolean;
126
- readonly display_name: string;
127
- readonly enabled: boolean;
122
+ readonly schema_ready?: boolean | undefined;
123
+ readonly metal: boolean;
124
+ readonly production: boolean;
125
+ readonly safe_migrations: boolean;
126
+ readonly sharded?: boolean | undefined;
127
+ readonly shard_count?: number | undefined;
128
+ readonly stale_schema: boolean;
129
+ readonly actor: {
128
130
  readonly id: string;
129
- readonly location: string;
130
- readonly provider: string;
131
- readonly public_ip_addresses: readonly string[];
132
- readonly slug: string;
131
+ readonly display_name: string;
132
+ readonly avatar_url: string;
133
133
  };
134
- readonly restore_checklist_completed_at: string | null;
135
134
  readonly restored_from_branch: {
136
- readonly created_at: string;
137
- readonly deleted_at: string;
138
135
  readonly id: string;
139
136
  readonly name: string;
137
+ readonly created_at: string;
140
138
  readonly updated_at: string;
139
+ readonly deleted_at: string;
141
140
  } | null;
142
- readonly safe_migrations: boolean;
143
- readonly schema_last_updated_at: string;
144
- readonly schema_ready?: boolean | undefined;
145
- readonly shard_count?: number | undefined;
146
- readonly sharded?: boolean | undefined;
147
- readonly stale_schema: boolean;
148
- readonly state: "awakening" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
149
- readonly updated_at: string;
141
+ readonly private_edge_connectivity: boolean;
142
+ readonly has_replicas: boolean;
143
+ readonly has_read_only_replicas: boolean;
144
+ readonly html_url: string;
150
145
  readonly url: string;
151
- readonly vtgate_count?: number | undefined;
146
+ readonly region: {
147
+ readonly id: string;
148
+ readonly provider: string;
149
+ readonly enabled: boolean;
150
+ readonly public_ip_addresses: readonly string[];
151
+ readonly display_name: string;
152
+ readonly location: string;
153
+ readonly slug: string;
154
+ readonly current_default: boolean;
155
+ };
156
+ readonly parent_branch: string | null;
152
157
  readonly vtgate_options?: {
153
158
  readonly [x: string]: unknown;
154
159
  } | undefined;
155
- readonly vtgate_size?: string | undefined;
156
160
  }[];
157
- readonly next_page: number | null;
158
- readonly next_page_url: string | null;
159
- readonly prev_page: number | null;
160
- readonly prev_page_url: string | null;
161
161
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
162
162
  //# sourceMappingURL=listBranches.d.ts.map