@neon/sdk 1.5.0 → 2.0.0
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 +194 -28
- package/dist/client/client/client.gen.js +1 -3
- package/dist/client/client/client.gen.js.map +1 -1
- package/dist/client/client/utils.gen.js +1 -3
- package/dist/client/client/utils.gen.js.map +1 -1
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +2 -2
- package/dist/client/raw.gen.d.ts +146 -16
- package/dist/client/raw.gen.d.ts.map +1 -1
- package/dist/client/raw.gen.js +8 -3
- package/dist/client/raw.gen.js.map +1 -1
- package/dist/client/sdk.gen.d.ts +137 -78
- package/dist/client/sdk.gen.d.ts.map +1 -1
- package/dist/client/sdk.gen.js +258 -96
- package/dist/client/sdk.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +1397 -315
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/neon/client.d.ts +2 -0
- package/dist/neon/client.d.ts.map +1 -1
- package/dist/neon/client.js +2 -0
- package/dist/neon/client.js.map +1 -1
- package/dist/neon/context.js +2 -1
- package/dist/neon/context.js.map +1 -1
- package/dist/neon/coverage.d.ts.map +1 -1
- package/dist/neon/coverage.js +12 -2
- package/dist/neon/coverage.js.map +1 -1
- package/dist/neon/paginate.d.ts.map +1 -1
- package/dist/neon/paginate.js +5 -2
- package/dist/neon/paginate.js.map +1 -1
- package/dist/neon/resources/branches.d.ts +0 -7
- package/dist/neon/resources/branches.d.ts.map +1 -1
- package/dist/neon/resources/branches.js +6 -15
- package/dist/neon/resources/branches.js.map +1 -1
- package/dist/neon/resources/logs.d.ts +76 -0
- package/dist/neon/resources/logs.d.ts.map +1 -0
- package/dist/neon/resources/logs.js +90 -0
- package/dist/neon/resources/logs.js.map +1 -0
- package/dist/neon/resources/postgres.js +2 -1
- package/dist/neon/resources/postgres.js.map +1 -1
- package/dist/neon/resources/projects.d.ts +61 -4
- package/dist/neon/resources/projects.d.ts.map +1 -1
- package/dist/neon/resources/projects.js +71 -5
- package/dist/neon/resources/projects.js.map +1 -1
- package/dist/raw.d.ts +3 -3
- package/dist/raw.js +8 -3
- package/package.json +1 -1
package/dist/client/sdk.gen.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientMeta } from "./core/types.gen.js";
|
|
2
2
|
import { Client, Options as Options$1, RequestResult, TDataShape } from "./client/types.gen.js";
|
|
3
|
-
import { AcceptProjectTransferRequestData, AcceptProjectTransferRequestErrors, AcceptProjectTransferRequestResponses, AddBranchNeonAuthOauthProviderData, AddBranchNeonAuthOauthProviderErrors, AddBranchNeonAuthOauthProviderResponses, AddBranchNeonAuthTrustedDomainData, AddBranchNeonAuthTrustedDomainErrors, AddBranchNeonAuthTrustedDomainResponses, AddNeonAuthDomainToRedirectUriWhitelistData, AddNeonAuthDomainToRedirectUriWhitelistErrors, AddNeonAuthDomainToRedirectUriWhitelistResponses, AddNeonAuthOauthProviderData, AddNeonAuthOauthProviderErrors, AddNeonAuthOauthProviderResponses, AddProjectJwksData, AddProjectJwksErrors, AddProjectJwksResponses, AssignOrganizationVpcEndpointData, AssignOrganizationVpcEndpointErrors, AssignOrganizationVpcEndpointResponses, AssignProjectVpcEndpointData, AssignProjectVpcEndpointErrors, AssignProjectVpcEndpointResponses, CountProjectBranchesData, CountProjectBranchesErrors, CountProjectBranchesResponses, CreateApiKeyData, CreateApiKeyErrors, CreateApiKeyResponses, CreateBranchNeonAuthNewUserData, CreateBranchNeonAuthNewUserErrors, CreateBranchNeonAuthNewUserResponses, CreateCredentialData, CreateCredentialErrors, CreateCredentialResponses, CreateNeonAuthData, CreateNeonAuthErrors, CreateNeonAuthIntegrationData, CreateNeonAuthIntegrationErrors, CreateNeonAuthIntegrationResponses, CreateNeonAuthNewUserData, CreateNeonAuthNewUserErrors, CreateNeonAuthNewUserResponses, CreateNeonAuthProviderSdkKeysData, CreateNeonAuthProviderSdkKeysErrors, CreateNeonAuthProviderSdkKeysResponses, CreateNeonAuthResponses, CreateOrgApiKeyData, CreateOrgApiKeyErrors, CreateOrgApiKeyResponses, CreateOrganizationInvitationsData, CreateOrganizationInvitationsErrors, CreateOrganizationInvitationsResponses, CreateProjectBranchAnonymizedData, CreateProjectBranchAnonymizedErrors, CreateProjectBranchAnonymizedResponses, CreateProjectBranchBucketData, CreateProjectBranchBucketErrors, CreateProjectBranchBucketResponses, CreateProjectBranchData, CreateProjectBranchDataApiData, CreateProjectBranchDataApiErrors, CreateProjectBranchDataApiResponses, CreateProjectBranchDatabaseData, CreateProjectBranchDatabaseErrors, CreateProjectBranchDatabaseResponses, CreateProjectBranchErrors, CreateProjectBranchFunctionDeploymentData, CreateProjectBranchFunctionDeploymentErrors, CreateProjectBranchFunctionDeploymentResponses, CreateProjectBranchResponses, CreateProjectBranchRoleData, CreateProjectBranchRoleErrors, CreateProjectBranchRoleResponses, CreateProjectData, CreateProjectEndpointData, CreateProjectEndpointErrors, CreateProjectEndpointResponses, CreateProjectErrors, CreateProjectResponses, CreateProjectTransferRequestData, CreateProjectTransferRequestErrors, CreateProjectTransferRequestResponses, CreateSnapshotData, CreateSnapshotErrors, CreateSnapshotResponses, DeleteBranchNeonAuthOauthProviderData, DeleteBranchNeonAuthOauthProviderErrors, DeleteBranchNeonAuthOauthProviderResponses, DeleteBranchNeonAuthTrustedDomainData, DeleteBranchNeonAuthTrustedDomainErrors, DeleteBranchNeonAuthTrustedDomainResponses, DeleteBranchNeonAuthUserData, DeleteBranchNeonAuthUserErrors, DeleteBranchNeonAuthUserResponses, DeleteNeonAuthDomainFromRedirectUriWhitelistData, DeleteNeonAuthDomainFromRedirectUriWhitelistErrors, DeleteNeonAuthDomainFromRedirectUriWhitelistResponses, DeleteNeonAuthIntegrationData, DeleteNeonAuthIntegrationErrors, DeleteNeonAuthIntegrationResponses, DeleteNeonAuthOauthProviderData, DeleteNeonAuthOauthProviderErrors, DeleteNeonAuthOauthProviderResponses, DeleteNeonAuthUserData, DeleteNeonAuthUserErrors, DeleteNeonAuthUserResponses, DeleteOrganizationSpendingLimitData, DeleteOrganizationSpendingLimitErrors, DeleteOrganizationSpendingLimitResponses, DeleteOrganizationVpcEndpointData, DeleteOrganizationVpcEndpointErrors, DeleteOrganizationVpcEndpointResponses, DeleteProjectBranchBucketData, DeleteProjectBranchBucketErrors, DeleteProjectBranchBucketObjectData, DeleteProjectBranchBucketObjectErrors, DeleteProjectBranchBucketObjectResponses, DeleteProjectBranchBucketObjectsByPrefixData, DeleteProjectBranchBucketObjectsByPrefixErrors, DeleteProjectBranchBucketObjectsByPrefixResponses, DeleteProjectBranchBucketResponses, DeleteProjectBranchData, DeleteProjectBranchDataApiData, DeleteProjectBranchDataApiErrors, DeleteProjectBranchDataApiResponses, DeleteProjectBranchDatabaseData, DeleteProjectBranchDatabaseErrors, DeleteProjectBranchDatabaseResponses, DeleteProjectBranchErrors, DeleteProjectBranchFunctionData, DeleteProjectBranchFunctionErrors, DeleteProjectBranchFunctionResponses, DeleteProjectBranchResponses, DeleteProjectBranchRoleData, DeleteProjectBranchRoleErrors, DeleteProjectBranchRoleResponses, DeleteProjectData, DeleteProjectEndpointData, DeleteProjectEndpointErrors, DeleteProjectEndpointResponses, DeleteProjectErrors, DeleteProjectJwksData, DeleteProjectJwksErrors, DeleteProjectJwksResponses, DeleteProjectResponses, DeleteProjectVpcEndpointData, DeleteProjectVpcEndpointErrors, DeleteProjectVpcEndpointResponses, DeleteSnapshotData, DeleteSnapshotErrors, DeleteSnapshotResponses, DisableNeonAuthData, DisableNeonAuthErrors, DisableNeonAuthResponses, FinalizeRestoreBranchData, FinalizeRestoreBranchErrors, FinalizeRestoreBranchResponses, GetActiveRegionsData, GetActiveRegionsErrors, GetActiveRegionsResponses, GetAnonymizedBranchStatusData, GetAnonymizedBranchStatusErrors, GetAnonymizedBranchStatusResponses, GetAuthDetailsData, GetAuthDetailsErrors, GetAuthDetailsResponses, GetAvailablePreloadLibrariesData, GetAvailablePreloadLibrariesErrors, GetAvailablePreloadLibrariesResponses, GetConnectionUriData, GetConnectionUriErrors, GetConnectionUriResponses, GetConsumptionHistoryPerBranchV2Data, GetConsumptionHistoryPerBranchV2Errors, GetConsumptionHistoryPerBranchV2Responses, GetConsumptionHistoryPerProjectData, GetConsumptionHistoryPerProjectErrors, GetConsumptionHistoryPerProjectResponses, GetConsumptionHistoryPerProjectV2Data, GetConsumptionHistoryPerProjectV2Errors, GetConsumptionHistoryPerProjectV2Responses, GetCurrentUserInfoData, GetCurrentUserInfoErrors, GetCurrentUserInfoResponses, GetCurrentUserOrganizationsData, GetCurrentUserOrganizationsErrors, GetCurrentUserOrganizationsResponses, GetMaskingRulesData, GetMaskingRulesErrors, GetMaskingRulesResponses, GetNeonAuthAllowLocalhostData, GetNeonAuthAllowLocalhostErrors, GetNeonAuthAllowLocalhostResponses, GetNeonAuthData, GetNeonAuthEmailAndPasswordConfigData, GetNeonAuthEmailAndPasswordConfigErrors, GetNeonAuthEmailAndPasswordConfigResponses, GetNeonAuthEmailProviderData, GetNeonAuthEmailProviderErrors, GetNeonAuthEmailProviderResponses, GetNeonAuthEmailServerData, GetNeonAuthEmailServerErrors, GetNeonAuthEmailServerResponses, GetNeonAuthErrors, GetNeonAuthPhoneNumberPluginData, GetNeonAuthPhoneNumberPluginErrors, GetNeonAuthPhoneNumberPluginResponses, GetNeonAuthPluginConfigsData, GetNeonAuthPluginConfigsErrors, GetNeonAuthPluginConfigsResponses, GetNeonAuthResponses, GetNeonAuthWebhookConfigData, GetNeonAuthWebhookConfigErrors, GetNeonAuthWebhookConfigResponses, GetOrganizationData, GetOrganizationErrors, GetOrganizationInvitationsData, GetOrganizationInvitationsErrors, GetOrganizationInvitationsResponses, GetOrganizationMemberData, GetOrganizationMemberErrors, GetOrganizationMemberResponses, GetOrganizationMembersData, GetOrganizationMembersErrors, GetOrganizationMembersResponses, GetOrganizationResponses, GetOrganizationSpendingLimitData, GetOrganizationSpendingLimitErrors, GetOrganizationSpendingLimitResponses, GetOrganizationVpcEndpointDetailsData, GetOrganizationVpcEndpointDetailsErrors, GetOrganizationVpcEndpointDetailsResponses, GetProjectAdvisorSecurityIssuesData, GetProjectAdvisorSecurityIssuesErrors, GetProjectAdvisorSecurityIssuesResponses, GetProjectBranchAiGatewayData, GetProjectBranchAiGatewayErrors, GetProjectBranchAiGatewayResponses, GetProjectBranchBucketObjectData, GetProjectBranchBucketObjectErrors, GetProjectBranchBucketObjectResponses, GetProjectBranchData, GetProjectBranchDataApiData, GetProjectBranchDataApiErrors, GetProjectBranchDataApiResponses, GetProjectBranchDatabaseData, GetProjectBranchDatabaseErrors, GetProjectBranchDatabaseResponses, GetProjectBranchErrors, GetProjectBranchFunctionData, GetProjectBranchFunctionErrors, GetProjectBranchFunctionResponses, GetProjectBranchResponses, GetProjectBranchRoleData, GetProjectBranchRoleErrors, GetProjectBranchRolePasswordData, GetProjectBranchRolePasswordErrors, GetProjectBranchRolePasswordResponses, GetProjectBranchRoleResponses, GetProjectBranchSchemaComparisonData, GetProjectBranchSchemaComparisonErrors, GetProjectBranchSchemaComparisonResponses, GetProjectBranchSchemaData, GetProjectBranchSchemaErrors, GetProjectBranchSchemaResponses, GetProjectBranchStorageData, GetProjectBranchStorageErrors, GetProjectBranchStorageResponses, GetProjectData, GetProjectEndpointData, GetProjectEndpointErrors, GetProjectEndpointResponses, GetProjectErrors, GetProjectJwksData, GetProjectJwksErrors, GetProjectJwksResponses, GetProjectOperationData, GetProjectOperationErrors, GetProjectOperationResponses, GetProjectResponses, GetSnapshotScheduleData, GetSnapshotScheduleErrors, GetSnapshotScheduleResponses, GrantPermissionToProjectData, GrantPermissionToProjectErrors, GrantPermissionToProjectResponses, ListApiKeysData, ListApiKeysErrors, ListApiKeysResponses, ListBranchNeonAuthOauthProvidersData, ListBranchNeonAuthOauthProvidersErrors, ListBranchNeonAuthOauthProvidersResponses, ListBranchNeonAuthTrustedDomainsData, ListBranchNeonAuthTrustedDomainsErrors, ListBranchNeonAuthTrustedDomainsResponses, ListCredentialsData, ListCredentialsErrors, ListCredentialsResponses, ListNeonAuthIntegrationsData, ListNeonAuthIntegrationsErrors, ListNeonAuthIntegrationsResponses, ListNeonAuthOauthProvidersData, ListNeonAuthOauthProvidersErrors, ListNeonAuthOauthProvidersResponses, ListNeonAuthRedirectUriWhitelistDomainsData, ListNeonAuthRedirectUriWhitelistDomainsErrors, ListNeonAuthRedirectUriWhitelistDomainsResponses, ListOrgApiKeysData, ListOrgApiKeysErrors, ListOrgApiKeysResponses, ListOrganizationVpcEndpointsAllRegionsData, ListOrganizationVpcEndpointsAllRegionsErrors, ListOrganizationVpcEndpointsAllRegionsResponses, ListOrganizationVpcEndpointsData, ListOrganizationVpcEndpointsErrors, ListOrganizationVpcEndpointsResponses, ListProjectBranchBucketObjectsData, ListProjectBranchBucketObjectsErrors, ListProjectBranchBucketObjectsResponses, ListProjectBranchBucketsData, ListProjectBranchBucketsErrors, ListProjectBranchBucketsResponses, ListProjectBranchDatabasesData, ListProjectBranchDatabasesErrors, ListProjectBranchDatabasesResponses, ListProjectBranchEndpointsData, ListProjectBranchEndpointsErrors, ListProjectBranchEndpointsResponses, ListProjectBranchFunctionsData, ListProjectBranchFunctionsErrors, ListProjectBranchFunctionsResponses, ListProjectBranchRolesData, ListProjectBranchRolesErrors, ListProjectBranchRolesResponses, ListProjectBranchesData, ListProjectBranchesErrors, ListProjectBranchesResponses, ListProjectEndpointsData, ListProjectEndpointsErrors, ListProjectEndpointsResponses, ListProjectOperationsData, ListProjectOperationsErrors, ListProjectOperationsResponses, ListProjectPermissionsData, ListProjectPermissionsErrors, ListProjectPermissionsResponses, ListProjectVpcEndpointsData, ListProjectVpcEndpointsErrors, ListProjectVpcEndpointsResponses, ListProjectsData, ListProjectsErrors, ListProjectsResponses, ListSharedProjectsData, ListSharedProjectsErrors, ListSharedProjectsResponses, ListSnapshotsData, ListSnapshotsErrors, ListSnapshotsResponses, PresignProjectBranchBucketObjectData, PresignProjectBranchBucketObjectErrors, PresignProjectBranchBucketObjectResponses, RecoverProjectBranchData, RecoverProjectBranchErrors, RecoverProjectBranchResponses, RecoverProjectData, RecoverProjectErrors, RecoverProjectResponses, RemoveOrganizationMemberData, RemoveOrganizationMemberErrors, RemoveOrganizationMemberResponses, ResetProjectBranchRolePasswordData, ResetProjectBranchRolePasswordErrors, ResetProjectBranchRolePasswordResponses, RestartProjectEndpointData, RestartProjectEndpointErrors, RestartProjectEndpointResponses, RestoreProjectBranchData, RestoreProjectBranchErrors, RestoreProjectBranchResponses, RestoreSnapshotData, RestoreSnapshotErrors, RestoreSnapshotResponses, RevokeApiKeyData, RevokeApiKeyErrors, RevokeApiKeyResponses, RevokeCredentialData, RevokeCredentialErrors, RevokeCredentialResponses, RevokeOrgApiKeyData, RevokeOrgApiKeyErrors, RevokeOrgApiKeyResponses, RevokePermissionFromProjectData, RevokePermissionFromProjectErrors, RevokePermissionFromProjectResponses, SendNeonAuthTestEmailData, SendNeonAuthTestEmailErrors, SendNeonAuthTestEmailResponses, SetDefaultProjectBranchData, SetDefaultProjectBranchErrors, SetDefaultProjectBranchResponses, SetOrganizationSpendingLimitData, SetOrganizationSpendingLimitErrors, SetOrganizationSpendingLimitResponses, SetSnapshotScheduleData, SetSnapshotScheduleErrors, SetSnapshotScheduleResponses, StartAnonymizationData, StartAnonymizationErrors, StartAnonymizationResponses, StartProjectEndpointData, StartProjectEndpointErrors, StartProjectEndpointResponses, SuspendProjectEndpointData, SuspendProjectEndpointErrors, SuspendProjectEndpointResponses, TransferNeonAuthProviderProjectData, TransferNeonAuthProviderProjectErrors, TransferNeonAuthProviderProjectResponses, TransferProjectsFromOrgToOrgData, TransferProjectsFromOrgToOrgErrors, TransferProjectsFromOrgToOrgResponses, TransferProjectsFromUserToOrgData, TransferProjectsFromUserToOrgErrors, TransferProjectsFromUserToOrgResponses, UpdateBranchNeonAuthOauthProviderData, UpdateBranchNeonAuthOauthProviderErrors, UpdateBranchNeonAuthOauthProviderResponses, UpdateMaskingRulesData, UpdateMaskingRulesErrors, UpdateMaskingRulesResponses, UpdateNeonAuthAllowLocalhostData, UpdateNeonAuthAllowLocalhostErrors, UpdateNeonAuthAllowLocalhostResponses, UpdateNeonAuthConfigData, UpdateNeonAuthConfigErrors, UpdateNeonAuthConfigResponses, UpdateNeonAuthEmailAndPasswordConfigData, UpdateNeonAuthEmailAndPasswordConfigErrors, UpdateNeonAuthEmailAndPasswordConfigResponses, UpdateNeonAuthEmailProviderData, UpdateNeonAuthEmailProviderErrors, UpdateNeonAuthEmailProviderResponses, UpdateNeonAuthEmailServerData, UpdateNeonAuthEmailServerErrors, UpdateNeonAuthEmailServerResponses, UpdateNeonAuthMagicLinkPluginData, UpdateNeonAuthMagicLinkPluginErrors, UpdateNeonAuthMagicLinkPluginResponses, UpdateNeonAuthOauthProviderData, UpdateNeonAuthOauthProviderErrors, UpdateNeonAuthOauthProviderResponses, UpdateNeonAuthOrganizationPluginData, UpdateNeonAuthOrganizationPluginErrors, UpdateNeonAuthOrganizationPluginResponses, UpdateNeonAuthPhoneNumberPluginData, UpdateNeonAuthPhoneNumberPluginErrors, UpdateNeonAuthPhoneNumberPluginResponses, UpdateNeonAuthUserRoleData, UpdateNeonAuthUserRoleErrors, UpdateNeonAuthUserRoleResponses, UpdateNeonAuthWebhookConfigData, UpdateNeonAuthWebhookConfigErrors, UpdateNeonAuthWebhookConfigResponses, UpdateOrganizationMemberData, UpdateOrganizationMemberErrors, UpdateOrganizationMemberResponses, UpdateProjectBranchData, UpdateProjectBranchDataApiData, UpdateProjectBranchDataApiErrors, UpdateProjectBranchDataApiResponses, UpdateProjectBranchDatabaseData, UpdateProjectBranchDatabaseErrors, UpdateProjectBranchDatabaseResponses, UpdateProjectBranchErrors, UpdateProjectBranchFunctionData, UpdateProjectBranchFunctionErrors, UpdateProjectBranchFunctionResponses, UpdateProjectBranchResponses, UpdateProjectData, UpdateProjectEndpointData, UpdateProjectEndpointErrors, UpdateProjectEndpointResponses, UpdateProjectErrors, UpdateProjectResponses, UpdateSnapshotData, UpdateSnapshotErrors, UpdateSnapshotResponses } from "./types.gen.js";
|
|
3
|
+
import { AcceptProjectTransferRequestData, AcceptProjectTransferRequestErrors, AcceptProjectTransferRequestResponses, AddBranchNeonAuthOauthProviderData, AddBranchNeonAuthOauthProviderErrors, AddBranchNeonAuthOauthProviderResponses, AddBranchNeonAuthTrustedDomainData, AddBranchNeonAuthTrustedDomainErrors, AddBranchNeonAuthTrustedDomainResponses, AddNeonAuthDomainToRedirectUriWhitelistData, AddNeonAuthDomainToRedirectUriWhitelistErrors, AddNeonAuthDomainToRedirectUriWhitelistResponses, AddNeonAuthOauthProviderData, AddNeonAuthOauthProviderErrors, AddNeonAuthOauthProviderResponses, AddProjectJwksData, AddProjectJwksErrors, AddProjectJwksResponses, AssignOrganizationVpcEndpointData, AssignOrganizationVpcEndpointErrors, AssignOrganizationVpcEndpointResponses, AssignProjectVpcEndpointData, AssignProjectVpcEndpointErrors, AssignProjectVpcEndpointResponses, CountProjectBranchesData, CountProjectBranchesErrors, CountProjectBranchesResponses, CreateApiKeyData, CreateApiKeyErrors, CreateApiKeyResponses, CreateBranchNeonAuthNewUserData, CreateBranchNeonAuthNewUserErrors, CreateBranchNeonAuthNewUserResponses, CreateCredentialData, CreateCredentialErrors, CreateCredentialResponses, CreateNeonAuthData, CreateNeonAuthErrors, CreateNeonAuthIntegrationData, CreateNeonAuthIntegrationErrors, CreateNeonAuthIntegrationResponses, CreateNeonAuthNewUserData, CreateNeonAuthNewUserErrors, CreateNeonAuthNewUserResponses, CreateNeonAuthProviderSdkKeysData, CreateNeonAuthProviderSdkKeysErrors, CreateNeonAuthProviderSdkKeysResponses, CreateNeonAuthResponses, CreateOrgApiKeyData, CreateOrgApiKeyErrors, CreateOrgApiKeyResponses, CreateOrganizationInvitationsData, CreateOrganizationInvitationsErrors, CreateOrganizationInvitationsResponses, CreateProjectBranchAnonymizedData, CreateProjectBranchAnonymizedErrors, CreateProjectBranchAnonymizedResponses, CreateProjectBranchBucketData, CreateProjectBranchBucketErrors, CreateProjectBranchBucketResponses, CreateProjectBranchData, CreateProjectBranchDataApiData, CreateProjectBranchDataApiErrors, CreateProjectBranchDataApiResponses, CreateProjectBranchDatabaseData, CreateProjectBranchDatabaseErrors, CreateProjectBranchDatabaseResponses, CreateProjectBranchErrors, CreateProjectBranchFunctionDeploymentData, CreateProjectBranchFunctionDeploymentErrors, CreateProjectBranchFunctionDeploymentResponses, CreateProjectBranchResponses, CreateProjectBranchRoleData, CreateProjectBranchRoleErrors, CreateProjectBranchRoleResponses, CreateProjectData, CreateProjectEndpointData, CreateProjectEndpointErrors, CreateProjectEndpointResponses, CreateProjectErrors, CreateProjectResponses, CreateProjectTransferRequestData, CreateProjectTransferRequestErrors, CreateProjectTransferRequestResponses, CreateSnapshotData, CreateSnapshotErrors, CreateSnapshotResponses, DeleteBranchNeonAuthOauthProviderData, DeleteBranchNeonAuthOauthProviderErrors, DeleteBranchNeonAuthOauthProviderResponses, DeleteBranchNeonAuthTrustedDomainData, DeleteBranchNeonAuthTrustedDomainErrors, DeleteBranchNeonAuthTrustedDomainResponses, DeleteBranchNeonAuthUserData, DeleteBranchNeonAuthUserErrors, DeleteBranchNeonAuthUserResponses, DeleteNeonAuthDomainFromRedirectUriWhitelistData, DeleteNeonAuthDomainFromRedirectUriWhitelistErrors, DeleteNeonAuthDomainFromRedirectUriWhitelistResponses, DeleteNeonAuthIntegrationData, DeleteNeonAuthIntegrationErrors, DeleteNeonAuthIntegrationResponses, DeleteNeonAuthOauthProviderData, DeleteNeonAuthOauthProviderErrors, DeleteNeonAuthOauthProviderResponses, DeleteNeonAuthUserData, DeleteNeonAuthUserErrors, DeleteNeonAuthUserResponses, DeleteOrganizationSpendingLimitData, DeleteOrganizationSpendingLimitErrors, DeleteOrganizationSpendingLimitResponses, DeleteOrganizationVpcEndpointData, DeleteOrganizationVpcEndpointErrors, DeleteOrganizationVpcEndpointResponses, DeleteProjectBranchBucketData, DeleteProjectBranchBucketErrors, DeleteProjectBranchBucketObjectData, DeleteProjectBranchBucketObjectErrors, DeleteProjectBranchBucketObjectResponses, DeleteProjectBranchBucketObjectsByPrefixData, DeleteProjectBranchBucketObjectsByPrefixErrors, DeleteProjectBranchBucketObjectsByPrefixResponses, DeleteProjectBranchBucketResponses, DeleteProjectBranchData, DeleteProjectBranchDataApiData, DeleteProjectBranchDataApiErrors, DeleteProjectBranchDataApiResponses, DeleteProjectBranchDatabaseData, DeleteProjectBranchDatabaseErrors, DeleteProjectBranchDatabaseResponses, DeleteProjectBranchErrors, DeleteProjectBranchFunctionData, DeleteProjectBranchFunctionErrors, DeleteProjectBranchFunctionResponses, DeleteProjectBranchResponses, DeleteProjectBranchRoleData, DeleteProjectBranchRoleErrors, DeleteProjectBranchRoleResponses, DeleteProjectData, DeleteProjectEndpointData, DeleteProjectEndpointErrors, DeleteProjectEndpointResponses, DeleteProjectErrors, DeleteProjectJwksData, DeleteProjectJwksErrors, DeleteProjectJwksResponses, DeleteProjectResponses, DeleteProjectVpcEndpointData, DeleteProjectVpcEndpointErrors, DeleteProjectVpcEndpointResponses, DeleteSnapshotData, DeleteSnapshotErrors, DeleteSnapshotResponses, DisableNeonAuthData, DisableNeonAuthErrors, DisableNeonAuthResponses, FinalizeRestoreBranchData, FinalizeRestoreBranchErrors, FinalizeRestoreBranchResponses, GetActiveRegionsData, GetActiveRegionsErrors, GetActiveRegionsResponses, GetAnonymizedBranchStatusData, GetAnonymizedBranchStatusErrors, GetAnonymizedBranchStatusResponses, GetAuthDetailsData, GetAuthDetailsErrors, GetAuthDetailsResponses, GetAvailablePreloadLibrariesData, GetAvailablePreloadLibrariesErrors, GetAvailablePreloadLibrariesResponses, GetConnectionUriData, GetConnectionUriErrors, GetConnectionUriResponses, GetConsumptionHistoryPerBranchV2Data, GetConsumptionHistoryPerBranchV2Errors, GetConsumptionHistoryPerBranchV2Responses, GetConsumptionHistoryPerProjectData, GetConsumptionHistoryPerProjectErrors, GetConsumptionHistoryPerProjectResponses, GetConsumptionHistoryPerProjectV2Data, GetConsumptionHistoryPerProjectV2Errors, GetConsumptionHistoryPerProjectV2Responses, GetCurrentUserInfoData, GetCurrentUserInfoErrors, GetCurrentUserInfoResponses, GetCurrentUserOrganizationsData, GetCurrentUserOrganizationsErrors, GetCurrentUserOrganizationsResponses, GetMaskingRulesData, GetMaskingRulesErrors, GetMaskingRulesResponses, GetNeonAuthAllowLocalhostData, GetNeonAuthAllowLocalhostErrors, GetNeonAuthAllowLocalhostResponses, GetNeonAuthData, GetNeonAuthEmailAndPasswordConfigData, GetNeonAuthEmailAndPasswordConfigErrors, GetNeonAuthEmailAndPasswordConfigResponses, GetNeonAuthEmailProviderData, GetNeonAuthEmailProviderErrors, GetNeonAuthEmailProviderResponses, GetNeonAuthEmailServerData, GetNeonAuthEmailServerErrors, GetNeonAuthEmailServerResponses, GetNeonAuthErrors, GetNeonAuthPhoneNumberPluginData, GetNeonAuthPhoneNumberPluginErrors, GetNeonAuthPhoneNumberPluginResponses, GetNeonAuthPluginConfigsData, GetNeonAuthPluginConfigsErrors, GetNeonAuthPluginConfigsResponses, GetNeonAuthResponses, GetNeonAuthWebhookConfigData, GetNeonAuthWebhookConfigErrors, GetNeonAuthWebhookConfigResponses, GetOrganizationData, GetOrganizationErrors, GetOrganizationInvitationsData, GetOrganizationInvitationsErrors, GetOrganizationInvitationsResponses, GetOrganizationMemberData, GetOrganizationMemberErrors, GetOrganizationMemberResponses, GetOrganizationMembersData, GetOrganizationMembersErrors, GetOrganizationMembersResponses, GetOrganizationResponses, GetOrganizationSpendingLimitData, GetOrganizationSpendingLimitErrors, GetOrganizationSpendingLimitResponses, GetOrganizationVpcEndpointDetailsData, GetOrganizationVpcEndpointDetailsErrors, GetOrganizationVpcEndpointDetailsResponses, GetProjectAdvisorSecurityIssuesData, GetProjectAdvisorSecurityIssuesErrors, GetProjectAdvisorSecurityIssuesResponses, GetProjectBranchAiGatewayData, GetProjectBranchAiGatewayErrors, GetProjectBranchAiGatewayResponses, GetProjectBranchBucketObjectData, GetProjectBranchBucketObjectErrors, GetProjectBranchBucketObjectResponses, GetProjectBranchData, GetProjectBranchDataApiData, GetProjectBranchDataApiErrors, GetProjectBranchDataApiResponses, GetProjectBranchDatabaseData, GetProjectBranchDatabaseErrors, GetProjectBranchDatabaseResponses, GetProjectBranchErrors, GetProjectBranchFunctionData, GetProjectBranchFunctionErrors, GetProjectBranchFunctionResponses, GetProjectBranchResponses, GetProjectBranchRoleData, GetProjectBranchRoleErrors, GetProjectBranchRolePasswordData, GetProjectBranchRolePasswordErrors, GetProjectBranchRolePasswordResponses, GetProjectBranchRoleResponses, GetProjectBranchSchemaComparisonData, GetProjectBranchSchemaComparisonErrors, GetProjectBranchSchemaComparisonResponses, GetProjectBranchSchemaData, GetProjectBranchSchemaErrors, GetProjectBranchSchemaResponses, GetProjectBranchStorageData, GetProjectBranchStorageErrors, GetProjectBranchStorageResponses, GetProjectData, GetProjectEndpointData, GetProjectEndpointErrors, GetProjectEndpointResponses, GetProjectErrors, GetProjectJwksData, GetProjectJwksErrors, GetProjectJwksResponses, GetProjectOperationData, GetProjectOperationErrors, GetProjectOperationResponses, GetProjectResponses, GetSnapshotScheduleData, GetSnapshotScheduleErrors, GetSnapshotScheduleResponses, GrantPermissionToProjectData, GrantPermissionToProjectErrors, GrantPermissionToProjectResponses, ListApiKeysData, ListApiKeysErrors, ListApiKeysResponses, ListBranchNeonAuthOauthProvidersData, ListBranchNeonAuthOauthProvidersErrors, ListBranchNeonAuthOauthProvidersResponses, ListBranchNeonAuthTrustedDomainsData, ListBranchNeonAuthTrustedDomainsErrors, ListBranchNeonAuthTrustedDomainsResponses, ListCredentialsData, ListCredentialsErrors, ListCredentialsResponses, ListNeonAuthIntegrationsData, ListNeonAuthIntegrationsErrors, ListNeonAuthIntegrationsResponses, ListNeonAuthOauthProvidersData, ListNeonAuthOauthProvidersErrors, ListNeonAuthOauthProvidersResponses, ListNeonAuthRedirectUriWhitelistDomainsData, ListNeonAuthRedirectUriWhitelistDomainsErrors, ListNeonAuthRedirectUriWhitelistDomainsResponses, ListOrgApiKeysData, ListOrgApiKeysErrors, ListOrgApiKeysResponses, ListOrganizationVpcEndpointsAllRegionsData, ListOrganizationVpcEndpointsAllRegionsErrors, ListOrganizationVpcEndpointsAllRegionsResponses, ListOrganizationVpcEndpointsData, ListOrganizationVpcEndpointsErrors, ListOrganizationVpcEndpointsResponses, ListProjectBranchBucketObjectsData, ListProjectBranchBucketObjectsErrors, ListProjectBranchBucketObjectsResponses, ListProjectBranchBucketsData, ListProjectBranchBucketsErrors, ListProjectBranchBucketsResponses, ListProjectBranchDatabasesData, ListProjectBranchDatabasesErrors, ListProjectBranchDatabasesResponses, ListProjectBranchEndpointsData, ListProjectBranchEndpointsErrors, ListProjectBranchEndpointsResponses, ListProjectBranchFunctionsData, ListProjectBranchFunctionsErrors, ListProjectBranchFunctionsResponses, ListProjectBranchLogFieldValuesData, ListProjectBranchLogFieldValuesErrors, ListProjectBranchLogFieldValuesResponses, ListProjectBranchLogFieldsData, ListProjectBranchLogFieldsErrors, ListProjectBranchLogFieldsResponses, ListProjectBranchRolesData, ListProjectBranchRolesErrors, ListProjectBranchRolesResponses, ListProjectBranchesData, ListProjectBranchesErrors, ListProjectBranchesResponses, ListProjectEndpointsData, ListProjectEndpointsErrors, ListProjectEndpointsResponses, ListProjectMembersData, ListProjectMembersErrors, ListProjectMembersResponses, ListProjectOperationsData, ListProjectOperationsErrors, ListProjectOperationsResponses, ListProjectPermissionsData, ListProjectPermissionsErrors, ListProjectPermissionsResponses, ListProjectVpcEndpointsData, ListProjectVpcEndpointsErrors, ListProjectVpcEndpointsResponses, ListProjectsData, ListProjectsErrors, ListProjectsResponses, ListSharedProjectsData, ListSharedProjectsErrors, ListSharedProjectsResponses, ListSnapshotsData, ListSnapshotsErrors, ListSnapshotsResponses, PresignProjectBranchBucketObjectData, PresignProjectBranchBucketObjectErrors, PresignProjectBranchBucketObjectResponses, QueryProjectBranchLogsData, QueryProjectBranchLogsErrors, QueryProjectBranchLogsResponses, RecoverProjectData, RecoverProjectErrors, RecoverProjectResponses, RemoveOrganizationMemberData, RemoveOrganizationMemberErrors, RemoveOrganizationMemberResponses, RemoveProjectMemberRoleData, RemoveProjectMemberRoleErrors, RemoveProjectMemberRoleResponses, ResetProjectBranchRolePasswordData, ResetProjectBranchRolePasswordErrors, ResetProjectBranchRolePasswordResponses, RestartProjectEndpointData, RestartProjectEndpointErrors, RestartProjectEndpointResponses, RestoreProjectBranchData, RestoreProjectBranchErrors, RestoreProjectBranchResponses, RestoreSnapshotData, RestoreSnapshotErrors, RestoreSnapshotResponses, RevokeApiKeyData, RevokeApiKeyErrors, RevokeApiKeyResponses, RevokeCredentialData, RevokeCredentialErrors, RevokeCredentialResponses, RevokeOrgApiKeyData, RevokeOrgApiKeyErrors, RevokeOrgApiKeyResponses, RevokePermissionFromProjectData, RevokePermissionFromProjectErrors, RevokePermissionFromProjectResponses, SendNeonAuthTestEmailData, SendNeonAuthTestEmailErrors, SendNeonAuthTestEmailResponses, SetDefaultProjectBranchData, SetDefaultProjectBranchErrors, SetDefaultProjectBranchResponses, SetOrganizationSpendingLimitData, SetOrganizationSpendingLimitErrors, SetOrganizationSpendingLimitResponses, SetProjectMemberRoleData, SetProjectMemberRoleErrors, SetProjectMemberRoleResponses, SetSnapshotScheduleData, SetSnapshotScheduleErrors, SetSnapshotScheduleResponses, StartAnonymizationData, StartAnonymizationErrors, StartAnonymizationResponses, StartProjectEndpointData, StartProjectEndpointErrors, StartProjectEndpointResponses, SuspendProjectEndpointData, SuspendProjectEndpointErrors, SuspendProjectEndpointResponses, TransferNeonAuthProviderProjectData, TransferNeonAuthProviderProjectErrors, TransferNeonAuthProviderProjectResponses, TransferProjectsFromOrgToOrgData, TransferProjectsFromOrgToOrgErrors, TransferProjectsFromOrgToOrgResponses, TransferProjectsFromUserToOrgData, TransferProjectsFromUserToOrgErrors, TransferProjectsFromUserToOrgResponses, UpdateBranchNeonAuthOauthProviderData, UpdateBranchNeonAuthOauthProviderErrors, UpdateBranchNeonAuthOauthProviderResponses, UpdateMaskingRulesData, UpdateMaskingRulesErrors, UpdateMaskingRulesResponses, UpdateNeonAuthAllowLocalhostData, UpdateNeonAuthAllowLocalhostErrors, UpdateNeonAuthAllowLocalhostResponses, UpdateNeonAuthConfigData, UpdateNeonAuthConfigErrors, UpdateNeonAuthConfigResponses, UpdateNeonAuthEmailAndPasswordConfigData, UpdateNeonAuthEmailAndPasswordConfigErrors, UpdateNeonAuthEmailAndPasswordConfigResponses, UpdateNeonAuthEmailProviderData, UpdateNeonAuthEmailProviderErrors, UpdateNeonAuthEmailProviderResponses, UpdateNeonAuthEmailServerData, UpdateNeonAuthEmailServerErrors, UpdateNeonAuthEmailServerResponses, UpdateNeonAuthMagicLinkPluginData, UpdateNeonAuthMagicLinkPluginErrors, UpdateNeonAuthMagicLinkPluginResponses, UpdateNeonAuthOauthProviderData, UpdateNeonAuthOauthProviderErrors, UpdateNeonAuthOauthProviderResponses, UpdateNeonAuthOrganizationPluginData, UpdateNeonAuthOrganizationPluginErrors, UpdateNeonAuthOrganizationPluginResponses, UpdateNeonAuthPhoneNumberPluginData, UpdateNeonAuthPhoneNumberPluginErrors, UpdateNeonAuthPhoneNumberPluginResponses, UpdateNeonAuthUserRoleData, UpdateNeonAuthUserRoleErrors, UpdateNeonAuthUserRoleResponses, UpdateNeonAuthWebhookConfigData, UpdateNeonAuthWebhookConfigErrors, UpdateNeonAuthWebhookConfigResponses, UpdateOrganizationMemberData, UpdateOrganizationMemberErrors, UpdateOrganizationMemberResponses, UpdateProjectBranchData, UpdateProjectBranchDataApiData, UpdateProjectBranchDataApiErrors, UpdateProjectBranchDataApiResponses, UpdateProjectBranchDatabaseData, UpdateProjectBranchDatabaseErrors, UpdateProjectBranchDatabaseResponses, UpdateProjectBranchErrors, UpdateProjectBranchFunctionData, UpdateProjectBranchFunctionErrors, UpdateProjectBranchFunctionResponses, UpdateProjectBranchResponses, UpdateProjectData, UpdateProjectEndpointData, UpdateProjectEndpointErrors, UpdateProjectEndpointResponses, UpdateProjectErrors, UpdateProjectResponses, UpdateSnapshotData, UpdateSnapshotErrors, UpdateSnapshotResponses } from "./types.gen.js";
|
|
4
4
|
|
|
5
5
|
//#region src/client/sdk.gen.d.ts
|
|
6
6
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
|
|
@@ -88,7 +88,7 @@ declare const listProjects: <ThrowOnError extends boolean = false>(options?: Opt
|
|
|
88
88
|
* For more information, see [Manage projects](https://neon.com/docs/manage/projects/).
|
|
89
89
|
*
|
|
90
90
|
* You can specify a region and Postgres version in the request body.
|
|
91
|
-
* Neon
|
|
91
|
+
* Neon supports Postgres 14 through 18, with 19 rolling out to enabled regions.
|
|
92
92
|
* For supported regions and `region_id` values, see [Regions](https://neon.com/docs/introduction/regions/).
|
|
93
93
|
*
|
|
94
94
|
*/
|
|
@@ -161,6 +161,33 @@ declare const listProjectPermissions: <ThrowOnError extends boolean = false>(opt
|
|
|
161
161
|
*
|
|
162
162
|
*/
|
|
163
163
|
declare const grantPermissionToProject: <ThrowOnError extends boolean = false>(options: Options<GrantPermissionToProjectData, ThrowOnError>) => RequestResult<GrantPermissionToProjectResponses, GrantPermissionToProjectErrors, ThrowOnError>;
|
|
164
|
+
/**
|
|
165
|
+
* List org members and their project roles
|
|
166
|
+
*
|
|
167
|
+
* Lists organization members and their per-project roles for an org-owned project.
|
|
168
|
+
* Returns 404 when the project is not org-owned, per-project role management is disabled,
|
|
169
|
+
* or the caller has no access. Callers with VIEWER or EDITOR see members with
|
|
170
|
+
* effective project access. Callers with ADMIN also see unassigned org members.
|
|
171
|
+
*
|
|
172
|
+
*/
|
|
173
|
+
declare const listProjectMembers: <ThrowOnError extends boolean = false>(options: Options<ListProjectMembersData, ThrowOnError>) => RequestResult<ListProjectMembersResponses, ListProjectMembersErrors, ThrowOnError>;
|
|
174
|
+
/**
|
|
175
|
+
* Remove an org member's role on a project
|
|
176
|
+
*
|
|
177
|
+
* Idempotently removes the explicit project grant. The member's organization-role
|
|
178
|
+
* default project permission still applies. Self-DELETE requires
|
|
179
|
+
* `confirm_self_lockout=true` when effective manage access would be lost.
|
|
180
|
+
*
|
|
181
|
+
*/
|
|
182
|
+
declare const removeProjectMemberRole: <ThrowOnError extends boolean = false>(options: Options<RemoveProjectMemberRoleData, ThrowOnError>) => RequestResult<RemoveProjectMemberRoleResponses, RemoveProjectMemberRoleErrors, ThrowOnError>;
|
|
183
|
+
/**
|
|
184
|
+
* Set an org member's role on a project
|
|
185
|
+
*
|
|
186
|
+
* Idempotently sets or updates the explicit project grant of the specified org member.
|
|
187
|
+
* Self-demotion requires `confirm_self_demotion=true`.
|
|
188
|
+
*
|
|
189
|
+
*/
|
|
190
|
+
declare const setProjectMemberRole: <ThrowOnError extends boolean = false>(options: Options<SetProjectMemberRoleData, ThrowOnError>) => RequestResult<SetProjectMemberRoleResponses, SetProjectMemberRoleErrors, ThrowOnError>;
|
|
164
191
|
/**
|
|
165
192
|
* Revoke project access
|
|
166
193
|
*
|
|
@@ -264,7 +291,7 @@ declare const createProjectBranchDataApi: <ThrowOnError extends boolean = false>
|
|
|
264
291
|
/**
|
|
265
292
|
* Create Neon Auth integration
|
|
266
293
|
*
|
|
267
|
-
*
|
|
294
|
+
* Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth` instead. Removal scheduled for March 1, 2026.
|
|
268
295
|
* Use this endpoint if the frontend integration flow can't be used.
|
|
269
296
|
*
|
|
270
297
|
*
|
|
@@ -301,7 +328,7 @@ declare const createNeonAuth: <ThrowOnError extends boolean = false>(options: Op
|
|
|
301
328
|
/**
|
|
302
329
|
* Delete trusted redirect URI domain
|
|
303
330
|
*
|
|
304
|
-
*
|
|
331
|
+
* Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/domains` instead. Removal scheduled for March 1, 2026.
|
|
305
332
|
*
|
|
306
333
|
*
|
|
307
334
|
* @deprecated
|
|
@@ -310,7 +337,7 @@ declare const deleteNeonAuthDomainFromRedirectUriWhitelist: <ThrowOnError extend
|
|
|
310
337
|
/**
|
|
311
338
|
* List trusted redirect URI domains
|
|
312
339
|
*
|
|
313
|
-
*
|
|
340
|
+
* Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/domains` instead. Removal scheduled for March 1, 2026.
|
|
314
341
|
*
|
|
315
342
|
*
|
|
316
343
|
* @deprecated
|
|
@@ -319,7 +346,7 @@ declare const listNeonAuthRedirectUriWhitelistDomains: <ThrowOnError extends boo
|
|
|
319
346
|
/**
|
|
320
347
|
* Add trusted redirect URI domain
|
|
321
348
|
*
|
|
322
|
-
*
|
|
349
|
+
* Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/domains` instead. Removal scheduled for March 1, 2026.
|
|
323
350
|
*
|
|
324
351
|
*
|
|
325
352
|
* @deprecated
|
|
@@ -360,7 +387,7 @@ declare const createNeonAuthProviderSdkKeys: <ThrowOnError extends boolean = fal
|
|
|
360
387
|
/**
|
|
361
388
|
* Create new auth user
|
|
362
389
|
*
|
|
363
|
-
*
|
|
390
|
+
* Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/users` instead. Removal scheduled for March 1, 2026.
|
|
364
391
|
* The user will be created in your neon_auth.users_sync table and automatically propagated to your auth project, whether Neon-managed or provider-owned.
|
|
365
392
|
*
|
|
366
393
|
*
|
|
@@ -395,7 +422,7 @@ declare const updateNeonAuthUserRole: <ThrowOnError extends boolean = false>(opt
|
|
|
395
422
|
/**
|
|
396
423
|
* Delete auth user
|
|
397
424
|
*
|
|
398
|
-
*
|
|
425
|
+
* Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/users/{auth_user_id}` instead. Removal scheduled for March 1, 2026.
|
|
399
426
|
*
|
|
400
427
|
*
|
|
401
428
|
* @deprecated
|
|
@@ -411,7 +438,7 @@ declare const transferNeonAuthProviderProject: <ThrowOnError extends boolean = f
|
|
|
411
438
|
/**
|
|
412
439
|
* List active integrations with auth providers
|
|
413
440
|
*
|
|
414
|
-
*
|
|
441
|
+
* Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth` instead. Removal scheduled for March 1, 2026.
|
|
415
442
|
*
|
|
416
443
|
* @deprecated
|
|
417
444
|
*/
|
|
@@ -419,7 +446,7 @@ declare const listNeonAuthIntegrations: <ThrowOnError extends boolean = false>(o
|
|
|
419
446
|
/**
|
|
420
447
|
* List OAuth providers
|
|
421
448
|
*
|
|
422
|
-
*
|
|
449
|
+
* Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers` instead. Removal scheduled for March 1, 2026.
|
|
423
450
|
*
|
|
424
451
|
*
|
|
425
452
|
* @deprecated
|
|
@@ -428,8 +455,7 @@ declare const listNeonAuthOauthProviders: <ThrowOnError extends boolean = false>
|
|
|
428
455
|
/**
|
|
429
456
|
* Add an OAuth provider
|
|
430
457
|
*
|
|
431
|
-
*
|
|
432
|
-
* Adds an OAuth provider to the specified project.
|
|
458
|
+
* Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers` instead. Removal scheduled for March 1, 2026.
|
|
433
459
|
*
|
|
434
460
|
*
|
|
435
461
|
* @deprecated
|
|
@@ -453,7 +479,7 @@ declare const addBranchNeonAuthOauthProvider: <ThrowOnError extends boolean = fa
|
|
|
453
479
|
/**
|
|
454
480
|
* Delete OAuth provider
|
|
455
481
|
*
|
|
456
|
-
*
|
|
482
|
+
* Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}` instead. Removal scheduled for March 1, 2026.
|
|
457
483
|
*
|
|
458
484
|
*
|
|
459
485
|
* @deprecated
|
|
@@ -462,7 +488,7 @@ declare const deleteNeonAuthOauthProvider: <ThrowOnError extends boolean = false
|
|
|
462
488
|
/**
|
|
463
489
|
* Update OAuth provider
|
|
464
490
|
*
|
|
465
|
-
*
|
|
491
|
+
* Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}` instead. Removal scheduled for March 1, 2026.
|
|
466
492
|
*
|
|
467
493
|
*
|
|
468
494
|
* @deprecated
|
|
@@ -471,21 +497,21 @@ declare const updateNeonAuthOauthProvider: <ThrowOnError extends boolean = false
|
|
|
471
497
|
/**
|
|
472
498
|
* Delete OAuth provider
|
|
473
499
|
*
|
|
474
|
-
* Deletes
|
|
500
|
+
* Deletes an OAuth provider from the specified project.
|
|
475
501
|
*
|
|
476
502
|
*/
|
|
477
503
|
declare const deleteBranchNeonAuthOauthProvider: <ThrowOnError extends boolean = false>(options: Options<DeleteBranchNeonAuthOauthProviderData, ThrowOnError>) => RequestResult<DeleteBranchNeonAuthOauthProviderResponses, DeleteBranchNeonAuthOauthProviderErrors, ThrowOnError>;
|
|
478
504
|
/**
|
|
479
505
|
* Update OAuth provider
|
|
480
506
|
*
|
|
481
|
-
* Updates
|
|
507
|
+
* Updates an OAuth provider for the specified project.
|
|
482
508
|
*
|
|
483
509
|
*/
|
|
484
510
|
declare const updateBranchNeonAuthOauthProvider: <ThrowOnError extends boolean = false>(options: Options<UpdateBranchNeonAuthOauthProviderData, ThrowOnError>) => RequestResult<UpdateBranchNeonAuthOauthProviderResponses, UpdateBranchNeonAuthOauthProviderErrors, ThrowOnError>;
|
|
485
511
|
/**
|
|
486
512
|
* Retrieve email server configuration
|
|
487
513
|
*
|
|
488
|
-
*
|
|
514
|
+
* Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/email_provider` instead. Removal scheduled for March 1, 2026.
|
|
489
515
|
*
|
|
490
516
|
*
|
|
491
517
|
* @deprecated
|
|
@@ -494,7 +520,7 @@ declare const getNeonAuthEmailServer: <ThrowOnError extends boolean = false>(opt
|
|
|
494
520
|
/**
|
|
495
521
|
* Update email server configuration
|
|
496
522
|
*
|
|
497
|
-
*
|
|
523
|
+
* Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/email_provider` instead. Removal scheduled for March 1, 2026.
|
|
498
524
|
*
|
|
499
525
|
*
|
|
500
526
|
* @deprecated
|
|
@@ -544,7 +570,7 @@ declare const updateNeonAuthEmailProvider: <ThrowOnError extends boolean = false
|
|
|
544
570
|
/**
|
|
545
571
|
* Delete integration with auth provider
|
|
546
572
|
*
|
|
547
|
-
*
|
|
573
|
+
* Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth` instead. Removal scheduled for March 1, 2026.
|
|
548
574
|
*
|
|
549
575
|
* @deprecated
|
|
550
576
|
*/
|
|
@@ -736,7 +762,7 @@ declare const restoreProjectBranch: <ThrowOnError extends boolean = false>(optio
|
|
|
736
762
|
/**
|
|
737
763
|
* Retrieve database schema
|
|
738
764
|
*
|
|
739
|
-
* Retrieves the schema
|
|
765
|
+
* Retrieves the database schema. Specify `lsn` or `timestamp` (not both) to read at a point in time; omit both to read from the database's head.
|
|
740
766
|
*/
|
|
741
767
|
declare const getProjectBranchSchema: <ThrowOnError extends boolean = false>(options: Options<GetProjectBranchSchemaData, ThrowOnError>) => RequestResult<GetProjectBranchSchemaResponses, GetProjectBranchSchemaErrors, ThrowOnError>;
|
|
742
768
|
/**
|
|
@@ -796,19 +822,6 @@ declare const startAnonymization: <ThrowOnError extends boolean = false>(options
|
|
|
796
822
|
*
|
|
797
823
|
*/
|
|
798
824
|
declare const setDefaultProjectBranch: <ThrowOnError extends boolean = false>(options: Options<SetDefaultProjectBranchData, ThrowOnError>) => RequestResult<SetDefaultProjectBranchResponses, SetDefaultProjectBranchErrors, ThrowOnError>;
|
|
799
|
-
/**
|
|
800
|
-
* Recover a deleted branch
|
|
801
|
-
*
|
|
802
|
-
* Recovers a deleted branch within the 7-day deletion recovery period.
|
|
803
|
-
* The branch must have been soft deleted and not yet permanently deleted.
|
|
804
|
-
* Recovery restores the branch and its endpoints to an idle state.
|
|
805
|
-
* Connection strings remain valid after recovery.
|
|
806
|
-
* TTL branches become non-TTL branches after recovery.
|
|
807
|
-
*
|
|
808
|
-
* To list deleted branches available for recovery, use `GET /projects/{project_id}/branches?include_deleted=true`.
|
|
809
|
-
*
|
|
810
|
-
*/
|
|
811
|
-
declare const recoverProjectBranch: <ThrowOnError extends boolean = false>(options: Options<RecoverProjectBranchData, ThrowOnError>) => RequestResult<RecoverProjectBranchResponses, RecoverProjectBranchErrors, ThrowOnError>;
|
|
812
825
|
/**
|
|
813
826
|
* Finalize branch restore from snapshot
|
|
814
827
|
*
|
|
@@ -821,8 +834,6 @@ declare const recoverProjectBranch: <ThrowOnError extends boolean = false>(optio
|
|
|
821
834
|
*
|
|
822
835
|
* This operation only applies to branches created using the `restoreSnapshot` endpoint with `finalize_restore: false`.
|
|
823
836
|
*
|
|
824
|
-
* **Note**: This endpoint is currently in Beta.
|
|
825
|
-
*
|
|
826
837
|
*/
|
|
827
838
|
declare const finalizeRestoreBranch: <ThrowOnError extends boolean = false>(options: Options<FinalizeRestoreBranchData, ThrowOnError>) => RequestResult<FinalizeRestoreBranchResponses, FinalizeRestoreBranchErrors, ThrowOnError>;
|
|
828
839
|
/**
|
|
@@ -1291,7 +1302,7 @@ declare const getCurrentUserOrganizations: <ThrowOnError extends boolean = false
|
|
|
1291
1302
|
/**
|
|
1292
1303
|
* Transfer projects from personal account to organization
|
|
1293
1304
|
*
|
|
1294
|
-
*
|
|
1305
|
+
* Deprecated. Personal accounts have been migrated to organizations, so this operation no longer applies. Removal scheduled for July 1, 2026.
|
|
1295
1306
|
*
|
|
1296
1307
|
*
|
|
1297
1308
|
* @deprecated
|
|
@@ -1312,8 +1323,6 @@ declare const getAuthDetails: <ThrowOnError extends boolean = false>(options?: O
|
|
|
1312
1323
|
* Creates a snapshot from the specified branch.
|
|
1313
1324
|
* This operation may initiate an asynchronous process.
|
|
1314
1325
|
*
|
|
1315
|
-
* **Note**: This endpoint is currently in Beta.
|
|
1316
|
-
*
|
|
1317
1326
|
*/
|
|
1318
1327
|
declare const createSnapshot: <ThrowOnError extends boolean = false>(options: Options<CreateSnapshotData, ThrowOnError>) => RequestResult<CreateSnapshotResponses, CreateSnapshotErrors, ThrowOnError>;
|
|
1319
1328
|
/**
|
|
@@ -1322,8 +1331,6 @@ declare const createSnapshot: <ThrowOnError extends boolean = false>(options: Op
|
|
|
1322
1331
|
* Lists the snapshots for the specified project.
|
|
1323
1332
|
* Each snapshot represents a point-in-time backup of the project data.
|
|
1324
1333
|
*
|
|
1325
|
-
* **Note**: This endpoint is currently in Beta.
|
|
1326
|
-
*
|
|
1327
1334
|
*/
|
|
1328
1335
|
declare const listSnapshots: <ThrowOnError extends boolean = false>(options: Options<ListSnapshotsData, ThrowOnError>) => RequestResult<ListSnapshotsResponses, ListSnapshotsErrors, ThrowOnError>;
|
|
1329
1336
|
/**
|
|
@@ -1331,8 +1338,6 @@ declare const listSnapshots: <ThrowOnError extends boolean = false>(options: Opt
|
|
|
1331
1338
|
*
|
|
1332
1339
|
* Deletes the specified snapshot.
|
|
1333
1340
|
*
|
|
1334
|
-
* **Note**: This endpoint is currently in Beta.
|
|
1335
|
-
*
|
|
1336
1341
|
*/
|
|
1337
1342
|
declare const deleteSnapshot: <ThrowOnError extends boolean = false>(options: Options<DeleteSnapshotData, ThrowOnError>) => RequestResult<DeleteSnapshotResponses, DeleteSnapshotErrors, ThrowOnError>;
|
|
1338
1343
|
/**
|
|
@@ -1340,8 +1345,6 @@ declare const deleteSnapshot: <ThrowOnError extends boolean = false>(options: Op
|
|
|
1340
1345
|
*
|
|
1341
1346
|
* Updates the specified snapshot.
|
|
1342
1347
|
*
|
|
1343
|
-
* **Note**: This endpoint is currently in Beta.
|
|
1344
|
-
*
|
|
1345
1348
|
*/
|
|
1346
1349
|
declare const updateSnapshot: <ThrowOnError extends boolean = false>(options: Options<UpdateSnapshotData, ThrowOnError>) => RequestResult<UpdateSnapshotResponses, UpdateSnapshotErrors, ThrowOnError>;
|
|
1347
1350
|
/**
|
|
@@ -1350,8 +1353,6 @@ declare const updateSnapshot: <ThrowOnError extends boolean = false>(options: Op
|
|
|
1350
1353
|
* Restores the specified snapshot to a new branch,
|
|
1351
1354
|
* and optionally finalizes the restore operation to replace the original branch.
|
|
1352
1355
|
*
|
|
1353
|
-
* **Note**: This endpoint is currently in Beta.
|
|
1354
|
-
*
|
|
1355
1356
|
*/
|
|
1356
1357
|
declare const restoreSnapshot: <ThrowOnError extends boolean = false>(options: Options<RestoreSnapshotData, ThrowOnError>) => RequestResult<RestoreSnapshotResponses, RestoreSnapshotErrors, ThrowOnError>;
|
|
1357
1358
|
/**
|
|
@@ -1359,37 +1360,33 @@ declare const restoreSnapshot: <ThrowOnError extends boolean = false>(options: O
|
|
|
1359
1360
|
*
|
|
1360
1361
|
* Returns the backup schedule for the specified branch, including the configured snapshot frequencies.
|
|
1361
1362
|
*
|
|
1362
|
-
* **Note**: This endpoint is currently in Beta.
|
|
1363
|
-
*
|
|
1364
1363
|
*/
|
|
1365
1364
|
declare const getSnapshotSchedule: <ThrowOnError extends boolean = false>(options: Options<GetSnapshotScheduleData, ThrowOnError>) => RequestResult<GetSnapshotScheduleResponses, GetSnapshotScheduleErrors, ThrowOnError>;
|
|
1366
1365
|
/**
|
|
1367
1366
|
* Update backup schedule
|
|
1368
1367
|
*
|
|
1369
1368
|
* Updates the backup schedule for the specified branch.
|
|
1370
|
-
* The schedule defines how often automatic snapshots are created (
|
|
1371
|
-
*
|
|
1372
|
-
* **Note**: This endpoint is currently in Beta.
|
|
1369
|
+
* The schedule defines how often automatic snapshots are created (for example, `daily` or `weekly`). Requires a paid plan.
|
|
1373
1370
|
*
|
|
1374
1371
|
*/
|
|
1375
1372
|
declare const setSnapshotSchedule: <ThrowOnError extends boolean = false>(options: Options<SetSnapshotScheduleData, ThrowOnError>) => RequestResult<SetSnapshotScheduleResponses, SetSnapshotScheduleErrors, ThrowOnError>;
|
|
1376
1373
|
/**
|
|
1377
1374
|
* List buckets on the branch
|
|
1378
1375
|
*
|
|
1379
|
-
* Lists branchable object
|
|
1376
|
+
* Lists branchable object storage buckets visible on the specified branch,
|
|
1380
1377
|
* including those inherited from ancestor branches.
|
|
1381
1378
|
*
|
|
1382
|
-
* **Note**: This endpoint is currently in
|
|
1379
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1383
1380
|
*
|
|
1384
1381
|
*/
|
|
1385
1382
|
declare const listProjectBranchBuckets: <ThrowOnError extends boolean = false>(options: Options<ListProjectBranchBucketsData, ThrowOnError>) => RequestResult<ListProjectBranchBucketsResponses, ListProjectBranchBucketsErrors, ThrowOnError>;
|
|
1386
1383
|
/**
|
|
1387
1384
|
* Create a bucket on the branch
|
|
1388
1385
|
*
|
|
1389
|
-
* Creates a new branchable object
|
|
1390
|
-
* Buckets are managed by the Neon Platform branchable
|
|
1386
|
+
* Creates a new branchable object storage bucket on the specified branch.
|
|
1387
|
+
* Buckets are managed by the Neon Platform branchable object storage service.
|
|
1391
1388
|
*
|
|
1392
|
-
* **Note**: This endpoint is currently in
|
|
1389
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1393
1390
|
*
|
|
1394
1391
|
*/
|
|
1395
1392
|
declare const createProjectBranchBucket: <ThrowOnError extends boolean = false>(options: Options<CreateProjectBranchBucketData, ThrowOnError>) => RequestResult<CreateProjectBranchBucketResponses, CreateProjectBranchBucketErrors, ThrowOnError>;
|
|
@@ -1398,19 +1395,19 @@ declare const createProjectBranchBucket: <ThrowOnError extends boolean = false>(
|
|
|
1398
1395
|
*
|
|
1399
1396
|
* Deletes the named bucket from the specified branch.
|
|
1400
1397
|
*
|
|
1401
|
-
* **Note**: This endpoint is currently in
|
|
1398
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1402
1399
|
*
|
|
1403
1400
|
*/
|
|
1404
1401
|
declare const deleteProjectBranchBucket: <ThrowOnError extends boolean = false>(options: Options<DeleteProjectBranchBucketData, ThrowOnError>) => RequestResult<DeleteProjectBranchBucketResponses, DeleteProjectBranchBucketErrors, ThrowOnError>;
|
|
1405
1402
|
/**
|
|
1406
|
-
* Get branch storage state
|
|
1403
|
+
* Get branch object storage state
|
|
1407
1404
|
*
|
|
1408
|
-
* Returns whether branchable object
|
|
1409
|
-
* branch. A 200 response means the branch is registered in the storage
|
|
1405
|
+
* Returns whether branchable object storage is usable for the specified
|
|
1406
|
+
* branch. A 200 response means the branch is registered in the object storage
|
|
1410
1407
|
* service and the S3 data plane will accept requests for it. A 404
|
|
1411
|
-
* response includes a `reason` field indicating why storage is unavailable.
|
|
1408
|
+
* response includes a `reason` field indicating why object storage is unavailable.
|
|
1412
1409
|
*
|
|
1413
|
-
* **Note**: This endpoint is currently in
|
|
1410
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1414
1411
|
*
|
|
1415
1412
|
*/
|
|
1416
1413
|
declare const getProjectBranchStorage: <ThrowOnError extends boolean = false>(options: Options<GetProjectBranchStorageData, ThrowOnError>) => RequestResult<GetProjectBranchStorageResponses, GetProjectBranchStorageErrors, ThrowOnError>;
|
|
@@ -1422,10 +1419,72 @@ declare const getProjectBranchStorage: <ThrowOnError extends boolean = false>(op
|
|
|
1422
1419
|
* registered and this region serves the AI gateway. A 404 response
|
|
1423
1420
|
* includes a `reason` field indicating why the gateway is unavailable.
|
|
1424
1421
|
*
|
|
1425
|
-
* **Note**: This endpoint is currently in
|
|
1422
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1426
1423
|
*
|
|
1427
1424
|
*/
|
|
1428
1425
|
declare const getProjectBranchAiGateway: <ThrowOnError extends boolean = false>(options: Options<GetProjectBranchAiGatewayData, ThrowOnError>) => RequestResult<GetProjectBranchAiGatewayResponses, GetProjectBranchAiGatewayErrors, ThrowOnError>;
|
|
1426
|
+
/**
|
|
1427
|
+
* Query branch logs
|
|
1428
|
+
*
|
|
1429
|
+
* Returns logs emitted by services running on the specified branch,
|
|
1430
|
+
* ordered by timestamp according to `sort_order`.
|
|
1431
|
+
*
|
|
1432
|
+
* All supplied filters are combined with `AND`: a record is returned only
|
|
1433
|
+
* when it matches every filter. `minimum_severity` and `severity_text` are
|
|
1434
|
+
* independent filters, so setting both requires a record to clear the
|
|
1435
|
+
* severity floor *and* match the exact severity text.
|
|
1436
|
+
*
|
|
1437
|
+
* Supply `logql` instead of the structured filters to run a raw LogQL
|
|
1438
|
+
* expression. Combining it with any structured filter is rejected rather
|
|
1439
|
+
* than silently ignored; `limit`, `sort_order`, and the time window still
|
|
1440
|
+
* apply, because those bound the query rather than form part of the
|
|
1441
|
+
* expression.
|
|
1442
|
+
*
|
|
1443
|
+
* Give the window either as `since` — a duration ending at `end_time`, or
|
|
1444
|
+
* at the current time when `end_time` is omitted — or as an explicit
|
|
1445
|
+
* `start_time`. Supplying both is rejected.
|
|
1446
|
+
*
|
|
1447
|
+
* A single response holds at most 1,000 records. When `is_truncated` is
|
|
1448
|
+
* `true`, pass the returned `next_cursor` back as `cursor` to fetch the
|
|
1449
|
+
* next page, repeating the time range and every filter unchanged.
|
|
1450
|
+
*
|
|
1451
|
+
* If no time range is supplied, the query covers the previous hour. The
|
|
1452
|
+
* maximum supported time range is seven days. `end_time` is exclusive.
|
|
1453
|
+
*
|
|
1454
|
+
* **Note**: This endpoint is currently in Private Beta.
|
|
1455
|
+
*
|
|
1456
|
+
*/
|
|
1457
|
+
declare const queryProjectBranchLogs: <ThrowOnError extends boolean = false>(options: Options<QueryProjectBranchLogsData, ThrowOnError>) => RequestResult<QueryProjectBranchLogsResponses, QueryProjectBranchLogsErrors, ThrowOnError>;
|
|
1458
|
+
/**
|
|
1459
|
+
* List branch log fields
|
|
1460
|
+
*
|
|
1461
|
+
* Lists the low-cardinality log fields observed on this branch whose
|
|
1462
|
+
* distinct values can be discovered with the log field-values endpoint.
|
|
1463
|
+
*
|
|
1464
|
+
* The set is computed per branch and grows as new fields are observed, so
|
|
1465
|
+
* treat it as data rather than a fixed list: discover a field here, then
|
|
1466
|
+
* pass it as `field_name` to the field-values endpoint.
|
|
1467
|
+
*
|
|
1468
|
+
* **Note**: This endpoint is currently in Private Beta.
|
|
1469
|
+
*
|
|
1470
|
+
*/
|
|
1471
|
+
declare const listProjectBranchLogFields: <ThrowOnError extends boolean = false>(options: Options<ListProjectBranchLogFieldsData, ThrowOnError>) => RequestResult<ListProjectBranchLogFieldsResponses, ListProjectBranchLogFieldsErrors, ThrowOnError>;
|
|
1472
|
+
/**
|
|
1473
|
+
* List branch log field values
|
|
1474
|
+
*
|
|
1475
|
+
* Lists the distinct values observed for a low-cardinality log field in
|
|
1476
|
+
* the requested time range. Call the log fields endpoint first to learn
|
|
1477
|
+
* which `field_name` values this branch supports; a field that branch has
|
|
1478
|
+
* never emitted is rejected with `unknown_field`.
|
|
1479
|
+
*
|
|
1480
|
+
* Give the window either as `since` or as an explicit `start_time`;
|
|
1481
|
+
* supplying both is rejected. If neither is given, the previous six hours
|
|
1482
|
+
* are used. The maximum supported time range is seven days.
|
|
1483
|
+
*
|
|
1484
|
+
* **Note**: This endpoint is currently in Private Beta.
|
|
1485
|
+
*
|
|
1486
|
+
*/
|
|
1487
|
+
declare const listProjectBranchLogFieldValues: <ThrowOnError extends boolean = false>(options: Options<ListProjectBranchLogFieldValuesData, ThrowOnError>) => RequestResult<ListProjectBranchLogFieldValuesResponses, ListProjectBranchLogFieldValuesErrors, ThrowOnError>;
|
|
1429
1488
|
/**
|
|
1430
1489
|
* List objects in a bucket
|
|
1431
1490
|
*
|
|
@@ -1438,7 +1497,7 @@ declare const getProjectBranchAiGateway: <ThrowOnError extends boolean = false>(
|
|
|
1438
1497
|
* browser; keys that do not contain the delimiter after `prefix` are
|
|
1439
1498
|
* returned as `objects`.
|
|
1440
1499
|
*
|
|
1441
|
-
* **Note**: This endpoint is currently in
|
|
1500
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1442
1501
|
*
|
|
1443
1502
|
*/
|
|
1444
1503
|
declare const listProjectBranchBucketObjects: <ThrowOnError extends boolean = false>(options: Options<ListProjectBranchBucketObjectsData, ThrowOnError>) => RequestResult<ListProjectBranchBucketObjectsResponses, ListProjectBranchBucketObjectsErrors, ThrowOnError>;
|
|
@@ -1448,7 +1507,7 @@ declare const listProjectBranchBucketObjects: <ThrowOnError extends boolean = fa
|
|
|
1448
1507
|
* Deletes the named object from the bucket on the specified branch.
|
|
1449
1508
|
* Served by the user's session (no customer S3 credentials required).
|
|
1450
1509
|
*
|
|
1451
|
-
* **Note**: This endpoint is currently in
|
|
1510
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1452
1511
|
*
|
|
1453
1512
|
*/
|
|
1454
1513
|
declare const deleteProjectBranchBucketObject: <ThrowOnError extends boolean = false>(options: Options<DeleteProjectBranchBucketObjectData, ThrowOnError>) => RequestResult<DeleteProjectBranchBucketObjectResponses, DeleteProjectBranchBucketObjectErrors, ThrowOnError>;
|
|
@@ -1465,12 +1524,12 @@ declare const deleteProjectBranchBucketObject: <ThrowOnError extends boolean = f
|
|
|
1465
1524
|
*
|
|
1466
1525
|
* BINARY-STREAM EXCEPTION TO THE BUILD-GENERATED-TYPES RULE (#7029): the
|
|
1467
1526
|
* successful 200 body is the raw object stream, proxied verbatim from the
|
|
1468
|
-
* platform storage admin endpoint. It is modeled as an
|
|
1527
|
+
* platform object storage admin endpoint. It is modeled as an
|
|
1469
1528
|
* `application/octet-stream` binary body (not a JSON response schema) and
|
|
1470
1529
|
* is streamed without buffering the whole object in memory. Error
|
|
1471
1530
|
* responses still use the generated `GeneralError` shape.
|
|
1472
1531
|
*
|
|
1473
|
-
* **Note**: This endpoint is currently in
|
|
1532
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1474
1533
|
*
|
|
1475
1534
|
*/
|
|
1476
1535
|
declare const getProjectBranchBucketObject: <ThrowOnError extends boolean = false>(options: Options<GetProjectBranchBucketObjectData, ThrowOnError>) => RequestResult<GetProjectBranchBucketObjectResponses, GetProjectBranchBucketObjectErrors, ThrowOnError>;
|
|
@@ -1493,7 +1552,7 @@ declare const getProjectBranchBucketObject: <ThrowOnError extends boolean = fals
|
|
|
1493
1552
|
* inherited from an ancestor branch via copy-on-write (not materialized on
|
|
1494
1553
|
* this branch) are out of scope.
|
|
1495
1554
|
*
|
|
1496
|
-
* **Note**: This endpoint is currently in
|
|
1555
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1497
1556
|
*
|
|
1498
1557
|
*/
|
|
1499
1558
|
declare const deleteProjectBranchBucketObjectsByPrefix: <ThrowOnError extends boolean = false>(options: Options<DeleteProjectBranchBucketObjectsByPrefixData, ThrowOnError>) => RequestResult<DeleteProjectBranchBucketObjectsByPrefixResponses, DeleteProjectBranchBucketObjectsByPrefixErrors, ThrowOnError>;
|
|
@@ -1516,7 +1575,7 @@ declare const deleteProjectBranchBucketObjectsByPrefix: <ThrowOnError extends bo
|
|
|
1516
1575
|
*
|
|
1517
1576
|
* Served by the user's session (no customer S3 credentials required).
|
|
1518
1577
|
*
|
|
1519
|
-
* **Note**: This endpoint is currently in
|
|
1578
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1520
1579
|
*
|
|
1521
1580
|
*/
|
|
1522
1581
|
declare const presignProjectBranchBucketObject: <ThrowOnError extends boolean = false>(options: Options<PresignProjectBranchBucketObjectData, ThrowOnError>) => RequestResult<PresignProjectBranchBucketObjectResponses, PresignProjectBranchBucketObjectErrors, ThrowOnError>;
|
|
@@ -1526,7 +1585,7 @@ declare const presignProjectBranchBucketObject: <ThrowOnError extends boolean =
|
|
|
1526
1585
|
* Returns metadata for customer-issued credentials on the branch.
|
|
1527
1586
|
* Secrets are never included.
|
|
1528
1587
|
*
|
|
1529
|
-
* **Note**: This endpoint is currently in
|
|
1588
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1530
1589
|
*
|
|
1531
1590
|
*/
|
|
1532
1591
|
declare const listCredentials: <ThrowOnError extends boolean = false>(options: Options<ListCredentialsData, ThrowOnError>) => RequestResult<ListCredentialsResponses, ListCredentialsErrors, ThrowOnError>;
|
|
@@ -1537,7 +1596,7 @@ declare const listCredentials: <ThrowOnError extends boolean = false>(options: O
|
|
|
1537
1596
|
* branch. The response carries `api_token` and `s3_secret_access_key`
|
|
1538
1597
|
* exactly once — they are not stored server-side.
|
|
1539
1598
|
*
|
|
1540
|
-
* **Note**: This endpoint is currently in
|
|
1599
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1541
1600
|
*
|
|
1542
1601
|
*/
|
|
1543
1602
|
declare const createCredential: <ThrowOnError extends boolean = false>(options: Options<CreateCredentialData, ThrowOnError>) => RequestResult<CreateCredentialResponses, CreateCredentialErrors, ThrowOnError>;
|
|
@@ -1546,7 +1605,7 @@ declare const createCredential: <ThrowOnError extends boolean = false>(options:
|
|
|
1546
1605
|
*
|
|
1547
1606
|
* Soft-deletes the credential. Idempotent.
|
|
1548
1607
|
*
|
|
1549
|
-
* **Note**: This endpoint is currently in
|
|
1608
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1550
1609
|
*
|
|
1551
1610
|
*/
|
|
1552
1611
|
declare const revokeCredential: <ThrowOnError extends boolean = false>(options: Options<RevokeCredentialData, ThrowOnError>) => RequestResult<RevokeCredentialResponses, RevokeCredentialErrors, ThrowOnError>;
|
|
@@ -1555,7 +1614,7 @@ declare const revokeCredential: <ThrowOnError extends boolean = false>(options:
|
|
|
1555
1614
|
*
|
|
1556
1615
|
* Lists functions on the specified branch.
|
|
1557
1616
|
*
|
|
1558
|
-
* **Note**: This endpoint is currently in
|
|
1617
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1559
1618
|
*
|
|
1560
1619
|
*/
|
|
1561
1620
|
declare const listProjectBranchFunctions: <ThrowOnError extends boolean = false>(options: Options<ListProjectBranchFunctionsData, ThrowOnError>) => RequestResult<ListProjectBranchFunctionsResponses, ListProjectBranchFunctionsErrors, ThrowOnError>;
|
|
@@ -1564,7 +1623,7 @@ declare const listProjectBranchFunctions: <ThrowOnError extends boolean = false>
|
|
|
1564
1623
|
*
|
|
1565
1624
|
* Deletes the function identified by its slug.
|
|
1566
1625
|
*
|
|
1567
|
-
* **Note**: This endpoint is currently in
|
|
1626
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1568
1627
|
*
|
|
1569
1628
|
*/
|
|
1570
1629
|
declare const deleteProjectBranchFunction: <ThrowOnError extends boolean = false>(options: Options<DeleteProjectBranchFunctionData, ThrowOnError>) => RequestResult<DeleteProjectBranchFunctionResponses, DeleteProjectBranchFunctionErrors, ThrowOnError>;
|
|
@@ -1573,7 +1632,7 @@ declare const deleteProjectBranchFunction: <ThrowOnError extends boolean = false
|
|
|
1573
1632
|
*
|
|
1574
1633
|
* Returns the function identified by its slug.
|
|
1575
1634
|
*
|
|
1576
|
-
* **Note**: This endpoint is currently in
|
|
1635
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1577
1636
|
*
|
|
1578
1637
|
*/
|
|
1579
1638
|
declare const getProjectBranchFunction: <ThrowOnError extends boolean = false>(options: Options<GetProjectBranchFunctionData, ThrowOnError>) => RequestResult<GetProjectBranchFunctionResponses, GetProjectBranchFunctionErrors, ThrowOnError>;
|
|
@@ -1590,7 +1649,7 @@ declare const getProjectBranchFunction: <ThrowOnError extends boolean = false>(o
|
|
|
1590
1649
|
* branch: a branch forked before the rename keeps the name it had at
|
|
1591
1650
|
* fork time.
|
|
1592
1651
|
*
|
|
1593
|
-
* **Note**: This endpoint is currently in
|
|
1652
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1594
1653
|
*
|
|
1595
1654
|
*/
|
|
1596
1655
|
declare const updateProjectBranchFunction: <ThrowOnError extends boolean = false>(options: Options<UpdateProjectBranchFunctionData, ThrowOnError>) => RequestResult<UpdateProjectBranchFunctionResponses, UpdateProjectBranchFunctionErrors, ThrowOnError>;
|
|
@@ -1603,10 +1662,10 @@ declare const updateProjectBranchFunction: <ThrowOnError extends boolean = false
|
|
|
1603
1662
|
* first deployment of a function must include zip. The newest deployment
|
|
1604
1663
|
* becomes active.
|
|
1605
1664
|
*
|
|
1606
|
-
* **Note**: This endpoint is currently in
|
|
1665
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1607
1666
|
*
|
|
1608
1667
|
*/
|
|
1609
1668
|
declare const createProjectBranchFunctionDeployment: <ThrowOnError extends boolean = false>(options: Options<CreateProjectBranchFunctionDeploymentData, ThrowOnError>) => RequestResult<CreateProjectBranchFunctionDeploymentResponses, CreateProjectBranchFunctionDeploymentErrors, ThrowOnError>;
|
|
1610
1669
|
//#endregion
|
|
1611
|
-
export { Options, acceptProjectTransferRequest, addBranchNeonAuthOauthProvider, addBranchNeonAuthTrustedDomain, addNeonAuthDomainToRedirectUriWhitelist, addNeonAuthOauthProvider, addProjectJwks, assignOrganizationVpcEndpoint, assignProjectVpcEndpoint, countProjectBranches, createApiKey, createBranchNeonAuthNewUser, createCredential, createNeonAuth, createNeonAuthIntegration, createNeonAuthNewUser, createNeonAuthProviderSdkKeys, createOrgApiKey, createOrganizationInvitations, createProject, createProjectBranch, createProjectBranchAnonymized, createProjectBranchBucket, createProjectBranchDataApi, createProjectBranchDatabase, createProjectBranchFunctionDeployment, createProjectBranchRole, createProjectEndpoint, createProjectTransferRequest, createSnapshot, deleteBranchNeonAuthOauthProvider, deleteBranchNeonAuthTrustedDomain, deleteBranchNeonAuthUser, deleteNeonAuthDomainFromRedirectUriWhitelist, deleteNeonAuthIntegration, deleteNeonAuthOauthProvider, deleteNeonAuthUser, deleteOrganizationSpendingLimit, deleteOrganizationVpcEndpoint, deleteProject, deleteProjectBranch, deleteProjectBranchBucket, deleteProjectBranchBucketObject, deleteProjectBranchBucketObjectsByPrefix, deleteProjectBranchDataApi, deleteProjectBranchDatabase, deleteProjectBranchFunction, deleteProjectBranchRole, deleteProjectEndpoint, deleteProjectJwks, deleteProjectVpcEndpoint, deleteSnapshot, disableNeonAuth, finalizeRestoreBranch, getActiveRegions, getAnonymizedBranchStatus, getAuthDetails, getAvailablePreloadLibraries, getConnectionUri, getConsumptionHistoryPerBranchV2, getConsumptionHistoryPerProject, getConsumptionHistoryPerProjectV2, getCurrentUserInfo, getCurrentUserOrganizations, getMaskingRules, getNeonAuth, getNeonAuthAllowLocalhost, getNeonAuthEmailAndPasswordConfig, getNeonAuthEmailProvider, getNeonAuthEmailServer, getNeonAuthPhoneNumberPlugin, getNeonAuthPluginConfigs, getNeonAuthWebhookConfig, getOrganization, getOrganizationInvitations, getOrganizationMember, getOrganizationMembers, getOrganizationSpendingLimit, getOrganizationVpcEndpointDetails, getProject, getProjectAdvisorSecurityIssues, getProjectBranch, getProjectBranchAiGateway, getProjectBranchBucketObject, getProjectBranchDataApi, getProjectBranchDatabase, getProjectBranchFunction, getProjectBranchRole, getProjectBranchRolePassword, getProjectBranchSchema, getProjectBranchSchemaComparison, getProjectBranchStorage, getProjectEndpoint, getProjectJwks, getProjectOperation, getSnapshotSchedule, grantPermissionToProject, listApiKeys, listBranchNeonAuthOauthProviders, listBranchNeonAuthTrustedDomains, listCredentials, listNeonAuthIntegrations, listNeonAuthOauthProviders, listNeonAuthRedirectUriWhitelistDomains, listOrgApiKeys, listOrganizationVpcEndpoints, listOrganizationVpcEndpointsAllRegions, listProjectBranchBucketObjects, listProjectBranchBuckets, listProjectBranchDatabases, listProjectBranchEndpoints, listProjectBranchFunctions, listProjectBranchRoles, listProjectBranches, listProjectEndpoints, listProjectOperations, listProjectPermissions, listProjectVpcEndpoints, listProjects, listSharedProjects, listSnapshots, presignProjectBranchBucketObject,
|
|
1670
|
+
export { Options, acceptProjectTransferRequest, addBranchNeonAuthOauthProvider, addBranchNeonAuthTrustedDomain, addNeonAuthDomainToRedirectUriWhitelist, addNeonAuthOauthProvider, addProjectJwks, assignOrganizationVpcEndpoint, assignProjectVpcEndpoint, countProjectBranches, createApiKey, createBranchNeonAuthNewUser, createCredential, createNeonAuth, createNeonAuthIntegration, createNeonAuthNewUser, createNeonAuthProviderSdkKeys, createOrgApiKey, createOrganizationInvitations, createProject, createProjectBranch, createProjectBranchAnonymized, createProjectBranchBucket, createProjectBranchDataApi, createProjectBranchDatabase, createProjectBranchFunctionDeployment, createProjectBranchRole, createProjectEndpoint, createProjectTransferRequest, createSnapshot, deleteBranchNeonAuthOauthProvider, deleteBranchNeonAuthTrustedDomain, deleteBranchNeonAuthUser, deleteNeonAuthDomainFromRedirectUriWhitelist, deleteNeonAuthIntegration, deleteNeonAuthOauthProvider, deleteNeonAuthUser, deleteOrganizationSpendingLimit, deleteOrganizationVpcEndpoint, deleteProject, deleteProjectBranch, deleteProjectBranchBucket, deleteProjectBranchBucketObject, deleteProjectBranchBucketObjectsByPrefix, deleteProjectBranchDataApi, deleteProjectBranchDatabase, deleteProjectBranchFunction, deleteProjectBranchRole, deleteProjectEndpoint, deleteProjectJwks, deleteProjectVpcEndpoint, deleteSnapshot, disableNeonAuth, finalizeRestoreBranch, getActiveRegions, getAnonymizedBranchStatus, getAuthDetails, getAvailablePreloadLibraries, getConnectionUri, getConsumptionHistoryPerBranchV2, getConsumptionHistoryPerProject, getConsumptionHistoryPerProjectV2, getCurrentUserInfo, getCurrentUserOrganizations, getMaskingRules, getNeonAuth, getNeonAuthAllowLocalhost, getNeonAuthEmailAndPasswordConfig, getNeonAuthEmailProvider, getNeonAuthEmailServer, getNeonAuthPhoneNumberPlugin, getNeonAuthPluginConfigs, getNeonAuthWebhookConfig, getOrganization, getOrganizationInvitations, getOrganizationMember, getOrganizationMembers, getOrganizationSpendingLimit, getOrganizationVpcEndpointDetails, getProject, getProjectAdvisorSecurityIssues, getProjectBranch, getProjectBranchAiGateway, getProjectBranchBucketObject, getProjectBranchDataApi, getProjectBranchDatabase, getProjectBranchFunction, getProjectBranchRole, getProjectBranchRolePassword, getProjectBranchSchema, getProjectBranchSchemaComparison, getProjectBranchStorage, getProjectEndpoint, getProjectJwks, getProjectOperation, getSnapshotSchedule, grantPermissionToProject, listApiKeys, listBranchNeonAuthOauthProviders, listBranchNeonAuthTrustedDomains, listCredentials, listNeonAuthIntegrations, listNeonAuthOauthProviders, listNeonAuthRedirectUriWhitelistDomains, listOrgApiKeys, listOrganizationVpcEndpoints, listOrganizationVpcEndpointsAllRegions, listProjectBranchBucketObjects, listProjectBranchBuckets, listProjectBranchDatabases, listProjectBranchEndpoints, listProjectBranchFunctions, listProjectBranchLogFieldValues, listProjectBranchLogFields, listProjectBranchRoles, listProjectBranches, listProjectEndpoints, listProjectMembers, listProjectOperations, listProjectPermissions, listProjectVpcEndpoints, listProjects, listSharedProjects, listSnapshots, presignProjectBranchBucketObject, queryProjectBranchLogs, recoverProject, removeOrganizationMember, removeProjectMemberRole, resetProjectBranchRolePassword, restartProjectEndpoint, restoreProjectBranch, restoreSnapshot, revokeApiKey, revokeCredential, revokeOrgApiKey, revokePermissionFromProject, sendNeonAuthTestEmail, setDefaultProjectBranch, setOrganizationSpendingLimit, setProjectMemberRole, setSnapshotSchedule, startAnonymization, startProjectEndpoint, suspendProjectEndpoint, transferNeonAuthProviderProject, transferProjectsFromOrgToOrg, transferProjectsFromUserToOrg, updateBranchNeonAuthOauthProvider, updateMaskingRules, updateNeonAuthAllowLocalhost, updateNeonAuthConfig, updateNeonAuthEmailAndPasswordConfig, updateNeonAuthEmailProvider, updateNeonAuthEmailServer, updateNeonAuthMagicLinkPlugin, updateNeonAuthOauthProvider, updateNeonAuthOrganizationPlugin, updateNeonAuthPhoneNumberPlugin, updateNeonAuthUserRole, updateNeonAuthWebhookConfig, updateOrganizationMember, updateProject, updateProjectBranch, updateProjectBranchDataApi, updateProjectBranchDatabase, updateProjectBranchFunction, updateProjectEndpoint, updateSnapshot };
|
|
1612
1671
|
//# sourceMappingURL=sdk.gen.d.ts.map
|