@distilled.cloud/planetscale 0.21.0 → 0.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +1 -1
- package/lib/client.js.map +1 -1
- package/lib/credentials.d.ts +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +1 -1
- package/lib/credentials.js.map +1 -1
- package/lib/operations/addOrganizationTeamMember.d.ts +33 -29
- package/lib/operations/addOrganizationTeamMember.d.ts.map +1 -1
- package/lib/operations/addOrganizationTeamMember.js +18 -16
- package/lib/operations/addOrganizationTeamMember.js.map +1 -1
- package/lib/operations/cancelDeployRequest.d.ts +71 -67
- package/lib/operations/cancelDeployRequest.d.ts.map +1 -1
- package/lib/operations/cancelDeployRequest.js +35 -33
- package/lib/operations/cancelDeployRequest.js.map +1 -1
- package/lib/operations/closeDeployRequest.d.ts +71 -67
- package/lib/operations/closeDeployRequest.d.ts.map +1 -1
- package/lib/operations/closeDeployRequest.js +35 -33
- package/lib/operations/closeDeployRequest.js.map +1 -1
- package/lib/operations/completeErroredDeploy.d.ts +71 -67
- package/lib/operations/completeErroredDeploy.d.ts.map +1 -1
- package/lib/operations/completeErroredDeploy.js +35 -33
- package/lib/operations/completeErroredDeploy.js.map +1 -1
- package/lib/operations/completeGatedDeployRequest.d.ts +71 -67
- package/lib/operations/completeGatedDeployRequest.d.ts.map +1 -1
- package/lib/operations/completeGatedDeployRequest.js +35 -33
- package/lib/operations/completeGatedDeployRequest.js.map +1 -1
- package/lib/operations/completeRevert.d.ts +71 -67
- package/lib/operations/completeRevert.d.ts.map +1 -1
- package/lib/operations/completeRevert.js +35 -33
- package/lib/operations/completeRevert.js.map +1 -1
- package/lib/operations/createBackup.d.ts +19 -19
- package/lib/operations/createBackup.d.ts.map +1 -1
- package/lib/operations/createBackup.js +10 -10
- package/lib/operations/createBackup.js.map +1 -1
- package/lib/operations/createBackupPolicy.d.ts +8 -8
- package/lib/operations/createBackupPolicy.js +4 -4
- package/lib/operations/createBackupPolicy.js.map +1 -1
- package/lib/operations/createBouncer.d.ts +4 -4
- package/lib/operations/createBouncer.js +2 -2
- package/lib/operations/createBouncer.js.map +1 -1
- package/lib/operations/createBranch.d.ts +11 -5
- package/lib/operations/createBranch.d.ts.map +1 -1
- package/lib/operations/createBranch.js +6 -3
- package/lib/operations/createBranch.js.map +1 -1
- package/lib/operations/createDatabase.d.ts +12 -8
- package/lib/operations/createDatabase.d.ts.map +1 -1
- package/lib/operations/createDatabase.js +6 -4
- package/lib/operations/createDatabase.js.map +1 -1
- package/lib/operations/createDatabasePostgresCidr.d.ts +2 -2
- package/lib/operations/createDatabasePostgresCidr.js +1 -1
- package/lib/operations/createDatabasePostgresCidr.js.map +1 -1
- package/lib/operations/createDeployRequest.d.ts +71 -67
- package/lib/operations/createDeployRequest.d.ts.map +1 -1
- package/lib/operations/createDeployRequest.js +35 -33
- package/lib/operations/createDeployRequest.js.map +1 -1
- package/lib/operations/createOauthToken.d.ts +14 -14
- package/lib/operations/createOauthToken.d.ts.map +1 -1
- package/lib/operations/createOauthToken.js +8 -8
- package/lib/operations/createOauthToken.js.map +1 -1
- package/lib/operations/createOrganizationTeam.d.ts +28 -16
- package/lib/operations/createOrganizationTeam.d.ts.map +1 -1
- package/lib/operations/createOrganizationTeam.js +14 -8
- package/lib/operations/createOrganizationTeam.js.map +1 -1
- package/lib/operations/createPassword.d.ts +9 -5
- package/lib/operations/createPassword.d.ts.map +1 -1
- package/lib/operations/createPassword.js +6 -4
- package/lib/operations/createPassword.js.map +1 -1
- package/lib/operations/createQueryPatternsReport.d.ts +2 -2
- package/lib/operations/createQueryPatternsReport.js +1 -1
- package/lib/operations/createQueryPatternsReport.js.map +1 -1
- package/lib/operations/createRole.d.ts +2 -0
- package/lib/operations/createRole.d.ts.map +1 -1
- package/lib/operations/createRole.js +1 -0
- package/lib/operations/createRole.js.map +1 -1
- package/lib/operations/createServiceToken.d.ts +14 -14
- package/lib/operations/createServiceToken.d.ts.map +1 -1
- package/lib/operations/createServiceToken.js +8 -8
- package/lib/operations/createServiceToken.js.map +1 -1
- package/lib/operations/createTrafficBudget.d.ts +14 -14
- package/lib/operations/createTrafficBudget.js +7 -7
- package/lib/operations/createTrafficBudget.js.map +1 -1
- package/lib/operations/createTrafficRule.d.ts +4 -4
- package/lib/operations/createTrafficRule.js +2 -2
- package/lib/operations/createTrafficRule.js.map +1 -1
- package/lib/operations/createWorkflow.d.ts +28 -28
- package/lib/operations/createWorkflow.js +14 -14
- package/lib/operations/createWorkflow.js.map +1 -1
- package/lib/operations/demoteBranch.d.ts +11 -5
- package/lib/operations/demoteBranch.d.ts.map +1 -1
- package/lib/operations/demoteBranch.js +6 -3
- package/lib/operations/demoteBranch.js.map +1 -1
- package/lib/operations/disableSafeMigrations.d.ts +11 -5
- package/lib/operations/disableSafeMigrations.d.ts.map +1 -1
- package/lib/operations/disableSafeMigrations.js +6 -3
- package/lib/operations/disableSafeMigrations.js.map +1 -1
- package/lib/operations/dismissSchemaRecommendation.d.ts +10 -10
- package/lib/operations/dismissSchemaRecommendation.d.ts.map +1 -1
- package/lib/operations/dismissSchemaRecommendation.js +6 -6
- package/lib/operations/dismissSchemaRecommendation.js.map +1 -1
- package/lib/operations/enableSafeMigrations.d.ts +11 -5
- package/lib/operations/enableSafeMigrations.d.ts.map +1 -1
- package/lib/operations/enableSafeMigrations.js +6 -3
- package/lib/operations/enableSafeMigrations.js.map +1 -1
- package/lib/operations/getBackup.d.ts +19 -19
- package/lib/operations/getBackup.d.ts.map +1 -1
- package/lib/operations/getBackup.js +10 -10
- package/lib/operations/getBackup.js.map +1 -1
- package/lib/operations/getBackupPolicy.d.ts +8 -8
- package/lib/operations/getBackupPolicy.js +4 -4
- package/lib/operations/getBackupPolicy.js.map +1 -1
- package/lib/operations/getBouncer.d.ts +4 -4
- package/lib/operations/getBouncer.js +2 -2
- package/lib/operations/getBouncer.js.map +1 -1
- package/lib/operations/getBranch.d.ts +11 -5
- package/lib/operations/getBranch.d.ts.map +1 -1
- package/lib/operations/getBranch.js +6 -3
- package/lib/operations/getBranch.js.map +1 -1
- package/lib/operations/getBranchChangeRequest.d.ts +2 -2
- package/lib/operations/getBranchChangeRequest.js +1 -1
- package/lib/operations/getBranchChangeRequest.js.map +1 -1
- package/lib/operations/getCurrentUser.d.ts +13 -13
- package/lib/operations/getCurrentUser.d.ts.map +1 -1
- package/lib/operations/getCurrentUser.js +7 -7
- package/lib/operations/getCurrentUser.js.map +1 -1
- package/lib/operations/getDatabase.d.ts +12 -8
- package/lib/operations/getDatabase.d.ts.map +1 -1
- package/lib/operations/getDatabase.js +6 -4
- package/lib/operations/getDatabase.js.map +1 -1
- package/lib/operations/getDatabasePostgresCidr.d.ts +2 -2
- package/lib/operations/getDatabasePostgresCidr.js +1 -1
- package/lib/operations/getDatabasePostgresCidr.js.map +1 -1
- package/lib/operations/getDatabaseThrottler.d.ts +2 -2
- package/lib/operations/getDatabaseThrottler.js +1 -1
- package/lib/operations/getDatabaseThrottler.js.map +1 -1
- package/lib/operations/getDefaultRole.d.ts +2 -0
- package/lib/operations/getDefaultRole.d.ts.map +1 -1
- package/lib/operations/getDefaultRole.js +1 -0
- package/lib/operations/getDefaultRole.js.map +1 -1
- package/lib/operations/getDeployQueue.d.ts +59 -53
- package/lib/operations/getDeployQueue.d.ts.map +1 -1
- package/lib/operations/getDeployQueue.js +29 -26
- package/lib/operations/getDeployQueue.js.map +1 -1
- package/lib/operations/getDeployRequest.d.ts +71 -67
- package/lib/operations/getDeployRequest.d.ts.map +1 -1
- package/lib/operations/getDeployRequest.js +35 -33
- package/lib/operations/getDeployRequest.js.map +1 -1
- package/lib/operations/getDeployRequestThrottler.d.ts +2 -2
- package/lib/operations/getDeployRequestThrottler.js +1 -1
- package/lib/operations/getDeployRequestThrottler.js.map +1 -1
- package/lib/operations/getDeployment.d.ts +57 -53
- package/lib/operations/getDeployment.d.ts.map +1 -1
- package/lib/operations/getDeployment.js +28 -26
- package/lib/operations/getDeployment.js.map +1 -1
- package/lib/operations/getInvoiceLineItems.d.ts +4 -2
- package/lib/operations/getInvoiceLineItems.d.ts.map +1 -1
- package/lib/operations/getInvoiceLineItems.js +2 -1
- package/lib/operations/getInvoiceLineItems.js.map +1 -1
- package/lib/operations/getMaintenanceSchedule.d.ts +10 -6
- package/lib/operations/getMaintenanceSchedule.d.ts.map +1 -1
- package/lib/operations/getMaintenanceSchedule.js +5 -3
- package/lib/operations/getMaintenanceSchedule.js.map +1 -1
- package/lib/operations/getOauthApplication.d.ts +2 -2
- package/lib/operations/getOauthApplication.js +1 -1
- package/lib/operations/getOauthApplication.js.map +1 -1
- package/lib/operations/getOauthToken.d.ts +14 -14
- package/lib/operations/getOauthToken.d.ts.map +1 -1
- package/lib/operations/getOauthToken.js +8 -8
- package/lib/operations/getOauthToken.js.map +1 -1
- package/lib/operations/getOrganization.d.ts +4 -4
- package/lib/operations/getOrganization.js +2 -2
- package/lib/operations/getOrganization.js.map +1 -1
- package/lib/operations/getOrganizationMembership.d.ts +13 -13
- package/lib/operations/getOrganizationMembership.d.ts.map +1 -1
- package/lib/operations/getOrganizationMembership.js +7 -7
- package/lib/operations/getOrganizationMembership.js.map +1 -1
- package/lib/operations/getOrganizationTeam.d.ts +28 -16
- package/lib/operations/getOrganizationTeam.d.ts.map +1 -1
- package/lib/operations/getOrganizationTeam.js +14 -8
- package/lib/operations/getOrganizationTeam.js.map +1 -1
- package/lib/operations/getOrganizationTeamMember.d.ts +33 -29
- package/lib/operations/getOrganizationTeamMember.d.ts.map +1 -1
- package/lib/operations/getOrganizationTeamMember.js +18 -16
- package/lib/operations/getOrganizationTeamMember.js.map +1 -1
- package/lib/operations/getPassword.d.ts +7 -3
- package/lib/operations/getPassword.d.ts.map +1 -1
- package/lib/operations/getPassword.js +4 -2
- package/lib/operations/getPassword.js.map +1 -1
- package/lib/operations/getQueryPatternsReportStatus.d.ts +2 -2
- package/lib/operations/getQueryPatternsReportStatus.js +1 -1
- package/lib/operations/getQueryPatternsReportStatus.js.map +1 -1
- package/lib/operations/getRole.d.ts +2 -0
- package/lib/operations/getRole.d.ts.map +1 -1
- package/lib/operations/getRole.js +1 -0
- package/lib/operations/getRole.js.map +1 -1
- package/lib/operations/getSchemaRecommendation.d.ts +10 -10
- package/lib/operations/getSchemaRecommendation.d.ts.map +1 -1
- package/lib/operations/getSchemaRecommendation.js +6 -6
- package/lib/operations/getSchemaRecommendation.js.map +1 -1
- package/lib/operations/getServiceToken.d.ts +14 -14
- package/lib/operations/getServiceToken.d.ts.map +1 -1
- package/lib/operations/getServiceToken.js +8 -8
- package/lib/operations/getServiceToken.js.map +1 -1
- package/lib/operations/getTrafficBudget.d.ts +14 -14
- package/lib/operations/getTrafficBudget.js +7 -7
- package/lib/operations/getTrafficBudget.js.map +1 -1
- package/lib/operations/getWorkflow.d.ts +28 -28
- package/lib/operations/getWorkflow.js +14 -14
- package/lib/operations/getWorkflow.js.map +1 -1
- package/lib/operations/lintBranchSchema.d.ts +2 -0
- package/lib/operations/lintBranchSchema.d.ts.map +1 -1
- package/lib/operations/lintBranchSchema.js +1 -0
- package/lib/operations/lintBranchSchema.js.map +1 -1
- package/lib/operations/listAuditLogs.d.ts +18 -16
- package/lib/operations/listAuditLogs.d.ts.map +1 -1
- package/lib/operations/listAuditLogs.js +9 -8
- package/lib/operations/listAuditLogs.js.map +1 -1
- package/lib/operations/listBackupPolicies.d.ts +18 -16
- package/lib/operations/listBackupPolicies.d.ts.map +1 -1
- package/lib/operations/listBackupPolicies.js +9 -8
- package/lib/operations/listBackupPolicies.js.map +1 -1
- package/lib/operations/listBackups.d.ts +21 -19
- package/lib/operations/listBackups.d.ts.map +1 -1
- package/lib/operations/listBackups.js +11 -10
- package/lib/operations/listBackups.js.map +1 -1
- package/lib/operations/listBouncerResizeRequests.d.ts +8 -6
- package/lib/operations/listBouncerResizeRequests.d.ts.map +1 -1
- package/lib/operations/listBouncerResizeRequests.js +4 -3
- package/lib/operations/listBouncerResizeRequests.js.map +1 -1
- package/lib/operations/listBouncers.d.ts +6 -4
- package/lib/operations/listBouncers.d.ts.map +1 -1
- package/lib/operations/listBouncers.js +3 -2
- package/lib/operations/listBouncers.js.map +1 -1
- package/lib/operations/listBranchBouncerResizeRequests.d.ts +8 -6
- package/lib/operations/listBranchBouncerResizeRequests.d.ts.map +1 -1
- package/lib/operations/listBranchBouncerResizeRequests.js +4 -3
- package/lib/operations/listBranchBouncerResizeRequests.js.map +1 -1
- package/lib/operations/listBranchChangeRequests.d.ts +4 -2
- package/lib/operations/listBranchChangeRequests.d.ts.map +1 -1
- package/lib/operations/listBranchChangeRequests.js +2 -1
- package/lib/operations/listBranchChangeRequests.js.map +1 -1
- package/lib/operations/listBranches.d.ts +13 -5
- package/lib/operations/listBranches.d.ts.map +1 -1
- package/lib/operations/listBranches.js +7 -3
- package/lib/operations/listBranches.js.map +1 -1
- package/lib/operations/listDatabasePostgresCidrs.d.ts +4 -2
- package/lib/operations/listDatabasePostgresCidrs.d.ts.map +1 -1
- package/lib/operations/listDatabasePostgresCidrs.js +2 -1
- package/lib/operations/listDatabasePostgresCidrs.js.map +1 -1
- package/lib/operations/listDatabaseRegions.d.ts +6 -0
- package/lib/operations/listDatabaseRegions.d.ts.map +1 -1
- package/lib/operations/listDatabaseRegions.js +3 -0
- package/lib/operations/listDatabaseRegions.js.map +1 -1
- package/lib/operations/listDatabases.d.ts +14 -8
- package/lib/operations/listDatabases.d.ts.map +1 -1
- package/lib/operations/listDatabases.js +7 -4
- package/lib/operations/listDatabases.js.map +1 -1
- package/lib/operations/listDeployOperations.d.ts +16 -14
- package/lib/operations/listDeployOperations.d.ts.map +1 -1
- package/lib/operations/listDeployOperations.js +8 -7
- package/lib/operations/listDeployOperations.js.map +1 -1
- package/lib/operations/listDeployRequestReviews.d.ts +2 -0
- package/lib/operations/listDeployRequestReviews.d.ts.map +1 -1
- package/lib/operations/listDeployRequestReviews.js +1 -0
- package/lib/operations/listDeployRequestReviews.js.map +1 -1
- package/lib/operations/listDeployRequests.d.ts +73 -67
- package/lib/operations/listDeployRequests.d.ts.map +1 -1
- package/lib/operations/listDeployRequests.js +36 -33
- package/lib/operations/listDeployRequests.js.map +1 -1
- package/lib/operations/listGeneratedQueryPatternsReports.d.ts +8 -6
- package/lib/operations/listGeneratedQueryPatternsReports.d.ts.map +1 -1
- package/lib/operations/listGeneratedQueryPatternsReports.js +4 -3
- package/lib/operations/listGeneratedQueryPatternsReports.js.map +1 -1
- package/lib/operations/listInvoices.d.ts +2 -0
- package/lib/operations/listInvoices.d.ts.map +1 -1
- package/lib/operations/listInvoices.js +1 -0
- package/lib/operations/listInvoices.js.map +1 -1
- package/lib/operations/listKeyspaces.d.ts +2 -0
- package/lib/operations/listKeyspaces.d.ts.map +1 -1
- package/lib/operations/listKeyspaces.js +1 -0
- package/lib/operations/listKeyspaces.js.map +1 -1
- package/lib/operations/listMaintenanceSchedules.d.ts +20 -14
- package/lib/operations/listMaintenanceSchedules.d.ts.map +1 -1
- package/lib/operations/listMaintenanceSchedules.js +10 -7
- package/lib/operations/listMaintenanceSchedules.js.map +1 -1
- package/lib/operations/listMaintenanceWindows.d.ts +14 -12
- package/lib/operations/listMaintenanceWindows.d.ts.map +1 -1
- package/lib/operations/listMaintenanceWindows.js +7 -6
- package/lib/operations/listMaintenanceWindows.js.map +1 -1
- package/lib/operations/listOauthApplications.d.ts +4 -2
- package/lib/operations/listOauthApplications.d.ts.map +1 -1
- package/lib/operations/listOauthApplications.js +2 -1
- package/lib/operations/listOauthApplications.js.map +1 -1
- package/lib/operations/listOauthTokens.d.ts +16 -14
- package/lib/operations/listOauthTokens.d.ts.map +1 -1
- package/lib/operations/listOauthTokens.js +9 -8
- package/lib/operations/listOauthTokens.js.map +1 -1
- package/lib/operations/listOrganizationMembers.d.ts +15 -13
- package/lib/operations/listOrganizationMembers.d.ts.map +1 -1
- package/lib/operations/listOrganizationMembers.js +8 -7
- package/lib/operations/listOrganizationMembers.js.map +1 -1
- package/lib/operations/listOrganizationTeamMembers.d.ts +35 -29
- package/lib/operations/listOrganizationTeamMembers.d.ts.map +1 -1
- package/lib/operations/listOrganizationTeamMembers.js +19 -16
- package/lib/operations/listOrganizationTeamMembers.js.map +1 -1
- package/lib/operations/listOrganizationTeams.d.ts +30 -16
- package/lib/operations/listOrganizationTeams.d.ts.map +1 -1
- package/lib/operations/listOrganizationTeams.js +15 -8
- package/lib/operations/listOrganizationTeams.js.map +1 -1
- package/lib/operations/listOrganizations.d.ts +6 -4
- package/lib/operations/listOrganizations.d.ts.map +1 -1
- package/lib/operations/listOrganizations.js +3 -2
- package/lib/operations/listOrganizations.js.map +1 -1
- package/lib/operations/listPasswords.d.ts +9 -3
- package/lib/operations/listPasswords.d.ts.map +1 -1
- package/lib/operations/listPasswords.js +5 -2
- package/lib/operations/listPasswords.js.map +1 -1
- package/lib/operations/listPublicRegions.d.ts +2 -0
- package/lib/operations/listPublicRegions.d.ts.map +1 -1
- package/lib/operations/listPublicRegions.js +1 -0
- package/lib/operations/listPublicRegions.js.map +1 -1
- package/lib/operations/listReadOnlyRegions.d.ts +8 -2
- package/lib/operations/listReadOnlyRegions.d.ts.map +1 -1
- package/lib/operations/listReadOnlyRegions.js +4 -1
- package/lib/operations/listReadOnlyRegions.js.map +1 -1
- package/lib/operations/listRegionsForOrganization.d.ts +6 -0
- package/lib/operations/listRegionsForOrganization.d.ts.map +1 -1
- package/lib/operations/listRegionsForOrganization.js +3 -0
- package/lib/operations/listRegionsForOrganization.js.map +1 -1
- package/lib/operations/listRoles.d.ts +4 -0
- package/lib/operations/listRoles.d.ts.map +1 -1
- package/lib/operations/listRoles.js +2 -0
- package/lib/operations/listRoles.js.map +1 -1
- package/lib/operations/listSchemaRecommendations.d.ts +12 -10
- package/lib/operations/listSchemaRecommendations.d.ts.map +1 -1
- package/lib/operations/listSchemaRecommendations.js +7 -6
- package/lib/operations/listSchemaRecommendations.js.map +1 -1
- package/lib/operations/listServiceTokens.d.ts +16 -14
- package/lib/operations/listServiceTokens.d.ts.map +1 -1
- package/lib/operations/listServiceTokens.js +9 -8
- package/lib/operations/listServiceTokens.js.map +1 -1
- package/lib/operations/listTrafficBudgets.d.ts +24 -22
- package/lib/operations/listTrafficBudgets.d.ts.map +1 -1
- package/lib/operations/listTrafficBudgets.js +12 -11
- package/lib/operations/listTrafficBudgets.js.map +1 -1
- package/lib/operations/listWebhooks.d.ts +2 -0
- package/lib/operations/listWebhooks.d.ts.map +1 -1
- package/lib/operations/listWebhooks.js +1 -0
- package/lib/operations/listWebhooks.js.map +1 -1
- package/lib/operations/listWorkflows.d.ts +30 -28
- package/lib/operations/listWorkflows.d.ts.map +1 -1
- package/lib/operations/listWorkflows.js +15 -14
- package/lib/operations/listWorkflows.js.map +1 -1
- package/lib/operations/promoteBranch.d.ts +11 -5
- package/lib/operations/promoteBranch.d.ts.map +1 -1
- package/lib/operations/promoteBranch.js +6 -3
- package/lib/operations/promoteBranch.js.map +1 -1
- package/lib/operations/queueDeployRequest.d.ts +71 -67
- package/lib/operations/queueDeployRequest.d.ts.map +1 -1
- package/lib/operations/queueDeployRequest.js +35 -33
- package/lib/operations/queueDeployRequest.js.map +1 -1
- package/lib/operations/renewPassword.d.ts +9 -5
- package/lib/operations/renewPassword.d.ts.map +1 -1
- package/lib/operations/renewPassword.js +6 -4
- package/lib/operations/renewPassword.js.map +1 -1
- package/lib/operations/renewRole.d.ts +2 -0
- package/lib/operations/renewRole.d.ts.map +1 -1
- package/lib/operations/renewRole.js +1 -0
- package/lib/operations/renewRole.js.map +1 -1
- package/lib/operations/resetDefaultRole.d.ts +2 -0
- package/lib/operations/resetDefaultRole.d.ts.map +1 -1
- package/lib/operations/resetDefaultRole.js +1 -0
- package/lib/operations/resetDefaultRole.js.map +1 -1
- package/lib/operations/resetRole.d.ts +2 -0
- package/lib/operations/resetRole.d.ts.map +1 -1
- package/lib/operations/resetRole.js +1 -0
- package/lib/operations/resetRole.js.map +1 -1
- package/lib/operations/skipRevertPeriod.d.ts +71 -67
- package/lib/operations/skipRevertPeriod.d.ts.map +1 -1
- package/lib/operations/skipRevertPeriod.js +35 -33
- package/lib/operations/skipRevertPeriod.js.map +1 -1
- package/lib/operations/updateAutoApply.d.ts +71 -67
- package/lib/operations/updateAutoApply.d.ts.map +1 -1
- package/lib/operations/updateAutoApply.js +35 -33
- package/lib/operations/updateAutoApply.js.map +1 -1
- package/lib/operations/updateAutoDeleteBranch.d.ts +71 -67
- package/lib/operations/updateAutoDeleteBranch.d.ts.map +1 -1
- package/lib/operations/updateAutoDeleteBranch.js +35 -33
- package/lib/operations/updateAutoDeleteBranch.js.map +1 -1
- package/lib/operations/updateBackup.d.ts +19 -19
- package/lib/operations/updateBackup.d.ts.map +1 -1
- package/lib/operations/updateBackup.js +10 -10
- package/lib/operations/updateBackup.js.map +1 -1
- package/lib/operations/updateBackupPolicy.d.ts +8 -8
- package/lib/operations/updateBackupPolicy.js +4 -4
- package/lib/operations/updateBackupPolicy.js.map +1 -1
- package/lib/operations/updateBouncerResizeRequest.d.ts +6 -6
- package/lib/operations/updateBouncerResizeRequest.js +3 -3
- package/lib/operations/updateBouncerResizeRequest.js.map +1 -1
- package/lib/operations/updateBranch.d.ts +11 -5
- package/lib/operations/updateBranch.d.ts.map +1 -1
- package/lib/operations/updateBranch.js +6 -3
- package/lib/operations/updateBranch.js.map +1 -1
- package/lib/operations/updateBranchChangeRequest.d.ts +2 -2
- package/lib/operations/updateBranchChangeRequest.js +1 -1
- package/lib/operations/updateBranchChangeRequest.js.map +1 -1
- package/lib/operations/updateDatabasePostgresCidr.d.ts +2 -2
- package/lib/operations/updateDatabasePostgresCidr.js +1 -1
- package/lib/operations/updateDatabasePostgresCidr.js.map +1 -1
- package/lib/operations/updateDatabaseSettings.d.ts +12 -8
- package/lib/operations/updateDatabaseSettings.d.ts.map +1 -1
- package/lib/operations/updateDatabaseSettings.js +6 -4
- package/lib/operations/updateDatabaseSettings.js.map +1 -1
- package/lib/operations/updateDatabaseThrottler.d.ts +2 -2
- package/lib/operations/updateDatabaseThrottler.js +1 -1
- package/lib/operations/updateDatabaseThrottler.js.map +1 -1
- package/lib/operations/updateDeployRequestThrottler.d.ts +2 -2
- package/lib/operations/updateDeployRequestThrottler.js +1 -1
- package/lib/operations/updateDeployRequestThrottler.js.map +1 -1
- package/lib/operations/updateOrganization.d.ts +4 -4
- package/lib/operations/updateOrganization.js +2 -2
- package/lib/operations/updateOrganization.js.map +1 -1
- package/lib/operations/updateOrganizationMembership.d.ts +13 -13
- package/lib/operations/updateOrganizationMembership.d.ts.map +1 -1
- package/lib/operations/updateOrganizationMembership.js +7 -7
- package/lib/operations/updateOrganizationMembership.js.map +1 -1
- package/lib/operations/updateOrganizationTeam.d.ts +28 -16
- package/lib/operations/updateOrganizationTeam.d.ts.map +1 -1
- package/lib/operations/updateOrganizationTeam.js +14 -8
- package/lib/operations/updateOrganizationTeam.js.map +1 -1
- package/lib/operations/updatePassword.d.ts +7 -3
- package/lib/operations/updatePassword.d.ts.map +1 -1
- package/lib/operations/updatePassword.js +4 -2
- package/lib/operations/updatePassword.js.map +1 -1
- package/lib/operations/updateRole.d.ts +2 -0
- package/lib/operations/updateRole.d.ts.map +1 -1
- package/lib/operations/updateRole.js +1 -0
- package/lib/operations/updateRole.js.map +1 -1
- package/lib/operations/updateTrafficBudget.d.ts +14 -14
- package/lib/operations/updateTrafficBudget.js +7 -7
- package/lib/operations/updateTrafficBudget.js.map +1 -1
- package/lib/operations/verifyWorkflow.d.ts +28 -28
- package/lib/operations/verifyWorkflow.js +14 -14
- package/lib/operations/verifyWorkflow.js.map +1 -1
- package/lib/operations/workflowCancel.d.ts +28 -28
- package/lib/operations/workflowCancel.js +14 -14
- package/lib/operations/workflowCancel.js.map +1 -1
- package/lib/operations/workflowComplete.d.ts +28 -28
- package/lib/operations/workflowComplete.js +14 -14
- package/lib/operations/workflowComplete.js.map +1 -1
- package/lib/operations/workflowCutover.d.ts +28 -28
- package/lib/operations/workflowCutover.js +14 -14
- package/lib/operations/workflowCutover.js.map +1 -1
- package/lib/operations/workflowRetry.d.ts +28 -28
- package/lib/operations/workflowRetry.js +14 -14
- package/lib/operations/workflowRetry.js.map +1 -1
- package/lib/operations/workflowReverseCutover.d.ts +28 -28
- package/lib/operations/workflowReverseCutover.js +14 -14
- package/lib/operations/workflowReverseCutover.js.map +1 -1
- package/lib/operations/workflowReverseTraffic.d.ts +28 -28
- package/lib/operations/workflowReverseTraffic.js +14 -14
- package/lib/operations/workflowReverseTraffic.js.map +1 -1
- package/lib/operations/workflowSwitchPrimaries.d.ts +28 -28
- package/lib/operations/workflowSwitchPrimaries.js +14 -14
- package/lib/operations/workflowSwitchPrimaries.js.map +1 -1
- package/lib/operations/workflowSwitchReplicas.d.ts +28 -28
- package/lib/operations/workflowSwitchReplicas.js +14 -14
- package/lib/operations/workflowSwitchReplicas.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1 -1
- package/src/credentials.ts +2 -2
- package/src/operations/addOrganizationTeamMember.ts +31 -23
- package/src/operations/cancelDeployRequest.ts +72 -48
- package/src/operations/closeDeployRequest.ts +72 -48
- package/src/operations/completeErroredDeploy.ts +72 -48
- package/src/operations/completeGatedDeployRequest.ts +72 -48
- package/src/operations/completeRevert.ts +72 -48
- package/src/operations/createBackup.ts +47 -35
- package/src/operations/createBackupPolicy.ts +4 -4
- package/src/operations/createBouncer.ts +2 -2
- package/src/operations/createBranch.ts +11 -6
- package/src/operations/createDatabase.ts +6 -4
- package/src/operations/createDatabasePostgresCidr.ts +1 -1
- package/src/operations/createDeployRequest.ts +72 -48
- package/src/operations/createOauthToken.ts +84 -80
- package/src/operations/createOrganizationTeam.ts +24 -12
- package/src/operations/createPassword.ts +11 -7
- package/src/operations/createQueryPatternsReport.ts +1 -1
- package/src/operations/createRole.ts +1 -0
- package/src/operations/createServiceToken.ts +84 -80
- package/src/operations/createTrafficBudget.ts +7 -7
- package/src/operations/createTrafficRule.ts +2 -2
- package/src/operations/createWorkflow.ts +14 -14
- package/src/operations/demoteBranch.ts +11 -6
- package/src/operations/disableSafeMigrations.ts +11 -6
- package/src/operations/dismissSchemaRecommendation.ts +16 -12
- package/src/operations/enableSafeMigrations.ts +11 -6
- package/src/operations/getBackup.ts +47 -35
- package/src/operations/getBackupPolicy.ts +4 -4
- package/src/operations/getBouncer.ts +2 -2
- package/src/operations/getBranch.ts +11 -6
- package/src/operations/getBranchChangeRequest.ts +1 -1
- package/src/operations/getCurrentUser.ts +13 -11
- package/src/operations/getDatabase.ts +6 -4
- package/src/operations/getDatabasePostgresCidr.ts +1 -1
- package/src/operations/getDatabaseThrottler.ts +1 -1
- package/src/operations/getDefaultRole.ts +1 -0
- package/src/operations/getDeployQueue.ts +52 -35
- package/src/operations/getDeployRequest.ts +72 -48
- package/src/operations/getDeployRequestThrottler.ts +1 -1
- package/src/operations/getDeployment.ts +51 -35
- package/src/operations/getInvoiceLineItems.ts +2 -1
- package/src/operations/getMaintenanceSchedule.ts +5 -3
- package/src/operations/getOauthApplication.ts +1 -1
- package/src/operations/getOauthToken.ts +84 -80
- package/src/operations/getOrganization.ts +2 -2
- package/src/operations/getOrganizationMembership.ts +13 -11
- package/src/operations/getOrganizationTeam.ts +24 -12
- package/src/operations/getOrganizationTeamMember.ts +31 -23
- package/src/operations/getPassword.ts +9 -5
- package/src/operations/getQueryPatternsReportStatus.ts +1 -1
- package/src/operations/getRole.ts +1 -0
- package/src/operations/getSchemaRecommendation.ts +16 -12
- package/src/operations/getServiceToken.ts +84 -80
- package/src/operations/getTrafficBudget.ts +7 -7
- package/src/operations/getWorkflow.ts +14 -14
- package/src/operations/lintBranchSchema.ts +1 -0
- package/src/operations/listAuditLogs.ts +9 -8
- package/src/operations/listBackupPolicies.ts +9 -8
- package/src/operations/listBackups.ts +48 -35
- package/src/operations/listBouncerResizeRequests.ts +4 -3
- package/src/operations/listBouncers.ts +3 -2
- package/src/operations/listBranchBouncerResizeRequests.ts +4 -3
- package/src/operations/listBranchChangeRequests.ts +2 -1
- package/src/operations/listBranches.ts +12 -6
- package/src/operations/listDatabasePostgresCidrs.ts +2 -1
- package/src/operations/listDatabaseRegions.ts +3 -0
- package/src/operations/listDatabases.ts +7 -4
- package/src/operations/listDeployOperations.ts +8 -7
- package/src/operations/listDeployRequestReviews.ts +1 -0
- package/src/operations/listDeployRequests.ts +74 -50
- package/src/operations/listGeneratedQueryPatternsReports.ts +4 -3
- package/src/operations/listInvoices.ts +1 -0
- package/src/operations/listKeyspaces.ts +1 -0
- package/src/operations/listMaintenanceSchedules.ts +10 -7
- package/src/operations/listMaintenanceWindows.ts +7 -6
- package/src/operations/listOauthApplications.ts +2 -1
- package/src/operations/listOauthTokens.ts +85 -80
- package/src/operations/listOrganizationMembers.ts +14 -11
- package/src/operations/listOrganizationTeamMembers.ts +32 -23
- package/src/operations/listOrganizationTeams.ts +25 -12
- package/src/operations/listOrganizations.ts +3 -2
- package/src/operations/listPasswords.ts +10 -5
- package/src/operations/listPublicRegions.ts +1 -0
- package/src/operations/listReadOnlyRegions.ts +4 -1
- package/src/operations/listRegionsForOrganization.ts +3 -0
- package/src/operations/listRoles.ts +2 -0
- package/src/operations/listSchemaRecommendations.ts +17 -12
- package/src/operations/listServiceTokens.ts +85 -80
- package/src/operations/listTrafficBudgets.ts +12 -11
- package/src/operations/listWebhooks.ts +1 -0
- package/src/operations/listWorkflows.ts +15 -14
- package/src/operations/promoteBranch.ts +11 -6
- package/src/operations/queueDeployRequest.ts +72 -48
- package/src/operations/renewPassword.ts +11 -7
- package/src/operations/renewRole.ts +1 -0
- package/src/operations/resetDefaultRole.ts +1 -0
- package/src/operations/resetRole.ts +1 -0
- package/src/operations/skipRevertPeriod.ts +72 -48
- package/src/operations/updateAutoApply.ts +72 -48
- package/src/operations/updateAutoDeleteBranch.ts +72 -48
- package/src/operations/updateBackup.ts +47 -35
- package/src/operations/updateBackupPolicy.ts +4 -4
- package/src/operations/updateBouncerResizeRequest.ts +3 -3
- package/src/operations/updateBranch.ts +11 -6
- package/src/operations/updateBranchChangeRequest.ts +1 -1
- package/src/operations/updateDatabasePostgresCidr.ts +1 -1
- package/src/operations/updateDatabaseSettings.ts +6 -4
- package/src/operations/updateDatabaseThrottler.ts +1 -1
- package/src/operations/updateDeployRequestThrottler.ts +1 -1
- package/src/operations/updateOrganization.ts +2 -2
- package/src/operations/updateOrganizationMembership.ts +13 -11
- package/src/operations/updateOrganizationTeam.ts +24 -12
- package/src/operations/updatePassword.ts +9 -5
- package/src/operations/updateRole.ts +1 -0
- package/src/operations/updateTrafficBudget.ts +7 -7
- package/src/operations/verifyWorkflow.ts +14 -14
- package/src/operations/workflowCancel.ts +14 -14
- package/src/operations/workflowComplete.ts +14 -14
- package/src/operations/workflowCutover.ts +14 -14
- package/src/operations/workflowRetry.ts +14 -14
- package/src/operations/workflowReverseCutover.ts +14 -14
- package/src/operations/workflowReverseTraffic.ts +14 -14
- package/src/operations/workflowSwitchPrimaries.ts +14 -14
- package/src/operations/workflowSwitchReplicas.ts +14 -14
|
@@ -31,20 +31,28 @@ export const CreateDeployRequestOutput =
|
|
|
31
31
|
display_name: Schema.String,
|
|
32
32
|
avatar_url: Schema.String,
|
|
33
33
|
}),
|
|
34
|
-
closed_by: Schema.
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
closed_by: Schema.optional(
|
|
35
|
+
Schema.NullOr(
|
|
36
|
+
Schema.Struct({
|
|
37
|
+
id: Schema.String,
|
|
38
|
+
display_name: Schema.String,
|
|
39
|
+
avatar_url: Schema.String,
|
|
40
|
+
}),
|
|
41
|
+
),
|
|
42
|
+
),
|
|
39
43
|
branch: Schema.String,
|
|
40
44
|
branch_id: Schema.String,
|
|
41
45
|
branch_deleted: Schema.Boolean,
|
|
42
|
-
branch_deleted_by: Schema.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
branch_deleted_by: Schema.optional(
|
|
47
|
+
Schema.NullOr(
|
|
48
|
+
Schema.Struct({
|
|
49
|
+
id: Schema.String,
|
|
50
|
+
display_name: Schema.String,
|
|
51
|
+
avatar_url: Schema.String,
|
|
52
|
+
}),
|
|
53
|
+
),
|
|
54
|
+
),
|
|
55
|
+
branch_deleted_at: Schema.NullOr(Schema.String),
|
|
48
56
|
into_branch: Schema.String,
|
|
49
57
|
into_branch_sharded: Schema.Boolean,
|
|
50
58
|
into_branch_shard_count: Schema.Number,
|
|
@@ -77,13 +85,13 @@ export const CreateDeployRequestOutput =
|
|
|
77
85
|
auto_cutover: Schema.Boolean,
|
|
78
86
|
auto_delete_branch: Schema.Boolean,
|
|
79
87
|
created_at: Schema.String,
|
|
80
|
-
cutover_at: Schema.String,
|
|
88
|
+
cutover_at: Schema.NullOr(Schema.String),
|
|
81
89
|
cutover_expiring: Schema.Boolean,
|
|
82
|
-
deploy_check_errors: Schema.String,
|
|
83
|
-
finished_at: Schema.String,
|
|
84
|
-
queued_at: Schema.String,
|
|
85
|
-
ready_to_cutover_at: Schema.String,
|
|
86
|
-
started_at: Schema.String,
|
|
90
|
+
deploy_check_errors: Schema.optional(Schema.NullOr(Schema.String)),
|
|
91
|
+
finished_at: Schema.NullOr(Schema.String),
|
|
92
|
+
queued_at: Schema.NullOr(Schema.String),
|
|
93
|
+
ready_to_cutover_at: Schema.NullOr(Schema.String),
|
|
94
|
+
started_at: Schema.NullOr(Schema.String),
|
|
87
95
|
state: Schema.Literals([
|
|
88
96
|
"pending",
|
|
89
97
|
"ready",
|
|
@@ -106,7 +114,7 @@ export const CreateDeployRequestOutput =
|
|
|
106
114
|
"cancelled",
|
|
107
115
|
"error",
|
|
108
116
|
]),
|
|
109
|
-
submitted_at: Schema.String,
|
|
117
|
+
submitted_at: Schema.NullOr(Schema.String),
|
|
110
118
|
updated_at: Schema.String,
|
|
111
119
|
into_branch: Schema.String,
|
|
112
120
|
deploy_request_number: Schema.Number,
|
|
@@ -128,20 +136,20 @@ export const CreateDeployRequestOutput =
|
|
|
128
136
|
keyspace_name: Schema.String,
|
|
129
137
|
table_name: Schema.String,
|
|
130
138
|
operation_name: Schema.String,
|
|
131
|
-
eta_seconds: Schema.Number,
|
|
132
|
-
progress_percentage: Schema.Number,
|
|
133
|
-
deploy_error_docs_url: Schema.String,
|
|
139
|
+
eta_seconds: Schema.NullOr(Schema.Number),
|
|
140
|
+
progress_percentage: Schema.NullOr(Schema.Number),
|
|
141
|
+
deploy_error_docs_url: Schema.NullOr(Schema.String),
|
|
134
142
|
ddl_statement: Schema.String,
|
|
135
143
|
syntax_highlighted_ddl: Schema.String,
|
|
136
144
|
created_at: Schema.String,
|
|
137
145
|
updated_at: Schema.String,
|
|
138
|
-
throttled_at: Schema.String,
|
|
146
|
+
throttled_at: Schema.NullOr(Schema.String),
|
|
139
147
|
can_drop_data: Schema.Boolean,
|
|
140
148
|
table_locked: Schema.Boolean,
|
|
141
149
|
table_recently_used: Schema.Boolean,
|
|
142
|
-
table_recently_used_at: Schema.String,
|
|
143
|
-
removed_foreign_key_names: Schema.Array(Schema.String),
|
|
144
|
-
deploy_errors: Schema.String,
|
|
150
|
+
table_recently_used_at: Schema.NullOr(Schema.String),
|
|
151
|
+
removed_foreign_key_names: Schema.NullOr(Schema.Array(Schema.String)),
|
|
152
|
+
deploy_errors: Schema.NullOr(Schema.String),
|
|
145
153
|
}),
|
|
146
154
|
),
|
|
147
155
|
deploy_operation_summaries: Schema.Array(
|
|
@@ -163,8 +171,8 @@ export const CreateDeployRequestOutput =
|
|
|
163
171
|
]),
|
|
164
172
|
syntax_highlighted_ddl: Schema.String,
|
|
165
173
|
table_name: Schema.String,
|
|
166
|
-
table_recently_used_at: Schema.String,
|
|
167
|
-
throttled_at: Schema.String,
|
|
174
|
+
table_recently_used_at: Schema.NullOr(Schema.String),
|
|
175
|
+
throttled_at: Schema.NullOr(Schema.String),
|
|
168
176
|
removed_foreign_key_names: Schema.Array(Schema.String),
|
|
169
177
|
shard_count: Schema.Number,
|
|
170
178
|
shard_names: Schema.Array(Schema.String),
|
|
@@ -196,30 +204,46 @@ export const CreateDeployRequestOutput =
|
|
|
196
204
|
lookup_vindex_operations: Schema.Array(
|
|
197
205
|
Schema.Record(Schema.String, Schema.Unknown),
|
|
198
206
|
),
|
|
199
|
-
throttler_configurations: Schema.
|
|
207
|
+
throttler_configurations: Schema.optional(
|
|
208
|
+
Schema.NullOr(Schema.Record(Schema.String, Schema.Unknown)),
|
|
209
|
+
),
|
|
210
|
+
deployment_revert_request: Schema.NullOr(
|
|
200
211
|
Schema.Record(Schema.String, Schema.Unknown),
|
|
201
212
|
),
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
213
|
+
actor: Schema.optional(
|
|
214
|
+
Schema.NullOr(
|
|
215
|
+
Schema.Struct({
|
|
216
|
+
id: Schema.String,
|
|
217
|
+
display_name: Schema.String,
|
|
218
|
+
avatar_url: Schema.String,
|
|
219
|
+
}),
|
|
220
|
+
),
|
|
221
|
+
),
|
|
222
|
+
cutover_actor: Schema.optional(
|
|
223
|
+
Schema.NullOr(
|
|
224
|
+
Schema.Struct({
|
|
225
|
+
id: Schema.String,
|
|
226
|
+
display_name: Schema.String,
|
|
227
|
+
avatar_url: Schema.String,
|
|
228
|
+
}),
|
|
229
|
+
),
|
|
230
|
+
),
|
|
231
|
+
cancelled_actor: Schema.optional(
|
|
232
|
+
Schema.NullOr(
|
|
233
|
+
Schema.Struct({
|
|
234
|
+
id: Schema.String,
|
|
235
|
+
display_name: Schema.String,
|
|
236
|
+
avatar_url: Schema.String,
|
|
237
|
+
}),
|
|
238
|
+
),
|
|
239
|
+
),
|
|
240
|
+
schema_last_updated_at: Schema.NullOr(Schema.String),
|
|
219
241
|
table_locked: Schema.Boolean,
|
|
220
|
-
locked_table_name: Schema.String,
|
|
242
|
+
locked_table_name: Schema.optional(Schema.NullOr(Schema.String)),
|
|
221
243
|
instant_ddl: Schema.Boolean,
|
|
222
244
|
instant_ddl_eligible: Schema.Boolean,
|
|
245
|
+
queue_paused: Schema.Boolean,
|
|
246
|
+
queue_pause_reason: Schema.String,
|
|
223
247
|
}),
|
|
224
248
|
num_comments: Schema.Number,
|
|
225
249
|
html_url: Schema.String,
|
|
@@ -227,8 +251,8 @@ export const CreateDeployRequestOutput =
|
|
|
227
251
|
html_body: Schema.String,
|
|
228
252
|
created_at: Schema.String,
|
|
229
253
|
updated_at: Schema.String,
|
|
230
|
-
closed_at: Schema.String,
|
|
231
|
-
deployed_at: Schema.String,
|
|
254
|
+
closed_at: Schema.NullOr(Schema.String),
|
|
255
|
+
deployed_at: Schema.NullOr(Schema.String),
|
|
232
256
|
});
|
|
233
257
|
export type CreateDeployRequestOutput = typeof CreateDeployRequestOutput.Type;
|
|
234
258
|
|
|
@@ -35,93 +35,97 @@ export const CreateOauthTokenOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
35
35
|
updated_at: Schema.String,
|
|
36
36
|
expires_at: Schema.optional(Schema.NullOr(Schema.String)),
|
|
37
37
|
last_used_at: Schema.optional(Schema.NullOr(Schema.String)),
|
|
38
|
-
actor_id: Schema.String,
|
|
39
|
-
actor_display_name: Schema.String,
|
|
40
|
-
actor_type: Schema.String,
|
|
38
|
+
actor_id: Schema.NullOr(Schema.String),
|
|
39
|
+
actor_display_name: Schema.NullOr(Schema.String),
|
|
40
|
+
actor_type: Schema.NullOr(Schema.String),
|
|
41
41
|
service_token_accesses: Schema.optional(
|
|
42
|
-
Schema.
|
|
43
|
-
Schema.
|
|
44
|
-
|
|
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({
|
|
42
|
+
Schema.NullOr(
|
|
43
|
+
Schema.Array(
|
|
44
|
+
Schema.Struct({
|
|
51
45
|
id: Schema.String,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
46
|
+
access: Schema.String,
|
|
47
|
+
description: Schema.String,
|
|
48
|
+
resource_name: Schema.String,
|
|
49
|
+
resource_id: Schema.String,
|
|
50
|
+
resource_type: Schema.String,
|
|
51
|
+
resource: Schema.Struct({
|
|
52
|
+
id: Schema.String,
|
|
53
|
+
name: Schema.String,
|
|
54
|
+
created_at: Schema.String,
|
|
55
|
+
updated_at: Schema.String,
|
|
56
|
+
deleted_at: Schema.NullOr(Schema.String),
|
|
57
|
+
}),
|
|
56
58
|
}),
|
|
57
|
-
|
|
59
|
+
),
|
|
58
60
|
),
|
|
59
61
|
),
|
|
60
62
|
oauth_accesses_by_resource: Schema.optional(
|
|
61
|
-
Schema.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
Schema.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
Schema.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
Schema.
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
Schema.
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
Schema.
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
Schema.
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
Schema.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
Schema.
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
63
|
+
Schema.NullOr(
|
|
64
|
+
Schema.Struct({
|
|
65
|
+
database: Schema.Struct({
|
|
66
|
+
databases: Schema.Array(
|
|
67
|
+
Schema.Struct({
|
|
68
|
+
name: Schema.String,
|
|
69
|
+
id: Schema.String,
|
|
70
|
+
organization: Schema.String,
|
|
71
|
+
url: Schema.String,
|
|
72
|
+
}),
|
|
73
|
+
),
|
|
74
|
+
accesses: Schema.Array(
|
|
75
|
+
Schema.Struct({
|
|
76
|
+
name: Schema.String,
|
|
77
|
+
description: Schema.String,
|
|
78
|
+
}),
|
|
79
|
+
),
|
|
80
|
+
}),
|
|
81
|
+
organization: Schema.Struct({
|
|
82
|
+
organizations: Schema.Array(
|
|
83
|
+
Schema.Struct({
|
|
84
|
+
name: Schema.String,
|
|
85
|
+
id: Schema.String,
|
|
86
|
+
url: Schema.String,
|
|
87
|
+
}),
|
|
88
|
+
),
|
|
89
|
+
accesses: Schema.Array(
|
|
90
|
+
Schema.Struct({
|
|
91
|
+
name: Schema.String,
|
|
92
|
+
description: Schema.String,
|
|
93
|
+
}),
|
|
94
|
+
),
|
|
95
|
+
}),
|
|
96
|
+
branch: Schema.Struct({
|
|
97
|
+
branches: Schema.Array(
|
|
98
|
+
Schema.Struct({
|
|
99
|
+
name: Schema.String,
|
|
100
|
+
id: Schema.String,
|
|
101
|
+
database: Schema.String,
|
|
102
|
+
organization: Schema.String,
|
|
103
|
+
url: Schema.String,
|
|
104
|
+
}),
|
|
105
|
+
),
|
|
106
|
+
accesses: Schema.Array(
|
|
107
|
+
Schema.Struct({
|
|
108
|
+
name: Schema.String,
|
|
109
|
+
description: Schema.String,
|
|
110
|
+
}),
|
|
111
|
+
),
|
|
112
|
+
}),
|
|
113
|
+
user: Schema.Struct({
|
|
114
|
+
users: Schema.Array(
|
|
115
|
+
Schema.Struct({
|
|
116
|
+
name: Schema.String,
|
|
117
|
+
id: Schema.String,
|
|
118
|
+
}),
|
|
119
|
+
),
|
|
120
|
+
accesses: Schema.Array(
|
|
121
|
+
Schema.Struct({
|
|
122
|
+
name: Schema.String,
|
|
123
|
+
description: Schema.String,
|
|
124
|
+
}),
|
|
125
|
+
),
|
|
126
|
+
}),
|
|
123
127
|
}),
|
|
124
|
-
|
|
128
|
+
),
|
|
125
129
|
),
|
|
126
130
|
},
|
|
127
131
|
);
|
|
@@ -40,17 +40,21 @@ export const CreateOrganizationTeamOutput =
|
|
|
40
40
|
created_at: Schema.String,
|
|
41
41
|
updated_at: Schema.String,
|
|
42
42
|
two_factor_auth_configured: Schema.Boolean,
|
|
43
|
-
default_organization: Schema.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
43
|
+
default_organization: Schema.optional(
|
|
44
|
+
Schema.NullOr(
|
|
45
|
+
Schema.Struct({
|
|
46
|
+
id: Schema.String,
|
|
47
|
+
name: Schema.String,
|
|
48
|
+
created_at: Schema.String,
|
|
49
|
+
updated_at: Schema.String,
|
|
50
|
+
deleted_at: Schema.NullOr(Schema.String),
|
|
51
|
+
}),
|
|
52
|
+
),
|
|
53
|
+
),
|
|
54
|
+
sso: Schema.optional(Schema.NullOr(Schema.Boolean)),
|
|
55
|
+
managed: Schema.optional(Schema.NullOr(Schema.Boolean)),
|
|
56
|
+
directory_managed: Schema.optional(Schema.NullOr(Schema.Boolean)),
|
|
57
|
+
email_verified: Schema.optional(Schema.NullOr(Schema.Boolean)),
|
|
54
58
|
}),
|
|
55
59
|
),
|
|
56
60
|
databases: Schema.Array(
|
|
@@ -61,11 +65,19 @@ export const CreateOrganizationTeamOutput =
|
|
|
61
65
|
branches_url: Schema.String,
|
|
62
66
|
}),
|
|
63
67
|
),
|
|
68
|
+
analyst_databases: Schema.Array(
|
|
69
|
+
Schema.Struct({
|
|
70
|
+
id: Schema.String,
|
|
71
|
+
name: Schema.String,
|
|
72
|
+
url: Schema.String,
|
|
73
|
+
branches_url: Schema.String,
|
|
74
|
+
}),
|
|
75
|
+
),
|
|
64
76
|
name: Schema.String,
|
|
65
77
|
slug: Schema.String,
|
|
66
78
|
created_at: Schema.String,
|
|
67
79
|
updated_at: Schema.String,
|
|
68
|
-
description: Schema.String,
|
|
80
|
+
description: Schema.NullOr(Schema.String),
|
|
69
81
|
managed: Schema.Boolean,
|
|
70
82
|
});
|
|
71
83
|
export type CreateOrganizationTeamOutput =
|
|
@@ -2,7 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.ts";
|
|
3
3
|
import * as T from "../traits.ts";
|
|
4
4
|
import { Forbidden, NotFound, UnprocessableEntity } from "../errors.ts";
|
|
5
|
-
import {
|
|
5
|
+
import { SensitiveString } from "../sensitive.ts";
|
|
6
6
|
|
|
7
7
|
// Input Schema
|
|
8
8
|
export const CreatePasswordInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -42,11 +42,13 @@ export const CreatePasswordOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
42
42
|
access_host_url: Schema.String,
|
|
43
43
|
access_host_regional_url: Schema.String,
|
|
44
44
|
access_host_regional_urls: Schema.Array(Schema.String),
|
|
45
|
-
actor: Schema.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
actor: Schema.NullOr(
|
|
46
|
+
Schema.Struct({
|
|
47
|
+
id: Schema.String,
|
|
48
|
+
display_name: Schema.String,
|
|
49
|
+
avatar_url: Schema.String,
|
|
50
|
+
}),
|
|
51
|
+
),
|
|
50
52
|
region: Schema.Struct({
|
|
51
53
|
id: Schema.String,
|
|
52
54
|
provider: Schema.String,
|
|
@@ -56,9 +58,11 @@ export const CreatePasswordOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
56
58
|
location: Schema.String,
|
|
57
59
|
slug: Schema.String,
|
|
58
60
|
current_default: Schema.Boolean,
|
|
61
|
+
mysql_supported: Schema.Boolean,
|
|
62
|
+
postgresql_supported: Schema.Boolean,
|
|
59
63
|
}),
|
|
60
64
|
username: Schema.String,
|
|
61
|
-
plain_text:
|
|
65
|
+
plain_text: SensitiveString,
|
|
62
66
|
replica: Schema.Boolean,
|
|
63
67
|
renewable: Schema.Boolean,
|
|
64
68
|
database_branch: Schema.Struct({
|
|
@@ -24,7 +24,7 @@ export const CreateQueryPatternsReportOutput =
|
|
|
24
24
|
id: Schema.String,
|
|
25
25
|
state: Schema.Literals(["pending", "completed", "failed"]),
|
|
26
26
|
created_at: Schema.String,
|
|
27
|
-
finished_at: Schema.String,
|
|
27
|
+
finished_at: Schema.NullOr(Schema.String),
|
|
28
28
|
url: Schema.String,
|
|
29
29
|
download_url: Schema.String,
|
|
30
30
|
actor: Schema.Struct({
|
|
@@ -48,6 +48,7 @@ export const CreateRoleOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
48
48
|
private_access_host_url: Schema.String,
|
|
49
49
|
private_connection_service_name: Schema.String,
|
|
50
50
|
username: Schema.String,
|
|
51
|
+
base_username: Schema.String,
|
|
51
52
|
password: SensitiveNullableString,
|
|
52
53
|
database_name: Schema.String,
|
|
53
54
|
created_at: Schema.String,
|
|
@@ -31,93 +31,97 @@ export const CreateServiceTokenOutput =
|
|
|
31
31
|
updated_at: Schema.String,
|
|
32
32
|
expires_at: Schema.optional(Schema.NullOr(Schema.String)),
|
|
33
33
|
last_used_at: Schema.optional(Schema.NullOr(Schema.String)),
|
|
34
|
-
actor_id: Schema.String,
|
|
35
|
-
actor_display_name: Schema.String,
|
|
36
|
-
actor_type: Schema.String,
|
|
34
|
+
actor_id: Schema.NullOr(Schema.String),
|
|
35
|
+
actor_display_name: Schema.NullOr(Schema.String),
|
|
36
|
+
actor_type: Schema.NullOr(Schema.String),
|
|
37
37
|
service_token_accesses: Schema.optional(
|
|
38
|
-
Schema.
|
|
39
|
-
Schema.
|
|
40
|
-
|
|
41
|
-
access: Schema.String,
|
|
42
|
-
description: Schema.String,
|
|
43
|
-
resource_name: Schema.String,
|
|
44
|
-
resource_id: Schema.String,
|
|
45
|
-
resource_type: Schema.String,
|
|
46
|
-
resource: Schema.Struct({
|
|
38
|
+
Schema.NullOr(
|
|
39
|
+
Schema.Array(
|
|
40
|
+
Schema.Struct({
|
|
47
41
|
id: Schema.String,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
42
|
+
access: Schema.String,
|
|
43
|
+
description: Schema.String,
|
|
44
|
+
resource_name: Schema.String,
|
|
45
|
+
resource_id: Schema.String,
|
|
46
|
+
resource_type: Schema.String,
|
|
47
|
+
resource: Schema.Struct({
|
|
48
|
+
id: Schema.String,
|
|
49
|
+
name: Schema.String,
|
|
50
|
+
created_at: Schema.String,
|
|
51
|
+
updated_at: Schema.String,
|
|
52
|
+
deleted_at: Schema.NullOr(Schema.String),
|
|
53
|
+
}),
|
|
52
54
|
}),
|
|
53
|
-
|
|
55
|
+
),
|
|
54
56
|
),
|
|
55
57
|
),
|
|
56
58
|
oauth_accesses_by_resource: Schema.optional(
|
|
57
|
-
Schema.
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
Schema.
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
Schema.
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
Schema.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
Schema.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
Schema.
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
Schema.
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
Schema.
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
Schema.
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
59
|
+
Schema.NullOr(
|
|
60
|
+
Schema.Struct({
|
|
61
|
+
database: Schema.Struct({
|
|
62
|
+
databases: Schema.Array(
|
|
63
|
+
Schema.Struct({
|
|
64
|
+
name: Schema.String,
|
|
65
|
+
id: Schema.String,
|
|
66
|
+
organization: Schema.String,
|
|
67
|
+
url: Schema.String,
|
|
68
|
+
}),
|
|
69
|
+
),
|
|
70
|
+
accesses: Schema.Array(
|
|
71
|
+
Schema.Struct({
|
|
72
|
+
name: Schema.String,
|
|
73
|
+
description: Schema.String,
|
|
74
|
+
}),
|
|
75
|
+
),
|
|
76
|
+
}),
|
|
77
|
+
organization: Schema.Struct({
|
|
78
|
+
organizations: Schema.Array(
|
|
79
|
+
Schema.Struct({
|
|
80
|
+
name: Schema.String,
|
|
81
|
+
id: Schema.String,
|
|
82
|
+
url: Schema.String,
|
|
83
|
+
}),
|
|
84
|
+
),
|
|
85
|
+
accesses: Schema.Array(
|
|
86
|
+
Schema.Struct({
|
|
87
|
+
name: Schema.String,
|
|
88
|
+
description: Schema.String,
|
|
89
|
+
}),
|
|
90
|
+
),
|
|
91
|
+
}),
|
|
92
|
+
branch: Schema.Struct({
|
|
93
|
+
branches: Schema.Array(
|
|
94
|
+
Schema.Struct({
|
|
95
|
+
name: Schema.String,
|
|
96
|
+
id: Schema.String,
|
|
97
|
+
database: Schema.String,
|
|
98
|
+
organization: Schema.String,
|
|
99
|
+
url: Schema.String,
|
|
100
|
+
}),
|
|
101
|
+
),
|
|
102
|
+
accesses: Schema.Array(
|
|
103
|
+
Schema.Struct({
|
|
104
|
+
name: Schema.String,
|
|
105
|
+
description: Schema.String,
|
|
106
|
+
}),
|
|
107
|
+
),
|
|
108
|
+
}),
|
|
109
|
+
user: Schema.Struct({
|
|
110
|
+
users: Schema.Array(
|
|
111
|
+
Schema.Struct({
|
|
112
|
+
name: Schema.String,
|
|
113
|
+
id: Schema.String,
|
|
114
|
+
}),
|
|
115
|
+
),
|
|
116
|
+
accesses: Schema.Array(
|
|
117
|
+
Schema.Struct({
|
|
118
|
+
name: Schema.String,
|
|
119
|
+
description: Schema.String,
|
|
120
|
+
}),
|
|
121
|
+
),
|
|
122
|
+
}),
|
|
119
123
|
}),
|
|
120
|
-
|
|
124
|
+
),
|
|
121
125
|
),
|
|
122
126
|
});
|
|
123
127
|
export type CreateServiceTokenOutput = typeof CreateServiceTokenOutput.Type;
|