@distilled.cloud/planetscale 0.10.2 → 0.12.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/client.d.ts +2 -2
- package/lib/operations/addOrganizationTeamMember.d.ts +79 -1
- package/lib/operations/addOrganizationTeamMember.d.ts.map +1 -1
- package/lib/operations/cancelBouncerResizeRequest.d.ts +7 -1
- package/lib/operations/cancelBouncerResizeRequest.d.ts.map +1 -1
- package/lib/operations/cancelBranchChangeRequest.d.ts +6 -1
- package/lib/operations/cancelBranchChangeRequest.d.ts.map +1 -1
- package/lib/operations/cancelDeployRequest.d.ts +148 -1
- package/lib/operations/cancelDeployRequest.d.ts.map +1 -1
- package/lib/operations/checkDeployRequestStorage.d.ts +22 -1
- package/lib/operations/checkDeployRequestStorage.d.ts.map +1 -1
- package/lib/operations/closeDeployRequest.d.ts +149 -1
- package/lib/operations/closeDeployRequest.d.ts.map +1 -1
- package/lib/operations/completeErroredDeploy.d.ts +148 -1
- package/lib/operations/completeErroredDeploy.d.ts.map +1 -1
- package/lib/operations/completeGatedDeployRequest.d.ts +148 -1
- package/lib/operations/completeGatedDeployRequest.d.ts.map +1 -1
- package/lib/operations/completeRevert.d.ts +148 -1
- package/lib/operations/completeRevert.d.ts.map +1 -1
- package/lib/operations/createBackup.d.ts +70 -1
- package/lib/operations/createBackup.d.ts.map +1 -1
- package/lib/operations/createBackupPolicy.d.ts +31 -1
- package/lib/operations/createBackupPolicy.d.ts.map +1 -1
- package/lib/operations/createBouncer.d.ts +63 -1
- package/lib/operations/createBouncer.d.ts.map +1 -1
- package/lib/operations/createBranch.d.ts +73 -1
- package/lib/operations/createBranch.d.ts.map +1 -1
- package/lib/operations/createDatabase.d.ts +75 -1
- package/lib/operations/createDatabase.d.ts.map +1 -1
- package/lib/operations/createDatabasePostgresCidr.d.ts +21 -1
- package/lib/operations/createDatabasePostgresCidr.d.ts.map +1 -1
- package/lib/operations/createDeployRequest.d.ts +152 -1
- package/lib/operations/createDeployRequest.d.ts.map +1 -1
- package/lib/operations/createKeyspace.d.ts +44 -1
- package/lib/operations/createKeyspace.d.ts.map +1 -1
- package/lib/operations/createOauthToken.d.ts +88 -1
- package/lib/operations/createOauthToken.d.ts.map +1 -1
- package/lib/operations/createOrganizationTeam.d.ts +47 -1
- package/lib/operations/createOrganizationTeam.d.ts.map +1 -1
- package/lib/operations/createPassword.d.ts +54 -1
- package/lib/operations/createPassword.d.ts.map +1 -1
- package/lib/operations/createQueryPatternsReport.d.ts +18 -1
- package/lib/operations/createQueryPatternsReport.d.ts.map +1 -1
- package/lib/operations/createRole.d.ts +47 -1
- package/lib/operations/createRole.d.ts.map +1 -1
- package/lib/operations/createServiceToken.d.ts +83 -1
- package/lib/operations/createServiceToken.d.ts.map +1 -1
- package/lib/operations/createTrafficBudget.d.ts +50 -1
- package/lib/operations/createTrafficBudget.d.ts.map +1 -1
- package/lib/operations/createTrafficRule.d.ts +30 -1
- package/lib/operations/createTrafficRule.d.ts.map +1 -1
- package/lib/operations/createWebhook.d.ts +19 -1
- package/lib/operations/createWebhook.d.ts.map +1 -1
- package/lib/operations/createWorkflow.d.ts +118 -1
- package/lib/operations/createWorkflow.d.ts.map +1 -1
- package/lib/operations/deleteBackup.d.ts +7 -1
- package/lib/operations/deleteBackup.d.ts.map +1 -1
- package/lib/operations/deleteBackupPolicy.d.ts +6 -1
- package/lib/operations/deleteBackupPolicy.d.ts.map +1 -1
- package/lib/operations/deleteBouncer.d.ts +7 -1
- package/lib/operations/deleteBouncer.d.ts.map +1 -1
- package/lib/operations/deleteBranch.d.ts +7 -1
- package/lib/operations/deleteBranch.d.ts.map +1 -1
- package/lib/operations/deleteDatabase.d.ts +5 -1
- package/lib/operations/deleteDatabase.d.ts.map +1 -1
- package/lib/operations/deleteDatabasePostgresCidr.d.ts +6 -1
- package/lib/operations/deleteDatabasePostgresCidr.d.ts.map +1 -1
- package/lib/operations/deleteKeyspace.d.ts +7 -1
- package/lib/operations/deleteKeyspace.d.ts.map +1 -1
- package/lib/operations/deleteOauthToken.d.ts +6 -1
- package/lib/operations/deleteOauthToken.d.ts.map +1 -1
- package/lib/operations/deleteOrganizationTeam.d.ts +5 -1
- package/lib/operations/deleteOrganizationTeam.d.ts.map +1 -1
- package/lib/operations/deletePassword.d.ts +7 -1
- package/lib/operations/deletePassword.d.ts.map +1 -1
- package/lib/operations/deleteQueryPatternsReport.d.ts +7 -1
- package/lib/operations/deleteQueryPatternsReport.d.ts.map +1 -1
- package/lib/operations/deleteRole.d.ts +8 -1
- package/lib/operations/deleteRole.d.ts.map +1 -1
- package/lib/operations/deleteServiceToken.d.ts +5 -1
- package/lib/operations/deleteServiceToken.d.ts.map +1 -1
- package/lib/operations/deleteTrafficBudget.d.ts +7 -1
- package/lib/operations/deleteTrafficBudget.d.ts.map +1 -1
- package/lib/operations/deleteTrafficRule.d.ts +8 -1
- package/lib/operations/deleteTrafficRule.d.ts.map +1 -1
- package/lib/operations/deleteWebhook.d.ts +6 -1
- package/lib/operations/deleteWebhook.d.ts.map +1 -1
- package/lib/operations/demoteBranch.d.ts +62 -1
- package/lib/operations/demoteBranch.d.ts.map +1 -1
- package/lib/operations/disableSafeMigrations.d.ts +62 -1
- package/lib/operations/disableSafeMigrations.d.ts.map +1 -1
- package/lib/operations/dismissSchemaRecommendation.d.ts +31 -1
- package/lib/operations/dismissSchemaRecommendation.d.ts.map +1 -1
- package/lib/operations/enableSafeMigrations.d.ts +62 -1
- package/lib/operations/enableSafeMigrations.d.ts.map +1 -1
- package/lib/operations/getBackup.d.ts +67 -1
- package/lib/operations/getBackup.d.ts.map +1 -1
- package/lib/operations/getBackupPolicy.d.ts +23 -1
- package/lib/operations/getBackupPolicy.d.ts.map +1 -1
- package/lib/operations/getBouncer.d.ts +60 -1
- package/lib/operations/getBouncer.d.ts.map +1 -1
- package/lib/operations/getBranch.d.ts +62 -1
- package/lib/operations/getBranch.d.ts.map +1 -1
- package/lib/operations/getBranchChangeRequest.d.ts +48 -1
- package/lib/operations/getBranchChangeRequest.d.ts.map +1 -1
- package/lib/operations/getBranchSchema.d.ts +14 -1
- package/lib/operations/getBranchSchema.d.ts.map +1 -1
- package/lib/operations/getCurrentUser.d.ts +22 -1
- package/lib/operations/getCurrentUser.d.ts.map +1 -1
- package/lib/operations/getDatabase.d.ts +66 -1
- package/lib/operations/getDatabase.d.ts.map +1 -1
- package/lib/operations/getDatabasePostgresCidr.d.ts +19 -1
- package/lib/operations/getDatabasePostgresCidr.d.ts.map +1 -1
- package/lib/operations/getDatabaseThrottler.d.ts +18 -1
- package/lib/operations/getDatabaseThrottler.d.ts.map +1 -1
- package/lib/operations/getDefaultRole.d.ts +42 -1
- package/lib/operations/getDefaultRole.d.ts.map +1 -1
- package/lib/operations/getDeployQueue.d.ts +119 -1
- package/lib/operations/getDeployQueue.d.ts.map +1 -1
- package/lib/operations/getDeployRequest.d.ts +148 -1
- package/lib/operations/getDeployRequest.d.ts.map +1 -1
- package/lib/operations/getDeployRequestThrottler.d.ts +19 -1
- package/lib/operations/getDeployRequestThrottler.d.ts.map +1 -1
- package/lib/operations/getDeployment.d.ts +111 -1
- package/lib/operations/getDeployment.d.ts.map +1 -1
- package/lib/operations/getInvoice.d.ts +12 -1
- package/lib/operations/getInvoice.d.ts.map +1 -1
- package/lib/operations/getInvoiceLineItems.d.ts +28 -1
- package/lib/operations/getInvoiceLineItems.d.ts.map +1 -1
- package/lib/operations/getKeyspace.d.ts +41 -1
- package/lib/operations/getKeyspace.d.ts.map +1 -1
- package/lib/operations/getKeyspaceRolloutStatus.d.ts +16 -1
- package/lib/operations/getKeyspaceRolloutStatus.d.ts.map +1 -1
- package/lib/operations/getKeyspaceVschema.d.ts +9 -1
- package/lib/operations/getKeyspaceVschema.d.ts.map +1 -1
- package/lib/operations/getMaintenanceSchedule.d.ts +25 -1
- package/lib/operations/getMaintenanceSchedule.d.ts.map +1 -1
- package/lib/operations/getOauthApplication.d.ts +24 -1
- package/lib/operations/getOauthApplication.d.ts.map +1 -1
- package/lib/operations/getOauthToken.d.ts +83 -1
- package/lib/operations/getOauthToken.d.ts.map +1 -1
- package/lib/operations/getOrganization.d.ts +27 -1
- package/lib/operations/getOrganization.d.ts.map +1 -1
- package/lib/operations/getOrganizationMembership.d.ts +31 -1
- package/lib/operations/getOrganizationMembership.d.ts.map +1 -1
- package/lib/operations/getOrganizationTeam.d.ts +46 -1
- package/lib/operations/getOrganizationTeam.d.ts.map +1 -1
- package/lib/operations/getOrganizationTeamMember.d.ts +79 -1
- package/lib/operations/getOrganizationTeamMember.d.ts.map +1 -1
- package/lib/operations/getPassword.d.ts +49 -1
- package/lib/operations/getPassword.d.ts.map +1 -1
- package/lib/operations/getQueryPatternsReport.d.ts +7 -1
- package/lib/operations/getQueryPatternsReport.d.ts.map +1 -1
- package/lib/operations/getQueryPatternsReportStatus.d.ts +19 -1
- package/lib/operations/getQueryPatternsReportStatus.d.ts.map +1 -1
- package/lib/operations/getRole.d.ts +43 -1
- package/lib/operations/getRole.d.ts.map +1 -1
- package/lib/operations/getSchemaRecommendation.d.ts +30 -1
- package/lib/operations/getSchemaRecommendation.d.ts.map +1 -1
- package/lib/operations/getServiceToken.d.ts +82 -1
- package/lib/operations/getServiceToken.d.ts.map +1 -1
- package/lib/operations/getTrafficBudget.d.ts +43 -1
- package/lib/operations/getTrafficBudget.d.ts.map +1 -1
- package/lib/operations/getWebhook.d.ts +17 -1
- package/lib/operations/getWebhook.d.ts.map +1 -1
- package/lib/operations/getWorkflow.d.ts +112 -1
- package/lib/operations/getWorkflow.d.ts.map +1 -1
- package/lib/operations/lintBranchSchema.d.ts +33 -1
- package/lib/operations/lintBranchSchema.d.ts.map +1 -1
- package/lib/operations/listAuditLogs.d.ts +33 -1
- package/lib/operations/listAuditLogs.d.ts.map +1 -1
- package/lib/operations/listBackupPolicies.d.ts +31 -1
- package/lib/operations/listBackupPolicies.d.ts.map +1 -1
- package/lib/operations/listBackups.d.ts +82 -1
- package/lib/operations/listBackups.d.ts.map +1 -1
- package/lib/operations/listBouncerResizeRequests.d.ts +57 -1
- package/lib/operations/listBouncerResizeRequests.d.ts.map +1 -1
- package/lib/operations/listBouncers.d.ts +68 -1
- package/lib/operations/listBouncers.d.ts.map +1 -1
- package/lib/operations/listBranchBouncerResizeRequests.d.ts +56 -1
- package/lib/operations/listBranchBouncerResizeRequests.d.ts.map +1 -1
- package/lib/operations/listBranchChangeRequests.d.ts +56 -1
- package/lib/operations/listBranchChangeRequests.d.ts.map +1 -1
- package/lib/operations/listBranches.d.ts +74 -1
- package/lib/operations/listBranches.d.ts.map +1 -1
- package/lib/operations/listClusterSizeSkus.d.ts +24 -1
- package/lib/operations/listClusterSizeSkus.d.ts.map +1 -1
- package/lib/operations/listDatabasePostgresCidrs.d.ts +27 -1
- package/lib/operations/listDatabasePostgresCidrs.d.ts.map +1 -1
- package/lib/operations/listDatabaseRegions.d.ts +23 -1
- package/lib/operations/listDatabaseRegions.d.ts.map +1 -1
- package/lib/operations/listDatabases.d.ts +75 -1
- package/lib/operations/listDatabases.d.ts.map +1 -1
- package/lib/operations/listDeployOperations.d.ts +35 -1
- package/lib/operations/listDeployOperations.d.ts.map +1 -1
- package/lib/operations/listDeployRequestReviews.d.ts +27 -1
- package/lib/operations/listDeployRequestReviews.d.ts.map +1 -1
- package/lib/operations/listDeployRequests.d.ts +161 -1
- package/lib/operations/listDeployRequests.d.ts.map +1 -1
- package/lib/operations/listExtensions.d.ts +42 -1
- package/lib/operations/listExtensions.d.ts.map +1 -1
- package/lib/operations/listGeneratedQueryPatternsReports.d.ts +27 -1
- package/lib/operations/listGeneratedQueryPatternsReports.d.ts.map +1 -1
- package/lib/operations/listInvoices.d.ts +20 -1
- package/lib/operations/listInvoices.d.ts.map +1 -1
- package/lib/operations/listKeyspaces.d.ts +49 -1
- package/lib/operations/listKeyspaces.d.ts.map +1 -1
- package/lib/operations/listMaintenanceSchedules.d.ts +33 -1
- package/lib/operations/listMaintenanceSchedules.d.ts.map +1 -1
- package/lib/operations/listMaintenanceWindows.d.ts +21 -1
- package/lib/operations/listMaintenanceWindows.d.ts.map +1 -1
- package/lib/operations/listOauthApplications.d.ts +32 -1
- package/lib/operations/listOauthApplications.d.ts.map +1 -1
- package/lib/operations/listOauthTokens.d.ts +91 -1
- package/lib/operations/listOauthTokens.d.ts.map +1 -1
- package/lib/operations/listOrganizationMembers.d.ts +40 -1
- package/lib/operations/listOrganizationMembers.d.ts.map +1 -1
- package/lib/operations/listOrganizationTeamMembers.d.ts +87 -1
- package/lib/operations/listOrganizationTeamMembers.d.ts.map +1 -1
- package/lib/operations/listOrganizationTeams.d.ts +55 -1
- package/lib/operations/listOrganizationTeams.d.ts.map +1 -1
- package/lib/operations/listOrganizations.d.ts +35 -1
- package/lib/operations/listOrganizations.d.ts.map +1 -1
- package/lib/operations/listParameters.d.ts +32 -1
- package/lib/operations/listParameters.d.ts.map +1 -1
- package/lib/operations/listPasswords.d.ts +58 -1
- package/lib/operations/listPasswords.d.ts.map +1 -1
- package/lib/operations/listPublicRegions.d.ts +20 -1
- package/lib/operations/listPublicRegions.d.ts.map +1 -1
- package/lib/operations/listReadOnlyRegions.d.ts +36 -1
- package/lib/operations/listReadOnlyRegions.d.ts.map +1 -1
- package/lib/operations/listRegionsForOrganization.d.ts +22 -1
- package/lib/operations/listRegionsForOrganization.d.ts.map +1 -1
- package/lib/operations/listRoles.d.ts +51 -1
- package/lib/operations/listRoles.d.ts.map +1 -1
- package/lib/operations/listSchemaRecommendations.d.ts +39 -1
- package/lib/operations/listSchemaRecommendations.d.ts.map +1 -1
- package/lib/operations/listServiceTokens.d.ts +90 -1
- package/lib/operations/listServiceTokens.d.ts.map +1 -1
- package/lib/operations/listTrafficBudgets.d.ts +54 -1
- package/lib/operations/listTrafficBudgets.d.ts.map +1 -1
- package/lib/operations/listWebhooks.d.ts +25 -1
- package/lib/operations/listWebhooks.d.ts.map +1 -1
- package/lib/operations/listWorkflows.d.ts +121 -1
- package/lib/operations/listWorkflows.d.ts.map +1 -1
- package/lib/operations/promoteBranch.d.ts +62 -1
- package/lib/operations/promoteBranch.d.ts.map +1 -1
- package/lib/operations/queueDeployRequest.d.ts +149 -1
- package/lib/operations/queueDeployRequest.d.ts.map +1 -1
- package/lib/operations/reassignRoleObjects.d.ts +8 -1
- package/lib/operations/reassignRoleObjects.d.ts.map +1 -1
- package/lib/operations/removeOrganizationMember.d.ts +7 -1
- package/lib/operations/removeOrganizationMember.d.ts.map +1 -1
- package/lib/operations/removeOrganizationTeamMember.d.ts +7 -1
- package/lib/operations/removeOrganizationTeamMember.d.ts.map +1 -1
- package/lib/operations/renewPassword.d.ts +49 -1
- package/lib/operations/renewPassword.d.ts.map +1 -1
- package/lib/operations/renewRole.d.ts +43 -1
- package/lib/operations/renewRole.d.ts.map +1 -1
- package/lib/operations/resetDefaultRole.d.ts +42 -1
- package/lib/operations/resetDefaultRole.d.ts.map +1 -1
- package/lib/operations/resetRole.d.ts +43 -1
- package/lib/operations/resetRole.d.ts.map +1 -1
- package/lib/operations/reviewDeployRequest.d.ts +20 -1
- package/lib/operations/reviewDeployRequest.d.ts.map +1 -1
- package/lib/operations/skipRevertPeriod.d.ts +148 -1
- package/lib/operations/skipRevertPeriod.d.ts.map +1 -1
- package/lib/operations/testWebhook.d.ts +6 -1
- package/lib/operations/testWebhook.d.ts.map +1 -1
- package/lib/operations/updateAutoApply.d.ts +149 -1
- package/lib/operations/updateAutoApply.d.ts.map +1 -1
- package/lib/operations/updateAutoDeleteBranch.d.ts +149 -1
- package/lib/operations/updateAutoDeleteBranch.d.ts.map +1 -1
- package/lib/operations/updateBackup.d.ts +68 -1
- package/lib/operations/updateBackup.d.ts.map +1 -1
- package/lib/operations/updateBackupPolicy.d.ts +32 -1
- package/lib/operations/updateBackupPolicy.d.ts.map +1 -1
- package/lib/operations/updateBouncerResizeRequest.d.ts +53 -1
- package/lib/operations/updateBouncerResizeRequest.d.ts.map +1 -1
- package/lib/operations/updateBranch.d.ts +63 -1
- package/lib/operations/updateBranch.d.ts.map +1 -1
- package/lib/operations/updateBranchChangeRequest.d.ts +52 -1
- package/lib/operations/updateBranchChangeRequest.d.ts.map +1 -1
- package/lib/operations/updateBranchClusterConfig.d.ts +7 -1
- package/lib/operations/updateBranchClusterConfig.d.ts.map +1 -1
- package/lib/operations/updateDatabasePostgresCidr.d.ts +22 -1
- package/lib/operations/updateDatabasePostgresCidr.d.ts.map +1 -1
- package/lib/operations/updateDatabaseSettings.d.ts +77 -1
- package/lib/operations/updateDatabaseSettings.d.ts.map +1 -1
- package/lib/operations/updateDatabaseThrottler.d.ts +20 -1
- package/lib/operations/updateDatabaseThrottler.d.ts.map +1 -1
- package/lib/operations/updateDeployRequestThrottler.d.ts +21 -1
- package/lib/operations/updateDeployRequestThrottler.d.ts.map +1 -1
- package/lib/operations/updateKeyspace.d.ts +41 -1
- package/lib/operations/updateKeyspace.d.ts.map +1 -1
- package/lib/operations/updateKeyspaceVschema.d.ts +10 -1
- package/lib/operations/updateKeyspaceVschema.d.ts.map +1 -1
- package/lib/operations/updateOrganization.d.ts +30 -1
- package/lib/operations/updateOrganization.d.ts.map +1 -1
- package/lib/operations/updateOrganizationMembership.d.ts +32 -1
- package/lib/operations/updateOrganizationMembership.d.ts.map +1 -1
- package/lib/operations/updateOrganizationTeam.d.ts +48 -1
- package/lib/operations/updateOrganizationTeam.d.ts.map +1 -1
- package/lib/operations/updatePassword.d.ts +51 -1
- package/lib/operations/updatePassword.d.ts.map +1 -1
- package/lib/operations/updateRole.d.ts +46 -1
- package/lib/operations/updateRole.d.ts.map +1 -1
- package/lib/operations/updateTrafficBudget.d.ts +51 -1
- package/lib/operations/updateTrafficBudget.d.ts.map +1 -1
- package/lib/operations/updateWebhook.d.ts +20 -1
- package/lib/operations/updateWebhook.d.ts.map +1 -1
- package/lib/operations/verifyWorkflow.d.ts +112 -1
- package/lib/operations/verifyWorkflow.d.ts.map +1 -1
- package/lib/operations/workflowCancel.d.ts +112 -1
- package/lib/operations/workflowCancel.d.ts.map +1 -1
- package/lib/operations/workflowComplete.d.ts +112 -1
- package/lib/operations/workflowComplete.d.ts.map +1 -1
- package/lib/operations/workflowCutover.d.ts +112 -1
- package/lib/operations/workflowCutover.d.ts.map +1 -1
- package/lib/operations/workflowRetry.d.ts +112 -1
- package/lib/operations/workflowRetry.d.ts.map +1 -1
- package/lib/operations/workflowReverseCutover.d.ts +112 -1
- package/lib/operations/workflowReverseCutover.d.ts.map +1 -1
- package/lib/operations/workflowReverseTraffic.d.ts +112 -1
- package/lib/operations/workflowReverseTraffic.d.ts.map +1 -1
- package/lib/operations/workflowSwitchPrimaries.d.ts +112 -1
- package/lib/operations/workflowSwitchPrimaries.d.ts.map +1 -1
- package/lib/operations/workflowSwitchReplicas.d.ts +112 -1
- package/lib/operations/workflowSwitchReplicas.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
+
import { Forbidden, NotFound } from "../errors";
|
|
2
3
|
export declare const CreateBouncerInput: Schema.Struct<{
|
|
3
4
|
readonly organization: Schema.String;
|
|
4
5
|
readonly database: Schema.String;
|
|
@@ -75,5 +76,66 @@ export type CreateBouncerOutput = typeof CreateBouncerOutput.Type;
|
|
|
75
76
|
* @param bouncer_size - The size SKU for the bouncer
|
|
76
77
|
* @param replicas_per_cell - The number of replica servers per cell
|
|
77
78
|
*/
|
|
78
|
-
export declare const createBouncer:
|
|
79
|
+
export declare const createBouncer: import("@distilled.cloud/core/client").OperationMethod<{
|
|
80
|
+
readonly bouncer_size?: string | undefined;
|
|
81
|
+
readonly branch: string;
|
|
82
|
+
readonly database: string;
|
|
83
|
+
readonly name?: string | undefined;
|
|
84
|
+
readonly organization: string;
|
|
85
|
+
readonly replicas_per_cell?: number | undefined;
|
|
86
|
+
readonly target?: string | undefined;
|
|
87
|
+
}, {
|
|
88
|
+
readonly actor: {
|
|
89
|
+
readonly avatar_url: string;
|
|
90
|
+
readonly display_name: string;
|
|
91
|
+
readonly id: string;
|
|
92
|
+
};
|
|
93
|
+
readonly branch: {
|
|
94
|
+
readonly created_at: string;
|
|
95
|
+
readonly deleted_at: string;
|
|
96
|
+
readonly id: string;
|
|
97
|
+
readonly name: string;
|
|
98
|
+
readonly updated_at: string;
|
|
99
|
+
};
|
|
100
|
+
readonly created_at: string;
|
|
101
|
+
readonly deleted_at: string;
|
|
102
|
+
readonly id: string;
|
|
103
|
+
readonly name: string;
|
|
104
|
+
readonly parameters: readonly {
|
|
105
|
+
readonly actor: {
|
|
106
|
+
readonly avatar_url: string;
|
|
107
|
+
readonly display_name: string;
|
|
108
|
+
readonly id: string;
|
|
109
|
+
};
|
|
110
|
+
readonly category: string;
|
|
111
|
+
readonly created_at: string;
|
|
112
|
+
readonly default_value: string;
|
|
113
|
+
readonly description: string;
|
|
114
|
+
readonly display_name: string;
|
|
115
|
+
readonly id: string;
|
|
116
|
+
readonly immutable: boolean;
|
|
117
|
+
readonly max: number;
|
|
118
|
+
readonly min: number;
|
|
119
|
+
readonly name: string;
|
|
120
|
+
readonly namespace: "pgbouncer";
|
|
121
|
+
readonly options: readonly string[];
|
|
122
|
+
readonly parameter_type: "array" | "integer" | "seconds" | "select" | "string";
|
|
123
|
+
readonly required: boolean;
|
|
124
|
+
readonly restart: boolean;
|
|
125
|
+
readonly step: number;
|
|
126
|
+
readonly updated_at: string;
|
|
127
|
+
readonly url: string;
|
|
128
|
+
readonly value: string;
|
|
129
|
+
}[];
|
|
130
|
+
readonly replicas_per_cell: number;
|
|
131
|
+
readonly sku: {
|
|
132
|
+
readonly cpu: string;
|
|
133
|
+
readonly display_name: string;
|
|
134
|
+
readonly name: string;
|
|
135
|
+
readonly ram: number;
|
|
136
|
+
readonly sort_order: number;
|
|
137
|
+
};
|
|
138
|
+
readonly target: "primary" | "replica" | "replica_az_affinity";
|
|
139
|
+
readonly updated_at: string;
|
|
140
|
+
}, Forbidden | NotFound, any>;
|
|
79
141
|
//# sourceMappingURL=createBouncer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createBouncer.d.ts","sourceRoot":"","sources":["../../src/operations/createBouncer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"createBouncer.d.ts","sourceRoot":"","sources":["../../src/operations/createBouncer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,kBAAkB;;;;;;;;EAa9B,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6D9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAIvB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
+
import { Forbidden, NotFound } from "../errors";
|
|
2
3
|
export declare const CreateBranchInput: Schema.Struct<{
|
|
3
4
|
readonly organization: Schema.String;
|
|
4
5
|
readonly database: Schema.String;
|
|
@@ -86,5 +87,76 @@ export type CreateBranchOutput = typeof CreateBranchOutput.Type;
|
|
|
86
87
|
* @param cluster_size - The database cluster size. Required if a backup_id is provided, optional otherwise. Options: PS_10, PS_20, PS_40, ..., PS_2800
|
|
87
88
|
* @param major_version - For PostgreSQL databases, the PostgreSQL major version to use for the branch. Defaults to the major version of the parent branch if it exists or the database's default branch major version. Ignored for branches restored from backups.
|
|
88
89
|
*/
|
|
89
|
-
export declare const createBranch:
|
|
90
|
+
export declare const createBranch: import("@distilled.cloud/core/client").OperationMethod<{
|
|
91
|
+
readonly backup_id?: string | undefined;
|
|
92
|
+
readonly cluster_size?: string | undefined;
|
|
93
|
+
readonly database: string;
|
|
94
|
+
readonly major_version?: string | undefined;
|
|
95
|
+
readonly name: string;
|
|
96
|
+
readonly organization: string;
|
|
97
|
+
readonly parent_branch?: string | undefined;
|
|
98
|
+
readonly region?: string | undefined;
|
|
99
|
+
readonly restore_point?: string | undefined;
|
|
100
|
+
readonly seed_data?: "last_successful_backup" | undefined;
|
|
101
|
+
readonly storage?: {
|
|
102
|
+
readonly maximum_storage_bytes?: number | undefined;
|
|
103
|
+
readonly minimum_storage_bytes?: number | undefined;
|
|
104
|
+
} | undefined;
|
|
105
|
+
}, {
|
|
106
|
+
readonly actor: {
|
|
107
|
+
readonly avatar_url: string;
|
|
108
|
+
readonly display_name: string;
|
|
109
|
+
readonly id: string;
|
|
110
|
+
};
|
|
111
|
+
readonly cluster_iops: number | null;
|
|
112
|
+
readonly cluster_name: string;
|
|
113
|
+
readonly created_at: string;
|
|
114
|
+
readonly deleted_at: string | null;
|
|
115
|
+
readonly direct_vtgate: boolean;
|
|
116
|
+
readonly has_read_only_replicas: boolean;
|
|
117
|
+
readonly has_replicas: boolean;
|
|
118
|
+
readonly html_url: string;
|
|
119
|
+
readonly id: string;
|
|
120
|
+
readonly kind: "mysql" | "postgresql";
|
|
121
|
+
readonly metal: boolean;
|
|
122
|
+
readonly mysql_address: string;
|
|
123
|
+
readonly mysql_edge_address: string;
|
|
124
|
+
readonly name: string;
|
|
125
|
+
readonly parent_branch: string | null;
|
|
126
|
+
readonly private_edge_connectivity: boolean;
|
|
127
|
+
readonly production: boolean;
|
|
128
|
+
readonly ready: boolean;
|
|
129
|
+
readonly region: {
|
|
130
|
+
readonly current_default: boolean;
|
|
131
|
+
readonly display_name: string;
|
|
132
|
+
readonly enabled: boolean;
|
|
133
|
+
readonly id: string;
|
|
134
|
+
readonly location: string;
|
|
135
|
+
readonly provider: string;
|
|
136
|
+
readonly public_ip_addresses: readonly string[];
|
|
137
|
+
readonly slug: string;
|
|
138
|
+
};
|
|
139
|
+
readonly restore_checklist_completed_at: string | null;
|
|
140
|
+
readonly restored_from_branch: {
|
|
141
|
+
readonly created_at: string;
|
|
142
|
+
readonly deleted_at: string;
|
|
143
|
+
readonly id: string;
|
|
144
|
+
readonly name: string;
|
|
145
|
+
readonly updated_at: string;
|
|
146
|
+
} | null;
|
|
147
|
+
readonly safe_migrations: boolean;
|
|
148
|
+
readonly schema_last_updated_at: string;
|
|
149
|
+
readonly schema_ready: boolean;
|
|
150
|
+
readonly shard_count: number;
|
|
151
|
+
readonly sharded: boolean;
|
|
152
|
+
readonly stale_schema: boolean;
|
|
153
|
+
readonly state: "awakening" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
|
|
154
|
+
readonly updated_at: string;
|
|
155
|
+
readonly url: string;
|
|
156
|
+
readonly vtgate_count: number;
|
|
157
|
+
readonly vtgate_options: {
|
|
158
|
+
readonly [x: string]: unknown;
|
|
159
|
+
};
|
|
160
|
+
readonly vtgate_size: string;
|
|
161
|
+
}, Forbidden | NotFound, any>;
|
|
90
162
|
//# sourceMappingURL=createBranch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createBranch.d.ts","sourceRoot":"","sources":["../../src/operations/createBranch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"createBranch.d.ts","sourceRoot":"","sources":["../../src/operations/createBranch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;EAsB7B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8D7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAItB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
+
import { Forbidden, NotFound, UnprocessableEntity } from "../errors";
|
|
2
3
|
export declare const CreateDatabaseInput: Schema.Struct<{
|
|
3
4
|
readonly organization: Schema.String;
|
|
4
5
|
readonly name: Schema.String;
|
|
@@ -87,5 +88,78 @@ export type CreateDatabaseOutput = typeof CreateDatabaseOutput.Type;
|
|
|
87
88
|
* @param kind - The kind of database to create.
|
|
88
89
|
* @param major_version - For PostgreSQL databases, the PostgreSQL major version to use for the database. Defaults to the latest available major version.
|
|
89
90
|
*/
|
|
90
|
-
export declare const createDatabase:
|
|
91
|
+
export declare const createDatabase: import("@distilled.cloud/core/client").OperationMethod<{
|
|
92
|
+
readonly cluster_size: string;
|
|
93
|
+
readonly kind?: "mysql" | "postgresql" | undefined;
|
|
94
|
+
readonly major_version?: string | undefined;
|
|
95
|
+
readonly name: string;
|
|
96
|
+
readonly organization: string;
|
|
97
|
+
readonly region?: string | undefined;
|
|
98
|
+
readonly replicas?: number | undefined;
|
|
99
|
+
readonly storage?: {
|
|
100
|
+
readonly maximum_storage_bytes?: number | undefined;
|
|
101
|
+
readonly minimum_storage_bytes?: number | undefined;
|
|
102
|
+
} | undefined;
|
|
103
|
+
}, {
|
|
104
|
+
readonly allow_data_branching?: boolean | undefined;
|
|
105
|
+
readonly at_backup_restore_branches_limit?: boolean | undefined;
|
|
106
|
+
readonly at_development_branch_usage_limit?: boolean | undefined;
|
|
107
|
+
readonly automatic_migrations?: boolean | null | undefined;
|
|
108
|
+
readonly branches_count?: number | undefined;
|
|
109
|
+
readonly branches_url: string;
|
|
110
|
+
readonly config_change_queued?: boolean | undefined;
|
|
111
|
+
readonly config_changing?: boolean | undefined;
|
|
112
|
+
readonly created_at: string;
|
|
113
|
+
readonly data_import?: {
|
|
114
|
+
readonly data_source: {
|
|
115
|
+
readonly database: string;
|
|
116
|
+
readonly hostname: string;
|
|
117
|
+
readonly port: number;
|
|
118
|
+
};
|
|
119
|
+
readonly finished_at: string;
|
|
120
|
+
readonly import_check_errors: string;
|
|
121
|
+
readonly started_at: string;
|
|
122
|
+
readonly state: string;
|
|
123
|
+
} | null | undefined;
|
|
124
|
+
readonly default_branch?: string | undefined;
|
|
125
|
+
readonly default_branch_read_only_regions_count?: number | undefined;
|
|
126
|
+
readonly default_branch_shard_count?: number | undefined;
|
|
127
|
+
readonly default_branch_table_count?: number | undefined;
|
|
128
|
+
readonly development_branches_count?: number | undefined;
|
|
129
|
+
readonly foreign_keys_enabled?: boolean | undefined;
|
|
130
|
+
readonly html_url: string;
|
|
131
|
+
readonly id: string;
|
|
132
|
+
readonly insights_enabled?: boolean | undefined;
|
|
133
|
+
readonly insights_raw_queries?: boolean | undefined;
|
|
134
|
+
readonly issues_count?: number | undefined;
|
|
135
|
+
readonly kind: "mysql" | "postgresql";
|
|
136
|
+
readonly migration_framework?: string | null | undefined;
|
|
137
|
+
readonly migration_table_name?: string | null | undefined;
|
|
138
|
+
readonly multiple_admins_required_for_deletion?: boolean | undefined;
|
|
139
|
+
readonly name: string;
|
|
140
|
+
readonly open_schema_recommendations_count?: number | undefined;
|
|
141
|
+
readonly plan?: string | undefined;
|
|
142
|
+
readonly production_branch_web_console?: boolean | undefined;
|
|
143
|
+
readonly production_branches_count?: number | undefined;
|
|
144
|
+
readonly ready: boolean;
|
|
145
|
+
readonly region: {
|
|
146
|
+
readonly current_default: boolean;
|
|
147
|
+
readonly display_name: string;
|
|
148
|
+
readonly enabled: boolean;
|
|
149
|
+
readonly id: string;
|
|
150
|
+
readonly location: string;
|
|
151
|
+
readonly provider: string;
|
|
152
|
+
readonly public_ip_addresses: readonly string[];
|
|
153
|
+
readonly slug: string;
|
|
154
|
+
};
|
|
155
|
+
readonly require_approval_for_deploy?: boolean | undefined;
|
|
156
|
+
readonly resize_queued?: boolean | undefined;
|
|
157
|
+
readonly resizing?: boolean | undefined;
|
|
158
|
+
readonly restrict_branch_region?: boolean | undefined;
|
|
159
|
+
readonly schema_last_updated_at?: string | undefined;
|
|
160
|
+
readonly sharded?: boolean | undefined;
|
|
161
|
+
readonly state: "awakening" | "import_ready" | "importing" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
|
|
162
|
+
readonly updated_at: string;
|
|
163
|
+
readonly url: string;
|
|
164
|
+
}, Forbidden | NotFound | UnprocessableEntity, any>;
|
|
91
165
|
//# sourceMappingURL=createDatabase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createDatabase.d.ts","sourceRoot":"","sources":["../../src/operations/createDatabase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"createDatabase.d.ts","sourceRoot":"","sources":["../../src/operations/createDatabase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAGrE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAgB/B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyE/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mDAIxB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
+
import { Forbidden, NotFound, UnprocessableEntity } from "../errors";
|
|
2
3
|
export declare const CreateDatabasePostgresCidrInput: Schema.Struct<{
|
|
3
4
|
readonly organization: Schema.String;
|
|
4
5
|
readonly database: Schema.String;
|
|
@@ -31,5 +32,24 @@ export type CreateDatabasePostgresCidrOutput = typeof CreateDatabasePostgresCidr
|
|
|
31
32
|
* @param role - The PostgreSQL role to restrict access to. Leave empty or omit to allow access for all roles.
|
|
32
33
|
* @param cidrs - List of IPv4 CIDR ranges (e.g., ['192.168.1.0/24', '192.168.1.1/32']). Must contain at least one valid IPv4 address or range.
|
|
33
34
|
*/
|
|
34
|
-
export declare const createDatabasePostgresCidr:
|
|
35
|
+
export declare const createDatabasePostgresCidr: import("@distilled.cloud/core/client").OperationMethod<{
|
|
36
|
+
readonly cidrs: readonly string[];
|
|
37
|
+
readonly database: string;
|
|
38
|
+
readonly organization: string;
|
|
39
|
+
readonly role?: string | undefined;
|
|
40
|
+
readonly schema?: string | undefined;
|
|
41
|
+
}, {
|
|
42
|
+
readonly actor: {
|
|
43
|
+
readonly avatar_url: string;
|
|
44
|
+
readonly display_name: string;
|
|
45
|
+
readonly id: string;
|
|
46
|
+
};
|
|
47
|
+
readonly cidrs: readonly string[];
|
|
48
|
+
readonly created_at: string;
|
|
49
|
+
readonly deleted_at: string;
|
|
50
|
+
readonly id: string;
|
|
51
|
+
readonly role: string;
|
|
52
|
+
readonly schema: string;
|
|
53
|
+
readonly updated_at: string;
|
|
54
|
+
}, Forbidden | NotFound | UnprocessableEntity, any>;
|
|
35
55
|
//# sourceMappingURL=createDatabasePostgresCidr.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createDatabasePostgresCidr.d.ts","sourceRoot":"","sources":["../../src/operations/createDatabasePostgresCidr.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"createDatabasePostgresCidr.d.ts","sourceRoot":"","sources":["../../src/operations/createDatabasePostgresCidr.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAGrE,eAAO,MAAM,+BAA+B;;;;;;EAYzC,CAAC;AACJ,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;EAczC,CAAC;AACL,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C;;;;;;;;GAQG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;mDAMtC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
+
import { Forbidden, NotFound } from "../errors";
|
|
2
3
|
export declare const CreateDeployRequestInput: Schema.Struct<{
|
|
3
4
|
readonly organization: Schema.String;
|
|
4
5
|
readonly database: Schema.String;
|
|
@@ -152,5 +153,155 @@ export type CreateDeployRequestOutput = typeof CreateDeployRequestOutput.Type;
|
|
|
152
153
|
* @param auto_cutover - Whether or not to enable auto_cutover for the deploy request. When enabled, will auto cutover to the new schema as soon as it is ready.
|
|
153
154
|
* @param auto_delete_branch - Whether or not to enable auto_delete_branch for the deploy request. When enabled, will delete the branch once the DR successfully completes.
|
|
154
155
|
*/
|
|
155
|
-
export declare const createDeployRequest:
|
|
156
|
+
export declare const createDeployRequest: import("@distilled.cloud/core/client").OperationMethod<{
|
|
157
|
+
readonly auto_cutover?: boolean | undefined;
|
|
158
|
+
readonly auto_delete_branch?: boolean | undefined;
|
|
159
|
+
readonly branch: string;
|
|
160
|
+
readonly database: string;
|
|
161
|
+
readonly into_branch: string;
|
|
162
|
+
readonly notes?: string | undefined;
|
|
163
|
+
readonly organization: string;
|
|
164
|
+
}, {
|
|
165
|
+
readonly actor: {
|
|
166
|
+
readonly avatar_url: string;
|
|
167
|
+
readonly display_name: string;
|
|
168
|
+
readonly id: string;
|
|
169
|
+
};
|
|
170
|
+
readonly approved: boolean;
|
|
171
|
+
readonly branch: string;
|
|
172
|
+
readonly branch_deleted: boolean;
|
|
173
|
+
readonly branch_deleted_at: string;
|
|
174
|
+
readonly branch_deleted_by: {
|
|
175
|
+
readonly avatar_url: string;
|
|
176
|
+
readonly display_name: string;
|
|
177
|
+
readonly id: string;
|
|
178
|
+
};
|
|
179
|
+
readonly branch_id: string;
|
|
180
|
+
readonly closed_at: string;
|
|
181
|
+
readonly closed_by: {
|
|
182
|
+
readonly avatar_url: string;
|
|
183
|
+
readonly display_name: string;
|
|
184
|
+
readonly id: string;
|
|
185
|
+
};
|
|
186
|
+
readonly created_at: string;
|
|
187
|
+
readonly deployed_at: string;
|
|
188
|
+
readonly deployment: {
|
|
189
|
+
readonly actor: {
|
|
190
|
+
readonly avatar_url: string;
|
|
191
|
+
readonly display_name: string;
|
|
192
|
+
readonly id: string;
|
|
193
|
+
};
|
|
194
|
+
readonly auto_cutover: boolean;
|
|
195
|
+
readonly auto_delete_branch: boolean;
|
|
196
|
+
readonly cancelled_actor: {
|
|
197
|
+
readonly avatar_url: string;
|
|
198
|
+
readonly display_name: string;
|
|
199
|
+
readonly id: string;
|
|
200
|
+
};
|
|
201
|
+
readonly created_at: string;
|
|
202
|
+
readonly cutover_actor: {
|
|
203
|
+
readonly avatar_url: string;
|
|
204
|
+
readonly display_name: string;
|
|
205
|
+
readonly id: string;
|
|
206
|
+
};
|
|
207
|
+
readonly cutover_at: string;
|
|
208
|
+
readonly cutover_expiring: boolean;
|
|
209
|
+
readonly deploy_check_errors: string;
|
|
210
|
+
readonly deploy_operation_summaries: readonly {
|
|
211
|
+
readonly can_drop_data: boolean;
|
|
212
|
+
readonly created_at: string;
|
|
213
|
+
readonly ddl_statement: string;
|
|
214
|
+
readonly deploy_errors: string;
|
|
215
|
+
readonly eta_seconds: number;
|
|
216
|
+
readonly id: string;
|
|
217
|
+
readonly keyspace_name: string;
|
|
218
|
+
readonly operation_name: string;
|
|
219
|
+
readonly operations: readonly {
|
|
220
|
+
readonly eta_seconds: number;
|
|
221
|
+
readonly id: string;
|
|
222
|
+
readonly progress_percentage: number;
|
|
223
|
+
readonly shard: string;
|
|
224
|
+
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
225
|
+
}[];
|
|
226
|
+
readonly progress_percentage: number;
|
|
227
|
+
readonly removed_foreign_key_names: readonly string[];
|
|
228
|
+
readonly shard_count: number;
|
|
229
|
+
readonly shard_names: readonly string[];
|
|
230
|
+
readonly sharded: boolean;
|
|
231
|
+
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
|
|
232
|
+
readonly syntax_highlighted_ddl: string;
|
|
233
|
+
readonly table_name: string;
|
|
234
|
+
readonly table_recently_used: boolean;
|
|
235
|
+
readonly table_recently_used_at: string;
|
|
236
|
+
readonly throttled_at: string;
|
|
237
|
+
}[];
|
|
238
|
+
readonly deploy_operations: readonly {
|
|
239
|
+
readonly can_drop_data: boolean;
|
|
240
|
+
readonly created_at: string;
|
|
241
|
+
readonly ddl_statement: string;
|
|
242
|
+
readonly deploy_error_docs_url: string;
|
|
243
|
+
readonly deploy_errors: string;
|
|
244
|
+
readonly eta_seconds: number;
|
|
245
|
+
readonly id: string;
|
|
246
|
+
readonly keyspace_name: string;
|
|
247
|
+
readonly operation_name: string;
|
|
248
|
+
readonly progress_percentage: number;
|
|
249
|
+
readonly removed_foreign_key_names: readonly string[];
|
|
250
|
+
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
251
|
+
readonly syntax_highlighted_ddl: string;
|
|
252
|
+
readonly table_locked: boolean;
|
|
253
|
+
readonly table_name: string;
|
|
254
|
+
readonly table_recently_used: boolean;
|
|
255
|
+
readonly table_recently_used_at: string;
|
|
256
|
+
readonly throttled_at: string;
|
|
257
|
+
readonly updated_at: string;
|
|
258
|
+
}[];
|
|
259
|
+
readonly deploy_request_number: number;
|
|
260
|
+
readonly deployable: boolean;
|
|
261
|
+
readonly deployment_revert_request: {
|
|
262
|
+
readonly [x: string]: unknown;
|
|
263
|
+
};
|
|
264
|
+
readonly finished_at: string;
|
|
265
|
+
readonly id: string;
|
|
266
|
+
readonly instant_ddl: boolean;
|
|
267
|
+
readonly instant_ddl_eligible: boolean;
|
|
268
|
+
readonly into_branch: string;
|
|
269
|
+
readonly lint_errors: readonly {
|
|
270
|
+
readonly [x: string]: unknown;
|
|
271
|
+
}[];
|
|
272
|
+
readonly locked_table_name: string;
|
|
273
|
+
readonly lookup_vindex_operations: readonly {
|
|
274
|
+
readonly [x: string]: unknown;
|
|
275
|
+
}[];
|
|
276
|
+
readonly preceding_deployments: readonly {
|
|
277
|
+
readonly [x: string]: unknown;
|
|
278
|
+
}[];
|
|
279
|
+
readonly queued_at: string;
|
|
280
|
+
readonly ready_to_cutover_at: string;
|
|
281
|
+
readonly schema_last_updated_at: string;
|
|
282
|
+
readonly sequential_diff_dependencies: readonly {
|
|
283
|
+
readonly [x: string]: unknown;
|
|
284
|
+
}[];
|
|
285
|
+
readonly started_at: string;
|
|
286
|
+
readonly state: "cancelled" | "complete" | "complete_cancel" | "complete_error" | "complete_pending_revert" | "complete_revert" | "complete_revert_error" | "error" | "in_progress" | "in_progress_cancel" | "in_progress_cutover" | "in_progress_revert" | "in_progress_revert_vschema" | "in_progress_vschema" | "no_changes" | "pending" | "pending_cutover" | "queued" | "ready" | "submitting";
|
|
287
|
+
readonly submitted_at: string;
|
|
288
|
+
readonly table_locked: boolean;
|
|
289
|
+
readonly throttler_configurations: readonly {
|
|
290
|
+
readonly [x: string]: unknown;
|
|
291
|
+
}[];
|
|
292
|
+
readonly updated_at: string;
|
|
293
|
+
};
|
|
294
|
+
readonly deployment_state: "cancelled" | "complete" | "complete_cancel" | "complete_error" | "complete_pending_revert" | "complete_revert" | "complete_revert_error" | "error" | "in_progress" | "in_progress_cancel" | "in_progress_cutover" | "in_progress_revert" | "in_progress_revert_vschema" | "in_progress_vschema" | "no_changes" | "pending" | "pending_cutover" | "queued" | "ready" | "submitting";
|
|
295
|
+
readonly html_body: string;
|
|
296
|
+
readonly html_url: string;
|
|
297
|
+
readonly id: string;
|
|
298
|
+
readonly into_branch: string;
|
|
299
|
+
readonly into_branch_shard_count: number;
|
|
300
|
+
readonly into_branch_sharded: boolean;
|
|
301
|
+
readonly notes: string;
|
|
302
|
+
readonly num_comments: number;
|
|
303
|
+
readonly number: number;
|
|
304
|
+
readonly state: "closed" | "open";
|
|
305
|
+
readonly updated_at: string;
|
|
306
|
+
}, Forbidden | NotFound, any>;
|
|
156
307
|
//# sourceMappingURL=createDeployRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createDeployRequest.d.ts","sourceRoot":"","sources":["../../src/operations/createDeployRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"createDeployRequest.d.ts","sourceRoot":"","sources":["../../src/operations/createDeployRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,wBAAwB;;;;;;;;EAclC,CAAC;AACJ,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+MlC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAI7B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
+
import { Forbidden, NotFound } from "../errors";
|
|
2
3
|
export declare const CreateKeyspaceInput: Schema.Struct<{
|
|
3
4
|
readonly organization: Schema.String;
|
|
4
5
|
readonly database: Schema.String;
|
|
@@ -52,5 +53,47 @@ export type CreateKeyspaceOutput = typeof CreateKeyspaceOutput.Type;
|
|
|
52
53
|
* @param extra_replicas - The number of additional replicas beyond the included default
|
|
53
54
|
* @param shards - The number of shards. Default: 1
|
|
54
55
|
*/
|
|
55
|
-
export declare const createKeyspace:
|
|
56
|
+
export declare const createKeyspace: import("@distilled.cloud/core/client").OperationMethod<{
|
|
57
|
+
readonly branch: string;
|
|
58
|
+
readonly cluster_size: string;
|
|
59
|
+
readonly database: string;
|
|
60
|
+
readonly extra_replicas?: number | undefined;
|
|
61
|
+
readonly name: string;
|
|
62
|
+
readonly organization: string;
|
|
63
|
+
readonly shards?: number | undefined;
|
|
64
|
+
}, {
|
|
65
|
+
readonly cluster_display_name: string;
|
|
66
|
+
readonly cluster_name: string;
|
|
67
|
+
readonly config_change_in_progress: boolean;
|
|
68
|
+
readonly created_at: string;
|
|
69
|
+
readonly default: boolean;
|
|
70
|
+
readonly extra_replicas: number;
|
|
71
|
+
readonly id: string;
|
|
72
|
+
readonly imported: boolean;
|
|
73
|
+
readonly metal: boolean;
|
|
74
|
+
readonly mysqld_options: {
|
|
75
|
+
readonly [x: string]: unknown;
|
|
76
|
+
};
|
|
77
|
+
readonly name: string;
|
|
78
|
+
readonly node_ttl_strategy: "node_ttl_always" | "node_ttl_follow_maintenance" | "node_ttl_off";
|
|
79
|
+
readonly ready: boolean;
|
|
80
|
+
readonly replicas: number;
|
|
81
|
+
readonly replication_durability_constraints: {
|
|
82
|
+
readonly strategy?: "always" | "available" | "lag" | undefined;
|
|
83
|
+
};
|
|
84
|
+
readonly resize_pending: boolean;
|
|
85
|
+
readonly resizing: boolean;
|
|
86
|
+
readonly sharded: boolean;
|
|
87
|
+
readonly shards: number;
|
|
88
|
+
readonly updated_at: string;
|
|
89
|
+
readonly vector_pool_allocation: number | null;
|
|
90
|
+
readonly vreplication_flags: {
|
|
91
|
+
readonly allow_no_blob_binlog_row_image: boolean;
|
|
92
|
+
readonly optimize_inserts: boolean;
|
|
93
|
+
readonly vplayer_batching: boolean;
|
|
94
|
+
};
|
|
95
|
+
readonly vttablet_options: {
|
|
96
|
+
readonly [x: string]: unknown;
|
|
97
|
+
};
|
|
98
|
+
}, Forbidden | NotFound, any>;
|
|
56
99
|
//# sourceMappingURL=createKeyspace.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createKeyspace.d.ts","sourceRoot":"","sources":["../../src/operations/createKeyspace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"createKeyspace.d.ts","sourceRoot":"","sources":["../../src/operations/createKeyspace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,mBAAmB;;;;;;;;EAa/B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkC/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAIxB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
+
import { Forbidden, NotFound, UnprocessableEntity } from "../errors";
|
|
2
3
|
export declare const CreateOauthTokenInput: Schema.Struct<{
|
|
3
4
|
readonly organization: Schema.String;
|
|
4
5
|
readonly id: Schema.String;
|
|
@@ -103,5 +104,91 @@ export type CreateOauthTokenOutput = typeof CreateOauthTokenOutput.Type;
|
|
|
103
104
|
* @param redirect_uri - The OAuth application's redirect URI. Required when grant_type is authorization_code
|
|
104
105
|
* @param refresh_token - The refresh token from the original OAuth token grant. Required when grant_type is refresh_token
|
|
105
106
|
*/
|
|
106
|
-
export declare const createOauthToken:
|
|
107
|
+
export declare const createOauthToken: import("@distilled.cloud/core/client").OperationMethod<{
|
|
108
|
+
readonly client_id: string;
|
|
109
|
+
readonly client_secret: string | import("effect/Redacted").Redacted<string>;
|
|
110
|
+
readonly code?: string | undefined;
|
|
111
|
+
readonly grant_type: "authorization_code" | "refresh_token";
|
|
112
|
+
readonly id: string;
|
|
113
|
+
readonly organization: string;
|
|
114
|
+
readonly redirect_uri?: string | undefined;
|
|
115
|
+
readonly refresh_token?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
116
|
+
}, {
|
|
117
|
+
readonly actor_display_name: string;
|
|
118
|
+
readonly actor_id: string;
|
|
119
|
+
readonly actor_type: string;
|
|
120
|
+
readonly avatar_url: string;
|
|
121
|
+
readonly created_at: string;
|
|
122
|
+
readonly display_name: string;
|
|
123
|
+
readonly expires_at?: string | null | undefined;
|
|
124
|
+
readonly id: string;
|
|
125
|
+
readonly last_used_at?: string | null | undefined;
|
|
126
|
+
readonly name?: string | null | undefined;
|
|
127
|
+
readonly oauth_accesses_by_resource?: {
|
|
128
|
+
readonly branch: {
|
|
129
|
+
readonly accesses: readonly {
|
|
130
|
+
readonly description: string;
|
|
131
|
+
readonly name: string;
|
|
132
|
+
}[];
|
|
133
|
+
readonly branches: readonly {
|
|
134
|
+
readonly database: string;
|
|
135
|
+
readonly id: string;
|
|
136
|
+
readonly name: string;
|
|
137
|
+
readonly organization: string;
|
|
138
|
+
readonly url: string;
|
|
139
|
+
}[];
|
|
140
|
+
};
|
|
141
|
+
readonly database: {
|
|
142
|
+
readonly accesses: readonly {
|
|
143
|
+
readonly description: string;
|
|
144
|
+
readonly name: string;
|
|
145
|
+
}[];
|
|
146
|
+
readonly databases: readonly {
|
|
147
|
+
readonly id: string;
|
|
148
|
+
readonly name: string;
|
|
149
|
+
readonly organization: string;
|
|
150
|
+
readonly url: string;
|
|
151
|
+
}[];
|
|
152
|
+
};
|
|
153
|
+
readonly organization: {
|
|
154
|
+
readonly accesses: readonly {
|
|
155
|
+
readonly description: string;
|
|
156
|
+
readonly name: string;
|
|
157
|
+
}[];
|
|
158
|
+
readonly organizations: readonly {
|
|
159
|
+
readonly id: string;
|
|
160
|
+
readonly name: string;
|
|
161
|
+
readonly url: string;
|
|
162
|
+
}[];
|
|
163
|
+
};
|
|
164
|
+
readonly user: {
|
|
165
|
+
readonly accesses: readonly {
|
|
166
|
+
readonly description: string;
|
|
167
|
+
readonly name: string;
|
|
168
|
+
}[];
|
|
169
|
+
readonly users: readonly {
|
|
170
|
+
readonly id: string;
|
|
171
|
+
readonly name: string;
|
|
172
|
+
}[];
|
|
173
|
+
};
|
|
174
|
+
} | undefined;
|
|
175
|
+
readonly plain_text_refresh_token?: string | import("effect/Redacted").Redacted<string> | null | undefined;
|
|
176
|
+
readonly service_token_accesses?: readonly {
|
|
177
|
+
readonly access: string;
|
|
178
|
+
readonly description: string;
|
|
179
|
+
readonly id: string;
|
|
180
|
+
readonly resource: {
|
|
181
|
+
readonly created_at: string;
|
|
182
|
+
readonly deleted_at: string;
|
|
183
|
+
readonly id: string;
|
|
184
|
+
readonly name: string;
|
|
185
|
+
readonly updated_at: string;
|
|
186
|
+
};
|
|
187
|
+
readonly resource_id: string;
|
|
188
|
+
readonly resource_name: string;
|
|
189
|
+
readonly resource_type: string;
|
|
190
|
+
}[] | undefined;
|
|
191
|
+
readonly token?: string | import("effect/Redacted").Redacted<string> | null | undefined;
|
|
192
|
+
readonly updated_at: string;
|
|
193
|
+
}, Forbidden | NotFound | UnprocessableEntity, any>;
|
|
107
194
|
//# sourceMappingURL=createOauthToken.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOauthToken.d.ts","sourceRoot":"","sources":["../../src/operations/createOauthToken.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"createOauthToken.d.ts","sourceRoot":"","sources":["../../src/operations/createOauthToken.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAIrE,eAAO,MAAM,qBAAqB;;;;;;;;;EAcjC,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqGlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mDAI1B,CAAC"}
|