@neon/sdk 1.5.0 → 2.1.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/core/params.gen.js +13 -11
- package/dist/client/core/params.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 +162 -32
- 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 +142 -78
- package/dist/client/sdk.gen.d.ts.map +1 -1
- package/dist/client/sdk.gen.js +263 -96
- package/dist/client/sdk.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +1458 -321
- 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
|
|
@@ -539,12 +565,17 @@ declare const getNeonAuthEmailProvider: <ThrowOnError extends boolean = false>(o
|
|
|
539
565
|
* Updates the email provider configuration for the specified branch's Neon Auth integration.
|
|
540
566
|
* The email provider handles transactional messages such as verification emails and password reset links.
|
|
541
567
|
*
|
|
568
|
+
* Partial `standard` updates — omitting fields to keep their stored values — are supported only for
|
|
569
|
+
* Better Auth integrations, which merge omitted fields server-side. Legacy Stack Auth integrations do
|
|
570
|
+
* not merge and require all six `standard` fields (`host`, `port`, `username`, `password`,
|
|
571
|
+
* `sender_email`, `sender_name`) on every update; a partial `standard` body is rejected with 400.
|
|
572
|
+
*
|
|
542
573
|
*/
|
|
543
574
|
declare const updateNeonAuthEmailProvider: <ThrowOnError extends boolean = false>(options: Options<UpdateNeonAuthEmailProviderData, ThrowOnError>) => RequestResult<UpdateNeonAuthEmailProviderResponses, UpdateNeonAuthEmailProviderErrors, ThrowOnError>;
|
|
544
575
|
/**
|
|
545
576
|
* Delete integration with auth provider
|
|
546
577
|
*
|
|
547
|
-
*
|
|
578
|
+
* Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth` instead. Removal scheduled for March 1, 2026.
|
|
548
579
|
*
|
|
549
580
|
* @deprecated
|
|
550
581
|
*/
|
|
@@ -736,7 +767,7 @@ declare const restoreProjectBranch: <ThrowOnError extends boolean = false>(optio
|
|
|
736
767
|
/**
|
|
737
768
|
* Retrieve database schema
|
|
738
769
|
*
|
|
739
|
-
* Retrieves the schema
|
|
770
|
+
* 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
771
|
*/
|
|
741
772
|
declare const getProjectBranchSchema: <ThrowOnError extends boolean = false>(options: Options<GetProjectBranchSchemaData, ThrowOnError>) => RequestResult<GetProjectBranchSchemaResponses, GetProjectBranchSchemaErrors, ThrowOnError>;
|
|
742
773
|
/**
|
|
@@ -796,19 +827,6 @@ declare const startAnonymization: <ThrowOnError extends boolean = false>(options
|
|
|
796
827
|
*
|
|
797
828
|
*/
|
|
798
829
|
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
830
|
/**
|
|
813
831
|
* Finalize branch restore from snapshot
|
|
814
832
|
*
|
|
@@ -821,8 +839,6 @@ declare const recoverProjectBranch: <ThrowOnError extends boolean = false>(optio
|
|
|
821
839
|
*
|
|
822
840
|
* This operation only applies to branches created using the `restoreSnapshot` endpoint with `finalize_restore: false`.
|
|
823
841
|
*
|
|
824
|
-
* **Note**: This endpoint is currently in Beta.
|
|
825
|
-
*
|
|
826
842
|
*/
|
|
827
843
|
declare const finalizeRestoreBranch: <ThrowOnError extends boolean = false>(options: Options<FinalizeRestoreBranchData, ThrowOnError>) => RequestResult<FinalizeRestoreBranchResponses, FinalizeRestoreBranchErrors, ThrowOnError>;
|
|
828
844
|
/**
|
|
@@ -1291,7 +1307,7 @@ declare const getCurrentUserOrganizations: <ThrowOnError extends boolean = false
|
|
|
1291
1307
|
/**
|
|
1292
1308
|
* Transfer projects from personal account to organization
|
|
1293
1309
|
*
|
|
1294
|
-
*
|
|
1310
|
+
* Deprecated. Personal accounts have been migrated to organizations, so this operation no longer applies. Removal scheduled for July 1, 2026.
|
|
1295
1311
|
*
|
|
1296
1312
|
*
|
|
1297
1313
|
* @deprecated
|
|
@@ -1312,8 +1328,6 @@ declare const getAuthDetails: <ThrowOnError extends boolean = false>(options?: O
|
|
|
1312
1328
|
* Creates a snapshot from the specified branch.
|
|
1313
1329
|
* This operation may initiate an asynchronous process.
|
|
1314
1330
|
*
|
|
1315
|
-
* **Note**: This endpoint is currently in Beta.
|
|
1316
|
-
*
|
|
1317
1331
|
*/
|
|
1318
1332
|
declare const createSnapshot: <ThrowOnError extends boolean = false>(options: Options<CreateSnapshotData, ThrowOnError>) => RequestResult<CreateSnapshotResponses, CreateSnapshotErrors, ThrowOnError>;
|
|
1319
1333
|
/**
|
|
@@ -1322,8 +1336,6 @@ declare const createSnapshot: <ThrowOnError extends boolean = false>(options: Op
|
|
|
1322
1336
|
* Lists the snapshots for the specified project.
|
|
1323
1337
|
* Each snapshot represents a point-in-time backup of the project data.
|
|
1324
1338
|
*
|
|
1325
|
-
* **Note**: This endpoint is currently in Beta.
|
|
1326
|
-
*
|
|
1327
1339
|
*/
|
|
1328
1340
|
declare const listSnapshots: <ThrowOnError extends boolean = false>(options: Options<ListSnapshotsData, ThrowOnError>) => RequestResult<ListSnapshotsResponses, ListSnapshotsErrors, ThrowOnError>;
|
|
1329
1341
|
/**
|
|
@@ -1331,8 +1343,6 @@ declare const listSnapshots: <ThrowOnError extends boolean = false>(options: Opt
|
|
|
1331
1343
|
*
|
|
1332
1344
|
* Deletes the specified snapshot.
|
|
1333
1345
|
*
|
|
1334
|
-
* **Note**: This endpoint is currently in Beta.
|
|
1335
|
-
*
|
|
1336
1346
|
*/
|
|
1337
1347
|
declare const deleteSnapshot: <ThrowOnError extends boolean = false>(options: Options<DeleteSnapshotData, ThrowOnError>) => RequestResult<DeleteSnapshotResponses, DeleteSnapshotErrors, ThrowOnError>;
|
|
1338
1348
|
/**
|
|
@@ -1340,8 +1350,6 @@ declare const deleteSnapshot: <ThrowOnError extends boolean = false>(options: Op
|
|
|
1340
1350
|
*
|
|
1341
1351
|
* Updates the specified snapshot.
|
|
1342
1352
|
*
|
|
1343
|
-
* **Note**: This endpoint is currently in Beta.
|
|
1344
|
-
*
|
|
1345
1353
|
*/
|
|
1346
1354
|
declare const updateSnapshot: <ThrowOnError extends boolean = false>(options: Options<UpdateSnapshotData, ThrowOnError>) => RequestResult<UpdateSnapshotResponses, UpdateSnapshotErrors, ThrowOnError>;
|
|
1347
1355
|
/**
|
|
@@ -1350,8 +1358,6 @@ declare const updateSnapshot: <ThrowOnError extends boolean = false>(options: Op
|
|
|
1350
1358
|
* Restores the specified snapshot to a new branch,
|
|
1351
1359
|
* and optionally finalizes the restore operation to replace the original branch.
|
|
1352
1360
|
*
|
|
1353
|
-
* **Note**: This endpoint is currently in Beta.
|
|
1354
|
-
*
|
|
1355
1361
|
*/
|
|
1356
1362
|
declare const restoreSnapshot: <ThrowOnError extends boolean = false>(options: Options<RestoreSnapshotData, ThrowOnError>) => RequestResult<RestoreSnapshotResponses, RestoreSnapshotErrors, ThrowOnError>;
|
|
1357
1363
|
/**
|
|
@@ -1359,37 +1365,33 @@ declare const restoreSnapshot: <ThrowOnError extends boolean = false>(options: O
|
|
|
1359
1365
|
*
|
|
1360
1366
|
* Returns the backup schedule for the specified branch, including the configured snapshot frequencies.
|
|
1361
1367
|
*
|
|
1362
|
-
* **Note**: This endpoint is currently in Beta.
|
|
1363
|
-
*
|
|
1364
1368
|
*/
|
|
1365
1369
|
declare const getSnapshotSchedule: <ThrowOnError extends boolean = false>(options: Options<GetSnapshotScheduleData, ThrowOnError>) => RequestResult<GetSnapshotScheduleResponses, GetSnapshotScheduleErrors, ThrowOnError>;
|
|
1366
1370
|
/**
|
|
1367
1371
|
* Update backup schedule
|
|
1368
1372
|
*
|
|
1369
1373
|
* 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.
|
|
1374
|
+
* The schedule defines how often automatic snapshots are created (for example, `daily` or `weekly`). Requires a paid plan.
|
|
1373
1375
|
*
|
|
1374
1376
|
*/
|
|
1375
1377
|
declare const setSnapshotSchedule: <ThrowOnError extends boolean = false>(options: Options<SetSnapshotScheduleData, ThrowOnError>) => RequestResult<SetSnapshotScheduleResponses, SetSnapshotScheduleErrors, ThrowOnError>;
|
|
1376
1378
|
/**
|
|
1377
1379
|
* List buckets on the branch
|
|
1378
1380
|
*
|
|
1379
|
-
* Lists branchable object
|
|
1381
|
+
* Lists branchable object storage buckets visible on the specified branch,
|
|
1380
1382
|
* including those inherited from ancestor branches.
|
|
1381
1383
|
*
|
|
1382
|
-
* **Note**: This endpoint is currently in
|
|
1384
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1383
1385
|
*
|
|
1384
1386
|
*/
|
|
1385
1387
|
declare const listProjectBranchBuckets: <ThrowOnError extends boolean = false>(options: Options<ListProjectBranchBucketsData, ThrowOnError>) => RequestResult<ListProjectBranchBucketsResponses, ListProjectBranchBucketsErrors, ThrowOnError>;
|
|
1386
1388
|
/**
|
|
1387
1389
|
* Create a bucket on the branch
|
|
1388
1390
|
*
|
|
1389
|
-
* Creates a new branchable object
|
|
1390
|
-
* Buckets are managed by the Neon Platform branchable
|
|
1391
|
+
* Creates a new branchable object storage bucket on the specified branch.
|
|
1392
|
+
* Buckets are managed by the Neon Platform branchable object storage service.
|
|
1391
1393
|
*
|
|
1392
|
-
* **Note**: This endpoint is currently in
|
|
1394
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1393
1395
|
*
|
|
1394
1396
|
*/
|
|
1395
1397
|
declare const createProjectBranchBucket: <ThrowOnError extends boolean = false>(options: Options<CreateProjectBranchBucketData, ThrowOnError>) => RequestResult<CreateProjectBranchBucketResponses, CreateProjectBranchBucketErrors, ThrowOnError>;
|
|
@@ -1398,19 +1400,19 @@ declare const createProjectBranchBucket: <ThrowOnError extends boolean = false>(
|
|
|
1398
1400
|
*
|
|
1399
1401
|
* Deletes the named bucket from the specified branch.
|
|
1400
1402
|
*
|
|
1401
|
-
* **Note**: This endpoint is currently in
|
|
1403
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1402
1404
|
*
|
|
1403
1405
|
*/
|
|
1404
1406
|
declare const deleteProjectBranchBucket: <ThrowOnError extends boolean = false>(options: Options<DeleteProjectBranchBucketData, ThrowOnError>) => RequestResult<DeleteProjectBranchBucketResponses, DeleteProjectBranchBucketErrors, ThrowOnError>;
|
|
1405
1407
|
/**
|
|
1406
|
-
* Get branch storage state
|
|
1408
|
+
* Get branch object storage state
|
|
1407
1409
|
*
|
|
1408
|
-
* Returns whether branchable object
|
|
1409
|
-
* branch. A 200 response means the branch is registered in the storage
|
|
1410
|
+
* Returns whether branchable object storage is usable for the specified
|
|
1411
|
+
* branch. A 200 response means the branch is registered in the object storage
|
|
1410
1412
|
* service and the S3 data plane will accept requests for it. A 404
|
|
1411
|
-
* response includes a `reason` field indicating why storage is unavailable.
|
|
1413
|
+
* response includes a `reason` field indicating why object storage is unavailable.
|
|
1412
1414
|
*
|
|
1413
|
-
* **Note**: This endpoint is currently in
|
|
1415
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1414
1416
|
*
|
|
1415
1417
|
*/
|
|
1416
1418
|
declare const getProjectBranchStorage: <ThrowOnError extends boolean = false>(options: Options<GetProjectBranchStorageData, ThrowOnError>) => RequestResult<GetProjectBranchStorageResponses, GetProjectBranchStorageErrors, ThrowOnError>;
|
|
@@ -1422,10 +1424,72 @@ declare const getProjectBranchStorage: <ThrowOnError extends boolean = false>(op
|
|
|
1422
1424
|
* registered and this region serves the AI gateway. A 404 response
|
|
1423
1425
|
* includes a `reason` field indicating why the gateway is unavailable.
|
|
1424
1426
|
*
|
|
1425
|
-
* **Note**: This endpoint is currently in
|
|
1427
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1426
1428
|
*
|
|
1427
1429
|
*/
|
|
1428
1430
|
declare const getProjectBranchAiGateway: <ThrowOnError extends boolean = false>(options: Options<GetProjectBranchAiGatewayData, ThrowOnError>) => RequestResult<GetProjectBranchAiGatewayResponses, GetProjectBranchAiGatewayErrors, ThrowOnError>;
|
|
1431
|
+
/**
|
|
1432
|
+
* Query branch logs
|
|
1433
|
+
*
|
|
1434
|
+
* Returns logs emitted by services running on the specified branch,
|
|
1435
|
+
* ordered by timestamp according to `sort_order`.
|
|
1436
|
+
*
|
|
1437
|
+
* All supplied filters are combined with `AND`: a record is returned only
|
|
1438
|
+
* when it matches every filter. `minimum_severity` and `severity_text` are
|
|
1439
|
+
* independent filters, so setting both requires a record to clear the
|
|
1440
|
+
* severity floor *and* match the exact severity text.
|
|
1441
|
+
*
|
|
1442
|
+
* Supply `logql` instead of the structured filters to run a raw LogQL
|
|
1443
|
+
* expression. Combining it with any structured filter is rejected rather
|
|
1444
|
+
* than silently ignored; `limit`, `sort_order`, and the time window still
|
|
1445
|
+
* apply, because those bound the query rather than form part of the
|
|
1446
|
+
* expression.
|
|
1447
|
+
*
|
|
1448
|
+
* Give the window either as `since` — a duration ending at `end_time`, or
|
|
1449
|
+
* at the current time when `end_time` is omitted — or as an explicit
|
|
1450
|
+
* `start_time`. Supplying both is rejected.
|
|
1451
|
+
*
|
|
1452
|
+
* A single response holds at most 1,000 records. When `is_truncated` is
|
|
1453
|
+
* `true`, pass the returned `next_cursor` back as `cursor` to fetch the
|
|
1454
|
+
* next page, repeating the time range and every filter unchanged.
|
|
1455
|
+
*
|
|
1456
|
+
* If no time range is supplied, the query covers the previous hour. The
|
|
1457
|
+
* maximum supported time range is seven days. `end_time` is exclusive.
|
|
1458
|
+
*
|
|
1459
|
+
* **Note**: This endpoint is currently in Private Beta.
|
|
1460
|
+
*
|
|
1461
|
+
*/
|
|
1462
|
+
declare const queryProjectBranchLogs: <ThrowOnError extends boolean = false>(options: Options<QueryProjectBranchLogsData, ThrowOnError>) => RequestResult<QueryProjectBranchLogsResponses, QueryProjectBranchLogsErrors, ThrowOnError>;
|
|
1463
|
+
/**
|
|
1464
|
+
* List branch log fields
|
|
1465
|
+
*
|
|
1466
|
+
* Lists the low-cardinality log fields observed on this branch whose
|
|
1467
|
+
* distinct values can be discovered with the log field-values endpoint.
|
|
1468
|
+
*
|
|
1469
|
+
* The set is computed per branch and grows as new fields are observed, so
|
|
1470
|
+
* treat it as data rather than a fixed list: discover a field here, then
|
|
1471
|
+
* pass it as `field_name` to the field-values endpoint.
|
|
1472
|
+
*
|
|
1473
|
+
* **Note**: This endpoint is currently in Private Beta.
|
|
1474
|
+
*
|
|
1475
|
+
*/
|
|
1476
|
+
declare const listProjectBranchLogFields: <ThrowOnError extends boolean = false>(options: Options<ListProjectBranchLogFieldsData, ThrowOnError>) => RequestResult<ListProjectBranchLogFieldsResponses, ListProjectBranchLogFieldsErrors, ThrowOnError>;
|
|
1477
|
+
/**
|
|
1478
|
+
* List branch log field values
|
|
1479
|
+
*
|
|
1480
|
+
* Lists the distinct values observed for a low-cardinality log field in
|
|
1481
|
+
* the requested time range. Call the log fields endpoint first to learn
|
|
1482
|
+
* which `field_name` values this branch supports; a field that branch has
|
|
1483
|
+
* never emitted is rejected with `unknown_field`.
|
|
1484
|
+
*
|
|
1485
|
+
* Give the window either as `since` or as an explicit `start_time`;
|
|
1486
|
+
* supplying both is rejected. If neither is given, the previous six hours
|
|
1487
|
+
* are used. The maximum supported time range is seven days.
|
|
1488
|
+
*
|
|
1489
|
+
* **Note**: This endpoint is currently in Private Beta.
|
|
1490
|
+
*
|
|
1491
|
+
*/
|
|
1492
|
+
declare const listProjectBranchLogFieldValues: <ThrowOnError extends boolean = false>(options: Options<ListProjectBranchLogFieldValuesData, ThrowOnError>) => RequestResult<ListProjectBranchLogFieldValuesResponses, ListProjectBranchLogFieldValuesErrors, ThrowOnError>;
|
|
1429
1493
|
/**
|
|
1430
1494
|
* List objects in a bucket
|
|
1431
1495
|
*
|
|
@@ -1438,7 +1502,7 @@ declare const getProjectBranchAiGateway: <ThrowOnError extends boolean = false>(
|
|
|
1438
1502
|
* browser; keys that do not contain the delimiter after `prefix` are
|
|
1439
1503
|
* returned as `objects`.
|
|
1440
1504
|
*
|
|
1441
|
-
* **Note**: This endpoint is currently in
|
|
1505
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1442
1506
|
*
|
|
1443
1507
|
*/
|
|
1444
1508
|
declare const listProjectBranchBucketObjects: <ThrowOnError extends boolean = false>(options: Options<ListProjectBranchBucketObjectsData, ThrowOnError>) => RequestResult<ListProjectBranchBucketObjectsResponses, ListProjectBranchBucketObjectsErrors, ThrowOnError>;
|
|
@@ -1448,7 +1512,7 @@ declare const listProjectBranchBucketObjects: <ThrowOnError extends boolean = fa
|
|
|
1448
1512
|
* Deletes the named object from the bucket on the specified branch.
|
|
1449
1513
|
* Served by the user's session (no customer S3 credentials required).
|
|
1450
1514
|
*
|
|
1451
|
-
* **Note**: This endpoint is currently in
|
|
1515
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1452
1516
|
*
|
|
1453
1517
|
*/
|
|
1454
1518
|
declare const deleteProjectBranchBucketObject: <ThrowOnError extends boolean = false>(options: Options<DeleteProjectBranchBucketObjectData, ThrowOnError>) => RequestResult<DeleteProjectBranchBucketObjectResponses, DeleteProjectBranchBucketObjectErrors, ThrowOnError>;
|
|
@@ -1465,12 +1529,12 @@ declare const deleteProjectBranchBucketObject: <ThrowOnError extends boolean = f
|
|
|
1465
1529
|
*
|
|
1466
1530
|
* BINARY-STREAM EXCEPTION TO THE BUILD-GENERATED-TYPES RULE (#7029): the
|
|
1467
1531
|
* successful 200 body is the raw object stream, proxied verbatim from the
|
|
1468
|
-
* platform storage admin endpoint. It is modeled as an
|
|
1532
|
+
* platform object storage admin endpoint. It is modeled as an
|
|
1469
1533
|
* `application/octet-stream` binary body (not a JSON response schema) and
|
|
1470
1534
|
* is streamed without buffering the whole object in memory. Error
|
|
1471
1535
|
* responses still use the generated `GeneralError` shape.
|
|
1472
1536
|
*
|
|
1473
|
-
* **Note**: This endpoint is currently in
|
|
1537
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1474
1538
|
*
|
|
1475
1539
|
*/
|
|
1476
1540
|
declare const getProjectBranchBucketObject: <ThrowOnError extends boolean = false>(options: Options<GetProjectBranchBucketObjectData, ThrowOnError>) => RequestResult<GetProjectBranchBucketObjectResponses, GetProjectBranchBucketObjectErrors, ThrowOnError>;
|
|
@@ -1493,7 +1557,7 @@ declare const getProjectBranchBucketObject: <ThrowOnError extends boolean = fals
|
|
|
1493
1557
|
* inherited from an ancestor branch via copy-on-write (not materialized on
|
|
1494
1558
|
* this branch) are out of scope.
|
|
1495
1559
|
*
|
|
1496
|
-
* **Note**: This endpoint is currently in
|
|
1560
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1497
1561
|
*
|
|
1498
1562
|
*/
|
|
1499
1563
|
declare const deleteProjectBranchBucketObjectsByPrefix: <ThrowOnError extends boolean = false>(options: Options<DeleteProjectBranchBucketObjectsByPrefixData, ThrowOnError>) => RequestResult<DeleteProjectBranchBucketObjectsByPrefixResponses, DeleteProjectBranchBucketObjectsByPrefixErrors, ThrowOnError>;
|
|
@@ -1516,7 +1580,7 @@ declare const deleteProjectBranchBucketObjectsByPrefix: <ThrowOnError extends bo
|
|
|
1516
1580
|
*
|
|
1517
1581
|
* Served by the user's session (no customer S3 credentials required).
|
|
1518
1582
|
*
|
|
1519
|
-
* **Note**: This endpoint is currently in
|
|
1583
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1520
1584
|
*
|
|
1521
1585
|
*/
|
|
1522
1586
|
declare const presignProjectBranchBucketObject: <ThrowOnError extends boolean = false>(options: Options<PresignProjectBranchBucketObjectData, ThrowOnError>) => RequestResult<PresignProjectBranchBucketObjectResponses, PresignProjectBranchBucketObjectErrors, ThrowOnError>;
|
|
@@ -1526,7 +1590,7 @@ declare const presignProjectBranchBucketObject: <ThrowOnError extends boolean =
|
|
|
1526
1590
|
* Returns metadata for customer-issued credentials on the branch.
|
|
1527
1591
|
* Secrets are never included.
|
|
1528
1592
|
*
|
|
1529
|
-
* **Note**: This endpoint is currently in
|
|
1593
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1530
1594
|
*
|
|
1531
1595
|
*/
|
|
1532
1596
|
declare const listCredentials: <ThrowOnError extends boolean = false>(options: Options<ListCredentialsData, ThrowOnError>) => RequestResult<ListCredentialsResponses, ListCredentialsErrors, ThrowOnError>;
|
|
@@ -1537,7 +1601,7 @@ declare const listCredentials: <ThrowOnError extends boolean = false>(options: O
|
|
|
1537
1601
|
* branch. The response carries `api_token` and `s3_secret_access_key`
|
|
1538
1602
|
* exactly once — they are not stored server-side.
|
|
1539
1603
|
*
|
|
1540
|
-
* **Note**: This endpoint is currently in
|
|
1604
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1541
1605
|
*
|
|
1542
1606
|
*/
|
|
1543
1607
|
declare const createCredential: <ThrowOnError extends boolean = false>(options: Options<CreateCredentialData, ThrowOnError>) => RequestResult<CreateCredentialResponses, CreateCredentialErrors, ThrowOnError>;
|
|
@@ -1546,7 +1610,7 @@ declare const createCredential: <ThrowOnError extends boolean = false>(options:
|
|
|
1546
1610
|
*
|
|
1547
1611
|
* Soft-deletes the credential. Idempotent.
|
|
1548
1612
|
*
|
|
1549
|
-
* **Note**: This endpoint is currently in
|
|
1613
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1550
1614
|
*
|
|
1551
1615
|
*/
|
|
1552
1616
|
declare const revokeCredential: <ThrowOnError extends boolean = false>(options: Options<RevokeCredentialData, ThrowOnError>) => RequestResult<RevokeCredentialResponses, RevokeCredentialErrors, ThrowOnError>;
|
|
@@ -1555,7 +1619,7 @@ declare const revokeCredential: <ThrowOnError extends boolean = false>(options:
|
|
|
1555
1619
|
*
|
|
1556
1620
|
* Lists functions on the specified branch.
|
|
1557
1621
|
*
|
|
1558
|
-
* **Note**: This endpoint is currently in
|
|
1622
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1559
1623
|
*
|
|
1560
1624
|
*/
|
|
1561
1625
|
declare const listProjectBranchFunctions: <ThrowOnError extends boolean = false>(options: Options<ListProjectBranchFunctionsData, ThrowOnError>) => RequestResult<ListProjectBranchFunctionsResponses, ListProjectBranchFunctionsErrors, ThrowOnError>;
|
|
@@ -1564,7 +1628,7 @@ declare const listProjectBranchFunctions: <ThrowOnError extends boolean = false>
|
|
|
1564
1628
|
*
|
|
1565
1629
|
* Deletes the function identified by its slug.
|
|
1566
1630
|
*
|
|
1567
|
-
* **Note**: This endpoint is currently in
|
|
1631
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1568
1632
|
*
|
|
1569
1633
|
*/
|
|
1570
1634
|
declare const deleteProjectBranchFunction: <ThrowOnError extends boolean = false>(options: Options<DeleteProjectBranchFunctionData, ThrowOnError>) => RequestResult<DeleteProjectBranchFunctionResponses, DeleteProjectBranchFunctionErrors, ThrowOnError>;
|
|
@@ -1573,7 +1637,7 @@ declare const deleteProjectBranchFunction: <ThrowOnError extends boolean = false
|
|
|
1573
1637
|
*
|
|
1574
1638
|
* Returns the function identified by its slug.
|
|
1575
1639
|
*
|
|
1576
|
-
* **Note**: This endpoint is currently in
|
|
1640
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1577
1641
|
*
|
|
1578
1642
|
*/
|
|
1579
1643
|
declare const getProjectBranchFunction: <ThrowOnError extends boolean = false>(options: Options<GetProjectBranchFunctionData, ThrowOnError>) => RequestResult<GetProjectBranchFunctionResponses, GetProjectBranchFunctionErrors, ThrowOnError>;
|
|
@@ -1590,7 +1654,7 @@ declare const getProjectBranchFunction: <ThrowOnError extends boolean = false>(o
|
|
|
1590
1654
|
* branch: a branch forked before the rename keeps the name it had at
|
|
1591
1655
|
* fork time.
|
|
1592
1656
|
*
|
|
1593
|
-
* **Note**: This endpoint is currently in
|
|
1657
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1594
1658
|
*
|
|
1595
1659
|
*/
|
|
1596
1660
|
declare const updateProjectBranchFunction: <ThrowOnError extends boolean = false>(options: Options<UpdateProjectBranchFunctionData, ThrowOnError>) => RequestResult<UpdateProjectBranchFunctionResponses, UpdateProjectBranchFunctionErrors, ThrowOnError>;
|
|
@@ -1603,10 +1667,10 @@ declare const updateProjectBranchFunction: <ThrowOnError extends boolean = false
|
|
|
1603
1667
|
* first deployment of a function must include zip. The newest deployment
|
|
1604
1668
|
* becomes active.
|
|
1605
1669
|
*
|
|
1606
|
-
* **Note**: This endpoint is currently in
|
|
1670
|
+
* **Note**: This endpoint is currently in Beta.
|
|
1607
1671
|
*
|
|
1608
1672
|
*/
|
|
1609
1673
|
declare const createProjectBranchFunctionDeployment: <ThrowOnError extends boolean = false>(options: Options<CreateProjectBranchFunctionDeploymentData, ThrowOnError>) => RequestResult<CreateProjectBranchFunctionDeploymentResponses, CreateProjectBranchFunctionDeploymentErrors, ThrowOnError>;
|
|
1610
1674
|
//#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,
|
|
1675
|
+
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
1676
|
//# sourceMappingURL=sdk.gen.d.ts.map
|