@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.
- 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
|
@@ -68,52 +68,52 @@ export type CreateTrafficBudgetOutput = typeof CreateTrafficBudgetOutput.Type;
|
|
|
68
68
|
* @param rules - Array of traffic rules to apply to the budget
|
|
69
69
|
*/
|
|
70
70
|
export declare const createTrafficBudget: import("@distilled.cloud/core/client").OperationMethod<{
|
|
71
|
-
readonly
|
|
72
|
-
readonly burst?: number | undefined;
|
|
73
|
-
readonly capacity?: number | undefined;
|
|
74
|
-
readonly concurrency?: number | undefined;
|
|
71
|
+
readonly organization: string;
|
|
75
72
|
readonly database: string;
|
|
76
|
-
readonly
|
|
73
|
+
readonly branch: string;
|
|
77
74
|
readonly name?: string | undefined;
|
|
78
|
-
readonly
|
|
75
|
+
readonly mode?: "enforce" | "off" | "warn" | undefined;
|
|
76
|
+
readonly capacity?: number | undefined;
|
|
79
77
|
readonly rate?: number | undefined;
|
|
80
|
-
readonly rules?: readonly string[] | undefined;
|
|
81
|
-
readonly warning_threshold?: number | undefined;
|
|
82
|
-
}, {
|
|
83
|
-
readonly actor: {
|
|
84
|
-
readonly avatar_url: string;
|
|
85
|
-
readonly display_name: string;
|
|
86
|
-
readonly id: string;
|
|
87
|
-
};
|
|
88
78
|
readonly burst?: number | undefined;
|
|
89
|
-
readonly capacity?: number | undefined;
|
|
90
79
|
readonly concurrency?: number | undefined;
|
|
91
|
-
readonly
|
|
80
|
+
readonly warning_threshold?: number | undefined;
|
|
81
|
+
readonly rules?: readonly string[] | undefined;
|
|
82
|
+
}, {
|
|
92
83
|
readonly id: string;
|
|
93
|
-
readonly mode: "enforce" | "off" | "warn";
|
|
94
84
|
readonly name: string;
|
|
85
|
+
readonly mode: "enforce" | "off" | "warn";
|
|
86
|
+
readonly capacity?: number | undefined;
|
|
95
87
|
readonly rate?: number | undefined;
|
|
88
|
+
readonly burst?: number | undefined;
|
|
89
|
+
readonly concurrency?: number | undefined;
|
|
90
|
+
readonly warning_threshold?: number | undefined;
|
|
91
|
+
readonly actor: {
|
|
92
|
+
readonly id: string;
|
|
93
|
+
readonly display_name: string;
|
|
94
|
+
readonly avatar_url: string;
|
|
95
|
+
};
|
|
96
96
|
readonly rules: readonly {
|
|
97
|
-
readonly actor: {
|
|
98
|
-
readonly avatar_url: string;
|
|
99
|
-
readonly display_name: string;
|
|
100
|
-
readonly id: string;
|
|
101
|
-
};
|
|
102
|
-
readonly created_at: string;
|
|
103
|
-
readonly fingerprint?: string | undefined;
|
|
104
97
|
readonly id: string;
|
|
105
|
-
readonly keyspace?: string | undefined;
|
|
106
98
|
readonly kind: "match";
|
|
107
|
-
readonly syntax_highlighted_sql: string;
|
|
108
99
|
readonly tags: readonly {
|
|
109
|
-
readonly key: string;
|
|
110
100
|
readonly key_id: string;
|
|
111
|
-
readonly
|
|
101
|
+
readonly key: string;
|
|
112
102
|
readonly value: string;
|
|
103
|
+
readonly source: "sql" | "system";
|
|
113
104
|
}[];
|
|
105
|
+
readonly fingerprint?: string | undefined;
|
|
106
|
+
readonly keyspace?: string | undefined;
|
|
107
|
+
readonly actor: {
|
|
108
|
+
readonly id: string;
|
|
109
|
+
readonly display_name: string;
|
|
110
|
+
readonly avatar_url: string;
|
|
111
|
+
};
|
|
112
|
+
readonly syntax_highlighted_sql: string;
|
|
113
|
+
readonly created_at: string;
|
|
114
114
|
readonly updated_at: string;
|
|
115
115
|
}[];
|
|
116
|
+
readonly created_at: string;
|
|
116
117
|
readonly updated_at: string;
|
|
117
|
-
readonly warning_threshold?: number | undefined;
|
|
118
118
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
119
119
|
//# sourceMappingURL=createTrafficBudget.d.ts.map
|
|
@@ -45,32 +45,32 @@ export type CreateTrafficRuleOutput = typeof CreateTrafficRuleOutput.Type;
|
|
|
45
45
|
* @param tags - Optional array of tags for this rule
|
|
46
46
|
*/
|
|
47
47
|
export declare const createTrafficRule: import("@distilled.cloud/core/client").OperationMethod<{
|
|
48
|
+
readonly organization: string;
|
|
49
|
+
readonly database: string;
|
|
48
50
|
readonly branch: string;
|
|
49
51
|
readonly budget_id: string;
|
|
50
|
-
readonly database: string;
|
|
51
|
-
readonly fingerprint?: string | undefined;
|
|
52
|
-
readonly keyspace?: string | undefined;
|
|
53
52
|
readonly kind?: "match" | undefined;
|
|
54
|
-
readonly
|
|
53
|
+
readonly keyspace?: string | undefined;
|
|
54
|
+
readonly fingerprint?: string | undefined;
|
|
55
55
|
readonly tags?: readonly string[] | undefined;
|
|
56
56
|
}, {
|
|
57
|
-
readonly actor: {
|
|
58
|
-
readonly avatar_url: string;
|
|
59
|
-
readonly display_name: string;
|
|
60
|
-
readonly id: string;
|
|
61
|
-
};
|
|
62
|
-
readonly created_at: string;
|
|
63
|
-
readonly fingerprint?: string | undefined;
|
|
64
57
|
readonly id: string;
|
|
65
|
-
readonly keyspace?: string | undefined;
|
|
66
58
|
readonly kind: "match";
|
|
67
|
-
readonly syntax_highlighted_sql: string;
|
|
68
59
|
readonly tags: readonly {
|
|
69
|
-
readonly key: string;
|
|
70
60
|
readonly key_id: string;
|
|
71
|
-
readonly
|
|
61
|
+
readonly key: string;
|
|
72
62
|
readonly value: string;
|
|
63
|
+
readonly source: "sql" | "system";
|
|
73
64
|
}[];
|
|
65
|
+
readonly fingerprint?: string | undefined;
|
|
66
|
+
readonly keyspace?: string | undefined;
|
|
67
|
+
readonly actor: {
|
|
68
|
+
readonly id: string;
|
|
69
|
+
readonly display_name: string;
|
|
70
|
+
readonly avatar_url: string;
|
|
71
|
+
};
|
|
72
|
+
readonly syntax_highlighted_sql: string;
|
|
73
|
+
readonly created_at: string;
|
|
74
74
|
readonly updated_at: string;
|
|
75
75
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
76
76
|
//# sourceMappingURL=createTrafficRule.d.ts.map
|
|
@@ -31,21 +31,21 @@ export type CreateWebhookOutput = typeof CreateWebhookOutput.Type;
|
|
|
31
31
|
* @param events - The events this webhook should subscribe to
|
|
32
32
|
*/
|
|
33
33
|
export declare const createWebhook: import("@distilled.cloud/core/client").OperationMethod<{
|
|
34
|
+
readonly organization: string;
|
|
34
35
|
readonly database: string;
|
|
36
|
+
readonly url: string;
|
|
35
37
|
readonly enabled?: boolean | undefined;
|
|
36
38
|
readonly events?: readonly string[] | undefined;
|
|
37
|
-
readonly organization: string;
|
|
38
|
-
readonly url: string;
|
|
39
39
|
}, {
|
|
40
|
-
readonly created_at: string;
|
|
41
|
-
readonly enabled: boolean;
|
|
42
|
-
readonly events: readonly ("branch.anomaly" | "branch.out_of_memory" | "branch.primary_promoted" | "branch.ready" | "branch.schema_recommendation" | "branch.sleeping" | "branch.start_maintenance" | "cluster.storage" | "database.access_request" | "deploy_request.closed" | "deploy_request.errored" | "deploy_request.in_progress" | "deploy_request.opened" | "deploy_request.pending_cutover" | "deploy_request.queued" | "deploy_request.reverted" | "deploy_request.schema_applied" | "keyspace.storage" | "webhook.test")[];
|
|
43
40
|
readonly id: string;
|
|
44
|
-
readonly
|
|
41
|
+
readonly url: string;
|
|
42
|
+
readonly secret: string | import("effect/Redacted").Redacted<string>;
|
|
43
|
+
readonly enabled: boolean;
|
|
45
44
|
readonly last_sent_result: string | null;
|
|
46
45
|
readonly last_sent_success: boolean | null;
|
|
47
|
-
readonly
|
|
46
|
+
readonly last_sent_at: string | null;
|
|
47
|
+
readonly created_at: string;
|
|
48
48
|
readonly updated_at: string;
|
|
49
|
-
readonly
|
|
49
|
+
readonly events: readonly ("branch.anomaly" | "branch.out_of_memory" | "branch.primary_promoted" | "branch.ready" | "branch.schema_recommendation" | "branch.sleeping" | "branch.start_maintenance" | "cluster.storage" | "database.access_request" | "deploy_request.closed" | "deploy_request.errored" | "deploy_request.in_progress" | "deploy_request.opened" | "deploy_request.pending_cutover" | "deploy_request.queued" | "deploy_request.reverted" | "deploy_request.schema_applied" | "keyspace.storage" | "webhook.test")[];
|
|
50
50
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
51
51
|
//# sourceMappingURL=createWebhook.d.ts.map
|
|
@@ -134,120 +134,120 @@ export type CreateWorkflowOutput = typeof CreateWorkflowOutput.Type;
|
|
|
134
134
|
* @param tables - List of tables to move
|
|
135
135
|
*/
|
|
136
136
|
export declare const createWorkflow: import("@distilled.cloud/core/client").OperationMethod<{
|
|
137
|
+
readonly organization: string;
|
|
137
138
|
readonly database: string;
|
|
138
|
-
readonly defer_secondary_keys?: boolean | undefined;
|
|
139
|
-
readonly global_keyspace?: string | undefined;
|
|
140
139
|
readonly name: string;
|
|
141
|
-
readonly on_ddl?: "EXEC" | "EXEC_IGNORE" | "IGNORE" | "STOP" | undefined;
|
|
142
|
-
readonly organization: string;
|
|
143
140
|
readonly source_keyspace: string;
|
|
144
|
-
readonly tables: readonly string[];
|
|
145
141
|
readonly target_keyspace: string;
|
|
142
|
+
readonly global_keyspace?: string | undefined;
|
|
143
|
+
readonly defer_secondary_keys?: boolean | undefined;
|
|
144
|
+
readonly on_ddl?: "EXEC" | "EXEC_IGNORE" | "IGNORE" | "STOP" | undefined;
|
|
145
|
+
readonly tables: readonly string[];
|
|
146
146
|
}, {
|
|
147
|
+
readonly id: string;
|
|
148
|
+
readonly name: string;
|
|
149
|
+
readonly number: number;
|
|
150
|
+
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";
|
|
151
|
+
readonly created_at: string;
|
|
152
|
+
readonly updated_at: string;
|
|
153
|
+
readonly started_at: string;
|
|
154
|
+
readonly completed_at: string;
|
|
155
|
+
readonly cancelled_at: string;
|
|
156
|
+
readonly reversed_at: string;
|
|
157
|
+
readonly retried_at: string;
|
|
158
|
+
readonly data_copy_completed_at: string;
|
|
159
|
+
readonly cutover_at: string;
|
|
160
|
+
readonly replicas_switched: boolean;
|
|
161
|
+
readonly primaries_switched: boolean;
|
|
162
|
+
readonly switch_replicas_at: string;
|
|
163
|
+
readonly switch_primaries_at: string;
|
|
164
|
+
readonly verify_data_at: string;
|
|
165
|
+
readonly workflow_type: "move_tables";
|
|
166
|
+
readonly workflow_subtype: string;
|
|
167
|
+
readonly defer_secondary_keys: boolean;
|
|
168
|
+
readonly on_ddl: "EXEC" | "EXEC_IGNORE" | "IGNORE" | "STOP";
|
|
169
|
+
readonly workflow_errors: string;
|
|
170
|
+
readonly may_retry: boolean;
|
|
171
|
+
readonly may_restart: boolean;
|
|
172
|
+
readonly verified_data_stale: boolean;
|
|
173
|
+
readonly sequence_tables_applied: boolean;
|
|
147
174
|
readonly actor: {
|
|
148
|
-
readonly avatar_url: string;
|
|
149
|
-
readonly display_name: string;
|
|
150
175
|
readonly id: string;
|
|
176
|
+
readonly display_name: string;
|
|
177
|
+
readonly avatar_url: string;
|
|
151
178
|
};
|
|
152
|
-
readonly
|
|
153
|
-
readonly created_at: string;
|
|
154
|
-
readonly deleted_at: string;
|
|
179
|
+
readonly verify_data_by: {
|
|
155
180
|
readonly id: string;
|
|
156
|
-
readonly name: string;
|
|
157
|
-
readonly updated_at: string;
|
|
158
|
-
};
|
|
159
|
-
readonly cancelled_at: string;
|
|
160
|
-
readonly cancelled_by: {
|
|
161
|
-
readonly avatar_url: string;
|
|
162
181
|
readonly display_name: string;
|
|
163
|
-
readonly id: string;
|
|
164
|
-
};
|
|
165
|
-
readonly completed_at: string;
|
|
166
|
-
readonly completed_by: {
|
|
167
182
|
readonly avatar_url: string;
|
|
168
|
-
|
|
183
|
+
};
|
|
184
|
+
readonly reversed_by: {
|
|
169
185
|
readonly id: string;
|
|
186
|
+
readonly display_name: string;
|
|
187
|
+
readonly avatar_url: string;
|
|
170
188
|
};
|
|
171
|
-
readonly
|
|
172
|
-
|
|
173
|
-
|
|
189
|
+
readonly switch_replicas_by: {
|
|
190
|
+
readonly id: string;
|
|
191
|
+
readonly display_name: string;
|
|
174
192
|
readonly avatar_url: string;
|
|
193
|
+
};
|
|
194
|
+
readonly switch_primaries_by: {
|
|
195
|
+
readonly id: string;
|
|
175
196
|
readonly display_name: string;
|
|
197
|
+
readonly avatar_url: string;
|
|
198
|
+
};
|
|
199
|
+
readonly cancelled_by: {
|
|
176
200
|
readonly id: string;
|
|
201
|
+
readonly display_name: string;
|
|
202
|
+
readonly avatar_url: string;
|
|
177
203
|
};
|
|
178
|
-
readonly
|
|
179
|
-
readonly defer_secondary_keys: boolean;
|
|
180
|
-
readonly global_keyspace: {
|
|
181
|
-
readonly created_at: string;
|
|
182
|
-
readonly deleted_at: string;
|
|
204
|
+
readonly completed_by: {
|
|
183
205
|
readonly id: string;
|
|
184
|
-
readonly
|
|
185
|
-
readonly
|
|
206
|
+
readonly display_name: string;
|
|
207
|
+
readonly avatar_url: string;
|
|
186
208
|
};
|
|
187
|
-
readonly id: string;
|
|
188
|
-
readonly may_restart: boolean;
|
|
189
|
-
readonly may_retry: boolean;
|
|
190
|
-
readonly name: string;
|
|
191
|
-
readonly number: number;
|
|
192
|
-
readonly on_ddl: "EXEC" | "EXEC_IGNORE" | "IGNORE" | "STOP";
|
|
193
|
-
readonly primaries_switched: boolean;
|
|
194
|
-
readonly replicas_switched: boolean;
|
|
195
|
-
readonly retried_at: string;
|
|
196
209
|
readonly retried_by: {
|
|
197
|
-
readonly avatar_url: string;
|
|
198
|
-
readonly display_name: string;
|
|
199
210
|
readonly id: string;
|
|
200
|
-
};
|
|
201
|
-
readonly reversed_at: string;
|
|
202
|
-
readonly reversed_by: {
|
|
203
|
-
readonly avatar_url: string;
|
|
204
211
|
readonly display_name: string;
|
|
212
|
+
readonly avatar_url: string;
|
|
213
|
+
};
|
|
214
|
+
readonly cutover_by: {
|
|
205
215
|
readonly id: string;
|
|
216
|
+
readonly display_name: string;
|
|
217
|
+
readonly avatar_url: string;
|
|
206
218
|
};
|
|
207
219
|
readonly reversed_cutover_by: {
|
|
208
|
-
readonly avatar_url: string;
|
|
209
|
-
readonly display_name: string;
|
|
210
220
|
readonly id: string;
|
|
221
|
+
readonly display_name: string;
|
|
222
|
+
readonly avatar_url: string;
|
|
211
223
|
};
|
|
212
|
-
readonly
|
|
213
|
-
readonly source_keyspace: {
|
|
214
|
-
readonly created_at: string;
|
|
215
|
-
readonly deleted_at: string;
|
|
224
|
+
readonly branch: {
|
|
216
225
|
readonly id: string;
|
|
217
226
|
readonly name: string;
|
|
227
|
+
readonly created_at: string;
|
|
218
228
|
readonly updated_at: string;
|
|
229
|
+
readonly deleted_at: string;
|
|
219
230
|
};
|
|
220
|
-
readonly
|
|
221
|
-
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";
|
|
222
|
-
readonly switch_primaries_at: string;
|
|
223
|
-
readonly switch_primaries_by: {
|
|
224
|
-
readonly avatar_url: string;
|
|
225
|
-
readonly display_name: string;
|
|
226
|
-
readonly id: string;
|
|
227
|
-
};
|
|
228
|
-
readonly switch_replicas_at: string;
|
|
229
|
-
readonly switch_replicas_by: {
|
|
230
|
-
readonly avatar_url: string;
|
|
231
|
-
readonly display_name: string;
|
|
231
|
+
readonly source_keyspace: {
|
|
232
232
|
readonly id: string;
|
|
233
|
-
|
|
234
|
-
readonly target_keyspace: {
|
|
233
|
+
readonly name: string;
|
|
235
234
|
readonly created_at: string;
|
|
235
|
+
readonly updated_at: string;
|
|
236
236
|
readonly deleted_at: string;
|
|
237
|
+
};
|
|
238
|
+
readonly target_keyspace: {
|
|
237
239
|
readonly id: string;
|
|
238
240
|
readonly name: string;
|
|
241
|
+
readonly created_at: string;
|
|
239
242
|
readonly updated_at: string;
|
|
243
|
+
readonly deleted_at: string;
|
|
240
244
|
};
|
|
241
|
-
readonly
|
|
242
|
-
readonly verified_data_stale: boolean;
|
|
243
|
-
readonly verify_data_at: string;
|
|
244
|
-
readonly verify_data_by: {
|
|
245
|
-
readonly avatar_url: string;
|
|
246
|
-
readonly display_name: string;
|
|
245
|
+
readonly global_keyspace: {
|
|
247
246
|
readonly id: string;
|
|
247
|
+
readonly name: string;
|
|
248
|
+
readonly created_at: string;
|
|
249
|
+
readonly updated_at: string;
|
|
250
|
+
readonly deleted_at: string;
|
|
248
251
|
};
|
|
249
|
-
readonly workflow_errors: string;
|
|
250
|
-
readonly workflow_subtype: string;
|
|
251
|
-
readonly workflow_type: "move_tables";
|
|
252
252
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
253
253
|
//# sourceMappingURL=createWorkflow.d.ts.map
|
|
@@ -18,9 +18,9 @@ export type DeleteBackupOutput = typeof DeleteBackupOutput.Type;
|
|
|
18
18
|
* @param branch - The name of the branch
|
|
19
19
|
*/
|
|
20
20
|
export declare const deleteBackup: import("@distilled.cloud/core/client").OperationMethod<{
|
|
21
|
-
readonly branch: string;
|
|
22
|
-
readonly database: string;
|
|
23
21
|
readonly id: string;
|
|
24
22
|
readonly organization: string;
|
|
23
|
+
readonly database: string;
|
|
24
|
+
readonly branch: string;
|
|
25
25
|
}, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
26
26
|
//# sourceMappingURL=deleteBackup.d.ts.map
|
|
@@ -16,8 +16,8 @@ export type DeleteBackupPolicyOutput = typeof DeleteBackupPolicyOutput.Type;
|
|
|
16
16
|
* @param database - Database name slug from `list_databases`. Example: `app-db`.
|
|
17
17
|
*/
|
|
18
18
|
export declare const deleteBackupPolicy: import("@distilled.cloud/core/client").OperationMethod<{
|
|
19
|
-
readonly database: string;
|
|
20
19
|
readonly id: string;
|
|
21
20
|
readonly organization: string;
|
|
21
|
+
readonly database: string;
|
|
22
22
|
}, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
23
23
|
//# sourceMappingURL=deleteBackupPolicy.d.ts.map
|
|
@@ -18,9 +18,9 @@ export type DeleteBouncerOutput = typeof DeleteBouncerOutput.Type;
|
|
|
18
18
|
* @param bouncer - The name of the bouncer
|
|
19
19
|
*/
|
|
20
20
|
export declare const deleteBouncer: import("@distilled.cloud/core/client").OperationMethod<{
|
|
21
|
-
readonly bouncer: string;
|
|
22
|
-
readonly branch: string;
|
|
23
|
-
readonly database: string;
|
|
24
21
|
readonly organization: string;
|
|
22
|
+
readonly database: string;
|
|
23
|
+
readonly branch: string;
|
|
24
|
+
readonly bouncer: string;
|
|
25
25
|
}, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
26
26
|
//# sourceMappingURL=deleteBouncer.d.ts.map
|
|
@@ -18,9 +18,9 @@ export type DeleteBranchOutput = typeof DeleteBranchOutput.Type;
|
|
|
18
18
|
* @param delete_descendants - If true, recursively delete all descendant branches along with this branch
|
|
19
19
|
*/
|
|
20
20
|
export declare const deleteBranch: import("@distilled.cloud/core/client").OperationMethod<{
|
|
21
|
-
readonly
|
|
21
|
+
readonly organization: string;
|
|
22
22
|
readonly database: string;
|
|
23
|
+
readonly branch: string;
|
|
23
24
|
readonly delete_descendants?: boolean | undefined;
|
|
24
|
-
readonly organization: string;
|
|
25
25
|
}, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
26
26
|
//# sourceMappingURL=deleteBranch.d.ts.map
|
|
@@ -14,7 +14,7 @@ export type DeleteDatabaseOutput = typeof DeleteDatabaseOutput.Type;
|
|
|
14
14
|
* @param database - Database name slug from `list_databases`. Example: `app-db`.
|
|
15
15
|
*/
|
|
16
16
|
export declare const deleteDatabase: import("@distilled.cloud/core/client").OperationMethod<{
|
|
17
|
-
readonly database: string;
|
|
18
17
|
readonly organization: string;
|
|
18
|
+
readonly database: string;
|
|
19
19
|
}, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
20
20
|
//# sourceMappingURL=deleteDatabase.d.ts.map
|
|
@@ -16,8 +16,8 @@ export type DeleteDatabasePostgresCidrOutput = typeof DeleteDatabasePostgresCidr
|
|
|
16
16
|
* @param id - The ID of the IP restriction entry
|
|
17
17
|
*/
|
|
18
18
|
export declare const deleteDatabasePostgresCidr: import("@distilled.cloud/core/client").OperationMethod<{
|
|
19
|
+
readonly organization: string;
|
|
19
20
|
readonly database: string;
|
|
20
21
|
readonly id: string;
|
|
21
|
-
readonly organization: string;
|
|
22
22
|
}, void, Forbidden | NotFound | UnprocessableEntity, import("../credentials.ts").Credentials>;
|
|
23
23
|
//# sourceMappingURL=deleteDatabasePostgresCidr.d.ts.map
|
|
@@ -18,9 +18,9 @@ export type DeleteKeyspaceOutput = typeof DeleteKeyspaceOutput.Type;
|
|
|
18
18
|
* @param keyspace - The name of the keyspace
|
|
19
19
|
*/
|
|
20
20
|
export declare const deleteKeyspace: import("@distilled.cloud/core/client").OperationMethod<{
|
|
21
|
-
readonly
|
|
21
|
+
readonly organization: string;
|
|
22
22
|
readonly database: string;
|
|
23
|
+
readonly branch: string;
|
|
23
24
|
readonly keyspace: string;
|
|
24
|
-
readonly organization: string;
|
|
25
25
|
}, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
26
26
|
//# sourceMappingURL=deleteKeyspace.d.ts.map
|
|
@@ -16,8 +16,8 @@ export type DeleteOauthTokenOutput = typeof DeleteOauthTokenOutput.Type;
|
|
|
16
16
|
* @param token_id - The ID of the OAuth application token
|
|
17
17
|
*/
|
|
18
18
|
export declare const deleteOauthToken: import("@distilled.cloud/core/client").OperationMethod<{
|
|
19
|
-
readonly application_id: string;
|
|
20
19
|
readonly organization: string;
|
|
20
|
+
readonly application_id: string;
|
|
21
21
|
readonly token_id: string;
|
|
22
22
|
}, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
23
23
|
//# sourceMappingURL=deleteOauthToken.d.ts.map
|
|
@@ -18,9 +18,9 @@ export type DeletePasswordOutput = typeof DeletePasswordOutput.Type;
|
|
|
18
18
|
* @param id - The ID of the password
|
|
19
19
|
*/
|
|
20
20
|
export declare const deletePassword: import("@distilled.cloud/core/client").OperationMethod<{
|
|
21
|
-
readonly
|
|
21
|
+
readonly organization: string;
|
|
22
22
|
readonly database: string;
|
|
23
|
+
readonly branch: string;
|
|
23
24
|
readonly id: string;
|
|
24
|
-
readonly organization: string;
|
|
25
25
|
}, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
26
26
|
//# sourceMappingURL=deletePassword.d.ts.map
|
|
@@ -18,9 +18,9 @@ export type DeleteQueryPatternsReportOutput = typeof DeleteQueryPatternsReportOu
|
|
|
18
18
|
* @param id - The ID of the query patterns report
|
|
19
19
|
*/
|
|
20
20
|
export declare const deleteQueryPatternsReport: import("@distilled.cloud/core/client").OperationMethod<{
|
|
21
|
-
readonly
|
|
21
|
+
readonly organization: string;
|
|
22
22
|
readonly database: string;
|
|
23
|
+
readonly branch: string;
|
|
23
24
|
readonly id: string;
|
|
24
|
-
readonly organization: string;
|
|
25
25
|
}, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
26
26
|
//# sourceMappingURL=deleteQueryPatternsReport.d.ts.map
|
|
@@ -20,10 +20,10 @@ export type DeleteRoleOutput = typeof DeleteRoleOutput.Type;
|
|
|
20
20
|
* @param successor - The optional role to reassign ownership to before dropping
|
|
21
21
|
*/
|
|
22
22
|
export declare const deleteRole: import("@distilled.cloud/core/client").OperationMethod<{
|
|
23
|
-
readonly
|
|
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 | undefined;
|
|
28
28
|
}, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
29
29
|
//# sourceMappingURL=deleteRole.d.ts.map
|
|
@@ -16,7 +16,7 @@ export type DeleteServiceTokenOutput = typeof DeleteServiceTokenOutput.Type;
|
|
|
16
16
|
* @param id - The ID of the service token
|
|
17
17
|
*/
|
|
18
18
|
export declare const deleteServiceToken: import("@distilled.cloud/core/client").OperationMethod<{
|
|
19
|
-
readonly id: string;
|
|
20
19
|
readonly organization: string;
|
|
20
|
+
readonly id: string;
|
|
21
21
|
}, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
22
22
|
//# sourceMappingURL=deleteServiceToken.d.ts.map
|
|
@@ -18,9 +18,9 @@ export type DeleteTrafficBudgetOutput = typeof DeleteTrafficBudgetOutput.Type;
|
|
|
18
18
|
* @param id - The ID of the traffic budget
|
|
19
19
|
*/
|
|
20
20
|
export declare const deleteTrafficBudget: import("@distilled.cloud/core/client").OperationMethod<{
|
|
21
|
-
readonly
|
|
21
|
+
readonly organization: string;
|
|
22
22
|
readonly database: string;
|
|
23
|
+
readonly branch: string;
|
|
23
24
|
readonly id: string;
|
|
24
|
-
readonly organization: string;
|
|
25
25
|
}, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
26
26
|
//# sourceMappingURL=deleteTrafficBudget.d.ts.map
|
|
@@ -20,10 +20,10 @@ export type DeleteTrafficRuleOutput = typeof DeleteTrafficRuleOutput.Type;
|
|
|
20
20
|
* @param id - The ID of the traffic rule
|
|
21
21
|
*/
|
|
22
22
|
export declare const deleteTrafficRule: import("@distilled.cloud/core/client").OperationMethod<{
|
|
23
|
+
readonly organization: string;
|
|
24
|
+
readonly database: string;
|
|
23
25
|
readonly branch: string;
|
|
24
26
|
readonly budget_id: string;
|
|
25
|
-
readonly database: string;
|
|
26
27
|
readonly id: string;
|
|
27
|
-
readonly organization: string;
|
|
28
28
|
}, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
29
29
|
//# sourceMappingURL=deleteTrafficRule.d.ts.map
|
|
@@ -16,8 +16,8 @@ export type DeleteWebhookOutput = typeof DeleteWebhookOutput.Type;
|
|
|
16
16
|
* @param id - The ID of the webhook
|
|
17
17
|
*/
|
|
18
18
|
export declare const deleteWebhook: import("@distilled.cloud/core/client").OperationMethod<{
|
|
19
|
+
readonly organization: string;
|
|
19
20
|
readonly database: string;
|
|
20
21
|
readonly id: string;
|
|
21
|
-
readonly organization: string;
|
|
22
22
|
}, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
23
23
|
//# sourceMappingURL=deleteWebhook.d.ts.map
|
|
@@ -72,64 +72,64 @@ export type DemoteBranchOutput = typeof DemoteBranchOutput.Type;
|
|
|
72
72
|
* @param branch - The name of the branch
|
|
73
73
|
*/
|
|
74
74
|
export declare const demoteBranch: import("@distilled.cloud/core/client").OperationMethod<{
|
|
75
|
-
readonly branch: string;
|
|
76
|
-
readonly database: string;
|
|
77
75
|
readonly organization: string;
|
|
76
|
+
readonly database: string;
|
|
77
|
+
readonly branch: string;
|
|
78
78
|
}, {
|
|
79
|
-
readonly
|
|
80
|
-
|
|
81
|
-
readonly display_name: string;
|
|
82
|
-
readonly id: string;
|
|
83
|
-
};
|
|
84
|
-
readonly cluster_iops: number | null;
|
|
85
|
-
readonly cluster_name: string;
|
|
79
|
+
readonly id: string;
|
|
80
|
+
readonly name: string;
|
|
86
81
|
readonly created_at: string;
|
|
82
|
+
readonly updated_at: string;
|
|
87
83
|
readonly deleted_at: string | null;
|
|
88
|
-
readonly
|
|
89
|
-
readonly
|
|
90
|
-
readonly has_replicas: boolean;
|
|
91
|
-
readonly html_url: string;
|
|
92
|
-
readonly id: string;
|
|
84
|
+
readonly restore_checklist_completed_at: string | null;
|
|
85
|
+
readonly schema_last_updated_at: string;
|
|
93
86
|
readonly kind: "mysql" | "postgresql";
|
|
94
|
-
readonly metal: boolean;
|
|
95
87
|
readonly mysql_address?: string | undefined;
|
|
96
88
|
readonly mysql_edge_address?: string | undefined;
|
|
97
|
-
readonly
|
|
98
|
-
readonly
|
|
99
|
-
readonly
|
|
100
|
-
readonly
|
|
89
|
+
readonly state: "awakening" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
|
|
90
|
+
readonly direct_vtgate?: boolean | undefined;
|
|
91
|
+
readonly vtgate_size?: string | undefined;
|
|
92
|
+
readonly vtgate_count?: number | undefined;
|
|
93
|
+
readonly cluster_name: string;
|
|
94
|
+
readonly cluster_iops: number | null;
|
|
101
95
|
readonly ready: boolean;
|
|
102
|
-
readonly
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
96
|
+
readonly schema_ready?: boolean | undefined;
|
|
97
|
+
readonly metal: boolean;
|
|
98
|
+
readonly production: boolean;
|
|
99
|
+
readonly safe_migrations: boolean;
|
|
100
|
+
readonly sharded?: boolean | undefined;
|
|
101
|
+
readonly shard_count?: number | undefined;
|
|
102
|
+
readonly stale_schema: boolean;
|
|
103
|
+
readonly actor: {
|
|
106
104
|
readonly id: string;
|
|
107
|
-
readonly
|
|
108
|
-
readonly
|
|
109
|
-
readonly public_ip_addresses: readonly string[];
|
|
110
|
-
readonly slug: string;
|
|
105
|
+
readonly display_name: string;
|
|
106
|
+
readonly avatar_url: string;
|
|
111
107
|
};
|
|
112
|
-
readonly restore_checklist_completed_at: string | null;
|
|
113
108
|
readonly restored_from_branch: {
|
|
114
|
-
readonly created_at: string;
|
|
115
|
-
readonly deleted_at: string;
|
|
116
109
|
readonly id: string;
|
|
117
110
|
readonly name: string;
|
|
111
|
+
readonly created_at: string;
|
|
118
112
|
readonly updated_at: string;
|
|
113
|
+
readonly deleted_at: string;
|
|
119
114
|
} | null;
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
122
|
-
readonly
|
|
123
|
-
readonly
|
|
124
|
-
readonly sharded?: boolean | undefined;
|
|
125
|
-
readonly stale_schema: boolean;
|
|
126
|
-
readonly state: "awakening" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
|
|
127
|
-
readonly updated_at: string;
|
|
115
|
+
readonly private_edge_connectivity: boolean;
|
|
116
|
+
readonly has_replicas: boolean;
|
|
117
|
+
readonly has_read_only_replicas: boolean;
|
|
118
|
+
readonly html_url: string;
|
|
128
119
|
readonly url: string;
|
|
129
|
-
readonly
|
|
120
|
+
readonly region: {
|
|
121
|
+
readonly id: string;
|
|
122
|
+
readonly provider: string;
|
|
123
|
+
readonly enabled: boolean;
|
|
124
|
+
readonly public_ip_addresses: readonly string[];
|
|
125
|
+
readonly display_name: string;
|
|
126
|
+
readonly location: string;
|
|
127
|
+
readonly slug: string;
|
|
128
|
+
readonly current_default: boolean;
|
|
129
|
+
};
|
|
130
|
+
readonly parent_branch: string | null;
|
|
130
131
|
readonly vtgate_options?: {
|
|
131
132
|
readonly [x: string]: unknown;
|
|
132
133
|
} | undefined;
|
|
133
|
-
readonly vtgate_size?: string | undefined;
|
|
134
134
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
135
135
|
//# sourceMappingURL=demoteBranch.d.ts.map
|