@distilled.cloud/planetscale 0.19.2 → 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.
- package/lib/credentials.d.ts +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +2 -2
- package/lib/credentials.js.map +1 -1
- package/lib/operations/addOrganizationTeamMember.d.ts +53 -53
- package/lib/operations/cancelBouncerResizeRequest.d.ts +3 -3
- package/lib/operations/cancelBranchChangeRequest.d.ts +2 -2
- package/lib/operations/cancelDeployRequest.d.ts +92 -92
- package/lib/operations/checkDeployRequestStorage.d.ts +5 -5
- package/lib/operations/closeDeployRequest.d.ts +92 -92
- package/lib/operations/completeErroredDeploy.d.ts +92 -92
- package/lib/operations/completeGatedDeployRequest.d.ts +92 -92
- package/lib/operations/completeRevert.d.ts +92 -92
- package/lib/operations/createBackup.d.ts +42 -42
- package/lib/operations/createBackupPolicy.d.ts +16 -16
- package/lib/operations/createBouncer.d.ts +38 -38
- package/lib/operations/createBranch.d.ts +43 -43
- package/lib/operations/createDatabase.d.ts +47 -47
- package/lib/operations/createDatabasePostgresCidr.d.ts +12 -12
- package/lib/operations/createDeployRequest.d.ts +95 -95
- package/lib/operations/createKeyspace.d.ts +21 -21
- package/lib/operations/createOauthToken.d.ts +48 -48
- package/lib/operations/createOrganizationTeam.d.ts +22 -22
- package/lib/operations/createPassword.d.ts +34 -34
- package/lib/operations/createQueryPatternsReport.d.ts +10 -10
- package/lib/operations/createRole.d.ts +28 -28
- package/lib/operations/createServiceToken.d.ts +46 -46
- package/lib/operations/createTrafficBudget.d.ts +29 -29
- package/lib/operations/createTrafficRule.d.ts +15 -15
- package/lib/operations/createWebhook.d.ts +8 -8
- package/lib/operations/createWorkflow.d.ts +75 -75
- package/lib/operations/deleteBackup.d.ts +2 -2
- package/lib/operations/deleteBackupPolicy.d.ts +1 -1
- package/lib/operations/deleteBouncer.d.ts +3 -3
- package/lib/operations/deleteBranch.d.ts +2 -2
- package/lib/operations/deleteDatabase.d.ts +1 -1
- package/lib/operations/deleteDatabasePostgresCidr.d.ts +1 -1
- package/lib/operations/deleteKeyspace.d.ts +2 -2
- package/lib/operations/deleteOauthToken.d.ts +1 -1
- package/lib/operations/deletePassword.d.ts +2 -2
- package/lib/operations/deleteQueryPatternsReport.d.ts +2 -2
- package/lib/operations/deleteRole.d.ts +2 -2
- package/lib/operations/deleteServiceToken.d.ts +1 -1
- package/lib/operations/deleteTrafficBudget.d.ts +2 -2
- package/lib/operations/deleteTrafficRule.d.ts +2 -2
- package/lib/operations/deleteWebhook.d.ts +1 -1
- package/lib/operations/demoteBranch.d.ts +40 -40
- package/lib/operations/disableSafeMigrations.d.ts +40 -40
- package/lib/operations/dismissSchemaRecommendation.d.ts +16 -16
- package/lib/operations/enableSafeMigrations.d.ts +40 -40
- package/lib/operations/getBackup.d.ts +41 -41
- package/lib/operations/getBackupPolicy.d.ts +11 -11
- package/lib/operations/getBouncer.d.ts +37 -37
- package/lib/operations/getBranch.d.ts +40 -40
- package/lib/operations/getBranchChangeRequest.d.ts +26 -26
- package/lib/operations/getBranchSchema.d.ts +3 -3
- package/lib/operations/getCurrentUser.d.ts +10 -10
- package/lib/operations/getDatabase.d.ts +43 -43
- package/lib/operations/getDatabasePostgresCidr.d.ts +10 -10
- package/lib/operations/getDatabaseThrottler.d.ts +4 -4
- package/lib/operations/getDefaultRole.d.ts +26 -26
- package/lib/operations/getDeployQueue.d.ts +74 -74
- package/lib/operations/getDeployRequest.d.ts +92 -92
- package/lib/operations/getDeployRequestThrottler.d.ts +4 -4
- package/lib/operations/getDeployment.d.ts +70 -70
- package/lib/operations/getInvoice.d.ts +5 -5
- package/lib/operations/getInvoiceLineItems.d.ts +11 -11
- package/lib/operations/getKeyspace.d.ts +20 -20
- package/lib/operations/getKeyspaceRolloutStatus.d.ts +5 -5
- package/lib/operations/getKeyspaceVschema.d.ts +2 -2
- package/lib/operations/getMaintenanceSchedule.d.ts +14 -14
- package/lib/operations/getOauthApplication.d.ts +12 -12
- package/lib/operations/getOauthToken.d.ts +46 -46
- package/lib/operations/getOrganization.d.ts +12 -12
- package/lib/operations/getOrganizationMembership.d.ts +14 -14
- package/lib/operations/getOrganizationTeam.d.ts +20 -20
- package/lib/operations/getOrganizationTeamMember.d.ts +54 -54
- package/lib/operations/getPassword.d.ts +31 -31
- package/lib/operations/getQueryPatternsReport.d.ts +2 -2
- package/lib/operations/getQueryPatternsReportStatus.d.ts +10 -10
- package/lib/operations/getRole.d.ts +26 -26
- package/lib/operations/getSchemaRecommendation.d.ts +16 -16
- package/lib/operations/getServiceToken.d.ts +46 -46
- package/lib/operations/getTrafficBudget.d.ts +24 -24
- package/lib/operations/getWebhook.d.ts +7 -7
- package/lib/operations/getWorkflow.d.ts +71 -71
- package/lib/operations/lintBranchSchema.d.ts +18 -18
- package/lib/operations/listAuditLogs.d.ts +16 -16
- package/lib/operations/listBackupPolicies.d.ts +15 -15
- package/lib/operations/listBackups.d.ts +51 -51
- package/lib/operations/listBouncerResizeRequests.d.ts +31 -31
- package/lib/operations/listBouncers.d.ts +40 -40
- package/lib/operations/listBranchBouncerResizeRequests.d.ts +30 -30
- package/lib/operations/listBranchChangeRequests.d.ts +30 -30
- package/lib/operations/listBranches.d.ts +46 -46
- package/lib/operations/listClusterSizeSkus.d.ts +12 -12
- package/lib/operations/listDatabasePostgresCidrs.d.ts +14 -14
- package/lib/operations/listDatabaseRegions.d.ts +9 -9
- package/lib/operations/listDatabases.d.ts +47 -47
- package/lib/operations/listDeployOperations.d.ts +16 -16
- package/lib/operations/listDeployRequestReviews.d.ts +12 -12
- package/lib/operations/listDeployRequests.d.ts +100 -100
- package/lib/operations/listExtensions.d.ts +24 -24
- package/lib/operations/listGeneratedQueryPatternsReports.d.ts +14 -14
- package/lib/operations/listInvoices.d.ts +8 -8
- package/lib/operations/listKeyspaces.d.ts +24 -24
- package/lib/operations/listMaintenanceSchedules.d.ts +18 -18
- package/lib/operations/listMaintenanceWindows.d.ts +8 -8
- package/lib/operations/listOauthApplications.d.ts +15 -15
- package/lib/operations/listOauthTokens.d.ts +50 -50
- package/lib/operations/listOrganizationMembers.d.ts +18 -18
- package/lib/operations/listOrganizationTeamMembers.d.ts +58 -58
- package/lib/operations/listOrganizationTeams.d.ts +25 -25
- package/lib/operations/listOrganizations.d.ts +16 -16
- package/lib/operations/listParameters.d.ts +18 -18
- package/lib/operations/listPasswords.d.ts +36 -36
- package/lib/operations/listPublicRegions.d.ts +7 -7
- package/lib/operations/listReadOnlyRegions.d.ts +17 -17
- package/lib/operations/listRegionsForOrganization.d.ts +8 -8
- package/lib/operations/listRoles.d.ts +30 -30
- package/lib/operations/listSchemaRecommendations.d.ts +21 -21
- package/lib/operations/listServiceTokens.d.ts +49 -49
- package/lib/operations/listTrafficBudgets.d.ts +30 -30
- package/lib/operations/listWebhooks.d.ts +11 -11
- package/lib/operations/listWorkflows.d.ts +76 -76
- package/lib/operations/promoteBranch.d.ts +40 -40
- package/lib/operations/queueDeployRequest.d.ts +93 -93
- package/lib/operations/reassignRoleObjects.d.ts +2 -2
- package/lib/operations/removeOrganizationMember.d.ts +2 -2
- package/lib/operations/removeOrganizationTeamMember.d.ts +2 -2
- package/lib/operations/renewPassword.d.ts +31 -31
- package/lib/operations/renewRole.d.ts +26 -26
- package/lib/operations/resetDefaultRole.d.ts +26 -26
- package/lib/operations/resetRole.d.ts +26 -26
- package/lib/operations/reviewDeployRequest.d.ts +9 -9
- package/lib/operations/skipRevertPeriod.d.ts +92 -92
- package/lib/operations/testWebhook.d.ts +1 -1
- package/lib/operations/updateAutoApply.d.ts +93 -93
- package/lib/operations/updateAutoDeleteBranch.d.ts +93 -93
- package/lib/operations/updateBackup.d.ts +41 -41
- package/lib/operations/updateBackupPolicy.d.ts +17 -17
- package/lib/operations/updateBouncerResizeRequest.d.ts +28 -28
- package/lib/operations/updateBranch.d.ts +40 -40
- package/lib/operations/updateBranchChangeRequest.d.ts +27 -27
- package/lib/operations/updateBranchClusterConfig.d.ts +2 -2
- package/lib/operations/updateDatabasePostgresCidr.d.ts +12 -12
- package/lib/operations/updateDatabaseSettings.d.ts +50 -50
- package/lib/operations/updateDatabaseThrottler.d.ts +5 -5
- package/lib/operations/updateDeployRequestThrottler.d.ts +5 -5
- package/lib/operations/updateKeyspace.d.ts +20 -20
- package/lib/operations/updateKeyspaceVschema.d.ts +2 -2
- package/lib/operations/updateOrganization.d.ts +13 -13
- package/lib/operations/updateOrganizationMembership.d.ts +14 -14
- package/lib/operations/updateOrganizationTeam.d.ts +22 -22
- package/lib/operations/updatePassword.d.ts +32 -32
- package/lib/operations/updateRole.d.ts +26 -26
- package/lib/operations/updateTrafficBudget.d.ts +29 -29
- package/lib/operations/updateWebhook.d.ts +9 -9
- package/lib/operations/verifyWorkflow.d.ts +71 -71
- package/lib/operations/workflowCancel.d.ts +71 -71
- package/lib/operations/workflowComplete.d.ts +71 -71
- package/lib/operations/workflowCutover.d.ts +71 -71
- package/lib/operations/workflowRetry.d.ts +71 -71
- package/lib/operations/workflowReverseCutover.d.ts +71 -71
- package/lib/operations/workflowReverseTraffic.d.ts +71 -71
- package/lib/operations/workflowSwitchPrimaries.d.ts +71 -71
- package/lib/operations/workflowSwitchReplicas.d.ts +71 -71
- package/package.json +3 -3
- package/src/credentials.ts +2 -2
|
@@ -122,114 +122,114 @@ export type WorkflowCompleteOutput = typeof WorkflowCompleteOutput.Type;
|
|
|
122
122
|
* @param number - The sequence number of the workflow
|
|
123
123
|
*/
|
|
124
124
|
export declare const workflowComplete: import("@distilled.cloud/core/client").OperationMethod<{
|
|
125
|
+
readonly organization: string;
|
|
125
126
|
readonly database: string;
|
|
126
127
|
readonly number: number;
|
|
127
|
-
readonly organization: string;
|
|
128
128
|
}, {
|
|
129
|
+
readonly id: string;
|
|
130
|
+
readonly name: string;
|
|
131
|
+
readonly number: number;
|
|
132
|
+
readonly state: "cancelled" | "cancelling" | "completed" | "copying" | "cutover" | "cutting_over" | "error" | "pending" | "reversed_cutover" | "reversing_traffic" | "reversing_traffic_for_cancel" | "running" | "stopped" | "switched_primaries" | "switched_replicas" | "switching_primaries" | "switching_replicas" | "verified_data" | "verifying_data";
|
|
133
|
+
readonly created_at: string;
|
|
134
|
+
readonly updated_at: string;
|
|
135
|
+
readonly started_at: string;
|
|
136
|
+
readonly completed_at: string;
|
|
137
|
+
readonly cancelled_at: string;
|
|
138
|
+
readonly reversed_at: string;
|
|
139
|
+
readonly retried_at: string;
|
|
140
|
+
readonly data_copy_completed_at: string;
|
|
141
|
+
readonly cutover_at: string;
|
|
142
|
+
readonly replicas_switched: boolean;
|
|
143
|
+
readonly primaries_switched: boolean;
|
|
144
|
+
readonly switch_replicas_at: string;
|
|
145
|
+
readonly switch_primaries_at: string;
|
|
146
|
+
readonly verify_data_at: string;
|
|
147
|
+
readonly workflow_type: "move_tables";
|
|
148
|
+
readonly workflow_subtype: string;
|
|
149
|
+
readonly defer_secondary_keys: boolean;
|
|
150
|
+
readonly on_ddl: "EXEC" | "EXEC_IGNORE" | "IGNORE" | "STOP";
|
|
151
|
+
readonly workflow_errors: string;
|
|
152
|
+
readonly may_retry: boolean;
|
|
153
|
+
readonly may_restart: boolean;
|
|
154
|
+
readonly verified_data_stale: boolean;
|
|
155
|
+
readonly sequence_tables_applied: boolean;
|
|
129
156
|
readonly actor: {
|
|
130
|
-
readonly avatar_url: string;
|
|
131
|
-
readonly display_name: string;
|
|
132
157
|
readonly id: string;
|
|
158
|
+
readonly display_name: string;
|
|
159
|
+
readonly avatar_url: string;
|
|
133
160
|
};
|
|
134
|
-
readonly
|
|
135
|
-
readonly created_at: string;
|
|
136
|
-
readonly deleted_at: string;
|
|
161
|
+
readonly verify_data_by: {
|
|
137
162
|
readonly id: string;
|
|
138
|
-
readonly name: string;
|
|
139
|
-
readonly updated_at: string;
|
|
140
|
-
};
|
|
141
|
-
readonly cancelled_at: string;
|
|
142
|
-
readonly cancelled_by: {
|
|
143
|
-
readonly avatar_url: string;
|
|
144
163
|
readonly display_name: string;
|
|
145
|
-
readonly id: string;
|
|
146
|
-
};
|
|
147
|
-
readonly completed_at: string;
|
|
148
|
-
readonly completed_by: {
|
|
149
164
|
readonly avatar_url: string;
|
|
150
|
-
|
|
165
|
+
};
|
|
166
|
+
readonly reversed_by: {
|
|
151
167
|
readonly id: string;
|
|
168
|
+
readonly display_name: string;
|
|
169
|
+
readonly avatar_url: string;
|
|
152
170
|
};
|
|
153
|
-
readonly
|
|
154
|
-
|
|
155
|
-
|
|
171
|
+
readonly switch_replicas_by: {
|
|
172
|
+
readonly id: string;
|
|
173
|
+
readonly display_name: string;
|
|
156
174
|
readonly avatar_url: string;
|
|
175
|
+
};
|
|
176
|
+
readonly switch_primaries_by: {
|
|
177
|
+
readonly id: string;
|
|
157
178
|
readonly display_name: string;
|
|
179
|
+
readonly avatar_url: string;
|
|
180
|
+
};
|
|
181
|
+
readonly cancelled_by: {
|
|
158
182
|
readonly id: string;
|
|
183
|
+
readonly display_name: string;
|
|
184
|
+
readonly avatar_url: string;
|
|
159
185
|
};
|
|
160
|
-
readonly
|
|
161
|
-
readonly defer_secondary_keys: boolean;
|
|
162
|
-
readonly global_keyspace: {
|
|
163
|
-
readonly created_at: string;
|
|
164
|
-
readonly deleted_at: string;
|
|
186
|
+
readonly completed_by: {
|
|
165
187
|
readonly id: string;
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
188
|
+
readonly display_name: string;
|
|
189
|
+
readonly avatar_url: string;
|
|
168
190
|
};
|
|
169
|
-
readonly id: string;
|
|
170
|
-
readonly may_restart: boolean;
|
|
171
|
-
readonly may_retry: boolean;
|
|
172
|
-
readonly name: string;
|
|
173
|
-
readonly number: number;
|
|
174
|
-
readonly on_ddl: "EXEC" | "EXEC_IGNORE" | "IGNORE" | "STOP";
|
|
175
|
-
readonly primaries_switched: boolean;
|
|
176
|
-
readonly replicas_switched: boolean;
|
|
177
|
-
readonly retried_at: string;
|
|
178
191
|
readonly retried_by: {
|
|
179
|
-
readonly avatar_url: string;
|
|
180
|
-
readonly display_name: string;
|
|
181
192
|
readonly id: string;
|
|
182
|
-
};
|
|
183
|
-
readonly reversed_at: string;
|
|
184
|
-
readonly reversed_by: {
|
|
185
|
-
readonly avatar_url: string;
|
|
186
193
|
readonly display_name: string;
|
|
194
|
+
readonly avatar_url: string;
|
|
195
|
+
};
|
|
196
|
+
readonly cutover_by: {
|
|
187
197
|
readonly id: string;
|
|
198
|
+
readonly display_name: string;
|
|
199
|
+
readonly avatar_url: string;
|
|
188
200
|
};
|
|
189
201
|
readonly reversed_cutover_by: {
|
|
190
|
-
readonly avatar_url: string;
|
|
191
|
-
readonly display_name: string;
|
|
192
202
|
readonly id: string;
|
|
203
|
+
readonly display_name: string;
|
|
204
|
+
readonly avatar_url: string;
|
|
193
205
|
};
|
|
194
|
-
readonly
|
|
195
|
-
readonly source_keyspace: {
|
|
196
|
-
readonly created_at: string;
|
|
197
|
-
readonly deleted_at: string;
|
|
206
|
+
readonly branch: {
|
|
198
207
|
readonly id: string;
|
|
199
208
|
readonly name: string;
|
|
209
|
+
readonly created_at: string;
|
|
200
210
|
readonly updated_at: string;
|
|
211
|
+
readonly deleted_at: string;
|
|
201
212
|
};
|
|
202
|
-
readonly
|
|
203
|
-
readonly state: "cancelled" | "cancelling" | "completed" | "copying" | "cutover" | "cutting_over" | "error" | "pending" | "reversed_cutover" | "reversing_traffic" | "reversing_traffic_for_cancel" | "running" | "stopped" | "switched_primaries" | "switched_replicas" | "switching_primaries" | "switching_replicas" | "verified_data" | "verifying_data";
|
|
204
|
-
readonly switch_primaries_at: string;
|
|
205
|
-
readonly switch_primaries_by: {
|
|
206
|
-
readonly avatar_url: string;
|
|
207
|
-
readonly display_name: string;
|
|
208
|
-
readonly id: string;
|
|
209
|
-
};
|
|
210
|
-
readonly switch_replicas_at: string;
|
|
211
|
-
readonly switch_replicas_by: {
|
|
212
|
-
readonly avatar_url: string;
|
|
213
|
-
readonly display_name: string;
|
|
213
|
+
readonly source_keyspace: {
|
|
214
214
|
readonly id: string;
|
|
215
|
-
|
|
216
|
-
readonly target_keyspace: {
|
|
215
|
+
readonly name: string;
|
|
217
216
|
readonly created_at: string;
|
|
217
|
+
readonly updated_at: string;
|
|
218
218
|
readonly deleted_at: string;
|
|
219
|
+
};
|
|
220
|
+
readonly target_keyspace: {
|
|
219
221
|
readonly id: string;
|
|
220
222
|
readonly name: string;
|
|
223
|
+
readonly created_at: string;
|
|
221
224
|
readonly updated_at: string;
|
|
225
|
+
readonly deleted_at: string;
|
|
222
226
|
};
|
|
223
|
-
readonly
|
|
224
|
-
readonly verified_data_stale: boolean;
|
|
225
|
-
readonly verify_data_at: string;
|
|
226
|
-
readonly verify_data_by: {
|
|
227
|
-
readonly avatar_url: string;
|
|
228
|
-
readonly display_name: string;
|
|
227
|
+
readonly global_keyspace: {
|
|
229
228
|
readonly id: string;
|
|
229
|
+
readonly name: string;
|
|
230
|
+
readonly created_at: string;
|
|
231
|
+
readonly updated_at: string;
|
|
232
|
+
readonly deleted_at: string;
|
|
230
233
|
};
|
|
231
|
-
readonly workflow_errors: string;
|
|
232
|
-
readonly workflow_subtype: string;
|
|
233
|
-
readonly workflow_type: "move_tables";
|
|
234
234
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
235
235
|
//# sourceMappingURL=workflowComplete.d.ts.map
|
|
@@ -122,114 +122,114 @@ export type WorkflowCutoverOutput = typeof WorkflowCutoverOutput.Type;
|
|
|
122
122
|
* @param number - The sequence number of the workflow
|
|
123
123
|
*/
|
|
124
124
|
export declare const workflowCutover: import("@distilled.cloud/core/client").OperationMethod<{
|
|
125
|
+
readonly organization: string;
|
|
125
126
|
readonly database: string;
|
|
126
127
|
readonly number: number;
|
|
127
|
-
readonly organization: string;
|
|
128
128
|
}, {
|
|
129
|
+
readonly id: string;
|
|
130
|
+
readonly name: string;
|
|
131
|
+
readonly number: number;
|
|
132
|
+
readonly state: "cancelled" | "cancelling" | "completed" | "copying" | "cutover" | "cutting_over" | "error" | "pending" | "reversed_cutover" | "reversing_traffic" | "reversing_traffic_for_cancel" | "running" | "stopped" | "switched_primaries" | "switched_replicas" | "switching_primaries" | "switching_replicas" | "verified_data" | "verifying_data";
|
|
133
|
+
readonly created_at: string;
|
|
134
|
+
readonly updated_at: string;
|
|
135
|
+
readonly started_at: string;
|
|
136
|
+
readonly completed_at: string;
|
|
137
|
+
readonly cancelled_at: string;
|
|
138
|
+
readonly reversed_at: string;
|
|
139
|
+
readonly retried_at: string;
|
|
140
|
+
readonly data_copy_completed_at: string;
|
|
141
|
+
readonly cutover_at: string;
|
|
142
|
+
readonly replicas_switched: boolean;
|
|
143
|
+
readonly primaries_switched: boolean;
|
|
144
|
+
readonly switch_replicas_at: string;
|
|
145
|
+
readonly switch_primaries_at: string;
|
|
146
|
+
readonly verify_data_at: string;
|
|
147
|
+
readonly workflow_type: "move_tables";
|
|
148
|
+
readonly workflow_subtype: string;
|
|
149
|
+
readonly defer_secondary_keys: boolean;
|
|
150
|
+
readonly on_ddl: "EXEC" | "EXEC_IGNORE" | "IGNORE" | "STOP";
|
|
151
|
+
readonly workflow_errors: string;
|
|
152
|
+
readonly may_retry: boolean;
|
|
153
|
+
readonly may_restart: boolean;
|
|
154
|
+
readonly verified_data_stale: boolean;
|
|
155
|
+
readonly sequence_tables_applied: boolean;
|
|
129
156
|
readonly actor: {
|
|
130
|
-
readonly avatar_url: string;
|
|
131
|
-
readonly display_name: string;
|
|
132
157
|
readonly id: string;
|
|
158
|
+
readonly display_name: string;
|
|
159
|
+
readonly avatar_url: string;
|
|
133
160
|
};
|
|
134
|
-
readonly
|
|
135
|
-
readonly created_at: string;
|
|
136
|
-
readonly deleted_at: string;
|
|
161
|
+
readonly verify_data_by: {
|
|
137
162
|
readonly id: string;
|
|
138
|
-
readonly name: string;
|
|
139
|
-
readonly updated_at: string;
|
|
140
|
-
};
|
|
141
|
-
readonly cancelled_at: string;
|
|
142
|
-
readonly cancelled_by: {
|
|
143
|
-
readonly avatar_url: string;
|
|
144
163
|
readonly display_name: string;
|
|
145
|
-
readonly id: string;
|
|
146
|
-
};
|
|
147
|
-
readonly completed_at: string;
|
|
148
|
-
readonly completed_by: {
|
|
149
164
|
readonly avatar_url: string;
|
|
150
|
-
|
|
165
|
+
};
|
|
166
|
+
readonly reversed_by: {
|
|
151
167
|
readonly id: string;
|
|
168
|
+
readonly display_name: string;
|
|
169
|
+
readonly avatar_url: string;
|
|
152
170
|
};
|
|
153
|
-
readonly
|
|
154
|
-
|
|
155
|
-
|
|
171
|
+
readonly switch_replicas_by: {
|
|
172
|
+
readonly id: string;
|
|
173
|
+
readonly display_name: string;
|
|
156
174
|
readonly avatar_url: string;
|
|
175
|
+
};
|
|
176
|
+
readonly switch_primaries_by: {
|
|
177
|
+
readonly id: string;
|
|
157
178
|
readonly display_name: string;
|
|
179
|
+
readonly avatar_url: string;
|
|
180
|
+
};
|
|
181
|
+
readonly cancelled_by: {
|
|
158
182
|
readonly id: string;
|
|
183
|
+
readonly display_name: string;
|
|
184
|
+
readonly avatar_url: string;
|
|
159
185
|
};
|
|
160
|
-
readonly
|
|
161
|
-
readonly defer_secondary_keys: boolean;
|
|
162
|
-
readonly global_keyspace: {
|
|
163
|
-
readonly created_at: string;
|
|
164
|
-
readonly deleted_at: string;
|
|
186
|
+
readonly completed_by: {
|
|
165
187
|
readonly id: string;
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
188
|
+
readonly display_name: string;
|
|
189
|
+
readonly avatar_url: string;
|
|
168
190
|
};
|
|
169
|
-
readonly id: string;
|
|
170
|
-
readonly may_restart: boolean;
|
|
171
|
-
readonly may_retry: boolean;
|
|
172
|
-
readonly name: string;
|
|
173
|
-
readonly number: number;
|
|
174
|
-
readonly on_ddl: "EXEC" | "EXEC_IGNORE" | "IGNORE" | "STOP";
|
|
175
|
-
readonly primaries_switched: boolean;
|
|
176
|
-
readonly replicas_switched: boolean;
|
|
177
|
-
readonly retried_at: string;
|
|
178
191
|
readonly retried_by: {
|
|
179
|
-
readonly avatar_url: string;
|
|
180
|
-
readonly display_name: string;
|
|
181
192
|
readonly id: string;
|
|
182
|
-
};
|
|
183
|
-
readonly reversed_at: string;
|
|
184
|
-
readonly reversed_by: {
|
|
185
|
-
readonly avatar_url: string;
|
|
186
193
|
readonly display_name: string;
|
|
194
|
+
readonly avatar_url: string;
|
|
195
|
+
};
|
|
196
|
+
readonly cutover_by: {
|
|
187
197
|
readonly id: string;
|
|
198
|
+
readonly display_name: string;
|
|
199
|
+
readonly avatar_url: string;
|
|
188
200
|
};
|
|
189
201
|
readonly reversed_cutover_by: {
|
|
190
|
-
readonly avatar_url: string;
|
|
191
|
-
readonly display_name: string;
|
|
192
202
|
readonly id: string;
|
|
203
|
+
readonly display_name: string;
|
|
204
|
+
readonly avatar_url: string;
|
|
193
205
|
};
|
|
194
|
-
readonly
|
|
195
|
-
readonly source_keyspace: {
|
|
196
|
-
readonly created_at: string;
|
|
197
|
-
readonly deleted_at: string;
|
|
206
|
+
readonly branch: {
|
|
198
207
|
readonly id: string;
|
|
199
208
|
readonly name: string;
|
|
209
|
+
readonly created_at: string;
|
|
200
210
|
readonly updated_at: string;
|
|
211
|
+
readonly deleted_at: string;
|
|
201
212
|
};
|
|
202
|
-
readonly
|
|
203
|
-
readonly state: "cancelled" | "cancelling" | "completed" | "copying" | "cutover" | "cutting_over" | "error" | "pending" | "reversed_cutover" | "reversing_traffic" | "reversing_traffic_for_cancel" | "running" | "stopped" | "switched_primaries" | "switched_replicas" | "switching_primaries" | "switching_replicas" | "verified_data" | "verifying_data";
|
|
204
|
-
readonly switch_primaries_at: string;
|
|
205
|
-
readonly switch_primaries_by: {
|
|
206
|
-
readonly avatar_url: string;
|
|
207
|
-
readonly display_name: string;
|
|
208
|
-
readonly id: string;
|
|
209
|
-
};
|
|
210
|
-
readonly switch_replicas_at: string;
|
|
211
|
-
readonly switch_replicas_by: {
|
|
212
|
-
readonly avatar_url: string;
|
|
213
|
-
readonly display_name: string;
|
|
213
|
+
readonly source_keyspace: {
|
|
214
214
|
readonly id: string;
|
|
215
|
-
|
|
216
|
-
readonly target_keyspace: {
|
|
215
|
+
readonly name: string;
|
|
217
216
|
readonly created_at: string;
|
|
217
|
+
readonly updated_at: string;
|
|
218
218
|
readonly deleted_at: string;
|
|
219
|
+
};
|
|
220
|
+
readonly target_keyspace: {
|
|
219
221
|
readonly id: string;
|
|
220
222
|
readonly name: string;
|
|
223
|
+
readonly created_at: string;
|
|
221
224
|
readonly updated_at: string;
|
|
225
|
+
readonly deleted_at: string;
|
|
222
226
|
};
|
|
223
|
-
readonly
|
|
224
|
-
readonly verified_data_stale: boolean;
|
|
225
|
-
readonly verify_data_at: string;
|
|
226
|
-
readonly verify_data_by: {
|
|
227
|
-
readonly avatar_url: string;
|
|
228
|
-
readonly display_name: string;
|
|
227
|
+
readonly global_keyspace: {
|
|
229
228
|
readonly id: string;
|
|
229
|
+
readonly name: string;
|
|
230
|
+
readonly created_at: string;
|
|
231
|
+
readonly updated_at: string;
|
|
232
|
+
readonly deleted_at: string;
|
|
230
233
|
};
|
|
231
|
-
readonly workflow_errors: string;
|
|
232
|
-
readonly workflow_subtype: string;
|
|
233
|
-
readonly workflow_type: "move_tables";
|
|
234
234
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
235
235
|
//# sourceMappingURL=workflowCutover.d.ts.map
|
|
@@ -122,114 +122,114 @@ export type WorkflowRetryOutput = typeof WorkflowRetryOutput.Type;
|
|
|
122
122
|
* @param number - The sequence number of the workflow
|
|
123
123
|
*/
|
|
124
124
|
export declare const workflowRetry: import("@distilled.cloud/core/client").OperationMethod<{
|
|
125
|
+
readonly organization: string;
|
|
125
126
|
readonly database: string;
|
|
126
127
|
readonly number: number;
|
|
127
|
-
readonly organization: string;
|
|
128
128
|
}, {
|
|
129
|
+
readonly id: string;
|
|
130
|
+
readonly name: string;
|
|
131
|
+
readonly number: number;
|
|
132
|
+
readonly state: "cancelled" | "cancelling" | "completed" | "copying" | "cutover" | "cutting_over" | "error" | "pending" | "reversed_cutover" | "reversing_traffic" | "reversing_traffic_for_cancel" | "running" | "stopped" | "switched_primaries" | "switched_replicas" | "switching_primaries" | "switching_replicas" | "verified_data" | "verifying_data";
|
|
133
|
+
readonly created_at: string;
|
|
134
|
+
readonly updated_at: string;
|
|
135
|
+
readonly started_at: string;
|
|
136
|
+
readonly completed_at: string;
|
|
137
|
+
readonly cancelled_at: string;
|
|
138
|
+
readonly reversed_at: string;
|
|
139
|
+
readonly retried_at: string;
|
|
140
|
+
readonly data_copy_completed_at: string;
|
|
141
|
+
readonly cutover_at: string;
|
|
142
|
+
readonly replicas_switched: boolean;
|
|
143
|
+
readonly primaries_switched: boolean;
|
|
144
|
+
readonly switch_replicas_at: string;
|
|
145
|
+
readonly switch_primaries_at: string;
|
|
146
|
+
readonly verify_data_at: string;
|
|
147
|
+
readonly workflow_type: "move_tables";
|
|
148
|
+
readonly workflow_subtype: string;
|
|
149
|
+
readonly defer_secondary_keys: boolean;
|
|
150
|
+
readonly on_ddl: "EXEC" | "EXEC_IGNORE" | "IGNORE" | "STOP";
|
|
151
|
+
readonly workflow_errors: string;
|
|
152
|
+
readonly may_retry: boolean;
|
|
153
|
+
readonly may_restart: boolean;
|
|
154
|
+
readonly verified_data_stale: boolean;
|
|
155
|
+
readonly sequence_tables_applied: boolean;
|
|
129
156
|
readonly actor: {
|
|
130
|
-
readonly avatar_url: string;
|
|
131
|
-
readonly display_name: string;
|
|
132
157
|
readonly id: string;
|
|
158
|
+
readonly display_name: string;
|
|
159
|
+
readonly avatar_url: string;
|
|
133
160
|
};
|
|
134
|
-
readonly
|
|
135
|
-
readonly created_at: string;
|
|
136
|
-
readonly deleted_at: string;
|
|
161
|
+
readonly verify_data_by: {
|
|
137
162
|
readonly id: string;
|
|
138
|
-
readonly name: string;
|
|
139
|
-
readonly updated_at: string;
|
|
140
|
-
};
|
|
141
|
-
readonly cancelled_at: string;
|
|
142
|
-
readonly cancelled_by: {
|
|
143
|
-
readonly avatar_url: string;
|
|
144
163
|
readonly display_name: string;
|
|
145
|
-
readonly id: string;
|
|
146
|
-
};
|
|
147
|
-
readonly completed_at: string;
|
|
148
|
-
readonly completed_by: {
|
|
149
164
|
readonly avatar_url: string;
|
|
150
|
-
|
|
165
|
+
};
|
|
166
|
+
readonly reversed_by: {
|
|
151
167
|
readonly id: string;
|
|
168
|
+
readonly display_name: string;
|
|
169
|
+
readonly avatar_url: string;
|
|
152
170
|
};
|
|
153
|
-
readonly
|
|
154
|
-
|
|
155
|
-
|
|
171
|
+
readonly switch_replicas_by: {
|
|
172
|
+
readonly id: string;
|
|
173
|
+
readonly display_name: string;
|
|
156
174
|
readonly avatar_url: string;
|
|
175
|
+
};
|
|
176
|
+
readonly switch_primaries_by: {
|
|
177
|
+
readonly id: string;
|
|
157
178
|
readonly display_name: string;
|
|
179
|
+
readonly avatar_url: string;
|
|
180
|
+
};
|
|
181
|
+
readonly cancelled_by: {
|
|
158
182
|
readonly id: string;
|
|
183
|
+
readonly display_name: string;
|
|
184
|
+
readonly avatar_url: string;
|
|
159
185
|
};
|
|
160
|
-
readonly
|
|
161
|
-
readonly defer_secondary_keys: boolean;
|
|
162
|
-
readonly global_keyspace: {
|
|
163
|
-
readonly created_at: string;
|
|
164
|
-
readonly deleted_at: string;
|
|
186
|
+
readonly completed_by: {
|
|
165
187
|
readonly id: string;
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
188
|
+
readonly display_name: string;
|
|
189
|
+
readonly avatar_url: string;
|
|
168
190
|
};
|
|
169
|
-
readonly id: string;
|
|
170
|
-
readonly may_restart: boolean;
|
|
171
|
-
readonly may_retry: boolean;
|
|
172
|
-
readonly name: string;
|
|
173
|
-
readonly number: number;
|
|
174
|
-
readonly on_ddl: "EXEC" | "EXEC_IGNORE" | "IGNORE" | "STOP";
|
|
175
|
-
readonly primaries_switched: boolean;
|
|
176
|
-
readonly replicas_switched: boolean;
|
|
177
|
-
readonly retried_at: string;
|
|
178
191
|
readonly retried_by: {
|
|
179
|
-
readonly avatar_url: string;
|
|
180
|
-
readonly display_name: string;
|
|
181
192
|
readonly id: string;
|
|
182
|
-
};
|
|
183
|
-
readonly reversed_at: string;
|
|
184
|
-
readonly reversed_by: {
|
|
185
|
-
readonly avatar_url: string;
|
|
186
193
|
readonly display_name: string;
|
|
194
|
+
readonly avatar_url: string;
|
|
195
|
+
};
|
|
196
|
+
readonly cutover_by: {
|
|
187
197
|
readonly id: string;
|
|
198
|
+
readonly display_name: string;
|
|
199
|
+
readonly avatar_url: string;
|
|
188
200
|
};
|
|
189
201
|
readonly reversed_cutover_by: {
|
|
190
|
-
readonly avatar_url: string;
|
|
191
|
-
readonly display_name: string;
|
|
192
202
|
readonly id: string;
|
|
203
|
+
readonly display_name: string;
|
|
204
|
+
readonly avatar_url: string;
|
|
193
205
|
};
|
|
194
|
-
readonly
|
|
195
|
-
readonly source_keyspace: {
|
|
196
|
-
readonly created_at: string;
|
|
197
|
-
readonly deleted_at: string;
|
|
206
|
+
readonly branch: {
|
|
198
207
|
readonly id: string;
|
|
199
208
|
readonly name: string;
|
|
209
|
+
readonly created_at: string;
|
|
200
210
|
readonly updated_at: string;
|
|
211
|
+
readonly deleted_at: string;
|
|
201
212
|
};
|
|
202
|
-
readonly
|
|
203
|
-
readonly state: "cancelled" | "cancelling" | "completed" | "copying" | "cutover" | "cutting_over" | "error" | "pending" | "reversed_cutover" | "reversing_traffic" | "reversing_traffic_for_cancel" | "running" | "stopped" | "switched_primaries" | "switched_replicas" | "switching_primaries" | "switching_replicas" | "verified_data" | "verifying_data";
|
|
204
|
-
readonly switch_primaries_at: string;
|
|
205
|
-
readonly switch_primaries_by: {
|
|
206
|
-
readonly avatar_url: string;
|
|
207
|
-
readonly display_name: string;
|
|
208
|
-
readonly id: string;
|
|
209
|
-
};
|
|
210
|
-
readonly switch_replicas_at: string;
|
|
211
|
-
readonly switch_replicas_by: {
|
|
212
|
-
readonly avatar_url: string;
|
|
213
|
-
readonly display_name: string;
|
|
213
|
+
readonly source_keyspace: {
|
|
214
214
|
readonly id: string;
|
|
215
|
-
|
|
216
|
-
readonly target_keyspace: {
|
|
215
|
+
readonly name: string;
|
|
217
216
|
readonly created_at: string;
|
|
217
|
+
readonly updated_at: string;
|
|
218
218
|
readonly deleted_at: string;
|
|
219
|
+
};
|
|
220
|
+
readonly target_keyspace: {
|
|
219
221
|
readonly id: string;
|
|
220
222
|
readonly name: string;
|
|
223
|
+
readonly created_at: string;
|
|
221
224
|
readonly updated_at: string;
|
|
225
|
+
readonly deleted_at: string;
|
|
222
226
|
};
|
|
223
|
-
readonly
|
|
224
|
-
readonly verified_data_stale: boolean;
|
|
225
|
-
readonly verify_data_at: string;
|
|
226
|
-
readonly verify_data_by: {
|
|
227
|
-
readonly avatar_url: string;
|
|
228
|
-
readonly display_name: string;
|
|
227
|
+
readonly global_keyspace: {
|
|
229
228
|
readonly id: string;
|
|
229
|
+
readonly name: string;
|
|
230
|
+
readonly created_at: string;
|
|
231
|
+
readonly updated_at: string;
|
|
232
|
+
readonly deleted_at: string;
|
|
230
233
|
};
|
|
231
|
-
readonly workflow_errors: string;
|
|
232
|
-
readonly workflow_subtype: string;
|
|
233
|
-
readonly workflow_type: "move_tables";
|
|
234
234
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
235
235
|
//# sourceMappingURL=workflowRetry.d.ts.map
|