@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,26 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const GetActiveRegionsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/regions" }));
|
|
6
|
+
// Output Schema
|
|
7
|
+
export const GetActiveRegionsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
regions: Schema.Array(Schema.Struct({
|
|
9
|
+
region_id: Schema.String,
|
|
10
|
+
name: Schema.String,
|
|
11
|
+
default: Schema.Boolean,
|
|
12
|
+
geo_lat: Schema.String,
|
|
13
|
+
geo_long: Schema.String,
|
|
14
|
+
})),
|
|
15
|
+
});
|
|
16
|
+
// The operation
|
|
17
|
+
/**
|
|
18
|
+
* List supported regions
|
|
19
|
+
*
|
|
20
|
+
* Lists supported Neon regions
|
|
21
|
+
*/
|
|
22
|
+
export const getActiveRegions = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
23
|
+
inputSchema: GetActiveRegionsInput,
|
|
24
|
+
outputSchema: GetActiveRegionsOutput,
|
|
25
|
+
}));
|
|
26
|
+
//# sourceMappingURL=getActiveRegions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getActiveRegions.js","sourceRoot":"","sources":["../../src/operations/getActiveRegions.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,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAC5E,EAAE,CACH,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;AAGpD,gBAAgB;AAChB,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAC7E;IACE,OAAO,EAAE,MAAM,CAAC,KAAK,CACnB,MAAM,CAAC,MAAM,CAAC;QACZ,SAAS,EAAE,MAAM,CAAC,MAAM;QACxB,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,OAAO,EAAE,MAAM,CAAC,OAAO;QACvB,OAAO,EAAE,MAAM,CAAC,MAAM;QACtB,QAAQ,EAAE,MAAM,CAAC,MAAM;KACxB,CAAC,CACH;CACF,CACF,CAAC;AAGF,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1E,WAAW,EAAE,qBAAqB;IAClC,YAAY,EAAE,sBAAsB;CACrC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const GetAnonymizedBranchStatusInput: Schema.Struct<{
|
|
3
|
+
readonly project_id: Schema.String;
|
|
4
|
+
readonly branch_id: Schema.String;
|
|
5
|
+
}>;
|
|
6
|
+
export type GetAnonymizedBranchStatusInput = typeof GetAnonymizedBranchStatusInput.Type;
|
|
7
|
+
export declare const GetAnonymizedBranchStatusOutput: Schema.Struct<{
|
|
8
|
+
readonly project_id: Schema.String;
|
|
9
|
+
readonly branch_id: Schema.String;
|
|
10
|
+
readonly state: Schema.String;
|
|
11
|
+
readonly status_message: Schema.optional<Schema.String>;
|
|
12
|
+
readonly created_at: Schema.String;
|
|
13
|
+
readonly updated_at: Schema.String;
|
|
14
|
+
readonly failed_at: Schema.optional<Schema.String>;
|
|
15
|
+
readonly last_run: Schema.optional<Schema.Struct<{
|
|
16
|
+
readonly started_at: Schema.optional<Schema.String>;
|
|
17
|
+
readonly completed_at: Schema.optional<Schema.String>;
|
|
18
|
+
readonly triggered_by: Schema.optional<Schema.String>;
|
|
19
|
+
readonly triggered_by_username: Schema.optional<Schema.String>;
|
|
20
|
+
readonly masked_columns: Schema.optional<Schema.Number>;
|
|
21
|
+
}>>;
|
|
22
|
+
}>;
|
|
23
|
+
export type GetAnonymizedBranchStatusOutput = typeof GetAnonymizedBranchStatusOutput.Type;
|
|
24
|
+
/**
|
|
25
|
+
* Get anonymized branch status
|
|
26
|
+
*
|
|
27
|
+
* Retrieves the current status of an anonymized branch, including its state and progress information.
|
|
28
|
+
* This endpoint allows you to monitor the anonymization process from initialization through completion.
|
|
29
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
30
|
+
* You can obtain the `branch_id` by listing the project's branches.
|
|
31
|
+
* Only anonymized branches will have status information available.
|
|
32
|
+
* **Note**: This endpoint is currently in Beta.
|
|
33
|
+
*
|
|
34
|
+
* @param project_id - The Neon project ID
|
|
35
|
+
* @param branch_id - The branch ID
|
|
36
|
+
*/
|
|
37
|
+
export declare const getAnonymizedBranchStatus: any;
|
|
38
|
+
//# sourceMappingURL=getAnonymizedBranchStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAnonymizedBranchStatus.d.ts","sourceRoot":"","sources":["../../src/operations/getAnonymizedBranchStatus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,8BAA8B;;;EASxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;EAkBxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,yBAAyB,KAKrC,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const GetAnonymizedBranchStatusInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
project_id: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
branch_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(T.Http({
|
|
10
|
+
method: "GET",
|
|
11
|
+
path: "/projects/{project_id}/branches/{branch_id}/anonymized_status",
|
|
12
|
+
}));
|
|
13
|
+
// Output Schema
|
|
14
|
+
export const GetAnonymizedBranchStatusOutput =
|
|
15
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
16
|
+
project_id: Schema.String,
|
|
17
|
+
branch_id: Schema.String,
|
|
18
|
+
state: Schema.String,
|
|
19
|
+
status_message: Schema.optional(Schema.String),
|
|
20
|
+
created_at: Schema.String,
|
|
21
|
+
updated_at: Schema.String,
|
|
22
|
+
failed_at: Schema.optional(Schema.String),
|
|
23
|
+
last_run: Schema.optional(Schema.Struct({
|
|
24
|
+
started_at: Schema.optional(Schema.String),
|
|
25
|
+
completed_at: Schema.optional(Schema.String),
|
|
26
|
+
triggered_by: Schema.optional(Schema.String),
|
|
27
|
+
triggered_by_username: Schema.optional(Schema.String),
|
|
28
|
+
masked_columns: Schema.optional(Schema.Number),
|
|
29
|
+
})),
|
|
30
|
+
});
|
|
31
|
+
// The operation
|
|
32
|
+
/**
|
|
33
|
+
* Get anonymized branch status
|
|
34
|
+
*
|
|
35
|
+
* Retrieves the current status of an anonymized branch, including its state and progress information.
|
|
36
|
+
* This endpoint allows you to monitor the anonymization process from initialization through completion.
|
|
37
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
38
|
+
* You can obtain the `branch_id` by listing the project's branches.
|
|
39
|
+
* Only anonymized branches will have status information available.
|
|
40
|
+
* **Note**: This endpoint is currently in Beta.
|
|
41
|
+
*
|
|
42
|
+
* @param project_id - The Neon project ID
|
|
43
|
+
* @param branch_id - The branch ID
|
|
44
|
+
*/
|
|
45
|
+
export const getAnonymizedBranchStatus = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
46
|
+
inputSchema: GetAnonymizedBranchStatusInput,
|
|
47
|
+
outputSchema: GetAnonymizedBranchStatusOutput,
|
|
48
|
+
}));
|
|
49
|
+
//# sourceMappingURL=getAnonymizedBranchStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAnonymizedBranchStatus.js","sourceRoot":"","sources":["../../src/operations/getAnonymizedBranchStatus.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,8BAA8B;AACzC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC7C,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC7C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,+DAA+D;CACtE,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,+BAA+B;AAC1C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,MAAM;IACzB,SAAS,EAAE,MAAM,CAAC,MAAM;IACxB,KAAK,EAAE,MAAM,CAAC,MAAM;IACpB,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC9C,UAAU,EAAE,MAAM,CAAC,MAAM;IACzB,UAAU,EAAE,MAAM,CAAC,MAAM;IACzB,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACzC,QAAQ,EAAE,MAAM,CAAC,QAAQ,CACvB,MAAM,CAAC,MAAM,CAAC;QACZ,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC1C,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC5C,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC5C,qBAAqB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACrD,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KAC/C,CAAC,CACH;CACF,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC3E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,8BAA8B;IAC3C,YAAY,EAAE,+BAA+B;CAC9C,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const GetAuthDetailsInput: Schema.Struct<{}>;
|
|
3
|
+
export type GetAuthDetailsInput = typeof GetAuthDetailsInput.Type;
|
|
4
|
+
export declare const GetAuthDetailsOutput: Schema.Struct<{
|
|
5
|
+
readonly account_id: Schema.String;
|
|
6
|
+
readonly auth_method: Schema.Literals<readonly ["keycloak", "session_cookie", "api_key_user", "api_key_org", "oauth"]>;
|
|
7
|
+
readonly auth_data: Schema.optional<Schema.String>;
|
|
8
|
+
}>;
|
|
9
|
+
export type GetAuthDetailsOutput = typeof GetAuthDetailsOutput.Type;
|
|
10
|
+
/**
|
|
11
|
+
* Get request authentication details
|
|
12
|
+
*
|
|
13
|
+
* Returns auth information about the passed credentials. It can refer to an API key, Bearer token or OAuth session.
|
|
14
|
+
*/
|
|
15
|
+
export declare const getAuthDetails: any;
|
|
16
|
+
//# sourceMappingURL=getAuthDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAuthDetails.d.ts","sourceRoot":"","sources":["../../src/operations/getAuthDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,mBAAmB,mBAEgB,CAAC;AACjD,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;EAU/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;GAIG;AACH,eAAO,MAAM,cAAc,KAGxB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const GetAuthDetailsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/auth" }));
|
|
6
|
+
// Output Schema
|
|
7
|
+
export const GetAuthDetailsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
account_id: Schema.String,
|
|
9
|
+
auth_method: Schema.Literals([
|
|
10
|
+
"keycloak",
|
|
11
|
+
"session_cookie",
|
|
12
|
+
"api_key_user",
|
|
13
|
+
"api_key_org",
|
|
14
|
+
"oauth",
|
|
15
|
+
]),
|
|
16
|
+
auth_data: Schema.optional(Schema.String),
|
|
17
|
+
});
|
|
18
|
+
// The operation
|
|
19
|
+
/**
|
|
20
|
+
* Get request authentication details
|
|
21
|
+
*
|
|
22
|
+
* Returns auth information about the passed credentials. It can refer to an API key, Bearer token or OAuth session.
|
|
23
|
+
*/
|
|
24
|
+
export const getAuthDetails = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
25
|
+
inputSchema: GetAuthDetailsInput,
|
|
26
|
+
outputSchema: GetAuthDetailsOutput,
|
|
27
|
+
}));
|
|
28
|
+
//# sourceMappingURL=getAuthDetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAuthDetails.js","sourceRoot":"","sources":["../../src/operations/getAuthDetails.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,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAC1E,EAAE,CACH,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC;AAGjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5E,UAAU,EAAE,MAAM,CAAC,MAAM;IACzB,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC;QAC3B,UAAU;QACV,gBAAgB;QAChB,cAAc;QACd,aAAa;QACb,OAAO;KACR,CAAC;IACF,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC1C,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACxE,WAAW,EAAE,mBAAmB;IAChC,YAAY,EAAE,oBAAoB;CACnC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const GetAvailablePreloadLibrariesInput: Schema.Struct<{
|
|
3
|
+
readonly project_id: Schema.String;
|
|
4
|
+
}>;
|
|
5
|
+
export type GetAvailablePreloadLibrariesInput = typeof GetAvailablePreloadLibrariesInput.Type;
|
|
6
|
+
export declare const GetAvailablePreloadLibrariesOutput: Schema.Struct<{
|
|
7
|
+
readonly libraries: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
8
|
+
readonly library_name: Schema.String;
|
|
9
|
+
readonly description: Schema.String;
|
|
10
|
+
readonly is_default: Schema.Boolean;
|
|
11
|
+
readonly is_experimental: Schema.Boolean;
|
|
12
|
+
readonly version: Schema.String;
|
|
13
|
+
}>>>;
|
|
14
|
+
}>;
|
|
15
|
+
export type GetAvailablePreloadLibrariesOutput = typeof GetAvailablePreloadLibrariesOutput.Type;
|
|
16
|
+
/**
|
|
17
|
+
* Return available shared preload libraries
|
|
18
|
+
*/
|
|
19
|
+
export declare const getAvailablePreloadLibraries: any;
|
|
20
|
+
//# sourceMappingURL=getAvailablePreloadLibraries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAvailablePreloadLibraries.d.ts","sourceRoot":"","sources":["../../src/operations/getAvailablePreloadLibraries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,iCAAiC;;EAQ3C,CAAC;AACJ,MAAM,MAAM,iCAAiC,GAC3C,OAAO,iCAAiC,CAAC,IAAI,CAAC;AAGhD,eAAO,MAAM,kCAAkC;;;;;;;;EAa3C,CAAC;AACL,MAAM,MAAM,kCAAkC,GAC5C,OAAO,kCAAkC,CAAC,IAAI,CAAC;AAGjD;;GAEG;AACH,eAAO,MAAM,4BAA4B,KAIpC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const GetAvailablePreloadLibrariesInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
project_id: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
}).pipe(T.Http({
|
|
9
|
+
method: "GET",
|
|
10
|
+
path: "/projects/{project_id}/available_preload_libraries",
|
|
11
|
+
}));
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const GetAvailablePreloadLibrariesOutput =
|
|
14
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
15
|
+
libraries: Schema.optional(Schema.Array(Schema.Struct({
|
|
16
|
+
library_name: Schema.String,
|
|
17
|
+
description: Schema.String,
|
|
18
|
+
is_default: Schema.Boolean,
|
|
19
|
+
is_experimental: Schema.Boolean,
|
|
20
|
+
version: Schema.String,
|
|
21
|
+
}))),
|
|
22
|
+
});
|
|
23
|
+
// The operation
|
|
24
|
+
/**
|
|
25
|
+
* Return available shared preload libraries
|
|
26
|
+
*/
|
|
27
|
+
export const getAvailablePreloadLibraries =
|
|
28
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
29
|
+
inputSchema: GetAvailablePreloadLibrariesInput,
|
|
30
|
+
outputSchema: GetAvailablePreloadLibrariesOutput,
|
|
31
|
+
}));
|
|
32
|
+
//# sourceMappingURL=getAvailablePreloadLibraries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAvailablePreloadLibraries.js","sourceRoot":"","sources":["../../src/operations/getAvailablePreloadLibraries.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,iCAAiC;AAC5C,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;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,oDAAoD;CAC3D,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC;AAC7C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,SAAS,EAAE,MAAM,CAAC,QAAQ,CACxB,MAAM,CAAC,KAAK,CACV,MAAM,CAAC,MAAM,CAAC;QACZ,YAAY,EAAE,MAAM,CAAC,MAAM;QAC3B,WAAW,EAAE,MAAM,CAAC,MAAM;QAC1B,UAAU,EAAE,MAAM,CAAC,OAAO;QAC1B,eAAe,EAAE,MAAM,CAAC,OAAO;QAC/B,OAAO,EAAE,MAAM,CAAC,MAAM;KACvB,CAAC,CACH,CACF;CACF,CAAC,CAAC;AAIL,gBAAgB;AAChB;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B;AACvC,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,iCAAiC;IAC9C,YAAY,EAAE,kCAAkC;CACjD,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const GetConnectionURIInput: Schema.Struct<{
|
|
3
|
+
readonly project_id: Schema.String;
|
|
4
|
+
readonly branch_id: Schema.optional<Schema.String>;
|
|
5
|
+
readonly endpoint_id: Schema.optional<Schema.String>;
|
|
6
|
+
readonly database_name: Schema.String;
|
|
7
|
+
readonly role_name: Schema.String;
|
|
8
|
+
readonly pooled: Schema.optional<Schema.Boolean>;
|
|
9
|
+
}>;
|
|
10
|
+
export type GetConnectionURIInput = typeof GetConnectionURIInput.Type;
|
|
11
|
+
export declare const GetConnectionURIOutput: Schema.Struct<{
|
|
12
|
+
readonly uri: Schema.String;
|
|
13
|
+
}>;
|
|
14
|
+
export type GetConnectionURIOutput = typeof GetConnectionURIOutput.Type;
|
|
15
|
+
/**
|
|
16
|
+
* Retrieve connection URI
|
|
17
|
+
*
|
|
18
|
+
* Retrieves a connection URI for the specified database.
|
|
19
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
20
|
+
* You can obtain the `database_name` by listing the databases for a branch.
|
|
21
|
+
* You can obtain a `role_name` by listing the roles for a branch.
|
|
22
|
+
*
|
|
23
|
+
* @param project_id - The Neon project ID
|
|
24
|
+
* @param branch_id - The branch ID. Defaults to your project's default `branch_id` if not specified.
|
|
25
|
+
* @param endpoint_id - The endpoint ID. Defaults to the read-write `endpoint_id` associated with the `branch_id` if not specified.
|
|
26
|
+
* @param database_name - The database name
|
|
27
|
+
* @param role_name - The role name
|
|
28
|
+
* @param pooled - Adds the `-pooler` option to the connection URI when set to `true`, creating a pooled connection URI.
|
|
29
|
+
*/
|
|
30
|
+
export declare const getConnectionURI: any;
|
|
31
|
+
//# sourceMappingURL=getConnectionURI.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConnectionURI.d.ts","sourceRoot":"","sources":["../../src/operations/getConnectionURI.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,qBAAqB;;;;;;;EASjC,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE,eAAO,MAAM,sBAAsB;;EAIlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB,KAG1B,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const GetConnectionURIInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
|
+
project_id: Schema.String.pipe(T.PathParam()),
|
|
7
|
+
branch_id: Schema.optional(Schema.String),
|
|
8
|
+
endpoint_id: Schema.optional(Schema.String),
|
|
9
|
+
database_name: Schema.String,
|
|
10
|
+
role_name: Schema.String,
|
|
11
|
+
pooled: Schema.optional(Schema.Boolean),
|
|
12
|
+
}).pipe(T.Http({ method: "GET", path: "/projects/{project_id}/connection_uri" }));
|
|
13
|
+
// Output Schema
|
|
14
|
+
export const GetConnectionURIOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
15
|
+
uri: Schema.String,
|
|
16
|
+
});
|
|
17
|
+
// The operation
|
|
18
|
+
/**
|
|
19
|
+
* Retrieve connection URI
|
|
20
|
+
*
|
|
21
|
+
* Retrieves a connection URI for the specified database.
|
|
22
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
23
|
+
* You can obtain the `database_name` by listing the databases for a branch.
|
|
24
|
+
* You can obtain a `role_name` by listing the roles for a branch.
|
|
25
|
+
*
|
|
26
|
+
* @param project_id - The Neon project ID
|
|
27
|
+
* @param branch_id - The branch ID. Defaults to your project's default `branch_id` if not specified.
|
|
28
|
+
* @param endpoint_id - The endpoint ID. Defaults to the read-write `endpoint_id` associated with the `branch_id` if not specified.
|
|
29
|
+
* @param database_name - The database name
|
|
30
|
+
* @param role_name - The role name
|
|
31
|
+
* @param pooled - Adds the `-pooler` option to the connection URI when set to `true`, creating a pooled connection URI.
|
|
32
|
+
*/
|
|
33
|
+
export const getConnectionURI = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
34
|
+
inputSchema: GetConnectionURIInput,
|
|
35
|
+
outputSchema: GetConnectionURIOutput,
|
|
36
|
+
}));
|
|
37
|
+
//# sourceMappingURL=getConnectionURI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConnectionURI.js","sourceRoot":"","sources":["../../src/operations/getConnectionURI.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,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC7E,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC7C,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACzC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,aAAa,EAAE,MAAM,CAAC,MAAM;IAC5B,SAAS,EAAE,MAAM,CAAC,MAAM;IACxB,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;CACxC,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,uCAAuC,EAAE,CAAC,CACzE,CAAC;AAGF,gBAAgB;AAChB,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAC7E;IACE,GAAG,EAAE,MAAM,CAAC,MAAM;CACnB,CACF,CAAC;AAGF,gBAAgB;AAChB;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1E,WAAW,EAAE,qBAAqB;IAClC,YAAY,EAAE,sBAAsB;CACrC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const GetConsumptionHistoryPerAccountInput: Schema.Struct<{
|
|
3
|
+
readonly from: Schema.String;
|
|
4
|
+
readonly to: Schema.String;
|
|
5
|
+
readonly granularity: Schema.String;
|
|
6
|
+
readonly org_id: Schema.optional<Schema.String>;
|
|
7
|
+
readonly include_v1_metrics: Schema.optional<Schema.Boolean>;
|
|
8
|
+
readonly metrics: Schema.optional<Schema.String>;
|
|
9
|
+
}>;
|
|
10
|
+
export type GetConsumptionHistoryPerAccountInput = typeof GetConsumptionHistoryPerAccountInput.Type;
|
|
11
|
+
export declare const GetConsumptionHistoryPerAccountOutput: Schema.Struct<{
|
|
12
|
+
readonly periods: Schema.$Array<Schema.Struct<{
|
|
13
|
+
readonly period_id: Schema.String;
|
|
14
|
+
readonly period_plan: Schema.String;
|
|
15
|
+
readonly period_start: Schema.String;
|
|
16
|
+
readonly period_end: Schema.optional<Schema.String>;
|
|
17
|
+
readonly consumption: Schema.$Array<Schema.Struct<{
|
|
18
|
+
readonly timeframe_start: Schema.String;
|
|
19
|
+
readonly timeframe_end: Schema.String;
|
|
20
|
+
readonly active_time_seconds: Schema.Number;
|
|
21
|
+
readonly compute_time_seconds: Schema.Number;
|
|
22
|
+
readonly written_data_bytes: Schema.Number;
|
|
23
|
+
readonly synthetic_storage_size_bytes: Schema.Number;
|
|
24
|
+
readonly data_storage_bytes_hour: Schema.optional<Schema.Number>;
|
|
25
|
+
readonly logical_size_bytes: Schema.optional<Schema.Number>;
|
|
26
|
+
readonly logical_size_bytes_hour: Schema.optional<Schema.Number>;
|
|
27
|
+
}>>;
|
|
28
|
+
}>>;
|
|
29
|
+
}>;
|
|
30
|
+
export type GetConsumptionHistoryPerAccountOutput = typeof GetConsumptionHistoryPerAccountOutput.Type;
|
|
31
|
+
/**
|
|
32
|
+
* Retrieve account consumption metrics (legacy plans)
|
|
33
|
+
*
|
|
34
|
+
* Retrieves consumption metrics for Scale and Enterprise plan accounts, and for legacy Scale, Business, and Enterprise plan accounts.
|
|
35
|
+
* Consumption history begins at the time the account was upgraded to a supported plan.
|
|
36
|
+
*
|
|
37
|
+
* @param from - Specify the start `date-time` for the consumption period.
|
|
38
|
+
The `date-time` value is rounded according to the specified `granularity`.
|
|
39
|
+
For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`.
|
|
40
|
+
The specified `date-time` value must respect the specified granularity:
|
|
41
|
+
- For `hourly`, consumption metrics are limited to the last 168 hours.
|
|
42
|
+
- For `daily`, consumption metrics are limited to the last 60 days.
|
|
43
|
+
- For `monthly`, consumption metrics are limited to the past year.
|
|
44
|
+
|
|
45
|
+
The consumption history is available starting from `March 1, 2024, at 00:00:00 UTC`.
|
|
46
|
+
|
|
47
|
+
* @param to - Specify the end `date-time` for the consumption period.
|
|
48
|
+
The `date-time` value is rounded according to the specified granularity.
|
|
49
|
+
For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`.
|
|
50
|
+
The specified `date-time` value must respect the specified granularity:
|
|
51
|
+
- For `hourly`, consumption metrics are limited to the last 168 hours.
|
|
52
|
+
- For `daily`, consumption metrics are limited to the last 60 days.
|
|
53
|
+
- For `monthly`, consumption metrics are limited to the past year.
|
|
54
|
+
|
|
55
|
+
* @param granularity - Specify the granularity of consumption metrics.
|
|
56
|
+
Hourly, daily, and monthly metrics are available for the last 168 hours, 60 days,
|
|
57
|
+
and 1 year, respectively.
|
|
58
|
+
|
|
59
|
+
* @param org_id - Specify the organization for which the consumption metrics should be returned.
|
|
60
|
+
If this parameter is not provided, the endpoint will return the metrics for the
|
|
61
|
+
authenticated user's account.
|
|
62
|
+
|
|
63
|
+
* @param include_v1_metrics - The field is deprecated. Please use `metrics` instead.
|
|
64
|
+
If `metrics` is specified, this field is ignored.
|
|
65
|
+
Include metrics utilized in previous pricing models.
|
|
66
|
+
- **data_storage_bytes_hour**: The sum of the maximum observed storage values for each hour
|
|
67
|
+
for each project, which never decreases.
|
|
68
|
+
|
|
69
|
+
* @param metrics - Specify a list of metrics to include in the response.
|
|
70
|
+
If omitted, active_time, compute_time, written_data, synthetic_storage_size are returned.
|
|
71
|
+
Possible values:
|
|
72
|
+
- `active_time_seconds`
|
|
73
|
+
- `compute_time_seconds`
|
|
74
|
+
- `written_data_bytes`
|
|
75
|
+
- `synthetic_storage_size_bytes`
|
|
76
|
+
- `data_storage_bytes_hour`
|
|
77
|
+
|
|
78
|
+
A list of metrics can be specified as an array of parameter values or as a comma-separated list in a single parameter value.
|
|
79
|
+
- As an array of parameter values: `metrics=cpu_seconds&metrics=ram_bytes`
|
|
80
|
+
- As a comma-separated list in a single parameter value: `metrics=cpu_seconds,ram_bytes`
|
|
81
|
+
|
|
82
|
+
*/
|
|
83
|
+
export declare const getConsumptionHistoryPerAccount: any;
|
|
84
|
+
//# sourceMappingURL=getConsumptionHistoryPerAccount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConsumptionHistoryPerAccount.d.ts","sourceRoot":"","sources":["../../src/operations/getConsumptionHistoryPerAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,oCAAoC;;;;;;;EAQyB,CAAC;AAC3E,MAAM,MAAM,oCAAoC,GAC9C,OAAO,oCAAoC,CAAC,IAAI,CAAC;AAGnD,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;EAuB9C,CAAC;AACL,MAAM,MAAM,qCAAqC,GAC/C,OAAO,qCAAqC,CAAC,IAAI,CAAC;AAGpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,eAAO,MAAM,+BAA+B,KAIvC,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 GetConsumptionHistoryPerAccountInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
from: Schema.String,
|
|
8
|
+
to: Schema.String,
|
|
9
|
+
granularity: Schema.String,
|
|
10
|
+
org_id: Schema.optional(Schema.String),
|
|
11
|
+
include_v1_metrics: Schema.optional(Schema.Boolean),
|
|
12
|
+
metrics: Schema.optional(Schema.String),
|
|
13
|
+
}).pipe(T.Http({ method: "GET", path: "/consumption_history/account" }));
|
|
14
|
+
// Output Schema
|
|
15
|
+
export const GetConsumptionHistoryPerAccountOutput =
|
|
16
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
17
|
+
periods: Schema.Array(Schema.Struct({
|
|
18
|
+
period_id: Schema.String,
|
|
19
|
+
period_plan: Schema.String,
|
|
20
|
+
period_start: Schema.String,
|
|
21
|
+
period_end: Schema.optional(Schema.String),
|
|
22
|
+
consumption: Schema.Array(Schema.Struct({
|
|
23
|
+
timeframe_start: Schema.String,
|
|
24
|
+
timeframe_end: Schema.String,
|
|
25
|
+
active_time_seconds: Schema.Number,
|
|
26
|
+
compute_time_seconds: Schema.Number,
|
|
27
|
+
written_data_bytes: Schema.Number,
|
|
28
|
+
synthetic_storage_size_bytes: Schema.Number,
|
|
29
|
+
data_storage_bytes_hour: Schema.optional(Schema.Number),
|
|
30
|
+
logical_size_bytes: Schema.optional(Schema.Number),
|
|
31
|
+
logical_size_bytes_hour: Schema.optional(Schema.Number),
|
|
32
|
+
})),
|
|
33
|
+
})),
|
|
34
|
+
});
|
|
35
|
+
// The operation
|
|
36
|
+
/**
|
|
37
|
+
* Retrieve account consumption metrics (legacy plans)
|
|
38
|
+
*
|
|
39
|
+
* Retrieves consumption metrics for Scale and Enterprise plan accounts, and for legacy Scale, Business, and Enterprise plan accounts.
|
|
40
|
+
* Consumption history begins at the time the account was upgraded to a supported plan.
|
|
41
|
+
*
|
|
42
|
+
* @param from - Specify the start `date-time` for the consumption period.
|
|
43
|
+
The `date-time` value is rounded according to the specified `granularity`.
|
|
44
|
+
For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`.
|
|
45
|
+
The specified `date-time` value must respect the specified granularity:
|
|
46
|
+
- For `hourly`, consumption metrics are limited to the last 168 hours.
|
|
47
|
+
- For `daily`, consumption metrics are limited to the last 60 days.
|
|
48
|
+
- For `monthly`, consumption metrics are limited to the past year.
|
|
49
|
+
|
|
50
|
+
The consumption history is available starting from `March 1, 2024, at 00:00:00 UTC`.
|
|
51
|
+
|
|
52
|
+
* @param to - Specify the end `date-time` for the consumption period.
|
|
53
|
+
The `date-time` value is rounded according to the specified granularity.
|
|
54
|
+
For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`.
|
|
55
|
+
The specified `date-time` value must respect the specified granularity:
|
|
56
|
+
- For `hourly`, consumption metrics are limited to the last 168 hours.
|
|
57
|
+
- For `daily`, consumption metrics are limited to the last 60 days.
|
|
58
|
+
- For `monthly`, consumption metrics are limited to the past year.
|
|
59
|
+
|
|
60
|
+
* @param granularity - Specify the granularity of consumption metrics.
|
|
61
|
+
Hourly, daily, and monthly metrics are available for the last 168 hours, 60 days,
|
|
62
|
+
and 1 year, respectively.
|
|
63
|
+
|
|
64
|
+
* @param org_id - Specify the organization for which the consumption metrics should be returned.
|
|
65
|
+
If this parameter is not provided, the endpoint will return the metrics for the
|
|
66
|
+
authenticated user's account.
|
|
67
|
+
|
|
68
|
+
* @param include_v1_metrics - The field is deprecated. Please use `metrics` instead.
|
|
69
|
+
If `metrics` is specified, this field is ignored.
|
|
70
|
+
Include metrics utilized in previous pricing models.
|
|
71
|
+
- **data_storage_bytes_hour**: The sum of the maximum observed storage values for each hour
|
|
72
|
+
for each project, which never decreases.
|
|
73
|
+
|
|
74
|
+
* @param metrics - Specify a list of metrics to include in the response.
|
|
75
|
+
If omitted, active_time, compute_time, written_data, synthetic_storage_size are returned.
|
|
76
|
+
Possible values:
|
|
77
|
+
- `active_time_seconds`
|
|
78
|
+
- `compute_time_seconds`
|
|
79
|
+
- `written_data_bytes`
|
|
80
|
+
- `synthetic_storage_size_bytes`
|
|
81
|
+
- `data_storage_bytes_hour`
|
|
82
|
+
|
|
83
|
+
A list of metrics can be specified as an array of parameter values or as a comma-separated list in a single parameter value.
|
|
84
|
+
- As an array of parameter values: `metrics=cpu_seconds&metrics=ram_bytes`
|
|
85
|
+
- As a comma-separated list in a single parameter value: `metrics=cpu_seconds,ram_bytes`
|
|
86
|
+
|
|
87
|
+
*/
|
|
88
|
+
export const getConsumptionHistoryPerAccount =
|
|
89
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
90
|
+
inputSchema: GetConsumptionHistoryPerAccountInput,
|
|
91
|
+
outputSchema: GetConsumptionHistoryPerAccountOutput,
|
|
92
|
+
}));
|
|
93
|
+
//# sourceMappingURL=getConsumptionHistoryPerAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConsumptionHistoryPerAccount.js","sourceRoot":"","sources":["../../src/operations/getConsumptionHistoryPerAccount.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,oCAAoC;AAC/C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,EAAE,EAAE,MAAM,CAAC,MAAM;IACjB,WAAW,EAAE,MAAM,CAAC,MAAM;IAC1B,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IACnD,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACxC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC,CAAC,CAAC;AAI3E,gBAAgB;AAChB,MAAM,CAAC,MAAM,qCAAqC;AAChD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,KAAK,CACnB,MAAM,CAAC,MAAM,CAAC;QACZ,SAAS,EAAE,MAAM,CAAC,MAAM;QACxB,WAAW,EAAE,MAAM,CAAC,MAAM;QAC1B,YAAY,EAAE,MAAM,CAAC,MAAM;QAC3B,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC1C,WAAW,EAAE,MAAM,CAAC,KAAK,CACvB,MAAM,CAAC,MAAM,CAAC;YACZ,eAAe,EAAE,MAAM,CAAC,MAAM;YAC9B,aAAa,EAAE,MAAM,CAAC,MAAM;YAC5B,mBAAmB,EAAE,MAAM,CAAC,MAAM;YAClC,oBAAoB,EAAE,MAAM,CAAC,MAAM;YACnC,kBAAkB,EAAE,MAAM,CAAC,MAAM;YACjC,4BAA4B,EAAE,MAAM,CAAC,MAAM;YAC3C,uBAAuB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YACvD,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YAClD,uBAAuB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;SACxD,CAAC,CACH;KACF,CAAC,CACH;CACF,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAM,CAAC,MAAM,+BAA+B;AAC1C,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,oCAAoC;IACjD,YAAY,EAAE,qCAAqC;CACpD,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const GetConsumptionHistoryPerProjectInput: Schema.Struct<{
|
|
3
|
+
readonly cursor: Schema.optional<Schema.String>;
|
|
4
|
+
readonly limit: Schema.optional<Schema.Number>;
|
|
5
|
+
readonly project_ids: Schema.optional<Schema.String>;
|
|
6
|
+
readonly from: Schema.String;
|
|
7
|
+
readonly to: Schema.String;
|
|
8
|
+
readonly granularity: Schema.String;
|
|
9
|
+
readonly org_id: Schema.optional<Schema.String>;
|
|
10
|
+
readonly include_v1_metrics: Schema.optional<Schema.Boolean>;
|
|
11
|
+
readonly metrics: Schema.optional<Schema.String>;
|
|
12
|
+
}>;
|
|
13
|
+
export type GetConsumptionHistoryPerProjectInput = typeof GetConsumptionHistoryPerProjectInput.Type;
|
|
14
|
+
export declare const GetConsumptionHistoryPerProjectOutput: Schema.Struct<{
|
|
15
|
+
readonly projects: Schema.$Array<Schema.Struct<{
|
|
16
|
+
readonly project_id: Schema.String;
|
|
17
|
+
readonly periods: Schema.$Array<Schema.Struct<{
|
|
18
|
+
readonly period_id: Schema.String;
|
|
19
|
+
readonly period_plan: Schema.String;
|
|
20
|
+
readonly period_start: Schema.String;
|
|
21
|
+
readonly period_end: Schema.optional<Schema.String>;
|
|
22
|
+
readonly consumption: Schema.$Array<Schema.Struct<{
|
|
23
|
+
readonly timeframe_start: Schema.String;
|
|
24
|
+
readonly timeframe_end: Schema.String;
|
|
25
|
+
readonly active_time_seconds: Schema.Number;
|
|
26
|
+
readonly compute_time_seconds: Schema.Number;
|
|
27
|
+
readonly written_data_bytes: Schema.Number;
|
|
28
|
+
readonly synthetic_storage_size_bytes: Schema.Number;
|
|
29
|
+
readonly data_storage_bytes_hour: Schema.optional<Schema.Number>;
|
|
30
|
+
readonly logical_size_bytes: Schema.optional<Schema.Number>;
|
|
31
|
+
readonly logical_size_bytes_hour: Schema.optional<Schema.Number>;
|
|
32
|
+
}>>;
|
|
33
|
+
}>>;
|
|
34
|
+
}>>;
|
|
35
|
+
readonly pagination: Schema.optional<Schema.Struct<{
|
|
36
|
+
readonly cursor: Schema.String;
|
|
37
|
+
}>>;
|
|
38
|
+
}>;
|
|
39
|
+
export type GetConsumptionHistoryPerProjectOutput = typeof GetConsumptionHistoryPerProjectOutput.Type;
|
|
40
|
+
/**
|
|
41
|
+
* Retrieve project consumption metrics (legacy plans)
|
|
42
|
+
*
|
|
43
|
+
* Retrieves consumption metrics for Scale, Business, and Enterprise plan projects. History begins at the time of upgrade.
|
|
44
|
+
* Results are ordered by time in ascending order (oldest to newest).
|
|
45
|
+
* Issuing a call to this API does not wake a project's compute endpoint.
|
|
46
|
+
*
|
|
47
|
+
* @param cursor - Specify the cursor value from the previous response to get the next batch of projects.
|
|
48
|
+
* @param limit - Specify a value from 1 to 100 to limit number of projects in the response.
|
|
49
|
+
* @param project_ids - Specify a list of project IDs to filter the response.
|
|
50
|
+
If omitted, the response will contain all projects.
|
|
51
|
+
A list of project IDs can be specified as an array of parameter values or as a comma-separated list in a single parameter value.
|
|
52
|
+
- As an array of parameter values: `project_ids=cold-poetry-09157238%20&project_ids=quiet-snow-71788278`
|
|
53
|
+
- As a comma-separated list in a single parameter value: `project_ids=cold-poetry-09157238,quiet-snow-71788278`
|
|
54
|
+
|
|
55
|
+
* @param from - Specify the start `date-time` for the consumption period.
|
|
56
|
+
The `date-time` value is rounded according to the specified `granularity`.
|
|
57
|
+
For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`.
|
|
58
|
+
The specified `date-time` value must respect the specified `granularity`:
|
|
59
|
+
- For `hourly`, consumption metrics are limited to the last 168 hours.
|
|
60
|
+
- For `daily`, consumption metrics are limited to the last 60 days.
|
|
61
|
+
- For `monthly`, consumption metrics are limited to the last year.
|
|
62
|
+
|
|
63
|
+
The consumption history is available starting from `March 1, 2024, at 00:00:00 UTC`.
|
|
64
|
+
|
|
65
|
+
* @param to - Specify the end `date-time` for the consumption period.
|
|
66
|
+
The `date-time` value is rounded according to the specified granularity.
|
|
67
|
+
For example, `2024-03-15T15:30:00Z` for `daily` granularity will be rounded to `2024-03-15T00:00:00Z`.
|
|
68
|
+
The specified `date-time` value must respect the specified `granularity`:
|
|
69
|
+
- For `hourly`, consumption metrics are limited to the last 168 hours.
|
|
70
|
+
- For `daily`, consumption metrics are limited to the last 60 days.
|
|
71
|
+
- For `monthly`, consumption metrics are limited to the last year.
|
|
72
|
+
|
|
73
|
+
* @param granularity - Specify the granularity of consumption metrics.
|
|
74
|
+
Hourly, daily, and monthly metrics are available for the last 168 hours, 60 days,
|
|
75
|
+
and 1 year, respectively.
|
|
76
|
+
|
|
77
|
+
* @param org_id - Specify the organization for which the project consumption metrics should be returned.
|
|
78
|
+
If this parameter is not provided, the endpoint will return the metrics for the
|
|
79
|
+
authenticated user's projects.
|
|
80
|
+
|
|
81
|
+
* @param include_v1_metrics - The field is deprecated. Please use `metrics` instead.
|
|
82
|
+
If `metrics` is specified, this field is ignored.
|
|
83
|
+
Include metrics utilized in previous pricing models.
|
|
84
|
+
- **data_storage_bytes_hour**: The sum of the maximum observed storage values for each hour,
|
|
85
|
+
which never decreases.
|
|
86
|
+
|
|
87
|
+
* @param metrics - Specify a list of metrics to include in the response.
|
|
88
|
+
If omitted, active_time, compute_time, written_data, synthetic_storage_size are returned.
|
|
89
|
+
Possible values:
|
|
90
|
+
- `active_time_seconds`
|
|
91
|
+
- `compute_time_seconds`
|
|
92
|
+
- `written_data_bytes`
|
|
93
|
+
- `synthetic_storage_size_bytes`
|
|
94
|
+
- `data_storage_bytes_hour`
|
|
95
|
+
- `logical_size_bytes`
|
|
96
|
+
- `logical_size_bytes_hour`
|
|
97
|
+
|
|
98
|
+
A list of metrics can be specified as an array of parameter values or as a comma-separated list in a single parameter value.
|
|
99
|
+
- As an array of parameter values: `metrics=cpu_seconds&metrics=ram_bytes`
|
|
100
|
+
- As a comma-separated list in a single parameter value: `metrics=cpu_seconds,ram_bytes`
|
|
101
|
+
|
|
102
|
+
*/
|
|
103
|
+
export declare const getConsumptionHistoryPerProject: any;
|
|
104
|
+
//# sourceMappingURL=getConsumptionHistoryPerProject.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConsumptionHistoryPerProject.d.ts","sourceRoot":"","sources":["../../src/operations/getConsumptionHistoryPerProject.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,oCAAoC;;;;;;;;;;EAW0B,CAAC;AAC5E,MAAM,MAAM,oCAAoC,GAC9C,OAAO,oCAAoC,CAAC,IAAI,CAAC;AAGnD,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;EAiC9C,CAAC;AACL,MAAM,MAAM,qCAAqC,GAC/C,OAAO,qCAAqC,CAAC,IAAI,CAAC;AAGpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,eAAO,MAAM,+BAA+B,KAIvC,CAAC"}
|