@distilled.cloud/neon 0.0.0 → 0.2.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/category.d.ts +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 +45 -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/README.md +0 -15
- package/bun.lock +0 -26
- package/index.ts +0 -1
- package/tsconfig.json +0 -29
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const ListProjectBranchesInput: Schema.Struct<{
|
|
3
|
+
readonly project_id: Schema.String;
|
|
4
|
+
readonly search: Schema.optional<Schema.String>;
|
|
5
|
+
readonly sort_by: Schema.optional<Schema.Literals<readonly ["name", "created_at", "updated_at"]>>;
|
|
6
|
+
readonly cursor: Schema.optional<Schema.String>;
|
|
7
|
+
readonly sort_order: Schema.optional<Schema.Literals<readonly ["asc", "desc"]>>;
|
|
8
|
+
readonly limit: Schema.optional<Schema.Number>;
|
|
9
|
+
}>;
|
|
10
|
+
export type ListProjectBranchesInput = typeof ListProjectBranchesInput.Type;
|
|
11
|
+
export declare const ListProjectBranchesOutput: Schema.Struct<{
|
|
12
|
+
readonly branches: Schema.$Array<Schema.Struct<{
|
|
13
|
+
readonly id: Schema.String;
|
|
14
|
+
readonly project_id: Schema.String;
|
|
15
|
+
readonly parent_id: Schema.optional<Schema.String>;
|
|
16
|
+
readonly parent_lsn: Schema.optional<Schema.String>;
|
|
17
|
+
readonly parent_timestamp: Schema.optional<Schema.String>;
|
|
18
|
+
readonly name: Schema.String;
|
|
19
|
+
readonly current_state: Schema.String;
|
|
20
|
+
readonly pending_state: Schema.optional<Schema.String>;
|
|
21
|
+
readonly state_changed_at: Schema.String;
|
|
22
|
+
readonly logical_size: Schema.optional<Schema.Number>;
|
|
23
|
+
readonly creation_source: Schema.String;
|
|
24
|
+
readonly primary: Schema.optional<Schema.Boolean>;
|
|
25
|
+
readonly default: Schema.Boolean;
|
|
26
|
+
readonly protected: Schema.Boolean;
|
|
27
|
+
readonly cpu_used_sec: Schema.Number;
|
|
28
|
+
readonly compute_time_seconds: Schema.Number;
|
|
29
|
+
readonly active_time_seconds: Schema.Number;
|
|
30
|
+
readonly written_data_bytes: Schema.Number;
|
|
31
|
+
readonly data_transfer_bytes: Schema.Number;
|
|
32
|
+
readonly created_at: Schema.String;
|
|
33
|
+
readonly updated_at: Schema.String;
|
|
34
|
+
readonly ttl_interval_seconds: Schema.optional<Schema.Number>;
|
|
35
|
+
readonly expires_at: Schema.optional<Schema.String>;
|
|
36
|
+
readonly last_reset_at: Schema.optional<Schema.String>;
|
|
37
|
+
readonly created_by: Schema.optional<Schema.Struct<{
|
|
38
|
+
readonly name: Schema.optional<Schema.String>;
|
|
39
|
+
readonly image: Schema.optional<Schema.String>;
|
|
40
|
+
}>>;
|
|
41
|
+
readonly init_source: Schema.optional<Schema.String>;
|
|
42
|
+
readonly restore_status: Schema.optional<Schema.String>;
|
|
43
|
+
readonly restored_from: Schema.optional<Schema.String>;
|
|
44
|
+
readonly restored_as: Schema.optional<Schema.String>;
|
|
45
|
+
readonly restricted_actions: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
46
|
+
readonly name: Schema.String;
|
|
47
|
+
readonly reason: Schema.String;
|
|
48
|
+
}>>>;
|
|
49
|
+
}>>;
|
|
50
|
+
readonly annotations: Schema.$Record<Schema.String, Schema.Struct<{
|
|
51
|
+
readonly object: Schema.Struct<{
|
|
52
|
+
readonly type: Schema.String;
|
|
53
|
+
readonly id: Schema.String;
|
|
54
|
+
}>;
|
|
55
|
+
readonly value: Schema.$Record<Schema.String, Schema.String>;
|
|
56
|
+
readonly created_at: Schema.optional<Schema.String>;
|
|
57
|
+
readonly updated_at: Schema.optional<Schema.String>;
|
|
58
|
+
}>>;
|
|
59
|
+
readonly pagination: Schema.optional<Schema.Struct<{
|
|
60
|
+
readonly next: Schema.optional<Schema.String>;
|
|
61
|
+
readonly sort_by: Schema.optional<Schema.String>;
|
|
62
|
+
readonly sort_order: Schema.optional<Schema.String>;
|
|
63
|
+
}>>;
|
|
64
|
+
}>;
|
|
65
|
+
export type ListProjectBranchesOutput = typeof ListProjectBranchesOutput.Type;
|
|
66
|
+
/**
|
|
67
|
+
* List branches
|
|
68
|
+
*
|
|
69
|
+
* Retrieves a list of branches for the specified project.
|
|
70
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
71
|
+
* Each Neon project has a root branch named `main`.
|
|
72
|
+
* A `branch_id` value has a `br-` prefix.
|
|
73
|
+
* A project may contain child branches that were branched from `main` or from another branch.
|
|
74
|
+
* A parent branch is identified by the `parent_id` value, which is the `id` of the parent branch.
|
|
75
|
+
* For related information, see [Manage branches](https://neon.tech/docs/manage/branches/).
|
|
76
|
+
*
|
|
77
|
+
* @param project_id - The Neon project ID
|
|
78
|
+
* @param search - Search by branch `name` or `id`. You can specify partial `name` or `id` values to filter results.
|
|
79
|
+
* @param sort_by - Sort the branches by sort_field. If not provided, branches will be sorted by updated_at descending order
|
|
80
|
+
* @param cursor - A cursor to use in pagination. A cursor defines your place in the data list. Include `response.pagination.next` in subsequent API calls to fetch next page of the list.
|
|
81
|
+
* @param sort_order - Defines the sorting order of entities.
|
|
82
|
+
* @param limit - The maximum number of records to be returned in the response
|
|
83
|
+
*/
|
|
84
|
+
export declare const listProjectBranches: any;
|
|
85
|
+
//# sourceMappingURL=listProjectBranches.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listProjectBranches.d.ts","sourceRoot":"","sources":["../../src/operations/listProjectBranches.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wBAAwB;;;;;;;EAUwC,CAAC;AAC9E,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmElC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,mBAAmB,KAG7B,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const ListProjectBranchesInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
project_id: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
search: Schema.optional(Schema.String),
|
|
9
|
+
sort_by: Schema.optional(Schema.Literals(["name", "created_at", "updated_at"])),
|
|
10
|
+
cursor: Schema.optional(Schema.String),
|
|
11
|
+
sort_order: Schema.optional(Schema.Literals(["asc", "desc"])),
|
|
12
|
+
limit: Schema.optional(Schema.Number),
|
|
13
|
+
}).pipe(T.Http({ method: "GET", path: "/projects/{project_id}/branches" }));
|
|
14
|
+
// Output Schema
|
|
15
|
+
export const ListProjectBranchesOutput =
|
|
16
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
17
|
+
branches: Schema.Array(Schema.Struct({
|
|
18
|
+
id: Schema.String,
|
|
19
|
+
project_id: Schema.String,
|
|
20
|
+
parent_id: Schema.optional(Schema.String),
|
|
21
|
+
parent_lsn: Schema.optional(Schema.String),
|
|
22
|
+
parent_timestamp: Schema.optional(Schema.String),
|
|
23
|
+
name: Schema.String,
|
|
24
|
+
current_state: Schema.String,
|
|
25
|
+
pending_state: Schema.optional(Schema.String),
|
|
26
|
+
state_changed_at: Schema.String,
|
|
27
|
+
logical_size: Schema.optional(Schema.Number),
|
|
28
|
+
creation_source: Schema.String,
|
|
29
|
+
primary: Schema.optional(Schema.Boolean),
|
|
30
|
+
default: Schema.Boolean,
|
|
31
|
+
protected: Schema.Boolean,
|
|
32
|
+
cpu_used_sec: Schema.Number,
|
|
33
|
+
compute_time_seconds: Schema.Number,
|
|
34
|
+
active_time_seconds: Schema.Number,
|
|
35
|
+
written_data_bytes: Schema.Number,
|
|
36
|
+
data_transfer_bytes: Schema.Number,
|
|
37
|
+
created_at: Schema.String,
|
|
38
|
+
updated_at: Schema.String,
|
|
39
|
+
ttl_interval_seconds: Schema.optional(Schema.Number),
|
|
40
|
+
expires_at: Schema.optional(Schema.String),
|
|
41
|
+
last_reset_at: Schema.optional(Schema.String),
|
|
42
|
+
created_by: Schema.optional(Schema.Struct({
|
|
43
|
+
name: Schema.optional(Schema.String),
|
|
44
|
+
image: Schema.optional(Schema.String),
|
|
45
|
+
})),
|
|
46
|
+
init_source: Schema.optional(Schema.String),
|
|
47
|
+
restore_status: Schema.optional(Schema.String),
|
|
48
|
+
restored_from: Schema.optional(Schema.String),
|
|
49
|
+
restored_as: Schema.optional(Schema.String),
|
|
50
|
+
restricted_actions: Schema.optional(Schema.Array(Schema.Struct({
|
|
51
|
+
name: Schema.String,
|
|
52
|
+
reason: Schema.String,
|
|
53
|
+
}))),
|
|
54
|
+
})),
|
|
55
|
+
annotations: Schema.Record(Schema.String, Schema.Struct({
|
|
56
|
+
object: Schema.Struct({
|
|
57
|
+
type: Schema.String,
|
|
58
|
+
id: Schema.String,
|
|
59
|
+
}),
|
|
60
|
+
value: Schema.Record(Schema.String, Schema.String),
|
|
61
|
+
created_at: Schema.optional(Schema.String),
|
|
62
|
+
updated_at: Schema.optional(Schema.String),
|
|
63
|
+
})),
|
|
64
|
+
pagination: Schema.optional(Schema.Struct({
|
|
65
|
+
next: Schema.optional(Schema.String),
|
|
66
|
+
sort_by: Schema.optional(Schema.String),
|
|
67
|
+
sort_order: Schema.optional(Schema.String),
|
|
68
|
+
})),
|
|
69
|
+
});
|
|
70
|
+
// The operation
|
|
71
|
+
/**
|
|
72
|
+
* List branches
|
|
73
|
+
*
|
|
74
|
+
* Retrieves a list of branches for the specified project.
|
|
75
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
76
|
+
* Each Neon project has a root branch named `main`.
|
|
77
|
+
* A `branch_id` value has a `br-` prefix.
|
|
78
|
+
* A project may contain child branches that were branched from `main` or from another branch.
|
|
79
|
+
* A parent branch is identified by the `parent_id` value, which is the `id` of the parent branch.
|
|
80
|
+
* For related information, see [Manage branches](https://neon.tech/docs/manage/branches/).
|
|
81
|
+
*
|
|
82
|
+
* @param project_id - The Neon project ID
|
|
83
|
+
* @param search - Search by branch `name` or `id`. You can specify partial `name` or `id` values to filter results.
|
|
84
|
+
* @param sort_by - Sort the branches by sort_field. If not provided, branches will be sorted by updated_at descending order
|
|
85
|
+
* @param cursor - A cursor to use in pagination. A cursor defines your place in the data list. Include `response.pagination.next` in subsequent API calls to fetch next page of the list.
|
|
86
|
+
* @param sort_order - Defines the sorting order of entities.
|
|
87
|
+
* @param limit - The maximum number of records to be returned in the response
|
|
88
|
+
*/
|
|
89
|
+
export const listProjectBranches = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
90
|
+
inputSchema: ListProjectBranchesInput,
|
|
91
|
+
outputSchema: ListProjectBranchesOutput,
|
|
92
|
+
}));
|
|
93
|
+
//# sourceMappingURL=listProjectBranches.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listProjectBranches.js","sourceRoot":"","sources":["../../src/operations/listProjectBranches.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const ListProjectEndpointsInput: Schema.Struct<{
|
|
3
|
+
readonly project_id: Schema.String;
|
|
4
|
+
}>;
|
|
5
|
+
export type ListProjectEndpointsInput = typeof ListProjectEndpointsInput.Type;
|
|
6
|
+
export declare const ListProjectEndpointsOutput: Schema.Struct<{
|
|
7
|
+
readonly endpoints: Schema.$Array<Schema.Struct<{
|
|
8
|
+
readonly host: Schema.String;
|
|
9
|
+
readonly id: Schema.String;
|
|
10
|
+
readonly name: Schema.optional<Schema.String>;
|
|
11
|
+
readonly project_id: Schema.String;
|
|
12
|
+
readonly branch_id: Schema.String;
|
|
13
|
+
readonly autoscaling_limit_min_cu: Schema.Number;
|
|
14
|
+
readonly autoscaling_limit_max_cu: Schema.Number;
|
|
15
|
+
readonly region_id: Schema.String;
|
|
16
|
+
readonly type: Schema.Literals<readonly ["read_only", "read_write"]>;
|
|
17
|
+
readonly current_state: Schema.Literals<readonly ["init", "active", "idle"]>;
|
|
18
|
+
readonly pending_state: Schema.optional<Schema.Literals<readonly ["init", "active", "idle"]>>;
|
|
19
|
+
readonly settings: Schema.Struct<{
|
|
20
|
+
readonly pg_settings: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
21
|
+
readonly pgbouncer_settings: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
22
|
+
readonly preload_libraries: Schema.optional<Schema.Struct<{
|
|
23
|
+
readonly use_defaults: Schema.optional<Schema.Boolean>;
|
|
24
|
+
readonly enabled_libraries: Schema.optional<Schema.$Array<Schema.String>>;
|
|
25
|
+
}>>;
|
|
26
|
+
}>;
|
|
27
|
+
readonly pooler_enabled: Schema.Boolean;
|
|
28
|
+
readonly pooler_mode: Schema.Literals<readonly ["transaction"]>;
|
|
29
|
+
readonly disabled: Schema.Boolean;
|
|
30
|
+
readonly passwordless_access: Schema.Boolean;
|
|
31
|
+
readonly last_active: Schema.optional<Schema.String>;
|
|
32
|
+
readonly creation_source: Schema.String;
|
|
33
|
+
readonly created_at: Schema.String;
|
|
34
|
+
readonly updated_at: Schema.String;
|
|
35
|
+
readonly started_at: Schema.optional<Schema.String>;
|
|
36
|
+
readonly suspended_at: Schema.optional<Schema.String>;
|
|
37
|
+
readonly proxy_host: Schema.String;
|
|
38
|
+
readonly suspend_timeout_seconds: Schema.Number;
|
|
39
|
+
readonly provisioner: Schema.String;
|
|
40
|
+
readonly compute_release_version: Schema.optional<Schema.String>;
|
|
41
|
+
}>>;
|
|
42
|
+
}>;
|
|
43
|
+
export type ListProjectEndpointsOutput = typeof ListProjectEndpointsOutput.Type;
|
|
44
|
+
/**
|
|
45
|
+
* List compute endpoints
|
|
46
|
+
*
|
|
47
|
+
* Retrieves a list of compute endpoints for the specified project.
|
|
48
|
+
* A compute endpoint is a Neon compute instance.
|
|
49
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
50
|
+
* For information about compute endpoints, see [Manage computes](https://neon.tech/docs/manage/endpoints/).
|
|
51
|
+
*
|
|
52
|
+
* @param project_id - The Neon project ID
|
|
53
|
+
*/
|
|
54
|
+
export declare const listProjectEndpoints: any;
|
|
55
|
+
//# sourceMappingURL=listProjectEndpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listProjectEndpoints.d.ts","sourceRoot":"","sources":["../../src/operations/listProjectEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,yBAAyB;;EAGwC,CAAC;AAC/E,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CnC,CAAC;AACL,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB,KAKhC,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const ListProjectEndpointsInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
project_id: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
}).pipe(T.Http({ method: "GET", path: "/projects/{project_id}/endpoints" }));
|
|
9
|
+
// Output Schema
|
|
10
|
+
export const ListProjectEndpointsOutput =
|
|
11
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
12
|
+
endpoints: Schema.Array(Schema.Struct({
|
|
13
|
+
host: Schema.String,
|
|
14
|
+
id: Schema.String,
|
|
15
|
+
name: Schema.optional(Schema.String),
|
|
16
|
+
project_id: Schema.String,
|
|
17
|
+
branch_id: Schema.String,
|
|
18
|
+
autoscaling_limit_min_cu: Schema.Number,
|
|
19
|
+
autoscaling_limit_max_cu: Schema.Number,
|
|
20
|
+
region_id: Schema.String,
|
|
21
|
+
type: Schema.Literals(["read_only", "read_write"]),
|
|
22
|
+
current_state: Schema.Literals(["init", "active", "idle"]),
|
|
23
|
+
pending_state: Schema.optional(Schema.Literals(["init", "active", "idle"])),
|
|
24
|
+
settings: Schema.Struct({
|
|
25
|
+
pg_settings: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
26
|
+
pgbouncer_settings: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
27
|
+
preload_libraries: Schema.optional(Schema.Struct({
|
|
28
|
+
use_defaults: Schema.optional(Schema.Boolean),
|
|
29
|
+
enabled_libraries: Schema.optional(Schema.Array(Schema.String)),
|
|
30
|
+
})),
|
|
31
|
+
}),
|
|
32
|
+
pooler_enabled: Schema.Boolean,
|
|
33
|
+
pooler_mode: Schema.Literals(["transaction"]),
|
|
34
|
+
disabled: Schema.Boolean,
|
|
35
|
+
passwordless_access: Schema.Boolean,
|
|
36
|
+
last_active: Schema.optional(Schema.String),
|
|
37
|
+
creation_source: Schema.String,
|
|
38
|
+
created_at: Schema.String,
|
|
39
|
+
updated_at: Schema.String,
|
|
40
|
+
started_at: Schema.optional(Schema.String),
|
|
41
|
+
suspended_at: Schema.optional(Schema.String),
|
|
42
|
+
proxy_host: Schema.String,
|
|
43
|
+
suspend_timeout_seconds: Schema.Number,
|
|
44
|
+
provisioner: Schema.String,
|
|
45
|
+
compute_release_version: Schema.optional(Schema.String),
|
|
46
|
+
})),
|
|
47
|
+
});
|
|
48
|
+
// The operation
|
|
49
|
+
/**
|
|
50
|
+
* List compute endpoints
|
|
51
|
+
*
|
|
52
|
+
* Retrieves a list of compute endpoints for the specified project.
|
|
53
|
+
* A compute endpoint is a Neon compute instance.
|
|
54
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
55
|
+
* For information about compute endpoints, see [Manage computes](https://neon.tech/docs/manage/endpoints/).
|
|
56
|
+
*
|
|
57
|
+
* @param project_id - The Neon project ID
|
|
58
|
+
*/
|
|
59
|
+
export const listProjectEndpoints = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
60
|
+
inputSchema: ListProjectEndpointsInput,
|
|
61
|
+
outputSchema: ListProjectEndpointsOutput,
|
|
62
|
+
}));
|
|
63
|
+
//# sourceMappingURL=listProjectEndpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listProjectEndpoints.js","sourceRoot":"","sources":["../../src/operations/listProjectEndpoints.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const ListProjectOperationsInput: Schema.Struct<{
|
|
3
|
+
readonly project_id: Schema.String;
|
|
4
|
+
readonly cursor: Schema.optional<Schema.String>;
|
|
5
|
+
readonly limit: Schema.optional<Schema.Number>;
|
|
6
|
+
}>;
|
|
7
|
+
export type ListProjectOperationsInput = typeof ListProjectOperationsInput.Type;
|
|
8
|
+
export declare const ListProjectOperationsOutput: Schema.Struct<{
|
|
9
|
+
readonly operations: Schema.$Array<Schema.Struct<{
|
|
10
|
+
readonly id: Schema.String;
|
|
11
|
+
readonly project_id: Schema.String;
|
|
12
|
+
readonly branch_id: Schema.optional<Schema.String>;
|
|
13
|
+
readonly endpoint_id: Schema.optional<Schema.String>;
|
|
14
|
+
readonly action: Schema.Literals<readonly ["create_compute", "create_timeline", "start_compute", "suspend_compute", "apply_config", "check_availability", "delete_timeline", "create_branch", "import_data", "tenant_ignore", "tenant_attach", "tenant_detach", "tenant_reattach", "replace_safekeeper", "disable_maintenance", "apply_storage_config", "prepare_secondary_pageserver", "switch_pageserver", "detach_parent_branch", "timeline_archive", "timeline_unarchive", "start_reserved_compute", "sync_dbs_and_roles_from_compute", "apply_schema_from_branch", "timeline_mark_invisible", "prewarm_replica", "promote_replica", "set_storage_non_dirty", "swap_binding_id"]>;
|
|
15
|
+
readonly status: Schema.Literals<readonly ["scheduling", "running", "finished", "failed", "error", "cancelling", "cancelled", "skipped"]>;
|
|
16
|
+
readonly error: Schema.optional<Schema.String>;
|
|
17
|
+
readonly failures_count: Schema.Number;
|
|
18
|
+
readonly retry_at: Schema.optional<Schema.String>;
|
|
19
|
+
readonly created_at: Schema.String;
|
|
20
|
+
readonly updated_at: Schema.String;
|
|
21
|
+
readonly total_duration_ms: Schema.Number;
|
|
22
|
+
}>>;
|
|
23
|
+
readonly pagination: Schema.optional<Schema.Struct<{
|
|
24
|
+
readonly cursor: Schema.String;
|
|
25
|
+
}>>;
|
|
26
|
+
}>;
|
|
27
|
+
export type ListProjectOperationsOutput = typeof ListProjectOperationsOutput.Type;
|
|
28
|
+
/**
|
|
29
|
+
* List operations
|
|
30
|
+
*
|
|
31
|
+
* Retrieves a list of operations for the specified Neon project.
|
|
32
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
33
|
+
* The number of operations returned can be large.
|
|
34
|
+
* To paginate the response, issue an initial request with a `limit` value.
|
|
35
|
+
* Then, add the `cursor` value that was returned in the response to the next request.
|
|
36
|
+
* Operations older than 6 months may be deleted from our systems.
|
|
37
|
+
* If you need more history than that, you should store your own history.
|
|
38
|
+
*
|
|
39
|
+
* @param cursor - Specify the cursor value from the previous response to get the next batch of operations
|
|
40
|
+
* @param limit - Specify a value from 1 to 1000 to limit number of operations in the response
|
|
41
|
+
* @param project_id - The Neon project ID
|
|
42
|
+
*/
|
|
43
|
+
export declare const listProjectOperations: any;
|
|
44
|
+
//# sourceMappingURL=listProjectOperations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listProjectOperations.d.ts","sourceRoot":"","sources":["../../src/operations/listProjectOperations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;;EAKwC,CAAC;AAChF,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;EA8DpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,qBAAqB,KAKjC,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const ListProjectOperationsInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
project_id: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
cursor: Schema.optional(Schema.String),
|
|
9
|
+
limit: Schema.optional(Schema.Number),
|
|
10
|
+
}).pipe(T.Http({ method: "GET", path: "/projects/{project_id}/operations" }));
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const ListProjectOperationsOutput =
|
|
13
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
|
+
operations: Schema.Array(Schema.Struct({
|
|
15
|
+
id: Schema.String,
|
|
16
|
+
project_id: Schema.String,
|
|
17
|
+
branch_id: Schema.optional(Schema.String),
|
|
18
|
+
endpoint_id: Schema.optional(Schema.String),
|
|
19
|
+
action: Schema.Literals([
|
|
20
|
+
"create_compute",
|
|
21
|
+
"create_timeline",
|
|
22
|
+
"start_compute",
|
|
23
|
+
"suspend_compute",
|
|
24
|
+
"apply_config",
|
|
25
|
+
"check_availability",
|
|
26
|
+
"delete_timeline",
|
|
27
|
+
"create_branch",
|
|
28
|
+
"import_data",
|
|
29
|
+
"tenant_ignore",
|
|
30
|
+
"tenant_attach",
|
|
31
|
+
"tenant_detach",
|
|
32
|
+
"tenant_reattach",
|
|
33
|
+
"replace_safekeeper",
|
|
34
|
+
"disable_maintenance",
|
|
35
|
+
"apply_storage_config",
|
|
36
|
+
"prepare_secondary_pageserver",
|
|
37
|
+
"switch_pageserver",
|
|
38
|
+
"detach_parent_branch",
|
|
39
|
+
"timeline_archive",
|
|
40
|
+
"timeline_unarchive",
|
|
41
|
+
"start_reserved_compute",
|
|
42
|
+
"sync_dbs_and_roles_from_compute",
|
|
43
|
+
"apply_schema_from_branch",
|
|
44
|
+
"timeline_mark_invisible",
|
|
45
|
+
"prewarm_replica",
|
|
46
|
+
"promote_replica",
|
|
47
|
+
"set_storage_non_dirty",
|
|
48
|
+
"swap_binding_id",
|
|
49
|
+
]),
|
|
50
|
+
status: Schema.Literals([
|
|
51
|
+
"scheduling",
|
|
52
|
+
"running",
|
|
53
|
+
"finished",
|
|
54
|
+
"failed",
|
|
55
|
+
"error",
|
|
56
|
+
"cancelling",
|
|
57
|
+
"cancelled",
|
|
58
|
+
"skipped",
|
|
59
|
+
]),
|
|
60
|
+
error: Schema.optional(Schema.String),
|
|
61
|
+
failures_count: Schema.Number,
|
|
62
|
+
retry_at: Schema.optional(Schema.String),
|
|
63
|
+
created_at: Schema.String,
|
|
64
|
+
updated_at: Schema.String,
|
|
65
|
+
total_duration_ms: Schema.Number,
|
|
66
|
+
})),
|
|
67
|
+
pagination: Schema.optional(Schema.Struct({
|
|
68
|
+
cursor: Schema.String,
|
|
69
|
+
})),
|
|
70
|
+
});
|
|
71
|
+
// The operation
|
|
72
|
+
/**
|
|
73
|
+
* List operations
|
|
74
|
+
*
|
|
75
|
+
* Retrieves a list of operations for the specified Neon project.
|
|
76
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
77
|
+
* The number of operations returned can be large.
|
|
78
|
+
* To paginate the response, issue an initial request with a `limit` value.
|
|
79
|
+
* Then, add the `cursor` value that was returned in the response to the next request.
|
|
80
|
+
* Operations older than 6 months may be deleted from our systems.
|
|
81
|
+
* If you need more history than that, you should store your own history.
|
|
82
|
+
*
|
|
83
|
+
* @param cursor - Specify the cursor value from the previous response to get the next batch of operations
|
|
84
|
+
* @param limit - Specify a value from 1 to 1000 to limit number of operations in the response
|
|
85
|
+
* @param project_id - The Neon project ID
|
|
86
|
+
*/
|
|
87
|
+
export const listProjectOperations = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
88
|
+
inputSchema: ListProjectOperationsInput,
|
|
89
|
+
outputSchema: ListProjectOperationsOutput,
|
|
90
|
+
}));
|
|
91
|
+
//# sourceMappingURL=listProjectOperations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listProjectOperations.js","sourceRoot":"","sources":["../../src/operations/listProjectOperations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC7C,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACtC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,mCAAmC,EAAE,CAAC,CAAC,CAAC;AAGhF,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B;AACtC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,KAAK,CACtB,MAAM,CAAC,MAAM,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,UAAU,EAAE,MAAM,CAAC,MAAM;QACzB,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACzC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC3C,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC;YACtB,gBAAgB;YAChB,iBAAiB;YACjB,eAAe;YACf,iBAAiB;YACjB,cAAc;YACd,oBAAoB;YACpB,iBAAiB;YACjB,eAAe;YACf,aAAa;YACb,eAAe;YACf,eAAe;YACf,eAAe;YACf,iBAAiB;YACjB,oBAAoB;YACpB,qBAAqB;YACrB,sBAAsB;YACtB,8BAA8B;YAC9B,mBAAmB;YACnB,sBAAsB;YACtB,kBAAkB;YAClB,oBAAoB;YACpB,wBAAwB;YACxB,iCAAiC;YACjC,0BAA0B;YAC1B,yBAAyB;YACzB,iBAAiB;YACjB,iBAAiB;YACjB,uBAAuB;YACvB,iBAAiB;SAClB,CAAC;QACF,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC;YACtB,YAAY;YACZ,SAAS;YACT,UAAU;YACV,QAAQ;YACR,OAAO;YACP,YAAY;YACZ,WAAW;YACX,SAAS;SACV,CAAC;QACF,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACrC,cAAc,EAAE,MAAM,CAAC,MAAM;QAC7B,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACxC,UAAU,EAAE,MAAM,CAAC,MAAM;QACzB,UAAU,EAAE,MAAM,CAAC,MAAM;QACzB,iBAAiB,EAAE,MAAM,CAAC,MAAM;KACjC,CAAC,CACH;IACD,UAAU,EAAE,MAAM,CAAC,QAAQ,CACzB,MAAM,CAAC,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC,MAAM;KACtB,CAAC,CACH;CACF,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACvE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,0BAA0B;IACvC,YAAY,EAAE,2BAA2B;CAC1C,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const ListProjectPermissionsInput: Schema.Struct<{
|
|
3
|
+
readonly project_id: Schema.String;
|
|
4
|
+
}>;
|
|
5
|
+
export type ListProjectPermissionsInput = typeof ListProjectPermissionsInput.Type;
|
|
6
|
+
export declare const ListProjectPermissionsOutput: Schema.Struct<{
|
|
7
|
+
readonly project_permissions: Schema.$Array<Schema.Struct<{
|
|
8
|
+
readonly id: Schema.String;
|
|
9
|
+
readonly granted_to_email: Schema.String;
|
|
10
|
+
readonly granted_at: Schema.String;
|
|
11
|
+
readonly revoked_at: Schema.optional<Schema.String>;
|
|
12
|
+
}>>;
|
|
13
|
+
}>;
|
|
14
|
+
export type ListProjectPermissionsOutput = typeof ListProjectPermissionsOutput.Type;
|
|
15
|
+
/**
|
|
16
|
+
* List project access
|
|
17
|
+
*
|
|
18
|
+
* Retrieves details about users who have access to the project, including the permission `id`, the granted-to email address, and the date project access was granted.
|
|
19
|
+
*/
|
|
20
|
+
export declare const listProjectPermissions: any;
|
|
21
|
+
//# sourceMappingURL=listProjectPermissions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listProjectPermissions.d.ts","sourceRoot":"","sources":["../../src/operations/listProjectPermissions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,2BAA2B;;EAKrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C,eAAO,MAAM,4BAA4B;;;;;;;EAUrC,CAAC;AACL,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,KAKlC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const ListProjectPermissionsInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
project_id: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
}).pipe(T.Http({ method: "GET", path: "/projects/{project_id}/permissions" }));
|
|
9
|
+
// Output Schema
|
|
10
|
+
export const ListProjectPermissionsOutput =
|
|
11
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
12
|
+
project_permissions: Schema.Array(Schema.Struct({
|
|
13
|
+
id: Schema.String,
|
|
14
|
+
granted_to_email: Schema.String,
|
|
15
|
+
granted_at: Schema.String,
|
|
16
|
+
revoked_at: Schema.optional(Schema.String),
|
|
17
|
+
})),
|
|
18
|
+
});
|
|
19
|
+
// The operation
|
|
20
|
+
/**
|
|
21
|
+
* List project access
|
|
22
|
+
*
|
|
23
|
+
* Retrieves details about users who have access to the project, including the permission `id`, the granted-to email address, and the date project access was granted.
|
|
24
|
+
*/
|
|
25
|
+
export const listProjectPermissions = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
26
|
+
inputSchema: ListProjectPermissionsInput,
|
|
27
|
+
outputSchema: ListProjectPermissionsOutput,
|
|
28
|
+
}));
|
|
29
|
+
//# sourceMappingURL=listProjectPermissions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listProjectPermissions.js","sourceRoot":"","sources":["../../src/operations/listProjectPermissions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,2BAA2B;AACtC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC9C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,oCAAoC,EAAE,CAAC,CACtE,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B;AACvC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,mBAAmB,EAAE,MAAM,CAAC,KAAK,CAC/B,MAAM,CAAC,MAAM,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,gBAAgB,EAAE,MAAM,CAAC,MAAM;QAC/B,UAAU,EAAE,MAAM,CAAC,MAAM;QACzB,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KAC3C,CAAC,CACH;CACF,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACxE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,2BAA2B;IACxC,YAAY,EAAE,4BAA4B;CAC3C,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const ListProjectVPCEndpointsInput: Schema.Struct<{
|
|
3
|
+
readonly project_id: Schema.String;
|
|
4
|
+
}>;
|
|
5
|
+
export type ListProjectVPCEndpointsInput = typeof ListProjectVPCEndpointsInput.Type;
|
|
6
|
+
export declare const ListProjectVPCEndpointsOutput: Schema.Struct<{
|
|
7
|
+
readonly endpoints: Schema.$Array<Schema.Struct<{
|
|
8
|
+
readonly vpc_endpoint_id: Schema.String;
|
|
9
|
+
readonly label: Schema.String;
|
|
10
|
+
}>>;
|
|
11
|
+
}>;
|
|
12
|
+
export type ListProjectVPCEndpointsOutput = typeof ListProjectVPCEndpointsOutput.Type;
|
|
13
|
+
/**
|
|
14
|
+
* List VPC endpoint restrictions
|
|
15
|
+
*
|
|
16
|
+
* Lists VPC endpoint restrictions for the specified Neon project.
|
|
17
|
+
*
|
|
18
|
+
* @param project_id - The Neon project ID
|
|
19
|
+
*/
|
|
20
|
+
export declare const listProjectVPCEndpoints: any;
|
|
21
|
+
//# sourceMappingURL=listProjectVPCEndpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listProjectVPCEndpoints.d.ts","sourceRoot":"","sources":["../../src/operations/listProjectVPCEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,4BAA4B;;EAKtC,CAAC;AACJ,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C,eAAO,MAAM,6BAA6B;;;;;EAQtC,CAAC;AACL,MAAM,MAAM,6BAA6B,GACvC,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAG5C;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,KAKnC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const ListProjectVPCEndpointsInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
project_id: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
}).pipe(T.Http({ method: "GET", path: "/projects/{project_id}/vpc_endpoints" }));
|
|
9
|
+
// Output Schema
|
|
10
|
+
export const ListProjectVPCEndpointsOutput =
|
|
11
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
12
|
+
endpoints: Schema.Array(Schema.Struct({
|
|
13
|
+
vpc_endpoint_id: Schema.String,
|
|
14
|
+
label: Schema.String,
|
|
15
|
+
})),
|
|
16
|
+
});
|
|
17
|
+
// The operation
|
|
18
|
+
/**
|
|
19
|
+
* List VPC endpoint restrictions
|
|
20
|
+
*
|
|
21
|
+
* Lists VPC endpoint restrictions for the specified Neon project.
|
|
22
|
+
*
|
|
23
|
+
* @param project_id - The Neon project ID
|
|
24
|
+
*/
|
|
25
|
+
export const listProjectVPCEndpoints = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
26
|
+
inputSchema: ListProjectVPCEndpointsInput,
|
|
27
|
+
outputSchema: ListProjectVPCEndpointsOutput,
|
|
28
|
+
}));
|
|
29
|
+
//# sourceMappingURL=listProjectVPCEndpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listProjectVPCEndpoints.js","sourceRoot":"","sources":["../../src/operations/listProjectVPCEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,4BAA4B;AACvC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC9C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,sCAAsC,EAAE,CAAC,CACxE,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B;AACxC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,SAAS,EAAE,MAAM,CAAC,KAAK,CACrB,MAAM,CAAC,MAAM,CAAC;QACZ,eAAe,EAAE,MAAM,CAAC,MAAM;QAC9B,KAAK,EAAE,MAAM,CAAC,MAAM;KACrB,CAAC,CACH;CACF,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACzE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,4BAA4B;IACzC,YAAY,EAAE,6BAA6B;CAC5C,CAAC,CACH,CAAC"}
|