@keystrokehq/neon 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/accept-projects-transfer-requests.cjs +1 -1
- package/dist/actions/accept-projects-transfer-requests.cjs.map +1 -1
- package/dist/actions/accept-projects-transfer-requests.d.cts +1 -1
- package/dist/actions/accept-projects-transfer-requests.d.mts +1 -1
- package/dist/actions/accept-projects-transfer-requests.mjs +1 -1
- package/dist/actions/accept-projects-transfer-requests.mjs.map +1 -1
- package/dist/actions/access-project-details-by-id.cjs +1 -1
- package/dist/actions/access-project-details-by-id.cjs.map +1 -1
- package/dist/actions/access-project-details-by-id.d.cts +1 -1
- package/dist/actions/access-project-details-by-id.d.mts +1 -1
- package/dist/actions/access-project-details-by-id.mjs +1 -1
- package/dist/actions/access-project-details-by-id.mjs.map +1 -1
- package/dist/actions/add-new-jwks-to-project-endpoint.cjs +3 -3
- package/dist/actions/add-new-jwks-to-project-endpoint.cjs.map +1 -1
- package/dist/actions/add-new-jwks-to-project-endpoint.d.cts +3 -3
- package/dist/actions/add-new-jwks-to-project-endpoint.d.mts +3 -3
- package/dist/actions/add-new-jwks-to-project-endpoint.mjs +3 -3
- package/dist/actions/add-new-jwks-to-project-endpoint.mjs.map +1 -1
- package/dist/actions/add-project-email-permission.cjs +2 -2
- package/dist/actions/add-project-email-permission.cjs.map +1 -1
- package/dist/actions/add-project-email-permission.d.cts +2 -2
- package/dist/actions/add-project-email-permission.d.mts +2 -2
- package/dist/actions/add-project-email-permission.mjs +2 -2
- package/dist/actions/add-project-email-permission.mjs.map +1 -1
- package/dist/actions/add-role-to-branch.cjs +3 -3
- package/dist/actions/add-role-to-branch.cjs.map +1 -1
- package/dist/actions/add-role-to-branch.d.cts +3 -3
- package/dist/actions/add-role-to-branch.d.mts +3 -3
- package/dist/actions/add-role-to-branch.mjs +3 -3
- package/dist/actions/add-role-to-branch.mjs.map +1 -1
- package/dist/actions/count-project-branches.cjs +1 -1
- package/dist/actions/count-project-branches.cjs.map +1 -1
- package/dist/actions/count-project-branches.d.cts +1 -1
- package/dist/actions/count-project-branches.d.mts +1 -1
- package/dist/actions/count-project-branches.mjs +1 -1
- package/dist/actions/count-project-branches.mjs.map +1 -1
- package/dist/actions/create-api-key-for-organization.cjs +1 -1
- package/dist/actions/create-api-key-for-organization.cjs.map +1 -1
- package/dist/actions/create-api-key-for-organization.d.cts +1 -1
- package/dist/actions/create-api-key-for-organization.d.mts +1 -1
- package/dist/actions/create-api-key-for-organization.mjs +1 -1
- package/dist/actions/create-api-key-for-organization.mjs.map +1 -1
- package/dist/actions/create-auth-keys.cjs +1 -1
- package/dist/actions/create-auth-keys.cjs.map +1 -1
- package/dist/actions/create-auth-keys.d.cts +1 -1
- package/dist/actions/create-auth-keys.d.mts +1 -1
- package/dist/actions/create-auth-keys.mjs +1 -1
- package/dist/actions/create-auth-keys.mjs.map +1 -1
- package/dist/actions/create-auth-user.cjs +1 -1
- package/dist/actions/create-auth-user.cjs.map +1 -1
- package/dist/actions/create-auth-user.d.cts +1 -1
- package/dist/actions/create-auth-user.d.mts +1 -1
- package/dist/actions/create-auth-user.mjs +1 -1
- package/dist/actions/create-auth-user.mjs.map +1 -1
- package/dist/actions/create-branch-database.cjs +3 -3
- package/dist/actions/create-branch-database.cjs.map +1 -1
- package/dist/actions/create-branch-database.d.cts +3 -3
- package/dist/actions/create-branch-database.d.mts +3 -3
- package/dist/actions/create-branch-database.mjs +3 -3
- package/dist/actions/create-branch-database.mjs.map +1 -1
- package/dist/actions/create-branches-auth.cjs +1 -1
- package/dist/actions/create-branches-auth.cjs.map +1 -1
- package/dist/actions/create-branches-auth.d.cts +1 -1
- package/dist/actions/create-branches-auth.d.mts +1 -1
- package/dist/actions/create-branches-auth.mjs +1 -1
- package/dist/actions/create-branches-auth.mjs.map +1 -1
- package/dist/actions/create-branches-data-api.cjs +1 -1
- package/dist/actions/create-branches-data-api.cjs.map +1 -1
- package/dist/actions/create-branches-data-api.d.cts +1 -1
- package/dist/actions/create-branches-data-api.d.mts +1 -1
- package/dist/actions/create-branches-data-api.mjs +1 -1
- package/dist/actions/create-branches-data-api.mjs.map +1 -1
- package/dist/actions/create-branches-snapshot.cjs +3 -3
- package/dist/actions/create-branches-snapshot.cjs.map +1 -1
- package/dist/actions/create-branches-snapshot.d.cts +3 -3
- package/dist/actions/create-branches-snapshot.d.mts +3 -3
- package/dist/actions/create-branches-snapshot.mjs +3 -3
- package/dist/actions/create-branches-snapshot.mjs.map +1 -1
- package/dist/actions/create-compute-endpoint.cjs +6 -6
- package/dist/actions/create-compute-endpoint.cjs.map +1 -1
- package/dist/actions/create-compute-endpoint.d.cts +8 -8
- package/dist/actions/create-compute-endpoint.d.mts +8 -8
- package/dist/actions/create-compute-endpoint.mjs +6 -6
- package/dist/actions/create-compute-endpoint.mjs.map +1 -1
- package/dist/actions/create-new-api-key.cjs +1 -1
- package/dist/actions/create-new-api-key.cjs.map +1 -1
- package/dist/actions/create-new-api-key.d.cts +1 -1
- package/dist/actions/create-new-api-key.d.mts +1 -1
- package/dist/actions/create-new-api-key.mjs +1 -1
- package/dist/actions/create-new-api-key.mjs.map +1 -1
- package/dist/actions/create-new-project-branch.cjs +5 -5
- package/dist/actions/create-new-project-branch.cjs.map +1 -1
- package/dist/actions/create-new-project-branch.d.cts +5 -5
- package/dist/actions/create-new-project-branch.d.mts +5 -5
- package/dist/actions/create-new-project-branch.mjs +5 -5
- package/dist/actions/create-new-project-branch.mjs.map +1 -1
- package/dist/actions/create-project-branch-anonymized.cjs +11 -11
- package/dist/actions/create-project-branch-anonymized.cjs.map +1 -1
- package/dist/actions/create-project-branch-anonymized.d.cts +13 -12
- package/dist/actions/create-project-branch-anonymized.d.cts.map +1 -1
- package/dist/actions/create-project-branch-anonymized.d.mts +13 -12
- package/dist/actions/create-project-branch-anonymized.d.mts.map +1 -1
- package/dist/actions/create-project-branch-anonymized.mjs +11 -11
- package/dist/actions/create-project-branch-anonymized.mjs.map +1 -1
- package/dist/actions/create-project-with-quota-and-settings.cjs +21 -21
- package/dist/actions/create-project-with-quota-and-settings.cjs.map +1 -1
- package/dist/actions/create-project-with-quota-and-settings.d.cts +23 -23
- package/dist/actions/create-project-with-quota-and-settings.d.mts +23 -23
- package/dist/actions/create-project-with-quota-and-settings.mjs +21 -21
- package/dist/actions/create-project-with-quota-and-settings.mjs.map +1 -1
- package/dist/actions/create-projects-transfer-requests.cjs +1 -1
- package/dist/actions/create-projects-transfer-requests.cjs.map +1 -1
- package/dist/actions/create-projects-transfer-requests.d.cts +1 -1
- package/dist/actions/create-projects-transfer-requests.d.mts +1 -1
- package/dist/actions/create-projects-transfer-requests.mjs +1 -1
- package/dist/actions/create-projects-transfer-requests.mjs.map +1 -1
- package/dist/actions/create-vpc-endpoint-label.cjs +1 -1
- package/dist/actions/create-vpc-endpoint-label.cjs.map +1 -1
- package/dist/actions/create-vpc-endpoint-label.d.cts +1 -1
- package/dist/actions/create-vpc-endpoint-label.d.mts +1 -1
- package/dist/actions/create-vpc-endpoint-label.mjs +1 -1
- package/dist/actions/create-vpc-endpoint-label.mjs.map +1 -1
- package/dist/actions/create-vpc-endpoint-with-label.cjs +1 -1
- package/dist/actions/create-vpc-endpoint-with-label.cjs.map +1 -1
- package/dist/actions/create-vpc-endpoint-with-label.d.cts +1 -1
- package/dist/actions/create-vpc-endpoint-with-label.d.mts +1 -1
- package/dist/actions/create-vpc-endpoint-with-label.mjs +1 -1
- package/dist/actions/create-vpc-endpoint-with-label.mjs.map +1 -1
- package/dist/actions/delete-api-key-by-id.cjs +1 -1
- package/dist/actions/delete-api-key-by-id.cjs.map +1 -1
- package/dist/actions/delete-api-key-by-id.d.cts +1 -1
- package/dist/actions/delete-api-key-by-id.d.mts +1 -1
- package/dist/actions/delete-api-key-by-id.mjs +1 -1
- package/dist/actions/delete-api-key-by-id.mjs.map +1 -1
- package/dist/actions/delete-auth-domains.cjs +2 -2
- package/dist/actions/delete-auth-domains.cjs.map +1 -1
- package/dist/actions/delete-auth-domains.d.cts +3 -2
- package/dist/actions/delete-auth-domains.d.mts +3 -2
- package/dist/actions/delete-auth-domains.mjs +2 -2
- package/dist/actions/delete-auth-domains.mjs.map +1 -1
- package/dist/actions/delete-auth-oauth-provider.cjs +1 -1
- package/dist/actions/delete-auth-oauth-provider.cjs.map +1 -1
- package/dist/actions/delete-auth-oauth-provider.d.cts +1 -1
- package/dist/actions/delete-auth-oauth-provider.d.mts +1 -1
- package/dist/actions/delete-auth-oauth-provider.mjs +1 -1
- package/dist/actions/delete-auth-oauth-provider.mjs.map +1 -1
- package/dist/actions/delete-auth-user.cjs +1 -1
- package/dist/actions/delete-auth-user.cjs.map +1 -1
- package/dist/actions/delete-auth-user.d.cts +1 -1
- package/dist/actions/delete-auth-user.d.mts +1 -1
- package/dist/actions/delete-auth-user.mjs +1 -1
- package/dist/actions/delete-auth-user.mjs.map +1 -1
- package/dist/actions/delete-branch-data-api.cjs +1 -1
- package/dist/actions/delete-branch-data-api.cjs.map +1 -1
- package/dist/actions/delete-branch-data-api.d.cts +1 -1
- package/dist/actions/delete-branch-data-api.d.cts.map +1 -1
- package/dist/actions/delete-branch-data-api.d.mts +1 -1
- package/dist/actions/delete-branch-data-api.d.mts.map +1 -1
- package/dist/actions/delete-branch-data-api.mjs +1 -1
- package/dist/actions/delete-branch-data-api.mjs.map +1 -1
- package/dist/actions/delete-database-from-branch.cjs +3 -3
- package/dist/actions/delete-database-from-branch.cjs.map +1 -1
- package/dist/actions/delete-database-from-branch.d.cts +3 -3
- package/dist/actions/delete-database-from-branch.d.mts +3 -3
- package/dist/actions/delete-database-from-branch.mjs +3 -3
- package/dist/actions/delete-database-from-branch.mjs.map +1 -1
- package/dist/actions/delete-organization-api-key.cjs +2 -2
- package/dist/actions/delete-organization-api-key.cjs.map +1 -1
- package/dist/actions/delete-organization-api-key.d.cts +2 -2
- package/dist/actions/delete-organization-api-key.d.mts +2 -2
- package/dist/actions/delete-organization-api-key.mjs +2 -2
- package/dist/actions/delete-organization-api-key.mjs.map +1 -1
- package/dist/actions/delete-organization-member.cjs +1 -1
- package/dist/actions/delete-organization-member.cjs.map +1 -1
- package/dist/actions/delete-organization-member.d.cts +1 -1
- package/dist/actions/delete-organization-member.d.mts +1 -1
- package/dist/actions/delete-organization-member.mjs +1 -1
- package/dist/actions/delete-organization-member.mjs.map +1 -1
- package/dist/actions/delete-project-branch-by-id.cjs +3 -3
- package/dist/actions/delete-project-branch-by-id.cjs.map +1 -1
- package/dist/actions/delete-project-branch-by-id.d.cts +3 -3
- package/dist/actions/delete-project-branch-by-id.d.mts +3 -3
- package/dist/actions/delete-project-branch-by-id.mjs +3 -3
- package/dist/actions/delete-project-branch-by-id.mjs.map +1 -1
- package/dist/actions/delete-project-branch-role.cjs +4 -4
- package/dist/actions/delete-project-branch-role.cjs.map +1 -1
- package/dist/actions/delete-project-branch-role.d.cts +4 -4
- package/dist/actions/delete-project-branch-role.d.mts +4 -4
- package/dist/actions/delete-project-branch-role.mjs +4 -4
- package/dist/actions/delete-project-branch-role.mjs.map +1 -1
- package/dist/actions/delete-project-by-id.cjs +1 -1
- package/dist/actions/delete-project-by-id.cjs.map +1 -1
- package/dist/actions/delete-project-by-id.d.cts +1 -1
- package/dist/actions/delete-project-by-id.d.mts +1 -1
- package/dist/actions/delete-project-by-id.mjs +1 -1
- package/dist/actions/delete-project-by-id.mjs.map +1 -1
- package/dist/actions/delete-project-endpoint.cjs +6 -6
- package/dist/actions/delete-project-endpoint.cjs.map +1 -1
- package/dist/actions/delete-project-endpoint.d.cts +6 -6
- package/dist/actions/delete-project-endpoint.d.mts +6 -6
- package/dist/actions/delete-project-endpoint.mjs +6 -6
- package/dist/actions/delete-project-endpoint.mjs.map +1 -1
- package/dist/actions/delete-project-jwks-by-id.cjs +1 -1
- package/dist/actions/delete-project-jwks-by-id.cjs.map +1 -1
- package/dist/actions/delete-project-jwks-by-id.d.cts +1 -1
- package/dist/actions/delete-project-jwks-by-id.d.mts +1 -1
- package/dist/actions/delete-project-jwks-by-id.mjs +1 -1
- package/dist/actions/delete-project-jwks-by-id.mjs.map +1 -1
- package/dist/actions/delete-project-permission.cjs +2 -2
- package/dist/actions/delete-project-permission.cjs.map +1 -1
- package/dist/actions/delete-project-permission.d.cts +2 -2
- package/dist/actions/delete-project-permission.d.mts +2 -2
- package/dist/actions/delete-project-permission.mjs +2 -2
- package/dist/actions/delete-project-permission.mjs.map +1 -1
- package/dist/actions/delete-project-snapshot.cjs +2 -2
- package/dist/actions/delete-project-snapshot.cjs.map +1 -1
- package/dist/actions/delete-project-snapshot.d.cts +2 -2
- package/dist/actions/delete-project-snapshot.d.mts +2 -2
- package/dist/actions/delete-project-snapshot.mjs +2 -2
- package/dist/actions/delete-project-snapshot.mjs.map +1 -1
- package/dist/actions/delete-vpc-endpoint-by-ids.cjs +2 -2
- package/dist/actions/delete-vpc-endpoint-by-ids.cjs.map +1 -1
- package/dist/actions/delete-vpc-endpoint-by-ids.d.cts +2 -2
- package/dist/actions/delete-vpc-endpoint-by-ids.d.mts +2 -2
- package/dist/actions/delete-vpc-endpoint-by-ids.mjs +2 -2
- package/dist/actions/delete-vpc-endpoint-by-ids.mjs.map +1 -1
- package/dist/actions/delete-vpc-endpoint-by-project-id.cjs +1 -1
- package/dist/actions/delete-vpc-endpoint-by-project-id.cjs.map +1 -1
- package/dist/actions/delete-vpc-endpoint-by-project-id.d.cts +1 -1
- package/dist/actions/delete-vpc-endpoint-by-project-id.d.mts +1 -1
- package/dist/actions/delete-vpc-endpoint-by-project-id.mjs +1 -1
- package/dist/actions/delete-vpc-endpoint-by-project-id.mjs.map +1 -1
- package/dist/actions/fetch-database-for-branch.cjs +2 -2
- package/dist/actions/fetch-database-for-branch.cjs.map +1 -1
- package/dist/actions/fetch-database-for-branch.d.cts +2 -2
- package/dist/actions/fetch-database-for-branch.d.mts +2 -2
- package/dist/actions/fetch-database-for-branch.mjs +2 -2
- package/dist/actions/fetch-database-for-branch.mjs.map +1 -1
- package/dist/actions/fetch-organization-members-by-id.cjs +4 -4
- package/dist/actions/fetch-organization-members-by-id.cjs.map +1 -1
- package/dist/actions/fetch-organization-members-by-id.d.cts +4 -4
- package/dist/actions/fetch-organization-members-by-id.d.mts +4 -4
- package/dist/actions/fetch-organization-members-by-id.mjs +4 -4
- package/dist/actions/fetch-organization-members-by-id.mjs.map +1 -1
- package/dist/actions/fetch-vpcendpoint-details-by-id.cjs +1 -1
- package/dist/actions/fetch-vpcendpoint-details-by-id.cjs.map +1 -1
- package/dist/actions/fetch-vpcendpoint-details-by-id.d.cts +1 -1
- package/dist/actions/fetch-vpcendpoint-details-by-id.d.mts +1 -1
- package/dist/actions/fetch-vpcendpoint-details-by-id.mjs +1 -1
- package/dist/actions/fetch-vpcendpoint-details-by-id.mjs.map +1 -1
- package/dist/actions/finalize-branch-restore.cjs +1 -1
- package/dist/actions/finalize-branch-restore.cjs.map +1 -1
- package/dist/actions/finalize-branch-restore.d.cts +1 -1
- package/dist/actions/finalize-branch-restore.d.mts +1 -1
- package/dist/actions/finalize-branch-restore.mjs +1 -1
- package/dist/actions/finalize-branch-restore.mjs.map +1 -1
- package/dist/actions/get-auth-allow-localhost.cjs +1 -1
- package/dist/actions/get-auth-allow-localhost.cjs.map +1 -1
- package/dist/actions/get-auth-allow-localhost.d.cts +1 -1
- package/dist/actions/get-auth-allow-localhost.d.mts +1 -1
- package/dist/actions/get-auth-allow-localhost.mjs +1 -1
- package/dist/actions/get-auth-allow-localhost.mjs.map +1 -1
- package/dist/actions/get-auth-email-provider.cjs +1 -1
- package/dist/actions/get-auth-email-provider.cjs.map +1 -1
- package/dist/actions/get-auth-email-provider.d.cts +1 -1
- package/dist/actions/get-auth-email-provider.d.mts +1 -1
- package/dist/actions/get-auth-email-provider.mjs +1 -1
- package/dist/actions/get-auth-email-provider.mjs.map +1 -1
- package/dist/actions/get-auth.cjs +1 -1
- package/dist/actions/get-auth.cjs.map +1 -1
- package/dist/actions/get-auth.d.cts +1 -1
- package/dist/actions/get-auth.d.mts +1 -1
- package/dist/actions/get-auth.mjs +1 -1
- package/dist/actions/get-auth.mjs.map +1 -1
- package/dist/actions/get-available-preload-libraries.cjs +2 -2
- package/dist/actions/get-available-preload-libraries.cjs.map +1 -1
- package/dist/actions/get-available-preload-libraries.d.cts +2 -2
- package/dist/actions/get-available-preload-libraries.d.mts +2 -2
- package/dist/actions/get-available-preload-libraries.mjs +2 -2
- package/dist/actions/get-available-preload-libraries.mjs.map +1 -1
- package/dist/actions/get-branch-roles-for-project.cjs +2 -2
- package/dist/actions/get-branch-roles-for-project.cjs.map +1 -1
- package/dist/actions/get-branch-roles-for-project.d.cts +2 -2
- package/dist/actions/get-branch-roles-for-project.d.mts +2 -2
- package/dist/actions/get-branch-roles-for-project.mjs +2 -2
- package/dist/actions/get-branch-roles-for-project.mjs.map +1 -1
- package/dist/actions/get-branches-anonymized-status.cjs +1 -1
- package/dist/actions/get-branches-anonymized-status.cjs.map +1 -1
- package/dist/actions/get-branches-anonymized-status.d.cts +1 -1
- package/dist/actions/get-branches-anonymized-status.d.mts +1 -1
- package/dist/actions/get-branches-anonymized-status.mjs +1 -1
- package/dist/actions/get-branches-anonymized-status.mjs.map +1 -1
- package/dist/actions/get-branches-backup-schedule.cjs +2 -2
- package/dist/actions/get-branches-backup-schedule.cjs.map +1 -1
- package/dist/actions/get-branches-backup-schedule.d.cts +2 -2
- package/dist/actions/get-branches-backup-schedule.d.mts +2 -2
- package/dist/actions/get-branches-backup-schedule.mjs +2 -2
- package/dist/actions/get-branches-backup-schedule.mjs.map +1 -1
- package/dist/actions/get-branches-data-api.cjs +2 -2
- package/dist/actions/get-branches-data-api.cjs.map +1 -1
- package/dist/actions/get-branches-data-api.d.cts +2 -2
- package/dist/actions/get-branches-data-api.d.mts +2 -2
- package/dist/actions/get-branches-data-api.mjs +2 -2
- package/dist/actions/get-branches-data-api.mjs.map +1 -1
- package/dist/actions/get-branches-for-project.cjs +4 -4
- package/dist/actions/get-branches-for-project.cjs.map +1 -1
- package/dist/actions/get-branches-for-project.d.cts +4 -4
- package/dist/actions/get-branches-for-project.d.mts +4 -4
- package/dist/actions/get-branches-for-project.mjs +4 -4
- package/dist/actions/get-branches-for-project.mjs.map +1 -1
- package/dist/actions/get-branches-masking-rules.cjs +2 -2
- package/dist/actions/get-branches-masking-rules.cjs.map +1 -1
- package/dist/actions/get-branches-masking-rules.d.cts +2 -2
- package/dist/actions/get-branches-masking-rules.d.mts +2 -2
- package/dist/actions/get-branches-masking-rules.mjs +2 -2
- package/dist/actions/get-branches-masking-rules.mjs.map +1 -1
- package/dist/actions/get-consumption-history-projects.cjs +4 -4
- package/dist/actions/get-consumption-history-projects.cjs.map +1 -1
- package/dist/actions/get-consumption-history-projects.d.cts +4 -4
- package/dist/actions/get-consumption-history-projects.d.mts +4 -4
- package/dist/actions/get-consumption-history-projects.mjs +4 -4
- package/dist/actions/get-consumption-history-projects.mjs.map +1 -1
- package/dist/actions/get-current-user-information.cjs +1 -1
- package/dist/actions/get-current-user-information.cjs.map +1 -1
- package/dist/actions/get-current-user-information.d.cts +1 -1
- package/dist/actions/get-current-user-information.d.mts +1 -1
- package/dist/actions/get-current-user-information.mjs +1 -1
- package/dist/actions/get-current-user-information.mjs.map +1 -1
- package/dist/actions/get-project-branch-role.cjs +3 -3
- package/dist/actions/get-project-branch-role.cjs.map +1 -1
- package/dist/actions/get-project-branch-role.d.cts +3 -3
- package/dist/actions/get-project-branch-role.d.mts +3 -3
- package/dist/actions/get-project-branch-role.mjs +3 -3
- package/dist/actions/get-project-branch-role.mjs.map +1 -1
- package/dist/actions/get-project-branch-schema-comparison.cjs +1 -1
- package/dist/actions/get-project-branch-schema-comparison.cjs.map +1 -1
- package/dist/actions/get-project-branch-schema-comparison.d.cts +1 -1
- package/dist/actions/get-project-branch-schema-comparison.d.mts +1 -1
- package/dist/actions/get-project-branch-schema-comparison.mjs +1 -1
- package/dist/actions/get-project-branch-schema-comparison.mjs.map +1 -1
- package/dist/actions/get-project-branches.cjs +5 -5
- package/dist/actions/get-project-branches.cjs.map +1 -1
- package/dist/actions/get-project-branches.d.cts +5 -5
- package/dist/actions/get-project-branches.d.mts +5 -5
- package/dist/actions/get-project-branches.mjs +5 -5
- package/dist/actions/get-project-branches.mjs.map +1 -1
- package/dist/actions/get-project-connection-uri.cjs +1 -1
- package/dist/actions/get-project-connection-uri.cjs.map +1 -1
- package/dist/actions/get-project-connection-uri.d.cts +1 -1
- package/dist/actions/get-project-connection-uri.d.mts +1 -1
- package/dist/actions/get-project-connection-uri.mjs +1 -1
- package/dist/actions/get-project-connection-uri.mjs.map +1 -1
- package/dist/actions/get-project-operation-by-id.cjs +2 -2
- package/dist/actions/get-project-operation-by-id.cjs.map +1 -1
- package/dist/actions/get-project-operation-by-id.d.cts +2 -2
- package/dist/actions/get-project-operation-by-id.d.mts +2 -2
- package/dist/actions/get-project-operation-by-id.mjs +2 -2
- package/dist/actions/get-project-operation-by-id.mjs.map +1 -1
- package/dist/actions/get-schema-for-project-branch.cjs +1 -1
- package/dist/actions/get-schema-for-project-branch.cjs.map +1 -1
- package/dist/actions/get-schema-for-project-branch.d.cts +1 -1
- package/dist/actions/get-schema-for-project-branch.d.mts +1 -1
- package/dist/actions/get-schema-for-project-branch.mjs +1 -1
- package/dist/actions/get-schema-for-project-branch.mjs.map +1 -1
- package/dist/actions/get-user-organizations.cjs +2 -2
- package/dist/actions/get-user-organizations.cjs.map +1 -1
- package/dist/actions/get-user-organizations.d.cts +2 -2
- package/dist/actions/get-user-organizations.d.mts +2 -2
- package/dist/actions/get-user-organizations.mjs +2 -2
- package/dist/actions/get-user-organizations.mjs.map +1 -1
- package/dist/actions/get-vpc-region-endpoints.cjs +2 -2
- package/dist/actions/get-vpc-region-endpoints.cjs.map +1 -1
- package/dist/actions/get-vpc-region-endpoints.d.cts +2 -2
- package/dist/actions/get-vpc-region-endpoints.d.mts +2 -2
- package/dist/actions/get-vpc-region-endpoints.mjs +2 -2
- package/dist/actions/get-vpc-region-endpoints.mjs.map +1 -1
- package/dist/actions/list-auth-domains.cjs +2 -2
- package/dist/actions/list-auth-domains.cjs.map +1 -1
- package/dist/actions/list-auth-domains.d.cts +2 -2
- package/dist/actions/list-auth-domains.d.mts +2 -2
- package/dist/actions/list-auth-domains.mjs +2 -2
- package/dist/actions/list-auth-domains.mjs.map +1 -1
- package/dist/actions/list-auth-oauth-providers2.cjs +2 -2
- package/dist/actions/list-auth-oauth-providers2.cjs.map +1 -1
- package/dist/actions/list-auth-oauth-providers2.d.cts +2 -2
- package/dist/actions/list-auth-oauth-providers2.d.mts +2 -2
- package/dist/actions/list-auth-oauth-providers2.mjs +2 -2
- package/dist/actions/list-auth-oauth-providers2.mjs.map +1 -1
- package/dist/actions/list-projects-snapshots.cjs +2 -2
- package/dist/actions/list-projects-snapshots.cjs.map +1 -1
- package/dist/actions/list-projects-snapshots.d.cts +2 -2
- package/dist/actions/list-projects-snapshots.d.mts +2 -2
- package/dist/actions/list-projects-snapshots.mjs +2 -2
- package/dist/actions/list-projects-snapshots.mjs.map +1 -1
- package/dist/actions/list-shared-projects.cjs +5 -5
- package/dist/actions/list-shared-projects.cjs.map +1 -1
- package/dist/actions/list-shared-projects.d.cts +5 -5
- package/dist/actions/list-shared-projects.d.mts +5 -5
- package/dist/actions/list-shared-projects.mjs +5 -5
- package/dist/actions/list-shared-projects.mjs.map +1 -1
- package/dist/actions/list-vpc-vpc-endpoints.cjs +2 -2
- package/dist/actions/list-vpc-vpc-endpoints.cjs.map +1 -1
- package/dist/actions/list-vpc-vpc-endpoints.d.cts +2 -2
- package/dist/actions/list-vpc-vpc-endpoints.d.mts +2 -2
- package/dist/actions/list-vpc-vpc-endpoints.mjs +2 -2
- package/dist/actions/list-vpc-vpc-endpoints.mjs.map +1 -1
- package/dist/actions/modify-branch-details-in-project.cjs +1 -1
- package/dist/actions/modify-branch-details-in-project.cjs.map +1 -1
- package/dist/actions/modify-branch-details-in-project.d.cts +1 -1
- package/dist/actions/modify-branch-details-in-project.d.mts +1 -1
- package/dist/actions/modify-branch-details-in-project.mjs +1 -1
- package/dist/actions/modify-branch-details-in-project.mjs.map +1 -1
- package/dist/actions/patch-branch-database-information.cjs +3 -3
- package/dist/actions/patch-branch-database-information.cjs.map +1 -1
- package/dist/actions/patch-branch-database-information.d.cts +3 -3
- package/dist/actions/patch-branch-database-information.d.mts +3 -3
- package/dist/actions/patch-branch-database-information.mjs +3 -3
- package/dist/actions/patch-branch-database-information.mjs.map +1 -1
- package/dist/actions/reset-role-password-for-branch.cjs +4 -4
- package/dist/actions/reset-role-password-for-branch.cjs.map +1 -1
- package/dist/actions/reset-role-password-for-branch.d.cts +4 -4
- package/dist/actions/reset-role-password-for-branch.d.mts +4 -4
- package/dist/actions/reset-role-password-for-branch.mjs +4 -4
- package/dist/actions/reset-role-password-for-branch.mjs.map +1 -1
- package/dist/actions/restart-project-endpoint.cjs +1 -1
- package/dist/actions/restart-project-endpoint.cjs.map +1 -1
- package/dist/actions/restart-project-endpoint.d.cts +1 -1
- package/dist/actions/restart-project-endpoint.d.mts +1 -1
- package/dist/actions/restart-project-endpoint.mjs +1 -1
- package/dist/actions/restart-project-endpoint.mjs.map +1 -1
- package/dist/actions/restore-project-branch.cjs +3 -3
- package/dist/actions/restore-project-branch.cjs.map +1 -1
- package/dist/actions/restore-project-branch.d.cts +3 -3
- package/dist/actions/restore-project-branch.d.mts +3 -3
- package/dist/actions/restore-project-branch.mjs +3 -3
- package/dist/actions/restore-project-branch.mjs.map +1 -1
- package/dist/actions/restore-snapshot.cjs +5 -5
- package/dist/actions/restore-snapshot.cjs.map +1 -1
- package/dist/actions/restore-snapshot.d.cts +5 -5
- package/dist/actions/restore-snapshot.d.mts +5 -5
- package/dist/actions/restore-snapshot.mjs +5 -5
- package/dist/actions/restore-snapshot.mjs.map +1 -1
- package/dist/actions/retrieve-account-consumption-history.cjs +3 -3
- package/dist/actions/retrieve-account-consumption-history.cjs.map +1 -1
- package/dist/actions/retrieve-account-consumption-history.d.cts +3 -3
- package/dist/actions/retrieve-account-consumption-history.d.mts +3 -3
- package/dist/actions/retrieve-account-consumption-history.mjs +3 -3
- package/dist/actions/retrieve-account-consumption-history.mjs.map +1 -1
- package/dist/actions/retrieve-all-regions.cjs +2 -2
- package/dist/actions/retrieve-all-regions.cjs.map +1 -1
- package/dist/actions/retrieve-all-regions.d.cts +2 -2
- package/dist/actions/retrieve-all-regions.d.mts +2 -2
- package/dist/actions/retrieve-all-regions.mjs +2 -2
- package/dist/actions/retrieve-all-regions.mjs.map +1 -1
- package/dist/actions/retrieve-branch-database-details.cjs +2 -2
- package/dist/actions/retrieve-branch-database-details.cjs.map +1 -1
- package/dist/actions/retrieve-branch-database-details.d.cts +2 -2
- package/dist/actions/retrieve-branch-database-details.d.mts +2 -2
- package/dist/actions/retrieve-branch-database-details.mjs +2 -2
- package/dist/actions/retrieve-branch-database-details.mjs.map +1 -1
- package/dist/actions/retrieve-jwks-for-project.cjs +2 -2
- package/dist/actions/retrieve-jwks-for-project.cjs.map +1 -1
- package/dist/actions/retrieve-jwks-for-project.d.cts +2 -2
- package/dist/actions/retrieve-jwks-for-project.d.mts +2 -2
- package/dist/actions/retrieve-jwks-for-project.mjs +2 -2
- package/dist/actions/retrieve-jwks-for-project.mjs.map +1 -1
- package/dist/actions/retrieve-organization-by-id.cjs +1 -1
- package/dist/actions/retrieve-organization-by-id.cjs.map +1 -1
- package/dist/actions/retrieve-organization-by-id.d.cts +1 -1
- package/dist/actions/retrieve-organization-by-id.d.mts +1 -1
- package/dist/actions/retrieve-organization-by-id.mjs +1 -1
- package/dist/actions/retrieve-organization-by-id.mjs.map +1 -1
- package/dist/actions/retrieve-organization-invitations.cjs +3 -3
- package/dist/actions/retrieve-organization-invitations.cjs.map +1 -1
- package/dist/actions/retrieve-organization-invitations.d.cts +3 -3
- package/dist/actions/retrieve-organization-invitations.d.mts +3 -3
- package/dist/actions/retrieve-organization-invitations.mjs +3 -3
- package/dist/actions/retrieve-organization-invitations.mjs.map +1 -1
- package/dist/actions/retrieve-organization-member-info.cjs +2 -2
- package/dist/actions/retrieve-organization-member-info.cjs.map +1 -1
- package/dist/actions/retrieve-organization-member-info.d.cts +2 -2
- package/dist/actions/retrieve-organization-member-info.d.mts +2 -2
- package/dist/actions/retrieve-organization-member-info.mjs +2 -2
- package/dist/actions/retrieve-organization-member-info.mjs.map +1 -1
- package/dist/actions/retrieve-project-endpoint-details.cjs +1 -1
- package/dist/actions/retrieve-project-endpoint-details.cjs.map +1 -1
- package/dist/actions/retrieve-project-endpoint-details.d.cts +1 -1
- package/dist/actions/retrieve-project-endpoint-details.d.mts +1 -1
- package/dist/actions/retrieve-project-endpoint-details.mjs +1 -1
- package/dist/actions/retrieve-project-endpoint-details.mjs.map +1 -1
- package/dist/actions/retrieve-project-operations.cjs +3 -3
- package/dist/actions/retrieve-project-operations.cjs.map +1 -1
- package/dist/actions/retrieve-project-operations.d.cts +3 -3
- package/dist/actions/retrieve-project-operations.d.mts +3 -3
- package/dist/actions/retrieve-project-operations.mjs +3 -3
- package/dist/actions/retrieve-project-operations.mjs.map +1 -1
- package/dist/actions/retrieve-projects-list.cjs +13 -13
- package/dist/actions/retrieve-projects-list.cjs.map +1 -1
- package/dist/actions/retrieve-projects-list.d.cts +13 -13
- package/dist/actions/retrieve-projects-list.d.mts +13 -13
- package/dist/actions/retrieve-projects-list.mjs +13 -13
- package/dist/actions/retrieve-projects-list.mjs.map +1 -1
- package/dist/actions/retrieve-vpc-endpoints-for-project.cjs +2 -2
- package/dist/actions/retrieve-vpc-endpoints-for-project.cjs.map +1 -1
- package/dist/actions/retrieve-vpc-endpoints-for-project.d.cts +2 -2
- package/dist/actions/retrieve-vpc-endpoints-for-project.d.mts +2 -2
- package/dist/actions/retrieve-vpc-endpoints-for-project.mjs +2 -2
- package/dist/actions/retrieve-vpc-endpoints-for-project.mjs.map +1 -1
- package/dist/actions/reveal-role-password-in-branch.cjs +1 -1
- package/dist/actions/reveal-role-password-in-branch.cjs.map +1 -1
- package/dist/actions/reveal-role-password-in-branch.d.cts +1 -1
- package/dist/actions/reveal-role-password-in-branch.d.mts +1 -1
- package/dist/actions/reveal-role-password-in-branch.mjs +1 -1
- package/dist/actions/reveal-role-password-in-branch.mjs.map +1 -1
- package/dist/actions/send-auth-test-email.cjs +1 -1
- package/dist/actions/send-auth-test-email.cjs.map +1 -1
- package/dist/actions/send-auth-test-email.d.cts +1 -1
- package/dist/actions/send-auth-test-email.d.mts +1 -1
- package/dist/actions/send-auth-test-email.mjs +1 -1
- package/dist/actions/send-auth-test-email.mjs.map +1 -1
- package/dist/actions/send-organization-invitations.cjs +3 -3
- package/dist/actions/send-organization-invitations.cjs.map +1 -1
- package/dist/actions/send-organization-invitations.d.cts +4 -3
- package/dist/actions/send-organization-invitations.d.mts +4 -3
- package/dist/actions/send-organization-invitations.mjs +3 -3
- package/dist/actions/send-organization-invitations.mjs.map +1 -1
- package/dist/actions/set-branch-as-default.cjs +3 -3
- package/dist/actions/set-branch-as-default.cjs.map +1 -1
- package/dist/actions/set-branch-as-default.d.cts +3 -3
- package/dist/actions/set-branch-as-default.d.mts +3 -3
- package/dist/actions/set-branch-as-default.mjs +3 -3
- package/dist/actions/set-branch-as-default.mjs.map +1 -1
- package/dist/actions/start-branch-anonymization.cjs +2 -2
- package/dist/actions/start-branch-anonymization.cjs.map +1 -1
- package/dist/actions/start-branch-anonymization.d.cts +2 -2
- package/dist/actions/start-branch-anonymization.d.mts +2 -2
- package/dist/actions/start-branch-anonymization.mjs +2 -2
- package/dist/actions/start-branch-anonymization.mjs.map +1 -1
- package/dist/actions/start-endpoint-for-project.cjs +1 -1
- package/dist/actions/start-endpoint-for-project.cjs.map +1 -1
- package/dist/actions/start-endpoint-for-project.d.cts +1 -1
- package/dist/actions/start-endpoint-for-project.d.mts +1 -1
- package/dist/actions/start-endpoint-for-project.mjs +1 -1
- package/dist/actions/start-endpoint-for-project.mjs.map +1 -1
- package/dist/actions/suspend-project-endpoint-by-id.cjs +3 -3
- package/dist/actions/suspend-project-endpoint-by-id.cjs.map +1 -1
- package/dist/actions/suspend-project-endpoint-by-id.d.cts +3 -3
- package/dist/actions/suspend-project-endpoint-by-id.d.mts +3 -3
- package/dist/actions/suspend-project-endpoint-by-id.mjs +3 -3
- package/dist/actions/suspend-project-endpoint-by-id.mjs.map +1 -1
- package/dist/actions/transfer-projects-between-organizations.cjs +1 -1
- package/dist/actions/transfer-projects-between-organizations.cjs.map +1 -1
- package/dist/actions/transfer-projects-between-organizations.d.cts +1 -1
- package/dist/actions/transfer-projects-between-organizations.d.cts.map +1 -1
- package/dist/actions/transfer-projects-between-organizations.d.mts +1 -1
- package/dist/actions/transfer-projects-between-organizations.d.mts.map +1 -1
- package/dist/actions/transfer-projects-between-organizations.mjs +1 -1
- package/dist/actions/transfer-projects-between-organizations.mjs.map +1 -1
- package/dist/actions/transfer-user-projects-to-organization.cjs +2 -2
- package/dist/actions/transfer-user-projects-to-organization.cjs.map +1 -1
- package/dist/actions/transfer-user-projects-to-organization.d.cts +2 -2
- package/dist/actions/transfer-user-projects-to-organization.d.mts +2 -2
- package/dist/actions/transfer-user-projects-to-organization.mjs +2 -2
- package/dist/actions/transfer-user-projects-to-organization.mjs.map +1 -1
- package/dist/actions/update-auth-allow-localhost.cjs +1 -1
- package/dist/actions/update-auth-allow-localhost.cjs.map +1 -1
- package/dist/actions/update-auth-allow-localhost.d.cts +1 -1
- package/dist/actions/update-auth-allow-localhost.d.mts +1 -1
- package/dist/actions/update-auth-allow-localhost.mjs +1 -1
- package/dist/actions/update-auth-allow-localhost.mjs.map +1 -1
- package/dist/actions/update-auth-email-provider.cjs +1 -1
- package/dist/actions/update-auth-email-provider.cjs.map +1 -1
- package/dist/actions/update-auth-email-provider.d.cts +1 -1
- package/dist/actions/update-auth-email-provider.d.mts +1 -1
- package/dist/actions/update-auth-email-provider.mjs +1 -1
- package/dist/actions/update-auth-email-provider.mjs.map +1 -1
- package/dist/actions/update-branches-data-api.cjs +1 -1
- package/dist/actions/update-branches-data-api.cjs.map +1 -1
- package/dist/actions/update-branches-data-api.d.cts +1 -1
- package/dist/actions/update-branches-data-api.d.cts.map +1 -1
- package/dist/actions/update-branches-data-api.d.mts +1 -1
- package/dist/actions/update-branches-data-api.d.mts.map +1 -1
- package/dist/actions/update-branches-data-api.mjs +1 -1
- package/dist/actions/update-branches-data-api.mjs.map +1 -1
- package/dist/actions/update-branches-masking-rules.cjs +3 -3
- package/dist/actions/update-branches-masking-rules.cjs.map +1 -1
- package/dist/actions/update-branches-masking-rules.d.cts +4 -3
- package/dist/actions/update-branches-masking-rules.d.mts +4 -3
- package/dist/actions/update-branches-masking-rules.mjs +3 -3
- package/dist/actions/update-branches-masking-rules.mjs.map +1 -1
- package/dist/actions/update-organization-member-role.cjs +1 -1
- package/dist/actions/update-organization-member-role.cjs.map +1 -1
- package/dist/actions/update-organization-member-role.d.cts +1 -1
- package/dist/actions/update-organization-member-role.d.mts +1 -1
- package/dist/actions/update-organization-member-role.mjs +1 -1
- package/dist/actions/update-organization-member-role.mjs.map +1 -1
- package/dist/actions/update-project-compute-endpoint-settings.cjs +6 -6
- package/dist/actions/update-project-compute-endpoint-settings.cjs.map +1 -1
- package/dist/actions/update-project-compute-endpoint-settings.d.cts +8 -8
- package/dist/actions/update-project-compute-endpoint-settings.d.mts +8 -8
- package/dist/actions/update-project-compute-endpoint-settings.mjs +6 -6
- package/dist/actions/update-project-compute-endpoint-settings.mjs.map +1 -1
- package/dist/actions/update-project-settings-by-id.cjs +12 -12
- package/dist/actions/update-project-settings-by-id.cjs.map +1 -1
- package/dist/actions/update-project-settings-by-id.d.cts +14 -14
- package/dist/actions/update-project-settings-by-id.d.mts +14 -14
- package/dist/actions/update-project-settings-by-id.mjs +12 -12
- package/dist/actions/update-project-settings-by-id.mjs.map +1 -1
- package/dist/actions/update-projects-snapshots.cjs +2 -2
- package/dist/actions/update-projects-snapshots.cjs.map +1 -1
- package/dist/actions/update-projects-snapshots.d.cts +2 -2
- package/dist/actions/update-projects-snapshots.d.mts +2 -2
- package/dist/actions/update-projects-snapshots.mjs +2 -2
- package/dist/actions/update-projects-snapshots.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ declare const NeonUpdateOrganizationMemberRoleOutput: z.ZodObject<{
|
|
|
15
15
|
orgId: z.ZodNullable<z.ZodString>;
|
|
16
16
|
userId: z.ZodNullable<z.ZodString>;
|
|
17
17
|
joinedAt: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const neonUpdateOrganizationMemberRole: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
role: "member" | "admin";
|
|
21
21
|
org_id: string;
|
|
@@ -15,7 +15,7 @@ declare const NeonUpdateOrganizationMemberRoleOutput: z.ZodObject<{
|
|
|
15
15
|
orgId: z.ZodNullable<z.ZodString>;
|
|
16
16
|
userId: z.ZodNullable<z.ZodString>;
|
|
17
17
|
joinedAt: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const neonUpdateOrganizationMemberRole: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
role: "member" | "admin";
|
|
21
21
|
org_id: string;
|
|
@@ -15,7 +15,7 @@ const neonUpdateOrganizationMemberRole = action("NEON_UPDATE_ORGANIZATION_MEMBER
|
|
|
15
15
|
orgId: z.string().describe("The organization identifier.").nullable(),
|
|
16
16
|
userId: z.string().describe("The unique ID of the user's Neon account.").nullable(),
|
|
17
17
|
joinedAt: z.string().describe("ISO 8601 timestamp indicating when the member joined the organization.").nullable()
|
|
18
|
-
}).describe("Response schema for `UpdateOrganizationMemberRole`")
|
|
18
|
+
}).passthrough().describe("Response schema for `UpdateOrganizationMemberRole`")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { neonUpdateOrganizationMemberRole };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-organization-member-role.mjs","names":[],"sources":["../../src/actions/update-organization-member-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonUpdateOrganizationMemberRoleInput = z.object({\n role: z.enum([\"admin\", \"member\"]).describe(\"The role of the organization member\"),\n org_id: z.string().describe(\"The Neon organization ID\"),\n member_id: z.string().describe(\"The Neon organization member ID\"),\n}).describe(\"Request schema for `UpdateOrganizationMemberRole`\");\nexport const NeonUpdateOrganizationMemberRoleOutput = z.object({\n id: z.string().describe(\"The unique identifier for the member.\").nullable(),\n role: z.string().describe(\"The member's current role in the organization (e.g., 'admin', 'member').\").nullable(),\n orgId: z.string().describe(\"The organization identifier.\").nullable(),\n userId: z.string().describe(\"The unique ID of the user's Neon account.\").nullable(),\n joinedAt: z.string().describe(\"ISO 8601 timestamp indicating when the member joined the organization.\").nullable(),\n}).describe(\"Response schema for `UpdateOrganizationMemberRole`\");\n\nexport const neonUpdateOrganizationMemberRole = action(\"NEON_UPDATE_ORGANIZATION_MEMBER_ROLE\", {\n slug: \"neon-update-organization-member-role\",\n name: \"Update organization member role\",\n description: \"Updates the role of a specific member within an organization in the Neon B2B SaaS integration platform. This endpoint allows changing a member's role between 'admin' and 'member', which affects their permissions and access levels within the organization. Use this endpoint when you need to promote a regular member to an admin role or demote an admin to a regular member role. It's crucial for managing access control and permissions within your organization. Note that this operation may have significant implications on the member's ability to manage resources and other members within the organization.\",\n input: NeonUpdateOrganizationMemberRoleInput,\n output: NeonUpdateOrganizationMemberRoleOutput,\n});\n"],"mappings":";;AAiBA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBmD,EAAE,OAAO;EAC5D,MAAM,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC;EAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAClE,CAAC,CAAC,CAAC,SAAS,mDAaH;CACP,QAboD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAC/G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-organization-member-role.mjs","names":[],"sources":["../../src/actions/update-organization-member-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonUpdateOrganizationMemberRoleInput = z.object({\n role: z.enum([\"admin\", \"member\"]).describe(\"The role of the organization member\"),\n org_id: z.string().describe(\"The Neon organization ID\"),\n member_id: z.string().describe(\"The Neon organization member ID\"),\n}).describe(\"Request schema for `UpdateOrganizationMemberRole`\");\nexport const NeonUpdateOrganizationMemberRoleOutput = z.object({\n id: z.string().describe(\"The unique identifier for the member.\").nullable(),\n role: z.string().describe(\"The member's current role in the organization (e.g., 'admin', 'member').\").nullable(),\n orgId: z.string().describe(\"The organization identifier.\").nullable(),\n userId: z.string().describe(\"The unique ID of the user's Neon account.\").nullable(),\n joinedAt: z.string().describe(\"ISO 8601 timestamp indicating when the member joined the organization.\").nullable(),\n}).passthrough().describe(\"Response schema for `UpdateOrganizationMemberRole`\");\n\nexport const neonUpdateOrganizationMemberRole = action(\"NEON_UPDATE_ORGANIZATION_MEMBER_ROLE\", {\n slug: \"neon-update-organization-member-role\",\n name: \"Update organization member role\",\n description: \"Updates the role of a specific member within an organization in the Neon B2B SaaS integration platform. This endpoint allows changing a member's role between 'admin' and 'member', which affects their permissions and access levels within the organization. Use this endpoint when you need to promote a regular member to an admin role or demote an admin to a regular member role. It's crucial for managing access control and permissions within your organization. Note that this operation may have significant implications on the member's ability to manage resources and other members within the organization.\",\n input: NeonUpdateOrganizationMemberRoleInput,\n output: NeonUpdateOrganizationMemberRoleOutput,\n});\n"],"mappings":";;AAiBA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBmD,EAAE,OAAO;EAC5D,MAAM,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC;EAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAClE,CAAC,CAAC,CAAC,SAAS,mDAaH;CACP,QAboD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAC/G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -10,13 +10,13 @@ const NeonUpdateProjectComputeEndpointSettingsInput = zod.z.object({
|
|
|
10
10
|
endpoint__pooler__mode: zod.z.enum(["transaction"]).describe("The connection pooler mode. Neon supports PgBouncer in `transaction` mode only.").optional(),
|
|
11
11
|
endpoint__pooler__enabled: zod.z.boolean().describe("Whether to enable connection pooling for the compute endpoint").optional(),
|
|
12
12
|
endpoint__passwordless__access: zod.z.boolean().describe("NOT YET IMPLEMENTED. Whether to permit passwordless access to the compute endpoint.").optional(),
|
|
13
|
-
endpoint__settings__pg__settings: zod.z.
|
|
13
|
+
endpoint__settings__pg__settings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A raw representation of Postgres settings").optional(),
|
|
14
14
|
endpoint__suspend__timeout__seconds: zod.z.number().int().describe("Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).").optional(),
|
|
15
15
|
endpoint__autoscaling__limit__max__cu: zod.z.number().int().describe("Autoscaling Limit Max Cu").optional(),
|
|
16
16
|
endpoint__autoscaling__limit__min__cu: zod.z.number().int().describe("Autoscaling Limit Min Cu").optional(),
|
|
17
|
-
endpoint__settings__pgbouncer__settings: zod.z.
|
|
17
|
+
endpoint__settings__pgbouncer__settings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A raw representation of PgBouncer settings").optional()
|
|
18
18
|
}).describe("Request schema for `UpdateProjectComputeEndpointSettings`");
|
|
19
|
-
const NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema = zod.z.object({ pg_settings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("PostgreSQL configuration parameters passed to the Postgres instance").nullable().optional() }).describe("Configuration settings for the compute endpoint");
|
|
19
|
+
const NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema = zod.z.object({ pg_settings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("PostgreSQL configuration parameters passed to the Postgres instance").nullable().optional() }).passthrough().describe("Configuration settings for the compute endpoint");
|
|
20
20
|
const NeonUpdateProjectComputeEndpointSettings_EndpointSchema = zod.z.object({
|
|
21
21
|
id: zod.z.string().describe("The compute endpoint identifier, which always starts with an ep- prefix").nullable(),
|
|
22
22
|
host: zod.z.string().describe("The fully qualified domain name for connecting to the compute endpoint").nullable(),
|
|
@@ -41,7 +41,7 @@ const NeonUpdateProjectComputeEndpointSettings_EndpointSchema = zod.z.object({
|
|
|
41
41
|
suspend_timeout_seconds: zod.z.number().int().describe("Duration of inactivity in seconds after which the compute endpoint is automatically suspended. Value 0 means use the global default, -1 means never suspend. Default is 300 seconds (5 minutes)").nullable(),
|
|
42
42
|
autoscaling_limit_max_cu: zod.z.number().describe("The maximum compute units for autoscaling. Sets a hard limit on compute consumption").nullable(),
|
|
43
43
|
autoscaling_limit_min_cu: zod.z.number().describe("The minimum compute units for autoscaling. The default minimum is 0.25 CU but can be increased").nullable()
|
|
44
|
-
}).describe("The updated compute endpoint object");
|
|
44
|
+
}).passthrough().describe("The updated compute endpoint object");
|
|
45
45
|
const NeonUpdateProjectComputeEndpointSettings_OperationSchema = zod.z.object({
|
|
46
46
|
id: zod.z.string().describe("Unique identifier for the operation").nullable(),
|
|
47
47
|
action: zod.z.string().describe("The type of operation being performed (apply_config, apply_storage_config, check_availability, create_branch, create_timeline, delete_tenant, start_compute, suspend_compute, tenant_attach, tenant_detach, tenant_reattach, timeline_archive, timeline_unarchive)").nullable(),
|
|
@@ -53,11 +53,11 @@ const NeonUpdateProjectComputeEndpointSettings_OperationSchema = zod.z.object({
|
|
|
53
53
|
endpoint_id: zod.z.string().describe("The compute endpoint identifier associated with the operation").nullable().optional(),
|
|
54
54
|
failures_count: zod.z.number().int().describe("The count of failures that occurred during the operation").nullable(),
|
|
55
55
|
total_duration_ms: zod.z.number().int().describe("Total duration of the operation in milliseconds").nullable().optional()
|
|
56
|
-
}).describe("Operation tracking asynchronous tasks");
|
|
56
|
+
}).passthrough().describe("Operation tracking asynchronous tasks");
|
|
57
57
|
const NeonUpdateProjectComputeEndpointSettingsOutput = zod.z.object({
|
|
58
58
|
endpoint: NeonUpdateProjectComputeEndpointSettings_EndpointSchema.nullable(),
|
|
59
59
|
operations: zod.z.array(NeonUpdateProjectComputeEndpointSettings_OperationSchema).describe("List of operations tracking asynchronous tasks. If not empty, the compute endpoint is not ready to use and the client must wait for the last operation to finish")
|
|
60
|
-
}).describe("Response schema for `UpdateProjectComputeEndpointSettings`");
|
|
60
|
+
}).passthrough().describe("Response schema for `UpdateProjectComputeEndpointSettings`");
|
|
61
61
|
const neonUpdateProjectComputeEndpointSettings = require_action.action("NEON_UPDATE_PROJECT_COMPUTE_ENDPOINT_SETTINGS", {
|
|
62
62
|
slug: "neon-update-project-compute-endpoint-settings",
|
|
63
63
|
name: "Update project compute endpoint settings",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-project-compute-endpoint-settings.cjs","names":["z","action"],"sources":["../../src/actions/update-project-compute-endpoint-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonUpdateProjectComputeEndpointSettingsInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The endpoint ID\"),\n endpoint__disabled: z.boolean().describe(\"Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action. However, the compute endpoint is periodically enabled by check_availability operations.\").optional(),\n endpoint__branch__id: z.string().describe(\"DEPRECATED: This field will be removed in a future release. The destination branch ID. The destination branch must not have an exsiting read-write endpoint.\").optional(),\n endpoint__provisioner: z.string().describe(\"The Neon compute provisioner. Specify the `k8s-neonvm` provisioner to create a compute endpoint that supports Autoscaling. Provisioner can be one of the following values: * k8s-pod * k8s-neonvm Clients must expect, that any string value that is not documented in the description above should be treated as a error. UNKNOWN value if safe to treat as an error too.\").optional(),\n endpoint__pooler__mode: z.enum([\"transaction\"]).describe(\"The connection pooler mode. Neon supports PgBouncer in `transaction` mode only.\").optional(),\n endpoint__pooler__enabled: z.boolean().describe(\"Whether to enable connection pooling for the compute endpoint\").optional(),\n endpoint__passwordless__access: z.boolean().describe(\"NOT YET IMPLEMENTED. Whether to permit passwordless access to the compute endpoint.\").optional(),\n endpoint__settings__pg__settings: z.object({}).describe(\"A raw representation of Postgres settings\").optional(),\n endpoint__suspend__timeout__seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).\").optional(),\n endpoint__autoscaling__limit__max__cu: z.number().int().describe(\"Autoscaling Limit Max Cu\").optional(),\n endpoint__autoscaling__limit__min__cu: z.number().int().describe(\"Autoscaling Limit Min Cu\").optional(),\n endpoint__settings__pgbouncer__settings: z.object({}).describe(\"A raw representation of PgBouncer settings\").optional(),\n}).describe(\"Request schema for `UpdateProjectComputeEndpointSettings`\");\nconst NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration parameters passed to the Postgres instance\").nullable().optional(),\n}).describe(\"Configuration settings for the compute endpoint\");\nconst NeonUpdateProjectComputeEndpointSettings_EndpointSchema = z.object({\n id: z.string().describe(\"The compute endpoint identifier, which always starts with an ep- prefix\").nullable(),\n host: z.string().describe(\"The fully qualified domain name for connecting to the compute endpoint\").nullable(),\n type: z.string().describe(\"The compute endpoint type, either read_write or read_replica\").nullable(),\n disabled: z.boolean().describe(\"Whether the compute endpoint is disabled\").nullable(),\n settings: NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier associated with the compute endpoint\").nullable(),\n region_id: z.string().describe(\"The cloud region identifier where the compute endpoint is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the compute endpoint was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The project identifier the compute endpoint belongs to\").nullable(),\n proxy_host: z.string().describe(\"The proxy server hostname for connecting to the compute endpoint\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the most recent modification to the compute endpoint (ISO 8601 format)\").nullable(),\n last_active: z.string().describe(\"Timestamp of the most recent activity on the compute endpoint (ISO 8601 format)\").nullable(),\n pooler_mode: z.string().describe(\"The connection pooling mode, typically transaction or session\").nullable(),\n provisioner: z.string().describe(\"The infrastructure provisioning system used for the compute endpoint, such as k8s-neonvm\").nullable(),\n suspended_at: z.string().describe(\"Timestamp when the compute endpoint entered suspended/idle state (ISO 8601 format)\").nullable().optional(),\n current_state: z.string().describe(\"The current operational state of the compute endpoint (init, idle, or active)\").nullable(),\n pending_state: z.string().describe(\"The state the compute endpoint is transitioning to (init, idle, or active)\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled for the compute endpoint\").nullable(),\n creation_source: z.string().describe(\"The source from which the compute endpoint was created, such as console or API\").nullable(),\n passwordless_access: z.boolean().describe(\"Whether passwordless authentication is enabled\").nullable(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. Value 0 means use the global default, -1 means never suspend. Default is 300 seconds (5 minutes)\").nullable(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum compute units for autoscaling. Sets a hard limit on compute consumption\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum compute units for autoscaling. The default minimum is 0.25 CU but can be increased\").nullable(),\n}).describe(\"The updated compute endpoint object\");\nconst NeonUpdateProjectComputeEndpointSettings_OperationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the operation\").nullable(),\n action: z.string().describe(\"The type of operation being performed (apply_config, apply_storage_config, check_availability, create_branch, create_timeline, delete_tenant, start_compute, suspend_compute, tenant_attach, tenant_detach, tenant_reattach, timeline_archive, timeline_unarchive)\").nullable(),\n status: z.string().describe(\"The current status of the operation (scheduling, running, finished, failed, cancelling, cancelled, skipped). Terminal statuses: finished, skipped, cancelled\").nullable(),\n branch_id: z.string().describe(\"The branch identifier associated with the operation\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The project identifier associated with the operation\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the most recent update to the operation (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint identifier associated with the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"The count of failures that occurred during the operation\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).describe(\"Operation tracking asynchronous tasks\");\nexport const NeonUpdateProjectComputeEndpointSettingsOutput = z.object({\n endpoint: NeonUpdateProjectComputeEndpointSettings_EndpointSchema.nullable(),\n operations: z.array(NeonUpdateProjectComputeEndpointSettings_OperationSchema).describe(\"List of operations tracking asynchronous tasks. If not empty, the compute endpoint is not ready to use and the client must wait for the last operation to finish\"),\n}).describe(\"Response schema for `UpdateProjectComputeEndpointSettings`\");\n\nexport const neonUpdateProjectComputeEndpointSettings = action(\"NEON_UPDATE_PROJECT_COMPUTE_ENDPOINT_SETTINGS\", {\n slug: \"neon-update-project-compute-endpoint-settings\",\n name: \"Update project compute endpoint settings\",\n description: \"Updates the configuration of a specific compute endpoint within a Neon project. This endpoint allows fine-tuning of various settings such as autoscaling limits, provisioner type, connection pooling, and auto-suspend behavior. It's particularly useful for optimizing performance, resource allocation, and cost management of your Neon compute endpoints. The endpoint should be used when you need to modify the behavior or resources of an existing compute endpoint to better suit your application's needs or to implement changes in your infrastructure strategy. Note that some parameters are deprecated, and care should be taken to use the most current features and settings.\",\n input: NeonUpdateProjectComputeEndpointSettingsInput,\n output: NeonUpdateProjectComputeEndpointSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAClD,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS;CACnV,sBAAsBA,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C,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,UAAU,wDAAwD,SAAS;CAC3E,YAAYA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,kKAAkK;AAC3P,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,2CAA2CC,eAAAA,OAAO,iDAAiD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-project-compute-endpoint-settings.cjs","names":["z","action"],"sources":["../../src/actions/update-project-compute-endpoint-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonUpdateProjectComputeEndpointSettingsInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The endpoint ID\"),\n endpoint__disabled: z.boolean().describe(\"Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action. However, the compute endpoint is periodically enabled by check_availability operations.\").optional(),\n endpoint__branch__id: z.string().describe(\"DEPRECATED: This field will be removed in a future release. The destination branch ID. The destination branch must not have an exsiting read-write endpoint.\").optional(),\n endpoint__provisioner: z.string().describe(\"The Neon compute provisioner. Specify the `k8s-neonvm` provisioner to create a compute endpoint that supports Autoscaling. Provisioner can be one of the following values: * k8s-pod * k8s-neonvm Clients must expect, that any string value that is not documented in the description above should be treated as a error. UNKNOWN value if safe to treat as an error too.\").optional(),\n endpoint__pooler__mode: z.enum([\"transaction\"]).describe(\"The connection pooler mode. Neon supports PgBouncer in `transaction` mode only.\").optional(),\n endpoint__pooler__enabled: z.boolean().describe(\"Whether to enable connection pooling for the compute endpoint\").optional(),\n endpoint__passwordless__access: z.boolean().describe(\"NOT YET IMPLEMENTED. Whether to permit passwordless access to the compute endpoint.\").optional(),\n endpoint__settings__pg__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of Postgres settings\").optional(),\n endpoint__suspend__timeout__seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).\").optional(),\n endpoint__autoscaling__limit__max__cu: z.number().int().describe(\"Autoscaling Limit Max Cu\").optional(),\n endpoint__autoscaling__limit__min__cu: z.number().int().describe(\"Autoscaling Limit Min Cu\").optional(),\n endpoint__settings__pgbouncer__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of PgBouncer settings\").optional(),\n}).describe(\"Request schema for `UpdateProjectComputeEndpointSettings`\");\nconst NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration parameters passed to the Postgres instance\").nullable().optional(),\n}).passthrough().describe(\"Configuration settings for the compute endpoint\");\nconst NeonUpdateProjectComputeEndpointSettings_EndpointSchema = z.object({\n id: z.string().describe(\"The compute endpoint identifier, which always starts with an ep- prefix\").nullable(),\n host: z.string().describe(\"The fully qualified domain name for connecting to the compute endpoint\").nullable(),\n type: z.string().describe(\"The compute endpoint type, either read_write or read_replica\").nullable(),\n disabled: z.boolean().describe(\"Whether the compute endpoint is disabled\").nullable(),\n settings: NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier associated with the compute endpoint\").nullable(),\n region_id: z.string().describe(\"The cloud region identifier where the compute endpoint is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the compute endpoint was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The project identifier the compute endpoint belongs to\").nullable(),\n proxy_host: z.string().describe(\"The proxy server hostname for connecting to the compute endpoint\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the most recent modification to the compute endpoint (ISO 8601 format)\").nullable(),\n last_active: z.string().describe(\"Timestamp of the most recent activity on the compute endpoint (ISO 8601 format)\").nullable(),\n pooler_mode: z.string().describe(\"The connection pooling mode, typically transaction or session\").nullable(),\n provisioner: z.string().describe(\"The infrastructure provisioning system used for the compute endpoint, such as k8s-neonvm\").nullable(),\n suspended_at: z.string().describe(\"Timestamp when the compute endpoint entered suspended/idle state (ISO 8601 format)\").nullable().optional(),\n current_state: z.string().describe(\"The current operational state of the compute endpoint (init, idle, or active)\").nullable(),\n pending_state: z.string().describe(\"The state the compute endpoint is transitioning to (init, idle, or active)\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled for the compute endpoint\").nullable(),\n creation_source: z.string().describe(\"The source from which the compute endpoint was created, such as console or API\").nullable(),\n passwordless_access: z.boolean().describe(\"Whether passwordless authentication is enabled\").nullable(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. Value 0 means use the global default, -1 means never suspend. Default is 300 seconds (5 minutes)\").nullable(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum compute units for autoscaling. Sets a hard limit on compute consumption\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum compute units for autoscaling. The default minimum is 0.25 CU but can be increased\").nullable(),\n}).passthrough().describe(\"The updated compute endpoint object\");\nconst NeonUpdateProjectComputeEndpointSettings_OperationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the operation\").nullable(),\n action: z.string().describe(\"The type of operation being performed (apply_config, apply_storage_config, check_availability, create_branch, create_timeline, delete_tenant, start_compute, suspend_compute, tenant_attach, tenant_detach, tenant_reattach, timeline_archive, timeline_unarchive)\").nullable(),\n status: z.string().describe(\"The current status of the operation (scheduling, running, finished, failed, cancelling, cancelled, skipped). Terminal statuses: finished, skipped, cancelled\").nullable(),\n branch_id: z.string().describe(\"The branch identifier associated with the operation\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The project identifier associated with the operation\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the most recent update to the operation (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint identifier associated with the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"The count of failures that occurred during the operation\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"Operation tracking asynchronous tasks\");\nexport const NeonUpdateProjectComputeEndpointSettingsOutput = z.object({\n endpoint: NeonUpdateProjectComputeEndpointSettings_EndpointSchema.nullable(),\n operations: z.array(NeonUpdateProjectComputeEndpointSettings_OperationSchema).describe(\"List of operations tracking asynchronous tasks. If not empty, the compute endpoint is not ready to use and the client must wait for the last operation to finish\"),\n}).passthrough().describe(\"Response schema for `UpdateProjectComputeEndpointSettings`\");\n\nexport const neonUpdateProjectComputeEndpointSettings = action(\"NEON_UPDATE_PROJECT_COMPUTE_ENDPOINT_SETTINGS\", {\n slug: \"neon-update-project-compute-endpoint-settings\",\n name: \"Update project compute endpoint settings\",\n description: \"Updates the configuration of a specific compute endpoint within a Neon project. This endpoint allows fine-tuning of various settings such as autoscaling limits, provisioner type, connection pooling, and auto-suspend behavior. It's particularly useful for optimizing performance, resource allocation, and cost management of your Neon compute endpoints. The endpoint should be used when you need to modify the behavior or resources of an existing compute endpoint to better suit your application's needs or to implement changes in your infrastructure strategy. Note that some parameters are deprecated, and care should be taken to use the most current features and settings.\",\n input: NeonU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;
|
|
14
14
|
endpoint__passwordless__access: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
-
endpoint__settings__pg__settings: z.ZodOptional<z.
|
|
15
|
+
endpoint__settings__pg__settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16
16
|
endpoint__suspend__timeout__seconds: z.ZodOptional<z.ZodNumber>;
|
|
17
17
|
endpoint__autoscaling__limit__max__cu: z.ZodOptional<z.ZodNumber>;
|
|
18
18
|
endpoint__autoscaling__limit__min__cu: z.ZodOptional<z.ZodNumber>;
|
|
19
|
-
endpoint__settings__pgbouncer__settings: z.ZodOptional<z.
|
|
19
|
+
endpoint__settings__pgbouncer__settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
declare const NeonUpdateProjectComputeEndpointSettingsOutput: z.ZodObject<{
|
|
22
22
|
endpoint: z.ZodNullable<z.ZodObject<{
|
|
@@ -26,7 +26,7 @@ declare const NeonUpdateProjectComputeEndpointSettingsOutput: z.ZodObject<{
|
|
|
26
26
|
disabled: z.ZodNullable<z.ZodBoolean>;
|
|
27
27
|
settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
28
|
pg_settings: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>;
|
|
30
30
|
branch_id: z.ZodNullable<z.ZodString>;
|
|
31
31
|
region_id: z.ZodNullable<z.ZodString>;
|
|
32
32
|
created_at: z.ZodNullable<z.ZodString>;
|
|
@@ -45,7 +45,7 @@ declare const NeonUpdateProjectComputeEndpointSettingsOutput: z.ZodObject<{
|
|
|
45
45
|
suspend_timeout_seconds: z.ZodNullable<z.ZodNumber>;
|
|
46
46
|
autoscaling_limit_max_cu: z.ZodNullable<z.ZodNumber>;
|
|
47
47
|
autoscaling_limit_min_cu: z.ZodNullable<z.ZodNumber>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>;
|
|
49
49
|
operations: z.ZodArray<z.ZodObject<{
|
|
50
50
|
id: z.ZodNullable<z.ZodString>;
|
|
51
51
|
action: z.ZodNullable<z.ZodString>;
|
|
@@ -57,8 +57,8 @@ declare const NeonUpdateProjectComputeEndpointSettingsOutput: z.ZodObject<{
|
|
|
57
57
|
endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
failures_count: z.ZodNullable<z.ZodNumber>;
|
|
59
59
|
total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
60
|
-
}, z.core.$
|
|
61
|
-
}, z.core.$
|
|
60
|
+
}, z.core.$loose>>;
|
|
61
|
+
}, z.core.$loose>;
|
|
62
62
|
declare const neonUpdateProjectComputeEndpointSettings: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
63
63
|
project_id: string;
|
|
64
64
|
endpoint_id: string;
|
|
@@ -68,11 +68,11 @@ declare const neonUpdateProjectComputeEndpointSettings: import("@keystrokehq/act
|
|
|
68
68
|
endpoint__pooler__mode?: "transaction" | undefined;
|
|
69
69
|
endpoint__pooler__enabled?: boolean | undefined;
|
|
70
70
|
endpoint__passwordless__access?: boolean | undefined;
|
|
71
|
-
endpoint__settings__pg__settings?: Record<string,
|
|
71
|
+
endpoint__settings__pg__settings?: Record<string, unknown> | undefined;
|
|
72
72
|
endpoint__suspend__timeout__seconds?: number | undefined;
|
|
73
73
|
endpoint__autoscaling__limit__max__cu?: number | undefined;
|
|
74
74
|
endpoint__autoscaling__limit__min__cu?: number | undefined;
|
|
75
|
-
endpoint__settings__pgbouncer__settings?: Record<string,
|
|
75
|
+
endpoint__settings__pgbouncer__settings?: Record<string, unknown> | undefined;
|
|
76
76
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
77
77
|
//#endregion
|
|
78
78
|
export { neonUpdateProjectComputeEndpointSettings };
|
|
@@ -12,11 +12,11 @@ declare const NeonUpdateProjectComputeEndpointSettingsInput: z.ZodObject<{
|
|
|
12
12
|
}>>;
|
|
13
13
|
endpoint__pooler__enabled: z.ZodOptional<z.ZodBoolean>;
|
|
14
14
|
endpoint__passwordless__access: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
-
endpoint__settings__pg__settings: z.ZodOptional<z.
|
|
15
|
+
endpoint__settings__pg__settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16
16
|
endpoint__suspend__timeout__seconds: z.ZodOptional<z.ZodNumber>;
|
|
17
17
|
endpoint__autoscaling__limit__max__cu: z.ZodOptional<z.ZodNumber>;
|
|
18
18
|
endpoint__autoscaling__limit__min__cu: z.ZodOptional<z.ZodNumber>;
|
|
19
|
-
endpoint__settings__pgbouncer__settings: z.ZodOptional<z.
|
|
19
|
+
endpoint__settings__pgbouncer__settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
declare const NeonUpdateProjectComputeEndpointSettingsOutput: z.ZodObject<{
|
|
22
22
|
endpoint: z.ZodNullable<z.ZodObject<{
|
|
@@ -26,7 +26,7 @@ declare const NeonUpdateProjectComputeEndpointSettingsOutput: z.ZodObject<{
|
|
|
26
26
|
disabled: z.ZodNullable<z.ZodBoolean>;
|
|
27
27
|
settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
28
|
pg_settings: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>;
|
|
30
30
|
branch_id: z.ZodNullable<z.ZodString>;
|
|
31
31
|
region_id: z.ZodNullable<z.ZodString>;
|
|
32
32
|
created_at: z.ZodNullable<z.ZodString>;
|
|
@@ -45,7 +45,7 @@ declare const NeonUpdateProjectComputeEndpointSettingsOutput: z.ZodObject<{
|
|
|
45
45
|
suspend_timeout_seconds: z.ZodNullable<z.ZodNumber>;
|
|
46
46
|
autoscaling_limit_max_cu: z.ZodNullable<z.ZodNumber>;
|
|
47
47
|
autoscaling_limit_min_cu: z.ZodNullable<z.ZodNumber>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>;
|
|
49
49
|
operations: z.ZodArray<z.ZodObject<{
|
|
50
50
|
id: z.ZodNullable<z.ZodString>;
|
|
51
51
|
action: z.ZodNullable<z.ZodString>;
|
|
@@ -57,8 +57,8 @@ declare const NeonUpdateProjectComputeEndpointSettingsOutput: z.ZodObject<{
|
|
|
57
57
|
endpoint_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
failures_count: z.ZodNullable<z.ZodNumber>;
|
|
59
59
|
total_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
60
|
-
}, z.core.$
|
|
61
|
-
}, z.core.$
|
|
60
|
+
}, z.core.$loose>>;
|
|
61
|
+
}, z.core.$loose>;
|
|
62
62
|
declare const neonUpdateProjectComputeEndpointSettings: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
63
63
|
project_id: string;
|
|
64
64
|
endpoint_id: string;
|
|
@@ -68,11 +68,11 @@ declare const neonUpdateProjectComputeEndpointSettings: import("@keystrokehq/act
|
|
|
68
68
|
endpoint__pooler__mode?: "transaction" | undefined;
|
|
69
69
|
endpoint__pooler__enabled?: boolean | undefined;
|
|
70
70
|
endpoint__passwordless__access?: boolean | undefined;
|
|
71
|
-
endpoint__settings__pg__settings?: Record<string,
|
|
71
|
+
endpoint__settings__pg__settings?: Record<string, unknown> | undefined;
|
|
72
72
|
endpoint__suspend__timeout__seconds?: number | undefined;
|
|
73
73
|
endpoint__autoscaling__limit__max__cu?: number | undefined;
|
|
74
74
|
endpoint__autoscaling__limit__min__cu?: number | undefined;
|
|
75
|
-
endpoint__settings__pgbouncer__settings?: Record<string,
|
|
75
|
+
endpoint__settings__pgbouncer__settings?: Record<string, unknown> | undefined;
|
|
76
76
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
77
77
|
//#endregion
|
|
78
78
|
export { neonUpdateProjectComputeEndpointSettings };
|
|
@@ -10,13 +10,13 @@ const NeonUpdateProjectComputeEndpointSettingsInput = z.object({
|
|
|
10
10
|
endpoint__pooler__mode: z.enum(["transaction"]).describe("The connection pooler mode. Neon supports PgBouncer in `transaction` mode only.").optional(),
|
|
11
11
|
endpoint__pooler__enabled: z.boolean().describe("Whether to enable connection pooling for the compute endpoint").optional(),
|
|
12
12
|
endpoint__passwordless__access: z.boolean().describe("NOT YET IMPLEMENTED. Whether to permit passwordless access to the compute endpoint.").optional(),
|
|
13
|
-
endpoint__settings__pg__settings: z.
|
|
13
|
+
endpoint__settings__pg__settings: z.record(z.string(), z.unknown()).describe("A raw representation of Postgres settings").optional(),
|
|
14
14
|
endpoint__suspend__timeout__seconds: z.number().int().describe("Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).").optional(),
|
|
15
15
|
endpoint__autoscaling__limit__max__cu: z.number().int().describe("Autoscaling Limit Max Cu").optional(),
|
|
16
16
|
endpoint__autoscaling__limit__min__cu: z.number().int().describe("Autoscaling Limit Min Cu").optional(),
|
|
17
|
-
endpoint__settings__pgbouncer__settings: z.
|
|
17
|
+
endpoint__settings__pgbouncer__settings: z.record(z.string(), z.unknown()).describe("A raw representation of PgBouncer settings").optional()
|
|
18
18
|
}).describe("Request schema for `UpdateProjectComputeEndpointSettings`");
|
|
19
|
-
const NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema = z.object({ pg_settings: z.record(z.string(), z.unknown()).describe("PostgreSQL configuration parameters passed to the Postgres instance").nullable().optional() }).describe("Configuration settings for the compute endpoint");
|
|
19
|
+
const NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema = z.object({ pg_settings: z.record(z.string(), z.unknown()).describe("PostgreSQL configuration parameters passed to the Postgres instance").nullable().optional() }).passthrough().describe("Configuration settings for the compute endpoint");
|
|
20
20
|
const NeonUpdateProjectComputeEndpointSettings_EndpointSchema = z.object({
|
|
21
21
|
id: z.string().describe("The compute endpoint identifier, which always starts with an ep- prefix").nullable(),
|
|
22
22
|
host: z.string().describe("The fully qualified domain name for connecting to the compute endpoint").nullable(),
|
|
@@ -41,7 +41,7 @@ const NeonUpdateProjectComputeEndpointSettings_EndpointSchema = z.object({
|
|
|
41
41
|
suspend_timeout_seconds: z.number().int().describe("Duration of inactivity in seconds after which the compute endpoint is automatically suspended. Value 0 means use the global default, -1 means never suspend. Default is 300 seconds (5 minutes)").nullable(),
|
|
42
42
|
autoscaling_limit_max_cu: z.number().describe("The maximum compute units for autoscaling. Sets a hard limit on compute consumption").nullable(),
|
|
43
43
|
autoscaling_limit_min_cu: z.number().describe("The minimum compute units for autoscaling. The default minimum is 0.25 CU but can be increased").nullable()
|
|
44
|
-
}).describe("The updated compute endpoint object");
|
|
44
|
+
}).passthrough().describe("The updated compute endpoint object");
|
|
45
45
|
const NeonUpdateProjectComputeEndpointSettings_OperationSchema = z.object({
|
|
46
46
|
id: z.string().describe("Unique identifier for the operation").nullable(),
|
|
47
47
|
action: z.string().describe("The type of operation being performed (apply_config, apply_storage_config, check_availability, create_branch, create_timeline, delete_tenant, start_compute, suspend_compute, tenant_attach, tenant_detach, tenant_reattach, timeline_archive, timeline_unarchive)").nullable(),
|
|
@@ -53,7 +53,7 @@ const NeonUpdateProjectComputeEndpointSettings_OperationSchema = z.object({
|
|
|
53
53
|
endpoint_id: z.string().describe("The compute endpoint identifier associated with the operation").nullable().optional(),
|
|
54
54
|
failures_count: z.number().int().describe("The count of failures that occurred during the operation").nullable(),
|
|
55
55
|
total_duration_ms: z.number().int().describe("Total duration of the operation in milliseconds").nullable().optional()
|
|
56
|
-
}).describe("Operation tracking asynchronous tasks");
|
|
56
|
+
}).passthrough().describe("Operation tracking asynchronous tasks");
|
|
57
57
|
const neonUpdateProjectComputeEndpointSettings = action("NEON_UPDATE_PROJECT_COMPUTE_ENDPOINT_SETTINGS", {
|
|
58
58
|
slug: "neon-update-project-compute-endpoint-settings",
|
|
59
59
|
name: "Update project compute endpoint settings",
|
|
@@ -62,7 +62,7 @@ const neonUpdateProjectComputeEndpointSettings = action("NEON_UPDATE_PROJECT_COM
|
|
|
62
62
|
output: z.object({
|
|
63
63
|
endpoint: NeonUpdateProjectComputeEndpointSettings_EndpointSchema.nullable(),
|
|
64
64
|
operations: z.array(NeonUpdateProjectComputeEndpointSettings_OperationSchema).describe("List of operations tracking asynchronous tasks. If not empty, the compute endpoint is not ready to use and the client must wait for the last operation to finish")
|
|
65
|
-
}).describe("Response schema for `UpdateProjectComputeEndpointSettings`")
|
|
65
|
+
}).passthrough().describe("Response schema for `UpdateProjectComputeEndpointSettings`")
|
|
66
66
|
});
|
|
67
67
|
//#endregion
|
|
68
68
|
export { neonUpdateProjectComputeEndpointSettings };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-project-compute-endpoint-settings.mjs","names":[],"sources":["../../src/actions/update-project-compute-endpoint-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonUpdateProjectComputeEndpointSettingsInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The endpoint ID\"),\n endpoint__disabled: z.boolean().describe(\"Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action. However, the compute endpoint is periodically enabled by check_availability operations.\").optional(),\n endpoint__branch__id: z.string().describe(\"DEPRECATED: This field will be removed in a future release. The destination branch ID. The destination branch must not have an exsiting read-write endpoint.\").optional(),\n endpoint__provisioner: z.string().describe(\"The Neon compute provisioner. Specify the `k8s-neonvm` provisioner to create a compute endpoint that supports Autoscaling. Provisioner can be one of the following values: * k8s-pod * k8s-neonvm Clients must expect, that any string value that is not documented in the description above should be treated as a error. UNKNOWN value if safe to treat as an error too.\").optional(),\n endpoint__pooler__mode: z.enum([\"transaction\"]).describe(\"The connection pooler mode. Neon supports PgBouncer in `transaction` mode only.\").optional(),\n endpoint__pooler__enabled: z.boolean().describe(\"Whether to enable connection pooling for the compute endpoint\").optional(),\n endpoint__passwordless__access: z.boolean().describe(\"NOT YET IMPLEMENTED. Whether to permit passwordless access to the compute endpoint.\").optional(),\n endpoint__settings__pg__settings: z.object({}).describe(\"A raw representation of Postgres settings\").optional(),\n endpoint__suspend__timeout__seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).\").optional(),\n endpoint__autoscaling__limit__max__cu: z.number().int().describe(\"Autoscaling Limit Max Cu\").optional(),\n endpoint__autoscaling__limit__min__cu: z.number().int().describe(\"Autoscaling Limit Min Cu\").optional(),\n endpoint__settings__pgbouncer__settings: z.object({}).describe(\"A raw representation of PgBouncer settings\").optional(),\n}).describe(\"Request schema for `UpdateProjectComputeEndpointSettings`\");\nconst NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration parameters passed to the Postgres instance\").nullable().optional(),\n}).describe(\"Configuration settings for the compute endpoint\");\nconst NeonUpdateProjectComputeEndpointSettings_EndpointSchema = z.object({\n id: z.string().describe(\"The compute endpoint identifier, which always starts with an ep- prefix\").nullable(),\n host: z.string().describe(\"The fully qualified domain name for connecting to the compute endpoint\").nullable(),\n type: z.string().describe(\"The compute endpoint type, either read_write or read_replica\").nullable(),\n disabled: z.boolean().describe(\"Whether the compute endpoint is disabled\").nullable(),\n settings: NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier associated with the compute endpoint\").nullable(),\n region_id: z.string().describe(\"The cloud region identifier where the compute endpoint is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the compute endpoint was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The project identifier the compute endpoint belongs to\").nullable(),\n proxy_host: z.string().describe(\"The proxy server hostname for connecting to the compute endpoint\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the most recent modification to the compute endpoint (ISO 8601 format)\").nullable(),\n last_active: z.string().describe(\"Timestamp of the most recent activity on the compute endpoint (ISO 8601 format)\").nullable(),\n pooler_mode: z.string().describe(\"The connection pooling mode, typically transaction or session\").nullable(),\n provisioner: z.string().describe(\"The infrastructure provisioning system used for the compute endpoint, such as k8s-neonvm\").nullable(),\n suspended_at: z.string().describe(\"Timestamp when the compute endpoint entered suspended/idle state (ISO 8601 format)\").nullable().optional(),\n current_state: z.string().describe(\"The current operational state of the compute endpoint (init, idle, or active)\").nullable(),\n pending_state: z.string().describe(\"The state the compute endpoint is transitioning to (init, idle, or active)\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled for the compute endpoint\").nullable(),\n creation_source: z.string().describe(\"The source from which the compute endpoint was created, such as console or API\").nullable(),\n passwordless_access: z.boolean().describe(\"Whether passwordless authentication is enabled\").nullable(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. Value 0 means use the global default, -1 means never suspend. Default is 300 seconds (5 minutes)\").nullable(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum compute units for autoscaling. Sets a hard limit on compute consumption\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum compute units for autoscaling. The default minimum is 0.25 CU but can be increased\").nullable(),\n}).describe(\"The updated compute endpoint object\");\nconst NeonUpdateProjectComputeEndpointSettings_OperationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the operation\").nullable(),\n action: z.string().describe(\"The type of operation being performed (apply_config, apply_storage_config, check_availability, create_branch, create_timeline, delete_tenant, start_compute, suspend_compute, tenant_attach, tenant_detach, tenant_reattach, timeline_archive, timeline_unarchive)\").nullable(),\n status: z.string().describe(\"The current status of the operation (scheduling, running, finished, failed, cancelling, cancelled, skipped). Terminal statuses: finished, skipped, cancelled\").nullable(),\n branch_id: z.string().describe(\"The branch identifier associated with the operation\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The project identifier associated with the operation\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the most recent update to the operation (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint identifier associated with the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"The count of failures that occurred during the operation\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).describe(\"Operation tracking asynchronous tasks\");\nexport const NeonUpdateProjectComputeEndpointSettingsOutput = z.object({\n endpoint: NeonUpdateProjectComputeEndpointSettings_EndpointSchema.nullable(),\n operations: z.array(NeonUpdateProjectComputeEndpointSettings_OperationSchema).describe(\"List of operations tracking asynchronous tasks. If not empty, the compute endpoint is not ready to use and the client must wait for the last operation to finish\"),\n}).describe(\"Response schema for `UpdateProjectComputeEndpointSettings`\");\n\nexport const neonUpdateProjectComputeEndpointSettings = action(\"NEON_UPDATE_PROJECT_COMPUTE_ENDPOINT_SETTINGS\", {\n slug: \"neon-update-project-compute-endpoint-settings\",\n name: \"Update project compute endpoint settings\",\n description: \"Updates the configuration of a specific compute endpoint within a Neon project. This endpoint allows fine-tuning of various settings such as autoscaling limits, provisioner type, connection pooling, and auto-suspend behavior. It's particularly useful for optimizing performance, resource allocation, and cost management of your Neon compute endpoints. The endpoint should be used when you need to modify the behavior or resources of an existing compute endpoint to better suit your application's needs or to implement changes in your infrastructure strategy. Note that some parameters are deprecated, and care should be taken to use the most current features and settings.\",\n input: NeonUpdateProjectComputeEndpointSettingsInput,\n output: NeonUpdateProjectComputeEndpointSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgD,EAAE,OAAO;CACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAClD,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS;CACnV,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACnN,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4WAA4W,CAAC,CAAC,SAAS;CACla,wBAAwB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACrJ,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1H,gCAAgC,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACrJ,kCAAkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9G,qCAAqC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0bAA0b,CAAC,CAAC,SAAS;CACpgB,uCAAuC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtG,uCAAuC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtG,yCAAyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;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wE,CAAC,CAAC,SAAS;CACnH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAMnD,MAAa,2CAA2C,OAAO,iDAAiD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4D,EAAE,OAAO;EACrE,UAAU,wDAAwD,SAAS;EAC3E,YAAY,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,kKAAkK;CAC3P,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-project-compute-endpoint-settings.mjs","names":[],"sources":["../../src/actions/update-project-compute-endpoint-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonUpdateProjectComputeEndpointSettingsInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n endpoint_id: z.string().describe(\"The endpoint ID\"),\n endpoint__disabled: z.boolean().describe(\"Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action. However, the compute endpoint is periodically enabled by check_availability operations.\").optional(),\n endpoint__branch__id: z.string().describe(\"DEPRECATED: This field will be removed in a future release. The destination branch ID. The destination branch must not have an exsiting read-write endpoint.\").optional(),\n endpoint__provisioner: z.string().describe(\"The Neon compute provisioner. Specify the `k8s-neonvm` provisioner to create a compute endpoint that supports Autoscaling. Provisioner can be one of the following values: * k8s-pod * k8s-neonvm Clients must expect, that any string value that is not documented in the description above should be treated as a error. UNKNOWN value if safe to treat as an error too.\").optional(),\n endpoint__pooler__mode: z.enum([\"transaction\"]).describe(\"The connection pooler mode. Neon supports PgBouncer in `transaction` mode only.\").optional(),\n endpoint__pooler__enabled: z.boolean().describe(\"Whether to enable connection pooling for the compute endpoint\").optional(),\n endpoint__passwordless__access: z.boolean().describe(\"NOT YET IMPLEMENTED. Whether to permit passwordless access to the compute endpoint.\").optional(),\n endpoint__settings__pg__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of Postgres settings\").optional(),\n endpoint__suspend__timeout__seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).\").optional(),\n endpoint__autoscaling__limit__max__cu: z.number().int().describe(\"Autoscaling Limit Max Cu\").optional(),\n endpoint__autoscaling__limit__min__cu: z.number().int().describe(\"Autoscaling Limit Min Cu\").optional(),\n endpoint__settings__pgbouncer__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of PgBouncer settings\").optional(),\n}).describe(\"Request schema for `UpdateProjectComputeEndpointSettings`\");\nconst NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration parameters passed to the Postgres instance\").nullable().optional(),\n}).passthrough().describe(\"Configuration settings for the compute endpoint\");\nconst NeonUpdateProjectComputeEndpointSettings_EndpointSchema = z.object({\n id: z.string().describe(\"The compute endpoint identifier, which always starts with an ep- prefix\").nullable(),\n host: z.string().describe(\"The fully qualified domain name for connecting to the compute endpoint\").nullable(),\n type: z.string().describe(\"The compute endpoint type, either read_write or read_replica\").nullable(),\n disabled: z.boolean().describe(\"Whether the compute endpoint is disabled\").nullable(),\n settings: NeonUpdateProjectComputeEndpointSettings_EndpointSettingsSchema.nullable().optional(),\n branch_id: z.string().describe(\"The branch identifier associated with the compute endpoint\").nullable(),\n region_id: z.string().describe(\"The cloud region identifier where the compute endpoint is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the compute endpoint was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The project identifier the compute endpoint belongs to\").nullable(),\n proxy_host: z.string().describe(\"The proxy server hostname for connecting to the compute endpoint\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the most recent modification to the compute endpoint (ISO 8601 format)\").nullable(),\n last_active: z.string().describe(\"Timestamp of the most recent activity on the compute endpoint (ISO 8601 format)\").nullable(),\n pooler_mode: z.string().describe(\"The connection pooling mode, typically transaction or session\").nullable(),\n provisioner: z.string().describe(\"The infrastructure provisioning system used for the compute endpoint, such as k8s-neonvm\").nullable(),\n suspended_at: z.string().describe(\"Timestamp when the compute endpoint entered suspended/idle state (ISO 8601 format)\").nullable().optional(),\n current_state: z.string().describe(\"The current operational state of the compute endpoint (init, idle, or active)\").nullable(),\n pending_state: z.string().describe(\"The state the compute endpoint is transitioning to (init, idle, or active)\").nullable().optional(),\n pooler_enabled: z.boolean().describe(\"Whether connection pooling is enabled for the compute endpoint\").nullable(),\n creation_source: z.string().describe(\"The source from which the compute endpoint was created, such as console or API\").nullable(),\n passwordless_access: z.boolean().describe(\"Whether passwordless authentication is enabled\").nullable(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. Value 0 means use the global default, -1 means never suspend. Default is 300 seconds (5 minutes)\").nullable(),\n autoscaling_limit_max_cu: z.number().describe(\"The maximum compute units for autoscaling. Sets a hard limit on compute consumption\").nullable(),\n autoscaling_limit_min_cu: z.number().describe(\"The minimum compute units for autoscaling. The default minimum is 0.25 CU but can be increased\").nullable(),\n}).passthrough().describe(\"The updated compute endpoint object\");\nconst NeonUpdateProjectComputeEndpointSettings_OperationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the operation\").nullable(),\n action: z.string().describe(\"The type of operation being performed (apply_config, apply_storage_config, check_availability, create_branch, create_timeline, delete_tenant, start_compute, suspend_compute, tenant_attach, tenant_detach, tenant_reattach, timeline_archive, timeline_unarchive)\").nullable(),\n status: z.string().describe(\"The current status of the operation (scheduling, running, finished, failed, cancelling, cancelled, skipped). Terminal statuses: finished, skipped, cancelled\").nullable(),\n branch_id: z.string().describe(\"The branch identifier associated with the operation\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the operation was created (ISO 8601 format)\").nullable(),\n project_id: z.string().describe(\"The project identifier associated with the operation\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the most recent update to the operation (ISO 8601 format)\").nullable(),\n endpoint_id: z.string().describe(\"The compute endpoint identifier associated with the operation\").nullable().optional(),\n failures_count: z.number().int().describe(\"The count of failures that occurred during the operation\").nullable(),\n total_duration_ms: z.number().int().describe(\"Total duration of the operation in milliseconds\").nullable().optional(),\n}).passthrough().describe(\"Operation tracking asynchronous tasks\");\nexport const NeonUpdateProjectComputeEndpointSettingsOutput = z.object({\n endpoint: NeonUpdateProjectComputeEndpointSettings_EndpointSchema.nullable(),\n operations: z.array(NeonUpdateProjectComputeEndpointSettings_OperationSchema).describe(\"List of operations tracking asynchronous tasks. If not empty, the compute endpoint is not ready to use and the client must wait for the last operation to finish\"),\n}).passthrough().describe(\"Response schema for `UpdateProjectComputeEndpointSettings`\");\n\nexport const neonUpdateProjectComputeEndpointSettings = action(\"NEON_UPDATE_PROJECT_COMPUTE_ENDPOINT_SETTINGS\", {\n slug: \"neon-update-project-compute-endpoint-settings\",\n name: \"Update project compute endpoint settings\",\n description: \"Updates the configuration of a specific compute endpoint within a Neon project. This endpoint allows fine-tuning of various settings such as autoscaling limits, provisioner type, connection pooling, and auto-suspend behavior. It's particularly useful for optimizing performance, resource allocation, and cost management of your Neon compute endpoints. The endpoint should be used when you need to modify the behavior or resources of an existing compute endpoint to better suit your application's needs or to implement changes in your infrastructure strategy. Note that some parameters are deprecated, and care should be taken to use the most current features and settings.\",\n input: NeonUpdateProjectComputeEndpointSett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AA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAMjE,MAAa,2CAA2C,OAAO,iDAAiD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4D,EAAE,OAAO;EACrE,UAAU,wDAAwD,SAAS;EAC3E,YAAY,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,kKAAkK;CAC3P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
@@ -16,9 +16,9 @@ const NeonUpdateProjectSettingsByIdInput = zod.z.object({
|
|
|
16
16
|
project__settings__maintenance__window__weekdays: zod.z.array(zod.z.number().int()).describe("A list of weekdays when the maintenance window is active. Encoded as ints, where 1 - Monday, and 7 - Sunday.").optional(),
|
|
17
17
|
project__settings__quota__compute__time__seconds: zod.z.number().int().describe("The total amount of CPU seconds allowed to be spent by the project\"s compute endpoints.").optional(),
|
|
18
18
|
project__settings__maintenance__window__end__time: zod.z.string().describe("End time of the maintenance window, in the format of \"HH:MM\". Uses UTC.").optional(),
|
|
19
|
-
project__default__endpoint__settings__pg__settings: zod.z.
|
|
19
|
+
project__default__endpoint__settings__pg__settings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A raw representation of Postgres settings").optional(),
|
|
20
20
|
project__settings__maintenance__window__start__time: zod.z.string().describe("Start time of the maintenance window, in the format of \"HH:MM\". Uses UTC.").optional(),
|
|
21
|
-
project__default__endpoint__settings__pgbouncer__settings: zod.z.
|
|
21
|
+
project__default__endpoint__settings__pgbouncer__settings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A raw representation of PgBouncer settings").optional(),
|
|
22
22
|
project__default__ep__settings__suspend__timeout__seconds: zod.z.number().int().describe("Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).").optional(),
|
|
23
23
|
project__settings__allowed__ips__protected__branches__only: zod.z.boolean().describe("If true, the list will be applied only to protected branches.").optional(),
|
|
24
24
|
project__default__ep__settings__autoscaling__limit__max__cu: zod.z.number().int().describe("Autoscaling Limit Max Cu").optional(),
|
|
@@ -30,20 +30,20 @@ const NeonUpdateProjectSettingsById_QuotaSettingsSchema = zod.z.object({
|
|
|
30
30
|
active_time_seconds: zod.z.number().int().describe("Total amount of active time allowed in seconds.").nullable().optional(),
|
|
31
31
|
data_transfer_bytes: zod.z.number().int().describe("Total amount of data transfer allowed in bytes.").nullable().optional(),
|
|
32
32
|
compute_time_seconds: zod.z.number().int().describe("Total amount of compute time allowed in seconds.").nullable().optional()
|
|
33
|
-
}).describe("Usage quota limits for the project.");
|
|
33
|
+
}).passthrough().describe("Usage quota limits for the project.");
|
|
34
34
|
const NeonUpdateProjectSettingsById_AllowedIpsSchema = zod.z.object({
|
|
35
35
|
ips: zod.z.array(zod.z.string()).describe("List of IP addresses or CIDR ranges allowed to connect.").nullable().optional(),
|
|
36
36
|
protected_branches_only: zod.z.boolean().describe("Whether IP restrictions apply only to protected branches.").nullable().optional()
|
|
37
|
-
}).describe("IP allowlist configuration for database access.");
|
|
37
|
+
}).passthrough().describe("IP allowlist configuration for database access.");
|
|
38
38
|
const NeonUpdateProjectSettingsById_PreloadLibrariesSchema = zod.z.object({
|
|
39
39
|
use_defaults: zod.z.boolean().describe("Whether to use default preload libraries.").nullable().optional(),
|
|
40
40
|
enabled_libraries: zod.z.array(zod.z.string()).describe("List of PostgreSQL extension libraries to preload.").nullable().optional()
|
|
41
|
-
}).describe("PostgreSQL shared preload libraries configuration.");
|
|
41
|
+
}).passthrough().describe("PostgreSQL shared preload libraries configuration.");
|
|
42
42
|
const NeonUpdateProjectSettingsById_MaintenanceWindowSchema = zod.z.object({
|
|
43
43
|
end_time: zod.z.string().describe("Maintenance window end time in HH:MM format (UTC).").nullable().optional(),
|
|
44
44
|
weekdays: zod.z.array(zod.z.number().int()).describe("Array of weekday numbers (0-6, where 0 is Sunday) when maintenance can occur.").nullable().optional(),
|
|
45
45
|
start_time: zod.z.string().describe("Maintenance window start time in HH:MM format (UTC).").nullable().optional()
|
|
46
|
-
}).describe("Scheduled maintenance window configuration.");
|
|
46
|
+
}).passthrough().describe("Scheduled maintenance window configuration.");
|
|
47
47
|
const NeonUpdateProjectSettingsById_ProjectSettingsSchema = zod.z.object({
|
|
48
48
|
hipaa: zod.z.boolean().describe("Whether HIPAA compliance mode is enabled.").nullable().optional(),
|
|
49
49
|
quota: NeonUpdateProjectSettingsById_QuotaSettingsSchema.nullable().optional(),
|
|
@@ -54,14 +54,14 @@ const NeonUpdateProjectSettingsById_ProjectSettingsSchema = zod.z.object({
|
|
|
54
54
|
block_vpc_connections: zod.z.boolean().describe("Whether VPC connections are blocked.").nullable().optional(),
|
|
55
55
|
block_public_connections: zod.z.boolean().describe("Whether public internet connections are blocked.").nullable().optional(),
|
|
56
56
|
enable_logical_replication: zod.z.boolean().describe("Whether logical replication is enabled for the project.").nullable().optional()
|
|
57
|
-
}).describe("Project-level settings.");
|
|
57
|
+
}).passthrough().describe("Project-level settings.");
|
|
58
58
|
const NeonUpdateProjectSettingsById_DefaultEndpointSettingsSchema = zod.z.object({
|
|
59
|
-
pg_settings: zod.z.
|
|
60
|
-
pgbouncer_settings: zod.z.
|
|
59
|
+
pg_settings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("PostgreSQL configuration settings as key-value pairs.").nullable().optional(),
|
|
60
|
+
pgbouncer_settings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("PgBouncer configuration settings as key-value pairs.").nullable().optional(),
|
|
61
61
|
suspend_timeout_seconds: zod.z.number().int().describe("Duration of inactivity in seconds after which the compute endpoint is automatically suspended. Value -1 means no timeout (never suspend), 0 means suspend immediately.").nullable().optional(),
|
|
62
62
|
autoscaling_limit_max_cu: zod.z.number().describe("Maximum compute units for autoscaling.").nullable().optional(),
|
|
63
63
|
autoscaling_limit_min_cu: zod.z.number().describe("Minimum compute units for autoscaling.").nullable().optional()
|
|
64
|
-
}).describe("Default settings applied to all endpoints in the project.");
|
|
64
|
+
}).passthrough().describe("Default settings applied to all endpoints in the project.");
|
|
65
65
|
const NeonUpdateProjectSettingsById_ProjectSchema = zod.z.object({
|
|
66
66
|
id: zod.z.string().describe("Unique identifier of the project.").nullable().optional(),
|
|
67
67
|
name: zod.z.string().describe("Name of the project.").nullable().optional(),
|
|
@@ -89,8 +89,8 @@ const NeonUpdateProjectSettingsById_ProjectSchema = zod.z.object({
|
|
|
89
89
|
default_endpoint_settings: NeonUpdateProjectSettingsById_DefaultEndpointSettingsSchema.nullable().optional(),
|
|
90
90
|
history_retention_seconds: zod.z.number().int().describe("Duration in seconds for which history is retained.").nullable().optional(),
|
|
91
91
|
branch_logical_size_limit_bytes: zod.z.number().int().describe("Maximum logical size limit for branches in bytes.").nullable().optional()
|
|
92
|
-
}).describe("Project details returned by the API.");
|
|
93
|
-
const NeonUpdateProjectSettingsByIdOutput = zod.z.object({ project: NeonUpdateProjectSettingsById_ProjectSchema.nullable() }).describe("Response schema for `UpdateProjectSettingsById`");
|
|
92
|
+
}).passthrough().describe("Project details returned by the API.");
|
|
93
|
+
const NeonUpdateProjectSettingsByIdOutput = zod.z.object({ project: NeonUpdateProjectSettingsById_ProjectSchema.nullable() }).passthrough().describe("Response schema for `UpdateProjectSettingsById`");
|
|
94
94
|
const neonUpdateProjectSettingsById = require_action.action("NEON_UPDATE_PROJECT_SETTINGS_BY_ID", {
|
|
95
95
|
slug: "neon-update-project-settings-by-id",
|
|
96
96
|
name: "Update project settings by id",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-project-settings-by-id.cjs","names":["z","action"],"sources":["../../src/actions/update-project-settings-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonUpdateProjectSettingsByIdInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n project__name: z.string().describe(\"The project name\").optional(),\n project__history__retention__seconds: z.number().int().describe(\"The number of seconds to retain the shared history for all branches in this project. The default is 1 day (604800 seconds).\").optional(),\n project__settings__allowed__ips__ips: z.array(z.string()).describe(\"A list of IP addresses that are allowed to connect to the endpoint.\").optional(),\n project__settings__block__vpc__connections: z.boolean().describe(\"When set, connections using VPC endpoints are disallowed. This parameter is under active development and its semantics may change in the future.\").optional(),\n project__settings__block__public__connections: z.boolean().describe(\"When set, connections from the public internet are disallowed. This supersedes the AllowedIPs list. This parameter is under active development and its semantics may change in the future.\").optional(),\n project__settings__quota__logical__size__bytes: z.number().int().describe(\"Limit on the logical size of every project\\\"s branch.\").optional(),\n project__settings__quota__written__data__bytes: z.number().int().describe(\"Total amount of data written to all of a project\\\"s branches.\").optional(),\n project__settings__enable__logical__replication: z.boolean().describe(\"Sets wal_level=logical for all compute endpoints in this project. All active endpoints will be suspended. Once enabled, logical replication cannot be disabled.\").optional(),\n project__settings__quota__active__time__seconds: z.number().int().describe(\"The total amount of wall-clock time allowed to be spent by the project\\\"s compute endpoints.\").optional(),\n project__settings__quota__data__transfer__bytes: z.number().int().describe(\"Total amount of data transferred from all of a project\\\"s branches using the proxy.\").optional(),\n project__settings__maintenance__window__weekdays: z.array(z.number().int()).describe(\"A list of weekdays when the maintenance window is active. Encoded as ints, where 1 - Monday, and 7 - Sunday.\").optional(),\n project__settings__quota__compute__time__seconds: z.number().int().describe(\"The total amount of CPU seconds allowed to be spent by the project\\\"s compute endpoints.\").optional(),\n project__settings__maintenance__window__end__time: z.string().describe(\"End time of the maintenance window, in the format of \\\"HH:MM\\\". Uses UTC.\").optional(),\n project__default__endpoint__settings__pg__settings: z.object({}).describe(\"A raw representation of Postgres settings\").optional(),\n project__settings__maintenance__window__start__time: z.string().describe(\"Start time of the maintenance window, in the format of \\\"HH:MM\\\". Uses UTC.\").optional(),\n project__default__endpoint__settings__pgbouncer__settings: z.object({}).describe(\"A raw representation of PgBouncer settings\").optional(),\n project__default__ep__settings__suspend__timeout__seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).\").optional(),\n project__settings__allowed__ips__protected__branches__only: z.boolean().describe(\"If true, the list will be applied only to protected branches.\").optional(),\n project__default__ep__settings__autoscaling__limit__max__cu: z.number().int().describe(\"Autoscaling Limit Max Cu\").optional(),\n project__default__ep__settings__autoscaling__limit__min__cu: z.number().int().describe(\"Autoscaling Limit Min Cu\").optional(),\n}).describe(\"Request schema for `UpdateProjectSettingsById`\");\nconst NeonUpdateProjectSettingsById_QuotaSettingsSchema = z.object({\n logical_size_bytes: z.number().int().describe(\"Maximum logical database size allowed in bytes.\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Total amount of written data allowed in bytes.\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Total amount of active time allowed in seconds.\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Total amount of data transfer allowed in bytes.\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Total amount of compute time allowed in seconds.\").nullable().optional(),\n}).describe(\"Usage quota limits for the project.\");\nconst NeonUpdateProjectSettingsById_AllowedIpsSchema = z.object({\n ips: z.array(z.string()).describe(\"List of IP addresses or CIDR ranges allowed to connect.\").nullable().optional(),\n protected_branches_only: z.boolean().describe(\"Whether IP restrictions apply only to protected branches.\").nullable().optional(),\n}).describe(\"IP allowlist configuration for database access.\");\nconst NeonUpdateProjectSettingsById_PreloadLibrariesSchema = z.object({\n use_defaults: z.boolean().describe(\"Whether to use default preload libraries.\").nullable().optional(),\n enabled_libraries: z.array(z.string()).describe(\"List of PostgreSQL extension libraries to preload.\").nullable().optional(),\n}).describe(\"PostgreSQL shared preload libraries configuration.\");\nconst NeonUpdateProjectSettingsById_MaintenanceWindowSchema = z.object({\n end_time: z.string().describe(\"Maintenance window end time in HH:MM format (UTC).\").nullable().optional(),\n weekdays: z.array(z.number().int()).describe(\"Array of weekday numbers (0-6, where 0 is Sunday) when maintenance can occur.\").nullable().optional(),\n start_time: z.string().describe(\"Maintenance window start time in HH:MM format (UTC).\").nullable().optional(),\n}).describe(\"Scheduled maintenance window configuration.\");\nconst NeonUpdateProjectSettingsById_ProjectSettingsSchema = z.object({\n hipaa: z.boolean().describe(\"Whether HIPAA compliance mode is enabled.\").nullable().optional(),\n quota: NeonUpdateProjectSettingsById_QuotaSettingsSchema.nullable().optional(),\n allowed_ips: NeonUpdateProjectSettingsById_AllowedIpsSchema.nullable().optional(),\n audit_log_level: z.string().describe(\"Level of audit logging (base, extended, or full).\").nullable().optional(),\n preload_libraries: NeonUpdateProjectSettingsById_PreloadLibrariesSchema.nullable().optional(),\n maintenance_window: NeonUpdateProjectSettingsById_MaintenanceWindowSchema.nullable().optional(),\n block_vpc_connections: z.boolean().describe(\"Whether VPC connections are blocked.\").nullable().optional(),\n block_public_connections: z.boolean().describe(\"Whether public internet connections are blocked.\").nullable().optional(),\n enable_logical_replication: z.boolean().describe(\"Whether logical replication is enabled for the project.\").nullable().optional(),\n}).describe(\"Project-level settings.\");\nconst NeonUpdateProjectSettingsById_DefaultEndpointSettingsSchema = z.object({\n pg_settings: z.object({}).describe(\"PostgreSQL configuration settings as key-value pairs.\").nullable().optional(),\n pgbouncer_settings: z.object({}).describe(\"PgBouncer configuration settings as key-value pairs.\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. Value -1 means no timeout (never suspend), 0 means suspend immediately.\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling.\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling.\").nullable().optional(),\n}).describe(\"Default settings applied to all endpoints in the project.\");\nconst NeonUpdateProjectSettingsById_ProjectSchema = z.object({\n id: z.string().describe(\"Unique identifier of the project.\").nullable().optional(),\n name: z.string().describe(\"Name of the project.\").nullable().optional(),\n org_id: z.string().describe(\"Organization ID that owns the project.\").nullable().optional(),\n org_name: z.string().describe(\"Name of the organization that owns the project.\").nullable().optional(),\n owner_id: z.string().describe(\"User ID of the project owner.\").nullable().optional(),\n settings: NeonUpdateProjectSettingsById_ProjectSettingsSchema.nullable().optional(),\n region_id: z.string().describe(\"AWS Region identifier for the project.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the project was created.\").nullable().optional(),\n deleted_at: z.string().describe(\"Timestamp when the project was deleted (if applicable).\").nullable().optional(),\n pg_version: z.number().int().describe(\"PostgreSQL major version number (14-18).\").nullable().optional(),\n proxy_host: z.string().describe(\"Hostname for connecting to the project's proxy endpoint.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the project was last updated.\").nullable().optional(),\n active_time: z.number().int().describe(\"Total active time accumulated for the project in seconds.\").nullable().optional(),\n platform_id: z.string().describe(\"Platform identifier for the project.\").nullable().optional(),\n provisioner: z.string().describe(\"Provisioner type used for the project (k8s-pod or k8s-neonvm).\").nullable().optional(),\n creation_source: z.string().describe(\"Source or method used to create the project.\").nullable().optional(),\n store_passwords: z.boolean().describe(\"Whether passwords are stored for the project.\").nullable().optional(),\n hipaa_enabled_at: z.string().describe(\"Timestamp when HIPAA compliance mode was enabled.\").nullable().optional(),\n recoverable_until: z.string().describe(\"Timestamp until which the project can be recovered after deletion.\").nullable().optional(),\n maintenance_starts_at: z.string().describe(\"Timestamp when the next scheduled maintenance begins.\").nullable().optional(),\n compute_last_active_at: z.string().describe(\"Timestamp when compute resources were last active.\").nullable().optional(),\n synthetic_storage_size: z.number().int().describe(\"Synthetic storage size metric in bytes.\").nullable().optional(),\n branch_logical_size_limit: z.number().int().describe(\"Maximum logical size limit for branches in the project (legacy field).\").nullable().optional(),\n default_endpoint_settings: NeonUpdateProjectSettingsById_DefaultEndpointSettingsSchema.nullable().optional(),\n history_retention_seconds: z.number().int().describe(\"Duration in seconds for which history is retained.\").nullable().optional(),\n branch_logical_size_limit_bytes: z.number().int().describe(\"Maximum logical size limit for branches in bytes.\").nullable().optional(),\n}).describe(\"Project details returned by the API.\");\nexport const NeonUpdateProjectSettingsByIdOutput = z.object({\n project: NeonUpdateProjectSettingsById_ProjectSchema.nullable(),\n}).describe(\"Response schema for `UpdateProjectSettingsById`\");\n\nexport const neonUpdateProjectSettingsById = action(\"NEON_UPDATE_PROJECT_SETTINGS_BY_ID\", {\n slug: \"neon-update-project-settings-by-id\",\n name: \"Update project settings by id\",\n description: \"Updates the configuration and settings of a specific Neon project. This endpoint allows fine-grained control over various aspects of a project, including resource quotas, security settings, maintenance windows, and default endpoint configurations. It's particularly useful for adjusting project parameters to optimize performance, enhance security, or comply with specific operational requirements. The endpoint should be used when changes to project-wide settings are necessary, such as modifying resource limits, adjusting IP access controls, or reconfiguring maintenance schedules. Note that some changes, like enabling logical replication, may have significant impacts on project operations and cannot be reversed. Care should be taken when modifying critical settings to avoid unintended consequences on project functionality or availability.\",\n input: NeonUpdateProjectSettingsByIdInput,\n output: NeonUpdateProjectSettingsByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACrD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAChE,sCAAsCA,IAAAA,EAAE,OAAO,C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;AACtI,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAAS,4CAA4C,SAAS,EAChE,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-project-settings-by-id.cjs","names":["z","action"],"sources":["../../src/actions/update-project-settings-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeonUpdateProjectSettingsByIdInput = z.object({\n project_id: z.string().describe(\"The Neon project ID\"),\n project__name: z.string().describe(\"The project name\").optional(),\n project__history__retention__seconds: z.number().int().describe(\"The number of seconds to retain the shared history for all branches in this project. The default is 1 day (604800 seconds).\").optional(),\n project__settings__allowed__ips__ips: z.array(z.string()).describe(\"A list of IP addresses that are allowed to connect to the endpoint.\").optional(),\n project__settings__block__vpc__connections: z.boolean().describe(\"When set, connections using VPC endpoints are disallowed. This parameter is under active development and its semantics may change in the future.\").optional(),\n project__settings__block__public__connections: z.boolean().describe(\"When set, connections from the public internet are disallowed. This supersedes the AllowedIPs list. This parameter is under active development and its semantics may change in the future.\").optional(),\n project__settings__quota__logical__size__bytes: z.number().int().describe(\"Limit on the logical size of every project\\\"s branch.\").optional(),\n project__settings__quota__written__data__bytes: z.number().int().describe(\"Total amount of data written to all of a project\\\"s branches.\").optional(),\n project__settings__enable__logical__replication: z.boolean().describe(\"Sets wal_level=logical for all compute endpoints in this project. All active endpoints will be suspended. Once enabled, logical replication cannot be disabled.\").optional(),\n project__settings__quota__active__time__seconds: z.number().int().describe(\"The total amount of wall-clock time allowed to be spent by the project\\\"s compute endpoints.\").optional(),\n project__settings__quota__data__transfer__bytes: z.number().int().describe(\"Total amount of data transferred from all of a project\\\"s branches using the proxy.\").optional(),\n project__settings__maintenance__window__weekdays: z.array(z.number().int()).describe(\"A list of weekdays when the maintenance window is active. Encoded as ints, where 1 - Monday, and 7 - Sunday.\").optional(),\n project__settings__quota__compute__time__seconds: z.number().int().describe(\"The total amount of CPU seconds allowed to be spent by the project\\\"s compute endpoints.\").optional(),\n project__settings__maintenance__window__end__time: z.string().describe(\"End time of the maintenance window, in the format of \\\"HH:MM\\\". Uses UTC.\").optional(),\n project__default__endpoint__settings__pg__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of Postgres settings\").optional(),\n project__settings__maintenance__window__start__time: z.string().describe(\"Start time of the maintenance window, in the format of \\\"HH:MM\\\". Uses UTC.\").optional(),\n project__default__endpoint__settings__pgbouncer__settings: z.record(z.string(), z.unknown()).describe(\"A raw representation of PgBouncer settings\").optional(),\n project__default__ep__settings__suspend__timeout__seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. The value `0` means use the global default. The value `-1` means never suspend. The default value is `300` seconds (5 minutes). The minimum value is `60` seconds (1 minute). The maximum value is `604800` seconds (1 week). For more information, see [Auto-suspend configuration](https://neon.tech/docs/manage/endpoints#auto-suspend-configuration).\").optional(),\n project__settings__allowed__ips__protected__branches__only: z.boolean().describe(\"If true, the list will be applied only to protected branches.\").optional(),\n project__default__ep__settings__autoscaling__limit__max__cu: z.number().int().describe(\"Autoscaling Limit Max Cu\").optional(),\n project__default__ep__settings__autoscaling__limit__min__cu: z.number().int().describe(\"Autoscaling Limit Min Cu\").optional(),\n}).describe(\"Request schema for `UpdateProjectSettingsById`\");\nconst NeonUpdateProjectSettingsById_QuotaSettingsSchema = z.object({\n logical_size_bytes: z.number().int().describe(\"Maximum logical database size allowed in bytes.\").nullable().optional(),\n written_data_bytes: z.number().int().describe(\"Total amount of written data allowed in bytes.\").nullable().optional(),\n active_time_seconds: z.number().int().describe(\"Total amount of active time allowed in seconds.\").nullable().optional(),\n data_transfer_bytes: z.number().int().describe(\"Total amount of data transfer allowed in bytes.\").nullable().optional(),\n compute_time_seconds: z.number().int().describe(\"Total amount of compute time allowed in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Usage quota limits for the project.\");\nconst NeonUpdateProjectSettingsById_AllowedIpsSchema = z.object({\n ips: z.array(z.string()).describe(\"List of IP addresses or CIDR ranges allowed to connect.\").nullable().optional(),\n protected_branches_only: z.boolean().describe(\"Whether IP restrictions apply only to protected branches.\").nullable().optional(),\n}).passthrough().describe(\"IP allowlist configuration for database access.\");\nconst NeonUpdateProjectSettingsById_PreloadLibrariesSchema = z.object({\n use_defaults: z.boolean().describe(\"Whether to use default preload libraries.\").nullable().optional(),\n enabled_libraries: z.array(z.string()).describe(\"List of PostgreSQL extension libraries to preload.\").nullable().optional(),\n}).passthrough().describe(\"PostgreSQL shared preload libraries configuration.\");\nconst NeonUpdateProjectSettingsById_MaintenanceWindowSchema = z.object({\n end_time: z.string().describe(\"Maintenance window end time in HH:MM format (UTC).\").nullable().optional(),\n weekdays: z.array(z.number().int()).describe(\"Array of weekday numbers (0-6, where 0 is Sunday) when maintenance can occur.\").nullable().optional(),\n start_time: z.string().describe(\"Maintenance window start time in HH:MM format (UTC).\").nullable().optional(),\n}).passthrough().describe(\"Scheduled maintenance window configuration.\");\nconst NeonUpdateProjectSettingsById_ProjectSettingsSchema = z.object({\n hipaa: z.boolean().describe(\"Whether HIPAA compliance mode is enabled.\").nullable().optional(),\n quota: NeonUpdateProjectSettingsById_QuotaSettingsSchema.nullable().optional(),\n allowed_ips: NeonUpdateProjectSettingsById_AllowedIpsSchema.nullable().optional(),\n audit_log_level: z.string().describe(\"Level of audit logging (base, extended, or full).\").nullable().optional(),\n preload_libraries: NeonUpdateProjectSettingsById_PreloadLibrariesSchema.nullable().optional(),\n maintenance_window: NeonUpdateProjectSettingsById_MaintenanceWindowSchema.nullable().optional(),\n block_vpc_connections: z.boolean().describe(\"Whether VPC connections are blocked.\").nullable().optional(),\n block_public_connections: z.boolean().describe(\"Whether public internet connections are blocked.\").nullable().optional(),\n enable_logical_replication: z.boolean().describe(\"Whether logical replication is enabled for the project.\").nullable().optional(),\n}).passthrough().describe(\"Project-level settings.\");\nconst NeonUpdateProjectSettingsById_DefaultEndpointSettingsSchema = z.object({\n pg_settings: z.record(z.string(), z.unknown()).describe(\"PostgreSQL configuration settings as key-value pairs.\").nullable().optional(),\n pgbouncer_settings: z.record(z.string(), z.unknown()).describe(\"PgBouncer configuration settings as key-value pairs.\").nullable().optional(),\n suspend_timeout_seconds: z.number().int().describe(\"Duration of inactivity in seconds after which the compute endpoint is automatically suspended. Value -1 means no timeout (never suspend), 0 means suspend immediately.\").nullable().optional(),\n autoscaling_limit_max_cu: z.number().describe(\"Maximum compute units for autoscaling.\").nullable().optional(),\n autoscaling_limit_min_cu: z.number().describe(\"Minimum compute units for autoscaling.\").nullable().optional(),\n}).passthrough().describe(\"Default settings applied to all endpoints in the project.\");\nconst NeonUpdateProjectSettingsById_ProjectSchema = z.object({\n id: z.string().describe(\"Unique identifier of the project.\").nullable().optional(),\n name: z.string().describe(\"Name of the project.\").nullable().optional(),\n org_id: z.string().describe(\"Organization ID that owns the project.\").nullable().optional(),\n org_name: z.string().describe(\"Name of the organization that owns the project.\").nullable().optional(),\n owner_id: z.string().describe(\"User ID of the project owner.\").nullable().optional(),\n settings: NeonUpdateProjectSettingsById_ProjectSettingsSchema.nullable().optional(),\n region_id: z.string().describe(\"AWS Region identifier for the project.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the project was created.\").nullable().optional(),\n deleted_at: z.string().describe(\"Timestamp when the project was deleted (if applicable).\").nullable().optional(),\n pg_version: z.number().int().describe(\"PostgreSQL major version number (14-18).\").nullable().optional(),\n proxy_host: z.string().describe(\"Hostname for connecting to the project's proxy endpoint.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the project was last updated.\").nullable().optional(),\n active_time: z.number().int().describe(\"Total active time accumulated for the project in seconds.\").nullable().optional(),\n platform_id: z.string().describe(\"Platform identifier for the project.\").nullable().optional(),\n provisioner: z.string().describe(\"Provisioner type used for the project (k8s-pod or k8s-neonvm).\").nullable().optional(),\n creation_source: z.string().describe(\"Source or method used to create the project.\").nullable().optional(),\n store_passwords: z.boolean().describe(\"Whether passwords are stored for the project.\").nullable().optional(),\n hipaa_enabled_at: z.string().describe(\"Timestamp when HIPAA compliance mode was enabled.\").nullable().optional(),\n recoverable_until: z.string().describe(\"Timestamp until which the project can be recovered after deletion.\").nullable().optional(),\n maintenance_starts_at: z.string().describe(\"Timestamp when the next scheduled maintenance begins.\").nullable().optional(),\n compute_last_active_at: z.string().describe(\"Timestamp when compute resources were last active.\").nullable().optional(),\n synthetic_storage_size: z.number().int().describe(\"Synthetic storage size metric in bytes.\").nullable().optional(),\n branch_logical_size_limit: z.number().int().describe(\"Maximum logical size limit for branches in the project (legacy field).\").nullable().optional(),\n default_endpoint_settings: NeonUpdateProjectSettingsById_DefaultEndpointSettingsSchema.nullable().optional(),\n history_retention_seconds: z.number().int().describe(\"Duration in seconds for which history is retained.\").nullable().optional(),\n branch_logical_size_limit_bytes: z.number().int().describe(\"Maximum logical size limit for branches in bytes.\").nullable().optional(),\n}).passthrough().describe(\"Project details returned by the API.\");\nexport const NeonUpdateProjectSettingsByIdOutput = z.object({\n project: NeonUpdateProjectSettingsById_ProjectSchema.nullable(),\n}).passthrough().describe(\"Response schema for `UpdateProjectSettingsById`\");\n\nexport const neonUpdateProjectSettingsById = action(\"NEON_UPDATE_PROJECT_SETTINGS_BY_ID\", {\n slug: \"neon-update-project-settings-by-id\",\n name: \"Update project settings by id\",\n description: \"Updates the configuration and settings of a specific Neon project. This endpoint allows fine-grained control over various aspects of a project, including resource quotas, security settings, maintenance windows, and default endpoint configurations. It's particularly useful for adjusting project parameters to optimize performance, enhance security, or comply with specific operational requirements. The endpoint should be used when changes to project-wide settings are necessary, such as modifying resource limits, adjusting IP access controls, or reconfiguring maintenance schedules. Note that some changes, like enabling logical replication, may have significant impacts on project operations and cannot be reversed. Care should be taken when modifying critical settings to avoid unintended consequences on project functionality or availability.\",\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