@distilled.cloud/neon 0.0.0 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -6
- package/lib/category.d.ts +5 -0
- package/lib/category.d.ts.map +1 -0
- package/lib/category.js +5 -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 +51 -0
- package/lib/client.js.map +1 -0
- package/lib/credentials.d.ts +14 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +17 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +31 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +23 -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/acceptProjectTransferRequest.d.ts +20 -0
- package/lib/operations/acceptProjectTransferRequest.d.ts.map +1 -0
- package/lib/operations/acceptProjectTransferRequest.js +32 -0
- package/lib/operations/acceptProjectTransferRequest.js.map +1 -0
- package/lib/operations/addBranchNeonAuthOauthProvider.d.ts +27 -0
- package/lib/operations/addBranchNeonAuthOauthProvider.d.ts.map +1 -0
- package/lib/operations/addBranchNeonAuthOauthProvider.js +39 -0
- package/lib/operations/addBranchNeonAuthOauthProvider.js.map +1 -0
- package/lib/operations/addBranchNeonAuthTrustedDomain.d.ts +20 -0
- package/lib/operations/addBranchNeonAuthTrustedDomain.d.ts.map +1 -0
- package/lib/operations/addBranchNeonAuthTrustedDomain.js +37 -0
- package/lib/operations/addBranchNeonAuthTrustedDomain.js.map +1 -0
- package/lib/operations/addProjectJWKS.d.ts +53 -0
- package/lib/operations/addProjectJWKS.d.ts.map +1 -0
- package/lib/operations/addProjectJWKS.js +98 -0
- package/lib/operations/addProjectJWKS.js.map +1 -0
- package/lib/operations/assignOrganizationVPCEndpoint.d.ts +23 -0
- package/lib/operations/assignOrganizationVPCEndpoint.d.ts.map +1 -0
- package/lib/operations/assignOrganizationVPCEndpoint.js +35 -0
- package/lib/operations/assignOrganizationVPCEndpoint.js.map +1 -0
- package/lib/operations/assignProjectVPCEndpoint.d.ts +23 -0
- package/lib/operations/assignProjectVPCEndpoint.d.ts.map +1 -0
- package/lib/operations/assignProjectVPCEndpoint.js +34 -0
- package/lib/operations/assignProjectVPCEndpoint.js.map +1 -0
- package/lib/operations/countProjectBranches.d.ts +21 -0
- package/lib/operations/countProjectBranches.d.ts.map +1 -0
- package/lib/operations/countProjectBranches.js +29 -0
- package/lib/operations/countProjectBranches.js.map +1 -0
- package/lib/operations/createApiKey.d.ts +24 -0
- package/lib/operations/createApiKey.d.ts.map +1 -0
- package/lib/operations/createApiKey.js +30 -0
- package/lib/operations/createApiKey.js.map +1 -0
- package/lib/operations/createBranchNeonAuthNewUser.d.ts +22 -0
- package/lib/operations/createBranchNeonAuthNewUser.d.ts.map +1 -0
- package/lib/operations/createBranchNeonAuthNewUser.js +33 -0
- package/lib/operations/createBranchNeonAuthNewUser.js.map +1 -0
- package/lib/operations/createNeonAuth.d.ts +30 -0
- package/lib/operations/createNeonAuth.d.ts.map +1 -0
- package/lib/operations/createNeonAuth.js +39 -0
- package/lib/operations/createNeonAuth.js.map +1 -0
- package/lib/operations/createNeonAuthProviderSDKKeys.d.ts +25 -0
- package/lib/operations/createNeonAuthProviderSDKKeys.d.ts.map +1 -0
- package/lib/operations/createNeonAuthProviderSDKKeys.js +44 -0
- package/lib/operations/createNeonAuthProviderSDKKeys.js.map +1 -0
- package/lib/operations/createOrgApiKey.d.ts +27 -0
- package/lib/operations/createOrgApiKey.d.ts.map +1 -0
- package/lib/operations/createOrgApiKey.js +33 -0
- package/lib/operations/createOrgApiKey.js.map +1 -0
- package/lib/operations/createOrganizationInvitations.d.ts +32 -0
- package/lib/operations/createOrganizationInvitations.d.ts.map +1 -0
- package/lib/operations/createOrganizationInvitations.js +41 -0
- package/lib/operations/createOrganizationInvitations.js.map +1 -0
- package/lib/operations/createProject.d.ts +257 -0
- package/lib/operations/createProject.d.ts.map +1 -0
- package/lib/operations/createProject.js +315 -0
- package/lib/operations/createProject.js.map +1 -0
- package/lib/operations/createProjectBranch.d.ts +137 -0
- package/lib/operations/createProjectBranch.d.ts.map +1 -0
- package/lib/operations/createProjectBranch.js +184 -0
- package/lib/operations/createProjectBranch.js.map +1 -0
- package/lib/operations/createProjectBranchAnonymized.d.ts +137 -0
- package/lib/operations/createProjectBranchAnonymized.d.ts.map +1 -0
- package/lib/operations/createProjectBranchAnonymized.js +188 -0
- package/lib/operations/createProjectBranchAnonymized.js.map +1 -0
- package/lib/operations/createProjectBranchDataAPI.d.ts +41 -0
- package/lib/operations/createProjectBranchDataAPI.d.ts.map +1 -0
- package/lib/operations/createProjectBranchDataAPI.js +52 -0
- package/lib/operations/createProjectBranchDataAPI.js.map +1 -0
- package/lib/operations/createProjectBranchDatabase.d.ts +49 -0
- package/lib/operations/createProjectBranchDatabase.d.ts.map +1 -0
- package/lib/operations/createProjectBranchDatabase.js +99 -0
- package/lib/operations/createProjectBranchDatabase.js.map +1 -0
- package/lib/operations/createProjectBranchRole.d.ts +51 -0
- package/lib/operations/createProjectBranchRole.d.ts.map +1 -0
- package/lib/operations/createProjectBranchRole.js +101 -0
- package/lib/operations/createProjectBranchRole.js.map +1 -0
- package/lib/operations/createProjectEndpoint.d.ts +97 -0
- package/lib/operations/createProjectEndpoint.d.ts.map +1 -0
- package/lib/operations/createProjectEndpoint.js +144 -0
- package/lib/operations/createProjectEndpoint.js.map +1 -0
- package/lib/operations/createProjectTransferRequest.d.ts +29 -0
- package/lib/operations/createProjectTransferRequest.d.ts.map +1 -0
- package/lib/operations/createProjectTransferRequest.js +41 -0
- package/lib/operations/createProjectTransferRequest.js.map +1 -0
- package/lib/operations/createSnapshot.d.ts +59 -0
- package/lib/operations/createSnapshot.d.ts.map +1 -0
- package/lib/operations/createSnapshot.js +107 -0
- package/lib/operations/createSnapshot.js.map +1 -0
- package/lib/operations/deleteBranchNeonAuthOauthProvider.d.ts +20 -0
- package/lib/operations/deleteBranchNeonAuthOauthProvider.d.ts.map +1 -0
- package/lib/operations/deleteBranchNeonAuthOauthProvider.js +32 -0
- package/lib/operations/deleteBranchNeonAuthOauthProvider.js.map +1 -0
- package/lib/operations/deleteBranchNeonAuthTrustedDomain.d.ts +22 -0
- package/lib/operations/deleteBranchNeonAuthTrustedDomain.d.ts.map +1 -0
- package/lib/operations/deleteBranchNeonAuthTrustedDomain.js +39 -0
- package/lib/operations/deleteBranchNeonAuthTrustedDomain.js.map +1 -0
- package/lib/operations/deleteBranchNeonAuthUser.d.ts +20 -0
- package/lib/operations/deleteBranchNeonAuthUser.d.ts.map +1 -0
- package/lib/operations/deleteBranchNeonAuthUser.js +31 -0
- package/lib/operations/deleteBranchNeonAuthUser.js.map +1 -0
- package/lib/operations/deleteOrganizationVPCEndpoint.d.ts +24 -0
- package/lib/operations/deleteOrganizationVPCEndpoint.d.ts.map +1 -0
- package/lib/operations/deleteOrganizationVPCEndpoint.js +36 -0
- package/lib/operations/deleteOrganizationVPCEndpoint.js.map +1 -0
- package/lib/operations/deleteProject.d.ts +92 -0
- package/lib/operations/deleteProject.d.ts.map +1 -0
- package/lib/operations/deleteProject.js +111 -0
- package/lib/operations/deleteProject.js.map +1 -0
- package/lib/operations/deleteProjectBranch.d.ts +80 -0
- package/lib/operations/deleteProjectBranch.d.ts.map +1 -0
- package/lib/operations/deleteProjectBranch.js +130 -0
- package/lib/operations/deleteProjectBranch.js.map +1 -0
- package/lib/operations/deleteProjectBranchDataAPI.d.ts +21 -0
- package/lib/operations/deleteProjectBranchDataAPI.d.ts.map +1 -0
- package/lib/operations/deleteProjectBranchDataAPI.js +32 -0
- package/lib/operations/deleteProjectBranchDataAPI.js.map +1 -0
- package/lib/operations/deleteProjectBranchDatabase.d.ts +46 -0
- package/lib/operations/deleteProjectBranchDatabase.d.ts.map +1 -0
- package/lib/operations/deleteProjectBranchDatabase.js +96 -0
- package/lib/operations/deleteProjectBranchDatabase.js.map +1 -0
- package/lib/operations/deleteProjectBranchRole.d.ts +48 -0
- package/lib/operations/deleteProjectBranchRole.d.ts.map +1 -0
- package/lib/operations/deleteProjectBranchRole.js +98 -0
- package/lib/operations/deleteProjectBranchRole.js.map +1 -0
- package/lib/operations/deleteProjectEndpoint.d.ts +75 -0
- package/lib/operations/deleteProjectEndpoint.d.ts.map +1 -0
- package/lib/operations/deleteProjectEndpoint.js +125 -0
- package/lib/operations/deleteProjectEndpoint.js.map +1 -0
- package/lib/operations/deleteProjectJWKS.d.ts +28 -0
- package/lib/operations/deleteProjectJWKS.d.ts.map +1 -0
- package/lib/operations/deleteProjectJWKS.js +35 -0
- package/lib/operations/deleteProjectJWKS.js.map +1 -0
- package/lib/operations/deleteProjectVPCEndpoint.d.ts +18 -0
- package/lib/operations/deleteProjectVPCEndpoint.d.ts.map +1 -0
- package/lib/operations/deleteProjectVPCEndpoint.js +29 -0
- package/lib/operations/deleteProjectVPCEndpoint.js.map +1 -0
- package/lib/operations/deleteSnapshot.d.ts +19 -0
- package/lib/operations/deleteSnapshot.d.ts.map +1 -0
- package/lib/operations/deleteSnapshot.js +28 -0
- package/lib/operations/deleteSnapshot.js.map +1 -0
- package/lib/operations/disableNeonAuth.d.ts +17 -0
- package/lib/operations/disableNeonAuth.d.ts.map +1 -0
- package/lib/operations/disableNeonAuth.js +26 -0
- package/lib/operations/disableNeonAuth.js.map +1 -0
- package/lib/operations/finalizeRestoreBranch.d.ts +41 -0
- package/lib/operations/finalizeRestoreBranch.d.ts.map +1 -0
- package/lib/operations/finalizeRestoreBranch.js +91 -0
- package/lib/operations/finalizeRestoreBranch.js.map +1 -0
- package/lib/operations/getActiveRegions.d.ts +20 -0
- package/lib/operations/getActiveRegions.d.ts.map +1 -0
- package/lib/operations/getActiveRegions.js +26 -0
- package/lib/operations/getActiveRegions.js.map +1 -0
- package/lib/operations/getAnonymizedBranchStatus.d.ts +38 -0
- package/lib/operations/getAnonymizedBranchStatus.d.ts.map +1 -0
- package/lib/operations/getAnonymizedBranchStatus.js +49 -0
- package/lib/operations/getAnonymizedBranchStatus.js.map +1 -0
- package/lib/operations/getAuthDetails.d.ts +16 -0
- package/lib/operations/getAuthDetails.d.ts.map +1 -0
- package/lib/operations/getAuthDetails.js +28 -0
- package/lib/operations/getAuthDetails.js.map +1 -0
- package/lib/operations/getAvailablePreloadLibraries.d.ts +20 -0
- package/lib/operations/getAvailablePreloadLibraries.d.ts.map +1 -0
- package/lib/operations/getAvailablePreloadLibraries.js +32 -0
- package/lib/operations/getAvailablePreloadLibraries.js.map +1 -0
- package/lib/operations/getConnectionURI.d.ts +31 -0
- package/lib/operations/getConnectionURI.d.ts.map +1 -0
- package/lib/operations/getConnectionURI.js +37 -0
- package/lib/operations/getConnectionURI.js.map +1 -0
- package/lib/operations/getConsumptionHistoryPerAccount.d.ts +84 -0
- package/lib/operations/getConsumptionHistoryPerAccount.d.ts.map +1 -0
- package/lib/operations/getConsumptionHistoryPerAccount.js +93 -0
- package/lib/operations/getConsumptionHistoryPerAccount.js.map +1 -0
- package/lib/operations/getConsumptionHistoryPerProject.d.ts +104 -0
- package/lib/operations/getConsumptionHistoryPerProject.d.ts.map +1 -0
- package/lib/operations/getConsumptionHistoryPerProject.js +113 -0
- package/lib/operations/getConsumptionHistoryPerProject.js.map +1 -0
- package/lib/operations/getConsumptionHistoryPerProjectV2.d.ts +93 -0
- package/lib/operations/getConsumptionHistoryPerProjectV2.d.ts.map +1 -0
- package/lib/operations/getConsumptionHistoryPerProjectV2.js +102 -0
- package/lib/operations/getConsumptionHistoryPerProjectV2.js.map +1 -0
- package/lib/operations/getCurrentUserInfo.d.ts +66 -0
- package/lib/operations/getCurrentUserInfo.d.ts.map +1 -0
- package/lib/operations/getCurrentUserInfo.js +121 -0
- package/lib/operations/getCurrentUserInfo.js.map +1 -0
- package/lib/operations/getCurrentUserOrganizations.d.ts +23 -0
- package/lib/operations/getCurrentUserOrganizations.d.ts.map +1 -0
- package/lib/operations/getCurrentUserOrganizations.js +31 -0
- package/lib/operations/getCurrentUserOrganizations.js.map +1 -0
- package/lib/operations/getMaskingRules.d.ts +31 -0
- package/lib/operations/getMaskingRules.d.ts.map +1 -0
- package/lib/operations/getMaskingRules.js +40 -0
- package/lib/operations/getMaskingRules.js.map +1 -0
- package/lib/operations/getNeonAuth.d.ts +28 -0
- package/lib/operations/getNeonAuth.d.ts.map +1 -0
- package/lib/operations/getNeonAuth.js +37 -0
- package/lib/operations/getNeonAuth.js.map +1 -0
- package/lib/operations/getNeonAuthAllowLocalhost.d.ts +20 -0
- package/lib/operations/getNeonAuthAllowLocalhost.d.ts.map +1 -0
- package/lib/operations/getNeonAuthAllowLocalhost.js +31 -0
- package/lib/operations/getNeonAuthAllowLocalhost.js.map +1 -0
- package/lib/operations/getNeonAuthEmailAndPasswordConfig.d.ts +26 -0
- package/lib/operations/getNeonAuthEmailAndPasswordConfig.d.ts.map +1 -0
- package/lib/operations/getNeonAuthEmailAndPasswordConfig.js +38 -0
- package/lib/operations/getNeonAuthEmailAndPasswordConfig.js.map +1 -0
- package/lib/operations/getNeonAuthEmailProvider.d.ts +18 -0
- package/lib/operations/getNeonAuthEmailProvider.d.ts.map +1 -0
- package/lib/operations/getNeonAuthEmailProvider.js +29 -0
- package/lib/operations/getNeonAuthEmailProvider.js.map +1 -0
- package/lib/operations/getNeonAuthPluginConfigs.d.ts +45 -0
- package/lib/operations/getNeonAuthPluginConfigs.d.ts.map +1 -0
- package/lib/operations/getNeonAuthPluginConfigs.js +56 -0
- package/lib/operations/getNeonAuthPluginConfigs.js.map +1 -0
- package/lib/operations/getNeonAuthWebhookConfig.d.ts +23 -0
- package/lib/operations/getNeonAuthWebhookConfig.d.ts.map +1 -0
- package/lib/operations/getNeonAuthWebhookConfig.js +39 -0
- package/lib/operations/getNeonAuthWebhookConfig.js.map +1 -0
- package/lib/operations/getOrganization.d.ts +25 -0
- package/lib/operations/getOrganization.d.ts.map +1 -0
- package/lib/operations/getOrganization.js +31 -0
- package/lib/operations/getOrganization.js.map +1 -0
- package/lib/operations/getOrganizationInvitations.d.ts +25 -0
- package/lib/operations/getOrganizationInvitations.d.ts.map +1 -0
- package/lib/operations/getOrganizationInvitations.js +33 -0
- package/lib/operations/getOrganizationInvitations.js.map +1 -0
- package/lib/operations/getOrganizationMember.d.ts +24 -0
- package/lib/operations/getOrganizationMember.d.ts.map +1 -0
- package/lib/operations/getOrganizationMember.js +35 -0
- package/lib/operations/getOrganizationMember.js.map +1 -0
- package/lib/operations/getOrganizationMembers.d.ts +29 -0
- package/lib/operations/getOrganizationMembers.d.ts.map +1 -0
- package/lib/operations/getOrganizationMembers.js +37 -0
- package/lib/operations/getOrganizationMembers.js.map +1 -0
- package/lib/operations/getOrganizationVPCEndpointDetails.d.ts +28 -0
- package/lib/operations/getOrganizationVPCEndpointDetails.d.ts.map +1 -0
- package/lib/operations/getOrganizationVPCEndpointDetails.js +40 -0
- package/lib/operations/getOrganizationVPCEndpointDetails.js.map +1 -0
- package/lib/operations/getProject.d.ts +90 -0
- package/lib/operations/getProject.d.ts.map +1 -0
- package/lib/operations/getProject.js +109 -0
- package/lib/operations/getProject.js.map +1 -0
- package/lib/operations/getProjectAdvisorSecurityIssues.d.ts +39 -0
- package/lib/operations/getProjectAdvisorSecurityIssues.d.ts.map +1 -0
- package/lib/operations/getProjectAdvisorSecurityIssues.js +48 -0
- package/lib/operations/getProjectAdvisorSecurityIssues.js.map +1 -0
- package/lib/operations/getProjectBranch.d.ts +73 -0
- package/lib/operations/getProjectBranch.d.ts.map +1 -0
- package/lib/operations/getProjectBranch.js +82 -0
- package/lib/operations/getProjectBranch.js.map +1 -0
- package/lib/operations/getProjectBranchDataAPI.d.ts +36 -0
- package/lib/operations/getProjectBranchDataAPI.d.ts.map +1 -0
- package/lib/operations/getProjectBranchDataAPI.js +47 -0
- package/lib/operations/getProjectBranchDataAPI.js.map +1 -0
- package/lib/operations/getProjectBranchDatabase.d.ts +32 -0
- package/lib/operations/getProjectBranchDatabase.d.ts.map +1 -0
- package/lib/operations/getProjectBranchDatabase.js +43 -0
- package/lib/operations/getProjectBranchDatabase.js.map +1 -0
- package/lib/operations/getProjectBranchRole.d.ts +35 -0
- package/lib/operations/getProjectBranchRole.d.ts.map +1 -0
- package/lib/operations/getProjectBranchRole.js +46 -0
- package/lib/operations/getProjectBranchRole.js.map +1 -0
- package/lib/operations/getProjectBranchRolePassword.d.ts +26 -0
- package/lib/operations/getProjectBranchRolePassword.d.ts.map +1 -0
- package/lib/operations/getProjectBranchRolePassword.js +38 -0
- package/lib/operations/getProjectBranchRolePassword.js.map +1 -0
- package/lib/operations/getProjectBranchSchema.d.ts +55 -0
- package/lib/operations/getProjectBranchSchema.d.ts.map +1 -0
- package/lib/operations/getProjectBranchSchema.js +66 -0
- package/lib/operations/getProjectBranchSchema.js.map +1 -0
- package/lib/operations/getProjectBranchSchemaComparison.d.ts +36 -0
- package/lib/operations/getProjectBranchSchemaComparison.d.ts.map +1 -0
- package/lib/operations/getProjectBranchSchemaComparison.js +48 -0
- package/lib/operations/getProjectBranchSchemaComparison.js.map +1 -0
- package/lib/operations/getProjectEndpoint.d.ts +59 -0
- package/lib/operations/getProjectEndpoint.d.ts.map +1 -0
- package/lib/operations/getProjectEndpoint.js +70 -0
- package/lib/operations/getProjectEndpoint.js.map +1 -0
- package/lib/operations/getProjectJWKS.d.ts +28 -0
- package/lib/operations/getProjectJWKS.d.ts.map +1 -0
- package/lib/operations/getProjectJWKS.js +34 -0
- package/lib/operations/getProjectJWKS.js.map +1 -0
- package/lib/operations/getProjectOperation.d.ts +36 -0
- package/lib/operations/getProjectOperation.d.ts.map +1 -0
- package/lib/operations/getProjectOperation.js +86 -0
- package/lib/operations/getProjectOperation.js.map +1 -0
- package/lib/operations/getSnapshotSchedule.d.ts +27 -0
- package/lib/operations/getSnapshotSchedule.d.ts.map +1 -0
- package/lib/operations/getSnapshotSchedule.js +38 -0
- package/lib/operations/getSnapshotSchedule.js.map +1 -0
- package/lib/operations/grantPermissionToProject.d.ts +20 -0
- package/lib/operations/grantPermissionToProject.d.ts.map +1 -0
- package/lib/operations/grantPermissionToProject.js +28 -0
- package/lib/operations/grantPermissionToProject.js.map +1 -0
- package/lib/operations/index.d.ts +124 -0
- package/lib/operations/index.d.ts.map +1 -0
- package/lib/operations/index.js +124 -0
- package/lib/operations/index.js.map +1 -0
- package/lib/operations/listApiKeys.d.ts +26 -0
- package/lib/operations/listApiKeys.d.ts.map +1 -0
- package/lib/operations/listApiKeys.js +32 -0
- package/lib/operations/listApiKeys.js.map +1 -0
- package/lib/operations/listBranchNeonAuthOauthProviders.d.ts +25 -0
- package/lib/operations/listBranchNeonAuthOauthProviders.d.ts.map +1 -0
- package/lib/operations/listBranchNeonAuthOauthProviders.js +37 -0
- package/lib/operations/listBranchNeonAuthOauthProviders.js.map +1 -0
- package/lib/operations/listBranchNeonAuthTrustedDomains.d.ts +23 -0
- package/lib/operations/listBranchNeonAuthTrustedDomains.d.ts.map +1 -0
- package/lib/operations/listBranchNeonAuthTrustedDomains.js +40 -0
- package/lib/operations/listBranchNeonAuthTrustedDomains.js.map +1 -0
- package/lib/operations/listOrgApiKeys.d.ts +31 -0
- package/lib/operations/listOrgApiKeys.d.ts.map +1 -0
- package/lib/operations/listOrgApiKeys.js +37 -0
- package/lib/operations/listOrgApiKeys.js.map +1 -0
- package/lib/operations/listOrganizationVPCEndpoints.d.ts +23 -0
- package/lib/operations/listOrganizationVPCEndpoints.d.ts.map +1 -0
- package/lib/operations/listOrganizationVPCEndpoints.js +35 -0
- package/lib/operations/listOrganizationVPCEndpoints.js.map +1 -0
- package/lib/operations/listOrganizationVPCEndpointsAllRegions.d.ts +22 -0
- package/lib/operations/listOrganizationVPCEndpointsAllRegions.d.ts.map +1 -0
- package/lib/operations/listOrganizationVPCEndpointsAllRegions.js +34 -0
- package/lib/operations/listOrganizationVPCEndpointsAllRegions.js.map +1 -0
- package/lib/operations/listProjectBranchDatabases.d.ts +31 -0
- package/lib/operations/listProjectBranchDatabases.d.ts.map +1 -0
- package/lib/operations/listProjectBranchDatabases.js +42 -0
- package/lib/operations/listProjectBranchDatabases.js.map +1 -0
- package/lib/operations/listProjectBranchEndpoints.d.ts +58 -0
- package/lib/operations/listProjectBranchEndpoints.d.ts.map +1 -0
- package/lib/operations/listProjectBranchEndpoints.js +69 -0
- package/lib/operations/listProjectBranchEndpoints.js.map +1 -0
- package/lib/operations/listProjectBranchRoles.d.ts +31 -0
- package/lib/operations/listProjectBranchRoles.d.ts.map +1 -0
- package/lib/operations/listProjectBranchRoles.js +42 -0
- package/lib/operations/listProjectBranchRoles.js.map +1 -0
- package/lib/operations/listProjectBranches.d.ts +85 -0
- package/lib/operations/listProjectBranches.d.ts.map +1 -0
- package/lib/operations/listProjectBranches.js +93 -0
- package/lib/operations/listProjectBranches.js.map +1 -0
- package/lib/operations/listProjectEndpoints.d.ts +55 -0
- package/lib/operations/listProjectEndpoints.d.ts.map +1 -0
- package/lib/operations/listProjectEndpoints.js +63 -0
- package/lib/operations/listProjectEndpoints.js.map +1 -0
- package/lib/operations/listProjectOperations.d.ts +44 -0
- package/lib/operations/listProjectOperations.d.ts.map +1 -0
- package/lib/operations/listProjectOperations.js +91 -0
- package/lib/operations/listProjectOperations.js.map +1 -0
- package/lib/operations/listProjectPermissions.d.ts +21 -0
- package/lib/operations/listProjectPermissions.d.ts.map +1 -0
- package/lib/operations/listProjectPermissions.js +29 -0
- package/lib/operations/listProjectPermissions.js.map +1 -0
- package/lib/operations/listProjectVPCEndpoints.d.ts +21 -0
- package/lib/operations/listProjectVPCEndpoints.d.ts.map +1 -0
- package/lib/operations/listProjectVPCEndpoints.js +29 -0
- package/lib/operations/listProjectVPCEndpoints.js.map +1 -0
- package/lib/operations/listProjects.d.ts +102 -0
- package/lib/operations/listProjects.d.ts.map +1 -0
- package/lib/operations/listProjects.js +108 -0
- package/lib/operations/listProjects.js.map +1 -0
- package/lib/operations/listSharedProjects.d.ts +94 -0
- package/lib/operations/listSharedProjects.d.ts.map +1 -0
- package/lib/operations/listSharedProjects.js +102 -0
- package/lib/operations/listSharedProjects.js.map +1 -0
- package/lib/operations/listSnapshots.d.ts +28 -0
- package/lib/operations/listSnapshots.d.ts.map +1 -0
- package/lib/operations/listSnapshots.js +34 -0
- package/lib/operations/listSnapshots.js.map +1 -0
- package/lib/operations/recoverProject.d.ts +128 -0
- package/lib/operations/recoverProject.d.ts.map +1 -0
- package/lib/operations/recoverProject.js +147 -0
- package/lib/operations/recoverProject.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 +31 -0
- package/lib/operations/removeOrganizationMember.js.map +1 -0
- package/lib/operations/resetProjectBranchRolePassword.d.ts +52 -0
- package/lib/operations/resetProjectBranchRolePassword.d.ts.map +1 -0
- package/lib/operations/resetProjectBranchRolePassword.js +103 -0
- package/lib/operations/resetProjectBranchRolePassword.js.map +1 -0
- package/lib/operations/restartProjectEndpoint.d.ts +72 -0
- package/lib/operations/restartProjectEndpoint.d.ts.map +1 -0
- package/lib/operations/restartProjectEndpoint.js +122 -0
- package/lib/operations/restartProjectEndpoint.js.map +1 -0
- package/lib/operations/restoreProjectBranch.d.ts +75 -0
- package/lib/operations/restoreProjectBranch.d.ts.map +1 -0
- package/lib/operations/restoreProjectBranch.js +125 -0
- package/lib/operations/restoreProjectBranch.js.map +1 -0
- package/lib/operations/restoreSnapshot.d.ts +113 -0
- package/lib/operations/restoreSnapshot.d.ts.map +1 -0
- package/lib/operations/restoreSnapshot.js +161 -0
- package/lib/operations/restoreSnapshot.js.map +1 -0
- package/lib/operations/revokeApiKey.d.ts +29 -0
- package/lib/operations/revokeApiKey.d.ts.map +1 -0
- package/lib/operations/revokeApiKey.js +35 -0
- package/lib/operations/revokeApiKey.js.map +1 -0
- package/lib/operations/revokeOrgApiKey.d.ts +32 -0
- package/lib/operations/revokeOrgApiKey.d.ts.map +1 -0
- package/lib/operations/revokeOrgApiKey.js +41 -0
- package/lib/operations/revokeOrgApiKey.js.map +1 -0
- package/lib/operations/revokePermissionFromProject.d.ts +20 -0
- package/lib/operations/revokePermissionFromProject.d.ts.map +1 -0
- package/lib/operations/revokePermissionFromProject.js +31 -0
- package/lib/operations/revokePermissionFromProject.js.map +1 -0
- package/lib/operations/sendNeonAuthTestEmail.d.ts +21 -0
- package/lib/operations/sendNeonAuthTestEmail.d.ts.map +1 -0
- package/lib/operations/sendNeonAuthTestEmail.js +32 -0
- package/lib/operations/sendNeonAuthTestEmail.js.map +1 -0
- package/lib/operations/setDefaultProjectBranch.d.ts +75 -0
- package/lib/operations/setDefaultProjectBranch.d.ts.map +1 -0
- package/lib/operations/setDefaultProjectBranch.js +125 -0
- package/lib/operations/setDefaultProjectBranch.js.map +1 -0
- package/lib/operations/setSnapshotSchedule.d.ts +26 -0
- package/lib/operations/setSnapshotSchedule.d.ts.map +1 -0
- package/lib/operations/setSnapshotSchedule.js +37 -0
- package/lib/operations/setSnapshotSchedule.js.map +1 -0
- package/lib/operations/startAnonymization.d.ts +38 -0
- package/lib/operations/startAnonymization.d.ts.map +1 -0
- package/lib/operations/startAnonymization.js +49 -0
- package/lib/operations/startAnonymization.js.map +1 -0
- package/lib/operations/startProjectEndpoint.d.ts +73 -0
- package/lib/operations/startProjectEndpoint.d.ts.map +1 -0
- package/lib/operations/startProjectEndpoint.js +123 -0
- package/lib/operations/startProjectEndpoint.js.map +1 -0
- package/lib/operations/suspendProjectEndpoint.d.ts +72 -0
- package/lib/operations/suspendProjectEndpoint.d.ts.map +1 -0
- package/lib/operations/suspendProjectEndpoint.js +122 -0
- package/lib/operations/suspendProjectEndpoint.js.map +1 -0
- package/lib/operations/transferNeonAuthProviderProject.d.ts +17 -0
- package/lib/operations/transferNeonAuthProviderProject.d.ts.map +1 -0
- package/lib/operations/transferNeonAuthProviderProject.js +31 -0
- package/lib/operations/transferNeonAuthProviderProject.js.map +1 -0
- package/lib/operations/transferProjectsFromOrgToOrg.d.ts +18 -0
- package/lib/operations/transferProjectsFromOrgToOrg.d.ts.map +1 -0
- package/lib/operations/transferProjectsFromOrgToOrg.js +30 -0
- package/lib/operations/transferProjectsFromOrgToOrg.js.map +1 -0
- package/lib/operations/transferProjectsFromUserToOrg.d.ts +15 -0
- package/lib/operations/transferProjectsFromUserToOrg.d.ts.map +1 -0
- package/lib/operations/transferProjectsFromUserToOrg.js +24 -0
- package/lib/operations/transferProjectsFromUserToOrg.js.map +1 -0
- package/lib/operations/updateBranchNeonAuthOauthProvider.d.ts +28 -0
- package/lib/operations/updateBranchNeonAuthOauthProvider.d.ts.map +1 -0
- package/lib/operations/updateBranchNeonAuthOauthProvider.js +40 -0
- package/lib/operations/updateBranchNeonAuthOauthProvider.js.map +1 -0
- package/lib/operations/updateMaskingRules.d.ts +39 -0
- package/lib/operations/updateMaskingRules.d.ts.map +1 -0
- package/lib/operations/updateMaskingRules.js +50 -0
- package/lib/operations/updateMaskingRules.js.map +1 -0
- package/lib/operations/updateNeonAuthAllowLocalhost.d.ts +21 -0
- package/lib/operations/updateNeonAuthAllowLocalhost.d.ts.map +1 -0
- package/lib/operations/updateNeonAuthAllowLocalhost.js +33 -0
- package/lib/operations/updateNeonAuthAllowLocalhost.js.map +1 -0
- package/lib/operations/updateNeonAuthEmailAndPasswordConfig.d.ts +33 -0
- package/lib/operations/updateNeonAuthEmailAndPasswordConfig.d.ts.map +1 -0
- package/lib/operations/updateNeonAuthEmailAndPasswordConfig.js +45 -0
- package/lib/operations/updateNeonAuthEmailAndPasswordConfig.js.map +1 -0
- package/lib/operations/updateNeonAuthEmailProvider.d.ts +18 -0
- package/lib/operations/updateNeonAuthEmailProvider.d.ts.map +1 -0
- package/lib/operations/updateNeonAuthEmailProvider.js +29 -0
- package/lib/operations/updateNeonAuthEmailProvider.js.map +1 -0
- package/lib/operations/updateNeonAuthOrganizationPlugin.d.ts +30 -0
- package/lib/operations/updateNeonAuthOrganizationPlugin.d.ts.map +1 -0
- package/lib/operations/updateNeonAuthOrganizationPlugin.js +42 -0
- package/lib/operations/updateNeonAuthOrganizationPlugin.js.map +1 -0
- package/lib/operations/updateNeonAuthUserRole.d.ts +23 -0
- package/lib/operations/updateNeonAuthUserRole.d.ts.map +1 -0
- package/lib/operations/updateNeonAuthUserRole.js +34 -0
- package/lib/operations/updateNeonAuthUserRole.js.map +1 -0
- package/lib/operations/updateNeonAuthWebhookConfig.d.ts +27 -0
- package/lib/operations/updateNeonAuthWebhookConfig.d.ts.map +1 -0
- package/lib/operations/updateNeonAuthWebhookConfig.js +48 -0
- package/lib/operations/updateNeonAuthWebhookConfig.js.map +1 -0
- package/lib/operations/updateOrganizationMember.d.ts +25 -0
- package/lib/operations/updateOrganizationMember.d.ts.map +1 -0
- package/lib/operations/updateOrganizationMember.js +36 -0
- package/lib/operations/updateOrganizationMember.js.map +1 -0
- package/lib/operations/updateProject.d.ts +142 -0
- package/lib/operations/updateProject.d.ts.map +1 -0
- package/lib/operations/updateProject.js +200 -0
- package/lib/operations/updateProject.js.map +1 -0
- package/lib/operations/updateProjectBranch.d.ts +79 -0
- package/lib/operations/updateProjectBranch.d.ts.map +1 -0
- package/lib/operations/updateProjectBranch.js +129 -0
- package/lib/operations/updateProjectBranch.js.map +1 -0
- package/lib/operations/updateProjectBranchDataAPI.d.ts +35 -0
- package/lib/operations/updateProjectBranchDataAPI.d.ts.map +1 -0
- package/lib/operations/updateProjectBranchDataAPI.js +46 -0
- package/lib/operations/updateProjectBranchDataAPI.js.map +1 -0
- package/lib/operations/updateProjectBranchDatabase.d.ts +50 -0
- package/lib/operations/updateProjectBranchDatabase.d.ts.map +1 -0
- package/lib/operations/updateProjectBranchDatabase.js +100 -0
- package/lib/operations/updateProjectBranchDatabase.js.map +1 -0
- package/lib/operations/updateProjectEndpoint.d.ts +96 -0
- package/lib/operations/updateProjectEndpoint.d.ts.map +1 -0
- package/lib/operations/updateProjectEndpoint.js +146 -0
- package/lib/operations/updateProjectEndpoint.js.map +1 -0
- package/lib/operations/updateSnapshot.d.ts +33 -0
- package/lib/operations/updateSnapshot.d.ts.map +1 -0
- package/lib/operations/updateSnapshot.js +42 -0
- package/lib/operations/updateSnapshot.js.map +1 -0
- package/lib/retry.d.ts +22 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +21 -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 +5 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +5 -0
- package/lib/traits.js.map +1 -0
- package/package.json +80 -5
- package/src/category.ts +4 -0
- package/src/client.ts +58 -0
- package/src/credentials.ts +30 -0
- package/src/errors.ts +47 -0
- package/src/index.ts +15 -0
- package/src/operations/acceptProjectTransferRequest.ts +40 -0
- package/src/operations/addBranchNeonAuthOauthProvider.ts +47 -0
- package/src/operations/addBranchNeonAuthTrustedDomain.ts +45 -0
- package/src/operations/addProjectJWKS.ts +104 -0
- package/src/operations/assignOrganizationVPCEndpoint.ts +43 -0
- package/src/operations/assignProjectVPCEndpoint.ts +44 -0
- package/src/operations/countProjectBranches.ts +37 -0
- package/src/operations/createApiKey.ts +34 -0
- package/src/operations/createBranchNeonAuthNewUser.ts +43 -0
- package/src/operations/createNeonAuth.ts +45 -0
- package/src/operations/createNeonAuthProviderSDKKeys.ts +50 -0
- package/src/operations/createOrgApiKey.ts +37 -0
- package/src/operations/createOrganizationInvitations.ts +53 -0
- package/src/operations/createProject.ts +385 -0
- package/src/operations/createProjectBranch.ts +214 -0
- package/src/operations/createProjectBranchAnonymized.ts +222 -0
- package/src/operations/createProjectBranchDataAPI.ts +64 -0
- package/src/operations/createProjectBranchDatabase.ts +111 -0
- package/src/operations/createProjectBranchRole.ts +113 -0
- package/src/operations/createProjectEndpoint.ts +169 -0
- package/src/operations/createProjectTransferRequest.ts +49 -0
- package/src/operations/createSnapshot.ts +115 -0
- package/src/operations/deleteBranchNeonAuthOauthProvider.ts +40 -0
- package/src/operations/deleteBranchNeonAuthTrustedDomain.ts +49 -0
- package/src/operations/deleteBranchNeonAuthUser.ts +41 -0
- package/src/operations/deleteOrganizationVPCEndpoint.ts +44 -0
- package/src/operations/deleteProject.ts +135 -0
- package/src/operations/deleteProjectBranch.ts +144 -0
- package/src/operations/deleteProjectBranchDataAPI.ts +42 -0
- package/src/operations/deleteProjectBranchDatabase.ts +108 -0
- package/src/operations/deleteProjectBranchRole.ts +110 -0
- package/src/operations/deleteProjectEndpoint.ts +144 -0
- package/src/operations/deleteProjectJWKS.ts +43 -0
- package/src/operations/deleteProjectVPCEndpoint.ts +39 -0
- package/src/operations/deleteSnapshot.ts +34 -0
- package/src/operations/disableNeonAuth.ts +32 -0
- package/src/operations/finalizeRestoreBranch.ts +102 -0
- package/src/operations/getActiveRegions.ts +36 -0
- package/src/operations/getAnonymizedBranchStatus.ts +61 -0
- package/src/operations/getAuthDetails.ts +34 -0
- package/src/operations/getAvailablePreloadLibraries.ts +44 -0
- package/src/operations/getConnectionURI.ts +45 -0
- package/src/operations/getConsumptionHistoryPerAccount.ts +103 -0
- package/src/operations/getConsumptionHistoryPerProject.ts +127 -0
- package/src/operations/getConsumptionHistoryPerProjectV2.ts +120 -0
- package/src/operations/getCurrentUserInfo.ts +139 -0
- package/src/operations/getCurrentUserOrganizations.ts +43 -0
- package/src/operations/getMaskingRules.ts +48 -0
- package/src/operations/getNeonAuth.ts +43 -0
- package/src/operations/getNeonAuthAllowLocalhost.ts +41 -0
- package/src/operations/getNeonAuthEmailAndPasswordConfig.ts +46 -0
- package/src/operations/getNeonAuthEmailProvider.ts +39 -0
- package/src/operations/getNeonAuthPluginConfigs.ts +74 -0
- package/src/operations/getNeonAuthWebhookConfig.ts +53 -0
- package/src/operations/getOrganization.ts +35 -0
- package/src/operations/getOrganizationInvitations.ts +45 -0
- package/src/operations/getOrganizationMember.ts +44 -0
- package/src/operations/getOrganizationMembers.ts +47 -0
- package/src/operations/getOrganizationVPCEndpointDetails.ts +48 -0
- package/src/operations/getProject.ts +133 -0
- package/src/operations/getProjectAdvisorSecurityIssues.ts +56 -0
- package/src/operations/getProjectBranch.ts +96 -0
- package/src/operations/getProjectBranchDataAPI.ts +61 -0
- package/src/operations/getProjectBranchDatabase.ts +53 -0
- package/src/operations/getProjectBranchRole.ts +54 -0
- package/src/operations/getProjectBranchRolePassword.ts +46 -0
- package/src/operations/getProjectBranchSchema.ts +88 -0
- package/src/operations/getProjectBranchSchemaComparison.ts +56 -0
- package/src/operations/getProjectEndpoint.ts +84 -0
- package/src/operations/getProjectJWKS.ts +40 -0
- package/src/operations/getProjectOperation.ts +92 -0
- package/src/operations/getSnapshotSchedule.ts +46 -0
- package/src/operations/grantPermissionToProject.ts +38 -0
- package/src/operations/index.ts +123 -0
- package/src/operations/listApiKeys.ts +40 -0
- package/src/operations/listBranchNeonAuthOauthProviders.ts +47 -0
- package/src/operations/listBranchNeonAuthTrustedDomains.ts +50 -0
- package/src/operations/listOrgApiKeys.ts +43 -0
- package/src/operations/listOrganizationVPCEndpoints.ts +45 -0
- package/src/operations/listOrganizationVPCEndpointsAllRegions.ts +44 -0
- package/src/operations/listProjectBranchDatabases.ts +54 -0
- package/src/operations/listProjectBranchEndpoints.ts +89 -0
- package/src/operations/listProjectBranchRoles.ts +54 -0
- package/src/operations/listProjectBranches.ts +112 -0
- package/src/operations/listProjectEndpoints.ts +79 -0
- package/src/operations/listProjectOperations.ts +102 -0
- package/src/operations/listProjectPermissions.ts +41 -0
- package/src/operations/listProjectVPCEndpoints.ts +41 -0
- package/src/operations/listProjects.ts +144 -0
- package/src/operations/listSharedProjects.ts +128 -0
- package/src/operations/listSnapshots.ts +40 -0
- package/src/operations/recoverProject.ts +179 -0
- package/src/operations/removeOrganizationMember.ts +41 -0
- package/src/operations/resetProjectBranchRolePassword.ts +113 -0
- package/src/operations/restartProjectEndpoint.ts +142 -0
- package/src/operations/restoreProjectBranch.ts +141 -0
- package/src/operations/restoreSnapshot.ts +187 -0
- package/src/operations/revokeApiKey.ts +39 -0
- package/src/operations/revokeOrgApiKey.ts +47 -0
- package/src/operations/revokePermissionFromProject.ts +41 -0
- package/src/operations/sendNeonAuthTestEmail.ts +41 -0
- package/src/operations/setDefaultProjectBranch.ts +143 -0
- package/src/operations/setSnapshotSchedule.ts +45 -0
- package/src/operations/startAnonymization.ts +57 -0
- package/src/operations/startProjectEndpoint.ts +141 -0
- package/src/operations/suspendProjectEndpoint.ts +142 -0
- package/src/operations/transferNeonAuthProviderProject.ts +39 -0
- package/src/operations/transferProjectsFromOrgToOrg.ts +38 -0
- package/src/operations/transferProjectsFromUserToOrg.ts +30 -0
- package/src/operations/updateBranchNeonAuthOauthProvider.ts +48 -0
- package/src/operations/updateMaskingRules.ts +60 -0
- package/src/operations/updateNeonAuthAllowLocalhost.ts +41 -0
- package/src/operations/updateNeonAuthEmailAndPasswordConfig.ts +55 -0
- package/src/operations/updateNeonAuthEmailProvider.ts +39 -0
- package/src/operations/updateNeonAuthOrganizationPlugin.ts +50 -0
- package/src/operations/updateNeonAuthUserRole.ts +44 -0
- package/src/operations/updateNeonAuthWebhookConfig.ts +66 -0
- package/src/operations/updateOrganizationMember.ts +46 -0
- package/src/operations/updateProject.ts +244 -0
- package/src/operations/updateProjectBranch.ts +143 -0
- package/src/operations/updateProjectBranchDataAPI.ts +58 -0
- package/src/operations/updateProjectBranchDatabase.ts +112 -0
- package/src/operations/updateProjectEndpoint.ts +173 -0
- package/src/operations/updateSnapshot.ts +48 -0
- package/src/retry.ts +35 -0
- package/src/sensitive.ts +4 -0
- package/src/traits.ts +4 -0
- package/bun.lock +0 -26
- package/index.ts +0 -1
- package/tsconfig.json +0 -29
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const CreateProjectBranchRoleInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
project_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
branch_id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
role: Schema.Struct({
|
|
11
|
+
name: Schema.String,
|
|
12
|
+
no_login: Schema.optional(Schema.Boolean),
|
|
13
|
+
}),
|
|
14
|
+
}).pipe(
|
|
15
|
+
T.Http({
|
|
16
|
+
method: "POST",
|
|
17
|
+
path: "/projects/{project_id}/branches/{branch_id}/roles",
|
|
18
|
+
}),
|
|
19
|
+
);
|
|
20
|
+
export type CreateProjectBranchRoleInput =
|
|
21
|
+
typeof CreateProjectBranchRoleInput.Type;
|
|
22
|
+
|
|
23
|
+
// Output Schema
|
|
24
|
+
export const CreateProjectBranchRoleOutput =
|
|
25
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
26
|
+
role: Schema.Struct({
|
|
27
|
+
branch_id: Schema.String,
|
|
28
|
+
name: Schema.String,
|
|
29
|
+
password: Schema.optional(Schema.String),
|
|
30
|
+
protected: Schema.optional(Schema.Boolean),
|
|
31
|
+
authentication_method: Schema.optional(Schema.String),
|
|
32
|
+
created_at: Schema.String,
|
|
33
|
+
updated_at: Schema.String,
|
|
34
|
+
}),
|
|
35
|
+
operations: Schema.Array(
|
|
36
|
+
Schema.Struct({
|
|
37
|
+
id: Schema.String,
|
|
38
|
+
project_id: Schema.String,
|
|
39
|
+
branch_id: Schema.optional(Schema.String),
|
|
40
|
+
endpoint_id: Schema.optional(Schema.String),
|
|
41
|
+
action: Schema.Literals([
|
|
42
|
+
"create_compute",
|
|
43
|
+
"create_timeline",
|
|
44
|
+
"start_compute",
|
|
45
|
+
"suspend_compute",
|
|
46
|
+
"apply_config",
|
|
47
|
+
"check_availability",
|
|
48
|
+
"delete_timeline",
|
|
49
|
+
"create_branch",
|
|
50
|
+
"import_data",
|
|
51
|
+
"tenant_ignore",
|
|
52
|
+
"tenant_attach",
|
|
53
|
+
"tenant_detach",
|
|
54
|
+
"tenant_reattach",
|
|
55
|
+
"replace_safekeeper",
|
|
56
|
+
"disable_maintenance",
|
|
57
|
+
"apply_storage_config",
|
|
58
|
+
"prepare_secondary_pageserver",
|
|
59
|
+
"switch_pageserver",
|
|
60
|
+
"detach_parent_branch",
|
|
61
|
+
"timeline_archive",
|
|
62
|
+
"timeline_unarchive",
|
|
63
|
+
"start_reserved_compute",
|
|
64
|
+
"sync_dbs_and_roles_from_compute",
|
|
65
|
+
"apply_schema_from_branch",
|
|
66
|
+
"timeline_mark_invisible",
|
|
67
|
+
"prewarm_replica",
|
|
68
|
+
"promote_replica",
|
|
69
|
+
"set_storage_non_dirty",
|
|
70
|
+
"swap_binding_id",
|
|
71
|
+
]),
|
|
72
|
+
status: Schema.Literals([
|
|
73
|
+
"scheduling",
|
|
74
|
+
"running",
|
|
75
|
+
"finished",
|
|
76
|
+
"failed",
|
|
77
|
+
"error",
|
|
78
|
+
"cancelling",
|
|
79
|
+
"cancelled",
|
|
80
|
+
"skipped",
|
|
81
|
+
]),
|
|
82
|
+
error: Schema.optional(Schema.String),
|
|
83
|
+
failures_count: Schema.Number,
|
|
84
|
+
retry_at: Schema.optional(Schema.String),
|
|
85
|
+
created_at: Schema.String,
|
|
86
|
+
updated_at: Schema.String,
|
|
87
|
+
total_duration_ms: Schema.Number,
|
|
88
|
+
}),
|
|
89
|
+
),
|
|
90
|
+
});
|
|
91
|
+
export type CreateProjectBranchRoleOutput =
|
|
92
|
+
typeof CreateProjectBranchRoleOutput.Type;
|
|
93
|
+
|
|
94
|
+
// The operation
|
|
95
|
+
/**
|
|
96
|
+
* Create role
|
|
97
|
+
*
|
|
98
|
+
* Creates a Postgres role in the specified branch.
|
|
99
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
100
|
+
* You can obtain the `branch_id` by listing the project's branches.
|
|
101
|
+
* For related information, see [Manage roles](https://neon.tech/docs/manage/roles/).
|
|
102
|
+
* Connections established to the active compute endpoint will be dropped.
|
|
103
|
+
* If the compute endpoint is idle, the endpoint becomes active for a short period of time and is suspended afterward.
|
|
104
|
+
*
|
|
105
|
+
* @param project_id - The Neon project ID
|
|
106
|
+
* @param branch_id - The branch ID
|
|
107
|
+
*/
|
|
108
|
+
export const createProjectBranchRole = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
109
|
+
() => ({
|
|
110
|
+
inputSchema: CreateProjectBranchRoleInput,
|
|
111
|
+
outputSchema: CreateProjectBranchRoleOutput,
|
|
112
|
+
}),
|
|
113
|
+
);
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const CreateProjectEndpointInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
project_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
endpoint: Schema.Struct({
|
|
10
|
+
branch_id: Schema.String,
|
|
11
|
+
region_id: Schema.optional(Schema.String),
|
|
12
|
+
type: Schema.Literals(["read_only", "read_write"]),
|
|
13
|
+
settings: Schema.optional(
|
|
14
|
+
Schema.Struct({
|
|
15
|
+
pg_settings: Schema.optional(
|
|
16
|
+
Schema.Record(Schema.String, Schema.String),
|
|
17
|
+
),
|
|
18
|
+
pgbouncer_settings: Schema.optional(
|
|
19
|
+
Schema.Record(Schema.String, Schema.String),
|
|
20
|
+
),
|
|
21
|
+
preload_libraries: Schema.optional(
|
|
22
|
+
Schema.Struct({
|
|
23
|
+
use_defaults: Schema.optional(Schema.Boolean),
|
|
24
|
+
enabled_libraries: Schema.optional(Schema.Array(Schema.String)),
|
|
25
|
+
}),
|
|
26
|
+
),
|
|
27
|
+
}),
|
|
28
|
+
),
|
|
29
|
+
autoscaling_limit_min_cu: Schema.optional(Schema.Number),
|
|
30
|
+
autoscaling_limit_max_cu: Schema.optional(Schema.Number),
|
|
31
|
+
provisioner: Schema.optional(Schema.String),
|
|
32
|
+
pooler_enabled: Schema.optional(Schema.Boolean),
|
|
33
|
+
pooler_mode: Schema.optional(Schema.Literals(["transaction"])),
|
|
34
|
+
disabled: Schema.optional(Schema.Boolean),
|
|
35
|
+
passwordless_access: Schema.optional(Schema.Boolean),
|
|
36
|
+
suspend_timeout_seconds: Schema.optional(Schema.Number),
|
|
37
|
+
name: Schema.optional(Schema.String),
|
|
38
|
+
}),
|
|
39
|
+
}).pipe(T.Http({ method: "POST", path: "/projects/{project_id}/endpoints" }));
|
|
40
|
+
export type CreateProjectEndpointInput = typeof CreateProjectEndpointInput.Type;
|
|
41
|
+
|
|
42
|
+
// Output Schema
|
|
43
|
+
export const CreateProjectEndpointOutput =
|
|
44
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
45
|
+
endpoint: Schema.Struct({
|
|
46
|
+
host: Schema.String,
|
|
47
|
+
id: Schema.String,
|
|
48
|
+
name: Schema.optional(Schema.String),
|
|
49
|
+
project_id: Schema.String,
|
|
50
|
+
branch_id: Schema.String,
|
|
51
|
+
autoscaling_limit_min_cu: Schema.Number,
|
|
52
|
+
autoscaling_limit_max_cu: Schema.Number,
|
|
53
|
+
region_id: Schema.String,
|
|
54
|
+
type: Schema.Literals(["read_only", "read_write"]),
|
|
55
|
+
current_state: Schema.Literals(["init", "active", "idle"]),
|
|
56
|
+
pending_state: Schema.optional(
|
|
57
|
+
Schema.Literals(["init", "active", "idle"]),
|
|
58
|
+
),
|
|
59
|
+
settings: Schema.Struct({
|
|
60
|
+
pg_settings: Schema.optional(
|
|
61
|
+
Schema.Record(Schema.String, Schema.String),
|
|
62
|
+
),
|
|
63
|
+
pgbouncer_settings: Schema.optional(
|
|
64
|
+
Schema.Record(Schema.String, Schema.String),
|
|
65
|
+
),
|
|
66
|
+
preload_libraries: Schema.optional(
|
|
67
|
+
Schema.Struct({
|
|
68
|
+
use_defaults: Schema.optional(Schema.Boolean),
|
|
69
|
+
enabled_libraries: Schema.optional(Schema.Array(Schema.String)),
|
|
70
|
+
}),
|
|
71
|
+
),
|
|
72
|
+
}),
|
|
73
|
+
pooler_enabled: Schema.Boolean,
|
|
74
|
+
pooler_mode: Schema.Literals(["transaction"]),
|
|
75
|
+
disabled: Schema.Boolean,
|
|
76
|
+
passwordless_access: Schema.Boolean,
|
|
77
|
+
last_active: Schema.optional(Schema.String),
|
|
78
|
+
creation_source: Schema.String,
|
|
79
|
+
created_at: Schema.String,
|
|
80
|
+
updated_at: Schema.String,
|
|
81
|
+
started_at: Schema.optional(Schema.String),
|
|
82
|
+
suspended_at: Schema.optional(Schema.String),
|
|
83
|
+
proxy_host: Schema.String,
|
|
84
|
+
suspend_timeout_seconds: Schema.Number,
|
|
85
|
+
provisioner: Schema.String,
|
|
86
|
+
compute_release_version: Schema.optional(Schema.String),
|
|
87
|
+
}),
|
|
88
|
+
operations: Schema.Array(
|
|
89
|
+
Schema.Struct({
|
|
90
|
+
id: Schema.String,
|
|
91
|
+
project_id: Schema.String,
|
|
92
|
+
branch_id: Schema.optional(Schema.String),
|
|
93
|
+
endpoint_id: Schema.optional(Schema.String),
|
|
94
|
+
action: Schema.Literals([
|
|
95
|
+
"create_compute",
|
|
96
|
+
"create_timeline",
|
|
97
|
+
"start_compute",
|
|
98
|
+
"suspend_compute",
|
|
99
|
+
"apply_config",
|
|
100
|
+
"check_availability",
|
|
101
|
+
"delete_timeline",
|
|
102
|
+
"create_branch",
|
|
103
|
+
"import_data",
|
|
104
|
+
"tenant_ignore",
|
|
105
|
+
"tenant_attach",
|
|
106
|
+
"tenant_detach",
|
|
107
|
+
"tenant_reattach",
|
|
108
|
+
"replace_safekeeper",
|
|
109
|
+
"disable_maintenance",
|
|
110
|
+
"apply_storage_config",
|
|
111
|
+
"prepare_secondary_pageserver",
|
|
112
|
+
"switch_pageserver",
|
|
113
|
+
"detach_parent_branch",
|
|
114
|
+
"timeline_archive",
|
|
115
|
+
"timeline_unarchive",
|
|
116
|
+
"start_reserved_compute",
|
|
117
|
+
"sync_dbs_and_roles_from_compute",
|
|
118
|
+
"apply_schema_from_branch",
|
|
119
|
+
"timeline_mark_invisible",
|
|
120
|
+
"prewarm_replica",
|
|
121
|
+
"promote_replica",
|
|
122
|
+
"set_storage_non_dirty",
|
|
123
|
+
"swap_binding_id",
|
|
124
|
+
]),
|
|
125
|
+
status: Schema.Literals([
|
|
126
|
+
"scheduling",
|
|
127
|
+
"running",
|
|
128
|
+
"finished",
|
|
129
|
+
"failed",
|
|
130
|
+
"error",
|
|
131
|
+
"cancelling",
|
|
132
|
+
"cancelled",
|
|
133
|
+
"skipped",
|
|
134
|
+
]),
|
|
135
|
+
error: Schema.optional(Schema.String),
|
|
136
|
+
failures_count: Schema.Number,
|
|
137
|
+
retry_at: Schema.optional(Schema.String),
|
|
138
|
+
created_at: Schema.String,
|
|
139
|
+
updated_at: Schema.String,
|
|
140
|
+
total_duration_ms: Schema.Number,
|
|
141
|
+
}),
|
|
142
|
+
),
|
|
143
|
+
});
|
|
144
|
+
export type CreateProjectEndpointOutput =
|
|
145
|
+
typeof CreateProjectEndpointOutput.Type;
|
|
146
|
+
|
|
147
|
+
// The operation
|
|
148
|
+
/**
|
|
149
|
+
* Create compute endpoint
|
|
150
|
+
*
|
|
151
|
+
* Creates a compute endpoint for the specified branch.
|
|
152
|
+
* An endpoint is a Neon compute instance.
|
|
153
|
+
* There is a maximum of one read-write compute endpoint per branch.
|
|
154
|
+
* If the specified branch already has a read-write compute endpoint, the operation fails.
|
|
155
|
+
* A branch can have multiple read-only compute endpoints.
|
|
156
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
157
|
+
* You can obtain `branch_id` by listing the project's branches.
|
|
158
|
+
* A `branch_id` has a `br-` prefix.
|
|
159
|
+
* For supported regions and `region_id` values, see [Regions](https://neon.tech/docs/introduction/regions/).
|
|
160
|
+
* For more information about compute endpoints, see [Manage computes](https://neon.tech/docs/manage/endpoints/).
|
|
161
|
+
*
|
|
162
|
+
* @param project_id - The Neon project ID
|
|
163
|
+
*/
|
|
164
|
+
export const createProjectEndpoint = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
165
|
+
() => ({
|
|
166
|
+
inputSchema: CreateProjectEndpointInput,
|
|
167
|
+
outputSchema: CreateProjectEndpointOutput,
|
|
168
|
+
}),
|
|
169
|
+
);
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const CreateProjectTransferRequestInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
project_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
ttl_seconds: Schema.optional(Schema.Number),
|
|
10
|
+
}).pipe(
|
|
11
|
+
T.Http({
|
|
12
|
+
method: "POST",
|
|
13
|
+
path: "/projects/{project_id}/transfer_requests",
|
|
14
|
+
}),
|
|
15
|
+
);
|
|
16
|
+
export type CreateProjectTransferRequestInput =
|
|
17
|
+
typeof CreateProjectTransferRequestInput.Type;
|
|
18
|
+
|
|
19
|
+
// Output Schema
|
|
20
|
+
export const CreateProjectTransferRequestOutput =
|
|
21
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22
|
+
id: Schema.String,
|
|
23
|
+
project_id: Schema.String,
|
|
24
|
+
created_at: Schema.String,
|
|
25
|
+
expires_at: Schema.String,
|
|
26
|
+
});
|
|
27
|
+
export type CreateProjectTransferRequestOutput =
|
|
28
|
+
typeof CreateProjectTransferRequestOutput.Type;
|
|
29
|
+
|
|
30
|
+
// The operation
|
|
31
|
+
/**
|
|
32
|
+
* Create a project transfer request
|
|
33
|
+
*
|
|
34
|
+
* Creates a transfer request for the specified project. A transfer request allows
|
|
35
|
+
* the project to be transferred to another account or organization. The request
|
|
36
|
+
* has an expiration time after which it can no longer be used. To accept/claim
|
|
37
|
+
* the transfer request, the recipient user/organization must call the
|
|
38
|
+
* `/projects/{project_id}/transfer_requests/{request_id}` API endpoint, or visit
|
|
39
|
+
* `https://console.neon.tech/app/claim?p={project_id}&tr={request_id}&ru={redirect_url}`
|
|
40
|
+
* in the Neon Console. The `ru` parameter is optional and can be used to redirect
|
|
41
|
+
* the user after accepting the transfer request.
|
|
42
|
+
*
|
|
43
|
+
* @param project_id - The Neon project ID
|
|
44
|
+
*/
|
|
45
|
+
export const createProjectTransferRequest =
|
|
46
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
47
|
+
inputSchema: CreateProjectTransferRequestInput,
|
|
48
|
+
outputSchema: CreateProjectTransferRequestOutput,
|
|
49
|
+
}));
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const CreateSnapshotInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
project_id: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
branch_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
lsn: Schema.optional(Schema.String),
|
|
10
|
+
timestamp: Schema.optional(Schema.String),
|
|
11
|
+
name: Schema.optional(Schema.String),
|
|
12
|
+
expires_at: Schema.optional(Schema.String),
|
|
13
|
+
}).pipe(
|
|
14
|
+
T.Http({
|
|
15
|
+
method: "POST",
|
|
16
|
+
path: "/projects/{project_id}/branches/{branch_id}/snapshot",
|
|
17
|
+
}),
|
|
18
|
+
);
|
|
19
|
+
export type CreateSnapshotInput = typeof CreateSnapshotInput.Type;
|
|
20
|
+
|
|
21
|
+
// Output Schema
|
|
22
|
+
export const CreateSnapshotOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
23
|
+
snapshot: Schema.Struct({
|
|
24
|
+
id: Schema.String,
|
|
25
|
+
name: Schema.String,
|
|
26
|
+
lsn: Schema.optional(Schema.String),
|
|
27
|
+
timestamp: Schema.optional(Schema.String),
|
|
28
|
+
source_branch_id: Schema.optional(Schema.String),
|
|
29
|
+
created_at: Schema.String,
|
|
30
|
+
expires_at: Schema.optional(Schema.String),
|
|
31
|
+
manual: Schema.optional(Schema.Boolean),
|
|
32
|
+
}),
|
|
33
|
+
operations: Schema.Array(
|
|
34
|
+
Schema.Struct({
|
|
35
|
+
id: Schema.String,
|
|
36
|
+
project_id: Schema.String,
|
|
37
|
+
branch_id: Schema.optional(Schema.String),
|
|
38
|
+
endpoint_id: Schema.optional(Schema.String),
|
|
39
|
+
action: Schema.Literals([
|
|
40
|
+
"create_compute",
|
|
41
|
+
"create_timeline",
|
|
42
|
+
"start_compute",
|
|
43
|
+
"suspend_compute",
|
|
44
|
+
"apply_config",
|
|
45
|
+
"check_availability",
|
|
46
|
+
"delete_timeline",
|
|
47
|
+
"create_branch",
|
|
48
|
+
"import_data",
|
|
49
|
+
"tenant_ignore",
|
|
50
|
+
"tenant_attach",
|
|
51
|
+
"tenant_detach",
|
|
52
|
+
"tenant_reattach",
|
|
53
|
+
"replace_safekeeper",
|
|
54
|
+
"disable_maintenance",
|
|
55
|
+
"apply_storage_config",
|
|
56
|
+
"prepare_secondary_pageserver",
|
|
57
|
+
"switch_pageserver",
|
|
58
|
+
"detach_parent_branch",
|
|
59
|
+
"timeline_archive",
|
|
60
|
+
"timeline_unarchive",
|
|
61
|
+
"start_reserved_compute",
|
|
62
|
+
"sync_dbs_and_roles_from_compute",
|
|
63
|
+
"apply_schema_from_branch",
|
|
64
|
+
"timeline_mark_invisible",
|
|
65
|
+
"prewarm_replica",
|
|
66
|
+
"promote_replica",
|
|
67
|
+
"set_storage_non_dirty",
|
|
68
|
+
"swap_binding_id",
|
|
69
|
+
]),
|
|
70
|
+
status: Schema.Literals([
|
|
71
|
+
"scheduling",
|
|
72
|
+
"running",
|
|
73
|
+
"finished",
|
|
74
|
+
"failed",
|
|
75
|
+
"error",
|
|
76
|
+
"cancelling",
|
|
77
|
+
"cancelled",
|
|
78
|
+
"skipped",
|
|
79
|
+
]),
|
|
80
|
+
error: Schema.optional(Schema.String),
|
|
81
|
+
failures_count: Schema.Number,
|
|
82
|
+
retry_at: Schema.optional(Schema.String),
|
|
83
|
+
created_at: Schema.String,
|
|
84
|
+
updated_at: Schema.String,
|
|
85
|
+
total_duration_ms: Schema.Number,
|
|
86
|
+
}),
|
|
87
|
+
),
|
|
88
|
+
});
|
|
89
|
+
export type CreateSnapshotOutput = typeof CreateSnapshotOutput.Type;
|
|
90
|
+
|
|
91
|
+
// The operation
|
|
92
|
+
/**
|
|
93
|
+
* Create snapshot
|
|
94
|
+
*
|
|
95
|
+
* Create a snapshot from the specified branch using the provided parameters.
|
|
96
|
+
* This endpoint may initiate an asynchronous operation.
|
|
97
|
+
* **Note**: This endpoint is currently in Beta.
|
|
98
|
+
*
|
|
99
|
+
* @param project_id - The Neon project ID
|
|
100
|
+
* @param branch_id - The branch ID
|
|
101
|
+
* @param lsn - The target Log Sequence Number (LSN) to take the snapshot from.
|
|
102
|
+
Must fall within the restore window. Cannot be used with `timestamp`
|
|
103
|
+
|
|
104
|
+
* @param timestamp - The target timestamp for the snapshot. Must fall within the restore window.
|
|
105
|
+
Use ISO 8601 format (e.g. 2025-08-05T22:00:00Z). Cannot be used with `lsn`.
|
|
106
|
+
|
|
107
|
+
* @param name - A name for the snapshot.
|
|
108
|
+
* @param expires_at - The time at which the snapshot will be automatically deleted.
|
|
109
|
+
Use ISO 8601 format (e.g. 2025-08-05T22:00:00Z).
|
|
110
|
+
|
|
111
|
+
*/
|
|
112
|
+
export const createSnapshot = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
113
|
+
inputSchema: CreateSnapshotInput,
|
|
114
|
+
outputSchema: CreateSnapshotOutput,
|
|
115
|
+
}));
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const DeleteBranchNeonAuthOauthProviderInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
project_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
branch_id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
oauth_provider_id: Schema.String.pipe(T.PathParam()),
|
|
11
|
+
}).pipe(
|
|
12
|
+
T.Http({
|
|
13
|
+
method: "DELETE",
|
|
14
|
+
path: "/projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}",
|
|
15
|
+
}),
|
|
16
|
+
);
|
|
17
|
+
export type DeleteBranchNeonAuthOauthProviderInput =
|
|
18
|
+
typeof DeleteBranchNeonAuthOauthProviderInput.Type;
|
|
19
|
+
|
|
20
|
+
// Output Schema
|
|
21
|
+
export const DeleteBranchNeonAuthOauthProviderOutput =
|
|
22
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
23
|
+
export type DeleteBranchNeonAuthOauthProviderOutput =
|
|
24
|
+
typeof DeleteBranchNeonAuthOauthProviderOutput.Type;
|
|
25
|
+
|
|
26
|
+
// The operation
|
|
27
|
+
/**
|
|
28
|
+
* Delete OAuth provider
|
|
29
|
+
*
|
|
30
|
+
* Deletes a OAuth provider from the specified project.
|
|
31
|
+
*
|
|
32
|
+
* @param project_id - The Neon project ID
|
|
33
|
+
* @param branch_id - The Neon branch ID
|
|
34
|
+
* @param oauth_provider_id - The OAuth provider ID
|
|
35
|
+
*/
|
|
36
|
+
export const deleteBranchNeonAuthOauthProvider =
|
|
37
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
38
|
+
inputSchema: DeleteBranchNeonAuthOauthProviderInput,
|
|
39
|
+
outputSchema: DeleteBranchNeonAuthOauthProviderOutput,
|
|
40
|
+
}));
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const DeleteBranchNeonAuthTrustedDomainInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
project_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
branch_id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
auth_provider: Schema.Literals([
|
|
11
|
+
"mock",
|
|
12
|
+
"stack",
|
|
13
|
+
"stack_v2",
|
|
14
|
+
"better_auth",
|
|
15
|
+
]),
|
|
16
|
+
domains: Schema.Array(
|
|
17
|
+
Schema.Struct({
|
|
18
|
+
domain: Schema.String,
|
|
19
|
+
}),
|
|
20
|
+
),
|
|
21
|
+
}).pipe(
|
|
22
|
+
T.Http({
|
|
23
|
+
method: "DELETE",
|
|
24
|
+
path: "/projects/{project_id}/branches/{branch_id}/auth/domains",
|
|
25
|
+
}),
|
|
26
|
+
);
|
|
27
|
+
export type DeleteBranchNeonAuthTrustedDomainInput =
|
|
28
|
+
typeof DeleteBranchNeonAuthTrustedDomainInput.Type;
|
|
29
|
+
|
|
30
|
+
// Output Schema
|
|
31
|
+
export const DeleteBranchNeonAuthTrustedDomainOutput =
|
|
32
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
33
|
+
export type DeleteBranchNeonAuthTrustedDomainOutput =
|
|
34
|
+
typeof DeleteBranchNeonAuthTrustedDomainOutput.Type;
|
|
35
|
+
|
|
36
|
+
// The operation
|
|
37
|
+
/**
|
|
38
|
+
* Delete domain from redirect_uri whitelist
|
|
39
|
+
*
|
|
40
|
+
* Deletes a domain from the redirect_uri whitelist for the specified project.
|
|
41
|
+
*
|
|
42
|
+
* @param project_id - The Neon project ID
|
|
43
|
+
* @param branch_id - The Neon branch ID
|
|
44
|
+
*/
|
|
45
|
+
export const deleteBranchNeonAuthTrustedDomain =
|
|
46
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
47
|
+
inputSchema: DeleteBranchNeonAuthTrustedDomainInput,
|
|
48
|
+
outputSchema: DeleteBranchNeonAuthTrustedDomainOutput,
|
|
49
|
+
}));
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const DeleteBranchNeonAuthUserInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
project_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
branch_id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
auth_user_id: Schema.String.pipe(T.PathParam()),
|
|
11
|
+
}).pipe(
|
|
12
|
+
T.Http({
|
|
13
|
+
method: "DELETE",
|
|
14
|
+
path: "/projects/{project_id}/branches/{branch_id}/auth/users/{auth_user_id}",
|
|
15
|
+
}),
|
|
16
|
+
);
|
|
17
|
+
export type DeleteBranchNeonAuthUserInput =
|
|
18
|
+
typeof DeleteBranchNeonAuthUserInput.Type;
|
|
19
|
+
|
|
20
|
+
// Output Schema
|
|
21
|
+
export const DeleteBranchNeonAuthUserOutput =
|
|
22
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
23
|
+
export type DeleteBranchNeonAuthUserOutput =
|
|
24
|
+
typeof DeleteBranchNeonAuthUserOutput.Type;
|
|
25
|
+
|
|
26
|
+
// The operation
|
|
27
|
+
/**
|
|
28
|
+
* Delete auth user
|
|
29
|
+
*
|
|
30
|
+
* Deletes the auth user for the specified project.
|
|
31
|
+
*
|
|
32
|
+
* @param project_id - The Neon project ID
|
|
33
|
+
* @param branch_id - The Neon branch ID
|
|
34
|
+
* @param auth_user_id - The Neon user ID
|
|
35
|
+
*/
|
|
36
|
+
export const deleteBranchNeonAuthUser = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
37
|
+
() => ({
|
|
38
|
+
inputSchema: DeleteBranchNeonAuthUserInput,
|
|
39
|
+
outputSchema: DeleteBranchNeonAuthUserOutput,
|
|
40
|
+
}),
|
|
41
|
+
);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const DeleteOrganizationVPCEndpointInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
org_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
region_id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
vpc_endpoint_id: Schema.String.pipe(T.PathParam()),
|
|
11
|
+
}).pipe(
|
|
12
|
+
T.Http({
|
|
13
|
+
method: "DELETE",
|
|
14
|
+
path: "/organizations/{org_id}/vpc/region/{region_id}/vpc_endpoints/{vpc_endpoint_id}",
|
|
15
|
+
}),
|
|
16
|
+
);
|
|
17
|
+
export type DeleteOrganizationVPCEndpointInput =
|
|
18
|
+
typeof DeleteOrganizationVPCEndpointInput.Type;
|
|
19
|
+
|
|
20
|
+
// Output Schema
|
|
21
|
+
export const DeleteOrganizationVPCEndpointOutput =
|
|
22
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
23
|
+
export type DeleteOrganizationVPCEndpointOutput =
|
|
24
|
+
typeof DeleteOrganizationVPCEndpointOutput.Type;
|
|
25
|
+
|
|
26
|
+
// The operation
|
|
27
|
+
/**
|
|
28
|
+
* Delete VPC endpoint
|
|
29
|
+
*
|
|
30
|
+
* Deletes the VPC endpoint from the specified Neon organization.
|
|
31
|
+
* If you delete a VPC endpoint from a Neon organization, that VPC endpoint cannot
|
|
32
|
+
* be added back to the Neon organization.
|
|
33
|
+
*
|
|
34
|
+
* @param org_id - The Neon organization ID
|
|
35
|
+
* @param region_id - The Neon region ID.
|
|
36
|
+
Azure regions are currently not supported.
|
|
37
|
+
|
|
38
|
+
* @param vpc_endpoint_id - The VPC endpoint ID
|
|
39
|
+
*/
|
|
40
|
+
export const deleteOrganizationVPCEndpoint =
|
|
41
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
42
|
+
inputSchema: DeleteOrganizationVPCEndpointInput,
|
|
43
|
+
outputSchema: DeleteOrganizationVPCEndpointOutput,
|
|
44
|
+
}));
|