@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,143 @@
|
|
|
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
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export const ListOauthTokensInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
organization: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
application_id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
page: Schema.optional(Schema.Number),
|
|
11
|
+
per_page: Schema.optional(Schema.Number),
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({
|
|
14
|
+
method: "GET",
|
|
15
|
+
path: "/organizations/{organization}/oauth-applications/{application_id}/tokens",
|
|
16
|
+
}),
|
|
17
|
+
);
|
|
18
|
+
export type ListOauthTokensInput = typeof ListOauthTokensInput.Type;
|
|
19
|
+
|
|
20
|
+
// Output Schema
|
|
21
|
+
export const ListOauthTokensOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22
|
+
current_page: Schema.Number,
|
|
23
|
+
next_page: Schema.NullOr(Schema.Number),
|
|
24
|
+
next_page_url: Schema.NullOr(Schema.String),
|
|
25
|
+
prev_page: Schema.NullOr(Schema.Number),
|
|
26
|
+
prev_page_url: Schema.NullOr(Schema.String),
|
|
27
|
+
data: Schema.Array(
|
|
28
|
+
Schema.Struct({
|
|
29
|
+
id: Schema.String,
|
|
30
|
+
name: Schema.String,
|
|
31
|
+
display_name: Schema.String,
|
|
32
|
+
token: Schema.String,
|
|
33
|
+
plain_text_refresh_token: Schema.String,
|
|
34
|
+
avatar_url: Schema.String,
|
|
35
|
+
created_at: Schema.String,
|
|
36
|
+
updated_at: Schema.String,
|
|
37
|
+
expires_at: Schema.String,
|
|
38
|
+
last_used_at: Schema.String,
|
|
39
|
+
actor_id: Schema.String,
|
|
40
|
+
actor_display_name: Schema.String,
|
|
41
|
+
actor_type: Schema.String,
|
|
42
|
+
service_token_accesses: Schema.Array(
|
|
43
|
+
Schema.Struct({
|
|
44
|
+
id: Schema.String,
|
|
45
|
+
access: Schema.String,
|
|
46
|
+
description: Schema.String,
|
|
47
|
+
resource_name: Schema.String,
|
|
48
|
+
resource_id: Schema.String,
|
|
49
|
+
resource_type: Schema.String,
|
|
50
|
+
resource: Schema.Struct({
|
|
51
|
+
id: Schema.String,
|
|
52
|
+
name: Schema.String,
|
|
53
|
+
created_at: Schema.String,
|
|
54
|
+
updated_at: Schema.String,
|
|
55
|
+
deleted_at: Schema.String,
|
|
56
|
+
}),
|
|
57
|
+
}),
|
|
58
|
+
),
|
|
59
|
+
oauth_accesses_by_resource: Schema.Struct({
|
|
60
|
+
database: Schema.Struct({
|
|
61
|
+
databases: Schema.Array(
|
|
62
|
+
Schema.Struct({
|
|
63
|
+
name: Schema.String,
|
|
64
|
+
id: Schema.String,
|
|
65
|
+
organization: Schema.String,
|
|
66
|
+
url: Schema.String,
|
|
67
|
+
}),
|
|
68
|
+
),
|
|
69
|
+
accesses: Schema.Array(
|
|
70
|
+
Schema.Struct({
|
|
71
|
+
name: Schema.String,
|
|
72
|
+
description: Schema.String,
|
|
73
|
+
}),
|
|
74
|
+
),
|
|
75
|
+
}),
|
|
76
|
+
organization: Schema.Struct({
|
|
77
|
+
organizations: Schema.Array(
|
|
78
|
+
Schema.Struct({
|
|
79
|
+
name: Schema.String,
|
|
80
|
+
id: Schema.String,
|
|
81
|
+
url: Schema.String,
|
|
82
|
+
}),
|
|
83
|
+
),
|
|
84
|
+
accesses: Schema.Array(
|
|
85
|
+
Schema.Struct({
|
|
86
|
+
name: Schema.String,
|
|
87
|
+
description: Schema.String,
|
|
88
|
+
}),
|
|
89
|
+
),
|
|
90
|
+
}),
|
|
91
|
+
branch: Schema.Struct({
|
|
92
|
+
branches: Schema.Array(
|
|
93
|
+
Schema.Struct({
|
|
94
|
+
name: Schema.String,
|
|
95
|
+
id: Schema.String,
|
|
96
|
+
database: Schema.String,
|
|
97
|
+
organization: Schema.String,
|
|
98
|
+
url: Schema.String,
|
|
99
|
+
}),
|
|
100
|
+
),
|
|
101
|
+
accesses: Schema.Array(
|
|
102
|
+
Schema.Struct({
|
|
103
|
+
name: Schema.String,
|
|
104
|
+
description: Schema.String,
|
|
105
|
+
}),
|
|
106
|
+
),
|
|
107
|
+
}),
|
|
108
|
+
user: Schema.Struct({
|
|
109
|
+
users: Schema.Array(
|
|
110
|
+
Schema.Struct({
|
|
111
|
+
name: Schema.String,
|
|
112
|
+
id: Schema.String,
|
|
113
|
+
}),
|
|
114
|
+
),
|
|
115
|
+
accesses: Schema.Array(
|
|
116
|
+
Schema.Struct({
|
|
117
|
+
name: Schema.String,
|
|
118
|
+
description: Schema.String,
|
|
119
|
+
}),
|
|
120
|
+
),
|
|
121
|
+
}),
|
|
122
|
+
}),
|
|
123
|
+
}),
|
|
124
|
+
),
|
|
125
|
+
});
|
|
126
|
+
export type ListOauthTokensOutput = typeof ListOauthTokensOutput.Type;
|
|
127
|
+
|
|
128
|
+
// The operation
|
|
129
|
+
/**
|
|
130
|
+
* List OAuth tokens
|
|
131
|
+
*
|
|
132
|
+
* List OAuth tokens created by an OAuth application
|
|
133
|
+
*
|
|
134
|
+
* @param organization - The name of the organization the OAuth application belongs to
|
|
135
|
+
* @param application_id - The ID of the OAuth application
|
|
136
|
+
* @param page - If provided, specifies the page offset of returned results
|
|
137
|
+
* @param per_page - If provided, specifies the number of returned results
|
|
138
|
+
*/
|
|
139
|
+
export const listOauthTokens = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
140
|
+
inputSchema: ListOauthTokensInput,
|
|
141
|
+
outputSchema: ListOauthTokensOutput,
|
|
142
|
+
errors: [Forbidden, NotFound] as const,
|
|
143
|
+
}));
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export const ListOrganizationMembersInput =
|
|
8
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
|
+
organization: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
q: Schema.optional(Schema.String),
|
|
11
|
+
page: Schema.optional(Schema.Number),
|
|
12
|
+
per_page: Schema.optional(Schema.Number),
|
|
13
|
+
}).pipe(
|
|
14
|
+
T.Http({ method: "GET", path: "/organizations/{organization}/members" }),
|
|
15
|
+
);
|
|
16
|
+
export type ListOrganizationMembersInput =
|
|
17
|
+
typeof ListOrganizationMembersInput.Type;
|
|
18
|
+
|
|
19
|
+
// Output Schema
|
|
20
|
+
export const ListOrganizationMembersOutput =
|
|
21
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22
|
+
current_page: Schema.Number,
|
|
23
|
+
next_page: Schema.NullOr(Schema.Number),
|
|
24
|
+
next_page_url: Schema.NullOr(Schema.String),
|
|
25
|
+
prev_page: Schema.NullOr(Schema.Number),
|
|
26
|
+
prev_page_url: Schema.NullOr(Schema.String),
|
|
27
|
+
data: Schema.Array(
|
|
28
|
+
Schema.Struct({
|
|
29
|
+
id: Schema.String,
|
|
30
|
+
user: Schema.Struct({
|
|
31
|
+
id: Schema.String,
|
|
32
|
+
display_name: Schema.String,
|
|
33
|
+
name: Schema.optional(Schema.NullOr(Schema.String)),
|
|
34
|
+
email: Schema.String,
|
|
35
|
+
avatar_url: Schema.String,
|
|
36
|
+
created_at: Schema.String,
|
|
37
|
+
updated_at: Schema.String,
|
|
38
|
+
two_factor_auth_configured: Schema.Boolean,
|
|
39
|
+
default_organization: Schema.optional(
|
|
40
|
+
Schema.Struct({
|
|
41
|
+
id: Schema.String,
|
|
42
|
+
name: Schema.String,
|
|
43
|
+
created_at: Schema.String,
|
|
44
|
+
updated_at: Schema.String,
|
|
45
|
+
deleted_at: Schema.String,
|
|
46
|
+
}),
|
|
47
|
+
),
|
|
48
|
+
sso: Schema.optional(Schema.Boolean),
|
|
49
|
+
managed: Schema.optional(Schema.Boolean),
|
|
50
|
+
directory_managed: Schema.optional(Schema.Boolean),
|
|
51
|
+
email_verified: Schema.optional(Schema.Boolean),
|
|
52
|
+
}),
|
|
53
|
+
role: Schema.Literals(["member", "admin"]),
|
|
54
|
+
created_at: Schema.String,
|
|
55
|
+
updated_at: Schema.String,
|
|
56
|
+
}),
|
|
57
|
+
),
|
|
58
|
+
});
|
|
59
|
+
export type ListOrganizationMembersOutput =
|
|
60
|
+
typeof ListOrganizationMembersOutput.Type;
|
|
61
|
+
|
|
62
|
+
// The operation
|
|
63
|
+
/**
|
|
64
|
+
* List organization members
|
|
65
|
+
*
|
|
66
|
+
* @param organization - The name of the organization
|
|
67
|
+
* @param q - Search term to filter members by name or email
|
|
68
|
+
* @param page - If provided, specifies the page offset of returned results
|
|
69
|
+
* @param per_page - If provided, specifies the number of returned results
|
|
70
|
+
*/
|
|
71
|
+
export const listOrganizationMembers = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
72
|
+
() => ({
|
|
73
|
+
inputSchema: ListOrganizationMembersInput,
|
|
74
|
+
outputSchema: ListOrganizationMembersOutput,
|
|
75
|
+
errors: [Forbidden, NotFound] as const,
|
|
76
|
+
}),
|
|
77
|
+
);
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
import {
|
|
5
|
+
BadRequest,
|
|
6
|
+
Forbidden,
|
|
7
|
+
NotFound,
|
|
8
|
+
UnprocessableEntity,
|
|
9
|
+
} from "../errors";
|
|
10
|
+
|
|
11
|
+
// Input Schema
|
|
12
|
+
export const ListOrganizationTeamMembersInput =
|
|
13
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
|
+
organization: Schema.String.pipe(T.PathParam()),
|
|
15
|
+
team: Schema.String.pipe(T.PathParam()),
|
|
16
|
+
}).pipe(
|
|
17
|
+
T.Http({
|
|
18
|
+
method: "GET",
|
|
19
|
+
path: "/organizations/{organization}/teams/{team}/members",
|
|
20
|
+
}),
|
|
21
|
+
);
|
|
22
|
+
export type ListOrganizationTeamMembersInput =
|
|
23
|
+
typeof ListOrganizationTeamMembersInput.Type;
|
|
24
|
+
|
|
25
|
+
// Output Schema
|
|
26
|
+
export const ListOrganizationTeamMembersOutput =
|
|
27
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
28
|
+
current_page: Schema.Number,
|
|
29
|
+
next_page: Schema.NullOr(Schema.Number),
|
|
30
|
+
next_page_url: Schema.NullOr(Schema.String),
|
|
31
|
+
prev_page: Schema.NullOr(Schema.Number),
|
|
32
|
+
prev_page_url: Schema.NullOr(Schema.String),
|
|
33
|
+
data: Schema.Array(
|
|
34
|
+
Schema.Struct({
|
|
35
|
+
id: Schema.String,
|
|
36
|
+
user: Schema.Struct({
|
|
37
|
+
id: Schema.String,
|
|
38
|
+
display_name: Schema.String,
|
|
39
|
+
name: Schema.String,
|
|
40
|
+
email: Schema.String,
|
|
41
|
+
avatar_url: Schema.String,
|
|
42
|
+
created_at: Schema.String,
|
|
43
|
+
updated_at: Schema.String,
|
|
44
|
+
two_factor_auth_configured: Schema.Boolean,
|
|
45
|
+
default_organization: Schema.Struct({
|
|
46
|
+
id: Schema.String,
|
|
47
|
+
name: Schema.String,
|
|
48
|
+
created_at: Schema.String,
|
|
49
|
+
updated_at: Schema.String,
|
|
50
|
+
deleted_at: Schema.String,
|
|
51
|
+
}),
|
|
52
|
+
sso: Schema.Boolean,
|
|
53
|
+
managed: Schema.Boolean,
|
|
54
|
+
directory_managed: Schema.Boolean,
|
|
55
|
+
email_verified: Schema.Boolean,
|
|
56
|
+
}),
|
|
57
|
+
actor: Schema.Struct({
|
|
58
|
+
id: Schema.String,
|
|
59
|
+
display_name: Schema.String,
|
|
60
|
+
avatar_url: Schema.String,
|
|
61
|
+
}),
|
|
62
|
+
created_at: Schema.String,
|
|
63
|
+
updated_at: Schema.String,
|
|
64
|
+
passwords: Schema.Array(
|
|
65
|
+
Schema.Struct({
|
|
66
|
+
id: Schema.String,
|
|
67
|
+
name: Schema.String,
|
|
68
|
+
role: Schema.Literals(["reader", "writer", "admin", "readwriter"]),
|
|
69
|
+
cidrs: Schema.Array(Schema.String),
|
|
70
|
+
created_at: Schema.String,
|
|
71
|
+
deleted_at: Schema.String,
|
|
72
|
+
expires_at: Schema.String,
|
|
73
|
+
last_used_at: Schema.String,
|
|
74
|
+
expired: Schema.Boolean,
|
|
75
|
+
direct_vtgate: Schema.Boolean,
|
|
76
|
+
direct_vtgate_addresses: Schema.Array(Schema.String),
|
|
77
|
+
ttl_seconds: Schema.Number,
|
|
78
|
+
access_host_url: Schema.String,
|
|
79
|
+
access_host_regional_url: Schema.String,
|
|
80
|
+
access_host_regional_urls: Schema.Array(Schema.String),
|
|
81
|
+
actor: Schema.Struct({
|
|
82
|
+
id: Schema.String,
|
|
83
|
+
display_name: Schema.String,
|
|
84
|
+
avatar_url: Schema.String,
|
|
85
|
+
}),
|
|
86
|
+
region: Schema.Struct({
|
|
87
|
+
id: Schema.String,
|
|
88
|
+
provider: Schema.String,
|
|
89
|
+
enabled: Schema.Boolean,
|
|
90
|
+
public_ip_addresses: Schema.Array(Schema.String),
|
|
91
|
+
display_name: Schema.String,
|
|
92
|
+
location: Schema.String,
|
|
93
|
+
slug: Schema.String,
|
|
94
|
+
current_default: Schema.Boolean,
|
|
95
|
+
}),
|
|
96
|
+
username: Schema.String,
|
|
97
|
+
plain_text: Schema.String,
|
|
98
|
+
replica: Schema.Boolean,
|
|
99
|
+
renewable: Schema.Boolean,
|
|
100
|
+
database_branch: Schema.Struct({
|
|
101
|
+
name: Schema.String,
|
|
102
|
+
id: Schema.String,
|
|
103
|
+
production: Schema.Boolean,
|
|
104
|
+
mysql_edge_address: Schema.String,
|
|
105
|
+
private_edge_connectivity: Schema.Boolean,
|
|
106
|
+
}),
|
|
107
|
+
}),
|
|
108
|
+
),
|
|
109
|
+
}),
|
|
110
|
+
),
|
|
111
|
+
});
|
|
112
|
+
export type ListOrganizationTeamMembersOutput =
|
|
113
|
+
typeof ListOrganizationTeamMembersOutput.Type;
|
|
114
|
+
|
|
115
|
+
// The operation
|
|
116
|
+
/**
|
|
117
|
+
* List team members
|
|
118
|
+
*
|
|
119
|
+
* @param organization - The name of the organization
|
|
120
|
+
* @param team - The slug of the team
|
|
121
|
+
*/
|
|
122
|
+
export const listOrganizationTeamMembers = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
123
|
+
() => ({
|
|
124
|
+
inputSchema: ListOrganizationTeamMembersInput,
|
|
125
|
+
outputSchema: ListOrganizationTeamMembersOutput,
|
|
126
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity] as const,
|
|
127
|
+
}),
|
|
128
|
+
);
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
import {
|
|
5
|
+
BadRequest,
|
|
6
|
+
Forbidden,
|
|
7
|
+
NotFound,
|
|
8
|
+
UnprocessableEntity,
|
|
9
|
+
} from "../errors";
|
|
10
|
+
|
|
11
|
+
// Input Schema
|
|
12
|
+
export const ListOrganizationTeamsInput =
|
|
13
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
|
+
organization: Schema.String.pipe(T.PathParam()),
|
|
15
|
+
q: Schema.optional(Schema.String),
|
|
16
|
+
}).pipe(
|
|
17
|
+
T.Http({ method: "GET", path: "/organizations/{organization}/teams" }),
|
|
18
|
+
);
|
|
19
|
+
export type ListOrganizationTeamsInput = typeof ListOrganizationTeamsInput.Type;
|
|
20
|
+
|
|
21
|
+
// Output Schema
|
|
22
|
+
export const ListOrganizationTeamsOutput =
|
|
23
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
24
|
+
current_page: Schema.Number,
|
|
25
|
+
next_page: Schema.NullOr(Schema.Number),
|
|
26
|
+
next_page_url: Schema.NullOr(Schema.String),
|
|
27
|
+
prev_page: Schema.NullOr(Schema.Number),
|
|
28
|
+
prev_page_url: Schema.NullOr(Schema.String),
|
|
29
|
+
data: Schema.Array(
|
|
30
|
+
Schema.Struct({
|
|
31
|
+
id: Schema.String,
|
|
32
|
+
display_name: Schema.String,
|
|
33
|
+
creator: Schema.Struct({
|
|
34
|
+
id: Schema.String,
|
|
35
|
+
display_name: Schema.String,
|
|
36
|
+
avatar_url: Schema.String,
|
|
37
|
+
}),
|
|
38
|
+
members: Schema.Array(
|
|
39
|
+
Schema.Struct({
|
|
40
|
+
id: Schema.String,
|
|
41
|
+
display_name: Schema.String,
|
|
42
|
+
name: Schema.String,
|
|
43
|
+
email: Schema.String,
|
|
44
|
+
avatar_url: Schema.String,
|
|
45
|
+
created_at: Schema.String,
|
|
46
|
+
updated_at: Schema.String,
|
|
47
|
+
two_factor_auth_configured: Schema.Boolean,
|
|
48
|
+
default_organization: Schema.Struct({
|
|
49
|
+
id: Schema.String,
|
|
50
|
+
name: Schema.String,
|
|
51
|
+
created_at: Schema.String,
|
|
52
|
+
updated_at: Schema.String,
|
|
53
|
+
deleted_at: Schema.String,
|
|
54
|
+
}),
|
|
55
|
+
sso: Schema.Boolean,
|
|
56
|
+
managed: Schema.Boolean,
|
|
57
|
+
directory_managed: Schema.Boolean,
|
|
58
|
+
email_verified: Schema.Boolean,
|
|
59
|
+
}),
|
|
60
|
+
),
|
|
61
|
+
databases: Schema.Array(
|
|
62
|
+
Schema.Struct({
|
|
63
|
+
id: Schema.String,
|
|
64
|
+
name: Schema.String,
|
|
65
|
+
url: Schema.String,
|
|
66
|
+
branches_url: Schema.String,
|
|
67
|
+
}),
|
|
68
|
+
),
|
|
69
|
+
name: Schema.String,
|
|
70
|
+
slug: Schema.String,
|
|
71
|
+
created_at: Schema.String,
|
|
72
|
+
updated_at: Schema.String,
|
|
73
|
+
description: Schema.String,
|
|
74
|
+
managed: Schema.Boolean,
|
|
75
|
+
}),
|
|
76
|
+
),
|
|
77
|
+
});
|
|
78
|
+
export type ListOrganizationTeamsOutput =
|
|
79
|
+
typeof ListOrganizationTeamsOutput.Type;
|
|
80
|
+
|
|
81
|
+
// The operation
|
|
82
|
+
/**
|
|
83
|
+
* List teams in an organization
|
|
84
|
+
*
|
|
85
|
+
* @param organization - The name of the organization
|
|
86
|
+
* @param q - Search term to filter teams by name
|
|
87
|
+
*/
|
|
88
|
+
export const listOrganizationTeams = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
89
|
+
() => ({
|
|
90
|
+
inputSchema: ListOrganizationTeamsInput,
|
|
91
|
+
outputSchema: ListOrganizationTeamsOutput,
|
|
92
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity] as const,
|
|
93
|
+
}),
|
|
94
|
+
);
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export const ListOrganizationsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
8
|
+
{
|
|
9
|
+
page: Schema.optional(Schema.Number),
|
|
10
|
+
per_page: Schema.optional(Schema.Number),
|
|
11
|
+
},
|
|
12
|
+
).pipe(T.Http({ method: "GET", path: "/organizations" }));
|
|
13
|
+
export type ListOrganizationsInput = typeof ListOrganizationsInput.Type;
|
|
14
|
+
|
|
15
|
+
// Output Schema
|
|
16
|
+
export const ListOrganizationsOutput =
|
|
17
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
18
|
+
current_page: Schema.Number,
|
|
19
|
+
next_page: Schema.NullOr(Schema.Number),
|
|
20
|
+
next_page_url: Schema.NullOr(Schema.String),
|
|
21
|
+
prev_page: Schema.NullOr(Schema.Number),
|
|
22
|
+
prev_page_url: Schema.NullOr(Schema.String),
|
|
23
|
+
data: Schema.Array(
|
|
24
|
+
Schema.Struct({
|
|
25
|
+
id: Schema.String,
|
|
26
|
+
name: Schema.String,
|
|
27
|
+
billing_email: Schema.String,
|
|
28
|
+
created_at: Schema.String,
|
|
29
|
+
updated_at: Schema.String,
|
|
30
|
+
plan: Schema.String,
|
|
31
|
+
valid_billing_info: Schema.Boolean,
|
|
32
|
+
sso: Schema.Boolean,
|
|
33
|
+
sso_directory: Schema.Boolean,
|
|
34
|
+
single_tenancy: Schema.Boolean,
|
|
35
|
+
managed_tenancy: Schema.Boolean,
|
|
36
|
+
has_past_due_invoices: Schema.optional(Schema.Boolean),
|
|
37
|
+
database_count: Schema.Number,
|
|
38
|
+
sso_portal_url: Schema.optional(Schema.String),
|
|
39
|
+
features: Schema.Record(Schema.String, Schema.Unknown),
|
|
40
|
+
idp_managed_roles: Schema.Boolean,
|
|
41
|
+
invoice_budget_amount: Schema.String,
|
|
42
|
+
keyspace_shard_limit: Schema.Number,
|
|
43
|
+
has_card: Schema.Boolean,
|
|
44
|
+
payment_info_required: Schema.Boolean,
|
|
45
|
+
}),
|
|
46
|
+
),
|
|
47
|
+
});
|
|
48
|
+
export type ListOrganizationsOutput = typeof ListOrganizationsOutput.Type;
|
|
49
|
+
|
|
50
|
+
// The operation
|
|
51
|
+
/**
|
|
52
|
+
* List organizations
|
|
53
|
+
*
|
|
54
|
+
* When using a service token, returns the list of organizations the service token has access to. When using an OAuth token, returns the list of organizations the user has access to.
|
|
55
|
+
*
|
|
56
|
+
* @param page - If provided, specifies the page offset of returned results
|
|
57
|
+
* @param per_page - If provided, specifies the number of returned results
|
|
58
|
+
*/
|
|
59
|
+
export const listOrganizations = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
60
|
+
inputSchema: ListOrganizationsInput,
|
|
61
|
+
outputSchema: ListOrganizationsOutput,
|
|
62
|
+
errors: [Forbidden, NotFound] as const,
|
|
63
|
+
}));
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export const ListParametersInput = /*@__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
|
+
}).pipe(
|
|
12
|
+
T.Http({
|
|
13
|
+
method: "GET",
|
|
14
|
+
path: "/organizations/{organization}/databases/{database}/branches/{branch}/parameters",
|
|
15
|
+
}),
|
|
16
|
+
);
|
|
17
|
+
export type ListParametersInput = typeof ListParametersInput.Type;
|
|
18
|
+
|
|
19
|
+
// Output Schema
|
|
20
|
+
export const ListParametersOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
21
|
+
Schema.Struct({
|
|
22
|
+
id: Schema.String,
|
|
23
|
+
name: Schema.String,
|
|
24
|
+
display_name: Schema.String,
|
|
25
|
+
namespace: Schema.Literals(["patroni", "pgconf", "pgbouncer"]),
|
|
26
|
+
category: Schema.String,
|
|
27
|
+
description: Schema.String,
|
|
28
|
+
extension: Schema.Boolean,
|
|
29
|
+
immutable: Schema.Boolean,
|
|
30
|
+
parameter_type: Schema.Literals([
|
|
31
|
+
"array",
|
|
32
|
+
"boolean",
|
|
33
|
+
"bytes",
|
|
34
|
+
"float",
|
|
35
|
+
"integer",
|
|
36
|
+
"seconds",
|
|
37
|
+
"select",
|
|
38
|
+
"string",
|
|
39
|
+
"time",
|
|
40
|
+
]),
|
|
41
|
+
default_value: Schema.String,
|
|
42
|
+
value: Schema.String,
|
|
43
|
+
required: Schema.Boolean,
|
|
44
|
+
created_at: Schema.String,
|
|
45
|
+
updated_at: Schema.String,
|
|
46
|
+
restart: Schema.Boolean,
|
|
47
|
+
max: Schema.Number,
|
|
48
|
+
min: Schema.Number,
|
|
49
|
+
step: Schema.Number,
|
|
50
|
+
url: Schema.String,
|
|
51
|
+
options: Schema.Array(Schema.String),
|
|
52
|
+
actor: Schema.Struct({
|
|
53
|
+
id: Schema.String,
|
|
54
|
+
display_name: Schema.String,
|
|
55
|
+
avatar_url: Schema.String,
|
|
56
|
+
}),
|
|
57
|
+
}),
|
|
58
|
+
);
|
|
59
|
+
export type ListParametersOutput = typeof ListParametersOutput.Type;
|
|
60
|
+
|
|
61
|
+
// The operation
|
|
62
|
+
/**
|
|
63
|
+
* List cluster parameters
|
|
64
|
+
*
|
|
65
|
+
* Returns the parameters for a branch. To update the parameters, use the "Upsert a change request" endpoint.
|
|
66
|
+
*
|
|
67
|
+
* @param organization - Organization name slug from `list_organizations`. Example: `acme`.
|
|
68
|
+
* @param database - Database name slug from `list_databases`. Example: `app-db`.
|
|
69
|
+
* @param branch - Branch name from `list_branches`. Example: `main`.
|
|
70
|
+
*/
|
|
71
|
+
export const listParameters = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
72
|
+
inputSchema: ListParametersInput,
|
|
73
|
+
outputSchema: ListParametersOutput,
|
|
74
|
+
errors: [Forbidden, NotFound] as const,
|
|
75
|
+
}));
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export const ListPasswordsInput = /*@__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
|
+
read_only_region_id: Schema.optional(Schema.String),
|
|
12
|
+
page: Schema.optional(Schema.Number),
|
|
13
|
+
per_page: Schema.optional(Schema.Number),
|
|
14
|
+
}).pipe(
|
|
15
|
+
T.Http({
|
|
16
|
+
method: "GET",
|
|
17
|
+
path: "/organizations/{organization}/databases/{database}/branches/{branch}/passwords",
|
|
18
|
+
}),
|
|
19
|
+
);
|
|
20
|
+
export type ListPasswordsInput = typeof ListPasswordsInput.Type;
|
|
21
|
+
|
|
22
|
+
// Output Schema
|
|
23
|
+
export const ListPasswordsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
24
|
+
current_page: Schema.Number,
|
|
25
|
+
next_page: Schema.NullOr(Schema.Number),
|
|
26
|
+
next_page_url: Schema.NullOr(Schema.String),
|
|
27
|
+
prev_page: Schema.NullOr(Schema.Number),
|
|
28
|
+
prev_page_url: Schema.NullOr(Schema.String),
|
|
29
|
+
data: Schema.Array(
|
|
30
|
+
Schema.Struct({
|
|
31
|
+
id: Schema.String,
|
|
32
|
+
name: Schema.String,
|
|
33
|
+
role: Schema.Literals(["reader", "writer", "admin", "readwriter"]),
|
|
34
|
+
cidrs: Schema.NullOr(Schema.Array(Schema.String)),
|
|
35
|
+
created_at: Schema.String,
|
|
36
|
+
deleted_at: Schema.NullOr(Schema.String),
|
|
37
|
+
expires_at: Schema.NullOr(Schema.String),
|
|
38
|
+
last_used_at: Schema.NullOr(Schema.String),
|
|
39
|
+
expired: Schema.Boolean,
|
|
40
|
+
direct_vtgate: Schema.Boolean,
|
|
41
|
+
direct_vtgate_addresses: Schema.Array(Schema.String),
|
|
42
|
+
ttl_seconds: Schema.NullOr(Schema.Number),
|
|
43
|
+
access_host_url: Schema.String,
|
|
44
|
+
access_host_regional_url: Schema.String,
|
|
45
|
+
access_host_regional_urls: Schema.Array(Schema.String),
|
|
46
|
+
actor: Schema.Struct({
|
|
47
|
+
id: Schema.String,
|
|
48
|
+
display_name: Schema.String,
|
|
49
|
+
avatar_url: Schema.String,
|
|
50
|
+
}),
|
|
51
|
+
region: Schema.Struct({
|
|
52
|
+
id: Schema.String,
|
|
53
|
+
provider: Schema.String,
|
|
54
|
+
enabled: Schema.Boolean,
|
|
55
|
+
public_ip_addresses: Schema.Array(Schema.String),
|
|
56
|
+
display_name: Schema.String,
|
|
57
|
+
location: Schema.String,
|
|
58
|
+
slug: Schema.String,
|
|
59
|
+
current_default: Schema.Boolean,
|
|
60
|
+
}),
|
|
61
|
+
username: Schema.String,
|
|
62
|
+
plain_text: Schema.NullOr(Schema.String),
|
|
63
|
+
replica: Schema.Boolean,
|
|
64
|
+
renewable: Schema.Boolean,
|
|
65
|
+
database_branch: Schema.Struct({
|
|
66
|
+
name: Schema.String,
|
|
67
|
+
id: Schema.String,
|
|
68
|
+
production: Schema.Boolean,
|
|
69
|
+
mysql_edge_address: Schema.String,
|
|
70
|
+
private_edge_connectivity: Schema.Boolean,
|
|
71
|
+
}),
|
|
72
|
+
}),
|
|
73
|
+
),
|
|
74
|
+
});
|
|
75
|
+
export type ListPasswordsOutput = typeof ListPasswordsOutput.Type;
|
|
76
|
+
|
|
77
|
+
// The operation
|
|
78
|
+
/**
|
|
79
|
+
* List passwords
|
|
80
|
+
*
|
|
81
|
+
* @param organization - The name of the organization the password belongs to
|
|
82
|
+
* @param database - The name of the database the password belongs to
|
|
83
|
+
* @param branch - The name of the branch the password belongs to
|
|
84
|
+
* @param read_only_region_id - A read-only region of the database branch. If present, the password results will be filtered to only those in the region
|
|
85
|
+
* @param page - If provided, specifies the page offset of returned results
|
|
86
|
+
* @param per_page - If provided, specifies the number of returned results
|
|
87
|
+
*/
|
|
88
|
+
export const listPasswords = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
89
|
+
inputSchema: ListPasswordsInput,
|
|
90
|
+
outputSchema: ListPasswordsOutput,
|
|
91
|
+
errors: [Forbidden, NotFound] as const,
|
|
92
|
+
}));
|