@distilled.cloud/planetscale 0.0.0 → 0.2.0-alpha
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/category.d.ts +13 -0
- package/lib/category.d.ts.map +1 -0
- package/lib/category.js +13 -0
- package/lib/category.js.map +1 -0
- package/lib/client.d.ts +17 -0
- package/lib/client.d.ts.map +1 -0
- package/lib/client.js +49 -0
- package/lib/client.js.map +1 -0
- package/lib/credentials.d.ts +15 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +23 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +36 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +28 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +16 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +16 -0
- package/lib/index.js.map +1 -0
- package/lib/operations/addOrganizationTeamMember.d.ts +91 -0
- package/lib/operations/addOrganizationTeamMember.d.ts.map +1 -0
- package/lib/operations/addOrganizationTeamMember.js +104 -0
- package/lib/operations/addOrganizationTeamMember.js.map +1 -0
- package/lib/operations/cancelBouncerResizeRequest.d.ts +20 -0
- package/lib/operations/cancelBouncerResizeRequest.d.ts.map +1 -0
- package/lib/operations/cancelBouncerResizeRequest.js +33 -0
- package/lib/operations/cancelBouncerResizeRequest.js.map +1 -0
- package/lib/operations/cancelBranchChangeRequest.d.ts +18 -0
- package/lib/operations/cancelBranchChangeRequest.d.ts.map +1 -0
- package/lib/operations/cancelBranchChangeRequest.js +31 -0
- package/lib/operations/cancelBranchChangeRequest.js.map +1 -0
- package/lib/operations/cancelDeployRequest.d.ts +148 -0
- package/lib/operations/cancelDeployRequest.d.ts.map +1 -0
- package/lib/operations/cancelDeployRequest.js +223 -0
- package/lib/operations/cancelDeployRequest.js.map +1 -0
- package/lib/operations/closeDeployRequest.d.ts +150 -0
- package/lib/operations/closeDeployRequest.d.ts.map +1 -0
- package/lib/operations/closeDeployRequest.js +225 -0
- package/lib/operations/closeDeployRequest.js.map +1 -0
- package/lib/operations/completeErroredDeploy.d.ts +148 -0
- package/lib/operations/completeErroredDeploy.d.ts.map +1 -0
- package/lib/operations/completeErroredDeploy.js +223 -0
- package/lib/operations/completeErroredDeploy.js.map +1 -0
- package/lib/operations/completeGatedDeployRequest.d.ts +148 -0
- package/lib/operations/completeGatedDeployRequest.d.ts.map +1 -0
- package/lib/operations/completeGatedDeployRequest.js +223 -0
- package/lib/operations/completeGatedDeployRequest.js.map +1 -0
- package/lib/operations/completeRevert.d.ts +148 -0
- package/lib/operations/completeRevert.d.ts.map +1 -0
- package/lib/operations/completeRevert.js +221 -0
- package/lib/operations/completeRevert.js.map +1 -0
- package/lib/operations/createBackup.d.ts +85 -0
- package/lib/operations/createBackup.d.ts.map +1 -0
- package/lib/operations/createBackup.js +103 -0
- package/lib/operations/createBackup.js.map +1 -0
- package/lib/operations/createBouncer.d.ts +79 -0
- package/lib/operations/createBouncer.d.ts.map +1 -0
- package/lib/operations/createBouncer.js +96 -0
- package/lib/operations/createBouncer.js.map +1 -0
- package/lib/operations/createBranch.d.ts +86 -0
- package/lib/operations/createBranch.d.ts.map +1 -0
- package/lib/operations/createBranch.js +103 -0
- package/lib/operations/createBranch.js.map +1 -0
- package/lib/operations/createDatabase.d.ts +87 -0
- package/lib/operations/createDatabase.d.ts.map +1 -0
- package/lib/operations/createDatabase.js +103 -0
- package/lib/operations/createDatabase.js.map +1 -0
- package/lib/operations/createDatabasePostgresCidr.d.ts +35 -0
- package/lib/operations/createDatabasePostgresCidr.d.ts.map +1 -0
- package/lib/operations/createDatabasePostgresCidr.js +48 -0
- package/lib/operations/createDatabasePostgresCidr.js.map +1 -0
- package/lib/operations/createDeployRequest.d.ts +156 -0
- package/lib/operations/createDeployRequest.d.ts.map +1 -0
- package/lib/operations/createDeployRequest.js +231 -0
- package/lib/operations/createDeployRequest.js.map +1 -0
- package/lib/operations/createKeyspace.d.ts +56 -0
- package/lib/operations/createKeyspace.d.ts.map +1 -0
- package/lib/operations/createKeyspace.js +71 -0
- package/lib/operations/createKeyspace.js.map +1 -0
- package/lib/operations/createOauthToken.d.ts +107 -0
- package/lib/operations/createOauthToken.d.ts.map +1 -0
- package/lib/operations/createOauthToken.js +119 -0
- package/lib/operations/createOauthToken.js.map +1 -0
- package/lib/operations/createOrganizationTeam.d.ts +59 -0
- package/lib/operations/createOrganizationTeam.d.ts.map +1 -0
- package/lib/operations/createOrganizationTeam.js +69 -0
- package/lib/operations/createOrganizationTeam.js.map +1 -0
- package/lib/operations/createPassword.d.ts +72 -0
- package/lib/operations/createPassword.d.ts.map +1 -0
- package/lib/operations/createPassword.js +84 -0
- package/lib/operations/createPassword.js.map +1 -0
- package/lib/operations/createQueryPatternsReport.d.ts +30 -0
- package/lib/operations/createQueryPatternsReport.d.ts.map +1 -0
- package/lib/operations/createQueryPatternsReport.js +43 -0
- package/lib/operations/createQueryPatternsReport.js.map +1 -0
- package/lib/operations/createRole.d.ts +64 -0
- package/lib/operations/createRole.d.ts.map +1 -0
- package/lib/operations/createRole.js +103 -0
- package/lib/operations/createRole.js.map +1 -0
- package/lib/operations/createServiceToken.d.ts +97 -0
- package/lib/operations/createServiceToken.d.ts.map +1 -0
- package/lib/operations/createServiceToken.js +111 -0
- package/lib/operations/createServiceToken.js.map +1 -0
- package/lib/operations/createWebhook.d.ts +33 -0
- package/lib/operations/createWebhook.d.ts.map +1 -0
- package/lib/operations/createWebhook.js +64 -0
- package/lib/operations/createWebhook.js.map +1 -0
- package/lib/operations/createWorkflow.d.ts +136 -0
- package/lib/operations/createWorkflow.d.ts.map +1 -0
- package/lib/operations/createWorkflow.js +167 -0
- package/lib/operations/createWorkflow.js.map +1 -0
- package/lib/operations/deleteBackup.d.ts +20 -0
- package/lib/operations/deleteBackup.d.ts.map +1 -0
- package/lib/operations/deleteBackup.js +31 -0
- package/lib/operations/deleteBackup.js.map +1 -0
- package/lib/operations/deleteBouncer.d.ts +20 -0
- package/lib/operations/deleteBouncer.d.ts.map +1 -0
- package/lib/operations/deleteBouncer.js +31 -0
- package/lib/operations/deleteBouncer.js.map +1 -0
- package/lib/operations/deleteBranch.d.ts +18 -0
- package/lib/operations/deleteBranch.d.ts.map +1 -0
- package/lib/operations/deleteBranch.js +29 -0
- package/lib/operations/deleteBranch.js.map +1 -0
- package/lib/operations/deleteDatabase.d.ts +16 -0
- package/lib/operations/deleteDatabase.d.ts.map +1 -0
- package/lib/operations/deleteDatabase.js +27 -0
- package/lib/operations/deleteDatabase.js.map +1 -0
- package/lib/operations/deleteDatabasePostgresCidr.d.ts +18 -0
- package/lib/operations/deleteDatabasePostgresCidr.d.ts.map +1 -0
- package/lib/operations/deleteDatabasePostgresCidr.js +31 -0
- package/lib/operations/deleteDatabasePostgresCidr.js.map +1 -0
- package/lib/operations/deleteKeyspace.d.ts +20 -0
- package/lib/operations/deleteKeyspace.d.ts.map +1 -0
- package/lib/operations/deleteKeyspace.js +31 -0
- package/lib/operations/deleteKeyspace.js.map +1 -0
- package/lib/operations/deleteOauthToken.d.ts +18 -0
- package/lib/operations/deleteOauthToken.d.ts.map +1 -0
- package/lib/operations/deleteOauthToken.js +29 -0
- package/lib/operations/deleteOauthToken.js.map +1 -0
- package/lib/operations/deleteOrganizationTeam.d.ts +16 -0
- package/lib/operations/deleteOrganizationTeam.d.ts.map +1 -0
- package/lib/operations/deleteOrganizationTeam.js +29 -0
- package/lib/operations/deleteOrganizationTeam.js.map +1 -0
- package/lib/operations/deletePassword.d.ts +20 -0
- package/lib/operations/deletePassword.d.ts.map +1 -0
- package/lib/operations/deletePassword.js +31 -0
- package/lib/operations/deletePassword.js.map +1 -0
- package/lib/operations/deleteQueryPatternsReport.d.ts +20 -0
- package/lib/operations/deleteQueryPatternsReport.d.ts.map +1 -0
- package/lib/operations/deleteQueryPatternsReport.js +33 -0
- package/lib/operations/deleteQueryPatternsReport.js.map +1 -0
- package/lib/operations/deleteRole.d.ts +22 -0
- package/lib/operations/deleteRole.d.ts.map +1 -0
- package/lib/operations/deleteRole.js +33 -0
- package/lib/operations/deleteRole.js.map +1 -0
- package/lib/operations/deleteServiceToken.d.ts +18 -0
- package/lib/operations/deleteServiceToken.d.ts.map +1 -0
- package/lib/operations/deleteServiceToken.js +30 -0
- package/lib/operations/deleteServiceToken.js.map +1 -0
- package/lib/operations/deleteWebhook.d.ts +18 -0
- package/lib/operations/deleteWebhook.d.ts.map +1 -0
- package/lib/operations/deleteWebhook.js +29 -0
- package/lib/operations/deleteWebhook.js.map +1 -0
- package/lib/operations/demoteBranch.d.ts +74 -0
- package/lib/operations/demoteBranch.d.ts.map +1 -0
- package/lib/operations/demoteBranch.js +91 -0
- package/lib/operations/demoteBranch.js.map +1 -0
- package/lib/operations/disableSafeMigrations.d.ts +72 -0
- package/lib/operations/disableSafeMigrations.d.ts.map +1 -0
- package/lib/operations/disableSafeMigrations.js +91 -0
- package/lib/operations/disableSafeMigrations.js.map +1 -0
- package/lib/operations/dismissSchemaRecommendation.d.ts +44 -0
- package/lib/operations/dismissSchemaRecommendation.d.ts.map +1 -0
- package/lib/operations/dismissSchemaRecommendation.js +67 -0
- package/lib/operations/dismissSchemaRecommendation.js.map +1 -0
- package/lib/operations/enableSafeMigrations.d.ts +72 -0
- package/lib/operations/enableSafeMigrations.d.ts.map +1 -0
- package/lib/operations/enableSafeMigrations.js +91 -0
- package/lib/operations/enableSafeMigrations.js.map +1 -0
- package/lib/operations/getBackup.d.ts +79 -0
- package/lib/operations/getBackup.d.ts.map +1 -0
- package/lib/operations/getBackup.js +97 -0
- package/lib/operations/getBackup.js.map +1 -0
- package/lib/operations/getBouncer.d.ts +73 -0
- package/lib/operations/getBouncer.d.ts.map +1 -0
- package/lib/operations/getBouncer.js +90 -0
- package/lib/operations/getBouncer.js.map +1 -0
- package/lib/operations/getBranch.d.ts +72 -0
- package/lib/operations/getBranch.d.ts.map +1 -0
- package/lib/operations/getBranch.js +89 -0
- package/lib/operations/getBranch.js.map +1 -0
- package/lib/operations/getBranchChangeRequest.d.ts +57 -0
- package/lib/operations/getBranchChangeRequest.d.ts.map +1 -0
- package/lib/operations/getBranchChangeRequest.js +76 -0
- package/lib/operations/getBranchChangeRequest.js.map +1 -0
- package/lib/operations/getBranchSchema.d.ts +28 -0
- package/lib/operations/getBranchSchema.d.ts.map +1 -0
- package/lib/operations/getBranchSchema.js +39 -0
- package/lib/operations/getBranchSchema.js.map +1 -0
- package/lib/operations/getCurrentUser.d.ts +32 -0
- package/lib/operations/getCurrentUser.d.ts.map +1 -0
- package/lib/operations/getCurrentUser.js +40 -0
- package/lib/operations/getCurrentUser.js.map +1 -0
- package/lib/operations/getDatabase.d.ts +77 -0
- package/lib/operations/getDatabase.d.ts.map +1 -0
- package/lib/operations/getDatabase.js +96 -0
- package/lib/operations/getDatabase.js.map +1 -0
- package/lib/operations/getDatabasePostgresCidr.d.ts +31 -0
- package/lib/operations/getDatabasePostgresCidr.d.ts.map +1 -0
- package/lib/operations/getDatabasePostgresCidr.js +44 -0
- package/lib/operations/getDatabasePostgresCidr.js.map +1 -0
- package/lib/operations/getDatabaseThrottler.d.ts +29 -0
- package/lib/operations/getDatabaseThrottler.d.ts.map +1 -0
- package/lib/operations/getDatabaseThrottler.js +42 -0
- package/lib/operations/getDatabaseThrottler.js.map +1 -0
- package/lib/operations/getDefaultRole.d.ts +54 -0
- package/lib/operations/getDefaultRole.d.ts.map +1 -0
- package/lib/operations/getDefaultRole.js +79 -0
- package/lib/operations/getDefaultRole.js.map +1 -0
- package/lib/operations/getDeployQueue.d.ts +118 -0
- package/lib/operations/getDeployQueue.d.ts.map +1 -0
- package/lib/operations/getDeployQueue.js +170 -0
- package/lib/operations/getDeployQueue.js.map +1 -0
- package/lib/operations/getDeployRequest.d.ts +148 -0
- package/lib/operations/getDeployRequest.d.ts.map +1 -0
- package/lib/operations/getDeployRequest.js +221 -0
- package/lib/operations/getDeployRequest.js.map +1 -0
- package/lib/operations/getDeployRequestThrottler.d.ts +31 -0
- package/lib/operations/getDeployRequestThrottler.d.ts.map +1 -0
- package/lib/operations/getDeployRequestThrottler.js +44 -0
- package/lib/operations/getDeployRequestThrottler.js.map +1 -0
- package/lib/operations/getDeployment.d.ts +113 -0
- package/lib/operations/getDeployment.d.ts.map +1 -0
- package/lib/operations/getDeployment.js +165 -0
- package/lib/operations/getDeployment.js.map +1 -0
- package/lib/operations/getInvoice.d.ts +23 -0
- package/lib/operations/getInvoice.d.ts.map +1 -0
- package/lib/operations/getInvoice.js +34 -0
- package/lib/operations/getInvoice.js.map +1 -0
- package/lib/operations/getInvoiceLineItems.d.ts +43 -0
- package/lib/operations/getInvoiceLineItems.d.ts.map +1 -0
- package/lib/operations/getInvoiceLineItems.js +56 -0
- package/lib/operations/getInvoiceLineItems.js.map +1 -0
- package/lib/operations/getKeyspace.d.ts +50 -0
- package/lib/operations/getKeyspace.d.ts.map +1 -0
- package/lib/operations/getKeyspace.js +65 -0
- package/lib/operations/getKeyspace.js.map +1 -0
- package/lib/operations/getKeyspaceRolloutStatus.d.ts +29 -0
- package/lib/operations/getKeyspaceRolloutStatus.d.ts.map +1 -0
- package/lib/operations/getKeyspaceRolloutStatus.js +42 -0
- package/lib/operations/getKeyspaceRolloutStatus.js.map +1 -0
- package/lib/operations/getKeyspaceVschema.d.ts +22 -0
- package/lib/operations/getKeyspaceVschema.d.ts.map +1 -0
- package/lib/operations/getKeyspaceVschema.js +35 -0
- package/lib/operations/getKeyspaceVschema.js.map +1 -0
- package/lib/operations/getOauthApplication.d.ts +31 -0
- package/lib/operations/getOauthApplication.d.ts.map +1 -0
- package/lib/operations/getOauthApplication.js +44 -0
- package/lib/operations/getOauthApplication.js.map +1 -0
- package/lib/operations/getOauthToken.d.ts +95 -0
- package/lib/operations/getOauthToken.d.ts.map +1 -0
- package/lib/operations/getOauthToken.js +107 -0
- package/lib/operations/getOauthToken.js.map +1 -0
- package/lib/operations/getOrganization.d.ts +35 -0
- package/lib/operations/getOrganization.d.ts.map +1 -0
- package/lib/operations/getOrganization.js +43 -0
- package/lib/operations/getOrganization.js.map +1 -0
- package/lib/operations/getOrganizationMembership.d.ts +42 -0
- package/lib/operations/getOrganizationMembership.d.ts.map +1 -0
- package/lib/operations/getOrganizationMembership.js +55 -0
- package/lib/operations/getOrganizationMembership.js.map +1 -0
- package/lib/operations/getOrganizationTeam.d.ts +57 -0
- package/lib/operations/getOrganizationTeam.d.ts.map +1 -0
- package/lib/operations/getOrganizationTeam.js +70 -0
- package/lib/operations/getOrganizationTeam.js.map +1 -0
- package/lib/operations/getOrganizationTeamMember.d.ts +91 -0
- package/lib/operations/getOrganizationTeamMember.d.ts.map +1 -0
- package/lib/operations/getOrganizationTeamMember.js +104 -0
- package/lib/operations/getOrganizationTeamMember.js.map +1 -0
- package/lib/operations/getPassword.d.ts +62 -0
- package/lib/operations/getPassword.d.ts.map +1 -0
- package/lib/operations/getPassword.js +74 -0
- package/lib/operations/getPassword.js.map +1 -0
- package/lib/operations/getQueryPatternsReport.d.ts +20 -0
- package/lib/operations/getQueryPatternsReport.d.ts.map +1 -0
- package/lib/operations/getQueryPatternsReport.js +33 -0
- package/lib/operations/getQueryPatternsReport.js.map +1 -0
- package/lib/operations/getQueryPatternsReportStatus.d.ts +32 -0
- package/lib/operations/getQueryPatternsReportStatus.d.ts.map +1 -0
- package/lib/operations/getQueryPatternsReportStatus.js +46 -0
- package/lib/operations/getQueryPatternsReportStatus.js.map +1 -0
- package/lib/operations/getRole.d.ts +56 -0
- package/lib/operations/getRole.d.ts.map +1 -0
- package/lib/operations/getRole.js +81 -0
- package/lib/operations/getRole.js.map +1 -0
- package/lib/operations/getSchemaRecommendation.d.ts +42 -0
- package/lib/operations/getSchemaRecommendation.d.ts.map +1 -0
- package/lib/operations/getSchemaRecommendation.js +65 -0
- package/lib/operations/getSchemaRecommendation.js.map +1 -0
- package/lib/operations/getServiceToken.d.ts +95 -0
- package/lib/operations/getServiceToken.d.ts.map +1 -0
- package/lib/operations/getServiceToken.js +107 -0
- package/lib/operations/getServiceToken.js.map +1 -0
- package/lib/operations/getWebhook.d.ts +29 -0
- package/lib/operations/getWebhook.d.ts.map +1 -0
- package/lib/operations/getWebhook.js +60 -0
- package/lib/operations/getWebhook.js.map +1 -0
- package/lib/operations/getWorkflow.d.ts +124 -0
- package/lib/operations/getWorkflow.d.ts.map +1 -0
- package/lib/operations/getWorkflow.js +155 -0
- package/lib/operations/getWorkflow.js.map +1 -0
- package/lib/operations/index.d.ts +149 -0
- package/lib/operations/index.d.ts.map +1 -0
- package/lib/operations/index.js +149 -0
- package/lib/operations/index.js.map +1 -0
- package/lib/operations/lintBranchSchema.d.ts +47 -0
- package/lib/operations/lintBranchSchema.d.ts.map +1 -0
- package/lib/operations/lintBranchSchema.js +58 -0
- package/lib/operations/lintBranchSchema.js.map +1 -0
- package/lib/operations/listAuditLogs.d.ts +38 -0
- package/lib/operations/listAuditLogs.d.ts.map +1 -0
- package/lib/operations/listAuditLogs.js +46 -0
- package/lib/operations/listAuditLogs.js.map +1 -0
- package/lib/operations/listBackups.d.ts +102 -0
- package/lib/operations/listBackups.d.ts.map +1 -0
- package/lib/operations/listBackups.js +127 -0
- package/lib/operations/listBackups.js.map +1 -0
- package/lib/operations/listBouncerResizeRequests.d.ts +68 -0
- package/lib/operations/listBouncerResizeRequests.d.ts.map +1 -0
- package/lib/operations/listBouncerResizeRequests.js +86 -0
- package/lib/operations/listBouncerResizeRequests.js.map +1 -0
- package/lib/operations/listBouncers.d.ts +82 -0
- package/lib/operations/listBouncers.d.ts.map +1 -0
- package/lib/operations/listBouncers.js +99 -0
- package/lib/operations/listBouncers.js.map +1 -0
- package/lib/operations/listBranchBouncerResizeRequests.d.ts +66 -0
- package/lib/operations/listBranchBouncerResizeRequests.d.ts.map +1 -0
- package/lib/operations/listBranchBouncerResizeRequests.js +85 -0
- package/lib/operations/listBranchBouncerResizeRequests.js.map +1 -0
- package/lib/operations/listBranchChangeRequests.d.ts +66 -0
- package/lib/operations/listBranchChangeRequests.d.ts.map +1 -0
- package/lib/operations/listBranchChangeRequests.js +85 -0
- package/lib/operations/listBranchChangeRequests.js.map +1 -0
- package/lib/operations/listBranches.d.ts +89 -0
- package/lib/operations/listBranches.d.ts.map +1 -0
- package/lib/operations/listBranches.js +106 -0
- package/lib/operations/listBranches.js.map +1 -0
- package/lib/operations/listClusterSizeSkus.d.ts +39 -0
- package/lib/operations/listClusterSizeSkus.d.ts.map +1 -0
- package/lib/operations/listClusterSizeSkus.js +52 -0
- package/lib/operations/listClusterSizeSkus.js.map +1 -0
- package/lib/operations/listDatabasePostgresCidrs.d.ts +40 -0
- package/lib/operations/listDatabasePostgresCidrs.d.ts.map +1 -0
- package/lib/operations/listDatabasePostgresCidrs.js +53 -0
- package/lib/operations/listDatabasePostgresCidrs.js.map +1 -0
- package/lib/operations/listDatabaseRegions.d.ts +36 -0
- package/lib/operations/listDatabaseRegions.d.ts.map +1 -0
- package/lib/operations/listDatabaseRegions.js +49 -0
- package/lib/operations/listDatabaseRegions.js.map +1 -0
- package/lib/operations/listDatabases.d.ts +88 -0
- package/lib/operations/listDatabases.d.ts.map +1 -0
- package/lib/operations/listDatabases.js +104 -0
- package/lib/operations/listDatabases.js.map +1 -0
- package/lib/operations/listDeployOperations.d.ts +51 -0
- package/lib/operations/listDeployOperations.d.ts.map +1 -0
- package/lib/operations/listDeployOperations.js +71 -0
- package/lib/operations/listDeployOperations.js.map +1 -0
- package/lib/operations/listDeployRequestReviews.d.ts +37 -0
- package/lib/operations/listDeployRequestReviews.d.ts.map +1 -0
- package/lib/operations/listDeployRequestReviews.js +50 -0
- package/lib/operations/listDeployRequestReviews.js.map +1 -0
- package/lib/operations/listDeployRequests.d.ts +169 -0
- package/lib/operations/listDeployRequests.d.ts.map +1 -0
- package/lib/operations/listDeployRequests.js +244 -0
- package/lib/operations/listDeployRequests.js.map +1 -0
- package/lib/operations/listExtensions.d.ts +54 -0
- package/lib/operations/listExtensions.d.ts.map +1 -0
- package/lib/operations/listExtensions.js +75 -0
- package/lib/operations/listExtensions.js.map +1 -0
- package/lib/operations/listGeneratedQueryPatternsReports.d.ts +36 -0
- package/lib/operations/listGeneratedQueryPatternsReports.d.ts.map +1 -0
- package/lib/operations/listGeneratedQueryPatternsReports.js +50 -0
- package/lib/operations/listGeneratedQueryPatternsReports.js.map +1 -0
- package/lib/operations/listInvoices.d.ts +34 -0
- package/lib/operations/listInvoices.d.ts.map +1 -0
- package/lib/operations/listInvoices.js +42 -0
- package/lib/operations/listInvoices.js.map +1 -0
- package/lib/operations/listKeyspaces.d.ts +59 -0
- package/lib/operations/listKeyspaces.d.ts.map +1 -0
- package/lib/operations/listKeyspaces.js +74 -0
- package/lib/operations/listKeyspaces.js.map +1 -0
- package/lib/operations/listOauthApplications.d.ts +40 -0
- package/lib/operations/listOauthApplications.d.ts.map +1 -0
- package/lib/operations/listOauthApplications.js +53 -0
- package/lib/operations/listOauthApplications.js.map +1 -0
- package/lib/operations/listOauthTokens.d.ts +106 -0
- package/lib/operations/listOauthTokens.d.ts.map +1 -0
- package/lib/operations/listOauthTokens.js +117 -0
- package/lib/operations/listOauthTokens.js.map +1 -0
- package/lib/operations/listOrganizationMembers.d.ts +53 -0
- package/lib/operations/listOrganizationMembers.d.ts.map +1 -0
- package/lib/operations/listOrganizationMembers.js +63 -0
- package/lib/operations/listOrganizationMembers.js.map +1 -0
- package/lib/operations/listOrganizationTeamMembers.d.ts +96 -0
- package/lib/operations/listOrganizationTeamMembers.d.ts.map +1 -0
- package/lib/operations/listOrganizationTeamMembers.js +109 -0
- package/lib/operations/listOrganizationTeamMembers.js.map +1 -0
- package/lib/operations/listOrganizationTeams.d.ts +64 -0
- package/lib/operations/listOrganizationTeams.d.ts.map +1 -0
- package/lib/operations/listOrganizationTeams.js +74 -0
- package/lib/operations/listOrganizationTeams.js.map +1 -0
- package/lib/operations/listOrganizations.d.ts +46 -0
- package/lib/operations/listOrganizations.d.ts.map +1 -0
- package/lib/operations/listOrganizations.js +55 -0
- package/lib/operations/listOrganizations.js.map +1 -0
- package/lib/operations/listParameters.d.ts +46 -0
- package/lib/operations/listParameters.d.ts.map +1 -0
- package/lib/operations/listParameters.js +67 -0
- package/lib/operations/listParameters.js.map +1 -0
- package/lib/operations/listPasswords.d.ts +73 -0
- package/lib/operations/listPasswords.d.ts.map +1 -0
- package/lib/operations/listPasswords.js +84 -0
- package/lib/operations/listPasswords.js.map +1 -0
- package/lib/operations/listPublicRegions.d.ts +33 -0
- package/lib/operations/listPublicRegions.d.ts.map +1 -0
- package/lib/operations/listPublicRegions.js +42 -0
- package/lib/operations/listPublicRegions.js.map +1 -0
- package/lib/operations/listReadOnlyRegions.d.ts +51 -0
- package/lib/operations/listReadOnlyRegions.d.ts.map +1 -0
- package/lib/operations/listReadOnlyRegions.js +64 -0
- package/lib/operations/listReadOnlyRegions.js.map +1 -0
- package/lib/operations/listRegionsForOrganization.d.ts +34 -0
- package/lib/operations/listRegionsForOrganization.d.ts.map +1 -0
- package/lib/operations/listRegionsForOrganization.js +44 -0
- package/lib/operations/listRegionsForOrganization.js.map +1 -0
- package/lib/operations/listRoles.d.ts +65 -0
- package/lib/operations/listRoles.d.ts.map +1 -0
- package/lib/operations/listRoles.js +90 -0
- package/lib/operations/listRoles.js.map +1 -0
- package/lib/operations/listSchemaRecommendations.d.ts +49 -0
- package/lib/operations/listSchemaRecommendations.d.ts.map +1 -0
- package/lib/operations/listSchemaRecommendations.js +72 -0
- package/lib/operations/listSchemaRecommendations.js.map +1 -0
- package/lib/operations/listServiceTokens.d.ts +104 -0
- package/lib/operations/listServiceTokens.d.ts.map +1 -0
- package/lib/operations/listServiceTokens.js +116 -0
- package/lib/operations/listServiceTokens.js.map +1 -0
- package/lib/operations/listWebhooks.d.ts +40 -0
- package/lib/operations/listWebhooks.d.ts.map +1 -0
- package/lib/operations/listWebhooks.js +71 -0
- package/lib/operations/listWebhooks.js.map +1 -0
- package/lib/operations/listWorkflows.d.ts +135 -0
- package/lib/operations/listWorkflows.d.ts.map +1 -0
- package/lib/operations/listWorkflows.js +166 -0
- package/lib/operations/listWorkflows.js.map +1 -0
- package/lib/operations/promoteBranch.d.ts +74 -0
- package/lib/operations/promoteBranch.d.ts.map +1 -0
- package/lib/operations/promoteBranch.js +91 -0
- package/lib/operations/promoteBranch.js.map +1 -0
- package/lib/operations/queueDeployRequest.d.ts +150 -0
- package/lib/operations/queueDeployRequest.d.ts.map +1 -0
- package/lib/operations/queueDeployRequest.js +225 -0
- package/lib/operations/queueDeployRequest.js.map +1 -0
- package/lib/operations/reassignRoleObjects.d.ts +22 -0
- package/lib/operations/reassignRoleObjects.d.ts.map +1 -0
- package/lib/operations/reassignRoleObjects.js +35 -0
- package/lib/operations/reassignRoleObjects.js.map +1 -0
- package/lib/operations/removeOrganizationMember.d.ts +20 -0
- package/lib/operations/removeOrganizationMember.d.ts.map +1 -0
- package/lib/operations/removeOrganizationMember.js +33 -0
- package/lib/operations/removeOrganizationMember.js.map +1 -0
- package/lib/operations/removeOrganizationTeamMember.d.ts +20 -0
- package/lib/operations/removeOrganizationTeamMember.d.ts.map +1 -0
- package/lib/operations/removeOrganizationTeamMember.js +34 -0
- package/lib/operations/removeOrganizationTeamMember.js.map +1 -0
- package/lib/operations/renewPassword.d.ts +62 -0
- package/lib/operations/renewPassword.d.ts.map +1 -0
- package/lib/operations/renewPassword.js +74 -0
- package/lib/operations/renewPassword.js.map +1 -0
- package/lib/operations/renewRole.d.ts +56 -0
- package/lib/operations/renewRole.d.ts.map +1 -0
- package/lib/operations/renewRole.js +81 -0
- package/lib/operations/renewRole.js.map +1 -0
- package/lib/operations/resetDefaultRole.d.ts +54 -0
- package/lib/operations/resetDefaultRole.d.ts.map +1 -0
- package/lib/operations/resetDefaultRole.js +79 -0
- package/lib/operations/resetDefaultRole.js.map +1 -0
- package/lib/operations/resetRole.d.ts +56 -0
- package/lib/operations/resetRole.d.ts.map +1 -0
- package/lib/operations/resetRole.js +81 -0
- package/lib/operations/resetRole.js.map +1 -0
- package/lib/operations/reviewDeployRequest.d.ts +36 -0
- package/lib/operations/reviewDeployRequest.d.ts.map +1 -0
- package/lib/operations/reviewDeployRequest.js +49 -0
- package/lib/operations/reviewDeployRequest.js.map +1 -0
- package/lib/operations/skipRevertPeriod.d.ts +150 -0
- package/lib/operations/skipRevertPeriod.d.ts.map +1 -0
- package/lib/operations/skipRevertPeriod.js +223 -0
- package/lib/operations/skipRevertPeriod.js.map +1 -0
- package/lib/operations/testWebhook.d.ts +20 -0
- package/lib/operations/testWebhook.d.ts.map +1 -0
- package/lib/operations/testWebhook.js +31 -0
- package/lib/operations/testWebhook.js.map +1 -0
- package/lib/operations/updateAutoApply.d.ts +152 -0
- package/lib/operations/updateAutoApply.d.ts.map +1 -0
- package/lib/operations/updateAutoApply.js +225 -0
- package/lib/operations/updateAutoApply.js.map +1 -0
- package/lib/operations/updateAutoDeleteBranch.d.ts +152 -0
- package/lib/operations/updateAutoDeleteBranch.d.ts.map +1 -0
- package/lib/operations/updateAutoDeleteBranch.js +227 -0
- package/lib/operations/updateAutoDeleteBranch.js.map +1 -0
- package/lib/operations/updateBackup.d.ts +81 -0
- package/lib/operations/updateBackup.d.ts.map +1 -0
- package/lib/operations/updateBackup.js +99 -0
- package/lib/operations/updateBackup.js.map +1 -0
- package/lib/operations/updateBouncerResizeRequest.d.ts +63 -0
- package/lib/operations/updateBouncerResizeRequest.d.ts.map +1 -0
- package/lib/operations/updateBouncerResizeRequest.js +76 -0
- package/lib/operations/updateBouncerResizeRequest.js.map +1 -0
- package/lib/operations/updateBranch.d.ts +74 -0
- package/lib/operations/updateBranch.d.ts.map +1 -0
- package/lib/operations/updateBranch.js +91 -0
- package/lib/operations/updateBranch.js.map +1 -0
- package/lib/operations/updateBranchChangeRequest.d.ts +61 -0
- package/lib/operations/updateBranchChangeRequest.d.ts.map +1 -0
- package/lib/operations/updateBranchChangeRequest.js +80 -0
- package/lib/operations/updateBranchChangeRequest.js.map +1 -0
- package/lib/operations/updateBranchClusterConfig.d.ts +20 -0
- package/lib/operations/updateBranchClusterConfig.d.ts.map +1 -0
- package/lib/operations/updateBranchClusterConfig.js +33 -0
- package/lib/operations/updateBranchClusterConfig.js.map +1 -0
- package/lib/operations/updateDatabasePostgresCidr.d.ts +37 -0
- package/lib/operations/updateDatabasePostgresCidr.d.ts.map +1 -0
- package/lib/operations/updateDatabasePostgresCidr.js +50 -0
- package/lib/operations/updateDatabasePostgresCidr.js.map +1 -0
- package/lib/operations/updateDatabaseSettings.d.ts +99 -0
- package/lib/operations/updateDatabaseSettings.d.ts.map +1 -0
- package/lib/operations/updateDatabaseSettings.js +120 -0
- package/lib/operations/updateDatabaseSettings.js.map +1 -0
- package/lib/operations/updateDatabaseThrottler.d.ts +33 -0
- package/lib/operations/updateDatabaseThrottler.d.ts.map +1 -0
- package/lib/operations/updateDatabaseThrottler.js +46 -0
- package/lib/operations/updateDatabaseThrottler.js.map +1 -0
- package/lib/operations/updateDeployRequestThrottler.d.ts +35 -0
- package/lib/operations/updateDeployRequestThrottler.d.ts.map +1 -0
- package/lib/operations/updateDeployRequestThrottler.js +49 -0
- package/lib/operations/updateDeployRequestThrottler.js.map +1 -0
- package/lib/operations/updateKeyspace.d.ts +50 -0
- package/lib/operations/updateKeyspace.d.ts.map +1 -0
- package/lib/operations/updateKeyspace.js +65 -0
- package/lib/operations/updateKeyspace.js.map +1 -0
- package/lib/operations/updateKeyspaceVschema.d.ts +24 -0
- package/lib/operations/updateKeyspaceVschema.d.ts.map +1 -0
- package/lib/operations/updateKeyspaceVschema.js +37 -0
- package/lib/operations/updateKeyspaceVschema.js.map +1 -0
- package/lib/operations/updateOrganization.d.ts +41 -0
- package/lib/operations/updateOrganization.d.ts.map +1 -0
- package/lib/operations/updateOrganization.js +51 -0
- package/lib/operations/updateOrganization.js.map +1 -0
- package/lib/operations/updateOrganizationMembership.d.ts +44 -0
- package/lib/operations/updateOrganizationMembership.d.ts.map +1 -0
- package/lib/operations/updateOrganizationMembership.js +58 -0
- package/lib/operations/updateOrganizationMembership.js.map +1 -0
- package/lib/operations/updateOrganizationTeam.d.ts +61 -0
- package/lib/operations/updateOrganizationTeam.d.ts.map +1 -0
- package/lib/operations/updateOrganizationTeam.js +74 -0
- package/lib/operations/updateOrganizationTeam.js.map +1 -0
- package/lib/operations/updatePassword.d.ts +66 -0
- package/lib/operations/updatePassword.d.ts.map +1 -0
- package/lib/operations/updatePassword.js +78 -0
- package/lib/operations/updatePassword.js.map +1 -0
- package/lib/operations/updateRole.d.ts +62 -0
- package/lib/operations/updateRole.d.ts.map +1 -0
- package/lib/operations/updateRole.js +87 -0
- package/lib/operations/updateRole.js.map +1 -0
- package/lib/operations/updateWebhook.d.ts +35 -0
- package/lib/operations/updateWebhook.d.ts.map +1 -0
- package/lib/operations/updateWebhook.js +66 -0
- package/lib/operations/updateWebhook.js.map +1 -0
- package/lib/operations/verifyWorkflow.d.ts +124 -0
- package/lib/operations/verifyWorkflow.d.ts.map +1 -0
- package/lib/operations/verifyWorkflow.js +155 -0
- package/lib/operations/verifyWorkflow.js.map +1 -0
- package/lib/operations/workflowCancel.d.ts +124 -0
- package/lib/operations/workflowCancel.d.ts.map +1 -0
- package/lib/operations/workflowCancel.js +155 -0
- package/lib/operations/workflowCancel.js.map +1 -0
- package/lib/operations/workflowComplete.d.ts +124 -0
- package/lib/operations/workflowComplete.d.ts.map +1 -0
- package/lib/operations/workflowComplete.js +155 -0
- package/lib/operations/workflowComplete.js.map +1 -0
- package/lib/operations/workflowCutover.d.ts +124 -0
- package/lib/operations/workflowCutover.d.ts.map +1 -0
- package/lib/operations/workflowCutover.js +155 -0
- package/lib/operations/workflowCutover.js.map +1 -0
- package/lib/operations/workflowRetry.d.ts +124 -0
- package/lib/operations/workflowRetry.d.ts.map +1 -0
- package/lib/operations/workflowRetry.js +155 -0
- package/lib/operations/workflowRetry.js.map +1 -0
- package/lib/operations/workflowReverseCutover.d.ts +124 -0
- package/lib/operations/workflowReverseCutover.d.ts.map +1 -0
- package/lib/operations/workflowReverseCutover.js +157 -0
- package/lib/operations/workflowReverseCutover.js.map +1 -0
- package/lib/operations/workflowReverseTraffic.d.ts +124 -0
- package/lib/operations/workflowReverseTraffic.d.ts.map +1 -0
- package/lib/operations/workflowReverseTraffic.js +157 -0
- package/lib/operations/workflowReverseTraffic.js.map +1 -0
- package/lib/operations/workflowSwitchPrimaries.d.ts +124 -0
- package/lib/operations/workflowSwitchPrimaries.d.ts.map +1 -0
- package/lib/operations/workflowSwitchPrimaries.js +157 -0
- package/lib/operations/workflowSwitchPrimaries.js.map +1 -0
- package/lib/operations/workflowSwitchReplicas.d.ts +124 -0
- package/lib/operations/workflowSwitchReplicas.d.ts.map +1 -0
- package/lib/operations/workflowSwitchReplicas.js +157 -0
- package/lib/operations/workflowSwitchReplicas.js.map +1 -0
- package/lib/retry.d.ts +24 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +23 -0
- package/lib/retry.js.map +1 -0
- package/lib/sensitive.d.ts +5 -0
- package/lib/sensitive.d.ts.map +1 -0
- package/lib/sensitive.js +5 -0
- package/lib/sensitive.js.map +1 -0
- package/lib/traits.d.ts +13 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +13 -0
- package/lib/traits.js.map +1 -0
- package/package.json +80 -5
- package/src/category.ts +12 -0
- package/src/client.ts +60 -0
- package/src/credentials.ts +38 -0
- package/src/errors.ts +50 -0
- package/src/index.ts +15 -0
- package/src/operations/addOrganizationTeamMember.ts +121 -0
- package/src/operations/cancelBouncerResizeRequest.ts +43 -0
- package/src/operations/cancelBranchChangeRequest.ts +41 -0
- package/src/operations/cancelDeployRequest.ts +243 -0
- package/src/operations/closeDeployRequest.ts +245 -0
- package/src/operations/completeErroredDeploy.ts +246 -0
- package/src/operations/completeGatedDeployRequest.ts +247 -0
- package/src/operations/completeRevert.ts +241 -0
- package/src/operations/createBackup.ts +115 -0
- package/src/operations/createBouncer.ts +104 -0
- package/src/operations/createBranch.ts +111 -0
- package/src/operations/createDatabase.ts +113 -0
- package/src/operations/createDatabasePostgresCidr.ts +58 -0
- package/src/operations/createDeployRequest.ts +251 -0
- package/src/operations/createKeyspace.ts +77 -0
- package/src/operations/createOauthToken.ts +145 -0
- package/src/operations/createOrganizationTeam.ts +88 -0
- package/src/operations/createPassword.ts +92 -0
- package/src/operations/createQueryPatternsReport.ts +53 -0
- package/src/operations/createRole.ts +115 -0
- package/src/operations/createServiceToken.ts +135 -0
- package/src/operations/createWebhook.ts +72 -0
- package/src/operations/createWorkflow.ts +175 -0
- package/src/operations/deleteBackup.ts +37 -0
- package/src/operations/deleteBouncer.ts +37 -0
- package/src/operations/deleteBranch.ts +35 -0
- package/src/operations/deleteDatabase.ts +33 -0
- package/src/operations/deleteDatabasePostgresCidr.ts +41 -0
- package/src/operations/deleteKeyspace.ts +37 -0
- package/src/operations/deleteOauthToken.ts +35 -0
- package/src/operations/deleteOrganizationTeam.ts +44 -0
- package/src/operations/deletePassword.ts +37 -0
- package/src/operations/deleteQueryPatternsReport.ts +43 -0
- package/src/operations/deleteRole.ts +39 -0
- package/src/operations/deleteServiceToken.ts +36 -0
- package/src/operations/deleteWebhook.ts +35 -0
- package/src/operations/demoteBranch.ts +99 -0
- package/src/operations/disableSafeMigrations.ts +102 -0
- package/src/operations/dismissSchemaRecommendation.ts +77 -0
- package/src/operations/enableSafeMigrations.ts +101 -0
- package/src/operations/getBackup.ts +107 -0
- package/src/operations/getBouncer.ts +98 -0
- package/src/operations/getBranch.ts +97 -0
- package/src/operations/getBranchChangeRequest.ts +86 -0
- package/src/operations/getBranchSchema.ts +47 -0
- package/src/operations/getCurrentUser.ts +48 -0
- package/src/operations/getDatabase.ts +106 -0
- package/src/operations/getDatabasePostgresCidr.ts +54 -0
- package/src/operations/getDatabaseThrottler.ts +52 -0
- package/src/operations/getDefaultRole.ts +87 -0
- package/src/operations/getDeployQueue.ts +192 -0
- package/src/operations/getDeployRequest.ts +243 -0
- package/src/operations/getDeployRequestThrottler.ts +56 -0
- package/src/operations/getDeployment.ts +185 -0
- package/src/operations/getInvoice.ts +40 -0
- package/src/operations/getInvoiceLineItems.ts +64 -0
- package/src/operations/getKeyspace.ts +71 -0
- package/src/operations/getKeyspaceRolloutStatus.ts +54 -0
- package/src/operations/getKeyspaceVschema.ts +41 -0
- package/src/operations/getOauthApplication.ts +50 -0
- package/src/operations/getOauthToken.ts +131 -0
- package/src/operations/getOrganization.ts +47 -0
- package/src/operations/getOrganizationMembership.ts +67 -0
- package/src/operations/getOrganizationTeam.ts +85 -0
- package/src/operations/getOrganizationTeamMember.ts +121 -0
- package/src/operations/getPassword.ts +80 -0
- package/src/operations/getQueryPatternsReport.ts +43 -0
- package/src/operations/getQueryPatternsReportStatus.ts +54 -0
- package/src/operations/getRole.ts +89 -0
- package/src/operations/getSchemaRecommendation.ts +75 -0
- package/src/operations/getServiceToken.ts +131 -0
- package/src/operations/getWebhook.ts +68 -0
- package/src/operations/getWorkflow.ts +161 -0
- package/src/operations/index.ts +148 -0
- package/src/operations/lintBranchSchema.ts +68 -0
- package/src/operations/listAuditLogs.ts +54 -0
- package/src/operations/listBackups.ts +141 -0
- package/src/operations/listBouncerResizeRequests.ts +98 -0
- package/src/operations/listBouncers.ts +109 -0
- package/src/operations/listBranchBouncerResizeRequests.ts +95 -0
- package/src/operations/listBranchChangeRequests.ts +97 -0
- package/src/operations/listBranches.ts +116 -0
- package/src/operations/listClusterSizeSkus.ts +60 -0
- package/src/operations/listDatabasePostgresCidrs.ts +65 -0
- package/src/operations/listDatabaseRegions.ts +57 -0
- package/src/operations/listDatabases.ts +116 -0
- package/src/operations/listDeployOperations.ts +81 -0
- package/src/operations/listDeployRequestReviews.ts +62 -0
- package/src/operations/listDeployRequests.ts +271 -0
- package/src/operations/listExtensions.ts +85 -0
- package/src/operations/listGeneratedQueryPatternsReports.ts +60 -0
- package/src/operations/listInvoices.ts +50 -0
- package/src/operations/listKeyspaces.ts +84 -0
- package/src/operations/listOauthApplications.ts +64 -0
- package/src/operations/listOauthTokens.ts +143 -0
- package/src/operations/listOrganizationMembers.ts +77 -0
- package/src/operations/listOrganizationTeamMembers.ts +128 -0
- package/src/operations/listOrganizationTeams.ts +94 -0
- package/src/operations/listOrganizations.ts +63 -0
- package/src/operations/listParameters.ts +75 -0
- package/src/operations/listPasswords.ts +92 -0
- package/src/operations/listPublicRegions.ts +50 -0
- package/src/operations/listReadOnlyRegions.ts +72 -0
- package/src/operations/listRegionsForOrganization.ts +56 -0
- package/src/operations/listRoles.ts +100 -0
- package/src/operations/listSchemaRecommendations.ts +84 -0
- package/src/operations/listServiceTokens.ts +144 -0
- package/src/operations/listWebhooks.ts +81 -0
- package/src/operations/listWorkflows.ts +174 -0
- package/src/operations/promoteBranch.ts +99 -0
- package/src/operations/queueDeployRequest.ts +245 -0
- package/src/operations/reassignRoleObjects.ts +41 -0
- package/src/operations/removeOrganizationMember.ts +43 -0
- package/src/operations/removeOrganizationTeamMember.ts +47 -0
- package/src/operations/renewPassword.ts +80 -0
- package/src/operations/renewRole.ts +89 -0
- package/src/operations/resetDefaultRole.ts +89 -0
- package/src/operations/resetRole.ts +89 -0
- package/src/operations/reviewDeployRequest.ts +55 -0
- package/src/operations/skipRevertPeriod.ts +245 -0
- package/src/operations/testWebhook.ts +37 -0
- package/src/operations/updateAutoApply.ts +245 -0
- package/src/operations/updateAutoDeleteBranch.ts +251 -0
- package/src/operations/updateBackup.ts +109 -0
- package/src/operations/updateBouncerResizeRequest.ts +86 -0
- package/src/operations/updateBranch.ts +99 -0
- package/src/operations/updateBranchChangeRequest.ts +90 -0
- package/src/operations/updateBranchClusterConfig.ts +43 -0
- package/src/operations/updateDatabasePostgresCidr.ts +60 -0
- package/src/operations/updateDatabaseSettings.ts +134 -0
- package/src/operations/updateDatabaseThrottler.ts +58 -0
- package/src/operations/updateDeployRequestThrottler.ts +59 -0
- package/src/operations/updateKeyspace.ts +71 -0
- package/src/operations/updateKeyspaceVschema.ts +46 -0
- package/src/operations/updateOrganization.ts +55 -0
- package/src/operations/updateOrganizationMembership.ts +68 -0
- package/src/operations/updateOrganizationTeam.ts +93 -0
- package/src/operations/updatePassword.ts +84 -0
- package/src/operations/updateRole.ts +95 -0
- package/src/operations/updateWebhook.ts +74 -0
- package/src/operations/verifyWorkflow.ts +161 -0
- package/src/operations/workflowCancel.ts +161 -0
- package/src/operations/workflowComplete.ts +163 -0
- package/src/operations/workflowCutover.ts +161 -0
- package/src/operations/workflowRetry.ts +161 -0
- package/src/operations/workflowReverseCutover.ts +167 -0
- package/src/operations/workflowReverseTraffic.ts +167 -0
- package/src/operations/workflowSwitchPrimaries.ts +167 -0
- package/src/operations/workflowSwitchReplicas.ts +167 -0
- package/src/retry.ts +39 -0
- package/src/sensitive.ts +4 -0
- package/src/traits.ts +12 -0
- package/README.md +0 -15
- package/bun.lock +0 -26
- package/index.ts +0 -1
- package/tsconfig.json +0 -29
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const UpdateBackupInput: Schema.Struct<{
|
|
3
|
+
readonly id: Schema.String;
|
|
4
|
+
readonly organization: Schema.String;
|
|
5
|
+
readonly database: Schema.String;
|
|
6
|
+
readonly branch: Schema.String;
|
|
7
|
+
readonly protected: Schema.optional<Schema.Boolean>;
|
|
8
|
+
}>;
|
|
9
|
+
export type UpdateBackupInput = typeof UpdateBackupInput.Type;
|
|
10
|
+
export declare const UpdateBackupOutput: Schema.Struct<{
|
|
11
|
+
readonly id: Schema.String;
|
|
12
|
+
readonly name: Schema.String;
|
|
13
|
+
readonly state: Schema.Literals<readonly ["pending", "running", "success", "failed", "canceled", "ignored"]>;
|
|
14
|
+
readonly size: Schema.Number;
|
|
15
|
+
readonly estimated_storage_cost: Schema.Number;
|
|
16
|
+
readonly created_at: Schema.String;
|
|
17
|
+
readonly updated_at: Schema.String;
|
|
18
|
+
readonly started_at: Schema.NullOr<Schema.String>;
|
|
19
|
+
readonly expires_at: Schema.NullOr<Schema.String>;
|
|
20
|
+
readonly completed_at: Schema.NullOr<Schema.String>;
|
|
21
|
+
readonly deleted_at: Schema.NullOr<Schema.String>;
|
|
22
|
+
readonly pvc_size: Schema.Number;
|
|
23
|
+
readonly protected: Schema.Boolean;
|
|
24
|
+
readonly required: Schema.Boolean;
|
|
25
|
+
readonly restored_branches: Schema.$Array<Schema.Struct<{
|
|
26
|
+
readonly id: Schema.String;
|
|
27
|
+
readonly name: Schema.String;
|
|
28
|
+
readonly created_at: Schema.String;
|
|
29
|
+
readonly updated_at: Schema.String;
|
|
30
|
+
readonly deleted_at: Schema.NullOr<Schema.String>;
|
|
31
|
+
}>>;
|
|
32
|
+
readonly actor: Schema.Struct<{
|
|
33
|
+
readonly id: Schema.String;
|
|
34
|
+
readonly display_name: Schema.String;
|
|
35
|
+
readonly avatar_url: Schema.String;
|
|
36
|
+
}>;
|
|
37
|
+
readonly backup_policy: Schema.NullOr<Schema.Struct<{
|
|
38
|
+
readonly id: Schema.String;
|
|
39
|
+
readonly name: Schema.String;
|
|
40
|
+
readonly target: Schema.Literals<readonly ["production", "development"]>;
|
|
41
|
+
readonly retention_value: Schema.Number;
|
|
42
|
+
readonly retention_unit: Schema.String;
|
|
43
|
+
readonly frequency_value: Schema.Number;
|
|
44
|
+
readonly frequency_unit: Schema.String;
|
|
45
|
+
readonly schedule_time: Schema.NullOr<Schema.String>;
|
|
46
|
+
readonly schedule_day: Schema.Number;
|
|
47
|
+
readonly schedule_week: Schema.Number;
|
|
48
|
+
readonly created_at: Schema.String;
|
|
49
|
+
readonly updated_at: Schema.String;
|
|
50
|
+
readonly last_ran_at: Schema.NullOr<Schema.String>;
|
|
51
|
+
readonly next_run_at: Schema.NullOr<Schema.String>;
|
|
52
|
+
readonly required: Schema.Boolean;
|
|
53
|
+
}>>;
|
|
54
|
+
readonly schema_snapshot: Schema.Struct<{
|
|
55
|
+
readonly id: Schema.String;
|
|
56
|
+
readonly name: Schema.String;
|
|
57
|
+
readonly created_at: Schema.String;
|
|
58
|
+
readonly updated_at: Schema.String;
|
|
59
|
+
readonly linted_at: Schema.NullOr<Schema.String>;
|
|
60
|
+
readonly url: Schema.String;
|
|
61
|
+
}>;
|
|
62
|
+
readonly database_branch: Schema.Struct<{
|
|
63
|
+
readonly id: Schema.String;
|
|
64
|
+
readonly name: Schema.String;
|
|
65
|
+
readonly created_at: Schema.String;
|
|
66
|
+
readonly updated_at: Schema.String;
|
|
67
|
+
readonly deleted_at: Schema.NullOr<Schema.String>;
|
|
68
|
+
}>;
|
|
69
|
+
}>;
|
|
70
|
+
export type UpdateBackupOutput = typeof UpdateBackupOutput.Type;
|
|
71
|
+
/**
|
|
72
|
+
* Update a backup
|
|
73
|
+
*
|
|
74
|
+
* @param id - The ID of the backup
|
|
75
|
+
* @param organization - The name of the organization the branch belongs to
|
|
76
|
+
* @param database - The name of the database the branch belongs to
|
|
77
|
+
* @param branch - The name of the branch
|
|
78
|
+
* @param protected - Whether the backup is protected from deletion or not
|
|
79
|
+
*/
|
|
80
|
+
export declare const updateBackup: any;
|
|
81
|
+
//# sourceMappingURL=updateBackup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateBackup.d.ts","sourceRoot":"","sources":["../../src/operations/updateBackup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,iBAAiB;;;;;;EAW7B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsE7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,KAItB,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../errors";
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const UpdateBackupInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
organization: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
database: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
branch: Schema.String.pipe(T.PathParam()),
|
|
11
|
+
protected: Schema.optional(Schema.Boolean),
|
|
12
|
+
}).pipe(T.Http({
|
|
13
|
+
method: "PATCH",
|
|
14
|
+
path: "/organizations/{organization}/databases/{database}/branches/{branch}/backups/{id}",
|
|
15
|
+
}));
|
|
16
|
+
// Output Schema
|
|
17
|
+
export const UpdateBackupOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
18
|
+
id: Schema.String,
|
|
19
|
+
name: Schema.String,
|
|
20
|
+
state: Schema.Literals([
|
|
21
|
+
"pending",
|
|
22
|
+
"running",
|
|
23
|
+
"success",
|
|
24
|
+
"failed",
|
|
25
|
+
"canceled",
|
|
26
|
+
"ignored",
|
|
27
|
+
]),
|
|
28
|
+
size: Schema.Number,
|
|
29
|
+
estimated_storage_cost: Schema.Number,
|
|
30
|
+
created_at: Schema.String,
|
|
31
|
+
updated_at: Schema.String,
|
|
32
|
+
started_at: Schema.NullOr(Schema.String),
|
|
33
|
+
expires_at: Schema.NullOr(Schema.String),
|
|
34
|
+
completed_at: Schema.NullOr(Schema.String),
|
|
35
|
+
deleted_at: Schema.NullOr(Schema.String),
|
|
36
|
+
pvc_size: Schema.Number,
|
|
37
|
+
protected: Schema.Boolean,
|
|
38
|
+
required: Schema.Boolean,
|
|
39
|
+
restored_branches: Schema.Array(Schema.Struct({
|
|
40
|
+
id: Schema.String,
|
|
41
|
+
name: Schema.String,
|
|
42
|
+
created_at: Schema.String,
|
|
43
|
+
updated_at: Schema.String,
|
|
44
|
+
deleted_at: Schema.NullOr(Schema.String),
|
|
45
|
+
})),
|
|
46
|
+
actor: Schema.Struct({
|
|
47
|
+
id: Schema.String,
|
|
48
|
+
display_name: Schema.String,
|
|
49
|
+
avatar_url: Schema.String,
|
|
50
|
+
}),
|
|
51
|
+
backup_policy: Schema.NullOr(Schema.Struct({
|
|
52
|
+
id: Schema.String,
|
|
53
|
+
name: Schema.String,
|
|
54
|
+
target: Schema.Literals(["production", "development"]),
|
|
55
|
+
retention_value: Schema.Number,
|
|
56
|
+
retention_unit: Schema.String,
|
|
57
|
+
frequency_value: Schema.Number,
|
|
58
|
+
frequency_unit: Schema.String,
|
|
59
|
+
schedule_time: Schema.NullOr(Schema.String),
|
|
60
|
+
schedule_day: Schema.Number,
|
|
61
|
+
schedule_week: Schema.Number,
|
|
62
|
+
created_at: Schema.String,
|
|
63
|
+
updated_at: Schema.String,
|
|
64
|
+
last_ran_at: Schema.NullOr(Schema.String),
|
|
65
|
+
next_run_at: Schema.NullOr(Schema.String),
|
|
66
|
+
required: Schema.Boolean,
|
|
67
|
+
})),
|
|
68
|
+
schema_snapshot: Schema.Struct({
|
|
69
|
+
id: Schema.String,
|
|
70
|
+
name: Schema.String,
|
|
71
|
+
created_at: Schema.String,
|
|
72
|
+
updated_at: Schema.String,
|
|
73
|
+
linted_at: Schema.NullOr(Schema.String),
|
|
74
|
+
url: Schema.String,
|
|
75
|
+
}),
|
|
76
|
+
database_branch: Schema.Struct({
|
|
77
|
+
id: Schema.String,
|
|
78
|
+
name: Schema.String,
|
|
79
|
+
created_at: Schema.String,
|
|
80
|
+
updated_at: Schema.String,
|
|
81
|
+
deleted_at: Schema.NullOr(Schema.String),
|
|
82
|
+
}),
|
|
83
|
+
});
|
|
84
|
+
// The operation
|
|
85
|
+
/**
|
|
86
|
+
* Update a backup
|
|
87
|
+
*
|
|
88
|
+
* @param id - The ID of the backup
|
|
89
|
+
* @param organization - The name of the organization the branch belongs to
|
|
90
|
+
* @param database - The name of the database the branch belongs to
|
|
91
|
+
* @param branch - The name of the branch
|
|
92
|
+
* @param protected - Whether the backup is protected from deletion or not
|
|
93
|
+
*/
|
|
94
|
+
export const updateBackup = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
95
|
+
inputSchema: UpdateBackupInput,
|
|
96
|
+
outputSchema: UpdateBackupOutput,
|
|
97
|
+
errors: [Forbidden, NotFound],
|
|
98
|
+
}));
|
|
99
|
+
//# sourceMappingURL=updateBackup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateBackup.js","sourceRoot":"","sources":["../../src/operations/updateBackup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAEhD,eAAe;AACf,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACzE,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACrC,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC/C,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3C,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;CAC3C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,OAAO;IACf,IAAI,EAAE,mFAAmF;CAC1F,CAAC,CACH,CAAC;AAGF,gBAAgB;AAChB,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,C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zB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;KACzC,CAAC;CACH,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACtE,WAAW,EAAE,iBAAiB;IAC9B,YAAY,EAAE,kBAAkB;IAChC,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAU;CACvC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const UpdateBouncerResizeRequestInput: Schema.Struct<{
|
|
3
|
+
readonly organization: Schema.String;
|
|
4
|
+
readonly database: Schema.String;
|
|
5
|
+
readonly branch: Schema.String;
|
|
6
|
+
readonly bouncer: Schema.String;
|
|
7
|
+
readonly bouncer_size: Schema.optional<Schema.String>;
|
|
8
|
+
readonly replicas_per_cell: Schema.optional<Schema.Number>;
|
|
9
|
+
readonly parameters: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
10
|
+
}>;
|
|
11
|
+
export type UpdateBouncerResizeRequestInput = typeof UpdateBouncerResizeRequestInput.Type;
|
|
12
|
+
export declare const UpdateBouncerResizeRequestOutput: Schema.Struct<{
|
|
13
|
+
readonly id: Schema.String;
|
|
14
|
+
readonly state: Schema.Literals<readonly ["pending", "resizing", "canceled", "completed"]>;
|
|
15
|
+
readonly replicas_per_cell: Schema.Number;
|
|
16
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
17
|
+
readonly previous_replicas_per_cell: Schema.Number;
|
|
18
|
+
readonly previous_parameters: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
19
|
+
readonly started_at: Schema.String;
|
|
20
|
+
readonly completed_at: Schema.String;
|
|
21
|
+
readonly created_at: Schema.String;
|
|
22
|
+
readonly updated_at: Schema.String;
|
|
23
|
+
readonly actor: Schema.Struct<{
|
|
24
|
+
readonly id: Schema.String;
|
|
25
|
+
readonly display_name: Schema.String;
|
|
26
|
+
readonly avatar_url: Schema.String;
|
|
27
|
+
}>;
|
|
28
|
+
readonly bouncer: Schema.Struct<{
|
|
29
|
+
readonly id: Schema.String;
|
|
30
|
+
readonly name: Schema.String;
|
|
31
|
+
readonly created_at: Schema.String;
|
|
32
|
+
readonly updated_at: Schema.String;
|
|
33
|
+
readonly deleted_at: Schema.String;
|
|
34
|
+
}>;
|
|
35
|
+
readonly sku: Schema.Struct<{
|
|
36
|
+
readonly name: Schema.String;
|
|
37
|
+
readonly display_name: Schema.String;
|
|
38
|
+
readonly cpu: Schema.String;
|
|
39
|
+
readonly ram: Schema.Number;
|
|
40
|
+
readonly sort_order: Schema.Number;
|
|
41
|
+
}>;
|
|
42
|
+
readonly previous_sku: Schema.Struct<{
|
|
43
|
+
readonly name: Schema.String;
|
|
44
|
+
readonly display_name: Schema.String;
|
|
45
|
+
readonly cpu: Schema.String;
|
|
46
|
+
readonly ram: Schema.Number;
|
|
47
|
+
readonly sort_order: Schema.Number;
|
|
48
|
+
}>;
|
|
49
|
+
}>;
|
|
50
|
+
export type UpdateBouncerResizeRequestOutput = typeof UpdateBouncerResizeRequestOutput.Type;
|
|
51
|
+
/**
|
|
52
|
+
* Upsert a bouncer resize request
|
|
53
|
+
*
|
|
54
|
+
* @param organization - Organization name slug from `list_organizations`. Example: `acme`.
|
|
55
|
+
* @param database - Database name slug from `list_databases`. Example: `app-db`.
|
|
56
|
+
* @param branch - Branch name from `list_branches`. Example: `main`.
|
|
57
|
+
* @param bouncer - The name of the bouncer
|
|
58
|
+
* @param bouncer_size - The bouncer size SKU name (e.g., 'PGB_5', 'PGB_10', 'PGB_20', 'PGB_40', 'PGB_80', 'PGB_160'). Defaults to 'PGB_5'.
|
|
59
|
+
* @param replicas_per_cell - The number of PgBouncers per availability zone. Defaults to 1.
|
|
60
|
+
* @param parameters - Bouncer configuration parameters nested by namespace (e.g., {"pgbouncer": {"default_pool_size": "100"}}). Use the 'List cluster parameters' endpoint to retrieve available parameters. Only parameters with namespace 'pgbouncer' can be updated.
|
|
61
|
+
*/
|
|
62
|
+
export declare const updateBouncerResizeRequest: any;
|
|
63
|
+
//# sourceMappingURL=updateBouncerResizeRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateBouncerResizeRequest.d.ts","sourceRoot":"","sources":["../../src/operations/updateBouncerResizeRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,+BAA+B;;;;;;;;EAczC,CAAC;AACJ,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsCzC,CAAC;AACL,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C;;;;;;;;;;GAUG;AACH,eAAO,MAAM,0BAA0B,KAMtC,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../errors";
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const UpdateBouncerResizeRequestInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
organization: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
database: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
branch: Schema.String.pipe(T.PathParam()),
|
|
11
|
+
bouncer: Schema.String.pipe(T.PathParam()),
|
|
12
|
+
bouncer_size: Schema.optional(Schema.String),
|
|
13
|
+
replicas_per_cell: Schema.optional(Schema.Number),
|
|
14
|
+
parameters: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
15
|
+
}).pipe(T.Http({
|
|
16
|
+
method: "PATCH",
|
|
17
|
+
path: "/organizations/{organization}/databases/{database}/branches/{branch}/bouncers/{bouncer}/resizes",
|
|
18
|
+
}));
|
|
19
|
+
// Output Schema
|
|
20
|
+
export const UpdateBouncerResizeRequestOutput =
|
|
21
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22
|
+
id: Schema.String,
|
|
23
|
+
state: Schema.Literals(["pending", "resizing", "canceled", "completed"]),
|
|
24
|
+
replicas_per_cell: Schema.Number,
|
|
25
|
+
parameters: Schema.Record(Schema.String, Schema.Unknown),
|
|
26
|
+
previous_replicas_per_cell: Schema.Number,
|
|
27
|
+
previous_parameters: Schema.Record(Schema.String, Schema.Unknown),
|
|
28
|
+
started_at: Schema.String,
|
|
29
|
+
completed_at: Schema.String,
|
|
30
|
+
created_at: Schema.String,
|
|
31
|
+
updated_at: Schema.String,
|
|
32
|
+
actor: Schema.Struct({
|
|
33
|
+
id: Schema.String,
|
|
34
|
+
display_name: Schema.String,
|
|
35
|
+
avatar_url: Schema.String,
|
|
36
|
+
}),
|
|
37
|
+
bouncer: Schema.Struct({
|
|
38
|
+
id: Schema.String,
|
|
39
|
+
name: Schema.String,
|
|
40
|
+
created_at: Schema.String,
|
|
41
|
+
updated_at: Schema.String,
|
|
42
|
+
deleted_at: Schema.String,
|
|
43
|
+
}),
|
|
44
|
+
sku: Schema.Struct({
|
|
45
|
+
name: Schema.String,
|
|
46
|
+
display_name: Schema.String,
|
|
47
|
+
cpu: Schema.String,
|
|
48
|
+
ram: Schema.Number,
|
|
49
|
+
sort_order: Schema.Number,
|
|
50
|
+
}),
|
|
51
|
+
previous_sku: Schema.Struct({
|
|
52
|
+
name: Schema.String,
|
|
53
|
+
display_name: Schema.String,
|
|
54
|
+
cpu: Schema.String,
|
|
55
|
+
ram: Schema.Number,
|
|
56
|
+
sort_order: Schema.Number,
|
|
57
|
+
}),
|
|
58
|
+
});
|
|
59
|
+
// The operation
|
|
60
|
+
/**
|
|
61
|
+
* Upsert a bouncer resize request
|
|
62
|
+
*
|
|
63
|
+
* @param organization - Organization name slug from `list_organizations`. Example: `acme`.
|
|
64
|
+
* @param database - Database name slug from `list_databases`. Example: `app-db`.
|
|
65
|
+
* @param branch - Branch name from `list_branches`. Example: `main`.
|
|
66
|
+
* @param bouncer - The name of the bouncer
|
|
67
|
+
* @param bouncer_size - The bouncer size SKU name (e.g., 'PGB_5', 'PGB_10', 'PGB_20', 'PGB_40', 'PGB_80', 'PGB_160'). Defaults to 'PGB_5'.
|
|
68
|
+
* @param replicas_per_cell - The number of PgBouncers per availability zone. Defaults to 1.
|
|
69
|
+
* @param parameters - Bouncer configuration parameters nested by namespace (e.g., {"pgbouncer": {"default_pool_size": "100"}}). Use the 'List cluster parameters' endpoint to retrieve available parameters. Only parameters with namespace 'pgbouncer' can be updated.
|
|
70
|
+
*/
|
|
71
|
+
export const updateBouncerResizeRequest = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
72
|
+
inputSchema: UpdateBouncerResizeRequestInput,
|
|
73
|
+
outputSchema: UpdateBouncerResizeRequestOutput,
|
|
74
|
+
errors: [Forbidden, NotFound],
|
|
75
|
+
}));
|
|
76
|
+
//# sourceMappingURL=updateBouncerResizeRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateBouncerResizeRequest.js","sourceRoot":"","sources":["../../src/operations/updateBouncerResizeRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAEhD,eAAe;AACf,MAAM,CAAC,MAAM,+BAA+B;AAC1C,aAAa,CAAC,aAAa,CAAC,MAAM,CA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Y,EAAE,gCAAgC;IAC9C,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAU;CACvC,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const UpdateBranchInput: Schema.Struct<{
|
|
3
|
+
readonly organization: Schema.String;
|
|
4
|
+
readonly database: Schema.String;
|
|
5
|
+
readonly branch: Schema.String;
|
|
6
|
+
readonly new_name: Schema.String;
|
|
7
|
+
}>;
|
|
8
|
+
export type UpdateBranchInput = typeof UpdateBranchInput.Type;
|
|
9
|
+
export declare const UpdateBranchOutput: Schema.Struct<{
|
|
10
|
+
readonly id: Schema.String;
|
|
11
|
+
readonly name: Schema.String;
|
|
12
|
+
readonly created_at: Schema.String;
|
|
13
|
+
readonly updated_at: Schema.String;
|
|
14
|
+
readonly deleted_at: Schema.NullOr<Schema.String>;
|
|
15
|
+
readonly restore_checklist_completed_at: Schema.NullOr<Schema.String>;
|
|
16
|
+
readonly schema_last_updated_at: Schema.String;
|
|
17
|
+
readonly kind: Schema.Literals<readonly ["mysql", "postgresql"]>;
|
|
18
|
+
readonly mysql_address: Schema.String;
|
|
19
|
+
readonly mysql_edge_address: Schema.String;
|
|
20
|
+
readonly state: Schema.Literals<readonly ["pending", "sleep_in_progress", "sleeping", "awakening", "ready"]>;
|
|
21
|
+
readonly direct_vtgate: Schema.Boolean;
|
|
22
|
+
readonly vtgate_size: Schema.String;
|
|
23
|
+
readonly vtgate_count: Schema.Number;
|
|
24
|
+
readonly cluster_name: Schema.String;
|
|
25
|
+
readonly cluster_iops: Schema.NullOr<Schema.Number>;
|
|
26
|
+
readonly ready: Schema.Boolean;
|
|
27
|
+
readonly schema_ready: Schema.Boolean;
|
|
28
|
+
readonly metal: Schema.Boolean;
|
|
29
|
+
readonly production: Schema.Boolean;
|
|
30
|
+
readonly safe_migrations: Schema.Boolean;
|
|
31
|
+
readonly sharded: Schema.Boolean;
|
|
32
|
+
readonly shard_count: Schema.Number;
|
|
33
|
+
readonly stale_schema: Schema.Boolean;
|
|
34
|
+
readonly actor: Schema.Struct<{
|
|
35
|
+
readonly id: Schema.String;
|
|
36
|
+
readonly display_name: Schema.String;
|
|
37
|
+
readonly avatar_url: Schema.String;
|
|
38
|
+
}>;
|
|
39
|
+
readonly restored_from_branch: Schema.NullOr<Schema.Struct<{
|
|
40
|
+
readonly id: Schema.String;
|
|
41
|
+
readonly name: Schema.String;
|
|
42
|
+
readonly created_at: Schema.String;
|
|
43
|
+
readonly updated_at: Schema.String;
|
|
44
|
+
readonly deleted_at: Schema.String;
|
|
45
|
+
}>>;
|
|
46
|
+
readonly private_edge_connectivity: Schema.Boolean;
|
|
47
|
+
readonly has_replicas: Schema.Boolean;
|
|
48
|
+
readonly has_read_only_replicas: Schema.Boolean;
|
|
49
|
+
readonly html_url: Schema.String;
|
|
50
|
+
readonly url: Schema.String;
|
|
51
|
+
readonly region: Schema.Struct<{
|
|
52
|
+
readonly id: Schema.String;
|
|
53
|
+
readonly provider: Schema.String;
|
|
54
|
+
readonly enabled: Schema.Boolean;
|
|
55
|
+
readonly public_ip_addresses: Schema.$Array<Schema.String>;
|
|
56
|
+
readonly display_name: Schema.String;
|
|
57
|
+
readonly location: Schema.String;
|
|
58
|
+
readonly slug: Schema.String;
|
|
59
|
+
readonly current_default: Schema.Boolean;
|
|
60
|
+
}>;
|
|
61
|
+
readonly parent_branch: Schema.NullOr<Schema.String>;
|
|
62
|
+
readonly vtgate_options: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
63
|
+
}>;
|
|
64
|
+
export type UpdateBranchOutput = typeof UpdateBranchOutput.Type;
|
|
65
|
+
/**
|
|
66
|
+
* Update a branch
|
|
67
|
+
*
|
|
68
|
+
* @param organization - The name of the organization the branch belongs to
|
|
69
|
+
* @param database - The name of the database the branch belongs to
|
|
70
|
+
* @param branch - The name of the branch
|
|
71
|
+
* @param new_name - The name to update the branch
|
|
72
|
+
*/
|
|
73
|
+
export declare const updateBranch: any;
|
|
74
|
+
//# sourceMappingURL=updateBranch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateBranch.d.ts","sourceRoot":"","sources":["../../src/operations/updateBranch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,iBAAiB;;;;;EAU7B,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;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,KAItB,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../errors";
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const UpdateBranchInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
organization: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
database: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
branch: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
new_name: Schema.String,
|
|
11
|
+
}).pipe(T.Http({
|
|
12
|
+
method: "PATCH",
|
|
13
|
+
path: "/organizations/{organization}/databases/{database}/branches/{branch}",
|
|
14
|
+
}));
|
|
15
|
+
// Output Schema
|
|
16
|
+
export const UpdateBranchOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
17
|
+
id: Schema.String,
|
|
18
|
+
name: Schema.String,
|
|
19
|
+
created_at: Schema.String,
|
|
20
|
+
updated_at: Schema.String,
|
|
21
|
+
deleted_at: Schema.NullOr(Schema.String),
|
|
22
|
+
restore_checklist_completed_at: Schema.NullOr(Schema.String),
|
|
23
|
+
schema_last_updated_at: Schema.String,
|
|
24
|
+
kind: Schema.Literals(["mysql", "postgresql"]),
|
|
25
|
+
mysql_address: Schema.String,
|
|
26
|
+
mysql_edge_address: Schema.String,
|
|
27
|
+
state: Schema.Literals([
|
|
28
|
+
"pending",
|
|
29
|
+
"sleep_in_progress",
|
|
30
|
+
"sleeping",
|
|
31
|
+
"awakening",
|
|
32
|
+
"ready",
|
|
33
|
+
]),
|
|
34
|
+
direct_vtgate: Schema.Boolean,
|
|
35
|
+
vtgate_size: Schema.String,
|
|
36
|
+
vtgate_count: Schema.Number,
|
|
37
|
+
cluster_name: Schema.String,
|
|
38
|
+
cluster_iops: Schema.NullOr(Schema.Number),
|
|
39
|
+
ready: Schema.Boolean,
|
|
40
|
+
schema_ready: Schema.Boolean,
|
|
41
|
+
metal: Schema.Boolean,
|
|
42
|
+
production: Schema.Boolean,
|
|
43
|
+
safe_migrations: Schema.Boolean,
|
|
44
|
+
sharded: Schema.Boolean,
|
|
45
|
+
shard_count: Schema.Number,
|
|
46
|
+
stale_schema: Schema.Boolean,
|
|
47
|
+
actor: Schema.Struct({
|
|
48
|
+
id: Schema.String,
|
|
49
|
+
display_name: Schema.String,
|
|
50
|
+
avatar_url: Schema.String,
|
|
51
|
+
}),
|
|
52
|
+
restored_from_branch: Schema.NullOr(Schema.Struct({
|
|
53
|
+
id: Schema.String,
|
|
54
|
+
name: Schema.String,
|
|
55
|
+
created_at: Schema.String,
|
|
56
|
+
updated_at: Schema.String,
|
|
57
|
+
deleted_at: Schema.String,
|
|
58
|
+
})),
|
|
59
|
+
private_edge_connectivity: Schema.Boolean,
|
|
60
|
+
has_replicas: Schema.Boolean,
|
|
61
|
+
has_read_only_replicas: Schema.Boolean,
|
|
62
|
+
html_url: Schema.String,
|
|
63
|
+
url: Schema.String,
|
|
64
|
+
region: Schema.Struct({
|
|
65
|
+
id: Schema.String,
|
|
66
|
+
provider: Schema.String,
|
|
67
|
+
enabled: Schema.Boolean,
|
|
68
|
+
public_ip_addresses: Schema.Array(Schema.String),
|
|
69
|
+
display_name: Schema.String,
|
|
70
|
+
location: Schema.String,
|
|
71
|
+
slug: Schema.String,
|
|
72
|
+
current_default: Schema.Boolean,
|
|
73
|
+
}),
|
|
74
|
+
parent_branch: Schema.NullOr(Schema.String),
|
|
75
|
+
vtgate_options: Schema.Record(Schema.String, Schema.Unknown),
|
|
76
|
+
});
|
|
77
|
+
// The operation
|
|
78
|
+
/**
|
|
79
|
+
* Update a branch
|
|
80
|
+
*
|
|
81
|
+
* @param organization - The name of the organization the branch belongs to
|
|
82
|
+
* @param database - The name of the database the branch belongs to
|
|
83
|
+
* @param branch - The name of the branch
|
|
84
|
+
* @param new_name - The name to update the branch
|
|
85
|
+
*/
|
|
86
|
+
export const updateBranch = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
87
|
+
inputSchema: UpdateBranchInput,
|
|
88
|
+
outputSchema: UpdateBranchOutput,
|
|
89
|
+
errors: [Forbidden, NotFound],
|
|
90
|
+
}));
|
|
91
|
+
//# sourceMappingURL=updateBranch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateBranch.js","sourceRoot":"","sources":["../../src/operations/updateBranch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAEhD,eAAe;AACf,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACzE,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC/C,QAAQ,EAAE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QACnB,eAAe,EAAE,MAAM,CAAC,OAAO;KAChC,CAAC;IACF,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC;CAC7D,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACtE,WAAW,EAAE,iBAAiB;IAC9B,YAAY,EAAE,kBAAkB;IAChC,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAU;CACvC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const UpdateBranchChangeRequestInput: Schema.Struct<{
|
|
3
|
+
readonly organization: Schema.String;
|
|
4
|
+
readonly database: Schema.String;
|
|
5
|
+
readonly branch: Schema.String;
|
|
6
|
+
readonly cluster_size: Schema.optional<Schema.String>;
|
|
7
|
+
readonly replicas: Schema.optional<Schema.Number>;
|
|
8
|
+
readonly parameters: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
9
|
+
}>;
|
|
10
|
+
export type UpdateBranchChangeRequestInput = typeof UpdateBranchChangeRequestInput.Type;
|
|
11
|
+
export declare const UpdateBranchChangeRequestOutput: Schema.Struct<{
|
|
12
|
+
readonly id: Schema.String;
|
|
13
|
+
readonly restart: Schema.$Array<Schema.Number>;
|
|
14
|
+
readonly state: Schema.Literals<readonly ["queued", "pending", "resizing", "canceled", "completed"]>;
|
|
15
|
+
readonly started_at: Schema.String;
|
|
16
|
+
readonly completed_at: Schema.String;
|
|
17
|
+
readonly created_at: Schema.String;
|
|
18
|
+
readonly updated_at: Schema.String;
|
|
19
|
+
readonly actor: Schema.Struct<{
|
|
20
|
+
readonly id: Schema.String;
|
|
21
|
+
readonly display_name: Schema.String;
|
|
22
|
+
readonly avatar_url: Schema.String;
|
|
23
|
+
}>;
|
|
24
|
+
readonly cluster_name: Schema.String;
|
|
25
|
+
readonly cluster_display_name: Schema.String;
|
|
26
|
+
readonly cluster_metal: Schema.Boolean;
|
|
27
|
+
readonly replicas: Schema.Number;
|
|
28
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
29
|
+
readonly previous_cluster_name: Schema.String;
|
|
30
|
+
readonly previous_cluster_display_name: Schema.String;
|
|
31
|
+
readonly previous_cluster_metal: Schema.Boolean;
|
|
32
|
+
readonly previous_replicas: Schema.Number;
|
|
33
|
+
readonly previous_parameters: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
34
|
+
readonly minimum_storage_bytes: Schema.Number;
|
|
35
|
+
readonly maximum_storage_bytes: Schema.Number;
|
|
36
|
+
readonly storage_autoscaling: Schema.Boolean;
|
|
37
|
+
readonly storage_shrinking: Schema.Boolean;
|
|
38
|
+
readonly storage_type: Schema.Literals<readonly ["gp3", "io2", "pd_ssd"]>;
|
|
39
|
+
readonly storage_iops: Schema.Number;
|
|
40
|
+
readonly storage_throughput_mibs: Schema.Number;
|
|
41
|
+
readonly previous_minimum_storage_bytes: Schema.Number;
|
|
42
|
+
readonly previous_maximum_storage_bytes: Schema.Number;
|
|
43
|
+
readonly previous_storage_autoscaling: Schema.Boolean;
|
|
44
|
+
readonly previous_storage_shrinking: Schema.Boolean;
|
|
45
|
+
readonly previous_storage_type: Schema.String;
|
|
46
|
+
readonly previous_storage_iops: Schema.Number;
|
|
47
|
+
readonly previous_storage_throughput_mibs: Schema.Number;
|
|
48
|
+
}>;
|
|
49
|
+
export type UpdateBranchChangeRequestOutput = typeof UpdateBranchChangeRequestOutput.Type;
|
|
50
|
+
/**
|
|
51
|
+
* Upsert a change request
|
|
52
|
+
*
|
|
53
|
+
* @param organization - Organization name slug from `list_organizations`. Example: `acme`.
|
|
54
|
+
* @param database - Database name slug from `list_databases`. Example: `app-db`.
|
|
55
|
+
* @param branch - Branch name from `list_branches`. Example: `main`.
|
|
56
|
+
* @param cluster_size - The size of the cluster. Available sizes can be found using the 'List cluster sizes' endpoint.
|
|
57
|
+
* @param replicas - The total number of replicas
|
|
58
|
+
* @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'.
|
|
59
|
+
*/
|
|
60
|
+
export declare const updateBranchChangeRequest: any;
|
|
61
|
+
//# sourceMappingURL=updateBranchChangeRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateBranchChangeRequest.d.ts","sourceRoot":"","sources":["../../src/operations/updateBranchChangeRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,8BAA8B;;;;;;;EAaxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4CxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;;;;GASG;AACH,eAAO,MAAM,yBAAyB,KAMrC,CAAC"}
|