@distilled.cloud/planetscale 0.19.2 → 0.20.1
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
|
@@ -59,54 +59,54 @@ export type UpdateBranchChangeRequestOutput = typeof UpdateBranchChangeRequestOu
|
|
|
59
59
|
* @param parameters - Cluster configuration parameters nested by namespace (e.g., {"pgconf": {"max_connections": "200"}}). Use the 'List cluster parameters' endpoint to retrieve available parameters. Supported namespaces include 'patroni', 'pgconf', and 'pgbouncer'.
|
|
60
60
|
*/
|
|
61
61
|
export declare const updateBranchChangeRequest: import("@distilled.cloud/core/client").OperationMethod<{
|
|
62
|
+
readonly organization: string;
|
|
63
|
+
readonly database: string;
|
|
62
64
|
readonly branch: string;
|
|
63
65
|
readonly cluster_size?: string | undefined;
|
|
64
|
-
readonly
|
|
65
|
-
readonly organization: string;
|
|
66
|
+
readonly replicas?: number | undefined;
|
|
66
67
|
readonly parameters?: {
|
|
67
68
|
readonly [x: string]: unknown;
|
|
68
69
|
} | undefined;
|
|
69
|
-
readonly replicas?: number | undefined;
|
|
70
70
|
}, {
|
|
71
|
+
readonly id: string;
|
|
72
|
+
readonly restart: readonly number[];
|
|
73
|
+
readonly state: "canceled" | "completed" | "pending" | "queued" | "resizing";
|
|
74
|
+
readonly started_at: string;
|
|
75
|
+
readonly completed_at: string;
|
|
76
|
+
readonly created_at: string;
|
|
77
|
+
readonly updated_at: string;
|
|
71
78
|
readonly actor: {
|
|
72
|
-
readonly avatar_url: string;
|
|
73
|
-
readonly display_name: string;
|
|
74
79
|
readonly id: string;
|
|
80
|
+
readonly display_name: string;
|
|
81
|
+
readonly avatar_url: string;
|
|
75
82
|
};
|
|
83
|
+
readonly cluster_name: string;
|
|
76
84
|
readonly cluster_display_name: string;
|
|
77
85
|
readonly cluster_metal: boolean;
|
|
78
|
-
readonly
|
|
79
|
-
readonly completed_at: string;
|
|
80
|
-
readonly created_at: string;
|
|
81
|
-
readonly id: string;
|
|
82
|
-
readonly maximum_storage_bytes: number;
|
|
83
|
-
readonly minimum_storage_bytes: number;
|
|
86
|
+
readonly replicas: number;
|
|
84
87
|
readonly parameters: {
|
|
85
88
|
readonly [x: string]: unknown;
|
|
86
89
|
};
|
|
90
|
+
readonly previous_cluster_name: string;
|
|
87
91
|
readonly previous_cluster_display_name: string;
|
|
88
92
|
readonly previous_cluster_metal: boolean;
|
|
89
|
-
readonly
|
|
90
|
-
readonly previous_maximum_storage_bytes: number;
|
|
91
|
-
readonly previous_minimum_storage_bytes: number;
|
|
93
|
+
readonly previous_replicas: number;
|
|
92
94
|
readonly previous_parameters: {
|
|
93
95
|
readonly [x: string]: unknown;
|
|
94
96
|
};
|
|
95
|
-
readonly
|
|
96
|
-
readonly
|
|
97
|
-
readonly previous_storage_iops: number;
|
|
98
|
-
readonly previous_storage_shrinking: boolean;
|
|
99
|
-
readonly previous_storage_throughput_mibs: number;
|
|
100
|
-
readonly previous_storage_type: string;
|
|
101
|
-
readonly replicas: number;
|
|
102
|
-
readonly restart: readonly number[];
|
|
103
|
-
readonly started_at: string;
|
|
104
|
-
readonly state: "canceled" | "completed" | "pending" | "queued" | "resizing";
|
|
97
|
+
readonly minimum_storage_bytes: number;
|
|
98
|
+
readonly maximum_storage_bytes: number;
|
|
105
99
|
readonly storage_autoscaling: boolean;
|
|
106
|
-
readonly storage_iops: number;
|
|
107
100
|
readonly storage_shrinking: boolean;
|
|
108
|
-
readonly storage_throughput_mibs: number;
|
|
109
101
|
readonly storage_type: "gp3" | "io2" | "pd_ssd";
|
|
110
|
-
readonly
|
|
102
|
+
readonly storage_iops: number;
|
|
103
|
+
readonly storage_throughput_mibs: number;
|
|
104
|
+
readonly previous_minimum_storage_bytes: number;
|
|
105
|
+
readonly previous_maximum_storage_bytes: number;
|
|
106
|
+
readonly previous_storage_autoscaling: boolean;
|
|
107
|
+
readonly previous_storage_shrinking: boolean;
|
|
108
|
+
readonly previous_storage_type: string;
|
|
109
|
+
readonly previous_storage_iops: number;
|
|
110
|
+
readonly previous_storage_throughput_mibs: number;
|
|
111
111
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
112
112
|
//# sourceMappingURL=updateBranchChangeRequest.d.ts.map
|
|
@@ -18,9 +18,9 @@ export type UpdateBranchClusterConfigOutput = typeof UpdateBranchClusterConfigOu
|
|
|
18
18
|
* @param cluster_size - The new size of the database cluster: PS_10, PS_20,…
|
|
19
19
|
*/
|
|
20
20
|
export declare const updateBranchClusterConfig: import("@distilled.cloud/core/client").OperationMethod<{
|
|
21
|
+
readonly organization: string;
|
|
22
|
+
readonly database: string;
|
|
21
23
|
readonly branch: string;
|
|
22
24
|
readonly cluster_size: string;
|
|
23
|
-
readonly database: string;
|
|
24
|
-
readonly organization: string;
|
|
25
25
|
}, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
26
26
|
//# sourceMappingURL=updateBranchClusterConfig.d.ts.map
|
|
@@ -35,24 +35,24 @@ export type UpdateDatabasePostgresCidrOutput = typeof UpdateDatabasePostgresCidr
|
|
|
35
35
|
* @param cidrs - List of IPv4 CIDR ranges (e.g., ['192.168.1.0/24', '192.168.1.1/32']). Only provided fields will be updated.
|
|
36
36
|
*/
|
|
37
37
|
export declare const updateDatabasePostgresCidr: import("@distilled.cloud/core/client").OperationMethod<{
|
|
38
|
-
readonly
|
|
38
|
+
readonly organization: string;
|
|
39
39
|
readonly database: string;
|
|
40
40
|
readonly id: string;
|
|
41
|
-
readonly organization: string;
|
|
42
|
-
readonly role?: string | undefined;
|
|
43
41
|
readonly schema?: string | undefined;
|
|
42
|
+
readonly role?: string | undefined;
|
|
43
|
+
readonly cidrs?: readonly string[] | undefined;
|
|
44
44
|
}, {
|
|
45
|
-
readonly actor: {
|
|
46
|
-
readonly avatar_url: string;
|
|
47
|
-
readonly display_name: string;
|
|
48
|
-
readonly id: string;
|
|
49
|
-
};
|
|
50
|
-
readonly cidrs: readonly string[];
|
|
51
|
-
readonly created_at: string;
|
|
52
|
-
readonly deleted_at: string;
|
|
53
45
|
readonly id: string;
|
|
54
|
-
readonly role: string;
|
|
55
46
|
readonly schema: string;
|
|
47
|
+
readonly role: string;
|
|
48
|
+
readonly cidrs: readonly string[];
|
|
49
|
+
readonly created_at: string;
|
|
56
50
|
readonly updated_at: string;
|
|
51
|
+
readonly deleted_at: string;
|
|
52
|
+
readonly actor: {
|
|
53
|
+
readonly id: string;
|
|
54
|
+
readonly display_name: string;
|
|
55
|
+
readonly avatar_url: string;
|
|
56
|
+
};
|
|
57
57
|
}, Forbidden | NotFound | UnprocessableEntity, import("../credentials.ts").Credentials>;
|
|
58
58
|
//# sourceMappingURL=updateDatabasePostgresCidr.d.ts.map
|
|
@@ -97,79 +97,79 @@ export type UpdateDatabaseSettingsOutput = typeof UpdateDatabaseSettingsOutput.T
|
|
|
97
97
|
* @param default_branch - The default branch of the database
|
|
98
98
|
*/
|
|
99
99
|
export declare const updateDatabaseSettings: import("@distilled.cloud/core/client").OperationMethod<{
|
|
100
|
-
readonly
|
|
101
|
-
readonly allow_foreign_key_constraints?: boolean | undefined;
|
|
102
|
-
readonly automatic_migrations?: boolean | undefined;
|
|
100
|
+
readonly organization: string;
|
|
103
101
|
readonly database: string;
|
|
104
|
-
readonly
|
|
105
|
-
readonly
|
|
102
|
+
readonly new_name?: string | undefined;
|
|
103
|
+
readonly automatic_migrations?: boolean | undefined;
|
|
106
104
|
readonly migration_framework?: string | undefined;
|
|
107
105
|
readonly migration_table_name?: string | undefined;
|
|
108
|
-
readonly new_name?: string | undefined;
|
|
109
|
-
readonly organization: string;
|
|
110
|
-
readonly production_branch_web_console?: boolean | undefined;
|
|
111
106
|
readonly require_approval_for_deploy?: boolean | undefined;
|
|
112
107
|
readonly restrict_branch_region?: boolean | undefined;
|
|
113
|
-
}, {
|
|
114
108
|
readonly allow_data_branching?: boolean | undefined;
|
|
109
|
+
readonly allow_foreign_key_constraints?: boolean | undefined;
|
|
110
|
+
readonly insights_raw_queries?: boolean | undefined;
|
|
111
|
+
readonly production_branch_web_console?: boolean | undefined;
|
|
112
|
+
readonly default_branch?: string | undefined;
|
|
113
|
+
}, {
|
|
114
|
+
readonly id: string;
|
|
115
|
+
readonly url: string;
|
|
116
|
+
readonly branches_url: string;
|
|
117
|
+
readonly branches_count?: number | undefined;
|
|
118
|
+
readonly open_schema_recommendations_count?: number | undefined;
|
|
119
|
+
readonly development_branches_count?: number | undefined;
|
|
120
|
+
readonly production_branches_count?: number | undefined;
|
|
121
|
+
readonly issues_count?: number | undefined;
|
|
122
|
+
readonly multiple_admins_required_for_deletion?: boolean | undefined;
|
|
123
|
+
readonly ready: boolean;
|
|
115
124
|
readonly at_backup_restore_branches_limit?: boolean | undefined;
|
|
116
125
|
readonly at_development_branch_usage_limit?: boolean | undefined;
|
|
117
|
-
readonly automatic_migrations?: boolean | null | undefined;
|
|
118
|
-
readonly branches_count?: number | undefined;
|
|
119
|
-
readonly branches_url: string;
|
|
120
|
-
readonly config_change_queued?: boolean | undefined;
|
|
121
|
-
readonly config_changing?: boolean | undefined;
|
|
122
|
-
readonly created_at: string;
|
|
123
126
|
readonly data_import?: {
|
|
127
|
+
readonly state: string;
|
|
128
|
+
readonly import_check_errors: string;
|
|
129
|
+
readonly started_at: string;
|
|
130
|
+
readonly finished_at: string;
|
|
124
131
|
readonly data_source: {
|
|
125
|
-
readonly database: string;
|
|
126
132
|
readonly hostname: string;
|
|
127
133
|
readonly port: number;
|
|
134
|
+
readonly database: string;
|
|
128
135
|
};
|
|
129
|
-
readonly finished_at: string;
|
|
130
|
-
readonly import_check_errors: string;
|
|
131
|
-
readonly started_at: string;
|
|
132
|
-
readonly state: string;
|
|
133
136
|
} | null | undefined;
|
|
134
|
-
readonly default_branch?: string | undefined;
|
|
135
|
-
readonly default_branch_read_only_regions_count?: number | undefined;
|
|
136
|
-
readonly default_branch_shard_count?: number | undefined;
|
|
137
|
-
readonly default_branch_table_count?: number | undefined;
|
|
138
|
-
readonly development_branches_count?: number | undefined;
|
|
139
|
-
readonly foreign_keys_enabled?: boolean | undefined;
|
|
140
|
-
readonly html_url: string;
|
|
141
|
-
readonly id: string;
|
|
142
|
-
readonly insights_enabled?: boolean | undefined;
|
|
143
|
-
readonly insights_raw_queries?: boolean | undefined;
|
|
144
|
-
readonly issues_count?: number | undefined;
|
|
145
|
-
readonly kind: "mysql" | "postgresql";
|
|
146
|
-
readonly migration_framework?: string | null | undefined;
|
|
147
|
-
readonly migration_table_name?: string | null | undefined;
|
|
148
|
-
readonly multiple_admins_required_for_deletion?: boolean | undefined;
|
|
149
|
-
readonly name: string;
|
|
150
|
-
readonly open_schema_recommendations_count?: number | undefined;
|
|
151
|
-
readonly plan?: string | undefined;
|
|
152
|
-
readonly production_branch_web_console?: boolean | undefined;
|
|
153
|
-
readonly production_branches_count?: number | undefined;
|
|
154
|
-
readonly ready: boolean;
|
|
155
137
|
readonly region: {
|
|
156
|
-
readonly current_default: boolean;
|
|
157
|
-
readonly display_name: string;
|
|
158
|
-
readonly enabled: boolean;
|
|
159
138
|
readonly id: string;
|
|
160
|
-
readonly location: string;
|
|
161
139
|
readonly provider: string;
|
|
140
|
+
readonly enabled: boolean;
|
|
162
141
|
readonly public_ip_addresses: readonly string[];
|
|
142
|
+
readonly display_name: string;
|
|
143
|
+
readonly location: string;
|
|
163
144
|
readonly slug: string;
|
|
145
|
+
readonly current_default: boolean;
|
|
164
146
|
};
|
|
147
|
+
readonly html_url: string;
|
|
148
|
+
readonly name: string;
|
|
149
|
+
readonly state: "awakening" | "import_ready" | "importing" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
|
|
150
|
+
readonly sharded?: boolean | undefined;
|
|
151
|
+
readonly default_branch_shard_count?: number | undefined;
|
|
152
|
+
readonly default_branch_read_only_regions_count?: number | undefined;
|
|
153
|
+
readonly default_branch_table_count?: number | undefined;
|
|
154
|
+
readonly default_branch?: string | undefined;
|
|
165
155
|
readonly require_approval_for_deploy?: boolean | undefined;
|
|
166
|
-
readonly resize_queued?: boolean | undefined;
|
|
167
156
|
readonly resizing?: boolean | undefined;
|
|
157
|
+
readonly resize_queued?: boolean | undefined;
|
|
158
|
+
readonly config_changing?: boolean | undefined;
|
|
159
|
+
readonly config_change_queued?: boolean | undefined;
|
|
160
|
+
readonly allow_data_branching?: boolean | undefined;
|
|
161
|
+
readonly foreign_keys_enabled?: boolean | undefined;
|
|
162
|
+
readonly automatic_migrations?: boolean | null | undefined;
|
|
168
163
|
readonly restrict_branch_region?: boolean | undefined;
|
|
169
|
-
readonly
|
|
170
|
-
readonly
|
|
171
|
-
readonly
|
|
164
|
+
readonly insights_raw_queries?: boolean | undefined;
|
|
165
|
+
readonly plan?: string | undefined;
|
|
166
|
+
readonly insights_enabled?: boolean | undefined;
|
|
167
|
+
readonly production_branch_web_console?: boolean | undefined;
|
|
168
|
+
readonly migration_table_name?: string | null | undefined;
|
|
169
|
+
readonly migration_framework?: string | null | undefined;
|
|
170
|
+
readonly created_at: string;
|
|
172
171
|
readonly updated_at: string;
|
|
173
|
-
readonly
|
|
172
|
+
readonly schema_last_updated_at?: string | undefined;
|
|
173
|
+
readonly kind: "mysql" | "postgresql";
|
|
174
174
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
175
175
|
//# sourceMappingURL=updateDatabaseSettings.d.ts.map
|
|
@@ -31,22 +31,22 @@ export type UpdateDatabaseThrottlerOutput = typeof UpdateDatabaseThrottlerOutput
|
|
|
31
31
|
* @param configurations - If specifying throttler ratios per keyspace, an array of { "keyspace_name": "mykeyspace", "ratio": 10 }, one for each eligible keyspace
|
|
32
32
|
*/
|
|
33
33
|
export declare const updateDatabaseThrottler: import("@distilled.cloud/core/client").OperationMethod<{
|
|
34
|
-
readonly configurations?: readonly string[] | undefined;
|
|
35
|
-
readonly database: string;
|
|
36
34
|
readonly organization: string;
|
|
35
|
+
readonly database: string;
|
|
37
36
|
readonly ratio?: number | undefined;
|
|
37
|
+
readonly configurations?: readonly string[] | undefined;
|
|
38
38
|
}, {
|
|
39
|
+
readonly keyspaces: readonly string[];
|
|
39
40
|
readonly configurable: {
|
|
40
|
-
readonly created_at: string;
|
|
41
|
-
readonly deleted_at: string;
|
|
42
41
|
readonly id: string;
|
|
43
42
|
readonly name: string;
|
|
43
|
+
readonly created_at: string;
|
|
44
44
|
readonly updated_at: string;
|
|
45
|
+
readonly deleted_at: string;
|
|
45
46
|
};
|
|
46
47
|
readonly configurations: readonly {
|
|
47
48
|
readonly keyspace_name: string;
|
|
48
49
|
readonly ratio: number;
|
|
49
50
|
}[];
|
|
50
|
-
readonly keyspaces: readonly string[];
|
|
51
51
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
52
52
|
//# sourceMappingURL=updateDatabaseThrottler.d.ts.map
|
|
@@ -33,23 +33,23 @@ export type UpdateDeployRequestThrottlerOutput = typeof UpdateDeployRequestThrot
|
|
|
33
33
|
* @param configurations - If specifying throttler ratios per keyspace, an array of { "keyspace_name": "mykeyspace", "ratio": 10 }, one for each eligible keyspace
|
|
34
34
|
*/
|
|
35
35
|
export declare const updateDeployRequestThrottler: import("@distilled.cloud/core/client").OperationMethod<{
|
|
36
|
-
readonly
|
|
36
|
+
readonly organization: string;
|
|
37
37
|
readonly database: string;
|
|
38
38
|
readonly number: number;
|
|
39
|
-
readonly organization: string;
|
|
40
39
|
readonly ratio?: number | undefined;
|
|
40
|
+
readonly configurations?: readonly string[] | undefined;
|
|
41
41
|
}, {
|
|
42
|
+
readonly keyspaces: readonly string[];
|
|
42
43
|
readonly configurable: {
|
|
43
|
-
readonly created_at: string;
|
|
44
|
-
readonly deleted_at: string;
|
|
45
44
|
readonly id: string;
|
|
46
45
|
readonly name: string;
|
|
46
|
+
readonly created_at: string;
|
|
47
47
|
readonly updated_at: string;
|
|
48
|
+
readonly deleted_at: string;
|
|
48
49
|
};
|
|
49
50
|
readonly configurations: readonly {
|
|
50
51
|
readonly keyspace_name: string;
|
|
51
52
|
readonly ratio: number;
|
|
52
53
|
}[];
|
|
53
|
-
readonly keyspaces: readonly string[];
|
|
54
54
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
55
55
|
//# sourceMappingURL=updateDeployRequestThrottler.d.ts.map
|
|
@@ -48,41 +48,41 @@ export type UpdateKeyspaceOutput = typeof UpdateKeyspaceOutput.Type;
|
|
|
48
48
|
* @param keyspace - The name of the keyspace
|
|
49
49
|
*/
|
|
50
50
|
export declare const updateKeyspace: import("@distilled.cloud/core/client").OperationMethod<{
|
|
51
|
-
readonly
|
|
51
|
+
readonly organization: string;
|
|
52
52
|
readonly database: string;
|
|
53
|
+
readonly branch: string;
|
|
53
54
|
readonly keyspace: string;
|
|
54
|
-
readonly organization: string;
|
|
55
55
|
}, {
|
|
56
|
-
readonly
|
|
56
|
+
readonly id: string;
|
|
57
|
+
readonly name: string;
|
|
58
|
+
readonly shards: number;
|
|
59
|
+
readonly sharded: boolean;
|
|
60
|
+
readonly replicas: number;
|
|
61
|
+
readonly extra_replicas: number;
|
|
62
|
+
readonly created_at: string;
|
|
63
|
+
readonly updated_at: string;
|
|
57
64
|
readonly cluster_name: string;
|
|
65
|
+
readonly cluster_display_name: string;
|
|
66
|
+
readonly resizing: boolean;
|
|
67
|
+
readonly resize_pending: boolean;
|
|
58
68
|
readonly config_change_in_progress: boolean;
|
|
59
|
-
readonly
|
|
69
|
+
readonly ready: boolean;
|
|
70
|
+
readonly metal: boolean;
|
|
60
71
|
readonly default: boolean;
|
|
61
|
-
readonly extra_replicas: number;
|
|
62
|
-
readonly id: string;
|
|
63
72
|
readonly imported: boolean;
|
|
64
|
-
readonly
|
|
65
|
-
readonly mysqld_options: {
|
|
66
|
-
readonly [x: string]: unknown;
|
|
67
|
-
};
|
|
68
|
-
readonly name: string;
|
|
73
|
+
readonly vector_pool_allocation: number | null;
|
|
69
74
|
readonly node_ttl_strategy: "node_ttl_always" | "node_ttl_follow_maintenance" | "node_ttl_off";
|
|
70
|
-
readonly ready: boolean;
|
|
71
|
-
readonly replicas: number;
|
|
72
75
|
readonly replication_durability_constraints: {
|
|
73
76
|
readonly strategy?: "always" | "available" | "lag" | undefined;
|
|
74
77
|
};
|
|
75
|
-
readonly resize_pending: boolean;
|
|
76
|
-
readonly resizing: boolean;
|
|
77
|
-
readonly sharded: boolean;
|
|
78
|
-
readonly shards: number;
|
|
79
|
-
readonly updated_at: string;
|
|
80
|
-
readonly vector_pool_allocation: number | null;
|
|
81
78
|
readonly vreplication_flags: {
|
|
82
|
-
readonly allow_no_blob_binlog_row_image: boolean;
|
|
83
79
|
readonly optimize_inserts: boolean;
|
|
80
|
+
readonly allow_no_blob_binlog_row_image: boolean;
|
|
84
81
|
readonly vplayer_batching: boolean;
|
|
85
82
|
};
|
|
83
|
+
readonly mysqld_options: {
|
|
84
|
+
readonly [x: string]: unknown;
|
|
85
|
+
};
|
|
86
86
|
readonly vttablet_options: {
|
|
87
87
|
readonly [x: string]: unknown;
|
|
88
88
|
};
|
|
@@ -22,10 +22,10 @@ export type UpdateKeyspaceVschemaOutput = typeof UpdateKeyspaceVschemaOutput.Typ
|
|
|
22
22
|
* @param vschema - The new VSchema for the keyspace
|
|
23
23
|
*/
|
|
24
24
|
export declare const updateKeyspaceVschema: import("@distilled.cloud/core/client").OperationMethod<{
|
|
25
|
-
readonly
|
|
25
|
+
readonly organization: string;
|
|
26
26
|
readonly database: string;
|
|
27
|
+
readonly branch: string;
|
|
27
28
|
readonly keyspace: string;
|
|
28
|
-
readonly organization: string;
|
|
29
29
|
readonly vschema: string;
|
|
30
30
|
}, {
|
|
31
31
|
readonly raw: string;
|
|
@@ -39,32 +39,32 @@ export type UpdateOrganizationOutput = typeof UpdateOrganizationOutput.Type;
|
|
|
39
39
|
* @param invoice_budget_amount - The expected monthly budget for the organization
|
|
40
40
|
*/
|
|
41
41
|
export declare const updateOrganization: import("@distilled.cloud/core/client").OperationMethod<{
|
|
42
|
+
readonly organization: string;
|
|
42
43
|
readonly billing_email?: string | undefined;
|
|
43
44
|
readonly idp_managed_roles?: boolean | undefined;
|
|
44
45
|
readonly invoice_budget_amount?: number | undefined;
|
|
45
|
-
readonly organization: string;
|
|
46
46
|
}, {
|
|
47
|
+
readonly id: string;
|
|
48
|
+
readonly name: string;
|
|
47
49
|
readonly billing_email: string;
|
|
48
50
|
readonly created_at: string;
|
|
51
|
+
readonly updated_at: string;
|
|
52
|
+
readonly plan: string;
|
|
53
|
+
readonly valid_billing_info: boolean;
|
|
54
|
+
readonly sso: boolean;
|
|
55
|
+
readonly sso_directory: boolean;
|
|
56
|
+
readonly single_tenancy: boolean;
|
|
57
|
+
readonly managed_tenancy: boolean;
|
|
58
|
+
readonly has_past_due_invoices?: boolean | undefined;
|
|
49
59
|
readonly database_count: number;
|
|
60
|
+
readonly sso_portal_url?: string | undefined;
|
|
50
61
|
readonly features: {
|
|
51
62
|
readonly [x: string]: unknown;
|
|
52
63
|
};
|
|
53
|
-
readonly has_card: boolean;
|
|
54
|
-
readonly has_past_due_invoices?: boolean | undefined;
|
|
55
|
-
readonly id: string;
|
|
56
64
|
readonly idp_managed_roles: boolean;
|
|
57
65
|
readonly invoice_budget_amount: string;
|
|
58
66
|
readonly keyspace_shard_limit: number;
|
|
59
|
-
readonly
|
|
60
|
-
readonly name: string;
|
|
67
|
+
readonly has_card: boolean;
|
|
61
68
|
readonly payment_info_required: boolean;
|
|
62
|
-
readonly plan: string;
|
|
63
|
-
readonly single_tenancy: boolean;
|
|
64
|
-
readonly sso: boolean;
|
|
65
|
-
readonly sso_directory: boolean;
|
|
66
|
-
readonly sso_portal_url?: string | undefined;
|
|
67
|
-
readonly updated_at: string;
|
|
68
|
-
readonly valid_billing_info: boolean;
|
|
69
69
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
70
70
|
//# sourceMappingURL=updateOrganization.d.ts.map
|
|
@@ -42,34 +42,34 @@ export type UpdateOrganizationMembershipOutput = typeof UpdateOrganizationMember
|
|
|
42
42
|
* @param role - The role to assign to the member (e.g., 'admin', 'member'). Note: Cannot update your own role. Roles managed by IdP cannot be updated via API.
|
|
43
43
|
*/
|
|
44
44
|
export declare const updateOrganizationMembership: import("@distilled.cloud/core/client").OperationMethod<{
|
|
45
|
-
readonly id: string;
|
|
46
45
|
readonly organization: string;
|
|
46
|
+
readonly id: string;
|
|
47
47
|
readonly role: string;
|
|
48
48
|
}, {
|
|
49
|
-
readonly created_at: string;
|
|
50
49
|
readonly id: string;
|
|
51
|
-
readonly role: "admin" | "member";
|
|
52
|
-
readonly updated_at: string;
|
|
53
50
|
readonly user: {
|
|
51
|
+
readonly id: string;
|
|
52
|
+
readonly display_name: string;
|
|
53
|
+
readonly name?: string | null | undefined;
|
|
54
|
+
readonly email: string;
|
|
54
55
|
readonly avatar_url: string;
|
|
55
56
|
readonly created_at: string;
|
|
57
|
+
readonly updated_at: string;
|
|
58
|
+
readonly two_factor_auth_configured: boolean;
|
|
56
59
|
readonly default_organization?: {
|
|
57
|
-
readonly created_at: string;
|
|
58
|
-
readonly deleted_at: string;
|
|
59
60
|
readonly id: string;
|
|
60
61
|
readonly name: string;
|
|
62
|
+
readonly created_at: string;
|
|
61
63
|
readonly updated_at: string;
|
|
64
|
+
readonly deleted_at: string;
|
|
62
65
|
} | undefined;
|
|
66
|
+
readonly sso?: boolean | undefined;
|
|
67
|
+
readonly managed?: boolean | undefined;
|
|
63
68
|
readonly directory_managed?: boolean | undefined;
|
|
64
|
-
readonly display_name: string;
|
|
65
|
-
readonly email: string;
|
|
66
69
|
readonly email_verified?: boolean | undefined;
|
|
67
|
-
readonly id: string;
|
|
68
|
-
readonly managed?: boolean | undefined;
|
|
69
|
-
readonly name?: string | null | undefined;
|
|
70
|
-
readonly sso?: boolean | undefined;
|
|
71
|
-
readonly two_factor_auth_configured: boolean;
|
|
72
|
-
readonly updated_at: string;
|
|
73
70
|
};
|
|
71
|
+
readonly role: "admin" | "member";
|
|
72
|
+
readonly created_at: string;
|
|
73
|
+
readonly updated_at: string;
|
|
74
74
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
75
75
|
//# sourceMappingURL=updateOrganizationMembership.d.ts.map
|
|
@@ -59,50 +59,50 @@ export type UpdateOrganizationTeamOutput = typeof UpdateOrganizationTeamOutput.T
|
|
|
59
59
|
* @param description - The new description for the team
|
|
60
60
|
*/
|
|
61
61
|
export declare const updateOrganizationTeam: import("@distilled.cloud/core/client").OperationMethod<{
|
|
62
|
-
readonly description?: string | undefined;
|
|
63
|
-
readonly name?: string | undefined;
|
|
64
62
|
readonly organization: string;
|
|
65
63
|
readonly team: string;
|
|
64
|
+
readonly name?: string | undefined;
|
|
65
|
+
readonly description?: string | undefined;
|
|
66
66
|
}, {
|
|
67
|
-
readonly
|
|
67
|
+
readonly id: string;
|
|
68
|
+
readonly display_name: string;
|
|
68
69
|
readonly creator: {
|
|
69
|
-
readonly avatar_url: string;
|
|
70
|
-
readonly display_name: string;
|
|
71
70
|
readonly id: string;
|
|
71
|
+
readonly display_name: string;
|
|
72
|
+
readonly avatar_url: string;
|
|
72
73
|
};
|
|
73
|
-
readonly
|
|
74
|
-
readonly branches_url: string;
|
|
74
|
+
readonly members: readonly {
|
|
75
75
|
readonly id: string;
|
|
76
|
+
readonly display_name: string;
|
|
76
77
|
readonly name: string;
|
|
77
|
-
readonly
|
|
78
|
-
}[];
|
|
79
|
-
readonly description: string;
|
|
80
|
-
readonly display_name: string;
|
|
81
|
-
readonly id: string;
|
|
82
|
-
readonly managed: boolean;
|
|
83
|
-
readonly members: readonly {
|
|
78
|
+
readonly email: string;
|
|
84
79
|
readonly avatar_url: string;
|
|
85
80
|
readonly created_at: string;
|
|
81
|
+
readonly updated_at: string;
|
|
82
|
+
readonly two_factor_auth_configured: boolean;
|
|
86
83
|
readonly default_organization: {
|
|
87
|
-
readonly created_at: string;
|
|
88
|
-
readonly deleted_at: string;
|
|
89
84
|
readonly id: string;
|
|
90
85
|
readonly name: string;
|
|
86
|
+
readonly created_at: string;
|
|
91
87
|
readonly updated_at: string;
|
|
88
|
+
readonly deleted_at: string;
|
|
92
89
|
};
|
|
90
|
+
readonly sso: boolean;
|
|
91
|
+
readonly managed: boolean;
|
|
93
92
|
readonly directory_managed: boolean;
|
|
94
|
-
readonly display_name: string;
|
|
95
|
-
readonly email: string;
|
|
96
93
|
readonly email_verified: boolean;
|
|
94
|
+
}[];
|
|
95
|
+
readonly databases: readonly {
|
|
97
96
|
readonly id: string;
|
|
98
|
-
readonly managed: boolean;
|
|
99
97
|
readonly name: string;
|
|
100
|
-
readonly
|
|
101
|
-
readonly
|
|
102
|
-
readonly updated_at: string;
|
|
98
|
+
readonly url: string;
|
|
99
|
+
readonly branches_url: string;
|
|
103
100
|
}[];
|
|
104
101
|
readonly name: string;
|
|
105
102
|
readonly slug: string;
|
|
103
|
+
readonly created_at: string;
|
|
106
104
|
readonly updated_at: string;
|
|
105
|
+
readonly description: string;
|
|
106
|
+
readonly managed: boolean;
|
|
107
107
|
}, BadRequest | Forbidden | NotFound | UnprocessableEntity, import("../credentials.ts").Credentials>;
|
|
108
108
|
//# sourceMappingURL=updateOrganizationTeam.d.ts.map
|
|
@@ -64,53 +64,53 @@ export type UpdatePasswordOutput = typeof UpdatePasswordOutput.Type;
|
|
|
64
64
|
* @param cidrs - List of IP addresses or CIDR ranges that can use this password
|
|
65
65
|
*/
|
|
66
66
|
export declare const updatePassword: import("@distilled.cloud/core/client").OperationMethod<{
|
|
67
|
-
readonly
|
|
68
|
-
readonly cidrs?: readonly string[] | undefined;
|
|
67
|
+
readonly organization: string;
|
|
69
68
|
readonly database: string;
|
|
69
|
+
readonly branch: string;
|
|
70
70
|
readonly id: string;
|
|
71
71
|
readonly name?: string | undefined;
|
|
72
|
-
readonly
|
|
72
|
+
readonly cidrs?: readonly string[] | undefined;
|
|
73
73
|
}, {
|
|
74
|
-
readonly
|
|
75
|
-
readonly
|
|
76
|
-
readonly
|
|
77
|
-
readonly actor: {
|
|
78
|
-
readonly avatar_url: string;
|
|
79
|
-
readonly display_name: string;
|
|
80
|
-
readonly id: string;
|
|
81
|
-
};
|
|
74
|
+
readonly id: string;
|
|
75
|
+
readonly name: string;
|
|
76
|
+
readonly role: "admin" | "reader" | "readwriter" | "writer";
|
|
82
77
|
readonly cidrs: readonly string[] | null;
|
|
83
78
|
readonly created_at: string;
|
|
84
|
-
readonly database_branch: {
|
|
85
|
-
readonly id: string;
|
|
86
|
-
readonly mysql_edge_address: string;
|
|
87
|
-
readonly name: string;
|
|
88
|
-
readonly private_edge_connectivity: boolean;
|
|
89
|
-
readonly production: boolean;
|
|
90
|
-
};
|
|
91
79
|
readonly deleted_at: string | null;
|
|
92
|
-
readonly direct_vtgate: boolean;
|
|
93
|
-
readonly direct_vtgate_addresses: readonly string[];
|
|
94
|
-
readonly expired: boolean;
|
|
95
80
|
readonly expires_at: string | null;
|
|
96
|
-
readonly id: string;
|
|
97
81
|
readonly last_used_at: string | null;
|
|
98
|
-
readonly
|
|
99
|
-
readonly
|
|
100
|
-
readonly
|
|
101
|
-
|
|
82
|
+
readonly expired: boolean;
|
|
83
|
+
readonly direct_vtgate: boolean;
|
|
84
|
+
readonly direct_vtgate_addresses: readonly string[];
|
|
85
|
+
readonly ttl_seconds: number | null;
|
|
86
|
+
readonly access_host_url: string;
|
|
87
|
+
readonly access_host_regional_url: string;
|
|
88
|
+
readonly access_host_regional_urls: readonly string[];
|
|
89
|
+
readonly actor: {
|
|
90
|
+
readonly id: string;
|
|
102
91
|
readonly display_name: string;
|
|
103
|
-
readonly
|
|
92
|
+
readonly avatar_url: string;
|
|
93
|
+
};
|
|
94
|
+
readonly region: {
|
|
104
95
|
readonly id: string;
|
|
105
|
-
readonly location: string;
|
|
106
96
|
readonly provider: string;
|
|
97
|
+
readonly enabled: boolean;
|
|
107
98
|
readonly public_ip_addresses: readonly string[];
|
|
99
|
+
readonly display_name: string;
|
|
100
|
+
readonly location: string;
|
|
108
101
|
readonly slug: string;
|
|
102
|
+
readonly current_default: boolean;
|
|
109
103
|
};
|
|
110
|
-
readonly renewable: boolean;
|
|
111
|
-
readonly replica: boolean;
|
|
112
|
-
readonly role: "admin" | "reader" | "readwriter" | "writer";
|
|
113
|
-
readonly ttl_seconds: number | null;
|
|
114
104
|
readonly username: string;
|
|
105
|
+
readonly plain_text: string | import("effect/Redacted").Redacted<string> | null;
|
|
106
|
+
readonly replica: boolean;
|
|
107
|
+
readonly renewable: boolean;
|
|
108
|
+
readonly database_branch: {
|
|
109
|
+
readonly name: string;
|
|
110
|
+
readonly id: string;
|
|
111
|
+
readonly production: boolean;
|
|
112
|
+
readonly mysql_edge_address: string;
|
|
113
|
+
readonly private_edge_connectivity: boolean;
|
|
114
|
+
};
|
|
115
115
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
116
116
|
//# sourceMappingURL=updatePassword.d.ts.map
|