@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 @@
|
|
|
1
|
+
{"version":3,"file":"getDatabase.d.ts","sourceRoot":"","sources":["../../src/operations/getDatabase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,gBAAgB;;;EAQ5B,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyE5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D;;;;;GAKG;AACH,eAAO,MAAM,WAAW,KAIrB,CAAC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
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 GetDatabaseInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
organization: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
database: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(T.Http({
|
|
10
|
+
method: "GET",
|
|
11
|
+
path: "/organizations/{organization}/databases/{database}",
|
|
12
|
+
}));
|
|
13
|
+
// Output Schema
|
|
14
|
+
export const GetDatabaseOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
15
|
+
id: Schema.String,
|
|
16
|
+
url: Schema.String,
|
|
17
|
+
branches_url: Schema.String,
|
|
18
|
+
branches_count: Schema.optional(Schema.Number),
|
|
19
|
+
open_schema_recommendations_count: Schema.optional(Schema.Number),
|
|
20
|
+
development_branches_count: Schema.optional(Schema.Number),
|
|
21
|
+
production_branches_count: Schema.optional(Schema.Number),
|
|
22
|
+
issues_count: Schema.optional(Schema.Number),
|
|
23
|
+
multiple_admins_required_for_deletion: Schema.optional(Schema.Boolean),
|
|
24
|
+
ready: Schema.Boolean,
|
|
25
|
+
at_backup_restore_branches_limit: Schema.optional(Schema.Boolean),
|
|
26
|
+
at_development_branch_usage_limit: Schema.optional(Schema.Boolean),
|
|
27
|
+
data_import: Schema.optional(Schema.NullOr(Schema.Struct({
|
|
28
|
+
state: Schema.String,
|
|
29
|
+
import_check_errors: Schema.String,
|
|
30
|
+
started_at: Schema.String,
|
|
31
|
+
finished_at: Schema.String,
|
|
32
|
+
data_source: Schema.Struct({
|
|
33
|
+
hostname: Schema.String,
|
|
34
|
+
port: Schema.Number,
|
|
35
|
+
database: Schema.String,
|
|
36
|
+
}),
|
|
37
|
+
}))),
|
|
38
|
+
region: Schema.Struct({
|
|
39
|
+
id: Schema.String,
|
|
40
|
+
provider: Schema.String,
|
|
41
|
+
enabled: Schema.Boolean,
|
|
42
|
+
public_ip_addresses: Schema.Array(Schema.String),
|
|
43
|
+
display_name: Schema.String,
|
|
44
|
+
location: Schema.String,
|
|
45
|
+
slug: Schema.String,
|
|
46
|
+
current_default: Schema.Boolean,
|
|
47
|
+
}),
|
|
48
|
+
html_url: Schema.String,
|
|
49
|
+
name: Schema.String,
|
|
50
|
+
state: Schema.Literals([
|
|
51
|
+
"pending",
|
|
52
|
+
"importing",
|
|
53
|
+
"sleep_in_progress",
|
|
54
|
+
"sleeping",
|
|
55
|
+
"awakening",
|
|
56
|
+
"import_ready",
|
|
57
|
+
"ready",
|
|
58
|
+
]),
|
|
59
|
+
sharded: Schema.optional(Schema.Boolean),
|
|
60
|
+
default_branch_shard_count: Schema.optional(Schema.Number),
|
|
61
|
+
default_branch_read_only_regions_count: Schema.optional(Schema.Number),
|
|
62
|
+
default_branch_table_count: Schema.optional(Schema.Number),
|
|
63
|
+
default_branch: Schema.optional(Schema.String),
|
|
64
|
+
require_approval_for_deploy: Schema.optional(Schema.Boolean),
|
|
65
|
+
resizing: Schema.optional(Schema.Boolean),
|
|
66
|
+
resize_queued: Schema.optional(Schema.Boolean),
|
|
67
|
+
config_changing: Schema.optional(Schema.Boolean),
|
|
68
|
+
config_change_queued: Schema.optional(Schema.Boolean),
|
|
69
|
+
allow_data_branching: Schema.optional(Schema.Boolean),
|
|
70
|
+
foreign_keys_enabled: Schema.optional(Schema.Boolean),
|
|
71
|
+
automatic_migrations: Schema.optional(Schema.NullOr(Schema.Boolean)),
|
|
72
|
+
restrict_branch_region: Schema.optional(Schema.Boolean),
|
|
73
|
+
insights_raw_queries: Schema.optional(Schema.Boolean),
|
|
74
|
+
plan: Schema.optional(Schema.String),
|
|
75
|
+
insights_enabled: Schema.optional(Schema.Boolean),
|
|
76
|
+
production_branch_web_console: Schema.optional(Schema.Boolean),
|
|
77
|
+
migration_table_name: Schema.optional(Schema.NullOr(Schema.String)),
|
|
78
|
+
migration_framework: Schema.optional(Schema.NullOr(Schema.String)),
|
|
79
|
+
created_at: Schema.String,
|
|
80
|
+
updated_at: Schema.String,
|
|
81
|
+
schema_last_updated_at: Schema.optional(Schema.String),
|
|
82
|
+
kind: Schema.Literals(["mysql", "postgresql"]),
|
|
83
|
+
});
|
|
84
|
+
// The operation
|
|
85
|
+
/**
|
|
86
|
+
* Get a database
|
|
87
|
+
*
|
|
88
|
+
* @param organization - Organization name slug from `list_organizations`. Example: `acme`.
|
|
89
|
+
* @param database - Database name slug from `list_databases`. Example: `app-db`.
|
|
90
|
+
*/
|
|
91
|
+
export const getDatabase = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
92
|
+
inputSchema: GetDatabaseInput,
|
|
93
|
+
outputSchema: GetDatabaseOutput,
|
|
94
|
+
errors: [Forbidden, NotFound],
|
|
95
|
+
}));
|
|
96
|
+
//# sourceMappingURL=getDatabase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDatabase.js","sourceRoot":"","sources":["../../src/operations/getDatabase.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,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxE,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;CAC5C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,oDAAoD;CAC3D,CAAC,CACH,CAAC;AAGF,gBAAgB;AAChB,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACzE,EAAE,EAAE,MAAM,CAAC,MAAM;IACjB,GAAG,EAAE,MAAM,CAAC,MAAM;IAClB,YAA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DatabasePostgresCidrInput: Schema.Struct<{
|
|
3
|
+
readonly organization: Schema.String;
|
|
4
|
+
readonly database: Schema.String;
|
|
5
|
+
readonly id: Schema.String;
|
|
6
|
+
}>;
|
|
7
|
+
export type GetDatabasePostgresCidrInput = typeof GetDatabasePostgresCidrInput.Type;
|
|
8
|
+
export declare const GetDatabasePostgresCidrOutput: Schema.Struct<{
|
|
9
|
+
readonly id: Schema.String;
|
|
10
|
+
readonly schema: Schema.String;
|
|
11
|
+
readonly role: Schema.String;
|
|
12
|
+
readonly cidrs: Schema.$Array<Schema.String>;
|
|
13
|
+
readonly created_at: Schema.String;
|
|
14
|
+
readonly updated_at: Schema.String;
|
|
15
|
+
readonly deleted_at: Schema.String;
|
|
16
|
+
readonly actor: Schema.Struct<{
|
|
17
|
+
readonly id: Schema.String;
|
|
18
|
+
readonly display_name: Schema.String;
|
|
19
|
+
readonly avatar_url: Schema.String;
|
|
20
|
+
}>;
|
|
21
|
+
}>;
|
|
22
|
+
export type GetDatabasePostgresCidrOutput = typeof GetDatabasePostgresCidrOutput.Type;
|
|
23
|
+
/**
|
|
24
|
+
* Get an IP restriction entry
|
|
25
|
+
*
|
|
26
|
+
* @param organization - The name of the organization the database belongs to
|
|
27
|
+
* @param database - The name of the database
|
|
28
|
+
* @param id - The ID of the IP restriction entry
|
|
29
|
+
*/
|
|
30
|
+
export declare const getDatabasePostgresCidr: any;
|
|
31
|
+
//# sourceMappingURL=getDatabasePostgresCidr.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDatabasePostgresCidr.d.ts","sourceRoot":"","sources":["../../src/operations/getDatabasePostgresCidr.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,4BAA4B;;;;EAUtC,CAAC;AACJ,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;EActC,CAAC;AACL,MAAM,MAAM,6BAA6B,GACvC,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAG5C;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,KAMnC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
import { Forbidden, NotFound, UnprocessableEntity } from "../errors";
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const GetDatabasePostgresCidrInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
organization: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
database: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
11
|
+
}).pipe(T.Http({
|
|
12
|
+
method: "GET",
|
|
13
|
+
path: "/organizations/{organization}/databases/{database}/cidrs/{id}",
|
|
14
|
+
}));
|
|
15
|
+
// Output Schema
|
|
16
|
+
export const GetDatabasePostgresCidrOutput =
|
|
17
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
18
|
+
id: Schema.String,
|
|
19
|
+
schema: Schema.String,
|
|
20
|
+
role: Schema.String,
|
|
21
|
+
cidrs: Schema.Array(Schema.String),
|
|
22
|
+
created_at: Schema.String,
|
|
23
|
+
updated_at: Schema.String,
|
|
24
|
+
deleted_at: Schema.String,
|
|
25
|
+
actor: Schema.Struct({
|
|
26
|
+
id: Schema.String,
|
|
27
|
+
display_name: Schema.String,
|
|
28
|
+
avatar_url: Schema.String,
|
|
29
|
+
}),
|
|
30
|
+
});
|
|
31
|
+
// The operation
|
|
32
|
+
/**
|
|
33
|
+
* Get an IP restriction entry
|
|
34
|
+
*
|
|
35
|
+
* @param organization - The name of the organization the database belongs to
|
|
36
|
+
* @param database - The name of the database
|
|
37
|
+
* @param id - The ID of the IP restriction entry
|
|
38
|
+
*/
|
|
39
|
+
export const getDatabasePostgresCidr = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
40
|
+
inputSchema: GetDatabasePostgresCidrInput,
|
|
41
|
+
outputSchema: GetDatabasePostgresCidrOutput,
|
|
42
|
+
errors: [Forbidden, NotFound, UnprocessableEntity],
|
|
43
|
+
}));
|
|
44
|
+
//# sourceMappingURL=getDatabasePostgresCidr.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDatabasePostgresCidr.js","sourceRoot":"","sources":["../../src/operations/getDatabasePostgresCidr.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,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAErE,eAAe;AACf,MAAM,CAAC,MAAM,4BAA4B;AACvC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,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,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CACtC,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,+DAA+D;CACtE,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B;AACxC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC,MAAM;IACjB,MAAM,EAAE,MAAM,CAAC,MAAM;IACrB,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;IAClC,UAAU,EAAE,MAAM,CAAC,MAAM;IACzB,UAAU,EAAE,MAAM,CAAC,MAAM;IACzB,UAAU,EAAE,MAAM,CAAC,MAAM;IACzB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC;QACnB,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,YAAY,EAAE,MAAM,CAAC,MAAM;QAC3B,UAAU,EAAE,MAAM,CAAC,MAAM;KAC1B,CAAC;CACH,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACzE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,4BAA4B;IACzC,YAAY,EAAE,6BAA6B;IAC3C,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,mBAAmB,CAAU;CAC5D,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const GetDatabaseThrottlerInput: Schema.Struct<{
|
|
3
|
+
readonly organization: Schema.String;
|
|
4
|
+
readonly database: Schema.String;
|
|
5
|
+
}>;
|
|
6
|
+
export type GetDatabaseThrottlerInput = typeof GetDatabaseThrottlerInput.Type;
|
|
7
|
+
export declare const GetDatabaseThrottlerOutput: Schema.Struct<{
|
|
8
|
+
readonly keyspaces: Schema.$Array<Schema.String>;
|
|
9
|
+
readonly configurable: 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.String;
|
|
15
|
+
}>;
|
|
16
|
+
readonly configurations: Schema.$Array<Schema.Struct<{
|
|
17
|
+
readonly keyspace_name: Schema.String;
|
|
18
|
+
readonly ratio: Schema.Number;
|
|
19
|
+
}>>;
|
|
20
|
+
}>;
|
|
21
|
+
export type GetDatabaseThrottlerOutput = typeof GetDatabaseThrottlerOutput.Type;
|
|
22
|
+
/**
|
|
23
|
+
* Get database throttler configurations
|
|
24
|
+
*
|
|
25
|
+
* @param organization - The name of the organization that the throttled deploy requests belong to
|
|
26
|
+
* @param database - The name of the database that the throttled deploy requests belong to
|
|
27
|
+
*/
|
|
28
|
+
export declare const getDatabaseThrottler: any;
|
|
29
|
+
//# sourceMappingURL=getDatabaseThrottler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDatabaseThrottler.d.ts","sourceRoot":"","sources":["../../src/operations/getDatabaseThrottler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,yBAAyB;;;EASnC,CAAC;AACJ,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;EAgBnC,CAAC;AACL,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,KAMhC,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 GetDatabaseThrottlerInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
organization: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
database: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
}).pipe(T.Http({
|
|
11
|
+
method: "GET",
|
|
12
|
+
path: "/organizations/{organization}/databases/{database}/throttler",
|
|
13
|
+
}));
|
|
14
|
+
// Output Schema
|
|
15
|
+
export const GetDatabaseThrottlerOutput =
|
|
16
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
17
|
+
keyspaces: Schema.Array(Schema.String),
|
|
18
|
+
configurable: Schema.Struct({
|
|
19
|
+
id: Schema.String,
|
|
20
|
+
name: Schema.String,
|
|
21
|
+
created_at: Schema.String,
|
|
22
|
+
updated_at: Schema.String,
|
|
23
|
+
deleted_at: Schema.String,
|
|
24
|
+
}),
|
|
25
|
+
configurations: Schema.Array(Schema.Struct({
|
|
26
|
+
keyspace_name: Schema.String,
|
|
27
|
+
ratio: Schema.Number,
|
|
28
|
+
})),
|
|
29
|
+
});
|
|
30
|
+
// The operation
|
|
31
|
+
/**
|
|
32
|
+
* Get database throttler configurations
|
|
33
|
+
*
|
|
34
|
+
* @param organization - The name of the organization that the throttled deploy requests belong to
|
|
35
|
+
* @param database - The name of the database that the throttled deploy requests belong to
|
|
36
|
+
*/
|
|
37
|
+
export const getDatabaseThrottler = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
38
|
+
inputSchema: GetDatabaseThrottlerInput,
|
|
39
|
+
outputSchema: GetDatabaseThrottlerOutput,
|
|
40
|
+
errors: [Forbidden, NotFound],
|
|
41
|
+
}));
|
|
42
|
+
//# sourceMappingURL=getDatabaseThrottler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDatabaseThrottler.js","sourceRoot":"","sources":["../../src/operations/getDatabaseThrottler.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,M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
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const GetDefaultRoleInput: Schema.Struct<{
|
|
3
|
+
readonly organization: Schema.String;
|
|
4
|
+
readonly database: Schema.String;
|
|
5
|
+
readonly branch: Schema.String;
|
|
6
|
+
}>;
|
|
7
|
+
export type GetDefaultRoleInput = typeof GetDefaultRoleInput.Type;
|
|
8
|
+
export declare const GetDefaultRoleOutput: Schema.Struct<{
|
|
9
|
+
readonly id: Schema.String;
|
|
10
|
+
readonly name: Schema.String;
|
|
11
|
+
readonly access_host_url: Schema.String;
|
|
12
|
+
readonly private_access_host_url: Schema.String;
|
|
13
|
+
readonly private_connection_service_name: Schema.String;
|
|
14
|
+
readonly username: Schema.String;
|
|
15
|
+
readonly password: Schema.String;
|
|
16
|
+
readonly database_name: Schema.String;
|
|
17
|
+
readonly created_at: Schema.String;
|
|
18
|
+
readonly updated_at: Schema.String;
|
|
19
|
+
readonly deleted_at: Schema.String;
|
|
20
|
+
readonly expires_at: Schema.String;
|
|
21
|
+
readonly dropped_at: Schema.String;
|
|
22
|
+
readonly disabled_at: Schema.String;
|
|
23
|
+
readonly drop_failed: Schema.String;
|
|
24
|
+
readonly expired: Schema.Boolean;
|
|
25
|
+
readonly default: Schema.Boolean;
|
|
26
|
+
readonly ttl: Schema.Number;
|
|
27
|
+
readonly inherited_roles: Schema.$Array<Schema.Literals<readonly ["pscale_managed", "pg_checkpoint", "pg_create_subscription", "pg_maintain", "pg_monitor", "pg_read_all_data", "pg_read_all_settings", "pg_read_all_stats", "pg_signal_backend", "pg_stat_scan_tables", "pg_use_reserved_connections", "pg_write_all_data", "postgres"]>>;
|
|
28
|
+
readonly branch: 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 actor: Schema.Struct<{
|
|
36
|
+
readonly id: Schema.String;
|
|
37
|
+
readonly display_name: Schema.String;
|
|
38
|
+
readonly avatar_url: Schema.String;
|
|
39
|
+
}>;
|
|
40
|
+
readonly query_safety_settings: Schema.Struct<{
|
|
41
|
+
readonly require_where_on_delete: Schema.Literals<readonly ["off", "warn", "on"]>;
|
|
42
|
+
readonly require_where_on_update: Schema.Literals<readonly ["off", "warn", "on"]>;
|
|
43
|
+
}>;
|
|
44
|
+
}>;
|
|
45
|
+
export type GetDefaultRoleOutput = typeof GetDefaultRoleOutput.Type;
|
|
46
|
+
/**
|
|
47
|
+
* Get the default postgres role
|
|
48
|
+
*
|
|
49
|
+
* @param organization - Organization name slug from `list_organizations`. Example: `acme`.
|
|
50
|
+
* @param database - Database name slug from `list_databases`. Example: `app-db`.
|
|
51
|
+
* @param branch - Branch name from `list_branches`. Example: `main`.
|
|
52
|
+
*/
|
|
53
|
+
export declare const getDefaultRole: any;
|
|
54
|
+
//# sourceMappingURL=getDefaultRole.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDefaultRole.d.ts","sourceRoot":"","sources":["../../src/operations/getDefaultRole.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,mBAAmB;;;;EAS/B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoD/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,KAIxB,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
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 GetDefaultRoleInput = /*@__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
|
+
}).pipe(T.Http({
|
|
11
|
+
method: "GET",
|
|
12
|
+
path: "/organizations/{organization}/databases/{database}/branches/{branch}/roles/default",
|
|
13
|
+
}));
|
|
14
|
+
// Output Schema
|
|
15
|
+
export const GetDefaultRoleOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
16
|
+
id: Schema.String,
|
|
17
|
+
name: Schema.String,
|
|
18
|
+
access_host_url: Schema.String,
|
|
19
|
+
private_access_host_url: Schema.String,
|
|
20
|
+
private_connection_service_name: Schema.String,
|
|
21
|
+
username: Schema.String,
|
|
22
|
+
password: Schema.String,
|
|
23
|
+
database_name: Schema.String,
|
|
24
|
+
created_at: Schema.String,
|
|
25
|
+
updated_at: Schema.String,
|
|
26
|
+
deleted_at: Schema.String,
|
|
27
|
+
expires_at: Schema.String,
|
|
28
|
+
dropped_at: Schema.String,
|
|
29
|
+
disabled_at: Schema.String,
|
|
30
|
+
drop_failed: Schema.String,
|
|
31
|
+
expired: Schema.Boolean,
|
|
32
|
+
default: Schema.Boolean,
|
|
33
|
+
ttl: Schema.Number,
|
|
34
|
+
inherited_roles: Schema.Array(Schema.Literals([
|
|
35
|
+
"pscale_managed",
|
|
36
|
+
"pg_checkpoint",
|
|
37
|
+
"pg_create_subscription",
|
|
38
|
+
"pg_maintain",
|
|
39
|
+
"pg_monitor",
|
|
40
|
+
"pg_read_all_data",
|
|
41
|
+
"pg_read_all_settings",
|
|
42
|
+
"pg_read_all_stats",
|
|
43
|
+
"pg_signal_backend",
|
|
44
|
+
"pg_stat_scan_tables",
|
|
45
|
+
"pg_use_reserved_connections",
|
|
46
|
+
"pg_write_all_data",
|
|
47
|
+
"postgres",
|
|
48
|
+
])),
|
|
49
|
+
branch: Schema.Struct({
|
|
50
|
+
id: Schema.String,
|
|
51
|
+
name: Schema.String,
|
|
52
|
+
created_at: Schema.String,
|
|
53
|
+
updated_at: Schema.String,
|
|
54
|
+
deleted_at: Schema.String,
|
|
55
|
+
}),
|
|
56
|
+
actor: Schema.Struct({
|
|
57
|
+
id: Schema.String,
|
|
58
|
+
display_name: Schema.String,
|
|
59
|
+
avatar_url: Schema.String,
|
|
60
|
+
}),
|
|
61
|
+
query_safety_settings: Schema.Struct({
|
|
62
|
+
require_where_on_delete: Schema.Literals(["off", "warn", "on"]),
|
|
63
|
+
require_where_on_update: Schema.Literals(["off", "warn", "on"]),
|
|
64
|
+
}),
|
|
65
|
+
});
|
|
66
|
+
// The operation
|
|
67
|
+
/**
|
|
68
|
+
* Get the default postgres role
|
|
69
|
+
*
|
|
70
|
+
* @param organization - Organization name slug from `list_organizations`. Example: `acme`.
|
|
71
|
+
* @param database - Database name slug from `list_databases`. Example: `app-db`.
|
|
72
|
+
* @param branch - Branch name from `list_branches`. Example: `main`.
|
|
73
|
+
*/
|
|
74
|
+
export const getDefaultRole = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
75
|
+
inputSchema: GetDefaultRoleInput,
|
|
76
|
+
outputSchema: GetDefaultRoleOutput,
|
|
77
|
+
errors: [Forbidden, NotFound],
|
|
78
|
+
}));
|
|
79
|
+
//# sourceMappingURL=getDefaultRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDefaultRole.js","sourceRoot":"","sources":["../../src/operations/getDefaultRole.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,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
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const GetDeployQueueInput: Schema.Struct<{
|
|
3
|
+
readonly organization: Schema.String;
|
|
4
|
+
readonly database: Schema.String;
|
|
5
|
+
}>;
|
|
6
|
+
export type GetDeployQueueInput = typeof GetDeployQueueInput.Type;
|
|
7
|
+
export declare const GetDeployQueueOutput: Schema.Struct<{
|
|
8
|
+
readonly current_page: Schema.Number;
|
|
9
|
+
readonly next_page: Schema.NullOr<Schema.Number>;
|
|
10
|
+
readonly next_page_url: Schema.NullOr<Schema.String>;
|
|
11
|
+
readonly prev_page: Schema.NullOr<Schema.Number>;
|
|
12
|
+
readonly prev_page_url: Schema.NullOr<Schema.String>;
|
|
13
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
14
|
+
readonly id: Schema.String;
|
|
15
|
+
readonly auto_cutover: Schema.Boolean;
|
|
16
|
+
readonly auto_delete_branch: Schema.Boolean;
|
|
17
|
+
readonly created_at: Schema.String;
|
|
18
|
+
readonly cutover_at: Schema.String;
|
|
19
|
+
readonly cutover_expiring: Schema.Boolean;
|
|
20
|
+
readonly deploy_check_errors: Schema.String;
|
|
21
|
+
readonly finished_at: Schema.String;
|
|
22
|
+
readonly queued_at: Schema.String;
|
|
23
|
+
readonly ready_to_cutover_at: Schema.String;
|
|
24
|
+
readonly started_at: Schema.String;
|
|
25
|
+
readonly state: Schema.Literals<readonly ["pending", "ready", "no_changes", "queued", "submitting", "in_progress", "pending_cutover", "in_progress_vschema", "in_progress_cancel", "in_progress_cutover", "complete", "complete_cancel", "complete_error", "complete_pending_revert", "in_progress_revert", "in_progress_revert_vschema", "complete_revert", "complete_revert_error", "cancelled", "error"]>;
|
|
26
|
+
readonly submitted_at: Schema.String;
|
|
27
|
+
readonly updated_at: Schema.String;
|
|
28
|
+
readonly into_branch: Schema.String;
|
|
29
|
+
readonly deploy_request_number: Schema.Number;
|
|
30
|
+
readonly deployable: Schema.Boolean;
|
|
31
|
+
readonly preceding_deployments: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
32
|
+
readonly deploy_operations: Schema.$Array<Schema.Struct<{
|
|
33
|
+
readonly id: Schema.String;
|
|
34
|
+
readonly state: Schema.Literals<readonly ["pending", "queued", "in_progress", "complete", "cancelled", "error"]>;
|
|
35
|
+
readonly keyspace_name: Schema.String;
|
|
36
|
+
readonly table_name: Schema.String;
|
|
37
|
+
readonly operation_name: Schema.String;
|
|
38
|
+
readonly eta_seconds: Schema.Number;
|
|
39
|
+
readonly progress_percentage: Schema.Number;
|
|
40
|
+
readonly deploy_error_docs_url: Schema.String;
|
|
41
|
+
readonly ddl_statement: Schema.String;
|
|
42
|
+
readonly syntax_highlighted_ddl: Schema.String;
|
|
43
|
+
readonly created_at: Schema.String;
|
|
44
|
+
readonly updated_at: Schema.String;
|
|
45
|
+
readonly throttled_at: Schema.String;
|
|
46
|
+
readonly can_drop_data: Schema.Boolean;
|
|
47
|
+
readonly table_locked: Schema.Boolean;
|
|
48
|
+
readonly table_recently_used: Schema.Boolean;
|
|
49
|
+
readonly table_recently_used_at: Schema.String;
|
|
50
|
+
readonly removed_foreign_key_names: Schema.$Array<Schema.String>;
|
|
51
|
+
readonly deploy_errors: Schema.String;
|
|
52
|
+
}>>;
|
|
53
|
+
readonly deploy_operation_summaries: Schema.$Array<Schema.Struct<{
|
|
54
|
+
readonly id: Schema.String;
|
|
55
|
+
readonly created_at: Schema.String;
|
|
56
|
+
readonly deploy_errors: Schema.String;
|
|
57
|
+
readonly ddl_statement: Schema.String;
|
|
58
|
+
readonly eta_seconds: Schema.Number;
|
|
59
|
+
readonly keyspace_name: Schema.String;
|
|
60
|
+
readonly operation_name: Schema.String;
|
|
61
|
+
readonly progress_percentage: Schema.Number;
|
|
62
|
+
readonly state: Schema.Literals<readonly ["pending", "in_progress", "complete", "cancelled", "error"]>;
|
|
63
|
+
readonly syntax_highlighted_ddl: Schema.String;
|
|
64
|
+
readonly table_name: Schema.String;
|
|
65
|
+
readonly table_recently_used_at: Schema.String;
|
|
66
|
+
readonly throttled_at: Schema.String;
|
|
67
|
+
readonly removed_foreign_key_names: Schema.$Array<Schema.String>;
|
|
68
|
+
readonly shard_count: Schema.Number;
|
|
69
|
+
readonly shard_names: Schema.$Array<Schema.String>;
|
|
70
|
+
readonly can_drop_data: Schema.Boolean;
|
|
71
|
+
readonly table_recently_used: Schema.Boolean;
|
|
72
|
+
readonly sharded: Schema.Boolean;
|
|
73
|
+
readonly operations: Schema.$Array<Schema.Struct<{
|
|
74
|
+
readonly id: Schema.String;
|
|
75
|
+
readonly shard: Schema.String;
|
|
76
|
+
readonly state: Schema.Literals<readonly ["pending", "queued", "in_progress", "complete", "cancelled", "error"]>;
|
|
77
|
+
readonly progress_percentage: Schema.Number;
|
|
78
|
+
readonly eta_seconds: Schema.Number;
|
|
79
|
+
}>>;
|
|
80
|
+
}>>;
|
|
81
|
+
readonly lint_errors: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
82
|
+
readonly sequential_diff_dependencies: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
83
|
+
readonly lookup_vindex_operations: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
84
|
+
readonly throttler_configurations: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
85
|
+
readonly deployment_revert_request: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
86
|
+
readonly actor: Schema.Struct<{
|
|
87
|
+
readonly id: Schema.String;
|
|
88
|
+
readonly display_name: Schema.String;
|
|
89
|
+
readonly avatar_url: Schema.String;
|
|
90
|
+
}>;
|
|
91
|
+
readonly cutover_actor: Schema.Struct<{
|
|
92
|
+
readonly id: Schema.String;
|
|
93
|
+
readonly display_name: Schema.String;
|
|
94
|
+
readonly avatar_url: Schema.String;
|
|
95
|
+
}>;
|
|
96
|
+
readonly cancelled_actor: Schema.Struct<{
|
|
97
|
+
readonly id: Schema.String;
|
|
98
|
+
readonly display_name: Schema.String;
|
|
99
|
+
readonly avatar_url: Schema.String;
|
|
100
|
+
}>;
|
|
101
|
+
readonly schema_last_updated_at: Schema.String;
|
|
102
|
+
readonly table_locked: Schema.Boolean;
|
|
103
|
+
readonly locked_table_name: Schema.String;
|
|
104
|
+
readonly instant_ddl: Schema.Boolean;
|
|
105
|
+
readonly instant_ddl_eligible: Schema.Boolean;
|
|
106
|
+
}>>;
|
|
107
|
+
}>;
|
|
108
|
+
export type GetDeployQueueOutput = typeof GetDeployQueueOutput.Type;
|
|
109
|
+
/**
|
|
110
|
+
* Get the deploy queue
|
|
111
|
+
*
|
|
112
|
+
* The deploy queue returns the current list of deploy requests in the order they will be deployed.
|
|
113
|
+
*
|
|
114
|
+
* @param organization - The name of the deploy request's organization
|
|
115
|
+
* @param database - The name of the deploy request's database
|
|
116
|
+
*/
|
|
117
|
+
export declare const getDeployQueue: any;
|
|
118
|
+
//# sourceMappingURL=getDeployQueue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDeployQueue.d.ts","sourceRoot":"","sources":["../../src/operations/getDeployQueue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,mBAAmB;;;EAQ/B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6J/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,KAIxB,CAAC"}
|