@distilled.cloud/planetscale 0.0.0 → 0.2.3
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/README.md +45 -6
- 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 +52 -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/bun.lock +0 -26
- package/index.ts +0 -1
- package/tsconfig.json +0 -29
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const QueueDeployRequestInput: Schema.Struct<{
|
|
3
|
+
readonly organization: Schema.String;
|
|
4
|
+
readonly database: Schema.String;
|
|
5
|
+
readonly number: Schema.Number;
|
|
6
|
+
readonly instant_ddl: Schema.optional<Schema.Boolean>;
|
|
7
|
+
}>;
|
|
8
|
+
export type QueueDeployRequestInput = typeof QueueDeployRequestInput.Type;
|
|
9
|
+
export declare const QueueDeployRequestOutput: Schema.Struct<{
|
|
10
|
+
readonly id: Schema.String;
|
|
11
|
+
readonly number: Schema.Number;
|
|
12
|
+
readonly actor: Schema.Struct<{
|
|
13
|
+
readonly id: Schema.String;
|
|
14
|
+
readonly display_name: Schema.String;
|
|
15
|
+
readonly avatar_url: Schema.String;
|
|
16
|
+
}>;
|
|
17
|
+
readonly closed_by: Schema.Struct<{
|
|
18
|
+
readonly id: Schema.String;
|
|
19
|
+
readonly display_name: Schema.String;
|
|
20
|
+
readonly avatar_url: Schema.String;
|
|
21
|
+
}>;
|
|
22
|
+
readonly branch: Schema.String;
|
|
23
|
+
readonly branch_id: Schema.String;
|
|
24
|
+
readonly branch_deleted: Schema.Boolean;
|
|
25
|
+
readonly branch_deleted_by: Schema.Struct<{
|
|
26
|
+
readonly id: Schema.String;
|
|
27
|
+
readonly display_name: Schema.String;
|
|
28
|
+
readonly avatar_url: Schema.String;
|
|
29
|
+
}>;
|
|
30
|
+
readonly branch_deleted_at: Schema.String;
|
|
31
|
+
readonly into_branch: Schema.String;
|
|
32
|
+
readonly into_branch_sharded: Schema.Boolean;
|
|
33
|
+
readonly into_branch_shard_count: Schema.Number;
|
|
34
|
+
readonly approved: Schema.Boolean;
|
|
35
|
+
readonly state: Schema.Literals<readonly ["open", "closed"]>;
|
|
36
|
+
readonly deployment_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"]>;
|
|
37
|
+
readonly deployment: Schema.Struct<{
|
|
38
|
+
readonly id: Schema.String;
|
|
39
|
+
readonly auto_cutover: Schema.Boolean;
|
|
40
|
+
readonly auto_delete_branch: Schema.Boolean;
|
|
41
|
+
readonly created_at: Schema.String;
|
|
42
|
+
readonly cutover_at: Schema.String;
|
|
43
|
+
readonly cutover_expiring: Schema.Boolean;
|
|
44
|
+
readonly deploy_check_errors: Schema.String;
|
|
45
|
+
readonly finished_at: Schema.String;
|
|
46
|
+
readonly queued_at: Schema.String;
|
|
47
|
+
readonly ready_to_cutover_at: Schema.String;
|
|
48
|
+
readonly started_at: Schema.String;
|
|
49
|
+
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"]>;
|
|
50
|
+
readonly submitted_at: Schema.String;
|
|
51
|
+
readonly updated_at: Schema.String;
|
|
52
|
+
readonly into_branch: Schema.String;
|
|
53
|
+
readonly deploy_request_number: Schema.Number;
|
|
54
|
+
readonly deployable: Schema.Boolean;
|
|
55
|
+
readonly preceding_deployments: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
56
|
+
readonly deploy_operations: Schema.$Array<Schema.Struct<{
|
|
57
|
+
readonly id: Schema.String;
|
|
58
|
+
readonly state: Schema.Literals<readonly ["pending", "queued", "in_progress", "complete", "cancelled", "error"]>;
|
|
59
|
+
readonly keyspace_name: Schema.String;
|
|
60
|
+
readonly table_name: Schema.String;
|
|
61
|
+
readonly operation_name: Schema.String;
|
|
62
|
+
readonly eta_seconds: Schema.Number;
|
|
63
|
+
readonly progress_percentage: Schema.Number;
|
|
64
|
+
readonly deploy_error_docs_url: Schema.String;
|
|
65
|
+
readonly ddl_statement: Schema.String;
|
|
66
|
+
readonly syntax_highlighted_ddl: Schema.String;
|
|
67
|
+
readonly created_at: Schema.String;
|
|
68
|
+
readonly updated_at: Schema.String;
|
|
69
|
+
readonly throttled_at: Schema.String;
|
|
70
|
+
readonly can_drop_data: Schema.Boolean;
|
|
71
|
+
readonly table_locked: Schema.Boolean;
|
|
72
|
+
readonly table_recently_used: Schema.Boolean;
|
|
73
|
+
readonly table_recently_used_at: Schema.String;
|
|
74
|
+
readonly removed_foreign_key_names: Schema.$Array<Schema.String>;
|
|
75
|
+
readonly deploy_errors: Schema.String;
|
|
76
|
+
}>>;
|
|
77
|
+
readonly deploy_operation_summaries: Schema.$Array<Schema.Struct<{
|
|
78
|
+
readonly id: Schema.String;
|
|
79
|
+
readonly created_at: Schema.String;
|
|
80
|
+
readonly deploy_errors: Schema.String;
|
|
81
|
+
readonly ddl_statement: Schema.String;
|
|
82
|
+
readonly eta_seconds: Schema.Number;
|
|
83
|
+
readonly keyspace_name: Schema.String;
|
|
84
|
+
readonly operation_name: Schema.String;
|
|
85
|
+
readonly progress_percentage: Schema.Number;
|
|
86
|
+
readonly state: Schema.Literals<readonly ["pending", "in_progress", "complete", "cancelled", "error"]>;
|
|
87
|
+
readonly syntax_highlighted_ddl: Schema.String;
|
|
88
|
+
readonly table_name: Schema.String;
|
|
89
|
+
readonly table_recently_used_at: Schema.String;
|
|
90
|
+
readonly throttled_at: Schema.String;
|
|
91
|
+
readonly removed_foreign_key_names: Schema.$Array<Schema.String>;
|
|
92
|
+
readonly shard_count: Schema.Number;
|
|
93
|
+
readonly shard_names: Schema.$Array<Schema.String>;
|
|
94
|
+
readonly can_drop_data: Schema.Boolean;
|
|
95
|
+
readonly table_recently_used: Schema.Boolean;
|
|
96
|
+
readonly sharded: Schema.Boolean;
|
|
97
|
+
readonly operations: Schema.$Array<Schema.Struct<{
|
|
98
|
+
readonly id: Schema.String;
|
|
99
|
+
readonly shard: Schema.String;
|
|
100
|
+
readonly state: Schema.Literals<readonly ["pending", "queued", "in_progress", "complete", "cancelled", "error"]>;
|
|
101
|
+
readonly progress_percentage: Schema.Number;
|
|
102
|
+
readonly eta_seconds: Schema.Number;
|
|
103
|
+
}>>;
|
|
104
|
+
}>>;
|
|
105
|
+
readonly lint_errors: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
106
|
+
readonly sequential_diff_dependencies: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
107
|
+
readonly lookup_vindex_operations: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
108
|
+
readonly throttler_configurations: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
109
|
+
readonly deployment_revert_request: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
110
|
+
readonly actor: Schema.Struct<{
|
|
111
|
+
readonly id: Schema.String;
|
|
112
|
+
readonly display_name: Schema.String;
|
|
113
|
+
readonly avatar_url: Schema.String;
|
|
114
|
+
}>;
|
|
115
|
+
readonly cutover_actor: Schema.Struct<{
|
|
116
|
+
readonly id: Schema.String;
|
|
117
|
+
readonly display_name: Schema.String;
|
|
118
|
+
readonly avatar_url: Schema.String;
|
|
119
|
+
}>;
|
|
120
|
+
readonly cancelled_actor: Schema.Struct<{
|
|
121
|
+
readonly id: Schema.String;
|
|
122
|
+
readonly display_name: Schema.String;
|
|
123
|
+
readonly avatar_url: Schema.String;
|
|
124
|
+
}>;
|
|
125
|
+
readonly schema_last_updated_at: Schema.String;
|
|
126
|
+
readonly table_locked: Schema.Boolean;
|
|
127
|
+
readonly locked_table_name: Schema.String;
|
|
128
|
+
readonly instant_ddl: Schema.Boolean;
|
|
129
|
+
readonly instant_ddl_eligible: Schema.Boolean;
|
|
130
|
+
}>;
|
|
131
|
+
readonly num_comments: Schema.Number;
|
|
132
|
+
readonly html_url: Schema.String;
|
|
133
|
+
readonly notes: Schema.String;
|
|
134
|
+
readonly html_body: Schema.String;
|
|
135
|
+
readonly created_at: Schema.String;
|
|
136
|
+
readonly updated_at: Schema.String;
|
|
137
|
+
readonly closed_at: Schema.String;
|
|
138
|
+
readonly deployed_at: Schema.String;
|
|
139
|
+
}>;
|
|
140
|
+
export type QueueDeployRequestOutput = typeof QueueDeployRequestOutput.Type;
|
|
141
|
+
/**
|
|
142
|
+
* Queue a deploy request
|
|
143
|
+
*
|
|
144
|
+
* @param organization - The name of the deploy request's organization
|
|
145
|
+
* @param database - The name of the deploy request's database
|
|
146
|
+
* @param number - The number of the deploy request
|
|
147
|
+
* @param instant_ddl - Whether or not to deploy the request with instant DDL. Defaults to false.
|
|
148
|
+
*/
|
|
149
|
+
export declare const queueDeployRequest: any;
|
|
150
|
+
//# sourceMappingURL=queueDeployRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queueDeployRequest.d.ts","sourceRoot":"","sources":["../../src/operations/queueDeployRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,uBAAuB;;;;;EAWjC,CAAC;AACJ,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+MjC,CAAC;AACL,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,KAI5B,CAAC"}
|
|
@@ -0,0 +1,225 @@
|
|
|
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 QueueDeployRequestInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
organization: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
database: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
number: Schema.Number.pipe(T.PathParam()),
|
|
11
|
+
instant_ddl: Schema.optional(Schema.Boolean),
|
|
12
|
+
}).pipe(T.Http({
|
|
13
|
+
method: "POST",
|
|
14
|
+
path: "/organizations/{organization}/databases/{database}/deploy-requests/{number}/deploy",
|
|
15
|
+
}));
|
|
16
|
+
// Output Schema
|
|
17
|
+
export const QueueDeployRequestOutput =
|
|
18
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19
|
+
id: Schema.String,
|
|
20
|
+
number: Schema.Number,
|
|
21
|
+
actor: Schema.Struct({
|
|
22
|
+
id: Schema.String,
|
|
23
|
+
display_name: Schema.String,
|
|
24
|
+
avatar_url: Schema.String,
|
|
25
|
+
}),
|
|
26
|
+
closed_by: Schema.Struct({
|
|
27
|
+
id: Schema.String,
|
|
28
|
+
display_name: Schema.String,
|
|
29
|
+
avatar_url: Schema.String,
|
|
30
|
+
}),
|
|
31
|
+
branch: Schema.String,
|
|
32
|
+
branch_id: Schema.String,
|
|
33
|
+
branch_deleted: Schema.Boolean,
|
|
34
|
+
branch_deleted_by: Schema.Struct({
|
|
35
|
+
id: Schema.String,
|
|
36
|
+
display_name: Schema.String,
|
|
37
|
+
avatar_url: Schema.String,
|
|
38
|
+
}),
|
|
39
|
+
branch_deleted_at: Schema.String,
|
|
40
|
+
into_branch: Schema.String,
|
|
41
|
+
into_branch_sharded: Schema.Boolean,
|
|
42
|
+
into_branch_shard_count: Schema.Number,
|
|
43
|
+
approved: Schema.Boolean,
|
|
44
|
+
state: Schema.Literals(["open", "closed"]),
|
|
45
|
+
deployment_state: Schema.Literals([
|
|
46
|
+
"pending",
|
|
47
|
+
"ready",
|
|
48
|
+
"no_changes",
|
|
49
|
+
"queued",
|
|
50
|
+
"submitting",
|
|
51
|
+
"in_progress",
|
|
52
|
+
"pending_cutover",
|
|
53
|
+
"in_progress_vschema",
|
|
54
|
+
"in_progress_cancel",
|
|
55
|
+
"in_progress_cutover",
|
|
56
|
+
"complete",
|
|
57
|
+
"complete_cancel",
|
|
58
|
+
"complete_error",
|
|
59
|
+
"complete_pending_revert",
|
|
60
|
+
"in_progress_revert",
|
|
61
|
+
"in_progress_revert_vschema",
|
|
62
|
+
"complete_revert",
|
|
63
|
+
"complete_revert_error",
|
|
64
|
+
"cancelled",
|
|
65
|
+
"error",
|
|
66
|
+
]),
|
|
67
|
+
deployment: Schema.Struct({
|
|
68
|
+
id: Schema.String,
|
|
69
|
+
auto_cutover: Schema.Boolean,
|
|
70
|
+
auto_delete_branch: Schema.Boolean,
|
|
71
|
+
created_at: Schema.String,
|
|
72
|
+
cutover_at: Schema.String,
|
|
73
|
+
cutover_expiring: Schema.Boolean,
|
|
74
|
+
deploy_check_errors: Schema.String,
|
|
75
|
+
finished_at: Schema.String,
|
|
76
|
+
queued_at: Schema.String,
|
|
77
|
+
ready_to_cutover_at: Schema.String,
|
|
78
|
+
started_at: Schema.String,
|
|
79
|
+
state: Schema.Literals([
|
|
80
|
+
"pending",
|
|
81
|
+
"ready",
|
|
82
|
+
"no_changes",
|
|
83
|
+
"queued",
|
|
84
|
+
"submitting",
|
|
85
|
+
"in_progress",
|
|
86
|
+
"pending_cutover",
|
|
87
|
+
"in_progress_vschema",
|
|
88
|
+
"in_progress_cancel",
|
|
89
|
+
"in_progress_cutover",
|
|
90
|
+
"complete",
|
|
91
|
+
"complete_cancel",
|
|
92
|
+
"complete_error",
|
|
93
|
+
"complete_pending_revert",
|
|
94
|
+
"in_progress_revert",
|
|
95
|
+
"in_progress_revert_vschema",
|
|
96
|
+
"complete_revert",
|
|
97
|
+
"complete_revert_error",
|
|
98
|
+
"cancelled",
|
|
99
|
+
"error",
|
|
100
|
+
]),
|
|
101
|
+
submitted_at: Schema.String,
|
|
102
|
+
updated_at: Schema.String,
|
|
103
|
+
into_branch: Schema.String,
|
|
104
|
+
deploy_request_number: Schema.Number,
|
|
105
|
+
deployable: Schema.Boolean,
|
|
106
|
+
preceding_deployments: Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
|
|
107
|
+
deploy_operations: Schema.Array(Schema.Struct({
|
|
108
|
+
id: Schema.String,
|
|
109
|
+
state: Schema.Literals([
|
|
110
|
+
"pending",
|
|
111
|
+
"queued",
|
|
112
|
+
"in_progress",
|
|
113
|
+
"complete",
|
|
114
|
+
"cancelled",
|
|
115
|
+
"error",
|
|
116
|
+
]),
|
|
117
|
+
keyspace_name: Schema.String,
|
|
118
|
+
table_name: Schema.String,
|
|
119
|
+
operation_name: Schema.String,
|
|
120
|
+
eta_seconds: Schema.Number,
|
|
121
|
+
progress_percentage: Schema.Number,
|
|
122
|
+
deploy_error_docs_url: Schema.String,
|
|
123
|
+
ddl_statement: Schema.String,
|
|
124
|
+
syntax_highlighted_ddl: Schema.String,
|
|
125
|
+
created_at: Schema.String,
|
|
126
|
+
updated_at: Schema.String,
|
|
127
|
+
throttled_at: Schema.String,
|
|
128
|
+
can_drop_data: Schema.Boolean,
|
|
129
|
+
table_locked: Schema.Boolean,
|
|
130
|
+
table_recently_used: Schema.Boolean,
|
|
131
|
+
table_recently_used_at: Schema.String,
|
|
132
|
+
removed_foreign_key_names: Schema.Array(Schema.String),
|
|
133
|
+
deploy_errors: Schema.String,
|
|
134
|
+
})),
|
|
135
|
+
deploy_operation_summaries: Schema.Array(Schema.Struct({
|
|
136
|
+
id: Schema.String,
|
|
137
|
+
created_at: Schema.String,
|
|
138
|
+
deploy_errors: Schema.String,
|
|
139
|
+
ddl_statement: Schema.String,
|
|
140
|
+
eta_seconds: Schema.Number,
|
|
141
|
+
keyspace_name: Schema.String,
|
|
142
|
+
operation_name: Schema.String,
|
|
143
|
+
progress_percentage: Schema.Number,
|
|
144
|
+
state: Schema.Literals([
|
|
145
|
+
"pending",
|
|
146
|
+
"in_progress",
|
|
147
|
+
"complete",
|
|
148
|
+
"cancelled",
|
|
149
|
+
"error",
|
|
150
|
+
]),
|
|
151
|
+
syntax_highlighted_ddl: Schema.String,
|
|
152
|
+
table_name: Schema.String,
|
|
153
|
+
table_recently_used_at: Schema.String,
|
|
154
|
+
throttled_at: Schema.String,
|
|
155
|
+
removed_foreign_key_names: Schema.Array(Schema.String),
|
|
156
|
+
shard_count: Schema.Number,
|
|
157
|
+
shard_names: Schema.Array(Schema.String),
|
|
158
|
+
can_drop_data: Schema.Boolean,
|
|
159
|
+
table_recently_used: Schema.Boolean,
|
|
160
|
+
sharded: Schema.Boolean,
|
|
161
|
+
operations: Schema.Array(Schema.Struct({
|
|
162
|
+
id: Schema.String,
|
|
163
|
+
shard: Schema.String,
|
|
164
|
+
state: Schema.Literals([
|
|
165
|
+
"pending",
|
|
166
|
+
"queued",
|
|
167
|
+
"in_progress",
|
|
168
|
+
"complete",
|
|
169
|
+
"cancelled",
|
|
170
|
+
"error",
|
|
171
|
+
]),
|
|
172
|
+
progress_percentage: Schema.Number,
|
|
173
|
+
eta_seconds: Schema.Number,
|
|
174
|
+
})),
|
|
175
|
+
})),
|
|
176
|
+
lint_errors: Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
|
|
177
|
+
sequential_diff_dependencies: Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
|
|
178
|
+
lookup_vindex_operations: Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
|
|
179
|
+
throttler_configurations: Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
|
|
180
|
+
deployment_revert_request: Schema.Record(Schema.String, Schema.Unknown),
|
|
181
|
+
actor: Schema.Struct({
|
|
182
|
+
id: Schema.String,
|
|
183
|
+
display_name: Schema.String,
|
|
184
|
+
avatar_url: Schema.String,
|
|
185
|
+
}),
|
|
186
|
+
cutover_actor: Schema.Struct({
|
|
187
|
+
id: Schema.String,
|
|
188
|
+
display_name: Schema.String,
|
|
189
|
+
avatar_url: Schema.String,
|
|
190
|
+
}),
|
|
191
|
+
cancelled_actor: Schema.Struct({
|
|
192
|
+
id: Schema.String,
|
|
193
|
+
display_name: Schema.String,
|
|
194
|
+
avatar_url: Schema.String,
|
|
195
|
+
}),
|
|
196
|
+
schema_last_updated_at: Schema.String,
|
|
197
|
+
table_locked: Schema.Boolean,
|
|
198
|
+
locked_table_name: Schema.String,
|
|
199
|
+
instant_ddl: Schema.Boolean,
|
|
200
|
+
instant_ddl_eligible: Schema.Boolean,
|
|
201
|
+
}),
|
|
202
|
+
num_comments: Schema.Number,
|
|
203
|
+
html_url: Schema.String,
|
|
204
|
+
notes: Schema.String,
|
|
205
|
+
html_body: Schema.String,
|
|
206
|
+
created_at: Schema.String,
|
|
207
|
+
updated_at: Schema.String,
|
|
208
|
+
closed_at: Schema.String,
|
|
209
|
+
deployed_at: Schema.String,
|
|
210
|
+
});
|
|
211
|
+
// The operation
|
|
212
|
+
/**
|
|
213
|
+
* Queue a deploy request
|
|
214
|
+
*
|
|
215
|
+
* @param organization - The name of the deploy request's organization
|
|
216
|
+
* @param database - The name of the deploy request's database
|
|
217
|
+
* @param number - The number of the deploy request
|
|
218
|
+
* @param instant_ddl - Whether or not to deploy the request with instant DDL. Defaults to false.
|
|
219
|
+
*/
|
|
220
|
+
export const queueDeployRequest = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
221
|
+
inputSchema: QueueDeployRequestInput,
|
|
222
|
+
outputSchema: QueueDeployRequestOutput,
|
|
223
|
+
errors: [Forbidden, NotFound],
|
|
224
|
+
}));
|
|
225
|
+
//# sourceMappingURL=queueDeployRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queueDeployRequest.js","sourceRoot":"","sources":["../../src/operations/queueDeployRequest.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,uBAAuB;AAClC,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,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACzC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;CAC7C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,oFAAoF;CAC3F,CAAC,CACH,CAAC;AAGJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAA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BAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC5E,WAAW,EAAE,uBAAuB;IACpC,YAAY,EAAE,wBAAwB;IACtC,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAU;CACvC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const ReassignRoleObjectsInput: Schema.Struct<{
|
|
3
|
+
readonly organization: Schema.String;
|
|
4
|
+
readonly database: Schema.String;
|
|
5
|
+
readonly branch: Schema.String;
|
|
6
|
+
readonly id: Schema.String;
|
|
7
|
+
readonly successor: Schema.String;
|
|
8
|
+
}>;
|
|
9
|
+
export type ReassignRoleObjectsInput = typeof ReassignRoleObjectsInput.Type;
|
|
10
|
+
export declare const ReassignRoleObjectsOutput: Schema.Void;
|
|
11
|
+
export type ReassignRoleObjectsOutput = typeof ReassignRoleObjectsOutput.Type;
|
|
12
|
+
/**
|
|
13
|
+
* Reassign objects owned by one role to another role
|
|
14
|
+
*
|
|
15
|
+
* @param organization - Organization name slug from `list_organizations`. Example: `acme`.
|
|
16
|
+
* @param database - Database name slug from `list_databases`. Example: `app-db`.
|
|
17
|
+
* @param branch - Branch name from `list_branches`. Example: `main`.
|
|
18
|
+
* @param id - The ID of the role
|
|
19
|
+
* @param successor - The role to reassign ownership to
|
|
20
|
+
*/
|
|
21
|
+
export declare const reassignRoleObjects: any;
|
|
22
|
+
//# sourceMappingURL=reassignRoleObjects.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reassignRoleObjects.d.ts","sourceRoot":"","sources":["../../src/operations/reassignRoleObjects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,wBAAwB;;;;;;EAYlC,CAAC;AACJ,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB,aACG,CAAC;AAC1C,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,KAI7B,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 ReassignRoleObjectsInput =
|
|
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
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
12
|
+
successor: Schema.String,
|
|
13
|
+
}).pipe(T.Http({
|
|
14
|
+
method: "POST",
|
|
15
|
+
path: "/organizations/{organization}/databases/{database}/branches/{branch}/roles/{id}/reassign",
|
|
16
|
+
}));
|
|
17
|
+
// Output Schema
|
|
18
|
+
export const ReassignRoleObjectsOutput =
|
|
19
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
20
|
+
// The operation
|
|
21
|
+
/**
|
|
22
|
+
* Reassign objects owned by one role to another role
|
|
23
|
+
*
|
|
24
|
+
* @param organization - Organization name slug from `list_organizations`. Example: `acme`.
|
|
25
|
+
* @param database - Database name slug from `list_databases`. Example: `app-db`.
|
|
26
|
+
* @param branch - Branch name from `list_branches`. Example: `main`.
|
|
27
|
+
* @param id - The ID of the role
|
|
28
|
+
* @param successor - The role to reassign ownership to
|
|
29
|
+
*/
|
|
30
|
+
export const reassignRoleObjects = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
31
|
+
inputSchema: ReassignRoleObjectsInput,
|
|
32
|
+
outputSchema: ReassignRoleObjectsOutput,
|
|
33
|
+
errors: [Forbidden, NotFound],
|
|
34
|
+
}));
|
|
35
|
+
//# sourceMappingURL=reassignRoleObjects.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reassignRoleObjects.js","sourceRoot":"","sources":["../../src/operations/reassignRoleObjects.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,wBAAwB;AACnC,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,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACzC,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACrC,SAAS,EAAE,MAAM,CAAC,MAAM;CACzB,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,0FAA0F;CACjG,CAAC,CACH,CAAC;AAGJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAG1C,gBAAgB;AAChB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC7E,WAAW,EAAE,wBAAwB;IACrC,YAAY,EAAE,yBAAyB;IACvC,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAU;CACvC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const RemoveOrganizationMemberInput: Schema.Struct<{
|
|
3
|
+
readonly organization: Schema.String;
|
|
4
|
+
readonly id: Schema.String;
|
|
5
|
+
readonly delete_passwords: Schema.optional<Schema.Boolean>;
|
|
6
|
+
readonly delete_service_tokens: Schema.optional<Schema.Boolean>;
|
|
7
|
+
}>;
|
|
8
|
+
export type RemoveOrganizationMemberInput = typeof RemoveOrganizationMemberInput.Type;
|
|
9
|
+
export declare const RemoveOrganizationMemberOutput: Schema.Void;
|
|
10
|
+
export type RemoveOrganizationMemberOutput = typeof RemoveOrganizationMemberOutput.Type;
|
|
11
|
+
/**
|
|
12
|
+
* Remove a member from an organization
|
|
13
|
+
*
|
|
14
|
+
* @param organization - The name of the organization
|
|
15
|
+
* @param id - The ID of the user
|
|
16
|
+
* @param delete_passwords - Whether to delete all passwords associated with the member. Only available when removing other members (not yourself).
|
|
17
|
+
* @param delete_service_tokens - Whether to delete all service tokens associated with the member. Only available when removing other members (not yourself).
|
|
18
|
+
*/
|
|
19
|
+
export declare const removeOrganizationMember: any;
|
|
20
|
+
//# sourceMappingURL=removeOrganizationMember.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeOrganizationMember.d.ts","sourceRoot":"","sources":["../../src/operations/removeOrganizationMember.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,6BAA6B;;;;;EAWvC,CAAC;AACJ,MAAM,MAAM,6BAA6B,GACvC,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAG5C,eAAO,MAAM,8BAA8B,aACF,CAAC;AAC1C,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB,KAMpC,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 RemoveOrganizationMemberInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
organization: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
delete_passwords: Schema.optional(Schema.Boolean),
|
|
11
|
+
delete_service_tokens: Schema.optional(Schema.Boolean),
|
|
12
|
+
}).pipe(T.Http({
|
|
13
|
+
method: "DELETE",
|
|
14
|
+
path: "/organizations/{organization}/members/{id}",
|
|
15
|
+
}));
|
|
16
|
+
// Output Schema
|
|
17
|
+
export const RemoveOrganizationMemberOutput =
|
|
18
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
19
|
+
// The operation
|
|
20
|
+
/**
|
|
21
|
+
* Remove a member from an organization
|
|
22
|
+
*
|
|
23
|
+
* @param organization - The name of the organization
|
|
24
|
+
* @param id - The ID of the user
|
|
25
|
+
* @param delete_passwords - Whether to delete all passwords associated with the member. Only available when removing other members (not yourself).
|
|
26
|
+
* @param delete_service_tokens - Whether to delete all service tokens associated with the member. Only available when removing other members (not yourself).
|
|
27
|
+
*/
|
|
28
|
+
export const removeOrganizationMember = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
29
|
+
inputSchema: RemoveOrganizationMemberInput,
|
|
30
|
+
outputSchema: RemoveOrganizationMemberOutput,
|
|
31
|
+
errors: [Forbidden, NotFound],
|
|
32
|
+
}));
|
|
33
|
+
//# sourceMappingURL=removeOrganizationMember.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeOrganizationMember.js","sourceRoot":"","sources":["../../src/operations/removeOrganizationMember.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,6BAA6B;AACxC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC/C,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACrC,gBAAgB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IACjD,qBAAqB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;CACvD,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,4CAA4C;CACnD,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B;AACzC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAI1C,gBAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC1E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,6BAA6B;IAC1C,YAAY,EAAE,8BAA8B;IAC5C,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAU;CACvC,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const RemoveOrganizationTeamMemberInput: Schema.Struct<{
|
|
3
|
+
readonly organization: Schema.String;
|
|
4
|
+
readonly team: Schema.String;
|
|
5
|
+
readonly id: Schema.String;
|
|
6
|
+
readonly delete_passwords: Schema.optional<Schema.Boolean>;
|
|
7
|
+
}>;
|
|
8
|
+
export type RemoveOrganizationTeamMemberInput = typeof RemoveOrganizationTeamMemberInput.Type;
|
|
9
|
+
export declare const RemoveOrganizationTeamMemberOutput: Schema.Void;
|
|
10
|
+
export type RemoveOrganizationTeamMemberOutput = typeof RemoveOrganizationTeamMemberOutput.Type;
|
|
11
|
+
/**
|
|
12
|
+
* Remove a member from a team
|
|
13
|
+
*
|
|
14
|
+
* @param organization - The name of the organization
|
|
15
|
+
* @param team - The slug of the team
|
|
16
|
+
* @param id - The ID of the team membership or the ID of the member to remove
|
|
17
|
+
* @param delete_passwords - Whether to delete the member's passwords created through this team
|
|
18
|
+
*/
|
|
19
|
+
export declare const removeOrganizationTeamMember: any;
|
|
20
|
+
//# sourceMappingURL=removeOrganizationTeamMember.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeOrganizationTeamMember.d.ts","sourceRoot":"","sources":["../../src/operations/removeOrganizationTeamMember.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAWxC,eAAO,MAAM,iCAAiC;;;;;EAW3C,CAAC;AACJ,MAAM,MAAM,iCAAiC,GAC3C,OAAO,iCAAiC,CAAC,IAAI,CAAC;AAGhD,eAAO,MAAM,kCAAkC,aACN,CAAC;AAC1C,MAAM,MAAM,kCAAkC,GAC5C,OAAO,kCAAkC,CAAC,IAAI,CAAC;AAGjD;;;;;;;GAOG;AACH,eAAO,MAAM,4BAA4B,KAKpC,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
import { BadRequest, Forbidden, NotFound, UnprocessableEntity, } from "../errors";
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const RemoveOrganizationTeamMemberInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
organization: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
team: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
11
|
+
delete_passwords: Schema.optional(Schema.Boolean),
|
|
12
|
+
}).pipe(T.Http({
|
|
13
|
+
method: "DELETE",
|
|
14
|
+
path: "/organizations/{organization}/teams/{team}/members/{id}",
|
|
15
|
+
}));
|
|
16
|
+
// Output Schema
|
|
17
|
+
export const RemoveOrganizationTeamMemberOutput =
|
|
18
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
19
|
+
// The operation
|
|
20
|
+
/**
|
|
21
|
+
* Remove a member from a team
|
|
22
|
+
*
|
|
23
|
+
* @param organization - The name of the organization
|
|
24
|
+
* @param team - The slug of the team
|
|
25
|
+
* @param id - The ID of the team membership or the ID of the member to remove
|
|
26
|
+
* @param delete_passwords - Whether to delete the member's passwords created through this team
|
|
27
|
+
*/
|
|
28
|
+
export const removeOrganizationTeamMember =
|
|
29
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
30
|
+
inputSchema: RemoveOrganizationTeamMemberInput,
|
|
31
|
+
outputSchema: RemoveOrganizationTeamMemberOutput,
|
|
32
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
|
|
33
|
+
}));
|
|
34
|
+
//# sourceMappingURL=removeOrganizationTeamMember.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeOrganizationTeamMember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
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const RenewPasswordInput: Schema.Struct<{
|
|
3
|
+
readonly organization: Schema.String;
|
|
4
|
+
readonly database: Schema.String;
|
|
5
|
+
readonly branch: Schema.String;
|
|
6
|
+
readonly id: Schema.String;
|
|
7
|
+
}>;
|
|
8
|
+
export type RenewPasswordInput = typeof RenewPasswordInput.Type;
|
|
9
|
+
export declare const RenewPasswordOutput: Schema.Struct<{
|
|
10
|
+
readonly id: Schema.String;
|
|
11
|
+
readonly name: Schema.String;
|
|
12
|
+
readonly role: Schema.Literals<readonly ["reader", "writer", "admin", "readwriter"]>;
|
|
13
|
+
readonly cidrs: Schema.NullOr<Schema.$Array<Schema.String>>;
|
|
14
|
+
readonly created_at: Schema.String;
|
|
15
|
+
readonly deleted_at: Schema.NullOr<Schema.String>;
|
|
16
|
+
readonly expires_at: Schema.NullOr<Schema.String>;
|
|
17
|
+
readonly last_used_at: Schema.NullOr<Schema.String>;
|
|
18
|
+
readonly expired: Schema.Boolean;
|
|
19
|
+
readonly direct_vtgate: Schema.Boolean;
|
|
20
|
+
readonly direct_vtgate_addresses: Schema.$Array<Schema.String>;
|
|
21
|
+
readonly ttl_seconds: Schema.NullOr<Schema.Number>;
|
|
22
|
+
readonly access_host_url: Schema.String;
|
|
23
|
+
readonly access_host_regional_url: Schema.String;
|
|
24
|
+
readonly access_host_regional_urls: Schema.$Array<Schema.String>;
|
|
25
|
+
readonly actor: Schema.Struct<{
|
|
26
|
+
readonly id: Schema.String;
|
|
27
|
+
readonly display_name: Schema.String;
|
|
28
|
+
readonly avatar_url: Schema.String;
|
|
29
|
+
}>;
|
|
30
|
+
readonly region: Schema.Struct<{
|
|
31
|
+
readonly id: Schema.String;
|
|
32
|
+
readonly provider: Schema.String;
|
|
33
|
+
readonly enabled: Schema.Boolean;
|
|
34
|
+
readonly public_ip_addresses: Schema.$Array<Schema.String>;
|
|
35
|
+
readonly display_name: Schema.String;
|
|
36
|
+
readonly location: Schema.String;
|
|
37
|
+
readonly slug: Schema.String;
|
|
38
|
+
readonly current_default: Schema.Boolean;
|
|
39
|
+
}>;
|
|
40
|
+
readonly username: Schema.String;
|
|
41
|
+
readonly plain_text: Schema.NullOr<Schema.Schema<string | import("effect/Redacted").Redacted<string>>>;
|
|
42
|
+
readonly replica: Schema.Boolean;
|
|
43
|
+
readonly renewable: Schema.Boolean;
|
|
44
|
+
readonly database_branch: Schema.Struct<{
|
|
45
|
+
readonly name: Schema.String;
|
|
46
|
+
readonly id: Schema.String;
|
|
47
|
+
readonly production: Schema.Boolean;
|
|
48
|
+
readonly mysql_edge_address: Schema.String;
|
|
49
|
+
readonly private_edge_connectivity: Schema.Boolean;
|
|
50
|
+
}>;
|
|
51
|
+
}>;
|
|
52
|
+
export type RenewPasswordOutput = typeof RenewPasswordOutput.Type;
|
|
53
|
+
/**
|
|
54
|
+
* Renew a password
|
|
55
|
+
*
|
|
56
|
+
* @param organization - The name of the organization the password belongs to
|
|
57
|
+
* @param database - The name of the database the password belongs to
|
|
58
|
+
* @param branch - The name of the branch the password belongs to
|
|
59
|
+
* @param id - The ID of the password
|
|
60
|
+
*/
|
|
61
|
+
export declare const renewPassword: any;
|
|
62
|
+
//# sourceMappingURL=renewPassword.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renewPassword.d.ts","sourceRoot":"","sources":["../../src/operations/renewPassword.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAOxC,eAAO,MAAM,kBAAkB;;;;;EAU9B,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0C9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,KAIvB,CAAC"}
|