@neon/tools 2.11.0 → 2.13.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 +150 -7
- package/dist/descriptions.gen.d.ts +10 -0
- package/dist/descriptions.gen.d.ts.map +1 -0
- package/dist/descriptions.gen.js +150 -0
- package/dist/generated/zod.gen.d.ts +33 -2
- package/dist/generated/zod.gen.d.ts.map +1 -1
- package/dist/generated/zod.gen.js +29 -11
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -11
- package/dist/lib/custom/auth-config.d.ts +164 -0
- package/dist/lib/custom/auth-config.d.ts.map +1 -0
- package/dist/lib/custom/auth-config.js +177 -0
- package/dist/lib/custom/docs.d.ts +58 -0
- package/dist/lib/custom/docs.d.ts.map +1 -0
- package/dist/lib/custom/docs.js +143 -0
- package/dist/lib/custom/feedback.d.ts +15 -0
- package/dist/lib/custom/feedback.d.ts.map +1 -0
- package/dist/lib/custom/feedback.js +55 -0
- package/dist/lib/custom/fetch.d.ts +402 -0
- package/dist/lib/custom/fetch.d.ts.map +1 -0
- package/dist/lib/custom/fetch.js +198 -0
- package/dist/lib/custom/organizations.d.ts +23 -0
- package/dist/lib/custom/organizations.d.ts.map +1 -0
- package/dist/lib/custom/organizations.js +32 -0
- package/dist/lib/custom/resources.d.ts +22 -0
- package/dist/lib/custom/resources.d.ts.map +1 -0
- package/dist/lib/custom/resources.js +113 -0
- package/dist/lib/custom/sql/connection.d.ts +46 -0
- package/dist/lib/custom/sql/connection.d.ts.map +1 -0
- package/dist/lib/custom/sql/connection.js +78 -0
- package/dist/lib/custom/sql/describe-branch.d.ts +84 -0
- package/dist/lib/custom/sql/describe-branch.d.ts.map +1 -0
- package/dist/lib/custom/sql/describe-branch.js +155 -0
- package/dist/lib/custom/sql/inspect/inspect.d.ts +75 -0
- package/dist/lib/custom/sql/inspect/inspect.d.ts.map +1 -0
- package/dist/lib/custom/sql/inspect/inspect.js +135 -0
- package/dist/lib/custom/sql/inspect/queries.d.ts +63 -0
- package/dist/lib/custom/sql/inspect/queries.d.ts.map +1 -0
- package/dist/lib/custom/sql/inspect/queries.js +528 -0
- package/dist/lib/custom/sql/inspect/report.d.ts +31 -0
- package/dist/lib/custom/sql/inspect/report.d.ts.map +1 -0
- package/dist/lib/custom/sql/inspect/report.js +43 -0
- package/dist/lib/custom/sql/inspect/targets.d.ts +27 -0
- package/dist/lib/custom/sql/inspect/targets.d.ts.map +1 -0
- package/dist/lib/custom/sql/inspect/targets.js +33 -0
- package/dist/lib/custom/sql/migrations.d.ts +69 -0
- package/dist/lib/custom/sql/migrations.d.ts.map +1 -0
- package/dist/lib/custom/sql/migrations.js +144 -0
- package/dist/lib/custom/sql/plan.d.ts +27 -0
- package/dist/lib/custom/sql/plan.d.ts.map +1 -0
- package/dist/lib/custom/sql/plan.js +53 -0
- package/dist/lib/custom/sql/query-tuning.d.ts +107 -0
- package/dist/lib/custom/sql/query-tuning.d.ts.map +1 -0
- package/dist/lib/custom/sql/query-tuning.js +129 -0
- package/dist/lib/custom/sql/rows.d.ts +11 -0
- package/dist/lib/custom/sql/rows.d.ts.map +1 -0
- package/dist/lib/custom/sql/rows.js +19 -0
- package/dist/lib/custom/sql/run.d.ts +81 -0
- package/dist/lib/custom/sql/run.d.ts.map +1 -0
- package/dist/lib/custom/sql/run.js +90 -0
- package/dist/lib/custom/sql/schema.d.ts +84 -0
- package/dist/lib/custom/sql/schema.d.ts.map +1 -0
- package/dist/lib/custom/sql/schema.js +201 -0
- package/dist/lib/custom/sql/slow-queries.d.ts +43 -0
- package/dist/lib/custom/sql/slow-queries.d.ts.map +1 -0
- package/dist/lib/custom/sql/slow-queries.js +87 -0
- package/dist/lib/customize.d.ts +9 -2
- package/dist/lib/customize.d.ts.map +1 -1
- package/dist/lib/customize.js +21 -7
- package/dist/lib/ergonomic/bind.d.ts +11 -1
- package/dist/lib/ergonomic/bind.d.ts.map +1 -1
- package/dist/lib/ergonomic/bind.js +13 -3
- package/dist/lib/ergonomic/catalog.d.ts +870 -38
- package/dist/lib/ergonomic/catalog.d.ts.map +1 -1
- package/dist/lib/ergonomic/catalog.js +44 -8
- package/dist/lib/ergonomic/composed.d.ts +4 -4
- package/dist/lib/ergonomic/composed.d.ts.map +1 -1
- package/dist/lib/ergonomic/composed.js +47 -45
- package/dist/lib/ergonomic/ids.d.ts +3 -1
- package/dist/lib/ergonomic/ids.d.ts.map +1 -1
- package/dist/lib/ergonomic/ids.js +42 -2
- package/dist/lib/ergonomic/index.d.ts +1 -1
- package/dist/lib/ergonomic/index.d.ts.map +1 -1
- package/dist/lib/ergonomic/index.js +2 -2
- package/dist/lib/operation.d.ts +11 -0
- package/dist/lib/operation.d.ts.map +1 -1
- package/dist/lib/references.d.ts +10 -0
- package/dist/lib/references.d.ts.map +1 -0
- package/dist/lib/references.js +28 -0
- package/dist/operations.gen.d.ts +22 -2
- package/dist/operations.gen.d.ts.map +1 -1
- package/dist/operations.gen.js +335 -300
- package/dist/schemas.d.ts +1 -1
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +1 -1
- package/package.json +9 -6
package/dist/operations.gen.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { zAcceptProjectTransferRequestBody, zAcceptProjectTransferRequestPath, zAddBranchNeonAuthOauthProviderBody, zAddBranchNeonAuthOauthProviderPath, zAddBranchNeonAuthTrustedDomainBody, zAddBranchNeonAuthTrustedDomainPath, zAddNeonAuthDomainToRedirectUriWhitelistBody, zAddNeonAuthDomainToRedirectUriWhitelistPath, zAddNeonAuthOauthProviderBody, zAddNeonAuthOauthProviderPath, zAddProjectJwksBody, zAddProjectJwksPath, zAssignOrganizationVpcEndpointBody, zAssignOrganizationVpcEndpointPath, zAssignProjectVpcEndpointBody, zAssignProjectVpcEndpointPath, zCountProjectBranchesPath, zCountProjectBranchesQuery, zCountProjectsQuery, zCreateApiKeyBody, zCreateBranchNeonAuthNewUserBody, zCreateBranchNeonAuthNewUserPath, zCreateCredentialBody, zCreateCredentialPath, zCreateNeonAuthBody, zCreateNeonAuthIntegrationBody, zCreateNeonAuthNewUserBody, zCreateNeonAuthOAuthClientBody, zCreateNeonAuthOAuthClientPath, zCreateNeonAuthPath, zCreateNeonAuthProviderSdkKeysBody, zCreateOrgApiKeyBody, zCreateOrgApiKeyPath, zCreateOrganizationInvitationsBody, zCreateOrganizationInvitationsPath, zCreateProjectBody, zCreateProjectBranchAnonymizedBody, zCreateProjectBranchAnonymizedPath, zCreateProjectBranchBody, zCreateProjectBranchBucketBody, zCreateProjectBranchBucketPath, zCreateProjectBranchDataApiBody, zCreateProjectBranchDataApiPath, zCreateProjectBranchDatabaseBody, zCreateProjectBranchDatabasePath, zCreateProjectBranchFunctionDeploymentBody, zCreateProjectBranchFunctionDeploymentPath, zCreateProjectBranchPath, zCreateProjectBranchRoleBody, zCreateProjectBranchRolePath, zCreateProjectBranchTriggerBody, zCreateProjectBranchTriggerPath, zCreateProjectEndpointBody, zCreateProjectEndpointPath, zCreateProjectTransferRequestBody, zCreateProjectTransferRequestPath, zCreateSnapshotPath, zCreateSnapshotQuery, zDeleteBranchNeonAuthOauthProviderPath, zDeleteBranchNeonAuthTrustedDomainBody, zDeleteBranchNeonAuthTrustedDomainPath, zDeleteBranchNeonAuthUserPath, zDeleteNeonAuthDomainFromRedirectUriWhitelistBody, zDeleteNeonAuthDomainFromRedirectUriWhitelistPath, zDeleteNeonAuthIntegrationBody, zDeleteNeonAuthIntegrationPath, zDeleteNeonAuthOAuthClientPath, zDeleteNeonAuthOauthProviderPath, zDeleteNeonAuthUserPath, zDeleteOrganizationSpendingLimitPath, zDeleteOrganizationVpcEndpointPath, zDeleteProjectBranchBucketObjectPath, zDeleteProjectBranchBucketObjectsByPrefixPath, zDeleteProjectBranchBucketObjectsByPrefixQuery, zDeleteProjectBranchBucketPath, zDeleteProjectBranchCustomDomainPath, zDeleteProjectBranchDataApiPath, zDeleteProjectBranchDatabasePath, zDeleteProjectBranchFunctionPath, zDeleteProjectBranchPath, zDeleteProjectBranchRolePath, zDeleteProjectBranchTriggerPath, zDeleteProjectEndpointPath, zDeleteProjectJwksPath, zDeleteProjectPath, zDeleteProjectVpcEndpointPath, zDeleteSnapshotPath, zDisableNeonAuthBody, zDisableNeonAuthPath, zDisableProjectBranchRealtimePath, zEnableProjectBranchRealtimeBody, zEnableProjectBranchRealtimePath, zFinalizeRestoreBranchBody, zFinalizeRestoreBranchPath, zGetActiveRegionsQuery, zGetAnonymizedBranchStatusPath, zGetAvailablePreloadLibrariesPath, zGetConnectionUriPath, zGetConnectionUriQuery, zGetConsumptionHistoryPerBranchV2Query, zGetConsumptionHistoryPerProjectQuery, zGetConsumptionHistoryPerProjectV2Query, zGetMaskingRulesPath, zGetNeonAuthAllowLocalhostPath, zGetNeonAuthEmailAndPasswordConfigPath, zGetNeonAuthEmailProviderPath, zGetNeonAuthEmailServerPath, zGetNeonAuthOAuthClientPath, zGetNeonAuthOAuthProviderPluginPath, zGetNeonAuthPath, zGetNeonAuthPhoneNumberPluginPath, zGetNeonAuthPluginConfigsPath, zGetNeonAuthWebhookConfigPath, zGetOrganizationInvitationsPath, zGetOrganizationMemberPath, zGetOrganizationMembersPath, zGetOrganizationMembersQuery, zGetOrganizationPath, zGetOrganizationSpendingLimitPath, zGetOrganizationVpcEndpointDetailsPath, zGetProjectAdvisorSecurityIssuesPath, zGetProjectAdvisorSecurityIssuesQuery, zGetProjectBranchAiGatewayPath, zGetProjectBranchBucketObjectPath, zGetProjectBranchDataApiPath, zGetProjectBranchDatabasePath, zGetProjectBranchFunctionPath, zGetProjectBranchPath, zGetProjectBranchRealtimePath, zGetProjectBranchRealtimeSecretPath, zGetProjectBranchRolePasswordPath, zGetProjectBranchRolePath, zGetProjectBranchSchemaComparisonPath, zGetProjectBranchSchemaComparisonQuery, zGetProjectBranchSchemaPath, zGetProjectBranchSchemaQuery, zGetProjectBranchStoragePath, zGetProjectBranchTriggerPath, zGetProjectEndpointPath, zGetProjectJwksPath, zGetProjectOperationPath, zGetProjectPath, zGetSnapshotSchedulePath, zGrantPermissionToProjectBody, zGrantPermissionToProjectPath, zListBranchNeonAuthOauthProvidersPath, zListBranchNeonAuthTrustedDomainsPath, zListCredentialsPath, zListNeonAuthIntegrationsPath, zListNeonAuthOAuthClientsPath, zListNeonAuthOauthProvidersPath, zListNeonAuthRedirectUriWhitelistDomainsPath, zListOrgApiKeysPath, zListOrganizationVpcEndpointsAllRegionsPath, zListOrganizationVpcEndpointsPath, zListProjectBranchBucketObjectsPath, zListProjectBranchBucketObjectsQuery, zListProjectBranchBucketsPath, zListProjectBranchCustomDomainsPath, zListProjectBranchCustomDomainsQuery, zListProjectBranchDatabasesPath, zListProjectBranchEndpointsPath, zListProjectBranchFunctionsPath, zListProjectBranchFunctionsQuery, zListProjectBranchLogFieldValuesPath, zListProjectBranchLogFieldValuesQuery, zListProjectBranchLogFieldsPath, zListProjectBranchRolesPath, zListProjectBranchTriggersPath, zListProjectBranchesPath, zListProjectBranchesQuery, zListProjectEndpointsPath, zListProjectMembersPath, zListProjectMembersQuery, zListProjectOperationsPath, zListProjectOperationsQuery, zListProjectPermissionsPath, zListProjectVpcEndpointsPath, zListProjectsQuery, zListSharedProjectsQuery, zListSnapshotsPath, zPresignProjectBranchBucketObjectBody, zPresignProjectBranchBucketObjectPath, zQueryProjectBranchLogsBody, zQueryProjectBranchLogsPath, zRecoverProjectPath, zRegisterProjectBranchCustomDomainBody, zRegisterProjectBranchCustomDomainPath, zRemoveOrganizationMemberPath, zRemoveProjectMemberRolePath, zRemoveProjectMemberRoleQuery, zResetProjectBranchRolePasswordPath, zRestartProjectEndpointPath, zRestoreProjectBranchBody, zRestoreProjectBranchPath, zRestoreSnapshotBody, zRestoreSnapshotPath, zRevealCredentialPath, zRevokeApiKeyPath, zRevokeCredentialPath, zRevokeOrgApiKeyPath, zRevokePermissionFromProjectPath, zRotateCredentialPath, zRotateNeonAuthOAuthClientSecretPath, zRotateProjectBranchRealtimeSecretPath, zSendNeonAuthEmailProviderTestBody, zSendNeonAuthEmailProviderTestPath, zSendNeonAuthTestEmailBody, zSendNeonAuthTestEmailPath, zSetDefaultProjectBranchPath, zSetOrganizationSpendingLimitBody, zSetOrganizationSpendingLimitPath, zSetProjectMemberRoleBody, zSetProjectMemberRolePath, zSetProjectMemberRoleQuery, zSetSnapshotScheduleBody, zSetSnapshotSchedulePath, zStartAnonymizationPath, zStartProjectEndpointPath, zSuspendProjectEndpointPath, zTransferNeonAuthProviderProjectBody, zTransferProjectsFromOrgToOrgBody, zTransferProjectsFromOrgToOrgPath, zTransferProjectsFromUserToOrgBody, zUpdateBranchNeonAuthOauthProviderBody, zUpdateBranchNeonAuthOauthProviderPath, zUpdateMaskingRulesBody, zUpdateMaskingRulesPath, zUpdateNeonAuthAllowLocalhostBody, zUpdateNeonAuthAllowLocalhostPath, zUpdateNeonAuthConfigBody, zUpdateNeonAuthConfigPath, zUpdateNeonAuthEmailAndPasswordConfigBody, zUpdateNeonAuthEmailAndPasswordConfigPath, zUpdateNeonAuthEmailProviderBody, zUpdateNeonAuthEmailProviderPath, zUpdateNeonAuthEmailServerBody, zUpdateNeonAuthEmailServerPath, zUpdateNeonAuthMagicLinkPluginBody, zUpdateNeonAuthMagicLinkPluginPath, zUpdateNeonAuthOAuthClientBody, zUpdateNeonAuthOAuthClientPath, zUpdateNeonAuthOAuthProviderPluginBody, zUpdateNeonAuthOAuthProviderPluginPath, zUpdateNeonAuthOauthProviderBody, zUpdateNeonAuthOauthProviderPath, zUpdateNeonAuthOrganizationPluginBody, zUpdateNeonAuthOrganizationPluginPath, zUpdateNeonAuthPhoneNumberPluginBody, zUpdateNeonAuthPhoneNumberPluginPath, zUpdateNeonAuthUserRoleBody, zUpdateNeonAuthUserRolePath, zUpdateNeonAuthWebhookConfigBody, zUpdateNeonAuthWebhookConfigPath, zUpdateOrganizationMemberBody, zUpdateOrganizationMemberPath, zUpdateProjectBody, zUpdateProjectBranchBody, zUpdateProjectBranchDataApiBody, zUpdateProjectBranchDataApiPath, zUpdateProjectBranchDatabaseBody, zUpdateProjectBranchDatabasePath, zUpdateProjectBranchFunctionBody, zUpdateProjectBranchFunctionPath, zUpdateProjectBranchPath, zUpdateProjectBranchTriggerBody, zUpdateProjectBranchTriggerPath, zUpdateProjectEndpointBody, zUpdateProjectEndpointPath, zUpdateProjectPath, zUpdateSnapshotBody, zUpdateSnapshotPath } from "./generated/zod.gen.js";
|
|
1
|
+
import { zAcceptProjectTransferRequestBody, zAcceptProjectTransferRequestPath, zAddBranchNeonAuthOauthProviderBody, zAddBranchNeonAuthOauthProviderPath, zAddBranchNeonAuthTrustedDomainBody, zAddBranchNeonAuthTrustedDomainPath, zAddNeonAuthDomainToRedirectUriWhitelistBody, zAddNeonAuthDomainToRedirectUriWhitelistPath, zAddNeonAuthOauthProviderBody, zAddNeonAuthOauthProviderPath, zAddProjectJwksBody, zAddProjectJwksPath, zAssignOrganizationVpcEndpointBody, zAssignOrganizationVpcEndpointPath, zAssignProjectVpcEndpointBody, zAssignProjectVpcEndpointPath, zCountProjectBranchesPath, zCountProjectBranchesQuery, zCountProjectsQuery, zCreateApiKeyBody, zCreateBranchNeonAuthNewUserBody, zCreateBranchNeonAuthNewUserPath, zCreateCredentialBody, zCreateCredentialPath, zCreateNeonAuthBody, zCreateNeonAuthIntegrationBody, zCreateNeonAuthNewUserBody, zCreateNeonAuthOAuthClientBody, zCreateNeonAuthOAuthClientPath, zCreateNeonAuthPath, zCreateNeonAuthProviderSdkKeysBody, zCreateOrgApiKeyBody, zCreateOrgApiKeyPath, zCreateOrganizationInvitationsBody, zCreateOrganizationInvitationsPath, zCreateProjectBody, zCreateProjectBranchAnonymizedBody, zCreateProjectBranchAnonymizedPath, zCreateProjectBranchBody, zCreateProjectBranchBucketBody, zCreateProjectBranchBucketPath, zCreateProjectBranchDataApiBody, zCreateProjectBranchDataApiPath, zCreateProjectBranchDatabaseBody, zCreateProjectBranchDatabasePath, zCreateProjectBranchFunctionDeploymentBody, zCreateProjectBranchFunctionDeploymentPath, zCreateProjectBranchPath, zCreateProjectBranchRoleBody, zCreateProjectBranchRolePath, zCreateProjectBranchTriggerBody, zCreateProjectBranchTriggerPath, zCreateProjectEndpointBody, zCreateProjectEndpointPath, zCreateProjectTransferRequestBody, zCreateProjectTransferRequestPath, zCreateSnapshotPath, zCreateSnapshotQuery, zDeleteBranchNeonAuthOauthProviderPath, zDeleteBranchNeonAuthTrustedDomainBody, zDeleteBranchNeonAuthTrustedDomainPath, zDeleteBranchNeonAuthUserPath, zDeleteNeonAuthDomainFromRedirectUriWhitelistBody, zDeleteNeonAuthDomainFromRedirectUriWhitelistPath, zDeleteNeonAuthIntegrationBody, zDeleteNeonAuthIntegrationPath, zDeleteNeonAuthOAuthClientPath, zDeleteNeonAuthOauthProviderPath, zDeleteNeonAuthUserPath, zDeleteOrganizationSpendingLimitPath, zDeleteOrganizationVpcEndpointPath, zDeleteProjectBranchBucketObjectPath, zDeleteProjectBranchBucketObjectsByPrefixPath, zDeleteProjectBranchBucketObjectsByPrefixQuery, zDeleteProjectBranchBucketPath, zDeleteProjectBranchCustomDomainPath, zDeleteProjectBranchDataApiPath, zDeleteProjectBranchDatabasePath, zDeleteProjectBranchFunctionPath, zDeleteProjectBranchPath, zDeleteProjectBranchRolePath, zDeleteProjectBranchTriggerPath, zDeleteProjectEndpointPath, zDeleteProjectJwksPath, zDeleteProjectPath, zDeleteProjectVpcEndpointPath, zDeleteSnapshotPath, zDisableNeonAuthBody, zDisableNeonAuthPath, zDisableProjectBranchRealtimePath, zEnableProjectBranchRealtimeBody, zEnableProjectBranchRealtimePath, zFinalizeRestoreBranchBody, zFinalizeRestoreBranchPath, zGetActiveRegionsQuery, zGetAnonymizedBranchStatusPath, zGetAvailablePreloadLibrariesPath, zGetConnectionUriPath, zGetConnectionUriQuery, zGetConsumptionHistoryPerBranchV2Query, zGetConsumptionHistoryPerProjectQuery, zGetConsumptionHistoryPerProjectV2Query, zGetMaskingRulesPath, zGetNeonAuthAllowLocalhostPath, zGetNeonAuthEmailAndPasswordConfigPath, zGetNeonAuthEmailProviderPath, zGetNeonAuthEmailServerPath, zGetNeonAuthOAuthClientPath, zGetNeonAuthOAuthProviderPluginPath, zGetNeonAuthPath, zGetNeonAuthPhoneNumberPluginPath, zGetNeonAuthPluginConfigsPath, zGetNeonAuthWebhookConfigPath, zGetOrganizationInvitationsPath, zGetOrganizationMemberPath, zGetOrganizationMembersPath, zGetOrganizationMembersQuery, zGetOrganizationPath, zGetOrganizationSpendingLimitPath, zGetOrganizationVpcEndpointDetailsPath, zGetProjectAdvisorSecurityIssuesPath, zGetProjectAdvisorSecurityIssuesQuery, zGetProjectBranchAiGatewayPath, zGetProjectBranchBucketObjectPath, zGetProjectBranchDataApiPath, zGetProjectBranchDatabasePath, zGetProjectBranchFunctionPath, zGetProjectBranchPath, zGetProjectBranchRealtimePath, zGetProjectBranchRealtimeSecretPath, zGetProjectBranchRolePasswordPath, zGetProjectBranchRolePath, zGetProjectBranchSchemaComparisonPath, zGetProjectBranchSchemaComparisonQuery, zGetProjectBranchSchemaPath, zGetProjectBranchSchemaQuery, zGetProjectBranchStoragePath, zGetProjectBranchTriggerPath, zGetProjectEndpointPath, zGetProjectJwksPath, zGetProjectOperationPath, zGetProjectPath, zGetSnapshotSchedulePath, zGrantPermissionToProjectBody, zGrantPermissionToProjectPath, zListBranchNeonAuthOauthProvidersPath, zListBranchNeonAuthTrustedDomainsPath, zListCredentialsPath, zListNeonAuthIntegrationsPath, zListNeonAuthOAuthClientsPath, zListNeonAuthOauthProvidersPath, zListNeonAuthRedirectUriWhitelistDomainsPath, zListOrgApiKeysPath, zListOrganizationVpcEndpointsAllRegionsPath, zListOrganizationVpcEndpointsPath, zListProjectBranchBucketObjectsPath, zListProjectBranchBucketObjectsQuery, zListProjectBranchBucketsPath, zListProjectBranchCustomDomainsPath, zListProjectBranchCustomDomainsQuery, zListProjectBranchDatabasesPath, zListProjectBranchEndpointsPath, zListProjectBranchFunctionsPath, zListProjectBranchFunctionsQuery, zListProjectBranchLogFieldValuesPath, zListProjectBranchLogFieldValuesQuery, zListProjectBranchLogFieldsPath, zListProjectBranchRolesPath, zListProjectBranchTriggersPath, zListProjectBranchesPath, zListProjectBranchesQuery, zListProjectEndpointsPath, zListProjectMembersPath, zListProjectMembersQuery, zListProjectOperationsPath, zListProjectOperationsQuery, zListProjectPermissionsPath, zListProjectVpcEndpointsPath, zListProjectsQuery, zListSharedProjectsQuery, zListSnapshotsPath, zPresignProjectBranchBucketObjectBody, zPresignProjectBranchBucketObjectPath, zQueryProjectBranchLogsBody, zQueryProjectBranchLogsPath, zRecoverProjectPath, zRegisterProjectBranchCustomDomainBody, zRegisterProjectBranchCustomDomainPath, zRemoveOrganizationMemberPath, zRemoveProjectMemberRolePath, zRemoveProjectMemberRoleQuery, zResetProjectBranchRolePasswordPath, zRestartProjectEndpointPath, zRestoreProjectBranchBody, zRestoreProjectBranchPath, zRestoreSnapshotBody, zRestoreSnapshotPath, zRevealCredentialPath, zRevokeApiKeyPath, zRevokeCredentialPath, zRevokeOrgApiKeyPath, zRevokePermissionFromProjectPath, zRotateCredentialPath, zRotateNeonAuthOAuthClientSecretPath, zRotateProjectBranchRealtimeSecretPath, zSendNeonAuthEmailProviderTestBody, zSendNeonAuthEmailProviderTestPath, zSendNeonAuthTestEmailBody, zSendNeonAuthTestEmailPath, zSetDefaultProjectBranchPath, zSetOrganizationSpendingLimitBody, zSetOrganizationSpendingLimitPath, zSetProjectMemberRoleBody, zSetProjectMemberRolePath, zSetProjectMemberRoleQuery, zSetSnapshotScheduleBody, zSetSnapshotSchedulePath, zStartAnonymizationPath, zStartProjectEndpointPath, zSuspendProjectEndpointPath, zTransferNeonAuthProviderProjectBody, zTransferProjectsFromOrgToOrgBody, zTransferProjectsFromOrgToOrgPath, zTransferProjectsFromUserToOrgBody, zUpdateBranchNeonAuthOauthProviderBody, zUpdateBranchNeonAuthOauthProviderPath, zUpdateMaskingRulesBody, zUpdateMaskingRulesPath, zUpdateNeonAuthAllowLocalhostBody, zUpdateNeonAuthAllowLocalhostPath, zUpdateNeonAuthConfigBody, zUpdateNeonAuthConfigPath, zUpdateNeonAuthEmailAndPasswordConfigBody, zUpdateNeonAuthEmailAndPasswordConfigPath, zUpdateNeonAuthEmailProviderBody, zUpdateNeonAuthEmailProviderPath, zUpdateNeonAuthEmailServerBody, zUpdateNeonAuthEmailServerPath, zUpdateNeonAuthLogsExportBody, zUpdateNeonAuthLogsExportPath, zUpdateNeonAuthMagicLinkPluginBody, zUpdateNeonAuthMagicLinkPluginPath, zUpdateNeonAuthOAuthClientBody, zUpdateNeonAuthOAuthClientPath, zUpdateNeonAuthOAuthProviderPluginBody, zUpdateNeonAuthOAuthProviderPluginPath, zUpdateNeonAuthOauthProviderBody, zUpdateNeonAuthOauthProviderPath, zUpdateNeonAuthOrganizationPluginBody, zUpdateNeonAuthOrganizationPluginPath, zUpdateNeonAuthPhoneNumberPluginBody, zUpdateNeonAuthPhoneNumberPluginPath, zUpdateNeonAuthUserRoleBody, zUpdateNeonAuthUserRolePath, zUpdateNeonAuthWebhookConfigBody, zUpdateNeonAuthWebhookConfigPath, zUpdateOrganizationMemberBody, zUpdateOrganizationMemberPath, zUpdateProjectBody, zUpdateProjectBranchBody, zUpdateProjectBranchDataApiBody, zUpdateProjectBranchDataApiPath, zUpdateProjectBranchDatabaseBody, zUpdateProjectBranchDatabasePath, zUpdateProjectBranchFunctionBody, zUpdateProjectBranchFunctionPath, zUpdateProjectBranchPath, zUpdateProjectBranchTriggerBody, zUpdateProjectBranchTriggerPath, zUpdateProjectEndpointBody, zUpdateProjectEndpointPath, zUpdateProjectPath, zUpdateSnapshotBody, zUpdateSnapshotPath } from "./generated/zod.gen.js";
|
|
2
2
|
import { decodeBase64 } from "./lib/binary.js";
|
|
3
3
|
import { decodeBinaryFields, optionalGroup } from "./lib/envelope.js";
|
|
4
4
|
import { bindOperation, defineOperation } from "./lib/operation.js";
|
|
@@ -182,6 +182,7 @@ const operationIds = [
|
|
|
182
182
|
"updateNeonAuthEmailAndPasswordConfig",
|
|
183
183
|
"updateNeonAuthEmailProvider",
|
|
184
184
|
"updateNeonAuthEmailServer",
|
|
185
|
+
"updateNeonAuthLogsExport",
|
|
185
186
|
"updateNeonAuthMagicLinkPlugin",
|
|
186
187
|
"updateNeonAuthOAuthClient",
|
|
187
188
|
"updateNeonAuthOauthProvider",
|
|
@@ -207,7 +208,7 @@ const operationFactories = {
|
|
|
207
208
|
title: "Accept a project transfer request",
|
|
208
209
|
description: "Accepts a transfer request for the specified project, transferring it to the specified organization or user.",
|
|
209
210
|
inputSchema: z.strictObject({
|
|
210
|
-
"project_id": zAcceptProjectTransferRequestPath.shape.project_id,
|
|
211
|
+
"project_id": zAcceptProjectTransferRequestPath.shape.project_id.describe("Project id."),
|
|
211
212
|
"request_id": zAcceptProjectTransferRequestPath.shape.request_id,
|
|
212
213
|
"org_id": zAcceptProjectTransferRequestBody.shape.org_id.optional()
|
|
213
214
|
}),
|
|
@@ -241,8 +242,8 @@ const operationFactories = {
|
|
|
241
242
|
title: "Add an OAuth provider",
|
|
242
243
|
description: "Adds an OAuth provider configuration to the specified branch's Neon Auth integration.",
|
|
243
244
|
inputSchema: z.strictObject({
|
|
244
|
-
"project_id": zAddBranchNeonAuthOauthProviderPath.shape.project_id,
|
|
245
|
-
"branch_id": zAddBranchNeonAuthOauthProviderPath.shape.branch_id,
|
|
245
|
+
"project_id": zAddBranchNeonAuthOauthProviderPath.shape.project_id.describe("Project id."),
|
|
246
|
+
"branch_id": zAddBranchNeonAuthOauthProviderPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
246
247
|
"id": zAddBranchNeonAuthOauthProviderBody.shape.id,
|
|
247
248
|
"client_id": zAddBranchNeonAuthOauthProviderBody.shape.client_id,
|
|
248
249
|
"client_secret": zAddBranchNeonAuthOauthProviderBody.shape.client_secret,
|
|
@@ -287,8 +288,8 @@ const operationFactories = {
|
|
|
287
288
|
title: "Add domain to redirect_uri whitelist",
|
|
288
289
|
description: "Adds a domain to the redirect URI whitelist for the specified branch.",
|
|
289
290
|
inputSchema: z.strictObject({
|
|
290
|
-
"project_id": zAddBranchNeonAuthTrustedDomainPath.shape.project_id,
|
|
291
|
-
"branch_id": zAddBranchNeonAuthTrustedDomainPath.shape.branch_id,
|
|
291
|
+
"project_id": zAddBranchNeonAuthTrustedDomainPath.shape.project_id.describe("Project id."),
|
|
292
|
+
"branch_id": zAddBranchNeonAuthTrustedDomainPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
292
293
|
"domain": zAddBranchNeonAuthTrustedDomainBody.shape.domain,
|
|
293
294
|
"auth_provider": zAddBranchNeonAuthTrustedDomainBody.shape.auth_provider
|
|
294
295
|
}),
|
|
@@ -325,7 +326,7 @@ const operationFactories = {
|
|
|
325
326
|
title: "Add trusted redirect URI domain",
|
|
326
327
|
description: "Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/domains` instead.",
|
|
327
328
|
inputSchema: z.strictObject({
|
|
328
|
-
"project_id": zAddNeonAuthDomainToRedirectUriWhitelistPath.shape.project_id,
|
|
329
|
+
"project_id": zAddNeonAuthDomainToRedirectUriWhitelistPath.shape.project_id.describe("Project id."),
|
|
329
330
|
"domain": zAddNeonAuthDomainToRedirectUriWhitelistBody.shape.domain,
|
|
330
331
|
"auth_provider": zAddNeonAuthDomainToRedirectUriWhitelistBody.shape.auth_provider
|
|
331
332
|
}),
|
|
@@ -359,7 +360,7 @@ const operationFactories = {
|
|
|
359
360
|
title: "Add an OAuth provider",
|
|
360
361
|
description: "Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers` instead.",
|
|
361
362
|
inputSchema: z.strictObject({
|
|
362
|
-
"project_id": zAddNeonAuthOauthProviderPath.shape.project_id,
|
|
363
|
+
"project_id": zAddNeonAuthOauthProviderPath.shape.project_id.describe("Project id."),
|
|
363
364
|
"id": zAddNeonAuthOauthProviderBody.shape.id,
|
|
364
365
|
"client_id": zAddNeonAuthOauthProviderBody.shape.client_id,
|
|
365
366
|
"client_secret": zAddNeonAuthOauthProviderBody.shape.client_secret,
|
|
@@ -401,7 +402,7 @@ const operationFactories = {
|
|
|
401
402
|
title: "Add JWKS URL",
|
|
402
403
|
description: "Adds a JWKS URL to the specified project for verifying JWTs used as the authentication mechanism.",
|
|
403
404
|
inputSchema: z.strictObject({
|
|
404
|
-
"project_id": zAddProjectJwksPath.shape.project_id,
|
|
405
|
+
"project_id": zAddProjectJwksPath.shape.project_id.describe("Project id."),
|
|
405
406
|
"jwks_url": zAddProjectJwksBody.shape.jwks_url,
|
|
406
407
|
"provider_name": zAddProjectJwksBody.shape.provider_name,
|
|
407
408
|
"branch_id": zAddProjectJwksBody.shape.branch_id,
|
|
@@ -443,7 +444,7 @@ const operationFactories = {
|
|
|
443
444
|
title: "Assign or update VPC endpoint",
|
|
444
445
|
description: "Assigns a VPC endpoint to a Neon organization or updates its existing assignment.",
|
|
445
446
|
inputSchema: z.strictObject({
|
|
446
|
-
"org_id": zAssignOrganizationVpcEndpointPath.shape.org_id,
|
|
447
|
+
"org_id": zAssignOrganizationVpcEndpointPath.shape.org_id.describe("Organization id."),
|
|
447
448
|
"region_id": zAssignOrganizationVpcEndpointPath.shape.region_id,
|
|
448
449
|
"vpc_endpoint_id": zAssignOrganizationVpcEndpointPath.shape.vpc_endpoint_id,
|
|
449
450
|
"label": zAssignOrganizationVpcEndpointBody.shape.label
|
|
@@ -479,7 +480,7 @@ const operationFactories = {
|
|
|
479
480
|
title: "Set VPC endpoint restriction",
|
|
480
481
|
description: "Sets or updates a VPC endpoint restriction for a Neon project.",
|
|
481
482
|
inputSchema: z.strictObject({
|
|
482
|
-
"project_id": zAssignProjectVpcEndpointPath.shape.project_id,
|
|
483
|
+
"project_id": zAssignProjectVpcEndpointPath.shape.project_id.describe("Project id."),
|
|
483
484
|
"vpc_endpoint_id": zAssignProjectVpcEndpointPath.shape.vpc_endpoint_id,
|
|
484
485
|
"label": zAssignProjectVpcEndpointBody.shape.label
|
|
485
486
|
}),
|
|
@@ -513,7 +514,7 @@ const operationFactories = {
|
|
|
513
514
|
title: "Retrieve number of branches",
|
|
514
515
|
description: "Retrieves the total number of branches in the specified project.",
|
|
515
516
|
inputSchema: z.strictObject({
|
|
516
|
-
"project_id": zCountProjectBranchesPath.shape.project_id,
|
|
517
|
+
"project_id": zCountProjectBranchesPath.shape.project_id.describe("Project id."),
|
|
517
518
|
"search": zCountProjectBranchesQuery.shape.search.optional()
|
|
518
519
|
}),
|
|
519
520
|
annotations: {
|
|
@@ -541,7 +542,7 @@ const operationFactories = {
|
|
|
541
542
|
id: "count_projects",
|
|
542
543
|
title: "Retrieve projects count",
|
|
543
544
|
description: "Retrieves the number of active projects you can access in the specified organization, without paging through the list of projects.",
|
|
544
|
-
inputSchema: z.strictObject({ "org_id": zCountProjectsQuery.shape.org_id.optional() }),
|
|
545
|
+
inputSchema: z.strictObject({ "org_id": zCountProjectsQuery.shape.org_id.describe("Organization id from {{user.organizations}}; required with a personal API key.").optional() }),
|
|
545
546
|
annotations: {
|
|
546
547
|
readOnlyHint: true,
|
|
547
548
|
openWorldHint: false
|
|
@@ -593,8 +594,8 @@ const operationFactories = {
|
|
|
593
594
|
title: "Create new auth user",
|
|
594
595
|
description: "Creates a new user in the Neon Auth user directory for the specified branch.",
|
|
595
596
|
inputSchema: z.strictObject({
|
|
596
|
-
"project_id": zCreateBranchNeonAuthNewUserPath.shape.project_id,
|
|
597
|
-
"branch_id": zCreateBranchNeonAuthNewUserPath.shape.branch_id,
|
|
597
|
+
"project_id": zCreateBranchNeonAuthNewUserPath.shape.project_id.describe("Project id."),
|
|
598
|
+
"branch_id": zCreateBranchNeonAuthNewUserPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
598
599
|
"email": zCreateBranchNeonAuthNewUserBody.shape.email,
|
|
599
600
|
"name": zCreateBranchNeonAuthNewUserBody.shape.name
|
|
600
601
|
}),
|
|
@@ -631,8 +632,8 @@ const operationFactories = {
|
|
|
631
632
|
title: "Issue a scoped credential on the branch",
|
|
632
633
|
description: "Issues a new scoped service credential anchored to the specified branch.",
|
|
633
634
|
inputSchema: z.strictObject({
|
|
634
|
-
"project_id": zCreateCredentialPath.shape.project_id,
|
|
635
|
-
"branch_id": zCreateCredentialPath.shape.branch_id,
|
|
635
|
+
"project_id": zCreateCredentialPath.shape.project_id.describe("Project id."),
|
|
636
|
+
"branch_id": zCreateCredentialPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
636
637
|
"name": zCreateCredentialBody.shape.name,
|
|
637
638
|
"scopes": zCreateCredentialBody.shape.scopes.describe("Capabilities to grant. The credential may only perform actions in these scopes."),
|
|
638
639
|
"principal_type": zCreateCredentialBody.shape.principal_type
|
|
@@ -671,8 +672,8 @@ const operationFactories = {
|
|
|
671
672
|
title: "Enable Neon Auth for the branch",
|
|
672
673
|
description: "Enables Neon Auth for the specified branch by connecting it to an authentication provider.",
|
|
673
674
|
inputSchema: z.strictObject({
|
|
674
|
-
"project_id": zCreateNeonAuthPath.shape.project_id,
|
|
675
|
-
"branch_id": zCreateNeonAuthPath.shape.branch_id,
|
|
675
|
+
"project_id": zCreateNeonAuthPath.shape.project_id.describe("Project id."),
|
|
676
|
+
"branch_id": zCreateNeonAuthPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
676
677
|
"auth_provider": zCreateNeonAuthBody.shape.auth_provider,
|
|
677
678
|
"database_name": zCreateNeonAuthBody.shape.database_name
|
|
678
679
|
}),
|
|
@@ -783,8 +784,8 @@ const operationFactories = {
|
|
|
783
784
|
title: "Create an OAuth client",
|
|
784
785
|
description: "Registers an OAuth client with the branch's Neon Auth OAuth provider.",
|
|
785
786
|
inputSchema: z.strictObject({
|
|
786
|
-
"project_id": zCreateNeonAuthOAuthClientPath.shape.project_id,
|
|
787
|
-
"branch_id": zCreateNeonAuthOAuthClientPath.shape.branch_id,
|
|
787
|
+
"project_id": zCreateNeonAuthOAuthClientPath.shape.project_id.describe("Project id."),
|
|
788
|
+
"branch_id": zCreateNeonAuthOAuthClientPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
788
789
|
"name": zCreateNeonAuthOAuthClientBody.shape.name,
|
|
789
790
|
"redirect_uris": zCreateNeonAuthOAuthClientBody.shape.redirect_uris,
|
|
790
791
|
"type": zCreateNeonAuthOAuthClientBody.shape.type,
|
|
@@ -859,7 +860,7 @@ const operationFactories = {
|
|
|
859
860
|
title: "Create organization invitations",
|
|
860
861
|
description: "Creates invitations for a specific organization.",
|
|
861
862
|
inputSchema: z.strictObject({
|
|
862
|
-
"org_id": zCreateOrganizationInvitationsPath.shape.org_id,
|
|
863
|
+
"org_id": zCreateOrganizationInvitationsPath.shape.org_id.describe("Organization id."),
|
|
863
864
|
"invitations": zCreateOrganizationInvitationsBody.shape.invitations
|
|
864
865
|
}),
|
|
865
866
|
annotations: {
|
|
@@ -889,7 +890,7 @@ const operationFactories = {
|
|
|
889
890
|
title: "Create organization API key",
|
|
890
891
|
description: "Creates an API key for the specified organization.",
|
|
891
892
|
inputSchema: z.strictObject({
|
|
892
|
-
"org_id": zCreateOrgApiKeyPath.shape.org_id,
|
|
893
|
+
"org_id": zCreateOrgApiKeyPath.shape.org_id.describe("Organization id."),
|
|
893
894
|
"key_name": zCreateOrgApiKeyBody.shape.key_name,
|
|
894
895
|
"project_id": zCreateOrgApiKeyBody.shape.project_id
|
|
895
896
|
}),
|
|
@@ -977,7 +978,7 @@ const operationFactories = {
|
|
|
977
978
|
title: "Create branch",
|
|
978
979
|
description: "Creates a branch in the specified project.",
|
|
979
980
|
inputSchema: z.strictObject({
|
|
980
|
-
"project_id": zCreateProjectBranchPath.shape.project_id,
|
|
981
|
+
"project_id": zCreateProjectBranchPath.shape.project_id.describe("Project id."),
|
|
981
982
|
"endpoints": zCreateProjectBranchBody.shape.endpoints.optional(),
|
|
982
983
|
"branch": zCreateProjectBranchBody.shape.branch.optional(),
|
|
983
984
|
"annotation_value": zCreateProjectBranchBody.shape.annotation_value.optional()
|
|
@@ -1013,7 +1014,7 @@ const operationFactories = {
|
|
|
1013
1014
|
title: "Create anonymized branch",
|
|
1014
1015
|
description: "Creates a new branch with anonymized data using PostgreSQL Anonymizer for static masking.",
|
|
1015
1016
|
inputSchema: z.strictObject({
|
|
1016
|
-
"project_id": zCreateProjectBranchAnonymizedPath.shape.project_id,
|
|
1017
|
+
"project_id": zCreateProjectBranchAnonymizedPath.shape.project_id.describe("Project id."),
|
|
1017
1018
|
"annotation_value": zCreateProjectBranchAnonymizedBody.shape.annotation_value,
|
|
1018
1019
|
"branch_create": zCreateProjectBranchAnonymizedBody.shape.branch_create,
|
|
1019
1020
|
"masking_rules": zCreateProjectBranchAnonymizedBody.shape.masking_rules,
|
|
@@ -1051,8 +1052,8 @@ const operationFactories = {
|
|
|
1051
1052
|
title: "Create a bucket on the branch",
|
|
1052
1053
|
description: "Creates a new branchable object storage bucket on the specified branch.",
|
|
1053
1054
|
inputSchema: z.strictObject({
|
|
1054
|
-
"project_id": zCreateProjectBranchBucketPath.shape.project_id,
|
|
1055
|
-
"branch_id": zCreateProjectBranchBucketPath.shape.branch_id,
|
|
1055
|
+
"project_id": zCreateProjectBranchBucketPath.shape.project_id.describe("Project id."),
|
|
1056
|
+
"branch_id": zCreateProjectBranchBucketPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
1056
1057
|
"name": zCreateProjectBranchBucketBody.shape.name,
|
|
1057
1058
|
"access_level": zCreateProjectBranchBucketBody.shape.access_level
|
|
1058
1059
|
}),
|
|
@@ -1089,8 +1090,8 @@ const operationFactories = {
|
|
|
1089
1090
|
title: "Create Neon Data API",
|
|
1090
1091
|
description: "Creates a new instance of Neon Data API in the specified branch.",
|
|
1091
1092
|
inputSchema: z.strictObject({
|
|
1092
|
-
"project_id": zCreateProjectBranchDataApiPath.shape.project_id,
|
|
1093
|
-
"branch_id": zCreateProjectBranchDataApiPath.shape.branch_id,
|
|
1093
|
+
"project_id": zCreateProjectBranchDataApiPath.shape.project_id.describe("Project id."),
|
|
1094
|
+
"branch_id": zCreateProjectBranchDataApiPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
1094
1095
|
"database_name": zCreateProjectBranchDataApiPath.shape.database_name,
|
|
1095
1096
|
"auth_provider": zCreateProjectBranchDataApiBody.shape.auth_provider.optional(),
|
|
1096
1097
|
"jwks_url": zCreateProjectBranchDataApiBody.shape.jwks_url.optional(),
|
|
@@ -1139,8 +1140,8 @@ const operationFactories = {
|
|
|
1139
1140
|
title: "Create database",
|
|
1140
1141
|
description: "Creates a database in the specified branch.",
|
|
1141
1142
|
inputSchema: z.strictObject({
|
|
1142
|
-
"project_id": zCreateProjectBranchDatabasePath.shape.project_id,
|
|
1143
|
-
"branch_id": zCreateProjectBranchDatabasePath.shape.branch_id,
|
|
1143
|
+
"project_id": zCreateProjectBranchDatabasePath.shape.project_id.describe("Project id."),
|
|
1144
|
+
"branch_id": zCreateProjectBranchDatabasePath.shape.branch_id.describe("A br-... id, not a name."),
|
|
1144
1145
|
"name": zCreateProjectBranchDatabaseBody.shape.database.shape.name,
|
|
1145
1146
|
"owner_name": zCreateProjectBranchDatabaseBody.shape.database.shape.owner_name
|
|
1146
1147
|
}),
|
|
@@ -1177,8 +1178,8 @@ const operationFactories = {
|
|
|
1177
1178
|
title: "Deploy code to a function",
|
|
1178
1179
|
description: "Creates a deployment for the function.",
|
|
1179
1180
|
inputSchema: z.strictObject({
|
|
1180
|
-
"project_id": zCreateProjectBranchFunctionDeploymentPath.shape.project_id,
|
|
1181
|
-
"branch_id": zCreateProjectBranchFunctionDeploymentPath.shape.branch_id,
|
|
1181
|
+
"project_id": zCreateProjectBranchFunctionDeploymentPath.shape.project_id.describe("Project id."),
|
|
1182
|
+
"branch_id": zCreateProjectBranchFunctionDeploymentPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
1182
1183
|
"slug": zCreateProjectBranchFunctionDeploymentPath.shape.slug,
|
|
1183
1184
|
"zip": z.base64().describe("Base64-encoded ZIP of the function source. Omit to reuse the latest bundle; required for the first deployment.").optional(),
|
|
1184
1185
|
"runtime": zCreateProjectBranchFunctionDeploymentBody.shape.runtime.describe("The Node.js runtime for the deployment."),
|
|
@@ -1219,8 +1220,8 @@ const operationFactories = {
|
|
|
1219
1220
|
title: "Create role",
|
|
1220
1221
|
description: "Creates a Postgres role in the specified branch.",
|
|
1221
1222
|
inputSchema: z.strictObject({
|
|
1222
|
-
"project_id": zCreateProjectBranchRolePath.shape.project_id,
|
|
1223
|
-
"branch_id": zCreateProjectBranchRolePath.shape.branch_id,
|
|
1223
|
+
"project_id": zCreateProjectBranchRolePath.shape.project_id.describe("Project id."),
|
|
1224
|
+
"branch_id": zCreateProjectBranchRolePath.shape.branch_id.describe("A br-... id, not a name."),
|
|
1224
1225
|
"name": zCreateProjectBranchRoleBody.shape.role.shape.name,
|
|
1225
1226
|
"no_login": zCreateProjectBranchRoleBody.shape.role.shape.no_login
|
|
1226
1227
|
}),
|
|
@@ -1257,8 +1258,8 @@ const operationFactories = {
|
|
|
1257
1258
|
title: "Create a trigger",
|
|
1258
1259
|
description: "Creates a trigger for a Function visible on the branch.",
|
|
1259
1260
|
inputSchema: z.strictObject({
|
|
1260
|
-
"project_id": zCreateProjectBranchTriggerPath.shape.project_id,
|
|
1261
|
-
"branch_id": zCreateProjectBranchTriggerPath.shape.branch_id,
|
|
1261
|
+
"project_id": zCreateProjectBranchTriggerPath.shape.project_id.describe("Project id."),
|
|
1262
|
+
"branch_id": zCreateProjectBranchTriggerPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
1262
1263
|
"body": zCreateProjectBranchTriggerBody.describe("Trigger creation payload discriminated by `type`.")
|
|
1263
1264
|
}),
|
|
1264
1265
|
annotations: {
|
|
@@ -1291,7 +1292,7 @@ const operationFactories = {
|
|
|
1291
1292
|
title: "Create compute endpoint",
|
|
1292
1293
|
description: "Creates a compute endpoint for the specified branch.",
|
|
1293
1294
|
inputSchema: z.strictObject({
|
|
1294
|
-
"project_id": zCreateProjectEndpointPath.shape.project_id,
|
|
1295
|
+
"project_id": zCreateProjectEndpointPath.shape.project_id.describe("Project id."),
|
|
1295
1296
|
"branch_id": zCreateProjectEndpointBody.shape.endpoint.shape.branch_id,
|
|
1296
1297
|
"region_id": zCreateProjectEndpointBody.shape.endpoint.shape.region_id,
|
|
1297
1298
|
"type": zCreateProjectEndpointBody.shape.endpoint.shape.type,
|
|
@@ -1347,7 +1348,7 @@ const operationFactories = {
|
|
|
1347
1348
|
title: "Create a project transfer request",
|
|
1348
1349
|
description: "Creates a transfer request for the specified project.",
|
|
1349
1350
|
inputSchema: z.strictObject({
|
|
1350
|
-
"project_id": zCreateProjectTransferRequestPath.shape.project_id,
|
|
1351
|
+
"project_id": zCreateProjectTransferRequestPath.shape.project_id.describe("Project id."),
|
|
1351
1352
|
"ttl_seconds": zCreateProjectTransferRequestBody.shape.ttl_seconds.optional()
|
|
1352
1353
|
}),
|
|
1353
1354
|
annotations: {
|
|
@@ -1377,8 +1378,8 @@ const operationFactories = {
|
|
|
1377
1378
|
title: "Create snapshot",
|
|
1378
1379
|
description: "Creates a snapshot from the specified branch.",
|
|
1379
1380
|
inputSchema: z.strictObject({
|
|
1380
|
-
"project_id": zCreateSnapshotPath.shape.project_id,
|
|
1381
|
-
"branch_id": zCreateSnapshotPath.shape.branch_id,
|
|
1381
|
+
"project_id": zCreateSnapshotPath.shape.project_id.describe("Project id."),
|
|
1382
|
+
"branch_id": zCreateSnapshotPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
1382
1383
|
"lsn": zCreateSnapshotQuery.shape.lsn.optional(),
|
|
1383
1384
|
"timestamp": zCreateSnapshotQuery.shape.timestamp.optional(),
|
|
1384
1385
|
"name": zCreateSnapshotQuery.shape.name.optional(),
|
|
@@ -1419,8 +1420,8 @@ const operationFactories = {
|
|
|
1419
1420
|
title: "Delete OAuth provider",
|
|
1420
1421
|
description: "Deletes an OAuth provider from the specified project.",
|
|
1421
1422
|
inputSchema: z.strictObject({
|
|
1422
|
-
"project_id": zDeleteBranchNeonAuthOauthProviderPath.shape.project_id,
|
|
1423
|
-
"branch_id": zDeleteBranchNeonAuthOauthProviderPath.shape.branch_id,
|
|
1423
|
+
"project_id": zDeleteBranchNeonAuthOauthProviderPath.shape.project_id.describe("Project id."),
|
|
1424
|
+
"branch_id": zDeleteBranchNeonAuthOauthProviderPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
1424
1425
|
"oauth_provider_id": zDeleteBranchNeonAuthOauthProviderPath.shape.oauth_provider_id
|
|
1425
1426
|
}),
|
|
1426
1427
|
annotations: {
|
|
@@ -1453,8 +1454,8 @@ const operationFactories = {
|
|
|
1453
1454
|
title: "Delete domain from redirect_uri whitelist",
|
|
1454
1455
|
description: "Removes a domain from the redirect URI whitelist for the specified branch.",
|
|
1455
1456
|
inputSchema: z.strictObject({
|
|
1456
|
-
"project_id": zDeleteBranchNeonAuthTrustedDomainPath.shape.project_id,
|
|
1457
|
-
"branch_id": zDeleteBranchNeonAuthTrustedDomainPath.shape.branch_id,
|
|
1457
|
+
"project_id": zDeleteBranchNeonAuthTrustedDomainPath.shape.project_id.describe("Project id."),
|
|
1458
|
+
"branch_id": zDeleteBranchNeonAuthTrustedDomainPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
1458
1459
|
"auth_provider": zDeleteBranchNeonAuthTrustedDomainBody.shape.auth_provider,
|
|
1459
1460
|
"domains": zDeleteBranchNeonAuthTrustedDomainBody.shape.domains
|
|
1460
1461
|
}),
|
|
@@ -1491,8 +1492,8 @@ const operationFactories = {
|
|
|
1491
1492
|
title: "Delete auth user",
|
|
1492
1493
|
description: "Deletes the specified user from the Neon Auth user directory for the specified branch.",
|
|
1493
1494
|
inputSchema: z.strictObject({
|
|
1494
|
-
"project_id": zDeleteBranchNeonAuthUserPath.shape.project_id,
|
|
1495
|
-
"branch_id": zDeleteBranchNeonAuthUserPath.shape.branch_id,
|
|
1495
|
+
"project_id": zDeleteBranchNeonAuthUserPath.shape.project_id.describe("Project id."),
|
|
1496
|
+
"branch_id": zDeleteBranchNeonAuthUserPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
1496
1497
|
"auth_user_id": zDeleteBranchNeonAuthUserPath.shape.auth_user_id
|
|
1497
1498
|
}),
|
|
1498
1499
|
annotations: {
|
|
@@ -1525,7 +1526,7 @@ const operationFactories = {
|
|
|
1525
1526
|
title: "Delete trusted redirect URI domain",
|
|
1526
1527
|
description: "Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/domains` instead.",
|
|
1527
1528
|
inputSchema: z.strictObject({
|
|
1528
|
-
"project_id": zDeleteNeonAuthDomainFromRedirectUriWhitelistPath.shape.project_id,
|
|
1529
|
+
"project_id": zDeleteNeonAuthDomainFromRedirectUriWhitelistPath.shape.project_id.describe("Project id."),
|
|
1529
1530
|
"auth_provider": zDeleteNeonAuthDomainFromRedirectUriWhitelistBody.shape.auth_provider,
|
|
1530
1531
|
"domains": zDeleteNeonAuthDomainFromRedirectUriWhitelistBody.shape.domains
|
|
1531
1532
|
}),
|
|
@@ -1559,7 +1560,7 @@ const operationFactories = {
|
|
|
1559
1560
|
title: "Delete integration with auth provider",
|
|
1560
1561
|
description: "Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth` instead.",
|
|
1561
1562
|
inputSchema: z.strictObject({
|
|
1562
|
-
"project_id": zDeleteNeonAuthIntegrationPath.shape.project_id,
|
|
1563
|
+
"project_id": zDeleteNeonAuthIntegrationPath.shape.project_id.describe("Project id."),
|
|
1563
1564
|
"auth_provider": zDeleteNeonAuthIntegrationPath.shape.auth_provider,
|
|
1564
1565
|
"delete_data": zDeleteNeonAuthIntegrationBody.shape.delete_data.optional()
|
|
1565
1566
|
}),
|
|
@@ -1593,8 +1594,8 @@ const operationFactories = {
|
|
|
1593
1594
|
title: "Delete an OAuth client",
|
|
1594
1595
|
description: "Deletes an OAuth client.",
|
|
1595
1596
|
inputSchema: z.strictObject({
|
|
1596
|
-
"project_id": zDeleteNeonAuthOAuthClientPath.shape.project_id,
|
|
1597
|
-
"branch_id": zDeleteNeonAuthOAuthClientPath.shape.branch_id,
|
|
1597
|
+
"project_id": zDeleteNeonAuthOAuthClientPath.shape.project_id.describe("Project id."),
|
|
1598
|
+
"branch_id": zDeleteNeonAuthOAuthClientPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
1598
1599
|
"client_id": zDeleteNeonAuthOAuthClientPath.shape.client_id
|
|
1599
1600
|
}),
|
|
1600
1601
|
annotations: {
|
|
@@ -1627,7 +1628,7 @@ const operationFactories = {
|
|
|
1627
1628
|
title: "Delete OAuth provider",
|
|
1628
1629
|
description: "Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}` instead.",
|
|
1629
1630
|
inputSchema: z.strictObject({
|
|
1630
|
-
"project_id": zDeleteNeonAuthOauthProviderPath.shape.project_id,
|
|
1631
|
+
"project_id": zDeleteNeonAuthOauthProviderPath.shape.project_id.describe("Project id."),
|
|
1631
1632
|
"oauth_provider_id": zDeleteNeonAuthOauthProviderPath.shape.oauth_provider_id
|
|
1632
1633
|
}),
|
|
1633
1634
|
annotations: {
|
|
@@ -1659,7 +1660,7 @@ const operationFactories = {
|
|
|
1659
1660
|
title: "Delete auth user",
|
|
1660
1661
|
description: "Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/users/{auth_user_id}` instead.",
|
|
1661
1662
|
inputSchema: z.strictObject({
|
|
1662
|
-
"project_id": zDeleteNeonAuthUserPath.shape.project_id,
|
|
1663
|
+
"project_id": zDeleteNeonAuthUserPath.shape.project_id.describe("Project id."),
|
|
1663
1664
|
"auth_user_id": zDeleteNeonAuthUserPath.shape.auth_user_id
|
|
1664
1665
|
}),
|
|
1665
1666
|
annotations: {
|
|
@@ -1690,7 +1691,7 @@ const operationFactories = {
|
|
|
1690
1691
|
id: "delete_organization_spending_limit",
|
|
1691
1692
|
title: "Remove organization spending limit",
|
|
1692
1693
|
description: "Removes the configured monthly spending limit for the specified organization.",
|
|
1693
|
-
inputSchema: z.strictObject({ "org_id": zDeleteOrganizationSpendingLimitPath.shape.org_id }),
|
|
1694
|
+
inputSchema: z.strictObject({ "org_id": zDeleteOrganizationSpendingLimitPath.shape.org_id.describe("Organization id.") }),
|
|
1694
1695
|
annotations: {
|
|
1695
1696
|
readOnlyHint: false,
|
|
1696
1697
|
destructiveHint: true,
|
|
@@ -1717,7 +1718,7 @@ const operationFactories = {
|
|
|
1717
1718
|
title: "Delete VPC endpoint",
|
|
1718
1719
|
description: "Deletes the VPC endpoint from the specified Neon organization.",
|
|
1719
1720
|
inputSchema: z.strictObject({
|
|
1720
|
-
"org_id": zDeleteOrganizationVpcEndpointPath.shape.org_id,
|
|
1721
|
+
"org_id": zDeleteOrganizationVpcEndpointPath.shape.org_id.describe("Organization id."),
|
|
1721
1722
|
"region_id": zDeleteOrganizationVpcEndpointPath.shape.region_id,
|
|
1722
1723
|
"vpc_endpoint_id": zDeleteOrganizationVpcEndpointPath.shape.vpc_endpoint_id
|
|
1723
1724
|
}),
|
|
@@ -1750,7 +1751,7 @@ const operationFactories = {
|
|
|
1750
1751
|
id: "delete_project",
|
|
1751
1752
|
title: "Delete project",
|
|
1752
1753
|
description: "Deletes the specified project and all its endpoints, branches, databases, and users.",
|
|
1753
|
-
inputSchema: z.strictObject({ "project_id": zDeleteProjectPath.shape.project_id }),
|
|
1754
|
+
inputSchema: z.strictObject({ "project_id": zDeleteProjectPath.shape.project_id.describe("Project id.") }),
|
|
1754
1755
|
annotations: {
|
|
1755
1756
|
readOnlyHint: false,
|
|
1756
1757
|
destructiveHint: true,
|
|
@@ -1777,8 +1778,8 @@ const operationFactories = {
|
|
|
1777
1778
|
title: "Delete branch",
|
|
1778
1779
|
description: "Deletes the specified branch from a project and places all compute endpoints into an idle state, breaking existing client connections.",
|
|
1779
1780
|
inputSchema: z.strictObject({
|
|
1780
|
-
"project_id": zDeleteProjectBranchPath.shape.project_id,
|
|
1781
|
-
"branch_id": zDeleteProjectBranchPath.shape.branch_id
|
|
1781
|
+
"project_id": zDeleteProjectBranchPath.shape.project_id.describe("Project id."),
|
|
1782
|
+
"branch_id": zDeleteProjectBranchPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
1782
1783
|
}),
|
|
1783
1784
|
annotations: {
|
|
1784
1785
|
readOnlyHint: false,
|
|
@@ -1809,8 +1810,8 @@ const operationFactories = {
|
|
|
1809
1810
|
title: "Delete a bucket on the branch",
|
|
1810
1811
|
description: "Deletes the named bucket from the specified branch.",
|
|
1811
1812
|
inputSchema: z.strictObject({
|
|
1812
|
-
"project_id": zDeleteProjectBranchBucketPath.shape.project_id,
|
|
1813
|
-
"branch_id": zDeleteProjectBranchBucketPath.shape.branch_id,
|
|
1813
|
+
"project_id": zDeleteProjectBranchBucketPath.shape.project_id.describe("Project id."),
|
|
1814
|
+
"branch_id": zDeleteProjectBranchBucketPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
1814
1815
|
"bucket_name": zDeleteProjectBranchBucketPath.shape.bucket_name
|
|
1815
1816
|
}),
|
|
1816
1817
|
annotations: {
|
|
@@ -1843,8 +1844,8 @@ const operationFactories = {
|
|
|
1843
1844
|
title: "Delete an object in a bucket",
|
|
1844
1845
|
description: "Deletes the named object from the bucket on the specified branch.",
|
|
1845
1846
|
inputSchema: z.strictObject({
|
|
1846
|
-
"project_id": zDeleteProjectBranchBucketObjectPath.shape.project_id,
|
|
1847
|
-
"branch_id": zDeleteProjectBranchBucketObjectPath.shape.branch_id,
|
|
1847
|
+
"project_id": zDeleteProjectBranchBucketObjectPath.shape.project_id.describe("Project id."),
|
|
1848
|
+
"branch_id": zDeleteProjectBranchBucketObjectPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
1848
1849
|
"bucket_name": zDeleteProjectBranchBucketObjectPath.shape.bucket_name,
|
|
1849
1850
|
"object_key": zDeleteProjectBranchBucketObjectPath.shape.object_key
|
|
1850
1851
|
}),
|
|
@@ -1879,10 +1880,10 @@ const operationFactories = {
|
|
|
1879
1880
|
title: "Delete every object under a key prefix (folder) in a bucket",
|
|
1880
1881
|
description: "Soft-deletes every object on the specified branch whose key starts with `prefix`, in a single call.",
|
|
1881
1882
|
inputSchema: z.strictObject({
|
|
1882
|
-
"project_id": zDeleteProjectBranchBucketObjectsByPrefixPath.shape.project_id,
|
|
1883
|
-
"branch_id": zDeleteProjectBranchBucketObjectsByPrefixPath.shape.branch_id,
|
|
1883
|
+
"project_id": zDeleteProjectBranchBucketObjectsByPrefixPath.shape.project_id.describe("Project id."),
|
|
1884
|
+
"branch_id": zDeleteProjectBranchBucketObjectsByPrefixPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
1884
1885
|
"bucket_name": zDeleteProjectBranchBucketObjectsByPrefixPath.shape.bucket_name,
|
|
1885
|
-
"prefix": zDeleteProjectBranchBucketObjectsByPrefixQuery.shape.prefix
|
|
1886
|
+
"prefix": zDeleteProjectBranchBucketObjectsByPrefixQuery.shape.prefix.describe("Key prefix to delete, ending in / (for example app/avatars/).")
|
|
1886
1887
|
}),
|
|
1887
1888
|
annotations: {
|
|
1888
1889
|
readOnlyHint: false,
|
|
@@ -1915,8 +1916,8 @@ const operationFactories = {
|
|
|
1915
1916
|
title: "Delete a custom domain from a branch",
|
|
1916
1917
|
description: "Removes a custom domain registered on the branch and stops routing it.",
|
|
1917
1918
|
inputSchema: z.strictObject({
|
|
1918
|
-
"project_id": zDeleteProjectBranchCustomDomainPath.shape.project_id,
|
|
1919
|
-
"branch_id": zDeleteProjectBranchCustomDomainPath.shape.branch_id,
|
|
1919
|
+
"project_id": zDeleteProjectBranchCustomDomainPath.shape.project_id.describe("Project id."),
|
|
1920
|
+
"branch_id": zDeleteProjectBranchCustomDomainPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
1920
1921
|
"domain": zDeleteProjectBranchCustomDomainPath.shape.domain
|
|
1921
1922
|
}),
|
|
1922
1923
|
annotations: {
|
|
@@ -1949,8 +1950,8 @@ const operationFactories = {
|
|
|
1949
1950
|
title: "Delete Neon Data API",
|
|
1950
1951
|
description: "Deletes the Neon Data API for the specified branch.",
|
|
1951
1952
|
inputSchema: z.strictObject({
|
|
1952
|
-
"project_id": zDeleteProjectBranchDataApiPath.shape.project_id,
|
|
1953
|
-
"branch_id": zDeleteProjectBranchDataApiPath.shape.branch_id,
|
|
1953
|
+
"project_id": zDeleteProjectBranchDataApiPath.shape.project_id.describe("Project id."),
|
|
1954
|
+
"branch_id": zDeleteProjectBranchDataApiPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
1954
1955
|
"database_name": zDeleteProjectBranchDataApiPath.shape.database_name
|
|
1955
1956
|
}),
|
|
1956
1957
|
annotations: {
|
|
@@ -1983,8 +1984,8 @@ const operationFactories = {
|
|
|
1983
1984
|
title: "Delete database",
|
|
1984
1985
|
description: "Deletes the specified database from the branch.",
|
|
1985
1986
|
inputSchema: z.strictObject({
|
|
1986
|
-
"project_id": zDeleteProjectBranchDatabasePath.shape.project_id,
|
|
1987
|
-
"branch_id": zDeleteProjectBranchDatabasePath.shape.branch_id,
|
|
1987
|
+
"project_id": zDeleteProjectBranchDatabasePath.shape.project_id.describe("Project id."),
|
|
1988
|
+
"branch_id": zDeleteProjectBranchDatabasePath.shape.branch_id.describe("A br-... id, not a name."),
|
|
1988
1989
|
"database_name": zDeleteProjectBranchDatabasePath.shape.database_name
|
|
1989
1990
|
}),
|
|
1990
1991
|
annotations: {
|
|
@@ -2017,8 +2018,8 @@ const operationFactories = {
|
|
|
2017
2018
|
title: "Delete a function on the branch",
|
|
2018
2019
|
description: "Deletes the function identified by its slug.",
|
|
2019
2020
|
inputSchema: z.strictObject({
|
|
2020
|
-
"project_id": zDeleteProjectBranchFunctionPath.shape.project_id,
|
|
2021
|
-
"branch_id": zDeleteProjectBranchFunctionPath.shape.branch_id,
|
|
2021
|
+
"project_id": zDeleteProjectBranchFunctionPath.shape.project_id.describe("Project id."),
|
|
2022
|
+
"branch_id": zDeleteProjectBranchFunctionPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
2022
2023
|
"slug": zDeleteProjectBranchFunctionPath.shape.slug
|
|
2023
2024
|
}),
|
|
2024
2025
|
annotations: {
|
|
@@ -2051,8 +2052,8 @@ const operationFactories = {
|
|
|
2051
2052
|
title: "Delete role",
|
|
2052
2053
|
description: "Deletes the specified Postgres role from the branch.",
|
|
2053
2054
|
inputSchema: z.strictObject({
|
|
2054
|
-
"project_id": zDeleteProjectBranchRolePath.shape.project_id,
|
|
2055
|
-
"branch_id": zDeleteProjectBranchRolePath.shape.branch_id,
|
|
2055
|
+
"project_id": zDeleteProjectBranchRolePath.shape.project_id.describe("Project id."),
|
|
2056
|
+
"branch_id": zDeleteProjectBranchRolePath.shape.branch_id.describe("A br-... id, not a name."),
|
|
2056
2057
|
"role_name": zDeleteProjectBranchRolePath.shape.role_name
|
|
2057
2058
|
}),
|
|
2058
2059
|
annotations: {
|
|
@@ -2085,8 +2086,8 @@ const operationFactories = {
|
|
|
2085
2086
|
title: "Delete a trigger",
|
|
2086
2087
|
description: "Deletes a branch-local trigger or writes a branch-local tombstone for an inherited trigger so it does not reappear.",
|
|
2087
2088
|
inputSchema: z.strictObject({
|
|
2088
|
-
"project_id": zDeleteProjectBranchTriggerPath.shape.project_id,
|
|
2089
|
-
"branch_id": zDeleteProjectBranchTriggerPath.shape.branch_id,
|
|
2089
|
+
"project_id": zDeleteProjectBranchTriggerPath.shape.project_id.describe("Project id."),
|
|
2090
|
+
"branch_id": zDeleteProjectBranchTriggerPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
2090
2091
|
"trigger_id": zDeleteProjectBranchTriggerPath.shape.trigger_id
|
|
2091
2092
|
}),
|
|
2092
2093
|
annotations: {
|
|
@@ -2119,7 +2120,7 @@ const operationFactories = {
|
|
|
2119
2120
|
title: "Delete compute endpoint",
|
|
2120
2121
|
description: "Deletes the specified compute endpoint.",
|
|
2121
2122
|
inputSchema: z.strictObject({
|
|
2122
|
-
"project_id": zDeleteProjectEndpointPath.shape.project_id,
|
|
2123
|
+
"project_id": zDeleteProjectEndpointPath.shape.project_id.describe("Project id."),
|
|
2123
2124
|
"endpoint_id": zDeleteProjectEndpointPath.shape.endpoint_id
|
|
2124
2125
|
}),
|
|
2125
2126
|
annotations: {
|
|
@@ -2151,7 +2152,7 @@ const operationFactories = {
|
|
|
2151
2152
|
title: "Delete JWKS URL",
|
|
2152
2153
|
description: "Removes the specified JWKS URL from the project.",
|
|
2153
2154
|
inputSchema: z.strictObject({
|
|
2154
|
-
"project_id": zDeleteProjectJwksPath.shape.project_id,
|
|
2155
|
+
"project_id": zDeleteProjectJwksPath.shape.project_id.describe("Project id."),
|
|
2155
2156
|
"jwks_id": zDeleteProjectJwksPath.shape.jwks_id
|
|
2156
2157
|
}),
|
|
2157
2158
|
annotations: {
|
|
@@ -2183,7 +2184,7 @@ const operationFactories = {
|
|
|
2183
2184
|
title: "Delete VPC endpoint restriction",
|
|
2184
2185
|
description: "Removes the specified VPC endpoint restriction from a Neon project.",
|
|
2185
2186
|
inputSchema: z.strictObject({
|
|
2186
|
-
"project_id": zDeleteProjectVpcEndpointPath.shape.project_id,
|
|
2187
|
+
"project_id": zDeleteProjectVpcEndpointPath.shape.project_id.describe("Project id."),
|
|
2187
2188
|
"vpc_endpoint_id": zDeleteProjectVpcEndpointPath.shape.vpc_endpoint_id
|
|
2188
2189
|
}),
|
|
2189
2190
|
annotations: {
|
|
@@ -2215,7 +2216,7 @@ const operationFactories = {
|
|
|
2215
2216
|
title: "Delete snapshot",
|
|
2216
2217
|
description: "Deletes the specified snapshot.",
|
|
2217
2218
|
inputSchema: z.strictObject({
|
|
2218
|
-
"project_id": zDeleteSnapshotPath.shape.project_id,
|
|
2219
|
+
"project_id": zDeleteSnapshotPath.shape.project_id.describe("Project id."),
|
|
2219
2220
|
"snapshot_id": zDeleteSnapshotPath.shape.snapshot_id
|
|
2220
2221
|
}),
|
|
2221
2222
|
annotations: {
|
|
@@ -2247,8 +2248,8 @@ const operationFactories = {
|
|
|
2247
2248
|
title: "Disable Neon Auth for the branch",
|
|
2248
2249
|
description: "Disables the Neon Auth integration for the specified branch, removing the connection to the authentication provider.",
|
|
2249
2250
|
inputSchema: z.strictObject({
|
|
2250
|
-
"project_id": zDisableNeonAuthPath.shape.project_id,
|
|
2251
|
-
"branch_id": zDisableNeonAuthPath.shape.branch_id,
|
|
2251
|
+
"project_id": zDisableNeonAuthPath.shape.project_id.describe("Project id."),
|
|
2252
|
+
"branch_id": zDisableNeonAuthPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
2252
2253
|
"delete_data": zDisableNeonAuthBody.shape.delete_data.optional()
|
|
2253
2254
|
}),
|
|
2254
2255
|
annotations: {
|
|
@@ -2281,8 +2282,8 @@ const operationFactories = {
|
|
|
2281
2282
|
title: "Disable Realtime",
|
|
2282
2283
|
description: "Disables Realtime for the branch and discards its shared secret.",
|
|
2283
2284
|
inputSchema: z.strictObject({
|
|
2284
|
-
"project_id": zDisableProjectBranchRealtimePath.shape.project_id,
|
|
2285
|
-
"branch_id": zDisableProjectBranchRealtimePath.shape.branch_id
|
|
2285
|
+
"project_id": zDisableProjectBranchRealtimePath.shape.project_id.describe("Project id."),
|
|
2286
|
+
"branch_id": zDisableProjectBranchRealtimePath.shape.branch_id.describe("A br-... id, not a name.")
|
|
2286
2287
|
}),
|
|
2287
2288
|
annotations: {
|
|
2288
2289
|
readOnlyHint: false,
|
|
@@ -2313,8 +2314,8 @@ const operationFactories = {
|
|
|
2313
2314
|
title: "Enable Realtime",
|
|
2314
2315
|
description: "Enables Realtime for the branch, or applies new options to an enabled branch.",
|
|
2315
2316
|
inputSchema: z.strictObject({
|
|
2316
|
-
"project_id": zEnableProjectBranchRealtimePath.shape.project_id,
|
|
2317
|
-
"branch_id": zEnableProjectBranchRealtimePath.shape.branch_id,
|
|
2317
|
+
"project_id": zEnableProjectBranchRealtimePath.shape.project_id.describe("Project id."),
|
|
2318
|
+
"branch_id": zEnableProjectBranchRealtimePath.shape.branch_id.describe("A br-... id, not a name."),
|
|
2318
2319
|
"allowed_origins": zEnableProjectBranchRealtimeBody.shape.allowed_origins.optional()
|
|
2319
2320
|
}),
|
|
2320
2321
|
annotations: {
|
|
@@ -2347,8 +2348,8 @@ const operationFactories = {
|
|
|
2347
2348
|
title: "Finalize branch restore from snapshot",
|
|
2348
2349
|
description: "Finalize the restore operation for a branch created from a snapshot.",
|
|
2349
2350
|
inputSchema: z.strictObject({
|
|
2350
|
-
"project_id": zFinalizeRestoreBranchPath.shape.project_id,
|
|
2351
|
-
"branch_id": zFinalizeRestoreBranchPath.shape.branch_id,
|
|
2351
|
+
"project_id": zFinalizeRestoreBranchPath.shape.project_id.describe("Project id."),
|
|
2352
|
+
"branch_id": zFinalizeRestoreBranchPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
2352
2353
|
"name": zFinalizeRestoreBranchBody.shape.name.optional()
|
|
2353
2354
|
}),
|
|
2354
2355
|
annotations: {
|
|
@@ -2406,8 +2407,8 @@ const operationFactories = {
|
|
|
2406
2407
|
title: "Retrieve anonymized branch status",
|
|
2407
2408
|
description: "Retrieves the current status of an anonymized branch, including its state and progress information.",
|
|
2408
2409
|
inputSchema: z.strictObject({
|
|
2409
|
-
"project_id": zGetAnonymizedBranchStatusPath.shape.project_id,
|
|
2410
|
-
"branch_id": zGetAnonymizedBranchStatusPath.shape.branch_id
|
|
2410
|
+
"project_id": zGetAnonymizedBranchStatusPath.shape.project_id.describe("Project id."),
|
|
2411
|
+
"branch_id": zGetAnonymizedBranchStatusPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
2411
2412
|
}),
|
|
2412
2413
|
annotations: {
|
|
2413
2414
|
readOnlyHint: true,
|
|
@@ -2460,7 +2461,7 @@ const operationFactories = {
|
|
|
2460
2461
|
id: "get_available_preload_libraries",
|
|
2461
2462
|
title: "List available shared preload libraries",
|
|
2462
2463
|
description: "Returns the shared preload libraries available for the specified project's Postgres version.",
|
|
2463
|
-
inputSchema: z.strictObject({ "project_id": zGetAvailablePreloadLibrariesPath.shape.project_id }),
|
|
2464
|
+
inputSchema: z.strictObject({ "project_id": zGetAvailablePreloadLibrariesPath.shape.project_id.describe("Project id.") }),
|
|
2464
2465
|
annotations: {
|
|
2465
2466
|
readOnlyHint: true,
|
|
2466
2467
|
openWorldHint: false
|
|
@@ -2486,7 +2487,7 @@ const operationFactories = {
|
|
|
2486
2487
|
title: "Retrieve connection URI",
|
|
2487
2488
|
description: "Retrieves a connection URI for the specified database.",
|
|
2488
2489
|
inputSchema: z.strictObject({
|
|
2489
|
-
"project_id": zGetConnectionUriPath.shape.project_id,
|
|
2490
|
+
"project_id": zGetConnectionUriPath.shape.project_id.describe("Project id."),
|
|
2490
2491
|
"branch_id": zGetConnectionUriQuery.shape.branch_id,
|
|
2491
2492
|
"endpoint_id": zGetConnectionUriQuery.shape.endpoint_id,
|
|
2492
2493
|
"database_name": zGetConnectionUriQuery.shape.database_name,
|
|
@@ -2529,11 +2530,11 @@ const operationFactories = {
|
|
|
2529
2530
|
"limit": zGetConsumptionHistoryPerBranchV2Query.shape.limit,
|
|
2530
2531
|
"project_ids": zGetConsumptionHistoryPerBranchV2Query.shape.project_ids,
|
|
2531
2532
|
"branch_ids": zGetConsumptionHistoryPerBranchV2Query.shape.branch_ids,
|
|
2532
|
-
"from": zGetConsumptionHistoryPerBranchV2Query.shape.from,
|
|
2533
|
-
"to": zGetConsumptionHistoryPerBranchV2Query.shape.to,
|
|
2534
|
-
"granularity": zGetConsumptionHistoryPerBranchV2Query.shape.granularity,
|
|
2535
|
-
"org_id": zGetConsumptionHistoryPerBranchV2Query.shape.org_id,
|
|
2536
|
-
"metrics": zGetConsumptionHistoryPerBranchV2Query.shape.metrics
|
|
2533
|
+
"from": zGetConsumptionHistoryPerBranchV2Query.shape.from.describe("Period start, rounded to granularity."),
|
|
2534
|
+
"to": zGetConsumptionHistoryPerBranchV2Query.shape.to.describe("Period end, rounded to granularity."),
|
|
2535
|
+
"granularity": zGetConsumptionHistoryPerBranchV2Query.shape.granularity.describe("hourly reaches back 168 hours, daily 60 days, monthly one year."),
|
|
2536
|
+
"org_id": zGetConsumptionHistoryPerBranchV2Query.shape.org_id.describe("Organization id from {{user.organizations}}."),
|
|
2537
|
+
"metrics": zGetConsumptionHistoryPerBranchV2Query.shape.metrics.describe("Metric names from the tool description; any other returns HTTP 400. extra_branches_month and snapshot_storage_bytes_month are only on {{consumption.perProjectV2}}.")
|
|
2537
2538
|
}),
|
|
2538
2539
|
annotations: {
|
|
2539
2540
|
readOnlyHint: true,
|
|
@@ -2573,11 +2574,11 @@ const operationFactories = {
|
|
|
2573
2574
|
"cursor": zGetConsumptionHistoryPerProjectQuery.shape.cursor,
|
|
2574
2575
|
"limit": zGetConsumptionHistoryPerProjectQuery.shape.limit,
|
|
2575
2576
|
"project_ids": zGetConsumptionHistoryPerProjectQuery.shape.project_ids,
|
|
2576
|
-
"from": zGetConsumptionHistoryPerProjectQuery.shape.from,
|
|
2577
|
-
"to": zGetConsumptionHistoryPerProjectQuery.shape.to,
|
|
2577
|
+
"from": zGetConsumptionHistoryPerProjectQuery.shape.from.describe("Period start, rounded to granularity."),
|
|
2578
|
+
"to": zGetConsumptionHistoryPerProjectQuery.shape.to.describe("Period end, rounded to granularity."),
|
|
2578
2579
|
"granularity": zGetConsumptionHistoryPerProjectQuery.shape.granularity,
|
|
2579
2580
|
"org_id": zGetConsumptionHistoryPerProjectQuery.shape.org_id,
|
|
2580
|
-
"include_v1_metrics": zGetConsumptionHistoryPerProjectQuery.shape.include_v1_metrics,
|
|
2581
|
+
"include_v1_metrics": zGetConsumptionHistoryPerProjectQuery.shape.include_v1_metrics.describe("Deprecated; has no effect."),
|
|
2581
2582
|
"metrics": zGetConsumptionHistoryPerProjectQuery.shape.metrics
|
|
2582
2583
|
}),
|
|
2583
2584
|
annotations: {
|
|
@@ -2617,12 +2618,12 @@ const operationFactories = {
|
|
|
2617
2618
|
inputSchema: z.strictObject({
|
|
2618
2619
|
"cursor": zGetConsumptionHistoryPerProjectV2Query.shape.cursor,
|
|
2619
2620
|
"limit": zGetConsumptionHistoryPerProjectV2Query.shape.limit,
|
|
2620
|
-
"project_ids": zGetConsumptionHistoryPerProjectV2Query.shape.project_ids,
|
|
2621
|
-
"from": zGetConsumptionHistoryPerProjectV2Query.shape.from,
|
|
2622
|
-
"to": zGetConsumptionHistoryPerProjectV2Query.shape.to,
|
|
2623
|
-
"granularity": zGetConsumptionHistoryPerProjectV2Query.shape.granularity,
|
|
2624
|
-
"org_id": zGetConsumptionHistoryPerProjectV2Query.shape.org_id,
|
|
2625
|
-
"metrics": zGetConsumptionHistoryPerProjectV2Query.shape.metrics
|
|
2621
|
+
"project_ids": zGetConsumptionHistoryPerProjectV2Query.shape.project_ids.describe("Up to 100 project ids. Omit for every project with history in the organization, including deleted ones."),
|
|
2622
|
+
"from": zGetConsumptionHistoryPerProjectV2Query.shape.from.describe("Period start, rounded to granularity."),
|
|
2623
|
+
"to": zGetConsumptionHistoryPerProjectV2Query.shape.to.describe("Period end, rounded to granularity."),
|
|
2624
|
+
"granularity": zGetConsumptionHistoryPerProjectV2Query.shape.granularity.describe("hourly reaches back 168 hours, daily 60 days, monthly one year."),
|
|
2625
|
+
"org_id": zGetConsumptionHistoryPerProjectV2Query.shape.org_id.describe("Organization id from {{user.organizations}}."),
|
|
2626
|
+
"metrics": zGetConsumptionHistoryPerProjectV2Query.shape.metrics.describe("Metric names from the tool description. An unknown name returns no data rather than an error.")
|
|
2626
2627
|
}),
|
|
2627
2628
|
annotations: {
|
|
2628
2629
|
readOnlyHint: true,
|
|
@@ -2706,8 +2707,8 @@ const operationFactories = {
|
|
|
2706
2707
|
title: "Retrieve masking rules",
|
|
2707
2708
|
description: "Retrieves the masking rules for the specified anonymized branch.",
|
|
2708
2709
|
inputSchema: z.strictObject({
|
|
2709
|
-
"project_id": zGetMaskingRulesPath.shape.project_id,
|
|
2710
|
-
"branch_id": zGetMaskingRulesPath.shape.branch_id
|
|
2710
|
+
"project_id": zGetMaskingRulesPath.shape.project_id.describe("Project id."),
|
|
2711
|
+
"branch_id": zGetMaskingRulesPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
2711
2712
|
}),
|
|
2712
2713
|
annotations: {
|
|
2713
2714
|
readOnlyHint: true,
|
|
@@ -2737,8 +2738,8 @@ const operationFactories = {
|
|
|
2737
2738
|
title: "Retrieve Neon Auth details for the branch",
|
|
2738
2739
|
description: "Retrieves the Neon Auth integration details for the specified branch, including the auth provider type and integration status.",
|
|
2739
2740
|
inputSchema: z.strictObject({
|
|
2740
|
-
"project_id": zGetNeonAuthPath.shape.project_id,
|
|
2741
|
-
"branch_id": zGetNeonAuthPath.shape.branch_id
|
|
2741
|
+
"project_id": zGetNeonAuthPath.shape.project_id.describe("Project id."),
|
|
2742
|
+
"branch_id": zGetNeonAuthPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
2742
2743
|
}),
|
|
2743
2744
|
annotations: {
|
|
2744
2745
|
readOnlyHint: true,
|
|
@@ -2768,8 +2769,8 @@ const operationFactories = {
|
|
|
2768
2769
|
title: "Retrieve localhost allow setting",
|
|
2769
2770
|
description: "Retrieves the localhost allow setting for the specified branch's Neon Auth integration.",
|
|
2770
2771
|
inputSchema: z.strictObject({
|
|
2771
|
-
"project_id": zGetNeonAuthAllowLocalhostPath.shape.project_id,
|
|
2772
|
-
"branch_id": zGetNeonAuthAllowLocalhostPath.shape.branch_id
|
|
2772
|
+
"project_id": zGetNeonAuthAllowLocalhostPath.shape.project_id.describe("Project id."),
|
|
2773
|
+
"branch_id": zGetNeonAuthAllowLocalhostPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
2773
2774
|
}),
|
|
2774
2775
|
annotations: {
|
|
2775
2776
|
readOnlyHint: true,
|
|
@@ -2799,8 +2800,8 @@ const operationFactories = {
|
|
|
2799
2800
|
title: "Retrieve email and password configuration",
|
|
2800
2801
|
description: "Retrieves the email and password authentication configuration for the specified branch's Neon Auth integration, including whether it is enabled and the email verification method.",
|
|
2801
2802
|
inputSchema: z.strictObject({
|
|
2802
|
-
"project_id": zGetNeonAuthEmailAndPasswordConfigPath.shape.project_id,
|
|
2803
|
-
"branch_id": zGetNeonAuthEmailAndPasswordConfigPath.shape.branch_id
|
|
2803
|
+
"project_id": zGetNeonAuthEmailAndPasswordConfigPath.shape.project_id.describe("Project id."),
|
|
2804
|
+
"branch_id": zGetNeonAuthEmailAndPasswordConfigPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
2804
2805
|
}),
|
|
2805
2806
|
annotations: {
|
|
2806
2807
|
readOnlyHint: true,
|
|
@@ -2830,8 +2831,8 @@ const operationFactories = {
|
|
|
2830
2831
|
title: "Retrieve email provider configuration",
|
|
2831
2832
|
description: "Retrieves the email provider configuration for the specified branch's Neon Auth integration, including the provider type and server settings.",
|
|
2832
2833
|
inputSchema: z.strictObject({
|
|
2833
|
-
"project_id": zGetNeonAuthEmailProviderPath.shape.project_id,
|
|
2834
|
-
"branch_id": zGetNeonAuthEmailProviderPath.shape.branch_id
|
|
2834
|
+
"project_id": zGetNeonAuthEmailProviderPath.shape.project_id.describe("Project id."),
|
|
2835
|
+
"branch_id": zGetNeonAuthEmailProviderPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
2835
2836
|
}),
|
|
2836
2837
|
annotations: {
|
|
2837
2838
|
readOnlyHint: true,
|
|
@@ -2860,7 +2861,7 @@ const operationFactories = {
|
|
|
2860
2861
|
id: "get_neon_auth_email_server",
|
|
2861
2862
|
title: "Retrieve email server configuration",
|
|
2862
2863
|
description: "Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/email_provider` instead.",
|
|
2863
|
-
inputSchema: z.strictObject({ "project_id": zGetNeonAuthEmailServerPath.shape.project_id }),
|
|
2864
|
+
inputSchema: z.strictObject({ "project_id": zGetNeonAuthEmailServerPath.shape.project_id.describe("Project id.") }),
|
|
2864
2865
|
annotations: {
|
|
2865
2866
|
readOnlyHint: true,
|
|
2866
2867
|
openWorldHint: false
|
|
@@ -2886,8 +2887,8 @@ const operationFactories = {
|
|
|
2886
2887
|
title: "Retrieve an OAuth client",
|
|
2887
2888
|
description: "Returns an OAuth client registered with the branch's Neon Auth OAuth provider.",
|
|
2888
2889
|
inputSchema: z.strictObject({
|
|
2889
|
-
"project_id": zGetNeonAuthOAuthClientPath.shape.project_id,
|
|
2890
|
-
"branch_id": zGetNeonAuthOAuthClientPath.shape.branch_id,
|
|
2890
|
+
"project_id": zGetNeonAuthOAuthClientPath.shape.project_id.describe("Project id."),
|
|
2891
|
+
"branch_id": zGetNeonAuthOAuthClientPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
2891
2892
|
"client_id": zGetNeonAuthOAuthClientPath.shape.client_id
|
|
2892
2893
|
}),
|
|
2893
2894
|
annotations: {
|
|
@@ -2919,8 +2920,8 @@ const operationFactories = {
|
|
|
2919
2920
|
title: "Retrieve OAuth provider plugin configuration",
|
|
2920
2921
|
description: "Returns the OAuth provider plugin configuration for Neon Auth.",
|
|
2921
2922
|
inputSchema: z.strictObject({
|
|
2922
|
-
"project_id": zGetNeonAuthOAuthProviderPluginPath.shape.project_id,
|
|
2923
|
-
"branch_id": zGetNeonAuthOAuthProviderPluginPath.shape.branch_id
|
|
2923
|
+
"project_id": zGetNeonAuthOAuthProviderPluginPath.shape.project_id.describe("Project id."),
|
|
2924
|
+
"branch_id": zGetNeonAuthOAuthProviderPluginPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
2924
2925
|
}),
|
|
2925
2926
|
annotations: {
|
|
2926
2927
|
readOnlyHint: true,
|
|
@@ -2950,8 +2951,8 @@ const operationFactories = {
|
|
|
2950
2951
|
title: "Retrieve phone number plugin configuration",
|
|
2951
2952
|
description: "Returns the phone number plugin configuration for Neon Auth.",
|
|
2952
2953
|
inputSchema: z.strictObject({
|
|
2953
|
-
"project_id": zGetNeonAuthPhoneNumberPluginPath.shape.project_id,
|
|
2954
|
-
"branch_id": zGetNeonAuthPhoneNumberPluginPath.shape.branch_id
|
|
2954
|
+
"project_id": zGetNeonAuthPhoneNumberPluginPath.shape.project_id.describe("Project id."),
|
|
2955
|
+
"branch_id": zGetNeonAuthPhoneNumberPluginPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
2955
2956
|
}),
|
|
2956
2957
|
annotations: {
|
|
2957
2958
|
readOnlyHint: true,
|
|
@@ -2981,8 +2982,8 @@ const operationFactories = {
|
|
|
2981
2982
|
title: "Retrieve Neon Auth plugin configurations",
|
|
2982
2983
|
description: "Returns all plugin configurations for Neon Auth in a single response.",
|
|
2983
2984
|
inputSchema: z.strictObject({
|
|
2984
|
-
"project_id": zGetNeonAuthPluginConfigsPath.shape.project_id,
|
|
2985
|
-
"branch_id": zGetNeonAuthPluginConfigsPath.shape.branch_id
|
|
2985
|
+
"project_id": zGetNeonAuthPluginConfigsPath.shape.project_id.describe("Project id."),
|
|
2986
|
+
"branch_id": zGetNeonAuthPluginConfigsPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
2986
2987
|
}),
|
|
2987
2988
|
annotations: {
|
|
2988
2989
|
readOnlyHint: true,
|
|
@@ -3012,8 +3013,8 @@ const operationFactories = {
|
|
|
3012
3013
|
title: "Retrieve Neon Auth webhook configuration",
|
|
3013
3014
|
description: "Returns the webhook configuration for the specified branch's Neon Auth integration, including the endpoint URL and the events that trigger it.",
|
|
3014
3015
|
inputSchema: z.strictObject({
|
|
3015
|
-
"project_id": zGetNeonAuthWebhookConfigPath.shape.project_id,
|
|
3016
|
-
"branch_id": zGetNeonAuthWebhookConfigPath.shape.branch_id
|
|
3016
|
+
"project_id": zGetNeonAuthWebhookConfigPath.shape.project_id.describe("Project id."),
|
|
3017
|
+
"branch_id": zGetNeonAuthWebhookConfigPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
3017
3018
|
}),
|
|
3018
3019
|
annotations: {
|
|
3019
3020
|
readOnlyHint: true,
|
|
@@ -3042,7 +3043,7 @@ const operationFactories = {
|
|
|
3042
3043
|
id: "get_organization",
|
|
3043
3044
|
title: "Retrieve organization details",
|
|
3044
3045
|
description: "Retrieves details for the specified organization, including its name, plan, and configuration.",
|
|
3045
|
-
inputSchema: z.strictObject({ "org_id": zGetOrganizationPath.shape.org_id }),
|
|
3046
|
+
inputSchema: z.strictObject({ "org_id": zGetOrganizationPath.shape.org_id.describe("Organization id.") }),
|
|
3046
3047
|
annotations: {
|
|
3047
3048
|
readOnlyHint: true,
|
|
3048
3049
|
openWorldHint: false
|
|
@@ -3067,7 +3068,7 @@ const operationFactories = {
|
|
|
3067
3068
|
id: "get_organization_invitations",
|
|
3068
3069
|
title: "List organization invitations",
|
|
3069
3070
|
description: "Retrieves pending and accepted invitations for the specified organization.",
|
|
3070
|
-
inputSchema: z.strictObject({ "org_id": zGetOrganizationInvitationsPath.shape.org_id }),
|
|
3071
|
+
inputSchema: z.strictObject({ "org_id": zGetOrganizationInvitationsPath.shape.org_id.describe("Organization id.") }),
|
|
3071
3072
|
annotations: {
|
|
3072
3073
|
readOnlyHint: true,
|
|
3073
3074
|
openWorldHint: false
|
|
@@ -3093,7 +3094,7 @@ const operationFactories = {
|
|
|
3093
3094
|
title: "Retrieve organization member details",
|
|
3094
3095
|
description: "Retrieves information about the specified organization member.",
|
|
3095
3096
|
inputSchema: z.strictObject({
|
|
3096
|
-
"org_id": zGetOrganizationMemberPath.shape.org_id,
|
|
3097
|
+
"org_id": zGetOrganizationMemberPath.shape.org_id.describe("Organization id."),
|
|
3097
3098
|
"member_id": zGetOrganizationMemberPath.shape.member_id
|
|
3098
3099
|
}),
|
|
3099
3100
|
annotations: {
|
|
@@ -3124,7 +3125,7 @@ const operationFactories = {
|
|
|
3124
3125
|
title: "List organization members",
|
|
3125
3126
|
description: "Retrieves a paginated list of members for the specified organization.",
|
|
3126
3127
|
inputSchema: z.strictObject({
|
|
3127
|
-
"org_id": zGetOrganizationMembersPath.shape.org_id,
|
|
3128
|
+
"org_id": zGetOrganizationMembersPath.shape.org_id.describe("Organization id."),
|
|
3128
3129
|
"sort_by": zGetOrganizationMembersQuery.shape.sort_by.optional(),
|
|
3129
3130
|
"cursor": zGetOrganizationMembersQuery.shape.cursor.optional(),
|
|
3130
3131
|
"sort_order": zGetOrganizationMembersQuery.shape.sort_order.optional(),
|
|
@@ -3160,7 +3161,7 @@ const operationFactories = {
|
|
|
3160
3161
|
id: "get_organization_spending_limit",
|
|
3161
3162
|
title: "Retrieve organization spending limit",
|
|
3162
3163
|
description: "Returns the configured monthly spending limit for the specified organization.",
|
|
3163
|
-
inputSchema: z.strictObject({ "org_id": zGetOrganizationSpendingLimitPath.shape.org_id }),
|
|
3164
|
+
inputSchema: z.strictObject({ "org_id": zGetOrganizationSpendingLimitPath.shape.org_id.describe("Organization id.") }),
|
|
3164
3165
|
annotations: {
|
|
3165
3166
|
readOnlyHint: true,
|
|
3166
3167
|
openWorldHint: false
|
|
@@ -3186,7 +3187,7 @@ const operationFactories = {
|
|
|
3186
3187
|
title: "Retrieve VPC endpoint details",
|
|
3187
3188
|
description: "Retrieves the current state and configuration details of a specified VPC endpoint.",
|
|
3188
3189
|
inputSchema: z.strictObject({
|
|
3189
|
-
"org_id": zGetOrganizationVpcEndpointDetailsPath.shape.org_id,
|
|
3190
|
+
"org_id": zGetOrganizationVpcEndpointDetailsPath.shape.org_id.describe("Organization id."),
|
|
3190
3191
|
"region_id": zGetOrganizationVpcEndpointDetailsPath.shape.region_id,
|
|
3191
3192
|
"vpc_endpoint_id": zGetOrganizationVpcEndpointDetailsPath.shape.vpc_endpoint_id
|
|
3192
3193
|
}),
|
|
@@ -3218,7 +3219,7 @@ const operationFactories = {
|
|
|
3218
3219
|
id: "get_project",
|
|
3219
3220
|
title: "Retrieve project details",
|
|
3220
3221
|
description: "Retrieves information about the specified project.",
|
|
3221
|
-
inputSchema: z.strictObject({ "project_id": zGetProjectPath.shape.project_id }),
|
|
3222
|
+
inputSchema: z.strictObject({ "project_id": zGetProjectPath.shape.project_id.describe("Project id.") }),
|
|
3222
3223
|
annotations: {
|
|
3223
3224
|
readOnlyHint: true,
|
|
3224
3225
|
openWorldHint: false
|
|
@@ -3244,7 +3245,7 @@ const operationFactories = {
|
|
|
3244
3245
|
title: "Get advisor issues",
|
|
3245
3246
|
description: "Analyzes the database for security and performance issues.",
|
|
3246
3247
|
inputSchema: z.strictObject({
|
|
3247
|
-
"project_id": zGetProjectAdvisorSecurityIssuesPath.shape.project_id,
|
|
3248
|
+
"project_id": zGetProjectAdvisorSecurityIssuesPath.shape.project_id.describe("Project id."),
|
|
3248
3249
|
"branch_id": zGetProjectAdvisorSecurityIssuesQuery.shape.branch_id.optional(),
|
|
3249
3250
|
"database_name": zGetProjectAdvisorSecurityIssuesQuery.shape.database_name.optional(),
|
|
3250
3251
|
"category": zGetProjectAdvisorSecurityIssuesQuery.shape.category.optional(),
|
|
@@ -3281,8 +3282,8 @@ const operationFactories = {
|
|
|
3281
3282
|
title: "Retrieve branch details",
|
|
3282
3283
|
description: "Retrieves information about the specified branch.",
|
|
3283
3284
|
inputSchema: z.strictObject({
|
|
3284
|
-
"project_id": zGetProjectBranchPath.shape.project_id,
|
|
3285
|
-
"branch_id": zGetProjectBranchPath.shape.branch_id
|
|
3285
|
+
"project_id": zGetProjectBranchPath.shape.project_id.describe("Project id."),
|
|
3286
|
+
"branch_id": zGetProjectBranchPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
3286
3287
|
}),
|
|
3287
3288
|
annotations: {
|
|
3288
3289
|
readOnlyHint: true,
|
|
@@ -3312,8 +3313,8 @@ const operationFactories = {
|
|
|
3312
3313
|
title: "Get branch AI Gateway endpoint",
|
|
3313
3314
|
description: "Returns the AI Gateway endpoint host for the specified branch, used to render code-snippet base URLs.",
|
|
3314
3315
|
inputSchema: z.strictObject({
|
|
3315
|
-
"project_id": zGetProjectBranchAiGatewayPath.shape.project_id,
|
|
3316
|
-
"branch_id": zGetProjectBranchAiGatewayPath.shape.branch_id
|
|
3316
|
+
"project_id": zGetProjectBranchAiGatewayPath.shape.project_id.describe("Project id."),
|
|
3317
|
+
"branch_id": zGetProjectBranchAiGatewayPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
3317
3318
|
}),
|
|
3318
3319
|
annotations: {
|
|
3319
3320
|
readOnlyHint: true,
|
|
@@ -3343,8 +3344,8 @@ const operationFactories = {
|
|
|
3343
3344
|
title: "Download an object's bytes",
|
|
3344
3345
|
description: "Streams the raw bytes of the named object from the bucket on the specified branch, including objects inherited from ancestor branches.",
|
|
3345
3346
|
inputSchema: z.strictObject({
|
|
3346
|
-
"project_id": zGetProjectBranchBucketObjectPath.shape.project_id,
|
|
3347
|
-
"branch_id": zGetProjectBranchBucketObjectPath.shape.branch_id,
|
|
3347
|
+
"project_id": zGetProjectBranchBucketObjectPath.shape.project_id.describe("Project id."),
|
|
3348
|
+
"branch_id": zGetProjectBranchBucketObjectPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
3348
3349
|
"bucket_name": zGetProjectBranchBucketObjectPath.shape.bucket_name,
|
|
3349
3350
|
"object_key": zGetProjectBranchBucketObjectPath.shape.object_key
|
|
3350
3351
|
}),
|
|
@@ -3378,8 +3379,8 @@ const operationFactories = {
|
|
|
3378
3379
|
title: "Retrieve Neon Data API configuration",
|
|
3379
3380
|
description: "Retrieves the Neon Data API configuration for the specified branch, including endpoint URL, enabled state, and database settings.",
|
|
3380
3381
|
inputSchema: z.strictObject({
|
|
3381
|
-
"project_id": zGetProjectBranchDataApiPath.shape.project_id,
|
|
3382
|
-
"branch_id": zGetProjectBranchDataApiPath.shape.branch_id,
|
|
3382
|
+
"project_id": zGetProjectBranchDataApiPath.shape.project_id.describe("Project id."),
|
|
3383
|
+
"branch_id": zGetProjectBranchDataApiPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
3383
3384
|
"database_name": zGetProjectBranchDataApiPath.shape.database_name
|
|
3384
3385
|
}),
|
|
3385
3386
|
annotations: {
|
|
@@ -3411,8 +3412,8 @@ const operationFactories = {
|
|
|
3411
3412
|
title: "Retrieve database details",
|
|
3412
3413
|
description: "Retrieves information about the specified database.",
|
|
3413
3414
|
inputSchema: z.strictObject({
|
|
3414
|
-
"project_id": zGetProjectBranchDatabasePath.shape.project_id,
|
|
3415
|
-
"branch_id": zGetProjectBranchDatabasePath.shape.branch_id,
|
|
3415
|
+
"project_id": zGetProjectBranchDatabasePath.shape.project_id.describe("Project id."),
|
|
3416
|
+
"branch_id": zGetProjectBranchDatabasePath.shape.branch_id.describe("A br-... id, not a name."),
|
|
3416
3417
|
"database_name": zGetProjectBranchDatabasePath.shape.database_name
|
|
3417
3418
|
}),
|
|
3418
3419
|
annotations: {
|
|
@@ -3444,8 +3445,8 @@ const operationFactories = {
|
|
|
3444
3445
|
title: "Get function details",
|
|
3445
3446
|
description: "Returns the function identified by its slug.",
|
|
3446
3447
|
inputSchema: z.strictObject({
|
|
3447
|
-
"project_id": zGetProjectBranchFunctionPath.shape.project_id,
|
|
3448
|
-
"branch_id": zGetProjectBranchFunctionPath.shape.branch_id,
|
|
3448
|
+
"project_id": zGetProjectBranchFunctionPath.shape.project_id.describe("Project id."),
|
|
3449
|
+
"branch_id": zGetProjectBranchFunctionPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
3449
3450
|
"slug": zGetProjectBranchFunctionPath.shape.slug
|
|
3450
3451
|
}),
|
|
3451
3452
|
annotations: {
|
|
@@ -3477,8 +3478,8 @@ const operationFactories = {
|
|
|
3477
3478
|
title: "Retrieve Realtime state",
|
|
3478
3479
|
description: "Retrieves whether Realtime is enabled for the branch, whether a change is still being applied, and, once provisioned, its invocation URL and allowed origins.",
|
|
3479
3480
|
inputSchema: z.strictObject({
|
|
3480
|
-
"project_id": zGetProjectBranchRealtimePath.shape.project_id,
|
|
3481
|
-
"branch_id": zGetProjectBranchRealtimePath.shape.branch_id
|
|
3481
|
+
"project_id": zGetProjectBranchRealtimePath.shape.project_id.describe("Project id."),
|
|
3482
|
+
"branch_id": zGetProjectBranchRealtimePath.shape.branch_id.describe("A br-... id, not a name.")
|
|
3482
3483
|
}),
|
|
3483
3484
|
annotations: {
|
|
3484
3485
|
readOnlyHint: true,
|
|
@@ -3508,8 +3509,8 @@ const operationFactories = {
|
|
|
3508
3509
|
title: "Retrieve the Realtime shared secret",
|
|
3509
3510
|
description: "Retrieves the secret the application backend issues Realtime tokens with.",
|
|
3510
3511
|
inputSchema: z.strictObject({
|
|
3511
|
-
"project_id": zGetProjectBranchRealtimeSecretPath.shape.project_id,
|
|
3512
|
-
"branch_id": zGetProjectBranchRealtimeSecretPath.shape.branch_id
|
|
3512
|
+
"project_id": zGetProjectBranchRealtimeSecretPath.shape.project_id.describe("Project id."),
|
|
3513
|
+
"branch_id": zGetProjectBranchRealtimeSecretPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
3513
3514
|
}),
|
|
3514
3515
|
annotations: {
|
|
3515
3516
|
readOnlyHint: true,
|
|
@@ -3539,8 +3540,8 @@ const operationFactories = {
|
|
|
3539
3540
|
title: "Retrieve role details",
|
|
3540
3541
|
description: "Retrieves details about the specified role.",
|
|
3541
3542
|
inputSchema: z.strictObject({
|
|
3542
|
-
"project_id": zGetProjectBranchRolePath.shape.project_id,
|
|
3543
|
-
"branch_id": zGetProjectBranchRolePath.shape.branch_id,
|
|
3543
|
+
"project_id": zGetProjectBranchRolePath.shape.project_id.describe("Project id."),
|
|
3544
|
+
"branch_id": zGetProjectBranchRolePath.shape.branch_id.describe("A br-... id, not a name."),
|
|
3544
3545
|
"role_name": zGetProjectBranchRolePath.shape.role_name
|
|
3545
3546
|
}),
|
|
3546
3547
|
annotations: {
|
|
@@ -3572,8 +3573,8 @@ const operationFactories = {
|
|
|
3572
3573
|
title: "Retrieve role password",
|
|
3573
3574
|
description: "Retrieves the password for the specified Postgres role, if possible.",
|
|
3574
3575
|
inputSchema: z.strictObject({
|
|
3575
|
-
"project_id": zGetProjectBranchRolePasswordPath.shape.project_id,
|
|
3576
|
-
"branch_id": zGetProjectBranchRolePasswordPath.shape.branch_id,
|
|
3576
|
+
"project_id": zGetProjectBranchRolePasswordPath.shape.project_id.describe("Project id."),
|
|
3577
|
+
"branch_id": zGetProjectBranchRolePasswordPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
3577
3578
|
"role_name": zGetProjectBranchRolePasswordPath.shape.role_name
|
|
3578
3579
|
}),
|
|
3579
3580
|
annotations: {
|
|
@@ -3605,8 +3606,8 @@ const operationFactories = {
|
|
|
3605
3606
|
title: "Retrieve database schema",
|
|
3606
3607
|
description: "Retrieves the database schema.",
|
|
3607
3608
|
inputSchema: z.strictObject({
|
|
3608
|
-
"project_id": zGetProjectBranchSchemaPath.shape.project_id,
|
|
3609
|
-
"branch_id": zGetProjectBranchSchemaPath.shape.branch_id,
|
|
3609
|
+
"project_id": zGetProjectBranchSchemaPath.shape.project_id.describe("Project id."),
|
|
3610
|
+
"branch_id": zGetProjectBranchSchemaPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
3610
3611
|
"db_name": zGetProjectBranchSchemaQuery.shape.db_name,
|
|
3611
3612
|
"lsn": zGetProjectBranchSchemaQuery.shape.lsn,
|
|
3612
3613
|
"timestamp": zGetProjectBranchSchemaQuery.shape.timestamp,
|
|
@@ -3646,8 +3647,8 @@ const operationFactories = {
|
|
|
3646
3647
|
title: "Compare database schema",
|
|
3647
3648
|
description: "Compares the schema from the specified database with another branch's schema.",
|
|
3648
3649
|
inputSchema: z.strictObject({
|
|
3649
|
-
"project_id": zGetProjectBranchSchemaComparisonPath.shape.project_id,
|
|
3650
|
-
"branch_id": zGetProjectBranchSchemaComparisonPath.shape.branch_id,
|
|
3650
|
+
"project_id": zGetProjectBranchSchemaComparisonPath.shape.project_id.describe("Project id."),
|
|
3651
|
+
"branch_id": zGetProjectBranchSchemaComparisonPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
3651
3652
|
"base_branch_id": zGetProjectBranchSchemaComparisonQuery.shape.base_branch_id,
|
|
3652
3653
|
"db_name": zGetProjectBranchSchemaComparisonQuery.shape.db_name,
|
|
3653
3654
|
"lsn": zGetProjectBranchSchemaComparisonQuery.shape.lsn,
|
|
@@ -3691,8 +3692,8 @@ const operationFactories = {
|
|
|
3691
3692
|
title: "Get branch object storage state",
|
|
3692
3693
|
description: "Returns whether branchable object storage is usable for the specified branch.",
|
|
3693
3694
|
inputSchema: z.strictObject({
|
|
3694
|
-
"project_id": zGetProjectBranchStoragePath.shape.project_id,
|
|
3695
|
-
"branch_id": zGetProjectBranchStoragePath.shape.branch_id
|
|
3695
|
+
"project_id": zGetProjectBranchStoragePath.shape.project_id.describe("Project id."),
|
|
3696
|
+
"branch_id": zGetProjectBranchStoragePath.shape.branch_id.describe("A br-... id, not a name.")
|
|
3696
3697
|
}),
|
|
3697
3698
|
annotations: {
|
|
3698
3699
|
readOnlyHint: true,
|
|
@@ -3722,8 +3723,8 @@ const operationFactories = {
|
|
|
3722
3723
|
title: "Get a trigger",
|
|
3723
3724
|
description: "Returns the trigger visible on the branch.",
|
|
3724
3725
|
inputSchema: z.strictObject({
|
|
3725
|
-
"project_id": zGetProjectBranchTriggerPath.shape.project_id,
|
|
3726
|
-
"branch_id": zGetProjectBranchTriggerPath.shape.branch_id,
|
|
3726
|
+
"project_id": zGetProjectBranchTriggerPath.shape.project_id.describe("Project id."),
|
|
3727
|
+
"branch_id": zGetProjectBranchTriggerPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
3727
3728
|
"trigger_id": zGetProjectBranchTriggerPath.shape.trigger_id
|
|
3728
3729
|
}),
|
|
3729
3730
|
annotations: {
|
|
@@ -3755,7 +3756,7 @@ const operationFactories = {
|
|
|
3755
3756
|
title: "Retrieve compute endpoint details",
|
|
3756
3757
|
description: "Retrieves information about the specified compute endpoint.",
|
|
3757
3758
|
inputSchema: z.strictObject({
|
|
3758
|
-
"project_id": zGetProjectEndpointPath.shape.project_id,
|
|
3759
|
+
"project_id": zGetProjectEndpointPath.shape.project_id.describe("Project id."),
|
|
3759
3760
|
"endpoint_id": zGetProjectEndpointPath.shape.endpoint_id
|
|
3760
3761
|
}),
|
|
3761
3762
|
annotations: {
|
|
@@ -3785,7 +3786,7 @@ const operationFactories = {
|
|
|
3785
3786
|
id: "get_project_jwks",
|
|
3786
3787
|
title: "List JWKS URLs",
|
|
3787
3788
|
description: "Returns the JWKS URLs available for verifying JWTs used as the authentication mechanism for the specified project.",
|
|
3788
|
-
inputSchema: z.strictObject({ "project_id": zGetProjectJwksPath.shape.project_id }),
|
|
3789
|
+
inputSchema: z.strictObject({ "project_id": zGetProjectJwksPath.shape.project_id.describe("Project id.") }),
|
|
3789
3790
|
annotations: {
|
|
3790
3791
|
readOnlyHint: true,
|
|
3791
3792
|
openWorldHint: false
|
|
@@ -3811,7 +3812,7 @@ const operationFactories = {
|
|
|
3811
3812
|
title: "Retrieve operation details",
|
|
3812
3813
|
description: "Retrieves details for the specified operation.",
|
|
3813
3814
|
inputSchema: z.strictObject({
|
|
3814
|
-
"project_id": zGetProjectOperationPath.shape.project_id,
|
|
3815
|
+
"project_id": zGetProjectOperationPath.shape.project_id.describe("Project id."),
|
|
3815
3816
|
"operation_id": zGetProjectOperationPath.shape.operation_id
|
|
3816
3817
|
}),
|
|
3817
3818
|
annotations: {
|
|
@@ -3842,8 +3843,8 @@ const operationFactories = {
|
|
|
3842
3843
|
title: "Retrieve backup schedule",
|
|
3843
3844
|
description: "Returns the backup schedule for the specified branch, including the configured snapshot frequencies.",
|
|
3844
3845
|
inputSchema: z.strictObject({
|
|
3845
|
-
"project_id": zGetSnapshotSchedulePath.shape.project_id,
|
|
3846
|
-
"branch_id": zGetSnapshotSchedulePath.shape.branch_id
|
|
3846
|
+
"project_id": zGetSnapshotSchedulePath.shape.project_id.describe("Project id."),
|
|
3847
|
+
"branch_id": zGetSnapshotSchedulePath.shape.branch_id.describe("A br-... id, not a name.")
|
|
3847
3848
|
}),
|
|
3848
3849
|
annotations: {
|
|
3849
3850
|
readOnlyHint: true,
|
|
@@ -3873,7 +3874,7 @@ const operationFactories = {
|
|
|
3873
3874
|
title: "Grant project access",
|
|
3874
3875
|
description: "Grants project access to the account associated with the specified email address.",
|
|
3875
3876
|
inputSchema: z.strictObject({
|
|
3876
|
-
"project_id": zGrantPermissionToProjectPath.shape.project_id.describe("
|
|
3877
|
+
"project_id": zGrantPermissionToProjectPath.shape.project_id.describe("Project id."),
|
|
3877
3878
|
"email": zGrantPermissionToProjectBody.shape.email
|
|
3878
3879
|
}),
|
|
3879
3880
|
annotations: {
|
|
@@ -3927,8 +3928,8 @@ const operationFactories = {
|
|
|
3927
3928
|
title: "List OAuth providers for the branch",
|
|
3928
3929
|
description: "Lists the OAuth providers configured for the specified branch's Neon Auth integration.",
|
|
3929
3930
|
inputSchema: z.strictObject({
|
|
3930
|
-
"project_id": zListBranchNeonAuthOauthProvidersPath.shape.project_id,
|
|
3931
|
-
"branch_id": zListBranchNeonAuthOauthProvidersPath.shape.branch_id
|
|
3931
|
+
"project_id": zListBranchNeonAuthOauthProvidersPath.shape.project_id.describe("Project id."),
|
|
3932
|
+
"branch_id": zListBranchNeonAuthOauthProvidersPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
3932
3933
|
}),
|
|
3933
3934
|
annotations: {
|
|
3934
3935
|
readOnlyHint: true,
|
|
@@ -3958,8 +3959,8 @@ const operationFactories = {
|
|
|
3958
3959
|
title: "List domains in redirect_uri whitelist",
|
|
3959
3960
|
description: "Lists the trusted domains in the redirect URI whitelist for the specified branch.",
|
|
3960
3961
|
inputSchema: z.strictObject({
|
|
3961
|
-
"project_id": zListBranchNeonAuthTrustedDomainsPath.shape.project_id,
|
|
3962
|
-
"branch_id": zListBranchNeonAuthTrustedDomainsPath.shape.branch_id
|
|
3962
|
+
"project_id": zListBranchNeonAuthTrustedDomainsPath.shape.project_id.describe("Project id."),
|
|
3963
|
+
"branch_id": zListBranchNeonAuthTrustedDomainsPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
3963
3964
|
}),
|
|
3964
3965
|
annotations: {
|
|
3965
3966
|
readOnlyHint: true,
|
|
@@ -3989,8 +3990,8 @@ const operationFactories = {
|
|
|
3989
3990
|
title: "List credentials on the branch",
|
|
3990
3991
|
description: "Returns metadata for customer-issued credentials on the branch.",
|
|
3991
3992
|
inputSchema: z.strictObject({
|
|
3992
|
-
"project_id": zListCredentialsPath.shape.project_id,
|
|
3993
|
-
"branch_id": zListCredentialsPath.shape.branch_id
|
|
3993
|
+
"project_id": zListCredentialsPath.shape.project_id.describe("Project id."),
|
|
3994
|
+
"branch_id": zListCredentialsPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
3994
3995
|
}),
|
|
3995
3996
|
annotations: {
|
|
3996
3997
|
readOnlyHint: true,
|
|
@@ -4019,7 +4020,7 @@ const operationFactories = {
|
|
|
4019
4020
|
id: "list_neon_auth_integrations",
|
|
4020
4021
|
title: "List active integrations with auth providers",
|
|
4021
4022
|
description: "Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth` instead.",
|
|
4022
|
-
inputSchema: z.strictObject({ "project_id": zListNeonAuthIntegrationsPath.shape.project_id }),
|
|
4023
|
+
inputSchema: z.strictObject({ "project_id": zListNeonAuthIntegrationsPath.shape.project_id.describe("Project id.") }),
|
|
4023
4024
|
annotations: {
|
|
4024
4025
|
readOnlyHint: true,
|
|
4025
4026
|
openWorldHint: false
|
|
@@ -4045,8 +4046,8 @@ const operationFactories = {
|
|
|
4045
4046
|
title: "List OAuth clients",
|
|
4046
4047
|
description: "Lists the OAuth clients registered for the branch's Neon Auth OAuth provider.",
|
|
4047
4048
|
inputSchema: z.strictObject({
|
|
4048
|
-
"project_id": zListNeonAuthOAuthClientsPath.shape.project_id,
|
|
4049
|
-
"branch_id": zListNeonAuthOAuthClientsPath.shape.branch_id
|
|
4049
|
+
"project_id": zListNeonAuthOAuthClientsPath.shape.project_id.describe("Project id."),
|
|
4050
|
+
"branch_id": zListNeonAuthOAuthClientsPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
4050
4051
|
}),
|
|
4051
4052
|
annotations: {
|
|
4052
4053
|
readOnlyHint: true,
|
|
@@ -4075,7 +4076,7 @@ const operationFactories = {
|
|
|
4075
4076
|
id: "list_neon_auth_oauth_providers",
|
|
4076
4077
|
title: "List OAuth providers",
|
|
4077
4078
|
description: "Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers` instead.",
|
|
4078
|
-
inputSchema: z.strictObject({ "project_id": zListNeonAuthOauthProvidersPath.shape.project_id }),
|
|
4079
|
+
inputSchema: z.strictObject({ "project_id": zListNeonAuthOauthProvidersPath.shape.project_id.describe("Project id.") }),
|
|
4079
4080
|
annotations: {
|
|
4080
4081
|
readOnlyHint: true,
|
|
4081
4082
|
openWorldHint: false
|
|
@@ -4100,7 +4101,7 @@ const operationFactories = {
|
|
|
4100
4101
|
id: "list_neon_auth_redirect_uri_whitelist_domains",
|
|
4101
4102
|
title: "List trusted redirect URI domains",
|
|
4102
4103
|
description: "Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/domains` instead.",
|
|
4103
|
-
inputSchema: z.strictObject({ "project_id": zListNeonAuthRedirectUriWhitelistDomainsPath.shape.project_id }),
|
|
4104
|
+
inputSchema: z.strictObject({ "project_id": zListNeonAuthRedirectUriWhitelistDomainsPath.shape.project_id.describe("Project id.") }),
|
|
4104
4105
|
annotations: {
|
|
4105
4106
|
readOnlyHint: true,
|
|
4106
4107
|
openWorldHint: false
|
|
@@ -4126,7 +4127,7 @@ const operationFactories = {
|
|
|
4126
4127
|
title: "List VPC endpoints",
|
|
4127
4128
|
description: "Retrieves the list of VPC endpoints for the specified Neon organization.",
|
|
4128
4129
|
inputSchema: z.strictObject({
|
|
4129
|
-
"org_id": zListOrganizationVpcEndpointsPath.shape.org_id,
|
|
4130
|
+
"org_id": zListOrganizationVpcEndpointsPath.shape.org_id.describe("Organization id."),
|
|
4130
4131
|
"region_id": zListOrganizationVpcEndpointsPath.shape.region_id
|
|
4131
4132
|
}),
|
|
4132
4133
|
annotations: {
|
|
@@ -4156,7 +4157,7 @@ const operationFactories = {
|
|
|
4156
4157
|
id: "list_organization_vpc_endpoints_all_regions",
|
|
4157
4158
|
title: "List VPC endpoints across all regions",
|
|
4158
4159
|
description: "Retrieves the list of VPC endpoints for the specified Neon organization across all regions.",
|
|
4159
|
-
inputSchema: z.strictObject({ "org_id": zListOrganizationVpcEndpointsAllRegionsPath.shape.org_id }),
|
|
4160
|
+
inputSchema: z.strictObject({ "org_id": zListOrganizationVpcEndpointsAllRegionsPath.shape.org_id.describe("Organization id.") }),
|
|
4160
4161
|
annotations: {
|
|
4161
4162
|
readOnlyHint: true,
|
|
4162
4163
|
openWorldHint: false
|
|
@@ -4181,7 +4182,7 @@ const operationFactories = {
|
|
|
4181
4182
|
id: "list_org_api_keys",
|
|
4182
4183
|
title: "List organization API keys",
|
|
4183
4184
|
description: "Retrieves the API keys for the specified organization.",
|
|
4184
|
-
inputSchema: z.strictObject({ "org_id": zListOrgApiKeysPath.shape.org_id }),
|
|
4185
|
+
inputSchema: z.strictObject({ "org_id": zListOrgApiKeysPath.shape.org_id.describe("Organization id.") }),
|
|
4185
4186
|
annotations: {
|
|
4186
4187
|
readOnlyHint: true,
|
|
4187
4188
|
openWorldHint: false
|
|
@@ -4207,11 +4208,11 @@ const operationFactories = {
|
|
|
4207
4208
|
title: "List objects in a bucket",
|
|
4208
4209
|
description: "Lists objects visible in the named bucket on the specified branch, including those inherited from ancestor branches.",
|
|
4209
4210
|
inputSchema: z.strictObject({
|
|
4210
|
-
"project_id": zListProjectBranchBucketObjectsPath.shape.project_id,
|
|
4211
|
-
"branch_id": zListProjectBranchBucketObjectsPath.shape.branch_id,
|
|
4211
|
+
"project_id": zListProjectBranchBucketObjectsPath.shape.project_id.describe("Project id."),
|
|
4212
|
+
"branch_id": zListProjectBranchBucketObjectsPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
4212
4213
|
"bucket_name": zListProjectBranchBucketObjectsPath.shape.bucket_name,
|
|
4213
4214
|
"prefix": zListProjectBranchBucketObjectsQuery.shape.prefix.optional(),
|
|
4214
|
-
"delimiter": zListProjectBranchBucketObjectsQuery.shape.delimiter.optional(),
|
|
4215
|
+
"delimiter": zListProjectBranchBucketObjectsQuery.shape.delimiter.describe("Groups keys up to this delimiter, usually /, into folders.").optional(),
|
|
4215
4216
|
"cursor": zListProjectBranchBucketObjectsQuery.shape.cursor.optional(),
|
|
4216
4217
|
"limit": zListProjectBranchBucketObjectsQuery.shape.limit.optional()
|
|
4217
4218
|
}),
|
|
@@ -4250,8 +4251,8 @@ const operationFactories = {
|
|
|
4250
4251
|
title: "List buckets on the branch",
|
|
4251
4252
|
description: "Lists branchable object storage buckets visible on the specified branch, including those inherited from ancestor branches.",
|
|
4252
4253
|
inputSchema: z.strictObject({
|
|
4253
|
-
"project_id": zListProjectBranchBucketsPath.shape.project_id,
|
|
4254
|
-
"branch_id": zListProjectBranchBucketsPath.shape.branch_id
|
|
4254
|
+
"project_id": zListProjectBranchBucketsPath.shape.project_id.describe("Project id."),
|
|
4255
|
+
"branch_id": zListProjectBranchBucketsPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
4255
4256
|
}),
|
|
4256
4257
|
annotations: {
|
|
4257
4258
|
readOnlyHint: true,
|
|
@@ -4281,8 +4282,8 @@ const operationFactories = {
|
|
|
4281
4282
|
title: "List the custom domains on a branch",
|
|
4282
4283
|
description: "Lists all custom domains registered on the branch, across every target entity.",
|
|
4283
4284
|
inputSchema: z.strictObject({
|
|
4284
|
-
"project_id": zListProjectBranchCustomDomainsPath.shape.project_id,
|
|
4285
|
-
"branch_id": zListProjectBranchCustomDomainsPath.shape.branch_id,
|
|
4285
|
+
"project_id": zListProjectBranchCustomDomainsPath.shape.project_id.describe("Project id."),
|
|
4286
|
+
"branch_id": zListProjectBranchCustomDomainsPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
4286
4287
|
"cursor": zListProjectBranchCustomDomainsQuery.shape.cursor.optional(),
|
|
4287
4288
|
"limit": zListProjectBranchCustomDomainsQuery.shape.limit.optional()
|
|
4288
4289
|
}),
|
|
@@ -4318,8 +4319,8 @@ const operationFactories = {
|
|
|
4318
4319
|
title: "List databases",
|
|
4319
4320
|
description: "Retrieves a list of databases for the specified branch.",
|
|
4320
4321
|
inputSchema: z.strictObject({
|
|
4321
|
-
"project_id": zListProjectBranchDatabasesPath.shape.project_id,
|
|
4322
|
-
"branch_id": zListProjectBranchDatabasesPath.shape.branch_id
|
|
4322
|
+
"project_id": zListProjectBranchDatabasesPath.shape.project_id.describe("Project id."),
|
|
4323
|
+
"branch_id": zListProjectBranchDatabasesPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
4323
4324
|
}),
|
|
4324
4325
|
annotations: {
|
|
4325
4326
|
readOnlyHint: true,
|
|
@@ -4349,8 +4350,8 @@ const operationFactories = {
|
|
|
4349
4350
|
title: "List branch endpoints",
|
|
4350
4351
|
description: "Retrieves a list of compute endpoints for the specified branch.",
|
|
4351
4352
|
inputSchema: z.strictObject({
|
|
4352
|
-
"project_id": zListProjectBranchEndpointsPath.shape.project_id,
|
|
4353
|
-
"branch_id": zListProjectBranchEndpointsPath.shape.branch_id
|
|
4353
|
+
"project_id": zListProjectBranchEndpointsPath.shape.project_id.describe("Project id."),
|
|
4354
|
+
"branch_id": zListProjectBranchEndpointsPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
4354
4355
|
}),
|
|
4355
4356
|
annotations: {
|
|
4356
4357
|
readOnlyHint: true,
|
|
@@ -4380,7 +4381,7 @@ const operationFactories = {
|
|
|
4380
4381
|
title: "List branches",
|
|
4381
4382
|
description: "Retrieves a list of branches for the specified project.",
|
|
4382
4383
|
inputSchema: z.strictObject({
|
|
4383
|
-
"project_id": zListProjectBranchesPath.shape.project_id,
|
|
4384
|
+
"project_id": zListProjectBranchesPath.shape.project_id.describe("Project id."),
|
|
4384
4385
|
"search": zListProjectBranchesQuery.shape.search.optional(),
|
|
4385
4386
|
"sort_by": zListProjectBranchesQuery.shape.sort_by.optional(),
|
|
4386
4387
|
"cursor": zListProjectBranchesQuery.shape.cursor.optional(),
|
|
@@ -4421,8 +4422,8 @@ const operationFactories = {
|
|
|
4421
4422
|
title: "List functions on the branch",
|
|
4422
4423
|
description: "Lists functions on the specified branch.",
|
|
4423
4424
|
inputSchema: z.strictObject({
|
|
4424
|
-
"project_id": zListProjectBranchFunctionsPath.shape.project_id,
|
|
4425
|
-
"branch_id": zListProjectBranchFunctionsPath.shape.branch_id,
|
|
4425
|
+
"project_id": zListProjectBranchFunctionsPath.shape.project_id.describe("Project id."),
|
|
4426
|
+
"branch_id": zListProjectBranchFunctionsPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
4426
4427
|
"cursor": zListProjectBranchFunctionsQuery.shape.cursor.optional(),
|
|
4427
4428
|
"limit": zListProjectBranchFunctionsQuery.shape.limit.optional()
|
|
4428
4429
|
}),
|
|
@@ -4458,8 +4459,8 @@ const operationFactories = {
|
|
|
4458
4459
|
title: "List branch log fields",
|
|
4459
4460
|
description: "Lists the low-cardinality log fields observed on this branch whose distinct values can be discovered with the log field-values endpoint.",
|
|
4460
4461
|
inputSchema: z.strictObject({
|
|
4461
|
-
"project_id": zListProjectBranchLogFieldsPath.shape.project_id,
|
|
4462
|
-
"branch_id": zListProjectBranchLogFieldsPath.shape.branch_id
|
|
4462
|
+
"project_id": zListProjectBranchLogFieldsPath.shape.project_id.describe("Project id."),
|
|
4463
|
+
"branch_id": zListProjectBranchLogFieldsPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
4463
4464
|
}),
|
|
4464
4465
|
annotations: {
|
|
4465
4466
|
readOnlyHint: true,
|
|
@@ -4489,9 +4490,9 @@ const operationFactories = {
|
|
|
4489
4490
|
title: "List branch log field values",
|
|
4490
4491
|
description: "Lists the distinct values observed for a low-cardinality log field in the requested time range.",
|
|
4491
4492
|
inputSchema: z.strictObject({
|
|
4492
|
-
"project_id": zListProjectBranchLogFieldValuesPath.shape.project_id,
|
|
4493
|
-
"branch_id": zListProjectBranchLogFieldValuesPath.shape.branch_id,
|
|
4494
|
-
"field_name": zListProjectBranchLogFieldValuesPath.shape.field_name,
|
|
4493
|
+
"project_id": zListProjectBranchLogFieldValuesPath.shape.project_id.describe("Project id."),
|
|
4494
|
+
"branch_id": zListProjectBranchLogFieldValuesPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
4495
|
+
"field_name": zListProjectBranchLogFieldValuesPath.shape.field_name.describe("A field name from {{logs.fields}}."),
|
|
4495
4496
|
"since": zListProjectBranchLogFieldValuesQuery.shape.since.optional(),
|
|
4496
4497
|
"start_time": zListProjectBranchLogFieldValuesQuery.shape.start_time.optional(),
|
|
4497
4498
|
"end_time": zListProjectBranchLogFieldValuesQuery.shape.end_time.optional(),
|
|
@@ -4534,8 +4535,8 @@ const operationFactories = {
|
|
|
4534
4535
|
title: "List roles",
|
|
4535
4536
|
description: "Retrieves a list of Postgres roles from the specified branch.",
|
|
4536
4537
|
inputSchema: z.strictObject({
|
|
4537
|
-
"project_id": zListProjectBranchRolesPath.shape.project_id,
|
|
4538
|
-
"branch_id": zListProjectBranchRolesPath.shape.branch_id
|
|
4538
|
+
"project_id": zListProjectBranchRolesPath.shape.project_id.describe("Project id."),
|
|
4539
|
+
"branch_id": zListProjectBranchRolesPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
4539
4540
|
}),
|
|
4540
4541
|
annotations: {
|
|
4541
4542
|
readOnlyHint: true,
|
|
@@ -4565,8 +4566,8 @@ const operationFactories = {
|
|
|
4565
4566
|
title: "List triggers on the branch",
|
|
4566
4567
|
description: "Lists the complete project-bounded set of triggers visible on the branch, ordered by `trigger_id`.",
|
|
4567
4568
|
inputSchema: z.strictObject({
|
|
4568
|
-
"project_id": zListProjectBranchTriggersPath.shape.project_id,
|
|
4569
|
-
"branch_id": zListProjectBranchTriggersPath.shape.branch_id
|
|
4569
|
+
"project_id": zListProjectBranchTriggersPath.shape.project_id.describe("Project id."),
|
|
4570
|
+
"branch_id": zListProjectBranchTriggersPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
4570
4571
|
}),
|
|
4571
4572
|
annotations: {
|
|
4572
4573
|
readOnlyHint: true,
|
|
@@ -4595,7 +4596,7 @@ const operationFactories = {
|
|
|
4595
4596
|
id: "list_project_endpoints",
|
|
4596
4597
|
title: "List compute endpoints",
|
|
4597
4598
|
description: "Retrieves a list of compute endpoints for the specified project.",
|
|
4598
|
-
inputSchema: z.strictObject({ "project_id": zListProjectEndpointsPath.shape.project_id }),
|
|
4599
|
+
inputSchema: z.strictObject({ "project_id": zListProjectEndpointsPath.shape.project_id.describe("Project id.") }),
|
|
4599
4600
|
annotations: {
|
|
4600
4601
|
readOnlyHint: true,
|
|
4601
4602
|
openWorldHint: false
|
|
@@ -4621,7 +4622,7 @@ const operationFactories = {
|
|
|
4621
4622
|
title: "List org members and their project roles",
|
|
4622
4623
|
description: "Lists organization members and their per-project roles for an org-owned project.",
|
|
4623
4624
|
inputSchema: z.strictObject({
|
|
4624
|
-
"project_id": zListProjectMembersPath.shape.project_id.describe("
|
|
4625
|
+
"project_id": zListProjectMembersPath.shape.project_id.describe("Project id."),
|
|
4625
4626
|
"cursor": zListProjectMembersQuery.shape.cursor.optional(),
|
|
4626
4627
|
"limit": zListProjectMembersQuery.shape.limit.optional()
|
|
4627
4628
|
}),
|
|
@@ -4654,7 +4655,7 @@ const operationFactories = {
|
|
|
4654
4655
|
title: "List operations",
|
|
4655
4656
|
description: "Retrieves a list of operations for the specified Neon project.",
|
|
4656
4657
|
inputSchema: z.strictObject({
|
|
4657
|
-
"project_id": zListProjectOperationsPath.shape.project_id,
|
|
4658
|
+
"project_id": zListProjectOperationsPath.shape.project_id.describe("Project id."),
|
|
4658
4659
|
"cursor": zListProjectOperationsQuery.shape.cursor.optional(),
|
|
4659
4660
|
"limit": zListProjectOperationsQuery.shape.limit.optional()
|
|
4660
4661
|
}),
|
|
@@ -4686,7 +4687,7 @@ const operationFactories = {
|
|
|
4686
4687
|
id: "list_project_permissions",
|
|
4687
4688
|
title: "List project access",
|
|
4688
4689
|
description: "Retrieves details about users who have access to the project, including the permission `id`, the granted-to email address, and the date project access was granted.",
|
|
4689
|
-
inputSchema: z.strictObject({ "project_id": zListProjectPermissionsPath.shape.project_id.describe("
|
|
4690
|
+
inputSchema: z.strictObject({ "project_id": zListProjectPermissionsPath.shape.project_id.describe("Project id.") }),
|
|
4690
4691
|
annotations: {
|
|
4691
4692
|
readOnlyHint: true,
|
|
4692
4693
|
openWorldHint: false
|
|
@@ -4715,7 +4716,7 @@ const operationFactories = {
|
|
|
4715
4716
|
"cursor": zListProjectsQuery.shape.cursor.optional(),
|
|
4716
4717
|
"limit": zListProjectsQuery.shape.limit.optional(),
|
|
4717
4718
|
"search": zListProjectsQuery.shape.search.optional(),
|
|
4718
|
-
"org_id": zListProjectsQuery.shape.org_id.optional(),
|
|
4719
|
+
"org_id": zListProjectsQuery.shape.org_id.describe("Organization id from {{user.organizations}}; required with a personal API key.").optional(),
|
|
4719
4720
|
"timeout": zListProjectsQuery.shape.timeout.optional(),
|
|
4720
4721
|
"recoverable": zListProjectsQuery.shape.recoverable.optional()
|
|
4721
4722
|
}),
|
|
@@ -4750,7 +4751,7 @@ const operationFactories = {
|
|
|
4750
4751
|
id: "list_project_vpc_endpoints",
|
|
4751
4752
|
title: "List VPC endpoint restrictions",
|
|
4752
4753
|
description: "Lists VPC endpoint restrictions for the specified Neon project.",
|
|
4753
|
-
inputSchema: z.strictObject({ "project_id": zListProjectVpcEndpointsPath.shape.project_id }),
|
|
4754
|
+
inputSchema: z.strictObject({ "project_id": zListProjectVpcEndpointsPath.shape.project_id.describe("Project id.") }),
|
|
4754
4755
|
annotations: {
|
|
4755
4756
|
readOnlyHint: true,
|
|
4756
4757
|
openWorldHint: false
|
|
@@ -4810,7 +4811,7 @@ const operationFactories = {
|
|
|
4810
4811
|
id: "list_snapshots",
|
|
4811
4812
|
title: "List project snapshots",
|
|
4812
4813
|
description: "Lists the snapshots for the specified project.",
|
|
4813
|
-
inputSchema: z.strictObject({ "project_id": zListSnapshotsPath.shape.project_id }),
|
|
4814
|
+
inputSchema: z.strictObject({ "project_id": zListSnapshotsPath.shape.project_id.describe("Project id.") }),
|
|
4814
4815
|
annotations: {
|
|
4815
4816
|
readOnlyHint: true,
|
|
4816
4817
|
openWorldHint: false
|
|
@@ -4836,8 +4837,8 @@ const operationFactories = {
|
|
|
4836
4837
|
title: "Presign an upload or download for an object in a bucket",
|
|
4837
4838
|
description: "Returns a presigned URL that transfers bytes directly to or from the object's bucket on the specified branch, without the caller ever handling S3 credentials.",
|
|
4838
4839
|
inputSchema: z.strictObject({
|
|
4839
|
-
"project_id": zPresignProjectBranchBucketObjectPath.shape.project_id,
|
|
4840
|
-
"branch_id": zPresignProjectBranchBucketObjectPath.shape.branch_id,
|
|
4840
|
+
"project_id": zPresignProjectBranchBucketObjectPath.shape.project_id.describe("Project id."),
|
|
4841
|
+
"branch_id": zPresignProjectBranchBucketObjectPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
4841
4842
|
"bucket_name": zPresignProjectBranchBucketObjectPath.shape.bucket_name,
|
|
4842
4843
|
"object_key": zPresignProjectBranchBucketObjectPath.shape.object_key,
|
|
4843
4844
|
"operation": zPresignProjectBranchBucketObjectBody.shape.operation,
|
|
@@ -4880,8 +4881,8 @@ const operationFactories = {
|
|
|
4880
4881
|
title: "Query branch logs",
|
|
4881
4882
|
description: "Returns logs emitted by services running on the specified branch, ordered by timestamp according to `sort_order`.",
|
|
4882
4883
|
inputSchema: z.strictObject({
|
|
4883
|
-
"project_id": zQueryProjectBranchLogsPath.shape.project_id,
|
|
4884
|
-
"branch_id": zQueryProjectBranchLogsPath.shape.branch_id,
|
|
4884
|
+
"project_id": zQueryProjectBranchLogsPath.shape.project_id.describe("Project id."),
|
|
4885
|
+
"branch_id": zQueryProjectBranchLogsPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
4885
4886
|
"since": zQueryProjectBranchLogsBody.shape.since,
|
|
4886
4887
|
"start_time": zQueryProjectBranchLogsBody.shape.start_time,
|
|
4887
4888
|
"end_time": zQueryProjectBranchLogsBody.shape.end_time,
|
|
@@ -4941,7 +4942,7 @@ const operationFactories = {
|
|
|
4941
4942
|
id: "recover_project",
|
|
4942
4943
|
title: "Recover a deleted project",
|
|
4943
4944
|
description: "Recovers a deleted project within the 7-day deletion recovery period.",
|
|
4944
|
-
inputSchema: z.strictObject({ "project_id": zRecoverProjectPath.shape.project_id }),
|
|
4945
|
+
inputSchema: z.strictObject({ "project_id": zRecoverProjectPath.shape.project_id.describe("Project id.") }),
|
|
4945
4946
|
annotations: {
|
|
4946
4947
|
readOnlyHint: false,
|
|
4947
4948
|
destructiveHint: true,
|
|
@@ -4968,11 +4969,11 @@ const operationFactories = {
|
|
|
4968
4969
|
title: "Register a custom domain on a branch",
|
|
4969
4970
|
description: "Registers a customer-owned domain (for example `dashboard.acme.com`) on the branch and points it at a target entity, chosen by `entity_type` + `entity_id`.",
|
|
4970
4971
|
inputSchema: z.strictObject({
|
|
4971
|
-
"project_id": zRegisterProjectBranchCustomDomainPath.shape.project_id,
|
|
4972
|
-
"branch_id": zRegisterProjectBranchCustomDomainPath.shape.branch_id,
|
|
4972
|
+
"project_id": zRegisterProjectBranchCustomDomainPath.shape.project_id.describe("Project id."),
|
|
4973
|
+
"branch_id": zRegisterProjectBranchCustomDomainPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
4973
4974
|
"domain": zRegisterProjectBranchCustomDomainBody.shape.domain,
|
|
4974
4975
|
"entity_type": zRegisterProjectBranchCustomDomainBody.shape.entity_type,
|
|
4975
|
-
"entity_id": zRegisterProjectBranchCustomDomainBody.shape.entity_id
|
|
4976
|
+
"entity_id": zRegisterProjectBranchCustomDomainBody.shape.entity_id.describe("The function slug from {{functions.list}}.")
|
|
4976
4977
|
}),
|
|
4977
4978
|
annotations: {
|
|
4978
4979
|
readOnlyHint: false,
|
|
@@ -5008,7 +5009,7 @@ const operationFactories = {
|
|
|
5008
5009
|
title: "Remove organization member",
|
|
5009
5010
|
description: "Removes the specified member from the organization.",
|
|
5010
5011
|
inputSchema: z.strictObject({
|
|
5011
|
-
"org_id": zRemoveOrganizationMemberPath.shape.org_id,
|
|
5012
|
+
"org_id": zRemoveOrganizationMemberPath.shape.org_id.describe("Organization id."),
|
|
5012
5013
|
"member_id": zRemoveOrganizationMemberPath.shape.member_id
|
|
5013
5014
|
}),
|
|
5014
5015
|
annotations: {
|
|
@@ -5040,7 +5041,7 @@ const operationFactories = {
|
|
|
5040
5041
|
title: "Remove an org member's role on a project",
|
|
5041
5042
|
description: "Idempotently removes the explicit project grant.",
|
|
5042
5043
|
inputSchema: z.strictObject({
|
|
5043
|
-
"project_id": zRemoveProjectMemberRolePath.shape.project_id.describe("
|
|
5044
|
+
"project_id": zRemoveProjectMemberRolePath.shape.project_id.describe("Project id."),
|
|
5044
5045
|
"member_id": zRemoveProjectMemberRolePath.shape.member_id.describe("The organization member ID"),
|
|
5045
5046
|
"confirm_self_lockout": zRemoveProjectMemberRoleQuery.shape.confirm_self_lockout.describe("Set true to remove your own grant when you would lose manage access.").optional()
|
|
5046
5047
|
}),
|
|
@@ -5074,8 +5075,8 @@ const operationFactories = {
|
|
|
5074
5075
|
title: "Reset role password",
|
|
5075
5076
|
description: "Resets the password for the specified Postgres role.",
|
|
5076
5077
|
inputSchema: z.strictObject({
|
|
5077
|
-
"project_id": zResetProjectBranchRolePasswordPath.shape.project_id,
|
|
5078
|
-
"branch_id": zResetProjectBranchRolePasswordPath.shape.branch_id,
|
|
5078
|
+
"project_id": zResetProjectBranchRolePasswordPath.shape.project_id.describe("Project id."),
|
|
5079
|
+
"branch_id": zResetProjectBranchRolePasswordPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
5079
5080
|
"role_name": zResetProjectBranchRolePasswordPath.shape.role_name
|
|
5080
5081
|
}),
|
|
5081
5082
|
annotations: {
|
|
@@ -5108,7 +5109,7 @@ const operationFactories = {
|
|
|
5108
5109
|
title: "Restart compute endpoint",
|
|
5109
5110
|
description: "Restarts the specified compute endpoint by immediately suspending it and then starting it again.",
|
|
5110
5111
|
inputSchema: z.strictObject({
|
|
5111
|
-
"project_id": zRestartProjectEndpointPath.shape.project_id,
|
|
5112
|
+
"project_id": zRestartProjectEndpointPath.shape.project_id.describe("Project id."),
|
|
5112
5113
|
"endpoint_id": zRestartProjectEndpointPath.shape.endpoint_id
|
|
5113
5114
|
}),
|
|
5114
5115
|
annotations: {
|
|
@@ -5140,8 +5141,8 @@ const operationFactories = {
|
|
|
5140
5141
|
title: "Restore branch to a historical state",
|
|
5141
5142
|
description: "Restores a branch to an earlier state in its own or another branch's history by specifying an LSN or timestamp.",
|
|
5142
5143
|
inputSchema: z.strictObject({
|
|
5143
|
-
"project_id": zRestoreProjectBranchPath.shape.project_id,
|
|
5144
|
-
"branch_id": zRestoreProjectBranchPath.shape.branch_id,
|
|
5144
|
+
"project_id": zRestoreProjectBranchPath.shape.project_id.describe("Project id."),
|
|
5145
|
+
"branch_id": zRestoreProjectBranchPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
5145
5146
|
"source_branch_id": zRestoreProjectBranchBody.shape.source_branch_id,
|
|
5146
5147
|
"source_lsn": zRestoreProjectBranchBody.shape.source_lsn,
|
|
5147
5148
|
"source_timestamp": zRestoreProjectBranchBody.shape.source_timestamp,
|
|
@@ -5182,7 +5183,7 @@ const operationFactories = {
|
|
|
5182
5183
|
title: "Restore snapshot",
|
|
5183
5184
|
description: "Restores the specified snapshot to a new branch, and optionally finalizes the restore operation to replace the original branch.",
|
|
5184
5185
|
inputSchema: z.strictObject({
|
|
5185
|
-
"project_id": zRestoreSnapshotPath.shape.project_id,
|
|
5186
|
+
"project_id": zRestoreSnapshotPath.shape.project_id.describe("Project id."),
|
|
5186
5187
|
"snapshot_id": zRestoreSnapshotPath.shape.snapshot_id,
|
|
5187
5188
|
"name": zRestoreSnapshotBody.shape.name.optional(),
|
|
5188
5189
|
"target_branch_id": zRestoreSnapshotBody.shape.target_branch_id.optional(),
|
|
@@ -5222,8 +5223,8 @@ const operationFactories = {
|
|
|
5222
5223
|
title: "Reveal a credential's secrets",
|
|
5223
5224
|
description: "Returns the live `api_token` and `s3_secret_access_key` of an existing credential, so a credential whose issuance response was lost can be recovered without minting a new one.",
|
|
5224
5225
|
inputSchema: z.strictObject({
|
|
5225
|
-
"project_id": zRevealCredentialPath.shape.project_id,
|
|
5226
|
-
"branch_id": zRevealCredentialPath.shape.branch_id,
|
|
5226
|
+
"project_id": zRevealCredentialPath.shape.project_id.describe("Project id."),
|
|
5227
|
+
"branch_id": zRevealCredentialPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
5227
5228
|
"token_id": zRevealCredentialPath.shape.token_id
|
|
5228
5229
|
}),
|
|
5229
5230
|
annotations: {
|
|
@@ -5282,8 +5283,8 @@ const operationFactories = {
|
|
|
5282
5283
|
title: "Revoke a credential",
|
|
5283
5284
|
description: "Soft-deletes the credential.",
|
|
5284
5285
|
inputSchema: z.strictObject({
|
|
5285
|
-
"project_id": zRevokeCredentialPath.shape.project_id,
|
|
5286
|
-
"branch_id": zRevokeCredentialPath.shape.branch_id,
|
|
5286
|
+
"project_id": zRevokeCredentialPath.shape.project_id.describe("Project id."),
|
|
5287
|
+
"branch_id": zRevokeCredentialPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
5287
5288
|
"token_id": zRevokeCredentialPath.shape.token_id
|
|
5288
5289
|
}),
|
|
5289
5290
|
annotations: {
|
|
@@ -5316,7 +5317,7 @@ const operationFactories = {
|
|
|
5316
5317
|
title: "Revoke organization API key",
|
|
5317
5318
|
description: "Revokes the specified organization API key.",
|
|
5318
5319
|
inputSchema: z.strictObject({
|
|
5319
|
-
"org_id": zRevokeOrgApiKeyPath.shape.org_id,
|
|
5320
|
+
"org_id": zRevokeOrgApiKeyPath.shape.org_id.describe("Organization id."),
|
|
5320
5321
|
"key_id": zRevokeOrgApiKeyPath.shape.key_id
|
|
5321
5322
|
}),
|
|
5322
5323
|
annotations: {
|
|
@@ -5348,8 +5349,8 @@ const operationFactories = {
|
|
|
5348
5349
|
title: "Revoke project access",
|
|
5349
5350
|
description: "Revokes project access from the user associated with the specified permission `id`.",
|
|
5350
5351
|
inputSchema: z.strictObject({
|
|
5351
|
-
"project_id": zRevokePermissionFromProjectPath.shape.project_id.describe("
|
|
5352
|
-
"permission_id": zRevokePermissionFromProjectPath.shape.permission_id.describe("The permission
|
|
5352
|
+
"project_id": zRevokePermissionFromProjectPath.shape.project_id.describe("Project id."),
|
|
5353
|
+
"permission_id": zRevokePermissionFromProjectPath.shape.permission_id.describe("The permission id from {{projects.permissions.list}}.")
|
|
5353
5354
|
}),
|
|
5354
5355
|
annotations: {
|
|
5355
5356
|
readOnlyHint: false,
|
|
@@ -5380,8 +5381,8 @@ const operationFactories = {
|
|
|
5380
5381
|
title: "Rotate a credential's secrets",
|
|
5381
5382
|
description: "Replaces the secret material on an existing scoped credential in place.",
|
|
5382
5383
|
inputSchema: z.strictObject({
|
|
5383
|
-
"project_id": zRotateCredentialPath.shape.project_id,
|
|
5384
|
-
"branch_id": zRotateCredentialPath.shape.branch_id,
|
|
5384
|
+
"project_id": zRotateCredentialPath.shape.project_id.describe("Project id."),
|
|
5385
|
+
"branch_id": zRotateCredentialPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
5385
5386
|
"token_id": zRotateCredentialPath.shape.token_id
|
|
5386
5387
|
}),
|
|
5387
5388
|
annotations: {
|
|
@@ -5414,8 +5415,8 @@ const operationFactories = {
|
|
|
5414
5415
|
title: "Rotate an OAuth client secret",
|
|
5415
5416
|
description: "Generates a new secret for a confidential OAuth client and invalidates the previous one.",
|
|
5416
5417
|
inputSchema: z.strictObject({
|
|
5417
|
-
"project_id": zRotateNeonAuthOAuthClientSecretPath.shape.project_id,
|
|
5418
|
-
"branch_id": zRotateNeonAuthOAuthClientSecretPath.shape.branch_id,
|
|
5418
|
+
"project_id": zRotateNeonAuthOAuthClientSecretPath.shape.project_id.describe("Project id."),
|
|
5419
|
+
"branch_id": zRotateNeonAuthOAuthClientSecretPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
5419
5420
|
"client_id": zRotateNeonAuthOAuthClientSecretPath.shape.client_id
|
|
5420
5421
|
}),
|
|
5421
5422
|
annotations: {
|
|
@@ -5448,8 +5449,8 @@ const operationFactories = {
|
|
|
5448
5449
|
title: "Rotate the Realtime shared secret",
|
|
5449
5450
|
description: "Replaces the branch's Realtime shared secret.",
|
|
5450
5451
|
inputSchema: z.strictObject({
|
|
5451
|
-
"project_id": zRotateProjectBranchRealtimeSecretPath.shape.project_id,
|
|
5452
|
-
"branch_id": zRotateProjectBranchRealtimeSecretPath.shape.branch_id
|
|
5452
|
+
"project_id": zRotateProjectBranchRealtimeSecretPath.shape.project_id.describe("Project id."),
|
|
5453
|
+
"branch_id": zRotateProjectBranchRealtimeSecretPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
5453
5454
|
}),
|
|
5454
5455
|
annotations: {
|
|
5455
5456
|
readOnlyHint: false,
|
|
@@ -5480,8 +5481,8 @@ const operationFactories = {
|
|
|
5480
5481
|
title: "Send test email using the saved email provider",
|
|
5481
5482
|
description: "Sends a test email using the branch's already-saved custom SMTP configuration.",
|
|
5482
5483
|
inputSchema: z.strictObject({
|
|
5483
|
-
"project_id": zSendNeonAuthEmailProviderTestPath.shape.project_id,
|
|
5484
|
-
"branch_id": zSendNeonAuthEmailProviderTestPath.shape.branch_id,
|
|
5484
|
+
"project_id": zSendNeonAuthEmailProviderTestPath.shape.project_id.describe("Project id."),
|
|
5485
|
+
"branch_id": zSendNeonAuthEmailProviderTestPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
5485
5486
|
"recipient_email": zSendNeonAuthEmailProviderTestBody.shape.recipient_email
|
|
5486
5487
|
}),
|
|
5487
5488
|
annotations: {
|
|
@@ -5514,8 +5515,8 @@ const operationFactories = {
|
|
|
5514
5515
|
title: "Send test email",
|
|
5515
5516
|
description: "Sends a test email using the SMTP server settings supplied in the request body to verify connectivity and credentials.",
|
|
5516
5517
|
inputSchema: z.strictObject({
|
|
5517
|
-
"project_id": zSendNeonAuthTestEmailPath.shape.project_id,
|
|
5518
|
-
"branch_id": zSendNeonAuthTestEmailPath.shape.branch_id,
|
|
5518
|
+
"project_id": zSendNeonAuthTestEmailPath.shape.project_id.describe("Project id."),
|
|
5519
|
+
"branch_id": zSendNeonAuthTestEmailPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
5519
5520
|
"host": zSendNeonAuthTestEmailBody.shape.host,
|
|
5520
5521
|
"port": zSendNeonAuthTestEmailBody.shape.port,
|
|
5521
5522
|
"username": zSendNeonAuthTestEmailBody.shape.username,
|
|
@@ -5562,8 +5563,8 @@ const operationFactories = {
|
|
|
5562
5563
|
title: "Set branch as default",
|
|
5563
5564
|
description: "Sets the specified branch as the project's default branch.",
|
|
5564
5565
|
inputSchema: z.strictObject({
|
|
5565
|
-
"project_id": zSetDefaultProjectBranchPath.shape.project_id,
|
|
5566
|
-
"branch_id": zSetDefaultProjectBranchPath.shape.branch_id
|
|
5566
|
+
"project_id": zSetDefaultProjectBranchPath.shape.project_id.describe("Project id."),
|
|
5567
|
+
"branch_id": zSetDefaultProjectBranchPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
5567
5568
|
}),
|
|
5568
5569
|
annotations: {
|
|
5569
5570
|
readOnlyHint: false,
|
|
@@ -5594,7 +5595,7 @@ const operationFactories = {
|
|
|
5594
5595
|
title: "Set organization spending limit",
|
|
5595
5596
|
description: "Sets the monthly spending limit for the specified organization.",
|
|
5596
5597
|
inputSchema: z.strictObject({
|
|
5597
|
-
"org_id": zSetOrganizationSpendingLimitPath.shape.org_id,
|
|
5598
|
+
"org_id": zSetOrganizationSpendingLimitPath.shape.org_id.describe("Organization id."),
|
|
5598
5599
|
"spending_limit_cents": zSetOrganizationSpendingLimitBody.shape.spending_limit_cents
|
|
5599
5600
|
}),
|
|
5600
5601
|
annotations: {
|
|
@@ -5624,7 +5625,7 @@ const operationFactories = {
|
|
|
5624
5625
|
title: "Set an org member's role on a project",
|
|
5625
5626
|
description: "Idempotently sets or updates the explicit project grant of the specified org member.",
|
|
5626
5627
|
inputSchema: z.strictObject({
|
|
5627
|
-
"project_id": zSetProjectMemberRolePath.shape.project_id.describe("
|
|
5628
|
+
"project_id": zSetProjectMemberRolePath.shape.project_id.describe("Project id."),
|
|
5628
5629
|
"member_id": zSetProjectMemberRolePath.shape.member_id.describe("The organization member ID"),
|
|
5629
5630
|
"confirm_self_demotion": zSetProjectMemberRoleQuery.shape.confirm_self_demotion.describe("Set true to lower your own role on the project.").optional(),
|
|
5630
5631
|
"role": zSetProjectMemberRoleBody.shape.role
|
|
@@ -5660,8 +5661,8 @@ const operationFactories = {
|
|
|
5660
5661
|
title: "Update backup schedule",
|
|
5661
5662
|
description: "Updates the backup schedule for the specified branch.",
|
|
5662
5663
|
inputSchema: z.strictObject({
|
|
5663
|
-
"project_id": zSetSnapshotSchedulePath.shape.project_id,
|
|
5664
|
-
"branch_id": zSetSnapshotSchedulePath.shape.branch_id,
|
|
5664
|
+
"project_id": zSetSnapshotSchedulePath.shape.project_id.describe("Project id."),
|
|
5665
|
+
"branch_id": zSetSnapshotSchedulePath.shape.branch_id.describe("A br-... id, not a name."),
|
|
5665
5666
|
"schedule": zSetSnapshotScheduleBody.shape.schedule
|
|
5666
5667
|
}),
|
|
5667
5668
|
annotations: {
|
|
@@ -5694,8 +5695,8 @@ const operationFactories = {
|
|
|
5694
5695
|
title: "Start anonymization",
|
|
5695
5696
|
description: "Starts the anonymization process for an anonymized branch that is in the initialized, error, or anonymized state.",
|
|
5696
5697
|
inputSchema: z.strictObject({
|
|
5697
|
-
"project_id": zStartAnonymizationPath.shape.project_id,
|
|
5698
|
-
"branch_id": zStartAnonymizationPath.shape.branch_id
|
|
5698
|
+
"project_id": zStartAnonymizationPath.shape.project_id.describe("Project id."),
|
|
5699
|
+
"branch_id": zStartAnonymizationPath.shape.branch_id.describe("A br-... id, not a name.")
|
|
5699
5700
|
}),
|
|
5700
5701
|
annotations: {
|
|
5701
5702
|
readOnlyHint: false,
|
|
@@ -5726,7 +5727,7 @@ const operationFactories = {
|
|
|
5726
5727
|
title: "Start compute endpoint",
|
|
5727
5728
|
description: "Starts a compute endpoint.",
|
|
5728
5729
|
inputSchema: z.strictObject({
|
|
5729
|
-
"project_id": zStartProjectEndpointPath.shape.project_id,
|
|
5730
|
+
"project_id": zStartProjectEndpointPath.shape.project_id.describe("Project id."),
|
|
5730
5731
|
"endpoint_id": zStartProjectEndpointPath.shape.endpoint_id
|
|
5731
5732
|
}),
|
|
5732
5733
|
annotations: {
|
|
@@ -5758,7 +5759,7 @@ const operationFactories = {
|
|
|
5758
5759
|
title: "Suspend compute endpoint",
|
|
5759
5760
|
description: "Suspends the specified compute endpoint.",
|
|
5760
5761
|
inputSchema: z.strictObject({
|
|
5761
|
-
"project_id": zSuspendProjectEndpointPath.shape.project_id,
|
|
5762
|
+
"project_id": zSuspendProjectEndpointPath.shape.project_id.describe("Project id."),
|
|
5762
5763
|
"endpoint_id": zSuspendProjectEndpointPath.shape.endpoint_id
|
|
5763
5764
|
}),
|
|
5764
5765
|
annotations: {
|
|
@@ -5888,8 +5889,8 @@ const operationFactories = {
|
|
|
5888
5889
|
title: "Update OAuth provider",
|
|
5889
5890
|
description: "Updates an OAuth provider for the specified project.",
|
|
5890
5891
|
inputSchema: z.strictObject({
|
|
5891
|
-
"project_id": zUpdateBranchNeonAuthOauthProviderPath.shape.project_id,
|
|
5892
|
-
"branch_id": zUpdateBranchNeonAuthOauthProviderPath.shape.branch_id,
|
|
5892
|
+
"project_id": zUpdateBranchNeonAuthOauthProviderPath.shape.project_id.describe("Project id."),
|
|
5893
|
+
"branch_id": zUpdateBranchNeonAuthOauthProviderPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
5893
5894
|
"oauth_provider_id": zUpdateBranchNeonAuthOauthProviderPath.shape.oauth_provider_id,
|
|
5894
5895
|
"client_id": zUpdateBranchNeonAuthOauthProviderBody.shape.client_id,
|
|
5895
5896
|
"client_secret": zUpdateBranchNeonAuthOauthProviderBody.shape.client_secret,
|
|
@@ -5934,8 +5935,8 @@ const operationFactories = {
|
|
|
5934
5935
|
title: "Update masking rules",
|
|
5935
5936
|
description: "Updates the masking rules for the specified anonymized branch.",
|
|
5936
5937
|
inputSchema: z.strictObject({
|
|
5937
|
-
"project_id": zUpdateMaskingRulesPath.shape.project_id,
|
|
5938
|
-
"branch_id": zUpdateMaskingRulesPath.shape.branch_id,
|
|
5938
|
+
"project_id": zUpdateMaskingRulesPath.shape.project_id.describe("Project id."),
|
|
5939
|
+
"branch_id": zUpdateMaskingRulesPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
5939
5940
|
"masking_rules": zUpdateMaskingRulesBody.shape.masking_rules
|
|
5940
5941
|
}),
|
|
5941
5942
|
annotations: {
|
|
@@ -5968,8 +5969,8 @@ const operationFactories = {
|
|
|
5968
5969
|
title: "Update localhost allow setting",
|
|
5969
5970
|
description: "Updates the localhost allow setting for the specified branch's Neon Auth integration.",
|
|
5970
5971
|
inputSchema: z.strictObject({
|
|
5971
|
-
"project_id": zUpdateNeonAuthAllowLocalhostPath.shape.project_id,
|
|
5972
|
-
"branch_id": zUpdateNeonAuthAllowLocalhostPath.shape.branch_id,
|
|
5972
|
+
"project_id": zUpdateNeonAuthAllowLocalhostPath.shape.project_id.describe("Project id."),
|
|
5973
|
+
"branch_id": zUpdateNeonAuthAllowLocalhostPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
5973
5974
|
"allow_localhost": zUpdateNeonAuthAllowLocalhostBody.shape.allow_localhost
|
|
5974
5975
|
}),
|
|
5975
5976
|
annotations: {
|
|
@@ -6002,8 +6003,8 @@ const operationFactories = {
|
|
|
6002
6003
|
title: "Update auth configuration",
|
|
6003
6004
|
description: "Updates the auth configuration for the branch.",
|
|
6004
6005
|
inputSchema: z.strictObject({
|
|
6005
|
-
"project_id": zUpdateNeonAuthConfigPath.shape.project_id,
|
|
6006
|
-
"branch_id": zUpdateNeonAuthConfigPath.shape.branch_id,
|
|
6006
|
+
"project_id": zUpdateNeonAuthConfigPath.shape.project_id.describe("Project id."),
|
|
6007
|
+
"branch_id": zUpdateNeonAuthConfigPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
6007
6008
|
"name": zUpdateNeonAuthConfigBody.shape.name
|
|
6008
6009
|
}),
|
|
6009
6010
|
annotations: {
|
|
@@ -6036,8 +6037,8 @@ const operationFactories = {
|
|
|
6036
6037
|
title: "Update email and password configuration",
|
|
6037
6038
|
description: "Updates the email and password authentication configuration for the specified branch's Neon Auth integration.",
|
|
6038
6039
|
inputSchema: z.strictObject({
|
|
6039
|
-
"project_id": zUpdateNeonAuthEmailAndPasswordConfigPath.shape.project_id,
|
|
6040
|
-
"branch_id": zUpdateNeonAuthEmailAndPasswordConfigPath.shape.branch_id,
|
|
6040
|
+
"project_id": zUpdateNeonAuthEmailAndPasswordConfigPath.shape.project_id.describe("Project id."),
|
|
6041
|
+
"branch_id": zUpdateNeonAuthEmailAndPasswordConfigPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
6041
6042
|
"enabled": zUpdateNeonAuthEmailAndPasswordConfigBody.shape.enabled,
|
|
6042
6043
|
"email_verification_method": zUpdateNeonAuthEmailAndPasswordConfigBody.shape.email_verification_method,
|
|
6043
6044
|
"require_email_verification": zUpdateNeonAuthEmailAndPasswordConfigBody.shape.require_email_verification,
|
|
@@ -6086,8 +6087,8 @@ const operationFactories = {
|
|
|
6086
6087
|
title: "Update email provider configuration",
|
|
6087
6088
|
description: "Updates the email provider configuration for the specified branch's Neon Auth integration.",
|
|
6088
6089
|
inputSchema: z.strictObject({
|
|
6089
|
-
"project_id": zUpdateNeonAuthEmailProviderPath.shape.project_id,
|
|
6090
|
-
"branch_id": zUpdateNeonAuthEmailProviderPath.shape.branch_id,
|
|
6090
|
+
"project_id": zUpdateNeonAuthEmailProviderPath.shape.project_id.describe("Project id."),
|
|
6091
|
+
"branch_id": zUpdateNeonAuthEmailProviderPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
6091
6092
|
"body": zUpdateNeonAuthEmailProviderBody.describe("Email provider configuration for the branch's Neon Auth integration.")
|
|
6092
6093
|
}),
|
|
6093
6094
|
annotations: {
|
|
@@ -6120,7 +6121,7 @@ const operationFactories = {
|
|
|
6120
6121
|
title: "Update email server configuration",
|
|
6121
6122
|
description: "Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/email_provider` instead.",
|
|
6122
6123
|
inputSchema: z.strictObject({
|
|
6123
|
-
"project_id": zUpdateNeonAuthEmailServerPath.shape.project_id,
|
|
6124
|
+
"project_id": zUpdateNeonAuthEmailServerPath.shape.project_id.describe("Project id."),
|
|
6124
6125
|
"body": zUpdateNeonAuthEmailServerBody
|
|
6125
6126
|
}),
|
|
6126
6127
|
annotations: {
|
|
@@ -6144,14 +6145,48 @@ const operationFactories = {
|
|
|
6144
6145
|
throwOnError: true
|
|
6145
6146
|
})
|
|
6146
6147
|
}), client),
|
|
6148
|
+
"updateNeonAuthLogsExport": (client) => bindOperation(defineOperation({
|
|
6149
|
+
operationId: "updateNeonAuthLogsExport",
|
|
6150
|
+
id: "update_neon_auth_logs_export",
|
|
6151
|
+
title: "Update Neon Auth logs export setting",
|
|
6152
|
+
description: "Enables or disables exporting Neon Auth events for the branch to Neon Platform logs.",
|
|
6153
|
+
inputSchema: z.strictObject({
|
|
6154
|
+
"project_id": zUpdateNeonAuthLogsExportPath.shape.project_id.describe("Project id."),
|
|
6155
|
+
"branch_id": zUpdateNeonAuthLogsExportPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
6156
|
+
"enabled": zUpdateNeonAuthLogsExportBody.shape.enabled
|
|
6157
|
+
}),
|
|
6158
|
+
annotations: {
|
|
6159
|
+
readOnlyHint: false,
|
|
6160
|
+
destructiveHint: true,
|
|
6161
|
+
openWorldHint: false
|
|
6162
|
+
},
|
|
6163
|
+
requiresApproval: true,
|
|
6164
|
+
metadata: {
|
|
6165
|
+
method: "PATCH",
|
|
6166
|
+
path: "/projects/{project_id}/branches/{branch_id}/auth/logs_export",
|
|
6167
|
+
stability: "beta",
|
|
6168
|
+
deprecated: false,
|
|
6169
|
+
tags: ["Auth"]
|
|
6170
|
+
},
|
|
6171
|
+
invoke: (client, input, signal) => raw.updateNeonAuthLogsExport({
|
|
6172
|
+
path: optionalGroup({
|
|
6173
|
+
"project_id": input["project_id"],
|
|
6174
|
+
"branch_id": input["branch_id"]
|
|
6175
|
+
}, true),
|
|
6176
|
+
body: optionalGroup({ "enabled": input["enabled"] }, true),
|
|
6177
|
+
client,
|
|
6178
|
+
signal,
|
|
6179
|
+
throwOnError: true
|
|
6180
|
+
})
|
|
6181
|
+
}), client),
|
|
6147
6182
|
"updateNeonAuthMagicLinkPlugin": (client) => bindOperation(defineOperation({
|
|
6148
6183
|
operationId: "updateNeonAuthMagicLinkPlugin",
|
|
6149
6184
|
id: "update_neon_auth_magic_link_plugin",
|
|
6150
6185
|
title: "Update magic link plugin configuration",
|
|
6151
6186
|
description: "Updates the magic link plugin configuration for Neon Auth.",
|
|
6152
6187
|
inputSchema: z.strictObject({
|
|
6153
|
-
"project_id": zUpdateNeonAuthMagicLinkPluginPath.shape.project_id,
|
|
6154
|
-
"branch_id": zUpdateNeonAuthMagicLinkPluginPath.shape.branch_id,
|
|
6188
|
+
"project_id": zUpdateNeonAuthMagicLinkPluginPath.shape.project_id.describe("Project id."),
|
|
6189
|
+
"branch_id": zUpdateNeonAuthMagicLinkPluginPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
6155
6190
|
"enabled": zUpdateNeonAuthMagicLinkPluginBody.shape.enabled,
|
|
6156
6191
|
"expires_in": zUpdateNeonAuthMagicLinkPluginBody.shape.expires_in,
|
|
6157
6192
|
"disable_sign_up": zUpdateNeonAuthMagicLinkPluginBody.shape.disable_sign_up
|
|
@@ -6190,8 +6225,8 @@ const operationFactories = {
|
|
|
6190
6225
|
title: "Update an OAuth client",
|
|
6191
6226
|
description: "Updates an OAuth client.",
|
|
6192
6227
|
inputSchema: z.strictObject({
|
|
6193
|
-
"project_id": zUpdateNeonAuthOAuthClientPath.shape.project_id,
|
|
6194
|
-
"branch_id": zUpdateNeonAuthOAuthClientPath.shape.branch_id,
|
|
6228
|
+
"project_id": zUpdateNeonAuthOAuthClientPath.shape.project_id.describe("Project id."),
|
|
6229
|
+
"branch_id": zUpdateNeonAuthOAuthClientPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
6195
6230
|
"client_id": zUpdateNeonAuthOAuthClientPath.shape.client_id,
|
|
6196
6231
|
"name": zUpdateNeonAuthOAuthClientBody.shape.name,
|
|
6197
6232
|
"redirect_uris": zUpdateNeonAuthOAuthClientBody.shape.redirect_uris,
|
|
@@ -6236,7 +6271,7 @@ const operationFactories = {
|
|
|
6236
6271
|
title: "Update OAuth provider",
|
|
6237
6272
|
description: "Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}` instead.",
|
|
6238
6273
|
inputSchema: z.strictObject({
|
|
6239
|
-
"project_id": zUpdateNeonAuthOauthProviderPath.shape.project_id,
|
|
6274
|
+
"project_id": zUpdateNeonAuthOauthProviderPath.shape.project_id.describe("Project id."),
|
|
6240
6275
|
"oauth_provider_id": zUpdateNeonAuthOauthProviderPath.shape.oauth_provider_id,
|
|
6241
6276
|
"client_id": zUpdateNeonAuthOauthProviderBody.shape.client_id,
|
|
6242
6277
|
"client_secret": zUpdateNeonAuthOauthProviderBody.shape.client_secret,
|
|
@@ -6280,8 +6315,8 @@ const operationFactories = {
|
|
|
6280
6315
|
title: "Update OAuth provider plugin configuration",
|
|
6281
6316
|
description: "Updates the OAuth provider plugin configuration for Neon Auth.",
|
|
6282
6317
|
inputSchema: z.strictObject({
|
|
6283
|
-
"project_id": zUpdateNeonAuthOAuthProviderPluginPath.shape.project_id,
|
|
6284
|
-
"branch_id": zUpdateNeonAuthOAuthProviderPluginPath.shape.branch_id,
|
|
6318
|
+
"project_id": zUpdateNeonAuthOAuthProviderPluginPath.shape.project_id.describe("Project id."),
|
|
6319
|
+
"branch_id": zUpdateNeonAuthOAuthProviderPluginPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
6285
6320
|
"enabled": zUpdateNeonAuthOAuthProviderPluginBody.shape.enabled,
|
|
6286
6321
|
"login_page": zUpdateNeonAuthOAuthProviderPluginBody.shape.login_page,
|
|
6287
6322
|
"consent_page": zUpdateNeonAuthOAuthProviderPluginBody.shape.consent_page,
|
|
@@ -6324,8 +6359,8 @@ const operationFactories = {
|
|
|
6324
6359
|
title: "Update organization plugin configuration",
|
|
6325
6360
|
description: "Updates the organization plugin configuration for Neon Auth.",
|
|
6326
6361
|
inputSchema: z.strictObject({
|
|
6327
|
-
"project_id": zUpdateNeonAuthOrganizationPluginPath.shape.project_id,
|
|
6328
|
-
"branch_id": zUpdateNeonAuthOrganizationPluginPath.shape.branch_id,
|
|
6362
|
+
"project_id": zUpdateNeonAuthOrganizationPluginPath.shape.project_id.describe("Project id."),
|
|
6363
|
+
"branch_id": zUpdateNeonAuthOrganizationPluginPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
6329
6364
|
"enabled": zUpdateNeonAuthOrganizationPluginBody.shape.enabled,
|
|
6330
6365
|
"organization_limit": zUpdateNeonAuthOrganizationPluginBody.shape.organization_limit,
|
|
6331
6366
|
"membership_limit": zUpdateNeonAuthOrganizationPluginBody.shape.membership_limit,
|
|
@@ -6368,8 +6403,8 @@ const operationFactories = {
|
|
|
6368
6403
|
title: "Update phone number plugin configuration",
|
|
6369
6404
|
description: "Updates the phone number plugin configuration for Neon Auth.",
|
|
6370
6405
|
inputSchema: z.strictObject({
|
|
6371
|
-
"project_id": zUpdateNeonAuthPhoneNumberPluginPath.shape.project_id,
|
|
6372
|
-
"branch_id": zUpdateNeonAuthPhoneNumberPluginPath.shape.branch_id,
|
|
6406
|
+
"project_id": zUpdateNeonAuthPhoneNumberPluginPath.shape.project_id.describe("Project id."),
|
|
6407
|
+
"branch_id": zUpdateNeonAuthPhoneNumberPluginPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
6373
6408
|
"enabled": zUpdateNeonAuthPhoneNumberPluginBody.shape.enabled,
|
|
6374
6409
|
"otp_expires_in": zUpdateNeonAuthPhoneNumberPluginBody.shape.otp_expires_in
|
|
6375
6410
|
}),
|
|
@@ -6406,8 +6441,8 @@ const operationFactories = {
|
|
|
6406
6441
|
title: "Update auth user role",
|
|
6407
6442
|
description: "Updates the role of a user in the Neon Auth user directory for the specified branch.",
|
|
6408
6443
|
inputSchema: z.strictObject({
|
|
6409
|
-
"project_id": zUpdateNeonAuthUserRolePath.shape.project_id,
|
|
6410
|
-
"branch_id": zUpdateNeonAuthUserRolePath.shape.branch_id,
|
|
6444
|
+
"project_id": zUpdateNeonAuthUserRolePath.shape.project_id.describe("Project id."),
|
|
6445
|
+
"branch_id": zUpdateNeonAuthUserRolePath.shape.branch_id.describe("A br-... id, not a name."),
|
|
6411
6446
|
"auth_user_id": zUpdateNeonAuthUserRolePath.shape.auth_user_id,
|
|
6412
6447
|
"roles": zUpdateNeonAuthUserRoleBody.shape.roles
|
|
6413
6448
|
}),
|
|
@@ -6442,8 +6477,8 @@ const operationFactories = {
|
|
|
6442
6477
|
title: "Update Neon Auth webhook configuration",
|
|
6443
6478
|
description: "Updates the webhook configuration for the specified branch's Neon Auth integration.",
|
|
6444
6479
|
inputSchema: z.strictObject({
|
|
6445
|
-
"project_id": zUpdateNeonAuthWebhookConfigPath.shape.project_id,
|
|
6446
|
-
"branch_id": zUpdateNeonAuthWebhookConfigPath.shape.branch_id,
|
|
6480
|
+
"project_id": zUpdateNeonAuthWebhookConfigPath.shape.project_id.describe("Project id."),
|
|
6481
|
+
"branch_id": zUpdateNeonAuthWebhookConfigPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
6447
6482
|
"enabled": zUpdateNeonAuthWebhookConfigBody.shape.enabled,
|
|
6448
6483
|
"webhook_url": zUpdateNeonAuthWebhookConfigBody.shape.webhook_url,
|
|
6449
6484
|
"enabled_events": zUpdateNeonAuthWebhookConfigBody.shape.enabled_events,
|
|
@@ -6484,7 +6519,7 @@ const operationFactories = {
|
|
|
6484
6519
|
title: "Update role for organization member",
|
|
6485
6520
|
description: "Updates the role of an existing member in the specified organization.",
|
|
6486
6521
|
inputSchema: z.strictObject({
|
|
6487
|
-
"org_id": zUpdateOrganizationMemberPath.shape.org_id,
|
|
6522
|
+
"org_id": zUpdateOrganizationMemberPath.shape.org_id.describe("Organization id."),
|
|
6488
6523
|
"member_id": zUpdateOrganizationMemberPath.shape.member_id,
|
|
6489
6524
|
"role": zUpdateOrganizationMemberBody.shape.role
|
|
6490
6525
|
}),
|
|
@@ -6518,7 +6553,7 @@ const operationFactories = {
|
|
|
6518
6553
|
title: "Update project",
|
|
6519
6554
|
description: "Updates the specified project.",
|
|
6520
6555
|
inputSchema: z.strictObject({
|
|
6521
|
-
"project_id": zUpdateProjectPath.shape.project_id,
|
|
6556
|
+
"project_id": zUpdateProjectPath.shape.project_id.describe("Project id."),
|
|
6522
6557
|
"settings": zUpdateProjectBody.shape.project.shape.settings,
|
|
6523
6558
|
"name": zUpdateProjectBody.shape.project.shape.name,
|
|
6524
6559
|
"default_endpoint_settings": zUpdateProjectBody.shape.project.shape.default_endpoint_settings,
|
|
@@ -6556,8 +6591,8 @@ const operationFactories = {
|
|
|
6556
6591
|
title: "Update branch",
|
|
6557
6592
|
description: "Updates the specified branch.",
|
|
6558
6593
|
inputSchema: z.strictObject({
|
|
6559
|
-
"project_id": zUpdateProjectBranchPath.shape.project_id,
|
|
6560
|
-
"branch_id": zUpdateProjectBranchPath.shape.branch_id,
|
|
6594
|
+
"project_id": zUpdateProjectBranchPath.shape.project_id.describe("Project id."),
|
|
6595
|
+
"branch_id": zUpdateProjectBranchPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
6561
6596
|
"name": zUpdateProjectBranchBody.shape.branch.shape.name,
|
|
6562
6597
|
"protected": zUpdateProjectBranchBody.shape.branch.shape.protected,
|
|
6563
6598
|
"expires_at": zUpdateProjectBranchBody.shape.branch.shape.expires_at.describe("The timestamp when the branch is scheduled to expire and be automatically deleted.")
|
|
@@ -6596,8 +6631,8 @@ const operationFactories = {
|
|
|
6596
6631
|
title: "Update Neon Data API",
|
|
6597
6632
|
description: "Updates the Neon Data API configuration for the specified branch.",
|
|
6598
6633
|
inputSchema: z.strictObject({
|
|
6599
|
-
"project_id": zUpdateProjectBranchDataApiPath.shape.project_id,
|
|
6600
|
-
"branch_id": zUpdateProjectBranchDataApiPath.shape.branch_id,
|
|
6634
|
+
"project_id": zUpdateProjectBranchDataApiPath.shape.project_id.describe("Project id."),
|
|
6635
|
+
"branch_id": zUpdateProjectBranchDataApiPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
6601
6636
|
"database_name": zUpdateProjectBranchDataApiPath.shape.database_name,
|
|
6602
6637
|
"db_aggregates_enabled": zUpdateProjectBranchDataApiBody.shape.settings.unwrap().shape["db_aggregates_enabled"].optional(),
|
|
6603
6638
|
"db_anon_role": zUpdateProjectBranchDataApiBody.shape.settings.unwrap().shape["db_anon_role"].optional(),
|
|
@@ -6652,10 +6687,10 @@ const operationFactories = {
|
|
|
6652
6687
|
title: "Update database",
|
|
6653
6688
|
description: "Updates the specified database in the branch.",
|
|
6654
6689
|
inputSchema: z.strictObject({
|
|
6655
|
-
"project_id": zUpdateProjectBranchDatabasePath.shape.project_id,
|
|
6656
|
-
"branch_id": zUpdateProjectBranchDatabasePath.shape.branch_id,
|
|
6690
|
+
"project_id": zUpdateProjectBranchDatabasePath.shape.project_id.describe("Project id."),
|
|
6691
|
+
"branch_id": zUpdateProjectBranchDatabasePath.shape.branch_id.describe("A br-... id, not a name."),
|
|
6657
6692
|
"database_name": zUpdateProjectBranchDatabasePath.shape.database_name,
|
|
6658
|
-
"name": zUpdateProjectBranchDatabaseBody.shape.database.shape.name,
|
|
6693
|
+
"name": zUpdateProjectBranchDatabaseBody.shape.database.shape.name.describe("New name for the database."),
|
|
6659
6694
|
"owner_name": zUpdateProjectBranchDatabaseBody.shape.database.shape.owner_name
|
|
6660
6695
|
}),
|
|
6661
6696
|
annotations: {
|
|
@@ -6692,8 +6727,8 @@ const operationFactories = {
|
|
|
6692
6727
|
title: "Update a function",
|
|
6693
6728
|
description: "Updates the function's mutable metadata — currently only the display `name`.",
|
|
6694
6729
|
inputSchema: z.strictObject({
|
|
6695
|
-
"project_id": zUpdateProjectBranchFunctionPath.shape.project_id,
|
|
6696
|
-
"branch_id": zUpdateProjectBranchFunctionPath.shape.branch_id,
|
|
6730
|
+
"project_id": zUpdateProjectBranchFunctionPath.shape.project_id.describe("Project id."),
|
|
6731
|
+
"branch_id": zUpdateProjectBranchFunctionPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
6697
6732
|
"slug": zUpdateProjectBranchFunctionPath.shape.slug,
|
|
6698
6733
|
"name": zUpdateProjectBranchFunctionBody.shape.name.describe("New display name for the function.")
|
|
6699
6734
|
}),
|
|
@@ -6728,8 +6763,8 @@ const operationFactories = {
|
|
|
6728
6763
|
title: "Update a trigger",
|
|
6729
6764
|
description: "Applies a partial update.",
|
|
6730
6765
|
inputSchema: z.strictObject({
|
|
6731
|
-
"project_id": zUpdateProjectBranchTriggerPath.shape.project_id,
|
|
6732
|
-
"branch_id": zUpdateProjectBranchTriggerPath.shape.branch_id,
|
|
6766
|
+
"project_id": zUpdateProjectBranchTriggerPath.shape.project_id.describe("Project id."),
|
|
6767
|
+
"branch_id": zUpdateProjectBranchTriggerPath.shape.branch_id.describe("A br-... id, not a name."),
|
|
6733
6768
|
"trigger_id": zUpdateProjectBranchTriggerPath.shape.trigger_id,
|
|
6734
6769
|
"body": zUpdateProjectBranchTriggerBody.describe("Partial trigger update discriminated by `type`.")
|
|
6735
6770
|
}),
|
|
@@ -6764,7 +6799,7 @@ const operationFactories = {
|
|
|
6764
6799
|
title: "Update compute endpoint",
|
|
6765
6800
|
description: "Updates the specified compute endpoint.",
|
|
6766
6801
|
inputSchema: z.strictObject({
|
|
6767
|
-
"project_id": zUpdateProjectEndpointPath.shape.project_id,
|
|
6802
|
+
"project_id": zUpdateProjectEndpointPath.shape.project_id.describe("Project id."),
|
|
6768
6803
|
"endpoint_id": zUpdateProjectEndpointPath.shape.endpoint_id,
|
|
6769
6804
|
"branch_id": zUpdateProjectEndpointBody.shape.endpoint.shape.branch_id,
|
|
6770
6805
|
"autoscaling_limit_min_cu": zUpdateProjectEndpointBody.shape.endpoint.shape.autoscaling_limit_min_cu,
|
|
@@ -6820,7 +6855,7 @@ const operationFactories = {
|
|
|
6820
6855
|
title: "Update snapshot",
|
|
6821
6856
|
description: "Updates the specified snapshot.",
|
|
6822
6857
|
inputSchema: z.strictObject({
|
|
6823
|
-
"project_id": zUpdateSnapshotPath.shape.project_id,
|
|
6858
|
+
"project_id": zUpdateSnapshotPath.shape.project_id.describe("Project id."),
|
|
6824
6859
|
"snapshot_id": zUpdateSnapshotPath.shape.snapshot_id,
|
|
6825
6860
|
"name": zUpdateSnapshotBody.shape.snapshot.shape.name,
|
|
6826
6861
|
"expires_at": zUpdateSnapshotBody.shape.snapshot.shape.expires_at.describe("The date and time when the snapshot will expire.")
|